@everymatrix/tournament-details-page 0.0.4 → 0.0.5

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.
@@ -289,16 +289,16 @@ class He {
289
289
  render_effects: []
290
290
  }), !o && n.fn !== null) {
291
291
  s ? n.f ^= ue : i & tn ? r.effects.push(n) : Xt(n) && (n.f & Ve && this.#s.add(n), Gt(n));
292
- var u = n.first;
293
- if (u !== null) {
294
- n = u;
292
+ var f = n.first;
293
+ if (f !== null) {
294
+ n = f;
295
295
  continue;
296
296
  }
297
297
  }
298
- var f = n.parent;
299
- for (n = n.next; n === null && f !== null; )
300
- f === r.effect && (this.#o(r.effects), this.#o(r.render_effects), r = /** @type {EffectTarget} */
301
- r.parent), n = f.next, f = f.parent;
298
+ var u = n.parent;
299
+ for (n = n.next; n === null && u !== null; )
300
+ u === r.effect && (this.#o(r.effects), this.#o(r.render_effects), r = /** @type {EffectTarget} */
301
+ r.parent), n = u.next, u = u.parent;
302
302
  }
303
303
  }
304
304
  /**
@@ -367,23 +367,23 @@ class He {
367
367
  continue;
368
368
  }
369
369
  const a = [];
370
- for (const [u, f] of this.current) {
371
- if (s.current.has(u))
372
- if (r && f !== s.current.get(u))
373
- s.current.set(u, f);
370
+ for (const [f, u] of this.current) {
371
+ if (s.current.has(f))
372
+ if (r && u !== s.current.get(f))
373
+ s.current.set(f, u);
374
374
  else
375
375
  continue;
376
- a.push(u);
376
+ a.push(f);
377
377
  }
378
378
  if (a.length === 0)
379
379
  continue;
380
- const o = [...s.current.keys()].filter((u) => !this.current.has(u));
380
+ const o = [...s.current.keys()].filter((f) => !this.current.has(f));
381
381
  if (o.length > 0) {
382
382
  var i = Pe;
383
383
  Pe = [];
384
- const u = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Map();
384
+ const f = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map();
385
385
  for (const l of a)
386
- ii(l, o, u, f);
386
+ ii(l, o, f, u);
387
387
  if (Pe.length > 0) {
388
388
  W = s, s.apply();
389
389
  for (const l of Pe)
@@ -499,8 +499,8 @@ function gn(e) {
499
499
  for (; a !== null; )
500
500
  Xe.has(a) && (Xe.delete(a), s.push(a)), a = a.parent;
501
501
  for (let o = s.length - 1; o >= 0; o--) {
502
- const u = s[o];
503
- u.f & (Fe | Ee) || Gt(u);
502
+ const f = s[o];
503
+ f.f & (Fe | Ee) || Gt(f);
504
504
  }
505
505
  }
506
506
  Xe.clear();
@@ -749,8 +749,8 @@ class _s {
749
749
  var o = U;
750
750
  try {
751
751
  fe(null), s = !0, r?.(t, a), s = !1;
752
- } catch (u) {
753
- wt(u, this.#s && this.#s.parent);
752
+ } catch (f) {
753
+ wt(f, this.#s && this.#s.parent);
754
754
  } finally {
755
755
  fe(o);
756
756
  }
@@ -765,9 +765,9 @@ class _s {
765
765
  () => a
766
766
  );
767
767
  });
768
- } catch (u) {
768
+ } catch (f) {
769
769
  return wt(
770
- u,
770
+ f,
771
771
  /** @type {Effect} */
772
772
  this.#s.parent
773
773
  ), null;
@@ -788,27 +788,27 @@ function $s(e, t, r, n) {
788
788
  /** @type {Effect} */
789
789
  X
790
790
  ), o = ea();
791
- function u() {
792
- Promise.all(r.map((f) => /* @__PURE__ */ ta(f))).then((f) => {
791
+ function f() {
792
+ Promise.all(r.map((u) => /* @__PURE__ */ ta(u))).then((u) => {
793
793
  o();
794
794
  try {
795
- n([...t.map(i), ...f]);
795
+ n([...t.map(i), ...u]);
796
796
  } catch (l) {
797
797
  a.f & Fe || wt(l, a);
798
798
  }
799
799
  s?.deactivate(), nr();
800
- }).catch((f) => {
801
- wt(f, a);
800
+ }).catch((u) => {
801
+ wt(u, a);
802
802
  });
803
803
  }
804
804
  e.length > 0 ? Promise.all(e).then(() => {
805
805
  o();
806
806
  try {
807
- return u();
807
+ return f();
808
808
  } finally {
809
809
  s?.deactivate(), nr();
810
810
  }
811
- }) : u();
811
+ }) : f();
812
812
  }
