@pie-element/element-player 0.1.2-next.10 → 0.1.2-next.12
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 +3 -3
- package/dist/pie-element-player.js +823 -808
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./math-mathjax-iaHklMFp.js";
|
|
2
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
2
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/disclose-version.js
|
|
3
3
|
typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
|
|
4
4
|
//#endregion
|
|
5
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
5
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/constants.js
|
|
6
6
|
var t = {}, n = Symbol("uninitialized"), r = Array.isArray, i = Array.prototype.indexOf, a = Array.prototype.includes, o = Array.from, s = Object.keys, c = Object.defineProperty, l = Object.getOwnPropertyDescriptor, u = Object.prototype, d = Array.prototype, f = Object.getPrototypeOf, p = Object.isExtensible, m = () => {};
|
|
7
7
|
function h(e) {
|
|
8
8
|
for (var t = 0; t < e.length; t++) e[t]();
|
|
@@ -17,48 +17,48 @@ function g() {
|
|
|
17
17
|
reject: t
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
var _ = 1024, v = 2048, y = 4096, b = 8192, ee = 16384, x = 32768, te = 1 << 25, ne = 65536, S = 1 << 19, C = 1 << 20, re =
|
|
20
|
+
var _ = 1024, v = 2048, y = 4096, b = 8192, ee = 16384, x = 32768, te = 1 << 25, ne = 65536, S = 1 << 19, C = 1 << 20, re = 1 << 21, w = 1 << 22, T = 1 << 23, E = Symbol("$state"), ie = Symbol("component"), ae = Symbol("legacy props"), oe = Symbol("attributes"), se = Symbol("class"), ce = Symbol("style"), le = Symbol("text"), ue = new class extends Error {
|
|
21
21
|
name = "StaleReactionError";
|
|
22
22
|
message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
|
|
23
23
|
}();
|
|
24
24
|
globalThis.document?.contentType;
|
|
25
|
-
function
|
|
25
|
+
function de() {
|
|
26
26
|
console.warn("https://svelte.dev/e/derived_inert");
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function fe(e) {
|
|
29
29
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function pe() {
|
|
32
32
|
console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
35
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/hydration.js
|
|
36
36
|
var D = !1;
|
|
37
|
-
function
|
|
37
|
+
function O(e) {
|
|
38
38
|
D = e;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
if (e === null) throw
|
|
43
|
-
return
|
|
40
|
+
var k;
|
|
41
|
+
function A(e) {
|
|
42
|
+
if (e === null) throw fe(), t;
|
|
43
|
+
return k = e;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
return
|
|
45
|
+
function me() {
|
|
46
|
+
return A(/* @__PURE__ */ Vt(k));
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function he(e) {
|
|
49
49
|
if (D) {
|
|
50
|
-
if (/* @__PURE__ */
|
|
51
|
-
|
|
50
|
+
if (/* @__PURE__ */ Vt(k) !== null) throw fe(), t;
|
|
51
|
+
k = e;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
function j(e = 1) {
|
|
55
55
|
if (D) {
|
|
56
|
-
for (var t = e, n =
|
|
57
|
-
|
|
56
|
+
for (var t = e, n = k; t--;) n = /* @__PURE__ */ Vt(n);
|
|
57
|
+
k = n;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
for (var t = 0, n =
|
|
60
|
+
function M(e = !0) {
|
|
61
|
+
for (var t = 0, n = k;;) {
|
|
62
62
|
if (n.nodeType === 8) {
|
|
63
63
|
var r = n.data;
|
|
64
64
|
if (r === "]") {
|
|
@@ -66,248 +66,234 @@ function _e(e = !0) {
|
|
|
66
66
|
--t;
|
|
67
67
|
} else (r === "[" || r === "[!" || r[0] === "[" && !isNaN(Number(r.slice(1)))) && (t += 1);
|
|
68
68
|
}
|
|
69
|
-
var i = /* @__PURE__ */
|
|
69
|
+
var i = /* @__PURE__ */ Vt(n);
|
|
70
70
|
e && n.remove(), n = i;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
if (!e || e.nodeType !== 8) throw
|
|
73
|
+
function ge(e) {
|
|
74
|
+
if (!e || e.nodeType !== 8) throw fe(), t;
|
|
75
75
|
return e.data;
|
|
76
76
|
}
|
|
77
77
|
//#endregion
|
|
78
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
79
|
-
function
|
|
78
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/equality.js
|
|
79
|
+
function _e(e) {
|
|
80
80
|
return e === this.v;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ve(e, t) {
|
|
83
83
|
return e == e ? e !== t || typeof e == "object" && !!e || typeof e == "function" : t == t;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return !
|
|
85
|
+
function ye(e) {
|
|
86
|
+
return !ve(e, this.v);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function be(e) {
|
|
89
89
|
throw Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
90
90
|
}
|
|
91
91
|
//#endregion
|
|
92
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
93
|
-
function
|
|
92
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/errors.js
|
|
93
|
+
function xe() {
|
|
94
94
|
throw Error("https://svelte.dev/e/async_derived_orphan");
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Se(e) {
|
|
97
97
|
throw Error("https://svelte.dev/e/effect_in_teardown");
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ce() {
|
|
100
100
|
throw Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function we(e) {
|
|
103
103
|
throw Error("https://svelte.dev/e/effect_orphan");
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Te() {
|
|
106
106
|
throw Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Ee() {
|
|
109
109
|
throw Error("https://svelte.dev/e/hydration_failed");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function De(e) {
|
|
112
112
|
throw Error("https://svelte.dev/e/props_invalid_value");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Oe() {
|
|
115
115
|
throw Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ke() {
|
|
118
118
|
throw Error("https://svelte.dev/e/state_prototype_fixed");
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ae() {
|
|
121
121
|
throw Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function je() {
|
|
124
124
|
throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
|
|
125
125
|
}
|
|
126
126
|
//#endregion
|
|
127
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
128
|
-
var
|
|
129
|
-
function
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
function
|
|
133
|
-
|
|
134
|
-
p:
|
|
127
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/context.js
|
|
128
|
+
var N = null;
|
|
129
|
+
function Me(e) {
|
|
130
|
+
N = e;
|
|
131
|
+
}
|
|
132
|
+
function Ne(e, t = !1, n) {
|
|
133
|
+
N = {
|
|
134
|
+
p: N,
|
|
135
135
|
i: !1,
|
|
136
136
|
c: null,
|
|
137
137
|
e: null,
|
|
138
138
|
s: e,
|
|
139
139
|
x: null,
|
|
140
|
-
r:
|
|
140
|
+
r: q,
|
|
141
141
|
l: null
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
var t =
|
|
144
|
+
function Pe(e) {
|
|
145
|
+
var t = N, n = t.e;
|
|
146
146
|
if (n !== null) {
|
|
147
147
|
t.e = null;
|
|
148
|
-
for (var r of n)
|
|
148
|
+
for (var r of n) tn(r);
|
|
149
149
|
}
|
|
150
|
-
return e !== void 0 && (t.x = e), t.i = !0,
|
|
150
|
+
return e !== void 0 && (t.x = e), t.i = !0, N = t.p, Fe(e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
return c(e,
|
|
152
|
+
function Fe(e = {}) {
|
|
153
|
+
return c(e, ie, { value: !0 }), e;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Ie() {
|
|
156
156
|
return !0;
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
160
|
-
var
|
|
161
|
-
function
|
|
162
|
-
var e =
|
|
163
|
-
|
|
159
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/task.js
|
|
160
|
+
var Le = [];
|
|
161
|
+
function Re() {
|
|
162
|
+
var e = Le;
|
|
163
|
+
Le = [], h(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
var t =
|
|
165
|
+
function ze(e) {
|
|
166
|
+
if (Le.length === 0 && !ct) {
|
|
167
|
+
var t = Le;
|
|
168
168
|
queueMicrotask(() => {
|
|
169
|
-
t ===
|
|
169
|
+
t === Le && Re();
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
function He() {
|
|
175
|
-
for (; ze.length > 0;) Be();
|
|
176
|
-
}
|
|
177
|
-
//#endregion
|
|
178
|
-
//#region ../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/status.js
|
|
179
|
-
var Ue = ~(v | y | _);
|
|
180
|
-
function N(e, t) {
|
|
181
|
-
e.f = e.f & Ue | t;
|
|
172
|
+
Le.push(e);
|
|
182
173
|
}
|
|
183
|
-
function
|
|
184
|
-
|
|
174
|
+
function Be() {
|
|
175
|
+
for (; Le.length > 0;) Re();
|
|
185
176
|
}
|
|
186
177
|
//#endregion
|
|
187
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
188
|
-
|
|
189
|
-
|
|
178
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/status.js
|
|
179
|
+
var Ve = ~(v | y | _);
|
|
180
|
+
function P(e, t) {
|
|
181
|
+
e.f = e.f & Ve | t;
|
|
190
182
|
}
|
|
191
|
-
function
|
|
192
|
-
e.f &
|
|
183
|
+
function He(e) {
|
|
184
|
+
e.f & 512 || e.deps === null ? P(e, _) : P(e, y);
|
|
193
185
|
}
|
|
194
186
|
//#endregion
|
|
195
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
var t = qe;
|
|
199
|
-
try {
|
|
200
|
-
return qe = !1, [e(), qe];
|
|
201
|
-
} finally {
|
|
202
|
-
qe = t;
|
|
203
|
-
}
|
|
187
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/utils.js
|
|
188
|
+
function Ue(e, t, n) {
|
|
189
|
+
e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), P(e, _);
|
|
204
190
|
}
|
|
205
191
|
//#endregion
|
|
206
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
207
|
-
function
|
|
208
|
-
var t =
|
|
209
|
-
|
|
192
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
|
|
193
|
+
function We(e) {
|
|
194
|
+
var t = W, n = q;
|
|
195
|
+
K(null), Tn(null);
|
|
210
196
|
try {
|
|
211
197
|
return e();
|
|
212
198
|
} finally {
|
|
213
|
-
|
|
199
|
+
K(t), Tn(n);
|
|
214
200
|
}
|
|
215
201
|
}
|
|
216
202
|
//#endregion
|
|
217
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
218
|
-
function
|
|
219
|
-
let i =
|
|
203
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/async.js
|
|
204
|
+
function Ge(e, t, n, r) {
|
|
205
|
+
let i = Ie() ? Ye : $e;
|
|
220
206
|
var a = e.filter((e) => !e.settled), o = t.map(i);
|
|
221
207
|
if (n.length === 0 && a.length === 0) {
|
|
222
208
|
r(o);
|
|
223
209
|
return;
|
|
224
210
|
}
|
|
225
|
-
var s =
|
|
211
|
+
var s = q, c = Ke(), l = a.length === 1 ? a[0].promise : a.length > 1 ? Promise.all(a.map((e) => e.promise)) : null;
|
|
226
212
|
function u(e) {
|
|
227
213
|
if (!(s.f & 16384)) {
|
|
228
214
|
c();
|
|
229
215
|
try {
|
|
230
216
|
r([...o, ...e]);
|
|
231
217
|
} catch (e) {
|
|
232
|
-
|
|
218
|
+
V(e, s);
|
|
233
219
|
}
|
|
234
|
-
|
|
220
|
+
qe();
|
|
235
221
|
}
|
|
236
222
|
}
|
|
237
|
-
var d =
|
|
223
|
+
var d = Je();
|
|
238
224
|
if (n.length === 0) {
|
|
239
225
|
l.then(() => u([])).finally(d);
|
|
240
226
|
return;
|
|
241
227
|
}
|
|
242
228
|
function f() {
|
|
243
|
-
Promise.all(n.map((e) => /* @__PURE__ */
|
|
229
|
+
Promise.all(n.map((e) => /* @__PURE__ */ Ze(e))).then(u).catch((e) => V(e, s)).finally(d);
|
|
244
230
|
}
|
|
245
231
|
l ? l.then(() => {
|
|
246
|
-
c(), f(),
|
|
232
|
+
c(), f(), qe();
|
|
247
233
|
}) : f();
|
|
248
234
|
}
|
|
249
|
-
function
|
|
250
|
-
var e =
|
|
235
|
+
function Ke() {
|
|
236
|
+
var e = q, t = W, n = N, r = F;
|
|
251
237
|
return function(i = !0) {
|
|
252
|
-
|
|
238
|
+
Tn(e), K(t), Me(n), i && !(e.f & 16384) && (r?.activate(), r?.apply());
|
|
253
239
|
};
|
|
254
240
|
}
|
|
255
|
-
function
|
|
256
|
-
|
|
241
|
+
function qe(e = !0) {
|
|
242
|
+
Tn(null), K(null), Me(null), e && F?.deactivate();
|
|
257
243
|
}
|
|
258
|
-
function
|
|
259
|
-
var e =
|
|
244
|
+
function Je() {
|
|
245
|
+
var e = q, t = e.b, n = F, r = !!t?.is_rendered();
|
|
260
246
|
return t?.update_pending_count(1, n), n.increment(r, e), () => {
|
|
261
247
|
t?.update_pending_count(-1, n), n.decrement(r, e);
|
|
262
248
|
};
|
|
263
249
|
}
|
|
264
250
|
/*#__NO_SIDE_EFFECTS__*/
|
|
265
|
-
function
|
|
251
|
+
function Ye(e) {
|
|
266
252
|
var t = 2 | v;
|
|
267
|
-
return
|
|
268
|
-
ctx:
|
|
253
|
+
return q !== null && (q.f |= S), {
|
|
254
|
+
ctx: N,
|
|
269
255
|
deps: null,
|
|
270
256
|
effects: null,
|
|
271
|
-
equals:
|
|
257
|
+
equals: _e,
|
|
272
258
|
f: t,
|
|
273
259
|
fn: e,
|
|
274
260
|
reactions: null,
|
|
275
261
|
rv: 0,
|
|
276
262
|
v: n,
|
|
277
263
|
wv: 0,
|
|
278
|
-
parent:
|
|
264
|
+
parent: q,
|
|
279
265
|
ac: null
|
|
280
266
|
};
|
|
281
267
|
}
|
|
282
|
-
var
|
|
268
|
+
var Xe = Symbol("obsolete");
|
|
283
269
|
/*#__NO_SIDE_EFFECTS__*/
|
|
284
|
-
function
|
|
285
|
-
let i =
|
|
286
|
-
i === null &&
|
|
287
|
-
var a = void 0, o =
|
|
288
|
-
return
|
|
289
|
-
var t =
|
|
270
|
+
function Ze(e, t, r) {
|
|
271
|
+
let i = q;
|
|
272
|
+
i === null && xe();
|
|
273
|
+
var a = void 0, o = Tt(n), s = !W, c = /* @__PURE__ */ new Set();
|
|
274
|
+
return on(() => {
|
|
275
|
+
var t = q, n = g();
|
|
290
276
|
a = n.promise;
|
|
291
277
|
try {
|
|
292
278
|
Promise.resolve(e()).then(n.resolve, (e) => {
|
|
293
|
-
e !==
|
|
294
|
-
}).finally(
|
|
279
|
+
e !== ue && n.reject(e);
|
|
280
|
+
}).finally(qe);
|
|
295
281
|
} catch (e) {
|
|
296
|
-
n.reject(e),
|
|
282
|
+
n.reject(e), qe();
|
|
297
283
|
}
|
|
298
|
-
var r =
|
|
284
|
+
var r = F;
|
|
299
285
|
if (s) {
|
|
300
|
-
if (t.f & 32768) var l =
|
|
301
|
-
if (i.b?.is_rendered()) r.async_deriveds.get(t)?.reject(
|
|
302
|
-
else for (let e of c.values()) e.reject(
|
|
286
|
+
if (t.f & 32768) var l = Je();
|
|
287
|
+
if (i.b?.is_rendered()) r.async_deriveds.get(t)?.reject(Xe);
|
|
288
|
+
else for (let e of c.values()) e.reject(Xe);
|
|
303
289
|
c.add(n), r.async_deriveds.set(t, n);
|
|
304
290
|
}
|
|
305
291
|
let u = (e, t = void 0) => {
|
|
306
|
-
l?.(), c.delete(n), t !==
|
|
292
|
+
l?.(), c.delete(n), t !== Xe && (r.activate(), t ? (o.f |= T, kt(o, t)) : (o.f & 8388608 && (o.f ^= T), kt(o, e)), r.deactivate());
|
|
307
293
|
};
|
|
308
294
|
n.promise.then(u, (e) => u(null, e || "unknown"));
|
|
309
|
-
}),
|
|
310
|
-
for (let e of c) e.reject(
|
|
295
|
+
}), $t(() => {
|
|
296
|
+
for (let e of c) e.reject(Xe);
|
|
311
297
|
}), new Promise((e) => {
|
|
312
298
|
function t(n) {
|
|
313
299
|
function r() {
|
|
@@ -319,53 +305,53 @@ function nt(e, t, r) {
|
|
|
319
305
|
});
|
|
320
306
|
}
|
|
321
307
|
/*#__NO_SIDE_EFFECTS__*/
|
|
322
|
-
function
|
|
323
|
-
let t = /* @__PURE__ */
|
|
324
|
-
return
|
|
308
|
+
function Qe(e) {
|
|
309
|
+
let t = /* @__PURE__ */ Ye(e);
|
|
310
|
+
return Dn(t), t;
|
|
325
311
|
}
|
|
326
312
|
/*#__NO_SIDE_EFFECTS__*/
|
|
327
|
-
function
|
|
328
|
-
let t = /* @__PURE__ */
|
|
329
|
-
return t.equals =
|
|
313
|
+
function $e(e) {
|
|
314
|
+
let t = /* @__PURE__ */ Ye(e);
|
|
315
|
+
return t.equals = ye, t;
|
|
330
316
|
}
|
|
331
|
-
function
|
|
317
|
+
function et(e) {
|
|
332
318
|
var t = e.effects;
|
|
333
319
|
if (t !== null) {
|
|
334
320
|
e.effects = null;
|
|
335
|
-
for (var n = 0; n < t.length; n += 1)
|
|
321
|
+
for (var n = 0; n < t.length; n += 1) U(t[n]);
|
|
336
322
|
}
|
|
337
323
|
}
|
|
338
|
-
function
|
|
339
|
-
var t, r =
|
|
340
|
-
if (!
|
|
341
|
-
|
|
324
|
+
function tt(e) {
|
|
325
|
+
var t, r = q, i = e.parent;
|
|
326
|
+
if (!Cn && i !== null && e.v !== n && i.f & 24576) return de(), e.v;
|
|
327
|
+
Tn(i);
|
|
342
328
|
try {
|
|
343
|
-
|
|
329
|
+
et(e), t = In(e);
|
|
344
330
|
} finally {
|
|
345
|
-
|
|
331
|
+
Tn(r);
|
|
346
332
|
}
|
|
347
333
|
return t;
|
|
348
334
|
}
|
|
349
|
-
function
|
|
350
|
-
var t =
|
|
351
|
-
if (!e.equals(t) && (e.wv =
|
|
352
|
-
|
|
335
|
+
function nt(e) {
|
|
336
|
+
var t = tt(e);
|
|
337
|
+
if (!e.equals(t) && (e.wv = Nn(), (!F?.is_fork || e.deps === null) && (F === null ? e.v = t : (F.capture(e, t, !0), ot?.capture(e, t, !0)), e.deps === null))) {
|
|
338
|
+
P(e, _);
|
|
353
339
|
return;
|
|
354
340
|
}
|
|
355
|
-
|
|
341
|
+
Cn || (I === null ? He(e) : (Qt() || F?.is_fork) && I.set(e, t));
|
|
356
342
|
}
|
|
357
|
-
function
|
|
358
|
-
if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac !== null &&
|
|
359
|
-
t.ac.abort(
|
|
360
|
-
}), t.fn !== null && (t.teardown = m),
|
|
343
|
+
function rt(e) {
|
|
344
|
+
if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac !== null && We(() => {
|
|
345
|
+
t.ac.abort(ue), t.ac = null;
|
|
346
|
+
}), t.fn !== null && (t.teardown = m), zn(t, 0), fn(t));
|
|
361
347
|
}
|
|
362
|
-
function
|
|
363
|
-
if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null &&
|
|
348
|
+
function it(e) {
|
|
349
|
+
if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null && Bn(t);
|
|
364
350
|
}
|
|
365
351
|
//#endregion
|
|
366
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
367
|
-
var
|
|
368
|
-
id =
|
|
352
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/batch.js
|
|
353
|
+
var at = null, F = null, ot = null, I = null, st = null, ct = !1, lt = !1, ut = null, dt = null, ft = 0, pt = 1, mt = class e {
|
|
354
|
+
id = pt++;
|
|
369
355
|
#e = !1;
|
|
370
356
|
linked = !0;
|
|
371
357
|
#t = null;
|
|
@@ -387,7 +373,7 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
387
373
|
is_fork = !1;
|
|
388
374
|
#m = !1;
|
|
389
375
|
constructor() {
|
|
390
|
-
|
|
376
|
+
at === null ? at = this : (at.#n = this, this.#t = at), at = this;
|
|
391
377
|
}
|
|
392
378
|
#h() {
|
|
393
379
|
if (this.is_fork) return !0;
|
|
@@ -413,54 +399,73 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
413
399
|
var n = this.#f.get(e);
|
|
414
400
|
if (n) {
|
|
415
401
|
this.#f.delete(e);
|
|
416
|
-
for (var r of n.d)
|
|
417
|
-
for (r of n.m)
|
|
402
|
+
for (var r of n.d) P(r, v), t(r);
|
|
403
|
+
for (r of n.m) P(r, y), t(r);
|
|
418
404
|
}
|
|
419
405
|
this.#p.add(e);
|
|
420
406
|
}
|
|
421
407
|
#g() {
|
|
422
|
-
|
|
423
|
-
for (let
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
408
|
+
var e = [];
|
|
409
|
+
for (let i of this.#c) if (!(i.f & 16384 || !(i.f & 6144))) {
|
|
410
|
+
for (var t = i, n = !1; t.parent !== null;) {
|
|
411
|
+
t = t.parent;
|
|
412
|
+
var r = t.f;
|
|
413
|
+
if (r & 96) {
|
|
414
|
+
if (!(r & 1024)) {
|
|
415
|
+
n = !0;
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
t.f ^= _;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
n || e.push(t);
|
|
422
|
+
}
|
|
423
|
+
return this.#c = [], e;
|
|
424
|
+
}
|
|
425
|
+
#_() {
|
|
426
|
+
this.#e = !0;
|
|
427
|
+
for (let e of this.#u) this.#d.delete(e), P(e, v), this.schedule(e);
|
|
428
|
+
for (let e of this.#d) P(e, y), this.schedule(e);
|
|
429
|
+
this.apply();
|
|
430
|
+
for (var t = ut = [], n = [], r = dt = []; this.#c.length > 0;) {
|
|
431
|
+
ft++ > 1e3 && (this.#S(), ht());
|
|
432
|
+
for (let e of this.#g()) try {
|
|
433
|
+
this.#v(e, t, n);
|
|
434
|
+
} catch (t) {
|
|
435
|
+
throw St(e), this.#h() || this.discard(), t;
|
|
436
|
+
}
|
|
432
437
|
}
|
|
433
|
-
if (
|
|
434
|
-
var
|
|
435
|
-
for (let e of
|
|
438
|
+
if (F = null, r.length > 0) {
|
|
439
|
+
var i = e.ensure();
|
|
440
|
+
for (let e of r) i.schedule(e);
|
|
436
441
|
}
|
|
437
|
-
if (
|
|
438
|
-
this.#
|
|
439
|
-
for (let [e, t] of this.#f)
|
|
440
|
-
|
|
442
|
+
if (ut = null, dt = null, this.#h()) {
|
|
443
|
+
this.#x(n), this.#x(t);
|
|
444
|
+
for (let [e, t] of this.#f) xt(e, t);
|
|
445
|
+
r.length > 0 && F.#_();
|
|
441
446
|
return;
|
|
442
447
|
}
|
|
443
|
-
let
|
|
444
|
-
if (
|
|
445
|
-
this.#
|
|
448
|
+
let a = this.#y();
|
|
449
|
+
if (a) {
|
|
450
|
+
this.#x(n), this.#x(t), a.#b(this);
|
|
446
451
|
return;
|
|
447
452
|
}
|
|
448
453
|
this.#u.clear(), this.#d.clear();
|
|
449
454
|
for (let e of this.#r) e(this);
|
|
450
|
-
this.#r.clear(),
|
|
451
|
-
var
|
|
452
|
-
if (this.#a === 0 && (this.#c.length === 0 ||
|
|
453
|
-
let e
|
|
454
|
-
|
|
455
|
-
} else
|
|
456
|
-
|
|
457
|
-
}
|
|
458
|
-
#
|
|
455
|
+
this.#r.clear(), ot = this, _t(n), _t(t), ot = null, this.#s?.resolve();
|
|
456
|
+
var o = F;
|
|
457
|
+
if (this.#a === 0 && (this.#c.length === 0 || o !== null) && this.#S(), this.#c.length > 0) if (o !== null) {
|
|
458
|
+
for (let e of this.#c) o.#c.push(e);
|
|
459
|
+
this.#c = [];
|
|
460
|
+
} else o = this;
|
|
461
|
+
o !== null && (R.clear(), o.#_());
|
|
462
|
+
}
|
|
463
|
+
#v(e, t, n) {
|
|
459
464
|
e.f ^= _;
|
|
460
465
|
for (var r = e.first; r !== null;) {
|
|
461
466
|
var i = r.f, a = (i & 96) != 0;
|
|
462
467
|
if (!(a && i & 1024 || i & 8192 || this.#f.has(r)) && r.fn !== null) {
|
|
463
|
-
a ? r.f ^= _ : i & 4 ? t.push(r) :
|
|
468
|
+
a ? r.f ^= _ : i & 4 ? t.push(r) : Pn(r) && (i & 16 && this.#d.add(r), Bn(r));
|
|
464
469
|
var o = r.first;
|
|
465
470
|
if (o !== null) {
|
|
466
471
|
r = o;
|
|
@@ -477,7 +482,7 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
477
482
|
}
|
|
478
483
|
}
|
|
479
484
|
}
|
|
480
|
-
#
|
|
485
|
+
#y() {
|
|
481
486
|
for (var e = this.#t; e !== null;) {
|
|
482
487
|
if (!e.is_fork) {
|
|
483
488
|
for (let [t, [, n]] of this.current) if (e.current.has(t) && !n) return e;
|
|
@@ -486,7 +491,7 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
486
491
|
}
|
|
487
492
|
return null;
|
|
488
493
|
}
|
|
489
|
-
#
|
|
494
|
+
#b(e) {
|
|
490
495
|
for (let [t, n] of e.current) !this.previous.has(t) && e.previous.has(t) && this.previous.set(t, e.previous.get(t)), this.current.set(t, n);
|
|
491
496
|
for (let [t, n] of e.async_deriveds) {
|
|
492
497
|
let e = this.async_deriveds.get(t);
|
|
@@ -500,37 +505,37 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
500
505
|
if (r & 2) t(e);
|
|
501
506
|
else {
|
|
502
507
|
var i = e;
|
|
503
|
-
r & 4194320 && !this.async_deriveds.has(i) && (this.#d.delete(i),
|
|
508
|
+
r & 4194320 && !this.async_deriveds.has(i) && (this.#d.delete(i), P(i, v), this.schedule(i));
|
|
504
509
|
}
|
|
505
510
|
}
|
|
506
511
|
};
|
|
507
512
|
for (let e of this.current.keys()) t(e);
|
|
508
|
-
this.oncommit(() => e.discard()), e.#
|
|
513
|
+
this.oncommit(() => e.discard()), e.#S(), F = this, this.#_();
|
|
509
514
|
}
|
|
510
|
-
#
|
|
511
|
-
for (var t = 0; t < e.length; t += 1)
|
|
515
|
+
#x(e) {
|
|
516
|
+
for (var t = 0; t < e.length; t += 1) Ue(e[t], this.#u, this.#d);
|
|
512
517
|
}
|
|
513
518
|
capture(e, t, r = !1) {
|
|
514
|
-
e.v !== n && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [t, r]),
|
|
519
|
+
e.v !== n && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [t, r]), I?.set(e, t)), this.is_fork || (e.v = t);
|
|
515
520
|
}
|
|
516
521
|
activate() {
|
|
517
|
-
|
|
522
|
+
F = this;
|
|
518
523
|
}
|
|
519
524
|
deactivate() {
|
|
520
|
-
|
|
525
|
+
F = null, I = null;
|
|
521
526
|
}
|
|
522
527
|
flush() {
|
|
523
528
|
try {
|
|
524
|
-
|
|
529
|
+
lt = !0, F = this, this.#_();
|
|
525
530
|
} finally {
|
|
526
|
-
|
|
531
|
+
ft = 0, st = null, ut = null, dt = null, lt = !1, F = null, I = null, R.clear();
|
|
527
532
|
}
|
|
528
533
|
}
|
|
529
534
|
discard() {
|
|
530
535
|
for (let e of this.#i) e(this);
|
|
531
536
|
this.#i.clear();
|
|
532
|
-
for (let e of this.async_deriveds.values()) e.reject(
|
|
533
|
-
this.#
|
|
537
|
+
for (let e of this.async_deriveds.values()) e.reject(Xe);
|
|
538
|
+
this.#S(), this.#s?.resolve();
|
|
534
539
|
}
|
|
535
540
|
register_created_effect(e) {
|
|
536
541
|
this.#l.push(e);
|
|
@@ -546,7 +551,7 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
546
551
|
let e = this.#o.get(t) ?? 0;
|
|
547
552
|
e === 1 ? this.#o.delete(t) : this.#o.set(t, e - 1);
|
|
548
553
|
}
|
|
549
|
-
this.#m || (this.#m = !0,
|
|
554
|
+
this.#m || (this.#m = !0, ze(() => {
|
|
550
555
|
this.#m = !1, this.linked && this.flush();
|
|
551
556
|
}));
|
|
552
557
|
}
|
|
@@ -565,233 +570,232 @@ var ut = null, P = null, dt = null, F = null, ft = null, pt = !1, mt = !1, ht =
|
|
|
565
570
|
return (this.#s ??= g()).promise;
|
|
566
571
|
}
|
|
567
572
|
static ensure() {
|
|
568
|
-
if (
|
|
569
|
-
let t =
|
|
570
|
-
!
|
|
573
|
+
if (F === null) {
|
|
574
|
+
let t = F = new e();
|
|
575
|
+
!lt && !ct && ze(() => {
|
|
571
576
|
t.#e || t.flush();
|
|
572
577
|
});
|
|
573
578
|
}
|
|
574
|
-
return
|
|
579
|
+
return F;
|
|
575
580
|
}
|
|
576
581
|
apply() {
|
|
577
|
-
|
|
582
|
+
I = null;
|
|
578
583
|
}
|
|
579
584
|
schedule(e) {
|
|
580
|
-
if (
|
|
585
|
+
if (st = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
|
|
581
586
|
e.b.defer_effect(e);
|
|
582
587
|
return;
|
|
583
588
|
}
|
|
584
|
-
|
|
585
|
-
t = t.parent;
|
|
586
|
-
var n = t.f;
|
|
587
|
-
if (ht !== null && t === G && (H === null || !(H.f & 2))) return;
|
|
588
|
-
if (n & 96) {
|
|
589
|
-
if (!(n & 1024)) return;
|
|
590
|
-
t.f ^= _;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
this.#c.push(t);
|
|
589
|
+
this.#c.push(e);
|
|
594
590
|
}
|
|
595
|
-
#
|
|
591
|
+
#S() {
|
|
596
592
|
if (this.linked) {
|
|
597
593
|
var e = this.#t, t = this.#n;
|
|
598
|
-
e === null || (e.#n = t), t === null ?
|
|
594
|
+
e === null || (e.#n = t), t === null ? at = e : t.#t = e, this.linked = !1;
|
|
599
595
|
}
|
|
600
596
|
}
|
|
601
597
|
};
|
|
602
|
-
function
|
|
603
|
-
var t =
|
|
604
|
-
|
|
598
|
+
function L(e) {
|
|
599
|
+
var t = ct;
|
|
600
|
+
ct = !0;
|
|
605
601
|
try {
|
|
606
602
|
var n;
|
|
607
|
-
for (e && (
|
|
608
|
-
if (
|
|
609
|
-
|
|
603
|
+
for (e && (F !== null && !F.is_fork && F.flush(), n = e());;) {
|
|
604
|
+
if (Be(), F === null) return n;
|
|
605
|
+
F.flush();
|
|
610
606
|
}
|
|
611
607
|
} finally {
|
|
612
|
-
|
|
608
|
+
ct = t;
|
|
613
609
|
}
|
|
614
610
|
}
|
|
615
|
-
function
|
|
611
|
+
function ht() {
|
|
616
612
|
try {
|
|
617
|
-
|
|
613
|
+
Te();
|
|
618
614
|
} catch (e) {
|
|
619
|
-
|
|
615
|
+
V(e, st);
|
|
620
616
|
}
|
|
621
617
|
}
|
|
622
|
-
var
|
|
623
|
-
function
|
|
618
|
+
var gt = null;
|
|
619
|
+
function _t(e) {
|
|
624
620
|
var t = e.length;
|
|
625
621
|
if (t !== 0) {
|
|
626
622
|
for (var n = 0; n < t;) {
|
|
627
623
|
var r = e[n++];
|
|
628
|
-
if (!(r.f & 24576) &&
|
|
629
|
-
|
|
630
|
-
for (let e of
|
|
624
|
+
if (!(r.f & 24576) && Pn(r) && (gt = /* @__PURE__ */ new Set(), Bn(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && hn(r), gt?.size > 0)) {
|
|
625
|
+
R.clear();
|
|
626
|
+
for (let e of gt) {
|
|
631
627
|
if (e.f & 24576) continue;
|
|
632
628
|
let t = [e], n = e.parent;
|
|
633
|
-
for (; n !== null;)
|
|
629
|
+
for (; n !== null;) gt.has(n) && (gt.delete(n), t.push(n)), n = n.parent;
|
|
634
630
|
for (let e = t.length - 1; e >= 0; e--) {
|
|
635
631
|
let n = t[e];
|
|
636
|
-
n.f & 24576 ||
|
|
632
|
+
n.f & 24576 || Bn(n);
|
|
637
633
|
}
|
|
638
634
|
}
|
|
639
|
-
|
|
635
|
+
gt.clear();
|
|
640
636
|
}
|
|
641
637
|
}
|
|
642
|
-
|
|
638
|
+
gt = null;
|
|
643
639
|
}
|
|
644
640
|
}
|
|
645
|
-
function
|
|
641
|
+
function vt(e, t, n, r) {
|
|
646
642
|
if (!n.has(e) && (n.add(e), e.reactions !== null)) for (let i of e.reactions) {
|
|
647
643
|
let e = i.f;
|
|
648
|
-
e & 2 ?
|
|
644
|
+
e & 2 ? vt(i, t, n, r) : e & 4194320 && !(e & 2048) && yt(i, t, r) && (P(i, v), bt(i));
|
|
649
645
|
}
|
|
650
646
|
}
|
|
651
|
-
function
|
|
647
|
+
function yt(e, t, n) {
|
|
652
648
|
let r = n.get(e);
|
|
653
649
|
if (r !== void 0) return r;
|
|
654
650
|
if (e.deps !== null) for (let r of e.deps) {
|
|
655
651
|
if (a.call(t, r)) return !0;
|
|
656
|
-
if (r.f & 2 &&
|
|
652
|
+
if (r.f & 2 && yt(r, t, n)) return n.set(r, !0), !0;
|
|
657
653
|
}
|
|
658
654
|
return n.set(e, !1), !1;
|
|
659
655
|
}
|
|
660
|
-
function
|
|
661
|
-
|
|
656
|
+
function bt(e) {
|
|
657
|
+
F.schedule(e);
|
|
662
658
|
}
|
|
663
|
-
function
|
|
659
|
+
function xt(e, t) {
|
|
664
660
|
if (!(e.f & 32 && e.f & 1024)) {
|
|
665
|
-
e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e),
|
|
666
|
-
for (var n = e.first; n !== null;)
|
|
661
|
+
e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), P(e, _);
|
|
662
|
+
for (var n = e.first; n !== null;) xt(n, t), n = n.next;
|
|
667
663
|
}
|
|
668
664
|
}
|
|
669
|
-
function
|
|
670
|
-
|
|
671
|
-
for (var t = e.first; t !== null;)
|
|
665
|
+
function St(e) {
|
|
666
|
+
P(e, _);
|
|
667
|
+
for (var t = e.first; t !== null;) St(t), t = t.next;
|
|
672
668
|
}
|
|
673
669
|
//#endregion
|
|
674
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
675
|
-
var
|
|
676
|
-
function
|
|
670
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/sources.js
|
|
671
|
+
var Ct = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Map(), wt = !1;
|
|
672
|
+
function Tt(e, t) {
|
|
677
673
|
return {
|
|
678
674
|
f: 0,
|
|
679
675
|
v: e,
|
|
680
676
|
reactions: null,
|
|
681
|
-
equals:
|
|
677
|
+
equals: _e,
|
|
682
678
|
rv: 0,
|
|
683
679
|
wv: 0
|
|
684
680
|
};
|
|
685
681
|
}
|
|
686
682
|
/*#__NO_SIDE_EFFECTS__*/
|
|
687
|
-
function
|
|
688
|
-
let n =
|
|
689
|
-
return
|
|
683
|
+
function z(e, t) {
|
|
684
|
+
let n = Tt(e, t);
|
|
685
|
+
return Dn(n), n;
|
|
690
686
|
}
|
|
691
687
|
/*#__NO_SIDE_EFFECTS__*/
|
|
692
|
-
function
|
|
693
|
-
let r =
|
|
694
|
-
return t || (r.equals =
|
|
688
|
+
function Et(e, t = !1, n = !0) {
|
|
689
|
+
let r = Tt(e);
|
|
690
|
+
return t || (r.equals = ye), r;
|
|
695
691
|
}
|
|
696
|
-
function
|
|
697
|
-
return
|
|
692
|
+
function B(e, t, n = !1) {
|
|
693
|
+
return W !== null && (!G || W.f & 131072) && Ie() && W.f & 4325394 && (En === null || !En.has(e)) && Ae(), kt(e, n ? Nt(t) : t, dt);
|
|
698
694
|
}
|
|
699
|
-
|
|
695
|
+
var Dt = null, Ot = 0;
|
|
696
|
+
function kt(e, t, n = null) {
|
|
700
697
|
if (!e.equals(t)) {
|
|
701
|
-
|
|
702
|
-
var r =
|
|
698
|
+
Cn ? R.set(e, t) : R.has(e) || R.set(e, e.v);
|
|
699
|
+
var r = mt.ensure();
|
|
703
700
|
if (r.capture(e, t), e.f & 2) {
|
|
704
701
|
let t = e;
|
|
705
|
-
e.f & 2048 &&
|
|
702
|
+
e.f & 2048 && tt(t), I === null && He(t);
|
|
706
703
|
}
|
|
707
|
-
e.wv =
|
|
704
|
+
e.wv = Nn(), Dt = null, Ot = 0, Mt(e, v, n), Dt = null, Ie() && q !== null && q.f & 1024 && !(q.f & 96) && (X === null ? On([e]) : X.push(e)), !r.is_fork && Ct.size > 0 && !wt && At();
|
|
708
705
|
}
|
|
709
706
|
return t;
|
|
710
707
|
}
|
|
711
|
-
function
|
|
712
|
-
|
|
713
|
-
for (let e of
|
|
714
|
-
e.f & 1024 &&
|
|
708
|
+
function At() {
|
|
709
|
+
wt = !1;
|
|
710
|
+
for (let e of Ct) {
|
|
711
|
+
e.f & 1024 && P(e, y);
|
|
715
712
|
let t;
|
|
716
713
|
try {
|
|
717
|
-
t =
|
|
714
|
+
t = Pn(e);
|
|
718
715
|
} catch {
|
|
719
716
|
t = !0;
|
|
720
717
|
}
|
|
721
|
-
t &&
|
|
718
|
+
t && Bn(e);
|
|
722
719
|
}
|
|
723
|
-
|
|
720
|
+
Ct.clear();
|
|
724
721
|
}
|
|
725
|
-
function
|
|
726
|
-
|
|
722
|
+
function jt(e) {
|
|
723
|
+
B(e, e.v + 1);
|
|
727
724
|
}
|
|
728
|
-
function
|
|
725
|
+
function Mt(e, t, n) {
|
|
729
726
|
var r = e.reactions;
|
|
730
|
-
if (r !== null)
|
|
731
|
-
var
|
|
732
|
-
if (
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
var
|
|
740
|
-
|
|
727
|
+
if (r !== null) {
|
|
728
|
+
var i = Ie(), a = r.length;
|
|
729
|
+
if (Ot += a, Ot > 1e5 && Dt === null && (Dt = /* @__PURE__ */ new Set()), Dt !== null) {
|
|
730
|
+
if (Dt.has(e)) return;
|
|
731
|
+
Dt.add(e);
|
|
732
|
+
}
|
|
733
|
+
for (var o = 0; o < a; o++) {
|
|
734
|
+
var s = r[o], c = s.f;
|
|
735
|
+
if (!(!i && s === q)) {
|
|
736
|
+
var l = (c & v) === 0;
|
|
737
|
+
if (l && P(s, t), c & 131072) Ct.add(s);
|
|
738
|
+
else if (c & 2) {
|
|
739
|
+
var u = s;
|
|
740
|
+
I?.delete(u), Mt(u, y, n);
|
|
741
|
+
} else if (l) {
|
|
742
|
+
var d = s;
|
|
743
|
+
c & 16 && gt !== null && gt.add(d), n === null ? bt(d) : n.push(d);
|
|
744
|
+
}
|
|
741
745
|
}
|
|
742
746
|
}
|
|
743
747
|
}
|
|
744
748
|
}
|
|
745
|
-
function
|
|
746
|
-
if (typeof e != "object" || !e || E in e ||
|
|
749
|
+
function Nt(e) {
|
|
750
|
+
if (typeof e != "object" || !e || E in e || ie in e) return e;
|
|
747
751
|
let t = f(e);
|
|
748
752
|
if (t !== u && t !== d) return e;
|
|
749
|
-
var i = /* @__PURE__ */ new Map(), a = r(e), o = /* @__PURE__ */
|
|
750
|
-
if (
|
|
751
|
-
var t =
|
|
752
|
-
|
|
753
|
+
var i = /* @__PURE__ */ new Map(), a = r(e), o = /* @__PURE__ */ z(0), s = null, c = jn, p = (e) => {
|
|
754
|
+
if (jn === c) return e();
|
|
755
|
+
var t = W, n = jn;
|
|
756
|
+
K(null), Mn(c);
|
|
753
757
|
var r = e();
|
|
754
|
-
return
|
|
758
|
+
return K(t), Mn(n), r;
|
|
755
759
|
};
|
|
756
|
-
return a && i.set("length", /* @__PURE__ */
|
|
760
|
+
return a && i.set("length", /* @__PURE__ */ z(e.length, s)), new Proxy(e, {
|
|
757
761
|
defineProperty(e, t, n) {
|
|
758
|
-
(!("value" in n) || n.configurable === !1 || n.enumerable === !1 || n.writable === !1) &&
|
|
762
|
+
(!("value" in n) || n.configurable === !1 || n.enumerable === !1 || n.writable === !1) && Oe();
|
|
759
763
|
var r = i.get(t);
|
|
760
764
|
return r === void 0 ? p(() => {
|
|
761
|
-
var e = /* @__PURE__ */
|
|
765
|
+
var e = /* @__PURE__ */ z(n.value, s);
|
|
762
766
|
return i.set(t, e), e;
|
|
763
|
-
}) :
|
|
767
|
+
}) : B(r, n.value, !0), !0;
|
|
764
768
|
},
|
|
765
769
|
deleteProperty(e, t) {
|
|
766
770
|
var r = i.get(t);
|
|
767
771
|
if (r === void 0) {
|
|
768
772
|
if (t in e) {
|
|
769
|
-
let e = p(() => /* @__PURE__ */
|
|
770
|
-
i.set(t, e),
|
|
773
|
+
let e = p(() => /* @__PURE__ */ z(n, s));
|
|
774
|
+
i.set(t, e), jt(o);
|
|
771
775
|
}
|
|
772
|
-
} else
|
|
776
|
+
} else B(r, n), jt(o);
|
|
773
777
|
return !0;
|
|
774
778
|
},
|
|
775
779
|
get(t, r, a) {
|
|
776
780
|
if (r === E) return e;
|
|
777
781
|
var o = i.get(r), c = r in t;
|
|
778
|
-
if (o === void 0 && (!c || l(t, r)?.writable) && (o = p(() => /* @__PURE__ */
|
|
782
|
+
if (o === void 0 && (!c || l(t, r)?.writable) && (o = p(() => /* @__PURE__ */ z(Nt(c ? t[r] : n), s)), i.set(r, o)), o !== void 0) {
|
|
779
783
|
var u = Z(o);
|
|
780
784
|
return u === n ? void 0 : u;
|
|
781
785
|
}
|
|
782
786
|
return Reflect.get(t, r, a);
|
|
783
787
|
},
|
|
784
788
|
getOwnPropertyDescriptor(e, t) {
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
789
|
+
this.has?.(e, t);
|
|
790
|
+
var r = Reflect.getOwnPropertyDescriptor(e, t), a = i.get(t);
|
|
791
|
+
if (a !== void 0) {
|
|
792
|
+
var o = Z(a);
|
|
793
|
+
if (o === n) return;
|
|
794
|
+
if (r && "value" in r) r.value = o;
|
|
795
|
+
else return {
|
|
792
796
|
enumerable: !0,
|
|
793
797
|
configurable: !0,
|
|
794
|
-
value:
|
|
798
|
+
value: o,
|
|
795
799
|
writable: !0
|
|
796
800
|
};
|
|
797
801
|
}
|
|
@@ -800,27 +804,27 @@ function Lt(e) {
|
|
|
800
804
|
has(e, t) {
|
|
801
805
|
if (t === E) return !0;
|
|
802
806
|
var r = i.get(t), a = r !== void 0 && r.v !== n || Reflect.has(e, t);
|
|
803
|
-
return (r !== void 0 ||
|
|
807
|
+
return (r !== void 0 || q !== null && (!a || l(e, t)?.writable)) && (r === void 0 && (r = p(() => /* @__PURE__ */ z(a ? Nt(e[t]) : n, s)), i.set(t, r)), Z(r) === n) ? !1 : a;
|
|
804
808
|
},
|
|
805
809
|
set(e, t, r, c) {
|
|
806
810
|
var u = i.get(t), d = t in e;
|
|
807
811
|
if (a && t === "length") for (var f = r; f < u.v; f += 1) {
|
|
808
812
|
var m = i.get(f + "");
|
|
809
|
-
m === void 0 ? f in e && (m = p(() => /* @__PURE__ */
|
|
813
|
+
m === void 0 ? f in e && (m = p(() => /* @__PURE__ */ z(n, s)), i.set(f + "", m)) : B(m, n);
|
|
810
814
|
}
|
|
811
|
-
if (u === void 0) (!d || l(e, t)?.writable) && (u = p(() => /* @__PURE__ */
|
|
815
|
+
if (u === void 0) (!d || l(e, t)?.writable) && (u = p(() => /* @__PURE__ */ z(void 0, s)), B(u, Nt(r)), i.set(t, u));
|
|
812
816
|
else {
|
|
813
817
|
d = u.v !== n;
|
|
814
|
-
var h = p(() =>
|
|
815
|
-
|
|
818
|
+
var h = p(() => Nt(r));
|
|
819
|
+
B(u, h);
|
|
816
820
|
}
|
|
817
821
|
var g = Reflect.getOwnPropertyDescriptor(e, t);
|
|
818
822
|
if (g?.set && g.set.call(c, r), !d) {
|
|
819
823
|
if (a && typeof t == "string") {
|
|
820
824
|
var _ = i.get("length"), v = Number(t);
|
|
821
|
-
Number.isInteger(v) && v >= _.v &&
|
|
825
|
+
Number.isInteger(v) && v >= _.v && B(_, v + 1);
|
|
822
826
|
}
|
|
823
|
-
|
|
827
|
+
jt(o);
|
|
824
828
|
}
|
|
825
829
|
return !0;
|
|
826
830
|
},
|
|
@@ -834,78 +838,78 @@ function Lt(e) {
|
|
|
834
838
|
return t;
|
|
835
839
|
},
|
|
836
840
|
setPrototypeOf() {
|
|
837
|
-
|
|
841
|
+
ke();
|
|
838
842
|
}
|
|
839
843
|
});
|
|
840
844
|
}
|
|
841
|
-
var
|
|
842
|
-
function
|
|
843
|
-
if (
|
|
844
|
-
|
|
845
|
+
var Pt, Ft, It, Lt;
|
|
846
|
+
function Rt() {
|
|
847
|
+
if (Pt === void 0) {
|
|
848
|
+
Pt = window, Ft = /Firefox/.test(navigator.userAgent);
|
|
845
849
|
var e = Element.prototype, t = Node.prototype, n = Text.prototype;
|
|
846
|
-
|
|
850
|
+
It = l(t, "firstChild").get, Lt = l(t, "nextSibling").get, p(e) && (e[se] = void 0, e[oe] = null, e[ce] = void 0, e.__e = void 0), p(n) && (n[le] = void 0);
|
|
847
851
|
}
|
|
848
852
|
}
|
|
849
|
-
function
|
|
853
|
+
function zt(e = "") {
|
|
850
854
|
return document.createTextNode(e);
|
|
851
855
|
}
|
|
852
856
|
/*@__NO_SIDE_EFFECTS__*/
|
|
853
|
-
function
|
|
854
|
-
return
|
|
857
|
+
function Bt(e) {
|
|
858
|
+
return It.call(e);
|
|
855
859
|
}
|
|
856
860
|
/*@__NO_SIDE_EFFECTS__*/
|
|
857
|
-
function
|
|
858
|
-
return
|
|
861
|
+
function Vt(e) {
|
|
862
|
+
return Lt.call(e);
|
|
859
863
|
}
|
|
860
|
-
function
|
|
861
|
-
if (!D) return /* @__PURE__ */
|
|
862
|
-
var n = /* @__PURE__ */
|
|
863
|
-
if (n === null) n =
|
|
864
|
+
function Ht(e, t) {
|
|
865
|
+
if (!D) return /* @__PURE__ */ Bt(e);
|
|
866
|
+
var n = /* @__PURE__ */ Bt(k);
|
|
867
|
+
if (n === null) n = k.appendChild(zt());
|
|
864
868
|
else if (t && n.nodeType !== 3) {
|
|
865
|
-
var r =
|
|
866
|
-
return n?.before(r),
|
|
869
|
+
var r = zt();
|
|
870
|
+
return n?.before(r), A(r), r;
|
|
867
871
|
}
|
|
868
|
-
return t &&
|
|
872
|
+
return t && Jt(n), A(n), n;
|
|
869
873
|
}
|
|
870
|
-
function
|
|
871
|
-
if (!D) return /* @__PURE__ */
|
|
872
|
-
var n =
|
|
873
|
-
return
|
|
874
|
+
function Ut(e, t = !1) {
|
|
875
|
+
if (!D) return /* @__PURE__ */ Bt(e);
|
|
876
|
+
var n = Ht(e, t);
|
|
877
|
+
return he(e), n;
|
|
874
878
|
}
|
|
875
|
-
function
|
|
876
|
-
let r = D ?
|
|
877
|
-
for (var i; t--;) i = r, r = /* @__PURE__ */
|
|
879
|
+
function Wt(e, t = 1, n = !1) {
|
|
880
|
+
let r = D ? k : e;
|
|
881
|
+
for (var i; t--;) i = r, r = /* @__PURE__ */ Vt(r);
|
|
878
882
|
if (!D) return r;
|
|
879
883
|
if (n) {
|
|
880
884
|
if (r?.nodeType !== 3) {
|
|
881
|
-
var a =
|
|
882
|
-
return r === null ? i?.after(a) : r.before(a),
|
|
885
|
+
var a = zt();
|
|
886
|
+
return r === null ? i?.after(a) : r.before(a), A(a), a;
|
|
883
887
|
}
|
|
884
|
-
|
|
888
|
+
Jt(r);
|
|
885
889
|
}
|
|
886
|
-
return
|
|
890
|
+
return A(r), r;
|
|
887
891
|
}
|
|
888
|
-
function
|
|
892
|
+
function Gt(e) {
|
|
889
893
|
e.textContent = "";
|
|
890
894
|
}
|
|
891
|
-
function
|
|
895
|
+
function Kt() {
|
|
892
896
|
return !1;
|
|
893
897
|
}
|
|
894
|
-
function
|
|
898
|
+
function qt(e, t, n) {
|
|
895
899
|
return t == null || t === "http://www.w3.org/1999/xhtml" ? n ? document.createElement(e, { is: n }) : document.createElement(e) : n ? document.createElementNS(t, e, { is: n }) : document.createElementNS(t, e);
|
|
896
900
|
}
|
|
897
|
-
function
|
|
901
|
+
function Jt(e) {
|
|
898
902
|
if (e.nodeValue.length < 65536) return;
|
|
899
903
|
let t = e.nextSibling;
|
|
900
904
|
for (; t !== null && t.nodeType === 3;) t.remove(), e.nodeValue += t.nodeValue, t = e.nextSibling;
|
|
901
905
|
}
|
|
902
|
-
function
|
|
903
|
-
var t =
|
|
904
|
-
if (t === null) return
|
|
906
|
+
function Yt(e) {
|
|
907
|
+
var t = q;
|
|
908
|
+
if (t === null) return W.f |= T, e;
|
|
905
909
|
if (!(t.f & 32768) && !(t.f & 4)) throw e;
|
|
906
|
-
|
|
910
|
+
V(e, t);
|
|
907
911
|
}
|
|
908
|
-
function
|
|
912
|
+
function V(e, t) {
|
|
909
913
|
if (!(t !== null && t.f & 16384)) {
|
|
910
914
|
for (; t !== null;) {
|
|
911
915
|
if (t.f & 128 && !(t.f & 33570816)) {
|
|
@@ -923,19 +927,19 @@ function z(e, t) {
|
|
|
923
927
|
}
|
|
924
928
|
}
|
|
925
929
|
//#endregion
|
|
926
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
927
|
-
function
|
|
928
|
-
|
|
930
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/effects.js
|
|
931
|
+
function Xt(e) {
|
|
932
|
+
q === null && (W === null && we(e), Ce()), Cn && Se(e);
|
|
929
933
|
}
|
|
930
|
-
function
|
|
934
|
+
function Zt(e, t) {
|
|
931
935
|
var n = t.last;
|
|
932
936
|
n === null ? t.last = t.first = e : (n.next = e, e.prev = n, t.last = e);
|
|
933
937
|
}
|
|
934
|
-
function
|
|
935
|
-
var n =
|
|
938
|
+
function H(e, t) {
|
|
939
|
+
var n = q;
|
|
936
940
|
n !== null && n.f & 8192 && (e |= b);
|
|
937
941
|
var r = {
|
|
938
|
-
ctx:
|
|
942
|
+
ctx: N,
|
|
939
943
|
deps: null,
|
|
940
944
|
nodes: null,
|
|
941
945
|
f: e | v | 512,
|
|
@@ -950,141 +954,141 @@ function B(e, t) {
|
|
|
950
954
|
wv: 0,
|
|
951
955
|
ac: null
|
|
952
956
|
};
|
|
953
|
-
|
|
957
|
+
F?.register_created_effect(r);
|
|
954
958
|
var i = r;
|
|
955
|
-
if (e & 4)
|
|
959
|
+
if (e & 4) ut === null ? mt.ensure().schedule(r) : ut.push(r);
|
|
956
960
|
else if (t !== null) {
|
|
957
961
|
try {
|
|
958
|
-
|
|
962
|
+
Bn(r);
|
|
959
963
|
} catch (e) {
|
|
960
|
-
throw
|
|
964
|
+
throw U(r), e;
|
|
961
965
|
}
|
|
962
966
|
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && !(i.f & 524288) && (i = i.first, e & 16 && e & 65536 && i !== null && (i.f |= ne));
|
|
963
967
|
}
|
|
964
|
-
if (i !== null && (i.parent = n, n !== null &&
|
|
965
|
-
var a =
|
|
968
|
+
if (i !== null && (i.parent = n, n !== null && Zt(i, n), W !== null && W.f & 2 && !(e & 64))) {
|
|
969
|
+
var a = W;
|
|
966
970
|
(a.effects ??= []).push(i);
|
|
967
971
|
}
|
|
968
972
|
return r;
|
|
969
973
|
}
|
|
970
|
-
function
|
|
971
|
-
return
|
|
974
|
+
function Qt() {
|
|
975
|
+
return W !== null && !G;
|
|
972
976
|
}
|
|
973
|
-
function
|
|
974
|
-
let t =
|
|
975
|
-
return
|
|
977
|
+
function $t(e) {
|
|
978
|
+
let t = H(8, null);
|
|
979
|
+
return P(t, _), t.teardown = e, t;
|
|
976
980
|
}
|
|
977
|
-
function
|
|
978
|
-
|
|
979
|
-
var t =
|
|
980
|
-
if (!
|
|
981
|
-
var n =
|
|
981
|
+
function en(e) {
|
|
982
|
+
Xt("$effect");
|
|
983
|
+
var t = q.f;
|
|
984
|
+
if (!W && t & 32 && N !== null && !N.i) {
|
|
985
|
+
var n = N;
|
|
982
986
|
(n.e ??= []).push(e);
|
|
983
|
-
} else return
|
|
987
|
+
} else return tn(e);
|
|
984
988
|
}
|
|
985
|
-
function
|
|
986
|
-
return
|
|
989
|
+
function tn(e) {
|
|
990
|
+
return H(4 | C, e);
|
|
987
991
|
}
|
|
988
|
-
function
|
|
989
|
-
|
|
990
|
-
let t =
|
|
992
|
+
function nn(e) {
|
|
993
|
+
mt.ensure();
|
|
994
|
+
let t = H(64 | S, e);
|
|
991
995
|
return () => {
|
|
992
|
-
|
|
996
|
+
U(t);
|
|
993
997
|
};
|
|
994
998
|
}
|
|
995
|
-
function
|
|
996
|
-
|
|
997
|
-
let t =
|
|
999
|
+
function rn(e) {
|
|
1000
|
+
mt.ensure();
|
|
1001
|
+
let t = H(64 | S, e);
|
|
998
1002
|
return (e = {}) => new Promise((n) => {
|
|
999
|
-
e.outro ?
|
|
1000
|
-
|
|
1001
|
-
}) : (
|
|
1003
|
+
e.outro ? gn(t, () => {
|
|
1004
|
+
U(t), n(void 0);
|
|
1005
|
+
}) : (U(t), n(void 0));
|
|
1002
1006
|
});
|
|
1003
1007
|
}
|
|
1004
|
-
function
|
|
1005
|
-
return
|
|
1008
|
+
function an(e) {
|
|
1009
|
+
return H(4, e);
|
|
1006
1010
|
}
|
|
1007
|
-
function
|
|
1008
|
-
return
|
|
1011
|
+
function on(e) {
|
|
1012
|
+
return H(w | S, e);
|
|
1009
1013
|
}
|
|
1010
|
-
function
|
|
1011
|
-
return
|
|
1014
|
+
function sn(e, t = 0) {
|
|
1015
|
+
return H(8 | t, e);
|
|
1012
1016
|
}
|
|
1013
|
-
function
|
|
1014
|
-
|
|
1015
|
-
|
|
1017
|
+
function cn(e, t = [], n = [], r = []) {
|
|
1018
|
+
Ge(r, t, n, (t) => {
|
|
1019
|
+
H(8, () => {
|
|
1016
1020
|
e(...t.map(Z));
|
|
1017
1021
|
});
|
|
1018
1022
|
});
|
|
1019
1023
|
}
|
|
1020
|
-
function
|
|
1021
|
-
return
|
|
1024
|
+
function ln(e, t = 0) {
|
|
1025
|
+
return H(16 | t, e);
|
|
1022
1026
|
}
|
|
1023
|
-
function
|
|
1024
|
-
return
|
|
1027
|
+
function un(e) {
|
|
1028
|
+
return H(32 | S, e);
|
|
1025
1029
|
}
|
|
1026
|
-
function
|
|
1030
|
+
function dn(e) {
|
|
1027
1031
|
var t = e.teardown;
|
|
1028
1032
|
if (t !== null) {
|
|
1029
|
-
let n =
|
|
1030
|
-
|
|
1033
|
+
let n = Cn, r = W;
|
|
1034
|
+
wn(!0), K(null);
|
|
1031
1035
|
try {
|
|
1032
1036
|
t.call(null);
|
|
1033
1037
|
} catch (t) {
|
|
1034
|
-
|
|
1038
|
+
V(t, e.parent);
|
|
1035
1039
|
} finally {
|
|
1036
|
-
|
|
1040
|
+
wn(n), K(r);
|
|
1037
1041
|
}
|
|
1038
1042
|
}
|
|
1039
1043
|
}
|
|
1040
|
-
function
|
|
1044
|
+
function fn(e, t = !1) {
|
|
1041
1045
|
var n = e.first;
|
|
1042
1046
|
for (e.first = e.last = null; n !== null;) {
|
|
1043
1047
|
let e = n.ac;
|
|
1044
|
-
e !== null &&
|
|
1045
|
-
e.abort(
|
|
1048
|
+
e !== null && We(() => {
|
|
1049
|
+
e.abort(ue);
|
|
1046
1050
|
});
|
|
1047
1051
|
var r = n.next;
|
|
1048
|
-
n.f & 64 ? n.parent = null :
|
|
1052
|
+
n.f & 64 ? n.parent = null : U(n, t), n = r;
|
|
1049
1053
|
}
|
|
1050
1054
|
}
|
|
1051
|
-
function
|
|
1055
|
+
function pn(e) {
|
|
1052
1056
|
for (var t = e.first; t !== null;) {
|
|
1053
1057
|
var n = t.next;
|
|
1054
|
-
t.f & 32 ||
|
|
1058
|
+
t.f & 32 || U(t), t = n;
|
|
1055
1059
|
}
|
|
1056
1060
|
}
|
|
1057
|
-
function
|
|
1061
|
+
function U(e, t = !0) {
|
|
1058
1062
|
var n = !1;
|
|
1059
|
-
(t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (
|
|
1063
|
+
(t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (mn(e.nodes.start, e.nodes.end), n = !0), e.f |= te, fn(e, t && !n), zn(e, 0);
|
|
1060
1064
|
var r = e.nodes && e.nodes.t;
|
|
1061
1065
|
if (r !== null) for (let e of r) e.stop();
|
|
1062
|
-
|
|
1066
|
+
dn(e), e.f ^= te, e.f |= ee;
|
|
1063
1067
|
var i = e.parent;
|
|
1064
|
-
i !== null && i.first !== null &&
|
|
1068
|
+
i !== null && i.first !== null && hn(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
|
|
1065
1069
|
}
|
|
1066
|
-
function
|
|
1070
|
+
function mn(e, t) {
|
|
1067
1071
|
for (; e !== null;) {
|
|
1068
|
-
var n = e === t ? null : /* @__PURE__ */
|
|
1072
|
+
var n = e === t ? null : /* @__PURE__ */ Vt(e);
|
|
1069
1073
|
e.remove(), e = n;
|
|
1070
1074
|
}
|
|
1071
1075
|
}
|
|
1072
|
-
function
|
|
1076
|
+
function hn(e) {
|
|
1073
1077
|
var t = e.parent, n = e.prev, r = e.next;
|
|
1074
1078
|
n !== null && (n.next = r), r !== null && (r.prev = n), t !== null && (t.first === e && (t.first = r), t.last === e && (t.last = n));
|
|
1075
1079
|
}
|
|
1076
|
-
function
|
|
1080
|
+
function gn(e, t, n = !0) {
|
|
1077
1081
|
var r = [];
|
|
1078
|
-
e.f |= 256,
|
|
1082
|
+
e.f |= 256, _n(e, r, !0);
|
|
1079
1083
|
var i = () => {
|
|
1080
|
-
n &&
|
|
1084
|
+
n && U(e), t && t();
|
|
1081
1085
|
}, a = r.length;
|
|
1082
1086
|
if (a > 0) {
|
|
1083
1087
|
var o = () => --a || i();
|
|
1084
1088
|
for (var s of r) s.out(o);
|
|
1085
1089
|
} else i();
|
|
1086
1090
|
}
|
|
1087
|
-
function
|
|
1091
|
+
function _n(e, t, n) {
|
|
1088
1092
|
if (!(e.f & 8192)) {
|
|
1089
1093
|
e.f ^= b;
|
|
1090
1094
|
var r = e.nodes && e.nodes.t;
|
|
@@ -1093,114 +1097,114 @@ function xn(e, t, n) {
|
|
|
1093
1097
|
var a = i.next;
|
|
1094
1098
|
if (!(i.f & 64)) {
|
|
1095
1099
|
var o = (i.f & 65536) != 0 || (i.f & 32) != 0 && (e.f & 16) != 0;
|
|
1096
|
-
|
|
1100
|
+
_n(i, t, o ? n : !1);
|
|
1097
1101
|
}
|
|
1098
1102
|
i = a;
|
|
1099
1103
|
}
|
|
1100
1104
|
}
|
|
1101
1105
|
}
|
|
1102
|
-
function
|
|
1103
|
-
e.f &= -257,
|
|
1106
|
+
function vn(e) {
|
|
1107
|
+
e.f &= -257, yn(e, !0);
|
|
1104
1108
|
}
|
|
1105
|
-
function
|
|
1109
|
+
function yn(e, t) {
|
|
1106
1110
|
if (!(e.f & 256) && e.f & 8192) {
|
|
1107
|
-
e.f ^= b, e.f & 1024 || (
|
|
1111
|
+
e.f ^= b, e.f & 1024 || (P(e, v), mt.ensure().schedule(e));
|
|
1108
1112
|
for (var n = e.first; n !== null;) {
|
|
1109
1113
|
var r = n.next, i = (n.f & 65536) != 0 || (n.f & 32) != 0;
|
|
1110
|
-
|
|
1114
|
+
yn(n, i ? t : !1), n = r;
|
|
1111
1115
|
}
|
|
1112
1116
|
var a = e.nodes && e.nodes.t;
|
|
1113
1117
|
if (a !== null) for (let e of a) (e.is_global || t) && e.in();
|
|
1114
1118
|
}
|
|
1115
1119
|
}
|
|
1116
|
-
function
|
|
1120
|
+
function bn(e, t) {
|
|
1117
1121
|
if (e.nodes) for (var n = e.nodes.start, r = e.nodes.end; n !== null;) {
|
|
1118
|
-
var i = n === r ? null : /* @__PURE__ */
|
|
1122
|
+
var i = n === r ? null : /* @__PURE__ */ Vt(n);
|
|
1119
1123
|
t.append(n), n = i;
|
|
1120
1124
|
}
|
|
1121
1125
|
}
|
|
1122
1126
|
//#endregion
|
|
1123
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1124
|
-
var
|
|
1125
|
-
function
|
|
1126
|
-
|
|
1127
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/legacy.js
|
|
1128
|
+
var xn = null, Sn = !1, Cn = !1;
|
|
1129
|
+
function wn(e) {
|
|
1130
|
+
Cn = e;
|
|
1127
1131
|
}
|
|
1128
|
-
var
|
|
1129
|
-
function W(e) {
|
|
1130
|
-
H = e;
|
|
1131
|
-
}
|
|
1132
|
-
var G = null;
|
|
1132
|
+
var W = null, G = !1;
|
|
1133
1133
|
function K(e) {
|
|
1134
|
-
|
|
1134
|
+
W = e;
|
|
1135
1135
|
}
|
|
1136
1136
|
var q = null;
|
|
1137
|
-
function
|
|
1138
|
-
|
|
1137
|
+
function Tn(e) {
|
|
1138
|
+
q = e;
|
|
1139
|
+
}
|
|
1140
|
+
var En = null;
|
|
1141
|
+
function Dn(e) {
|
|
1142
|
+
W !== null && (W.f & 2097152 || W.f & 2) && (En ??= /* @__PURE__ */ new Set()).add(e);
|
|
1139
1143
|
}
|
|
1140
1144
|
var J = null, Y = 0, X = null;
|
|
1141
|
-
function
|
|
1145
|
+
function On(e) {
|
|
1142
1146
|
X = e;
|
|
1143
1147
|
}
|
|
1144
|
-
var
|
|
1145
|
-
function
|
|
1146
|
-
|
|
1148
|
+
var kn = 1, An = 0, jn = An;
|
|
1149
|
+
function Mn(e) {
|
|
1150
|
+
jn = e;
|
|
1147
1151
|
}
|
|
1148
|
-
function
|
|
1149
|
-
return ++
|
|
1152
|
+
function Nn() {
|
|
1153
|
+
return ++kn;
|
|
1150
1154
|
}
|
|
1151
|
-
function
|
|
1155
|
+
function Pn(e) {
|
|
1152
1156
|
var t = e.f;
|
|
1153
1157
|
if (t & 2048) return !0;
|
|
1154
|
-
if (t &
|
|
1158
|
+
if (t & 4096) {
|
|
1155
1159
|
for (var n = e.deps, r = n.length, i = 0; i < r; i++) {
|
|
1156
1160
|
var a = n[i];
|
|
1157
|
-
if (
|
|
1161
|
+
if (Pn(a) && nt(a), a.wv > e.wv) return !0;
|
|
1158
1162
|
}
|
|
1159
|
-
t & 512 &&
|
|
1163
|
+
t & 512 && I === null && P(e, _);
|
|
1160
1164
|
}
|
|
1161
1165
|
return !1;
|
|
1162
1166
|
}
|
|
1163
|
-
function
|
|
1167
|
+
function Fn(e, t, n = !0) {
|
|
1164
1168
|
var r = e.reactions;
|
|
1165
|
-
if (r !== null && !(
|
|
1169
|
+
if (r !== null && !(En !== null && En.has(e))) for (var i = 0; i < r.length; i++) {
|
|
1166
1170
|
var a = r[i];
|
|
1167
|
-
a.f & 2 ?
|
|
1171
|
+
a.f & 2 ? Fn(a, t, !1) : t === a && (n ? P(a, v) : a.f & 1024 && P(a, y), bt(a));
|
|
1168
1172
|
}
|
|
1169
1173
|
}
|
|
1170
|
-
function
|
|
1171
|
-
var t = J, n = Y, r = X, i =
|
|
1172
|
-
J = null, Y = 0, X = null,
|
|
1173
|
-
e.ac.abort(
|
|
1174
|
+
function In(e) {
|
|
1175
|
+
var t = J, n = Y, r = X, i = W, a = En, o = N, s = G, c = jn, l = e.f;
|
|
1176
|
+
J = null, Y = 0, X = null, W = l & 96 ? null : e, En = null, Me(e.ctx), G = !1, jn = ++An, e.ac !== null && (We(() => {
|
|
1177
|
+
e.ac.abort(ue);
|
|
1174
1178
|
}), e.ac = null);
|
|
1175
1179
|
try {
|
|
1176
|
-
e.f |=
|
|
1180
|
+
e.f |= re;
|
|
1177
1181
|
var u = e.fn, d = u();
|
|
1178
1182
|
e.f |= x;
|
|
1179
|
-
var f =
|
|
1180
|
-
if (
|
|
1183
|
+
var f = Ln(e);
|
|
1184
|
+
if (Ie() && X !== null && !G && f !== null && !(e.f & 6146)) for (var p = 0; p < X.length; p++) Fn(X[p], e);
|
|
1181
1185
|
if (i !== null && i !== e) {
|
|
1182
|
-
if (
|
|
1183
|
-
if (t !== null) for (let e of t) e.rv =
|
|
1186
|
+
if (An++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = An;
|
|
1187
|
+
if (t !== null) for (let e of t) e.rv = An;
|
|
1184
1188
|
X !== null && (r === null ? r = X : r.push(...X));
|
|
1185
1189
|
}
|
|
1186
1190
|
return e.f & 8388608 && (e.f ^= T), d;
|
|
1187
1191
|
} catch (t) {
|
|
1188
|
-
return
|
|
1192
|
+
return Ln(e), Yt(t);
|
|
1189
1193
|
} finally {
|
|
1190
|
-
e.f ^=
|
|
1194
|
+
e.f ^= re, J = t, Y = n, X = r, W = i, En = a, Me(o), G = s, jn = c;
|
|
1191
1195
|
}
|
|
1192
1196
|
}
|
|
1193
|
-
function
|
|
1194
|
-
var t = e.deps, n =
|
|
1197
|
+
function Ln(e) {
|
|
1198
|
+
var t = e.deps, n = F?.is_fork;
|
|
1195
1199
|
if (J !== null) {
|
|
1196
1200
|
var r;
|
|
1197
|
-
if (n ||
|
|
1201
|
+
if (n || zn(e, Y), t !== null && Y > 0) for (t.length = Y + J.length, r = 0; r < J.length; r++) t[Y + r] = J[r];
|
|
1198
1202
|
else e.deps = t = J;
|
|
1199
|
-
if (
|
|
1200
|
-
} else !n && t !== null && Y < t.length && (
|
|
1203
|
+
if (Qt() && e.f & 512) for (r = Y; r < t.length; r++) (t[r].reactions ??= []).push(e);
|
|
1204
|
+
} else !n && t !== null && Y < t.length && (zn(e, Y), t.length = Y);
|
|
1201
1205
|
return t;
|
|
1202
1206
|
}
|
|
1203
|
-
function
|
|
1207
|
+
function Rn(e, t) {
|
|
1204
1208
|
let r = t.reactions;
|
|
1205
1209
|
if (r !== null) {
|
|
1206
1210
|
var o = i.call(r, e);
|
|
@@ -1211,85 +1215,85 @@ function Bn(e, t) {
|
|
|
1211
1215
|
}
|
|
1212
1216
|
if (r === null && t.f & 2 && (J === null || !a.call(J, t))) {
|
|
1213
1217
|
var c = t;
|
|
1214
|
-
c.f & 512 && (c.f ^= 512
|
|
1215
|
-
c.ac.abort(
|
|
1216
|
-
}),
|
|
1218
|
+
c.f & 512 && (c.f ^= 512), c.v !== n && He(c), c.ac !== null && We(() => {
|
|
1219
|
+
c.ac.abort(ue), c.ac = null, P(c, v);
|
|
1220
|
+
}), rt(c), zn(c, 0);
|
|
1217
1221
|
}
|
|
1218
1222
|
}
|
|
1219
|
-
function
|
|
1223
|
+
function zn(e, t) {
|
|
1220
1224
|
var n = e.deps;
|
|
1221
|
-
if (n !== null) for (var r = t; r < n.length; r++)
|
|
1225
|
+
if (n !== null) for (var r = t; r < n.length; r++) Rn(e, n[r]);
|
|
1222
1226
|
}
|
|
1223
|
-
function
|
|
1227
|
+
function Bn(e) {
|
|
1224
1228
|
var t = e.f;
|
|
1225
1229
|
if (!(t & 16384)) {
|
|
1226
|
-
|
|
1227
|
-
var n =
|
|
1228
|
-
|
|
1230
|
+
P(e, _);
|
|
1231
|
+
var n = q, r = Sn;
|
|
1232
|
+
q = e, Sn = (t & 96) == 0;
|
|
1229
1233
|
try {
|
|
1230
|
-
t & 16777232 ?
|
|
1231
|
-
var i =
|
|
1232
|
-
e.teardown = typeof i == "function" ? i : null, e.wv =
|
|
1234
|
+
t & 16777232 ? pn(e) : fn(e), dn(e);
|
|
1235
|
+
var i = In(e);
|
|
1236
|
+
e.teardown = typeof i == "function" ? i : null, e.wv = kn;
|
|
1233
1237
|
} finally {
|
|
1234
|
-
|
|
1238
|
+
Sn = r, q = n;
|
|
1235
1239
|
}
|
|
1236
1240
|
}
|
|
1237
1241
|
}
|
|
1238
1242
|
function Z(e) {
|
|
1239
1243
|
var t = (e.f & 2) != 0;
|
|
1240
|
-
if (
|
|
1241
|
-
var n =
|
|
1242
|
-
if (
|
|
1244
|
+
if (xn?.add(e), W !== null && !G && !(q !== null && q.f & 16384) && (En === null || !En.has(e))) {
|
|
1245
|
+
var n = W.deps;
|
|
1246
|
+
if (W.f & 2097152) e.rv < An && (e.rv = An, J === null && n !== null && n[Y] === e ? Y++ : J === null ? J = [e] : J.push(e));
|
|
1243
1247
|
else {
|
|
1244
|
-
|
|
1248
|
+
W.deps ??= [], a.call(W.deps, e) || W.deps.push(e);
|
|
1245
1249
|
var r = e.reactions;
|
|
1246
|
-
r === null ? e.reactions = [
|
|
1250
|
+
r === null ? e.reactions = [W] : a.call(r, W) || r.push(W);
|
|
1247
1251
|
}
|
|
1248
1252
|
}
|
|
1249
|
-
if (
|
|
1253
|
+
if (Cn && R.has(e)) return R.get(e);
|
|
1250
1254
|
if (t) {
|
|
1251
1255
|
var i = e;
|
|
1252
|
-
if (
|
|
1256
|
+
if (Cn) {
|
|
1253
1257
|
var o = i.v;
|
|
1254
|
-
return (!(i.f & 1024) && i.reactions !== null ||
|
|
1258
|
+
return (!(i.f & 1024) && i.reactions !== null || Hn(i)) && (o = tt(i)), R.set(i, o), o;
|
|
1255
1259
|
}
|
|
1256
|
-
var s = (i.f & 512) == 0 && !
|
|
1257
|
-
|
|
1260
|
+
var s = (i.f & 512) == 0 && !G && W !== null && (Sn || (W.f & 512) != 0), c = (i.f & x) === 0;
|
|
1261
|
+
Pn(i) && (s && (i.f |= 512), nt(i)), s && !c && (it(i), Vn(i));
|
|
1258
1262
|
}
|
|
1259
|
-
if (
|
|
1263
|
+
if (I?.has(e)) return I.get(e);
|
|
1260
1264
|
if (e.f & 8388608) throw e.v;
|
|
1261
1265
|
return e.v;
|
|
1262
1266
|
}
|
|
1263
|
-
function
|
|
1264
|
-
if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (
|
|
1267
|
+
function Vn(e) {
|
|
1268
|
+
if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (it(t), Vn(t));
|
|
1265
1269
|
}
|
|
1266
|
-
function
|
|
1270
|
+
function Hn(e) {
|
|
1267
1271
|
if (e.v === n) return !0;
|
|
1268
1272
|
if (e.deps === null) return !1;
|
|
1269
|
-
for (let t of e.deps) if (
|
|
1273
|
+
for (let t of e.deps) if (R.has(t) || t.f & 2 && Hn(t)) return !0;
|
|
1270
1274
|
return !1;
|
|
1271
1275
|
}
|
|
1272
|
-
function
|
|
1273
|
-
var t =
|
|
1276
|
+
function Un(e) {
|
|
1277
|
+
var t = G;
|
|
1274
1278
|
try {
|
|
1275
|
-
return
|
|
1279
|
+
return G = !0, e();
|
|
1276
1280
|
} finally {
|
|
1277
|
-
|
|
1281
|
+
G = t;
|
|
1278
1282
|
}
|
|
1279
1283
|
}
|
|
1280
1284
|
//#endregion
|
|
1281
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1282
|
-
var
|
|
1283
|
-
function
|
|
1285
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
1286
|
+
var Wn = Symbol("events"), Gn = /* @__PURE__ */ new Set(), Kn = /* @__PURE__ */ new Set(), qn = null, Jn = !1;
|
|
1287
|
+
function Yn(e) {
|
|
1284
1288
|
var t = this, n = t.ownerDocument, r = e.type, i = e.composedPath?.() || [], a = i[0] || e.target;
|
|
1285
|
-
|
|
1286
|
-
|
|
1289
|
+
qn = e, Jn || (Jn = !0, setTimeout(() => {
|
|
1290
|
+
Jn = !1, qn = null;
|
|
1287
1291
|
}));
|
|
1288
|
-
var o = 0, s =
|
|
1292
|
+
var o = 0, s = qn === e && e[Wn];
|
|
1289
1293
|
if (s) {
|
|
1290
1294
|
var l = i.indexOf(s);
|
|
1291
1295
|
if (l !== -1 && (t === document || t === window)) {
|
|
1292
|
-
e[
|
|
1296
|
+
e[Wn] = t;
|
|
1293
1297
|
return;
|
|
1294
1298
|
}
|
|
1295
1299
|
var u = i.indexOf(t);
|
|
@@ -1303,12 +1307,12 @@ function Zn(e) {
|
|
|
1303
1307
|
return a || n;
|
|
1304
1308
|
}
|
|
1305
1309
|
});
|
|
1306
|
-
var d =
|
|
1307
|
-
|
|
1310
|
+
var d = W, f = q;
|
|
1311
|
+
K(null), Tn(null);
|
|
1308
1312
|
try {
|
|
1309
1313
|
for (var p, m = []; a !== null && a !== t;) {
|
|
1310
1314
|
try {
|
|
1311
|
-
var h = a[
|
|
1315
|
+
var h = a[Wn]?.[r];
|
|
1312
1316
|
h != null && (!a.disabled || e.target === a) && h.call(a, e);
|
|
1313
1317
|
} catch (e) {
|
|
1314
1318
|
p ? m.push(e) : p = e;
|
|
@@ -1323,24 +1327,24 @@ function Zn(e) {
|
|
|
1323
1327
|
throw p;
|
|
1324
1328
|
}
|
|
1325
1329
|
} finally {
|
|
1326
|
-
e[
|
|
1330
|
+
e[Wn] = t, delete e.currentTarget, K(d), Tn(f);
|
|
1327
1331
|
}
|
|
1328
1332
|
}
|
|
1329
1333
|
}
|
|
1330
1334
|
//#endregion
|
|
1331
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1332
|
-
var
|
|
1333
|
-
function
|
|
1334
|
-
return
|
|
1335
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/reconciler.js
|
|
1336
|
+
var Xn = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
|
|
1337
|
+
function Zn(e) {
|
|
1338
|
+
return Xn?.createHTML(e) ?? e;
|
|
1335
1339
|
}
|
|
1336
|
-
function
|
|
1337
|
-
var t =
|
|
1338
|
-
return t.innerHTML =
|
|
1340
|
+
function Qn(e) {
|
|
1341
|
+
var t = qt("template");
|
|
1342
|
+
return t.innerHTML = Zn(e.replaceAll("<!>", "<!---->")), t.content;
|
|
1339
1343
|
}
|
|
1340
1344
|
//#endregion
|
|
1341
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1342
|
-
function
|
|
1343
|
-
var n =
|
|
1345
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/template.js
|
|
1346
|
+
function $n(e, t) {
|
|
1347
|
+
var n = q;
|
|
1344
1348
|
n.nodes === null && (n.nodes = {
|
|
1345
1349
|
start: e,
|
|
1346
1350
|
end: t,
|
|
@@ -1349,56 +1353,56 @@ function tr(e, t) {
|
|
|
1349
1353
|
});
|
|
1350
1354
|
}
|
|
1351
1355
|
/*#__NO_SIDE_EFFECTS__*/
|
|
1352
|
-
function
|
|
1356
|
+
function er(e, t) {
|
|
1353
1357
|
var n = (t & 1) != 0, r = (t & 2) != 0, i, a = !e.startsWith("<!>");
|
|
1354
1358
|
return () => {
|
|
1355
|
-
if (D) return
|
|
1356
|
-
i === void 0 && (i =
|
|
1357
|
-
var t = r ||
|
|
1359
|
+
if (D) return $n(k, null), k;
|
|
1360
|
+
i === void 0 && (i = Qn(a ? e : "<!>" + e), n || (i = /* @__PURE__ */ Bt(i)));
|
|
1361
|
+
var t = r || Ft ? document.importNode(i, !0) : i.cloneNode(!0);
|
|
1358
1362
|
if (n) {
|
|
1359
|
-
var o = /* @__PURE__ */
|
|
1360
|
-
|
|
1361
|
-
} else
|
|
1363
|
+
var o = /* @__PURE__ */ Bt(t), s = t.lastChild;
|
|
1364
|
+
$n(o, s);
|
|
1365
|
+
} else $n(t, t);
|
|
1362
1366
|
return t;
|
|
1363
1367
|
};
|
|
1364
1368
|
}
|
|
1365
|
-
function
|
|
1369
|
+
function tr(e, t) {
|
|
1366
1370
|
if (D) {
|
|
1367
|
-
var n =
|
|
1368
|
-
(!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end =
|
|
1371
|
+
var n = q;
|
|
1372
|
+
(!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end = k), me();
|
|
1369
1373
|
return;
|
|
1370
1374
|
}
|
|
1371
1375
|
e !== null && e.before(t);
|
|
1372
1376
|
}
|
|
1373
1377
|
[.../* @__PURE__ */ "allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback".split(".")];
|
|
1374
|
-
var
|
|
1375
|
-
function
|
|
1376
|
-
return
|
|
1378
|
+
var nr = ["touchstart", "touchmove"];
|
|
1379
|
+
function rr(e) {
|
|
1380
|
+
return nr.includes(e);
|
|
1377
1381
|
}
|
|
1378
1382
|
//#endregion
|
|
1379
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1380
|
-
function
|
|
1381
|
-
let t = 0, n =
|
|
1383
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/reactivity/create-subscriber.js
|
|
1384
|
+
function ir(e) {
|
|
1385
|
+
let t = 0, n = Tt(0), r;
|
|
1382
1386
|
return () => {
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
--t, t === 0 && (r?.(), r = void 0,
|
|
1387
|
+
Qt() && (Z(n), sn(() => (t === 0 && (r = Un(() => e(() => jt(n)))), t += 1, () => {
|
|
1388
|
+
ze(() => {
|
|
1389
|
+
--t, t === 0 && (r?.(), r = void 0, jt(n));
|
|
1386
1390
|
});
|
|
1387
1391
|
})));
|
|
1388
1392
|
};
|
|
1389
1393
|
}
|
|
1390
1394
|
//#endregion
|
|
1391
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1392
|
-
var
|
|
1393
|
-
function
|
|
1394
|
-
new
|
|
1395
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
|
|
1396
|
+
var ar = ne | S;
|
|
1397
|
+
function or(e, t, n, r) {
|
|
1398
|
+
new sr(e, t, n, r);
|
|
1395
1399
|
}
|
|
1396
|
-
var
|
|
1400
|
+
var sr = class {
|
|
1397
1401
|
parent;
|
|
1398
1402
|
is_pending = !1;
|
|
1399
1403
|
transform_error;
|
|
1400
1404
|
#e;
|
|
1401
|
-
#t = D ?
|
|
1405
|
+
#t = D ? k : null;
|
|
1402
1406
|
#n;
|
|
1403
1407
|
#r;
|
|
1404
1408
|
#i;
|
|
@@ -1412,35 +1416,35 @@ var lr = class {
|
|
|
1412
1416
|
#f = /* @__PURE__ */ new Set();
|
|
1413
1417
|
#p = /* @__PURE__ */ new Set();
|
|
1414
1418
|
#m = null;
|
|
1415
|
-
#h =
|
|
1419
|
+
#h = ir(() => (this.#m = Tt(this.#l), () => {
|
|
1416
1420
|
this.#m = null;
|
|
1417
1421
|
}));
|
|
1418
1422
|
constructor(e, t, n, r) {
|
|
1419
1423
|
this.#e = e, this.#n = t, this.#r = (e) => {
|
|
1420
|
-
var t =
|
|
1424
|
+
var t = q;
|
|
1421
1425
|
t.b = this, t.f |= 128, n(e);
|
|
1422
|
-
}, this.parent =
|
|
1426
|
+
}, this.parent = q.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = ln(() => {
|
|
1423
1427
|
if (D) {
|
|
1424
1428
|
let e = this.#t;
|
|
1425
|
-
|
|
1429
|
+
me();
|
|
1426
1430
|
let t = e.data === "[!";
|
|
1427
1431
|
if (e.data.startsWith("[?")) {
|
|
1428
1432
|
let t = JSON.parse(e.data.slice(2));
|
|
1429
1433
|
this.#_(t);
|
|
1430
1434
|
} else t ? this.#y() : this.#g();
|
|
1431
1435
|
} else this.#b();
|
|
1432
|
-
},
|
|
1436
|
+
}, ar), D && (this.#e = k);
|
|
1433
1437
|
}
|
|
1434
1438
|
#g() {
|
|
1435
1439
|
try {
|
|
1436
|
-
this.#a =
|
|
1440
|
+
this.#a = un(() => this.#r(this.#e));
|
|
1437
1441
|
} catch (e) {
|
|
1438
1442
|
this.error(e);
|
|
1439
1443
|
}
|
|
1440
1444
|
}
|
|
1441
1445
|
#_(e) {
|
|
1442
1446
|
let t = this.#n.failed, { reset: n, invoke_onerror: r } = this.#v(e);
|
|
1443
|
-
|
|
1447
|
+
ze(r), t && (this.#s = un(() => {
|
|
1444
1448
|
t(this.#e, () => e, () => n);
|
|
1445
1449
|
}));
|
|
1446
1450
|
}
|
|
@@ -1448,10 +1452,10 @@ var lr = class {
|
|
|
1448
1452
|
var t = !1, n = !1;
|
|
1449
1453
|
let r = () => {
|
|
1450
1454
|
if (t) {
|
|
1451
|
-
|
|
1455
|
+
pe();
|
|
1452
1456
|
return;
|
|
1453
1457
|
}
|
|
1454
|
-
t = !0, n &&
|
|
1458
|
+
t = !0, n && je(), this.#s !== null && gn(this.#s, () => {
|
|
1455
1459
|
this.#s = null;
|
|
1456
1460
|
}), this.#S(() => {
|
|
1457
1461
|
this.#b();
|
|
@@ -1463,45 +1467,45 @@ var lr = class {
|
|
|
1463
1467
|
try {
|
|
1464
1468
|
n = !0, this.#n.onerror?.(e, r), n = !1;
|
|
1465
1469
|
} catch (e) {
|
|
1466
|
-
|
|
1470
|
+
V(e, this.#i && this.#i.parent);
|
|
1467
1471
|
}
|
|
1468
1472
|
}
|
|
1469
1473
|
};
|
|
1470
1474
|
}
|
|
1471
1475
|
#y() {
|
|
1472
1476
|
let e = this.#n.pending;
|
|
1473
|
-
e && (this.is_pending = !0, this.#o =
|
|
1474
|
-
var e = this.#c = document.createDocumentFragment(), t =
|
|
1477
|
+
e && (this.is_pending = !0, this.#o = un(() => e(this.#e)), ze(() => {
|
|
1478
|
+
var e = this.#c = document.createDocumentFragment(), t = zt(), n = !1;
|
|
1475
1479
|
if (e.append(t), this.#a = this.#S(() => {
|
|
1476
1480
|
try {
|
|
1477
|
-
return
|
|
1481
|
+
return un(() => this.#r(t));
|
|
1478
1482
|
} catch (e) {
|
|
1479
1483
|
try {
|
|
1480
1484
|
this.error(e), n = !0;
|
|
1481
1485
|
} catch (e) {
|
|
1482
|
-
|
|
1486
|
+
V(e, this.#i.parent);
|
|
1483
1487
|
}
|
|
1484
1488
|
return null;
|
|
1485
1489
|
}
|
|
1486
1490
|
}), this.#a === null) {
|
|
1487
|
-
this.#c = null, n && this.#x(
|
|
1491
|
+
this.#c = null, n && this.#x(F);
|
|
1488
1492
|
return;
|
|
1489
1493
|
}
|
|
1490
|
-
this.#u === 0 && (this.#e.before(e), this.#c = null,
|
|
1494
|
+
this.#u === 0 && (this.#e.before(e), this.#c = null, gn(this.#o, () => {
|
|
1491
1495
|
this.#o = null;
|
|
1492
|
-
}), this.#x(
|
|
1496
|
+
}), this.#x(F));
|
|
1493
1497
|
}));
|
|
1494
1498
|
}
|
|
1495
1499
|
#b() {
|
|
1496
1500
|
try {
|
|
1497
|
-
if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a =
|
|
1501
|
+
if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a = un(() => {
|
|
1498
1502
|
this.#r(this.#e);
|
|
1499
1503
|
}), this.#u > 0) {
|
|
1500
1504
|
var e = this.#c = document.createDocumentFragment();
|
|
1501
|
-
|
|
1505
|
+
bn(this.#a, e);
|
|
1502
1506
|
let t = this.#n.pending;
|
|
1503
|
-
this.#o =
|
|
1504
|
-
} else this.#x(
|
|
1507
|
+
this.#o = un(() => t(this.#e));
|
|
1508
|
+
} else this.#x(F);
|
|
1505
1509
|
} catch (e) {
|
|
1506
1510
|
this.error(e);
|
|
1507
1511
|
}
|
|
@@ -1510,7 +1514,7 @@ var lr = class {
|
|
|
1510
1514
|
this.is_pending = !1, e.transfer_effects(this.#f, this.#p);
|
|
1511
1515
|
}
|
|
1512
1516
|
defer_effect(e) {
|
|
1513
|
-
|
|
1517
|
+
Ue(e, this.#f, this.#p);
|
|
1514
1518
|
}
|
|
1515
1519
|
is_rendered() {
|
|
1516
1520
|
return !this.is_pending && (!this.parent || this.parent.is_rendered());
|
|
@@ -1519,12 +1523,12 @@ var lr = class {
|
|
|
1519
1523
|
return !!this.#n.pending;
|
|
1520
1524
|
}
|
|
1521
1525
|
#S(e) {
|
|
1522
|
-
var t =
|
|
1523
|
-
|
|
1526
|
+
var t = q, n = W, r = N;
|
|
1527
|
+
Tn(this.#i), K(this.#i), Me(this.#i.ctx);
|
|
1524
1528
|
try {
|
|
1525
|
-
return
|
|
1529
|
+
return mt.ensure(), e();
|
|
1526
1530
|
} finally {
|
|
1527
|
-
|
|
1531
|
+
Tn(t), K(n), Me(r);
|
|
1528
1532
|
}
|
|
1529
1533
|
}
|
|
1530
1534
|
#C(e, t) {
|
|
@@ -1532,13 +1536,13 @@ var lr = class {
|
|
|
1532
1536
|
this.parent && this.parent.#C(e, t);
|
|
1533
1537
|
return;
|
|
1534
1538
|
}
|
|
1535
|
-
this.#u += e, this.#u === 0 && (this.#x(t), this.#o &&
|
|
1539
|
+
this.#u += e, this.#u === 0 && (this.#x(t), this.#o && gn(this.#o, () => {
|
|
1536
1540
|
this.#o = null;
|
|
1537
1541
|
}), this.#c &&= (this.#e.before(this.#c), null));
|
|
1538
1542
|
}
|
|
1539
1543
|
update_pending_count(e, t) {
|
|
1540
|
-
this.#C(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0,
|
|
1541
|
-
this.#d = !1, this.#m &&
|
|
1544
|
+
this.#C(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, ze(() => {
|
|
1545
|
+
this.#d = !1, this.#m && kt(this.#m, this.#l);
|
|
1542
1546
|
}));
|
|
1543
1547
|
}
|
|
1544
1548
|
get_effect_pending() {
|
|
@@ -1546,107 +1550,107 @@ var lr = class {
|
|
|
1546
1550
|
}
|
|
1547
1551
|
error(e) {
|
|
1548
1552
|
if (!this.#n.onerror && !this.#n.failed) throw e;
|
|
1549
|
-
|
|
1553
|
+
F?.is_fork ? (this.#a && F.skip_effect(this.#a), this.#o && F.skip_effect(this.#o), this.#s && F.skip_effect(this.#s), F.oncommit(() => {
|
|
1550
1554
|
this.#w(e);
|
|
1551
1555
|
})) : this.#w(e);
|
|
1552
1556
|
}
|
|
1553
1557
|
#w(e) {
|
|
1554
|
-
this.#a &&= (
|
|
1558
|
+
this.#a &&= (U(this.#a), null), this.#o &&= (U(this.#o), null), this.#s &&= (U(this.#s), null), D && (A(this.#t), j(), A(M()));
|
|
1555
1559
|
let t = this.#n.failed, n = (e) => {
|
|
1556
1560
|
let { reset: n, invoke_onerror: r } = this.#v(e);
|
|
1557
1561
|
r(), t && (this.#s = this.#S(() => {
|
|
1558
1562
|
try {
|
|
1559
|
-
return
|
|
1560
|
-
var r =
|
|
1563
|
+
return un(() => {
|
|
1564
|
+
var r = q;
|
|
1561
1565
|
r.b = this, r.f |= 128, t(this.#e, () => e, () => n);
|
|
1562
1566
|
});
|
|
1563
1567
|
} catch (e) {
|
|
1564
|
-
return
|
|
1568
|
+
return V(e, this.#i.parent), null;
|
|
1565
1569
|
}
|
|
1566
1570
|
}));
|
|
1567
1571
|
};
|
|
1568
|
-
|
|
1572
|
+
ze(() => {
|
|
1569
1573
|
var t;
|
|
1570
1574
|
try {
|
|
1571
1575
|
t = this.transform_error(e);
|
|
1572
1576
|
} catch (e) {
|
|
1573
|
-
|
|
1577
|
+
V(e, this.#i && this.#i.parent);
|
|
1574
1578
|
return;
|
|
1575
1579
|
}
|
|
1576
|
-
typeof t == "object" && t && typeof t.then == "function" ? t.then(n, (e) =>
|
|
1580
|
+
typeof t == "object" && t && typeof t.then == "function" ? t.then(n, (e) => V(e, this.#i && this.#i.parent)) : n(t);
|
|
1577
1581
|
});
|
|
1578
1582
|
}
|
|
1579
1583
|
};
|
|
1580
|
-
function
|
|
1584
|
+
function cr(e, t) {
|
|
1581
1585
|
var n = t == null ? "" : typeof t == "object" ? `${t}` : t;
|
|
1582
|
-
n !== (e[
|
|
1586
|
+
n !== (e[le] ??= e.nodeValue) && (e[le] = n, e.nodeValue = `${n}`);
|
|
1583
1587
|
}
|
|
1584
|
-
function
|
|
1585
|
-
return
|
|
1588
|
+
function lr(e, t) {
|
|
1589
|
+
return fr(e, t);
|
|
1586
1590
|
}
|
|
1587
|
-
function
|
|
1588
|
-
|
|
1589
|
-
let r = n.target, i = D, a =
|
|
1591
|
+
function ur(e, n) {
|
|
1592
|
+
Rt(), n.intro = n.intro ?? !1;
|
|
1593
|
+
let r = n.target, i = D, a = k;
|
|
1590
1594
|
try {
|
|
1591
|
-
for (var o = /* @__PURE__ */
|
|
1595
|
+
for (var o = /* @__PURE__ */ Bt(r); o && (o.nodeType !== 8 || o.data !== "[");) o = /* @__PURE__ */ Vt(o);
|
|
1592
1596
|
if (!o) throw t;
|
|
1593
|
-
|
|
1594
|
-
let i =
|
|
1597
|
+
O(!0), A(o);
|
|
1598
|
+
let i = fr(e, {
|
|
1595
1599
|
...n,
|
|
1596
1600
|
anchor: o
|
|
1597
1601
|
});
|
|
1598
|
-
return
|
|
1602
|
+
return O(!1), i;
|
|
1599
1603
|
} catch (i) {
|
|
1600
1604
|
if (i instanceof Error && i.message.split("\n").some((e) => e.startsWith("https://svelte.dev/e/"))) throw i;
|
|
1601
|
-
return i !== t && console.warn("Failed to hydrate: ", i), n.recover === !1 &&
|
|
1605
|
+
return i !== t && console.warn("Failed to hydrate: ", i), n.recover === !1 && Ee(), Rt(), Gt(r), O(!1), lr(e, n);
|
|
1602
1606
|
} finally {
|
|
1603
|
-
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
var
|
|
1607
|
-
function
|
|
1608
|
-
|
|
1609
|
-
var u = void 0, d =
|
|
1610
|
-
var c = r ?? n.appendChild(
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
var r =
|
|
1614
|
-
if (s && (r.c = s), a && (i.$$events = a), D &&
|
|
1615
|
-
|
|
1607
|
+
O(i), A(a);
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
var dr = /* @__PURE__ */ new Map();
|
|
1611
|
+
function fr(e, { target: n, anchor: r, props: i = {}, events: a, context: s, intro: c = !0, transformError: l }) {
|
|
1612
|
+
Rt();
|
|
1613
|
+
var u = void 0, d = rn(() => {
|
|
1614
|
+
var c = r ?? n.appendChild(zt());
|
|
1615
|
+
or(c, { pending: () => {} }, (n) => {
|
|
1616
|
+
Ne({});
|
|
1617
|
+
var r = N;
|
|
1618
|
+
if (s && (r.c = s), a && (i.$$events = a), D && $n(n, null), u = e(n, i) || Fe(), D && (q.nodes.end = k, k === null || k.nodeType !== 8 || k.data !== "]")) throw fe(), t;
|
|
1619
|
+
Pe();
|
|
1616
1620
|
}, l);
|
|
1617
1621
|
var d = /* @__PURE__ */ new Set(), f = (e) => {
|
|
1618
1622
|
for (var t = 0; t < e.length; t++) {
|
|
1619
1623
|
var r = e[t];
|
|
1620
1624
|
if (!d.has(r)) {
|
|
1621
1625
|
d.add(r);
|
|
1622
|
-
var i =
|
|
1626
|
+
var i = rr(r);
|
|
1623
1627
|
for (let e of [n, document]) {
|
|
1624
|
-
var a =
|
|
1625
|
-
a === void 0 && (a = /* @__PURE__ */ new Map(),
|
|
1628
|
+
var a = dr.get(e);
|
|
1629
|
+
a === void 0 && (a = /* @__PURE__ */ new Map(), dr.set(e, a));
|
|
1626
1630
|
var o = a.get(r);
|
|
1627
|
-
o === void 0 ? (e.addEventListener(r,
|
|
1631
|
+
o === void 0 ? (e.addEventListener(r, Yn, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
|
|
1628
1632
|
}
|
|
1629
1633
|
}
|
|
1630
1634
|
}
|
|
1631
1635
|
};
|
|
1632
|
-
return f(o(
|
|
1636
|
+
return f(o(Gn)), Kn.add(f), () => {
|
|
1633
1637
|
for (var e of d) for (let r of [n, document]) {
|
|
1634
|
-
var t =
|
|
1635
|
-
--i == 0 ? (r.removeEventListener(e,
|
|
1638
|
+
var t = dr.get(r), i = t.get(e);
|
|
1639
|
+
--i == 0 ? (r.removeEventListener(e, Yn), t.delete(e), t.size === 0 && dr.delete(r)) : t.set(e, i);
|
|
1636
1640
|
}
|
|
1637
|
-
|
|
1641
|
+
Kn.delete(f), c !== r && c.parentNode?.removeChild(c);
|
|
1638
1642
|
};
|
|
1639
1643
|
});
|
|
1640
|
-
return
|
|
1644
|
+
return pr.set(u, d), u;
|
|
1641
1645
|
}
|
|
1642
|
-
var
|
|
1643
|
-
function
|
|
1644
|
-
let n =
|
|
1645
|
-
return n ? (
|
|
1646
|
+
var pr = /* @__PURE__ */ new WeakMap();
|
|
1647
|
+
function mr(e, t) {
|
|
1648
|
+
let n = pr.get(e);
|
|
1649
|
+
return n ? (pr.delete(e), n(t)) : Promise.resolve();
|
|
1646
1650
|
}
|
|
1647
1651
|
//#endregion
|
|
1648
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1649
|
-
var
|
|
1652
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/branches.js
|
|
1653
|
+
var hr = class {
|
|
1650
1654
|
anchor;
|
|
1651
1655
|
#e = /* @__PURE__ */ new Map();
|
|
1652
1656
|
#t = /* @__PURE__ */ new Map();
|
|
@@ -1659,77 +1663,77 @@ var _r = class {
|
|
|
1659
1663
|
#a = (e) => {
|
|
1660
1664
|
if (this.#e.has(e)) {
|
|
1661
1665
|
var t = this.#e.get(e), n = this.#t.get(t);
|
|
1662
|
-
if (n)
|
|
1666
|
+
if (n) vn(n), this.#r.delete(t);
|
|
1663
1667
|
else {
|
|
1664
1668
|
var r = this.#n.get(t);
|
|
1665
|
-
r && (
|
|
1669
|
+
r && (vn(r.effect), this.#t.set(t, r.effect), this.#n.delete(t), r.fragment.lastChild.remove(), this.anchor.before(r.fragment), n = r.effect);
|
|
1666
1670
|
}
|
|
1667
1671
|
for (let [t, n] of this.#e) {
|
|
1668
1672
|
if (this.#e.delete(t), t === e) break;
|
|
1669
1673
|
let r = this.#n.get(n);
|
|
1670
|
-
r && (
|
|
1674
|
+
r && (U(r.effect), this.#n.delete(n));
|
|
1671
1675
|
}
|
|
1672
1676
|
for (let [e, r] of this.#t) {
|
|
1673
1677
|
if (e === t || this.#r.has(e)) continue;
|
|
1674
1678
|
let i = () => {
|
|
1675
1679
|
if (Array.from(this.#e.values()).includes(e)) {
|
|
1676
1680
|
var t = document.createDocumentFragment();
|
|
1677
|
-
|
|
1681
|
+
bn(r, t), t.append(zt()), this.#n.set(e, {
|
|
1678
1682
|
effect: r,
|
|
1679
1683
|
fragment: t
|
|
1680
1684
|
});
|
|
1681
|
-
} else
|
|
1685
|
+
} else U(r);
|
|
1682
1686
|
this.#r.delete(e), this.#t.delete(e);
|
|
1683
1687
|
};
|
|
1684
|
-
this.#i || !n ? (this.#r.add(e),
|
|
1688
|
+
this.#i || !n ? (this.#r.add(e), gn(r, i, !1)) : i();
|
|
1685
1689
|
}
|
|
1686
1690
|
}
|
|
1687
1691
|
};
|
|
1688
1692
|
#o = (e) => {
|
|
1689
1693
|
this.#e.delete(e);
|
|
1690
1694
|
let t = Array.from(this.#e.values());
|
|
1691
|
-
for (let [e, n] of this.#n) t.includes(e) || (
|
|
1695
|
+
for (let [e, n] of this.#n) t.includes(e) || (U(n.effect), this.#n.delete(e));
|
|
1692
1696
|
};
|
|
1693
1697
|
ensure(e, t) {
|
|
1694
|
-
var n =
|
|
1698
|
+
var n = F, r = Kt();
|
|
1695
1699
|
if (t && !this.#t.has(e) && !this.#n.has(e)) if (r) {
|
|
1696
|
-
var i = document.createDocumentFragment(), a =
|
|
1700
|
+
var i = document.createDocumentFragment(), a = zt();
|
|
1697
1701
|
i.append(a), this.#n.set(e, {
|
|
1698
|
-
effect:
|
|
1702
|
+
effect: un(() => t(a)),
|
|
1699
1703
|
fragment: i
|
|
1700
1704
|
});
|
|
1701
|
-
} else this.#t.set(e,
|
|
1705
|
+
} else this.#t.set(e, un(() => t(this.anchor)));
|
|
1702
1706
|
if (this.#e.set(n, e), r) {
|
|
1703
1707
|
for (let [t, r] of this.#t) t === e ? n.unskip_effect(r) : n.skip_effect(r);
|
|
1704
1708
|
for (let [t, r] of this.#n) t === e ? n.unskip_effect(r.effect) : n.skip_effect(r.effect);
|
|
1705
1709
|
n.oncommit(this.#a), n.ondiscard(this.#o);
|
|
1706
|
-
} else D && (this.anchor =
|
|
1710
|
+
} else D && (this.anchor = k), this.#a(n);
|
|
1707
1711
|
}
|
|
1708
1712
|
};
|
|
1709
|
-
function
|
|
1710
|
-
|
|
1711
|
-
let t =
|
|
1713
|
+
function gr(e) {
|
|
1714
|
+
N === null && be("onMount"), en(() => {
|
|
1715
|
+
let t = Un(e);
|
|
1712
1716
|
if (typeof t == "function") return t;
|
|
1713
1717
|
});
|
|
1714
1718
|
}
|
|
1715
1719
|
//#endregion
|
|
1716
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1717
|
-
function
|
|
1720
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/if.js
|
|
1721
|
+
function _r(e, t, n = !1) {
|
|
1718
1722
|
var r;
|
|
1719
|
-
D && (r =
|
|
1720
|
-
var i = new
|
|
1723
|
+
D && (r = k, me());
|
|
1724
|
+
var i = new hr(e), a = n ? ne : 0;
|
|
1721
1725
|
function o(e, t) {
|
|
1722
1726
|
if (D) {
|
|
1723
|
-
var n =
|
|
1727
|
+
var n = ge(r);
|
|
1724
1728
|
if (e !== parseInt(n.substring(1))) {
|
|
1725
|
-
var a =
|
|
1726
|
-
|
|
1729
|
+
var a = M();
|
|
1730
|
+
A(a), i.anchor = a, O(!1), i.ensure(e, t), O(!0);
|
|
1727
1731
|
return;
|
|
1728
1732
|
}
|
|
1729
1733
|
}
|
|
1730
1734
|
i.ensure(e, t);
|
|
1731
1735
|
}
|
|
1732
|
-
|
|
1736
|
+
ln(() => {
|
|
1733
1737
|
var e = !1;
|
|
1734
1738
|
t((t, n = 0) => {
|
|
1735
1739
|
e = !0, o(n, t);
|
|
@@ -1737,35 +1741,35 @@ function yr(e, t, n = !1) {
|
|
|
1737
1741
|
}, a);
|
|
1738
1742
|
}
|
|
1739
1743
|
//#endregion
|
|
1740
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1741
|
-
function
|
|
1742
|
-
|
|
1743
|
-
e =
|
|
1744
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/css.js
|
|
1745
|
+
function vr(e, t) {
|
|
1746
|
+
an(() => {
|
|
1747
|
+
e = q?.parent?.nodes?.start ?? e;
|
|
1744
1748
|
var n = e.getRootNode(), r = n.host ? n : n.head ?? n.ownerDocument.head;
|
|
1745
1749
|
if (!r.querySelector("#" + t.hash)) {
|
|
1746
|
-
let e =
|
|
1750
|
+
let e = qt("style");
|
|
1747
1751
|
e.id = t.hash, e.textContent = t.code, r.appendChild(e);
|
|
1748
1752
|
}
|
|
1749
1753
|
});
|
|
1750
1754
|
}
|
|
1751
1755
|
//#endregion
|
|
1752
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1753
|
-
function
|
|
1756
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
|
|
1757
|
+
function yr(e, t) {
|
|
1754
1758
|
return e === t || e?.[E] === t;
|
|
1755
1759
|
}
|
|
1756
|
-
function
|
|
1757
|
-
var i =
|
|
1758
|
-
return
|
|
1760
|
+
function br(e = Fe(), t, n, r) {
|
|
1761
|
+
var i = N.r, a = q;
|
|
1762
|
+
return an(() => {
|
|
1759
1763
|
var o, s;
|
|
1760
|
-
return
|
|
1761
|
-
o = s, s = r?.() || [],
|
|
1762
|
-
|
|
1764
|
+
return sn(() => {
|
|
1765
|
+
o = s, s = r?.() || [], Un(() => {
|
|
1766
|
+
yr(n(...s), e) || (t(e, ...s), o && yr(n(...o), e) && t(null, ...o));
|
|
1763
1767
|
});
|
|
1764
1768
|
}), () => {
|
|
1765
1769
|
let r = a;
|
|
1766
1770
|
for (; r !== i && r.parent !== null && r.parent.f & 33554432;) r = r.parent;
|
|
1767
1771
|
let o = () => {
|
|
1768
|
-
s &&
|
|
1772
|
+
s && yr(n(...s), e) && t(null, ...s);
|
|
1769
1773
|
}, c = r.teardown;
|
|
1770
1774
|
r.teardown = () => {
|
|
1771
1775
|
o(), c?.();
|
|
@@ -1774,16 +1778,27 @@ function Sr(e = Le(), t, n, r) {
|
|
|
1774
1778
|
}), e;
|
|
1775
1779
|
}
|
|
1776
1780
|
//#endregion
|
|
1777
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1781
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/store.js
|
|
1782
|
+
var xr = !1;
|
|
1783
|
+
function Sr(e) {
|
|
1784
|
+
var t = xr;
|
|
1785
|
+
try {
|
|
1786
|
+
return xr = !1, [e(), xr];
|
|
1787
|
+
} finally {
|
|
1788
|
+
xr = t;
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
//#endregion
|
|
1792
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/props.js
|
|
1778
1793
|
function Q(e, t, n, r) {
|
|
1779
|
-
var i = !0, a = (n & 8) != 0, o = (n & 16) != 0, s = r, c = !0, u = void 0, d = () => o && i ? (u ??= /* @__PURE__ */
|
|
1794
|
+
var i = !0, a = (n & 8) != 0, o = (n & 16) != 0, s = r, c = !0, u = void 0, d = () => o && i ? (u ??= /* @__PURE__ */ Ye(r), Z(u)) : (c && (c = !1, s = o ? Un(r) : r), s);
|
|
1780
1795
|
let f;
|
|
1781
1796
|
if (a) {
|
|
1782
|
-
var p = E in e ||
|
|
1797
|
+
var p = E in e || ae in e;
|
|
1783
1798
|
f = l(e, t)?.set ?? (p && t in e ? (n) => e[t] = n : void 0);
|
|
1784
1799
|
}
|
|
1785
1800
|
var m, h = !1;
|
|
1786
|
-
a ? [m, h] =
|
|
1801
|
+
a ? [m, h] = Sr(() => e[t]) : m = e[t], m === void 0 && r !== void 0 && (m = d(), f && (i && De(t), f(m)));
|
|
1787
1802
|
var g = i ? () => {
|
|
1788
1803
|
var n = e[t];
|
|
1789
1804
|
return n === void 0 ? d() : (c = !0, n);
|
|
@@ -1798,19 +1813,19 @@ function Q(e, t, n, r) {
|
|
|
1798
1813
|
return arguments.length > 0 ? ((!i || !t || _ || h) && f(t ? g() : e), e) : g();
|
|
1799
1814
|
});
|
|
1800
1815
|
}
|
|
1801
|
-
var v = !1, y = (n & 1 ?
|
|
1816
|
+
var v = !1, y = (n & 1 ? Ye : $e)(() => (v = !1, g()));
|
|
1802
1817
|
a && Z(y);
|
|
1803
|
-
var b =
|
|
1818
|
+
var b = q;
|
|
1804
1819
|
return (function(e, t) {
|
|
1805
1820
|
if (arguments.length > 0) {
|
|
1806
|
-
let n = t ? Z(y) : i && a ?
|
|
1807
|
-
return
|
|
1821
|
+
let n = t ? Z(y) : i && a ? Nt(e) : e;
|
|
1822
|
+
return B(y, n), v = !0, s !== void 0 && (s = n), e;
|
|
1808
1823
|
}
|
|
1809
|
-
return
|
|
1824
|
+
return Cn && v || b.f & 16384 ? y.v : Z(y);
|
|
1810
1825
|
});
|
|
1811
1826
|
}
|
|
1812
1827
|
//#endregion
|
|
1813
|
-
//#region ../../node_modules/.bun/svelte@5.57.
|
|
1828
|
+
//#region ../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/legacy/legacy-client.js
|
|
1814
1829
|
function Cr(e) {
|
|
1815
1830
|
return new wr(e);
|
|
1816
1831
|
}
|
|
@@ -1819,7 +1834,7 @@ var wr = class {
|
|
|
1819
1834
|
#t;
|
|
1820
1835
|
constructor(e) {
|
|
1821
1836
|
var t = /* @__PURE__ */ new Map(), n = (e, n) => {
|
|
1822
|
-
var r = /* @__PURE__ */
|
|
1837
|
+
var r = /* @__PURE__ */ Et(n, !1, !1);
|
|
1823
1838
|
return t.set(e, r), r;
|
|
1824
1839
|
};
|
|
1825
1840
|
let r = new Proxy({
|
|
@@ -1830,13 +1845,13 @@ var wr = class {
|
|
|
1830
1845
|
return Z(t.get(r) ?? n(r, Reflect.get(e, r)));
|
|
1831
1846
|
},
|
|
1832
1847
|
has(e, r) {
|
|
1833
|
-
return r ===
|
|
1848
|
+
return r === ae ? !0 : (Z(t.get(r) ?? n(r, Reflect.get(e, r))), Reflect.has(e, r));
|
|
1834
1849
|
},
|
|
1835
1850
|
set(e, r, i) {
|
|
1836
|
-
return
|
|
1851
|
+
return B(t.get(r) ?? n(r, i), i), Reflect.set(e, r, i);
|
|
1837
1852
|
}
|
|
1838
1853
|
});
|
|
1839
|
-
this.#t = (e.hydrate ?
|
|
1854
|
+
this.#t = (e.hydrate ? ur : lr)(e.component, {
|
|
1840
1855
|
target: e.target,
|
|
1841
1856
|
anchor: e.anchor,
|
|
1842
1857
|
props: r,
|
|
@@ -1844,7 +1859,7 @@ var wr = class {
|
|
|
1844
1859
|
intro: e.intro ?? !1,
|
|
1845
1860
|
recover: e.recover,
|
|
1846
1861
|
transformError: e.transformError
|
|
1847
|
-
}), (!e?.props?.$$host || e.sync === !1) &&
|
|
1862
|
+
}), (!e?.props?.$$host || e.sync === !1) && L(), this.#e = r.$$events;
|
|
1848
1863
|
for (let e of Object.keys(this.#t)) e === "$set" || e === "$destroy" || e === "$on" || c(this, e, {
|
|
1849
1864
|
get() {
|
|
1850
1865
|
return this.#t[e];
|
|
@@ -1857,7 +1872,7 @@ var wr = class {
|
|
|
1857
1872
|
this.#t.$set = (e) => {
|
|
1858
1873
|
Object.assign(r, e);
|
|
1859
1874
|
}, this.#t.$destroy = () => {
|
|
1860
|
-
|
|
1875
|
+
mr(this.#t);
|
|
1861
1876
|
};
|
|
1862
1877
|
}
|
|
1863
1878
|
$set(e) {
|
|
@@ -1907,8 +1922,8 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
|
|
|
1907
1922
|
if (await Promise.resolve(), !this.$$cn || this.$$c) return;
|
|
1908
1923
|
function e(e) {
|
|
1909
1924
|
return (t) => {
|
|
1910
|
-
let n =
|
|
1911
|
-
e !== "default" && (n.name = e),
|
|
1925
|
+
let n = qt("slot");
|
|
1926
|
+
e !== "default" && (n.name = e), tr(t, n);
|
|
1912
1927
|
};
|
|
1913
1928
|
}
|
|
1914
1929
|
let t = {}, n = Dr(this);
|
|
@@ -1926,8 +1941,8 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
|
|
|
1926
1941
|
$$slots: t,
|
|
1927
1942
|
$$host: this
|
|
1928
1943
|
}
|
|
1929
|
-
}), this.$$me =
|
|
1930
|
-
|
|
1944
|
+
}), this.$$me = nn(() => {
|
|
1945
|
+
sn(() => {
|
|
1931
1946
|
this.$$r = !0;
|
|
1932
1947
|
for (let e of s(this.$$c)) {
|
|
1933
1948
|
if (!this.$$p_d[e]?.reflect) continue;
|
|
@@ -2580,15 +2595,15 @@ async function Ci(e) {
|
|
|
2580
2595
|
}
|
|
2581
2596
|
//#endregion
|
|
2582
2597
|
//#region src/players/PieElementPlayer.svelte
|
|
2583
|
-
var wi = /* @__PURE__ */
|
|
2598
|
+
var wi = /* @__PURE__ */ er("<div class=\"loading-warning svelte-srjg3v\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"> </div>"), Ti = /* @__PURE__ */ er("<div class=\"loading svelte-srjg3v\"> <!></div>"), Ei = /* @__PURE__ */ er("<div class=\"error svelte-srjg3v\"><strong>Element player error:</strong> <pre class=\"svelte-srjg3v\"> </pre></div>"), Di = /* @__PURE__ */ er("<div class=\"demo-element-player element-player-host svelte-srjg3v\"><div class=\"element-player-mount svelte-srjg3v\"></div> <!> <!></div>"), Oi = {
|
|
2584
2599
|
hash: "svelte-srjg3v",
|
|
2585
2600
|
code: ".element-player-host.svelte-srjg3v {width:100%;min-height:100px;}.element-player-mount.svelte-srjg3v {width:100%;}.loading.svelte-srjg3v {padding:2rem;text-align:center;color:hsl(var(--bc) / 0.6);font-style:italic;}.loading-warning.svelte-srjg3v {margin-top:0.5rem;color:#9a6700;font-style:normal;}.error.svelte-srjg3v {padding:1rem;background:hsl(var(--er) / 0.1);border:1px solid hsl(var(--er) / 0.3);border-radius:4px;color:hsl(var(--er));}.error.svelte-srjg3v pre:where(.svelte-srjg3v) {margin:0.5rem 0 0;padding:0.5rem;background:#fff;border-radius:4px;font-size:0.875rem;overflow-x:auto;}"
|
|
2586
2601
|
};
|
|
2587
2602
|
function ki(t, n) {
|
|
2588
|
-
|
|
2603
|
+
Ne(n, !0), vr(t, Oi);
|
|
2589
2604
|
let r = Q(n, "strategy", 7, "esm"), i = Q(n, "view", 7, "delivery"), a = Q(n, "mode", 7, ""), o = Q(n, "elementName", 7, ""), s = Q(n, "packageName", 7, ""), c = Q(n, "elementVersion", 7, "latest"), l = Q(n, "role", 7, "student"), u = Q(n, "cdnUrl", 7, ""), d = Q(n, "iifeBundleEndpoint", 7, "/api/bundle"), f = Q(n, "iifeBundleHost", 7, ""), p = Q(n, "iifeBundleRetry", 7, Fr), m = Q(n, "preloadedFallbackStrategy", 7, "esm"), h = Q(n, "runtimeSupportCheck", 7, "off"), g = Q(n, "rebuildVersion", 7, 0), _ = Q(n, "model", 15), v = Q(n, "session", 15);
|
|
2590
2605
|
function y(e, t) {
|
|
2591
|
-
|
|
2606
|
+
Un(() => {
|
|
2592
2607
|
n.$$host.dispatchEvent(new CustomEvent(e, {
|
|
2593
2608
|
detail: t,
|
|
2594
2609
|
bubbles: !0,
|
|
@@ -2596,21 +2611,21 @@ function ki(t, n) {
|
|
|
2596
2611
|
}));
|
|
2597
2612
|
});
|
|
2598
2613
|
}
|
|
2599
|
-
let b, ee, x = /* @__PURE__ */
|
|
2614
|
+
let b, ee, x = /* @__PURE__ */ z(null), te = /* @__PURE__ */ z(null), ne = /* @__PURE__ */ z(!0), S = /* @__PURE__ */ z(null), C = /* @__PURE__ */ z(null), re = 0, w = null, T = null, E = null, ie = null, ae = !1, oe = !1, se = null, ce = null, le = !1, ue = !1, de = "", fe = "", pe = /* @__PURE__ */ new Set(["complete", "component"]), D = null, O = "", k = "", A = /* @__PURE__ */ Qe(() => {
|
|
2600
2615
|
if (Z(C)?.state !== "retrying") return null;
|
|
2601
2616
|
let e = Math.max(1, Math.ceil(Z(C).elapsedMs / 1e3)), t = Math.max(1, Math.ceil(Z(C).timeoutMs / 1e3));
|
|
2602
2617
|
return `Bundle is still building. Retrying attempt ${Z(C).attempt} (${e}s of ${t}s).`;
|
|
2603
2618
|
});
|
|
2604
|
-
function
|
|
2619
|
+
function me(e) {
|
|
2605
2620
|
if (!e || typeof e != "object") return !1;
|
|
2606
2621
|
let t = e;
|
|
2607
2622
|
return t.code === "LOAD_ABORTED" || typeof t.message == "string" && t.message.includes("aborted");
|
|
2608
2623
|
}
|
|
2609
|
-
let
|
|
2624
|
+
let j = /* @__PURE__ */ Qe(() => ti(r(), "esm")), M = /* @__PURE__ */ Qe(() => ri({
|
|
2610
2625
|
mode: a(),
|
|
2611
2626
|
view: i()
|
|
2612
|
-
}, "delivery")),
|
|
2613
|
-
function
|
|
2627
|
+
}, "delivery")), ge = /* @__PURE__ */ Qe(() => s() || (o() ? `@pie-element/${o()}` : ""));
|
|
2628
|
+
function _e(e) {
|
|
2614
2629
|
if (typeof e != "object" || !e) return e;
|
|
2615
2630
|
try {
|
|
2616
2631
|
return structuredClone(e);
|
|
@@ -2622,7 +2637,7 @@ function ki(t, n) {
|
|
|
2622
2637
|
}
|
|
2623
2638
|
}
|
|
2624
2639
|
}
|
|
2625
|
-
function
|
|
2640
|
+
function ve(e) {
|
|
2626
2641
|
try {
|
|
2627
2642
|
let t = JSON.stringify(e);
|
|
2628
2643
|
return t === void 0 ? "__undefined__" : t;
|
|
@@ -2630,47 +2645,47 @@ function ki(t, n) {
|
|
|
2630
2645
|
return `__unserializable__:${String(e)}`;
|
|
2631
2646
|
}
|
|
2632
2647
|
}
|
|
2633
|
-
function
|
|
2648
|
+
function ye(e) {
|
|
2634
2649
|
if (!e || typeof e != "object") return !1;
|
|
2635
2650
|
let t = e;
|
|
2636
2651
|
if ("session" in t) return !0;
|
|
2637
2652
|
let n = Object.keys(t);
|
|
2638
2653
|
return n.length !== 0 && !n.every((e) => pe.has(e));
|
|
2639
2654
|
}
|
|
2640
|
-
function
|
|
2641
|
-
|
|
2655
|
+
function be() {
|
|
2656
|
+
E && b && E.observe(b, {
|
|
2642
2657
|
childList: !0,
|
|
2643
2658
|
subtree: !0,
|
|
2644
2659
|
attributes: !1,
|
|
2645
2660
|
characterData: !1
|
|
2646
2661
|
});
|
|
2647
2662
|
}
|
|
2648
|
-
async function
|
|
2649
|
-
if (!(!
|
|
2663
|
+
async function xe() {
|
|
2664
|
+
if (!(!T || !b)) {
|
|
2650
2665
|
if (ae) {
|
|
2651
2666
|
oe = !0;
|
|
2652
2667
|
return;
|
|
2653
2668
|
}
|
|
2654
|
-
ae = !0,
|
|
2669
|
+
ae = !0, E && E.disconnect();
|
|
2655
2670
|
try {
|
|
2656
|
-
await
|
|
2671
|
+
await T(b);
|
|
2657
2672
|
} catch (e) {
|
|
2658
2673
|
console.error("[pie-element-player] Math rendering error:", e);
|
|
2659
2674
|
} finally {
|
|
2660
|
-
ae = !1,
|
|
2675
|
+
ae = !1, be(), oe && (oe = !1, queueMicrotask(() => void xe()));
|
|
2661
2676
|
}
|
|
2662
2677
|
}
|
|
2663
2678
|
}
|
|
2664
|
-
function
|
|
2679
|
+
function Se() {
|
|
2665
2680
|
Z(x) && (se &&= (Z(x).removeEventListener("session-changed", se), null), ce &&= (Z(x).removeEventListener("model.updated", ce, !0), null));
|
|
2666
2681
|
}
|
|
2667
|
-
function
|
|
2668
|
-
Z(x) && (
|
|
2669
|
-
if (le || ue || !
|
|
2682
|
+
function Ce(e) {
|
|
2683
|
+
Z(x) && (Se(), e === "delivery" && (se = (e) => {
|
|
2684
|
+
if (le || ue || !O) {
|
|
2670
2685
|
e.stopPropagation();
|
|
2671
2686
|
return;
|
|
2672
2687
|
}
|
|
2673
|
-
let t = e.detail, n = t && typeof t == "object" ? t : null, r =
|
|
2688
|
+
let t = e.detail, n = t && typeof t == "object" ? t : null, r = ye(n), i = Z(x)?.session, a = t?.session ?? i ?? v();
|
|
2674
2689
|
if (a === void 0) {
|
|
2675
2690
|
e.stopPropagation();
|
|
2676
2691
|
return;
|
|
@@ -2679,7 +2694,7 @@ function ki(t, n) {
|
|
|
2679
2694
|
e.stopPropagation();
|
|
2680
2695
|
return;
|
|
2681
2696
|
}
|
|
2682
|
-
let o =
|
|
2697
|
+
let o = _e(a ?? {}), s = ve(o);
|
|
2683
2698
|
if (s === fe) {
|
|
2684
2699
|
e.stopPropagation();
|
|
2685
2700
|
return;
|
|
@@ -2687,12 +2702,12 @@ function ki(t, n) {
|
|
|
2687
2702
|
let c = {
|
|
2688
2703
|
...n ?? {},
|
|
2689
2704
|
session: o
|
|
2690
|
-
}, l =
|
|
2705
|
+
}, l = ve(c);
|
|
2691
2706
|
if (l === de) {
|
|
2692
2707
|
e.stopPropagation();
|
|
2693
2708
|
return;
|
|
2694
2709
|
}
|
|
2695
|
-
de = l, fe = s, e.stopPropagation(), ue = !0, v(
|
|
2710
|
+
de = l, fe = s, e.stopPropagation(), ue = !0, v(_e(o)), k = ve(o);
|
|
2696
2711
|
try {
|
|
2697
2712
|
y("session-changed", c);
|
|
2698
2713
|
} finally {
|
|
@@ -2708,29 +2723,29 @@ function ki(t, n) {
|
|
|
2708
2723
|
}), y("model-changed", r);
|
|
2709
2724
|
}, Z(x).addEventListener("model.updated", ce, !0)));
|
|
2710
2725
|
}
|
|
2711
|
-
function
|
|
2726
|
+
function we(e) {
|
|
2712
2727
|
if (!Z(x) || e == null) return;
|
|
2713
|
-
let t =
|
|
2714
|
-
t !==
|
|
2728
|
+
let t = ve(e ?? {});
|
|
2729
|
+
t !== O && (Z(x).model = _e(e ?? {}), O = t);
|
|
2715
2730
|
}
|
|
2716
|
-
function
|
|
2717
|
-
if (!Z(x) || Z(
|
|
2718
|
-
let t =
|
|
2719
|
-
if (t !==
|
|
2731
|
+
function Te(e) {
|
|
2732
|
+
if (!Z(x) || Z(M) !== "delivery" || e == null || !O) return;
|
|
2733
|
+
let t = ve(e ?? {});
|
|
2734
|
+
if (t !== k) {
|
|
2720
2735
|
le = !0;
|
|
2721
2736
|
try {
|
|
2722
|
-
Z(x).session =
|
|
2737
|
+
Z(x).session = _e(e ?? {}), k = t;
|
|
2723
2738
|
} finally {
|
|
2724
2739
|
le = !1;
|
|
2725
2740
|
}
|
|
2726
2741
|
}
|
|
2727
2742
|
}
|
|
2728
|
-
function
|
|
2729
|
-
!Z(x) || Z(
|
|
2743
|
+
function Ee(e) {
|
|
2744
|
+
!Z(x) || Z(M) !== "print" || e === D || (Z(x).role = e, Z(x).options = { role: e }, D = e);
|
|
2730
2745
|
}
|
|
2731
|
-
async function
|
|
2732
|
-
if (!o() || !Z(
|
|
2733
|
-
|
|
2746
|
+
async function De() {
|
|
2747
|
+
if (!o() || !Z(ge)) {
|
|
2748
|
+
B(ne, !1), B(S, "Missing required element metadata");
|
|
2734
2749
|
return;
|
|
2735
2750
|
}
|
|
2736
2751
|
let e = ++re;
|
|
@@ -2738,8 +2753,8 @@ function ki(t, n) {
|
|
|
2738
2753
|
loading: !1,
|
|
2739
2754
|
error: null,
|
|
2740
2755
|
stage: "cancelled",
|
|
2741
|
-
strategy: Z(
|
|
2742
|
-
view: Z(
|
|
2756
|
+
strategy: Z(j),
|
|
2757
|
+
view: Z(M),
|
|
2743
2758
|
retry: {
|
|
2744
2759
|
state: "cancelled",
|
|
2745
2760
|
stage: "build-status",
|
|
@@ -2750,17 +2765,17 @@ function ki(t, n) {
|
|
|
2750
2765
|
}
|
|
2751
2766
|
}), y("load-cancelled", {
|
|
2752
2767
|
reason: "superseded by new load request",
|
|
2753
|
-
strategy: Z(
|
|
2754
|
-
view: Z(
|
|
2768
|
+
strategy: Z(j),
|
|
2769
|
+
view: Z(M)
|
|
2755
2770
|
}));
|
|
2756
2771
|
let t = new AbortController();
|
|
2757
|
-
w = t,
|
|
2772
|
+
w = t, B(ne, !0), B(S, null), B(C, null);
|
|
2758
2773
|
try {
|
|
2759
2774
|
let n = await Ci({
|
|
2760
|
-
strategy: Z(
|
|
2761
|
-
view: Z(
|
|
2775
|
+
strategy: Z(j),
|
|
2776
|
+
view: Z(M),
|
|
2762
2777
|
elementName: o(),
|
|
2763
|
-
packageName: Z(
|
|
2778
|
+
packageName: Z(ge),
|
|
2764
2779
|
elementVersion: c(),
|
|
2765
2780
|
cdnUrl: u(),
|
|
2766
2781
|
iifeBundleEndpoint: d(),
|
|
@@ -2769,12 +2784,12 @@ function ki(t, n) {
|
|
|
2769
2784
|
signal: t.signal,
|
|
2770
2785
|
runtimeSupportCheck: h(),
|
|
2771
2786
|
onIifeBundleRetryStatus: (t) => {
|
|
2772
|
-
e === re && (
|
|
2787
|
+
e === re && (B(C, t, !0), y("bundle-retry-status", t), y("build-state", {
|
|
2773
2788
|
loading: t.state === "retrying",
|
|
2774
2789
|
error: null,
|
|
2775
2790
|
stage: t.state,
|
|
2776
|
-
strategy: Z(
|
|
2777
|
-
view: Z(
|
|
2791
|
+
strategy: Z(j),
|
|
2792
|
+
view: Z(M),
|
|
2778
2793
|
retry: t
|
|
2779
2794
|
}));
|
|
2780
2795
|
},
|
|
@@ -2782,7 +2797,7 @@ function ki(t, n) {
|
|
|
2782
2797
|
rebuildVersion: g()
|
|
2783
2798
|
});
|
|
2784
2799
|
if (e !== re) return;
|
|
2785
|
-
n.bundleMeta && y("bundle-meta", n.bundleMeta), n.controllerDiagnostic && y("controller-load", n.controllerDiagnostic), n.controller && n.view === "delivery" && n.strategy === "iife" && y("controller-changed", n.controller), (!Z(x) || Z(te) !== n.tagName) && (
|
|
2800
|
+
n.bundleMeta && y("bundle-meta", n.bundleMeta), n.controllerDiagnostic && y("controller-load", n.controllerDiagnostic), n.controller && n.view === "delivery" && n.strategy === "iife" && y("controller-changed", n.controller), (!Z(x) || Z(te) !== n.tagName) && (Se(), Z(x) && Z(x).remove(), B(x, document.createElement(n.tagName), !0), B(te, n.tagName, !0), D = null, O = "", k = "", de = "", fe = ""), Ce(n.view), we(_()), Te(v()), Ee(l()), ee && Z(x).parentElement !== ee && ee.replaceChildren(Z(x)), y("build-state", {
|
|
2786
2801
|
loading: !1,
|
|
2787
2802
|
error: null,
|
|
2788
2803
|
stage: "completed"
|
|
@@ -2790,10 +2805,10 @@ function ki(t, n) {
|
|
|
2790
2805
|
strategy: n.strategy,
|
|
2791
2806
|
view: n.view,
|
|
2792
2807
|
tagName: n.tagName
|
|
2793
|
-
}),
|
|
2808
|
+
}), B(ne, !1), B(C, null), w === t && (w = null);
|
|
2794
2809
|
} catch (n) {
|
|
2795
2810
|
if (e !== re) return;
|
|
2796
|
-
if (
|
|
2811
|
+
if (me(n) || t.signal.aborted) {
|
|
2797
2812
|
let e = Z(C), r = e?.state === "cancelled" ? e : {
|
|
2798
2813
|
state: "cancelled",
|
|
2799
2814
|
stage: "build-status",
|
|
@@ -2802,44 +2817,44 @@ function ki(t, n) {
|
|
|
2802
2817
|
timeoutMs: p()?.timeoutMs ?? Fr.timeoutMs,
|
|
2803
2818
|
reason: n instanceof Error ? n.message : String(n)
|
|
2804
2819
|
};
|
|
2805
|
-
|
|
2820
|
+
B(S, null), B(ne, !1), B(C, r, !0), y("bundle-retry-status", r), y("build-state", {
|
|
2806
2821
|
loading: !1,
|
|
2807
2822
|
error: null,
|
|
2808
2823
|
stage: "cancelled",
|
|
2809
|
-
strategy: Z(
|
|
2810
|
-
view: Z(
|
|
2824
|
+
strategy: Z(j),
|
|
2825
|
+
view: Z(M),
|
|
2811
2826
|
retry: r
|
|
2812
2827
|
}), y("load-cancelled", {
|
|
2813
2828
|
reason: r.reason || "load cancelled",
|
|
2814
|
-
strategy: Z(
|
|
2815
|
-
view: Z(
|
|
2829
|
+
strategy: Z(j),
|
|
2830
|
+
view: Z(M)
|
|
2816
2831
|
}), w === t && (w = null);
|
|
2817
2832
|
return;
|
|
2818
2833
|
}
|
|
2819
|
-
|
|
2834
|
+
B(S, n instanceof Error ? n.message : String(n), !0), B(ne, !1);
|
|
2820
2835
|
let r = Z(C), i = r && (r.state === "timeout" || r.state === "completed") ? r : void 0;
|
|
2821
2836
|
y("build-state", {
|
|
2822
2837
|
loading: !1,
|
|
2823
2838
|
error: Z(S),
|
|
2824
2839
|
stage: "error",
|
|
2825
|
-
strategy: Z(
|
|
2826
|
-
view: Z(
|
|
2840
|
+
strategy: Z(j),
|
|
2841
|
+
view: Z(M),
|
|
2827
2842
|
retry: i
|
|
2828
2843
|
}), y("player-error", {
|
|
2829
2844
|
error: Z(S),
|
|
2830
|
-
strategy: Z(
|
|
2831
|
-
view: Z(
|
|
2845
|
+
strategy: Z(j),
|
|
2846
|
+
view: Z(M),
|
|
2832
2847
|
retry: i
|
|
2833
2848
|
}), w === t && (w = null);
|
|
2834
2849
|
}
|
|
2835
2850
|
}
|
|
2836
|
-
|
|
2851
|
+
en(() => {
|
|
2837
2852
|
[
|
|
2838
2853
|
o(),
|
|
2839
|
-
Z(
|
|
2854
|
+
Z(ge),
|
|
2840
2855
|
c(),
|
|
2841
|
-
Z(A),
|
|
2842
2856
|
Z(j),
|
|
2857
|
+
Z(M),
|
|
2843
2858
|
h(),
|
|
2844
2859
|
u(),
|
|
2845
2860
|
d(),
|
|
@@ -2847,138 +2862,138 @@ function ki(t, n) {
|
|
|
2847
2862
|
JSON.stringify(p() || Fr),
|
|
2848
2863
|
m(),
|
|
2849
2864
|
g()
|
|
2850
|
-
].join("|"),
|
|
2851
|
-
}),
|
|
2852
|
-
Z(x) && (
|
|
2865
|
+
].join("|"), De();
|
|
2866
|
+
}), en(() => {
|
|
2867
|
+
Z(x) && (we(_()), Te(v()), Ee(l()), requestAnimationFrame(() => {
|
|
2853
2868
|
requestAnimationFrame(() => {
|
|
2854
|
-
|
|
2869
|
+
xe();
|
|
2855
2870
|
});
|
|
2856
2871
|
}));
|
|
2857
|
-
}),
|
|
2858
|
-
|
|
2859
|
-
|
|
2872
|
+
}), gr(() => (T = e(), typeof window < "u" && (window["@pie-lib/math-rendering"] = { renderMath: T }), T && typeof window < "u" && T(document.createElement("div")), b && (E = new MutationObserver(() => {
|
|
2873
|
+
ie && clearTimeout(ie), ie = window.setTimeout(() => {
|
|
2874
|
+
xe();
|
|
2860
2875
|
}, 100);
|
|
2861
|
-
}),
|
|
2862
|
-
|
|
2876
|
+
}), be(), xe()), () => {
|
|
2877
|
+
ie &&= (clearTimeout(ie), null), E &&= (E.disconnect(), null), ee && ee.replaceChildren(), re++, w?.abort(), w = null, Se();
|
|
2863
2878
|
}));
|
|
2864
|
-
var
|
|
2879
|
+
var Oe = {
|
|
2865
2880
|
get strategy() {
|
|
2866
2881
|
return r();
|
|
2867
2882
|
},
|
|
2868
2883
|
set strategy(e = "esm") {
|
|
2869
|
-
r(e),
|
|
2884
|
+
r(e), L();
|
|
2870
2885
|
},
|
|
2871
2886
|
get view() {
|
|
2872
2887
|
return i();
|
|
2873
2888
|
},
|
|
2874
2889
|
set view(e = "delivery") {
|
|
2875
|
-
i(e),
|
|
2890
|
+
i(e), L();
|
|
2876
2891
|
},
|
|
2877
2892
|
get mode() {
|
|
2878
2893
|
return a();
|
|
2879
2894
|
},
|
|
2880
2895
|
set mode(e = "") {
|
|
2881
|
-
a(e),
|
|
2896
|
+
a(e), L();
|
|
2882
2897
|
},
|
|
2883
2898
|
get elementName() {
|
|
2884
2899
|
return o();
|
|
2885
2900
|
},
|
|
2886
2901
|
set elementName(e = "") {
|
|
2887
|
-
o(e),
|
|
2902
|
+
o(e), L();
|
|
2888
2903
|
},
|
|
2889
2904
|
get packageName() {
|
|
2890
2905
|
return s();
|
|
2891
2906
|
},
|
|
2892
2907
|
set packageName(e = "") {
|
|
2893
|
-
s(e),
|
|
2908
|
+
s(e), L();
|
|
2894
2909
|
},
|
|
2895
2910
|
get elementVersion() {
|
|
2896
2911
|
return c();
|
|
2897
2912
|
},
|
|
2898
2913
|
set elementVersion(e = "latest") {
|
|
2899
|
-
c(e),
|
|
2914
|
+
c(e), L();
|
|
2900
2915
|
},
|
|
2901
2916
|
get role() {
|
|
2902
2917
|
return l();
|
|
2903
2918
|
},
|
|
2904
2919
|
set role(e = "student") {
|
|
2905
|
-
l(e),
|
|
2920
|
+
l(e), L();
|
|
2906
2921
|
},
|
|
2907
2922
|
get cdnUrl() {
|
|
2908
2923
|
return u();
|
|
2909
2924
|
},
|
|
2910
2925
|
set cdnUrl(e = "") {
|
|
2911
|
-
u(e),
|
|
2926
|
+
u(e), L();
|
|
2912
2927
|
},
|
|
2913
2928
|
get iifeBundleEndpoint() {
|
|
2914
2929
|
return d();
|
|
2915
2930
|
},
|
|
2916
2931
|
set iifeBundleEndpoint(e = "/api/bundle") {
|
|
2917
|
-
d(e),
|
|
2932
|
+
d(e), L();
|
|
2918
2933
|
},
|
|
2919
2934
|
get iifeBundleHost() {
|
|
2920
2935
|
return f();
|
|
2921
2936
|
},
|
|
2922
2937
|
set iifeBundleHost(e = "") {
|
|
2923
|
-
f(e),
|
|
2938
|
+
f(e), L();
|
|
2924
2939
|
},
|
|
2925
2940
|
get iifeBundleRetry() {
|
|
2926
2941
|
return p();
|
|
2927
2942
|
},
|
|
2928
2943
|
set iifeBundleRetry(e = Fr) {
|
|
2929
|
-
p(e),
|
|
2944
|
+
p(e), L();
|
|
2930
2945
|
},
|
|
2931
2946
|
get preloadedFallbackStrategy() {
|
|
2932
2947
|
return m();
|
|
2933
2948
|
},
|
|
2934
2949
|
set preloadedFallbackStrategy(e = "esm") {
|
|
2935
|
-
m(e),
|
|
2950
|
+
m(e), L();
|
|
2936
2951
|
},
|
|
2937
2952
|
get runtimeSupportCheck() {
|
|
2938
2953
|
return h();
|
|
2939
2954
|
},
|
|
2940
2955
|
set runtimeSupportCheck(e = "off") {
|
|
2941
|
-
h(e),
|
|
2956
|
+
h(e), L();
|
|
2942
2957
|
},
|
|
2943
2958
|
get rebuildVersion() {
|
|
2944
2959
|
return g();
|
|
2945
2960
|
},
|
|
2946
2961
|
set rebuildVersion(e = 0) {
|
|
2947
|
-
g(e),
|
|
2962
|
+
g(e), L();
|
|
2948
2963
|
},
|
|
2949
2964
|
get model() {
|
|
2950
2965
|
return _();
|
|
2951
2966
|
},
|
|
2952
2967
|
set model(e) {
|
|
2953
|
-
_(e),
|
|
2968
|
+
_(e), L();
|
|
2954
2969
|
},
|
|
2955
2970
|
get session() {
|
|
2956
2971
|
return v();
|
|
2957
2972
|
},
|
|
2958
2973
|
set session(e) {
|
|
2959
|
-
v(e),
|
|
2960
|
-
}
|
|
2961
|
-
},
|
|
2962
|
-
|
|
2963
|
-
var
|
|
2964
|
-
var t = Ti(), n =
|
|
2965
|
-
var t = wi(), n =
|
|
2966
|
-
|
|
2974
|
+
v(e), L();
|
|
2975
|
+
}
|
|
2976
|
+
}, ke = Di(), Ae = Ht(ke);
|
|
2977
|
+
br(Ae, (e) => ee = e, () => ee);
|
|
2978
|
+
var je = Wt(Ae, 2), N = (e) => {
|
|
2979
|
+
var t = Ti(), n = Ht(t), r = Wt(n), i = (e) => {
|
|
2980
|
+
var t = wi(), n = Ut(t, !0);
|
|
2981
|
+
cn(() => cr(n, Z(A))), tr(e, t);
|
|
2967
2982
|
};
|
|
2968
|
-
|
|
2969
|
-
Z(
|
|
2970
|
-
}),
|
|
2983
|
+
_r(r, (e) => {
|
|
2984
|
+
Z(A) && e(i);
|
|
2985
|
+
}), he(t), cn(() => cr(n, `Loading ${o() ?? ""} (${Z(j) ?? ""}/${Z(M) ?? ""})... `)), tr(e, t);
|
|
2971
2986
|
};
|
|
2972
|
-
|
|
2973
|
-
Z(ne) && e(
|
|
2987
|
+
_r(je, (e) => {
|
|
2988
|
+
Z(ne) && e(N);
|
|
2974
2989
|
});
|
|
2975
|
-
var
|
|
2976
|
-
var t = Ei(), n =
|
|
2977
|
-
|
|
2990
|
+
var Me = Wt(je, 2), Fe = (e) => {
|
|
2991
|
+
var t = Ei(), n = Ut(Wt(Ht(t), 2), !0);
|
|
2992
|
+
he(t), cn(() => cr(n, Z(S))), tr(e, t);
|
|
2978
2993
|
};
|
|
2979
|
-
return
|
|
2980
|
-
Z(S) && e(
|
|
2981
|
-
}),
|
|
2994
|
+
return _r(Me, (e) => {
|
|
2995
|
+
Z(S) && e(Fe);
|
|
2996
|
+
}), he(ke), br(ke, (e) => b = e, () => b), tr(t, ke), Pe(Oe);
|
|
2982
2997
|
}
|
|
2983
2998
|
customElements.define("pie-element-player", Or(ki, {
|
|
2984
2999
|
strategy: {
|