@modern-js/devtools-client 2.48.0 → 2.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/html/client/index.html +3 -3
- package/dist/html/mount/index.html +3 -3
- package/dist/modern.config.json +4 -4
- package/dist/nestedRoutes.json +1 -1
- package/dist/public/sw-proxy.js +1 -1
- package/dist/routes-manifest.json +91 -82
- package/dist/static/js/101.2f6b4fdc.js +2 -0
- package/dist/static/js/{991.0a8930ea.js.LICENSE.txt → 101.2f6b4fdc.js.LICENSE.txt} +80 -66
- package/dist/static/js/637.74e75c0a.js +2 -0
- package/dist/static/js/{615.c7bf959b.js.LICENSE.txt → 637.74e75c0a.js.LICENSE.txt} +310 -306
- package/dist/static/js/{987.da197c98.js → 886.7c6bd7c9.js} +3 -3
- package/dist/static/js/async/447.bddee91f.js +2 -0
- package/dist/static/js/async/{13.713eafbf.js.LICENSE.txt → 447.bddee91f.js.LICENSE.txt} +9 -9
- package/dist/static/js/async/{769.e85f7c76.js → 769.0a3c4c2a.js} +2 -2
- package/dist/static/js/async/942.c6af899b.js +2 -0
- package/dist/static/js/async/{client_headers/welcome/page.ae0ee7b1.js.LICENSE.txt → 942.c6af899b.js.LICENSE.txt} +3 -3
- package/dist/static/js/async/{client_context/layout.2e062ccf.js → client_config/layout.ba4d2992.js} +2 -2
- package/dist/static/js/async/client_config/page.a63f5a35.js +1 -0
- package/dist/static/js/async/client_context/builder/page.2415d782.js +2 -0
- package/dist/static/js/async/client_context/builder/{page.57367f46.js.LICENSE.txt → page.2415d782.js.LICENSE.txt} +10 -10
- package/dist/static/js/async/client_context/framework/page.2757805b.js +2 -0
- package/dist/static/js/async/client_context/framework/{page.3ab93d05.js.LICENSE.txt → page.2757805b.js.LICENSE.txt} +10 -10
- package/dist/static/js/async/client_context/layout.d57d4a8b.js +2 -0
- package/dist/static/js/async/client_context/layout.d57d4a8b.js.LICENSE.txt +5 -0
- package/dist/static/js/async/client_context/page.635cc0cb.js +1 -0
- package/dist/static/js/async/client_doctor/page.e50bb05e.js +2 -0
- package/dist/static/js/async/client_doctor/{page.bdd34893.js.LICENSE.txt → page.e50bb05e.js.LICENSE.txt} +5 -5
- package/dist/static/js/async/client_external/layout.7e04ffdd.js +2 -0
- package/dist/static/js/async/client_headers/editor/page.42e7444f.js +2 -0
- package/dist/static/js/async/client_headers/editor/{page.5bbf97db.js.LICENSE.txt → page.42e7444f.js.LICENSE.txt} +18 -18
- package/dist/static/js/async/client_headers/layout.f6b0d5ea.js +2 -0
- package/dist/static/js/async/{client_config/layout.93d5447a.js.LICENSE.txt → client_headers/layout.f6b0d5ea.js.LICENSE.txt} +2 -0
- package/dist/static/js/async/client_headers/page.d2a0f47d.js +1 -0
- package/dist/static/js/async/client_headers/welcome/page.1af1ede1.js +2 -0
- package/dist/static/js/async/{client_pages/layout.12947364.js.LICENSE.txt → client_headers/welcome/page.1af1ede1.js.LICENSE.txt} +1 -1
- package/dist/static/js/async/client_overview/page.0a2b4c8e.js +2 -0
- package/dist/static/js/async/client_overview/{page.8dea53dd.js.LICENSE.txt → page.0a2b4c8e.js.LICENSE.txt} +5 -5
- package/dist/static/js/async/client_page.5e12b570.js +1 -0
- package/dist/static/js/async/client_pages/layout.242f10b5.js +2 -0
- package/dist/static/js/async/client_pages/page.1ed2c561.js +2 -0
- package/dist/static/js/async/client_pages/{page.b8ca3bf4.js.LICENSE.txt → page.1ed2c561.js.LICENSE.txt} +69 -69
- package/dist/static/js/async/client_react/(tab)/layout.b25a0a9b.js +2 -0
- package/dist/static/js/async/client_react/(tab)/layout.b25a0a9b.js.LICENSE.txt +3 -0
- package/dist/static/js/async/client_react/(tab)/page.3317c84a.js +2 -0
- package/dist/static/js/async/client_react/(tab)/{page.af8bdb2c.js.LICENSE.txt → page.3317c84a.js.LICENSE.txt} +6 -6
- package/dist/static/js/async/client_react/offscreen/{page.304766aa.js → page.44e6922b.js} +2 -2
- package/dist/static/js/async/client_react/page.5660dc8e.js +1 -0
- package/dist/static/js/builder-runtime.7564ba26.js +1 -0
- package/dist/static/js/{client.296a9f94.js → client.4916024b.js} +2 -2
- package/dist/static/js/{client.296a9f94.js.LICENSE.txt → client.4916024b.js.LICENSE.txt} +146 -132
- package/dist/static/js/components.d96a1b4e.js +1 -0
- package/dist/static/js/lib-polyfill.4350f405.js +2 -0
- package/dist/static/js/{lib-polyfill.e92737b9.js.LICENSE.txt → lib-polyfill.4350f405.js.LICENSE.txt} +2366 -2336
- package/dist/static/js/{lib-router.d8fe5836.js → lib-router.e084a6fd.js} +2 -2
- package/dist/static/js/{lib-router.d8fe5836.js.LICENSE.txt → lib-router.e084a6fd.js.LICENSE.txt} +15 -15
- package/dist/static/js/mount.799a7150.js +2 -0
- package/dist/static/js/{mount.0469c3d3.js.LICENSE.txt → mount.799a7150.js.LICENSE.txt} +36 -36
- package/package.json +12 -12
- package/dist/static/js/615.c7bf959b.js +0 -2
- package/dist/static/js/991.0a8930ea.js +0 -2
- package/dist/static/js/async/13.713eafbf.js +0 -2
- package/dist/static/js/async/client_config/layout.93d5447a.js +0 -2
- package/dist/static/js/async/client_config/page.855825e9.js +0 -1
- package/dist/static/js/async/client_context/builder/page.57367f46.js +0 -2
- package/dist/static/js/async/client_context/framework/page.3ab93d05.js +0 -2
- package/dist/static/js/async/client_context/page.ac1c2b07.js +0 -1
- package/dist/static/js/async/client_doctor/page.bdd34893.js +0 -2
- package/dist/static/js/async/client_headers/editor/page.5bbf97db.js +0 -2
- package/dist/static/js/async/client_headers/layout.ba55a562.js +0 -2
- package/dist/static/js/async/client_headers/page.2e32f9e7.js +0 -1
- package/dist/static/js/async/client_headers/welcome/page.ae0ee7b1.js +0 -2
- package/dist/static/js/async/client_overview/page.8dea53dd.js +0 -2
- package/dist/static/js/async/client_page.98d64feb.js +0 -1
- package/dist/static/js/async/client_pages/layout.12947364.js +0 -2
- package/dist/static/js/async/client_pages/page.b8ca3bf4.js +0 -2
- package/dist/static/js/async/client_react/(tab)/layout.e0c7fdb9.js +0 -2
- package/dist/static/js/async/client_react/(tab)/page.af8bdb2c.js +0 -2
- package/dist/static/js/async/client_react/page.e5920d0a.js +0 -1
- package/dist/static/js/builder-runtime.c28b57b7.js +0 -1
- package/dist/static/js/components.ac000cae.js +0 -1
- package/dist/static/js/lib-polyfill.e92737b9.js +0 -2
- package/dist/static/js/mount.0469c3d3.js +0 -2
- /package/dist/static/css/{987.390571a0.css → 886.b9e2a32f.css} +0 -0
- /package/dist/static/css/async/client_doctor/{page.02275949.css → page.259ec644.css} +0 -0
- /package/dist/static/css/async/client_headers/editor/{page.36471e17.css → page.c78f5c66.css} +0 -0
- /package/dist/static/css/async/client_headers/{layout.e00833cb.css → layout.cd1d5981.css} +0 -0
- /package/dist/static/css/async/client_overview/{page.05b502e2.css → page.81782291.css} +0 -0
- /package/dist/static/css/async/client_pages/{layout.965327cf.css → layout.6b89675e.css} +0 -0
- /package/dist/static/css/async/client_pages/{page.91179631.css → page.488cbc24.css} +0 -0
- /package/dist/static/css/{client.9c59c49e.css → client.92f37413.css} +0 -0
- /package/dist/static/css/{components.6a42eff9.css → components.f42635fc.css} +0 -0
- /package/dist/static/css/{mount.17b4b4a3.css → mount.40789ae6.css} +0 -0
- /package/dist/static/js/{987.da197c98.js.LICENSE.txt → 886.7c6bd7c9.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{769.e85f7c76.js.LICENSE.txt → 769.0a3c4c2a.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{client_context/layout.2e062ccf.js.LICENSE.txt → client_config/layout.ba4d2992.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{client_react/(tab)/layout.e0c7fdb9.js.LICENSE.txt → client_external/layout.7e04ffdd.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/{client_headers/layout.ba55a562.js.LICENSE.txt → client_pages/layout.242f10b5.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_react/offscreen/{page.304766aa.js.LICENSE.txt → page.44e6922b.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see page.42e7444f.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("99753"),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("83531");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("98744"),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"})})]})}},98744:function(e){"use strict";e.exports={signal:"signal-_8af82"}}}]);
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
/*!
|
|
1
|
+
/*! react/jsx-runtime */
|
|
2
|
+
|
|
3
|
+
/*! lodash */
|
|
2
4
|
|
|
3
5
|
/*! react/jsx-runtime */
|
|
4
6
|
|
|
5
|
-
/*!
|
|
7
|
+
/*! valtio */
|
|
8
|
+
|
|
9
|
+
/*! @/components/PairsEditor/Editor */
|
|
6
10
|
|
|
7
11
|
/*! @swc/helpers/_/_object_without_properties */
|
|
8
12
|
|
|
13
|
+
/*! ufo */
|
|
14
|
+
|
|
9
15
|
/*! react */
|
|
10
16
|
|
|
11
17
|
/*! react */
|
|
12
18
|
|
|
13
|
-
/*! ./
|
|
19
|
+
/*! ./Editor.module.scss */
|
|
14
20
|
|
|
15
21
|
/*! @radix-ui/themes */
|
|
16
22
|
|
|
17
|
-
/*!
|
|
18
|
-
|
|
19
|
-
/*! react/jsx-runtime */
|
|
20
|
-
|
|
21
|
-
/*! ./Editor.module.scss */
|
|
23
|
+
/*! ./Pair */
|
|
22
24
|
|
|
23
25
|
/*! @radix-ui/themes */
|
|
24
26
|
|
|
25
|
-
/*!
|
|
27
|
+
/*! react-icons/hi2 */
|
|
26
28
|
|
|
27
29
|
/*! @swc/helpers/_/_object_spread */
|
|
28
30
|
|
|
29
31
|
/*! react */
|
|
30
32
|
|
|
31
|
-
/*!
|
|
32
|
-
|
|
33
|
-
/*! ./page.module.scss */
|
|
34
|
-
|
|
35
|
-
/*! valtio */
|
|
36
|
-
|
|
37
|
-
/*! ./Pair.module.scss */
|
|
33
|
+
/*! react/jsx-runtime */
|
|
38
34
|
|
|
39
35
|
/*! nanoid */
|
|
40
36
|
|
|
41
|
-
/*!
|
|
37
|
+
/*! @radix-ui/themes */
|
|
42
38
|
|
|
43
|
-
/*!
|
|
39
|
+
/*! ../state */
|
|
40
|
+
|
|
41
|
+
/*! ./page.module.scss */
|
|
44
42
|
|
|
45
43
|
/*! valtio */
|
|
46
44
|
|
|
47
45
|
/*! valtio */
|
|
48
46
|
|
|
47
|
+
/*! ./Pair.module.scss */
|
|
48
|
+
|
|
49
49
|
/*! @swc/helpers/_/_object_spread_props */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see layout.f6b0d5ea.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["925"],{4612:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return c}});var o=t("86834"),s=t("39934"),r=t("83982"),u=t("2875");function c(){return(0,o.jsx)(r.Box,{px:"4",mx:"auto",pb:"4",className:u.container,children:(0,o.jsx)(s.Outlet,{})})}},2875:function(e){"use strict";e.exports={container:"container-_15ef2"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["963"],{21954:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see page.1af1ede1.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["860"],{19523:function(e,s,r){"use strict";r.r(s);var n=r("86834"),t=r("39934"),i=r("83982");r("5872");s.default=()=>{let e=(0,t.useNavigate)();return(0,n.jsxs)(i.Box,{children:[(0,n.jsx)(i.Heading,{my:"4",children:"Header Modifier"}),(0,n.jsx)(i.Text,{as:"p",mb:"2",children:"Modifying headers of requests, useful for switch between traffic lanes."}),(0,n.jsxs)(i.Text,{as:"p",children:["That will register",(0,n.jsx)(i.Link,{href:"/sw-proxy.js",target:"_blank",mx:"1",children:"/sw-proxy.js"}),"as a service worker to handle all requests under",(0,n.jsx)(i.Link,{mx:"1",children:location.host})]}),(0,n.jsx)(i.Button,{my:"4",onClick:()=>e("../editor"),children:"Enable"})]})}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see page.0a2b4c8e.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["161"],{88640:function(e,r,a){"use strict";a.r(r);r.default=function(){for(var e,r,a=0,i="";a<arguments.length;)(e=arguments[a++])&&(r=function e(r){var a,i,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r){if(Array.isArray(r))for(a=0;a<r.length;a++)r[a]&&(i=e(r[a]))&&(n&&(n+=" "),n+=i);else for(a in r)r[a]&&(n&&(n+=" "),n+=a)}return n}(e))&&(i&&(i+=" "),i+=r);return i}},64456:function(e,r,a){"use strict";a.r(r),a.d(r,{IndicateCard:function(){return h}});var i=a("90247"),n=a("55709"),s=a("16170"),t=a("86834"),c=a("88640"),l=a("83982"),o=a("4423");let d=e=>{var{children:r,className:a}=e,d=(0,s._)(e,["children","className"]);return(0,t.jsx)(l.Box,(0,n._)((0,i._)({},d),{className:(0,c.default)(o.indicateCard,a),children:r}))};d.displayName="IndicateCard";let p=e=>(0,t.jsx)(l.Flex,(0,i._)({gap:"2",height:"100%",justify:"center",direction:"column",align:"start"},e));p.displayName="IndicateCard.Column";let h=Object.assign(d,{Column:p})},72737:function(e,r,a){"use strict";a.r(r);var i=a("64456");a.es(i,r)},51090:function(e,r,a){"use strict";a.r(r);var i=a("86834"),n=a("83982");a("5872");var s=a("29214"),t=a("55058"),c=a("42700"),l=a("99480");a("4423");var o=a("27668"),d=a("72737");let p={webpack:"webpack",rspack:"@rspack/core"};r.default=()=>{let e=(0,c.useSnapshot)(l.$framework),r=(0,c.useSnapshot)(l.$definition),a=(0,c.useSnapshot)(l.$dependencies),h=(0,c.useSnapshot)(l.$builder),x=(0,c.useSnapshot)(l.$perf),u=window.navigator.userAgent.includes("Mac OS"),{toolsType:g}=e.context;if("app-tools"!==g)throw Error();let m=r.packages.appTools,j=a[m],{bundlerType:f}=h.context,b=p[f],y=a[b];return(0,i.jsxs)(n.Flex,{direction:"column",align:"center",p:"4",children:[(0,i.jsxs)(n.Flex,{wrap:"wrap",gap:"4",mb:"8",justify:"center",className:o.container,children:[(0,i.jsx)(d.IndicateCard,{className:o.primaryCard,children:(0,i.jsx)(n.Theme,{appearance:"dark",hasBackground:!1,asChild:!0,children:(0,i.jsxs)(d.IndicateCard.Column,{children:[(0,i.jsx)(n.Heading,{as:"h1",className:o.heading,children:"DevTools"}),(0,i.jsx)(n.Flex,{gap:"2",children:(0,i.jsxs)("button",{type:"button",children:["v",l.VERSION]})}),(0,i.jsxs)(n.Text,{as:"p",size:"1",children:["Powered by ",m,"@",j]})]})})}),(0,i.jsx)(d.IndicateCard,{className:o.infoCard,children:(0,i.jsxs)(n.Flex,{justify:"between",gap:"3",align:"center",height:"100%",children:[(0,i.jsxs)(n.Box,{children:[(0,i.jsx)(n.Text,{color:"gray",children:"Visit our website"}),(0,i.jsx)(n.Flex,{align:"center",asChild:!0,children:(0,i.jsxs)(n.Link,{href:r.announcement.fallback,target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)(s.HiLink,{}),(0,i.jsx)(n.Text,{children:(0,t.parseURL)(r.announcement.fallback).host})]})})]}),(0,i.jsx)(n.Box,{color:"gray",asChild:!0,children:(0,i.jsx)(s.HiOutlineDocumentText,{size:"50",color:"var(--gray-6)"})})]})}),(0,i.jsx)(d.IndicateCard,{className:o.pluginCard,children:(0,i.jsxs)(n.Flex,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.Box,{children:[(0,i.jsx)(n.Text,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},mb:"2",children:e.context.plugins.length}),(0,i.jsx)(n.Text,{as:"p",size:"1",color:"gray",children:"Framework Plugins"})]}),(0,i.jsx)(s.HiOutlinePuzzlePiece,{size:"50",color:"var(--gray-6)"})]})}),(0,i.jsx)(d.IndicateCard,{className:o.compileTimeCard,children:(0,i.jsxs)(n.Flex,{align:"center",justify:"between",height:"100%",gap:"6",children:[(0,i.jsxs)(n.Box,{children:[(0,i.jsxs)(n.Text,{as:"p",size:"8",weight:"bold",style:{color:"var(--gray-11)"},children:[(x.compileDuration/1e3).toFixed(2),"s"]}),(0,i.jsxs)(n.Text,{as:"p",size:"1",color:"gray",children:["Compiled in ",b,"@",y]})]}),(0,i.jsx)(s.HiOutlineClock,{size:"50",color:"var(--gray-6)"})]})})]}),(0,i.jsxs)(n.Flex,{align:"center",className:o.bottomTip,children:[(0,i.jsx)(n.Text,{color:"gray",size:"2",children:"Use"}),(0,i.jsxs)(n.Kbd,{mx:"2",children:["Shift + ",u?"Opt":"Alt"," + D"]}),(0,i.jsx)(n.Text,{color:"gray",size:"2",children:"to open DevTools"})]})]})}},27668:function(e){"use strict";e.exports={"bottom-tip":"bottom-tip-_4de0d",bottomTip:"bottom-tip-_4de0d","compile-time-card":"compile-time-card-_5eda1",compileTimeCard:"compile-time-card-_5eda1",container:"container-_43720",heading:"heading-ecaa29","indicate-bar":"indicate-bar-_5118d",indicateBar:"indicate-bar-_5118d","info-card":"info-card-_07b33",infoCard:"info-card-_07b33","plugin-card":"plugin-card-f1e2dc",pluginCard:"plugin-card-f1e2dc","primary-card":"primary-card-a671aa",primaryCard:"primary-card-a671aa"}}}]);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
/*! @swc/helpers/_/_object_without_properties */
|
|
4
4
|
|
|
5
|
-
/*!
|
|
5
|
+
/*! @/components/Card/Indicate.module.scss */
|
|
6
6
|
|
|
7
|
-
/*!
|
|
7
|
+
/*! ./Indicate */
|
|
8
8
|
|
|
9
9
|
/*! react */
|
|
10
10
|
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
|
|
19
19
|
/*! clsx */
|
|
20
20
|
|
|
21
|
+
/*! @/components/Card */
|
|
22
|
+
|
|
21
23
|
/*! @swc/helpers/_/_object_spread */
|
|
22
24
|
|
|
23
25
|
/*! ufo */
|
|
24
26
|
|
|
25
|
-
/*! ./page.module.scss */
|
|
26
|
-
|
|
27
27
|
/*! @swc/helpers/_/_object_spread_props */
|
|
28
28
|
|
|
29
29
|
/*! react/jsx-runtime */
|
|
30
30
|
|
|
31
31
|
/*! react/jsx-runtime */
|
|
32
32
|
|
|
33
|
-
/*!
|
|
33
|
+
/*! ./page.module.scss */
|
|
34
34
|
|
|
35
35
|
/*! valtio */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["127"],{63795:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see layout.242f10b5.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["631"],{73835:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return u}});var o=t("86834"),s=t("39934"),r=t("83982"),c=t("47283");function u(){return(0,o.jsx)(r.Box,{px:"4",mx:"auto",pb:"4",className:c.container,children:(0,o.jsx)(s.Outlet,{})})}},47283:function(e){"use strict";e.exports={container:"container-a0c6fe"}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see page.1ed2c561.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("34145"),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("83447");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("92439"),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("31759"),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"})]})})})]})})}},31759: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,56 +1,36 @@
|
|
|
1
|
-
/*! react */
|
|
2
|
-
|
|
3
|
-
/*! @/components/ServerRoute/Context */
|
|
4
|
-
|
|
5
|
-
/*! ./Context */
|
|
6
|
-
|
|
7
|
-
/*! valtio */
|
|
1
|
+
/*! @radix-ui/react-primitive */
|
|
8
2
|
|
|
9
3
|
/*! @radix-ui/react-icons */
|
|
10
4
|
|
|
11
|
-
/*! @radix-ui/
|
|
5
|
+
/*! @radix-ui/react-use-layout-effect */
|
|
12
6
|
|
|
13
7
|
/*! react */
|
|
14
8
|
|
|
15
|
-
/*! react
|
|
9
|
+
/*! @radix-ui/react-presence */
|
|
16
10
|
|
|
17
|
-
/*!
|
|
11
|
+
/*! lodash */
|
|
18
12
|
|
|
19
13
|
/*! react/jsx-runtime */
|
|
20
14
|
|
|
21
|
-
/*! ./
|
|
15
|
+
/*! ./Stats.module.scss */
|
|
22
16
|
|
|
23
|
-
/*!
|
|
17
|
+
/*! ./Base */
|
|
18
|
+
|
|
19
|
+
/*! @radix-ui/primitive */
|
|
24
20
|
|
|
25
21
|
/*! react */
|
|
26
22
|
|
|
27
23
|
/*! react/jsx-runtime */
|
|
28
24
|
|
|
29
|
-
/*!
|
|
30
|
-
|
|
31
|
-
/*! ufo */
|
|
25
|
+
/*! @/components/ServerRoute/Context */
|
|
32
26
|
|
|
33
|
-
/*!
|
|
27
|
+
/*! react */
|
|
34
28
|
|
|
35
29
|
/*! react/jsx-runtime */
|
|
36
30
|
|
|
37
|
-
/*! ./Stats.module.scss */
|
|
38
|
-
|
|
39
|
-
/*! @/components/ServerRoute/Route */
|
|
40
|
-
|
|
41
|
-
/*! @radix-ui/react-compose-refs */
|
|
42
|
-
|
|
43
|
-
/*! ./Base */
|
|
44
|
-
|
|
45
|
-
/*! ./Stats */
|
|
46
|
-
|
|
47
31
|
/*! react */
|
|
48
32
|
|
|
49
|
-
/*!
|
|
50
|
-
|
|
51
|
-
/*! valtio */
|
|
52
|
-
|
|
53
|
-
/*! @/utils */
|
|
33
|
+
/*! react/jsx-runtime */
|
|
54
34
|
|
|
55
35
|
/*! react */
|
|
56
36
|
|
|
@@ -58,102 +38,122 @@
|
|
|
58
38
|
|
|
59
39
|
/*! @radix-ui/themes */
|
|
60
40
|
|
|
61
|
-
/*! ./
|
|
41
|
+
/*! ./Base.module.scss */
|
|
62
42
|
|
|
63
|
-
/*! ./
|
|
43
|
+
/*! ./Context */
|
|
64
44
|
|
|
65
|
-
/*!
|
|
45
|
+
/*! react */
|
|
66
46
|
|
|
67
47
|
/*! @radix-ui/themes */
|
|
68
48
|
|
|
69
|
-
/*!
|
|
70
|
-
|
|
71
|
-
/*! ../Base */
|
|
49
|
+
/*! @babel/runtime/helpers/esm/extends */
|
|
72
50
|
|
|
73
|
-
/*!
|
|
51
|
+
/*! ./Route */
|
|
74
52
|
|
|
75
|
-
/*! @radix-ui/
|
|
53
|
+
/*! @radix-ui/themes */
|
|
76
54
|
|
|
77
55
|
/*! react-icons/hi2 */
|
|
78
56
|
|
|
79
|
-
/*! react-use */
|
|
80
|
-
|
|
81
57
|
/*! ./Route */
|
|
82
58
|
|
|
83
|
-
/*!
|
|
59
|
+
/*! @/components/ServerRoute/Route */
|
|
84
60
|
|
|
85
61
|
/*! react */
|
|
86
62
|
|
|
87
63
|
/*! react/jsx-runtime */
|
|
88
64
|
|
|
65
|
+
/*! @radix-ui/react-compose-refs */
|
|
66
|
+
|
|
67
|
+
/*! react/jsx-runtime */
|
|
68
|
+
|
|
89
69
|
/*! react */
|
|
90
70
|
|
|
91
|
-
/*!
|
|
71
|
+
/*! react/jsx-runtime */
|
|
92
72
|
|
|
93
|
-
/*!
|
|
73
|
+
/*! ufo */
|
|
94
74
|
|
|
95
|
-
/*!
|
|
75
|
+
/*! @/utils */
|
|
96
76
|
|
|
97
|
-
/*!
|
|
77
|
+
/*! react */
|
|
98
78
|
|
|
99
|
-
/*!
|
|
79
|
+
/*! ../../../Context */
|
|
100
80
|
|
|
101
|
-
/*!
|
|
81
|
+
/*! ./Context */
|
|
102
82
|
|
|
103
|
-
/*!
|
|
83
|
+
/*! @radix-ui/themes */
|
|
104
84
|
|
|
105
|
-
/*!
|
|
85
|
+
/*! ufo */
|
|
106
86
|
|
|
107
|
-
/*!
|
|
87
|
+
/*! ../state */
|
|
108
88
|
|
|
109
89
|
/*! @radix-ui/themes */
|
|
110
90
|
|
|
111
|
-
/*!
|
|
91
|
+
/*! @modern-js/runtime/router */
|
|
112
92
|
|
|
113
|
-
/*!
|
|
93
|
+
/*! lodash */
|
|
114
94
|
|
|
115
95
|
/*! react */
|
|
116
96
|
|
|
117
|
-
/*!
|
|
97
|
+
/*! react */
|
|
118
98
|
|
|
119
|
-
/*!
|
|
99
|
+
/*! ufo */
|
|
120
100
|
|
|
121
|
-
/*!
|
|
101
|
+
/*! @radix-ui/react-context */
|
|
122
102
|
|
|
123
|
-
/*!
|
|
103
|
+
/*! @radix-ui/react-id */
|
|
124
104
|
|
|
125
|
-
/*!
|
|
105
|
+
/*! @/entries/client/routes/state */
|
|
126
106
|
|
|
127
|
-
/*!
|
|
107
|
+
/*! ./Unknown */
|
|
128
108
|
|
|
129
|
-
/*!
|
|
109
|
+
/*! ./Route.module.scss */
|
|
130
110
|
|
|
131
|
-
/*! @radix-ui/react-
|
|
111
|
+
/*! @radix-ui/react-collapsible */
|
|
132
112
|
|
|
133
|
-
/*!
|
|
113
|
+
/*! ./LegacyRoute/Stats */
|
|
114
|
+
|
|
115
|
+
/*! ./Stats */
|
|
116
|
+
|
|
117
|
+
/*! lodash */
|
|
134
118
|
|
|
135
119
|
/*! react */
|
|
136
120
|
|
|
137
|
-
/*!
|
|
121
|
+
/*! @radix-ui/themes */
|
|
138
122
|
|
|
139
|
-
/*!
|
|
123
|
+
/*! react/jsx-runtime */
|
|
140
124
|
|
|
141
125
|
/*! @/entries/client/routes/state */
|
|
142
126
|
|
|
143
|
-
/*!
|
|
127
|
+
/*! ./page.module.scss */
|
|
128
|
+
|
|
129
|
+
/*! ./ClientRoute */
|
|
144
130
|
|
|
145
131
|
/*! valtio */
|
|
146
132
|
|
|
147
|
-
/*!
|
|
133
|
+
/*! @radix-ui/react-use-controllable-state */
|
|
134
|
+
|
|
135
|
+
/*! react-use */
|
|
148
136
|
|
|
149
137
|
/*! ./Context */
|
|
150
138
|
|
|
139
|
+
/*! @radix-ui/themes */
|
|
140
|
+
|
|
141
|
+
/*! valtio */
|
|
142
|
+
|
|
143
|
+
/*! ../Base */
|
|
144
|
+
|
|
151
145
|
/*! react */
|
|
152
146
|
|
|
147
|
+
/*! valtio */
|
|
148
|
+
|
|
153
149
|
/*! react/jsx-runtime */
|
|
154
150
|
|
|
155
|
-
/*! @
|
|
151
|
+
/*! @radix-ui/themes */
|
|
156
152
|
|
|
157
|
-
/*!
|
|
153
|
+
/*! ./Stats */
|
|
154
|
+
|
|
155
|
+
/*! ./EntryRoute */
|
|
156
|
+
|
|
157
|
+
/*! ./RemixRoute/Stats */
|
|
158
158
|
|
|
159
|
-
/*!
|
|
159
|
+
/*! lodash */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see layout.b25a0a9b.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["299"],{92770:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var u=t("86834"),s=t("39934");function o(){return(0,u.jsx)(s.Outlet,{})}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see page.3317c84a.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["483"],{74838:function(e,t,n){"use strict";n.r(t);var o=n("86834"),s=n("39934"),r=n("83982"),a=n("5872"),i=n("3570"),l=n("99480"),c=n("21364"),u=n("24326");t.default=()=>{let e=(0,s.useParams)(),t=(0,r.useThemeContext)(),n=(0,s.useLocation)(),h=(0,s.useNavigate)(),d="light"===t.appearance?"light":"dark",v=(0,u.useThrowable)(l.$mountPoint);(0,a.useEffect)(()=>{v.remote.activateReactDevtools()},[]),(0,a.useEffect)(()=>{if("#inspecting"===n.hash){let e=()=>{c.wallAgent.send("startInspectingNative",null),h(n.pathname,{replace:!0})};"active"===c.wallAgent.status?e():c.wallAgent.hookOnce("active",e)}},[n,h]);let f=(0,a.useMemo)(()=>{let e=(0,i.createBridge)(window.parent,c.wallAgent),t=(0,i.createStore)(e);return(0,i.initialize)(window.parent,{bridge:e,store:t})},[]);return(0,o.jsx)(r.Box,{style:{position:"fixed",left:"var(--navigator-width)",top:"var(--breadcrumb-height)",bottom:0,right:0},children:f&&(0,o.jsx)(f,{browserTheme:d,overrideTab:"profiler"===e.tab?"profiler":"components",hideSettings:!1})})}},21364:function(e,t,n){"use strict";n.r(t),n.d(t,{wallAgent:function(){return s}});var o=n("99480");let s=new(n("24933")).WallAgent;o.$mountPoint.then(e=>{s.bindRemote(e.remote,"sendReactDevtoolsData")})},24933:function(e,t,n){"use strict";n.r(t),n.d(t,{WallAgent:function(){return s}});var o=n("65872");class s 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),s=1;s<t;s++)o[s-1]=arguments[s];n.callHook("receive",e,...o)},this.hook("send",function(){for(var n=arguments.length,o=Array(n),s=0;s<n;s++)o[s]=arguments[s];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")})}}}}]);
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
/*! react-devtools-inline/frontend */
|
|
4
4
|
|
|
5
|
-
/*! @/utils */
|
|
6
|
-
|
|
7
5
|
/*! @modern-js/runtime/router */
|
|
8
6
|
|
|
9
7
|
/*! @radix-ui/themes */
|
|
10
8
|
|
|
9
|
+
/*! @/utils/react-devtools */
|
|
10
|
+
|
|
11
|
+
/*! @/utils */
|
|
12
|
+
|
|
13
|
+
/*! ../../state */
|
|
14
|
+
|
|
11
15
|
/*! hookable */
|
|
12
16
|
|
|
13
17
|
/*! ../state */
|
|
14
18
|
|
|
15
19
|
/*! ../state */
|
|
16
20
|
|
|
17
|
-
/*! ../../state */
|
|
18
|
-
|
|
19
|
-
/*! @/utils/react-devtools */
|
|
20
|
-
|
|
21
21
|
/*! react */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see page.
|
|
2
|
-
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["752"],{
|
|
1
|
+
/*! For license information please see page.44e6922b.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["752"],{48221:function(e,s,o){"use strict";o.r(s);var l=o("86834"),n=o("83982");o("5872");s.default=()=>(0,l.jsx)(n.Box,{children:(0,l.jsx)(n.Text,{children:"React DevTools is unavailable for offscreen."})})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["945"],{13643:function(e,s,l){"use strict";l.r(s),s.default=null}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(){var e,t,n,r,o,a,i,c,u,l,f,d,s,p,b={},g={};function h(e){var t=g[e];if(void 0!==t)return t.exports;var n=g[e]={id:e,loaded:!1,exports:{}};return b[e].call(n.exports,n,n.exports,h),n.loaded=!0,n.exports}h.m=b,h.es=function(e,t){return Object.keys(e).forEach(function(n){"default"!==n&&!Object.prototype.hasOwnProperty.call(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e},h.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return h.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},h.t=function(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var o=Object.create(null);h.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(function(e){a[e]=function(){return n[e]}});return a.default=function(){return n},h.d(o,a),o},h.d=function(e,t){for(var n in t)h.o(t,n)&&!h.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},h.f={},h.e=function(e){return Promise.all(Object.keys(h.f).reduce(function(t,n){return h.f[n](e,t),t},[]))},h.k=function(e){return"static/css/async/"+({161:"client_overview/page",488:"client_doctor/page",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",925:"client_headers/layout"})[e]+"."+({161:"81782291",488:"259ec644",631:"6b89675e",718:"488cbc24",730:"c78f5c66",925:"cd1d5981"})[e]+".css"},h.u=function(e){return"static/js/async/"+(({127:"client_page",161:"client_overview/page",299:"client_react/(tab)/layout",361:"client_context/page",483:"client_react/(tab)/page",488:"client_doctor/page",504:"client_context/layout",518:"client_config/layout",631:"client_pages/layout",718:"client_pages/page",730:"client_headers/editor/page",744:"client_external/layout",752:"client_react/offscreen/page",818:"client_context/framework/page",860:"client_headers/welcome/page",925:"client_headers/layout",943:"client_config/page",945:"client_react/page",958:"client_context/builder/page",963:"client_headers/page"})[e]||e)+"."+({127:"5e12b570",161:"0a2b4c8e",299:"b25a0a9b",361:"635cc0cb",447:"bddee91f",483:"3317c84a",488:"e50bb05e",504:"d57d4a8b",518:"ba4d2992",631:"242f10b5",718:"1ed2c561",730:"42e7444f",744:"7e04ffdd",752:"44e6922b",769:"0a3c4c2a",818:"2757805b",851:"ee5298ce",860:"1af1ede1",925:"f6b0d5ea",942:"c6af899b",943:"a63f5a35",945:"5660dc8e",958:"2415d782",963:"d2a0f47d"})[e]+".js"},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},r="modernjsDevtools:",h.l=function(e,t,o,a){if(n[e]){n[e].push(t);return}if(void 0!==o){for(var i,c,u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==r+o){i=f;break}}}!i&&(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,h.nc&&i.setAttribute("nonce",h.nc),i.setAttribute("data-webpack",r+o),i.src=e),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(s);var o=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(r)}),t)return t(r)},s=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},h.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.nmd=function(e){return e.paths=[],!e.children&&(e.children=[]),e},h.nc=void 0,o=[],h.O=function(e,t,n,r){if(t){r=r||0;for(var a=o.length;a>0&&o[a-1][2]>r;a--)o[a]=o[a-1];o[a]=[t,n,r];return}for(var i=1/0,a=0;a<o.length;a++){for(var t=o[a][0],n=o[a][1],r=o[a][2],c=!0,u=0;u<t.length;u++)i>=r&&Object.keys(h.O).every(function(e){return h.O[e](t[u])})?t.splice(u--,1):(c=!1,r<i&&(i=r));if(c){o.splice(a--,1);var l=n();void 0!==l&&(e=l)}}return e},h.p="/__devtools/",a={101:0,118:0,126:0,242:0,58:0,637:0,707:0,768:0},i="modernjsDevtools",c="data-webpack-loading",u=function(e,t,n,r){var o,a,u="chunk-"+e;if(!r){for(var l=document.getElementsByTagName("link"),f=0;f<l.length;f++){var d=l[f],s=d.getAttribute("href")||d.href;if(s&&!s.startsWith(h.p)&&(s=h.p+(s.startsWith("/")?s.slice(1):s)),"stylesheet"==d.rel&&(s&&s.startsWith(t)||d.getAttribute("data-webpack")==i+":"+u)){o=d;break}}if(!n)return o}!o&&(a=!0,(o=document.createElement("link")).setAttribute("data-webpack",i+":"+u),o.setAttribute(c,1),o.rel="stylesheet",o.href=t);var p=function(e,t){if(o.onerror=o.onload=null,o.removeAttribute(c),clearTimeout(b),t&&"load"!=t.type&&o.parentNode.removeChild(o),n(t),e)return e(t)};if(o.getAttribute(c)){var b=setTimeout(p.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=p.bind(null,o.onerror),o.onload=p.bind(null,o.onload)}else p(void 0,{type:"load",target:o});return r?r.parentNode.insertBefore(o,r):a&&document.head.appendChild(o),o},h.f.css=function(e,t){var n=h.o(a,e)?a[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(4(00|62|88)|161|567|631|718|730|886|925)$/.test(e)){var r=new Promise(function(t,r){n=a[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.k(e),i=Error();u(e,o,function(t){if(h.o(a,e)&&(0!==(n=a[e])&&(a[e]=void 0),n)){if("load"!==t.type){var r=t&&t.type,o=t&&t.target&&t.target.src;i.message="Loading css chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}else n[0]()}})}else a[e]=0}},l=function(e,t){var n=t[0];e&&e(t);for(var r=0;r<n.length;r++)void 0===a[n[r]]&&(a[n[r]]=0)},(f=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).forEach(l.bind(null,0)),f.push=l.bind(null,f.push.bind(f)),d={242:0},h.f.j=function(e,t){var n=h.o(d,e)?d[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(242!=e){var r=new Promise(function(t,r){n=d[e]=[t,r]});t.push(n[2]=r);var o=h.p+h.u(e),a=Error();h.l(o,function(t){if(h.o(d,e)&&(0!==(n=d[e])&&(d[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;a.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,n[1](a)}},"chunk-"+e,e)}else d[e]=0}},h.O.j=function(e){return 0===d[e]},s=function(e,t){var n=t[0],r=t[1],o=t[2],a,i,c=0;if(n.some(function(e){return 0!==d[e]})){for(a in r)h.o(r,a)&&(h.m[a]=r[a]);if(o)var u=o(h)}for(e&&e(t);c<n.length;c++)i=n[c],h.o(d,i)&&d[i]&&d[i][0](),d[i]=0;return h.O(u)},(p=self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).forEach(s.bind(null,0)),p.push=s.bind(null,p.push.bind(p))}();
|