@modern-js/devtools-client 2.69.2 → 2.69.4

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.
Files changed (30) hide show
  1. package/dist/modern.config.json +1 -1
  2. package/dist/public/sw-proxy.js +1 -1
  3. package/dist/routes-manifest.json +44 -44
  4. package/dist/static/html/client/index.html +3 -3
  5. package/dist/static/html/mount/index.html +3 -3
  6. package/dist/static/js/{69.3bcce980.js → 321.6dc5fed5.js} +2 -2
  7. package/dist/static/js/422.596103fd.js +1 -0
  8. package/dist/static/js/{594.ceeecc2c.js → 458.eef480e7.js} +2 -2
  9. package/dist/static/js/async/client_config/(toolkit).(type)/{page.9fbb6c7f.js → page.fdb90241.js} +1 -1
  10. package/dist/static/js/async/client_context/builder/{page.e5240aa0.js → page.0bab249c.js} +1 -1
  11. package/dist/static/js/async/client_context/framework/{page.f02f2dec.js → page.821065fe.js} +1 -1
  12. package/dist/static/js/async/client_doctor/{page.7009d1dc.js → page.c77b7a41.js} +1 -1
  13. package/dist/static/js/async/client_headers/editor/{page.6455a71e.js → page.50cbe490.js} +1 -1
  14. package/dist/static/js/async/client_overview/{page.f7bc6fb1.js → page.d66f4246.js} +1 -1
  15. package/dist/static/js/async/client_pages/{page.29c5069d.js → page.ee700280.js} +1 -1
  16. package/dist/static/js/async/client_storage/preset/(id)/{page.b6ee97a0.js → page.12308c2a.js} +1 -1
  17. package/dist/static/js/async/client_storage/preset/{layout.2f6e8be2.js → layout.7ceda057.js} +1 -1
  18. package/dist/static/js/async/client_storage/preset/{page.cb64cde8.js → page.aac5e9ae.js} +1 -1
  19. package/dist/static/js/{builder-runtime.8eb8e817.js → builder-runtime.304fdf5f.js} +1 -1
  20. package/dist/static/js/{client.83866821.js → client.787ccb00.js} +2 -2
  21. package/dist/static/js/components.5e40a74b.js +1 -0
  22. package/dist/static/js/{mount.55d06abb.js → mount.9e08da6e.js} +1 -1
  23. package/package.json +10 -10
  24. package/dist/static/js/422.ec0adeae.js +0 -1
  25. package/dist/static/js/components.8f7f9c45.js +0 -1
  26. /package/dist/static/css/{69.bd57b9e5.css → 321.bd57b9e5.css} +0 -0
  27. /package/dist/static/css/{594.aa32da8f.css → 458.aa32da8f.css} +0 -0
  28. /package/dist/static/js/{69.3bcce980.js.LICENSE.txt → 321.6dc5fed5.js.LICENSE.txt} +0 -0
  29. /package/dist/static/js/{594.ceeecc2c.js.LICENSE.txt → 458.eef480e7.js.LICENSE.txt} +0 -0
  30. /package/dist/static/js/{client.83866821.js.LICENSE.txt → client.787ccb00.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! For license information please see client.83866821.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["719"],{40148(e){e.exports={}},31470(e,t,r){"use strict";r.d(t,{k:()=>d});var n=r(30255),o=r(69148),a=r(89637),i=r(78107),l=r(10002),u=r(22387),s=r(73271);let c=e=>{let{error:t}=e,r=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,n.jsxs)(a.a,{p:"4",children:[(0,n.jsx)(i.D,{as:"h4",mb:"4",children:(0,n.jsx)(l.E,{as:"span",children:r})}),(0,n.jsx)(u.f,{disabled:!0,style:{height:"50vh"},value:o})]})},d=()=>{let e=(0,o.r5)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,n.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},75629(e,t,r){"use strict";r.d(t,{v:()=>l});var n=r(30255),o=r(69148),a=r(9740),i=r(13675);let l=e=>{let{items:t}=e,r=(0,o.Zp)(),l=(0,o.zy)(),u=t.find(e=>(0,a.B6)(e.to,l.pathname));return(0,n.jsxs)(i.bL,{size:"1",value:null==u?void 0:u.to,onValueChange:r,children:[(0,n.jsx)(i.l9,{}),(0,n.jsx)(i.UC,{position:"popper",children:t.map(e=>{let{title:t,to:r}=e;return(0,n.jsx)(i.q7,{value:r,children:t},r)})})]})}},68069(e,t,r){"use strict";r.d(t,{r:()=>E,E:()=>A});var n=r(15271),o=r(59354),a=r(30255),i=r(8070),l=r(55499),u=r(73385);class s extends u.il{static use(){return l.RUNTIME_GLOBALS in window||(window[l.RUNTIME_GLOBALS]=new s),window[l.RUNTIME_GLOBALS]}}async function c(e){s.use();let t=e.map(e=>new Promise((t,r)=>{let n=document.createElement("script");n.onload=()=>t(),n.onerror=e=>r(e),n.src=e,document.head.appendChild(n)}));await Promise.all(t)}var d=r(20134),f=r(19512),h=r(19461),p=r.n(h),v=r(60824),m=r(83008),g=r(72522),y=r(67044),w=r(86891);let b=async()=>{let e=await l.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,u.FF)();return{remote:(0,f.L4)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,n._)({},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,l.reviver)())}catch(e){throw new _(e)}},j=async(e,t)=>{let r=new URL(e,location.href),a=new window.WebSocket(r),i=await l.WebSocketChannel.link(a),s=(0,u.FF)();return{remote:(0,f.L4)({async refresh(){location.reload()},async applyStateOperations(e){for(let r of e)(0,l.applyOperation)(t,r)}},(0,o._)((0,n._)({},i.handlers),{timeout:5e3})),hooks:s,url:r}},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 r of(await e.callHook("tab:list",t),t))"object"==typeof r.icon&&(r.icon=(0,w.KR)(r.icon)),"external"===r.view.type&&(r.view.component=(0,w.KR)(r.view.component));return t},k=async e=>{let t=new d.s,r=t.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let n=(0,v.createBridge)(window.parent,t);n.shutdown=()=>null;let o=(0,v.createStore)(n),a=(0,v.initialize)(window.parent,{bridge:n,store:o});return{store:o,bridge:n,wallAgent:t,unreg:r,Renderer:a}},E=(async e=>{var t;let r=(0,y.mA)((0,y.vx)(e).search),a=null!=(t=p().castArray(r.src)[0])?t:(0,y.Gc)(e,"manifest"),i=b(),l=x(a),u=l.then(e=>e.websocket?j(e.websocket,(0,w.BX)(e)):null),s=l.then(e=>c(e.context.def.plugins)).then(R),d=i.then(k),[f,h,v,m,g]=await Promise.all([i,l,u,s,d]);return(0,w.BX)((0,o._)((0,n._)({},h),{version:"2.69.2",tabs:m,server:v?(0,w.KR)(v):null,mountPoint:(0,w.KR)(f),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)},78850(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(9740);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,n.V2)("/404"):(0,n.V2)("/404")}},67931(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},69713(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>p});var n=r(30255),o=r(69148),a=r(10002),i=r(83843),l=r(13675),u=r(89637),s=r(19461),c=r.n(s);let d=e=>{let{name:t,describe:r}=e,o=r.map(e=>(0,n.jsx)(a.E,{style:{display:"block"},children:e},e));return(0,n.jsx)(i.m,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,n.jsx)(l.q7,{value:t,children:(0,n.jsx)(u.a,{children:c().startCase(t)})})},t)},f=[{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,n.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[r,a]=e.pathname.split("/").slice(2);return(0,n.jsxs)(l.bL,{size:"1",value:r,onValueChange:e=>{t("/config/".concat(e,"/").concat(a))},children:[(0,n.jsx)(l.l9,{children:r}),(0,n.jsx)(l.UC,{children:f.map(e=>{let{name:t,describe:r}=e;return(0,n.jsx)(d,{name:t,describe:r},t)})})]})},{})},{title:(0,n.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[r,a]=e.pathname.split("/").slice(2);return(0,n.jsxs)(l.bL,{size:"1",value:a,onValueChange:e=>{t("/config/".concat(r,"/").concat(e))},children:[(0,n.jsx)(l.l9,{children:a}),(0,n.jsx)(l.UC,{children:h.map(e=>{let{name:t,describe:r}=e;return(0,n.jsx)(d,{name:t,describe:r},t)})})]})},{})}]}},2255(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./builder/transformed");return(0,n.V2)(r)}},86246(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},20714(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>a});var n=r(30255),o=r(75629);let a={breadcrumb:[{title:"Context"},{title:(0,n.jsx)(o.v,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},75836(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./builder");return(0,n.V2)(r)}},10595(e,t,r){"use strict";r.d(t,{A:()=>m});var n=r(30255),o=r(31470),a=r(13836),i=r(89637),l=r(78107),u=r(83008),s=r(64710);let c=e=>{let{title:t,children:r}=e;return(0,n.jsxs)(a.s,{className:s.A.container,mt:"9",mx:"auto",gap:"2",children:[(0,n.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,n.jsx)(u.TMu,{size:"36"})}),(0,n.jsxs)(i.a,{children:[(0,n.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,n.jsx)(l.D,{children:t})}),(0,n.jsx)(i.a,{className:s.A.children,children:r})]})]})};var d=r(68069),f=r(69148),h=r(85267),p=r(67044),v=r(63171);let m=()=>{let e=(0,f.r5)(),t=(0,d.E)(),{def:r}=(0,v.s)(t).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,n.jsx)(o.k,{});{let e=(0,p.vx)(r.doctor.quickStart).host,t=(0,n.jsxs)(h.N,{href:r.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,n.jsx)(i.a,{width:"100%",children:(0,n.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},82764(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Doctor"}}},97898(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},20564(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>l});var n=r(68069),o=r(8070),a=r(19461),i=r.n(a);let l={breadcrumb(e){var t;let r,{pathname:a}=e.location,l=null==(t=a.match(/^\/external\/(\w+)/))?void 0:t[1],{tabs:u}=(0,o.Yx)(n.r),s=i().find(u,{name:l});return s?{title:r}=s:r=l?i().startCase(l):"External",{title:r,pathname:a}}}},20005(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},7887(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Header Modifier"}}},78462(e,t,r){"use strict";r.d(t,{w:()=>a});var n=r(9740),o=r(57900);let a=async()=>{let e=await o.AZ.service;return(0,n.V2)(e.rules?"./editor":"./welcome")}},57900(e,t,r){"use strict";r.d(t,{AZ:()=>s,DQ:()=>i,I:()=>l});var n=r(19461),o=r.n(n),a=r(86891);let i=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),r="".concat("/sw-proxy.js","?rules=").concat(t),n=await navigator.serviceWorker.register(r);return await navigator.serviceWorker.ready,s.service=await u(),n},l=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let r of e)t=t&&await r.unregister();return s.service=Promise.resolve({}),t},u=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:u()})},85062(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>a});var n=r(30255),o=r(83008);let a={breadcrumb:{title:(0,n.jsx)(o.oGk,{}),pathname:"/overview"}}},51526(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>X});var n=r(30255),o=r(15271),a=r(59354),i=r(69148),l=r(73116),u=r(13836),s=r(19461),c=r.n(s),d=r(19426),f=r(27773),h=r(10084),p=r(88918),v=r(32198),m=r(9740),g=r(91492),y=r(73271),w=r(37021);function b(e,t){return function(r){null==e||e(r),r.defaultPrevented||t(r)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function x(){return(x=(0,h._)(function(e,t){var n,o;return(0,v.YH)(this,function(a){switch(a.label){case 0:if(!(n=e.id)||!t[n]||!(o=t[n].chunkIds))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===r.e||void 0===r.e?void 0:r.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 r=window.location,n=r.protocol,o=r.host,a=new URL(e,"".concat(n,"//").concat(o));return a.searchParams.append("__loader",t),a.searchParams.append("__ssrDirect","true"),a},R=function(e,t,r){var o,a=e.id;return o=j("/"===r?t:"".concat(r).concat(t),a).toString(),(0,n.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},k=function(e){var t=e.path,r=t.pathname,o=(0,y.useContext)(w.V_),a=o.routeManifest,i=o.routes,l=(a||{}).routeAssets,u=Array.isArray(i)?(0,m.ue)(i,r):[];return(Array.isArray(u)&&l&&(null==u||u.forEach(function(e){return function(e,t){return x.apply(this,arguments)}(e.route,l)})),window._SSR_DATA)?(0,n.jsx)(E,{matches:u,path:t,routeManifest:a}):null},E=function(e){var t=e.matches,r=e.path,o=e.routeManifest,a=r.pathname,l=r.search,u=r.hash,s=(0,i.FE)(),c=(0,i.$P)("/"),d=(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 r,n=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(a+l+u,window.origin),i=e.route.shouldRevalidate({currentUrl:n,currentParams:(null==(r=s[0])?void 0:r.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,n.jsx)(n.Fragment,{children:d})},A=function(e){return y.forwardRef(function(t,a){var l,u,s,c,d,h,v,m,g,w,x,j,R,E,A=t.to,S=t.prefetch,C=(0,f._)(t,["to","prefetch"]),N="string"==typeof A&&_.test(A),P=(0,p._)((l=void 0===S?"none":S,s=(u=(0,p._)(y.useState(!1),2))[0],c=u[1],h=(d=(0,p._)(y.useState(!1),2))[0],v=d[1],m=C.onFocus,g=C.onBlur,w=C.onMouseEnter,x=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===l&&v(!0)},[l]),R=function(){"intent"===l&&c(!0)},E=function(){"intent"===l&&(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,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e,(0,o._)({ref:a,to:A},C,L)),D&&r.e&&!N?(0,n.jsx)(k,{path:M}):null]})})},S=A(g.N_);S.displayName="Link";var C=A(g.k2);C.displayName="NavLink";var N=r(85267);let P=e=>{var{to:t,children:r}=e,i=(0,f._)(e,["to","children"]);return(0,n.jsx)(N.N,(0,a._)((0,o._)({},i),{asChild:!0,children:(0,n.jsx)(S,{to:t,children:r})}))},D=e=>{let{location:t,handle:r}=e;if(!c().isObject(r)&&c().isNil(r))return[];let{breadcrumb:n}=r,o=[];c().isFunction(n)?o.push(...c().castArray(n({location:t}))):o.push(...c().castArray(n));let a=[];for(let t of o){if(!c().isObject(t)||c().isNull(t)||!("title"in t))continue;let r={id:e.id,title:t.title,pathname:e.pathname};"pathname"in t&&c().isString(t.pathname)&&(r.pathname=t.pathname),a.push(r)}return a},L=e=>{let t=[],r=(0,i.FE)(),s=(0,i.zy)(),c=[];for(let e of r)c.push(...D((0,a._)((0,o._)({},e),{location:s})));for(let[e,r]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=[r.id,r.pathname,e];t.push((0,n.jsx)(P,{color:"gray",size:"2",to:r.pathname,children:r.title},o.join("_"))),r!==c.at(-1)&&(o.push("#connector"),t.push((0,n.jsx)(l.vKP,{className:d.A.connector},o.join("_"))))}return(0,n.jsx)(u.s,(0,a._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:t}))};var M=r(68069);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=r(25177),I=r(63221);let H=e=>{var{children:t}=e,r=(0,f._)(e,["children"]);let[i]=(0,B.B)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(i)},[i]),(0,n.jsx)(I.Sx,(0,a._)((0,o._)({},r),{appearance:i,children:t}))};var U=r(31346),q=r(83843),V=r(89637),F=r(83008),z=r(63171);let Y="tab-button-MtqLNp",$="tab-button-inner-KmlACp",J=e=>{let{tab:t}=e,r="";if("builtin"===t.view.type)r=t.view.src;else if("iframe"===t.view.type)r="/iframe/".concat(t.view.src);else if("external"===t.view.type)r="/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,n.jsx)(q.m,{content:t.title,side:"right",children:(0,n.jsx)(C,{to:r,className:Y,children:(0,n.jsx)(u.s,{justify:"center",align:"center",p:"1",className:$,children:(0,n.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,n.jsx)(q.m,{content:e?"Connected":"Disconnected",side:"right",children:(0,n.jsx)(V.a,{className:Y,children:(0,n.jsxs)(V.a,{p:"1",position:"relative",className:$,children:[(0,n.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,n.jsx)(F.BSJ,{})}),(0,n.jsx)(V.a,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},K=()=>{let[e,t]=(0,B.B)();return(0,n.jsx)(q.m,{content:"Appearance",side:"right",children:(0,n.jsx)(V.a,{className:Y,onClick:()=>{t("light"===e?"dark":"light")},children:(0,n.jsx)(u.s,{justify:"center",align:"center",p:"1",className:$,children:(0,n.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,n.jsx)(F.DJT,{}):(0,n.jsx)(F._Nv,{})})})})})},W=()=>{let{tabs:e}=(0,z.s)((0,M.E)());return(0,n.jsxs)(u.s,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,n.jsx)(J,{tab:e},e.name)),(0,n.jsx)(V.a,{flexGrow:"1"}),(0,n.jsx)(G,{}),(0,n.jsx)(K,{})]})},X=()=>(0,n.jsx)(H,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,n.jsxs)(U.Kq,{swipeDirection:"up",children:[(0,n.jsx)(W,{}),(0,n.jsxs)(V.a,{width:"100%",position:"relative",pt:"4",children:[(0,n.jsx)(V.a,{width:"100%",height:"100%",position:"relative",children:(0,n.jsx)(i.sv,{})}),(0,n.jsx)(L,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,n.jsx)(T,{})]})})},42211(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(30255),o=r(64921),a=r(68069),i=r(7498);let l=()=>{let{mountPoint:e}=(0,a.E)();return(0,i.A)(async()=>{e.remote.onFinishRender()}),(0,n.jsx)(o.R,{className:"loading-gmTvLE"})}},86832(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},95040(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Overview"}}},56119(e,t,r){"use strict";r.d(t,{w:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./overview");return(0,n.V2)(r)}},26995(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},46957(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Pages"}}},99334(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>a});var n=r(30255),o=r(75629);let a={breadcrumb:[{title:"React"},{title:(0,n.jsx)(o.v,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},12146(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},29336(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./components");return(0,n.V2)(r)}},34277(e,t,r){"use strict";r.d(t,{w:()=>l});var n=r(68069),o=r(9740),a=r(19461),i=r.n(a);let l=async e=>{let{params:t}=e,{id:r}=t;if(!r)throw TypeError("storage preset id is required");let{context:a}=await n.r,{storagePresets:l}=await Promise.resolve(a),u=i().find(l,{id:r});return u||(0,o.V2)("/storage/preset")}},13138(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},42768(e,t,r){"use strict";r.d(t,{X:()=>a,w:()=>o});var n=r(39319);let o=async e=>await (0,n.Ep)(),a=()=>null},35455(e,t,r){"use strict";r.d(t,{w:()=>o});var n=r(39319);let o=async e=>await (0,n.Ep)()},39319(e,t,r){"use strict";r.d(t,{Bf:()=>l,Ep:()=>c,Gq:()=>i,Z2:()=>u,ZB:()=>s});var n=r(68069),o=r(19461),a=r.n(o);let i=["cookie","localStorage","sessionStorage"],l={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},u=(e,t)=>a().map(e[t],(r,n)=>{let o=[e.id,t,n].join("//");return{key:n,value:r,type:t,id:o}}),s=e=>{let t=[];for(let r of i)t.push(...u(e,r));return t},c=async e=>{let{mountPoint:t}=await n.r,[r,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:r,localStorage:o,sessionStorage:a}}},8070(e,t,r){"use strict";r.d(t,{Yx:()=>o}),r(30255),r(73271),r(19461);let n=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(n.has(e)){let t=n.get(e);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;throw t}throw n.set(e,e),e.then(t=>n.set(e,t)).catch(t=>n.set(e,t)),e}},57609(e,t,r){"use strict";r.d(t,{XX:()=>b});var n=r(10084),o=r(78808),a=r(15271),i=r(59354),l=r(88918),u=r(32198),s=r(50016),c=r(46833),d=r(37021),f=r(29571),h=r(73271);function p(e,t){return h.createElement(d.V_.Provider,{value:t},e)}var v=r(30255),m=r(26800),g=r(98780),y=function(e){var t=e.callback,r=e.children,n=(0,h.useRef)(!1);return(0,h.useLayoutEffect)(function(){n.current||(n.current=!0,t())},[t]),r},w=function(){return!0};function b(e,t){return _.apply(this,arguments)}function _(){return(_=(0,n._)(function(e,t){var r,h,b,_,R,k,E,A,S,C;function N(){return(N=(0,n._)(function(e){return(0,u.YH)(this,function(t){return[2,function(e,t){return x.apply(this,arguments)}(e,C)]})})).apply(this,arguments)}function P(){return(P=(0,n._)(function(e,t){return(0,u.YH)(this,function(r){return[2,function(e,t){return j.apply(this,arguments)}(e,C,t)]})})).apply(this,arguments)}return(0,u.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(r=(0,d.Ky)(),j=(0,n._)(function(e){var t,r;return(0,u.YH)(this,function(n){switch(n.label){case 0:return(t=(0,c.gy)()).pluginAPI.updateRuntimeContext(e),[4,t.hooks.onBeforeRender.call(e)];case 1:return n.sent(),[2,null==(r=(0,c.t8)())?void 0:r(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 r=(0,l._)(t.split("="),2),n=r[0],o=r[1];return n&&(e[n]=o),e},{}),(null==T?void 0:T.query)||{}),url:location.href})})})).data)?void 0:_.loadersData)||{}).reduce(function(e,t){var r=E[t];return(null==r?void 0:r.loading)!==!1||(e[t]=r),e},{}),Object.assign(r,{loaderManager:(0,f.x)(A,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),r.initialData=null==(R=k.data)?void 0:R.initialData,[4,function(e){return j.apply(this,arguments)}(r)];case 1:if((S=x.sent())&&(r.initialData=S),C=t&&"string"!=typeof t?t:document.getElementById(t||"root"),window._SSR_DATA)return[2,(B=r,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,r))];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,n._)(function(e,t){var n;return(0,u.YH)(this,function(o){switch(o.label){case 0:return[4,r.e("783").then(r.t.bind(r,38987,19))];case 1:return(n=o.sent().createRoot(t)).render(e),[2,n]}})})).apply(this,arguments)}function j(){return(j=(0,n._)(function(e,t){return(0,u.YH)(this,function(n){switch(n.label){case 0:return[4,r.e("783").then(r.t.bind(r,38987,19))];case 1:return[2,n.sent().hydrateRoot(t,e)]}})})).apply(this,arguments)}},98780(e,t,r){"use strict";r.d(t,{Bw:()=>o,aQ:()=>i,rL:()=>a}),(n=o||(o={}))[n.CLIENT_RENDER=0]="CLIENT_RENDER",n[n.SERVER_PREFETCH=1]="SERVER_PREFETCH",n[n.SERVER_RENDER=2]="SERVER_RENDER";var n,o,a="__MODERN_SSR_DATA__",i="__MODERN_ROUTER_DATA__"},46833(e,t,r){"use strict";r.d(t,{A8:()=>s,J$:()=>o,Xj:()=>d,cG:()=>i,fn:()=>f,gy:()=>l,t8:()=>c,z_:()=>u,zm:()=>a});var n={};function o(){return n.isRscClient}function a(e){n.entryName=e.entryName,n.App=e.App,n.routes=e.routes,n.appInit=e.appInit,n.appConfig="function"==typeof e.appConfig?e.appConfig():e.appConfig,n.layoutApp=e.layoutApp,n.RSCRoot=e.RSCRoot,n.isRscClient=e.isRscClient,n.enableRsc=e.enableRsc}function i(e){n.internalRuntimeContext=e}function l(){return n.internalRuntimeContext}function u(){return n.App}function s(){return n.routes}function c(){var e,t;return n.appInit||(null==(e=u())?void 0:e.init)||(null==(t=f())?void 0:t.init)}function d(){var e,t;return n.appConfig||(null==(e=u())?void 0:e.config)||(null==(t=f())?void 0:t.config)}function f(){return n.layoutApp}},37021(e,t,r){"use strict";r.d(t,{Ky:()=>l,V_:()=>i});var n=r(18669),o=r(73271),a=r(29571),i=(0,o.createContext)({}),l=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[n.Ae]}}},29571(e,t,r){"use strict";r.d(t,{x:()=>p});var n,o,a=r(10084),i=r(78808),l=r(88918),u=r(93571),s=r(32198),c=r(60191),d=r.n(c),f=function(){var e=new Map;return function(t){var r=e.get(t);if(r)return r;var n=JSON.stringify(t);return d()(n,"params should be not null value"),e.set(t,n),n}};(n=o||(o={}))[n.idle=0]="idle",n[n.loading=1]="loading",n[n.fulfilled=2]="fulfilled",n[n.rejected=3]="rejected";var h=function(e){var t,r,n=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()},l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,d=n.data,f=n.error,h=!1,p=new Set,v=(t=(0,a._)(function(){return(0,s.YH)(this,function(e){return l||1===c?[2,r]:(c=1,g(),[2,r=o().then(function(e){d=e,f=null,c=2}).catch(function(e){f=e,d=null,c=3}).finally(function(){r=null,h=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!h&&1===c,reloading:h&&1===c,data:d,error:(0,i._)(f,Error)?"".concat(f.message):f,_error:f}},g=function(){(0,u._)(p).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return r},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:v}},p=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.skipStatic,o=void 0!==n&&n,u=r.skipNonStatic,c=void 0!==u&&u,d=new Map,p=f();return{hasPendingLoaders:function(){var e=!0,t=!1,r=void 0;try{for(var n,o=d.values()[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var a=n.value.promise;if((0,i._)(a,Promise))return!0}}catch(e){t=!0,r=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw r}}return!1},awaitPendingLoaders:(t=(0,a._)(function(){var e,t,r,n,o,a,u,c,f,h;return(0,s.YH)(this,function(s){switch(s.label){case 0:e=[],t=!0,r=!1,n=void 0;try{for(o=d[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)c=(u=(0,l._)(a.value,2))[0],h=(f=u[1]).promise,(0,i._)(h,Promise)&&e.push([c,f])}catch(e){r=!0,n=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw n}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var r=(0,l._)(t,2),n=r[0],o=r[1];return e[n]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,r){var n=p(r.params),a=d.get(n),i=r._cache;if(!a||!1===i){var l=c&&!r.static,u=o&&r.static;a=h(n,void 0!==e[n]?e[n]:{data:r.initialData},t,l||u),d.set(n,a)}return n},get:function(e){return d.get(e)}}}},86995(e,t,r){"use strict";r.d(t,{F:()=>j,R:()=>R});var n,o,a,i,l,u,s,c=r(93571),d=r(17089),f=r(8084),h=r(15271),p=r(27773),v=r(59354),m=r(19723),g=(o=function(e){s.clear(),n=e;var t=e.plugins,r=e.handleSetupResult;s.addPlugins(t);var o=s.getPlugins(),a=(g=(f={runtimeContext:{},config:n.config,plugins:o}).runtimeContext,y=f.config,w=f.plugins,b={},w.forEach(function(e){var t=e.registryHooks,r=void 0===t?{}:t;Object.keys(r).forEach(function(e){b[e]=r[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,r=e.plugins,n=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,d.h)(t,e)}var l={};r.forEach(function(e){var t=e._registryApi;if(t){var r=t(a,i);Object.keys(r).forEach(function(e){l[e]=r[e]})}}),o&&Object.keys(o).forEach(function(e){l[e]=o[e].tap});var u=(0,h._)({updateRuntimeContext:i,getHooks:function(){return(0,h._)({},n,o)},getRuntimeConfig:function(){if(t.config)return t.config;throw Error("Cannot access config")},config:n.config.tap,onBeforeRender:n.onBeforeRender.tap,wrapRoot:n.wrapRoot.tap,pickContext:n.pickContext.tap},l);return"undefined"==typeof Proxy?u:new Proxy(u,{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 l=!0,u=!1,c=void 0;try{for(var f,g,y,w,b,_,x=o[Symbol.iterator]();!(l=(_=x.next()).done);l=!0){var j,R=_.value,k=null==(j=R.setup)?void 0:j.call(R,i);r&&r(k,i)}}catch(e){u=!0,c=e}finally{try{l||null==x.return||x.return()}finally{if(u)throw c}}return{runtimeContext:a}},a=new Map,i=new Map,l=function(e,t,r){i.has(t)||i.set(t,{pre:new Map,post:new Map}),"pre"===r?i.get(e).pre.set(t,{name:t,isUse:!1}):"post"===r?i.get(e).post.set(t,{name:t}):"use"!==r||i.get(e).post.has(t)||i.get(t).pre.has(e)||i.get(e).pre.set(t,{name:t,isUse:!0})},u=function(e){if(e){var t=e,r=void 0===t?"undefined":(0,f._)(t);if("object"!==r||null===t)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(r,"."));if(t.setup&&"function"!=typeof t.setup)throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(r,"."));var n=e.name,o=e.usePlugins,s=e.pre,c=e.post;if(a.has(n))return void console.warn("Plugin ".concat(n," already exists."));a.set(n,e),i.set(n,{pre:new Map,post:new Map}),(void 0===s?[]:s).forEach(function(e){l(n,e,"pre")}),(void 0===c?[]:c).forEach(function(e){l(n,e,"post")}),(void 0===o?[]:o).forEach(function(e){a.has(e.name)||u(e),l(n,e.name,"use")})}},s={getPlugins:function(){var e=new Set,t=new Set,r=[],n=function(o){if(t.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&a.get(o)){t.add(o);var l=a.get(o).required;(void 0===l?[]:l).forEach(function(e){if(!a.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var u=i.get(o).pre;Array.from(u.values()).filter(function(e){return!e.isUse}).forEach(function(e){return n(e.name)}),Array.from(u.values()).filter(function(e){return e.isUse}).forEach(function(e){return n(e.name)}),t.delete(o),e.add(o),r.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){n(t)}),r=r.filter(function(e){return e})},addPlugins:function(e){var t=!0,r=!1,n=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;u(i)}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}},clear:function(){a.clear(),i.clear()},isPluginExists:function(e){return a.has(e)}},{run:function(e){var t=o(e).runtimeContext,r=t.hooks.config.call().filter(function(e){return!!e});return t.config=d.h.apply(void 0,[{}].concat((0,c._)(r),[t.config||{}])),{runtimeContext:t}}}),y=r(10084),w=r(32198);function b(e,t){e&&Object.keys(e).forEach(function(r){var n=e[r];if("function"==typeof n){var o="beforeRender"===r?"onBeforeRender":r;t[o]&&("beforeRender"===r?t[o]((0,y._)(function(){var e,t,r,o=arguments;return(0,w.YH)(this,function(a){switch(a.label){case 0:for(t=Array(e=o.length),r=0;r<e;r++)t[r]=o[r];return[4,n.apply(void 0,(0,c._)(t))];case 1:return a.sent(),[2]}})})):t[o](function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.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=r(46833);function j(e,t){var r=(t||{}).plugins,n=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var t,r;return t=e()._internalContext.hooks,{beforeRender:(r=(0,y._)(function(e){return(0,w.YH)(this,function(r){return[2,t.onBeforeRender.call(e)]})}),function(e){return r.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===r?[]:r)),config:t||{},handleSetupResult:b}).runtimeContext;return(0,x.cG)(n),n}function R(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return d.h.apply(void 0,[{},e].concat((0,c._)(r)))}},76329(e,t,r){"use strict";r.d(t,{H:()=>i});var n=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var r=t[t.length-1];if(r)try{return JSON.parse((null==r?void 0:r.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}},o=r(98780),a=r(46833);function i(e){var t=e||(0,a.z_)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||n(o.rL),window._ROUTER_DATA=window._ROUTER_DATA||n(o.aQ)),(0,a.gy)().hooks.wrapRoot.call(t)}},22521(e,t,r){"use strict";r.d(t,{jY:()=>G});var n=r(15271),o=r(59354),a=r(93571),i=r(30255),l=r(17089),u=r(69148),s=r(91492);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var d=r(73271),f=r.t(d,2),h=r(37021),p=r(46833),v=r(19723),m=(0,v.Lt)(),g=(0,v.Lt)(),y=r(10084),w=r(88918),b=r(8084),_=r(32198),x=r(90819),j=r(9740);(0,y._)(function(e){var t;return(0,_.YH)(this,function(r){switch(r.label){case 0:var n;return n=(0,y._)(function(e){return(0,_.YH)(this,function(r){switch(r.label){case 0:var n;return[4,Promise.all(e.map((n=(0,y._)(function(e){return(0,_.YH)(this,function(r){switch(r.label){case 0:var n;if(!("lazyImport"in e&&(n=e.component)&&(void 0===n?"undefined":(0,b._)(n))==="object"&&void 0!==n._init&&void 0!==n._payload))return[3,2];return[4,e.lazyImport()];case 1:e.component=r.sent().default,r.label=2;case 2:if(!(e.children&&Array.isArray(e.children)))return[3,4];return[4,t(e.children)];case 3:r.sent(),r.label=4;case 4:return[2]}})}),function(e){return n.apply(this,arguments)})))];case 1:return r.sent(),[2]}})}),[4,(t=function(e){return n.apply(this,arguments)})(e)];case 1:return r.sent(),[2]}})});var R=function(e,t){if(!t||!Array.isArray(t))return e;var r=new Map,o=function(e){e.forEach(function(e){e.id&&r.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&&r.has(e.id)){var t=r.get(e.id),o=(0,n._)({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 r=!0,n=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done);r=!0){var l=a.value;if(l.id===t)return l;if(l.children&&Array.isArray(l.children)){var u=k(l.children,t);if(u)return u}}}catch(e){n=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw o}}return null},E=function(e,t){var r,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,n._)({},t),{children:e})]:[t]},[]),t),l=(0,s.Ys)(i,{hydrationData:e,basename:a,dataStrategy:(r=(0,y._)(function(e){var r,n,o,a,i,u,s,c,d;return(0,_.YH)(this,function(f){switch(f.label){case 0:var h;return r=e.request,n=e.matches,o={},a=n.filter(function(e){return e.route.hasClientLoader}),i=fetch(r.url,{headers:{"x-rsc-tree":"true"}}),u=a.length>0?Promise.all(a.map((h=(0,y._)(function(e){var r,n;return(0,_.YH)(this,function(o){switch(o.label){case 0:return r=k(t,e.route.id),e.route.loader=null==r?void 0:r.loader,[4,e.resolve()];case 1:return n=o.sent(),[2,{routeId:e.route.id,result:n}]}})}),function(e){return h.apply(this,arguments)}))):Promise.resolve([]),[4,i];case 1:if(c=(s=f.sent()).headers.get("X-Modernjs-Redirect"))return n.forEach(function(e){var t=e.route.id;t&&(o[t]={type:"redirect",result:(0,j.V2)(c)})}),[2,o];return[4,Promise.all([u])];case 2:return w._.apply(void 0,[f.sent(),1])[0].forEach(function(e){var t=e.routeId,r=e.result;o[t]=r}),[4,(0,x.createFromReadableStream)(s.body)];case 3:if(void 0===(d=f.sent()).type||"render"!==d.type)throw Error("Unexpected payload type");return n.forEach(function(e){var t,r=e.route.id,n=d.routes.find(function(e){return e.id===r});n&&l.patchRoutes(n.parentId,[n],!0),(null==(t=d.loaderData)?void 0:t[r])&&(o[r]={type:"data",result:d.loaderData[r]})}),[2,o]}})}),function(e){return r.apply(this,arguments)})});return l},A=r(27773),S=r(18669);function C(e){var t=.001*new Date().getTime(),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}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 r(40148).getAsyncLocalStorage()}catch(e){return console.error("Failed to load server async storage",e),null}},M=r(17854),O=r(85212),T=r(94041),B=r(48433),I=r(87962),H=r(78808);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,r(29246)._)(Error)),V=function(e){var t,r,a,l,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,f=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)?(r=(0,y._)(function(e){var r,n,o,i,l,u;return(0,_.YH)(this,function(s){switch(s.label){case 0:return"function"==typeof t.lazyImport&&t.lazyImport(),r=P(),[4,a(e)];case 1:n=s.sent();return o=r(),"undefined"==typeof document&&(null==(u=L())||null==(l=u.useContext().monitors)||l.timing("".concat(S.IV,"-").concat(null==(i=t.id)?void 0:i.replace(/\//g,"_")),o)),[2,n]}})}),function(e){return r.apply(this,arguments)}):function(){return"function"==typeof t.lazyImport&&t.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,n._)({},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;l=F(p)?(0,i.jsx)(p,{fallback:(0,i.jsx)(k,{})}):(0,i.jsx)(d.Suspense,{fallback:(0,i.jsx)(k,{}),children:(0,i.jsx)(p,{})})}else l=F(p)&&m?(0,i.jsx)(p,{}):v?(0,i.jsx)(p,(0,n._)({},void 0===j?{}:j)):m?(0,i.jsx)(d.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)(u.sv,{});l&&(R.element=l);var E=null==c?void 0:c.map(function(t){return V(t,{parent:e})});return f?(0,i.jsx)(u.qh,(0,o._)((0,n._)({},R),{index:!0}),h):(0,i.jsx)(u.qh,(0,o._)((0,n._)({},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,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=RegExp("".concat("/","{1,}"),"g");return(e=r.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 r={current:[]};t.onBeforeRender(function(t){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var n,o=t.ssrContext,a=c(window.location.pathname),i=(null==o||null==(n=o.request)?void 0:n.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:u.FE,useLocation:u.zy,useHref:u.$P},Object.defineProperty(t,"routes",{get:function(){return r.current},enumerable:!0})}),t.wrapRoot(function(c){var f=(0,l.h)(t.getRuntimeConfig().router||{},e),v=f.serverBase,m=void 0===v?[]:v,g=f.supportHtml5History,y=void 0===g||g,_=f.basename,x=void 0===_?"":_,R=f.routesConfig,k=f.createRoutes,S=f.future;if(!(J=(0,n._)({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 r=t.length>1&&t.endsWith("/")?t.slice(0,-1):t||"/",n=e||"/";return n===r||n.startsWith("".concat(r,"/"))}(e,t)})||"/"};return function(e){var l,f,v,m,g,_,R,N,P,D,L,M,O,T=(l=(0,o._)((0,n._)({},e),{rscPayload:null==e?void 0:e.rscPayload}),v=(f={api:t,createRoutes:k,supportHtml5History:y,selectBasePath:C,basename:x,future:S}).api,m=f.createRoutes,g=f.supportHtml5History,_=f.selectBasePath,R=f.basename,N=(0,d.useContext)(h.V_),D="/"===(P=_(location.pathname).replace(/^\/*/,"/"))?$(P,N._internalRouterBaseName||R):P,L=N.unstable_getBlockNavState,M=(null==l?void 0:l.rscPayload)?W(l.rscPayload):null,O=window._ROUTER_DATA||M,(0,d.useMemo)(function(){(null==O?void 0:O.errors)&&(O=(0,o._)((0,n._)({},O),{errors:function(e){if(!e)return null;var t=Object.entries(e),r={},n=!0,o=!1,a=void 0;try{for(var i,l=t[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var u=(0,w._)(i.value,2),s=u[0],c=u[1];if(c&&"RouteErrorResponse"===c.__type)r[s]=new j.VV(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var d=Error(c.message);d.stack=c.stack,r[s]=d}else r[s]=c}}catch(e){o=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(O.errors)}));var e=(0,p.J$)(),t=null;(t=e?m?m():function(e){var t=e.routesConfig,r=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,l=t.globalApp;return a?function e(t,r){var o=r.globalApp,a=r.ssrMode,l=r.props,u=function(e){return o?function(t){return(0,i.jsx)(o,(0,n._)({Component:e},t))}:e},s=[],c=!0,f=!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,n._)({},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:l})[0]}):void 0};s.push(y)}else if("function"==typeof m.component||"object"===(0,b._)(m.component)){var w=u(m.component),_={path:m.path,element:d.createElement(w)};s.push(_)}}}catch(e){f=!0,h=e}finally{try{c||null==v.return||v.return()}finally{if(f)throw h}}return s.push({path:"*",element:(0,i.jsx)(z,{})}),s}(a,{globalApp:l,ssrMode:o,props:r}):null}({routesConfig:J}):m?m():(0,u.Eu)(function(e){var t=e.routesConfig,r=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,l=t.globalApp;return a?function(e,t){var r=t.globalApp,o=t.ssrMode,a=t.props,l=function(e){var t=e.Component,o=(0,A._)(e,["Component"]);return r?(0,i.jsx)(r,(0,n._)({Component:t},o)):(0,i.jsx)(t,(0,n._)({},o))},s=[],c=!0,d=!1,f=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)(u.qh,{path:v.path,element:(0,i.jsx)(l,{Component:v.component})},v.path);s.push(g)}}}catch(e){d=!0,f=e}finally{try{c||null==p.return||p.return()}finally{if(d)throw f}}return s.push((0,i.jsx)(u.qh,{path:"*",element:(0,i.jsx)(z,{})},"*")),s}(a,{globalApp:l,ssrMode:o,props:r}):null}({routesConfig:J,props:l})))||(t=[]);var r=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 f=r.modifyRoutes.call(t),h=g?(0,s.Ys)(f,{basename:D,hydrationData:O}):(0,s.Ge)(f,{basename:D,hydrationData:O}),y=h.subscribe;return h.subscribe=function(e){return y(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!(L&&L()))return e.apply(void 0,(0,a._)(r))})},{router:h,routes:f}},[J,l,D,O,L])),B=T.router;r.current=T.routes;var I=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)(I,{})}):(0,i.jsx)(I,{})}})}}},K=function(){return null},W=function(e){var t=f&&f.use;return"function"==typeof t?t(e):null}},24645(e,t,r){"use strict";r.d(t,{eM:()=>a,qF:()=>i,rl:()=>o});var n=r(18669),o=function(e){return function(t){var r,o,a=null==(o=window)||null==(r=o[n.Ql])?void 0:r[e];return a&&"function"==typeof a.shouldRevalidate?a.shouldRevalidate(t):t.defaultShouldRevalidate}},a=function(e,t){return"undefined"!=typeof document&&(window[n.Ql][t]=e),e},i=function(e){return console.error(e),null}},19723(e,t,r){"use strict";r.d(t,{Lt:()=>l,Ve:()=>i,po:()=>u});var n=r(10084),o=r(93571),a=r(32198);function i(){var e,t=[];return{tap:function(e){t.push(e)},call:(e=(0,n._)(function(){var e,r,n,i,l,u,s,c,d,f,h,p,v,m,g=arguments;return(0,a.YH)(this,function(a){switch(a.label){case 0:for(r=Array(e=g.length),n=0;n<e;n++)r[n]=g[n];i=!1,u=function(e){i=!0,l=e},s=!0,c=!1,d=void 0,a.label=1;case 1:a.trys.push([1,6,7,8]),f=t[Symbol.iterator](),a.label=2;case 2:if((s=(h=f.next()).done)||(p=h.value,i))return[3,5];return[4,p.apply(void 0,(0,o._)(r).concat([u]))];case 3:void 0!==(v=a.sent())&&(r[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,d=m,[3,8];case 7:try{s||null==f.return||f.return()}finally{if(c)throw d}return[7];case 8:return[2,i?l:r[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function l(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=!0,i=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=u.value.apply(void 0,(0,o._)(r));void 0!==c&&(r[0]=c)}}catch(e){i=!0,l=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw l}}return r[0]}}}function u(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=[],a=!0,i=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=(0,u.value)(r);void 0!==c&&o.push(c)}}catch(e){i=!0,l=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw l}}return o}}}},17089(e,t,r){"use strict";r.d(t,{h:()=>function e(t){for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];if(!a.length)return t;var u=a.shift();if(i(t)&&i(u))for(var s in u)i(u[s])?(t[s]||Object.assign(t,(0,n._)({},s,{})),e(t[s],u[s])):Object.assign(t,(0,n._)({},s,u[s]));return e.apply(void 0,[t].concat((0,o._)(a)))}});var n=r(48433),o=r(93571),a=r(8084);function i(e){return e&&(void 0===e?"undefined":(0,a._)(e))==="object"&&!Array.isArray(e)}},90228(e,t,r){"use strict";var n=r(40626),o={stream:!0},a=new Map;function i(e){var t=r(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 l(){}function u(e){for(var t=e[1],n=[],o=0;o<t.length;){var u=t[o++],s=t[o++],d=a.get(u);void 0===d?(c.set(u,s),s=r.e(u),n.push(s),d=a.set.bind(a,u,null),s.then(d,l),a.set(u,s)):null!==d&&n.push(d)}return 4===e.length?0===n.length?i(e[0]):Promise.all(n).then(function(){return i(e[0])}):0<n.length?Promise.all(n):null}function s(e){var t=r(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,d=r.u;r.u=function(e){var t=c.get(e);return void 0!==t?t:d(e)};var f=n.__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,r,n){this.status=e,this.value=t,this.reason=r,this._response=n}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 r=0;r<e.length;r++)(0,e[r])(t)}function _(e,t,r){switch(e.status){case"fulfilled":b(t,e.value);break;case"pending":case"blocked":if(e.value)for(var n=0;n<t.length;n++)e.value.push(t[n]);else e.value=t;if(e.reason){if(r)for(t=0;t<r.length;t++)e.reason.push(r[t])}else e.reason=r;break;case"rejected":r&&b(r,e.reason)}}function x(e,t){if("pending"!==e.status&&"blocked"!==e.status)e.reason.error(t);else{var r=e.reason;e.status="rejected",e.reason=t,null!==r&&b(r,t)}}function j(e,t,r){return new g("resolved_model",(r?'{"done":true,"value":':'{"done":false,"value":')+t+"}",null,e)}function R(e,t,r){k(e,(r?'{"done":true,"value":':'{"done":false,"value":')+t+"}")}function k(e,t){if("pending"!==e.status)e.reason.enqueueModel(t);else{var r=e.value,n=e.reason;e.status="resolved_model",e.value=t,null!==r&&(S(e),_(e,r,n))}}function E(e,t){if("pending"===e.status||"blocked"===e.status){var r=e.value,n=e.reason;e.status="resolved_module",e.value=t,null!==r&&(C(e),_(e,r,n))}}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 r=e.value;e.status="blocked",e.value=null,e.reason=null;try{var n=JSON.parse(r,e._response._fromJSON),o=e.value;if(null!==o&&(e.value=null,e.reason=null,b(o,n)),null!==A){if(A.errored)throw A.value;if(0<A.deps){A.value=n,A.chunk=e;return}}e.status="fulfilled",e.value=n}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 r=e._chunks,n=r.get(t);return n||(n=w(e),r.set(t,n)),n}function L(e,t,r,n,o,a){function i(e){if(!l.errored){l.errored=!0,l.value=e;var t=l.chunk;null!==t&&"blocked"===t.status&&x(t,e)}}if(A){var l=A;l.deps++}else l=A={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function e(u){for(var s=1;s<a.length;s++){for(;u.$$typeof===p;)if((u=u._payload)===l.chunk)u=l.value;else if("fulfilled"===u.status)u=u.value;else{a.splice(0,s-1),u.then(e,i);return}u=u[a[s]]}s=o(n,u,t,r),t[r]=s,""===r&&null===l.value&&(l.value=s),t[0]===h&&"object"==typeof l.value&&null!==l.value&&l.value.$$typeof===h&&(u=l.value,"3"===r)&&(u.props=s),l.deps--,0===l.deps&&null!==(s=l.chunk)&&"blocked"===s.status&&(u=s.value,s.status="fulfilled",s.value=l.value,null!==u&&b(u,l.value))},i),null}function M(e,t,r,n){if(!e._serverReferenceConfig)return function(e,t){function r(){var e=Array.prototype.slice.call(arguments);return a?"fulfilled"===a.status?t(o,a.value.concat(e)):Promise.resolve(a).then(function(r){return t(o,r.concat(e))}):t(o,e)}var n,o=e.id,a=e.bound;return n={id:o,bound:a},m.set(r,n),r}(t,e._callServer);var o=function(e,t){var r="",n=e[t];if(n)r=n.name;else{var o=t.lastIndexOf("#");if(-1!==o&&(r=t.slice(o+1),n=e[t.slice(0,o)]),!n)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 n.async?[n.id,n.chunks,r,1]:[n.id,n.chunks,r]}(e._serverReferenceConfig,t.id);if(e=u(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)}r[n]=e,""===n&&null===a.value&&(a.value=e),r[0]===h&&"object"==typeof a.value&&null!==a.value&&a.value.$$typeof===h&&(i=a.value,"3"===n)&&(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,r,n,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,r,n,e,o,t.slice(a-1));else i=i.value;i=i[t[a]]}return o(e,i,r,n);case"pending":case"blocked":return L(a,r,n,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 r=0;r<t.length;r++)e.append(t[r][0],t[r][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,r,n,o,a,i){var l,u=new Map;this._bundlerConfig=e,this._serverReferenceConfig=t,this._moduleLoading=r,this._callServer=void 0!==n?n:V,this._encodeFormAction=o,this._nonce=a,this._chunks=u,this._stringDecoder=new TextDecoder,this._fromJSON=null,this._rowLength=this._rowTag=this._rowID=this._rowState=0,this._buffer=[],this._tempRefs=i,this._fromJSON=(l=this,function(e,t){if("string"==typeof t){var r=l,n=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(r=D(r,n=parseInt(a.slice(2),16)));case"@":if(2===a.length)return new Promise(function(){});return D(r,n=parseInt(a.slice(2),16));case"S":return Symbol.for(a.slice(2));case"F":return O(r,a=a.slice(2),n,o,M);case"T":if(n="$"+a.slice(2),null==(r=r._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 r.get(n);case"Q":return O(r,a=a.slice(2),n,o,T);case"W":return O(r,a=a.slice(2),n,o,B);case"B":return O(r,a=a.slice(2),n,o,I);case"K":return O(r,a=a.slice(2),n,o,H);case"Z":return K();case"i":return O(r,a=a.slice(2),n,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(r,a=a.slice(1),n,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,l));else if(0<t.deps){var i=new g("blocked",null,null,l);t.value=e,t.chunk=i,e=P(i)}}}else e=t;return e}return t})}function z(e,t,r){var n=e._chunks,o=n.get(t);o&&"pending"!==o.status?o.reason.enqueueValue(r):n.set(t,new g("fulfilled",r,null,e))}function Y(e,t,r,n){var o=e._chunks,a=o.get(t);a?"pending"===a.status&&(e=a.value,a.status="fulfilled",a.value=r,a.reason=n,null!==e&&b(e,a.value)):o.set(t,new g("fulfilled",r,n,e))}function $(e,t,r){var n=null;r=new ReadableStream({type:r,start:function(e){n=e}});var o=null;Y(e,t,r,{enqueueValue:function(e){null===o?n.enqueue(e):o.then(function(){n.enqueue(e)})},enqueueModel:function(t){if(null===o){var r=new g("resolved_model",t,null,e);S(r),"fulfilled"===r.status?n.enqueue(r.value):(r.then(function(e){return n.enqueue(e)},function(e){return n.error(e)}),o=r)}else{r=o;var a=w(e);a.then(function(e){return n.enqueue(e)},function(e){return n.error(e)}),o=a,r.then(function(){o===a&&(o=null),k(a,t)})}},close:function(){if(null===o)n.close();else{var e=o;o=null,e.then(function(){return n.close()})}},error:function(e){if(null===o)n.error(e);else{var t=o;o=null,t.then(function(){return n.error(e)})}}})}function J(){return this}function G(e,t,r){var n=[],o=!1,a=0,i={};i[v]=function(){var t,r=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(r===n.length){if(o)return new g("fulfilled",{done:!0,value:void 0},null,e);n[r]=w(e)}return n[r++]}})[v]=J,t},Y(e,t,r?i[v]():i,{enqueueValue:function(t){if(a===n.length)n[a]=new g("fulfilled",{done:!1,value:t},null,e);else{var r=n[a],o=r.value,i=r.reason;r.status="fulfilled",r.value={done:!1,value:t},null!==o&&_(r,o,i)}a++},enqueueModel:function(t){a===n.length?n[a]=j(e,t,!1):R(n[a],t,!1),a++},close:function(t){for(o=!0,a===n.length?n[a]=j(e,t,!0):R(n[a],t,!0),a++;a<n.length;)R(n[a++],'"$undefined"',!0)},error:function(t){for(o=!0,a===n.length&&(n[a]=w(e));a<n.length;)x(n[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 r=e.length,n=t.length,o=0;o<r;o++)n+=e[o].byteLength;n=new Uint8Array(n);for(var a=o=0;a<r;a++){var i=e[a];n.set(i,o),o+=i.byteLength}return n.set(t,o),n}function X(e,t,r,n,o,a){z(e,t,o=new o((r=0===r.length&&0==n.byteOffset%a?n:W(r,n)).buffer,r.byteOffset,r.byteLength/a))}t.createFromReadableStream=function(e,t){var r;return function(e,t){function r(t){N(e,t)}var n=t.getReader();n.read().then(function t(a){var i=a.value;if(a.done)N(e,Error("Connection closed."));else{var l=0,s=e._rowState;a=e._rowID;for(var c=e._rowTag,d=e._rowLength,h=e._buffer,p=i.length;l<p;){var v=-1;switch(s){case 0:58===(v=i[l++])?s=1:a=a<<4|(96<v?v-87:v-48);continue;case 1:84===(s=i[l])||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,l++):64<s&&91>s||35===s||114===s||120===s?(c=s,s=3,l++):(c=0,s=3);continue;case 2:44===(v=i[l++])?s=4:d=d<<4|(96<v?v-87:v-48);continue;case 3:v=i.indexOf(10,l);break;case 4:(v=l+d)>i.length&&(v=-1)}var m=i.byteOffset+l;if(-1<v)(function(e,t,r,n,a){switch(r){case 65:z(e,t,W(n,a).buffer);return;case 79:X(e,t,n,a,Int8Array,1);return;case 111:z(e,t,0===n.length?a:W(n,a));return;case 85:X(e,t,n,a,Uint8ClampedArray,1);return;case 83:X(e,t,n,a,Int16Array,2);return;case 115:X(e,t,n,a,Uint16Array,2);return;case 76:X(e,t,n,a,Int32Array,4);return;case 108:X(e,t,n,a,Uint32Array,4);return;case 71:X(e,t,n,a,Float32Array,4);return;case 103:X(e,t,n,a,Float64Array,8);return;case 77:X(e,t,n,a,BigInt64Array,8);return;case 109:X(e,t,n,a,BigUint64Array,8);return;case 86:X(e,t,n,a,DataView,1);return}for(var i=e._stringDecoder,l="",s=0;s<n.length;s++)l+=i.decode(n[s],o);switch(n=l+=i.decode(a),r){case 73:var c=e,d=t,h=n,p=c._chunks,v=p.get(d);h=JSON.parse(h,c._fromJSON);var m=function(e,t){if(e){var r=e[t[0]];if(e=r&&r[t[2]])r=e.name;else{if(!(e=r&&r["*"]))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.');r=t[2]}return 4===t.length?[e.id,e.chunks,r,1]:[e.id,e.chunks,r]}return t}(c._bundlerConfig,h);if(h=u(m)){if(v){var y=v;y.status="blocked"}else y=new g("blocked",null,null,c),p.set(d,y);h.then(function(){return E(y,m)},function(e){return x(y,e)})}else v?E(v,m):p.set(d,new g("resolved_module",m,null,c));break;case 72:switch(t=n[0],e=JSON.parse(n=n.slice(1),e._fromJSON),n=f.d,t){case"D":n.D(e);break;case"C":"string"==typeof e?n.C(e):n.C(e[0],e[1]);break;case"L":t=e[0],r=e[1],3===e.length?n.L(t,r,e[2]):n.L(t,r);break;case"m":"string"==typeof e?n.m(e):n.m(e[0],e[1]);break;case"X":"string"==typeof e?n.X(e):n.X(e[0],e[1]);break;case"S":"string"==typeof e?n.S(e):n.S(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case"M":"string"==typeof e?n.M(e):n.M(e[0],e[1])}break;case 69:r=JSON.parse(n),(n=K()).digest=r.digest,(a=(r=e._chunks).get(t))?x(a,n):r.set(t,new g("rejected",null,n,e));break;case 84:(a=(r=e._chunks).get(t))&&"pending"!==a.status?a.reason.enqueueValue(n):r.set(t,new g("fulfilled",n,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(""===n?'"$undefined"':n);break;default:(a=(r=e._chunks).get(t))?k(a,n):r.set(t,new g("resolved_model",n,null,e))}})(e,a,c,h,d=new Uint8Array(i.buffer,m,v-l)),l=v,3===s&&l++,d=a=c=s=0,h.length=0;else{i=new Uint8Array(i.buffer,m,i.byteLength-l),h.push(i),d-=i.byteLength;break}}return e._rowState=s,e._rowID=a,e._rowTag=c,e._rowLength=d,n.read().then(t).catch(r)}}).catch(r)}(t=new F(null,null,null,(r=t)&&r.callServer?r.callServer:void 0,void 0,void 0,r&&r.temporaryReferences?r.temporaryReferences:void 0),e),D(t,0)}},90819(e,t,r){"use strict";e.exports=r(90228)},18669(e,t,r){"use strict";r.d(t,{Ae:()=>n,IV:()=>a,Ql:()=>o});var n="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",a="server-loader"}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["422","493","535","594","69","783","792"],function(){return t(93125),t(84226),t(38942),t(50054),t(39325)}),e.O()}]);
1
+ /*! For license information please see client.787ccb00.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["719"],{40148(e){e.exports={}},31470(e,t,r){"use strict";r.d(t,{k:()=>d});var n=r(30255),o=r(69148),a=r(89637),i=r(78107),l=r(10002),u=r(22387),s=r(73271);let c=e=>{let{error:t}=e,r=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,n.jsxs)(a.a,{p:"4",children:[(0,n.jsx)(i.D,{as:"h4",mb:"4",children:(0,n.jsx)(l.E,{as:"span",children:r})}),(0,n.jsx)(u.f,{disabled:!0,style:{height:"50vh"},value:o})]})},d=()=>{let e=(0,o.r5)();return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,n.jsx)(c,{resetErrorBoundary:()=>null,error:e})}},75629(e,t,r){"use strict";r.d(t,{v:()=>l});var n=r(30255),o=r(69148),a=r(9740),i=r(13675);let l=e=>{let{items:t}=e,r=(0,o.Zp)(),l=(0,o.zy)(),u=t.find(e=>(0,a.B6)(e.to,l.pathname));return(0,n.jsxs)(i.bL,{size:"1",value:null==u?void 0:u.to,onValueChange:r,children:[(0,n.jsx)(i.l9,{}),(0,n.jsx)(i.UC,{position:"popper",children:t.map(e=>{let{title:t,to:r}=e;return(0,n.jsx)(i.q7,{value:r,children:t},r)})})]})}},68069(e,t,r){"use strict";r.d(t,{r:()=>E,E:()=>A});var n=r(15271),o=r(59354),a=r(30255),i=r(8070),l=r(55499),u=r(73385);class s extends u.il{static use(){return l.RUNTIME_GLOBALS in window||(window[l.RUNTIME_GLOBALS]=new s),window[l.RUNTIME_GLOBALS]}}async function c(e){s.use();let t=e.map(e=>new Promise((t,r)=>{let n=document.createElement("script");n.onload=()=>t(),n.onerror=e=>r(e),n.src=e,document.head.appendChild(n)}));await Promise.all(t)}var d=r(20134),f=r(19512),h=r(19461),p=r.n(h),v=r(60824),m=r(83008),g=r(72522),y=r(67044),w=r(86891);let b=async()=>{let e=await l.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,u.FF)();return{remote:(0,f.L4)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,n._)({},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,l.reviver)())}catch(e){throw new _(e)}},j=async(e,t)=>{let r=new URL(e,location.href),a=new window.WebSocket(r),i=await l.WebSocketChannel.link(a),s=(0,u.FF)();return{remote:(0,f.L4)({async refresh(){location.reload()},async applyStateOperations(e){for(let r of e)(0,l.applyOperation)(t,r)}},(0,o._)((0,n._)({},i.handlers),{timeout:5e3})),hooks:s,url:r}},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 r of(await e.callHook("tab:list",t),t))"object"==typeof r.icon&&(r.icon=(0,w.KR)(r.icon)),"external"===r.view.type&&(r.view.component=(0,w.KR)(r.view.component));return t},k=async e=>{let t=new d.s,r=t.bindRemote(e.remote,"sendReactDevtoolsData");await e.remote.activateReactDevtools();let n=(0,v.createBridge)(window.parent,t);n.shutdown=()=>null;let o=(0,v.createStore)(n),a=(0,v.initialize)(window.parent,{bridge:n,store:o});return{store:o,bridge:n,wallAgent:t,unreg:r,Renderer:a}},E=(async e=>{var t;let r=(0,y.mA)((0,y.vx)(e).search),a=null!=(t=p().castArray(r.src)[0])?t:(0,y.Gc)(e,"manifest"),i=b(),l=x(a),u=l.then(e=>e.websocket?j(e.websocket,(0,w.BX)(e)):null),s=l.then(e=>c(e.context.def.plugins)).then(R),d=i.then(k),[f,h,v,m,g]=await Promise.all([i,l,u,s,d]);return(0,w.BX)((0,o._)((0,n._)({},h),{version:"2.69.4",tabs:m,server:v?(0,w.KR)(v):null,mountPoint:(0,w.KR)(f),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)},78850(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(9740);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,n.V2)("/404"):(0,n.V2)("/404")}},67931(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},69713(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>p});var n=r(30255),o=r(69148),a=r(10002),i=r(83843),l=r(13675),u=r(89637),s=r(19461),c=r.n(s);let d=e=>{let{name:t,describe:r}=e,o=r.map(e=>(0,n.jsx)(a.E,{style:{display:"block"},children:e},e));return(0,n.jsx)(i.m,{className:"tooltip-i9AhnB",side:"right",content:o,children:(0,n.jsx)(l.q7,{value:t,children:(0,n.jsx)(u.a,{children:c().startCase(t)})})},t)},f=[{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,n.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[r,a]=e.pathname.split("/").slice(2);return(0,n.jsxs)(l.bL,{size:"1",value:r,onValueChange:e=>{t("/config/".concat(e,"/").concat(a))},children:[(0,n.jsx)(l.l9,{children:r}),(0,n.jsx)(l.UC,{children:f.map(e=>{let{name:t,describe:r}=e;return(0,n.jsx)(d,{name:t,describe:r},t)})})]})},{})},{title:(0,n.jsx)(()=>{let e=(0,o.zy)(),t=(0,o.Zp)(),[r,a]=e.pathname.split("/").slice(2);return(0,n.jsxs)(l.bL,{size:"1",value:a,onValueChange:e=>{t("/config/".concat(r,"/").concat(e))},children:[(0,n.jsx)(l.l9,{children:a}),(0,n.jsx)(l.UC,{children:h.map(e=>{let{name:t,describe:r}=e;return(0,n.jsx)(d,{name:t,describe:r},t)})})]})},{})}]}},2255(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./builder/transformed");return(0,n.V2)(r)}},86246(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},20714(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>a});var n=r(30255),o=r(75629);let a={breadcrumb:[{title:"Context"},{title:(0,n.jsx)(o.v,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},75836(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./builder");return(0,n.V2)(r)}},10595(e,t,r){"use strict";r.d(t,{A:()=>m});var n=r(30255),o=r(31470),a=r(13836),i=r(89637),l=r(78107),u=r(83008),s=r(88929);let c=e=>{let{title:t,children:r}=e;return(0,n.jsxs)(a.s,{className:s.A.container,mt:"9",mx:"auto",gap:"2",children:[(0,n.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,n.jsx)(u.TMu,{size:"36"})}),(0,n.jsxs)(i.a,{children:[(0,n.jsx)(a.s,{height:"var(--space-9)",align:"center",children:(0,n.jsx)(l.D,{children:t})}),(0,n.jsx)(i.a,{className:s.A.children,children:r})]})]})};var d=r(68069),f=r(69148),h=r(85267),p=r(67044),v=r(63171);let m=()=>{let e=(0,f.r5)(),t=(0,d.E)(),{def:r}=(0,v.s)(t).context;if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,n.jsx)(o.k,{});{let e=(0,p.vx)(r.doctor.quickStart).host,t=(0,n.jsxs)(h.N,{href:r.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,n.jsx)(i.a,{width:"100%",children:(0,n.jsxs)(c,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},82764(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Doctor"}}},97898(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},20564(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>l});var n=r(68069),o=r(8070),a=r(19461),i=r.n(a);let l={breadcrumb(e){var t;let r,{pathname:a}=e.location,l=null==(t=a.match(/^\/external\/(\w+)/))?void 0:t[1],{tabs:u}=(0,o.Yx)(n.r),s=i().find(u,{name:l});return s?{title:r}=s:r=l?i().startCase(l):"External",{title:r,pathname:a}}}},20005(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},7887(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Header Modifier"}}},78462(e,t,r){"use strict";r.d(t,{w:()=>a});var n=r(9740),o=r(57900);let a=async()=>{let e=await o.AZ.service;return(0,n.V2)(e.rules?"./editor":"./welcome")}},57900(e,t,r){"use strict";r.d(t,{AZ:()=>s,DQ:()=>i,I:()=>l});var n=r(19461),o=r.n(n),a=r(86891);let i=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),r="".concat("/sw-proxy.js","?rules=").concat(t),n=await navigator.serviceWorker.register(r);return await navigator.serviceWorker.ready,s.service=await u(),n},l=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let r of e)t=t&&await r.unregister();return s.service=Promise.resolve({}),t},u=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:u()})},85062(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>a});var n=r(30255),o=r(83008);let a={breadcrumb:{title:(0,n.jsx)(o.oGk,{}),pathname:"/overview"}}},51526(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>X});var n=r(30255),o=r(15271),a=r(59354),i=r(69148),l=r(73116),u=r(13836),s=r(19461),c=r.n(s),d=r(92702),f=r(27773),h=r(10084),p=r(88918),v=r(32198),m=r(9740),g=r(91492),y=r(73271),w=r(37021);function b(e,t){return function(r){null==e||e(r),r.defaultPrevented||t(r)}}var _=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function x(){return(x=(0,h._)(function(e,t){var n,o;return(0,v.YH)(this,function(a){switch(a.label){case 0:if(!(n=e.id)||!t[n]||!(o=t[n].chunkIds))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===r.e||void 0===r.e?void 0:r.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 r=window.location,n=r.protocol,o=r.host,a=new URL(e,"".concat(n,"//").concat(o));return a.searchParams.append("__loader",t),a.searchParams.append("__ssrDirect","true"),a},R=function(e,t,r){var o,a=e.id;return o=j("/"===r?t:"".concat(r).concat(t),a).toString(),(0,n.jsx)("link",{rel:"prefetch",as:"fetch",href:o},o)},k=function(e){var t=e.path,r=t.pathname,o=(0,y.useContext)(w.V_),a=o.routeManifest,i=o.routes,l=(a||{}).routeAssets,u=Array.isArray(i)?(0,m.ue)(i,r):[];return(Array.isArray(u)&&l&&(null==u||u.forEach(function(e){return function(e,t){return x.apply(this,arguments)}(e.route,l)})),window._SSR_DATA)?(0,n.jsx)(E,{matches:u,path:t,routeManifest:a}):null},E=function(e){var t=e.matches,r=e.path,o=e.routeManifest,a=r.pathname,l=r.search,u=r.hash,s=(0,i.FE)(),c=(0,i.$P)("/"),d=(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 r,n=new URL(location.pathname+location.search+location.hash,window.origin),o=new URL(a+l+u,window.origin),i=e.route.shouldRevalidate({currentUrl:n,currentParams:(null==(r=s[0])?void 0:r.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,n.jsx)(n.Fragment,{children:d})},A=function(e){return y.forwardRef(function(t,a){var l,u,s,c,d,h,v,m,g,w,x,j,R,E,A=t.to,S=t.prefetch,C=(0,f._)(t,["to","prefetch"]),N="string"==typeof A&&_.test(A),P=(0,p._)((l=void 0===S?"none":S,s=(u=(0,p._)(y.useState(!1),2))[0],c=u[1],h=(d=(0,p._)(y.useState(!1),2))[0],v=d[1],m=C.onFocus,g=C.onBlur,w=C.onMouseEnter,x=C.onMouseLeave,j=C.onTouchStart,y.useEffect(function(){"render"===l&&v(!0)},[l]),R=function(){"intent"===l&&c(!0)},E=function(){"intent"===l&&(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,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e,(0,o._)({ref:a,to:A},C,L)),D&&r.e&&!N?(0,n.jsx)(k,{path:M}):null]})})},S=A(g.N_);S.displayName="Link";var C=A(g.k2);C.displayName="NavLink";var N=r(85267);let P=e=>{var{to:t,children:r}=e,i=(0,f._)(e,["to","children"]);return(0,n.jsx)(N.N,(0,a._)((0,o._)({},i),{asChild:!0,children:(0,n.jsx)(S,{to:t,children:r})}))},D=e=>{let{location:t,handle:r}=e;if(!c().isObject(r)&&c().isNil(r))return[];let{breadcrumb:n}=r,o=[];c().isFunction(n)?o.push(...c().castArray(n({location:t}))):o.push(...c().castArray(n));let a=[];for(let t of o){if(!c().isObject(t)||c().isNull(t)||!("title"in t))continue;let r={id:e.id,title:t.title,pathname:e.pathname};"pathname"in t&&c().isString(t.pathname)&&(r.pathname=t.pathname),a.push(r)}return a},L=e=>{let t=[],r=(0,i.FE)(),s=(0,i.zy)(),c=[];for(let e of r)c.push(...D((0,a._)((0,o._)({},e),{location:s})));for(let[e,r]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=[r.id,r.pathname,e];t.push((0,n.jsx)(P,{color:"gray",size:"2",to:r.pathname,children:r.title},o.join("_"))),r!==c.at(-1)&&(o.push("#connector"),t.push((0,n.jsx)(l.vKP,{className:d.A.connector},o.join("_"))))}return(0,n.jsx)(u.s,(0,a._)((0,o._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},e),{children:t}))};var M=r(68069);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=r(25177),I=r(63221);let H=e=>{var{children:t}=e,r=(0,f._)(e,["children"]);let[i]=(0,B.B)();return(0,y.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(i)},[i]),(0,n.jsx)(I.Sx,(0,a._)((0,o._)({},r),{appearance:i,children:t}))};var U=r(31346),q=r(83843),V=r(89637),F=r(83008),z=r(63171);let Y="tab-button-MtqLNp",$="tab-button-inner-KmlACp",J=e=>{let{tab:t}=e,r="";if("builtin"===t.view.type)r=t.view.src;else if("iframe"===t.view.type)r="/iframe/".concat(t.view.src);else if("external"===t.view.type)r="/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,n.jsx)(q.m,{content:t.title,side:"right",children:(0,n.jsx)(C,{to:r,className:Y,children:(0,n.jsx)(u.s,{justify:"center",align:"center",p:"1",className:$,children:(0,n.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,n.jsx)(q.m,{content:e?"Connected":"Disconnected",side:"right",children:(0,n.jsx)(V.a,{className:Y,children:(0,n.jsxs)(V.a,{p:"1",position:"relative",className:$,children:[(0,n.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,n.jsx)(F.BSJ,{})}),(0,n.jsx)(V.a,{className:"online-indicator-E9Pryr","data-active":!!e})]})})})},K=()=>{let[e,t]=(0,B.B)();return(0,n.jsx)(q.m,{content:"Appearance",side:"right",children:(0,n.jsx)(V.a,{className:Y,onClick:()=>{t("light"===e?"dark":"light")},children:(0,n.jsx)(u.s,{justify:"center",align:"center",p:"1",className:$,children:(0,n.jsx)(V.a,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===e?(0,n.jsx)(F.DJT,{}):(0,n.jsx)(F._Nv,{})})})})})},W=()=>{let{tabs:e}=(0,z.s)((0,M.E)());return(0,n.jsxs)(u.s,{direction:"column",flexShrink:"0",className:"navigator-O_AEE3",children:[e.map(e=>(0,n.jsx)(J,{tab:e},e.name)),(0,n.jsx)(V.a,{flexGrow:"1"}),(0,n.jsx)(G,{}),(0,n.jsx)(K,{})]})},X=()=>(0,n.jsx)(H,{className:"wrapper-YAIt0k",accentColor:"blue",panelBackground:"solid",children:(0,n.jsxs)(U.Kq,{swipeDirection:"up",children:[(0,n.jsx)(W,{}),(0,n.jsxs)(V.a,{width:"100%",position:"relative",pt:"4",children:[(0,n.jsx)(V.a,{width:"100%",height:"100%",position:"relative",children:(0,n.jsx)(i.sv,{})}),(0,n.jsx)(L,{className:"breadcrumbs-LVvAXj",height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,n.jsx)(T,{})]})})},42211(e,t,r){"use strict";r.d(t,{A:()=>l});var n=r(30255),o=r(64921),a=r(68069),i=r(7498);let l=()=>{let{mountPoint:e}=(0,a.E)();return(0,i.A)(async()=>{e.remote.onFinishRender()}),(0,n.jsx)(o.R,{className:"loading-gmTvLE"})}},86832(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},95040(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Overview"}}},56119(e,t,r){"use strict";r.d(t,{w:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./overview");return(0,n.V2)(r)}},26995(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},46957(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:{title:"Pages"}}},99334(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>a});var n=r(30255),o=r(75629);let a={breadcrumb:[{title:"React"},{title:(0,n.jsx)(o.v,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},12146(e,t,r){"use strict";r.d(t,{A:()=>n});let n=r(31470).k},29336(e,t,r){"use strict";r.d(t,{A:()=>a});var n=r(9740),o=r(67044);let a=e=>{let{request:t}=e,r=(0,o.Gc)(t.url,"./components");return(0,n.V2)(r)}},34277(e,t,r){"use strict";r.d(t,{w:()=>l});var n=r(68069),o=r(9740),a=r(19461),i=r.n(a);let l=async e=>{let{params:t}=e,{id:r}=t;if(!r)throw TypeError("storage preset id is required");let{context:a}=await n.r,{storagePresets:l}=await Promise.resolve(a),u=i().find(l,{id:r});return u||(0,o.V2)("/storage/preset")}},13138(e,t,r){"use strict";r.r(t),r.d(t,{handle:()=>n});let n={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},42768(e,t,r){"use strict";r.d(t,{X:()=>a,w:()=>o});var n=r(39319);let o=async e=>await (0,n.Ep)(),a=()=>null},35455(e,t,r){"use strict";r.d(t,{w:()=>o});var n=r(39319);let o=async e=>await (0,n.Ep)()},39319(e,t,r){"use strict";r.d(t,{Bf:()=>l,Ep:()=>c,Gq:()=>i,Z2:()=>u,ZB:()=>s});var n=r(68069),o=r(19461),a=r.n(o);let i=["cookie","localStorage","sessionStorage"],l={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},u=(e,t)=>a().map(e[t],(r,n)=>{let o=[e.id,t,n].join("//");return{key:n,value:r,type:t,id:o}}),s=e=>{let t=[];for(let r of i)t.push(...u(e,r));return t},c=async e=>{let{mountPoint:t}=await n.r,[r,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:r,localStorage:o,sessionStorage:a}}},8070(e,t,r){"use strict";r.d(t,{Yx:()=>o}),r(30255),r(73271),r(19461);let n=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(n.has(e)){let t=n.get(e);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;throw t}throw n.set(e,e),e.then(t=>n.set(e,t)).catch(t=>n.set(e,t)),e}},57609(e,t,r){"use strict";r.d(t,{XX:()=>b});var n=r(10084),o=r(78808),a=r(15271),i=r(59354),l=r(88918),u=r(32198),s=r(50016),c=r(46833),d=r(37021),f=r(29571),h=r(73271);function p(e,t){return h.createElement(d.V_.Provider,{value:t},e)}var v=r(30255),m=r(26800),g=r(98780),y=function(e){var t=e.callback,r=e.children,n=(0,h.useRef)(!1);return(0,h.useLayoutEffect)(function(){n.current||(n.current=!0,t())},[t]),r},w=function(){return!0};function b(e,t){return _.apply(this,arguments)}function _(){return(_=(0,n._)(function(e,t){var r,h,b,_,R,k,E,A,S,C;function N(){return(N=(0,n._)(function(e){return(0,u.YH)(this,function(t){return[2,function(e,t){return x.apply(this,arguments)}(e,C)]})})).apply(this,arguments)}function P(){return(P=(0,n._)(function(e,t){return(0,u.YH)(this,function(r){return[2,function(e,t){return j.apply(this,arguments)}(e,C,t)]})})).apply(this,arguments)}return(0,u.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(r=(0,d.Ky)(),j=(0,n._)(function(e){var t,r;return(0,u.YH)(this,function(n){switch(n.label){case 0:return(t=(0,c.gy)()).pluginAPI.updateRuntimeContext(e),[4,t.hooks.onBeforeRender.call(e)];case 1:return n.sent(),[2,null==(r=(0,c.t8)())?void 0:r(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 r=(0,l._)(t.split("="),2),n=r[0],o=r[1];return n&&(e[n]=o),e},{}),(null==T?void 0:T.query)||{}),url:location.href})})})).data)?void 0:_.loadersData)||{}).reduce(function(e,t){var r=E[t];return(null==r?void 0:r.loading)!==!1||(e[t]=r),e},{}),Object.assign(r,{loaderManager:(0,f.x)(A,{skipStatic:!0}),_internalRouterBaseName:e.props.basename,ssrContext:k.context}),r.initialData=null==(R=k.data)?void 0:R.initialData,[4,function(e){return j.apply(this,arguments)}(r)];case 1:if((S=x.sent())&&(r.initialData=S),C=t&&"string"!=typeof t?t:document.getElementById(t||"root"),window._SSR_DATA)return[2,(B=r,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,r))];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,n._)(function(e,t){var n;return(0,u.YH)(this,function(o){switch(o.label){case 0:return[4,r.e("783").then(r.t.bind(r,38987,19))];case 1:return(n=o.sent().createRoot(t)).render(e),[2,n]}})})).apply(this,arguments)}function j(){return(j=(0,n._)(function(e,t){return(0,u.YH)(this,function(n){switch(n.label){case 0:return[4,r.e("783").then(r.t.bind(r,38987,19))];case 1:return[2,n.sent().hydrateRoot(t,e)]}})})).apply(this,arguments)}},98780(e,t,r){"use strict";r.d(t,{Bw:()=>o,aQ:()=>i,rL:()=>a}),(n=o||(o={}))[n.CLIENT_RENDER=0]="CLIENT_RENDER",n[n.SERVER_PREFETCH=1]="SERVER_PREFETCH",n[n.SERVER_RENDER=2]="SERVER_RENDER";var n,o,a="__MODERN_SSR_DATA__",i="__MODERN_ROUTER_DATA__"},46833(e,t,r){"use strict";r.d(t,{A8:()=>s,J$:()=>o,Xj:()=>d,cG:()=>i,fn:()=>f,gy:()=>l,t8:()=>c,z_:()=>u,zm:()=>a});var n={};function o(){return n.isRscClient}function a(e){n.entryName=e.entryName,n.App=e.App,n.routes=e.routes,n.appInit=e.appInit,n.appConfig="function"==typeof e.appConfig?e.appConfig():e.appConfig,n.layoutApp=e.layoutApp,n.RSCRoot=e.RSCRoot,n.isRscClient=e.isRscClient,n.enableRsc=e.enableRsc}function i(e){n.internalRuntimeContext=e}function l(){return n.internalRuntimeContext}function u(){return n.App}function s(){return n.routes}function c(){var e,t;return n.appInit||(null==(e=u())?void 0:e.init)||(null==(t=f())?void 0:t.init)}function d(){var e,t;return n.appConfig||(null==(e=u())?void 0:e.config)||(null==(t=f())?void 0:t.config)}function f(){return n.layoutApp}},37021(e,t,r){"use strict";r.d(t,{Ky:()=>l,V_:()=>i});var n=r(18669),o=r(73271),a=r(29571),i=(0,o.createContext)({}),l=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[n.Ae]}}},29571(e,t,r){"use strict";r.d(t,{x:()=>p});var n,o,a=r(10084),i=r(78808),l=r(88918),u=r(93571),s=r(32198),c=r(60191),d=r.n(c),f=function(){var e=new Map;return function(t){var r=e.get(t);if(r)return r;var n=JSON.stringify(t);return d()(n,"params should be not null value"),e.set(t,n),n}};(n=o||(o={}))[n.idle=0]="idle",n[n.loading=1]="loading",n[n.fulfilled=2]="fulfilled",n[n.rejected=3]="rejected";var h=function(e){var t,r,n=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()},l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=0,d=n.data,f=n.error,h=!1,p=new Set,v=(t=(0,a._)(function(){return(0,s.YH)(this,function(e){return l||1===c?[2,r]:(c=1,g(),[2,r=o().then(function(e){d=e,f=null,c=2}).catch(function(e){f=e,d=null,c=3}).finally(function(){r=null,h=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!h&&1===c,reloading:h&&1===c,data:d,error:(0,i._)(f,Error)?"".concat(f.message):f,_error:f}},g=function(){(0,u._)(p).forEach(function(e){e(c,m())})};return{get result(){return m()},get promise(){return r},onChange:function(e){return p.add(e),function(){p.delete(e)}},load:v}},p=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.skipStatic,o=void 0!==n&&n,u=r.skipNonStatic,c=void 0!==u&&u,d=new Map,p=f();return{hasPendingLoaders:function(){var e=!0,t=!1,r=void 0;try{for(var n,o=d.values()[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var a=n.value.promise;if((0,i._)(a,Promise))return!0}}catch(e){t=!0,r=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw r}}return!1},awaitPendingLoaders:(t=(0,a._)(function(){var e,t,r,n,o,a,u,c,f,h;return(0,s.YH)(this,function(s){switch(s.label){case 0:e=[],t=!0,r=!1,n=void 0;try{for(o=d[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)c=(u=(0,l._)(a.value,2))[0],h=(f=u[1]).promise,(0,i._)(h,Promise)&&e.push([c,f])}catch(e){r=!0,n=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw n}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var r=(0,l._)(t,2),n=r[0],o=r[1];return e[n]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,r){var n=p(r.params),a=d.get(n),i=r._cache;if(!a||!1===i){var l=c&&!r.static,u=o&&r.static;a=h(n,void 0!==e[n]?e[n]:{data:r.initialData},t,l||u),d.set(n,a)}return n},get:function(e){return d.get(e)}}}},86995(e,t,r){"use strict";r.d(t,{F:()=>j,R:()=>R});var n,o,a,i,l,u,s,c=r(93571),d=r(17089),f=r(8084),h=r(15271),p=r(27773),v=r(59354),m=r(19723),g=(o=function(e){s.clear(),n=e;var t=e.plugins,r=e.handleSetupResult;s.addPlugins(t);var o=s.getPlugins(),a=(g=(f={runtimeContext:{},config:n.config,plugins:o}).runtimeContext,y=f.config,w=f.plugins,b={},w.forEach(function(e){var t=e.registryHooks,r=void 0===t?{}:t;Object.keys(r).forEach(function(e){b[e]=r[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,r=e.plugins,n=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,d.h)(t,e)}var l={};r.forEach(function(e){var t=e._registryApi;if(t){var r=t(a,i);Object.keys(r).forEach(function(e){l[e]=r[e]})}}),o&&Object.keys(o).forEach(function(e){l[e]=o[e].tap});var u=(0,h._)({updateRuntimeContext:i,getHooks:function(){return(0,h._)({},n,o)},getRuntimeConfig:function(){if(t.config)return t.config;throw Error("Cannot access config")},config:n.config.tap,onBeforeRender:n.onBeforeRender.tap,wrapRoot:n.wrapRoot.tap,pickContext:n.pickContext.tap},l);return"undefined"==typeof Proxy?u:new Proxy(u,{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 l=!0,u=!1,c=void 0;try{for(var f,g,y,w,b,_,x=o[Symbol.iterator]();!(l=(_=x.next()).done);l=!0){var j,R=_.value,k=null==(j=R.setup)?void 0:j.call(R,i);r&&r(k,i)}}catch(e){u=!0,c=e}finally{try{l||null==x.return||x.return()}finally{if(u)throw c}}return{runtimeContext:a}},a=new Map,i=new Map,l=function(e,t,r){i.has(t)||i.set(t,{pre:new Map,post:new Map}),"pre"===r?i.get(e).pre.set(t,{name:t,isUse:!1}):"post"===r?i.get(e).post.set(t,{name:t}):"use"!==r||i.get(e).post.has(t)||i.get(t).pre.has(e)||i.get(e).pre.set(t,{name:t,isUse:!0})},u=function(e){if(e){var t=e,r=void 0===t?"undefined":(0,f._)(t);if("object"!==r||null===t)throw Error("Expect CLI Plugin instance to be an object, but got ".concat(r,"."));if(t.setup&&"function"!=typeof t.setup)throw Error("Expect CLI Plugin plugin.setup to be a function, but got ".concat(r,"."));var n=e.name,o=e.usePlugins,s=e.pre,c=e.post;if(a.has(n))return void console.warn("Plugin ".concat(n," already exists."));a.set(n,e),i.set(n,{pre:new Map,post:new Map}),(void 0===s?[]:s).forEach(function(e){l(n,e,"pre")}),(void 0===c?[]:c).forEach(function(e){l(n,e,"post")}),(void 0===o?[]:o).forEach(function(e){a.has(e.name)||u(e),l(n,e.name,"use")})}},s={getPlugins:function(){var e=new Set,t=new Set,r=[],n=function(o){if(t.has(o))throw Error("Circular dependency detected: ".concat(o));if(!e.has(o)&&a.get(o)){t.add(o);var l=a.get(o).required;(void 0===l?[]:l).forEach(function(e){if(!a.get(e))throw Error("".concat(o," plugin required plugin ").concat(e,", but not found."))});var u=i.get(o).pre;Array.from(u.values()).filter(function(e){return!e.isUse}).forEach(function(e){return n(e.name)}),Array.from(u.values()).filter(function(e){return e.isUse}).forEach(function(e){return n(e.name)}),t.delete(o),e.add(o),r.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){n(t)}),r=r.filter(function(e){return e})},addPlugins:function(e){var t=!0,r=!1,n=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;u(i)}}catch(e){r=!0,n=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw n}}},clear:function(){a.clear(),i.clear()},isPluginExists:function(e){return a.has(e)}},{run:function(e){var t=o(e).runtimeContext,r=t.hooks.config.call().filter(function(e){return!!e});return t.config=d.h.apply(void 0,[{}].concat((0,c._)(r),[t.config||{}])),{runtimeContext:t}}}),y=r(10084),w=r(32198);function b(e,t){e&&Object.keys(e).forEach(function(r){var n=e[r];if("function"==typeof n){var o="beforeRender"===r?"onBeforeRender":r;t[o]&&("beforeRender"===r?t[o]((0,y._)(function(){var e,t,r,o=arguments;return(0,w.YH)(this,function(a){switch(a.label){case 0:for(t=Array(e=o.length),r=0;r<e;r++)t[r]=o[r];return[4,n.apply(void 0,(0,c._)(t))];case 1:return a.sent(),[2]}})})):t[o](function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.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=r(46833);function j(e,t){var r=(t||{}).plugins,n=g.run({plugins:[{name:"@modern-js/runtime-plugin-compat",_registryApi:function(e){return{useRuntimeConfigContext:function(){return e()._internalContext.config},useHookRunners:function(){var t,r;return t=e()._internalContext.hooks,{beforeRender:(r=(0,y._)(function(e){return(0,w.YH)(this,function(r){return[2,t.onBeforeRender.call(e)]})}),function(e){return r.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===r?[]:r)),config:t||{},handleSetupResult:b}).runtimeContext;return(0,x.cG)(n),n}function R(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return d.h.apply(void 0,[{},e].concat((0,c._)(r)))}},76329(e,t,r){"use strict";r.d(t,{H:()=>i});var n=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var r=t[t.length-1];if(r)try{return JSON.parse((null==r?void 0:r.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}},o=r(98780),a=r(46833);function i(e){var t=e||(0,a.z_)();return"undefined"!=typeof window&&"nodejs"!==window.name&&(window._SSR_DATA=window._SSR_DATA||n(o.rL),window._ROUTER_DATA=window._ROUTER_DATA||n(o.aQ)),(0,a.gy)().hooks.wrapRoot.call(t)}},22521(e,t,r){"use strict";r.d(t,{jY:()=>G});var n=r(15271),o=r(59354),a=r(93571),i=r(30255),l=r(17089),u=r(69148),s=r(91492);function c(e){return"/"+e.replace(/^\/+|\/+$/g,"")}var d=r(73271),f=r.t(d,2),h=r(37021),p=r(46833),v=r(19723),m=(0,v.Lt)(),g=(0,v.Lt)(),y=r(10084),w=r(88918),b=r(8084),_=r(32198),x=r(90819),j=r(9740);(0,y._)(function(e){var t;return(0,_.YH)(this,function(r){switch(r.label){case 0:var n;return n=(0,y._)(function(e){return(0,_.YH)(this,function(r){switch(r.label){case 0:var n;return[4,Promise.all(e.map((n=(0,y._)(function(e){return(0,_.YH)(this,function(r){switch(r.label){case 0:var n;if(!("lazyImport"in e&&(n=e.component)&&(void 0===n?"undefined":(0,b._)(n))==="object"&&void 0!==n._init&&void 0!==n._payload))return[3,2];return[4,e.lazyImport()];case 1:e.component=r.sent().default,r.label=2;case 2:if(!(e.children&&Array.isArray(e.children)))return[3,4];return[4,t(e.children)];case 3:r.sent(),r.label=4;case 4:return[2]}})}),function(e){return n.apply(this,arguments)})))];case 1:return r.sent(),[2]}})}),[4,(t=function(e){return n.apply(this,arguments)})(e)];case 1:return r.sent(),[2]}})});var R=function(e,t){if(!t||!Array.isArray(t))return e;var r=new Map,o=function(e){e.forEach(function(e){e.id&&r.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&&r.has(e.id)){var t=r.get(e.id),o=(0,n._)({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 r=!0,n=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done);r=!0){var l=a.value;if(l.id===t)return l;if(l.children&&Array.isArray(l.children)){var u=k(l.children,t);if(u)return u}}}catch(e){n=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw o}}return null},E=function(e,t){var r,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,n._)({},t),{children:e})]:[t]},[]),t),l=(0,s.Ys)(i,{hydrationData:e,basename:a,dataStrategy:(r=(0,y._)(function(e){var r,n,o,a,i,u,s,c,d;return(0,_.YH)(this,function(f){switch(f.label){case 0:var h;return r=e.request,n=e.matches,o={},a=n.filter(function(e){return e.route.hasClientLoader}),i=fetch(r.url,{headers:{"x-rsc-tree":"true"}}),u=a.length>0?Promise.all(a.map((h=(0,y._)(function(e){var r,n;return(0,_.YH)(this,function(o){switch(o.label){case 0:return r=k(t,e.route.id),e.route.loader=null==r?void 0:r.loader,[4,e.resolve()];case 1:return n=o.sent(),[2,{routeId:e.route.id,result:n}]}})}),function(e){return h.apply(this,arguments)}))):Promise.resolve([]),[4,i];case 1:if(c=(s=f.sent()).headers.get("X-Modernjs-Redirect"))return n.forEach(function(e){var t=e.route.id;t&&(o[t]={type:"redirect",result:(0,j.V2)(c)})}),[2,o];return[4,Promise.all([u])];case 2:return w._.apply(void 0,[f.sent(),1])[0].forEach(function(e){var t=e.routeId,r=e.result;o[t]=r}),[4,(0,x.createFromReadableStream)(s.body)];case 3:if(void 0===(d=f.sent()).type||"render"!==d.type)throw Error("Unexpected payload type");return n.forEach(function(e){var t,r=e.route.id,n=d.routes.find(function(e){return e.id===r});n&&l.patchRoutes(n.parentId,[n],!0),(null==(t=d.loaderData)?void 0:t[r])&&(o[r]={type:"data",result:d.loaderData[r]})}),[2,o]}})}),function(e){return r.apply(this,arguments)})});return l},A=r(27773),S=r(18669);function C(e){var t=.001*new Date().getTime(),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]}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 r(40148).getAsyncLocalStorage()}catch(e){return console.error("Failed to load server async storage",e),null}},M=r(17854),O=r(85212),T=r(94041),B=r(48433),I=r(87962),H=r(78808);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,r(29246)._)(Error)),V=function(e){var t,r,a,l,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e.children,f=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)?(r=(0,y._)(function(e){var r,n,o,i,l,u;return(0,_.YH)(this,function(s){switch(s.label){case 0:return"function"==typeof t.lazyImport&&t.lazyImport(),r=P(),[4,a(e)];case 1:n=s.sent();return o=r(),"undefined"==typeof document&&(null==(u=L())||null==(l=u.useContext().monitors)||l.timing("".concat(S.IV,"-").concat(null==(i=t.id)?void 0:i.replace(/\//g,"_")),o)),[2,n]}})}),function(e){return r.apply(this,arguments)}):function(){return"function"==typeof t.lazyImport&&t.lazyImport(),null},action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,n._)({},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;l=F(p)?(0,i.jsx)(p,{fallback:(0,i.jsx)(k,{})}):(0,i.jsx)(d.Suspense,{fallback:(0,i.jsx)(k,{}),children:(0,i.jsx)(p,{})})}else l=F(p)&&m?(0,i.jsx)(p,{}):v?(0,i.jsx)(p,(0,n._)({},void 0===j?{}:j)):m?(0,i.jsx)(d.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)(u.sv,{});l&&(R.element=l);var E=null==c?void 0:c.map(function(t){return V(t,{parent:e})});return f?(0,i.jsx)(u.qh,(0,o._)((0,n._)({},R),{index:!0}),h):(0,i.jsx)(u.qh,(0,o._)((0,n._)({},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,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=RegExp("".concat("/","{1,}"),"g");return(e=r.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 r={current:[]};t.onBeforeRender(function(t){if(window._SSR_DATA&&e.unstable_reloadOnURLMismatch){var n,o=t.ssrContext,a=c(window.location.pathname),i=(null==o||null==(n=o.request)?void 0:n.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:u.FE,useLocation:u.zy,useHref:u.$P},Object.defineProperty(t,"routes",{get:function(){return r.current},enumerable:!0})}),t.wrapRoot(function(c){var f=(0,l.h)(t.getRuntimeConfig().router||{},e),v=f.serverBase,m=void 0===v?[]:v,g=f.supportHtml5History,y=void 0===g||g,_=f.basename,x=void 0===_?"":_,R=f.routesConfig,k=f.createRoutes,S=f.future;if(!(J=(0,n._)({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 r=t.length>1&&t.endsWith("/")?t.slice(0,-1):t||"/",n=e||"/";return n===r||n.startsWith("".concat(r,"/"))}(e,t)})||"/"};return function(e){var l,f,v,m,g,_,R,N,P,D,L,M,O,T=(l=(0,o._)((0,n._)({},e),{rscPayload:null==e?void 0:e.rscPayload}),v=(f={api:t,createRoutes:k,supportHtml5History:y,selectBasePath:C,basename:x,future:S}).api,m=f.createRoutes,g=f.supportHtml5History,_=f.selectBasePath,R=f.basename,N=(0,d.useContext)(h.V_),D="/"===(P=_(location.pathname).replace(/^\/*/,"/"))?$(P,N._internalRouterBaseName||R):P,L=N.unstable_getBlockNavState,M=(null==l?void 0:l.rscPayload)?W(l.rscPayload):null,O=window._ROUTER_DATA||M,(0,d.useMemo)(function(){(null==O?void 0:O.errors)&&(O=(0,o._)((0,n._)({},O),{errors:function(e){if(!e)return null;var t=Object.entries(e),r={},n=!0,o=!1,a=void 0;try{for(var i,l=t[Symbol.iterator]();!(n=(i=l.next()).done);n=!0){var u=(0,w._)(i.value,2),s=u[0],c=u[1];if(c&&"RouteErrorResponse"===c.__type)r[s]=new j.VV(c.status,c.statusText,c.data,!0===c.internal);else if(c&&"Error"===c.__type){var d=Error(c.message);d.stack=c.stack,r[s]=d}else r[s]=c}}catch(e){o=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(O.errors)}));var e=(0,p.J$)(),t=null;(t=e?m?m():function(e){var t=e.routesConfig,r=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,l=t.globalApp;return a?function e(t,r){var o=r.globalApp,a=r.ssrMode,l=r.props,u=function(e){return o?function(t){return(0,i.jsx)(o,(0,n._)({Component:e},t))}:e},s=[],c=!0,f=!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,n._)({},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:l})[0]}):void 0};s.push(y)}else if("function"==typeof m.component||"object"===(0,b._)(m.component)){var w=u(m.component),_={path:m.path,element:d.createElement(w)};s.push(_)}}}catch(e){f=!0,h=e}finally{try{c||null==v.return||v.return()}finally{if(f)throw h}}return s.push({path:"*",element:(0,i.jsx)(z,{})}),s}(a,{globalApp:l,ssrMode:o,props:r}):null}({routesConfig:J}):m?m():(0,u.Eu)(function(e){var t=e.routesConfig,r=e.props,o=e.ssrMode;if(!t)return null;var a=t.routes,l=t.globalApp;return a?function(e,t){var r=t.globalApp,o=t.ssrMode,a=t.props,l=function(e){var t=e.Component,o=(0,A._)(e,["Component"]);return r?(0,i.jsx)(r,(0,n._)({Component:t},o)):(0,i.jsx)(t,(0,n._)({},o))},s=[],c=!0,d=!1,f=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)(u.qh,{path:v.path,element:(0,i.jsx)(l,{Component:v.component})},v.path);s.push(g)}}}catch(e){d=!0,f=e}finally{try{c||null==p.return||p.return()}finally{if(d)throw f}}return s.push((0,i.jsx)(u.qh,{path:"*",element:(0,i.jsx)(z,{})},"*")),s}(a,{globalApp:l,ssrMode:o,props:r}):null}({routesConfig:J,props:l})))||(t=[]);var r=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 f=r.modifyRoutes.call(t),h=g?(0,s.Ys)(f,{basename:D,hydrationData:O}):(0,s.Ge)(f,{basename:D,hydrationData:O}),y=h.subscribe;return h.subscribe=function(e){return y(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!(L&&L()))return e.apply(void 0,(0,a._)(r))})},{router:h,routes:f}},[J,l,D,O,L])),B=T.router;r.current=T.routes;var I=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)(I,{})}):(0,i.jsx)(I,{})}})}}},K=function(){return null},W=function(e){var t=f&&f.use;return"function"==typeof t?t(e):null}},24645(e,t,r){"use strict";r.d(t,{eM:()=>a,qF:()=>i,rl:()=>o});var n=r(18669),o=function(e){return function(t){var r,o,a=null==(o=window)||null==(r=o[n.Ql])?void 0:r[e];return a&&"function"==typeof a.shouldRevalidate?a.shouldRevalidate(t):t.defaultShouldRevalidate}},a=function(e,t){return"undefined"!=typeof document&&(window[n.Ql][t]=e),e},i=function(e){return console.error(e),null}},19723(e,t,r){"use strict";r.d(t,{Lt:()=>l,Ve:()=>i,po:()=>u});var n=r(10084),o=r(93571),a=r(32198);function i(){var e,t=[];return{tap:function(e){t.push(e)},call:(e=(0,n._)(function(){var e,r,n,i,l,u,s,c,d,f,h,p,v,m,g=arguments;return(0,a.YH)(this,function(a){switch(a.label){case 0:for(r=Array(e=g.length),n=0;n<e;n++)r[n]=g[n];i=!1,u=function(e){i=!0,l=e},s=!0,c=!1,d=void 0,a.label=1;case 1:a.trys.push([1,6,7,8]),f=t[Symbol.iterator](),a.label=2;case 2:if((s=(h=f.next()).done)||(p=h.value,i))return[3,5];return[4,p.apply(void 0,(0,o._)(r).concat([u]))];case 3:void 0!==(v=a.sent())&&(r[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,d=m,[3,8];case 7:try{s||null==f.return||f.return()}finally{if(c)throw d}return[7];case 8:return[2,i?l:r[0]||[]]}})}),function(){return e.apply(this,arguments)})}}function l(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=!0,i=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=u.value.apply(void 0,(0,o._)(r));void 0!==c&&(r[0]=c)}}catch(e){i=!0,l=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw l}}return r[0]}}}function u(){var e=[];return{tap:function(t){e.push(t)},call:function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=[],a=!0,i=!1,l=void 0;try{for(var u,s=e[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=(0,u.value)(r);void 0!==c&&o.push(c)}}catch(e){i=!0,l=e}finally{try{a||null==s.return||s.return()}finally{if(i)throw l}}return o}}}},17089(e,t,r){"use strict";r.d(t,{h:()=>function e(t){for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];if(!a.length)return t;var u=a.shift();if(i(t)&&i(u))for(var s in u)i(u[s])?(t[s]||Object.assign(t,(0,n._)({},s,{})),e(t[s],u[s])):Object.assign(t,(0,n._)({},s,u[s]));return e.apply(void 0,[t].concat((0,o._)(a)))}});var n=r(48433),o=r(93571),a=r(8084);function i(e){return e&&(void 0===e?"undefined":(0,a._)(e))==="object"&&!Array.isArray(e)}},90228(e,t,r){"use strict";var n=r(40626),o={stream:!0},a=Object.prototype.hasOwnProperty,i=new Map;function l(e){var t=r(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 s(e){for(var t=e[1],n=[],o=0;o<t.length;){var a=t[o++],s=t[o++],c=i.get(a);void 0===c?(d.set(a,s),s=r.e(a),n.push(s),c=i.set.bind(i,a,null),s.then(c,u),i.set(a,s)):null!==c&&n.push(c)}return 4===e.length?0===n.length?l(e[0]):Promise.all(n).then(function(){return l(e[0])}):0<n.length?Promise.all(n):null}function c(e){var t=r(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:a.call(t,e[2])?t[e[2]]:void 0}var d=new Map,f=r.u;r.u=function(e){var t=d.get(e);return void 0!==t?t:f(e)};var h=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,p=Symbol.for("react.transitional.element"),v=Symbol.for("react.lazy"),m=Symbol.asyncIterator,g=new WeakMap;function y(e,t,r,n){this.status=e,this.value=t,this.reason=r,this._response=n}function w(e){switch(e.status){case"resolved_model":C(e);break;case"resolved_module":N(e)}switch(e.status){case"fulfilled":return e.value;case"pending":case"blocked":throw e;default:throw e.reason}}function b(e){return new y("pending",null,null,e)}function _(e,t){for(var r=0;r<e.length;r++)(0,e[r])(t)}function x(e,t,r){switch(e.status){case"fulfilled":_(t,e.value);break;case"pending":case"blocked":if(e.value)for(var n=0;n<t.length;n++)e.value.push(t[n]);else e.value=t;if(e.reason){if(r)for(t=0;t<r.length;t++)e.reason.push(r[t])}else e.reason=r;break;case"rejected":r&&_(r,e.reason)}}function j(e,t){if("pending"!==e.status&&"blocked"!==e.status)e.reason.error(t);else{var r=e.reason;e.status="rejected",e.reason=t,null!==r&&_(r,t)}}function R(e,t,r){return new y("resolved_model",(r?'{"done":true,"value":':'{"done":false,"value":')+t+"}",null,e)}function k(e,t,r){E(e,(r?'{"done":true,"value":':'{"done":false,"value":')+t+"}")}function E(e,t){if("pending"!==e.status)e.reason.enqueueModel(t);else{var r=e.value,n=e.reason;e.status="resolved_model",e.value=t,null!==r&&(C(e),x(e,r,n))}}function A(e,t){if("pending"===e.status||"blocked"===e.status){var r=e.value,n=e.reason;e.status="resolved_module",e.value=t,null!==r&&(N(e),x(e,r,n))}}y.prototype=Object.create(Promise.prototype),y.prototype.then=function(e,t){switch(this.status){case"resolved_model":C(this);break;case"resolved_module":N(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 S=null;function C(e){var t=S;S=null;var r=e.value;e.status="blocked",e.value=null,e.reason=null;try{var n=JSON.parse(r,e._response._fromJSON),o=e.value;if(null!==o&&(e.value=null,e.reason=null,_(o,n)),null!==S){if(S.errored)throw S.value;if(0<S.deps){S.value=n,S.chunk=e;return}}e.status="fulfilled",e.value=n}catch(t){e.status="rejected",e.reason=t}finally{S=t}}function N(e){try{var t=c(e.value);e.status="fulfilled",e.value=t}catch(t){e.status="rejected",e.reason=t}}function P(e,t){e._chunks.forEach(function(e){"pending"===e.status&&j(e,t)})}function D(e){return{$$typeof:v,_payload:e,_init:w}}function L(e,t){var r=e._chunks,n=r.get(t);return n||(n=b(e),r.set(t,n)),n}function M(e,t,r,n,o,a){function i(e){if(!l.errored){l.errored=!0,l.value=e;var t=l.chunk;null!==t&&"blocked"===t.status&&j(t,e)}}if(S){var l=S;l.deps++}else l=S={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function e(u){for(var s=1;s<a.length;s++){for(;u.$$typeof===v;)if((u=u._payload)===l.chunk)u=l.value;else if("fulfilled"===u.status)u=u.value;else{a.splice(0,s-1),u.then(e,i);return}u=u[a[s]]}s=o(n,u,t,r),t[r]=s,""===r&&null===l.value&&(l.value=s),t[0]===p&&"object"==typeof l.value&&null!==l.value&&l.value.$$typeof===p&&(u=l.value,"3"===r)&&(u.props=s),l.deps--,0===l.deps&&null!==(s=l.chunk)&&"blocked"===s.status&&(u=s.value,s.status="fulfilled",s.value=l.value,null!==u&&_(u,l.value))},i),null}function O(e,t,r,n){if(!e._serverReferenceConfig)return function(e,t){function r(){var e=Array.prototype.slice.call(arguments);return a?"fulfilled"===a.status?t(o,a.value.concat(e)):Promise.resolve(a).then(function(r){return t(o,r.concat(e))}):t(o,e)}var n,o=e.id,a=e.bound;return n={id:o,bound:a},g.set(r,n),r}(t,e._callServer);var o=function(e,t){var r="",n=e[t];if(n)r=n.name;else{var o=t.lastIndexOf("#");if(-1!==o&&(r=t.slice(o+1),n=e[t.slice(0,o)]),!n)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 n.async?[n.id,n.chunks,r,1]:[n.id,n.chunks,r]}(e._serverReferenceConfig,t.id);if(e=s(o))t.bound&&(e=Promise.all([e,t.bound]));else{if(!t.bound)return c(o);e=Promise.resolve(t.bound)}if(S){var a=S;a.deps++}else a=S={parent:null,chunk:null,value:null,deps:1,errored:!1};return e.then(function(){var e=c(o);if(t.bound){var i=t.bound.value.slice(0);i.unshift(null),e=e.bind.apply(e,i)}r[n]=e,""===n&&null===a.value&&(a.value=e),r[0]===p&&"object"==typeof a.value&&null!==a.value&&a.value.$$typeof===p&&(i=a.value,"3"===n)&&(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&&_(i,a.value))},function(e){if(!a.errored){a.errored=!0,a.value=e;var t=a.chunk;null!==t&&"blocked"===t.status&&j(t,e)}}),null}function T(e,t,r,n,o){var a=parseInt((t=t.split(":"))[0],16);switch((a=L(e,a)).status){case"resolved_model":C(a);break;case"resolved_module":N(a)}switch(a.status){case"fulfilled":var i=a.value;for(a=1;a<t.length;a++){for(;i.$$typeof===v;)if("fulfilled"!==(i=i._payload).status)return M(i,r,n,e,o,t.slice(a-1));else i=i.value;i=i[t[a]]}return o(e,i,r,n);case"pending":case"blocked":return M(a,r,n,e,o,t);default:return S?(S.errored=!0,S.value=a.reason):S={parent:null,chunk:null,value:a.reason,deps:0,errored:!0},null}}function B(e,t){return new Map(t)}function I(e,t){return new Set(t)}function H(e,t){return new Blob(t.slice(1),{type:t[0]})}function U(e,t){e=new FormData;for(var r=0;r<t.length;r++)e.append(t[r][0],t[r][1]);return e}function q(e,t){return t[Symbol.iterator]()}function V(e,t){return t}function F(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.')}function z(e,t,r,n,o,a,i){var l,u=new Map;this._bundlerConfig=e,this._serverReferenceConfig=t,this._moduleLoading=r,this._callServer=void 0!==n?n:F,this._encodeFormAction=o,this._nonce=a,this._chunks=u,this._stringDecoder=new TextDecoder,this._fromJSON=null,this._rowLength=this._rowTag=this._rowID=this._rowState=0,this._buffer=[],this._tempRefs=i,this._fromJSON=(l=this,function(e,t){if("string"==typeof t){var r=l,n=this,o=e,a=t;if("$"===a[0]){if("$"===a)return null!==S&&"0"===o&&(S={parent:S,chunk:null,value:null,deps:0,errored:!1}),p;switch(a[1]){case"$":return a.slice(1);case"L":return D(r=L(r,n=parseInt(a.slice(2),16)));case"@":if(2===a.length)return new Promise(function(){});return L(r,n=parseInt(a.slice(2),16));case"S":return Symbol.for(a.slice(2));case"F":return T(r,a=a.slice(2),n,o,O);case"T":if(n="$"+a.slice(2),null==(r=r._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 r.get(n);case"Q":return T(r,a=a.slice(2),n,o,B);case"W":return T(r,a=a.slice(2),n,o,I);case"B":return T(r,a=a.slice(2),n,o,H);case"K":return T(r,a=a.slice(2),n,o,U);case"Z":return W();case"i":return T(r,a=a.slice(2),n,o,q);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 T(r,a=a.slice(1),n,o,V)}}return a}if("object"==typeof t&&null!==t){if(t[0]===p){if(e={$$typeof:p,type:t[1],key:t[2],ref:null,props:t[3]},null!==S){if(S=(t=S).parent,t.errored)e=D(e=new y("rejected",null,t.value,l));else if(0<t.deps){var i=new y("blocked",null,null,l);t.value=e,t.chunk=i,e=D(i)}}}else e=t;return e}return t})}function Y(e,t,r){var n=e._chunks,o=n.get(t);o&&"pending"!==o.status?o.reason.enqueueValue(r):n.set(t,new y("fulfilled",r,null,e))}function $(e,t,r,n){var o=e._chunks,a=o.get(t);a?"pending"===a.status&&(e=a.value,a.status="fulfilled",a.value=r,a.reason=n,null!==e&&_(e,a.value)):o.set(t,new y("fulfilled",r,n,e))}function J(e,t,r){var n=null;r=new ReadableStream({type:r,start:function(e){n=e}});var o=null;$(e,t,r,{enqueueValue:function(e){null===o?n.enqueue(e):o.then(function(){n.enqueue(e)})},enqueueModel:function(t){if(null===o){var r=new y("resolved_model",t,null,e);C(r),"fulfilled"===r.status?n.enqueue(r.value):(r.then(function(e){return n.enqueue(e)},function(e){return n.error(e)}),o=r)}else{r=o;var a=b(e);a.then(function(e){return n.enqueue(e)},function(e){return n.error(e)}),o=a,r.then(function(){o===a&&(o=null),E(a,t)})}},close:function(){if(null===o)n.close();else{var e=o;o=null,e.then(function(){return n.close()})}},error:function(e){if(null===o)n.error(e);else{var t=o;o=null,t.then(function(){return n.error(e)})}}})}function G(){return this}function K(e,t,r){var n=[],o=!1,a=0,i={};i[m]=function(){var t,r=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(r===n.length){if(o)return new y("fulfilled",{done:!0,value:void 0},null,e);n[r]=b(e)}return n[r++]}})[m]=G,t},$(e,t,r?i[m]():i,{enqueueValue:function(t){if(a===n.length)n[a]=new y("fulfilled",{done:!1,value:t},null,e);else{var r=n[a],o=r.value,i=r.reason;r.status="fulfilled",r.value={done:!1,value:t},null!==o&&x(r,o,i)}a++},enqueueModel:function(t){a===n.length?n[a]=R(e,t,!1):k(n[a],t,!1),a++},close:function(t){for(o=!0,a===n.length?n[a]=R(e,t,!0):k(n[a],t,!0),a++;a<n.length;)k(n[a++],'"$undefined"',!0)},error:function(t){for(o=!0,a===n.length&&(n[a]=b(e));a<n.length;)j(n[a++],t)}})}function W(){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 X(e,t){for(var r=e.length,n=t.length,o=0;o<r;o++)n+=e[o].byteLength;n=new Uint8Array(n);for(var a=o=0;a<r;a++){var i=e[a];n.set(i,o),o+=i.byteLength}return n.set(t,o),n}function Z(e,t,r,n,o,a){Y(e,t,o=new o((r=0===r.length&&0==n.byteOffset%a?n:X(r,n)).buffer,r.byteOffset,r.byteLength/a))}t.createFromReadableStream=function(e,t){var r;return function(e,t){function r(t){P(e,t)}var n=t.getReader();n.read().then(function t(a){var i=a.value;if(a.done)P(e,Error("Connection closed."));else{var l=0,u=e._rowState;a=e._rowID;for(var c=e._rowTag,d=e._rowLength,f=e._buffer,p=i.length;l<p;){var v=-1;switch(u){case 0:58===(v=i[l++])?u=1:a=a<<4|(96<v?v-87:v-48);continue;case 1:84===(u=i[l])||65===u||79===u||111===u||85===u||83===u||115===u||76===u||108===u||71===u||103===u||77===u||109===u||86===u?(c=u,u=2,l++):64<u&&91>u||35===u||114===u||120===u?(c=u,u=3,l++):(c=0,u=3);continue;case 2:44===(v=i[l++])?u=4:d=d<<4|(96<v?v-87:v-48);continue;case 3:v=i.indexOf(10,l);break;case 4:(v=l+d)>i.length&&(v=-1)}var m=i.byteOffset+l;if(-1<v)(function(e,t,r,n,a){switch(r){case 65:Y(e,t,X(n,a).buffer);return;case 79:Z(e,t,n,a,Int8Array,1);return;case 111:Y(e,t,0===n.length?a:X(n,a));return;case 85:Z(e,t,n,a,Uint8ClampedArray,1);return;case 83:Z(e,t,n,a,Int16Array,2);return;case 115:Z(e,t,n,a,Uint16Array,2);return;case 76:Z(e,t,n,a,Int32Array,4);return;case 108:Z(e,t,n,a,Uint32Array,4);return;case 71:Z(e,t,n,a,Float32Array,4);return;case 103:Z(e,t,n,a,Float64Array,8);return;case 77:Z(e,t,n,a,BigInt64Array,8);return;case 109:Z(e,t,n,a,BigUint64Array,8);return;case 86:Z(e,t,n,a,DataView,1);return}for(var i=e._stringDecoder,l="",u=0;u<n.length;u++)l+=i.decode(n[u],o);switch(n=l+=i.decode(a),r){case 73:var c=e,d=t,f=n,p=c._chunks,v=p.get(d);f=JSON.parse(f,c._fromJSON);var m=function(e,t){if(e){var r=e[t[0]];if(e=r&&r[t[2]])r=e.name;else{if(!(e=r&&r["*"]))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.');r=t[2]}return 4===t.length?[e.id,e.chunks,r,1]:[e.id,e.chunks,r]}return t}(c._bundlerConfig,f);if(f=s(m)){if(v){var g=v;g.status="blocked"}else g=new y("blocked",null,null,c),p.set(d,g);f.then(function(){return A(g,m)},function(e){return j(g,e)})}else v?A(v,m):p.set(d,new y("resolved_module",m,null,c));break;case 72:switch(t=n[0],e=JSON.parse(n=n.slice(1),e._fromJSON),n=h.d,t){case"D":n.D(e);break;case"C":"string"==typeof e?n.C(e):n.C(e[0],e[1]);break;case"L":t=e[0],r=e[1],3===e.length?n.L(t,r,e[2]):n.L(t,r);break;case"m":"string"==typeof e?n.m(e):n.m(e[0],e[1]);break;case"X":"string"==typeof e?n.X(e):n.X(e[0],e[1]);break;case"S":"string"==typeof e?n.S(e):n.S(e[0],0===e[1]?void 0:e[1],3===e.length?e[2]:void 0);break;case"M":"string"==typeof e?n.M(e):n.M(e[0],e[1])}break;case 69:r=JSON.parse(n),(n=W()).digest=r.digest,(a=(r=e._chunks).get(t))?j(a,n):r.set(t,new y("rejected",null,n,e));break;case 84:(a=(r=e._chunks).get(t))&&"pending"!==a.status?a.reason.enqueueValue(n):r.set(t,new y("fulfilled",n,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:J(e,t,void 0);break;case 114:J(e,t,"bytes");break;case 88:K(e,t,!1);break;case 120:K(e,t,!0);break;case 67:(e=e._chunks.get(t))&&"fulfilled"===e.status&&e.reason.close(""===n?'"$undefined"':n);break;default:(a=(r=e._chunks).get(t))?E(a,n):r.set(t,new y("resolved_model",n,null,e))}})(e,a,c,f,d=new Uint8Array(i.buffer,m,v-l)),l=v,3===u&&l++,d=a=c=u=0,f.length=0;else{i=new Uint8Array(i.buffer,m,i.byteLength-l),f.push(i),d-=i.byteLength;break}}return e._rowState=u,e._rowID=a,e._rowTag=c,e._rowLength=d,n.read().then(t).catch(r)}}).catch(r)}(t=new z(null,null,null,(r=t)&&r.callServer?r.callServer:void 0,void 0,void 0,r&&r.temporaryReferences?r.temporaryReferences:void 0),e),L(t,0)}},90819(e,t,r){"use strict";e.exports=r(90228)},18669(e,t,r){"use strict";r.d(t,{Ae:()=>n,IV:()=>a,Ql:()=>o});var n="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",a="server-loader"}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["321","422","458","493","535","783","792"],function(){return t(93125),t(97781),t(65037),t(50054),t(39325)}),e.O()}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["792"],{92702(n,e,t){t.d(e,{A:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},62735(n,e,t){t.d(e,{A:()=>o});let o={card:"card-If0911"}},74757(n,e,t){t.d(e,{A:()=>o});let o={container:"container-WHe0d3"}},49478(n,e,t){t.d(e,{A:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},30835(n,e,t){t.d(e,{A:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},88929(n,e,t){t.d(e,{A:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},39852(n,e,t){t.d(e,{A:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},7853(n,e,t){t.d(e,{A:()=>o});let o={container:"container-COzu4H"}},87960(n,e,t){t.d(e,{A:()=>o});let o={container:"container-SkRv4t"}},54400(n,e,t){t.d(e,{A:()=>o});let o={container:"container-e3dQes"}},26059(n,e,t){t.d(e,{A:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},33296(n,e,t){t.d(e,{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"}},5016(n,e,t){t.d(e,{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"}},57660(n,e,t){t.d(e,{A:()=>o});let o={stats:"stats-cb58Fz"}},99865(n,e,t){t.d(e,{A:()=>o});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["491"],{99240(e,t,o){var n=o(30255),l=o(15271),r=o(59354),s=o(20134),i=o(55499),a=o(19512),c=o(73385),d=o(19461),u=o.n(d),m=o(48630),h=o.n(m),v=o(30198),p=o(86891);let y=i.MessagePortChannel.wait(window,"channel:connect:client"),f=new s.s,g=(0,v.createBridge)(window,f),w=y.then(e=>{let t=(0,c.FF)();return{remote:(0,a.L4)({async activateReactDevtools(){(0,v.activate)(window,{bridge:g})},async onFinishRender(){await t.callHook("onFinishRender")},async cookies(e){let t=await fetch("/__devtools/api/cookies",{method:"POST",body:JSON.stringify({setCookies:e})}),{cookies:n}=await t.json();if(!n||"object"!=typeof n)throw TypeError("No cookies returned from server");let{parse:l}=await o.e("852").then(o.bind(o,23343)),r=l(document.cookie),s=u().omit(n,Object.keys(r));return{client:r,server:s}},localStorage:async e=>(u().each(e,(e,t)=>{window.localStorage.setItem(t,e)}),(0,l._)({},window.localStorage)),sessionStorage:async e=>(u().each(e,(e,t)=>{window.sessionStorage.setItem(t,e)}),(0,l._)({},window.sessionStorage))},(0,r._)((0,l._)({},e.handlers),{timeout:500})),hooks:t}}),k=(0,p.BX)({loaded:!1}),b=h()();w.then(e=>{let{remote:t,hooks:o}=e;f.bindRemote(t,"sendReactDevtoolsData"),o.hook("onFinishRender",async()=>{k.loaded=!0,b.resolve()})});var _=o(38987),j=o(73271),x=o(62729);let C=e=>{let[t,...o]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),n=o.findIndex(e=>{var o,n,l;let{key:r}=e;return o=t.key,null!=(l=null==(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[o])?void 0:n.includes(r))&&l}),[l]=o.splice(n,1);return[t,l,o[0],o[1]]},A=(e,t)=>new Promise((o,n)=>{let l=!0,r=setTimeout(()=>{l=!1,n(Error("Promise Timeout"))},t);e.then(e=>{l&&o(e),clearTimeout(r)}),e.catch(n)});var E=o(25177),S=o(63221),N=o(13836),R=o(83008),D=o(57773),P=o(95329);let T=e=>{var t;let o=null==(t=e.keepAlive)||t,{when:l}=e,r=(0,j.useRef)(!1);return l&&(r.current=!0),e.load||(o?r.current:l)?(0,n.jsx)("div",{style:{display:!o||l?"unset":"none"},children:e.children}):null};var B=o(64279),L=o(16658);let X=e=>{var t;let[o,l]=(0,B.A)(()=>Promise.resolve(e.onClick()),[]);return(0,n.jsx)("button",{className:L.A.container,onClick:l,"data-type":null!=(t=e.type)?t:"default",disabled:o.loading,children:e.children})};var Y=o(85295),H=o(27773),I=o(89637),O=o(63171),F=o(64921),U=o(35044);let W=e=>{var{src:t,onClose:o}=e,s=(0,H._)(e,["src","onClose"]);let{loaded:i}=(0,O.s)(k);return(0,n.jsxs)(I.a,(0,r._)((0,l._)({className:U.A.container},s),{children:[(0,n.jsx)("iframe",{className:U.A.frame,src:t}),(0,n.jsx)(R.y1J,{className:U.A.closeButton,onClick:o}),(0,n.jsx)("div",{className:U.A.backdrop,style:{display:i?"none":void 0},children:(0,n.jsx)(F.R,{})})]}))},K=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:o}=t,n=null==(e=o.match(/^#\/__devtools(.*)/))?void 0:e[1];return"string"!=typeof n?null:""===n?"/":n},M=e=>{let t=K(),[o,s]=(0,D.A)(!!t),[i,a]=(0,j.useState)(!1),c=(e=>{var t;let o=null!=(t=null==e?void 0:e.margin)?t:"10px",n="number"==typeof o?"".concat(o,"px"):o,[l,r]=(0,j.useState)(),s=()=>{if(!l)return;l.moveable=!1;let{el:e}=l,[t]=C((e=>{let{top:t,left:o,height:n,width:l}=e.getBoundingClientRect();return{top:t,left:o,bottom:window.innerHeight-t-n,right:window.innerWidth-o-l}})(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{r(void 0),e.style[t.key]=n}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},i=t=>{let o="touches"in t?t.touches[0]:t;if(!(null==l?void 0:l.moveable))return;let{startX:r,startY:s}=l;(r-o.clientX)**2+(s-o.clientY)**2>9&&(l.clickable=!1);let{width:i,height:a}=l.el.getBoundingClientRect(),c=o.clientY-l.offsetY,d=o.clientX-l.offsetX,u=C({top:c,left:d,bottom:window.innerHeight-c-a,right:window.innerWidth-d-i}).map(e=>{let{key:t,value:o}=e;return{key:t,value:"".concat(o,"px")}});if(null==e?void 0:e.clamp)for(let e of u){let t=["top","bottom"].includes(e.key)?window.innerHeight-a:window.innerWidth-i;e.value="clamp(".concat(n,", ").concat(e.value,", ").concat(t,"px)")}let[m,h,...v]=u,{style:p}=l.el;p.transition="",p[m.key]=m.value,p[h.key]=h.value,p[v[0].key]="auto",p[v[1].key]="auto"};(0,x.A)("blur",s),(0,x.A)("mouseup",s),(0,x.A)("touchend",s),(0,x.A)("mousemove",i),(0,x.A)("touchmove",i);let a=e=>{let t="touches"in e?e.touches[0]:e,o=e.currentTarget,n=o.getBoundingClientRect();r({el:o,clickable:!0,moveable:!0,offsetX:t.clientX-n.left,offsetY:t.clientY-n.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!l,props:{onMouseDown:a,onTouchStart:a,onClickCapture:e=>{(null==l?void 0:l.clickable)||e.stopPropagation()}}}})({clamp:!0}),[d]=(0,E.B)();(0,x.A)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&s()}),(0,j.useEffect)(()=>{f.hook("receive",e=>{"startInspectingNative"===e.event&&(s(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(s(!0),document.documentElement.style.removeProperty("cursor"))};return f.hook("send",e),()=>{f.removeHook("send",e)}},[]);let u=async()=>{document.documentElement.style.setProperty("cursor","wait"),s(!1),a(!0);try{(await A(w,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,P.A)(async()=>{t&&(await A(w,1e4)).remote.pullUp(t)},[]),(0,n.jsxs)(S.Sx,{appearance:d,className:d,hasBackground:!1,style:{height:0,width:0,minHeight:0,minWidth:0},children:[(0,n.jsx)(T,{when:o,keepAlive:!0,load:i,children:(0,n.jsx)("div",{className:Y.A.container,children:(0,n.jsx)(W,{src:e.src,onClose:()=>s(!1),style:{pointerEvents:c.isDragging?"none":"auto"}})})}),(0,n.jsxs)(N.s,(0,r._)((0,l._)({className:Y.A.fab},c.props),{align:"center",children:[(0,n.jsx)(X,{type:"primary",onClick:s,children:(0,n.jsx)("img",{className:Y.A.logo,src:e.logo})}),(0,n.jsx)(X,{onClick:u,children:(0,n.jsx)(R.SbD,{})})]}))]})},J=()=>{let e=window.__modern_js_devtools_manifest;if(!e)throw TypeError("Devtools manifest is not found");let t=e.client;if(!t)throw TypeError("Devtools client source is not found");let o=e.source,l=new URL(t,location.href);if(o){let e=new URL(o,location.href);l.searchParams.set("src",e.href)}return(0,n.jsx)(M,{logo:e.context.def.assets.logo,src:l.href})},q=()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),o=document.getElementById("_modern_js_devtools_styles");if(!(o instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(o.content);let l=document.createElement("div");l.classList.add("_modern_js_devtools_mountpoint","theme-register","container-bYVevn"),t.appendChild(l),(0,_.createRoot)(l).render((0,n.jsx)(J,{}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",q):q()}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["422","493","594","648","783","792"],function(){return t(93125),t(84226),t(38942),t(50054),t(99240)}),e.O()}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["491"],{99240(e,t,o){var n=o(30255),l=o(15271),r=o(59354),s=o(20134),i=o(55499),a=o(19512),c=o(73385),d=o(19461),u=o.n(d),m=o(48630),h=o.n(m),v=o(30198),p=o(86891);let y=i.MessagePortChannel.wait(window,"channel:connect:client"),f=new s.s,g=(0,v.createBridge)(window,f),w=y.then(e=>{let t=(0,c.FF)();return{remote:(0,a.L4)({async activateReactDevtools(){(0,v.activate)(window,{bridge:g})},async onFinishRender(){await t.callHook("onFinishRender")},async cookies(e){let t=await fetch("/__devtools/api/cookies",{method:"POST",body:JSON.stringify({setCookies:e})}),{cookies:n}=await t.json();if(!n||"object"!=typeof n)throw TypeError("No cookies returned from server");let{parse:l}=await o.e("852").then(o.bind(o,23343)),r=l(document.cookie),s=u().omit(n,Object.keys(r));return{client:r,server:s}},localStorage:async e=>(u().each(e,(e,t)=>{window.localStorage.setItem(t,e)}),(0,l._)({},window.localStorage)),sessionStorage:async e=>(u().each(e,(e,t)=>{window.sessionStorage.setItem(t,e)}),(0,l._)({},window.sessionStorage))},(0,r._)((0,l._)({},e.handlers),{timeout:500})),hooks:t}}),k=(0,p.BX)({loaded:!1}),b=h()();w.then(e=>{let{remote:t,hooks:o}=e;f.bindRemote(t,"sendReactDevtoolsData"),o.hook("onFinishRender",async()=>{k.loaded=!0,b.resolve()})});var _=o(38987),j=o(73271),x=o(62729);let C=e=>{let[t,...o]=[{key:"top",value:e.top},{key:"bottom",value:e.bottom},{key:"left",value:e.left},{key:"right",value:e.right}].sort((e,t)=>e.value-t.value),n=o.findIndex(e=>{var o,n,l;let{key:r}=e;return o=t.key,null!=(l=null==(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[o])?void 0:n.includes(r))&&l}),[l]=o.splice(n,1);return[t,l,o[0],o[1]]},A=(e,t)=>new Promise((o,n)=>{let l=!0,r=setTimeout(()=>{l=!1,n(Error("Promise Timeout"))},t);e.then(e=>{l&&o(e),clearTimeout(r)}),e.catch(n)});var E=o(25177),S=o(63221),N=o(13836),R=o(83008),D=o(57773),P=o(95329);let T=e=>{var t;let o=null==(t=e.keepAlive)||t,{when:l}=e,r=(0,j.useRef)(!1);return l&&(r.current=!0),e.load||(o?r.current:l)?(0,n.jsx)("div",{style:{display:!o||l?"unset":"none"},children:e.children}):null};var B=o(64279),L=o(74757);let X=e=>{var t;let[o,l]=(0,B.A)(()=>Promise.resolve(e.onClick()),[]);return(0,n.jsx)("button",{className:L.A.container,onClick:l,"data-type":null!=(t=e.type)?t:"default",disabled:o.loading,children:e.children})};var Y=o(49478),H=o(27773),I=o(89637),O=o(63171),F=o(64921),U=o(30835);let W=e=>{var{src:t,onClose:o}=e,s=(0,H._)(e,["src","onClose"]);let{loaded:i}=(0,O.s)(k);return(0,n.jsxs)(I.a,(0,r._)((0,l._)({className:U.A.container},s),{children:[(0,n.jsx)("iframe",{className:U.A.frame,src:t}),(0,n.jsx)(R.y1J,{className:U.A.closeButton,onClick:o}),(0,n.jsx)("div",{className:U.A.backdrop,style:{display:i?"none":void 0},children:(0,n.jsx)(F.R,{})})]}))},K=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:o}=t,n=null==(e=o.match(/^#\/__devtools(.*)/))?void 0:e[1];return"string"!=typeof n?null:""===n?"/":n},M=e=>{let t=K(),[o,s]=(0,D.A)(!!t),[i,a]=(0,j.useState)(!1),c=(e=>{var t;let o=null!=(t=null==e?void 0:e.margin)?t:"10px",n="number"==typeof o?"".concat(o,"px"):o,[l,r]=(0,j.useState)(),s=()=>{if(!l)return;l.moveable=!1;let{el:e}=l,[t]=C((e=>{let{top:t,left:o,height:n,width:l}=e.getBoundingClientRect();return{top:t,left:o,bottom:window.innerHeight-t-n,right:window.innerWidth-o-l}})(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{r(void 0),e.style[t.key]=n}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},i=t=>{let o="touches"in t?t.touches[0]:t;if(!(null==l?void 0:l.moveable))return;let{startX:r,startY:s}=l;(r-o.clientX)**2+(s-o.clientY)**2>9&&(l.clickable=!1);let{width:i,height:a}=l.el.getBoundingClientRect(),c=o.clientY-l.offsetY,d=o.clientX-l.offsetX,u=C({top:c,left:d,bottom:window.innerHeight-c-a,right:window.innerWidth-d-i}).map(e=>{let{key:t,value:o}=e;return{key:t,value:"".concat(o,"px")}});if(null==e?void 0:e.clamp)for(let e of u){let t=["top","bottom"].includes(e.key)?window.innerHeight-a:window.innerWidth-i;e.value="clamp(".concat(n,", ").concat(e.value,", ").concat(t,"px)")}let[m,h,...v]=u,{style:p}=l.el;p.transition="",p[m.key]=m.value,p[h.key]=h.value,p[v[0].key]="auto",p[v[1].key]="auto"};(0,x.A)("blur",s),(0,x.A)("mouseup",s),(0,x.A)("touchend",s),(0,x.A)("mousemove",i),(0,x.A)("touchmove",i);let a=e=>{let t="touches"in e?e.touches[0]:e,o=e.currentTarget,n=o.getBoundingClientRect();r({el:o,clickable:!0,moveable:!0,offsetX:t.clientX-n.left,offsetY:t.clientY-n.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!l,props:{onMouseDown:a,onTouchStart:a,onClickCapture:e=>{(null==l?void 0:l.clickable)||e.stopPropagation()}}}})({clamp:!0}),[d]=(0,E.B)();(0,x.A)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&s()}),(0,j.useEffect)(()=>{f.hook("receive",e=>{"startInspectingNative"===e.event&&(s(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(s(!0),document.documentElement.style.removeProperty("cursor"))};return f.hook("send",e),()=>{f.removeHook("send",e)}},[]);let u=async()=>{document.documentElement.style.setProperty("cursor","wait"),s(!1),a(!0);try{(await A(w,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,P.A)(async()=>{t&&(await A(w,1e4)).remote.pullUp(t)},[]),(0,n.jsxs)(S.Sx,{appearance:d,className:d,hasBackground:!1,style:{height:0,width:0,minHeight:0,minWidth:0},children:[(0,n.jsx)(T,{when:o,keepAlive:!0,load:i,children:(0,n.jsx)("div",{className:Y.A.container,children:(0,n.jsx)(W,{src:e.src,onClose:()=>s(!1),style:{pointerEvents:c.isDragging?"none":"auto"}})})}),(0,n.jsxs)(N.s,(0,r._)((0,l._)({className:Y.A.fab},c.props),{align:"center",children:[(0,n.jsx)(X,{type:"primary",onClick:s,children:(0,n.jsx)("img",{className:Y.A.logo,src:e.logo})}),(0,n.jsx)(X,{onClick:u,children:(0,n.jsx)(R.SbD,{})})]}))]})},J=()=>{let e=window.__modern_js_devtools_manifest;if(!e)throw TypeError("Devtools manifest is not found");let t=e.client;if(!t)throw TypeError("Devtools client source is not found");let o=e.source,l=new URL(t,location.href);if(o){let e=new URL(o,location.href);l.searchParams.set("src",e.href)}return(0,n.jsx)(M,{logo:e.context.def.assets.logo,src:l.href})},q=()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),o=document.getElementById("_modern_js_devtools_styles");if(!(o instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(o.content);let l=document.createElement("div");l.classList.add("_modern_js_devtools_mountpoint","theme-register","container-bYVevn"),t.appendChild(l),(0,_.createRoot)(l).render((0,n.jsx)(J,{}))};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",q):q()}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["422","458","493","648","783","792"],function(){return t(93125),t(97781),t(65037),t(50054),t(99240)}),e.O()}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/devtools-client",
3
- "version": "2.69.2",
3
+ "version": "2.69.4",
4
4
  "engines": {
5
5
  "node": ">=14.0.0"
6
6
  },
@@ -23,7 +23,7 @@
23
23
  "@radix-ui/react-tabs": "^1.1.12",
24
24
  "@radix-ui/react-toast": "^1.2.14",
25
25
  "@radix-ui/themes": "^3.2.1",
26
- "@rsbuild/core": "1.6.12",
26
+ "@rsbuild/core": "1.6.14",
27
27
  "@types/jest": "^29",
28
28
  "@types/lodash": "^4.14.202",
29
29
  "@types/node": "~16.11.7",
@@ -57,14 +57,14 @@
57
57
  "typescript": "~5.0.4",
58
58
  "ufo": "^1.3.0",
59
59
  "valtio": "^1.11.1",
60
- "@modern-js/app-tools": "2.69.2",
61
- "@modern-js/devtools-kit": "2.69.2",
62
- "@modern-js/plugin-proxy": "2.69.2",
63
- "@modern-js/tsconfig": "2.69.2",
64
- "@modern-js/runtime": "2.69.2",
65
- "@scripts/jest-config": "2.66.0",
66
- "@modern-js/types": "2.69.2",
67
- "@modern-js/utils": "2.69.2"
60
+ "@modern-js/app-tools": "2.69.4",
61
+ "@modern-js/runtime": "2.69.4",
62
+ "@modern-js/devtools-kit": "2.69.4",
63
+ "@modern-js/plugin-proxy": "2.69.4",
64
+ "@modern-js/types": "2.69.4",
65
+ "@modern-js/tsconfig": "2.69.4",
66
+ "@modern-js/utils": "2.69.4",
67
+ "@scripts/jest-config": "2.66.0"
68
68
  },
69
69
  "dependencies": {
70
70
  "cookie-es": "^1.0.0"
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["422"],{64921(e,t,r){r.d(t,{R:()=>a});var M=r(15271),o=r(59354),s=r(30255),n=r(55129);let i=e=>(0,s.jsx)("svg",(0,o._)((0,M._)({xmlns:"http://www.w3.org/2000/svg",className:n.A.loading,width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:(0,s.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeDasharray:"56.548667764616276",strokeDashoffset:"14.137166941154069"})}));var j=r(89637),c=r(85398);let a=e=>(0,s.jsx)(j.a,(0,o._)((0,M._)({className:c.A.container},e),{children:(0,s.jsx)(i,{})}))},20134(e,t,r){r.d(t,{s:()=>o});var M=r(73385);class o extends M.il{listen(e){return this.hook("receive",e),e}send(e,t,r){this.callHook("send",{event:e,payload:t,transferable:r})}bindRemote(e,t){var r=this;let M=function(e){for(var t=arguments.length,M=Array(t>1?t-1:0),o=1;o<t;o++)M[o-1]=arguments[o];r.callHook("receive",e,...M)};e.$functions[t]=M;let o=function(r){for(var M=arguments.length,o=Array(M>1?M-1:0),s=1;s<M;s++)o[s-1]=arguments[s];e[t](r,...o)};return this.hook("send",o),()=>{e.$functions[t]===M&&delete e.$functions[t],this.removeHook("send",o)}}constructor(){super(),this.status="close";const e=e=>{this.status!==e&&(this.status=e,this.callHook(e))};this.hook("send",t=>{"shutdown"===t.event&&e("close")}),this.hook("receive",t=>{"shutdown"===t.event?e("close"):"operations"===t.event?e("active"):e("open")})}}},25177(e,t,r){r.d(t,{B:()=>j});var M=r(73271);let o="__modern_js_devtools_appearance",s=[],n=e=>(s.push(e),()=>s.splice(s.indexOf(e),1));window.addEventListener("storage",e=>{e.key===o&&s.forEach(e=>e())});let i=()=>{var e;return"light"===(e=localStorage.getItem(o))||"dark"===e?e:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"},j=()=>[(0,M.useSyncExternalStore)(n,i),e=>{let t="function"==typeof e?e(i()):e;localStorage.setItem(o,t),s.forEach(e=>e())}]},44296(e,t,r){let M,o,s;var n=Object.create,i=Object.defineProperty,j=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,a=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,u=(e,t,r,M)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of c(t))N.call(e,o)||o===r||i(e,o,{get:()=>t[o],enumerable:!(M=j(t,o))||M.enumerable});return e},D={},g={MessagePortChannel:()=>T,MessagePortTimeout:()=>p,WebSocketChannel:()=>z};for(var y in g)i(D,y,{get:g[y],enumerable:!0});e.exports=u(i({},"__esModule",{value:!0}),D);var l=(s=null!=(M=r(82864))?n(a(M)):{},u(!o&&M&&M.__esModule?s:i(s,"default",{value:M,enumerable:!0}),M)),O=r(84178),I=r(7995);class z{static link(e){return new Promise((t,r)=>{let M=new z(e);e.readyState===e.OPEN?t(M):(e.addEventListener("open",()=>t(M),{once:!0}),e.addEventListener("error",r,{once:!0}),e.addEventListener("close",r,{once:!0}),setTimeout(r,1e3))})}get handlers(){return{on:this.on.bind(this),post:this.post.bind(this),deserialize:this.deserialize.bind(this),serialize:this.serialize.bind(this)}}post(e){for(var t=arguments.length,r=Array(t>1?t-1:0),M=1;M<t;M++)r[M-1]=arguments[M];if(r.length)throw Error("Unexpected extra parameters.");this.ws.send(e)}on(e){this.ws.onmessage=e}serialize(e){return l.stringify([e],(0,I.replacer)())}deserialize(e){return l.parse(e.data.toString(),(0,I.reviver)())[0]}constructor(e){this.ws=e,Object.assign(this,{on:this.on.bind(this),post:this.post.bind(this),deserialize:this.deserialize.bind(this),serialize:this.serialize.bind(this)})}}class p extends Error{constructor(){super("Connection to target message channel port timed out")}}class T{static link(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"channel:connect";return new Promise((r,M)=>{let o=(0,O.nanoid)(),{port1:s,port2:n}=new MessageChannel,i=e=>{e.data.tag!==t||"accepted"!==e.data.type||e.data.id===o&&(n.removeEventListener("message",i),r(new T(n)))};n.addEventListener("messageerror",M,{once:!0}),n.addEventListener("message",i),n.start(),e.postMessage({tag:t,type:"request",id:o},"*",[s])})}static wait(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"channel:connect";return new Promise((r,M)=>{let o=async s=>{let{data:n}=s;if(!n||"object"!=typeof n||n.tag!==t||"request"!==n.type)return;e.removeEventListener("message",o);let i=s.ports[0];i?(i.postMessage({type:"accepted",id:n.id,tag:t}),r(new T(i))):M(Error("Missing message channel port from remote."))};e.addEventListener("message",o)})}get handlers(){return{on:this.on.bind(this),post:this.post.bind(this)}}post(e){for(var t=arguments.length,r=Array(t>1?t-1:0),M=1;M<t;M++)r[M-1]=arguments[M];if(r.length)throw Error("Unexpected extra parameters.");this.port.postMessage(e)}on(e){this.port.addEventListener("message",t=>e(t.data))}constructor(e){this.port=e,this.port.start(),Object.assign(this,{on:this.on.bind(this),post:this.post.bind(this)})}}},89116(e,t,r){let M,o,s;var n=Object.create,i=Object.defineProperty,j=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,a=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,u=(e,t,r,M)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of c(t))N.call(e,o)||o===r||i(e,o,{get:()=>t[o],enumerable:!(M=j(t,o))||M.enumerable});return e},D={},g={AnnouncementDefinition:()=>p,AssetDefinition:()=>z,ClientDefinition:()=>f,DoctorDefinition:()=>T,NameDefinition:()=>O,PackageDefinition:()=>I};for(var y in g)i(D,y,{get:g[y],enumerable:!0});e.exports=u(i({},"__esModule",{value:!0}),D);var l=(s=null!=(M=r(13284))?n(a(M)):{},u(!o&&M&&M.__esModule?s:i(s,"default",{value:M,enumerable:!0}),M));class O{constructor(){this.formalName="Modern.js",this.casualName="modern.js",this.prefixName="_modern_js",this.shortName="modern"}}class I{constructor(){this.appTools="@modern-js/app-tools"}}class z{constructor(){this.logo=l.default}}class p{constructor(){this.src="https://raw.githubusercontent.com/web-infra-dev/modern.js/main/ANNOUNCEMENT.md",this.fallback="https://modernjs.dev/"}}class T{constructor(){this.home="https://rsdoctor.rs",this.quickStart="https://rsdoctor.rs/guide/start/quick-start"}}class f{constructor(){this.name=new O,this.packages=new I,this.assets=new z,this.doctor=new T,this.announcement=new p,this.plugins=[]}}},48566(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},n={ROUTE_BASENAME:()=>j};for(var i in n)t(s,i,{get:n[i],enumerable:!0});e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),s);let j="/__devtools"},13284(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},n={default:()=>j};for(var i in n)t(s,i,{get:n[i],enumerable:!0});e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),s);var j="data:image/svg+xml;base64,".concat("PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCA0NSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzEzOjUxNDkpIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguODIwNzcgMjAuMjg2OUM3Ljg0NzU5IDE3LjE1NzEgNy45NjgyNiAxMy43ODk0IDkuMTYyOTggMTAuNzM3M0MxMC4zNTc3IDcuNjg1MjggMTIuNTU1NCA1LjEzMDU3IDE1LjM5NDYgMy40OTMyQzE4LjIzMzkgMS44NTU4MyAyMS41NDU4IDEuMjMzMjYgMjQuNzg1OCAxLjcyNzg1QzI4LjAyNTkgMi4yMjI0NSAzMS4wMDEyIDMuODA0NzYgMzMuMjIyNyA2LjIxNDY1QzMyLjY2MTggNi40OTAxMSAzMi4wODY5IDYuNzc2NTQgMzEuNDk4MSA3LjA3Mzk1QzI5LjUzNjggNS4xMTc5MSAyNi45ODU1IDMuODYyODcgMjQuMjM5MSAzLjUwMzFDMjEuNDkyNiAzLjE0MzM0IDE4LjcwNDEgMy42OTg5IDE2LjMwNTIgNS4wODM4MUMxMy45MDYzIDYuNDY4NzIgMTIuMDMwOSA4LjYwNTczIDEwLjk2OTEgMTEuMTY0MUM5LjkwNzI1IDEzLjcyMjQgOS43MTgzNiAxNi41NTk0IDEwLjQzMTYgMTkuMjM2QzkuODc4NjkgMTkuNTg5MyA5LjM0MTc0IDE5LjkzOTYgOC44MjA3NyAyMC4yODY5Wk00My4wMDAxIDMuOTU1NTJDNDIuOTE4NyAzLjkzMzYyIDQyLjgzMTkgMy45NDQ5NyA0Mi43NTg4IDMuOTg3MDVINDIuNzY3OEMzOC41ODAyIDUuODE5NjIgMzQuNDU1NyA3Ljc4NjE5IDMwLjQwMDUgOS44ODMxOEwyMi41MTU4IDYuMzQ2MzlDMjIuMzY2NyA2LjI4MDc2IDIyLjIwNDMgNi4yNTA5MSAyMi4wNDE2IDYuMjU5MjNDMjEuODc4OCA2LjI2NzU1IDIxLjcyMDMgNi4zMTM4IDIxLjU3ODcgNi4zOTQzQzIxLjQzNzkgNi40NzUxNyAyMS4zMTgyIDYuNTg4MDYgMjEuMjI5MyA2LjcyMzgzQzIxLjE0MDMgNi44NTk2IDIxLjA4NDYgNy4wMTQ0MyAyMS4wNjY3IDcuMTc1NzVMMjAuMzA5MiAxMy45ODQzTDE2LjUzNjYgMTIuMzgyNUMxNi4zOTA4IDEyLjMyMDIgMTYuMjMyNSAxMi4yOTI0IDE2LjA3NDIgMTIuMzAxM0MxNS45MTU5IDEyLjMxMDIgMTUuNzYxOCAxMi4zNTU1IDE1LjYyMzggMTIuNDMzOEMxNS40ODU5IDEyLjUxMiAxNS4zNjc5IDEyLjYyMSAxNS4yNzkgMTIuNzUyNEMxNS4xOTAxIDEyLjg4MzcgMTUuMTMyOCAxMy4wMzM4IDE1LjExMTQgMTMuMTkwOUwxNC4yODQzIDE5LjEzNTdDMTAuMTQzMiAyMS43NjEzIDYuMDkxOCAyNC41MzE5IDIuMTM3ODkgMjcuNDQyOEMyLjA3MTk1IDI3LjQ4ODUgMi4wMjU1NyAyNy41NTczIDIuMDA3ODggMjcuNjM1NUMxLjk5MDIgMjcuNzEzOCAyLjAwMjUgMjcuNzk1OCAyLjA0MjM5IDI3Ljg2NTRDMi4wODIyNyAyNy45MzUgMi4xNDY4MiAyNy45ODcxIDIuMjIzMjcgMjguMDExNEMyLjI5OTcyIDI4LjAzNTcgMi4zODI1MiAyOC4wMzA1IDIuNDU1MjggMjcuOTk2N0M5LjYyNTI1IDI0LjgzODMgMTYuNjIxNCAyMS4yOTkyIDIzLjQxNCAxNy4zOTQ2QzMwLjE5MjggMTMuNDYzIDM2Ljc1NjMgOS4xNzEzNSA0My4wNzYyIDQuNTM3OTdDNDMuMTQ5MyA0LjQ5NTg4IDQzLjIwMjYgNC40MjY1IDQzLjIyNDUgNC4zNDUwOEM0My4yNDY0IDQuMjYzNjYgNDMuMjM1IDQuMTc2ODcgNDMuMTkyOSA0LjEwMzgyQzQzLjE1MDkgNC4wMzA3NiA0My4wODE1IDMuOTc3NDIgNDMuMDAwMSAzLjk1NTUyWk0xNi4yOTM5IDE3Ljg3NzJDMTcuNDU4OCAxNy4xNTY3IDE4LjYzMDcgMTYuNDQ3NiAxOS44MDkzIDE1Ljc1TDE2Ljc3MzEgMTQuNDYwNEwxNi4yOTM5IDE3Ljg3NzJaTTIyLjA5MjEgMTQuNDE3OUMyNC4xNTc2IDEzLjIyOTkgMjYuMjQzMSAxMi4wNzY3IDI4LjM0NzkgMTAuOTU4OUwyMi43NTU0IDguNDUxMjRMMjIuMDkyMSAxNC40MTc5Wk0zMy4wNzc5IDIyLjk2MTRDMzQuNDU4IDIwLjg5MjggMzUuMTk0OSAxOC40NjIxIDM1LjE5NTggMTUuOTc1NEMzNS4xOTY0IDE0Ljg5MiAzNS4wNTY1IDEzLjgxMzEgMzQuNzc5NiAxMi43NjU3QzM1LjMzMjUgMTIuNDAyNSAzNS44Njk0IDEyLjA0NzIgMzYuMzkwNCAxMS42OTk4QzM3LjM1NDcgMTQuODI2NSAzNy4yMjg1IDE4LjE4NzkgMzYuMDMyNiAyMS4yMzM1QzM0LjgzNjcgMjQuMjc5MSAzMi42NDIgMjYuODI4MiAyOS44MDc5IDI4LjQ2MzRDMjYuOTczOCAzMC4wOTg2IDIzLjY2ODUgMzAuNzIyOCAyMC40MzMzIDMwLjIzMzlDMTcuMTk4IDI5Ljc0NDkgMTQuMjI0OCAyOC4xNzE3IDEyLjAwMDUgMjUuNzcyMUMxMi41NTM0IDI1LjQ5NjYgMTMuMTI5MyAyNS4yMTAyIDEzLjcyODEgMjQuOTEyOEMxNS40OTM0IDI2LjY2NDEgMTcuNzM3NSAyNy44NTM4IDIwLjE3NzggMjguMzMxOUMyMi42MTggMjguODEgMjUuMTQ1MiAyOC41NTUyIDI3LjQ0MDggMjcuNTk5NEMyOS43MzY1IDI2LjY0MzcgMzEuNjk3OSAyNS4wMjk5IDMzLjA3NzkgMjIuOTYxNFpNNDEuOTEgMjQuMzU3NkM0Mi4xNTMxIDIzLjk5MzcgNDIuMjgyOSAyMy41NjU5IDQyLjI4MjkgMjMuMTI4M0M0Mi4yODI5IDIyLjU0MTUgNDIuMDQ5NyAyMS45Nzg3IDQxLjYzNDggMjEuNTYzN0M0MS4yMTk4IDIxLjE0ODggNDAuNjU3MSAyMC45MTU3IDQwLjA3MDIgMjAuOTE1N0MzOS42MzI2IDIwLjkxNTcgMzkuMjA0OCAyMS4wNDU0IDM4Ljg0MSAyMS4yODg2QzM4LjQ3NzEgMjEuNTMxNyAzOC4xOTM1IDIxLjg3NzMgMzguMDI2IDIyLjI4MTZDMzcuODU4NSAyMi42ODU5IDM3LjgxNDcgMjMuMTMwOCAzNy45MDAxIDIzLjU2QzM3Ljk4NTUgMjMuOTg5MiAzOC4xOTYyIDI0LjM4MzQgMzguNTA1NiAyNC42OTI5QzM4LjgxNTEgMjUuMDAyMyAzOS4yMDk0IDI1LjIxMzEgMzkuNjM4NiAyNS4yOTg0QzQwLjA2NzggMjUuMzgzOCA0MC41MTI3IDI1LjM0IDQwLjkxNyAyNS4xNzI1QzQxLjMyMTMgMjUuMDA1IDQxLjY2NjggMjQuNzIxNCA0MS45MSAyNC4zNTc2Wk02Ljk4NTM4IDcuODM3NDNDNi45ODUzOCA4LjA1NDg5IDYuOTIwODQgOC4yNjc0NSA2Ljc5OTk3IDguNDQ4MjJDNi42NzkwOSA4LjYyODk5IDYuNTA3MzMgOC43Njk4MyA2LjMwNjM3IDguODUyOTFDNi4xMDU0MSA4LjkzNTk5IDUuODg0MzEgOC45NTc1OCA1LjY3MTA4IDguOTE0OTNDNS40NTc4NCA4Ljg3MjI5IDUuMjYyMDMgOC43NjczNCA1LjEwODQ4IDguNjEzMzdDNC45NTQ5MiA4LjQ1OTM5IDQuODUwNTEgOC4yNjMzMSA0LjgwODQ1IDguMDQ5OTZDNC43NjYzOSA3LjgzNjYyIDQuNzg4NiA3LjYxNTU4IDQuODcyMjIgNy40MTQ4NUM0Ljk1NTg1IDcuMjE0MTIgNS4wOTcxNSA3LjA0MjcyIDUuMjc4MjUgNi45MjIzNEM1LjQ1OTM0IDYuODAxOTYgNS42NzIwNyA2LjczODAxIDUuODg5NTMgNi43Mzg2QzYuMDMzNjkgNi43Mzg2IDYuMTc2NDQgNi43NjcwNCA2LjMwOTU5IDYuODIyM0M2LjQ0Mjc0IDYuODc3NTYgNi41NjM2NyA2Ljk1ODU1IDYuNjY1NDYgNy4wNjA2M0M2Ljc2NzI2IDcuMTYyNyA2Ljg0NzkyIDcuMjgzODYgNi45MDI4MSA3LjQxNzE1QzYuOTU3NzEgNy41NTA0NSA2Ljk4NTc3IDcuNjkzMjcgNi45ODUzOCA3LjgzNzQzWiIgZmlsbD0iIzRFQ0FGRiIvPjwvZz48L3N2Zz4=")},85665(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty;e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),{})},70994(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},n={PromiseStub:()=>N,applySettled:()=>D,isPromiseLike:()=>j,traversePromises:()=>u,withResolvers:()=>g};for(var i in n)t(s,i,{get:n[i],enumerable:!0});e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),s);let j=e=>null!==e&&"object"==typeof e&&"function"==typeof e.then,c=new WeakMap,a=new WeakMap;class N{static create(){let e=new N;return e.promise=new Promise((t,r)=>{e.resolve=t,e.reject=r}),c.set(e.promise,e.resolve),a.set(e.promise,e.reject),e}static get(e){let t=c.get(e),r=a.get(e);if(!t||!r)throw Error("Invalid promise");let M=new N;return M.promise=e,M.resolve=t,M.reject=r,M}then(e,t){return this.promise.then(e,t)}catch(e){return this.promise.catch(e)}constructor(){}}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=new Set,M=new WeakSet,o=(e,t)=>{if(null!==e){if("object"==typeof e)if(M.has(e))return;else M.add(e);if(j(e))r.add([e,t]);else if("object"==typeof e)for(let[r,M]of Object.entries(e))o(M,[...t,r])}};return o(e,t),Array.from(r.values())},D=e=>{let t={};return e.then(e=>{t.resolved=e}),"catch"in e&&"function"==typeof e.catch&&e.catch(e=>{t.rejected=e}),new Promise(async(e,r)=>{await Promise.resolve(),"rejected"in t?r(t.rejected):"resolved"in t&&e(t.resolved)})},g=()=>{let e={};return e.promise=new Promise((t,r)=>{e.resolve=t,e.reject=r}),e}},77962(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},n={RUNTIME_GLOBALS:()=>j,getRuntimeGlobals:()=>c};for(var i in n)t(s,i,{get:n[i],enumerable:!0});e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),s);let j="__modern_js_global",c=()=>{let e=window[j];if(!e||"object"!=typeof e)throw TypeError("RuntimeGlobals is not initialized");return e}},55499(e,t,r){r(15271);var M=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i=(e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let j of s(t))n.call(e,j)||j===r||M(e,j,{get:()=>t[j],enumerable:!(i=o(t,j))||i.enumerable});return e},j=(e,t,r)=>(i(e,t,"default"),r&&i(r,t,"default")),c={};e.exports=i(M({},"__esModule",{value:!0}),c),j(c,r(89116),e.exports),j(c,r(85665),e.exports),j(c,r(85454),e.exports),j(c,r(48566),e.exports),j(c,r(44296),e.exports),j(c,r(77962),e.exports),j(c,r(70994),e.exports),j(c,r(48662),e.exports),j(c,r(20038),e.exports),j(c,r(7995),e.exports)},7995(e,t,r){var M=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={},j={replacer:()=>N,reviver:()=>u};for(var c in j)M(i,c,{get:j[c],enumerable:!0});e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let j of s(t))n.call(e,j)||j===r||M(e,j,{get:()=>t[j],enumerable:!(i=o(t,j))||i.enumerable});return e})(M({},"__esModule",{value:!0}),i);var a=r(70994);function N(){let e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return(0,a.isPromiseLike)(r)?{__type__:"promise"}:r}}function u(){let e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r&&"object"==typeof r&&"promise"===r.__type__&&1===Object.keys(r).length?a.PromiseStub.create().promise:r}}},20038(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty;e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),{})},85454(e){var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={},n={applyShortenAliases:()=>j};for(var i in n)t(s,i,{get:n[i],enumerable:!0});function j(e,t){if(!t)return e;let r=e;for(let e of t)r=r.replace(e.replace,e.to);return r}e.exports=((e,s,n,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let j of M(s))o.call(e,j)||j===n||t(e,j,{get:()=>s[j],enumerable:!(i=r(s,j))||i.enumerable});return e})(t({},"__esModule",{value:!0}),s)},48662(e,t,r){var M=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,i={},j={applyOperation:()=>u,extractSettledOperations:()=>D,resolvePaths:()=>N};for(var c in j)M(i,c,{get:j[c],enumerable:!0});e.exports=((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let j of s(t))n.call(e,j)||j===r||M(e,j,{get:()=>t[j],enumerable:!(i=o(t,j))||i.enumerable});return e})(M({},"__esModule",{value:!0}),i);var a=r(70994);let N=(e,t)=>{let r=e;for(let e of t)r=r[e];return r},u=(e,t)=>{let[r,M,o,s]=t,n=M.slice(0,-1),i=M[M.length-1],j=N(e,n);if("delete"===r)delete j[i];else if("set"===r)o instanceof a.PromiseStub?j[i]=o.promise:j[i]=o;else{let e,t=j[i];if(t instanceof a.PromiseStub)e=t;else try{e=a.PromiseStub.get(t)}catch(t){e=a.PromiseStub.create()}"resolve"===r?e.resolve(o):e.reject(o)}},D=async e=>{let t=[],r=[];for(let[M,o]of(0,a.traversePromises)(e)){let e=e=>{t.push(["resolve",o,e])},s=e=>{t.push(["reject",o,e])},n=(0,a.applySettled)(M).then(e).catch(s);r.push(n)}return await Promise.all(r),t}},50054(e,t,r){r(88612),r(41970),r(38645),r(12875),r(93043),r(90793),r(76462),r(67752),r(26810),r(46485),r(79863),r(3022),r(59611),r(45031),r(50408),r(64683),r(73530),r(15786),r(1757),r(97020),r(76235),r(13833),r(87595),r(5444),r(21191),r(75177),r(27495),r(25616),r(98317),r(665),r(77334),r(34868),r(90733),r(47996),r(40266),r(2942),r(65282),r(81832),r(83465),r(59129),r(71901),r(78928),r(43408),r(40677),r(56103),r(92815),r(7736),r(63937),r(4014),r(77293),r(53594),r(65358),r(78440),r(28910),r(18773),r(15139),r(61345),r(24571),r(24165),r(12374),r(28875),r(47835),r(22460),r(47544),r(51633),r(51988),r(54800),r(74516),r(64376),r(35658),r(53808),r(37187),r(86631),r(72806),r(41561),r(63379),r(95586),r(64023),r(13290),r(47724),r(49495),r(50788),r(72222),r(79491),r(90017),r(30205),r(17303),r(28468),r(98682),r(51694),r(70628),r(41031),r(60906),r(16719),r(98937),r(28372),r(58921),r(81266),r(86969),r(33749),r(26348),r(30566),r(45042),r(142),r(17478),r(62984),r(77034),r(20279),r(74259),r(53321),r(86511),r(67195),r(15491),r(7307),r(70095),r(12459),r(60086),r(39627),r(17604),r(79681),r(96826),r(9852),r(5408),r(12259),r(69009),r(52359),r(5087),r(62879),r(47258),r(82607),r(90798),r(78119),r(59136),r(47306),r(38282),r(57650),r(65701),r(48722),r(93832),r(88418),r(10957),r(83845),r(5183),r(93255),r(33571),r(43525),r(30918),r(64755),r(30969),r(4956),r(8150),r(93949),r(15671),r(66656),r(82063),r(12664),r(75458),r(82719),r(88791),r(33888),r(65897),r(72998),r(87109),r(34050),r(93593),r(48246),r(22160),r(8950),r(92653),r(19771),r(82203),r(33326),r(65569),r(19413),r(86289),r(6121),r(35546),r(16140),r(72715),r(72435),r(13303),r(2693),r(11191),r(32358),r(79150),r(49641),r(78327),r(63574),r(82012),r(71643),r(90847),r(61996),r(76860),r(64670),r(58494),r(55012),r(72641),r(97756),r(32046),r(82763),r(54843),r(6975),r(38802),r(3080),r(59472),r(30662),r(64720),r(45839),r(58310),r(22981),r(16755),r(7206),r(47454),r(84028),r(37648),r(35051),r(56646),r(54043),r(67273),r(68246),r(63418),r(7939),r(37613),r(18937),r(76477),r(23383),r(93546),r(55887),r(55830),r(30401),r(90369),r(62893),r(38395),r(77086),r(34351),r(40095),r(84192),r(71713),r(43803),r(45456),r(46532),r(50063),r(91567),r(62704),r(94244),r(53950),r(33734),r(31279),r(83570),r(94813),r(85752),r(32483),r(95320),r(22465),r(25701),r(26335),r(67076),r(5027),r(48153),r(3380),r(93862),r(539),r(95971),r(45315),r(83392),r(28729),r(78971),r(75782),r(54625),r(27004),r(51895),r(46596),r(58662),r(71232),r(45423),r(55759),r(77676),r(70946),r(85651),r(88306),r(86853),r(92058),r(31257),r(10944),r(27877),r(47839),r(58426),r(43392),r(5523),r(76353),r(98923),r(5494),r(85215),r(26140),r(45402),r(19317),r(45160),r(51564),r(36068),r(31716),r(11383),r(36065),r(89562),r(89067),r(90471),r(15941),r(76854),r(41655),r(62227),r(11594),r(97353),r(59980)},93125(){window.__assetPrefix__=""}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["792"],{19426(n,e,t){t.d(e,{A:()=>o});let o={link:"link-znMYnO",connector:"connector-BqtwBd"}},45424(n,e,t){t.d(e,{A:()=>o});let o={card:"card-If0911"}},16658(n,e,t){t.d(e,{A:()=>o});let o={container:"container-WHe0d3"}},85295(n,e,t){t.d(e,{A:()=>o});let o={container:"container-tsQk3U",fab:"fab-_shO90",slideInFromRight:"slideInFromRight-cmflGC",logo:"logo-nXXNIB"}},35044(n,e,t){t.d(e,{A:()=>o});let o={container:"container-tcM8fB","close-button":"close-button-weoXpd",closeButton:"close-button-weoXpd",frame:"frame-PSYQgj",backdrop:"backdrop-SWoFLh"}},64710(n,e,t){t.d(e,{A:()=>o});let o={container:"container-uSZ85N",children:"children-cVMy6R"}},55129(n,e,t){t.d(e,{A:()=>o});let o={loading:"loading-HrjYdW",rotate:"rotate-CPIjfB"}},85398(n,e,t){t.d(e,{A:()=>o});let o={container:"container-COzu4H"}},99791(n,e,t){t.d(e,{A:()=>o});let o={container:"container-SkRv4t"}},21521(n,e,t){t.d(e,{A:()=>o});let o={container:"container-e3dQes"}},90070(n,e,t){t.d(e,{A:()=>o});let o={"input-pair":"input-pair-rQmmCj",inputPair:"input-pair-rQmmCj",actions:"actions-AIkunB"}},87705(n,e,t){t.d(e,{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"}},31751(n,e,t){t.d(e,{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"}},88441(n,e,t){t.d(e,{A:()=>o});let o={stats:"stats-cb58Fz"}},22894(n,e,t){t.d(e,{A:()=>o});let o={container:"container-dWGOkz",slideIn:"slideIn-AQnKGk",hide:"hide-LUv_Hv",swipeOut:"swipeOut-ZTbSGG",viewport:"viewport-Owdzo8",close:"close-i8MeRu"}}}]);