@pie-players/pie-tool-tts-inline 0.3.55 → 0.3.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tool-tts-inline.js +1112 -933
- package/package.json +3 -3
package/dist/tool-tts-inline.js
CHANGED
|
@@ -17,85 +17,85 @@ function S() {
|
|
|
17
17
|
reject: t
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
var C = 1024, w = 2048, T = 4096, E = 8192, D = 16384,
|
|
20
|
+
var C = 1024, w = 2048, T = 4096, E = 8192, D = 16384, O = 32768, ee = 1 << 25, te = 65536, k = 1 << 19, ne = 1 << 20, re = 1 << 25, ie = 65536, ae = 1 << 21, oe = 1 << 22, se = 1 << 23, A = Symbol("$state"), ce = Symbol("legacy props"), le = Symbol(""), ue = Symbol("attributes"), j = Symbol("class"), de = Symbol("style"), fe = Symbol("text"), pe = new class extends Error {
|
|
21
21
|
name = "StaleReactionError";
|
|
22
22
|
message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
|
|
23
|
-
}(),
|
|
23
|
+
}(), me = !!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml");
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/errors.js
|
|
26
|
-
function
|
|
26
|
+
function he() {
|
|
27
27
|
throw Error("https://svelte.dev/e/async_derived_orphan");
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function ge(e, t, n) {
|
|
30
30
|
throw Error("https://svelte.dev/e/each_key_duplicate");
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function _e(e) {
|
|
33
33
|
throw Error("https://svelte.dev/e/effect_in_teardown");
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ve() {
|
|
36
36
|
throw Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function ye(e) {
|
|
39
39
|
throw Error("https://svelte.dev/e/effect_orphan");
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function be() {
|
|
42
42
|
throw Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function xe() {
|
|
45
45
|
throw Error("https://svelte.dev/e/hydration_failed");
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Se(e) {
|
|
48
48
|
throw Error("https://svelte.dev/e/props_invalid_value");
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ce() {
|
|
51
51
|
throw Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function we() {
|
|
54
54
|
throw Error("https://svelte.dev/e/state_prototype_fixed");
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Te() {
|
|
57
57
|
throw Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Ee() {
|
|
60
60
|
throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function De() {
|
|
63
63
|
console.warn("https://svelte.dev/e/derived_inert");
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Oe(e) {
|
|
66
66
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function ke() {
|
|
69
69
|
console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
72
72
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/hydration.js
|
|
73
|
-
var
|
|
74
|
-
function
|
|
75
|
-
|
|
73
|
+
var M = !1;
|
|
74
|
+
function Ae(e) {
|
|
75
|
+
M = e;
|
|
76
76
|
}
|
|
77
|
-
var
|
|
78
|
-
function
|
|
79
|
-
if (e === null) throw
|
|
80
|
-
return
|
|
77
|
+
var N;
|
|
78
|
+
function P(e) {
|
|
79
|
+
if (e === null) throw Oe(), a;
|
|
80
|
+
return N = e;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function je() {
|
|
83
|
+
return P(/* @__PURE__ */ tn(N));
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
if (
|
|
87
|
-
if (/* @__PURE__ */
|
|
88
|
-
|
|
85
|
+
function Me(e) {
|
|
86
|
+
if (M) {
|
|
87
|
+
if (/* @__PURE__ */ tn(N) !== null) throw Oe(), a;
|
|
88
|
+
N = e;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
if (
|
|
93
|
-
for (var t = e, n =
|
|
94
|
-
|
|
91
|
+
function Ne(e = 1) {
|
|
92
|
+
if (M) {
|
|
93
|
+
for (var t = e, n = N; t--;) n = /* @__PURE__ */ tn(n);
|
|
94
|
+
N = n;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
for (var t = 0, n =
|
|
97
|
+
function Pe(e = !0) {
|
|
98
|
+
for (var t = 0, n = N;;) {
|
|
99
99
|
if (n.nodeType === 8) {
|
|
100
100
|
var r = n.data;
|
|
101
101
|
if (r === "]") {
|
|
@@ -103,84 +103,84 @@ function Fe(e = !0) {
|
|
|
103
103
|
--t;
|
|
104
104
|
} else (r === "[" || r === "[!" || r[0] === "[" && !isNaN(Number(r.slice(1)))) && (t += 1);
|
|
105
105
|
}
|
|
106
|
-
var i = /* @__PURE__ */
|
|
106
|
+
var i = /* @__PURE__ */ tn(n);
|
|
107
107
|
e && n.remove(), n = i;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
111
|
-
if (!e || e.nodeType !== 8) throw
|
|
110
|
+
function Fe(e) {
|
|
111
|
+
if (!e || e.nodeType !== 8) throw Oe(), a;
|
|
112
112
|
return e.data;
|
|
113
113
|
}
|
|
114
114
|
//#endregion
|
|
115
115
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/equality.js
|
|
116
|
-
function
|
|
116
|
+
function Ie(e) {
|
|
117
117
|
return e === this.v;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Le(e, t) {
|
|
120
120
|
return e == e ? e !== t || typeof e == "object" && !!e || typeof e == "function" : t == t;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
return !
|
|
122
|
+
function Re(e) {
|
|
123
|
+
return !Le(e, this.v);
|
|
124
124
|
}
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/flags/index.js
|
|
127
|
-
var
|
|
128
|
-
function
|
|
129
|
-
|
|
127
|
+
var F = !1, ze = !1, I = null;
|
|
128
|
+
function Be(e) {
|
|
129
|
+
I = e;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
|
|
133
|
-
p:
|
|
131
|
+
function Ve(e, t = !1, n) {
|
|
132
|
+
I = {
|
|
133
|
+
p: I,
|
|
134
134
|
i: !1,
|
|
135
135
|
c: null,
|
|
136
136
|
e: null,
|
|
137
137
|
s: e,
|
|
138
138
|
x: null,
|
|
139
139
|
r: J,
|
|
140
|
-
l:
|
|
140
|
+
l: ze && !t ? {
|
|
141
141
|
s: null,
|
|
142
142
|
u: null,
|
|
143
143
|
$: []
|
|
144
144
|
} : null
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
var t =
|
|
147
|
+
function He(e) {
|
|
148
|
+
var t = I, n = t.e;
|
|
149
149
|
if (n !== null) {
|
|
150
150
|
t.e = null;
|
|
151
|
-
for (var r of n)
|
|
151
|
+
for (var r of n) _n(r);
|
|
152
152
|
}
|
|
153
|
-
return e !== void 0 && (t.x = e), t.i = !0,
|
|
153
|
+
return e !== void 0 && (t.x = e), t.i = !0, I = t.p, e ?? {};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return !
|
|
155
|
+
function Ue() {
|
|
156
|
+
return !ze || I !== null && I.l === null;
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
159
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/task.js
|
|
160
|
-
var
|
|
161
|
-
function
|
|
162
|
-
var e =
|
|
163
|
-
|
|
160
|
+
var We = [];
|
|
161
|
+
function Ge() {
|
|
162
|
+
var e = We;
|
|
163
|
+
We = [], x(e);
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (
|
|
167
|
-
var t =
|
|
165
|
+
function Ke(e) {
|
|
166
|
+
if (We.length === 0 && !st) {
|
|
167
|
+
var t = We;
|
|
168
168
|
queueMicrotask(() => {
|
|
169
|
-
t ===
|
|
169
|
+
t === We && Ge();
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
|
-
|
|
172
|
+
We.push(e);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
for (;
|
|
174
|
+
function qe() {
|
|
175
|
+
for (; We.length > 0;) Ge();
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Je(e) {
|
|
178
178
|
var t = J;
|
|
179
|
-
if (t === null) return
|
|
179
|
+
if (t === null) return q.f |= se, e;
|
|
180
180
|
if (!(t.f & 32768) && !(t.f & 4)) throw e;
|
|
181
|
-
|
|
181
|
+
Ye(e, t);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Ye(e, t) {
|
|
184
184
|
for (; t !== null;) {
|
|
185
185
|
if (t.f & 128) {
|
|
186
186
|
if (!(t.f & 32768)) throw e;
|
|
@@ -197,36 +197,36 @@ function Ze(e, t) {
|
|
|
197
197
|
}
|
|
198
198
|
//#endregion
|
|
199
199
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/status.js
|
|
200
|
-
var
|
|
201
|
-
function
|
|
202
|
-
e.f = e.f &
|
|
200
|
+
var Xe = ~(w | T | C);
|
|
201
|
+
function L(e, t) {
|
|
202
|
+
e.f = e.f & Xe | t;
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
e.f & 512 || e.deps === null ?
|
|
204
|
+
function Ze(e) {
|
|
205
|
+
e.f & 512 || e.deps === null ? L(e, C) : L(e, T);
|
|
206
206
|
}
|
|
207
207
|
//#endregion
|
|
208
208
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/utils.js
|
|
209
|
-
function
|
|
210
|
-
if (e !== null) for (let t of e) !(t.f & 2) || !(t.f & 65536) || (t.f ^=
|
|
209
|
+
function Qe(e) {
|
|
210
|
+
if (e !== null) for (let t of e) !(t.f & 2) || !(t.f & 65536) || (t.f ^= ie, Qe(t.deps));
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e),
|
|
212
|
+
function $e(e, t, n) {
|
|
213
|
+
e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), Qe(e.deps), L(e, C);
|
|
214
214
|
}
|
|
215
215
|
//#endregion
|
|
216
216
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/store.js
|
|
217
|
-
var
|
|
218
|
-
function
|
|
219
|
-
var t =
|
|
217
|
+
var et = !1, tt = !1;
|
|
218
|
+
function nt(e) {
|
|
219
|
+
var t = tt;
|
|
220
220
|
try {
|
|
221
|
-
return
|
|
221
|
+
return tt = !1, [e(), tt];
|
|
222
222
|
} finally {
|
|
223
|
-
|
|
223
|
+
tt = t;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/batch.js
|
|
228
|
-
var
|
|
229
|
-
id =
|
|
228
|
+
var rt = null, it = null, R = null, at = null, z = null, ot = null, st = !1, ct = !1, lt = null, ut = null, dt = 0, ft = 1, pt = class e {
|
|
229
|
+
id = ft++;
|
|
230
230
|
#e = !1;
|
|
231
231
|
linked = !0;
|
|
232
232
|
#t = null;
|
|
@@ -248,7 +248,7 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
248
248
|
is_fork = !1;
|
|
249
249
|
#m = !1;
|
|
250
250
|
constructor() {
|
|
251
|
-
|
|
251
|
+
it === null ? rt = it = this : (it.#n = this, this.#t = it), it = this;
|
|
252
252
|
}
|
|
253
253
|
#h() {
|
|
254
254
|
if (this.is_fork) return !0;
|
|
@@ -274,31 +274,31 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
274
274
|
var n = this.#f.get(e);
|
|
275
275
|
if (n) {
|
|
276
276
|
this.#f.delete(e);
|
|
277
|
-
for (var r of n.d)
|
|
278
|
-
for (r of n.m)
|
|
277
|
+
for (var r of n.d) L(r, w), t(r);
|
|
278
|
+
for (r of n.m) L(r, T), t(r);
|
|
279
279
|
}
|
|
280
280
|
this.#p.add(e);
|
|
281
281
|
}
|
|
282
282
|
#g() {
|
|
283
|
-
this.#e = !0,
|
|
284
|
-
for (let e of this.#u) this.#d.delete(e),
|
|
285
|
-
for (let e of this.#d)
|
|
283
|
+
this.#e = !0, dt++ > 1e3 && (this.#S(), ht());
|
|
284
|
+
for (let e of this.#u) this.#d.delete(e), L(e, w), this.schedule(e);
|
|
285
|
+
for (let e of this.#d) L(e, T), this.schedule(e);
|
|
286
286
|
let t = this.#c;
|
|
287
287
|
this.#c = [], this.apply();
|
|
288
|
-
var n =
|
|
288
|
+
var n = lt = [], r = [], i = ut = [];
|
|
289
289
|
for (let e of t) try {
|
|
290
290
|
this.#_(e, n, r);
|
|
291
291
|
} catch (t) {
|
|
292
|
-
throw
|
|
292
|
+
throw St(e), this.#h() || this.discard(), t;
|
|
293
293
|
}
|
|
294
|
-
if (
|
|
294
|
+
if (R = null, i.length > 0) {
|
|
295
295
|
var a = e.ensure();
|
|
296
296
|
for (let e of i) a.schedule(e);
|
|
297
297
|
}
|
|
298
|
-
if (
|
|
298
|
+
if (lt = null, ut = null, this.#h()) {
|
|
299
299
|
this.#b(r), this.#b(n);
|
|
300
|
-
for (let [e, t] of this.#f)
|
|
301
|
-
i.length > 0 &&
|
|
300
|
+
for (let [e, t] of this.#f) xt(e, t);
|
|
301
|
+
i.length > 0 && R.#g();
|
|
302
302
|
return;
|
|
303
303
|
}
|
|
304
304
|
let o = this.#v();
|
|
@@ -308,9 +308,9 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
308
308
|
}
|
|
309
309
|
this.#u.clear(), this.#d.clear();
|
|
310
310
|
for (let e of this.#r) e(this);
|
|
311
|
-
this.#r.clear(),
|
|
312
|
-
var s =
|
|
313
|
-
if (this.#a === 0 && (this.#c.length === 0 || s !== null) && (this.#S(),
|
|
311
|
+
this.#r.clear(), at = this, _t(r), _t(n), at = null, this.#s?.resolve();
|
|
312
|
+
var s = R;
|
|
313
|
+
if (this.#a === 0 && (this.#c.length === 0 || s !== null) && (this.#S(), F && (this.#x(), R = s)), this.#c.length > 0) if (s !== null) {
|
|
314
314
|
let e = s;
|
|
315
315
|
e.#c.push(...this.#c.filter((t) => !e.#c.includes(t)));
|
|
316
316
|
} else s = this;
|
|
@@ -321,7 +321,7 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
321
321
|
for (var r = e.first; r !== null;) {
|
|
322
322
|
var i = r.f, a = (i & 96) != 0;
|
|
323
323
|
if (!(a && i & 1024 || i & 8192 || this.#f.has(r)) && r.fn !== null) {
|
|
324
|
-
a ? r.f ^= C : i & 4 ? t.push(r) :
|
|
324
|
+
a ? r.f ^= C : i & 4 ? t.push(r) : F && i & 16777224 ? n.push(r) : Zn(r) && (i & 16 && this.#d.add(r), nr(r));
|
|
325
325
|
var o = r.first;
|
|
326
326
|
if (o !== null) {
|
|
327
327
|
r = o;
|
|
@@ -361,30 +361,30 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
361
361
|
if (r & 2) t(e);
|
|
362
362
|
else {
|
|
363
363
|
var i = e;
|
|
364
|
-
r & 4194320 && !this.async_deriveds.has(i) && (this.#d.delete(i),
|
|
364
|
+
r & 4194320 && !this.async_deriveds.has(i) && (this.#d.delete(i), L(i, w), this.schedule(i));
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
for (let e of this.current.keys()) t(e);
|
|
369
|
-
this.oncommit(() => e.discard()), e.#S(),
|
|
369
|
+
this.oncommit(() => e.discard()), e.#S(), R = this, this.#g();
|
|
370
370
|
}
|
|
371
371
|
#b(e) {
|
|
372
|
-
for (var t = 0; t < e.length; t += 1)
|
|
372
|
+
for (var t = 0; t < e.length; t += 1) $e(e[t], this.#u, this.#d);
|
|
373
373
|
}
|
|
374
374
|
capture(e, t, n = !1) {
|
|
375
|
-
e.v !== o && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [t, n]),
|
|
375
|
+
e.v !== o && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [t, n]), z?.set(e, t)), this.is_fork || (e.v = t);
|
|
376
376
|
}
|
|
377
377
|
activate() {
|
|
378
|
-
|
|
378
|
+
R = this;
|
|
379
379
|
}
|
|
380
380
|
deactivate() {
|
|
381
|
-
|
|
381
|
+
R = null, z = null;
|
|
382
382
|
}
|
|
383
383
|
flush() {
|
|
384
384
|
try {
|
|
385
|
-
|
|
385
|
+
ct = !0, R = this, this.#g();
|
|
386
386
|
} finally {
|
|
387
|
-
|
|
387
|
+
dt = 0, ot = null, lt = null, ut = null, ct = !1, R = null, z = null, Vt.clear();
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
discard() {
|
|
@@ -395,7 +395,7 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
395
395
|
this.#l.push(e);
|
|
396
396
|
}
|
|
397
397
|
#x() {
|
|
398
|
-
for (let l =
|
|
398
|
+
for (let l = rt; l !== null; l = l.#n) {
|
|
399
399
|
var e = l.id < this.id, t = [];
|
|
400
400
|
for (let [r, [i, a]] of this.current) {
|
|
401
401
|
if (l.current.has(r)) {
|
|
@@ -418,13 +418,13 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
418
418
|
});
|
|
419
419
|
l.activate();
|
|
420
420
|
var i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Map();
|
|
421
|
-
for (var o of t)
|
|
421
|
+
for (var o of t) vt(o, r, i, a);
|
|
422
422
|
a = /* @__PURE__ */ new Map();
|
|
423
423
|
var s = [...l.current].filter(([e, t]) => {
|
|
424
424
|
let n = this.current.get(e);
|
|
425
425
|
return n ? n[0] !== t[0] || n[1] !== t[1] : !0;
|
|
426
426
|
}).map(([e]) => e);
|
|
427
|
-
if (s.length > 0) for (let e of this.#l) !(e.f & 155648) &&
|
|
427
|
+
if (s.length > 0) for (let e of this.#l) !(e.f & 155648) && yt(e, s, a) && (e.f & 4194320 ? (L(e, w), l.schedule(e)) : l.#u.add(e));
|
|
428
428
|
if (l.#c.length > 0 && !l.#m) {
|
|
429
429
|
l.apply();
|
|
430
430
|
for (var c of l.#c) l.#_(c, [], []);
|
|
@@ -446,7 +446,7 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
446
446
|
let e = this.#o.get(t) ?? 0;
|
|
447
447
|
e === 1 ? this.#o.delete(t) : this.#o.set(t, e - 1);
|
|
448
448
|
}
|
|
449
|
-
this.#m || (this.#m = !0,
|
|
449
|
+
this.#m || (this.#m = !0, Ke(() => {
|
|
450
450
|
this.#m = !1, this.linked && this.flush();
|
|
451
451
|
}));
|
|
452
452
|
}
|
|
@@ -465,22 +465,22 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
465
465
|
return (this.#s ??= S()).promise;
|
|
466
466
|
}
|
|
467
467
|
static ensure() {
|
|
468
|
-
if (
|
|
469
|
-
let t =
|
|
470
|
-
!
|
|
468
|
+
if (R === null) {
|
|
469
|
+
let t = R = new e();
|
|
470
|
+
!ct && !st && Ke(() => {
|
|
471
471
|
t.#e || t.flush();
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
|
-
return
|
|
474
|
+
return R;
|
|
475
475
|
}
|
|
476
476
|
apply() {
|
|
477
|
-
if (!
|
|
478
|
-
|
|
477
|
+
if (!F || !this.is_fork && this.#t === null && this.#n === null) {
|
|
478
|
+
z = null;
|
|
479
479
|
return;
|
|
480
480
|
}
|
|
481
|
-
|
|
482
|
-
for (let [e, [t]] of this.current)
|
|
483
|
-
for (let t =
|
|
481
|
+
z = /* @__PURE__ */ new Map();
|
|
482
|
+
for (let [e, [t]] of this.current) z.set(e, t);
|
|
483
|
+
for (let t = rt; t !== null; t = t.#n) if (!(t === this || t.is_fork)) {
|
|
484
484
|
var e = !1;
|
|
485
485
|
if (t.id < this.id) {
|
|
486
486
|
for (let [n, [, r]] of t.current) if (!r && this.current.has(n)) {
|
|
@@ -488,18 +488,18 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
if (!e) for (let [e, n] of t.previous)
|
|
491
|
+
if (!e) for (let [e, n] of t.previous) z.has(e) || z.set(e, n);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
schedule(e) {
|
|
495
|
-
if (
|
|
495
|
+
if (ot = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
|
|
496
496
|
e.b.defer_effect(e);
|
|
497
497
|
return;
|
|
498
498
|
}
|
|
499
499
|
for (var t = e; t.parent !== null;) {
|
|
500
500
|
t = t.parent;
|
|
501
501
|
var n = t.f;
|
|
502
|
-
if (
|
|
502
|
+
if (lt !== null && t === J && (F || (q === null || !(q.f & 2)) && !et)) return;
|
|
503
503
|
if (n & 96) {
|
|
504
504
|
if (!(n & 1024)) return;
|
|
505
505
|
t.f ^= C;
|
|
@@ -510,105 +510,105 @@ var at = null, ot = null, I = null, st = null, L = null, ct = null, lt = !1, ut
|
|
|
510
510
|
#S() {
|
|
511
511
|
if (this.linked) {
|
|
512
512
|
var e = this.#t, t = this.#n;
|
|
513
|
-
e === null ?
|
|
513
|
+
e === null ? rt = t : e.#n = t, t === null ? it = e : t.#t = e, this.linked = !1;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
function
|
|
518
|
-
var t =
|
|
519
|
-
|
|
517
|
+
function mt(e) {
|
|
518
|
+
var t = st;
|
|
519
|
+
st = !0;
|
|
520
520
|
try {
|
|
521
521
|
var n;
|
|
522
|
-
for (e && (
|
|
523
|
-
if (
|
|
524
|
-
|
|
522
|
+
for (e && (R !== null && !R.is_fork && R.flush(), n = e());;) {
|
|
523
|
+
if (qe(), R === null) return n;
|
|
524
|
+
R.flush();
|
|
525
525
|
}
|
|
526
526
|
} finally {
|
|
527
|
-
|
|
527
|
+
st = t;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function ht() {
|
|
531
531
|
try {
|
|
532
|
-
|
|
532
|
+
be();
|
|
533
533
|
} catch (e) {
|
|
534
|
-
|
|
534
|
+
Ye(e, ot);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
var
|
|
538
|
-
function
|
|
537
|
+
var gt = null;
|
|
538
|
+
function _t(e) {
|
|
539
539
|
var t = e.length;
|
|
540
540
|
if (t !== 0) {
|
|
541
541
|
for (var n = 0; n < t;) {
|
|
542
542
|
var r = e[n++];
|
|
543
|
-
if (!(r.f & 24576) &&
|
|
544
|
-
|
|
545
|
-
for (let e of
|
|
543
|
+
if (!(r.f & 24576) && Zn(r) && (gt = /* @__PURE__ */ new Set(), nr(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && kn(r), gt?.size > 0)) {
|
|
544
|
+
Vt.clear();
|
|
545
|
+
for (let e of gt) {
|
|
546
546
|
if (e.f & 24576) continue;
|
|
547
547
|
let t = [e], n = e.parent;
|
|
548
|
-
for (; n !== null;)
|
|
548
|
+
for (; n !== null;) gt.has(n) && (gt.delete(n), t.push(n)), n = n.parent;
|
|
549
549
|
for (let e = t.length - 1; e >= 0; e--) {
|
|
550
550
|
let n = t[e];
|
|
551
|
-
n.f & 24576 ||
|
|
551
|
+
n.f & 24576 || nr(n);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
|
|
554
|
+
gt.clear();
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
|
|
557
|
+
gt = null;
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function vt(e, t, n, r) {
|
|
561
561
|
if (!n.has(e) && (n.add(e), e.reactions !== null)) for (let i of e.reactions) {
|
|
562
562
|
let e = i.f;
|
|
563
|
-
e & 2 ?
|
|
563
|
+
e & 2 ? vt(i, t, n, r) : e & 4194320 && !(e & 2048) && yt(i, t, r) && (L(i, w), bt(i));
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function yt(e, t, n) {
|
|
567
567
|
let r = n.get(e);
|
|
568
568
|
if (r !== void 0) return r;
|
|
569
569
|
if (e.deps !== null) for (let r of e.deps) {
|
|
570
570
|
if (u.call(t, r)) return !0;
|
|
571
|
-
if (r.f & 2 &&
|
|
571
|
+
if (r.f & 2 && yt(r, t, n)) return n.set(r, !0), !0;
|
|
572
572
|
}
|
|
573
573
|
return n.set(e, !1), !1;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
576
|
-
|
|
575
|
+
function bt(e) {
|
|
576
|
+
R.schedule(e);
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function xt(e, t) {
|
|
579
579
|
if (!(e.f & 32 && e.f & 1024)) {
|
|
580
|
-
e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e),
|
|
581
|
-
for (var n = e.first; n !== null;)
|
|
580
|
+
e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), L(e, C);
|
|
581
|
+
for (var n = e.first; n !== null;) xt(n, t), n = n.next;
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
function
|
|
585
|
-
|
|
586
|
-
for (var t = e.first; t !== null;)
|
|
584
|
+
function St(e) {
|
|
585
|
+
L(e, C);
|
|
586
|
+
for (var t = e.first; t !== null;) St(t), t = t.next;
|
|
587
587
|
}
|
|
588
588
|
//#endregion
|
|
589
589
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/reactivity/create-subscriber.js
|
|
590
|
-
function
|
|
591
|
-
let t = 0, n =
|
|
590
|
+
function Ct(e) {
|
|
591
|
+
let t = 0, n = Ut(0), r;
|
|
592
592
|
return () => {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
--t, t === 0 && (r?.(), r = void 0,
|
|
593
|
+
mn() && (Z(n), Sn(() => (t === 0 && (r = ar(() => e(() => qt(n)))), t += 1, () => {
|
|
594
|
+
Ke(() => {
|
|
595
|
+
--t, t === 0 && (r?.(), r = void 0, qt(n));
|
|
596
596
|
});
|
|
597
597
|
})));
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
600
|
//#endregion
|
|
601
601
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
|
|
602
|
-
var
|
|
603
|
-
function
|
|
604
|
-
new
|
|
602
|
+
var wt = te | k;
|
|
603
|
+
function Tt(e, t, n, r) {
|
|
604
|
+
new Et(e, t, n, r);
|
|
605
605
|
}
|
|
606
|
-
var
|
|
606
|
+
var Et = class {
|
|
607
607
|
parent;
|
|
608
608
|
is_pending = !1;
|
|
609
609
|
transform_error;
|
|
610
610
|
#e;
|
|
611
|
-
#t =
|
|
611
|
+
#t = M ? N : null;
|
|
612
612
|
#n;
|
|
613
613
|
#r;
|
|
614
614
|
#i;
|
|
@@ -622,57 +622,57 @@ var Ot = class {
|
|
|
622
622
|
#f = /* @__PURE__ */ new Set();
|
|
623
623
|
#p = /* @__PURE__ */ new Set();
|
|
624
624
|
#m = null;
|
|
625
|
-
#h =
|
|
625
|
+
#h = Ct(() => (this.#m = Ut(this.#l), () => {
|
|
626
626
|
this.#m = null;
|
|
627
627
|
}));
|
|
628
628
|
constructor(e, t, n, r) {
|
|
629
629
|
this.#e = e, this.#n = t, this.#r = (e) => {
|
|
630
630
|
var t = J;
|
|
631
631
|
t.b = this, t.f |= 128, n(e);
|
|
632
|
-
}, this.parent = J.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i =
|
|
633
|
-
if (
|
|
632
|
+
}, this.parent = J.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = wn(() => {
|
|
633
|
+
if (M) {
|
|
634
634
|
let e = this.#t;
|
|
635
|
-
|
|
635
|
+
je();
|
|
636
636
|
let t = e.data === "[!";
|
|
637
637
|
if (e.data.startsWith("[?")) {
|
|
638
638
|
let t = JSON.parse(e.data.slice(2));
|
|
639
639
|
this.#_(t);
|
|
640
640
|
} else t ? this.#v() : this.#g();
|
|
641
641
|
} else this.#y();
|
|
642
|
-
},
|
|
642
|
+
}, wt), M && (this.#e = N);
|
|
643
643
|
}
|
|
644
644
|
#g() {
|
|
645
645
|
try {
|
|
646
|
-
this.#a =
|
|
646
|
+
this.#a = G(() => this.#r(this.#e));
|
|
647
647
|
} catch (e) {
|
|
648
648
|
this.error(e);
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
651
|
#_(e) {
|
|
652
652
|
let t = this.#n.failed;
|
|
653
|
-
t && (this.#s =
|
|
653
|
+
t && (this.#s = G(() => {
|
|
654
654
|
t(this.#e, () => e, () => () => {});
|
|
655
655
|
}));
|
|
656
656
|
}
|
|
657
657
|
#v() {
|
|
658
658
|
let e = this.#n.pending;
|
|
659
|
-
e && (this.is_pending = !0, this.#o =
|
|
660
|
-
var e = this.#c = document.createDocumentFragment(), t =
|
|
661
|
-
e.append(t), this.#a = this.#x(() =>
|
|
659
|
+
e && (this.is_pending = !0, this.#o = G(() => e(this.#e)), Ke(() => {
|
|
660
|
+
var e = this.#c = document.createDocumentFragment(), t = U();
|
|
661
|
+
e.append(t), this.#a = this.#x(() => G(() => this.#r(t))), this.#u === 0 && (this.#e.before(e), this.#c = null, An(this.#o, () => {
|
|
662
662
|
this.#o = null;
|
|
663
|
-
}), this.#b(
|
|
663
|
+
}), this.#b(R));
|
|
664
664
|
}));
|
|
665
665
|
}
|
|
666
666
|
#y() {
|
|
667
667
|
try {
|
|
668
|
-
if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a =
|
|
668
|
+
if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a = G(() => {
|
|
669
669
|
this.#r(this.#e);
|
|
670
670
|
}), this.#u > 0) {
|
|
671
671
|
var e = this.#c = document.createDocumentFragment();
|
|
672
|
-
|
|
672
|
+
Pn(this.#a, e);
|
|
673
673
|
let t = this.#n.pending;
|
|
674
|
-
this.#o =
|
|
675
|
-
} else this.#b(
|
|
674
|
+
this.#o = G(() => t(this.#e));
|
|
675
|
+
} else this.#b(R);
|
|
676
676
|
} catch (e) {
|
|
677
677
|
this.error(e);
|
|
678
678
|
}
|
|
@@ -681,7 +681,7 @@ var Ot = class {
|
|
|
681
681
|
this.is_pending = !1, e.transfer_effects(this.#f, this.#p);
|
|
682
682
|
}
|
|
683
683
|
defer_effect(e) {
|
|
684
|
-
|
|
684
|
+
$e(e, this.#f, this.#p);
|
|
685
685
|
}
|
|
686
686
|
is_rendered() {
|
|
687
687
|
return !this.is_pending && (!this.parent || this.parent.is_rendered());
|
|
@@ -690,14 +690,14 @@ var Ot = class {
|
|
|
690
690
|
return !!this.#n.pending;
|
|
691
691
|
}
|
|
692
692
|
#x(e) {
|
|
693
|
-
var t = J, n =
|
|
694
|
-
Vn(this.#i),
|
|
693
|
+
var t = J, n = q, r = I;
|
|
694
|
+
Vn(this.#i), Bn(this.#i), Be(this.#i.ctx);
|
|
695
695
|
try {
|
|
696
|
-
return
|
|
696
|
+
return pt.ensure(), e();
|
|
697
697
|
} catch (e) {
|
|
698
|
-
return
|
|
698
|
+
return Je(e), null;
|
|
699
699
|
} finally {
|
|
700
|
-
Vn(t),
|
|
700
|
+
Vn(t), Bn(n), Be(r);
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
#S(e, t) {
|
|
@@ -705,35 +705,35 @@ var Ot = class {
|
|
|
705
705
|
this.parent && this.parent.#S(e, t);
|
|
706
706
|
return;
|
|
707
707
|
}
|
|
708
|
-
this.#u += e, this.#u === 0 && (this.#b(t), this.#o &&
|
|
708
|
+
this.#u += e, this.#u === 0 && (this.#b(t), this.#o && An(this.#o, () => {
|
|
709
709
|
this.#o = null;
|
|
710
710
|
}), this.#c &&= (this.#e.before(this.#c), null));
|
|
711
711
|
}
|
|
712
712
|
update_pending_count(e, t) {
|
|
713
|
-
this.#S(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0,
|
|
714
|
-
this.#d = !1, this.#m &&
|
|
713
|
+
this.#S(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, Ke(() => {
|
|
714
|
+
this.#d = !1, this.#m && Gt(this.#m, this.#l);
|
|
715
715
|
}));
|
|
716
716
|
}
|
|
717
717
|
get_effect_pending() {
|
|
718
|
-
return this.#h(),
|
|
718
|
+
return this.#h(), Z(this.#m);
|
|
719
719
|
}
|
|
720
720
|
error(e) {
|
|
721
721
|
if (!this.#n.onerror && !this.#n.failed) throw e;
|
|
722
|
-
|
|
722
|
+
R?.is_fork ? (this.#a && R.skip_effect(this.#a), this.#o && R.skip_effect(this.#o), this.#s && R.skip_effect(this.#s), R.oncommit(() => {
|
|
723
723
|
this.#C(e);
|
|
724
724
|
})) : this.#C(e);
|
|
725
725
|
}
|
|
726
726
|
#C(e) {
|
|
727
|
-
this.#a &&= (
|
|
727
|
+
this.#a &&= (K(this.#a), null), this.#o &&= (K(this.#o), null), this.#s &&= (K(this.#s), null), M && (P(this.#t), Ne(), P(Pe()));
|
|
728
728
|
var t = this.#n.onerror;
|
|
729
729
|
let n = this.#n.failed;
|
|
730
730
|
var r = !1, i = !1;
|
|
731
731
|
let a = () => {
|
|
732
732
|
if (r) {
|
|
733
|
-
|
|
733
|
+
ke();
|
|
734
734
|
return;
|
|
735
735
|
}
|
|
736
|
-
r = !0, i &&
|
|
736
|
+
r = !0, i && Ee(), this.#s !== null && An(this.#s, () => {
|
|
737
737
|
this.#s = null;
|
|
738
738
|
}), this.#x(() => {
|
|
739
739
|
this.#y();
|
|
@@ -742,87 +742,87 @@ var Ot = class {
|
|
|
742
742
|
try {
|
|
743
743
|
i = !0, t?.(e, a), i = !1;
|
|
744
744
|
} catch (e) {
|
|
745
|
-
|
|
745
|
+
Ye(e, this.#i && this.#i.parent);
|
|
746
746
|
}
|
|
747
747
|
n && (this.#s = this.#x(() => {
|
|
748
748
|
try {
|
|
749
|
-
return
|
|
749
|
+
return G(() => {
|
|
750
750
|
var t = J;
|
|
751
751
|
t.b = this, t.f |= 128, n(this.#e, () => e, () => a);
|
|
752
752
|
});
|
|
753
753
|
} catch (e) {
|
|
754
|
-
return
|
|
754
|
+
return Ye(e, this.#i.parent), null;
|
|
755
755
|
}
|
|
756
756
|
}));
|
|
757
757
|
};
|
|
758
|
-
|
|
758
|
+
Ke(() => {
|
|
759
759
|
var t;
|
|
760
760
|
try {
|
|
761
761
|
t = this.transform_error(e);
|
|
762
762
|
} catch (e) {
|
|
763
|
-
|
|
763
|
+
Ye(e, this.#i && this.#i.parent);
|
|
764
764
|
return;
|
|
765
765
|
}
|
|
766
|
-
typeof t == "object" && t && typeof t.then == "function" ? t.then(o, (e) =>
|
|
766
|
+
typeof t == "object" && t && typeof t.then == "function" ? t.then(o, (e) => Ye(e, this.#i && this.#i.parent)) : o(t);
|
|
767
767
|
});
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
//#endregion
|
|
771
771
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/async.js
|
|
772
|
-
function
|
|
773
|
-
let i =
|
|
772
|
+
function Dt(e, t, n, r) {
|
|
773
|
+
let i = Ue() ? jt : Pt;
|
|
774
774
|
var a = e.filter((e) => !e.settled);
|
|
775
775
|
if (n.length === 0 && a.length === 0) {
|
|
776
776
|
r(t.map(i));
|
|
777
777
|
return;
|
|
778
778
|
}
|
|
779
|
-
var o = J, s =
|
|
779
|
+
var o = J, s = Ot(), c = a.length === 1 ? a[0].promise : a.length > 1 ? Promise.all(a.map((e) => e.promise)) : null;
|
|
780
780
|
function l(e) {
|
|
781
781
|
if (!(o.f & 16384)) {
|
|
782
782
|
s();
|
|
783
783
|
try {
|
|
784
784
|
r(e);
|
|
785
785
|
} catch (e) {
|
|
786
|
-
|
|
786
|
+
Ye(e, o);
|
|
787
787
|
}
|
|
788
|
-
|
|
788
|
+
kt();
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
var u =
|
|
791
|
+
var u = At();
|
|
792
792
|
if (n.length === 0) {
|
|
793
793
|
c.then(() => l(t.map(i))).finally(u);
|
|
794
794
|
return;
|
|
795
795
|
}
|
|
796
796
|
function d() {
|
|
797
|
-
Promise.all(n.map((e) => /* @__PURE__ */
|
|
797
|
+
Promise.all(n.map((e) => /* @__PURE__ */ Nt(e))).then((e) => l([...t.map(i), ...e])).catch((e) => Ye(e, o)).finally(u);
|
|
798
798
|
}
|
|
799
799
|
c ? c.then(() => {
|
|
800
|
-
s(), d(),
|
|
800
|
+
s(), d(), kt();
|
|
801
801
|
}) : d();
|
|
802
802
|
}
|
|
803
|
-
function
|
|
804
|
-
var e = J, t =
|
|
803
|
+
function Ot() {
|
|
804
|
+
var e = J, t = q, n = I, r = R;
|
|
805
805
|
return function(i = !0) {
|
|
806
|
-
Vn(e),
|
|
806
|
+
Vn(e), Bn(t), Be(n), i && !(e.f & 16384) && (r?.activate(), r?.apply());
|
|
807
807
|
};
|
|
808
808
|
}
|
|
809
|
-
function
|
|
810
|
-
Vn(null),
|
|
809
|
+
function kt(e = !0) {
|
|
810
|
+
Vn(null), Bn(null), Be(null), e && R?.deactivate();
|
|
811
811
|
}
|
|
812
|
-
function
|
|
813
|
-
var e = J, t = e.b, n =
|
|
812
|
+
function At() {
|
|
813
|
+
var e = J, t = e.b, n = R, r = !!t?.is_rendered();
|
|
814
814
|
return t?.update_pending_count(1, n), n.increment(r, e), () => {
|
|
815
815
|
t?.update_pending_count(-1, n), n.decrement(r, e);
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
818
|
/* @__NO_SIDE_EFFECTS__ */
|
|
819
|
-
function
|
|
819
|
+
function jt(e) {
|
|
820
820
|
var t = 2 | w;
|
|
821
|
-
return J !== null && (J.f |=
|
|
822
|
-
ctx:
|
|
821
|
+
return J !== null && (J.f |= k), {
|
|
822
|
+
ctx: I,
|
|
823
823
|
deps: null,
|
|
824
824
|
effects: null,
|
|
825
|
-
equals:
|
|
825
|
+
equals: Ie,
|
|
826
826
|
f: t,
|
|
827
827
|
fn: e,
|
|
828
828
|
reactions: null,
|
|
@@ -833,35 +833,35 @@ function Nt(e) {
|
|
|
833
833
|
ac: null
|
|
834
834
|
};
|
|
835
835
|
}
|
|
836
|
-
var
|
|
836
|
+
var Mt = Symbol("obsolete");
|
|
837
837
|
/* @__NO_SIDE_EFFECTS__ */
|
|
838
|
-
function
|
|
838
|
+
function Nt(e, t, n) {
|
|
839
839
|
let r = J;
|
|
840
|
-
r === null &&
|
|
841
|
-
var i = void 0, a =
|
|
842
|
-
return
|
|
840
|
+
r === null && he();
|
|
841
|
+
var i = void 0, a = Ut(o), s = !q, c = /* @__PURE__ */ new Set();
|
|
842
|
+
return xn(() => {
|
|
843
843
|
var t = J, n = S();
|
|
844
844
|
i = n.promise;
|
|
845
845
|
try {
|
|
846
846
|
Promise.resolve(e()).then(n.resolve, (e) => {
|
|
847
|
-
e !==
|
|
848
|
-
}).finally(
|
|
847
|
+
e !== pe && n.reject(e);
|
|
848
|
+
}).finally(kt);
|
|
849
849
|
} catch (e) {
|
|
850
|
-
n.reject(e),
|
|
850
|
+
n.reject(e), kt();
|
|
851
851
|
}
|
|
852
|
-
var o =
|
|
852
|
+
var o = R;
|
|
853
853
|
if (s) {
|
|
854
|
-
if (t.f & 32768) var l =
|
|
855
|
-
if (r.b?.is_rendered()) o.async_deriveds.get(t)?.reject(
|
|
856
|
-
else for (let e of c.values()) e.reject(
|
|
854
|
+
if (t.f & 32768) var l = At();
|
|
855
|
+
if (r.b?.is_rendered()) o.async_deriveds.get(t)?.reject(Mt);
|
|
856
|
+
else for (let e of c.values()) e.reject(Mt);
|
|
857
857
|
c.add(n), o.async_deriveds.set(t, n);
|
|
858
858
|
}
|
|
859
859
|
let u = (e, t = void 0) => {
|
|
860
|
-
l?.(), c.delete(n), t !==
|
|
860
|
+
l?.(), c.delete(n), t !== Mt && (o.activate(), t ? (a.f |= se, Gt(a, t)) : (a.f & 8388608 && (a.f ^= se), Gt(a, e)), o.deactivate());
|
|
861
861
|
};
|
|
862
862
|
n.promise.then(u, (e) => u(null, e || "unknown"));
|
|
863
|
-
}),
|
|
864
|
-
for (let e of c) e.reject(
|
|
863
|
+
}), hn(() => {
|
|
864
|
+
for (let e of c) e.reject(Mt);
|
|
865
865
|
}), new Promise((e) => {
|
|
866
866
|
function t(n) {
|
|
867
867
|
function r() {
|
|
@@ -873,154 +873,154 @@ function Ft(e, t, n) {
|
|
|
873
873
|
});
|
|
874
874
|
}
|
|
875
875
|
/* @__NO_SIDE_EFFECTS__ */
|
|
876
|
-
function
|
|
877
|
-
let t = /* @__PURE__ */
|
|
878
|
-
return
|
|
876
|
+
function B(e) {
|
|
877
|
+
let t = /* @__PURE__ */ jt(e);
|
|
878
|
+
return F || Un(t), t;
|
|
879
879
|
}
|
|
880
880
|
/* @__NO_SIDE_EFFECTS__ */
|
|
881
|
-
function
|
|
882
|
-
let t = /* @__PURE__ */
|
|
883
|
-
return t.equals =
|
|
881
|
+
function Pt(e) {
|
|
882
|
+
let t = /* @__PURE__ */ jt(e);
|
|
883
|
+
return t.equals = Re, t;
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function Ft(e) {
|
|
886
886
|
var t = e.effects;
|
|
887
887
|
if (t !== null) {
|
|
888
888
|
e.effects = null;
|
|
889
|
-
for (var n = 0; n < t.length; n += 1)
|
|
889
|
+
for (var n = 0; n < t.length; n += 1) K(t[n]);
|
|
890
890
|
}
|
|
891
891
|
}
|
|
892
|
-
function
|
|
892
|
+
function It(e) {
|
|
893
893
|
var t, n = J, r = e.parent;
|
|
894
|
-
if (!
|
|
894
|
+
if (!Ln && r !== null && e.v !== o && r.f & 24576) return De(), e.v;
|
|
895
895
|
Vn(r);
|
|
896
896
|
try {
|
|
897
|
-
e.f &= ~
|
|
897
|
+
e.f &= ~ie, Ft(e), t = $n(e);
|
|
898
898
|
} finally {
|
|
899
899
|
Vn(n);
|
|
900
900
|
}
|
|
901
901
|
return t;
|
|
902
902
|
}
|
|
903
|
-
function
|
|
904
|
-
var t =
|
|
905
|
-
if (!e.equals(t) && (e.wv =
|
|
906
|
-
|
|
903
|
+
function Lt(e) {
|
|
904
|
+
var t = It(e);
|
|
905
|
+
if (!e.equals(t) && (e.wv = Xn(), (!R?.is_fork || e.deps === null) && (R === null ? e.v = t : (R.capture(e, t, !0), at?.capture(e, t, !0)), e.deps === null))) {
|
|
906
|
+
L(e, C);
|
|
907
907
|
return;
|
|
908
908
|
}
|
|
909
|
-
|
|
909
|
+
Ln || (z === null ? Ze(e) : (mn() || R?.is_fork) && z.set(e, t));
|
|
910
910
|
}
|
|
911
|
-
function
|
|
912
|
-
if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(
|
|
911
|
+
function Rt(e) {
|
|
912
|
+
if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(pe), t.fn !== null && (t.teardown = b), t.ac = null, tr(t, 0), En(t));
|
|
913
913
|
}
|
|
914
|
-
function
|
|
915
|
-
if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null &&
|
|
914
|
+
function zt(e) {
|
|
915
|
+
if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null && nr(t);
|
|
916
916
|
}
|
|
917
917
|
//#endregion
|
|
918
918
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/sources.js
|
|
919
|
-
var
|
|
920
|
-
function
|
|
919
|
+
var Bt = /* @__PURE__ */ new Set(), Vt = /* @__PURE__ */ new Map(), Ht = !1;
|
|
920
|
+
function Ut(e, t) {
|
|
921
921
|
return {
|
|
922
922
|
f: 0,
|
|
923
923
|
v: e,
|
|
924
924
|
reactions: null,
|
|
925
|
-
equals:
|
|
925
|
+
equals: Ie,
|
|
926
926
|
rv: 0,
|
|
927
927
|
wv: 0
|
|
928
928
|
};
|
|
929
929
|
}
|
|
930
930
|
/* @__NO_SIDE_EFFECTS__ */
|
|
931
|
-
function
|
|
932
|
-
let n =
|
|
931
|
+
function V(e, t) {
|
|
932
|
+
let n = Ut(e, t);
|
|
933
933
|
return Un(n), n;
|
|
934
934
|
}
|
|
935
935
|
/* @__NO_SIDE_EFFECTS__ */
|
|
936
|
-
function
|
|
937
|
-
let r =
|
|
938
|
-
return t || (r.equals =
|
|
936
|
+
function Wt(e, t = !1, n = !0) {
|
|
937
|
+
let r = Ut(e);
|
|
938
|
+
return t || (r.equals = Re), ze && n && I !== null && I.l !== null && (I.l.s ??= []).push(r), r;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
941
|
-
return
|
|
940
|
+
function H(e, t, n = !1) {
|
|
941
|
+
return q !== null && (!zn || q.f & 131072) && Ue() && q.f & 4325394 && (Hn === null || !Hn.has(e)) && Te(), Gt(e, n ? Yt(t) : t, ut);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function Gt(e, t, n = null) {
|
|
944
944
|
if (!e.equals(t)) {
|
|
945
|
-
|
|
946
|
-
var r =
|
|
945
|
+
Vt.set(e, Ln ? t : e.v);
|
|
946
|
+
var r = pt.ensure();
|
|
947
947
|
if (r.capture(e, t), e.f & 2) {
|
|
948
948
|
let t = e;
|
|
949
|
-
e.f & 2048 &&
|
|
949
|
+
e.f & 2048 && It(t), z === null && Ze(t);
|
|
950
950
|
}
|
|
951
|
-
e.wv =
|
|
951
|
+
e.wv = Xn(), Jt(e, w, n), Ue() && J !== null && J.f & 1024 && !(J.f & 96) && (Wn === null ? Gn([e]) : Wn.push(e)), !r.is_fork && Bt.size > 0 && !Ht && Kt();
|
|
952
952
|
}
|
|
953
953
|
return t;
|
|
954
954
|
}
|
|
955
|
-
function
|
|
956
|
-
|
|
957
|
-
for (let e of
|
|
958
|
-
e.f & 1024 &&
|
|
955
|
+
function Kt() {
|
|
956
|
+
Ht = !1;
|
|
957
|
+
for (let e of Bt) {
|
|
958
|
+
e.f & 1024 && L(e, T);
|
|
959
959
|
let t;
|
|
960
960
|
try {
|
|
961
|
-
t =
|
|
961
|
+
t = Zn(e);
|
|
962
962
|
} catch {
|
|
963
963
|
t = !0;
|
|
964
964
|
}
|
|
965
|
-
t &&
|
|
965
|
+
t && nr(e);
|
|
966
966
|
}
|
|
967
|
-
|
|
967
|
+
Bt.clear();
|
|
968
968
|
}
|
|
969
|
-
function
|
|
970
|
-
|
|
969
|
+
function qt(e) {
|
|
970
|
+
H(e, e.v + 1);
|
|
971
971
|
}
|
|
972
|
-
function
|
|
972
|
+
function Jt(e, t, n) {
|
|
973
973
|
var r = e.reactions;
|
|
974
|
-
if (r !== null) for (var i =
|
|
974
|
+
if (r !== null) for (var i = Ue(), a = r.length, o = 0; o < a; o++) {
|
|
975
975
|
var s = r[o], c = s.f;
|
|
976
976
|
if (!(!i && s === J)) {
|
|
977
977
|
var l = (c & w) === 0;
|
|
978
|
-
if (l &&
|
|
978
|
+
if (l && L(s, t), c & 131072) Bt.add(s);
|
|
979
979
|
else if (c & 2) {
|
|
980
980
|
var u = s;
|
|
981
|
-
|
|
981
|
+
z?.delete(u), c & 65536 || (c & 512 && (J === null || !(J.f & 2097152)) && (s.f |= ie), Jt(u, T, n));
|
|
982
982
|
} else if (l) {
|
|
983
983
|
var d = s;
|
|
984
|
-
c & 16 &&
|
|
984
|
+
c & 16 && gt !== null && gt.add(d), n === null ? bt(d) : n.push(d);
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
|
-
function
|
|
990
|
-
if (typeof e != "object" || !e ||
|
|
989
|
+
function Yt(e) {
|
|
990
|
+
if (typeof e != "object" || !e || A in e) return e;
|
|
991
991
|
let t = v(e);
|
|
992
992
|
if (t !== g && t !== _) return e;
|
|
993
|
-
var n = /* @__PURE__ */ new Map(), r = c(e), i = /* @__PURE__ */
|
|
994
|
-
if (
|
|
995
|
-
var t =
|
|
996
|
-
|
|
993
|
+
var n = /* @__PURE__ */ new Map(), r = c(e), i = /* @__PURE__ */ V(0), a = null, s = Jn, l = (e) => {
|
|
994
|
+
if (Jn === s) return e();
|
|
995
|
+
var t = q, n = Jn;
|
|
996
|
+
Bn(null), Yn(s);
|
|
997
997
|
var r = e();
|
|
998
|
-
return
|
|
998
|
+
return Bn(t), Yn(n), r;
|
|
999
999
|
};
|
|
1000
|
-
return r && n.set("length", /* @__PURE__ */
|
|
1000
|
+
return r && n.set("length", /* @__PURE__ */ V(e.length, a)), new Proxy(e, {
|
|
1001
1001
|
defineProperty(e, t, r) {
|
|
1002
|
-
(!("value" in r) || r.configurable === !1 || r.enumerable === !1 || r.writable === !1) &&
|
|
1002
|
+
(!("value" in r) || r.configurable === !1 || r.enumerable === !1 || r.writable === !1) && Ce();
|
|
1003
1003
|
var i = n.get(t);
|
|
1004
1004
|
return i === void 0 ? l(() => {
|
|
1005
|
-
var e = /* @__PURE__ */
|
|
1005
|
+
var e = /* @__PURE__ */ V(r.value, a);
|
|
1006
1006
|
return n.set(t, e), e;
|
|
1007
|
-
}) :
|
|
1007
|
+
}) : H(i, r.value, !0), !0;
|
|
1008
1008
|
},
|
|
1009
1009
|
deleteProperty(e, t) {
|
|
1010
1010
|
var r = n.get(t);
|
|
1011
1011
|
if (r === void 0) {
|
|
1012
1012
|
if (t in e) {
|
|
1013
|
-
let e = l(() => /* @__PURE__ */
|
|
1014
|
-
n.set(t, e),
|
|
1013
|
+
let e = l(() => /* @__PURE__ */ V(o, a));
|
|
1014
|
+
n.set(t, e), qt(i);
|
|
1015
1015
|
}
|
|
1016
|
-
} else
|
|
1016
|
+
} else H(r, o), qt(i);
|
|
1017
1017
|
return !0;
|
|
1018
1018
|
},
|
|
1019
1019
|
get(t, r, i) {
|
|
1020
|
-
if (r ===
|
|
1020
|
+
if (r === A) return e;
|
|
1021
1021
|
var s = n.get(r), c = r in t;
|
|
1022
|
-
if (s === void 0 && (!c || m(t, r)?.writable) && (s = l(() => /* @__PURE__ */
|
|
1023
|
-
var u =
|
|
1022
|
+
if (s === void 0 && (!c || m(t, r)?.writable) && (s = l(() => /* @__PURE__ */ V(Yt(c ? t[r] : o), a)), n.set(r, s)), s !== void 0) {
|
|
1023
|
+
var u = Z(s);
|
|
1024
1024
|
return u === o ? void 0 : u;
|
|
1025
1025
|
}
|
|
1026
1026
|
return Reflect.get(t, r, i);
|
|
@@ -1029,7 +1029,7 @@ function Zt(e) {
|
|
|
1029
1029
|
var r = Reflect.getOwnPropertyDescriptor(e, t);
|
|
1030
1030
|
if (r && "value" in r) {
|
|
1031
1031
|
var i = n.get(t);
|
|
1032
|
-
i && (r.value =
|
|
1032
|
+
i && (r.value = Z(i));
|
|
1033
1033
|
} else if (r === void 0) {
|
|
1034
1034
|
var a = n.get(t), s = a?.v;
|
|
1035
1035
|
if (a !== void 0 && s !== o) return {
|
|
@@ -1042,34 +1042,34 @@ function Zt(e) {
|
|
|
1042
1042
|
return r;
|
|
1043
1043
|
},
|
|
1044
1044
|
has(e, t) {
|
|
1045
|
-
if (t ===
|
|
1045
|
+
if (t === A) return !0;
|
|
1046
1046
|
var r = n.get(t), i = r !== void 0 && r.v !== o || Reflect.has(e, t);
|
|
1047
|
-
return (r !== void 0 || J !== null && (!i || m(e, t)?.writable)) && (r === void 0 && (r = l(() => /* @__PURE__ */
|
|
1047
|
+
return (r !== void 0 || J !== null && (!i || m(e, t)?.writable)) && (r === void 0 && (r = l(() => /* @__PURE__ */ V(i ? Yt(e[t]) : o, a)), n.set(t, r)), Z(r) === o) ? !1 : i;
|
|
1048
1048
|
},
|
|
1049
1049
|
set(e, t, s, c) {
|
|
1050
1050
|
var u = n.get(t), d = t in e;
|
|
1051
1051
|
if (r && t === "length") for (var f = s; f < u.v; f += 1) {
|
|
1052
1052
|
var p = n.get(f + "");
|
|
1053
|
-
p === void 0 ? f in e && (p = l(() => /* @__PURE__ */
|
|
1053
|
+
p === void 0 ? f in e && (p = l(() => /* @__PURE__ */ V(o, a)), n.set(f + "", p)) : H(p, o);
|
|
1054
1054
|
}
|
|
1055
|
-
if (u === void 0) (!d || m(e, t)?.writable) && (u = l(() => /* @__PURE__ */
|
|
1055
|
+
if (u === void 0) (!d || m(e, t)?.writable) && (u = l(() => /* @__PURE__ */ V(void 0, a)), H(u, Yt(s)), n.set(t, u));
|
|
1056
1056
|
else {
|
|
1057
1057
|
d = u.v !== o;
|
|
1058
|
-
var h = l(() =>
|
|
1059
|
-
|
|
1058
|
+
var h = l(() => Yt(s));
|
|
1059
|
+
H(u, h);
|
|
1060
1060
|
}
|
|
1061
1061
|
var g = Reflect.getOwnPropertyDescriptor(e, t);
|
|
1062
1062
|
if (g?.set && g.set.call(c, s), !d) {
|
|
1063
1063
|
if (r && typeof t == "string") {
|
|
1064
1064
|
var _ = n.get("length"), v = Number(t);
|
|
1065
|
-
Number.isInteger(v) && v >= _.v &&
|
|
1065
|
+
Number.isInteger(v) && v >= _.v && H(_, v + 1);
|
|
1066
1066
|
}
|
|
1067
|
-
|
|
1067
|
+
qt(i);
|
|
1068
1068
|
}
|
|
1069
1069
|
return !0;
|
|
1070
1070
|
},
|
|
1071
1071
|
ownKeys(e) {
|
|
1072
|
-
|
|
1072
|
+
Z(i);
|
|
1073
1073
|
var t = Reflect.ownKeys(e).filter((e) => {
|
|
1074
1074
|
var t = n.get(e);
|
|
1075
1075
|
return t === void 0 || t.v !== o;
|
|
@@ -1078,7 +1078,7 @@ function Zt(e) {
|
|
|
1078
1078
|
return t;
|
|
1079
1079
|
},
|
|
1080
1080
|
setPrototypeOf() {
|
|
1081
|
-
|
|
1081
|
+
we();
|
|
1082
1082
|
}
|
|
1083
1083
|
});
|
|
1084
1084
|
}
|
|
@@ -1093,101 +1093,101 @@ new Set([
|
|
|
1093
1093
|
"splice",
|
|
1094
1094
|
"unshift"
|
|
1095
1095
|
]);
|
|
1096
|
-
var
|
|
1097
|
-
function
|
|
1098
|
-
if (
|
|
1099
|
-
|
|
1096
|
+
var Xt, Zt, Qt, $t;
|
|
1097
|
+
function en() {
|
|
1098
|
+
if (Xt === void 0) {
|
|
1099
|
+
Xt = window, Zt = /Firefox/.test(navigator.userAgent);
|
|
1100
1100
|
var e = Element.prototype, t = Node.prototype, n = Text.prototype;
|
|
1101
|
-
|
|
1101
|
+
Qt = m(t, "firstChild").get, $t = m(t, "nextSibling").get, y(e) && (e[j] = void 0, e[ue] = null, e[de] = void 0, e.__e = void 0), y(n) && (n[fe] = void 0);
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function U(e = "") {
|
|
1105
1105
|
return document.createTextNode(e);
|
|
1106
1106
|
}
|
|
1107
1107
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1108
|
-
function
|
|
1109
|
-
return
|
|
1108
|
+
function W(e) {
|
|
1109
|
+
return Qt.call(e);
|
|
1110
1110
|
}
|
|
1111
1111
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1112
|
-
function
|
|
1113
|
-
return
|
|
1112
|
+
function tn(e) {
|
|
1113
|
+
return $t.call(e);
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1116
|
-
if (!
|
|
1117
|
-
var n = /* @__PURE__ */
|
|
1118
|
-
if (n === null) n =
|
|
1115
|
+
function nn(e, t) {
|
|
1116
|
+
if (!M) return /* @__PURE__ */ W(e);
|
|
1117
|
+
var n = /* @__PURE__ */ W(N);
|
|
1118
|
+
if (n === null) n = N.appendChild(U());
|
|
1119
1119
|
else if (t && n.nodeType !== 3) {
|
|
1120
|
-
var r =
|
|
1121
|
-
return n?.before(r),
|
|
1120
|
+
var r = U();
|
|
1121
|
+
return n?.before(r), P(r), r;
|
|
1122
1122
|
}
|
|
1123
|
-
return t &&
|
|
1123
|
+
return t && ln(n), P(n), n;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1126
|
-
if (!
|
|
1127
|
-
var n = /* @__PURE__ */
|
|
1128
|
-
return n instanceof Comment && n.data === "" ? /* @__PURE__ */
|
|
1125
|
+
function rn(e, t = !1) {
|
|
1126
|
+
if (!M) {
|
|
1127
|
+
var n = /* @__PURE__ */ W(e);
|
|
1128
|
+
return n instanceof Comment && n.data === "" ? /* @__PURE__ */ tn(n) : n;
|
|
1129
1129
|
}
|
|
1130
1130
|
if (t) {
|
|
1131
|
-
if (
|
|
1132
|
-
var r =
|
|
1133
|
-
return
|
|
1131
|
+
if (N?.nodeType !== 3) {
|
|
1132
|
+
var r = U();
|
|
1133
|
+
return N?.before(r), P(r), r;
|
|
1134
1134
|
}
|
|
1135
|
-
|
|
1135
|
+
ln(N);
|
|
1136
1136
|
}
|
|
1137
|
-
return
|
|
1137
|
+
return N;
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1140
|
-
let r =
|
|
1141
|
-
for (var i; t--;) i = r, r = /* @__PURE__ */
|
|
1142
|
-
if (!
|
|
1139
|
+
function an(e, t = 1, n = !1) {
|
|
1140
|
+
let r = M ? N : e;
|
|
1141
|
+
for (var i; t--;) i = r, r = /* @__PURE__ */ tn(r);
|
|
1142
|
+
if (!M) return r;
|
|
1143
1143
|
if (n) {
|
|
1144
1144
|
if (r?.nodeType !== 3) {
|
|
1145
|
-
var a =
|
|
1146
|
-
return r === null ? i?.after(a) : r.before(a),
|
|
1145
|
+
var a = U();
|
|
1146
|
+
return r === null ? i?.after(a) : r.before(a), P(a), a;
|
|
1147
1147
|
}
|
|
1148
|
-
|
|
1148
|
+
ln(r);
|
|
1149
1149
|
}
|
|
1150
|
-
return
|
|
1150
|
+
return P(r), r;
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1152
|
+
function on(e) {
|
|
1153
1153
|
e.textContent = "";
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return !
|
|
1155
|
+
function sn() {
|
|
1156
|
+
return !F || gt !== null ? !1 : (J.f & O) !== 0;
|
|
1157
1157
|
}
|
|
1158
|
-
function
|
|
1158
|
+
function cn(e, t, n) {
|
|
1159
1159
|
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);
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function ln(e) {
|
|
1162
1162
|
if (e.nodeValue.length < 65536) return;
|
|
1163
1163
|
let t = e.nextSibling;
|
|
1164
1164
|
for (; t !== null && t.nodeType === 3;) t.remove(), e.nodeValue += t.nodeValue, t = e.nextSibling;
|
|
1165
1165
|
}
|
|
1166
1166
|
//#endregion
|
|
1167
1167
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
|
|
1168
|
-
function
|
|
1169
|
-
var t =
|
|
1170
|
-
|
|
1168
|
+
function un(e) {
|
|
1169
|
+
var t = q, n = J;
|
|
1170
|
+
Bn(null), Vn(null);
|
|
1171
1171
|
try {
|
|
1172
1172
|
return e();
|
|
1173
1173
|
} finally {
|
|
1174
|
-
|
|
1174
|
+
Bn(t), Vn(n);
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
//#endregion
|
|
1178
1178
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/effects.js
|
|
1179
|
-
function
|
|
1180
|
-
J === null && (
|
|
1179
|
+
function dn(e) {
|
|
1180
|
+
J === null && (q === null && ye(e), ve()), Ln && _e(e);
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function fn(e, t) {
|
|
1183
1183
|
var n = t.last;
|
|
1184
1184
|
n === null ? t.last = t.first = e : (n.next = e, e.prev = n, t.last = e);
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function pn(e, t) {
|
|
1187
1187
|
var n = J;
|
|
1188
1188
|
n !== null && n.f & 8192 && (e |= E);
|
|
1189
1189
|
var r = {
|
|
1190
|
-
ctx:
|
|
1190
|
+
ctx: I,
|
|
1191
1191
|
deps: null,
|
|
1192
1192
|
nodes: null,
|
|
1193
1193
|
f: e | w | 512,
|
|
@@ -1202,137 +1202,137 @@ function hn(e, t) {
|
|
|
1202
1202
|
wv: 0,
|
|
1203
1203
|
ac: null
|
|
1204
1204
|
};
|
|
1205
|
-
|
|
1205
|
+
R?.register_created_effect(r);
|
|
1206
1206
|
var i = r;
|
|
1207
|
-
if (e & 4)
|
|
1207
|
+
if (e & 4) lt === null ? pt.ensure().schedule(r) : lt.push(r);
|
|
1208
1208
|
else if (t !== null) {
|
|
1209
1209
|
try {
|
|
1210
|
-
|
|
1210
|
+
nr(r);
|
|
1211
1211
|
} catch (e) {
|
|
1212
|
-
throw
|
|
1212
|
+
throw K(r), e;
|
|
1213
1213
|
}
|
|
1214
|
-
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 |=
|
|
1214
|
+
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 |= te));
|
|
1215
1215
|
}
|
|
1216
|
-
if (i !== null && (i.parent = n, n !== null &&
|
|
1217
|
-
var a =
|
|
1216
|
+
if (i !== null && (i.parent = n, n !== null && fn(i, n), q !== null && q.f & 2 && !(e & 64))) {
|
|
1217
|
+
var a = q;
|
|
1218
1218
|
(a.effects ??= []).push(i);
|
|
1219
1219
|
}
|
|
1220
1220
|
return r;
|
|
1221
1221
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return
|
|
1222
|
+
function mn() {
|
|
1223
|
+
return q !== null && !zn;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1226
|
-
let t =
|
|
1227
|
-
return
|
|
1225
|
+
function hn(e) {
|
|
1226
|
+
let t = pn(8, null);
|
|
1227
|
+
return L(t, C), t.teardown = e, t;
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1230
|
-
|
|
1229
|
+
function gn(e) {
|
|
1230
|
+
dn("$effect");
|
|
1231
1231
|
var t = J.f;
|
|
1232
|
-
if (!
|
|
1233
|
-
var n =
|
|
1232
|
+
if (!q && t & 32 && I !== null && !I.i) {
|
|
1233
|
+
var n = I;
|
|
1234
1234
|
(n.e ??= []).push(e);
|
|
1235
|
-
} else return
|
|
1235
|
+
} else return _n(e);
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1237
|
+
function _n(e) {
|
|
1238
|
+
return pn(4 | ne, e);
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1241
|
-
|
|
1242
|
-
let t =
|
|
1240
|
+
function vn(e) {
|
|
1241
|
+
pt.ensure();
|
|
1242
|
+
let t = pn(64 | k, e);
|
|
1243
1243
|
return () => {
|
|
1244
|
-
|
|
1244
|
+
K(t);
|
|
1245
1245
|
};
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1248
|
-
|
|
1249
|
-
let t =
|
|
1247
|
+
function yn(e) {
|
|
1248
|
+
pt.ensure();
|
|
1249
|
+
let t = pn(64 | k, e);
|
|
1250
1250
|
return (e = {}) => new Promise((n) => {
|
|
1251
|
-
e.outro ?
|
|
1252
|
-
|
|
1253
|
-
}) : (
|
|
1251
|
+
e.outro ? An(t, () => {
|
|
1252
|
+
K(t), n(void 0);
|
|
1253
|
+
}) : (K(t), n(void 0));
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return
|
|
1256
|
+
function bn(e) {
|
|
1257
|
+
return pn(4, e);
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return
|
|
1259
|
+
function xn(e) {
|
|
1260
|
+
return pn(oe | k, e);
|
|
1261
1261
|
}
|
|
1262
|
-
function
|
|
1263
|
-
return
|
|
1262
|
+
function Sn(e, t = 0) {
|
|
1263
|
+
return pn(8 | t, e);
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1266
|
-
|
|
1267
|
-
|
|
1265
|
+
function Cn(e, t = [], n = [], r = []) {
|
|
1266
|
+
Dt(r, t, n, (t) => {
|
|
1267
|
+
pn(8, () => e(...t.map(Z)));
|
|
1268
1268
|
});
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return
|
|
1270
|
+
function wn(e, t = 0) {
|
|
1271
|
+
return pn(16 | t, e);
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return
|
|
1273
|
+
function G(e) {
|
|
1274
|
+
return pn(32 | k, e);
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function Tn(e) {
|
|
1277
1277
|
var t = e.teardown;
|
|
1278
1278
|
if (t !== null) {
|
|
1279
|
-
let e =
|
|
1280
|
-
|
|
1279
|
+
let e = Ln, n = q;
|
|
1280
|
+
Rn(!0), Bn(null);
|
|
1281
1281
|
try {
|
|
1282
1282
|
t.call(null);
|
|
1283
1283
|
} finally {
|
|
1284
|
-
|
|
1284
|
+
Rn(e), Bn(n);
|
|
1285
1285
|
}
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function En(e, t = !1) {
|
|
1289
1289
|
var n = e.first;
|
|
1290
1290
|
for (e.first = e.last = null; n !== null;) {
|
|
1291
1291
|
let e = n.ac;
|
|
1292
|
-
e !== null &&
|
|
1293
|
-
e.abort(
|
|
1292
|
+
e !== null && un(() => {
|
|
1293
|
+
e.abort(pe);
|
|
1294
1294
|
});
|
|
1295
1295
|
var r = n.next;
|
|
1296
|
-
n.f & 64 ? n.parent = null :
|
|
1296
|
+
n.f & 64 ? n.parent = null : K(n, t), n = r;
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function Dn(e) {
|
|
1300
1300
|
for (var t = e.first; t !== null;) {
|
|
1301
1301
|
var n = t.next;
|
|
1302
|
-
t.f & 32 ||
|
|
1302
|
+
t.f & 32 || K(t), t = n;
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function K(e, t = !0) {
|
|
1306
1306
|
var n = !1;
|
|
1307
|
-
(t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (
|
|
1307
|
+
(t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (On(e.nodes.start, e.nodes.end), n = !0), L(e, ee), En(e, t && !n), tr(e, 0);
|
|
1308
1308
|
var r = e.nodes && e.nodes.t;
|
|
1309
1309
|
if (r !== null) for (let e of r) e.stop();
|
|
1310
|
-
|
|
1310
|
+
Tn(e), e.f ^= ee, e.f |= D;
|
|
1311
1311
|
var i = e.parent;
|
|
1312
|
-
i !== null && i.first !== null &&
|
|
1312
|
+
i !== null && i.first !== null && kn(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1314
|
+
function On(e, t) {
|
|
1315
1315
|
for (; e !== null;) {
|
|
1316
|
-
var n = e === t ? null : /* @__PURE__ */
|
|
1316
|
+
var n = e === t ? null : /* @__PURE__ */ tn(e);
|
|
1317
1317
|
e.remove(), e = n;
|
|
1318
1318
|
}
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1320
|
+
function kn(e) {
|
|
1321
1321
|
var t = e.parent, n = e.prev, r = e.next;
|
|
1322
1322
|
n !== null && (n.next = r), r !== null && (r.prev = n), t !== null && (t.first === e && (t.first = r), t.last === e && (t.last = n));
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function An(e, t, n = !0) {
|
|
1325
1325
|
var r = [];
|
|
1326
|
-
|
|
1326
|
+
jn(e, r, !0);
|
|
1327
1327
|
var i = () => {
|
|
1328
|
-
n &&
|
|
1328
|
+
n && K(e), t && t();
|
|
1329
1329
|
}, a = r.length;
|
|
1330
1330
|
if (a > 0) {
|
|
1331
1331
|
var o = () => --a || i();
|
|
1332
1332
|
for (var s of r) s.out(o);
|
|
1333
1333
|
} else i();
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function jn(e, t, n) {
|
|
1336
1336
|
if (!(e.f & 8192)) {
|
|
1337
1337
|
e.f ^= E;
|
|
1338
1338
|
var r = e.nodes && e.nodes.t;
|
|
@@ -1341,41 +1341,41 @@ function Nn(e, t, n) {
|
|
|
1341
1341
|
var a = i.next;
|
|
1342
1342
|
if (!(i.f & 64)) {
|
|
1343
1343
|
var o = (i.f & 65536) != 0 || (i.f & 32) != 0 && (e.f & 16) != 0;
|
|
1344
|
-
|
|
1344
|
+
jn(i, t, o ? n : !1);
|
|
1345
1345
|
}
|
|
1346
1346
|
i = a;
|
|
1347
1347
|
}
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1351
|
-
|
|
1350
|
+
function Mn(e) {
|
|
1351
|
+
Nn(e, !0);
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Nn(e, t) {
|
|
1354
1354
|
if (e.f & 8192) {
|
|
1355
|
-
e.f ^= E, e.f & 1024 || (
|
|
1355
|
+
e.f ^= E, e.f & 1024 || (L(e, w), pt.ensure().schedule(e));
|
|
1356
1356
|
for (var n = e.first; n !== null;) {
|
|
1357
1357
|
var r = n.next, i = (n.f & 65536) != 0 || (n.f & 32) != 0;
|
|
1358
|
-
|
|
1358
|
+
Nn(n, i ? t : !1), n = r;
|
|
1359
1359
|
}
|
|
1360
1360
|
var a = e.nodes && e.nodes.t;
|
|
1361
1361
|
if (a !== null) for (let e of a) (e.is_global || t) && e.in();
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function Pn(e, t) {
|
|
1365
1365
|
if (e.nodes) for (var n = e.nodes.start, r = e.nodes.end; n !== null;) {
|
|
1366
|
-
var i = n === r ? null : /* @__PURE__ */
|
|
1366
|
+
var i = n === r ? null : /* @__PURE__ */ tn(n);
|
|
1367
1367
|
t.append(n), n = i;
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
1370
|
//#endregion
|
|
1371
1371
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/legacy.js
|
|
1372
|
-
var
|
|
1373
|
-
function
|
|
1374
|
-
|
|
1372
|
+
var Fn = null, In = !1, Ln = !1;
|
|
1373
|
+
function Rn(e) {
|
|
1374
|
+
Ln = e;
|
|
1375
1375
|
}
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1378
|
-
|
|
1376
|
+
var q = null, zn = !1;
|
|
1377
|
+
function Bn(e) {
|
|
1378
|
+
q = e;
|
|
1379
1379
|
}
|
|
1380
1380
|
var J = null;
|
|
1381
1381
|
function Vn(e) {
|
|
@@ -1383,68 +1383,68 @@ function Vn(e) {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
var Hn = null;
|
|
1385
1385
|
function Un(e) {
|
|
1386
|
-
|
|
1386
|
+
q !== null && (!F || q.f & 2) && (Hn ??= /* @__PURE__ */ new Set()).add(e);
|
|
1387
1387
|
}
|
|
1388
|
-
var Y = null, X = 0,
|
|
1389
|
-
function
|
|
1390
|
-
|
|
1388
|
+
var Y = null, X = 0, Wn = null;
|
|
1389
|
+
function Gn(e) {
|
|
1390
|
+
Wn = e;
|
|
1391
1391
|
}
|
|
1392
|
-
var
|
|
1393
|
-
function
|
|
1394
|
-
|
|
1392
|
+
var Kn = 1, qn = 0, Jn = qn;
|
|
1393
|
+
function Yn(e) {
|
|
1394
|
+
Jn = e;
|
|
1395
1395
|
}
|
|
1396
|
-
function
|
|
1397
|
-
return ++
|
|
1396
|
+
function Xn() {
|
|
1397
|
+
return ++Kn;
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function Zn(e) {
|
|
1400
1400
|
var t = e.f;
|
|
1401
1401
|
if (t & 2048) return !0;
|
|
1402
|
-
if (t & 2 && (e.f &= ~
|
|
1402
|
+
if (t & 2 && (e.f &= ~ie), t & 4096) {
|
|
1403
1403
|
for (var n = e.deps, r = n.length, i = 0; i < r; i++) {
|
|
1404
1404
|
var a = n[i];
|
|
1405
|
-
if (
|
|
1405
|
+
if (Zn(a) && Lt(a), a.wv > e.wv) return !0;
|
|
1406
1406
|
}
|
|
1407
|
-
t & 512 &&
|
|
1407
|
+
t & 512 && z === null && L(e, C);
|
|
1408
1408
|
}
|
|
1409
1409
|
return !1;
|
|
1410
1410
|
}
|
|
1411
|
-
function
|
|
1411
|
+
function Qn(e, t, n = !0) {
|
|
1412
1412
|
var r = e.reactions;
|
|
1413
|
-
if (r !== null && !(!
|
|
1413
|
+
if (r !== null && !(!F && Hn !== null && Hn.has(e))) for (var i = 0; i < r.length; i++) {
|
|
1414
1414
|
var a = r[i];
|
|
1415
|
-
a.f & 2 ?
|
|
1415
|
+
a.f & 2 ? Qn(a, t, !1) : t === a && (n ? L(a, w) : a.f & 1024 && L(a, T), bt(a));
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1419
|
-
var t = Y, n = X, r =
|
|
1420
|
-
Y = null, X = 0,
|
|
1421
|
-
e.ac.abort(
|
|
1418
|
+
function $n(e) {
|
|
1419
|
+
var t = Y, n = X, r = Wn, i = q, a = Hn, o = I, s = zn, c = Jn, l = e.f;
|
|
1420
|
+
Y = null, X = 0, Wn = null, q = l & 96 ? null : e, Hn = null, Be(e.ctx), zn = !1, Jn = ++qn, e.ac !== null && (un(() => {
|
|
1421
|
+
e.ac.abort(pe);
|
|
1422
1422
|
}), e.ac = null);
|
|
1423
1423
|
try {
|
|
1424
|
-
e.f |=
|
|
1424
|
+
e.f |= ae;
|
|
1425
1425
|
var u = e.fn, d = u();
|
|
1426
|
-
e.f |=
|
|
1427
|
-
var f = e.deps, p =
|
|
1426
|
+
e.f |= O;
|
|
1427
|
+
var f = e.deps, p = R?.is_fork;
|
|
1428
1428
|
if (Y !== null) {
|
|
1429
1429
|
var m;
|
|
1430
|
-
if (p ||
|
|
1430
|
+
if (p || tr(e, X), f !== null && X > 0) for (f.length = X + Y.length, m = 0; m < Y.length; m++) f[X + m] = Y[m];
|
|
1431
1431
|
else e.deps = f = Y;
|
|
1432
|
-
if (
|
|
1433
|
-
} else !p && f !== null && X < f.length && (
|
|
1434
|
-
if (
|
|
1432
|
+
if (mn() && e.f & 512) for (m = X; m < f.length; m++) (f[m].reactions ??= []).push(e);
|
|
1433
|
+
} else !p && f !== null && X < f.length && (tr(e, X), f.length = X);
|
|
1434
|
+
if (Ue() && Wn !== null && !zn && f !== null && !(e.f & 6146)) for (m = 0; m < Wn.length; m++) Qn(Wn[m], e);
|
|
1435
1435
|
if (i !== null && i !== e) {
|
|
1436
|
-
if (
|
|
1437
|
-
if (t !== null) for (let e of t) e.rv =
|
|
1438
|
-
|
|
1436
|
+
if (qn++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = qn;
|
|
1437
|
+
if (t !== null) for (let e of t) e.rv = qn;
|
|
1438
|
+
Wn !== null && (r === null ? r = Wn : r.push(...Wn));
|
|
1439
1439
|
}
|
|
1440
|
-
return e.f & 8388608 && (e.f ^=
|
|
1440
|
+
return e.f & 8388608 && (e.f ^= se), d;
|
|
1441
1441
|
} catch (e) {
|
|
1442
|
-
return
|
|
1442
|
+
return Je(e);
|
|
1443
1443
|
} finally {
|
|
1444
|
-
e.f ^=
|
|
1444
|
+
e.f ^= ae, Y = t, X = n, Wn = r, q = i, Hn = a, Be(o), zn = s, Jn = c;
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function er(e, t) {
|
|
1448
1448
|
let n = t.reactions;
|
|
1449
1449
|
if (n !== null) {
|
|
1450
1450
|
var r = l.call(n, e);
|
|
@@ -1455,106 +1455,106 @@ function $n(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
if (n === null && t.f & 2 && (Y === null || !u.call(Y, t))) {
|
|
1457
1457
|
var a = t;
|
|
1458
|
-
a.f & 512 && (a.f ^= 512, a.f &= ~
|
|
1458
|
+
a.f & 512 && (a.f ^= 512, a.f &= ~ie), a.v !== o && Ze(a), Rt(a), tr(a, 0);
|
|
1459
1459
|
}
|
|
1460
1460
|
}
|
|
1461
|
-
function
|
|
1461
|
+
function tr(e, t) {
|
|
1462
1462
|
var n = e.deps;
|
|
1463
|
-
if (n !== null) for (var r = t; r < n.length; r++)
|
|
1463
|
+
if (n !== null) for (var r = t; r < n.length; r++) er(e, n[r]);
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1465
|
+
function nr(e) {
|
|
1466
1466
|
var t = e.f;
|
|
1467
1467
|
if (!(t & 16384)) {
|
|
1468
|
-
|
|
1469
|
-
var n = J, r =
|
|
1470
|
-
J = e,
|
|
1468
|
+
L(e, C);
|
|
1469
|
+
var n = J, r = In;
|
|
1470
|
+
J = e, In = !0;
|
|
1471
1471
|
try {
|
|
1472
|
-
t & 16777232 ?
|
|
1473
|
-
var i =
|
|
1474
|
-
e.teardown = typeof i == "function" ? i : null, e.wv =
|
|
1472
|
+
t & 16777232 ? Dn(e) : En(e), Tn(e);
|
|
1473
|
+
var i = $n(e);
|
|
1474
|
+
e.teardown = typeof i == "function" ? i : null, e.wv = Kn;
|
|
1475
1475
|
} finally {
|
|
1476
|
-
|
|
1476
|
+
In = r, J = n;
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function Z(e) {
|
|
1481
1481
|
var t = (e.f & 2) != 0;
|
|
1482
|
-
if (
|
|
1483
|
-
var n =
|
|
1484
|
-
if (
|
|
1482
|
+
if (Fn?.add(e), q !== null && !zn && !(J !== null && J.f & 16384) && (Hn === null || !Hn.has(e))) {
|
|
1483
|
+
var n = q.deps;
|
|
1484
|
+
if (q.f & 2097152) e.rv < qn && (e.rv = qn, Y === null && n !== null && n[X] === e ? X++ : Y === null ? Y = [e] : Y.push(e));
|
|
1485
1485
|
else {
|
|
1486
|
-
|
|
1486
|
+
q.deps ??= [], u.call(q.deps, e) || q.deps.push(e);
|
|
1487
1487
|
var r = e.reactions;
|
|
1488
|
-
r === null ? e.reactions = [
|
|
1488
|
+
r === null ? e.reactions = [q] : u.call(r, q) || r.push(q);
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
|
-
if (
|
|
1491
|
+
if (Ln && Vt.has(e)) return Vt.get(e);
|
|
1492
1492
|
if (t) {
|
|
1493
1493
|
var i = e;
|
|
1494
|
-
if (
|
|
1494
|
+
if (Ln) {
|
|
1495
1495
|
var a = i.v;
|
|
1496
|
-
return (!(i.f & 1024) && i.reactions !== null ||
|
|
1496
|
+
return (!(i.f & 1024) && i.reactions !== null || ir(i)) && (a = It(i)), Vt.set(i, a), a;
|
|
1497
1497
|
}
|
|
1498
|
-
var o = (i.f & 512) == 0 && !
|
|
1499
|
-
|
|
1498
|
+
var o = (i.f & 512) == 0 && !zn && q !== null && (In || (q.f & 512) != 0), s = (i.f & O) === 0;
|
|
1499
|
+
Zn(i) && (o && (i.f |= 512), Lt(i)), o && !s && (zt(i), rr(i));
|
|
1500
1500
|
}
|
|
1501
|
-
if (
|
|
1501
|
+
if (z?.has(e)) return z.get(e);
|
|
1502
1502
|
if (e.f & 8388608) throw e.v;
|
|
1503
1503
|
return e.v;
|
|
1504
1504
|
}
|
|
1505
|
-
function nr(e) {
|
|
1506
|
-
if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (Vt(t), nr(t));
|
|
1507
|
-
}
|
|
1508
1505
|
function rr(e) {
|
|
1506
|
+
if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (zt(t), rr(t));
|
|
1507
|
+
}
|
|
1508
|
+
function ir(e) {
|
|
1509
1509
|
if (e.v === o) return !0;
|
|
1510
1510
|
if (e.deps === null) return !1;
|
|
1511
|
-
for (let t of e.deps) if (
|
|
1511
|
+
for (let t of e.deps) if (Vt.has(t) || t.f & 2 && ir(t)) return !0;
|
|
1512
1512
|
return !1;
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1515
|
-
var t =
|
|
1514
|
+
function ar(e) {
|
|
1515
|
+
var t = zn;
|
|
1516
1516
|
try {
|
|
1517
|
-
return
|
|
1517
|
+
return zn = !0, e();
|
|
1518
1518
|
} finally {
|
|
1519
|
-
|
|
1519
|
+
zn = t;
|
|
1520
1520
|
}
|
|
1521
1521
|
}
|
|
1522
1522
|
//#endregion
|
|
1523
1523
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/elements/events.js
|
|
1524
|
-
var
|
|
1525
|
-
function
|
|
1524
|
+
var or = Symbol("events"), sr = /* @__PURE__ */ new Set(), cr = /* @__PURE__ */ new Set();
|
|
1525
|
+
function lr(e, t, n, r = {}) {
|
|
1526
1526
|
function i(e) {
|
|
1527
|
-
if (r.capture ||
|
|
1527
|
+
if (r.capture || mr.call(t, e), !e.cancelBubble) return un(() => n?.call(this, e));
|
|
1528
1528
|
}
|
|
1529
|
-
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ?
|
|
1529
|
+
return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Ke(() => {
|
|
1530
1530
|
t.addEventListener(e, i, r);
|
|
1531
1531
|
}) : t.addEventListener(e, i, r), i;
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function ur(e, t, n, r, i) {
|
|
1534
1534
|
var a = {
|
|
1535
1535
|
capture: r,
|
|
1536
1536
|
passive: i
|
|
1537
|
-
}, o =
|
|
1538
|
-
(t === document.body || t === window || t === document || t instanceof HTMLMediaElement) &&
|
|
1537
|
+
}, o = lr(e, t, n, a);
|
|
1538
|
+
(t === document.body || t === window || t === document || t instanceof HTMLMediaElement) && hn(() => {
|
|
1539
1539
|
t.removeEventListener(e, o, a);
|
|
1540
1540
|
});
|
|
1541
1541
|
}
|
|
1542
|
-
function
|
|
1543
|
-
(t[
|
|
1542
|
+
function dr(e, t, n) {
|
|
1543
|
+
(t[or] ??= {})[e] = n;
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1546
|
-
for (var t = 0; t < e.length; t++)
|
|
1547
|
-
for (var n of
|
|
1545
|
+
function fr(e) {
|
|
1546
|
+
for (var t = 0; t < e.length; t++) sr.add(e[t]);
|
|
1547
|
+
for (var n of cr) n(e);
|
|
1548
1548
|
}
|
|
1549
|
-
var
|
|
1550
|
-
function
|
|
1549
|
+
var pr = null;
|
|
1550
|
+
function mr(e) {
|
|
1551
1551
|
var t = this, n = t.ownerDocument, r = e.type, i = e.composedPath?.() || [], a = i[0] || e.target;
|
|
1552
|
-
|
|
1553
|
-
var o = 0, s =
|
|
1552
|
+
pr = e;
|
|
1553
|
+
var o = 0, s = pr === e && e[or];
|
|
1554
1554
|
if (s) {
|
|
1555
1555
|
var c = i.indexOf(s);
|
|
1556
1556
|
if (c !== -1 && (t === document || t === window)) {
|
|
1557
|
-
e[
|
|
1557
|
+
e[or] = t;
|
|
1558
1558
|
return;
|
|
1559
1559
|
}
|
|
1560
1560
|
var l = i.indexOf(t);
|
|
@@ -1568,12 +1568,12 @@ function pr(e) {
|
|
|
1568
1568
|
return a || n;
|
|
1569
1569
|
}
|
|
1570
1570
|
});
|
|
1571
|
-
var u =
|
|
1572
|
-
|
|
1571
|
+
var u = q, d = J;
|
|
1572
|
+
Bn(null), Vn(null);
|
|
1573
1573
|
try {
|
|
1574
1574
|
for (var f, m = []; a !== null && a !== t;) {
|
|
1575
1575
|
try {
|
|
1576
|
-
var h = a[
|
|
1576
|
+
var h = a[or]?.[r];
|
|
1577
1577
|
h != null && (!a.disabled || e.target === a) && h.call(a, e);
|
|
1578
1578
|
} catch (e) {
|
|
1579
1579
|
f ? m.push(e) : f = e;
|
|
@@ -1588,23 +1588,23 @@ function pr(e) {
|
|
|
1588
1588
|
throw f;
|
|
1589
1589
|
}
|
|
1590
1590
|
} finally {
|
|
1591
|
-
e[
|
|
1591
|
+
e[or] = t, delete e.currentTarget, Bn(u), Vn(d);
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
1594
1594
|
}
|
|
1595
1595
|
//#endregion
|
|
1596
1596
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/reconciler.js
|
|
1597
|
-
var
|
|
1598
|
-
function hr(e) {
|
|
1599
|
-
return mr?.createHTML(e) ?? e;
|
|
1600
|
-
}
|
|
1597
|
+
var hr = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
|
|
1601
1598
|
function gr(e) {
|
|
1602
|
-
|
|
1603
|
-
|
|
1599
|
+
return hr?.createHTML(e) ?? e;
|
|
1600
|
+
}
|
|
1601
|
+
function _r(e) {
|
|
1602
|
+
var t = cn("template");
|
|
1603
|
+
return t.innerHTML = gr(e.replaceAll("<!>", "<!---->")), t.content;
|
|
1604
1604
|
}
|
|
1605
1605
|
//#endregion
|
|
1606
1606
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/template.js
|
|
1607
|
-
function
|
|
1607
|
+
function vr(e, t) {
|
|
1608
1608
|
var n = J;
|
|
1609
1609
|
n.nodes === null && (n.nodes = {
|
|
1610
1610
|
start: e,
|
|
@@ -1614,129 +1614,129 @@ function _r(e, t) {
|
|
|
1614
1614
|
});
|
|
1615
1615
|
}
|
|
1616
1616
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1617
|
-
function
|
|
1617
|
+
function yr(e, t) {
|
|
1618
1618
|
var n = (t & 1) != 0, r = (t & 2) != 0, i, a = !e.startsWith("<!>");
|
|
1619
1619
|
return () => {
|
|
1620
|
-
if (
|
|
1621
|
-
i === void 0 && (i =
|
|
1622
|
-
var t = r ||
|
|
1620
|
+
if (M) return vr(N, null), N;
|
|
1621
|
+
i === void 0 && (i = _r(a ? e : "<!>" + e), n || (i = /* @__PURE__ */ W(i)));
|
|
1622
|
+
var t = r || Zt ? document.importNode(i, !0) : i.cloneNode(!0);
|
|
1623
1623
|
if (n) {
|
|
1624
|
-
var o = /* @__PURE__ */
|
|
1625
|
-
|
|
1626
|
-
} else
|
|
1624
|
+
var o = /* @__PURE__ */ W(t), s = t.lastChild;
|
|
1625
|
+
vr(o, s);
|
|
1626
|
+
} else vr(t, t);
|
|
1627
1627
|
return t;
|
|
1628
1628
|
};
|
|
1629
1629
|
}
|
|
1630
1630
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1631
|
-
function
|
|
1631
|
+
function br(e, t, n = "svg") {
|
|
1632
1632
|
var r = !e.startsWith("<!>"), i = (t & 1) != 0, a = `<${n}>${r ? e : "<!>" + e}</${n}>`, o;
|
|
1633
1633
|
return () => {
|
|
1634
|
-
if (
|
|
1634
|
+
if (M) return vr(N, null), N;
|
|
1635
1635
|
if (!o) {
|
|
1636
|
-
var e = /* @__PURE__ */
|
|
1637
|
-
if (i) for (o = document.createDocumentFragment(); /* @__PURE__ */
|
|
1638
|
-
else o = /* @__PURE__ */
|
|
1636
|
+
var e = /* @__PURE__ */ W(_r(a));
|
|
1637
|
+
if (i) for (o = document.createDocumentFragment(); /* @__PURE__ */ W(e);) o.appendChild(/* @__PURE__ */ W(e));
|
|
1638
|
+
else o = /* @__PURE__ */ W(e);
|
|
1639
1639
|
}
|
|
1640
1640
|
var t = o.cloneNode(!0);
|
|
1641
1641
|
if (i) {
|
|
1642
|
-
var n = /* @__PURE__ */
|
|
1643
|
-
|
|
1644
|
-
} else
|
|
1642
|
+
var n = /* @__PURE__ */ W(t), r = t.lastChild;
|
|
1643
|
+
vr(n, r);
|
|
1644
|
+
} else vr(t, t);
|
|
1645
1645
|
return t;
|
|
1646
1646
|
};
|
|
1647
1647
|
}
|
|
1648
1648
|
/* @__NO_SIDE_EFFECTS__ */
|
|
1649
|
-
function
|
|
1650
|
-
return /* @__PURE__ */
|
|
1649
|
+
function xr(e, t) {
|
|
1650
|
+
return /* @__PURE__ */ br(e, t, "svg");
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1653
|
-
if (
|
|
1654
|
-
var e = document.createDocumentFragment(), t = document.createComment(""), n =
|
|
1655
|
-
return e.append(t, n),
|
|
1652
|
+
function Sr() {
|
|
1653
|
+
if (M) return vr(N, null), N;
|
|
1654
|
+
var e = document.createDocumentFragment(), t = document.createComment(""), n = U();
|
|
1655
|
+
return e.append(t, n), vr(t, n), e;
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1658
|
-
if (
|
|
1657
|
+
function Q(e, t) {
|
|
1658
|
+
if (M) {
|
|
1659
1659
|
var n = J;
|
|
1660
|
-
(!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end =
|
|
1660
|
+
(!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end = N), je();
|
|
1661
1661
|
return;
|
|
1662
1662
|
}
|
|
1663
1663
|
e !== null && e.before(t);
|
|
1664
1664
|
}
|
|
1665
1665
|
[.../* @__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(".")];
|
|
1666
|
-
var
|
|
1667
|
-
function
|
|
1668
|
-
return
|
|
1669
|
-
}
|
|
1670
|
-
function wr(e, t) {
|
|
1671
|
-
var n = t == null ? "" : typeof t == "object" ? `${t}` : t;
|
|
1672
|
-
n !== (e[me] ??= e.nodeValue) && (e[me] = n, e.nodeValue = `${n}`);
|
|
1666
|
+
var Cr = ["touchstart", "touchmove"];
|
|
1667
|
+
function wr(e) {
|
|
1668
|
+
return Cr.includes(e);
|
|
1673
1669
|
}
|
|
1674
1670
|
function Tr(e, t) {
|
|
1675
|
-
|
|
1671
|
+
var n = t == null ? "" : typeof t == "object" ? `${t}` : t;
|
|
1672
|
+
n !== (e[fe] ??= e.nodeValue) && (e[fe] = n, e.nodeValue = `${n}`);
|
|
1676
1673
|
}
|
|
1677
1674
|
function Er(e, t) {
|
|
1678
|
-
|
|
1679
|
-
|
|
1675
|
+
return kr(e, t);
|
|
1676
|
+
}
|
|
1677
|
+
function Dr(e, t) {
|
|
1678
|
+
en(), t.intro = t.intro ?? !1;
|
|
1679
|
+
let n = t.target, r = M, i = N;
|
|
1680
1680
|
try {
|
|
1681
|
-
for (var o = /* @__PURE__ */
|
|
1681
|
+
for (var o = /* @__PURE__ */ W(n); o && (o.nodeType !== 8 || o.data !== "[");) o = /* @__PURE__ */ tn(o);
|
|
1682
1682
|
if (!o) throw a;
|
|
1683
|
-
|
|
1684
|
-
let r =
|
|
1683
|
+
Ae(!0), P(o);
|
|
1684
|
+
let r = kr(e, {
|
|
1685
1685
|
...t,
|
|
1686
1686
|
anchor: o
|
|
1687
1687
|
});
|
|
1688
|
-
return
|
|
1688
|
+
return Ae(!1), r;
|
|
1689
1689
|
} catch (r) {
|
|
1690
1690
|
if (r instanceof Error && r.message.split("\n").some((e) => e.startsWith("https://svelte.dev/e/"))) throw r;
|
|
1691
|
-
return r !== a && console.warn("Failed to hydrate: ", r), t.recover === !1 &&
|
|
1691
|
+
return r !== a && console.warn("Failed to hydrate: ", r), t.recover === !1 && xe(), en(), on(n), Ae(!1), Er(e, t);
|
|
1692
1692
|
} finally {
|
|
1693
|
-
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
var
|
|
1697
|
-
function
|
|
1698
|
-
|
|
1699
|
-
var l = void 0, u =
|
|
1700
|
-
var s = n ?? t.appendChild(
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
var n =
|
|
1704
|
-
if (o && (n.c = o), i && (r.$$events = i),
|
|
1705
|
-
|
|
1693
|
+
Ae(r), P(i);
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
var Or = /* @__PURE__ */ new Map();
|
|
1697
|
+
function kr(e, { target: t, anchor: n, props: r = {}, events: i, context: o, intro: s = !0, transformError: c }) {
|
|
1698
|
+
en();
|
|
1699
|
+
var l = void 0, u = yn(() => {
|
|
1700
|
+
var s = n ?? t.appendChild(U());
|
|
1701
|
+
Tt(s, { pending: () => {} }, (t) => {
|
|
1702
|
+
Ve({});
|
|
1703
|
+
var n = I;
|
|
1704
|
+
if (o && (n.c = o), i && (r.$$events = i), M && vr(t, null), l = e(t, r) || {}, M && (J.nodes.end = N, N === null || N.nodeType !== 8 || N.data !== "]")) throw Oe(), a;
|
|
1705
|
+
He();
|
|
1706
1706
|
}, c);
|
|
1707
1707
|
var u = /* @__PURE__ */ new Set(), f = (e) => {
|
|
1708
1708
|
for (var n = 0; n < e.length; n++) {
|
|
1709
1709
|
var r = e[n];
|
|
1710
1710
|
if (!u.has(r)) {
|
|
1711
1711
|
u.add(r);
|
|
1712
|
-
var i =
|
|
1712
|
+
var i = wr(r);
|
|
1713
1713
|
for (let e of [t, document]) {
|
|
1714
|
-
var a =
|
|
1715
|
-
a === void 0 && (a = /* @__PURE__ */ new Map(),
|
|
1714
|
+
var a = Or.get(e);
|
|
1715
|
+
a === void 0 && (a = /* @__PURE__ */ new Map(), Or.set(e, a));
|
|
1716
1716
|
var o = a.get(r);
|
|
1717
|
-
o === void 0 ? (e.addEventListener(r,
|
|
1717
|
+
o === void 0 ? (e.addEventListener(r, mr, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
|
|
1718
1718
|
}
|
|
1719
1719
|
}
|
|
1720
1720
|
}
|
|
1721
1721
|
};
|
|
1722
|
-
return f(d(
|
|
1722
|
+
return f(d(sr)), cr.add(f), () => {
|
|
1723
1723
|
for (var e of u) for (let n of [t, document]) {
|
|
1724
|
-
var r =
|
|
1725
|
-
--i == 0 ? (n.removeEventListener(e,
|
|
1724
|
+
var r = Or.get(n), i = r.get(e);
|
|
1725
|
+
--i == 0 ? (n.removeEventListener(e, mr), r.delete(e), r.size === 0 && Or.delete(n)) : r.set(e, i);
|
|
1726
1726
|
}
|
|
1727
|
-
|
|
1727
|
+
cr.delete(f), s !== n && s.parentNode?.removeChild(s);
|
|
1728
1728
|
};
|
|
1729
1729
|
});
|
|
1730
|
-
return
|
|
1730
|
+
return Ar.set(l, u), l;
|
|
1731
1731
|
}
|
|
1732
|
-
var
|
|
1733
|
-
function
|
|
1734
|
-
let n =
|
|
1735
|
-
return n ? (
|
|
1732
|
+
var Ar = /* @__PURE__ */ new WeakMap();
|
|
1733
|
+
function jr(e, t) {
|
|
1734
|
+
let n = Ar.get(e);
|
|
1735
|
+
return n ? (Ar.delete(e), n(t)) : Promise.resolve();
|
|
1736
1736
|
}
|
|
1737
1737
|
//#endregion
|
|
1738
1738
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/blocks/branches.js
|
|
1739
|
-
var
|
|
1739
|
+
var Mr = class {
|
|
1740
1740
|
anchor;
|
|
1741
1741
|
#e = /* @__PURE__ */ new Map();
|
|
1742
1742
|
#t = /* @__PURE__ */ new Map();
|
|
@@ -1749,71 +1749,71 @@ var jr = class {
|
|
|
1749
1749
|
#a = (e) => {
|
|
1750
1750
|
if (this.#e.has(e)) {
|
|
1751
1751
|
var t = this.#e.get(e), n = this.#t.get(t);
|
|
1752
|
-
if (n)
|
|
1752
|
+
if (n) Mn(n), this.#r.delete(t);
|
|
1753
1753
|
else {
|
|
1754
1754
|
var r = this.#n.get(t);
|
|
1755
|
-
r && (
|
|
1755
|
+
r && (Mn(r.effect), this.#t.set(t, r.effect), this.#n.delete(t), r.fragment.lastChild.remove(), this.anchor.before(r.fragment), n = r.effect);
|
|
1756
1756
|
}
|
|
1757
1757
|
for (let [t, n] of this.#e) {
|
|
1758
1758
|
if (this.#e.delete(t), t === e) break;
|
|
1759
1759
|
let r = this.#n.get(n);
|
|
1760
|
-
r && (
|
|
1760
|
+
r && (K(r.effect), this.#n.delete(n));
|
|
1761
1761
|
}
|
|
1762
1762
|
for (let [e, r] of this.#t) {
|
|
1763
1763
|
if (e === t || this.#r.has(e)) continue;
|
|
1764
1764
|
let i = () => {
|
|
1765
1765
|
if (Array.from(this.#e.values()).includes(e)) {
|
|
1766
1766
|
var t = document.createDocumentFragment();
|
|
1767
|
-
|
|
1767
|
+
Pn(r, t), t.append(U()), this.#n.set(e, {
|
|
1768
1768
|
effect: r,
|
|
1769
1769
|
fragment: t
|
|
1770
1770
|
});
|
|
1771
|
-
} else
|
|
1771
|
+
} else K(r);
|
|
1772
1772
|
this.#r.delete(e), this.#t.delete(e);
|
|
1773
1773
|
};
|
|
1774
|
-
this.#i || !n ? (this.#r.add(e),
|
|
1774
|
+
this.#i || !n ? (this.#r.add(e), An(r, i, !1)) : i();
|
|
1775
1775
|
}
|
|
1776
1776
|
}
|
|
1777
1777
|
};
|
|
1778
1778
|
#o = (e) => {
|
|
1779
1779
|
this.#e.delete(e);
|
|
1780
1780
|
let t = Array.from(this.#e.values());
|
|
1781
|
-
for (let [e, n] of this.#n) t.includes(e) || (
|
|
1781
|
+
for (let [e, n] of this.#n) t.includes(e) || (K(n.effect), this.#n.delete(e));
|
|
1782
1782
|
};
|
|
1783
1783
|
ensure(e, t) {
|
|
1784
|
-
var n =
|
|
1784
|
+
var n = R, r = sn();
|
|
1785
1785
|
if (t && !this.#t.has(e) && !this.#n.has(e)) if (r) {
|
|
1786
|
-
var i = document.createDocumentFragment(), a =
|
|
1786
|
+
var i = document.createDocumentFragment(), a = U();
|
|
1787
1787
|
i.append(a), this.#n.set(e, {
|
|
1788
|
-
effect:
|
|
1788
|
+
effect: G(() => t(a)),
|
|
1789
1789
|
fragment: i
|
|
1790
1790
|
});
|
|
1791
|
-
} else this.#t.set(e,
|
|
1791
|
+
} else this.#t.set(e, G(() => t(this.anchor)));
|
|
1792
1792
|
if (this.#e.set(n, e), r) {
|
|
1793
1793
|
for (let [t, r] of this.#t) t === e ? n.unskip_effect(r) : n.skip_effect(r);
|
|
1794
1794
|
for (let [t, r] of this.#n) t === e ? n.unskip_effect(r.effect) : n.skip_effect(r.effect);
|
|
1795
1795
|
n.oncommit(this.#a), n.ondiscard(this.#o);
|
|
1796
|
-
} else
|
|
1796
|
+
} else M && (this.anchor = N), this.#a(n);
|
|
1797
1797
|
}
|
|
1798
1798
|
};
|
|
1799
1799
|
//#endregion
|
|
1800
1800
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/blocks/if.js
|
|
1801
|
-
function
|
|
1801
|
+
function Nr(e, t, n = !1) {
|
|
1802
1802
|
var r;
|
|
1803
|
-
|
|
1804
|
-
var i = new
|
|
1803
|
+
M && (r = N, je());
|
|
1804
|
+
var i = new Mr(e), a = n ? te : 0;
|
|
1805
1805
|
function o(e, t) {
|
|
1806
|
-
if (
|
|
1807
|
-
var n =
|
|
1806
|
+
if (M) {
|
|
1807
|
+
var n = Fe(r);
|
|
1808
1808
|
if (e !== parseInt(n.substring(1))) {
|
|
1809
|
-
var a =
|
|
1810
|
-
|
|
1809
|
+
var a = Pe();
|
|
1810
|
+
P(a), i.anchor = a, Ae(!1), i.ensure(e, t), Ae(!0);
|
|
1811
1811
|
return;
|
|
1812
1812
|
}
|
|
1813
1813
|
}
|
|
1814
1814
|
i.ensure(e, t);
|
|
1815
1815
|
}
|
|
1816
|
-
|
|
1816
|
+
wn(() => {
|
|
1817
1817
|
var e = !1;
|
|
1818
1818
|
t((t, n = 0) => {
|
|
1819
1819
|
e = !0, o(n, t);
|
|
@@ -1822,14 +1822,14 @@ function Mr(e, t, n = !1) {
|
|
|
1822
1822
|
}
|
|
1823
1823
|
//#endregion
|
|
1824
1824
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/blocks/each.js
|
|
1825
|
-
function
|
|
1825
|
+
function Pr(e, t, n) {
|
|
1826
1826
|
for (var r = [], i = t.length, a, o = t.length, s = 0; s < i; s++) {
|
|
1827
1827
|
let n = t[s];
|
|
1828
|
-
|
|
1828
|
+
An(n, () => {
|
|
1829
1829
|
if (a) {
|
|
1830
1830
|
if (a.pending.delete(n), a.done.add(n), a.pending.size === 0) {
|
|
1831
1831
|
var t = e.outrogroups;
|
|
1832
|
-
|
|
1832
|
+
Fr(e, d(a.done)), t.delete(a), t.size === 0 && (e.outrogroups = null);
|
|
1833
1833
|
}
|
|
1834
1834
|
} else --o;
|
|
1835
1835
|
}, !1);
|
|
@@ -1838,15 +1838,15 @@ function Nr(e, t, n) {
|
|
|
1838
1838
|
var c = r.length === 0 && n !== null;
|
|
1839
1839
|
if (c) {
|
|
1840
1840
|
var l = n, u = l.parentNode;
|
|
1841
|
-
|
|
1841
|
+
on(u), u.append(l), e.items.clear();
|
|
1842
1842
|
}
|
|
1843
|
-
|
|
1843
|
+
Fr(e, t, !c);
|
|
1844
1844
|
} else a = {
|
|
1845
1845
|
pending: new Set(t),
|
|
1846
1846
|
done: /* @__PURE__ */ new Set()
|
|
1847
1847
|
}, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(a);
|
|
1848
1848
|
}
|
|
1849
|
-
function
|
|
1849
|
+
function Fr(e, t, n = !0) {
|
|
1850
1850
|
var r;
|
|
1851
1851
|
if (e.pending.size > 0) {
|
|
1852
1852
|
r = /* @__PURE__ */ new Set();
|
|
@@ -1854,23 +1854,23 @@ function Pr(e, t, n = !0) {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
for (var i = 0; i < t.length; i++) {
|
|
1856
1856
|
var a = t[i];
|
|
1857
|
-
r?.has(a) ? (a.f |=
|
|
1857
|
+
r?.has(a) ? (a.f |= re, Pn(a, document.createDocumentFragment())) : K(t[i], n);
|
|
1858
1858
|
}
|
|
1859
1859
|
}
|
|
1860
|
-
var
|
|
1861
|
-
function
|
|
1860
|
+
var Ir;
|
|
1861
|
+
function Lr(e, t, n, r, i, a = null) {
|
|
1862
1862
|
var o = e, s = /* @__PURE__ */ new Map();
|
|
1863
1863
|
if (t & 4) {
|
|
1864
1864
|
var l = e;
|
|
1865
|
-
o =
|
|
1865
|
+
o = M ? P(/* @__PURE__ */ W(l)) : l.appendChild(U());
|
|
1866
1866
|
}
|
|
1867
|
-
|
|
1868
|
-
var u = null, f = /* @__PURE__ */
|
|
1867
|
+
M && je();
|
|
1868
|
+
var u = null, f = /* @__PURE__ */ Pt(() => {
|
|
1869
1869
|
var e = n();
|
|
1870
1870
|
return c(e) ? e : e == null ? [] : d(e);
|
|
1871
1871
|
}), p, m = /* @__PURE__ */ new Map(), h = !0;
|
|
1872
1872
|
function g(e) {
|
|
1873
|
-
v.effect.f & 16384 || (v.pending.delete(e), v.fallback = u,
|
|
1873
|
+
v.effect.f & 16384 || (v.pending.delete(e), v.fallback = u, zr(v, p, o, t, r), u !== null && (p.length === 0 ? u.f & 33554432 ? (u.f ^= re, Vr(u, null, o)) : Mn(u) : An(u, () => {
|
|
1874
1874
|
u = null;
|
|
1875
1875
|
})));
|
|
1876
1876
|
}
|
|
@@ -1878,21 +1878,21 @@ function Ir(e, t, n, r, i, a = null) {
|
|
|
1878
1878
|
v.pending.delete(e);
|
|
1879
1879
|
}
|
|
1880
1880
|
var v = {
|
|
1881
|
-
effect:
|
|
1882
|
-
p =
|
|
1881
|
+
effect: wn(() => {
|
|
1882
|
+
p = Z(f);
|
|
1883
1883
|
var e = p.length;
|
|
1884
1884
|
let c = !1;
|
|
1885
|
-
|
|
1886
|
-
for (var l = /* @__PURE__ */ new Set(), d =
|
|
1887
|
-
|
|
1885
|
+
M && Fe(o) === "[!" != (e === 0) && (o = Pe(), P(o), Ae(!1), c = !0);
|
|
1886
|
+
for (var l = /* @__PURE__ */ new Set(), d = R, v = sn(), y = 0; y < e; y += 1) {
|
|
1887
|
+
M && N.nodeType === 8 && N.data === "]" && (o = N, c = !0, Ae(!1));
|
|
1888
1888
|
var b = p[y], x = r(b, y), S = h ? null : s.get(x);
|
|
1889
|
-
S ? (S.v &&
|
|
1889
|
+
S ? (S.v && Gt(S.v, b), S.i && Gt(S.i, y), v && d.unskip_effect(S.e)) : (S = Br(s, h ? o : Ir ??= U(), b, x, y, i, t, n), h || (S.e.f |= re), s.set(x, S)), l.add(x);
|
|
1890
1890
|
}
|
|
1891
|
-
if (e === 0 && a && !u && (h ? u =
|
|
1891
|
+
if (e === 0 && a && !u && (h ? u = G(() => a(o)) : (u = G(() => a(Ir ??= U())), u.f |= re)), e > l.size && ge("", "", ""), M && e > 0 && P(Pe()), !h) if (m.set(d, l), v) {
|
|
1892
1892
|
for (let [e, t] of s) l.has(e) || d.skip_effect(t.e);
|
|
1893
1893
|
d.oncommit(g), d.ondiscard(_);
|
|
1894
1894
|
} else g(d);
|
|
1895
|
-
c &&
|
|
1895
|
+
c && Ae(!0), Z(f);
|
|
1896
1896
|
}),
|
|
1897
1897
|
flags: t,
|
|
1898
1898
|
items: s,
|
|
@@ -1900,21 +1900,21 @@ function Ir(e, t, n, r, i, a = null) {
|
|
|
1900
1900
|
outrogroups: null,
|
|
1901
1901
|
fallback: u
|
|
1902
1902
|
};
|
|
1903
|
-
h = !1,
|
|
1903
|
+
h = !1, M && (o = N);
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function Rr(e) {
|
|
1906
1906
|
for (; e !== null && !(e.f & 32);) e = e.next;
|
|
1907
1907
|
return e;
|
|
1908
1908
|
}
|
|
1909
|
-
function
|
|
1910
|
-
var a = (r & 8) != 0, o = t.length, s = e.items, c =
|
|
1909
|
+
function zr(e, t, n, r, i) {
|
|
1910
|
+
var a = (r & 8) != 0, o = t.length, s = e.items, c = Rr(e.effect.first), l, u = null, f, p = [], m = [], h, g, _, v;
|
|
1911
1911
|
if (a) for (v = 0; v < o; v += 1) h = t[v], g = i(h, v), _ = s.get(g).e, _.f & 33554432 || (_.nodes?.a?.measure(), (f ??= /* @__PURE__ */ new Set()).add(_));
|
|
1912
1912
|
for (v = 0; v < o; v += 1) {
|
|
1913
1913
|
if (h = t[v], g = i(h, v), _ = s.get(g).e, e.outrogroups !== null) for (let t of e.outrogroups) t.pending.delete(_), t.done.delete(_);
|
|
1914
|
-
if (_.f & 8192 && (
|
|
1914
|
+
if (_.f & 8192 && (Mn(_), a && (_.nodes?.a?.unfix(), (f ??= /* @__PURE__ */ new Set()).delete(_))), _.f & 33554432) if (_.f ^= re, _ === c) Vr(_, null, n);
|
|
1915
1915
|
else {
|
|
1916
1916
|
var y = u ? u.next : c;
|
|
1917
|
-
_ === e.effect.last && (e.effect.last = _.prev), _.prev && (_.prev.next = _.next), _.next && (_.next.prev = _.prev),
|
|
1917
|
+
_ === e.effect.last && (e.effect.last = _.prev), _.prev && (_.prev.next = _.next), _.next && (_.next.prev = _.prev), Hr(e, u, _), Hr(e, _, y), Vr(_, y, n), u = _, p = [], m = [], c = Rr(u.next);
|
|
1918
1918
|
continue;
|
|
1919
1919
|
}
|
|
1920
1920
|
if (_ !== c) {
|
|
@@ -1923,25 +1923,25 @@ function Rr(e, t, n, r, i) {
|
|
|
1923
1923
|
var b = m[0], x;
|
|
1924
1924
|
u = b.prev;
|
|
1925
1925
|
var S = p[0], C = p[p.length - 1];
|
|
1926
|
-
for (x = 0; x < p.length; x += 1)
|
|
1926
|
+
for (x = 0; x < p.length; x += 1) Vr(p[x], b, n);
|
|
1927
1927
|
for (x = 0; x < m.length; x += 1) l.delete(m[x]);
|
|
1928
|
-
|
|
1929
|
-
} else l.delete(_),
|
|
1928
|
+
Hr(e, S.prev, C.next), Hr(e, u, S), Hr(e, C, b), c = b, u = C, --v, p = [], m = [];
|
|
1929
|
+
} else l.delete(_), Vr(_, c, n), Hr(e, _.prev, _.next), Hr(e, _, u === null ? e.effect.first : u.next), Hr(e, u, _), u = _;
|
|
1930
1930
|
continue;
|
|
1931
1931
|
}
|
|
1932
|
-
for (p = [], m = []; c !== null && c !== _;) (l ??= /* @__PURE__ */ new Set()).add(c), m.push(c), c =
|
|
1932
|
+
for (p = [], m = []; c !== null && c !== _;) (l ??= /* @__PURE__ */ new Set()).add(c), m.push(c), c = Rr(c.next);
|
|
1933
1933
|
if (c === null) continue;
|
|
1934
1934
|
}
|
|
1935
|
-
_.f & 33554432 || p.push(_), u = _, c =
|
|
1935
|
+
_.f & 33554432 || p.push(_), u = _, c = Rr(_.next);
|
|
1936
1936
|
}
|
|
1937
1937
|
if (e.outrogroups !== null) {
|
|
1938
|
-
for (let t of e.outrogroups) t.pending.size === 0 && (
|
|
1938
|
+
for (let t of e.outrogroups) t.pending.size === 0 && (Fr(e, d(t.done)), e.outrogroups?.delete(t));
|
|
1939
1939
|
e.outrogroups.size === 0 && (e.outrogroups = null);
|
|
1940
1940
|
}
|
|
1941
1941
|
if (c !== null || l !== void 0) {
|
|
1942
1942
|
var w = [];
|
|
1943
1943
|
if (l !== void 0) for (_ of l) _.f & 8192 || w.push(_);
|
|
1944
|
-
for (; c !== null;) !(c.f & 8192) && c !== e.fallback && w.push(c), c =
|
|
1944
|
+
for (; c !== null;) !(c.f & 8192) && c !== e.fallback && w.push(c), c = Rr(c.next);
|
|
1945
1945
|
var T = w.length;
|
|
1946
1946
|
if (T > 0) {
|
|
1947
1947
|
var E = r & 4 && o === 0 ? n : null;
|
|
@@ -1949,65 +1949,107 @@ function Rr(e, t, n, r, i) {
|
|
|
1949
1949
|
for (v = 0; v < T; v += 1) w[v].nodes?.a?.measure();
|
|
1950
1950
|
for (v = 0; v < T; v += 1) w[v].nodes?.a?.fix();
|
|
1951
1951
|
}
|
|
1952
|
-
|
|
1952
|
+
Pr(e, w, E);
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
|
-
a &&
|
|
1955
|
+
a && Ke(() => {
|
|
1956
1956
|
if (f !== void 0) for (_ of f) _.nodes?.a?.apply();
|
|
1957
1957
|
});
|
|
1958
1958
|
}
|
|
1959
|
-
function
|
|
1960
|
-
var c = o & 1 ? o & 16 ?
|
|
1959
|
+
function Br(e, t, n, r, i, a, o, s) {
|
|
1960
|
+
var c = o & 1 ? o & 16 ? Ut(n) : /* @__PURE__ */ Wt(n, !1, !1) : null, l = o & 2 ? Ut(i) : null;
|
|
1961
1961
|
return {
|
|
1962
1962
|
v: c,
|
|
1963
1963
|
i: l,
|
|
1964
|
-
e:
|
|
1964
|
+
e: G(() => (a(t, c ?? n, l ?? i, s), () => {
|
|
1965
1965
|
e.delete(r);
|
|
1966
1966
|
}))
|
|
1967
1967
|
};
|
|
1968
1968
|
}
|
|
1969
|
-
function
|
|
1969
|
+
function Vr(e, t, n) {
|
|
1970
1970
|
if (e.nodes) for (var r = e.nodes.start, i = e.nodes.end, a = t && !(t.f & 33554432) ? t.nodes.start : n; r !== null;) {
|
|
1971
|
-
var o = /* @__PURE__ */
|
|
1971
|
+
var o = /* @__PURE__ */ tn(r);
|
|
1972
1972
|
if (a.before(r), r === i) return;
|
|
1973
1973
|
r = o;
|
|
1974
1974
|
}
|
|
1975
1975
|
}
|
|
1976
|
-
function
|
|
1976
|
+
function Hr(e, t, n) {
|
|
1977
1977
|
t === null ? e.effect.first = n : t.next = n, n === null ? e.effect.last = t : n.prev = t;
|
|
1978
1978
|
}
|
|
1979
1979
|
//#endregion
|
|
1980
1980
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/css.js
|
|
1981
|
-
function
|
|
1982
|
-
|
|
1981
|
+
function Ur(e, t) {
|
|
1982
|
+
bn(() => {
|
|
1983
1983
|
var n = e.getRootNode(), r = n.host ? n : n.head ?? n.ownerDocument.head;
|
|
1984
1984
|
if (!r.querySelector("#" + t.hash)) {
|
|
1985
|
-
let e =
|
|
1985
|
+
let e = cn("style");
|
|
1986
1986
|
e.id = t.hash, e.textContent = t.code, r.appendChild(e);
|
|
1987
1987
|
}
|
|
1988
1988
|
});
|
|
1989
1989
|
}
|
|
1990
1990
|
//#endregion
|
|
1991
1991
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/shared/attributes.js
|
|
1992
|
-
var
|
|
1993
|
-
function
|
|
1992
|
+
var Wr = [..." \n\r\f\xA0\v"];
|
|
1993
|
+
function Gr(e, t, n) {
|
|
1994
1994
|
var r = e == null ? "" : "" + e;
|
|
1995
1995
|
if (t && (r = r ? r + " " + t : t), n) {
|
|
1996
1996
|
for (var i of Object.keys(n)) if (n[i]) r = r ? r + " " + i : i;
|
|
1997
1997
|
else if (r.length) for (var a = i.length, o = 0; (o = r.indexOf(i, o)) >= 0;) {
|
|
1998
1998
|
var s = o + a;
|
|
1999
|
-
(o === 0 ||
|
|
1999
|
+
(o === 0 || Wr.includes(r[o - 1])) && (s === r.length || Wr.includes(r[s])) ? r = (o === 0 ? "" : r.substring(0, o)) + r.substring(s + 1) : o = s;
|
|
2000
2000
|
}
|
|
2001
2001
|
}
|
|
2002
2002
|
return r === "" ? null : r;
|
|
2003
2003
|
}
|
|
2004
|
+
function Kr(e, t = !1) {
|
|
2005
|
+
var n = t ? " !important;" : ";", r = "";
|
|
2006
|
+
for (var i of Object.keys(e)) {
|
|
2007
|
+
var a = e[i];
|
|
2008
|
+
a != null && a !== "" && (r += " " + i + ": " + a + n);
|
|
2009
|
+
}
|
|
2010
|
+
return r;
|
|
2011
|
+
}
|
|
2012
|
+
function qr(e) {
|
|
2013
|
+
return e[0] !== "-" || e[1] !== "-" ? e.toLowerCase() : e;
|
|
2014
|
+
}
|
|
2015
|
+
function Jr(e, t) {
|
|
2016
|
+
if (t) {
|
|
2017
|
+
var n = "", r, i;
|
|
2018
|
+
if (Array.isArray(t) ? (r = t[0], i = t[1]) : r = t, e) {
|
|
2019
|
+
e = String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
|
|
2020
|
+
var a = !1, o = 0, s = !1, c = [];
|
|
2021
|
+
r && c.push(...Object.keys(r).map(qr)), i && c.push(...Object.keys(i).map(qr));
|
|
2022
|
+
var l = 0, u = -1;
|
|
2023
|
+
let t = e.length;
|
|
2024
|
+
for (var d = 0; d < t; d++) {
|
|
2025
|
+
var f = e[d];
|
|
2026
|
+
if (s ? f === "/" && e[d - 1] === "*" && (s = !1) : a ? a === f && (a = !1) : f === "/" && e[d + 1] === "*" ? s = !0 : f === "\"" || f === "'" ? a = f : f === "(" ? o++ : f === ")" && o--, !s && a === !1 && o === 0) {
|
|
2027
|
+
if (f === ":" && u === -1) u = d;
|
|
2028
|
+
else if (f === ";" || d === t - 1) {
|
|
2029
|
+
if (u !== -1) {
|
|
2030
|
+
var p = qr(e.substring(l, u).trim());
|
|
2031
|
+
if (!c.includes(p)) {
|
|
2032
|
+
f !== ";" && d++;
|
|
2033
|
+
var m = e.substring(l, d).trim();
|
|
2034
|
+
n += " " + m + ";";
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
l = d + 1, u = -1;
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
return r && (n += Kr(r)), i && (n += Kr(i, !0)), n = n.trim(), n === "" ? null : n;
|
|
2043
|
+
}
|
|
2044
|
+
return e == null ? null : String(e);
|
|
2045
|
+
}
|
|
2004
2046
|
//#endregion
|
|
2005
2047
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/elements/class.js
|
|
2006
|
-
function
|
|
2007
|
-
var o = e[
|
|
2008
|
-
if (
|
|
2009
|
-
var s =
|
|
2010
|
-
(!
|
|
2048
|
+
function Yr(e, t, n, r, i, a) {
|
|
2049
|
+
var o = e[j];
|
|
2050
|
+
if (M || o !== n || o === void 0) {
|
|
2051
|
+
var s = Gr(n, r, a);
|
|
2052
|
+
(!M || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : t ? e.className = s : e.setAttribute("class", s)), e[j] = n;
|
|
2011
2053
|
} else if (a && i !== a) for (var c in a) {
|
|
2012
2054
|
var l = !!a[c];
|
|
2013
2055
|
(i == null || l !== !!i[c]) && e.classList.toggle(c, l);
|
|
@@ -2015,23 +2057,39 @@ function Gr(e, t, n, r, i, a) {
|
|
|
2015
2057
|
return a;
|
|
2016
2058
|
}
|
|
2017
2059
|
//#endregion
|
|
2060
|
+
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/elements/style.js
|
|
2061
|
+
function Xr(e, t = {}, n, r) {
|
|
2062
|
+
for (var i in n) {
|
|
2063
|
+
var a = n[i];
|
|
2064
|
+
t[i] !== a && (n[i] == null ? e.style.removeProperty(i) : e.style.setProperty(i, a, r));
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
function Zr(e, t, n, r) {
|
|
2068
|
+
var i = e[de];
|
|
2069
|
+
if (M || i !== t) {
|
|
2070
|
+
var a = Jr(t, r);
|
|
2071
|
+
(!M || a !== e.getAttribute("style")) && (a == null ? e.removeAttribute("style") : e.style.cssText = a), e[de] = t;
|
|
2072
|
+
} else r && (Array.isArray(r) ? (Xr(e, n?.[0], r[0]), Xr(e, n?.[1], r[1], "important")) : Xr(e, n, r));
|
|
2073
|
+
return r;
|
|
2074
|
+
}
|
|
2075
|
+
//#endregion
|
|
2018
2076
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/elements/attributes.js
|
|
2019
|
-
var
|
|
2020
|
-
function
|
|
2021
|
-
var i =
|
|
2022
|
-
|
|
2023
|
-
}
|
|
2024
|
-
function
|
|
2025
|
-
return e[
|
|
2026
|
-
[
|
|
2027
|
-
[
|
|
2077
|
+
var Qr = Symbol("is custom element"), $r = Symbol("is html"), ei = me ? "link" : "LINK";
|
|
2078
|
+
function $(e, t, n, r) {
|
|
2079
|
+
var i = ti(e);
|
|
2080
|
+
M && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === ei) || i[t] !== (i[t] = n) && (t === "loading" && (e[le] = n), n == null ? e.removeAttribute(t) : typeof n != "string" && ri(e).includes(t) ? e[t] = n : e.setAttribute(t, n));
|
|
2081
|
+
}
|
|
2082
|
+
function ti(e) {
|
|
2083
|
+
return e[ue] ??= {
|
|
2084
|
+
[Qr]: e.nodeName.includes("-"),
|
|
2085
|
+
[$r]: e.namespaceURI === s
|
|
2028
2086
|
};
|
|
2029
2087
|
}
|
|
2030
|
-
var
|
|
2031
|
-
function
|
|
2032
|
-
var t = e.getAttribute("is") || e.nodeName, n =
|
|
2088
|
+
var ni = /* @__PURE__ */ new Map();
|
|
2089
|
+
function ri(e) {
|
|
2090
|
+
var t = e.getAttribute("is") || e.nodeName, n = ni.get(t);
|
|
2033
2091
|
if (n) return n;
|
|
2034
|
-
|
|
2092
|
+
ni.set(t, n = []);
|
|
2035
2093
|
for (var r, i = e, a = Element.prototype; a !== i;) {
|
|
2036
2094
|
for (var o in r = h(i), r) r[o].set && o !== "innerHTML" && o !== "textContent" && o !== "innerText" && n.push(o);
|
|
2037
2095
|
i = v(i);
|
|
@@ -2040,22 +2098,22 @@ function Qr(e) {
|
|
|
2040
2098
|
}
|
|
2041
2099
|
//#endregion
|
|
2042
2100
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
|
|
2043
|
-
function
|
|
2044
|
-
return e === t || e?.[
|
|
2101
|
+
function ii(e, t) {
|
|
2102
|
+
return e === t || e?.[A] === t;
|
|
2045
2103
|
}
|
|
2046
|
-
function
|
|
2047
|
-
var i =
|
|
2048
|
-
return
|
|
2104
|
+
function ai(e = {}, t, n, r) {
|
|
2105
|
+
var i = I.r, a = J;
|
|
2106
|
+
return bn(() => {
|
|
2049
2107
|
var o, s;
|
|
2050
|
-
return
|
|
2051
|
-
o = s, s = r?.() || [],
|
|
2052
|
-
|
|
2108
|
+
return Sn(() => {
|
|
2109
|
+
o = s, s = r?.() || [], ar(() => {
|
|
2110
|
+
ii(n(...s), e) || (t(e, ...s), o && ii(n(...o), e) && t(null, ...o));
|
|
2053
2111
|
});
|
|
2054
2112
|
}), () => {
|
|
2055
2113
|
let r = a;
|
|
2056
2114
|
for (; r !== i && r.parent !== null && r.parent.f & 33554432;) r = r.parent;
|
|
2057
2115
|
let o = () => {
|
|
2058
|
-
s &&
|
|
2116
|
+
s && ii(n(...s), e) && t(null, ...s);
|
|
2059
2117
|
}, c = r.teardown;
|
|
2060
2118
|
r.teardown = () => {
|
|
2061
2119
|
o(), c?.();
|
|
@@ -2065,15 +2123,15 @@ function ei(e = {}, t, n, r) {
|
|
|
2065
2123
|
}
|
|
2066
2124
|
//#endregion
|
|
2067
2125
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/internal/client/reactivity/props.js
|
|
2068
|
-
function
|
|
2069
|
-
var i = !
|
|
2126
|
+
function oi(e, t, n, r) {
|
|
2127
|
+
var i = !ze || (n & 2) != 0, a = (n & 8) != 0, o = (n & 16) != 0, s = r, c = !0, l = void 0, u = () => o && i ? (l ??= /* @__PURE__ */ jt(r), Z(l)) : (c && (c = !1, s = o ? ar(r) : r), s);
|
|
2070
2128
|
let d;
|
|
2071
2129
|
if (a) {
|
|
2072
|
-
var f =
|
|
2130
|
+
var f = A in e || ce in e;
|
|
2073
2131
|
d = m(e, t)?.set ?? (f && t in e ? (n) => e[t] = n : void 0);
|
|
2074
2132
|
}
|
|
2075
2133
|
var p, h = !1;
|
|
2076
|
-
a ? [p, h] =
|
|
2134
|
+
a ? [p, h] = nt(() => e[t]) : p = e[t], p === void 0 && r !== void 0 && (p = u(), d && (i && Se(t), d(p)));
|
|
2077
2135
|
var g = i ? () => {
|
|
2078
2136
|
var n = e[t];
|
|
2079
2137
|
return n === void 0 ? u() : (c = !0, n);
|
|
@@ -2088,28 +2146,28 @@ function ti(e, t, n, r) {
|
|
|
2088
2146
|
return arguments.length > 0 ? ((!i || !t || _ || h) && d(t ? g() : e), e) : g();
|
|
2089
2147
|
});
|
|
2090
2148
|
}
|
|
2091
|
-
var v = !1, y = (n & 1 ?
|
|
2092
|
-
a &&
|
|
2149
|
+
var v = !1, y = (n & 1 ? jt : Pt)(() => (v = !1, g()));
|
|
2150
|
+
a && Z(y);
|
|
2093
2151
|
var b = J;
|
|
2094
2152
|
return (function(e, t) {
|
|
2095
2153
|
if (arguments.length > 0) {
|
|
2096
|
-
let n = t ?
|
|
2097
|
-
return
|
|
2154
|
+
let n = t ? Z(y) : i && a ? Yt(e) : e;
|
|
2155
|
+
return H(y, n), v = !0, s !== void 0 && (s = n), e;
|
|
2098
2156
|
}
|
|
2099
|
-
return
|
|
2157
|
+
return Ln && v || b.f & 16384 ? y.v : Z(y);
|
|
2100
2158
|
});
|
|
2101
2159
|
}
|
|
2102
2160
|
//#endregion
|
|
2103
2161
|
//#region ../../node_modules/.bun/svelte@5.56.0/node_modules/svelte/src/legacy/legacy-client.js
|
|
2104
|
-
function
|
|
2105
|
-
return new
|
|
2162
|
+
function si(e) {
|
|
2163
|
+
return new ci(e);
|
|
2106
2164
|
}
|
|
2107
|
-
var
|
|
2165
|
+
var ci = class {
|
|
2108
2166
|
#e;
|
|
2109
2167
|
#t;
|
|
2110
2168
|
constructor(e) {
|
|
2111
2169
|
var t = /* @__PURE__ */ new Map(), n = (e, n) => {
|
|
2112
|
-
var r = /* @__PURE__ */
|
|
2170
|
+
var r = /* @__PURE__ */ Wt(n, !1, !1);
|
|
2113
2171
|
return t.set(e, r), r;
|
|
2114
2172
|
};
|
|
2115
2173
|
let r = new Proxy({
|
|
@@ -2117,16 +2175,16 @@ var ri = class {
|
|
|
2117
2175
|
$$events: {}
|
|
2118
2176
|
}, {
|
|
2119
2177
|
get(e, r) {
|
|
2120
|
-
return
|
|
2178
|
+
return Z(t.get(r) ?? n(r, Reflect.get(e, r)));
|
|
2121
2179
|
},
|
|
2122
2180
|
has(e, r) {
|
|
2123
|
-
return r ===
|
|
2181
|
+
return r === ce ? !0 : (Z(t.get(r) ?? n(r, Reflect.get(e, r))), Reflect.has(e, r));
|
|
2124
2182
|
},
|
|
2125
2183
|
set(e, r, i) {
|
|
2126
|
-
return
|
|
2184
|
+
return H(t.get(r) ?? n(r, i), i), Reflect.set(e, r, i);
|
|
2127
2185
|
}
|
|
2128
2186
|
});
|
|
2129
|
-
this.#t = (e.hydrate ?
|
|
2187
|
+
this.#t = (e.hydrate ? Dr : Er)(e.component, {
|
|
2130
2188
|
target: e.target,
|
|
2131
2189
|
anchor: e.anchor,
|
|
2132
2190
|
props: r,
|
|
@@ -2134,7 +2192,7 @@ var ri = class {
|
|
|
2134
2192
|
intro: e.intro ?? !1,
|
|
2135
2193
|
recover: e.recover,
|
|
2136
2194
|
transformError: e.transformError
|
|
2137
|
-
}), !
|
|
2195
|
+
}), !F && (!e?.props?.$$host || e.sync === !1) && mt(), this.#e = r.$$events;
|
|
2138
2196
|
for (let e of Object.keys(this.#t)) e === "$set" || e === "$destroy" || e === "$on" || p(this, e, {
|
|
2139
2197
|
get() {
|
|
2140
2198
|
return this.#t[e];
|
|
@@ -2147,7 +2205,7 @@ var ri = class {
|
|
|
2147
2205
|
this.#t.$set = (e) => {
|
|
2148
2206
|
Object.assign(r, e);
|
|
2149
2207
|
}, this.#t.$destroy = () => {
|
|
2150
|
-
|
|
2208
|
+
jr(this.#t);
|
|
2151
2209
|
};
|
|
2152
2210
|
}
|
|
2153
2211
|
$set(e) {
|
|
@@ -2163,8 +2221,8 @@ var ri = class {
|
|
|
2163
2221
|
$destroy() {
|
|
2164
2222
|
this.#t.$destroy();
|
|
2165
2223
|
}
|
|
2166
|
-
},
|
|
2167
|
-
typeof HTMLElement == "function" && (
|
|
2224
|
+
}, li;
|
|
2225
|
+
typeof HTMLElement == "function" && (li = class extends HTMLElement {
|
|
2168
2226
|
$$ctor;
|
|
2169
2227
|
$$s;
|
|
2170
2228
|
$$c;
|
|
@@ -2197,18 +2255,18 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
2197
2255
|
if (await Promise.resolve(), !this.$$cn || this.$$c) return;
|
|
2198
2256
|
function e(e) {
|
|
2199
2257
|
return (t) => {
|
|
2200
|
-
let n =
|
|
2201
|
-
e !== "default" && (n.name = e),
|
|
2258
|
+
let n = cn("slot");
|
|
2259
|
+
e !== "default" && (n.name = e), Q(t, n);
|
|
2202
2260
|
};
|
|
2203
2261
|
}
|
|
2204
|
-
let t = {}, n =
|
|
2262
|
+
let t = {}, n = di(this);
|
|
2205
2263
|
for (let r of this.$$s) r in n && (r === "default" && !this.$$d.children ? (this.$$d.children = e(r), t.default = !0) : t[r] = e(r));
|
|
2206
2264
|
for (let e of this.attributes) {
|
|
2207
2265
|
let t = this.$$g_p(e.name);
|
|
2208
|
-
t in this.$$d || (this.$$d[t] =
|
|
2266
|
+
t in this.$$d || (this.$$d[t] = ui(t, e.value, this.$$p_d, "toProp"));
|
|
2209
2267
|
}
|
|
2210
2268
|
for (let e in this.$$p_d) !(e in this.$$d) && this[e] !== void 0 && (this.$$d[e] = this[e], delete this[e]);
|
|
2211
|
-
this.$$c =
|
|
2269
|
+
this.$$c = si({
|
|
2212
2270
|
component: this.$$ctor,
|
|
2213
2271
|
target: this.$$shadowRoot || this,
|
|
2214
2272
|
props: {
|
|
@@ -2216,13 +2274,13 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
2216
2274
|
$$slots: t,
|
|
2217
2275
|
$$host: this
|
|
2218
2276
|
}
|
|
2219
|
-
}), this.$$me =
|
|
2220
|
-
|
|
2277
|
+
}), this.$$me = vn(() => {
|
|
2278
|
+
Sn(() => {
|
|
2221
2279
|
this.$$r = !0;
|
|
2222
2280
|
for (let e of f(this.$$c)) {
|
|
2223
2281
|
if (!this.$$p_d[e]?.reflect) continue;
|
|
2224
2282
|
this.$$d[e] = this.$$c[e];
|
|
2225
|
-
let t =
|
|
2283
|
+
let t = ui(e, this.$$d[e], this.$$p_d, "toAttribute");
|
|
2226
2284
|
t == null ? this.removeAttribute(this.$$p_d[e].attribute || e) : this.setAttribute(this.$$p_d[e].attribute || e, t);
|
|
2227
2285
|
}
|
|
2228
2286
|
this.$$r = !1;
|
|
@@ -2236,7 +2294,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
2236
2294
|
}
|
|
2237
2295
|
}
|
|
2238
2296
|
attributeChangedCallback(e, t, n) {
|
|
2239
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
2297
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ui(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
2240
2298
|
}
|
|
2241
2299
|
disconnectedCallback() {
|
|
2242
2300
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -2247,7 +2305,7 @@ typeof HTMLElement == "function" && (ii = class extends HTMLElement {
|
|
|
2247
2305
|
return f(this.$$p_d).find((t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e) || e;
|
|
2248
2306
|
}
|
|
2249
2307
|
});
|
|
2250
|
-
function
|
|
2308
|
+
function ui(e, t, n, r) {
|
|
2251
2309
|
let i = n[e]?.type;
|
|
2252
2310
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e]) return t;
|
|
2253
2311
|
if (r === "toAttribute") switch (i) {
|
|
@@ -2265,14 +2323,14 @@ function ai(e, t, n, r) {
|
|
|
2265
2323
|
default: return t;
|
|
2266
2324
|
}
|
|
2267
2325
|
}
|
|
2268
|
-
function
|
|
2326
|
+
function di(e) {
|
|
2269
2327
|
let t = {};
|
|
2270
2328
|
return e.childNodes.forEach((e) => {
|
|
2271
2329
|
t[e.slot || "default"] = !0;
|
|
2272
2330
|
}), t;
|
|
2273
2331
|
}
|
|
2274
|
-
function
|
|
2275
|
-
let o = class extends
|
|
2332
|
+
function fi(e, t, n, r, i, a) {
|
|
2333
|
+
let o = class extends li {
|
|
2276
2334
|
constructor() {
|
|
2277
2335
|
super(e, n, i), this.$$p_d = t;
|
|
2278
2336
|
}
|
|
@@ -2286,7 +2344,7 @@ function si(e, t, n, r, i, a) {
|
|
|
2286
2344
|
return this.$$c && e in this.$$c ? this.$$c[e] : this.$$d[e];
|
|
2287
2345
|
},
|
|
2288
2346
|
set(n) {
|
|
2289
|
-
n =
|
|
2347
|
+
n = ui(e, n, t), this.$$d[e] = n;
|
|
2290
2348
|
var r = this.$$c;
|
|
2291
2349
|
r && (m(r, e)?.get ? r[e] = n : r.$set({ [e]: n }));
|
|
2292
2350
|
}
|
|
@@ -2299,308 +2357,407 @@ function si(e, t, n, r, i, a) {
|
|
|
2299
2357
|
}
|
|
2300
2358
|
//#endregion
|
|
2301
2359
|
//#region tool-tts-inline.svelte
|
|
2302
|
-
var
|
|
2360
|
+
var pi = /* @__PURE__ */ xr("<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"pie-tool-tts-inline__icon svelte-18mzc0g\" aria-hidden=\"true\"><path d=\"M6 19h4V5H6v14zm8-14v14h4V5h-4z\"></path></svg>"), mi = /* @__PURE__ */ xr("<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"pie-tool-tts-inline__icon svelte-18mzc0g\" aria-hidden=\"true\"><path d=\"M8 5v14l11-7z\"></path></svg>"), hi = /* @__PURE__ */ yr("<button type=\"button\"><!></button>"), gi = /* @__PURE__ */ yr("<button type=\"button\" role=\"radio\" data-pie-tts-control=\"\" class=\"pie-tool-tts-inline__control pie-tool-tts-inline__control--speed svelte-18mzc0g\"><span class=\"pie-tool-tts-inline__speed-label svelte-18mzc0g\"> </span></button>"), _i = /* @__PURE__ */ yr("<div class=\"pie-tool-tts-inline__speed-group svelte-18mzc0g\" role=\"radiogroup\" aria-label=\"Playback speed\"></div>"), vi = /* @__PURE__ */ yr("<div role=\"toolbar\" aria-label=\"Reading controls\" tabindex=\"-1\"><!> <button type=\"button\" data-pie-tts-control=\"\" class=\"pie-tool-tts-inline__control pie-tool-tts-inline__control--secondary svelte-18mzc0g\" aria-label=\"Rewind\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"pie-tool-tts-inline__icon svelte-18mzc0g\" aria-hidden=\"true\"><path d=\"M20 18V6l-8.5 6L20 18zM10.5 18V6L2 12l8.5 6z\"></path></svg></button> <button type=\"button\" data-pie-tts-control=\"\" class=\"pie-tool-tts-inline__control pie-tool-tts-inline__control--secondary svelte-18mzc0g\" aria-label=\"Fast-forward\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"pie-tool-tts-inline__icon svelte-18mzc0g\" aria-hidden=\"true\"><path d=\"M4 18l8.5-6L4 6v12zm9.5 0L22 12l-8.5-6v12z\"></path></svg></button> <button type=\"button\" data-pie-tts-control=\"\" class=\"pie-tool-tts-inline__control pie-tool-tts-inline__control--secondary svelte-18mzc0g\" aria-label=\"Stop reading\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"pie-tool-tts-inline__icon svelte-18mzc0g\" aria-hidden=\"true\"><path d=\"M6 6h12v12H6z\"></path></svg></button></div>"), yi = /* @__PURE__ */ yr("<div class=\"pie-tool-tts-inline__more-menu svelte-18mzc0g\" role=\"menu\" aria-label=\"More reading controls\"><button type=\"button\" role=\"menuitem\" data-pie-tts-more-control=\"\" class=\"svelte-18mzc0g\">Rewind</button> <button type=\"button\" role=\"menuitem\" data-pie-tts-more-control=\"\" class=\"svelte-18mzc0g\">Fast-forward</button> <button type=\"button\" role=\"menuitem\" data-pie-tts-more-control=\"\" class=\"svelte-18mzc0g\">Stop reading</button></div>"), bi = /* @__PURE__ */ yr("<div class=\"pie-tool-tts-inline__more svelte-18mzc0g\"><button type=\"button\" class=\"pie-tool-tts-inline__trigger pie-tool-tts-inline__trigger--md pie-tool-tts-inline__more-button svelte-18mzc0g\" aria-label=\"More reading controls\" aria-haspopup=\"menu\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" class=\"pie-tool-tts-inline__icon svelte-18mzc0g\" aria-hidden=\"true\"><path d=\"M12 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z\"></path></svg></button> <!></div>"), xi = /* @__PURE__ */ yr("<div><!> <!> <!> <div class=\"pie-sr-only svelte-18mzc0g\" role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"> </div></div>"), Si = {
|
|
2303
2361
|
hash: "svelte-18mzc0g",
|
|
2304
|
-
code: ".pie-tool-tts-inline.svelte-18mzc0g {position:relative;display:inline-flex;align-items:center;}.pie-tool-tts-inline--controls-row.svelte-18mzc0g {width:100%;justify-content:flex-end;}.pie-tool-tts-inline__trigger.svelte-18mzc0g {display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--pie-button-border-color, var(--pie-button-border, var(--pie-border, #c6c6c6)));background-color:var(--pie-button-background-color, var(--pie-button-bg, var(--pie-background, #fff)));color:var(--pie-button-color, var(--pie-text, #333));border-radius:0.25rem;cursor:pointer;transition:background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;}.pie-tool-tts-inline__trigger.svelte-18mzc0g:hover:not(:disabled),\n .pie-tool-tts-inline__control.svelte-18mzc0g:hover:not(:disabled) {background-color:var(--pie-button-hover-background-color, var(--pie-button-hover-bg, var(--pie-secondary-background, #f2f4f8)));transform:translateY(-1px);box-shadow:0 2px 6px color-mix(in srgb, var(--pie-shadow, #000) 14%, transparent);}.pie-tool-tts-inline__trigger.svelte-18mzc0g:active:not(:disabled),\n .pie-tool-tts-inline__control.svelte-18mzc0g:active:not(:disabled) {transform:translateY(0);box-shadow:none;}.pie-tool-tts-inline__trigger.svelte-18mzc0g:focus-visible,\n .pie-tool-tts-inline__control.svelte-18mzc0g:focus-visible {outline:2px solid var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-primary, #0066cc)));outline-offset:2px;box-shadow:0 0 0 4px color-mix(in srgb, var(--pie-primary, #0066cc) 22%, transparent);}.pie-tool-tts-inline__trigger--active.svelte-18mzc0g {border-color:var(--pie-tool-trigger-active-border-color, var(--pie-primary, #1565c0));background-color:var(\n --pie-tool-trigger-active-background,\n color-mix(in srgb, var(--pie-primary, #1565c0) 10%, var(--pie-background, #fff))\n );color:var(--pie-tool-trigger-active-color, var(--pie-button-color, var(--pie-text, #333)));}.pie-tool-tts-inline__trigger--active.svelte-18mzc0g:hover:not(:disabled) {border-color:var(--pie-tool-trigger-active-border-color, var(--pie-primary, #1565c0));background-color:var(\n --pie-tool-trigger-active-background,\n color-mix(in srgb, var(--pie-primary, #1565c0) 10%, var(--pie-background, #fff))\n );color:var(--pie-tool-trigger-active-color, var(--pie-button-color, var(--pie-text, #333)));}.pie-tool-tts-inline__panel.svelte-18mzc0g {display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0.25rem;box-sizing:border-box;min-height:var(--pie-tts-controls-row-height, 2.875rem);max-width:min(100vw - 1rem, 32rem);padding:0.25rem 0.5rem;background:var(--pie-surface, var(--pie-background, #fff));border:1px solid var(--pie-border, #d0d0d0);border-radius:0.5rem;}.pie-tool-tts-inline__panel--floating.svelte-18mzc0g {position:absolute;z-index:2;top:100%;right:0;left:auto;}.pie-tool-tts-inline__panel--left-aligned-inline.svelte-18mzc0g {position:
|
|
2362
|
+
code: ".pie-tool-tts-inline.svelte-18mzc0g {position:relative;display:inline-flex;align-items:center;gap:0.5rem;}.pie-tool-tts-inline--controls-row.svelte-18mzc0g {width:100%;justify-content:flex-end;}.pie-tool-tts-inline__trigger.svelte-18mzc0g {display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--pie-button-border-color, var(--pie-button-border, var(--pie-border, #c6c6c6)));background-color:var(--pie-button-background-color, var(--pie-button-bg, var(--pie-background, #fff)));color:var(--pie-button-color, var(--pie-text, #333));border-radius:0.25rem;cursor:pointer;transition:background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;}.pie-tool-tts-inline__trigger.svelte-18mzc0g:hover:not(:disabled),\n .pie-tool-tts-inline__control.svelte-18mzc0g:hover:not(:disabled) {background-color:var(--pie-button-hover-background-color, var(--pie-button-hover-bg, var(--pie-secondary-background, #f2f4f8)));transform:translateY(-1px);box-shadow:0 2px 6px color-mix(in srgb, var(--pie-shadow, #000) 14%, transparent);}.pie-tool-tts-inline__trigger.svelte-18mzc0g:active:not(:disabled),\n .pie-tool-tts-inline__control.svelte-18mzc0g:active:not(:disabled) {transform:translateY(0);box-shadow:none;}.pie-tool-tts-inline__trigger.svelte-18mzc0g:focus-visible,\n .pie-tool-tts-inline__control.svelte-18mzc0g:focus-visible {outline:2px solid var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-primary, #0066cc)));outline-offset:2px;box-shadow:0 0 0 4px color-mix(in srgb, var(--pie-primary, #0066cc) 22%, transparent);}.pie-tool-tts-inline__trigger--active.svelte-18mzc0g {border-color:var(--pie-tool-trigger-active-border-color, var(--pie-primary, #1565c0));background-color:var(\n --pie-tool-trigger-active-background,\n color-mix(in srgb, var(--pie-primary, #1565c0) 10%, var(--pie-background, #fff))\n );color:var(--pie-tool-trigger-active-color, var(--pie-button-color, var(--pie-text, #333)));}.pie-tool-tts-inline__trigger--active.svelte-18mzc0g:hover:not(:disabled) {border-color:var(--pie-tool-trigger-active-border-color, var(--pie-primary, #1565c0));background-color:var(\n --pie-tool-trigger-active-background,\n color-mix(in srgb, var(--pie-primary, #1565c0) 10%, var(--pie-background, #fff))\n );color:var(--pie-tool-trigger-active-color, var(--pie-button-color, var(--pie-text, #333)));}.pie-tool-tts-inline__panel.svelte-18mzc0g {display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0.25rem;box-sizing:border-box;min-height:var(--pie-tts-controls-row-height, 2.875rem);max-width:min(100vw - 1rem, 32rem);padding:0.25rem 0.5rem;background:var(--pie-surface, var(--pie-background, #fff));border:1px solid var(--pie-border, #d0d0d0);border-radius:0.5rem;}.pie-tool-tts-inline__panel--floating.svelte-18mzc0g {position:absolute;z-index:2;top:100%;right:0;left:auto;}.pie-tool-tts-inline__panel--left-aligned-inline.svelte-18mzc0g {\n /* Fixed so it escapes overflow-clipping ancestors; top / right /\n max-width are set inline by measureLeftAlignedOverlay(). */position:fixed;}.pie-tool-tts-inline__panel--compact.svelte-18mzc0g .pie-tool-tts-inline__control--secondary:where(.svelte-18mzc0g) {display:none;}.pie-tool-tts-inline__panel--row.svelte-18mzc0g {position:absolute;z-index:2;top:100%;right:0;left:auto;}.pie-tool-tts-inline__control.svelte-18mzc0g {display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--pie-button-border-color, var(--pie-button-border, var(--pie-border, #c6c6c6)));border-radius:0.25rem;background:var(--pie-button-background-color, var(--pie-button-bg, var(--pie-background, #fff)));color:var(--pie-button-color, var(--pie-text, #222));cursor:pointer;transition:background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;}.pie-tool-tts-inline__speed-group.svelte-18mzc0g {display:inline-flex;flex-wrap:wrap;align-items:center;gap:0.25rem;}.pie-tool-tts-inline__control--speed.svelte-18mzc0g {width:auto;min-width:2.75rem;height:2rem;padding:0 0.625rem;font-size:0.75rem;font-weight:500;letter-spacing:0;white-space:nowrap;}.pie-tool-tts-inline__control--speed[aria-checked='true'].svelte-18mzc0g {border-color:var(--pie-primary, #1565c0);background:color-mix(in srgb, var(--pie-primary, #1565c0) 14%, var(--pie-background, #fff));color:var(--pie-primary, #1565c0);font-weight:600;}.pie-tool-tts-inline__speed-label.svelte-18mzc0g {line-height:1.2;}.pie-tool-tts-inline__more.svelte-18mzc0g {position:relative;display:inline-flex;}.pie-tool-tts-inline__more-menu.svelte-18mzc0g {position:absolute;z-index:3;top:calc(100% + 0.25rem);right:0;display:flex;flex-direction:column;min-width:10rem;padding:0.25rem;border:1px solid var(--pie-border, #d0d0d0);border-radius:0.375rem;background:var(--pie-surface, var(--pie-background, #fff));box-shadow:0 0.25rem 0.75rem color-mix(in srgb, var(--pie-shadow, #000) 18%, transparent);}.pie-tool-tts-inline__more-menu.svelte-18mzc0g button:where(.svelte-18mzc0g) {display:flex;align-items:center;justify-content:flex-start;width:100%;padding:0.5rem 0.625rem;border:0;border-radius:0.25rem;background:transparent;color:var(--pie-button-color, var(--pie-text, #222));font:inherit;text-align:left;cursor:pointer;}.pie-tool-tts-inline__more-menu.svelte-18mzc0g button:where(.svelte-18mzc0g):hover:not(:disabled),\n .pie-tool-tts-inline__more-menu.svelte-18mzc0g button:where(.svelte-18mzc0g):focus-visible {background:var(--pie-button-hover-background-color, var(--pie-button-hover-bg, var(--pie-secondary-background, #f2f4f8)));outline:2px solid var(--pie-focus-outline, var(--pie-button-focus-outline, var(--pie-primary, #0066cc)));outline-offset:2px;}.pie-tool-tts-inline__more-menu.svelte-18mzc0g button:where(.svelte-18mzc0g):disabled {cursor:not-allowed;opacity:0.6;}.pie-tool-tts-inline__trigger.svelte-18mzc0g:disabled,\n .pie-tool-tts-inline__control.svelte-18mzc0g:disabled {cursor:not-allowed;opacity:0.6;}.pie-tool-tts-inline__trigger--sm.svelte-18mzc0g {width:1.75rem;height:1.75rem;}.pie-tool-tts-inline__trigger--sm.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1rem;height:1rem;}.pie-tool-tts-inline__trigger--md.svelte-18mzc0g {width:2rem;height:2rem;}.pie-tool-tts-inline__trigger--md.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1.25rem;height:1.25rem;}.pie-tool-tts-inline__trigger--lg.svelte-18mzc0g {width:2.5rem;height:2.5rem;}.pie-tool-tts-inline__trigger--lg.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1.5rem;height:1.5rem;}.pie-tool-tts-inline__icon.svelte-18mzc0g {\n /* Default explicit size so control-button icons (rewind/fast-forward/stop)\n render in WebKit, which sizes an inline SVG that has only a viewBox (no\n width/height attributes) to 0. The play/pause trigger icon already works\n because the __trigger--sm/md/lg rules below set these dimensions; this\n gives the control-panel icons the same treatment. Keep the SVG's default\n inline display — forcing display:block makes WebKit collapse it to 0. */width:1.25rem;height:1.25rem;fill:currentColor;color:currentColor;}\n\n @media (max-width: 839px) {.pie-tool-tts-inline.svelte-18mzc0g {gap:0.375rem;}.pie-tool-tts-inline__panel--compact.svelte-18mzc0g {padding:0.1875rem 0.375rem;}.pie-tool-tts-inline__trigger.svelte-18mzc0g,\n .pie-tool-tts-inline__trigger--md.svelte-18mzc0g,\n .pie-tool-tts-inline__control.svelte-18mzc0g {width:1.75rem;height:1.75rem;}.pie-tool-tts-inline__trigger.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g),\n .pie-tool-tts-inline__control.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1rem;height:1rem;}.pie-tool-tts-inline__control--speed.svelte-18mzc0g {width:auto;min-width:2.5rem;height:1.75rem;padding:0 0.5rem;}\n }.pie-sr-only.svelte-18mzc0g {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;}\n\n @media (prefers-reduced-motion: reduce) {.pie-tool-tts-inline__trigger.svelte-18mzc0g,\n .pie-tool-tts-inline__control.svelte-18mzc0g {transition:none !important;}\n }"
|
|
2305
2363
|
};
|
|
2306
|
-
function
|
|
2307
|
-
|
|
2308
|
-
let s =
|
|
2364
|
+
function Ci(a, o) {
|
|
2365
|
+
Ve(o, !0), Ur(a, Si);
|
|
2366
|
+
let s = oi(o, "catalogId", 7, ""), c = oi(o, "language", 7, "en-US"), l = oi(o, "size", 7, "md"), u = oi(o, "speedOptions", 7, void 0), d = oi(o, "showSingleSpeedOption", 7, !1), f = oi(o, "layoutMode", 7, "expanding-row"), p = typeof window < "u", m = "__pie_tts_inline_active_owner__", h = "pie-tts-inline-owner-change", g = /* @__PURE__ */ V(void 0), _ = /* @__PURE__ */ V(void 0), v = /* @__PURE__ */ V(null), y = /* @__PURE__ */ V(null), b = /* @__PURE__ */ V(null), x = /* @__PURE__ */ B(() => Z(v)?.ttsService), S = /* @__PURE__ */ B(() => Z(v)?.highlightCoordinator), C = /* @__PURE__ */ B(() => Z(b)?.scopeElement || Z(y)?.scopeElement || null), w = /* @__PURE__ */ V(!1), T = /* @__PURE__ */ V(!1), E = /* @__PURE__ */ V(!1), D = /* @__PURE__ */ V(!1), O = /* @__PURE__ */ V(""), ee = /* @__PURE__ */ V(null), te = /* @__PURE__ */ V(null), k = /* @__PURE__ */ V(0), ne = /* @__PURE__ */ V(!1), re = /* @__PURE__ */ V(!1), ie = null, ae = /* @__PURE__ */ B(() => i(u())), oe = /* @__PURE__ */ B(() => be(Z(ae))), se = /* @__PURE__ */ B(() => Z(ae).length > 1 || d() ? Z(ae) : []), A = /* @__PURE__ */ B(() => Z(se).length), ce = /* @__PURE__ */ B(() => Z(A) + 3), le = /* @__PURE__ */ B(() => Z(k) >= Z(ce) ? 0 : Z(k)), ue = /* @__PURE__ */ B(() => Z(ee) !== null && Z(te) === Z(oe) && Z(ae).some((e) => e.rate === Z(ee)) ? Z(ee) : xe(Z(ae))), j = `pie-tts-inline-instance-${Math.random().toString(36).slice(2)}`, de = `pie-tts-inline-${Math.random().toString(36).slice(2)}`, fe = `${j}-controls`, pe = `${j}-more-menu`;
|
|
2309
2367
|
function me() {
|
|
2310
2368
|
if (!p) return null;
|
|
2311
2369
|
let e = window[m];
|
|
2312
2370
|
return typeof e == "string" ? e : null;
|
|
2313
2371
|
}
|
|
2314
|
-
function
|
|
2315
|
-
return me() ===
|
|
2372
|
+
function he() {
|
|
2373
|
+
return me() === j;
|
|
2316
2374
|
}
|
|
2317
|
-
function
|
|
2375
|
+
function ge(e, t) {
|
|
2318
2376
|
p && window.dispatchEvent(new CustomEvent(h, { detail: {
|
|
2319
2377
|
ownerId: e,
|
|
2320
2378
|
previousOwnerId: t
|
|
2321
2379
|
} }));
|
|
2322
2380
|
}
|
|
2323
|
-
function
|
|
2381
|
+
function _e() {
|
|
2324
2382
|
if (!p) return;
|
|
2325
2383
|
let e = me();
|
|
2326
|
-
e !==
|
|
2384
|
+
e !== j && (window[m] = j, ge(j, e));
|
|
2327
2385
|
}
|
|
2328
|
-
function
|
|
2329
|
-
p && me() ===
|
|
2386
|
+
function ve() {
|
|
2387
|
+
p && me() === j && (delete window[m], ge(null, j));
|
|
2330
2388
|
}
|
|
2331
|
-
function
|
|
2332
|
-
|
|
2389
|
+
function ye(e = "", t = !1) {
|
|
2390
|
+
H(E, !1), H(D, !1), H(k, 0), H(w, t, !0), H(T, !1), H(O, e, !0);
|
|
2333
2391
|
}
|
|
2334
|
-
function
|
|
2392
|
+
function be(e) {
|
|
2335
2393
|
return e.map((e) => `${e.rate}:${e.label}:${e.ariaLabel}:${e.isDefault ? "1" : "0"}`).join("|");
|
|
2336
2394
|
}
|
|
2337
|
-
function
|
|
2395
|
+
function xe(e) {
|
|
2338
2396
|
return e.find((e) => e.isDefault)?.rate ?? e.find((e) => e.rate === 1)?.rate ?? e[0]?.rate ?? 1;
|
|
2339
2397
|
}
|
|
2340
|
-
async function
|
|
2398
|
+
async function Se(e, t) {
|
|
2341
2399
|
if (typeof e.setPlaybackRate == "function") {
|
|
2342
2400
|
await e.setPlaybackRate(t);
|
|
2343
2401
|
return;
|
|
2344
2402
|
}
|
|
2345
2403
|
await e.updateSettings({ rate: t });
|
|
2346
2404
|
}
|
|
2347
|
-
function
|
|
2348
|
-
if (!
|
|
2349
|
-
let t =
|
|
2405
|
+
function Ce(e) {
|
|
2406
|
+
if (!Z(g) || !e) return;
|
|
2407
|
+
let t = Z(g).getRootNode();
|
|
2350
2408
|
t instanceof ShadowRoot && t.querySelector(".pie-tool-tts-inline__trigger")?.focus();
|
|
2351
2409
|
}
|
|
2352
|
-
function
|
|
2353
|
-
if (!
|
|
2354
|
-
|
|
2410
|
+
function we(e = "Reading switched to another section", t = !1) {
|
|
2411
|
+
if (!Z(re) && !(!Z(w) && !he())) {
|
|
2412
|
+
H(re, !0);
|
|
2355
2413
|
try {
|
|
2356
2414
|
let n = (() => {
|
|
2357
|
-
if (!
|
|
2358
|
-
let e =
|
|
2415
|
+
if (!Z(g) || !Z(_)) return !1;
|
|
2416
|
+
let e = Z(g).getRootNode();
|
|
2359
2417
|
if (!(e instanceof ShadowRoot)) return !1;
|
|
2360
2418
|
let t = e.activeElement;
|
|
2361
|
-
return !!(t &&
|
|
2419
|
+
return !!(t && Z(_).contains(t));
|
|
2362
2420
|
})();
|
|
2363
|
-
|
|
2364
|
-
|
|
2421
|
+
he() && ve(), ye(e), N(), t && queueMicrotask(() => {
|
|
2422
|
+
Ce(n);
|
|
2365
2423
|
});
|
|
2366
2424
|
} finally {
|
|
2367
|
-
|
|
2425
|
+
H(re, !1);
|
|
2368
2426
|
}
|
|
2369
2427
|
}
|
|
2370
2428
|
}
|
|
2371
|
-
|
|
2372
|
-
if (
|
|
2373
|
-
|
|
2429
|
+
gn(() => {
|
|
2430
|
+
if (Z(g)) return n(Z(g), (e) => {
|
|
2431
|
+
H(v, e, !0);
|
|
2374
2432
|
});
|
|
2375
|
-
}),
|
|
2376
|
-
if (!
|
|
2377
|
-
let e = r(
|
|
2378
|
-
|
|
2379
|
-
}), n = t(
|
|
2380
|
-
|
|
2433
|
+
}), gn(() => {
|
|
2434
|
+
if (!Z(g)) return;
|
|
2435
|
+
let e = r(Z(g), (e) => {
|
|
2436
|
+
H(y, e, !0);
|
|
2437
|
+
}), n = t(Z(g), (e) => {
|
|
2438
|
+
H(b, e, !0);
|
|
2381
2439
|
});
|
|
2382
2440
|
return () => {
|
|
2383
2441
|
n(), e();
|
|
2384
2442
|
};
|
|
2385
|
-
}),
|
|
2386
|
-
if (!
|
|
2443
|
+
}), gn(() => {
|
|
2444
|
+
if (!Z(x)) return;
|
|
2387
2445
|
let e = (e) => {
|
|
2388
|
-
if (!
|
|
2389
|
-
|
|
2446
|
+
if (!Z(w) || !he()) {
|
|
2447
|
+
H(E, !1), H(D, !1);
|
|
2390
2448
|
return;
|
|
2391
2449
|
}
|
|
2392
|
-
|
|
2450
|
+
H(E, e === "playing" || e === "paused", !0), H(D, e === "paused");
|
|
2393
2451
|
}, t = (t) => {
|
|
2394
2452
|
e(t);
|
|
2395
2453
|
};
|
|
2396
|
-
return
|
|
2397
|
-
|
|
2454
|
+
return Z(x).onStateChange(de, t), e(Z(x).getState()), () => {
|
|
2455
|
+
Z(x).offStateChange(de, t);
|
|
2398
2456
|
};
|
|
2399
|
-
}),
|
|
2457
|
+
}), gn(() => {
|
|
2400
2458
|
if (!p) return;
|
|
2401
2459
|
let e = (e) => {
|
|
2402
2460
|
let { ownerId: t = null, previousOwnerId: n = null } = e.detail || {};
|
|
2403
|
-
n ===
|
|
2461
|
+
n === j && t !== j && we("Reading switched to another section");
|
|
2404
2462
|
};
|
|
2405
2463
|
return window.addEventListener(h, e), () => {
|
|
2406
2464
|
window.removeEventListener(h, e);
|
|
2407
2465
|
};
|
|
2408
|
-
}),
|
|
2466
|
+
}), gn(() => {
|
|
2409
2467
|
if (!p) return;
|
|
2410
2468
|
let t = () => {
|
|
2411
|
-
|
|
2469
|
+
we("Reading switched to another section", !0);
|
|
2412
2470
|
};
|
|
2413
2471
|
return window.addEventListener(e, t), () => {
|
|
2414
2472
|
window.removeEventListener(e, t);
|
|
2415
2473
|
};
|
|
2416
|
-
}),
|
|
2417
|
-
|
|
2474
|
+
}), gn(() => () => {
|
|
2475
|
+
ve(), N();
|
|
2418
2476
|
});
|
|
2419
|
-
async function
|
|
2420
|
-
if (!
|
|
2477
|
+
async function Te() {
|
|
2478
|
+
if (!Z(x)) return !1;
|
|
2421
2479
|
try {
|
|
2422
|
-
return await
|
|
2480
|
+
return await Z(v)?.toolkitCoordinator?.ensureTTSReady?.(), !0;
|
|
2423
2481
|
} catch (e) {
|
|
2424
2482
|
return console.error("[TTS Inline] Failed to initialize TTS:", e), !1;
|
|
2425
2483
|
}
|
|
2426
2484
|
}
|
|
2427
|
-
function
|
|
2428
|
-
return
|
|
2485
|
+
function Ee() {
|
|
2486
|
+
return Z(_) ? Array.from(Z(_).querySelectorAll("[data-pie-tts-control]")).filter((e) => window.getComputedStyle(e).display !== "none") : [];
|
|
2429
2487
|
}
|
|
2430
|
-
function
|
|
2431
|
-
let t =
|
|
2488
|
+
function De(e) {
|
|
2489
|
+
let t = Ee();
|
|
2432
2490
|
if (!t.length) return;
|
|
2433
2491
|
let n = (e + t.length) % t.length;
|
|
2434
|
-
|
|
2492
|
+
H(k, n), t[n].focus();
|
|
2435
2493
|
}
|
|
2436
|
-
function
|
|
2437
|
-
let t =
|
|
2494
|
+
function Oe(e) {
|
|
2495
|
+
let t = Ee();
|
|
2438
2496
|
if (t.length) switch (e.key) {
|
|
2439
2497
|
case "ArrowDown":
|
|
2440
2498
|
case "ArrowRight":
|
|
2441
|
-
e.preventDefault(),
|
|
2499
|
+
e.preventDefault(), De(Z(k) + 1);
|
|
2442
2500
|
break;
|
|
2443
2501
|
case "ArrowUp":
|
|
2444
2502
|
case "ArrowLeft":
|
|
2445
|
-
e.preventDefault(),
|
|
2503
|
+
e.preventDefault(), De(Z(k) - 1);
|
|
2446
2504
|
break;
|
|
2447
2505
|
case "Home":
|
|
2448
|
-
e.preventDefault(),
|
|
2506
|
+
e.preventDefault(), De(0);
|
|
2449
2507
|
break;
|
|
2450
2508
|
case "End":
|
|
2451
|
-
e.preventDefault(),
|
|
2509
|
+
e.preventDefault(), De(t.length - 1);
|
|
2452
2510
|
break;
|
|
2453
2511
|
}
|
|
2454
2512
|
}
|
|
2455
|
-
function
|
|
2456
|
-
if (!
|
|
2457
|
-
let e =
|
|
2513
|
+
function ke() {
|
|
2514
|
+
if (!Z(C)) return null;
|
|
2515
|
+
let e = Z(C);
|
|
2458
2516
|
if (e.getAttribute?.("data-region") === "content") return e;
|
|
2459
2517
|
let t = e.querySelector?.("[data-region='content']");
|
|
2460
2518
|
return t instanceof Element ? t : e;
|
|
2461
2519
|
}
|
|
2462
|
-
function
|
|
2463
|
-
if (
|
|
2520
|
+
function M() {
|
|
2521
|
+
if (Z(y)) return Z(y).kind === "passage" ? {
|
|
2464
2522
|
ownerKind: "passage",
|
|
2465
|
-
assessmentId:
|
|
2466
|
-
sectionId:
|
|
2467
|
-
passageId:
|
|
2523
|
+
assessmentId: Z(v)?.assessmentId || "",
|
|
2524
|
+
sectionId: Z(v)?.sectionId || "",
|
|
2525
|
+
passageId: Z(y).canonicalItemId || Z(y).itemId
|
|
2468
2526
|
} : {
|
|
2469
2527
|
ownerKind: "itemModel",
|
|
2470
|
-
assessmentId:
|
|
2471
|
-
sectionId:
|
|
2472
|
-
itemId:
|
|
2473
|
-
canonicalItemId:
|
|
2528
|
+
assessmentId: Z(v)?.assessmentId || "",
|
|
2529
|
+
sectionId: Z(v)?.sectionId || "",
|
|
2530
|
+
itemId: Z(y).itemId,
|
|
2531
|
+
canonicalItemId: Z(y).canonicalItemId || Z(y).itemId
|
|
2474
2532
|
};
|
|
2475
2533
|
}
|
|
2476
2534
|
function Ae(e) {
|
|
2477
|
-
return
|
|
2535
|
+
return N(), ie = Z(x)?.setHighlightTargetResolverProvider?.(() => ({
|
|
2478
2536
|
context: {
|
|
2479
|
-
scopeElement:
|
|
2480
|
-
kind:
|
|
2481
|
-
itemId:
|
|
2482
|
-
canonicalItemId:
|
|
2483
|
-
contentKind:
|
|
2484
|
-
regionPolicy:
|
|
2537
|
+
scopeElement: Z(b)?.scopeElement || e || null,
|
|
2538
|
+
kind: Z(y)?.kind,
|
|
2539
|
+
itemId: Z(y)?.itemId,
|
|
2540
|
+
canonicalItemId: Z(y)?.canonicalItemId,
|
|
2541
|
+
contentKind: Z(y)?.contentKind,
|
|
2542
|
+
regionPolicy: Z(y)?.regionPolicy
|
|
2485
2543
|
},
|
|
2486
|
-
resolver:
|
|
2544
|
+
resolver: Z(b)?.ttsHighlightTargetResolver || null
|
|
2487
2545
|
})) || null, ie;
|
|
2488
2546
|
}
|
|
2489
|
-
function
|
|
2547
|
+
function N(e = ie) {
|
|
2490
2548
|
e?.(), e === ie && (ie = null);
|
|
2491
2549
|
}
|
|
2492
|
-
function
|
|
2493
|
-
if (!
|
|
2494
|
-
let e = String(
|
|
2550
|
+
function P() {
|
|
2551
|
+
if (!he()) return !1;
|
|
2552
|
+
let e = String(Z(x)?.getState?.() || "");
|
|
2495
2553
|
return e === "playing" || e === "paused" || e === "loading";
|
|
2496
2554
|
}
|
|
2497
|
-
async function
|
|
2498
|
-
if (!
|
|
2499
|
-
let e =
|
|
2555
|
+
async function je() {
|
|
2556
|
+
if (!Z(x)) return;
|
|
2557
|
+
let e = ke();
|
|
2500
2558
|
if (!e) {
|
|
2501
2559
|
console.warn("[TTS Inline] No target container found from shell scope context");
|
|
2502
2560
|
return;
|
|
2503
2561
|
}
|
|
2504
2562
|
try {
|
|
2505
|
-
|
|
2563
|
+
H(w, !0);
|
|
2506
2564
|
let t = e.textContent || "";
|
|
2507
2565
|
if (!t) {
|
|
2508
2566
|
console.warn("[TTS Inline] No text content found");
|
|
2509
2567
|
return;
|
|
2510
2568
|
}
|
|
2511
|
-
|
|
2569
|
+
Z(S) && Z(x).setHighlightCoordinator && Z(x).setHighlightCoordinator(Z(S)), await Se(Z(x), Z(ue));
|
|
2512
2570
|
let n = Ae(e);
|
|
2513
|
-
|
|
2571
|
+
Z(x).setRootElement?.(e), H(O, "Reading started"), Z(x).speak(t, {
|
|
2514
2572
|
catalogId: s() || void 0,
|
|
2515
|
-
catalogContext:
|
|
2573
|
+
catalogContext: M(),
|
|
2516
2574
|
language: c(),
|
|
2517
2575
|
contentElement: e
|
|
2518
2576
|
}).catch((e) => {
|
|
2519
|
-
console.error("[TTS Inline] Error:", e),
|
|
2577
|
+
console.error("[TTS Inline] Error:", e), H(O, "Unable to start reading"), Z(S) && Z(S).clearTTS(), N(n);
|
|
2520
2578
|
}).finally(() => {
|
|
2521
|
-
|
|
2579
|
+
P() || N(n);
|
|
2522
2580
|
});
|
|
2523
2581
|
} catch (e) {
|
|
2524
|
-
console.error("[TTS Inline] Error:", e),
|
|
2582
|
+
console.error("[TTS Inline] Error:", e), H(O, "Unable to start reading"), Z(S) && Z(S).clearTTS(), N();
|
|
2525
2583
|
}
|
|
2526
2584
|
}
|
|
2527
|
-
async function
|
|
2528
|
-
if (
|
|
2529
|
-
if (
|
|
2530
|
-
|
|
2585
|
+
async function Ne() {
|
|
2586
|
+
if (Z(x)) {
|
|
2587
|
+
if (he() && Z(D)) {
|
|
2588
|
+
Z(x).resume(), H(O, "Reading resumed");
|
|
2531
2589
|
return;
|
|
2532
2590
|
}
|
|
2533
|
-
if (
|
|
2534
|
-
|
|
2591
|
+
if (he() && Z(E) && !Z(D)) {
|
|
2592
|
+
Z(x).pause(), H(O, "Reading paused");
|
|
2535
2593
|
return;
|
|
2536
2594
|
}
|
|
2537
|
-
if (!
|
|
2538
|
-
|
|
2595
|
+
if (!Z(ne)) {
|
|
2596
|
+
H(ne, !0);
|
|
2539
2597
|
try {
|
|
2540
|
-
if (
|
|
2541
|
-
|
|
2598
|
+
if (H(O, "Initializing text-to-speech"), !await Te()) {
|
|
2599
|
+
H(O, "Unable to initialize text-to-speech. Try again.");
|
|
2542
2600
|
return;
|
|
2543
2601
|
}
|
|
2544
|
-
let e = String(
|
|
2545
|
-
(e === "playing" || e === "paused" || e === "loading") && !
|
|
2602
|
+
let e = String(Z(x).getState?.() || "");
|
|
2603
|
+
(e === "playing" || e === "paused" || e === "loading") && !he() && Z(x).stop(), _e(), await je();
|
|
2546
2604
|
} finally {
|
|
2547
|
-
|
|
2605
|
+
H(ne, !1);
|
|
2548
2606
|
}
|
|
2549
2607
|
}
|
|
2550
2608
|
}
|
|
2551
2609
|
}
|
|
2552
|
-
function
|
|
2553
|
-
|
|
2610
|
+
function Pe() {
|
|
2611
|
+
Z(x) && (Z(x).stop(), ve(), ye("Reading stopped"), Z(S) && Z(S).clearTTS(), N());
|
|
2612
|
+
}
|
|
2613
|
+
function Fe() {
|
|
2614
|
+
if (!Z(g)) return [];
|
|
2615
|
+
let e = Z(g).getRootNode();
|
|
2616
|
+
return e instanceof ShadowRoot ? Array.from(e.querySelectorAll("[data-pie-tts-more-control]")) : [];
|
|
2617
|
+
}
|
|
2618
|
+
function Ie(e) {
|
|
2619
|
+
let t = Fe().filter((e) => !e.disabled);
|
|
2620
|
+
t.length && t[(e + t.length) % t.length].focus();
|
|
2621
|
+
}
|
|
2622
|
+
function Le() {
|
|
2623
|
+
H(T, !0), queueMicrotask(() => {
|
|
2624
|
+
Ie(0);
|
|
2625
|
+
});
|
|
2626
|
+
}
|
|
2627
|
+
function Re() {
|
|
2628
|
+
if (Z(T)) {
|
|
2629
|
+
F();
|
|
2630
|
+
return;
|
|
2631
|
+
}
|
|
2632
|
+
Le();
|
|
2633
|
+
}
|
|
2634
|
+
function F() {
|
|
2635
|
+
H(T, !1);
|
|
2554
2636
|
}
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2637
|
+
function ze(e) {
|
|
2638
|
+
let t = Fe().filter((e) => !e.disabled), n = t.findIndex((t) => t === e.target);
|
|
2639
|
+
switch (e.key) {
|
|
2640
|
+
case "ArrowDown":
|
|
2641
|
+
case "ArrowRight":
|
|
2642
|
+
e.preventDefault(), Ie(n + 1);
|
|
2643
|
+
break;
|
|
2644
|
+
case "ArrowUp":
|
|
2645
|
+
case "ArrowLeft":
|
|
2646
|
+
e.preventDefault(), Ie(n - 1);
|
|
2647
|
+
break;
|
|
2648
|
+
case "Home":
|
|
2649
|
+
e.preventDefault(), Ie(0);
|
|
2650
|
+
break;
|
|
2651
|
+
case "End":
|
|
2652
|
+
e.preventDefault(), Ie(t.length - 1);
|
|
2653
|
+
break;
|
|
2654
|
+
case "Escape": {
|
|
2655
|
+
e.preventDefault(), F();
|
|
2656
|
+
let t = Z(g)?.getRootNode();
|
|
2657
|
+
if (!(t instanceof ShadowRoot)) return;
|
|
2658
|
+
t.querySelector(".pie-tool-tts-inline__more-button")?.focus();
|
|
2659
|
+
break;
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
async function I() {
|
|
2664
|
+
if (!(!Z(x) || !Z(E))) try {
|
|
2665
|
+
await Z(x).seekForward?.(1), H(O, "Skipped forward");
|
|
2558
2666
|
} catch (e) {
|
|
2559
|
-
console.error("[TTS Inline] Seek forward failed:", e),
|
|
2667
|
+
console.error("[TTS Inline] Seek forward failed:", e), H(O, "Unable to skip forward");
|
|
2560
2668
|
}
|
|
2561
2669
|
}
|
|
2562
|
-
async function
|
|
2563
|
-
if (!(!
|
|
2564
|
-
await
|
|
2670
|
+
async function Be() {
|
|
2671
|
+
if (!(!Z(x) || !Z(E))) try {
|
|
2672
|
+
await Z(x).seekBackward?.(1), H(O, "Skipped backward");
|
|
2565
2673
|
} catch (e) {
|
|
2566
|
-
console.error("[TTS Inline] Seek backward failed:", e),
|
|
2674
|
+
console.error("[TTS Inline] Seek backward failed:", e), H(O, "Unable to skip backward");
|
|
2567
2675
|
}
|
|
2568
2676
|
}
|
|
2569
|
-
async function
|
|
2570
|
-
let t =
|
|
2677
|
+
async function Ue(e) {
|
|
2678
|
+
let t = Z(x);
|
|
2571
2679
|
if (!t) return;
|
|
2572
|
-
if (
|
|
2573
|
-
|
|
2680
|
+
if (Z(ue) === e.rate) {
|
|
2681
|
+
H(O, `Playback speed ${e.label}`);
|
|
2574
2682
|
return;
|
|
2575
2683
|
}
|
|
2576
|
-
let n =
|
|
2577
|
-
|
|
2684
|
+
let n = Z(ee), r = Z(te);
|
|
2685
|
+
H(ee, e.rate, !0), H(te, Z(oe), !0), H(O, `Playback speed ${e.label}`);
|
|
2578
2686
|
try {
|
|
2579
|
-
await
|
|
2687
|
+
await Se(t, e.rate);
|
|
2580
2688
|
} catch (e) {
|
|
2581
|
-
console.error("[TTS Inline] Playback speed change failed:", e),
|
|
2689
|
+
console.error("[TTS Inline] Playback speed change failed:", e), H(ee, n, !0), H(te, r, !0), H(O, "Unable to change playback speed");
|
|
2582
2690
|
}
|
|
2583
2691
|
}
|
|
2584
|
-
let
|
|
2585
|
-
|
|
2586
|
-
let e =
|
|
2587
|
-
if (!e || !n || !
|
|
2692
|
+
let We = /* @__PURE__ */ B(() => l() === "sm" ? "pie-tool-tts-inline__trigger--sm" : l() === "lg" ? "pie-tool-tts-inline__trigger--lg" : "pie-tool-tts-inline__trigger--md"), Ge = /* @__PURE__ */ B(() => f() === "reserved-row" || f() === "expanding-row"), Ke = /* @__PURE__ */ B(() => f() === "floating-overlay"), qe = /* @__PURE__ */ B(() => f() === "left-aligned"), Je = "[data-pie-tool-overlay-boundary]", Ye = "[data-pie-tool-overlay-protect]", Xe = /* @__PURE__ */ V(!1), L = /* @__PURE__ */ V(""), Ze = /* @__PURE__ */ V(0);
|
|
2693
|
+
gn(() => {
|
|
2694
|
+
let e = Z(x), t = Z(ue), n = Z(E) || Z(D);
|
|
2695
|
+
if (!e || !n || !he()) return;
|
|
2588
2696
|
let r = !1;
|
|
2589
2697
|
return queueMicrotask(() => {
|
|
2590
|
-
r ||
|
|
2698
|
+
r || Se(e, t);
|
|
2591
2699
|
}), () => {
|
|
2592
2700
|
r = !0;
|
|
2593
2701
|
};
|
|
2594
2702
|
});
|
|
2595
|
-
function
|
|
2596
|
-
|
|
2597
|
-
|
|
2703
|
+
function Qe(e, t) {
|
|
2704
|
+
let n = e;
|
|
2705
|
+
for (; n;) {
|
|
2706
|
+
if (n.matches?.(t)) return n;
|
|
2707
|
+
n = n.parentElement ?? (n.getRootNode() instanceof ShadowRoot ? n.getRootNode().host : null);
|
|
2708
|
+
}
|
|
2709
|
+
return null;
|
|
2710
|
+
}
|
|
2711
|
+
function $e() {
|
|
2712
|
+
let e = Z(g)?.getRootNode();
|
|
2713
|
+
return e instanceof ShadowRoot ? e.querySelector(".pie-tool-tts-inline__trigger") : null;
|
|
2714
|
+
}
|
|
2715
|
+
function et(e) {
|
|
2716
|
+
let t = window.getComputedStyle(e), n = parseFloat(t.columnGap || t.gap) || 0, r = (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0) + (parseFloat(t.borderLeftWidth) || 0) + (parseFloat(t.borderRightWidth) || 0), i = Array.from(e.children).filter((e) => window.getComputedStyle(e).display !== "none");
|
|
2717
|
+
return i.length ? i.reduce((e, t) => e + t.offsetWidth, 0) + (i.length - 1) * n + r : 0;
|
|
2718
|
+
}
|
|
2719
|
+
function tt() {
|
|
2720
|
+
let e = $e();
|
|
2721
|
+
if (!e || !Z(_)) return;
|
|
2722
|
+
let t = e.getBoundingClientRect(), n = Qe(e, Je), r = n?.getBoundingClientRect().left ?? 0, i = n?.querySelector(Ye), a = i ? i.getBoundingClientRect().right + 8 : r, o = Math.max(0, t.left - a - 16);
|
|
2723
|
+
if (!Z(Xe)) {
|
|
2724
|
+
let e = et(Z(_));
|
|
2725
|
+
e > 0 && H(Ze, e, !0);
|
|
2726
|
+
}
|
|
2727
|
+
H(Xe, Z(Ze) > 0 && o < Z(Ze), !0);
|
|
2728
|
+
let s = Z(_).offsetHeight || t.height;
|
|
2729
|
+
H(L, `top: ${Math.max(8, Math.min(window.innerHeight - 8 - s, t.top + t.height / 2 - s / 2))}px; right: ${window.innerWidth - t.left + 8}px; left: auto; max-width: min(${o}px, var(--pie-tts-left-aligned-panel-width, ${o}px));`);
|
|
2730
|
+
}
|
|
2731
|
+
gn(() => {
|
|
2732
|
+
if (!Z(qe) || !Z(w)) {
|
|
2733
|
+
H(L, ""), H(Xe, !1), H(Ze, 0);
|
|
2734
|
+
return;
|
|
2735
|
+
}
|
|
2736
|
+
if (typeof window > "u") return;
|
|
2737
|
+
let e = 0, t = () => {
|
|
2738
|
+
e ||= window.requestAnimationFrame(() => {
|
|
2739
|
+
e = 0, tt();
|
|
2740
|
+
});
|
|
2741
|
+
};
|
|
2742
|
+
tt(), window.addEventListener("resize", t), window.addEventListener("scroll", t, !0);
|
|
2743
|
+
let n = $e(), r = new ResizeObserver(t);
|
|
2744
|
+
n && r.observe(n), Z(_) && r.observe(Z(_));
|
|
2745
|
+
let i = n ? Qe(n, Je) : null;
|
|
2746
|
+
i && r.observe(i);
|
|
2747
|
+
let a = i?.querySelector(Ye);
|
|
2748
|
+
return a && r.observe(a), () => {
|
|
2749
|
+
e && window.cancelAnimationFrame(e), window.removeEventListener("resize", t), window.removeEventListener("scroll", t, !0), r.disconnect();
|
|
2750
|
+
};
|
|
2751
|
+
});
|
|
2752
|
+
function nt() {
|
|
2753
|
+
if (!Z(g)) return null;
|
|
2754
|
+
let e = Z(g).getRootNode();
|
|
2598
2755
|
return e instanceof ShadowRoot ? e.host : null;
|
|
2599
2756
|
}
|
|
2600
|
-
|
|
2601
|
-
let e =
|
|
2757
|
+
gn(() => {
|
|
2758
|
+
let e = nt();
|
|
2602
2759
|
if (!e) return;
|
|
2603
|
-
let t =
|
|
2760
|
+
let t = Z(w) === !0;
|
|
2604
2761
|
e.setAttribute("data-active", t ? "true" : "false");
|
|
2605
2762
|
let n = !1;
|
|
2606
2763
|
return queueMicrotask(() => {
|
|
@@ -2612,113 +2769,135 @@ function _i(a, o) {
|
|
|
2612
2769
|
}), () => {
|
|
2613
2770
|
n = !0;
|
|
2614
2771
|
};
|
|
2772
|
+
}), gn(() => {
|
|
2773
|
+
Z(w) || H(T, !1);
|
|
2615
2774
|
});
|
|
2616
|
-
var
|
|
2775
|
+
var rt = {
|
|
2617
2776
|
get catalogId() {
|
|
2618
2777
|
return s();
|
|
2619
2778
|
},
|
|
2620
2779
|
set catalogId(e = "") {
|
|
2621
|
-
s(e),
|
|
2780
|
+
s(e), mt();
|
|
2622
2781
|
},
|
|
2623
2782
|
get language() {
|
|
2624
2783
|
return c();
|
|
2625
2784
|
},
|
|
2626
2785
|
set language(e = "en-US") {
|
|
2627
|
-
c(e),
|
|
2786
|
+
c(e), mt();
|
|
2628
2787
|
},
|
|
2629
2788
|
get size() {
|
|
2630
2789
|
return l();
|
|
2631
2790
|
},
|
|
2632
2791
|
set size(e = "md") {
|
|
2633
|
-
l(e),
|
|
2792
|
+
l(e), mt();
|
|
2634
2793
|
},
|
|
2635
2794
|
get speedOptions() {
|
|
2636
2795
|
return u();
|
|
2637
2796
|
},
|
|
2638
2797
|
set speedOptions(e = void 0) {
|
|
2639
|
-
u(e),
|
|
2798
|
+
u(e), mt();
|
|
2640
2799
|
},
|
|
2641
2800
|
get showSingleSpeedOption() {
|
|
2642
2801
|
return d();
|
|
2643
2802
|
},
|
|
2644
2803
|
set showSingleSpeedOption(e = !1) {
|
|
2645
|
-
d(e),
|
|
2804
|
+
d(e), mt();
|
|
2646
2805
|
},
|
|
2647
2806
|
get layoutMode() {
|
|
2648
2807
|
return f();
|
|
2649
2808
|
},
|
|
2650
2809
|
set layoutMode(e = "expanding-row") {
|
|
2651
|
-
f(e),
|
|
2810
|
+
f(e), mt();
|
|
2652
2811
|
}
|
|
2653
|
-
},
|
|
2654
|
-
var t =
|
|
2812
|
+
}, it = Sr(), R = rn(it), at = (e) => {
|
|
2813
|
+
var t = xi();
|
|
2655
2814
|
let n;
|
|
2656
2815
|
{
|
|
2657
2816
|
let e = (e) => {
|
|
2658
|
-
var t =
|
|
2817
|
+
var t = hi();
|
|
2659
2818
|
let n;
|
|
2660
|
-
var r =
|
|
2661
|
-
|
|
2819
|
+
var r = nn(t), i = (e) => {
|
|
2820
|
+
Q(e, pi());
|
|
2662
2821
|
}, a = (e) => {
|
|
2663
|
-
|
|
2822
|
+
Q(e, mi());
|
|
2664
2823
|
};
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
}),
|
|
2668
|
-
n =
|
|
2669
|
-
}),
|
|
2824
|
+
Nr(r, (e) => {
|
|
2825
|
+
Z(E) && !Z(D) ? e(i) : e(a, -1);
|
|
2826
|
+
}), Me(t), Cn(() => {
|
|
2827
|
+
n = Yr(t, 1, `pie-tool-tts-inline__trigger ${Z(We) ?? ""}`, "svelte-18mzc0g", n, { "pie-tool-tts-inline__trigger--active": Z(w) }), $(t, "aria-label", Z(E) && !Z(D) ? "Pause reading" : Z(D) ? "Resume reading" : "Play reading"), $(t, "aria-expanded", Z(w)), $(t, "aria-controls", Z(w) ? fe : void 0), t.disabled = !Z(x) || Z(ne);
|
|
2828
|
+
}), dr("click", t, Ne), Q(e, t);
|
|
2670
2829
|
}, n = (e) => {
|
|
2671
|
-
var t =
|
|
2672
|
-
var t =
|
|
2830
|
+
var t = Sr(), n = rn(t), r = (e) => {
|
|
2831
|
+
var t = vi();
|
|
2673
2832
|
let n;
|
|
2674
|
-
var r =
|
|
2675
|
-
var t =
|
|
2676
|
-
|
|
2677
|
-
var r =
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
}),
|
|
2681
|
-
}),
|
|
2833
|
+
var r = nn(t), i = (e) => {
|
|
2834
|
+
var t = _i();
|
|
2835
|
+
Lr(t, 23, () => Z(se), (e) => e.rate, (e, t, n) => {
|
|
2836
|
+
var r = gi(), i = nn(r), a = nn(i, !0);
|
|
2837
|
+
Me(i), Me(r), Cn(() => {
|
|
2838
|
+
$(r, "tabindex", Z(le) === Z(n) ? 0 : -1), $(r, "aria-label", Z(t).ariaLabel), $(r, "aria-checked", Z(ue) === Z(t).rate), r.disabled = !Z(x), Tr(a, Z(t).label);
|
|
2839
|
+
}), dr("click", r, () => Ue(Z(t))), ur("focus", r, () => H(k, Z(n), !0)), Q(e, r);
|
|
2840
|
+
}), Me(t), Q(e, t);
|
|
2682
2841
|
};
|
|
2683
|
-
|
|
2684
|
-
|
|
2842
|
+
Nr(r, (e) => {
|
|
2843
|
+
Z(se).length > 0 && e(i);
|
|
2685
2844
|
});
|
|
2686
|
-
var a =
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
"pie-tool-tts-inline__panel--floating":
|
|
2690
|
-
"pie-tool-tts-inline__panel--row":
|
|
2691
|
-
"pie-tool-tts-inline__panel--left-aligned-inline":
|
|
2692
|
-
|
|
2693
|
-
|
|
2845
|
+
var a = an(r, 2), o = an(a, 2), s = an(o, 2);
|
|
2846
|
+
Me(t), ai(t, (e) => H(_, e), () => Z(_)), Cn(() => {
|
|
2847
|
+
$(t, "id", fe), n = Yr(t, 1, "pie-tool-tts-inline__panel svelte-18mzc0g", null, n, {
|
|
2848
|
+
"pie-tool-tts-inline__panel--floating": Z(Ke),
|
|
2849
|
+
"pie-tool-tts-inline__panel--row": Z(Ge),
|
|
2850
|
+
"pie-tool-tts-inline__panel--left-aligned-inline": Z(qe),
|
|
2851
|
+
"pie-tool-tts-inline__panel--compact": Z(qe) && Z(Xe)
|
|
2852
|
+
}), Zr(t, Z(qe) ? Z(L) : ""), $(a, "tabindex", Z(le) === Z(A) ? 0 : -1), a.disabled = !Z(x) || !Z(E), $(o, "tabindex", Z(le) === Z(A) + 1 ? 0 : -1), o.disabled = !Z(x) || !Z(E), $(s, "tabindex", Z(le) === Z(A) + 2 ? 0 : -1), s.disabled = !Z(x) || !Z(E) && !Z(D);
|
|
2853
|
+
}), dr("keydown", t, Oe), dr("click", a, Be), ur("focus", a, () => H(k, Z(A), !0)), dr("click", o, I), ur("focus", o, () => H(k, Z(A) + 1)), dr("click", s, Pe), ur("focus", s, () => H(k, Z(A) + 2)), Q(e, t);
|
|
2694
2854
|
};
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
}),
|
|
2698
|
-
}
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2855
|
+
Nr(n, (e) => {
|
|
2856
|
+
Z(w) && e(r);
|
|
2857
|
+
}), Q(e, t);
|
|
2858
|
+
}, c = (e) => {
|
|
2859
|
+
var t = Sr(), n = rn(t), r = (e) => {
|
|
2860
|
+
var t = bi(), n = nn(t), r = an(n, 2), i = (e) => {
|
|
2861
|
+
var t = yi(), n = nn(t), r = an(n, 2), i = an(r, 2);
|
|
2862
|
+
Me(t), Cn(() => {
|
|
2863
|
+
$(t, "id", pe), n.disabled = !Z(x) || !Z(E), r.disabled = !Z(x) || !Z(E), i.disabled = !Z(x) || !Z(E) && !Z(D);
|
|
2864
|
+
}), dr("keydown", t, ze), dr("click", n, () => {
|
|
2865
|
+
F(), Be();
|
|
2866
|
+
}), dr("click", r, () => {
|
|
2867
|
+
F(), I();
|
|
2868
|
+
}), dr("click", i, () => {
|
|
2869
|
+
F(), Pe();
|
|
2870
|
+
}), Q(e, t);
|
|
2871
|
+
};
|
|
2872
|
+
Nr(r, (e) => {
|
|
2873
|
+
Z(T) && e(i);
|
|
2874
|
+
}), Me(t), Cn(() => {
|
|
2875
|
+
$(n, "aria-expanded", Z(T)), $(n, "aria-controls", Z(T) ? pe : void 0);
|
|
2876
|
+
}), dr("click", n, Re), Q(e, t);
|
|
2877
|
+
};
|
|
2878
|
+
Nr(n, (e) => {
|
|
2879
|
+
Z(qe) && Z(w) && Z(Xe) && e(r);
|
|
2880
|
+
}), Q(e, t);
|
|
2705
2881
|
};
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2882
|
+
var r = nn(t);
|
|
2883
|
+
e(r);
|
|
2884
|
+
var i = an(r, 2);
|
|
2885
|
+
n(i);
|
|
2886
|
+
var a = an(i, 2);
|
|
2887
|
+
c(a);
|
|
2888
|
+
var o = an(a, 2), s = nn(o, !0);
|
|
2889
|
+
Me(o), Me(t), ai(t, (e) => H(g, e), () => Z(g)), Cn(() => Tr(s, Z(O)));
|
|
2890
|
+
}
|
|
2891
|
+
Cn(() => n = Yr(t, 1, "pie-tool-tts-inline svelte-18mzc0g", null, n, {
|
|
2892
|
+
"pie-tool-tts-inline--controls-row": Z(Ge),
|
|
2893
|
+
"pie-tool-tts-inline--floating": Z(Ke)
|
|
2894
|
+
})), Q(e, t);
|
|
2716
2895
|
};
|
|
2717
|
-
return
|
|
2718
|
-
p && e(
|
|
2719
|
-
}),
|
|
2896
|
+
return Nr(R, (e) => {
|
|
2897
|
+
p && e(at);
|
|
2898
|
+
}), Q(a, it), He(rt);
|
|
2720
2899
|
}
|
|
2721
|
-
|
|
2900
|
+
fr(["click", "keydown"]), customElements.define("pie-tool-tts-inline", fi(Ci, {
|
|
2722
2901
|
catalogId: {
|
|
2723
2902
|
attribute: "catalog-id",
|
|
2724
2903
|
type: "String"
|
|
@@ -2745,4 +2924,4 @@ dr(["click", "keydown"]), customElements.define("pie-tool-tts-inline", si(_i, {
|
|
|
2745
2924
|
}
|
|
2746
2925
|
}, [], [], { mode: "open" }));
|
|
2747
2926
|
//#endregion
|
|
2748
|
-
export {
|
|
2927
|
+
export { Ci as default };
|