@modern-js/devtools-client 0.0.0-nightly-20240321170701 → 0.0.0-nightly-20240323170707

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 (46) hide show
  1. package/dist/html/client/index.html +3 -3
  2. package/dist/html/mount/index.html +3 -3
  3. package/dist/modern.config.json +1 -1
  4. package/dist/routes-manifest.json +62 -62
  5. package/dist/static/js/{610.d7cbe2d6.js → 495.a93e2d57.js} +3 -3
  6. package/dist/static/js/{637.bb6142e6.js → 637.475e5529.js} +2 -2
  7. package/dist/static/js/async/{447.de1c74b3.js → 447.a75f8f65.js} +2 -2
  8. package/dist/static/js/async/client_context/builder/{page.5c3ea615.js → page.214bf78b.js} +2 -2
  9. package/dist/static/js/async/client_context/framework/{page.0cc29303.js → page.6ce6d890.js} +2 -2
  10. package/dist/static/js/async/client_doctor/{page.676c5ee2.js → page.54dfeb79.js} +2 -2
  11. package/dist/static/js/async/client_headers/editor/page.e7f2352a.js +2 -0
  12. package/dist/static/js/async/client_headers/editor/{page.0d45e366.js.LICENSE.txt → page.e7f2352a.js.LICENSE.txt} +13 -13
  13. package/dist/static/js/async/client_headers/{layout.12c73353.js → layout.04a85eb8.js} +2 -2
  14. package/dist/static/js/async/client_overview/{page.4c10470c.js → page.97b9676b.js} +2 -2
  15. package/dist/static/js/async/client_pages/{layout.fc389a62.js → layout.91c4dd3f.js} +2 -2
  16. package/dist/static/js/async/client_pages/page.0c6eb625.js +2 -0
  17. package/dist/static/js/async/client_pages/{page.17318d21.js.LICENSE.txt → page.0c6eb625.js.LICENSE.txt} +55 -55
  18. package/dist/static/js/{builder-runtime.6555dfa0.js → builder-runtime.7eade13c.js} +1 -1
  19. package/dist/static/js/{client.a7f24cfe.js → client.3d9e0aa1.js} +2 -2
  20. package/dist/static/js/components.d4324494.js +1 -0
  21. package/dist/static/js/{mount.00b978a3.js → mount.5784d482.js} +2 -2
  22. package/package.json +12 -12
  23. package/dist/static/js/async/client_headers/editor/page.0d45e366.js +0 -2
  24. package/dist/static/js/async/client_pages/page.17318d21.js +0 -2
  25. package/dist/static/js/components.0e9702c9.js +0 -1
  26. /package/dist/static/css/{610.86ca73a8.css → 495.6eb6e525.css} +0 -0
  27. /package/dist/static/css/async/client_doctor/{page.70e4fc6b.css → page.8d063195.css} +0 -0
  28. /package/dist/static/css/async/client_headers/editor/{page.0f830a9e.css → page.e89dafe2.css} +0 -0
  29. /package/dist/static/css/async/client_headers/{layout.85737bd6.css → layout.259cde60.css} +0 -0
  30. /package/dist/static/css/async/client_overview/{page.b032858f.css → page.244d7360.css} +0 -0
  31. /package/dist/static/css/async/client_pages/{layout.ada1ecbd.css → layout.72b6797e.css} +0 -0
  32. /package/dist/static/css/async/client_pages/{page.c100068e.css → page.e6bc00a3.css} +0 -0
  33. /package/dist/static/css/{client.fca9840b.css → client.43ac2839.css} +0 -0
  34. /package/dist/static/css/{components.6259116d.css → components.7379fbf8.css} +0 -0
  35. /package/dist/static/css/{mount.2f84060f.css → mount.1fff6140.css} +0 -0
  36. /package/dist/static/js/{610.d7cbe2d6.js.LICENSE.txt → 495.a93e2d57.js.LICENSE.txt} +0 -0
  37. /package/dist/static/js/{637.bb6142e6.js.LICENSE.txt → 637.475e5529.js.LICENSE.txt} +0 -0
  38. /package/dist/static/js/async/{447.de1c74b3.js.LICENSE.txt → 447.a75f8f65.js.LICENSE.txt} +0 -0
  39. /package/dist/static/js/async/client_context/builder/{page.5c3ea615.js.LICENSE.txt → page.214bf78b.js.LICENSE.txt} +0 -0
  40. /package/dist/static/js/async/client_context/framework/{page.0cc29303.js.LICENSE.txt → page.6ce6d890.js.LICENSE.txt} +0 -0
  41. /package/dist/static/js/async/client_doctor/{page.676c5ee2.js.LICENSE.txt → page.54dfeb79.js.LICENSE.txt} +0 -0
  42. /package/dist/static/js/async/client_headers/{layout.12c73353.js.LICENSE.txt → layout.04a85eb8.js.LICENSE.txt} +0 -0
  43. /package/dist/static/js/async/client_overview/{page.4c10470c.js.LICENSE.txt → page.97b9676b.js.LICENSE.txt} +0 -0
  44. /package/dist/static/js/async/client_pages/{layout.fc389a62.js.LICENSE.txt → layout.91c4dd3f.js.LICENSE.txt} +0 -0
  45. /package/dist/static/js/{client.a7f24cfe.js.LICENSE.txt → client.3d9e0aa1.js.LICENSE.txt} +0 -0
  46. /package/dist/static/js/{mount.00b978a3.js.LICENSE.txt → mount.5784d482.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! For license information please see client.a7f24cfe.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["462"],{58266:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return w},createApp:function(){return b}});var r,o=n("73839"),i=n("64534"),u=n("90247"),a=n("16170"),c=n("44518"),s=n("2759"),l=n("86834"),f=n("5872"),d=n.n(f),p=n("13266"),h=n.n(p),v=n("63415"),m=n("59535"),g=n("4513"),x=n("13063"),y=new WeakMap,_=function(e){return{loaderManager:(0,x.createLoaderManager)({}),runner:e,isBrowser:!0,routeManifest:"undefined"!=typeof window&&window[v.ROUTE_MANIFEST]}},b=function(e){var t=e.plugins,n=e.props,r=g.runtime.clone();return r.usePlugin.apply(r,(0,c._)(t)),function(e){var t=r.init(),o=function(n){var r,o=d().createElement(e||d().Fragment,e?(0,u._)({},n):null,e?n.children:d().cloneElement(n.children,(0,u._)({},null===(r=n.children)||void 0===r?void 0:r.props,n))),i=(0,f.useContext)(m.RuntimeReactContext);return t.provide({element:o,props:(0,u._)({},n),context:i},{onLast:function(e){return e.element}})};e&&h()(o,e);var i=t.hoc({App:o},{onLast:function(e){var r=e.App;return h()(function(e){var o=e.context,i=(0,a._)(e,["context"]),c=o;!(null==c?void 0:c.runner)&&(c=_(t),t.init({context:c},{onLast:function(e){var t,n=e.context;return null==r?void 0:null===(t=r.init)||void 0===t?void 0:t.call(r,n)}}));var s=(0,u._)({},i,n);return(0,l.jsx)(m.RuntimeReactContext.Provider,{value:c,children:(0,l.jsx)(r,(0,u._)({},s))})},r)}});return y.set(i,t),i}};var w=(r=(0,o._)(function(e,t,n,r){var o,a,c,l,f,p,h,v,m,g,w,R,j,E,k;return(0,s._)(this,function(s){switch(s.label){case 0:var S;if(o=e,!(a=y.get(o))&&(o=b({plugins:[]})(o),a=y.get(o)),c=_(a),l=function(e){return a.init({context:e},{onLast:function(e){var t,n=e.context;return null==o?void 0:null===(t=o.init)||void 0===t?void 0:t.call(o,n)}})},!t)return[2,d().createElement(o,{context:c})];if(!("undefined"!=typeof window&&"nodejs"!==window.name))return[3,4];if(!("string"==typeof(S=t)||"undefined"!=typeof HTMLElement&&(0,i._)(S,HTMLElement)))return[3,2];return m=Object.keys(v=(null==(h=window._SSR_DATA)?void 0:null===(f=h.data)||void 0===f?void 0:f.loadersData)||{}).reduce(function(e,t){var n=v[t];return!1!==n.loading?e:(e[t]=n,e)},{}),Object.assign(c,(0,u._)({loaderManager:(0,x.createLoaderManager)(m,{skipStatic:!0})},h?{ssrContext:null==h?void 0:h.context}:{})),c.initialData=null==h?void 0:null===(p=h.data)||void 0===p?void 0:p.initialData,[4,l(c)];case 1:if((g=s.sent())&&(c.initialData=g),w="string"!=typeof t?t:document.getElementById(t||"root"),!r)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return R=function(e){if(n)n.render(e);else if(r.createRoot)r.createRoot(w).render(e);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method")},j=function(e,t){if(!r.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");r.hydrateRoot(w,e)},[2,a.client({App:o,context:c,ModernRender:R,ModernHydrate:j},{onLast:function(e){var t=e.App;R(d().createElement(t,{context:c}))}})];case 2:throw Error("`bootstrap` needs id in browser environment, it needs to be string or element");case 3:return[3,6];case 4:return Object.assign(c,{ssrContext:t,isBrowser:!1,loaderManager:(0,x.createLoaderManager)({},{skipNonStatic:t.staticGenerate,skipStatic:!t.staticGenerate})}),E=function(e){if("undefined"!=typeof Response&&(0,i._)(e,Response)&&e.status>=300&&e.status<=399){var t=e.status,n=e.headers.get("Location")||"/",r=c.ssrContext;return r&&(r.res.statusCode=t,r.res.setHeader("Location",n),r.redirection=r.redirection||{},r.redirection.status=t,r.redirection.url=n),!0}return!1},[4,l(c)];case 5:if(k=s.sent(),!E(k))return c.initialData=k,[2,a.server({App:o,context:c})];s.label=6;case 6:return[2]}})}),function(e,t,n,o){return r.apply(this,arguments)})},25543:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o.RuntimeReactContext}});var r=n("58266");n.es(r,t);var o=n("59535"),i=n("15413");n.es(i,t)},13063:function(e,t,n){"use strict";n.r(t),n.d(t,{createLoaderManager:function(){return h}});var r,o,i=n("73839"),u=n("64534"),a=n("70749"),c=n("44518"),s=n("2759"),l=n("24546"),f=n.n(l),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var p=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=0,f=r.data,d=r.error,p=!1,h=new Set;var v=(t=(0,i._)(function(){return(0,s._)(this,function(e){return a||1===l?[2,n]:(l=1,g(),[2,n=o().then(function(e){f=e,d=null,l=2}).catch(function(e){d=e,f=null,l=3}).finally(function(){n=null,p=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!p&&1===l,reloading:p&&1===l,data:f,error:(0,u._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,c._)(h).forEach(function(e){e(l,m())})};return{get result(){return m()},get promise(){return n},onChange:function(e){return h.add(e),function(){h.delete(e)}},load:v}},h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,c=n.skipNonStatic,l=void 0!==c&&c,f=new Map,h=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value.promise;if((0,u._)(i,Promise))return!0}}catch(e){t=!0,n=e}finally{try{!e&&null!=o.return&&o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,i._)(function(){var e,t,n,r,o,i,c,l,d,p;return(0,s._)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)l=(c=(0,a._)(i.value,2))[0],p=(d=c[1]).promise,(0,u._)(p,Promise)&&e.push([l,d])}catch(e){n=!0,r=e}finally{try{!t&&null!=o.return&&o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,a._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=h(n.params),i=f.get(r),u=n._cache;if(!i||!1===u){var a=l&&!n.static,c=o&&n.static;i=p(r,void 0!==e[r]?e[r]:{data:n.initialData},t,a||c),f.set(r,i)}return r},get:function(e){return f.get(e)}}}},4513:function(e,t,n){"use strict";n.r(t),n.d(t,{runtime:function(){return l}});var r=n("15413"),o=(0,r.createPipeline)(),i=(0,r.createPipeline)(),u=(0,r.createAsyncPipeline)(),a=(0,r.createAsyncPipeline)(),c=(0,r.createAsyncPipeline)(),s={hoc:o,provide:i,client:u,server:a,init:c,pickContext:(0,r.createPipeline)()},l=(0,r.createManager)(s);l.createPlugin},46606:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return r.bootstrap},createApp:function(){return r.createApp}});var r=n("25543")},39934:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.default}});var r=n("90979");n.es(r,t)},47534:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultNotFound:function(){return o}});var r=n("86834"),o=function(){return(0,r.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},21446:function(e,t,n){"use strict";function r(){return null}n.r(t),n.d(t,{default:function(){return r}})},85371:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return b},NavLink:function(){return w}});var r=n("73839"),o=n("90247"),i=n("16170"),u=n("70749"),a=n("2759"),c=n("86834"),s=n("5872"),l=n.n(s),f=n("78771"),d=n("25543");function p(e,t){return function(n){null==e||e(n),!n.defaultPrevented&&t(n)}}var h=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function v(){return(v=(0,r._)(function(e,t){var r,o;return(0,a._)(this,function(i){switch(i.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(String(e))}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var m=function(e,t){var n=window.location,r=n.protocol,o=n.host,i=new URL(e,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",t),i.searchParams.append("__ssrDirect","true"),i},g=function(e,t,n){var r,o=e.id;return r=m("/"===n?t:"".concat(n).concat(t),o).toString(),(0,c.jsx)("link",{rel:"prefetch",as:"fetch",href:r},r)},x=function(e){var t=e.path,n=t.pathname,r=(0,s.useContext)(d.RuntimeReactContext),o=r.routeManifest,i=r.routes,u=(o||{}).routeAssets,a=Array.isArray(i)?(0,f.matchRoutes)(i,n):[];return(Array.isArray(a)&&u&&(null==a||a.forEach(function(e){return function(e,t){return v.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,c.jsx)(y,{matches:a,path:t,routeManifest:o}):null},y=function(e){var t=e.matches,n=e.path,r=e.routeManifest,o=n.pathname,i=n.search,u=n.hash,a=(0,f.useMatches)(),l=(0,f.useHref)("/"),d=(0,s.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),c=new URL(o+i+u,window.origin),s=e.route.shouldRevalidate({currentUrl:r,currentParams:(null===(n=a[0])||void 0===n?void 0:n.params)||{},nextUrl:c,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof s)return s}var l=a[t];return!!(!l||l.id!==e.route.id||l.pathname!==e.pathname||l.pathname.endsWith("*")&&l.params["*"]!==e.params["*"])||!1}).map(function(e){return g(e.route,o,l)})},[t,o,r]);return(0,c.jsx)(c.Fragment,{children:d})},_=function(e){return l().forwardRef(function(t,r){var a,s,d,v,m,g,y,_,b,w,R,j,E,k,S,L=t.to,C=t.prefetch,A=(0,i._)(t,["to","prefetch"]),M="string"==typeof L&&h.test(L);var O=(0,u._)((a=void 0===C?"none":C,s=A,v=(d=(0,u._)(l().useState(!1),2))[0],m=d[1],y=(g=(0,u._)(l().useState(!1),2))[0],_=g[1],b=s.onFocus,w=s.onBlur,R=s.onMouseEnter,j=s.onMouseLeave,E=s.onTouchStart,l().useEffect(function(){"render"===a&&_(!0)},[a]),k=function(){"intent"===a&&m(!0)},S=function(){"intent"===a&&(m(!1),_(!1))},l().useEffect(function(){if(v){var e=setTimeout(function(){_(!0)},100);return function(){clearTimeout(e)}}},[v]),[y,{onFocus:p(b,k),onBlur:p(w,S),onMouseEnter:p(R,k),onMouseLeave:p(j,S),onTouchStart:p(E,k)}]),2),P=O[0],N=O[1],T=(0,f.useResolvedPath)(L);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(e,(0,o._)({ref:r,to:L},A,N)),P&&n.e&&!M?(0,c.jsx)(x,{path:T}):null]})})},b=_(f.Link);b.displayName="Link";var w=_(f.NavLink);w.displayName="NavLink"},68705:function(e,t,n){"use strict";n.r(t),n.d(t,{modifyRoutes:function(){return r}});var r=(0,n("15413").createWaterfall)()},90979:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return i.Link},NavLink:function(){return i.NavLink},createShouldRevalidate:function(){return u.createShouldRevalidate},default:function(){return a},handleRouteModule:function(){return u.handleRouteModule},handleRouteModuleError:function(){return u.handleRouteModuleError}});var r=n("29552"),o=n("78771");n.es(o,t);var i=n("85371"),u=n("83366"),a=r.routerPlugin},29552:function(e,t,n){"use strict";n.r(t),n.d(t,{routerPlugin:function(){return g}});var r=n("90247"),o=n("55709"),i=n("44518"),u=n("86834"),a=n("5872"),c=n("78771"),s=n("13266"),l=n.n(s),f=n("89736"),d=n("25543"),p=n("68705"),h=n("78923"),v={routes:[]},m=!0,g=function(e){var t=e.serverBase,n=void 0===t?[]:t,s=e.supportHtml5History,m=void 0===s||s,g=e.basename,x=void 0===g?"":g,y=e.routesConfig,_=e.createRoutes,b=[];return v=y,window._SERVER_DATA=(0,f.parsedJSONFromElement)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:p.modifyRoutes},setup:function(e){return{init:function(e,t){var n=e.context;return n.router={useMatches:c.useMatches,useLocation:c.useLocation,useHref:c.useHref},Object.defineProperty(n,"routes",{get:function(){return b}}),t({context:n})},hoc:function(t,s){var f,p=t.App;if(!v&&!_)return s({App:p});var g=(f=function(t){var u,s,l=(null===(s=window._SERVER_DATA)||void 0===s?void 0:s.router.baseUrl)||(u=location.pathname,n.find(function(e){return 0===u.search(e)})||"/"),f="/"===l?(0,h.urlJoin)(l,x):l,p=window._ROUTER_DATA,g=(0,a.useContext)(d.RuntimeReactContext),y=g.unstable_getBlockNavState;return(0,a.useMemo)(function(){(null==p?void 0:p.errors)&&(p=(0,o._)((0,r._)({},p),{errors:(0,h.deserializeErrors)(p.errors)})),b=_?_():(0,c.createRoutesFromElements)((0,h.renderRoutes)({routesConfig:v,props:t})),b=e.useHookRunners().modifyRoutes(b);var n=m?(0,c.createBrowserRouter)(b,{basename:f,hydrationData:p}):(0,c.createHashRouter)(b,{basename:f,hydrationData:p}),u=n.subscribe;return n.subscribe=function(e){return u(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(y&&y()))return e.apply(void 0,(0,i._)(n))})},Object.defineProperty(g,"remixRouter",{get:function(){return n},configurable:!0}),n},[v,t,f,p,y])},function(e){var t=f(e);return(0,u.jsx)(p,(0,o._)((0,r._)({},e),{children:(0,u.jsx)(c.RouterProvider,{router:t})}))});return(p&&(g=l()(g,p)),null==y?void 0:y.globalApp)?s({App:l()(g,y.globalApp)}):s({App:g})},pickContext:function(e,t){var n=e.context,i=e.pickedContext,u=n.remixRouter;if(!u)return t({context:n,pickedContext:i});var a={navigate:u.navigate,get location(){return u.state.location}};return t({context:n,pickedContext:(0,o._)((0,r._)({},i),{router:a})})}}}}}},83366:function(e,t,n){"use strict";n.r(t),n.d(t,{createShouldRevalidate:function(){return o},handleRouteModule:function(){return i},handleRouteModuleError:function(){return u}});var r=n("63415"),o=function(e){return function(t){var n,o,i=null===(o=window)||void 0===o?void 0:null===(n=o[r.ROUTE_MODULES])||void 0===n?void 0:n[e];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(t):t.defaultShouldRevalidate}},i=function(e,t){return"undefined"!=typeof document&&(window[r.ROUTE_MODULES][t]=e),e},u=function(e){return console.error(e),null}},78923:function(e,t,n){"use strict";n.r(t),n.d(t,{deserializeErrors:function(){return h},renderRoutes:function(){return d},urlJoin:function(){return p}});var r=n("90247"),o=n("16170"),i=n("70749"),u=n("86834"),a=n("78771"),c=n("69444"),s=n("48747"),l=n("47534"),f=n("21446");function d(e){var t=e.routesConfig,n=e.props,i=e.ssrMode,c=e.reporter;if(!t)return null;var d=t.routes,p=t.globalApp;return d?function(e,t){var n=t.globalApp,i=t.ssrMode,c=t.props,d=t.reporter,p=function(e){var t=e.Component,i=(0,o._)(e,["Component"]);return n?(0,u.jsx)(n,(0,r._)({Component:t},i)):(0,u.jsx)(t,(0,r._)({},i))},h=[],v=!0,m=!1,g=void 0;try{for(var x,y=e[Symbol.iterator]();!(v=(x=y.next()).done);v=!0){var _=x.value;if("nested"===_.type){var b=(0,s.renderNestedRoute)(_,{DeferredDataComponent:"stream"===i?f.default:void 0,props:c,reporter:d});h.push(b)}else{var w=(0,u.jsx)(a.Route,{path:_.path,element:(0,u.jsx)(p,{Component:_.component})},_.path);h.push(w)}}}catch(e){m=!0,g=e}finally{try{!v&&null!=y.return&&y.return()}finally{if(m)throw g}}return h.push((0,u.jsx)(a.Route,{path:"*",element:(0,u.jsx)(l.DefaultNotFound,{})},"*")),h}(d,{globalApp:p,ssrMode:i,props:n,reporter:c}):null}var p=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=RegExp("".concat("/","{1,}"),"g");return function(e){var t=e;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 h(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,u=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=(0,i._)(a.value,2),f=l[0],d=l[1];if(d&&"RouteErrorResponse"===d.__type)n[f]=new c.UNSAFE_ErrorResponseImpl(d.status,d.statusText,d.data,!0===d.internal);else if(d&&"Error"===d.__type){var p=Error(d.message);p.stack=d.stack,n[f]=p}else n[f]=d}}catch(e){o=!0,u=e}finally{try{!r&&null!=s.return&&s.return()}finally{if(o)throw u}}return n}},59535:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o}});var r=n("5872"),o=(0,r.createContext)({});(0,r.createContext)({})},15413:function(e,t,n){"use strict";n.r(t),n.d(t,{createAsyncPipeline:function(){return d},createManager:function(){return N},createPipeline:function(){return f},createWaterfall:function(){return v}});var r=n("18360"),o=n("90247"),i=n("44518"),u=n("55709"),a=n("76492"),c=function(e){var t=function(n,r){return e(n,r,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return t(n+1,e)})};return{start:function(e){return t(0,e)},dispatch:t}},s=Symbol.for("MODERN_PIPELINE"),l=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Middleware"))},f=function(){var e,t=[],n=function(e){return c(function(n,r,o){if(n>=t.length){if(e)return e(r);throw Error("Expect returning a value, but all middlewares just calling next()")}return t[n](r,o)})},o=n(),u=function(e,t){var r;return((r=t)?n(null==r?void 0:r.onLast):o).start(e)},a=(e={},(0,r._)(e,s,!0),(0,r._)(e,"use",function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.push.apply(t,(0,i._)(n.map(l))),a}),(0,r._)(e,"run",u),(0,r._)(e,"middleware",function(e,t){return u(e,{onLast:t})}),e);return a},d=function(){var e=f();return(0,o._)({},e)},p=Symbol.for("MODERN_WATERFALL"),h=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Brook or { brook: Brook }"))},v=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(h).map(m))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},p,!0));return t},m=function(e){return function(t,n){return n(e(t))}},g=Symbol.for("MODERN_ASYNC_WATERFALL"),x=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a AsyncBrook or { brook: AsyncBrook }"))},y=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(x).map(_))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},g,!0));return t},_=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return n(e)})}},b=Symbol.for("MODERN_WORKFLOW"),w=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(R))),t},run:function(t){return e.run(t,{onLast:function(){return[]}}).filter(Boolean)}},b,!0));return t},R=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},j=Symbol.for("MODERN_PARALLEL_WORKFLOW"),E=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({run:function(t){return Promise.all(e.run(t,{onLast:function(){return[]}})).then(function(e){return e.filter(Boolean)})},use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(k))),t}},j,!0));return t},k=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},S=Symbol.for("MODERN_ASYNC_WORKFLOW"),L=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(C))),t},run:function(t){var n,r=e.run(t,{onLast:function(){return[]}});return(n=r)&&"function"==typeof n.then?r.then(function(e){return e.filter(Boolean)}):r.filter(Boolean)}},S,!0));return t},C=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return Promise.resolve(n(t)).then(function(t){return[e].concat((0,i._)(t))})})}},A=function(e){},M=function(e){return null!==e&&"object"==typeof e},O="SYNC_PLUGIN_SYMBOL",P={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},N=function(e,t){var n,r=0,i=(0,o._)({},e),c=function(){return n},s=function(e){i=(0,o._)({},e,i)},l=function(e){var t,n;return M(e)&&(t=e,n=O,t.hasOwnProperty(n))&&e[O]===O},f=(0,u._)((0,o._)({},t),{useHookRunners:c}),d=function(e){var t=[],p=function(e){var n,r;if(n=t,r=e,!n.some(function(e){return e.name===r.name}))t.push((0,o._)({},e))},h=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(e){if(l(e))p(e);else if("function"==typeof e){var t=e();p(v(t.setup,t))}else M(e)&&p(v(e.setup,e))}),m},v=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===(e=n.usePlugins)||void 0===e?void 0:e.length)&&n.usePlugins.forEach(function(e){h(v(e.setup,e))}),n.registerHook&&s(n.registerHook),(0,u._)((0,o._)((0,u._)((0,o._)({},P),{name:"No.".concat(r++," plugin")}),n),{SYNC_PLUGIN_SYMBOL:O,setup:t})},m={createPlugin:v,isPlugin:l,usePlugin:h,init:function(){var r,u=(r=t,(0,a.pluginDagSort)(r.slice())),c=(0,o._)({},f,e);return A(u),n=T(u.map(function(e){return e.setup(c)}),i)},clear:function(){t=[]},run:function(e){return e()},registerHook:s,useRunner:c,clone:d};return m};return d()},T=function(e,t){var n={},r=D(t);if(t){var i=function(t){e.forEach(function(e){(null==e?void 0:e[t])&&r[t].use(e[t])}),n[t]=function(e,n){return r[t].run(e,(0,o._)({},n))}};for(var u in r)i(u)}return n},B=function(e){var t,n,r,o,i,u;if(null==(t=e)?void 0:t[p])return v();if(null==(n=e)?void 0:n[g])return y();if(null==(r=e)?void 0:r[b])return w();if(null==(o=e)?void 0:o[S])return L();if(null==(i=e)?void 0:i[j])return E();if(null==(u=e)?void 0:u[s])return f();throw Error("Unknown hook: ".concat(e))},D=function(e){if(!e)return e;var t={};for(var n in e)t[n]=B(e[n]);return t}},48747:function(e,t,n){"use strict";n.r(t);var r=n("8921");n.es(r,t)},8921:function(e,t,n){"use strict";n.r(t),n.d(t,{renderNestedRoute:function(){return d}});var r=n("73839"),o=n("90247"),i=n("55709"),u=n("2759"),a=n("86834"),c=n("5872"),s=n("31988"),l=n("63415"),f=n("67791"),d=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=e.children,v=e.index,m=e.id,g=e.component,x=e.isRoot,y=e.lazyImport,_=e.config,b=e.handle,w=n.parent,R=n.DeferredDataComponent,j=n.props,E=void 0===j?{}:j,k=n.reporter,S={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:function(e,t){var n,o=e.loader;if(!o)return function(){return"function"==typeof e.lazyImport&&e.lazyImport(),null};return n=(0,r._)(function(n){var r,i,a;return(0,u._)(this,function(u){switch(u.label){case 0:return"function"==typeof e.lazyImport&&e.lazyImport(),r=(0,f.time)(),[4,o(n)];case 1:return i=u.sent(),a=r(),"undefined"==typeof document&&t&&(null==t||t.reportTiming("".concat(l.LOADER_REPORTER_NAME,"-").concat(e.id),a)),[2,i]}})}),function(e){return n.apply(this,arguments)}}(e,k),action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,o._)({},b,"object"==typeof _?null==_?void 0:_.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error){var L=(0,a.jsx)(e.error,{});S.errorElement=L}if(g){if((null==w?void 0:w.loading)&&y){var C=w.loading;t=p(g)?(0,a.jsx)(g,{fallback:(0,a.jsx)(C,{})}):(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(C,{}),children:(0,a.jsx)(g,{})})}else t=p(g)&&y?(0,a.jsx)(g,{}):x?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,(0,o._)({},E)),"undefined"==typeof document&&R&&(0,a.jsx)(R,{nonce:null==E?void 0:E.nonce})]}):y?(0,a.jsx)(c.Suspense,{fallback:null,children:(0,a.jsx)(g,{})}):(0,a.jsx)(g,{})}else e.loading=null==w?void 0:w.loading,S.element=(0,a.jsx)(s.Outlet,{});t&&(S.element=t);var A=null==h?void 0:h.map(function(t){return d(t,{parent:e,reporter:k})});return v?(0,a.jsx)(s.Route,(0,i._)((0,o._)({},S),{index:!0}),m):(0,a.jsx)(s.Route,(0,i._)((0,o._)({},S),{index:!1,children:A}),m)};function p(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}},89736:function(e,t,n){"use strict";n.r(t),n.d(t,{parsedJSONFromElement:function(){return r}});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}}},69444:function(e,t,n){"use strict";n.r(t);var r=n("77393");n.es(r,t)},78771:function(e,t,n){"use strict";n.r(t);var r=n("31988");n.es(r,t)},67791:function(e,t,n){"use strict";n.r(t),n.d(t,{time:function(){return u}});var r=n("70749");function o(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var i=function(e){var t=(0,r._)(o(e),2);return 1e3*t[0]+t[1]/1e6},u=function(){var e=o();return function(){return i(e)}}},63415:function(e,t,n){"use strict";n.r(t),n.d(t,{LOADER_REPORTER_NAME:function(){return i},ROUTE_MANIFEST:function(){return r},ROUTE_MODULES:function(){return o}});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},76492:function(e,t,n){"use strict";n.r(t),n.d(t,{pluginDagSort:function(){return r}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"pre",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"post",o=function(n){var r=e.find(function(e){return"string"==typeof n?e[t]===n:e[t]===n[t]});if(!r)throw Error("plugin ".concat(n," not existed"));return r},i=[];e.forEach(function(u){var a,c;null===(a=u[n])||void 0===a||a.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(n)[t],o(u)[t]])}),null===(c=u[r])||void 0===c||c.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(u)[t],o(n)[t]])})});for(var u=e.filter(function(e){return!i.find(function(n){return n[1]===e[t]})}),a=[];u.length;)!function(){var n=u.shift();a.push(o(n)),i=i.filter(function(e){return e[0]!==o(n)[t]}),u=e.filter(function(e){return!a.find(function(n){return n[t]===e[t]})}).filter(function(e){return!i.find(function(n){return n[1]===e[t]})})}();if(i.length){var c={};throw i.forEach(function(e){c[e[0]]=!0,c[e[1]]=!0}),Error("plugins dependencies has loop: ".concat(Object.keys(c).join(",")))}return a}},19336:function(e,t,n){"use strict";e.exports=n.p+"static/font/NotoSans-latin-subset.0dd84d42.woff2"},91470:function(e,t,n){"use strict";n.r(t),n.d(t,{Breadcrumbs:function(){return h}});var r=n("90247"),o=n("55709"),i=n("86834");n("5872");var u=n("52493"),a=n.n(u),c=n("83982"),s=n("60441"),l=n("39934"),f=n("49804"),d=n("7870");let p=e=>{let{location:t}=e,n=a().get(e,"handle.breadcrumb");if(a().isFunction(n)&&(n=n({location:t})),!a().isObject(n)||a().isNull(n)||!("title"in n)||!n.title)return null;let r={id:e.id,title:n.title,pathname:e.pathname};return"pathname"in n&&a().isString(n.pathname)&&(r.pathname=n.pathname),r},h=e=>{let t=[],n=(0,l.useMatches)(),u=(0,l.useLocation)(),a=[];for(let e of n){let t=p((0,o._)((0,r._)({},e),{location:u}));t&&a.push(t)}if(u.state&&"breadcrumb"in u.state){let e=p({handle:u.state.breadcrumb,pathname:u.pathname,id:"external/".concat(u.pathname),location:u});e&&a.push(e)}for(let[e,n]of Object.entries(a)){let r=[n.id,n.pathname,e];t.push((0,i.jsx)(d.Link,{color:"gray",size:"2",to:n.pathname,children:n.title},r.join("_"))),n!==a.at(-1)&&(r.push("#connector"),t.push((0,i.jsx)(s.ChevronRightIcon,{className:f.connector},r.join("_"))))}return(0,i.jsx)(c.Flex,(0,o._)((0,r._)({align:"center",height:"8",gap:"1",px:"4"},e),{children:t}))}},81881:function(e,t,n){"use strict";n.r(t),n.d(t,{Puller:function(){return c}});var r=n("5872"),o=n("39934"),i=n("24326"),u=n("99480");let a="";u.$mountPoint.then(e=>{let{hooks:t}=e;t.hookOnce("pullUp",async e=>{a=e})});let c=()=>{let e=(0,o.useNavigate)(),t=(0,i.useThrowable)(u.$mountPoint);return(0,r.useEffect)(()=>{a&&e(a),t.hooks.hook("pullUp",async t=>{e(t)})},[]),null}},70552:function(e,t,n){"use strict";n.r(t),n.d(t,{ErrorRouteHandler:function(){return a}});var r=n("86834");n("5872");var o=n("39934"),i=n("83982");let u=e=>{let{error:t}=e,n=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(i.Box,{p:"4",children:[(0,r.jsx)(i.Heading,{as:"h4",mb:"4",children:(0,r.jsx)(i.Text,{as:"span",children:n})}),(0,r.jsx)(i.TextArea,{disabled:!0,style:{height:"50vh"},value:o})]})},a=()=>{let e=(0,o.useRouteError)();return(0,r.jsx)(u,{resetErrorBoundary:()=>null,error:e})}},99036:function(e,t,n){"use strict";n.r(t),n.d(t,{FeatureDisabled:function(){return a}});var r=n("86834");n("5872");var o=n("83982"),i=n("29214"),u=n("20109");let a=e=>{let{title:t,children:n}=e;return(0,r.jsxs)(o.Flex,{className:u.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(o.Flex,{height:"9",align:"center",children:(0,r.jsx)(i.HiExclamationCircle,{size:"36"})}),(0,r.jsxs)(o.Box,{children:[(0,r.jsx)(o.Flex,{height:"9",align:"center",children:(0,r.jsx)(o.Heading,{children:t})}),(0,r.jsx)(o.Box,{className:u.children,children:n})]})]})}},7870:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s}});var r=n("90247"),o=n("55709"),i=n("16170"),u=n("86834"),a=n("39934"),c=n("83982");let s=e=>{var{to:t,children:n}=e,s=(0,i._)(e,["to","children"]);return(0,u.jsx)(c.Link,(0,o._)((0,r._)({},s),{asChild:!0,children:(0,u.jsx)(a.Link,{to:t,children:n})}))}},62766:function(e,t,n){"use strict";n.r(t),n.d(t,{SelectLink:function(){return u}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934");let u=e=>{let{items:t}=e,n=(0,i.useNavigate)(),u=(0,i.useLocation)(),a=t.find(e=>(0,i.matchPath)(e.to,u.pathname));return(0,r.jsxs)(o.Select.Root,{size:"1",value:null==a?void 0:a.to,onValueChange:n,children:[(0,r.jsx)(o.Select.Trigger,{}),(0,r.jsx)(o.Select.Content,{position:"popper",children:t.map(e=>{let{title:t,to:n}=e;return(0,r.jsx)(o.Select.Item,{value:n,children:t},n)})})]})}},25642:function(e,t,n){"use strict";n.r(t),n.d(t,{Theme:function(){return h}});var r=n("90247"),o=n("55709"),i=n("16170"),u=n("86834"),a=n("5872"),c=n("83982"),s=n("55058"),l=n("52493"),f=n.n(l);let d=e=>["inherit","light","dark"].includes(e),p=e=>{let{children:t}=e,{appearance:n}=(0,c.useThemeContext)();return(0,a.useEffect)(()=>{localStorage.setItem("__modern_js_devtools_appearance",n),"inherit"!==n&&(document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(n))},[n]),(0,u.jsx)(u.Fragment,{children:t})},h=e=>{var{appearance:t,children:n}=e,a=(0,i._)(e,["appearance","children"]);let l=t||f().castArray((0,s.getQuery)(location.href).appearance)[0]||localStorage.getItem("__modern_js_devtools_appearance")||"light";if(!d(l))throw Error("Initial appearance value is invalid.");return(0,u.jsx)(c.Theme,(0,o._)((0,r._)({},a),{appearance:l,children:(0,u.jsx)(p,{children:n})}))}},17700:function(e,t,n){"use strict";n.r(t);var r=n("39934");t.default=e=>{let{params:t}=e;if(!t.toolkit||!t.type)return(0,r.redirect)("/404");if(!["framework","builder","bundler"].includes(t.toolkit))return(0,r.redirect)("/404");if(!["resolved","transformed"].includes(t.type))return(0,r.redirect)("/404");else return null}},19744:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},36466:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return d}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934"),u=n("52493"),a=n.n(u),c=n("42317");let s=e=>{let{name:t,describe:n}=e,i=n.map(e=>(0,r.jsx)(o.Text,{style:{display:"block"},children:e},e));return(0,r.jsx)(o.Tooltip,{className:c.tooltip,side:"right",content:i,children:(0,r.jsx)(o.Select.Item,{value:t,children:(0,r.jsx)(o.Box,{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 e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(u))},children:[(0,r.jsx)(o.Select.Trigger,{children:n}),(0,r.jsx)(o.Select.Content,{children:l.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:u,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(o.Select.Trigger,{children:u}),(0,r.jsx)(o.Select.Content,{children:f.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})}]}},99956:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder/transformed");return(0,r.redirect)(n)}},64953:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},15549:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("62766");let i={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},97815:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder");return(0,r.redirect)(n)}},29922:function(e,t,n){"use strict";n.r(t);var r=n("86834"),o=n("39934"),i=n("83982"),u=n("42700"),a=n("55058"),c=n("99480"),s=n("70552"),l=n("99036");t.default=()=>{let e=(0,o.useRouteError)(),t=(0,u.useSnapshot)(c.$definition);if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(s.ErrorRouteHandler,{});{let e=(0,a.parseURL)(t.doctor.quickStart).host,n=(0,r.jsxs)(i.Link,{href:t.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(i.Box,{width:"100%",children:(0,r.jsxs)(l.FeatureDisabled,{title:"Doctor is not working",children:["Visit the website of ",n," to learn more."]})})}}},68605:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Doctor"}}},62522:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},15343:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return u}});var r=n("52493"),o=n.n(r),i=n("99480");let u={breadcrumb(e){var t;let n;let{pathname:r}=e.location,u=null===(t=r.match(/^\/external\/(\w+)/))||void 0===t?void 0:t[1],a=o().find(i.$tabs,{name:u});return a?{title:n}=a:n=u?o().startCase(u):"External",{title:n,pathname:r}}}},37650:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},17306:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Header Modifier"}}},15401:function(e,t,n){"use strict";n.r(t),n.d(t,{loader:function(){return i}});var r=n("39934"),o=n("81695");let i=async()=>{let e=await o.$state.service;return(0,r.redirect)(e.rules?"./editor":"./welcome")}},81695:function(e,t,n){"use strict";n.r(t),n.d(t,{$state:function(){return s},registerService:function(){return u},unregisterService:function(){return a}});var r=n("42700"),o=n("52493"),i=n.n(o);let u=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),n="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(n);return await navigator.serviceWorker.ready,s.service=await c(),r},a=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let n of e)t=t&&await n.unregister();return s.service=Promise.resolve({}),t},c=async()=>{for(let e of i().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,r.proxy)({service:c()})},40193:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("29214");let i={breadcrumb:{title:(0,r.jsx)(o.HiHomeModern,{}),pathname:"/overview"}}},49605:function(e,t,n){"use strict";n.r(t),n.d(t,{loader:function(){return l}});var r=n("86834"),o=n("29214"),i=n("54201"),u=n("42700"),a=n("99480"),c=n("4693");let s=!1,l=async()=>{if(s)return null;s=!0;let e=await Promise.resolve(a.$definition.plugins),t=c.PluginGlobals.use();await (0,c.setupPlugins)(e);let n=[{name:"overview",title:"Overview",icon:(0,r.jsx)(o.HiOutlineHome,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,r.jsx)(o.HiOutlineAdjustmentsHorizontal,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,r.jsx)(o.HiOutlineRectangleGroup,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,r.jsx)(i.RiReactjsLine,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,r.jsx)(o.HiOutlineCube,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,r.jsx)(o.HiOutlineAcademicCap,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,r.jsx)(i.RiShieldCrossLine,{}),view:{type:"builtin",src:"/doctor"}}];for(let e of(await t.callHook("tab:list",n),n))"object"==typeof e.icon&&(e.icon=(0,u.ref)(e.icon)),"external"===e.view.type&&(e.view.component=(0,u.ref)(e.view.component));return a.$tabs.length=0,a.$tabs.push(...n),null}},69748:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n("86834");n("97345");var o=n("5872"),i=n("39934"),u=n("83982"),a=n("29214"),c=n("42700"),s=n("19972"),l=n("99480"),f=n("25642"),d=n("91470"),p=n("81881");let h=e=>{let{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.src;else if("iframe"===t.view.type)n="/iframe/".concat(t.view.src);else if("external"===t.view.type)n="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,o.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(u.Tooltip,{content:t.title,side:"right",children:(0,r.jsx)(i.NavLink,{to:n,className:s.tabButton,children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:s.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:t.icon})})})})},v=()=>{let{appearance:e}=(0,u.useThemeContext)();return(0,r.jsx)(u.Tooltip,{content:"Appearance",side:"right",children:(0,r.jsx)(u.Box,{className:s.tabButton,onClick:()=>{(0,u.updateThemeAppearanceClass)("light"===e?"dark":"light")},children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:s.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:"dark"===e?(0,r.jsx)(a.HiOutlineMoon,{}):(0,r.jsx)(a.HiOutlineSun,{})})})})})},m=()=>{let e=(0,c.useSnapshot)(l.$tabs);return(0,r.jsxs)(u.Flex,{direction:"column",shrink:"0",className:s.navigator,children:[e.map(e=>(0,r.jsx)(h,{tab:e},e.name)),(0,r.jsx)(u.Box,{grow:"1"}),(0,r.jsx)(v,{})]})};function g(){return(0,r.jsxs)(f.Theme,{className:s.wrapper,accentColor:"blue",panelBackground:"solid",children:[(0,r.jsx)(u.Box,{className:s.inner,children:(0,r.jsx)(u.Box,{className:s.innerRight,children:(0,r.jsx)(u.Box,{className:s.container,children:(0,r.jsx)(i.Outlet,{})})})}),(0,r.jsx)(u.ThemePanel,{defaultOpen:!1,style:{display:"none"}}),(0,r.jsx)(m,{}),(0,r.jsx)(d.Breadcrumbs,{className:s.breadcrumbs}),(0,r.jsx)(p.Puller,{})]})}},18384:function(e,t,n){"use strict";n.r(t);var r=n("86834"),o=n("20421"),i=n("99480"),u=n("428");t.default=()=>((0,o.useUnmount)(async()=>{(await i.$mountPoint).remote.onFinishRender()}),(0,r.jsx)(u.Loading,{width:"100%",style:{height:"calc(100vh - var(--breadcrumb-height))"}}))},59448:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},84826:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Overview"}}},66802:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./overview");return(0,r.redirect)(n)}},96303:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},93581:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Pages"}}},24757:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("62766");let i={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},92865:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},82193:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./components");return(0,r.redirect)(n)}},99480:function(e,t,n){"use strict";n.r(t),n.d(t,{$builder:function(){return v},$bundler:function(){return m},$definition:function(){return _},$dependencies:function(){return w},$framework:function(){return h},$mountPoint:function(){return f},$perf:function(){return R},$server:function(){return p},$tabs:function(){return g},VERSION:function(){return x}});var r=n("90247"),o=n("55709"),i=n("10487"),u=n("88739"),a=n("65872"),c=n("55058"),s=n("42700");let l=(0,c.stringifyParsedURL)({protocol:"https:"===location.protocol?"wss:":"ws:",host:location.host,pathname:"/__devtools/rpc"}),f=i.MessagePortChannel.link(window.parent,"channel:connect:client").then(async e=>{let t=(0,a.createHooks)();return{remote:(0,u.createBirpc)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:500})),hooks:t}}),d=new window.WebSocket(l),p=i.WebSocketChannel.link(d).then(async e=>{let t=(0,a.createHooks)();return{remote:(0,u.createBirpc)({async refresh(){location.reload()},async updateFileSystemRoutes(e){await t.callHook("updateFileSystemRoutes",e)}},e),hooks:t}}),h=(0,s.proxy)({context:p.then(e=>{let{remote:t}=e;return t.getAppContext()}),config:{resolved:p.then(e=>{let{remote:t}=e;return t.getFrameworkConfig()}),transformed:p.then(e=>{let{remote:t}=e;return t.getTransformedFrameworkConfig()})}}),v=(0,s.proxy)({context:p.then(e=>{let{remote:t}=e;return t.getBuilderContext()}),config:{resolved:p.then(e=>{let{remote:t}=e;return t.getBuilderConfig()}),transformed:p.then(e=>{let{remote:t}=e;return t.getTransformedBuilderConfig()})}}),m=(0,s.proxy)({config:{resolved:p.then(e=>{let{remote:t}=e;return t.getBundlerConfigs()}),transformed:p.then(e=>{let{remote:t}=e;return t.getTransformedBundlerConfigs()})}}),g=(0,s.proxy)([]),x="2.48.3",y=p.then(e=>{let{remote:t}=e;return t.getClientDefinition()}),_=(0,s.proxy)({name:y.then(e=>e.name),packages:y.then(e=>e.packages),assets:y.then(e=>e.assets),announcement:y.then(e=>e.announcement),doctor:y.then(e=>e.doctor),plugins:y.then(e=>e.plugins)}),b=p.then(e=>{let{remote:t}=e;return t.getDependencies()}),w=(0,s.proxy)({});b.then(e=>Object.assign(w,e));let R=(0,s.proxy)({compileDuration:p.then(e=>{let{remote:t}=e;return t.getCompileTimeCost()})})},74473:function(e,t,n){"use strict";n.r(t),n("86834"),n("5872")},38068:function(e,t,n){"use strict";n.r(t),n.d(t,{useThrowable:function(){return o}}),n("52493"),n("5872");let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let t=r.get(e);if(!(t instanceof Error))return t;throw t}throw e.then(t=>r.set(e,t)).catch(t=>r.set(e,t)),e}},24326:function(e,t,n){"use strict";n.r(t);var r=n("74473");n.es(r,t);var o=n("38068");n.es(o,t)},4693:function(e,t,n){"use strict";n.r(t),n.d(t,{PluginGlobals:function(){return i},setupPlugins:function(){return u}});var r=n("10487"),o=n("65872");class i extends o.Hookable{static use(){return!(r.RUNTIME_GLOBALS in window)&&(window[r.RUNTIME_GLOBALS]=new i),window[r.RUNTIME_GLOBALS]}}async function u(e){i.use();let t=e.map(e=>new Promise((t,n)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=e=>n(e),r.src=e,document.head.appendChild(r)}));await Promise.all(t)}},42317:function(e){"use strict";e.exports={tooltip:"tooltip-ece352"}},19972:function(e){"use strict";e.exports={breadcrumbs:"breadcrumbs-_6b38a",container:"container-_7aa7d","fading-mask":"fading-mask-d5651b",fadingMask:"fading-mask-d5651b",inner:"inner-e0e4a8","inner-right":"inner-right-c4d5b6",innerRight:"inner-right-c4d5b6",navigator:"navigator-bd780c","tab-button":"tab-button-_97258",tabButton:"tab-button-_97258","tab-button-inner":"tab-button-inner-_2887d",tabButtonInner:"tab-button-inner-_2887d",wrapper:"wrapper-_97d72"}},97345:function(e){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["101","118","126","567","58","610","637","707"],function(){return t("90915"),t("84606"),t("59174"),t("19449"),t("56036")}),e.O()}]);
