@nil-/xit 0.1.17 → 0.1.20

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.
@@ -1,46 +1,46 @@
1
- var Yt = Object.defineProperty;
2
- var tt = (e) => {
1
+ var qt = Object.defineProperty;
2
+ var rt = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var jt = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
- var O = (e, t, r) => jt(e, typeof t != "symbol" ? t + "" : t, r), Ce = (e, t, r) => t.has(e) || tt("Cannot " + r);
7
- var A = (e, t, r) => (Ce(e, t, "read from private field"), r ? r.call(e) : t.get(e)), W = (e, t, r) => t.has(e) ? tt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), fe = (e, t, r, s) => (Ce(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r), rt = (e, t, r) => (Ce(e, t, "access private method"), r);
8
- import { h as $, H as Kt, f as Ye, i as yt, F as V, j as Gt, d as Q, k as J, E as de, g as T, l as R, m as x, p as Te, q as ge, v as Ut, w as je, x as Vt, y as Jt, z as xe, A as Pe, B as Wt, C as Xt, D as Zt, U as De, G as L, I as wt, J as Qt, K as oe, L as F, M as se, N as ne, O as ye, P as st, Q as G, R as B, S as Et, T as Me, V as U, W as X, a as mt, b as N, X as z, Y as K, Z as At, _ as Nt, $ as Tt, a0 as Re, a1 as ee, a2 as Ke, a3 as Ge, a4 as er, a5 as tr, a6 as xt, a7 as rr, a8 as sr, a9 as St, aa as nr, ab as ir, ac as Be, ad as ar, ae as fr, af as P, u as q, ag as kt, ah as ur, ai as Fe, aj as or, ak as nt, al as cr, am as lr, an as _r, ao as dr, ap as vr, aq as hr, ar as br, as as te, n as Y, at as pr, au as $r, av as gr, aw as Ct, ax as Rt, ay as ie, az as Ot, aA as yr, aB as it, aC as wr, r as at, aD as qe, s as Se, aE as Er, aF as mr, aG as It, aH as Ar, aI as Nr, aJ as Tr, aK as ft, aL as xr, aM as Sr, aN as kr, aO as Cr, aP as Rr, aQ as Or, aR as Ir, aS as Lr, aT as Pr, aU as Dr, aV as Mr, aW as Br, aX as Fr, aY as qr, aZ as zr, a_ as ze, a$ as Hr, b0 as we, e as Yr, b1 as jr, b2 as Kr, b3 as Gr, b4 as Ur, b5 as Vr } from "../index.js";
9
- import { b6 as oi, b7 as ci, ba as li, bf as _i, bK as di, bl as vi, bF as hi, bO as bi, c as pi, bS as $i, bg as gi, bC as yi, bP as wi, bL as Ei, bG as mi, bH as Ai, bJ as Ni, be as Ti, bi as xi, bQ as Si, bA as ki, bs as Ci, bt as Ri, b9 as Oi, b8 as Ii, bo as Li, bv as Pi, bw as Di, bj as Mi, bm as Bi, bD as Fi, bE as qi, bh as zi, bk as Hi, bz as Yi, bI as ji, by as Ki, bM as Gi, bb as Ui, bc as Vi, bx as Ji, bR as Wi, bn as Xi, bp as Zi, bu as Qi, bq as ea, br as ta, t as ra, bB as sa, bN as na, bd as ia } from "../index.js";
10
- import { l as Jr } from "../motion.js";
11
- import { r as fa } from "../motion.js";
12
- import { s as Wr } from "../store.js";
13
- var ut = /* @__PURE__ */ new Map();
14
- function ws(e) {
15
- var t = ut.get(e);
5
+ var zt = (e, t, r) => t in e ? qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
+ var R = (e, t, r) => zt(e, typeof t != "symbol" ? t + "" : t, r), Oe = (e, t, r) => t.has(e) || rt("Cannot " + r);
7
+ var A = (e, t, r) => (Oe(e, t, "read from private field"), r ? r.call(e) : t.get(e)), W = (e, t, r) => t.has(e) ? rt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), ae = (e, t, r, s) => (Oe(e, t, "write to private field"), s ? s.call(e, r) : t.set(e, r), r), st = (e, t, r) => (Oe(e, t, "access private method"), r);
8
+ import { h as g, H as Ht, f as He, i as gt, F as Y, j as jt, d as ee, k as V, E as _e, g as S, l as O, m as k, p as Ne, q as ge, v as Yt, w as je, x as Kt, y as Ut, z as xe, A as Pe, B as Gt, C as Vt, D as Jt, U as Me, G as L, I as Wt, J as ue, K, L as U, M as se, N as it, O as H, P as D, Q as yt, R as De, S as j, T as Z, a as wt, b as x, V as J, W as X, X as mt, Y as At, Z as Et, _ as be, $ as G, a0 as Ye, a1 as Ke, a2 as Xt, a3 as Zt, a4 as Qt, a5 as Ue, a6 as er, a7 as Te, a8 as tr, a9 as Nt, aa as rr, ab as sr, ac as Be, ad as ir, ae as nr, af as P, u as B, ag as xt, ah as ar, ai as fr, aj as Fe, ak as ur, al as nt, am as or, an as lr, ao as cr, ap as _r, aq as dr, ar as vr, as as hr, at as br, au as te, n as q, av as pr, aw as $r, ax as gr, ay as C, az as de, aA as Tt, aB as ie, aC as kt, aD as St, aE as yr, aF as at, aG as wr, r as ft, aH as Ct, s as ke, aI as mr, aJ as Ot, aK as Ar, aL as Er, aM as Nr, aN as ut, aO as xr, aP as Tr, aQ as kr, aR as Sr, aS as Cr, aT as Or, aU as Rr, aV as Ir, aW as Lr, aX as Pr, aY as Mr, aZ as Dr, a_ as Br, a$ as qe, b0 as Fr, b1 as ye, e as qr, b2 as zr, b3 as Hr, b4 as jr, b5 as Yr, b6 as Kr } from "../index.js";
9
+ import { b7 as nn, b8 as an, bb as fn, bg as un, bN as on, bn as ln, bI as cn, bu as _n, bR as dn, c as vn, bV as hn, bh as bn, bF as pn, bS as $n, bO as gn, bJ as yn, bK as wn, bM as mn, bf as An, bk as En, bT as Nn, bD as xn, bv as Tn, bw as kn, ba as Sn, b9 as Cn, bq as On, by as Rn, bz as In, bl as Ln, bo as Pn, bG as Mn, bH as Dn, bj as Bn, bi as Fn, bm as qn, bC as zn, bL as Hn, bB as jn, bP as Yn, bc as Kn, bd as Un, bA as Gn, bU as Vn, bp as Jn, br as Wn, bx as Xn, bs as Zn, bt as Qn, t as ea, bE as ta, bQ as ra, be as sa } from "../index.js";
10
+ import { l as Ur } from "../motion.js";
11
+ import { r as na } from "../motion.js";
12
+ import { s as Gr } from "../store.js";
13
+ var ot = /* @__PURE__ */ new Map();
14
+ function $s(e) {
15
+ var t = ot.get(e);
16
16
  if (t) {
17
17
  for (const r of t)
18
18
  r.remove();
19
- ut.delete(e);
19
+ ot.delete(e);
20
20
  }
21
21
  }
22
- function Es(e, t, r) {
22
+ function gs(e, t, r) {
23
23
  return (...s) => {
24
- const n = e(...s);
25
- var i = $ ? n : n.nodeType === 11 ? n.firstChild : n;
26
- return Lt(i, t, r), n;
24
+ const i = e(...s);
25
+ var n = g ? i : i.nodeType === 11 ? i.firstChild : i;
26
+ return Rt(n, t, r), i;
27
27
  };
28
28
  }
29
- function Xr(e, t, r) {
29
+ function Vr(e, t, r) {
30
30
  e.__svelte_meta = {
31
31
  loc: { file: t, line: r[0], column: r[1] }
32
- }, r[2] && Lt(e.firstChild, t, r[2]);
32
+ }, r[2] && Rt(e.firstChild, t, r[2]);
33
33
  }
34
- function Lt(e, t, r) {
35
- for (var s = 0, n = 0; e && s < r.length; ) {
36
- if ($ && e.nodeType === 8) {
37
- var i = (
34
+ function Rt(e, t, r) {
35
+ for (var s = 0, i = 0; e && s < r.length; ) {
36
+ if (g && e.nodeType === 8) {
37
+ var n = (
38
38
  /** @type {Comment} */
39
39
  e
40
40
  );
41
- i.data === Kt || i.data === Ye ? n += 1 : i.data[0] === yt && (n -= 1);
41
+ n.data === Ht || n.data === He ? i += 1 : n.data[0] === gt && (i -= 1);
42
42
  }
43
- n === 0 && e.nodeType === 1 && Xr(
43
+ i === 0 && e.nodeType === 1 && Vr(
44
44
  /** @type {Element} */
45
45
  e,
46
46
  t,
@@ -48,45 +48,45 @@ function Lt(e, t, r) {
48
48
  ), e = e.nextSibling;
49
49
  }
50
50
  }
51
- function ms(e, t) {
52
- function r(s, n) {
53
- let i = {}, a, f = !1;
54
- return J(() => {
55
- const c = t(), u = T(c);
51
+ function ys(e, t) {
52
+ function r(s, i) {
53
+ let n = {}, a, f = !1;
54
+ return V(() => {
55
+ const o = t(), u = S(o);
56
56
  if (a) {
57
- for (var l in i) delete i[l];
58
- Te(a);
57
+ for (var l in n) delete n[l];
58
+ Ne(a);
59
59
  }
60
- a = R(() => {
60
+ a = O(() => {
61
61
  f && ge(!1), Object.defineProperties(
62
- i,
62
+ n,
63
63
  Object.getOwnPropertyDescriptors(
64
64
  // @ts-expect-error
65
- new.target ? new u(s, n) : u(s, n)
65
+ new.target ? new u(s, i) : u(s, i)
66
66
  )
67
67
  ), f && ge(!0);
68
68
  });
69
- }, de), f = !0, $ && (s = x), i;
69
+ }, _e), f = !0, g && (s = k), n;
70
70
  }
71
- return r[V] = e[V], r[Gt] = {
71
+ return r[Y] = e[Y], r[jt] = {
72
72
  // When we accept an update, we set the original source to the new component
73
73
  original: e,
74
74
  // The `get_source` parameter reads `wrapper[HMR].source`, but in the `accept`
75
75
  // function we always replace it with `previous[HMR].source`, which in practice
76
76
  // means we only ever update the original
77
- source: Q(e)
77
+ source: ee(e)
78
78
  }, r;
79
79
  }
80
- function As(e) {
81
- e && Ut(e[V] ?? "a component", e.name);
80
+ function ws(e) {
81
+ e && Yt(e[Y] ?? "a component", e.name);
82
82
  }
83
- function Ns() {
83
+ function ms() {
84
84
  var r;
85
85
  const e = (r = je) == null ? void 0 : r.function;
86
86
  function t(s) {
87
- var i;
88
- const n = ((i = Vt()) == null ? void 0 : i[V]) ?? "Something";
89
- Jt(n, s, e[V]);
87
+ var n;
88
+ const i = ((n = Kt()) == null ? void 0 : n[Y]) ?? "Something";
89
+ Ut(i, s, e[Y]);
90
90
  }
91
91
  return {
92
92
  $destroy: () => t("$destroy()"),
@@ -94,16 +94,16 @@ function Ns() {
94
94
  $set: () => t("$set(...)")
95
95
  };
96
96
  }
97
- function Zr(e) {
97
+ function Jr(e) {
98
98
  console.warn("dynamic_void_element_content");
99
99
  }
100
- function Pt(e, t = !1) {
100
+ function It(e, t = !1) {
101
101
  return pe(e, /* @__PURE__ */ new Map());
102
102
  }
103
103
  function pe(e, t, r, s) {
104
104
  if (typeof e == "object" && e !== null) {
105
- const i = t.get(e);
106
- if (i !== void 0) return i;
105
+ const n = t.get(e);
106
+ if (n !== void 0) return n;
107
107
  if (e instanceof Map) return (
108
108
  /** @type {Snapshot<T>} */
109
109
  new Map(e)
@@ -122,11 +122,11 @@ function pe(e, t, r, s) {
122
122
  a.push(pe(e[f], t));
123
123
  return a;
124
124
  }
125
- if (Pe(e) === Wt) {
125
+ if (Pe(e) === Gt) {
126
126
  const a = {};
127
127
  t.set(e, a);
128
- for (var n in e)
129
- a[n] = pe(e[n], t);
128
+ for (var i in e)
129
+ a[i] = pe(e[i], t);
130
130
  return a;
131
131
  }
132
132
  if (e instanceof Date)
@@ -159,376 +159,388 @@ function pe(e, t, r, s) {
159
159
  );
160
160
  }
161
161
  }
162
- function Ts(e, t = console.log) {
163
- Xt();
162
+ function As(e, t = console.log) {
163
+ Vt();
164
164
  let r = !0;
165
- Zt(() => {
166
- var s = De;
165
+ Jt(() => {
166
+ var s = Me;
167
167
  try {
168
168
  s = e();
169
- } catch (n) {
170
- console.error(n);
169
+ } catch (i) {
170
+ console.error(i);
171
171
  }
172
- s !== De && t(r ? "init" : "update", ...Pt(s, !0)), r = !1;
172
+ s !== Me && t(r ? "init" : "update", ...It(s, !0)), r = !1;
173
173
  });
174
174
  }
175
- const Oe = 0, he = 1, Ie = 2;
176
- function xs(e, t, r, s, n) {
177
- $ && L();
178
- var i = e, a = wt(), f = je, c, u, l, o, h = (a ? Q : se)(
175
+ const Re = 0, ve = 1, Ie = 2;
176
+ function Es(e, t, r, s, i) {
177
+ g && L();
178
+ var n = e, a = je, f, o, u, l, c = ee(
179
179
  /** @type {V} */
180
180
  void 0
181
- ), v = (a ? Q : se)(void 0), g = !1;
182
- function p(d, _) {
183
- g = !0, _ && (ne(y), ye(y), st(f)), d === Oe && r && (u ? G(u) : u = R(() => r(i))), d === he && s && (l ? G(l) : l = R(() => s(i, h))), d === Ie && n && (o ? G(o) : o = R(() => n(i, v))), d !== Oe && u && B(u, () => u = null), d !== he && l && B(l, () => l = null), d !== Ie && o && B(o, () => o = null), _ && (st(null), ye(null), ne(null), Et());
181
+ ), _ = ee(void 0), p = !1;
182
+ function v(b, d) {
183
+ p = !0, d && (U(w), se(w), it(a));
184
+ try {
185
+ b === Re && r && (o ? H(o) : o = O(() => r(n))), b === ve && s && (u ? H(u) : u = O(() => s(n, c))), b === Ie && i && (l ? H(l) : l = O(() => i(n, _))), b !== Re && o && D(o, () => o = null), b !== ve && u && D(u, () => u = null), b !== Ie && l && D(l, () => l = null);
186
+ } finally {
187
+ d && (it(null), se(null), U(null), yt());
188
+ }
184
189
  }
185
- var y = J(() => {
186
- if (c !== (c = t())) {
187
- if (Qt(c)) {
188
- var d = c;
189
- g = !1, d.then(
190
- (_) => {
191
- d === c && (oe(h, _), p(he, !0));
190
+ var w = V(() => {
191
+ if (f !== (f = t())) {
192
+ if (Wt(f)) {
193
+ var b = f;
194
+ p = !1, b.then(
195
+ (d) => {
196
+ b === f && (ue(c, d), v(ve, !0));
192
197
  },
193
- (_) => {
194
- if (d === c && (oe(v, _), p(Ie, !0), !n))
195
- throw v.v;
198
+ (d) => {
199
+ if (b === f && (ue(_, d), v(Ie, !0), !i))
200
+ throw _.v;
196
201
  }
197
- ), $ ? r && (u = R(() => r(i))) : F(() => {
198
- g || p(Oe, !0);
202
+ ), g ? r && (o = O(() => r(n))) : K(() => {
203
+ p || v(Re, !0);
199
204
  });
200
205
  } else
201
- oe(h, c), p(he, !1);
202
- return () => c = null;
206
+ ue(c, f), v(ve, !1);
207
+ return () => f = null;
203
208
  }
204
209
  });
205
- $ && (i = x);
210
+ g && (n = k);
206
211
  }
207
- function Ss(e, t, r, s = null, n = !1) {
208
- $ && L();
209
- var i = e, a = null, f = null, c = null, u = n ? de : 0;
210
- J(() => {
211
- if (c === (c = !!t())) return;
212
+ function Ns(e, t, r, s = null, i = !1) {
213
+ g && L();
214
+ var n = e, a = null, f = null, o = null, u = i ? _e : 0;
215
+ V(() => {
216
+ if (o === (o = !!t())) return;
212
217
  let l = !1;
213
- if ($) {
214
- const o = (
218
+ if (g) {
219
+ const c = (
215
220
  /** @type {Comment} */
216
- i.data === Ye
221
+ n.data === He
217
222
  );
218
- c === o && (i = Me(), U(i), X(!1), l = !0);
223
+ o === c && (n = De(), j(n), Z(!1), l = !0);
219
224
  }
220
- c ? (a ? G(a) : a = R(() => r(i)), f && B(f, () => {
225
+ o ? (a ? H(a) : a = O(() => r(n)), f && D(f, () => {
221
226
  f = null;
222
- })) : (f ? G(f) : s && (f = R(() => s(i))), a && B(a, () => {
227
+ })) : (f ? H(f) : s && (f = O(() => s(n))), a && D(a, () => {
223
228
  a = null;
224
- })), l && X(!0);
225
- }, u), $ && (i = x);
226
- }
227
- function ks(e, t, r) {
228
- $ && L();
229
- var s = e, n = De, i;
230
- J(() => {
231
- mt(n, n = t()) && (i && B(i), i = R(() => r(s)));
232
- }), $ && (s = x);
233
- }
234
- function Cs(e, t) {
235
- $ && U(
229
+ })), l && Z(!0);
230
+ }, u), g && (n = k);
231
+ }
232
+ function xs(e, t, r) {
233
+ g && L();
234
+ var s = e, i = Me, n;
235
+ V(() => {
236
+ wt(i, i = t()) && (n && D(n), n = O(() => r(s)));
237
+ }), g && (s = k);
238
+ }
239
+ function Ts(e, t) {
240
+ g && j(
236
241
  /** @type {TemplateNode} */
237
- K(e)
238
- ), N(() => {
242
+ X(e)
243
+ ), x(() => {
239
244
  var r = t();
240
245
  for (var s in r) {
241
- var n = r[s];
242
- n ? e.style.setProperty(s, n) : e.style.removeProperty(s);
246
+ var i = r[s];
247
+ i ? e.style.setProperty(s, i) : e.style.removeProperty(s);
243
248
  }
244
- }), z(() => {
249
+ }), J(() => {
245
250
  e.remove();
246
251
  });
247
252
  }
248
- let Z = null;
249
- function ot(e) {
250
- Z = e;
253
+ let Q = null;
254
+ function lt(e) {
255
+ Q = e;
251
256
  }
252
- function Rs(e, t) {
257
+ function ks(e, t) {
253
258
  return t;
254
259
  }
255
- function Qr(e, t, r, s) {
256
- for (var n = [], i = t.length, a = 0; a < i; a++)
257
- tr(t[a].e, n, !0);
258
- var f = i > 0 && n.length === 0 && r !== null;
260
+ function Wr(e, t, r, s) {
261
+ for (var i = [], n = t.length, a = 0; a < n; a++)
262
+ Xt(t[a].e, i, !0);
263
+ var f = n > 0 && i.length === 0 && r !== null;
259
264
  if (f) {
260
- var c = (
265
+ var o = (
261
266
  /** @type {Element} */
262
267
  /** @type {Element} */
263
268
  r.parentNode
264
269
  );
265
- xt(c), c.append(
270
+ Zt(o), o.append(
266
271
  /** @type {Element} */
267
272
  r
268
- ), s.clear(), H(e, t[0].prev, t[i - 1].next);
273
+ ), s.clear(), F(e, t[0].prev, t[n - 1].next);
269
274
  }
270
- rr(n, () => {
271
- for (var u = 0; u < i; u++) {
275
+ Qt(i, () => {
276
+ for (var u = 0; u < n; u++) {
272
277
  var l = t[u];
273
- f || (s.delete(l.k), H(e, l.prev, l.next)), Te(l.e, !f);
278
+ f || (s.delete(l.k), F(e, l.prev, l.next)), Ne(l.e, !f);
274
279
  }
275
280
  });
276
281
  }
277
- function Os(e, t, r, s, n, i = null) {
278
- var a = e, f = { flags: t, items: /* @__PURE__ */ new Map(), first: null }, c = (t & Nt) !== 0;
279
- if (c) {
282
+ function Ss(e, t, r, s, i, n = null) {
283
+ var a = e, f = { flags: t, items: /* @__PURE__ */ new Map(), first: null }, o = (t & At) !== 0;
284
+ if (o) {
280
285
  var u = (
281
286
  /** @type {Element} */
282
287
  e
283
288
  );
284
- a = $ ? U(
289
+ a = g ? j(
285
290
  /** @type {Comment | Text} */
286
- K(u)
287
- ) : u.appendChild(At());
291
+ X(u)
292
+ ) : u.appendChild(mt());
288
293
  }
289
- $ && L();
290
- var l = null, o = !1;
291
- J(() => {
292
- var h = r(), v = xe(h) ? h : h == null ? [] : Tt(h), g = v.length;
293
- if (o && g === 0)
294
+ g && L();
295
+ var l = null, c = !1;
296
+ V(() => {
297
+ var _ = r(), p = xe(_) ? _ : _ == null ? [] : Et(_), v = p.length;
298
+ if (c && v === 0)
294
299
  return;
295
- o = g === 0;
296
- let p = !1;
297
- if ($) {
298
- var y = (
300
+ c = v === 0;
301
+ let w = !1;
302
+ if (g) {
303
+ var b = (
299
304
  /** @type {Comment} */
300
- a.data === Ye
305
+ a.data === He
301
306
  );
302
- y !== (g === 0) && (a = Me(), U(a), X(!1), p = !0);
307
+ b !== (v === 0) && (a = De(), j(a), Z(!1), w = !0);
303
308
  }
304
- if ($) {
305
- for (var d = null, _, b = 0; b < g; b++) {
306
- if (x.nodeType === 8 && /** @type {Comment} */
307
- x.data === yt) {
309
+ if (g) {
310
+ for (var d = null, h, m = 0; m < v; m++) {
311
+ if (k.nodeType === 8 && /** @type {Comment} */
312
+ k.data === gt) {
308
313
  a = /** @type {Comment} */
309
- x, p = !0, X(!1);
314
+ k, w = !0, Z(!1);
310
315
  break;
311
316
  }
312
- var w = v[b], m = s(w, b);
313
- _ = Dt(x, f, d, null, w, m, b, n, t), f.items.set(m, _), d = _;
317
+ var $ = p[m], y = s($, m);
318
+ h = Lt(k, f, d, null, $, y, m, i, t), f.items.set(y, h), d = h;
314
319
  }
315
- g > 0 && U(Me());
320
+ v > 0 && j(De());
316
321
  }
317
- $ || es(v, f, a, n, t, s), i !== null && (g === 0 ? l ? G(l) : l = R(() => i(a)) : l !== null && B(l, () => {
322
+ if (!g) {
323
+ var E = (
324
+ /** @type {Effect} */
325
+ Ue
326
+ );
327
+ Xr(p, f, a, i, t, (E.f & be) !== 0, s);
328
+ }
329
+ n !== null && (v === 0 ? l ? H(l) : l = O(() => n(a)) : l !== null && D(l, () => {
318
330
  l = null;
319
- })), p && X(!0), r();
320
- }), $ && (a = x);
321
- }
322
- function es(e, t, r, s, n, i) {
323
- var We, Xe, Ze, Qe;
324
- var a = (n & sr) !== 0, f = (n & (Ke | Ge)) !== 0, c = e.length, u = t.items, l = t.first, o = l, h, v = null, g, p = [], y = [], d, _, b, w;
325
- if (a)
326
- for (w = 0; w < c; w += 1)
327
- d = e[w], _ = i(d, w), b = u.get(_), b !== void 0 && ((We = b.a) == null || We.measure(), (g ?? (g = /* @__PURE__ */ new Set())).add(b));
328
- for (w = 0; w < c; w += 1) {
329
- if (d = e[w], _ = i(d, w), b = u.get(_), b === void 0) {
330
- var m = o ? (
331
+ })), w && Z(!0), r();
332
+ }), g && (a = k);
333
+ }
334
+ function Xr(e, t, r, s, i, n, a) {
335
+ var Xe, Ze, Qe, et;
336
+ var f = (i & er) !== 0, o = (i & (Ye | Ke)) !== 0, u = e.length, l = t.items, c = t.first, _ = c, p, v = null, w, b = [], d = [], h, m, $, y;
337
+ if (f)
338
+ for (y = 0; y < u; y += 1)
339
+ h = e[y], m = a(h, y), $ = l.get(m), $ !== void 0 && ((Xe = $.a) == null || Xe.measure(), (w ?? (w = /* @__PURE__ */ new Set())).add($));
340
+ for (y = 0; y < u; y += 1) {
341
+ if (h = e[y], m = a(h, y), $ = l.get(m), $ === void 0) {
342
+ var E = _ ? (
331
343
  /** @type {TemplateNode} */
332
- o.e.nodes_start
344
+ _.e.nodes_start
333
345
  ) : r;
334
- v = Dt(
335
- m,
346
+ v = Lt(
347
+ E,
336
348
  t,
337
349
  v,
338
350
  v === null ? t.first : v.next,
339
- d,
340
- _,
341
- w,
351
+ h,
352
+ m,
353
+ y,
342
354
  s,
343
- n
344
- ), u.set(_, v), p = [], y = [], o = v.next;
355
+ i
356
+ ), l.set(m, v), b = [], d = [], _ = v.next;
345
357
  continue;
346
358
  }
347
- if (f && ts(b, d, w, n), b.e.f & Re && (G(b.e), a && ((Xe = b.a) == null || Xe.unfix(), (g ?? (g = /* @__PURE__ */ new Set())).delete(b))), b !== o) {
348
- if (h !== void 0 && h.has(b)) {
349
- if (p.length < y.length) {
350
- var C = y[0], E;
351
- v = C.prev;
352
- var S = p[0], D = p[p.length - 1];
353
- for (E = 0; E < p.length; E += 1)
354
- ct(p[E], C, r);
355
- for (E = 0; E < y.length; E += 1)
356
- h.delete(y[E]);
357
- H(t, S.prev, D.next), H(t, v, S), H(t, D, C), o = C, v = D, w -= 1, p = [], y = [];
359
+ if (o && Zr($, h, y, i), $.e.f & be && (H($.e), f && ((Ze = $.a) == null || Ze.unfix(), (w ?? (w = /* @__PURE__ */ new Set())).delete($))), $ !== _) {
360
+ if (p !== void 0 && p.has($)) {
361
+ if (b.length < d.length) {
362
+ var T = d[0], N;
363
+ v = T.prev;
364
+ var We = b[0], Se = b[b.length - 1];
365
+ for (N = 0; N < b.length; N += 1)
366
+ ct(b[N], T, r);
367
+ for (N = 0; N < d.length; N += 1)
368
+ p.delete(d[N]);
369
+ F(t, We.prev, Se.next), F(t, v, We), F(t, Se, T), _ = T, v = Se, y -= 1, b = [], d = [];
358
370
  } else
359
- h.delete(b), ct(b, o, r), H(t, b.prev, b.next), H(t, b, v === null ? t.first : v.next), H(t, v, b), v = b;
371
+ p.delete($), ct($, _, r), F(t, $.prev, $.next), F(t, $, v === null ? t.first : v.next), F(t, v, $), v = $;
360
372
  continue;
361
373
  }
362
- for (p = [], y = []; o !== null && o.k !== _; )
363
- o.e.f & Re || (h ?? (h = /* @__PURE__ */ new Set())).add(o), y.push(o), o = o.next;
364
- if (o === null)
374
+ for (b = [], d = []; _ !== null && _.k !== m; )
375
+ (n || !(_.e.f & be)) && (p ?? (p = /* @__PURE__ */ new Set())).add(_), d.push(_), _ = _.next;
376
+ if (_ === null)
365
377
  continue;
366
- b = o;
378
+ $ = _;
367
379
  }
368
- p.push(b), v = b, o = b.next;
380
+ b.push($), v = $, _ = $.next;
369
381
  }
370
- if (o !== null || h !== void 0) {
371
- for (var ae = h === void 0 ? [] : Tt(h); o !== null; )
372
- o.e.f & Re || ae.push(o), o = o.next;
373
- var ke = ae.length;
374
- if (ke > 0) {
375
- var Ht = n & Nt && c === 0 ? r : null;
376
- if (a) {
377
- for (w = 0; w < ke; w += 1)
378
- (Ze = ae[w].a) == null || Ze.measure();
379
- for (w = 0; w < ke; w += 1)
380
- (Qe = ae[w].a) == null || Qe.fix();
382
+ if (_ !== null || p !== void 0) {
383
+ for (var ne = p === void 0 ? [] : Et(p); _ !== null; )
384
+ (n || !(_.e.f & be)) && ne.push(_), _ = _.next;
385
+ var Ce = ne.length;
386
+ if (Ce > 0) {
387
+ var Ft = i & At && u === 0 ? r : null;
388
+ if (f) {
389
+ for (y = 0; y < Ce; y += 1)
390
+ (Qe = ne[y].a) == null || Qe.measure();
391
+ for (y = 0; y < Ce; y += 1)
392
+ (et = ne[y].a) == null || et.fix();
381
393
  }
382
- Qr(t, ae, Ht, u);
394
+ Wr(t, ne, Ft, l);
383
395
  }
384
396
  }
385
- a && F(() => {
386
- var et;
387
- if (g !== void 0)
388
- for (b of g)
389
- (et = b.a) == null || et.apply();
390
- }), ee.first = t.first && t.first.e, ee.last = v && v.e;
391
- }
392
- function ts(e, t, r, s) {
393
- s & Ke && oe(e.v, t), s & Ge ? oe(
397
+ f && K(() => {
398
+ var tt;
399
+ if (w !== void 0)
400
+ for ($ of w)
401
+ (tt = $.a) == null || tt.apply();
402
+ }), G.first = t.first && t.first.e, G.last = v && v.e;
403
+ }
404
+ function Zr(e, t, r, s) {
405
+ s & Ye && ue(e.v, t), s & Ke ? ue(
394
406
  /** @type {Value<number>} */
395
407
  e.i,
396
408
  r
397
409
  ) : e.i = r;
398
410
  }
399
- function Dt(e, t, r, s, n, i, a, f, c) {
400
- var u = Z;
411
+ function Lt(e, t, r, s, i, n, a, f, o) {
412
+ var u = Q, l = (o & Ye) !== 0, c = (o & tr) === 0, _ = l ? c ? Te(i) : ee(i) : i, p = o & Ke ? ee(a) : a, v = {
413
+ i: p,
414
+ v: _,
415
+ k: n,
416
+ a: null,
417
+ // @ts-expect-error
418
+ e: null,
419
+ prev: r,
420
+ next: s
421
+ };
422
+ Q = v;
401
423
  try {
402
- var l = (c & Ke) !== 0, o = (c & er) === 0, h = l ? o ? se(n) : Q(n) : n, v = c & Ge ? Q(a) : a, g = {
403
- i: v,
404
- v: h,
405
- k: i,
406
- a: null,
407
- // @ts-expect-error
408
- e: null,
409
- prev: r,
410
- next: s
411
- };
412
- return Z = g, g.e = R(() => f(e, h, v), $), g.e.prev = r && r.e, g.e.next = s && s.e, r === null ? t.first = g : (r.next = g, r.e.next = g.e), s !== null && (s.prev = g, s.e.prev = g.e), g;
424
+ return v.e = O(() => f(e, _, p), g), v.e.prev = r && r.e, v.e.next = s && s.e, r === null ? t.first = v : (r.next = v, r.e.next = v.e), s !== null && (s.prev = v, s.e.prev = v.e), v;
413
425
  } finally {
414
- Z = u;
426
+ Q = u;
415
427
  }
416
428
  }
417
429
  function ct(e, t, r) {
418
430
  for (var s = e.next ? (
419
431
  /** @type {TemplateNode} */
420
432
  e.next.e.nodes_start
421
- ) : r, n = t ? (
433
+ ) : r, i = t ? (
422
434
  /** @type {TemplateNode} */
423
435
  t.e.nodes_start
424
- ) : r, i = (
436
+ ) : r, n = (
425
437
  /** @type {TemplateNode} */
426
438
  e.e.nodes_start
427
- ); i !== s; ) {
439
+ ); n !== s; ) {
428
440
  var a = (
429
441
  /** @type {TemplateNode} */
430
- St(i)
442
+ Nt(n)
431
443
  );
432
- n.before(i), i = a;
444
+ i.before(n), n = a;
433
445
  }
434
446
  }
435
- function H(e, t, r) {
447
+ function F(e, t, r) {
436
448
  t === null ? e.first = r : (t.next = r, t.e.next = r && r.e), r !== null && (r.prev = t, r.e.prev = t && t.e);
437
449
  }
438
- function Is(e, t, r, s, n) {
439
- var i = e, a = "", f;
440
- J(() => {
450
+ function Cs(e, t, r, s, i) {
451
+ var n = e, a = "", f;
452
+ V(() => {
441
453
  if (a === (a = t() ?? "")) {
442
- $ && L();
454
+ g && L();
443
455
  return;
444
456
  }
445
- f !== void 0 && (Te(f), f = void 0), a !== "" && (f = R(() => {
446
- if ($) {
447
- x.data;
448
- for (var c = L(), u = c; c !== null && (c.nodeType !== 8 || /** @type {Comment} */
449
- c.data !== ""); )
450
- u = c, c = /** @type {TemplateNode} */
451
- St(c);
452
- if (c === null)
453
- throw nr(), ir;
454
- Be(x, u), i = U(c);
457
+ f !== void 0 && (Ne(f), f = void 0), a !== "" && (f = O(() => {
458
+ if (g) {
459
+ k.data;
460
+ for (var o = L(), u = o; o !== null && (o.nodeType !== 8 || /** @type {Comment} */
461
+ o.data !== ""); )
462
+ u = o, o = /** @type {TemplateNode} */
463
+ Nt(o);
464
+ if (o === null)
465
+ throw rr(), sr;
466
+ Be(k, u), n = j(o);
455
467
  return;
456
468
  }
457
469
  var l = a + "";
458
470
  r ? l = `<svg>${l}</svg>` : s && (l = `<math>${l}</math>`);
459
- var o = ar(l);
460
- if ((r || s) && (o = /** @type {Element} */
461
- K(o)), Be(
471
+ var c = ir(l);
472
+ if ((r || s) && (c = /** @type {Element} */
473
+ X(c)), Be(
462
474
  /** @type {TemplateNode} */
463
- K(o),
475
+ X(c),
464
476
  /** @type {TemplateNode} */
465
- o.lastChild
477
+ c.lastChild
466
478
  ), r || s)
467
- for (; K(o); )
468
- i.before(
479
+ for (; X(c); )
480
+ n.before(
469
481
  /** @type {Node} */
470
- K(o)
482
+ X(c)
471
483
  );
472
484
  else
473
- i.before(o);
485
+ n.before(c);
474
486
  }));
475
487
  });
476
488
  }
477
- function Ls(e, t, r, s, n) {
489
+ function Os(e, t, r, s, i) {
478
490
  var f;
479
- $ && L();
480
- var i = (f = t.$$slots) == null ? void 0 : f[r], a = !1;
481
- i === !0 && (i = t[r === "default" ? "children" : r], a = !0), i === void 0 ? n !== null && n(e) : i(e, a ? () => s : s);
491
+ g && L();
492
+ var n = (f = t.$$slots) == null ? void 0 : f[r], a = !1;
493
+ n === !0 && (n = t[r === "default" ? "children" : r], a = !0), n === void 0 ? i !== null && i(e) : n(e, a ? () => s : s);
482
494
  }
483
- function Ps(e) {
495
+ function Rs(e) {
484
496
  const t = {};
485
497
  e.children && (t.default = !0);
486
498
  for (const r in e.$$slots)
487
499
  t[r] = !0;
488
500
  return t;
489
501
  }
490
- function Ds(e, t, r) {
491
- $ && L();
492
- var s = e, n, i;
493
- J(() => {
494
- n !== (n = t()) && (i && (B(i), i = null), n && (i = R(() => r(s, n))));
495
- }, de), $ && (s = x);
496
- }
497
- function Ms(e, t, r, s, n, i) {
498
- let a = $;
499
- $ && L();
500
- var f, c, u = null;
501
- $ && x.nodeType === 1 && (u = /** @type {Element} */
502
- x, L());
502
+ function Is(e, t, r) {
503
+ g && L();
504
+ var s = e, i, n;
505
+ V(() => {
506
+ i !== (i = t()) && (n && (D(n), n = null), i && (n = O(() => r(s, i))));
507
+ }, _e), g && (s = k);
508
+ }
509
+ function Ls(e, t, r, s, i, n) {
510
+ let a = g;
511
+ g && L();
512
+ var f, o, u = null;
513
+ g && k.nodeType === 1 && (u = /** @type {Element} */
514
+ k, L());
503
515
  var l = (
504
516
  /** @type {TemplateNode} */
505
- $ ? x : e
506
- ), o, h = Z;
507
- J(() => {
508
- const v = t() || null;
509
- var g = n ? n() : r || v === "svg" ? fr : null;
510
- if (v !== f) {
511
- var p = Z;
512
- ot(h), o && (v === null ? B(o, () => {
513
- o = null, c = null;
514
- }) : v === c ? G(o) : (Te(o), ge(!1))), v && v !== c && (o = R(() => {
515
- if (u = $ ? (
517
+ g ? k : e
518
+ ), c, _ = Q;
519
+ V(() => {
520
+ const p = t() || null;
521
+ var v = i ? i() : r || p === "svg" ? nr : null;
522
+ if (p !== f) {
523
+ var w = Q;
524
+ lt(_), c && (p === null ? D(c, () => {
525
+ c = null, o = null;
526
+ }) : p === o ? H(c) : (Ne(c), ge(!1))), p && p !== o && (c = O(() => {
527
+ if (u = g ? (
516
528
  /** @type {Element} */
517
529
  u
518
- ) : g ? document.createElementNS(g, v) : document.createElement(v), Be(u, u), s) {
519
- var y = (
530
+ ) : v ? document.createElementNS(v, p) : document.createElement(p), Be(u, u), s) {
531
+ var b = (
520
532
  /** @type {TemplateNode} */
521
- $ ? K(u) : u.appendChild(At())
533
+ g ? X(u) : u.appendChild(mt())
522
534
  );
523
- $ && (y === null ? X(!1) : U(y)), s(u, y);
535
+ g && (b === null ? Z(!1) : j(b)), s(u, b);
524
536
  }
525
- ee.nodes_end = u, l.before(u);
526
- })), f = v, f && (c = f), ge(!0), ot(p);
537
+ G.nodes_end = u, l.before(u);
538
+ })), f = p, f && (o = f), ge(!0), lt(w);
527
539
  }
528
- }, de), a && (X(!0), U(l));
540
+ }, _e), a && (Z(!0), j(l));
529
541
  }
530
- function Bs(e, t) {
531
- F(() => {
542
+ function Ps(e, t) {
543
+ K(() => {
532
544
  var r = e.getRootNode(), s = (
533
545
  /** @type {ShadowRoot} */
534
546
  r.host ? (
@@ -541,23 +553,23 @@ function Bs(e, t) {
541
553
  )
542
554
  );
543
555
  if (!s.querySelector("#" + t.hash)) {
544
- const n = document.createElement("style");
545
- n.id = t.hash, n.textContent = t.code, s.appendChild(n);
556
+ const i = document.createElement("style");
557
+ i.id = t.hash, i.textContent = t.code, s.appendChild(i);
546
558
  }
547
559
  });
548
560
  }
549
- function Fs(e, t, r) {
561
+ function Ms(e, t, r) {
550
562
  P(() => {
551
- var s = q(() => t(e, r == null ? void 0 : r()) || {});
563
+ var s = B(() => t(e, r == null ? void 0 : r()) || {});
552
564
  if (r && (s != null && s.update)) {
553
- var n = !1, i = (
565
+ var i = !1, n = (
554
566
  /** @type {any} */
555
567
  {}
556
568
  );
557
- N(() => {
569
+ x(() => {
558
570
  var a = r();
559
- kt(a), n && mt(i, a) && (i = a, s.update(a));
560
- }), n = !0;
571
+ xt(a), i && wt(n, a) && (n = a, s.update(a));
572
+ }), i = !0;
561
573
  }
562
574
  if (s != null && s.destroy)
563
575
  return () => (
@@ -566,176 +578,151 @@ function Fs(e, t, r) {
566
578
  );
567
579
  });
568
580
  }
569
- function rs(e, t) {
570
- if (t) {
571
- const r = document.body;
572
- e.autofocus = !0, F(() => {
573
- document.activeElement === r && e.focus();
574
- });
575
- }
576
- }
577
- function qs(e) {
578
- $ && K(e) !== null && xt(e);
579
- }
580
- let lt = !1;
581
- function Mt() {
582
- lt || (lt = !0, document.addEventListener(
583
- "reset",
584
- (e) => {
585
- Promise.resolve().then(() => {
586
- var t;
587
- if (!e.defaultPrevented)
588
- for (
589
- const r of
590
- /**@type {HTMLFormElement} */
591
- e.target.elements
592
- )
593
- (t = r.__on_r) == null || t.call(r);
594
- });
595
- },
596
- // In the capture phase to guarantee we get noticed of it (no possiblity of stopPropagation)
597
- { capture: !0 }
598
- ));
599
- }
600
- function zs(e) {
601
- if ($) {
581
+ function Ds(e) {
582
+ if (g) {
602
583
  var t = !1, r = () => {
603
584
  if (!t) {
604
585
  if (t = !0, e.hasAttribute("value")) {
605
586
  var s = e.value;
606
- Ee(e, "value", null), e.value = s;
587
+ we(e, "value", null), e.value = s;
607
588
  }
608
589
  if (e.hasAttribute("checked")) {
609
- var n = e.checked;
610
- Ee(e, "checked", null), e.checked = n;
590
+ var i = e.checked;
591
+ we(e, "checked", null), e.checked = i;
611
592
  }
612
593
  }
613
594
  };
614
- e.__on_r = r, ur(r), Mt();
595
+ e.__on_r = r, ar(r), fr();
615
596
  }
616
597
  }
617
- function Hs(e, t) {
598
+ function Bs(e, t) {
618
599
  var r = e.__attributes ?? (e.__attributes = {});
619
600
  r.value === (r.value = t) || // @ts-expect-error
620
601
  // `progress` elements always need their value set when its `0`
621
602
  e.value === t && (t !== 0 || e.nodeName !== "PROGRESS") || (e.value = t);
622
603
  }
623
- function Ys(e, t) {
604
+ function Fs(e, t) {
624
605
  var r = e.__attributes ?? (e.__attributes = {});
625
606
  r.checked !== (r.checked = t) && (e.checked = t);
626
607
  }
627
- function Ee(e, t, r, s) {
628
- var n = e.__attributes ?? (e.__attributes = {});
629
- $ && (n[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || n[t] !== (n[t] = r) && (t === "style" && "__styles" in e && (e.__styles = {}), t === "loading" && (e[Fe] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Ue(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
608
+ function we(e, t, r, s) {
609
+ var i = e.__attributes ?? (e.__attributes = {});
610
+ g && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || i[t] !== (i[t] = r) && (t === "style" && "__styles" in e && (e.__styles = {}), t === "loading" && (e[Fe] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Ge(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
630
611
  }
631
- function js(e, t, r) {
612
+ function qs(e, t, r) {
632
613
  e.setAttributeNS("http://www.w3.org/1999/xlink", t, r);
633
614
  }
634
- function Ks(e, t, r) {
635
- Ue(e).includes(t) ? e[t] = r : Ee(e, t, r);
615
+ function zs(e, t, r) {
616
+ var s = Ue, i = G;
617
+ se(null), U(null);
618
+ try {
619
+ Ge(e).includes(t) ? e[t] = r : we(e, t, r);
620
+ } finally {
621
+ se(s), U(i);
622
+ }
636
623
  }
637
- function Gs(e, t, r, s, n = !1, i = !1, a = !1) {
638
- var f = t || {}, c = e.tagName === "OPTION";
624
+ function Hs(e, t, r, s, i = !1, n = !1, a = !1) {
625
+ var f = t || {}, o = e.tagName === "OPTION";
639
626
  for (var u in t)
640
627
  u in r || (r[u] = null);
641
628
  s !== void 0 && (r.class = r.class ? r.class + " " + s : s);
642
- var l = Ue(e), o = (
629
+ var l = Ge(e), c = (
643
630
  /** @type {Record<string, unknown>} **/
644
631
  e.__attributes ?? (e.__attributes = {})
645
- ), h = [];
632
+ ), _ = [];
646
633
  for (const d in r) {
647
- let _ = r[d];
648
- if (c && d === "value" && _ == null) {
649
- e.value = e.__value = "", f[d] = _;
634
+ let h = r[d];
635
+ if (o && d === "value" && h == null) {
636
+ e.value = e.__value = "", f[d] = h;
650
637
  continue;
651
638
  }
652
- var v = f[d];
653
- if (_ !== v) {
654
- f[d] = _;
655
- var g = d[0] + d[1];
656
- if (g !== "$$") {
657
- if (g === "on") {
658
- const b = {}, w = "$$" + d;
659
- let m = d.slice(2);
660
- var p = _r(m);
661
- if (or(m) && (m = m.slice(0, -7), b.capture = !0), !p && v) {
662
- if (_ != null) continue;
663
- e.removeEventListener(m, f[w], b), f[w] = null;
639
+ var p = f[d];
640
+ if (h !== p) {
641
+ f[d] = h;
642
+ var v = d[0] + d[1];
643
+ if (v !== "$$") {
644
+ if (v === "on") {
645
+ const m = {}, $ = "$$" + d;
646
+ let y = d.slice(2);
647
+ var w = _r(y);
648
+ if (ur(y) && (y = y.slice(0, -7), m.capture = !0), !w && p) {
649
+ if (h != null) continue;
650
+ e.removeEventListener(y, f[$], m), f[$] = null;
664
651
  }
665
- if (_ != null)
666
- if (p)
667
- e[`__${m}`] = _, cr([m]);
652
+ if (h != null)
653
+ if (w)
654
+ e[`__${y}`] = h, or([y]);
668
655
  else {
669
- let C = function(E) {
670
- f[d].call(this, E);
656
+ let E = function(T) {
657
+ f[d].call(this, T);
671
658
  };
672
- t ? f[w] = nt(m, e, C, b) : h.push([
659
+ t ? f[$] = nt(y, e, E, m) : _.push([
673
660
  d,
674
- _,
675
- () => f[w] = nt(m, e, C, b)
661
+ h,
662
+ () => f[$] = nt(y, e, E, m)
676
663
  ]);
677
664
  }
678
- } else if (d === "style" && _ != null)
679
- e.style.cssText = _ + "";
665
+ } else if (d === "style" && h != null)
666
+ e.style.cssText = h + "";
680
667
  else if (d === "autofocus")
681
- rs(
668
+ lr(
682
669
  /** @type {HTMLElement} */
683
670
  e,
684
- !!_
671
+ !!h
685
672
  );
686
- else if (d === "__value" || d === "value" && _ != null)
687
- e.value = e[d] = e.__value = _;
673
+ else if (d === "__value" || d === "value" && h != null)
674
+ e.value = e[d] = e.__value = h;
688
675
  else {
689
- var y = d;
690
- n || (y = lr(y)), _ == null && !i ? (o[d] = null, e.removeAttribute(d)) : l.includes(y) && (i || typeof _ != "string") ? e[y] = _ : typeof _ != "function" && ($ && (y === "src" || y === "href" || y === "srcset") || Ee(e, y, _));
676
+ var b = d;
677
+ i || (b = cr(b)), h == null && !n ? (c[d] = null, e.removeAttribute(d)) : l.includes(b) && (n || typeof h != "string") ? e[b] = h : typeof h != "function" && (g && (b === "src" || b === "href" || b === "srcset") || we(e, b, h));
691
678
  }
692
679
  d === "style" && "__styles" in e && (e.__styles = {});
693
680
  }
694
681
  }
695
682
  }
696
- return t || F(() => {
683
+ return t || K(() => {
697
684
  if (e.isConnected)
698
- for (const [d, _, b] of h)
699
- f[d] === _ && b();
685
+ for (const [d, h, m] of _)
686
+ f[d] === h && m();
700
687
  }), f;
701
688
  }
702
689
  var _t = /* @__PURE__ */ new Map();
703
- function Ue(e) {
690
+ function Ge(e) {
704
691
  var t = _t.get(e.nodeName);
705
692
  if (t) return t;
706
693
  _t.set(e.nodeName, t = []);
707
- for (var r, s = Pe(e), n = Element.prototype; n !== s; ) {
694
+ for (var r, s = Pe(e), i = Element.prototype; i !== s; ) {
708
695
  r = dr(s);
709
- for (var i in r)
710
- r[i].set && t.push(i);
696
+ for (var n in r)
697
+ r[n].set && t.push(n);
711
698
  s = Pe(s);
712
699
  }
713
700
  return t;
714
701
  }
715
- function Us(e) {
716
- if (!$ && e.loading === "lazy") {
702
+ function js(e) {
703
+ if (!g && e.loading === "lazy") {
717
704
  var t = e.src;
718
705
  e[Fe] = null, e.loading = "eager", e.removeAttribute("src"), requestAnimationFrame(() => {
719
706
  e[Fe] !== "eager" && (e.loading = "lazy"), e.src = t;
720
707
  });
721
708
  }
722
709
  }
723
- function Vs(e, t) {
710
+ function Ys(e, t) {
724
711
  var r = e.__className, s = Ve(t);
725
- $ && e.getAttribute("class") === s ? e.__className = s : (r !== s || $ && e.getAttribute("class") !== s) && (s === "" ? e.removeAttribute("class") : e.setAttribute("class", s), e.__className = s);
712
+ g && e.getAttribute("class") === s ? e.__className = s : (r !== s || g && e.getAttribute("class") !== s) && (s === "" ? e.removeAttribute("class") : e.setAttribute("class", s), e.__className = s);
726
713
  }
727
- function Js(e, t) {
714
+ function Ks(e, t) {
728
715
  var r = e.__className, s = Ve(t);
729
- $ && e.getAttribute("class") === s ? e.__className = s : (r !== s || $ && e.getAttribute("class") !== s) && (s === "" ? e.removeAttribute("class") : e.setAttribute("class", s), e.__className = s);
716
+ g && e.getAttribute("class") === s ? e.__className = s : (r !== s || g && e.getAttribute("class") !== s) && (s === "" ? e.removeAttribute("class") : e.setAttribute("class", s), e.__className = s);
730
717
  }
731
- function Ws(e, t) {
718
+ function Us(e, t) {
732
719
  var r = e.__className, s = Ve(t);
733
- $ && e.className === s ? e.__className = s : (r !== s || $ && e.className !== s) && (t == null ? e.removeAttribute("class") : e.className = s, e.__className = s);
720
+ g && e.className === s ? e.__className = s : (r !== s || g && e.className !== s) && (t == null ? e.removeAttribute("class") : e.className = s, e.__className = s);
734
721
  }
735
722
  function Ve(e) {
736
723
  return e ?? "";
737
724
  }
738
- function Xs(e, t, r) {
725
+ function Gs(e, t, r) {
739
726
  if (r) {
740
727
  if (e.classList.contains(t)) return;
741
728
  e.classList.add(t);
@@ -744,14 +731,14 @@ function Xs(e, t, r) {
744
731
  e.classList.remove(t);
745
732
  }
746
733
  }
747
- function Zs(e, t, r, s) {
748
- var n = e.__styles ?? (e.__styles = {});
749
- n[t] !== r && (n[t] = r, r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, s ? "important" : ""));
734
+ function Vs(e, t, r, s) {
735
+ var i = e.__styles ?? (e.__styles = {});
736
+ i[t] !== r && (i[t] = r, r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, s ? "important" : ""));
750
737
  }
751
- function be(e, t) {
738
+ function he(e, t) {
752
739
  e.dispatchEvent(new CustomEvent(t));
753
740
  }
754
- function ss(e) {
741
+ function Qr(e) {
755
742
  if (e === "float") return "cssFloat";
756
743
  if (e === "offset") return "cssOffset";
757
744
  if (e.startsWith("--")) return e;
@@ -764,131 +751,131 @@ function ss(e) {
764
751
  function dt(e) {
765
752
  const t = {}, r = e.split(";");
766
753
  for (const s of r) {
767
- const [n, i] = s.split(":");
768
- if (!n || i === void 0) break;
769
- const a = ss(n.trim());
770
- t[a] = i.trim();
754
+ const [i, n] = s.split(":");
755
+ if (!i || n === void 0) break;
756
+ const a = Qr(i.trim());
757
+ t[a] = n.trim();
771
758
  }
772
759
  return t;
773
760
  }
774
- const ns = (e) => e;
775
- function Qs(e, t, r) {
761
+ const es = (e) => e;
762
+ function Js(e, t, r) {
776
763
  var s = (
777
764
  /** @type {EachItem} */
778
- Z
779
- ), n, i, a, f = null;
765
+ Q
766
+ ), i, n, a, f = null;
780
767
  s.a ?? (s.a = {
781
768
  element: e,
782
769
  measure() {
783
- n = this.element.getBoundingClientRect();
770
+ i = this.element.getBoundingClientRect();
784
771
  },
785
772
  apply() {
786
- if (a == null || a.abort(), i = this.element.getBoundingClientRect(), n.left !== i.left || n.right !== i.right || n.top !== i.top || n.bottom !== i.bottom) {
787
- const c = t()(this.element, { from: n, to: i }, r == null ? void 0 : r());
788
- a = me(this.element, c, void 0, 1, () => {
773
+ if (a == null || a.abort(), n = this.element.getBoundingClientRect(), i.left !== n.left || i.right !== n.right || i.top !== n.top || i.bottom !== n.bottom) {
774
+ const o = t()(this.element, { from: i, to: n }, r == null ? void 0 : r());
775
+ a = me(this.element, o, void 0, 1, () => {
789
776
  a == null || a.abort(), a = void 0;
790
777
  });
791
778
  }
792
779
  },
793
780
  fix() {
794
781
  if (!e.getAnimations().length) {
795
- var { position: c, width: u, height: l } = getComputedStyle(e);
796
- if (c !== "absolute" && c !== "fixed") {
797
- var o = (
782
+ var { position: o, width: u, height: l } = getComputedStyle(e);
783
+ if (o !== "absolute" && o !== "fixed") {
784
+ var c = (
798
785
  /** @type {HTMLElement | SVGElement} */
799
786
  e.style
800
787
  );
801
788
  f = {
802
- position: o.position,
803
- width: o.width,
804
- height: o.height,
805
- transform: o.transform
806
- }, o.position = "absolute", o.width = u, o.height = l;
807
- var h = e.getBoundingClientRect();
808
- if (n.left !== h.left || n.top !== h.top) {
809
- var v = `translate(${n.left - h.left}px, ${n.top - h.top}px)`;
810
- o.transform = o.transform ? `${o.transform} ${v}` : v;
789
+ position: c.position,
790
+ width: c.width,
791
+ height: c.height,
792
+ transform: c.transform
793
+ }, c.position = "absolute", c.width = u, c.height = l;
794
+ var _ = e.getBoundingClientRect();
795
+ if (i.left !== _.left || i.top !== _.top) {
796
+ var p = `translate(${i.left - _.left}px, ${i.top - _.top}px)`;
797
+ c.transform = c.transform ? `${c.transform} ${p}` : p;
811
798
  }
812
799
  }
813
800
  }
814
801
  },
815
802
  unfix() {
816
803
  if (f) {
817
- var c = (
804
+ var o = (
818
805
  /** @type {HTMLElement | SVGElement} */
819
806
  e.style
820
807
  );
821
- c.position = f.position, c.width = f.width, c.height = f.height, c.transform = f.transform;
808
+ o.position = f.position, o.width = f.width, o.height = f.height, o.transform = f.transform;
822
809
  }
823
810
  }
824
811
  }), s.a.element = e;
825
812
  }
826
- function en(e, t, r, s) {
827
- var n = (e & pr) !== 0, i = (e & $r) !== 0, a = n && i, f = (e & gr) !== 0, c = a ? "both" : n ? "in" : "out", u, l = t.inert, o, h;
828
- function v() {
829
- var _ = Ct, b = ee;
830
- ye(null), ne(null);
813
+ function Ws(e, t, r, s) {
814
+ var i = (e & pr) !== 0, n = (e & $r) !== 0, a = i && n, f = (e & gr) !== 0, o = a ? "both" : i ? "in" : "out", u, l = t.inert, c, _;
815
+ function p() {
816
+ var h = Ue, m = G;
817
+ se(null), U(null);
831
818
  try {
832
819
  return u ?? (u = r()(t, (s == null ? void 0 : s()) ?? /** @type {P} */
833
820
  {}, {
834
- direction: c
821
+ direction: o
835
822
  }));
836
823
  } finally {
837
- ye(_), ne(b);
824
+ se(h), U(m);
838
825
  }
839
826
  }
840
- var g = {
827
+ var v = {
841
828
  is_global: f,
842
829
  in() {
843
- var _;
844
- if (t.inert = l, !n) {
845
- h == null || h.abort(), (_ = h == null ? void 0 : h.reset) == null || _.call(h);
830
+ var h;
831
+ if (t.inert = l, !i) {
832
+ _ == null || _.abort(), (h = _ == null ? void 0 : _.reset) == null || h.call(_);
846
833
  return;
847
834
  }
848
- i || o == null || o.abort(), be(t, "introstart"), o = me(t, v(), h, 1, () => {
849
- be(t, "introend"), o == null || o.abort(), o = u = void 0;
835
+ n || c == null || c.abort(), he(t, "introstart"), c = me(t, p(), _, 1, () => {
836
+ he(t, "introend"), c == null || c.abort(), c = u = void 0;
850
837
  });
851
838
  },
852
- out(_) {
853
- if (!i) {
854
- _ == null || _(), u = void 0;
839
+ out(h) {
840
+ if (!n) {
841
+ h == null || h(), u = void 0;
855
842
  return;
856
843
  }
857
- t.inert = !0, be(t, "outrostart"), h = me(t, v(), o, 0, () => {
858
- be(t, "outroend"), _ == null || _();
844
+ t.inert = !0, he(t, "outrostart"), _ = me(t, p(), c, 0, () => {
845
+ he(t, "outroend"), h == null || h();
859
846
  });
860
847
  },
861
848
  stop: () => {
862
- o == null || o.abort(), h == null || h.abort();
849
+ c == null || c.abort(), _ == null || _.abort();
863
850
  }
864
- }, p = (
851
+ }, w = (
865
852
  /** @type {Effect} */
866
- ee
853
+ G
867
854
  );
868
- if ((p.transitions ?? (p.transitions = [])).push(g), n && vr) {
869
- var y = f;
870
- if (!y) {
855
+ if ((w.transitions ?? (w.transitions = [])).push(v), i && vr) {
856
+ var b = f;
857
+ if (!b) {
871
858
  for (var d = (
872
859
  /** @type {Effect | null} */
873
- p.parent
874
- ); d && d.f & de; )
860
+ w.parent
861
+ ); d && d.f & _e; )
875
862
  for (; (d = d.parent) && !(d.f & hr); )
876
863
  ;
877
- y = !d || (d.f & br) !== 0;
864
+ b = !d || (d.f & br) !== 0;
878
865
  }
879
- y && P(() => {
880
- q(() => g.in());
866
+ b && P(() => {
867
+ B(() => v.in());
881
868
  });
882
869
  }
883
870
  }
884
- function me(e, t, r, s, n) {
885
- var i = s === 1;
871
+ function me(e, t, r, s, i) {
872
+ var n = s === 1;
886
873
  if (te(t)) {
887
874
  var a, f = !1;
888
- return F(() => {
875
+ return K(() => {
889
876
  if (!f) {
890
- var y = t({ direction: i ? "in" : "out" });
891
- a = me(e, y, r, s, n);
877
+ var b = t({ direction: n ? "in" : "out" });
878
+ a = me(e, b, r, s, i);
892
879
  }
893
880
  }), {
894
881
  abort: () => {
@@ -900,150 +887,133 @@ function me(e, t, r, s, n) {
900
887
  };
901
888
  }
902
889
  if (r == null || r.deactivate(), !(t != null && t.duration))
903
- return n(), {
904
- abort: Y,
905
- deactivate: Y,
906
- reset: Y,
890
+ return i(), {
891
+ abort: q,
892
+ deactivate: q,
893
+ reset: q,
907
894
  t: () => s
908
895
  };
909
- const { delay: c = 0, css: u, tick: l, easing: o = ns } = t;
910
- var h = [];
911
- if (i && r === void 0 && (l && l(0, 1), u)) {
912
- var v = dt(u(0, 1));
913
- h.push(v, v);
896
+ const { delay: o = 0, css: u, tick: l, easing: c = es } = t;
897
+ var _ = [];
898
+ if (n && r === void 0 && (l && l(0, 1), u)) {
899
+ var p = dt(u(0, 1));
900
+ _.push(p, p);
914
901
  }
915
- var g = () => 1 - s, p = e.animate(h, { duration: c });
916
- return p.onfinish = () => {
917
- var y = (r == null ? void 0 : r.t()) ?? 1 - s;
902
+ var v = () => 1 - s, w = e.animate(_, { duration: o });
903
+ return w.onfinish = () => {
904
+ var b = (r == null ? void 0 : r.t()) ?? 1 - s;
918
905
  r == null || r.abort();
919
- var d = s - y, _ = (
906
+ var d = s - b, h = (
920
907
  /** @type {number} */
921
908
  t.duration * Math.abs(d)
922
- ), b = [];
923
- if (_ > 0) {
909
+ ), m = [];
910
+ if (h > 0) {
924
911
  if (u)
925
- for (var w = Math.ceil(_ / 16.666666666666668), m = 0; m <= w; m += 1) {
926
- var C = y + d * o(m / w), E = u(C, 1 - C);
927
- b.push(dt(E));
912
+ for (var $ = Math.ceil(h / 16.666666666666668), y = 0; y <= $; y += 1) {
913
+ var E = b + d * c(y / $), T = u(E, 1 - E);
914
+ m.push(dt(T));
928
915
  }
929
- g = () => {
930
- var S = (
916
+ v = () => {
917
+ var N = (
931
918
  /** @type {number} */
932
919
  /** @type {globalThis.Animation} */
933
- p.currentTime
920
+ w.currentTime
934
921
  );
935
- return y + d * o(S / _);
936
- }, l && Jr(() => {
937
- if (p.playState !== "running") return !1;
938
- var S = g();
939
- return l(S, 1 - S), !0;
922
+ return b + d * c(N / h);
923
+ }, l && Ur(() => {
924
+ if (w.playState !== "running") return !1;
925
+ var N = v();
926
+ return l(N, 1 - N), !0;
940
927
  });
941
928
  }
942
- p = e.animate(b, { duration: _, fill: "forwards" }), p.onfinish = () => {
943
- g = () => s, l == null || l(s, 1 - s), n();
929
+ w = e.animate(m, { duration: h, fill: "forwards" }), w.onfinish = () => {
930
+ v = () => s, l == null || l(s, 1 - s), i();
944
931
  };
945
932
  }, {
946
933
  abort: () => {
947
- p && (p.cancel(), p.effect = null, p.onfinish = Y);
934
+ w && (w.cancel(), w.effect = null, w.onfinish = q);
948
935
  },
949
936
  deactivate: () => {
950
- n = Y;
937
+ i = q;
951
938
  },
952
939
  reset: () => {
953
940
  s === 0 && (l == null || l(1, 0));
954
941
  },
955
- t: () => g()
942
+ t: () => v()
956
943
  };
957
944
  }
958
- function k(e, t, r, s = !0) {
959
- s && r();
960
- for (var n of t)
961
- e.addEventListener(n, r);
962
- z(() => {
963
- for (var i of t)
964
- e.removeEventListener(i, r);
965
- });
966
- }
967
- function ve(e, t, r, s = r) {
968
- e.addEventListener(t, r);
969
- const n = e.__on_r;
970
- n ? e.__on_r = () => {
971
- n(), s();
972
- } : e.__on_r = s, Mt();
973
- }
974
- function tn(e) {
975
- k(document, ["focusin", "focusout"], (t) => {
945
+ function Xs(e) {
946
+ C(document, ["focusin", "focusout"], (t) => {
976
947
  t && t.type === "focusout" && /** @type {FocusEvent} */
977
948
  t.relatedTarget || e(document.activeElement);
978
949
  });
979
950
  }
980
- function rn(e, t, r = t) {
981
- var s = wt();
982
- ve(e, "input", () => {
983
- var n = ht(e) ? bt(e.value) : e.value;
984
- r(n), s && n !== (n = t()) && (e.value = n ?? "");
985
- }), N(() => {
986
- var n = t();
987
- if ($ && e.defaultValue !== e.value) {
951
+ function Zs(e, t, r = t) {
952
+ de(e, "input", () => {
953
+ var s = ht(e) ? bt(e.value) : e.value;
954
+ r(s), s !== (s = t()) && (e.value = s ?? "");
955
+ }), x(() => {
956
+ var s = t();
957
+ if (g && e.defaultValue !== e.value) {
988
958
  r(e.value);
989
959
  return;
990
960
  }
991
- ht(e) && n === bt(e.value) || e.type === "date" && !n && !e.value || n !== e.value && (e.value = n ?? "");
961
+ ht(e) && s === bt(e.value) || e.type === "date" && !s && !e.value || s !== e.value && (e.value = s ?? "");
992
962
  });
993
963
  }
994
964
  const Le = /* @__PURE__ */ new Set();
995
- function sn(e, t, r, s, n = s) {
996
- var i = r.getAttribute("type") === "checkbox", a = e;
965
+ function Qs(e, t, r, s, i = s) {
966
+ var n = r.getAttribute("type") === "checkbox", a = e;
997
967
  let f = !1;
998
968
  if (t !== null)
999
- for (var c of t)
1000
- a = a[c] ?? (a[c] = []);
1001
- a.push(r), ve(
969
+ for (var o of t)
970
+ a = a[o] ?? (a[o] = []);
971
+ a.push(r), de(
1002
972
  r,
1003
973
  "change",
1004
974
  () => {
1005
975
  var u = r.__value;
1006
- i && (u = vt(a, u, r.checked)), n(u);
976
+ n && (u = vt(a, u, r.checked)), i(u);
1007
977
  },
1008
978
  // TODO better default value handling
1009
- () => n(i ? [] : null)
1010
- ), N(() => {
979
+ () => i(n ? [] : null)
980
+ ), x(() => {
1011
981
  var u = s();
1012
- if ($ && r.defaultChecked !== r.checked) {
982
+ if (g && r.defaultChecked !== r.checked) {
1013
983
  f = !0;
1014
984
  return;
1015
985
  }
1016
- i ? (u = u || [], r.checked = u.includes(r.__value)) : r.checked = Rt(r.__value, u);
1017
- }), z(() => {
986
+ n ? (u = u || [], r.checked = u.includes(r.__value)) : r.checked = Tt(r.__value, u);
987
+ }), J(() => {
1018
988
  var u = a.indexOf(r);
1019
989
  u !== -1 && a.splice(u, 1);
1020
- }), Le.has(a) || (Le.add(a), F(() => {
990
+ }), Le.has(a) || (Le.add(a), K(() => {
1021
991
  a.sort((u, l) => u.compareDocumentPosition(l) === 4 ? -1 : 1), Le.delete(a);
1022
- })), F(() => {
992
+ })), K(() => {
1023
993
  if (f) {
1024
994
  var u;
1025
- if (i)
995
+ if (n)
1026
996
  u = vt(a, u, r.checked);
1027
997
  else {
1028
- var l = a.find((o) => o.checked);
998
+ var l = a.find((c) => c.checked);
1029
999
  u = l == null ? void 0 : l.__value;
1030
1000
  }
1031
- n(u);
1001
+ i(u);
1032
1002
  }
1033
1003
  });
1034
1004
  }
1035
- function nn(e, t, r = t) {
1036
- ve(e, "change", () => {
1005
+ function ei(e, t, r = t) {
1006
+ de(e, "change", () => {
1037
1007
  var s = e.checked;
1038
1008
  r(s);
1039
- }), t() == null && r(!1), N(() => {
1009
+ }), t() == null && r(!1), x(() => {
1040
1010
  var s = t();
1041
1011
  e.checked = !!s;
1042
1012
  });
1043
1013
  }
1044
1014
  function vt(e, t, r) {
1045
- for (var s = /* @__PURE__ */ new Set(), n = 0; n < e.length; n += 1)
1046
- e[n].checked && s.add(e[n].__value);
1015
+ for (var s = /* @__PURE__ */ new Set(), i = 0; i < e.length; i += 1)
1016
+ e[i].checked && s.add(e[i].__value);
1047
1017
  return r || s.delete(t), Array.from(s);
1048
1018
  }
1049
1019
  function ht(e) {
@@ -1053,10 +1023,10 @@ function ht(e) {
1053
1023
  function bt(e) {
1054
1024
  return e === "" ? null : +e;
1055
1025
  }
1056
- function an(e, t, r = t) {
1057
- ve(e, "change", () => {
1026
+ function ti(e, t, r = t) {
1027
+ de(e, "change", () => {
1058
1028
  r(e.files);
1059
- }), N(() => {
1029
+ }), x(() => {
1060
1030
  e.files = t();
1061
1031
  });
1062
1032
  }
@@ -1065,110 +1035,110 @@ function Je(e) {
1065
1035
  t.push({ start: e.start(r), end: e.end(r) });
1066
1036
  return t;
1067
1037
  }
1068
- function fn(e, t, r = t) {
1069
- var s, n, i = () => {
1070
- cancelAnimationFrame(s), e.paused || (s = requestAnimationFrame(i));
1038
+ function ri(e, t, r = t) {
1039
+ var s, i, n = () => {
1040
+ cancelAnimationFrame(s), e.paused || (s = requestAnimationFrame(n));
1071
1041
  var a = e.currentTime;
1072
- n !== a && r(n = a);
1042
+ i !== a && r(i = a);
1073
1043
  };
1074
- s = requestAnimationFrame(i), e.addEventListener("timeupdate", i), N(() => {
1044
+ s = requestAnimationFrame(n), e.addEventListener("timeupdate", n), x(() => {
1075
1045
  var a = Number(t());
1076
- n !== a && !isNaN(
1046
+ i !== a && !isNaN(
1077
1047
  /** @type {any} */
1078
1048
  a
1079
- ) && (e.currentTime = n = a);
1080
- }), z(() => cancelAnimationFrame(s));
1049
+ ) && (e.currentTime = i = a);
1050
+ }), J(() => cancelAnimationFrame(s));
1081
1051
  }
1082
- function un(e, t) {
1083
- k(e, ["loadedmetadata", "progress"], () => t(Je(e.buffered)));
1052
+ function si(e, t) {
1053
+ C(e, ["loadedmetadata", "progress"], () => t(Je(e.buffered)));
1084
1054
  }
1085
- function on(e, t) {
1086
- k(e, ["loadedmetadata"], () => t(Je(e.seekable)));
1055
+ function ii(e, t) {
1056
+ C(e, ["loadedmetadata"], () => t(Je(e.seekable)));
1087
1057
  }
1088
- function cn(e, t) {
1089
- k(e, ["timeupdate"], () => t(Je(e.played)));
1058
+ function ni(e, t) {
1059
+ C(e, ["timeupdate"], () => t(Je(e.played)));
1090
1060
  }
1091
- function ln(e, t) {
1092
- k(e, ["seeking", "seeked"], () => t(e.seeking));
1061
+ function ai(e, t) {
1062
+ C(e, ["seeking", "seeked"], () => t(e.seeking));
1093
1063
  }
1094
- function _n(e, t) {
1095
- k(e, ["timeupdate", "ended"], () => t(e.ended));
1064
+ function fi(e, t) {
1065
+ C(e, ["timeupdate", "ended"], () => t(e.ended));
1096
1066
  }
1097
- function dn(e, t) {
1098
- k(
1067
+ function ui(e, t) {
1068
+ C(
1099
1069
  e,
1100
1070
  ["loadedmetadata", "loadeddata", "canplay", "canplaythrough", "playing", "waiting", "emptied"],
1101
1071
  () => t(e.readyState)
1102
1072
  );
1103
1073
  }
1104
- function vn(e, t, r = t) {
1074
+ function oi(e, t, r = t) {
1105
1075
  P(() => {
1106
1076
  var s = Number(t());
1107
1077
  s !== e.playbackRate && !isNaN(s) && (e.playbackRate = s);
1108
1078
  }), P(() => {
1109
- k(e, ["ratechange"], () => {
1079
+ C(e, ["ratechange"], () => {
1110
1080
  r(e.playbackRate);
1111
1081
  });
1112
1082
  });
1113
1083
  }
1114
- function hn(e, t, r = t) {
1115
- var s = t(), n = () => {
1084
+ function li(e, t, r = t) {
1085
+ var s = t(), i = () => {
1116
1086
  s !== e.paused && r(s = e.paused);
1117
1087
  };
1118
- k(e, ["play", "pause", "canplay"], n, s == null), P(() => {
1088
+ C(e, ["play", "pause", "canplay"], i, s == null), P(() => {
1119
1089
  (s = !!t()) !== e.paused && (s ? e.pause() : e.play().catch(() => {
1120
1090
  r(s = !0);
1121
1091
  }));
1122
1092
  });
1123
1093
  }
1124
- function bn(e, t, r = t) {
1094
+ function ci(e, t, r = t) {
1125
1095
  var s = () => {
1126
1096
  r(e.volume);
1127
1097
  };
1128
- t() == null && s(), k(e, ["volumechange"], s, !1), N(() => {
1129
- var n = Number(t());
1130
- n !== e.volume && !isNaN(n) && (e.volume = n);
1098
+ t() == null && s(), C(e, ["volumechange"], s, !1), x(() => {
1099
+ var i = Number(t());
1100
+ i !== e.volume && !isNaN(i) && (e.volume = i);
1131
1101
  });
1132
1102
  }
1133
- function pn(e, t, r = t) {
1103
+ function _i(e, t, r = t) {
1134
1104
  var s = () => {
1135
1105
  r(e.muted);
1136
1106
  };
1137
- t() == null && s(), k(e, ["volumechange"], s, !1), N(() => {
1138
- var n = !!t();
1139
- e.muted !== n && (e.muted = n);
1107
+ t() == null && s(), C(e, ["volumechange"], s, !1), x(() => {
1108
+ var i = !!t();
1109
+ e.muted !== i && (e.muted = i);
1140
1110
  });
1141
1111
  }
1142
- function $n(e) {
1143
- k(window, ["online", "offline"], () => {
1112
+ function di(e) {
1113
+ C(window, ["online", "offline"], () => {
1144
1114
  e(navigator.onLine);
1145
1115
  });
1146
1116
  }
1147
- function gn(e, t, r) {
1117
+ function vi(e, t, r) {
1148
1118
  var s = ie(e, t);
1149
- s && s.set && (e[t] = r, z(() => {
1119
+ s && s.set && (e[t] = r, J(() => {
1150
1120
  e[t] = null;
1151
1121
  }));
1152
1122
  }
1153
- function He(e, t, r) {
1123
+ function ze(e, t, r) {
1154
1124
  if (e.multiple)
1155
- return as(e, t);
1125
+ return rs(e, t);
1156
1126
  for (var s of e.options) {
1157
- var n = ce(s);
1158
- if (Rt(n, t)) {
1127
+ var i = oe(s);
1128
+ if (Tt(i, t)) {
1159
1129
  s.selected = !0;
1160
1130
  return;
1161
1131
  }
1162
1132
  }
1163
1133
  (!r || t !== void 0) && (e.selectedIndex = -1);
1164
1134
  }
1165
- function is(e, t) {
1135
+ function ts(e, t) {
1166
1136
  let r = !0;
1167
1137
  P(() => {
1168
- t && He(e, q(t), r), r = !1;
1138
+ t && ze(e, B(t), r), r = !1;
1169
1139
  var s = new MutationObserver(() => {
1170
- var n = e.__value;
1171
- He(e, n);
1140
+ var i = e.__value;
1141
+ ze(e, i);
1172
1142
  });
1173
1143
  return s.observe(e, {
1174
1144
  // Listen to option element changes
@@ -1185,157 +1155,157 @@ function is(e, t) {
1185
1155
  };
1186
1156
  });
1187
1157
  }
1188
- function yn(e, t, r = t) {
1158
+ function hi(e, t, r = t) {
1189
1159
  var s = !0;
1190
- ve(e, "change", () => {
1191
- var n;
1160
+ de(e, "change", () => {
1161
+ var i;
1192
1162
  if (e.multiple)
1193
- n = [].map.call(e.querySelectorAll(":checked"), ce);
1163
+ i = [].map.call(e.querySelectorAll(":checked"), oe);
1194
1164
  else {
1195
- var i = e.querySelector(":checked");
1196
- n = i && ce(i);
1165
+ var n = e.querySelector(":checked");
1166
+ i = n && oe(n);
1197
1167
  }
1198
- r(n);
1168
+ r(i);
1199
1169
  }), P(() => {
1200
- var n = t();
1201
- if (He(e, n, s), s && n === void 0) {
1202
- var i = e.querySelector(":checked");
1203
- i !== null && (n = ce(i), r(n));
1170
+ var i = t();
1171
+ if (ze(e, i, s), s && i === void 0) {
1172
+ var n = e.querySelector(":checked");
1173
+ n !== null && (i = oe(n), r(i));
1204
1174
  }
1205
- e.__value = n, s = !1;
1206
- }), is(e);
1175
+ e.__value = i, s = !1;
1176
+ }), ts(e);
1207
1177
  }
1208
- function as(e, t) {
1178
+ function rs(e, t) {
1209
1179
  for (var r of e.options)
1210
- r.selected = ~t.indexOf(ce(r));
1180
+ r.selected = ~t.indexOf(oe(r));
1211
1181
  }
1212
- function ce(e) {
1182
+ function oe(e) {
1213
1183
  return "__value" in e ? e.__value : e.value;
1214
1184
  }
1215
- var j, re, _e, Ae, Bt;
1216
- const Ne = class Ne {
1185
+ var z, re, ce, Ae, Pt;
1186
+ const Ee = class Ee {
1217
1187
  /** @param {ResizeObserverOptions} options */
1218
1188
  constructor(t) {
1219
1189
  W(this, Ae);
1220
1190
  /** */
1221
- W(this, j, /* @__PURE__ */ new WeakMap());
1191
+ W(this, z, /* @__PURE__ */ new WeakMap());
1222
1192
  /** @type {ResizeObserver | undefined} */
1223
1193
  W(this, re);
1224
1194
  /** @type {ResizeObserverOptions} */
1225
- W(this, _e);
1226
- fe(this, _e, t);
1195
+ W(this, ce);
1196
+ ae(this, ce, t);
1227
1197
  }
1228
1198
  /**
1229
1199
  * @param {Element} element
1230
1200
  * @param {(entry: ResizeObserverEntry) => any} listener
1231
1201
  */
1232
1202
  observe(t, r) {
1233
- var s = A(this, j).get(t) || /* @__PURE__ */ new Set();
1234
- return s.add(r), A(this, j).set(t, s), rt(this, Ae, Bt).call(this).observe(t, A(this, _e)), () => {
1235
- var n = A(this, j).get(t);
1236
- n.delete(r), n.size === 0 && (A(this, j).delete(t), A(this, re).unobserve(t));
1203
+ var s = A(this, z).get(t) || /* @__PURE__ */ new Set();
1204
+ return s.add(r), A(this, z).set(t, s), st(this, Ae, Pt).call(this).observe(t, A(this, ce)), () => {
1205
+ var i = A(this, z).get(t);
1206
+ i.delete(r), i.size === 0 && (A(this, z).delete(t), A(this, re).unobserve(t));
1237
1207
  };
1238
1208
  }
1239
1209
  };
1240
- j = new WeakMap(), re = new WeakMap(), _e = new WeakMap(), Ae = new WeakSet(), Bt = function() {
1241
- return A(this, re) ?? fe(this, re, new ResizeObserver(
1210
+ z = new WeakMap(), re = new WeakMap(), ce = new WeakMap(), Ae = new WeakSet(), Pt = function() {
1211
+ return A(this, re) ?? ae(this, re, new ResizeObserver(
1242
1212
  /** @param {any} entries */
1243
1213
  (t) => {
1244
1214
  for (var r of t) {
1245
- Ne.entries.set(r.target, r);
1246
- for (var s of A(this, j).get(r.target) || [])
1215
+ Ee.entries.set(r.target, r);
1216
+ for (var s of A(this, z).get(r.target) || [])
1247
1217
  s(r);
1248
1218
  }
1249
1219
  }
1250
1220
  ));
1251
1221
  }, /** @static */
1252
- O(Ne, "entries", /* @__PURE__ */ new WeakMap());
1253
- let le = Ne;
1254
- var fs = /* @__PURE__ */ new le({
1222
+ R(Ee, "entries", /* @__PURE__ */ new WeakMap());
1223
+ let le = Ee;
1224
+ var ss = /* @__PURE__ */ new le({
1255
1225
  box: "content-box"
1256
- }), Ft = /* @__PURE__ */ new le({
1226
+ }), Mt = /* @__PURE__ */ new le({
1257
1227
  box: "border-box"
1258
- }), us = /* @__PURE__ */ new le({
1228
+ }), is = /* @__PURE__ */ new le({
1259
1229
  box: "device-pixel-content-box"
1260
1230
  });
1261
- function wn(e, t, r) {
1262
- var s = t === "contentRect" || t === "contentBoxSize" ? fs : t === "borderBoxSize" ? Ft : us, n = s.observe(
1231
+ function bi(e, t, r) {
1232
+ var s = t === "contentRect" || t === "contentBoxSize" ? ss : t === "borderBoxSize" ? Mt : is, i = s.observe(
1263
1233
  e,
1264
1234
  /** @param {any} entry */
1265
- (i) => r(i[t])
1235
+ (n) => r(n[t])
1266
1236
  );
1267
- z(n);
1237
+ J(i);
1268
1238
  }
1269
- function En(e, t, r) {
1270
- var s = Ft.observe(e, () => r(e[t]));
1271
- P(() => (q(() => r(e[t])), s));
1239
+ function pi(e, t, r) {
1240
+ var s = Mt.observe(e, () => r(e[t]));
1241
+ P(() => (B(() => r(e[t])), s));
1272
1242
  }
1273
1243
  function pt(e, t) {
1274
- return e === t || (e == null ? void 0 : e[Ot]) === t;
1244
+ return e === t || (e == null ? void 0 : e[kt]) === t;
1275
1245
  }
1276
- function mn(e = {}, t, r, s) {
1246
+ function $i(e = {}, t, r, s) {
1277
1247
  return P(() => {
1278
- var n, i;
1279
- return N(() => {
1280
- n = i, i = (s == null ? void 0 : s()) || [], q(() => {
1281
- e !== r(...i) && (t(e, ...i), n && pt(r(...n), e) && t(null, ...n));
1248
+ var i, n;
1249
+ return x(() => {
1250
+ i = n, n = (s == null ? void 0 : s()) || [], B(() => {
1251
+ e !== r(...n) && (t(e, ...n), i && pt(r(...i), e) && t(null, ...i));
1282
1252
  });
1283
1253
  }), () => {
1284
- F(() => {
1285
- i && pt(r(...i), e) && t(null, ...i);
1254
+ K(() => {
1255
+ n && pt(r(...n), e) && t(null, ...n);
1286
1256
  });
1287
1257
  };
1288
1258
  }), e;
1289
1259
  }
1290
- function An(e, t, r, s = r) {
1260
+ function gi(e, t, r, s = r) {
1291
1261
  t.addEventListener("input", () => {
1292
1262
  s(t[e]);
1293
- }), N(() => {
1294
- var n = r();
1295
- if (t[e] !== n)
1296
- if (n == null) {
1297
- var i = t[e];
1298
- s(i);
1263
+ }), x(() => {
1264
+ var i = r();
1265
+ if (t[e] !== i)
1266
+ if (i == null) {
1267
+ var n = t[e];
1268
+ s(n);
1299
1269
  } else
1300
- t[e] = n + "";
1270
+ t[e] = i + "";
1301
1271
  });
1302
1272
  }
1303
- function Nn(e, t, r, s, n) {
1304
- var i = () => {
1273
+ function yi(e, t, r, s, i) {
1274
+ var n = () => {
1305
1275
  s(r[e]);
1306
1276
  };
1307
- r.addEventListener(t, i), n ? N(() => {
1308
- r[e] = n();
1309
- }) : i(), (r === document.body || r === window || r === document) && z(() => {
1310
- r.removeEventListener(t, i);
1277
+ r.addEventListener(t, n), i ? x(() => {
1278
+ r[e] = i();
1279
+ }) : n(), (r === document.body || r === window || r === document) && J(() => {
1280
+ r.removeEventListener(t, n);
1311
1281
  });
1312
1282
  }
1313
- function Tn(e, t) {
1314
- k(e, ["focus", "blur"], () => {
1283
+ function wi(e, t) {
1284
+ C(e, ["focus", "blur"], () => {
1315
1285
  t(e === document.activeElement);
1316
1286
  });
1317
1287
  }
1318
- function xn(e, t, r = t) {
1319
- var s = e === "x", n = () => {
1320
- i = !0, clearTimeout(a), a = setTimeout(f, 100), r(window[s ? "scrollX" : "scrollY"]);
1321
- };
1322
- addEventListener("scroll", n, {
1288
+ function mi(e, t, r = t) {
1289
+ var s = e === "x", i = () => St(() => {
1290
+ n = !0, clearTimeout(a), a = setTimeout(f, 100), r(window[s ? "scrollX" : "scrollY"]);
1291
+ });
1292
+ addEventListener("scroll", i, {
1323
1293
  passive: !0
1324
1294
  });
1325
- var i = !1, a, f = () => {
1326
- i = !1;
1327
- }, c = !0;
1328
- N(() => {
1295
+ var n = !1, a, f = () => {
1296
+ n = !1;
1297
+ }, o = !0;
1298
+ x(() => {
1329
1299
  var u = t();
1330
- c ? c = !1 : !i && u != null && (i = !0, clearTimeout(a), s ? scrollTo(u, window.scrollY) : scrollTo(window.scrollX, u), a = setTimeout(f, 100));
1331
- }), P(n), z(() => {
1332
- removeEventListener("scroll", n);
1300
+ o ? o = !1 : !n && u != null && (n = !0, clearTimeout(a), s ? scrollTo(u, window.scrollY) : scrollTo(window.scrollX, u), a = setTimeout(f, 100));
1301
+ }), P(i), J(() => {
1302
+ removeEventListener("scroll", i);
1333
1303
  });
1334
1304
  }
1335
- function Sn(e, t) {
1336
- k(window, ["resize"], () => t(window[e]));
1305
+ function Ai(e, t) {
1306
+ C(window, ["resize"], () => St(() => t(window[e])));
1337
1307
  }
1338
- function kn(e) {
1308
+ function Ei(e) {
1339
1309
  return function(...t) {
1340
1310
  var r = (
1341
1311
  /** @type {Event} */
@@ -1344,7 +1314,7 @@ function kn(e) {
1344
1314
  r.isTrusted && (e == null || e.apply(this, t));
1345
1315
  };
1346
1316
  }
1347
- function Cn(e) {
1317
+ function Ni(e) {
1348
1318
  return function(...t) {
1349
1319
  var r = (
1350
1320
  /** @type {Event} */
@@ -1353,7 +1323,7 @@ function Cn(e) {
1353
1323
  r.target === this && (e == null || e.apply(this, t));
1354
1324
  };
1355
1325
  }
1356
- function Rn(e) {
1326
+ function xi(e) {
1357
1327
  return function(...t) {
1358
1328
  var r = (
1359
1329
  /** @type {Event} */
@@ -1362,14 +1332,14 @@ function Rn(e) {
1362
1332
  return r.stopPropagation(), e == null ? void 0 : e.apply(this, t);
1363
1333
  };
1364
1334
  }
1365
- function On(e) {
1335
+ function Ti(e) {
1366
1336
  var t = !1;
1367
1337
  return function(...r) {
1368
1338
  if (!t)
1369
1339
  return t = !0, e == null ? void 0 : e.apply(this, r);
1370
1340
  };
1371
1341
  }
1372
- function In(e) {
1342
+ function ki(e) {
1373
1343
  return function(...t) {
1374
1344
  var r = (
1375
1345
  /** @type {Event} */
@@ -1378,7 +1348,7 @@ function In(e) {
1378
1348
  return r.stopImmediatePropagation(), e == null ? void 0 : e.apply(this, t);
1379
1349
  };
1380
1350
  }
1381
- function Ln(e) {
1351
+ function Si(e) {
1382
1352
  return function(...t) {
1383
1353
  var r = (
1384
1354
  /** @type {Event} */
@@ -1387,133 +1357,133 @@ function Ln(e) {
1387
1357
  return r.preventDefault(), e == null ? void 0 : e.apply(this, t);
1388
1358
  };
1389
1359
  }
1390
- function Pn(e = !1) {
1360
+ function Ci(e = !1) {
1391
1361
  const t = (
1392
1362
  /** @type {ComponentContextLegacy} */
1393
1363
  je
1394
1364
  ), r = t.l.u;
1395
1365
  if (!r) return;
1396
- let s = () => kt(t.s);
1366
+ let s = () => xt(t.s);
1397
1367
  if (e) {
1398
- let n = 0, i = (
1368
+ let i = 0, n = (
1399
1369
  /** @type {Record<string, any>} */
1400
1370
  {}
1401
1371
  );
1402
- const a = qe(() => {
1372
+ const a = Ct(() => {
1403
1373
  let f = !1;
1404
- const c = t.s;
1405
- for (const u in c)
1406
- c[u] !== i[u] && (i[u] = c[u], f = !0);
1407
- return f && n++, n;
1374
+ const o = t.s;
1375
+ for (const u in o)
1376
+ o[u] !== n[u] && (n[u] = o[u], f = !0);
1377
+ return f && i++, i;
1408
1378
  });
1409
- s = () => T(a);
1379
+ s = () => S(a);
1410
1380
  }
1411
1381
  r.b.length && yr(() => {
1412
- $t(t, s), at(r.b);
1413
- }), it(() => {
1414
- const n = q(() => r.m.map(wr));
1382
+ $t(t, s), ft(r.b);
1383
+ }), at(() => {
1384
+ const i = B(() => r.m.map(wr));
1415
1385
  return () => {
1416
- for (const i of n)
1417
- typeof i == "function" && i();
1386
+ for (const n of i)
1387
+ typeof n == "function" && n();
1418
1388
  };
1419
- }), r.a.length && it(() => {
1420
- $t(t, s), at(r.a);
1389
+ }), r.a.length && at(() => {
1390
+ $t(t, s), ft(r.a);
1421
1391
  });
1422
1392
  }
1423
1393
  function $t(e, t) {
1424
1394
  if (e.l.s)
1425
- for (const r of e.l.s) T(r);
1395
+ for (const r of e.l.s) S(r);
1426
1396
  t();
1427
1397
  }
1428
- function Dn(e) {
1429
- var t = Q(0);
1398
+ function Oi(e) {
1399
+ var t = ee(0);
1430
1400
  return function() {
1431
- return arguments.length === 1 ? (Se(t, T(t) + 1), arguments[0]) : (T(t), e());
1401
+ return arguments.length === 1 ? (ke(t, S(t) + 1), arguments[0]) : (S(t), e());
1432
1402
  };
1433
1403
  }
1434
- function Mn(e, t) {
1435
- var i;
1404
+ function Ri(e, t) {
1405
+ var n;
1436
1406
  var r = (
1437
1407
  /** @type {Record<string, Function[] | Function>} */
1438
- (i = e.$$events) == null ? void 0 : i[t.type]
1408
+ (n = e.$$events) == null ? void 0 : n[t.type]
1439
1409
  ), s = xe(r) ? r.slice() : r == null ? [] : [r];
1440
- for (var n of s)
1441
- n.call(this, t);
1410
+ for (var i of s)
1411
+ i.call(this, t);
1442
1412
  }
1443
- function Bn(e, t, r) {
1413
+ function Ii(e, t, r) {
1444
1414
  var s;
1445
1415
  e.$$events || (e.$$events = {}), (s = e.$$events)[t] || (s[t] = []), e.$$events[t].push(r);
1446
1416
  }
1447
- function Fn(e) {
1417
+ function Li(e) {
1448
1418
  for (var t in e)
1449
1419
  t in this && (this[t] = e[t]);
1450
1420
  }
1451
- let ue = !1;
1452
- function qn(e, t, r) {
1421
+ let fe = !1;
1422
+ function Pi(e, t, r) {
1453
1423
  const s = r[t] ?? (r[t] = {
1454
1424
  store: null,
1455
- source: se(void 0),
1456
- unsubscribe: Y
1425
+ source: Te(void 0),
1426
+ unsubscribe: q
1457
1427
  });
1458
1428
  if (s.store !== e)
1459
1429
  if (s.unsubscribe(), s.store = e ?? null, e == null)
1460
- s.source.v = void 0, s.unsubscribe = Y;
1430
+ s.source.v = void 0, s.unsubscribe = q;
1461
1431
  else {
1462
- var n = !0;
1463
- s.unsubscribe = Wr(e, (i) => {
1464
- n ? s.source.v = i : Se(s.source, i);
1465
- }), n = !1;
1432
+ var i = !0;
1433
+ s.unsubscribe = Gr(e, (n) => {
1434
+ i ? s.source.v = n : ke(s.source, n);
1435
+ }), i = !1;
1466
1436
  }
1467
- return T(s.source);
1437
+ return S(s.source);
1468
1438
  }
1469
- function zn(e, t, r) {
1439
+ function Mi(e, t, r) {
1470
1440
  let s = r[t];
1471
- return s && s.store !== e && (s.unsubscribe(), s.unsubscribe = Y), e;
1441
+ return s && s.store !== e && (s.unsubscribe(), s.unsubscribe = q), e;
1472
1442
  }
1473
- function os(e, t) {
1443
+ function ns(e, t) {
1474
1444
  return e.set(t), t;
1475
1445
  }
1476
- function Hn(e, t) {
1446
+ function Di(e, t) {
1477
1447
  var r = e[t];
1478
- r.store !== null && os(r.store, r.source.v);
1448
+ r.store !== null && ns(r.store, r.source.v);
1479
1449
  }
1480
- function Yn() {
1450
+ function Bi() {
1481
1451
  const e = {};
1482
- return z(() => {
1452
+ return J(() => {
1483
1453
  for (var t in e)
1484
1454
  e[t].unsubscribe();
1485
1455
  }), e;
1486
1456
  }
1487
- function jn(e, t, r) {
1457
+ function Fi(e, t, r) {
1488
1458
  return e.set(r), t;
1489
1459
  }
1490
- function Kn(e, t, r = 1) {
1460
+ function qi(e, t, r = 1) {
1491
1461
  return e.set(t + r), t;
1492
1462
  }
1493
- function Gn(e, t, r = 1) {
1463
+ function zi(e, t, r = 1) {
1494
1464
  const s = t + r;
1495
1465
  return e.set(s), s;
1496
1466
  }
1497
- function Un() {
1498
- ue = !0;
1467
+ function Hi() {
1468
+ fe = !0;
1499
1469
  }
1500
- function qt(e) {
1501
- var t = ue;
1470
+ function Dt(e) {
1471
+ var t = fe;
1502
1472
  try {
1503
- return ue = !1, [e(), ue];
1473
+ return fe = !1, [e(), fe];
1504
1474
  } finally {
1505
- ue = t;
1475
+ fe = t;
1506
1476
  }
1507
1477
  }
1508
- function Vn(e, t = 1) {
1478
+ function ji(e, t = 1) {
1509
1479
  const r = e();
1510
1480
  return e(r + t), r;
1511
1481
  }
1512
- function Jn(e, t = 1) {
1482
+ function Yi(e, t = 1) {
1513
1483
  const r = e() + t;
1514
1484
  return e(r), r;
1515
1485
  }
1516
- const cs = {
1486
+ const as = {
1517
1487
  get(e, t) {
1518
1488
  if (!e.exclude.includes(t))
1519
1489
  return e.props[t];
@@ -1537,19 +1507,19 @@ const cs = {
1537
1507
  }
1538
1508
  };
1539
1509
  // @__NO_SIDE_EFFECTS__
1540
- function Wn(e, t, r) {
1510
+ function Ki(e, t, r) {
1541
1511
  return new Proxy(
1542
1512
  { props: e, exclude: t },
1543
- cs
1513
+ as
1544
1514
  );
1545
1515
  }
1546
- const ls = {
1516
+ const fs = {
1547
1517
  get(e, t) {
1548
1518
  if (!e.exclude.includes(t))
1549
- return T(e.version), t in e.special ? e.special[t]() : e.props[t];
1519
+ return S(e.version), t in e.special ? e.special[t]() : e.props[t];
1550
1520
  },
1551
1521
  set(e, t, r) {
1552
- return t in e.special || (e.special[t] = ds(
1522
+ return t in e.special || (e.special[t] = ls(
1553
1523
  {
1554
1524
  get [t]() {
1555
1525
  return e.props[t];
@@ -1557,8 +1527,8 @@ const ls = {
1557
1527
  },
1558
1528
  /** @type {string} */
1559
1529
  t,
1560
- It
1561
- )), e.special[t](r), ft(e.version), !0;
1530
+ Ot
1531
+ )), e.special[t](r), ut(e.version), !0;
1562
1532
  },
1563
1533
  getOwnPropertyDescriptor(e, t) {
1564
1534
  if (!e.exclude.includes(t) && t in e.props)
@@ -1569,7 +1539,7 @@ const ls = {
1569
1539
  };
1570
1540
  },
1571
1541
  deleteProperty(e, t) {
1572
- return e.exclude.includes(t) || (e.exclude.push(t), ft(e.version)), !0;
1542
+ return e.exclude.includes(t) || (e.exclude.push(t), ut(e.version)), !0;
1573
1543
  },
1574
1544
  has(e, t) {
1575
1545
  return e.exclude.includes(t) ? !1 : t in e.props;
@@ -1578,10 +1548,10 @@ const ls = {
1578
1548
  return Reflect.ownKeys(e.props).filter((t) => !e.exclude.includes(t));
1579
1549
  }
1580
1550
  };
1581
- function Xn(e, t) {
1582
- return new Proxy({ props: e, exclude: t, special: {}, version: Q(0) }, ls);
1551
+ function Ui(e, t) {
1552
+ return new Proxy({ props: e, exclude: t, special: {}, version: ee(0) }, fs);
1583
1553
  }
1584
- const _s = {
1554
+ const us = {
1585
1555
  get(e, t) {
1586
1556
  let r = e.props.length;
1587
1557
  for (; r--; ) {
@@ -1592,11 +1562,11 @@ const _s = {
1592
1562
  set(e, t, r) {
1593
1563
  let s = e.props.length;
1594
1564
  for (; s--; ) {
1595
- let n = e.props[s];
1596
- te(n) && (n = n());
1597
- const i = ie(n, t);
1598
- if (i && i.set)
1599
- return i.set(r), !0;
1565
+ let i = e.props[s];
1566
+ te(i) && (i = i());
1567
+ const n = ie(i, t);
1568
+ if (n && n.set)
1569
+ return n.set(r), !0;
1600
1570
  }
1601
1571
  return !1;
1602
1572
  },
@@ -1605,8 +1575,8 @@ const _s = {
1605
1575
  for (; r--; ) {
1606
1576
  let s = e.props[r];
1607
1577
  if (te(s) && (s = s()), typeof s == "object" && s !== null && t in s) {
1608
- const n = ie(s, t);
1609
- return n && !n.configurable && (n.configurable = !0), n;
1578
+ const i = ie(s, t);
1579
+ return i && !i.configurable && (i.configurable = !0), i;
1610
1580
  }
1611
1581
  }
1612
1582
  },
@@ -1625,123 +1595,105 @@ const _s = {
1625
1595
  return t;
1626
1596
  }
1627
1597
  };
1628
- function Zn(...e) {
1629
- return new Proxy({ props: e }, _s);
1598
+ function Gi(...e) {
1599
+ return new Proxy({ props: e }, us);
1630
1600
  }
1631
- function gt(e) {
1632
- for (var t = ee, r = ee; t !== null && !(t.f & (xr | Sr)); )
1601
+ function os(e) {
1602
+ for (var t = G, r = G; t !== null && !(t.f & (xr | Tr)); )
1633
1603
  t = t.parent;
1634
1604
  try {
1635
- return ne(t), e();
1605
+ return U(t), e();
1636
1606
  } finally {
1637
- ne(r);
1607
+ U(r);
1638
1608
  }
1639
1609
  }
1640
- function ds(e, t, r, s) {
1641
- var C;
1642
- var n = (r & kr) !== 0, i = (r & Cr) !== 0, a = (r & Rr) !== 0, f = (r & Lr) !== 0, c = !1, u;
1643
- a ? [u, c] = qt(() => (
1610
+ function ls(e, t, r, s) {
1611
+ var y;
1612
+ var i = (r & kr) !== 0, n = !Sr, a = (r & Cr) !== 0, f = (r & Or) !== 0, o = !1, u;
1613
+ a ? [u, o] = Dt(() => (
1644
1614
  /** @type {V} */
1645
1615
  e[t]
1646
1616
  )) : u = /** @type {V} */
1647
1617
  e[t];
1648
- var l = (C = ie(e, t)) == null ? void 0 : C.set, o = (
1618
+ var l = (y = ie(e, t)) == null ? void 0 : y.set, c = (
1649
1619
  /** @type {V} */
1650
1620
  s
1651
- ), h = !0, v = !1, g = () => (v = !0, h && (h = !1, f ? o = q(
1621
+ ), _ = !0, p = !1, v = () => (p = !0, _ && (_ = !1, f ? c = B(
1652
1622
  /** @type {() => V} */
1653
1623
  s
1654
- ) : o = /** @type {V} */
1655
- s), o);
1656
- u === void 0 && s !== void 0 && (l && i && Er(), u = g(), l && l(u));
1657
- var p;
1658
- if (i)
1659
- p = () => {
1660
- var E = (
1661
- /** @type {V} */
1662
- e[t]
1663
- );
1664
- return E === void 0 ? g() : (h = !0, v = !1, E);
1665
- };
1666
- else {
1667
- var y = gt(
1668
- () => (n ? qe : Or)(() => (
1669
- /** @type {V} */
1670
- e[t]
1671
- ))
1624
+ ) : c = /** @type {V} */
1625
+ s), c);
1626
+ u === void 0 && s !== void 0 && (l && n && mr(), u = v(), l && l(u));
1627
+ var w;
1628
+ if (w = () => {
1629
+ var E = (
1630
+ /** @type {V} */
1631
+ e[t]
1672
1632
  );
1673
- y.f |= mr, p = () => {
1674
- var E = T(y);
1675
- return E !== void 0 && (o = /** @type {V} */
1676
- void 0), E === void 0 ? o : E;
1677
- };
1678
- }
1679
- if (!(r & It))
1680
- return p;
1633
+ return E === void 0 ? v() : (_ = !0, p = !1, E);
1634
+ }, !(r & Ot))
1635
+ return w;
1681
1636
  if (l) {
1682
- var d = e.$$legacy;
1683
- return function(E, S) {
1684
- return arguments.length > 0 ? ((!i || !S || d || c) && l(S ? p() : E), E) : p();
1637
+ var b = e.$$legacy;
1638
+ return function(E, T) {
1639
+ return arguments.length > 0 ? ((!T || b || o) && l(T ? w() : E), E) : w();
1685
1640
  };
1686
1641
  }
1687
- var _ = !1, b = !1, w = se(u), m = gt(
1688
- () => qe(() => {
1689
- var E = p(), S = T(w), D = (
1690
- /** @type {Derived} */
1691
- Ct
1692
- );
1693
- return _ || E === void 0 && D.f & Ir ? (_ = !1, b = !0, S) : (b = !1, w.v = E);
1642
+ var d = !1, h = !1, m = Te(u), $ = os(
1643
+ () => Ct(() => {
1644
+ var E = w(), T = S(m);
1645
+ return d ? (d = !1, h = !0, T) : (h = !1, m.v = E);
1694
1646
  })
1695
1647
  );
1696
- return n || (m.equals = Ar), function(E, S) {
1697
- if (Nr && (_ = b, p(), T(w)), arguments.length > 0) {
1698
- const D = S ? T(m) : i && a ? Tr(E) : E;
1699
- return m.equals(D) || (_ = !0, Se(w, D), v && o !== void 0 && (o = D), q(() => T(m))), E;
1648
+ return i || ($.equals = Ar), function(E, T) {
1649
+ if (Er && (d = h, w(), S(m)), arguments.length > 0) {
1650
+ const N = T ? S($) : a ? Nr(E) : E;
1651
+ return $.equals(N) || (d = !0, ke(m, N), p && c !== void 0 && (c = N), B(() => S($))), E;
1700
1652
  }
1701
- return T(m);
1653
+ return S($);
1702
1654
  };
1703
1655
  }
1704
- function Qn(e, t) {
1705
- N(() => {
1706
- const r = /* @__PURE__ */ new Map(), s = e(), n = xe(s) ? s : s == null ? [] : Array.from(s), i = n.length;
1707
- for (let a = 0; a < i; a++) {
1708
- const f = t(n[a], a);
1656
+ function Vi(e, t) {
1657
+ x(() => {
1658
+ const r = /* @__PURE__ */ new Map(), s = e(), i = xe(s) ? s : s == null ? [] : Array.from(s), n = i.length;
1659
+ for (let a = 0; a < n; a++) {
1660
+ const f = t(i[a], a);
1709
1661
  if (r.has(f)) {
1710
1662
  String(r.get(f));
1711
- let c = String(n[a]);
1712
- c.startsWith("[object ") && (c = null), Br();
1663
+ let o = String(f);
1664
+ o.startsWith("[object ") && (o = null), Pr();
1713
1665
  }
1714
1666
  r.set(f, a);
1715
1667
  }
1716
1668
  });
1717
1669
  }
1718
- function ei(e, t, r, s) {
1719
- var i;
1670
+ function Ji(e, t, r, s) {
1671
+ var n;
1720
1672
  for (const a in e) {
1721
- var n = (i = ie(e, a)) == null ? void 0 : i.set;
1722
- s.name, n && (r.includes(a) && Pr(s[V]), t.includes(a) || Dr(a, s[V]));
1673
+ var i = (n = ie(e, a)) == null ? void 0 : n.set;
1674
+ s.name, i && (r.includes(a) && Rr(s[Y]), t.includes(a) || Ir(a, s[Y]));
1723
1675
  }
1724
1676
  }
1725
- function ti(e, t, r, s, n) {
1677
+ function Wi(e, t, r, s, i) {
1726
1678
  var a;
1727
- var i = !1;
1728
- (a = Mr) == null || a[V], N(() => {
1729
- if (!i) {
1730
- var [f, c] = qt(t);
1731
- if (!c) {
1732
- var u = r(), l = !1, o = N(() => {
1679
+ var n = !1;
1680
+ (a = Lr) == null || a[Y], x(() => {
1681
+ if (!n) {
1682
+ var [f, o] = Dt(t);
1683
+ if (!o) {
1684
+ var u = r(), l = !1, c = x(() => {
1733
1685
  l || f[u];
1734
1686
  });
1735
- l = !0, o.deps === null && (Fr(), i = !0);
1687
+ l = !0, c.deps === null && (Mr(), n = !0);
1736
1688
  }
1737
1689
  }
1738
1690
  });
1739
1691
  }
1740
- function vs(e) {
1741
- return new hs(e);
1692
+ function cs(e) {
1693
+ return new _s(e);
1742
1694
  }
1743
1695
  var M, I;
1744
- class hs {
1696
+ class _s {
1745
1697
  /**
1746
1698
  * @param {ComponentConstructorOptions & {
1747
1699
  * component: any;
@@ -1752,34 +1704,35 @@ class hs {
1752
1704
  W(this, M);
1753
1705
  /** @type {Record<string, any>} */
1754
1706
  W(this, I);
1755
- var i;
1707
+ var n;
1756
1708
  var r = /* @__PURE__ */ new Map(), s = (a, f) => {
1757
- var c = se(f);
1758
- return r.set(a, c), c;
1709
+ var o = Te(f);
1710
+ return r.set(a, o), o;
1759
1711
  };
1760
- const n = new Proxy(
1712
+ const i = new Proxy(
1761
1713
  { ...t.props || {}, $$events: {} },
1762
1714
  {
1763
1715
  get(a, f) {
1764
- return T(r.get(f) ?? s(f, Reflect.get(a, f)));
1716
+ return S(r.get(f) ?? s(f, Reflect.get(a, f)));
1765
1717
  },
1766
1718
  has(a, f) {
1767
- return T(r.get(f) ?? s(f, Reflect.get(a, f))), Reflect.has(a, f);
1719
+ return S(r.get(f) ?? s(f, Reflect.get(a, f))), Reflect.has(a, f);
1768
1720
  },
1769
- set(a, f, c) {
1770
- return Se(r.get(f) ?? s(f, c), c), Reflect.set(a, f, c);
1721
+ set(a, f, o) {
1722
+ return ke(r.get(f) ?? s(f, o), o), Reflect.set(a, f, o);
1771
1723
  }
1772
1724
  }
1773
1725
  );
1774
- fe(this, I, (t.hydrate ? qr : zr)(t.component, {
1726
+ ae(this, I, (t.hydrate ? Dr : Br)(t.component, {
1775
1727
  target: t.target,
1776
- props: n,
1728
+ anchor: t.anchor,
1729
+ props: i,
1777
1730
  context: t.context,
1778
1731
  intro: t.intro ?? !1,
1779
1732
  recover: t.recover
1780
- })), (!((i = t == null ? void 0 : t.props) != null && i.$$host) || t.sync === !1) && Et(), fe(this, M, n.$$events);
1733
+ })), (!((n = t == null ? void 0 : t.props) != null && n.$$host) || t.sync === !1) && yt(), ae(this, M, i.$$events);
1781
1734
  for (const a of Object.keys(A(this, I)))
1782
- a === "$set" || a === "$destroy" || a === "$on" || ze(this, a, {
1735
+ a === "$set" || a === "$destroy" || a === "$on" || qe(this, a, {
1783
1736
  get() {
1784
1737
  return A(this, I)[a];
1785
1738
  },
@@ -1791,9 +1744,9 @@ class hs {
1791
1744
  });
1792
1745
  A(this, I).$set = /** @param {Record<string, any>} next */
1793
1746
  (a) => {
1794
- Object.assign(n, a);
1747
+ Object.assign(i, a);
1795
1748
  }, A(this, I).$destroy = () => {
1796
- Hr(A(this, I));
1749
+ Fr(A(this, I));
1797
1750
  };
1798
1751
  }
1799
1752
  /** @param {Record<string, any>} props */
@@ -1807,11 +1760,11 @@ class hs {
1807
1760
  */
1808
1761
  $on(t, r) {
1809
1762
  A(this, M)[t] = A(this, M)[t] || [];
1810
- const s = (...n) => r.call(this, ...n);
1763
+ const s = (...i) => r.call(this, ...i);
1811
1764
  return A(this, M)[t].push(s), () => {
1812
1765
  A(this, M)[t] = A(this, M)[t].filter(
1813
1766
  /** @param {any} fn */
1814
- (n) => n !== s
1767
+ (i) => i !== s
1815
1768
  );
1816
1769
  };
1817
1770
  }
@@ -1820,8 +1773,8 @@ class hs {
1820
1773
  }
1821
1774
  }
1822
1775
  M = new WeakMap(), I = new WeakMap();
1823
- let zt;
1824
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1776
+ let Bt;
1777
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
1825
1778
  /**
1826
1779
  * @param {*} $$componentCtor
1827
1780
  * @param {*} $$slots
@@ -1830,25 +1783,25 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1830
1783
  constructor(t, r, s) {
1831
1784
  super();
1832
1785
  /** The Svelte component constructor */
1833
- O(this, "$$ctor");
1786
+ R(this, "$$ctor");
1834
1787
  /** Slots */
1835
- O(this, "$$s");
1788
+ R(this, "$$s");
1836
1789
  /** @type {any} The Svelte component instance */
1837
- O(this, "$$c");
1790
+ R(this, "$$c");
1838
1791
  /** Whether or not the custom element is connected */
1839
- O(this, "$$cn", !1);
1792
+ R(this, "$$cn", !1);
1840
1793
  /** @type {Record<string, any>} Component props data */
1841
- O(this, "$$d", {});
1794
+ R(this, "$$d", {});
1842
1795
  /** `true` if currently in the process of reflecting component props back to attributes */
1843
- O(this, "$$r", !1);
1796
+ R(this, "$$r", !1);
1844
1797
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
1845
- O(this, "$$p_d", {});
1798
+ R(this, "$$p_d", {});
1846
1799
  /** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
1847
- O(this, "$$l", {});
1800
+ R(this, "$$l", {});
1848
1801
  /** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
1849
- O(this, "$$l_u", /* @__PURE__ */ new Map());
1802
+ R(this, "$$l_u", /* @__PURE__ */ new Map());
1850
1803
  /** @type {any} The managed render effect for reflecting attributes */
1851
- O(this, "$$me");
1804
+ R(this, "$$me");
1852
1805
  this.$$ctor = t, this.$$s = r, s && this.attachShadow({ mode: "open" });
1853
1806
  }
1854
1807
  /**
@@ -1858,8 +1811,8 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1858
1811
  */
1859
1812
  addEventListener(t, r, s) {
1860
1813
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
1861
- const n = this.$$c.$on(t, r);
1862
- this.$$l_u.set(r, n);
1814
+ const i = this.$$c.$on(t, r);
1815
+ this.$$l_u.set(r, i);
1863
1816
  }
1864
1817
  super.addEventListener(t, r, s);
1865
1818
  }
@@ -1870,30 +1823,30 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1870
1823
  */
1871
1824
  removeEventListener(t, r, s) {
1872
1825
  if (super.removeEventListener(t, r, s), this.$$c) {
1873
- const n = this.$$l_u.get(r);
1874
- n && (n(), this.$$l_u.delete(r));
1826
+ const i = this.$$l_u.get(r);
1827
+ i && (i(), this.$$l_u.delete(r));
1875
1828
  }
1876
1829
  }
1877
1830
  async connectedCallback() {
1878
1831
  if (this.$$cn = !0, !this.$$c) {
1879
- let t = function(n) {
1880
- return (i) => {
1832
+ let t = function(i) {
1833
+ return (n) => {
1881
1834
  const a = document.createElement("slot");
1882
- n !== "default" && (a.name = n), jr(i, a);
1835
+ i !== "default" && (a.name = i), zr(n, a);
1883
1836
  };
1884
1837
  };
1885
1838
  if (await Promise.resolve(), !this.$$cn || this.$$c)
1886
1839
  return;
1887
- const r = {}, s = bs(this);
1888
- for (const n of this.$$s)
1889
- n in s && (n === "default" && !this.$$d.children ? (this.$$d.children = t(n), r.default = !0) : r[n] = t(n));
1890
- for (const n of this.attributes) {
1891
- const i = this.$$g_p(n.name);
1892
- i in this.$$d || (this.$$d[i] = $e(i, n.value, this.$$p_d, "toProp"));
1840
+ const r = {}, s = ds(this);
1841
+ for (const i of this.$$s)
1842
+ i in s && (i === "default" && !this.$$d.children ? (this.$$d.children = t(i), r.default = !0) : r[i] = t(i));
1843
+ for (const i of this.attributes) {
1844
+ const n = this.$$g_p(i.name);
1845
+ n in this.$$d || (this.$$d[n] = $e(n, i.value, this.$$p_d, "toProp"));
1893
1846
  }
1894
- for (const n in this.$$p_d)
1895
- !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
1896
- this.$$c = vs({
1847
+ for (const i in this.$$p_d)
1848
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
1849
+ this.$$c = cs({
1897
1850
  component: this.$$ctor,
1898
1851
  target: this.shadowRoot || this,
1899
1852
  props: {
@@ -1901,28 +1854,28 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1901
1854
  $$slots: r,
1902
1855
  $$host: this
1903
1856
  }
1904
- }), this.$$me = Yr(() => {
1905
- N(() => {
1906
- var n;
1857
+ }), this.$$me = qr(() => {
1858
+ x(() => {
1859
+ var i;
1907
1860
  this.$$r = !0;
1908
- for (const i of we(this.$$c)) {
1909
- if (!((n = this.$$p_d[i]) != null && n.reflect)) continue;
1910
- this.$$d[i] = this.$$c[i];
1861
+ for (const n of ye(this.$$c)) {
1862
+ if (!((i = this.$$p_d[n]) != null && i.reflect)) continue;
1863
+ this.$$d[n] = this.$$c[n];
1911
1864
  const a = $e(
1912
- i,
1913
- this.$$d[i],
1865
+ n,
1866
+ this.$$d[n],
1914
1867
  this.$$p_d,
1915
1868
  "toAttribute"
1916
1869
  );
1917
- a == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, a);
1870
+ a == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, a);
1918
1871
  }
1919
1872
  this.$$r = !1;
1920
1873
  });
1921
1874
  });
1922
- for (const n in this.$$l)
1923
- for (const i of this.$$l[n]) {
1924
- const a = this.$$c.$on(n, i);
1925
- this.$$l_u.set(i, a);
1875
+ for (const i in this.$$l)
1876
+ for (const n of this.$$l[i]) {
1877
+ const a = this.$$c.$on(i, n);
1878
+ this.$$l_u.set(n, a);
1926
1879
  }
1927
1880
  this.$$l = {};
1928
1881
  }
@@ -1935,8 +1888,8 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1935
1888
  * @param {string} newValue
1936
1889
  */
1937
1890
  attributeChangedCallback(t, r, s) {
1938
- var n;
1939
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = $e(t, s, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
1891
+ var i;
1892
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = $e(t, s, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
1940
1893
  }
1941
1894
  disconnectedCallback() {
1942
1895
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -1947,18 +1900,18 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
1947
1900
  * @param {string} attribute_name
1948
1901
  */
1949
1902
  $$g_p(t) {
1950
- return we(this.$$p_d).find(
1903
+ return ye(this.$$p_d).find(
1951
1904
  (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
1952
1905
  ) || t;
1953
1906
  }
1954
1907
  });
1955
1908
  function $e(e, t, r, s) {
1956
- var i;
1957
- const n = (i = r[e]) == null ? void 0 : i.type;
1958
- if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !r[e])
1909
+ var n;
1910
+ const i = (n = r[e]) == null ? void 0 : n.type;
1911
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !r[e])
1959
1912
  return t;
1960
1913
  if (s === "toAttribute")
1961
- switch (n) {
1914
+ switch (i) {
1962
1915
  case "Object":
1963
1916
  case "Array":
1964
1917
  return t == null ? null : JSON.stringify(t);
@@ -1970,7 +1923,7 @@ function $e(e, t, r, s) {
1970
1923
  return t;
1971
1924
  }
1972
1925
  else
1973
- switch (n) {
1926
+ switch (i) {
1974
1927
  case "Object":
1975
1928
  case "Array":
1976
1929
  return t && JSON.parse(t);
@@ -1982,7 +1935,7 @@ function $e(e, t, r, s) {
1982
1935
  return t;
1983
1936
  }
1984
1937
  }
1985
- function bs(e) {
1938
+ function ds(e) {
1986
1939
  const t = {};
1987
1940
  return e.childNodes.forEach((r) => {
1988
1941
  t[
@@ -1991,236 +1944,236 @@ function bs(e) {
1991
1944
  ] = !0;
1992
1945
  }), t;
1993
1946
  }
1994
- function ri(e, t, r, s, n, i) {
1995
- let a = class extends zt {
1947
+ function Xi(e, t, r, s, i, n) {
1948
+ let a = class extends Bt {
1996
1949
  constructor() {
1997
- super(e, r, n), this.$$p_d = t;
1950
+ super(e, r, i), this.$$p_d = t;
1998
1951
  }
1999
1952
  static get observedAttributes() {
2000
- return we(t).map(
1953
+ return ye(t).map(
2001
1954
  (f) => (t[f].attribute || f).toLowerCase()
2002
1955
  );
2003
1956
  }
2004
1957
  };
2005
- return we(t).forEach((f) => {
2006
- ze(a.prototype, f, {
1958
+ return ye(t).forEach((f) => {
1959
+ qe(a.prototype, f, {
2007
1960
  get() {
2008
1961
  return this.$$c && f in this.$$c ? this.$$c[f] : this.$$d[f];
2009
1962
  },
2010
- set(c) {
2011
- var o;
2012
- c = $e(f, c, t), this.$$d[f] = c;
1963
+ set(o) {
1964
+ var c;
1965
+ o = $e(f, o, t), this.$$d[f] = o;
2013
1966
  var u = this.$$c;
2014
1967
  if (u) {
2015
- var l = (o = ie(u, f)) == null ? void 0 : o.get;
2016
- l ? u[f] = c : u.$set({ [f]: c });
1968
+ var l = (c = ie(u, f)) == null ? void 0 : c.get;
1969
+ l ? u[f] = o : u.$set({ [f]: o });
2017
1970
  }
2018
1971
  }
2019
1972
  });
2020
1973
  }), s.forEach((f) => {
2021
- ze(a.prototype, f, {
1974
+ qe(a.prototype, f, {
2022
1975
  get() {
2023
- var c;
2024
- return (c = this.$$c) == null ? void 0 : c[f];
1976
+ var o;
1977
+ return (o = this.$$c) == null ? void 0 : o[f];
2025
1978
  }
2026
1979
  });
2027
- }), i && (a = i(a)), e.element = /** @type {any} */
1980
+ }), n && (a = n(a)), e.element = /** @type {any} */
2028
1981
  a, a;
2029
1982
  }
2030
- function si(e) {
1983
+ function Zi(e) {
2031
1984
  const t = e();
2032
- t && Kr(t) && Zr();
1985
+ t && Hr(t) && Jr();
2033
1986
  }
2034
- function ni(e) {
1987
+ function Qi(e) {
2035
1988
  const t = e();
2036
- t && !(typeof t == "string") && Gr();
1989
+ t && !(typeof t == "string") && jr();
2037
1990
  }
2038
- function ii(e, t) {
2039
- e != null && typeof e.subscribe != "function" && Ur();
1991
+ function en(e, t) {
1992
+ e != null && typeof e.subscribe != "function" && Yr();
2040
1993
  }
2041
- function ai(e, ...t) {
2042
- return q(() => {
1994
+ function tn(e, ...t) {
1995
+ return B(() => {
2043
1996
  try {
2044
1997
  let r = !1;
2045
1998
  const s = [];
2046
- for (const n of t)
2047
- n && typeof n == "object" && Ot in n ? (s.push(Pt(n, !0)), r = !0) : s.push(n);
2048
- r && (Vr(e), console.log("%c[snapshot]", "color: grey", ...s));
1999
+ for (const i of t)
2000
+ i && typeof i == "object" && kt in i ? (s.push(It(i, !0)), r = !0) : s.push(i);
2001
+ r && (Kr(e), console.log("%c[snapshot]", "color: grey", ...s));
2049
2002
  } catch {
2050
2003
  }
2051
2004
  }), t;
2052
2005
  }
2053
2006
  export {
2054
- oi as ADD_OWNER,
2055
- V as FILENAME,
2056
- Gt as HMR,
2057
- fr as NAMESPACE_SVG,
2058
- Fs as action,
2059
- Bn as add_legacy_event_listener,
2060
- Es as add_locations,
2061
- ci as add_owner,
2062
- li as add_owner_effect,
2063
- Qs as animation,
2064
- jr as append,
2065
- Bs as append_styles,
2066
- _i as apply,
2067
- rs as autofocus,
2068
- xs as await,
2069
- tn as bind_active_element,
2070
- un as bind_buffered,
2071
- nn as bind_checked,
2072
- An as bind_content_editable,
2073
- fn as bind_current_time,
2074
- En as bind_element_size,
2075
- _n as bind_ended,
2076
- an as bind_files,
2077
- Tn as bind_focused,
2078
- sn as bind_group,
2079
- pn as bind_muted,
2080
- $n as bind_online,
2081
- hn as bind_paused,
2082
- vn as bind_playback_rate,
2083
- cn as bind_played,
2084
- gn as bind_prop,
2085
- Nn as bind_property,
2086
- dn as bind_ready_state,
2087
- wn as bind_resize_observer,
2088
- on as bind_seekable,
2089
- ln as bind_seeking,
2090
- yn as bind_select_value,
2091
- mn as bind_this,
2092
- rn as bind_value,
2093
- bn as bind_volume,
2094
- xn as bind_window_scroll,
2095
- Sn as bind_window_size,
2096
- Mn as bubble_event,
2097
- As as check_target,
2098
- di as child,
2099
- ws as cleanup_styles,
2100
- vi as comment,
2101
- Ds as component,
2102
- ri as create_custom_element,
2103
- Cs as css_props,
2104
- hi as deep_read,
2105
- kt as deep_read_state,
2106
- cr as delegate,
2107
- qe as derived,
2108
- Or as derived_safe_equal,
2109
- bi as document,
2110
- Os as each,
2007
+ nn as ADD_OWNER,
2008
+ Y as FILENAME,
2009
+ jt as HMR,
2010
+ nr as NAMESPACE_SVG,
2011
+ Ms as action,
2012
+ Ii as add_legacy_event_listener,
2013
+ gs as add_locations,
2014
+ an as add_owner,
2015
+ fn as add_owner_effect,
2016
+ Js as animation,
2017
+ zr as append,
2018
+ Ps as append_styles,
2019
+ un as apply,
2020
+ lr as autofocus,
2021
+ Es as await,
2022
+ Xs as bind_active_element,
2023
+ si as bind_buffered,
2024
+ ei as bind_checked,
2025
+ gi as bind_content_editable,
2026
+ ri as bind_current_time,
2027
+ pi as bind_element_size,
2028
+ fi as bind_ended,
2029
+ ti as bind_files,
2030
+ wi as bind_focused,
2031
+ Qs as bind_group,
2032
+ _i as bind_muted,
2033
+ di as bind_online,
2034
+ li as bind_paused,
2035
+ oi as bind_playback_rate,
2036
+ ni as bind_played,
2037
+ vi as bind_prop,
2038
+ yi as bind_property,
2039
+ ui as bind_ready_state,
2040
+ bi as bind_resize_observer,
2041
+ ii as bind_seekable,
2042
+ ai as bind_seeking,
2043
+ hi as bind_select_value,
2044
+ $i as bind_this,
2045
+ Zs as bind_value,
2046
+ ci as bind_volume,
2047
+ mi as bind_window_scroll,
2048
+ Ai as bind_window_size,
2049
+ Ri as bubble_event,
2050
+ ws as check_target,
2051
+ on as child,
2052
+ $s as cleanup_styles,
2053
+ ln as comment,
2054
+ Is as component,
2055
+ Xi as create_custom_element,
2056
+ Ts as css_props,
2057
+ cn as deep_read,
2058
+ xt as deep_read_state,
2059
+ or as delegate,
2060
+ Ct as derived,
2061
+ _n as derived_safe_equal,
2062
+ dn as document,
2063
+ Ss as each,
2111
2064
  P as effect,
2112
- Yr as effect_root,
2113
- pi as effect_tracking,
2114
- Ms as element,
2115
- $i as equals,
2116
- gi as event,
2117
- yi as exclude_from_object,
2118
- wi as fallback,
2119
- Ei as first_child,
2120
- Et as flush_sync,
2121
- T as get,
2122
- mi as getAllContexts,
2123
- Ai as getContext,
2124
- Us as handle_lazy_img,
2125
- Ni as hasContext,
2126
- Ti as head,
2127
- ms as hmr,
2128
- Is as html,
2129
- xi as hydrate_template,
2130
- Ss as if,
2131
- Rs as index,
2132
- Pn as init,
2133
- is as init_select,
2134
- Ts as inspect,
2135
- Si as invalid_default_snippet,
2136
- ki as invalidate_inner_signals,
2137
- Hn as invalidate_store,
2138
- ks as key,
2139
- Ns as legacy_api,
2140
- Ci as legacy_pre_effect,
2141
- Ri as legacy_pre_effect_reset,
2142
- Xn as legacy_rest_props,
2143
- ai as log_if_contains_state,
2144
- Oi as mark_module_end,
2145
- Ii as mark_module_start,
2146
- Un as mark_store_binding,
2147
- Li as mathml_template,
2148
- Pi as mutable_state,
2149
- Di as mutate,
2150
- Mi as next,
2151
- Y as noop,
2152
- Bi as ns_template,
2153
- On as once,
2154
- Fi as pop,
2155
- Ln as preventDefault,
2156
- ds as prop,
2157
- Tr as proxy,
2158
- qi as push,
2159
- fa as raf,
2160
- Dn as reactive_import,
2161
- zs as remove_input_defaults,
2162
- qs as remove_textarea_child,
2163
- N as render_effect,
2164
- zi as replay_events,
2165
- Hi as reset,
2166
- Wn as rest_props,
2167
- Yi as safe_get,
2168
- Ps as sanitize_slots,
2169
- He as select_option,
2170
- Cn as self,
2171
- Se as set,
2172
- ji as setContext,
2173
- Ee as set_attribute,
2174
- Gs as set_attributes,
2175
- Ys as set_checked,
2176
- Ws as set_class,
2177
- Ks as set_custom_element_data,
2178
- Js as set_mathml_class,
2179
- Zs as set_style,
2180
- Vs as set_svg_class,
2181
- Ki as set_text,
2182
- Hs as set_value,
2183
- js as set_xlink_attribute,
2184
- Yn as setup_stores,
2185
- Gi as sibling,
2186
- Ui as skip_ownership_validation,
2187
- Ls as slot,
2188
- Pt as snapshot,
2189
- Vi as snippet,
2190
- Zn as spread_props,
2191
- Ji as state,
2192
- In as stopImmediatePropagation,
2193
- Rn as stopPropagation,
2194
- qn as store_get,
2195
- jn as store_mutate,
2196
- os as store_set,
2197
- zn as store_unsub,
2198
- Wi as strict_equals,
2199
- Xi as svg_template_with_script,
2200
- Zi as template,
2201
- Qi as template_effect,
2202
- ea as template_with_script,
2203
- ta as text,
2204
- ra as tick,
2205
- Xs as toggle_class,
2206
- en as transition,
2207
- kn as trusted,
2208
- q as untrack,
2209
- ft as update,
2210
- Fn as update_legacy_props,
2211
- sa as update_pre,
2212
- Jn as update_pre_prop,
2213
- Gn as update_pre_store,
2214
- Vn as update_prop,
2215
- Kn as update_store,
2216
- it as user_effect,
2065
+ qr as effect_root,
2066
+ vn as effect_tracking,
2067
+ Ls as element,
2068
+ hn as equals,
2069
+ bn as event,
2070
+ pn as exclude_from_object,
2071
+ $n as fallback,
2072
+ gn as first_child,
2073
+ yt as flush_sync,
2074
+ S as get,
2075
+ yn as getAllContexts,
2076
+ wn as getContext,
2077
+ js as handle_lazy_img,
2078
+ mn as hasContext,
2079
+ An as head,
2080
+ ys as hmr,
2081
+ Cs as html,
2082
+ En as hydrate_template,
2083
+ Ns as if,
2084
+ ks as index,
2085
+ Ci as init,
2086
+ ts as init_select,
2087
+ As as inspect,
2088
+ Nn as invalid_default_snippet,
2089
+ xn as invalidate_inner_signals,
2090
+ Di as invalidate_store,
2091
+ xs as key,
2092
+ ms as legacy_api,
2093
+ Tn as legacy_pre_effect,
2094
+ kn as legacy_pre_effect_reset,
2095
+ Ui as legacy_rest_props,
2096
+ tn as log_if_contains_state,
2097
+ Sn as mark_module_end,
2098
+ Cn as mark_module_start,
2099
+ Hi as mark_store_binding,
2100
+ On as mathml_template,
2101
+ Rn as mutable_state,
2102
+ In as mutate,
2103
+ Ln as next,
2104
+ q as noop,
2105
+ Pn as ns_template,
2106
+ Ti as once,
2107
+ Mn as pop,
2108
+ Si as preventDefault,
2109
+ ls as prop,
2110
+ Nr as proxy,
2111
+ Dn as push,
2112
+ na as raf,
2113
+ Oi as reactive_import,
2114
+ Ds as remove_input_defaults,
2115
+ Bn as remove_textarea_child,
2116
+ x as render_effect,
2117
+ Fn as replay_events,
2118
+ qn as reset,
2119
+ Ki as rest_props,
2120
+ zn as safe_get,
2121
+ Rs as sanitize_slots,
2122
+ ze as select_option,
2123
+ Ni as self,
2124
+ ke as set,
2125
+ Hn as setContext,
2126
+ we as set_attribute,
2127
+ Hs as set_attributes,
2128
+ Fs as set_checked,
2129
+ Us as set_class,
2130
+ zs as set_custom_element_data,
2131
+ Ks as set_mathml_class,
2132
+ Vs as set_style,
2133
+ Ys as set_svg_class,
2134
+ jn as set_text,
2135
+ Bs as set_value,
2136
+ qs as set_xlink_attribute,
2137
+ Bi as setup_stores,
2138
+ Yn as sibling,
2139
+ Kn as skip_ownership_validation,
2140
+ Os as slot,
2141
+ It as snapshot,
2142
+ Un as snippet,
2143
+ Gi as spread_props,
2144
+ Gn as state,
2145
+ ki as stopImmediatePropagation,
2146
+ xi as stopPropagation,
2147
+ Pi as store_get,
2148
+ Fi as store_mutate,
2149
+ ns as store_set,
2150
+ Mi as store_unsub,
2151
+ Vn as strict_equals,
2152
+ Jn as svg_template_with_script,
2153
+ Wn as template,
2154
+ Xn as template_effect,
2155
+ Zn as template_with_script,
2156
+ Qn as text,
2157
+ ea as tick,
2158
+ Gs as toggle_class,
2159
+ Ws as transition,
2160
+ Ei as trusted,
2161
+ B as untrack,
2162
+ ut as update,
2163
+ Li as update_legacy_props,
2164
+ ta as update_pre,
2165
+ Yi as update_pre_prop,
2166
+ zi as update_pre_store,
2167
+ ji as update_prop,
2168
+ qi as update_store,
2169
+ at as user_effect,
2217
2170
  yr as user_pre_effect,
2218
- ti as validate_binding,
2219
- ni as validate_dynamic_element_tag,
2220
- Qn as validate_each_keys,
2221
- ei as validate_prop_bindings,
2222
- ii as validate_store,
2223
- si as validate_void_dynamic_element,
2224
- na as window,
2225
- ia as wrap_snippet
2171
+ Wi as validate_binding,
2172
+ Qi as validate_dynamic_element_tag,
2173
+ Vi as validate_each_keys,
2174
+ Ji as validate_prop_bindings,
2175
+ en as validate_store,
2176
+ Zi as validate_void_dynamic_element,
2177
+ ra as window,
2178
+ sa as wrap_snippet
2226
2179
  };