芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/ithemes-security-pro/dist/dashboard-widget/widget.min.js
/*! For license information please see widget.min.js.LICENSE.txt */ (globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[2301],{84663:(e,t,r)=>{"use strict";r.r(t);var n=r(6293),o=r(95122),i=r(25993),s=r.n(i),a=r(12614),c=r(9576),l=r(48015),d=r(64893),u=r(3571),h=(r(25703),r(13173)),p=(r(31600),r(10906),r(1528)),f=r(94184),m=r.n(f),w=r(64317),g=r(65813),b=r(36179);const v=(0,c.compose)([g.of])((function({dashboardId:e,width:t}){const{cards:r,layout:o}=(0,l.useSelect)((t=>({cards:e?t("ithemes-security/dashboard").getDashboardCards(e):[],layout:e?t("ithemes-security/dashboard").getDashboardLayout(e):void 0})),[e]),i=r.length>0&&void 0!==o,s={width:t-(t<400?100:140)+"px",height:"400px"};return(0,n.createElement)("div",{className:m()("itsec-dashboard-widget-carousel",{"itsec-dashboard-widget-carousel--loaded":i})},(0,n.createElement)(w.TransitionGroup,{component:null},!i&&(0,n.createElement)(w.CSSTransition,{key:"loader",timeout:300,classNames:"itsec-carousel-load-cards-"},(0,n.createElement)("div",{className:"itsec-dashboard-widget-carousel__loader",style:s},(0,n.createElement)(b.aN,null)))),(0,n.createElement)(w.TransitionGroup,{component:null},i&&(0,p.sortCardsToMatchApiLayout)(r,o).map((t=>(0,n.createElement)(w.CSSTransition,{key:t.id,timeout:500,classNames:"itsec-carousel-load-cards-"},(0,n.createElement)(p.Card,{id:t.id,dashboardId:e,style:s}))))))})),y=(0,c.compose)([(0,l.withSelect)((e=>({dashboardId:e("ithemes-security/dashboard").getPrimaryDashboard(),notices:e("core/notices").getNotices("ithemes-security")}))),(0,l.withDispatch)((e=>({removeNotice:t=>e("core/notices").removeNotice(t,"ithemes-security")})))])((function({dashboardId:e,notices:t,removeNotice:r}){return(0,p.useRegisterCards)(),(0,n.createElement)(a.a,{theme:h.U1},(0,n.createElement)("div",{className:"itsec-dashboard"},(0,n.createElement)(d.NoticeList,{notices:t,onRemove:r}),(0,n.createElement)(v,{dashboardId:e}),(0,n.createElement)(u.PluginArea,null)))}));r.p=window.itsecWebpackPublicPath,(0,o.setLocaleData)({"":{}},"it-l10n-ithemes-security-pro");const x=()=>(0,n.render)((0,n.createElement)(y,null),document.getElementById("itsec-widget-root"));if(window.MutationObserver){const e=new window.MutationObserver((()=>{document.getElementById("itsec-widget-root")&&(x(),e.disconnect())}));e.observe(document,{childList:!0,subtree:!0})}else s()(x)},11984:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(6293);const o=function({icon:e,size:t=24,...r}){return(0,n.cloneElement)(e,{width:t,height:t,...r})}},79526:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(6293),o=r(14776);const i=(0,n.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(o.Path,{d:"M7 11.5h10V13H7z"}))},94184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t
{"use strict";function n(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function i(e,t){if(e.clientHeight
t||i>e&&s
=t&&a>=r?i-e-n:s>t&&a
r?s-t+o:0}function a(e,t){var r=window,o=t.scrollMode,a=t.block,c=t.inline,l=t.boundary,d=t.skipOverflowHiddenElements,u="function"==typeof l?l:function(e){return e!==l};if(!n(e))throw new TypeError("Invalid target");for(var h=document.scrollingElement||document.documentElement,p=[],f=e;n(f)&&u(f);){if((f=f.parentElement)===h){p.push(f);break}null!=f&&f===document.body&&i(f)&&!i(document.documentElement)||null!=f&&i(f,d)&&p.push(f)}for(var m=r.visualViewport?r.visualViewport.width:innerWidth,w=r.visualViewport?r.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,b=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,x=v.width,E=v.top,W=v.right,k=v.bottom,I=v.left,O="start"===a||"nearest"===a?E:"end"===a?k:E+y/2,S="center"===c?I+x/2:"end"===c?W:I,M=[],N=0;N
=0&&I>=0&&k<=w&&W<=m&&E>=L&&k<=R&&I>=V&&W<=P)return M;var B=getComputedStyle(T),j=parseInt(B.borderLeftWidth,10),A=parseInt(B.borderTopWidth,10),G=parseInt(B.borderRightWidth,10),X=parseInt(B.borderBottomWidth,10),Y=0,Z=0,z="offsetWidth"in T?T.offsetWidth-T.clientWidth-j-G:0,J="offsetHeight"in T?T.offsetHeight-T.clientHeight-A-X:0;if(h===T)Y="start"===a?O:"end"===a?O-w:"nearest"===a?s(b,b+w,w,A,X,b+O,b+O+y,y):O-w/2,Z="start"===c?S:"center"===c?S-m/2:"end"===c?S-m:s(g,g+m,m,j,G,g+S,g+S+x,x),Y=Math.max(0,Y+b),Z=Math.max(0,Z+g);else{Y="start"===a?O-L-A:"end"===a?O-R+X+J:"nearest"===a?s(L,R,H,A,X+J,O,O+y,y):O-(L+H/2)+J/2,Z="start"===c?S-V-j:"center"===c?S-(V+D/2)+z/2:"end"===c?S-P+G+z:s(V,P,D,j,G+z,S,S+x,x);var _=T.scrollLeft,q=T.scrollTop;O+=q-(Y=Math.max(0,Math.min(q+Y,T.scrollHeight-H+J))),S+=_-(Z=Math.max(0,Math.min(_+Z,T.scrollWidth-D+z)))}M.push({el:T,top:Y,left:Z})}return M}function c(e){return e===Object(e)&&0!==Object.keys(e).length}r.d(t,{Z:()=>l});const l=function(e,t){var r=e.isConnected||e.ownerDocument.documentElement.contains(e);if(c(t)&&"function"==typeof t.behavior)return t.behavior(r?a(e,t):[]);if(r){var n=function(e){return!1===e?{block:"end",inline:"nearest"}:c(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,o=e.top,i=e.left;n.scroll&&r?n.scroll({top:o,left:i,behavior:t}):(n.scrollTop=o,n.scrollLeft=i)}))}(a(e,n),n.behavior)}}},10906:e=>{e.exports=function(){return this.itsec.dashboard.api}()},1528:e=>{e.exports=function(){return this.itsec.dashboard.dashboard}()},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},64893:e=>{e.exports=function(){return this.wp.components}()},9576:e=>{e.exports=function(){return this.wp.compose}()},48015:e=>{e.exports=function(){return this.wp.data}()},82521:e=>{e.exports=function(){return this.wp.date}()},25993:e=>{e.exports=function(){return this.wp.domReady}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81834:e=>{e.exports=function(){return this.wp.isShallowEqual}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},25703:e=>{e.exports=function(){return this.wp.notices}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},14776:e=>{e.exports=function(){return this.wp.primitives}()},73470:e=>{e.exports=function(){return this.wp.url}()},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash}},e=>{e.O(0,[7271,3173,5307,5257,4317,976,1511,6179],(()=>(84663,e(e.s=84663))));var t=e.O();((window.itsec=window.itsec||{})["dashboard-widget"]=window.itsec["dashboard-widget"]||{}).widget=t}]);