@everymatrix/tournament-card 0.1.5 → 0.1.7

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.
@@ -14,7 +14,7 @@ var fn = (e, t, r) => t in e ? va(e, t, { enumerable: !0, configurable: !0, writ
14
14
  return e;
15
15
  }, Mr = (e, t) => ma(e, ga(t));
16
16
  var W = (e, t, r) => fn(e, typeof t != "symbol" ? t + "" : t, r), hn = (e, t, r) => t.has(e) || si("Cannot " + r);
17
- var h = (e, t, r) => (hn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), P = (e, t, r) => t.has(e) ? si("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), B = (e, t, r, n) => (hn(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), K = (e, t, r) => (hn(e, t, "access private method"), r);
17
+ var h = (e, t, r) => (hn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), P = (e, t, r) => t.has(e) ? si("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), O = (e, t, r, n) => (hn(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), K = (e, t, r) => (hn(e, t, "access private method"), r);
18
18
  var ai = (e, t, r) => new Promise((n, i) => {
19
19
  var s = (u) => {
20
20
  try {
@@ -34,8 +34,8 @@ var ai = (e, t, r) => new Promise((n, i) => {
34
34
  const ya = "5";
35
35
  var Ni, Pi, Li;
36
36
  typeof window != "undefined" && ((Li = (Pi = (Ni = window.__svelte) != null ? Ni : window.__svelte = {}).v) != null ? Li : Pi.v = /* @__PURE__ */ new Set()).add(ya);
37
- const Ea = 1, xa = 2, Di = "[", zn = "[!", Ii = "]", Jt = {}, ae = Symbol(), wa = "http://www.w3.org/1999/xhtml", wn = !1;
38
- var Ta = Array.isArray, Sa = Array.prototype.indexOf, Aa = Array.from, Ur = Object.keys, pr = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, Ha = Object.getOwnPropertyDescriptors, Ma = Object.prototype, Oa = Array.prototype, Ci = Object.getPrototypeOf, oi = Object.isExtensible;
37
+ const Ea = 1, xa = 2, Di = "[", zn = "[!", Ci = "]", Jt = {}, ae = Symbol(), wa = "http://www.w3.org/1999/xhtml", wn = !1;
38
+ var Ta = Array.isArray, Sa = Array.prototype.indexOf, Aa = Array.from, Ur = Object.keys, pr = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, Ha = Object.getOwnPropertyDescriptors, Ma = Object.prototype, Ba = Array.prototype, Ii = Object.getPrototypeOf, oi = Object.isExtensible;
39
39
  const bt = () => {
40
40
  };
41
41
  function Ri(e) {
@@ -48,7 +48,7 @@ function Ui() {
48
48
  });
49
49
  return { promise: r, resolve: e, reject: t };
50
50
  }
51
- const ue = 2, Fr = 4, xr = 8, Fi = 1 << 24, ht = 16, ct = 32, Tt = 64, Xn = 128, Pe = 512, de = 1024, _e = 2048, dt = 4096, et = 8192, lt = 16384, Jr = 32768, Qt = 65536, ui = 1 << 17, Gi = 1 << 18, Ct = 1 << 19, ji = 1 << 20, It = 32768, Tn = 1 << 21, Wn = 1 << 22, yt = 1 << 23, cn = Symbol("$state"), Ba = Symbol("legacy props"), $a = Symbol(""), kt = new class extends Error {
51
+ const ue = 2, Fr = 4, xr = 8, Fi = 1 << 24, ht = 16, ct = 32, Tt = 64, Xn = 128, Pe = 512, de = 1024, _e = 2048, dt = 4096, et = 8192, lt = 16384, Jr = 32768, Qt = 65536, ui = 1 << 17, Gi = 1 << 18, It = 1 << 19, ji = 1 << 20, Ct = 32768, Tn = 1 << 21, Wn = 1 << 22, yt = 1 << 23, cn = Symbol("$state"), Oa = Symbol("legacy props"), $a = Symbol(""), kt = new class extends Error {
52
52
  constructor() {
53
53
  super(...arguments);
54
54
  W(this, "name", "StaleReactionError");
@@ -70,10 +70,10 @@ function La() {
70
70
  function Da(e) {
71
71
  throw new Error("https://svelte.dev/e/effect_orphan");
72
72
  }
73
- function Ia() {
73
+ function Ca() {
74
74
  throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
75
75
  }
76
- function Ca() {
76
+ function Ia() {
77
77
  throw new Error("https://svelte.dev/e/hydration_failed");
78
78
  }
79
79
  function Ra() {
@@ -129,7 +129,7 @@ function Vi(e = !0) {
129
129
  /** @type {Comment} */
130
130
  r.data
131
131
  );
132
- if (n === Ii) {
132
+ if (n === Ci) {
133
133
  if (t === 0) return r;
134
134
  t -= 1;
135
135
  } else (n === Di || n === zn) && (t += 1);
@@ -210,7 +210,7 @@ function Xa() {
210
210
  qi();
211
211
  }
212
212
  function Ji(e) {
213
- var t = C;
213
+ var t = I;
214
214
  if (t === null)
215
215
  return $.f |= yt, e;
216
216
  if (t.f & Jr)
@@ -244,7 +244,7 @@ function Jn(e) {
244
244
  function Qi(e) {
245
245
  if (e !== null)
246
246
  for (const t of e)
247
- !(t.f & ue) || !(t.f & It) || (t.f ^= It, Qi(
247
+ !(t.f & ue) || !(t.f & Ct) || (t.f ^= Ct, Qi(
248
248
  /** @type {Derived} */
249
249
  t.deps
250
250
  ));
@@ -252,12 +252,12 @@ function Qi(e) {
252
252
  function Ki(e, t, r) {
253
253
  e.f & _e ? t.add(e) : e.f & dt && r.add(e), Qi(e.deps), se(e, de);
254
254
  }
255
- const Or = /* @__PURE__ */ new Set();
255
+ const Br = /* @__PURE__ */ new Set();
256
256
  let G = null, oe = null, Ne = [], en = null, Sn = !1, hr = !1;
257
- var Yt, zt, Mt, Ot, _r, Xt, Wt, Ie, An, Hn, es, ts;
257
+ var Yt, zt, Mt, Bt, _r, Xt, Wt, Ce, An, Hn, es, ts;
258
258
  const Wr = class Wr {
259
259
  constructor() {
260
- P(this, Ie);
260
+ P(this, Ce);
261
261
  W(this, "committed", !1);
262
262
  /**
263
263
  * The current values of any sources that are updated in this batch
@@ -289,7 +289,7 @@ const Wr = class Wr {
289
289
  /**
290
290
  * The number of async effects that are currently in flight, _not_ inside a pending boundary
291
291
  */
292
- P(this, Ot, 0);
292
+ P(this, Bt, 0);
293
293
  /**
294
294
  * A deferred that resolves when the batch is committed, used with `settled()`
295
295
  * TODO replace with Promise.withResolvers once supported widely enough
@@ -315,7 +315,7 @@ const Wr = class Wr {
315
315
  W(this, "is_fork", !1);
316
316
  }
317
317
  is_deferred() {
318
- return this.is_fork || h(this, Ot) > 0;
318
+ return this.is_fork || h(this, Bt) > 0;
319
319
  }
320
320
  /**
321
321
  *
@@ -326,8 +326,8 @@ const Wr = class Wr {
326
326
  Ne = [], this.apply();
327
327
  var r = [], n = [];
328
328
  for (const s of t)
329
- K(this, Ie, An).call(this, s, r, n);
330
- this.is_fork || K(this, Ie, es).call(this), this.is_deferred() ? (K(this, Ie, Hn).call(this, n), K(this, Ie, Hn).call(this, r)) : (G = null, li(n), li(r), (i = h(this, _r)) == null || i.resolve()), oe = null;
329
+ K(this, Ce, An).call(this, s, r, n);
330
+ this.is_fork || K(this, Ce, es).call(this), this.is_deferred() ? (K(this, Ce, Hn).call(this, n), K(this, Ce, Hn).call(this, r)) : (G = null, li(n), li(r), (i = h(this, _r)) == null || i.resolve()), oe = null;
331
331
  }
332
332
  /**
333
333
  * Associate a change to a given source with the current
@@ -360,14 +360,14 @@ const Wr = class Wr {
360
360
  * @param {boolean} blocking
361
361
  */
362
362
  increment(t) {
363
- B(this, Mt, h(this, Mt) + 1), t && B(this, Ot, h(this, Ot) + 1);
363
+ O(this, Mt, h(this, Mt) + 1), t && O(this, Bt, h(this, Bt) + 1);
364
364
  }
365
365
  /**
366
366
  *
367
367
  * @param {boolean} blocking
368
368
  */
369
369
  decrement(t) {
370
- B(this, Mt, h(this, Mt) - 1), t && B(this, Ot, h(this, Ot) - 1), this.revive();
370
+ O(this, Mt, h(this, Mt) - 1), t && O(this, Bt, h(this, Bt) - 1), this.revive();
371
371
  }
372
372
  revive() {
373
373
  for (const t of h(this, Xt))
@@ -386,12 +386,12 @@ const Wr = class Wr {
386
386
  }
387
387
  settled() {
388
388
  var t;
389
- return ((t = h(this, _r)) != null ? t : B(this, _r, Ui())).promise;
389
+ return ((t = h(this, _r)) != null ? t : O(this, _r, Ui())).promise;
390
390
  }
391
391
  static ensure() {
392
392
  if (G === null) {
393
393
  const t = G = new Wr();
394
- Or.add(G), hr || Wr.enqueue(() => {
394
+ Br.add(G), hr || Wr.enqueue(() => {
395
395
  G === t && t.flush();
396
396
  });
397
397
  }
@@ -404,7 +404,7 @@ const Wr = class Wr {
404
404
  apply() {
405
405
  }
406
406
  };
407
- Yt = new WeakMap(), zt = new WeakMap(), Mt = new WeakMap(), Ot = new WeakMap(), _r = new WeakMap(), Xt = new WeakMap(), Wt = new WeakMap(), Ie = new WeakSet(), /**
407
+ Yt = new WeakMap(), zt = new WeakMap(), Mt = new WeakMap(), Bt = new WeakMap(), _r = new WeakMap(), Xt = new WeakMap(), Wt = new WeakMap(), Ce = new WeakSet(), /**
408
408
  * Traverse the effect tree, executing effects or stashing
409
409
  * them for later execution as appropriate
410
410
  * @param {Effect} root
@@ -434,17 +434,17 @@ Hn = function(t) {
434
434
  for (var r = 0; r < t.length; r += 1)
435
435
  Ki(t[r], h(this, Xt), h(this, Wt));
436
436
  }, es = function() {
437
- if (h(this, Ot) === 0) {
437
+ if (h(this, Bt) === 0) {
438
438
  for (const t of h(this, Yt)) t();
439
439
  h(this, Yt).clear();
440
440
  }
441
- h(this, Mt) === 0 && K(this, Ie, ts).call(this);
441
+ h(this, Mt) === 0 && K(this, Ce, ts).call(this);
442
442
  }, ts = function() {
443
443
  var i;
444
- if (Or.size > 1) {
444
+ if (Br.size > 1) {
445
445
  this.previous.clear();
446
446
  var t = oe, r = !0;
447
- for (const s of Or) {
447
+ for (const s of Br) {
448
448
  if (s === this) {
449
449
  r = !1;
450
450
  continue;
@@ -470,7 +470,7 @@ Hn = function(t) {
470
470
  if (Ne.length > 0) {
471
471
  G = s, s.apply();
472
472
  for (const f of Ne)
473
- K(i = s, Ie, An).call(i, f, [], []);
473
+ K(i = s, Ce, An).call(i, f, [], []);
474
474
  s.deactivate();
475
475
  }
476
476
  Ne = n;
@@ -478,7 +478,7 @@ Hn = function(t) {
478
478
  }
479
479
  G = null, oe = t;
480
480
  }
481
- this.committed = !0, Or.delete(this);
481
+ this.committed = !0, Br.delete(this);
482
482
  };
483
483
  let Ke = Wr;
484
484
  function ze(e) {
@@ -515,7 +515,7 @@ function rs() {
515
515
  }
516
516
  function Za() {
517
517
  try {
518
- Ia();
518
+ Ca();
519
519
  } catch (e) {
520
520
  er(e, en);
521
521
  }
@@ -586,7 +586,7 @@ function ft(e) {
586
586
  for (var t = en = e; t.parent !== null; ) {
587
587
  t = t.parent;
588
588
  var r = t.f;
589
- if (Sn && t === C && r & ht && !(r & Gi))
589
+ if (Sn && t === I && r & ht && !(r & Gi))
590
590
  return;
591
591
  if (r & (Tt | ct)) {
592
592
  if (!(r & de)) return;
@@ -605,11 +605,11 @@ function qa(e) {
605
605
  })));
606
606
  };
607
607
  }
608
- var Ja = Qt | Ct | Xn;
608
+ var Ja = Qt | It | Xn;
609
609
  function Qa(e, t, r) {
610
610
  new Ka(e, t, r);
611
611
  }
612
- var Se, br, We, Bt, Ze, Oe, ye, qe, at, vt, $t, ot, Nt, Zt, qt, mt, Zr, q, ss, as, Mn, Lr, Dr, On;
612
+ var Se, br, We, Ot, Ze, Be, ye, qe, at, vt, $t, ot, Nt, Zt, qt, mt, Zr, q, ss, as, Mn, Lr, Dr, Bn;
613
613
  class Ka {
614
614
  /**
615
615
  * @param {TemplateNode} node
@@ -628,11 +628,11 @@ class Ka {
628
628
  /** @type {BoundaryProps} */
629
629
  P(this, We);
630
630
  /** @type {((anchor: Node) => void)} */
631
- P(this, Bt);
631
+ P(this, Ot);
632
632
  /** @type {Effect} */
633
633
  P(this, Ze);
634
634
  /** @type {Effect | null} */
635
- P(this, Oe, null);
635
+ P(this, Be, null);
636
636
  /** @type {Effect | null} */
637
637
  P(this, ye, null);
638
638
  /** @type {Effect | null} */
@@ -656,12 +656,12 @@ class Ka {
656
656
  * @type {Source<number> | null}
657
657
  */
658
658
  P(this, mt, null);
659
- P(this, Zr, qa(() => (B(this, mt, Tr(h(this, $t))), () => {
660
- B(this, mt, null);
659
+ P(this, Zr, qa(() => (O(this, mt, Tr(h(this, $t))), () => {
660
+ O(this, mt, null);
661
661
  })));
662
- B(this, Se, t), B(this, We, r), B(this, Bt, n), this.parent = /** @type {Effect} */
663
- C.b, this.is_pending = !!h(this, We).pending, B(this, Ze, Es(() => {
664
- if (C.b = this, j) {
662
+ O(this, Se, t), O(this, We, r), O(this, Ot, n), this.parent = /** @type {Effect} */
663
+ I.b, this.is_pending = !!h(this, We).pending, O(this, Ze, Es(() => {
664
+ if (I.b = this, j) {
665
665
  const s = h(this, br);
666
666
  Zn(), /** @type {Comment} */
667
667
  s.nodeType === wr && /** @type {Comment} */
@@ -669,7 +669,7 @@ class Ka {
669
669
  } else {
670
670
  var i = K(this, q, Mn).call(this);
671
671
  try {
672
- B(this, Oe, st(() => n(i)));
672
+ O(this, Be, st(() => n(i)));
673
673
  } catch (s) {
674
674
  this.error(s);
675
675
  }
@@ -679,7 +679,7 @@ class Ka {
679
679
  var s;
680
680
  (s = h(this, vt)) == null || s.remove();
681
681
  };
682
- }, Ja)), j && B(this, Se, R);
682
+ }, Ja)), j && O(this, Se, R);
683
683
  }
684
684
  /**
685
685
  * Defer an effect inside a pending boundary until the boundary resolves
@@ -705,7 +705,7 @@ class Ka {
705
705
  * @param {1 | -1} d
706
706
  */
707
707
  update_pending_count(t) {
708
- K(this, q, On).call(this, t), B(this, $t, h(this, $t) + t), h(this, mt) && jr(h(this, mt), h(this, $t));
708
+ K(this, q, Bn).call(this, t), O(this, $t, h(this, $t) + t), h(this, mt) && jr(h(this, mt), h(this, $t));
709
709
  }
710
710
  get_effect_pending() {
711
711
  return h(this, Zr).call(this), ce(
@@ -719,7 +719,7 @@ class Ka {
719
719
  let n = h(this, We).failed;
720
720
  if (h(this, Nt) || !r && !n)
721
721
  throw t;
722
- h(this, Oe) && (xe(h(this, Oe)), B(this, Oe, null)), h(this, ye) && (xe(h(this, ye)), B(this, ye, null)), h(this, qe) && (xe(h(this, qe)), B(this, qe, null)), j && (Le(
722
+ h(this, Be) && (xe(h(this, Be)), O(this, Be, null)), h(this, ye) && (xe(h(this, ye)), O(this, ye, null)), h(this, qe) && (xe(h(this, qe)), O(this, qe, null)), j && (Le(
723
723
  /** @type {TemplateNode} */
724
724
  h(this, br)
725
725
  ), ka(), Le(Vi()));
@@ -729,9 +729,9 @@ class Ka {
729
729
  ja();
730
730
  return;
731
731
  }
732
- i = !0, s && Ga(), Ke.ensure(), B(this, $t, 0), h(this, qe) !== null && dr(h(this, qe), () => {
733
- B(this, qe, null);
734
- }), this.is_pending = this.has_pending_snippet(), B(this, Oe, K(this, q, Lr).call(this, () => (B(this, Nt, !1), st(() => h(this, Bt).call(this, h(this, Se)))))), h(this, ot) > 0 ? K(this, q, Dr).call(this) : this.is_pending = !1;
732
+ i = !0, s && Ga(), Ke.ensure(), O(this, $t, 0), h(this, qe) !== null && dr(h(this, qe), () => {
733
+ O(this, qe, null);
734
+ }), this.is_pending = this.has_pending_snippet(), O(this, Be, K(this, q, Lr).call(this, () => (O(this, Nt, !1), st(() => h(this, Ot).call(this, h(this, Se)))))), h(this, ot) > 0 ? K(this, q, Dr).call(this) : this.is_pending = !1;
735
735
  };
736
736
  var o = $;
737
737
  try {
@@ -742,8 +742,8 @@ class Ka {
742
742
  he(o);
743
743
  }
744
744
  n && qn(() => {
745
- B(this, qe, K(this, q, Lr).call(this, () => {
746
- Ke.ensure(), B(this, Nt, !0);
745
+ O(this, qe, K(this, q, Lr).call(this, () => {
746
+ Ke.ensure(), O(this, Nt, !0);
747
747
  try {
748
748
  return st(() => {
749
749
  n(
@@ -759,38 +759,38 @@ class Ka {
759
759
  h(this, Ze).parent
760
760
  ), null;
761
761
  } finally {
762
- B(this, Nt, !1);
762
+ O(this, Nt, !1);
763
763
  }
764
764
  }));
765
765
  });
766
766
  }
767
767
  }
768
- Se = new WeakMap(), br = new WeakMap(), We = new WeakMap(), Bt = new WeakMap(), Ze = new WeakMap(), Oe = new WeakMap(), ye = new WeakMap(), qe = new WeakMap(), at = new WeakMap(), vt = new WeakMap(), $t = new WeakMap(), ot = new WeakMap(), Nt = new WeakMap(), Zt = new WeakMap(), qt = new WeakMap(), mt = new WeakMap(), Zr = new WeakMap(), q = new WeakSet(), ss = function() {
768
+ Se = new WeakMap(), br = new WeakMap(), We = new WeakMap(), Ot = new WeakMap(), Ze = new WeakMap(), Be = new WeakMap(), ye = new WeakMap(), qe = new WeakMap(), at = new WeakMap(), vt = new WeakMap(), $t = new WeakMap(), ot = new WeakMap(), Nt = new WeakMap(), Zt = new WeakMap(), qt = new WeakMap(), mt = new WeakMap(), Zr = new WeakMap(), q = new WeakSet(), ss = function() {
769
769
  try {
770
- B(this, Oe, st(() => h(this, Bt).call(this, h(this, Se))));
770
+ O(this, Be, st(() => h(this, Ot).call(this, h(this, Se))));
771
771
  } catch (t) {
772
772
  this.error(t);
773
773
  }
774
774
  }, as = function() {
775
775
  const t = h(this, We).pending;
776
- t && (B(this, ye, st(() => t(h(this, Se)))), Ke.enqueue(() => {
776
+ t && (O(this, ye, st(() => t(h(this, Se)))), Ke.enqueue(() => {
777
777
  var r = K(this, q, Mn).call(this);
778
- B(this, Oe, K(this, q, Lr).call(this, () => (Ke.ensure(), st(() => h(this, Bt).call(this, r))))), h(this, ot) > 0 ? K(this, q, Dr).call(this) : (dr(
778
+ O(this, Be, K(this, q, Lr).call(this, () => (Ke.ensure(), st(() => h(this, Ot).call(this, r))))), h(this, ot) > 0 ? K(this, q, Dr).call(this) : (dr(
779
779
  /** @type {Effect} */
780
780
  h(this, ye),
781
781
  () => {
782
- B(this, ye, null);
782
+ O(this, ye, null);
783
783
  }
784
784
  ), this.is_pending = !1);
785
785
  }));
786
786
  }, Mn = function() {
787
787
  var t = h(this, Se);
788
- return this.is_pending && (B(this, vt, ke()), h(this, Se).before(h(this, vt)), t = h(this, vt)), t;
788
+ return this.is_pending && (O(this, vt, ke()), h(this, Se).before(h(this, vt)), t = h(this, vt)), t;
789
789
  }, /**
790
790
  * @param {() => Effect | null} fn
791
791
  */
792
792
  Lr = function(t) {
793
- var r = C, n = $, i = we;
793
+ var r = I, n = $, i = we;
794
794
  De(h(this, Ze)), he(h(this, Ze)), Kt(h(this, Ze).ctx);
795
795
  try {
796
796
  return t();
@@ -804,30 +804,30 @@ Lr = function(t) {
804
804
  /** @type {(anchor: Node) => void} */
805
805
  h(this, We).pending
806
806
  );
807
- h(this, Oe) !== null && (B(this, at, document.createDocumentFragment()), h(this, at).append(
807
+ h(this, Be) !== null && (O(this, at, document.createDocumentFragment()), h(this, at).append(
808
808
  /** @type {TemplateNode} */
809
809
  h(this, vt)
810
- ), Hs(h(this, Oe), h(this, at))), h(this, ye) === null && B(this, ye, st(() => t(h(this, Se))));
810
+ ), Hs(h(this, Be), h(this, at))), h(this, ye) === null && O(this, ye, st(() => t(h(this, Se))));
811
811
  }, /**
812
812
  * Updates the pending count associated with the currently visible pending snippet,
813
813
  * if any, such that we can replace the snippet with content once work is done
814
814
  * @param {1 | -1} d
815
815
  */
816
- On = function(t) {
816
+ Bn = function(t) {
817
817
  var r;
818
818
  if (!this.has_pending_snippet()) {
819
- this.parent && K(r = this.parent, q, On).call(r, t);
819
+ this.parent && K(r = this.parent, q, Bn).call(r, t);
820
820
  return;
821
821
  }
822
- if (B(this, ot, h(this, ot) + t), h(this, ot) === 0) {
822
+ if (O(this, ot, h(this, ot) + t), h(this, ot) === 0) {
823
823
  this.is_pending = !1;
824
824
  for (const n of h(this, Zt))
825
825
  se(n, _e), ft(n);
826
826
  for (const n of h(this, qt))
827
827
  se(n, dt), ft(n);
828
828
  h(this, Zt).clear(), h(this, qt).clear(), h(this, ye) && dr(h(this, ye), () => {
829
- B(this, ye, null);
830
- }), h(this, at) && (h(this, Se).before(h(this, at)), B(this, at, null));
829
+ O(this, ye, null);
830
+ }), h(this, at) && (h(this, Se).before(h(this, at)), O(this, at, null));
831
831
  }
832
832
  };
833
833
  function eo(e, t, r, n) {
@@ -838,7 +838,7 @@ function eo(e, t, r, n) {
838
838
  }
839
839
  var s = G, a = (
840
840
  /** @type {Effect} */
841
- C
841
+ I
842
842
  ), o = to();
843
843
  function u() {
844
844
  Promise.all(r.map((l) => /* @__PURE__ */ ro(l))).then((l) => {
@@ -863,7 +863,7 @@ function eo(e, t, r, n) {
863
863
  }) : u();
864
864
  }
865
865
  function to() {
866
- var e = C, t = $, r = we, n = G;
866
+ var e = I, t = $, r = we, n = G;
867
867
  return function(s = !0) {
868
868
  De(e), he(t), Kt(r), s && (n == null || n.activate());
869
869
  };
@@ -877,7 +877,7 @@ function os(e) {
877
877
  /** @type {Derived} */
878
878
  $
879
879
  ) : null;
880
- return C !== null && (C.f |= Ct), {
880
+ return I !== null && (I.f |= It), {
881
881
  ctx: we,
882
882
  deps: null,
883
883
  effects: null,
@@ -891,7 +891,7 @@ function os(e) {
891
891
  ae
892
892
  ),
893
893
  wv: 0,
894
- parent: r != null ? r : C,
894
+ parent: r != null ? r : I,
895
895
  ac: null
896
896
  };
897
897
  }
@@ -899,7 +899,7 @@ function os(e) {
899
899
  function ro(e, t, r) {
900
900
  let n = (
901
901
  /** @type {Effect | null} */
902
- C
902
+ I
903
903
  );
904
904
  n === null && Na();
905
905
  var i = (
@@ -981,10 +981,10 @@ function no(e) {
981
981
  return null;
982
982
  }
983
983
  function Qn(e) {
984
- var t, r = C;
984
+ var t, r = I;
985
985
  De(no(e));
986
986
  try {
987
- e.f &= ~It, us(e), t = $s(e);
987
+ e.f &= ~Ct, us(e), t = $s(e);
988
988
  } finally {
989
989
  De(r);
990
990
  }
@@ -992,13 +992,13 @@ function Qn(e) {
992
992
  }
993
993
  function ls(e) {
994
994
  var t = Qn(e);
995
- if (!e.equals(t) && (e.wv = Os(), (!(G != null && G.is_fork) || e.deps === null) && (e.v = t, e.deps === null))) {
995
+ if (!e.equals(t) && (e.wv = Bs(), (!(G != null && G.is_fork) || e.deps === null) && (e.v = t, e.deps === null))) {
996
996
  se(e, de);
997
997
  return;
998
998
  }
999
999
  wt || (oe !== null ? (Kn() || G != null && G.is_fork) && oe.set(e, t) : Jn(e));
1000
1000
  }
1001
- let Bn = /* @__PURE__ */ new Set();
1001
+ let On = /* @__PURE__ */ new Set();
1002
1002
  const Et = /* @__PURE__ */ new Map();
1003
1003
  let fs = !1;
1004
1004
  function Tr(e, t) {
@@ -1042,7 +1042,7 @@ function jr(e, t) {
1042
1042
  );
1043
1043
  e.f & _e && Qn(i), Jn(i);
1044
1044
  }
1045
- e.wv = Os(), cs(e, _e), C !== null && C.f & de && !(C.f & (ct | Tt)) && (Me === null ? _o([e]) : Me.push(e)), !n.is_fork && Bn.size > 0 && !fs && io();
1045
+ e.wv = Bs(), cs(e, _e), I !== null && I.f & de && !(I.f & (ct | Tt)) && (Me === null ? _o([e]) : Me.push(e)), !n.is_fork && On.size > 0 && !fs && io();
1046
1046
  }
1047
1047
  return t;
1048
1048
  }
@@ -1050,14 +1050,14 @@ function io() {
1050
1050
  fs = !1;
1051
1051
  var e = Lt;
1052
1052
  kr(!0);
1053
- const t = Array.from(Bn);
1053
+ const t = Array.from(On);
1054
1054
  try {
1055
1055
  for (const r of t)
1056
1056
  r.f & de && se(r, dt), Sr(r) && vr(r);
1057
1057
  } finally {
1058
1058
  kr(e);
1059
1059
  }
1060
- Bn.clear();
1060
+ On.clear();
1061
1061
  }
1062
1062
  function cr(e) {
1063
1063
  ie(e, e.v + 1);
@@ -1072,7 +1072,7 @@ function cs(e, t) {
1072
1072
  /** @type {Derived} */
1073
1073
  s
1074
1074
  );
1075
- oe == null || oe.delete(u), a & It || (a & Pe && (s.f |= It), cs(u, dt));
1075
+ oe == null || oe.delete(u), a & Ct || (a & Pe && (s.f |= Ct), cs(u, dt));
1076
1076
  } else o && (a & ht && Fe !== null && Fe.add(
1077
1077
  /** @type {Effect} */
1078
1078
  s
@@ -1085,8 +1085,8 @@ function cs(e, t) {
1085
1085
  function fr(e) {
1086
1086
  if (typeof e != "object" || e === null || cn in e)
1087
1087
  return e;
1088
- const t = Ci(e);
1089
- if (t !== Ma && t !== Oa)
1088
+ const t = Ii(e);
1089
+ if (t !== Ma && t !== Ba)
1090
1090
  return e;
1091
1091
  var r = /* @__PURE__ */ new Map(), n = Ta(e), i = /* @__PURE__ */ $e(0), s = Dt, a = (o) => {
1092
1092
  if (Dt === s)
@@ -1158,7 +1158,7 @@ function fr(e) {
1158
1158
  if (u === cn)
1159
1159
  return !0;
1160
1160
  var l = r.get(u), f = l !== void 0 && l.v !== ae || Reflect.has(o, u);
1161
- if (l !== void 0 || C !== null && (!f || (c = Vt(o, u)) != null && c.writable)) {
1161
+ if (l !== void 0 || I !== null && (!f || (c = Vt(o, u)) != null && c.writable)) {
1162
1162
  l === void 0 && (l = a(() => {
1163
1163
  var v = f ? fr(o[u]) : ae, y = /* @__PURE__ */ $e(v);
1164
1164
  return y;
@@ -1282,7 +1282,7 @@ function ao() {
1282
1282
  return !1;
1283
1283
  }
1284
1284
  function ms(e) {
1285
- var t = $, r = C;
1285
+ var t = $, r = I;
1286
1286
  he(null), De(null);
1287
1287
  try {
1288
1288
  return e();
@@ -1291,7 +1291,7 @@ function ms(e) {
1291
1291
  }
1292
1292
  }
1293
1293
  function gs(e) {
1294
- C === null && ($ === null && Da(), La()), wt && Pa();
1294
+ I === null && ($ === null && Da(), La()), wt && Pa();
1295
1295
  }
1296
1296
  function oo(e, t) {
1297
1297
  var r = t.last;
@@ -1299,7 +1299,7 @@ function oo(e, t) {
1299
1299
  }
1300
1300
  function Ve(e, t, r) {
1301
1301
  var o;
1302
- var n = C;
1302
+ var n = I;
1303
1303
  n !== null && n.f & et && (e |= et);
1304
1304
  var i = {
1305
1305
  ctx: we,
@@ -1326,7 +1326,7 @@ function Ve(e, t, r) {
1326
1326
  else t !== null && ft(i);
1327
1327
  var s = i;
1328
1328
  if (r && s.deps === null && s.teardown === null && s.nodes === null && s.first === s.last && // either `null`, or a singular child
1329
- !(s.f & Ct) && (s = s.first, e & ht && e & Qt && s !== null && (s.f |= Qt)), s !== null && (s.parent = n, n !== null && oo(s, n), $ !== null && $.f & ue && !(e & Tt))) {
1329
+ !(s.f & It) && (s = s.first, e & ht && e & Qt && s !== null && (s.f |= Qt)), s !== null && (s.parent = n, n !== null && oo(s, n), $ !== null && $.f & ue && !(e & Tt))) {
1330
1330
  var a = (
1331
1331
  /** @type {Derived} */
1332
1332
  $
@@ -1347,7 +1347,7 @@ function Nn(e) {
1347
1347
  gs();
1348
1348
  var t = (
1349
1349
  /** @type {Effect} */
1350
- C.f
1350
+ I.f
1351
1351
  ), r = !$ && (t & ct) !== 0 && (t & Jr) === 0;
1352
1352
  if (r) {
1353
1353
  var n = (
@@ -1366,14 +1366,14 @@ function uo(e) {
1366
1366
  }
1367
1367
  function lo(e) {
1368
1368
  Ke.ensure();
1369
- const t = Ve(Tt | Ct, e, !0);
1369
+ const t = Ve(Tt | It, e, !0);
1370
1370
  return () => {
1371
1371
  xe(t);
1372
1372
  };
1373
1373
  }
1374
1374
  function fo(e) {
1375
1375
  Ke.ensure();
1376
- const t = Ve(Tt | Ct, e, !0);
1376
+ const t = Ve(Tt | It, e, !0);
1377
1377
  return (r = {}) => new Promise((n) => {
1378
1378
  r.outro ? dr(t, () => {
1379
1379
  xe(t), n(void 0);
@@ -1384,7 +1384,7 @@ function ho(e) {
1384
1384
  return Ve(Fr, e, !1);
1385
1385
  }
1386
1386
  function co(e) {
1387
- return Ve(Wn | Ct, e, !0);
1387
+ return Ve(Wn | It, e, !0);
1388
1388
  }
1389
1389
  function ys(e, t = 0) {
1390
1390
  return Ve(xr | t, e, !0);
@@ -1399,7 +1399,7 @@ function Es(e, t = 0) {
1399
1399
  return r;
1400
1400
  }
1401
1401
  function st(e) {
1402
- return Ve(ct | Ct, e, !0);
1402
+ return Ve(ct | It, e, !0);
1403
1403
  }
1404
1404
  function xs(e) {
1405
1405
  var t = e.teardown;
@@ -1519,9 +1519,9 @@ let $ = null, je = !1;
1519
1519
  function he(e) {
1520
1520
  $ = e;
1521
1521
  }
1522
- let C = null;
1522
+ let I = null;
1523
1523
  function De(e) {
1524
- C = e;
1524
+ I = e;
1525
1525
  }
1526
1526
  let ge = null;
1527
1527
  function go(e) {
@@ -1535,14 +1535,14 @@ let Ms = 1, Ht = 0, Dt = Ht;
1535
1535
  function ci(e) {
1536
1536
  Dt = e;
1537
1537
  }
1538
- function Os() {
1538
+ function Bs() {
1539
1539
  return ++Ms;
1540
1540
  }
1541
1541
  function Sr(e) {
1542
1542
  var t = e.f;
1543
1543
  if (t & _e)
1544
1544
  return !0;
1545
- if (t & ue && (e.f &= ~It), t & dt) {
1545
+ if (t & ue && (e.f &= ~Ct), t & dt) {
1546
1546
  for (var r = (
1547
1547
  /** @type {Value[]} */
1548
1548
  e.deps
@@ -1563,12 +1563,12 @@ function Sr(e) {
1563
1563
  }
1564
1564
  return !1;
1565
1565
  }
1566
- function Bs(e, t, r = !0) {
1566
+ function Os(e, t, r = !0) {
1567
1567
  var n = e.reactions;
1568
1568
  if (n !== null && !(ge != null && ge.includes(e)))
1569
1569
  for (var i = 0; i < n.length; i++) {
1570
1570
  var s = n[i];
1571
- s.f & ue ? Bs(
1571
+ s.f & ue ? Os(
1572
1572
  /** @type {Derived} */
1573
1573
  s,
1574
1574
  t,
@@ -1606,7 +1606,7 @@ function $s(e) {
1606
1606
  if (Zi() && Me !== null && !je && c !== null && !(e.f & (ue | dt | _e)))
1607
1607
  for (v = 0; v < /** @type {Source[]} */
1608
1608
  Me.length; v++)
1609
- Bs(
1609
+ Os(
1610
1610
  Me[v],
1611
1611
  /** @type {Effect} */
1612
1612
  e
@@ -1645,7 +1645,7 @@ function bo(e, t) {
1645
1645
  /** @type {Derived} */
1646
1646
  t
1647
1647
  );
1648
- s.f & Pe && (s.f ^= Pe, s.f &= ~It), Jn(s), us(s), Vr(s, 0);
1648
+ s.f & Pe && (s.f ^= Pe, s.f &= ~Ct), Jn(s), us(s), Vr(s, 0);
1649
1649
  }
1650
1650
  }
1651
1651
  function Vr(e, t) {
@@ -1658,8 +1658,8 @@ function vr(e) {
1658
1658
  var t = e.f;
1659
1659
  if (!(t & lt)) {
1660
1660
  se(e, de);
1661
- var r = C, n = Lt;
1662
- C = e, Lt = !0;
1661
+ var r = I, n = Lt;
1662
+ I = e, Lt = !0;
1663
1663
  try {
1664
1664
  t & (ht | Fi) ? po(e) : ws(e), xs(e);
1665
1665
  var i = $s(e);
@@ -1667,7 +1667,7 @@ function vr(e) {
1667
1667
  var s;
1668
1668
  wn && za && e.f & _e && e.deps;
1669
1669
  } finally {
1670
- Lt = n, C = r;
1670
+ Lt = n, I = r;
1671
1671
  }
1672
1672
  }
1673
1673
  }
@@ -1675,7 +1675,7 @@ function ce(e) {
1675
1675
  var f;
1676
1676
  var t = e.f, r = (t & ue) !== 0;
1677
1677
  if ($ !== null && !je) {
1678
- var n = C !== null && (C.f & lt) !== 0;
1678
+ var n = I !== null && (I.f & lt) !== 0;
1679
1679
  if (!n && !(ge != null && ge.includes(e))) {
1680
1680
  var i = $.deps;
1681
1681
  if ($.f & Tn)
@@ -1745,7 +1745,7 @@ function yo(e) {
1745
1745
  r(e);
1746
1746
  }
1747
1747
  let di = null;
1748
- function Br(e) {
1748
+ function Or(e) {
1749
1749
  var b;
1750
1750
  var t = this, r = (
1751
1751
  /** @type {Node} */
@@ -1776,7 +1776,7 @@ function Br(e) {
1776
1776
  return s || r;
1777
1777
  }
1778
1778
  });
1779
- var f = $, d = C;
1779
+ var f = $, d = I;
1780
1780
  he(null), De(null);
1781
1781
  try {
1782
1782
  for (var c, v = []; s !== null; ) {
@@ -1814,7 +1814,7 @@ function Eo(e) {
1814
1814
  function xt(e, t) {
1815
1815
  var r = (
1816
1816
  /** @type {Effect} */
1817
- C
1817
+ I
1818
1818
  );
1819
1819
  r.nodes === null && (r.nodes = { start: e, end: t, a: null, t: null });
1820
1820
  }
@@ -1862,7 +1862,7 @@ function Xe(e, t) {
1862
1862
  if (j) {
1863
1863
  var r = (
1864
1864
  /** @type {Effect & { nodes: EffectNodes }} */
1865
- C
1865
+ I
1866
1866
  );
1867
1867
  (!(r.f & Jr) || r.nodes.end === null) && (r.nodes.end = R), Zn();
1868
1868
  return;
@@ -1882,7 +1882,7 @@ function Ft(e, t) {
1882
1882
  r !== ((n = e.__t) != null ? n : e.__t = e.nodeValue) && (e.__t = r, e.nodeValue = r + "");
1883
1883
  }
1884
1884
  function Ds(e, t) {
1885
- return Is(e, t);
1885
+ return Cs(e, t);
1886
1886
  }
1887
1887
  function Ao(e, t) {
1888
1888
  var a;
@@ -1898,20 +1898,20 @@ function Ao(e, t) {
1898
1898
  /** @type {Comment} */
1899
1899
  s
1900
1900
  );
1901
- const o = Is(e, Mr(Hr({}, t), { anchor: s }));
1901
+ const o = Cs(e, Mr(Hr({}, t), { anchor: s }));
1902
1902
  return gt(!1), /** @type {Exports} */
1903
1903
  o;
1904
1904
  } catch (o) {
1905
1905
  if (o instanceof Error && o.message.split(`
1906
1906
  `).some((u) => u.startsWith("https://svelte.dev/e/")))
1907
1907
  throw o;
1908
- return o !== Jt && console.warn("Failed to hydrate: ", o), t.recover === !1 && Ca(), $n(), so(r), gt(!1), Ds(e, t);
1908
+ return o !== Jt && console.warn("Failed to hydrate: ", o), t.recover === !1 && Ia(), $n(), so(r), gt(!1), Ds(e, t);
1909
1909
  } finally {
1910
1910
  gt(n), Le(i);
1911
1911
  }
1912
1912
  }
1913
1913
  const Gt = /* @__PURE__ */ new Map();
1914
- function Is(e, { target: t, anchor: r, props: n = {}, events: i, context: s, intro: a = !0 }) {
1914
+ function Cs(e, { target: t, anchor: r, props: n = {}, events: i, context: s, intro: a = !0 }) {
1915
1915
  $n();
1916
1916
  var o = /* @__PURE__ */ new Set(), u = (d) => {
1917
1917
  for (var c = 0; c < d.length; c++) {
@@ -1919,9 +1919,9 @@ function Is(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
1919
1919
  if (!o.has(v)) {
1920
1920
  o.add(v);
1921
1921
  var y = So(v);
1922
- t.addEventListener(v, Br, { passive: y });
1922
+ t.addEventListener(v, Or, { passive: y });
1923
1923
  var A = Gt.get(v);
1924
- A === void 0 ? (document.addEventListener(v, Br, { passive: y }), Gt.set(v, 1)) : Gt.set(v, A + 1);
1924
+ A === void 0 ? (document.addEventListener(v, Or, { passive: y }), Gt.set(v, 1)) : Gt.set(v, A + 1);
1925
1925
  }
1926
1926
  }
1927
1927
  };
@@ -1948,20 +1948,20 @@ function Is(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
1948
1948
  /** @type {TemplateNode} */
1949
1949
  c,
1950
1950
  null
1951
- ), l = e(c, n) || {}, j && (C.nodes.end = R, R === null || R.nodeType !== wr || /** @type {Comment} */
1952
- R.data !== Ii))
1951
+ ), l = e(c, n) || {}, j && (I.nodes.end = R, R === null || R.nodeType !== wr || /** @type {Comment} */
1952
+ R.data !== Ci))
1953
1953
  throw Kr(), Jt;
1954
1954
  s && Wi();
1955
1955
  }
1956
1956
  ), () => {
1957
1957
  var y;
1958
1958
  for (var c of o) {
1959
- t.removeEventListener(c, Br);
1959
+ t.removeEventListener(c, Or);
1960
1960
  var v = (
1961
1961
  /** @type {number} */
1962
1962
  Gt.get(c)
1963
1963
  );
1964
- --v === 0 ? (document.removeEventListener(c, Br), Gt.delete(c)) : Gt.set(c, v);
1964
+ --v === 0 ? (document.removeEventListener(c, Or), Gt.delete(c)) : Gt.set(c, v);
1965
1965
  }
1966
1966
  Pn.delete(u), d !== r && ((y = d.parentNode) == null || y.removeChild(d));
1967
1967
  };
@@ -2060,7 +2060,7 @@ class Mo {
2060
2060
  for (const [n, i] of h(this, Ae))
2061
2061
  r.includes(n) || (xe(i.effect), h(this, Ae).delete(n));
2062
2062
  });
2063
- this.anchor = t, B(this, yr, r);
2063
+ this.anchor = t, O(this, yr, r);
2064
2064
  }
2065
2065
  /**
2066
2066
  *
@@ -2095,7 +2095,7 @@ class Mo {
2095
2095
  }
2096
2096
  }
2097
2097
  Ge = new WeakMap(), Je = new WeakMap(), Ae = new WeakMap(), Pt = new WeakMap(), yr = new WeakMap(), Er = new WeakMap(), qr = new WeakMap();
2098
- function Oo(e) {
2098
+ function Bo(e) {
2099
2099
  we === null && ki(), Nn(() => {
2100
2100
  const t = tn(e);
2101
2101
  if (typeof t == "function") return (
@@ -2105,7 +2105,7 @@ function Oo(e) {
2105
2105
  });
2106
2106
  }
2107
2107
  function Wl(e) {
2108
- we === null && ki(), Oo(() => () => tn(e));
2108
+ we === null && ki(), Bo(() => () => tn(e));
2109
2109
  }
2110
2110
  function $r(e, t, r = !1) {
2111
2111
  j && Zn();
@@ -2128,7 +2128,7 @@ function $r(e, t, r = !1) {
2128
2128
  }), a || s(!1, null);
2129
2129
  }, i);
2130
2130
  }
2131
- function Bo(e, t) {
2131
+ function Oo(e, t) {
2132
2132
  ho(() => {
2133
2133
  var i;
2134
2134
  var r = e.getRootNode(), n = (
@@ -2150,17 +2150,17 @@ function Bo(e, t) {
2150
2150
  }
2151
2151
  });
2152
2152
  }
2153
- function Cs(e) {
2153
+ function Is(e) {
2154
2154
  var t, r, n = "";
2155
2155
  if (typeof e == "string" || typeof e == "number") n += e;
2156
2156
  else if (typeof e == "object") if (Array.isArray(e)) {
2157
2157
  var i = e.length;
2158
- for (t = 0; t < i; t++) e[t] && (r = Cs(e[t])) && (n && (n += " "), n += r);
2158
+ for (t = 0; t < i; t++) e[t] && (r = Is(e[t])) && (n && (n += " "), n += r);
2159
2159
  } else for (r in e) e[r] && (n && (n += " "), n += r);
2160
2160
  return n;
2161
2161
  }
2162
2162
  function $o() {
2163
- for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = Cs(e)) && (n && (n += " "), n += t);
2163
+ for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = Is(e)) && (n && (n += " "), n += t);
2164
2164
  return n;
2165
2165
  }
2166
2166
  function Zl(e) {
@@ -2235,13 +2235,13 @@ function Lo(e, t, r, n) {
2235
2235
  } else n && (Array.isArray(n) ? (mn(e, r == null ? void 0 : r[0], n[0]), mn(e, r == null ? void 0 : r[1], n[1], "important")) : mn(e, r, n));
2236
2236
  return n;
2237
2237
  }
2238
- const Do = Symbol("is custom element"), Io = Symbol("is html");
2238
+ const Do = Symbol("is custom element"), Co = Symbol("is html");
2239
2239
  function Rs(e, t, r, n) {
2240
- var i = Co(e);
2240
+ var i = Io(e);
2241
2241
  j && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === "LINK") || i[t] !== (i[t] = r) && (t === "loading" && (e[$a] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && Us(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
2242
2242
  }
2243
2243
  function Nr(e, t, r) {
2244
- var n = $, i = C;
2244
+ var n = $, i = I;
2245
2245
  let s = j;
2246
2246
  j && gt(!1), he(null), De(null);
2247
2247
  try {
@@ -2255,14 +2255,14 @@ function Nr(e, t, r) {
2255
2255
  he(n), De(i), s && gt(!0);
2256
2256
  }
2257
2257
  }
2258
- function Co(e) {
2258
+ function Io(e) {
2259
2259
  var t;
2260
2260
  return (
2261
2261
  /** @type {Record<string | symbol, unknown>} **/
2262
2262
  // @ts-expect-error
2263
2263
  (t = e.__attributes) != null ? t : e.__attributes = {
2264
2264
  [Do]: e.nodeName.includes("-"),
2265
- [Io]: e.namespaceURI === wa
2265
+ [Co]: e.namespaceURI === wa
2266
2266
  }
2267
2267
  );
2268
2268
  }
@@ -2275,7 +2275,7 @@ function Us(e) {
2275
2275
  n = Ha(i);
2276
2276
  for (var a in n)
2277
2277
  n[a].set && r.push(a);
2278
- i = Ci(i);
2278
+ i = Ii(i);
2279
2279
  }
2280
2280
  return r;
2281
2281
  }
@@ -2364,7 +2364,7 @@ function Uo(e) {
2364
2364
  let t;
2365
2365
  return ei(e, (r) => t = r)(), t;
2366
2366
  }
2367
- let In = Symbol();
2367
+ let Cn = Symbol();
2368
2368
  function Fo(e, t, r) {
2369
2369
  var s;
2370
2370
  const n = (s = r[t]) != null ? s : r[t] = {
@@ -2372,7 +2372,7 @@ function Fo(e, t, r) {
2372
2372
  source: /* @__PURE__ */ hs(void 0),
2373
2373
  unsubscribe: bt
2374
2374
  };
2375
- if (n.store !== e && !(In in r))
2375
+ if (n.store !== e && !(Cn in r))
2376
2376
  if (n.unsubscribe(), n.store = e != null ? e : null, e == null)
2377
2377
  n.source.v = void 0, n.unsubscribe = bt;
2378
2378
  else {
@@ -2381,7 +2381,7 @@ function Fo(e, t, r) {
2381
2381
  i ? n.source.v = a : ie(n.source, a);
2382
2382
  }), i = !1;
2383
2383
  }
2384
- return e && In in r ? Uo(e) : ce(n.source);
2384
+ return e && Cn in r ? Uo(e) : ce(n.source);
2385
2385
  }
2386
2386
  function Go() {
2387
2387
  const e = {};
@@ -2389,7 +2389,7 @@ function Go() {
2389
2389
  _s(() => {
2390
2390
  for (var r in e)
2391
2391
  e[r].unsubscribe();
2392
- pr(e, In, {
2392
+ pr(e, Cn, {
2393
2393
  enumerable: !1,
2394
2394
  value: !0
2395
2395
  });
@@ -2415,7 +2415,7 @@ function it(e, t, r, n) {
2415
2415
  };
2416
2416
  var l = !1, f = /* @__PURE__ */ os(() => (l = !1, u())), d = (
2417
2417
  /** @type {Effect} */
2418
- C
2418
+ I
2419
2419
  );
2420
2420
  return (
2421
2421
  /** @type {() => V} */
@@ -2431,7 +2431,7 @@ function it(e, t, r, n) {
2431
2431
  function jo(e) {
2432
2432
  return new ko(e);
2433
2433
  }
2434
- var ut, Be;
2434
+ var ut, Oe;
2435
2435
  class ko {
2436
2436
  /**
2437
2437
  * @param {ComponentConstructorOptions & {
@@ -2442,7 +2442,7 @@ class ko {
2442
2442
  /** @type {any} */
2443
2443
  P(this, ut);
2444
2444
  /** @type {Record<string, any>} */
2445
- P(this, Be);
2445
+ P(this, Oe);
2446
2446
  var s, a;
2447
2447
  var r = /* @__PURE__ */ new Map(), n = (o, u) => {
2448
2448
  var l = /* @__PURE__ */ hs(u, !1, !1);
@@ -2457,7 +2457,7 @@ class ko {
2457
2457
  },
2458
2458
  has(o, u) {
2459
2459
  var l;
2460
- return u === Ba ? !0 : (ce((l = r.get(u)) != null ? l : n(u, Reflect.get(o, u))), Reflect.has(o, u));
2460
+ return u === Oa ? !0 : (ce((l = r.get(u)) != null ? l : n(u, Reflect.get(o, u))), Reflect.has(o, u));
2461
2461
  },
2462
2462
  set(o, u, l) {
2463
2463
  var f;
@@ -2465,35 +2465,35 @@ class ko {
2465
2465
  }
2466
2466
  }
2467
2467
  );
2468
- B(this, Be, (t.hydrate ? Ao : Ds)(t.component, {
2468
+ O(this, Oe, (t.hydrate ? Ao : Ds)(t.component, {
2469
2469
  target: t.target,
2470
2470
  anchor: t.anchor,
2471
2471
  props: i,
2472
2472
  context: t.context,
2473
2473
  intro: (s = t.intro) != null ? s : !1,
2474
2474
  recover: t.recover
2475
- })), (!((a = t == null ? void 0 : t.props) != null && a.$$host) || t.sync === !1) && ze(), B(this, ut, i.$$events);
2476
- for (const o of Object.keys(h(this, Be)))
2475
+ })), (!((a = t == null ? void 0 : t.props) != null && a.$$host) || t.sync === !1) && ze(), O(this, ut, i.$$events);
2476
+ for (const o of Object.keys(h(this, Oe)))
2477
2477
  o === "$set" || o === "$destroy" || o === "$on" || pr(this, o, {
2478
2478
  get() {
2479
- return h(this, Be)[o];
2479
+ return h(this, Oe)[o];
2480
2480
  },
2481
2481
  /** @param {any} value */
2482
2482
  set(u) {
2483
- h(this, Be)[o] = u;
2483
+ h(this, Oe)[o] = u;
2484
2484
  },
2485
2485
  enumerable: !0
2486
2486
  });
2487
- h(this, Be).$set = /** @param {Record<string, any>} next */
2487
+ h(this, Oe).$set = /** @param {Record<string, any>} next */
2488
2488
  (o) => {
2489
2489
  Object.assign(i, o);
2490
- }, h(this, Be).$destroy = () => {
2491
- Ho(h(this, Be));
2490
+ }, h(this, Oe).$destroy = () => {
2491
+ Ho(h(this, Oe));
2492
2492
  };
2493
2493
  }
2494
2494
  /** @param {Record<string, any>} props */
2495
2495
  $set(t) {
2496
- h(this, Be).$set(t);
2496
+ h(this, Oe).$set(t);
2497
2497
  }
2498
2498
  /**
2499
2499
  * @param {string} event
@@ -2511,10 +2511,10 @@ class ko {
2511
2511
  };
2512
2512
  }
2513
2513
  $destroy() {
2514
- h(this, Be).$destroy();
2514
+ h(this, Oe).$destroy();
2515
2515
  }
2516
2516
  }
2517
- ut = new WeakMap(), Be = new WeakMap();
2517
+ ut = new WeakMap(), Oe = new WeakMap();
2518
2518
  let Fs;
2519
2519
  typeof HTMLElement == "function" && (Fs = class extends HTMLElement {
2520
2520
  /**
@@ -2585,7 +2585,7 @@ typeof HTMLElement == "function" && (Fs = class extends HTMLElement {
2585
2585
  i in n && (i === "default" && !this.$$d.children ? (this.$$d.children = t(i), r.default = !0) : r[i] = t(i));
2586
2586
  for (const i of this.attributes) {
2587
2587
  const s = this.$$g_p(i.name);
2588
- s in this.$$d || (this.$$d[s] = Ir(s, i.value, this.$$p_d, "toProp"));
2588
+ s in this.$$d || (this.$$d[s] = Cr(s, i.value, this.$$p_d, "toProp"));
2589
2589
  }
2590
2590
  for (const i in this.$$p_d)
2591
2591
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -2603,7 +2603,7 @@ typeof HTMLElement == "function" && (Fs = class extends HTMLElement {
2603
2603
  for (const s of Ur(this.$$c)) {
2604
2604
  if (!((i = this.$$p_d[s]) != null && i.reflect)) continue;
2605
2605
  this.$$d[s] = this.$$c[s];
2606
- const a = Ir(
2606
+ const a = Cr(
2607
2607
  s,
2608
2608
  this.$$d[s],
2609
2609
  this.$$p_d,
@@ -2632,7 +2632,7 @@ typeof HTMLElement == "function" && (Fs = class extends HTMLElement {
2632
2632
  */
2633
2633
  attributeChangedCallback(t, r, n) {
2634
2634
  var i;
2635
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ir(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
2635
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Cr(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
2636
2636
  }
2637
2637
  disconnectedCallback() {
2638
2638
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -2648,7 +2648,7 @@ typeof HTMLElement == "function" && (Fs = class extends HTMLElement {
2648
2648
  ) || t;
2649
2649
  }
2650
2650
  });
2651
- function Ir(e, t, r, n) {
2651
+ function Cr(e, t, r, n) {
2652
2652
  var s;
2653
2653
  const i = (s = r[e]) == null ? void 0 : s.type;
2654
2654
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -2705,7 +2705,7 @@ function Yo(e, t, r, n, i, s) {
2705
2705
  },
2706
2706
  set(u) {
2707
2707
  var d;
2708
- u = Ir(o, u, t), this.$$d[o] = u;
2708
+ u = Cr(o, u, t), this.$$d[o] = u;
2709
2709
  var l = this.$$c;
2710
2710
  if (l) {
2711
2711
  var f = (d = Vt(l, o)) == null ? void 0 : d.get;
@@ -2798,17 +2798,17 @@ rr.all = function(t, r) {
2798
2798
  };
2799
2799
  var iu = rr, su = iu;
2800
2800
  const au = /* @__PURE__ */ ti(su);
2801
- var Cn = function(e, t) {
2802
- return Cn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
2801
+ var In = function(e, t) {
2802
+ return In = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
2803
2803
  r.__proto__ = n;
2804
2804
  } || function(r, n) {
2805
2805
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
2806
- }, Cn(e, t);
2806
+ }, In(e, t);
2807
2807
  };
2808
2808
  function nn(e, t) {
2809
2809
  if (typeof t != "function" && t !== null)
2810
2810
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
2811
- Cn(e, t);
2811
+ In(e, t);
2812
2812
  function r() {
2813
2813
  this.constructor = e;
2814
2814
  }
@@ -4706,16 +4706,16 @@ var yn, Hu = new RegExp("^".concat(Qs.source, "*")), Mu = new RegExp("".concat(Q
4706
4706
  function D(e, t) {
4707
4707
  return { start: e, end: t };
4708
4708
  }
4709
- var Ou = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bu = !!String.fromCodePoint, $u = !!Object.fromEntries, Nu = !!String.prototype.codePointAt, Pu = !!String.prototype.trimStart, Lu = !!String.prototype.trimEnd, Du = !!Number.isSafeInteger, Iu = Du ? Number.isSafeInteger : function(e) {
4709
+ var Bu = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ou = !!String.fromCodePoint, $u = !!Object.fromEntries, Nu = !!String.prototype.codePointAt, Pu = !!String.prototype.trimStart, Lu = !!String.prototype.trimEnd, Du = !!Number.isSafeInteger, Cu = Du ? Number.isSafeInteger : function(e) {
4710
4710
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
4711
4711
  }, Un = !0;
4712
4712
  try {
4713
- var Cu = na("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
4714
- Un = ((yn = Cu.exec("a")) === null || yn === void 0 ? void 0 : yn[0]) === "a";
4713
+ var Iu = na("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
4714
+ Un = ((yn = Iu.exec("a")) === null || yn === void 0 ? void 0 : yn[0]) === "a";
4715
4715
  } catch (e) {
4716
4716
  Un = !1;
4717
4717
  }
4718
- var Ei = Ou ? (
4718
+ var Ei = Bu ? (
4719
4719
  // Native
4720
4720
  function(t, r, n) {
4721
4721
  return t.startsWith(r, n);
@@ -4725,7 +4725,7 @@ var Ei = Ou ? (
4725
4725
  function(t, r, n) {
4726
4726
  return t.slice(n, n + r.length) === r;
4727
4727
  }
4728
- ), Fn = Bu ? String.fromCodePoint : (
4728
+ ), Fn = Ou ? String.fromCodePoint : (
4729
4729
  // IE11
4730
4730
  function() {
4731
4731
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -5193,7 +5193,7 @@ var Fu = (
5193
5193
  break;
5194
5194
  }
5195
5195
  var u = D(i, this.clonePosition());
5196
- return s ? (a *= n, Iu(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
5196
+ return s ? (a *= n, Cu(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
5197
5197
  }, e.prototype.offset = function() {
5198
5198
  return this.position.offset;
5199
5199
  }, e.prototype.isEOF = function() {
@@ -5347,7 +5347,7 @@ function Xu(e) {
5347
5347
  function Wu(e) {
5348
5348
  return typeof e == "function";
5349
5349
  }
5350
- function Cr(e, t, r, n, i, s, a) {
5350
+ function Ir(e, t, r, n, i, s, a) {
5351
5351
  if (e.length === 1 && gi(e[0]))
5352
5352
  return [
5353
5353
  {
@@ -5410,7 +5410,7 @@ function Cr(e, t, r, n, i, s, a) {
5410
5410
  var y = f.children, A = f.value, b = i[A];
5411
5411
  if (!Wu(b))
5412
5412
  throw new Yu(A, "function", a);
5413
- var T = Cr(y, t, r, n, i, s), N = b(T.map(function(k) {
5413
+ var T = Ir(y, t, r, n, i, s), N = b(T.map(function(k) {
5414
5414
  return k.value;
5415
5415
  }));
5416
5416
  Array.isArray(N) || (N = [N]), o.push.apply(o, N.map(function(k) {
@@ -5424,7 +5424,7 @@ function Cr(e, t, r, n, i, s, a) {
5424
5424
  var M = f.options[c] || f.options.other;
5425
5425
  if (!M)
5426
5426
  throw new Ti(f.value, c, Object.keys(f.options), a);
5427
- o.push.apply(o, Cr(M.value, t, r, n, i));
5427
+ o.push.apply(o, Ir(M.value, t, r, n, i));
5428
5428
  continue;
5429
5429
  }
5430
5430
  if (Zs(f)) {
@@ -5439,7 +5439,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
5439
5439
  }
5440
5440
  if (!M)
5441
5441
  throw new Ti(f.value, c, Object.keys(f.options), a);
5442
- o.push.apply(o, Cr(M.value, t, r, n, i, c - (f.offset || 0)));
5442
+ o.push.apply(o, Ir(M.value, t, r, n, i, c - (f.offset || 0)));
5443
5443
  continue;
5444
5444
  }
5445
5445
  }
@@ -5520,7 +5520,7 @@ var Qu = (
5520
5520
  }, []);
5521
5521
  return f.length <= 1 ? f[0] || "" : f;
5522
5522
  }, this.formatToParts = function(u) {
5523
- return Cr(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
5523
+ return Ir(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
5524
5524
  }, this.resolvedOptions = function() {
5525
5525
  var u;
5526
5526
  return {
@@ -5908,15 +5908,15 @@ const gr = (e, t) => {
5908
5908
  );
5909
5909
  }
5910
5910
  return d;
5911
- }, Hl = (e, t) => Tl(t).format(e), Ml = (e, t) => wl(t).format(e), Ol = (e, t) => xl(t).format(e), Bl = (e, t = Ut()) => sa(e, t), $l = ar([or, Ar], () => Al);
5911
+ }, Hl = (e, t) => Tl(t).format(e), Ml = (e, t) => wl(t).format(e), Bl = (e, t) => xl(t).format(e), Ol = (e, t = Ut()) => sa(e, t), $l = ar([or, Ar], () => Al);
5912
5912
  ar([or], () => Hl);
5913
5913
  ar([or], () => Ml);
5914
- ar([or], () => Ol);
5915
- ar([or, Ar], () => Bl);
5916
- function Oi(e, t) {
5914
+ ar([or], () => Bl);
5915
+ ar([or, Ar], () => Ol);
5916
+ function Bi(e, t) {
5917
5917
  oa(e, t);
5918
5918
  }
5919
- function Bi(e) {
5919
+ function Oi(e) {
5920
5920
  or.set(e);
5921
5921
  }
5922
5922
  const $i = {
@@ -5949,6 +5949,25 @@ const $i = {
5949
5949
  joinButton: "Katıl",
5950
5950
  daysLabel: "Gün",
5951
5951
  enrolledLabel: "Kayıtlı"
5952
+ },
5953
+ da: {
5954
+ Unstarted: "Kommer snart",
5955
+ Running: "Live",
5956
+ Closed: "Afsluttet",
5957
+ Closing: "Afsluttet",
5958
+ All: "Alle",
5959
+ Scheduled: "Kommer snart",
5960
+ Ongoing: "Live",
5961
+ Ended: "Afsluttet",
5962
+ startDateLabel: "Startdato:",
5963
+ viewDetailsButton: "Se detaljer",
5964
+ detailsButton: "Detaljer",
5965
+ loginButton: "Log ind",
5966
+ registerButton: "Registrer",
5967
+ endsInLabel: "Slutter om:",
5968
+ joinButton: "Deltag",
5969
+ daysLabel: "Dage",
5970
+ enrolledLabel: "Tilmeldt"
5952
5971
  }
5953
5972
  };
5954
5973
  var ca = { exports: {} };
@@ -6014,8 +6033,8 @@ var ca = { exports: {} };
6014
6033
  if (typeof _ == "string" && !/Z$/i.test(_)) {
6015
6034
  var p = _.match(b);
6016
6035
  if (p) {
6017
- var w = p[2] - 1 || 0, O = (p[7] || "0").substring(0, 3);
6018
- return S ? new Date(Date.UTC(p[1], w, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, O)) : new Date(p[1], w, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, O);
6036
+ var w = p[2] - 1 || 0, B = (p[7] || "0").substring(0, 3);
6037
+ return S ? new Date(Date.UTC(p[1], w, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, B)) : new Date(p[1], w, p[3] || 1, p[4] || 0, p[5] || 0, p[6] || 0, B);
6019
6038
  }
6020
6039
  }
6021
6040
  return new Date(_);
@@ -6044,37 +6063,37 @@ var ca = { exports: {} };
6044
6063
  var _ = this, S = !!H.u(E) || E, p = H.p(m), w = function(He, z) {
6045
6064
  var be = H.w(_.$u ? Date.UTC(_.$y, z, He) : new Date(_.$y, z, He), _);
6046
6065
  return S ? be : be.endOf(l);
6047
- }, O = function(He, z) {
6066
+ }, B = function(He, z) {
6048
6067
  return H.w(_.toDate()[He].apply(_.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), _);
6049
- }, U = this.$W, I = this.$M, Y = this.$D, re = "set" + (this.$u ? "UTC" : "");
6068
+ }, U = this.$W, C = this.$M, Y = this.$D, re = "set" + (this.$u ? "UTC" : "");
6050
6069
  switch (p) {
6051
6070
  case v:
6052
6071
  return S ? w(1, 0) : w(31, 11);
6053
6072
  case d:
6054
- return S ? w(1, I) : w(0, I + 1);
6073
+ return S ? w(1, C) : w(0, C + 1);
6055
6074
  case f:
6056
- var fe = this.$locale().weekStart || 0, Ce = (U < fe ? U + 7 : U) - fe;
6057
- return w(S ? Y - Ce : Y + (6 - Ce), I);
6075
+ var fe = this.$locale().weekStart || 0, Ie = (U < fe ? U + 7 : U) - fe;
6076
+ return w(S ? Y - Ie : Y + (6 - Ie), C);
6058
6077
  case l:
6059
6078
  case y:
6060
- return O(re + "Hours", 0);
6079
+ return B(re + "Hours", 0);
6061
6080
  case u:
6062
- return O(re + "Minutes", 1);
6081
+ return B(re + "Minutes", 1);
6063
6082
  case o:
6064
- return O(re + "Seconds", 2);
6083
+ return B(re + "Seconds", 2);
6065
6084
  case a:
6066
- return O(re + "Milliseconds", 3);
6085
+ return B(re + "Milliseconds", 3);
6067
6086
  default:
6068
6087
  return this.clone();
6069
6088
  }
6070
6089
  }, g.endOf = function(m) {
6071
6090
  return this.startOf(m, !1);
6072
6091
  }, g.$set = function(m, E) {
6073
- var _, S = H.p(m), p = "set" + (this.$u ? "UTC" : ""), w = (_ = {}, _[l] = p + "Date", _[y] = p + "Date", _[d] = p + "Month", _[v] = p + "FullYear", _[u] = p + "Hours", _[o] = p + "Minutes", _[a] = p + "Seconds", _[s] = p + "Milliseconds", _)[S], O = S === l ? this.$D + (E - this.$W) : E;
6092
+ var _, S = H.p(m), p = "set" + (this.$u ? "UTC" : ""), w = (_ = {}, _[l] = p + "Date", _[y] = p + "Date", _[d] = p + "Month", _[v] = p + "FullYear", _[u] = p + "Hours", _[o] = p + "Minutes", _[a] = p + "Seconds", _[s] = p + "Milliseconds", _)[S], B = S === l ? this.$D + (E - this.$W) : E;
6074
6093
  if (S === d || S === v) {
6075
6094
  var U = this.clone().set(y, 1);
6076
- U.$d[w](O), U.init(), this.$d = U.set(y, Math.min(this.$D, U.daysInMonth())).$d;
6077
- } else w && this.$d[w](O);
6095
+ U.$d[w](B), U.init(), this.$d = U.set(y, Math.min(this.$D, U.daysInMonth())).$d;
6096
+ } else w && this.$d[w](B);
6078
6097
  return this.init(), this;
6079
6098
  }, g.set = function(m, E) {
6080
6099
  return this.clone().$set(m, E);
@@ -6083,24 +6102,24 @@ var ca = { exports: {} };
6083
6102
  }, g.add = function(m, E) {
6084
6103
  var _, S = this;
6085
6104
  m = Number(m);
6086
- var p = H.p(E), w = function(I) {
6105
+ var p = H.p(E), w = function(C) {
6087
6106
  var Y = F(S);
6088
- return H.w(Y.date(Y.date() + Math.round(I * m)), S);
6107
+ return H.w(Y.date(Y.date() + Math.round(C * m)), S);
6089
6108
  };
6090
6109
  if (p === d) return this.set(d, this.$M + m);
6091
6110
  if (p === v) return this.set(v, this.$y + m);
6092
6111
  if (p === l) return w(1);
6093
6112
  if (p === f) return w(7);
6094
- var O = (_ = {}, _[o] = n, _[u] = i, _[a] = r, _)[p] || 1, U = this.$d.getTime() + m * O;
6113
+ var B = (_ = {}, _[o] = n, _[u] = i, _[a] = r, _)[p] || 1, U = this.$d.getTime() + m * B;
6095
6114
  return H.w(U, this);
6096
6115
  }, g.subtract = function(m, E) {
6097
6116
  return this.add(-1 * m, E);
6098
6117
  }, g.format = function(m) {
6099
6118
  var E = this, _ = this.$locale();
6100
6119
  if (!this.isValid()) return _.invalidDate || A;
6101
- var S = m || "YYYY-MM-DDTHH:mm:ssZ", p = H.z(this), w = this.$H, O = this.$m, U = this.$M, I = _.weekdays, Y = _.months, re = _.meridiem, fe = function(z, be, Re, Ye) {
6120
+ var S = m || "YYYY-MM-DDTHH:mm:ssZ", p = H.z(this), w = this.$H, B = this.$m, U = this.$M, C = _.weekdays, Y = _.months, re = _.meridiem, fe = function(z, be, Re, Ye) {
6102
6121
  return z && (z[be] || z(E, S)) || Re[be].slice(0, Ye);
6103
- }, Ce = function(z) {
6122
+ }, Ie = function(z) {
6104
6123
  return H.s(w % 12 || 12, z, "0");
6105
6124
  }, He = re || function(z, be, Re) {
6106
6125
  var Ye = z < 12 ? "AM" : "PM";
@@ -6128,27 +6147,27 @@ var ca = { exports: {} };
6128
6147
  case "d":
6129
6148
  return String(E.$W);
6130
6149
  case "dd":
6131
- return fe(_.weekdaysMin, E.$W, I, 2);
6150
+ return fe(_.weekdaysMin, E.$W, C, 2);
6132
6151
  case "ddd":
6133
- return fe(_.weekdaysShort, E.$W, I, 3);
6152
+ return fe(_.weekdaysShort, E.$W, C, 3);
6134
6153
  case "dddd":
6135
- return I[E.$W];
6154
+ return C[E.$W];
6136
6155
  case "H":
6137
6156
  return String(w);
6138
6157
  case "HH":
6139
6158
  return H.s(w, 2, "0");
6140
6159
  case "h":
6141
- return Ce(1);
6160
+ return Ie(1);
6142
6161
  case "hh":
6143
- return Ce(2);
6162
+ return Ie(2);
6144
6163
  case "a":
6145
- return He(w, O, !0);
6164
+ return He(w, B, !0);
6146
6165
  case "A":
6147
- return He(w, O, !1);
6166
+ return He(w, B, !1);
6148
6167
  case "m":
6149
- return String(O);
6168
+ return String(B);
6150
6169
  case "mm":
6151
- return H.s(O, 2, "0");
6170
+ return H.s(B, 2, "0");
6152
6171
  case "s":
6153
6172
  return String(E.$s);
6154
6173
  case "ss":
@@ -6164,8 +6183,8 @@ var ca = { exports: {} };
6164
6183
  }, g.utcOffset = function() {
6165
6184
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
6166
6185
  }, g.diff = function(m, E, _) {
6167
- var S, p = this, w = H.p(E), O = F(m), U = (O.utcOffset() - this.utcOffset()) * n, I = this - O, Y = function() {
6168
- return H.m(p, O);
6186
+ var S, p = this, w = H.p(E), B = F(m), U = (B.utcOffset() - this.utcOffset()) * n, C = this - B, Y = function() {
6187
+ return H.m(p, B);
6169
6188
  };
6170
6189
  switch (w) {
6171
6190
  case v:
@@ -6178,22 +6197,22 @@ var ca = { exports: {} };
6178
6197
  S = Y() / 3;
6179
6198
  break;
6180
6199
  case f:
6181
- S = (I - U) / 6048e5;
6200
+ S = (C - U) / 6048e5;
6182
6201
  break;
6183
6202
  case l:
6184
- S = (I - U) / 864e5;
6203
+ S = (C - U) / 864e5;
6185
6204
  break;
6186
6205
  case u:
6187
- S = I / i;
6206
+ S = C / i;
6188
6207
  break;
6189
6208
  case o:
6190
- S = I / n;
6209
+ S = C / n;
6191
6210
  break;
6192
6211
  case a:
6193
- S = I / r;
6212
+ S = C / r;
6194
6213
  break;
6195
6214
  default:
6196
- S = I;
6215
+ S = C;
6197
6216
  }
6198
6217
  return _ ? S : H.a(S);
6199
6218
  }, g.daysInMonth = function() {
@@ -6328,9 +6347,9 @@ var da = { exports: {} };
6328
6347
  H && (te = ve[2]), u = this.$locale(), !F && te && (u = N.Ls[te]), this.$d = function(E, _, S, p) {
6329
6348
  try {
6330
6349
  if (["x", "X"].indexOf(_) > -1) return new Date((_ === "X" ? 1e3 : 1) * E);
6331
- var w = A(_)(E), O = w.year, U = w.month, I = w.day, Y = w.hours, re = w.minutes, fe = w.seconds, Ce = w.milliseconds, He = w.zone, z = w.week, be = /* @__PURE__ */ new Date(), Re = I || (O || U ? 1 : be.getDate()), Ye = O || be.getFullYear(), ne = 0;
6332
- O && !U || (ne = U > 0 ? U - 1 : be.getMonth());
6333
- var Q, tt = Y || 0, St = re || 0, un = fe || 0, ln = Ce || 0;
6350
+ var w = A(_)(E), B = w.year, U = w.month, C = w.day, Y = w.hours, re = w.minutes, fe = w.seconds, Ie = w.milliseconds, He = w.zone, z = w.week, be = /* @__PURE__ */ new Date(), Re = C || (B || U ? 1 : be.getDate()), Ye = B || be.getFullYear(), ne = 0;
6351
+ B && !U || (ne = U > 0 ? U - 1 : be.getMonth());
6352
+ var Q, tt = Y || 0, St = re || 0, un = fe || 0, ln = Ie || 0;
6334
6353
  return He ? new Date(Date.UTC(Ye, ne, Re, tt, St, un, ln + 60 * He.offset * 1e3)) : S ? new Date(Date.UTC(Ye, ne, Re, tt, St, un, ln)) : (Q = new Date(Ye, ne, Re, tt, St, un, ln), z && (Q = p(Q).week(z).toDate()), Q);
6335
6354
  } catch (Yl) {
6336
6355
  return /* @__PURE__ */ new Date("");
@@ -6353,7 +6372,7 @@ var da = { exports: {} };
6353
6372
  var Ll = da.exports;
6354
6373
  const Dl = /* @__PURE__ */ ti(Ll);
6355
6374
  Pl.extend(Dl);
6356
- const Il = () => typeof window == "undefined";
6375
+ const Cl = () => typeof window == "undefined";
6357
6376
  if (typeof window != "undefined") {
6358
6377
  let e = function(t) {
6359
6378
  return function(...r) {
@@ -6366,11 +6385,11 @@ if (typeof window != "undefined") {
6366
6385
  }
6367
6386
  };
6368
6387
  };
6369
- customElements.define = e(customElements.define), import("./TournamentDetails-DYUp81H2.js").then(({ default: t }) => {
6388
+ customElements.define = e(customElements.define), import("./TournamentDetails-E-bljewA.js").then(({ default: t }) => {
6370
6389
  !customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
6371
6390
  });
6372
6391
  }
6373
- var Cl = /* @__PURE__ */ Rt('<button class="ButtonSecondary svelte-1ja9a3z"> </button> <button class="ButtonPrimary svelte-1ja9a3z"> </button>', 1), Rl = /* @__PURE__ */ Rt('<button class="ViewDetailsButton svelte-1ja9a3z"> </button>'), Ul = /* @__PURE__ */ Rt('<a class="ButtonSecondary svelte-1ja9a3z"> </a>'), Fl = /* @__PURE__ */ Rt('<button class="ButtonSecondary svelte-1ja9a3z"> </button>'), Gl = /* @__PURE__ */ Rt('<span class="Spinner svelte-1ja9a3z"></span>'), jl = /* @__PURE__ */ Rt("<!> <button><!></button>", 1), kl = /* @__PURE__ */ Rt('<div class="CardContainer svelte-1ja9a3z"><div class="TournamentDetailsWrapper svelte-1ja9a3z"><tournament-details></tournament-details></div> <div class="TournamentButtonsWrapper svelte-1ja9a3z"><!></div></div>', 2);
6392
+ var Il = /* @__PURE__ */ Rt('<button class="ButtonSecondary svelte-1ja9a3z"> </button> <button class="ButtonPrimary svelte-1ja9a3z"> </button>', 1), Rl = /* @__PURE__ */ Rt('<button class="ViewDetailsButton svelte-1ja9a3z"> </button>'), Ul = /* @__PURE__ */ Rt('<a class="ButtonSecondary svelte-1ja9a3z"> </a>'), Fl = /* @__PURE__ */ Rt('<button class="ButtonSecondary svelte-1ja9a3z"> </button>'), Gl = /* @__PURE__ */ Rt('<span class="Spinner svelte-1ja9a3z"></span>'), jl = /* @__PURE__ */ Rt("<!> <button><!></button>", 1), kl = /* @__PURE__ */ Rt('<div class="CardContainer svelte-1ja9a3z"><div class="TournamentDetailsWrapper svelte-1ja9a3z"><tournament-details></tournament-details></div> <div class="TournamentButtonsWrapper svelte-1ja9a3z"><!></div></div>', 2);
6374
6393
  const Vl = {
6375
6394
  hash: "svelte-1ja9a3z",
6376
6395
  code: `.svelte-1ja9a3z,
@@ -6383,24 +6402,24 @@ const Vl = {
6383
6402
  }`
6384
6403
  };
6385
6404
  function pa(e, t) {
6386
- Xi(t, !0), Bo(e, Vl);
6405
+ Xi(t, !0), Oo(e, Vl);
6387
6406
  const r = () => Fo($l, "$_", n), [n, i] = Go(), s = it(t, "tournament"), a = it(t, "isLoggedIn"), o = it(t, "language"), u = it(t, "endpoint"), l = it(t, "session"), f = it(t, "translationurl"), d = it(t, "navigationHref", 7, null), c = it(t, "platform"), v = it(t, "hidden", 7, !1);
6388
6407
  let y = /* @__PURE__ */ $e(!1), A = /* @__PURE__ */ $e(!1), b = /* @__PURE__ */ $e(""), T = /* @__PURE__ */ $e(!1);
6389
6408
  Nn(() => {
6390
- Bi(o());
6409
+ Oi(o());
6391
6410
  });
6392
6411
  const N = () => {
6393
6412
  let p = new URL(f());
6394
6413
  fetch(p.href).then((w) => w.json()).then((w) => {
6395
- Object.keys(w).forEach((O) => {
6396
- Oi(O, w[O]);
6414
+ Object.keys(w).forEach((B) => {
6415
+ Bi(B, w[B]);
6397
6416
  });
6398
6417
  }).catch((w) => {
6399
6418
  console.log(w);
6400
6419
  });
6401
6420
  };
6402
6421
  Object.keys($i).forEach((p) => {
6403
- Oi(p, $i[p]);
6422
+ Bi(p, $i[p]);
6404
6423
  }), uo(() => {
6405
6424
  f() && N();
6406
6425
  });
@@ -6421,8 +6440,8 @@ function pa(e, t) {
6421
6440
  p.searchParams.append("language", o()), p.searchParams.append("platform", c());
6422
6441
  const w = new Headers();
6423
6442
  w.append("Content-Type", "application/json"), w.append("X-SessionID", l());
6424
- let O = {};
6425
- s().wallets && s().wallets.length > 0 && (O = {
6443
+ let B = {};
6444
+ s().wallets && s().wallets.length > 0 && (B = {
6426
6445
  language: o(),
6427
6446
  bonusCode: s().wallets[0].code,
6428
6447
  currency: s().baseCurrency,
@@ -6431,15 +6450,15 @@ function pa(e, t) {
6431
6450
  const U = {
6432
6451
  method: "PUT",
6433
6452
  headers: w,
6434
- body: JSON.stringify(O)
6453
+ body: JSON.stringify(B)
6435
6454
  };
6436
- fetch(p, U).then((I) => I.json()).then((I) => {
6437
- I && (I.success == !0 ? ie(T, !0) : I.errorMessage.match("VersionMismatchException") && Z());
6438
- }).catch((I) => {
6439
- console.log(I), ie(A, !0), ie(b, I.errorMessage, !0);
6455
+ fetch(p, U).then((C) => C.json()).then((C) => {
6456
+ C && (C.success == !0 ? ie(T, !0) : C.errorMessage.match("VersionMismatchException") && Z());
6457
+ }).catch((C) => {
6458
+ console.log(C), ie(A, !0), ie(b, C.errorMessage, !0);
6440
6459
  }).finally(() => ie(y, !1));
6441
6460
  }, ve = () => {
6442
- Bi(o());
6461
+ Oi(o());
6443
6462
  }, le = () => new Date(s().endTime) < /* @__PURE__ */ new Date();
6444
6463
  Nn(() => {
6445
6464
  ve();
@@ -6506,31 +6525,31 @@ function pa(e, t) {
6506
6525
  var g = pn(te, 2), m = nt(g);
6507
6526
  {
6508
6527
  var E = (p) => {
6509
- var w = Cl(), O = dn(w);
6510
- O.__click = J;
6511
- var U = nt(O, !0);
6512
- rt(O);
6513
- var I = pn(O, 2);
6514
- I.__click = M;
6515
- var Y = nt(I, !0);
6516
- rt(I), Ue(
6528
+ var w = Il(), B = dn(w);
6529
+ B.__click = J;
6530
+ var U = nt(B, !0);
6531
+ rt(B);
6532
+ var C = pn(B, 2);
6533
+ C.__click = M;
6534
+ var Y = nt(C, !0);
6535
+ rt(C), Ue(
6517
6536
  (re, fe) => {
6518
6537
  Ft(U, re), Ft(Y, fe);
6519
6538
  },
6520
6539
  [() => r()("registerButton"), () => r()("loginButton")]
6521
6540
  ), Xe(p, w);
6522
6541
  }, _ = (p) => {
6523
- var w = wo(), O = dn(w);
6542
+ var w = wo(), B = dn(w);
6524
6543
  {
6525
6544
  var U = (Y) => {
6526
6545
  var re = Rl();
6527
6546
  re.__click = () => k(s().id);
6528
6547
  var fe = nt(re, !0);
6529
- rt(re), Ue((Ce) => Ft(fe, Ce), [() => r()("viewDetailsButton")]), Xe(Y, re);
6530
- }, I = (Y) => {
6548
+ rt(re), Ue((Ie) => Ft(fe, Ie), [() => r()("viewDetailsButton")]), Xe(Y, re);
6549
+ }, C = (Y) => {
6531
6550
  var re = jl(), fe = dn(re);
6532
6551
  {
6533
- var Ce = (ne) => {
6552
+ var Ie = (ne) => {
6534
6553
  var Q = Ul(), tt = nt(Q, !0);
6535
6554
  rt(Q), Ue(
6536
6555
  (St) => {
@@ -6545,7 +6564,7 @@ function pa(e, t) {
6545
6564
  rt(Q), Ue((St) => Ft(tt, St), [() => r()("detailsButton")]), Xe(ne, Q);
6546
6565
  };
6547
6566
  $r(fe, (ne) => {
6548
- Il() ? ne(Ce) : ne(He, !1);
6567
+ Cl() ? ne(Ie) : ne(He, !1);
6549
6568
  });
6550
6569
  }
6551
6570
  var z = pn(fe, 2);
@@ -6567,8 +6586,8 @@ function pa(e, t) {
6567
6586
  vi(z, 1, `ButtonPrimary ${s().playerEnrolled || ce(T) ? "Enrolled" : ""}`, "svelte-1ja9a3z"), z.disabled = s().playerEnrolled || ce(T);
6568
6587
  }), Xe(Y, re);
6569
6588
  };
6570
- $r(O, (Y) => {
6571
- le() ? Y(U) : Y(I, !1);
6589
+ $r(B, (Y) => {
6590
+ le() ? Y(U) : Y(C, !1);
6572
6591
  });
6573
6592
  }
6574
6593
  Xe(p, w);
@@ -6619,7 +6638,7 @@ export {
6619
6638
  Gs as b,
6620
6639
  Dl as c,
6621
6640
  Pl as d,
6622
- Bo as e,
6641
+ Oo as e,
6623
6642
  it as f,
6624
6643
  ti as g,
6625
6644
  Nn as h,