@pie-element/simple-cloze 0.1.4-next.16 → 0.1.4-next.18

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.
Files changed (34) hide show
  1. package/dist/author/index.js +146 -144
  2. package/dist/author/index.js.map +1 -1
  3. package/dist/browser/author/index.js +1 -1
  4. package/dist/browser/author/index.js.map +1 -1
  5. package/dist/browser/{client-C4zbv8nl.js → client-e4ZTphpa.js} +727 -712
  6. package/dist/browser/client-e4ZTphpa.js.map +1 -0
  7. package/dist/browser/delivery/index.js +2 -2
  8. package/dist/browser/delivery/index.js.map +1 -1
  9. package/dist/browser/editor-runtime/author/index.js +1 -1
  10. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  11. package/dist/browser/editor-runtime/{client-C4zbv8nl.js → client-e4ZTphpa.js} +727 -712
  12. package/dist/browser/editor-runtime/client-e4ZTphpa.js.map +1 -0
  13. package/dist/browser/editor-runtime/delivery/index.js +2 -2
  14. package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
  15. package/dist/browser/editor-runtime/{i18n-C7YV9VIN.js → i18n-D6nL3i8G.js} +168 -172
  16. package/dist/browser/editor-runtime/i18n-D6nL3i8G.js.map +1 -0
  17. package/dist/browser/editor-runtime/print/index.js +2 -2
  18. package/dist/browser/editor-runtime/print/index.js.map +1 -1
  19. package/dist/browser/{i18n-C7YV9VIN.js → i18n-D6nL3i8G.js} +168 -172
  20. package/dist/browser/i18n-D6nL3i8G.js.map +1 -0
  21. package/dist/browser/print/index.js +2 -2
  22. package/dist/browser/print/index.js.map +1 -1
  23. package/dist/delivery/index.js +146 -148
  24. package/dist/delivery/index.js.map +1 -1
  25. package/dist/index.iife.js +4 -4
  26. package/dist/print/index.js +144 -146
  27. package/dist/print/index.js.map +1 -1
  28. package/module/print.js +729 -718
  29. package/module/print.js.map +1 -1
  30. package/package.json +3 -3
  31. package/dist/browser/client-C4zbv8nl.js.map +0 -1
  32. package/dist/browser/editor-runtime/client-C4zbv8nl.js.map +0 -1
  33. package/dist/browser/editor-runtime/i18n-C7YV9VIN.js.map +0 -1
  34. package/dist/browser/i18n-C7YV9VIN.js.map +0 -1
package/module/print.js CHANGED
@@ -1,7 +1,7 @@
1
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/disclose-version.js
1
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/disclose-version.js
2
2
  typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
3
3
  //#endregion
4
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/constants.js
4
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/constants.js
5
5
  var e = {}, t = Symbol("uninitialized"), n = "http://www.w3.org/1999/xhtml", r = "http://www.w3.org/2000/svg", i = "http://www.w3.org/1998/Math/MathML", a = Array.isArray, o = Array.prototype.indexOf, s = Array.prototype.includes, c = Array.from, l = Object.keys, u = Object.defineProperty, d = Object.getOwnPropertyDescriptor, f = Object.getOwnPropertyDescriptors, p = Object.prototype, m = Array.prototype, h = Object.getPrototypeOf, g = Object.isExtensible, ee = () => {};
6
6
  function _(e) {
7
7
  for (var t = 0; t < e.length; t++) e[t]();
@@ -16,46 +16,46 @@ function v() {
16
16
  reject: t
17
17
  };
18
18
  }
