@modern-js/devtools-client 0.0.0-nightly-20240123170645 → 0.0.0-nightly-20240125170634
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 -1
- package/dist/routes-manifest.json +54 -58
- package/dist/static/css/mount.a1149398.css +1 -0
- package/dist/static/js/464.2cdd566b.js +6 -0
- package/dist/static/js/{544.5fe6a816.js.LICENSE.txt → 464.2cdd566b.js.LICENSE.txt} +278 -242
- package/dist/static/js/{async/851.f1680ec1.js → 729.4e95d957.js} +10 -10
- package/dist/static/js/{535.ebf8db94.js.LICENSE.txt → 729.4e95d957.js.LICENSE.txt} +82 -100
- package/dist/static/js/768.9ad59bf6.js +12 -0
- package/dist/static/js/768.9ad59bf6.js.LICENSE.txt +5 -0
- package/dist/static/js/810.00bd18a0.js +2 -0
- package/dist/static/js/{971.dfaf371b.js.LICENSE.txt → 810.00bd18a0.js.LICENSE.txt} +75 -73
- package/dist/static/js/async/{199.632ea604.js → 199.6639d0ae.js} +2 -2
- package/dist/static/js/async/client_context/builder/{page.4a147316.js → page.2f20003d.js} +2 -2
- package/dist/static/js/async/client_context/framework/{page.7a779a72.js → page.5da3a416.js} +2 -2
- package/dist/static/js/async/client_headers/editor/page.5bea5d85.js +2 -0
- package/dist/static/js/async/client_headers/editor/{page.8a90ebab.js.LICENSE.txt → page.5bea5d85.js.LICENSE.txt} +7 -7
- package/dist/static/js/async/client_headers/{layout.a02ba20e.js → layout.2b809c91.js} +2 -2
- package/dist/static/js/async/client_overview/{page.e2907cdb.js → page.eb7afddf.js} +2 -2
- package/dist/static/js/async/client_pages/{layout.02f7cf3a.js → layout.f25702f6.js} +2 -2
- package/dist/static/js/async/client_pages/{page.cbbcc027.js → page.e87cee29.js} +2 -2
- package/dist/static/js/async/client_pages/{page.cbbcc027.js.LICENSE.txt → page.e87cee29.js.LICENSE.txt} +16 -28
- package/dist/static/js/async/client_react/(tab)/page.72c702ed.js +2 -0
- package/dist/static/js/async/client_react/(tab)/{page.3990630b.js.LICENSE.txt → page.72c702ed.js.LICENSE.txt} +2 -16
- package/dist/static/js/builder-runtime.2a0b224c.js +1 -0
- package/dist/static/js/client.c92ddbaa.js +2 -0
- package/dist/static/js/{client.ced261c0.js.LICENSE.txt → client.c92ddbaa.js.LICENSE.txt} +159 -127
- package/dist/static/js/{lib-react.5131ac93.js → lib-react.023116e5.js} +2 -2
- package/dist/static/js/{lib-react.5131ac93.js.LICENSE.txt → lib-react.023116e5.js.LICENSE.txt} +16 -16
- package/dist/static/js/mount.efcb4bc8.js +2 -0
- package/dist/static/js/{mount.b89b187f.js.LICENSE.txt → mount.efcb4bc8.js.LICENSE.txt} +43 -39
- package/package.json +13 -13
- package/dist/static/css/mount.6e2e9a58.css +0 -1
- package/dist/static/js/535.ebf8db94.js +0 -2
- package/dist/static/js/544.5fe6a816.js +0 -6
- package/dist/static/js/821.746e4296.js +0 -12
- package/dist/static/js/821.746e4296.js.LICENSE.txt +0 -17
- package/dist/static/js/971.dfaf371b.js +0 -2
- package/dist/static/js/async/851.f1680ec1.js.LICENSE.txt +0 -21
- package/dist/static/js/async/client_headers/editor/page.8a90ebab.js +0 -2
- package/dist/static/js/async/client_react/(tab)/page.3990630b.js +0 -2
- package/dist/static/js/builder-runtime.415d9338.js +0 -1
- package/dist/static/js/client.ced261c0.js +0 -2
- package/dist/static/js/mount.b89b187f.js +0 -2
- package/exports/.eslintrc.js +0 -13
- package/exports/mount.mjs +0 -40
- /package/dist/static/css/{544.b0b76183.css → 464.ad540914.css} +0 -0
- /package/dist/static/css/{971.c51346c6.css → 810.d3a7b418.css} +0 -0
- /package/dist/static/css/async/{199.3d9e4afb.css → 199.c5c9f155.css} +0 -0
- /package/dist/static/css/async/client_context/builder/{page.3d9e4afb.css → page.c5c9f155.css} +0 -0
- /package/dist/static/css/async/client_context/framework/{page.3d9e4afb.css → page.c5c9f155.css} +0 -0
- /package/dist/static/css/async/client_headers/editor/{page.1b30ff56.css → page.1cafd3ec.css} +0 -0
- /package/dist/static/css/async/client_headers/{layout.26c871c9.css → layout.90917891.css} +0 -0
- /package/dist/static/css/async/client_overview/{page.d48aa01a.css → page.a49e16bb.css} +0 -0
- /package/dist/static/css/async/client_pages/{layout.7beb3bbd.css → layout.4e0a9ce4.css} +0 -0
- /package/dist/static/css/async/client_pages/{page.0e57d947.css → page.0e153ba3.css} +0 -0
- /package/dist/static/css/{client.3fa2aa31.css → client.a698094e.css} +0 -0
- /package/dist/static/js/async/{199.632ea604.js.LICENSE.txt → 199.6639d0ae.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_context/builder/{page.4a147316.js.LICENSE.txt → page.2f20003d.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_context/framework/{page.7a779a72.js.LICENSE.txt → page.5da3a416.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_headers/{layout.a02ba20e.js.LICENSE.txt → layout.2b809c91.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_overview/{page.e2907cdb.js.LICENSE.txt → page.eb7afddf.js.LICENSE.txt} +0 -0
- /package/dist/static/js/async/client_pages/{layout.02f7cf3a.js.LICENSE.txt → layout.f25702f6.js.LICENSE.txt} +0 -0
package/dist/static/js/{lib-react.5131ac93.js.LICENSE.txt → lib-react.023116e5.js.LICENSE.txt}
RENAMED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
/*! scheduler */
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* @license React
|
|
3
|
-
*
|
|
5
|
+
* scheduler.production.min.js
|
|
4
6
|
*
|
|
5
7
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
8
|
*
|
|
@@ -8,12 +10,6 @@
|
|
|
8
10
|
* LICENSE file in the root directory of this source tree.
|
|
9
11
|
*/
|
|
10
12
|
|
|
11
|
-
/*! scheduler */
|
|
12
|
-
|
|
13
|
-
/*! react-dom */
|
|
14
|
-
|
|
15
|
-
/*! ./cjs/react.production.min.js */
|
|
16
|
-
|
|
17
13
|
/**
|
|
18
14
|
* @license React
|
|
19
15
|
* react-dom.production.min.js
|
|
@@ -26,7 +22,7 @@
|
|
|
26
22
|
|
|
27
23
|
/**
|
|
28
24
|
* @license React
|
|
29
|
-
*
|
|
25
|
+
* react-jsx-runtime.production.min.js
|
|
30
26
|
*
|
|
31
27
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
32
28
|
*
|
|
@@ -36,9 +32,19 @@
|
|
|
36
32
|
|
|
37
33
|
/*! react */
|
|
38
34
|
|
|
35
|
+
/*! react-dom */
|
|
36
|
+
|
|
37
|
+
/*! ./cjs/scheduler.production.min.js */
|
|
38
|
+
|
|
39
|
+
/*! react */
|
|
40
|
+
|
|
41
|
+
/*! ./cjs/react-jsx-runtime.production.min.js */
|
|
42
|
+
|
|
43
|
+
/*! ./cjs/react-dom.production.min.js */
|
|
44
|
+
|
|
39
45
|
/**
|
|
40
46
|
* @license React
|
|
41
|
-
* react
|
|
47
|
+
* react.production.min.js
|
|
42
48
|
*
|
|
43
49
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
44
50
|
*
|
|
@@ -46,10 +52,4 @@
|
|
|
46
52
|
* LICENSE file in the root directory of this source tree.
|
|
47
53
|
*/
|
|
48
54
|
|
|
49
|
-
/*! ./cjs/
|
|
50
|
-
|
|
51
|
-
/*! react */
|
|
52
|
-
|
|
53
|
-
/*! ./cjs/react-dom.production.min.js */
|
|
54
|
-
|
|
55
|
-
/*! ./cjs/react-jsx-runtime.production.min.js */
|
|
55
|
+
/*! ./cjs/react.production.min.js */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see mount.efcb4bc8.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["400"],{4423: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("37112");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})}},62328:function(e,t,n){"use strict";n.r(t),n.d(t,{DevtoolsCapsule:function(){return g}});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("15785"),m=n("54163"),v=n("57844"),p=n("4423"),f=n("21967"),h=n("78225"),_=n("85623");let g=e=>{let t=e.def.assets.logo,[n,g]=(0,a.useToggle)(!1),[y,w]=(0,s.useState)(!1),b=(0,u.withQuery)(e.endpoint,{src:e.dataSource}),k=(0,f.useStickyDraggable)({clamp:!0}),[x,E]=(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&&E(e.newValue||void 0)}),(0,a.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&g()}),(0,s.useEffect)(()=>{let e=()=>{g(!1),document.documentElement.style.setProperty("cursor","cell")};h.bridge.addListener("startInspectingNative",e);let t=e=>{"stopInspectingNative"===e.event&&(g(!0),document.documentElement.style.removeProperty("cursor"))};return h.wallAgent.hook("send",t),()=>{h.bridge.removeListener("startInspectingNative",e),h.wallAgent.removeHook("send",t)}},[]);let C=async()=>{document.documentElement.style.setProperty("cursor","wait"),g(!1),w(!0);try{(await (0,_.pTimeout)(h.$client,1e4)).remote.pullUpReactInspector()}catch(e){console.error(e),document.documentElement.style.removeProperty("cursor")}};return(0,l.jsxs)(i.Theme,{appearance:x,className:x,children:[(0,l.jsx)(d.default,{when:n,keepAlive:!0,load:y,children:(0,l.jsx)("div",{className:m.container,children:(0,l.jsx)(v.FrameBox,{src:b,onClose:()=>g(!1),style:{pointerEvents:k.isDragging?"none":"auto"}})})}),(0,l.jsxs)(i.Flex,(0,r._)((0,o._)({className:m.fab},k.props),{align:"center",children:[(0,l.jsx)(p.DevtoolsCapsuleButton,{type:"primary",onClick:g,children:(0,l.jsx)("img",{className:m.logo,src:t})}),(0,l.jsx)(p.DevtoolsCapsuleButton,{onClick:C,children:(0,l.jsx)(c.HiMiniCursorArrowRipple,{})})]}))]})}},57844:function(e,t,n){"use strict";n.r(t),n.d(t,{FrameBox:function(){return v}});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("19512"),d=n("78122"),m=n("78225");let v=e=>{var{src:t,onClose:n}=e,v=(0,l._)(e,["src","onClose"]);let{loaded:p}=(0,c.useSnapshot)(m.$inner);return(0,i.jsxs)(s.Box,(0,r._)((0,o._)({className:d.container},v),{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,{})})]}))}},15785:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var o=n("86834"),r=n("5872"),l=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}},76942:function(e,t,n){"use strict";n.r(t);var o=n("90247"),r=n("86834");n("24547"),n("78225");var l=n("60182"),i=n("55370"),s=n("62328");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)))})},24547: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)}},78225:function(e,t,n){"use strict";n.r(t),n.d(t,{$client:function(){return h},$inner:function(){return _},bridge:function(){return f},wallAgent:function(){return p}});var o=n("90247"),r=n("55709"),l=n("93549"),i=n("88739"),s=n("65872"),a=n("9880"),c=n.n(a),u=n("42700"),d=n("57662"),m=n("48463");let v=l.MessagePortChannel.wait(window,"channel:connect:client"),p=new m.WallAgent,f=(0,d.createBridge)(window,p),h=v.then(e=>{let t=(0,s.createHooks)();return{remote:(0,i.createBirpc)({async activateReactDevtools(){(0,d.activate)(window,{bridge:f})},async onFinishRender(){await t.callHook("onFinishRender")}},(0,r._)((0,o._)({},e.handlers),{timeout:500})),hooks:t}}),_=(0,u.proxy)({loaded:!1}),g=c()();h.then(e=>{let{remote:t,hooks:n}=e;p.bindRemote(t,"sendReactDevtoolsData"),n.hook("onFinishRender",async()=>{_.loaded=!0,g.resolve()})})},21967: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,m=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 m){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[v,p,...f]=m,{style:h}=a.el;h.transition="",h[v.key]=v.value,h[p.key]=p.value,h[f[0].key]="auto",h[f[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 m=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:m,onTouchStart:m,onClickCapture:e=>{(null==a?void 0:a.clickable)||e.stopPropagation()}}}}},85623: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)})},37112:function(e){"use strict";e.exports={container:"container-a41eae"}},54163:function(e){"use strict";e.exports={container:"container-c37ff8",fab:"fab-b17740",logo:"logo-c7a29e",slideInFromRight:"slideInFromRight-e1026d"}},78122:function(e){"use strict";e.exports={backdrop:"backdrop-_51706","close-button":"close-button-c3742a",closeButton:"close-button-c3742a",container:"container-fb8255",frame:"frame-_5d7ff"}},55370:function(e){"use strict";e.exports={container:"container-d972e2"}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["126","464","58","768","810"],function(){return t("18466"),t("79155"),t("65183"),t("24366"),t("76942")}),e.O()}]);
|
|
@@ -1,97 +1,101 @@
|
|
|
1
|
-
/*!
|
|
1
|
+
/*! react-devtools-inline/backend */
|
|
2
2
|
|
|
3
|
-
/*!
|
|
3
|
+
/*! @swc/helpers/_/_object_spread_props */
|
|
4
|
+
|
|
5
|
+
/*! react/jsx-runtime */
|
|
4
6
|
|
|
5
7
|
/*! react */
|
|
6
8
|
|
|
7
9
|
/*! react/jsx-runtime */
|
|
8
10
|
|
|
9
|
-
/*!
|
|
10
|
-
|
|
11
|
-
/*! react */
|
|
11
|
+
/*! ./Capsule.module.scss */
|
|
12
12
|
|
|
13
|
-
/*!
|
|
13
|
+
/*! ../Visible */
|
|
14
14
|
|
|
15
15
|
/*! react-use */
|
|
16
16
|
|
|
17
|
-
/*! @swc/helpers/_/
|
|
17
|
+
/*! @swc/helpers/_/_object_without_properties */
|
|
18
18
|
|
|
19
19
|
/*! react */
|
|
20
20
|
|
|
21
21
|
/*! hookable */
|
|
22
22
|
|
|
23
|
+
/*! @/entries/mount/state */
|
|
24
|
+
|
|
23
25
|
/*! @radix-ui/themes */
|
|
24
26
|
|
|
27
|
+
/*! @/components/Devtools/Capsule */
|
|
28
|
+
|
|
25
29
|
/*! react-use */
|
|
26
30
|
|
|
27
|
-
/*!
|
|
31
|
+
/*! react-devtools-inline/backend */
|
|
28
32
|
|
|
29
|
-
/*! ./
|
|
33
|
+
/*! ./Button */
|
|
30
34
|
|
|
31
|
-
/*!
|
|
35
|
+
/*! react-dom/client */
|
|
32
36
|
|
|
33
|
-
/*!
|
|
37
|
+
/*! @/entries/mount/state */
|
|
38
|
+
|
|
39
|
+
/*! react/jsx-runtime */
|
|
40
|
+
|
|
41
|
+
/*! valtio */
|
|
34
42
|
|
|
35
43
|
/*! @swc/helpers/_/_object_spread */
|
|
36
44
|
|
|
37
45
|
/*! @swc/helpers/_/_object_spread */
|
|
38
46
|
|
|
39
|
-
/*!
|
|
47
|
+
/*! @/utils/react-devtools */
|
|
40
48
|
|
|
41
49
|
/*! react/jsx-runtime */
|
|
42
50
|
|
|
43
|
-
/*!
|
|
51
|
+
/*! p-defer */
|
|
44
52
|
|
|
45
|
-
/*!
|
|
53
|
+
/*! ufo */
|
|
46
54
|
|
|
47
|
-
/*!
|
|
55
|
+
/*! @swc/helpers/_/_object_spread_props */
|
|
48
56
|
|
|
49
|
-
/*!
|
|
57
|
+
/*! ./state */
|
|
50
58
|
|
|
51
|
-
/*!
|
|
59
|
+
/*! ../Loading */
|
|
52
60
|
|
|
53
|
-
/*!
|
|
61
|
+
/*! ./Button.module.scss */
|
|
54
62
|
|
|
55
|
-
/*!
|
|
63
|
+
/*! @/utils/draggable */
|
|
56
64
|
|
|
57
65
|
/*! react */
|
|
58
66
|
|
|
59
|
-
/*! @modern-js/devtools-kit */
|
|
60
|
-
|
|
61
|
-
/*! lodash */
|
|
62
|
-
|
|
63
67
|
/*! react/jsx-runtime */
|
|
64
68
|
|
|
65
|
-
/*!
|
|
69
|
+
/*! ./FrameBox.module.scss */
|
|
66
70
|
|
|
67
|
-
/*!
|
|
71
|
+
/*! @swc/helpers/_/_object_spread */
|
|
68
72
|
|
|
69
|
-
/*!
|
|
73
|
+
/*! birpc */
|
|
70
74
|
|
|
71
|
-
/*! @
|
|
75
|
+
/*! @modern-js/devtools-kit */
|
|
72
76
|
|
|
73
|
-
/*! @/utils/
|
|
77
|
+
/*! @/utils/promise */
|
|
74
78
|
|
|
75
|
-
/*!
|
|
79
|
+
/*! react-use */
|
|
76
80
|
|
|
77
|
-
/*!
|
|
81
|
+
/*! react */
|
|
78
82
|
|
|
79
83
|
/*! @radix-ui/themes */
|
|
80
84
|
|
|
81
|
-
/*!
|
|
85
|
+
/*! ./FrameBox */
|
|
82
86
|
|
|
83
|
-
/*! react-devtools-
|
|
87
|
+
/*! ./react-devtools-backend */
|
|
84
88
|
|
|
85
|
-
/*! react/
|
|
89
|
+
/*! react-icons/hi2 */
|
|
86
90
|
|
|
87
|
-
/*! react-
|
|
91
|
+
/*! react-icons/hi2 */
|
|
88
92
|
|
|
89
|
-
/*!
|
|
93
|
+
/*! @swc/helpers/_/_object_spread_props */
|
|
90
94
|
|
|
91
|
-
/*!
|
|
95
|
+
/*! @swc/helpers/_/_object_spread */
|
|
92
96
|
|
|
93
|
-
/*!
|
|
97
|
+
/*! ./index.module.scss */
|
|
94
98
|
|
|
95
|
-
/*!
|
|
99
|
+
/*! valtio */
|
|
96
100
|
|
|
97
|
-
/*!
|
|
101
|
+
/*! react */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modern-js/devtools-client",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240125170634",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.0.0"
|
|
6
6
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"main": "./dist/html/client/index.html",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": "./dist/html/client/index.html",
|
|
14
|
-
"./
|
|
14
|
+
"./manifest": "./dist/routes-manifest.json",
|
|
15
15
|
"./sw-proxy": "./dist/public/sw-proxy.js",
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
@@ -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.3.
|
|
25
|
+
"@rsbuild/core": "0.3.7",
|
|
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
|
|
60
|
-
"@modern-js/
|
|
61
|
-
"@modern-js/
|
|
62
|
-
"@modern-js/
|
|
63
|
-
"@modern-js/
|
|
64
|
-
"@modern-js/
|
|
65
|
-
"@modern-js/
|
|
66
|
-
"@modern-js/
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
59
|
+
"@modern-js/app-tools": "0.0.0-nightly-20240125170634",
|
|
60
|
+
"@modern-js-app/eslint-config": "0.0.0-nightly-20240125170634",
|
|
61
|
+
"@modern-js/devtools-kit": "0.0.0-nightly-20240125170634",
|
|
62
|
+
"@modern-js/runtime": "0.0.0-nightly-20240125170634",
|
|
63
|
+
"@modern-js/plugin-proxy": "0.0.0-nightly-20240125170634",
|
|
64
|
+
"@modern-js/tsconfig": "0.0.0-nightly-20240125170634",
|
|
65
|
+
"@modern-js/eslint-config": "0.0.0-nightly-20240125170634",
|
|
66
|
+
"@modern-js/types": "0.0.0-nightly-20240125170634",
|
|
67
|
+
"@scripts/jest-config": "0.0.0-nightly-20240125170634",
|
|
68
|
+
"@modern-js/utils": "0.0.0-nightly-20240125170634"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"reset": "npx rimraf ./**/node_modules",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.container-d972e2{position:relative;z-index:9999}.container-_2b857{align-items:center;bottom:0;display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;right:0;top:0}.container-_2b857>*{pointer-events:auto}.fab-_08a6e{background-color:var(--gray-2);border:none;border-radius:999px;bottom:10px;box-shadow:var(--shadow-5);cursor:pointer;display:flex;height:-webkit-max-content;height:-moz-max-content;height:max-content;position:fixed;right:10px;touch-action:none;width:-webkit-max-content;width:-moz-max-content;width:max-content}.fab-_08a6e *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.logo-ed314b{height:1.5rem;object-fit:contain;width:1.5rem}.heading-_1bbcd{color:var(--gray-a10);height:1rem;margin:0 var(--space-2);width:3.25rem}.container-fb8255{bottom:0;box-shadow:var(--shadow-5);left:0;overflow:hidden;position:fixed;right:0;top:0}@media (min-width:520px){.container-fb8255{border-radius:.75rem;height:35rem;position:relative;width:50rem}}.close-button-c3742a{color:var(--gray-8);cursor:pointer;position:absolute;right:10px;top:10px}.frame-_5d7ff{border:none;height:100%;width:100%}.backdrop-_51706{stroke:#555;align-items:center;background-color:var(--gray-2);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 535.ebf8db94.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["535"],{60441:function(e,t,n){"use strict";n.r(t),n.d(t,{CaretSortIcon:function(){return a},ChevronRightIcon:function(){return i}});var r=n("5872");function o(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}var l=["color"],a=(0,r.forwardRef)(function(e,t){var n=e.color,a=o(e,l);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,{ref:t}),(0,r.createElement)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))}),c=["color"],i=(0,r.forwardRef)(function(e,t){var n=e.color,l=o(e,c);return(0,r.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l,{ref:t}),(0,r.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:void 0===n?"currentColor":n,fillRule:"evenodd",clipRule:"evenodd"}))})},13266:function(e,t,n){"use strict";var r=n("80364"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function i(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var u=Object.defineProperty,d=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=d(n);s&&(a=a.concat(s(n)));for(var c=i(t),y=i(n),g=0;g<a.length;++g){var m=a[g];if(!l[m]&&!(r&&r[m])&&!(y&&y[m])&&!(c&&c[m])){var _=f(n,m);try{u(t,m,_)}catch(e){}}}}return t}},24546:function(e){"use strict";e.exports=function(e,t,n,r,o,l,a,c){if(!e){var i;if(void 0===t)i=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,l,a,c],d=0;(i=Error(t.replace(/%s/g,function(){return u[d++]}))).name="Invariant Violation"}throw i.framesToPop=1,i}}},44643:function(e,t,n){"use strict";n.r(t),n.d(t,{affectedToPathList:function(){return g},createProxy:function(){return f},getUntracked:function(){return h},isChanged:function(){return p},markToTrack:function(){return y}});let r=Symbol(),o=Symbol(),l=(e,t)=>new Proxy(e,t),a=Object.getPrototypeOf,c=new WeakMap,i=e=>e&&(c.has(e)?c.get(e):a(e)===Object.prototype||a(e)===Array.prototype),u=e=>"object"==typeof e&&null!==e,d=e=>{if(Array.isArray(e))return Array.from(e);let t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(e=>{e.configurable=!0}),Object.create(a(e),t)},s=e=>e[o]||e,f=(e,t,n,a)=>{if(!i(e))return e;let c=a&&a.get(e);if(!c){let t=s(e);c=Object.values(Object.getOwnPropertyDescriptors(t)).some(e=>!e.configurable&&!e.writable)?[t,d(t)]:[t],null==a||a.set(e,c)}let[u,p]=c,h=n&&n.get(u);return h&&!!p===h[1].f||((h=((e,t)=>{let n={f:t},l=!1,a=(t,r)=>{if(!l){let o=n.a.get(e);if(o||(o={},n.a.set(e,o)),"w"===t)o.w=!0;else{let e=o[t];e||(e=new Set,o[t]=e),e.add(r)}}},c={get:(t,r)=>r===o?e:(a("k",r),f(Reflect.get(t,r),n.a,n.c,n.t)),has:(t,o)=>o===r?(l=!0,n.a.delete(e),!0):(a("h",o),Reflect.has(t,o)),getOwnPropertyDescriptor:(e,t)=>(a("o",t),Reflect.getOwnPropertyDescriptor(e,t)),ownKeys:e=>(a("w"),Reflect.ownKeys(e))};return t&&(c.set=c.deleteProperty=()=>!1),[c,n]})(u,!!p))[1].p=l(p||u,h[0]),n&&n.set(u,h)),h[1].a=t,h[1].c=n,h[1].t=a,h[1].p},p=(e,t,n,r)=>{if(Object.is(e,t))return!1;if(!u(e)||!u(t))return!0;let o=n.get(s(e));if(!o)return!0;if(r){let n=r.get(e);if(n&&n.n===t)return n.g;r.set(e,{n:t,g:!1})}let l=null;try{for(let n of o.h||[])if(l=Reflect.has(e,n)!==Reflect.has(t,n))return l;if(!0===o.w){if(l=((e,t)=>{let n=Reflect.ownKeys(e),r=Reflect.ownKeys(t);return n.length!==r.length||n.some((e,t)=>e!==r[t])})(e,t))return l}else for(let n of o.o||[])if(l=!!Reflect.getOwnPropertyDescriptor(e,n)!=!!Reflect.getOwnPropertyDescriptor(t,n))return l;for(let a of o.k||[])if(l=p(e[a],t[a],n,r))return l;return null===l&&(l=!0),l}finally{r&&r.set(e,{n:t,g:l})}},h=e=>i(e)&&e[o]||null,y=(e,t=!0)=>{c.set(e,t)},g=(e,t,n)=>{let r=[],o=new WeakSet,l=(e,a)=>{if(o.has(e))return;u(e)&&o.add(e);let c=u(e)&&t.get(s(e));if(c){var i,d,f;if(null==(i=c.h)||i.forEach(e=>{let t=`:has(${String(e)})`;r.push(a?[...a,t]:[t])}),!0===c.w){let e=":ownKeys";r.push(a?[...a,e]:[e])}else null==(f=c.o)||f.forEach(e=>{let t=`:hasOwn(${String(e)})`;r.push(a?[...a,t]:[t])});null==(d=c.k)||d.forEach(t=>{(!n||"value"in(Object.getOwnPropertyDescriptor(e,t)||{}))&&l(e[t],a?[...a,t]:[t])})}else a&&r.push(a)};return l(e),r}},54201:function(e,t,n){"use strict";n.r(t),n.d(t,{RiReactjsLine:function(){return o}});var r=n("17966");function o(e){return(0,r.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.001 13.5001C11.1725 13.5001 10.501 12.8285 10.501 12.0001C10.501 11.1716 11.1725 10.5001 12.001 10.5001C12.8294 10.5001 13.501 11.1716 13.501 12.0001C13.501 12.8285 12.8294 13.5001 12.001 13.5001ZM11.4733 16.4945C11.6479 16.705 11.8239 16.908 12.001 17.103C12.178 16.908 12.3541 16.705 12.5286 16.4945C12.3538 16.4982 12.1779 16.5001 12.001 16.5001C11.824 16.5001 11.6481 16.4982 11.4733 16.4945ZM9.47837 16.3694C8.6762 16.2846 7.91035 16.1603 7.19268 16.0016C7.11832 16.3512 7.06134 16.6904 7.02243 17.0166C6.83358 18.6 7.09805 19.5617 7.50098 19.7943C7.9039 20.0269 8.86893 19.7751 10.1458 18.8199C10.4088 18.6231 10.6741 18.4042 10.9397 18.1649C10.4434 17.6228 9.95287 17.0217 9.47837 16.3694ZM16.8093 16.0016C16.0916 16.1603 15.3257 16.2846 14.5236 16.3694C14.0491 17.0217 13.5585 17.6228 13.0622 18.1649C13.3279 18.4042 13.5931 18.6231 13.8562 18.8199C15.133 19.7751 16.0981 20.0269 16.501 19.7943C16.9039 19.5617 17.1684 18.6 16.9795 17.0166C16.9406 16.6904 16.8836 16.3512 16.8093 16.0016ZM18.2598 15.6136C18.8364 18.2526 18.5328 20.3533 17.251 21.0933C15.9691 21.8334 13.9981 21.046 12.001 19.2271C10.0038 21.046 8.03282 21.8334 6.75098 21.0933C5.46913 20.3533 5.16555 18.2526 5.74217 15.6136C3.16842 14.7935 1.50098 13.4802 1.50098 12.0001C1.50098 10.5199 3.16842 9.20668 5.74217 8.38654C5.16555 5.74754 5.46913 3.64687 6.75098 2.9068C8.03282 2.16673 10.0038 2.95415 12.001 4.77302C13.9981 2.95415 15.9691 2.16673 17.251 2.9068C18.5328 3.64687 18.8364 5.74754 18.2598 8.38654C20.8335 9.20668 22.501 10.5199 22.501 12.0001C22.501 13.4802 20.8335 14.7935 18.2598 15.6136ZM10.9397 5.83521C10.6741 5.59597 10.4088 5.37703 10.1458 5.18024C8.86893 4.22499 7.9039 3.97321 7.50098 4.20584C7.09805 4.43847 6.83358 5.4001 7.02243 6.9835C7.06134 7.30969 7.11832 7.6489 7.19268 7.99857C7.91035 7.83985 8.6762 7.71556 9.47837 7.63078C9.95287 6.97848 10.4434 6.37737 10.9397 5.83521ZM14.5236 7.63078C15.3257 7.71556 16.0916 7.83985 16.8093 7.99857C16.8836 7.6489 16.9406 7.30969 16.9795 6.9835C17.1684 5.4001 16.9039 4.43847 16.501 4.20584C16.0981 3.97321 15.133 4.22499 13.8562 5.18024C13.5931 5.37703 13.3279 5.59597 13.0622 5.83521C13.5585 6.37737 14.0491 6.97848 14.5236 7.63078ZM12.5286 7.50565C12.3541 7.29515 12.178 7.09211 12.001 6.89711C11.8239 7.09211 11.6479 7.29515 11.4733 7.50565C11.6481 7.50194 11.824 7.50007 12.001 7.50007C12.1779 7.50007 12.3538 7.50194 12.5286 7.50565ZM8.37252 14.7042C8.28191 14.5547 8.19233 14.4033 8.10386 14.2501C8.01539 14.0968 7.92906 13.9435 7.84488 13.7903C7.74985 14.0467 7.66205 14.3007 7.58169 14.5515C7.83908 14.6074 8.10295 14.6583 8.37252 14.7042ZM10.3049 14.9377C10.8579 14.9788 11.4251 15.0001 12.001 15.0001C12.5769 15.0001 13.144 14.9788 13.697 14.9377C14.0091 14.4793 14.3111 13.9988 14.5991 13.5001C14.887 13.0013 15.1522 12.4995 15.393 12.0001C15.1522 11.5006 14.887 10.9988 14.5991 10.5001C14.3111 10.0013 14.0091 9.52081 13.697 9.06246C13.144 9.02133 12.5769 9.00007 12.001 9.00007C11.4251 9.00007 10.8579 9.02133 10.3049 9.06246C9.99283 9.52081 9.69086 10.0013 9.4029 10.5001C9.11494 10.9988 8.8498 11.5006 8.60892 12.0001C8.8498 12.4995 9.11494 13.0013 9.4029 13.5001C9.69086 13.9988 9.99283 14.4793 10.3049 14.9377ZM16.1571 10.2098C16.2521 9.9534 16.3399 9.6994 16.4203 9.44859C16.1629 9.39278 15.899 9.34182 15.6294 9.29591C15.72 9.44543 15.8096 9.59683 15.8981 9.75007C15.9866 9.9033 16.0729 10.0566 16.1571 10.2098ZM6.13143 9.83671C5.79142 9.94714 5.46917 10.0674 5.16723 10.1968C3.70154 10.825 3.00098 11.5348 3.00098 12.0001C3.00098 12.4653 3.70154 13.1752 5.16723 13.8033C5.46917 13.9327 5.79142 14.053 6.13143 14.1634C6.35281 13.4625 6.6281 12.7371 6.95576 12.0001C6.6281 11.263 6.35281 10.5376 6.13143 9.83671ZM7.58169 9.44859C7.66205 9.6994 7.74985 9.9534 7.84488 10.2098C7.92906 10.0566 8.01539 9.9033 8.10386 9.75007C8.19233 9.59683 8.28191 9.44543 8.37252 9.29591C8.10295 9.34182 7.83908 9.39278 7.58169 9.44859ZM17.8705 14.1634C18.2105 14.053 18.5328 13.9327 18.8347 13.8033C20.3004 13.1752 21.001 12.4653 21.001 12.0001C21.001 11.5348 20.3004 10.825 18.8347 10.1968C18.5328 10.0674 18.2105 9.94714 17.8705 9.83671C17.6491 10.5376 17.3739 11.263 17.0462 12.0001C17.3739 12.7371 17.6491 13.4625 17.8705 14.1634ZM16.4203 14.5515C16.3399 14.3007 16.2521 14.0467 16.1571 13.7903C16.0729 13.9435 15.9866 14.0968 15.8981 14.2501C15.8096 14.4033 15.72 14.5547 15.6294 14.7042C15.899 14.6583 16.1629 14.6074 16.4203 14.5515Z"}}]})(e)}},66462:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,l=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,i=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,s=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,_=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,R=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case d:case s:case l:case c:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case y:case i:return e;default:return t}}case o:return t}}}function M(e){return C(e)===s}t.AsyncMode=d,t.ConcurrentMode=s,t.ContextConsumer=u,t.ContextProvider=i,t.Element=r,t.ForwardRef=f,t.Fragment=l,t.Lazy=g,t.Memo=y,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return M(e)||C(e)===d},t.isConcurrentMode=M,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return C(e)===f},t.isFragment=function(e){return C(e)===l},t.isLazy=function(e){return C(e)===g},t.isMemo=function(e){return C(e)===y},t.isPortal=function(e){return C(e)===o},t.isProfiler=function(e){return C(e)===c},t.isStrictMode=function(e){return C(e)===a},t.isSuspense=function(e){return C(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===s||e===c||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===y||e.$$typeof===i||e.$$typeof===u||e.$$typeof===f||e.$$typeof===_||e.$$typeof===b||e.$$typeof===R||e.$$typeof===m)},t.typeOf=C},80364:function(e,t,n){"use strict";e.exports=n("66462")},95766:function(e,t,n){"use strict";var r=n("5872"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useState,a=r.useEffect,c=r.useLayoutEffect,i=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var d="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=l({inst:{value:n,getSnapshot:t}}),o=r[0].inst,d=r[1];return c(function(){o.value=n,o.getSnapshot=t,u(o)&&d({inst:o})},[e,n,t]),a(function(){return u(o)&&d({inst:o}),e(function(){u(o)&&d({inst:o})})},[e]),i(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:d},10746:function(e,t,n){"use strict";e.exports=n("95766")},36016:function(e,t,n){"use strict";n.r(t),n.d(t,{router:function(){return r.default}});var r=n("39934")},76273:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n("90247");n("5872");var o=n("60182"),l=n("46606"),a=n("71759"),c=n("36016");let i="undefined"!=typeof window&&"nodejs"!==window.name,u=null;var d=u=function(){let e=(0,r._)({},(!1).config,"function"==typeof config?config():{});return!(u=(0,l.createApp)({plugins:[(0,c.router)((0,r._)({},{serverBase:["/"],basename:"/__devtools",routesConfig:{routes:a.routes,globalApp:!1}},null==e?void 0:e.router))]})()).init&&"undefined"!=typeof appInit&&(u.init=appInit),i&&(0,l.bootstrap)(u,"root",null,o),u}()},71759:function(e,t,n){"use strict";n.r(t),n.d(t,{routes:function(){return E}});var r=n("5872"),o=n("39934"),l=n("65556"),a=n("70853"),c=n("30628"),i=n("53978"),u=n("58237"),d=n("39134"),s=n("47743"),f=n("6521"),p=n("8073"),h=n("74350"),y=n("92563"),g=n("30383"),m=n("50512"),_=n("67080"),b=n("64981"),R=n("22359"),C=n("93656"),M=n("99025"),v=n("9845"),w=n("41058"),x=n("92019");"undefined"!=typeof document&&(window._routeModules={});let E=[{path:"/",children:[{path:"config",children:[{_component:"@_modern_js_src/entries/client/routes/config/[toolkit].[type]/page.tsx",id:"client_config/(toolkit).(type)/page",type:"nested",loader:h.default,path:":toolkit/:type",lazyImport:()=>n.el("71759@2501:2643").then(n.bind(n,"9942")).then(e=>(0,o.handleRouteModule)(e,"client_config/(toolkit).(type)/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@2826:2968").then(n.bind(n,"9942")).then(e=>(0,o.handleRouteModule)(e,"client_config/(toolkit).(type)/page")).catch(o.handleRouteModuleError)),shouldRevalidate:(0,o.createShouldRevalidate)("client_config/(toolkit).(type)/page")},{_component:"@_modern_js_src/entries/client/routes/config/page.tsx",index:!0,id:"client_config/page",type:"nested",loader:y.default,lazyImport:()=>n.el("71759@3557:3665").then(n.bind(n,"19885")).then(e=>(0,o.handleRouteModule)(e,"client_config/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@3831:3939").then(n.bind(n,"19885")).then(e=>(0,o.handleRouteModule)(e,"client_config/page")).catch(o.handleRouteModuleError)),shouldRevalidate:(0,o.createShouldRevalidate)("client_config/page")}],isRoot:!1,error:c.default,config:b,_component:"@_modern_js_src/entries/client/routes/config/layout.tsx",id:"client_config/layout",type:"nested",lazyImport:()=>n.el("71759@4482:4594").then(n.bind(n,"69149")).then(e=>(0,o.handleRouteModule)(e,"client_config/layout")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@4754:4866").then(n.bind(n,"69149")).then(e=>(0,o.handleRouteModule)(e,"client_config/layout")).catch(o.handleRouteModuleError))},{path:"context",children:[{_component:"@_modern_js_src/entries/client/routes/context/builder/page.tsx",id:"client_context/builder/page",type:"nested",path:"builder",lazyImport:()=>n.el("71759@5382:5508").then(n.bind(n,"81006")).then(e=>(0,o.handleRouteModule)(e,"client_context/builder/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@5683:5809").then(n.bind(n,"81006")).then(e=>(0,o.handleRouteModule)(e,"client_context/builder/page")).catch(o.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/context/framework/page.tsx",id:"client_context/framework/page",type:"nested",path:"framework",lazyImport:()=>n.el("71759@6267:6397").then(n.bind(n,"49011")).then(e=>(0,o.handleRouteModule)(e,"client_context/framework/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@6574:6704").then(n.bind(n,"49011")).then(e=>(0,o.handleRouteModule)(e,"client_context/framework/page")).catch(o.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/context/page.tsx",index:!0,id:"client_context/page",type:"nested",loader:g.default,lazyImport:()=>n.el("71759@7182:7292").then(n.bind(n,"64618")).then(e=>(0,o.handleRouteModule)(e,"client_context/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@7459:7569").then(n.bind(n,"64618")).then(e=>(0,o.handleRouteModule)(e,"client_context/page")).catch(o.handleRouteModuleError)),shouldRevalidate:(0,o.createShouldRevalidate)("client_context/page")}],isRoot:!1,error:i.default,config:R,_component:"@_modern_js_src/entries/client/routes/context/layout.tsx",id:"client_context/layout",type:"nested",lazyImport:()=>n.el("71759@8116:8230").then(n.bind(n,"42737")).then(e=>(0,o.handleRouteModule)(e,"client_context/layout")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@8391:8505").then(n.bind(n,"42737")).then(e=>(0,o.handleRouteModule)(e,"client_context/layout")).catch(o.handleRouteModuleError))},{path:"headers",children:[{_component:"@_modern_js_src/entries/client/routes/headers/editor/page.tsx",id:"client_headers/editor/page",type:"nested",path:"editor",lazyImport:()=>n.el("71759@9019:9143").then(n.bind(n,"1343")).then(e=>(0,o.handleRouteModule)(e,"client_headers/editor/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@9317:9441").then(n.bind(n,"1343")).then(e=>(0,o.handleRouteModule)(e,"client_headers/editor/page")).catch(o.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/headers/page.tsx",index:!0,id:"client_headers/page",type:"nested",lazyImport:()=>n.el("71759@9872:9982").then(n.bind(n,"4172")).then(e=>(0,o.handleRouteModule)(e,"client_headers/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@10149:10259").then(n.bind(n,"4172")).then(e=>(0,o.handleRouteModule)(e,"client_headers/page")).catch(o.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/headers/welcome/page.tsx",id:"client_headers/welcome/page",type:"nested",path:"welcome",lazyImport:()=>n.el("71759@10703:10829").then(n.bind(n,"29129")).then(e=>(0,o.handleRouteModule)(e,"client_headers/welcome/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@11004:11130").then(n.bind(n,"29129")).then(e=>(0,o.handleRouteModule)(e,"client_headers/welcome/page")).catch(o.handleRouteModuleError))}],isRoot:!1,error:u.default,config:C,_component:"@_modern_js_src/entries/client/routes/headers/layout.tsx",id:"client_headers/layout",type:"nested",lazyImport:()=>n.el("71759@11594:11708").then(n.bind(n,"4258")).then(e=>(0,o.handleRouteModule)(e,"client_headers/layout")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@11869:11983").then(n.bind(n,"4258")).then(e=>(0,o.handleRouteModule)(e,"client_headers/layout")).catch(o.handleRouteModuleError))},{path:"overview",children:[{_component:"@_modern_js_src/entries/client/routes/overview/page.tsx",index:!0,id:"client_overview/page",type:"nested",lazyImport:()=>n.el("71759@12483:12595").then(n.bind(n,"52057")).then(e=>(0,o.handleRouteModule)(e,"client_overview/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@12763:12875").then(n.bind(n,"52057")).then(e=>(0,o.handleRouteModule)(e,"client_overview/page")).catch(o.handleRouteModuleError))}],isRoot:!1,error:d.default,config:M,id:"client_overview/layout",type:"nested",lazyImport:null},{_component:"@_modern_js_src/entries/client/routes/page.tsx",index:!0,id:"client_page",type:"nested",loader:m.default,lazyImport:()=>n.el("71759@13525:13619").then(n.bind(n,"51637")).then(e=>(0,o.handleRouteModule)(e,"client_page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@13770:13864").then(n.bind(n,"51637")).then(e=>(0,o.handleRouteModule)(e,"client_page")).catch(o.handleRouteModuleError)),shouldRevalidate:(0,o.createShouldRevalidate)("client_page")},{path:"pages",children:[{_component:"@_modern_js_src/entries/client/routes/pages/page.tsx",index:!0,id:"client_pages/page",type:"nested",lazyImport:()=>n.el("71759@14420:14526").then(n.bind(n,"71166")).then(e=>(0,o.handleRouteModule)(e,"client_pages/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@14691:14797").then(n.bind(n,"71166")).then(e=>(0,o.handleRouteModule)(e,"client_pages/page")).catch(o.handleRouteModuleError))}],isRoot:!1,error:s.default,config:v,_component:"@_modern_js_src/entries/client/routes/pages/layout.tsx",id:"client_pages/layout",type:"nested",lazyImport:()=>n.el("71759@15247:15357").then(n.bind(n,"81840")).then(e=>(0,o.handleRouteModule)(e,"client_pages/layout")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@15516:15626").then(n.bind(n,"81840")).then(e=>(0,o.handleRouteModule)(e,"client_pages/layout")).catch(o.handleRouteModuleError))},{path:"react",children:[{path:":tab",children:[{_component:"@_modern_js_src/entries/client/routes/react/[tab]/page.tsx",index:!0,id:"client_react/(tab)/page",type:"nested",lazyImport:()=>n.el("71759@16275:16393").then(n.bind(n,"48228")).then(e=>(0,o.handleRouteModule)(e,"client_react/(tab)/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@16572:16690").then(n.bind(n,"48228")).then(e=>(0,o.handleRouteModule)(e,"client_react/(tab)/page")).catch(o.handleRouteModuleError))}],isRoot:!1,config:w,_component:"@_modern_js_src/entries/client/routes/react/[tab]/layout.tsx",id:"client_react/(tab)/layout",type:"nested",lazyImport:()=>n.el("71759@17188:17310").then(n.bind(n,"33201")).then(e=>(0,o.handleRouteModule)(e,"client_react/(tab)/layout")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@17483:17605").then(n.bind(n,"33201")).then(e=>(0,o.handleRouteModule)(e,"client_react/(tab)/layout")).catch(o.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/react/offscreen/page.tsx",id:"client_react/offscreen/page",type:"nested",path:"offscreen",lazyImport:()=>n.el("71759@18057:18183").then(n.bind(n,"51005")).then(e=>(0,o.handleRouteModule)(e,"client_react/offscreen/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@18358:18484").then(n.bind(n,"51005")).then(e=>(0,o.handleRouteModule)(e,"client_react/offscreen/page")).catch(o.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/react/page.tsx",index:!0,id:"client_react/page",type:"nested",loader:_.default,lazyImport:()=>n.el("71759@18956:19062").then(n.bind(n,"49680")).then(e=>(0,o.handleRouteModule)(e,"client_react/page")).catch(o.handleRouteModuleError),component:(0,r.lazy)(()=>n.el("71759@19227:19333").then(n.bind(n,"49680")).then(e=>(0,o.handleRouteModule)(e,"client_react/page")).catch(o.handleRouteModuleError)),shouldRevalidate:(0,o.createShouldRevalidate)("client_react/page")}],isRoot:!1,error:f.default,id:"client_react/layout",type:"nested",lazyImport:null}],isRoot:!0,error:p.default,config:x,_component:"@_modern_js_src/entries/client/routes/layout.tsx",loading:a.default,id:"client_layout",type:"nested",lazyImport:()=>n.el("71759@20039:20097").then(n.bind(n,"65556")).then(e=>(0,o.handleRouteModule)(e,"client_layout")).catch(o.handleRouteModuleError),component:l.default}]},42700:function(e,t,n){"use strict";n.r(t);var r=n("81733");n.es(r,t);var o=n("79197");n.es(o,t)},79197:function(e,t,n){"use strict";n.r(t),n.d(t,{useSnapshot:function(){return s}});var r=n("5872"),o=n("44643"),l=n("10746"),a=n("81733");let{use:c}=r,{useSyncExternalStore:i}=l,u=(e,t)=>{let n=(0,r.useRef)();(0,r.useEffect)(()=>{n.current=(0,o.affectedToPathList)(e,t,!0)}),(0,r.useDebugValue)(n.current)},d=new WeakMap;function s(e,t){let n=null==t?void 0:t.sync,l=(0,r.useRef)(),s=(0,r.useRef)(),f=!0,p=i((0,r.useCallback)(t=>{let r=(0,a.subscribe)(e,t,n);return t(),r},[e,n]),()=>{let t=(0,a.snapshot)(e,c);try{if(!f&&l.current&&s.current&&!(0,o.isChanged)(l.current,t,s.current,new WeakMap))return l.current}catch(e){}return t},()=>(0,a.snapshot)(e,c));f=!1;let h=new WeakMap;(0,r.useEffect)(()=>{l.current=p,s.current=h});u(p,h);let y=(0,r.useMemo)(()=>new WeakMap,[]);return(0,o.createProxy)(p,h,y,d)}},81733:function(e,t,n){"use strict";n.r(t),n.d(t,{proxy:function(){return i},ref:function(){return s},snapshot:function(){return d},subscribe:function(){return u}});var r=n("44643");let o=e=>"object"==typeof e&&null!==e,l=new WeakMap,a=new WeakSet,[c]=((e=Object.is,t=(e,t)=>new Proxy(e,t),n=e=>o(e)&&!a.has(e)&&(Array.isArray(e)||!(Symbol.iterator in e))&&!(e instanceof WeakMap)&&!(e instanceof WeakSet)&&!(e instanceof Error)&&!(e instanceof Number)&&!(e instanceof Date)&&!(e instanceof String)&&!(e instanceof RegExp)&&!(e instanceof ArrayBuffer),c=e=>{switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e}},i=new WeakMap,u=(e,t,n=c)=>{let o=i.get(e);if((null==o?void 0:o[0])===t)return o[1];let d=Array.isArray(e)?[]:Object.create(Object.getPrototypeOf(e));return(0,r.markToTrack)(d,!0),i.set(e,[t,d]),Reflect.ownKeys(e).forEach(t=>{if(Object.getOwnPropertyDescriptor(d,t))return;let o=Reflect.get(e,t),c={value:o,enumerable:!0,configurable:!0};if(a.has(o))(0,r.markToTrack)(o,!1);else if(o instanceof Promise)delete c.value,c.get=()=>n(o);else if(l.has(o)){let[e,t]=l.get(o);c.value=u(e,t(),n)}Object.defineProperty(d,t,c)}),Object.preventExtensions(d)},d=new WeakMap,s=[1,1],f=c=>{if(!o(c))throw Error("object required");let i=d.get(c);if(i)return i;let p=s[0],h=new Set,y=(e,t=++s[0])=>{p!==t&&(p=t,h.forEach(n=>n(e,t)))},g=s[1],m=(e=++s[1])=>(g!==e&&!h.size&&(g=e,b.forEach(([t])=>{let n=t[1](e);n>p&&(p=n)})),p),_=e=>(t,n)=>{let r=[...t];r[1]=[e,...r[1]],y(r,n)},b=new Map,R=(e,t)=>{if(b.has(e))throw Error("prop listener already exists");if(h.size){let n=t[3](_(e));b.set(e,[t,n])}else b.set(e,[t])},C=e=>{var t;let n=b.get(e);n&&(b.delete(e),null==(t=n[1])||t.call(n))},M=e=>{h.add(e),1===h.size&&b.forEach(([e,t],n)=>{if(t)throw Error("remove already exists");let r=e[3](_(n));b.set(n,[e,r])});let t=()=>{h.delete(e),0===h.size&&b.forEach(([e,t],n)=>{t&&(t(),b.set(n,[e]))})};return t},v=Array.isArray(c)?[]:Object.create(Object.getPrototypeOf(c)),w={deleteProperty(e,t){let n=Reflect.get(e,t);C(t);let r=Reflect.deleteProperty(e,t);return r&&y(["delete",[t],n]),r},set(t,c,i,u){let s=Reflect.has(t,c),p=Reflect.get(t,c,u);if(s&&(e(p,i)||d.has(i)&&e(p,d.get(i))))return!0;C(c),o(i)&&(i=(0,r.getUntracked)(i)||i);let h=i;if(i instanceof Promise)i.then(e=>{i.status="fulfilled",i.value=e,y(["resolve",[c],e])}).catch(e=>{i.status="rejected",i.reason=e,y(["reject",[c],e])});else{!l.has(i)&&n(i)&&(h=f(i));let e=!a.has(h)&&l.get(h);e&&R(c,e)}return Reflect.set(t,c,h,u),y(["set",[c],i,p]),!0}},x=t(v,w);d.set(c,x);let E=[v,m,u,M];return l.set(x,E),Reflect.ownKeys(c).forEach(e=>{let t=Object.getOwnPropertyDescriptor(c,e);"value"in t&&(x[e]=c[e],delete t.value,delete t.writable),Object.defineProperty(v,e,t)}),x})=>[f,l,a,e,t,n,c,i,u,d,s])();function i(e={}){return c(e)}function u(e,t,n){let r;let o=l.get(e);!o&&console.warn("Please use proxy object");let a=[],c=o[3],i=!1,u=c(e=>{if(a.push(e),n){t(a.splice(0));return}!r&&(r=Promise.resolve().then(()=>{r=void 0,i&&t(a.splice(0))}))});return i=!0,()=>{i=!1,u()}}function d(e,t){let n=l.get(e);!n&&console.warn("Please use proxy object");let[r,o,a]=n;return a(r,o(),t)}function s(e){return a.add(e),e}}}]);
|