@gsa-tts/graymatter-ui 1.1.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/graymatter-ui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
|
|
2
|
-
const
|
|
3
|
-
var xn = Array.isArray,
|
|
2
|
+
const Za = 1, Ya = 2, ki = 4, Wa = 8, Ja = 16, Ka = 1, Ga = 4, Xa = 8, Qa = 16, yi = 1, eo = 2, _n = "[", kn = "[!", ii = "[?", yn = "]", Pt = {}, he = /* @__PURE__ */ Symbol(), xi = "http://www.w3.org/1999/xhtml", to = "@attach", ro = !1;
|
|
3
|
+
var xn = Array.isArray, no = Array.prototype.indexOf, Rt = Array.prototype.includes, Vr = Array.from, Ur = Object.keys, ur = Object.defineProperty, ut = Object.getOwnPropertyDescriptor, io = Object.getOwnPropertyDescriptors, ao = Object.prototype, oo = Array.prototype, Ci = Object.getPrototypeOf, ai = Object.isExtensible;
|
|
4
4
|
function rr(e) {
|
|
5
5
|
return typeof e == "function";
|
|
6
6
|
}
|
|
@@ -16,59 +16,59 @@ function Ei() {
|
|
|
16
16
|
});
|
|
17
17
|
return { promise: r, resolve: e, reject: t };
|
|
18
18
|
}
|
|
19
|
-
const ge = 2, jt = 4, Pr = 8, Cn = 1 << 24, Ct = 16, et = 32, kt = 64, ln = 128, je = 512, ve = 1024, ke = 2048, it = 4096, He = 8192, Be = 16384, St = 32768, un = 1 << 25, yt = 65536,
|
|
19
|
+
const ge = 2, jt = 4, Pr = 8, Cn = 1 << 24, Ct = 16, et = 32, kt = 64, ln = 128, je = 512, ve = 1024, ke = 2048, it = 4096, He = 8192, Be = 16384, St = 32768, un = 1 << 25, yt = 65536, oi = 1 << 17, so = 1 << 18, At = 1 << 19, lo = 1 << 20, rt = 1 << 25, $t = 65536, cn = 1 << 21, Sn = 1 << 22, mt = 1 << 23, wt = /* @__PURE__ */ Symbol("$state"), En = /* @__PURE__ */ Symbol("legacy props"), uo = /* @__PURE__ */ Symbol(""), lt = new class extends Error {
|
|
20
20
|
name = "StaleReactionError";
|
|
21
21
|
message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
|
|
22
22
|
}(), Rr = (
|
|
23
23
|
// We gotta write it like this because after downleveling the pure comment may end up in the wrong location
|
|
24
24
|
!!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml")
|
|
25
25
|
), jr = 3, hr = 8;
|
|
26
|
-
function
|
|
26
|
+
function co(e) {
|
|
27
27
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function fo() {
|
|
30
30
|
throw new Error("https://svelte.dev/e/async_derived_orphan");
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function vo(e, t, r) {
|
|
33
33
|
throw new Error("https://svelte.dev/e/each_key_duplicate");
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ho(e) {
|
|
36
36
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function po() {
|
|
39
39
|
throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function go(e) {
|
|
42
42
|
throw new Error("https://svelte.dev/e/effect_orphan");
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function bo() {
|
|
45
45
|
throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function mo() {
|
|
48
48
|
throw new Error("https://svelte.dev/e/hydration_failed");
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function wo(e) {
|
|
51
51
|
throw new Error("https://svelte.dev/e/props_invalid_value");
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function _o() {
|
|
54
54
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function ko() {
|
|
57
57
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function yo() {
|
|
60
60
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function xo() {
|
|
63
63
|
throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
|
|
64
64
|
}
|
|
65
65
|
function Br(e) {
|
|
66
66
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Co() {
|
|
69
69
|
console.warn("https://svelte.dev/e/select_multiple_invalid_value");
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function So() {
|
|
72
72
|
console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
|
|
73
73
|
}
|
|
74
74
|
let V = !1;
|
|
@@ -82,11 +82,11 @@ function Ee(e) {
|
|
|
82
82
|
return B = e;
|
|
83
83
|
}
|
|
84
84
|
function pr() {
|
|
85
|
-
return Ee(/* @__PURE__ */
|
|
85
|
+
return Ee(/* @__PURE__ */ ot(B));
|
|
86
86
|
}
|
|
87
87
|
function E(e) {
|
|
88
88
|
if (V) {
|
|
89
|
-
if (/* @__PURE__ */
|
|
89
|
+
if (/* @__PURE__ */ ot(B) !== null)
|
|
90
90
|
throw Br(), Pt;
|
|
91
91
|
B = e;
|
|
92
92
|
}
|
|
@@ -95,7 +95,7 @@ function Ke(e = 1) {
|
|
|
95
95
|
if (V) {
|
|
96
96
|
for (var t = e, r = B; t--; )
|
|
97
97
|
r = /** @type {TemplateNode} */
|
|
98
|
-
/* @__PURE__ */
|
|
98
|
+
/* @__PURE__ */ ot(r);
|
|
99
99
|
B = r;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -114,7 +114,7 @@ function cr(e = !0) {
|
|
|
114
114
|
}
|
|
115
115
|
var i = (
|
|
116
116
|
/** @type {TemplateNode} */
|
|
117
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ ot(r)
|
|
118
118
|
);
|
|
119
119
|
e && r.remove(), r = i;
|
|
120
120
|
}
|
|
@@ -136,7 +136,7 @@ function Ii(e, t) {
|
|
|
136
136
|
function Li(e) {
|
|
137
137
|
return !Ii(e, this.v);
|
|
138
138
|
}
|
|
139
|
-
let
|
|
139
|
+
let Eo = !1, Ne = null;
|
|
140
140
|
function Bt(e) {
|
|
141
141
|
Ne = e;
|
|
142
142
|
}
|
|
@@ -185,7 +185,7 @@ function nt(e) {
|
|
|
185
185
|
}
|
|
186
186
|
Mt.push(e);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Mo() {
|
|
189
189
|
for (; Mt.length > 0; )
|
|
190
190
|
Ni();
|
|
191
191
|
}
|
|
@@ -213,9 +213,9 @@ function gt(e, t) {
|
|
|
213
213
|
}
|
|
214
214
|
throw e;
|
|
215
215
|
}
|
|
216
|
-
const
|
|
216
|
+
const Io = -7169;
|
|
217
217
|
function ue(e, t) {
|
|
218
|
-
e.f = e.f &
|
|
218
|
+
e.f = e.f & Io | t;
|
|
219
219
|
}
|
|
220
220
|
function In(e) {
|
|
221
221
|
(e.f & je) !== 0 || e.deps === null ? ue(e, ve) : ue(e, it);
|
|
@@ -244,7 +244,7 @@ function Ln(e, t, r) {
|
|
|
244
244
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
245
245
|
}
|
|
246
246
|
const qt = [];
|
|
247
|
-
function
|
|
247
|
+
function Lo(e, t) {
|
|
248
248
|
return {
|
|
249
249
|
subscribe: zn(e, t).subscribe
|
|
250
250
|
};
|
|
@@ -254,40 +254,40 @@ function zn(e, t = Ue) {
|
|
|
254
254
|
const n = /* @__PURE__ */ new Set();
|
|
255
255
|
function i(s) {
|
|
256
256
|
if (Ii(e, s) && (e = s, r)) {
|
|
257
|
-
const
|
|
257
|
+
const o = !qt.length;
|
|
258
258
|
for (const u of n)
|
|
259
259
|
u[1](), qt.push(u, e);
|
|
260
|
-
if (
|
|
260
|
+
if (o) {
|
|
261
261
|
for (let u = 0; u < qt.length; u += 2)
|
|
262
262
|
qt[u][0](qt[u + 1]);
|
|
263
263
|
qt.length = 0;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function a(s) {
|
|
268
268
|
i(s(
|
|
269
269
|
/** @type {T} */
|
|
270
270
|
e
|
|
271
271
|
));
|
|
272
272
|
}
|
|
273
|
-
function l(s,
|
|
274
|
-
const u = [s,
|
|
275
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
273
|
+
function l(s, o = Ue) {
|
|
274
|
+
const u = [s, o];
|
|
275
|
+
return n.add(u), n.size === 1 && (r = t(i, a) || Ue), s(
|
|
276
276
|
/** @type {T} */
|
|
277
277
|
e
|
|
278
278
|
), () => {
|
|
279
279
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
|
-
return { set: i, update:
|
|
282
|
+
return { set: i, update: a, subscribe: l };
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function zo(e, t, r) {
|
|
285
285
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
286
286
|
if (!i.every(Boolean))
|
|
287
287
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
288
|
-
const
|
|
289
|
-
return
|
|
290
|
-
let
|
|
288
|
+
const a = t.length < 2;
|
|
289
|
+
return Lo(r, (l, s) => {
|
|
290
|
+
let o = !1;
|
|
291
291
|
const u = [];
|
|
292
292
|
let c = 0, h = Ue;
|
|
293
293
|
const d = () => {
|
|
@@ -295,24 +295,24 @@ function za(e, t, r) {
|
|
|
295
295
|
return;
|
|
296
296
|
h();
|
|
297
297
|
const g = t(n ? u[0] : u, l, s);
|
|
298
|
-
|
|
298
|
+
a ? l(g) : h = typeof g == "function" ? g : Ue;
|
|
299
299
|
}, f = i.map(
|
|
300
300
|
(g, x) => Ln(
|
|
301
301
|
g,
|
|
302
302
|
(p) => {
|
|
303
|
-
u[x] = p, c &= ~(1 << x),
|
|
303
|
+
u[x] = p, c &= ~(1 << x), o && d();
|
|
304
304
|
},
|
|
305
305
|
() => {
|
|
306
306
|
c |= 1 << x;
|
|
307
307
|
}
|
|
308
308
|
)
|
|
309
309
|
);
|
|
310
|
-
return
|
|
311
|
-
Si(f), h(),
|
|
310
|
+
return o = !0, d(), function() {
|
|
311
|
+
Si(f), h(), o = !1;
|
|
312
312
|
};
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function No(e) {
|
|
316
316
|
let t;
|
|
317
317
|
return Ln(e, (r) => t = r)(), t;
|
|
318
318
|
}
|
|
@@ -328,11 +328,11 @@ function Qe(e, t, r) {
|
|
|
328
328
|
n.source.v = void 0, n.unsubscribe = Ue;
|
|
329
329
|
else {
|
|
330
330
|
var i = !0;
|
|
331
|
-
n.unsubscribe = Ln(e, (
|
|
332
|
-
i ? n.source.v =
|
|
331
|
+
n.unsubscribe = Ln(e, (a) => {
|
|
332
|
+
i ? n.source.v = a : O(n.source, a);
|
|
333
333
|
}), i = !1;
|
|
334
334
|
}
|
|
335
|
-
return e && dn in r ?
|
|
335
|
+
return e && dn in r ? No(e) : v(n.source);
|
|
336
336
|
}
|
|
337
337
|
function gr() {
|
|
338
338
|
const e = {};
|
|
@@ -348,7 +348,7 @@ function gr() {
|
|
|
348
348
|
}
|
|
349
349
|
return [e, t];
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function To(e) {
|
|
352
352
|
var t = Nr;
|
|
353
353
|
try {
|
|
354
354
|
return Nr = !1, [e(), Nr];
|
|
@@ -357,11 +357,11 @@ function Ta(e) {
|
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
const vt = /* @__PURE__ */ new Set();
|
|
360
|
-
let G = null, Ge = null, fn = null, sr = !1,
|
|
360
|
+
let G = null, Ge = null, fn = null, sr = !1, an = !1, Vt = null, $r = null;
|
|
361
361
|
var si = 0;
|
|
362
|
-
let $
|
|
362
|
+
let $o = 1;
|
|
363
363
|
class dt {
|
|
364
|
-
id = $
|
|
364
|
+
id = $o++;
|
|
365
365
|
/**
|
|
366
366
|
* The current values of any signals that are updated in this batch.
|
|
367
367
|
* Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
|
|
@@ -401,7 +401,7 @@ class dt {
|
|
|
401
401
|
* TODO replace with Promise.withResolvers once supported widely enough
|
|
402
402
|
* @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
|
|
403
403
|
*/
|
|
404
|
-
#
|
|
404
|
+
#a = null;
|
|
405
405
|
/**
|
|
406
406
|
* The root effects that need to be flushed
|
|
407
407
|
* @type {Effect[]}
|
|
@@ -411,7 +411,7 @@ class dt {
|
|
|
411
411
|
* Deferred effects (which run after async work has completed) that are DIRTY
|
|
412
412
|
* @type {Set<Effect>}
|
|
413
413
|
*/
|
|
414
|
-
#
|
|
414
|
+
#o = /* @__PURE__ */ new Set();
|
|
415
415
|
/**
|
|
416
416
|
* Deferred effects that are MAYBE_DIRTY
|
|
417
417
|
* @type {Set<Effect>}
|
|
@@ -470,8 +470,8 @@ class dt {
|
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
#v() {
|
|
473
|
-
if (si++ > 1e3 && (vt.delete(this),
|
|
474
|
-
for (const s of this.#
|
|
473
|
+
if (si++ > 1e3 && (vt.delete(this), Do()), !this.#f()) {
|
|
474
|
+
for (const s of this.#o)
|
|
475
475
|
this.#s.delete(s), ue(s, ke), this.schedule(s);
|
|
476
476
|
for (const s of this.#s)
|
|
477
477
|
ue(s, it), this.schedule(s);
|
|
@@ -482,22 +482,22 @@ class dt {
|
|
|
482
482
|
for (const s of t)
|
|
483
483
|
try {
|
|
484
484
|
this.#c(s, r, n);
|
|
485
|
-
} catch (
|
|
486
|
-
throw qi(s),
|
|
485
|
+
} catch (o) {
|
|
486
|
+
throw qi(s), o;
|
|
487
487
|
}
|
|
488
488
|
if (G = null, i.length > 0) {
|
|
489
|
-
var
|
|
489
|
+
var a = dt.ensure();
|
|
490
490
|
for (const s of i)
|
|
491
|
-
|
|
491
|
+
a.schedule(s);
|
|
492
492
|
}
|
|
493
493
|
if (Vt = null, $r = null, this.#f() || this.#h()) {
|
|
494
494
|
this.#p(n), this.#p(r);
|
|
495
|
-
for (const [s,
|
|
496
|
-
Hi(s,
|
|
495
|
+
for (const [s, o] of this.#l)
|
|
496
|
+
Hi(s, o);
|
|
497
497
|
} else {
|
|
498
|
-
this.#t.size === 0 && vt.delete(this), this.#
|
|
498
|
+
this.#t.size === 0 && vt.delete(this), this.#o.clear(), this.#s.clear();
|
|
499
499
|
for (const s of this.#e) s(this);
|
|
500
|
-
this.#e.clear(), li(n), li(r), this.#
|
|
500
|
+
this.#e.clear(), li(n), li(r), this.#a?.resolve();
|
|
501
501
|
}
|
|
502
502
|
var l = (
|
|
503
503
|
/** @type {Batch | null} */
|
|
@@ -506,7 +506,7 @@ class dt {
|
|
|
506
506
|
);
|
|
507
507
|
if (this.#n.length > 0) {
|
|
508
508
|
const s = l ??= this;
|
|
509
|
-
s.#n.push(...this.#n.filter((
|
|
509
|
+
s.#n.push(...this.#n.filter((o) => !s.#n.includes(o)));
|
|
510
510
|
}
|
|
511
511
|
l !== null && (vt.add(l), l.#v()), vt.has(this) || this.#g();
|
|
512
512
|
}
|
|
@@ -520,9 +520,9 @@ class dt {
|
|
|
520
520
|
#c(t, r, n) {
|
|
521
521
|
t.f ^= ve;
|
|
522
522
|
for (var i = t.first; i !== null; ) {
|
|
523
|
-
var
|
|
524
|
-
if (!
|
|
525
|
-
l ? i.f ^= ve : (
|
|
523
|
+
var a = i.f, l = (a & (et | kt)) !== 0, s = l && (a & ve) !== 0, o = s || (a & He) !== 0 || this.#l.has(i);
|
|
524
|
+
if (!o && i.fn !== null) {
|
|
525
|
+
l ? i.f ^= ve : (a & jt) !== 0 ? r.push(i) : mr(i) && ((a & Ct) !== 0 && this.#s.add(i), Yt(i));
|
|
526
526
|
var u = i.first;
|
|
527
527
|
if (u !== null) {
|
|
528
528
|
i = u;
|
|
@@ -544,7 +544,7 @@ class dt {
|
|
|
544
544
|
*/
|
|
545
545
|
#p(t) {
|
|
546
546
|
for (var r = 0; r < t.length; r += 1)
|
|
547
|
-
Di(t[r], this.#
|
|
547
|
+
Di(t[r], this.#o, this.#s);
|
|
548
548
|
}
|
|
549
549
|
/**
|
|
550
550
|
* Associate a change to a given source with the current
|
|
@@ -564,9 +564,9 @@ class dt {
|
|
|
564
564
|
}
|
|
565
565
|
flush() {
|
|
566
566
|
try {
|
|
567
|
-
|
|
567
|
+
an = !0, G = this, this.#v();
|
|
568
568
|
} finally {
|
|
569
|
-
si = 0, fn = null, Vt = null, $r = null,
|
|
569
|
+
si = 0, fn = null, Vt = null, $r = null, an = !1, G = null, Ge = null, _t.clear();
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
discard() {
|
|
@@ -594,13 +594,13 @@ class dt {
|
|
|
594
594
|
t && u.discard();
|
|
595
595
|
else if (r.length > 0) {
|
|
596
596
|
u.activate();
|
|
597
|
-
var
|
|
597
|
+
var a = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map();
|
|
598
598
|
for (var s of r)
|
|
599
|
-
Ai(s, i,
|
|
599
|
+
Ai(s, i, a, l);
|
|
600
600
|
if (u.#n.length > 0) {
|
|
601
601
|
u.apply();
|
|
602
|
-
for (var
|
|
603
|
-
u.#c(
|
|
602
|
+
for (var o of u.#n)
|
|
603
|
+
u.#c(o, [], []);
|
|
604
604
|
u.#n = [];
|
|
605
605
|
}
|
|
606
606
|
u.deactivate();
|
|
@@ -628,8 +628,8 @@ class dt {
|
|
|
628
628
|
decrement(t, r, n) {
|
|
629
629
|
let i = this.#t.get(r) ?? 0;
|
|
630
630
|
if (i === 1 ? this.#t.delete(r) : this.#t.set(r, i - 1), t) {
|
|
631
|
-
let
|
|
632
|
-
|
|
631
|
+
let a = this.#i.get(r) ?? 0;
|
|
632
|
+
a === 1 ? this.#i.delete(r) : this.#i.set(r, a - 1);
|
|
633
633
|
}
|
|
634
634
|
this.#d || n || (this.#d = !0, nt(() => {
|
|
635
635
|
this.#d = !1, this.flush();
|
|
@@ -641,7 +641,7 @@ class dt {
|
|
|
641
641
|
*/
|
|
642
642
|
transfer_effects(t, r) {
|
|
643
643
|
for (const n of t)
|
|
644
|
-
this.#
|
|
644
|
+
this.#o.add(n);
|
|
645
645
|
for (const n of r)
|
|
646
646
|
this.#s.add(n);
|
|
647
647
|
t.clear(), r.clear();
|
|
@@ -655,12 +655,12 @@ class dt {
|
|
|
655
655
|
this.#r.add(t);
|
|
656
656
|
}
|
|
657
657
|
settled() {
|
|
658
|
-
return (this.#
|
|
658
|
+
return (this.#a ??= Ei()).promise;
|
|
659
659
|
}
|
|
660
660
|
static ensure() {
|
|
661
661
|
if (G === null) {
|
|
662
662
|
const t = G = new dt();
|
|
663
|
-
|
|
663
|
+
an || (vt.add(G), sr || nt(() => {
|
|
664
664
|
G === t && t.flush();
|
|
665
665
|
}));
|
|
666
666
|
}
|
|
@@ -700,7 +700,7 @@ function b(e) {
|
|
|
700
700
|
sr = !0;
|
|
701
701
|
try {
|
|
702
702
|
for (var r; ; ) {
|
|
703
|
-
if (
|
|
703
|
+
if (Mo(), G === null)
|
|
704
704
|
return (
|
|
705
705
|
/** @type {T} */
|
|
706
706
|
r
|
|
@@ -711,9 +711,9 @@ function b(e) {
|
|
|
711
711
|
sr = t;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function Do() {
|
|
715
715
|
try {
|
|
716
|
-
|
|
716
|
+
bo();
|
|
717
717
|
} catch (e) {
|
|
718
718
|
gt(e, fn);
|
|
719
719
|
}
|
|
@@ -724,17 +724,17 @@ function li(e) {
|
|
|
724
724
|
if (t !== 0) {
|
|
725
725
|
for (var r = 0; r < t; ) {
|
|
726
726
|
var n = e[r++];
|
|
727
|
-
if ((n.f & (Be | He)) === 0 && mr(n) && (st = /* @__PURE__ */ new Set(), Yt(n), n.deps === null && n.first === null && n.nodes === null && n.teardown === null && n.ac === null &&
|
|
727
|
+
if ((n.f & (Be | He)) === 0 && mr(n) && (st = /* @__PURE__ */ new Set(), Yt(n), n.deps === null && n.first === null && n.nodes === null && n.teardown === null && n.ac === null && ea(n), st?.size > 0)) {
|
|
728
728
|
_t.clear();
|
|
729
729
|
for (const i of st) {
|
|
730
730
|
if ((i.f & (Be | He)) !== 0) continue;
|
|
731
|
-
const
|
|
731
|
+
const a = [i];
|
|
732
732
|
let l = i.parent;
|
|
733
733
|
for (; l !== null; )
|
|
734
|
-
st.has(l) && (st.delete(l),
|
|
735
|
-
for (let s =
|
|
736
|
-
const
|
|
737
|
-
(
|
|
734
|
+
st.has(l) && (st.delete(l), a.push(l)), l = l.parent;
|
|
735
|
+
for (let s = a.length - 1; s >= 0; s--) {
|
|
736
|
+
const o = a[s];
|
|
737
|
+
(o.f & (Be | He)) === 0 && Yt(o);
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
st.clear();
|
|
@@ -746,14 +746,14 @@ function li(e) {
|
|
|
746
746
|
function Ai(e, t, r, n) {
|
|
747
747
|
if (!r.has(e) && (r.add(e), e.reactions !== null))
|
|
748
748
|
for (const i of e.reactions) {
|
|
749
|
-
const
|
|
750
|
-
(
|
|
749
|
+
const a = i.f;
|
|
750
|
+
(a & ge) !== 0 ? Ai(
|
|
751
751
|
/** @type {Derived} */
|
|
752
752
|
i,
|
|
753
753
|
t,
|
|
754
754
|
r,
|
|
755
755
|
n
|
|
756
|
-
) : (
|
|
756
|
+
) : (a & (Sn | Ct)) !== 0 && (a & ke) === 0 && Ui(i, t, n) && (ue(i, ke), Nn(
|
|
757
757
|
/** @type {Effect} */
|
|
758
758
|
i
|
|
759
759
|
));
|
|
@@ -795,7 +795,7 @@ function qi(e) {
|
|
|
795
795
|
for (var t = e.first; t !== null; )
|
|
796
796
|
qi(t), t = t.next;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Ao(e) {
|
|
799
799
|
let t = 0, r = Dt(0), n;
|
|
800
800
|
return () => {
|
|
801
801
|
Hn() && (v(r), qn(() => (t === 0 && (n = wr(() => e(() => lr(r)))), t += 1, () => {
|
|
@@ -805,11 +805,11 @@ function Aa(e) {
|
|
|
805
805
|
})));
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
|
-
var
|
|
809
|
-
function
|
|
810
|
-
new
|
|
808
|
+
var Uo = yt | At;
|
|
809
|
+
function Ho(e, t, r, n) {
|
|
810
|
+
new qo(e, t, r, n);
|
|
811
811
|
}
|
|
812
|
-
class
|
|
812
|
+
class qo {
|
|
813
813
|
/** @type {Boundary | null} */
|
|
814
814
|
parent;
|
|
815
815
|
is_pending = !1;
|
|
@@ -828,11 +828,11 @@ class qa {
|
|
|
828
828
|
/** @type {((anchor: Node) => void)} */
|
|
829
829
|
#i;
|
|
830
830
|
/** @type {Effect} */
|
|
831
|
-
#
|
|
831
|
+
#a;
|
|
832
832
|
/** @type {Effect | null} */
|
|
833
833
|
#n = null;
|
|
834
834
|
/** @type {Effect | null} */
|
|
835
|
-
#
|
|
835
|
+
#o = null;
|
|
836
836
|
/** @type {Effect | null} */
|
|
837
837
|
#s = null;
|
|
838
838
|
/** @type {DocumentFragment | null} */
|
|
@@ -852,7 +852,7 @@ class qa {
|
|
|
852
852
|
* @type {Source<number> | null}
|
|
853
853
|
*/
|
|
854
854
|
#c = null;
|
|
855
|
-
#p =
|
|
855
|
+
#p = Ao(() => (this.#c = Dt(this.#d), () => {
|
|
856
856
|
this.#c = null;
|
|
857
857
|
}));
|
|
858
858
|
/**
|
|
@@ -862,28 +862,28 @@ class qa {
|
|
|
862
862
|
* @param {((error: unknown) => unknown) | undefined} [transform_error]
|
|
863
863
|
*/
|
|
864
864
|
constructor(t, r, n, i) {
|
|
865
|
-
this.#e = t, this.#t = r, this.#i = (
|
|
865
|
+
this.#e = t, this.#t = r, this.#i = (a) => {
|
|
866
866
|
var l = (
|
|
867
867
|
/** @type {Effect} */
|
|
868
868
|
j
|
|
869
869
|
);
|
|
870
|
-
l.b = this, l.f |= ln, n(
|
|
870
|
+
l.b = this, l.f |= ln, n(a);
|
|
871
871
|
}, this.parent = /** @type {Effect} */
|
|
872
|
-
j.b, this.transform_error = i ?? this.parent?.transform_error ?? ((
|
|
872
|
+
j.b, this.transform_error = i ?? this.parent?.transform_error ?? ((a) => a), this.#a = br(() => {
|
|
873
873
|
if (V) {
|
|
874
|
-
const
|
|
874
|
+
const a = (
|
|
875
875
|
/** @type {Comment} */
|
|
876
876
|
this.#r
|
|
877
877
|
);
|
|
878
878
|
pr();
|
|
879
|
-
const l =
|
|
880
|
-
if (
|
|
881
|
-
const
|
|
882
|
-
this.#k(
|
|
879
|
+
const l = a.data === kn;
|
|
880
|
+
if (a.data.startsWith(ii)) {
|
|
881
|
+
const o = JSON.parse(a.data.slice(ii.length));
|
|
882
|
+
this.#k(o);
|
|
883
883
|
} else l ? this.#y() : this.#g();
|
|
884
884
|
} else
|
|
885
885
|
this.#w();
|
|
886
|
-
},
|
|
886
|
+
}, Uo), V && (this.#e = B);
|
|
887
887
|
}
|
|
888
888
|
#g() {
|
|
889
889
|
try {
|
|
@@ -908,13 +908,13 @@ class qa {
|
|
|
908
908
|
}
|
|
909
909
|
#y() {
|
|
910
910
|
const t = this.#t.pending;
|
|
911
|
-
t && (this.is_pending = !0, this.#
|
|
911
|
+
t && (this.is_pending = !0, this.#o = ze(() => t(this.#e)), nt(() => {
|
|
912
912
|
var r = this.#l = document.createDocumentFragment(), n = Fe();
|
|
913
913
|
r.append(n), this.#n = this.#m(() => ze(() => this.#i(n))), this.#u === 0 && (this.#e.before(r), this.#l = null, zt(
|
|
914
914
|
/** @type {Effect} */
|
|
915
|
-
this.#
|
|
915
|
+
this.#o,
|
|
916
916
|
() => {
|
|
917
|
-
this.#
|
|
917
|
+
this.#o = null;
|
|
918
918
|
}
|
|
919
919
|
), this.#b(
|
|
920
920
|
/** @type {Batch} */
|
|
@@ -933,7 +933,7 @@ class qa {
|
|
|
933
933
|
/** @type {(anchor: Node) => void} */
|
|
934
934
|
this.#t.pending
|
|
935
935
|
);
|
|
936
|
-
this.#
|
|
936
|
+
this.#o = ze(() => r(this.#e));
|
|
937
937
|
} else
|
|
938
938
|
this.#b(
|
|
939
939
|
/** @type {Batch} */
|
|
@@ -972,13 +972,13 @@ class qa {
|
|
|
972
972
|
*/
|
|
973
973
|
#m(t) {
|
|
974
974
|
var r = j, n = R, i = Ne;
|
|
975
|
-
|
|
975
|
+
at(this.#a), Ye(this.#a), Bt(this.#a.ctx);
|
|
976
976
|
try {
|
|
977
977
|
return dt.ensure(), t();
|
|
978
|
-
} catch (
|
|
979
|
-
return Ti(
|
|
978
|
+
} catch (a) {
|
|
979
|
+
return Ti(a), null;
|
|
980
980
|
} finally {
|
|
981
|
-
|
|
981
|
+
at(r), Ye(n), Bt(i);
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
/**
|
|
@@ -992,8 +992,8 @@ class qa {
|
|
|
992
992
|
this.parent && this.parent.#_(t, r);
|
|
993
993
|
return;
|
|
994
994
|
}
|
|
995
|
-
this.#u += t, this.#u === 0 && (this.#b(r), this.#
|
|
996
|
-
this.#
|
|
995
|
+
this.#u += t, this.#u === 0 && (this.#b(r), this.#o && zt(this.#o, () => {
|
|
996
|
+
this.#o = null;
|
|
997
997
|
}), this.#l && (this.#e.before(this.#l), this.#l = null));
|
|
998
998
|
}
|
|
999
999
|
/**
|
|
@@ -1020,26 +1020,26 @@ class qa {
|
|
|
1020
1020
|
let n = this.#t.failed;
|
|
1021
1021
|
if (!r && !n)
|
|
1022
1022
|
throw t;
|
|
1023
|
-
this.#n && (pe(this.#n), this.#n = null), this.#
|
|
1023
|
+
this.#n && (pe(this.#n), this.#n = null), this.#o && (pe(this.#o), this.#o = null), this.#s && (pe(this.#s), this.#s = null), V && (Ee(
|
|
1024
1024
|
/** @type {TemplateNode} */
|
|
1025
1025
|
this.#r
|
|
1026
1026
|
), Ke(), Ee(cr()));
|
|
1027
|
-
var i = !1,
|
|
1027
|
+
var i = !1, a = !1;
|
|
1028
1028
|
const l = () => {
|
|
1029
1029
|
if (i) {
|
|
1030
|
-
|
|
1030
|
+
So();
|
|
1031
1031
|
return;
|
|
1032
1032
|
}
|
|
1033
|
-
i = !0,
|
|
1033
|
+
i = !0, a && xo(), this.#s !== null && zt(this.#s, () => {
|
|
1034
1034
|
this.#s = null;
|
|
1035
1035
|
}), this.#m(() => {
|
|
1036
1036
|
this.#w();
|
|
1037
1037
|
});
|
|
1038
|
-
}, s = (
|
|
1038
|
+
}, s = (o) => {
|
|
1039
1039
|
try {
|
|
1040
|
-
|
|
1040
|
+
a = !0, r?.(o, l), a = !1;
|
|
1041
1041
|
} catch (u) {
|
|
1042
|
-
gt(u, this.#
|
|
1042
|
+
gt(u, this.#a && this.#a.parent);
|
|
1043
1043
|
}
|
|
1044
1044
|
n && (this.#s = this.#m(() => {
|
|
1045
1045
|
try {
|
|
@@ -1050,7 +1050,7 @@ class qa {
|
|
|
1050
1050
|
);
|
|
1051
1051
|
u.b = this, u.f |= ln, n(
|
|
1052
1052
|
this.#e,
|
|
1053
|
-
() =>
|
|
1053
|
+
() => o,
|
|
1054
1054
|
() => l
|
|
1055
1055
|
);
|
|
1056
1056
|
});
|
|
@@ -1058,39 +1058,39 @@ class qa {
|
|
|
1058
1058
|
return gt(
|
|
1059
1059
|
u,
|
|
1060
1060
|
/** @type {Effect} */
|
|
1061
|
-
this.#
|
|
1061
|
+
this.#a.parent
|
|
1062
1062
|
), null;
|
|
1063
1063
|
}
|
|
1064
1064
|
}));
|
|
1065
1065
|
};
|
|
1066
1066
|
nt(() => {
|
|
1067
|
-
var
|
|
1067
|
+
var o;
|
|
1068
1068
|
try {
|
|
1069
|
-
|
|
1069
|
+
o = this.transform_error(t);
|
|
1070
1070
|
} catch (u) {
|
|
1071
|
-
gt(u, this.#
|
|
1071
|
+
gt(u, this.#a && this.#a.parent);
|
|
1072
1072
|
return;
|
|
1073
1073
|
}
|
|
1074
|
-
|
|
1075
|
-
|
|
1074
|
+
o !== null && typeof o == "object" && typeof /** @type {any} */
|
|
1075
|
+
o.then == "function" ? o.then(
|
|
1076
1076
|
s,
|
|
1077
1077
|
/** @param {unknown} e */
|
|
1078
|
-
(u) => gt(u, this.#
|
|
1079
|
-
) : s(
|
|
1078
|
+
(u) => gt(u, this.#a && this.#a.parent)
|
|
1079
|
+
) : s(o);
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
1083
|
function Oi(e, t, r, n) {
|
|
1084
1084
|
const i = Fr;
|
|
1085
|
-
var
|
|
1086
|
-
if (r.length === 0 &&
|
|
1085
|
+
var a = e.filter((d) => !d.settled);
|
|
1086
|
+
if (r.length === 0 && a.length === 0) {
|
|
1087
1087
|
n(t.map(i));
|
|
1088
1088
|
return;
|
|
1089
1089
|
}
|
|
1090
1090
|
var l = (
|
|
1091
1091
|
/** @type {Effect} */
|
|
1092
1092
|
j
|
|
1093
|
-
), s =
|
|
1093
|
+
), s = Oo(), o = a.length === 1 ? a[0].promise : a.length > 1 ? Promise.all(a.map((d) => d.promise)) : null;
|
|
1094
1094
|
function u(d) {
|
|
1095
1095
|
s();
|
|
1096
1096
|
try {
|
|
@@ -1101,18 +1101,18 @@ function Oi(e, t, r, n) {
|
|
|
1101
1101
|
Hr();
|
|
1102
1102
|
}
|
|
1103
1103
|
if (r.length === 0) {
|
|
1104
|
-
|
|
1104
|
+
o.then(() => u(t.map(i)));
|
|
1105
1105
|
return;
|
|
1106
1106
|
}
|
|
1107
1107
|
var c = Vi();
|
|
1108
1108
|
function h() {
|
|
1109
|
-
Promise.all(r.map((d) => /* @__PURE__ */
|
|
1109
|
+
Promise.all(r.map((d) => /* @__PURE__ */ Vo(d))).then((d) => u([...t.map(i), ...d])).catch((d) => gt(d, l)).finally(() => c());
|
|
1110
1110
|
}
|
|
1111
|
-
|
|
1111
|
+
o ? o.then(() => {
|
|
1112
1112
|
s(), h(), Hr();
|
|
1113
1113
|
}) : h();
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Oo() {
|
|
1116
1116
|
var e = (
|
|
1117
1117
|
/** @type {Effect} */
|
|
1118
1118
|
j
|
|
@@ -1120,12 +1120,12 @@ function Oa() {
|
|
|
1120
1120
|
/** @type {Batch} */
|
|
1121
1121
|
G
|
|
1122
1122
|
);
|
|
1123
|
-
return function(
|
|
1124
|
-
|
|
1123
|
+
return function(a = !0) {
|
|
1124
|
+
at(e), Ye(t), Bt(r), a && (e.f & Be) === 0 && (n?.activate(), n?.apply());
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
1127
|
function Hr(e = !0) {
|
|
1128
|
-
|
|
1128
|
+
at(null), Ye(null), Bt(null), e && G?.deactivate();
|
|
1129
1129
|
}
|
|
1130
1130
|
function Vi() {
|
|
1131
1131
|
var e = (
|
|
@@ -1167,22 +1167,22 @@ function Fr(e) {
|
|
|
1167
1167
|
};
|
|
1168
1168
|
}
|
|
1169
1169
|
// @__NO_SIDE_EFFECTS__
|
|
1170
|
-
function
|
|
1170
|
+
function Vo(e, t, r) {
|
|
1171
1171
|
let n = (
|
|
1172
1172
|
/** @type {Effect | null} */
|
|
1173
1173
|
j
|
|
1174
1174
|
);
|
|
1175
|
-
n === null &&
|
|
1175
|
+
n === null && fo();
|
|
1176
1176
|
var i = (
|
|
1177
1177
|
/** @type {Promise<V>} */
|
|
1178
1178
|
/** @type {unknown} */
|
|
1179
1179
|
void 0
|
|
1180
|
-
),
|
|
1180
|
+
), a = Dt(
|
|
1181
1181
|
/** @type {V} */
|
|
1182
1182
|
he
|
|
1183
1183
|
), l = !R, s = /* @__PURE__ */ new Map();
|
|
1184
|
-
return
|
|
1185
|
-
var
|
|
1184
|
+
return Xo(() => {
|
|
1185
|
+
var o = (
|
|
1186
1186
|
/** @type {Effect} */
|
|
1187
1187
|
j
|
|
1188
1188
|
), u = Ei();
|
|
@@ -1197,7 +1197,7 @@ function Va(e, t, r) {
|
|
|
1197
1197
|
G
|
|
1198
1198
|
);
|
|
1199
1199
|
if (l) {
|
|
1200
|
-
if ((
|
|
1200
|
+
if ((o.f & St) !== 0)
|
|
1201
1201
|
var h = Vi();
|
|
1202
1202
|
if (
|
|
1203
1203
|
/** @type {Boundary} */
|
|
@@ -1216,11 +1216,11 @@ function Va(e, t, r) {
|
|
|
1216
1216
|
var x = g === lt;
|
|
1217
1217
|
h(x);
|
|
1218
1218
|
}
|
|
1219
|
-
if (!(g === lt || (
|
|
1219
|
+
if (!(g === lt || (o.f & Be) !== 0)) {
|
|
1220
1220
|
if (c.activate(), g)
|
|
1221
|
-
|
|
1221
|
+
a.f |= mt, Ft(a, g);
|
|
1222
1222
|
else {
|
|
1223
|
-
(
|
|
1223
|
+
(a.f & mt) !== 0 && (a.f ^= mt), Ft(a, f);
|
|
1224
1224
|
for (const [p, _] of s) {
|
|
1225
1225
|
if (s.delete(p), p === c) break;
|
|
1226
1226
|
_.reject(lt);
|
|
@@ -1231,12 +1231,12 @@ function Va(e, t, r) {
|
|
|
1231
1231
|
};
|
|
1232
1232
|
u.promise.then(d, (f) => d(null, f || "unknown"));
|
|
1233
1233
|
}), Zr(() => {
|
|
1234
|
-
for (const
|
|
1235
|
-
|
|
1236
|
-
}), new Promise((
|
|
1234
|
+
for (const o of s.values())
|
|
1235
|
+
o.reject(lt);
|
|
1236
|
+
}), new Promise((o) => {
|
|
1237
1237
|
function u(c) {
|
|
1238
1238
|
function h() {
|
|
1239
|
-
c === i ? a
|
|
1239
|
+
c === i ? o(a) : u(i);
|
|
1240
1240
|
}
|
|
1241
1241
|
c.then(h, h);
|
|
1242
1242
|
}
|
|
@@ -1246,14 +1246,14 @@ function Va(e, t, r) {
|
|
|
1246
1246
|
// @__NO_SIDE_EFFECTS__
|
|
1247
1247
|
function q(e) {
|
|
1248
1248
|
const t = /* @__PURE__ */ Fr(e);
|
|
1249
|
-
return
|
|
1249
|
+
return na(t), t;
|
|
1250
1250
|
}
|
|
1251
1251
|
// @__NO_SIDE_EFFECTS__
|
|
1252
1252
|
function Pi(e) {
|
|
1253
1253
|
const t = /* @__PURE__ */ Fr(e);
|
|
1254
1254
|
return t.equals = Li, t;
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1256
|
+
function Po(e) {
|
|
1257
1257
|
var t = e.effects;
|
|
1258
1258
|
if (t !== null) {
|
|
1259
1259
|
e.effects = null;
|
|
@@ -1264,7 +1264,7 @@ function Pa(e) {
|
|
|
1264
1264
|
);
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
|
-
function
|
|
1267
|
+
function Ro(e) {
|
|
1268
1268
|
for (var t = e.parent; t !== null; ) {
|
|
1269
1269
|
if ((t.f & ge) === 0)
|
|
1270
1270
|
return (t.f & Be) === 0 ? (
|
|
@@ -1277,23 +1277,23 @@ function Ra(e) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
function Tn(e) {
|
|
1279
1279
|
var t, r = j;
|
|
1280
|
-
|
|
1280
|
+
at(Ro(e));
|
|
1281
1281
|
try {
|
|
1282
|
-
e.f &= ~$t,
|
|
1282
|
+
e.f &= ~$t, Po(e), t = sa(e);
|
|
1283
1283
|
} finally {
|
|
1284
|
-
|
|
1284
|
+
at(r);
|
|
1285
1285
|
}
|
|
1286
1286
|
return t;
|
|
1287
1287
|
}
|
|
1288
1288
|
function Ri(e) {
|
|
1289
1289
|
var t = e.v, r = Tn(e);
|
|
1290
|
-
if (!e.equals(r) && (e.wv =
|
|
1290
|
+
if (!e.equals(r) && (e.wv = aa(), (!G?.is_fork || e.deps === null) && (e.v = r, G?.capture(e, t, !0), e.deps === null))) {
|
|
1291
1291
|
ue(e, ve);
|
|
1292
1292
|
return;
|
|
1293
1293
|
}
|
|
1294
1294
|
xt || (Ge !== null ? (Hn() || G?.is_fork) && Ge.set(e, r) : In(e));
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function jo(e) {
|
|
1297
1297
|
if (e.effects !== null)
|
|
1298
1298
|
for (const t of e.effects)
|
|
1299
1299
|
(t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(lt), t.teardown = Ue, t.ac = null, dr(t, 0), On(t));
|
|
@@ -1321,7 +1321,7 @@ function Dt(e, t) {
|
|
|
1321
1321
|
// @__NO_SIDE_EFFECTS__
|
|
1322
1322
|
function ee(e, t) {
|
|
1323
1323
|
const r = Dt(e);
|
|
1324
|
-
return
|
|
1324
|
+
return na(r), r;
|
|
1325
1325
|
}
|
|
1326
1326
|
// @__NO_SIDE_EFFECTS__
|
|
1327
1327
|
function $n(e, t = !1, r = !0) {
|
|
@@ -1331,7 +1331,7 @@ function $n(e, t = !1, r = !0) {
|
|
|
1331
1331
|
function O(e, t, r = !1) {
|
|
1332
1332
|
R !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
|
|
1333
1333
|
// to ensure we error if state is set inside an inspect effect
|
|
1334
|
-
(!Xe || (R.f &
|
|
1334
|
+
(!Xe || (R.f & oi) !== 0) && zi() && (R.f & (ge | Ct | Sn | oi)) !== 0 && (Ze === null || !Rt.call(Ze, e)) && yo();
|
|
1335
1335
|
let n = r ? bt(t) : t;
|
|
1336
1336
|
return Ft(e, n, $r);
|
|
1337
1337
|
}
|
|
@@ -1341,17 +1341,17 @@ function Ft(e, t, r = null) {
|
|
|
1341
1341
|
xt ? _t.set(e, t) : _t.set(e, n), e.v = t;
|
|
1342
1342
|
var i = dt.ensure();
|
|
1343
1343
|
if (i.capture(e, n), (e.f & ge) !== 0) {
|
|
1344
|
-
const
|
|
1344
|
+
const a = (
|
|
1345
1345
|
/** @type {Derived} */
|
|
1346
1346
|
e
|
|
1347
1347
|
);
|
|
1348
|
-
(e.f & ke) !== 0 && Tn(
|
|
1348
|
+
(e.f & ke) !== 0 && Tn(a), Ge === null && In(a);
|
|
1349
1349
|
}
|
|
1350
|
-
e.wv =
|
|
1350
|
+
e.wv = aa(), Fi(e, ke, r), j !== null && (j.f & ve) !== 0 && (j.f & (et | kt)) === 0 && (Pe === null ? ts([e]) : Pe.push(e)), !i.is_fork && vn.size > 0 && !Bi && Bo();
|
|
1351
1351
|
}
|
|
1352
1352
|
return t;
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1354
|
+
function Bo() {
|
|
1355
1355
|
Bi = !1;
|
|
1356
1356
|
for (const e of vn)
|
|
1357
1357
|
(e.f & ve) !== 0 && ue(e, it), mr(e) && Yt(e);
|
|
@@ -1363,15 +1363,15 @@ function lr(e) {
|
|
|
1363
1363
|
function Fi(e, t, r) {
|
|
1364
1364
|
var n = e.reactions;
|
|
1365
1365
|
if (n !== null)
|
|
1366
|
-
for (var i = n.length,
|
|
1367
|
-
var l = n[
|
|
1368
|
-
if (
|
|
1366
|
+
for (var i = n.length, a = 0; a < i; a++) {
|
|
1367
|
+
var l = n[a], s = l.f, o = (s & ke) === 0;
|
|
1368
|
+
if (o && ue(l, t), (s & ge) !== 0) {
|
|
1369
1369
|
var u = (
|
|
1370
1370
|
/** @type {Derived} */
|
|
1371
1371
|
l
|
|
1372
1372
|
);
|
|
1373
1373
|
Ge?.delete(u), (s & $t) === 0 && (s & je && (l.f |= $t), Fi(u, it, r));
|
|
1374
|
-
} else if (
|
|
1374
|
+
} else if (o) {
|
|
1375
1375
|
var c = (
|
|
1376
1376
|
/** @type {Effect} */
|
|
1377
1377
|
l
|
|
@@ -1384,15 +1384,15 @@ function bt(e) {
|
|
|
1384
1384
|
if (typeof e != "object" || e === null || wt in e)
|
|
1385
1385
|
return e;
|
|
1386
1386
|
const t = Ci(e);
|
|
1387
|
-
if (t !==
|
|
1387
|
+
if (t !== ao && t !== oo)
|
|
1388
1388
|
return e;
|
|
1389
|
-
var r = /* @__PURE__ */ new Map(), n = xn(e), i = /* @__PURE__ */ ee(0),
|
|
1390
|
-
if (Nt ===
|
|
1389
|
+
var r = /* @__PURE__ */ new Map(), n = xn(e), i = /* @__PURE__ */ ee(0), a = Nt, l = (s) => {
|
|
1390
|
+
if (Nt === a)
|
|
1391
1391
|
return s();
|
|
1392
|
-
var
|
|
1393
|
-
Ye(null), vi(
|
|
1392
|
+
var o = R, u = Nt;
|
|
1393
|
+
Ye(null), vi(a);
|
|
1394
1394
|
var c = s();
|
|
1395
|
-
return Ye(
|
|
1395
|
+
return Ye(o), vi(u), c;
|
|
1396
1396
|
};
|
|
1397
1397
|
return n && r.set("length", /* @__PURE__ */ ee(
|
|
1398
1398
|
/** @type {any[]} */
|
|
@@ -1401,45 +1401,45 @@ function bt(e) {
|
|
|
1401
1401
|
/** @type {any} */
|
|
1402
1402
|
e,
|
|
1403
1403
|
{
|
|
1404
|
-
defineProperty(s,
|
|
1405
|
-
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) &&
|
|
1406
|
-
var c = r.get(
|
|
1404
|
+
defineProperty(s, o, u) {
|
|
1405
|
+
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && _o();
|
|
1406
|
+
var c = r.get(o);
|
|
1407
1407
|
return c === void 0 ? l(() => {
|
|
1408
1408
|
var h = /* @__PURE__ */ ee(u.value);
|
|
1409
|
-
return r.set(
|
|
1409
|
+
return r.set(o, h), h;
|
|
1410
1410
|
}) : O(c, u.value, !0), !0;
|
|
1411
1411
|
},
|
|
1412
|
-
deleteProperty(s,
|
|
1413
|
-
var u = r.get(
|
|
1412
|
+
deleteProperty(s, o) {
|
|
1413
|
+
var u = r.get(o);
|
|
1414
1414
|
if (u === void 0) {
|
|
1415
|
-
if (
|
|
1415
|
+
if (o in s) {
|
|
1416
1416
|
const c = l(() => /* @__PURE__ */ ee(he));
|
|
1417
|
-
r.set(
|
|
1417
|
+
r.set(o, c), lr(i);
|
|
1418
1418
|
}
|
|
1419
1419
|
} else
|
|
1420
1420
|
O(u, he), lr(i);
|
|
1421
1421
|
return !0;
|
|
1422
1422
|
},
|
|
1423
|
-
get(s,
|
|
1424
|
-
if (
|
|
1423
|
+
get(s, o, u) {
|
|
1424
|
+
if (o === wt)
|
|
1425
1425
|
return e;
|
|
1426
|
-
var c = r.get(
|
|
1427
|
-
if (c === void 0 && (!h || ut(s,
|
|
1428
|
-
var f = bt(h ? s[
|
|
1426
|
+
var c = r.get(o), h = o in s;
|
|
1427
|
+
if (c === void 0 && (!h || ut(s, o)?.writable) && (c = l(() => {
|
|
1428
|
+
var f = bt(h ? s[o] : he), g = /* @__PURE__ */ ee(f);
|
|
1429
1429
|
return g;
|
|
1430
|
-
}), r.set(
|
|
1430
|
+
}), r.set(o, c)), c !== void 0) {
|
|
1431
1431
|
var d = v(c);
|
|
1432
1432
|
return d === he ? void 0 : d;
|
|
1433
1433
|
}
|
|
1434
|
-
return Reflect.get(s,
|
|
1434
|
+
return Reflect.get(s, o, u);
|
|
1435
1435
|
},
|
|
1436
|
-
getOwnPropertyDescriptor(s,
|
|
1437
|
-
var u = Reflect.getOwnPropertyDescriptor(s,
|
|
1436
|
+
getOwnPropertyDescriptor(s, o) {
|
|
1437
|
+
var u = Reflect.getOwnPropertyDescriptor(s, o);
|
|
1438
1438
|
if (u && "value" in u) {
|
|
1439
|
-
var c = r.get(
|
|
1439
|
+
var c = r.get(o);
|
|
1440
1440
|
c && (u.value = v(c));
|
|
1441
1441
|
} else if (u === void 0) {
|
|
1442
|
-
var h = r.get(
|
|
1442
|
+
var h = r.get(o), d = h?.v;
|
|
1443
1443
|
if (h !== void 0 && d !== he)
|
|
1444
1444
|
return {
|
|
1445
1445
|
enumerable: !0,
|
|
@@ -1450,43 +1450,43 @@ function bt(e) {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
return u;
|
|
1452
1452
|
},
|
|
1453
|
-
has(s,
|
|
1454
|
-
if (
|
|
1453
|
+
has(s, o) {
|
|
1454
|
+
if (o === wt)
|
|
1455
1455
|
return !0;
|
|
1456
|
-
var u = r.get(
|
|
1457
|
-
if (u !== void 0 || j !== null && (!c || ut(s,
|
|
1456
|
+
var u = r.get(o), c = u !== void 0 && u.v !== he || Reflect.has(s, o);
|
|
1457
|
+
if (u !== void 0 || j !== null && (!c || ut(s, o)?.writable)) {
|
|
1458
1458
|
u === void 0 && (u = l(() => {
|
|
1459
|
-
var d = c ? bt(s[
|
|
1459
|
+
var d = c ? bt(s[o]) : he, f = /* @__PURE__ */ ee(d);
|
|
1460
1460
|
return f;
|
|
1461
|
-
}), r.set(
|
|
1461
|
+
}), r.set(o, u));
|
|
1462
1462
|
var h = v(u);
|
|
1463
1463
|
if (h === he)
|
|
1464
1464
|
return !1;
|
|
1465
1465
|
}
|
|
1466
1466
|
return c;
|
|
1467
1467
|
},
|
|
1468
|
-
set(s,
|
|
1469
|
-
var h = r.get(
|
|
1470
|
-
if (n &&
|
|
1468
|
+
set(s, o, u, c) {
|
|
1469
|
+
var h = r.get(o), d = o in s;
|
|
1470
|
+
if (n && o === "length")
|
|
1471
1471
|
for (var f = u; f < /** @type {Source<number>} */
|
|
1472
1472
|
h.v; f += 1) {
|
|
1473
1473
|
var g = r.get(f + "");
|
|
1474
1474
|
g !== void 0 ? O(g, he) : f in s && (g = l(() => /* @__PURE__ */ ee(he)), r.set(f + "", g));
|
|
1475
1475
|
}
|
|
1476
1476
|
if (h === void 0)
|
|
1477
|
-
(!d || ut(s,
|
|
1477
|
+
(!d || ut(s, o)?.writable) && (h = l(() => /* @__PURE__ */ ee(void 0)), O(h, bt(u)), r.set(o, h));
|
|
1478
1478
|
else {
|
|
1479
1479
|
d = h.v !== he;
|
|
1480
1480
|
var x = l(() => bt(u));
|
|
1481
1481
|
O(h, x);
|
|
1482
1482
|
}
|
|
1483
|
-
var p = Reflect.getOwnPropertyDescriptor(s,
|
|
1483
|
+
var p = Reflect.getOwnPropertyDescriptor(s, o);
|
|
1484
1484
|
if (p?.set && p.set.call(c, u), !d) {
|
|
1485
|
-
if (n && typeof
|
|
1485
|
+
if (n && typeof o == "string") {
|
|
1486
1486
|
var _ = (
|
|
1487
1487
|
/** @type {Source<number>} */
|
|
1488
1488
|
r.get("length")
|
|
1489
|
-
), C = Number(
|
|
1489
|
+
), C = Number(o);
|
|
1490
1490
|
Number.isInteger(C) && C >= _.v && O(_, C + 1);
|
|
1491
1491
|
}
|
|
1492
1492
|
lr(i);
|
|
@@ -1495,16 +1495,16 @@ function bt(e) {
|
|
|
1495
1495
|
},
|
|
1496
1496
|
ownKeys(s) {
|
|
1497
1497
|
v(i);
|
|
1498
|
-
var
|
|
1498
|
+
var o = Reflect.ownKeys(s).filter((h) => {
|
|
1499
1499
|
var d = r.get(h);
|
|
1500
1500
|
return d === void 0 || d.v !== he;
|
|
1501
1501
|
});
|
|
1502
1502
|
for (var [u, c] of r)
|
|
1503
|
-
c.v !== he && !(u in s) &&
|
|
1504
|
-
return
|
|
1503
|
+
c.v !== he && !(u in s) && o.push(u);
|
|
1504
|
+
return o;
|
|
1505
1505
|
},
|
|
1506
1506
|
setPrototypeOf() {
|
|
1507
|
-
|
|
1507
|
+
ko();
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
1510
|
);
|
|
@@ -1517,7 +1517,7 @@ function ui(e) {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
return e;
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1520
|
+
function Fo(e, t) {
|
|
1521
1521
|
return Object.is(ui(e), ui(t));
|
|
1522
1522
|
}
|
|
1523
1523
|
var ci, Zi, Yi, Wi;
|
|
@@ -1525,7 +1525,7 @@ function hn() {
|
|
|
1525
1525
|
if (ci === void 0) {
|
|
1526
1526
|
ci = window, Zi = /Firefox/.test(navigator.userAgent);
|
|
1527
1527
|
var e = Element.prototype, t = Node.prototype, r = Text.prototype;
|
|
1528
|
-
Yi = ut(t, "firstChild").get, Wi = ut(t, "nextSibling").get,
|
|
1528
|
+
Yi = ut(t, "firstChild").get, Wi = ut(t, "nextSibling").get, ai(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), ai(r) && (r.__t = void 0);
|
|
1529
1529
|
}
|
|
1530
1530
|
}
|
|
1531
1531
|
function Fe(e = "") {
|
|
@@ -1539,7 +1539,7 @@ function Re(e) {
|
|
|
1539
1539
|
);
|
|
1540
1540
|
}
|
|
1541
1541
|
// @__NO_SIDE_EFFECTS__
|
|
1542
|
-
function
|
|
1542
|
+
function ot(e) {
|
|
1543
1543
|
return (
|
|
1544
1544
|
/** @type {TemplateNode | null} */
|
|
1545
1545
|
Wi.call(e)
|
|
@@ -1563,7 +1563,7 @@ function M(e, t) {
|
|
|
1563
1563
|
function Lt(e, t = !1) {
|
|
1564
1564
|
if (!V) {
|
|
1565
1565
|
var r = /* @__PURE__ */ Re(e);
|
|
1566
|
-
return r instanceof Comment && r.data === "" ? /* @__PURE__ */
|
|
1566
|
+
return r instanceof Comment && r.data === "" ? /* @__PURE__ */ ot(r) : r;
|
|
1567
1567
|
}
|
|
1568
1568
|
if (t) {
|
|
1569
1569
|
if (B?.nodeType !== jr) {
|
|
@@ -1581,13 +1581,13 @@ function fe(e, t = 1, r = !1) {
|
|
|
1581
1581
|
let n = V ? B : e;
|
|
1582
1582
|
for (var i; t--; )
|
|
1583
1583
|
i = n, n = /** @type {TemplateNode} */
|
|
1584
|
-
/* @__PURE__ */
|
|
1584
|
+
/* @__PURE__ */ ot(n);
|
|
1585
1585
|
if (!V)
|
|
1586
1586
|
return n;
|
|
1587
1587
|
if (r) {
|
|
1588
1588
|
if (n?.nodeType !== jr) {
|
|
1589
|
-
var
|
|
1590
|
-
return n === null ? i?.after(
|
|
1589
|
+
var a = Fe();
|
|
1590
|
+
return n === null ? i?.after(a) : n.before(a), Ee(a), a;
|
|
1591
1591
|
}
|
|
1592
1592
|
An(
|
|
1593
1593
|
/** @type {Text} */
|
|
@@ -1619,7 +1619,7 @@ function An(e) {
|
|
|
1619
1619
|
t.remove(), e.nodeValue += /** @type {string} */
|
|
1620
1620
|
t.nodeValue, t = e.nextSibling;
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function Zo(e, t) {
|
|
1623
1623
|
if (t) {
|
|
1624
1624
|
const r = document.body;
|
|
1625
1625
|
e.autofocus = !0, nt(() => {
|
|
@@ -1628,7 +1628,7 @@ function Za(e, t) {
|
|
|
1628
1628
|
}
|
|
1629
1629
|
}
|
|
1630
1630
|
let di = !1;
|
|
1631
|
-
function
|
|
1631
|
+
function Yo() {
|
|
1632
1632
|
di || (di = !0, document.addEventListener(
|
|
1633
1633
|
"reset",
|
|
1634
1634
|
(e) => {
|
|
@@ -1648,17 +1648,17 @@ function Ya() {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
function Un(e) {
|
|
1650
1650
|
var t = R, r = j;
|
|
1651
|
-
Ye(null),
|
|
1651
|
+
Ye(null), at(null);
|
|
1652
1652
|
try {
|
|
1653
1653
|
return e();
|
|
1654
1654
|
} finally {
|
|
1655
|
-
Ye(t),
|
|
1655
|
+
Ye(t), at(r);
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1659
|
-
j === null && (R === null &&
|
|
1658
|
+
function Wo(e) {
|
|
1659
|
+
j === null && (R === null && go(), po()), xt && ho();
|
|
1660
1660
|
}
|
|
1661
|
-
function
|
|
1661
|
+
function Jo(e, t) {
|
|
1662
1662
|
var r = t.last;
|
|
1663
1663
|
r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
|
|
1664
1664
|
}
|
|
@@ -1692,12 +1692,12 @@ function tt(e, t) {
|
|
|
1692
1692
|
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && // either `null`, or a singular child
|
|
1693
1693
|
(i.f & At) === 0 && (i = i.first, (e & Ct) !== 0 && (e & yt) !== 0 && i !== null && (i.f |= yt));
|
|
1694
1694
|
}
|
|
1695
|
-
if (i !== null && (i.parent = r, r !== null &&
|
|
1696
|
-
var
|
|
1695
|
+
if (i !== null && (i.parent = r, r !== null && Jo(i, r), R !== null && (R.f & ge) !== 0 && (e & kt) === 0)) {
|
|
1696
|
+
var a = (
|
|
1697
1697
|
/** @type {Derived} */
|
|
1698
1698
|
R
|
|
1699
1699
|
);
|
|
1700
|
-
(
|
|
1700
|
+
(a.effects ??= []).push(i);
|
|
1701
1701
|
}
|
|
1702
1702
|
return n;
|
|
1703
1703
|
}
|
|
@@ -1709,7 +1709,7 @@ function Zr(e) {
|
|
|
1709
1709
|
return ue(t, ve), t.teardown = e, t;
|
|
1710
1710
|
}
|
|
1711
1711
|
function Zt(e) {
|
|
1712
|
-
|
|
1712
|
+
Wo();
|
|
1713
1713
|
var t = (
|
|
1714
1714
|
/** @type {Effect} */
|
|
1715
1715
|
j.f
|
|
@@ -1724,16 +1724,16 @@ function Zt(e) {
|
|
|
1724
1724
|
return Gi(e);
|
|
1725
1725
|
}
|
|
1726
1726
|
function Gi(e) {
|
|
1727
|
-
return tt(jt |
|
|
1727
|
+
return tt(jt | lo, e);
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function Ko(e) {
|
|
1730
1730
|
dt.ensure();
|
|
1731
1731
|
const t = tt(kt | At, e);
|
|
1732
1732
|
return () => {
|
|
1733
1733
|
pe(t);
|
|
1734
1734
|
};
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function Go(e) {
|
|
1737
1737
|
dt.ensure();
|
|
1738
1738
|
const t = tt(kt | At, e);
|
|
1739
1739
|
return (r = {}) => new Promise((n) => {
|
|
@@ -1745,7 +1745,7 @@ function Ga(e) {
|
|
|
1745
1745
|
function Yr(e) {
|
|
1746
1746
|
return tt(jt, e);
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1748
|
+
function Xo(e) {
|
|
1749
1749
|
return tt(Sn | At, e);
|
|
1750
1750
|
}
|
|
1751
1751
|
function qn(e, t = 0) {
|
|
@@ -1790,7 +1790,7 @@ function On(e, t = !1) {
|
|
|
1790
1790
|
(r.f & kt) !== 0 ? r.parent = null : pe(r, t), r = n;
|
|
1791
1791
|
}
|
|
1792
1792
|
}
|
|
1793
|
-
function
|
|
1793
|
+
function Qo(e) {
|
|
1794
1794
|
for (var t = e.first; t !== null; ) {
|
|
1795
1795
|
var r = t.next;
|
|
1796
1796
|
(t.f & et) === 0 && pe(t), t = r;
|
|
@@ -1798,43 +1798,43 @@ function Qa(e) {
|
|
|
1798
1798
|
}
|
|
1799
1799
|
function pe(e, t = !0) {
|
|
1800
1800
|
var r = !1;
|
|
1801
|
-
(t || (e.f &
|
|
1801
|
+
(t || (e.f & so) !== 0) && e.nodes !== null && e.nodes.end !== null && (es(
|
|
1802
1802
|
e.nodes.start,
|
|
1803
1803
|
/** @type {TemplateNode} */
|
|
1804
1804
|
e.nodes.end
|
|
1805
1805
|
), r = !0), ue(e, un), On(e, t && !r), dr(e, 0);
|
|
1806
1806
|
var n = e.nodes && e.nodes.t;
|
|
1807
1807
|
if (n !== null)
|
|
1808
|
-
for (const
|
|
1809
|
-
|
|
1808
|
+
for (const a of n)
|
|
1809
|
+
a.stop();
|
|
1810
1810
|
Qi(e), e.f ^= un, e.f |= Be;
|
|
1811
1811
|
var i = e.parent;
|
|
1812
|
-
i !== null && i.first !== null &&
|
|
1812
|
+
i !== null && i.first !== null && ea(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
|
|
1813
1813
|
}
|
|
1814
1814
|
function es(e, t) {
|
|
1815
1815
|
for (; e !== null; ) {
|
|
1816
|
-
var r = e === t ? null : /* @__PURE__ */
|
|
1816
|
+
var r = e === t ? null : /* @__PURE__ */ ot(e);
|
|
1817
1817
|
e.remove(), e = r;
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
|
-
function
|
|
1820
|
+
function ea(e) {
|
|
1821
1821
|
var t = e.parent, r = e.prev, n = e.next;
|
|
1822
1822
|
r !== null && (r.next = n), n !== null && (n.prev = r), t !== null && (t.first === e && (t.first = n), t.last === e && (t.last = r));
|
|
1823
1823
|
}
|
|
1824
1824
|
function zt(e, t, r = !0) {
|
|
1825
1825
|
var n = [];
|
|
1826
|
-
|
|
1826
|
+
ta(e, n, !0);
|
|
1827
1827
|
var i = () => {
|
|
1828
1828
|
r && pe(e), t && t();
|
|
1829
|
-
},
|
|
1830
|
-
if (
|
|
1831
|
-
var l = () => --
|
|
1829
|
+
}, a = n.length;
|
|
1830
|
+
if (a > 0) {
|
|
1831
|
+
var l = () => --a || i();
|
|
1832
1832
|
for (var s of n)
|
|
1833
1833
|
s.out(l);
|
|
1834
1834
|
} else
|
|
1835
1835
|
i();
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1837
|
+
function ta(e, t, r) {
|
|
1838
1838
|
if ((e.f & He) === 0) {
|
|
1839
1839
|
e.f ^= He;
|
|
1840
1840
|
var n = e.nodes && e.nodes.t;
|
|
@@ -1842,34 +1842,34 @@ function to(e, t, r) {
|
|
|
1842
1842
|
for (const s of n)
|
|
1843
1843
|
(s.is_global || r) && t.push(s);
|
|
1844
1844
|
for (var i = e.first; i !== null; ) {
|
|
1845
|
-
var
|
|
1845
|
+
var a = i.next, l = (i.f & yt) !== 0 || // If this is a branch effect without a block effect parent,
|
|
1846
1846
|
// it means the parent block effect was pruned. In that case,
|
|
1847
1847
|
// transparency information was transferred to the branch effect.
|
|
1848
1848
|
(i.f & et) !== 0 && (e.f & Ct) !== 0;
|
|
1849
|
-
|
|
1849
|
+
ta(i, t, l ? r : !1), i = a;
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
1852
|
}
|
|
1853
1853
|
function Vn(e) {
|
|
1854
|
-
|
|
1854
|
+
ra(e, !0);
|
|
1855
1855
|
}
|
|
1856
|
-
function
|
|
1856
|
+
function ra(e, t) {
|
|
1857
1857
|
if ((e.f & He) !== 0) {
|
|
1858
1858
|
e.f ^= He, (e.f & ve) === 0 && (ue(e, ke), dt.ensure().schedule(e));
|
|
1859
1859
|
for (var r = e.first; r !== null; ) {
|
|
1860
1860
|
var n = r.next, i = (r.f & yt) !== 0 || (r.f & et) !== 0;
|
|
1861
|
-
|
|
1861
|
+
ra(r, i ? t : !1), r = n;
|
|
1862
1862
|
}
|
|
1863
|
-
var
|
|
1864
|
-
if (
|
|
1865
|
-
for (const l of
|
|
1863
|
+
var a = e.nodes && e.nodes.t;
|
|
1864
|
+
if (a !== null)
|
|
1865
|
+
for (const l of a)
|
|
1866
1866
|
(l.is_global || t) && l.in();
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
1869
|
function Pn(e, t) {
|
|
1870
1870
|
if (e.nodes)
|
|
1871
1871
|
for (var r = e.nodes.start, n = e.nodes.end; r !== null; ) {
|
|
1872
|
-
var i = r === n ? null : /* @__PURE__ */
|
|
1872
|
+
var i = r === n ? null : /* @__PURE__ */ ot(r);
|
|
1873
1873
|
t.append(r), r = i;
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
@@ -1882,23 +1882,23 @@ function Ye(e) {
|
|
|
1882
1882
|
R = e;
|
|
1883
1883
|
}
|
|
1884
1884
|
let j = null;
|
|
1885
|
-
function
|
|
1885
|
+
function at(e) {
|
|
1886
1886
|
j = e;
|
|
1887
1887
|
}
|
|
1888
1888
|
let Ze = null;
|
|
1889
|
-
function
|
|
1889
|
+
function na(e) {
|
|
1890
1890
|
R !== null && (Ze === null ? Ze = [e] : Ze.push(e));
|
|
1891
1891
|
}
|
|
1892
1892
|
let Le = null, De = 0, Pe = null;
|
|
1893
1893
|
function ts(e) {
|
|
1894
1894
|
Pe = e;
|
|
1895
1895
|
}
|
|
1896
|
-
let
|
|
1896
|
+
let ia = 1, It = 0, Nt = It;
|
|
1897
1897
|
function vi(e) {
|
|
1898
1898
|
Nt = e;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1901
|
-
return ++
|
|
1900
|
+
function aa() {
|
|
1901
|
+
return ++ia;
|
|
1902
1902
|
}
|
|
1903
1903
|
function mr(e) {
|
|
1904
1904
|
var t = e.f;
|
|
@@ -1909,14 +1909,14 @@ function mr(e) {
|
|
|
1909
1909
|
/** @type {Value[]} */
|
|
1910
1910
|
e.deps
|
|
1911
1911
|
), n = r.length, i = 0; i < n; i++) {
|
|
1912
|
-
var
|
|
1912
|
+
var a = r[i];
|
|
1913
1913
|
if (mr(
|
|
1914
1914
|
/** @type {Derived} */
|
|
1915
|
-
|
|
1915
|
+
a
|
|
1916
1916
|
) && Ri(
|
|
1917
1917
|
/** @type {Derived} */
|
|
1918
|
-
|
|
1919
|
-
),
|
|
1918
|
+
a
|
|
1919
|
+
), a.wv > e.wv)
|
|
1920
1920
|
return !0;
|
|
1921
1921
|
}
|
|
1922
1922
|
(t & je) !== 0 && // During time traveling we don't want to reset the status so that
|
|
@@ -1925,24 +1925,24 @@ function mr(e) {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
return !1;
|
|
1927
1927
|
}
|
|
1928
|
-
function
|
|
1928
|
+
function oa(e, t, r = !0) {
|
|
1929
1929
|
var n = e.reactions;
|
|
1930
1930
|
if (n !== null && !(Ze !== null && Rt.call(Ze, e)))
|
|
1931
1931
|
for (var i = 0; i < n.length; i++) {
|
|
1932
|
-
var
|
|
1933
|
-
(
|
|
1932
|
+
var a = n[i];
|
|
1933
|
+
(a.f & ge) !== 0 ? oa(
|
|
1934
1934
|
/** @type {Derived} */
|
|
1935
|
-
|
|
1935
|
+
a,
|
|
1936
1936
|
t,
|
|
1937
1937
|
!1
|
|
1938
|
-
) : t ===
|
|
1938
|
+
) : t === a && (r ? ue(a, ke) : (a.f & ve) !== 0 && ue(a, it), Nn(
|
|
1939
1939
|
/** @type {Effect} */
|
|
1940
|
-
|
|
1940
|
+
a
|
|
1941
1941
|
));
|
|
1942
1942
|
}
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1945
|
-
var t = Le, r = De, n = Pe, i = R,
|
|
1944
|
+
function sa(e) {
|
|
1945
|
+
var t = Le, r = De, n = Pe, i = R, a = Ze, l = Ne, s = Xe, o = Nt, u = e.f;
|
|
1946
1946
|
Le = /** @type {null | Value[]} */
|
|
1947
1947
|
null, De = 0, Pe = null, R = (u & (et | kt)) === 0 ? e : null, Ze = null, Bt(e.ctx), Xe = !1, Nt = ++It, e.ac !== null && (Un(() => {
|
|
1948
1948
|
e.ac.abort(lt);
|
|
@@ -1969,7 +1969,7 @@ function so(e) {
|
|
|
1969
1969
|
if (zi() && Pe !== null && !Xe && d !== null && (e.f & (ge | it | ke)) === 0)
|
|
1970
1970
|
for (g = 0; g < /** @type {Source[]} */
|
|
1971
1971
|
Pe.length; g++)
|
|
1972
|
-
|
|
1972
|
+
oa(
|
|
1973
1973
|
Pe[g],
|
|
1974
1974
|
/** @type {Effect} */
|
|
1975
1975
|
e
|
|
@@ -1988,13 +1988,13 @@ function so(e) {
|
|
|
1988
1988
|
} catch (x) {
|
|
1989
1989
|
return Ti(x);
|
|
1990
1990
|
} finally {
|
|
1991
|
-
e.f ^= cn, Le = t, De = r, Pe = n, R = i, Ze =
|
|
1991
|
+
e.f ^= cn, Le = t, De = r, Pe = n, R = i, Ze = a, Bt(l), Xe = s, Nt = o;
|
|
1992
1992
|
}
|
|
1993
1993
|
}
|
|
1994
1994
|
function rs(e, t) {
|
|
1995
1995
|
let r = t.reactions;
|
|
1996
1996
|
if (r !== null) {
|
|
1997
|
-
var n =
|
|
1997
|
+
var n = no.call(r, e);
|
|
1998
1998
|
if (n !== -1) {
|
|
1999
1999
|
var i = r.length - 1;
|
|
2000
2000
|
i === 0 ? r = t.reactions = null : (r[n] = r[i], r.pop());
|
|
@@ -2004,11 +2004,11 @@ function rs(e, t) {
|
|
|
2004
2004
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
2005
2005
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
2006
2006
|
(Le === null || !Rt.call(Le, t))) {
|
|
2007
|
-
var
|
|
2007
|
+
var a = (
|
|
2008
2008
|
/** @type {Derived} */
|
|
2009
2009
|
t
|
|
2010
2010
|
);
|
|
2011
|
-
(
|
|
2011
|
+
(a.f & je) !== 0 && (a.f ^= je, a.f &= ~$t), In(a), jo(a), dr(a, 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
2014
|
function dr(e, t) {
|
|
@@ -2024,11 +2024,11 @@ function Yt(e) {
|
|
|
2024
2024
|
var r = j, n = Dr;
|
|
2025
2025
|
j = e, Dr = !0;
|
|
2026
2026
|
try {
|
|
2027
|
-
(t & (Ct | Cn)) !== 0 ?
|
|
2028
|
-
var i =
|
|
2029
|
-
e.teardown = typeof i == "function" ? i : null, e.wv =
|
|
2030
|
-
var
|
|
2031
|
-
|
|
2027
|
+
(t & (Ct | Cn)) !== 0 ? Qo(e) : On(e), Qi(e);
|
|
2028
|
+
var i = sa(e);
|
|
2029
|
+
e.teardown = typeof i == "function" ? i : null, e.wv = ia;
|
|
2030
|
+
var a;
|
|
2031
|
+
ro && Eo && (e.f & ke) !== 0 && e.deps;
|
|
2032
2032
|
} finally {
|
|
2033
2033
|
Dr = n, j = r;
|
|
2034
2034
|
}
|
|
@@ -2044,8 +2044,8 @@ function v(e) {
|
|
|
2044
2044
|
e.rv < It && (e.rv = It, Le === null && i !== null && i[De] === e ? De++ : Le === null ? Le = [e] : Le.push(e));
|
|
2045
2045
|
else {
|
|
2046
2046
|
(R.deps ??= []).push(e);
|
|
2047
|
-
var
|
|
2048
|
-
|
|
2047
|
+
var a = e.reactions;
|
|
2048
|
+
a === null ? e.reactions = [R] : Rt.call(a, R) || a.push(R);
|
|
2049
2049
|
}
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
@@ -2058,10 +2058,10 @@ function v(e) {
|
|
|
2058
2058
|
);
|
|
2059
2059
|
if (xt) {
|
|
2060
2060
|
var s = l.v;
|
|
2061
|
-
return ((l.f & ve) === 0 && l.reactions !== null ||
|
|
2061
|
+
return ((l.f & ve) === 0 && l.reactions !== null || ua(l)) && (s = Tn(l)), _t.set(l, s), s;
|
|
2062
2062
|
}
|
|
2063
|
-
var
|
|
2064
|
-
mr(l) && (
|
|
2063
|
+
var o = (l.f & je) === 0 && !Xe && R !== null && (Dr || (R.f & je) !== 0), u = (l.f & St) === 0;
|
|
2064
|
+
mr(l) && (o && (l.f |= je), Ri(l)), o && !u && (ji(l), la(l));
|
|
2065
2065
|
}
|
|
2066
2066
|
if (Ge?.has(e))
|
|
2067
2067
|
return Ge.get(e);
|
|
@@ -2069,22 +2069,22 @@ function v(e) {
|
|
|
2069
2069
|
throw e.v;
|
|
2070
2070
|
return e.v;
|
|
2071
2071
|
}
|
|
2072
|
-
function
|
|
2072
|
+
function la(e) {
|
|
2073
2073
|
if (e.f |= je, e.deps !== null)
|
|
2074
2074
|
for (const t of e.deps)
|
|
2075
2075
|
(t.reactions ??= []).push(e), (t.f & ge) !== 0 && (t.f & je) === 0 && (ji(
|
|
2076
2076
|
/** @type {Derived} */
|
|
2077
2077
|
t
|
|
2078
|
-
),
|
|
2078
|
+
), la(
|
|
2079
2079
|
/** @type {Derived} */
|
|
2080
2080
|
t
|
|
2081
2081
|
));
|
|
2082
2082
|
}
|
|
2083
|
-
function
|
|
2083
|
+
function ua(e) {
|
|
2084
2084
|
if (e.v === he) return !0;
|
|
2085
2085
|
if (e.deps === null) return !1;
|
|
2086
2086
|
for (const t of e.deps)
|
|
2087
|
-
if (_t.has(t) || (t.f & ge) !== 0 &&
|
|
2087
|
+
if (_t.has(t) || (t.f & ge) !== 0 && ua(
|
|
2088
2088
|
/** @type {Derived} */
|
|
2089
2089
|
t
|
|
2090
2090
|
))
|
|
@@ -2099,31 +2099,31 @@ function wr(e) {
|
|
|
2099
2099
|
Xe = t;
|
|
2100
2100
|
}
|
|
2101
2101
|
}
|
|
2102
|
-
const
|
|
2103
|
-
function
|
|
2104
|
-
function i(
|
|
2105
|
-
if (n.capture || gn.call(t,
|
|
2106
|
-
return Un(() => r?.call(this,
|
|
2102
|
+
const ar = /* @__PURE__ */ Symbol("events"), ca = /* @__PURE__ */ new Set(), pn = /* @__PURE__ */ new Set();
|
|
2103
|
+
function da(e, t, r, n = {}) {
|
|
2104
|
+
function i(a) {
|
|
2105
|
+
if (n.capture || gn.call(t, a), !a.cancelBubble)
|
|
2106
|
+
return Un(() => r?.call(this, a));
|
|
2107
2107
|
}
|
|
2108
2108
|
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? nt(() => {
|
|
2109
2109
|
t.addEventListener(e, i, n);
|
|
2110
2110
|
}) : t.addEventListener(e, i, n), i;
|
|
2111
2111
|
}
|
|
2112
2112
|
function $e(e, t, r, n, i) {
|
|
2113
|
-
var
|
|
2113
|
+
var a = { capture: n, passive: i }, l = da(e, t, r, a);
|
|
2114
2114
|
(t === document.body || // @ts-ignore
|
|
2115
2115
|
t === window || // @ts-ignore
|
|
2116
2116
|
t === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
|
|
2117
2117
|
t instanceof HTMLMediaElement) && Zr(() => {
|
|
2118
|
-
t.removeEventListener(e, l,
|
|
2118
|
+
t.removeEventListener(e, l, a);
|
|
2119
2119
|
});
|
|
2120
2120
|
}
|
|
2121
2121
|
function le(e, t, r) {
|
|
2122
|
-
(t[
|
|
2122
|
+
(t[ar] ??= {})[e] = r;
|
|
2123
2123
|
}
|
|
2124
2124
|
function Jt(e) {
|
|
2125
2125
|
for (var t = 0; t < e.length; t++)
|
|
2126
|
-
|
|
2126
|
+
ca.add(e[t]);
|
|
2127
2127
|
for (var r of pn)
|
|
2128
2128
|
r(e);
|
|
2129
2129
|
}
|
|
@@ -2132,50 +2132,50 @@ function gn(e) {
|
|
|
2132
2132
|
var t = this, r = (
|
|
2133
2133
|
/** @type {Node} */
|
|
2134
2134
|
t.ownerDocument
|
|
2135
|
-
), n = e.type, i = e.composedPath?.() || [],
|
|
2135
|
+
), n = e.type, i = e.composedPath?.() || [], a = (
|
|
2136
2136
|
/** @type {null | Element} */
|
|
2137
2137
|
i[0] || e.target
|
|
2138
2138
|
);
|
|
2139
2139
|
hi = e;
|
|
2140
|
-
var l = 0, s = hi === e && e[
|
|
2140
|
+
var l = 0, s = hi === e && e[ar];
|
|
2141
2141
|
if (s) {
|
|
2142
|
-
var
|
|
2143
|
-
if (
|
|
2142
|
+
var o = i.indexOf(s);
|
|
2143
|
+
if (o !== -1 && (t === document || t === /** @type {any} */
|
|
2144
2144
|
window)) {
|
|
2145
|
-
e[
|
|
2145
|
+
e[ar] = t;
|
|
2146
2146
|
return;
|
|
2147
2147
|
}
|
|
2148
2148
|
var u = i.indexOf(t);
|
|
2149
2149
|
if (u === -1)
|
|
2150
2150
|
return;
|
|
2151
|
-
|
|
2151
|
+
o <= u && (l = o);
|
|
2152
2152
|
}
|
|
2153
|
-
if (
|
|
2154
|
-
i[l] || e.target,
|
|
2153
|
+
if (a = /** @type {Element} */
|
|
2154
|
+
i[l] || e.target, a !== t) {
|
|
2155
2155
|
ur(e, "currentTarget", {
|
|
2156
2156
|
configurable: !0,
|
|
2157
2157
|
get() {
|
|
2158
|
-
return
|
|
2158
|
+
return a || r;
|
|
2159
2159
|
}
|
|
2160
2160
|
});
|
|
2161
2161
|
var c = R, h = j;
|
|
2162
|
-
Ye(null),
|
|
2162
|
+
Ye(null), at(null);
|
|
2163
2163
|
try {
|
|
2164
|
-
for (var d, f = [];
|
|
2165
|
-
var g =
|
|
2166
|
-
|
|
2164
|
+
for (var d, f = []; a !== null; ) {
|
|
2165
|
+
var g = a.assignedSlot || a.parentNode || /** @type {any} */
|
|
2166
|
+
a.host || null;
|
|
2167
2167
|
try {
|
|
2168
|
-
var x =
|
|
2168
|
+
var x = a[ar]?.[n];
|
|
2169
2169
|
x != null && (!/** @type {any} */
|
|
2170
|
-
|
|
2170
|
+
a.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
|
|
2171
2171
|
// -> the target could not have been disabled because it emits the event in the first place
|
|
2172
|
-
e.target ===
|
|
2172
|
+
e.target === a) && x.call(a, e);
|
|
2173
2173
|
} catch (p) {
|
|
2174
2174
|
d ? f.push(p) : d = p;
|
|
2175
2175
|
}
|
|
2176
2176
|
if (e.cancelBubble || g === t || g === null)
|
|
2177
2177
|
break;
|
|
2178
|
-
|
|
2178
|
+
a = g;
|
|
2179
2179
|
}
|
|
2180
2180
|
if (d) {
|
|
2181
2181
|
for (let p of f)
|
|
@@ -2185,7 +2185,7 @@ function gn(e) {
|
|
|
2185
2185
|
throw d;
|
|
2186
2186
|
}
|
|
2187
2187
|
} finally {
|
|
2188
|
-
e[
|
|
2188
|
+
e[ar] = t, delete e.currentTarget, Ye(c), at(h);
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
@@ -2202,7 +2202,7 @@ function is(e) {
|
|
|
2202
2202
|
ns?.createHTML(e) ?? e
|
|
2203
2203
|
);
|
|
2204
2204
|
}
|
|
2205
|
-
function
|
|
2205
|
+
function fa(e) {
|
|
2206
2206
|
var t = Dn("template");
|
|
2207
2207
|
return t.innerHTML = is(e.replaceAll("<!>", "<!---->")), t.content;
|
|
2208
2208
|
}
|
|
@@ -2215,11 +2215,11 @@ function ct(e, t) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
// @__NO_SIDE_EFFECTS__
|
|
2217
2217
|
function ie(e, t) {
|
|
2218
|
-
var r = (t & yi) !== 0, n = (t &
|
|
2218
|
+
var r = (t & yi) !== 0, n = (t & eo) !== 0, i, a = !e.startsWith("<!>");
|
|
2219
2219
|
return () => {
|
|
2220
2220
|
if (V)
|
|
2221
2221
|
return ct(B, null), B;
|
|
2222
|
-
i === void 0 && (i =
|
|
2222
|
+
i === void 0 && (i = fa(a ? e : "<!>" + e), r || (i = /** @type {TemplateNode} */
|
|
2223
2223
|
/* @__PURE__ */ Re(i)));
|
|
2224
2224
|
var l = (
|
|
2225
2225
|
/** @type {TemplateNode} */
|
|
@@ -2229,39 +2229,39 @@ function ie(e, t) {
|
|
|
2229
2229
|
var s = (
|
|
2230
2230
|
/** @type {TemplateNode} */
|
|
2231
2231
|
/* @__PURE__ */ Re(l)
|
|
2232
|
-
),
|
|
2232
|
+
), o = (
|
|
2233
2233
|
/** @type {TemplateNode} */
|
|
2234
2234
|
l.lastChild
|
|
2235
2235
|
);
|
|
2236
|
-
ct(s,
|
|
2236
|
+
ct(s, o);
|
|
2237
2237
|
} else
|
|
2238
2238
|
ct(l, l);
|
|
2239
2239
|
return l;
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
2242
2242
|
// @__NO_SIDE_EFFECTS__
|
|
2243
|
-
function
|
|
2244
|
-
var n = !e.startsWith("<!>"), i = (t & yi) !== 0,
|
|
2243
|
+
function as(e, t, r = "svg") {
|
|
2244
|
+
var n = !e.startsWith("<!>"), i = (t & yi) !== 0, a = `<${r}>${n ? e : "<!>" + e}</${r}>`, l;
|
|
2245
2245
|
return () => {
|
|
2246
2246
|
if (V)
|
|
2247
2247
|
return ct(B, null), B;
|
|
2248
2248
|
if (!l) {
|
|
2249
2249
|
var s = (
|
|
2250
2250
|
/** @type {DocumentFragment} */
|
|
2251
|
-
|
|
2252
|
-
),
|
|
2251
|
+
fa(a)
|
|
2252
|
+
), o = (
|
|
2253
2253
|
/** @type {Element} */
|
|
2254
2254
|
/* @__PURE__ */ Re(s)
|
|
2255
2255
|
);
|
|
2256
2256
|
if (i)
|
|
2257
|
-
for (l = document.createDocumentFragment(); /* @__PURE__ */ Re(
|
|
2257
|
+
for (l = document.createDocumentFragment(); /* @__PURE__ */ Re(o); )
|
|
2258
2258
|
l.appendChild(
|
|
2259
2259
|
/** @type {TemplateNode} */
|
|
2260
|
-
/* @__PURE__ */ Re(
|
|
2260
|
+
/* @__PURE__ */ Re(o)
|
|
2261
2261
|
);
|
|
2262
2262
|
else
|
|
2263
2263
|
l = /** @type {Element} */
|
|
2264
|
-
/* @__PURE__ */ Re(
|
|
2264
|
+
/* @__PURE__ */ Re(o);
|
|
2265
2265
|
}
|
|
2266
2266
|
var u = (
|
|
2267
2267
|
/** @type {TemplateNode} */
|
|
@@ -2282,8 +2282,8 @@ function os(e, t, r = "svg") {
|
|
|
2282
2282
|
};
|
|
2283
2283
|
}
|
|
2284
2284
|
// @__NO_SIDE_EFFECTS__
|
|
2285
|
-
function
|
|
2286
|
-
return /* @__PURE__ */
|
|
2285
|
+
function ae(e, t) {
|
|
2286
|
+
return /* @__PURE__ */ as(e, t, "svg");
|
|
2287
2287
|
}
|
|
2288
2288
|
function Wr() {
|
|
2289
2289
|
if (V)
|
|
@@ -2305,7 +2305,7 @@ function T(e, t) {
|
|
|
2305
2305
|
t
|
|
2306
2306
|
);
|
|
2307
2307
|
}
|
|
2308
|
-
function
|
|
2308
|
+
function os(e) {
|
|
2309
2309
|
return e.endsWith("capture") && e !== "gotpointercapture" && e !== "lostpointercapture";
|
|
2310
2310
|
}
|
|
2311
2311
|
const ss = [
|
|
@@ -2362,40 +2362,40 @@ function fr(e, t) {
|
|
|
2362
2362
|
var r = t == null ? "" : typeof t == "object" ? `${t}` : t;
|
|
2363
2363
|
r !== (e.__t ??= e.nodeValue) && (e.__t = r, e.nodeValue = `${r}`);
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2366
|
-
return
|
|
2365
|
+
function va(e, t) {
|
|
2366
|
+
return ha(e, t);
|
|
2367
2367
|
}
|
|
2368
2368
|
function vs(e, t) {
|
|
2369
2369
|
hn(), t.intro = t.intro ?? !1;
|
|
2370
2370
|
const r = t.target, n = V, i = B;
|
|
2371
2371
|
try {
|
|
2372
|
-
for (var
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
if (!
|
|
2372
|
+
for (var a = /* @__PURE__ */ Re(r); a && (a.nodeType !== hr || /** @type {Comment} */
|
|
2373
|
+
a.data !== _n); )
|
|
2374
|
+
a = /* @__PURE__ */ ot(a);
|
|
2375
|
+
if (!a)
|
|
2376
2376
|
throw Pt;
|
|
2377
2377
|
Ae(!0), Ee(
|
|
2378
2378
|
/** @type {Comment} */
|
|
2379
|
-
|
|
2379
|
+
a
|
|
2380
2380
|
);
|
|
2381
|
-
const l =
|
|
2381
|
+
const l = ha(e, { ...t, anchor: a });
|
|
2382
2382
|
return Ae(!1), /** @type {Exports} */
|
|
2383
2383
|
l;
|
|
2384
2384
|
} catch (l) {
|
|
2385
2385
|
if (l instanceof Error && l.message.split(`
|
|
2386
2386
|
`).some((s) => s.startsWith("https://svelte.dev/e/")))
|
|
2387
2387
|
throw l;
|
|
2388
|
-
return l !== Pt && console.warn("Failed to hydrate: ", l), t.recover === !1 &&
|
|
2388
|
+
return l !== Pt && console.warn("Failed to hydrate: ", l), t.recover === !1 && mo(), hn(), Ji(r), Ae(!1), va(e, t);
|
|
2389
2389
|
} finally {
|
|
2390
2390
|
Ae(n), Ee(i);
|
|
2391
2391
|
}
|
|
2392
2392
|
}
|
|
2393
2393
|
const Tr = /* @__PURE__ */ new Map();
|
|
2394
|
-
function
|
|
2394
|
+
function ha(e, { target: t, anchor: r, props: n = {}, events: i, context: a, intro: l = !0, transformError: s }) {
|
|
2395
2395
|
hn();
|
|
2396
|
-
var
|
|
2396
|
+
var o = void 0, u = Go(() => {
|
|
2397
2397
|
var c = r ?? t.appendChild(Fe());
|
|
2398
|
-
|
|
2398
|
+
Ho(
|
|
2399
2399
|
/** @type {TemplateNode} */
|
|
2400
2400
|
c,
|
|
2401
2401
|
{
|
|
@@ -2408,11 +2408,11 @@ function po(e, { target: t, anchor: r, props: n = {}, events: i, context: o, int
|
|
|
2408
2408
|
/** @type {ComponentContext} */
|
|
2409
2409
|
Ne
|
|
2410
2410
|
);
|
|
2411
|
-
if (
|
|
2411
|
+
if (a && (g.c = a), i && (n.$$events = i), V && ct(
|
|
2412
2412
|
/** @type {TemplateNode} */
|
|
2413
2413
|
f,
|
|
2414
2414
|
null
|
|
2415
|
-
),
|
|
2415
|
+
), o = e(f, n) || {}, V && (j.nodes.end = B, B === null || B.nodeType !== hr || /** @type {Comment} */
|
|
2416
2416
|
B.data !== yn))
|
|
2417
2417
|
throw Br(), Pt;
|
|
2418
2418
|
ne();
|
|
@@ -2434,7 +2434,7 @@ function po(e, { target: t, anchor: r, props: n = {}, events: i, context: o, int
|
|
|
2434
2434
|
}
|
|
2435
2435
|
}
|
|
2436
2436
|
};
|
|
2437
|
-
return d(Vr(
|
|
2437
|
+
return d(Vr(ca)), pn.add(d), () => {
|
|
2438
2438
|
for (var f of h)
|
|
2439
2439
|
for (const p of [t, document]) {
|
|
2440
2440
|
var g = (
|
|
@@ -2449,7 +2449,7 @@ function po(e, { target: t, anchor: r, props: n = {}, events: i, context: o, int
|
|
|
2449
2449
|
pn.delete(d), c !== r && c.parentNode?.removeChild(c);
|
|
2450
2450
|
};
|
|
2451
2451
|
});
|
|
2452
|
-
return bn.set(
|
|
2452
|
+
return bn.set(o, u), o;
|
|
2453
2453
|
}
|
|
2454
2454
|
let bn = /* @__PURE__ */ new WeakMap();
|
|
2455
2455
|
function hs(e, t) {
|
|
@@ -2491,13 +2491,13 @@ class Rn {
|
|
|
2491
2491
|
* Whether to pause (i.e. outro) on change, or destroy immediately.
|
|
2492
2492
|
* This is necessary for `<svelte:element>`
|
|
2493
2493
|
*/
|
|
2494
|
-
#
|
|
2494
|
+
#a = !0;
|
|
2495
2495
|
/**
|
|
2496
2496
|
* @param {TemplateNode} anchor
|
|
2497
2497
|
* @param {boolean} transition
|
|
2498
2498
|
*/
|
|
2499
2499
|
constructor(t, r = !0) {
|
|
2500
|
-
this.anchor = t, this.#
|
|
2500
|
+
this.anchor = t, this.#a = r;
|
|
2501
2501
|
}
|
|
2502
2502
|
/**
|
|
2503
2503
|
* @param {Batch} batch
|
|
@@ -2514,30 +2514,30 @@ class Rn {
|
|
|
2514
2514
|
var i = this.#t.get(r);
|
|
2515
2515
|
i && (this.#r.set(r, i.effect), this.#t.delete(r), i.fragment.lastChild.remove(), this.anchor.before(i.fragment), n = i.effect);
|
|
2516
2516
|
}
|
|
2517
|
-
for (const [
|
|
2518
|
-
if (this.#e.delete(
|
|
2517
|
+
for (const [a, l] of this.#e) {
|
|
2518
|
+
if (this.#e.delete(a), a === t)
|
|
2519
2519
|
break;
|
|
2520
2520
|
const s = this.#t.get(l);
|
|
2521
2521
|
s && (pe(s.effect), this.#t.delete(l));
|
|
2522
2522
|
}
|
|
2523
|
-
for (const [
|
|
2524
|
-
if (
|
|
2523
|
+
for (const [a, l] of this.#r) {
|
|
2524
|
+
if (a === r || this.#i.has(a)) continue;
|
|
2525
2525
|
const s = () => {
|
|
2526
|
-
if (Array.from(this.#e.values()).includes(
|
|
2526
|
+
if (Array.from(this.#e.values()).includes(a)) {
|
|
2527
2527
|
var u = document.createDocumentFragment();
|
|
2528
|
-
Pn(l, u), u.append(Fe()), this.#t.set(
|
|
2528
|
+
Pn(l, u), u.append(Fe()), this.#t.set(a, { effect: l, fragment: u });
|
|
2529
2529
|
} else
|
|
2530
2530
|
pe(l);
|
|
2531
|
-
this.#i.delete(
|
|
2531
|
+
this.#i.delete(a), this.#r.delete(a);
|
|
2532
2532
|
};
|
|
2533
|
-
this.#
|
|
2533
|
+
this.#a || !n ? (this.#i.add(a), zt(l, s, !1)) : s();
|
|
2534
2534
|
}
|
|
2535
2535
|
}
|
|
2536
2536
|
};
|
|
2537
2537
|
/**
|
|
2538
2538
|
* @param {Batch} batch
|
|
2539
2539
|
*/
|
|
2540
|
-
#
|
|
2540
|
+
#o = (t) => {
|
|
2541
2541
|
this.#e.delete(t);
|
|
2542
2542
|
const r = Array.from(this.#e.values());
|
|
2543
2543
|
for (const [n, i] of this.#t)
|
|
@@ -2555,10 +2555,10 @@ class Rn {
|
|
|
2555
2555
|
), i = Ki();
|
|
2556
2556
|
if (r && !this.#r.has(t) && !this.#t.has(t))
|
|
2557
2557
|
if (i) {
|
|
2558
|
-
var
|
|
2559
|
-
|
|
2558
|
+
var a = document.createDocumentFragment(), l = Fe();
|
|
2559
|
+
a.append(l), this.#t.set(t, {
|
|
2560
2560
|
effect: ze(() => r(l)),
|
|
2561
|
-
fragment:
|
|
2561
|
+
fragment: a
|
|
2562
2562
|
});
|
|
2563
2563
|
} else
|
|
2564
2564
|
this.#r.set(
|
|
@@ -2566,11 +2566,11 @@ class Rn {
|
|
|
2566
2566
|
ze(() => r(this.anchor))
|
|
2567
2567
|
);
|
|
2568
2568
|
if (this.#e.set(n, t), i) {
|
|
2569
|
-
for (const [s,
|
|
2570
|
-
s === t ? n.unskip_effect(
|
|
2571
|
-
for (const [s,
|
|
2572
|
-
s === t ? n.unskip_effect(
|
|
2573
|
-
n.oncommit(this.#n), n.ondiscard(this.#
|
|
2569
|
+
for (const [s, o] of this.#r)
|
|
2570
|
+
s === t ? n.unskip_effect(o) : n.skip_effect(o);
|
|
2571
|
+
for (const [s, o] of this.#t)
|
|
2572
|
+
s === t ? n.unskip_effect(o.effect) : n.skip_effect(o.effect);
|
|
2573
|
+
n.oncommit(this.#n), n.ondiscard(this.#o);
|
|
2574
2574
|
} else
|
|
2575
2575
|
V && (this.anchor = B), this.#n(n);
|
|
2576
2576
|
}
|
|
@@ -2579,11 +2579,11 @@ function qr(e, t, ...r) {
|
|
|
2579
2579
|
var n = new Rn(e);
|
|
2580
2580
|
br(() => {
|
|
2581
2581
|
const i = t() ?? null;
|
|
2582
|
-
n.ensure(i, i && ((
|
|
2582
|
+
n.ensure(i, i && ((a) => i(a, ...r)));
|
|
2583
2583
|
}, yt);
|
|
2584
2584
|
}
|
|
2585
2585
|
function ps(e) {
|
|
2586
|
-
Ne === null &&
|
|
2586
|
+
Ne === null && co(), Zt(() => {
|
|
2587
2587
|
const t = wr(e);
|
|
2588
2588
|
if (typeof t == "function") return (
|
|
2589
2589
|
/** @type {() => void} */
|
|
@@ -2594,8 +2594,8 @@ function ps(e) {
|
|
|
2594
2594
|
function te(e, t, r = !1) {
|
|
2595
2595
|
var n;
|
|
2596
2596
|
V && (n = B, pr());
|
|
2597
|
-
var i = new Rn(e),
|
|
2598
|
-
function l(s,
|
|
2597
|
+
var i = new Rn(e), a = r ? yt : 0;
|
|
2598
|
+
function l(s, o) {
|
|
2599
2599
|
if (V) {
|
|
2600
2600
|
var u = Mn(
|
|
2601
2601
|
/** @type {TemplateNode} */
|
|
@@ -2603,35 +2603,35 @@ function te(e, t, r = !1) {
|
|
|
2603
2603
|
);
|
|
2604
2604
|
if (s !== parseInt(u.substring(1))) {
|
|
2605
2605
|
var c = cr();
|
|
2606
|
-
Ee(c), i.anchor = c, Ae(!1), i.ensure(s,
|
|
2606
|
+
Ee(c), i.anchor = c, Ae(!1), i.ensure(s, o), Ae(!0);
|
|
2607
2607
|
return;
|
|
2608
2608
|
}
|
|
2609
2609
|
}
|
|
2610
|
-
i.ensure(s,
|
|
2610
|
+
i.ensure(s, o);
|
|
2611
2611
|
}
|
|
2612
2612
|
br(() => {
|
|
2613
2613
|
var s = !1;
|
|
2614
|
-
t((
|
|
2615
|
-
s = !0, l(u,
|
|
2614
|
+
t((o, u = 0) => {
|
|
2615
|
+
s = !0, l(u, o);
|
|
2616
2616
|
}), s || l(-1, null);
|
|
2617
|
-
},
|
|
2617
|
+
}, a);
|
|
2618
2618
|
}
|
|
2619
2619
|
function gs(e, t) {
|
|
2620
2620
|
return t;
|
|
2621
2621
|
}
|
|
2622
2622
|
function bs(e, t, r) {
|
|
2623
|
-
for (var n = [], i = t.length,
|
|
2623
|
+
for (var n = [], i = t.length, a, l = t.length, s = 0; s < i; s++) {
|
|
2624
2624
|
let h = t[s];
|
|
2625
2625
|
zt(
|
|
2626
2626
|
h,
|
|
2627
2627
|
() => {
|
|
2628
|
-
if (
|
|
2629
|
-
if (
|
|
2628
|
+
if (a) {
|
|
2629
|
+
if (a.pending.delete(h), a.done.add(h), a.pending.size === 0) {
|
|
2630
2630
|
var d = (
|
|
2631
2631
|
/** @type {Set<EachOutroGroup>} */
|
|
2632
2632
|
e.outrogroups
|
|
2633
2633
|
);
|
|
2634
|
-
mn(e, Vr(
|
|
2634
|
+
mn(e, Vr(a.done)), d.delete(a), d.size === 0 && (e.outrogroups = null);
|
|
2635
2635
|
}
|
|
2636
2636
|
} else
|
|
2637
2637
|
l -= 1;
|
|
@@ -2640,8 +2640,8 @@ function bs(e, t, r) {
|
|
|
2640
2640
|
);
|
|
2641
2641
|
}
|
|
2642
2642
|
if (l === 0) {
|
|
2643
|
-
var
|
|
2644
|
-
if (
|
|
2643
|
+
var o = n.length === 0 && r !== null;
|
|
2644
|
+
if (o) {
|
|
2645
2645
|
var u = (
|
|
2646
2646
|
/** @type {Element} */
|
|
2647
2647
|
r
|
|
@@ -2651,12 +2651,12 @@ function bs(e, t, r) {
|
|
|
2651
2651
|
);
|
|
2652
2652
|
Ji(c), c.append(u), e.items.clear();
|
|
2653
2653
|
}
|
|
2654
|
-
mn(e, t, !
|
|
2654
|
+
mn(e, t, !o);
|
|
2655
2655
|
} else
|
|
2656
|
-
|
|
2656
|
+
a = {
|
|
2657
2657
|
pending: new Set(t),
|
|
2658
2658
|
done: /* @__PURE__ */ new Set()
|
|
2659
|
-
}, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(
|
|
2659
|
+
}, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(a);
|
|
2660
2660
|
}
|
|
2661
2661
|
function mn(e, t, r = !0) {
|
|
2662
2662
|
var n;
|
|
@@ -2670,19 +2670,19 @@ function mn(e, t, r = !0) {
|
|
|
2670
2670
|
);
|
|
2671
2671
|
}
|
|
2672
2672
|
for (var i = 0; i < t.length; i++) {
|
|
2673
|
-
var
|
|
2674
|
-
if (n?.has(
|
|
2675
|
-
|
|
2673
|
+
var a = t[i];
|
|
2674
|
+
if (n?.has(a)) {
|
|
2675
|
+
a.f |= rt;
|
|
2676
2676
|
const l = document.createDocumentFragment();
|
|
2677
|
-
Pn(
|
|
2677
|
+
Pn(a, l);
|
|
2678
2678
|
} else
|
|
2679
2679
|
pe(t[i], r);
|
|
2680
2680
|
}
|
|
2681
2681
|
}
|
|
2682
2682
|
var pi;
|
|
2683
|
-
function
|
|
2684
|
-
var l = e, s = /* @__PURE__ */ new Map(),
|
|
2685
|
-
if (
|
|
2683
|
+
function pa(e, t, r, n, i, a = null) {
|
|
2684
|
+
var l = e, s = /* @__PURE__ */ new Map(), o = (t & ki) !== 0;
|
|
2685
|
+
if (o) {
|
|
2686
2686
|
var u = (
|
|
2687
2687
|
/** @type {Element} */
|
|
2688
2688
|
e
|
|
@@ -2695,7 +2695,7 @@ function go(e, t, r, n, i, o = null) {
|
|
|
2695
2695
|
return xn(I) ? I : I == null ? [] : Vr(I);
|
|
2696
2696
|
}), d, f = /* @__PURE__ */ new Map(), g = !0;
|
|
2697
2697
|
function x(I) {
|
|
2698
|
-
(C.effect.f & Be) === 0 && (C.pending.delete(I), C.fallback = c, ms(C, d, l, t, n), c !== null && (d.length === 0 ? (c.f & rt) === 0 ? Vn(c) : (c.f ^= rt,
|
|
2698
|
+
(C.effect.f & Be) === 0 && (C.pending.delete(I), C.fallback = c, ms(C, d, l, t, n), c !== null && (d.length === 0 ? (c.f & rt) === 0 ? Vn(c) : (c.f ^= rt, or(c, null, l)) : zt(c, () => {
|
|
2699
2699
|
c = null;
|
|
2700
2700
|
})));
|
|
2701
2701
|
}
|
|
@@ -2730,7 +2730,7 @@ function go(e, t, r, n, i, o = null) {
|
|
|
2730
2730
|
r
|
|
2731
2731
|
), g || (F.e.f |= rt), s.set(P, F)), w.add(P);
|
|
2732
2732
|
}
|
|
2733
|
-
if (I === 0 &&
|
|
2733
|
+
if (I === 0 && a && !c && (g ? c = ze(() => a(l)) : (c = ze(() => a(pi ??= Fe())), c.f |= rt)), I > w.size && vo(), V && I > 0 && Ee(cr()), !g)
|
|
2734
2734
|
if (f.set(S, w), H) {
|
|
2735
2735
|
for (const [we, ye] of s)
|
|
2736
2736
|
w.has(we) || S.skip_effect(ye.e);
|
|
@@ -2747,8 +2747,8 @@ function nr(e) {
|
|
|
2747
2747
|
return e;
|
|
2748
2748
|
}
|
|
2749
2749
|
function ms(e, t, r, n, i) {
|
|
2750
|
-
var
|
|
2751
|
-
if (
|
|
2750
|
+
var a = (n & Wa) !== 0, l = t.length, s = e.items, o = nr(e.effect.first), u, c = null, h, d = [], f = [], g, x, p, _;
|
|
2751
|
+
if (a)
|
|
2752
2752
|
for (_ = 0; _ < l; _ += 1)
|
|
2753
2753
|
g = t[_], x = i(g, _), p = /** @type {EachItem} */
|
|
2754
2754
|
s.get(x).e, (p.f & rt) === 0 && (p.nodes?.a?.measure(), (h ??= /* @__PURE__ */ new Set()).add(p));
|
|
@@ -2757,52 +2757,52 @@ function ms(e, t, r, n, i) {
|
|
|
2757
2757
|
s.get(x).e, e.outrogroups !== null)
|
|
2758
2758
|
for (const y of e.outrogroups)
|
|
2759
2759
|
y.pending.delete(p), y.done.delete(p);
|
|
2760
|
-
if ((p.f & He) !== 0 && (Vn(p),
|
|
2761
|
-
if (p.f ^= rt, p ===
|
|
2762
|
-
|
|
2760
|
+
if ((p.f & He) !== 0 && (Vn(p), a && (p.nodes?.a?.unfix(), (h ??= /* @__PURE__ */ new Set()).delete(p))), (p.f & rt) !== 0)
|
|
2761
|
+
if (p.f ^= rt, p === o)
|
|
2762
|
+
or(p, null, r);
|
|
2763
2763
|
else {
|
|
2764
|
-
var C = c ? c.next :
|
|
2765
|
-
p === e.effect.last && (e.effect.last = p.prev), p.prev && (p.prev.next = p.next), p.next && (p.next.prev = p.prev), ht(e, c, p), ht(e, p, C),
|
|
2764
|
+
var C = c ? c.next : o;
|
|
2765
|
+
p === e.effect.last && (e.effect.last = p.prev), p.prev && (p.prev.next = p.next), p.next && (p.next.prev = p.prev), ht(e, c, p), ht(e, p, C), or(p, C, r), c = p, d = [], f = [], o = nr(c.next);
|
|
2766
2766
|
continue;
|
|
2767
2767
|
}
|
|
2768
|
-
if (p !==
|
|
2768
|
+
if (p !== o) {
|
|
2769
2769
|
if (u !== void 0 && u.has(p)) {
|
|
2770
2770
|
if (d.length < f.length) {
|
|
2771
2771
|
var I = f[0], N;
|
|
2772
2772
|
c = I.prev;
|
|
2773
2773
|
var L = d[0], w = d[d.length - 1];
|
|
2774
2774
|
for (N = 0; N < d.length; N += 1)
|
|
2775
|
-
|
|
2775
|
+
or(d[N], I, r);
|
|
2776
2776
|
for (N = 0; N < f.length; N += 1)
|
|
2777
2777
|
u.delete(f[N]);
|
|
2778
|
-
ht(e, L.prev, w.next), ht(e, c, L), ht(e, w, I),
|
|
2778
|
+
ht(e, L.prev, w.next), ht(e, c, L), ht(e, w, I), o = I, c = w, _ -= 1, d = [], f = [];
|
|
2779
2779
|
} else
|
|
2780
|
-
u.delete(p),
|
|
2780
|
+
u.delete(p), or(p, o, r), ht(e, p.prev, p.next), ht(e, p, c === null ? e.effect.first : c.next), ht(e, c, p), c = p;
|
|
2781
2781
|
continue;
|
|
2782
2782
|
}
|
|
2783
|
-
for (d = [], f = [];
|
|
2784
|
-
(u ??= /* @__PURE__ */ new Set()).add(
|
|
2785
|
-
if (
|
|
2783
|
+
for (d = [], f = []; o !== null && o !== p; )
|
|
2784
|
+
(u ??= /* @__PURE__ */ new Set()).add(o), f.push(o), o = nr(o.next);
|
|
2785
|
+
if (o === null)
|
|
2786
2786
|
continue;
|
|
2787
2787
|
}
|
|
2788
|
-
(p.f & rt) === 0 && d.push(p), c = p,
|
|
2788
|
+
(p.f & rt) === 0 && d.push(p), c = p, o = nr(p.next);
|
|
2789
2789
|
}
|
|
2790
2790
|
if (e.outrogroups !== null) {
|
|
2791
2791
|
for (const y of e.outrogroups)
|
|
2792
2792
|
y.pending.size === 0 && (mn(e, Vr(y.done)), e.outrogroups?.delete(y));
|
|
2793
2793
|
e.outrogroups.size === 0 && (e.outrogroups = null);
|
|
2794
2794
|
}
|
|
2795
|
-
if (
|
|
2795
|
+
if (o !== null || u !== void 0) {
|
|
2796
2796
|
var S = [];
|
|
2797
2797
|
if (u !== void 0)
|
|
2798
2798
|
for (p of u)
|
|
2799
2799
|
(p.f & He) === 0 && S.push(p);
|
|
2800
|
-
for (;
|
|
2801
|
-
(
|
|
2800
|
+
for (; o !== null; )
|
|
2801
|
+
(o.f & He) === 0 && o !== e.fallback && S.push(o), o = nr(o.next);
|
|
2802
2802
|
var H = S.length;
|
|
2803
2803
|
if (H > 0) {
|
|
2804
2804
|
var U = (n & ki) !== 0 && l === 0 ? r : null;
|
|
2805
|
-
if (
|
|
2805
|
+
if (a) {
|
|
2806
2806
|
for (_ = 0; _ < H; _ += 1)
|
|
2807
2807
|
S[_].nodes?.a?.measure();
|
|
2808
2808
|
for (_ = 0; _ < H; _ += 1)
|
|
@@ -2811,33 +2811,33 @@ function ms(e, t, r, n, i) {
|
|
|
2811
2811
|
bs(e, S, U);
|
|
2812
2812
|
}
|
|
2813
2813
|
}
|
|
2814
|
-
|
|
2814
|
+
a && nt(() => {
|
|
2815
2815
|
if (h !== void 0)
|
|
2816
2816
|
for (p of h)
|
|
2817
2817
|
p.nodes?.a?.apply();
|
|
2818
2818
|
});
|
|
2819
2819
|
}
|
|
2820
|
-
function ws(e, t, r, n, i,
|
|
2821
|
-
var
|
|
2820
|
+
function ws(e, t, r, n, i, a, l, s) {
|
|
2821
|
+
var o = (l & Za) !== 0 ? (l & Ja) === 0 ? /* @__PURE__ */ $n(r, !1, !1) : Dt(r) : null, u = (l & Ya) !== 0 ? Dt(i) : null;
|
|
2822
2822
|
return {
|
|
2823
|
-
v:
|
|
2823
|
+
v: o,
|
|
2824
2824
|
i: u,
|
|
2825
|
-
e: ze(() => (
|
|
2825
|
+
e: ze(() => (a(t, o ?? r, u ?? i, s), () => {
|
|
2826
2826
|
e.delete(n);
|
|
2827
2827
|
}))
|
|
2828
2828
|
};
|
|
2829
2829
|
}
|
|
2830
|
-
function
|
|
2830
|
+
function or(e, t, r) {
|
|
2831
2831
|
if (e.nodes)
|
|
2832
|
-
for (var n = e.nodes.start, i = e.nodes.end,
|
|
2832
|
+
for (var n = e.nodes.start, i = e.nodes.end, a = t && (t.f & rt) === 0 ? (
|
|
2833
2833
|
/** @type {EffectNodes} */
|
|
2834
2834
|
t.nodes.start
|
|
2835
2835
|
) : r; n !== null; ) {
|
|
2836
2836
|
var l = (
|
|
2837
2837
|
/** @type {TemplateNode} */
|
|
2838
|
-
/* @__PURE__ */
|
|
2838
|
+
/* @__PURE__ */ ot(n)
|
|
2839
2839
|
);
|
|
2840
|
-
if (
|
|
2840
|
+
if (a.before(n), n === i)
|
|
2841
2841
|
return;
|
|
2842
2842
|
n = l;
|
|
2843
2843
|
}
|
|
@@ -2850,19 +2850,19 @@ function _s(e, t, r) {
|
|
|
2850
2850
|
V && (n = B, pr());
|
|
2851
2851
|
var i = new Rn(e);
|
|
2852
2852
|
br(() => {
|
|
2853
|
-
var
|
|
2853
|
+
var a = t() ?? null;
|
|
2854
2854
|
if (V) {
|
|
2855
2855
|
var l = Mn(
|
|
2856
2856
|
/** @type {TemplateNode} */
|
|
2857
2857
|
n
|
|
2858
|
-
), s = l === _n,
|
|
2859
|
-
if (s !==
|
|
2858
|
+
), s = l === _n, o = a !== null;
|
|
2859
|
+
if (s !== o) {
|
|
2860
2860
|
var u = cr();
|
|
2861
|
-
Ee(u), i.anchor = u, Ae(!1), i.ensure(
|
|
2861
|
+
Ee(u), i.anchor = u, Ae(!1), i.ensure(a, a && ((c) => r(c, a))), Ae(!0);
|
|
2862
2862
|
return;
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
|
-
i.ensure(
|
|
2865
|
+
i.ensure(a, a && ((c) => r(c, a)));
|
|
2866
2866
|
}, yt);
|
|
2867
2867
|
}
|
|
2868
2868
|
function Et(e, t) {
|
|
@@ -2895,17 +2895,17 @@ function ks(e, t) {
|
|
|
2895
2895
|
})));
|
|
2896
2896
|
});
|
|
2897
2897
|
}
|
|
2898
|
-
function
|
|
2898
|
+
function ga(e) {
|
|
2899
2899
|
var t, r, n = "";
|
|
2900
2900
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
2901
2901
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
2902
2902
|
var i = e.length;
|
|
2903
|
-
for (t = 0; t < i; t++) e[t] && (r =
|
|
2903
|
+
for (t = 0; t < i; t++) e[t] && (r = ga(e[t])) && (n && (n += " "), n += r);
|
|
2904
2904
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
2905
2905
|
return n;
|
|
2906
2906
|
}
|
|
2907
2907
|
function ys() {
|
|
2908
|
-
for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t =
|
|
2908
|
+
for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = ga(e)) && (n && (n += " "), n += t);
|
|
2909
2909
|
return n;
|
|
2910
2910
|
}
|
|
2911
2911
|
function xs(e) {
|
|
@@ -2920,8 +2920,8 @@ function Cs(e, t, r) {
|
|
|
2920
2920
|
if (r[i])
|
|
2921
2921
|
n = n ? n + " " + i : i;
|
|
2922
2922
|
else if (n.length)
|
|
2923
|
-
for (var
|
|
2924
|
-
var s = l +
|
|
2923
|
+
for (var a = i.length, l = 0; (l = n.indexOf(i, l)) >= 0; ) {
|
|
2924
|
+
var s = l + a;
|
|
2925
2925
|
(l === 0 || gi.includes(n[l - 1])) && (s === n.length || gi.includes(n[s])) ? n = (l === 0 ? "" : n.substring(0, l)) + n.substring(s + 1) : l = s;
|
|
2926
2926
|
}
|
|
2927
2927
|
}
|
|
@@ -2930,12 +2930,12 @@ function Cs(e, t, r) {
|
|
|
2930
2930
|
function bi(e, t = !1) {
|
|
2931
2931
|
var r = t ? " !important;" : ";", n = "";
|
|
2932
2932
|
for (var i of Object.keys(e)) {
|
|
2933
|
-
var
|
|
2934
|
-
|
|
2933
|
+
var a = e[i];
|
|
2934
|
+
a != null && a !== "" && (n += " " + i + ": " + a + r);
|
|
2935
2935
|
}
|
|
2936
2936
|
return n;
|
|
2937
2937
|
}
|
|
2938
|
-
function
|
|
2938
|
+
function on(e) {
|
|
2939
2939
|
return e[0] !== "-" || e[1] !== "-" ? e.toLowerCase() : e;
|
|
2940
2940
|
}
|
|
2941
2941
|
function Ss(e, t) {
|
|
@@ -2943,19 +2943,19 @@ function Ss(e, t) {
|
|
|
2943
2943
|
var r = "", n, i;
|
|
2944
2944
|
if (Array.isArray(t) ? (n = t[0], i = t[1]) : n = t, e) {
|
|
2945
2945
|
e = String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
|
|
2946
|
-
var
|
|
2947
|
-
n &&
|
|
2946
|
+
var a = !1, l = 0, s = !1, o = [];
|
|
2947
|
+
n && o.push(...Object.keys(n).map(on)), i && o.push(...Object.keys(i).map(on));
|
|
2948
2948
|
var u = 0, c = -1;
|
|
2949
2949
|
const x = e.length;
|
|
2950
2950
|
for (var h = 0; h < x; h++) {
|
|
2951
2951
|
var d = e[h];
|
|
2952
|
-
if (s ? d === "/" && e[h - 1] === "*" && (s = !1) :
|
|
2952
|
+
if (s ? d === "/" && e[h - 1] === "*" && (s = !1) : a ? a === d && (a = !1) : d === "/" && e[h + 1] === "*" ? s = !0 : d === '"' || d === "'" ? a = d : d === "(" ? l++ : d === ")" && l--, !s && a === !1 && l === 0) {
|
|
2953
2953
|
if (d === ":" && c === -1)
|
|
2954
2954
|
c = h;
|
|
2955
2955
|
else if (d === ";" || h === x - 1) {
|
|
2956
2956
|
if (c !== -1) {
|
|
2957
|
-
var f =
|
|
2958
|
-
if (!
|
|
2957
|
+
var f = on(e.substring(u, c).trim());
|
|
2958
|
+
if (!o.includes(f)) {
|
|
2959
2959
|
d !== ";" && h++;
|
|
2960
2960
|
var g = e.substring(u, h).trim();
|
|
2961
2961
|
r += " " + g + ";";
|
|
@@ -2970,29 +2970,29 @@ function Ss(e, t) {
|
|
|
2970
2970
|
}
|
|
2971
2971
|
return e == null ? null : String(e);
|
|
2972
2972
|
}
|
|
2973
|
-
function Se(e, t, r, n, i,
|
|
2973
|
+
function Se(e, t, r, n, i, a) {
|
|
2974
2974
|
var l = e.__className;
|
|
2975
2975
|
if (V || l !== r || l === void 0) {
|
|
2976
|
-
var s = Cs(r, n,
|
|
2976
|
+
var s = Cs(r, n, a);
|
|
2977
2977
|
(!V || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : t ? e.className = s : e.setAttribute("class", s)), e.__className = r;
|
|
2978
|
-
} else if (
|
|
2979
|
-
for (var
|
|
2980
|
-
var u = !!o
|
|
2981
|
-
(i == null || u !== !!i[
|
|
2978
|
+
} else if (a && i !== a)
|
|
2979
|
+
for (var o in a) {
|
|
2980
|
+
var u = !!a[o];
|
|
2981
|
+
(i == null || u !== !!i[o]) && e.classList.toggle(o, u);
|
|
2982
2982
|
}
|
|
2983
|
-
return
|
|
2983
|
+
return a;
|
|
2984
2984
|
}
|
|
2985
2985
|
function sn(e, t = {}, r, n) {
|
|
2986
2986
|
for (var i in r) {
|
|
2987
|
-
var
|
|
2988
|
-
t[i] !==
|
|
2987
|
+
var a = r[i];
|
|
2988
|
+
t[i] !== a && (r[i] == null ? e.style.removeProperty(i) : e.style.setProperty(i, a, n));
|
|
2989
2989
|
}
|
|
2990
2990
|
}
|
|
2991
2991
|
function Es(e, t, r, n) {
|
|
2992
2992
|
var i = e.__style;
|
|
2993
2993
|
if (V || i !== t) {
|
|
2994
|
-
var
|
|
2995
|
-
(!V ||
|
|
2994
|
+
var a = Ss(t, n);
|
|
2995
|
+
(!V || a !== e.getAttribute("style")) && (a == null ? e.removeAttribute("style") : e.style.cssText = a), e.__style = t;
|
|
2996
2996
|
} else n && (Array.isArray(n) ? (sn(e, r?.[0], n[0]), sn(e, r?.[1], n[1], "important")) : sn(e, r, n));
|
|
2997
2997
|
return n;
|
|
2998
2998
|
}
|
|
@@ -3001,14 +3001,14 @@ function wn(e, t, r = !1) {
|
|
|
3001
3001
|
if (t == null)
|
|
3002
3002
|
return;
|
|
3003
3003
|
if (!xn(t))
|
|
3004
|
-
return
|
|
3004
|
+
return Co();
|
|
3005
3005
|
for (var n of e.options)
|
|
3006
3006
|
n.selected = t.includes(mi(n));
|
|
3007
3007
|
return;
|
|
3008
3008
|
}
|
|
3009
3009
|
for (n of e.options) {
|
|
3010
3010
|
var i = mi(n);
|
|
3011
|
-
if (
|
|
3011
|
+
if (Fo(i, t)) {
|
|
3012
3012
|
n.selected = !0;
|
|
3013
3013
|
return;
|
|
3014
3014
|
}
|
|
@@ -3036,7 +3036,7 @@ function Ms(e) {
|
|
|
3036
3036
|
function mi(e) {
|
|
3037
3037
|
return "__value" in e ? e.__value : e.value;
|
|
3038
3038
|
}
|
|
3039
|
-
const Ot = /* @__PURE__ */ Symbol("class"), ir = /* @__PURE__ */ Symbol("style"),
|
|
3039
|
+
const Ot = /* @__PURE__ */ Symbol("class"), ir = /* @__PURE__ */ Symbol("style"), ba = /* @__PURE__ */ Symbol("is custom element"), ma = /* @__PURE__ */ Symbol("is html"), Is = Rr ? "link" : "LINK", Ls = Rr ? "input" : "INPUT", zs = Rr ? "option" : "OPTION", Ns = Rr ? "select" : "SELECT";
|
|
3040
3040
|
function Ts(e) {
|
|
3041
3041
|
if (V) {
|
|
3042
3042
|
var t = !1, r = () => {
|
|
@@ -3051,17 +3051,17 @@ function Ts(e) {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
}
|
|
3053
3053
|
};
|
|
3054
|
-
e.__on_r = r, nt(r),
|
|
3054
|
+
e.__on_r = r, nt(r), Yo();
|
|
3055
3055
|
}
|
|
3056
3056
|
}
|
|
3057
3057
|
function $s(e, t) {
|
|
3058
3058
|
t ? e.hasAttribute("selected") || e.setAttribute("selected", "") : e.removeAttribute("selected");
|
|
3059
3059
|
}
|
|
3060
3060
|
function Z(e, t, r, n) {
|
|
3061
|
-
var i =
|
|
3062
|
-
V && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === Is) || i[t] !== (i[t] = r) && (t === "loading" && (e[
|
|
3061
|
+
var i = wa(e);
|
|
3062
|
+
V && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === Is) || i[t] !== (i[t] = r) && (t === "loading" && (e[uo] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && _a(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
|
|
3063
3063
|
}
|
|
3064
|
-
function Ds(e, t, r, n, i = !1,
|
|
3064
|
+
function Ds(e, t, r, n, i = !1, a = !1) {
|
|
3065
3065
|
if (V && i && e.nodeName === Ls) {
|
|
3066
3066
|
var l = (
|
|
3067
3067
|
/** @type {HTMLInputElement} */
|
|
@@ -3069,14 +3069,14 @@ function Ds(e, t, r, n, i = !1, o = !1) {
|
|
|
3069
3069
|
), s = l.type === "checkbox" ? "defaultChecked" : "defaultValue";
|
|
3070
3070
|
s in r || Ts(l);
|
|
3071
3071
|
}
|
|
3072
|
-
var
|
|
3072
|
+
var o = wa(e), u = o[ba], c = !o[ma];
|
|
3073
3073
|
let h = V && u;
|
|
3074
3074
|
h && Ae(!1);
|
|
3075
3075
|
var d = t || {}, f = e.nodeName === zs;
|
|
3076
3076
|
for (var g in t)
|
|
3077
3077
|
g in r || (r[g] = null);
|
|
3078
3078
|
r.class ? r.class = xs(r.class) : (n || r[Ot]) && (r.class = null), r[ir] && (r.style ??= null);
|
|
3079
|
-
var x =
|
|
3079
|
+
var x = _a(e);
|
|
3080
3080
|
for (const w in r) {
|
|
3081
3081
|
let S = r[w];
|
|
3082
3082
|
if (f && w === "value" && S == null) {
|
|
@@ -3101,7 +3101,7 @@ function Ds(e, t, r, n, i = !1, o = !1) {
|
|
|
3101
3101
|
const H = {}, U = "$$" + w;
|
|
3102
3102
|
let y = w.slice(2);
|
|
3103
3103
|
var I = ls(y);
|
|
3104
|
-
if (
|
|
3104
|
+
if (os(y) && (y = y.slice(0, -7), H.capture = !0), !I && _) {
|
|
3105
3105
|
if (S != null) continue;
|
|
3106
3106
|
e.removeEventListener(y, d[U], H), d[U] = null;
|
|
3107
3107
|
}
|
|
@@ -3111,12 +3111,12 @@ function Ds(e, t, r, n, i = !1, o = !1) {
|
|
|
3111
3111
|
let P = function(F) {
|
|
3112
3112
|
d[w].call(this, F);
|
|
3113
3113
|
};
|
|
3114
|
-
d[U] =
|
|
3114
|
+
d[U] = da(y, e, P, H);
|
|
3115
3115
|
}
|
|
3116
3116
|
} else if (w === "style")
|
|
3117
3117
|
Z(e, w, S);
|
|
3118
3118
|
else if (w === "autofocus")
|
|
3119
|
-
|
|
3119
|
+
Zo(
|
|
3120
3120
|
/** @type {HTMLElement} */
|
|
3121
3121
|
e,
|
|
3122
3122
|
!!S
|
|
@@ -3134,7 +3134,7 @@ function Ds(e, t, r, n, i = !1, o = !1) {
|
|
|
3134
3134
|
c || (N = cs(N));
|
|
3135
3135
|
var L = N === "defaultValue" || N === "defaultChecked";
|
|
3136
3136
|
if (S == null && !u && !L)
|
|
3137
|
-
if (
|
|
3137
|
+
if (o[w] = null, N === "value" || N === "checked") {
|
|
3138
3138
|
let H = (
|
|
3139
3139
|
/** @type {HTMLInputElement} */
|
|
3140
3140
|
e
|
|
@@ -3149,21 +3149,21 @@ function Ds(e, t, r, n, i = !1, o = !1) {
|
|
|
3149
3149
|
}
|
|
3150
3150
|
} else
|
|
3151
3151
|
e.removeAttribute(w);
|
|
3152
|
-
else L || x.includes(N) && (u || typeof S != "string") ? (e[N] = S, N in
|
|
3152
|
+
else L || x.includes(N) && (u || typeof S != "string") ? (e[N] = S, N in o && (o[N] = he)) : typeof S != "function" && Z(e, N, S);
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
3155
|
}
|
|
3156
3156
|
return h && Ae(!0), d;
|
|
3157
3157
|
}
|
|
3158
|
-
function vr(e, t, r = [], n = [], i = [],
|
|
3159
|
-
Oi(i, r, n, (
|
|
3158
|
+
function vr(e, t, r = [], n = [], i = [], a, l = !1, s = !1) {
|
|
3159
|
+
Oi(i, r, n, (o) => {
|
|
3160
3160
|
var u = void 0, c = {}, h = e.nodeName === Ns, d = !1;
|
|
3161
3161
|
if (Xi(() => {
|
|
3162
|
-
var g = t(...
|
|
3162
|
+
var g = t(...o.map(v)), x = Ds(
|
|
3163
3163
|
e,
|
|
3164
3164
|
u,
|
|
3165
3165
|
g,
|
|
3166
|
-
|
|
3166
|
+
a,
|
|
3167
3167
|
l,
|
|
3168
3168
|
s
|
|
3169
3169
|
);
|
|
@@ -3176,7 +3176,7 @@ function vr(e, t, r = [], n = [], i = [], o, l = !1, s = !1) {
|
|
|
3176
3176
|
g[_] || pe(c[_]);
|
|
3177
3177
|
for (let _ of Object.getOwnPropertySymbols(g)) {
|
|
3178
3178
|
var p = g[_];
|
|
3179
|
-
_.description ===
|
|
3179
|
+
_.description === to && (!u || p !== u[_]) && (c[_] && pe(c[_]), c[_] = ze(() => ks(e, () => p))), x[_] = p;
|
|
3180
3180
|
}
|
|
3181
3181
|
u = x;
|
|
3182
3182
|
}), h) {
|
|
@@ -3196,23 +3196,23 @@ function vr(e, t, r = [], n = [], i = [], o, l = !1, s = !1) {
|
|
|
3196
3196
|
d = !0;
|
|
3197
3197
|
});
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3199
|
+
function wa(e) {
|
|
3200
3200
|
return (
|
|
3201
3201
|
/** @type {Record<string | symbol, unknown>} **/
|
|
3202
3202
|
// @ts-expect-error
|
|
3203
3203
|
e.__attributes ??= {
|
|
3204
|
-
[
|
|
3205
|
-
[
|
|
3204
|
+
[ba]: e.nodeName.includes("-"),
|
|
3205
|
+
[ma]: e.namespaceURI === xi
|
|
3206
3206
|
}
|
|
3207
3207
|
);
|
|
3208
3208
|
}
|
|
3209
3209
|
var wi = /* @__PURE__ */ new Map();
|
|
3210
|
-
function
|
|
3210
|
+
function _a(e) {
|
|
3211
3211
|
var t = e.getAttribute("is") || e.nodeName, r = wi.get(t);
|
|
3212
3212
|
if (r) return r;
|
|
3213
3213
|
wi.set(t, r = []);
|
|
3214
|
-
for (var n, i = e,
|
|
3215
|
-
n =
|
|
3214
|
+
for (var n, i = e, a = Element.prototype; a !== i; ) {
|
|
3215
|
+
n = io(i);
|
|
3216
3216
|
for (var l in n)
|
|
3217
3217
|
n[l].set && r.push(l);
|
|
3218
3218
|
i = Ci(i);
|
|
@@ -3226,7 +3226,7 @@ function pt(e = {}, t, r, n) {
|
|
|
3226
3226
|
var i = (
|
|
3227
3227
|
/** @type {ComponentContext} */
|
|
3228
3228
|
Ne.r
|
|
3229
|
-
),
|
|
3229
|
+
), a = (
|
|
3230
3230
|
/** @type {Effect} */
|
|
3231
3231
|
j
|
|
3232
3232
|
);
|
|
@@ -3237,13 +3237,13 @@ function pt(e = {}, t, r, n) {
|
|
|
3237
3237
|
e !== r(...s) && (t(e, ...s), l && _i(r(...l), e) && t(null, ...l));
|
|
3238
3238
|
});
|
|
3239
3239
|
}), () => {
|
|
3240
|
-
let
|
|
3241
|
-
for (;
|
|
3242
|
-
|
|
3240
|
+
let o = a;
|
|
3241
|
+
for (; o !== i && o.parent !== null && o.parent.f & un; )
|
|
3242
|
+
o = o.parent;
|
|
3243
3243
|
const u = () => {
|
|
3244
3244
|
s && _i(r(...s), e) && t(null, ...s);
|
|
3245
|
-
}, c =
|
|
3246
|
-
|
|
3245
|
+
}, c = o.teardown;
|
|
3246
|
+
o.teardown = () => {
|
|
3247
3247
|
u(), c?.();
|
|
3248
3248
|
};
|
|
3249
3249
|
};
|
|
@@ -3292,9 +3292,9 @@ const Us = {
|
|
|
3292
3292
|
for (; n--; ) {
|
|
3293
3293
|
let i = e.props[n];
|
|
3294
3294
|
rr(i) && (i = i());
|
|
3295
|
-
const
|
|
3296
|
-
if (
|
|
3297
|
-
return
|
|
3295
|
+
const a = ut(i, t);
|
|
3296
|
+
if (a && a.set)
|
|
3297
|
+
return a.set(r), !0;
|
|
3298
3298
|
}
|
|
3299
3299
|
return !1;
|
|
3300
3300
|
},
|
|
@@ -3326,14 +3326,14 @@ const Us = {
|
|
|
3326
3326
|
return t;
|
|
3327
3327
|
}
|
|
3328
3328
|
};
|
|
3329
|
-
function
|
|
3329
|
+
function ka(...e) {
|
|
3330
3330
|
return new Proxy({ props: e }, Us);
|
|
3331
3331
|
}
|
|
3332
3332
|
function m(e, t, r, n) {
|
|
3333
|
-
var i = (r &
|
|
3333
|
+
var i = (r & Xa) !== 0, a = (r & Qa) !== 0, l = (
|
|
3334
3334
|
/** @type {V} */
|
|
3335
3335
|
n
|
|
3336
|
-
), s = !0,
|
|
3336
|
+
), s = !0, o = () => (s && (s = !1, l = a ? wr(
|
|
3337
3337
|
/** @type {() => V} */
|
|
3338
3338
|
n
|
|
3339
3339
|
) : (
|
|
@@ -3346,19 +3346,19 @@ function m(e, t, r, n) {
|
|
|
3346
3346
|
u = ut(e, t)?.set ?? (c && t in e ? (C) => e[t] = C : void 0);
|
|
3347
3347
|
}
|
|
3348
3348
|
var h, d = !1;
|
|
3349
|
-
i ? [h, d] =
|
|
3349
|
+
i ? [h, d] = To(() => (
|
|
3350
3350
|
/** @type {V} */
|
|
3351
3351
|
e[t]
|
|
3352
3352
|
)) : h = /** @type {V} */
|
|
3353
|
-
e[t], h === void 0 && n !== void 0 && (h =
|
|
3353
|
+
e[t], h === void 0 && n !== void 0 && (h = o(), u && (wo(), u(h)));
|
|
3354
3354
|
var f;
|
|
3355
3355
|
if (f = () => {
|
|
3356
3356
|
var C = (
|
|
3357
3357
|
/** @type {V} */
|
|
3358
3358
|
e[t]
|
|
3359
3359
|
);
|
|
3360
|
-
return C === void 0 ?
|
|
3361
|
-
}, (r &
|
|
3360
|
+
return C === void 0 ? o() : (s = !0, C);
|
|
3361
|
+
}, (r & Ga) === 0)
|
|
3362
3362
|
return f;
|
|
3363
3363
|
if (u) {
|
|
3364
3364
|
var g = e.$$legacy;
|
|
@@ -3369,7 +3369,7 @@ function m(e, t, r, n) {
|
|
|
3369
3369
|
})
|
|
3370
3370
|
);
|
|
3371
3371
|
}
|
|
3372
|
-
var x = !1, p = ((r &
|
|
3372
|
+
var x = !1, p = ((r & Ka) !== 0 ? Fr : Pi)(() => (x = !1, f()));
|
|
3373
3373
|
i && v(p);
|
|
3374
3374
|
var _ = (
|
|
3375
3375
|
/** @type {Effect} */
|
|
@@ -3400,25 +3400,25 @@ class qs {
|
|
|
3400
3400
|
* }} options
|
|
3401
3401
|
*/
|
|
3402
3402
|
constructor(t) {
|
|
3403
|
-
var r = /* @__PURE__ */ new Map(), n = (
|
|
3403
|
+
var r = /* @__PURE__ */ new Map(), n = (a, l) => {
|
|
3404
3404
|
var s = /* @__PURE__ */ $n(l, !1, !1);
|
|
3405
|
-
return r.set(
|
|
3405
|
+
return r.set(a, s), s;
|
|
3406
3406
|
};
|
|
3407
3407
|
const i = new Proxy(
|
|
3408
3408
|
{ ...t.props || {}, $$events: {} },
|
|
3409
3409
|
{
|
|
3410
|
-
get(
|
|
3411
|
-
return v(r.get(l) ?? n(l, Reflect.get(
|
|
3410
|
+
get(a, l) {
|
|
3411
|
+
return v(r.get(l) ?? n(l, Reflect.get(a, l)));
|
|
3412
3412
|
},
|
|
3413
|
-
has(
|
|
3414
|
-
return l === En ? !0 : (v(r.get(l) ?? n(l, Reflect.get(
|
|
3413
|
+
has(a, l) {
|
|
3414
|
+
return l === En ? !0 : (v(r.get(l) ?? n(l, Reflect.get(a, l))), Reflect.has(a, l));
|
|
3415
3415
|
},
|
|
3416
|
-
set(
|
|
3417
|
-
return O(r.get(l) ?? n(l, s), s), Reflect.set(
|
|
3416
|
+
set(a, l, s) {
|
|
3417
|
+
return O(r.get(l) ?? n(l, s), s), Reflect.set(a, l, s);
|
|
3418
3418
|
}
|
|
3419
3419
|
}
|
|
3420
3420
|
);
|
|
3421
|
-
this.#r = (t.hydrate ? vs :
|
|
3421
|
+
this.#r = (t.hydrate ? vs : va)(t.component, {
|
|
3422
3422
|
target: t.target,
|
|
3423
3423
|
anchor: t.anchor,
|
|
3424
3424
|
props: i,
|
|
@@ -3427,20 +3427,20 @@ class qs {
|
|
|
3427
3427
|
recover: t.recover,
|
|
3428
3428
|
transformError: t.transformError
|
|
3429
3429
|
}), (!t?.props?.$$host || t.sync === !1) && b(), this.#e = i.$$events;
|
|
3430
|
-
for (const
|
|
3431
|
-
|
|
3430
|
+
for (const a of Object.keys(this.#r))
|
|
3431
|
+
a === "$set" || a === "$destroy" || a === "$on" || ur(this, a, {
|
|
3432
3432
|
get() {
|
|
3433
|
-
return this.#r[
|
|
3433
|
+
return this.#r[a];
|
|
3434
3434
|
},
|
|
3435
3435
|
/** @param {any} value */
|
|
3436
3436
|
set(l) {
|
|
3437
|
-
this.#r[
|
|
3437
|
+
this.#r[a] = l;
|
|
3438
3438
|
},
|
|
3439
3439
|
enumerable: !0
|
|
3440
3440
|
});
|
|
3441
3441
|
this.#r.$set = /** @param {Record<string, any>} next */
|
|
3442
|
-
(
|
|
3443
|
-
Object.assign(i,
|
|
3442
|
+
(a) => {
|
|
3443
|
+
Object.assign(i, a);
|
|
3444
3444
|
}, this.#r.$destroy = () => {
|
|
3445
3445
|
hs(this.#r);
|
|
3446
3446
|
};
|
|
@@ -3468,8 +3468,8 @@ class qs {
|
|
|
3468
3468
|
this.#r.$destroy();
|
|
3469
3469
|
}
|
|
3470
3470
|
}
|
|
3471
|
-
let
|
|
3472
|
-
typeof HTMLElement == "function" && (
|
|
3471
|
+
let ya;
|
|
3472
|
+
typeof HTMLElement == "function" && (ya = class extends HTMLElement {
|
|
3473
3473
|
/** The Svelte component constructor */
|
|
3474
3474
|
$$ctor;
|
|
3475
3475
|
/** Slots */
|
|
@@ -3527,8 +3527,8 @@ typeof HTMLElement == "function" && (xo = class extends HTMLElement {
|
|
|
3527
3527
|
if (this.$$cn = !0, !this.$$c) {
|
|
3528
3528
|
let e = function(n) {
|
|
3529
3529
|
return (i) => {
|
|
3530
|
-
const
|
|
3531
|
-
n !== "default" && (
|
|
3530
|
+
const a = Dn("slot");
|
|
3531
|
+
n !== "default" && (a.name = n), T(i, a);
|
|
3532
3532
|
};
|
|
3533
3533
|
};
|
|
3534
3534
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
@@ -3550,7 +3550,7 @@ typeof HTMLElement == "function" && (xo = class extends HTMLElement {
|
|
|
3550
3550
|
$$slots: t,
|
|
3551
3551
|
$$host: this
|
|
3552
3552
|
}
|
|
3553
|
-
}), this.$$me =
|
|
3553
|
+
}), this.$$me = Ko(() => {
|
|
3554
3554
|
qn(() => {
|
|
3555
3555
|
this.$$r = !0;
|
|
3556
3556
|
for (const n of Ur(this.$$c)) {
|
|
@@ -3569,8 +3569,8 @@ typeof HTMLElement == "function" && (xo = class extends HTMLElement {
|
|
|
3569
3569
|
});
|
|
3570
3570
|
for (const n in this.$$l)
|
|
3571
3571
|
for (const i of this.$$l[n]) {
|
|
3572
|
-
const
|
|
3573
|
-
this.$$l_u.set(i,
|
|
3572
|
+
const a = this.$$c.$on(n, i);
|
|
3573
|
+
this.$$l_u.set(i, a);
|
|
3574
3574
|
}
|
|
3575
3575
|
this.$$l = {};
|
|
3576
3576
|
}
|
|
@@ -3638,8 +3638,8 @@ function Os(e) {
|
|
|
3638
3638
|
] = !0;
|
|
3639
3639
|
}), t;
|
|
3640
3640
|
}
|
|
3641
|
-
function
|
|
3642
|
-
let l = class extends
|
|
3641
|
+
function oe(e, t, r, n, i, a) {
|
|
3642
|
+
let l = class extends ya {
|
|
3643
3643
|
constructor() {
|
|
3644
3644
|
super(e, r, i), this.$$p_d = t;
|
|
3645
3645
|
}
|
|
@@ -3654,12 +3654,12 @@ function ae(e, t, r, n, i, o) {
|
|
|
3654
3654
|
get() {
|
|
3655
3655
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
3656
3656
|
},
|
|
3657
|
-
set(
|
|
3658
|
-
|
|
3657
|
+
set(o) {
|
|
3658
|
+
o = Ar(s, o, t), this.$$d[s] = o;
|
|
3659
3659
|
var u = this.$$c;
|
|
3660
3660
|
if (u) {
|
|
3661
3661
|
var c = ut(u, s)?.get;
|
|
3662
|
-
c ? u[s] =
|
|
3662
|
+
c ? u[s] = o : u.$set({ [s]: o });
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
});
|
|
@@ -3724,9 +3724,9 @@ const Rs = {
|
|
|
3724
3724
|
/* No shadow modifier */.ai-button--no-shadow.svelte-1klcfz0 {box-shadow:none !important;}.ai-button--no-shadow.svelte-1klcfz0:is(:where(.svelte-1klcfz0):hover, :where(.svelte-1klcfz0):focus) {box-shadow:none !important;}
|
|
3725
3725
|
/*! purgecss end ignore */`
|
|
3726
3726
|
};
|
|
3727
|
-
function
|
|
3727
|
+
function xa(e, t) {
|
|
3728
3728
|
re(t, !0), Et(e, Rs);
|
|
3729
|
-
let r = m(t, "variant", 7, "primary"), n = m(t, "theme", 7, "default"), i = m(t, "shape", 7, "round"),
|
|
3729
|
+
let r = m(t, "variant", 7, "primary"), n = m(t, "theme", 7, "default"), i = m(t, "shape", 7, "round"), a = m(t, "href", 7, void 0), l = m(t, "disabled", 7, !1), s = m(t, "onclick", 7), o = m(t, "size", 7, "medium"), u = m(t, "type", 7, "button"), c = m(t, "hasBoxShadow", 7, !0), h = m(t, "class", 7, ""), d = m(t, "children", 7), f = /* @__PURE__ */ _r(t, [
|
|
3730
3730
|
"$$slots",
|
|
3731
3731
|
"$$events",
|
|
3732
3732
|
"$$legacy",
|
|
@@ -3746,7 +3746,7 @@ function Co(e, t) {
|
|
|
3746
3746
|
const g = /* @__PURE__ */ q(() => () => [
|
|
3747
3747
|
"usa-button",
|
|
3748
3748
|
"ai-button",
|
|
3749
|
-
|
|
3749
|
+
o() === "small" ? "ai-button--small" : "",
|
|
3750
3750
|
n() === "inverted" && r() === "primary" ? "ai-button--inverted" : "",
|
|
3751
3751
|
n() === "inverted" && r() === "secondary" ? "ai-button--outline-inverted" : "",
|
|
3752
3752
|
r() === "primary" ? "usa-button--primary" : "",
|
|
@@ -3775,10 +3775,10 @@ function Co(e, t) {
|
|
|
3775
3775
|
i(L), b();
|
|
3776
3776
|
},
|
|
3777
3777
|
get href() {
|
|
3778
|
-
return
|
|
3778
|
+
return a();
|
|
3779
3779
|
},
|
|
3780
3780
|
set href(L = void 0) {
|
|
3781
|
-
|
|
3781
|
+
a(L), b();
|
|
3782
3782
|
},
|
|
3783
3783
|
get disabled() {
|
|
3784
3784
|
return l();
|
|
@@ -3793,10 +3793,10 @@ function Co(e, t) {
|
|
|
3793
3793
|
s(L), b();
|
|
3794
3794
|
},
|
|
3795
3795
|
get size() {
|
|
3796
|
-
return
|
|
3796
|
+
return o();
|
|
3797
3797
|
},
|
|
3798
3798
|
set size(L = "medium") {
|
|
3799
|
-
|
|
3799
|
+
o(L), b();
|
|
3800
3800
|
},
|
|
3801
3801
|
get type() {
|
|
3802
3802
|
return u();
|
|
@@ -3830,7 +3830,7 @@ function Co(e, t) {
|
|
|
3830
3830
|
w,
|
|
3831
3831
|
(H) => ({
|
|
3832
3832
|
class: H,
|
|
3833
|
-
href:
|
|
3833
|
+
href: a(),
|
|
3834
3834
|
onclick: s(),
|
|
3835
3835
|
...f,
|
|
3836
3836
|
[Ot]: { disabled: l() }
|
|
@@ -3862,13 +3862,13 @@ function Co(e, t) {
|
|
|
3862
3862
|
qr(S, () => d() ?? Ue), E(w), T(L, w);
|
|
3863
3863
|
};
|
|
3864
3864
|
te(C, (L) => {
|
|
3865
|
-
|
|
3865
|
+
a() ? L(I) : L(N, -1);
|
|
3866
3866
|
});
|
|
3867
3867
|
}
|
|
3868
3868
|
return T(e, _), ne(p);
|
|
3869
3869
|
}
|
|
3870
|
-
|
|
3871
|
-
|
|
3870
|
+
oe(
|
|
3871
|
+
xa,
|
|
3872
3872
|
{
|
|
3873
3873
|
variant: {},
|
|
3874
3874
|
theme: {},
|
|
@@ -3888,7 +3888,7 @@ ae(
|
|
|
3888
3888
|
);
|
|
3889
3889
|
function js(e, t) {
|
|
3890
3890
|
re(t, !0);
|
|
3891
|
-
let r = m(t, "variant", 7, "primary"), n = m(t, "theme", 7, "default"), i = m(t, "href", 7, void 0),
|
|
3891
|
+
let r = m(t, "variant", 7, "primary"), n = m(t, "theme", 7, "default"), i = m(t, "href", 7, void 0), a = m(t, "disabled", 7, !1), l = m(t, "size", 7, "medium"), s = m(t, "type", 7, "button"), o = m(t, "onclick", 7), u = m(t, "class", 7, ""), c = m(t, "children", 7), h = /* @__PURE__ */ _r(t, [
|
|
3892
3892
|
"$$slots",
|
|
3893
3893
|
"$$events",
|
|
3894
3894
|
"$$legacy",
|
|
@@ -3923,10 +3923,10 @@ function js(e, t) {
|
|
|
3923
3923
|
i(f), b();
|
|
3924
3924
|
},
|
|
3925
3925
|
get disabled() {
|
|
3926
|
-
return
|
|
3926
|
+
return a();
|
|
3927
3927
|
},
|
|
3928
3928
|
set disabled(f = !1) {
|
|
3929
|
-
|
|
3929
|
+
a(f), b();
|
|
3930
3930
|
},
|
|
3931
3931
|
get size() {
|
|
3932
3932
|
return l();
|
|
@@ -3941,10 +3941,10 @@ function js(e, t) {
|
|
|
3941
3941
|
s(f), b();
|
|
3942
3942
|
},
|
|
3943
3943
|
get onclick() {
|
|
3944
|
-
return
|
|
3944
|
+
return o();
|
|
3945
3945
|
},
|
|
3946
3946
|
set onclick(f) {
|
|
3947
|
-
|
|
3947
|
+
o(f), b();
|
|
3948
3948
|
},
|
|
3949
3949
|
get class() {
|
|
3950
3950
|
return u();
|
|
@@ -3959,7 +3959,7 @@ function js(e, t) {
|
|
|
3959
3959
|
c(f), b();
|
|
3960
3960
|
}
|
|
3961
3961
|
};
|
|
3962
|
-
return
|
|
3962
|
+
return xa(e, ka(
|
|
3963
3963
|
{
|
|
3964
3964
|
get variant() {
|
|
3965
3965
|
return r();
|
|
@@ -3971,7 +3971,7 @@ function js(e, t) {
|
|
|
3971
3971
|
return i();
|
|
3972
3972
|
},
|
|
3973
3973
|
get disabled() {
|
|
3974
|
-
return
|
|
3974
|
+
return a();
|
|
3975
3975
|
},
|
|
3976
3976
|
get size() {
|
|
3977
3977
|
return l();
|
|
@@ -3980,7 +3980,7 @@ function js(e, t) {
|
|
|
3980
3980
|
return s();
|
|
3981
3981
|
},
|
|
3982
3982
|
get onclick() {
|
|
3983
|
-
return
|
|
3983
|
+
return o();
|
|
3984
3984
|
},
|
|
3985
3985
|
get children() {
|
|
3986
3986
|
return c();
|
|
@@ -3992,7 +3992,7 @@ function js(e, t) {
|
|
|
3992
3992
|
() => h
|
|
3993
3993
|
)), ne(d);
|
|
3994
3994
|
}
|
|
3995
|
-
customElements.define("graymatter-button",
|
|
3995
|
+
customElements.define("graymatter-button", oe(
|
|
3996
3996
|
js,
|
|
3997
3997
|
{
|
|
3998
3998
|
variant: { attribute: "variant", reflect: !0, type: "String" },
|
|
@@ -4022,21 +4022,21 @@ function Bs(e, t) {
|
|
|
4022
4022
|
}
|
|
4023
4023
|
return t;
|
|
4024
4024
|
}
|
|
4025
|
-
function
|
|
4025
|
+
function Ca(e, t) {
|
|
4026
4026
|
const r = Bs(e, t), n = zn(r);
|
|
4027
4027
|
return kr && n.subscribe((i) => {
|
|
4028
4028
|
try {
|
|
4029
4029
|
sessionStorage.setItem(e, JSON.stringify(i));
|
|
4030
|
-
} catch (
|
|
4031
|
-
console.warn(`Failed to persist ${e} to sessionStorage:`,
|
|
4030
|
+
} catch (a) {
|
|
4031
|
+
console.warn(`Failed to persist ${e} to sessionStorage:`, a);
|
|
4032
4032
|
}
|
|
4033
4033
|
}), n;
|
|
4034
4034
|
}
|
|
4035
|
-
const Fs =
|
|
4035
|
+
const Fs = Ca(
|
|
4036
4036
|
"subNav-selectedId",
|
|
4037
4037
|
null
|
|
4038
|
-
), Tt =
|
|
4039
|
-
function
|
|
4038
|
+
), Tt = Ca("subNav-selectedTitle", "");
|
|
4039
|
+
function Sa(e, t) {
|
|
4040
4040
|
if (kr && typeof localStorage < "u") {
|
|
4041
4041
|
const r = localStorage.getItem(e);
|
|
4042
4042
|
if (r !== null)
|
|
@@ -4048,23 +4048,23 @@ function Eo(e, t) {
|
|
|
4048
4048
|
}
|
|
4049
4049
|
return t;
|
|
4050
4050
|
}
|
|
4051
|
-
function
|
|
4052
|
-
const r =
|
|
4051
|
+
function Ea(e, t) {
|
|
4052
|
+
const r = Sa(e, t), n = zn(r);
|
|
4053
4053
|
return kr && n.subscribe((i) => {
|
|
4054
4054
|
try {
|
|
4055
4055
|
localStorage.setItem(e, JSON.stringify(i));
|
|
4056
|
-
} catch (
|
|
4057
|
-
console.warn(`Failed to persist ${e} to localStorage:`,
|
|
4056
|
+
} catch (a) {
|
|
4057
|
+
console.warn(`Failed to persist ${e} to localStorage:`, a);
|
|
4058
4058
|
}
|
|
4059
4059
|
}), n;
|
|
4060
4060
|
}
|
|
4061
|
-
const Je =
|
|
4061
|
+
const Je = Ea(
|
|
4062
4062
|
"globalSideNav-isExpanded",
|
|
4063
4063
|
!1
|
|
4064
|
-
), Ut =
|
|
4064
|
+
), Ut = Ea(
|
|
4065
4065
|
"globalSideNav-selectedItem",
|
|
4066
4066
|
null
|
|
4067
|
-
), jn =
|
|
4067
|
+
), jn = zo(
|
|
4068
4068
|
Ut,
|
|
4069
4069
|
(e) => e === "discover"
|
|
4070
4070
|
), _e = {
|
|
@@ -4081,7 +4081,7 @@ const Je = Mo(
|
|
|
4081
4081
|
if (e)
|
|
4082
4082
|
Je.set(!1);
|
|
4083
4083
|
else {
|
|
4084
|
-
const t =
|
|
4084
|
+
const t = Sa("globalSideNav-selectedItem", null);
|
|
4085
4085
|
t && t !== "discover" ? (console.log(
|
|
4086
4086
|
"[NavigationStore] Opening navigation for desktop (non-discover page)"
|
|
4087
4087
|
), Je.set(!0)) : Je.set(!1);
|
|
@@ -4101,11 +4101,11 @@ const Ys = {
|
|
|
4101
4101
|
hash: "svelte-k73g25",
|
|
4102
4102
|
code: ".global-header.svelte-k73g25 {opacity:0;transition:opacity var(--ai-duration-fast);}.global-header.visible.svelte-k73g25 {opacity:1;transition:opacity var(--ai-duration-fast);}.header-content.svelte-k73g25 {display:flex;align-items:center;gap:var(--ai-size-16);background:var(--ai-color-white);height:var(--ai-size-56);padding:0 5.8rem;}.header-content.svelte-k73g25 {display:flex;align-items:center;gap:var(--ai-size-16);align-self:stretch;}.header-text.svelte-k73g25 {color:var(--ai-color-black);font-size:var(--ai-size-16);font-weight:400;line-height:1.3;}"
|
|
4103
4103
|
};
|
|
4104
|
-
function
|
|
4104
|
+
function Ma(e, t) {
|
|
4105
4105
|
re(t, !0), Et(e, Ys);
|
|
4106
|
-
const r = () => Qe(Ut, "$selectedItem",
|
|
4107
|
-
let s = m(t, "customHeaderText", 7, ""),
|
|
4108
|
-
const u = /* @__PURE__ */ q(() => () => r() && r() !== "discover" && !n() && !v(
|
|
4106
|
+
const r = () => Qe(Ut, "$selectedItem", a), n = () => Qe(Je, "$isExpanded", a), i = () => Qe(Tt, "$selectedSubNavItemTitle", a), [a, l] = gr();
|
|
4107
|
+
let s = m(t, "customHeaderText", 7, ""), o = /* @__PURE__ */ ee(!1);
|
|
4108
|
+
const u = /* @__PURE__ */ q(() => () => r() && r() !== "discover" && !n() && !v(o)), c = /* @__PURE__ */ q(() => () => s() || i());
|
|
4109
4109
|
Zt(() => {
|
|
4110
4110
|
if (typeof window > "u") return;
|
|
4111
4111
|
const C = (N) => {
|
|
@@ -4125,9 +4125,9 @@ function Io(e, t) {
|
|
|
4125
4125
|
}
|
|
4126
4126
|
}, I = (N) => {
|
|
4127
4127
|
const L = N, { isMobile: w } = L.detail;
|
|
4128
|
-
w || (O(
|
|
4128
|
+
w || (O(o, !0), setTimeout(
|
|
4129
4129
|
() => {
|
|
4130
|
-
O(
|
|
4130
|
+
O(o, !1);
|
|
4131
4131
|
},
|
|
4132
4132
|
300
|
|
4133
4133
|
));
|
|
@@ -4158,7 +4158,7 @@ function Io(e, t) {
|
|
|
4158
4158
|
var _ = ne(h);
|
|
4159
4159
|
return l(), _;
|
|
4160
4160
|
}
|
|
4161
|
-
|
|
4161
|
+
oe(Ma, { customHeaderText: {} }, [], [], { mode: "open" });
|
|
4162
4162
|
function Ws(e, t) {
|
|
4163
4163
|
re(t, !0);
|
|
4164
4164
|
let r = m(t, "customHeaderText", 7, "");
|
|
@@ -4170,13 +4170,13 @@ function Ws(e, t) {
|
|
|
4170
4170
|
r(i), b();
|
|
4171
4171
|
}
|
|
4172
4172
|
};
|
|
4173
|
-
return
|
|
4173
|
+
return Ma(e, {
|
|
4174
4174
|
get customHeaderText() {
|
|
4175
4175
|
return r();
|
|
4176
4176
|
}
|
|
4177
4177
|
}), ne(n);
|
|
4178
4178
|
}
|
|
4179
|
-
customElements.define("graymatter-desktop-header",
|
|
4179
|
+
customElements.define("graymatter-desktop-header", oe(
|
|
4180
4180
|
Ws,
|
|
4181
4181
|
{
|
|
4182
4182
|
customHeaderText: {
|
|
@@ -4189,7 +4189,7 @@ customElements.define("graymatter-desktop-header", ae(
|
|
|
4189
4189
|
[],
|
|
4190
4190
|
{ mode: "open" }
|
|
4191
4191
|
));
|
|
4192
|
-
var Js = /* @__PURE__ */
|
|
4192
|
+
var Js = /* @__PURE__ */ ae('<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7883 3.2108C11.2367 2.13286 12.7637 2.13286 13.212 3.2108L15.294 8.21652L20.6981 8.64976C21.8619 8.74306 22.3337 10.1953 21.4471 10.9549L17.3298 14.4818L18.5877 19.7553C18.8585 20.8909 17.6232 21.7884 16.6268 21.1799L12.0002 18.354L7.37353 21.1799C6.37721 21.7884 5.14182 20.8909 5.4127 19.7553L6.67062 14.4818L2.55328 10.9549C1.66664 10.1953 2.13851 8.74306 3.30224 8.64976L8.70633 8.21652L10.7883 3.2108Z" fill="black"></path>'), Ks = /* @__PURE__ */ ae('<path d="M11.4807 3.49883C11.6729 3.03685 12.3273 3.03685 12.5195 3.49883L14.6454 8.61028C14.7264 8.80504 14.9096 8.93811 15.1199 8.95497L20.6381 9.39736C21.1369 9.43735 21.3391 10.0598 20.9591 10.3853L16.7548 13.9867C16.5946 14.1239 16.5246 14.3392 16.5736 14.5444L17.858 19.9293C17.9741 20.416 17.4447 20.8007 17.0177 20.5398L12.2933 17.6542C12.1133 17.5443 11.8869 17.5443 11.7069 17.6542L6.98251 20.5398C6.55551 20.8007 6.02606 20.416 6.14215 19.9293L7.42664 14.5444C7.47558 14.3392 7.40562 14.1239 7.24543 13.9867L3.04111 10.3853C2.66112 10.0598 2.86335 9.43735 3.36209 9.39736L8.88034 8.95497C9.0906 8.93811 9.27375 8.80504 9.35476 8.61028L11.4807 3.49883Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>'), Gs = /* @__PURE__ */ ae('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
4193
4193
|
function Bn(e, t) {
|
|
4194
4194
|
re(t, !0);
|
|
4195
4195
|
let r = m(t, "isSelected", 7, !1);
|
|
@@ -4197,26 +4197,26 @@ function Bn(e, t) {
|
|
|
4197
4197
|
get isSelected() {
|
|
4198
4198
|
return r();
|
|
4199
4199
|
},
|
|
4200
|
-
set isSelected(
|
|
4201
|
-
r(
|
|
4200
|
+
set isSelected(o = !1) {
|
|
4201
|
+
r(o), b();
|
|
4202
4202
|
}
|
|
4203
|
-
}, i = Gs(),
|
|
4203
|
+
}, i = Gs(), a = M(i);
|
|
4204
4204
|
{
|
|
4205
|
-
var l = (
|
|
4205
|
+
var l = (o) => {
|
|
4206
4206
|
var u = Js();
|
|
4207
|
-
T(
|
|
4208
|
-
}, s = (
|
|
4207
|
+
T(o, u);
|
|
4208
|
+
}, s = (o) => {
|
|
4209
4209
|
var u = Ks();
|
|
4210
|
-
T(
|
|
4210
|
+
T(o, u);
|
|
4211
4211
|
};
|
|
4212
|
-
te(
|
|
4213
|
-
r() ?
|
|
4212
|
+
te(a, (o) => {
|
|
4213
|
+
r() ? o(l) : o(s, -1);
|
|
4214
4214
|
});
|
|
4215
4215
|
}
|
|
4216
4216
|
return E(i), T(e, i), ne(n);
|
|
4217
4217
|
}
|
|
4218
|
-
|
|
4219
|
-
var Xs = /* @__PURE__ */
|
|
4218
|
+
oe(Bn, { isSelected: {} }, [], [], { mode: "open" });
|
|
4219
|
+
var Xs = /* @__PURE__ */ ae('<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508Z" fill="black"></path>'), Qs = /* @__PURE__ */ ae('<path d="M17.0508 3C19.6009 3.00039 21.6688 5.06802 21.6689 7.61816V13.2832C21.6688 15.8333 19.6009 17.901 17.0508 17.9014H13.2686L9.23926 21.7168C8.58852 22.3323 7.5166 21.8705 7.5166 20.9746V17.8984C5.01299 17.8445 3.00011 15.7997 3 13.2832V7.61816C3.00012 5.06785 5.06785 3.00012 7.61816 3H17.0508ZM7.61816 4.45898C5.87327 4.4591 4.4591 5.87327 4.45898 7.61816V13.2832C4.4591 15.0281 5.87327 16.4432 7.61816 16.4434L8.24609 16.4424C8.64868 16.4424 8.97539 16.7693 8.97559 17.1719V19.958L12.4775 16.6426C12.6186 16.5091 12.7994 16.4443 12.9795 16.4443V16.4434H17.0508C18.7954 16.443 20.2099 15.0279 20.21 13.2832V7.61816C20.2098 5.87344 18.7954 4.45938 17.0508 4.45898H7.61816Z" fill="#585C63"></path>'), el = /* @__PURE__ */ ae('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
4220
4220
|
function Fn(e, t) {
|
|
4221
4221
|
re(t, !0);
|
|
4222
4222
|
let r = m(t, "isSelected", 7, !1);
|
|
@@ -4224,26 +4224,26 @@ function Fn(e, t) {
|
|
|
4224
4224
|
get isSelected() {
|
|
4225
4225
|
return r();
|
|
4226
4226
|
},
|
|
4227
|
-
set isSelected(
|
|
4228
|
-
r(
|
|
4227
|
+
set isSelected(o = !1) {
|
|
4228
|
+
r(o), b();
|
|
4229
4229
|
}
|
|
4230
|
-
}, i = el(),
|
|
4230
|
+
}, i = el(), a = M(i);
|
|
4231
4231
|
{
|
|
4232
|
-
var l = (
|
|
4232
|
+
var l = (o) => {
|
|
4233
4233
|
var u = Xs();
|
|
4234
|
-
T(
|
|
4235
|
-
}, s = (
|
|
4234
|
+
T(o, u);
|
|
4235
|
+
}, s = (o) => {
|
|
4236
4236
|
var u = Qs();
|
|
4237
|
-
T(
|
|
4237
|
+
T(o, u);
|
|
4238
4238
|
};
|
|
4239
|
-
te(
|
|
4240
|
-
r() ?
|
|
4239
|
+
te(a, (o) => {
|
|
4240
|
+
r() ? o(l) : o(s, -1);
|
|
4241
4241
|
});
|
|
4242
4242
|
}
|
|
4243
4243
|
return E(i), T(e, i), ne(n);
|
|
4244
4244
|
}
|
|
4245
|
-
|
|
4246
|
-
var tl = /* @__PURE__ */
|
|
4245
|
+
oe(Fn, { isSelected: {} }, [], [], { mode: "open" });
|
|
4246
|
+
var tl = /* @__PURE__ */ ae('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" fill="black" stroke="black" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" fill="black" stroke="black" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="black" stroke-width="1.5" stroke-linecap="square"></path>', 1), rl = /* @__PURE__ */ ae('<rect x="2.75" y="6.02856" width="3.7459" height="12.9262" stroke="#585C63" stroke-width="1.5"></rect><rect x="9.96338" y="9.96313" width="3.7459" height="8.9918" stroke="#585C63" stroke-width="1.5"></rect><rect x="17.1763" y="2.75" width="3.7459" height="16.2049" stroke="#585C63" stroke-width="1.5"></rect><path d="M2.32764 22H21.344" stroke="#585C63" stroke-width="1.5" stroke-linecap="square"></path>', 1), nl = /* @__PURE__ */ ae('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
4247
4247
|
function Zn(e, t) {
|
|
4248
4248
|
re(t, !0);
|
|
4249
4249
|
let r = m(t, "isSelected", 7, !1);
|
|
@@ -4251,26 +4251,26 @@ function Zn(e, t) {
|
|
|
4251
4251
|
get isSelected() {
|
|
4252
4252
|
return r();
|
|
4253
4253
|
},
|
|
4254
|
-
set isSelected(
|
|
4255
|
-
r(
|
|
4254
|
+
set isSelected(o = !1) {
|
|
4255
|
+
r(o), b();
|
|
4256
4256
|
}
|
|
4257
|
-
}, i = nl(),
|
|
4257
|
+
}, i = nl(), a = M(i);
|
|
4258
4258
|
{
|
|
4259
|
-
var l = (
|
|
4259
|
+
var l = (o) => {
|
|
4260
4260
|
var u = tl();
|
|
4261
|
-
Ke(3), T(
|
|
4262
|
-
}, s = (
|
|
4261
|
+
Ke(3), T(o, u);
|
|
4262
|
+
}, s = (o) => {
|
|
4263
4263
|
var u = rl();
|
|
4264
|
-
Ke(3), T(
|
|
4264
|
+
Ke(3), T(o, u);
|
|
4265
4265
|
};
|
|
4266
|
-
te(
|
|
4267
|
-
r() ?
|
|
4266
|
+
te(a, (o) => {
|
|
4267
|
+
r() ? o(l) : o(s, -1);
|
|
4268
4268
|
});
|
|
4269
4269
|
}
|
|
4270
4270
|
return E(i), T(e, i), ne(n);
|
|
4271
4271
|
}
|
|
4272
|
-
|
|
4273
|
-
var il = /* @__PURE__ */
|
|
4272
|
+
oe(Zn, { isSelected: {} }, [], [], { mode: "open" });
|
|
4273
|
+
var il = /* @__PURE__ */ ae('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="black" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4998L2 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4998L20.3335 14.4998" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0005L2 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0005L20.3335 12.0005" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.5L2 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.5L20.3335 9.5" stroke="black" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="black" stroke-width="1.5" stroke-linecap="round"></path></g><path d="M10.5 8.52856H13.7559C14.7224 8.52856 15.5059 9.31207 15.5059 10.2786V13.5344C15.5059 14.5009 14.7224 15.2844 13.7559 15.2844H10.5C9.5335 15.2844 8.75 14.5009 8.75 13.5344V10.2786C8.75 9.31207 9.5335 8.52856 10.5 8.52856Z" fill="black" stroke="black" stroke-width="1.5"></path>', 1), al = /* @__PURE__ */ ae('<rect x="4.41699" y="4.62451" width="15.1664" height="15.1664" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect><g><path d="M9.5 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 14.4995L2 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 14.4995L20.3335 14.4995" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M9.5 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 12.0002L2 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 12.0002L20.3335 12.0002" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M12.0005 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 3.66664V2" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M3.66664 9.49976L2 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M22.0001 9.49976L20.3335 9.49976" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path><path d="M14.4995 21.9999V20.3333" stroke="#585C63" stroke-width="1.5" stroke-linecap="round"></path></g><rect x="8.52881" y="8.52856" width="6.75594" height="6.75594" rx="1.75" stroke="#585C63" stroke-width="1.5"></rect>', 1), ol = /* @__PURE__ */ ae('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><!></svg>');
|
|
4274
4274
|
function Yn(e, t) {
|
|
4275
4275
|
re(t, !0);
|
|
4276
4276
|
let r = m(t, "isSelected", 7, !1);
|
|
@@ -4278,29 +4278,29 @@ function Yn(e, t) {
|
|
|
4278
4278
|
get isSelected() {
|
|
4279
4279
|
return r();
|
|
4280
4280
|
},
|
|
4281
|
-
set isSelected(
|
|
4282
|
-
r(
|
|
4281
|
+
set isSelected(o = !1) {
|
|
4282
|
+
r(o), b();
|
|
4283
4283
|
}
|
|
4284
|
-
}, i =
|
|
4284
|
+
}, i = ol(), a = M(i);
|
|
4285
4285
|
{
|
|
4286
|
-
var l = (
|
|
4286
|
+
var l = (o) => {
|
|
4287
4287
|
var u = il();
|
|
4288
|
-
Ke(2), T(
|
|
4289
|
-
}, s = (
|
|
4290
|
-
var u =
|
|
4291
|
-
Ke(2), T(
|
|
4288
|
+
Ke(2), T(o, u);
|
|
4289
|
+
}, s = (o) => {
|
|
4290
|
+
var u = al();
|
|
4291
|
+
Ke(2), T(o, u);
|
|
4292
4292
|
};
|
|
4293
|
-
te(
|
|
4294
|
-
r() ?
|
|
4293
|
+
te(a, (o) => {
|
|
4294
|
+
r() ? o(l) : o(s, -1);
|
|
4295
4295
|
});
|
|
4296
4296
|
}
|
|
4297
4297
|
return E(i), T(e, i), ne(n);
|
|
4298
4298
|
}
|
|
4299
|
-
|
|
4300
|
-
var sl = /* @__PURE__ */
|
|
4299
|
+
oe(Yn, { isSelected: {} }, [], [], { mode: "open" });
|
|
4300
|
+
var sl = /* @__PURE__ */ ae('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#C7CDD6" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path stroke="#C7CDD6" stroke-width="1.5"></path>', 1), ll = /* @__PURE__ */ ae('<path d="M12.25 18L6 12M6 12L12.25 6M6 12L21 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>', 1), ul = /* @__PURE__ */ ae('<path d="M11.75 18.25L18 12M18 12L11.75 5.75M18 12L3 12" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 3V21" stroke="black" stroke-width="1.5" stroke-linecap="round"></path>', 1), cl = /* @__PURE__ */ ae('<path d="M8.18018 5.45068V18.5208" stroke="#585C63" stroke-width="1.5"></path>'), dl = /* @__PURE__ */ ae('<path d="M9.18018 3.27222V20.9203" stroke="#585C63" stroke-width="1.5"></path>'), fl = /* @__PURE__ */ ae('<path d="M18.75 3H5.25C4.00736 3 3 4.09719 3 5.45064V7.90129V18.5207C3 19.8742 4.00736 20.9714 5.25 20.9714H18.75C19.9926 20.9714 21 19.8742 21 18.5207V7.90129V5.45064C21 4.09719 19.9926 3 18.75 3Z" stroke="#585C63" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><!>', 1), vl = /* @__PURE__ */ ae("<svg><!></svg>");
|
|
4301
4301
|
function Jr(e, t) {
|
|
4302
4302
|
re(t, !0);
|
|
4303
|
-
let r = m(t, "isDisabled", 7, !1), n = m(t, "isHovered", 7, !1), i = m(t, "isOpen", 7, !1),
|
|
4303
|
+
let r = m(t, "isDisabled", 7, !1), n = m(t, "isHovered", 7, !1), i = m(t, "isOpen", 7, !1), a = /* @__PURE__ */ _r(t, [
|
|
4304
4304
|
"$$slots",
|
|
4305
4305
|
"$$events",
|
|
4306
4306
|
"$$legacy",
|
|
@@ -4335,9 +4335,9 @@ function Jr(e, t) {
|
|
|
4335
4335
|
height: "24",
|
|
4336
4336
|
viewBox: "0 0 24 24",
|
|
4337
4337
|
fill: "none",
|
|
4338
|
-
...
|
|
4338
|
+
...a
|
|
4339
4339
|
}));
|
|
4340
|
-
var
|
|
4340
|
+
var o = M(s);
|
|
4341
4341
|
{
|
|
4342
4342
|
var u = (d) => {
|
|
4343
4343
|
var f = sl(), g = fe(Lt(f));
|
|
@@ -4373,13 +4373,13 @@ function Jr(e, t) {
|
|
|
4373
4373
|
}
|
|
4374
4374
|
T(d, f);
|
|
4375
4375
|
};
|
|
4376
|
-
te(
|
|
4376
|
+
te(o, (d) => {
|
|
4377
4377
|
r() ? d(u) : n() ? d(c, 1) : d(h, -1);
|
|
4378
4378
|
});
|
|
4379
4379
|
}
|
|
4380
4380
|
return E(s), T(e, s), ne(l);
|
|
4381
4381
|
}
|
|
4382
|
-
|
|
4382
|
+
oe(Jr, { isDisabled: {}, isHovered: {}, isOpen: {} }, [], [], { mode: "open" });
|
|
4383
4383
|
var hl = /* @__PURE__ */ ie('<span class="icon svelte-4ebv1u"><img alt="" aria-hidden="true" width="20" height="20"/></span>'), pl = /* @__PURE__ */ ie('<button type="button" class="menu-item svelte-4ebv1u" role="menuitem"><!> <div class="menu-text svelte-4ebv1u"> </div></button>'), gl = /* @__PURE__ */ ie('<div tabindex="-1" role="menu"></div>'), bl = /* @__PURE__ */ ie('<div style="position: relative; display: inline-block;" data-profile-menu=""><button class="user-profile-button svelte-4ebv1u" tabindex="0" aria-haspopup="menu"><div class="user-profile-container svelte-4ebv1u"><div class="user-profile-icon svelte-4ebv1u" part="user-profile-icon"><span class="user-initials svelte-4ebv1u"> </span></div></div></button> <!></div>');
|
|
4384
4384
|
const ml = {
|
|
4385
4385
|
hash: "svelte-4ebv1u",
|
|
@@ -4390,10 +4390,10 @@ const ml = {
|
|
|
4390
4390
|
};
|
|
4391
4391
|
function Wn(e, t) {
|
|
4392
4392
|
re(t, !0), Et(e, ml);
|
|
4393
|
-
let r = m(t, "menuItems", 23, () => []), n = m(t, "userMeta", 7), i = m(t, "ariaLabel", 7, "Open profile menu"),
|
|
4393
|
+
let r = m(t, "menuItems", 23, () => []), n = m(t, "userMeta", 7), i = m(t, "ariaLabel", 7, "Open profile menu"), a = m(t, "menuAlign", 7, "desktop");
|
|
4394
4394
|
const l = `profile-menu-${Math.random().toString(36).slice(2, 10)}`;
|
|
4395
4395
|
let s = /* @__PURE__ */ ee(!1);
|
|
4396
|
-
function
|
|
4396
|
+
function o() {
|
|
4397
4397
|
O(s, !v(s));
|
|
4398
4398
|
}
|
|
4399
4399
|
function u() {
|
|
@@ -4461,10 +4461,10 @@ function Wn(e, t) {
|
|
|
4461
4461
|
i(y), b();
|
|
4462
4462
|
},
|
|
4463
4463
|
get menuAlign() {
|
|
4464
|
-
return
|
|
4464
|
+
return a();
|
|
4465
4465
|
},
|
|
4466
4466
|
set menuAlign(y = "desktop") {
|
|
4467
|
-
|
|
4467
|
+
a(y), b();
|
|
4468
4468
|
}
|
|
4469
4469
|
}, C = bl(), I = M(C), N = M(I), L = M(N), w = M(L), S = M(w, !0);
|
|
4470
4470
|
E(w), E(L), E(N), E(I), pt(I, (y) => O(d, y), () => v(d));
|
|
@@ -4472,7 +4472,7 @@ function Wn(e, t) {
|
|
|
4472
4472
|
{
|
|
4473
4473
|
var U = (y) => {
|
|
4474
4474
|
var P = gl();
|
|
4475
|
-
|
|
4475
|
+
pa(P, 23, r, (F) => F.label, (F, we, ye) => {
|
|
4476
4476
|
var D = pl(), Y = M(D);
|
|
4477
4477
|
{
|
|
4478
4478
|
var z = (W) => {
|
|
@@ -4488,7 +4488,7 @@ function Wn(e, t) {
|
|
|
4488
4488
|
c(v(we).action), u();
|
|
4489
4489
|
}), le("keydown", D, (W) => x(W, v(ye))), T(F, D);
|
|
4490
4490
|
}), E(P), me(() => {
|
|
4491
|
-
Se(P, 1, `profile-context-menu ${
|
|
4491
|
+
Se(P, 1, `profile-context-menu ${a() === "desktop" ? "desktop-align" : "mobile-align"}`, "svelte-4ebv1u"), Z(P, "id", l);
|
|
4492
4492
|
}), T(y, P);
|
|
4493
4493
|
};
|
|
4494
4494
|
te(H, (y) => {
|
|
@@ -4497,11 +4497,11 @@ function Wn(e, t) {
|
|
|
4497
4497
|
}
|
|
4498
4498
|
return E(C), me(() => {
|
|
4499
4499
|
Z(I, "aria-label", i()), Z(I, "aria-expanded", v(s)), Z(I, "aria-controls", l), fr(S, n()?.initials);
|
|
4500
|
-
}), le("click", I,
|
|
4500
|
+
}), le("click", I, o), $e("blur", I, h), T(e, C), ne(_);
|
|
4501
4501
|
}
|
|
4502
4502
|
Jt(["click", "keydown"]);
|
|
4503
|
-
|
|
4504
|
-
var wl = /* @__PURE__ */
|
|
4503
|
+
oe(Wn, { menuItems: {}, userMeta: {}, ariaLabel: {}, menuAlign: {} }, [], [], { mode: "open" });
|
|
4504
|
+
var wl = /* @__PURE__ */ ae('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9.87891 7.51884C11.0505 6.49372 12.95 6.49372 14.1215 7.51884C15.2931 8.54397 15.2931 10.206 14.1215 11.2312C13.9176 11.4096 13.6917 11.5569 13.4513 11.6733C12.7056 12.0341 12.0002 12.6716 12.0002 13.5V14.25M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM12 17.25H12.0075V17.2575H12V17.25Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
|
|
4505
4505
|
function Jn(e, t) {
|
|
4506
4506
|
re(t, !0);
|
|
4507
4507
|
let r = m(t, "isSelected", 7, !1);
|
|
@@ -4512,15 +4512,15 @@ function Jn(e, t) {
|
|
|
4512
4512
|
set isSelected(l = !1) {
|
|
4513
4513
|
r(l), b();
|
|
4514
4514
|
}
|
|
4515
|
-
}, i = wl(),
|
|
4516
|
-
return E(i), me(() => Z(
|
|
4515
|
+
}, i = wl(), a = M(i);
|
|
4516
|
+
return E(i), me(() => Z(a, "stroke", r() ? "#000" : "#585C63")), T(e, i), ne(n);
|
|
4517
4517
|
}
|
|
4518
|
-
|
|
4518
|
+
oe(Jn, { isSelected: {} }, [], [], { mode: "open" });
|
|
4519
4519
|
var _l = /* @__PURE__ */ ie('<a part="discover-item"><div class="icon-container svelte-1cca2eg" part="discover-icon-container"><div class="icon-wrapper svelte-1cca2eg"><!></div></div> <span class="nav-text svelte-1cca2eg">Discover</span></a>'), kl = /* @__PURE__ */ ie('<nav aria-label="USAi application" part="app-navigation"><div class="nav-items svelte-1cca2eg" part="nav-items"><!> <a part="chat-item"><div class="icon-container svelte-1cca2eg" part="chat-icon-container"><div class="icon-wrapper svelte-1cca2eg"><!></div></div> <span class="nav-text svelte-1cca2eg">Chat</span></a> <a part="console-item"><div class="icon-container svelte-1cca2eg" part="console-icon-container"><div class="icon-wrapper svelte-1cca2eg"><!></div></div> <span class="nav-text svelte-1cca2eg">Console</span></a> <a part="api-item"><div class="icon-container svelte-1cca2eg" part="api-icon-container"><div class="icon-wrapper svelte-1cca2eg"><!></div></div> <span class="nav-text svelte-1cca2eg">API</span></a></div></nav>'), yl = /* @__PURE__ */ ie('<div class="nav-footer-icon-container svelte-1cca2eg" part="nav-footer-icon-container"><a part="help-link" title="Help" aria-label="Help"><div class="icon-container svelte-1cca2eg" part="help-icon-container"><div class="icon-wrapper svelte-1cca2eg"><!></div></div></a></div>'), xl = /* @__PURE__ */ ie('<div class="nav-footer svelte-1cca2eg" part="nav-footer"><!> <div class="nav-footer-profile-container svelte-1cca2eg"><!></div></div>'), Cl = /* @__PURE__ */ ie('<div part="side-nav-container" data-testid="side-nav-container"><div class="nav-content svelte-1cca2eg" part="nav-content"><div class="nav-main svelte-1cca2eg" part="nav-main"><div class="menu-section svelte-1cca2eg" part="menu-section"><button><div class="icon-container svelte-1cca2eg" part="icon-container"><div class="icon-wrapper svelte-1cca2eg"><!></div></div></button></div> <!></div> <!></div> <div part="expanded-content"><div class="drawer-content svelte-1cca2eg" part="drawer-content"><nav part="sub-navigation" class="svelte-1cca2eg"><!></nav></div></div></div>');
|
|
4520
4520
|
const Sl = {
|
|
4521
4521
|
hash: "svelte-1cca2eg",
|
|
4522
|
-
code: `.expanded-content.drawer-anim.svelte-1cca2eg {max-width:0;overflow:hidden;pointer-events:none;transition:max-width var(--ai-duration-fast) cubic-bezier(0.4, 0, 0.2, 1);}.expanded-content.drawer-anim.open.svelte-1cca2eg {max-width:
|
|
4523
|
-
.menu-button.disabled.svelte-1cca2eg {cursor:not-allowed;opacity:0.5;background-color:transparent;}.side-nav-container.svelte-1cca2eg {display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-1);height:100%;}.side-nav-container.expanded.svelte-1cca2eg {width:
|
|
4522
|
+
code: `.expanded-content.drawer-anim.svelte-1cca2eg {max-width:0;overflow:hidden;pointer-events:none;transition:max-width var(--ai-duration-fast) cubic-bezier(0.4, 0, 0.2, 1);}.expanded-content.drawer-anim.open.svelte-1cca2eg {max-width:var(--sidenav-drawer-width);pointer-events:auto;}.drawer-content.svelte-1cca2eg {width:var(--sidenav-drawer-width);height:100%;display:flex;flex-direction:column;padding-top:var(--ai-size-72);}.drawer-content.svelte-1cca2eg nav:where(.svelte-1cca2eg) {flex:1;overflow-y:auto;overflow-x:hidden;}.menu-button.svelte-1cca2eg {display:flex;align-items:center;justify-content:center;border:none;background:none;cursor:pointer;border-radius:var(--ai-size-8);transition:background-color var(--ai-transition-ease-fast);}.menu-button.svelte-1cca2eg:disabled,
|
|
4523
|
+
.menu-button.disabled.svelte-1cca2eg {cursor:not-allowed;opacity:0.5;background-color:transparent;}.side-nav-container.svelte-1cca2eg {--sidenav-drawer-width: 15rem;--sidenav-expanded-width: 19.375rem;display:flex;flex-shrink:0;position:relative;z-index:var(--ai-layer-1);height:100%;}.side-nav-container.expanded.svelte-1cca2eg {width:var(--sidenav-expanded-width);min-width:var(--sidenav-drawer-width);max-width:var(--sidenav-expanded-width);height:100%;}.expanded-content.svelte-1cca2eg {display:flex;width:var(--sidenav-drawer-width);opacity:1;flex:none;height:100%;background:var(--ai-color-steel-50);border-right:0.0625rem solid var(--ai-color-steel-100);overflow:hidden;flex-direction:column;}.side-nav-container.expanded.svelte-1cca2eg .expanded-content:where(.svelte-1cca2eg) {width:var(--sidenav-drawer-width);opacity:1;overflow:hidden;}.side-nav-container.svelte-1cca2eg:not(.expanded) .expanded-content:where(.svelte-1cca2eg) {width:0;opacity:0;}.nav-content.svelte-1cca2eg {display:flex;width:var(--ai-size-72);height:100%;padding-bottom:var(--ai-size-16);flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:none;background:var(--ai-color-steel-100);border-right:0.0625rem solid var(--ai-color-steel-200);}.nav-main.svelte-1cca2eg {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ai-size-4);flex:1 0 0;align-self:stretch;}.nav-footer.svelte-1cca2eg {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;margin-top:auto;}.menu-section.svelte-1cca2eg {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;align-self:stretch;}.menu-button.svelte-1cca2eg {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity var(--ai-transition-ease-fast);will-change:opacity;}.menu-button.disabled.svelte-1cca2eg {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-1cca2eg:focus,
|
|
4524
4524
|
.nav-item.svelte-1cca2eg:focus,
|
|
4525
4525
|
.help-link.svelte-1cca2eg:focus {outline:none;}.menu-button.svelte-1cca2eg:focus .icon-container:where(.svelte-1cca2eg),
|
|
4526
4526
|
.nav-item.svelte-1cca2eg:focus .icon-container:where(.svelte-1cca2eg),
|
|
@@ -4541,10 +4541,10 @@ const Sl = {
|
|
|
4541
4541
|
.help-link.svelte-1cca2eg:hover .icon-container:where(.svelte-1cca2eg),
|
|
4542
4542
|
.help-link.selected.svelte-1cca2eg .icon-container:where(.svelte-1cca2eg) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-4);}.nav-item.svelte-1cca2eg {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color var(--ai-transition-ease-fast);height:100%;}.nav-item.svelte-1cca2eg:hover {color:var(--ai-color-neutral-700);}.nav-footer-icon-container.svelte-1cca2eg {align-items:center;display:flex;flex-direction:column;justify-content:center;margin-block-end:var(--ai-size-4);}.nav-footer-profile-container.svelte-1cca2eg {display:flex;padding:var(--ai-size-8) var(--ai-size-4);flex-direction:column;justify-content:center;align-items:center;gap:var(--ai-size-4);align-self:stretch;}.help-link.svelte-1cca2eg {display:flex;align-items:center;justify-content:center;text-decoration:none;color:inherit;}.help-link.svelte-1cca2eg svg {display:block;}`
|
|
4543
4543
|
};
|
|
4544
|
-
function
|
|
4544
|
+
function Ia(e, t) {
|
|
4545
4545
|
re(t, !0), Et(e, Sl);
|
|
4546
|
-
const r = () => Qe(Ut, "$selectedItem",
|
|
4547
|
-
let s = m(t, "ssrSelectedItem", 7, void 0),
|
|
4546
|
+
const r = () => Qe(Ut, "$selectedItem", a), n = () => Qe(Je, "$isExpanded", a), i = () => Qe(jn, "$isMenuButtonDisabled", a), [a, l] = gr();
|
|
4547
|
+
let s = m(t, "ssrSelectedItem", 7, void 0), o = m(t, "controlledSelectedItem", 7, void 0), u = m(t, "onNavToggle", 7, void 0), c = m(t, "onNavItemClick", 7, void 0), h = m(t, "showAppIcons", 7, !0), d = m(t, "hideDiscover", 7, !0), f = m(t, "profileMenuData", 7), g = m(t, "apiUrl", 7), x = m(t, "chatUrl", 7), p = m(t, "consoleUrl", 7), _ = m(t, "discoverUrl", 7), C = m(t, "supplementalMenuData", 7), I = m(t, "children", 7);
|
|
4548
4548
|
const N = /* @__PURE__ */ q(() => () => C()?.help?.url?.trim());
|
|
4549
4549
|
function L(k, A) {
|
|
4550
4550
|
try {
|
|
@@ -4569,7 +4569,7 @@ function Lo(e, t) {
|
|
|
4569
4569
|
function $(k, A) {
|
|
4570
4570
|
return v(H) ? k : A;
|
|
4571
4571
|
}
|
|
4572
|
-
const J = /* @__PURE__ */ q(() => () =>
|
|
4572
|
+
const J = /* @__PURE__ */ q(() => () => o() ?? r()), W = /* @__PURE__ */ q(() => () => o() ?? s()), Q = /* @__PURE__ */ q(() => () => v(W)()), se = /* @__PURE__ */ q(() => () => v(Q)() === "discover"), Ht = /* @__PURE__ */ q(() => () => v(J)() === "discover"), Gr = /* @__PURE__ */ q(() => () => {
|
|
4573
4573
|
switch ($(v(J)(), v(W)())) {
|
|
4574
4574
|
case "chat":
|
|
4575
4575
|
return "Chats";
|
|
@@ -4589,10 +4589,10 @@ function Lo(e, t) {
|
|
|
4589
4589
|
function yr(k) {
|
|
4590
4590
|
return v(y) === k;
|
|
4591
4591
|
}
|
|
4592
|
-
const Kt = /* @__PURE__ */ q(() => () => $(n(), v(Q)() ? !v(se)() : !0)), Xr = /* @__PURE__ */ q(() => () => $(v(Ht)(), v(Q)() ? v(se)() : !1)),
|
|
4592
|
+
const Kt = /* @__PURE__ */ q(() => () => $(n(), v(Q)() ? !v(se)() : !0)), Xr = /* @__PURE__ */ q(() => () => $(v(Ht)(), v(Q)() ? v(se)() : !1)), Ta = /* @__PURE__ */ q(() => () => $(n(), v(Q)() ? !v(se)() : !0)), $a = /* @__PURE__ */ q(() => () => v(F) && v(P) && !v(Xr)());
|
|
4593
4593
|
ps(() => {
|
|
4594
4594
|
if (typeof window > "u") return;
|
|
4595
|
-
O(H, !0),
|
|
4595
|
+
O(H, !0), o() === void 0 && s() && r() === null && _e.setSelectedItem(s()), document.documentElement.classList.remove("nav-initially-expanded"), document.documentElement.style.removeProperty("--initial-main-top-padding"), v(U) && v(U).classList.add("hydrated");
|
|
4596
4596
|
const k = typeof window.matchMedia == "function" ? window.matchMedia("(hover: hover)") : null, A = (Oe) => {
|
|
4597
4597
|
O(F, Oe.matches, !0);
|
|
4598
4598
|
};
|
|
@@ -4626,15 +4626,15 @@ function Lo(e, t) {
|
|
|
4626
4626
|
window.removeEventListener("layoutTransition", X), window.removeEventListener("keydown", ce), window.removeEventListener("popstate", de), k && k.removeEventListener("change", A), z && z();
|
|
4627
4627
|
};
|
|
4628
4628
|
});
|
|
4629
|
-
function
|
|
4629
|
+
function Da(k) {
|
|
4630
4630
|
const A = v(N)();
|
|
4631
4631
|
(A === "#" || A?.startsWith("#")) && k.preventDefault();
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function Aa() {
|
|
4634
4634
|
v(Xr)() || (_e.toggleExpanded(), u()?.({ expanded: n() }));
|
|
4635
4635
|
}
|
|
4636
4636
|
function Gt(k) {
|
|
4637
|
-
if (k !== "discover" && typeof window < "u" && sessionStorage.setItem("navigatingToMainNav", "true"),
|
|
4637
|
+
if (k !== "discover" && typeof window < "u" && sessionStorage.setItem("navigatingToMainNav", "true"), o() === void 0 && _e.setSelectedItem(k), k !== "discover")
|
|
4638
4638
|
try {
|
|
4639
4639
|
Promise.resolve().then(() => Or).then(({ selectedSubNavItemTitle: A }) => {
|
|
4640
4640
|
A.set(""), typeof window < "u" && (sessionStorage.removeItem("subNav-selectedTitle"), sessionStorage.removeItem("subNav-selectedId")), setTimeout(
|
|
@@ -4691,7 +4691,7 @@ function Lo(e, t) {
|
|
|
4691
4691
|
X[xe]?.focus();
|
|
4692
4692
|
} else k.key === "Home" ? (k.preventDefault(), X[0]?.focus()) : k.key === "End" && (k.preventDefault(), X[ce - 1]?.focus());
|
|
4693
4693
|
}
|
|
4694
|
-
var
|
|
4694
|
+
var Ua = {
|
|
4695
4695
|
get ssrSelectedItem() {
|
|
4696
4696
|
return s();
|
|
4697
4697
|
},
|
|
@@ -4699,10 +4699,10 @@ function Lo(e, t) {
|
|
|
4699
4699
|
s(k), b();
|
|
4700
4700
|
},
|
|
4701
4701
|
get controlledSelectedItem() {
|
|
4702
|
-
return
|
|
4702
|
+
return o();
|
|
4703
4703
|
},
|
|
4704
4704
|
set controlledSelectedItem(k = void 0) {
|
|
4705
|
-
|
|
4705
|
+
o(k), b();
|
|
4706
4706
|
},
|
|
4707
4707
|
get onNavToggle() {
|
|
4708
4708
|
return u();
|
|
@@ -4774,10 +4774,10 @@ function Lo(e, t) {
|
|
|
4774
4774
|
let Kn;
|
|
4775
4775
|
var Qr = M(Xt), en = M(Qr), tn = M(en), We = M(tn);
|
|
4776
4776
|
let Gn;
|
|
4777
|
-
var Xn = M(We), Qn = M(Xn),
|
|
4777
|
+
var Xn = M(We), Qn = M(Xn), Ha = M(Qn);
|
|
4778
4778
|
{
|
|
4779
|
-
let k = /* @__PURE__ */ q(() => v(
|
|
4780
|
-
Jr(
|
|
4779
|
+
let k = /* @__PURE__ */ q(() => v($a)()), A = /* @__PURE__ */ q(() => v(Xr)()), X = /* @__PURE__ */ q(() => v(Ta)());
|
|
4780
|
+
Jr(Ha, {
|
|
4781
4781
|
get isHovered() {
|
|
4782
4782
|
return v(k);
|
|
4783
4783
|
},
|
|
@@ -4790,9 +4790,9 @@ function Lo(e, t) {
|
|
|
4790
4790
|
});
|
|
4791
4791
|
}
|
|
4792
4792
|
E(Qn), E(Xn), E(We), E(tn);
|
|
4793
|
-
var
|
|
4793
|
+
var qa = fe(tn, 2);
|
|
4794
4794
|
{
|
|
4795
|
-
var
|
|
4795
|
+
var Oa = (k) => {
|
|
4796
4796
|
var A = kl(), X = M(A), ce = M(X);
|
|
4797
4797
|
{
|
|
4798
4798
|
var xe = (K) => {
|
|
@@ -4808,8 +4808,8 @@ function Lo(e, t) {
|
|
|
4808
4808
|
});
|
|
4809
4809
|
}
|
|
4810
4810
|
E(zr), E(Lr), Ke(2), E(Te), pt(Te, (ft) => O(we, ft), () => v(we)), me(
|
|
4811
|
-
(ft,
|
|
4812
|
-
Z(Te, "href", _() || "#"), Ir = Se(Te, 1, "nav-item discover-item svelte-1cca2eg", null, Ir, ft), Z(Te, "aria-current",
|
|
4811
|
+
(ft, Fa) => {
|
|
4812
|
+
Z(Te, "href", _() || "#"), Ir = Se(Te, 1, "nav-item discover-item svelte-1cca2eg", null, Ir, ft), Z(Te, "aria-current", Fa);
|
|
4813
4813
|
},
|
|
4814
4814
|
[
|
|
4815
4815
|
() => ({
|
|
@@ -4852,10 +4852,10 @@ function Lo(e, t) {
|
|
|
4852
4852
|
E(Er), E(er), Ke(2), E(Ie), pt(Ie, (K) => O(D, K), () => v(D));
|
|
4853
4853
|
var Ve = fe(Ie, 2);
|
|
4854
4854
|
let Mr;
|
|
4855
|
-
var ri = M(Ve), ni = M(ri),
|
|
4855
|
+
var ri = M(Ve), ni = M(ri), Ba = M(ni);
|
|
4856
4856
|
{
|
|
4857
4857
|
let K = /* @__PURE__ */ q(() => qe("api"));
|
|
4858
|
-
Yn(
|
|
4858
|
+
Yn(Ba, {
|
|
4859
4859
|
get isSelected() {
|
|
4860
4860
|
return v(K);
|
|
4861
4861
|
}
|
|
@@ -4887,14 +4887,14 @@ function Lo(e, t) {
|
|
|
4887
4887
|
xr(K, "api"), Cr(K, 3);
|
|
4888
4888
|
}), $e("mouseenter", Ve, () => O(y, "api")), $e("mouseleave", Ve, () => O(y, null)), T(k, A);
|
|
4889
4889
|
};
|
|
4890
|
-
te(
|
|
4891
|
-
h() && k(
|
|
4890
|
+
te(qa, (k) => {
|
|
4891
|
+
h() && k(Oa);
|
|
4892
4892
|
});
|
|
4893
4893
|
}
|
|
4894
4894
|
E(en);
|
|
4895
|
-
var
|
|
4895
|
+
var Va = fe(en, 2);
|
|
4896
4896
|
{
|
|
4897
|
-
var
|
|
4897
|
+
var Pa = (k) => {
|
|
4898
4898
|
var A = xl(), X = M(A);
|
|
4899
4899
|
{
|
|
4900
4900
|
var ce = (Ce) => {
|
|
@@ -4918,7 +4918,7 @@ function Lo(e, t) {
|
|
|
4918
4918
|
() => v(S)() ? "page" : void 0,
|
|
4919
4919
|
() => v(N)()
|
|
4920
4920
|
]
|
|
4921
|
-
), le("click", Me,
|
|
4921
|
+
), le("click", Me, Da), T(Ce, be);
|
|
4922
4922
|
}, xe = /* @__PURE__ */ q(() => v(N)());
|
|
4923
4923
|
te(X, (Ce) => {
|
|
4924
4924
|
v(xe) && Ce(ce);
|
|
@@ -4940,15 +4940,15 @@ function Lo(e, t) {
|
|
|
4940
4940
|
}
|
|
4941
4941
|
E(de), E(A), T(k, A);
|
|
4942
4942
|
};
|
|
4943
|
-
te(
|
|
4944
|
-
f() && k(
|
|
4943
|
+
te(Va, (k) => {
|
|
4944
|
+
f() && k(Pa);
|
|
4945
4945
|
});
|
|
4946
4946
|
}
|
|
4947
4947
|
E(Qr);
|
|
4948
4948
|
var Sr = fe(Qr, 2);
|
|
4949
4949
|
let ei;
|
|
4950
|
-
var ti = M(Sr), rn = M(ti),
|
|
4951
|
-
qr(
|
|
4950
|
+
var ti = M(Sr), rn = M(ti), Ra = M(rn);
|
|
4951
|
+
qr(Ra, () => I() ?? Ue), E(rn), E(ti), E(Sr), E(Xt), pt(Xt, (k) => O(U, k), () => v(U)), me(
|
|
4952
4952
|
(k, A, X, ce, xe, de) => {
|
|
4953
4953
|
Kn = Se(Xt, 1, "side-nav-container svelte-1cca2eg", null, Kn, k), Gn = Se(We, 1, "menu-button svelte-1cca2eg", null, Gn, { disabled: i() }), We.disabled = i(), Z(We, "aria-label", A), Z(We, "aria-expanded", X), ei = Se(Sr, 1, "expanded-content drawer-anim svelte-1cca2eg", null, ei, ce), Z(Sr, "aria-hidden", xe), Z(rn, "aria-label", de);
|
|
4954
4954
|
},
|
|
@@ -4960,13 +4960,13 @@ function Lo(e, t) {
|
|
|
4960
4960
|
() => !v(Kt)(),
|
|
4961
4961
|
() => v(Gr)()
|
|
4962
4962
|
]
|
|
4963
|
-
), le("click", We,
|
|
4964
|
-
var
|
|
4965
|
-
return l(),
|
|
4963
|
+
), le("click", We, Aa), $e("mouseenter", We, () => O(P, !0)), $e("mouseleave", We, () => O(P, !1)), $e("focus", We, () => O(P, !0)), $e("blur", We, () => O(P, !1)), T(e, Xt);
|
|
4964
|
+
var ja = ne(Ua);
|
|
4965
|
+
return l(), ja;
|
|
4966
4966
|
}
|
|
4967
4967
|
Jt(["click", "keydown"]);
|
|
4968
|
-
|
|
4969
|
-
|
|
4968
|
+
oe(
|
|
4969
|
+
Ia,
|
|
4970
4970
|
{
|
|
4971
4971
|
ssrSelectedItem: {},
|
|
4972
4972
|
controlledSelectedItem: {},
|
|
@@ -4988,7 +4988,7 @@ ae(
|
|
|
4988
4988
|
);
|
|
4989
4989
|
function El(e, t) {
|
|
4990
4990
|
re(t, !0);
|
|
4991
|
-
let r = m(t, "ssrSelectedItem", 7), n = m(t, "controlledSelectedItem", 7), i = m(t, "onNavToggle", 7),
|
|
4991
|
+
let r = m(t, "ssrSelectedItem", 7), n = m(t, "controlledSelectedItem", 7), i = m(t, "onNavToggle", 7), a = m(t, "onNavItemClick", 7), l = m(t, "showAppIcons", 7, !0), s = m(t, "hideDiscover", 7, !0), o = m(t, "profileMenuData", 7), u = m(t, "apiUrl", 7), c = m(t, "chatUrl", 7), h = m(t, "consoleUrl", 7), d = m(t, "discoverUrl", 7), f = m(t, "supplementalMenuData", 7), g = m(t, "children", 7);
|
|
4992
4992
|
var x = {
|
|
4993
4993
|
get ssrSelectedItem() {
|
|
4994
4994
|
return r();
|
|
@@ -5009,10 +5009,10 @@ function El(e, t) {
|
|
|
5009
5009
|
i(p), b();
|
|
5010
5010
|
},
|
|
5011
5011
|
get onNavItemClick() {
|
|
5012
|
-
return
|
|
5012
|
+
return a();
|
|
5013
5013
|
},
|
|
5014
5014
|
set onNavItemClick(p) {
|
|
5015
|
-
|
|
5015
|
+
a(p), b();
|
|
5016
5016
|
},
|
|
5017
5017
|
get showAppIcons() {
|
|
5018
5018
|
return l();
|
|
@@ -5027,10 +5027,10 @@ function El(e, t) {
|
|
|
5027
5027
|
s(p), b();
|
|
5028
5028
|
},
|
|
5029
5029
|
get profileMenuData() {
|
|
5030
|
-
return
|
|
5030
|
+
return o();
|
|
5031
5031
|
},
|
|
5032
5032
|
set profileMenuData(p) {
|
|
5033
|
-
|
|
5033
|
+
o(p), b();
|
|
5034
5034
|
},
|
|
5035
5035
|
get apiUrl() {
|
|
5036
5036
|
return u();
|
|
@@ -5069,7 +5069,7 @@ function El(e, t) {
|
|
|
5069
5069
|
g(p), b();
|
|
5070
5070
|
}
|
|
5071
5071
|
};
|
|
5072
|
-
return
|
|
5072
|
+
return Ia(e, {
|
|
5073
5073
|
get ssrSelectedItem() {
|
|
5074
5074
|
return r();
|
|
5075
5075
|
},
|
|
@@ -5080,7 +5080,7 @@ function El(e, t) {
|
|
|
5080
5080
|
return i();
|
|
5081
5081
|
},
|
|
5082
5082
|
get onNavItemClick() {
|
|
5083
|
-
return
|
|
5083
|
+
return a();
|
|
5084
5084
|
},
|
|
5085
5085
|
get showAppIcons() {
|
|
5086
5086
|
return l();
|
|
@@ -5089,7 +5089,7 @@ function El(e, t) {
|
|
|
5089
5089
|
return s();
|
|
5090
5090
|
},
|
|
5091
5091
|
get profileMenuData() {
|
|
5092
|
-
return
|
|
5092
|
+
return o();
|
|
5093
5093
|
},
|
|
5094
5094
|
get apiUrl() {
|
|
5095
5095
|
return u();
|
|
@@ -5111,7 +5111,7 @@ function El(e, t) {
|
|
|
5111
5111
|
}
|
|
5112
5112
|
}), ne(x);
|
|
5113
5113
|
}
|
|
5114
|
-
customElements.define("graymatter-desktop-side-nav",
|
|
5114
|
+
customElements.define("graymatter-desktop-side-nav", oe(
|
|
5115
5115
|
El,
|
|
5116
5116
|
{
|
|
5117
5117
|
ssrSelectedItem: {},
|
|
@@ -5132,14 +5132,14 @@ customElements.define("graymatter-desktop-side-nav", ae(
|
|
|
5132
5132
|
[],
|
|
5133
5133
|
{ mode: "open" }
|
|
5134
5134
|
));
|
|
5135
|
-
var Ml = /* @__PURE__ */
|
|
5135
|
+
var Ml = /* @__PURE__ */ ae('<svg><g><path d="M57.5791 20.4177C57.5791 15.5645 53.7309 11.6187 48.9988 11.6187H40.188C38.6688 11.6187 37.4304 10.3567 37.4304 8.80197C37.4304 7.24729 38.6658 5.98522 40.188 5.98522H56.2373V0H38.8757C34.1466 0 30.2983 3.94877 30.2983 8.80197C30.2983 13.6552 34.1466 17.6039 38.8757 17.6039H47.6865C49.2057 17.6039 50.4442 18.866 50.4442 20.4207C50.4442 21.9754 49.2087 23.2374 47.6865 23.2374H31.0284V29.2197H48.9988C53.7309 29.2197 57.5791 25.2709 57.5791 20.4207V20.4177Z"></path><path d="M82.1466 24.7153L82.188 24.7685L83.6747 29.2197H90.6914L80.917 0H68.3525L58.5781 29.2167H65.5949L67.0993 24.7153H82.1466ZM69.186 18.4818L73.3653 5.98522H75.9013L75.919 6.03547L80.1161 18.5793H69.1535L69.186 18.4818Z"></path><path d="M27.198 0H20.5626V15.8158C20.5626 21.4345 16.9626 23.4355 13.5961 23.4355C9.03842 23.4355 6.62956 20.799 6.62956 15.8158V0H0V17.0069C0 20.6985 1.46305 24.0532 4.11724 26.4532C6.64729 28.7409 10.0138 30 13.599 30C20.3586 30 27.198 25.5369 27.198 17.0039V0Z"></path><path d="M101.708 9.78915H93.8662V29.2197H101.708V9.78915Z"></path><path d="M101.823 0H93.8662V5.98227H101.823V0Z"></path></g></svg>'), Il = /* @__PURE__ */ ae('<svg><path d="M38.1538 13.6118C38.1538 10.3764 35.6038 7.74581 32.4682 7.74581H26.6298C25.6231 7.74581 24.8025 6.90443 24.8025 5.86798C24.8025 4.83153 25.6211 3.99015 26.6298 3.99015H37.2646V0H25.7602C22.6266 0 20.0765 2.63251 20.0765 5.86798C20.0765 9.10345 22.6266 11.736 25.7602 11.736H31.5986C32.6053 11.736 33.4259 12.5773 33.4259 13.6138C33.4259 14.6502 32.6072 15.4916 31.5986 15.4916H20.5603V19.4798H32.4682C35.6038 19.4798 38.1538 16.8473 38.1538 13.6138V13.6118Z"></path><path d="M54.4317 16.4768L54.4591 16.5123L55.4442 19.4798H60.0938L53.6169 0H45.2912L38.8143 19.4778H43.4639L44.4608 16.4768H54.4317ZM48.6129 3.99015H50.2933L50.305 4.02365L53.0861 12.3862H45.822L48.6129 3.99015Z"></path><path d="M18.0224 0H13.6255V10.5438C13.6255 14.2897 11.24 15.6236 9.00924 15.6236C5.98918 15.6236 4.39298 13.866 4.39298 10.5438V0H0V11.3379C0 13.799 0.969472 16.0355 2.72823 17.6355C4.40473 19.1606 6.6355 20 9.01119 20C13.4903 20 18.0224 17.0246 18.0224 11.336V0Z"></path><path d="M67.3965 6.52612H62.2005V19.4798H67.3965V6.52612Z"></path><path d="M70.6978 2.72727C70.5495 2.72727 70.4078 2.71191 70.2726 2.68118C70.1374 2.64789 70.0178 2.59795 69.9138 2.53137C69.8097 2.46223 69.7278 2.37772 69.668 2.27785C69.6082 2.17542 69.5783 2.05506 69.5783 1.91677C69.5783 1.90141 69.5783 1.88604 69.5783 1.87068C69.5809 1.85531 69.5822 1.84379 69.5822 1.83611H70.0932C70.0932 1.84123 70.0919 1.85147 70.0893 1.86684C70.0893 1.87964 70.0893 1.89117 70.0893 1.90141C70.0893 1.98592 70.114 2.0589 70.1634 2.12036C70.2128 2.17926 70.2843 2.22535 70.3779 2.25864C70.4715 2.28937 70.582 2.30474 70.7095 2.30474C70.7953 2.30474 70.8707 2.29962 70.9357 2.28937C71.0033 2.27913 71.0605 2.26504 71.1073 2.24712C71.1567 2.22663 71.197 2.20359 71.2282 2.17798C71.2594 2.14981 71.2815 2.11908 71.2945 2.08579C71.3101 2.0525 71.3179 2.01665 71.3179 1.97823C71.3179 1.90397 71.2945 1.84251 71.2477 1.79385C71.2009 1.7452 71.1372 1.70423 71.0566 1.67093C70.9786 1.63764 70.8889 1.60819 70.7875 1.58259C70.6887 1.55442 70.586 1.52625 70.4793 1.49808C70.3753 1.46991 70.2726 1.43662 70.1712 1.39821C70.0724 1.35723 69.9827 1.30858 69.9021 1.25224C69.824 1.1959 69.7616 1.12548 69.7148 1.04097C69.668 0.953905 69.6446 0.850192 69.6446 0.729833C69.6446 0.606914 69.6706 0.49936 69.7226 0.40717C69.7772 0.314981 69.8526 0.239437 69.9489 0.180538C70.0477 0.119078 70.1621 0.0742637 70.2921 0.0460946C70.4221 0.0153649 70.5638 0 70.7173 0C70.8603 0 70.9942 0.0153649 71.119 0.0460946C71.2464 0.0742637 71.3582 0.120358 71.4545 0.184379C71.5507 0.245839 71.6261 0.325224 71.6807 0.422535C71.7353 0.517286 71.7626 0.631242 71.7626 0.764405V0.810499H71.2594V0.772087C71.2594 0.697823 71.236 0.635083 71.1892 0.583867C71.145 0.53265 71.0813 0.492958 70.9981 0.464789C70.9175 0.43662 70.8226 0.422535 70.7134 0.422535C70.5963 0.422535 70.4962 0.434059 70.413 0.457106C70.3298 0.477593 70.2661 0.509603 70.2219 0.553137C70.1777 0.59411 70.1556 0.645326 70.1556 0.706786C70.1556 0.770807 70.179 0.824584 70.2258 0.868118C70.2726 0.911652 70.335 0.948784 70.413 0.979513C70.4936 1.01024 70.5833 1.03841 70.6822 1.06402C70.7836 1.08963 70.8863 1.1178 70.9903 1.14853C71.0969 1.1767 71.1996 1.20999 71.2984 1.2484C71.3999 1.28681 71.4896 1.33547 71.5676 1.39437C71.6482 1.4507 71.7119 1.52113 71.7587 1.60563C71.8055 1.69014 71.8289 1.79129 71.8289 1.90909C71.8289 2.10627 71.7795 2.26504 71.6807 2.3854C71.5845 2.50576 71.4506 2.59283 71.2789 2.64661C71.1099 2.70038 70.9162 2.72727 70.6978 2.72727Z"></path><path d="M72.3008 2.68118V0.0460946H73.1004L73.5217 1.51344C73.5373 1.56466 73.5529 1.62228 73.5685 1.6863C73.5841 1.75032 73.5984 1.81178 73.6114 1.87068C73.627 1.92958 73.6387 1.98079 73.6465 2.02433H73.6777C73.6829 1.98592 73.6907 1.93854 73.7011 1.8822C73.7115 1.82586 73.7232 1.76568 73.7362 1.70166C73.7518 1.63508 73.7687 1.57106 73.7869 1.5096L74.2082 0.0460946H75V2.68118H74.4929V1.34827C74.4929 1.23047 74.4942 1.11268 74.4968 0.994878C74.4994 0.877081 74.502 0.775928 74.5046 0.691421C74.5098 0.606914 74.5124 0.556978 74.5124 0.541613H74.4812C74.476 0.564661 74.463 0.614597 74.4422 0.691421C74.4214 0.768246 74.3993 0.851472 74.3759 0.941101C74.3525 1.03073 74.3317 1.10755 74.3135 1.17157L73.8727 2.68118H73.4047L72.9639 1.17542C72.9483 1.12164 72.9301 1.05762 72.9093 0.983355C72.8911 0.90653 72.8716 0.828425 72.8508 0.74904C72.8326 0.669654 72.8157 0.600512 72.8001 0.541613H72.7689C72.7715 0.610755 72.7741 0.693982 72.7767 0.791293C72.7793 0.886043 72.7819 0.983355 72.7845 1.08323C72.7871 1.18054 72.7884 1.26889 72.7884 1.34827V2.68118H72.3008Z"></path><path d="M67.4728 0H62.2005V3.98818H67.4728V0Z"></path></svg>');
|
|
5136
5136
|
const Ll = {
|
|
5137
5137
|
hash: "svelte-tssf2h",
|
|
5138
5138
|
code: "svg.svelte-tssf2h {display:block;}"
|
|
5139
5139
|
};
|
|
5140
5140
|
function Wt(e, t) {
|
|
5141
5141
|
re(t, !0), Et(e, Ll);
|
|
5142
|
-
const r = m(t, "isInverted", 7, !1), n = m(t, "width", 7, 102), i = m(t, "height", 7, 30),
|
|
5142
|
+
const r = m(t, "isInverted", 7, !1), n = m(t, "width", 7, 102), i = m(t, "height", 7, 30), a = m(t, "showServiceMark", 7, !1), l = /* @__PURE__ */ _r(t, [
|
|
5143
5143
|
"$$slots",
|
|
5144
5144
|
"$$events",
|
|
5145
5145
|
"$$legacy",
|
|
@@ -5149,7 +5149,7 @@ function Wt(e, t) {
|
|
|
5149
5149
|
"height",
|
|
5150
5150
|
"showServiceMark"
|
|
5151
5151
|
]), s = /* @__PURE__ */ q(() => () => r() ? "var(--ai-color-white)" : "var(--ai-color-black)");
|
|
5152
|
-
var
|
|
5152
|
+
var o = {
|
|
5153
5153
|
get isInverted() {
|
|
5154
5154
|
return r();
|
|
5155
5155
|
},
|
|
@@ -5169,10 +5169,10 @@ function Wt(e, t) {
|
|
|
5169
5169
|
i(f), b();
|
|
5170
5170
|
},
|
|
5171
5171
|
get showServiceMark() {
|
|
5172
|
-
return
|
|
5172
|
+
return a();
|
|
5173
5173
|
},
|
|
5174
5174
|
set showServiceMark(f = !1) {
|
|
5175
|
-
|
|
5175
|
+
a(f), b();
|
|
5176
5176
|
}
|
|
5177
5177
|
}, u = Wr(), c = Lt(u);
|
|
5178
5178
|
{
|
|
@@ -5214,15 +5214,15 @@ function Wt(e, t) {
|
|
|
5214
5214
|
), T(f, g);
|
|
5215
5215
|
};
|
|
5216
5216
|
te(c, (f) => {
|
|
5217
|
-
|
|
5217
|
+
a() ? f(d, -1) : f(h);
|
|
5218
5218
|
});
|
|
5219
5219
|
}
|
|
5220
|
-
return T(e, u), ne(
|
|
5220
|
+
return T(e, u), ne(o);
|
|
5221
5221
|
}
|
|
5222
|
-
|
|
5222
|
+
oe(Wt, { isInverted: {}, width: {}, height: {}, showServiceMark: {} }, [], [], { mode: "open" });
|
|
5223
5223
|
function zl(e, t) {
|
|
5224
5224
|
re(t, !0);
|
|
5225
|
-
let r = m(t, "isInverted", 7, !1), n = m(t, "width", 7, void 0), i = m(t, "height", 7, void 0),
|
|
5225
|
+
let r = m(t, "isInverted", 7, !1), n = m(t, "width", 7, void 0), i = m(t, "height", 7, void 0), a = m(t, "showServiceMark", 7, !1), l = /* @__PURE__ */ _r(t, [
|
|
5226
5226
|
"$$slots",
|
|
5227
5227
|
"$$events",
|
|
5228
5228
|
"$$legacy",
|
|
@@ -5236,29 +5236,29 @@ function zl(e, t) {
|
|
|
5236
5236
|
get isInverted() {
|
|
5237
5237
|
return r();
|
|
5238
5238
|
},
|
|
5239
|
-
set isInverted(
|
|
5240
|
-
r(
|
|
5239
|
+
set isInverted(o = !1) {
|
|
5240
|
+
r(o), b();
|
|
5241
5241
|
},
|
|
5242
5242
|
get width() {
|
|
5243
5243
|
return n();
|
|
5244
5244
|
},
|
|
5245
|
-
set width(
|
|
5246
|
-
n(
|
|
5245
|
+
set width(o = void 0) {
|
|
5246
|
+
n(o), b();
|
|
5247
5247
|
},
|
|
5248
5248
|
get height() {
|
|
5249
5249
|
return i();
|
|
5250
5250
|
},
|
|
5251
|
-
set height(
|
|
5252
|
-
i(
|
|
5251
|
+
set height(o = void 0) {
|
|
5252
|
+
i(o), b();
|
|
5253
5253
|
},
|
|
5254
5254
|
get showServiceMark() {
|
|
5255
|
-
return
|
|
5255
|
+
return a();
|
|
5256
5256
|
},
|
|
5257
|
-
set showServiceMark(
|
|
5258
|
-
o
|
|
5257
|
+
set showServiceMark(o = !1) {
|
|
5258
|
+
a(o), b();
|
|
5259
5259
|
}
|
|
5260
5260
|
};
|
|
5261
|
-
return Wt(e,
|
|
5261
|
+
return Wt(e, ka(
|
|
5262
5262
|
{
|
|
5263
5263
|
get isInverted() {
|
|
5264
5264
|
return r();
|
|
@@ -5270,13 +5270,13 @@ function zl(e, t) {
|
|
|
5270
5270
|
return i();
|
|
5271
5271
|
},
|
|
5272
5272
|
get showServiceMark() {
|
|
5273
|
-
return
|
|
5273
|
+
return a();
|
|
5274
5274
|
}
|
|
5275
5275
|
},
|
|
5276
5276
|
() => l
|
|
5277
5277
|
)), ne(s);
|
|
5278
5278
|
}
|
|
5279
|
-
customElements.define("graymatter-logo",
|
|
5279
|
+
customElements.define("graymatter-logo", oe(
|
|
5280
5280
|
zl,
|
|
5281
5281
|
{
|
|
5282
5282
|
isInverted: { attribute: "is-inverted", reflect: !0, type: "Boolean" },
|
|
@@ -5297,10 +5297,10 @@ const $l = {
|
|
|
5297
5297
|
hash: "svelte-1ya5jgu",
|
|
5298
5298
|
code: ".nav-item.svelte-1ya5jgu {flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ai-size-4);text-decoration:none;color:var(--ai-color-neutral-600);transition:color var(--ai-transition-ease-fast);height:100%;}.nav-item.active.svelte-1ya5jgu {color:var(--ai-color-neutral-900);}.nav-item.active.svelte-1ya5jgu .icon:where(.svelte-1ya5jgu) {background-color:var(--ai-color-steel-300);border-radius:var(--ai-size-8);}.nav-item.svelte-1ya5jgu:hover {color:var(--ai-color-neutral-700);}.icon.svelte-1ya5jgu {width:var(--ai-size-24);height:var(--ai-size-24);margin-bottom:var(--ai-size-2);display:flex;align-items:center;justify-content:center;padding:var(--ai-size-2);transition:background-color var(--ai-transition-ease-fast);}.label.svelte-1ya5jgu {font-size:0.6875rem; /* 11px */font-weight:500;line-height:1;text-align:center;}"
|
|
5299
5299
|
};
|
|
5300
|
-
function
|
|
5300
|
+
function La(e, t) {
|
|
5301
5301
|
re(t, !0), Et(e, $l);
|
|
5302
5302
|
const r = () => Qe(Ut, "$selectedItem", n), [n, i] = gr();
|
|
5303
|
-
let
|
|
5303
|
+
let a = m(t, "onNavItemClick", 7), l = m(t, "showAppIcons", 7, !0), s = m(t, "hideDiscover", 7, !0), o = m(t, "apiUrl", 7), u = m(t, "chatUrl", 7), c = m(t, "consoleUrl", 7), h = m(t, "discoverUrl", 7), d = m(t, "controlledSelectedItem", 7, void 0);
|
|
5304
5304
|
const f = /* @__PURE__ */ q(() => () => d() ?? r()), g = /* @__PURE__ */ q(() => () => [
|
|
5305
5305
|
{
|
|
5306
5306
|
id: "discover",
|
|
@@ -5324,7 +5324,7 @@ function zo(e, t) {
|
|
|
5324
5324
|
id: "api",
|
|
5325
5325
|
label: "API",
|
|
5326
5326
|
icon: Yn,
|
|
5327
|
-
href:
|
|
5327
|
+
href: o() || "#"
|
|
5328
5328
|
}
|
|
5329
5329
|
]), x = /* @__PURE__ */ q(() => () => s() ? v(g)().filter((w) => w.id !== "discover") : v(g)());
|
|
5330
5330
|
function p(w) {
|
|
@@ -5362,14 +5362,14 @@ function zo(e, t) {
|
|
|
5362
5362
|
} catch (S) {
|
|
5363
5363
|
console.log("[MobileBottomNav] Import failed for clearing Discover state:", S);
|
|
5364
5364
|
}
|
|
5365
|
-
|
|
5365
|
+
a()?.({ item: w, expanded: !1 });
|
|
5366
5366
|
}
|
|
5367
5367
|
var _ = {
|
|
5368
5368
|
get onNavItemClick() {
|
|
5369
|
-
return
|
|
5369
|
+
return a();
|
|
5370
5370
|
},
|
|
5371
5371
|
set onNavItemClick(w) {
|
|
5372
|
-
|
|
5372
|
+
a(w), b();
|
|
5373
5373
|
},
|
|
5374
5374
|
get showAppIcons() {
|
|
5375
5375
|
return l();
|
|
@@ -5384,10 +5384,10 @@ function zo(e, t) {
|
|
|
5384
5384
|
s(w), b();
|
|
5385
5385
|
},
|
|
5386
5386
|
get apiUrl() {
|
|
5387
|
-
return
|
|
5387
|
+
return o();
|
|
5388
5388
|
},
|
|
5389
5389
|
set apiUrl(w) {
|
|
5390
|
-
|
|
5390
|
+
o(w), b();
|
|
5391
5391
|
},
|
|
5392
5392
|
get chatUrl() {
|
|
5393
5393
|
return u();
|
|
@@ -5417,7 +5417,7 @@ function zo(e, t) {
|
|
|
5417
5417
|
{
|
|
5418
5418
|
var N = (w) => {
|
|
5419
5419
|
var S = Tl();
|
|
5420
|
-
|
|
5420
|
+
pa(S, 21, () => v(x)(), gs, (H, U) => {
|
|
5421
5421
|
var y = Nl();
|
|
5422
5422
|
let P;
|
|
5423
5423
|
var F = M(y), we = M(F);
|
|
@@ -5452,8 +5452,8 @@ function zo(e, t) {
|
|
|
5452
5452
|
return i(), L;
|
|
5453
5453
|
}
|
|
5454
5454
|
Jt(["click"]);
|
|
5455
|
-
|
|
5456
|
-
|
|
5455
|
+
oe(
|
|
5456
|
+
La,
|
|
5457
5457
|
{
|
|
5458
5458
|
onNavItemClick: {},
|
|
5459
5459
|
showAppIcons: {},
|
|
@@ -5470,7 +5470,7 @@ ae(
|
|
|
5470
5470
|
);
|
|
5471
5471
|
function Dl(e, t) {
|
|
5472
5472
|
re(t, !0);
|
|
5473
|
-
let r = m(t, "onNavItemClick", 7), n = m(t, "showAppIcons", 7, !0), i = m(t, "hideDiscover", 7, !0),
|
|
5473
|
+
let r = m(t, "onNavItemClick", 7), n = m(t, "showAppIcons", 7, !0), i = m(t, "hideDiscover", 7, !0), a = m(t, "apiUrl", 7), l = m(t, "chatUrl", 7), s = m(t, "consoleUrl", 7), o = m(t, "discoverUrl", 7), u = m(t, "controlledSelectedItem", 7);
|
|
5474
5474
|
var c = {
|
|
5475
5475
|
get onNavItemClick() {
|
|
5476
5476
|
return r();
|
|
@@ -5491,10 +5491,10 @@ function Dl(e, t) {
|
|
|
5491
5491
|
i(h), b();
|
|
5492
5492
|
},
|
|
5493
5493
|
get apiUrl() {
|
|
5494
|
-
return
|
|
5494
|
+
return a();
|
|
5495
5495
|
},
|
|
5496
5496
|
set apiUrl(h) {
|
|
5497
|
-
|
|
5497
|
+
a(h), b();
|
|
5498
5498
|
},
|
|
5499
5499
|
get chatUrl() {
|
|
5500
5500
|
return l();
|
|
@@ -5509,10 +5509,10 @@ function Dl(e, t) {
|
|
|
5509
5509
|
s(h), b();
|
|
5510
5510
|
},
|
|
5511
5511
|
get discoverUrl() {
|
|
5512
|
-
return
|
|
5512
|
+
return o();
|
|
5513
5513
|
},
|
|
5514
5514
|
set discoverUrl(h) {
|
|
5515
|
-
|
|
5515
|
+
o(h), b();
|
|
5516
5516
|
},
|
|
5517
5517
|
get controlledSelectedItem() {
|
|
5518
5518
|
return u();
|
|
@@ -5521,7 +5521,7 @@ function Dl(e, t) {
|
|
|
5521
5521
|
u(h), b();
|
|
5522
5522
|
}
|
|
5523
5523
|
};
|
|
5524
|
-
return
|
|
5524
|
+
return La(e, {
|
|
5525
5525
|
get onNavItemClick() {
|
|
5526
5526
|
return r();
|
|
5527
5527
|
},
|
|
@@ -5532,7 +5532,7 @@ function Dl(e, t) {
|
|
|
5532
5532
|
return i();
|
|
5533
5533
|
},
|
|
5534
5534
|
get apiUrl() {
|
|
5535
|
-
return
|
|
5535
|
+
return a();
|
|
5536
5536
|
},
|
|
5537
5537
|
get chatUrl() {
|
|
5538
5538
|
return l();
|
|
@@ -5541,14 +5541,14 @@ function Dl(e, t) {
|
|
|
5541
5541
|
return s();
|
|
5542
5542
|
},
|
|
5543
5543
|
get discoverUrl() {
|
|
5544
|
-
return
|
|
5544
|
+
return o();
|
|
5545
5545
|
},
|
|
5546
5546
|
get controlledSelectedItem() {
|
|
5547
5547
|
return u();
|
|
5548
5548
|
}
|
|
5549
5549
|
}), ne(c);
|
|
5550
5550
|
}
|
|
5551
|
-
customElements.define("graymatter-mobile-bottom-nav",
|
|
5551
|
+
customElements.define("graymatter-mobile-bottom-nav", oe(
|
|
5552
5552
|
Dl,
|
|
5553
5553
|
{
|
|
5554
5554
|
onNavItemClick: {},
|
|
@@ -5569,10 +5569,10 @@ const Vl = {
|
|
|
5569
5569
|
hash: "svelte-otdehu",
|
|
5570
5570
|
code: ".no-subnav-message.svelte-otdehu {padding:var(--ai-size-16);text-align:center;color:var(--ai-color-steel-600);font-size:var(--ai-size-14);}.no-subnav-message.svelte-otdehu p:where(.svelte-otdehu) {margin:0;}.mobile-side-menu.svelte-otdehu {position:fixed;top:0;left:0;bottom:0;width:80%;max-width:85vw;background:var(--ai-color-steel-50);transform:translateX(-100%);transition:transform var(--ai-transition-ease-medium);z-index:var(--ai-layer-50);flex-direction:column;box-shadow:var(--ai-size-2) 0 var(--ai-size-10) #0000001a;}.mobile-side-menu.open.svelte-otdehu {transform:translateX(0);}.menu-header.svelte-otdehu {display:flex;align-items:center;padding:var(--ai-size-16);gap:var(--ai-size-16);}.mobile-side-menu.svelte-otdehu .logo-container:where(.svelte-otdehu) {display:flex;}.logo-link.svelte-otdehu {display:flex;}.close-button.svelte-otdehu {display:flex;align-items:center;justify-content:center;padding:0;border:none;background:none;color:var(--ai-color-neutral-700);cursor:pointer;border-radius:var(--ai-size-2);transition:background-color var(--ai-transition-ease-fast);}.close-button.svelte-otdehu:hover {background-color:var(--ai-color-neutral-100);}.menu-content.svelte-otdehu {flex:1;overflow-y:auto;padding:0;}.subnav-section.svelte-otdehu {overflow-y:auto;max-height:calc(100vh - 4rem); /* leave space for header/close */}"
|
|
5571
5571
|
};
|
|
5572
|
-
function
|
|
5572
|
+
function za(e, t) {
|
|
5573
5573
|
re(t, !0), Et(e, Vl);
|
|
5574
|
-
const r = () => Qe(Je, "$isExpanded", i), n = () => Qe(Ut, "$selectedItem", i), [i,
|
|
5575
|
-
let l = /* @__PURE__ */ ee(null), s = null,
|
|
5574
|
+
const r = () => Qe(Je, "$isExpanded", i), n = () => Qe(Ut, "$selectedItem", i), [i, a] = gr();
|
|
5575
|
+
let l = /* @__PURE__ */ ee(null), s = null, o = m(t, "logoLinkUrl", 7), u = m(t, "logoLinkLabel", 7), c = m(t, "children", 7);
|
|
5576
5576
|
function h(D) {
|
|
5577
5577
|
if (s = D.detail.hash, d(), s) {
|
|
5578
5578
|
const z = document.getElementById(s);
|
|
@@ -5632,10 +5632,10 @@ function No(e, t) {
|
|
|
5632
5632
|
}
|
|
5633
5633
|
var f = {
|
|
5634
5634
|
get logoLinkUrl() {
|
|
5635
|
-
return
|
|
5635
|
+
return o();
|
|
5636
5636
|
},
|
|
5637
5637
|
set logoLinkUrl(D) {
|
|
5638
|
-
|
|
5638
|
+
o(D), b();
|
|
5639
5639
|
},
|
|
5640
5640
|
get logoLinkLabel() {
|
|
5641
5641
|
return u();
|
|
@@ -5670,13 +5670,13 @@ function No(e, t) {
|
|
|
5670
5670
|
var H = (D) => {
|
|
5671
5671
|
var Y = Ul(), z = M(Y);
|
|
5672
5672
|
Wt(z, { width: 75, height: 22 }), E(Y), me(() => {
|
|
5673
|
-
Z(Y, "href",
|
|
5673
|
+
Z(Y, "href", o()), Z(Y, "aria-label", u());
|
|
5674
5674
|
}), T(D, Y);
|
|
5675
5675
|
}, U = (D) => {
|
|
5676
5676
|
Wt(D, { width: 75, height: 22 });
|
|
5677
5677
|
};
|
|
5678
5678
|
te(S, (D) => {
|
|
5679
|
-
|
|
5679
|
+
o() ? D(H) : D(U, -1);
|
|
5680
5680
|
});
|
|
5681
5681
|
}
|
|
5682
5682
|
E(w), E(I);
|
|
@@ -5695,14 +5695,14 @@ function No(e, t) {
|
|
|
5695
5695
|
}
|
|
5696
5696
|
E(y), E(_), pt(_, (D) => O(l, D), () => v(l)), me(() => C = Se(_, 1, "mobile-side-menu svelte-otdehu", null, C, { open: r() })), le("click", N, d), T(e, g);
|
|
5697
5697
|
var ye = ne(f);
|
|
5698
|
-
return
|
|
5698
|
+
return a(), ye;
|
|
5699
5699
|
}
|
|
5700
5700
|
Jt(["click", "keydown"]);
|
|
5701
|
-
|
|
5701
|
+
oe(za, { logoLinkUrl: {}, logoLinkLabel: {}, children: {} }, [], [], { mode: "open" });
|
|
5702
5702
|
function Pl(e, t) {
|
|
5703
5703
|
re(t, !0);
|
|
5704
5704
|
let r = m(t, "logoLinkUrl", 7), n = m(t, "logoLinkLabel", 7), i = m(t, "children", 7);
|
|
5705
|
-
var
|
|
5705
|
+
var a = {
|
|
5706
5706
|
get logoLinkUrl() {
|
|
5707
5707
|
return r();
|
|
5708
5708
|
},
|
|
@@ -5722,7 +5722,7 @@ function Pl(e, t) {
|
|
|
5722
5722
|
i(l), b();
|
|
5723
5723
|
}
|
|
5724
5724
|
};
|
|
5725
|
-
return
|
|
5725
|
+
return za(e, {
|
|
5726
5726
|
get logoLinkUrl() {
|
|
5727
5727
|
return r();
|
|
5728
5728
|
},
|
|
@@ -5732,9 +5732,9 @@ function Pl(e, t) {
|
|
|
5732
5732
|
get children() {
|
|
5733
5733
|
return i();
|
|
5734
5734
|
}
|
|
5735
|
-
}), ne(
|
|
5735
|
+
}), ne(a);
|
|
5736
5736
|
}
|
|
5737
|
-
customElements.define("graymatter-mobile-side-menu",
|
|
5737
|
+
customElements.define("graymatter-mobile-side-menu", oe(Pl, { logoLinkUrl: {}, logoLinkLabel: {}, children: {} }, [], [], { mode: "open" }));
|
|
5738
5738
|
var Rl = /* @__PURE__ */ ie('<a class="display-flex"><!></a>'), jl = /* @__PURE__ */ ie('<a title="Help" aria-label="Help"><span class="icon-container svelte-1iraudq"><!></span></a>'), Bl = /* @__PURE__ */ ie('<nav class="mobile-top-nav svelte-1iraudq" part="mobile-top-nav"><button aria-label="Open navigation menu" part="menu-button"><!></button> <div class="brand svelte-1iraudq"><!> <span class="brand-text svelte-1iraudq"> </span></div> <!> <!></nav>');
|
|
5739
5739
|
const Fl = {
|
|
5740
5740
|
hash: "svelte-1iraudq",
|
|
@@ -5745,10 +5745,10 @@ const Fl = {
|
|
|
5745
5745
|
.mobile-top-nav.svelte-1iraudq .menu-button:where(.svelte-1iraudq):disabled {cursor:not-allowed;opacity:0.5;background-color:transparent;}.brand.svelte-1iraudq {display:flex;align-items:center;gap:var(--ai-size-12);flex:1;margin-left:var(--ai-size-8);}.brand-text.svelte-1iraudq {color:var(--ai-color-neutral-900);font-size:var(--ai-size-16);font-weight:600;line-height:1;}.menu-button.svelte-1iraudq {display:flex;padding:var(--ai-size-4);justify-content:center;align-items:center;background:none;border:none;cursor:pointer;opacity:1;transition:opacity var(--ai-transition-ease-fast);will-change:opacity;}.menu-button.disabled.svelte-1iraudq {cursor:not-allowed;opacity:0.5;will-change:opacity;}.menu-button.svelte-1iraudq:focus {outline:none;}.help-button.svelte-1iraudq:focus {outline:none;}.help-button.svelte-1iraudq:focus .icon-container:where(.svelte-1iraudq) {outline:var(--ai-size-2) solid var(--ai-color-blue-600);outline-offset:var(--ai-size-2);}.help-button.svelte-1iraudq:focus:not(:focus-visible) .icon-container:where(.svelte-1iraudq) {outline:none;}.help-button.svelte-1iraudq {display:flex;align-items:center;justify-content:center;margin-right:var(--ai-size-4);text-decoration:none;color:inherit;}.help-button.svelte-1iraudq .icon-container:where(.svelte-1iraudq) {display:flex;align-items:center;justify-content:center;width:var(--ai-size-40);height:var(--ai-size-40);border-radius:var(--ai-size-4);transition:background-color var(--ai-transition-ease-fast);}.help-button.svelte-1iraudq:hover .icon-container:where(.svelte-1iraudq),
|
|
5746
5746
|
.help-button.selected.svelte-1iraudq .icon-container:where(.svelte-1iraudq) {background-color:var(--ai-color-steel-300);}`
|
|
5747
5747
|
};
|
|
5748
|
-
function
|
|
5748
|
+
function Na(e, t) {
|
|
5749
5749
|
re(t, !0), Et(e, Fl);
|
|
5750
|
-
const r = () => Qe(Tt, "$selectedSubNavItemTitle", i), n = () => Qe(jn, "$isMenuButtonDisabled", i), [i,
|
|
5751
|
-
let l = m(t, "profileMenuData", 7), s = m(t, "logoLinkUrl", 7),
|
|
5750
|
+
const r = () => Qe(Tt, "$selectedSubNavItemTitle", i), n = () => Qe(jn, "$isMenuButtonDisabled", i), [i, a] = gr();
|
|
5751
|
+
let l = m(t, "profileMenuData", 7), s = m(t, "logoLinkUrl", 7), o = m(t, "logoLinkLabel", 7), u = m(t, "supplementalMenuData", 7);
|
|
5752
5752
|
const c = /* @__PURE__ */ q(() => () => u()?.help?.url?.trim());
|
|
5753
5753
|
function h(z, $) {
|
|
5754
5754
|
try {
|
|
@@ -5818,10 +5818,10 @@ function To(e, t) {
|
|
|
5818
5818
|
s(z), b();
|
|
5819
5819
|
},
|
|
5820
5820
|
get logoLinkLabel() {
|
|
5821
|
-
return
|
|
5821
|
+
return o();
|
|
5822
5822
|
},
|
|
5823
5823
|
set logoLinkLabel(z) {
|
|
5824
|
-
|
|
5824
|
+
o(z), b();
|
|
5825
5825
|
},
|
|
5826
5826
|
get supplementalMenuData() {
|
|
5827
5827
|
return u();
|
|
@@ -5838,7 +5838,7 @@ function To(e, t) {
|
|
|
5838
5838
|
var S = (z) => {
|
|
5839
5839
|
var $ = Rl(), J = M($);
|
|
5840
5840
|
Wt(J, { width: 75, height: 22 }), E($), me(() => {
|
|
5841
|
-
Z($, "href", s()), Z($, "aria-label",
|
|
5841
|
+
Z($, "href", s()), Z($, "aria-label", o());
|
|
5842
5842
|
}), T(z, $);
|
|
5843
5843
|
}, H = (z) => {
|
|
5844
5844
|
Wt(z, { width: 75, height: 22 });
|
|
@@ -5903,11 +5903,11 @@ function To(e, t) {
|
|
|
5903
5903
|
I = Se(C, 1, "menu-button svelte-1iraudq", null, I, { disabled: n() }), C.disabled = n(), fr(y, r() || "");
|
|
5904
5904
|
}), le("click", C, g), T(e, _);
|
|
5905
5905
|
var Y = ne(p);
|
|
5906
|
-
return
|
|
5906
|
+
return a(), Y;
|
|
5907
5907
|
}
|
|
5908
5908
|
Jt(["click"]);
|
|
5909
|
-
|
|
5910
|
-
|
|
5909
|
+
oe(
|
|
5910
|
+
Na,
|
|
5911
5911
|
{
|
|
5912
5912
|
profileMenuData: {},
|
|
5913
5913
|
logoLinkUrl: {},
|
|
@@ -5920,7 +5920,7 @@ ae(
|
|
|
5920
5920
|
);
|
|
5921
5921
|
function Zl(e, t) {
|
|
5922
5922
|
re(t, !0);
|
|
5923
|
-
let r = m(t, "profileMenuData", 7), n = m(t, "logoLinkUrl", 7), i = m(t, "logoLinkLabel", 7),
|
|
5923
|
+
let r = m(t, "profileMenuData", 7), n = m(t, "logoLinkUrl", 7), i = m(t, "logoLinkLabel", 7), a = m(t, "supplementalMenuData", 7);
|
|
5924
5924
|
var l = {
|
|
5925
5925
|
get profileMenuData() {
|
|
5926
5926
|
return r();
|
|
@@ -5941,13 +5941,13 @@ function Zl(e, t) {
|
|
|
5941
5941
|
i(s), b();
|
|
5942
5942
|
},
|
|
5943
5943
|
get supplementalMenuData() {
|
|
5944
|
-
return
|
|
5944
|
+
return a();
|
|
5945
5945
|
},
|
|
5946
5946
|
set supplementalMenuData(s) {
|
|
5947
|
-
|
|
5947
|
+
a(s), b();
|
|
5948
5948
|
}
|
|
5949
5949
|
};
|
|
5950
|
-
return
|
|
5950
|
+
return Na(e, {
|
|
5951
5951
|
get profileMenuData() {
|
|
5952
5952
|
return r();
|
|
5953
5953
|
},
|
|
@@ -5958,11 +5958,11 @@ function Zl(e, t) {
|
|
|
5958
5958
|
return i();
|
|
5959
5959
|
},
|
|
5960
5960
|
get supplementalMenuData() {
|
|
5961
|
-
return
|
|
5961
|
+
return a();
|
|
5962
5962
|
}
|
|
5963
5963
|
}), ne(l);
|
|
5964
5964
|
}
|
|
5965
|
-
customElements.define("graymatter-mobile-top-nav",
|
|
5965
|
+
customElements.define("graymatter-mobile-top-nav", oe(
|
|
5966
5966
|
Zl,
|
|
5967
5967
|
{
|
|
5968
5968
|
profileMenuData: {},
|