1
+ /*! For license information please see client.3d9e0aa1.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["462"],{58266:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return w},createApp:function(){return b}});var r,o=n("73839"),i=n("64534"),u=n("90247"),a=n("16170"),c=n("44518"),s=n("2759"),l=n("86834"),f=n("5872"),d=n.n(f),p=n("13266"),h=n.n(p),v=n("63415"),m=n("59535"),g=n("4513"),x=n("13063"),y=new WeakMap,_=function(e){return{loaderManager:(0,x.createLoaderManager)({}),runner:e,isBrowser:!0,routeManifest:"undefined"!=typeof window&&window[v.ROUTE_MANIFEST]}},b=function(e){var t=e.plugins,n=e.props,r=g.runtime.clone();return r.usePlugin.apply(r,(0,c._)(t)),function(e){var t=r.init(),o=function(n){var r,o=d().createElement(e||d().Fragment,e?(0,u._)({},n):null,e?n.children:d().cloneElement(n.children,(0,u._)({},null===(r=n.children)||void 0===r?void 0:r.props,n))),i=(0,f.useContext)(m.RuntimeReactContext);return t.provide({element:o,props:(0,u._)({},n),context:i},{onLast:function(e){return e.element}})};e&&h()(o,e);var i=t.hoc({App:o},{onLast:function(e){var r=e.App;return h()(function(e){var o=e.context,i=(0,a._)(e,["context"]),c=o;!(null==c?void 0:c.runner)&&(c=_(t),t.init({context:c},{onLast:function(e){var t,n=e.context;return null==r?void 0:null===(t=r.init)||void 0===t?void 0:t.call(r,n)}}));var s=(0,u._)({},i,n);return(0,l.jsx)(m.RuntimeReactContext.Provider,{value:c,children:(0,l.jsx)(r,(0,u._)({},s))})},r)}});return y.set(i,t),i}};var w=(r=(0,o._)(function(e,t,n,r){var o,a,c,l,f,p,h,v,m,g,w,R,j,E,k;return(0,s._)(this,function(s){switch(s.label){case 0:var S;if(o=e,!(a=y.get(o))&&(o=b({plugins:[]})(o),a=y.get(o)),c=_(a),l=function(e){return a.init({context:e},{onLast:function(e){var t,n=e.context;return null==o?void 0:null===(t=o.init)||void 0===t?void 0:t.call(o,n)}})},!t)return[2,d().createElement(o,{context:c})];if(!("undefined"!=typeof window&&"nodejs"!==window.name))return[3,4];if(!("string"==typeof(S=t)||"undefined"!=typeof HTMLElement&&(0,i._)(S,HTMLElement)))return[3,2];return m=Object.keys(v=(null==(h=window._SSR_DATA)?void 0:null===(f=h.data)||void 0===f?void 0:f.loadersData)||{}).reduce(function(e,t){var n=v[t];return!1!==n.loading?e:(e[t]=n,e)},{}),Object.assign(c,(0,u._)({loaderManager:(0,x.createLoaderManager)(m,{skipStatic:!0})},h?{ssrContext:null==h?void 0:h.context}:{})),c.initialData=null==h?void 0:null===(p=h.data)||void 0===p?void 0:p.initialData,[4,l(c)];case 1:if((g=s.sent())&&(c.initialData=g),w="string"!=typeof t?t:document.getElementById(t||"root"),!r)throw Error("The `bootstrap` need provide `ReactDOM` parameter");return R=function(e){if(n)n.render(e);else if(r.createRoot)r.createRoot(w).render(e);else throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `createRoot` method")},j=function(e,t){if(!r.hydrateRoot)throw Error("The `bootstrap` `ReactDOM` parameter needs to provide the `hydrateRoot` method");r.hydrateRoot(w,e)},[2,a.client({App:o,context:c,ModernRender:R,ModernHydrate:j},{onLast:function(e){var t=e.App;R(d().createElement(t,{context:c}))}})];case 2:throw Error("`bootstrap` needs id in browser environment, it needs to be string or element");case 3:return[3,6];case 4:return Object.assign(c,{ssrContext:t,isBrowser:!1,loaderManager:(0,x.createLoaderManager)({},{skipNonStatic:t.staticGenerate,skipStatic:!t.staticGenerate})}),E=function(e){if("undefined"!=typeof Response&&(0,i._)(e,Response)&&e.status>=300&&e.status<=399){var t=e.status,n=e.headers.get("Location")||"/",r=c.ssrContext;return r&&(r.res.statusCode=t,r.res.setHeader("Location",n),r.redirection=r.redirection||{},r.redirection.status=t,r.redirection.url=n),!0}return!1},[4,l(c)];case 5:if(k=s.sent(),!E(k))return c.initialData=k,[2,a.server({App:o,context:c})];s.label=6;case 6:return[2]}})}),function(e,t,n,o){return r.apply(this,arguments)})},25543:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o.RuntimeReactContext}});var r=n("58266");n.es(r,t);var o=n("59535"),i=n("15413");n.es(i,t)},13063:function(e,t,n){"use strict";n.r(t),n.d(t,{createLoaderManager:function(){return h}});var r,o,i=n("73839"),u=n("64534"),a=n("70749"),c=n("44518"),s=n("2759"),l=n("24546"),f=n.n(l),d=function(){var e=new Map;return function(t){var n=e.get(t);if(n)return n;var r=JSON.stringify(t);return f()(r,"params should be not null value"),e.set(t,r),r}};(r=o||(o={}))[r.idle=0]="idle",r[r.loading=1]="loading",r[r.fulfilled=2]="fulfilled",r[r.rejected=3]="rejected";var p=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{loading:!1,reloading:!1,data:void 0,error:void 0},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=0,f=r.data,d=r.error,p=!1,h=new Set;var v=(t=(0,i._)(function(){return(0,s._)(this,function(e){return a||1===l?[2,n]:(l=1,g(),[2,n=o().then(function(e){f=e,d=null,l=2}).catch(function(e){d=e,f=null,l=3}).finally(function(){n=null,p=!0,g()})])})}),function(){return t.apply(this,arguments)}),m=function(){return{loading:!p&&1===l,reloading:p&&1===l,data:f,error:(0,u._)(d,Error)?"".concat(d.message):d,_error:d}},g=function(){(0,c._)(h).forEach(function(e){e(l,m())})};return{get result(){return m()},get promise(){return n},onChange:function(e){return h.add(e),function(){h.delete(e)}},load:v}},h=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipStatic,o=void 0!==r&&r,c=n.skipNonStatic,l=void 0!==c&&c,f=new Map,h=d();return{hasPendingLoaders:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=f.values()[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value.promise;if((0,u._)(i,Promise))return!0}}catch(e){t=!0,n=e}finally{try{!e&&null!=o.return&&o.return()}finally{if(t)throw n}}return!1},awaitPendingLoaders:(t=(0,i._)(function(){var e,t,n,r,o,i,c,l,d,p;return(0,s._)(this,function(s){switch(s.label){case 0:e=[],t=!0,n=!1,r=void 0;try{for(o=f[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)l=(c=(0,a._)(i.value,2))[0],p=(d=c[1]).promise,(0,u._)(p,Promise)&&e.push([l,d])}catch(e){n=!0,r=e}finally{try{!t&&null!=o.return&&o.return()}finally{if(n)throw r}}return[4,Promise.all(e.map(function(e){return e[1].promise}))];case 1:return s.sent(),[2,e.reduce(function(e,t){var n=(0,a._)(t,2),r=n[0],o=n[1];return e[r]=o.result,e},{})]}})}),function(){return t.apply(this,arguments)}),add:function(t,n){var r=h(n.params),i=f.get(r),u=n._cache;if(!i||!1===u){var a=l&&!n.static,c=o&&n.static;i=p(r,void 0!==e[r]?e[r]:{data:n.initialData},t,a||c),f.set(r,i)}return r},get:function(e){return f.get(e)}}}},4513:function(e,t,n){"use strict";n.r(t),n.d(t,{runtime:function(){return l}});var r=n("15413"),o=(0,r.createPipeline)(),i=(0,r.createPipeline)(),u=(0,r.createAsyncPipeline)(),a=(0,r.createAsyncPipeline)(),c=(0,r.createAsyncPipeline)(),s={hoc:o,provide:i,client:u,server:a,init:c,pickContext:(0,r.createPipeline)()},l=(0,r.createManager)(s);l.createPlugin},46606:function(e,t,n){"use strict";n.r(t),n.d(t,{bootstrap:function(){return r.bootstrap},createApp:function(){return r.createApp}});var r=n("25543")},39934:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.default}});var r=n("90979");n.es(r,t)},47534:function(e,t,n){"use strict";n.r(t),n.d(t,{DefaultNotFound:function(){return o}});var r=n("86834"),o=function(){return(0,r.jsx)("div",{style:{margin:"150px auto",textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center"},children:"404"})}},21446:function(e,t,n){"use strict";function r(){return null}n.r(t),n.d(t,{default:function(){return r}})},85371:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return b},NavLink:function(){return w}});var r=n("73839"),o=n("90247"),i=n("16170"),u=n("70749"),a=n("2759"),c=n("86834"),s=n("5872"),l=n.n(s),f=n("78771"),d=n("25543");function p(e,t){return function(n){null==e||e(n),!n.defaultPrevented&&t(n)}}var h=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function v(){return(v=(0,r._)(function(e,t){var r,o;return(0,a._)(this,function(i){switch(i.label){case 0:if(!(r=e.id)||!t[r]||!(o=t[r].chunkIds))return[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Promise.all(o.map(function(e){return null===n.e||void 0===n.e?void 0:n.e(String(e))}))];case 2:return i.sent(),[3,4];case 3:return console.error(i.sent()),[3,4];case 4:return[2]}})})).apply(this,arguments)}var m=function(e,t){var n=window.location,r=n.protocol,o=n.host,i=new URL(e,"".concat(r,"//").concat(o));return i.searchParams.append("__loader",t),i.searchParams.append("__ssrDirect","true"),i},g=function(e,t,n){var r,o=e.id;return r=m("/"===n?t:"".concat(n).concat(t),o).toString(),(0,c.jsx)("link",{rel:"prefetch",as:"fetch",href:r},r)},x=function(e){var t=e.path,n=t.pathname,r=(0,s.useContext)(d.RuntimeReactContext),o=r.routeManifest,i=r.routes,u=(o||{}).routeAssets,a=Array.isArray(i)?(0,f.matchRoutes)(i,n):[];return(Array.isArray(a)&&u&&(null==a||a.forEach(function(e){return function(e,t){return v.apply(this,arguments)}(e.route,u)})),window._SSR_DATA)?(0,c.jsx)(y,{matches:a,path:t,routeManifest:o}):null},y=function(e){var t=e.matches,n=e.path,r=e.routeManifest,o=n.pathname,i=n.search,u=n.hash,a=(0,f.useMatches)(),l=(0,f.useHref)("/"),d=(0,s.useMemo)(function(){return null==t?void 0:t.filter(function(e,t){if(!e.route.loader||"function"!=typeof e.route.loader||0===e.route.loader.length)return!1;if(e.route.shouldRevalidate){var n,r=new URL(location.pathname+location.search+location.hash,window.origin),c=new URL(o+i+u,window.origin),s=e.route.shouldRevalidate({currentUrl:r,currentParams:(null===(n=a[0])||void 0===n?void 0:n.params)||{},nextUrl:c,nextParams:e.params,defaultShouldRevalidate:!0});if("boolean"==typeof s)return s}var l=a[t];return!!(!l||l.id!==e.route.id||l.pathname!==e.pathname||l.pathname.endsWith("*")&&l.params["*"]!==e.params["*"])||!1}).map(function(e){return g(e.route,o,l)})},[t,o,r]);return(0,c.jsx)(c.Fragment,{children:d})},_=function(e){return l().forwardRef(function(t,r){var a,s,d,v,m,g,y,_,b,w,R,j,E,k,S,L=t.to,C=t.prefetch,A=(0,i._)(t,["to","prefetch"]),M="string"==typeof L&&h.test(L);var O=(0,u._)((a=void 0===C?"none":C,s=A,v=(d=(0,u._)(l().useState(!1),2))[0],m=d[1],y=(g=(0,u._)(l().useState(!1),2))[0],_=g[1],b=s.onFocus,w=s.onBlur,R=s.onMouseEnter,j=s.onMouseLeave,E=s.onTouchStart,l().useEffect(function(){"render"===a&&_(!0)},[a]),k=function(){"intent"===a&&m(!0)},S=function(){"intent"===a&&(m(!1),_(!1))},l().useEffect(function(){if(v){var e=setTimeout(function(){_(!0)},100);return function(){clearTimeout(e)}}},[v]),[y,{onFocus:p(b,k),onBlur:p(w,S),onMouseEnter:p(R,k),onMouseLeave:p(j,S),onTouchStart:p(E,k)}]),2),P=O[0],N=O[1],T=(0,f.useResolvedPath)(L);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(e,(0,o._)({ref:r,to:L},A,N)),P&&n.e&&!M?(0,c.jsx)(x,{path:T}):null]})})},b=_(f.Link);b.displayName="Link";var w=_(f.NavLink);w.displayName="NavLink"},68705:function(e,t,n){"use strict";n.r(t),n.d(t,{modifyRoutes:function(){return r}});var r=(0,n("15413").createWaterfall)()},90979:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return i.Link},NavLink:function(){return i.NavLink},createShouldRevalidate:function(){return u.createShouldRevalidate},default:function(){return a},handleRouteModule:function(){return u.handleRouteModule},handleRouteModuleError:function(){return u.handleRouteModuleError}});var r=n("29552"),o=n("78771");n.es(o,t);var i=n("85371"),u=n("83366"),a=r.routerPlugin},29552:function(e,t,n){"use strict";n.r(t),n.d(t,{routerPlugin:function(){return g}});var r=n("90247"),o=n("55709"),i=n("44518"),u=n("86834"),a=n("5872"),c=n("78771"),s=n("13266"),l=n.n(s),f=n("89736"),d=n("25543"),p=n("68705"),h=n("78923"),v={routes:[]},m=!0,g=function(e){var t=e.serverBase,n=void 0===t?[]:t,s=e.supportHtml5History,m=void 0===s||s,g=e.basename,x=void 0===g?"":g,y=e.routesConfig,_=e.createRoutes,b=[];return v=y,window._SERVER_DATA=(0,f.parsedJSONFromElement)("__MODERN_SERVER_DATA__"),{name:"@modern-js/plugin-router",registerHook:{modifyRoutes:p.modifyRoutes},setup:function(e){return{init:function(e,t){var n=e.context;return n.router={useMatches:c.useMatches,useLocation:c.useLocation,useHref:c.useHref},Object.defineProperty(n,"routes",{get:function(){return b}}),t({context:n})},hoc:function(t,s){var f,p=t.App;if(!v&&!_)return s({App:p});var g=(f=function(t){var u,s,l=(null===(s=window._SERVER_DATA)||void 0===s?void 0:s.router.baseUrl)||(u=location.pathname,n.find(function(e){return 0===u.search(e)})||"/"),f="/"===l?(0,h.urlJoin)(l,x):l,p=window._ROUTER_DATA,g=(0,a.useContext)(d.RuntimeReactContext),y=g.unstable_getBlockNavState;return(0,a.useMemo)(function(){(null==p?void 0:p.errors)&&(p=(0,o._)((0,r._)({},p),{errors:(0,h.deserializeErrors)(p.errors)})),b=_?_():(0,c.createRoutesFromElements)((0,h.renderRoutes)({routesConfig:v,props:t})),b=e.useHookRunners().modifyRoutes(b);var n=m?(0,c.createBrowserRouter)(b,{basename:f,hydrationData:p}):(0,c.createHashRouter)(b,{basename:f,hydrationData:p}),u=n.subscribe;return n.subscribe=function(e){return u(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!(y&&y()))return e.apply(void 0,(0,i._)(n))})},Object.defineProperty(g,"remixRouter",{get:function(){return n},configurable:!0}),n},[v,t,f,p,y])},function(e){var t=f(e);return(0,u.jsx)(p,(0,o._)((0,r._)({},e),{children:(0,u.jsx)(c.RouterProvider,{router:t})}))});return(p&&(g=l()(g,p)),null==y?void 0:y.globalApp)?s({App:l()(g,y.globalApp)}):s({App:g})},pickContext:function(e,t){var n=e.context,i=e.pickedContext,u=n.remixRouter;if(!u)return t({context:n,pickedContext:i});var a={navigate:u.navigate,get location(){return u.state.location}};return t({context:n,pickedContext:(0,o._)((0,r._)({},i),{router:a})})}}}}}},83366:function(e,t,n){"use strict";n.r(t),n.d(t,{createShouldRevalidate:function(){return o},handleRouteModule:function(){return i},handleRouteModuleError:function(){return u}});var r=n("63415"),o=function(e){return function(t){var n,o,i=null===(o=window)||void 0===o?void 0:null===(n=o[r.ROUTE_MODULES])||void 0===n?void 0:n[e];return i&&"function"==typeof i.shouldRevalidate?i.shouldRevalidate(t):t.defaultShouldRevalidate}},i=function(e,t){return"undefined"!=typeof document&&(window[r.ROUTE_MODULES][t]=e),e},u=function(e){return console.error(e),null}},78923:function(e,t,n){"use strict";n.r(t),n.d(t,{deserializeErrors:function(){return h},renderRoutes:function(){return d},urlJoin:function(){return p}});var r=n("90247"),o=n("16170"),i=n("70749"),u=n("86834"),a=n("78771"),c=n("69444"),s=n("48747"),l=n("47534"),f=n("21446");function d(e){var t=e.routesConfig,n=e.props,i=e.ssrMode,c=e.reporter;if(!t)return null;var d=t.routes,p=t.globalApp;return d?function(e,t){var n=t.globalApp,i=t.ssrMode,c=t.props,d=t.reporter,p=function(e){var t=e.Component,i=(0,o._)(e,["Component"]);return n?(0,u.jsx)(n,(0,r._)({Component:t},i)):(0,u.jsx)(t,(0,r._)({},i))},h=[],v=!0,m=!1,g=void 0;try{for(var x,y=e[Symbol.iterator]();!(v=(x=y.next()).done);v=!0){var _=x.value;if("nested"===_.type){var b=(0,s.renderNestedRoute)(_,{DeferredDataComponent:"stream"===i?f.default:void 0,props:c,reporter:d});h.push(b)}else{var w=(0,u.jsx)(a.Route,{path:_.path,element:(0,u.jsx)(p,{Component:_.component})},_.path);h.push(w)}}}catch(e){m=!0,g=e}finally{try{!v&&null!=y.return&&y.return()}finally{if(m)throw g}}return h.push((0,u.jsx)(a.Route,{path:"*",element:(0,u.jsx)(l.DefaultNotFound,{})},"*")),h}(d,{globalApp:p,ssrMode:i,props:n,reporter:c}):null}var p=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=RegExp("".concat("/","{1,}"),"g");return function(e){var t=e;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 h(e){if(!e)return null;var t=Object.entries(e),n={},r=!0,o=!1,u=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=(0,i._)(a.value,2),f=l[0],d=l[1];if(d&&"RouteErrorResponse"===d.__type)n[f]=new c.UNSAFE_ErrorResponseImpl(d.status,d.statusText,d.data,!0===d.internal);else if(d&&"Error"===d.__type){var p=Error(d.message);p.stack=d.stack,n[f]=p}else n[f]=d}}catch(e){o=!0,u=e}finally{try{!r&&null!=s.return&&s.return()}finally{if(o)throw u}}return n}},59535:function(e,t,n){"use strict";n.r(t),n.d(t,{RuntimeReactContext:function(){return o}});var r=n("5872"),o=(0,r.createContext)({});(0,r.createContext)({})},15413:function(e,t,n){"use strict";n.r(t),n.d(t,{createAsyncPipeline:function(){return d},createManager:function(){return N},createPipeline:function(){return f},createWaterfall:function(){return v}});var r=n("18360"),o=n("90247"),i=n("44518"),u=n("55709"),a=n("76492"),c=function(e){var t=function(n,r){return e(n,r,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return t(n+1,e)})};return{start:function(e){return t(0,e)},dispatch:t}},s=Symbol.for("MODERN_PIPELINE"),l=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Middleware"))},f=function(){var e,t=[],n=function(e){return c(function(n,r,o){if(n>=t.length){if(e)return e(r);throw Error("Expect returning a value, but all middlewares just calling next()")}return t[n](r,o)})},o=n(),u=function(e,t){var r;return((r=t)?n(null==r?void 0:r.onLast):o).start(e)},a=(e={},(0,r._)(e,s,!0),(0,r._)(e,"use",function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.push.apply(t,(0,i._)(n.map(l))),a}),(0,r._)(e,"run",u),(0,r._)(e,"middleware",function(e,t){return u(e,{onLast:t})}),e);return a},d=function(){var e=f();return(0,o._)({},e)},p=Symbol.for("MODERN_WATERFALL"),h=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a Brook or { brook: Brook }"))},v=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(h).map(m))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},p,!0));return t},m=function(e){return function(t,n){return n(e(t))}},g=Symbol.for("MODERN_ASYNC_WATERFALL"),x=function(e){if("function"==typeof e)return e;if(e&&"function"==typeof e.middleware)return e.middleware;throw Error("".concat(e," is not a AsyncBrook or { brook: AsyncBrook }"))},y=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(x).map(_))),t},run:function(t,n){return e.run(t,(0,u._)((0,o._)({},n),{onLast:function(e){return e}}))},middleware:function(t){return e.run(t,{onLast:function(e){return e}})}},g,!0));return t},_=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return n(e)})}},b=Symbol.for("MODERN_WORKFLOW"),w=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(R))),t},run:function(t){return e.run(t,{onLast:function(){return[]}}).filter(Boolean)}},b,!0));return t},R=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},j=Symbol.for("MODERN_PARALLEL_WORKFLOW"),E=function(){var e=f(),t=(0,u._)((0,o._)({},e),(0,r._)({run:function(t){return Promise.all(e.run(t,{onLast:function(){return[]}})).then(function(e){return e.filter(Boolean)})},use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(k))),t}},j,!0));return t},k=function(e){return function(t,n){return[e(t)].concat((0,i._)(n(t)))}},S=Symbol.for("MODERN_ASYNC_WORKFLOW"),L=function(){var e=d(),t=(0,u._)((0,o._)({},e),(0,r._)({use:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.use.apply(e,(0,i._)(r.map(C))),t},run:function(t){var n,r=e.run(t,{onLast:function(){return[]}});return(n=r)&&"function"==typeof n.then?r.then(function(e){return e.filter(Boolean)}):r.filter(Boolean)}},S,!0));return t},C=function(e){return function(t,n){return Promise.resolve(e(t)).then(function(e){return Promise.resolve(n(t)).then(function(t){return[e].concat((0,i._)(t))})})}},A=function(e){},M=function(e){return null!==e&&"object"==typeof e},O="SYNC_PLUGIN_SYMBOL",P={name:"untitled",pre:[],post:[],rivals:[],required:[],usePlugins:[],registerHook:{}},N=function(e,t){var n,r=0,i=(0,o._)({},e),c=function(){return n},s=function(e){i=(0,o._)({},e,i)},l=function(e){var t,n;return M(e)&&(t=e,n=O,t.hasOwnProperty(n))&&e[O]===O},f=(0,u._)((0,o._)({},t),{useHookRunners:c}),d=function(e){var t=[],p=function(e){var n,r;if(n=t,r=e,!n.some(function(e){return e.name===r.name}))t.push((0,o._)({},e))},h=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(e){if(l(e))p(e);else if("function"==typeof e){var t=e();p(v(t.setup,t))}else M(e)&&p(v(e.setup,e))}),m},v=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===(e=n.usePlugins)||void 0===e?void 0:e.length)&&n.usePlugins.forEach(function(e){h(v(e.setup,e))}),n.registerHook&&s(n.registerHook),(0,u._)((0,o._)((0,u._)((0,o._)({},P),{name:"No.".concat(r++," plugin")}),n),{SYNC_PLUGIN_SYMBOL:O,setup:t})},m={createPlugin:v,isPlugin:l,usePlugin:h,init:function(){var r,u=(r=t,(0,a.pluginDagSort)(r.slice())),c=(0,o._)({},f,e);return A(u),n=T(u.map(function(e){return e.setup(c)}),i)},clear:function(){t=[]},run:function(e){return e()},registerHook:s,useRunner:c,clone:d};return m};return d()},T=function(e,t){var n={},r=D(t);if(t){var i=function(t){e.forEach(function(e){(null==e?void 0:e[t])&&r[t].use(e[t])}),n[t]=function(e,n){return r[t].run(e,(0,o._)({},n))}};for(var u in r)i(u)}return n},B=function(e){var t,n,r,o,i,u;if(null==(t=e)?void 0:t[p])return v();if(null==(n=e)?void 0:n[g])return y();if(null==(r=e)?void 0:r[b])return w();if(null==(o=e)?void 0:o[S])return L();if(null==(i=e)?void 0:i[j])return E();if(null==(u=e)?void 0:u[s])return f();throw Error("Unknown hook: ".concat(e))},D=function(e){if(!e)return e;var t={};for(var n in e)t[n]=B(e[n]);return t}},48747:function(e,t,n){"use strict";n.r(t);var r=n("8921");n.es(r,t)},8921:function(e,t,n){"use strict";n.r(t),n.d(t,{renderNestedRoute:function(){return d}});var r=n("73839"),o=n("90247"),i=n("55709"),u=n("2759"),a=n("86834"),c=n("5872"),s=n("31988"),l=n("63415"),f=n("67791"),d=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=e.children,v=e.index,m=e.id,g=e.component,x=e.isRoot,y=e.lazyImport,_=e.config,b=e.handle,w=n.parent,R=n.DeferredDataComponent,j=n.props,E=void 0===j?{}:j,k=n.reporter,S={caseSensitive:e.caseSensitive,path:e.path,id:e.id,loader:function(e,t){var n,o=e.loader;if(!o)return function(){return"function"==typeof e.lazyImport&&e.lazyImport(),null};return n=(0,r._)(function(n){var r,i,a;return(0,u._)(this,function(u){switch(u.label){case 0:return"function"==typeof e.lazyImport&&e.lazyImport(),r=(0,f.time)(),[4,o(n)];case 1:return i=u.sent(),a=r(),"undefined"==typeof document&&t&&(null==t||t.reportTiming("".concat(l.LOADER_REPORTER_NAME,"-").concat(e.id),a)),[2,i]}})}),function(e){return n.apply(this,arguments)}}(e,k),action:e.action,hasErrorBoundary:e.hasErrorBoundary,shouldRevalidate:e.shouldRevalidate,handle:(0,o._)({},b,"object"==typeof _?null==_?void 0:_.handle:{}),index:e.index,element:e.element,errorElement:e.errorElement};if(e.error){var L=(0,a.jsx)(e.error,{});S.errorElement=L}if(g){if((null==w?void 0:w.loading)&&y){var C=w.loading;t=p(g)?(0,a.jsx)(g,{fallback:(0,a.jsx)(C,{})}):(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(C,{}),children:(0,a.jsx)(g,{})})}else t=p(g)&&y?(0,a.jsx)(g,{}):x?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,(0,o._)({},E)),"undefined"==typeof document&&R&&(0,a.jsx)(R,{nonce:null==E?void 0:E.nonce})]}):y?(0,a.jsx)(c.Suspense,{fallback:null,children:(0,a.jsx)(g,{})}):(0,a.jsx)(g,{})}else e.loading=null==w?void 0:w.loading,S.element=(0,a.jsx)(s.Outlet,{});t&&(S.element=t);var A=null==h?void 0:h.map(function(t){return d(t,{parent:e,reporter:k})});return v?(0,a.jsx)(s.Route,(0,i._)((0,o._)({},S),{index:!0}),m):(0,a.jsx)(s.Route,(0,i._)((0,o._)({},S),{index:!1,children:A}),m)};function p(e){return e&&"Loadable"===e.displayName&&e.preload&&"function"==typeof e.preload}},89736:function(e,t,n){"use strict";n.r(t),n.d(t,{parsedJSONFromElement:function(){return r}});var r=function(e){var t=document.querySelectorAll("#".concat(e));if(0!==t.length){var n=t[t.length-1];if(n)try{return JSON.parse((null==n?void 0:n.textContent)||"")}catch(t){console.error("parse ".concat(e," error"),t)}}}},69444:function(e,t,n){"use strict";n.r(t);var r=n("77393");n.es(r,t)},78771:function(e,t,n){"use strict";n.r(t);var r=n("31988");n.es(r,t)},67791:function(e,t,n){"use strict";n.r(t),n.d(t,{time:function(){return u}});var r=n("70749");function o(e){var t=.001*new Date().getTime(),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]}var i=function(e){var t=(0,r._)(o(e),2);return 1e3*t[0]+t[1]/1e6},u=function(){var e=o();return function(){return i(e)}}},63415:function(e,t,n){"use strict";n.r(t),n.d(t,{LOADER_REPORTER_NAME:function(){return i},ROUTE_MANIFEST:function(){return r},ROUTE_MODULES:function(){return o}});var r="_MODERNJS_ROUTE_MANIFEST",o="_routeModules",i="server-loader"},76492:function(e,t,n){"use strict";n.r(t),n.d(t,{pluginDagSort:function(){return r}});var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"pre",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"post",o=function(n){var r=e.find(function(e){return"string"==typeof n?e[t]===n:e[t]===n[t]});if(!r)throw Error("plugin ".concat(n," not existed"));return r},i=[];e.forEach(function(u){var a,c;null===(a=u[n])||void 0===a||a.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(n)[t],o(u)[t]])}),null===(c=u[r])||void 0===c||c.forEach(function(n){e.find(function(e){return e.name===n})&&i.push([o(u)[t],o(n)[t]])})});for(var u=e.filter(function(e){return!i.find(function(n){return n[1]===e[t]})}),a=[];u.length;)!function(){var n=u.shift();a.push(o(n)),i=i.filter(function(e){return e[0]!==o(n)[t]}),u=e.filter(function(e){return!a.find(function(n){return n[t]===e[t]})}).filter(function(e){return!i.find(function(n){return n[1]===e[t]})})}();if(i.length){var c={};throw i.forEach(function(e){c[e[0]]=!0,c[e[1]]=!0}),Error("plugins dependencies has loop: ".concat(Object.keys(c).join(",")))}return a}},19336:function(e,t,n){"use strict";e.exports=n.p+"static/font/NotoSans-latin-subset.0dd84d42.woff2"},91470:function(e,t,n){"use strict";n.r(t),n.d(t,{Breadcrumbs:function(){return h}});var r=n("90247"),o=n("55709"),i=n("86834");n("5872");var u=n("52493"),a=n.n(u),c=n("83982"),s=n("60441"),l=n("39934"),f=n("48605"),d=n("7870");let p=e=>{let{location:t}=e,n=a().get(e,"handle.breadcrumb");if(a().isFunction(n)&&(n=n({location:t})),!a().isObject(n)||a().isNull(n)||!("title"in n)||!n.title)return null;let r={id:e.id,title:n.title,pathname:e.pathname};return"pathname"in n&&a().isString(n.pathname)&&(r.pathname=n.pathname),r},h=e=>{let t=[],n=(0,l.useMatches)(),u=(0,l.useLocation)(),a=[];for(let e of n){let t=p((0,o._)((0,r._)({},e),{location:u}));t&&a.push(t)}if(u.state&&"breadcrumb"in u.state){let e=p({handle:u.state.breadcrumb,pathname:u.pathname,id:"external/".concat(u.pathname),location:u});e&&a.push(e)}for(let[e,n]of Object.entries(a)){let r=[n.id,n.pathname,e];t.push((0,i.jsx)(d.Link,{color:"gray",size:"2",to:n.pathname,children:n.title},r.join("_"))),n!==a.at(-1)&&(r.push("#connector"),t.push((0,i.jsx)(s.ChevronRightIcon,{className:f.connector},r.join("_"))))}return(0,i.jsx)(c.Flex,(0,o._)((0,r._)({align:"center",height:"8",gap:"1",px:"4"},e),{children:t}))}},81881:function(e,t,n){"use strict";n.r(t),n.d(t,{Puller:function(){return c}});var r=n("5872"),o=n("39934"),i=n("24326"),u=n("99480");let a="";u.$mountPoint.then(e=>{let{hooks:t}=e;t.hookOnce("pullUp",async e=>{a=e})});let c=()=>{let e=(0,o.useNavigate)(),t=(0,i.useThrowable)(u.$mountPoint);return(0,r.useEffect)(()=>{a&&e(a),t.hooks.hook("pullUp",async t=>{e(t)})},[]),null}},70552:function(e,t,n){"use strict";n.r(t),n.d(t,{ErrorRouteHandler:function(){return a}});var r=n("86834");n("5872");var o=n("39934"),i=n("83982");let u=e=>{let{error:t}=e,n=t instanceof Error?"".concat(t.name,": ").concat(t.message):"Unknown Error",o=t instanceof Error?t.stack:Object.prototype.toString.call(t);return(0,r.jsxs)(i.Box,{p:"4",children:[(0,r.jsx)(i.Heading,{as:"h4",mb:"4",children:(0,r.jsx)(i.Text,{as:"span",children:n})}),(0,r.jsx)(i.TextArea,{disabled:!0,style:{height:"50vh"},value:o})]})},a=()=>{let e=(0,o.useRouteError)();return(0,r.jsx)(u,{resetErrorBoundary:()=>null,error:e})}},99036:function(e,t,n){"use strict";n.r(t),n.d(t,{FeatureDisabled:function(){return a}});var r=n("86834");n("5872");var o=n("83982"),i=n("29214"),u=n("63585");let a=e=>{let{title:t,children:n}=e;return(0,r.jsxs)(o.Flex,{className:u.container,mt:"9",mx:"auto",gap:"2",children:[(0,r.jsx)(o.Flex,{height:"9",align:"center",children:(0,r.jsx)(i.HiExclamationCircle,{size:"36"})}),(0,r.jsxs)(o.Box,{children:[(0,r.jsx)(o.Flex,{height:"9",align:"center",children:(0,r.jsx)(o.Heading,{children:t})}),(0,r.jsx)(o.Box,{className:u.children,children:n})]})]})}},7870:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s}});var r=n("90247"),o=n("55709"),i=n("16170"),u=n("86834"),a=n("39934"),c=n("83982");let s=e=>{var{to:t,children:n}=e,s=(0,i._)(e,["to","children"]);return(0,u.jsx)(c.Link,(0,o._)((0,r._)({},s),{asChild:!0,children:(0,u.jsx)(a.Link,{to:t,children:n})}))}},62766:function(e,t,n){"use strict";n.r(t),n.d(t,{SelectLink:function(){return u}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934");let u=e=>{let{items:t}=e,n=(0,i.useNavigate)(),u=(0,i.useLocation)(),a=t.find(e=>(0,i.matchPath)(e.to,u.pathname));return(0,r.jsxs)(o.Select.Root,{size:"1",value:null==a?void 0:a.to,onValueChange:n,children:[(0,r.jsx)(o.Select.Trigger,{}),(0,r.jsx)(o.Select.Content,{position:"popper",children:t.map(e=>{let{title:t,to:n}=e;return(0,r.jsx)(o.Select.Item,{value:n,children:t},n)})})]})}},25642:function(e,t,n){"use strict";n.r(t),n.d(t,{Theme:function(){return h}});var r=n("90247"),o=n("55709"),i=n("16170"),u=n("86834"),a=n("5872"),c=n("83982"),s=n("55058"),l=n("52493"),f=n.n(l);let d=e=>["inherit","light","dark"].includes(e),p=e=>{let{children:t}=e,{appearance:n}=(0,c.useThemeContext)();return(0,a.useEffect)(()=>{localStorage.setItem("__modern_js_devtools_appearance",n),"inherit"!==n&&(document.documentElement.classList.remove("dark","light"),document.documentElement.classList.add(n))},[n]),(0,u.jsx)(u.Fragment,{children:t})},h=e=>{var{appearance:t,children:n}=e,a=(0,i._)(e,["appearance","children"]);let l=t||f().castArray((0,s.getQuery)(location.href).appearance)[0]||localStorage.getItem("__modern_js_devtools_appearance")||"light";if(!d(l))throw Error("Initial appearance value is invalid.");return(0,u.jsx)(c.Theme,(0,o._)((0,r._)({},a),{appearance:l,children:(0,u.jsx)(p,{children:n})}))}},17700:function(e,t,n){"use strict";n.r(t);var r=n("39934");t.default=e=>{let{params:t}=e;if(!t.toolkit||!t.type)return(0,r.redirect)("/404");if(!["framework","builder","bundler"].includes(t.toolkit))return(0,r.redirect)("/404");if(!["resolved","transformed"].includes(t.type))return(0,r.redirect)("/404");else return null}},19744:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},36466:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return d}});var r=n("86834");n("5872");var o=n("83982"),i=n("39934"),u=n("52493"),a=n.n(u),c=n("11279");let s=e=>{let{name:t,describe:n}=e,i=n.map(e=>(0,r.jsx)(o.Text,{style:{display:"block"},children:e},e));return(0,r.jsx)(o.Tooltip,{className:c.tooltip,side:"right",content:i,children:(0,r.jsx)(o.Select.Item,{value:t,children:(0,r.jsx)(o.Box,{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 e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:n,onValueChange:e=>{t("/config/".concat(e,"/").concat(u))},children:[(0,r.jsx)(o.Select.Trigger,{children:n}),(0,r.jsx)(o.Select.Content,{children:l.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})},{title:(0,r.jsx)(()=>{let e=(0,i.useLocation)(),t=(0,i.useNavigate)(),[n,u]=e.pathname.split("/").slice(2);return(0,r.jsxs)(o.Select.Root,{size:"1",value:u,onValueChange:e=>{t("/config/".concat(n,"/").concat(e))},children:[(0,r.jsx)(o.Select.Trigger,{children:u}),(0,r.jsx)(o.Select.Content,{children:f.map(e=>{let{name:t,describe:n}=e;return(0,r.jsx)(s,{name:t,describe:n},t)})})]})},{})}]}},99956:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder/transformed");return(0,r.redirect)(n)}},64953:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},15549:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("62766");let i={breadcrumb:[{title:"Context"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/context/builder",title:"Builder"},{to:"/context/framework",title:"Framework"}]})}]}},97815:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./builder");return(0,r.redirect)(n)}},29922:function(e,t,n){"use strict";n.r(t);var r=n("86834"),o=n("39934"),i=n("83982"),u=n("42700"),a=n("55058"),c=n("99480"),s=n("70552"),l=n("99036");t.default=()=>{let e=(0,o.useRouteError)(),t=(0,u.useSnapshot)(c.$definition);if(!(e&&"object"==typeof e&&0===Object.keys(e).length))return(0,r.jsx)(s.ErrorRouteHandler,{});{let e=(0,a.parseURL)(t.doctor.quickStart).host,n=(0,r.jsxs)(i.Link,{href:t.doctor.quickStart,target:"_blank",rel:"noopener noreferrer",children:["\uD83D\uDD17",e]});return(0,r.jsx)(i.Box,{width:"100%",children:(0,r.jsxs)(l.FeatureDisabled,{title:"Doctor is not working",children:["Visit the website of ",n," to learn more."]})})}}},68605:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Doctor"}}},62522:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},15343:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return u}});var r=n("52493"),o=n.n(r),i=n("99480");let u={breadcrumb(e){var t;let n;let{pathname:r}=e.location,u=null===(t=r.match(/^\/external\/(\w+)/))||void 0===t?void 0:t[1],a=o().find(i.$tabs,{name:u});return a?{title:n}=a:n=u?o().startCase(u):"External",{title:n,pathname:r}}}},37650:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},17306:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Header Modifier"}}},15401:function(e,t,n){"use strict";n.r(t),n.d(t,{loader:function(){return i}});var r=n("39934"),o=n("81695");let i=async()=>{let e=await o.$state.service;return(0,r.redirect)(e.rules?"./editor":"./welcome")}},81695:function(e,t,n){"use strict";n.r(t),n.d(t,{$state:function(){return s},registerService:function(){return u},unregisterService:function(){return a}});var r=n("42700"),o=n("52493"),i=n.n(o);let u=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=encodeURIComponent(JSON.stringify(e)),n="".concat("/sw-proxy.js","?rules=").concat(t),r=await navigator.serviceWorker.register(n);return await navigator.serviceWorker.ready,s.service=await c(),r},a=async()=>{let e=await navigator.serviceWorker.getRegistrations(),t=!0;for(let n of e)t=t&&await n.unregister();return s.service=Promise.resolve({}),t},c=async()=>{for(let e of i().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,r.proxy)({service:c()})},40193:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("29214");let i={breadcrumb:{title:(0,r.jsx)(o.HiHomeModern,{}),pathname:"/overview"}}},49605:function(e,t,n){"use strict";n.r(t),n.d(t,{loader:function(){return l}});var r=n("86834"),o=n("29214"),i=n("54201"),u=n("42700"),a=n("99480"),c=n("4693");let s=!1,l=async()=>{if(s)return null;s=!0;let e=await Promise.resolve(a.$definition.plugins),t=c.PluginGlobals.use();await (0,c.setupPlugins)(e);let n=[{name:"overview",title:"Overview",icon:(0,r.jsx)(o.HiOutlineHome,{}),view:{type:"builtin",src:"/overview"}},{name:"config",title:"Config",icon:(0,r.jsx)(o.HiOutlineAdjustmentsHorizontal,{}),view:{type:"builtin",src:"/config"}},{name:"pages",title:"Pages",icon:(0,r.jsx)(o.HiOutlineRectangleGroup,{}),view:{type:"builtin",src:"/pages"}},{name:"react",title:"React",icon:(0,r.jsx)(i.RiReactjsLine,{}),view:{type:"builtin",src:"/react"}},{name:"context",title:"Context",icon:(0,r.jsx)(o.HiOutlineCube,{}),view:{type:"builtin",src:"/context"}},{name:"headers",title:"Header Modifier",icon:(0,r.jsx)(o.HiOutlineAcademicCap,{}),view:{type:"builtin",src:"/headers"}},{name:"doctor",title:"Doctor",icon:(0,r.jsx)(i.RiShieldCrossLine,{}),view:{type:"builtin",src:"/doctor"}}];for(let e of(await t.callHook("tab:list",n),n))"object"==typeof e.icon&&(e.icon=(0,u.ref)(e.icon)),"external"===e.view.type&&(e.view.component=(0,u.ref)(e.view.component));return a.$tabs.length=0,a.$tabs.push(...n),null}},69748:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var r=n("86834");n("51320");var o=n("5872"),i=n("39934"),u=n("83982"),a=n("29214"),c=n("42700"),s=n("39587"),l=n("99480"),f=n("25642"),d=n("91470"),p=n("81881");let h=e=>{let{tab:t}=e,n="";if("builtin"===t.view.type)n=t.view.src;else if("iframe"===t.view.type)n="/iframe/".concat(t.view.src);else if("external"===t.view.type)n="/external/".concat(t.name);else throw Error('Invalid tab view of "'.concat(t.name,'".'));return(0,o.useEffect)(()=>{document.documentElement.classList.add("theme-register")},[]),(0,r.jsx)(u.Tooltip,{content:t.title,side:"right",children:(0,r.jsx)(i.NavLink,{to:n,className:s.tabButton,children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:s.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:t.icon})})})})},v=()=>{let{appearance:e}=(0,u.useThemeContext)();return(0,r.jsx)(u.Tooltip,{content:"Appearance",side:"right",children:(0,r.jsx)(u.Box,{className:s.tabButton,onClick:()=>{(0,u.updateThemeAppearanceClass)("light"===e?"dark":"light")},children:(0,r.jsx)(u.Flex,{justify:"center",align:"center",p:"1",className:s.tabButtonInner,children:(0,r.jsx)(u.Box,{height:"5",width:"5",asChild:!0,children:"dark"===e?(0,r.jsx)(a.HiOutlineMoon,{}):(0,r.jsx)(a.HiOutlineSun,{})})})})})},m=()=>{let e=(0,c.useSnapshot)(l.$tabs);return(0,r.jsxs)(u.Flex,{direction:"column",shrink:"0",className:s.navigator,children:[e.map(e=>(0,r.jsx)(h,{tab:e},e.name)),(0,r.jsx)(u.Box,{grow:"1"}),(0,r.jsx)(v,{})]})};function g(){return(0,r.jsxs)(f.Theme,{className:s.wrapper,accentColor:"blue",panelBackground:"solid",children:[(0,r.jsx)(u.Box,{className:s.inner,children:(0,r.jsx)(u.Box,{className:s.innerRight,children:(0,r.jsx)(u.Box,{className:s.container,children:(0,r.jsx)(i.Outlet,{})})})}),(0,r.jsx)(u.ThemePanel,{defaultOpen:!1,style:{display:"none"}}),(0,r.jsx)(m,{}),(0,r.jsx)(d.Breadcrumbs,{className:s.breadcrumbs}),(0,r.jsx)(p.Puller,{})]})}},18384:function(e,t,n){"use strict";n.r(t);var r=n("86834"),o=n("20421"),i=n("99480"),u=n("428");t.default=()=>((0,o.useUnmount)(async()=>{(await i.$mountPoint).remote.onFinishRender()}),(0,r.jsx)(u.Loading,{width:"100%",style:{height:"calc(100vh - var(--breadcrumb-height))"}}))},59448:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},84826:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Overview"}}},66802:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./overview");return(0,r.redirect)(n)}},96303:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},93581:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return r}});let r={breadcrumb:{title:"Pages"}}},24757:function(e,t,n){"use strict";n.r(t),n.d(t,{handle:function(){return i}});var r=n("86834"),o=n("62766");let i={breadcrumb:[{title:"React"},{title:(0,r.jsx)(o.SelectLink,{items:[{to:"/react/components",title:"Components"},{to:"/react/profiler",title:"Profiler"}]})}]}},92865:function(e,t,n){"use strict";n.r(t);var r=n("70552");t.default=r.ErrorRouteHandler},82193:function(e,t,n){"use strict";n.r(t);var r=n("39934"),o=n("55058");t.default=e=>{let{request:t}=e,n=(0,o.resolveURL)(t.url,"./components");return(0,r.redirect)(n)}},99480:function(e,t,n){"use strict";n.r(t),n.d(t,{$builder:function(){return v},$bundler:function(){return m},$definition:function(){return _},$dependencies:function(){return w},$framework:function(){return h},$mountPoint:function(){return f},$perf:function(){return R},$server:function(){return p},$tabs:function(){return g},VERSION:function(){return x}});var r=n("90247"),o=n("55709"),i=n("10487"),u=n("88739"),a=n("65872"),c=n("55058"),s=n("42700");let l=(0,c.stringifyParsedURL)({protocol:"https:"===location.protocol?"wss:":"ws:",host:location.host,pathname:"/__devtools/rpc"}),f=i.MessagePortChannel.link(window.parent,"channel:connect:client").then(async e=>{let t=(0,a.createHooks)();return{remote:(0,u.createBirpc)({async pullUp(e){await t.callHook("pullUp",e)}},(0,o._)((0,r._)({},e.handlers),{timeout:500})),hooks:t}}),d=new window.WebSocket(l),p=i.WebSocketChannel.link(d).then(async e=>{let t=(0,a.createHooks)();return{remote:(0,u.createBirpc)({async refresh(){location.reload()},async updateFileSystemRoutes(e){await t.callHook("updateFileSystemRoutes",e)}},e),hooks:t}}),h=(0,s.proxy)({context:p.then(e=>{let{remote:t}=e;return t.getAppContext()}),config:{resolved:p.then(e=>{let{remote:t}=e;return t.getFrameworkConfig()}),transformed:p.then(e=>{let{remote:t}=e;return t.getTransformedFrameworkConfig()})}}),v=(0,s.proxy)({context:p.then(e=>{let{remote:t}=e;return t.getBuilderContext()}),config:{resolved:p.then(e=>{let{remote:t}=e;return t.getBuilderConfig()}),transformed:p.then(e=>{let{remote:t}=e;return t.getTransformedBuilderConfig()})}}),m=(0,s.proxy)({config:{resolved:p.then(e=>{let{remote:t}=e;return t.getBundlerConfigs()}),transformed:p.then(e=>{let{remote:t}=e;return t.getTransformedBundlerConfigs()})}}),g=(0,s.proxy)([]),x="2.48.3",y=p.then(e=>{let{remote:t}=e;return t.getClientDefinition()}),_=(0,s.proxy)({name:y.then(e=>e.name),packages:y.then(e=>e.packages),assets:y.then(e=>e.assets),announcement:y.then(e=>e.announcement),doctor:y.then(e=>e.doctor),plugins:y.then(e=>e.plugins)}),b=p.then(e=>{let{remote:t}=e;return t.getDependencies()}),w=(0,s.proxy)({});b.then(e=>Object.assign(w,e));let R=(0,s.proxy)({compileDuration:p.then(e=>{let{remote:t}=e;return t.getCompileTimeCost()})})},74473:function(e,t,n){"use strict";n.r(t),n("86834"),n("5872")},38068:function(e,t,n){"use strict";n.r(t),n.d(t,{useThrowable:function(){return o}}),n("52493"),n("5872");let r=new WeakMap,o=e=>{if(!(e instanceof Promise))return e;if(r.has(e)){let t=r.get(e);if(!(t instanceof Error))return t;throw t}throw e.then(t=>r.set(e,t)).catch(t=>r.set(e,t)),e}},24326:function(e,t,n){"use strict";n.r(t);var r=n("74473");n.es(r,t);var o=n("38068");n.es(o,t)},4693:function(e,t,n){"use strict";n.r(t),n.d(t,{PluginGlobals:function(){return i},setupPlugins:function(){return u}});var r=n("10487"),o=n("65872");class i extends o.Hookable{static use(){return!(r.RUNTIME_GLOBALS in window)&&(window[r.RUNTIME_GLOBALS]=new i),window[r.RUNTIME_GLOBALS]}}async function u(e){i.use();let t=e.map(e=>new Promise((t,n)=>{let r=document.createElement("script");r.onload=()=>t(),r.onerror=e=>n(e),r.src=e,document.head.appendChild(r)}));await Promise.all(t)}},11279:function(e){"use strict";e.exports={tooltip:"tooltip-ece352"}},39587:function(e){"use strict";e.exports={breadcrumbs:"breadcrumbs-_6b38a",container:"container-_7aa7d","fading-mask":"fading-mask-d5651b",fadingMask:"fading-mask-d5651b",inner:"inner-e0e4a8","inner-right":"inner-right-c4d5b6",innerRight:"inner-right-c4d5b6",navigator:"navigator-bd780c","tab-button":"tab-button-_97258",tabButton:"tab-button-_97258","tab-button-inner":"tab-button-inner-_2887d",tabButtonInner:"tab-button-inner-_2887d",wrapper:"wrapper-_97d72"}},51320:function(e){}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["101","118","126","495","567","58","637","707"],function(){return t("90915"),t("93196"),t("95359"),t("19449"),t("56036")}),e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{48605:function(t){"use strict";t.exports={connector:"connector-_43720",link:"link-_26ee2"}},82419:function(t){"use strict";t.exports={"indicate-card":"indicate-card-_974b8",indicateCard:"indicate-card-_974b8"}},84912:function(t){"use strict";t.exports={container:"container-a41eae"}},86853:function(t){"use strict";t.exports={container:"container-c37ff8",fab:"fab-b17740",logo:"logo-c7a29e",slideInFromRight:"slideInFromRight-e1026d"}},8269:function(t){"use strict";t.exports={backdrop:"backdrop-_51706","close-button":"close-button-c3742a",closeButton:"close-button-c3742a",container:"container-fb8255",frame:"frame-_5d7ff"}},63585:function(t){"use strict";t.exports={children:"children-ce277e",container:"container-feec25"}},79951:function(t){"use strict";t.exports={loading:"loading-f4a5e7",rotate:"rotate-d4ee47"}},44735:function(t){"use strict";t.exports={container:"container-_6ff2e"}},73419:function(t){"use strict";t.exports={container:"container-_1260b"}},43163:function(t){"use strict";t.exports={container:"container-_560f9"}},69322:function(t){"use strict";t.exports={actions:"actions-_5b76a","input-pair":"input-pair-_55005",inputPair:"input-pair-_55005"}},4622:function(t){"use strict";t.exports={container:"container-_729f8",content:"content-_01b01",mark:"mark-_92790",slideDown:"slideDown-b8bce3",slideUp:"slideUp-dbcad1",trigger:"trigger-_13b59","url-text":"url-text-a0e7e4",urlText:"url-text-a0e7e4"}},864:function(t){"use strict";t.exports={"endpoint-container":"endpoint-container-_4be65",endpointContainer:"endpoint-container-_4be65","endpoint-tag":"endpoint-tag-_0664a",endpointTag:"endpoint-tag-_0664a","shy-link":"shy-link-d59f70",shyLink:"shy-link-d59f70"}},76144:function(t){"use strict";t.exports={stats:"stats-e82970"}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see mount.00b978a3.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{74709:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsuleButton:function(){return i}});var o=n("86834");n("5872");var r=n("20421"),l=n("73478");let i=e=>{var t;let[n,i]=(0,r.useAsyncFn)(()=>Promise.resolve(e.onClick()),[]);return(0,o.jsx)("button",{className:l.container,onClick:i,"data-type":null!==(t=e.type)&&void 0!==t?t:"default",disabled:n.loading,children:e.children})}},62325:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsule:function(){return y}});var o=n("90247"),r=n("55709"),l=n("86834"),i=n("83982"),s=n("5872"),a=n("20421"),c=n("29214"),u=n("55058"),d=n("45967"),v=n("44798"),m=n("10734"),p=n("74709"),h=n("94258"),f=n("28391"),_=n("51879");let g=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:n}=t,o=null===(e=n.match(/^#\/__devtools(.*)/))||void 0===e?void 0:e[1];return"string"!=typeof o?null:""===o?"/":o},y=e=>{let t=e.def.assets.logo,n=g(),[y,w]=(0,a.useToggle)(!!n),[k,b]=(0,s.useState)(!1),E=(0,u.withQuery)(e.endpoint,{src:e.dataSource}),x=(0,h.useStickyDraggable)({clamp:!0}),[C,j]=(0,s.useState)(()=>{var e;let t=null!==(e=localStorage.getItem("__modern_js_devtools_appearance"))&&void 0!==e?e:"light";return localStorage.setItem("__modern_js_devtools_appearance",t),t});(0,a.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&j(e.newValue||void 0)}),(0,a.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&w()}),(0,s.useEffect)(()=>{f.wallAgent.hook("receive",e=>{"startInspectingNative"===e.event&&(w(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(w(!0),document.documentElement.style.removeProperty("cursor"))};return f.wallAgent.hook("send",e),()=>{f.wallAgent.removeHook("send",e)}},[]);let O=async()=>{document.documentElement.style.setProperty("cursor","wait"),w(!1),b(!0);try{(await (0,_.pTimeout)(f.$client,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,a.useAsync)(async()=>{if(!!n)(await (0,_.pTimeout)(f.$client,1e4)).remote.pullUp(n)},[]),(0,l.jsxs)(i.Theme,{appearance:C,className:C,children:[(0,l.jsx)(d.default,{when:y,keepAlive:!0,load:k,children:(0,l.jsx)("div",{className:v.container,children:(0,l.jsx)(m.FrameBox,{src:E,onClose:()=>w(!1),style:{pointerEvents:x.isDragging?"none":"auto"}})})}),(0,l.jsxs)(i.Flex,(0,r._)((0,o._)({className:v.fab},x.props),{align:"center",children:[(0,l.jsx)(p.DevtoolsCapsuleButton,{type:"primary",onClick:w,children:(0,l.jsx)("img",{className:v.logo,src:t})}),(0,l.jsx)(p.DevtoolsCapsuleButton,{onClick:O,children:(0,l.jsx)(c.HiMiniCursorArrowRipple,{})})]}))]})}},10734:function(e,t,n){"use strict";n.r(t),n.d(t,{FrameBox:function(){return m}});var o=n("90247"),r=n("55709"),l=n("16170"),i=n("86834"),s=n("83982");n("5872");var a=n("29214"),c=n("42700"),u=n("428"),d=n("8932"),v=n("28391");let m=e=>{var{src:t,onClose:n}=e,m=(0,l._)(e,["src","onClose"]);let{loaded:p}=(0,c.useSnapshot)(v.$inner);return(0,i.jsxs)(s.Box,(0,r._)((0,o._)({className:d.container},m),{children:[(0,i.jsx)("iframe",{className:d.frame,src:t}),(0,i.jsx)(a.HiMiniXMark,{className:d.closeButton,onClick:n}),(0,i.jsx)("div",{className:d.backdrop,style:{display:p?"none":void 0},children:(0,i.jsx)(u.Loading,{})})]}))}},45967:function(e,t,n){"use strict";n.r(t);var o=n("86834"),r=n("5872");t.default=e=>{var t;let n=null===(t=e.keepAlive)||void 0===t||t,{when:l}=e,i=(0,r.useRef)(!1);l&&(i.current=!0);let s=e.load||(n?i.current:l);return s?(0,o.jsx)("div",{style:{display:!n||l?"unset":"none"},children:e.children}):null}},80295:function(e,t,n){"use strict";n.r(t);var o=n("90247"),r=n("86834");n("82231"),n("28391");var l=n("60182"),i=n("86111"),s=n("62325");document.addEventListener("DOMContentLoaded",()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),n=document.getElementById("_modern_js_devtools_styles");if(!(n instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(n.content);let a=document.createElement("div");a.classList.add("_modern_js_devtools_mountpoint","theme-register",i.container),t.appendChild(a);let c=window.__MODERN_JS_DEVTOOLS_OPTIONS__;(0,l.createRoot)(a).render((0,r.jsx)(s.DevtoolsCapsule,(0,o._)({},c)))})},82231:function(e,t,n){"use strict";n.r(t);var o=n("57662");if(!window.opener)try{try{delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}(0,o.initialize)(window);let e=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub=(t,n)=>{if("devtools-backend-installed"!==t)return e(t,n)}}catch(t){let e=Error("Failed to inject React DevTools backend.");e.cause=t,console.error(e)}},28391:function(e,t,n){"use strict";n.r(t),n.d(t,{$client:function(){return f},$inner:function(){return _},wallAgent:function(){return p}});var o=n("90247"),r=n("55709"),l=n("10487"),i=n("88739"),s=n("65872"),a=n("9880"),c=n.n(a),u=n("42700"),d=n("57662"),v=n("24933");let m=l.MessagePortChannel.wait(window,"channel:connect:client"),p=new v.WallAgent,h=(0,d.createBridge)(window,p),f=m.then(e=>{let t=(0,s.createHooks)();return{remote:(0,i.createBirpc)({async activateReactDevtools(){(0,d.activate)(window,{bridge:h})},async onFinishRender(){await t.callHook("onFinishRender")}},(0,r._)((0,o._)({},e.handlers),{timeout:500})),hooks:t}}),_=(0,u.proxy)({loaded:!1}),g=c()();f.then(e=>{let{remote:t,hooks:n}=e;p.bindRemote(t,"sendReactDevtoolsData"),n.hook("onFinishRender",async()=>{_.loaded=!0,g.resolve()})})},94258:function(e,t,n){"use strict";n.r(t),n.d(t,{useStickyDraggable:function(){return a}});var o=n("5872"),r=n("20421");let l=(e,t)=>{var n,o;return null!==(o=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==o&&o},i=e=>{let[t,...n]=[{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),o=n.findIndex(e=>{let{key:n}=e;return l(t.key,n)}),[r]=n.splice(o,1);return[t,r,n[0],n[1]]},s=e=>{let{top:t,left:n,height:o,width:r}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-o,right:window.innerWidth-n-r}},a=e=>{var t;let n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",l="number"==typeof n?"".concat(n,"px"):n,[a,c]=(0,o.useState)(),u=()=>{if(!a)return;a.moveable=!1;let{el:e}=a,[t]=i(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{c(void 0),e.style[t.key]=l}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},d=t=>{let n="touches"in t?t.touches[0]:t;if(!(null==a?void 0:a.moveable))return;let{startX:o,startY:r}=a;(o-n.clientX)**2+(r-n.clientY)**2>9&&(a.clickable=!1);let{width:s,height:c}=a.el.getBoundingClientRect(),u=n.clientY-a.offsetY,d=n.clientX-a.offsetX,v=i({top:u,left:d,bottom:window.innerHeight-u-c,right:window.innerWidth-d-s}).map(e=>{let{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(let e of v){let t=["top","bottom"].includes(e.key)?window.innerHeight-c:window.innerWidth-s;e.value="clamp(".concat(l,", ").concat(e.value,", ").concat(t,"px)")}let[m,p,...h]=v,{style:f}=a.el;f.transition="",f[m.key]=m.value,f[p.key]=p.value,f[h[0].key]="auto",f[h[1].key]="auto"};(0,r.useEvent)("blur",u),(0,r.useEvent)("mouseup",u),(0,r.useEvent)("touchend",u),(0,r.useEvent)("mousemove",d),(0,r.useEvent)("touchmove",d);let v=e=>{let t="touches"in e?e.touches[0]:e,n=e.currentTarget,o=n.getBoundingClientRect(),r=t.clientX-o.left;c({el:n,clickable:!0,moveable:!0,offsetX:r,offsetY:t.clientY-o.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!a,props:{onMouseDown:v,onTouchStart:v,onClickCapture:e=>{(null==a?void 0:a.clickable)||e.stopPropagation()}}}}},51879:function(e,t,n){"use strict";n.r(t),n.d(t,{pTimeout:function(){return o}});let o=(e,t)=>new Promise((n,o)=>{let r=!0,l=setTimeout(()=>{r=!1,o(Error("Promise Timeout"))},t);e.then(e=>{r&&n(e),clearTimeout(l)}),e.catch(o)})},24933:function(e,t,n){"use strict";n.r(t),n.d(t,{WallAgent:function(){return r}});var o=n("65872");class r extends o.Hookable{listen(e){return this.hook("receive",e),e}send(e,t,n){this.callHook("send",{event:e,payload:t,transferable:n})}bindRemote(e,t){var n=this;return e.$functions[t]=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];e[t](...o)}),this}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")})}}},86111:function(e){"use strict";e.exports={container:"container-d972e2"}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","567","58","610","637","768"],function(){return t("90915"),t("84606"),t("59174"),t("19449"),t("80295")}),e.O()}]);
1
+ /*! For license information please see mount.5784d482.js.LICENSE.txt */
2
+ (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{74709:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsuleButton:function(){return i}});var o=n("86834");n("5872");var r=n("20421"),l=n("84912");let i=e=>{var t;let[n,i]=(0,r.useAsyncFn)(()=>Promise.resolve(e.onClick()),[]);return(0,o.jsx)("button",{className:l.container,onClick:i,"data-type":null!==(t=e.type)&&void 0!==t?t:"default",disabled:n.loading,children:e.children})}},62325:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsule:function(){return y}});var o=n("90247"),r=n("55709"),l=n("86834"),i=n("83982"),s=n("5872"),a=n("20421"),c=n("29214"),u=n("55058"),d=n("45967"),v=n("86853"),m=n("10734"),p=n("74709"),h=n("94258"),f=n("28391"),_=n("51879");let g=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,{hash:n}=t,o=null===(e=n.match(/^#\/__devtools(.*)/))||void 0===e?void 0:e[1];return"string"!=typeof o?null:""===o?"/":o},y=e=>{let t=e.def.assets.logo,n=g(),[y,w]=(0,a.useToggle)(!!n),[k,b]=(0,s.useState)(!1),E=(0,u.withQuery)(e.endpoint,{src:e.dataSource}),x=(0,h.useStickyDraggable)({clamp:!0}),[C,j]=(0,s.useState)(()=>{var e;let t=null!==(e=localStorage.getItem("__modern_js_devtools_appearance"))&&void 0!==e?e:"light";return localStorage.setItem("__modern_js_devtools_appearance",t),t});(0,a.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&j(e.newValue||void 0)}),(0,a.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&w()}),(0,s.useEffect)(()=>{f.wallAgent.hook("receive",e=>{"startInspectingNative"===e.event&&(w(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(w(!0),document.documentElement.style.removeProperty("cursor"))};return f.wallAgent.hook("send",e),()=>{f.wallAgent.removeHook("send",e)}},[]);let O=async()=>{document.documentElement.style.setProperty("cursor","wait"),w(!1),b(!0);try{(await (0,_.pTimeout)(f.$client,1e4)).remote.pullUp("/react/components#inspecting")}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,a.useAsync)(async()=>{if(!!n)(await (0,_.pTimeout)(f.$client,1e4)).remote.pullUp(n)},[]),(0,l.jsxs)(i.Theme,{appearance:C,className:C,children:[(0,l.jsx)(d.default,{when:y,keepAlive:!0,load:k,children:(0,l.jsx)("div",{className:v.container,children:(0,l.jsx)(m.FrameBox,{src:E,onClose:()=>w(!1),style:{pointerEvents:x.isDragging?"none":"auto"}})})}),(0,l.jsxs)(i.Flex,(0,r._)((0,o._)({className:v.fab},x.props),{align:"center",children:[(0,l.jsx)(p.DevtoolsCapsuleButton,{type:"primary",onClick:w,children:(0,l.jsx)("img",{className:v.logo,src:t})}),(0,l.jsx)(p.DevtoolsCapsuleButton,{onClick:O,children:(0,l.jsx)(c.HiMiniCursorArrowRipple,{})})]}))]})}},10734:function(e,t,n){"use strict";n.r(t),n.d(t,{FrameBox:function(){return m}});var o=n("90247"),r=n("55709"),l=n("16170"),i=n("86834"),s=n("83982");n("5872");var a=n("29214"),c=n("42700"),u=n("428"),d=n("8269"),v=n("28391");let m=e=>{var{src:t,onClose:n}=e,m=(0,l._)(e,["src","onClose"]);let{loaded:p}=(0,c.useSnapshot)(v.$inner);return(0,i.jsxs)(s.Box,(0,r._)((0,o._)({className:d.container},m),{children:[(0,i.jsx)("iframe",{className:d.frame,src:t}),(0,i.jsx)(a.HiMiniXMark,{className:d.closeButton,onClick:n}),(0,i.jsx)("div",{className:d.backdrop,style:{display:p?"none":void 0},children:(0,i.jsx)(u.Loading,{})})]}))}},45967:function(e,t,n){"use strict";n.r(t);var o=n("86834"),r=n("5872");t.default=e=>{var t;let n=null===(t=e.keepAlive)||void 0===t||t,{when:l}=e,i=(0,r.useRef)(!1);l&&(i.current=!0);let s=e.load||(n?i.current:l);return s?(0,o.jsx)("div",{style:{display:!n||l?"unset":"none"},children:e.children}):null}},80295:function(e,t,n){"use strict";n.r(t);var o=n("90247"),r=n("86834");n("82231"),n("28391");var l=n("60182"),i=n("40548"),s=n("62325");document.addEventListener("DOMContentLoaded",()=>{let e=document.createElement("div");e.className="_modern_js_devtools_container",document.body.appendChild(e);let t=e.attachShadow({mode:"closed"}),n=document.getElementById("_modern_js_devtools_styles");if(!(n instanceof HTMLTemplateElement))throw Error("template not found");t.appendChild(n.content);let a=document.createElement("div");a.classList.add("_modern_js_devtools_mountpoint","theme-register",i.container),t.appendChild(a);let c=window.__MODERN_JS_DEVTOOLS_OPTIONS__;(0,l.createRoot)(a).render((0,r.jsx)(s.DevtoolsCapsule,(0,o._)({},c)))})},82231:function(e,t,n){"use strict";n.r(t);var o=n("57662");if(!window.opener)try{try{delete window.__REACT_DEVTOOLS_GLOBAL_HOOK__}catch(e){}(0,o.initialize)(window);let e=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub;window.__REACT_DEVTOOLS_GLOBAL_HOOK__.sub=(t,n)=>{if("devtools-backend-installed"!==t)return e(t,n)}}catch(t){let e=Error("Failed to inject React DevTools backend.");e.cause=t,console.error(e)}},28391:function(e,t,n){"use strict";n.r(t),n.d(t,{$client:function(){return f},$inner:function(){return _},wallAgent:function(){return p}});var o=n("90247"),r=n("55709"),l=n("10487"),i=n("88739"),s=n("65872"),a=n("9880"),c=n.n(a),u=n("42700"),d=n("57662"),v=n("24933");let m=l.MessagePortChannel.wait(window,"channel:connect:client"),p=new v.WallAgent,h=(0,d.createBridge)(window,p),f=m.then(e=>{let t=(0,s.createHooks)();return{remote:(0,i.createBirpc)({async activateReactDevtools(){(0,d.activate)(window,{bridge:h})},async onFinishRender(){await t.callHook("onFinishRender")}},(0,r._)((0,o._)({},e.handlers),{timeout:500})),hooks:t}}),_=(0,u.proxy)({loaded:!1}),g=c()();f.then(e=>{let{remote:t,hooks:n}=e;p.bindRemote(t,"sendReactDevtoolsData"),n.hook("onFinishRender",async()=>{_.loaded=!0,g.resolve()})})},94258:function(e,t,n){"use strict";n.r(t),n.d(t,{useStickyDraggable:function(){return a}});var o=n("5872"),r=n("20421");let l=(e,t)=>{var n,o;return null!==(o=null===(n=({top:["left","right"],bottom:["left","right"],left:["top","bottom"],right:["top","bottom"]})[e])||void 0===n?void 0:n.includes(t))&&void 0!==o&&o},i=e=>{let[t,...n]=[{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),o=n.findIndex(e=>{let{key:n}=e;return l(t.key,n)}),[r]=n.splice(o,1);return[t,r,n[0],n[1]]},s=e=>{let{top:t,left:n,height:o,width:r}=e.getBoundingClientRect();return{top:t,left:n,bottom:window.innerHeight-t-o,right:window.innerWidth-n-r}},a=e=>{var t;let n=null!==(t=null==e?void 0:e.margin)&&void 0!==t?t:"10px",l="number"==typeof n?"".concat(n,"px"):n,[a,c]=(0,o.useState)(),u=()=>{if(!a)return;a.moveable=!1;let{el:e}=a,[t]=i(s(e));e.style.transition="".concat(t.key," 200ms"),requestIdleCallback(()=>{c(void 0),e.style[t.key]=l}),e.addEventListener("transitionend",()=>e.style.transition="",{once:!0})},d=t=>{let n="touches"in t?t.touches[0]:t;if(!(null==a?void 0:a.moveable))return;let{startX:o,startY:r}=a;(o-n.clientX)**2+(r-n.clientY)**2>9&&(a.clickable=!1);let{width:s,height:c}=a.el.getBoundingClientRect(),u=n.clientY-a.offsetY,d=n.clientX-a.offsetX,v=i({top:u,left:d,bottom:window.innerHeight-u-c,right:window.innerWidth-d-s}).map(e=>{let{key:t,value:n}=e;return{key:t,value:"".concat(n,"px")}});if(null==e?void 0:e.clamp)for(let e of v){let t=["top","bottom"].includes(e.key)?window.innerHeight-c:window.innerWidth-s;e.value="clamp(".concat(l,", ").concat(e.value,", ").concat(t,"px)")}let[m,p,...h]=v,{style:f}=a.el;f.transition="",f[m.key]=m.value,f[p.key]=p.value,f[h[0].key]="auto",f[h[1].key]="auto"};(0,r.useEvent)("blur",u),(0,r.useEvent)("mouseup",u),(0,r.useEvent)("touchend",u),(0,r.useEvent)("mousemove",d),(0,r.useEvent)("touchmove",d);let v=e=>{let t="touches"in e?e.touches[0]:e,n=e.currentTarget,o=n.getBoundingClientRect(),r=t.clientX-o.left;c({el:n,clickable:!0,moveable:!0,offsetX:r,offsetY:t.clientY-o.top,startX:t.clientX,startY:t.clientY})};return{isDragging:!!a,props:{onMouseDown:v,onTouchStart:v,onClickCapture:e=>{(null==a?void 0:a.clickable)||e.stopPropagation()}}}}},51879:function(e,t,n){"use strict";n.r(t),n.d(t,{pTimeout:function(){return o}});let o=(e,t)=>new Promise((n,o)=>{let r=!0,l=setTimeout(()=>{r=!1,o(Error("Promise Timeout"))},t);e.then(e=>{r&&n(e),clearTimeout(l)}),e.catch(o)})},24933:function(e,t,n){"use strict";n.r(t),n.d(t,{WallAgent:function(){return r}});var o=n("65872");class r extends o.Hookable{listen(e){return this.hook("receive",e),e}send(e,t,n){this.callHook("send",{event:e,payload:t,transferable:n})}bindRemote(e,t){var n=this;return e.$functions[t]=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];e[t](...o)}),this}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")})}}},40548:function(e){"use strict";e.exports={container:"container-d972e2"}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","495","567","58","637","768"],function(){return t("90915"),t("93196"),t("95359"),t("19449"),t("80295")}),e.O()}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/devtools-client",
3
- "version": "0.0.0-nightly-20240321170701",
3
+ "version": "0.0.0-nightly-20240323170707",
4
4
  "engines": {
5
5
  "node": ">=14.0.0"
6
6
  },
@@ -22,7 +22,7 @@
22
22
  "@radix-ui/react-popover": "^1.0.7",
23
23
  "@radix-ui/react-tabs": "^1.0.4",
24
24
  "@radix-ui/themes": "^2.0.0",
25
- "@rsbuild/core": "0.5.1",
25
+ "@rsbuild/core": "0.5.2",
26
26
  "@types/jest": "^29",
27
27
  "@types/lodash": "^4.14.202",
28
28
  "@types/node": "~16.11.7",
@@ -56,16 +56,16 @@
56
56
  "ufo": "^1.3.0",
57
57
  "valtio": "^1.11.1",
58
58
  "jest": "^29",
59
- "@modern-js-app/eslint-config": "0.0.0-nightly-20240321170701",
60
- "@modern-js/app-tools": "0.0.0-nightly-20240321170701",
61
- "@modern-js/eslint-config": "0.0.0-nightly-20240321170701",
62
- "@modern-js/plugin-proxy": "0.0.0-nightly-20240321170701",
63
- "@modern-js/runtime": "0.0.0-nightly-20240321170701",
64
- "@modern-js/tsconfig": "0.0.0-nightly-20240321170701",
65
- "@modern-js/types": "0.0.0-nightly-20240321170701",
66
- "@modern-js/devtools-kit": "0.0.0-nightly-20240321170701",
67
- "@modern-js/utils": "0.0.0-nightly-20240321170701",
68
- "@scripts/jest-config": "0.0.0-nightly-20240321170701"
59
+ "@modern-js-app/eslint-config": "0.0.0-nightly-20240323170707",
60
+ "@modern-js/app-tools": "0.0.0-nightly-20240323170707",
61
+ "@modern-js/eslint-config": "0.0.0-nightly-20240323170707",
62
+ "@modern-js/plugin-proxy": "0.0.0-nightly-20240323170707",
63
+ "@modern-js/runtime": "0.0.0-nightly-20240323170707",
64
+ "@modern-js/types": "0.0.0-nightly-20240323170707",
65
+ "@modern-js/devtools-kit": "0.0.0-nightly-20240323170707",
66
+ "@modern-js/utils": "0.0.0-nightly-20240323170707",
67
+ "@scripts/jest-config": "0.0.0-nightly-20240323170707",
68
+ "@modern-js/tsconfig": "0.0.0-nightly-20240323170707"
69
69
  },
70
70
  "scripts": {
71
71
  "reset": "npx rimraf ./**/node_modules",
@@ -1,2 +0,0 @@
1
- /*! For license information please see page.0d45e366.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["730"],{13493:function(e,r,s){"use strict";s.r(r),s.d(r,{PairsEditor:function(){return x}});var a=s("90247"),i=s("55709"),n=s("16170"),l=s("86834"),t=s("83982"),c=s("89677"),o=s("5872"),d=s("42700"),u=s("98797"),h=s("68492");let x=e=>{var{$data:r=(0,d.proxy)([]),disabled:s,placeholders:x}=e,p=(0,n._)(e,["$data","disabled","placeholders"]);let v=(0,d.useSnapshot)(r);return(0,o.useEffect)(()=>{v.length<=0&&r.push({id:(0,c.nanoid)(),key:"",value:""})},[v.length]),(0,l.jsx)(t.Box,(0,i._)((0,a._)({className:u.container},p),{children:v.map((e,a)=>(0,l.jsx)(h.Pair,{$data:r[a],disabled:s,placeholders:x,onDelete:()=>r.splice(a,1),onInsert:()=>r.splice(a+1,0,{id:(0,c.nanoid)(),key:"",value:""})},e.id))}))}},68492:function(e,r,s){"use strict";s.r(r),s.d(r,{Pair:function(){return c}});var a=s("86834"),i=s("83982");s("5872");var n=s("29214"),l=s("42700"),t=s("7041");let c=e=>{let{$data:r,onDelete:s,onInsert:c,disabled:o,placeholders:d=["Key...","Value..."]}=e,u=(0,l.useSnapshot)(r);return(0,a.jsxs)(i.Box,{className:t.inputPair,"aria-disabled":o,children:[(0,a.jsx)(i.TextField.Root,{children:(0,a.jsx)(i.TextField.Input,{value:u.key,disabled:o,placeholder:d[0],onChange:e=>r.key=e.currentTarget.value})}),(0,a.jsx)(i.Box,{asChild:!0,grow:"1",children:(0,a.jsx)(i.TextField.Root,{children:(0,a.jsx)(i.TextField.Input,{value:u.value,disabled:o,placeholder:d[1],onChange:e=>r.value=e.currentTarget.value})})}),(0,a.jsxs)(i.Box,{className:t.actions,children:[(0,a.jsx)(i.IconButton,{variant:"ghost",color:"gray",onClick:s,children:(0,a.jsx)(n.HiMinusSmall,{})}),(0,a.jsx)(i.IconButton,{variant:"ghost",color:"gray",onClick:c,children:(0,a.jsx)(n.HiPlusSmall,{})})]})]},u.id)}},98214:function(e,r,s){"use strict";s.r(r);var a=s("86834"),i=s("52493"),n=s.n(i),l=s("5872"),t=s("83982"),c=s("42700"),o=s("55058"),d=s("81695"),u=s("27196"),h=s("13493");r.default=()=>{let e=(0,c.useSnapshot)(d.$state),r=!!e.service.href,s=(0,l.useMemo)(()=>{var r;return(0,c.proxy)(null!==(r=n().cloneDeep(e.service.rules))&&void 0!==r?r:[])},[]),i=(0,c.useSnapshot)(s),x=r?"Active":"Offline",p=async()=>{await (0,d.registerService)(i.filter(e=>e.key))},v=async()=>{await (0,d.unregisterService)()};return(0,a.jsxs)(t.Box,{className:u.container,children:[(0,a.jsx)(t.Heading,{mt:"4",children:"Header Modifier"}),(0,a.jsxs)(t.Flex,{align:"center",gap:"1",children:[(0,a.jsx)(t.Box,{className:u.signal,"data-active":r}),(0,a.jsx)(t.Text,{color:"gray",size:"1",children:x}),e.service.href&&(0,a.jsx)(t.Link,{size:"1",href:e.service.href,target:"_blank",children:(0,o.parseURL)(e.service.href).pathname})]}),(0,a.jsx)(h.PairsEditor,{$data:s,disabled:r,my:"3",placeholders:["Match header field...","Replace by..."]}),(0,a.jsx)(t.Flex,{justify:"end",gap:"2",children:r?(0,a.jsx)(t.Button,{color:"red",onClick:v,children:"Unregister"}):(0,a.jsx)(t.Button,{onClick:p,children:"Register"})})]})}},27196:function(e){"use strict";e.exports={signal:"signal-_8af82"}}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see page.17318d21.js.LICENSE.txt */
2
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["718"],{16887:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseRoute:function(){return c}});var r=n("86834"),o=n("5872"),a=n("1607"),i=n("83982"),s=n("60441"),l=n("49945"),u=n("17862");let c=e=>{let{badge:t,route:n,title:c,children:d,open:x,onOpenChange:h}=e,{matched:p}=(0,o.useContext)(u.MatchUrlContext),[m,f]=(0,o.useState)(!1),j=p===n,g=j||(null!=x?x:m);return(0,r.jsx)(i.Box,{p:"3",className:l.container,children:(0,r.jsxs)(a.Root,{open:g,onOpenChange:null!=h?h:f,children:[(0,r.jsxs)(a.Trigger,{className:l.trigger,children:[t,(0,r.jsx)(i.Text,{className:l.urlText,style:{opacity:p&&!j?.5:1},children:c}),(0,r.jsx)(i.Box,{grow:"1"}),(0,r.jsx)(i.Box,{className:l.mark,"data-open":g,children:(0,r.jsx)(s.CaretSortIcon,{})})]}),(0,r.jsx)(a.Content,{className:l.content,children:d})]})})}},17862:function(e,t,n){"use strict";n.r(t),n.d(t,{MatchUrlContext:function(){return r}});let r=(0,n("5872").createContext)({url:""})},96737:function(e,t,n){"use strict";n.r(t),n.d(t,{LegacyRouteStats:function(){return a}});var r=n("86834");n("5872");var o=n("83982");let a=()=>(0,r.jsx)(o.Text,{children:"Unimplemented."})},68199:function(e,t,n){"use strict";n.r(t),n.d(t,{MatchRemixRouteContext:function(){return r}});let r=(0,n("5872").createContext)([])},14492:function(e,t,n){"use strict";n.r(t),n.d(t,{RemixRoute:function(){return x}});var r=n("86834"),o=n("5872"),a=n("83982"),i=n("52493"),s=n.n(i),l=n("55058"),u=n("20421"),c=n("68199"),d=n("290");let x=e=>{var t,n;let{route:i}=e,h=s().castArray(i),p=s().last(h),m="_component"in p&&s().isString(p._component)?p._component:null,f=(0,l.resolveURL)("/",...h.map(e=>e.path).filter(s().isString))||"/",j=null!==(n=p.index)&&void 0!==n&&n,g="/"===f,y=(0,o.useContext)(c.MatchRemixRouteContext),v=!1===y||y.length>0,R=!!y&&!!s().find(y,{route:{id:p.id}}),C=(0,o.useRef)(null),b=(0,u.useHoverDirty)(C);return(0,r.jsxs)(a.Box,{ref:C,children:[(0,r.jsxs)(a.Flex,{gap:"2",align:"center",mb:p.children&&"1",children:[(0,r.jsxs)(a.Box,{className:d.endpointContainer,"data-matched":!v||R,children:[j&&g||(0,r.jsx)(a.Code,{className:d.endpointTag,"data-compose":j&&"head",children:f}),j&&(0,r.jsx)(a.Code,{className:d.endpointTag,color:"purple","data-compose":!g&&"tail",children:"/(index)"})]}),m&&(0,r.jsx)(a.Link,{className:d.shyLink,style:{visibility:b?"visible":"hidden"},children:m})]}),(0,r.jsx)(a.Flex,{direction:"column",gap:"1",children:null===(t=p.children)||void 0===t?void 0:t.map(e=>(0,r.jsx)(x,{route:h.concat(e)},e.id))})]})}},16197:function(e,t,n){"use strict";n.r(t),n.d(t,{RemixRouteStats:function(){return d}});var r=n("86834"),o=n("39934"),a=n("83982"),i=n("5872"),s=n("55058"),l=n("17862"),u=n("68199"),c=n("14492");let d=e=>{let{remixRoutes:t,route:n}=e,{matched:d,url:x}=(0,i.useContext)(l.MatchUrlContext),h=(0,i.useMemo)(()=>{if(d!==n)return!d&&[];{var e;if(!t)return[];let r=(0,s.cleanDoubleSlashes)(x.replace(n.urlPath,"/")),a=null!==(e=(0,o.matchRoutes)(t,r))&&void 0!==e?e:[];return!!a.length&&a}},[t,d,x]);return t.length?(0,r.jsx)(u.MatchRemixRouteContext.Provider,{value:h,children:(0,r.jsx)(a.Flex,{gap:"2",direction:"column",children:t.map(e=>(0,r.jsx)(c.RemixRoute,{route:e},e.id))})}):null}},85080:function(e,t,n){"use strict";n.r(t),n.d(t,{ClientRouteStats:function(){return x}});var r=n("86834"),o=n("52493"),a=n.n(o),i=n("5872"),s=n("42700"),l=n("96737"),u=n("16197"),c=n("99480"),d=n("24326");(0,s.proxy)({});let x=e=>{let{route:t}=e,n=(0,d.useThrowable)(c.$server),{entrypoints:o}=(0,s.useSnapshot)(c.$framework).context,x=t.entryName&&a().find(o,{entryName:t.entryName});if(!x)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));let p=n.remote.getFileSystemRoutes(x.entryName);return(0,r.jsx)(i.Suspense,{children:(0,r.jsx)(()=>{let e=(0,d.useThrowable)(p);return h(e)?(0,r.jsx)(l.LegacyRouteStats,{}):(0,r.jsx)(u.RemixRouteStats,{remixRoutes:e,route:t})},{})})},h=e=>e[0]&&!("type"in e[0])},38502:function(e,t,n){"use strict";n.r(t);var r=n("85080");n.es(r,t)},82616:function(e,t,n){"use strict";n.r(t),n.d(t,{EntryRoute:function(){return u}});var r=n("86834"),o=n("5872"),a=n("83982"),i=n("16887"),s=n("5489"),l=n("38502");let u=e=>{let{route:t}=e;return(0,r.jsx)(i.BaseRoute,{badge:c,route:t,title:t.urlPath,children:(0,r.jsxs)(a.Flex,{direction:"column",gap:"2",children:[(0,r.jsx)(a.ScrollArea,{scrollbars:"horizontal",children:(0,r.jsx)(s.EntryStats,{route:t})}),(0,r.jsx)(a.ScrollArea,{scrollbars:"horizontal",children:(0,r.jsx)(o.Suspense,{children:(0,r.jsx)(l.ClientRouteStats,{route:t})})})]})})},c=(0,r.jsx)(a.Badge,{color:"cyan",children:"Entry"})},5489:function(e,t,n){"use strict";n.r(t),n.d(t,{EntryStats:function(){return c}});var r=n("86834");n("5872");var o=n("52493"),a=n.n(o),i=n("42700"),s=n("83982"),l=n("32821"),u=n("99480");let c=e=>{let{route:t}=e,{entrypoints:n}=(0,i.useSnapshot)(u.$framework).context,o=t.entryName&&a().find(n,{entryName:t.entryName});if(!o)throw Error("Can't found the entrypoint named ".concat(JSON.stringify(t.entryName)));return(0,r.jsxs)(s.Box,{className:l.stats,children:[(0,r.jsxs)(s.Flex,{gap:"1",children:[(0,r.jsx)(s.Strong,{children:"Directory: "}),(0,r.jsx)(s.Text,{children:o.absoluteEntryDir})]}),(0,r.jsxs)(s.Flex,{gap:"1",children:[(0,r.jsx)(s.Strong,{children:"Entry:"}),(0,r.jsx)(s.Text,{children:o.entry})]})]})}},4992:function(e,t,n){"use strict";n.r(t);var r=n("82616");n.es(r,t)},97083:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerRoute:function(){return l}});var r=n("86834");n("5872");var o=n("52493"),a=n.n(o),i=n("4992"),s=n("76533");let l=e=>{let{route:t}=e;return a().isString(t.entryName)?(0,r.jsx)(i.EntryRoute,{route:t}):(0,r.jsx)(s.UnknownRoute,{route:t})}},76533:function(e,t,n){"use strict";n.r(t),n.d(t,{UnknownRoute:function(){return i}});var r=n("86834");n("5872");var o=n("83982"),a=n("16887");let i=e=>{let{route:t}=e;return(0,r.jsx)(a.BaseRoute,{badge:s,route:t,title:t.urlPath,children:(0,r.jsx)(o.Card,{children:"Unknown route type."})})},s=(0,r.jsx)(o.Badge,{color:"gray",children:"Unknown"})},95879:function(e,t,n){"use strict";n.r(t);var r=n("86834"),o=n("83982"),a=n("5872"),i=n("42700"),s=n("55058"),l=n("29214"),u=n("99480"),c=n("30674"),d=n("17862"),x=n("97083");t.default=()=>{let{serverRoutes:e}=(0,i.useSnapshot)(u.$framework).context,[t,n]=(0,a.useState)({url:""}),h=t=>{let{pathname:r}=(0,s.parseURL)(t);n({url:t,matched:e.find(e=>r===e.urlPath||r.startsWith((0,s.withTrailingSlash)(e.urlPath)))})};return(0,r.jsx)(d.MatchUrlContext.Provider,{value:t,children:(0,r.jsxs)(o.Flex,{position:"relative",direction:"column",gap:"2",align:"stretch",justify:"between",pt:"8",children:[e.map(e=>(0,r.jsx)(x.ServerRoute,{route:e},e.entryPath)),(0,r.jsx)(o.Box,{mb:"2",className:c.input,children:(0,r.jsx)(o.Box,{style:{maxWidth:"40rem",margin:"0 auto",padding:"0 var(--space-4)"},children:(0,r.jsxs)(o.TextField.Root,{children:[(0,r.jsx)(o.TextField.Slot,{children:(0,r.jsx)(l.HiOutlineArrowsRightLeft,{})}),(0,r.jsx)(o.TextField.Input,{placeholder:"/foo?bar#baz",onChange:e=>h(e.target.value),type:"url",autoComplete:"false",autoCapitalize:"false",autoCorrect:"false"})]})})})]})})}},30674:function(e){"use strict";e.exports={input:"input-d0c7d8"}},1607:function(e,t,n){"use strict";n.r(t),n.d(t,{Content:function(){return w},Root:function(){return S},Trigger:function(){return N}});var r=n("83197"),o=n("5872"),a=n("67844"),i=n("82602"),s=n("88654"),l=n("59504"),u=n("88340"),c=n("63422"),d=n("78910"),x=n("63018");let h="Collapsible",[p,m]=(0,i.createContextScope)(h),[f,j]=p(h),g=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,open:a,defaultOpen:i,disabled:l,onOpenChange:u,...d}=e,[h=!1,p]=(0,s.useControllableState)({prop:a,defaultProp:i,onChange:u});return(0,o.createElement)(f,{scope:n,disabled:l,contentId:(0,x.useId)(),open:h,onOpenToggle:(0,o.useCallback)(()=>p(e=>!e),[p])},(0,o.createElement)(c.Primitive.div,(0,r.default)({"data-state":b(h),"data-disabled":l?"":void 0},d,{ref:t})))}),y=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,...i}=e,s=j("CollapsibleTrigger",n);return(0,o.createElement)(c.Primitive.button,(0,r.default)({type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":b(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled},i,{ref:t,onClick:(0,a.composeEventHandlers)(e.onClick,s.onOpenToggle)}))}),v="CollapsibleContent",R=(0,o.forwardRef)((e,t)=>{let{forceMount:n,...a}=e,i=j(v,e.__scopeCollapsible);return(0,o.createElement)(d.Presence,{present:n||i.open},({present:e})=>(0,o.createElement)(C,(0,r.default)({},a,{ref:t,present:e})))}),C=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:n,present:a,children:i,...s}=e,d=j(v,n),[x,h]=(0,o.useState)(a),p=(0,o.useRef)(null),m=(0,u.useComposedRefs)(t,p),f=(0,o.useRef)(0),g=f.current,y=(0,o.useRef)(0),R=y.current,C=d.open||x,S=(0,o.useRef)(C),N=(0,o.useRef)();return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.useLayoutEffect)(()=>{let e=p.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();f.current=t.height,y.current=t.width,!S.current&&(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),h(a)}},[d.open,a]),(0,o.createElement)(c.Primitive.div,(0,r.default)({"data-state":b(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!C},s,{ref:m,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":R?`${R}px`:void 0,...e.style}}),C&&i)});function b(e){return e?"open":"closed"}let S=g,N=y,w=R}}]);
@@ -1 +0,0 @@
1
- (self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["567"],{49804:function(t){"use strict";t.exports={connector:"connector-_43720",link:"link-_26ee2"}},17065:function(t){"use strict";t.exports={"indicate-card":"indicate-card-_974b8",indicateCard:"indicate-card-_974b8"}},73478:function(t){"use strict";t.exports={container:"container-a41eae"}},44798:function(t){"use strict";t.exports={container:"container-c37ff8",fab:"fab-b17740",logo:"logo-c7a29e",slideInFromRight:"slideInFromRight-e1026d"}},8932:function(t){"use strict";t.exports={backdrop:"backdrop-_51706","close-button":"close-button-c3742a",closeButton:"close-button-c3742a",container:"container-fb8255",frame:"frame-_5d7ff"}},20109:function(t){"use strict";t.exports={children:"children-ce277e",container:"container-feec25"}},92677:function(t){"use strict";t.exports={loading:"loading-f4a5e7",rotate:"rotate-d4ee47"}},58091:function(t){"use strict";t.exports={container:"container-_6ff2e"}},69992:function(t){"use strict";t.exports={container:"container-_1260b"}},98797:function(t){"use strict";t.exports={container:"container-_560f9"}},7041:function(t){"use strict";t.exports={actions:"actions-_5b76a","input-pair":"input-pair-_55005",inputPair:"input-pair-_55005"}},49945:function(t){"use strict";t.exports={container:"container-_729f8",content:"content-_01b01",mark:"mark-_92790",slideDown:"slideDown-b8bce3",slideUp:"slideUp-dbcad1",trigger:"trigger-_13b59","url-text":"url-text-a0e7e4",urlText:"url-text-a0e7e4"}},290:function(t){"use strict";t.exports={"endpoint-container":"endpoint-container-_4be65",endpointContainer:"endpoint-container-_4be65","endpoint-tag":"endpoint-tag-_0664a",endpointTag:"endpoint-tag-_0664a","shy-link":"shy-link-d59f70",shyLink:"shy-link-d59f70"}},32821:function(t){"use strict";t.exports={stats:"stats-e82970"}}}]);