@modern-js/devtools-client 2.68.20 → 2.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modern.config.json +1 -1
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +73 -73
- package/dist/static/html/client/index.html +3 -3
- package/dist/static/html/mount/index.html +3 -3
- package/dist/static/js/{588.9e83bdb2.js → 369.ca84b0e0.js} +3 -3
- package/dist/static/js/404.106c3e17.js +1 -0
- package/dist/static/js/{648.855ed744.js → 648.dc707811.js} +1 -1
- package/dist/static/js/902.0c37ea07.js +2 -0
- package/dist/static/js/async/{788.0066d691.js → 852.986c4d4d.js} +1 -1
- package/dist/static/js/async/94.4703e793.js +1 -0
- package/dist/static/js/async/client_config/(toolkit).(type)/page.f78b63b1.js +1 -0
- package/dist/static/js/async/client_config/{layout.7fb089c3.js → layout.05c706d4.js} +1 -1
- package/dist/static/js/async/client_config/page.2f245290.js +1 -0
- package/dist/static/js/async/client_context/builder/page.3d66687d.js +1 -0
- package/dist/static/js/async/client_context/framework/page.f2148aa9.js +1 -0
- package/dist/static/js/async/client_context/{layout.cc077653.js → layout.1a92e654.js} +1 -1
- package/dist/static/js/async/client_context/page.4197b408.js +1 -0
- package/dist/static/js/async/client_doctor/page.882d12bc.js +1 -0
- package/dist/static/js/async/client_external/$.4e4a255f.js +1 -0
- package/dist/static/js/async/client_external/layout.c4d03c26.js +1 -0
- package/dist/static/js/async/client_headers/editor/page.9de46cab.js +4 -0
- package/dist/static/js/async/client_headers/{layout.c08b8d2a.js → layout.1a2f8d2a.js} +1 -1
- package/dist/static/js/async/client_headers/page.a34be403.js +1 -0
- package/dist/static/js/async/client_headers/welcome/page.c7fad8df.js +1 -0
- package/dist/static/js/async/client_overview/{layout.87ade992.js → layout.92381edc.js} +1 -1
- package/dist/static/js/async/client_overview/page.9b4870e3.js +1 -0
- package/dist/static/js/async/client_page.ef11f7fe.js +1 -0
- package/dist/static/js/async/client_pages/{layout.a5d3c7d0.js → layout.a98b3347.js} +1 -1
- package/dist/static/js/async/client_pages/page.5d2f059b.js +4 -0
- package/dist/static/js/async/client_react/(tab)/layout.70192fd4.js +1 -0
- package/dist/static/js/async/client_react/(tab)/page.8eed2352.js +1 -0
- package/dist/static/js/async/client_react/offscreen/page.33d17411.js +1 -0
- package/dist/static/js/async/client_react/page.02b5c106.js +1 -0
- package/dist/static/js/async/client_storage/preset/(id)/page.d5705d9a.js +1 -0
- package/dist/static/js/async/client_storage/preset/layout.39fd7c71.js +1 -0
- package/dist/static/js/async/client_storage/preset/page.76ebfc0c.js +1 -0
- package/dist/static/js/builder-runtime.082a272a.js +1 -0
- package/dist/static/js/client.f82214d5.js +2 -0
- package/dist/static/js/components.2a5a2c5d.js +1 -0
- package/dist/static/js/lib-polyfill.781b4fd5.js +1 -0
- package/dist/static/js/lib-router.da7a304c.js +2 -0
- package/dist/static/js/mount.61a612b9.js +1 -0
- package/package.json +9 -9
- package/dist/static/js/393.8d580869.js +0 -2
- package/dist/static/js/564.40b0733f.js +0 -1
- package/dist/static/js/async/366.66c8d2d3.js +0 -1
- package/dist/static/js/async/client_config/(toolkit).(type)/page.253e5272.js +0 -1
- package/dist/static/js/async/client_config/page.a89488a5.js +0 -1
- package/dist/static/js/async/client_context/builder/page.36b87103.js +0 -1
- package/dist/static/js/async/client_context/framework/page.70c02d4f.js +0 -1
- package/dist/static/js/async/client_context/page.1276ddbf.js +0 -1
- package/dist/static/js/async/client_doctor/page.2d85ec12.js +0 -1
- package/dist/static/js/async/client_external/$.40200b49.js +0 -1
- package/dist/static/js/async/client_external/layout.ce224eaf.js +0 -1
- package/dist/static/js/async/client_headers/editor/page.7fe2a2e9.js +0 -4
- package/dist/static/js/async/client_headers/page.b7c382a2.js +0 -1
- package/dist/static/js/async/client_headers/welcome/page.4cea0a0a.js +0 -1
- package/dist/static/js/async/client_overview/page.81dba4f2.js +0 -1
- package/dist/static/js/async/client_page.dc0f7e5c.js +0 -1
- package/dist/static/js/async/client_pages/page.32e37e8a.js +0 -4
- package/dist/static/js/async/client_react/(tab)/layout.0c69e27f.js +0 -1
- package/dist/static/js/async/client_react/(tab)/page.ac34a4ad.js +0 -1
- package/dist/static/js/async/client_react/offscreen/page.92568d24.js +0 -1
- package/dist/static/js/async/client_react/page.957b6e1f.js +0 -1
- package/dist/static/js/async/client_storage/preset/(id)/page.cb4fedce.js +0 -1
- package/dist/static/js/async/client_storage/preset/layout.e6870bcb.js +0 -1
- package/dist/static/js/async/client_storage/preset/page.8d2b7345.js +0 -1
- package/dist/static/js/builder-runtime.6354eea4.js +0 -1
- package/dist/static/js/client.0ec7bcc3.js +0 -2
- package/dist/static/js/components.76848b12.js +0 -1
- package/dist/static/js/lib-polyfill.ac8dc855.js +0 -1
- package/dist/static/js/lib-router.904905a0.js +0 -2
- package/dist/static/js/mount.62258e0a.js +0 -1
- /package/dist/static/css/{588.bd57b9e5.css → 369.bd57b9e5.css} +0 -0
- /package/dist/static/css/{393.aa32da8f.css → 902.aa32da8f.css} +0 -0
- /package/dist/static/js/{588.9e83bdb2.js.LICENSE.txt → 369.ca84b0e0.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{393.8d580869.js.LICENSE.txt → 902.0c37ea07.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{client.0ec7bcc3.js.LICENSE.txt → client.f82214d5.js.LICENSE.txt} +0 -0
- /package/dist/static/js/{lib-router.904905a0.js.LICENSE.txt → lib-router.da7a304c.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see client.0ec7bcc3.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["719"],{15141:function(e){e.exports={}},1589:function(e,t,n){"use strict";n.d(t,{k:()=>f});var r=n(30255),o=n(97621),a=n(40229),i=n(4337),u=n(37046),l=n(69439),s=n(73271);let c=e=>{let{error:t}=e,n=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(a.a,{p:"4",children:[(0,r.jsx)(i.D,{as:"h4",mb:"4",children:(0,r.jsx)(u.E,{as:"span",children:n})}),(0,r.jsx)(l.f,{disabled:!0,style:{height:"50vh"},value:o})]})},f=()=>{let e=(0,o.r5)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,r.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},59350:function(e,t,n){"use strict";n.d(t,{v:()=>u});var r=n(30255),o=n(97621),a=n(61621),i=n(37369);let u=e=>{let{items:t}=e,n=(0,o.Zp)(),u=(0,o.zy)(),l=t.find(e=>(0,a.B6)(e.to,u.pathname));return(0,r.jsxs)(i.bL,{size:"1",value:null==l?void 0:l.to,onValueChange:n,children:[(0,r.jsx)(i.l9,{}),(0,r.jsx)(i.UC,{position:"popper",children:t.map(e=>{let{title:t,to:n}=e;return(0,r.jsx)(i.q7,{value:n,children:t},n)})})]})}},56614:function(e,t,n){"use strict";n.d(t,{r:()=>E,E:()=>A});var r=n(68015),o=n(20482),a=n(30255),i=n(6455),u=n(96486),l=n(50609);class s extends l.il{static use(){return u.RUNTIME_GLOBALS in window||(window[u.RUNTIME_GLOBALS]=new s),window[u.RUNTIME_GLOBALS]}}async function c(e){s.use();let t=e.map(e=>new Promise((t,n)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=e=>n(e),r.src=e,document.head.appendChild(r)}));await Promise.all(t)}var f=n(85009),d=n(66144),h=n(19461),p=n.n(h),v=n(60824),m=n(83008),g=n(72522),y=n(2732),w=n(99699);let b=async()=>{let e=await u.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,l.FF)();return{remote:(0,d.L4)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:8e3})),hooks:t}};class _ extends Error{constructor(e){super(),this.name="InitializeManifestError",this.cause=e,this.message="Failed to initialize manifest of DevTools"}}let x=async e=>{let t=await fetch(e);try{let e=await t.text();return JSON.parse(e,(0,u.reviver)())}catch(e){throw new _(e)}},j=async(e,t)=>{let n=new URL(e,location.href),a=new window.WebSocket(n),i=await u.WebSocketChannel.link(a),s=(0,l.FF)();return{remote:(0,d.L4)({async refresh(){location.reload()},async applyStateOperations(e){for(let n of e)(0,u.applyOperation)(t,n)}},(0,o._)((0,r._)({},i.handlers),{timeout:5e3})),hooks:s,url:n}},R=async()=>{let e=s.use(),t=(0,w.BX)([{name:"overview",title:"Overview",icon:(0,a.jsx)(m.pNx,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,a.jsx)(m.AN7,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,a.jsx)(m.KUq,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,a.jsx)(g.u3M,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,a.jsx)(m.XVA,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,a.jsx)(m.lMP,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,a.jsx)(g.Gyc,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,a.jsx)(m.vU0,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let n of(await e.callHook("tab:list",t),t))"object"==typeof n.icon&&(n.icon=(0,w.KR)(n.icon)),"external"===n.view.type&&(n.view.component=(0,w.KR)(n.view.component));return t},k=async e=>{let t=new f.s,n=t.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let r=(0,v.createBridge)(window.parent,t);r.shutdown=()=>null;let o=(0,v.createStore)(r),a=(0,v.initialize)(window.parent,{bridge:r,store:o});return{store:o,bridge:r,wallAgent:t,unreg:n,Renderer:a}},E=(async e=>{var t;let n=(0,y.mA)((0,y.vx)(e).search),a=null!=(t=p().castArray(n.src)[0])?t:(0,y.Gc)(e,"manifest"),i=b(),u=x(a),l=u.then(e=>e.websocket?j(e.websocket,(0,w.BX)(e)):null),s=u.then(e=>c(e.context.def.plugins)).then(R),f=i.then(k),[d,h,v,m,g]=await Promise.all([i,u,l,s,f]);return(0,w.BX)((0,o._)((0,r._)({},h),{version:"2.68.20",tabs:m,server:v?(0,w.KR)(v):null,mountPoint:(0,w.KR)(d),react:{devtools:{store:(0,w.KR)(g.store),bridge:(0,w.KR)(g.bridge),wallAgent:(0,w.KR)(g.wallAgent),unreg:(0,w.KR)(g.unreg),Renderer:(0,w.KR)(g.Renderer)}}}))})(location.href),A=()=>(0,i.Yx)(E)},35395:function(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(61621);let o=e=>{let{params:t}=e;return t.toolkit&&t.type&&["framework","builder","bundler"].includes(t.toolkit)?["resolved","transformed"].includes(t.type)?null:(0,r.V2)("/404"):(0,r.V2)("/404")}},99426:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},27666:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>p});var r=n(30255),o=n(97621),a=n(37046),i=n(26095),u=n(37369),l=n(40229),s=n(19461),c=n.n(s);let f=e=>{let{name:t,describe:n}=e,o=n.map(e=>(0,r.jsx)(a.E,{style:{display:"block"},children:e},e));return(0,r.jsx)(i.m,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,r.jsx)(u.q7,{value:t,children:(0,r.jsx)(l.a,{children:c().startCase(t)})})},t)},d=[{name:"framework",describe:["Framework config is a superset of Builder config, ","extending it with additional configurations that ","include server-side capabilities and so on."]},{name:"builder",describe:["Builder provides wrapped building capabilities for scheduling Bundler, ","as well as other plugins and tools."]},{name:"bundler",describe:["Bundler is typically a low-level build tool like webpack or Rspack, ","and their configuration options differ significantly from higher-level tools."]}],h=[{name:"resolved",describe:["The configuration content passed by the user or superior tools,","usually exposed to the plugin API for modification."]},{name:"transformed",describe:["The modified and frozen configuration objects,","typically exposed to the plugin API for consumption."]}],p={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[n,a]=e.pathname.split("/").slice(2);return(0,r.jsxs)(u.bL,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(a))},children:[(0,r.jsx)(u.l9,{children:n}),(0,r.jsx)(u.UC,{children:d.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(f,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[n,a]=e.pathname.split("/").slice(2);return(0,r.jsxs)(u.bL,{size:"1",value:a,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(u.l9,{children:a}),(0,r.jsx)(u.UC,{children:h.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(f,{name:t,describe:n},t)})})]})},{})}]}},9832:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./builder/transformed");return(0,r.V2)(n)}},42253:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},82141:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(59350);let a={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.v,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},63493:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./builder");return(0,r.V2)(n)}},26590:function(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(30255),o=n(1589),a=n(7252),i=n(40229),u=n(4337),l=n(83008),s=n(37238);let c=e=>{let{title:t,children:n}=e;return(0,r.jsxs)(a.s,{className:s.A.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(l.TMu,{size:"36"})}),(0,r.jsxs)(i.a,{children:[(0,r.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(u.D,{children:t})}),(0,r.jsx)(i.a,{className:s.A.children,children:n})]})]})};var f=n(56614),d=n(97621),h=n(38053),p=n(2732),v=n(54955);let m=()=>{let e=(0,d.r5)(),t=(0,f.E)(),{def:n}=(0,v.s)(t).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(o.k,{});{let e=(0,p.vx)(n.doctor.quickStart).host,t=(0,r.jsxs)(h.N,{href:n.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(i.a,{width:"100%",children:(0,r.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},29223:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Doctor"}}},61129:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},76897:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>u});var r=n(56614),o=n(6455),a=n(19461),i=n.n(a);let u={breadcrumb(e){var t;let n,{pathname:a}=e.location,u=null==(t=a.match(/^\/external\/(\w+)/))?void 0:t[1],{tabs:l}=(0,o.Yx)(r.r),s=i().find(l,{name:u});return s?{title:n}=s:n=u?i().startCase(u):"External",{title:n,pathname:a}}}},15846:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},56422:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Header Modifier"}}},11491:function(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(61621),o=n(2925);let a=async()=>{let e=await o.AZ.service;return(0,r.V2)(e.rules?"./editor":"./welcome")}},2925:function(e,t,n){"use strict";n.d(t,{AZ:()=>s,DQ:()=>i,I:()=>u});var r=n(19461),o=n.n(r),a=n(99699);let i=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),n="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(n);return await navigator.serviceWorker.ready,s.service=await l(),r},u=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let n of e)t=t&&await n.unregister();return s.service=Promise.resolve({}),t},l=async()=>{for(let e of o().times(3))try{let e=AbortSignal.timeout(300),t=await fetch("/__devtools/service/status",{signal:e});return await t.json()}catch(e){}return{}},s=(0,a.BX)({service:l()})},18913:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(83008);let a={breadcrumb:{title:(0,r.jsx)(o.oGk,{}),pathname:"/overview"}}},74116:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>X});var r=n(30255),o=n(68015),a=n(20482),i=n(97621),u=n(73116),l=n(7252),s=n(19461),c=n.n(s),f=n(34053),d=n(79537),h=n(92604),p=n(30962),v=n(14670),m=n(61621),g=n(97271),y=n(73271),w=n(71526);function b(e,t){return function(n){null==e||e(n),n.defaultPrevented||t(n)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function x(){return(x=(0,h._)(function(e,t){var r,o;return(0,v.YH)(this,function(a){switch(a.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(e)}))];case 2:return a.sent(),[3,4];case 3:return console.error(a.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var j=function(e,t){var n=window.location,r=n.protocol,o=n.host,a=new URL(e,"".concat(r,"//").concat(o));return a.searchParams.append("__loader",t),a.searchParams.append("__ssrDirect","true"),a},R=function(e,t,n){var o,a=e.id;return o=j("/"===n?t:"".concat(n).concat(t),a).toString(),(0,r.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},k=function(e){var t=e.path,n=t.pathname,o=(0,y.useContext)(w.V_),a=o.routeManifest,i=o.routes,u=(a||{}).routeAssets,l=Array.isArray(i)?(0,m.ue)(i,n):[];return(Array.isArray(l)&&u&&(null==l||l.forEach(function(e){return function(e,t){return x.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,r.jsx)(E,{matches:l,path:t,routeManifest:a}):null},E=function(e){var t=e.matches,n=e.path,o=e.routeManifest,a=n.pathname,u=n.search,l=n.hash,s=(0,i.FE)(),c=(0,i.$P)("/"),f=(0,y.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(a+u+l,window.origin),i=e.route.shouldRevalidate({currentUrl:r,currentParams:(null==(n=s[0])?void 0:n.params)||{},nextUrl:o,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof i)return i}var c=s[t];return!!(!c||c.id!==e.route.id||c.pathname!==e.pathname||c.pathname.endsWith("*")&&c.params["*"]!==e.params["*"])}).map(function(e){return R(e.route,a,c)})},[t,a,o]);return(0,r.jsx)(r.Fragment,{children:f})},A=function(e){return y.forwardRef(function(t,a){var u,l,s,c,f,h,v,m,g,w,x,j,R,E,A=t.to,S=t.prefetch,C=(0,d._)(t,["to","prefetch"]),N="string"==typeof A&&_.test(A),P=(0,p._)((u=void 0===S?"none":S,s=(l=(0,p._)(y.useState(!1),2))[0],c=l[1],h=(f=(0,p._)(y.useState(!1),2))[0],v=f[1],m=C.onFocus,g=C.onBlur,w=C.onMouseEnter,x=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===u&&v(!0)},[u]),R=function(){"intent"===u&&c(!0)},E=function(){"intent"===u&&(c(!1),v(!1))},y.useEffect(function(){if(s){var e=setTimeout(function(){v(!0)},100);return function(){clearTimeout(e)}}},[s]),[h,{onFocus:b(m,R),onBlur:b(g,E),onMouseEnter:b(w,R),onMouseLeave:b(x,E),onTouchStart:b(j,R)}]),2),D=P[0],L=P[1],M=(0,i.x$)(A);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e,(0,o._)({ref:a,to:A},C,L)),D&&n.e&&!N?(0,r.jsx)(k,{path:M}):null]})})},S=A(g.N_);S.displayName="Link";var C=A(g.k2);C.displayName="NavLink";var N=n(38053);let P=e=>{var{to:t,children:n}=e,i=(0,d._)(e,["to","children"]);return(0,r.jsx)(N.N,(0,a._)((0,o._)({},i),{asChild:!0,children:(0,r.jsx)(S,{to:t,children:n})}))},D=e=>{let{location:t,handle:n}=e;if(!c().isObject(n)&&c().isNil(n))return[];let{breadcrumb:r}=n,o=[];c().isFunction(r)?o.push(...c().castArray(r({location:t}))):o.push(...c().castArray(r));let a=[];for(let t of o){if(!c().isObject(t)||c().isNull(t)||!("title"in t))continue;let n={id:e.id,title:t.title,pathname:e.pathname};"pathname"in t&&c().isString(t.pathname)&&(n.pathname=t.pathname),a.push(n)}return a},L=e=>{let t=[],n=(0,i.FE)(),s=(0,i.zy)(),c=[];for(let e of n)c.push(...D((0,a._)((0,o._)({},e),{location:s})));for(let[e,n]of(s.state&&"breadcrumb"in s.state&&c.push(...D({handle:s.state.breadcrumb,pathname:s.pathname,id:"external/".concat(s.pathname),location:s})),Object.entries(c))){let o=[n.id,n.pathname,e];t.push((0,r.jsx)(P,{color:"gray",size:"2",to:n.pathname,children:n.title},o.join("_"))),n!==c.at(-1)&&(o.push("#connector"),t.push((0,r.jsx)(u.vKP,{className:f.A.connector},o.join("_"))))}return(0,r.jsx)(l.s,(0,a._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:t}))};var M=n(56614);let O="";M.r.then(e=>{let{mountPoint:t}=e;t.hooks.hookOnce("pullUp",async e=>{O=e})});let T=()=>{let e=(0,i.Zp)(),{mountPoint:t}=(0,M.E)();return(0,y.useEffect)(()=>{O&&e(O),t.hooks.hook("pullUp",async t=>{e(t)})},[]),null};var B=n(59088),I=n(23205);let H=e=>{var{children:t}=e,n=(0,d._)(e,["children"]);let[i]=(0,B.B)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(i)},[i]),(0,r.jsx)(I.Sx,(0,a._)((0,o._)({},n),{appearance:i,children:t}))};var U=n(25378),q=n(26095),V=n(40229),F=n(83008),z=n(54955);let Y="tab-button-MtqLNp",$="tab-button-inner-KmlACp",J=e=>{let{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.src;else if("iframe"===t.view.type)n="/iframe/".concat(t.view.src);else if("external"===t.view.type)n="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,y.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(q.m,{content:t.title,side:"right",children:(0,r.jsx)(C,{to:n,className:Y,children:(0,r.jsx)(l.s,{justify:"center",align:"center",p:"1",className:$,children:(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:t.icon})})})})},G=()=>{let{server:e}=(0,z.s)((0,M.E)());return(0,r.jsx)(q.m,{content:e?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(V.a,{className:Y,children:(0,r.jsxs)(V.a,{p:"1",position:"relative",className:$,children:[(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(F.BSJ,{})}),(0,r.jsx)(V.a,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},K=()=>{let[e,t]=(0,B.B)();return(0,r.jsx)(q.m,{content:"Appearance",side:"right",children:(0,r.jsx)(V.a,{className:Y,onClick:()=>{t("light"===e?"dark":"light")},children:(0,r.jsx)(l.s,{justify:"center",align:"center",p:"1",className:$,children:(0,r.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,r.jsx)(F.DJT,{}):(0,r.jsx)(F._Nv,{})})})})})},W=()=>{let{tabs:e}=(0,z.s)((0,M.E)());return(0,r.jsxs)(l.s,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,r.jsx)(J,{tab:e},e.name)),(0,r.jsx)(V.a,{flexGrow:"1"}),(0,r.jsx)(G,{}),(0,r.jsx)(K,{})]})},X=()=>(0,r.jsx)(H,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(U.Kq,{swipeDirection:"up",children:[(0,r.jsx)(W,{}),(0,r.jsxs)(V.a,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(V.a,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(i.sv,{})}),(0,r.jsx)(L,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(T,{})]})})},61668:function(e,t,n){"use strict";n.d(t,{A:()=>u});var r=n(30255),o=n(23134),a=n(56614),i=n(35332);let u=()=>{let{mountPoint:e}=(0,a.E)();return(0,i.A)(async()=>{e.remote.onFinishRender()}),(0,r.jsx)(o.R,{className:"loading-gmTvLE"})}},36109:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},64253:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Overview"}}},76962:function(e,t,n){"use strict";n.d(t,{w:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./overview");return(0,r.V2)(n)}},26524:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},6100:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:{title:"Pages"}}},98321:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>a});var r=n(30255),o=n(59350);let a={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.v,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},38305:function(e,t,n){"use strict";n.d(t,{A:()=>r});let r=n(1589).k},19289:function(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(61621),o=n(2732);let a=e=>{let{request:t}=e,n=(0,o.Gc)(t.url,"./components");return(0,r.V2)(n)}},16976:function(e,t,n){"use strict";n.d(t,{w:()=>u});var r=n(56614),o=n(61621),a=n(19461),i=n.n(a);let u=async e=>{let{params:t}=e,{id:n}=t;if(!n)throw TypeError("storage preset id is required");let{context:a}=await r.r,{storagePresets:u}=await Promise.resolve(a),l=i().find(u,{id:n});return l||(0,o.V2)("/storage/preset")}},80557:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:()=>r});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},86667:function(e,t,n){"use strict";n.d(t,{X:()=>a,w:()=>o});var r=n(80410);let o=async e=>await (0,r.Ep)(),a=()=>null},17256:function(e,t,n){"use strict";n.d(t,{w:()=>o});var r=n(80410);let o=async e=>await (0,r.Ep)()},80410:function(e,t,n){"use strict";n.d(t,{Bf:()=>u,Ep:()=>c,Gq:()=>i,Z2:()=>l,ZB:()=>s});var r=n(56614),o=n(19461),a=n.n(o);let i=["cookie","localStorage","sessionStorage"],u={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},l=(e,t)=>a().map(e[t],(n,r)=>{let o=[e.id,t,r].join("//");return{key:r,value:n,type:t,id:o}}),s=e=>{let t=[];for(let n of i)t.push(...l(e,n));return t},c=async e=>{let{mountPoint:t}=await r.r,[n,o,a]=await Promise.all([t.remote.cookies(null==e?void 0:e.cookie),t.remote.localStorage(null==e?void 0:e.localStorage),t.remote.sessionStorage(null==e?void 0:e.sessionStorage)]);return{cookie:n,localStorage:o,sessionStorage:a}}},6455:function(e,t,n){"use strict";n.d(t,{Yx:()=>o}),n(30255),n(73271),n(19461);let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let t=r.get(e);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;throw t}throw r.set(e,e),e.then(t=>r.set(e,t)).catch(t=>r.set(e,t)),e}},46026:function(e,t,n){"use strict";n.d(t,{XX:()=>b});var r=n(92604),o=n(0),a=n(68015),i=n(20482),u=n(30962),l=n(14670),s=n(50016),c=n(63458),f=n(71526),d=n(80630),h=n(73271);function p(e,t){return h.createElement(f.V_.Provider,{value:t},e)}var v=n(30255),m=n(94636),g=n(48639),y=function(e){var t=e.callback,n=e.children,r=(0,h.useRef)(!1);return(0,h.useLayoutEffect)(function(){r.current||(r.current=!0,t())},[t]),n},w=function(){return!0};function b(e,t){return _.apply(this,arguments)}function _(){return(_=(0,r._)(function(e,t){var n,h,b,_,R,k,E,A,S,C;function N(){return(N=(0,r._)(function(e){return(0,l.YH)(this,function(t){return[2,function(e,t){return x.apply(this,arguments)}(e,C)]})})).apply(this,arguments)}function P(){return(P=(0,r._)(function(e,t){return(0,l.YH)(this,function(n){return[2,function(e,t){return j.apply(this,arguments)}(e,C,t)]})})).apply(this,arguments)}return(0,l.YH)(this,function(x){var j,D,L,M,O,T,B,I,H,U,q,V,F,z,Y,$,J;switch(x.label){case 0:if(n=(0,f.Ky)(),j=(0,r._)(function(e){var t,n;return(0,l.YH)(this,function(r){switch(r.label){case 0:return(t=(0,c.gy)()).pluginAPI.updateRuntimeContext(e),[4,t.hooks.onBeforeRender.call(e)];case 1:return r.sent(),[2,null==(n=(0,c.t8)())?void 0:n(e)]}})}),!(void 0===t||"string"==typeof t||"undefined"!=typeof HTMLElement&&(0,o._)(t,HTMLElement)))return[3,2];return h=function(e){return N.apply(this,arguments)},b=function(e,t){return P.apply(this,arguments)},T=null==(O=window._SSR_DATA)||null==(D=O.context)?void 0:D.request,A=Object.keys(E=(null==(_=(k=(0,i._)((0,a._)({},O||{renderLevel:0,mode:"string"}),{context:(0,i._)((0,a._)({},(null==O?void 0:O.context)||{}),{request:(0,i._)((0,a._)({},(null==O||null==(L=O.context)?void 0:L.request)||{}),{params:(null==T?void 0:T.params)||{},host:(null==T?void 0:T.host)||location.host,pathname:(null==T?void 0:T.pathname)||location.pathname,headers:(null==T?void 0:T.headers)||{},cookieMap:s.parse(document.cookie||"")||{},cookie:document.cookie||"",userAgent:(null==T||null==(M=T.headers)?void 0:M["user-agent"])||navigator.userAgent,referer:document.referrer,query:(0,a._)({},window.location.search.substring(1).split("&").reduce(function(e,t){var n=(0,u._)(t.split("="),2),r=n[0],o=n[1];return r&&(e[r]=o),e},{}),(null==T?void 0:T.query)||{}),url:location.href})})})).data)?void 0:_.loadersData)||{}).reduce(function(e,t){var n=E[t];return(null==n?void 0:n.loading)!==!1||(e[t]=n),e},{}),Object.assign(n,{loaderManager:(0,d.x)(A,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),n.initialData=null==(R=k.data)?void 0:R.initialData,[4,function(e){return j.apply(this,arguments)}(n)];case 1:if((S=x.sent())&&(n.initialData=S),C=t&&"string"!=typeof t?t:document.getElementById(t||"root"),window._SSR_DATA)return[2,(B=n,I=h,H=b,z=(0,i._)((0,a._)({},B),{get routes(){return B.routes},_hydration:!0}),Y=function(){delete z._hydration},$=(null==(q=window)||null==(U=q._SSR_DATA)?void 0:U.renderLevel)||g.Bw.CLIENT_RENDER,J=(null==(F=window)||null==(V=F._SSR_DATA)?void 0:V.mode)||"string",w()&&"stream"===J?$===g.Bw.SERVER_RENDER?H(p((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:Y,children:e})},{}),z)):I(p(e,B)):$===g.Bw.CLIENT_RENDER||$===g.Bw.SERVER_PREFETCH?I(p(e,B)):$===g.Bw.SERVER_RENDER?new Promise(function(t){w()?(0,m.ai)(function(){H(p((0,v.jsx)(function(){return(0,v.jsx)(y,{callback:Y,children:e})},{}),z)).then(function(e){t(e)})}):(0,m.ai)(function(){H(p(e,z),Y).then(function(e){t(e)})})}):(console.warn("unknow render level: ".concat($,", execute render()")),I(p(e,B))))];return[2,h(p(e,n))];case 2:throw Error("`render` function needs id in browser environment, it needs to be string or element")}})})).apply(this,arguments)}function x(){return(x=(0,r._)(function(e,t){var r;return(0,l.YH)(this,function(o){switch(o.label){case 0:return[4,n.e("783").then(n.t.bind(n,38987,19))];case 1:return(r=o.sent().createRoot(t)).render(e),[2,r]}})})).apply(this,arguments)}function j(){return(j=(0,r._)(function(e,t){return(0,l.YH)(this,function(r){switch(r.label){case 0:return[4,n.e("783").then(n.t.bind(n,38987,19))];case 1:return[2,r.sent().hydrateRoot(t,e)]}})})).apply(this,arguments)}},48639:function(e,t,n){"use strict";n.d(t,{Bw:()=>o,aQ:()=>i,rL:()=>a}),(r=o||(o={}))[r.CLIENT_RENDER=0]="CLIENT_RENDER",r[r.SERVER_PREFETCH=1]="SERVER_PREFETCH",r[r.SERVER_RENDER=2]="SERVER_RENDER";var r,o,a="__MODERN_SSR_DATA__",i="__MODERN_ROUTER_DATA__"},63458:function(e,t,n){"use strict";n.d(t,{A8:()=>s,J$:()=>o,Xj:()=>f,cG:()=>i,fn:()=>d,gy:()=>u,t8:()=>c,z_:()=>l,zm:()=>a});var r={};function o(){return r.isRscClient}function a(e){r.entryName=e.entryName,r.App=e.App,r.routes=e.routes,r.appInit=e.appInit,r.appConfig="function"==typeof e.appConfig?e.appConfig():e.appConfig,r.layoutApp=e.layoutApp,r.RSCRoot=e.RSCRoot,r.isRscClient=e.isRscClient,r.enableRsc=e.enableRsc}function i(e){r.internalRuntimeContext=e}function u(){return r.internalRuntimeContext}function l(){return r.App}function s(){return r.routes}function c(){var e,t;return r.appInit||(null==(e=l())?void 0:e.init)||(null==(t=d())?void 0:t.init)}function f(){var e,t;return r.appConfig||(null==(e=l())?void 0:e.config)||(null==(t=d())?void 0:t.config)}function d(){return r.layoutApp}},71526:function(e,t,n){"use strict";n.d(t,{Ky:()=>u,V_:()=>i});var r=n(18958),o=n(73271),a=n(80630),i=(0,o.createContext)({}),u=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1?arguments[1]:void 0;return{loaderManager:(0,a.x)({}),isBrowser:e,routeManifest:t||"undefined"!=typeof window&&window[r.Ae]}}},80630:function(e,t,n){"use strict";n.d(t,{x:()=>p});var r,o,a=n(92604),i=n(0),u=n(30962),l=n(84337),s=n(14670),c=n(60191),f=n.n(c),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var h=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return Promise.resolve()},u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,f=r.data,d=r.error,h=!1,p=new Set,v=(t=(0,a._)(function(){return(0,s.YH)(this,function(e){return u||1===c?[2,n]:(c=1,g(),[2,n=o().then(function(e){f=e,d=null,c=2}).catch(function(e){d=e,f=null,c=3}).finally(function(){n=null,h=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!h&&1===c,reloading:h&&1===c,data:f,error:(0,i._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,l._)(p).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return n},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:v}},p=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,l=n.skipNonStatic,c=void 0!==l&&l,f=new Map,p=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value.promise;if((0,i._)(a,Promise))return!0}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,a._)(function(){var e,t,n,r,o,a,l,c,d,h;return(0,s.YH)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)c=(l=(0,u._)(a.value,2))[0],h=(d=l[1]).promise,(0,i._)(h,Promise)&&e.push([c,d])}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,u._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=p(n.params),a=f.get(r),i=n._cache;if(!a||!1===i){var u=c&&!n.static,l=o&&n.static;a=h(r,void 0!==e[r]?e[r]:{data:n.initialData},t,u||l),f.set(r,a)}return r},get:function(e){return f.get(e)}}}},90984:function(e,t,n){"use strict";n.d(t,{F:()=>j,R:()=>R});var r,o,a,i,u,l,s,c=n(84337),f=n(93642),d=n(44252),h=n(68015),p=n(79537),v=n(20482),m=n(66944),g=(o=function(e){s.clear(),r=e;var t=e.plugins,n=e.handleSetupResult;s.addPlugins(t);var o=s.getPlugins(),a=(g=(d={runtimeContext:{},config:r.config,plugins:o}).runtimeContext,y=d.config,w=d.plugins,b={},w.forEach(function(e){var t=e.registryHooks,n=void 0===t?{}:t;Object.keys(n).forEach(function(e){b[e]=n[e]})}),(0,v._)((0,h._)({},g),{hooks:(0,h._)({},{onBeforeRender:(0,m.Ve)(),wrapRoot:(0,m.Lt)(),pickContext:(0,m.Lt)(),config:(0,m.po)()},b),extendsHooks:b,config:y})),i=function(e){var t=e.context,n=e.plugins,r=t.hooks,o=t.extendsHooks;function a(){if(t){t.hooks,t.extendsHooks,t.config,t.pluginAPI;var e=(0,p._)(t,["hooks","extendsHooks","config","pluginAPI"]);return e._internalContext=t,e}throw Error("Cannot access context")}function i(e){t=(0,f.h)(t,e)}var u={};n.forEach(function(e){var t=e._registryApi;if(t){var n=t(a,i);Object.keys(n).forEach(function(e){u[e]=n[e]})}}),o&&Object.keys(o).forEach(function(e){u[e]=o[e].tap});var l=(0,h._)({updateRuntimeContext:i,getHooks:function(){return(0,h._)({},r,o)},getRuntimeConfig:function(){if(t.config)return t.config;throw Error("Cannot access config")},config:r.config.tap,onBeforeRender:r.onBeforeRender.tap,wrapRoot:r.wrapRoot.tap,pickContext:r.pickContext.tap},u);return"undefined"==typeof Proxy?l:new Proxy(l,{get:function(e,t){if("then"!==t)return t in e?e[t]:function(){console.warn("api.".concat(t.toString()," not exist"))}}})}({context:a,pluginManager:s,plugins:o});a.pluginAPI=i;var u=!0,l=!1,c=void 0;try{for(var d,g,y,w,b,_,x=o[Symbol.iterator]();!(u=(_=x.next()).done);u=!0){var j,R=_.value,k=null==(j=R.setup)?void 0:j.call(R,i);n&&n(k,i)}}catch(e){l=!0,c=e}finally{try{u||null==x.return||x.return()}finally{if(l)throw c}}return{runtimeContext:a}},a=new Map,i=new Map,u=function(e,t,n){i.has(t)||i.set(t,{pre:new Map,post:new Map}),"pre"===n?i.get(e).pre.set(t,{name:t,isUse:!1}):"post"===n?i.get(e).post.set(t,{name:t}):"use"!==n||i.get(e).post.has(t)||i.get(t).pre.has(e)||i.get(e).pre.set(t,{name:t,isUse:!0})},l=function(e){if(e){var t=e,n=void 0===t?"undefined":(0,d._)(t);if("object"!==n||null===t)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(n,"."));if(t.setup&&"function"!=typeof t.setup)throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(n,"."));var r=e.name,o=e.usePlugins,s=e.pre,c=e.post;if(a.has(r))return void console.warn("Plugin ".concat(r," already exists."));a.set(r,e),i.set(r,{pre:new Map,post:new Map}),(void 0===s?[]:s).forEach(function(e){u(r,e,"pre")}),(void 0===c?[]:c).forEach(function(e){u(r,e,"post")}),(void 0===o?[]:o).forEach(function(e){a.has(e.name)||l(e),u(r,e.name,"use")})}},s={getPlugins:function(){var e=new Set,t=new Set,n=[],r=function(o){if(t.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&a.get(o)){t.add(o);var u=a.get(o).required;(void 0===u?[]:u).forEach(function(e){if(!a.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var l=i.get(o).pre;Array.from(l.values()).filter(function(e){return!e.isUse}).forEach(function(e){return r(e.name)}),Array.from(l.values()).filter(function(e){return e.isUse}).forEach(function(e){return r(e.name)}),t.delete(o),e.add(o),n.push(a.get(o))}};return a.forEach(function(e,t){i.get(t).post.forEach(function(e){i.get(e.name).pre.has(t)||i.get(e.name).pre.set(t,{name:t,isUse:!1})})}),a.forEach(function(e,t){r(t)}),n=n.filter(function(e){return e})},addPlugins:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;l(i)}}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}},clear:function(){a.clear(),i.clear()},isPluginExists:function(e){return a.has(e)}},{run:function(e){var t=o(e).runtimeContext,n=t.hooks.config.call().filter(function(e){return!!e});return t.config=f.h.apply(void 0,[{}].concat((0,c._)(n),[t.config||{}])),{runtimeContext:t}}}),y=n(92604),w=n(14670);function b(e,t){e&&Object.keys(e).forEach(function(n){var r=e[n];if("function"==typeof r){var o="beforeRender"===n?"onBeforeRender":n;t[o]&&("beforeRender"===n?t[o]((0,y._)(function(){var e,t,n,o=arguments;return(0,w.YH)(this,function(a){switch(a.label){case 0:for(t=Array(e=o.length),n=0;n<e;n++)t[n]=o[n];return[4,r.apply(void 0,(0,c._)(t))];case 1:return a.sent(),[2]}})})):t[o](function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(void 0,(0,c._)(t))}))}})}var _=function(e){var t=e.ssrContext;return t?{isBrowser:e.isBrowser,request:t.request||{},response:t.response||{},logger:t.logger||{}}:{}},x=n(63458);function j(e,t){var n=(t||{}).plugins,r=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var t,n;return t=e()._internalContext.hooks,{beforeRender:(n=(0,y._)(function(e){return(0,w.YH)(this,function(n){return[2,t.onBeforeRender.call(e)]})}),function(e){return n.apply(this,arguments)}),wrapRoot:function(e){return t.wrapRoot.call(e)},pickContext:function(e){return t.pickContext.call(e)},config:function(){return t.config.call()}}}}}},{name:"@modern-js/runtime-plugin-request-context",setup:function(e){e.onBeforeRender(function(e){var t=_(e);e.context=t})}}].concat((0,c._)(e),(0,c._)(void 0===n?[]:n)),config:t||{},handleSetupResult:b}).runtimeContext;return(0,x.cG)(r),r}function R(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return f.h.apply(void 0,[{},e].concat((0,c._)(n)))}},69088:function(e,t,n){"use strict";n.d(t,{H:()=>i});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}},o=n(48639),a=n(63458);function i(e){var t=e||(0,a.z_)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||r(o.rL),window._ROUTER_DATA=window._ROUTER_DATA||r(o.aQ)),(0,a.gy)().hooks.wrapRoot.call(t)}},23382:function(e,t,n){"use strict";n.d(t,{jY:()=>G});var r=n(68015),o=n(20482),a=n(84337),i=n(30255),u=n(93642),l=n(97621),s=n(97271);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var f=n(73271),d=n.t(f,2),h=n(71526),p=n(63458),v=n(66944),m=(0,v.Lt)(),g=(0,v.Lt)(),y=n(92604),w=n(30962),b=n(44252),_=n(14670),x=n(31488),j=n(61621);(0,y._)(function(e){var t;return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;return r=(0,y._)(function(e){return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;return[4,Promise.all(e.map((r=(0,y._)(function(e){return(0,_.YH)(this,function(n){switch(n.label){case 0:var r;if(!("lazyImport"in e&&(r=e.component)&&(void 0===r?"undefined":(0,b._)(r))==="object"&&void 0!==r._init&&void 0!==r._payload))return[3,2];return[4,e.lazyImport()];case 1:e.component=n.sent().default,n.label=2;case 2:if(!(e.children&&Array.isArray(e.children)))return[3,4];return[4,t(e.children)];case 3:n.sent(),n.label=4;case 4:return[2]}})}),function(e){return r.apply(this,arguments)})))];case 1:return n.sent(),[2]}})}),[4,(t=function(e){return r.apply(this,arguments)})(e)];case 1:return n.sent(),[2]}})});var R=function(e,t){if(!t||!Array.isArray(t))return e;var n=new Map,o=function(e){e.forEach(function(e){e.id&&n.set(e.id,e),"children"in e&&e.children&&Array.isArray(e.children)&&o(e.children)})};o(e);var a=function(e){return e.map(function(e){if(e.id&&n.has(e.id)){var t=n.get(e.id),o=(0,r._)({loader:e.hasClientLoader?e.loader:void 0},t);return e.children&&Array.isArray(e.children)&&(o.children=a(e.children)),o}return e})};return a(t)},k=function(e,t){var n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var u=a.value;if(u.id===t)return u;if(u.children&&Array.isArray(u.children)){var l=k(u.children,t);if(l)return l}}}catch(e){r=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}return null},E=function(e,t){var n,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=R(e.routes.reduceRight(function(e,t){return e.length>0?[(0,o._)((0,r._)({},t),{children:e})]:[t]},[]),t),u=(0,s.Ys)(i,{hydrationData:e,basename:a,dataStrategy:(n=(0,y._)(function(e){var n,r,o,a,i,l,s,c,f;return(0,_.YH)(this,function(d){switch(d.label){case 0:var h;return n=e.request,r=e.matches,o={},a=r.filter(function(e){return e.route.hasClientLoader}),i=fetch(n.url,{headers:{"x-rsc-tree":"true"}}),l=a.length>0?Promise.all(a.map((h=(0,y._)(function(e){var n,r;return(0,_.YH)(this,function(o){switch(o.label){case 0:return n=k(t,e.route.id),e.route.loader=null==n?void 0:n.loader,[4,e.resolve()];case 1:return r=o.sent(),[2,{routeId:e.route.id,result:r}]}})}),function(e){return h.apply(this,arguments)}))):Promise.resolve([]),[4,i];case 1:if(c=(s=d.sent()).headers.get("X-Modernjs-Redirect"))return r.forEach(function(e){var t=e.route.id;t&&(o[t]={type:"redirect",result:(0,j.V2)(c)})}),[2,o];return[4,Promise.all([l])];case 2:return w._.apply(void 0,[d.sent(),1])[0].forEach(function(e){var t=e.routeId,n=e.result;o[t]=n}),[4,(0,x.createFromReadableStream)(s.body)];case 3:if(void 0===(f=d.sent()).type||"render"!==f.type)throw Error("Unexpected payload type");return r.forEach(function(e){var t,n=e.route.id,r=f.routes.find(function(e){return e.id===n});r&&u.patchRoutes(r.parentId,[r],!0),(null==(t=f.loaderData)?void 0:t[n])&&(o[n]={type:"data",result:f.loaderData[n]})}),[2,o]}})}),function(e){return n.apply(this,arguments)})});return u},A=n(79537),S=n(18958);function C(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var N=function(e){var t=(0,w._)(C(e),2);return 1e3*t[0]+t[1]/1e6},P=function(){var e=C();return function(){return N(e)}},D="undefined"!=typeof window&&void 0!==window.document,L=function(){if(D)return console.error("You should not get async storage in browser"),null;try{return n(15141).getAsyncLocalStorage()}catch(e){return console.error("Failed to load server async storage",e),null}},M=n(82526),O=n(27220),T=n(94561),B=n(42969),I=n(41378),H=n(0);function U(e,t){if(!1===e||null==e)throw Error(t)}var q=function(e){function t(){return(0,O._)(this,t),(0,M._)(this,t,arguments)}return(0,I._)(t,e),t}((0,n(56382)._)(Error)),V=function(e){var t,n,a,u,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,d=e.index,h=e.id,p=e.component,v=e.isRoot,m=e.lazyImport,g=e.config,w=e.handle,x=s.parent,j=s.props,R={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:(a=(t=e).loader)?(n=(0,y._)(function(e){var n,r,o,i,u,l;return(0,_.YH)(this,function(s){switch(s.label){case 0:return"function"==typeof t.lazyImport&&t.lazyImport(),n=P(),[4,a(e)];case 1:r=s.sent();return o=n(),"undefined"==typeof document&&(null==(l=L())||null==(u=l.useContext().monitors)||u.timing("".concat(S.IV,"-").concat(null==(i=t.id)?void 0:i.replace(/\//g,"_")),o)),[2,r]}})}),function(e){return n.apply(this,arguments)}):function(){return"function"==typeof t.lazyImport&&t.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,r._)({},w,(void 0===g?"undefined":(0,b._)(g))==="object"?null==g?void 0:g.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error&&(R.errorElement=(0,i.jsx)(e.error,{})),p)if((null==x?void 0:x.loading)&&m){var k=x.loading;u=F(p)?(0,i.jsx)(p,{fallback:(0,i.jsx)(k,{})}):(0,i.jsx)(f.Suspense,{fallback:(0,i.jsx)(k,{}),children:(0,i.jsx)(p,{})})}else u=F(p)&&m?(0,i.jsx)(p,{}):v?(0,i.jsx)(p,(0,r._)({},void 0===j?{}:j)):m?(0,i.jsx)(f.Suspense,{fallback:null,children:(0,i.jsx)(p,{})}):(0,i.jsx)(p,{});else e.loading=null==x?void 0:x.loading,R.element=(0,i.jsx)(l.sv,{});u&&(R.element=u);var E=null==c?void 0:c.map(function(t){return V(t,{parent:e})});return d?(0,i.jsx)(l.qh,(0,o._)((0,r._)({},R),{index:!0}),h):(0,i.jsx)(l.qh,(0,o._)((0,r._)({},R),{index:!1,children:E}),h)};function F(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}var z=function(){return(0,i.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})};function Y(){return null}var $=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=RegExp("".concat("/","{1,}"),"g");return(e=n.join("/").replace(o,"/"))&&"string"==typeof e&&(e.startsWith(".")&&(e=e.slice(1)),e.startsWith("/")||(e="/".concat(e)),e.endsWith("/")&&"/"!==e&&(e=e.slice(0,e.length-1))),e},J={routes:[]},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{name:"@modern-js/plugin-router",registryHooks:{modifyRoutes:m,onBeforeCreateRoutes:g},setup:function(t){var n={current:[]};t.onBeforeRender(function(t){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var r,o=t.ssrContext,a=c(window.location.pathname),i=(null==o||null==(r=o.request)?void 0:r.pathname)&&c(o.request.pathname);i&&i!==a&&(console.error("The initial URL ".concat(i," and the URL ").concat(a," to be hydrated do not match, reload.")),window.location.reload())}t.router={useMatches:l.FE,useLocation:l.zy,useHref:l.$P},Object.defineProperty(t,"routes",{get:function(){return n.current},enumerable:!0})}),t.wrapRoot(function(c){var d=(0,u.h)(t.getRuntimeConfig().router||{},e),v=d.serverBase,m=void 0===v?[]:v,g=d.supportHtml5History,y=void 0===g||g,_=d.basename,x=void 0===_?"":_,R=d.routesConfig,k=d.createRoutes,S=d.future;if(!(J=(0,r._)({routes:(0,p.A8)(),globalApp:(0,p.fn)()},R)).routes&&!k)return c;var C=function(e){return m.find(function(t){return function(e,t){var n=t.length>1&&t.endsWith("/")?t.slice(0,-1):t||"/",r=e||"/";return r===n||r.startsWith("".concat(n,"/"))}(e,t)})||"/"};return function(e){var u,d,v,m,g,_,R,N,P,D,L,M,O,T=(u=(0,o._)((0,r._)({},e),{rscPayload:null==e?void 0:e.rscPayload}),v=(d={api:t,createRoutes:k,supportHtml5History:y,selectBasePath:C,basename:x,future:S}).api,m=d.createRoutes,g=d.supportHtml5History,_=d.selectBasePath,R=d.basename,N=(0,f.useContext)(h.V_),D="/"===(P=_(location.pathname).replace(/^\/*/,"/"))?$(P,N._internalRouterBaseName||R):P,L=N.unstable_getBlockNavState,M=(null==u?void 0:u.rscPayload)?W(u.rscPayload):null,O=window._ROUTER_DATA||M,(0,f.useMemo)(function(){(null==O?void 0:O.errors)&&(O=(0,o._)((0,r._)({},O),{errors:function(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,a=void 0;try{for(var i,u=t[Symbol.iterator]();!(r=(i=u.next()).done);r=!0){var l=(0,w._)(i.value,2),s=l[0],c=l[1];if(c&&"RouteErrorResponse"===c.__type)n[s]=new j.VV(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var f=Error(c.message);f.stack=c.stack,n[s]=f}else n[s]=c}}catch(e){o=!0,a=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw a}}return n}(O.errors)}));var e=(0,p.J$)(),t=null;(t=e?m?m():function(e){var t=e.routesConfig,n=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,u=t.globalApp;return a?function e(t,n){var o=n.globalApp,a=n.ssrMode,u=n.props,l=function(e){return o?function(t){return(0,i.jsx)(o,(0,r._)({Component:e},t))}:e},s=[],c=!0,d=!1,h=void 0;try{for(var p,v=t[Symbol.iterator]();!(c=(p=v.next()).done);c=!0){var m=p.value;if("nested"===m.type){var g,y={path:m.path,id:m.id,loader:m.loader,action:m.action,hasErrorBoundary:m.hasErrorBoundary,shouldRevalidate:m.shouldRevalidate,handle:(0,r._)({},m.handle,"object"===(0,b._)(m.config)?null==(g=m.config)?void 0:g.handle:{}),index:m.index,hasClientLoader:!!m.clientData,Component:m.component?m.component:void 0,errorElement:m.error?(0,i.jsx)(m.error,{}):void 0,children:m.children?m.children.map(function(t){return e([t],{globalApp:o,ssrMode:a,props:u})[0]}):void 0};s.push(y)}else if("function"==typeof m.component||"object"===(0,b._)(m.component)){var w=l(m.component),_={path:m.path,element:f.createElement(w)};s.push(_)}}}catch(e){d=!0,h=e}finally{try{c||null==v.return||v.return()}finally{if(d)throw h}}return s.push({path:"*",element:(0,i.jsx)(z,{})}),s}(a,{globalApp:u,ssrMode:o,props:n}):null}({routesConfig:J}):m?m():(0,l.Eu)(function(e){var t=e.routesConfig,n=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,u=t.globalApp;return a?function(e,t){var n=t.globalApp,o=t.ssrMode,a=t.props,u=function(e){var t=e.Component,o=(0,A._)(e,["Component"]);return n?(0,i.jsx)(n,(0,r._)({Component:t},o)):(0,i.jsx)(t,(0,r._)({},o))},s=[],c=!0,f=!1,d=void 0;try{for(var h,p=e[Symbol.iterator]();!(c=(h=p.next()).done);c=!0){var v=h.value;if("nested"===v.type){var m=V(v,{DeferredDataComponent:"stream"===o?Y:void 0,props:a});s.push(m)}else{var g=(0,i.jsx)(l.qh,{path:v.path,element:(0,i.jsx)(u,{Component:v.component})},v.path);s.push(g)}}}catch(e){f=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(f)throw d}}return s.push((0,i.jsx)(l.qh,{path:"*",element:(0,i.jsx)(z,{})},"*")),s}(a,{globalApp:u,ssrMode:o,props:n}):null}({routesConfig:J,props:u})))||(t=[]);var n=v.getHooks();if(M)try{var c=E(M,t,D);return{router:c,routes:c.routes||[]}}catch(e){console.error("Failed to create router from RSC payload:",e)}var d=n.modifyRoutes.call(t),h=g?(0,s.Ys)(d,{basename:D,hydrationData:O}):(0,s.Ge)(d,{basename:D,hydrationData:O}),y=h.subscribe;return h.subscribe=function(e){return y(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(L&&L()))return e.apply(void 0,(0,a._)(n))})},{router:h,routes:d}},[J,u,D,O,L])),B=T.router,I=T.routes;(0,f.useEffect)(function(){n.current=I},[I]);var H=function(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.pg,{router:B,future:S}),(0,i.jsx)(K,{}),(0,i.jsx)(K,{})]})};return c?(0,i.jsx)(c,{children:(0,i.jsx)(H,{})}):(0,i.jsx)(H,{})}})}}},K=function(){return null},W=function(e){var t=d&&d.use;return"function"==typeof t?t(e):null}},38058:function(e,t,n){"use strict";n.d(t,{eM:()=>a,qF:()=>i,rl:()=>o});var r=n(18958),o=function(e){return function(t){var n,o,a=null==(o=window)||null==(n=o[r.Ql])?void 0:n[e];return a&&"function"==typeof a.shouldRevalidate?a.shouldRevalidate(t):t.defaultShouldRevalidate}},a=function(e,t){return"undefined"!=typeof document&&(window[r.Ql][t]=e),e},i=function(e){return console.error(e),null}},66944:function(e,t,n){"use strict";n.d(t,{Lt:()=>u,Ve:()=>i,po:()=>l});var r=n(92604),o=n(84337),a=n(14670);function i(){var e,t=[];return{tap:function(e){t.push(e)},call:(e=(0,r._)(function(){var e,n,r,i,u,l,s,c,f,d,h,p,v,m,g=arguments;return(0,a.YH)(this,function(a){switch(a.label){case 0:for(n=Array(e=g.length),r=0;r<e;r++)n[r]=g[r];i=!1,l=function(e){i=!0,u=e},s=!0,c=!1,f=void 0,a.label=1;case 1:a.trys.push([1,6,7,8]),d=t[Symbol.iterator](),a.label=2;case 2:if((s=(h=d.next()).done)||(p=h.value,i))return[3,5];return[4,p.apply(void 0,(0,o._)(n).concat([l]))];case 3:void 0!==(v=a.sent())&&(n[0]=v),a.label=4;case 4:return s=!0,[3,2];case 5:return[3,8];case 6:return m=a.sent(),c=!0,f=m,[3,8];case 7:try{s||null==d.return||d.return()}finally{if(c)throw f}return[7];case 8:return[2,i?u:n[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function u(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=!0,i=!1,u=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){var c=l.value.apply(void 0,(0,o._)(n));void 0!==c&&(n[0]=c)}}catch(e){i=!0,u=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw u}}return n[0]}}}function l(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=[],a=!0,i=!1,u=void 0;try{for(var l,s=e[Symbol.iterator]();!(a=(l=s.next()).done);a=!0){var c=(0,l.value)(n);void 0!==c&&o.push(c)}}catch(e){i=!0,u=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw u}}return o}}}},93642:function(e,t,n){"use strict";n.d(t,{h:()=>function e(t){for(var n=arguments.length,a=Array(n>1?n-1:0),u=1;u<n;u++)a[u-1]=arguments[u];if(!a.length)return t;var l=a.shift();if(i(t)&&i(l))for(var s in l)i(l[s])?(t[s]||Object.assign(t,(0,r._)({},s,{})),e(t[s],l[s])):Object.assign(t,(0,r._)({},s,l[s]));return e.apply(void 0,[t].concat((0,o._)(a)))}});var r=n(42969),o=n(84337),a=n(44252);function i(e){return e&&(void 0===e?"undefined":(0,a._)(e))==="object"&&!Array.isArray(e)}},79499:function(e,t,n){"use strict";var r=n(40626),o={stream:!0},a=new Map;function i(e){var t=n(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function u(){}function l(e){for(var t=e[1],r=[],o=0;o<t.length;){var l=t[o++],s=t[o++],f=a.get(l);void 0===f?(c.set(l,s),s=n.e(l),r.push(s),f=a.set.bind(a,l,null),s.then(f,u),a.set(l,s)):null!==f&&r.push(f)}return 4===e.length?0===r.length?i(e[0]):Promise.all(r).then(function(){return i(e[0])}):0<r.length?Promise.all(r):null}function s(e){var t=n(e[0]);if(4===e.length&&"function"==typeof t.then)if("fulfilled"===t.status)t=t.value;else throw t.reason;return"*"===e[2]?t:""===e[2]?t.__esModule?t.default:t:t[e[2]]}var c=new Map,f=n.u;n.u=function(e){var t=c.get(e);return void 0!==t?t:f(e)};var d=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,h=Symbol.for("react.transitional.element"),p=Symbol.for("react.lazy"),v=Symbol.asyncIterator,m=new WeakMap;function g(e,t,n,r){this.status=e,this.value=t,this.reason=n,this._response=r}function y(e){switch(e.status){case"resolved_model":S(e);break;case"resolved_module":C(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":throw e;default:throw e.reason}}function w(e){return new g("pending",null,null,e)}function b(e,t){for(var n=0;n<e.length;n++)(0,e[n])(t)}function _(e,t,n){switch(e.status){case"fulfilled":b(t,e.value);break;case"pending":case"blocked":if(e.value)for(var r=0;r<t.length;r++)e.value.push(t[r]);else e.value=t;if(e.reason){if(n)for(t=0;t<n.length;t++)e.reason.push(n[t])}else e.reason=n;break;case"rejected":n&&b(n,e.reason)}}function x(e,t){if("pending"!==e.status&&"blocked"!==e.status)e.reason.error(t);else{var n=e.reason;e.status="rejected",e.reason=t,null!==n&&b(n,t)}}function j(e,t,n){return new g("resolved_model",(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}",null,e)}function R(e,t,n){k(e,(n?'{"done":true,"value":':'{"done":false,"value":')+t+"}")}function k(e,t){if("pending"!==e.status)e.reason.enqueueModel(t);else{var n=e.value,r=e.reason;e.status="resolved_model",e.value=t,null!==n&&(S(e),_(e,n,r))}}function E(e,t){if("pending"===e.status||"blocked"===e.status){var n=e.value,r=e.reason;e.status="resolved_module",e.value=t,null!==n&&(C(e),_(e,n,r))}}g.prototype=Object.create(Promise.prototype),g.prototype.then=function(e,t){switch(this.status){case"resolved_model":S(this);break;case"resolved_module":C(this)}switch(this.status){case"fulfilled":e(this.value);break;case"pending":case"blocked":e&&(null===this.value&&(this.value=[]),this.value.push(e)),t&&(null===this.reason&&(this.reason=[]),this.reason.push(t));break;default:t&&t(this.reason)}};var A=null;function S(e){var t=A;A=null;var n=e.value;e.status="blocked",e.value=null,e.reason=null;try{var r=JSON.parse(n,e._response._fromJSON),o=e.value;if(null!==o&&(e.value=null,e.reason=null,b(o,r)),null!==A){if(A.errored)throw A.value;if(0<A.deps){A.value=r,A.chunk=e;return}}e.status="fulfilled",e.value=r}catch(t){e.status="rejected",e.reason=t}finally{A=t}}function C(e){try{var t=s(e.value);e.status="fulfilled",e.value=t}catch(t){e.status="rejected",e.reason=t}}function N(e,t){e._chunks.forEach(function(e){"pending"===e.status&&x(e,t)})}function P(e){return{$$typeof:p,_payload:e,_init:y}}function D(e,t){var n=e._chunks,r=n.get(t);return r||(r=w(e),n.set(t,r)),r}function L(e,t,n,r,o,a){function i(e){if(!u.errored){u.errored=!0,u.value=e;var t=u.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}if(A){var u=A;u.deps++}else u=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function e(l){for(var s=1;s<a.length;s++){for(;l.$$typeof===p;)if((l=l._payload)===u.chunk)l=u.value;else if("fulfilled"===l.status)l=l.value;else{a.splice(0,s-1),l.then(e,i);return}l=l[a[s]]}s=o(r,l,t,n),t[n]=s,""===n&&null===u.value&&(u.value=s),t[0]===h&&"object"==typeof u.value&&null!==u.value&&u.value.$$typeof===h&&(l=u.value,"3"===n)&&(l.props=s),u.deps--,0===u.deps&&null!==(s=u.chunk)&&"blocked"===s.status&&(l=s.value,s.status="fulfilled",s.value=u.value,null!==l&&b(l,u.value))},i),null}function M(e,t,n,r){if(!e._serverReferenceConfig)return function(e,t){function n(){var e=Array.prototype.slice.call(arguments);return a?"fulfilled"===a.status?t(o,a.value.concat(e)):Promise.resolve(a).then(function(n){return t(o,n.concat(e))}):t(o,e)}var r,o=e.id,a=e.bound;return r={id:o,bound:a},m.set(n,r),n}(t,e._callServer);var o=function(e,t){var n="",r=e[t];if(r)n=r.name;else{var o=t.lastIndexOf("#");if(-1!==o&&(n=t.slice(o+1),r=e[t.slice(0,o)]),!r)throw Error('Could not find the module "'+t+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.')}return r.async?[r.id,r.chunks,n,1]:[r.id,r.chunks,n]}(e._serverReferenceConfig,t.id);if(e=l(o))t.bound&&(e=Promise.all([e,t.bound]));else{if(!t.bound)return s(o);e=Promise.resolve(t.bound)}if(A){var a=A;a.deps++}else a=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function(){var e=s(o);if(t.bound){var i=t.bound.value.slice(0);i.unshift(null),e=e.bind.apply(e,i)}n[r]=e,""===r&&null===a.value&&(a.value=e),n[0]===h&&"object"==typeof a.value&&null!==a.value&&a.value.$$typeof===h&&(i=a.value,"3"===r)&&(i.props=e),a.deps--,0===a.deps&&null!==(e=a.chunk)&&"blocked"===e.status&&(i=e.value,e.status="fulfilled",e.value=a.value,null!==i&&b(i,a.value))},function(e){if(!a.errored){a.errored=!0,a.value=e;var t=a.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}),null}function O(e,t,n,r,o){var a=parseInt((t=t.split(":"))[0],16);switch((a=D(e,a)).status){case"resolved_model":S(a);break;case"resolved_module":C(a)}switch(a.status){case"fulfilled":var i=a.value;for(a=1;a<t.length;a++){for(;i.$$typeof===p;)if("fulfilled"!==(i=i._payload).status)return L(i,n,r,e,o,t.slice(a-1));else i=i.value;i=i[t[a]]}return o(e,i,n,r);case"pending":case"blocked":return L(a,n,r,e,o,t);default:return A?(A.errored=!0,A.value=a.reason):A={parent:null,chunk:null,value:a.reason,deps:0,errored:!0},null}}function T(e,t){return new Map(t)}function B(e,t){return new Set(t)}function I(e,t){return new Blob(t.slice(1),{type:t[0]})}function H(e,t){e=new FormData;for(var n=0;n<t.length;n++)e.append(t[n][0],t[n][1]);return e}function U(e,t){return t[Symbol.iterator]()}function q(e,t){return t}function V(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function F(e,t,n,r,o,a,i){var u,l=new Map;this._bundlerConfig=e,this._serverReferenceConfig=t,this._moduleLoading=n,this._callServer=void 0!==r?r:V,this._encodeFormAction=o,this._nonce=a,this._chunks=l,this._stringDecoder=new TextDecoder,this._fromJSON=null,this._rowLength=this._rowTag=this._rowID=this._rowState=0,this._buffer=[],this._tempRefs=i,this._fromJSON=(u=this,function(e,t){if("string"==typeof t){var n=u,r=this,o=e,a=t;if("$"===a[0]){if("$"===a)return null!==A&&"0"===o&&(A={parent:A,chunk:null,value:null,deps:0,errored:!1}),h;switch(a[1]){case"$":return a.slice(1);case"L":return P(n=D(n,r=parseInt(a.slice(2),16)));case"@":if(2===a.length)return new Promise(function(){});return D(n,r=parseInt(a.slice(2),16));case"S":return Symbol.for(a.slice(2));case"F":return O(n,a=a.slice(2),r,o,M);case"T":if(r="$"+a.slice(2),null==(n=n._tempRefs))throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");return n.get(r);case"Q":return O(n,a=a.slice(2),r,o,T);case"W":return O(n,a=a.slice(2),r,o,B);case"B":return O(n,a=a.slice(2),r,o,I);case"K":return O(n,a=a.slice(2),r,o,H);case"Z":return K();case"i":return O(n,a=a.slice(2),r,o,U);case"I":return 1/0;case"-":return"$-0"===a?-0:-1/0;case"N":return NaN;case"u":return;case"D":return new Date(Date.parse(a.slice(2)));case"n":return BigInt(a.slice(2));default:return O(n,a=a.slice(1),r,o,q)}}return a}if("object"==typeof t&&null!==t){if(t[0]===h){if(e={$$typeof:h,type:t[1],key:t[2],ref:null,props:t[3]},null!==A){if(A=(t=A).parent,t.errored)e=P(e=new g("rejected",null,t.value,u));else if(0<t.deps){var i=new g("blocked",null,null,u);t.value=e,t.chunk=i,e=P(i)}}}else e=t;return e}return t})}function z(e,t,n){var r=e._chunks,o=r.get(t);o&&"pending"!==o.status?o.reason.enqueueValue(n):r.set(t,new g("fulfilled",n,null,e))}function Y(e,t,n,r){var o=e._chunks,a=o.get(t);a?"pending"===a.status&&(e=a.value,a.status="fulfilled",a.value=n,a.reason=r,null!==e&&b(e,a.value)):o.set(t,new g("fulfilled",n,r,e))}function $(e,t,n){var r=null;n=new ReadableStream({type:n,start:function(e){r=e}});var o=null;Y(e,t,n,{enqueueValue:function(e){null===o?r.enqueue(e):o.then(function(){r.enqueue(e)})},enqueueModel:function(t){if(null===o){var n=new g("resolved_model",t,null,e);S(n),"fulfilled"===n.status?r.enqueue(n.value):(n.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=n)}else{n=o;var a=w(e);a.then(function(e){return r.enqueue(e)},function(e){return r.error(e)}),o=a,n.then(function(){o===a&&(o=null),k(a,t)})}},close:function(){if(null===o)r.close();else{var e=o;o=null,e.then(function(){return r.close()})}},error:function(e){if(null===o)r.error(e);else{var t=o;o=null,t.then(function(){return r.error(e)})}}})}function J(){return this}function G(e,t,n){var r=[],o=!1,a=0,i={};i[v]=function(){var t,n=0;return(t={next:t=function(t){if(void 0!==t)throw Error("Values cannot be passed to next() of AsyncIterables passed to Client Components.");if(n===r.length){if(o)return new g("fulfilled",{done:!0,value:void 0},null,e);r[n]=w(e)}return r[n++]}})[v]=J,t},Y(e,t,n?i[v]():i,{enqueueValue:function(t){if(a===r.length)r[a]=new g("fulfilled",{done:!1,value:t},null,e);else{var n=r[a],o=n.value,i=n.reason;n.status="fulfilled",n.value={done:!1,value:t},null!==o&&_(n,o,i)}a++},enqueueModel:function(t){a===r.length?r[a]=j(e,t,!1):R(r[a],t,!1),a++},close:function(t){for(o=!0,a===r.length?r[a]=j(e,t,!0):R(r[a],t,!0),a++;a<r.length;)R(r[a++],'"$undefined"',!0)},error:function(t){for(o=!0,a===r.length&&(r[a]=w(e));a<r.length;)x(r[a++],t)}})}function K(){var e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");return e.stack="Error: "+e.message,e}function W(e,t){for(var n=e.length,r=t.length,o=0;o<n;o++)r+=e[o].byteLength;r=new Uint8Array(r);for(var a=o=0;a<n;a++){var i=e[a];r.set(i,o),o+=i.byteLength}return r.set(t,o),r}function X(e,t,n,r,o,a){z(e,t,o=new o((n=0===n.length&&0==r.byteOffset%a?r:W(n,r)).buffer,n.byteOffset,n.byteLength/a))}t.createFromReadableStream=function(e,t){var n;return function(e,t){function n(t){N(e,t)}var r=t.getReader();r.read().then(function t(a){var i=a.value;if(a.done)N(e,Error("Connection closed."));else{var u=0,s=e._rowState;a=e._rowID;for(var c=e._rowTag,f=e._rowLength,h=e._buffer,p=i.length;u<p;){var v=-1;switch(s){case 0:58===(v=i[u++])?s=1:a=a<<4|(96<v?v-87:v-48);continue;case 1:84===(s=i[u])||65===s||79===s||111===s||85===s||83===s||115===s||76===s||108===s||71===s||103===s||77===s||109===s||86===s?(c=s,s=2,u++):64<s&&91>s||35===s||114===s||120===s?(c=s,s=3,u++):(c=0,s=3);continue;case 2:44===(v=i[u++])?s=4:f=f<<4|(96<v?v-87:v-48);continue;case 3:v=i.indexOf(10,u);break;case 4:(v=u+f)>i.length&&(v=-1)}var m=i.byteOffset+u;if(-1<v)(function(e,t,n,r,a){switch(n){case 65:z(e,t,W(r,a).buffer);return;case 79:X(e,t,r,a,Int8Array,1);return;case 111:z(e,t,0===r.length?a:W(r,a));return;case 85:X(e,t,r,a,Uint8ClampedArray,1);return;case 83:X(e,t,r,a,Int16Array,2);return;case 115:X(e,t,r,a,Uint16Array,2);return;case 76:X(e,t,r,a,Int32Array,4);return;case 108:X(e,t,r,a,Uint32Array,4);return;case 71:X(e,t,r,a,Float32Array,4);return;case 103:X(e,t,r,a,Float64Array,8);return;case 77:X(e,t,r,a,BigInt64Array,8);return;case 109:X(e,t,r,a,BigUint64Array,8);return;case 86:X(e,t,r,a,DataView,1);return}for(var i=e._stringDecoder,u="",s=0;s<r.length;s++)u+=i.decode(r[s],o);switch(r=u+=i.decode(a),n){case 73:var c=e,f=t,h=r,p=c._chunks,v=p.get(f);h=JSON.parse(h,c._fromJSON);var m=function(e,t){if(e){var n=e[t[0]];if(e=n&&n[t[2]])n=e.name;else{if(!(e=n&&n["*"]))throw Error('Could not find the module "'+t[0]+'" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.');n=t[2]}return 4===t.length?[e.id,e.chunks,n,1]:[e.id,e.chunks,n]}return t}(c._bundlerConfig,h);if(h=l(m)){if(v){var y=v;y.status="blocked"}else y=new g("blocked",null,null,c),p.set(f,y);h.then(function(){return E(y,m)},function(e){return x(y,e)})}else v?E(v,m):p.set(f,new g("resolved_module",m,null,c));break;case 72:switch(t=r[0],e=JSON.parse(r=r.slice(1),e._fromJSON),r=d.d,t){case"D":r.D(e);break;case"C":"string"==typeof e?r.C(e):r.C(e[0],e[1]);break;case"L":t=e[0],n=e[1],3===e.length?r.L(t,n,e[2]):r.L(t,n);break;case"m":"string"==typeof e?r.m(e):r.m(e[0],e[1]);break;case"X":"string"==typeof e?r.X(e):r.X(e[0],e[1]);break;case"S":"string"==typeof e?r.S(e):r.S(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case"M":"string"==typeof e?r.M(e):r.M(e[0],e[1])}break;case 69:n=JSON.parse(r),(r=K()).digest=n.digest,(a=(n=e._chunks).get(t))?x(a,r):n.set(t,new g("rejected",null,r,e));break;case 84:(a=(n=e._chunks).get(t))&&"pending"!==a.status?a.reason.enqueueValue(r):n.set(t,new g("fulfilled",r,null,e));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 82:$(e,t,void 0);break;case 114:$(e,t,"bytes");break;case 88:G(e,t,!1);break;case 120:G(e,t,!0);break;case 67:(e=e._chunks.get(t))&&"fulfilled"===e.status&&e.reason.close(""===r?'"$undefined"':r);break;default:(a=(n=e._chunks).get(t))?k(a,r):n.set(t,new g("resolved_model",r,null,e))}})(e,a,c,h,f=new Uint8Array(i.buffer,m,v-u)),u=v,3===s&&u++,f=a=c=s=0,h.length=0;else{i=new Uint8Array(i.buffer,m,i.byteLength-u),h.push(i),f-=i.byteLength;break}}return e._rowState=s,e._rowID=a,e._rowTag=c,e._rowLength=f,r.read().then(t).catch(n)}}).catch(n)}(t=new F(null,null,null,(n=t)&&n.callServer?n.callServer:void 0,void 0,void 0,n&&n.temporaryReferences?n.temporaryReferences:void 0),e),D(t,0)}},31488:function(e,t,n){"use strict";e.exports=n(79499)},18958:function(e,t,n){"use strict";n.d(t,{Ae:()=>r,IV:()=>a,Ql:()=>o});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",a="server-loader"}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["393","493","535","564","588","783","792"],function(){return t(98360),t(71188),t(67195),t(30099),t(18940)}),e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["792"],{34053:function(n,t,e){e.d(t,{A:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},92480:function(n,t,e){e.d(t,{A:()=>o});let o={card:"card-If0911"}},71042:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-WHe0d3"}},31167:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},35796:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},37238:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},40457:function(n,t,e){e.d(t,{A:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},13318:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-COzu4H"}},84959:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-SkRv4t"}},60257:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-e3dQes"}},47654:function(n,t,e){e.d(t,{A:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},15529:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-e74VUa",trigger:"trigger-THjT7j",content:"content-Qso8ca",slideDown:"slideDown-Z9IIi_",slideUp:"slideUp-H_SR0p","url-text":"url-text-OqB5_M",urlText:"url-text-OqB5_M",mark:"mark-cUxPxy"}},85335:function(n,t,e){e.d(t,{A:()=>o});let o={"endpoint-tag":"endpoint-tag-y0SEjj",endpointTag:"endpoint-tag-y0SEjj","shy-link":"shy-link-Xazm8H",shyLink:"shy-link-Xazm8H","endpoint-container":"endpoint-container-XVJeZy",endpointContainer:"endpoint-container-XVJeZy"}},6985:function(n,t,e){e.d(t,{A:()=>o});let o={stats:"stats-cb58Fz"}},46718:function(n,t,e){e.d(t,{A:()=>o});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
|