19
- var y = 1024, b = 2048, te = 4096, ne = 8192, re = 16384, x = 32768, S = 1 << 25, ie = 65536, ae = 1 << 19, oe = 1 << 20, se = 65536, ce = 1 << 21, le = 1 << 22, ue = 1 << 23, de = Symbol("$state"), fe = Symbol("component"), pe = Symbol("legacy props"), me = Symbol(""), he = Symbol("attributes"), ge = Symbol("class"), _e = Symbol("style"), ve = Symbol("text"), ye = new class extends Error {
19
+ var y = 1024, b = 2048, te = 4096, ne = 8192, re = 16384, x = 32768, S = 1 << 25, ie = 65536, ae = 1 << 19, oe = 1 << 20, se = 1 << 21, ce = 1 << 22, le = 1 << 23, ue = Symbol("$state"), de = Symbol("component"), fe = Symbol("legacy props"), pe = Symbol(""), me = Symbol("attributes"), he = Symbol("class"), ge = Symbol("style"), _e = Symbol("text"), ve = new class extends Error {
20
20
  name = "StaleReactionError";
21
21
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
22
- }(), be = !!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml");
23
- function xe() {
22
+ }(), ye = !!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml");
23
+ function be() {
24
24
  console.warn("https://svelte.dev/e/derived_inert");
25
25
  }
26
- function Se(e) {
26
+ function xe(e) {
27
27
  console.warn("https://svelte.dev/e/hydration_mismatch");
28
28
  }
29
- function Ce() {
29
+ function Se() {
30
30
  console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
31
31
  }
32
32
  //#endregion
33
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/hydration.js
33
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/hydration.js
34
34
  var C = !1;
35
- function we(e) {
35
+ function Ce(e) {
36
36
  C = e;
37
37
  }
38
38
  var w;
39
39
  function T(t) {
40
- if (t === null) throw Se(), e;
40
+ if (t === null) throw xe(), e;
41
41
  return w = t;
42
42
  }
43
- function Te() {
43
+ function we() {
44
44
  return T(/* @__PURE__ */ F(w));
45
45
  }
46
- function Ee(t) {
46
+ function Te(t) {
47
47
  if (C) {
48
- if (/* @__PURE__ */ F(w) !== null) throw Se(), e;
48
+ if (/* @__PURE__ */ F(w) !== null) throw xe(), e;
49
49
  w = t;
50
50
  }
51
51
  }
52
- function De(e = 1) {
52
+ function Ee(e = 1) {
53
53
  if (C) {
54
54
  for (var t = e, n = w; t--;) n = /* @__PURE__ */ F(n);
55
55
  w = n;
56
56
  }
57
57
  }
58
- function Oe(e = !0) {
58
+ function De(e = !0) {
59
59
  for (var t = 0, n = w;;) {
60
60
  if (n.nodeType === 8) {
61
61
  var r = n.data;
@@ -68,63 +68,63 @@ function Oe(e = !0) {
68
68
  e && n.remove(), n = i;
69
69
  }
70
70
  }
71
- function ke(t) {
72
- if (!t || t.nodeType !== 8) throw Se(), e;
71
+ function Oe(t) {
72
+ if (!t || t.nodeType !== 8) throw xe(), e;
73
73
  return t.data;
74
74
  }
75
75
  //#endregion
76
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/equality.js
77
- function Ae(e) {
76
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/equality.js
77
+ function ke(e) {
78
78
  return e === this.v;
79
79
  }
80
- function je(e, t) {
80
+ function Ae(e, t) {
81
81
  return e == e ? e !== t || typeof e == "object" && !!e || typeof e == "function" : t == t;
82
82
  }
83
- function Me(e) {
84
- return !je(e, this.v);
83
+ function je(e) {
84
+ return !Ae(e, this.v);
85
85
  }
86
86
  //#endregion
87
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/errors.js
88
- function Ne() {
87
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/errors.js
88
+ function Me() {
89
89
  throw Error("https://svelte.dev/e/async_derived_orphan");
90
90
  }
91
- function Pe(e) {
91
+ function Ne(e) {
92
92
  throw Error("https://svelte.dev/e/effect_in_teardown");
93
93
  }
94
- function Fe() {
94
+ function Pe() {
95
95
  throw Error("https://svelte.dev/e/effect_in_unowned_derived");
96
96
  }
97
- function Ie(e) {
97
+ function Fe(e) {
98
98
  throw Error("https://svelte.dev/e/effect_orphan");
99
99
  }
100
- function Le() {
100
+ function Ie() {
101
101
  throw Error("https://svelte.dev/e/effect_update_depth_exceeded");
102
102
  }
103
- function Re() {
103
+ function Le() {
104
104
  throw Error("https://svelte.dev/e/hydration_failed");
105
105
  }
106
- function ze(e) {
106
+ function Re(e) {
107
107
  throw Error("https://svelte.dev/e/props_invalid_value");
108
108
  }
109
- function Be() {
109
+ function ze() {
110
110
  throw Error("https://svelte.dev/e/state_descriptors_fixed");
111
111
  }
112
- function Ve() {
112
+ function Be() {
113
113
  throw Error("https://svelte.dev/e/state_prototype_fixed");
114
114
  }
115
- function He() {
115
+ function Ve() {
116
116
  throw Error("https://svelte.dev/e/state_unsafe_mutation");
117
117
  }
118
- function Ue() {
118
+ function He() {
119
119
  throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
120
120
  }
121
121
  //#endregion
122
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/context.js
122
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/context.js
123
123
  var E = null;
124
- function We(e) {
124
+ function Ue(e) {
125
125
  E = e;
126
126
  }
127
- function Ge(e, t = !1, n) {
127
+ function We(e, t = !1, n) {
128
128
  E = {
129
129
  p: E,
130
130
  i: !1,
@@ -136,70 +136,56 @@ function Ge(e, t = !1, n) {
136
136
  l: null
137
137
  };
138
138
  }
139
- function Ke(e) {
139
+ function Ge(e) {
140
140
  var t = E, n = t.e;
141
141
  if (n !== null) {
142
142
  t.e = null;
143
- for (var r of n) mn(r);
143
+ for (var r of n) fn(r);
144
144
  }
145
- return e !== void 0 && (t.x = e), t.i = !0, E = t.p, qe(e);
145
+ return e !== void 0 && (t.x = e), t.i = !0, E = t.p, Ke(e);
146
146
  }
147
- function qe(e = {}) {
148
- return u(e, fe, { value: !0 }), e;
147
+ function Ke(e = {}) {
148
+ return u(e, de, { value: !0 }), e;
149
149
  }
150
- function Je() {
150
+ function qe() {
151
151
  return !0;
152
152
  }
153
153
  //#endregion
154
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/task.js
155
- var Ye = [];
156
- function Xe() {
157
- var e = Ye;
158
- Ye = [], _(e);
159
- }
160
- function Ze(e) {
161
- if (Ye.length === 0 && !Ct) {
162
- var t = Ye;
154
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/task.js
155
+ var Je = [];
156
+ function Ye() {
157
+ var e = Je;
158
+ Je = [], _(e);
159
+ }
160
+ function Xe(e) {
161
+ if (Je.length === 0 && !yt) {
162
+ var t = Je;
163
163
  queueMicrotask(() => {
164
- t === Ye && Xe();
164
+ t === Je && Ye();
165
165
  });
166
166
  }
167
- Ye.push(e);
167
+ Je.push(e);
168
168
  }
169
- function Qe() {
170
- for (; Ye.length > 0;) Xe();
169
+ function Ze() {
170
+ for (; Je.length > 0;) Ye();
171
171
  }
172
172
  //#endregion
173
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/status.js
174
- var $e = ~(b | te | y);
173
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/status.js
174
+ var Qe = ~(b | te | y);
175
175
  function D(e, t) {
176
- e.f = e.f & $e | t;
176
+ e.f = e.f & Qe | t;
177
177
  }
178
- function et(e) {
178
+ function $e(e) {
179
179
  e.f & 512 || e.deps === null ? D(e, y) : D(e, te);
180
180
  }
181
181
  //#endregion
182
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/utils.js
183
- function tt(e) {
184
- if (e !== null) for (let t of e) !(t.f & 2) || !(t.f & 65536) || (t.f ^= se, tt(t.deps));
185
- }
186
- function nt(e, t, n) {
187
- e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), tt(e.deps), D(e, y);
182
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/utils.js
183
+ function et(e, t, n) {
184
+ e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), D(e, y);
188
185
  }
189
186
  //#endregion
190
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/store.js
191
- var rt = !1;
192
- function it(e) {
193
- var t = rt;
194
- try {
195
- return rt = !1, [e(), rt];
196
- } finally {
197
- rt = t;
198
- }
199
- }
200
- //#endregion
201
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
202
- function at(e) {
187
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
188
+ function tt(e) {
203
189
  var t = V, n = W;
204
190
  U(null), G(null);
205
191
  try {
@@ -209,15 +195,15 @@ function at(e) {
209
195
  }
210
196
  }
211
197
  //#endregion
212
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/async.js
213
- function ot(e, t, n, r) {
214
- let i = Je() ? ut : mt;
198
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/async.js
199
+ function nt(e, t, n, r) {
200
+ let i = qe() ? ot : ut;
215
201
  var a = e.filter((e) => !e.settled), o = t.map(i);
216
202
  if (n.length === 0 && a.length === 0) {
217
203
  r(o);
218
204
  return;
219
205
  }
220
- var s = W, c = st(), l = a.length === 1 ? a[0].promise : a.length > 1 ? Promise.all(a.map((e) => e.promise)) : null;
206
+ var s = W, c = rt(), l = a.length === 1 ? a[0].promise : a.length > 1 ? Promise.all(a.map((e) => e.promise)) : null;
221
207
  function u(e) {
222
208
  if (!(s.f & 16384)) {
223
209
  c();
@@ -226,44 +212,44 @@ function ot(e, t, n, r) {
226
212
  } catch (e) {
227
213
  I(e, s);
228
214
  }
229
- ct();
215
+ it();
230
216
  }
231
217
  }
232
- var d = lt();
218
+ var d = at();
233
219
  if (n.length === 0) {
234
220
  l.then(() => u([])).finally(d);
235
221
  return;
236
222
  }
237
223
  function f() {
238
- Promise.all(n.map((e) => /* @__PURE__ */ ft(e))).then(u).catch((e) => I(e, s)).finally(d);
224
+ Promise.all(n.map((e) => /* @__PURE__ */ ct(e))).then(u).catch((e) => I(e, s)).finally(d);
239
225
  }
240
226
  l ? l.then(() => {
241
- c(), f(), ct();
227
+ c(), f(), it();
242
228
  }) : f();
243
229
  }
244
- function st() {
230
+ function rt() {
245
231
  var e = W, t = V, n = E, r = O;
246
232
  return function(i = !0) {
247
- G(e), U(t), We(n), i && !(e.f & 16384) && (r?.activate(), r?.apply());
233
+ G(e), U(t), Ue(n), i && !(e.f & 16384) && (r?.activate(), r?.apply());
248
234
  };
249
235
  }
250
- function ct(e = !0) {
251
- G(null), U(null), We(null), e && O?.deactivate();
236
+ function it(e = !0) {
237
+ G(null), U(null), Ue(null), e && O?.deactivate();
252
238
  }
253
- function lt() {
239
+ function at() {
254
240
  var e = W, t = e.b, n = O, r = !!t?.is_rendered();
255
241
  return t?.update_pending_count(1, n), n.increment(r, e), () => {
256
242
  t?.update_pending_count(-1, n), n.decrement(r, e);
257
243
  };
258
244
  }
259
245
  /*#__NO_SIDE_EFFECTS__*/
260
- function ut(e) {
246
+ function ot(e) {
261
247
  var n = 2 | b;
262
248
  return W !== null && (W.f |= ae), {
263
249
  ctx: E,
264
250
  deps: null,
265
251
  effects: null,
266
- equals: Ae,
252
+ equals: ke,
267
253
  f: n,
268
254
  fn: e,
269
255
  reactions: null,
@@ -274,35 +260,35 @@ function ut(e) {
274
260
  ac: null
275
261
  };
276
262
  }
277
- var dt = Symbol("obsolete");
263
+ var st = Symbol("obsolete");
278
264
  /*#__NO_SIDE_EFFECTS__*/
279
- function ft(e, n, r) {
265
+ function ct(e, n, r) {
280
266
  let i = W;
281
- i === null && Ne();
282
- var a = void 0, o = Bt(t), s = !V, c = /* @__PURE__ */ new Set();
283
- return vn(() => {
267
+ i === null && Me();
268
+ var a = void 0, o = It(t), s = !V, c = /* @__PURE__ */ new Set();
269
+ return gn(() => {
284
270
  var t = W, n = v();
285
271
  a = n.promise;
286
272
  try {
287
273
  Promise.resolve(e()).then(n.resolve, (e) => {
288
- e !== ye && n.reject(e);
289
- }).finally(ct);
274
+ e !== ve && n.reject(e);
275
+ }).finally(it);
290
276
  } catch (e) {
291
- n.reject(e), ct();
277
+ n.reject(e), it();
292
278
  }
293
279
  var r = O;
294
280
  if (s) {
295
- if (t.f & 32768) var l = lt();
296
- if (i.b?.is_rendered()) r.async_deriveds.get(t)?.reject(dt);
297
- else for (let e of c.values()) e.reject(dt);
281
+ if (t.f & 32768) var l = at();
282
+ if (i.b?.is_rendered()) r.async_deriveds.get(t)?.reject(st);
283
+ else for (let e of c.values()) e.reject(st);
298
284
  c.add(n), r.async_deriveds.set(t, n);
299
285
  }
300
286
  let u = (e, t = void 0) => {
301
- l?.(), c.delete(n), t !== dt && (r.activate(), t ? (o.f |= ue, Ht(o, t)) : (o.f & 8388608 && (o.f ^= ue), Ht(o, e)), r.deactivate());
287
+ l?.(), c.delete(n), t !== st && (r.activate(), t ? (o.f |= le, Bt(o, t)) : (o.f & 8388608 && (o.f ^= le), Bt(o, e)), r.deactivate());
302
288
  };
303
289
  n.promise.then(u, (e) => u(null, e || "unknown"));
304
- }), fn(() => {
305
- for (let e of c) e.reject(dt);
290
+ }), un(() => {
291
+ for (let e of c) e.reject(st);
306
292
  }), new Promise((e) => {
307
293
  function t(n) {
308
294
  function r() {
@@ -314,53 +300,53 @@ function ft(e, n, r) {
314
300
  });
315
301
  }
316
302
  /*#__NO_SIDE_EFFECTS__*/
317
- function pt(e) {
318
- let t = /* @__PURE__ */ ut(e);
319
- return Fn(t), t;
303
+ function lt(e) {
304
+ let t = /* @__PURE__ */ ot(e);
305
+ return Nn(t), t;
320
306
  }
321
307
  /*#__NO_SIDE_EFFECTS__*/
322
- function mt(e) {
323
- let t = /* @__PURE__ */ ut(e);
324
- return t.equals = Me, t;
308
+ function ut(e) {
309
+ let t = /* @__PURE__ */ ot(e);
310
+ return t.equals = je, t;
325
311
  }
326
- function ht(e) {
312
+ function dt(e) {
327
313
  var t = e.effects;
328
314
  if (t !== null) {
329
315
  e.effects = null;
330
316
  for (var n = 0; n < t.length; n += 1) z(t[n]);
331
317
  }
332
318
  }
333
- function gt(e) {
319
+ function ft(e) {
334
320
  var n, r = W, i = e.parent;
335
- if (!B && i !== null && e.v !== t && i.f & 24576) return xe(), e.v;
321
+ if (!B && i !== null && e.v !== t && i.f & 24576) return be(), e.v;
336
322
  G(i);
337
323
  try {
338
- e.f &= ~se, ht(e), n = Wn(e);
324
+ dt(e), n = Hn(e);
339
325
  } finally {
340
326
  G(r);
341
327
  }
342
328
  return n;
343
329
  }
344
- function _t(e) {
345
- var t = gt(e);
346
- if (!e.equals(t) && (e.wv = Vn(), (!O?.is_fork || e.deps === null) && (O === null ? e.v = t : (O.capture(e, t, !0), xt?.capture(e, t, !0)), e.deps === null))) {
330
+ function pt(e) {
331
+ var t = ft(e);
332
+ if (!e.equals(t) && (e.wv = zn(), (!O?.is_fork || e.deps === null) && (O === null ? e.v = t : (O.capture(e, t, !0), _t?.capture(e, t, !0)), e.deps === null))) {
347
333
  D(e, y);
348
334
  return;
349
335
  }
350
- B || (k === null ? et(e) : (dn() || O?.is_fork) && k.set(e, t));
336
+ B || (k === null ? $e(e) : (ln() || O?.is_fork) && k.set(e, t));
351
337
  }
352
- function vt(e) {
353
- if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac !== null && at(() => {
354
- t.ac.abort(ye), t.ac = null;
355
- }), t.fn !== null && (t.teardown = ee), qn(t, 0), Cn(t));
338
+ function mt(e) {
339
+ if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac !== null && tt(() => {
340
+ t.ac.abort(ve), t.ac = null;
341
+ }), t.fn !== null && (t.teardown = ee), Gn(t, 0), xn(t));
356
342
  }
357
- function yt(e) {
358
- if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null && Jn(t);
343
+ function ht(e) {
344
+ if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null && Kn(t);
359
345
  }
360
346
  //#endregion
361
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/batch.js
362
- var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt = null, Et = null, Dt = 0, Ot = 1, kt = class e {
363
- id = Ot++;
347
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/batch.js
348
+ var gt = null, O = null, _t = null, k = null, vt = null, yt = !1, bt = !1, xt = null, St = null, Ct = 0, wt = 1, Tt = class e {
349
+ id = wt++;
364
350
  #e = !1;
365
351
  linked = !0;
366
352
  #t = null;
@@ -382,7 +368,7 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
382
368
  is_fork = !1;
383
369
  #m = !1;
384
370
  constructor() {
385
- bt === null ? bt = this : (bt.#n = this, this.#t = bt), bt = this;
371
+ gt === null ? gt = this : (gt.#n = this, this.#t = gt), gt = this;
386
372
  }
387
373
  #h() {
388
374
  if (this.is_fork) return !0;
@@ -414,48 +400,67 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
414
400
  this.#p.add(e);
415
401
  }
416
402
  #g() {
417
- this.#e = !0, Dt++ > 1e3 && (this.#x(), jt());
403
+ var e = [];
404
+ for (let i of this.#c) if (!(i.f & 16384 || !(i.f & 6144))) {
405
+ for (var t = i, n = !1; t.parent !== null;) {
406
+ t = t.parent;
407
+ var r = t.f;
408
+ if (r & 96) {
409
+ if (!(r & 1024)) {
410
+ n = !0;
411
+ break;
412
+ }
413
+ t.f ^= y;
414
+ }
415
+ }
416
+ n || e.push(t);
417
+ }
418
+ return this.#c = [], e;
419
+ }
420
+ #_() {
421
+ this.#e = !0;
418
422
  for (let e of this.#u) this.#d.delete(e), D(e, b), this.schedule(e);
419
423
  for (let e of this.#d) D(e, te), this.schedule(e);
420
- let t = this.#c;
421
- this.#c = [], this.apply();
422
- var n = Tt = [], r = [], i = Et = [];
423
- for (let e of t) try {
424
- this.#_(e, n, r);
425
- } catch (t) {
426
- throw Lt(e), this.#h() || this.discard(), t;
424
+ this.apply();
425
+ for (var t = xt = [], n = [], r = St = []; this.#c.length > 0;) {
426
+ Ct++ > 1e3 && (this.#S(), Dt());
427
+ for (let e of this.#g()) try {
428
+ this.#v(e, t, n);
429
+ } catch (t) {
430
+ throw Nt(e), this.#h() || this.discard(), t;
431
+ }
427
432
  }
428
- if (O = null, i.length > 0) {
429
- var a = e.ensure();
430
- for (let e of i) a.schedule(e);
433
+ if (O = null, r.length > 0) {
434
+ var i = e.ensure();
435
+ for (let e of r) i.schedule(e);
431
436
  }
432
- if (Tt = null, Et = null, this.#h()) {
433
- this.#b(r), this.#b(n);
434
- for (let [e, t] of this.#f) It(e, t);
435
- i.length > 0 && O.#g();
437
+ if (xt = null, St = null, this.#h()) {
438
+ this.#x(n), this.#x(t);
439
+ for (let [e, t] of this.#f) Mt(e, t);
440
+ r.length > 0 && O.#_();
436
441
  return;
437
442
  }
438
- let o = this.#v();
439
- if (o) {
440
- this.#b(r), this.#b(n), o.#y(this);
443
+ let a = this.#y();
444
+ if (a) {
445
+ this.#x(n), this.#x(t), a.#b(this);
441
446
  return;
442
447
  }
443
448
  this.#u.clear(), this.#d.clear();
444
449
  for (let e of this.#r) e(this);
445
- this.#r.clear(), xt = this, Mt(r), Mt(n), xt = null, this.#s?.resolve();
446
- var s = O;
447
- if (this.#a === 0 && (this.#c.length === 0 || s !== null) && this.#x(), this.#c.length > 0) if (s !== null) {
448
- let e = s;
449
- e.#c.push(...this.#c.filter((t) => !e.#c.includes(t)));
450
- } else s = this;
451
- s !== null && (j.clear(), s.#g());
452
- }
453
- #_(e, t, n) {
450
+ this.#r.clear(), _t = this, Ot(n), Ot(t), _t = null, this.#s?.resolve();
451
+ var o = O;
452
+ if (this.#a === 0 && (this.#c.length === 0 || o !== null) && this.#S(), this.#c.length > 0) if (o !== null) {
453
+ for (let e of this.#c) o.#c.push(e);
454
+ this.#c = [];
455
+ } else o = this;
456
+ o !== null && (j.clear(), o.#_());
457
+ }
458
+ #v(e, t, n) {
454
459
  e.f ^= y;
455
460
  for (var r = e.first; r !== null;) {
456
461
  var i = r.f, a = (i & 96) != 0;
457
462
  if (!(a && i & 1024 || i & 8192 || this.#f.has(r)) && r.fn !== null) {
458
- a ? r.f ^= y : i & 4 ? t.push(r) : Hn(r) && (i & 16 && this.#d.add(r), Jn(r));
463
+ a ? r.f ^= y : i & 4 ? t.push(r) : Bn(r) && (i & 16 && this.#d.add(r), Kn(r));
459
464
  var o = r.first;
460
465
  if (o !== null) {
461
466
  r = o;
@@ -472,7 +477,7 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
472
477
  }
473
478
  }
474
479
  }
475
- #v() {
480
+ #y() {
476
481
  for (var e = this.#t; e !== null;) {
477
482
  if (!e.is_fork) {
478
483
  for (let [t, [, n]] of this.current) if (e.current.has(t) && !n) return e;
@@ -481,7 +486,7 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
481
486
  }
482
487
  return null;
483
488
  }
484
- #y(e) {
489
+ #b(e) {
485
490
  for (let [t, n] of e.current) !this.previous.has(t) && e.previous.has(t) && this.previous.set(t, e.previous.get(t)), this.current.set(t, n);
486
491
  for (let [t, n] of e.async_deriveds) {
487
492
  let e = this.async_deriveds.get(t);
@@ -500,10 +505,10 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
500
505
  }
501
506
  };
502
507
  for (let e of this.current.keys()) t(e);
503
- this.oncommit(() => e.discard()), e.#x(), O = this, this.#g();
508
+ this.oncommit(() => e.discard()), e.#S(), O = this, this.#_();
504
509
  }
505
- #b(e) {
506
- for (var t = 0; t < e.length; t += 1) nt(e[t], this.#u, this.#d);
510
+ #x(e) {
511
+ for (var t = 0; t < e.length; t += 1) et(e[t], this.#u, this.#d);
507
512
  }
508
513
  capture(e, n, r = !1) {
509
514
  e.v !== t && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [n, r]), k?.set(e, n)), this.is_fork || (e.v = n);
@@ -516,16 +521,16 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
516
521
  }
517
522
  flush() {
518
523
  try {
519
- wt = !0, O = this, this.#g();
524
+ bt = !0, O = this, this.#_();
520
525
  } finally {
521
- Dt = 0, St = null, Tt = null, Et = null, wt = !1, O = null, k = null, j.clear();
526
+ Ct = 0, vt = null, xt = null, St = null, bt = !1, O = null, k = null, j.clear();
522
527
  }
523
528
  }
524
529
  discard() {
525
530
  for (let e of this.#i) e(this);
526
531
  this.#i.clear();
527
- for (let e of this.async_deriveds.values()) e.reject(dt);
528
- this.#x(), this.#s?.resolve();
532
+ for (let e of this.async_deriveds.values()) e.reject(st);
533
+ this.#S(), this.#s?.resolve();
529
534
  }
530
535
  register_created_effect(e) {
531
536
  this.#l.push(e);
@@ -541,7 +546,7 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
541
546
  let e = this.#o.get(t) ?? 0;
542
547
  e === 1 ? this.#o.delete(t) : this.#o.set(t, e - 1);
543
548
  }
544
- this.#m || (this.#m = !0, Ze(() => {
549
+ this.#m || (this.#m = !0, Xe(() => {
545
550
  this.#m = !1, this.linked && this.flush();
546
551
  }));
547
552
  }
@@ -562,7 +567,7 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
562
567
  static ensure() {
563
568
  if (O === null) {
564
569
  let t = O = new e();
565
- !wt && !Ct && Ze(() => {
570
+ !bt && !yt && Xe(() => {
566
571
  t.#e || t.flush();
567
572
  });
568
573
  }
@@ -572,55 +577,46 @@ var bt = null, O = null, xt = null, k = null, St = null, Ct = !1, wt = !1, Tt =
572
577
  k = null;
573
578
  }
574
579
  schedule(e) {
575
- if (St = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
580
+ if (vt = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
576
581
  e.b.defer_effect(e);
577
582
  return;
578
583
  }
579
- for (var t = e; t.parent !== null;) {
580
- t = t.parent;
581
- var n = t.f;
582
- if (Tt !== null && t === W && (V === null || !(V.f & 2))) return;
583
- if (n & 96) {
584
- if (!(n & 1024)) return;
585
- t.f ^= y;
586
- }
587
- }
588
- this.#c.push(t);
584
+ this.#c.push(e);
589
585
  }
590
- #x() {
586
+ #S() {
591
587
  if (this.linked) {
592
588
  var e = this.#t, t = this.#n;
593
- e === null || (e.#n = t), t === null ? bt = e : t.#t = e, this.linked = !1;
589
+ e === null || (e.#n = t), t === null ? gt = e : t.#t = e, this.linked = !1;
594
590
  }
595
591
  }
596
592
  };
597
- function At(e) {
598
- var t = Ct;
599
- Ct = !0;
593
+ function Et(e) {
594
+ var t = yt;
595
+ yt = !0;
600
596
  try {
601
597
  var n;
602
598
  for (e && (O !== null && !O.is_fork && O.flush(), n = e());;) {
603
- if (Qe(), O === null) return n;
599
+ if (Ze(), O === null) return n;
604
600
  O.flush();
605
601
  }
606
602
  } finally {
607
- Ct = t;
603
+ yt = t;
608
604
  }
609
605
  }
610
- function jt() {
606
+ function Dt() {
611
607
  try {
612
- Le();
608
+ Ie();
613
609
  } catch (e) {
614
- I(e, St);
610
+ I(e, vt);
615
611
  }
616
612
  }
617
613
  var A = null;
618
- function Mt(e) {
614
+ function Ot(e) {
619
615
  var t = e.length;
620
616
  if (t !== 0) {
621
617
  for (var n = 0; n < t;) {
622
618
  var r = e[n++];
623
- if (!(r.f & 24576) && Hn(r) && (A = /* @__PURE__ */ new Set(), Jn(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && En(r), A?.size > 0)) {
619
+ if (!(r.f & 24576) && Bn(r) && (A = /* @__PURE__ */ new Set(), Kn(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && wn(r), A?.size > 0)) {
624
620
  j.clear();
625
621
  for (let e of A) {
626
622
  if (e.f & 24576) continue;
@@ -628,7 +624,7 @@ function Mt(e) {
628
624
  for (; n !== null;) A.has(n) && (A.delete(n), t.push(n)), n = n.parent;
629
625
  for (let e = t.length - 1; e >= 0; e--) {
630
626
  let n = t[e];
631
- n.f & 24576 || Jn(n);
627
+ n.f & 24576 || Kn(n);
632
628
  }
633
629
  }
634
630
  A.clear();
@@ -637,120 +633,128 @@ function Mt(e) {
637
633
  A = null;
638
634
  }
639
635
  }
640
- function Nt(e, t, n, r) {
636
+ function kt(e, t, n, r) {
641
637
  if (!n.has(e) && (n.add(e), e.reactions !== null)) for (let i of e.reactions) {
642
638
  let e = i.f;
643
- e & 2 ? Nt(i, t, n, r) : e & 4194320 && !(e & 2048) && Pt(i, t, r) && (D(i, b), Ft(i));
639
+ e & 2 ? kt(i, t, n, r) : e & 4194320 && !(e & 2048) && At(i, t, r) && (D(i, b), jt(i));
644
640
  }
645
641
  }
646
- function Pt(e, t, n) {
642
+ function At(e, t, n) {
647
643
  let r = n.get(e);
648
644
  if (r !== void 0) return r;
649
645
  if (e.deps !== null) for (let r of e.deps) {
650
646
  if (s.call(t, r)) return !0;
651
- if (r.f & 2 && Pt(r, t, n)) return n.set(r, !0), !0;
647
+ if (r.f & 2 && At(r, t, n)) return n.set(r, !0), !0;
652
648
  }
653
649
  return n.set(e, !1), !1;
654
650
  }
655
- function Ft(e) {
651
+ function jt(e) {
656
652
  O.schedule(e);
657
653
  }
658
- function It(e, t) {
654
+ function Mt(e, t) {
659
655
  if (!(e.f & 32 && e.f & 1024)) {
660
656
  e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), D(e, y);
661
- for (var n = e.first; n !== null;) It(n, t), n = n.next;
657
+ for (var n = e.first; n !== null;) Mt(n, t), n = n.next;
662
658
  }
663
659
  }
664
- function Lt(e) {
660
+ function Nt(e) {
665
661
  D(e, y);
666
- for (var t = e.first; t !== null;) Lt(t), t = t.next;
662
+ for (var t = e.first; t !== null;) Nt(t), t = t.next;
667
663
  }
668
664
  //#endregion
669
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/sources.js
670
- var Rt = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Map(), zt = !1;
671
- function Bt(e, t) {
665
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/sources.js
666
+ var Pt = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Map(), Ft = !1;
667
+ function It(e, t) {
672
668
  return {
673
669
  f: 0,
674
670
  v: e,
675
671
  reactions: null,
676
- equals: Ae,
672
+ equals: ke,
677
673
  rv: 0,
678
674
  wv: 0
679
675
  };
680
676
  }
681
677
  /*#__NO_SIDE_EFFECTS__*/
682
678
  function M(e, t) {
683
- let n = Bt(e, t);
684
- return Fn(n), n;
679
+ let n = It(e, t);
680
+ return Nn(n), n;
685
681
  }
686
682
  /*#__NO_SIDE_EFFECTS__*/
687
- function Vt(e, t = !1, n = !0) {
688
- let r = Bt(e);
689
- return t || (r.equals = Me), r;
683
+ function Lt(e, t = !1, n = !0) {
684
+ let r = It(e);
685
+ return t || (r.equals = je), r;
690
686
  }
691
687
  function N(e, t, n = !1) {
692
- return V !== null && (!H || V.f & 131072) && Je() && V.f & 4325394 && (K === null || !K.has(e)) && He(), Ht(e, n ? Kt(t) : t, Et);
688
+ return V !== null && (!H || V.f & 131072) && qe() && V.f & 4325394 && (K === null || !K.has(e)) && Ve(), Bt(e, n ? Wt(t) : t, St);
693
689
  }
694
- function Ht(e, t, n = null) {
690
+ var Rt = null, zt = 0;
691
+ function Bt(e, t, n = null) {
695
692
  if (!e.equals(t)) {
696
693
  B ? j.set(e, t) : j.has(e) || j.set(e, e.v);
697
- var r = kt.ensure();
694
+ var r = Tt.ensure();
698
695
  if (r.capture(e, t), e.f & 2) {
699
696
  let t = e;
700
- e.f & 2048 && gt(t), k === null && et(t);
697
+ e.f & 2048 && ft(t), k === null && $e(t);
701
698
  }
702
- e.wv = Vn(), Gt(e, b, n), Je() && W !== null && W.f & 1024 && !(W.f & 96) && (Y === null ? In([e]) : Y.push(e)), !r.is_fork && Rt.size > 0 && !zt && Ut();
699
+ e.wv = zn(), Rt = null, zt = 0, Ut(e, b, n), Rt = null, qe() && W !== null && W.f & 1024 && !(W.f & 96) && (Y === null ? Pn([e]) : Y.push(e)), !r.is_fork && Pt.size > 0 && !Ft && Vt();
703
700
  }
704
701
  return t;
705
702
  }
706
- function Ut() {
707
- zt = !1;
708
- for (let e of Rt) {
703
+ function Vt() {
704
+ Ft = !1;
705
+ for (let e of Pt) {
709
706
  e.f & 1024 && D(e, te);
710
707
  let t;
711
708
  try {
712
- t = Hn(e);
709
+ t = Bn(e);
713
710
  } catch {
714
711
  t = !0;
715
712
  }
716
- t && Jn(e);
713
+ t && Kn(e);
717
714
  }
718
- Rt.clear();
715
+ Pt.clear();
719
716
  }
720
- function Wt(e) {
717
+ function Ht(e) {
721
718
  N(e, e.v + 1);
722
719
  }
723
- function Gt(e, t, n) {
720
+ function Ut(e, t, n) {
724
721
  var r = e.reactions;
725
- if (r !== null) for (var i = Je(), a = r.length, o = 0; o < a; o++) {
726
- var s = r[o], c = s.f;
727
- if (!(!i && s === W)) {
728
- var l = (c & b) === 0;
729
- if (l && D(s, t), c & 131072) Rt.add(s);
730
- else if (c & 2) {
731
- var u = s;
732
- k?.delete(u), c & 65536 || (c & 512 && (W === null || !(W.f & 2097152)) && (s.f |= se), Gt(u, te, n));
733
- } else if (l) {
734
- var d = s;
735
- c & 16 && A !== null && A.add(d), n === null ? Ft(d) : n.push(d);
722
+ if (r !== null) {
723
+ var i = qe(), a = r.length;
724
+ if (zt += a, zt > 1e5 && Rt === null && (Rt = /* @__PURE__ */ new Set()), Rt !== null) {
725
+ if (Rt.has(e)) return;
726
+ Rt.add(e);
727
+ }
728
+ for (var o = 0; o < a; o++) {
729
+ var s = r[o], c = s.f;
730
+ if (!(!i && s === W)) {
731
+ var l = (c & b) === 0;
732
+ if (l && D(s, t), c & 131072) Pt.add(s);
733
+ else if (c & 2) {
734
+ var u = s;
735
+ k?.delete(u), Ut(u, te, n);
736
+ } else if (l) {
737
+ var d = s;
738
+ c & 16 && A !== null && A.add(d), n === null ? jt(d) : n.push(d);
739
+ }
736
740
  }
737
741
  }
738
742
  }
739
743
  }
740
- function Kt(e) {
741
- if (typeof e != "object" || !e || de in e || fe in e) return e;
744
+ function Wt(e) {
745
+ if (typeof e != "object" || !e || ue in e || de in e) return e;
742
746
  let n = h(e);
743
747
  if (n !== p && n !== m) return e;
744
- var r = /* @__PURE__ */ new Map(), i = a(e), o = /* @__PURE__ */ M(0), s = null, c = zn, l = (e) => {
745
- if (zn === c) return e();
746
- var t = V, n = zn;
747
- U(null), Bn(c);
748
+ var r = /* @__PURE__ */ new Map(), i = a(e), o = /* @__PURE__ */ M(0), s = null, c = Ln, l = (e) => {
749
+ if (Ln === c) return e();
750
+ var t = V, n = Ln;
751
+ U(null), Rn(c);
748
752
  var r = e();
749
- return U(t), Bn(n), r;
753
+ return U(t), Rn(n), r;
750
754
  };
751
755
  return i && r.set("length", /* @__PURE__ */ M(e.length, s)), new Proxy(e, {
752
756
  defineProperty(e, t, n) {
753
- (!("value" in n) || n.configurable === !1 || n.enumerable === !1 || n.writable === !1) && Be();
757
+ (!("value" in n) || n.configurable === !1 || n.enumerable === !1 || n.writable === !1) && ze();
754
758
  var i = r.get(t);
755
759
  return i === void 0 ? l(() => {
756
760
  var e = /* @__PURE__ */ M(n.value, s);
@@ -762,40 +766,40 @@ function Kt(e) {
762
766
  if (i === void 0) {
763
767
  if (n in e) {
764
768
  let e = l(() => /* @__PURE__ */ M(t, s));
765
- r.set(n, e), Wt(o);
769
+ r.set(n, e), Ht(o);
766
770
  }
767
- } else N(i, t), Wt(o);
771
+ } else N(i, t), Ht(o);
768
772
  return !0;
769
773
  },
770
774
  get(n, i, a) {
771
- if (i === de) return e;
775
+ if (i === ue) return e;
772
776
  var o = r.get(i), c = i in n;
773
- if (o === void 0 && (!c || d(n, i)?.writable) && (o = l(() => /* @__PURE__ */ M(Kt(c ? n[i] : t), s)), r.set(i, o)), o !== void 0) {
777
+ if (o === void 0 && (!c || d(n, i)?.writable) && (o = l(() => /* @__PURE__ */ M(Wt(c ? n[i] : t), s)), r.set(i, o)), o !== void 0) {
774
778
  var u = X(o);
775
779
  return u === t ? void 0 : u;
776
780
  }
777
781
  return Reflect.get(n, i, a);
778
782
  },
779
783
  getOwnPropertyDescriptor(e, n) {
780
- var i = Reflect.getOwnPropertyDescriptor(e, n);
781
- if (i && "value" in i) {
782
- var a = r.get(n);
783
- a && (i.value = X(a));
784
- } else if (i === void 0) {
785
- var o = r.get(n), s = o?.v;
786
- if (o !== void 0 && s !== t) return {
784
+ this.has?.(e, n);
785
+ var i = Reflect.getOwnPropertyDescriptor(e, n), a = r.get(n);
786
+ if (a !== void 0) {
787
+ var o = X(a);
788
+ if (o === t) return;
789
+ if (i && "value" in i) i.value = o;
790
+ else return {
787
791
  enumerable: !0,
788
792
  configurable: !0,
789
- value: s,
793
+ value: o,
790
794
  writable: !0
791
795
  };
792
796
  }
793
797
  return i;
794
798
  },
795
799
  has(e, n) {
796
- if (n === de) return !0;
800
+ if (n === ue) return !0;
797
801
  var i = r.get(n), a = i !== void 0 && i.v !== t || Reflect.has(e, n);
798
- return (i !== void 0 || W !== null && (!a || d(e, n)?.writable)) && (i === void 0 && (i = l(() => /* @__PURE__ */ M(a ? Kt(e[n]) : t, s)), r.set(n, i)), X(i) === t) ? !1 : a;
802
+ return (i !== void 0 || W !== null && (!a || d(e, n)?.writable)) && (i === void 0 && (i = l(() => /* @__PURE__ */ M(a ? Wt(e[n]) : t, s)), r.set(n, i)), X(i) === t) ? !1 : a;
799
803
  },
800
804
  set(e, n, a, c) {
801
805
  var u = r.get(n), f = n in e;
@@ -803,10 +807,10 @@ function Kt(e) {
803
807
  var m = r.get(p + "");
804
808
  m === void 0 ? p in e && (m = l(() => /* @__PURE__ */ M(t, s)), r.set(p + "", m)) : N(m, t);
805
809
  }
806
- if (u === void 0) (!f || d(e, n)?.writable) && (u = l(() => /* @__PURE__ */ M(void 0, s)), N(u, Kt(a)), r.set(n, u));
810
+ if (u === void 0) (!f || d(e, n)?.writable) && (u = l(() => /* @__PURE__ */ M(void 0, s)), N(u, Wt(a)), r.set(n, u));
807
811
  else {
808
812
  f = u.v !== t;
809
- var h = l(() => Kt(a));
813
+ var h = l(() => Wt(a));
810
814
  N(u, h);
811
815
  }
812
816
  var g = Reflect.getOwnPropertyDescriptor(e, n);
@@ -815,7 +819,7 @@ function Kt(e) {
815
819
  var ee = r.get("length"), _ = Number(n);
816
820
  Number.isInteger(_) && _ >= ee.v && N(ee, _ + 1);
817
821
  }
818
- Wt(o);
822
+ Ht(o);
819
823
  }
820
824
  return !0;
821
825
  },
@@ -829,88 +833,88 @@ function Kt(e) {
829
833
  return n;
830
834
  },
831
835
  setPrototypeOf() {
832
- Ve();
836
+ Be();
833
837
  }
834
838
  });
835
839
  }
836
- var qt, Jt, Yt, Xt;
837
- function Zt() {
838
- if (qt === void 0) {
839
- qt = window, Jt = /Firefox/.test(navigator.userAgent);
840
+ var Gt, Kt, qt, Jt;
841
+ function Yt() {
842
+ if (Gt === void 0) {
843
+ Gt = window, Kt = /Firefox/.test(navigator.userAgent);
840
844
  var e = Element.prototype, t = Node.prototype, n = Text.prototype;
841
- Yt = d(t, "firstChild").get, Xt = d(t, "nextSibling").get, g(e) && (e[ge] = void 0, e[he] = null, e[_e] = void 0, e.__e = void 0), g(n) && (n[ve] = void 0);
845
+ qt = d(t, "firstChild").get, Jt = d(t, "nextSibling").get, g(e) && (e[he] = void 0, e[me] = null, e[ge] = void 0, e.__e = void 0), g(n) && (n[_e] = void 0);
842
846
  }
843
847
  }
844
- function Qt(e = "") {
848
+ function Xt(e = "") {
845
849
  return document.createTextNode(e);
846
850
  }
847
851
  /*@__NO_SIDE_EFFECTS__*/
848
852
  function P(e) {
849
- return Yt.call(e);
853
+ return qt.call(e);
850
854
  }
851
855
  /*@__NO_SIDE_EFFECTS__*/
852
856
  function F(e) {
853
- return Xt.call(e);
857
+ return Jt.call(e);
854
858
  }
855
- function $t(e, t) {
859
+ function Zt(e, t) {
856
860
  if (!C) return /* @__PURE__ */ P(e);
857
861
  var n = /* @__PURE__ */ P(w);
858
- if (n === null) n = w.appendChild(Qt());
862
+ if (n === null) n = w.appendChild(Xt());
859
863
  else if (t && n.nodeType !== 3) {
860
- var r = Qt();
864
+ var r = Xt();
861
865
  return n?.before(r), T(r), r;
862
866
  }
863
- return t && sn(n), T(n), n;
867
+ return t && an(n), T(n), n;
864
868
  }
865
- function en(e, t = !1) {
869
+ function Qt(e, t = !1) {
866
870
  if (!C) {
867
871
  var n = /* @__PURE__ */ P(e);
868
872
  return n instanceof Comment && n.data === "" ? /* @__PURE__ */ F(n) : n;
869
873
  }
870
874
  if (t) {
871
875
  if (w?.nodeType !== 3) {
872
- var r = Qt();
876
+ var r = Xt();
873
877
  return w?.before(r), T(r), r;
874
878
  }
875
- sn(w);
879
+ an(w);
876
880
  }
877
881
  return w;
878
882
  }
879
- function tn(e, t = !1) {
883
+ function $t(e, t = !1) {
880
884
  if (!C) return /* @__PURE__ */ P(e);
881
- var n = $t(e, t);
882
- return Ee(e), n;
885
+ var n = Zt(e, t);
886
+ return Te(e), n;
883
887
  }
884
- function nn(e, t = 1, n = !1) {
888
+ function en(e, t = 1, n = !1) {
885
889
  let r = C ? w : e;
886
890
  for (var i; t--;) i = r, r = /* @__PURE__ */ F(r);
887
891
  if (!C) return r;
888
892
  if (n) {
889
893
  if (r?.nodeType !== 3) {
890
- var a = Qt();
894
+ var a = Xt();
891
895
  return r === null ? i?.after(a) : r.before(a), T(a), a;
892
896
  }
893
- sn(r);
897
+ an(r);
894
898
  }
895
899
  return T(r), r;
896
900
  }
897
- function rn(e) {
901
+ function tn(e) {
898
902
  e.textContent = "";
899
903
  }
900
- function an() {
904
+ function nn() {
901
905
  return !1;
902
906
  }
903
- function on(e, t, n) {
907
+ function rn(e, t, n) {
904
908
  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);
905
909
  }
906
- function sn(e) {
910
+ function an(e) {
907
911
  if (e.nodeValue.length < 65536) return;
908
912
  let t = e.nextSibling;
909
913
  for (; t !== null && t.nodeType === 3;) t.remove(), e.nodeValue += t.nodeValue, t = e.nextSibling;
910
914
  }
911
- function cn(e) {
915
+ function on(e) {
912
916
  var t = W;
913
- if (t === null) return V.f |= ue, e;
917
+ if (t === null) return V.f |= le, e;
914
918
  if (!(t.f & 32768) && !(t.f & 4)) throw e;
915
919
  I(e, t);
916
920
  }
@@ -932,11 +936,11 @@ function I(e, t) {
932
936
  }
933
937
  }
934
938
  //#endregion
935
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/effects.js
936
- function ln(e) {
937
- W === null && (V === null && Ie(e), Fe()), B && Pe(e);
939
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/effects.js
940
+ function sn(e) {
941
+ W === null && (V === null && Fe(e), Pe()), B && Ne(e);
938
942
  }
939
- function un(e, t) {
943
+ function cn(e, t) {
940
944
  var n = t.last;
941
945
  n === null ? t.last = t.first = e : (n.next = e, e.prev = n, t.last = e);
942
946
  }
@@ -961,103 +965,103 @@ function L(e, t) {
961
965
  };
962
966
  O?.register_created_effect(r);
963
967
  var i = r;
964
- if (e & 4) Tt === null ? kt.ensure().schedule(r) : Tt.push(r);
968
+ if (e & 4) xt === null ? Tt.ensure().schedule(r) : xt.push(r);
965
969
  else if (t !== null) {
966
970
  try {
967
- Jn(r);
971
+ Kn(r);
968
972
  } catch (e) {
969
973
  throw z(r), e;
970
974
  }
971
975
  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 |= ie));
972
976
  }
973
- if (i !== null && (i.parent = n, n !== null && un(i, n), V !== null && V.f & 2 && !(e & 64))) {
977
+ if (i !== null && (i.parent = n, n !== null && cn(i, n), V !== null && V.f & 2 && !(e & 64))) {
974
978
  var a = V;
975
979
  (a.effects ??= []).push(i);
976
980
  }
977
981
  return r;
978
982
  }
979
- function dn() {
983
+ function ln() {
980
984
  return V !== null && !H;
981
985
  }
982
- function fn(e) {
986
+ function un(e) {
983
987
  let t = L(8, null);
984
988
  return D(t, y), t.teardown = e, t;
985
989
  }
986
- function pn(e) {
987
- ln("$effect");
990
+ function dn(e) {
991
+ sn("$effect");
988
992
  var t = W.f;
989
993
  if (!V && t & 32 && E !== null && !E.i) {
990
994
  var n = E;
991
995
  (n.e ??= []).push(e);
992
- } else return mn(e);
996
+ } else return fn(e);
993
997
  }
994
- function mn(e) {
998
+ function fn(e) {
995
999
  return L(4 | oe, e);
996
1000
  }
997
- function hn(e) {
998
- kt.ensure();
1001
+ function pn(e) {
1002
+ Tt.ensure();
999
1003
  let t = L(64 | ae, e);
1000
1004
  return () => {
1001
1005
  z(t);
1002
1006
  };
1003
1007
  }
1004
- function gn(e) {
1005
- kt.ensure();
1008
+ function mn(e) {
1009
+ Tt.ensure();
1006
1010
  let t = L(64 | ae, e);
1007
1011
  return (e = {}) => new Promise((n) => {
1008
- e.outro ? Dn(t, () => {
1012
+ e.outro ? Tn(t, () => {
1009
1013
  z(t), n(void 0);
1010
1014
  }) : (z(t), n(void 0));
1011
1015
  });
1012
1016
  }
1013
- function _n(e) {
1017
+ function hn(e) {
1014
1018
  return L(4, e);
1015
1019
  }
1016
- function vn(e) {
1017
- return L(le | ae, e);
1020
+ function gn(e) {
1021
+ return L(ce | ae, e);
1018
1022
  }
1019
- function yn(e, t = 0) {
1023
+ function _n(e, t = 0) {
1020
1024
  return L(8 | t, e);
1021
1025
  }
1022
- function bn(e, t = [], n = [], r = []) {
1023
- ot(r, t, n, (t) => {
1026
+ function vn(e, t = [], n = [], r = []) {
1027
+ nt(r, t, n, (t) => {
1024
1028
  L(8, () => {
1025
1029
  e(...t.map(X));
1026
1030
  });
1027
1031
  });
1028
1032
  }
1029
- function xn(e, t = 0) {
1033
+ function yn(e, t = 0) {
1030
1034
  return L(16 | t, e);
1031
1035
  }
1032
1036
  function R(e) {
1033
1037
  return L(32 | ae, e);
1034
1038
  }
1035
- function Sn(e) {
1039
+ function bn(e) {
1036
1040
  var t = e.teardown;
1037
1041
  if (t !== null) {
1038
1042
  let n = B, r = V;
1039
- Pn(!0), U(null);
1043
+ Mn(!0), U(null);
1040
1044
  try {
1041
1045
  t.call(null);
1042
1046
  } catch (t) {
1043
1047
  I(t, e.parent);
1044
1048
  } finally {
1045
- Pn(n), U(r);
1049
+ Mn(n), U(r);
1046
1050
  }
1047
1051
  }
1048
1052
  }
1049
- function Cn(e, t = !1) {
1053
+ function xn(e, t = !1) {
1050
1054
  var n = e.first;
1051
1055
  for (e.first = e.last = null; n !== null;) {
1052
1056
  let e = n.ac;
1053
- e !== null && at(() => {
1054
- e.abort(ye);
1057
+ e !== null && tt(() => {
1058
+ e.abort(ve);
1055
1059
  });
1056
1060
  var r = n.next;
1057
1061
  n.f & 64 ? n.parent = null : z(n, t), n = r;
1058
1062
  }
1059
1063
  }
1060
- function wn(e) {
1064
+ function Sn(e) {
1061
1065
  for (var t = e.first; t !== null;) {
1062
1066
  var n = t.next;
1063
1067
  t.f & 32 || z(t), t = n;
@@ -1065,26 +1069,26 @@ function wn(e) {
1065
1069
  }
1066
1070
  function z(e, t = !0) {
1067
1071
  var n = !1;
1068
- (t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (Tn(e.nodes.start, e.nodes.end), n = !0), e.f |= S, Cn(e, t && !n), qn(e, 0);
1072
+ (t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (Cn(e.nodes.start, e.nodes.end), n = !0), e.f |= S, xn(e, t && !n), Gn(e, 0);
1069
1073
  var r = e.nodes && e.nodes.t;
1070
1074
  if (r !== null) for (let e of r) e.stop();
1071
- Sn(e), e.f ^= S, e.f |= re;
1075
+ bn(e), e.f ^= S, e.f |= re;
1072
1076
  var i = e.parent;
1073
- i !== null && i.first !== null && En(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
1077
+ i !== null && i.first !== null && wn(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
1074
1078
  }
1075
- function Tn(e, t) {
1079
+ function Cn(e, t) {
1076
1080
  for (; e !== null;) {
1077
1081
  var n = e === t ? null : /* @__PURE__ */ F(e);
1078
1082
  e.remove(), e = n;
1079
1083
  }
1080
1084
  }
1081
- function En(e) {
1085
+ function wn(e) {
1082
1086
  var t = e.parent, n = e.prev, r = e.next;
1083
1087
  n !== null && (n.next = r), r !== null && (r.prev = n), t !== null && (t.first === e && (t.first = r), t.last === e && (t.last = n));
1084
1088
  }
1085
- function Dn(e, t, n = !0) {
1089
+ function Tn(e, t, n = !0) {
1086
1090
  var r = [];
1087
- e.f |= 256, On(e, r, !0);
1091
+ e.f |= 256, En(e, r, !0);
1088
1092
  var i = () => {
1089
1093
  n && z(e), t && t();
1090
1094
  }, a = r.length;
@@ -1093,7 +1097,7 @@ function Dn(e, t, n = !0) {
1093
1097
  for (var s of r) s.out(o);
1094
1098
  } else i();
1095
1099
  }
1096
- function On(e, t, n) {
1100
+ function En(e, t, n) {
1097
1101
  if (!(e.f & 8192)) {
1098
1102
  e.f ^= ne;
1099
1103
  var r = e.nodes && e.nodes.t;
@@ -1102,36 +1106,36 @@ function On(e, t, n) {
1102
1106
  var a = i.next;
1103
1107
  if (!(i.f & 64)) {
1104
1108
  var o = (i.f & 65536) != 0 || (i.f & 32) != 0 && (e.f & 16) != 0;
1105
- On(i, t, o ? n : !1);
1109
+ En(i, t, o ? n : !1);
1106
1110
  }
1107
1111
  i = a;
1108
1112
  }
1109
1113
  }
1110
1114
  }
1111
- function kn(e) {
1112
- e.f &= -257, An(e, !0);
1115
+ function Dn(e) {
1116
+ e.f &= -257, On(e, !0);
1113
1117
  }
1114
- function An(e, t) {
1118
+ function On(e, t) {
1115
1119
  if (!(e.f & 256) && e.f & 8192) {
1116
- e.f ^= ne, e.f & 1024 || (D(e, b), kt.ensure().schedule(e));
1120
+ e.f ^= ne, e.f & 1024 || (D(e, b), Tt.ensure().schedule(e));
1117
1121
  for (var n = e.first; n !== null;) {
1118
1122
  var r = n.next, i = (n.f & 65536) != 0 || (n.f & 32) != 0;
1119
- An(n, i ? t : !1), n = r;
1123
+ On(n, i ? t : !1), n = r;
1120
1124
  }
1121
1125
  var a = e.nodes && e.nodes.t;
1122
1126
  if (a !== null) for (let e of a) (e.is_global || t) && e.in();
1123
1127
  }
1124
1128
  }
1125
- function jn(e, t) {
1129
+ function kn(e, t) {
1126
1130
  if (e.nodes) for (var n = e.nodes.start, r = e.nodes.end; n !== null;) {
1127
1131
  var i = n === r ? null : /* @__PURE__ */ F(n);
1128
1132
  t.append(n), n = i;
1129
1133
  }
1130
1134
  }
1131
1135
  //#endregion
1132
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/legacy.js
1133
- var Mn = null, Nn = !1, B = !1;
1134
- function Pn(e) {
1136
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/legacy.js
1137
+ var An = null, jn = !1, B = !1;
1138
+ function Mn(e) {
1135
1139
  B = e;
1136
1140
  }
1137
1141
  var V = null, H = !1;
@@ -1143,73 +1147,73 @@ function G(e) {
1143
1147
  W = e;
1144
1148
  }
1145
1149
  var K = null;
1146
- function Fn(e) {
1147
- V !== null && (K ??= /* @__PURE__ */ new Set()).add(e);
1150
+ function Nn(e) {
1151
+ V !== null && (V.f & 2097152 || V.f & 2) && (K ??= /* @__PURE__ */ new Set()).add(e);
1148
1152
  }
1149
1153
  var q = null, J = 0, Y = null;
1150
- function In(e) {
1154
+ function Pn(e) {
1151
1155
  Y = e;
1152
1156
  }
1153
- var Ln = 1, Rn = 0, zn = Rn;
1154
- function Bn(e) {
1155
- zn = e;
1157
+ var Fn = 1, In = 0, Ln = In;
1158
+ function Rn(e) {
1159
+ Ln = e;
1156
1160
  }
1157
- function Vn() {
1158
- return ++Ln;
1161
+ function zn() {
1162
+ return ++Fn;
1159
1163
  }
1160
- function Hn(e) {
1164
+ function Bn(e) {
1161
1165
  var t = e.f;
1162
1166
  if (t & 2048) return !0;
1163
- if (t & 2 && (e.f &= ~se), t & 4096) {
1167
+ if (t & 4096) {
1164
1168
  for (var n = e.deps, r = n.length, i = 0; i < r; i++) {
1165
1169
  var a = n[i];
1166
- if (Hn(a) && _t(a), a.wv > e.wv) return !0;
1170
+ if (Bn(a) && pt(a), a.wv > e.wv) return !0;
1167
1171
  }
1168
1172
  t & 512 && k === null && D(e, y);
1169
1173
  }
1170
1174
  return !1;
1171
1175
  }
1172
- function Un(e, t, n = !0) {
1176
+ function Vn(e, t, n = !0) {
1173
1177
  var r = e.reactions;
1174
1178
  if (r !== null && !(K !== null && K.has(e))) for (var i = 0; i < r.length; i++) {
1175
1179
  var a = r[i];
1176
- a.f & 2 ? Un(a, t, !1) : t === a && (n ? D(a, b) : a.f & 1024 && D(a, te), Ft(a));
1180
+ a.f & 2 ? Vn(a, t, !1) : t === a && (n ? D(a, b) : a.f & 1024 && D(a, te), jt(a));
1177
1181
  }
1178
1182
  }
1179
- function Wn(e) {
1180
- var t = q, n = J, r = Y, i = V, a = K, o = E, s = H, c = zn, l = e.f;
1181
- q = null, J = 0, Y = null, V = l & 96 ? null : e, K = null, We(e.ctx), H = !1, zn = ++Rn, e.ac !== null && (at(() => {
1182
- e.ac.abort(ye);
1183
+ function Hn(e) {
1184
+ var t = q, n = J, r = Y, i = V, a = K, o = E, s = H, c = Ln, l = e.f;
1185
+ q = null, J = 0, Y = null, V = l & 96 ? null : e, K = null, Ue(e.ctx), H = !1, Ln = ++In, e.ac !== null && (tt(() => {
1186
+ e.ac.abort(ve);
1183
1187
  }), e.ac = null);
1184
1188
  try {
1185
- e.f |= ce;
1189
+ e.f |= se;
1186
1190
  var u = e.fn, d = u();
1187
1191
  e.f |= x;
1188
- var f = Gn(e);
1189
- if (Je() && Y !== null && !H && f !== null && !(e.f & 6146)) for (var p = 0; p < Y.length; p++) Un(Y[p], e);
1192
+ var f = Un(e);
1193
+ if (qe() && Y !== null && !H && f !== null && !(e.f & 6146)) for (var p = 0; p < Y.length; p++) Vn(Y[p], e);
1190
1194
  if (i !== null && i !== e) {
1191
- if (Rn++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = Rn;
1192
- if (t !== null) for (let e of t) e.rv = Rn;
1195
+ if (In++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = In;
1196
+ if (t !== null) for (let e of t) e.rv = In;
1193
1197
  Y !== null && (r === null ? r = Y : r.push(...Y));
1194
1198
  }
1195
- return e.f & 8388608 && (e.f ^= ue), d;
1199
+ return e.f & 8388608 && (e.f ^= le), d;
1196
1200
  } catch (t) {
1197
- return Gn(e), cn(t);
1201
+ return Un(e), on(t);
1198
1202
  } finally {
1199
- e.f ^= ce, q = t, J = n, Y = r, V = i, K = a, We(o), H = s, zn = c;
1203
+ e.f ^= se, q = t, J = n, Y = r, V = i, K = a, Ue(o), H = s, Ln = c;
1200
1204
  }
1201
1205
  }
1202
- function Gn(e) {
1206
+ function Un(e) {
1203
1207
  var t = e.deps, n = O?.is_fork;
1204
1208
  if (q !== null) {
1205
1209
  var r;
1206
- if (n || qn(e, J), t !== null && J > 0) for (t.length = J + q.length, r = 0; r < q.length; r++) t[J + r] = q[r];
1210
+ if (n || Gn(e, J), t !== null && J > 0) for (t.length = J + q.length, r = 0; r < q.length; r++) t[J + r] = q[r];
1207
1211
  else e.deps = t = q;
1208
- if (dn() && e.f & 512) for (r = J; r < t.length; r++) (t[r].reactions ??= []).push(e);
1209
- } else !n && t !== null && J < t.length && (qn(e, J), t.length = J);
1212
+ if (ln() && e.f & 512) for (r = J; r < t.length; r++) (t[r].reactions ??= []).push(e);
1213
+ } else !n && t !== null && J < t.length && (Gn(e, J), t.length = J);
1210
1214
  return t;
1211
1215
  }
1212
- function Kn(e, n) {
1216
+ function Wn(e, n) {
1213
1217
  let r = n.reactions;
1214
1218
  if (r !== null) {
1215
1219
  var i = o.call(r, e);
@@ -1220,35 +1224,35 @@ function Kn(e, n) {
1220
1224
  }
1221
1225
  if (r === null && n.f & 2 && (q === null || !s.call(q, n))) {
1222
1226
  var c = n;
1223
- c.f & 512 && (c.f ^= 512, c.f &= ~se), c.v !== t && et(c), c.ac !== null && at(() => {
1224
- c.ac.abort(ye), c.ac = null, D(c, b);
1225
- }), vt(c), qn(c, 0);
1227
+ c.f & 512 && (c.f ^= 512), c.v !== t && $e(c), c.ac !== null && tt(() => {
1228
+ c.ac.abort(ve), c.ac = null, D(c, b);
1229
+ }), mt(c), Gn(c, 0);
1226
1230
  }
1227
1231
  }
1228
- function qn(e, t) {
1232
+ function Gn(e, t) {
1229
1233
  var n = e.deps;
1230
- if (n !== null) for (var r = t; r < n.length; r++) Kn(e, n[r]);
1234
+ if (n !== null) for (var r = t; r < n.length; r++) Wn(e, n[r]);
1231
1235
  }
1232
- function Jn(e) {
1236
+ function Kn(e) {
1233
1237
  var t = e.f;
1234
1238
  if (!(t & 16384)) {
1235
1239
  D(e, y);
1236
- var n = W, r = Nn;
1237
- W = e, Nn = (t & 96) == 0;
1240
+ var n = W, r = jn;
1241
+ W = e, jn = (t & 96) == 0;
1238
1242
  try {
1239
- t & 16777232 ? wn(e) : Cn(e), Sn(e);
1240
- var i = Wn(e);
1241
- e.teardown = typeof i == "function" ? i : null, e.wv = Ln;
1243
+ t & 16777232 ? Sn(e) : xn(e), bn(e);
1244
+ var i = Hn(e);
1245
+ e.teardown = typeof i == "function" ? i : null, e.wv = Fn;
1242
1246
  } finally {
1243
- Nn = r, W = n;
1247
+ jn = r, W = n;
1244
1248
  }
1245
1249
  }
1246
1250
  }
1247
1251
  function X(e) {
1248
1252
  var t = (e.f & 2) != 0;
1249
- if (Mn?.add(e), V !== null && !H && !(W !== null && W.f & 16384) && (K === null || !K.has(e))) {
1253
+ if (An?.add(e), V !== null && !H && !(W !== null && W.f & 16384) && (K === null || !K.has(e))) {
1250
1254
  var n = V.deps;
1251
- if (V.f & 2097152) e.rv < Rn && (e.rv = Rn, q === null && n !== null && n[J] === e ? J++ : q === null ? q = [e] : q.push(e));
1255
+ if (V.f & 2097152) e.rv < In && (e.rv = In, q === null && n !== null && n[J] === e ? J++ : q === null ? q = [e] : q.push(e));
1252
1256
  else {
1253
1257
  V.deps ??= [], s.call(V.deps, e) || V.deps.push(e);
1254
1258
  var r = e.reactions;
@@ -1260,25 +1264,25 @@ function X(e) {
1260
1264
  var i = e;
1261
1265
  if (B) {
1262
1266
  var a = i.v;
1263
- return (!(i.f & 1024) && i.reactions !== null || Xn(i)) && (a = gt(i)), j.set(i, a), a;
1267
+ return (!(i.f & 1024) && i.reactions !== null || Jn(i)) && (a = ft(i)), j.set(i, a), a;
1264
1268
  }
1265
- var o = (i.f & 512) == 0 && !H && V !== null && (Nn || (V.f & 512) != 0), c = (i.f & x) === 0;
1266
- Hn(i) && (o && (i.f |= 512), _t(i)), o && !c && (yt(i), Yn(i));
1269
+ var o = (i.f & 512) == 0 && !H && V !== null && (jn || (V.f & 512) != 0), c = (i.f & x) === 0;
1270
+ Bn(i) && (o && (i.f |= 512), pt(i)), o && !c && (ht(i), qn(i));
1267
1271
  }
1268
1272
  if (k?.has(e)) return k.get(e);
1269
1273
  if (e.f & 8388608) throw e.v;
1270
1274
  return e.v;
1271
1275
  }
1272
- function Yn(e) {
1273
- if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (yt(t), Yn(t));
1276
+ function qn(e) {
1277
+ if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (ht(t), qn(t));
1274
1278
  }
1275
- function Xn(e) {
1279
+ function Jn(e) {
1276
1280
  if (e.v === t) return !0;
1277
1281
  if (e.deps === null) return !1;
1278
- for (let t of e.deps) if (j.has(t) || t.f & 2 && Xn(t)) return !0;
1282
+ for (let t of e.deps) if (j.has(t) || t.f & 2 && Jn(t)) return !0;
1279
1283
  return !1;
1280
1284
  }
1281
- function Zn(e) {
1285
+ function Yn(e) {
1282
1286
  var t = H;
1283
1287
  try {
1284
1288
  return H = !0, e();
@@ -1287,18 +1291,18 @@ function Zn(e) {
1287
1291
  }
1288
1292
  }
1289
1293
  //#endregion
1290
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/elements/events.js
1291
- var Qn = Symbol("events"), $n = /* @__PURE__ */ new Set(), er = /* @__PURE__ */ new Set(), tr = null, nr = !1;
1292
- function rr(e) {
1294
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/events.js
1295
+ var Xn = Symbol("events"), Zn = /* @__PURE__ */ new Set(), Qn = /* @__PURE__ */ new Set(), $n = null, er = !1;
1296
+ function tr(e) {
1293
1297
  var t = this, n = t.ownerDocument, r = e.type, i = e.composedPath?.() || [], a = i[0] || e.target;
1294
- tr = e, nr || (nr = !0, setTimeout(() => {
1295
- nr = !1, tr = null;
1298
+ $n = e, er || (er = !0, setTimeout(() => {
1299
+ er = !1, $n = null;
1296
1300
  }));
1297
- var o = 0, s = tr === e && e[Qn];
1301
+ var o = 0, s = $n === e && e[Xn];
1298
1302
  if (s) {
1299
1303
  var c = i.indexOf(s);
1300
1304
  if (c !== -1 && (t === document || t === window)) {
1301
- e[Qn] = t;
1305
+ e[Xn] = t;
1302
1306
  return;
1303
1307
  }
1304
1308
  var l = i.indexOf(t);
@@ -1317,7 +1321,7 @@ function rr(e) {
1317
1321
  try {
1318
1322
  for (var p, m = []; a !== null && a !== t;) {
1319
1323
  try {
1320
- var h = a[Qn]?.[r];
1324
+ var h = a[Xn]?.[r];
1321
1325
  h != null && (!a.disabled || e.target === a) && h.call(a, e);
1322
1326
  } catch (e) {
1323
1327
  p ? m.push(e) : p = e;
@@ -1332,23 +1336,23 @@ function rr(e) {
1332
1336
  throw p;
1333
1337
  }
1334
1338
  } finally {
1335
- e[Qn] = t, delete e.currentTarget, U(d), G(f);
1339
+ e[Xn] = t, delete e.currentTarget, U(d), G(f);
1336
1340
  }
1337
1341
  }
1338
1342
  }
1339
1343
  //#endregion
1340
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/reconciler.js
1341
- var ir = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
1342
- function ar(e) {
1343
- return ir?.createHTML(e) ?? e;
1344
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/reconciler.js
1345
+ var nr = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
1346
+ function rr(e) {
1347
+ return nr?.createHTML(e) ?? e;
1344
1348
  }
1345
- function or(e) {
1346
- var t = on("template");
1347
- return t.innerHTML = ar(e.replaceAll("<!>", "<!---->")), t.content;
1349
+ function ir(e) {
1350
+ var t = rn("template");
1351
+ return t.innerHTML = rr(e.replaceAll("<!>", "<!---->")), t.content;
1348
1352
  }
1349
1353
  //#endregion
1350
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/template.js
1351
- function sr(e, t) {
1354
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/template.js
1355
+ function ar(e, t) {
1352
1356
  var n = W;
1353
1357
  n.nodes === null && (n.nodes = {
1354
1358
  start: e,
@@ -1358,51 +1362,51 @@ function sr(e, t) {
1358
1362
  });
1359
1363
  }
1360
1364
  /*#__NO_SIDE_EFFECTS__*/
1361
- function cr(e, t) {
1365
+ function or(e, t) {
1362
1366
  var n = (t & 1) != 0, r = (t & 2) != 0, i, a = !e.startsWith("<!>");
1363
1367
  return () => {
1364
- if (C) return sr(w, null), w;
1365
- i === void 0 && (i = or(a ? e : "<!>" + e), n || (i = /* @__PURE__ */ P(i)));
1366
- var t = r || Jt ? document.importNode(i, !0) : i.cloneNode(!0);
1368
+ if (C) return ar(w, null), w;
1369
+ i === void 0 && (i = ir(a ? e : "<!>" + e), n || (i = /* @__PURE__ */ P(i)));
1370
+ var t = r || Kt ? document.importNode(i, !0) : i.cloneNode(!0);
1367
1371
  if (n) {
1368
1372
  var o = /* @__PURE__ */ P(t), s = t.lastChild;
1369
- sr(o, s);
1370
- } else sr(t, t);
1373
+ ar(o, s);
1374
+ } else ar(t, t);
1371
1375
  return t;
1372
1376
  };
1373
1377
  }
1374
- function lr(e, t) {
1378
+ function sr(e, t) {
1375
1379
  if (C) {
1376
1380
  var n = W;
1377
- (!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end = w), Te();
1381
+ (!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end = w), we();
1378
1382
  return;
1379
1383
  }
1380
1384
  e !== null && e.before(t);
1381
1385
  }
1382
1386
  [.../* @__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(".")];
1383
- var ur = ["touchstart", "touchmove"];
1384
- function dr(e) {
1385
- return ur.includes(e);
1387
+ var cr = ["touchstart", "touchmove"];
1388
+ function lr(e) {
1389
+ return cr.includes(e);
1386
1390
  }
1387
1391
  //#endregion
1388
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/reactivity/create-subscriber.js
1389
- function fr(e) {
1390
- let t = 0, n = Bt(0), r;
1392
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/reactivity/create-subscriber.js
1393
+ function ur(e) {
1394
+ let t = 0, n = It(0), r;
1391
1395
  return () => {
1392
- dn() && (X(n), yn(() => (t === 0 && (r = Zn(() => e(() => Wt(n)))), t += 1, () => {
1393
- Ze(() => {
1394
- --t, t === 0 && (r?.(), r = void 0, Wt(n));
1396
+ ln() && (X(n), _n(() => (t === 0 && (r = Yn(() => e(() => Ht(n)))), t += 1, () => {
1397
+ Xe(() => {
1398
+ --t, t === 0 && (r?.(), r = void 0, Ht(n));
1395
1399
  });
1396
1400
  })));
1397
1401
  };
1398
1402
  }
1399
1403
  //#endregion
1400
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
1401
- var pr = ie | ae;
1402
- function mr(e, t, n, r) {
1403
- new hr(e, t, n, r);
1404
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
1405
+ var dr = ie | ae;
1406
+ function fr(e, t, n, r) {
1407
+ new pr(e, t, n, r);
1404
1408
  }
1405
- var hr = class {
1409
+ var pr = class {
1406
1410
  parent;
1407
1411
  is_pending = !1;
1408
1412
  transform_error;
@@ -1421,24 +1425,24 @@ var hr = class {
1421
1425
  #f = /* @__PURE__ */ new Set();
1422
1426
  #p = /* @__PURE__ */ new Set();
1423
1427
  #m = null;
1424
- #h = fr(() => (this.#m = Bt(this.#l), () => {
1428
+ #h = ur(() => (this.#m = It(this.#l), () => {
1425
1429
  this.#m = null;
1426
1430
  }));
1427
1431
  constructor(e, t, n, r) {
1428
1432
  this.#e = e, this.#n = t, this.#r = (e) => {
1429
1433
  var t = W;
1430
1434
  t.b = this, t.f |= 128, n(e);
1431
- }, this.parent = W.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = xn(() => {
1435
+ }, this.parent = W.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = yn(() => {
1432
1436
  if (C) {
1433
1437
  let e = this.#t;
1434
- Te();
1438
+ we();
1435
1439
  let t = e.data === "[!";
1436
1440
  if (e.data.startsWith("[?")) {
1437
1441
  let t = JSON.parse(e.data.slice(2));
1438
1442
  this.#_(t);
1439
1443
  } else t ? this.#y() : this.#g();
1440
1444
  } else this.#b();
1441
- }, pr), C && (this.#e = w);
1445
+ }, dr), C && (this.#e = w);
1442
1446
  }
1443
1447
  #g() {
1444
1448
  try {
@@ -1449,7 +1453,7 @@ var hr = class {
1449
1453
  }
1450
1454
  #_(e) {
1451
1455
  let t = this.#n.failed, { reset: n, invoke_onerror: r } = this.#v(e);
1452
- Ze(r), t && (this.#s = R(() => {
1456
+ Xe(r), t && (this.#s = R(() => {
1453
1457
  t(this.#e, () => e, () => n);
1454
1458
  }));
1455
1459
  }
@@ -1457,10 +1461,10 @@ var hr = class {
1457
1461
  var t = !1, n = !1;
1458
1462
  let r = () => {
1459
1463
  if (t) {
1460
- Ce();
1464
+ Se();
1461
1465
  return;
1462
1466
  }
1463
- t = !0, n && Ue(), this.#s !== null && Dn(this.#s, () => {
1467
+ t = !0, n && He(), this.#s !== null && Tn(this.#s, () => {
1464
1468
  this.#s = null;
1465
1469
  }), this.#S(() => {
1466
1470
  this.#b();
@@ -1479,8 +1483,8 @@ var hr = class {
1479
1483
  }
1480
1484
  #y() {
1481
1485
  let e = this.#n.pending;
1482
- e && (this.is_pending = !0, this.#o = R(() => e(this.#e)), Ze(() => {
1483
- var e = this.#c = document.createDocumentFragment(), t = Qt(), n = !1;
1486
+ e && (this.is_pending = !0, this.#o = R(() => e(this.#e)), Xe(() => {
1487
+ var e = this.#c = document.createDocumentFragment(), t = Xt(), n = !1;
1484
1488
  if (e.append(t), this.#a = this.#S(() => {
1485
1489
  try {
1486
1490
  return R(() => this.#r(t));
@@ -1496,7 +1500,7 @@ var hr = class {
1496
1500
  this.#c = null, n && this.#x(O);
1497
1501
  return;
1498
1502
  }
1499
- this.#u === 0 && (this.#e.before(e), this.#c = null, Dn(this.#o, () => {
1503
+ this.#u === 0 && (this.#e.before(e), this.#c = null, Tn(this.#o, () => {
1500
1504
  this.#o = null;
1501
1505
  }), this.#x(O));
1502
1506
  }));
@@ -1507,7 +1511,7 @@ var hr = class {
1507
1511
  this.#r(this.#e);
1508
1512
  }), this.#u > 0) {
1509
1513
  var e = this.#c = document.createDocumentFragment();
1510
- jn(this.#a, e);
1514
+ kn(this.#a, e);
1511
1515
  let t = this.#n.pending;
1512
1516
  this.#o = R(() => t(this.#e));
1513
1517
  } else this.#x(O);
@@ -1519,7 +1523,7 @@ var hr = class {
1519
1523
  this.is_pending = !1, e.transfer_effects(this.#f, this.#p);
1520
1524
  }
1521
1525
  defer_effect(e) {
1522
- nt(e, this.#f, this.#p);
1526
+ et(e, this.#f, this.#p);
1523
1527
  }
1524
1528
  is_rendered() {
1525
1529
  return !this.is_pending && (!this.parent || this.parent.is_rendered());
@@ -1529,11 +1533,11 @@ var hr = class {
1529
1533
  }
1530
1534
  #S(e) {
1531
1535
  var t = W, n = V, r = E;
1532
- G(this.#i), U(this.#i), We(this.#i.ctx);
1536
+ G(this.#i), U(this.#i), Ue(this.#i.ctx);
1533
1537
  try {
1534
- return kt.ensure(), e();
1538
+ return Tt.ensure(), e();
1535
1539
  } finally {
1536
- G(t), U(n), We(r);
1540
+ G(t), U(n), Ue(r);
1537
1541
  }
1538
1542
  }
1539
1543
  #C(e, t) {
@@ -1541,13 +1545,13 @@ var hr = class {
1541
1545
  this.parent && this.parent.#C(e, t);
1542
1546
  return;
1543
1547
  }
1544
- this.#u += e, this.#u === 0 && (this.#x(t), this.#o && Dn(this.#o, () => {
1548
+ this.#u += e, this.#u === 0 && (this.#x(t), this.#o && Tn(this.#o, () => {
1545
1549
  this.#o = null;
1546
1550
  }), this.#c &&= (this.#e.before(this.#c), null));
1547
1551
  }
1548
1552
  update_pending_count(e, t) {
1549
- this.#C(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, Ze(() => {
1550
- this.#d = !1, this.#m && Ht(this.#m, this.#l);
1553
+ this.#C(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, Xe(() => {
1554
+ this.#d = !1, this.#m && Bt(this.#m, this.#l);
1551
1555
  }));
1552
1556
  }
1553
1557
  get_effect_pending() {
@@ -1560,7 +1564,7 @@ var hr = class {
1560
1564
  })) : this.#w(e);
1561
1565
  }
1562
1566
  #w(e) {
1563
- this.#a &&= (z(this.#a), null), this.#o &&= (z(this.#o), null), this.#s &&= (z(this.#s), null), C && (T(this.#t), De(), T(Oe()));
1567
+ this.#a &&= (z(this.#a), null), this.#o &&= (z(this.#o), null), this.#s &&= (z(this.#s), null), C && (T(this.#t), Ee(), T(De()));
1564
1568
  let t = this.#n.failed, n = (e) => {
1565
1569
  let { reset: n, invoke_onerror: r } = this.#v(e);
1566
1570
  r(), t && (this.#s = this.#S(() => {
@@ -1574,7 +1578,7 @@ var hr = class {
1574
1578
  }
1575
1579
  }));
1576
1580
  };
1577
- Ze(() => {
1581
+ Xe(() => {
1578
1582
  var t;
1579
1583
  try {
1580
1584
  t = this.transform_error(e);
@@ -1586,76 +1590,76 @@ var hr = class {
1586
1590
  });
1587
1591
  }
1588
1592
  };
1589
- function gr(e, t) {
1593
+ function mr(e, t) {
1590
1594
  var n = t == null ? "" : typeof t == "object" ? `${t}` : t;
1591
- n !== (e[ve] ??= e.nodeValue) && (e[ve] = n, e.nodeValue = `${n}`);
1595
+ n !== (e[_e] ??= e.nodeValue) && (e[_e] = n, e.nodeValue = `${n}`);
1592
1596
  }
1593
- function _r(e, t) {
1594
- return br(e, t);
1597
+ function hr(e, t) {
1598
+ return vr(e, t);
1595
1599
  }
1596
- function vr(t, n) {
1597
- Zt(), n.intro = n.intro ?? !1;
1600
+ function gr(t, n) {
1601
+ Yt(), n.intro = n.intro ?? !1;
1598
1602
  let r = n.target, i = C, a = w;
1599
1603
  try {
1600
1604
  for (var o = /* @__PURE__ */ P(r); o && (o.nodeType !== 8 || o.data !== "[");) o = /* @__PURE__ */ F(o);
1601
1605
  if (!o) throw e;
1602
- we(!0), T(o);
1603
- let i = br(t, {
1606
+ Ce(!0), T(o);
1607
+ let i = vr(t, {
1604
1608
  ...n,
1605
1609
  anchor: o
1606
1610
  });
1607
- return we(!1), i;
1611
+ return Ce(!1), i;
1608
1612
  } catch (i) {
1609
1613
  if (i instanceof Error && i.message.split("\n").some((e) => e.startsWith("https://svelte.dev/e/"))) throw i;
1610
- return i !== e && console.warn("Failed to hydrate: ", i), n.recover === !1 && Re(), Zt(), rn(r), we(!1), _r(t, n);
1614
+ return i !== e && console.warn("Failed to hydrate: ", i), n.recover === !1 && Le(), Yt(), tn(r), Ce(!1), hr(t, n);
1611
1615
  } finally {
1612
- we(i), T(a);
1616
+ Ce(i), T(a);
1613
1617
  }
1614
1618
  }
1615
- var yr = /* @__PURE__ */ new Map();
1616
- function br(t, { target: n, anchor: r, props: i = {}, events: a, context: o, intro: s = !0, transformError: l }) {
1617
- Zt();
1618
- var u = void 0, d = gn(() => {
1619
- var s = r ?? n.appendChild(Qt());
1620
- mr(s, { pending: () => {} }, (n) => {
1621
- Ge({});
1619
+ var _r = /* @__PURE__ */ new Map();
1620
+ function vr(t, { target: n, anchor: r, props: i = {}, events: a, context: o, intro: s = !0, transformError: l }) {
1621
+ Yt();
1622
+ var u = void 0, d = mn(() => {
1623
+ var s = r ?? n.appendChild(Xt());
1624
+ fr(s, { pending: () => {} }, (n) => {
1625
+ We({});
1622
1626
  var r = E;
1623
- if (o && (r.c = o), a && (i.$$events = a), C && sr(n, null), u = t(n, i) || qe(), C && (W.nodes.end = w, w === null || w.nodeType !== 8 || w.data !== "]")) throw Se(), e;
1624
- Ke();
1627
+ if (o && (r.c = o), a && (i.$$events = a), C && ar(n, null), u = t(n, i) || Ke(), C && (W.nodes.end = w, w === null || w.nodeType !== 8 || w.data !== "]")) throw xe(), e;
1628
+ Ge();
1625
1629
  }, l);
1626
1630
  var d = /* @__PURE__ */ new Set(), f = (e) => {
1627
1631
  for (var t = 0; t < e.length; t++) {
1628
1632
  var r = e[t];
1629
1633
  if (!d.has(r)) {
1630
1634
  d.add(r);
1631
- var i = dr(r);
1635
+ var i = lr(r);
1632
1636
  for (let e of [n, document]) {
1633
- var a = yr.get(e);
1634
- a === void 0 && (a = /* @__PURE__ */ new Map(), yr.set(e, a));
1637
+ var a = _r.get(e);
1638
+ a === void 0 && (a = /* @__PURE__ */ new Map(), _r.set(e, a));
1635
1639
  var o = a.get(r);
1636
- o === void 0 ? (e.addEventListener(r, rr, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
1640
+ o === void 0 ? (e.addEventListener(r, tr, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
1637
1641
  }
1638
1642
  }
1639
1643
  }
1640
1644
  };
1641
- return f(c($n)), er.add(f), () => {
1645
+ return f(c(Zn)), Qn.add(f), () => {
1642
1646
  for (var e of d) for (let r of [n, document]) {
1643
- var t = yr.get(r), i = t.get(e);
1644
- --i == 0 ? (r.removeEventListener(e, rr), t.delete(e), t.size === 0 && yr.delete(r)) : t.set(e, i);
1647
+ var t = _r.get(r), i = t.get(e);
1648
+ --i == 0 ? (r.removeEventListener(e, tr), t.delete(e), t.size === 0 && _r.delete(r)) : t.set(e, i);
1645
1649
  }
1646
- er.delete(f), s !== r && s.parentNode?.removeChild(s);
1650
+ Qn.delete(f), s !== r && s.parentNode?.removeChild(s);
1647
1651
  };
1648
1652
  });
1649
- return xr.set(u, d), u;
1653
+ return yr.set(u, d), u;
1650
1654
  }
1651
- var xr = /* @__PURE__ */ new WeakMap();
1652
- function Sr(e, t) {
1653
- let n = xr.get(e);
1654
- return n ? (xr.delete(e), n(t)) : Promise.resolve();
1655
+ var yr = /* @__PURE__ */ new WeakMap();
1656
+ function br(e, t) {
1657
+ let n = yr.get(e);
1658
+ return n ? (yr.delete(e), n(t)) : Promise.resolve();
1655
1659
  }
1656
1660
  //#endregion
1657
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/blocks/branches.js
1658
- var Cr = class {
1661
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/branches.js
1662
+ var xr = class {
1659
1663
  anchor;
1660
1664
  #e = /* @__PURE__ */ new Map();
1661
1665
  #t = /* @__PURE__ */ new Map();
@@ -1668,10 +1672,10 @@ var Cr = class {
1668
1672
  #a = (e) => {
1669
1673
  if (this.#e.has(e)) {
1670
1674
  var t = this.#e.get(e), n = this.#t.get(t);
1671
- if (n) kn(n), this.#r.delete(t);
1675
+ if (n) Dn(n), this.#r.delete(t);
1672
1676
  else {
1673
1677
  var r = this.#n.get(t);
1674
- r && (kn(r.effect), this.#t.set(t, r.effect), this.#n.delete(t), r.fragment.lastChild.remove(), this.anchor.before(r.fragment), n = r.effect);
1678
+ r && (Dn(r.effect), this.#t.set(t, r.effect), this.#n.delete(t), r.fragment.lastChild.remove(), this.anchor.before(r.fragment), n = r.effect);
1675
1679
  }
1676
1680
  for (let [t, n] of this.#e) {
1677
1681
  if (this.#e.delete(t), t === e) break;
@@ -1683,14 +1687,14 @@ var Cr = class {
1683
1687
  let i = () => {
1684
1688
  if (Array.from(this.#e.values()).includes(e)) {
1685
1689
  var t = document.createDocumentFragment();
1686
- jn(r, t), t.append(Qt()), this.#n.set(e, {
1690
+ kn(r, t), t.append(Xt()), this.#n.set(e, {
1687
1691
  effect: r,
1688
1692
  fragment: t
1689
1693
  });
1690
1694
  } else z(r);
1691
1695
  this.#r.delete(e), this.#t.delete(e);
1692
1696
  };
1693
- this.#i || !n ? (this.#r.add(e), Dn(r, i, !1)) : i();
1697
+ this.#i || !n ? (this.#r.add(e), Tn(r, i, !1)) : i();
1694
1698
  }
1695
1699
  }
1696
1700
  };
@@ -1700,9 +1704,9 @@ var Cr = class {
1700
1704
  for (let [e, n] of this.#n) t.includes(e) || (z(n.effect), this.#n.delete(e));
1701
1705
  };
1702
1706
  ensure(e, t) {
1703
- var n = O, r = an();
1707
+ var n = O, r = nn();
1704
1708
  if (t && !this.#t.has(e) && !this.#n.has(e)) if (r) {
1705
- var i = document.createDocumentFragment(), a = Qt();
1709
+ var i = document.createDocumentFragment(), a = Xt();
1706
1710
  i.append(a), this.#n.set(e, {
1707
1711
  effect: R(() => t(a)),
1708
1712
  fragment: i
@@ -1716,90 +1720,90 @@ var Cr = class {
1716
1720
  }
1717
1721
  };
1718
1722
  //#endregion
1719
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/blocks/if.js
1720
- function wr(e, t, n = !1) {
1723
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/blocks/if.js
1724
+ function Sr(e, t, n = !1) {
1721
1725
  var r;
1722
- C && (r = w, Te());
1723
- var i = new Cr(e), a = n ? ie : 0;
1726
+ C && (r = w, we());
1727
+ var i = new xr(e), a = n ? ie : 0;
1724
1728
  function o(e, t) {
1725
1729
  if (C) {
1726
- var n = ke(r);
1730
+ var n = Oe(r);
1727
1731
  if (e !== parseInt(n.substring(1))) {
1728
- var a = Oe();
1729
- T(a), i.anchor = a, we(!1), i.ensure(e, t), we(!0);
1732
+ var a = De();
1733
+ T(a), i.anchor = a, Ce(!1), i.ensure(e, t), Ce(!0);
1730
1734
  return;
1731
1735
  }
1732
1736
  }
1733
1737
  i.ensure(e, t);
1734
1738
  }
1735
- xn(() => {
1739
+ yn(() => {
1736
1740
  var e = !1;
1737
1741
  t((t, n = 0) => {
1738
1742
  e = !0, o(n, t);
1739
1743
  }), e || o(-1, null);
1740
1744
  }, a);
1741
1745
  }
1742
- function Tr(t, n, a = !1, o = !1, s = !1, c = !1) {
1746
+ function Cr(t, n, a = !1, o = !1, s = !1, c = !1) {
1743
1747
  var l = t, u = "";
1744
1748
  if (a) {
1745
1749
  var d = t;
1746
1750
  C && (l = T(/* @__PURE__ */ P(d)));
1747
1751
  }
1748
- bn(() => {
1752
+ vn(() => {
1749
1753
  var t = W;
1750
1754
  if (u === (u = n() ?? "")) {
1751
- C && Te();
1755
+ C && we();
1752
1756
  return;
1753
1757
  }
1754
1758
  if (a && !C) {
1755
- t.nodes = null, d.innerHTML = u, u !== "" && sr(/* @__PURE__ */ P(d), d.lastChild);
1759
+ t.nodes = null, d.innerHTML = u, u !== "" && ar(/* @__PURE__ */ P(d), d.lastChild);
1756
1760
  return;
1757
1761
  }
1758
- if (t.nodes !== null && (Tn(t.nodes.start, t.nodes.end), t.nodes = null), u !== "") {
1762
+ if (t.nodes !== null && (Cn(t.nodes.start, t.nodes.end), t.nodes = null), u !== "") {
1759
1763
  if (C) {
1760
- for (var c = w.data, f = Te(), p = f; f !== null && (f.nodeType !== 8 || f.data !== "");) p = f, f = /* @__PURE__ */ F(f);
1761
- if (f === null) throw Se(), e;
1762
- sr(w, p), l = T(f);
1764
+ for (var c = w.data, f = we(), p = f; f !== null && (f.nodeType !== 8 || f.data !== "");) p = f, f = /* @__PURE__ */ F(f);
1765
+ if (f === null) throw xe(), e;
1766
+ ar(w, p), l = T(f);
1763
1767
  return;
1764
1768
  }
1765
- var m = on(o ? "svg" : s ? "math" : "template", o ? r : s ? i : void 0);
1769
+ var m = rn(o ? "svg" : s ? "math" : "template", o ? r : s ? i : void 0);
1766
1770
  m.innerHTML = u;
1767
1771
  var h = o || s ? m : m.content;
1768
- if (sr(/* @__PURE__ */ P(h), h.lastChild), o || s) for (; /* @__PURE__ */ P(h);) l.before(/* @__PURE__ */ P(h));
1772
+ if (ar(/* @__PURE__ */ P(h), h.lastChild), o || s) for (; /* @__PURE__ */ P(h);) l.before(/* @__PURE__ */ P(h));
1769
1773
  else l.before(h);
1770
1774
  }
1771
1775
  });
1772
1776
  }
1773
1777
  //#endregion
1774
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/css.js
1775
- function Er(e, t) {
1776
- _n(() => {
1778
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/css.js
1779
+ function wr(e, t) {
1780
+ hn(() => {
1777
1781
  e = W?.parent?.nodes?.start ?? e;
1778
1782
  var n = e.getRootNode(), r = n.host ? n : n.head ?? n.ownerDocument.head;
1779
1783
  if (!r.querySelector("#" + t.hash)) {
1780
- let e = on("style");
1784
+ let e = rn("style");
1781
1785
  e.id = t.hash, e.textContent = t.code, r.appendChild(e);
1782
1786
  }
1783
1787
  });
1784
1788
  }
1785
1789
  //#endregion
1786
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/elements/attributes.js
1787
- var Dr = Symbol("is custom element"), Or = Symbol("is html"), kr = be ? "link" : "LINK";
1788
- function Ar(e, t, n, r) {
1789
- var i = jr(e);
1790
- C && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === kr) || i[t] !== (i[t] = n) && (t === "loading" && (e[me] = n), n == null ? e.removeAttribute(t) : typeof n != "string" && Nr(e).has(t) ? e[t] = n : e.setAttribute(t, n));
1791
- }
1792
- function jr(e) {
1793
- return e[he] ??= {
1794
- [Dr]: e.nodeName.includes("-"),
1795
- [Or]: e.namespaceURI === n
1790
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/attributes.js
1791
+ var Tr = Symbol("is custom element"), Er = Symbol("is html"), Dr = ye ? "link" : "LINK";
1792
+ function Or(e, t, n, r) {
1793
+ var i = kr(e);
1794
+ C && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === Dr) || i[t] !== (i[t] = n) && (t === "loading" && (e[pe] = n), n == null ? e.removeAttribute(t) : typeof n != "string" && jr(e).has(t) ? e[t] = n : e.setAttribute(t, n));
1795
+ }
1796
+ function kr(e) {
1797
+ return e[me] ??= {
1798
+ [Tr]: e.nodeName.includes("-"),
1799
+ [Er]: e.namespaceURI === n
1796
1800
  };
1797
1801
  }
1798
- var Mr = /* @__PURE__ */ new Map();
1799
- function Nr(e) {
1800
- var t = e.getAttribute("is") || e.nodeName, n = Mr.get(t);
1802
+ var Ar = /* @__PURE__ */ new Map();
1803
+ function jr(e) {
1804
+ var t = e.getAttribute("is") || e.nodeName, n = Ar.get(t);
1801
1805
  if (n) return n;
1802
- Mr.set(t, n = /* @__PURE__ */ new Set());
1806
+ Ar.set(t, n = /* @__PURE__ */ new Set());
1803
1807
  for (var r, i = e, a = Element.prototype; a !== i;) {
1804
1808
  for (var o in r = f(i), r) r[o].set && o !== "innerHTML" && o !== "textContent" && o !== "innerText" && n.add(o);
1805
1809
  i = h(i);
@@ -1807,23 +1811,23 @@ function Nr(e) {
1807
1811
  return n;
1808
1812
  }
1809
1813
  //#endregion
1810
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
1811
- function Pr(e, t) {
1812
- return e === t || e?.[de] === t;
1814
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
1815
+ function Mr(e, t) {
1816
+ return e === t || e?.[ue] === t;
1813
1817
  }
1814
- function Fr(e = qe(), t, n, r) {
1818
+ function Nr(e = Ke(), t, n, r) {
1815
1819
  var i = E.r, a = W;
1816
- return _n(() => {
1820
+ return hn(() => {
1817
1821
  var o, s;
1818
- return yn(() => {
1819
- o = s, s = r?.() || [], Zn(() => {
1820
- Pr(n(...s), e) || (t(e, ...s), o && Pr(n(...o), e) && t(null, ...o));
1822
+ return _n(() => {
1823
+ o = s, s = r?.() || [], Yn(() => {
1824
+ Mr(n(...s), e) || (t(e, ...s), o && Mr(n(...o), e) && t(null, ...o));
1821
1825
  });
1822
1826
  }), () => {
1823
1827
  let r = a;
1824
1828
  for (; r !== i && r.parent !== null && r.parent.f & 33554432;) r = r.parent;
1825
1829
  let o = () => {
1826
- s && Pr(n(...s), e) && t(null, ...s);
1830
+ s && Mr(n(...s), e) && t(null, ...s);
1827
1831
  }, c = r.teardown;
1828
1832
  r.teardown = () => {
1829
1833
  o(), c?.();
@@ -1832,16 +1836,27 @@ function Fr(e = qe(), t, n, r) {
1832
1836
  }), e;
1833
1837
  }
1834
1838
  //#endregion
1835
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/internal/client/reactivity/props.js
1839
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/store.js
1840
+ var Pr = !1;
1841
+ function Fr(e) {
1842
+ var t = Pr;
1843
+ try {
1844
+ return Pr = !1, [e(), Pr];
1845
+ } finally {
1846
+ Pr = t;
1847
+ }
1848
+ }
1849
+ //#endregion
1850
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/internal/client/reactivity/props.js
1836
1851
  function Ir(e, t, n, r) {
1837
- var i = !0, a = (n & 8) != 0, o = (n & 16) != 0, s = r, c = !0, l = void 0, u = () => o && i ? (l ??= /* @__PURE__ */ ut(r), X(l)) : (c && (c = !1, s = o ? Zn(r) : r), s);
1852
+ var i = !0, a = (n & 8) != 0, o = (n & 16) != 0, s = r, c = !0, l = void 0, u = () => o && i ? (l ??= /* @__PURE__ */ ot(r), X(l)) : (c && (c = !1, s = o ? Yn(r) : r), s);
1838
1853
  let f;
1839
1854
  if (a) {
1840
- var p = de in e || pe in e;
1855
+ var p = ue in e || fe in e;
1841
1856
  f = d(e, t)?.set ?? (p && t in e ? (n) => e[t] = n : void 0);
1842
1857
  }
1843
1858
  var m, h = !1;
1844
- a ? [m, h] = it(() => e[t]) : m = e[t], m === void 0 && r !== void 0 && (m = u(), f && (i && ze(t), f(m)));
1859
+ a ? [m, h] = Fr(() => e[t]) : m = e[t], m === void 0 && r !== void 0 && (m = u(), f && (i && Re(t), f(m)));
1845
1860
  var g = i ? () => {
1846
1861
  var n = e[t];
1847
1862
  return n === void 0 ? u() : (c = !0, n);
@@ -1856,19 +1871,19 @@ function Ir(e, t, n, r) {
1856
1871
  return arguments.length > 0 ? ((!i || !t || ee || h) && f(t ? g() : e), e) : g();
1857
1872
  });
1858
1873
  }
1859
- var _ = !1, v = (n & 1 ? ut : mt)(() => (_ = !1, g()));
1874
+ var _ = !1, v = (n & 1 ? ot : ut)(() => (_ = !1, g()));
1860
1875
  a && X(v);
1861
1876
  var y = W;
1862
1877
  return (function(e, t) {
1863
1878
  if (arguments.length > 0) {
1864
- let n = t ? X(v) : i && a ? Kt(e) : e;
1879
+ let n = t ? X(v) : i && a ? Wt(e) : e;
1865
1880
  return N(v, n), _ = !0, s !== void 0 && (s = n), e;
1866
1881
  }
1867
1882
  return B && _ || y.f & 16384 ? v.v : X(v);
1868
1883
  });
1869
1884
  }
1870
1885
  //#endregion
1871
- //#region ../../../node_modules/.bun/svelte@5.57.0/node_modules/svelte/src/legacy/legacy-client.js
1886
+ //#region ../../../node_modules/.bun/svelte@5.57.1/node_modules/svelte/src/legacy/legacy-client.js
1872
1887
  function Lr(e) {
1873
1888
  return new Rr(e);
1874
1889
  }
@@ -1877,7 +1892,7 @@ var Rr = class {
1877
1892
  #t;
1878
1893
  constructor(e) {
1879
1894
  var t = /* @__PURE__ */ new Map(), n = (e, n) => {
1880
- var r = /* @__PURE__ */ Vt(n, !1, !1);
1895
+ var r = /* @__PURE__ */ Lt(n, !1, !1);
1881
1896
  return t.set(e, r), r;
1882
1897
  };
1883
1898
  let r = new Proxy({
@@ -1888,13 +1903,13 @@ var Rr = class {
1888
1903
  return X(t.get(r) ?? n(r, Reflect.get(e, r)));
1889
1904
  },
1890
1905
  has(e, r) {
1891
- return r === pe ? !0 : (X(t.get(r) ?? n(r, Reflect.get(e, r))), Reflect.has(e, r));
1906
+ return r === fe ? !0 : (X(t.get(r) ?? n(r, Reflect.get(e, r))), Reflect.has(e, r));
1892
1907
  },
1893
1908
  set(e, r, i) {
1894
1909
  return N(t.get(r) ?? n(r, i), i), Reflect.set(e, r, i);
1895
1910
  }
1896
1911
  });
1897
- this.#t = (e.hydrate ? vr : _r)(e.component, {
1912
+ this.#t = (e.hydrate ? gr : hr)(e.component, {
1898
1913
  target: e.target,
1899
1914
  anchor: e.anchor,
1900
1915
  props: r,
@@ -1902,7 +1917,7 @@ var Rr = class {
1902
1917
  intro: e.intro ?? !1,
1903
1918
  recover: e.recover,
1904
1919
  transformError: e.transformError
1905
- }), (!e?.props?.$$host || e.sync === !1) && At(), this.#e = r.$$events;
1920
+ }), (!e?.props?.$$host || e.sync === !1) && Et(), this.#e = r.$$events;
1906
1921
  for (let e of Object.keys(this.#t)) e === "$set" || e === "$destroy" || e === "$on" || u(this, e, {
1907
1922
  get() {
1908
1923
  return this.#t[e];
@@ -1915,7 +1930,7 @@ var Rr = class {
1915
1930
  this.#t.$set = (e) => {
1916
1931
  Object.assign(r, e);
1917
1932
  }, this.#t.$destroy = () => {
1918
- Sr(this.#t);
1933
+ br(this.#t);
1919
1934
  };
1920
1935
  }
1921
1936
  $set(e) {
@@ -1965,8 +1980,8 @@ typeof HTMLElement == "function" && (zr = class extends HTMLElement {
1965
1980
  if (await Promise.resolve(), !this.$$cn || this.$$c) return;
1966
1981
  function e(e) {
1967
1982
  return (t) => {
1968
- let n = on("slot");
1969
- e !== "default" && (n.name = e), lr(t, n);
1983
+ let n = rn("slot");
1984
+ e !== "default" && (n.name = e), sr(t, n);
1970
1985
  };
1971
1986
  }
1972
1987
  let t = {}, n = Vr(this);
@@ -1984,8 +1999,8 @@ typeof HTMLElement == "function" && (zr = class extends HTMLElement {
1984
1999
  $$slots: t,
1985
2000
  $$host: this
1986
2001
  }
1987
- }), this.$$me = hn(() => {
1988
- yn(() => {
2002
+ }), this.$$me = pn(() => {
2003
+ _n(() => {
1989
2004
  this.$$r = !0;
1990
2005
  for (let e of l(this.$$c)) {
1991
2006
  if (!this.$$p_d[e]?.reflect) continue;
@@ -2248,24 +2263,20 @@ function Di() {
2248
2263
  let e = window[Si];
2249
2264
  return typeof e?.renderMath == "function" ? e : null;
2250
2265
  }
2251
- function Oi() {
2252
- let e = qr();
2253
- e && Kr("legacy-renderer-delegation", `window['${Si}'] renders this element's math with MathJax ${e}`);
2254
- }
2255
- var ki = async (e) => {
2266
+ var Oi = async (e) => {
2256
2267
  if (typeof window > "u") return;
2257
2268
  let t = typeof e == "string", n;
2258
2269
  t ? (n = document.createElement("div"), n.innerHTML = e) : n = e || document.body;
2259
2270
  let r = Di();
2260
- return r ? (Oi(), await r.renderMath?.(n)) : await Ei()(n), t ? n.innerHTML : void 0;
2261
- }, Ai = [
2271
+ return r ? await r.renderMath?.(n) : await Ei()(n), t ? n.innerHTML : void 0;
2272
+ }, ki = [
2262
2273
  "nbsp iexcl cent pound curren yen brvbar sect uml copy ordf laquo not shy reg macr",
2263
2274
  "deg plusmn sup2 sup3 acute micro para middot cedil sup1 ordm raquo frac14 frac12 frac34 iquest",
2264
2275
  "Agrave Aacute Acirc Atilde Auml Aring AElig Ccedil Egrave Eacute Ecirc Euml Igrave Iacute Icirc Iuml",
2265
2276
  "ETH Ntilde Ograve Oacute Ocirc Otilde Ouml times Oslash Ugrave Uacute Ucirc Uuml Yacute THORN szlig",
2266
2277
  "agrave aacute acirc atilde auml aring aelig ccedil egrave eacute ecirc euml igrave iacute icirc iuml",
2267
2278
  "eth ntilde ograve oacute ocirc otilde ouml divide oslash ugrave uacute ucirc uuml yacute thorn yuml"
2268
- ].join(" "), ji = "alpha beta gamma delta epsilon zeta eta theta iota kappa lambda mu nu xi omicron pi rho sigmaf sigma tau upsilon phi chi psi omega", Mi = new Map(Object.entries({
2279
+ ].join(" "), Ai = "alpha beta gamma delta epsilon zeta eta theta iota kappa lambda mu nu xi omicron pi rho sigmaf sigma tau upsilon phi chi psi omega", ji = new Map(Object.entries({
2269
2280
  quot: 34,
2270
2281
  amp: 38,
2271
2282
  apos: 39,
@@ -2296,16 +2307,16 @@ var ki = async (e) => {
2296
2307
  le: 8804,
2297
2308
  ge: 8805
2298
2309
  }));
2299
- for (let [e, t] of Ai.split(" ").entries()) Mi.set(t, 160 + e);
2300
- for (let [e, t] of ji.split(" ").entries()) Mi.set(t, 945 + e), t !== "sigmaf" && Mi.set(t[0].toUpperCase() + t.slice(1), 913 + e);
2301
- var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<\/?[a-z][^>]*>|<!--[\s\S]*?-->/gi, Fi = /&(#[0-9]+|#x[0-9a-f]+|[a-z][a-z0-9]*);/gi, Ii = (e, t) => {
2310
+ for (let [e, t] of ki.split(" ").entries()) ji.set(t, 160 + e);
2311
+ for (let [e, t] of Ai.split(" ").entries()) ji.set(t, 945 + e), t !== "sigmaf" && ji.set(t[0].toUpperCase() + t.slice(1), 913 + e);
2312
+ var Mi = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Ni = /<\/?[a-z][^>]*>|<!--[\s\S]*?-->/gi, Pi = /&(#[0-9]+|#x[0-9a-f]+|[a-z][a-z0-9]*);/gi, Fi = (e, t) => {
2302
2313
  if (t[0] === "#") {
2303
2314
  let e = t[1] === "x" || t[1] === "X", n = Number.parseInt(t.slice(e ? 2 : 1), e ? 16 : 10), r = n > 0 && n <= 1114111 && (n < 55296 || n > 57343);
2304
2315
  return String.fromCodePoint(r ? n : 65533);
2305
2316
  }
2306
- let n = Mi.get(t);
2317
+ let n = ji.get(t);
2307
2318
  return n === void 0 ? e : String.fromCodePoint(n);
2308
- }, Li = (e) => typeof e == "string" ? e.replace(Ni, " ").replace(Pi, "").replace(Fi, Ii).replace(/\s+/g, " ").trim() : "", Ri = {
2319
+ }, Ii = (e) => typeof e == "string" ? e.replace(Mi, " ").replace(Ni, "").replace(Pi, Fi).replace(/\s+/g, " ").trim() : "", Li = {
2309
2320
  translation: {
2310
2321
  categorize: {
2311
2322
  limitMaxChoicesPerCategory: "You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.",
@@ -2445,7 +2456,7 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2445
2456
  hideNote: "Hide Note",
2446
2457
  cancel: "Cancel"
2447
2458
  }
2448
- }, zi = {
2459
+ }, Ri = {
2449
2460
  translation: {
2450
2461
  categorize: {
2451
2462
  limitMaxChoicesPerCategory: "Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.",
@@ -2585,55 +2596,55 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2585
2596
  hideNote: "Ocultar Nota",
2586
2597
  cancel: "Cancelar"
2587
2598
  }
2588
- }, Z = (e) => typeof e == "string", Bi = () => {
2599
+ }, Z = (e) => typeof e == "string", zi = () => {
2589
2600
  let e, t, n = new Promise((n, r) => {
2590
2601
  e = n, t = r;
2591
2602
  });
2592
2603
  return n.resolve = e, n.reject = t, n;
2593
- }, Vi = (e) => e == null ? "" : "" + e, Hi = (e, t, n) => {
2604
+ }, Bi = (e) => e == null ? "" : "" + e, Vi = (e, t, n) => {
2594
2605
  e.forEach((e) => {
2595
2606
  t[e] && (n[e] = t[e]);
2596
2607
  });
2597
- }, Ui = /###/g, Wi = (e) => e && e.indexOf("###") > -1 ? e.replace(Ui, ".") : e, Gi = (e) => !e || Z(e), Ki = (e, t, n) => {
2608
+ }, Hi = /###/g, Ui = (e) => e && e.indexOf("###") > -1 ? e.replace(Hi, ".") : e, Wi = (e) => !e || Z(e), Gi = (e, t, n) => {
2598
2609
  let r = Z(t) ? t.split(".") : t, i = 0;
2599
2610
  for (; i < r.length - 1;) {
2600
- if (Gi(e)) return {};
2601
- let t = Wi(r[i]);
2611
+ if (Wi(e)) return {};
2612
+ let t = Ui(r[i]);
2602
2613
  !e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i;
2603
2614
  }
2604
- return Gi(e) ? {} : {
2615
+ return Wi(e) ? {} : {
2605
2616
  obj: e,
2606
- k: Wi(r[i])
2617
+ k: Ui(r[i])
2607
2618
  };
2608
- }, qi = (e, t, n) => {
2609
- let { obj: r, k: i } = Ki(e, t, Object);
2619
+ }, Ki = (e, t, n) => {
2620
+ let { obj: r, k: i } = Gi(e, t, Object);
2610
2621
  if (r !== void 0 || t.length === 1) {
2611
2622
  r[i] = n;
2612
2623
  return;
2613
2624
  }
2614
- let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = Ki(e, o, Object);
2615
- for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = Ki(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
2625
+ let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = Gi(e, o, Object);
2626
+ for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = Gi(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0);
2616
2627
  s.obj[`${s.k}.${a}`] = n;
2617
- }, Ji = (e, t, n, r) => {
2618
- let { obj: i, k: a } = Ki(e, t, Object);
2628
+ }, qi = (e, t, n, r) => {
2629
+ let { obj: i, k: a } = Gi(e, t, Object);
2619
2630
  i[a] = i[a] || [], i[a].push(n);
2620
- }, Yi = (e, t) => {
2621
- let { obj: n, k: r } = Ki(e, t);
2631
+ }, Ji = (e, t) => {
2632
+ let { obj: n, k: r } = Gi(e, t);
2622
2633
  if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r];
2634
+ }, Yi = (e, t, n) => {
2635
+ let r = Ji(e, n);
2636
+ return r === void 0 ? Ji(t, n) : r;
2623
2637
  }, Xi = (e, t, n) => {
2624
- let r = Yi(e, n);
2625
- return r === void 0 ? Yi(t, n) : r;
2626
- }, Zi = (e, t, n) => {
2627
- for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? Z(e[r]) || e[r] instanceof String || Z(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Zi(e[r], t[r], n) : e[r] = t[r]);
2638
+ for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? Z(e[r]) || e[r] instanceof String || Z(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : Xi(e[r], t[r], n) : e[r] = t[r]);
2628
2639
  return e;
2629
- }, Qi = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), $i = {
2640
+ }, Zi = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), Qi = {
2630
2641
  "&": "&amp;",
2631
2642
  "<": "&lt;",
2632
2643
  ">": "&gt;",
2633
2644
  "\"": "&quot;",
2634
2645
  "'": "&#39;",
2635
2646
  "/": "&#x2F;"
2636
- }, ea = (e) => Z(e) ? e.replace(/[&<>"'\/]/g, (e) => $i[e]) : e, ta = class {
2647
+ }, $i = (e) => Z(e) ? e.replace(/[&<>"'\/]/g, (e) => Qi[e]) : e, ea = class {
2637
2648
  constructor(e) {
2638
2649
  this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
2639
2650
  }
@@ -2643,23 +2654,23 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2643
2654
  let n = new RegExp(e);
2644
2655
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
2645
2656
  }
2646
- }, na = [
2657
+ }, ta = [
2647
2658
  " ",
2648
2659
  ",",
2649
2660
  "?",
2650
2661
  "!",
2651
2662
  ";"
2652
- ], ra = new ta(20), ia = (e, t, n) => {
2663
+ ], na = new ea(20), ra = (e, t, n) => {
2653
2664
  t ||= "", n ||= "";
2654
- let r = na.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
2665
+ let r = ta.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0);
2655
2666
  if (r.length === 0) return !0;
2656
- let i = ra.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
2667
+ let i = na.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e);
2657
2668
  if (!a) {
2658
2669
  let t = e.indexOf(n);
2659
2670
  t > 0 && !i.test(e.substring(0, t)) && (a = !0);
2660
2671
  }
2661
2672
  return a;
2662
- }, aa = (e, t, n = ".") => {
2673
+ }, ia = (e, t, n = ".") => {
2663
2674
  if (!e) return;
2664
2675
  if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
2665
2676
  let r = t.split(n), i = e;
@@ -2678,7 +2689,7 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2678
2689
  i = t;
2679
2690
  }
2680
2691
  return i;
2681
- }, oa = (e) => e?.replace(/_/g, "-"), sa = {
2692
+ }, aa = (e) => e?.replace(/_/g, "-"), oa = {
2682
2693
  type: "logger",
2683
2694
  log(e) {
2684
2695
  this.output("log", e);
@@ -2697,7 +2708,7 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2697
2708
  this.init(e, t);
2698
2709
  }
2699
2710
  init(e, t = {}) {
2700
- this.prefix = t.prefix || "i18next:", this.logger = e || sa, this.options = t, this.debug = t.debug;
2711
+ this.prefix = t.prefix || "i18next:", this.logger = e || oa, this.options = t, this.debug = t.debug;
2701
2712
  }
2702
2713
  log(...e) {
2703
2714
  return this.forward(e, "log", "", !0);
@@ -2723,7 +2734,7 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2723
2734
  clone(t) {
2724
2735
  return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t);
2725
2736
  }
2726
- }(), ca = class {
2737
+ }(), sa = class {
2727
2738
  constructor() {
2728
2739
  this.observers = {};
2729
2740
  }
@@ -2750,7 +2761,7 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2750
2761
  for (let i = 0; i < r; i++) n.apply(n, [e, ...t]);
2751
2762
  });
2752
2763
  }
2753
- }, la = class extends ca {
2764
+ }, ca = class extends sa {
2754
2765
  constructor(e, t = {
2755
2766
  ns: ["translation"],
2756
2767
  defaultNS: "translation"
@@ -2767,12 +2778,12 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2767
2778
  getResource(e, t, n, r = {}) {
2768
2779
  let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o;
2769
2780
  e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : Z(n) && i ? o.push(...n.split(i)) : o.push(n)));
2770
- let s = Yi(this.data, o);
2771
- return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !Z(n) ? s : aa(this.data?.[e]?.[t], n, i);
2781
+ let s = Ji(this.data, o);
2782
+ return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !Z(n) ? s : ia(this.data?.[e]?.[t], n, i);
2772
2783
  }
2773
2784
  addResource(e, t, n, r, i = { silent: !1 }) {
2774
2785
  let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t];
2775
- n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), qi(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
2786
+ n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Ki(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
2776
2787
  }
2777
2788
  addResources(e, t, n, r = { silent: !1 }) {
2778
2789
  for (let r in n) (Z(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 });
@@ -2784,11 +2795,11 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2784
2795
  }) {
2785
2796
  let o = [e, t];
2786
2797
  e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
2787
- let s = Yi(this.data, o) || {};
2788
- a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? Zi(s, n, i) : s = {
2798
+ let s = Ji(this.data, o) || {};
2799
+ a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? Xi(s, n, i) : s = {
2789
2800
  ...s,
2790
2801
  ...n
2791
- }, qi(this.data, o, s), a.silent || this.emit("added", e, t, n);
2802
+ }, Ki(this.data, o, s), a.silent || this.emit("added", e, t, n);
2792
2803
  }
2793
2804
  removeResourceBundle(e, t) {
2794
2805
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2809,7 +2820,7 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2809
2820
  toJSON() {
2810
2821
  return this.data;
2811
2822
  }
2812
- }, ua = {
2823
+ }, la = {
2813
2824
  processors: {},
2814
2825
  addPostProcessor(e) {
2815
2826
  this.processors[e.name] = e;
@@ -2819,22 +2830,22 @@ var Ni = /<\/?(?:br|p|div|li|h[1-6]|blockquote|pre|tr|td|th)\b[^>]*>/gi, Pi = /<
2819
2830
  t = this.processors[e]?.process(t, n, r, i) ?? t;
2820
2831
  }), t;
2821
2832
  }
2822
- }, da = Symbol("i18next/PATH_KEY");
2823
- function fa() {
2833
+ }, ua = Symbol("i18next/PATH_KEY");
2834
+ function da() {
2824
2835
  let e = [], t = Object.create(null), n;
2825
- return t.get = (r, i) => (n?.revoke?.(), i === da ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
2836
+ return t.get = (r, i) => (n?.revoke?.(), i === ua ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
2826
2837
  }
2827
- function pa(e, t) {
2828
- let { [da]: n } = e(fa()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
2838
+ function fa(e, t) {
2839
+ let { [ua]: n } = e(da()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":";
2829
2840
  if (n.length > 1 && i) {
2830
2841
  let e = t?.ns, a = Array.isArray(e) ? e : null;
2831
2842
  if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`;
2832
2843
  }
2833
2844
  return n.join(r);
2834
2845
  }
2835
- var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number", ga = class e extends ca {
2846
+ var pa = {}, ma = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number", ha = class e extends sa {
2836
2847
  constructor(e, t = {}) {
2837
- super(), Hi([
2848
+ super(), Vi([
2838
2849
  "resourceStore",
2839
2850
  "languageUtils",
2840
2851
  "pluralResolver",
@@ -2852,13 +2863,13 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
2852
2863
  if (e == null) return !1;
2853
2864
  let r = this.resolve(e, n);
2854
2865
  if (r?.res === void 0) return !1;
2855
- let i = ha(r.res);
2866
+ let i = ma(r.res);
2856
2867
  return !(n.returnObjects === !1 && i);
2857
2868
  }
2858
2869
  extractFromKey(e, t) {
2859
2870
  let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator;
2860
2871
  n === void 0 && (n = ":");
2861
- let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ia(e, n, r);
2872
+ let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !ra(e, n, r);
2862
2873
  if (a && !o) {
2863
2874
  let t = e.match(this.interpolator.nestingRegexp);
2864
2875
  if (t && t.length > 0) return {
@@ -2876,10 +2887,10 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
2876
2887
  translate(t, n, r) {
2877
2888
  let i = typeof n == "object" ? { ...n } : n;
2878
2889
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
2879
- typeof t == "function" && (t = pa(t, {
2890
+ typeof t == "function" && (t = fa(t, {
2880
2891
  ...this.options,
2881
2892
  ...i
2882
- })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? pa(e, {
2893
+ })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? fa(e, {
2883
2894
  ...this.options,
2884
2895
  ...i
2885
2896
  }) : String(e));
@@ -2907,7 +2918,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
2907
2918
  "[object RegExp]"
2908
2919
  ], _ = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, v = !this.i18nFormat || this.i18nFormat.handleAsObject, y = i.count !== void 0 && !Z(i.count), b = e.hasDefaultValue(i), te = y ? this.pluralResolver.getSuffix(d, i.count, i) : "", ne = i.ordinal && y ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", re = y && !i.ordinal && i.count === 0, x = re && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${te}`] || i[`defaultValue${ne}`] || i.defaultValue, S = m;
2909
2920
  v && !m && b && (S = x);
2910
- let ie = ha(S), ae = Object.prototype.toString.apply(S);
2921
+ let ie = ma(S), ae = Object.prototype.toString.apply(S);
2911
2922
  if (v && S && ie && ee.indexOf(ae) < 0 && !(Z(_) && Array.isArray(S))) {
2912
2923
  if (!i.returnObjects && !this.options.returnObjects) {
2913
2924
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -2923,7 +2934,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
2923
2934
  let r = `${n}${o}${e}`;
2924
2935
  b && !m ? t[e] = this.translate(r, {
2925
2936
  ...i,
2926
- defaultValue: ha(x) ? x[e] : void 0,
2937
+ defaultValue: ma(x) ? x[e] : void 0,
2927
2938
  joinArrays: !1,
2928
2939
  ns: c
2929
2940
  }) : t[e] = this.translate(r, {
@@ -2994,7 +3005,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
2994
3005
  !n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
2995
3006
  }
2996
3007
  let a = n.postProcess || this.options.postProcess, o = Z(a) ? [a] : a;
2997
- return e != null && o?.length && n.applyPostProcessor !== !1 && (e = ua.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
3008
+ return e != null && o?.length && n.applyPostProcessor !== !1 && (e = la.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
2998
3009
  i18nResolved: {
2999
3010
  ...r,
3000
3011
  usedParams: this.getUsedParamsDetails(n)
@@ -3004,7 +3015,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3004
3015
  }
3005
3016
  resolve(e, t = {}) {
3006
3017
  let n, r, i, a, o;
3007
- return Z(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? pa(e, {
3018
+ return Z(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? fa(e, {
3008
3019
  ...this.options,
3009
3020
  ...t
3010
3021
  }) : e)), e.forEach((e) => {
@@ -3015,7 +3026,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3015
3026
  this.options.fallbackNS && (l = l.concat(this.options.fallbackNS));
3016
3027
  let u = t.count !== void 0 && !Z(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (Z(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
3017
3028
  l.forEach((e) => {
3018
- this.isValidLookup(n) || (o = e, !ma[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (ma[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
3029
+ this.isValidLookup(n) || (o = e, !pa[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (pa[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => {
3019
3030
  if (this.isValidLookup(n)) return;
3020
3031
  a = r;
3021
3032
  let o = [c];
@@ -3078,17 +3089,17 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3078
3089
  for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
3079
3090
  return !1;
3080
3091
  }
3081
- }, _a = class {
3092
+ }, ga = class {
3082
3093
  constructor(e) {
3083
3094
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Q.create("languageUtils");
3084
3095
  }
3085
3096
  getScriptPartFromCode(e) {
3086
- if (e = oa(e), !e || e.indexOf("-") < 0) return null;
3097
+ if (e = aa(e), !e || e.indexOf("-") < 0) return null;
3087
3098
  let t = e.split("-");
3088
3099
  return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
3089
3100
  }
3090
3101
  getLanguagePartFromCode(e) {
3091
- if (e = oa(e), !e || e.indexOf("-") < 0) return e;
3102
+ if (e = aa(e), !e || e.indexOf("-") < 0) return e;
3092
3103
  let t = e.split("-");
3093
3104
  return this.formatLanguageCode(t[0]);
3094
3105
  }
@@ -3138,17 +3149,17 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3138
3149
  r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
3139
3150
  }), r;
3140
3151
  }
3141
- }, va = {
3152
+ }, _a = {
3142
3153
  zero: 0,
3143
3154
  one: 1,
3144
3155
  two: 2,
3145
3156
  few: 3,
3146
3157
  many: 4,
3147
3158
  other: 5
3148
- }, ya = {
3159
+ }, va = {
3149
3160
  select: (e) => e === 1 ? "one" : "other",
3150
3161
  resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
3151
- }, ba = class {
3162
+ }, ya = class {
3152
3163
  constructor(e, t = {}) {
3153
3164
  this.languageUtils = e, this.options = t, this.logger = Q.create("pluralResolver"), this.pluralRulesCache = {};
3154
3165
  }
@@ -3156,7 +3167,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3156
3167
  this.pluralRulesCache = {};
3157
3168
  }
3158
3169
  getRule(e, t = {}) {
3159
- let n = oa(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
3170
+ let n = aa(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({
3160
3171
  cleanedCode: n,
3161
3172
  type: r
3162
3173
  });
@@ -3165,8 +3176,8 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3165
3176
  try {
3166
3177
  a = new Intl.PluralRules(n, { type: r });
3167
3178
  } catch {
3168
- if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), ya;
3169
- if (!e.match(/-|_/)) return ya;
3179
+ if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), va;
3180
+ if (!e.match(/-|_/)) return va;
3170
3181
  let n = this.languageUtils.getLanguagePartFromCode(e);
3171
3182
  a = this.getRule(n, t);
3172
3183
  }
@@ -3181,23 +3192,23 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3181
3192
  }
3182
3193
  getSuffixes(e, t = {}) {
3183
3194
  let n = this.getRule(e, t);
3184
- return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => va[e] - va[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
3195
+ return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => _a[e] - _a[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
3185
3196
  }
3186
3197
  getSuffix(e, t, n = {}) {
3187
3198
  let r = this.getRule(e, n);
3188
3199
  return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
3189
3200
  }
3190
- }, xa = (e, t, n, r = ".", i = !0) => {
3191
- let a = Xi(e, t, n);
3192
- return !a && i && Z(n) && (a = aa(e, n, r), a === void 0 && (a = aa(t, n, r))), a;
3193
- }, Sa = (e) => e.replace(/\$/g, "$$$$"), Ca = class {
3201
+ }, ba = (e, t, n, r = ".", i = !0) => {
3202
+ let a = Yi(e, t, n);
3203
+ return !a && i && Z(n) && (a = ia(e, n, r), a === void 0 && (a = ia(t, n, r))), a;
3204
+ }, xa = (e) => e.replace(/\$/g, "$$$$"), Sa = class {
3194
3205
  constructor(e = {}) {
3195
3206
  this.logger = Q.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
3196
3207
  }
3197
3208
  init(e = {}) {
3198
3209
  e.interpolation ||= { escapeValue: !0 };
3199
3210
  let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: ee } = e.interpolation;
3200
- this.escape = t === void 0 ? ea : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Qi(i) : a || "{{", this.suffix = o ? Qi(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? Qi(d) : f || Qi("$t("), this.nestingSuffix = p ? Qi(p) : m || Qi(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = ee !== void 0 && ee, this.resetRegExp();
3211
+ this.escape = t === void 0 ? $i : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && r, this.prefix = i ? Zi(i) : a || "{{", this.suffix = o ? Zi(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? Zi(d) : f || Zi("$t("), this.nestingSuffix = p ? Zi(p) : m || Zi(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = ee !== void 0 && ee, this.resetRegExp();
3201
3212
  }
3202
3213
  reset() {
3203
3214
  this.options && this.init(this.options);
@@ -3209,7 +3220,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3209
3220
  interpolate(e, t, n, r) {
3210
3221
  let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => {
3211
3222
  if (e.indexOf(this.formatSeparator) < 0) {
3212
- let i = xa(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
3223
+ let i = ba(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure);
3213
3224
  return this.alwaysFormat ? this.format(i, void 0, n, {
3214
3225
  ...r,
3215
3226
  ...t,
@@ -3217,7 +3228,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3217
3228
  }) : i;
3218
3229
  }
3219
3230
  let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
3220
- return this.format(xa(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
3231
+ return this.format(ba(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
3221
3232
  ...r,
3222
3233
  ...t,
3223
3234
  interpolationkey: a
@@ -3227,10 +3238,10 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3227
3238
  let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
3228
3239
  return [{
3229
3240
  regex: this.regexpUnescape,
3230
- safeValue: (e) => Sa(e)
3241
+ safeValue: (e) => xa(e)
3231
3242
  }, {
3232
3243
  regex: this.regexp,
3233
- safeValue: (e) => this.escapeValue ? Sa(this.escape(e)) : Sa(e)
3244
+ safeValue: (e) => this.escapeValue ? xa(this.escape(e)) : xa(e)
3234
3245
  }].forEach((t) => {
3235
3246
  for (o = 0; i = t.regex.exec(e);) {
3236
3247
  let n = i[1].trim();
@@ -3242,7 +3253,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3242
3253
  a = i[0];
3243
3254
  continue;
3244
3255
  } else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = "";
3245
- else !Z(a) && !this.useRawValueToEscape && (a = Vi(a));
3256
+ else !Z(a) && !this.useRawValueToEscape && (a = Bi(a));
3246
3257
  let s = t.safeValue(a);
3247
3258
  if (e = e.replace(i[0], s), u ? (t.regex.lastIndex += a.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break;
3248
3259
  }
@@ -3252,7 +3263,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3252
3263
  let r, i, a, o = (e, t) => {
3253
3264
  let n = this.nestingOptionsSeparator;
3254
3265
  if (e.indexOf(n) < 0) return e;
3255
- let r = e.split(RegExp(`${Qi(n)}[ ]*{`)), i = `{${r[1]}`;
3266
+ let r = e.split(RegExp(`${Zi(n)}[ ]*{`)), i = `{${r[1]}`;
3256
3267
  e = r[0], i = this.interpolate(i, a);
3257
3268
  let o = i.match(/'/g), s = i.match(/"/g);
3258
3269
  ((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\""));
@@ -3271,14 +3282,14 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3271
3282
  a = { ...n }, a = a.replace && !Z(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue;
3272
3283
  let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator);
3273
3284
  if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !Z(i)) return i;
3274
- Z(i) || (i = Vi(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
3285
+ Z(i) || (i = Bi(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, {
3275
3286
  ...n,
3276
3287
  interpolationkey: r[1].trim()
3277
3288
  }), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0;
3278
3289
  }
3279
3290
  return e;
3280
3291
  }
3281
- }, wa = (e) => {
3292
+ }, Ca = (e) => {
3282
3293
  let t = e.toLowerCase().trim(), n = {};
3283
3294
  if (e.indexOf("(") > -1) {
3284
3295
  let r = e.split("(");
@@ -3295,7 +3306,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3295
3306
  formatName: t,
3296
3307
  formatOptions: n
3297
3308
  };
3298
- }, Ta = (e) => {
3309
+ }, wa = (e) => {
3299
3310
  let t = {};
3300
3311
  return (n, r, i) => {
3301
3312
  let a = i;
@@ -3304,15 +3315,15 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3304
3315
  [i.interpolationkey]: void 0
3305
3316
  });
3306
3317
  let o = r + JSON.stringify(a), s = t[o];
3307
- return s || (s = e(oa(r), i), t[o] = s), s(n);
3318
+ return s || (s = e(aa(r), i), t[o] = s), s(n);
3308
3319
  };
3309
- }, Ea = (e) => (t, n, r) => e(oa(n), r)(t), Da = class {
3320
+ }, Ta = (e) => (t, n, r) => e(aa(n), r)(t), Ea = class {
3310
3321
  constructor(e = {}) {
3311
3322
  this.logger = Q.create("formatter"), this.options = e, this.init(e);
3312
3323
  }
3313
3324
  init(e, t = { interpolation: {} }) {
3314
3325
  this.formatSeparator = t.interpolation.formatSeparator || ",";
3315
- let n = t.cacheInBuiltFormats ? Ta : Ea;
3326
+ let n = t.cacheInBuiltFormats ? wa : Ta;
3316
3327
  this.formats = {
3317
3328
  number: n((e, t) => {
3318
3329
  let n = new Intl.NumberFormat(e, { ...t });
@@ -3343,7 +3354,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3343
3354
  this.formats[e.toLowerCase().trim()] = t;
3344
3355
  }
3345
3356
  addCached(e, t) {
3346
- this.formats[e.toLowerCase().trim()] = Ta(t);
3357
+ this.formats[e.toLowerCase().trim()] = wa(t);
3347
3358
  }
3348
3359
  format(e, t, n, r = {}) {
3349
3360
  let i = t.split(this.formatSeparator);
@@ -3352,7 +3363,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3352
3363
  i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
3353
3364
  }
3354
3365
  return i.reduce((e, t) => {
3355
- let { formatName: i, formatOptions: a } = wa(t);
3366
+ let { formatName: i, formatOptions: a } = Ca(t);
3356
3367
  if (this.formats[i]) {
3357
3368
  let t = e;
3358
3369
  try {
@@ -3370,9 +3381,9 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3370
3381
  return e;
3371
3382
  }, e);
3372
3383
  }
3373
- }, Oa = (e, t) => {
3384
+ }, Da = (e, t) => {
3374
3385
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
3375
- }, ka = class extends ca {
3386
+ }, Oa = class extends sa {
3376
3387
  constructor(e, t, n, r = {}) {
3377
3388
  super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = Q.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
3378
3389
  }
@@ -3402,7 +3413,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3402
3413
  t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
3403
3414
  let o = {};
3404
3415
  this.queue.forEach((n) => {
3405
- Ji(n.loaded, [i], a), Oa(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
3416
+ qi(n.loaded, [i], a), Da(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
3406
3417
  o[e] || (o[e] = {});
3407
3418
  let t = n.loaded[e];
3408
3419
  t.length && t.forEach((t) => {
@@ -3492,7 +3503,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3492
3503
  !e || !e[0] || this.store.addResource(e[0], t, n, r);
3493
3504
  }
3494
3505
  }
3495
- }, Aa = () => ({
3506
+ }, ka = () => ({
3496
3507
  debug: !1,
3497
3508
  initAsync: !0,
3498
3509
  ns: ["translation"],
@@ -3549,15 +3560,15 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3549
3560
  skipOnVariables: !0
3550
3561
  },
3551
3562
  cacheInBuiltFormats: !0
3552
- }), ja = (e) => (Z(e.ns) && (e.ns = [e.ns]), Z(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Z(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), Ma = () => {}, Na = (e) => {
3563
+ }), Aa = (e) => (Z(e.ns) && (e.ns = [e.ns]), Z(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Z(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), ja = () => {}, Ma = (e) => {
3553
3564
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
3554
3565
  typeof e[t] == "function" && (e[t] = e[t].bind(e));
3555
3566
  });
3556
- }, Pa = "__i18next_supportNoticeShown", Fa = () => !!(typeof globalThis < "u" && globalThis[Pa] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), Ia = () => {
3557
- typeof globalThis < "u" && (globalThis[Pa] = !0);
3558
- }, La = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), $ = class e extends ca {
3567
+ }, Na = "__i18next_supportNoticeShown", Pa = () => !!(typeof globalThis < "u" && globalThis[Na] || typeof process < "u" && process.env && process.env.I18NEXT_NO_SUPPORT_NOTICE || typeof process < "u" && process.env), Fa = () => {
3568
+ typeof globalThis < "u" && (globalThis[Na] = !0);
3569
+ }, Ia = (e) => !!(e?.modules?.backend?.name?.indexOf("Locize") > 0 || e?.modules?.backend?.constructor?.name?.indexOf("Locize") > 0 || e?.options?.backend?.backends && e.options.backend.backends.some((e) => e?.name?.indexOf("Locize") > 0 || e?.constructor?.name?.indexOf("Locize") > 0) || e?.options?.backend?.projectId || e?.options?.backend?.backendOptions && e.options.backend.backendOptions.some((e) => e?.projectId)), $ = class e extends sa {
3559
3570
  constructor(e = {}, t) {
3560
- if (super(), this.options = ja(e), this.services = {}, this.logger = Q, this.modules = { external: [] }, Na(this), t && !this.isInitialized && !e.isClone) {
3571
+ if (super(), this.options = Aa(e), this.services = {}, this.logger = Q, this.modules = { external: [] }, Ma(this), t && !this.isInitialized && !e.isClone) {
3561
3572
  if (!this.options.initAsync) return this.init(e, t), this;
3562
3573
  setTimeout(() => {
3563
3574
  this.init(e, t);
@@ -3566,35 +3577,35 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3566
3577
  }
3567
3578
  init(e = {}, t) {
3568
3579
  this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (Z(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
3569
- let n = Aa();
3580
+ let n = ka();
3570
3581
  this.options = {
3571
3582
  ...n,
3572
3583
  ...this.options,
3573
- ...ja(e)
3584
+ ...Aa(e)
3574
3585
  }, this.options.interpolation = {
3575
3586
  ...n.interpolation,
3576
3587
  ...this.options.interpolation
3577
- }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !La(this) && !Fa() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), Ia());
3588
+ }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler), this.options.showSupportNotice !== !1 && !Ia(this) && !Pa() && (typeof console < "u" && console.info !== void 0 && console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"), Fa());
3578
3589
  let r = (e) => e ? typeof e == "function" ? new e() : e : null;
3579
3590
  if (!this.options.isClone) {
3580
3591
  this.modules.logger ? Q.init(r(this.modules.logger), this.options) : Q.init(null, this.options);
3581
3592
  let e;
3582
- e = this.modules.formatter ? this.modules.formatter : Da;
3583
- let t = new _a(this.options);
3584
- this.store = new la(this.options.resources, this.options);
3593
+ e = this.modules.formatter ? this.modules.formatter : Ea;
3594
+ let t = new ga(this.options);
3595
+ this.store = new ca(this.options.resources, this.options);
3585
3596
  let i = this.services;
3586
- i.logger = Q, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new ba(t, {
3597
+ i.logger = Q, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new ya(t, {
3587
3598
  prepend: this.options.pluralSeparator,
3588
3599
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3589
- }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new Ca(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new ka(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
3600
+ }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new Sa(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new Oa(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
3590
3601
  this.emit(e, ...t);
3591
- }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new ga(this.services, this.options), this.translator.on("*", (e, ...t) => {
3602
+ }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new ha(this.services, this.options), this.translator.on("*", (e, ...t) => {
3592
3603
  this.emit(e, ...t);
3593
3604
  }), this.modules.external.forEach((e) => {
3594
3605
  e.init && e.init(this);
3595
3606
  });
3596
3607
  }
3597
- if (this.format = this.options.interpolation.format, t ||= Ma, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
3608
+ if (this.format = this.options.interpolation.format, t ||= ja, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
3598
3609
  let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
3599
3610
  e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
3600
3611
  }
@@ -3613,7 +3624,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3613
3624
  ].forEach((e) => {
3614
3625
  this[e] = (...t) => (this.store[e](...t), this);
3615
3626
  });
3616
- let i = Bi(), a = () => {
3627
+ let i = zi(), a = () => {
3617
3628
  let e = (e, n) => {
3618
3629
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), i.resolve(n), t(e, n);
3619
3630
  };
@@ -3622,7 +3633,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3622
3633
  };
3623
3634
  return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
3624
3635
  }
3625
- loadResources(e, t = Ma) {
3636
+ loadResources(e, t = ja) {
3626
3637
  let n = t, r = Z(e) ? e : this.language;
3627
3638
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
3628
3639
  if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
@@ -3637,15 +3648,15 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3637
3648
  } else n(null);
3638
3649
  }
3639
3650
  reloadResources(e, t, n) {
3640
- let r = Bi();
3641
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= Ma, this.services.backendConnector.reload(e, t, (e) => {
3651
+ let r = zi();
3652
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= ja, this.services.backendConnector.reload(e, t, (e) => {
3642
3653
  r.resolve(), n(e);
3643
3654
  }), r;
3644
3655
  }
3645
3656
  use(e) {
3646
3657
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3647
3658
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3648
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && ua.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3659
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && la.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3649
3660
  }
3650
3661
  setResolvedLanguage(e) {
3651
3662
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -3661,7 +3672,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3661
3672
  }
3662
3673
  changeLanguage(e, t) {
3663
3674
  this.isLanguageChangingTo = e;
3664
- let n = Bi();
3675
+ let n = zi();
3665
3676
  this.emit("languageChanging", e);
3666
3677
  let r = (e) => {
3667
3678
  this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e);
@@ -3684,9 +3695,9 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3684
3695
  ...this.options,
3685
3696
  ...a
3686
3697
  };
3687
- typeof a.keyPrefix == "function" && (a.keyPrefix = pa(a.keyPrefix, o));
3698
+ typeof a.keyPrefix == "function" && (a.keyPrefix = fa(a.keyPrefix, o));
3688
3699
  let s = this.options.keySeparator || ".", c;
3689
- return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = pa(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = pa(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
3700
+ return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = fa(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = fa(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a);
3690
3701
  };
3691
3702
  return Z(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r;
3692
3703
  }
@@ -3715,7 +3726,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3715
3726
  return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e)));
3716
3727
  }
3717
3728
  loadNamespaces(e, t) {
3718
- let n = Bi();
3729
+ let n = zi();
3719
3730
  return this.options.ns ? (Z(e) && (e = [e]), e.forEach((e) => {
3720
3731
  this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
3721
3732
  }), this.loadResources((e) => {
@@ -3723,7 +3734,7 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3723
3734
  }), n) : (t && t(), Promise.resolve());
3724
3735
  }
3725
3736
  loadLanguages(e, t) {
3726
- let n = Bi();
3737
+ let n = zi();
3727
3738
  Z(e) && (e = [e]);
3728
3739
  let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e));
3729
3740
  return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => {
@@ -3739,14 +3750,14 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3739
3750
  if (e && e.direction) return e.direction;
3740
3751
  }
3741
3752
  } catch {}
3742
- let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new _a(Aa());
3753
+ let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new ga(ka());
3743
3754
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3744
3755
  }
3745
3756
  static createInstance(t = {}, n) {
3746
3757
  let r = new e(t, n);
3747
3758
  return r.createInstance = e.createInstance, r;
3748
3759
  }
3749
- cloneInstance(t = {}, n = Ma) {
3760
+ cloneInstance(t = {}, n = ja) {
3750
3761
  let r = t.forkResourceStore;
3751
3762
  r && delete t.forkResourceStore;
3752
3763
  let i = {
@@ -3760,18 +3771,18 @@ var ma = {}, ha = (e) => !Z(e) && typeof e != "boolean" && typeof e != "number",
3760
3771
  "language"
3761
3772
  ].forEach((e) => {
3762
3773
  a[e] = this[e];
3763
- }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new la(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
3774
+ }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new ca(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation) {
3764
3775
  let e = {
3765
- ...Aa().interpolation,
3776
+ ...ka().interpolation,
3766
3777
  ...this.options.interpolation,
3767
3778
  ...t.interpolation
3768
3779
  }, n = {
3769
3780
  ...i,
3770
3781
  interpolation: e
3771
3782
  };
3772
- a.services.interpolator = new Ca(n);
3783
+ a.services.interpolator = new Sa(n);
3773
3784
  }
3774
- return a.translator = new ga(a.services, i), a.translator.on("*", (e, ...t) => {
3785
+ return a.translator = new ha(a.services, i), a.translator.on("*", (e, ...t) => {
3775
3786
  a.emit(e, ...t);
3776
3787
  }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
3777
3788
  }
@@ -3792,13 +3803,13 @@ $.createInstance, $.dir, $.init, $.loadResources, $.reloadResources, $.use, $.ch
3792
3803
  lng: "en",
3793
3804
  showSupportNotice: !1,
3794
3805
  resources: {
3795
- en: Ri,
3796
- es: zi
3806
+ en: Li,
3807
+ es: Ri
3797
3808
  }
3798
3809
  });
3799
3810
  //#endregion
3800
3811
  //#region src/i18n.ts
3801
- var { translator: Ra } = {
3812
+ var { translator: La } = {
3802
3813
  translator: {
3803
3814
  ...$,
3804
3815
  t: (e, t) => {
@@ -3830,23 +3841,23 @@ var { translator: Ra } = {
3830
3841
  label: "Spanish"
3831
3842
  }]
3832
3843
  };
3833
- function za(e, t) {
3834
- return Ra.t(`translation:simpleCloze:${e}`, { lng: t });
3844
+ function Ra(e, t) {
3845
+ return La.t(`translation:simpleCloze:${e}`, { lng: t });
3835
3846
  }
3836
3847
  //#endregion
3837
3848
  //#region src/print/Print.svelte
3838
- var Ba = /* @__PURE__ */ cr("<div class=\"simple-cloze-print-teacher-instructions svelte-1fx5wwa\"></div>"), Va = /* @__PURE__ */ cr("<div class=\"simple-cloze-print-prompt svelte-1fx5wwa\"></div>"), Ha = /* @__PURE__ */ cr("<span class=\"simple-cloze-print-key-label svelte-1fx5wwa\"> </span> <span class=\"simple-cloze-print-blank simple-cloze-print-blank--key svelte-1fx5wwa\"> </span>", 1), Ua = /* @__PURE__ */ cr("<span class=\"simple-cloze-print-blank svelte-1fx5wwa\" role=\"img\"></span>"), Wa = /* @__PURE__ */ cr("<div class=\"simple-cloze-print svelte-1fx5wwa\"><!> <!> <div class=\"simple-cloze-print-response svelte-1fx5wwa\"><!></div></div>"), Ga = {
3849
+ var za = /* @__PURE__ */ or("<div class=\"simple-cloze-print-teacher-instructions svelte-1fx5wwa\"></div>"), Ba = /* @__PURE__ */ or("<div class=\"simple-cloze-print-prompt svelte-1fx5wwa\"></div>"), Va = /* @__PURE__ */ or("<span class=\"simple-cloze-print-key-label svelte-1fx5wwa\"> </span> <span class=\"simple-cloze-print-blank simple-cloze-print-blank--key svelte-1fx5wwa\"> </span>", 1), Ha = /* @__PURE__ */ or("<span class=\"simple-cloze-print-blank svelte-1fx5wwa\" role=\"img\"></span>"), Ua = /* @__PURE__ */ or("<div class=\"simple-cloze-print svelte-1fx5wwa\"><!> <!> <div class=\"simple-cloze-print-response svelte-1fx5wwa\"><!></div></div>"), Wa = {
3839
3850
  hash: "svelte-1fx5wwa",
3840
3851
  code: "\n /* Self-contained: print players ship no Tailwind or CSS reset. */.simple-cloze-print.svelte-1fx5wwa {padding:1rem;color:var(--pie-text, black);}.simple-cloze-print-teacher-instructions.svelte-1fx5wwa,\n .simple-cloze-print-prompt.svelte-1fx5wwa {margin-bottom:1rem;}.simple-cloze-print-teacher-instructions.svelte-1fx5wwa p,\n .simple-cloze-print-prompt.svelte-1fx5wwa p {margin:0.5em 0;}.simple-cloze-print-prompt.svelte-1fx5wwa strong {font-weight:600;}.simple-cloze-print-response.svelte-1fx5wwa {display:inline-flex;align-items:baseline;gap:0.5rem;}.simple-cloze-print-key-label.svelte-1fx5wwa {font-size:0.875rem;line-height:1.25rem;font-weight:600;}.simple-cloze-print-blank.svelte-1fx5wwa {display:inline-block;min-width:12rem;min-height:1.5rem;padding:0.5rem 0.75rem;border-bottom:2px solid var(--pie-text, black);}.simple-cloze-print-blank--key.svelte-1fx5wwa {min-width:6rem;font-weight:600;}\n\n @media print {.simple-cloze-print.svelte-1fx5wwa {padding:0;}\n }"
3841
3852
  };
3842
- function Ka(e, t) {
3843
- Ge(t, !0), Er(e, Ga);
3844
- let n = Ir(t, "model", 7, null), r = Ir(t, "options", 7, null), i = /* @__PURE__ */ pt(() => r()?.role === "instructor"), a = /* @__PURE__ */ pt(() => n()?.promptEnabled !== !1 && typeof n()?.prompt == "string" ? n().prompt : ""), o = /* @__PURE__ */ pt(() => Li(n()?.correctAnswer)), s = /* @__PURE__ */ pt(() => X(i) && !!X(o)), c = /* @__PURE__ */ pt(() => X(i) && n()?.teacherInstructionsEnabled !== !1 && n()?.teacherInstructions || ""), l = /* @__PURE__ */ M(null);
3845
- pn(() => {
3853
+ function Ga(e, t) {
3854
+ We(t, !0), wr(e, Wa);
3855
+ let n = Ir(t, "model", 7, null), r = Ir(t, "options", 7, null), i = /* @__PURE__ */ lt(() => r()?.role === "instructor"), a = /* @__PURE__ */ lt(() => n()?.promptEnabled !== !1 && typeof n()?.prompt == "string" ? n().prompt : ""), o = /* @__PURE__ */ lt(() => Ii(n()?.correctAnswer)), s = /* @__PURE__ */ lt(() => X(i) && !!X(o)), c = /* @__PURE__ */ lt(() => X(i) && n()?.teacherInstructionsEnabled !== !1 && n()?.teacherInstructions || ""), l = /* @__PURE__ */ M(null);
3856
+ dn(() => {
3846
3857
  if (!X(l) || !X(a)) return;
3847
3858
  let e = (e) => console.warn("simple-cloze: MathJax render failed", e);
3848
3859
  try {
3849
- Promise.resolve(ki(X(l))).catch(e);
3860
+ Promise.resolve(Oi(X(l))).catch(e);
3850
3861
  } catch (t) {
3851
3862
  e(t);
3852
3863
  }
@@ -3856,49 +3867,49 @@ function Ka(e, t) {
3856
3867
  return n();
3857
3868
  },
3858
3869
  set model(e = null) {
3859
- n(e), At();
3870
+ n(e), Et();
3860
3871
  },
3861
3872
  get options() {
3862
3873
  return r();
3863
3874
  },
3864
3875
  set options(e = null) {
3865
- r(e), At();
3876
+ r(e), Et();
3866
3877
  }
3867
- }, d = Wa(), f = $t(d), p = (e) => {
3868
- var t = Ba();
3869
- Tr(t, () => X(c), !0), Ee(t), lr(e, t);
3878
+ }, d = Ua(), f = Zt(d), p = (e) => {
3879
+ var t = za();
3880
+ Cr(t, () => X(c), !0), Te(t), sr(e, t);
3870
3881
  };
3871
- wr(f, (e) => {
3882
+ Sr(f, (e) => {
3872
3883
  X(c) && e(p);
3873
3884
  });
3874
- var m = nn(f, 2), h = (e) => {
3875
- var t = Va();
3876
- Tr(t, () => X(a), !0), Ee(t), Fr(t, (e) => N(l, e), () => X(l)), lr(e, t);
3885
+ var m = en(f, 2), h = (e) => {
3886
+ var t = Ba();
3887
+ Cr(t, () => X(a), !0), Te(t), Nr(t, (e) => N(l, e), () => X(l)), sr(e, t);
3877
3888
  };
3878
- wr(m, (e) => {
3889
+ Sr(m, (e) => {
3879
3890
  X(a) && e(h);
3880
3891
  });
3881
- var g = nn(m, 2), ee = $t(g), _ = (e) => {
3882
- var t = Ha(), r = en(t), i = tn(r, !0), a = tn(nn(r, 2), !0);
3883
- bn((e) => {
3884
- gr(i, e), gr(a, X(o));
3885
- }, [() => za("printCorrectAnswer", n()?.language)]), lr(e, t);
3892
+ var g = en(m, 2), ee = Zt(g), _ = (e) => {
3893
+ var t = Va(), r = Qt(t), i = $t(r, !0), a = $t(en(r, 2), !0);
3894
+ vn((e) => {
3895
+ mr(i, e), mr(a, X(o));
3896
+ }, [() => Ra("printCorrectAnswer", n()?.language)]), sr(e, t);
3886
3897
  }, v = (e) => {
3887
- var t = Ua();
3888
- bn((e) => Ar(t, "aria-label", e), [() => za("printAnswerBlank", n()?.language)]), lr(e, t);
3898
+ var t = Ha();
3899
+ vn((e) => Or(t, "aria-label", e), [() => Ra("printAnswerBlank", n()?.language)]), sr(e, t);
3889
3900
  };
3890
- return wr(ee, (e) => {
3901
+ return Sr(ee, (e) => {
3891
3902
  X(s) ? e(_) : e(v, -1);
3892
- }), Ee(g), Ee(d), lr(e, d), Ke(u);
3903
+ }), Te(g), Te(d), sr(e, d), Ge(u);
3893
3904
  }
3894
- Hr(Ka, {
3905
+ Hr(Ga, {
3895
3906
  model: { type: "Object" },
3896
3907
  options: { type: "Object" }
3897
3908
  }, [], []);
3898
3909
  //#endregion
3899
3910
  //#region src/print/index.ts
3900
- var qa = Ka.element;
3911
+ var Ka = Ga.element;
3901
3912
  //#endregion
3902
- export { qa as default };
3913
+ export { Ka as default };
3903
3914
 
3904
3915
  //# sourceMappingURL=print.js.map