@pie-players/pie-tool-sign-language 0.3.65 → 0.3.67
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/README.md +11 -9
- package/dist/index.d.ts +2 -2
- package/dist/src/sign-language-content.d.ts +9 -41
- package/dist/tool-sign-language.js +585 -616
- package/package.json +3 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { applyMediaFragment as
|
|
2
|
-
import { resolveToolTag as
|
|
1
|
+
import { applyMediaFragment as hi, isSafeMediaSrc as vi, normalizeMediaFragment as _i, normalizeMediaSources as pi, trimmedOrUndefined as nt } from "@pie-players/pie-assessment-toolkit";
|
|
2
|
+
import { resolveToolTag as gi } from "@pie-players/pie-assessment-toolkit/tools/internal";
|
|
3
3
|
if (typeof window < "u") {
|
|
4
|
-
var
|
|
5
|
-
((
|
|
4
|
+
var qr, Gr;
|
|
5
|
+
((qr = (Gr = window).__svelte ?? (Gr.__svelte = {})).v ?? (qr.v = /* @__PURE__ */ new Set())).add("5");
|
|
6
6
|
}
|
|
7
|
-
var Je = {},
|
|
8
|
-
var
|
|
7
|
+
var Je = {}, I = /* @__PURE__ */ Symbol("uninitialized");
|
|
8
|
+
var un = Array.isArray, mi = Array.prototype.indexOf, Pt = Array.prototype.includes, Xt = Array.from, It = Object.keys, Wt = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, wi = Object.getOwnPropertyDescriptors, yi = Object.prototype, bi = Array.prototype, cn = Object.getPrototypeOf, Ur = Object.isExtensible, $i = () => {
|
|
9
9
|
};
|
|
10
|
-
function
|
|
10
|
+
function ki(e) {
|
|
11
11
|
for (var t = 0; t < e.length; t++) e[t]();
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function dn() {
|
|
14
14
|
var e, t;
|
|
15
15
|
return {
|
|
16
16
|
promise: new Promise((r, n) => {
|
|
@@ -28,7 +28,7 @@ function _t(e) {
|
|
|
28
28
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
29
29
|
}, _t(e);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Si(e, t) {
|
|
32
32
|
if (_t(e) != "object" || !e) return e;
|
|
33
33
|
var r = e[Symbol.toPrimitive];
|
|
34
34
|
if (r !== void 0) {
|
|
@@ -38,67 +38,67 @@ function Mi(e, t) {
|
|
|
38
38
|
}
|
|
39
39
|
return (t === "string" ? String : Number)(e);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
var t =
|
|
41
|
+
function Ei(e) {
|
|
42
|
+
var t = Si(e, "string");
|
|
43
43
|
return _t(t) == "symbol" ? t : t + "";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
return (t =
|
|
45
|
+
function O(e, t, r) {
|
|
46
|
+
return (t = Ei(t)) in e ? Object.defineProperty(e, t, {
|
|
47
47
|
value: r,
|
|
48
48
|
enumerable: !0,
|
|
49
49
|
configurable: !0,
|
|
50
50
|
writable: !0
|
|
51
51
|
}) : e[t] = r, e;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var La = 1 << 24, Q = 1024, Y = 2048, qe = 4096, br = 8192, xi = 16384, $r = 32768, Hr = 1 << 25, kr = 65536, Oa = 1 << 17, Ra = 1 << 18, rt = 1 << 19, Mi = 1 << 20, ct = 1 << 25, wt = 65536, Br = 1 << 21, Ti = 1 << 22, jt = 1 << 23, dt = /* @__PURE__ */ Symbol("$state"), hn = /* @__PURE__ */ Symbol("legacy props"), Ai = /* @__PURE__ */ Symbol(""), Li = /* @__PURE__ */ Symbol("proxy path"), fr = /* @__PURE__ */ Symbol("attributes"), Oi = /* @__PURE__ */ Symbol("class"), Ri = /* @__PURE__ */ Symbol("style"), Lt = /* @__PURE__ */ Symbol("text");
|
|
54
54
|
var yt = new class extends Error {
|
|
55
55
|
constructor(...t) {
|
|
56
|
-
super(...t),
|
|
56
|
+
super(...t), O(this, "name", "StaleReactionError"), O(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
|
|
57
57
|
}
|
|
58
|
-
}(),
|
|
59
|
-
function
|
|
58
|
+
}(), Ni = !!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml");
|
|
59
|
+
function Ci() {
|
|
60
60
|
throw new Error("https://svelte.dev/e/async_derived_orphan");
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Pi(e, t, r) {
|
|
63
63
|
throw new Error("https://svelte.dev/e/each_key_duplicate");
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Ii(e) {
|
|
66
66
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Wi() {
|
|
69
69
|
throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function ji(e) {
|
|
72
72
|
throw new Error("https://svelte.dev/e/effect_orphan");
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Fi() {
|
|
75
75
|
throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Di() {
|
|
78
78
|
throw new Error("https://svelte.dev/e/hydration_failed");
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function qi(e) {
|
|
81
81
|
throw new Error("https://svelte.dev/e/props_invalid_value");
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Gi() {
|
|
84
84
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Ui() {
|
|
87
87
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Hi() {
|
|
90
90
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Bi() {
|
|
93
93
|
throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function zi() {
|
|
96
96
|
console.warn("https://svelte.dev/e/derived_inert");
|
|
97
97
|
}
|
|
98
98
|
function Jt(e) {
|
|
99
99
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Yi() {
|
|
102
102
|
console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
|
|
103
103
|
}
|
|
104
104
|
var L = !1;
|
|
@@ -121,7 +121,7 @@ function er(e) {
|
|
|
121
121
|
M = e;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Vi(e = 1) {
|
|
125
125
|
if (L) {
|
|
126
126
|
for (var t = e, r = M; t--; ) r = /* @__PURE__ */ he(r);
|
|
127
127
|
M = r;
|
|
@@ -140,34 +140,34 @@ function Ft(e = !0) {
|
|
|
140
140
|
e && r.remove(), r = i;
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function vn(e) {
|
|
144
144
|
if (!e || e.nodeType !== 8)
|
|
145
145
|
throw Jt(), Je;
|
|
146
146
|
return e.data;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function _n(e) {
|
|
149
149
|
return e === this.v;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Ki(e, t) {
|
|
152
152
|
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
return !
|
|
154
|
+
function pn(e) {
|
|
155
|
+
return !Ki(e, this.v);
|
|
156
156
|
}
|
|
157
157
|
var we = !1, Qt = !1;
|
|
158
|
-
function
|
|
159
|
-
return e.label = t,
|
|
158
|
+
function zr(e, t) {
|
|
159
|
+
return e.label = t, Xi(e.v, t), e;
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return e?.[
|
|
161
|
+
function Xi(e, t) {
|
|
162
|
+
return e?.[Li]?.(t), e;
|
|
163
163
|
}
|
|
164
|
-
var
|
|
164
|
+
var P = null;
|
|
165
165
|
function Ze(e) {
|
|
166
|
-
|
|
166
|
+
P = e;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
169
|
-
|
|
170
|
-
p:
|
|
168
|
+
function gn(e, t = !1, r) {
|
|
169
|
+
P = {
|
|
170
|
+
p: P,
|
|
171
171
|
i: !1,
|
|
172
172
|
c: null,
|
|
173
173
|
e: null,
|
|
@@ -181,35 +181,35 @@ function wn(e, t = !1, r) {
|
|
|
181
181
|
} : null
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
var t =
|
|
184
|
+
function mn(e) {
|
|
185
|
+
var t = P, r = t.e;
|
|
186
186
|
if (r !== null) {
|
|
187
187
|
t.e = null;
|
|
188
|
-
for (var n of r)
|
|
188
|
+
for (var n of r) zn(n);
|
|
189
189
|
}
|
|
190
|
-
return e !== void 0 && (t.x = e), t.i = !0,
|
|
190
|
+
return e !== void 0 && (t.x = e), t.i = !0, P = t.p, e ?? {};
|
|
191
191
|
}
|
|
192
192
|
function bt() {
|
|
193
|
-
return !Qt ||
|
|
193
|
+
return !Qt || P !== null && P.l === null;
|
|
194
194
|
}
|
|
195
195
|
var Ae = [];
|
|
196
|
-
function
|
|
196
|
+
function wn() {
|
|
197
197
|
var e = Ae;
|
|
198
|
-
Ae = [],
|
|
198
|
+
Ae = [], ki(e);
|
|
199
199
|
}
|
|
200
200
|
function ye(e) {
|
|
201
201
|
if (Ae.length === 0 && !ht) {
|
|
202
202
|
var t = Ae;
|
|
203
203
|
queueMicrotask(() => {
|
|
204
|
-
t === Ae &&
|
|
204
|
+
t === Ae && wn();
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
Ae.push(e);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
for (; Ae.length > 0; )
|
|
209
|
+
function Ji() {
|
|
210
|
+
for (; Ae.length > 0; ) wn();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function yn(e) {
|
|
213
213
|
var t = $;
|
|
214
214
|
if (t === null)
|
|
215
215
|
return E.f |= jt, e;
|
|
@@ -234,23 +234,23 @@ function Ee(e, t) {
|
|
|
234
234
|
throw e;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
var
|
|
238
|
-
function
|
|
239
|
-
e.f = e.f &
|
|
237
|
+
var Zi = ~(Y | qe | Q);
|
|
238
|
+
function N(e, t) {
|
|
239
|
+
e.f = e.f & Zi | t;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
242
|
-
(e.f & 512) !== 0 || e.deps === null ?
|
|
241
|
+
function Sr(e) {
|
|
242
|
+
(e.f & 512) !== 0 || e.deps === null ? N(e, Q) : N(e, qe);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function bn(e) {
|
|
245
245
|
if (e !== null)
|
|
246
246
|
for (const t of e)
|
|
247
|
-
(t.f & 2) === 0 || (t.f & 65536) === 0 || (t.f ^= wt,
|
|
247
|
+
(t.f & 2) === 0 || (t.f & 65536) === 0 || (t.f ^= wt, bn(t.deps));
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
(e.f & 2048) !== 0 ? t.add(e) : (e.f & 4096) !== 0 && r.add(e),
|
|
249
|
+
function $n(e, t, r) {
|
|
250
|
+
(e.f & 2048) !== 0 ? t.add(e) : (e.f & 4096) !== 0 && r.add(e), bn(e.deps), N(e, Q);
|
|
251
251
|
}
|
|
252
|
-
var
|
|
253
|
-
function
|
|
252
|
+
var Qi = !1, St = !1;
|
|
253
|
+
function es(e) {
|
|
254
254
|
var t = St;
|
|
255
255
|
try {
|
|
256
256
|
return St = !1, [e(), St];
|
|
@@ -267,24 +267,24 @@ function $t(e) {
|
|
|
267
267
|
te(t), de(r);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function ts(e) {
|
|
271
271
|
let t = 0, r = Fe(0), n;
|
|
272
272
|
return () => {
|
|
273
|
-
|
|
273
|
+
Cr() && (x(r), Pr(() => (t === 0 && (n = Fr(() => e(() => vt(r)))), t += 1, () => {
|
|
274
274
|
ye(() => {
|
|
275
275
|
t -= 1, t === 0 && (n?.(), n = void 0, vt(r));
|
|
276
276
|
});
|
|
277
277
|
})));
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function kn(e, t) {
|
|
281
281
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
282
282
|
}
|
|
283
|
-
function
|
|
284
|
-
|
|
283
|
+
function Er(e, t) {
|
|
284
|
+
kn(e, t), t.add(e);
|
|
285
285
|
}
|
|
286
286
|
function y(e, t, r) {
|
|
287
|
-
|
|
287
|
+
kn(e, t), t.set(e, r);
|
|
288
288
|
}
|
|
289
289
|
function b(e, t, r) {
|
|
290
290
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : r;
|
|
@@ -296,31 +296,31 @@ function w(e, t, r) {
|
|
|
296
296
|
function a(e, t) {
|
|
297
297
|
return e.get(b(e, t));
|
|
298
298
|
}
|
|
299
|
-
var
|
|
300
|
-
function
|
|
301
|
-
new
|
|
299
|
+
var rs = kr | rt;
|
|
300
|
+
function ns(e, t, r, n) {
|
|
301
|
+
new is(e, t, r, n);
|
|
302
302
|
}
|
|
303
|
-
var se = /* @__PURE__ */ new WeakMap(), ur = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ce = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(),
|
|
303
|
+
var se = /* @__PURE__ */ new WeakMap(), ur = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ce = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(), Ne = /* @__PURE__ */ new WeakMap(), Be = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), Et = /* @__PURE__ */ new WeakMap(), cr = /* @__PURE__ */ new WeakMap(), dr = /* @__PURE__ */ new WeakMap(), xe = /* @__PURE__ */ new WeakMap(), Yr = /* @__PURE__ */ new WeakMap(), W = /* @__PURE__ */ new WeakSet(), is = class {
|
|
304
304
|
constructor(e, t, r, n) {
|
|
305
|
-
|
|
305
|
+
Er(this, W), O(this, "parent", void 0), O(this, "is_pending", !1), O(this, "transform_error", void 0), y(this, se, void 0), y(this, ur, L ? M : null), y(this, ue, void 0), y(this, pt, void 0), y(this, J, void 0), y(this, ce, null), y(this, z, null), y(this, ne, null), y(this, Ne, null), y(this, Be, 0), y(this, Ce, 0), y(this, Et, !1), y(this, cr, /* @__PURE__ */ new Set()), y(this, dr, /* @__PURE__ */ new Set()), y(this, xe, null), y(this, Yr, ts(() => (w(xe, this, Fe(a(Be, this))), () => {
|
|
306
306
|
w(xe, this, null);
|
|
307
307
|
}))), w(se, this, e), w(ue, this, t), w(pt, this, (i) => {
|
|
308
308
|
var s = $;
|
|
309
309
|
s.b = this, s.f |= 128, r(i);
|
|
310
|
-
}), this.parent = $.b, this.transform_error = n ?? this.parent?.transform_error ?? ((i) => i), w(J, this,
|
|
310
|
+
}), this.parent = $.b, this.transform_error = n ?? this.parent?.transform_error ?? ((i) => i), w(J, this, Ir(() => {
|
|
311
311
|
if (L) {
|
|
312
312
|
const i = a(ur, this);
|
|
313
313
|
Zt();
|
|
314
314
|
const s = i.data === "[!";
|
|
315
315
|
if (i.data.startsWith("[?")) {
|
|
316
316
|
const l = JSON.parse(i.data.slice(2));
|
|
317
|
-
b(W, this,
|
|
318
|
-
} else s ? b(W, this,
|
|
319
|
-
} else b(W, this,
|
|
320
|
-
},
|
|
317
|
+
b(W, this, as).call(this, l);
|
|
318
|
+
} else s ? b(W, this, ls).call(this) : b(W, this, ss).call(this);
|
|
319
|
+
} else b(W, this, En).call(this);
|
|
320
|
+
}, rs)), L && w(se, this, M);
|
|
321
321
|
}
|
|
322
322
|
defer_effect(e) {
|
|
323
|
-
|
|
323
|
+
$n(e, a(cr, this), a(dr, this));
|
|
324
324
|
}
|
|
325
325
|
is_rendered() {
|
|
326
326
|
return !this.is_pending && (!this.parent || this.parent.is_rendered());
|
|
@@ -329,44 +329,44 @@ var se = /* @__PURE__ */ new WeakMap(), ur = /* @__PURE__ */ new WeakMap(), ue =
|
|
|
329
329
|
return !!a(ue, this).pending;
|
|
330
330
|
}
|
|
331
331
|
update_pending_count(e, t) {
|
|
332
|
-
b(W, this,
|
|
332
|
+
b(W, this, xn).call(this, e, t), w(Be, this, a(Be, this) + e), !(!a(xe, this) || a(Et, this)) && (w(Et, this, !0), ye(() => {
|
|
333
333
|
w(Et, this, !1), a(xe, this) && et(a(xe, this), a(Be, this));
|
|
334
334
|
}));
|
|
335
335
|
}
|
|
336
336
|
get_effect_pending() {
|
|
337
|
-
return a(
|
|
337
|
+
return a(Yr, this).call(this), x(a(xe, this));
|
|
338
338
|
}
|
|
339
339
|
error(e) {
|
|
340
340
|
if (!a(ue, this).onerror && !a(ue, this).failed) throw e;
|
|
341
341
|
k?.is_fork ? (a(ce, this) && k.skip_effect(a(ce, this)), a(z, this) && k.skip_effect(a(z, this)), a(ne, this) && k.skip_effect(a(ne, this)), k.oncommit(() => {
|
|
342
|
-
b(W, this,
|
|
343
|
-
})) : b(W, this,
|
|
342
|
+
b(W, this, Vr).call(this, e);
|
|
343
|
+
})) : b(W, this, Vr).call(this, e);
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
|
-
function
|
|
346
|
+
function ss() {
|
|
347
347
|
try {
|
|
348
348
|
w(ce, this, ee(() => a(pt, this).call(this, a(se, this))));
|
|
349
349
|
} catch (e) {
|
|
350
350
|
this.error(e);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
const t = a(ue, this).failed, { reset: r, invoke_onerror: n } = b(W, this,
|
|
353
|
+
function as(e) {
|
|
354
|
+
const t = a(ue, this).failed, { reset: r, invoke_onerror: n } = b(W, this, Sn).call(this, e);
|
|
355
355
|
ye(n), t && w(ne, this, ee(() => {
|
|
356
356
|
t(a(se, this), () => e, () => r);
|
|
357
357
|
}));
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function Sn(e) {
|
|
360
360
|
var t = !1, r = !1;
|
|
361
361
|
const n = () => {
|
|
362
362
|
if (t) {
|
|
363
|
-
|
|
363
|
+
Yi();
|
|
364
364
|
return;
|
|
365
365
|
}
|
|
366
|
-
t = !0, r &&
|
|
366
|
+
t = !0, r && Bi(), a(ne, this) !== null && Ue(a(ne, this), () => {
|
|
367
367
|
w(ne, this, null);
|
|
368
|
-
}), b(W, this,
|
|
369
|
-
b(W, this,
|
|
368
|
+
}), b(W, this, Mr).call(this, () => {
|
|
369
|
+
b(W, this, En).call(this);
|
|
370
370
|
});
|
|
371
371
|
};
|
|
372
372
|
return {
|
|
@@ -380,61 +380,61 @@ function xn(e) {
|
|
|
380
380
|
}
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function ls() {
|
|
384
384
|
const e = a(ue, this).pending;
|
|
385
385
|
e && (this.is_pending = !0, w(z, this, ee(() => e(a(se, this)))), ye(() => {
|
|
386
|
-
var t = w(
|
|
387
|
-
t.append(r), w(ce, this, b(W, this,
|
|
386
|
+
var t = w(Ne, this, document.createDocumentFragment()), r = Z();
|
|
387
|
+
t.append(r), w(ce, this, b(W, this, Mr).call(this, () => ee(() => a(pt, this).call(this, r)))), a(Ce, this) === 0 && (a(se, this).before(t), w(Ne, this, null), Ue(a(z, this), () => {
|
|
388
388
|
w(z, this, null);
|
|
389
|
-
}), b(W, this,
|
|
389
|
+
}), b(W, this, xr).call(this, k));
|
|
390
390
|
}));
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function En() {
|
|
393
393
|
try {
|
|
394
|
-
if (this.is_pending = this.has_pending_snippet(), w(
|
|
394
|
+
if (this.is_pending = this.has_pending_snippet(), w(Ce, this, 0), w(Be, this, 0), w(ce, this, ee(() => {
|
|
395
395
|
a(pt, this).call(this, a(se, this));
|
|
396
|
-
})), a(
|
|
397
|
-
var e = w(
|
|
398
|
-
|
|
396
|
+
})), a(Ce, this) > 0) {
|
|
397
|
+
var e = w(Ne, this, document.createDocumentFragment());
|
|
398
|
+
jr(a(ce, this), e);
|
|
399
399
|
const t = a(ue, this).pending;
|
|
400
400
|
w(z, this, ee(() => t(a(se, this))));
|
|
401
|
-
} else b(W, this,
|
|
401
|
+
} else b(W, this, xr).call(this, k);
|
|
402
402
|
} catch (t) {
|
|
403
403
|
this.error(t);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function xr(e) {
|
|
407
407
|
this.is_pending = !1, e.transfer_effects(a(cr, this), a(dr, this));
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
var t = $, r = E, n =
|
|
409
|
+
function Mr(e) {
|
|
410
|
+
var t = $, r = E, n = P;
|
|
411
411
|
de(a(J, this)), te(a(J, this)), Ze(a(J, this).ctx);
|
|
412
412
|
try {
|
|
413
413
|
return Ge.ensure(), e();
|
|
414
414
|
} catch (i) {
|
|
415
|
-
return
|
|
415
|
+
return yn(i), null;
|
|
416
416
|
} finally {
|
|
417
417
|
de(t), te(r), Ze(n);
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function xn(e, t) {
|
|
421
421
|
if (!this.has_pending_snippet()) {
|
|
422
422
|
if (this.parent) {
|
|
423
423
|
var r;
|
|
424
|
-
b(W, r = this.parent,
|
|
424
|
+
b(W, r = this.parent, xn).call(r, e, t);
|
|
425
425
|
}
|
|
426
426
|
return;
|
|
427
427
|
}
|
|
428
|
-
w(
|
|
428
|
+
w(Ce, this, a(Ce, this) + e), a(Ce, this) === 0 && (b(W, this, xr).call(this, t), a(z, this) && Ue(a(z, this), () => {
|
|
429
429
|
w(z, this, null);
|
|
430
|
-
}), a(
|
|
430
|
+
}), a(Ne, this) && (a(se, this).before(a(Ne, this)), w(Ne, this, null)));
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
a(ce, this) && (q(a(ce, this)), w(ce, this, null)), a(z, this) && (q(a(z, this)), w(z, this, null)), a(ne, this) && (q(a(ne, this)), w(ne, this, null)), L && (U(a(ur, this)),
|
|
432
|
+
function Vr(e) {
|
|
433
|
+
a(ce, this) && (q(a(ce, this)), w(ce, this, null)), a(z, this) && (q(a(z, this)), w(z, this, null)), a(ne, this) && (q(a(ne, this)), w(ne, this, null)), L && (U(a(ur, this)), Vi(), U(Ft()));
|
|
434
434
|
let t = a(ue, this).failed;
|
|
435
435
|
const r = (n) => {
|
|
436
|
-
const { reset: i, invoke_onerror: s } = b(W, this,
|
|
437
|
-
s(), t && w(ne, this, b(W, this,
|
|
436
|
+
const { reset: i, invoke_onerror: s } = b(W, this, Sn).call(this, n);
|
|
437
|
+
s(), t && w(ne, this, b(W, this, Mr).call(this, () => {
|
|
438
438
|
try {
|
|
439
439
|
return ee(() => {
|
|
440
440
|
var l = $;
|
|
@@ -456,14 +456,14 @@ function Kr(e) {
|
|
|
456
456
|
n !== null && typeof n == "object" && typeof n.then == "function" ? n.then(r, (i) => Ee(i, a(J, this) && a(J, this).parent)) : r(n);
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
|
-
function
|
|
460
|
-
const i = bt() ? gt :
|
|
459
|
+
function os(e, t, r, n) {
|
|
460
|
+
const i = bt() ? gt : Tr;
|
|
461
461
|
var s = e.filter((u) => !u.settled), l = t.map(i);
|
|
462
462
|
if (r.length === 0 && s.length === 0) {
|
|
463
463
|
n(l);
|
|
464
464
|
return;
|
|
465
465
|
}
|
|
466
|
-
var o = $, f =
|
|
466
|
+
var o = $, f = fs(), h = s.length === 1 ? s[0].promise : s.length > 1 ? Promise.all(s.map((u) => u.promise)) : null;
|
|
467
467
|
function v(u) {
|
|
468
468
|
if ((o.f & 16384) === 0) {
|
|
469
469
|
f();
|
|
@@ -475,20 +475,20 @@ function cs(e, t, r, n) {
|
|
|
475
475
|
Dt();
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
var d =
|
|
478
|
+
var d = Mn();
|
|
479
479
|
if (r.length === 0) {
|
|
480
480
|
h.then(() => v([])).finally(d);
|
|
481
481
|
return;
|
|
482
482
|
}
|
|
483
483
|
function c() {
|
|
484
|
-
Promise.all(r.map((u) => /* @__PURE__ */
|
|
484
|
+
Promise.all(r.map((u) => /* @__PURE__ */ us(u))).then(v).catch((u) => Ee(u, o)).finally(d);
|
|
485
485
|
}
|
|
486
486
|
h ? h.then(() => {
|
|
487
487
|
f(), c(), Dt();
|
|
488
488
|
}) : c();
|
|
489
489
|
}
|
|
490
|
-
function
|
|
491
|
-
var e = $, t = E, r =
|
|
490
|
+
function fs() {
|
|
491
|
+
var e = $, t = E, r = P, n = k;
|
|
492
492
|
if (0) var i;
|
|
493
493
|
return function(l = !0) {
|
|
494
494
|
de(e), te(t), Ze(r), l && (e.f & 16384) === 0 && (n?.activate(), n?.apply());
|
|
@@ -497,7 +497,7 @@ function ds() {
|
|
|
497
497
|
function Dt(e = !0) {
|
|
498
498
|
de(null), te(null), Ze(null), e && k?.deactivate();
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function Mn() {
|
|
501
501
|
var e = $, t = e.b, r = k, n = !!t?.is_rendered();
|
|
502
502
|
return t?.update_pending_count(1, r), r.increment(n, e), () => {
|
|
503
503
|
t?.update_pending_count(-1, r), r.decrement(n, e);
|
|
@@ -507,15 +507,15 @@ function An() {
|
|
|
507
507
|
function gt(e) {
|
|
508
508
|
var t = 2 | Y;
|
|
509
509
|
return $ !== null && ($.f |= rt), {
|
|
510
|
-
ctx:
|
|
510
|
+
ctx: P,
|
|
511
511
|
deps: null,
|
|
512
512
|
effects: null,
|
|
513
|
-
equals:
|
|
513
|
+
equals: _n,
|
|
514
514
|
f: t,
|
|
515
515
|
fn: e,
|
|
516
516
|
reactions: null,
|
|
517
517
|
rv: 0,
|
|
518
|
-
v:
|
|
518
|
+
v: I,
|
|
519
519
|
wv: 0,
|
|
520
520
|
parent: $,
|
|
521
521
|
ac: null
|
|
@@ -523,12 +523,12 @@ function gt(e) {
|
|
|
523
523
|
}
|
|
524
524
|
var at = /* @__PURE__ */ Symbol("obsolete");
|
|
525
525
|
// @__NO_SIDE_EFFECTS__
|
|
526
|
-
function
|
|
526
|
+
function us(e, t, r) {
|
|
527
527
|
let n = $;
|
|
528
|
-
n === null &&
|
|
529
|
-
var i = void 0, s = Fe(
|
|
530
|
-
return
|
|
531
|
-
var f = $, h =
|
|
528
|
+
n === null && Ci();
|
|
529
|
+
var i = void 0, s = Fe(I), l = !E, o = /* @__PURE__ */ new Set();
|
|
530
|
+
return As(() => {
|
|
531
|
+
var f = $, h = dn();
|
|
532
532
|
i = h.promise;
|
|
533
533
|
try {
|
|
534
534
|
Promise.resolve(e()).then(h.resolve, (u) => {
|
|
@@ -539,7 +539,7 @@ function hs(e, t, r) {
|
|
|
539
539
|
}
|
|
540
540
|
var v = k;
|
|
541
541
|
if (l) {
|
|
542
|
-
if ((f.f & 32768) !== 0) var d =
|
|
542
|
+
if ((f.f & 32768) !== 0) var d = Mn();
|
|
543
543
|
if (n.b?.is_rendered()) v.async_deriveds.get(f)?.reject(at);
|
|
544
544
|
else for (const u of o.values()) u.reject(at);
|
|
545
545
|
o.add(h), v.async_deriveds.set(f, h);
|
|
@@ -548,7 +548,7 @@ function hs(e, t, r) {
|
|
|
548
548
|
d?.(), o.delete(h), g !== at && (v.activate(), g ? (s.f |= jt, et(s, g)) : ((s.f & 8388608) !== 0 && (s.f ^= jt), et(s, u)), v.deactivate());
|
|
549
549
|
};
|
|
550
550
|
h.promise.then(c, (u) => c(null, u || "unknown"));
|
|
551
|
-
}),
|
|
551
|
+
}), Bn(() => {
|
|
552
552
|
for (const f of o) f.reject(at);
|
|
553
553
|
}), new Promise((f) => {
|
|
554
554
|
function h(v) {
|
|
@@ -563,74 +563,74 @@ function hs(e, t, r) {
|
|
|
563
563
|
// @__NO_SIDE_EFFECTS__
|
|
564
564
|
function tr(e) {
|
|
565
565
|
const t = /* @__PURE__ */ gt(e);
|
|
566
|
-
return we ||
|
|
566
|
+
return we || Zn(t), t;
|
|
567
567
|
}
|
|
568
568
|
// @__NO_SIDE_EFFECTS__
|
|
569
|
-
function
|
|
569
|
+
function Tr(e) {
|
|
570
570
|
const t = /* @__PURE__ */ gt(e);
|
|
571
|
-
return t.equals =
|
|
571
|
+
return t.equals = pn, t;
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function cs(e) {
|
|
574
574
|
var t = e.effects;
|
|
575
575
|
if (t !== null) {
|
|
576
576
|
e.effects = null;
|
|
577
577
|
for (var r = 0; r < t.length; r += 1) q(t[r]);
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function
|
|
580
|
+
function Ar(e) {
|
|
581
581
|
var t, r = $, n = e.parent;
|
|
582
|
-
if (!be && n !== null && e.v !==
|
|
583
|
-
return
|
|
582
|
+
if (!be && n !== null && e.v !== I && (n.f & 24576) !== 0)
|
|
583
|
+
return zi(), e.v;
|
|
584
584
|
de(n);
|
|
585
585
|
try {
|
|
586
|
-
e.f &= ~wt,
|
|
586
|
+
e.f &= ~wt, cs(e), t = ri(e);
|
|
587
587
|
} finally {
|
|
588
588
|
de(r);
|
|
589
589
|
}
|
|
590
590
|
return t;
|
|
591
591
|
}
|
|
592
|
-
function
|
|
593
|
-
var t =
|
|
594
|
-
if (!e.equals(t) && (e.wv =
|
|
595
|
-
|
|
592
|
+
function Tn(e) {
|
|
593
|
+
var t = Ar(e);
|
|
594
|
+
if (!e.equals(t) && (e.wv = ei(), (!k?.is_fork || e.deps === null) && (k !== null ? (k.capture(e, t, !0), hr?.capture(e, t, !0)) : e.v = t, e.deps === null))) {
|
|
595
|
+
N(e, Q);
|
|
596
596
|
return;
|
|
597
597
|
}
|
|
598
|
-
be || (D !== null ? (
|
|
598
|
+
be || (D !== null ? (Cr() || k?.is_fork) && D.set(e, t) : Sr(e));
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function ds(e) {
|
|
601
601
|
if (e.effects !== null)
|
|
602
602
|
for (const t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac !== null && $t(() => {
|
|
603
603
|
t.ac.abort(yt), t.ac = null;
|
|
604
|
-
}), t.fn !== null && (t.teardown =
|
|
604
|
+
}), t.fn !== null && (t.teardown = $i), mt(t, 0), Wr(t));
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function An(e) {
|
|
607
607
|
if (e.effects !== null)
|
|
608
608
|
for (const t of e.effects) t.teardown && t.fn !== null && tt(t);
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
var
|
|
610
|
+
var Ln, qt = null, ze = null, k = null, hr = null, D = null, vr = null, ht = !1, rr = !1, Qe = null, Gt = null, On = 0;
|
|
611
|
+
var hs = 1, Ut = /* @__PURE__ */ new WeakMap(), Pe = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), lt = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), _r = /* @__PURE__ */ new WeakMap(), je = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), ot = /* @__PURE__ */ new WeakMap(), C = /* @__PURE__ */ new WeakSet(), Ge = class Rn {
|
|
612
612
|
constructor() {
|
|
613
|
-
|
|
613
|
+
Er(this, C), O(this, "id", hs++), y(this, Ut, !1), O(this, "linked", !0), y(this, Pe, null), y(this, Le, null), O(this, "async_deriveds", /* @__PURE__ */ new Map()), O(this, "current", /* @__PURE__ */ new Map()), O(this, "previous", /* @__PURE__ */ new Map()), y(this, Ht, /* @__PURE__ */ new Set()), y(this, xt, /* @__PURE__ */ new Set()), y(this, Ye, 0), y(this, Te, /* @__PURE__ */ new Map()), y(this, lt, null), y(this, X, []), y(this, _r, []), y(this, je, /* @__PURE__ */ new Set()), y(this, me, /* @__PURE__ */ new Set()), y(this, Se, /* @__PURE__ */ new Map()), y(this, Ot, /* @__PURE__ */ new Set()), O(this, "is_fork", !1), y(this, ot, !1), ze === null ? qt = ze = this : (w(Le, ze, this), w(Pe, this, ze)), ze = this;
|
|
614
614
|
}
|
|
615
615
|
skip_effect(t) {
|
|
616
616
|
a(Se, this).has(t) || a(Se, this).set(t, {
|
|
617
617
|
d: [],
|
|
618
618
|
m: []
|
|
619
|
-
}), a(
|
|
619
|
+
}), a(Ot, this).delete(t);
|
|
620
620
|
}
|
|
621
621
|
unskip_effect(t, r = (n) => this.schedule(n)) {
|
|
622
622
|
var n = a(Se, this).get(t);
|
|
623
623
|
if (n) {
|
|
624
624
|
a(Se, this).delete(t);
|
|
625
625
|
for (var i of n.d)
|
|
626
|
-
|
|
626
|
+
N(i, Y), r(i);
|
|
627
627
|
for (i of n.m)
|
|
628
|
-
|
|
628
|
+
N(i, qe), r(i);
|
|
629
629
|
}
|
|
630
|
-
a(
|
|
630
|
+
a(Ot, this).add(t);
|
|
631
631
|
}
|
|
632
632
|
capture(t, r, n = !1) {
|
|
633
|
-
t.v !==
|
|
633
|
+
t.v !== I && !this.previous.has(t) && this.previous.set(t, t.v), (t.f & 8388608) === 0 && (this.current.set(t, [r, n]), D?.set(t, r)), this.is_fork || (t.v = r);
|
|
634
634
|
}
|
|
635
635
|
activate() {
|
|
636
636
|
k = this;
|
|
@@ -640,16 +640,16 @@ var ps = 1, Ut = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap
|
|
|
640
640
|
}
|
|
641
641
|
flush() {
|
|
642
642
|
try {
|
|
643
|
-
rr = !0, k = this, b(
|
|
643
|
+
rr = !0, k = this, b(C, this, Bt).call(this);
|
|
644
644
|
} finally {
|
|
645
|
-
|
|
645
|
+
On = 0, vr = null, Qe = null, Gt = null, rr = !1, k = null, D = null, Ie.clear();
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
discard() {
|
|
649
649
|
for (const t of a(xt, this)) t(this);
|
|
650
650
|
a(xt, this).clear();
|
|
651
651
|
for (const t of this.async_deriveds.values()) t.reject(at);
|
|
652
|
-
b(
|
|
652
|
+
b(C, this, zt).call(this), a(lt, this)?.resolve();
|
|
653
653
|
}
|
|
654
654
|
register_created_effect(t) {
|
|
655
655
|
a(_r, this).push(t);
|
|
@@ -681,11 +681,11 @@ var ps = 1, Ut = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap
|
|
|
681
681
|
a(xt, this).add(t);
|
|
682
682
|
}
|
|
683
683
|
settled() {
|
|
684
|
-
return (a(lt, this) ?? w(lt, this,
|
|
684
|
+
return (a(lt, this) ?? w(lt, this, dn())).promise;
|
|
685
685
|
}
|
|
686
686
|
static ensure() {
|
|
687
687
|
if (k === null) {
|
|
688
|
-
const t = k = new
|
|
688
|
+
const t = k = new Rn();
|
|
689
689
|
!rr && !ht && ye(() => {
|
|
690
690
|
a(Ut, t) || t.flush();
|
|
691
691
|
});
|
|
@@ -693,7 +693,7 @@ var ps = 1, Ut = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap
|
|
|
693
693
|
return k;
|
|
694
694
|
}
|
|
695
695
|
apply() {
|
|
696
|
-
if (!we || !this.is_fork && a(
|
|
696
|
+
if (!we || !this.is_fork && a(Pe, this) === null && a(Le, this) === null) {
|
|
697
697
|
D = null;
|
|
698
698
|
return;
|
|
699
699
|
}
|
|
@@ -721,7 +721,7 @@ var ps = 1, Ut = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap
|
|
|
721
721
|
for (var r = t; r.parent !== null; ) {
|
|
722
722
|
r = r.parent;
|
|
723
723
|
var n = r.f;
|
|
724
|
-
if (Qe !== null && r === $ && (we || (E === null || (E.f & 2) === 0) && !
|
|
724
|
+
if (Qe !== null && r === $ && (we || (E === null || (E.f & 2) === 0) && !Qi))
|
|
725
725
|
return;
|
|
726
726
|
if ((n & 96) !== 0) {
|
|
727
727
|
if ((n & 1024) === 0) return;
|
|
@@ -731,8 +731,8 @@ var ps = 1, Ut = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap
|
|
|
731
731
|
a(X, this).push(r);
|
|
732
732
|
}
|
|
733
733
|
};
|
|
734
|
-
|
|
735
|
-
function
|
|
734
|
+
Ln = Ge;
|
|
735
|
+
function Kr() {
|
|
736
736
|
if (this.is_fork) return !0;
|
|
737
737
|
for (const r of a(Te, this).keys()) {
|
|
738
738
|
for (var e = r, t = !1; e.parent !== null; ) {
|
|
@@ -747,45 +747,45 @@ function Xr() {
|
|
|
747
747
|
return !1;
|
|
748
748
|
}
|
|
749
749
|
function Bt() {
|
|
750
|
-
w(Ut, this, !0),
|
|
750
|
+
w(Ut, this, !0), On++ > 1e3 && (b(C, this, zt).call(this), gs());
|
|
751
751
|
for (const o of a(je, this))
|
|
752
|
-
a(me, this).delete(o),
|
|
752
|
+
a(me, this).delete(o), N(o, Y), this.schedule(o);
|
|
753
753
|
for (const o of a(me, this))
|
|
754
|
-
|
|
754
|
+
N(o, qe), this.schedule(o);
|
|
755
755
|
const e = a(X, this);
|
|
756
756
|
w(X, this, []), this.apply();
|
|
757
757
|
var t = Qe = [], r = [], n = Gt = [];
|
|
758
758
|
for (const o of e) try {
|
|
759
|
-
b(
|
|
759
|
+
b(C, this, Nn).call(this, o, t, r);
|
|
760
760
|
} catch (f) {
|
|
761
|
-
throw
|
|
761
|
+
throw In(o), b(C, this, Kr).call(this) || this.discard(), f;
|
|
762
762
|
}
|
|
763
763
|
if (k = null, n.length > 0) {
|
|
764
|
-
var i =
|
|
764
|
+
var i = Ln.ensure();
|
|
765
765
|
for (const o of n) i.schedule(o);
|
|
766
766
|
}
|
|
767
|
-
if (Qe = null, Gt = null, b(
|
|
768
|
-
b(
|
|
769
|
-
for (const [o, f] of a(Se, this))
|
|
770
|
-
n.length > 0 && b(
|
|
767
|
+
if (Qe = null, Gt = null, b(C, this, Kr).call(this)) {
|
|
768
|
+
b(C, this, ft).call(this, r), b(C, this, ft).call(this, t);
|
|
769
|
+
for (const [o, f] of a(Se, this)) Pn(o, f);
|
|
770
|
+
n.length > 0 && b(C, k, Bt).call(k);
|
|
771
771
|
return;
|
|
772
772
|
}
|
|
773
|
-
const s = b(
|
|
773
|
+
const s = b(C, this, vs).call(this);
|
|
774
774
|
if (s) {
|
|
775
|
-
b(
|
|
775
|
+
b(C, this, ft).call(this, r), b(C, this, ft).call(this, t), b(C, s, _s).call(s, this);
|
|
776
776
|
return;
|
|
777
777
|
}
|
|
778
778
|
a(je, this).clear(), a(me, this).clear();
|
|
779
779
|
for (const o of a(Ht, this)) o(this);
|
|
780
|
-
a(Ht, this).clear(), hr = this,
|
|
780
|
+
a(Ht, this).clear(), hr = this, Xr(r), Xr(t), hr = null, a(lt, this)?.resolve();
|
|
781
781
|
var l = k;
|
|
782
|
-
if (a(Ye, this) === 0 && (a(X, this).length === 0 || l !== null) && (b(
|
|
782
|
+
if (a(Ye, this) === 0 && (a(X, this).length === 0 || l !== null) && (b(C, this, zt).call(this), we && (b(C, this, ps).call(this), k = l)), a(X, this).length > 0) if (l !== null) {
|
|
783
783
|
const o = l;
|
|
784
784
|
a(X, o).push(...a(X, this).filter((f) => !a(X, o).includes(f)));
|
|
785
785
|
} else l = this;
|
|
786
|
-
l !== null && b(
|
|
786
|
+
l !== null && b(C, l, Bt).call(l);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Nn(e, t, r) {
|
|
789
789
|
e.f ^= Q;
|
|
790
790
|
for (var n = e.first; n !== null; ) {
|
|
791
791
|
var i = n.f, s = (i & 96) !== 0;
|
|
@@ -807,16 +807,16 @@ function In(e, t, r) {
|
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
|
-
function
|
|
811
|
-
for (var e = a(
|
|
810
|
+
function vs() {
|
|
811
|
+
for (var e = a(Pe, this); e !== null; ) {
|
|
812
812
|
if (!e.is_fork) {
|
|
813
813
|
for (const [t, [, r]] of this.current) if (e.current.has(t) && !r) return e;
|
|
814
814
|
}
|
|
815
|
-
e = a(
|
|
815
|
+
e = a(Pe, e);
|
|
816
816
|
}
|
|
817
817
|
return null;
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function _s(e) {
|
|
820
820
|
for (const [r, n] of e.current)
|
|
821
821
|
!this.previous.has(r) && e.previous.has(r) && this.previous.set(r, e.previous.get(r)), this.current.set(r, n);
|
|
822
822
|
for (const [r, n] of e.async_deriveds) {
|
|
@@ -832,17 +832,17 @@ function ms(e) {
|
|
|
832
832
|
if ((i & 2) !== 0) t(l);
|
|
833
833
|
else {
|
|
834
834
|
var s = l;
|
|
835
|
-
i & 4194320 && !this.async_deriveds.has(s) && (a(me, this).delete(s),
|
|
835
|
+
i & 4194320 && !this.async_deriveds.has(s) && (a(me, this).delete(s), N(s, Y), this.schedule(s));
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
839
|
for (const r of this.current.keys()) t(r);
|
|
840
|
-
this.oncommit(() => e.discard()), b(
|
|
840
|
+
this.oncommit(() => e.discard()), b(C, e, zt).call(e), k = this, b(C, this, Bt).call(this);
|
|
841
841
|
}
|
|
842
842
|
function ft(e) {
|
|
843
|
-
for (var t = 0; t < e.length; t += 1)
|
|
843
|
+
for (var t = 0; t < e.length; t += 1) $n(e[t], a(je, this), a(me, this));
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function ps() {
|
|
846
846
|
for (let v = qt; v !== null; v = a(Le, v)) {
|
|
847
847
|
var e = v.id < this.id, t = [];
|
|
848
848
|
for (const [d, [c, u]] of this.current) {
|
|
@@ -863,22 +863,22 @@ function ws() {
|
|
|
863
863
|
if (i.length === 0)
|
|
864
864
|
e && v.discard();
|
|
865
865
|
else if (t.length > 0) {
|
|
866
|
-
if (e) for (const d of a(
|
|
867
|
-
(c.f & 4194320) !== 0 ? v.schedule(c) : b(
|
|
866
|
+
if (e) for (const d of a(Ot, this)) v.unskip_effect(d, (c) => {
|
|
867
|
+
(c.f & 4194320) !== 0 ? v.schedule(c) : b(C, v, ft).call(v, [c]);
|
|
868
868
|
});
|
|
869
869
|
v.activate();
|
|
870
870
|
var s = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map();
|
|
871
|
-
for (var o of t)
|
|
871
|
+
for (var o of t) Cn(o, i, s, l);
|
|
872
872
|
l = /* @__PURE__ */ new Map();
|
|
873
873
|
var f = [...v.current].filter(([d, c]) => {
|
|
874
874
|
const u = this.current.get(d);
|
|
875
875
|
return u ? u[0] !== c[0] || u[1] !== c[1] : !0;
|
|
876
876
|
}).map(([d]) => d);
|
|
877
877
|
if (f.length > 0)
|
|
878
|
-
for (const d of a(_r, this)) (d.f & 155648) === 0 &&
|
|
878
|
+
for (const d of a(_r, this)) (d.f & 155648) === 0 && Lr(d, f, l) && ((d.f & 4194320) !== 0 ? (N(d, Y), v.schedule(d)) : a(je, v).add(d));
|
|
879
879
|
if (a(X, v).length > 0 && !a(ot, v)) {
|
|
880
880
|
v.apply();
|
|
881
|
-
for (var h of a(X, v)) b(
|
|
881
|
+
for (var h of a(X, v)) b(C, v, Nn).call(v, h, [], []);
|
|
882
882
|
w(X, v, []);
|
|
883
883
|
}
|
|
884
884
|
v.deactivate();
|
|
@@ -888,8 +888,8 @@ function ws() {
|
|
|
888
888
|
}
|
|
889
889
|
function zt() {
|
|
890
890
|
if (this.linked) {
|
|
891
|
-
var e = a(
|
|
892
|
-
e === null ? qt = t : w(Le, e, t), t === null ? ze = e : w(
|
|
891
|
+
var e = a(Pe, this), t = a(Le, this);
|
|
892
|
+
e === null ? qt = t : w(Le, e, t), t === null ? ze = e : w(Pe, t, e), this.linked = !1;
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
895
|
function pr(e) {
|
|
@@ -898,33 +898,33 @@ function pr(e) {
|
|
|
898
898
|
try {
|
|
899
899
|
var r;
|
|
900
900
|
for (e && (k !== null && !k.is_fork && k.flush(), r = e()); ; ) {
|
|
901
|
-
if (
|
|
901
|
+
if (Ji(), k === null) return r;
|
|
902
902
|
k.flush();
|
|
903
903
|
}
|
|
904
904
|
} finally {
|
|
905
905
|
ht = t;
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function gs() {
|
|
909
909
|
if (0) {
|
|
910
910
|
var e;
|
|
911
911
|
for (const r of k.current.keys()) for (const [n, i] of r.updated ?? [])
|
|
912
912
|
var t;
|
|
913
913
|
}
|
|
914
914
|
try {
|
|
915
|
-
|
|
915
|
+
Fi();
|
|
916
916
|
} catch (r) {
|
|
917
917
|
Ee(r, vr);
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
var oe = null;
|
|
921
|
-
function
|
|
921
|
+
function Xr(e) {
|
|
922
922
|
var t = e.length;
|
|
923
923
|
if (t !== 0) {
|
|
924
924
|
for (var r = 0; r < t; ) {
|
|
925
925
|
var n = e[r++];
|
|
926
|
-
if ((n.f & 24576) === 0 && kt(n) && (oe = /* @__PURE__ */ new Set(), tt(n), n.deps === null && n.first === null && n.nodes === null && n.teardown === null && n.ac === null &&
|
|
927
|
-
|
|
926
|
+
if ((n.f & 24576) === 0 && kt(n) && (oe = /* @__PURE__ */ new Set(), tt(n), n.deps === null && n.first === null && n.nodes === null && n.teardown === null && n.ac === null && Kn(n), oe?.size > 0)) {
|
|
927
|
+
Ie.clear();
|
|
928
928
|
for (const i of oe) {
|
|
929
929
|
if ((i.f & 24576) !== 0) continue;
|
|
930
930
|
const s = [i];
|
|
@@ -942,19 +942,19 @@ function Jr(e) {
|
|
|
942
942
|
oe = null;
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function Cn(e, t, r, n) {
|
|
946
946
|
if (!r.has(e) && (r.add(e), e.reactions !== null))
|
|
947
947
|
for (const i of e.reactions) {
|
|
948
948
|
const s = i.f;
|
|
949
|
-
(s & 2) !== 0 ?
|
|
949
|
+
(s & 2) !== 0 ? Cn(i, t, r, n) : (s & 4194320) !== 0 && (s & 2048) === 0 && Lr(i, t, n) && (N(i, Y), Or(i));
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function Lr(e, t, r) {
|
|
953
953
|
const n = r.get(e);
|
|
954
954
|
if (n !== void 0) return n;
|
|
955
955
|
if (e.deps !== null) for (const i of e.deps) {
|
|
956
|
-
if (
|
|
957
|
-
if ((i.f & 2) !== 0 &&
|
|
956
|
+
if (Pt.call(t, i)) return !0;
|
|
957
|
+
if ((i.f & 2) !== 0 && Lr(i, t, r))
|
|
958
958
|
return r.set(i, !0), !0;
|
|
959
959
|
}
|
|
960
960
|
return r.set(e, !1), !1;
|
|
@@ -962,26 +962,26 @@ function Rr(e, t, r) {
|
|
|
962
962
|
function Or(e) {
|
|
963
963
|
k.schedule(e);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function Pn(e, t) {
|
|
966
966
|
if (!((e.f & 32) !== 0 && (e.f & 1024) !== 0)) {
|
|
967
|
-
(e.f & 2048) !== 0 ? t.d.push(e) : (e.f & 4096) !== 0 && t.m.push(e),
|
|
967
|
+
(e.f & 2048) !== 0 ? t.d.push(e) : (e.f & 4096) !== 0 && t.m.push(e), N(e, Q);
|
|
968
968
|
for (var r = e.first; r !== null; )
|
|
969
|
-
|
|
969
|
+
Pn(r, t), r = r.next;
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
|
-
function
|
|
973
|
-
|
|
972
|
+
function In(e) {
|
|
973
|
+
N(e, Q);
|
|
974
974
|
for (var t = e.first; t !== null; )
|
|
975
|
-
|
|
975
|
+
In(t), t = t.next;
|
|
976
976
|
}
|
|
977
|
-
var Yt = /* @__PURE__ */ new Set(),
|
|
978
|
-
var
|
|
977
|
+
var Yt = /* @__PURE__ */ new Set(), Ie = /* @__PURE__ */ new Map();
|
|
978
|
+
var Wn = !1;
|
|
979
979
|
function Fe(e, t) {
|
|
980
980
|
var r = {
|
|
981
981
|
f: 0,
|
|
982
982
|
v: e,
|
|
983
983
|
reactions: null,
|
|
984
|
-
equals:
|
|
984
|
+
equals: _n,
|
|
985
985
|
rv: 0,
|
|
986
986
|
wv: 0
|
|
987
987
|
};
|
|
@@ -990,38 +990,38 @@ function Fe(e, t) {
|
|
|
990
990
|
// @__NO_SIDE_EFFECTS__
|
|
991
991
|
function pe(e, t) {
|
|
992
992
|
const r = Fe(e, t);
|
|
993
|
-
return
|
|
993
|
+
return Zn(r), r;
|
|
994
994
|
}
|
|
995
995
|
// @__NO_SIDE_EFFECTS__
|
|
996
|
-
function
|
|
996
|
+
function jn(e, t = !1, r = !0) {
|
|
997
997
|
const n = Fe(e);
|
|
998
|
-
if (t || (n.equals =
|
|
998
|
+
if (t || (n.equals = pn), Qt && r && P !== null && P.l !== null) {
|
|
999
999
|
var i;
|
|
1000
|
-
((i =
|
|
1000
|
+
((i = P.l).s ?? (i.s = [])).push(n);
|
|
1001
1001
|
}
|
|
1002
1002
|
return n;
|
|
1003
1003
|
}
|
|
1004
1004
|
function fe(e, t, r = !1) {
|
|
1005
|
-
E !== null && (!ie || (E.f & 131072) !== 0) && bt() && (E.f & 4325394) !== 0 && (ae === null || !ae.has(e)) &&
|
|
1005
|
+
E !== null && (!ie || (E.f & 131072) !== 0) && bt() && (E.f & 4325394) !== 0 && (ae === null || !ae.has(e)) && Hi();
|
|
1006
1006
|
let n = r ? Ke(t) : t;
|
|
1007
1007
|
return et(e, n, Gt);
|
|
1008
1008
|
}
|
|
1009
1009
|
function et(e, t, r = null) {
|
|
1010
1010
|
if (!e.equals(t)) {
|
|
1011
|
-
|
|
1011
|
+
Ie.set(e, be ? t : e.v);
|
|
1012
1012
|
var n = Ge.ensure();
|
|
1013
1013
|
if (n.capture(e, t), (e.f & 2) !== 0) {
|
|
1014
1014
|
const i = e;
|
|
1015
|
-
(e.f & 2048) !== 0 &&
|
|
1015
|
+
(e.f & 2048) !== 0 && Ar(i), D === null && Sr(i);
|
|
1016
1016
|
}
|
|
1017
|
-
e.wv =
|
|
1017
|
+
e.wv = ei(), Fn(e, Y, r), bt() && $ !== null && ($.f & 1024) !== 0 && ($.f & 96) === 0 && (K === null ? Ns([e]) : K.push(e)), !n.is_fork && Yt.size > 0 && !Wn && ms();
|
|
1018
1018
|
}
|
|
1019
1019
|
return t;
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1022
|
-
|
|
1021
|
+
function ms() {
|
|
1022
|
+
Wn = !1;
|
|
1023
1023
|
for (const e of Yt) {
|
|
1024
|
-
(e.f & 1024) !== 0 &&
|
|
1024
|
+
(e.f & 1024) !== 0 && N(e, qe);
|
|
1025
1025
|
let t;
|
|
1026
1026
|
try {
|
|
1027
1027
|
t = kt(e);
|
|
@@ -1035,17 +1035,17 @@ function bs() {
|
|
|
1035
1035
|
function vt(e) {
|
|
1036
1036
|
fe(e, e.v + 1);
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function Fn(e, t, r) {
|
|
1039
1039
|
var n = e.reactions;
|
|
1040
1040
|
if (n !== null)
|
|
1041
1041
|
for (var i = bt(), s = n.length, l = 0; l < s; l++) {
|
|
1042
1042
|
var o = n[l], f = o.f;
|
|
1043
1043
|
if (!(!i && o === $)) {
|
|
1044
1044
|
var h = (f & Y) === 0;
|
|
1045
|
-
if (h &&
|
|
1045
|
+
if (h && N(o, t), (f & 131072) !== 0) Yt.add(o);
|
|
1046
1046
|
else if ((f & 2) !== 0) {
|
|
1047
1047
|
var v = o;
|
|
1048
|
-
D?.delete(v), (f & 65536) === 0 && (f & 512 && ($ === null || ($.f & 2097152) === 0) && (o.f |= wt),
|
|
1048
|
+
D?.delete(v), (f & 65536) === 0 && (f & 512 && ($ === null || ($.f & 2097152) === 0) && (o.f |= wt), Fn(v, qe, r));
|
|
1049
1049
|
} else if (h) {
|
|
1050
1050
|
var d = o;
|
|
1051
1051
|
(f & 16) !== 0 && oe !== null && oe.add(d), r !== null ? r.push(d) : Or(d);
|
|
@@ -1053,31 +1053,31 @@ function qn(e, t, r) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
var
|
|
1056
|
+
var ws = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/;
|
|
1057
1057
|
function Ke(e) {
|
|
1058
1058
|
if (typeof e != "object" || e === null || dt in e) return e;
|
|
1059
|
-
const t =
|
|
1060
|
-
if (t !==
|
|
1061
|
-
var r = /* @__PURE__ */ new Map(), n =
|
|
1059
|
+
const t = cn(e);
|
|
1060
|
+
if (t !== yi && t !== bi) return e;
|
|
1061
|
+
var r = /* @__PURE__ */ new Map(), n = un(e), i = /* @__PURE__ */ pe(0), s = null, l = We, o = (d) => {
|
|
1062
1062
|
if (We === l) return d();
|
|
1063
1063
|
var c = E, u = We;
|
|
1064
|
-
te(null),
|
|
1064
|
+
te(null), tn(l);
|
|
1065
1065
|
var g = d();
|
|
1066
|
-
return te(c),
|
|
1066
|
+
return te(c), tn(u), g;
|
|
1067
1067
|
};
|
|
1068
1068
|
n && r.set("length", /* @__PURE__ */ pe(e.length, s));
|
|
1069
1069
|
var f = "";
|
|
1070
1070
|
let h = !1;
|
|
1071
1071
|
function v(d) {
|
|
1072
1072
|
if (!h) {
|
|
1073
|
-
h = !0, f = d,
|
|
1074
|
-
for (const [c, u] of r)
|
|
1073
|
+
h = !0, f = d, zr(i, `${f} version`);
|
|
1074
|
+
for (const [c, u] of r) zr(u, ys(f, c));
|
|
1075
1075
|
h = !1;
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
1078
|
return new Proxy(e, {
|
|
1079
1079
|
defineProperty(d, c, u) {
|
|
1080
|
-
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) &&
|
|
1080
|
+
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Gi();
|
|
1081
1081
|
var g = r.get(c);
|
|
1082
1082
|
return g === void 0 ? o(() => {
|
|
1083
1083
|
var m = /* @__PURE__ */ pe(u.value, s);
|
|
@@ -1088,22 +1088,22 @@ function Ke(e) {
|
|
|
1088
1088
|
var u = r.get(c);
|
|
1089
1089
|
if (u === void 0) {
|
|
1090
1090
|
if (c in d) {
|
|
1091
|
-
const g = o(() => /* @__PURE__ */ pe(
|
|
1091
|
+
const g = o(() => /* @__PURE__ */ pe(I, s));
|
|
1092
1092
|
r.set(c, g), vt(i);
|
|
1093
1093
|
}
|
|
1094
1094
|
} else
|
|
1095
|
-
fe(u,
|
|
1095
|
+
fe(u, I), vt(i);
|
|
1096
1096
|
return !0;
|
|
1097
1097
|
},
|
|
1098
1098
|
get(d, c, u) {
|
|
1099
1099
|
if (c === dt) return e;
|
|
1100
1100
|
var g = r.get(c), m = c in d;
|
|
1101
|
-
if (g === void 0 && (!m ||
|
|
1102
|
-
var p = /* @__PURE__ */ pe(Ke(m ? d[c] :
|
|
1101
|
+
if (g === void 0 && (!m || Re(d, c)?.writable) && (g = o(() => {
|
|
1102
|
+
var p = /* @__PURE__ */ pe(Ke(m ? d[c] : I), s);
|
|
1103
1103
|
return p;
|
|
1104
1104
|
}), r.set(c, g)), g !== void 0) {
|
|
1105
1105
|
var _ = x(g);
|
|
1106
|
-
return _ ===
|
|
1106
|
+
return _ === I ? void 0 : _;
|
|
1107
1107
|
}
|
|
1108
1108
|
return Reflect.get(d, c, u);
|
|
1109
1109
|
},
|
|
@@ -1114,7 +1114,7 @@ function Ke(e) {
|
|
|
1114
1114
|
g && (u.value = x(g));
|
|
1115
1115
|
} else if (u === void 0) {
|
|
1116
1116
|
var m = r.get(c), _ = m?.v;
|
|
1117
|
-
if (m !== void 0 && _ !==
|
|
1117
|
+
if (m !== void 0 && _ !== I) return {
|
|
1118
1118
|
enumerable: !0,
|
|
1119
1119
|
configurable: !0,
|
|
1120
1120
|
value: _,
|
|
@@ -1125,30 +1125,30 @@ function Ke(e) {
|
|
|
1125
1125
|
},
|
|
1126
1126
|
has(d, c) {
|
|
1127
1127
|
if (c === dt) return !0;
|
|
1128
|
-
var u = r.get(c), g = u !== void 0 && u.v !==
|
|
1129
|
-
return (u !== void 0 || $ !== null && (!g ||
|
|
1130
|
-
var m = /* @__PURE__ */ pe(g ? Ke(d[c]) :
|
|
1128
|
+
var u = r.get(c), g = u !== void 0 && u.v !== I || Reflect.has(d, c);
|
|
1129
|
+
return (u !== void 0 || $ !== null && (!g || Re(d, c)?.writable)) && (u === void 0 && (u = o(() => {
|
|
1130
|
+
var m = /* @__PURE__ */ pe(g ? Ke(d[c]) : I, s);
|
|
1131
1131
|
return m;
|
|
1132
|
-
}), r.set(c, u)), x(u) ===
|
|
1132
|
+
}), r.set(c, u)), x(u) === I) ? !1 : g;
|
|
1133
1133
|
},
|
|
1134
1134
|
set(d, c, u, g) {
|
|
1135
1135
|
var m = r.get(c), _ = c in d;
|
|
1136
1136
|
if (n && c === "length") for (var p = u; p < m.v; p += 1) {
|
|
1137
1137
|
var T = r.get(p + "");
|
|
1138
|
-
T !== void 0 ? fe(T,
|
|
1138
|
+
T !== void 0 ? fe(T, I) : p in d && (T = o(() => /* @__PURE__ */ pe(I, s)), r.set(p + "", T));
|
|
1139
1139
|
}
|
|
1140
1140
|
if (m === void 0)
|
|
1141
|
-
(!_ ||
|
|
1141
|
+
(!_ || Re(d, c)?.writable) && (m = o(() => /* @__PURE__ */ pe(void 0, s)), fe(m, Ke(u)), r.set(c, m));
|
|
1142
1142
|
else {
|
|
1143
|
-
_ = m.v !==
|
|
1143
|
+
_ = m.v !== I;
|
|
1144
1144
|
var A = o(() => Ke(u));
|
|
1145
1145
|
fe(m, A);
|
|
1146
1146
|
}
|
|
1147
1147
|
var S = Reflect.getOwnPropertyDescriptor(d, c);
|
|
1148
1148
|
if (S?.set && S.set.call(g, u), !_) {
|
|
1149
1149
|
if (n && typeof c == "string") {
|
|
1150
|
-
var F = r.get("length"),
|
|
1151
|
-
Number.isInteger(
|
|
1150
|
+
var F = r.get("length"), R = Number(c);
|
|
1151
|
+
Number.isInteger(R) && R >= F.v && fe(F, R + 1);
|
|
1152
1152
|
}
|
|
1153
1153
|
vt(i);
|
|
1154
1154
|
}
|
|
@@ -1158,25 +1158,25 @@ function Ke(e) {
|
|
|
1158
1158
|
x(i);
|
|
1159
1159
|
var c = Reflect.ownKeys(d).filter((m) => {
|
|
1160
1160
|
var _ = r.get(m);
|
|
1161
|
-
return _ === void 0 || _.v !==
|
|
1161
|
+
return _ === void 0 || _.v !== I;
|
|
1162
1162
|
});
|
|
1163
|
-
for (var [u, g] of r) g.v !==
|
|
1163
|
+
for (var [u, g] of r) g.v !== I && !(u in d) && c.push(u);
|
|
1164
1164
|
return c;
|
|
1165
1165
|
},
|
|
1166
1166
|
setPrototypeOf() {
|
|
1167
|
-
|
|
1167
|
+
Ui();
|
|
1168
1168
|
}
|
|
1169
1169
|
});
|
|
1170
1170
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return typeof t == "symbol" ? `${e}[Symbol(${t.description ?? ""})]` :
|
|
1171
|
+
function ys(e, t) {
|
|
1172
|
+
return typeof t == "symbol" ? `${e}[Symbol(${t.description ?? ""})]` : ws.test(t) ? `${e}.${t}` : /^\d+$/.test(t) ? `${e}[${t}]` : `${e}['${t}']`;
|
|
1173
1173
|
}
|
|
1174
|
-
var
|
|
1174
|
+
var Jr, bs, Dn, qn, Gn;
|
|
1175
1175
|
function gr() {
|
|
1176
|
-
if (
|
|
1177
|
-
|
|
1176
|
+
if (Jr === void 0) {
|
|
1177
|
+
Jr = window, bs = document, Dn = /Firefox/.test(navigator.userAgent);
|
|
1178
1178
|
var e = Element.prototype, t = Node.prototype, r = Text.prototype;
|
|
1179
|
-
|
|
1179
|
+
qn = Re(t, "firstChild").get, Gn = Re(t, "nextSibling").get, Ur(e) && (e[Oi] = void 0, e[fr] = null, e[Ri] = void 0, e.__e = void 0), Ur(r) && (r[Lt] = void 0);
|
|
1180
1180
|
}
|
|
1181
1181
|
}
|
|
1182
1182
|
function Z(e = "") {
|
|
@@ -1184,13 +1184,13 @@ function Z(e = "") {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
// @__NO_SIDE_EFFECTS__
|
|
1186
1186
|
function De(e) {
|
|
1187
|
-
return
|
|
1187
|
+
return qn.call(e);
|
|
1188
1188
|
}
|
|
1189
1189
|
// @__NO_SIDE_EFFECTS__
|
|
1190
1190
|
function he(e) {
|
|
1191
|
-
return
|
|
1191
|
+
return Gn.call(e);
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function Zr(e, t) {
|
|
1194
1194
|
if (!L) return /* @__PURE__ */ De(e);
|
|
1195
1195
|
var r = /* @__PURE__ */ De(M);
|
|
1196
1196
|
if (r === null) r = M.appendChild(Z());
|
|
@@ -1200,7 +1200,7 @@ function Qr(e, t) {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
return t && Nr(r), U(r), r;
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function $s(e, t = !1) {
|
|
1204
1204
|
if (!L) {
|
|
1205
1205
|
var r = /* @__PURE__ */ De(e);
|
|
1206
1206
|
return r instanceof Comment && r.data === "" ? /* @__PURE__ */ he(r) : r;
|
|
@@ -1214,7 +1214,7 @@ function Es(e, t = !1) {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
return M;
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function ks(e, t = 1, r = !1) {
|
|
1218
1218
|
let n = L ? M : e;
|
|
1219
1219
|
for (var i; t--; )
|
|
1220
1220
|
i = n, n = /* @__PURE__ */ he(n);
|
|
@@ -1228,13 +1228,13 @@ function xs(e, t = 1, r = !1) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
return U(n), n;
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function Un(e) {
|
|
1232
1232
|
e.textContent = "";
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return !we || oe !== null ? !1 : ($.f &
|
|
1234
|
+
function Hn() {
|
|
1235
|
+
return !we || oe !== null ? !1 : ($.f & $r) !== 0;
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function Rr(e, t, r) {
|
|
1238
1238
|
return t == null || t === "http://www.w3.org/1999/xhtml" ? r ? document.createElement(e, { is: r }) : document.createElement(e) : r ? document.createElementNS(t, e, { is: r }) : document.createElementNS(t, e);
|
|
1239
1239
|
}
|
|
1240
1240
|
function Nr(e) {
|
|
@@ -1243,18 +1243,18 @@ function Nr(e) {
|
|
|
1243
1243
|
for (; t !== null && t.nodeType === 3; )
|
|
1244
1244
|
t.remove(), e.nodeValue += t.nodeValue, t = e.nextSibling;
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1247
|
-
$ === null && (E === null &&
|
|
1246
|
+
function Ss(e) {
|
|
1247
|
+
$ === null && (E === null && ji(e), Wi()), be && Ii(e);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function Es(e, t) {
|
|
1250
1250
|
var r = t.last;
|
|
1251
1251
|
r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
|
|
1252
1252
|
}
|
|
1253
1253
|
function ve(e, t) {
|
|
1254
1254
|
var r = $;
|
|
1255
|
-
r !== null && (r.f & 8192) !== 0 && (e |=
|
|
1255
|
+
r !== null && (r.f & 8192) !== 0 && (e |= br);
|
|
1256
1256
|
var n = {
|
|
1257
|
-
ctx:
|
|
1257
|
+
ctx: P,
|
|
1258
1258
|
deps: null,
|
|
1259
1259
|
nodes: null,
|
|
1260
1260
|
f: e | Y | 512,
|
|
@@ -1278,40 +1278,40 @@ function ve(e, t) {
|
|
|
1278
1278
|
} catch (l) {
|
|
1279
1279
|
throw q(n), l;
|
|
1280
1280
|
}
|
|
1281
|
-
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && (i.f & 524288) === 0 && (i = i.first, (e & 16) !== 0 && (e & 65536) !== 0 && i !== null && (i.f |=
|
|
1281
|
+
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && (i.f & 524288) === 0 && (i = i.first, (e & 16) !== 0 && (e & 65536) !== 0 && i !== null && (i.f |= kr));
|
|
1282
1282
|
}
|
|
1283
|
-
if (i !== null && (i.parent = r, r !== null &&
|
|
1283
|
+
if (i !== null && (i.parent = r, r !== null && Es(i, r), E !== null && (E.f & 2) !== 0 && (e & 64) === 0)) {
|
|
1284
1284
|
var s = E;
|
|
1285
1285
|
(s.effects ?? (s.effects = [])).push(i);
|
|
1286
1286
|
}
|
|
1287
1287
|
return n;
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function Cr() {
|
|
1290
1290
|
return E !== null && !ie;
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function Bn(e) {
|
|
1293
1293
|
const t = ve(8, null);
|
|
1294
|
-
return
|
|
1294
|
+
return N(t, Q), t.teardown = e, t;
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1297
|
-
|
|
1296
|
+
function xs(e) {
|
|
1297
|
+
Ss("$effect");
|
|
1298
1298
|
var t = $.f;
|
|
1299
|
-
if (!E && (t & 32) !== 0 &&
|
|
1300
|
-
var r =
|
|
1299
|
+
if (!E && (t & 32) !== 0 && P !== null && !P.i) {
|
|
1300
|
+
var r = P;
|
|
1301
1301
|
(r.e ?? (r.e = [])).push(e);
|
|
1302
|
-
} else return
|
|
1302
|
+
} else return zn(e);
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return ve(4 |
|
|
1304
|
+
function zn(e) {
|
|
1305
|
+
return ve(4 | Mi, e);
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function Ms(e) {
|
|
1308
1308
|
Ge.ensure();
|
|
1309
1309
|
const t = ve(64 | rt, e);
|
|
1310
1310
|
return () => {
|
|
1311
1311
|
q(t);
|
|
1312
1312
|
};
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function Ts(e) {
|
|
1315
1315
|
Ge.ensure();
|
|
1316
1316
|
const t = ve(64 | rt, e);
|
|
1317
1317
|
return (r = {}) => new Promise((n) => {
|
|
@@ -1320,42 +1320,42 @@ function Rs(e) {
|
|
|
1320
1320
|
}) : (q(t), n(void 0));
|
|
1321
1321
|
});
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function Yn(e) {
|
|
1324
1324
|
return ve(4, e);
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1327
|
-
return ve(
|
|
1326
|
+
function As(e) {
|
|
1327
|
+
return ve(Ti | rt, e);
|
|
1328
1328
|
}
|
|
1329
1329
|
function Pr(e, t = 0) {
|
|
1330
1330
|
return ve(8 | t, e);
|
|
1331
1331
|
}
|
|
1332
|
-
function
|
|
1333
|
-
|
|
1332
|
+
function Qr(e, t = [], r = [], n = []) {
|
|
1333
|
+
os(n, t, r, (i) => {
|
|
1334
1334
|
ve(8, () => {
|
|
1335
1335
|
e(...i.map(x));
|
|
1336
1336
|
});
|
|
1337
1337
|
});
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function Ir(e, t = 0) {
|
|
1340
1340
|
var r = ve(16 | t, e);
|
|
1341
1341
|
return r;
|
|
1342
1342
|
}
|
|
1343
1343
|
function ee(e) {
|
|
1344
1344
|
return ve(32 | rt, e);
|
|
1345
1345
|
}
|
|
1346
|
-
function
|
|
1346
|
+
function Vn(e) {
|
|
1347
1347
|
var t = e.teardown;
|
|
1348
1348
|
if (t !== null) {
|
|
1349
1349
|
const r = be, n = E;
|
|
1350
|
-
|
|
1350
|
+
en(!0), te(null);
|
|
1351
1351
|
try {
|
|
1352
1352
|
t.call(null);
|
|
1353
1353
|
} finally {
|
|
1354
|
-
|
|
1354
|
+
en(r), te(n);
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1358
|
+
function Wr(e, t = !1) {
|
|
1359
1359
|
var r = e.first;
|
|
1360
1360
|
for (e.first = e.last = null; r !== null; ) {
|
|
1361
1361
|
const i = r.ac;
|
|
@@ -1366,7 +1366,7 @@ function jr(e, t = !1) {
|
|
|
1366
1366
|
(r.f & 64) !== 0 ? r.parent = null : q(r, t), r = n;
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function Ls(e) {
|
|
1370
1370
|
for (var t = e.first; t !== null; ) {
|
|
1371
1371
|
var r = t.next;
|
|
1372
1372
|
(t.f & 32) === 0 && q(t), t = r;
|
|
@@ -1374,26 +1374,26 @@ function Cs(e) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
function q(e, t = !0) {
|
|
1376
1376
|
var r = !1;
|
|
1377
|
-
(t || (e.f & 262144) !== 0) && e.nodes !== null && e.nodes.end !== null && (
|
|
1377
|
+
(t || (e.f & 262144) !== 0) && e.nodes !== null && e.nodes.end !== null && (Os(e.nodes.start, e.nodes.end), r = !0), e.f |= Hr, Wr(e, t && !r), mt(e, 0);
|
|
1378
1378
|
var n = e.nodes && e.nodes.t;
|
|
1379
1379
|
if (n !== null) for (const s of n) s.stop();
|
|
1380
|
-
|
|
1380
|
+
Vn(e), e.f ^= Hr, e.f |= xi;
|
|
1381
1381
|
var i = e.parent;
|
|
1382
|
-
i !== null && i.first !== null &&
|
|
1382
|
+
i !== null && i.first !== null && Kn(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function Os(e, t) {
|
|
1385
1385
|
for (; e !== null; ) {
|
|
1386
1386
|
var r = e === t ? null : /* @__PURE__ */ he(e);
|
|
1387
1387
|
e.remove(), e = r;
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
|
-
function
|
|
1390
|
+
function Kn(e) {
|
|
1391
1391
|
var t = e.parent, r = e.prev, n = e.next;
|
|
1392
1392
|
r !== null && (r.next = n), n !== null && (n.prev = r), t !== null && (t.first === e && (t.first = n), t.last === e && (t.last = r));
|
|
1393
1393
|
}
|
|
1394
1394
|
function Ue(e, t, r = !0) {
|
|
1395
1395
|
var n = [];
|
|
1396
|
-
|
|
1396
|
+
Xn(e, n, !0);
|
|
1397
1397
|
var i = () => {
|
|
1398
1398
|
r && q(e), t && t();
|
|
1399
1399
|
}, s = n.length;
|
|
@@ -1402,9 +1402,9 @@ function Ue(e, t, r = !0) {
|
|
|
1402
1402
|
for (var o of n) o.out(l);
|
|
1403
1403
|
} else i();
|
|
1404
1404
|
}
|
|
1405
|
-
function
|
|
1405
|
+
function Xn(e, t, r) {
|
|
1406
1406
|
if ((e.f & 8192) === 0) {
|
|
1407
|
-
e.f ^=
|
|
1407
|
+
e.f ^= br;
|
|
1408
1408
|
var n = e.nodes && e.nodes.t;
|
|
1409
1409
|
if (n !== null)
|
|
1410
1410
|
for (const o of n) (o.is_global || r) && t.push(o);
|
|
@@ -1412,36 +1412,36 @@ function Zn(e, t, r) {
|
|
|
1412
1412
|
var s = i.next;
|
|
1413
1413
|
if ((i.f & 64) === 0) {
|
|
1414
1414
|
var l = (i.f & 65536) !== 0 || (i.f & 32) !== 0 && (e.f & 16) !== 0;
|
|
1415
|
-
|
|
1415
|
+
Xn(i, t, l ? r : !1);
|
|
1416
1416
|
}
|
|
1417
1417
|
i = s;
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
function Vt(e) {
|
|
1422
|
-
|
|
1422
|
+
Jn(e, !0);
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1424
|
+
function Jn(e, t) {
|
|
1425
1425
|
if ((e.f & 8192) !== 0) {
|
|
1426
|
-
e.f ^=
|
|
1426
|
+
e.f ^= br, (e.f & 1024) === 0 && (N(e, Y), Ge.ensure().schedule(e));
|
|
1427
1427
|
for (var r = e.first; r !== null; ) {
|
|
1428
1428
|
var n = r.next, i = (r.f & 65536) !== 0 || (r.f & 32) !== 0;
|
|
1429
|
-
|
|
1429
|
+
Jn(r, i ? t : !1), r = n;
|
|
1430
1430
|
}
|
|
1431
1431
|
var s = e.nodes && e.nodes.t;
|
|
1432
1432
|
if (s !== null)
|
|
1433
1433
|
for (const l of s) (l.is_global || t) && l.in();
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
function
|
|
1436
|
+
function jr(e, t) {
|
|
1437
1437
|
if (e.nodes)
|
|
1438
1438
|
for (var r = e.nodes.start, n = e.nodes.end; r !== null; ) {
|
|
1439
1439
|
var i = r === n ? null : /* @__PURE__ */ he(r);
|
|
1440
1440
|
t.append(r), r = i;
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
|
-
var
|
|
1444
|
-
function
|
|
1443
|
+
var Rs = null, Rt = !1, be = !1;
|
|
1444
|
+
function en(e) {
|
|
1445
1445
|
be = e;
|
|
1446
1446
|
}
|
|
1447
1447
|
var E = null, ie = !1;
|
|
@@ -1453,19 +1453,19 @@ function de(e) {
|
|
|
1453
1453
|
$ = e;
|
|
1454
1454
|
}
|
|
1455
1455
|
var ae = null;
|
|
1456
|
-
function
|
|
1456
|
+
function Zn(e) {
|
|
1457
1457
|
E !== null && (!we || (E.f & 2) !== 0) && (ae ?? (ae = /* @__PURE__ */ new Set())).add(e);
|
|
1458
1458
|
}
|
|
1459
1459
|
var G = null, B = 0, K = null;
|
|
1460
|
-
function
|
|
1460
|
+
function Ns(e) {
|
|
1461
1461
|
K = e;
|
|
1462
1462
|
}
|
|
1463
|
-
var
|
|
1464
|
-
function
|
|
1463
|
+
var Qn = 1, Oe = 0, We = Oe;
|
|
1464
|
+
function tn(e) {
|
|
1465
1465
|
We = e;
|
|
1466
1466
|
}
|
|
1467
|
-
function
|
|
1468
|
-
return ++
|
|
1467
|
+
function ei() {
|
|
1468
|
+
return ++Qn;
|
|
1469
1469
|
}
|
|
1470
1470
|
function kt(e) {
|
|
1471
1471
|
var t = e.f;
|
|
@@ -1473,102 +1473,102 @@ function kt(e) {
|
|
|
1473
1473
|
if (t & 2 && (e.f &= ~wt), (t & 4096) !== 0) {
|
|
1474
1474
|
for (var r = e.deps, n = r.length, i = 0; i < n; i++) {
|
|
1475
1475
|
var s = r[i];
|
|
1476
|
-
if (kt(s) &&
|
|
1476
|
+
if (kt(s) && Tn(s), s.wv > e.wv) return !0;
|
|
1477
1477
|
}
|
|
1478
|
-
(t & 512) !== 0 && D === null &&
|
|
1478
|
+
(t & 512) !== 0 && D === null && N(e, Q);
|
|
1479
1479
|
}
|
|
1480
1480
|
return !1;
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function ti(e, t, r = !0) {
|
|
1483
1483
|
var n = e.reactions;
|
|
1484
1484
|
if (n !== null && !(!we && ae !== null && ae.has(e)))
|
|
1485
1485
|
for (var i = 0; i < n.length; i++) {
|
|
1486
1486
|
var s = n[i];
|
|
1487
|
-
(s.f & 2) !== 0 ?
|
|
1487
|
+
(s.f & 2) !== 0 ? ti(s, t, !1) : t === s && (r ? N(s, Y) : (s.f & 1024) !== 0 && N(s, qe), Or(s));
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1491
|
-
var t = G, r = B, n = K, i = E, s = ae, l =
|
|
1492
|
-
G = null, B = 0, K = null, E = (h & 96) === 0 ? e : null, ae = null, Ze(e.ctx), ie = !1, We = ++
|
|
1490
|
+
function ri(e) {
|
|
1491
|
+
var t = G, r = B, n = K, i = E, s = ae, l = P, o = ie, f = We, h = e.f;
|
|
1492
|
+
G = null, B = 0, K = null, E = (h & 96) === 0 ? e : null, ae = null, Ze(e.ctx), ie = !1, We = ++Oe, e.ac !== null && ($t(() => {
|
|
1493
1493
|
e.ac.abort(yt);
|
|
1494
1494
|
}), e.ac = null);
|
|
1495
1495
|
try {
|
|
1496
|
-
e.f |=
|
|
1496
|
+
e.f |= Br;
|
|
1497
1497
|
var v = e.fn, d = v();
|
|
1498
|
-
e.f |=
|
|
1498
|
+
e.f |= $r;
|
|
1499
1499
|
var c = e.deps, u = k?.is_fork;
|
|
1500
1500
|
if (G !== null) {
|
|
1501
1501
|
var g;
|
|
1502
1502
|
if (u || mt(e, B), c !== null && B > 0)
|
|
1503
1503
|
for (c.length = B + G.length, g = 0; g < G.length; g++) c[B + g] = G[g];
|
|
1504
1504
|
else e.deps = c = G;
|
|
1505
|
-
if (
|
|
1505
|
+
if (Cr() && (e.f & 512) !== 0) for (g = B; g < c.length; g++) {
|
|
1506
1506
|
var m;
|
|
1507
1507
|
((m = c[g]).reactions ?? (m.reactions = [])).push(e);
|
|
1508
1508
|
}
|
|
1509
1509
|
} else !u && c !== null && B < c.length && (mt(e, B), c.length = B);
|
|
1510
|
-
if (bt() && K !== null && !ie && c !== null && (e.f & 6146) === 0) for (g = 0; g < K.length; g++)
|
|
1510
|
+
if (bt() && K !== null && !ie && c !== null && (e.f & 6146) === 0) for (g = 0; g < K.length; g++) ti(K[g], e);
|
|
1511
1511
|
if (i !== null && i !== e) {
|
|
1512
|
-
if (
|
|
1513
|
-
if (t !== null) for (const _ of t) _.rv =
|
|
1512
|
+
if (Oe++, i.deps !== null) for (let _ = 0; _ < r; _ += 1) i.deps[_].rv = Oe;
|
|
1513
|
+
if (t !== null) for (const _ of t) _.rv = Oe;
|
|
1514
1514
|
K !== null && (n === null ? n = K : n.push(...K));
|
|
1515
1515
|
}
|
|
1516
1516
|
return (e.f & 8388608) !== 0 && (e.f ^= jt), d;
|
|
1517
1517
|
} catch (_) {
|
|
1518
|
-
return
|
|
1518
|
+
return yn(_);
|
|
1519
1519
|
} finally {
|
|
1520
|
-
e.f ^=
|
|
1520
|
+
e.f ^= Br, G = t, B = r, K = n, E = i, ae = s, Ze(l), ie = o, We = f;
|
|
1521
1521
|
}
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function Cs(e, t) {
|
|
1524
1524
|
let r = t.reactions;
|
|
1525
1525
|
if (r !== null) {
|
|
1526
|
-
var n =
|
|
1526
|
+
var n = mi.call(r, e);
|
|
1527
1527
|
if (n !== -1) {
|
|
1528
1528
|
var i = r.length - 1;
|
|
1529
1529
|
i === 0 ? r = t.reactions = null : (r[n] = r[i], r.pop());
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
|
-
if (r === null && (t.f & 2) !== 0 && (G === null || !
|
|
1532
|
+
if (r === null && (t.f & 2) !== 0 && (G === null || !Pt.call(G, t))) {
|
|
1533
1533
|
var s = t;
|
|
1534
|
-
(s.f & 512) !== 0 && (s.f ^= 512, s.f &= ~wt), s.v !==
|
|
1535
|
-
s.ac.abort(yt), s.ac = null,
|
|
1536
|
-
}),
|
|
1534
|
+
(s.f & 512) !== 0 && (s.f ^= 512, s.f &= ~wt), s.v !== I && Sr(s), s.ac !== null && $t(() => {
|
|
1535
|
+
s.ac.abort(yt), s.ac = null, N(s, Y);
|
|
1536
|
+
}), ds(s), mt(s, 0);
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
1539
|
function mt(e, t) {
|
|
1540
1540
|
var r = e.deps;
|
|
1541
1541
|
if (r !== null)
|
|
1542
|
-
for (var n = t; n < r.length; n++)
|
|
1542
|
+
for (var n = t; n < r.length; n++) Cs(e, r[n]);
|
|
1543
1543
|
}
|
|
1544
1544
|
function tt(e) {
|
|
1545
1545
|
var t = e.f;
|
|
1546
1546
|
if ((t & 16384) === 0) {
|
|
1547
|
-
|
|
1548
|
-
var r = $, n =
|
|
1549
|
-
if ($ = e,
|
|
1547
|
+
N(e, Q);
|
|
1548
|
+
var r = $, n = Rt;
|
|
1549
|
+
if ($ = e, Rt = (t & 96) === 0, 0)
|
|
1550
1550
|
var i, s;
|
|
1551
1551
|
try {
|
|
1552
|
-
(t & 16777232) !== 0 ?
|
|
1553
|
-
var l =
|
|
1554
|
-
if (e.teardown = typeof l == "function" ? l : null, e.wv =
|
|
1552
|
+
(t & 16777232) !== 0 ? Ls(e) : Wr(e), Vn(e);
|
|
1553
|
+
var l = ri(e);
|
|
1554
|
+
if (e.teardown = typeof l == "function" ? l : null, e.wv = Qn, 0)
|
|
1555
1555
|
for (var o of e.deps) ;
|
|
1556
1556
|
} finally {
|
|
1557
|
-
|
|
1557
|
+
Rt = n, $ = r;
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
1561
|
function x(e) {
|
|
1562
1562
|
var t = (e.f & 2) !== 0;
|
|
1563
|
-
if (
|
|
1563
|
+
if (Rs?.add(e), E !== null && !ie && !($ !== null && ($.f & 16384) !== 0) && (ae === null || !ae.has(e))) {
|
|
1564
1564
|
var r = E.deps;
|
|
1565
1565
|
if ((E.f & 2097152) !== 0)
|
|
1566
|
-
e.rv <
|
|
1566
|
+
e.rv < Oe && (e.rv = Oe, G === null && r !== null && r[B] === e ? B++ : G === null ? G = [e] : G.push(e));
|
|
1567
1567
|
else {
|
|
1568
1568
|
var n;
|
|
1569
|
-
(n = E).deps ?? (n.deps = []),
|
|
1569
|
+
(n = E).deps ?? (n.deps = []), Pt.call(E.deps, e) || E.deps.push(e);
|
|
1570
1570
|
var i = e.reactions;
|
|
1571
|
-
i === null ? e.reactions = [E] :
|
|
1571
|
+
i === null ? e.reactions = [E] : Pt.call(i, E) || i.push(E);
|
|
1572
1572
|
}
|
|
1573
1573
|
}
|
|
1574
1574
|
if (0) {
|
|
@@ -1579,33 +1579,33 @@ function x(e) {
|
|
|
1579
1579
|
var l, o;
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
|
-
if (be &&
|
|
1582
|
+
if (be && Ie.has(e)) return Ie.get(e);
|
|
1583
1583
|
if (t) {
|
|
1584
1584
|
var f = e;
|
|
1585
1585
|
if (be) {
|
|
1586
1586
|
var h = f.v;
|
|
1587
|
-
return ((f.f & 1024) === 0 && f.reactions !== null ||
|
|
1587
|
+
return ((f.f & 1024) === 0 && f.reactions !== null || ii(f)) && (h = Ar(f)), Ie.set(f, h), h;
|
|
1588
1588
|
}
|
|
1589
|
-
var v = (f.f & 512) === 0 && !ie && E !== null && (
|
|
1590
|
-
kt(f) && (v && (f.f |= 512),
|
|
1589
|
+
var v = (f.f & 512) === 0 && !ie && E !== null && (Rt || (E.f & 512) !== 0), d = (f.f & $r) === 0;
|
|
1590
|
+
kt(f) && (v && (f.f |= 512), Tn(f)), v && !d && (An(f), ni(f));
|
|
1591
1591
|
}
|
|
1592
1592
|
if (D?.has(e)) return D.get(e);
|
|
1593
1593
|
if ((e.f & 8388608) !== 0) throw e.v;
|
|
1594
1594
|
return e.v;
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function ni(e) {
|
|
1597
1597
|
if (e.f |= 512, e.deps !== null)
|
|
1598
1598
|
for (const t of e.deps)
|
|
1599
|
-
(t.reactions ?? (t.reactions = [])).push(e), (t.f & 2) !== 0 && (t.f & 512) === 0 && (
|
|
1599
|
+
(t.reactions ?? (t.reactions = [])).push(e), (t.f & 2) !== 0 && (t.f & 512) === 0 && (An(t), ni(t));
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1602
|
-
if (e.v ===
|
|
1601
|
+
function ii(e) {
|
|
1602
|
+
if (e.v === I) return !0;
|
|
1603
1603
|
if (e.deps === null) return !1;
|
|
1604
1604
|
for (const t of e.deps)
|
|
1605
|
-
if (
|
|
1605
|
+
if (Ie.has(t) || (t.f & 2) !== 0 && ii(t)) return !0;
|
|
1606
1606
|
return !1;
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function Fr(e) {
|
|
1609
1609
|
var t = ie;
|
|
1610
1610
|
try {
|
|
1611
1611
|
return ie = !0, e();
|
|
@@ -1613,8 +1613,8 @@ function Dr(e) {
|
|
|
1613
1613
|
ie = t;
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
1616
|
-
var Mt = /* @__PURE__ */ Symbol("events"),
|
|
1617
|
-
function
|
|
1616
|
+
var Mt = /* @__PURE__ */ Symbol("events"), Ps = /* @__PURE__ */ new Set(), rn = /* @__PURE__ */ new Set();
|
|
1617
|
+
function Is(e, t, r, n = {}) {
|
|
1618
1618
|
function i(s) {
|
|
1619
1619
|
if (n.capture || mr.call(t, s), !s.cancelBubble) return $t(() => r?.call(this, s));
|
|
1620
1620
|
}
|
|
@@ -1626,16 +1626,16 @@ function nr(e, t, r, n, i) {
|
|
|
1626
1626
|
var s = {
|
|
1627
1627
|
capture: n,
|
|
1628
1628
|
passive: i
|
|
1629
|
-
}, l =
|
|
1630
|
-
(t === document.body || t === window || t === document || t instanceof HTMLMediaElement) &&
|
|
1629
|
+
}, l = Is(e, t, r, s);
|
|
1630
|
+
(t === document.body || t === window || t === document || t instanceof HTMLMediaElement) && Bn(() => {
|
|
1631
1631
|
t.removeEventListener(e, l, s);
|
|
1632
1632
|
});
|
|
1633
1633
|
}
|
|
1634
|
-
var
|
|
1634
|
+
var nn = null;
|
|
1635
1635
|
function mr(e) {
|
|
1636
1636
|
var t = this, r = t.ownerDocument, n = e.type, i = e.composedPath?.() || [], s = i[0] || e.target;
|
|
1637
|
-
|
|
1638
|
-
var l = 0, o =
|
|
1637
|
+
nn = e;
|
|
1638
|
+
var l = 0, o = nn === e && e[Mt];
|
|
1639
1639
|
if (o) {
|
|
1640
1640
|
var f = i.indexOf(o);
|
|
1641
1641
|
if (f !== -1 && (t === document || t === window)) {
|
|
@@ -1677,13 +1677,13 @@ function mr(e) {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
}
|
|
1680
|
-
var
|
|
1681
|
-
function
|
|
1682
|
-
return
|
|
1680
|
+
var Ws = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
|
|
1681
|
+
function js(e) {
|
|
1682
|
+
return Ws?.createHTML(e) ?? e;
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1685
|
-
var t =
|
|
1686
|
-
return t.innerHTML =
|
|
1684
|
+
function Fs(e) {
|
|
1685
|
+
var t = Rr("template");
|
|
1686
|
+
return t.innerHTML = js(e.replaceAll("<!>", "<!---->")), t.content;
|
|
1687
1687
|
}
|
|
1688
1688
|
function Xe(e, t) {
|
|
1689
1689
|
var r = $;
|
|
@@ -1695,13 +1695,13 @@ function Xe(e, t) {
|
|
|
1695
1695
|
});
|
|
1696
1696
|
}
|
|
1697
1697
|
// @__NO_SIDE_EFFECTS__
|
|
1698
|
-
function
|
|
1698
|
+
function si(e, t) {
|
|
1699
1699
|
var r = (t & 1) !== 0, n = (t & 2) !== 0, i, s = !e.startsWith("<!>");
|
|
1700
1700
|
return () => {
|
|
1701
1701
|
if (L)
|
|
1702
1702
|
return Xe(M, null), M;
|
|
1703
|
-
i === void 0 && (i =
|
|
1704
|
-
var l = n ||
|
|
1703
|
+
i === void 0 && (i = Fs(s ? e : "<!>" + e), r || (i = /* @__PURE__ */ De(i)));
|
|
1704
|
+
var l = n || Dn ? document.importNode(i, !0) : i.cloneNode(!0);
|
|
1705
1705
|
if (r) {
|
|
1706
1706
|
var o = /* @__PURE__ */ De(l), f = l.lastChild;
|
|
1707
1707
|
Xe(o, f);
|
|
@@ -1709,13 +1709,13 @@ function li(e, t) {
|
|
|
1709
1709
|
return l;
|
|
1710
1710
|
};
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function Ds() {
|
|
1713
1713
|
if (L)
|
|
1714
1714
|
return Xe(M, null), M;
|
|
1715
1715
|
var e = document.createDocumentFragment(), t = document.createComment(""), r = Z();
|
|
1716
1716
|
return e.append(t, r), Xe(t, r), e;
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function Nt(e, t) {
|
|
1719
1719
|
if (L) {
|
|
1720
1720
|
var r = $;
|
|
1721
1721
|
((r.f & 32768) === 0 || r.nodes.end === null) && (r.nodes.end = M), Zt();
|
|
@@ -1723,7 +1723,7 @@ function Ct(e, t) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
e !== null && e.before(t);
|
|
1725
1725
|
}
|
|
1726
|
-
var
|
|
1726
|
+
var qs = [
|
|
1727
1727
|
"allowfullscreen",
|
|
1728
1728
|
"async",
|
|
1729
1729
|
"autofocus",
|
|
@@ -1752,8 +1752,8 @@ var Hs = [
|
|
|
1752
1752
|
"defer",
|
|
1753
1753
|
"disablepictureinpicture",
|
|
1754
1754
|
"disableremoteplayback"
|
|
1755
|
-
],
|
|
1756
|
-
...
|
|
1755
|
+
], Ca = [
|
|
1756
|
+
...qs,
|
|
1757
1757
|
"formNoValidate",
|
|
1758
1758
|
"isMap",
|
|
1759
1759
|
"noModule",
|
|
@@ -1768,17 +1768,17 @@ var Hs = [
|
|
|
1768
1768
|
"allowFullscreen",
|
|
1769
1769
|
"disablePictureInPicture",
|
|
1770
1770
|
"disableRemotePlayback"
|
|
1771
|
-
],
|
|
1772
|
-
function
|
|
1773
|
-
return
|
|
1771
|
+
], Gs = ["touchstart", "touchmove"];
|
|
1772
|
+
function Us(e) {
|
|
1773
|
+
return Gs.includes(e);
|
|
1774
1774
|
}
|
|
1775
|
-
var
|
|
1775
|
+
var Hs = [
|
|
1776
1776
|
"$state",
|
|
1777
1777
|
"$state.raw",
|
|
1778
1778
|
"$derived",
|
|
1779
1779
|
"$derived.by"
|
|
1780
|
-
],
|
|
1781
|
-
...
|
|
1780
|
+
], Pa = [
|
|
1781
|
+
...Hs,
|
|
1782
1782
|
"$state.eager",
|
|
1783
1783
|
"$state.snapshot",
|
|
1784
1784
|
"$props",
|
|
@@ -1793,22 +1793,22 @@ var Ys = [
|
|
|
1793
1793
|
"$inspect().with",
|
|
1794
1794
|
"$inspect.trace",
|
|
1795
1795
|
"$host"
|
|
1796
|
-
],
|
|
1797
|
-
function
|
|
1796
|
+
], sn = !0;
|
|
1797
|
+
function Bs(e, t) {
|
|
1798
1798
|
var r, n = t == null ? "" : typeof t == "object" ? `${t}` : t;
|
|
1799
1799
|
n !== ((r = e)[Lt] ?? (r[Lt] = e.nodeValue)) && (e[Lt] = n, e.nodeValue = `${n}`);
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1802
|
-
return
|
|
1801
|
+
function ai(e, t) {
|
|
1802
|
+
return li(e, t);
|
|
1803
1803
|
}
|
|
1804
|
-
function
|
|
1804
|
+
function zs(e, t) {
|
|
1805
1805
|
gr(), t.intro = t.intro ?? !1;
|
|
1806
1806
|
const r = t.target, n = L, i = M;
|
|
1807
1807
|
try {
|
|
1808
1808
|
for (var s = /* @__PURE__ */ De(r); s && (s.nodeType !== 8 || s.data !== "["); ) s = /* @__PURE__ */ he(s);
|
|
1809
1809
|
if (!s) throw Je;
|
|
1810
1810
|
ge(!0), U(s);
|
|
1811
|
-
const l =
|
|
1811
|
+
const l = li(e, {
|
|
1812
1812
|
...t,
|
|
1813
1813
|
anchor: s
|
|
1814
1814
|
});
|
|
@@ -1816,30 +1816,30 @@ function Ks(e, t) {
|
|
|
1816
1816
|
} catch (l) {
|
|
1817
1817
|
if (l instanceof Error && l.message.split(`
|
|
1818
1818
|
`).some((o) => o.startsWith("https://svelte.dev/e/"))) throw l;
|
|
1819
|
-
return l !== Je && console.warn("Failed to hydrate: ", l), t.recover === !1 &&
|
|
1819
|
+
return l !== Je && console.warn("Failed to hydrate: ", l), t.recover === !1 && Di(), gr(), Un(r), ge(!1), ai(e, t);
|
|
1820
1820
|
} finally {
|
|
1821
1821
|
ge(n), U(i);
|
|
1822
1822
|
}
|
|
1823
1823
|
}
|
|
1824
1824
|
var Tt = /* @__PURE__ */ new Map();
|
|
1825
|
-
function
|
|
1825
|
+
function li(e, { target: t, anchor: r, props: n = {}, events: i, context: s, intro: l = !0, transformError: o }) {
|
|
1826
1826
|
gr();
|
|
1827
|
-
var f = void 0, h =
|
|
1827
|
+
var f = void 0, h = Ts(() => {
|
|
1828
1828
|
var v = r ?? t.appendChild(Z());
|
|
1829
|
-
|
|
1829
|
+
ns(v, { pending: () => {
|
|
1830
1830
|
} }, (u) => {
|
|
1831
|
-
|
|
1832
|
-
var g =
|
|
1833
|
-
if (s && (g.c = s), i && (n.$$events = i), L && Xe(u, null),
|
|
1831
|
+
gn({});
|
|
1832
|
+
var g = P;
|
|
1833
|
+
if (s && (g.c = s), i && (n.$$events = i), L && Xe(u, null), sn = l, f = e(u, n) || {}, sn = !0, L && ($.nodes.end = M, M === null || M.nodeType !== 8 || M.data !== "]"))
|
|
1834
1834
|
throw Jt(), Je;
|
|
1835
|
-
|
|
1835
|
+
mn();
|
|
1836
1836
|
}, o);
|
|
1837
1837
|
var d = /* @__PURE__ */ new Set(), c = (u) => {
|
|
1838
1838
|
for (var g = 0; g < u.length; g++) {
|
|
1839
1839
|
var m = u[g];
|
|
1840
1840
|
if (!d.has(m)) {
|
|
1841
1841
|
d.add(m);
|
|
1842
|
-
var _ =
|
|
1842
|
+
var _ = Us(m);
|
|
1843
1843
|
for (const A of [t, document]) {
|
|
1844
1844
|
var p = Tt.get(A);
|
|
1845
1845
|
p === void 0 && (p = /* @__PURE__ */ new Map(), Tt.set(A, p));
|
|
@@ -1849,24 +1849,24 @@ function fi(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
|
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
1851
|
};
|
|
1852
|
-
return c(Xt(
|
|
1852
|
+
return c(Xt(Ps)), rn.add(c), () => {
|
|
1853
1853
|
for (var u of d) for (const _ of [t, document]) {
|
|
1854
1854
|
var g = Tt.get(_), m = g.get(u);
|
|
1855
1855
|
--m == 0 ? (_.removeEventListener(u, mr), g.delete(u), g.size === 0 && Tt.delete(_)) : g.set(u, m);
|
|
1856
1856
|
}
|
|
1857
|
-
|
|
1857
|
+
rn.delete(c), v !== r && v.parentNode?.removeChild(v);
|
|
1858
1858
|
};
|
|
1859
1859
|
});
|
|
1860
1860
|
return wr.set(f, h), f;
|
|
1861
1861
|
}
|
|
1862
1862
|
var wr = /* @__PURE__ */ new WeakMap();
|
|
1863
|
-
function
|
|
1863
|
+
function Ys(e, t) {
|
|
1864
1864
|
const r = wr.get(e);
|
|
1865
1865
|
return r ? (wr.delete(e), r(t)) : Promise.resolve();
|
|
1866
1866
|
}
|
|
1867
|
-
var _e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), re = /* @__PURE__ */ new WeakMap(), it = /* @__PURE__ */ new WeakMap(), ir = /* @__PURE__ */ new WeakMap(), sr = /* @__PURE__ */ new WeakMap(),
|
|
1867
|
+
var _e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), re = /* @__PURE__ */ new WeakMap(), it = /* @__PURE__ */ new WeakMap(), ir = /* @__PURE__ */ new WeakMap(), sr = /* @__PURE__ */ new WeakMap(), an = /* @__PURE__ */ new WeakMap(), Vs = class {
|
|
1868
1868
|
constructor(e, t = !0) {
|
|
1869
|
-
|
|
1869
|
+
O(this, "anchor", void 0), y(this, _e, /* @__PURE__ */ new Map()), y(this, $e, /* @__PURE__ */ new Map()), y(this, re, /* @__PURE__ */ new Map()), y(this, it, /* @__PURE__ */ new Set()), y(this, ir, !0), y(this, sr, (r) => {
|
|
1870
1870
|
if (a(_e, this).has(r)) {
|
|
1871
1871
|
var n = a(_e, this).get(r), i = a($e, this).get(n);
|
|
1872
1872
|
if (i)
|
|
@@ -1885,7 +1885,7 @@ var _e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), re =
|
|
|
1885
1885
|
const f = () => {
|
|
1886
1886
|
if (Array.from(a(_e, this).values()).includes(l)) {
|
|
1887
1887
|
var h = document.createDocumentFragment();
|
|
1888
|
-
|
|
1888
|
+
jr(o, h), h.append(Z()), a(re, this).set(l, {
|
|
1889
1889
|
effect: o,
|
|
1890
1890
|
fragment: h
|
|
1891
1891
|
});
|
|
@@ -1895,14 +1895,14 @@ var _e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), re =
|
|
|
1895
1895
|
a(ir, this) || !i ? (a(it, this).add(l), Ue(o, f, !1)) : f();
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
|
-
}), y(this,
|
|
1898
|
+
}), y(this, an, (r) => {
|
|
1899
1899
|
a(_e, this).delete(r);
|
|
1900
1900
|
const n = Array.from(a(_e, this).values());
|
|
1901
1901
|
for (const [i, s] of a(re, this)) n.includes(i) || (q(s.effect), a(re, this).delete(i));
|
|
1902
1902
|
}), this.anchor = e, w(ir, this, t);
|
|
1903
1903
|
}
|
|
1904
1904
|
ensure(e, t) {
|
|
1905
|
-
var r = k, n =
|
|
1905
|
+
var r = k, n = Hn();
|
|
1906
1906
|
if (t && !a($e, this).has(e) && !a(re, this).has(e)) if (n) {
|
|
1907
1907
|
var i = document.createDocumentFragment(), s = Z();
|
|
1908
1908
|
i.append(s), a(re, this).set(e, {
|
|
@@ -1913,18 +1913,18 @@ var _e = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), re =
|
|
|
1913
1913
|
if (a(_e, this).set(r, e), n) {
|
|
1914
1914
|
for (const [l, o] of a($e, this)) l === e ? r.unskip_effect(o) : r.skip_effect(o);
|
|
1915
1915
|
for (const [l, o] of a(re, this)) l === e ? r.unskip_effect(o.effect) : r.skip_effect(o.effect);
|
|
1916
|
-
r.oncommit(a(sr, this)), r.ondiscard(a(
|
|
1916
|
+
r.oncommit(a(sr, this)), r.ondiscard(a(an, this));
|
|
1917
1917
|
} else
|
|
1918
1918
|
L && (this.anchor = M), a(sr, this).call(this, r);
|
|
1919
1919
|
}
|
|
1920
1920
|
};
|
|
1921
|
-
function
|
|
1921
|
+
function Ks(e, t, r = !1) {
|
|
1922
1922
|
var n;
|
|
1923
1923
|
L && (n = M, Zt());
|
|
1924
|
-
var i = new
|
|
1924
|
+
var i = new Vs(e), s = r ? kr : 0;
|
|
1925
1925
|
function l(o, f) {
|
|
1926
1926
|
if (L) {
|
|
1927
|
-
var h =
|
|
1927
|
+
var h = vn(n);
|
|
1928
1928
|
if (o !== parseInt(h.substring(1))) {
|
|
1929
1929
|
var v = Ft();
|
|
1930
1930
|
U(v), i.anchor = v, ge(!1), i.ensure(o, f), ge(!0);
|
|
@@ -1933,14 +1933,14 @@ function Zs(e, t, r = !1) {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
i.ensure(o, f);
|
|
1935
1935
|
}
|
|
1936
|
-
|
|
1936
|
+
Ir(() => {
|
|
1937
1937
|
var o = !1;
|
|
1938
1938
|
t((f, h = 0) => {
|
|
1939
1939
|
o = !0, l(h, f);
|
|
1940
1940
|
}), o || l(-1, null);
|
|
1941
1941
|
}, s);
|
|
1942
1942
|
}
|
|
1943
|
-
function
|
|
1943
|
+
function Xs(e, t, r) {
|
|
1944
1944
|
for (var n = [], i = t.length, s, l = t.length, o = 0; o < i; o++) {
|
|
1945
1945
|
let d = t[o];
|
|
1946
1946
|
Ue(d, () => {
|
|
@@ -1956,7 +1956,7 @@ function Qs(e, t, r) {
|
|
|
1956
1956
|
var f = n.length === 0 && r !== null;
|
|
1957
1957
|
if (f) {
|
|
1958
1958
|
var h = r, v = h.parentNode;
|
|
1959
|
-
|
|
1959
|
+
Un(v), v.append(h), e.items.clear();
|
|
1960
1960
|
}
|
|
1961
1961
|
yr(e, t, !f);
|
|
1962
1962
|
} else
|
|
@@ -1973,23 +1973,23 @@ function yr(e, t, r = !0) {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
for (var i = 0; i < t.length; i++) {
|
|
1975
1975
|
var s = t[i];
|
|
1976
|
-
n?.has(s) ? (s.f |= ct,
|
|
1976
|
+
n?.has(s) ? (s.f |= ct, jr(s, document.createDocumentFragment())) : q(t[i], r);
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
1979
|
var At;
|
|
1980
|
-
function
|
|
1980
|
+
function Js(e, t, r, n, i, s = null) {
|
|
1981
1981
|
var l = e, o = /* @__PURE__ */ new Map();
|
|
1982
1982
|
if ((t & 4) !== 0) {
|
|
1983
1983
|
var f = e;
|
|
1984
1984
|
l = L ? U(/* @__PURE__ */ De(f)) : f.appendChild(Z());
|
|
1985
1985
|
}
|
|
1986
1986
|
L && Zt();
|
|
1987
|
-
var h = null, v = /* @__PURE__ */
|
|
1987
|
+
var h = null, v = /* @__PURE__ */ Tr(() => {
|
|
1988
1988
|
var p = r();
|
|
1989
|
-
return
|
|
1989
|
+
return un(p) ? p : p == null ? [] : Xt(p);
|
|
1990
1990
|
}), d, c = /* @__PURE__ */ new Map(), u = !0;
|
|
1991
1991
|
function g(p) {
|
|
1992
|
-
(_.effect.f & 16384) === 0 && (_.pending.delete(p), _.fallback = h,
|
|
1992
|
+
(_.effect.f & 16384) === 0 && (_.pending.delete(p), _.fallback = h, Zs(_, d, l, t, n), h !== null && (d.length === 0 ? (h.f & 33554432) === 0 ? Vt(h) : (h.f ^= ct, ut(h, null, l)) : Ue(h, () => {
|
|
1993
1993
|
h = null;
|
|
1994
1994
|
})));
|
|
1995
1995
|
}
|
|
@@ -1997,22 +1997,22 @@ function ea(e, t, r, n, i, s = null) {
|
|
|
1997
1997
|
_.pending.delete(p);
|
|
1998
1998
|
}
|
|
1999
1999
|
var _ = {
|
|
2000
|
-
effect:
|
|
2000
|
+
effect: Ir(() => {
|
|
2001
2001
|
d = x(v);
|
|
2002
2002
|
var p = d.length;
|
|
2003
2003
|
let T = !1;
|
|
2004
|
-
L &&
|
|
2005
|
-
for (var A = /* @__PURE__ */ new Set(), S = k, F =
|
|
2004
|
+
L && vn(l) === "[!" != (p === 0) && (l = Ft(), U(l), ge(!1), T = !0);
|
|
2005
|
+
for (var A = /* @__PURE__ */ new Set(), S = k, F = Hn(), R = 0; R < p; R += 1) {
|
|
2006
2006
|
L && M.nodeType === 8 && M.data === "]" && (l = M, T = !0, ge(!1));
|
|
2007
|
-
var H = d[
|
|
2007
|
+
var H = d[R], V = n(H, R);
|
|
2008
2008
|
if (0)
|
|
2009
|
-
var
|
|
2009
|
+
var Dr;
|
|
2010
2010
|
var j = u ? null : o.get(V);
|
|
2011
|
-
j ? (j.v && et(j.v, H), j.i && et(j.i,
|
|
2011
|
+
j ? (j.v && et(j.v, H), j.i && et(j.i, R), F && S.unskip_effect(j.e)) : (j = Qs(o, u ? l : At ?? (At = Z()), H, V, R, i, t, r), u || (j.e.f |= ct), o.set(V, j)), A.add(V);
|
|
2012
2012
|
}
|
|
2013
|
-
if (p === 0 && s && !h && (u ? h = ee(() => s(l)) : (h = ee(() => s(At ?? (At = Z()))), h.f |= ct)), p > A.size &&
|
|
2013
|
+
if (p === 0 && s && !h && (u ? h = ee(() => s(l)) : (h = ee(() => s(At ?? (At = Z()))), h.f |= ct)), p > A.size && Pi("", "", ""), L && p > 0 && U(Ft()), !u)
|
|
2014
2014
|
if (c.set(S, A), F) {
|
|
2015
|
-
for (const [
|
|
2015
|
+
for (const [ci, di] of o) A.has(ci) || S.skip_effect(di.e);
|
|
2016
2016
|
S.oncommit(g), S.ondiscard(m);
|
|
2017
2017
|
} else g(S);
|
|
2018
2018
|
T && ge(!0), x(v);
|
|
@@ -2029,7 +2029,7 @@ function st(e) {
|
|
|
2029
2029
|
for (; e !== null && (e.f & 32) === 0; ) e = e.next;
|
|
2030
2030
|
return e;
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2032
|
+
function Zs(e, t, r, n, i) {
|
|
2033
2033
|
var s = (n & 8) !== 0, l = t.length, o = e.items, f = st(e.effect.first), h, v = null, d, c = [], u = [], g, m, _, p;
|
|
2034
2034
|
if (s) for (p = 0; p < l; p += 1)
|
|
2035
2035
|
g = t[p], m = i(g, p), _ = o.get(m).e, (_.f & 33554432) === 0 && (_.nodes?.a?.measure(), (d ?? (d = /* @__PURE__ */ new Set())).add(_));
|
|
@@ -2048,10 +2048,10 @@ function ta(e, t, r, n, i) {
|
|
|
2048
2048
|
if (c.length < u.length) {
|
|
2049
2049
|
var A = u[0], S;
|
|
2050
2050
|
v = A.prev;
|
|
2051
|
-
var F = c[0],
|
|
2051
|
+
var F = c[0], R = c[c.length - 1];
|
|
2052
2052
|
for (S = 0; S < c.length; S += 1) ut(c[S], A, r);
|
|
2053
2053
|
for (S = 0; S < u.length; S += 1) h.delete(u[S]);
|
|
2054
|
-
ke(e, F.prev,
|
|
2054
|
+
ke(e, F.prev, R.next), ke(e, v, F), ke(e, R, A), f = A, v = R, p -= 1, c = [], u = [];
|
|
2055
2055
|
} else
|
|
2056
2056
|
h.delete(_), ut(_, f, r), ke(e, _.prev, _.next), ke(e, _, v === null ? e.effect.first : v.next), ke(e, v, _), v = _;
|
|
2057
2057
|
continue;
|
|
@@ -2074,12 +2074,12 @@ function ta(e, t, r, n, i) {
|
|
|
2074
2074
|
(f.f & 8192) === 0 && f !== e.fallback && H.push(f), f = st(f.next);
|
|
2075
2075
|
var V = H.length;
|
|
2076
2076
|
if (V > 0) {
|
|
2077
|
-
var
|
|
2077
|
+
var Dr = (n & 4) !== 0 && l === 0 ? r : null;
|
|
2078
2078
|
if (s) {
|
|
2079
2079
|
for (p = 0; p < V; p += 1) H[p].nodes?.a?.measure();
|
|
2080
2080
|
for (p = 0; p < V; p += 1) H[p].nodes?.a?.fix();
|
|
2081
2081
|
}
|
|
2082
|
-
|
|
2082
|
+
Xs(e, H, Dr);
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
2085
|
s && ye(() => {
|
|
@@ -2087,8 +2087,8 @@ function ta(e, t, r, n, i) {
|
|
|
2087
2087
|
for (_ of d) _.nodes?.a?.apply();
|
|
2088
2088
|
});
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2091
|
-
var f = (l & 1) !== 0 ? (l & 16) === 0 ? /* @__PURE__ */
|
|
2090
|
+
function Qs(e, t, r, n, i, s, l, o) {
|
|
2091
|
+
var f = (l & 1) !== 0 ? (l & 16) === 0 ? /* @__PURE__ */ jn(r, !1, !1) : Fe(r) : null, h = (l & 2) !== 0 ? Fe(i) : null;
|
|
2092
2092
|
return {
|
|
2093
2093
|
v: f,
|
|
2094
2094
|
i: h,
|
|
@@ -2108,74 +2108,74 @@ function ut(e, t, r) {
|
|
|
2108
2108
|
function ke(e, t, r) {
|
|
2109
2109
|
t === null ? e.effect.first = r : t.next = r, r === null ? e.effect.last = t : r.prev = t;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2112
|
-
|
|
2111
|
+
function ea(e, t) {
|
|
2112
|
+
Yn(() => {
|
|
2113
2113
|
var r = e.getRootNode(), n = r.host ? r : r.head ?? r.ownerDocument.head;
|
|
2114
2114
|
if (!n.querySelector("#" + t.hash)) {
|
|
2115
|
-
const i =
|
|
2115
|
+
const i = Rr("style");
|
|
2116
2116
|
i.id = t.hash, i.textContent = t.code, n.appendChild(i);
|
|
2117
2117
|
}
|
|
2118
2118
|
});
|
|
2119
2119
|
}
|
|
2120
|
-
var
|
|
2120
|
+
var ta = /* @__PURE__ */ Symbol("is custom element"), ra = /* @__PURE__ */ Symbol("is html"), na = Ni ? "link" : "LINK";
|
|
2121
2121
|
function He(e, t, r, n) {
|
|
2122
|
-
var i =
|
|
2123
|
-
if (L && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName ===
|
|
2122
|
+
var i = ia(e);
|
|
2123
|
+
if (L && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === na)) {
|
|
2124
2124
|
n || void 0;
|
|
2125
2125
|
return;
|
|
2126
2126
|
}
|
|
2127
|
-
i[t] !== (i[t] = r) && (t === "loading" && (e[
|
|
2127
|
+
i[t] !== (i[t] = r) && (t === "loading" && (e[Ai] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && sa(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
|
|
2128
2128
|
}
|
|
2129
|
-
function
|
|
2129
|
+
function ia(e) {
|
|
2130
2130
|
var t;
|
|
2131
2131
|
return (t = e)[fr] ?? (t[fr] = {
|
|
2132
|
-
[
|
|
2133
|
-
[
|
|
2132
|
+
[ta]: e.nodeName.includes("-"),
|
|
2133
|
+
[ra]: e.namespaceURI === "http://www.w3.org/1999/xhtml"
|
|
2134
2134
|
});
|
|
2135
2135
|
}
|
|
2136
|
-
var
|
|
2137
|
-
function
|
|
2138
|
-
var t = e.getAttribute("is") || e.nodeName, r =
|
|
2136
|
+
var ln = /* @__PURE__ */ new Map();
|
|
2137
|
+
function sa(e) {
|
|
2138
|
+
var t = e.getAttribute("is") || e.nodeName, r = ln.get(t);
|
|
2139
2139
|
if (r) return r;
|
|
2140
|
-
|
|
2140
|
+
ln.set(t, r = []);
|
|
2141
2141
|
for (var n, i = e, s = Element.prototype; s !== i; ) {
|
|
2142
|
-
n =
|
|
2142
|
+
n = wi(i);
|
|
2143
2143
|
for (var l in n) n[l].set && l !== "innerHTML" && l !== "textContent" && l !== "innerText" && r.push(l);
|
|
2144
|
-
i =
|
|
2144
|
+
i = cn(i);
|
|
2145
2145
|
}
|
|
2146
2146
|
return r;
|
|
2147
2147
|
}
|
|
2148
|
-
var
|
|
2148
|
+
var oi, Ve = /* @__PURE__ */ new WeakMap(), Kt = /* @__PURE__ */ new WeakMap(), ar = /* @__PURE__ */ new WeakMap(), on = /* @__PURE__ */ new WeakSet(), fi = class {
|
|
2149
2149
|
constructor(e) {
|
|
2150
|
-
|
|
2150
|
+
Er(this, on), y(this, Ve, /* @__PURE__ */ new WeakMap()), y(this, Kt, void 0), y(this, ar, void 0), w(ar, this, e);
|
|
2151
2151
|
}
|
|
2152
2152
|
observe(e, t) {
|
|
2153
2153
|
var r = a(Ve, this).get(e) || /* @__PURE__ */ new Set();
|
|
2154
|
-
return r.add(t), a(Ve, this).set(e, r), b(
|
|
2154
|
+
return r.add(t), a(Ve, this).set(e, r), b(on, this, aa).call(this).observe(e, a(ar, this)), () => {
|
|
2155
2155
|
var n = a(Ve, this).get(e);
|
|
2156
2156
|
n.delete(t), n.size === 0 && (a(Ve, this).delete(e), a(Kt, this).unobserve(e));
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
2159
|
};
|
|
2160
|
-
|
|
2161
|
-
function
|
|
2160
|
+
oi = fi;
|
|
2161
|
+
function aa() {
|
|
2162
2162
|
return a(Kt, this) ?? w(Kt, this, new ResizeObserver((e) => {
|
|
2163
2163
|
for (var t of e) {
|
|
2164
|
-
|
|
2164
|
+
oi.entries.set(t.target, t);
|
|
2165
2165
|
for (var r of a(Ve, this).get(t.target) || []) r(t);
|
|
2166
2166
|
}
|
|
2167
2167
|
}));
|
|
2168
2168
|
}
|
|
2169
|
-
|
|
2169
|
+
O(fi, "entries", /* @__PURE__ */ new WeakMap());
|
|
2170
2170
|
function lr(e, t) {
|
|
2171
2171
|
return e === t || e?.[dt] === t;
|
|
2172
2172
|
}
|
|
2173
|
-
function
|
|
2174
|
-
var i =
|
|
2175
|
-
return
|
|
2173
|
+
function la(e = {}, t, r, n) {
|
|
2174
|
+
var i = P.r, s = $;
|
|
2175
|
+
return Yn(() => {
|
|
2176
2176
|
var l, o;
|
|
2177
2177
|
return Pr(() => {
|
|
2178
|
-
l = o, o = n?.() || [],
|
|
2178
|
+
l = o, o = n?.() || [], Fr(() => {
|
|
2179
2179
|
lr(r(...o), e) || (t(e, ...o), l && lr(r(...l), e) && t(null, ...l));
|
|
2180
2180
|
});
|
|
2181
2181
|
}), () => {
|
|
@@ -2190,15 +2190,15 @@ function ua(e = {}, t, r, n) {
|
|
|
2190
2190
|
};
|
|
2191
2191
|
}), e;
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2194
|
-
var i = !Qt || (r & 2) !== 0, s = (r & 8) !== 0, l = (r & 16) !== 0, o = n, f = !0, h = void 0, v = () => l && i ? (h ?? (h = /* @__PURE__ */ gt(n)), x(h)) : (f && (f = !1, o = l ?
|
|
2193
|
+
function fn(e, t, r, n) {
|
|
2194
|
+
var i = !Qt || (r & 2) !== 0, s = (r & 8) !== 0, l = (r & 16) !== 0, o = n, f = !0, h = void 0, v = () => l && i ? (h ?? (h = /* @__PURE__ */ gt(n)), x(h)) : (f && (f = !1, o = l ? Fr(n) : n), o);
|
|
2195
2195
|
let d;
|
|
2196
2196
|
if (s) {
|
|
2197
|
-
var c = dt in e ||
|
|
2198
|
-
d =
|
|
2197
|
+
var c = dt in e || hn in e;
|
|
2198
|
+
d = Re(e, t)?.set ?? (c && t in e ? (S) => e[t] = S : void 0);
|
|
2199
2199
|
}
|
|
2200
2200
|
var u, g = !1;
|
|
2201
|
-
s ? [u, g] =
|
|
2201
|
+
s ? [u, g] = es(() => e[t]) : u = e[t], u === void 0 && n !== void 0 && (u = v(), d && (i && qi(t), d(u)));
|
|
2202
2202
|
var m;
|
|
2203
2203
|
if (i ? m = () => {
|
|
2204
2204
|
var S = e[t];
|
|
@@ -2213,25 +2213,25 @@ function un(e, t, r, n) {
|
|
|
2213
2213
|
return arguments.length > 0 ? ((!i || !F || _ || g) && d(F ? m() : S), S) : m();
|
|
2214
2214
|
});
|
|
2215
2215
|
}
|
|
2216
|
-
var p = !1, T = ((r & 1) !== 0 ? gt :
|
|
2216
|
+
var p = !1, T = ((r & 1) !== 0 ? gt : Tr)(() => (p = !1, m()));
|
|
2217
2217
|
s && x(T);
|
|
2218
2218
|
var A = $;
|
|
2219
2219
|
return (function(S, F) {
|
|
2220
2220
|
if (arguments.length > 0) {
|
|
2221
|
-
const
|
|
2222
|
-
return fe(T,
|
|
2221
|
+
const R = F ? x(T) : i && s ? Ke(S) : S;
|
|
2222
|
+
return fe(T, R), p = !0, o !== void 0 && (o = R), S;
|
|
2223
2223
|
}
|
|
2224
2224
|
return be && p || (A.f & 16384) !== 0 ? T.v : x(T);
|
|
2225
2225
|
});
|
|
2226
2226
|
}
|
|
2227
|
-
function
|
|
2228
|
-
return new
|
|
2227
|
+
function oa(e) {
|
|
2228
|
+
return new fa(e);
|
|
2229
2229
|
}
|
|
2230
|
-
var Me = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(),
|
|
2230
|
+
var Me = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), fa = class {
|
|
2231
2231
|
constructor(e) {
|
|
2232
2232
|
y(this, Me, void 0), y(this, le, void 0);
|
|
2233
2233
|
var t = /* @__PURE__ */ new Map(), r = (i, s) => {
|
|
2234
|
-
var l = /* @__PURE__ */
|
|
2234
|
+
var l = /* @__PURE__ */ jn(s, !1, !1);
|
|
2235
2235
|
return t.set(i, l), l;
|
|
2236
2236
|
};
|
|
2237
2237
|
const n = new Proxy({
|
|
@@ -2242,13 +2242,13 @@ var Me = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), da =
|
|
|
2242
2242
|
return x(t.get(s) ?? r(s, Reflect.get(i, s)));
|
|
2243
2243
|
},
|
|
2244
2244
|
has(i, s) {
|
|
2245
|
-
return s ===
|
|
2245
|
+
return s === hn ? !0 : (x(t.get(s) ?? r(s, Reflect.get(i, s))), Reflect.has(i, s));
|
|
2246
2246
|
},
|
|
2247
2247
|
set(i, s, l) {
|
|
2248
2248
|
return fe(t.get(s) ?? r(s, l), l), Reflect.set(i, s, l);
|
|
2249
2249
|
}
|
|
2250
2250
|
});
|
|
2251
|
-
w(le, this, (e.hydrate ?
|
|
2251
|
+
w(le, this, (e.hydrate ? zs : ai)(e.component, {
|
|
2252
2252
|
target: e.target,
|
|
2253
2253
|
anchor: e.anchor,
|
|
2254
2254
|
props: n,
|
|
@@ -2270,7 +2270,7 @@ var Me = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), da =
|
|
|
2270
2270
|
a(le, this).$set = (i) => {
|
|
2271
2271
|
Object.assign(n, i);
|
|
2272
2272
|
}, a(le, this).$destroy = () => {
|
|
2273
|
-
|
|
2273
|
+
Ys(a(le, this));
|
|
2274
2274
|
};
|
|
2275
2275
|
}
|
|
2276
2276
|
$set(e) {
|
|
@@ -2286,10 +2286,10 @@ var Me = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), da =
|
|
|
2286
2286
|
$destroy() {
|
|
2287
2287
|
a(le, this).$destroy();
|
|
2288
2288
|
}
|
|
2289
|
-
},
|
|
2290
|
-
typeof HTMLElement == "function" && (
|
|
2289
|
+
}, ui;
|
|
2290
|
+
typeof HTMLElement == "function" && (ui = class extends HTMLElement {
|
|
2291
2291
|
constructor(e, t, r) {
|
|
2292
|
-
super(),
|
|
2292
|
+
super(), O(this, "$$ctor", void 0), O(this, "$$s", void 0), O(this, "$$c", void 0), O(this, "$$cn", !1), O(this, "$$d", {}), O(this, "$$r", !1), O(this, "$$p_d", {}), O(this, "$$l", {}), O(this, "$$l_u", /* @__PURE__ */ new Map()), O(this, "$$me", void 0), O(this, "$$shadowRoot", null), this.$$ctor = e, this.$$s = t, r && (this.$$shadowRoot = this.attachShadow(r));
|
|
2293
2293
|
}
|
|
2294
2294
|
addEventListener(e, t, r) {
|
|
2295
2295
|
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
@@ -2308,19 +2308,19 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
2308
2308
|
if (this.$$cn = !0, !this.$$c) {
|
|
2309
2309
|
let e = function(n) {
|
|
2310
2310
|
return (i) => {
|
|
2311
|
-
const s =
|
|
2312
|
-
n !== "default" && (s.name = n),
|
|
2311
|
+
const s = Rr("slot");
|
|
2312
|
+
n !== "default" && (s.name = n), Nt(i, s);
|
|
2313
2313
|
};
|
|
2314
2314
|
};
|
|
2315
2315
|
if (await Promise.resolve(), !this.$$cn || this.$$c) return;
|
|
2316
|
-
const t = {}, r =
|
|
2316
|
+
const t = {}, r = ua(this);
|
|
2317
2317
|
for (const n of this.$$s) n in r && (n === "default" && !this.$$d.children ? (this.$$d.children = e(n), t.default = !0) : t[n] = e(n));
|
|
2318
2318
|
for (const n of this.attributes) {
|
|
2319
2319
|
const i = this.$$g_p(n.name);
|
|
2320
|
-
i in this.$$d || (this.$$d[i] =
|
|
2320
|
+
i in this.$$d || (this.$$d[i] = Ct(i, n.value, this.$$p_d, "toProp"));
|
|
2321
2321
|
}
|
|
2322
2322
|
for (const n in this.$$p_d) !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
|
|
2323
|
-
this.$$c =
|
|
2323
|
+
this.$$c = oa({
|
|
2324
2324
|
component: this.$$ctor,
|
|
2325
2325
|
target: this.$$shadowRoot || this,
|
|
2326
2326
|
props: {
|
|
@@ -2328,13 +2328,13 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
2328
2328
|
$$slots: t,
|
|
2329
2329
|
$$host: this
|
|
2330
2330
|
}
|
|
2331
|
-
}), this.$$me =
|
|
2331
|
+
}), this.$$me = Ms(() => {
|
|
2332
2332
|
Pr(() => {
|
|
2333
2333
|
this.$$r = !0;
|
|
2334
|
-
for (const n of
|
|
2334
|
+
for (const n of It(this.$$c)) {
|
|
2335
2335
|
if (!this.$$p_d[n]?.reflect) continue;
|
|
2336
2336
|
this.$$d[n] = this.$$c[n];
|
|
2337
|
-
const i =
|
|
2337
|
+
const i = Ct(n, this.$$d[n], this.$$p_d, "toAttribute");
|
|
2338
2338
|
i == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, i);
|
|
2339
2339
|
}
|
|
2340
2340
|
this.$$r = !1;
|
|
@@ -2348,7 +2348,7 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
}
|
|
2350
2350
|
attributeChangedCallback(e, t, r) {
|
|
2351
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
2351
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ct(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
2352
2352
|
}
|
|
2353
2353
|
disconnectedCallback() {
|
|
2354
2354
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -2356,10 +2356,10 @@ typeof HTMLElement == "function" && (di = class extends HTMLElement {
|
|
|
2356
2356
|
});
|
|
2357
2357
|
}
|
|
2358
2358
|
$$g_p(e) {
|
|
2359
|
-
return
|
|
2359
|
+
return It(this.$$p_d).find((t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e) || e;
|
|
2360
2360
|
}
|
|
2361
2361
|
});
|
|
2362
|
-
function
|
|
2362
|
+
function Ct(e, t, r, n) {
|
|
2363
2363
|
const i = r[e]?.type;
|
|
2364
2364
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e]) return t;
|
|
2365
2365
|
if (n === "toAttribute") switch (i) {
|
|
@@ -2385,30 +2385,30 @@ function Nt(e, t, r, n) {
|
|
|
2385
2385
|
return t;
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
|
-
function
|
|
2388
|
+
function ua(e) {
|
|
2389
2389
|
const t = {};
|
|
2390
2390
|
return e.childNodes.forEach((r) => {
|
|
2391
2391
|
t[r.slot || "default"] = !0;
|
|
2392
2392
|
}), t;
|
|
2393
2393
|
}
|
|
2394
|
-
function
|
|
2395
|
-
let l = class extends
|
|
2394
|
+
function ca(e, t, r, n, i, s) {
|
|
2395
|
+
let l = class extends ui {
|
|
2396
2396
|
constructor() {
|
|
2397
2397
|
super(e, r, i), this.$$p_d = t;
|
|
2398
2398
|
}
|
|
2399
2399
|
static get observedAttributes() {
|
|
2400
|
-
return
|
|
2400
|
+
return It(t).map((o) => (t[o].attribute || o).toLowerCase());
|
|
2401
2401
|
}
|
|
2402
2402
|
};
|
|
2403
|
-
return
|
|
2403
|
+
return It(t).forEach((o) => {
|
|
2404
2404
|
Wt(l.prototype, o, {
|
|
2405
2405
|
get() {
|
|
2406
2406
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
2407
2407
|
},
|
|
2408
2408
|
set(f) {
|
|
2409
|
-
f =
|
|
2409
|
+
f = Ct(o, f, t), this.$$d[o] = f;
|
|
2410
2410
|
var h = this.$$c;
|
|
2411
|
-
h && (
|
|
2411
|
+
h && (Re(h, o)?.get ? h[o] = f : h.$set({ [o]: f }));
|
|
2412
2412
|
}
|
|
2413
2413
|
});
|
|
2414
2414
|
}), n.forEach((o) => {
|
|
@@ -2417,7 +2417,7 @@ function va(e, t, r, n, i, s) {
|
|
|
2417
2417
|
} });
|
|
2418
2418
|
}), s && (l = s(l)), e.element = l, l;
|
|
2419
2419
|
}
|
|
2420
|
-
var
|
|
2420
|
+
var da = "sign-language", Ia = "ase", ha = {
|
|
2421
2421
|
ase: "American Sign Language",
|
|
2422
2422
|
bfi: "British Sign Language",
|
|
2423
2423
|
fsl: "French Sign Language",
|
|
@@ -2426,35 +2426,35 @@ var br = "sign-language", ja = "ase", _a = {
|
|
|
2426
2426
|
"eng-US": "Signed English",
|
|
2427
2427
|
"en-US": "Signed English"
|
|
2428
2428
|
};
|
|
2429
|
-
function
|
|
2429
|
+
function va(e) {
|
|
2430
2430
|
const t = (e || "").trim();
|
|
2431
|
-
return t ?
|
|
2431
|
+
return t ? ha[t] ?? `Sign language (${t})` : "Sign language";
|
|
2432
2432
|
}
|
|
2433
|
-
function
|
|
2433
|
+
function _a(e) {
|
|
2434
2434
|
if (!e) return null;
|
|
2435
2435
|
const t = nt(e.language), r = e.payload;
|
|
2436
2436
|
if (!r || typeof r != "object")
|
|
2437
2437
|
return nt(e.content) ? console.warn("[sign-language] card carries `content` but no `payload`; signing media must be a structured payload, so this card is ignored") : console.warn("[sign-language] card carries no `payload`; signing media lives in `payload` (a card written against the older `signLanguage` key needs re-importing), so this card is ignored"), null;
|
|
2438
|
-
const n = r.media, i =
|
|
2438
|
+
const n = r.media, i = pi(n?.sources);
|
|
2439
2439
|
if (i.length === 0) return null;
|
|
2440
2440
|
const s = nt(n?.poster);
|
|
2441
2441
|
return {
|
|
2442
2442
|
signLang: nt(r.signLang) ?? t,
|
|
2443
2443
|
sources: i,
|
|
2444
|
-
poster: s &&
|
|
2444
|
+
poster: s && vi(s) ? s : void 0,
|
|
2445
2445
|
label: nt(n?.label),
|
|
2446
|
-
fragment:
|
|
2446
|
+
fragment: _i(r.fragment)
|
|
2447
2447
|
};
|
|
2448
2448
|
}
|
|
2449
|
-
function
|
|
2449
|
+
function pa(e, t) {
|
|
2450
2450
|
if (!e.signLang) return !0;
|
|
2451
2451
|
const r = (t || "").trim();
|
|
2452
2452
|
return r ? e.signLang.toLowerCase() === r.toLowerCase() : !0;
|
|
2453
2453
|
}
|
|
2454
|
-
function
|
|
2455
|
-
return e?.catalog ===
|
|
2454
|
+
function ga(e) {
|
|
2455
|
+
return e?.catalog === da;
|
|
2456
2456
|
}
|
|
2457
|
-
var
|
|
2457
|
+
var ma = 0, wa = /* @__PURE__ */ si("<source/>"), ya = /* @__PURE__ */ si('<figure class="pie-tool-sign-language svelte-detmj8"><video class="pie-tool-sign-language__video svelte-detmj8" controls="" playsinline="" preload="metadata"></video> <figcaption class="pie-tool-sign-language__caption svelte-detmj8"> </figcaption></figure>', 2), ba = {
|
|
2458
2458
|
hash: "svelte-detmj8",
|
|
2459
2459
|
code: `:host {display:block;min-width:0;}.pie-tool-sign-language.svelte-detmj8 {display:flex;flex-direction:column;gap:0.5rem;margin:0;min-width:0;}.pie-tool-sign-language__video.svelte-detmj8 {width:100%;
|
|
2460
2460
|
/* Signing needs height for hands and face, so the recording's own frame
|
|
@@ -2463,12 +2463,12 @@ var wa = 0, ya = /* @__PURE__ */ li("<source/>"), ba = /* @__PURE__ */ li('<figu
|
|
|
2463
2463
|
width percentage alone either wastes space or makes signing
|
|
2464
2464
|
unreadable. */aspect-ratio:var(--pie-section-player-item-media-aspect-ratio, 3 / 4);min-height:var(--pie-section-player-item-media-min-height, 220px);max-height:var(--pie-section-player-item-media-max-height, 60vh);object-fit:contain;border-radius:var(--pie-section-player-card-radius, 8px);background:var(--pie-blue-grey-900, #111827);}.pie-tool-sign-language__caption.svelte-detmj8 {font-size:0.8125rem;color:var(--pie-text-light, var(--pie-text, #111827));}`
|
|
2465
2465
|
};
|
|
2466
|
-
function
|
|
2467
|
-
|
|
2468
|
-
let r =
|
|
2469
|
-
const s = `pie-tool-sign-language-${
|
|
2466
|
+
function $a(e, t) {
|
|
2467
|
+
gn(t, !0), ea(e, ba);
|
|
2468
|
+
let r = fn(t, "media", 7, null), n = fn(t, "ttsService", 7, null), i = /* @__PURE__ */ pe(null);
|
|
2469
|
+
const s = `pie-tool-sign-language-${ma += 1}`, l = /* @__PURE__ */ tr(() => va(r()?.signLang)), o = /* @__PURE__ */ tr(() => r()?.label || `${x(l)} translation`), f = /* @__PURE__ */ tr(() => (r()?.sources ?? []).map((p) => ({
|
|
2470
2470
|
...p,
|
|
2471
|
-
src:
|
|
2471
|
+
src: hi(p.src, r()?.fragment)
|
|
2472
2472
|
})));
|
|
2473
2473
|
function h() {
|
|
2474
2474
|
x(i) && !x(i).paused && x(i).pause();
|
|
@@ -2488,7 +2488,7 @@ function ka(e, t) {
|
|
|
2488
2488
|
const p = r()?.fragment?.endSeconds;
|
|
2489
2489
|
!x(i) || p === void 0 || x(i).currentTime >= p && x(i).pause();
|
|
2490
2490
|
}
|
|
2491
|
-
|
|
2491
|
+
xs(() => {
|
|
2492
2492
|
if (!n() || typeof n().onStateChange != "function") return;
|
|
2493
2493
|
const p = (T) => {
|
|
2494
2494
|
(T === "playing" || T === "loading") && h();
|
|
@@ -2513,110 +2513,80 @@ function ka(e, t) {
|
|
|
2513
2513
|
set ttsService(p = null) {
|
|
2514
2514
|
n(p), pr();
|
|
2515
2515
|
}
|
|
2516
|
-
}, g =
|
|
2517
|
-
var T =
|
|
2518
|
-
A.muted = !0,
|
|
2519
|
-
var V =
|
|
2520
|
-
|
|
2516
|
+
}, g = Ds(), m = $s(g), _ = (p) => {
|
|
2517
|
+
var T = ya(), A = Zr(T);
|
|
2518
|
+
A.muted = !0, Js(A, 21, () => x(f), (R) => R.src, (R, H) => {
|
|
2519
|
+
var V = wa();
|
|
2520
|
+
Qr(() => {
|
|
2521
2521
|
He(V, "src", x(H).src), He(V, "type", x(H).type || void 0);
|
|
2522
|
-
}),
|
|
2523
|
-
}), er(A),
|
|
2524
|
-
var S =
|
|
2525
|
-
er(S), er(T),
|
|
2526
|
-
He(T, "data-pie-sign-language", r().signLang || void 0), He(T, "data-pie-catalog-id", r().catalogId || void 0), He(A, "aria-label", x(o)), He(A, "poster", r().poster || void 0),
|
|
2527
|
-
}), nr("play", A, v), nr("loadedmetadata", A, d), nr("timeupdate", A, c),
|
|
2522
|
+
}), Nt(R, V);
|
|
2523
|
+
}), er(A), la(A, (R) => fe(i, R), () => x(i));
|
|
2524
|
+
var S = ks(A, 2), F = Zr(S, !0);
|
|
2525
|
+
er(S), er(T), Qr(() => {
|
|
2526
|
+
He(T, "data-pie-sign-language", r().signLang || void 0), He(T, "data-pie-catalog-id", r().catalogId || void 0), He(A, "aria-label", x(o)), He(A, "poster", r().poster || void 0), Bs(F, x(l));
|
|
2527
|
+
}), nr("play", A, v), nr("loadedmetadata", A, d), nr("timeupdate", A, c), Nt(p, T);
|
|
2528
2528
|
};
|
|
2529
|
-
return
|
|
2529
|
+
return Ks(m, (p) => {
|
|
2530
2530
|
r() && x(f).length > 0 && p(_);
|
|
2531
|
-
}),
|
|
2531
|
+
}), Nt(e, g), mn(u);
|
|
2532
2532
|
}
|
|
2533
|
-
customElements.define("pie-tool-sign-language",
|
|
2533
|
+
customElements.define("pie-tool-sign-language", ca($a, {
|
|
2534
2534
|
media: { type: "Object" },
|
|
2535
2535
|
ttsService: { type: "Object" }
|
|
2536
2536
|
}, [], [], { mode: "open" }));
|
|
2537
2537
|
var or = "signLanguage";
|
|
2538
|
-
function
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2538
|
+
function ka(e) {
|
|
2539
|
+
const t = e.requestedSignLang?.trim() || "ase", r = e.catalogs.cards.flatMap(({ catalogId: n, card: i }) => {
|
|
2540
|
+
if (!ga(i)) return [];
|
|
2541
|
+
const s = _a(i);
|
|
2542
|
+
return s ? [{
|
|
2543
|
+
catalogId: n,
|
|
2544
|
+
media: s
|
|
2545
|
+
}] : [];
|
|
2543
2546
|
});
|
|
2544
|
-
for (const
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
}
|
|
2557
|
-
function Ea(e) {
|
|
2558
|
-
const t = e.requestedSignLang?.trim() || "ase";
|
|
2559
|
-
for (const r of e.refs) {
|
|
2560
|
-
const n = r.modelId ? {
|
|
2561
|
-
...e.ownerContext,
|
|
2562
|
-
modelId: r.modelId
|
|
2563
|
-
} : e.ownerContext, i = cn(e.resolver.getAlternative(r.catalogId, {
|
|
2564
|
-
type: br,
|
|
2565
|
-
language: t,
|
|
2566
|
-
useFallback: !1,
|
|
2567
|
-
context: n
|
|
2568
|
-
}));
|
|
2569
|
-
if (i) return {
|
|
2570
|
-
...i,
|
|
2571
|
-
catalogId: r.catalogId
|
|
2572
|
-
};
|
|
2573
|
-
const s = cn(e.resolver.getAlternative(r.catalogId, {
|
|
2574
|
-
type: br,
|
|
2575
|
-
language: t,
|
|
2576
|
-
useFallback: !0,
|
|
2577
|
-
context: n
|
|
2578
|
-
}));
|
|
2579
|
-
if (s && ga(s, t)) return {
|
|
2580
|
-
...s,
|
|
2581
|
-
catalogId: r.catalogId
|
|
2582
|
-
};
|
|
2583
|
-
}
|
|
2547
|
+
for (const n of r)
|
|
2548
|
+
if (n.media.signLang && pa(n.media, t))
|
|
2549
|
+
return {
|
|
2550
|
+
...n.media,
|
|
2551
|
+
catalogId: n.catalogId
|
|
2552
|
+
};
|
|
2553
|
+
for (const n of r)
|
|
2554
|
+
if (!n.media.signLang)
|
|
2555
|
+
return {
|
|
2556
|
+
...n.media,
|
|
2557
|
+
catalogId: n.catalogId
|
|
2558
|
+
};
|
|
2584
2559
|
return null;
|
|
2585
2560
|
}
|
|
2586
|
-
function
|
|
2561
|
+
function Sa(e) {
|
|
2587
2562
|
if (!e || typeof e != "object") return;
|
|
2588
2563
|
const t = e.signLang;
|
|
2589
2564
|
if (typeof t == "string" && t.trim()) return t.trim();
|
|
2590
2565
|
}
|
|
2591
|
-
function
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
resolver: t,
|
|
2597
|
-
refs: r,
|
|
2598
|
-
ownerContext: e.ownerContext,
|
|
2599
|
-
requestedSignLang: xa(e.parameters)
|
|
2600
|
-
});
|
|
2566
|
+
function Ea(e) {
|
|
2567
|
+
return e.catalogs ? ka({
|
|
2568
|
+
catalogs: e.catalogs,
|
|
2569
|
+
requestedSignLang: Sa(e.parameters)
|
|
2570
|
+
}) : null;
|
|
2601
2571
|
}
|
|
2602
|
-
var
|
|
2572
|
+
var xa = "content-media", Ma = "pie-tool-sign-language", Wa = {
|
|
2603
2573
|
toolId: or,
|
|
2604
2574
|
name: "Sign Language",
|
|
2605
2575
|
description: "Signed translation, docked beside the content it interprets",
|
|
2606
2576
|
supportedLevels: ["item", "passage"],
|
|
2607
2577
|
pnpSupportIds: [or],
|
|
2608
2578
|
activation: "region",
|
|
2609
|
-
surfaces: [
|
|
2579
|
+
surfaces: [xa],
|
|
2610
2580
|
requiresAuthoredContent: { resolve(e) {
|
|
2611
|
-
return
|
|
2581
|
+
return Ea(e);
|
|
2612
2582
|
} },
|
|
2613
2583
|
renderSurface(e) {
|
|
2614
2584
|
const t = e.content;
|
|
2615
2585
|
if (!t) return null;
|
|
2616
|
-
const r = e.componentOverrides ?? {}, n =
|
|
2586
|
+
const r = e.componentOverrides ?? {}, n = gi(e.toolId, {
|
|
2617
2587
|
...r,
|
|
2618
2588
|
toolTagMap: {
|
|
2619
|
-
[or]:
|
|
2589
|
+
[or]: Ma,
|
|
2620
2590
|
...r.toolTagMap
|
|
2621
2591
|
}
|
|
2622
2592
|
});
|
|
@@ -2632,18 +2602,17 @@ var Ta = "content-media", Aa = "pie-tool-sign-language", Fa = {
|
|
|
2632
2602
|
}
|
|
2633
2603
|
};
|
|
2634
2604
|
export {
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2605
|
+
Ia as AMERICAN_SIGN_LANGUAGE,
|
|
2606
|
+
xa as CONTENT_MEDIA_SURFACE,
|
|
2607
|
+
da as SIGN_LANGUAGE_CATALOG_TYPE,
|
|
2608
|
+
Ma as SIGN_LANGUAGE_ELEMENT_TAG,
|
|
2639
2609
|
or as SIGN_LANGUAGE_FEATURE_ID,
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
Ea as
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
Fa as signLanguageRegistration
|
|
2610
|
+
va as describeSignLanguage,
|
|
2611
|
+
ga as isSignLanguageCard,
|
|
2612
|
+
pa as matchesRequestedSignLanguage,
|
|
2613
|
+
Sa as resolveRequestedSignLanguage,
|
|
2614
|
+
ka as resolveSignLanguageAlternate,
|
|
2615
|
+
Ea as resolveSignLanguageContent,
|
|
2616
|
+
_a as resolveSignLanguageMedia,
|
|
2617
|
+
Wa as signLanguageRegistration
|
|
2649
2618
|
};
|