813
813
  function ea() {
814
814
  var e = X, t = U, r = xe, n = W;
@@ -862,47 +862,47 @@ function ta(e, t) {
862
862
  oe
863
863
  ), a = !U, o = /* @__PURE__ */ new Map();
864
864
  return la(() => {
865
- var u = Fn();
866
- i = u.promise;
865
+ var f = Fn();
866
+ i = f.promise;
867
867
  try {
868
- Promise.resolve(e()).then(u.resolve, u.reject).then(() => {
869
- f === W && f.committed && f.deactivate(), nr();
868
+ Promise.resolve(e()).then(f.resolve, f.reject).then(() => {
869
+ u === W && u.committed && u.deactivate(), nr();
870
870
  });
871
871
  } catch (h) {
872
- u.reject(h), nr();
872
+ f.reject(h), nr();
873
873
  }
874
- var f = (
874
+ var u = (
875
875
  /** @type {Batch} */
876
876
  W
877
877
  );
878
878
  if (a) {
879
879
  var l = !n.is_pending();
880
- n.update_pending_count(1), f.increment(l), o.get(f)?.reject(pt), o.delete(f), o.set(f, u);
880
+ n.update_pending_count(1), u.increment(l), o.get(u)?.reject(pt), o.delete(u), o.set(u, f);
881
881
  }
882
882
  const c = (h, v = void 0) => {
883
- if (f.activate(), v)
883
+ if (u.activate(), v)
884
884
  v !== pt && (s.f |= _e, Et(s, v));
885
885
  else {
886
886
  s.f & _e && (s.f ^= _e), Et(s, h);
887
887
  for (const [M, m] of o) {
888
- if (o.delete(M), M === f) break;
888
+ if (o.delete(M), M === u) break;
889
889
  m.reject(pt);
890
890
  }
891
891
  }
892
- a && (n.update_pending_count(-1), f.decrement(l));
892
+ a && (n.update_pending_count(-1), u.decrement(l));
893
893
  };
894
- u.promise.then(c, (h) => c(null, h || "unknown"));
894
+ f.promise.then(c, (h) => c(null, h || "unknown"));
895
895
  }), mi(() => {
896
- for (const u of o.values())
897
- u.reject(pt);
898
- }), new Promise((u) => {
899
- function f(l) {
896
+ for (const f of o.values())
897
+ f.reject(pt);
898
+ }), new Promise((f) => {
899
+ function u(l) {
900
900
  function c() {
901
- l === i ? u(s) : f(i);
901
+ l === i ? f(s) : u(i);
902
902
  }
903
903
  l.then(c, c);
904
904
  }
905
- f(i);
905
+ u(i);
906
906
  });
907
907
  }
908
908
  // @__NO_SIDE_EFFECTS__
@@ -1023,11 +1023,11 @@ function fi(e, t) {
1023
1023
  for (var n = r.length, i = 0; i < n; i++) {
1024
1024
  var s = r[i], a = s.f, o = (a & ye) === 0;
1025
1025
  if (o && he(s, t), a & se) {
1026
- var u = (
1026
+ var f = (
1027
1027
  /** @type {Derived} */
1028
1028
  s
1029
1029
  );
1030
- Oe?.delete(u), a & at || (a & De && (s.f |= at), fi(u, Ze));
1030
+ Oe?.delete(f), a & at || (a & De && (s.f |= at), fi(f, Ze));
1031
1031
  } else o && (a & Ve && Xe !== null && Xe.add(
1032
1032
  /** @type {Effect} */
1033
1033
  s
@@ -1046,10 +1046,10 @@ function mt(e) {
1046
1046
  var r = /* @__PURE__ */ new Map(), n = Yn(e), i = /* @__PURE__ */ ze(0), s = it, a = (o) => {
1047
1047
  if (it === s)
1048
1048
  return o();
1049
- var u = U, f = it;
1049
+ var f = U, u = it;
1050
1050
  fe(null), xn(s);
1051
1051
  var l = o();
1052
- return fe(u), xn(f), l;
1052
+ return fe(f), xn(u), l;
1053
1053
  };
1054
1054
  return n && r.set("length", /* @__PURE__ */ ze(
1055
1055
  /** @type {any[]} */
@@ -1058,45 +1058,45 @@ function mt(e) {
1058
1058
  /** @type {any} */
1059
1059
  e,
1060
1060
  {
1061
- defineProperty(o, u, f) {
1062
- (!("value" in f) || f.configurable === !1 || f.enumerable === !1 || f.writable === !1) && Ys();
1063
- var l = r.get(u);
1061
+ defineProperty(o, f, u) {
1062
+ (!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Ys();
1063
+ var l = r.get(f);
1064
1064
  return l === void 0 ? l = a(() => {
1065
- var c = /* @__PURE__ */ ze(f.value);
1066
- return r.set(u, c), c;
1067
- }) : Ae(l, f.value, !0), !0;
1065
+ var c = /* @__PURE__ */ ze(u.value);
1066
+ return r.set(f, c), c;
1067
+ }) : Ae(l, u.value, !0), !0;
1068
1068
  },
1069
- deleteProperty(o, u) {
1070
- var f = r.get(u);
1071
- if (f === void 0) {
1072
- if (u in o) {
1069
+ deleteProperty(o, f) {
1070
+ var u = r.get(f);
1071
+ if (u === void 0) {
1072
+ if (f in o) {
1073
1073
  const l = a(() => /* @__PURE__ */ ze(oe));
1074
- r.set(u, l), Ct(i);
1074
+ r.set(f, l), Ct(i);
1075
1075
  }
1076
1076
  } else
1077
- Ae(f, oe), Ct(i);
1077
+ Ae(u, oe), Ct(i);
1078
1078
  return !0;
1079
1079
  },
1080
- get(o, u, f) {
1081
- if (u === Pr)
1080
+ get(o, f, u) {
1081
+ if (f === Pr)
1082
1082
  return e;
1083
- var l = r.get(u), c = u in o;
1084
- if (l === void 0 && (!c || gt(o, u)?.writable) && (l = a(() => {
1085
- var v = mt(c ? o[u] : oe), M = /* @__PURE__ */ ze(v);
1083
+ var l = r.get(f), c = f in o;
1084
+ if (l === void 0 && (!c || gt(o, f)?.writable) && (l = a(() => {
1085
+ var v = mt(c ? o[f] : oe), M = /* @__PURE__ */ ze(v);
1086
1086
  return M;
1087
- }), r.set(u, l)), l !== void 0) {
1087
+ }), r.set(f, l)), l !== void 0) {
1088
1088
  var h = Q(l);
1089
1089
  return h === oe ? void 0 : h;
1090
1090
  }
1091
- return Reflect.get(o, u, f);
1091
+ return Reflect.get(o, f, u);
1092
1092
  },
1093
- getOwnPropertyDescriptor(o, u) {
1094
- var f = Reflect.getOwnPropertyDescriptor(o, u);
1095
- if (f && "value" in f) {
1096
- var l = r.get(u);
1097
- l && (f.value = Q(l));
1098
- } else if (f === void 0) {
1099
- var c = r.get(u), h = c?.v;
1093
+ getOwnPropertyDescriptor(o, f) {
1094
+ var u = Reflect.getOwnPropertyDescriptor(o, f);
1095
+ if (u && "value" in u) {
1096
+ var l = r.get(f);
1097
+ l && (u.value = Q(l));
1098
+ } else if (u === void 0) {
1099
+ var c = r.get(f), h = c?.v;
1100
1100
  if (c !== void 0 && h !== oe)
1101
1101
  return {
1102
1102
  enumerable: !0,
@@ -1105,45 +1105,45 @@ function mt(e) {
1105
1105
  writable: !0
1106
1106
  };
1107
1107
  }
1108
- return f;
1108
+ return u;
1109
1109
  },
1110
- has(o, u) {
1111
- if (u === Pr)
1110
+ has(o, f) {
1111
+ if (f === Pr)
1112
1112
  return !0;
1113
- var f = r.get(u), l = f !== void 0 && f.v !== oe || Reflect.has(o, u);
1114
- if (f !== void 0 || X !== null && (!l || gt(o, u)?.writable)) {
1115
- f === void 0 && (f = a(() => {
1116
- var h = l ? mt(o[u]) : oe, v = /* @__PURE__ */ ze(h);
1113
+ var u = r.get(f), l = u !== void 0 && u.v !== oe || Reflect.has(o, f);
1114
+ if (u !== void 0 || X !== null && (!l || gt(o, f)?.writable)) {
1115
+ u === void 0 && (u = a(() => {
1116
+ var h = l ? mt(o[f]) : oe, v = /* @__PURE__ */ ze(h);
1117
1117
  return v;
1118
- }), r.set(u, f));
1119
- var c = Q(f);
1118
+ }), r.set(f, u));
1119
+ var c = Q(u);
1120
1120
  if (c === oe)
1121
1121
  return !1;
1122
1122
  }
1123
1123
  return l;
1124
1124
  },
1125
- set(o, u, f, l) {
1126
- var c = r.get(u), h = u in o;
1127
- if (n && u === "length")
1128
- for (var v = f; v < /** @type {Source<number>} */
1125
+ set(o, f, u, l) {
1126
+ var c = r.get(f), h = f in o;
1127
+ if (n && f === "length")
1128
+ for (var v = u; v < /** @type {Source<number>} */
1129
1129
  c.v; v += 1) {
1130
1130
  var M = r.get(v + "");
1131
1131
  M !== void 0 ? Ae(M, oe) : v in o && (M = a(() => /* @__PURE__ */ ze(oe)), r.set(v + "", M));
1132
1132
  }
1133
1133
  if (c === void 0)
1134
- (!h || gt(o, u)?.writable) && (c = a(() => /* @__PURE__ */ ze(void 0)), Ae(c, mt(f)), r.set(u, c));
1134
+ (!h || gt(o, f)?.writable) && (c = a(() => /* @__PURE__ */ ze(void 0)), Ae(c, mt(u)), r.set(f, c));
1135
1135
  else {
1136
1136
  h = c.v !== oe;
1137
- var m = a(() => mt(f));
1137
+ var m = a(() => mt(u));
1138
1138
  Ae(c, m);
1139
1139
  }
1140
- var d = Reflect.getOwnPropertyDescriptor(o, u);
1141
- if (d?.set && d.set.call(l, f), !h) {
1142
- if (n && typeof u == "string") {
1140
+ var d = Reflect.getOwnPropertyDescriptor(o, f);
1141
+ if (d?.set && d.set.call(l, u), !h) {
1142
+ if (n && typeof f == "string") {
1143
1143
  var w = (
1144
1144
  /** @type {Source<number>} */
1145
1145
  r.get("length")
1146
- ), N = Number(u);
1146
+ ), N = Number(f);
1147
1147
  Number.isInteger(N) && N >= w.v && Ae(w, N + 1);
1148
1148
  }
1149
1149
  Ct(i);
@@ -1152,13 +1152,13 @@ function mt(e) {
1152
1152
  },
1153
1153
  ownKeys(o) {
1154
1154
  Q(i);
1155
- var u = Reflect.ownKeys(o).filter((c) => {
1155
+ var f = Reflect.ownKeys(o).filter((c) => {
1156
1156
  var h = r.get(c);
1157
1157
  return h === void 0 || h.v !== oe;
1158
1158
  });
1159
- for (var [f, l] of r)
1160
- l.v !== oe && !(f in o) && u.push(f);
1161
- return u;
1159
+ for (var [u, l] of r)
1160
+ l.v !== oe && !(u in o) && f.push(u);
1161
+ return f;
1162
1162
  },
1163
1163
  setPrototypeOf() {
1164
1164
  Xs();
@@ -1526,9 +1526,9 @@ function Bi(e, t, r = !0) {
1526
1526
  }
1527
1527
  }
1528
1528
  function Ni(e) {
1529
- var t = de, r = we, n = Me, i = U, s = ke, a = xe, o = Ge, u = it, f = e.f;
1529
+ var t = de, r = we, n = Me, i = U, s = ke, a = xe, o = Ge, f = it, u = e.f;
1530
1530
  de = /** @type {null | Value[]} */
1531
- null, we = 0, Me = null, U = f & (We | et) ? null : e, ke = null, xt(e.ctx), Ge = !1, it = ++Rt, e.ac !== null && (pi(() => {
1531
+ null, we = 0, Me = null, U = u & (We | et) ? null : e, ke = null, xt(e.ctx), Ge = !1, it = ++Rt, e.ac !== null && (pi(() => {
1532
1532
  e.ac.abort(pt);
1533
1533
  }), e.ac = null);
1534
1534
  try {
@@ -1561,7 +1561,7 @@ function Ni(e) {
1561
1561
  } catch (M) {
1562
1562
  return ri(M);
1563
1563
  } finally {
1564
- e.f ^= Cr, de = t, we = r, Me = n, U = i, ke = s, xt(a), Ge = o, it = u;
1564
+ e.f ^= Cr, de = t, we = r, Me = n, U = i, ke = s, xt(a), Ge = o, it = f;
1565
1565
  }
1566
1566
  }
1567
1567
  function da(e, t) {
@@ -1693,16 +1693,16 @@ function Vt(e) {
1693
1693
  wn = e;
1694
1694
  var a = 0, o = wn === e && e.__root;
1695
1695
  if (o) {
1696
- var u = i.indexOf(o);
1697
- if (u !== -1 && (t === document || t === /** @type {any} */
1696
+ var f = i.indexOf(o);
1697
+ if (f !== -1 && (t === document || t === /** @type {any} */
1698
1698
  window)) {
1699
1699
  e.__root = t;
1700
1700
  return;
1701
1701
  }
1702
- var f = i.indexOf(t);
1703
- if (f === -1)
1702
+ var u = i.indexOf(t);
1703
+ if (u === -1)
1704
1704
  return;
1705
- u <= f && (a = u);
1705
+ f <= u && (a = f);
1706
1706
  }
1707
1707
  if (s = /** @type {Element} */
1708
1708
  i[a] || e.target, s !== t) {
@@ -1770,11 +1770,11 @@ function fn(e, t) {
1770
1770
  var o = (
1771
1771
  /** @type {TemplateNode} */
1772
1772
  /* @__PURE__ */ Le(a)
1773
- ), u = (
1773
+ ), f = (
1774
1774
  /** @type {TemplateNode} */
1775
1775
  a.lastChild
1776
1776
  );
1777
- Ue(o, u);
1777
+ Ue(o, f);
1778
1778
  } else
1779
1779
  Ue(a, a);
1780
1780
  return a;
@@ -1847,7 +1847,7 @@ function ba(e, t) {
1847
1847
  const dt = /* @__PURE__ */ new Map();
1848
1848
  function zi(e, { target: t, anchor: r, props: n = {}, events: i, context: s, intro: a = !0 }) {
1849
1849
  Rr();
1850
- var o = /* @__PURE__ */ new Set(), u = (c) => {
1850
+ var o = /* @__PURE__ */ new Set(), f = (c) => {
1851
1851
  for (var h = 0; h < c.length; h++) {
1852
1852
  var v = c[h];
1853
1853
  if (!o.has(v)) {
@@ -1859,8 +1859,8 @@ function zi(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
1859
1859
  }
1860
1860
  }
1861
1861
  };
1862
- u(lr(Di)), Ur.add(u);
1863
- var f = void 0, l = ua(() => {
1862
+ f(lr(Di)), Ur.add(f);
1863
+ var u = void 0, l = ua(() => {
1864
1864
  var c = r ?? t.appendChild(be());
1865
1865
  return qs(
1866
1866
  /** @type {TemplateNode} */
@@ -1882,7 +1882,7 @@ function zi(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
1882
1882
  /** @type {TemplateNode} */
1883
1883
  h,
1884
1884
  null
1885
- ), f = e(h, n) || {}, I && (X.nodes.end = Y, Y === null || Y.nodeType !== lt || /** @type {Comment} */
1885
+ ), u = e(h, n) || {}, I && (X.nodes.end = Y, Y === null || Y.nodeType !== lt || /** @type {Comment} */
1886
1886
  Y.data !== en))
1887
1887
  throw Yt(), st;
1888
1888
  s && $n();
@@ -1896,10 +1896,10 @@ function zi(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
1896
1896
  );
1897
1897
  --v === 0 ? (document.removeEventListener(h, Vt), dt.delete(h)) : dt.set(h, v);
1898
1898
  }
1899
- Ur.delete(u), c !== r && c.parentNode?.removeChild(c);
1899
+ Ur.delete(f), c !== r && c.parentNode?.removeChild(c);
1900
1900
  };
1901
1901
  });
1902
- return Zr.set(f, l), f;
1902
+ return Zr.set(u, l), u;
1903
1903
  }
1904
1904
  let Zr = /* @__PURE__ */ new WeakMap();
1905
1905
  function ya(e, t) {
@@ -1975,8 +1975,8 @@ class xa {
1975
1975
  if (s === r || this.#n.has(s)) continue;
1976
1976
  const o = () => {
1977
1977
  if (Array.from(this.#t.values()).includes(s)) {
1978
- var f = document.createDocumentFragment();
1979
- Pi(a, f), f.append(be()), this.#r.set(s, { effect: a, fragment: f });
1978
+ var u = document.createDocumentFragment();
1979
+ Pi(a, u), u.append(be()), this.#r.set(s, { effect: a, fragment: u });
1980
1980
  } else
1981
1981
  ve(a);
1982
1982
  this.#n.delete(s), this.#e.delete(s);
@@ -2017,10 +2017,10 @@ class xa {
2017
2017
  Se(() => r(this.anchor))
2018
2018
  );
2019
2019
  if (this.#t.set(n, t), i) {
2020
- for (const [o, u] of this.#e)
2021
- o === t ? n.skipped_effects.delete(u) : n.skipped_effects.add(u);
2022
- for (const [o, u] of this.#r)
2023
- o === t ? n.skipped_effects.delete(u.effect) : n.skipped_effects.add(u.effect);
2020
+ for (const [o, f] of this.#e)
2021
+ o === t ? n.skipped_effects.delete(f) : n.skipped_effects.add(f);
2022
+ for (const [o, f] of this.#r)
2023
+ o === t ? n.skipped_effects.delete(f.effect) : n.skipped_effects.add(f.effect);
2024
2024
  n.oncommit(this.#s), n.ondiscard(this.#i);
2025
2025
  } else
2026
2026
  I && (this.anchor = Y), this.#s();
@@ -2043,10 +2043,10 @@ function En(e, t, r = !1) {
2043
2043
  var n = new xa(e), i = r ? bt : 0;
2044
2044
  function s(a, o) {
2045
2045
  if (I) {
2046
- const f = Jn(e) === fr;
2047
- if (a === f) {
2048
- var u = rr();
2049
- le(u), n.anchor = u, Ne(!1), n.ensure(a, o), Ne(!0);
2046
+ const u = Jn(e) === fr;
2047
+ if (a === u) {
2048
+ var f = rr();
2049
+ le(f), n.anchor = f, Ne(!1), n.ensure(a, o), Ne(!0);
2050
2050
  return;
2051
2051
  }
2052
2052
  }
@@ -2054,8 +2054,8 @@ function En(e, t, r = !1) {
2054
2054
  }
2055
2055
  on(() => {
2056
2056
  var a = !1;
2057
- t((o, u = !0) => {
2058
- a = !0, s(u, o);
2057
+ t((o, f = !0) => {
2058
+ a = !0, s(f, o);
2059
2059
  }), a || s(!1, null);
2060
2060
  }, i);
2061
2061
  }
@@ -2083,18 +2083,18 @@ function Ta(e, t, r) {
2083
2083
  );
2084
2084
  }
2085
2085
  if (a === 0) {
2086
- var u = n.length === 0 && r !== null;
2087
- if (u) {
2088
- var f = (
2086
+ var f = n.length === 0 && r !== null;
2087
+ if (f) {
2088
+ var u = (
2089
2089
  /** @type {Element} */
2090
2090
  r
2091
2091
  ), l = (
2092
2092
  /** @type {Element} */
2093
- f.parentNode
2093
+ u.parentNode
2094
2094
  );
2095
- di(l), l.append(f), e.items.clear();
2095
+ di(l), l.append(u), e.items.clear();
2096
2096
  }
2097
- Yr(t, !u);
2097
+ Yr(t, !f);
2098
2098
  } else
2099
2099
  s = {
2100
2100
  pending: new Set(t),
@@ -2107,13 +2107,13 @@ function Yr(e, t = !0) {
2107
2107
  }
2108
2108
  var Tn;
2109
2109
  function Qu(e, t, r, n, i, s = null) {
2110
- var a = e, o = /* @__PURE__ */ new Map(), u = (t & Un) !== 0;
2111
- if (u) {
2112
- var f = (
2110
+ var a = e, o = /* @__PURE__ */ new Map(), f = (t & Un) !== 0;
2111
+ if (f) {
2112
+ var u = (
2113
2113
  /** @type {Element} */
2114
2114
  e
2115
2115
  );
2116
- a = I ? le(/* @__PURE__ */ Le(f)) : f.appendChild(be());
2116
+ a = I ? le(/* @__PURE__ */ Le(u)) : u.appendChild(be());
2117
2117
  }
2118
2118
  I && yt();
2119
2119
  var l = null, c = /* @__PURE__ */ ra(() => {
@@ -2166,7 +2166,7 @@ function Qu(e, t, r, n, i, s = null) {
2166
2166
  v = !1, I && (a = Y);
2167
2167
  }
2168
2168
  function Ma(e, t, r, n, i) {
2169
- var s = (n & Es) !== 0, a = t.length, o = e.items, u = e.effect.first, f, l = null, c, h = [], v = [], M, m, d, w;
2169
+ var s = (n & Es) !== 0, a = t.length, o = e.items, f = e.effect.first, u, l = null, c, h = [], v = [], M, m, d, w;
2170
2170
  if (s)
2171
2171
  for (w = 0; w < a; w += 1)
2172
2172
  M = t[w], m = i(M, w), d = /** @type {EachItem} */
@@ -2177,15 +2177,15 @@ function Ma(e, t, r, n, i) {
2177
2177
  for (const T of e.outrogroups)
2178
2178
  T.pending.delete(d), T.done.delete(d);
2179
2179
  if (d.f & je)
2180
- if (d.f ^= je, d === u)
2180
+ if (d.f ^= je, d === f)
2181
2181
  Lt(d, null, r);
2182
2182
  else {
2183
- var N = l ? l.next : u;
2184
- d === e.effect.last && (e.effect.last = d.prev), d.prev && (d.prev.next = d.next), d.next && (d.next.prev = d.prev), Je(e, l, d), Je(e, d, N), Lt(d, N, r), l = d, h = [], v = [], u = l.next;
2183
+ var N = l ? l.next : f;
2184
+ d === e.effect.last && (e.effect.last = d.prev), d.prev && (d.prev.next = d.next), d.next && (d.next.prev = d.prev), Je(e, l, d), Je(e, d, N), Lt(d, N, r), l = d, h = [], v = [], f = l.next;
2185
2185
  continue;
2186
2186
  }
2187
- if (d.f & Ee && (un(d), s && (d.nodes?.a?.unfix(), (c ??= /* @__PURE__ */ new Set()).delete(d))), d !== u) {
2188
- if (f !== void 0 && f.has(d)) {
2187
+ if (d.f & Ee && (un(d), s && (d.nodes?.a?.unfix(), (c ??= /* @__PURE__ */ new Set()).delete(d))), d !== f) {
2188
+ if (u !== void 0 && u.has(d)) {
2189
2189
  if (h.length < v.length) {
2190
2190
  var L = v[0], D;
2191
2191
  l = L.prev;
@@ -2193,31 +2193,31 @@ function Ma(e, t, r, n, i) {
2193
2193
  for (D = 0; D < h.length; D += 1)
2194
2194
  Lt(h[D], L, r);
2195
2195
  for (D = 0; D < v.length; D += 1)
2196
- f.delete(v[D]);
2197
- Je(e, j.prev, O.next), Je(e, l, j), Je(e, O, L), u = L, l = O, w -= 1, h = [], v = [];
2196
+ u.delete(v[D]);
2197
+ Je(e, j.prev, O.next), Je(e, l, j), Je(e, O, L), f = L, l = O, w -= 1, h = [], v = [];
2198
2198
  } else
2199
- f.delete(d), Lt(d, u, r), Je(e, d.prev, d.next), Je(e, d, l === null ? e.effect.first : l.next), Je(e, l, d), l = d;
2199
+ u.delete(d), Lt(d, f, r), Je(e, d.prev, d.next), Je(e, d, l === null ? e.effect.first : l.next), Je(e, l, d), l = d;
2200
2200
  continue;
2201
2201
  }
2202
- for (h = [], v = []; u !== null && u !== d; )
2203
- (f ??= /* @__PURE__ */ new Set()).add(u), v.push(u), u = u.next;
2204
- if (u === null)
2202
+ for (h = [], v = []; f !== null && f !== d; )
2203
+ (u ??= /* @__PURE__ */ new Set()).add(f), v.push(f), f = f.next;
2204
+ if (f === null)
2205
2205
  continue;
2206
2206
  }
2207
- d.f & je || h.push(d), l = d, u = d.next;
2207
+ d.f & je || h.push(d), l = d, f = d.next;
2208
2208
  }
2209
2209
  if (e.outrogroups !== null) {
2210
2210
  for (const T of e.outrogroups)
2211
2211
  T.pending.size === 0 && (Yr(lr(T.done)), e.outrogroups?.delete(T));
2212
2212
  e.outrogroups.size === 0 && (e.outrogroups = null);
2213
2213
  }
2214
- if (u !== null || f !== void 0) {
2214
+ if (f !== null || u !== void 0) {
2215
2215
  var x = [];
2216
- if (f !== void 0)
2217
- for (d of f)
2216
+ if (u !== void 0)
2217
+ for (d of u)
2218
2218
  d.f & Ee || x.push(d);
2219
- for (; u !== null; )
2220
- !(u.f & Ee) && u !== e.fallback && x.push(u), u = u.next;
2219
+ for (; f !== null; )
2220
+ !(f.f & Ee) && f !== e.fallback && x.push(f), f = f.next;
2221
2221
  var p = x.length;
2222
2222
  if (p > 0) {
2223
2223
  var H = n & Un && a === 0 ? r : null;
@@ -2237,11 +2237,11 @@ function Ma(e, t, r, n, i) {
2237
2237
  });
2238
2238
  }
2239
2239
  function Pa(e, t, r, n, i, s, a, o) {
2240
- var u = a & xs ? a & Ts ? ut(r) : /* @__PURE__ */ an(r, !1, !1) : null, f = a & ws ? ut(i) : null;
2240
+ var f = a & xs ? a & Ts ? ut(r) : /* @__PURE__ */ an(r, !1, !1) : null, u = a & ws ? ut(i) : null;
2241
2241
  return {
2242
- v: u,
2243
- i: f,
2244
- e: Se(() => (s(t, u ?? r, f ?? i, o), () => {
2242
+ v: f,
2243
+ i: u,
2244
+ e: Se(() => (s(t, f ?? r, u ?? i, o), () => {
2245
2245
  e.delete(n);
2246
2246
  }))
2247
2247
  };
@@ -2282,12 +2282,12 @@ function Ku(e, t, r = !1, n = !1, i = !1) {
2282
2282
  ), o.nodes = null), a !== "") {
2283
2283
  if (I) {
2284
2284
  Y.data;
2285
- for (var u = yt(), f = u; u !== null && (u.nodeType !== lt || /** @type {Comment} */
2286
- u.data !== ""); )
2287
- f = u, u = /* @__PURE__ */ Ce(u);
2288
- if (u === null)
2285
+ for (var f = yt(), u = f; f !== null && (f.nodeType !== lt || /** @type {Comment} */
2286
+ f.data !== ""); )
2287
+ u = f, f = /* @__PURE__ */ Ce(f);
2288
+ if (f === null)
2289
2289
  throw Yt(), st;
2290
- Ue(Y, f), s = le(u);
2290
+ Ue(Y, u), s = le(f);
2291
2291
  return;
2292
2292
  }
2293
2293
  var l = a + "";
@@ -2370,9 +2370,9 @@ function Wt(e, t, r, n, i, s) {
2370
2370
  var o = Ba(r, n, s);
2371
2371
  (!I || o !== e.getAttribute("class")) && (o == null ? e.removeAttribute("class") : e.className = o), e.__className = r;
2372
2372
  } else if (s && i !== s)
2373
- for (var u in s) {
2374
- var f = !!s[u];
2375
- (i == null || f !== !!i[u]) && e.classList.toggle(u, f);
2373
+ for (var f in s) {
2374
+ var u = !!s[f];
2375
+ (i == null || u !== !!i[f]) && e.classList.toggle(f, u);
2376
2376
  }
2377
2377
  return s;
2378
2378
  }
@@ -2450,12 +2450,12 @@ function br(e, t = qe) {
2450
2450
  const n = /* @__PURE__ */ new Set();
2451
2451
  function i(o) {
2452
2452
  if (Kn(e, o) && (e = o, r)) {
2453
- const u = !vt.length;
2454
- for (const f of n)
2455
- f[1](), vt.push(f, e);
2456
- if (u) {
2457
- for (let f = 0; f < vt.length; f += 2)
2458
- vt[f][0](vt[f + 1]);
2453
+ const f = !vt.length;
2454
+ for (const u of n)
2455
+ u[1](), vt.push(u, e);
2456
+ if (f) {
2457
+ for (let u = 0; u < vt.length; u += 2)
2458
+ vt[u][0](vt[u + 1]);
2459
2459
  vt.length = 0;
2460
2460
  }
2461
2461
  }
@@ -2466,13 +2466,13 @@ function br(e, t = qe) {
2466
2466
  e
2467
2467
  ));
2468
2468
  }
2469
- function a(o, u = qe) {
2470
- const f = [o, u];
2471
- return n.add(f), n.size === 1 && (r = t(i, s) || qe), o(
2469
+ function a(o, f = qe) {
2470
+ const u = [o, f];
2471
+ return n.add(u), n.size === 1 && (r = t(i, s) || qe), o(
2472
2472
  /** @type {T} */
2473
2473
  e
2474
2474
  ), () => {
2475
- n.delete(f), n.size === 0 && r && (r(), r = null);
2475
+ n.delete(u), n.size === 0 && r && (r(), r = null);
2476
2476
  };
2477
2477
  }
2478
2478
  return { set: i, update: s, subscribe: a };
@@ -2483,28 +2483,28 @@ function At(e, t, r) {
2483
2483
  throw new Error("derived() expects stores as input, got a falsy value");
2484
2484
  const s = t.length < 2;
2485
2485
  return Ia(r, (a, o) => {
2486
- let u = !1;
2487
- const f = [];
2486
+ let f = !1;
2487
+ const u = [];
2488
2488
  let l = 0, c = qe;
2489
2489
  const h = () => {
2490
2490
  if (l)
2491
2491
  return;
2492
2492
  c();
2493
- const M = t(n ? f[0] : f, a, o);
2493
+ const M = t(n ? u[0] : u, a, o);
2494
2494
  s ? a(M) : c = typeof M == "function" ? M : qe;
2495
2495
  }, v = i.map(
2496
2496
  (M, m) => ln(
2497
2497
  M,
2498
2498
  (d) => {
2499
- f[m] = d, l &= ~(1 << m), u && h();
2499
+ u[m] = d, l &= ~(1 << m), f && h();
2500
2500
  },
2501
2501
  () => {
2502
2502
  l |= 1 << m;
2503
2503
  }
2504
2504
  )
2505
2505
  );
2506
- return u = !0, h(), function() {
2507
- jn(v), c(), u = !1;
2506
+ return f = !0, h(), function() {
2507
+ jn(v), c(), f = !1;
2508
2508
  };
2509
2509
  });
2510
2510
  }
@@ -2552,15 +2552,15 @@ function Sr(e, t, r, n) {
2552
2552
  n), i), o;
2553
2553
  o = /** @type {V} */
2554
2554
  e[t], o === void 0 && n !== void 0 && (o = a());
2555
- var u;
2556
- u = () => {
2555
+ var f;
2556
+ f = () => {
2557
2557
  var h = (
2558
2558
  /** @type {V} */
2559
2559
  e[t]
2560
2560
  );
2561
2561
  return h === void 0 ? a() : (s = !0, h);
2562
2562
  };
2563
- var f = !1, l = /* @__PURE__ */ mr(() => (f = !1, u())), c = (
2563
+ var u = !1, l = /* @__PURE__ */ mr(() => (u = !1, f())), c = (
2564
2564
  /** @type {Effect} */
2565
2565
  X
2566
2566
  );
@@ -2569,9 +2569,9 @@ function Sr(e, t, r, n) {
2569
2569
  function(h, v) {
2570
2570
  if (arguments.length > 0) {
2571
2571
  const M = v ? Q(l) : h;
2572
- return Ae(l, M), f = !0, i !== void 0 && (i = M), h;
2572
+ return Ae(l, M), u = !0, i !== void 0 && (i = M), h;
2573
2573
  }
2574
- return ht && f || c.f & Fe ? l.v : Q(l);
2574
+ return ht && u || c.f & Fe ? l.v : Q(l);
2575
2575
  }
2576
2576
  );
2577
2577
  }
@@ -2839,12 +2839,12 @@ function Xa(e, t, r, n, i, s) {
2839
2839
  get() {
2840
2840
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
2841
2841
  },
2842
- set(u) {
2843
- u = _t(o, u, t), this.$$d[o] = u;
2844
- var f = this.$$c;
2845
- if (f) {
2846
- var l = gt(f, o)?.get;
2847
- l ? f[o] = u : f.$set({ [o]: u });
2842
+ set(f) {
2843
+ f = _t(o, f, t), this.$$d[o] = f;
2844
+ var u = this.$$c;
2845
+ if (u) {
2846
+ var l = gt(u, o)?.get;
2847
+ l ? u[o] = f : u.$set({ [o]: f });
2848
2848
  }
2849
2849
  }
2850
2850
  });
@@ -3183,12 +3183,12 @@ function bo(e) {
3183
3183
  var s = i[n], a = s.split("/");
3184
3184
  if (a.length === 0)
3185
3185
  throw new Error("Invalid number skeleton");
3186
- for (var o = a[0], u = a.slice(1), f = 0, l = u; f < l.length; f++) {
3187
- var c = l[f];
3186
+ for (var o = a[0], f = a.slice(1), u = 0, l = f; u < l.length; u++) {
3187
+ var c = l[u];
3188
3188
  if (c.length === 0)
3189
3189
  throw new Error("Invalid number skeleton");
3190
3190
  }
3191
- r.push({ stem: o, options: u });
3191
+ r.push({ stem: o, options: f });
3192
3192
  }
3193
3193
  return r;
3194
3194
  }
@@ -3295,13 +3295,13 @@ function Eo(e) {
3295
3295
  t.notation = "compact", t.compactDisplay = "long";
3296
3296
  continue;
3297
3297
  case "scientific":
3298
- t = te(te(te({}, t), { notation: "scientific" }), i.options.reduce(function(u, f) {
3299
- return te(te({}, u), Bn(f));
3298
+ t = te(te(te({}, t), { notation: "scientific" }), i.options.reduce(function(f, u) {
3299
+ return te(te({}, f), Bn(u));
3300
3300
  }, {}));
3301
3301
  continue;
3302
3302
  case "engineering":
3303
- t = te(te(te({}, t), { notation: "engineering" }), i.options.reduce(function(u, f) {
3304
- return te(te({}, u), Bn(f));
3303
+ t = te(te(te({}, t), { notation: "engineering" }), i.options.reduce(function(f, u) {
3304
+ return te(te({}, f), Bn(u));
3305
3305
  }, {}));
3306
3306
  continue;
3307
3307
  case "notation-simple":
@@ -3346,8 +3346,8 @@ function Eo(e) {
3346
3346
  case "integer-width":
3347
3347
  if (i.options.length > 1)
3348
3348
  throw new RangeError("integer-width stems only accept a single optional option");
3349
- i.options[0].replace(xo, function(u, f, l, c, h, v) {
3350
- if (f)
3349
+ i.options[0].replace(xo, function(f, u, l, c, h, v) {
3350
+ if (u)
3351
3351
  t.minimumIntegerDigits = l.length;
3352
3352
  else {
3353
3353
  if (c && h)
@@ -3366,8 +3366,8 @@ function Eo(e) {
3366
3366
  if (An.test(i.stem)) {
3367
3367
  if (i.options.length > 1)
3368
3368
  throw new RangeError("Fraction-precision stems only accept a single optional option");
3369
- i.stem.replace(An, function(u, f, l, c, h, v) {
3370
- return l === "*" ? t.minimumFractionDigits = f.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : h && v ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + v.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
3369
+ i.stem.replace(An, function(f, u, l, c, h, v) {
3370
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : h && v ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
3371
3371
  });
3372
3372
  var s = i.options[0];
3373
3373
  s === "w" ? t = te(te({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = te(te({}, t), On(s)));
@@ -4805,11 +4805,11 @@ function To(e, t) {
4805
4805
  if (i === "j") {
4806
4806
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
4807
4807
  s++, n++;
4808
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), u = "a", f = Mo(t);
4809
- for ((f == "H" || f == "k") && (o = 0); o-- > 0; )
4810
- r += u;
4808
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), f = "a", u = Mo(t);
4809
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
4810
+ r += f;
4811
4811
  for (; a-- > 0; )
4812
- r = f + r;
4812
+ r = u + r;
4813
4813
  } else i === "J" ? r += "H" : r += i;
4814
4814
  }
4815
4815
  return r;
@@ -5006,8 +5006,8 @@ var Go = (
5006
5006
  if (this.bumpIf("</")) {
5007
5007
  if (this.isEOF() || !Kr(this.char()))
5008
5008
  return this.error(z.INVALID_TAG, G(o, this.clonePosition()));
5009
- var u = this.clonePosition(), f = this.parseTagName();
5010
- return i !== f ? this.error(z.UNMATCHED_CLOSING_TAG, G(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
5009
+ var f = this.clonePosition(), u = this.parseTagName();
5010
+ return i !== u ? this.error(z.UNMATCHED_CLOSING_TAG, G(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
5011
5011
  val: {
5012
5012
  type: J.tag,
5013
5013
  value: i,
@@ -5044,9 +5044,9 @@ var Go = (
5044
5044
  }
5045
5045
  break;
5046
5046
  }
5047
- var u = G(n, this.clonePosition());
5047
+ var f = G(n, this.clonePosition());
5048
5048
  return {
5049
- val: { type: J.literal, value: i, location: u },
5049
+ val: { type: J.literal, value: i, location: f },
5050
5050
  err: null
5051
5051
  };
5052
5052
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -5124,15 +5124,15 @@ var Go = (
5124
5124
  var s = this.clonePosition(), a = G(t, s);
5125
5125
  return { value: n, location: a };
5126
5126
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
5127
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
5127
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, f = this.clonePosition();
5128
5128
  switch (o) {
5129
5129
  case "":
5130
- return this.error(z.EXPECT_ARGUMENT_TYPE, G(a, u));
5130
+ return this.error(z.EXPECT_ARGUMENT_TYPE, G(a, f));
5131
5131
  case "number":
5132
5132
  case "date":
5133
5133
  case "time": {
5134
5134
  this.bumpSpace();
5135
- var f = null;
5135
+ var u = null;
5136
5136
  if (this.bumpIf(",")) {
5137
5137
  this.bumpSpace();
5138
5138
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
@@ -5142,16 +5142,16 @@ var Go = (
5142
5142
  if (h.length === 0)
5143
5143
  return this.error(z.EXPECT_ARGUMENT_STYLE, G(this.clonePosition(), this.clonePosition()));
5144
5144
  var v = G(l, this.clonePosition());
5145
- f = { style: h, styleLocation: v };
5145
+ u = { style: h, styleLocation: v };
5146
5146
  }
5147
5147
  var M = this.tryParseArgumentClose(i);
5148
5148
  if (M.err)
5149
5149
  return M;
5150
5150
  var m = G(i, this.clonePosition());
5151
- if (f && Nn(f?.style, "::", 0)) {
5152
- var d = zo(f.style.slice(2));
5151
+ if (u && Nn(u?.style, "::", 0)) {
5152
+ var d = zo(u.style.slice(2));
5153
5153
  if (o === "number") {
5154
- var c = this.parseNumberSkeletonFromString(d, f.styleLocation);
5154
+ var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
5155
5155
  return c.err ? c : {
5156
5156
  val: { type: J.number, value: n, location: m, style: c.val },
5157
5157
  err: null
@@ -5164,7 +5164,7 @@ var Go = (
5164
5164
  var h = {
5165
5165
  type: Mt.dateTime,
5166
5166
  pattern: w,
5167
- location: f.styleLocation,
5167
+ location: u.styleLocation,
5168
5168
  parsedOptions: this.shouldParseSkeletons ? mo(w) : {}
5169
5169
  }, N = o === "date" ? J.date : J.time;
5170
5170
  return {
@@ -5178,7 +5178,7 @@ var Go = (
5178
5178
  type: o === "number" ? J.number : o === "date" ? J.date : J.time,
5179
5179
  value: n,
5180
5180
  location: m,
5181
- style: (s = f?.style) !== null && s !== void 0 ? s : null
5181
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
5182
5182
  },
5183
5183
  err: null
5184
5184
  };
@@ -5228,7 +5228,7 @@ var Go = (
5228
5228
  };
5229
5229
  }
5230
5230
  default:
5231
- return this.error(z.INVALID_ARGUMENT_TYPE, G(a, u));
5231
+ return this.error(z.INVALID_ARGUMENT_TYPE, G(a, f));
5232
5232
  }
5233
5233
  }, e.prototype.tryParseArgumentClose = function(t) {
5234
5234
  return this.isEOF() || this.char() !== 125 ? this.error(z.EXPECT_ARGUMENT_CLOSING_BRACE, G(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -5284,20 +5284,20 @@ var Go = (
5284
5284
  err: null
5285
5285
  };
5286
5286
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
5287
- for (var s, a = !1, o = [], u = /* @__PURE__ */ new Set(), f = i.value, l = i.location; ; ) {
5288
- if (f.length === 0) {
5287
+ for (var s, a = !1, o = [], f = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
5288
+ if (u.length === 0) {
5289
5289
  var c = this.clonePosition();
5290
5290
  if (r !== "select" && this.bumpIf("=")) {
5291
5291
  var h = this.tryParseDecimalInteger(z.EXPECT_PLURAL_ARGUMENT_SELECTOR, z.INVALID_PLURAL_ARGUMENT_SELECTOR);
5292
5292
  if (h.err)
5293
5293
  return h;
5294
- l = G(c, this.clonePosition()), f = this.message.slice(c.offset, this.offset());
5294
+ l = G(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
5295
5295
  } else
5296
5296
  break;
5297
5297
  }
5298
- if (u.has(f))
5298
+ if (f.has(u))
5299
5299
  return this.error(r === "select" ? z.DUPLICATE_SELECT_ARGUMENT_SELECTOR : z.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
5300
- f === "other" && (a = !0), this.bumpSpace();
5300
+ u === "other" && (a = !0), this.bumpSpace();
5301
5301
  var v = this.clonePosition();
5302
5302
  if (!this.bumpIf("{"))
5303
5303
  return this.error(r === "select" ? z.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : z.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, G(this.clonePosition(), this.clonePosition()));
@@ -5308,12 +5308,12 @@ var Go = (
5308
5308
  if (m.err)
5309
5309
  return m;
5310
5310
  o.push([
5311
- f,
5311
+ u,
5312
5312
  {
5313
5313
  value: M.val,
5314
5314
  location: G(v, this.clonePosition())
5315
5315
  }
5316
- ]), u.add(f), this.bumpSpace(), s = this.parseIdentifierIfPossible(), f = s.value, l = s.location;
5316
+ ]), f.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
5317
5317
  }
5318
5318
  return o.length === 0 ? this.error(r === "select" ? z.EXPECT_SELECT_ARGUMENT_SELECTOR : z.EXPECT_PLURAL_ARGUMENT_SELECTOR, G(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(z.MISSING_OTHER_CLAUSE, G(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
5319
5319
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -5326,8 +5326,8 @@ var Go = (
5326
5326
  else
5327
5327
  break;
5328
5328
  }
5329
- var u = G(i, this.clonePosition());
5330
- return s ? (a *= n, Co(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
5329
+ var f = G(i, this.clonePosition());
5330
+ return s ? (a *= n, Co(a) ? { val: a, err: null } : this.error(r, f)) : this.error(t, f);
5331
5331
  }, e.prototype.offset = function() {
5332
5332
  return this.position.offset;
5333
5333
  }, e.prototype.isEOF = function() {
@@ -5489,8 +5489,8 @@ function $t(e, t, r, n, i, s, a) {
5489
5489
  value: e[0].value
5490
5490
  }
5491
5491
  ];
5492
- for (var o = [], u = 0, f = e; u < f.length; u++) {
5493
- var l = f[u];
5492
+ for (var o = [], f = 0, u = e; f < u.length; f++) {
5493
+ var l = u[f];
5494
5494
  if (Sn(l)) {
5495
5495
  o.push({
5496
5496
  type: ce.literal,
@@ -5645,20 +5645,20 @@ var Ko = (
5645
5645
  number: {},
5646
5646
  dateTime: {},
5647
5647
  pluralRules: {}
5648
- }, this.format = function(u) {
5649
- var f = s.formatToParts(u);
5650
- if (f.length === 1)
5651
- return f[0].value;
5652
- var l = f.reduce(function(c, h) {
5648
+ }, this.format = function(f) {
5649
+ var u = s.formatToParts(f);
5650
+ if (u.length === 1)
5651
+ return u[0].value;
5652
+ var l = u.reduce(function(c, h) {
5653
5653
  return !c.length || h.type !== ce.literal || typeof c[c.length - 1] != "string" ? c.push(h.value) : c[c.length - 1] += h.value, c;
5654
5654
  }, []);
5655
5655
  return l.length <= 1 ? l[0] || "" : l;
5656
- }, this.formatToParts = function(u) {
5657
- return $t(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
5656
+ }, this.formatToParts = function(f) {
5657
+ return $t(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
5658
5658
  }, this.resolvedOptions = function() {
5659
- var u;
5659
+ var f;
5660
5660
  return {
5661
- locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
5661
+ locale: ((f = s.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
5662
5662
  };
5663
5663
  }, this.getAst = function() {
5664
5664
  return s.ast;
@@ -6016,16 +6016,16 @@ const Zt = (e, t) => {
6016
6016
  typeof e == "object" && (a = e, e = a.id);
6017
6017
  const {
6018
6018
  values: o,
6019
- locale: u = ct(),
6020
- default: f
6019
+ locale: f = ct(),
6020
+ default: u
6021
6021
  } = a;
6022
- if (u == null)
6022
+ if (f == null)
6023
6023
  throw new Error(
6024
6024
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
6025
6025
  );
6026
- let l = ns(e, u);
6026
+ let l = ns(e, f);
6027
6027
  if (!l)
6028
- l = (s = (i = (n = (r = St()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: f })) != null ? i : f) != null ? s : e;
6028
+ l = (s = (i = (n = (r = St()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
6029
6029
  else if (typeof l != "string")
6030
6030
  return console.warn(
6031
6031
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -6034,7 +6034,7 @@ const Zt = (e, t) => {
6034
6034
  return l;
6035
6035
  let c = l;
6036
6036
  try {
6037
- c = Tu(l, u).format(o);
6037
+ c = Tu(l, f).format(o);
6038
6038
  } catch (h) {
6039
6039
  h instanceof Error && console.warn(
6040
6040
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -6052,7 +6052,7 @@ var ls = { exports: {} };
6052
6052
  (function(r, n) {
6053
6053
  e.exports = n();
6054
6054
  })(hn, function() {
6055
- var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", a = "second", o = "minute", u = "hour", f = "day", l = "week", c = "month", h = "quarter", v = "year", M = "date", m = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
6055
+ var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", a = "second", o = "minute", f = "hour", u = "day", l = "week", c = "month", h = "quarter", v = "year", M = "date", m = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
6056
6056
  var g = ["th", "st", "nd", "rd"], b = E % 100;
6057
6057
  return "[" + E + (g[(b - 20) % 10] || g[b] || g[0]) + "]";
6058
6058
  } }, L = function(E, g, b) {
@@ -6068,7 +6068,7 @@ var ls = { exports: {} };
6068
6068
  }, a: function(E) {
6069
6069
  return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
6070
6070
  }, p: function(E) {
6071
- return { M: c, y: v, w: l, d: f, D: M, h: u, m: o, s: a, ms: s, Q: h }[E] || String(E || "").toLowerCase().replace(/s$/, "");
6071
+ return { M: c, y: v, w: l, d: u, D: M, h: f, m: o, s: a, ms: s, Q: h }[E] || String(E || "").toLowerCase().replace(/s$/, "");
6072
6072
  }, u: function(E) {
6073
6073
  return E === void 0;
6074
6074
  } }, j = "en", O = {};
@@ -6139,7 +6139,7 @@ var ls = { exports: {} };
6139
6139
  }, g.startOf = function(b, P) {
6140
6140
  var y = this, A = !!S.u(P) || P, B = S.p(b), R = function(re, F) {
6141
6141
  var ne = S.w(y.$u ? Date.UTC(y.$y, F, re) : new Date(y.$y, F, re), y);
6142
- return A ? ne : ne.endOf(f);
6142
+ return A ? ne : ne.endOf(u);
6143
6143
  }, V = function(re, F) {
6144
6144
  return S.w(y.toDate()[re].apply(y.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), y);
6145
6145
  }, K = this.$W, q = this.$M, ae = this.$D, Ie = "set" + (this.$u ? "UTC" : "");
@@ -6151,10 +6151,10 @@ var ls = { exports: {} };
6151
6151
  case l:
6152
6152
  var Z = this.$locale().weekStart || 0, _ = (K < Z ? K + 7 : K) - Z;
6153
6153
  return R(A ? ae - _ : ae + (6 - _), q);
6154
- case f:
6154
+ case u:
6155
6155
  case M:
6156
6156
  return V(Ie + "Hours", 0);
6157
- case u:
6157
+ case f:
6158
6158
  return V(Ie + "Minutes", 1);
6159
6159
  case o:
6160
6160
  return V(Ie + "Seconds", 2);
@@ -6166,7 +6166,7 @@ var ls = { exports: {} };
6166
6166
  }, g.endOf = function(b) {
6167
6167
  return this.startOf(b, !1);
6168
6168
  }, g.$set = function(b, P) {
6169
- var y, A = S.p(b), B = "set" + (this.$u ? "UTC" : ""), R = (y = {}, y[f] = B + "Date", y[M] = B + "Date", y[c] = B + "Month", y[v] = B + "FullYear", y[u] = B + "Hours", y[o] = B + "Minutes", y[a] = B + "Seconds", y[s] = B + "Milliseconds", y)[A], V = A === f ? this.$D + (P - this.$W) : P;
6169
+ var y, A = S.p(b), B = "set" + (this.$u ? "UTC" : ""), R = (y = {}, y[u] = B + "Date", y[M] = B + "Date", y[c] = B + "Month", y[v] = B + "FullYear", y[f] = B + "Hours", y[o] = B + "Minutes", y[a] = B + "Seconds", y[s] = B + "Milliseconds", y)[A], V = A === u ? this.$D + (P - this.$W) : P;
6170
6170
  if (A === c || A === v) {
6171
6171
  var K = this.clone().set(M, 1);
6172
6172
  K.$d[R](V), K.init(), this.$d = K.set(M, Math.min(this.$D, K.daysInMonth())).$d;
@@ -6185,9 +6185,9 @@ var ls = { exports: {} };
6185
6185
  };
6186
6186
  if (B === c) return this.set(c, this.$M + b);
6187
6187
  if (B === v) return this.set(v, this.$y + b);
6188
- if (B === f) return R(1);
6188
+ if (B === u) return R(1);
6189
6189
  if (B === l) return R(7);
6190
- var V = (y = {}, y[o] = n, y[u] = i, y[a] = r, y)[B] || 1, K = this.$d.getTime() + b * V;
6190
+ var V = (y = {}, y[o] = n, y[f] = i, y[a] = r, y)[B] || 1, K = this.$d.getTime() + b * V;
6191
6191
  return S.w(K, this);
6192
6192
  }, g.subtract = function(b, P) {
6193
6193
  return this.add(-1 * b, P);
@@ -6276,10 +6276,10 @@ var ls = { exports: {} };
6276
6276
  case l:
6277
6277
  A = (q - K) / 6048e5;
6278
6278
  break;
6279
- case f:
6279
+ case u:
6280
6280
  A = (q - K) / 864e5;
6281
6281
  break;
6282
- case u:
6282
+ case f:
6283
6283
  A = q / i;
6284
6284
  break;
6285
6285
  case o:
@@ -6312,7 +6312,7 @@ var ls = { exports: {} };
6312
6312
  return this.$d.toUTCString();
6313
6313
  }, E;
6314
6314
  }(), k = C.prototype;
6315
- return T.prototype = k, [["$ms", s], ["$s", a], ["$m", o], ["$H", u], ["$W", f], ["$M", c], ["$y", v], ["$D", M]].forEach(function(E) {
6315
+ return T.prototype = k, [["$ms", s], ["$s", a], ["$m", o], ["$H", f], ["$W", u], ["$M", c], ["$y", v], ["$D", M]].forEach(function(E) {
6316
6316
  k[E[1]] = function(g) {
6317
6317
  return this.$g(g, E[0], E[1]);
6318
6318
  };
@@ -6330,9 +6330,9 @@ var hs = { exports: {} };
6330
6330
  (function(r, n) {
6331
6331
  e.exports = n();
6332
6332
  })(hn, function() {
6333
- var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, n = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d\d/, s = /\d\d?/, a = /\d*[^-_:/,()\s\d]+/, o = {}, u = function(m) {
6333
+ var r = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, n = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d\d/, s = /\d\d?/, a = /\d*[^-_:/,()\s\d]+/, o = {}, f = function(m) {
6334
6334
  return (m = +m) + (m > 68 ? 1900 : 2e3);
6335
- }, f = function(m) {
6335
+ }, u = function(m) {
6336
6336
  return function(d) {
6337
6337
  this[m] = +d;
6338
6338
  };
@@ -6364,10 +6364,10 @@ var hs = { exports: {} };
6364
6364
  this.milliseconds = 10 * +m;
6365
6365
  }], SSS: [/\d{3}/, function(m) {
6366
6366
  this.milliseconds = +m;
6367
- }], s: [s, f("seconds")], ss: [s, f("seconds")], m: [s, f("minutes")], mm: [s, f("minutes")], H: [s, f("hours")], h: [s, f("hours")], HH: [s, f("hours")], hh: [s, f("hours")], D: [s, f("day")], DD: [i, f("day")], Do: [a, function(m) {
6367
+ }], s: [s, u("seconds")], ss: [s, u("seconds")], m: [s, u("minutes")], mm: [s, u("minutes")], H: [s, u("hours")], h: [s, u("hours")], HH: [s, u("hours")], hh: [s, u("hours")], D: [s, u("day")], DD: [i, u("day")], Do: [a, function(m) {
6368
6368
  var d = o.ordinal, w = m.match(/\d+/);
6369
6369
  if (this.day = w[0], d) for (var N = 1; N <= 31; N += 1) d(N).replace(/\[|\]/g, "") === m && (this.day = N);
6370
- }], M: [s, f("month")], MM: [i, f("month")], MMM: [a, function(m) {
6370
+ }], M: [s, u("month")], MM: [i, u("month")], MMM: [a, function(m) {
6371
6371
  var d = c("months"), w = (c("monthsShort") || d.map(function(N) {
6372
6372
  return N.slice(0, 3);
6373
6373
  })).indexOf(m) + 1;
@@ -6377,9 +6377,9 @@ var hs = { exports: {} };
6377
6377
  var d = c("months").indexOf(m) + 1;
6378
6378
  if (d < 1) throw new Error();
6379
6379
  this.month = d % 12 || d;
6380
- }], Y: [/[+-]?\d+/, f("year")], YY: [i, function(m) {
6381
- this.year = u(m);
6382
- }], YYYY: [/\d{4}/, f("year")], Z: l, ZZ: l };
6380
+ }], Y: [/[+-]?\d+/, u("year")], YY: [i, function(m) {
6381
+ this.year = f(m);
6382
+ }], YYYY: [/\d{4}/, u("year")], Z: l, ZZ: l };
6383
6383
  function M(m) {
6384
6384
  var d, w;
6385
6385
  d = m, w = o && o.formats;
@@ -6411,7 +6411,7 @@ var hs = { exports: {} };
6411
6411
  };
6412
6412
  }
6413
6413
  return function(m, d, w) {
6414
- w.p.customParseFormat = !0, m && m.parseTwoDigitYear && (u = m.parseTwoDigitYear);
6414
+ w.p.customParseFormat = !0, m && m.parseTwoDigitYear && (f = m.parseTwoDigitYear);
6415
6415
  var N = d.prototype, L = N.parse;
6416
6416
  N.parse = function(D) {
6417
6417
  var j = D.date, O = D.utc, x = D.args;
@@ -6515,7 +6515,7 @@ var cs = { exports: {} };
6515
6515
  (function(r, n) {
6516
6516
  e.exports = n();
6517
6517
  })(hn, function() {
6518
- var r, n, i = 1e3, s = 6e4, a = 36e5, o = 864e5, u = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, f = 31536e6, l = 2628e6, c = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, h = { years: f, months: l, days: o, hours: a, minutes: s, seconds: i, milliseconds: 1, weeks: 6048e5 }, v = function(O) {
6518
+ var r, n, i = 1e3, s = 6e4, a = 36e5, o = 864e5, f = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, l = 2628e6, c = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, h = { years: u, months: l, days: o, hours: a, minutes: s, seconds: i, milliseconds: 1, weeks: 6048e5 }, v = function(O) {
6519
6519
  return O instanceof D;
6520
6520
  }, M = function(O, x, p) {
6521
6521
  return new D(O, p, x.$l);
@@ -6556,7 +6556,7 @@ var cs = { exports: {} };
6556
6556
  }, 0);
6557
6557
  }, x.parseFromMilliseconds = function() {
6558
6558
  var p = this.$ms;
6559
- this.$d.years = w(p / f), p %= f, this.$d.months = w(p / l), p %= l, this.$d.days = w(p / o), p %= o, this.$d.hours = w(p / a), p %= a, this.$d.minutes = w(p / s), p %= s, this.$d.seconds = w(p / i), p %= i, this.$d.milliseconds = p;
6559
+ this.$d.years = w(p / u), p %= u, this.$d.months = w(p / l), p %= l, this.$d.days = w(p / o), p %= o, this.$d.hours = w(p / a), p %= a, this.$d.minutes = w(p / s), p %= s, this.$d.seconds = w(p / i), p %= i, this.$d.milliseconds = p;
6560
6560
  }, x.toISOString = function() {
6561
6561
  var p = L(this.$d.years, "Y"), H = L(this.$d.months, "M"), T = +this.$d.days || 0;
6562
6562
  this.$d.weeks && (T += 7 * this.$d.weeks);
@@ -6568,7 +6568,7 @@ var cs = { exports: {} };
6568
6568
  return this.toISOString();
6569
6569
  }, x.format = function(p) {
6570
6570
  var H = p || "YYYY-MM-DDTHH:mm:ss", T = { Y: this.$d.years, YY: n.s(this.$d.years, 2, "0"), YYYY: n.s(this.$d.years, 4, "0"), M: this.$d.months, MM: n.s(this.$d.months, 2, "0"), D: this.$d.days, DD: n.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: n.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: n.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: n.s(this.$d.seconds, 2, "0"), SSS: n.s(this.$d.milliseconds, 3, "0") };
6571
- return H.replace(u, function(S, C) {
6571
+ return H.replace(f, function(S, C) {
6572
6572
  return C || String(T[S]);
6573
6573
  });
6574
6574
  }, x.as = function(p) {
@@ -6654,16 +6654,25 @@ function ds(e, t) {
6654
6654
  const r = () => Ra(Bu, "$_", n), [n, i] = Ga();
6655
6655
  Qe.extend(Gu);
6656
6656
  const s = Sr(t, "tournament"), a = Sr(t, "language", 7, "en"), o = Sr(t, "enrolled");
6657
- let u = /* @__PURE__ */ ze(mt({})), f = /* @__PURE__ */ ze(!1), l;
6658
- const c = () => {
6657
+ Object.keys(Gn).forEach((Z) => {
6658
+ Cu(Z, Gn[Z]);
6659
+ });
6660
+ const f = () => {
6661
+ Iu(a());
6662
+ };
6663
+ Gr(() => {
6664
+ f();
6665
+ });
6666
+ let u = /* @__PURE__ */ ze(mt({})), l = /* @__PURE__ */ ze(!1), c;
6667
+ const h = () => {
6659
6668
  if (!s()) return;
6660
6669
  const Z = Qe();
6661
6670
  if (Qe(s().endTime).isBefore(Z)) {
6662
- Ae(f, !0);
6671
+ Ae(l, !0);
6663
6672
  return;
6664
6673
  } else
6665
- h(), l = setInterval(h, 1e3);
6666
- }, h = () => {
6674
+ v(), c = setInterval(v, 1e3);
6675
+ }, v = () => {
6667
6676
  const Z = Qe(), re = Qe(s().endTime).diff(Z), F = Qe.duration(re), ne = Math.floor(F.asDays()), ie = F.hours(), pe = F.minutes(), Te = F.seconds();
6668
6677
  Ae(
6669
6678
  u,
@@ -6675,17 +6684,7 @@ function ds(e, t) {
6675
6684
  },
6676
6685
  !0
6677
6686
  );
6678
- };
6679
- Object.keys(Gn).forEach((Z) => {
6680
- Cu(Z, Gn[Z]);
6681
- });
6682
- const v = () => {
6683
- Iu(a());
6684
- };
6685
- Gr(() => {
6686
- v();
6687
- });
6688
- const M = {
6687
+ }, M = {
6689
6688
  Unstarted: "Upcoming",
6690
6689
  Running: "Live",
6691
6690
  Closed: "Ended",
@@ -6694,9 +6693,9 @@ function ds(e, t) {
6694
6693
  window.postMessage({ type: "ShowTournamentPrizes", tournamentId: s().id }, window.location.href);
6695
6694
  };
6696
6695
  Gr(() => {
6697
- s() && c();
6696
+ s() && h();
6698
6697
  }), Ea(() => {
6699
- l && clearInterval(l);
6698
+ c && clearInterval(c);
6700
6699
  });
6701
6700
  var d = {
6702
6701
  get tournament() {
@@ -6767,7 +6766,7 @@ function ds(e, t) {
6767
6766
  ), qt(Z, _);
6768
6767
  };
6769
6768
  En(A, (Z) => {
6770
- Q(f) || Z(B);
6769
+ Q(l) || Z(B);
6771
6770
  });
6772
6771
  }
6773
6772
  var R = me(A, 2), V = ee(R), K = ee(V);