@modern-js/devtools-client 0.0.0-nightly-20240128170732 → 0.0.0-nightly-20240130170640
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 +1 -1
- package/dist/nestedRoutes.json +1 -1
- package/dist/routes-manifest.json +25 -25
- package/dist/static/js/663.9d7c1200.js +2 -0
- package/dist/static/js/663.9d7c1200.js.LICENSE.txt +156 -0
- package/dist/static/js/894.b4edc691.js +6 -0
- package/dist/static/js/{959.0439ed6f.js.LICENSE.txt → 894.b4edc691.js.LICENSE.txt} +203 -201
- package/dist/static/js/963.67b90191.js +2 -0
- package/dist/static/js/{810.9dc6ace6.js.LICENSE.txt → 963.67b90191.js.LICENSE.txt} +313 -313
- package/dist/static/js/async/client_headers/editor/page.480da12a.js +2 -0
- package/dist/static/js/async/client_headers/editor/{page.5bea5d85.js.LICENSE.txt → page.480da12a.js.LICENSE.txt} +1 -5
- package/dist/static/js/async/client_headers/page.2865a66c.js +1 -0
- package/dist/static/js/{builder-runtime.eae4db6d.js → builder-runtime.5780821c.js} +1 -1
- package/dist/static/js/{client.cf8578e8.js → client.0cf46394.js} +2 -2
- package/dist/static/js/{client.cf8578e8.js.LICENSE.txt → client.0cf46394.js.LICENSE.txt} +84 -76
- package/dist/static/js/{mount.7371d6ce.js → mount.3ea3bdb1.js} +2 -2
- package/dist/static/js/{mount.7371d6ce.js.LICENSE.txt → mount.3ea3bdb1.js.LICENSE.txt} +13 -13
- package/package.json +11 -11
- package/dist/static/js/663.3b35ada3.js +0 -2
- package/dist/static/js/663.3b35ada3.js.LICENSE.txt +0 -154
- package/dist/static/js/810.9dc6ace6.js +0 -2
- package/dist/static/js/959.0439ed6f.js +0 -6
- package/dist/static/js/async/client_headers/editor/page.5bea5d85.js +0 -2
- package/dist/static/js/async/client_headers/page.83f30498.js +0 -2
- package/dist/static/js/async/client_headers/page.83f30498.js.LICENSE.txt +0 -11
- /package/dist/static/css/{959.ad540914.css → 894.ad540914.css} +0 -0
- /package/dist/static/css/{810.d3a7b418.css → 963.d3a7b418.css} +0 -0
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
/*! react/jsx-runtime */
|
|
10
10
|
|
|
11
|
-
/*!
|
|
11
|
+
/*! lodash */
|
|
12
12
|
|
|
13
|
-
/*!
|
|
13
|
+
/*! react/jsx-runtime */
|
|
14
14
|
|
|
15
15
|
/*! @radix-ui/themes */
|
|
16
16
|
|
|
@@ -18,18 +18,20 @@
|
|
|
18
18
|
|
|
19
19
|
/*! @swc/helpers/_/_object_spread */
|
|
20
20
|
|
|
21
|
-
/*! ./state */
|
|
22
|
-
|
|
23
|
-
/*! react-icons/ri */
|
|
24
|
-
|
|
25
21
|
/*! ./core */
|
|
26
22
|
|
|
27
23
|
/*! @radix-ui/themes */
|
|
28
24
|
|
|
29
|
-
/*! lodash */
|
|
30
|
-
|
|
31
25
|
/*! @swc/helpers/_/_object_spread_props */
|
|
32
26
|
|
|
27
|
+
/*! react/jsx-runtime */
|
|
28
|
+
|
|
29
|
+
/*! react */
|
|
30
|
+
|
|
31
|
+
/*! ./state */
|
|
32
|
+
|
|
33
|
+
/*! react/jsx-runtime */
|
|
34
|
+
|
|
33
35
|
/*! @modern-js/runtime-utils/browser */
|
|
34
36
|
|
|
35
37
|
/*! @modern-js/runtime-utils/router */
|
|
@@ -42,26 +44,24 @@
|
|
|
42
44
|
|
|
43
45
|
/*! @swc/helpers/_/_object_spread */
|
|
44
46
|
|
|
45
|
-
/*! react/jsx-runtime */
|
|
46
|
-
|
|
47
47
|
/*! @swc/helpers/_/_object_spread */
|
|
48
48
|
|
|
49
49
|
/*! @swc/helpers/_/_sliced_to_array */
|
|
50
50
|
|
|
51
51
|
/*! @/entries/client/routes/react/state */
|
|
52
52
|
|
|
53
|
-
/*! react */
|
|
54
|
-
|
|
55
53
|
/*! lodash */
|
|
56
54
|
|
|
57
|
-
/*! react/jsx-runtime */
|
|
58
|
-
|
|
59
55
|
/*! @swc/helpers/_/_object_without_properties */
|
|
60
56
|
|
|
57
|
+
/*! hookable */
|
|
58
|
+
|
|
61
59
|
/*! @modern-js/plugin */
|
|
62
60
|
|
|
63
61
|
/*! ufo */
|
|
64
62
|
|
|
63
|
+
/*! react/jsx-runtime */
|
|
64
|
+
|
|
65
65
|
/*! @swc/helpers/_/_to_consumable_array */
|
|
66
66
|
|
|
67
67
|
/*! ufo */
|
|
@@ -70,7 +70,13 @@
|
|
|
70
70
|
|
|
71
71
|
/*! @radix-ui/themes */
|
|
72
72
|
|
|
73
|
-
/*!
|
|
73
|
+
/*! react/jsx-runtime */
|
|
74
|
+
|
|
75
|
+
/*! @swc/helpers/_/_object_spread_props */
|
|
76
|
+
|
|
77
|
+
/*! react-icons/hi2 */
|
|
78
|
+
|
|
79
|
+
/*! @radix-ui/themes */
|
|
74
80
|
|
|
75
81
|
/*! @swc/helpers/_/_object_spread_props */
|
|
76
82
|
|
|
@@ -80,24 +86,20 @@
|
|
|
80
86
|
|
|
81
87
|
/*! react/jsx-runtime */
|
|
82
88
|
|
|
83
|
-
/*!
|
|
89
|
+
/*! ufo */
|
|
90
|
+
|
|
91
|
+
/*! @/utils/react-devtools */
|
|
84
92
|
|
|
85
93
|
/*! @swc/helpers/_/_instanceof */
|
|
86
94
|
|
|
87
95
|
/*! @swc/helpers/_/_object_without_properties */
|
|
88
96
|
|
|
89
|
-
/*! @swc/helpers/_/_object_spread_props */
|
|
90
|
-
|
|
91
|
-
/*! react/jsx-runtime */
|
|
92
|
-
|
|
93
97
|
/*! @swc/helpers/_/_object_spread */
|
|
94
98
|
|
|
95
|
-
/*! react-icons/hi2 */
|
|
96
|
-
|
|
97
|
-
/*! @radix-ui/themes */
|
|
98
|
-
|
|
99
99
|
/*! ./utils */
|
|
100
100
|
|
|
101
|
+
/*! @/components/ErrorFallback/ErrorFallback */
|
|
102
|
+
|
|
101
103
|
/*! @modern-js/runtime/router */
|
|
102
104
|
|
|
103
105
|
/*! ./PrefetchLink */
|
|
@@ -108,9 +110,7 @@
|
|
|
108
110
|
|
|
109
111
|
/*! @radix-ui/themes */
|
|
110
112
|
|
|
111
|
-
/*!
|
|
112
|
-
|
|
113
|
-
/*! @/utils/react-devtools */
|
|
113
|
+
/*! react/jsx-runtime */
|
|
114
114
|
|
|
115
115
|
/*! react-router-dom */
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
|
|
123
123
|
/*! react/jsx-runtime */
|
|
124
124
|
|
|
125
|
-
/*!
|
|
125
|
+
/*! @modern-js/runtime/router */
|
|
126
126
|
|
|
127
127
|
/*! @modern-js/plugin */
|
|
128
128
|
|
|
@@ -134,12 +134,16 @@
|
|
|
134
134
|
|
|
135
135
|
/*! ../runtimeContext */
|
|
136
136
|
|
|
137
|
-
/*! react/jsx-runtime */
|
|
138
|
-
|
|
139
137
|
/*! @swc/helpers/_/_sliced_to_array */
|
|
140
138
|
|
|
139
|
+
/*! @/styles/theme.scss */
|
|
140
|
+
|
|
141
141
|
/*! @modern-js/runtime/router */
|
|
142
142
|
|
|
143
|
+
/*! valtio */
|
|
144
|
+
|
|
145
|
+
/*! react-use */
|
|
146
|
+
|
|
143
147
|
/*! ./nestedRoutes */
|
|
144
148
|
|
|
145
149
|
/*! @swc/helpers/_/_ts_generator */
|
|
@@ -154,13 +158,15 @@
|
|
|
154
158
|
|
|
155
159
|
/*! @/components/ErrorFallback/ErrorFallback */
|
|
156
160
|
|
|
157
|
-
/*! @modern-js/runtime/router */
|
|
158
|
-
|
|
159
161
|
/*! @/components/SelectLink */
|
|
160
162
|
|
|
161
|
-
/*!
|
|
163
|
+
/*! lodash */
|
|
162
164
|
|
|
163
|
-
/*!
|
|
165
|
+
/*! valtio */
|
|
166
|
+
|
|
167
|
+
/*! ./hooks */
|
|
168
|
+
|
|
169
|
+
/*! @modern-js/runtime/router */
|
|
164
170
|
|
|
165
171
|
/*! react/jsx-runtime */
|
|
166
172
|
|
|
@@ -170,7 +176,7 @@
|
|
|
170
176
|
|
|
171
177
|
/*! react/jsx-runtime */
|
|
172
178
|
|
|
173
|
-
/*!
|
|
179
|
+
/*! ufo */
|
|
174
180
|
|
|
175
181
|
/*! @/components/ErrorFallback/ErrorFallback */
|
|
176
182
|
|
|
@@ -178,27 +184,21 @@
|
|
|
178
184
|
|
|
179
185
|
/*! @swc/helpers/_/_object_spread_props */
|
|
180
186
|
|
|
181
|
-
/*! valtio */
|
|
182
|
-
|
|
183
187
|
/*! @swc/helpers/_/_async_to_generator */
|
|
184
188
|
|
|
185
|
-
/*!
|
|
189
|
+
/*! ../state */
|
|
186
190
|
|
|
187
|
-
/*! ./
|
|
191
|
+
/*! ./DefaultNotFound */
|
|
188
192
|
|
|
189
193
|
/*! ./routeModule */
|
|
190
194
|
|
|
191
195
|
/*! @swc/helpers/_/_to_consumable_array */
|
|
192
196
|
|
|
193
|
-
/*! @modern-js/devtools-kit */
|
|
194
|
-
|
|
195
197
|
/*! @swc/helpers/_/_object_spread_props */
|
|
196
198
|
|
|
197
|
-
/*! ufo */
|
|
198
|
-
|
|
199
199
|
/*! @remix-run/router */
|
|
200
200
|
|
|
201
|
-
/*!
|
|
201
|
+
/*! @/components/ErrorFallback/ErrorFallback */
|
|
202
202
|
|
|
203
203
|
/*! ./compatible */
|
|
204
204
|
|
|
@@ -206,23 +206,21 @@
|
|
|
206
206
|
|
|
207
207
|
/*! @modern-js/runtime/router */
|
|
208
208
|
|
|
209
|
+
/*! @modern-js/runtime/router */
|
|
210
|
+
|
|
211
|
+
/*! @modern-js/runtime/router */
|
|
212
|
+
|
|
209
213
|
/*! @swc/helpers/_/_object_spread_props */
|
|
210
214
|
|
|
211
215
|
/*! react/jsx-runtime */
|
|
212
216
|
|
|
213
|
-
/*! @/components/ErrorFallback/ErrorFallback */
|
|
214
|
-
|
|
215
217
|
/*! @radix-ui/themes */
|
|
216
218
|
|
|
217
219
|
/*! lodash */
|
|
218
220
|
|
|
219
221
|
/*! @swc/helpers/_/_object_without_properties */
|
|
220
222
|
|
|
221
|
-
/*!
|
|
222
|
-
|
|
223
|
-
/*! hookable */
|
|
224
|
-
|
|
225
|
-
/*! @modern-js/runtime/router */
|
|
223
|
+
/*! react-icons/hi2 */
|
|
226
224
|
|
|
227
225
|
/*! @swc/helpers/_/_async_to_generator */
|
|
228
226
|
|
|
@@ -230,35 +228,47 @@
|
|
|
230
228
|
|
|
231
229
|
/*! ./plugin */
|
|
232
230
|
|
|
231
|
+
/*! ufo */
|
|
232
|
+
|
|
233
233
|
/*! @/entries/client/routes/state */
|
|
234
234
|
|
|
235
|
+
/*! ./layout.module.scss */
|
|
236
|
+
|
|
235
237
|
/*! @modern-js/utils/universal/constants */
|
|
236
238
|
|
|
237
239
|
/*! react */
|
|
238
240
|
|
|
239
241
|
/*! react/jsx-runtime */
|
|
240
242
|
|
|
243
|
+
/*! valtio */
|
|
244
|
+
|
|
245
|
+
/*! react-icons/hi2 */
|
|
246
|
+
|
|
241
247
|
/*! @swc/helpers/_/_instanceof */
|
|
242
248
|
|
|
243
249
|
/*! @swc/helpers/_/_to_consumable_array */
|
|
244
250
|
|
|
245
251
|
/*! @swc/helpers/_/_to_consumable_array */
|
|
246
252
|
|
|
247
|
-
/*!
|
|
248
|
-
|
|
249
|
-
/*! react-icons/hi2 */
|
|
253
|
+
/*! @/components/Theme */
|
|
250
254
|
|
|
251
255
|
/*! react */
|
|
252
256
|
|
|
257
|
+
/*! @/components/Breadcrumbs */
|
|
258
|
+
|
|
253
259
|
/*! ./Breadcrumbs.module.scss */
|
|
254
260
|
|
|
255
261
|
/*! react */
|
|
256
262
|
|
|
257
263
|
/*! react/jsx-runtime */
|
|
258
264
|
|
|
265
|
+
/*! react-icons/ri */
|
|
266
|
+
|
|
267
|
+
/*! @modern-js/runtime/router */
|
|
268
|
+
|
|
259
269
|
/*! ./layout.module.scss */
|
|
260
270
|
|
|
261
|
-
/*! @/components/
|
|
271
|
+
/*! @/components/SelectLink */
|
|
262
272
|
|
|
263
273
|
/*! @swc/helpers/_/_ts_generator */
|
|
264
274
|
|
|
@@ -268,19 +278,17 @@
|
|
|
268
278
|
|
|
269
279
|
/*! react/jsx-runtime */
|
|
270
280
|
|
|
271
|
-
/*! @/components/Breadcrumbs */
|
|
272
|
-
|
|
273
281
|
/*! @modern-js/utils/universal/plugin-dag-sort */
|
|
274
282
|
|
|
275
283
|
/*! @modern-js/utils/universal/constants */
|
|
276
284
|
|
|
277
285
|
/*! react-router-dom */
|
|
278
286
|
|
|
279
|
-
/*!
|
|
287
|
+
/*! ./context */
|
|
280
288
|
|
|
281
|
-
/*!
|
|
289
|
+
/*! @modern-js/devtools-kit/runtime */
|
|
282
290
|
|
|
283
|
-
/*!
|
|
291
|
+
/*! hoist-non-react-statics */
|
|
284
292
|
|
|
285
293
|
/*! @/utils */
|
|
286
294
|
|
|
@@ -290,11 +298,13 @@
|
|
|
290
298
|
|
|
291
299
|
/*! ../../core */
|
|
292
300
|
|
|
301
|
+
/*! ./state */
|
|
302
|
+
|
|
293
303
|
/*! react/jsx-runtime */
|
|
294
304
|
|
|
295
305
|
/*! ./Link */
|
|
296
306
|
|
|
297
|
-
/*!
|
|
307
|
+
/*! birpc */
|
|
298
308
|
|
|
299
309
|
/*! @swc/helpers/_/_object_spread */
|
|
300
310
|
|
|
@@ -302,12 +312,16 @@
|
|
|
302
312
|
|
|
303
313
|
/*! react */
|
|
304
314
|
|
|
305
|
-
/*!
|
|
315
|
+
/*! react */
|
|
306
316
|
|
|
307
317
|
/*! ../../core */
|
|
308
318
|
|
|
309
319
|
/*! react/jsx-runtime */
|
|
310
320
|
|
|
321
|
+
/*! @/components/Devtools/Puller */
|
|
322
|
+
|
|
323
|
+
/*! react */
|
|
324
|
+
|
|
311
325
|
/*! @swc/helpers/_/_object_spread_props */
|
|
312
326
|
|
|
313
327
|
/*! @/components/ErrorFallback/ErrorFallback */
|
|
@@ -318,13 +332,13 @@
|
|
|
318
332
|
|
|
319
333
|
/*! @modern-js/utils/universal/constants */
|
|
320
334
|
|
|
321
|
-
/*!
|
|
335
|
+
/*! @swc/helpers/_/_object_spread */
|
|
322
336
|
|
|
323
|
-
/*!
|
|
337
|
+
/*! @swc/helpers/_/_object_spread */
|
|
324
338
|
|
|
325
|
-
/*! react */
|
|
339
|
+
/*! react/jsx-runtime */
|
|
326
340
|
|
|
327
|
-
/*!
|
|
341
|
+
/*! @/components/ErrorFallback/ErrorFallback */
|
|
328
342
|
|
|
329
343
|
/*! @swc/helpers/_/_object_spread */
|
|
330
344
|
|
|
@@ -338,19 +352,11 @@
|
|
|
338
352
|
|
|
339
353
|
/*! lodash */
|
|
340
354
|
|
|
341
|
-
/*! @swc/helpers/_/_object_spread */
|
|
342
|
-
|
|
343
|
-
/*! react-icons/hi2 */
|
|
344
|
-
|
|
345
355
|
/*! @modern-js/runtime-utils/router */
|
|
346
356
|
|
|
347
|
-
/*! ufo */
|
|
348
|
-
|
|
349
357
|
/*! @swc/helpers/_/_object_spread */
|
|
350
358
|
|
|
351
|
-
/*!
|
|
352
|
-
|
|
353
|
-
/*! @/components/ErrorFallback/ErrorFallback */
|
|
359
|
+
/*! @/components/Loading */
|
|
354
360
|
|
|
355
361
|
/*! ./runtime */
|
|
356
362
|
|
|
@@ -358,4 +364,6 @@
|
|
|
358
364
|
|
|
359
365
|
/*! @swc/helpers/_/_object_without_properties */
|
|
360
366
|
|
|
361
|
-
/*! @radix-ui/themes */
|
|
367
|
+
/*! @radix-ui/themes */
|
|
368
|
+
|
|
369
|
+
/*! ./state */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see mount.
|
|
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"),a=n("5872"),s=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,s.useToggle)(!1),[y,w]=(0,a.useState)(!1),k=(0,u.withQuery)(e.endpoint,{src:e.dataSource}),b=(0,f.useStickyDraggable)({clamp:!0}),[x,E]=(0,a.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,s.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&E(e.newValue||void 0)}),(0,s.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&g()}),(0,a.useEffect)(()=>{h.wallAgent.hook("receive",e=>{"startInspectingNative"===e.event&&(g(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(g(!0),document.documentElement.style.removeProperty("cursor"))};return h.wallAgent.hook("send",e),()=>{h.wallAgent.removeHook("send",e)}},[]);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:k,onClose:()=>g(!1),style:{pointerEvents:b.isDragging?"none":"auto"}})})}),(0,l.jsxs)(i.Flex,(0,r._)((0,o._)({className:m.fab},b.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"),a=n("83982");n("5872");var s=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)(a.Box,(0,r._)((0,o._)({className:d.container},v),{children:[(0,i.jsx)("iframe",{className:d.frame,src:t}),(0,i.jsx)(s.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 a=e.load||(n?i.current:l);return a?(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"),a=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 s=document.createElement("div");s.classList.add("_modern_js_devtools_mountpoint","theme-register",i.container),t.appendChild(s);let c=window.__MODERN_JS_DEVTOOLS_OPTIONS__;(0,l.createRoot)(s).render((0,r.jsx)(a.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 _},wallAgent:function(){return p}});var o=n("90247"),r=n("55709"),l=n("
|
|
1
|
+
/*! For license information please see mount.3ea3bdb1.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"),a=n("5872"),s=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,s.useToggle)(!1),[y,w]=(0,a.useState)(!1),k=(0,u.withQuery)(e.endpoint,{src:e.dataSource}),b=(0,f.useStickyDraggable)({clamp:!0}),[x,E]=(0,a.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,s.useEvent)("storage",e=>{"__modern_js_devtools_appearance"===e.key&&E(e.newValue||void 0)}),(0,s.useEvent)("keydown",e=>{e.shiftKey&&e.altKey&&"KeyD"===e.code&&g()}),(0,a.useEffect)(()=>{h.wallAgent.hook("receive",e=>{"startInspectingNative"===e.event&&(g(!1),document.documentElement.style.setProperty("cursor","cell"))});let e=e=>{"stopInspectingNative"===e.event&&(g(!0),document.documentElement.style.removeProperty("cursor"))};return h.wallAgent.hook("send",e),()=>{h.wallAgent.removeHook("send",e)}},[]);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:k,onClose:()=>g(!1),style:{pointerEvents:b.isDragging?"none":"auto"}})})}),(0,l.jsxs)(i.Flex,(0,r._)((0,o._)({className:m.fab},b.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"),a=n("83982");n("5872");var s=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)(a.Box,(0,r._)((0,o._)({className:d.container},v),{children:[(0,i.jsx)("iframe",{className:d.frame,src:t}),(0,i.jsx)(s.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 a=e.load||(n?i.current:l);return a?(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"),a=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 s=document.createElement("div");s.classList.add("_modern_js_devtools_mountpoint","theme-register",i.container),t.appendChild(s);let c=window.__MODERN_JS_DEVTOOLS_OPTIONS__;(0,l.createRoot)(s).render((0,r.jsx)(a.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 _},wallAgent:function(){return p}});var o=n("90247"),r=n("55709"),l=n("10487"),i=n("88739"),a=n("65872"),s=n("9880"),c=n.n(s),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,a.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 s}});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]]},a=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}},s=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,[s,c]=(0,o.useState)(),u=()=>{if(!s)return;s.moveable=!1;let{el:e}=s,[t]=i(a(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==s?void 0:s.moveable))return;let{startX:o,startY:r}=s;(o-n.clientX)**2+(r-n.clientY)**2>9&&(s.clickable=!1);let{width:a,height:c}=s.el.getBoundingClientRect(),u=n.clientY-s.offsetY,d=n.clientX-s.offsetX,m=i({top:u,left:d,bottom:window.innerHeight-u-c,right:window.innerWidth-d-a}).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-a;e.value="clamp(".concat(l,", ").concat(e.value,", ").concat(t,"px)")}let[v,p,...f]=m,{style:h}=s.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:!!s,props:{onMouseDown:m,onTouchStart:m,onClickCapture:e=>{(null==s?void 0:s.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","58","768","894","963"],function(){return t("18466"),t("79155"),t("65183"),t("24366"),t("76942")}),e.O()}]);
|
|
@@ -6,12 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
/*! ../Visible */
|
|
8
8
|
|
|
9
|
-
/*!
|
|
9
|
+
/*! valtio */
|
|
10
10
|
|
|
11
|
-
/*! react-
|
|
11
|
+
/*! @/utils/react-devtools */
|
|
12
|
+
|
|
13
|
+
/*! @modern-js/devtools-kit/runtime */
|
|
12
14
|
|
|
13
15
|
/*! react */
|
|
14
16
|
|
|
17
|
+
/*! p-defer */
|
|
18
|
+
|
|
15
19
|
/*! @/entries/mount/state */
|
|
16
20
|
|
|
17
21
|
/*! @/components/Devtools/Capsule */
|
|
@@ -26,32 +30,28 @@
|
|
|
26
30
|
|
|
27
31
|
/*! react/jsx-runtime */
|
|
28
32
|
|
|
29
|
-
/*! hookable */
|
|
30
|
-
|
|
31
33
|
/*! ./Button */
|
|
32
34
|
|
|
33
35
|
/*! @swc/helpers/_/_object_spread */
|
|
34
36
|
|
|
35
|
-
/*! react
|
|
37
|
+
/*! react */
|
|
36
38
|
|
|
37
39
|
/*! @swc/helpers/_/_object_spread */
|
|
38
40
|
|
|
39
41
|
/*! react/jsx-runtime */
|
|
40
42
|
|
|
41
|
-
/*!
|
|
43
|
+
/*! birpc */
|
|
44
|
+
|
|
45
|
+
/*! react-use */
|
|
42
46
|
|
|
43
47
|
/*! ufo */
|
|
44
48
|
|
|
45
49
|
/*! ./state */
|
|
46
50
|
|
|
47
|
-
/*! @/utils/react-devtools */
|
|
48
|
-
|
|
49
51
|
/*! @swc/helpers/_/_object_spread_props */
|
|
50
52
|
|
|
51
53
|
/*! ../Loading */
|
|
52
54
|
|
|
53
|
-
/*! p-defer */
|
|
54
|
-
|
|
55
55
|
/*! ./Button.module.scss */
|
|
56
56
|
|
|
57
57
|
/*! @/utils/draggable */
|
|
@@ -74,8 +74,6 @@
|
|
|
74
74
|
|
|
75
75
|
/*! react-icons/hi2 */
|
|
76
76
|
|
|
77
|
-
/*! birpc */
|
|
78
|
-
|
|
79
77
|
/*! @swc/helpers/_/_object_spread */
|
|
80
78
|
|
|
81
79
|
/*! ./FrameBox */
|
|
@@ -84,7 +82,7 @@
|
|
|
84
82
|
|
|
85
83
|
/*! react-icons/hi2 */
|
|
86
84
|
|
|
87
|
-
/*!
|
|
85
|
+
/*! hookable */
|
|
88
86
|
|
|
89
87
|
/*! ./index.module.scss */
|
|
90
88
|
|
|
@@ -96,6 +94,8 @@
|
|
|
96
94
|
|
|
97
95
|
/*! @swc/helpers/_/_object_spread_props */
|
|
98
96
|
|
|
97
|
+
/*! react-devtools-inline/backend */
|
|
98
|
+
|
|
99
99
|
/*! react/jsx-runtime */
|
|
100
100
|
|
|
101
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-20240130170640",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.0.0"
|
|
6
6
|
},
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"ufo": "^1.3.0",
|
|
57
57
|
"valtio": "^1.11.1",
|
|
58
58
|
"jest": "^29",
|
|
59
|
-
"@modern-js-app/eslint-config": "0.0.0-nightly-
|
|
60
|
-
"@modern-js/
|
|
61
|
-
"@modern-js/
|
|
62
|
-
"@modern-js/
|
|
63
|
-
"@modern-js/
|
|
64
|
-
"@modern-js/runtime": "0.0.0-nightly-
|
|
65
|
-
"@modern-js/
|
|
66
|
-
"@modern-js/
|
|
67
|
-
"@modern-js/utils": "0.0.0-nightly-
|
|
68
|
-
"@scripts/jest-config": "0.0.0-nightly-
|
|
59
|
+
"@modern-js-app/eslint-config": "0.0.0-nightly-20240130170640",
|
|
60
|
+
"@modern-js/app-tools": "0.0.0-nightly-20240130170640",
|
|
61
|
+
"@modern-js/devtools-kit": "0.0.0-nightly-20240130170640",
|
|
62
|
+
"@modern-js/plugin-proxy": "0.0.0-nightly-20240130170640",
|
|
63
|
+
"@modern-js/eslint-config": "0.0.0-nightly-20240130170640",
|
|
64
|
+
"@modern-js/runtime": "0.0.0-nightly-20240130170640",
|
|
65
|
+
"@modern-js/tsconfig": "0.0.0-nightly-20240130170640",
|
|
66
|
+
"@modern-js/types": "0.0.0-nightly-20240130170640",
|
|
67
|
+
"@modern-js/utils": "0.0.0-nightly-20240130170640",
|
|
68
|
+
"@scripts/jest-config": "0.0.0-nightly-20240130170640"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"reset": "npx rimraf ./**/node_modules",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 663.3b35ada3.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunkmodernjsDevtools=self.webpackChunkmodernjsDevtools||[]).push([["663"],{60441:function(e,t,o){"use strict";o.r(t),o.d(t,{CaretSortIcon:function(){return a},ChevronRightIcon:function(){return d}});var n=o("5872");function r(e,t){if(null==e)return{};var o,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)o=l[n],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var l=["color"],a=(0,n.forwardRef)(function(e,t){var o=e.color,a=r(e,l);return(0,n.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,n.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===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))}),c=["color"],d=(0,n.forwardRef)(function(e,t){var o=e.color,l=r(e,c);return(0,n.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,n.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===o?"currentColor":o,fillRule:"evenodd",clipRule:"evenodd"}))})},13266:function(e,t,o){"use strict";var n=o("80364"),r={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 d(e){return n.isMemo(e)?a:c[e.$$typeof]||r}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=a;var i=Object.defineProperty,u=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,o,n){if("string"!=typeof o){if(f){var r=p(o);r&&r!==f&&e(t,r,n)}var a=u(o);s&&(a=a.concat(s(o)));for(var c=d(t),y=d(o),m=0;m<a.length;++m){var _=a[m];if(!l[_]&&!(n&&n[_])&&!(y&&y[_])&&!(c&&c[_])){var g=h(o,_);try{i(t,_,g)}catch(e){}}}}return t}},24546:function(e){"use strict";e.exports=function(e,t,o,n,r,l,a,c){if(!e){var d;if(void 0===t)d=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=[o,n,r,l,a,c],u=0;(d=Error(t.replace(/%s/g,function(){return i[u++]}))).name="Invariant Violation"}throw d.framesToPop=1,d}}},54201:function(e,t,o){"use strict";o.r(t),o.d(t,{RiReactjsLine:function(){return r}});var n=o("17966");function r(e){return(0,n.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 o="function"==typeof Symbol&&Symbol.for,n=o?Symbol.for("react.element"):60103,r=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,a=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,d=o?Symbol.for("react.provider"):60109,i=o?Symbol.for("react.context"):60110,u=o?Symbol.for("react.async_mode"):60111,s=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,f=o?Symbol.for("react.suspense_list"):60120,y=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,_=o?Symbol.for("react.block"):60121,g=o?Symbol.for("react.fundamental"):60117,C=o?Symbol.for("react.responder"):60118,M=o?Symbol.for("react.scope"):60119;function R(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case s:case l:case c:case a:case p:return e;default:switch(e=e&&e.$$typeof){case i:case h:case m:case y:case d:return e;default:return t}}case r:return t}}}function b(e){return R(e)===s}t.AsyncMode=u,t.ConcurrentMode=s,t.ContextConsumer=i,t.ContextProvider=d,t.Element=n,t.ForwardRef=h,t.Fragment=l,t.Lazy=m,t.Memo=y,t.Portal=r,t.Profiler=c,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return b(e)||R(e)===u},t.isConcurrentMode=b,t.isContextConsumer=function(e){return R(e)===i},t.isContextProvider=function(e){return R(e)===d},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return R(e)===h},t.isFragment=function(e){return R(e)===l},t.isLazy=function(e){return R(e)===m},t.isMemo=function(e){return R(e)===y},t.isPortal=function(e){return R(e)===r},t.isProfiler=function(e){return R(e)===c},t.isStrictMode=function(e){return R(e)===a},t.isSuspense=function(e){return R(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===s||e===c||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===d||e.$$typeof===i||e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===M||e.$$typeof===_)},t.typeOf=R},80364:function(e,t,o){"use strict";e.exports=o("66462")},36016:function(e,t,o){"use strict";o.r(t),o.d(t,{router:function(){return n.default}});var n=o("39934")},76273:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return u}});var n=o("90247");o("5872");var r=o("60182"),l=o("46606"),a=o("71759"),c=o("36016");let d="undefined"!=typeof window&&"nodejs"!==window.name,i=null;var u=i=function(){let e=(0,n._)({},(!1).config,"function"==typeof config?config():{});return!(i=(0,l.createApp)({plugins:[(0,c.router)((0,n._)({},{serverBase:["/"],basename:"/__devtools",routesConfig:{routes:a.routes,globalApp:!1}},null==e?void 0:e.router))]})()).init&&"undefined"!=typeof appInit&&(i.init=appInit),d&&(0,l.bootstrap)(i,"root",null,r),i}()},71759:function(e,t,o){"use strict";o.r(t),o.d(t,{routes:function(){return E}});var n=o("5872"),r=o("39934"),l=o("65556"),a=o("70853"),c=o("30628"),d=o("53978"),i=o("58237"),u=o("39134"),s=o("47743"),h=o("6521"),p=o("8073"),f=o("74350"),y=o("92563"),m=o("30383"),_=o("50512"),g=o("67080"),C=o("64981"),M=o("22359"),R=o("93656"),b=o("99025"),v=o("9845"),x=o("41058"),w=o("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:f.default,path:":toolkit/:type",lazyImport:()=>o.el("71759@2501:2643").then(o.bind(o,"9942")).then(e=>(0,r.handleRouteModule)(e,"client_config/(toolkit).(type)/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@2826:2968").then(o.bind(o,"9942")).then(e=>(0,r.handleRouteModule)(e,"client_config/(toolkit).(type)/page")).catch(r.handleRouteModuleError)),shouldRevalidate:(0,r.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:()=>o.el("71759@3557:3665").then(o.bind(o,"19885")).then(e=>(0,r.handleRouteModule)(e,"client_config/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@3831:3939").then(o.bind(o,"19885")).then(e=>(0,r.handleRouteModule)(e,"client_config/page")).catch(r.handleRouteModuleError)),shouldRevalidate:(0,r.createShouldRevalidate)("client_config/page")}],isRoot:!1,error:c.default,config:C,_component:"@_modern_js_src/entries/client/routes/config/layout.tsx",id:"client_config/layout",type:"nested",lazyImport:()=>o.el("71759@4482:4594").then(o.bind(o,"69149")).then(e=>(0,r.handleRouteModule)(e,"client_config/layout")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@4754:4866").then(o.bind(o,"69149")).then(e=>(0,r.handleRouteModule)(e,"client_config/layout")).catch(r.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:()=>o.el("71759@5382:5508").then(o.bind(o,"81006")).then(e=>(0,r.handleRouteModule)(e,"client_context/builder/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@5683:5809").then(o.bind(o,"81006")).then(e=>(0,r.handleRouteModule)(e,"client_context/builder/page")).catch(r.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/context/framework/page.tsx",id:"client_context/framework/page",type:"nested",path:"framework",lazyImport:()=>o.el("71759@6267:6397").then(o.bind(o,"49011")).then(e=>(0,r.handleRouteModule)(e,"client_context/framework/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@6574:6704").then(o.bind(o,"49011")).then(e=>(0,r.handleRouteModule)(e,"client_context/framework/page")).catch(r.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/context/page.tsx",index:!0,id:"client_context/page",type:"nested",loader:m.default,lazyImport:()=>o.el("71759@7182:7292").then(o.bind(o,"64618")).then(e=>(0,r.handleRouteModule)(e,"client_context/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@7459:7569").then(o.bind(o,"64618")).then(e=>(0,r.handleRouteModule)(e,"client_context/page")).catch(r.handleRouteModuleError)),shouldRevalidate:(0,r.createShouldRevalidate)("client_context/page")}],isRoot:!1,error:d.default,config:M,_component:"@_modern_js_src/entries/client/routes/context/layout.tsx",id:"client_context/layout",type:"nested",lazyImport:()=>o.el("71759@8116:8230").then(o.bind(o,"42737")).then(e=>(0,r.handleRouteModule)(e,"client_context/layout")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@8391:8505").then(o.bind(o,"42737")).then(e=>(0,r.handleRouteModule)(e,"client_context/layout")).catch(r.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:()=>o.el("71759@9019:9143").then(o.bind(o,"1343")).then(e=>(0,r.handleRouteModule)(e,"client_headers/editor/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@9317:9441").then(o.bind(o,"1343")).then(e=>(0,r.handleRouteModule)(e,"client_headers/editor/page")).catch(r.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/headers/page.tsx",index:!0,id:"client_headers/page",type:"nested",lazyImport:()=>o.el("71759@9872:9982").then(o.bind(o,"4172")).then(e=>(0,r.handleRouteModule)(e,"client_headers/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@10149:10259").then(o.bind(o,"4172")).then(e=>(0,r.handleRouteModule)(e,"client_headers/page")).catch(r.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/headers/welcome/page.tsx",id:"client_headers/welcome/page",type:"nested",path:"welcome",lazyImport:()=>o.el("71759@10703:10829").then(o.bind(o,"29129")).then(e=>(0,r.handleRouteModule)(e,"client_headers/welcome/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@11004:11130").then(o.bind(o,"29129")).then(e=>(0,r.handleRouteModule)(e,"client_headers/welcome/page")).catch(r.handleRouteModuleError))}],isRoot:!1,error:i.default,config:R,_component:"@_modern_js_src/entries/client/routes/headers/layout.tsx",id:"client_headers/layout",type:"nested",lazyImport:()=>o.el("71759@11594:11708").then(o.bind(o,"4258")).then(e=>(0,r.handleRouteModule)(e,"client_headers/layout")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@11869:11983").then(o.bind(o,"4258")).then(e=>(0,r.handleRouteModule)(e,"client_headers/layout")).catch(r.handleRouteModuleError))},{path:"overview",children:[{_component:"@_modern_js_src/entries/client/routes/overview/page.tsx",index:!0,id:"client_overview/page",type:"nested",lazyImport:()=>o.el("71759@12483:12595").then(o.bind(o,"52057")).then(e=>(0,r.handleRouteModule)(e,"client_overview/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@12763:12875").then(o.bind(o,"52057")).then(e=>(0,r.handleRouteModule)(e,"client_overview/page")).catch(r.handleRouteModuleError))}],isRoot:!1,error:u.default,config:b,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:_.default,lazyImport:()=>o.el("71759@13525:13619").then(o.bind(o,"51637")).then(e=>(0,r.handleRouteModule)(e,"client_page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@13770:13864").then(o.bind(o,"51637")).then(e=>(0,r.handleRouteModule)(e,"client_page")).catch(r.handleRouteModuleError)),shouldRevalidate:(0,r.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:()=>o.el("71759@14420:14526").then(o.bind(o,"71166")).then(e=>(0,r.handleRouteModule)(e,"client_pages/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@14691:14797").then(o.bind(o,"71166")).then(e=>(0,r.handleRouteModule)(e,"client_pages/page")).catch(r.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:()=>o.el("71759@15247:15357").then(o.bind(o,"81840")).then(e=>(0,r.handleRouteModule)(e,"client_pages/layout")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@15516:15626").then(o.bind(o,"81840")).then(e=>(0,r.handleRouteModule)(e,"client_pages/layout")).catch(r.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:()=>o.el("71759@16275:16393").then(o.bind(o,"48228")).then(e=>(0,r.handleRouteModule)(e,"client_react/(tab)/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@16572:16690").then(o.bind(o,"48228")).then(e=>(0,r.handleRouteModule)(e,"client_react/(tab)/page")).catch(r.handleRouteModuleError))}],isRoot:!1,config:x,_component:"@_modern_js_src/entries/client/routes/react/[tab]/layout.tsx",id:"client_react/(tab)/layout",type:"nested",lazyImport:()=>o.el("71759@17188:17310").then(o.bind(o,"33201")).then(e=>(0,r.handleRouteModule)(e,"client_react/(tab)/layout")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@17483:17605").then(o.bind(o,"33201")).then(e=>(0,r.handleRouteModule)(e,"client_react/(tab)/layout")).catch(r.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/react/offscreen/page.tsx",id:"client_react/offscreen/page",type:"nested",path:"offscreen",lazyImport:()=>o.el("71759@18057:18183").then(o.bind(o,"51005")).then(e=>(0,r.handleRouteModule)(e,"client_react/offscreen/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@18358:18484").then(o.bind(o,"51005")).then(e=>(0,r.handleRouteModule)(e,"client_react/offscreen/page")).catch(r.handleRouteModuleError))},{_component:"@_modern_js_src/entries/client/routes/react/page.tsx",index:!0,id:"client_react/page",type:"nested",loader:g.default,lazyImport:()=>o.el("71759@18956:19062").then(o.bind(o,"49680")).then(e=>(0,r.handleRouteModule)(e,"client_react/page")).catch(r.handleRouteModuleError),component:(0,n.lazy)(()=>o.el("71759@19227:19333").then(o.bind(o,"49680")).then(e=>(0,r.handleRouteModule)(e,"client_react/page")).catch(r.handleRouteModuleError)),shouldRevalidate:(0,r.createShouldRevalidate)("client_react/page")}],isRoot:!1,error:h.default,id:"client_react/layout",type:"nested",lazyImport:null}],isRoot:!0,error:p.default,config:w,_component:"@_modern_js_src/entries/client/routes/layout.tsx",loading:a.default,id:"client_layout",type:"nested",lazyImport:()=>o.el("71759@20039:20097").then(o.bind(o,"65556")).then(e=>(0,r.handleRouteModule)(e,"client_layout")).catch(r.handleRouteModuleError),component:l.default}]}}]);
|