@modern-js/devtools-client 2.54.5 → 2.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/modern.config.json +66 -62
  2. package/dist/public/sw-proxy.js +1 -1
  3. package/dist/route.json +2 -2
  4. package/dist/routes-manifest.json +33 -35
  5. package/dist/static/css/{599.e744b37c.css → 465.e744b37c.css} +1 -1
  6. package/dist/static/css/{518.861d0891.css → 587.861d0891.css} +1 -1
  7. package/dist/static/css/components.41191267.css +1 -1
  8. package/dist/{html → static/html}/client/index.html +3 -3
  9. package/dist/{html → static/html}/mount/index.html +3 -3
  10. package/dist/static/js/{async/851.32405bb9.js → 465.65e0bb6e.js} +9 -9
  11. package/dist/static/js/{async/851.32405bb9.js.LICENSE.txt → 465.65e0bb6e.js.LICENSE.txt} +1 -2
  12. package/dist/static/js/{518.3a4d37e3.js → 587.60a92f73.js} +5 -5
  13. package/dist/static/js/{518.3a4d37e3.js.LICENSE.txt → 587.60a92f73.js.LICENSE.txt} +10 -0
  14. package/dist/static/js/{991.17fd54ac.js → 991.b26ded76.js} +2 -3
  15. package/dist/static/js/998.85b756e1.js +1 -0
  16. package/dist/static/js/async/client_config/{layout.940bdfa0.js → layout.d6c132de.js} +1 -1
  17. package/dist/static/js/async/client_react/(tab)/page.3664e1f6.js +1 -0
  18. package/dist/static/js/builder-runtime.a5189e74.js +1 -0
  19. package/dist/static/js/client.20d41e23.js +1 -0
  20. package/dist/static/js/{lib-polyfill.a0b0c08b.js → lib-polyfill.91c93318.js} +1 -1
  21. package/dist/static/js/mount.172de496.js +1 -0
  22. package/package.json +11 -11
  23. package/dist/static/js/277.1ce8ace1.js +0 -1
  24. package/dist/static/js/599.553c521a.js +0 -2
  25. package/dist/static/js/599.553c521a.js.LICENSE.txt +0 -8
  26. package/dist/static/js/991.17fd54ac.js.LICENSE.txt +0 -9
  27. package/dist/static/js/async/client_react/(tab)/page.62695646.js +0 -1
  28. package/dist/static/js/builder-runtime.68fc85a6.js +0 -1
  29. package/dist/static/js/client.18429a60.js +0 -1
  30. package/dist/static/js/mount.91f07cc0.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["998"],{60769:function(e,t,r){let o,M,n,s;var i=Object.create,c=Object.defineProperty,j=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,D=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let M of u(t))!N.call(e,M)&&M!==r&&c(e,M,{get:()=>t[M],enumerable:!(o=j(t,M))||o.enumerable});return e},g={};((e,t)=>{for(var r in t)c(e,r,{get:t[r],enumerable:!0})})(g,{MessagePortChannel:()=>p,MessagePortTimeout:()=>z,WebSocketChannel:()=>I});e.exports=(o=g,D(c({},"__esModule",{value:!0}),o));var y=r(89677);var l=(s=null!=(M=r(16272))?i(a(M)):{},D(!n&&M&&M.__esModule?s:c(s,"default",{value:M,enumerable:!0}),M)),O=r(46974);class I{static link(e){return new Promise((t,r)=>{let o=new I(e);e.readyState===e.OPEN?t(o):(e.addEventListener("open",()=>t(o),{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,...t){if(t.length)throw Error("Unexpected extra parameters.");this.ws.send(e)}on(e){this.ws.onmessage=e}serialize(e){return l.stringify([e],(0,O.replacer)())}deserialize(e){return l.parse(e.data.toString(),(0,O.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 z extends Error{constructor(){super("Connection to target message channel port timed out")}}class p{static link(e,t="channel:connect"){return new Promise((r,o)=>{let M=(0,y.nanoid)(),{port1:n,port2:s}=new MessageChannel,i=e=>{if(e.data.tag===t&&"accepted"===e.data.type)e.data.id===M&&(s.removeEventListener("message",i),r(new p(s)))};s.addEventListener("messageerror",o,{once:!0}),s.addEventListener("message",i),s.start(),e.postMessage({tag:t,type:"request",id:M},"*",[n])})}static wait(e,t="channel:connect"){return new Promise((r,o)=>{let M=async n=>{let{data:s}=n;if(!s||"object"!=typeof s||s.tag!==t||"request"!==s.type)return;e.removeEventListener("message",M);let i=n.ports[0];i?(i.postMessage({type:"accepted",id:s.id,tag:t}),r(new p(i))):o(Error("Missing message channel port from remote."))};e.addEventListener("message",M)})}get handlers(){return{on:this.on.bind(this),post:this.post.bind(this)}}post(e,...t){if(t.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)})}}},72215:function(e,t,r){let o,M,n,s;var i=Object.create,c=Object.defineProperty,j=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,a=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,D=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let M of u(t))!N.call(e,M)&&M!==r&&c(e,M,{get:()=>t[M],enumerable:!(o=j(t,M))||o.enumerable});return e},g={};((e,t)=>{for(var r in t)c(e,r,{get:t[r],enumerable:!0})})(g,{AnnouncementDefinition:()=>z,AssetDefinition:()=>I,ClientDefinition:()=>f,DoctorDefinition:()=>p,NameDefinition:()=>l,PackageDefinition:()=>O});e.exports=(o=g,D(c({},"__esModule",{value:!0}),o));var y=(s=null!=(M=r(34070))?i(a(M)):{},D(!n&&M&&M.__esModule?s:c(s,"default",{value:M,enumerable:!0}),M));class l{constructor(){this.formalName="Modern.js",this.casualName="modern.js",this.prefixName="_modern_js",this.shortName="modern"}}class O{constructor(){this.appTools="@modern-js/app-tools"}}class I{constructor(){this.logo=y.default}}class z{constructor(){this.src="https://raw.githubusercontent.com/web-infra-dev/modern.js/main/ANNOUNCEMENT.md",this.fallback="https://modernjs.dev/"}}class p{constructor(){this.home="https://rsdoctor.dev",this.quickStart="https://rsdoctor.dev/guide/start/quick-start"}}class f{constructor(){this.name=new l,this.packages=new O,this.assets=new I,this.doctor=new p,this.announcement=new z,this.plugins=[]}}},74966:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e},i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{ROUTE_BASENAME:()=>c});e.exports=(t=i,s(r({},"__esModule",{value:!0}),t));let c="/__devtools"},34070:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e},i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{default:()=>c});e.exports=(t=i,s(r({},"__esModule",{value:!0}),t));var c="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzMiIHZpZXdCb3g9IjAgMCA0NSAzMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzEzOjUxNDkpIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTguODIwNzcgMjAuMjg2OUM3Ljg0NzU5IDE3LjE1NzEgNy45NjgyNiAxMy43ODk0IDkuMTYyOTggMTAuNzM3M0MxMC4zNTc3IDcuNjg1MjggMTIuNTU1NCA1LjEzMDU3IDE1LjM5NDYgMy40OTMyQzE4LjIzMzkgMS44NTU4MyAyMS41NDU4IDEuMjMzMjYgMjQuNzg1OCAxLjcyNzg1QzI4LjAyNTkgMi4yMjI0NSAzMS4wMDEyIDMuODA0NzYgMzMuMjIyNyA2LjIxNDY1QzMyLjY2MTggNi40OTAxMSAzMi4wODY5IDYuNzc2NTQgMzEuNDk4MSA3LjA3Mzk1QzI5LjUzNjggNS4xMTc5MSAyNi45ODU1IDMuODYyODcgMjQuMjM5MSAzLjUwMzFDMjEuNDkyNiAzLjE0MzM0IDE4LjcwNDEgMy42OTg5IDE2LjMwNTIgNS4wODM4MUMxMy45MDYzIDYuNDY4NzIgMTIuMDMwOSA4LjYwNTczIDEwLjk2OTEgMTEuMTY0MUM5LjkwNzI1IDEzLjcyMjQgOS43MTgzNiAxNi41NTk0IDEwLjQzMTYgMTkuMjM2QzkuODc4NjkgMTkuNTg5MyA5LjM0MTc0IDE5LjkzOTYgOC44MjA3NyAyMC4yODY5Wk00My4wMDAxIDMuOTU1NTJDNDIuOTE4NyAzLjkzMzYyIDQyLjgzMTkgMy45NDQ5NyA0Mi43NTg4IDMuOTg3MDVINDIuNzY3OEMzOC41ODAyIDUuODE5NjIgMzQuNDU1NyA3Ljc4NjE5IDMwLjQwMDUgOS44ODMxOEwyMi41MTU4IDYuMzQ2MzlDMjIuMzY2NyA2LjI4MDc2IDIyLjIwNDMgNi4yNTA5MSAyMi4wNDE2IDYuMjU5MjNDMjEuODc4OCA2LjI2NzU1IDIxLjcyMDMgNi4zMTM4IDIxLjU3ODcgNi4zOTQzQzIxLjQzNzkgNi40NzUxNyAyMS4zMTgyIDYuNTg4MDYgMjEuMjI5MyA2LjcyMzgzQzIxLjE0MDMgNi44NTk2IDIxLjA4NDYgNy4wMTQ0MyAyMS4wNjY3IDcuMTc1NzVMMjAuMzA5MiAxMy45ODQzTDE2LjUzNjYgMTIuMzgyNUMxNi4zOTA4IDEyLjMyMDIgMTYuMjMyNSAxMi4yOTI0IDE2LjA3NDIgMTIuMzAxM0MxNS45MTU5IDEyLjMxMDIgMTUuNzYxOCAxMi4zNTU1IDE1LjYyMzggMTIuNDMzOEMxNS40ODU5IDEyLjUxMiAxNS4zNjc5IDEyLjYyMSAxNS4yNzkgMTIuNzUyNEMxNS4xOTAxIDEyLjg4MzcgMTUuMTMyOCAxMy4wMzM4IDE1LjExMTQgMTMuMTkwOUwxNC4yODQzIDE5LjEzNTdDMTAuMTQzMiAyMS43NjEzIDYuMDkxOCAyNC41MzE5IDIuMTM3ODkgMjcuNDQyOEMyLjA3MTk1IDI3LjQ4ODUgMi4wMjU1NyAyNy41NTczIDIuMDA3ODggMjcuNjM1NUMxLjk5MDIgMjcuNzEzOCAyLjAwMjUgMjcuNzk1OCAyLjA0MjM5IDI3Ljg2NTRDMi4wODIyNyAyNy45MzUgMi4xNDY4MiAyNy45ODcxIDIuMjIzMjcgMjguMDExNEMyLjI5OTcyIDI4LjAzNTcgMi4zODI1MiAyOC4wMzA1IDIuNDU1MjggMjcuOTk2N0M5LjYyNTI1IDI0LjgzODMgMTYuNjIxNCAyMS4yOTkyIDIzLjQxNCAxNy4zOTQ2QzMwLjE5MjggMTMuNDYzIDM2Ljc1NjMgOS4xNzEzNSA0My4wNzYyIDQuNTM3OTdDNDMuMTQ5MyA0LjQ5NTg4IDQzLjIwMjYgNC40MjY1IDQzLjIyNDUgNC4zNDUwOEM0My4yNDY0IDQuMjYzNjYgNDMuMjM1IDQuMTc2ODcgNDMuMTkyOSA0LjEwMzgyQzQzLjE1MDkgNC4wMzA3NiA0My4wODE1IDMuOTc3NDIgNDMuMDAwMSAzLjk1NTUyWk0xNi4yOTM5IDE3Ljg3NzJDMTcuNDU4OCAxNy4xNTY3IDE4LjYzMDcgMTYuNDQ3NiAxOS44MDkzIDE1Ljc1TDE2Ljc3MzEgMTQuNDYwNEwxNi4yOTM5IDE3Ljg3NzJaTTIyLjA5MjEgMTQuNDE3OUMyNC4xNTc2IDEzLjIyOTkgMjYuMjQzMSAxMi4wNzY3IDI4LjM0NzkgMTAuOTU4OUwyMi43NTU0IDguNDUxMjRMMjIuMDkyMSAxNC40MTc5Wk0zMy4wNzc5IDIyLjk2MTRDMzQuNDU4IDIwLjg5MjggMzUuMTk0OSAxOC40NjIxIDM1LjE5NTggMTUuOTc1NEMzNS4xOTY0IDE0Ljg5MiAzNS4wNTY1IDEzLjgxMzEgMzQuNzc5NiAxMi43NjU3QzM1LjMzMjUgMTIuNDAyNSAzNS44Njk0IDEyLjA0NzIgMzYuMzkwNCAxMS42OTk4QzM3LjM1NDcgMTQuODI2NSAzNy4yMjg1IDE4LjE4NzkgMzYuMDMyNiAyMS4yMzM1QzM0LjgzNjcgMjQuMjc5MSAzMi42NDIgMjYuODI4MiAyOS44MDc5IDI4LjQ2MzRDMjYuOTczOCAzMC4wOTg2IDIzLjY2ODUgMzAuNzIyOCAyMC40MzMzIDMwLjIzMzlDMTcuMTk4IDI5Ljc0NDkgMTQuMjI0OCAyOC4xNzE3IDEyLjAwMDUgMjUuNzcyMUMxMi41NTM0IDI1LjQ5NjYgMTMuMTI5MyAyNS4yMTAyIDEzLjcyODEgMjQuOTEyOEMxNS40OTM0IDI2LjY2NDEgMTcuNzM3NSAyNy44NTM4IDIwLjE3NzggMjguMzMxOUMyMi42MTggMjguODEgMjUuMTQ1MiAyOC41NTUyIDI3LjQ0MDggMjcuNTk5NEMyOS43MzY1IDI2LjY0MzcgMzEuNjk3OSAyNS4wMjk5IDMzLjA3NzkgMjIuOTYxNFpNNDEuOTEgMjQuMzU3NkM0Mi4xNTMxIDIzLjk5MzcgNDIuMjgyOSAyMy41NjU5IDQyLjI4MjkgMjMuMTI4M0M0Mi4yODI5IDIyLjU0MTUgNDIuMDQ5NyAyMS45Nzg3IDQxLjYzNDggMjEuNTYzN0M0MS4yMTk4IDIxLjE0ODggNDAuNjU3MSAyMC45MTU3IDQwLjA3MDIgMjAuOTE1N0MzOS42MzI2IDIwLjkxNTcgMzkuMjA0OCAyMS4wNDU0IDM4Ljg0MSAyMS4yODg2QzM4LjQ3NzEgMjEuNTMxNyAzOC4xOTM1IDIxLjg3NzMgMzguMDI2IDIyLjI4MTZDMzcuODU4NSAyMi42ODU5IDM3LjgxNDcgMjMuMTMwOCAzNy45MDAxIDIzLjU2QzM3Ljk4NTUgMjMuOTg5MiAzOC4xOTYyIDI0LjM4MzQgMzguNTA1NiAyNC42OTI5QzM4LjgxNTEgMjUuMDAyMyAzOS4yMDk0IDI1LjIxMzEgMzkuNjM4NiAyNS4yOTg0QzQwLjA2NzggMjUuMzgzOCA0MC41MTI3IDI1LjM0IDQwLjkxNyAyNS4xNzI1QzQxLjMyMTMgMjUuMDA1IDQxLjY2NjggMjQuNzIxNCA0MS45MSAyNC4zNTc2Wk02Ljk4NTM4IDcuODM3NDNDNi45ODUzOCA4LjA1NDg5IDYuOTIwODQgOC4yNjc0NSA2Ljc5OTk3IDguNDQ4MjJDNi42NzkwOSA4LjYyODk5IDYuNTA3MzMgOC43Njk4MyA2LjMwNjM3IDguODUyOTFDNi4xMDU0MSA4LjkzNTk5IDUuODg0MzEgOC45NTc1OCA1LjY3MTA4IDguOTE0OTNDNS40NTc4NCA4Ljg3MjI5IDUuMjYyMDMgOC43NjczNCA1LjEwODQ4IDguNjEzMzdDNC45NTQ5MiA4LjQ1OTM5IDQuODUwNTEgOC4yNjMzMSA0LjgwODQ1IDguMDQ5OTZDNC43NjYzOSA3LjgzNjYyIDQuNzg4NiA3LjYxNTU4IDQuODcyMjIgNy40MTQ4NUM0Ljk1NTg1IDcuMjE0MTIgNS4wOTcxNSA3LjA0MjcyIDUuMjc4MjUgNi45MjIzNEM1LjQ1OTM0IDYuODAxOTYgNS42NzIwNyA2LjczODAxIDUuODg5NTMgNi43Mzg2QzYuMDMzNjkgNi43Mzg2IDYuMTc2NDQgNi43NjcwNCA2LjMwOTU5IDYuODIyM0M2LjQ0Mjc0IDYuODc3NTYgNi41NjM2NyA2Ljk1ODU1IDYuNjY1NDYgNy4wNjA2M0M2Ljc2NzI2IDcuMTYyNyA2Ljg0NzkyIDcuMjgzODYgNi45MDI4MSA3LjQxNzE1QzYuOTU3NzEgNy41NTA0NSA2Ljk4NTc3IDcuNjkzMjcgNi45ODUzOCA3LjgzNzQzWiIgZmlsbD0iIzRFQ0FGRiIvPjwvZz48L3N2Zz4="},31656:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e};e.exports=(t={},s(r({},"__esModule",{value:!0}),t))},30242:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e},i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{PromiseStub:()=>a,applySettled:()=>D,isPromiseLike:()=>c,traversePromises:()=>N,withResolvers:()=>g});e.exports=(t=i,s(r({},"__esModule",{value:!0}),t));let c=e=>null!==e&&"object"==typeof e&&"function"==typeof e.then,j=new WeakMap,u=new WeakMap;class a{static create(){let e=new a;return e.promise=new Promise((t,r)=>{e.resolve=t,e.reject=r}),j.set(e.promise,e.resolve),u.set(e.promise,e.reject),e}static get(e){let t=j.get(e),r=u.get(e);if(!t||!r)throw Error("Invalid promise");let o=new a;return o.promise=e,o.resolve=t,o.reject=r,o}then(e,t){return this.promise.then(e,t)}catch(e){return this.promise.catch(e)}constructor(){}}let N=(e,t=[])=>{let r=new Set,o=new WeakSet,M=(e,t)=>{if(null!==e){if("object"==typeof e){if(o.has(e))return;o.add(e)}if(c(e))r.add([e,t]);else if("object"==typeof e)for(let[r,o]of Object.entries(e))M(o,[...t,r])}};return M(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}},64735:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e},i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{RUNTIME_GLOBALS:()=>c,getRuntimeGlobals:()=>j});e.exports=(t=i,s(r({},"__esModule",{value:!0}),t));let c="__modern_js_global",j=()=>{let e=window[c];if(!e||"object"!=typeof e)throw TypeError("RuntimeGlobals is not initialized");return e}},10487:function(e,t,r){let o;var M=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of s(t))!i.call(e,c)&&c!==r&&M(e,c,{get:()=>t[c],enumerable:!(o=n(t,c))||o.enumerable});return e},j=(e,t,r)=>(c(e,t,"default"),r&&c(r,t,"default")),u={};e.exports=(o=u,c(M({},"__esModule",{value:!0}),o)),j(u,r(72215),e.exports),j(u,r(31656),e.exports),j(u,r(85076),e.exports),j(u,r(74966),e.exports),j(u,r(60769),e.exports),j(u,r(64735),e.exports),j(u,r(30242),e.exports),j(u,r(56165),e.exports),j(u,r(40859),e.exports),j(u,r(46974),e.exports)},46974:function(e,t,r){let o;var M=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of s(t))!i.call(e,c)&&c!==r&&M(e,c,{get:()=>t[c],enumerable:!(o=n(t,c))||o.enumerable});return e},j={};((e,t)=>{for(var r in t)M(e,r,{get:t[r],enumerable:!0})})(j,{replacer:()=>a,reviver:()=>N});e.exports=(o=j,c(M({},"__esModule",{value:!0}),o));var u=r(30242);function a(){let e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return(0,u.isPromiseLike)(r)?{__type__:"promise"}:r}}function N(){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?u.PromiseStub.create().promise:r:r}}},40859:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e};e.exports=(t={},s(r({},"__esModule",{value:!0}),t))},85076:function(e){let t;var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,M=Object.getOwnPropertyNames,n=Object.prototype.hasOwnProperty,s=(e,t,s,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of M(t))!n.call(e,c)&&c!==s&&r(e,c,{get:()=>t[c],enumerable:!(i=o(t,c))||i.enumerable});return e},i={};((e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})})(i,{applyShortenAliases:()=>c});function c(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=(t=i,s(r({},"__esModule",{value:!0}),t))},56165:function(e,t,r){let o;var M=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of s(t))!i.call(e,c)&&c!==r&&M(e,c,{get:()=>t[c],enumerable:!(o=n(t,c))||o.enumerable});return e},j={};((e,t)=>{for(var r in t)M(e,r,{get:t[r],enumerable:!0})})(j,{applyOperation:()=>N,extractSettledOperations:()=>D,resolvePaths:()=>a});e.exports=(o=j,c(M({},"__esModule",{value:!0}),o));var u=r(30242);let a=(e,t)=>{let r=e;for(let e of t)r=r[e];return r},N=(e,t)=>{let[r,o,M,n]=t,s=o.slice(0,-1),i=o[o.length-1],c=a(e,s);if("delete"===r)delete c[i];else if("set"===r)M instanceof u.PromiseStub?c[i]=M.promise:c[i]=M;else{let e;let t=c[i];if(t instanceof u.PromiseStub)e=t;else try{e=u.PromiseStub.get(t)}catch{e=u.PromiseStub.create()}"resolve"===r?e.resolve(M):e.reject(M)}},D=async e=>{let t=[],r=[];for(let[o,M]of(0,u.traversePromises)(e)){let e=e=>{t.push(["resolve",M,e])},n=e=>{t.push(["reject",M,e])},s=(0,u.applySettled)(o).then(e).catch(n);r.push(s)}return await Promise.all(r),t}},22144:function(e,t,r){r.d(t,{H:function(){return i}});var o=r(90247),M=r(55709),n=r(86834);r(5872);var s=r(381);let i=e=>(0,n.jsx)("svg",(0,M._)((0,o._)({xmlns:"http://www.w3.org/2000/svg",className:s.Z.loading,width:"24",height:"24",viewBox:"0 0 24 24",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeDasharray:"56.548667764616276",strokeDashoffset:"14.137166941154069"})}))},38637:function(e,t,r){r.d(t,{g:function(){return j}});var o=r(90247),M=r(55709),n=r(86834),s=r(99231),i=r(22144),c=r(54086);let j=e=>(0,n.jsx)(s.xu,(0,M._)((0,o._)({className:c.Z.container},e),{children:(0,n.jsx)(i.H,{})}))},80936:function(e,t,r){r.d(t,{g:function(){return o.g}}),r(22144);var o=r(38637)},64542:function(e,t,r){r.d(t,{S:function(){return M}});var o=r(65872);class M extends o.gl{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 o=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),M=1;M<t;M++)o[M-1]=arguments[M];r.callHook("receive",e,...o)};e.$functions[t]=o;let M=function(r){for(var o=arguments.length,M=Array(o>1?o-1:0),n=1;n<o;n++)M[n-1]=arguments[n];e[t](r,...M)};return this.hook("send",M),()=>{e.$functions[t]===o&&delete e.$functions[t],this.removeHook("send",M)}}constructor(){super(),this.status="close";let 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")})}}},97137:function(e,t,r){r.d(t,{U:function(){return j}});var o=r(5872);let M="__modern_js_devtools_appearance",n=e=>{let t;return t="light"===e||"dark"===e?e:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"},s=[],i=e=>(s.push(e),()=>s.splice(s.indexOf(e),1));window.addEventListener("storage",e=>{e.key===M&&s.forEach(e=>e())});let c=()=>n(localStorage.getItem(M)),j=()=>{let e=(0,o.useSyncExternalStore)(i,c);return[e,e=>{let t="function"==typeof e?e(c()):e;localStorage.setItem(M,t),s.forEach(e=>e())}]}},28651:function(e,t,r){r(47487),r(58739),r(87361),r(57003),r(22066),r(71931),r(67666),r(8733),r(49740),r(36858),r(5922),r(70943),r(53576),r(3403),r(24152),r(47266),r(54525),r(10623),r(54825),r(49539),r(19216),r(27257),r(36928),r(69958),r(20787),r(72138),r(15373),r(48813),r(31232),r(20241),r(5429),r(87589),r(75971),r(54369),r(93747),r(15110),r(463),r(41301),r(31287),r(80730),r(43671),r(5460),r(51466),r(91704),r(12064),r(84364),r(90370),r(72846),r(29184),r(66965),r(38499),r(32287),r(62049),r(90811),r(48996),r(31851),r(10469),r(39523),r(88057),r(29885),r(89217),r(56741),r(65736),r(94815),r(81153),r(59109),r(8229),r(36232),r(18965),r(44726),r(15930),r(77602),r(88927),r(11179),r(21727),r(74049),r(50899),r(36777),r(45445),r(92623),r(75957),r(69792),r(29234),r(58361),r(32779),r(78598),r(81971),r(602),r(70268),r(42479),r(42674),r(55579),r(44118),r(75994),r(57967),r(27832),r(51718),r(52216),r(81961),r(24557),r(49952),r(92777),r(15756),r(42974),r(85423),r(66531),r(55965),r(53330),r(60046),r(33627),r(44841),r(882),r(2617),r(99386),r(13404),r(63782),r(37053),r(20248),r(4862),r(89711),r(24360),r(15352),r(99465),r(78071),r(90002),r(41216),r(9257),r(92324),r(35692),r(1973),r(72706),r(41023),r(41244),r(50077),r(83166),r(43422),r(24068),r(74899),r(83063),r(8711),r(80798),r(69650),r(5161),r(17326),r(4190),r(76957),r(39408),r(77715),r(80680),r(64342),r(43721),r(8689),r(52609),r(87650),r(47857),r(83578),r(89549),r(34160),r(6876),r(72006),r(91875),r(60408),r(14682),r(77190),r(37231),r(69436),r(31379),r(4326),r(28534),r(2911),r(31371),r(66094),r(67855),r(98519),r(49690),r(20980),r(34921),r(85556),r(30415),r(81654),r(93825),r(4447),r(73608),r(9803),r(3520),r(64386),r(2807),r(85605),r(27800),r(20608),r(46433),r(97807),r(8866),r(92223),r(70307),r(22049),r(83632),r(19946),r(92217),r(92351),r(9108),r(84145),r(8737),r(9415),r(71626),r(88445),r(36944),r(28647),r(17133),r(83460),r(24297),r(93282),r(17140),r(46336),r(45594),r(74735),r(33309),r(21215),r(65478),r(88621),r(95694),r(36697),r(98996),r(75541),r(46631),r(29634),r(79973),r(82849),r(88237),r(50463),r(20099),r(86526),r(47790),r(40048),r(18387),r(25804),r(20604),r(72206),r(4239),r(28108),r(45558),r(20930),r(23911),r(70799),r(9745),r(56056),r(84682),r(12374),r(85524),r(5464),r(37875),r(56795),r(85938),r(66438),r(13299),r(39889),r(55134),r(84204),r(33096),r(2349),r(8545),r(83551),r(45571),r(65580),r(75292),r(15836),r(56478),r(26985),r(41485),r(1913),r(51730),r(87826),r(96407),r(64809),r(3791),r(21264),r(74943),r(76335),r(87252),r(42543),r(59100),r(96030),r(27199),r(84687),r(34983),r(793),r(79726),r(44041),r(47348),r(54797),r(7533)},44541:function(){window.__assetPrefix__="/__devtools"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["587"],{50284:function(e,n,s){s.r(n),s.d(n,{default:function(){return u}});var t=s(86834),o=s(58654),r=s(99231);function u(){return(0,t.jsx)(r.xu,{width:"100%",height:"100%",p:"4",style:{overflowY:"scroll"},children:(0,t.jsx)(o.j3,{})})}}}]);
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["518"],{50284:function(e,n,s){s.r(n),s.d(n,{default:function(){return u}});var t=s(86834),o=s(58654),r=s(99231);function u(){return(0,t.jsx)(r.xu,{width:"100%",height:"100%",p:"4",style:{overflowY:"scroll"},children:(0,t.jsx)(o.j3,{})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["483"],{15669:function(e,t,s){s.r(t);var l=s(86834),o=s(58654),a=s(99231),n=s(5872),r=s(79197),i=s(15112);t.default=()=>{let e=(0,o.UO)(),t=(0,a.TC)(),s=(0,o.TH)(),c=(0,o.s0)(),h="light"===t.appearance?"light":"dark",{mountPoint:d,react:p}=(0,r.R)((0,i.k)());return(0,n.useEffect)(()=>{d.remote.activateReactDevtools()},[]),(0,n.useEffect)(()=>{if("#inspecting"===s.hash){let e=()=>{p.devtools.wallAgent.send("startInspectingNative",null),c(s.pathname,{replace:!0})};"active"===p.devtools.wallAgent.status?e():p.devtools.wallAgent.hookOnce("active",e)}},[s,c]),(0,l.jsx)(a.xu,{width:"100%",height:"100%",pt:"5",children:(0,l.jsx)(p.devtools.Renderer,{browserTheme:h,overrideTab:"profiler"===e.tab?"profiler":"components",hideSettings:!1})})}}}]);
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o||"object"==typeof r&&r&&(4&o&&r.__esModule||16&o&&"function"==typeof r.then))return r;var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(function(e){i[e]=function(){return r[e]}});return i.default=function(){return r},n.d(a,i),a}})(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,r){return n.f[r](e,t),t},[]))},n.u=function(e){return"static/js/async/"+(({127:"client_page",146:"client_storage/preset/page",158:"client_external/$",161:"client_overview/page",244:"client_storage/preset/(id)/page",288:"client_config/(toolkit).(type)/page",299:"client_react/(tab)/layout",361:"client_context/page",470:"client_storage/preset/layout",483:"client_react/(tab)/page",488:"client_doctor/page",504:"client_context/layout",518:"client_config/layout",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",744:"client_external/layout",752:"client_react/offscreen/page",818:"client_context/framework/page",860:"client_headers/welcome/page",925:"client_headers/layout",943:"client_config/page",945:"client_react/page",958:"client_context/builder/page",963:"client_headers/page",988:"client_overview/layout"})[e]||e)+"."+({127:"2565084c",146:"fa223b1a",158:"df5499f5",161:"8cdd6473",244:"61899ba8",288:"afc8e58e",299:"bda655a6",361:"be7bb5ff",470:"cbc09989",483:"3664e1f6",488:"375c9c91",504:"dc4011c7",518:"d6c132de",631:"6a85b0e0",718:"07783134",730:"e44e7804",744:"9d8d3bbe",752:"71d8db51",769:"9da82d5e",818:"b4f8bc08",860:"72018b7e",883:"3a7782d0",925:"4a4dde71",943:"9d42d42a",945:"798c11ca",958:"0dc5a1e9",963:"f0f8550b",988:"1dd8a005"})[e]+".js"},n.miniCssF=function(e){return"static/css/async/"+({146:"client_storage/preset/page",161:"client_overview/page",244:"client_storage/preset/(id)/page",470:"client_storage/preset/layout",488:"client_doctor/page",718:"client_pages/page",730:"client_headers/editor/page"})[e]+"."+({146:"d4eb2799",161:"a2667b2a",244:"79a266f3",470:"d4eb2799",488:"f1527f16",718:"1e9bbc9d",730:"47215f0e"})[e]+".css"},n.h=function(){return"72f12d6f18a1df1c"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e={},t="modernjsDevtools:";n.l=function(r,o,a,i){if(e[r]){e[r].push(o);return}if(void 0!==a){for(var c,u,l=document.getElementsByTagName("script"),f=0;f<l.length;f++){var d=l[f];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){c=d;break}}}!c&&(u=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,n.nc&&c.setAttribute("nonce",n.nc),c.setAttribute("data-webpack",t+a),c.src=r),e[r]=[o];var s=function(t,n){c.onerror=c.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),u&&document.head.appendChild(c)}})(),n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},n.nc=void 0,(()=>{var e=[];n.O=function(t,r,o,a){if(r){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];e[i]=[r,o,a];return}for(var c=1/0,i=0;i<e.length;i++){for(var r=e[i][0],o=e[i][1],a=e[i][2],u=!0,l=0;l<r.length;l++)(!1&a||c>=a)&&Object.keys(n.O).every(function(e){return n.O[e](r[l])})?r.splice(l--,1):(u=!1,a<c&&(c=a));if(u){e.splice(i--,1);var f=o();void 0!==f&&(t=f)}}return t}})(),n.p="/__devtools/",(()=>{if("undefined"!=typeof document){var e=function(e,t,n,r,o){var a=document.createElement("link");return a.rel="stylesheet",a.type="text/css",a.onerror=a.onload=function(n){if(a.onerror=a.onload=null,"load"===n.type)r();else{var i=n&&("load"===n.type?"missing":n.type),c=n&&n.target&&n.target.href||t,u=Error("Loading CSS chunk "+e+" failed.\\n("+c+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=i,u.request=c,a.parentNode&&a.parentNode.removeChild(a),o(u)}},a.href=t,n?n.parentNode.insertBefore(a,n.nextSibling):document.head.appendChild(a),a},t=function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=n[r],a=o.getAttribute("data-href")||o.getAttribute("href");if("stylesheet"===o.rel&&(a===e||a===t))return o}for(var i=document.getElementsByTagName("style"),r=0;r<i.length;r++){var o=i[r],a=o.getAttribute("data-href");if(a===e||a===t)return o}},r={242:0};n.f.miniCss=function(o,a){if(r[o])a.push(r[o]);else if(0!==r[o]&&({244:1,161:1,730:1,718:1,146:1,470:1,488:1})[o]){var i;a.push(r[o]=(i=o,new Promise(function(r,o){var a=n.miniCssF(i),c=n.p+a;if(t(a,c))return r();e(i,c,null,r,o)})).then(function(){r[o]=0},function(e){throw delete r[o],e}))}}}})(),(()=>{var e={242:0};n.f.j=function(t,r){var o=n.o(e,t)?e[t]:void 0;if(0!==o){if(o)r.push(o[2]);else if(242!=t){var a=new Promise(function(n,r){o=e[t]=[n,r]});r.push(o[2]=a);var i=n.p+n.u(t),c=Error();n.l(i,function(r){if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",c.name="ChunkLoadError",c.type=a,c.request=i,o[1](c)}},"chunk-"+t,t)}else e[t]=0}},n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o=r[0],a=r[1],i=r[2],c,u,l=0;if(o.some(function(t){return 0!==e[t]})){for(c in a)n.o(a,c)&&(n.m[c]=a[c]);if(i)var f=i(n)}for(t&&t(r);l<o.length;l++)u=o[l],n.o(e,u)&&e[u]&&e[u][0](),e[u]=0;return n.O(f)},r=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["462"],{5241:function(n,t){"use strict";t.Z={tooltip:"tooltip-i9AhnB"}},96179:function(n,t){"use strict";t.Z={wrapper:"wrapper-YAIt0k",container:"container-bg0bRO",navigator:"navigator-O_AEE3",breadcrumbs:"breadcrumbs-LVvAXj","tab-button":"tab-button-MtqLNp",tabButton:"tab-button-MtqLNp","tab-button-inner":"tab-button-inner-KmlACp",tabButtonInner:"tab-button-inner-KmlACp","fading-mask":"fading-mask-fITbAW",fadingMask:"fading-mask-fITbAW","online-indicator":"online-indicator-E9Pryr",onlineIndicator:"online-indicator-E9Pryr"}},54309:function(n,t){"use strict";t.Z={loading:"loading-gmTvLE"}},75819:function(){},65680:function(n,t,e){"use strict";e.d(t,{a:function(){return d}});var r=e(90247),i=e(55709),o=e(86834),u=e(60950),a=e(26201),c=e(5872),s=e(24348),l=e(81492),f=function(){return!0};function d(n,t,e,d){var v,p,h,m,g=(0,i._)((0,r._)({},t),{get routes(){return t.routes},_hydration:!0}),x=g.ssrContext,y=(0,u._)(window.location.pathname),_=(0,u._)(x.request.pathname);_!==y&&t.router&&(console.error("The initial URL ".concat(_," and the URL ").concat(y," to be hydrated do not match, reload.")),window.location.reload());var w=function(){delete g._hydration},b=(null===(p=window)||void 0===p?void 0:null===(v=p._SSR_DATA)||void 0===v?void 0:v.renderLevel)||s.N.CLIENT_RENDER,j=(null===(m=window)||void 0===m?void 0:null===(h=m._SSR_DATA)||void 0===h?void 0:h.mode)||"string";return f()&&"stream"===j?function(){return b===s.N.SERVER_RENDER?d((0,o.jsx)(function(){return(0,o.jsx)(l.r,{callback:w,children:c.cloneElement(n,{_internal_context:g})})},{})):e(n)}():function(){return b===s.N.CLIENT_RENDER||b===s.N.SERVER_PREFETCH?e(n):b===s.N.SERVER_RENDER?new Promise(function(t){f()?(0,a.TA)(function(){d((0,o.jsx)(function(){return(0,o.jsx)(l.r,{callback:w,children:c.cloneElement(n,{_internal_context:g})})},{})).then(function(n){t(n)})}):(0,a.TA)(function(){d(n,w).then(function(n){t(n)})})}):(console.warn("unknow render level: ".concat(b,", execute render()")),e(n))}()}},71954:function(n,t,e){"use strict";e.d(t,{s:function(){return v}});var r=e(73839),i=e(64534),o=e(90247),u=e(87317),a=e(5872),c=e(62641),s=e(24644),l=e(13063),f=e(12017),d=e(65680);function v(n,t){return p.apply(this,arguments)}function p(){return(p=(0,r._)(function(n,t){var e,v,p,m,g,x,_,w,b,j,E,R;function k(){return(k=(0,r._)(function(n){return(0,u.Jh)(this,function(t){return[2,h(a.cloneElement(n,{_internal_context:v}),R)]})})).apply(this,arguments)}function A(){return(A=(0,r._)(function(n,t){return(0,u.Jh)(this,function(e){return[2,y(n,R,t)]})})).apply(this,arguments)}return(0,u.Jh)(this,function(r){switch(r.label){case 0:var u;if(e=(0,f.T)(),v=(0,s.zv)(e),p=function(n){return e.init({context:n},{onLast:function(n){var t=n.context,e=(0,c.Hb)();return null==e?void 0:e(t)}})},!(void 0===(u=t)||"string"==typeof u||"undefined"!=typeof HTMLElement&&(0,i._)(u,HTMLElement)))return[3,2];return m=function(n){return k.apply(this,arguments)},g=function(n,t){return A.apply(this,arguments)},j=Object.keys(b=(null==(w=window._SSR_DATA)?void 0:null===(x=w.data)||void 0===x?void 0:x.loadersData)||{}).reduce(function(n,t){var e=b[t];return(null==e?void 0:e.loading)!==!1?n:(n[t]=e,n)},{}),Object.assign(v,(0,o._)({loaderManager:(0,l.K)(j,{skipStatic:!0})},w?{ssrContext:null==w?void 0:w.context}:{})),v.initialData=null==w?void 0:null===(_=w.data)||void 0===_?void 0:_.initialData,[4,p(v)];case 1:if((E=r.sent())&&(v.initialData=E),R=t&&"string"!=typeof t?t:document.getElementById(t||"root"),w)return[2,(0,d.a)(n,v,m,g)];return[2,m(n)];case 2:throw Error("`render` function needs id in browser environment, it needs to be string or element")}})})).apply(this,arguments)}function h(n,t){return m.apply(this,arguments)}function m(){return(m=(0,r._)(function(n,t){var r;return(0,u.Jh)(this,function(i){switch(i.label){case 0:return[4,e.e("58").then(e.t.bind(e,60182,19))];case 1:return(r=i.sent().createRoot(t)).render(n),[2,r]}})})).apply(this,arguments)}function g(n,t){return x.apply(this,arguments)}function x(){return(x=(0,r._)(function(n,t){return(0,u.Jh)(this,function(r){switch(r.label){case 0:return[4,Promise.resolve().then(e.t.bind(e,13922,19))];case 1:return r.sent().render(n,t),[2,t]}})})).apply(this,arguments)}function y(n,t){return _.apply(this,arguments)}function _(){return(_=(0,r._)(function(n,t){return(0,u.Jh)(this,function(r){switch(r.label){case 0:return[4,e.e("58").then(e.t.bind(e,60182,19))];case 1:return[2,r.sent().hydrateRoot(t,n)]}})})).apply(this,arguments)}function w(n,t,e){return b.apply(this,arguments)}function b(){return(b=(0,r._)(function(n,t,r){return(0,u.Jh)(this,function(i){switch(i.label){case 0:return[4,Promise.resolve().then(e.t.bind(e,13922,19))];case 1:return[2,i.sent().hydrate(n,t,r)]}})})).apply(this,arguments)}},81492:function(n,t,e){"use strict";e.d(t,{r:function(){return i}});var r=e(5872),i=function(n){var t=n.callback,e=n.children,i=(0,r.useRef)(!1);return(0,r.useLayoutEffect)(function(){if(!i.current)i.current=!0,t()},[t]),e}},24348:function(n,t,e){"use strict";var r,i;e.d(t,{N:function(){return r}}),(i=r||(r={}))[i.CLIENT_RENDER=0]="CLIENT_RENDER",i[i.SERVER_PREFETCH=1]="SERVER_PREFETCH",i[i.SERVER_RENDER=2]="SERVER_RENDER"},62641:function(n,t,e){"use strict";e.d(t,{CH:function(){return s},FM:function(){return o},Hb:function(){return a},cE:function(){return i},jn:function(){return u},nB:function(){return c}});var r={};function i(n){r.App=n.App,r.routes=n.routes,r.appInit=n.appInit,r.appConfig="function"==typeof n.appConfig?n.appConfig():n.appConfig,r.layoutApp=n.layoutApp}function o(){return r.App}function u(){return r.routes}function a(){var n,t;return r.appInit||(null===(n=o())||void 0===n?void 0:n.init)||(null===(t=s())||void 0===t?void 0:t.init)}function c(){var n,t;return r.appConfig||(null===(n=o())||void 0===n?void 0:n.config)||(null===(t=s())||void 0===t?void 0:t.config)}function s(){return r.layoutApp}},24644:function(n,t,e){"use strict";e.d(t,{JO:function(){return u},zv:function(){return a}});var r=e(5872),i=e(63415),o=e(13063),u=(0,r.createContext)({});(0,r.createContext)({});var a=function(n){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],e=arguments.length>2?arguments[2]:void 0;return{loaderManager:(0,o.K)({}),runner:n,isBrowser:t,routeManifest:e||"undefined"!=typeof window&&window[i.p9]}}},13063:function(n,t,e){"use strict";e.d(t,{K:function(){return p}});var r,i,o=e(73839),u=e(64534),a=e(70749),c=e(44518),s=e(87317),l=e(24546),f=e.n(l),d=function(){var n=new Map;return function(t){var e=n.get(t);if(e)return e;var r=JSON.stringify(t);return f()(r,"params should be not null value"),n.set(t,r),r}};(r=i||(i={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var v=function(n){var t,e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=0,f=r.data,d=r.error,v=!1,p=new Set;var h=(t=(0,o._)(function(){return(0,s.Jh)(this,function(n){return a||1===l?[2,e]:(l=1,g(),[2,e=i().then(function(n){f=n,d=null,l=2}).catch(function(n){d=n,f=null,l=3}).finally(function(){e=null,v=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!v&&1===l,reloading:v&&1===l,data:f,error:(0,u._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,c._)(p).forEach(function(n){n(l,m())})};return{get result(){return m()},get promise(){return e},onChange:function(n){return p.add(n),function(){p.delete(n)}},load:h}},p=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.skipStatic,i=void 0!==r&&r,c=e.skipNonStatic,l=void 0!==c&&c,f=new Map,p=d();return{hasPendingLoaders:function(){var n=!0,t=!1,e=void 0;try{for(var r,i=f.values()[Symbol.iterator]();!(n=(r=i.next()).done);n=!0){var o=r.value.promise;if((0,u._)(o,Promise))return!0}}catch(n){t=!0,e=n}finally{try{!n&&null!=i.return&&i.return()}finally{if(t)throw e}}return!1},awaitPendingLoaders:(t=(0,o._)(function(){var n,t,e,r,i,o,c,l,d,v;return(0,s.Jh)(this,function(s){switch(s.label){case 0:n=[],t=!0,e=!1,r=void 0;try{for(i=f[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)l=(c=(0,a._)(o.value,2))[0],v=(d=c[1]).promise,(0,u._)(v,Promise)&&n.push([l,d])}catch(n){e=!0,r=n}finally{try{!t&&null!=i.return&&i.return()}finally{if(e)throw r}}return[4,Promise.all(n.map(function(n){return n[1].promise}))];case 1:return s.sent(),[2,n.reduce(function(n,t){var e=(0,a._)(t,2),r=e[0],i=e[1];return n[r]=i.result,n},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,e){var r=p(e.params),o=f.get(r),u=e._cache;if(!o||!1===u){var a=l&&!e.static,c=i&&e.static;o=v(r,void 0!==n[r]?n[r]:{data:e.initialData},t,a||c),f.set(r,o)}return r},get:function(n){return f.get(n)}}}},15271:function(n,t,e){"use strict";e.d(t,{G:function(){return a}});var r=e(15413),i=(0,r.Jy)(),o=(0,r.DJ)(),u={hoc:i,init:o,pickContext:(0,r.Jy)()},a=(0,r.m_)(u)},71641:function(n,t,e){"use strict";e.d(t,{fE:function(){return c},fo:function(){return a}});var r=e(44518),i=e(11666),o=e(15271),u=e(12017);function a(n,t,e){var i,a=(t||{}).plugins;(i=e||o.G).usePlugin.apply(i,(0,r._)(n).concat((0,r._)(void 0===a?[]:a)));var c=(e||o.G).init();return(0,u.q)(c),c}function c(n){for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return i.merge.apply(void 0,[n].concat((0,r._)(e)))}},12017:function(n,t,e){"use strict";e.d(t,{T:function(){return u},q:function(){return o}});var r,i=e(15271);function o(n){r=n}function u(){if(r)return r;var n=i.G.init();return r=n,n}},23758:function(n,t,e){"use strict";e.d(t,{s:function(){return s}});var r=e(90247),i=e(16170),o=e(86834),u=e(62641),a=e(24644),c=e(12017);function s(n,t){var e=n||(0,u.FM)();return(0,c.T)().hoc({App:e,config:t||{}},{onLast:function(n){var t=n.App;return function(n){var e=n._internal_context,u=(0,i._)(n,["_internal_context"]);return(0,o.jsx)(a.JO.Provider,{value:e,children:(0,o.jsx)(t,(0,r._)({},u))})}}})}},47534:function(n,t,e){"use strict";e.d(t,{M:function(){return i}});var r=e(86834),i=function(){return(0,r.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},21446:function(n,t,e){"use strict";function r(){return null}e.d(t,{Z:function(){return r}})},85371:function(n,t,e){"use strict";e.d(t,{OL:function(){return j},rU:function(){return b}});var r=e(73839),i=e(90247),o=e(16170),u=e(70749),a=e(87317),c=e(86834),s=e(5872),l=e(85852),f=e(58654),d=e(70934),v=e(24644);function p(n,t){return function(e){null==n||n(e),!e.defaultPrevented&&t(e)}}var h=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function m(){return(m=(0,r._)(function(n,t){var r,i;return(0,a.Jh)(this,function(o){switch(o.label){case 0:if(!(r=n.id)||!t[r]||!(i=t[r].chunkIds))return[2];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,Promise.all(i.map(function(n){return null===e.e||void 0===e.e?void 0:e.e(String(n))}))];case 2:return o.sent(),[3,4];case 3:return console.error(o.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var g=function(n,t){var e=window.location,r=e.protocol,i=e.host,o=new URL(n,"".concat(r,"//").concat(i));return o.searchParams.append("__loader",t),o.searchParams.append("__ssrDirect","true"),o},x=function(n,t,e){var r,i=n.id;return r=g("/"===e?t:"".concat(e).concat(t),i).toString(),(0,c.jsx)("link",{rel:"prefetch",as:"fetch",href:r},r)},y=function(n){var t=n.path,e=t.pathname,r=(0,s.useContext)(v.JO),i=r.routeManifest,o=r.routes,u=(i||{}).routeAssets,a=Array.isArray(o)?(0,l.fp)(o,e):[];return(Array.isArray(a)&&u&&(null==a||a.forEach(function(n){return function(n,t){return m.apply(this,arguments)}(n.route,u)})),window._SSR_DATA)?(0,c.jsx)(_,{matches:a,path:t,routeManifest:i}):null},_=function(n){var t=n.matches,e=n.path,r=n.routeManifest,i=e.pathname,o=e.search,u=e.hash,a=(0,f.SN)(),l=(0,f.oQ)("/"),d=(0,s.useMemo)(function(){return null==t?void 0:t.filter(function(n,t){if(!n.route.loader||"function"!=typeof n.route.loader||0===n.route.loader.length)return!1;if(n.route.shouldRevalidate){var e,r=new URL(location.pathname+location.search+location.hash,window.origin),c=new URL(i+o+u,window.origin),s=n.route.shouldRevalidate({currentUrl:r,currentParams:(null===(e=a[0])||void 0===e?void 0:e.params)||{},nextUrl:c,nextParams:n.params,defaultShouldRevalidate:!0});if("boolean"==typeof s)return s}var l=a[t];return!!(!l||l.id!==n.route.id||l.pathname!==n.pathname||l.pathname.endsWith("*")&&l.params["*"]!==n.params["*"])||!1}).map(function(n){return x(n.route,i,l)})},[t,i,r]);return(0,c.jsx)(c.Fragment,{children:d})},w=function(n){return s.forwardRef(function(t,r){var a,l,d,v,m,g,x,_,w,b,j,E,R,k,A,S=t.to,C=t.prefetch,L=(0,o._)(t,["to","prefetch"]),N="string"==typeof S&&h.test(S);var P=(0,u._)((a=void 0===C?"none":C,l=L,v=(d=(0,u._)(s.useState(!1),2))[0],m=d[1],x=(g=(0,u._)(s.useState(!1),2))[0],_=g[1],w=l.onFocus,b=l.onBlur,j=l.onMouseEnter,E=l.onMouseLeave,R=l.onTouchStart,s.useEffect(function(){"render"===a&&_(!0)},[a]),k=function(){"intent"===a&&m(!0)},A=function(){"intent"===a&&(m(!1),_(!1))},s.useEffect(function(){if(v){var n=setTimeout(function(){_(!0)},100);return function(){clearTimeout(n)}}},[v]),[x,{onFocus:p(w,k),onBlur:p(b,A),onMouseEnter:p(j,k),onMouseLeave:p(E,A),onTouchStart:p(R,k)}]),2),O=P[0],M=P[1],D=(0,f.WU)(S);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n,(0,i._)({ref:r,to:S},L,M)),O&&e.e&&!N?(0,c.jsx)(y,{path:D}):null]})})},b=w(d.rU);b.displayName="Link";var j=w(d.OL);j.displayName="NavLink"},68705:function(n,t,e){"use strict";e.d(t,{P:function(){return r}});var r=(0,e(15413).Zz)()},90979:function(n,t,e){"use strict";e.d(t,{OL:function(){return r.OL},OL:function(){return i.OL},rU:function(){return r.rU},rU:function(){return i.rU}}),e(29552);var r=e(78771),i=e(85371)},29552:function(n,t,e){"use strict";e.d(t,{NA:function(){return g}});var r=e(90247),i=e(55709),o=e(44518),u=e(86834),a=e(5872),c=e(58654),s=e(70934),l=e(89736),f=e(62641),d=e(24644),v=e(68705),p=e(78923),h={routes:[]},m=!0,g=function(n){var t=n.serverBase,e=void 0===t?[]:t,m=n.supportHtml5History,g=void 0===m||m,x=n.basename,y=void 0===x?"":x,_=n.routesConfig,w=n.createRoutes,b=[];return h=(0,r._)({routes:(0,f.jn)(),globalApp:(0,f.CH)()},_),window._SERVER_DATA=(0,l.$)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:v.P},setup:function(n){return{init:function(n,t){var e=n.context;return e.router={useMatches:c.SN,useLocation:c.TH,useHref:c.oQ},Object.defineProperty(e,"routes",{get:function(){return b}}),t({context:e})},hoc:function(t,l){var f,v=t.App,m=t.config;if(!h.routes&&!w)return l({App:v,config:m});return l({App:(f=function(t){var u,l,f,v=((null==m?void 0:null===(l=m.router)||void 0===l?void 0:l.basename)||(null===(f=window._SERVER_DATA)||void 0===f?void 0:f.router.baseUrl)||(u=location.pathname,e.find(function(n){return 0===u.search(n)})||"/")).replace(/^\/*/,"/"),x="/"===v?(0,p.e5)(v,y):v,_=window._ROUTER_DATA,j=(0,a.useContext)(d.JO),E=j.unstable_getBlockNavState;return(0,a.useMemo)(function(){(null==_?void 0:_.errors)&&(_=(0,i._)((0,r._)({},_),{errors:(0,p.SY)(_.errors)})),b=w?w():(0,c.i7)((0,p.Ho)({routesConfig:h,props:t})),b=n.useHookRunners().modifyRoutes(b);var e=g?(0,s.aj)(b,{basename:x,hydrationData:_}):(0,s.cP)(b,{basename:x,hydrationData:_}),u=e.subscribe;return e.subscribe=function(n){return u(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!(E&&E()))return n.apply(void 0,(0,o._)(e))})},Object.defineProperty(j,"remixRouter",{get:function(){return e},configurable:!0}),e},[h,t,x,_,E])},function(n){var t=f(n);return(0,u.jsx)(s.pG,{router:t})}),config:m})},pickContext:function(n,t){var e=n.context,o=n.pickedContext,u=e.remixRouter;if(!u)return t({context:e,pickedContext:o});var a={navigate:u.navigate,get location(){return u.state.location}};return t({context:e,pickedContext:(0,i._)((0,r._)({},o),{router:a})})}}}}}},83366:function(n,t,e){"use strict";e.d(t,{RC:function(){return i},UC:function(){return u},u3:function(){return o}});var r=e(63415),i=function(n){return function(t){var e,i,o=null===(i=window)||void 0===i?void 0:null===(e=i[r.u$])||void 0===e?void 0:e[n];return o&&"function"==typeof o.shouldRevalidate?o.shouldRevalidate(t):t.defaultShouldRevalidate}},o=function(n,t){return"undefined"!=typeof document&&(window[r.u$][t]=n),n},u=function(n){return console.error(n),null}},78923:function(n,t,e){"use strict";e.d(t,{Ho:function(){return d},SY:function(){return p},e5:function(){return v}});var r=e(90247),i=e(16170),o=e(70749),u=e(86834),a=e(58654),c=e(85852),s=e(8921),l=e(47534),f=e(21446);function d(n){var t=n.routesConfig,e=n.props,o=n.ssrMode,c=n.reporter;if(!t)return null;var d=t.routes,v=t.globalApp;return d?function(n,t){var e=t.globalApp,o=t.ssrMode,c=t.props,d=t.reporter,v=function(n){var t=n.Component,o=(0,i._)(n,["Component"]);return e?(0,u.jsx)(e,(0,r._)({Component:t},o)):(0,u.jsx)(t,(0,r._)({},o))},p=[],h=!0,m=!1,g=void 0;try{for(var x,y=n[Symbol.iterator]();!(h=(x=y.next()).done);h=!0){var _=x.value;if("nested"===_.type){var w=(0,s.F)(_,{DeferredDataComponent:"stream"===o?f.Z:void 0,props:c,reporter:d});p.push(w)}else{var b=(0,u.jsx)(a.AW,{path:_.path,element:(0,u.jsx)(v,{Component:_.component})},_.path);p.push(b)}}}catch(n){m=!0,g=n}finally{try{!h&&null!=y.return&&y.return()}finally{if(m)throw g}}return p.push((0,u.jsx)(a.AW,{path:"*",element:(0,u.jsx)(l.M,{})},"*")),p}(d,{globalApp:v,ssrMode:o,props:e,reporter:c}):null}var v=function(){for(var n=arguments.length,t=Array(n),e=0;e<n;e++)t[e]=arguments[e];var r=RegExp("".concat("/","{1,}"),"g");return function(n){var t=n;return t&&"string"==typeof t?(t.startsWith(".")&&(t=t.slice(1)),!t.startsWith("/")&&(t="/".concat(t)),t.endsWith("/")&&"/"!==t&&(t=t.slice(0,t.length-1)),t):t}(t.join("/").replace(r,"/"))};function p(n){if(!n)return null;var t=Object.entries(n),e={},r=!0,i=!1,u=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=(0,o._)(a.value,2),f=l[0],d=l[1];if(d&&"RouteErrorResponse"===d.__type)e[f]=new c.OF(d.status,d.statusText,d.data,!0===d.internal);else if(d&&"Error"===d.__type){var v=Error(d.message);v.stack=d.stack,e[f]=v}else e[f]=d}}catch(n){i=!0,u=n}finally{try{!r&&null!=s.return&&s.return()}finally{if(i)throw u}}return e}},15413:function(n,t,e){"use strict";e.d(t,{DJ:function(){return d},Jy:function(){return f},Zz:function(){return h},m_:function(){return M}});var r=e(18360),i=e(90247),o=e(44518),u=e(55709),a=e(76492),c=function(n){var t=function(e,r){return n(e,r,function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return t(e+1,n)})};return{start:function(n){return t(0,n)},dispatch:t}},s=Symbol.for("MODERN_PIPELINE"),l=function(n){if("function"==typeof n)return n;if(n&&"function"==typeof n.middleware)return n.middleware;throw Error("".concat(n," is not a Middleware"))},f=function(){var n,t=[],e=function(n){return c(function(e,r,i){if(e>=t.length){if(n)return n(r);throw Error("Expect returning a value, but all middlewares just calling next()")}return t[e](r,i)})},i=e(),u=function(n,t){var r;return((r=t)?e(null==r?void 0:r.onLast):i).start(n)},a=(n={},(0,r._)(n,s,!0),(0,r._)(n,"use",function(){for(var n=arguments.length,e=Array(n),r=0;r<n;r++)e[r]=arguments[r];return t.push.apply(t,(0,o._)(e.map(l))),a}),(0,r._)(n,"run",u),(0,r._)(n,"middleware",function(n,t){return u(n,{onLast:t})}),n);return a},d=function(){var n=f();return(0,i._)({},n)},v=Symbol.for("MODERN_WATERFALL"),p=function(n){if("function"==typeof n)return n;if(n&&"function"==typeof n.middleware)return n.middleware;throw Error("".concat(n," is not a Brook or { brook: Brook }"))},h=function(){var n=f(),t=(0,u._)((0,i._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.use.apply(n,(0,o._)(r.map(p).map(m))),t},run:function(t,e){return n.run(t,(0,u._)((0,i._)({},e),{onLast:function(n){return n}}))},middleware:function(t){return n.run(t,{onLast:function(n){return n}})}},v,!0));return t},m=function(n){return function(t,e){return e(n(t))}},g=Symbol.for("MODERN_ASYNC_WATERFALL"),x=function(n){if("function"==typeof n)return n;if(n&&"function"==typeof n.middleware)return n.middleware;throw Error("".concat(n," is not a AsyncBrook or { brook: AsyncBrook }"))},y=function(){var n=d(),t=(0,u._)((0,i._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.use.apply(n,(0,o._)(r.map(x).map(_))),t},run:function(t,e){return n.run(t,(0,u._)((0,i._)({},e),{onLast:function(n){return n}}))},middleware:function(t){return n.run(t,{onLast:function(n){return n}})}},g,!0));return t},_=function(n){return function(t,e){return Promise.resolve(n(t)).then(function(n){return e(n)})}},w=Symbol.for("MODERN_WORKFLOW"),b=function(){var n=f(),t=(0,u._)((0,i._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.use.apply(n,(0,o._)(r.map(j))),t},run:function(t){return n.run(t,{onLast:function(){return[]}}).filter(Boolean)}},w,!0));return t},j=function(n){return function(t,e){return[n(t)].concat((0,o._)(e(t)))}},E=Symbol.for("MODERN_PARALLEL_WORKFLOW"),R=function(){var n=f(),t=(0,u._)((0,i._)({},n),(0,r._)({run:function(t){return Promise.all(n.run(t,{onLast:function(){return[]}})).then(function(n){return n.filter(Boolean)})},use:function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.use.apply(n,(0,o._)(r.map(k))),t}},E,!0));return t},k=function(n){return function(t,e){return[n(t)].concat((0,o._)(e(t)))}},A=Symbol.for("MODERN_ASYNC_WORKFLOW"),S=function(){var n=d(),t=(0,u._)((0,i._)({},n),(0,r._)({use:function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return n.use.apply(n,(0,o._)(r.map(C))),t},run:function(t){var e,r=n.run(t,{onLast:function(){return[]}});return(e=r)&&"function"==typeof e.then?r.then(function(n){return n.filter(Boolean)}):r.filter(Boolean)}},A,!0));return t},C=function(n){return function(t,e){return Promise.resolve(n(t)).then(function(n){return Promise.resolve(e(t)).then(function(t){return[n].concat((0,o._)(t))})})}},L=function(n){},N=function(n){return null!==n&&"object"==typeof n},P="SYNC_PLUGIN_SYMBOL",O={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},M=function(n,t){var e,r=0,o=(0,i._)({},n),c=function(){return e},s=function(n){o=(0,i._)({},n,o)},l=function(n){var t,e;return N(n)&&(t=n,e=P,t.hasOwnProperty(e))&&n[P]===P},f=(0,u._)((0,i._)({},t),{useHookRunners:c}),d=function(n){var t=[],v=function(n){var e,r;if(e=t,r=n,!e.some(function(n){return n.name===r.name}))t.push((0,i._)({},n))},p=function(){for(var n=arguments.length,t=Array(n),e=0;e<n;e++)t[e]=arguments[e];return t.forEach(function(n){if(l(n))v(n);else if("function"==typeof n){var t=n();v(h(t.setup,t))}else N(n)&&v(h(n.setup,n))}),m},h=function(){var n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===(n=e.usePlugins)||void 0===n?void 0:n.length)&&e.usePlugins.forEach(function(n){p(h(n.setup,n))}),e.registerHook&&s(e.registerHook),(0,u._)((0,i._)((0,u._)((0,i._)({},O),{name:"No.".concat(r++," plugin")}),e),{SYNC_PLUGIN_SYMBOL:P,setup:t})},m={createPlugin:h,isPlugin:l,usePlugin:p,init:function(){var r,u=(r=t,(0,a.v)(r.slice())),c=(0,i._)({},f,n);return L(u),e=D(u.map(function(n){return n.setup(c)}),o)},clear:function(){t=[]},run:function(n){return n()},registerHook:s,useRunner:c,clone:d};return m};return d()},D=function(n,t){var e={},r=H(t);if(t){var o=function(t){n.forEach(function(n){(null==n?void 0:n[t])&&r[t].use(n[t])}),e[t]=function(n,e){return r[t].run(n,(0,i._)({},e))}};for(var u in r)o(u)}return e},T=function(n){var t,e,r,i,o,u;if(null==(t=n)?void 0:t[v])return h();if(null==(e=n)?void 0:e[g])return y();if(null==(r=n)?void 0:r[w])return b();if(null==(i=n)?void 0:i[A])return S();if(null==(o=n)?void 0:o[E])return R();if(null==(u=n)?void 0:u[s])return f();throw Error("Unknown hook: ".concat(n))},H=function(n){if(!n)return n;var t={};for(var e in n)t[e]=T(n[e]);return t}},8921:function(n,t,e){"use strict";e.d(t,{F:function(){return d}});var r=e(73839),i=e(90247),o=e(55709),u=e(87317),a=e(86834),c=e(5872),s=e(58654),l=e(63415),f=e(67791),d=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},p=n.children,h=n.index,m=n.id,g=n.component,x=n.isRoot,y=n.lazyImport,_=n.config,w=n.handle,b=e.parent,j=e.props,E=e.reporter,R={caseSensitive:n.caseSensitive,path:n.path,id:n.id,loader:function(n,t){var e,i=n.loader;if(!i)return function(){return"function"==typeof n.lazyImport&&n.lazyImport(),null};return e=(0,r._)(function(e){var r,o,a;return(0,u.Jh)(this,function(u){switch(u.label){case 0:return"function"==typeof n.lazyImport&&n.lazyImport(),r=(0,f.X)(),[4,i(e)];case 1:return o=u.sent(),a=r(),"undefined"==typeof document&&t&&(null==t||t.reportTiming("".concat(l.m5,"-").concat(n.id),a)),[2,o]}})}),function(n){return e.apply(this,arguments)}}(n,E),action:n.action,hasErrorBoundary:n.hasErrorBoundary,shouldRevalidate:n.shouldRevalidate,handle:(0,i._)({},w,"object"==typeof _?null==_?void 0:_.handle:{}),index:n.index,element:n.element,errorElement:n.errorElement};if(n.error){var k=(0,a.jsx)(n.error,{});R.errorElement=k}if(g){if((null==b?void 0:b.loading)&&y){var A=b.loading;t=v(g)?(0,a.jsx)(g,{fallback:(0,a.jsx)(A,{})}):(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(A,{}),children:(0,a.jsx)(g,{})})}else t=v(g)&&y?(0,a.jsx)(g,{}):x?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(g,(0,i._)({},void 0===j?{}:j))}):y?(0,a.jsx)(c.Suspense,{fallback:null,children:(0,a.jsx)(g,{})}):(0,a.jsx)(g,{})}else n.loading=null==b?void 0:b.loading,R.element=(0,a.jsx)(s.j3,{});t&&(R.element=t);var S=null==p?void 0:p.map(function(t){return d(t,{parent:n,reporter:E})});return h?(0,a.jsx)(s.AW,(0,o._)((0,i._)({},R),{index:!0}),m):(0,a.jsx)(s.AW,(0,o._)((0,i._)({},R),{index:!1,children:S}),m)};function v(n){return n&&"Loadable"===n.displayName&&n.preload&&"function"==typeof n.preload}},89736:function(n,t,e){"use strict";e.d(t,{$:function(){return r}});var r=function(n){var t=document.querySelectorAll("#".concat(n));if(0!==t.length){var e=t[t.length-1];if(e)try{return JSON.parse((null==e?void 0:e.textContent)||"")}catch(t){console.error("parse ".concat(n," error"),t)}}}},78771:function(n,t,e){"use strict";e.d(t,{OL:function(){return r.OL},rU:function(){return r.rU}});var r=e(70934)},67791:function(n,t,e){"use strict";e.d(t,{X:function(){return u}});var r=e(70749);function i(n){var t=.001*new Date().getTime(),e=Math.floor(t),r=Math.floor(t%1*1e9);return n&&(e-=n[0],(r-=n[1])<0&&(e--,r+=1e9)),[e,r]}var o=function(n){var t=(0,r._)(i(n),2);return 1e3*t[0]+t[1]/1e6},u=function(){var n=i();return function(){return o(n)}}},60950:function(n,t,e){"use strict";function r(n){return"/"===n?n:n.replace(/\/+$/,"")}e.d(t,{_:function(){return r}})},11666:function(n,t,e){n.exports=e(52493)},63415:function(n,t,e){"use strict";e.d(t,{m5:function(){return o},p9:function(){return r},u$:function(){return i}});var r="_MODERNJS_ROUTE_MANIFEST",i="_routeModules",o="server-loader"},76492:function(n,t,e){"use strict";e.d(t,{v:function(){return r}});var r=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"pre",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"post",i=function(e){var r=n.find(function(n){return"string"==typeof e?n[t]===e:n[t]===e[t]});if(!r)throw Error("plugin ".concat(e," not existed"));return r},o=[];n.forEach(function(u){var a,c;null===(a=u[e])||void 0===a||a.forEach(function(e){n.find(function(n){return n.name===e})&&o.push([i(e)[t],i(u)[t]])}),null===(c=u[r])||void 0===c||c.forEach(function(e){n.find(function(n){return n.name===e})&&o.push([i(u)[t],i(e)[t]])})});for(var u=n.filter(function(n){return!o.find(function(e){return e[1]===n[t]})}),a=[];u.length;)!function(){var e=u.shift();a.push(i(e)),o=o.filter(function(n){return n[0]!==i(e)[t]}),u=n.filter(function(n){return!a.find(function(e){return e[t]===n[t]})}).filter(function(n){return!o.find(function(e){return e[1]===n[t]})})}();if(o.length){var c={};throw o.forEach(function(n){c[n[0]]=!0,c[n[1]]=!0}),Error("plugins dependencies has loop: ".concat(Object.keys(c).join(",")))}return a}},94705:function(n,t,e){"use strict";e.d(t,{O:function(){return p}});var r=e(90247),i=e(55709),o=e(86834);e(5872);var u=e(52493),a=e.n(u),c=e(99231),s=e(60441),l=e(58654),f=e(99593),d=e(1390);let v=n=>{let{location:t,handle:e}=n;if(!a().isObject(e)&&a().isNil(e))return[];let{breadcrumb:r}=e,i=[];a().isFunction(r)?i.push(...a().castArray(r({location:t}))):i.push(...a().castArray(r));let o=[];for(let t of i){if(!a().isObject(t)||a().isNull(t)||!("title"in t))continue;let e={id:n.id,title:t.title,pathname:n.pathname};"pathname"in t&&a().isString(t.pathname)&&(e.pathname=t.pathname),o.push(e)}return o},p=n=>{let t=[],e=(0,l.SN)(),u=(0,l.TH)(),a=[];for(let n of e)a.push(...v((0,i._)((0,r._)({},n),{location:u})));for(let[n,e]of(u.state&&"breadcrumb"in u.state&&a.push(...v({handle:u.state.breadcrumb,pathname:u.pathname,id:"external/".concat(u.pathname),location:u})),Object.entries(a))){let r=[e.id,e.pathname,n];t.push((0,o.jsx)(d.r,{color:"gray",size:"2",to:e.pathname,children:e.title},r.join("_"))),e!==a.at(-1)&&(r.push("#connector"),t.push((0,o.jsx)(s.XCv,{className:f.Z.connector},r.join("_"))))}return(0,o.jsx)(c.kC,(0,i._)((0,r._)({align:"center",height:"var(--space-8)",gap:"1",px:"4"},n),{children:t}))}},22962:function(n,t,e){"use strict";e.d(t,{f:function(){return a}});var r=e(5872),i=e(58654),o=e(15112);let u="";o.T.then(n=>{let{mountPoint:t}=n;t.hooks.hookOnce("pullUp",async n=>{u=n})});let a=()=>{let n=(0,i.s0)(),{mountPoint:t}=(0,o.k)();return(0,r.useEffect)(()=>{u&&n(u),t.hooks.hook("pullUp",async t=>{n(t)})},[]),null}},26678:function(n,t,e){"use strict";e.d(t,{M:function(){return c}});var r=e(86834),i=e(5872),o=e(58654),u=e(99231);let a=n=>{let{error:t}=n,e=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",i=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(u.xu,{p:"4",children:[(0,r.jsx)(u.X6,{as:"h4",mb:"4",children:(0,r.jsx)(u.xv,{as:"span",children:e})}),(0,r.jsx)(u.Kx,{disabled:!0,style:{height:"50vh"},value:i})]})},c=()=>{let n=(0,o.lk)();return(0,i.useEffect)(()=>{console.error(n)},[n]),(0,r.jsx)(a,{resetErrorBoundary:()=>null,error:n})}},55368:function(n,t,e){"use strict";e.d(t,{O:function(){return a}});var r=e(86834);e(5872);var i=e(99231),o=e(29214),u=e(22808);let a=n=>{let{title:t,children:e}=n;return(0,r.jsxs)(i.kC,{className:u.Z.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(i.kC,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(o.fd$,{size:"36"})}),(0,r.jsxs)(i.xu,{children:[(0,r.jsx)(i.kC,{height:"var(--space-9)",align:"center",children:(0,r.jsx)(i.X6,{children:t})}),(0,r.jsx)(i.xu,{className:u.Z.children,children:e})]})]})}},1390:function(n,t,e){"use strict";e.d(t,{r:function(){return s}});var r=e(90247),i=e(55709),o=e(16170),u=e(86834),a=e(90979),c=e(99231);let s=n=>{var{to:t,children:e}=n,s=(0,o._)(n,["to","children"]);return(0,u.jsx)(c.rU,(0,i._)((0,r._)({},s),{asChild:!0,children:(0,u.jsx)(a.rU,{to:t,children:e})}))}},41294:function(n,t,e){"use strict";e.d(t,{l:function(){return a}});var r=e(86834);e(5872);var i=e(99231),o=e(58654),u=e(85852);let a=n=>{let{items:t}=n,e=(0,o.s0)(),a=(0,o.TH)(),c=t.find(n=>(0,u.LX)(n.to,a.pathname));return(0,r.jsxs)(i.Ph.fC,{size:"1",value:null==c?void 0:c.to,onValueChange:e,children:[(0,r.jsx)(i.Ph.xz,{}),(0,r.jsx)(i.Ph.VY,{position:"popper",children:t.map(n=>{let{title:t,to:e}=n;return(0,r.jsx)(i.Ph.ck,{value:e,children:t},e)})})]})}},54882:function(n,t,e){"use strict";e.d(t,{Q:function(){return l}});var r=e(90247),i=e(55709),o=e(16170),u=e(86834),a=e(5872),c=e(99231),s=e(97137);let l=n=>{var{children:t}=n,e=(0,o._)(n,["children"]);let[l]=(0,s.U)();return(0,a.useEffect)(()=>{document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(l)},[l]),(0,u.jsx)(c.Q2,(0,i._)((0,r._)({},e),{appearance:l,children:t}))}},15112:function(n,t,e){"use strict";e.d(t,{T:function(){return R},k:function(){return k}});var r=e(90247),i=e(55709),o=e(86834),u=e(10487),a=e(88739),c=e(65872),s=e(52493),l=e.n(s),f=e(29214),d=e(54201),v=e(3570),p=e(55058),h=e(81733),m=e(66499),g=e(77632),x=e(64542);let y=async()=>{let n=await u.MessagePortChannel.link(window.parent,"channel:connect:client"),t=(0,c.Hu)();return{remote:(0,a.Fu)({async pullUp(n){await t.callHook("pullUp",n)}},(0,i._)((0,r._)({},n.handlers),{timeout:8e3})),hooks:t}};class _ extends Error{constructor(n){super(),this.name="InitializeManifestError",this.cause=n,this.message="Failed to initialize manifest of DevTools"}}let w=async n=>{let t=await fetch(n);try{let n=await t.text();return JSON.parse(n,(0,u.reviver)())}catch(n){throw new _(n)}},b=async(n,t)=>{let e=new URL(n,location.href),o=new window.WebSocket(e),s=await u.WebSocketChannel.link(o),l=(0,c.Hu)(),f=(0,a.Fu)({async refresh(){location.reload()},async applyStateOperations(n){for(let e of n)(0,u.applyOperation)(t,e)}},(0,i._)((0,r._)({},s.handlers),{timeout:5e3}));return{remote:f,hooks:l,url:e}},j=async()=>{let n=g.eg.use(),t=(0,h.sj)([{name:"overview",title:"Overview",icon:(0,o.jsx)(f.VRM,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,o.jsx)(f.pZq,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,o.jsx)(f.OiH,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,o.jsx)(d.Ueg,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,o.jsx)(f.sin,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,o.jsx)(f.KBe,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,o.jsx)(d.BwS,{}),view:{type:"builtin",src:"/doctor"}},{name:"storage",title:"Storage",icon:(0,o.jsx)(f.RMk,{}),view:{type:"builtin",src:"/storage/preset"}}]);for(let e of(await n.callHook("tab:list",t),t))"object"==typeof e.icon&&(e.icon=(0,h.iH)(e.icon)),"external"===e.view.type&&(e.view.component=(0,h.iH)(e.view.component));return t},E=async n=>{let t=new x.S,e=t.bindRemote(n.remote,"sendReactDevtoolsData");await n.remote.activateReactDevtools();let r=(0,v.createBridge)(window.parent,t);r.shutdown=()=>null;let i=(0,v.createStore)(r),o=(0,v.initialize)(window.parent,{bridge:r,store:i});return{store:i,bridge:r,wallAgent:t,unreg:e,Renderer:o}},R=(async n=>{var t;let e=(0,p.mB)((0,p.Lk)(n).search),o=null!==(t=l().castArray(e.src)[0])&&void 0!==t?t:(0,p.As)(n,"manifest"),u=y(),a=w(o),c=a.then(n=>n.websocket?b(n.websocket,(0,h.sj)(n)):null),s=a.then(n=>{let t=n.context.def.plugins;return(0,g.rh)(t)}).then(j),f=u.then(E),[d,v,m,x,_]=await Promise.all([u,a,c,s,f]);return(0,h.sj)((0,i._)((0,r._)({},v),{version:"2.55.0",tabs:x,server:m?(0,h.iH)(m):null,mountPoint:(0,h.iH)(d),react:{devtools:{store:(0,h.iH)(_.store),bridge:(0,h.iH)(_.bridge),wallAgent:(0,h.iH)(_.wallAgent),unreg:(0,h.iH)(_.unreg),Renderer:(0,h.iH)(_.Renderer)}}}))})(location.href),k=()=>(0,m.D$)(R)},65507:function(n,t,e){"use strict";var r=e(85852);t.Z=n=>{let{params:t}=n;if(!t.toolkit||!t.type)return(0,r.uX)("/404");if(!["framework","builder","bundler"].includes(t.toolkit))return(0,r.uX)("/404");if(!["resolved","transformed"].includes(t.type))return(0,r.uX)("/404");else return null}},6032:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},39631:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return d}});var r=e(86834);e(5872);var i=e(99231),o=e(58654),u=e(52493),a=e.n(u),c=e(5241);let s=n=>{let{name:t,describe:e}=n,o=e.map(n=>(0,r.jsx)(i.xv,{style:{display:"block"},children:n},n));return(0,r.jsx)(i.u,{className:c.Z.tooltip,side:"right",content:o,children:(0,r.jsx)(i.Ph.ck,{value:t,children:(0,r.jsx)(i.xu,{children:a().startCase(t)})})},t)},l=[{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."]}],f=[{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."]}],d={breadcrumb:[{title:"Config"},{title:(0,r.jsx)(()=>{let n=(0,o.TH)(),t=(0,o.s0)(),[e,u]=n.pathname.split("/").slice(2);return(0,r.jsxs)(i.Ph.fC,{size:"1",value:e,onValueChange:n=>{t("/config/".concat(n,"/").concat(u))},children:[(0,r.jsx)(i.Ph.xz,{children:e}),(0,r.jsx)(i.Ph.VY,{children:l.map(n=>{let{name:t,describe:e}=n;return(0,r.jsx)(s,{name:t,describe:e},t)})})]})},{})},{title:(0,r.jsx)(()=>{let n=(0,o.TH)(),t=(0,o.s0)(),[e,u]=n.pathname.split("/").slice(2);return(0,r.jsxs)(i.Ph.fC,{size:"1",value:u,onValueChange:n=>{t("/config/".concat(e,"/").concat(n))},children:[(0,r.jsx)(i.Ph.xz,{children:u}),(0,r.jsx)(i.Ph.VY,{children:f.map(n=>{let{name:t,describe:e}=n;return(0,r.jsx)(s,{name:t,describe:e},t)})})]})},{})}]}},41434:function(n,t,e){"use strict";var r=e(85852),i=e(55058);t.Z=n=>{let{request:t}=n,e=(0,i.As)(t.url,"./builder/transformed");return(0,r.uX)(e)}},85512:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},12323:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return o}});var r=e(86834),i=e(41294);let o={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(i.l,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},45614:function(n,t,e){"use strict";var r=e(85852),i=e(55058);t.Z=n=>{let{request:t}=n,e=(0,i.As)(t.url,"./builder");return(0,r.uX)(e)}},10258:function(n,t,e){"use strict";var r=e(86834),i=e(58654),o=e(99231),u=e(55058),a=e(79197),c=e(15112),s=e(26678),l=e(55368);t.Z=()=>{let n=(0,i.lk)(),t=(0,c.k)(),{def:e}=(0,a.R)(t).context;if(!(n&&"object"==typeof n&&0===Object.keys(n).length))return(0,r.jsx)(s.M,{});{let n=(0,u.Lk)(e.doctor.quickStart).host,t=(0,r.jsxs)(o.rU,{href:e.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",n]});return(0,r.jsx)(o.xu,{width:"100%",children:(0,r.jsxs)(l.O,{title:"Doctor is not working",children:["Visit the website of ",t," to learn more."]})})}}},58326:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Doctor"}}},56089:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},65825:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return a}});var r=e(52493),i=e.n(r),o=e(15112),u=e(66499);let a={breadcrumb(n){var t;let e;let{pathname:r}=n.location,a=null===(t=r.match(/^\/external\/(\w+)/))||void 0===t?void 0:t[1],{tabs:c}=(0,u.D$)(o.T),s=i().find(c,{name:a});return s?{title:e}=s:e=a?i().startCase(a):"External",{title:e,pathname:r}}}},82557:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},65451:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Header Modifier"}}},47716:function(n,t,e){"use strict";e.d(t,{_:function(){return o}});var r=e(85852),i=e(96575);let o=async()=>{let n=await i.ok.service;return(0,r.uX)(n.rules?"./editor":"./welcome")}},96575:function(n,t,e){"use strict";e.d(t,{gM:function(){return u},m:function(){return a},ok:function(){return s}});var r=e(81733),i=e(52493),o=e.n(i);let u=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(n)),e="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(e);return await navigator.serviceWorker.ready,s.service=await c(),r},a=async()=>{let n=await navigator.serviceWorker.getRegistrations(),t=!0;for(let e of n)t=t&&await e.unregister();return s.service=Promise.resolve({}),t},c=async()=>{for(let n of o().times(3))try{let n=AbortSignal.timeout(300),t=await fetch("/__devtools/service/status",{signal:n});return await t.json()}catch(n){}return{}},s=(0,r.sj)({service:c()})},1920:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return o}});var r=e(86834),i=e(29214);let o={breadcrumb:{title:(0,r.jsx)(i.Zn9,{}),pathname:"/overview"}}},21719:function(n,t,e){"use strict";e.r(t);var r=e(86834);e(75819);var i=e(5872),o=e(4537),u=e(90979),a=e(58654),c=e(99231),s=e(29214),l=e(79197),f=e(96179),d=e(15112),v=e(54882),p=e(94705),h=e(22962),m=e(97137);let g=n=>{let{tab:t}=n,e="";if("builtin"===t.view.type)e=t.view.src;else if("iframe"===t.view.type)e="/iframe/".concat(t.view.src);else if("external"===t.view.type)e="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,i.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(c.u,{content:t.title,side:"right",children:(0,r.jsx)(u.OL,{to:e,className:f.Z.tabButton,children:(0,r.jsx)(c.kC,{justify:"center",align:"center",p:"1",className:f.Z.tabButtonInner,children:(0,r.jsx)(c.xu,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:t.icon})})})})},x=()=>{let{server:n}=(0,l.R)((0,d.k)());return(0,r.jsx)(c.u,{content:n?"Connected":"Disconnected",side:"right",children:(0,r.jsx)(c.xu,{className:f.Z.tabButton,children:(0,r.jsxs)(c.xu,{p:"1",position:"relative",className:f.Z.tabButtonInner,children:[(0,r.jsx)(c.xu,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:(0,r.jsx)(s.Qa9,{})}),(0,r.jsx)(c.xu,{className:f.Z.onlineIndicator,"data-active":!!n})]})})})},y=()=>{let[n,t]=(0,m.U)();return(0,r.jsx)(c.u,{content:"Appearance",side:"right",children:(0,r.jsx)(c.xu,{className:f.Z.tabButton,onClick:()=>{t("light"===n?"dark":"light")},children:(0,r.jsx)(c.kC,{justify:"center",align:"center",p:"1",className:f.Z.tabButtonInner,children:(0,r.jsx)(c.xu,{height:"var(--space-5)",width:"var(--space-5)",asChild:!0,children:"dark"===n?(0,r.jsx)(s.Fxr,{}):(0,r.jsx)(s.YGJ,{})})})})})},_=()=>{let{tabs:n}=(0,l.R)((0,d.k)());return(0,r.jsxs)(c.kC,{direction:"column",flexShrink:"0",className:f.Z.navigator,children:[n.map(n=>(0,r.jsx)(g,{tab:n},n.name)),(0,r.jsx)(c.xu,{flexGrow:"1"}),(0,r.jsx)(x,{}),(0,r.jsx)(y,{})]})};t.default=()=>(0,r.jsx)(v.Q,{className:f.Z.wrapper,accentColor:"blue",panelBackground:"solid",children:(0,r.jsxs)(o.zt,{swipeDirection:"up",children:[(0,r.jsx)(_,{}),(0,r.jsxs)(c.xu,{width:"100%",position:"relative",pt:"4",children:[(0,r.jsx)(c.xu,{width:"100%",height:"100%",position:"relative",children:(0,r.jsx)(a.j3,{})}),(0,r.jsx)(p.O,{className:f.Z.breadcrumbs,height:"2.5rem",position:"absolute",top:"0",left:"0",right:"0"})]}),(0,r.jsx)(h.f,{})]})})},60720:function(n,t,e){"use strict";var r=e(86834),i=e(62809),o=e(54309),u=e(15112),a=e(80936);t.Z=()=>{let{mountPoint:n}=(0,u.k)();return(0,i.Z)(async()=>{n.remote.onFinishRender()}),(0,r.jsx)(a.g,{className:o.Z.loading})}},79273:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},34025:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Overview"}}},83881:function(n,t,e){"use strict";e.d(t,{_:function(){return o}});var r=e(85852),i=e(55058);let o=n=>{let{request:t}=n,e=(0,i.As)(t.url,"./overview");return(0,r.uX)(e)}},90545:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},42509:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Pages"}}},47152:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return o}});var r=e(86834),i=e(41294);let o={breadcrumb:[{title:"React"},{title:(0,r.jsx)(i.l,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},87010:function(n,t,e){"use strict";var r=e(26678);t.Z=r.M},21690:function(n,t,e){"use strict";var r=e(85852),i=e(55058);t.Z=n=>{let{request:t}=n,e=(0,i.As)(t.url,"./components");return(0,r.uX)(e)}},86318:function(n,t,e){"use strict";e.d(t,{_:function(){return a}});var r=e(85852),i=e(52493),o=e.n(i),u=e(15112);let a=async n=>{let{params:t}=n,{id:e}=t;if(!e)throw TypeError("storage preset id is required");let{context:i}=await u.T,{storagePresets:a}=await Promise.resolve(i),c=o().find(a,{id:e});return c?c:(0,r.uX)("/storage/preset")}},26823:function(n,t,e){"use strict";e.r(t),e.d(t,{handle:function(){return r}});let r={breadcrumb:[{title:"Storage"},{title:"Preset"}]}},62739:function(n,t,e){"use strict";e.d(t,{_:function(){return i},a:function(){return o}});var r=e(33049);let i=async n=>await (0,r.l5)(),o=()=>null},34772:function(n,t,e){"use strict";e.d(t,{_:function(){return i}});var r=e(33049);let i=async n=>await (0,r.l5)()},33049:function(n,t,e){"use strict";e.d(t,{SR:function(){return c},dR:function(){return u},f:function(){return s},l5:function(){return l},xq:function(){return a}});var r=e(52493),i=e.n(r),o=e(15112);let u=["cookie","localStorage","sessionStorage"],a={cookie:"yellow",localStorage:"green",sessionStorage:"blue"},c=(n,t)=>i().map(n[t],(e,r)=>{let i=[n.id,t,r].join("//");return{key:r,value:e,type:t,id:i}}),s=n=>{let t=[];for(let e of u)t.push(...c(n,e));return t},l=async n=>{let{mountPoint:t}=await o.T,[e,r,i]=await Promise.all([t.remote.cookies(null==n?void 0:n.cookie),t.remote.localStorage(null==n?void 0:n.localStorage),t.remote.sessionStorage(null==n?void 0:n.sessionStorage)]);return{cookie:e,localStorage:r,sessionStorage:i}}},48168:function(n,t,e){"use strict";e(86834),e(5872)},87757:function(n,t,e){"use strict";e.d(t,{D$:function(){return i}}),e(52493),e(5872);let r=new WeakMap,i=n=>{if(!(n instanceof Promise))return n;if(r.has(n)){let t=r.get(n);if(t instanceof Error)throw t;if(!(t instanceof Promise))return t;else throw t}throw r.set(n,n),n.then(t=>r.set(n,t)).catch(t=>r.set(n,t)),n}},66499:function(n,t,e){"use strict";e.d(t,{D$:function(){return r.D$}}),e(48168);var r=e(87757)},77632:function(n,t,e){"use strict";e.d(t,{eg:function(){return o},rh:function(){return u}});var r=e(10487),i=e(65872);class o extends i.gl{static use(){return!(r.RUNTIME_GLOBALS in window)&&(window[r.RUNTIME_GLOBALS]=new o),window[r.RUNTIME_GLOBALS]}}async function u(n){o.use();let t=n.map(n=>new Promise((t,e)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=n=>e(n),r.src=n,document.head.appendChild(r)}));await Promise.all(t)}}},function(n){var t=function(t){return n(n.s=t)};n.O(0,["118","126","465","567","58","587","707","998"],function(){return t("44541"),t("66038"),t("9001"),t("28651"),t("46073")}),n.O()}]);