@tanstack/query-devtools 5.67.2 → 5.71.3
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/build/DevtoolsComponent/{J3FDRF32.js → CPIOZS5X.js} +3 -4
- package/build/DevtoolsComponent/{VONRGPZ6.js → SUXNJKMM.js} +3 -4
- package/build/DevtoolsPanelComponent/{2QQPFIXG.js → LDUQ2GE4.js} +3 -4
- package/build/DevtoolsPanelComponent/{3VW64HDT.js → OKF6E45R.js} +3 -4
- package/build/chunk/{67EVQ76A.js → DZBXNQB4.js} +73 -102
- package/build/chunk/{4F76KWFD.js → HR7YXZ5H.js} +237 -418
- package/build/chunk/{YIUCDINQ.js → V5T5VJKG.js} +237 -418
- package/build/chunk/{TBLV65XX.js → WXAWMS3D.js} +72 -103
- package/build/dev.cjs +362 -575
- package/build/dev.js +3 -3
- package/build/index.cjs +362 -575
- package/build/index.d.cts +9 -5
- package/build/index.d.ts +9 -5
- package/build/index.js +3 -3
- package/package.json +4 -4
package/build/dev.cjs
CHANGED
|
@@ -10,7 +10,7 @@ var __export = (target, all) => {
|
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
13
|
+
// ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
|
|
14
14
|
function getContextId(count) {
|
|
15
15
|
const num = String(count), len = num.length - 1;
|
|
16
16
|
return sharedConfig.context.id + (len ? String.fromCharCode(96 + len) : "") + num;
|
|
@@ -51,10 +51,8 @@ function createSignal(value, options) {
|
|
|
51
51
|
};
|
|
52
52
|
const setter = (value2) => {
|
|
53
53
|
if (typeof value2 === "function") {
|
|
54
|
-
if (Transition && Transition.running && Transition.sources.has(s2))
|
|
55
|
-
|
|
56
|
-
else
|
|
57
|
-
value2 = value2(s2.value);
|
|
54
|
+
if (Transition && Transition.running && Transition.sources.has(s2)) value2 = value2(s2.tValue);
|
|
55
|
+
else value2 = value2(s2.value);
|
|
58
56
|
}
|
|
59
57
|
return writeSignal(s2, value2);
|
|
60
58
|
};
|
|
@@ -62,25 +60,19 @@ function createSignal(value, options) {
|
|
|
62
60
|
}
|
|
63
61
|
function createComputed(fn, value, options) {
|
|
64
62
|
const c2 = createComputation(fn, value, true, STALE);
|
|
65
|
-
if (Scheduler && Transition && Transition.running)
|
|
66
|
-
|
|
67
|
-
else
|
|
68
|
-
updateComputation(c2);
|
|
63
|
+
if (Scheduler && Transition && Transition.running) Updates.push(c2);
|
|
64
|
+
else updateComputation(c2);
|
|
69
65
|
}
|
|
70
66
|
function createRenderEffect(fn, value, options) {
|
|
71
67
|
const c2 = createComputation(fn, value, false, STALE);
|
|
72
|
-
if (Scheduler && Transition && Transition.running)
|
|
73
|
-
|
|
74
|
-
else
|
|
75
|
-
updateComputation(c2);
|
|
68
|
+
if (Scheduler && Transition && Transition.running) Updates.push(c2);
|
|
69
|
+
else updateComputation(c2);
|
|
76
70
|
}
|
|
77
71
|
function createEffect(fn, value, options) {
|
|
78
72
|
runEffects = runUserEffects;
|
|
79
73
|
const c2 = createComputation(fn, value, false, STALE), s2 = SuspenseContext && useContext(SuspenseContext);
|
|
80
|
-
if (s2)
|
|
81
|
-
|
|
82
|
-
if (!options || !options.render)
|
|
83
|
-
c2.user = true;
|
|
74
|
+
if (s2) c2.suspense = s2;
|
|
75
|
+
if (!options || !options.render) c2.user = true;
|
|
84
76
|
Effects ? Effects.push(c2) : updateComputation(c2);
|
|
85
77
|
}
|
|
86
78
|
function createMemo(fn, value, options) {
|
|
@@ -92,8 +84,7 @@ function createMemo(fn, value, options) {
|
|
|
92
84
|
if (Scheduler && Transition && Transition.running) {
|
|
93
85
|
c2.tState = STALE;
|
|
94
86
|
Updates.push(c2);
|
|
95
|
-
} else
|
|
96
|
-
updateComputation(c2);
|
|
87
|
+
} else updateComputation(c2);
|
|
97
88
|
return readSignal.bind(c2);
|
|
98
89
|
}
|
|
99
90
|
function isPromise(v) {
|
|
@@ -114,10 +105,8 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
114
105
|
}), [state, setState] = createSignal(resolved ? "ready" : "unresolved");
|
|
115
106
|
if (sharedConfig.context) {
|
|
116
107
|
id = sharedConfig.getNextContextId();
|
|
117
|
-
if (options.ssrLoadFrom === "initial")
|
|
118
|
-
|
|
119
|
-
else if (sharedConfig.load && sharedConfig.has(id))
|
|
120
|
-
initP = sharedConfig.load(id);
|
|
108
|
+
if (options.ssrLoadFrom === "initial") initP = options.initialValue;
|
|
109
|
+
else if (sharedConfig.load && sharedConfig.has(id)) initP = sharedConfig.load(id);
|
|
121
110
|
}
|
|
122
111
|
function loadEnd(p2, v, error2, key) {
|
|
123
112
|
if (pr === p2) {
|
|
@@ -137,32 +126,27 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
137
126
|
Transition.running = true;
|
|
138
127
|
completeLoad(v, error2);
|
|
139
128
|
}, false);
|
|
140
|
-
} else
|
|
141
|
-
completeLoad(v, error2);
|
|
129
|
+
} else completeLoad(v, error2);
|
|
142
130
|
}
|
|
143
131
|
return v;
|
|
144
132
|
}
|
|
145
133
|
function completeLoad(v, err) {
|
|
146
134
|
runUpdates(() => {
|
|
147
|
-
if (err === void 0)
|
|
148
|
-
setValue(() => v);
|
|
135
|
+
if (err === void 0) setValue(() => v);
|
|
149
136
|
setState(err !== void 0 ? "errored" : resolved ? "ready" : "unresolved");
|
|
150
137
|
setError(err);
|
|
151
|
-
for (const c2 of contexts.keys())
|
|
152
|
-
c2.decrement();
|
|
138
|
+
for (const c2 of contexts.keys()) c2.decrement();
|
|
153
139
|
contexts.clear();
|
|
154
140
|
}, false);
|
|
155
141
|
}
|
|
156
142
|
function read() {
|
|
157
143
|
const c2 = SuspenseContext && useContext(SuspenseContext), v = value(), err = error();
|
|
158
|
-
if (err !== void 0 && !pr)
|
|
159
|
-
throw err;
|
|
144
|
+
if (err !== void 0 && !pr) throw err;
|
|
160
145
|
if (Listener && !Listener.user && c2) {
|
|
161
146
|
createComputed(() => {
|
|
162
147
|
track();
|
|
163
148
|
if (pr) {
|
|
164
|
-
if (c2.resolved && Transition && loadedUnderTransition)
|
|
165
|
-
Transition.promises.add(pr);
|
|
149
|
+
if (c2.resolved && Transition && loadedUnderTransition) Transition.promises.add(pr);
|
|
166
150
|
else if (!contexts.has(c2)) {
|
|
167
151
|
c2.increment();
|
|
168
152
|
contexts.add(c2);
|
|
@@ -173,8 +157,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
173
157
|
return v;
|
|
174
158
|
}
|
|
175
159
|
function load(refetching = true) {
|
|
176
|
-
if (refetching !== false && scheduled)
|
|
177
|
-
return;
|
|
160
|
+
if (refetching !== false && scheduled) return;
|
|
178
161
|
scheduled = false;
|
|
179
162
|
const lookup = dynamic ? dynamic() : source;
|
|
180
163
|
loadedUnderTransition = Transition && Transition.running;
|
|
@@ -182,8 +165,7 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
182
165
|
loadEnd(pr, untrack(value));
|
|
183
166
|
return;
|
|
184
167
|
}
|
|
185
|
-
if (Transition && pr)
|
|
186
|
-
Transition.promises.delete(pr);
|
|
168
|
+
if (Transition && pr) Transition.promises.delete(pr);
|
|
187
169
|
const p2 = initP !== NO_INIT ? initP : untrack(
|
|
188
170
|
() => fetcher(lookup, {
|
|
189
171
|
value: value(),
|
|
@@ -196,10 +178,8 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
196
178
|
}
|
|
197
179
|
pr = p2;
|
|
198
180
|
if ("value" in p2) {
|
|
199
|
-
if (p2.status === "success")
|
|
200
|
-
|
|
201
|
-
else
|
|
202
|
-
loadEnd(pr, void 0, castError(p2.value), lookup);
|
|
181
|
+
if (p2.status === "success") loadEnd(pr, p2.value, void 0, lookup);
|
|
182
|
+
else loadEnd(pr, void 0, castError(p2.value), lookup);
|
|
203
183
|
return p2;
|
|
204
184
|
}
|
|
205
185
|
scheduled = true;
|
|
@@ -228,19 +208,15 @@ function createResource(pSource, pFetcher, pOptions) {
|
|
|
228
208
|
},
|
|
229
209
|
latest: {
|
|
230
210
|
get() {
|
|
231
|
-
if (!resolved)
|
|
232
|
-
return read();
|
|
211
|
+
if (!resolved) return read();
|
|
233
212
|
const err = error();
|
|
234
|
-
if (err && !pr)
|
|
235
|
-
throw err;
|
|
213
|
+
if (err && !pr) throw err;
|
|
236
214
|
return value();
|
|
237
215
|
}
|
|
238
216
|
}
|
|
239
217
|
});
|
|
240
|
-
if (dynamic)
|
|
241
|
-
|
|
242
|
-
else
|
|
243
|
-
load(false);
|
|
218
|
+
if (dynamic) createComputed(() => load(false));
|
|
219
|
+
else load(false);
|
|
244
220
|
return [
|
|
245
221
|
read,
|
|
246
222
|
{
|
|
@@ -253,13 +229,11 @@ function batch(fn) {
|
|
|
253
229
|
return runUpdates(fn, false);
|
|
254
230
|
}
|
|
255
231
|
function untrack(fn) {
|
|
256
|
-
if (!ExternalSourceConfig && Listener === null)
|
|
257
|
-
return fn();
|
|
232
|
+
if (!ExternalSourceConfig && Listener === null) return fn();
|
|
258
233
|
const listener = Listener;
|
|
259
234
|
Listener = null;
|
|
260
235
|
try {
|
|
261
|
-
if (ExternalSourceConfig)
|
|
262
|
-
return ExternalSourceConfig.untrack(fn);
|
|
236
|
+
if (ExternalSourceConfig) return ExternalSourceConfig.untrack(fn);
|
|
263
237
|
return fn();
|
|
264
238
|
} finally {
|
|
265
239
|
Listener = listener;
|
|
@@ -273,10 +247,8 @@ function on(deps, fn, options) {
|
|
|
273
247
|
let input;
|
|
274
248
|
if (isArray3) {
|
|
275
249
|
input = Array(deps.length);
|
|
276
|
-
for (let i2 = 0; i2 < deps.length; i2++)
|
|
277
|
-
|
|
278
|
-
} else
|
|
279
|
-
input = deps();
|
|
250
|
+
for (let i2 = 0; i2 < deps.length; i2++) input[i2] = deps[i2]();
|
|
251
|
+
} else input = deps();
|
|
280
252
|
if (defer2) {
|
|
281
253
|
defer2 = false;
|
|
282
254
|
return prevValue;
|
|
@@ -290,12 +262,9 @@ function onMount(fn) {
|
|
|
290
262
|
createEffect(() => untrack(fn));
|
|
291
263
|
}
|
|
292
264
|
function onCleanup(fn) {
|
|
293
|
-
if (Owner === null)
|
|
294
|
-
|
|
295
|
-
else
|
|
296
|
-
Owner.cleanups = [fn];
|
|
297
|
-
else
|
|
298
|
-
Owner.cleanups.push(fn);
|
|
265
|
+
if (Owner === null) ;
|
|
266
|
+
else if (Owner.cleanups === null) Owner.cleanups = [fn];
|
|
267
|
+
else Owner.cleanups.push(fn);
|
|
299
268
|
return fn;
|
|
300
269
|
}
|
|
301
270
|
function getOwner() {
|
|
@@ -370,8 +339,7 @@ function children(fn) {
|
|
|
370
339
|
function readSignal() {
|
|
371
340
|
const runningTransition = Transition && Transition.running;
|
|
372
341
|
if (this.sources && (runningTransition ? this.tState : this.state)) {
|
|
373
|
-
if ((runningTransition ? this.tState : this.state) === STALE)
|
|
374
|
-
updateComputation(this);
|
|
342
|
+
if ((runningTransition ? this.tState : this.state) === STALE) updateComputation(this);
|
|
375
343
|
else {
|
|
376
344
|
const updates = Updates;
|
|
377
345
|
Updates = null;
|
|
@@ -396,8 +364,7 @@ function readSignal() {
|
|
|
396
364
|
this.observerSlots.push(Listener.sources.length - 1);
|
|
397
365
|
}
|
|
398
366
|
}
|
|
399
|
-
if (runningTransition && Transition.sources.has(this))
|
|
400
|
-
return this.tValue;
|
|
367
|
+
if (runningTransition && Transition.sources.has(this)) return this.tValue;
|
|
401
368
|
return this.value;
|
|
402
369
|
}
|
|
403
370
|
function writeSignal(node, value, isComp) {
|
|
@@ -409,34 +376,25 @@ function writeSignal(node, value, isComp) {
|
|
|
409
376
|
Transition.sources.add(node);
|
|
410
377
|
node.tValue = value;
|
|
411
378
|
}
|
|
412
|
-
if (!TransitionRunning)
|
|
413
|
-
|
|
414
|
-
} else
|
|
415
|
-
node.value = value;
|
|
379
|
+
if (!TransitionRunning) node.value = value;
|
|
380
|
+
} else node.value = value;
|
|
416
381
|
if (node.observers && node.observers.length) {
|
|
417
382
|
runUpdates(() => {
|
|
418
383
|
for (let i2 = 0; i2 < node.observers.length; i2 += 1) {
|
|
419
384
|
const o2 = node.observers[i2];
|
|
420
385
|
const TransitionRunning = Transition && Transition.running;
|
|
421
|
-
if (TransitionRunning && Transition.disposed.has(o2))
|
|
422
|
-
continue;
|
|
386
|
+
if (TransitionRunning && Transition.disposed.has(o2)) continue;
|
|
423
387
|
if (TransitionRunning ? !o2.tState : !o2.state) {
|
|
424
|
-
if (o2.pure)
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
Effects.push(o2);
|
|
428
|
-
if (o2.observers)
|
|
429
|
-
markDownstream(o2);
|
|
388
|
+
if (o2.pure) Updates.push(o2);
|
|
389
|
+
else Effects.push(o2);
|
|
390
|
+
if (o2.observers) markDownstream(o2);
|
|
430
391
|
}
|
|
431
|
-
if (!TransitionRunning)
|
|
432
|
-
|
|
433
|
-
else
|
|
434
|
-
o2.tState = STALE;
|
|
392
|
+
if (!TransitionRunning) o2.state = STALE;
|
|
393
|
+
else o2.tState = STALE;
|
|
435
394
|
}
|
|
436
395
|
if (Updates.length > 1e6) {
|
|
437
396
|
Updates = [];
|
|
438
|
-
if (
|
|
439
|
-
;
|
|
397
|
+
if (IS_DEV) ;
|
|
440
398
|
throw new Error();
|
|
441
399
|
}
|
|
442
400
|
}, false);
|
|
@@ -445,8 +403,7 @@ function writeSignal(node, value, isComp) {
|
|
|
445
403
|
return value;
|
|
446
404
|
}
|
|
447
405
|
function updateComputation(node) {
|
|
448
|
-
if (!node.fn)
|
|
449
|
-
return;
|
|
406
|
+
if (!node.fn) return;
|
|
450
407
|
cleanNode(node);
|
|
451
408
|
const time = ExecCount;
|
|
452
409
|
runComputation(
|
|
@@ -495,8 +452,7 @@ function runComputation(node, value, time) {
|
|
|
495
452
|
} else if (Transition && Transition.running && node.pure) {
|
|
496
453
|
Transition.sources.add(node);
|
|
497
454
|
node.tValue = nextValue;
|
|
498
|
-
} else
|
|
499
|
-
node.value = nextValue;
|
|
455
|
+
} else node.value = nextValue;
|
|
500
456
|
node.updatedAt = time;
|
|
501
457
|
}
|
|
502
458
|
}
|
|
@@ -518,19 +474,14 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
518
474
|
c2.state = 0;
|
|
519
475
|
c2.tState = state;
|
|
520
476
|
}
|
|
521
|
-
if (Owner === null)
|
|
522
|
-
;
|
|
477
|
+
if (Owner === null) ;
|
|
523
478
|
else if (Owner !== UNOWNED) {
|
|
524
479
|
if (Transition && Transition.running && Owner.pure) {
|
|
525
|
-
if (!Owner.tOwned)
|
|
526
|
-
|
|
527
|
-
else
|
|
528
|
-
Owner.tOwned.push(c2);
|
|
480
|
+
if (!Owner.tOwned) Owner.tOwned = [c2];
|
|
481
|
+
else Owner.tOwned.push(c2);
|
|
529
482
|
} else {
|
|
530
|
-
if (!Owner.owned)
|
|
531
|
-
|
|
532
|
-
else
|
|
533
|
-
Owner.owned.push(c2);
|
|
483
|
+
if (!Owner.owned) Owner.owned = [c2];
|
|
484
|
+
else Owner.owned.push(c2);
|
|
534
485
|
}
|
|
535
486
|
}
|
|
536
487
|
if (ExternalSourceConfig && c2.fn) {
|
|
@@ -550,26 +501,20 @@ function createComputation(fn, init, pure, state = STALE, options) {
|
|
|
550
501
|
}
|
|
551
502
|
function runTop(node) {
|
|
552
503
|
const runningTransition = Transition && Transition.running;
|
|
553
|
-
if ((runningTransition ? node.tState : node.state) === 0)
|
|
554
|
-
|
|
555
|
-
if (
|
|
556
|
-
return lookUpstream(node);
|
|
557
|
-
if (node.suspense && untrack(node.suspense.inFallback))
|
|
558
|
-
return node.suspense.effects.push(node);
|
|
504
|
+
if ((runningTransition ? node.tState : node.state) === 0) return;
|
|
505
|
+
if ((runningTransition ? node.tState : node.state) === PENDING) return lookUpstream(node);
|
|
506
|
+
if (node.suspense && untrack(node.suspense.inFallback)) return node.suspense.effects.push(node);
|
|
559
507
|
const ancestors = [node];
|
|
560
508
|
while ((node = node.owner) && (!node.updatedAt || node.updatedAt < ExecCount)) {
|
|
561
|
-
if (runningTransition && Transition.disposed.has(node))
|
|
562
|
-
|
|
563
|
-
if (runningTransition ? node.tState : node.state)
|
|
564
|
-
ancestors.push(node);
|
|
509
|
+
if (runningTransition && Transition.disposed.has(node)) return;
|
|
510
|
+
if (runningTransition ? node.tState : node.state) ancestors.push(node);
|
|
565
511
|
}
|
|
566
512
|
for (let i2 = ancestors.length - 1; i2 >= 0; i2--) {
|
|
567
513
|
node = ancestors[i2];
|
|
568
514
|
if (runningTransition) {
|
|
569
515
|
let top = node, prev = ancestors[i2 + 1];
|
|
570
516
|
while ((top = top.owner) && top !== prev) {
|
|
571
|
-
if (Transition.disposed.has(top))
|
|
572
|
-
return;
|
|
517
|
+
if (Transition.disposed.has(top)) return;
|
|
573
518
|
}
|
|
574
519
|
}
|
|
575
520
|
if ((runningTransition ? node.tState : node.state) === STALE) {
|
|
@@ -583,37 +528,29 @@ function runTop(node) {
|
|
|
583
528
|
}
|
|
584
529
|
}
|
|
585
530
|
function runUpdates(fn, init) {
|
|
586
|
-
if (Updates)
|
|
587
|
-
return fn();
|
|
531
|
+
if (Updates) return fn();
|
|
588
532
|
let wait = false;
|
|
589
|
-
if (!init)
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
wait = true;
|
|
593
|
-
else
|
|
594
|
-
Effects = [];
|
|
533
|
+
if (!init) Updates = [];
|
|
534
|
+
if (Effects) wait = true;
|
|
535
|
+
else Effects = [];
|
|
595
536
|
ExecCount++;
|
|
596
537
|
try {
|
|
597
538
|
const res = fn();
|
|
598
539
|
completeUpdates(wait);
|
|
599
540
|
return res;
|
|
600
541
|
} catch (err) {
|
|
601
|
-
if (!wait)
|
|
602
|
-
Effects = null;
|
|
542
|
+
if (!wait) Effects = null;
|
|
603
543
|
Updates = null;
|
|
604
544
|
handleError(err);
|
|
605
545
|
}
|
|
606
546
|
}
|
|
607
547
|
function completeUpdates(wait) {
|
|
608
548
|
if (Updates) {
|
|
609
|
-
if (Scheduler && Transition && Transition.running)
|
|
610
|
-
|
|
611
|
-
else
|
|
612
|
-
runQueue(Updates);
|
|
549
|
+
if (Scheduler && Transition && Transition.running) scheduleQueue(Updates);
|
|
550
|
+
else runQueue(Updates);
|
|
613
551
|
Updates = null;
|
|
614
552
|
}
|
|
615
|
-
if (wait)
|
|
616
|
-
return;
|
|
553
|
+
if (wait) return;
|
|
617
554
|
let res;
|
|
618
555
|
if (Transition) {
|
|
619
556
|
if (!Transition.promises.size && !Transition.queue.size) {
|
|
@@ -627,16 +564,13 @@ function completeUpdates(wait) {
|
|
|
627
564
|
}
|
|
628
565
|
Transition = null;
|
|
629
566
|
runUpdates(() => {
|
|
630
|
-
for (const d of disposed)
|
|
631
|
-
cleanNode(d);
|
|
567
|
+
for (const d of disposed) cleanNode(d);
|
|
632
568
|
for (const v of sources) {
|
|
633
569
|
v.value = v.tValue;
|
|
634
570
|
if (v.owned) {
|
|
635
|
-
for (let i2 = 0, len = v.owned.length; i2 < len; i2++)
|
|
636
|
-
cleanNode(v.owned[i2]);
|
|
571
|
+
for (let i2 = 0, len = v.owned.length; i2 < len; i2++) cleanNode(v.owned[i2]);
|
|
637
572
|
}
|
|
638
|
-
if (v.tOwned)
|
|
639
|
-
v.owned = v.tOwned;
|
|
573
|
+
if (v.tOwned) v.owned = v.tOwned;
|
|
640
574
|
delete v.tValue;
|
|
641
575
|
delete v.tOwned;
|
|
642
576
|
v.tState = 0;
|
|
@@ -653,14 +587,11 @@ function completeUpdates(wait) {
|
|
|
653
587
|
}
|
|
654
588
|
const e2 = Effects;
|
|
655
589
|
Effects = null;
|
|
656
|
-
if (e2.length)
|
|
657
|
-
|
|
658
|
-
if (res)
|
|
659
|
-
res();
|
|
590
|
+
if (e2.length) runUpdates(() => runEffects(e2), false);
|
|
591
|
+
if (res) res();
|
|
660
592
|
}
|
|
661
593
|
function runQueue(queue) {
|
|
662
|
-
for (let i2 = 0; i2 < queue.length; i2++)
|
|
663
|
-
runTop(queue[i2]);
|
|
594
|
+
for (let i2 = 0; i2 < queue.length; i2++) runTop(queue[i2]);
|
|
664
595
|
}
|
|
665
596
|
function scheduleQueue(queue) {
|
|
666
597
|
for (let i2 = 0; i2 < queue.length; i2++) {
|
|
@@ -683,10 +614,8 @@ function runUserEffects(queue) {
|
|
|
683
614
|
let i2, userLength = 0;
|
|
684
615
|
for (i2 = 0; i2 < queue.length; i2++) {
|
|
685
616
|
const e2 = queue[i2];
|
|
686
|
-
if (!e2.user)
|
|
687
|
-
|
|
688
|
-
else
|
|
689
|
-
queue[userLength++] = e2;
|
|
617
|
+
if (!e2.user) runTop(e2);
|
|
618
|
+
else queue[userLength++] = e2;
|
|
690
619
|
}
|
|
691
620
|
if (sharedConfig.context) {
|
|
692
621
|
if (sharedConfig.count) {
|
|
@@ -701,15 +630,12 @@ function runUserEffects(queue) {
|
|
|
701
630
|
userLength += sharedConfig.effects.length;
|
|
702
631
|
delete sharedConfig.effects;
|
|
703
632
|
}
|
|
704
|
-
for (i2 = 0; i2 < userLength; i2++)
|
|
705
|
-
runTop(queue[i2]);
|
|
633
|
+
for (i2 = 0; i2 < userLength; i2++) runTop(queue[i2]);
|
|
706
634
|
}
|
|
707
635
|
function lookUpstream(node, ignore) {
|
|
708
636
|
const runningTransition = Transition && Transition.running;
|
|
709
|
-
if (runningTransition)
|
|
710
|
-
|
|
711
|
-
else
|
|
712
|
-
node.state = 0;
|
|
637
|
+
if (runningTransition) node.tState = 0;
|
|
638
|
+
else node.state = 0;
|
|
713
639
|
for (let i2 = 0; i2 < node.sources.length; i2 += 1) {
|
|
714
640
|
const source = node.sources[i2];
|
|
715
641
|
if (source.sources) {
|
|
@@ -717,8 +643,7 @@ function lookUpstream(node, ignore) {
|
|
|
717
643
|
if (state === STALE) {
|
|
718
644
|
if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
|
|
719
645
|
runTop(source);
|
|
720
|
-
} else if (state === PENDING)
|
|
721
|
-
lookUpstream(source, ignore);
|
|
646
|
+
} else if (state === PENDING) lookUpstream(source, ignore);
|
|
722
647
|
}
|
|
723
648
|
}
|
|
724
649
|
}
|
|
@@ -727,14 +652,10 @@ function markDownstream(node) {
|
|
|
727
652
|
for (let i2 = 0; i2 < node.observers.length; i2 += 1) {
|
|
728
653
|
const o2 = node.observers[i2];
|
|
729
654
|
if (runningTransition ? !o2.tState : !o2.state) {
|
|
730
|
-
if (runningTransition)
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
if (o2.pure)
|
|
735
|
-
Updates.push(o2);
|
|
736
|
-
else
|
|
737
|
-
Effects.push(o2);
|
|
655
|
+
if (runningTransition) o2.tState = PENDING;
|
|
656
|
+
else o2.state = PENDING;
|
|
657
|
+
if (o2.pure) Updates.push(o2);
|
|
658
|
+
else Effects.push(o2);
|
|
738
659
|
o2.observers && markDownstream(o2);
|
|
739
660
|
}
|
|
740
661
|
}
|
|
@@ -755,26 +676,21 @@ function cleanNode(node) {
|
|
|
755
676
|
}
|
|
756
677
|
}
|
|
757
678
|
if (node.tOwned) {
|
|
758
|
-
for (i2 = node.tOwned.length - 1; i2 >= 0; i2--)
|
|
759
|
-
cleanNode(node.tOwned[i2]);
|
|
679
|
+
for (i2 = node.tOwned.length - 1; i2 >= 0; i2--) cleanNode(node.tOwned[i2]);
|
|
760
680
|
delete node.tOwned;
|
|
761
681
|
}
|
|
762
682
|
if (Transition && Transition.running && node.pure) {
|
|
763
683
|
reset(node, true);
|
|
764
684
|
} else if (node.owned) {
|
|
765
|
-
for (i2 = node.owned.length - 1; i2 >= 0; i2--)
|
|
766
|
-
cleanNode(node.owned[i2]);
|
|
685
|
+
for (i2 = node.owned.length - 1; i2 >= 0; i2--) cleanNode(node.owned[i2]);
|
|
767
686
|
node.owned = null;
|
|
768
687
|
}
|
|
769
688
|
if (node.cleanups) {
|
|
770
|
-
for (i2 = node.cleanups.length - 1; i2 >= 0; i2--)
|
|
771
|
-
node.cleanups[i2]();
|
|
689
|
+
for (i2 = node.cleanups.length - 1; i2 >= 0; i2--) node.cleanups[i2]();
|
|
772
690
|
node.cleanups = null;
|
|
773
691
|
}
|
|
774
|
-
if (Transition && Transition.running)
|
|
775
|
-
|
|
776
|
-
else
|
|
777
|
-
node.state = 0;
|
|
692
|
+
if (Transition && Transition.running) node.tState = 0;
|
|
693
|
+
else node.state = 0;
|
|
778
694
|
}
|
|
779
695
|
function reset(node, top) {
|
|
780
696
|
if (!top) {
|
|
@@ -782,21 +698,18 @@ function reset(node, top) {
|
|
|
782
698
|
Transition.disposed.add(node);
|
|
783
699
|
}
|
|
784
700
|
if (node.owned) {
|
|
785
|
-
for (let i2 = 0; i2 < node.owned.length; i2++)
|
|
786
|
-
reset(node.owned[i2]);
|
|
701
|
+
for (let i2 = 0; i2 < node.owned.length; i2++) reset(node.owned[i2]);
|
|
787
702
|
}
|
|
788
703
|
}
|
|
789
704
|
function castError(err) {
|
|
790
|
-
if (err instanceof Error)
|
|
791
|
-
return err;
|
|
705
|
+
if (err instanceof Error) return err;
|
|
792
706
|
return new Error(typeof err === "string" ? err : "Unknown error", {
|
|
793
707
|
cause: err
|
|
794
708
|
});
|
|
795
709
|
}
|
|
796
710
|
function runErrors(err, fns, owner) {
|
|
797
711
|
try {
|
|
798
|
-
for (const f of fns)
|
|
799
|
-
f(err);
|
|
712
|
+
for (const f of fns) f(err);
|
|
800
713
|
} catch (e2) {
|
|
801
714
|
handleError(e2, owner && owner.owner || null);
|
|
802
715
|
}
|
|
@@ -804,8 +717,7 @@ function runErrors(err, fns, owner) {
|
|
|
804
717
|
function handleError(err, owner = Owner) {
|
|
805
718
|
const fns = ERROR && owner && owner.context && owner.context[ERROR];
|
|
806
719
|
const error = castError(err);
|
|
807
|
-
if (!fns)
|
|
808
|
-
throw error;
|
|
720
|
+
if (!fns) throw error;
|
|
809
721
|
if (Effects)
|
|
810
722
|
Effects.push({
|
|
811
723
|
fn() {
|
|
@@ -813,12 +725,10 @@ function handleError(err, owner = Owner) {
|
|
|
813
725
|
},
|
|
814
726
|
state: STALE
|
|
815
727
|
});
|
|
816
|
-
else
|
|
817
|
-
runErrors(error, fns, owner);
|
|
728
|
+
else runErrors(error, fns, owner);
|
|
818
729
|
}
|
|
819
730
|
function resolveChildren(children2) {
|
|
820
|
-
if (typeof children2 === "function" && !children2.length)
|
|
821
|
-
return resolveChildren(children2());
|
|
731
|
+
if (typeof children2 === "function" && !children2.length) return resolveChildren(children2());
|
|
822
732
|
if (Array.isArray(children2)) {
|
|
823
733
|
const results = [];
|
|
824
734
|
for (let i2 = 0; i2 < children2.length; i2++) {
|
|
@@ -846,8 +756,7 @@ function createProvider(id, options) {
|
|
|
846
756
|
};
|
|
847
757
|
}
|
|
848
758
|
function dispose(d) {
|
|
849
|
-
for (let i2 = 0; i2 < d.length; i2++)
|
|
850
|
-
d[i2]();
|
|
759
|
+
for (let i2 = 0; i2 < d.length; i2++) d[i2]();
|
|
851
760
|
}
|
|
852
761
|
function mapArray(list, mapFn, options = {}) {
|
|
853
762
|
let items = [], mapped = [], disposers = [], len = 0, indexes = mapFn.length > 1 ? [] : null;
|
|
@@ -885,8 +794,7 @@ function mapArray(list, mapFn, options = {}) {
|
|
|
885
794
|
temp = new Array(newLen);
|
|
886
795
|
tempdisposers = new Array(newLen);
|
|
887
796
|
indexes && (tempIndexes = new Array(newLen));
|
|
888
|
-
for (start = 0, end = Math.min(len, newLen); start < end && items[start] === newItems[start]; start++)
|
|
889
|
-
;
|
|
797
|
+
for (start = 0, end = Math.min(len, newLen); start < end && items[start] === newItems[start]; start++) ;
|
|
890
798
|
for (end = len - 1, newEnd = newLen - 1; end >= start && newEnd >= start && items[end] === newItems[newEnd]; end--, newEnd--) {
|
|
891
799
|
temp[newEnd] = mapped[end];
|
|
892
800
|
tempdisposers[newEnd] = disposers[end];
|
|
@@ -909,8 +817,7 @@ function mapArray(list, mapFn, options = {}) {
|
|
|
909
817
|
indexes && (tempIndexes[j] = indexes[i2]);
|
|
910
818
|
j = newIndicesNext[j];
|
|
911
819
|
newIndices.set(item, j);
|
|
912
|
-
} else
|
|
913
|
-
disposers[i2]();
|
|
820
|
+
} else disposers[i2]();
|
|
914
821
|
}
|
|
915
822
|
for (j = start; j < newLen; j++) {
|
|
916
823
|
if (j in temp) {
|
|
@@ -920,8 +827,7 @@ function mapArray(list, mapFn, options = {}) {
|
|
|
920
827
|
indexes[j] = tempIndexes[j];
|
|
921
828
|
indexes[j](j);
|
|
922
829
|
}
|
|
923
|
-
} else
|
|
924
|
-
mapped[j] = createRoot(mapper);
|
|
830
|
+
} else mapped[j] = createRoot(mapper);
|
|
925
831
|
}
|
|
926
832
|
mapped = mapped.slice(0, len = newLen);
|
|
927
833
|
items = newItems.slice(0);
|
|
@@ -1015,8 +921,7 @@ function resolveSource(s2) {
|
|
|
1015
921
|
function resolveSources() {
|
|
1016
922
|
for (let i2 = 0, length = this.length; i2 < length; ++i2) {
|
|
1017
923
|
const v = this[i2]();
|
|
1018
|
-
if (v !== void 0)
|
|
1019
|
-
return v;
|
|
924
|
+
if (v !== void 0) return v;
|
|
1020
925
|
}
|
|
1021
926
|
}
|
|
1022
927
|
function mergeProps(...sources) {
|
|
@@ -1032,14 +937,12 @@ function mergeProps(...sources) {
|
|
|
1032
937
|
get(property) {
|
|
1033
938
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1034
939
|
const v = resolveSource(sources[i2])[property];
|
|
1035
|
-
if (v !== void 0)
|
|
1036
|
-
return v;
|
|
940
|
+
if (v !== void 0) return v;
|
|
1037
941
|
}
|
|
1038
942
|
},
|
|
1039
943
|
has(property) {
|
|
1040
944
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1041
|
-
if (property in resolveSource(sources[i2]))
|
|
1042
|
-
return true;
|
|
945
|
+
if (property in resolveSource(sources[i2])) return true;
|
|
1043
946
|
}
|
|
1044
947
|
return false;
|
|
1045
948
|
},
|
|
@@ -1057,13 +960,11 @@ function mergeProps(...sources) {
|
|
|
1057
960
|
const defined = /* @__PURE__ */ Object.create(null);
|
|
1058
961
|
for (let i2 = sources.length - 1; i2 >= 0; i2--) {
|
|
1059
962
|
const source = sources[i2];
|
|
1060
|
-
if (!source)
|
|
1061
|
-
continue;
|
|
963
|
+
if (!source) continue;
|
|
1062
964
|
const sourceKeys = Object.getOwnPropertyNames(source);
|
|
1063
965
|
for (let i3 = sourceKeys.length - 1; i3 >= 0; i3--) {
|
|
1064
966
|
const key = sourceKeys[i3];
|
|
1065
|
-
if (key === "__proto__" || key === "constructor")
|
|
1066
|
-
continue;
|
|
967
|
+
if (key === "__proto__" || key === "constructor") continue;
|
|
1067
968
|
const desc = Object.getOwnPropertyDescriptor(source, key);
|
|
1068
969
|
if (!defined[key]) {
|
|
1069
970
|
defined[key] = desc.get ? {
|
|
@@ -1074,10 +975,8 @@ function mergeProps(...sources) {
|
|
|
1074
975
|
} else {
|
|
1075
976
|
const sources2 = sourcesMap[key];
|
|
1076
977
|
if (sources2) {
|
|
1077
|
-
if (desc.get)
|
|
1078
|
-
|
|
1079
|
-
else if (desc.value !== void 0)
|
|
1080
|
-
sources2.push(() => desc.value);
|
|
978
|
+
if (desc.get) sources2.push(desc.get.bind(source));
|
|
979
|
+
else if (desc.value !== void 0) sources2.push(() => desc.value);
|
|
1081
980
|
}
|
|
1082
981
|
}
|
|
1083
982
|
}
|
|
@@ -1086,10 +985,8 @@ function mergeProps(...sources) {
|
|
|
1086
985
|
const definedKeys = Object.keys(defined);
|
|
1087
986
|
for (let i2 = definedKeys.length - 1; i2 >= 0; i2--) {
|
|
1088
987
|
const key = definedKeys[i2], desc = defined[key];
|
|
1089
|
-
if (desc && desc.get)
|
|
1090
|
-
|
|
1091
|
-
else
|
|
1092
|
-
target[key] = desc ? desc.value : void 0;
|
|
988
|
+
if (desc && desc.get) Object.defineProperty(target, key, desc);
|
|
989
|
+
else target[key] = desc ? desc.value : void 0;
|
|
1093
990
|
}
|
|
1094
991
|
return target;
|
|
1095
992
|
}
|
|
@@ -1173,10 +1070,8 @@ function lazy(fn) {
|
|
|
1173
1070
|
let Comp;
|
|
1174
1071
|
return createMemo(
|
|
1175
1072
|
() => (Comp = comp()) ? untrack(() => {
|
|
1176
|
-
if (
|
|
1177
|
-
|
|
1178
|
-
if (!ctx || sharedConfig.done)
|
|
1179
|
-
return Comp(props);
|
|
1073
|
+
if (IS_DEV) ;
|
|
1074
|
+
if (!ctx || sharedConfig.done) return Comp(props);
|
|
1180
1075
|
const c2 = sharedConfig.context;
|
|
1181
1076
|
setHydrateContext(ctx);
|
|
1182
1077
|
const r2 = Comp(props);
|
|
@@ -1206,8 +1101,9 @@ function Index(props) {
|
|
|
1206
1101
|
}
|
|
1207
1102
|
function Show(props) {
|
|
1208
1103
|
const keyed = props.keyed;
|
|
1209
|
-
const
|
|
1210
|
-
|
|
1104
|
+
const conditionValue = createMemo(() => props.when, void 0, void 0);
|
|
1105
|
+
const condition = keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1106
|
+
equals: (a2, b2) => !a2 === !b2
|
|
1211
1107
|
});
|
|
1212
1108
|
return createMemo(
|
|
1213
1109
|
() => {
|
|
@@ -1218,9 +1114,8 @@ function Show(props) {
|
|
|
1218
1114
|
return fn ? untrack(
|
|
1219
1115
|
() => child(
|
|
1220
1116
|
keyed ? c2 : () => {
|
|
1221
|
-
if (!untrack(condition))
|
|
1222
|
-
|
|
1223
|
-
return props.when;
|
|
1117
|
+
if (!untrack(condition)) throw narrowedError("Show");
|
|
1118
|
+
return conditionValue();
|
|
1224
1119
|
}
|
|
1225
1120
|
)
|
|
1226
1121
|
) : child;
|
|
@@ -1232,43 +1127,42 @@ function Show(props) {
|
|
|
1232
1127
|
);
|
|
1233
1128
|
}
|
|
1234
1129
|
function Switch(props) {
|
|
1235
|
-
|
|
1236
|
-
const
|
|
1237
|
-
|
|
1238
|
-
()
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
equals
|
|
1130
|
+
const chs = children(() => props.children);
|
|
1131
|
+
const switchFunc = createMemo(() => {
|
|
1132
|
+
const ch = chs();
|
|
1133
|
+
const mps = Array.isArray(ch) ? ch : [ch];
|
|
1134
|
+
let func = () => void 0;
|
|
1135
|
+
for (let i2 = 0; i2 < mps.length; i2++) {
|
|
1136
|
+
const index = i2;
|
|
1137
|
+
const mp = mps[i2];
|
|
1138
|
+
const prevFunc = func;
|
|
1139
|
+
const conditionValue = createMemo(
|
|
1140
|
+
() => prevFunc() ? void 0 : mp.when,
|
|
1141
|
+
void 0,
|
|
1142
|
+
void 0
|
|
1143
|
+
);
|
|
1144
|
+
const condition = mp.keyed ? conditionValue : createMemo(conditionValue, void 0, {
|
|
1145
|
+
equals: (a2, b2) => !a2 === !b2
|
|
1146
|
+
});
|
|
1147
|
+
func = () => prevFunc() || (condition() ? [index, conditionValue, mp] : void 0);
|
|
1254
1148
|
}
|
|
1255
|
-
|
|
1149
|
+
return func;
|
|
1150
|
+
});
|
|
1256
1151
|
return createMemo(
|
|
1257
1152
|
() => {
|
|
1258
|
-
const
|
|
1259
|
-
if (
|
|
1260
|
-
|
|
1261
|
-
const
|
|
1262
|
-
const fn = typeof
|
|
1153
|
+
const sel = switchFunc()();
|
|
1154
|
+
if (!sel) return props.fallback;
|
|
1155
|
+
const [index, conditionValue, mp] = sel;
|
|
1156
|
+
const child = mp.children;
|
|
1157
|
+
const fn = typeof child === "function" && child.length > 0;
|
|
1263
1158
|
return fn ? untrack(
|
|
1264
|
-
() =>
|
|
1265
|
-
keyed ?
|
|
1266
|
-
if (untrack(
|
|
1267
|
-
|
|
1268
|
-
return cond.when;
|
|
1159
|
+
() => child(
|
|
1160
|
+
mp.keyed ? conditionValue() : () => {
|
|
1161
|
+
if (untrack(switchFunc)()?.[0] !== index) throw narrowedError("Match");
|
|
1162
|
+
return conditionValue();
|
|
1269
1163
|
}
|
|
1270
1164
|
)
|
|
1271
|
-
) :
|
|
1165
|
+
) : child;
|
|
1272
1166
|
},
|
|
1273
1167
|
void 0,
|
|
1274
1168
|
void 0
|
|
@@ -1277,9 +1171,9 @@ function Switch(props) {
|
|
|
1277
1171
|
function Match(props) {
|
|
1278
1172
|
return props;
|
|
1279
1173
|
}
|
|
1280
|
-
var sharedConfig, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceConfig, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1174
|
+
var sharedConfig, IS_DEV, equalFn, $PROXY, SUPPORTS_PROXY, $TRACK, signalOptions, ERROR, runEffects, STALE, PENDING, UNOWNED, NO_INIT, Owner, Transition, Scheduler, ExternalSourceConfig, Listener, Updates, Effects, ExecCount, transPending, setTransPending, SuspenseContext, FALLBACK, hydrationEnabled, propTraps, counter, narrowedError, DEV;
|
|
1281
1175
|
var init_solid = __esm({
|
|
1282
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1176
|
+
"../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js"() {
|
|
1283
1177
|
sharedConfig = {
|
|
1284
1178
|
context: void 0,
|
|
1285
1179
|
registry: void 0,
|
|
@@ -1292,6 +1186,7 @@ var init_solid = __esm({
|
|
|
1292
1186
|
return getContextId(this.context.count++);
|
|
1293
1187
|
}
|
|
1294
1188
|
};
|
|
1189
|
+
IS_DEV = false;
|
|
1295
1190
|
equalFn = (a2, b2) => a2 === b2;
|
|
1296
1191
|
$PROXY = Symbol("solid-proxy");
|
|
1297
1192
|
SUPPORTS_PROXY = typeof Proxy === "function";
|
|
@@ -1323,13 +1218,11 @@ var init_solid = __esm({
|
|
|
1323
1218
|
hydrationEnabled = false;
|
|
1324
1219
|
propTraps = {
|
|
1325
1220
|
get(_, property, receiver) {
|
|
1326
|
-
if (property === $PROXY)
|
|
1327
|
-
return receiver;
|
|
1221
|
+
if (property === $PROXY) return receiver;
|
|
1328
1222
|
return _.get(property);
|
|
1329
1223
|
},
|
|
1330
1224
|
has(_, property) {
|
|
1331
|
-
if (property === $PROXY)
|
|
1332
|
-
return true;
|
|
1225
|
+
if (property === $PROXY) return true;
|
|
1333
1226
|
return _.has(property);
|
|
1334
1227
|
},
|
|
1335
1228
|
set: trueFn,
|
|
@@ -1355,7 +1248,7 @@ var init_solid = __esm({
|
|
|
1355
1248
|
}
|
|
1356
1249
|
});
|
|
1357
1250
|
|
|
1358
|
-
// ../../node_modules/.pnpm/solid-js@1.9.
|
|
1251
|
+
// ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
|
|
1359
1252
|
function getPropAlias(prop, tagName) {
|
|
1360
1253
|
const a2 = PropAliases[prop];
|
|
1361
1254
|
return typeof a2 === "object" ? a2[tagName] ? a2["$"] : void 0 : a2;
|
|
@@ -1374,12 +1267,10 @@ function reconcileArrays(parentNode, a2, b2) {
|
|
|
1374
1267
|
}
|
|
1375
1268
|
if (aEnd === aStart) {
|
|
1376
1269
|
const node = bEnd < bLength ? bStart ? b2[bStart - 1].nextSibling : b2[bEnd - bStart] : after;
|
|
1377
|
-
while (bStart < bEnd)
|
|
1378
|
-
parentNode.insertBefore(b2[bStart++], node);
|
|
1270
|
+
while (bStart < bEnd) parentNode.insertBefore(b2[bStart++], node);
|
|
1379
1271
|
} else if (bEnd === bStart) {
|
|
1380
1272
|
while (aStart < aEnd) {
|
|
1381
|
-
if (!map || !map.has(a2[aStart]))
|
|
1382
|
-
a2[aStart].remove();
|
|
1273
|
+
if (!map || !map.has(a2[aStart])) a2[aStart].remove();
|
|
1383
1274
|
aStart++;
|
|
1384
1275
|
}
|
|
1385
1276
|
} else if (a2[aStart] === b2[bEnd - 1] && b2[bStart] === a2[aEnd - 1]) {
|
|
@@ -1391,28 +1282,22 @@ function reconcileArrays(parentNode, a2, b2) {
|
|
|
1391
1282
|
if (!map) {
|
|
1392
1283
|
map = /* @__PURE__ */ new Map();
|
|
1393
1284
|
let i2 = bStart;
|
|
1394
|
-
while (i2 < bEnd)
|
|
1395
|
-
map.set(b2[i2], i2++);
|
|
1285
|
+
while (i2 < bEnd) map.set(b2[i2], i2++);
|
|
1396
1286
|
}
|
|
1397
1287
|
const index = map.get(a2[aStart]);
|
|
1398
1288
|
if (index != null) {
|
|
1399
1289
|
if (bStart < index && index < bEnd) {
|
|
1400
1290
|
let i2 = aStart, sequence = 1, t2;
|
|
1401
1291
|
while (++i2 < aEnd && i2 < bEnd) {
|
|
1402
|
-
if ((t2 = map.get(a2[i2])) == null || t2 !== index + sequence)
|
|
1403
|
-
break;
|
|
1292
|
+
if ((t2 = map.get(a2[i2])) == null || t2 !== index + sequence) break;
|
|
1404
1293
|
sequence++;
|
|
1405
1294
|
}
|
|
1406
1295
|
if (sequence > index - bStart) {
|
|
1407
1296
|
const node = a2[aStart];
|
|
1408
|
-
while (bStart < index)
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
} else
|
|
1413
|
-
aStart++;
|
|
1414
|
-
} else
|
|
1415
|
-
a2[aStart++].remove();
|
|
1297
|
+
while (bStart < index) parentNode.insertBefore(b2[bStart++], node);
|
|
1298
|
+
} else parentNode.replaceChild(b2[bStart++], a2[aStart++]);
|
|
1299
|
+
} else aStart++;
|
|
1300
|
+
} else a2[aStart++].remove();
|
|
1416
1301
|
}
|
|
1417
1302
|
}
|
|
1418
1303
|
}
|
|
@@ -1427,7 +1312,7 @@ function render(code, element, init, options = {}) {
|
|
|
1427
1312
|
element.textContent = "";
|
|
1428
1313
|
};
|
|
1429
1314
|
}
|
|
1430
|
-
function template(html, isImportNode, isSVG) {
|
|
1315
|
+
function template(html, isImportNode, isSVG, isMathML) {
|
|
1431
1316
|
let node;
|
|
1432
1317
|
const create = () => {
|
|
1433
1318
|
const t2 = document.createElement("template");
|
|
@@ -1450,78 +1335,61 @@ function delegateEvents(eventNames, document2 = window.document) {
|
|
|
1450
1335
|
}
|
|
1451
1336
|
function clearDelegatedEvents(document2 = window.document) {
|
|
1452
1337
|
if (document2[$$EVENTS]) {
|
|
1453
|
-
for (let name of document2[$$EVENTS].keys())
|
|
1454
|
-
document2.removeEventListener(name, eventHandler);
|
|
1338
|
+
for (let name of document2[$$EVENTS].keys()) document2.removeEventListener(name, eventHandler);
|
|
1455
1339
|
delete document2[$$EVENTS];
|
|
1456
1340
|
}
|
|
1457
1341
|
}
|
|
1458
1342
|
function setAttribute(node, name, value) {
|
|
1459
|
-
if (isHydrating(node))
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
node.removeAttribute(name);
|
|
1463
|
-
else
|
|
1464
|
-
node.setAttribute(name, value);
|
|
1343
|
+
if (isHydrating(node)) return;
|
|
1344
|
+
if (value == null) node.removeAttribute(name);
|
|
1345
|
+
else node.setAttribute(name, value);
|
|
1465
1346
|
}
|
|
1466
1347
|
function setAttributeNS(node, namespace, name, value) {
|
|
1467
|
-
if (isHydrating(node))
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
node.removeAttributeNS(namespace, name);
|
|
1471
|
-
else
|
|
1472
|
-
node.setAttributeNS(namespace, name, value);
|
|
1348
|
+
if (isHydrating(node)) return;
|
|
1349
|
+
if (value == null) node.removeAttributeNS(namespace, name);
|
|
1350
|
+
else node.setAttributeNS(namespace, name, value);
|
|
1473
1351
|
}
|
|
1474
1352
|
function setBoolAttribute(node, name, value) {
|
|
1475
|
-
if (isHydrating(node))
|
|
1476
|
-
return;
|
|
1353
|
+
if (isHydrating(node)) return;
|
|
1477
1354
|
value ? node.setAttribute(name, "") : node.removeAttribute(name);
|
|
1478
1355
|
}
|
|
1479
1356
|
function className(node, value) {
|
|
1480
|
-
if (isHydrating(node))
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
node.removeAttribute("class");
|
|
1484
|
-
else
|
|
1485
|
-
node.className = value;
|
|
1357
|
+
if (isHydrating(node)) return;
|
|
1358
|
+
if (value == null) node.removeAttribute("class");
|
|
1359
|
+
else node.className = value;
|
|
1486
1360
|
}
|
|
1487
1361
|
function addEventListener(node, name, handler, delegate) {
|
|
1488
1362
|
if (delegate) {
|
|
1489
1363
|
if (Array.isArray(handler)) {
|
|
1490
1364
|
node[`$$${name}`] = handler[0];
|
|
1491
1365
|
node[`$$${name}Data`] = handler[1];
|
|
1492
|
-
} else
|
|
1493
|
-
node[`$$${name}`] = handler;
|
|
1366
|
+
} else node[`$$${name}`] = handler;
|
|
1494
1367
|
} else if (Array.isArray(handler)) {
|
|
1495
1368
|
const handlerFn = handler[0];
|
|
1496
1369
|
node.addEventListener(name, handler[0] = (e2) => handlerFn.call(node, handler[1], e2));
|
|
1497
|
-
} else
|
|
1498
|
-
node.addEventListener(name, handler, typeof handler !== "function" && handler);
|
|
1370
|
+
} else node.addEventListener(name, handler, typeof handler !== "function" && handler);
|
|
1499
1371
|
}
|
|
1500
1372
|
function classList(node, value, prev = {}) {
|
|
1501
1373
|
const classKeys = Object.keys(value || {}), prevKeys = Object.keys(prev);
|
|
1502
1374
|
let i2, len;
|
|
1503
1375
|
for (i2 = 0, len = prevKeys.length; i2 < len; i2++) {
|
|
1504
1376
|
const key = prevKeys[i2];
|
|
1505
|
-
if (!key || key === "undefined" || value[key])
|
|
1506
|
-
continue;
|
|
1377
|
+
if (!key || key === "undefined" || value[key]) continue;
|
|
1507
1378
|
toggleClassKey(node, key, false);
|
|
1508
1379
|
delete prev[key];
|
|
1509
1380
|
}
|
|
1510
1381
|
for (i2 = 0, len = classKeys.length; i2 < len; i2++) {
|
|
1511
1382
|
const key = classKeys[i2], classValue = !!value[key];
|
|
1512
|
-
if (!key || key === "undefined" || prev[key] === classValue || !classValue)
|
|
1513
|
-
continue;
|
|
1383
|
+
if (!key || key === "undefined" || prev[key] === classValue || !classValue) continue;
|
|
1514
1384
|
toggleClassKey(node, key, true);
|
|
1515
1385
|
prev[key] = classValue;
|
|
1516
1386
|
}
|
|
1517
1387
|
return prev;
|
|
1518
1388
|
}
|
|
1519
1389
|
function style(node, value, prev) {
|
|
1520
|
-
if (!value)
|
|
1521
|
-
return prev ? setAttribute(node, "style") : value;
|
|
1390
|
+
if (!value) return prev ? setAttribute(node, "style") : value;
|
|
1522
1391
|
const nodeStyle = node.style;
|
|
1523
|
-
if (typeof value === "string")
|
|
1524
|
-
return nodeStyle.cssText = value;
|
|
1392
|
+
if (typeof value === "string") return nodeStyle.cssText = value;
|
|
1525
1393
|
typeof prev === "string" && (nodeStyle.cssText = prev = void 0);
|
|
1526
1394
|
prev || (prev = {});
|
|
1527
1395
|
value || (value = {});
|
|
@@ -1554,18 +1422,15 @@ function use(fn, element, arg) {
|
|
|
1554
1422
|
return untrack(() => fn(element, arg));
|
|
1555
1423
|
}
|
|
1556
1424
|
function insert(parent, accessor, marker, initial) {
|
|
1557
|
-
if (marker !== void 0 && !initial)
|
|
1558
|
-
|
|
1559
|
-
if (typeof accessor !== "function")
|
|
1560
|
-
return insertExpression(parent, accessor, initial, marker);
|
|
1425
|
+
if (marker !== void 0 && !initial) initial = [];
|
|
1426
|
+
if (typeof accessor !== "function") return insertExpression(parent, accessor, initial, marker);
|
|
1561
1427
|
createRenderEffect((current) => insertExpression(parent, accessor(), current, marker), initial);
|
|
1562
1428
|
}
|
|
1563
1429
|
function assign(node, props, isSVG, skipChildren, prevProps = {}, skipRef = false) {
|
|
1564
1430
|
props || (props = {});
|
|
1565
1431
|
for (const prop in prevProps) {
|
|
1566
1432
|
if (!(prop in props)) {
|
|
1567
|
-
if (prop === "children")
|
|
1568
|
-
continue;
|
|
1433
|
+
if (prop === "children") continue;
|
|
1569
1434
|
prevProps[prop] = assignProp(node, prop, null, prevProps[prop], isSVG, skipRef, props);
|
|
1570
1435
|
}
|
|
1571
1436
|
}
|
|
@@ -1582,8 +1447,7 @@ function getNextElement(template2) {
|
|
|
1582
1447
|
if (!hydrating || !(node = sharedConfig.registry.get(key = getHydrationKey()))) {
|
|
1583
1448
|
return template2();
|
|
1584
1449
|
}
|
|
1585
|
-
if (sharedConfig.completed)
|
|
1586
|
-
sharedConfig.completed.add(node);
|
|
1450
|
+
if (sharedConfig.completed) sharedConfig.completed.add(node);
|
|
1587
1451
|
sharedConfig.registry.delete(key);
|
|
1588
1452
|
return node;
|
|
1589
1453
|
}
|
|
@@ -1600,15 +1464,11 @@ function toggleClassKey(node, key, value) {
|
|
|
1600
1464
|
}
|
|
1601
1465
|
function assignProp(node, prop, value, prev, isSVG, skipRef, props) {
|
|
1602
1466
|
let isCE, isProp, isChildProp, propAlias, forceProp;
|
|
1603
|
-
if (prop === "style")
|
|
1604
|
-
|
|
1605
|
-
if (
|
|
1606
|
-
return classList(node, value, prev);
|
|
1607
|
-
if (value === prev)
|
|
1608
|
-
return prev;
|
|
1467
|
+
if (prop === "style") return style(node, value, prev);
|
|
1468
|
+
if (prop === "classList") return classList(node, value, prev);
|
|
1469
|
+
if (value === prev) return prev;
|
|
1609
1470
|
if (prop === "ref") {
|
|
1610
|
-
if (!skipRef)
|
|
1611
|
-
value(node);
|
|
1471
|
+
if (!skipRef) value(node);
|
|
1612
1472
|
} else if (prop.slice(0, 3) === "on:") {
|
|
1613
1473
|
const e2 = prop.slice(3);
|
|
1614
1474
|
prev && node.removeEventListener(e2, prev, typeof prev !== "function" && prev);
|
|
@@ -1636,27 +1496,20 @@ function assignProp(node, prop, value, prev, isSVG, skipRef, props) {
|
|
|
1636
1496
|
if (forceProp) {
|
|
1637
1497
|
prop = prop.slice(5);
|
|
1638
1498
|
isProp = true;
|
|
1639
|
-
} else if (isHydrating(node))
|
|
1640
|
-
|
|
1641
|
-
if (
|
|
1642
|
-
|
|
1643
|
-
else if (isCE && !isProp && !isChildProp)
|
|
1644
|
-
node[toPropertyName(prop)] = value;
|
|
1645
|
-
else
|
|
1646
|
-
node[propAlias || prop] = value;
|
|
1499
|
+
} else if (isHydrating(node)) return value;
|
|
1500
|
+
if (prop === "class" || prop === "className") className(node, value);
|
|
1501
|
+
else if (isCE && !isProp && !isChildProp) node[toPropertyName(prop)] = value;
|
|
1502
|
+
else node[propAlias || prop] = value;
|
|
1647
1503
|
} else {
|
|
1648
1504
|
const ns = isSVG && prop.indexOf(":") > -1 && SVGNamespace[prop.split(":")[0]];
|
|
1649
|
-
if (ns)
|
|
1650
|
-
|
|
1651
|
-
else
|
|
1652
|
-
setAttribute(node, Aliases[prop] || prop, value);
|
|
1505
|
+
if (ns) setAttributeNS(node, ns, prop, value);
|
|
1506
|
+
else setAttribute(node, Aliases[prop] || prop, value);
|
|
1653
1507
|
}
|
|
1654
1508
|
return value;
|
|
1655
1509
|
}
|
|
1656
1510
|
function eventHandler(e2) {
|
|
1657
1511
|
if (sharedConfig.registry && sharedConfig.events) {
|
|
1658
|
-
if (sharedConfig.events.find(([el, ev]) => ev === e2))
|
|
1659
|
-
return;
|
|
1512
|
+
if (sharedConfig.events.find(([el, ev]) => ev === e2)) return;
|
|
1660
1513
|
}
|
|
1661
1514
|
let node = e2.target;
|
|
1662
1515
|
const key = `$$${e2.type}`;
|
|
@@ -1671,15 +1524,13 @@ function eventHandler(e2) {
|
|
|
1671
1524
|
if (handler && !node.disabled) {
|
|
1672
1525
|
const data = node[`${key}Data`];
|
|
1673
1526
|
data !== void 0 ? handler.call(node, data, e2) : handler.call(node, e2);
|
|
1674
|
-
if (e2.cancelBubble)
|
|
1675
|
-
return;
|
|
1527
|
+
if (e2.cancelBubble) return;
|
|
1676
1528
|
}
|
|
1677
1529
|
node.host && typeof node.host !== "string" && !node.host._$host && node.contains(e2.target) && retarget(node.host);
|
|
1678
1530
|
return true;
|
|
1679
1531
|
};
|
|
1680
1532
|
const walkUpTree = () => {
|
|
1681
|
-
while (handleNode() && (node = node._$host || node.parentNode || node.host))
|
|
1682
|
-
;
|
|
1533
|
+
while (handleNode() && (node = node._$host || node.parentNode || node.host)) ;
|
|
1683
1534
|
};
|
|
1684
1535
|
Object.defineProperty(e2, "currentTarget", {
|
|
1685
1536
|
configurable: true,
|
|
@@ -1687,15 +1538,13 @@ function eventHandler(e2) {
|
|
|
1687
1538
|
return node || document;
|
|
1688
1539
|
}
|
|
1689
1540
|
});
|
|
1690
|
-
if (sharedConfig.registry && !sharedConfig.done)
|
|
1691
|
-
sharedConfig.done = _$HY.done = true;
|
|
1541
|
+
if (sharedConfig.registry && !sharedConfig.done) sharedConfig.done = _$HY.done = true;
|
|
1692
1542
|
if (e2.composedPath) {
|
|
1693
1543
|
const path = e2.composedPath();
|
|
1694
1544
|
retarget(path[0]);
|
|
1695
1545
|
for (let i2 = 0; i2 < path.length - 2; i2++) {
|
|
1696
1546
|
node = path[i2];
|
|
1697
|
-
if (!handleNode())
|
|
1698
|
-
break;
|
|
1547
|
+
if (!handleNode()) break;
|
|
1699
1548
|
if (node._$host) {
|
|
1700
1549
|
node = node._$host;
|
|
1701
1550
|
walkUpTree();
|
|
@@ -1705,8 +1554,7 @@ function eventHandler(e2) {
|
|
|
1705
1554
|
break;
|
|
1706
1555
|
}
|
|
1707
1556
|
}
|
|
1708
|
-
} else
|
|
1709
|
-
walkUpTree();
|
|
1557
|
+
} else walkUpTree();
|
|
1710
1558
|
retarget(oriTarget);
|
|
1711
1559
|
}
|
|
1712
1560
|
function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
@@ -1716,49 +1564,39 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1716
1564
|
let cleaned = [];
|
|
1717
1565
|
for (let i2 = 0; i2 < current.length; i2++) {
|
|
1718
1566
|
const node = current[i2];
|
|
1719
|
-
if (node.nodeType === 8 && node.data.slice(0, 2) === "!$")
|
|
1720
|
-
|
|
1721
|
-
else
|
|
1722
|
-
cleaned.push(node);
|
|
1567
|
+
if (node.nodeType === 8 && node.data.slice(0, 2) === "!$") node.remove();
|
|
1568
|
+
else cleaned.push(node);
|
|
1723
1569
|
}
|
|
1724
1570
|
current = cleaned;
|
|
1725
1571
|
}
|
|
1726
|
-
while (typeof current === "function")
|
|
1727
|
-
|
|
1728
|
-
if (value === current)
|
|
1729
|
-
return current;
|
|
1572
|
+
while (typeof current === "function") current = current();
|
|
1573
|
+
if (value === current) return current;
|
|
1730
1574
|
const t2 = typeof value, multi = marker !== void 0;
|
|
1731
1575
|
parent = multi && current[0] && current[0].parentNode || parent;
|
|
1732
1576
|
if (t2 === "string" || t2 === "number") {
|
|
1733
|
-
if (hydrating)
|
|
1734
|
-
return current;
|
|
1577
|
+
if (hydrating) return current;
|
|
1735
1578
|
if (t2 === "number") {
|
|
1736
1579
|
value = value.toString();
|
|
1737
|
-
if (value === current)
|
|
1738
|
-
return current;
|
|
1580
|
+
if (value === current) return current;
|
|
1739
1581
|
}
|
|
1740
1582
|
if (multi) {
|
|
1741
1583
|
let node = current[0];
|
|
1742
1584
|
if (node && node.nodeType === 3) {
|
|
1743
1585
|
node.data !== value && (node.data = value);
|
|
1744
|
-
} else
|
|
1745
|
-
node = document.createTextNode(value);
|
|
1586
|
+
} else node = document.createTextNode(value);
|
|
1746
1587
|
current = cleanChildren(parent, current, marker, node);
|
|
1747
1588
|
} else {
|
|
1748
1589
|
if (current !== "" && typeof current === "string") {
|
|
1749
1590
|
current = parent.firstChild.data = value;
|
|
1750
|
-
} else
|
|
1751
|
-
current = parent.textContent = value;
|
|
1591
|
+
} else current = parent.textContent = value;
|
|
1752
1592
|
}
|
|
1753
1593
|
} else if (value == null || t2 === "boolean") {
|
|
1754
|
-
if (hydrating)
|
|
1755
|
-
return current;
|
|
1594
|
+
if (hydrating) return current;
|
|
1756
1595
|
current = cleanChildren(parent, current, marker);
|
|
1757
1596
|
} else if (t2 === "function") {
|
|
1758
1597
|
createRenderEffect(() => {
|
|
1759
1598
|
let v = value();
|
|
1760
|
-
while (typeof v === "function")
|
|
1761
|
-
v = v();
|
|
1599
|
+
while (typeof v === "function") v = v();
|
|
1762
1600
|
current = insertExpression(parent, v, current, marker);
|
|
1763
1601
|
});
|
|
1764
1602
|
return () => current;
|
|
@@ -1770,62 +1608,50 @@ function insertExpression(parent, value, current, marker, unwrapArray) {
|
|
|
1770
1608
|
return () => current;
|
|
1771
1609
|
}
|
|
1772
1610
|
if (hydrating) {
|
|
1773
|
-
if (!array.length)
|
|
1774
|
-
|
|
1775
|
-
if (marker === void 0)
|
|
1776
|
-
return current = [...parent.childNodes];
|
|
1611
|
+
if (!array.length) return current;
|
|
1612
|
+
if (marker === void 0) return current = [...parent.childNodes];
|
|
1777
1613
|
let node = array[0];
|
|
1778
|
-
if (node.parentNode !== parent)
|
|
1779
|
-
return current;
|
|
1614
|
+
if (node.parentNode !== parent) return current;
|
|
1780
1615
|
const nodes = [node];
|
|
1781
|
-
while ((node = node.nextSibling) !== marker)
|
|
1782
|
-
nodes.push(node);
|
|
1616
|
+
while ((node = node.nextSibling) !== marker) nodes.push(node);
|
|
1783
1617
|
return current = nodes;
|
|
1784
1618
|
}
|
|
1785
1619
|
if (array.length === 0) {
|
|
1786
1620
|
current = cleanChildren(parent, current, marker);
|
|
1787
|
-
if (multi)
|
|
1788
|
-
return current;
|
|
1621
|
+
if (multi) return current;
|
|
1789
1622
|
} else if (currentArray) {
|
|
1790
1623
|
if (current.length === 0) {
|
|
1791
1624
|
appendNodes(parent, array, marker);
|
|
1792
|
-
} else
|
|
1793
|
-
reconcileArrays(parent, current, array);
|
|
1625
|
+
} else reconcileArrays(parent, current, array);
|
|
1794
1626
|
} else {
|
|
1795
1627
|
current && cleanChildren(parent);
|
|
1796
1628
|
appendNodes(parent, array);
|
|
1797
1629
|
}
|
|
1798
1630
|
current = array;
|
|
1799
1631
|
} else if (value.nodeType) {
|
|
1800
|
-
if (hydrating && value.parentNode)
|
|
1801
|
-
return current = multi ? [value] : value;
|
|
1632
|
+
if (hydrating && value.parentNode) return current = multi ? [value] : value;
|
|
1802
1633
|
if (Array.isArray(current)) {
|
|
1803
|
-
if (multi)
|
|
1804
|
-
return current = cleanChildren(parent, current, marker, value);
|
|
1634
|
+
if (multi) return current = cleanChildren(parent, current, marker, value);
|
|
1805
1635
|
cleanChildren(parent, current, null, value);
|
|
1806
1636
|
} else if (current == null || current === "" || !parent.firstChild) {
|
|
1807
1637
|
parent.appendChild(value);
|
|
1808
|
-
} else
|
|
1809
|
-
parent.replaceChild(value, parent.firstChild);
|
|
1638
|
+
} else parent.replaceChild(value, parent.firstChild);
|
|
1810
1639
|
current = value;
|
|
1811
|
-
} else
|
|
1812
|
-
;
|
|
1640
|
+
} else ;
|
|
1813
1641
|
return current;
|
|
1814
1642
|
}
|
|
1815
1643
|
function normalizeIncomingArray(normalized, array, current, unwrap) {
|
|
1816
1644
|
let dynamic = false;
|
|
1817
1645
|
for (let i2 = 0, len = array.length; i2 < len; i2++) {
|
|
1818
1646
|
let item = array[i2], prev = current && current[normalized.length], t2;
|
|
1819
|
-
if (item == null || item === true || item === false)
|
|
1820
|
-
;
|
|
1647
|
+
if (item == null || item === true || item === false) ;
|
|
1821
1648
|
else if ((t2 = typeof item) === "object" && item.nodeType) {
|
|
1822
1649
|
normalized.push(item);
|
|
1823
1650
|
} else if (Array.isArray(item)) {
|
|
1824
1651
|
dynamic = normalizeIncomingArray(normalized, item, prev) || dynamic;
|
|
1825
1652
|
} else if (t2 === "function") {
|
|
1826
1653
|
if (unwrap) {
|
|
1827
|
-
while (typeof item === "function")
|
|
1828
|
-
item = item();
|
|
1654
|
+
while (typeof item === "function") item = item();
|
|
1829
1655
|
dynamic = normalizeIncomingArray(
|
|
1830
1656
|
normalized,
|
|
1831
1657
|
Array.isArray(item) ? item : [item],
|
|
@@ -1837,21 +1663,17 @@ function normalizeIncomingArray(normalized, array, current, unwrap) {
|
|
|
1837
1663
|
}
|
|
1838
1664
|
} else {
|
|
1839
1665
|
const value = String(item);
|
|
1840
|
-
if (prev && prev.nodeType === 3 && prev.data === value)
|
|
1841
|
-
|
|
1842
|
-
else
|
|
1843
|
-
normalized.push(document.createTextNode(value));
|
|
1666
|
+
if (prev && prev.nodeType === 3 && prev.data === value) normalized.push(prev);
|
|
1667
|
+
else normalized.push(document.createTextNode(value));
|
|
1844
1668
|
}
|
|
1845
1669
|
}
|
|
1846
1670
|
return dynamic;
|
|
1847
1671
|
}
|
|
1848
1672
|
function appendNodes(parent, array, marker = null) {
|
|
1849
|
-
for (let i2 = 0, len = array.length; i2 < len; i2++)
|
|
1850
|
-
parent.insertBefore(array[i2], marker);
|
|
1673
|
+
for (let i2 = 0, len = array.length; i2 < len; i2++) parent.insertBefore(array[i2], marker);
|
|
1851
1674
|
}
|
|
1852
1675
|
function cleanChildren(parent, current, marker, replacement) {
|
|
1853
|
-
if (marker === void 0)
|
|
1854
|
-
return parent.textContent = "";
|
|
1676
|
+
if (marker === void 0) return parent.textContent = "";
|
|
1855
1677
|
const node = replacement || document.createTextNode("");
|
|
1856
1678
|
if (current.length) {
|
|
1857
1679
|
let inserted = false;
|
|
@@ -1861,13 +1683,10 @@ function cleanChildren(parent, current, marker, replacement) {
|
|
|
1861
1683
|
const isParent = el.parentNode === parent;
|
|
1862
1684
|
if (!inserted && !i2)
|
|
1863
1685
|
isParent ? parent.replaceChild(node, el) : parent.insertBefore(node, marker);
|
|
1864
|
-
else
|
|
1865
|
-
|
|
1866
|
-
} else
|
|
1867
|
-
inserted = true;
|
|
1686
|
+
else isParent && el.remove();
|
|
1687
|
+
} else inserted = true;
|
|
1868
1688
|
}
|
|
1869
|
-
} else
|
|
1870
|
-
parent.insertBefore(node, marker);
|
|
1689
|
+
} else parent.insertBefore(node, marker);
|
|
1871
1690
|
return [node];
|
|
1872
1691
|
}
|
|
1873
1692
|
function getHydrationKey() {
|
|
@@ -1882,8 +1701,7 @@ function Portal(props) {
|
|
|
1882
1701
|
let hydrating = !!sharedConfig.context;
|
|
1883
1702
|
createEffect(
|
|
1884
1703
|
() => {
|
|
1885
|
-
if (hydrating)
|
|
1886
|
-
getOwner().user = hydrating = false;
|
|
1704
|
+
if (hydrating) getOwner().user = hydrating = false;
|
|
1887
1705
|
content || (content = runWithOwner(owner, () => createMemo(() => props.children)));
|
|
1888
1706
|
const el = mount();
|
|
1889
1707
|
if (el instanceof HTMLHeadElement) {
|
|
@@ -1914,25 +1732,28 @@ function Portal(props) {
|
|
|
1914
1732
|
);
|
|
1915
1733
|
return marker;
|
|
1916
1734
|
}
|
|
1917
|
-
function
|
|
1918
|
-
const
|
|
1919
|
-
const cached = createMemo(() => p2.component);
|
|
1735
|
+
function createDynamic(component, props) {
|
|
1736
|
+
const cached = createMemo(component);
|
|
1920
1737
|
return createMemo(() => {
|
|
1921
|
-
const
|
|
1922
|
-
switch (typeof
|
|
1738
|
+
const component2 = cached();
|
|
1739
|
+
switch (typeof component2) {
|
|
1923
1740
|
case "function":
|
|
1924
|
-
return untrack(() =>
|
|
1741
|
+
return untrack(() => component2(props));
|
|
1925
1742
|
case "string":
|
|
1926
|
-
const isSvg = SVGElements.has(
|
|
1927
|
-
const el = sharedConfig.context ? getNextElement() : createElement(
|
|
1928
|
-
spread(el,
|
|
1743
|
+
const isSvg = SVGElements.has(component2);
|
|
1744
|
+
const el = sharedConfig.context ? getNextElement() : createElement(component2, isSvg);
|
|
1745
|
+
spread(el, props, isSvg);
|
|
1929
1746
|
return el;
|
|
1930
1747
|
}
|
|
1931
1748
|
});
|
|
1932
1749
|
}
|
|
1750
|
+
function Dynamic(props) {
|
|
1751
|
+
const [, others] = splitProps(props, ["component"]);
|
|
1752
|
+
return createDynamic(() => props.component, others);
|
|
1753
|
+
}
|
|
1933
1754
|
var booleans, Properties, ChildProperties, Aliases, PropAliases, DelegatedEvents, SVGElements, SVGNamespace, $$EVENTS, isServer, SVG_NAMESPACE;
|
|
1934
1755
|
var init_web = __esm({
|
|
1935
|
-
"../../node_modules/.pnpm/solid-js@1.9.
|
|
1756
|
+
"../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js"() {
|
|
1936
1757
|
init_solid();
|
|
1937
1758
|
init_solid();
|
|
1938
1759
|
booleans = [
|
|
@@ -3127,11 +2948,9 @@ var init_utils = __esm({
|
|
|
3127
2948
|
return oldData;
|
|
3128
2949
|
};
|
|
3129
2950
|
setupStyleSheet = (nonce, target) => {
|
|
3130
|
-
if (!nonce)
|
|
3131
|
-
return;
|
|
2951
|
+
if (!nonce) return;
|
|
3132
2952
|
const styleExists = document.querySelector("#_goober") || target?.querySelector("#_goober");
|
|
3133
|
-
if (styleExists)
|
|
3134
|
-
return;
|
|
2953
|
+
if (styleExists) return;
|
|
3135
2954
|
const styleTag = document.createElement("style");
|
|
3136
2955
|
const textNode = document.createTextNode("");
|
|
3137
2956
|
styleTag.appendChild(textNode);
|
|
@@ -3146,7 +2965,7 @@ var init_utils = __esm({
|
|
|
3146
2965
|
}
|
|
3147
2966
|
});
|
|
3148
2967
|
|
|
3149
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
2968
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js
|
|
3150
2969
|
function chain(callbacks) {
|
|
3151
2970
|
return (...args) => {
|
|
3152
2971
|
for (const callback of callbacks)
|
|
@@ -3189,7 +3008,7 @@ function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
|
3189
3008
|
}
|
|
3190
3009
|
var isClient, isDev, noop, isNonNullable, filterNonNullable, access, asArray, tryOnCleanup;
|
|
3191
3010
|
var init_R5675YMU = __esm({
|
|
3192
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3011
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/chunk/R5675YMU.js"() {
|
|
3193
3012
|
init_solid();
|
|
3194
3013
|
init_web();
|
|
3195
3014
|
isClient = !isServer;
|
|
@@ -3203,14 +3022,14 @@ var init_R5675YMU = __esm({
|
|
|
3203
3022
|
}
|
|
3204
3023
|
});
|
|
3205
3024
|
|
|
3206
|
-
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3025
|
+
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js
|
|
3207
3026
|
var init_index = __esm({
|
|
3208
|
-
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.
|
|
3027
|
+
"../../node_modules/.pnpm/@solid-primitives+utils@6.2.3_solid-js@1.9.5/node_modules/@solid-primitives/utils/dist/index/index.js"() {
|
|
3209
3028
|
init_R5675YMU();
|
|
3210
3029
|
}
|
|
3211
3030
|
});
|
|
3212
3031
|
|
|
3213
|
-
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3032
|
+
// ../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js
|
|
3214
3033
|
function createStorage(props) {
|
|
3215
3034
|
const [error, setError] = createSignal();
|
|
3216
3035
|
const handleError2 = props?.throw ? (err, fallback) => {
|
|
@@ -3355,7 +3174,7 @@ function createStorage(props) {
|
|
|
3355
3174
|
}
|
|
3356
3175
|
var createLocalStorage, addClearMethod, serializeCookieOptions, cookieStorage;
|
|
3357
3176
|
var init_dist4 = __esm({
|
|
3358
|
-
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.
|
|
3177
|
+
"../../node_modules/.pnpm/@solid-primitives+storage@1.3.11_solid-js@1.9.5/node_modules/@solid-primitives/storage/dist/index.js"() {
|
|
3359
3178
|
init_solid();
|
|
3360
3179
|
createLocalStorage = createStorage;
|
|
3361
3180
|
addClearMethod = (storage) => {
|
|
@@ -4060,8 +3879,7 @@ var init_goober_modern = __esm({
|
|
|
4060
3879
|
s = (e2) => {
|
|
4061
3880
|
if ("object" == typeof e2) {
|
|
4062
3881
|
let t2 = "";
|
|
4063
|
-
for (let r2 in e2)
|
|
4064
|
-
t2 += r2 + s(e2[r2]);
|
|
3882
|
+
for (let r2 in e2) t2 += r2 + s(e2[r2]);
|
|
4065
3883
|
return t2;
|
|
4066
3884
|
}
|
|
4067
3885
|
return e2;
|
|
@@ -4069,15 +3887,13 @@ var init_goober_modern = __esm({
|
|
|
4069
3887
|
i = (e2, t2, r2, i2, p2) => {
|
|
4070
3888
|
let u2 = s(e2), d = c[u2] || (c[u2] = ((e3) => {
|
|
4071
3889
|
let t3 = 0, r3 = 11;
|
|
4072
|
-
for (; t3 < e3.length; )
|
|
4073
|
-
r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
|
|
3890
|
+
for (; t3 < e3.length; ) r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
|
|
4074
3891
|
return "go" + r3;
|
|
4075
3892
|
})(u2));
|
|
4076
3893
|
if (!c[d]) {
|
|
4077
3894
|
let t3 = u2 !== e2 ? e2 : ((e3) => {
|
|
4078
3895
|
let t4, r3, o2 = [{}];
|
|
4079
|
-
for (; t4 = l.exec(e3.replace(a, "")); )
|
|
4080
|
-
t4[4] ? o2.shift() : t4[3] ? (r3 = t4[3].replace(n, " ").trim(), o2.unshift(o2[0][r3] = o2[0][r3] || {})) : o2[0][t4[1]] = t4[2].replace(n, " ").trim();
|
|
3896
|
+
for (; t4 = l.exec(e3.replace(a, "")); ) t4[4] ? o2.shift() : t4[3] ? (r3 = t4[3].replace(n, " ").trim(), o2.unshift(o2[0][r3] = o2[0][r3] || {})) : o2[0][t4[1]] = t4[2].replace(n, " ").trim();
|
|
4081
3897
|
return o2[0];
|
|
4082
3898
|
})(e2);
|
|
4083
3899
|
c[d] = o(p2 ? { ["@keyframes " + d]: t3 } : t3, r2 ? "" : "." + d);
|
|
@@ -4103,21 +3919,15 @@ var init_goober_modern = __esm({
|
|
|
4103
3919
|
// ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
4104
3920
|
function r(e2) {
|
|
4105
3921
|
var t2, f, n2 = "";
|
|
4106
|
-
if ("string" == typeof e2 || "number" == typeof e2)
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
for (t2 = 0; t2 < o2; t2++)
|
|
4112
|
-
e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
|
|
4113
|
-
} else
|
|
4114
|
-
for (f in e2)
|
|
4115
|
-
e2[f] && (n2 && (n2 += " "), n2 += f);
|
|
3922
|
+
if ("string" == typeof e2 || "number" == typeof e2) n2 += e2;
|
|
3923
|
+
else if ("object" == typeof e2) if (Array.isArray(e2)) {
|
|
3924
|
+
var o2 = e2.length;
|
|
3925
|
+
for (t2 = 0; t2 < o2; t2++) e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
|
|
3926
|
+
} else for (f in e2) e2[f] && (n2 && (n2 += " "), n2 += f);
|
|
4116
3927
|
return n2;
|
|
4117
3928
|
}
|
|
4118
3929
|
function clsx() {
|
|
4119
|
-
for (var e2, t2, f = 0, n2 = "", o2 = arguments.length; f < o2; f++)
|
|
4120
|
-
(e2 = arguments[f]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
3930
|
+
for (var e2, t2, f = 0, n2 = "", o2 = arguments.length; f < o2; f++) (e2 = arguments[f]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
4121
3931
|
return n2;
|
|
4122
3932
|
}
|
|
4123
3933
|
var init_clsx = __esm({
|
|
@@ -4125,7 +3935,7 @@ var init_clsx = __esm({
|
|
|
4125
3935
|
}
|
|
4126
3936
|
});
|
|
4127
3937
|
|
|
4128
|
-
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
3938
|
+
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
4129
3939
|
function createListTransition(source, options) {
|
|
4130
3940
|
const initSource = untrack(source);
|
|
4131
3941
|
if (isServer) {
|
|
@@ -4191,13 +4001,13 @@ function createListTransition(source, options) {
|
|
|
4191
4001
|
);
|
|
4192
4002
|
}
|
|
4193
4003
|
var init_dist5 = __esm({
|
|
4194
|
-
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.
|
|
4004
|
+
"../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.5_solid-js@1.9.5/node_modules/@solid-primitives/transition-group/dist/index.js"() {
|
|
4195
4005
|
init_solid();
|
|
4196
4006
|
init_web();
|
|
4197
4007
|
}
|
|
4198
4008
|
});
|
|
4199
4009
|
|
|
4200
|
-
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4010
|
+
// ../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js
|
|
4201
4011
|
function mergeRefs(...refs) {
|
|
4202
4012
|
return chain(refs);
|
|
4203
4013
|
}
|
|
@@ -4230,7 +4040,7 @@ function resolveElements(fn, predicate = defaultElementPredicate, serverPredicat
|
|
|
4230
4040
|
}
|
|
4231
4041
|
var defaultElementPredicate;
|
|
4232
4042
|
var init_dist6 = __esm({
|
|
4233
|
-
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.
|
|
4043
|
+
"../../node_modules/.pnpm/@solid-primitives+refs@1.0.8_solid-js@1.9.5/node_modules/@solid-primitives/refs/dist/index.js"() {
|
|
4234
4044
|
init_index();
|
|
4235
4045
|
init_solid();
|
|
4236
4046
|
init_web();
|
|
@@ -4238,7 +4048,7 @@ var init_dist6 = __esm({
|
|
|
4238
4048
|
}
|
|
4239
4049
|
});
|
|
4240
4050
|
|
|
4241
|
-
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4051
|
+
// ../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js
|
|
4242
4052
|
function createClassnames(props) {
|
|
4243
4053
|
return createMemo(() => {
|
|
4244
4054
|
const name = props.name || "s";
|
|
@@ -4313,7 +4123,7 @@ function exitTransition(classes, events, el, done) {
|
|
|
4313
4123
|
}
|
|
4314
4124
|
var TransitionGroup;
|
|
4315
4125
|
var init_dist7 = __esm({
|
|
4316
|
-
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.
|
|
4126
|
+
"../../node_modules/.pnpm/solid-transition-group@0.2.3_solid-js@1.9.5/node_modules/solid-transition-group/dist/index.js"() {
|
|
4317
4127
|
init_solid();
|
|
4318
4128
|
init_dist5();
|
|
4319
4129
|
init_dist6();
|
|
@@ -4366,7 +4176,7 @@ var init_dist7 = __esm({
|
|
|
4366
4176
|
}
|
|
4367
4177
|
});
|
|
4368
4178
|
|
|
4369
|
-
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4179
|
+
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js
|
|
4370
4180
|
function dispose2(list) {
|
|
4371
4181
|
for (const o2 of list)
|
|
4372
4182
|
o2.dispose();
|
|
@@ -4464,14 +4274,14 @@ function Key(props) {
|
|
|
4464
4274
|
}
|
|
4465
4275
|
var FALLBACK2;
|
|
4466
4276
|
var init_dist8 = __esm({
|
|
4467
|
-
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.
|
|
4277
|
+
"../../node_modules/.pnpm/@solid-primitives+keyed@1.2.2_solid-js@1.9.5/node_modules/@solid-primitives/keyed/dist/index.js"() {
|
|
4468
4278
|
init_solid();
|
|
4469
4279
|
init_web();
|
|
4470
4280
|
FALLBACK2 = Symbol("fallback");
|
|
4471
4281
|
}
|
|
4472
4282
|
});
|
|
4473
4283
|
|
|
4474
|
-
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4284
|
+
// ../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js
|
|
4475
4285
|
function makeEventListener(target, type, handler, options) {
|
|
4476
4286
|
target.addEventListener(type, handler, options);
|
|
4477
4287
|
return tryOnCleanup(target.removeEventListener.bind(target, type, handler, options));
|
|
@@ -4491,14 +4301,14 @@ function createEventListener(targets, type, handler, options) {
|
|
|
4491
4301
|
createRenderEffect(attachListeners);
|
|
4492
4302
|
}
|
|
4493
4303
|
var init_dist9 = __esm({
|
|
4494
|
-
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.
|
|
4304
|
+
"../../node_modules/.pnpm/@solid-primitives+event-listener@2.3.3_solid-js@1.9.5/node_modules/@solid-primitives/event-listener/dist/index.js"() {
|
|
4495
4305
|
init_index();
|
|
4496
4306
|
init_solid();
|
|
4497
4307
|
init_web();
|
|
4498
4308
|
}
|
|
4499
4309
|
});
|
|
4500
4310
|
|
|
4501
|
-
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4311
|
+
// ../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js
|
|
4502
4312
|
function makeResizeObserver(callback, options) {
|
|
4503
4313
|
if (isServer) {
|
|
4504
4314
|
return { observe: noop, unobserve: noop };
|
|
@@ -4529,14 +4339,14 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
4529
4339
|
}, []);
|
|
4530
4340
|
}
|
|
4531
4341
|
var init_dist10 = __esm({
|
|
4532
|
-
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.
|
|
4342
|
+
"../../node_modules/.pnpm/@solid-primitives+resize-observer@2.0.26_solid-js@1.9.5/node_modules/@solid-primitives/resize-observer/dist/index.js"() {
|
|
4533
4343
|
init_index();
|
|
4534
4344
|
init_solid();
|
|
4535
4345
|
init_web();
|
|
4536
4346
|
}
|
|
4537
4347
|
});
|
|
4538
4348
|
|
|
4539
|
-
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4349
|
+
// ../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js
|
|
4540
4350
|
function stringStyleToObject(style2) {
|
|
4541
4351
|
const object = {};
|
|
4542
4352
|
let match;
|
|
@@ -4557,12 +4367,12 @@ function combineStyle(a2, b2) {
|
|
|
4557
4367
|
}
|
|
4558
4368
|
var extractCSSregex;
|
|
4559
4369
|
var init_dist11 = __esm({
|
|
4560
|
-
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.
|
|
4370
|
+
"../../node_modules/.pnpm/@solid-primitives+props@3.1.11_solid-js@1.9.5/node_modules/@solid-primitives/props/dist/index.js"() {
|
|
4561
4371
|
extractCSSregex = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
4562
4372
|
}
|
|
4563
4373
|
});
|
|
4564
4374
|
|
|
4565
|
-
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4375
|
+
// ../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js
|
|
4566
4376
|
function addItemToArray(array, item, index = -1) {
|
|
4567
4377
|
if (!(index in array)) {
|
|
4568
4378
|
return [...array, item];
|
|
@@ -4948,7 +4758,7 @@ function scrollIntoViewport(targetElement, opts) {
|
|
|
4948
4758
|
}
|
|
4949
4759
|
var EventKey, supportsPreventScrollCached, focusableElements, tabbableElements, FOCUSABLE_ELEMENT_SELECTOR, TABBABLE_ELEMENT_SELECTOR, transitionsByElement, transitionCallbacks, visuallyHiddenStyles;
|
|
4950
4760
|
var init_dist12 = __esm({
|
|
4951
|
-
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.
|
|
4761
|
+
"../../node_modules/.pnpm/@kobalte+utils@0.9.0_solid-js@1.9.5/node_modules/@kobalte/utils/dist/index.js"() {
|
|
4952
4762
|
init_solid();
|
|
4953
4763
|
init_dist9();
|
|
4954
4764
|
init_dist6();
|
|
@@ -5013,7 +4823,7 @@ var init_dist12 = __esm({
|
|
|
5013
4823
|
}
|
|
5014
4824
|
});
|
|
5015
4825
|
|
|
5016
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4826
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js
|
|
5017
4827
|
function createRegisterId(setter) {
|
|
5018
4828
|
return (id) => {
|
|
5019
4829
|
setter(id);
|
|
@@ -5021,11 +4831,11 @@ function createRegisterId(setter) {
|
|
|
5021
4831
|
};
|
|
5022
4832
|
}
|
|
5023
4833
|
var init_E4R2EMM4 = __esm({
|
|
5024
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4834
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/E4R2EMM4.js"() {
|
|
5025
4835
|
}
|
|
5026
4836
|
});
|
|
5027
4837
|
|
|
5028
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4838
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js
|
|
5029
4839
|
function createTagName(ref, fallback) {
|
|
5030
4840
|
const [tagName, setTagName] = createSignal(stringOrUndefined(fallback?.()));
|
|
5031
4841
|
createEffect(() => {
|
|
@@ -5037,13 +4847,13 @@ function stringOrUndefined(value) {
|
|
|
5037
4847
|
return isString2(value) ? value : void 0;
|
|
5038
4848
|
}
|
|
5039
4849
|
var init_ET5T45DO = __esm({
|
|
5040
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4850
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ET5T45DO.js"() {
|
|
5041
4851
|
init_dist12();
|
|
5042
4852
|
init_solid();
|
|
5043
4853
|
}
|
|
5044
4854
|
});
|
|
5045
4855
|
|
|
5046
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4856
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js
|
|
5047
4857
|
function Polymorphic(props) {
|
|
5048
4858
|
const [local, others] = splitProps(props, ["as"]);
|
|
5049
4859
|
if (!local.as) {
|
|
@@ -5059,13 +4869,13 @@ function Polymorphic(props) {
|
|
|
5059
4869
|
);
|
|
5060
4870
|
}
|
|
5061
4871
|
var init_Y7B2NEO = __esm({
|
|
5062
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4872
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/6Y7B2NEO.js"() {
|
|
5063
4873
|
init_web();
|
|
5064
4874
|
init_solid();
|
|
5065
4875
|
}
|
|
5066
4876
|
});
|
|
5067
4877
|
|
|
5068
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4878
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js
|
|
5069
4879
|
function createFormControl(props) {
|
|
5070
4880
|
const defaultId = `form-control-${createUniqueId()}`;
|
|
5071
4881
|
const mergedProps = mergeDefaultProps({
|
|
@@ -5186,7 +4996,7 @@ function FormControlLabel(props) {
|
|
|
5186
4996
|
}
|
|
5187
4997
|
var FORM_CONTROL_PROP_NAMES, FormControlContext;
|
|
5188
4998
|
var init_Q2DJLZQE = __esm({
|
|
5189
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
4999
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2DJLZQE.js"() {
|
|
5190
5000
|
init_E4R2EMM4();
|
|
5191
5001
|
init_ET5T45DO();
|
|
5192
5002
|
init_Y7B2NEO();
|
|
@@ -5198,7 +5008,7 @@ var init_Q2DJLZQE = __esm({
|
|
|
5198
5008
|
}
|
|
5199
5009
|
});
|
|
5200
5010
|
|
|
5201
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5011
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js
|
|
5202
5012
|
function createFormResetListener(element, handler) {
|
|
5203
5013
|
createEffect(
|
|
5204
5014
|
on(element, (element2) => {
|
|
@@ -5223,12 +5033,12 @@ function isFormElement(element) {
|
|
|
5223
5033
|
return element.matches("textarea, input, select, button");
|
|
5224
5034
|
}
|
|
5225
5035
|
var init_ANN3A2QM = __esm({
|
|
5226
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5036
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ANN3A2QM.js"() {
|
|
5227
5037
|
init_solid();
|
|
5228
5038
|
}
|
|
5229
5039
|
});
|
|
5230
5040
|
|
|
5231
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5041
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js
|
|
5232
5042
|
function createControllableSignal(props) {
|
|
5233
5043
|
const [_value, _setValue] = createSignal(props.defaultValue?.());
|
|
5234
5044
|
const isControlled = createMemo(() => props.value?.() !== void 0);
|
|
@@ -5258,13 +5068,13 @@ function createControllableArraySignal(props) {
|
|
|
5258
5068
|
return [value, setValue];
|
|
5259
5069
|
}
|
|
5260
5070
|
var init_BLN63FDC = __esm({
|
|
5261
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5071
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/BLN63FDC.js"() {
|
|
5262
5072
|
init_dist12();
|
|
5263
5073
|
init_solid();
|
|
5264
5074
|
}
|
|
5265
5075
|
});
|
|
5266
5076
|
|
|
5267
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5077
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js
|
|
5268
5078
|
function createToggleState(props = {}) {
|
|
5269
5079
|
const [isSelected, _setIsSelected] = createControllableBooleanSignal({
|
|
5270
5080
|
value: () => access(props.isSelected),
|
|
@@ -5288,16 +5098,16 @@ function createToggleState(props = {}) {
|
|
|
5288
5098
|
};
|
|
5289
5099
|
}
|
|
5290
5100
|
var init_YGDQXQ2B = __esm({
|
|
5291
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5101
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YGDQXQ2B.js"() {
|
|
5292
5102
|
init_BLN63FDC();
|
|
5293
5103
|
init_dist12();
|
|
5294
5104
|
}
|
|
5295
5105
|
});
|
|
5296
5106
|
|
|
5297
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5107
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js
|
|
5298
5108
|
var __defProp2, __export2;
|
|
5299
5109
|
var init_ZKAE4VZ = __esm({
|
|
5300
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5110
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/5ZKAE4VZ.js"() {
|
|
5301
5111
|
__defProp2 = Object.defineProperty;
|
|
5302
5112
|
__export2 = (target, all) => {
|
|
5303
5113
|
for (var name in all)
|
|
@@ -5306,7 +5116,7 @@ var init_ZKAE4VZ = __esm({
|
|
|
5306
5116
|
}
|
|
5307
5117
|
});
|
|
5308
5118
|
|
|
5309
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5119
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js
|
|
5310
5120
|
function useOptionalDomCollectionContext() {
|
|
5311
5121
|
return useContext(DomCollectionContext);
|
|
5312
5122
|
}
|
|
@@ -5470,7 +5280,7 @@ function createDomCollectionItem(props) {
|
|
|
5470
5280
|
}
|
|
5471
5281
|
var DomCollectionContext;
|
|
5472
5282
|
var init_CVNMTYF = __esm({
|
|
5473
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5283
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7CVNMTYF.js"() {
|
|
5474
5284
|
init_BLN63FDC();
|
|
5475
5285
|
init_dist12();
|
|
5476
5286
|
init_solid();
|
|
@@ -5478,7 +5288,7 @@ var init_CVNMTYF = __esm({
|
|
|
5478
5288
|
}
|
|
5479
5289
|
});
|
|
5480
5290
|
|
|
5481
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5291
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js
|
|
5482
5292
|
function buildNodes(params) {
|
|
5483
5293
|
let index = params.startIndex ?? 0;
|
|
5484
5294
|
const level = params.startLevel ?? 0;
|
|
@@ -5587,13 +5397,13 @@ function createCollection(props, deps = []) {
|
|
|
5587
5397
|
});
|
|
5588
5398
|
}
|
|
5589
5399
|
var init_JMA2RWU6 = __esm({
|
|
5590
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5400
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/JMA2RWU6.js"() {
|
|
5591
5401
|
init_dist12();
|
|
5592
5402
|
init_solid();
|
|
5593
5403
|
}
|
|
5594
5404
|
});
|
|
5595
5405
|
|
|
5596
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5406
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js
|
|
5597
5407
|
function isRTL(locale) {
|
|
5598
5408
|
if (Intl.Locale) {
|
|
5599
5409
|
const script = new Intl.Locale(locale).maximize().script ?? "";
|
|
@@ -5670,7 +5480,7 @@ function createCollator(options) {
|
|
|
5670
5480
|
}
|
|
5671
5481
|
var RTL_SCRIPTS, RTL_LANGS, currentLocale, listeners, I18nContext, cache;
|
|
5672
5482
|
var init_XHJPQEZP = __esm({
|
|
5673
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5483
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/XHJPQEZP.js"() {
|
|
5674
5484
|
init_solid();
|
|
5675
5485
|
init_web();
|
|
5676
5486
|
RTL_SCRIPTS = /* @__PURE__ */ new Set([
|
|
@@ -5715,7 +5525,7 @@ var init_XHJPQEZP = __esm({
|
|
|
5715
5525
|
}
|
|
5716
5526
|
});
|
|
5717
5527
|
|
|
5718
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
5528
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js
|
|
5719
5529
|
function createControllableSelectionSignal(props) {
|
|
5720
5530
|
const [_value, setValue] = createControllableSignal(props);
|
|
5721
5531
|
const value = () => _value() ?? new Selection();
|
|
@@ -6324,7 +6134,7 @@ function createListState(props) {
|
|
|
6324
6134
|
}
|
|
6325
6135
|
var Selection, SelectionManager, ListCollection;
|
|
6326
6136
|
var init_H6DSIDEC = __esm({
|
|
6327
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6137
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/H6DSIDEC.js"() {
|
|
6328
6138
|
init_JMA2RWU6();
|
|
6329
6139
|
init_XHJPQEZP();
|
|
6330
6140
|
init_BLN63FDC();
|
|
@@ -6710,32 +6520,31 @@ var init_H6DSIDEC = __esm({
|
|
|
6710
6520
|
}
|
|
6711
6521
|
});
|
|
6712
6522
|
|
|
6713
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6523
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js
|
|
6714
6524
|
var access2;
|
|
6715
6525
|
var init_ZV6G25TT = __esm({
|
|
6716
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6526
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/ZV6G25TT.js"() {
|
|
6717
6527
|
access2 = (v) => typeof v === "function" ? v() : v;
|
|
6718
6528
|
}
|
|
6719
6529
|
});
|
|
6720
6530
|
|
|
6721
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6531
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js
|
|
6722
6532
|
var init_reactivity = __esm({
|
|
6723
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
6533
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/reactivity/index.js"() {
|
|
6724
6534
|
init_ZV6G25TT();
|
|
6725
6535
|
}
|
|
6726
6536
|
});
|
|
6727
6537
|
|
|
6728
|
-
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6538
|
+
// ../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js
|
|
6729
6539
|
var createPresence, presence_default, src_default;
|
|
6730
6540
|
var init_dist13 = __esm({
|
|
6731
|
-
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.
|
|
6541
|
+
"../../node_modules/.pnpm/solid-presence@0.1.7_solid-js@1.9.5/node_modules/solid-presence/dist/index.js"() {
|
|
6732
6542
|
init_reactivity();
|
|
6733
6543
|
init_solid();
|
|
6734
6544
|
createPresence = (props) => {
|
|
6735
6545
|
const refStyles = createMemo(() => {
|
|
6736
6546
|
const element = access2(props.element);
|
|
6737
|
-
if (!element)
|
|
6738
|
-
return;
|
|
6547
|
+
if (!element) return;
|
|
6739
6548
|
return getComputedStyle(element);
|
|
6740
6549
|
});
|
|
6741
6550
|
const getAnimationName = () => {
|
|
@@ -6746,8 +6555,7 @@ var init_dist13 = __esm({
|
|
|
6746
6555
|
createEffect((prevShow) => {
|
|
6747
6556
|
const show = access2(props.show);
|
|
6748
6557
|
untrack(() => {
|
|
6749
|
-
if (prevShow === show)
|
|
6750
|
-
return show;
|
|
6558
|
+
if (prevShow === show) return show;
|
|
6751
6559
|
const prevAnimationName = animationName;
|
|
6752
6560
|
const currentAnimationName = getAnimationName();
|
|
6753
6561
|
if (show) {
|
|
@@ -6767,8 +6575,7 @@ var init_dist13 = __esm({
|
|
|
6767
6575
|
});
|
|
6768
6576
|
createEffect(() => {
|
|
6769
6577
|
const element = access2(props.element);
|
|
6770
|
-
if (!element)
|
|
6771
|
-
return;
|
|
6578
|
+
if (!element) return;
|
|
6772
6579
|
const handleAnimationStart = (event) => {
|
|
6773
6580
|
if (event.target === element) {
|
|
6774
6581
|
animationName = getAnimationName();
|
|
@@ -6802,7 +6609,7 @@ var init_dist13 = __esm({
|
|
|
6802
6609
|
}
|
|
6803
6610
|
});
|
|
6804
6611
|
|
|
6805
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6612
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js
|
|
6806
6613
|
function indexOf(node) {
|
|
6807
6614
|
return layers.findIndex((layer) => layer.node === node);
|
|
6808
6615
|
}
|
|
@@ -6863,7 +6670,7 @@ function restoreBodyPointerEvents(node) {
|
|
|
6863
6670
|
}
|
|
6864
6671
|
var DATA_TOP_LAYER_ATTR, originalBodyPointerEvents, hasDisabledBodyPointerEvents, layers, layerStack;
|
|
6865
6672
|
var init_ZKYDDHM6 = __esm({
|
|
6866
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6673
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ZKYDDHM6.js"() {
|
|
6867
6674
|
init_dist12();
|
|
6868
6675
|
DATA_TOP_LAYER_ATTR = "data-kb-top-layer";
|
|
6869
6676
|
hasDisabledBodyPointerEvents = false;
|
|
@@ -6884,7 +6691,7 @@ var init_ZKYDDHM6 = __esm({
|
|
|
6884
6691
|
}
|
|
6885
6692
|
});
|
|
6886
6693
|
|
|
6887
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6694
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js
|
|
6888
6695
|
function isButton(element) {
|
|
6889
6696
|
const tagName = element.tagName.toLowerCase();
|
|
6890
6697
|
if (tagName === "button") {
|
|
@@ -6946,7 +6753,7 @@ function ButtonRoot(props) {
|
|
|
6946
6753
|
}
|
|
6947
6754
|
var button_exports, BUTTON_INPUT_TYPES, Button;
|
|
6948
6755
|
var init_OVKXYPU = __esm({
|
|
6949
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
6756
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7OVKXYPU.js"() {
|
|
6950
6757
|
init_ET5T45DO();
|
|
6951
6758
|
init_Y7B2NEO();
|
|
6952
6759
|
init_ZKAE4VZ();
|
|
@@ -7023,8 +6830,7 @@ function getSideList(side, isStart, rtl) {
|
|
|
7023
6830
|
switch (side) {
|
|
7024
6831
|
case "top":
|
|
7025
6832
|
case "bottom":
|
|
7026
|
-
if (rtl)
|
|
7027
|
-
return isStart ? rl : lr;
|
|
6833
|
+
if (rtl) return isStart ? rl : lr;
|
|
7028
6834
|
return isStart ? lr : rl;
|
|
7029
6835
|
case "left":
|
|
7030
6836
|
case "right":
|
|
@@ -7817,8 +7623,7 @@ function getContainingBlock(element) {
|
|
|
7817
7623
|
return null;
|
|
7818
7624
|
}
|
|
7819
7625
|
function isWebKit() {
|
|
7820
|
-
if (typeof CSS === "undefined" || !CSS.supports)
|
|
7821
|
-
return false;
|
|
7626
|
+
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
7822
7627
|
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
7823
7628
|
}
|
|
7824
7629
|
function isLastTraversableNode(node) {
|
|
@@ -8453,7 +8258,7 @@ var init_floating_ui_dom = __esm({
|
|
|
8453
8258
|
}
|
|
8454
8259
|
});
|
|
8455
8260
|
|
|
8456
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8261
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js
|
|
8457
8262
|
function usePopperContext() {
|
|
8458
8263
|
const context = useContext(PopperContext);
|
|
8459
8264
|
if (context === void 0) {
|
|
@@ -8758,7 +8563,7 @@ function PopperRoot(props) {
|
|
|
8758
8563
|
}
|
|
8759
8564
|
var PopperContext, _tmpl$, DEFAULT_SIZE, HALF_DEFAULT_SIZE, ROTATION_DEG, REVERSE_BASE_PLACEMENT, Popper;
|
|
8760
8565
|
var init_X2EKUJ3 = __esm({
|
|
8761
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8566
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/4X2EKUJ3.js"() {
|
|
8762
8567
|
init_XHJPQEZP();
|
|
8763
8568
|
init_Y7B2NEO();
|
|
8764
8569
|
init_web();
|
|
@@ -8791,7 +8596,7 @@ var init_X2EKUJ3 = __esm({
|
|
|
8791
8596
|
}
|
|
8792
8597
|
});
|
|
8793
8598
|
|
|
8794
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8599
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js
|
|
8795
8600
|
function createEscapeKeyDown(props) {
|
|
8796
8601
|
const handleKeyDown = (event) => {
|
|
8797
8602
|
if (event.key === EventKey.Escape) {
|
|
@@ -8813,14 +8618,14 @@ function createEscapeKeyDown(props) {
|
|
|
8813
8618
|
});
|
|
8814
8619
|
}
|
|
8815
8620
|
var init_QEMPLYZX = __esm({
|
|
8816
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8621
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QEMPLYZX.js"() {
|
|
8817
8622
|
init_dist12();
|
|
8818
8623
|
init_solid();
|
|
8819
8624
|
init_web();
|
|
8820
8625
|
}
|
|
8821
8626
|
});
|
|
8822
8627
|
|
|
8823
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8628
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js
|
|
8824
8629
|
function createInteractOutside(props, ref) {
|
|
8825
8630
|
let pointerDownTimeoutId;
|
|
8826
8631
|
let clickHandler = noop3;
|
|
@@ -8921,7 +8726,7 @@ function createInteractOutside(props, ref) {
|
|
|
8921
8726
|
}
|
|
8922
8727
|
var POINTER_DOWN_OUTSIDE_EVENT, FOCUS_OUTSIDE_EVENT;
|
|
8923
8728
|
var init_QGCMYLTA = __esm({
|
|
8924
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8729
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/QGCMYLTA.js"() {
|
|
8925
8730
|
init_ZKYDDHM6();
|
|
8926
8731
|
init_dist12();
|
|
8927
8732
|
init_solid();
|
|
@@ -8931,7 +8736,7 @@ var init_QGCMYLTA = __esm({
|
|
|
8931
8736
|
}
|
|
8932
8737
|
});
|
|
8933
8738
|
|
|
8934
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8739
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js
|
|
8935
8740
|
function useOptionalDismissableLayerContext() {
|
|
8936
8741
|
return useContext(DismissableLayerContext);
|
|
8937
8742
|
}
|
|
@@ -9050,7 +8855,7 @@ function DismissableLayer(props) {
|
|
|
9050
8855
|
}
|
|
9051
8856
|
var DismissableLayerContext;
|
|
9052
8857
|
var init_G7G3PFRJ = __esm({
|
|
9053
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8858
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/G7G3PFRJ.js"() {
|
|
9054
8859
|
init_QEMPLYZX();
|
|
9055
8860
|
init_QGCMYLTA();
|
|
9056
8861
|
init_ZKYDDHM6();
|
|
@@ -9062,7 +8867,7 @@ var init_G7G3PFRJ = __esm({
|
|
|
9062
8867
|
}
|
|
9063
8868
|
});
|
|
9064
8869
|
|
|
9065
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8870
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js
|
|
9066
8871
|
function createDisclosureState(props = {}) {
|
|
9067
8872
|
const [isOpen, setIsOpen] = createControllableBooleanSignal({
|
|
9068
8873
|
value: () => access(props.open),
|
|
@@ -9087,13 +8892,13 @@ function createDisclosureState(props = {}) {
|
|
|
9087
8892
|
};
|
|
9088
8893
|
}
|
|
9089
8894
|
var init_LCANGHD = __esm({
|
|
9090
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8895
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/7LCANGHD.js"() {
|
|
9091
8896
|
init_BLN63FDC();
|
|
9092
8897
|
init_dist12();
|
|
9093
8898
|
}
|
|
9094
8899
|
});
|
|
9095
8900
|
|
|
9096
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
8901
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js
|
|
9097
8902
|
function useRadioGroupContext() {
|
|
9098
8903
|
const context = useContext(RadioGroupContext);
|
|
9099
8904
|
if (context === void 0) {
|
|
@@ -9428,7 +9233,7 @@ function RadioGroupRoot(props) {
|
|
|
9428
9233
|
}
|
|
9429
9234
|
var radio_group_exports, RadioGroupContext, RadioGroupItemContext, RadioGroup;
|
|
9430
9235
|
var init_Q2BOFK7I = __esm({
|
|
9431
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9236
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/Q2BOFK7I.js"() {
|
|
9432
9237
|
init_Q2DJLZQE();
|
|
9433
9238
|
init_ANN3A2QM();
|
|
9434
9239
|
init_E4R2EMM4();
|
|
@@ -9470,7 +9275,7 @@ var init_Q2BOFK7I = __esm({
|
|
|
9470
9275
|
}
|
|
9471
9276
|
});
|
|
9472
9277
|
|
|
9473
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9278
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js
|
|
9474
9279
|
function createSelectableList(props, ref, scrollRef) {
|
|
9475
9280
|
const collator = createCollator({ usage: "search", sensitivity: "base" });
|
|
9476
9281
|
const delegate = createMemo(() => {
|
|
@@ -9500,7 +9305,7 @@ function createSelectableList(props, ref, scrollRef) {
|
|
|
9500
9305
|
}
|
|
9501
9306
|
var ListKeyboardDelegate;
|
|
9502
9307
|
var init_GLKC2QFF = __esm({
|
|
9503
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9308
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/GLKC2QFF.js"() {
|
|
9504
9309
|
init_H6DSIDEC();
|
|
9505
9310
|
init_XHJPQEZP();
|
|
9506
9311
|
init_dist12();
|
|
@@ -9614,7 +9419,7 @@ var init_GLKC2QFF = __esm({
|
|
|
9614
9419
|
}
|
|
9615
9420
|
});
|
|
9616
9421
|
|
|
9617
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9422
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js
|
|
9618
9423
|
function createFocusScope(props, ref) {
|
|
9619
9424
|
const [isPaused, setIsPaused] = createSignal(false);
|
|
9620
9425
|
const focusScope = {
|
|
@@ -9792,7 +9597,7 @@ function createFocusScope(props, ref) {
|
|
|
9792
9597
|
}
|
|
9793
9598
|
var AUTOFOCUS_ON_MOUNT_EVENT, AUTOFOCUS_ON_UNMOUNT_EVENT, EVENT_OPTIONS, focusScopeStack;
|
|
9794
9599
|
var init_ISKHZMHS = __esm({
|
|
9795
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9600
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/ISKHZMHS.js"() {
|
|
9796
9601
|
init_ZKYDDHM6();
|
|
9797
9602
|
init_dist12();
|
|
9798
9603
|
init_solid();
|
|
@@ -9824,15 +9629,15 @@ var init_ISKHZMHS = __esm({
|
|
|
9824
9629
|
}
|
|
9825
9630
|
});
|
|
9826
9631
|
|
|
9827
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9632
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js
|
|
9828
9633
|
var DATA_LIVE_ANNOUNCER_ATTR;
|
|
9829
9634
|
var init_YA7DCYMB = __esm({
|
|
9830
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9635
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/YA7DCYMB.js"() {
|
|
9831
9636
|
DATA_LIVE_ANNOUNCER_ATTR = "data-live-announcer";
|
|
9832
9637
|
}
|
|
9833
9638
|
});
|
|
9834
9639
|
|
|
9835
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9640
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js
|
|
9836
9641
|
function createHideOutside(props) {
|
|
9837
9642
|
createEffect(() => {
|
|
9838
9643
|
if (access(props.isDisabled)) {
|
|
@@ -9951,7 +9756,7 @@ function ariaHideOutside(targets, root = document.body) {
|
|
|
9951
9756
|
}
|
|
9952
9757
|
var refCountMap, observerStack;
|
|
9953
9758
|
var init_TZGE2AQH = __esm({
|
|
9954
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
9759
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/TZGE2AQH.js"() {
|
|
9955
9760
|
init_YA7DCYMB();
|
|
9956
9761
|
init_ZKYDDHM6();
|
|
9957
9762
|
init_dist12();
|
|
@@ -9961,10 +9766,10 @@ var init_TZGE2AQH = __esm({
|
|
|
9961
9766
|
}
|
|
9962
9767
|
});
|
|
9963
9768
|
|
|
9964
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9769
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js
|
|
9965
9770
|
var activeStyles, createStyle, style_default;
|
|
9966
9771
|
var init_HD4B7J7A = __esm({
|
|
9967
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9772
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/chunk/HD4B7J7A.js"() {
|
|
9968
9773
|
init_ZV6G25TT();
|
|
9969
9774
|
init_solid();
|
|
9970
9775
|
activeStyles = /* @__PURE__ */ new Map();
|
|
@@ -9992,8 +9797,7 @@ var init_HD4B7J7A = __esm({
|
|
|
9992
9797
|
}
|
|
9993
9798
|
onCleanup(() => {
|
|
9994
9799
|
const activeStyle2 = activeStyles.get(props.key);
|
|
9995
|
-
if (!activeStyle2)
|
|
9996
|
-
return;
|
|
9800
|
+
if (!activeStyle2) return;
|
|
9997
9801
|
if (activeStyle2.activeCount !== 1) {
|
|
9998
9802
|
activeStyle2.activeCount--;
|
|
9999
9803
|
return;
|
|
@@ -10016,17 +9820,17 @@ var init_HD4B7J7A = __esm({
|
|
|
10016
9820
|
}
|
|
10017
9821
|
});
|
|
10018
9822
|
|
|
10019
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9823
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js
|
|
10020
9824
|
var init_style = __esm({
|
|
10021
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9825
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/create/style.js"() {
|
|
10022
9826
|
init_HD4B7J7A();
|
|
10023
9827
|
}
|
|
10024
9828
|
});
|
|
10025
9829
|
|
|
10026
|
-
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9830
|
+
// ../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js
|
|
10027
9831
|
var getScrollDimensions, isScrollContainer, getScrollAtLocation;
|
|
10028
9832
|
var init_scroll = __esm({
|
|
10029
|
-
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.
|
|
9833
|
+
"../../node_modules/.pnpm/@corvu+utils@0.3.2_solid-js@1.9.5/node_modules/@corvu/utils/dist/scroll/index.js"() {
|
|
10030
9834
|
getScrollDimensions = (element, axis) => {
|
|
10031
9835
|
switch (axis) {
|
|
10032
9836
|
case "x":
|
|
@@ -10068,10 +9872,10 @@ var init_scroll = __esm({
|
|
|
10068
9872
|
}
|
|
10069
9873
|
});
|
|
10070
9874
|
|
|
10071
|
-
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9875
|
+
// ../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js
|
|
10072
9876
|
var preventScrollStack, setPreventScrollStack, isActive, createPreventScroll, getDeltaXY, getTouchXY, wouldScroll, contains2, preventScroll_default, src_default2;
|
|
10073
9877
|
var init_dist14 = __esm({
|
|
10074
|
-
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.
|
|
9878
|
+
"../../node_modules/.pnpm/solid-prevent-scroll@0.1.9_solid-js@1.9.5/node_modules/solid-prevent-scroll/dist/index.js"() {
|
|
10075
9879
|
init_reactivity();
|
|
10076
9880
|
init_solid();
|
|
10077
9881
|
init_style();
|
|
@@ -10096,8 +9900,7 @@ var init_dist14 = __esm({
|
|
|
10096
9900
|
let currentTouchStartAxis = null;
|
|
10097
9901
|
let currentTouchStartDelta = null;
|
|
10098
9902
|
createEffect(() => {
|
|
10099
|
-
if (!access2(defaultedProps.enabled))
|
|
10100
|
-
return;
|
|
9903
|
+
if (!access2(defaultedProps.enabled)) return;
|
|
10101
9904
|
setPreventScrollStack((stack) => [...stack, preventScrollId]);
|
|
10102
9905
|
onCleanup(() => {
|
|
10103
9906
|
setPreventScrollStack(
|
|
@@ -10148,8 +9951,7 @@ var init_dist14 = __esm({
|
|
|
10148
9951
|
}
|
|
10149
9952
|
});
|
|
10150
9953
|
createEffect(() => {
|
|
10151
|
-
if (!isActive(preventScrollId) || !access2(defaultedProps.enabled))
|
|
10152
|
-
return;
|
|
9954
|
+
if (!isActive(preventScrollId) || !access2(defaultedProps.enabled)) return;
|
|
10153
9955
|
document.addEventListener("wheel", maybePreventWheel, {
|
|
10154
9956
|
passive: false
|
|
10155
9957
|
});
|
|
@@ -10244,12 +10046,10 @@ var init_dist14 = __esm({
|
|
|
10244
10046
|
return true;
|
|
10245
10047
|
};
|
|
10246
10048
|
contains2 = (wrapper, target) => {
|
|
10247
|
-
if (wrapper.contains(target))
|
|
10248
|
-
return true;
|
|
10049
|
+
if (wrapper.contains(target)) return true;
|
|
10249
10050
|
let currentElement = target;
|
|
10250
10051
|
while (currentElement) {
|
|
10251
|
-
if (currentElement === wrapper)
|
|
10252
|
-
return true;
|
|
10052
|
+
if (currentElement === wrapper) return true;
|
|
10253
10053
|
currentElement = currentElement._$host ?? currentElement.parentElement;
|
|
10254
10054
|
}
|
|
10255
10055
|
return false;
|
|
@@ -10259,7 +10059,7 @@ var init_dist14 = __esm({
|
|
|
10259
10059
|
}
|
|
10260
10060
|
});
|
|
10261
10061
|
|
|
10262
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
10062
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js
|
|
10263
10063
|
function useOptionalMenuContext() {
|
|
10264
10064
|
return useContext(MenuContext);
|
|
10265
10065
|
}
|
|
@@ -11502,7 +11302,7 @@ function MenuRoot(props) {
|
|
|
11502
11302
|
}
|
|
11503
11303
|
var MenuContext, MenuItemContext, MenuRootContext, MenubarContext, MENUBAR_KEYS, MENU_KEYS, NavigationMenuContext, MenuGroupContext, MenuRadioGroupContext, SUB_CLOSE_KEYS, SELECTION_KEYS, SUB_OPEN_KEYS;
|
|
11504
11304
|
var init_F4B62RP = __esm({
|
|
11505
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11305
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/3F4B62RP.js"() {
|
|
11506
11306
|
init_X2EKUJ3();
|
|
11507
11307
|
init_CVNMTYF();
|
|
11508
11308
|
init_GLKC2QFF();
|
|
@@ -11559,7 +11359,7 @@ var init_F4B62RP = __esm({
|
|
|
11559
11359
|
}
|
|
11560
11360
|
});
|
|
11561
11361
|
|
|
11562
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11362
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js
|
|
11563
11363
|
function SeparatorRoot(props) {
|
|
11564
11364
|
let ref;
|
|
11565
11365
|
const mergedProps = mergeDefaultProps({
|
|
@@ -11586,7 +11386,7 @@ function SeparatorRoot(props) {
|
|
|
11586
11386
|
}
|
|
11587
11387
|
var separator_exports, Separator;
|
|
11588
11388
|
var init_STGRFJHZ = __esm({
|
|
11589
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11389
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/STGRFJHZ.js"() {
|
|
11590
11390
|
init_ET5T45DO();
|
|
11591
11391
|
init_Y7B2NEO();
|
|
11592
11392
|
init_ZKAE4VZ();
|
|
@@ -11602,7 +11402,7 @@ var init_STGRFJHZ = __esm({
|
|
|
11602
11402
|
}
|
|
11603
11403
|
});
|
|
11604
11404
|
|
|
11605
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11405
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js
|
|
11606
11406
|
function DropdownMenuContent(props) {
|
|
11607
11407
|
const rootContext = useMenuRootContext();
|
|
11608
11408
|
const context = useMenuContext();
|
|
@@ -11636,7 +11436,7 @@ function DropdownMenuRoot(props) {
|
|
|
11636
11436
|
}
|
|
11637
11437
|
var dropdown_menu_exports, DropdownMenu;
|
|
11638
11438
|
var init_V2JBZ7BJ = __esm({
|
|
11639
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11439
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/chunk/V2JBZ7BJ.js"() {
|
|
11640
11440
|
init_F4B62RP();
|
|
11641
11441
|
init_STGRFJHZ();
|
|
11642
11442
|
init_X2EKUJ3();
|
|
@@ -11690,9 +11490,9 @@ var init_V2JBZ7BJ = __esm({
|
|
|
11690
11490
|
}
|
|
11691
11491
|
});
|
|
11692
11492
|
|
|
11693
|
-
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11493
|
+
// ../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js
|
|
11694
11494
|
var init_dist15 = __esm({
|
|
11695
|
-
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.
|
|
11495
|
+
"../../node_modules/.pnpm/@kobalte+core@0.13.4_solid-js@1.9.5/node_modules/@kobalte/core/dist/index.js"() {
|
|
11696
11496
|
init_Q2BOFK7I();
|
|
11697
11497
|
init_V2JBZ7BJ();
|
|
11698
11498
|
}
|
|
@@ -13324,8 +13124,7 @@ var init_Devtools = __esm({
|
|
|
13324
13124
|
createEffect(() => {
|
|
13325
13125
|
const win = pip().pipWindow;
|
|
13326
13126
|
const resizeCB = () => {
|
|
13327
|
-
if (!win)
|
|
13328
|
-
return;
|
|
13127
|
+
if (!win) return;
|
|
13329
13128
|
setPanelWidth(win.innerWidth);
|
|
13330
13129
|
};
|
|
13331
13130
|
if (win) {
|
|
@@ -13413,8 +13212,7 @@ var init_Devtools = __esm({
|
|
|
13413
13212
|
const position = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
|
|
13414
13213
|
const handleDragStart = (event) => {
|
|
13415
13214
|
const panelElement = event.currentTarget.parentElement;
|
|
13416
|
-
if (!panelElement)
|
|
13417
|
-
return;
|
|
13215
|
+
if (!panelElement) return;
|
|
13418
13216
|
setIsResizing(true);
|
|
13419
13217
|
const {
|
|
13420
13218
|
height,
|
|
@@ -13470,8 +13268,7 @@ var init_Devtools = __esm({
|
|
|
13470
13268
|
});
|
|
13471
13269
|
createEffect(() => {
|
|
13472
13270
|
const rootContainer = panelRef.parentElement?.parentElement?.parentElement;
|
|
13473
|
-
if (!rootContainer)
|
|
13474
|
-
return;
|
|
13271
|
+
if (!rootContainer) return;
|
|
13475
13272
|
const currentPosition = props.localStore.position || POSITION;
|
|
13476
13273
|
const styleProp = getSidedProp("padding", currentPosition);
|
|
13477
13274
|
const isVertical = props.localStore.position === "left" || props.localStore.position === "right";
|
|
@@ -14154,15 +13951,13 @@ var init_Devtools = __esm({
|
|
|
14154
13951
|
const isPaused = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14155
13952
|
const mutations = mutationCache().getAll();
|
|
14156
13953
|
const mutation = mutations.find((m) => m.mutationId === props.mutation.mutationId);
|
|
14157
|
-
if (!mutation)
|
|
14158
|
-
return false;
|
|
13954
|
+
if (!mutation) return false;
|
|
14159
13955
|
return mutation.state.isPaused;
|
|
14160
13956
|
});
|
|
14161
13957
|
const status = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14162
13958
|
const mutations = mutationCache().getAll();
|
|
14163
13959
|
const mutation = mutations.find((m) => m.mutationId === props.mutation.mutationId);
|
|
14164
|
-
if (!mutation)
|
|
14165
|
-
return "idle";
|
|
13960
|
+
if (!mutation) return "idle";
|
|
14166
13961
|
return mutation.state.status;
|
|
14167
13962
|
});
|
|
14168
13963
|
const color = createMemo(() => getMutationStatusColor({
|
|
@@ -14483,14 +14278,12 @@ var init_Devtools = __esm({
|
|
|
14483
14278
|
}, false);
|
|
14484
14279
|
const statusLabel = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
14485
14280
|
const query = queryCache().getAll().find((q) => q.queryHash === selectedQueryHash());
|
|
14486
|
-
if (!query)
|
|
14487
|
-
return "inactive";
|
|
14281
|
+
if (!query) return "inactive";
|
|
14488
14282
|
return getQueryStatusLabel(query);
|
|
14489
14283
|
});
|
|
14490
14284
|
const queryStatus = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
14491
14285
|
const query = queryCache().getAll().find((q) => q.queryHash === selectedQueryHash());
|
|
14492
|
-
if (!query)
|
|
14493
|
-
return "pending";
|
|
14286
|
+
if (!query) return "pending";
|
|
14494
14287
|
return query.state.status;
|
|
14495
14288
|
});
|
|
14496
14289
|
const observerCount = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().find((query) => query.queryHash === selectedQueryHash())?.getObserversCount() ?? 0);
|
|
@@ -14570,8 +14363,7 @@ var init_Devtools = __esm({
|
|
|
14570
14363
|
restoreQueryAfterLoadingOrError();
|
|
14571
14364
|
} else {
|
|
14572
14365
|
const activeQueryVal = activeQuery();
|
|
14573
|
-
if (!activeQueryVal)
|
|
14574
|
-
return;
|
|
14366
|
+
if (!activeQueryVal) return;
|
|
14575
14367
|
const __previousQueryOptions = activeQueryVal.options;
|
|
14576
14368
|
activeQueryVal.fetch({
|
|
14577
14369
|
...__previousQueryOptions,
|
|
@@ -14837,15 +14629,13 @@ var init_Devtools = __esm({
|
|
|
14837
14629
|
const isPaused = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14838
14630
|
const mutations = mutationCache().getAll();
|
|
14839
14631
|
const mutation = mutations.find((m) => m.mutationId === selectedMutationId());
|
|
14840
|
-
if (!mutation)
|
|
14841
|
-
return false;
|
|
14632
|
+
if (!mutation) return false;
|
|
14842
14633
|
return mutation.state.isPaused;
|
|
14843
14634
|
});
|
|
14844
14635
|
const status = createSubscribeToMutationCacheBatcher((mutationCache) => {
|
|
14845
14636
|
const mutations = mutationCache().getAll();
|
|
14846
14637
|
const mutation = mutations.find((m) => m.mutationId === selectedMutationId());
|
|
14847
|
-
if (!mutation)
|
|
14848
|
-
return "idle";
|
|
14638
|
+
if (!mutation) return "idle";
|
|
14849
14639
|
return mutation.state.status;
|
|
14850
14640
|
});
|
|
14851
14641
|
const color = createMemo(() => getMutationStatusColor({
|
|
@@ -14967,8 +14757,7 @@ var init_Devtools = __esm({
|
|
|
14967
14757
|
const unsubscribe = queryCache().subscribe((q) => {
|
|
14968
14758
|
batch(() => {
|
|
14969
14759
|
for (const [callback, value] of queryCacheMap.entries()) {
|
|
14970
|
-
if (!value.shouldUpdate(q))
|
|
14971
|
-
continue;
|
|
14760
|
+
if (!value.shouldUpdate(q)) continue;
|
|
14972
14761
|
value.setter(callback(queryCache));
|
|
14973
14762
|
}
|
|
14974
14763
|
});
|
|
@@ -16088,8 +15877,7 @@ var init_DevtoolsComponent = __esm({
|
|
|
16088
15877
|
const colorScheme = getPreferredColorScheme();
|
|
16089
15878
|
const theme = createMemo(() => {
|
|
16090
15879
|
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
16091
|
-
if (preference !== "system")
|
|
16092
|
-
return preference;
|
|
15880
|
+
if (preference !== "system") return preference;
|
|
16093
15881
|
return colorScheme();
|
|
16094
15882
|
});
|
|
16095
15883
|
return createComponent(QueryDevtoolsContext.Provider, {
|
|
@@ -16139,8 +15927,7 @@ var init_DevtoolsPanelComponent = __esm({
|
|
|
16139
15927
|
const colorScheme = getPreferredColorScheme();
|
|
16140
15928
|
const theme = createMemo(() => {
|
|
16141
15929
|
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
16142
|
-
if (preference !== "system")
|
|
16143
|
-
return preference;
|
|
15930
|
+
if (preference !== "system") return preference;
|
|
16144
15931
|
return colorScheme();
|
|
16145
15932
|
});
|
|
16146
15933
|
return createComponent(QueryDevtoolsContext.Provider, {
|