@quantajs/react 2.0.0-beta.8 → 2.0.0-beta.9
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/index.cjs +2 -2
- package/dist/index.js +482 -421
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
22
|
*/
|
|
23
|
-
import yt, { useRef as fe, useCallback as
|
|
24
|
-
import { logger as R, createStore as
|
|
25
|
-
import { computed as wr, createStore as
|
|
26
|
-
const
|
|
23
|
+
import yt, { useRef as fe, useCallback as I, useSyncExternalStore as Ae, createContext as gt, useContext as _t, useEffect as wt } from "react";
|
|
24
|
+
import { logger as R, createStore as mt } from "@quantajs/core";
|
|
25
|
+
import { computed as wr, createStore as mr, logger as br, reactive as vr, watch as kr } from "@quantajs/core";
|
|
26
|
+
const bt = (e, t) => {
|
|
27
27
|
try {
|
|
28
28
|
return e && typeof e == "object" && "value" in e ? e.value : typeof e == "function" ? e.bind(t) : e;
|
|
29
29
|
} catch {
|
|
@@ -32,63 +32,63 @@ const mt = (e, t) => {
|
|
|
32
32
|
};
|
|
33
33
|
function Re(e, t) {
|
|
34
34
|
if (!e.subscribe) {
|
|
35
|
-
const
|
|
35
|
+
const c = new Error(
|
|
36
36
|
"QuantaJS store missing `subscribe`—ensure core v0.1.0-beta.2+."
|
|
37
37
|
);
|
|
38
|
-
throw R.error(`useQuantaStore: ${
|
|
38
|
+
throw R.error(`useQuantaStore: ${c.message}`), c;
|
|
39
39
|
}
|
|
40
40
|
if (!t) {
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
41
|
+
const c = fe(null), p = I(() => {
|
|
42
|
+
if (c.current) return c.current;
|
|
43
43
|
const a = {};
|
|
44
44
|
return Object.keys(e.state || {}).forEach((u) => {
|
|
45
45
|
a[u] = e[u];
|
|
46
46
|
}), Object.keys(e.getters || {}).forEach((u) => {
|
|
47
|
-
const
|
|
48
|
-
a[u] =
|
|
47
|
+
const f = e.getters[u];
|
|
48
|
+
a[u] = bt(f, e);
|
|
49
49
|
}), Object.keys(e.actions || {}).forEach((u) => {
|
|
50
50
|
a[u] = e.actions[u].bind(e);
|
|
51
|
-
}), a.$reset = e.$reset, a.$persist = e.$persist, a.$destroy = e.$destroy,
|
|
52
|
-
}, [e]), d =
|
|
51
|
+
}), a.$reset = e.$reset, a.$persist = e.$persist, a.$destroy = e.$destroy, c.current = a, a;
|
|
52
|
+
}, [e]), d = I(
|
|
53
53
|
(a) => {
|
|
54
|
-
const u = (
|
|
55
|
-
|
|
54
|
+
const u = (f) => {
|
|
55
|
+
c.current = null, a();
|
|
56
56
|
};
|
|
57
57
|
return e.subscribe(u);
|
|
58
58
|
},
|
|
59
59
|
[e]
|
|
60
|
-
),
|
|
61
|
-
() =>
|
|
62
|
-
[
|
|
60
|
+
), x = I(
|
|
61
|
+
() => p(),
|
|
62
|
+
[p]
|
|
63
63
|
);
|
|
64
|
-
return Ae(d,
|
|
64
|
+
return Ae(d, p, x);
|
|
65
65
|
}
|
|
66
|
-
const r = fe(null), i =
|
|
67
|
-
const
|
|
68
|
-
return r.current =
|
|
69
|
-
}, [e, t]), l =
|
|
70
|
-
(
|
|
71
|
-
const
|
|
66
|
+
const r = fe(null), i = I(() => {
|
|
67
|
+
const c = t(e);
|
|
68
|
+
return r.current = c, c;
|
|
69
|
+
}, [e, t]), l = I(
|
|
70
|
+
(c) => {
|
|
71
|
+
const p = (d) => {
|
|
72
72
|
try {
|
|
73
|
-
const
|
|
74
|
-
r.current !==
|
|
75
|
-
} catch (
|
|
73
|
+
const x = t(e);
|
|
74
|
+
r.current !== x && (r.current = x, c());
|
|
75
|
+
} catch (x) {
|
|
76
76
|
R.warn(
|
|
77
|
-
`useQuantaStore: Selector update failed: ${String(
|
|
77
|
+
`useQuantaStore: Selector update failed: ${String(x)}`
|
|
78
78
|
);
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
|
-
return e.subscribe(
|
|
81
|
+
return e.subscribe(p);
|
|
82
82
|
},
|
|
83
83
|
[e, t]
|
|
84
|
-
), o =
|
|
84
|
+
), o = I(() => (r.current === null && i(), r.current), [i]), s = I(
|
|
85
85
|
() => i(),
|
|
86
86
|
[i]
|
|
87
87
|
);
|
|
88
|
-
return Ae(l, o,
|
|
88
|
+
return Ae(l, o, s);
|
|
89
89
|
}
|
|
90
90
|
const Xe = gt({ stores: {} });
|
|
91
|
-
function
|
|
91
|
+
function vt() {
|
|
92
92
|
try {
|
|
93
93
|
const e = _t(Xe);
|
|
94
94
|
if (!e) {
|
|
@@ -104,7 +104,7 @@ function bt() {
|
|
|
104
104
|
}
|
|
105
105
|
function pr(e, t) {
|
|
106
106
|
try {
|
|
107
|
-
const { stores: r } =
|
|
107
|
+
const { stores: r } = vt(), i = r[e];
|
|
108
108
|
if (!i) {
|
|
109
109
|
const l = `Store with name "${e}" does not exist in the context.`;
|
|
110
110
|
throw R.error(`useStore: ${l}`), new Error(l);
|
|
@@ -123,7 +123,7 @@ function ur(e, t, r, i) {
|
|
|
123
123
|
);
|
|
124
124
|
if (!l.current)
|
|
125
125
|
try {
|
|
126
|
-
l.current =
|
|
126
|
+
l.current = mt(e, {
|
|
127
127
|
state: t,
|
|
128
128
|
getters: r,
|
|
129
129
|
actions: i
|
|
@@ -147,16 +147,16 @@ function kt() {
|
|
|
147
147
|
je = 1;
|
|
148
148
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
149
149
|
function r(i, l, o) {
|
|
150
|
-
var
|
|
151
|
-
if (o !== void 0 && (
|
|
150
|
+
var s = null;
|
|
151
|
+
if (o !== void 0 && (s = "" + o), l.key !== void 0 && (s = "" + l.key), "key" in l) {
|
|
152
152
|
o = {};
|
|
153
|
-
for (var
|
|
154
|
-
|
|
153
|
+
for (var c in l)
|
|
154
|
+
c !== "key" && (o[c] = l[c]);
|
|
155
155
|
} else o = l;
|
|
156
156
|
return l = o.ref, {
|
|
157
157
|
$$typeof: e,
|
|
158
158
|
type: i,
|
|
159
|
-
key:
|
|
159
|
+
key: s,
|
|
160
160
|
ref: l !== void 0 ? l : null,
|
|
161
161
|
props: o
|
|
162
162
|
};
|
|
@@ -164,149 +164,149 @@ function kt() {
|
|
|
164
164
|
return q.Fragment = t, q.jsx = r, q.jsxs = r, q;
|
|
165
165
|
}
|
|
166
166
|
var Y = {};
|
|
167
|
-
var
|
|
167
|
+
var Pe;
|
|
168
168
|
function Nt() {
|
|
169
|
-
return
|
|
170
|
-
function e(
|
|
171
|
-
if (
|
|
172
|
-
if (typeof
|
|
173
|
-
return
|
|
174
|
-
if (typeof
|
|
175
|
-
switch (
|
|
176
|
-
case
|
|
169
|
+
return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
170
|
+
function e(h) {
|
|
171
|
+
if (h == null) return null;
|
|
172
|
+
if (typeof h == "function")
|
|
173
|
+
return h.$$typeof === T ? null : h.displayName || h.name || null;
|
|
174
|
+
if (typeof h == "string") return h;
|
|
175
|
+
switch (h) {
|
|
176
|
+
case m:
|
|
177
177
|
return "Fragment";
|
|
178
178
|
case _:
|
|
179
179
|
return "Profiler";
|
|
180
180
|
case g:
|
|
181
181
|
return "StrictMode";
|
|
182
|
-
case
|
|
182
|
+
case F:
|
|
183
183
|
return "Suspense";
|
|
184
184
|
case X:
|
|
185
185
|
return "SuspenseList";
|
|
186
186
|
case Q:
|
|
187
187
|
return "Activity";
|
|
188
188
|
}
|
|
189
|
-
if (typeof
|
|
190
|
-
switch (typeof
|
|
189
|
+
if (typeof h == "object")
|
|
190
|
+
switch (typeof h.tag == "number" && console.error(
|
|
191
191
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
192
|
-
),
|
|
192
|
+
), h.$$typeof) {
|
|
193
193
|
case C:
|
|
194
194
|
return "Portal";
|
|
195
|
-
case
|
|
196
|
-
return
|
|
195
|
+
case P:
|
|
196
|
+
return h.displayName || "Context";
|
|
197
197
|
case j:
|
|
198
|
-
return (
|
|
198
|
+
return (h._context.displayName || "Context") + ".Consumer";
|
|
199
|
+
case U:
|
|
200
|
+
var y = h.render;
|
|
201
|
+
return h = h.displayName, h || (h = y.displayName || y.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
|
|
199
202
|
case H:
|
|
200
|
-
|
|
201
|
-
return n = n.displayName, n || (n = y.displayName || y.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
202
|
-
case B:
|
|
203
|
-
return y = n.displayName || null, y !== null ? y : e(n.type) || "Memo";
|
|
203
|
+
return y = h.displayName || null, y !== null ? y : e(h.type) || "Memo";
|
|
204
204
|
case M:
|
|
205
|
-
y =
|
|
205
|
+
y = h._payload, h = h._init;
|
|
206
206
|
try {
|
|
207
|
-
return e(
|
|
207
|
+
return e(h(y));
|
|
208
208
|
} catch {
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
return null;
|
|
212
212
|
}
|
|
213
|
-
function t(
|
|
214
|
-
return "" +
|
|
213
|
+
function t(h) {
|
|
214
|
+
return "" + h;
|
|
215
215
|
}
|
|
216
|
-
function r(
|
|
216
|
+
function r(h) {
|
|
217
217
|
try {
|
|
218
|
-
t(
|
|
218
|
+
t(h);
|
|
219
219
|
var y = !1;
|
|
220
220
|
} catch {
|
|
221
221
|
y = !0;
|
|
222
222
|
}
|
|
223
223
|
if (y) {
|
|
224
224
|
y = console;
|
|
225
|
-
var
|
|
226
|
-
return
|
|
225
|
+
var b = y.error, S = typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object";
|
|
226
|
+
return b.call(
|
|
227
227
|
y,
|
|
228
228
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
229
229
|
S
|
|
230
|
-
), t(
|
|
230
|
+
), t(h);
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
function i(
|
|
234
|
-
if (
|
|
235
|
-
if (typeof
|
|
233
|
+
function i(h) {
|
|
234
|
+
if (h === m) return "<>";
|
|
235
|
+
if (typeof h == "object" && h !== null && h.$$typeof === M)
|
|
236
236
|
return "<...>";
|
|
237
237
|
try {
|
|
238
|
-
var y = e(
|
|
238
|
+
var y = e(h);
|
|
239
239
|
return y ? "<" + y + ">" : "<...>";
|
|
240
240
|
} catch {
|
|
241
241
|
return "<...>";
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
function l() {
|
|
245
|
-
var
|
|
246
|
-
return
|
|
245
|
+
var h = O.A;
|
|
246
|
+
return h === null ? null : h.getOwner();
|
|
247
247
|
}
|
|
248
248
|
function o() {
|
|
249
249
|
return Error("react-stack-top-frame");
|
|
250
250
|
}
|
|
251
|
-
function h
|
|
252
|
-
if (ke.call(
|
|
253
|
-
var y = Object.getOwnPropertyDescriptor(
|
|
251
|
+
function s(h) {
|
|
252
|
+
if (ke.call(h, "key")) {
|
|
253
|
+
var y = Object.getOwnPropertyDescriptor(h, "key").get;
|
|
254
254
|
if (y && y.isReactWarning) return !1;
|
|
255
255
|
}
|
|
256
|
-
return
|
|
256
|
+
return h.key !== void 0;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
function
|
|
258
|
+
function c(h, y) {
|
|
259
|
+
function b() {
|
|
260
260
|
Ne || (Ne = !0, console.error(
|
|
261
261
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
262
262
|
y
|
|
263
263
|
));
|
|
264
264
|
}
|
|
265
|
-
|
|
266
|
-
get:
|
|
265
|
+
b.isReactWarning = !0, Object.defineProperty(h, "key", {
|
|
266
|
+
get: b,
|
|
267
267
|
configurable: !0
|
|
268
268
|
});
|
|
269
269
|
}
|
|
270
|
-
function
|
|
271
|
-
var
|
|
272
|
-
return Se[
|
|
270
|
+
function p() {
|
|
271
|
+
var h = e(this.type);
|
|
272
|
+
return Se[h] || (Se[h] = !0, console.error(
|
|
273
273
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
274
|
-
)),
|
|
274
|
+
)), h = this.props.ref, h !== void 0 ? h : null;
|
|
275
275
|
}
|
|
276
|
-
function d(
|
|
277
|
-
var E =
|
|
278
|
-
return
|
|
279
|
-
$$typeof:
|
|
280
|
-
type:
|
|
276
|
+
function d(h, y, b, S, Z, se) {
|
|
277
|
+
var E = b.ref;
|
|
278
|
+
return h = {
|
|
279
|
+
$$typeof: v,
|
|
280
|
+
type: h,
|
|
281
281
|
key: y,
|
|
282
|
-
props:
|
|
282
|
+
props: b,
|
|
283
283
|
_owner: S
|
|
284
|
-
}, (E !== void 0 ? E : null) !== null ? Object.defineProperty(
|
|
284
|
+
}, (E !== void 0 ? E : null) !== null ? Object.defineProperty(h, "ref", {
|
|
285
285
|
enumerable: !1,
|
|
286
|
-
get:
|
|
287
|
-
}) : Object.defineProperty(
|
|
286
|
+
get: p
|
|
287
|
+
}) : Object.defineProperty(h, "ref", { enumerable: !1, value: null }), h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
288
288
|
configurable: !1,
|
|
289
289
|
enumerable: !1,
|
|
290
290
|
writable: !0,
|
|
291
291
|
value: 0
|
|
292
|
-
}), Object.defineProperty(
|
|
292
|
+
}), Object.defineProperty(h, "_debugInfo", {
|
|
293
293
|
configurable: !1,
|
|
294
294
|
enumerable: !1,
|
|
295
295
|
writable: !0,
|
|
296
296
|
value: null
|
|
297
|
-
}), Object.defineProperty(
|
|
297
|
+
}), Object.defineProperty(h, "_debugStack", {
|
|
298
298
|
configurable: !1,
|
|
299
299
|
enumerable: !1,
|
|
300
300
|
writable: !0,
|
|
301
301
|
value: Z
|
|
302
|
-
}), Object.defineProperty(
|
|
302
|
+
}), Object.defineProperty(h, "_debugTask", {
|
|
303
303
|
configurable: !1,
|
|
304
304
|
enumerable: !1,
|
|
305
305
|
writable: !0,
|
|
306
306
|
value: se
|
|
307
|
-
}), Object.freeze && (Object.freeze(
|
|
307
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function x(h, y, b, S, Z, se) {
|
|
310
310
|
var E = y.children;
|
|
311
311
|
if (E !== void 0)
|
|
312
312
|
if (S)
|
|
@@ -320,11 +320,11 @@ function Nt() {
|
|
|
320
320
|
);
|
|
321
321
|
else a(E);
|
|
322
322
|
if (ke.call(y, "key")) {
|
|
323
|
-
E = e(
|
|
324
|
-
var
|
|
323
|
+
E = e(h);
|
|
324
|
+
var B = Object.keys(y).filter(function(xt) {
|
|
325
325
|
return xt !== "key";
|
|
326
326
|
});
|
|
327
|
-
S = 0 <
|
|
327
|
+
S = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", Te[E + S] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
328
328
|
`A props object containing a "key" prop is being spread into JSX:
|
|
329
329
|
let props = %s;
|
|
330
330
|
<%s {...props} />
|
|
@@ -333,71 +333,71 @@ React keys must be passed directly to JSX without using spread:
|
|
|
333
333
|
<%s key={someKey} {...props} />`,
|
|
334
334
|
S,
|
|
335
335
|
E,
|
|
336
|
-
|
|
336
|
+
B,
|
|
337
337
|
E
|
|
338
338
|
), Te[E + S] = !0);
|
|
339
339
|
}
|
|
340
|
-
if (E = null,
|
|
341
|
-
|
|
340
|
+
if (E = null, b !== void 0 && (r(b), E = "" + b), s(y) && (r(y.key), E = "" + y.key), "key" in y) {
|
|
341
|
+
b = {};
|
|
342
342
|
for (var he in y)
|
|
343
|
-
he !== "key" && (
|
|
344
|
-
} else
|
|
345
|
-
return E &&
|
|
346
|
-
|
|
347
|
-
typeof
|
|
343
|
+
he !== "key" && (b[he] = y[he]);
|
|
344
|
+
} else b = y;
|
|
345
|
+
return E && c(
|
|
346
|
+
b,
|
|
347
|
+
typeof h == "function" ? h.displayName || h.name || "Unknown" : h
|
|
348
348
|
), d(
|
|
349
|
-
|
|
349
|
+
h,
|
|
350
350
|
E,
|
|
351
|
-
|
|
351
|
+
b,
|
|
352
352
|
l(),
|
|
353
353
|
Z,
|
|
354
354
|
se
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
|
-
function a(
|
|
358
|
-
u(
|
|
357
|
+
function a(h) {
|
|
358
|
+
u(h) ? h._store && (h._store.validated = 1) : typeof h == "object" && h !== null && h.$$typeof === M && (h._payload.status === "fulfilled" ? u(h._payload.value) && h._payload.value._store && (h._payload.value._store.validated = 1) : h._store && (h._store.validated = 1));
|
|
359
359
|
}
|
|
360
|
-
function u(
|
|
361
|
-
return typeof
|
|
360
|
+
function u(h) {
|
|
361
|
+
return typeof h == "object" && h !== null && h.$$typeof === v;
|
|
362
362
|
}
|
|
363
|
-
var
|
|
363
|
+
var f = yt, v = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), P = Symbol.for("react.context"), U = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), Q = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), O = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ke = Object.prototype.hasOwnProperty, ut = Array.isArray, ce = console.createTask ? console.createTask : function() {
|
|
364
364
|
return null;
|
|
365
365
|
};
|
|
366
|
-
|
|
367
|
-
react_stack_bottom_frame: function(
|
|
368
|
-
return
|
|
366
|
+
f = {
|
|
367
|
+
react_stack_bottom_frame: function(h) {
|
|
368
|
+
return h();
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
|
-
var Ne, Se = {}, Ee =
|
|
372
|
-
|
|
371
|
+
var Ne, Se = {}, Ee = f.react_stack_bottom_frame.bind(
|
|
372
|
+
f,
|
|
373
373
|
o
|
|
374
|
-
)(), Ce =
|
|
375
|
-
Y.Fragment =
|
|
376
|
-
var S = 1e4 >
|
|
377
|
-
return
|
|
378
|
-
|
|
374
|
+
)(), Ce = ce(i(o)), Te = {};
|
|
375
|
+
Y.Fragment = m, Y.jsx = function(h, y, b) {
|
|
376
|
+
var S = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
377
|
+
return x(
|
|
378
|
+
h,
|
|
379
379
|
y,
|
|
380
|
-
|
|
380
|
+
b,
|
|
381
381
|
!1,
|
|
382
382
|
S ? Error("react-stack-top-frame") : Ee,
|
|
383
|
-
S ?
|
|
383
|
+
S ? ce(i(h)) : Ce
|
|
384
384
|
);
|
|
385
|
-
}, Y.jsxs = function(
|
|
386
|
-
var S = 1e4 >
|
|
387
|
-
return
|
|
388
|
-
|
|
385
|
+
}, Y.jsxs = function(h, y, b) {
|
|
386
|
+
var S = 1e4 > O.recentlyCreatedOwnerStacks++;
|
|
387
|
+
return x(
|
|
388
|
+
h,
|
|
389
389
|
y,
|
|
390
|
-
|
|
390
|
+
b,
|
|
391
391
|
!0,
|
|
392
392
|
S ? Error("react-stack-top-frame") : Ee,
|
|
393
|
-
S ?
|
|
393
|
+
S ? ce(i(h)) : Ce
|
|
394
394
|
);
|
|
395
395
|
};
|
|
396
396
|
})()), Y;
|
|
397
397
|
}
|
|
398
|
-
var
|
|
398
|
+
var Oe;
|
|
399
399
|
function St() {
|
|
400
|
-
return
|
|
400
|
+
return Oe || (Oe = 1, process.env.NODE_ENV === "production" ? K.exports = kt() : K.exports = Nt()), K.exports;
|
|
401
401
|
}
|
|
402
402
|
var Et = St();
|
|
403
403
|
function xr({ stores: e, children: t }) {
|
|
@@ -418,8 +418,8 @@ function xr({ stores: e, children: t }) {
|
|
|
418
418
|
), r;
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
var ae, w, Ze,
|
|
422
|
-
function
|
|
421
|
+
var ae, w, Ze, L, ze, Ke, et, tt, _e, pe, ue, V = {}, rt = [], Ct = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, G = Array.isArray;
|
|
422
|
+
function $(e, t) {
|
|
423
423
|
for (var r in t) e[r] = t[r];
|
|
424
424
|
return e;
|
|
425
425
|
}
|
|
@@ -427,16 +427,16 @@ function we(e) {
|
|
|
427
427
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
428
428
|
}
|
|
429
429
|
function J(e, t, r) {
|
|
430
|
-
var i, l, o,
|
|
431
|
-
for (o in t) o == "key" ? i = t[o] : o == "ref" ? l = t[o] :
|
|
432
|
-
if (arguments.length > 2 && (
|
|
433
|
-
return te(e,
|
|
430
|
+
var i, l, o, s = {};
|
|
431
|
+
for (o in t) o == "key" ? i = t[o] : o == "ref" ? l = t[o] : s[o] = t[o];
|
|
432
|
+
if (arguments.length > 2 && (s.children = arguments.length > 3 ? ae.call(arguments, 2) : r), typeof e == "function" && e.defaultProps != null) for (o in e.defaultProps) s[o] === void 0 && (s[o] = e.defaultProps[o]);
|
|
433
|
+
return te(e, s, i, l, null);
|
|
434
434
|
}
|
|
435
435
|
function te(e, t, r, i, l) {
|
|
436
436
|
var o = { type: e, props: t, key: r, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: l ?? ++Ze, __i: -1, __u: 0 };
|
|
437
437
|
return l == null && w.vnode != null && w.vnode(o), o;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function ne(e) {
|
|
440
440
|
return e.children;
|
|
441
441
|
}
|
|
442
442
|
function re(e, t) {
|
|
@@ -458,21 +458,21 @@ function it(e) {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
function Me(e) {
|
|
461
|
-
(!e.__d && (e.__d = !0) &&
|
|
461
|
+
(!e.__d && (e.__d = !0) && L.push(e) && !oe.__r++ || ze != w.debounceRendering) && ((ze = w.debounceRendering) || Ke)(oe);
|
|
462
462
|
}
|
|
463
463
|
function oe() {
|
|
464
|
-
for (var e, t, r, i, l, o,
|
|
464
|
+
for (var e, t, r, i, l, o, s, c = 1; L.length; ) L.length > c && L.sort(et), e = L.shift(), c = L.length, e.__d && (r = void 0, i = void 0, l = (i = (t = e).__v).__e, o = [], s = [], t.__P && ((r = $({}, i)).__v = i.__v + 1, w.vnode && w.vnode(r), me(t.__P, r, i, t.__n, t.__P.namespaceURI, 32 & i.__u ? [l] : null, o, l ?? W(i), !!(32 & i.__u), s), r.__v = i.__v, r.__.__k[r.__i] = r, nt(o, r, s), i.__e = i.__ = null, r.__e != l && it(r)));
|
|
465
465
|
oe.__r = 0;
|
|
466
466
|
}
|
|
467
|
-
function ot(e, t, r, i, l, o,
|
|
468
|
-
var a, u,
|
|
469
|
-
for (
|
|
470
|
-
return r.__e = C,
|
|
467
|
+
function ot(e, t, r, i, l, o, s, c, p, d, x) {
|
|
468
|
+
var a, u, f, v, C, m, g, _ = i && i.__k || rt, j = t.length;
|
|
469
|
+
for (p = Tt(r, t, _, p, j), a = 0; a < j; a++) (f = r.__k[a]) != null && (u = f.__i == -1 ? V : _[f.__i] || V, f.__i = a, m = me(e, f, u, l, o, s, c, p, d, x), v = f.__e, f.ref && u.ref != f.ref && (u.ref && be(u.ref, null, f), x.push(f.ref, f.__c || v, f)), C == null && v != null && (C = v), (g = !!(4 & f.__u)) || u.__k === f.__k ? p = lt(f, p, e, g) : typeof f.type == "function" && m !== void 0 ? p = m : v && (p = v.nextSibling), f.__u &= -7);
|
|
470
|
+
return r.__e = C, p;
|
|
471
471
|
}
|
|
472
472
|
function Tt(e, t, r, i, l) {
|
|
473
|
-
var o,
|
|
474
|
-
for (e.__k = new Array(l), o = 0; o < l; o++) (
|
|
475
|
-
if (a) for (o = 0; o <
|
|
473
|
+
var o, s, c, p, d, x = r.length, a = x, u = 0;
|
|
474
|
+
for (e.__k = new Array(l), o = 0; o < l; o++) (s = t[o]) != null && typeof s != "boolean" && typeof s != "function" ? (p = o + u, (s = e.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? te(null, s, null, null, null) : G(s) ? te(ne, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? te(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, c = null, (d = s.__i = At(s, r, p, a)) != -1 && (a--, (c = r[d]) && (c.__u |= 2)), c == null || c.__v == null ? (d == -1 && (l > x ? u-- : l < x && u++), typeof s.type != "function" && (s.__u |= 4)) : d != p && (d == p - 1 ? u-- : d == p + 1 ? u++ : (d > p ? u-- : u++, s.__u |= 4))) : e.__k[o] = null;
|
|
475
|
+
if (a) for (o = 0; o < x; o++) (c = r[o]) != null && (2 & c.__u) == 0 && (c.__e == i && (i = W(c)), st(c, c));
|
|
476
476
|
return i;
|
|
477
477
|
}
|
|
478
478
|
function lt(e, t, r, i) {
|
|
@@ -493,24 +493,24 @@ function at(e, t) {
|
|
|
493
493
|
}) : t.push(e)), t;
|
|
494
494
|
}
|
|
495
495
|
function At(e, t, r, i) {
|
|
496
|
-
var l, o,
|
|
497
|
-
if (d === null && e.key == null ||
|
|
498
|
-
if (i > (
|
|
499
|
-
for (l = r - 1, o = r + 1; l >= 0 || o < t.length; ) if ((d = t[
|
|
496
|
+
var l, o, s, c = e.key, p = e.type, d = t[r], x = d != null && (2 & d.__u) == 0;
|
|
497
|
+
if (d === null && e.key == null || x && c == d.key && p == d.type) return r;
|
|
498
|
+
if (i > (x ? 1 : 0)) {
|
|
499
|
+
for (l = r - 1, o = r + 1; l >= 0 || o < t.length; ) if ((d = t[s = l >= 0 ? l-- : o++]) != null && (2 & d.__u) == 0 && c == d.key && p == d.type) return s;
|
|
500
500
|
}
|
|
501
501
|
return -1;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function $e(e, t, r) {
|
|
504
504
|
t[0] == "-" ? e.setProperty(t, r ?? "") : e[t] = r == null ? "" : typeof r != "number" || Ct.test(t) ? r : r + "px";
|
|
505
505
|
}
|
|
506
506
|
function ee(e, t, r, i, l) {
|
|
507
|
-
var o,
|
|
507
|
+
var o, s;
|
|
508
508
|
e: if (t == "style") if (typeof r == "string") e.style.cssText = r;
|
|
509
509
|
else {
|
|
510
|
-
if (typeof i == "string" && (e.style.cssText = i = ""), i) for (t in i) r && t in r ||
|
|
511
|
-
if (r) for (t in r) i && r[t] == i[t] ||
|
|
510
|
+
if (typeof i == "string" && (e.style.cssText = i = ""), i) for (t in i) r && t in r || $e(e.style, t, "");
|
|
511
|
+
if (r) for (t in r) i && r[t] == i[t] || $e(e.style, t, r[t]);
|
|
512
512
|
}
|
|
513
|
-
else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(tt, "$1")),
|
|
513
|
+
else if (t[0] == "o" && t[1] == "n") o = t != (t = t.replace(tt, "$1")), s = t.toLowerCase(), t = s in e || t == "onFocusOut" || t == "onFocusIn" ? s.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + o] = r, r ? i ? r.u = i.u : (r.u = _e, e.addEventListener(t, o ? ue : pe, o)) : e.removeEventListener(t, o ? ue : pe, o);
|
|
514
514
|
else {
|
|
515
515
|
if (l == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
516
516
|
else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
|
|
@@ -531,50 +531,50 @@ function De(e) {
|
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
|
-
function
|
|
535
|
-
var
|
|
534
|
+
function me(e, t, r, i, l, o, s, c, p, d) {
|
|
535
|
+
var x, a, u, f, v, C, m, g, _, j, P, U, F, X, H, M, Q, T = t.type;
|
|
536
536
|
if (t.constructor != null) return null;
|
|
537
|
-
128 & r.__u && (
|
|
537
|
+
128 & r.__u && (p = !!(32 & r.__u), o = [c = t.__e = r.__e]), (x = w.__b) && x(t);
|
|
538
538
|
e: if (typeof T == "function") try {
|
|
539
|
-
if (g = t.props, _ = "prototype" in T && T.prototype.render, j = (
|
|
539
|
+
if (g = t.props, _ = "prototype" in T && T.prototype.render, j = (x = T.contextType) && i[x.__c], P = x ? j ? j.props.value : x.__ : i, r.__c ? m = (a = t.__c = r.__c).__ = a.__E : (_ ? t.__c = a = new T(g, P) : (t.__c = a = new re(g, P), a.constructor = T, a.render = jt), j && j.sub(a), a.props = g, a.state || (a.state = {}), a.context = P, a.__n = i, u = a.__d = !0, a.__h = [], a._sb = []), _ && a.__s == null && (a.__s = a.state), _ && T.getDerivedStateFromProps != null && (a.__s == a.state && (a.__s = $({}, a.__s)), $(a.__s, T.getDerivedStateFromProps(g, a.__s))), f = a.props, v = a.state, a.__v = t, u) _ && T.getDerivedStateFromProps == null && a.componentWillMount != null && a.componentWillMount(), _ && a.componentDidMount != null && a.__h.push(a.componentDidMount);
|
|
540
540
|
else {
|
|
541
|
-
if (_ && T.getDerivedStateFromProps == null && g !==
|
|
542
|
-
for (t.__v != r.__v && (a.props = g, a.state = a.__s, a.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(
|
|
543
|
-
|
|
544
|
-
}),
|
|
545
|
-
a._sb = [], a.__h.length &&
|
|
541
|
+
if (_ && T.getDerivedStateFromProps == null && g !== f && a.componentWillReceiveProps != null && a.componentWillReceiveProps(g, P), !a.__e && a.shouldComponentUpdate != null && a.shouldComponentUpdate(g, a.__s, P) === !1 || t.__v == r.__v) {
|
|
542
|
+
for (t.__v != r.__v && (a.props = g, a.state = a.__s, a.__d = !1), t.__e = r.__e, t.__k = r.__k, t.__k.some(function(O) {
|
|
543
|
+
O && (O.__ = t);
|
|
544
|
+
}), U = 0; U < a._sb.length; U++) a.__h.push(a._sb[U]);
|
|
545
|
+
a._sb = [], a.__h.length && s.push(a);
|
|
546
546
|
break e;
|
|
547
547
|
}
|
|
548
|
-
a.componentWillUpdate != null && a.componentWillUpdate(g, a.__s,
|
|
549
|
-
a.componentDidUpdate(
|
|
548
|
+
a.componentWillUpdate != null && a.componentWillUpdate(g, a.__s, P), _ && a.componentDidUpdate != null && a.__h.push(function() {
|
|
549
|
+
a.componentDidUpdate(f, v, C);
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
|
-
if (a.context =
|
|
553
|
-
for (a.state = a.__s, a.__d = !1,
|
|
552
|
+
if (a.context = P, a.props = g, a.__P = e, a.__e = !1, F = w.__r, X = 0, _) {
|
|
553
|
+
for (a.state = a.__s, a.__d = !1, F && F(t), x = a.render(a.props, a.state, a.context), H = 0; H < a._sb.length; H++) a.__h.push(a._sb[H]);
|
|
554
554
|
a._sb = [];
|
|
555
555
|
} else do
|
|
556
|
-
a.__d = !1,
|
|
556
|
+
a.__d = !1, F && F(t), x = a.render(a.props, a.state, a.context), a.state = a.__s;
|
|
557
557
|
while (a.__d && ++X < 25);
|
|
558
|
-
a.state = a.__s, a.getChildContext != null && (i =
|
|
559
|
-
} catch (
|
|
560
|
-
if (t.__v = null,
|
|
561
|
-
for (t.__u |=
|
|
562
|
-
o[o.indexOf(
|
|
558
|
+
a.state = a.__s, a.getChildContext != null && (i = $($({}, i), a.getChildContext())), _ && !u && a.getSnapshotBeforeUpdate != null && (C = a.getSnapshotBeforeUpdate(f, v)), M = x, x != null && x.type === ne && x.key == null && (M = ct(x.props.children)), c = ot(e, G(M) ? M : [M], t, r, i, l, o, s, c, p, d), a.base = t.__e, t.__u &= -161, a.__h.length && s.push(a), m && (a.__E = a.__ = null);
|
|
559
|
+
} catch (O) {
|
|
560
|
+
if (t.__v = null, p || o != null) if (O.then) {
|
|
561
|
+
for (t.__u |= p ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
|
|
562
|
+
o[o.indexOf(c)] = null, t.__e = c;
|
|
563
563
|
} else {
|
|
564
564
|
for (Q = o.length; Q--; ) we(o[Q]);
|
|
565
565
|
xe(t);
|
|
566
566
|
}
|
|
567
|
-
else t.__e = r.__e, t.__k = r.__k,
|
|
568
|
-
w.__e(
|
|
567
|
+
else t.__e = r.__e, t.__k = r.__k, O.then || xe(t);
|
|
568
|
+
w.__e(O, t, r);
|
|
569
569
|
}
|
|
570
|
-
else o == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) :
|
|
571
|
-
return (
|
|
570
|
+
else o == null && t.__v == r.__v ? (t.__k = r.__k, t.__e = r.__e) : c = t.__e = Rt(r.__e, t, r, i, l, o, s, p, d);
|
|
571
|
+
return (x = w.diffed) && x(t), 128 & t.__u ? void 0 : c;
|
|
572
572
|
}
|
|
573
573
|
function xe(e) {
|
|
574
574
|
e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(xe);
|
|
575
575
|
}
|
|
576
|
-
function
|
|
577
|
-
for (var i = 0; i < r.length; i++)
|
|
576
|
+
function nt(e, t, r) {
|
|
577
|
+
for (var i = 0; i < r.length; i++) be(r[i], r[++i], r[++i]);
|
|
578
578
|
w.__c && w.__c(t, e), e.some(function(l) {
|
|
579
579
|
try {
|
|
580
580
|
e = l.__h, l.__h = [], e.some(function(o) {
|
|
@@ -585,39 +585,39 @@ function ct(e, t, r) {
|
|
|
585
585
|
}
|
|
586
586
|
});
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : G(e) ? e.map(
|
|
588
|
+
function ct(e) {
|
|
589
|
+
return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : G(e) ? e.map(ct) : $({}, e);
|
|
590
590
|
}
|
|
591
|
-
function Rt(e, t, r, i, l, o,
|
|
592
|
-
var d,
|
|
591
|
+
function Rt(e, t, r, i, l, o, s, c, p) {
|
|
592
|
+
var d, x, a, u, f, v, C, m = r.props, g = t.props, _ = t.type;
|
|
593
593
|
if (_ == "svg" ? l = "http://www.w3.org/2000/svg" : _ == "math" ? l = "http://www.w3.org/1998/Math/MathML" : l || (l = "http://www.w3.org/1999/xhtml"), o != null) {
|
|
594
|
-
for (d = 0; d < o.length; d++) if ((
|
|
595
|
-
e =
|
|
594
|
+
for (d = 0; d < o.length; d++) if ((f = o[d]) && "setAttribute" in f == !!_ && (_ ? f.localName == _ : f.nodeType == 3)) {
|
|
595
|
+
e = f, o[d] = null;
|
|
596
596
|
break;
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
if (e == null) {
|
|
600
600
|
if (_ == null) return document.createTextNode(g);
|
|
601
|
-
e = document.createElementNS(l, _, g.is && g),
|
|
601
|
+
e = document.createElementNS(l, _, g.is && g), c && (w.__m && w.__m(t, o), c = !1), o = null;
|
|
602
602
|
}
|
|
603
|
-
if (_ == null)
|
|
603
|
+
if (_ == null) m === g || c && e.data == g || (e.data = g);
|
|
604
604
|
else {
|
|
605
|
-
if (o = o && ae.call(e.childNodes),
|
|
606
|
-
for (d in
|
|
607
|
-
if (d == "dangerouslySetInnerHTML") a =
|
|
605
|
+
if (o = o && ae.call(e.childNodes), m = r.props || V, !c && o != null) for (m = {}, d = 0; d < e.attributes.length; d++) m[(f = e.attributes[d]).name] = f.value;
|
|
606
|
+
for (d in m) if (f = m[d], d != "children") {
|
|
607
|
+
if (d == "dangerouslySetInnerHTML") a = f;
|
|
608
608
|
else if (!(d in g)) {
|
|
609
609
|
if (d == "value" && "defaultValue" in g || d == "checked" && "defaultChecked" in g) continue;
|
|
610
|
-
ee(e, d, null,
|
|
610
|
+
ee(e, d, null, f, l);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
for (d in g)
|
|
614
|
-
if (
|
|
615
|
-
else if (a && (e.innerHTML = ""), ot(t.type == "template" ? e.content : e, G(u) ? u : [u], t, r, i, _ == "foreignObject" ? "http://www.w3.org/1999/xhtml" : l, o,
|
|
616
|
-
|
|
613
|
+
for (d in g) f = g[d], d == "children" ? u = f : d == "dangerouslySetInnerHTML" ? x = f : d == "value" ? v = f : d == "checked" ? C = f : c && typeof f != "function" || m[d] === f || ee(e, d, f, m[d], l);
|
|
614
|
+
if (x) c || a && (x.__html == a.__html || x.__html == e.innerHTML) || (e.innerHTML = x.__html), t.__k = [];
|
|
615
|
+
else if (a && (e.innerHTML = ""), ot(t.type == "template" ? e.content : e, G(u) ? u : [u], t, r, i, _ == "foreignObject" ? "http://www.w3.org/1999/xhtml" : l, o, s, o ? o[0] : r.__k && W(r, 0), c, p), o != null) for (d = o.length; d--; ) we(o[d]);
|
|
616
|
+
c || (d = "value", _ == "progress" && v == null ? e.removeAttribute("value") : v != null && (v !== e[d] || _ == "progress" && !v || _ == "option" && v != m[d]) && ee(e, d, v, m[d], l), d = "checked", C != null && C != e[d] && ee(e, d, C, m[d], l));
|
|
617
617
|
}
|
|
618
618
|
return e;
|
|
619
619
|
}
|
|
620
|
-
function
|
|
620
|
+
function be(e, t, r) {
|
|
621
621
|
try {
|
|
622
622
|
if (typeof e == "function") {
|
|
623
623
|
var i = typeof e.__u == "function";
|
|
@@ -629,7 +629,7 @@ function me(e, t, r) {
|
|
|
629
629
|
}
|
|
630
630
|
function st(e, t, r) {
|
|
631
631
|
var i, l;
|
|
632
|
-
if (w.unmount && w.unmount(e), (i = e.ref) && (i.current && i.current != e.__e ||
|
|
632
|
+
if (w.unmount && w.unmount(e), (i = e.ref) && (i.current && i.current != e.__e || be(i, null, t)), (i = e.__c) != null) {
|
|
633
633
|
if (i.componentWillUnmount) try {
|
|
634
634
|
i.componentWillUnmount();
|
|
635
635
|
} catch (o) {
|
|
@@ -644,77 +644,77 @@ function jt(e, t, r) {
|
|
|
644
644
|
return this.constructor(e, r);
|
|
645
645
|
}
|
|
646
646
|
function Fe(e, t, r) {
|
|
647
|
-
var i, l, o,
|
|
648
|
-
t == document && (t = document.documentElement), w.__ && w.__(e, t), l = (i = !1) ? null : t.__k, o = [],
|
|
647
|
+
var i, l, o, s;
|
|
648
|
+
t == document && (t = document.documentElement), w.__ && w.__(e, t), l = (i = !1) ? null : t.__k, o = [], s = [], me(t, e = t.__k = J(ne, null, [e]), l || V, V, t.namespaceURI, l ? null : t.firstChild ? ae.call(t.childNodes) : null, o, l ? l.__e : t.firstChild, i, s), nt(o, e, s);
|
|
649
649
|
}
|
|
650
650
|
ae = rt.slice, w = { __e: function(e, t, r, i) {
|
|
651
|
-
for (var l, o,
|
|
652
|
-
if ((o = l.constructor) && o.getDerivedStateFromError != null && (l.setState(o.getDerivedStateFromError(e)),
|
|
653
|
-
} catch (
|
|
654
|
-
e =
|
|
651
|
+
for (var l, o, s; t = t.__; ) if ((l = t.__c) && !l.__) try {
|
|
652
|
+
if ((o = l.constructor) && o.getDerivedStateFromError != null && (l.setState(o.getDerivedStateFromError(e)), s = l.__d), l.componentDidCatch != null && (l.componentDidCatch(e, i || {}), s = l.__d), s) return l.__E = l;
|
|
653
|
+
} catch (c) {
|
|
654
|
+
e = c;
|
|
655
655
|
}
|
|
656
656
|
throw e;
|
|
657
657
|
} }, Ze = 0, re.prototype.setState = function(e, t) {
|
|
658
658
|
var r;
|
|
659
|
-
r = this.__s != null && this.__s != this.state ? this.__s : this.__s =
|
|
659
|
+
r = this.__s != null && this.__s != this.state ? this.__s : this.__s = $({}, this.state), typeof e == "function" && (e = e($({}, r), this.props)), e && $(r, e), e != null && this.__v && (t && this._sb.push(t), Me(this));
|
|
660
660
|
}, re.prototype.forceUpdate = function(e) {
|
|
661
661
|
this.__v && (this.__e = !0, e && this.__h.push(e), Me(this));
|
|
662
|
-
}, re.prototype.render =
|
|
662
|
+
}, re.prototype.render = ne, L = [], Ke = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, et = function(e, t) {
|
|
663
663
|
return e.__v.__b - t.__v.__b;
|
|
664
664
|
}, oe.__r = 0, tt = /(PointerCapture)$|Capture$/i, _e = 0, pe = De(!1), ue = De(!0);
|
|
665
|
-
var
|
|
666
|
-
function
|
|
665
|
+
var Pt = 0;
|
|
666
|
+
function n(e, t, r, i, l, o) {
|
|
667
667
|
t || (t = {});
|
|
668
|
-
var
|
|
669
|
-
if ("ref" in
|
|
670
|
-
var d = { type: e, props:
|
|
671
|
-
if (typeof e == "function" && (
|
|
668
|
+
var s, c, p = t;
|
|
669
|
+
if ("ref" in p) for (c in p = {}, t) c == "ref" ? s = t[c] : p[c] = t[c];
|
|
670
|
+
var d = { type: e, props: p, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Pt, __i: -1, __u: 0, __source: l, __self: o };
|
|
671
|
+
if (typeof e == "function" && (s = e.defaultProps)) for (c in s) p[c] === void 0 && (p[c] = s[c]);
|
|
672
672
|
return w.vnode && w.vnode(d), d;
|
|
673
673
|
}
|
|
674
|
-
var le, k, de, Ie, ye = 0, ht = [], N = w,
|
|
674
|
+
var le, k, de, Ie, ye = 0, ht = [], N = w, Le = N.__b, Ue = N.__r, He = N.diffed, Be = N.__c, We = N.unmount, Qe = N.__;
|
|
675
675
|
function dt(e, t) {
|
|
676
676
|
N.__h && N.__h(k, e, ye || t), ye = 0;
|
|
677
677
|
var r = k.__H || (k.__H = { __: [], __h: [] });
|
|
678
678
|
return e >= r.__.length && r.__.push({}), r.__[e];
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
return ye = 1,
|
|
680
|
+
function D(e) {
|
|
681
|
+
return ye = 1, Ot(ft, e);
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Ot(e, t, r) {
|
|
684
684
|
var i = dt(le++, 2);
|
|
685
|
-
if (i.t = e, !i.__c && (i.__ = [ft(void 0, t), function(
|
|
686
|
-
var
|
|
687
|
-
|
|
685
|
+
if (i.t = e, !i.__c && (i.__ = [ft(void 0, t), function(c) {
|
|
686
|
+
var p = i.__N ? i.__N[0] : i.__[0], d = i.t(p, c);
|
|
687
|
+
p !== d && (i.__N = [d, i.__[1]], i.__c.setState({}));
|
|
688
688
|
}], i.__c = k, !k.__f)) {
|
|
689
|
-
var l = function(
|
|
689
|
+
var l = function(c, p, d) {
|
|
690
690
|
if (!i.__c.__H) return !0;
|
|
691
|
-
var
|
|
691
|
+
var x = i.__c.__H.__.filter(function(u) {
|
|
692
692
|
return !!u.__c;
|
|
693
693
|
});
|
|
694
|
-
if (
|
|
694
|
+
if (x.every(function(u) {
|
|
695
695
|
return !u.__N;
|
|
696
|
-
})) return !o || o.call(this,
|
|
697
|
-
var a = i.__c.props !==
|
|
698
|
-
return
|
|
696
|
+
})) return !o || o.call(this, c, p, d);
|
|
697
|
+
var a = i.__c.props !== c;
|
|
698
|
+
return x.forEach(function(u) {
|
|
699
699
|
if (u.__N) {
|
|
700
|
-
var
|
|
701
|
-
u.__ = u.__N, u.__N = void 0,
|
|
700
|
+
var f = u.__[0];
|
|
701
|
+
u.__ = u.__N, u.__N = void 0, f !== u.__[0] && (a = !0);
|
|
702
702
|
}
|
|
703
|
-
}), o && o.call(this,
|
|
703
|
+
}), o && o.call(this, c, p, d) || a;
|
|
704
704
|
};
|
|
705
705
|
k.__f = !0;
|
|
706
|
-
var o = k.shouldComponentUpdate,
|
|
707
|
-
k.componentWillUpdate = function(
|
|
706
|
+
var o = k.shouldComponentUpdate, s = k.componentWillUpdate;
|
|
707
|
+
k.componentWillUpdate = function(c, p, d) {
|
|
708
708
|
if (this.__e) {
|
|
709
|
-
var
|
|
710
|
-
o = void 0, l(
|
|
709
|
+
var x = o;
|
|
710
|
+
o = void 0, l(c, p, d), o = x;
|
|
711
711
|
}
|
|
712
|
-
|
|
712
|
+
s && s.call(this, c, p, d);
|
|
713
713
|
}, k.shouldComponentUpdate = l;
|
|
714
714
|
}
|
|
715
715
|
return i.__N || i.__;
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function zt(e, t) {
|
|
718
718
|
var r = dt(le++, 3);
|
|
719
719
|
!N.__s && Dt(r.__H, t) && (r.__ = e, r.u = t, k.__H.__h.push(r));
|
|
720
720
|
}
|
|
@@ -726,19 +726,19 @@ function Mt() {
|
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
N.__b = function(e) {
|
|
729
|
-
k = null,
|
|
729
|
+
k = null, Le && Le(e);
|
|
730
730
|
}, N.__ = function(e, t) {
|
|
731
731
|
e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Qe && Qe(e, t);
|
|
732
732
|
}, N.__r = function(e) {
|
|
733
|
-
|
|
733
|
+
Ue && Ue(e), le = 0;
|
|
734
734
|
var t = (k = e.__c).__H;
|
|
735
735
|
t && (de === k ? (t.__h = [], k.__h = [], t.__.forEach(function(r) {
|
|
736
736
|
r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
|
|
737
737
|
})) : (t.__h.forEach(ie), t.__h.forEach(ge), t.__h = [], le = 0)), de = k;
|
|
738
738
|
}, N.diffed = function(e) {
|
|
739
|
-
|
|
739
|
+
He && He(e);
|
|
740
740
|
var t = e.__c;
|
|
741
|
-
t && t.__H && (t.__H.__h.length && (ht.push(t) !== 1 && Ie === N.requestAnimationFrame || ((Ie = N.requestAnimationFrame) ||
|
|
741
|
+
t && t.__H && (t.__H.__h.length && (ht.push(t) !== 1 && Ie === N.requestAnimationFrame || ((Ie = N.requestAnimationFrame) || $t)(Mt)), t.__H.__.forEach(function(r) {
|
|
742
742
|
r.u && (r.__H = r.u), r.u = void 0;
|
|
743
743
|
})), de = k = null;
|
|
744
744
|
}, N.__c = function(e, t) {
|
|
@@ -752,7 +752,7 @@ N.__b = function(e) {
|
|
|
752
752
|
l.__h && (l.__h = []);
|
|
753
753
|
}), t = [], N.__e(i, r.__v);
|
|
754
754
|
}
|
|
755
|
-
}),
|
|
755
|
+
}), Be && Be(e, t);
|
|
756
756
|
}, N.unmount = function(e) {
|
|
757
757
|
We && We(e);
|
|
758
758
|
var t, r = e.__c;
|
|
@@ -765,7 +765,7 @@ N.__b = function(e) {
|
|
|
765
765
|
}), r.__H = void 0, t && N.__e(t, r.__v));
|
|
766
766
|
};
|
|
767
767
|
var qe = typeof requestAnimationFrame == "function";
|
|
768
|
-
function
|
|
768
|
+
function $t(e) {
|
|
769
769
|
var t, r = function() {
|
|
770
770
|
clearTimeout(i), qe && cancelAnimationFrame(t), setTimeout(e);
|
|
771
771
|
}, i = setTimeout(r, 35);
|
|
@@ -789,24 +789,24 @@ function ft(e, t) {
|
|
|
789
789
|
}
|
|
790
790
|
const Ye = "data:image/svg+xml,%3csvg%20width='1820'%20height='1820'%20viewBox='0%200%201820%201820'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='1820'%20height='1820'%20rx='20'%20fill='%23121212'/%3e%3crect%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='496'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='744'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='868'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1736'%20y='124'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='248'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='744'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1116'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1364'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='248'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='248'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='372'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='372'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='992'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1116'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='496'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.7'%20x='1364'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1488'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.2'%20x='1736'%20y='496'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='620'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20opacity='0.99'%20x='1364'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1488'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1612'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1736'%20y='620'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1240'%20y='744'%20width='84'%20height='84'%20rx='42'%20fill='%23848484'/%3e%3crect%20x='1364'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1488'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='744'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='124'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='1116'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='868'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20opacity='0.5'%20x='1364'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1736'%20y='868'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='992'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='992'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1488'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1612'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='1736'%20y='992'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.1'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.6'%20x='124'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='496'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1116'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1240'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1116'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='372'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='620'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='744'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='%2338B2AC'/%3e%3crect%20x='868'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='992'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1116'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1240'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='1612'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1240'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='248'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.98'%20x='744'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='992'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1240'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1364'%20y='1364'%20width='84'%20height='84'%20rx='42'%20fill='white'/%3e%3crect%20x='1488'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1364'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='744'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='1240'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='1612'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1488'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='124'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.4'%20x='248'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='744'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='868'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='1240'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.7'%20x='1488'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1612'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1612'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.5'%20x='124'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='248'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='372'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='496'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='620'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.9'%20x='744'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.3'%20x='868'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='992'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1116'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.8'%20x='1240'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1364'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1488'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20opacity='0.32'%20x='1612'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3crect%20x='1736'%20y='1736'%20width='84'%20height='84'%20rx='20'%20fill='%23999999'%20fill-opacity='0.2'/%3e%3c/svg%3e";
|
|
791
791
|
function Ft() {
|
|
792
|
-
const [e, t] =
|
|
793
|
-
return
|
|
794
|
-
let
|
|
795
|
-
const
|
|
792
|
+
const [e, t] = D({}), [r, i] = D([]), [l, o] = D(null);
|
|
793
|
+
return zt(() => {
|
|
794
|
+
let s, c = 0;
|
|
795
|
+
const p = 10, d = () => {
|
|
796
796
|
const a = window.__QUANTA_DEVTOOLS__;
|
|
797
|
-
a ? (console.log("[Quanta DevTools] Connected to bridge"),
|
|
797
|
+
a ? (console.log("[Quanta DevTools] Connected to bridge"), s = a.subscribe(x)) : c < p ? (c++, setTimeout(d, 500)) : console.warn(
|
|
798
798
|
"[Quanta DevTools] Failed to connect to bridge after retries"
|
|
799
799
|
);
|
|
800
|
-
},
|
|
800
|
+
}, x = (a) => {
|
|
801
801
|
a.type === "STORE_INIT" ? t((u) => {
|
|
802
|
-
const
|
|
802
|
+
const f = {
|
|
803
803
|
...u,
|
|
804
804
|
[a.payload.name]: a.payload.store
|
|
805
805
|
};
|
|
806
|
-
return l || o(a.payload.name),
|
|
806
|
+
return l || o(a.payload.name), f;
|
|
807
807
|
}) : a.type === "STATE_CHANGE" ? t((u) => {
|
|
808
|
-
const
|
|
809
|
-
return u[
|
|
808
|
+
const f = a.payload.storeName;
|
|
809
|
+
return u[f] ? { ...u } : u;
|
|
810
810
|
}) : a.type === "ACTION_CALL" && i((u) => [
|
|
811
811
|
{
|
|
812
812
|
id: Math.random().toString(36).substr(2, 9),
|
|
@@ -820,7 +820,7 @@ function Ft() {
|
|
|
820
820
|
]);
|
|
821
821
|
};
|
|
822
822
|
return d(), () => {
|
|
823
|
-
|
|
823
|
+
s && s();
|
|
824
824
|
};
|
|
825
825
|
}, [l]), { stores: e, actions: r, selectedStore: l, setSelectedStore: o };
|
|
826
826
|
}
|
|
@@ -830,8 +830,8 @@ const Ve = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), It = (
|
|
|
830
830
|
), Je = (e) => {
|
|
831
831
|
const t = It(e);
|
|
832
832
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
833
|
-
},
|
|
834
|
-
var
|
|
833
|
+
}, Lt = (...e) => e.filter((t, r, i) => !!t && t.trim() !== "" && i.indexOf(t) === r).join(" ").trim();
|
|
834
|
+
var Ut = {
|
|
835
835
|
xmlns: "http://www.w3.org/2000/svg",
|
|
836
836
|
width: 24,
|
|
837
837
|
height: 24,
|
|
@@ -842,34 +842,34 @@ var Ht = {
|
|
|
842
842
|
"stroke-linecap": "round",
|
|
843
843
|
"stroke-linejoin": "round"
|
|
844
844
|
};
|
|
845
|
-
const
|
|
845
|
+
const Ht = ({
|
|
846
846
|
color: e = "currentColor",
|
|
847
847
|
size: t = 24,
|
|
848
848
|
strokeWidth: r = 2,
|
|
849
849
|
absoluteStrokeWidth: i,
|
|
850
850
|
children: l,
|
|
851
851
|
iconNode: o,
|
|
852
|
-
class:
|
|
853
|
-
...
|
|
852
|
+
class: s = "",
|
|
853
|
+
...c
|
|
854
854
|
}) => J(
|
|
855
855
|
"svg",
|
|
856
856
|
{
|
|
857
|
-
...
|
|
857
|
+
...Ut,
|
|
858
858
|
width: String(t),
|
|
859
859
|
height: t,
|
|
860
860
|
stroke: e,
|
|
861
861
|
"stroke-width": i ? Number(r) * 24 / Number(t) : r,
|
|
862
|
-
class: ["lucide",
|
|
863
|
-
...
|
|
862
|
+
class: ["lucide", s].join(" "),
|
|
863
|
+
...c
|
|
864
864
|
},
|
|
865
|
-
[...o.map(([
|
|
865
|
+
[...o.map(([p, d]) => J(p, d)), ...at(l)]
|
|
866
866
|
), A = (e, t) => {
|
|
867
|
-
const r = ({ class: i = "", className: l = "", children: o, ...
|
|
868
|
-
|
|
867
|
+
const r = ({ class: i = "", className: l = "", children: o, ...s }) => J(
|
|
868
|
+
Ht,
|
|
869
869
|
{
|
|
870
|
-
...
|
|
870
|
+
...s,
|
|
871
871
|
iconNode: t,
|
|
872
|
-
class:
|
|
872
|
+
class: Lt(
|
|
873
873
|
`lucide-${Ve(Je(e))}`,
|
|
874
874
|
`lucide-${Ve(e)}`,
|
|
875
875
|
i,
|
|
@@ -879,7 +879,7 @@ const Bt = ({
|
|
|
879
879
|
o
|
|
880
880
|
);
|
|
881
881
|
return r.displayName = Je(e), r;
|
|
882
|
-
},
|
|
882
|
+
}, Bt = A("check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]), Wt = A("chevron-down", [
|
|
883
883
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
884
884
|
]), Qt = A("chevron-right", [
|
|
885
885
|
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
@@ -930,14 +930,14 @@ const Bt = ({
|
|
|
930
930
|
trash: Kt,
|
|
931
931
|
search: Zt,
|
|
932
932
|
"circle-x": Yt,
|
|
933
|
-
check:
|
|
933
|
+
check: Bt,
|
|
934
934
|
copy: Vt
|
|
935
935
|
};
|
|
936
|
-
function
|
|
936
|
+
function z({ name: e, size: t = 16, color: r, className: i }) {
|
|
937
937
|
const l = tr[e];
|
|
938
|
-
return l ? /* @__PURE__ */
|
|
938
|
+
return l ? /* @__PURE__ */ n(l, { size: t, color: r, className: i }) : null;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function ve(e) {
|
|
941
941
|
const t = /* @__PURE__ */ new WeakSet();
|
|
942
942
|
function r(i, l) {
|
|
943
943
|
if (l > 10) return "[...]";
|
|
@@ -956,16 +956,16 @@ function be(e) {
|
|
|
956
956
|
if (Array.isArray(i)) {
|
|
957
957
|
if (t.has(i)) return "[Circular]";
|
|
958
958
|
t.add(i);
|
|
959
|
-
const
|
|
960
|
-
return t.delete(i),
|
|
959
|
+
const s = i.map((c) => r(c, l + 1));
|
|
960
|
+
return t.delete(i), s;
|
|
961
961
|
}
|
|
962
962
|
if (o === "object") {
|
|
963
963
|
if (t.has(i)) return "[Circular]";
|
|
964
964
|
t.add(i);
|
|
965
|
-
const
|
|
966
|
-
for (const
|
|
967
|
-
Object.prototype.hasOwnProperty.call(i,
|
|
968
|
-
return t.delete(i),
|
|
965
|
+
const s = {};
|
|
966
|
+
for (const c in i)
|
|
967
|
+
Object.prototype.hasOwnProperty.call(i, c) && (s[c] = r(i[c], l + 1));
|
|
968
|
+
return t.delete(i), s;
|
|
969
969
|
}
|
|
970
970
|
return String(i);
|
|
971
971
|
}
|
|
@@ -975,31 +975,36 @@ function be(e) {
|
|
|
975
975
|
return "[Error]";
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /* @__PURE__ */
|
|
979
|
-
/* @__PURE__ */
|
|
978
|
+
const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /* @__PURE__ */ n("span", { className: "text-green-600 dark:text-green-400", children: ve(e) }) : /* @__PURE__ */ n("div", { style: { paddingLeft: t * 12 }, children: Object.entries(e).map(([r, i]) => /* @__PURE__ */ n("div", { className: "font-mono text-xs py-0.5", children: [
|
|
979
|
+
/* @__PURE__ */ n("span", { className: "text-purple-400", children: [
|
|
980
980
|
r,
|
|
981
981
|
": "
|
|
982
982
|
] }),
|
|
983
|
-
/* @__PURE__ */
|
|
983
|
+
/* @__PURE__ */ n(pt, { data: i, level: t + 1 })
|
|
984
984
|
] }, r)) }), rr = ({
|
|
985
985
|
stores: e,
|
|
986
986
|
selectedStore: t
|
|
987
|
-
}) => /* @__PURE__ */
|
|
988
|
-
/* @__PURE__ */
|
|
989
|
-
/* @__PURE__ */
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
987
|
+
}) => /* @__PURE__ */ n("div", { className: "flex h-full", children: /* @__PURE__ */ n("div", { className: "flex-1 overflow-y-auto p-4 bg-slate-950", children: t && e[t] ? /* @__PURE__ */ n("div", { className: "space-y-4", children: [
|
|
988
|
+
/* @__PURE__ */ n("div", { className: "bg-slate-900/50 rounded-lg border border-slate-800 p-4", children: [
|
|
989
|
+
/* @__PURE__ */ n("h3", { className: "text-xs font-bold text-slate-500 tracking-wider mb-3 border-b border-slate-800 pb-2", children: [
|
|
990
|
+
/* @__PURE__ */ n("span", { className: "uppercase", children: "Store Management" }),
|
|
991
|
+
" (",
|
|
992
|
+
t,
|
|
993
|
+
")"
|
|
994
|
+
] }),
|
|
995
|
+
/* @__PURE__ */ n("div", { className: "flex flex-col gap-3", children: [
|
|
996
|
+
/* @__PURE__ */ n("div", { className: "flex items-center justify-between", children: [
|
|
997
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-2 text-xs", children: [
|
|
998
|
+
/* @__PURE__ */ n("span", { className: "text-slate-400", children: "Persistence:" }),
|
|
999
|
+
e[t].$persist ? /* @__PURE__ */ n("span", { className: "flex items-center gap-1.5 text-green-400 font-medium bg-green-400/10 px-2 py-0.5 rounded-full border border-green-400/20", children: [
|
|
1000
|
+
/* @__PURE__ */ n("div", { className: "w-1.5 h-1.5 rounded-full bg-green-400 shadow-[0_0_6px_rgba(74,222,128,0.5)]" }),
|
|
996
1001
|
"Enabled"
|
|
997
|
-
] }) : /* @__PURE__ */
|
|
998
|
-
/* @__PURE__ */
|
|
1002
|
+
] }) : /* @__PURE__ */ n("span", { className: "flex items-center gap-1.5 text-slate-500 font-medium bg-slate-800 px-2 py-0.5 rounded-full border border-slate-700", children: [
|
|
1003
|
+
/* @__PURE__ */ n("div", { className: "w-1.5 h-1.5 rounded-full bg-slate-500" }),
|
|
999
1004
|
"Disabled"
|
|
1000
1005
|
] })
|
|
1001
1006
|
] }),
|
|
1002
|
-
e[t].$persist && /* @__PURE__ */
|
|
1007
|
+
e[t].$persist && /* @__PURE__ */ n(
|
|
1003
1008
|
"button",
|
|
1004
1009
|
{
|
|
1005
1010
|
onClick: async () => {
|
|
@@ -1019,15 +1024,15 @@ const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /
|
|
|
1019
1024
|
className: "flex items-center gap-1.5 px-2 py-1 bg-slate-800 hover:bg-red-500/20 text-slate-400 hover:text-red-400 rounded text-[10px] font-medium transition-colors border border-slate-700 hover:border-red-500/30",
|
|
1020
1025
|
title: "Clear persisted data from storage",
|
|
1021
1026
|
children: [
|
|
1022
|
-
/* @__PURE__ */
|
|
1027
|
+
/* @__PURE__ */ n(z, { name: "trash", size: 12 }),
|
|
1023
1028
|
"Clear Storage"
|
|
1024
1029
|
]
|
|
1025
1030
|
}
|
|
1026
1031
|
)
|
|
1027
1032
|
] }),
|
|
1028
|
-
/* @__PURE__ */
|
|
1029
|
-
/* @__PURE__ */
|
|
1030
|
-
/* @__PURE__ */
|
|
1033
|
+
/* @__PURE__ */ n("div", { className: "flex items-center justify-between pt-2 border-t border-slate-800/50", children: [
|
|
1034
|
+
/* @__PURE__ */ n("span", { className: "text-xs text-slate-500", children: "Reset in-memory state to initial values." }),
|
|
1035
|
+
/* @__PURE__ */ n(
|
|
1031
1036
|
"button",
|
|
1032
1037
|
{
|
|
1033
1038
|
onClick: () => {
|
|
@@ -1037,7 +1042,7 @@ const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /
|
|
|
1037
1042
|
},
|
|
1038
1043
|
className: "flex items-center gap-2 px-3 py-1.5 bg-slate-800 hover:bg-slate-700 text-slate-300 hover:text-white rounded text-xs font-medium transition-colors border border-slate-700",
|
|
1039
1044
|
children: [
|
|
1040
|
-
/* @__PURE__ */
|
|
1045
|
+
/* @__PURE__ */ n(z, { name: "rotate-ccw", size: 12 }),
|
|
1041
1046
|
"Reset State"
|
|
1042
1047
|
]
|
|
1043
1048
|
}
|
|
@@ -1045,43 +1050,45 @@ const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /
|
|
|
1045
1050
|
] })
|
|
1046
1051
|
] })
|
|
1047
1052
|
] }),
|
|
1048
|
-
/* @__PURE__ */
|
|
1049
|
-
/* @__PURE__ */
|
|
1050
|
-
/* @__PURE__ */
|
|
1053
|
+
/* @__PURE__ */ n("div", { className: "bg-slate-900/50 rounded-lg border border-slate-800 p-4", children: [
|
|
1054
|
+
/* @__PURE__ */ n("h3", { className: "text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2", children: "State" }),
|
|
1055
|
+
/* @__PURE__ */ n(pt, { data: e[t].state })
|
|
1051
1056
|
] }),
|
|
1052
|
-
/* @__PURE__ */
|
|
1053
|
-
/* @__PURE__ */
|
|
1054
|
-
e[t].getters && Object.keys(e[t].getters).length > 0 ? /* @__PURE__ */
|
|
1057
|
+
/* @__PURE__ */ n("div", { className: "bg-slate-900/50 rounded-lg border border-slate-800 p-4", children: [
|
|
1058
|
+
/* @__PURE__ */ n("h3", { className: "text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2", children: "Getters" }),
|
|
1059
|
+
e[t].getters && Object.keys(e[t].getters).length > 0 ? /* @__PURE__ */ n("div", { className: "space-y-1", children: Object.entries(
|
|
1055
1060
|
e[t].getters
|
|
1056
|
-
).map(([r, i]) => /* @__PURE__ */
|
|
1061
|
+
).map(([r, i]) => /* @__PURE__ */ n(
|
|
1057
1062
|
"div",
|
|
1058
1063
|
{
|
|
1059
1064
|
className: "flex items-start gap-2 font-mono text-xs",
|
|
1060
1065
|
children: [
|
|
1061
|
-
/* @__PURE__ */
|
|
1066
|
+
/* @__PURE__ */ n("span", { className: "text-purple-400", children: [
|
|
1062
1067
|
r,
|
|
1063
1068
|
":"
|
|
1064
1069
|
] }),
|
|
1065
|
-
/* @__PURE__ */
|
|
1070
|
+
/* @__PURE__ */ n("span", { className: "text-yellow-400 break-all", children: ve(
|
|
1071
|
+
i.value
|
|
1072
|
+
) })
|
|
1066
1073
|
]
|
|
1067
1074
|
},
|
|
1068
1075
|
r
|
|
1069
|
-
)) }) : /* @__PURE__ */
|
|
1076
|
+
)) }) : /* @__PURE__ */ n("div", { className: "text-xs text-slate-600 italic", children: "No getters defined" })
|
|
1070
1077
|
] }),
|
|
1071
|
-
e[t].actions && Object.keys(e[t].actions).length > 0 && /* @__PURE__ */
|
|
1072
|
-
/* @__PURE__ */
|
|
1073
|
-
/* @__PURE__ */
|
|
1078
|
+
e[t].actions && Object.keys(e[t].actions).length > 0 && /* @__PURE__ */ n("div", { className: "bg-slate-900/50 rounded-lg border border-slate-800 p-4", children: [
|
|
1079
|
+
/* @__PURE__ */ n("h3", { className: "text-xs font-bold text-slate-500 uppercase tracking-wider mb-3 border-b border-slate-800 pb-2", children: "Actions" }),
|
|
1080
|
+
/* @__PURE__ */ n("div", { className: "space-y-1", children: Object.keys(
|
|
1074
1081
|
e[t].actions
|
|
1075
|
-
).map((r) => /* @__PURE__ */
|
|
1082
|
+
).map((r) => /* @__PURE__ */ n(
|
|
1076
1083
|
"div",
|
|
1077
1084
|
{
|
|
1078
1085
|
className: "flex items-center justify-between group",
|
|
1079
1086
|
children: [
|
|
1080
|
-
/* @__PURE__ */
|
|
1087
|
+
/* @__PURE__ */ n("span", { className: "font-mono text-xs text-blue-400", children: [
|
|
1081
1088
|
r,
|
|
1082
1089
|
"()"
|
|
1083
1090
|
] }),
|
|
1084
|
-
/* @__PURE__ */
|
|
1091
|
+
/* @__PURE__ */ n(
|
|
1085
1092
|
"button",
|
|
1086
1093
|
{
|
|
1087
1094
|
onClick: () => {
|
|
@@ -1095,8 +1102,8 @@ const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /
|
|
|
1095
1102
|
},
|
|
1096
1103
|
className: "p-1 text-slate-600 hover:text-cyan-400 opacity-0 group-hover:opacity-100 transition-all",
|
|
1097
1104
|
title: "Trigger Action",
|
|
1098
|
-
children: /* @__PURE__ */
|
|
1099
|
-
|
|
1105
|
+
children: /* @__PURE__ */ n(
|
|
1106
|
+
z,
|
|
1100
1107
|
{
|
|
1101
1108
|
name: "play",
|
|
1102
1109
|
size: 12
|
|
@@ -1109,29 +1116,29 @@ const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /
|
|
|
1109
1116
|
r
|
|
1110
1117
|
)) })
|
|
1111
1118
|
] })
|
|
1112
|
-
] }) : /* @__PURE__ */
|
|
1113
|
-
/* @__PURE__ */
|
|
1114
|
-
|
|
1119
|
+
] }) : /* @__PURE__ */ n("div", { className: "h-full flex items-center justify-center text-slate-600 flex-col gap-2", children: [
|
|
1120
|
+
/* @__PURE__ */ n(
|
|
1121
|
+
z,
|
|
1115
1122
|
{
|
|
1116
1123
|
name: "database",
|
|
1117
1124
|
size: 32,
|
|
1118
1125
|
className: "opacity-20"
|
|
1119
1126
|
}
|
|
1120
1127
|
),
|
|
1121
|
-
/* @__PURE__ */
|
|
1128
|
+
/* @__PURE__ */ n("p", { children: "Select a store to inspect" })
|
|
1122
1129
|
] }) }) }), Ge = 100, ir = ({ args: e }) => {
|
|
1123
|
-
const [t, r] =
|
|
1124
|
-
return /* @__PURE__ */
|
|
1125
|
-
/* @__PURE__ */
|
|
1126
|
-
/* @__PURE__ */
|
|
1127
|
-
|
|
1130
|
+
const [t, r] = D(!1), [i, l] = D(!1), o = ve(e), s = o.length > Ge, c = s ? o.slice(0, Ge) + "..." : o;
|
|
1131
|
+
return /* @__PURE__ */ n("td", { className: "px-4 py-3 text-xs text-slate-400 font-mono", children: /* @__PURE__ */ n("div", { className: "flex items-start gap-2", children: [
|
|
1132
|
+
/* @__PURE__ */ n("div", { className: "flex-1 min-w-0", children: t ? /* @__PURE__ */ n("div", { className: "whitespace-pre-wrap break-all bg-slate-900/50 p-2 rounded border border-slate-800 max-h-48 overflow-y-auto", children: o }) : /* @__PURE__ */ n("div", { className: "truncate max-w-[200px]", title: c, children: c }) }),
|
|
1133
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
|
|
1134
|
+
s && /* @__PURE__ */ n(
|
|
1128
1135
|
"button",
|
|
1129
1136
|
{
|
|
1130
1137
|
onClick: () => r(!t),
|
|
1131
1138
|
className: "p-1 bg-transparent hover:bg-slate-800 rounded transition-colors text-cyan-400 hover:text-cyan-300",
|
|
1132
1139
|
title: t ? "Collapse" : "Expand",
|
|
1133
|
-
children: /* @__PURE__ */
|
|
1134
|
-
|
|
1140
|
+
children: /* @__PURE__ */ n(
|
|
1141
|
+
z,
|
|
1135
1142
|
{
|
|
1136
1143
|
name: t ? "chevron-up" : "chevron-down",
|
|
1137
1144
|
size: 14
|
|
@@ -1139,187 +1146,240 @@ const pt = ({ data: e, level: t = 0 }) => typeof e != "object" || e === null ? /
|
|
|
1139
1146
|
)
|
|
1140
1147
|
}
|
|
1141
1148
|
),
|
|
1142
|
-
/* @__PURE__ */
|
|
1149
|
+
/* @__PURE__ */ n(
|
|
1143
1150
|
"button",
|
|
1144
1151
|
{
|
|
1145
1152
|
onClick: async () => {
|
|
1146
1153
|
try {
|
|
1147
1154
|
await navigator.clipboard.writeText(o), l(!0), setTimeout(() => l(!1), 2e3);
|
|
1148
|
-
} catch (
|
|
1149
|
-
console.error("Failed to copy:",
|
|
1155
|
+
} catch (p) {
|
|
1156
|
+
console.error("Failed to copy:", p);
|
|
1150
1157
|
}
|
|
1151
1158
|
},
|
|
1152
1159
|
className: `p-1 bg-transparent hover:bg-slate-800 rounded transition-colors ${i ? "text-green-400" : "text-slate-500 hover:text-slate-300"}`,
|
|
1153
1160
|
title: i ? "Copied!" : "Copy payload",
|
|
1154
|
-
children: /* @__PURE__ */
|
|
1161
|
+
children: /* @__PURE__ */ n(z, { name: i ? "check" : "copy", size: 14 })
|
|
1155
1162
|
}
|
|
1156
1163
|
)
|
|
1157
1164
|
] })
|
|
1158
1165
|
] }) });
|
|
1159
|
-
}, or = ({ actions: e }) => e.length === 0 ? /* @__PURE__ */
|
|
1160
|
-
/* @__PURE__ */
|
|
1161
|
-
/* @__PURE__ */
|
|
1162
|
-
] }) : /* @__PURE__ */
|
|
1163
|
-
/* @__PURE__ */
|
|
1164
|
-
/* @__PURE__ */
|
|
1165
|
-
/* @__PURE__ */
|
|
1166
|
-
/* @__PURE__ */
|
|
1167
|
-
/* @__PURE__ */
|
|
1166
|
+
}, or = ({ actions: e }) => e.length === 0 ? /* @__PURE__ */ n("div", { className: "h-full flex flex-col items-center justify-center text-slate-600", children: [
|
|
1167
|
+
/* @__PURE__ */ n(z, { size: 32, name: "play", className: "mb-2 opacity-20" }),
|
|
1168
|
+
/* @__PURE__ */ n("p", { children: "No actions recorded yet" })
|
|
1169
|
+
] }) : /* @__PURE__ */ n("div", { className: "h-full overflow-y-auto", children: /* @__PURE__ */ n("table", { className: "w-full text-left border-collapse", children: [
|
|
1170
|
+
/* @__PURE__ */ n("thead", { className: "bg-slate-900 sticky top-0 z-10", children: /* @__PURE__ */ n("tr", { children: [
|
|
1171
|
+
/* @__PURE__ */ n("th", { className: "px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800", children: "Time" }),
|
|
1172
|
+
/* @__PURE__ */ n("th", { className: "px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800", children: "Store" }),
|
|
1173
|
+
/* @__PURE__ */ n("th", { className: "px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800", children: "Action" }),
|
|
1174
|
+
/* @__PURE__ */ n("th", { className: "px-4 py-2 text-xs font-semibold text-slate-500 uppercase tracking-wider border-b border-slate-800", children: "Payload" })
|
|
1168
1175
|
] }) }),
|
|
1169
|
-
/* @__PURE__ */
|
|
1176
|
+
/* @__PURE__ */ n("tbody", { className: "divide-y divide-slate-800/50", children: e.map((t) => /* @__PURE__ */ n(
|
|
1170
1177
|
"tr",
|
|
1171
1178
|
{
|
|
1172
1179
|
className: "hover:bg-slate-900/50 transition-colors",
|
|
1173
1180
|
children: [
|
|
1174
|
-
/* @__PURE__ */
|
|
1181
|
+
/* @__PURE__ */ n("td", { className: "px-4 py-3 text-xs text-slate-500 font-mono whitespace-nowrap", children: new Date(
|
|
1175
1182
|
t.timestamp
|
|
1176
1183
|
).toLocaleTimeString() }),
|
|
1177
|
-
/* @__PURE__ */
|
|
1178
|
-
/* @__PURE__ */
|
|
1179
|
-
/* @__PURE__ */
|
|
1184
|
+
/* @__PURE__ */ n("td", { className: "px-4 py-3 text-sm font-medium text-slate-200", children: t.storeName }),
|
|
1185
|
+
/* @__PURE__ */ n("td", { className: "px-4 py-3 text-sm text-cyan-400 font-mono", children: t.actionName }),
|
|
1186
|
+
/* @__PURE__ */ n(ir, { args: t.args })
|
|
1180
1187
|
]
|
|
1181
1188
|
},
|
|
1182
1189
|
t.id
|
|
1183
1190
|
)) })
|
|
1184
|
-
] }) }), lr = "2.0.0-beta.
|
|
1191
|
+
] }) }), lr = "2.0.0-beta.9", ar = {
|
|
1185
1192
|
version: lr
|
|
1186
1193
|
};
|
|
1187
|
-
function
|
|
1188
|
-
const [e, t] =
|
|
1194
|
+
function nr() {
|
|
1195
|
+
const [e, t] = D(!1), [r, i] = D(""), [l, o] = D(
|
|
1189
1196
|
"inspector"
|
|
1190
|
-
), { stores:
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1197
|
+
), { stores: s, actions: c, selectedStore: p, setSelectedStore: d } = Ft(), x = Object.keys(s).filter(
|
|
1198
|
+
(f) => f.toLowerCase().includes(r.toLowerCase())
|
|
1199
|
+
), a = c.length, u = ar.version;
|
|
1200
|
+
return e ? /* @__PURE__ */ n("div", { className: "fixed bottom-6 right-6 w-[92vw] max-w-[980px] h-[80vh] md:h-[600px] bg-[#0f172a] shadow-2xl border border-slate-800 rounded-xl flex flex-col z-[9999] overflow-hidden", children: [
|
|
1201
|
+
/* @__PURE__ */ n("header", { className: "flex items-center justify-between px-4 py-3 border-b border-slate-800 bg-[rgba(255,255,255,0.02)]", children: [
|
|
1202
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-3", children: [
|
|
1203
|
+
/* @__PURE__ */ n(
|
|
1195
1204
|
"img",
|
|
1196
1205
|
{
|
|
1197
1206
|
src: Ye,
|
|
1198
1207
|
alt: "Quanta DevTools",
|
|
1199
|
-
className: "w-
|
|
1208
|
+
className: "w-10 h-10 rounded-full"
|
|
1200
1209
|
}
|
|
1201
1210
|
),
|
|
1202
|
-
/* @__PURE__ */
|
|
1203
|
-
/* @__PURE__ */
|
|
1204
|
-
/* @__PURE__ */
|
|
1211
|
+
/* @__PURE__ */ n("div", { children: [
|
|
1212
|
+
/* @__PURE__ */ n("div", { className: "text-sm font-semibold text-[rgba(56,178,172,1)]", children: "QuantaJS DevTools" }),
|
|
1213
|
+
/* @__PURE__ */ n("div", { className: "text-xs text-slate-400", children: "Inspect stores, replay actions & manage persistence" })
|
|
1205
1214
|
] })
|
|
1206
1215
|
] }),
|
|
1207
|
-
/* @__PURE__ */
|
|
1208
|
-
/* @__PURE__ */
|
|
1209
|
-
/* @__PURE__ */
|
|
1216
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-3", children: [
|
|
1217
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-2 bg-slate-900/30 px-2 py-1 rounded", children: [
|
|
1218
|
+
/* @__PURE__ */ n(
|
|
1210
1219
|
"button",
|
|
1211
1220
|
{
|
|
1212
|
-
className: `px-3 py-1 text-xs uppercase tracking-wider rounded ${
|
|
1213
|
-
onClick: () =>
|
|
1221
|
+
className: `px-3 py-1 text-xs uppercase tracking-wider rounded ${l === "inspector" ? "text-[rgba(56,178,172,1)] bg-slate-800/40 border border-slate-400" : "text-slate-400 hover:text-slate-200 bg-transparent"}`,
|
|
1222
|
+
onClick: () => o("inspector"),
|
|
1214
1223
|
children: "Inspector"
|
|
1215
1224
|
}
|
|
1216
1225
|
),
|
|
1217
|
-
/* @__PURE__ */
|
|
1226
|
+
/* @__PURE__ */ n(
|
|
1218
1227
|
"button",
|
|
1219
1228
|
{
|
|
1220
|
-
className: `px-3 py-1 text-xs uppercase tracking-wider rounded ${
|
|
1221
|
-
onClick: () =>
|
|
1229
|
+
className: `px-3 py-1 text-xs uppercase tracking-wider rounded ${l === "actions" ? "text-[rgba(56,178,172,1)] bg-slate-800/40 border border-slate-400" : "text-slate-400 hover:text-slate-200 bg-transparent"}`,
|
|
1230
|
+
onClick: () => o("actions"),
|
|
1222
1231
|
children: [
|
|
1223
1232
|
"Actions (",
|
|
1224
|
-
|
|
1233
|
+
a,
|
|
1225
1234
|
")"
|
|
1226
1235
|
]
|
|
1227
1236
|
}
|
|
1228
1237
|
)
|
|
1229
1238
|
] }),
|
|
1230
|
-
/* @__PURE__ */
|
|
1239
|
+
/* @__PURE__ */ n(
|
|
1231
1240
|
"button",
|
|
1232
1241
|
{
|
|
1233
1242
|
onClick: () => t(!1),
|
|
1234
1243
|
className: "p-1 bg-transparent rounded-full transition text-red-500 hover:text-red-600",
|
|
1235
1244
|
title: "Close",
|
|
1236
|
-
children: /* @__PURE__ */
|
|
1245
|
+
children: /* @__PURE__ */ n(z, { name: "circle-x", size: 24 })
|
|
1237
1246
|
}
|
|
1238
1247
|
)
|
|
1239
1248
|
] })
|
|
1240
1249
|
] }),
|
|
1241
|
-
/* @__PURE__ */
|
|
1242
|
-
/* @__PURE__ */
|
|
1243
|
-
/* @__PURE__ */
|
|
1244
|
-
/* @__PURE__ */
|
|
1245
|
-
|
|
1250
|
+
/* @__PURE__ */ n("div", { className: "flex flex-1 overflow-hidden", children: [
|
|
1251
|
+
/* @__PURE__ */ n("aside", { className: "w-56 border-r border-slate-800 p-3 flex flex-col gap-3", children: [
|
|
1252
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: [
|
|
1253
|
+
/* @__PURE__ */ n(
|
|
1254
|
+
z,
|
|
1246
1255
|
{
|
|
1247
1256
|
name: "search",
|
|
1248
|
-
size:
|
|
1249
|
-
className: "text-slate-400"
|
|
1257
|
+
size: 18,
|
|
1258
|
+
className: "text-slate-400 flex-shrink-0"
|
|
1250
1259
|
}
|
|
1251
1260
|
),
|
|
1252
|
-
/* @__PURE__ */
|
|
1261
|
+
/* @__PURE__ */ n(
|
|
1253
1262
|
"input",
|
|
1254
1263
|
{
|
|
1255
|
-
placeholder: "Filter
|
|
1264
|
+
placeholder: "Filter stores...",
|
|
1256
1265
|
className: "p-1 flex-1 bg-transparent rounded-md outline-none text-sm text-slate-200 placeholder:text-slate-500",
|
|
1257
|
-
onInput: (
|
|
1258
|
-
|
|
1266
|
+
onInput: (f) => i(f.target.value),
|
|
1267
|
+
type: "search",
|
|
1268
|
+
value: r
|
|
1259
1269
|
}
|
|
1260
1270
|
)
|
|
1261
1271
|
] }),
|
|
1262
|
-
/* @__PURE__ */
|
|
1272
|
+
/* @__PURE__ */ n("div", { className: "flex-1 overflow-auto", children: Object.keys(s).length === 0 ? /* @__PURE__ */ n("div", { className: "text-xs text-slate-500", children: "No stores detected" }) : x.length === 0 ? /* @__PURE__ */ n("div", { className: "text-xs text-slate-500", children: [
|
|
1273
|
+
'No stores match "',
|
|
1274
|
+
r,
|
|
1275
|
+
'"'
|
|
1276
|
+
] }) : x.map((f) => /* @__PURE__ */ n(
|
|
1263
1277
|
"button",
|
|
1264
1278
|
{
|
|
1265
|
-
onClick: () =>
|
|
1266
|
-
className: `w-full mb-1 text-left px-3 py-2 rounded-md flex items-center gap-2 transition ${
|
|
1267
|
-
title:
|
|
1279
|
+
onClick: () => d(f),
|
|
1280
|
+
className: `w-full mb-1 text-left px-3 py-2 rounded-md flex items-center gap-2 transition ${p === f ? "text-[rgba(56,178,172,1)] hover:text-slate-100 bg-[rgba(255,255,255,0.02)]" : "text-slate-400 hover:text-slate-200 bg-transparent"}`,
|
|
1281
|
+
title: f,
|
|
1268
1282
|
children: [
|
|
1269
|
-
/* @__PURE__ */
|
|
1270
|
-
|
|
1283
|
+
/* @__PURE__ */ n(
|
|
1284
|
+
z,
|
|
1271
1285
|
{
|
|
1272
1286
|
name: "database",
|
|
1273
|
-
size:
|
|
1274
|
-
className: "text-slate-400"
|
|
1287
|
+
size: 16,
|
|
1288
|
+
className: "text-slate-400 flex-shrink-0"
|
|
1275
1289
|
}
|
|
1276
|
-
)
|
|
1277
|
-
/* @__PURE__ */
|
|
1290
|
+
),
|
|
1291
|
+
/* @__PURE__ */ n("div", { className: "flex-1 text-sm truncate", children: f })
|
|
1278
1292
|
]
|
|
1279
1293
|
},
|
|
1280
|
-
|
|
1294
|
+
f
|
|
1281
1295
|
)) }),
|
|
1282
|
-
/* @__PURE__ */
|
|
1283
|
-
/* @__PURE__ */
|
|
1284
|
-
|
|
1285
|
-
|
|
1296
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-2 text-xs text-slate-500", children: [
|
|
1297
|
+
/* @__PURE__ */ n("div", { className: "flex-1", children: [
|
|
1298
|
+
x.length,
|
|
1299
|
+
r ? `/${Object.keys(s).length}` : "",
|
|
1300
|
+
" ",
|
|
1301
|
+
x.length === 1 ? "store" : "stores"
|
|
1286
1302
|
] }),
|
|
1287
|
-
/* @__PURE__ */
|
|
1303
|
+
/* @__PURE__ */ n("div", { className: "text-right", children: [
|
|
1288
1304
|
"v",
|
|
1289
|
-
|
|
1305
|
+
u
|
|
1290
1306
|
] })
|
|
1291
1307
|
] })
|
|
1292
1308
|
] }),
|
|
1293
|
-
/* @__PURE__ */
|
|
1309
|
+
/* @__PURE__ */ n("main", { className: "flex-1 overflow-auto space-y-4", children: l === "inspector" ? /* @__PURE__ */ n(
|
|
1294
1310
|
rr,
|
|
1295
1311
|
{
|
|
1296
|
-
stores:
|
|
1297
|
-
selectedStore:
|
|
1312
|
+
stores: s,
|
|
1313
|
+
selectedStore: p,
|
|
1298
1314
|
onClose: () => t(!1)
|
|
1299
1315
|
}
|
|
1300
|
-
) : /* @__PURE__ */
|
|
1316
|
+
) : /* @__PURE__ */ n(or, { actions: c }) })
|
|
1301
1317
|
] })
|
|
1302
|
-
] }) : /* @__PURE__ */
|
|
1318
|
+
] }) : /* @__PURE__ */ n(
|
|
1303
1319
|
"button",
|
|
1304
1320
|
{
|
|
1305
1321
|
onClick: () => t(!0),
|
|
1306
|
-
|
|
1322
|
+
style: {
|
|
1323
|
+
position: "fixed",
|
|
1324
|
+
bottom: "24px",
|
|
1325
|
+
right: "24px",
|
|
1326
|
+
display: "flex",
|
|
1327
|
+
alignItems: "center",
|
|
1328
|
+
background: "#000",
|
|
1329
|
+
color: "#fff",
|
|
1330
|
+
boxShadow: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
|
|
1331
|
+
border: "1px solid rgb(51 65 85)",
|
|
1332
|
+
borderRadius: "9999px",
|
|
1333
|
+
overflow: "hidden",
|
|
1334
|
+
transition: "all 300ms ease-out",
|
|
1335
|
+
zIndex: "9999",
|
|
1336
|
+
width: "48px",
|
|
1337
|
+
height: "48px",
|
|
1338
|
+
cursor: "pointer",
|
|
1339
|
+
padding: "0",
|
|
1340
|
+
paddingLeft: "4px"
|
|
1341
|
+
},
|
|
1342
|
+
onMouseEnter: (f) => {
|
|
1343
|
+
f.currentTarget.style.width = "200px";
|
|
1344
|
+
},
|
|
1345
|
+
onMouseLeave: (f) => {
|
|
1346
|
+
f.currentTarget.style.width = "48px";
|
|
1347
|
+
},
|
|
1307
1348
|
title: "Open Quanta DevTools",
|
|
1308
1349
|
children: [
|
|
1309
|
-
/* @__PURE__ */
|
|
1350
|
+
/* @__PURE__ */ n("div", { style: {
|
|
1351
|
+
width: "40px",
|
|
1352
|
+
height: "40px",
|
|
1353
|
+
display: "flex",
|
|
1354
|
+
alignItems: "center",
|
|
1355
|
+
justifyContent: "center",
|
|
1356
|
+
textAlign: "center",
|
|
1357
|
+
flexShrink: "0"
|
|
1358
|
+
}, children: /* @__PURE__ */ n(
|
|
1310
1359
|
"img",
|
|
1311
1360
|
{
|
|
1312
1361
|
src: Ye,
|
|
1313
1362
|
alt: "Quanta DevTools",
|
|
1314
|
-
|
|
1363
|
+
style: {
|
|
1364
|
+
width: "40px",
|
|
1365
|
+
height: "40px",
|
|
1366
|
+
borderRadius: "9999px",
|
|
1367
|
+
objectFit: "cover"
|
|
1368
|
+
}
|
|
1315
1369
|
}
|
|
1316
1370
|
) }),
|
|
1317
|
-
/* @__PURE__ */
|
|
1371
|
+
/* @__PURE__ */ n("span", { style: {
|
|
1372
|
+
whiteSpace: "nowrap",
|
|
1373
|
+
fontSize: "14px",
|
|
1374
|
+
fontWeight: "500",
|
|
1375
|
+
color: "rgba(56,178,172,1)",
|
|
1376
|
+
marginLeft: "8px"
|
|
1377
|
+
}, children: "QuantaJS DevTools" })
|
|
1318
1378
|
]
|
|
1319
1379
|
}
|
|
1320
1380
|
);
|
|
1321
1381
|
}
|
|
1322
|
-
const nr = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1)}.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-\\[80vh\\]{height:80vh}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing)*48)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-56{width:calc(var(--spacing)*56)}.w-\\[92vw\\]{width:92vw}.w-full{width:100%}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[980px\\]{max-width:980px}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/50>:not(:last-child)){border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-green-400\\/20{border-color:#05df7233}@supports (color:color-mix(in lab,red,red)){.border-green-400\\/20{border-color:color-mix(in oklab,var(--color-green-400)20%,transparent)}}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/50{border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-\\[rgba\\(255\\,255\\,255\\,0\\.02\\)\\]{background-color:#ffffff05}.bg-black{background-color:var(--color-black)}.bg-green-400{background-color:var(--color-green-400)}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\\/40{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/40{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/30{background-color:#0f172b4d}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/30{background-color:color-mix(in oklab,var(--color-slate-900)30%,transparent)}}.bg-slate-900\\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/50{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\\[\\#071123\\]{--tw-gradient-from:#071123;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\\[\\#0b1220\\]{--tw-gradient-to:#0b1220;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[rgba\\(56\\,178\\,172\\,1\\)\\]{color:#38b2ac}.text-blue-400{color:var(--color-blue-400)}.text-cyan-400{color:var(--color-cyan-400)}.text-green-400{color:var(--color-green-400)}.text-green-600{color:var(--color-green-600)}.text-purple-400{color:var(--color-purple-400)}.text-red-500{color:var(--color-red-500)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-white{color:var(--color-white)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_6px_rgba\\(74\\,222\\,128\\,0\\.5\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,#4ade8080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-slate-500::placeholder{color:var(--color-slate-500)}@media(hover:hover){.hover\\:w-46:hover{width:calc(var(--spacing)*46)}.hover\\:border-red-500\\/30:hover{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-red-500\\/30:hover{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.hover\\:bg-red-500\\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-slate-900\\/50:hover{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-900\\/50:hover{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.hover\\:text-cyan-300:hover{color:var(--color-cyan-300)}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-white:hover{color:var(--color-white)}}@media(min-width:48rem){.md\\:h-\\[600px\\]{height:600px}}@media(prefers-color-scheme:dark){.dark\\:text-green-400{color:var(--color-green-400)}}.quanta-devtools-root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.quanta-devtools-root ::-webkit-scrollbar{width:6px;height:6px}.quanta-devtools-root ::-webkit-scrollbar-track{background:#0f172a80}.quanta-devtools-root ::-webkit-scrollbar-thumb{background:#38b2ac;border-radius:3px}.quanta-devtools-root ::-webkit-scrollbar-thumb:hover{background:#2c7a7b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}';
|
|
1382
|
+
const cr = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-cyan-300:oklch(86.5% .127 207.078);--color-cyan-400:oklch(78.9% .154 211.53);--color-blue-400:oklch(70.7% .165 254.624);--color-purple-400:oklch(71.4% .203 305.504);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1;color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentColor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.right-6{right:calc(var(--spacing)*6)}.bottom-6{bottom:calc(var(--spacing)*6)}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.flex{display:flex}.hidden{display:none}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-10{height:calc(var(--spacing)*10)}.h-\\[80vh\\]{height:80vh}.h-full{height:100%}.max-h-48{max-height:calc(var(--spacing)*48)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-10{width:calc(var(--spacing)*10)}.w-56{width:calc(var(--spacing)*56)}.w-\\[92vw\\]{width:92vw}.w-full{width:100%}.max-w-\\[200px\\]{max-width:200px}.max-w-\\[980px\\]{max-width:980px}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-800\\/50>:not(:last-child)){border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){:where(.divide-slate-800\\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-green-400\\/20{border-color:#05df7233}@supports (color:color-mix(in lab,red,red)){.border-green-400\\/20{border-color:color-mix(in oklab,var(--color-green-400)20%,transparent)}}.border-slate-400{border-color:var(--color-slate-400)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\\/50{border-color:#1d293d80}@supports (color:color-mix(in lab,red,red)){.border-slate-800\\/50{border-color:color-mix(in oklab,var(--color-slate-800)50%,transparent)}}.bg-\\[\\#0f172a\\]{background-color:#0f172a}.bg-\\[rgba\\(255\\,255\\,255\\,0\\.02\\)\\]{background-color:#ffffff05}.bg-green-400{background-color:var(--color-green-400)}.bg-green-400\\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-slate-500{background-color:var(--color-slate-500)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\\/40{background-color:#1d293d66}@supports (color:color-mix(in lab,red,red)){.bg-slate-800\\/40{background-color:color-mix(in oklab,var(--color-slate-800)40%,transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\\/30{background-color:#0f172b4d}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/30{background-color:color-mix(in oklab,var(--color-slate-900)30%,transparent)}}.bg-slate-900\\/50{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/50{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-transparent{background-color:#0000}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.pt-2{padding-top:calc(var(--spacing)*2)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[rgba\\(56\\,178\\,172\\,1\\)\\]{color:#38b2ac}.text-blue-400{color:var(--color-blue-400)}.text-cyan-400{color:var(--color-cyan-400)}.text-green-400{color:var(--color-green-400)}.text-green-600{color:var(--color-green-600)}.text-purple-400{color:var(--color-purple-400)}.text-red-500{color:var(--color-red-500)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-yellow-400{color:var(--color-yellow-400)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-20{opacity:.2}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_6px_rgba\\(74\\,222\\,128\\,0\\.5\\)\\]{--tw-shadow:0 0 6px var(--tw-shadow-color,#4ade8080);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.placeholder\\:text-slate-500::placeholder{color:var(--color-slate-500)}@media(hover:hover){.hover\\:border-red-500\\/30:hover{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.hover\\:border-red-500\\/30:hover{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.hover\\:bg-red-500\\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-red-500\\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\\:bg-slate-800:hover{background-color:var(--color-slate-800)}.hover\\:bg-slate-900\\/50:hover{background-color:#0f172b80}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-slate-900\\/50:hover{background-color:color-mix(in oklab,var(--color-slate-900)50%,transparent)}}.hover\\:text-cyan-300:hover{color:var(--color-cyan-300)}.hover\\:text-cyan-400:hover{color:var(--color-cyan-400)}.hover\\:text-red-400:hover{color:var(--color-red-400)}.hover\\:text-red-600:hover{color:var(--color-red-600)}.hover\\:text-slate-100:hover{color:var(--color-slate-100)}.hover\\:text-slate-200:hover{color:var(--color-slate-200)}.hover\\:text-slate-300:hover{color:var(--color-slate-300)}.hover\\:text-white:hover{color:var(--color-white)}}@media(min-width:48rem){.md\\:h-\\[600px\\]{height:600px}}@media(prefers-color-scheme:dark){.dark\\:text-green-400{color:var(--color-green-400)}}}:host{all:initial;color:#e2e8f0;background:#0f172a;font-family:ui-monospace,SF Mono,Cascadia Code,Source Code Pro,Menlo,Consolas,DejaVu Sans Mono,monospace;display:block}*{box-sizing:border-box}.quanta-devtools-root ::-webkit-scrollbar{width:6px;height:6px}.quanta-devtools-root ::-webkit-scrollbar-track{background:#0f172a80}.quanta-devtools-root ::-webkit-scrollbar-thumb{background:#38b2acb3;border-radius:3px}.quanta-devtools-root ::-webkit-scrollbar-thumb:hover{background:#2c7a7b}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ease{syntax:"*";inherits:false}';
|
|
1323
1383
|
function sr() {
|
|
1324
1384
|
return !!(typeof process < "u" && process.env && process.env.NODE_ENV === "development");
|
|
1325
1385
|
}
|
|
@@ -1328,17 +1388,18 @@ function hr(e = {}) {
|
|
|
1328
1388
|
if (!(r !== void 0 ? r : sr()))
|
|
1329
1389
|
return () => {
|
|
1330
1390
|
};
|
|
1331
|
-
|
|
1332
|
-
const o = document.createElement("style");
|
|
1333
|
-
o.id = "quanta-devtools-styles", o.innerHTML = nr, document.head.appendChild(o);
|
|
1334
|
-
}
|
|
1391
|
+
console.log("[Quanta DevTools] Mounting...");
|
|
1335
1392
|
let i;
|
|
1336
1393
|
if (typeof t == "string" ? i = document.querySelector(t) : i = t, !i)
|
|
1337
1394
|
return console.error("[Quanta DevTools] Target element not found"), () => {
|
|
1338
1395
|
};
|
|
1339
1396
|
const l = document.createElement("div");
|
|
1340
|
-
|
|
1341
|
-
|
|
1397
|
+
l.id = "quanta-devtools-shadow-host";
|
|
1398
|
+
const o = l.attachShadow({ mode: "open" }), s = document.createElement("style");
|
|
1399
|
+
s.textContent = cr, o.appendChild(s);
|
|
1400
|
+
const c = document.createElement("div");
|
|
1401
|
+
return c.className = "quanta-devtools-root", o.appendChild(c), i.appendChild(l), Fe(J(nr, {}), c), () => {
|
|
1402
|
+
Fe(null, c), l.remove();
|
|
1342
1403
|
};
|
|
1343
1404
|
}
|
|
1344
1405
|
const yr = ({ visible: e }) => (wt(() => hr({ visible: e }), [e]), null);
|
|
@@ -1347,11 +1408,11 @@ export {
|
|
|
1347
1408
|
yr as QuantaDevTools,
|
|
1348
1409
|
xr as QuantaProvider,
|
|
1349
1410
|
wr as computed,
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1411
|
+
mr as createStore,
|
|
1412
|
+
br as logger,
|
|
1413
|
+
vr as reactive,
|
|
1353
1414
|
ur as useCreateStore,
|
|
1354
|
-
|
|
1415
|
+
vt as useQuantaContext,
|
|
1355
1416
|
Re as useQuantaStore,
|
|
1356
1417
|
pr as useStore,
|
|
1357
1418
|
kr as watch
|