@everymatrix/casino-tournaments-controller 1.76.10 → 1.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{CasinoTournamentsController-hFqA47Pf.js → CasinoTournamentsController-ChOW6ccm.js} +913 -878
  2. package/components/{CasinoTournamentsController-tMeFrbKW.js → CasinoTournamentsController-DPBvC805.js} +987 -952
  3. package/components/CasinoTournamentsController-syrFuaCg.cjs +27 -0
  4. package/components/{CasinoTournamentsFilterController-DkCuVRNa.js → CasinoTournamentsFilterController-B4IK6kO4.js} +1 -1
  5. package/components/{CasinoTournamentsFilterController-ilcB4XKI.js → CasinoTournamentsFilterController-BdZtyVyv.js} +1 -1
  6. package/components/{CasinoTournamentsFilterController-CUe1VOEy.cjs → CasinoTournamentsFilterController-hbXylZbn.cjs} +1 -1
  7. package/components/{CasinoTournamentsListController-DOzCPChZ.js → CasinoTournamentsListController-B6SgXL9J.js} +2 -2
  8. package/components/{CasinoTournamentsListController-H6H6XAXQ.js → CasinoTournamentsListController-JsUoJiKi.js} +2 -2
  9. package/components/{CasinoTournamentsListController-DgAKIalg.cjs → CasinoTournamentsListController-LZqGZ-yw.cjs} +2 -2
  10. package/components/{CasinoTournamentsThumbnail-CZ8Us6iC.js → CasinoTournamentsThumbnail-B7cPkosm.js} +1 -1
  11. package/components/{CasinoTournamentsThumbnail-D1r9Cklu.cjs → CasinoTournamentsThumbnail-CHfIBIsP.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-C0KSL4xR.js → CasinoTournamentsThumbnail-Cl3gWoOp.js} +1 -1
  13. package/components/{CasinoTournamentsThumbnailController-CkfkunYG.cjs → CasinoTournamentsThumbnailController-BT6j-mHE.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailController-BMwuSsTr.js → CasinoTournamentsThumbnailController-C5xjvgBY.js} +5 -5
  15. package/components/{CasinoTournamentsThumbnailController-Dr_HVN7T.js → CasinoTournamentsThumbnailController-DqRQOqRr.js} +5 -5
  16. package/components/{CasinoTournamentsThumbnailDuration-B1mIT5c7.js → CasinoTournamentsThumbnailDuration-BS-F_f-7.js} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-Q1TIVnAp.js → CasinoTournamentsThumbnailDuration-SEBshw9h.js} +1 -1
  18. package/components/{CasinoTournamentsThumbnailDuration-Dnm25Pha.cjs → CasinoTournamentsThumbnailDuration-mg9f3RX3.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-Bv12OfPF.js → CasinoTournamentsThumbnailGamesSlider-Bw1-8EcJ.js} +1 -1
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-CMF4oOLY.cjs → CasinoTournamentsThumbnailGamesSlider-D0RoWUyP.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-Dzc08v3x.js → CasinoTournamentsThumbnailGamesSlider-NFOr25Av.js} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-V2PfL4in.js → CasinoTournamentsThumbnailPrizes-BwrPSi4T.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-DjwxNAEf.cjs → CasinoTournamentsThumbnailPrizes-DJWlBzJG.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-DYztH0ev.js → CasinoTournamentsThumbnailPrizes-ELkQhcv0.js} +1 -1
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoTournamentsController-BnE_iwzb.cjs +0 -27
@@ -1,4 +1,4 @@
1
- function he() {
1
+ function fe() {
2
2
  }
3
3
  function $r(e) {
4
4
  return e();
@@ -6,7 +6,7 @@ function $r(e) {
6
6
  function mr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ut(e) {
9
+ function lt(e) {
10
10
  e.forEach($r);
11
11
  }
12
12
  function St(e) {
@@ -16,7 +16,7 @@ function kr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let pt;
19
- function bs(e, t) {
19
+ function gs(e, t) {
20
20
  return e === t ? !0 : (pt || (pt = document.createElement("a")), pt.href = t, e === pt.href);
21
21
  }
22
22
  function Sn(e) {
@@ -26,7 +26,7 @@ function Vr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return he;
29
+ return fe;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -34,10 +34,10 @@ function Vr(e, ...t) {
34
34
  function An(e, t, r) {
35
35
  e.$$.on_destroy.push(Vr(t, r));
36
36
  }
37
- function gs(e) {
38
- return e && St(e.destroy) ? e.destroy : he;
37
+ function vs(e) {
38
+ return e && St(e.destroy) ? e.destroy : fe;
39
39
  }
40
- function te(e, t) {
40
+ function K(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
43
  function Hn(e, t, r) {
@@ -58,51 +58,51 @@ function Bn(e) {
58
58
  ) : e.ownerDocument;
59
59
  }
60
60
  function Pn(e, t) {
61
- return te(
61
+ return K(
62
62
  /** @type {Document} */
63
63
  e.head || e,
64
64
  t
65
65
  ), t.sheet;
66
66
  }
67
- function fe(e, t, r) {
67
+ function ue(e, t, r) {
68
68
  e.insertBefore(t, r || null);
69
69
  }
70
- function re(e) {
70
+ function ee(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function vs(e, t) {
73
+ function ys(e, t) {
74
74
  for (let r = 0; r < e.length; r += 1)
75
75
  e[r] && e[r].d(t);
76
76
  }
77
77
  function X(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function ys(e) {
80
+ function Es(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
- function Le(e) {
83
+ function He(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
86
  function Xt() {
87
- return Le(" ");
87
+ return He(" ");
88
88
  }
89
89
  function On() {
90
- return Le("");
90
+ return He("");
91
91
  }
92
92
  function zt(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
- function F(e, t, r) {
95
+ function U(e, t, r) {
96
96
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
97
97
  }
98
98
  function x(e, t, r) {
99
99
  const n = t.toLowerCase();
100
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : F(e, t, r);
100
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : U(e, t, r);
101
101
  }
102
102
  function Cn(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
- function it(e, t) {
105
+ function Ve(e, t) {
106
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
107
  t);
108
108
  }
@@ -121,7 +121,7 @@ function In() {
121
121
  }
122
122
  return mt;
123
123
  }
124
- function Es(e, t) {
124
+ function xs(e, t) {
125
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
126
126
  const n = X("iframe");
127
127
  n.setAttribute(
@@ -139,11 +139,11 @@ function Es(e, t) {
139
139
  }
140
140
  )) : (n.src = "about:blank", n.onload = () => {
141
141
  o = zt(n.contentWindow, "resize", t), t();
142
- }), te(e, n), () => {
143
- (i || o && n.contentWindow) && o(), re(n);
142
+ }), K(e, n), () => {
143
+ (i || o && n.contentWindow) && o(), ee(n);
144
144
  };
145
145
  }
146
- function xs(e, t, r) {
146
+ function ws(e, t, r) {
147
147
  e.classList.toggle(t, !!r);
148
148
  }
149
149
  function Ln(e) {
@@ -155,96 +155,96 @@ function Ln(e) {
155
155
  }
156
156
  ), t;
157
157
  }
158
- let ot;
159
- function nt(e) {
160
- ot = e;
158
+ let st;
159
+ function ot(e) {
160
+ st = e;
161
161
  }
162
162
  function Nn() {
163
- if (!ot)
163
+ if (!st)
164
164
  throw new Error("Function called outside component initialization");
165
- return ot;
165
+ return st;
166
166
  }
167
167
  function Mn(e) {
168
168
  Nn().$$.on_mount.push(e);
169
169
  }
170
- const Ge = [], Wt = [];
171
- let je = [];
170
+ const $e = [], Wt = [];
171
+ let ke = [];
172
172
  const br = [], Rn = /* @__PURE__ */ Promise.resolve();
173
173
  let qt = !1;
174
174
  function Dn() {
175
- qt || (qt = !0, Rn.then(N));
175
+ qt || (qt = !0, Rn.then(M));
176
176
  }
177
177
  function Zt(e) {
178
- je.push(e);
178
+ ke.push(e);
179
179
  }
180
180
  const Rt = /* @__PURE__ */ new Set();
181
- let Fe = 0;
182
- function N() {
183
- if (Fe !== 0)
181
+ let Ge = 0;
182
+ function M() {
183
+ if (Ge !== 0)
184
184
  return;
185
- const e = ot;
185
+ const e = st;
186
186
  do {
187
187
  try {
188
- for (; Fe < Ge.length; ) {
189
- const t = Ge[Fe];
190
- Fe++, nt(t), Fn(t.$$);
188
+ for (; Ge < $e.length; ) {
189
+ const t = $e[Ge];
190
+ Ge++, ot(t), Fn(t.$$);
191
191
  }
192
192
  } catch (t) {
193
- throw Ge.length = 0, Fe = 0, t;
193
+ throw $e.length = 0, Ge = 0, t;
194
194
  }
195
- for (nt(null), Ge.length = 0, Fe = 0; Wt.length; )
195
+ for (ot(null), $e.length = 0, Ge = 0; Wt.length; )
196
196
  Wt.pop()();
197
- for (let t = 0; t < je.length; t += 1) {
198
- const r = je[t];
197
+ for (let t = 0; t < ke.length; t += 1) {
198
+ const r = ke[t];
199
199
  Rt.has(r) || (Rt.add(r), r());
200
200
  }
201
- je.length = 0;
202
- } while (Ge.length);
201
+ ke.length = 0;
202
+ } while ($e.length);
203
203
  for (; br.length; )
204
204
  br.pop()();
205
- qt = !1, Rt.clear(), nt(e);
205
+ qt = !1, Rt.clear(), ot(e);
206
206
  }
207
207
  function Fn(e) {
208
208
  if (e.fragment !== null) {
209
- e.update(), ut(e.before_update);
209
+ e.update(), lt(e.before_update);
210
210
  const t = e.dirty;
211
211
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Zt);
212
212
  }
213
213
  }
214
214
  function Un(e) {
215
215
  const t = [], r = [];
216
- je.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), je = t;
216
+ ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
217
217
  }
218
218
  const Gn = /* @__PURE__ */ new Set();
219
219
  function jn(e, t) {
220
220
  e && e.i && (Gn.delete(e), e.i(t));
221
221
  }
222
- function ws(e) {
222
+ function Ts(e) {
223
223
  return e?.length !== void 0 ? e : Array.from(e);
224
224
  }
225
225
  function $n(e, t, r) {
226
226
  const { fragment: n, after_update: i } = e.$$;
227
227
  n && n.m(t, r), Zt(() => {
228
228
  const o = e.$$.on_mount.map($r).filter(St);
229
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ut(o), e.$$.on_mount = [];
229
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : lt(o), e.$$.on_mount = [];
230
230
  }), i.forEach(Zt);
231
231
  }
232
232
  function kn(e, t) {
233
233
  const r = e.$$;
234
- r.fragment !== null && (Un(r.after_update), ut(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
+ r.fragment !== null && (Un(r.after_update), lt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
235
235
  }
236
236
  function Vn(e, t) {
237
- e.$$.dirty[0] === -1 && (Ge.push(e), Dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ e.$$.dirty[0] === -1 && ($e.push(e), Dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
238
  }
239
239
  function Xn(e, t, r, n, i, o, s = null, a = [-1]) {
240
- const f = ot;
241
- nt(e);
242
- const h = e.$$ = {
240
+ const f = st;
241
+ ot(e);
242
+ const l = e.$$ = {
243
243
  fragment: null,
244
244
  ctx: [],
245
245
  // state
246
246
  props: o,
247
- update: he,
247
+ update: fe,
248
248
  not_equal: i,
249
249
  bound: mr(),
250
250
  // lifecycle
@@ -260,20 +260,20 @@ function Xn(e, t, r, n, i, o, s = null, a = [-1]) {
260
260
  skip_bound: !1,
261
261
  root: t.target || f.$$.root
262
262
  };
263
- s && s(h.root);
263
+ s && s(l.root);
264
264
  let c = !1;
265
- if (h.ctx = r ? r(e, t.props || {}, (d, p, ...E) => {
266
- const P = E.length ? E[0] : p;
267
- return h.ctx && i(h.ctx[d], h.ctx[d] = P) && (!h.skip_bound && h.bound[d] && h.bound[d](P), c && Vn(e, d)), p;
268
- }) : [], h.update(), c = !0, ut(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
265
+ if (l.ctx = r ? r(e, t.props || {}, (d, m, ..._) => {
266
+ const C = _.length ? _[0] : m;
267
+ return l.ctx && i(l.ctx[d], l.ctx[d] = C) && (!l.skip_bound && l.bound[d] && l.bound[d](C), c && Vn(e, d)), m;
268
+ }) : [], l.update(), c = !0, lt(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
269
269
  if (t.hydrate) {
270
270
  const d = Cn(t.target);
271
- h.fragment && h.fragment.l(d), d.forEach(re);
271
+ l.fragment && l.fragment.l(d), d.forEach(ee);
272
272
  } else
273
- h.fragment && h.fragment.c();
274
- t.intro && jn(e.$$.fragment), $n(e, t.target, t.anchor), N();
273
+ l.fragment && l.fragment.c();
274
+ t.intro && jn(e.$$.fragment), $n(e, t.target, t.anchor), M();
275
275
  }
276
- nt(f);
276
+ ot(f);
277
277
  }
278
278
  let Xr;
279
279
  typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
@@ -318,17 +318,17 @@ typeof HTMLElement == "function" && (Xr = class extends HTMLElement {
318
318
  let o;
319
319
  return {
320
320
  c: function() {
321
- o = X("slot"), i !== "default" && F(o, "name", i);
321
+ o = X("slot"), i !== "default" && U(o, "name", i);
322
322
  },
323
323
  /**
324
324
  * @param {HTMLElement} target
325
325
  * @param {HTMLElement} [anchor]
326
326
  */
327
- m: function(f, h) {
328
- fe(f, o, h);
327
+ m: function(f, l) {
328
+ ue(f, o, l);
329
329
  },
330
330
  d: function(f) {
331
- f && re(o);
331
+ f && ee(o);
332
332
  }
333
333
  };
334
334
  };
@@ -470,7 +470,7 @@ class Wn {
470
470
  $$set = void 0;
471
471
  /** @returns {void} */
472
472
  $destroy() {
473
- kn(this, 1), this.$destroy = he;
473
+ kn(this, 1), this.$destroy = fe;
474
474
  }
475
475
  /**
476
476
  * @template {Extract<keyof Events, string>} K
@@ -480,7 +480,7 @@ class Wn {
480
480
  */
481
481
  $on(t, r) {
482
482
  if (!St(r))
483
- return he;
483
+ return fe;
484
484
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
485
485
  return n.push(r), () => {
486
486
  const i = n.indexOf(r);
@@ -519,7 +519,7 @@ var Jt = function(e, t) {
519
519
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
520
520
  }, Jt(e, t);
521
521
  };
522
- function lt(e, t) {
522
+ function ht(e, t) {
523
523
  if (typeof t != "function" && t !== null)
524
524
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
525
525
  Jt(e, t);
@@ -566,7 +566,7 @@ function Kt(e, t, r) {
566
566
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
567
567
  return e.concat(o || t);
568
568
  }
569
- function xe(e) {
569
+ function we(e) {
570
570
  return typeof e == "function";
571
571
  }
572
572
  function zr(e) {
@@ -603,8 +603,8 @@ var At = function() {
603
603
  if (this._parentage = null, Array.isArray(s))
604
604
  try {
605
605
  for (var a = Qt(s), f = a.next(); !f.done; f = a.next()) {
606
- var h = f.value;
607
- h.remove(this);
606
+ var l = f.value;
607
+ l.remove(this);
608
608
  }
609
609
  } catch (H) {
610
610
  t = { error: H };
@@ -619,7 +619,7 @@ var At = function() {
619
619
  else
620
620
  s.remove(this);
621
621
  var c = this.initialTeardown;
622
- if (xe(c))
622
+ if (we(c))
623
623
  try {
624
624
  c();
625
625
  } catch (H) {
@@ -629,10 +629,10 @@ var At = function() {
629
629
  if (d) {
630
630
  this._finalizers = null;
631
631
  try {
632
- for (var p = Qt(d), E = p.next(); !E.done; E = p.next()) {
633
- var P = E.value;
632
+ for (var m = Qt(d), _ = m.next(); !_.done; _ = m.next()) {
633
+ var C = _.value;
634
634
  try {
635
- gr(P);
635
+ gr(C);
636
636
  } catch (H) {
637
637
  o = o ?? [], H instanceof Dt ? o = Kt(Kt([], Yt(o)), Yt(H.errors)) : o.push(H);
638
638
  }
@@ -641,7 +641,7 @@ var At = function() {
641
641
  n = { error: H };
642
642
  } finally {
643
643
  try {
644
- E && !E.done && (i = p.return) && i.call(p);
644
+ _ && !_.done && (i = m.return) && i.call(m);
645
645
  } finally {
646
646
  if (n)
647
647
  throw n.error;
@@ -682,10 +682,10 @@ var At = function() {
682
682
  }(), e;
683
683
  }(), Wr = At.EMPTY;
684
684
  function qr(e) {
685
- return e instanceof At || e && "closed" in e && xe(e.remove) && xe(e.add) && xe(e.unsubscribe);
685
+ return e instanceof At || e && "closed" in e && we(e.remove) && we(e.add) && we(e.unsubscribe);
686
686
  }
687
687
  function gr(e) {
688
- xe(e) ? e() : e.unsubscribe();
688
+ we(e) ? e() : e.unsubscribe();
689
689
  }
690
690
  var Zn = {
691
691
  Promise: void 0
@@ -711,7 +711,7 @@ function yt(e) {
711
711
  e();
712
712
  }
713
713
  var Zr = function(e) {
714
- lt(t, e);
714
+ ht(t, e);
715
715
  function t(r) {
716
716
  var n = e.call(this) || this;
717
717
  return n.isStopped = !1, r ? (n.destination = r, qr(r) && r.add(n)) : n.destination = ei, n;
@@ -773,10 +773,10 @@ var Zr = function(e) {
773
773
  }
774
774
  }, e;
775
775
  }(), tr = function(e) {
776
- lt(t, e);
776
+ ht(t, e);
777
777
  function t(r, n, i) {
778
778
  var o = e.call(this) || this, s;
779
- return xe(r) || !r ? s = {
779
+ return we(r) || !r ? s = {
780
780
  next: r ?? void 0,
781
781
  error: n ?? void 0,
782
782
  complete: i ?? void 0
@@ -829,7 +829,7 @@ var yr = function() {
829
829
  }
830
830
  }, e.prototype.forEach = function(t, r) {
831
831
  var n = this;
832
- return r = _r(r), new r(function(i, o) {
832
+ return r = Er(r), new r(function(i, o) {
833
833
  var s = new tr({
834
834
  next: function(a) {
835
835
  try {
@@ -854,7 +854,7 @@ var yr = function() {
854
854
  return ni(t)(this);
855
855
  }, e.prototype.toPromise = function(t) {
856
856
  var r = this;
857
- return t = _r(t), new t(function(n, i) {
857
+ return t = Er(t), new t(function(n, i) {
858
858
  var o;
859
859
  r.subscribe(function(s) {
860
860
  return o = s;
@@ -868,12 +868,12 @@ var yr = function() {
868
868
  return new e(t);
869
869
  }, e;
870
870
  }();
871
- function _r(e) {
871
+ function Er(e) {
872
872
  var t;
873
873
  return (t = e ?? Zn.Promise) !== null && t !== void 0 ? t : Promise;
874
874
  }
875
875
  function ii(e) {
876
- return e && xe(e.next) && xe(e.error) && xe(e.complete);
876
+ return e && we(e.next) && we(e.error) && we(e.complete);
877
877
  }
878
878
  function oi(e) {
879
879
  return e && e instanceof Zr || ii(e) && qr(e);
@@ -883,13 +883,13 @@ var si = zr(function(e) {
883
883
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
884
884
  };
885
885
  }), Jr = function(e) {
886
- lt(t, e);
886
+ ht(t, e);
887
887
  function t() {
888
888
  var r = e.call(this) || this;
889
889
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
890
890
  }
891
891
  return t.prototype.lift = function(r) {
892
- var n = new Er(this, this);
892
+ var n = new _r(this, this);
893
893
  return n.operator = r, n;
894
894
  }, t.prototype._throwIfClosed = function() {
895
895
  if (this.closed)
@@ -905,8 +905,8 @@ var si = zr(function(e) {
905
905
  var f = a.value;
906
906
  f.next(r);
907
907
  }
908
- } catch (h) {
909
- i = { error: h };
908
+ } catch (l) {
909
+ i = { error: l };
910
910
  } finally {
911
911
  try {
912
912
  a && !a.done && (o = s.return) && o.call(s);
@@ -960,10 +960,10 @@ var si = zr(function(e) {
960
960
  var r = new yr();
961
961
  return r.source = this, r;
962
962
  }, t.create = function(r, n) {
963
- return new Er(r, n);
963
+ return new _r(r, n);
964
964
  }, t;
965
- }(yr), Er = function(e) {
966
- lt(t, e);
965
+ }(yr), _r = function(e) {
966
+ ht(t, e);
967
967
  function t(r, n) {
968
968
  var i = e.call(this) || this;
969
969
  return i.destination = r, i.source = n, i;
@@ -987,7 +987,7 @@ var si = zr(function(e) {
987
987
  },
988
988
  delegate: void 0
989
989
  }, ai = function(e) {
990
- lt(t, e);
990
+ ht(t, e);
991
991
  function t(r, n, i) {
992
992
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qr);
993
993
  var o = e.call(this) || this;
@@ -1004,9 +1004,9 @@ var si = zr(function(e) {
1004
1004
  }, t.prototype._trimBuffer = function() {
1005
1005
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1006
1006
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1007
- for (var f = i.now(), h = 0, c = 1; c < o.length && o[c] <= f; c += 2)
1008
- h = c;
1009
- h && o.splice(0, h + 1);
1007
+ for (var f = i.now(), l = 0, c = 1; c < o.length && o[c] <= f; c += 2)
1008
+ l = c;
1009
+ l && o.splice(0, l + 1);
1010
1010
  }
1011
1011
  }, t;
1012
1012
  }(Jr);
@@ -1016,66 +1016,66 @@ const xr = [], wr = {}, ui = (e, t = 0) => {
1016
1016
  wr[e] = r, xr.push(e);
1017
1017
  }
1018
1018
  return wr[e];
1019
- }, Ue = [];
1019
+ }, je = [];
1020
1020
  function li(e, t) {
1021
1021
  return {
1022
1022
  subscribe: Ht(e, t).subscribe
1023
1023
  };
1024
1024
  }
1025
- function Ht(e, t = he) {
1025
+ function Ht(e, t = fe) {
1026
1026
  let r;
1027
1027
  const n = /* @__PURE__ */ new Set();
1028
1028
  function i(a) {
1029
1029
  if (kr(e, a) && (e = a, r)) {
1030
- const f = !Ue.length;
1031
- for (const h of n)
1032
- h[1](), Ue.push(h, e);
1030
+ const f = !je.length;
1031
+ for (const l of n)
1032
+ l[1](), je.push(l, e);
1033
1033
  if (f) {
1034
- for (let h = 0; h < Ue.length; h += 2)
1035
- Ue[h][0](Ue[h + 1]);
1036
- Ue.length = 0;
1034
+ for (let l = 0; l < je.length; l += 2)
1035
+ je[l][0](je[l + 1]);
1036
+ je.length = 0;
1037
1037
  }
1038
1038
  }
1039
1039
  }
1040
1040
  function o(a) {
1041
1041
  i(a(e));
1042
1042
  }
1043
- function s(a, f = he) {
1044
- const h = [a, f];
1045
- return n.add(h), n.size === 1 && (r = t(i, o) || he), a(e), () => {
1046
- n.delete(h), n.size === 0 && r && (r(), r = null);
1043
+ function s(a, f = fe) {
1044
+ const l = [a, f];
1045
+ return n.add(l), n.size === 1 && (r = t(i, o) || fe), a(e), () => {
1046
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1047
1047
  };
1048
1048
  }
1049
1049
  return { set: i, update: o, subscribe: s };
1050
1050
  }
1051
- function ze(e, t, r) {
1051
+ function Ze(e, t, r) {
1052
1052
  const n = !Array.isArray(e), i = n ? [e] : e;
1053
1053
  if (!i.every(Boolean))
1054
1054
  throw new Error("derived() expects stores as input, got a falsy value");
1055
1055
  const o = t.length < 2;
1056
1056
  return li(r, (s, a) => {
1057
1057
  let f = !1;
1058
- const h = [];
1059
- let c = 0, d = he;
1060
- const p = () => {
1058
+ const l = [];
1059
+ let c = 0, d = fe;
1060
+ const m = () => {
1061
1061
  if (c)
1062
1062
  return;
1063
1063
  d();
1064
- const P = t(n ? h[0] : h, s, a);
1065
- o ? s(P) : d = St(P) ? P : he;
1066
- }, E = i.map(
1067
- (P, H) => Vr(
1068
- P,
1069
- (Y) => {
1070
- h[H] = Y, c &= ~(1 << H), f && p();
1064
+ const C = t(n ? l[0] : l, s, a);
1065
+ o ? s(C) : d = St(C) ? C : fe;
1066
+ }, _ = i.map(
1067
+ (C, H) => Vr(
1068
+ C,
1069
+ (te) => {
1070
+ l[H] = te, c &= ~(1 << H), f && m();
1071
1071
  },
1072
1072
  () => {
1073
1073
  c |= 1 << H;
1074
1074
  }
1075
1075
  )
1076
1076
  );
1077
- return f = !0, p(), function() {
1078
- ut(E), d(), f = !1;
1077
+ return f = !0, m(), function() {
1078
+ lt(_), d(), f = !1;
1079
1079
  };
1080
1080
  });
1081
1081
  }
@@ -1100,27 +1100,27 @@ function gi(e) {
1100
1100
  function vi(e) {
1101
1101
  return Array.isArray(e) ? [] : {};
1102
1102
  }
1103
- function st(e, t) {
1104
- return t.clone !== !1 && t.isMergeableObject(e) ? $e(vi(e), e, t) : e;
1103
+ function at(e, t) {
1104
+ return t.clone !== !1 && t.isMergeableObject(e) ? Xe(vi(e), e, t) : e;
1105
1105
  }
1106
1106
  function yi(e, t, r) {
1107
1107
  return e.concat(t).map(function(n) {
1108
- return st(n, r);
1108
+ return at(n, r);
1109
1109
  });
1110
1110
  }
1111
- function _i(e, t) {
1111
+ function Ei(e, t) {
1112
1112
  if (!t.customMerge)
1113
- return $e;
1113
+ return Xe;
1114
1114
  var r = t.customMerge(e);
1115
- return typeof r == "function" ? r : $e;
1115
+ return typeof r == "function" ? r : Xe;
1116
1116
  }
1117
- function Ei(e) {
1117
+ function _i(e) {
1118
1118
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1119
1119
  return Object.propertyIsEnumerable.call(e, t);
1120
1120
  }) : [];
1121
1121
  }
1122
1122
  function Tr(e) {
1123
- return Object.keys(e).concat(Ei(e));
1123
+ return Object.keys(e).concat(_i(e));
1124
1124
  }
1125
1125
  function Yr(e, t) {
1126
1126
  try {
@@ -1135,24 +1135,24 @@ function xi(e, t) {
1135
1135
  function wi(e, t, r) {
1136
1136
  var n = {};
1137
1137
  return r.isMergeableObject(e) && Tr(e).forEach(function(i) {
1138
- n[i] = st(e[i], r);
1138
+ n[i] = at(e[i], r);
1139
1139
  }), Tr(t).forEach(function(i) {
1140
- xi(e, i) || (Yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = _i(i, r)(e[i], t[i], r) : n[i] = st(t[i], r));
1140
+ xi(e, i) || (Yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ei(i, r)(e[i], t[i], r) : n[i] = at(t[i], r));
1141
1141
  }), n;
1142
1142
  }
1143
- function $e(e, t, r) {
1144
- r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = st;
1143
+ function Xe(e, t, r) {
1144
+ r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = at;
1145
1145
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1146
- return o ? n ? r.arrayMerge(e, t, r) : wi(e, t, r) : st(t, r);
1146
+ return o ? n ? r.arrayMerge(e, t, r) : wi(e, t, r) : at(t, r);
1147
1147
  }
1148
- $e.all = function(t, r) {
1148
+ Xe.all = function(t, r) {
1149
1149
  if (!Array.isArray(t))
1150
1150
  throw new Error("first argument should be an array");
1151
1151
  return t.reduce(function(n, i) {
1152
- return $e(n, i, r);
1152
+ return Xe(n, i, r);
1153
1153
  }, {});
1154
1154
  };
1155
- var Ti = $e, Si = Ti;
1155
+ var Ti = Xe, Si = Ti;
1156
1156
  const Ai = /* @__PURE__ */ fi(Si);
1157
1157
  var rr = function(e, t) {
1158
1158
  return rr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -1171,15 +1171,15 @@ function Bt(e, t) {
1171
1171
  }
1172
1172
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1173
1173
  }
1174
- var be = function() {
1175
- return be = Object.assign || function(t) {
1174
+ var ve = function() {
1175
+ return ve = Object.assign || function(t) {
1176
1176
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1177
1177
  r = arguments[n];
1178
1178
  for (var o in r)
1179
1179
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1180
1180
  }
1181
1181
  return t;
1182
- }, be.apply(this, arguments);
1182
+ }, ve.apply(this, arguments);
1183
1183
  };
1184
1184
  function Hi(e, t) {
1185
1185
  var r = {};
@@ -1258,46 +1258,46 @@ var S;
1258
1258
  (function(e) {
1259
1259
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1260
1260
  })(S || (S = {}));
1261
- var M;
1261
+ var R;
1262
1262
  (function(e) {
1263
1263
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1264
- })(M || (M = {}));
1265
- var ke;
1264
+ })(R || (R = {}));
1265
+ var ze;
1266
1266
  (function(e) {
1267
1267
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1268
- })(ke || (ke = {}));
1268
+ })(ze || (ze = {}));
1269
1269
  function Sr(e) {
1270
- return e.type === M.literal;
1270
+ return e.type === R.literal;
1271
1271
  }
1272
1272
  function Mi(e) {
1273
- return e.type === M.argument;
1273
+ return e.type === R.argument;
1274
1274
  }
1275
1275
  function tn(e) {
1276
- return e.type === M.number;
1276
+ return e.type === R.number;
1277
1277
  }
1278
1278
  function rn(e) {
1279
- return e.type === M.date;
1279
+ return e.type === R.date;
1280
1280
  }
1281
1281
  function nn(e) {
1282
- return e.type === M.time;
1282
+ return e.type === R.time;
1283
1283
  }
1284
1284
  function on(e) {
1285
- return e.type === M.select;
1285
+ return e.type === R.select;
1286
1286
  }
1287
1287
  function sn(e) {
1288
- return e.type === M.plural;
1288
+ return e.type === R.plural;
1289
1289
  }
1290
1290
  function Ri(e) {
1291
- return e.type === M.pound;
1291
+ return e.type === R.pound;
1292
1292
  }
1293
1293
  function an(e) {
1294
- return e.type === M.tag;
1294
+ return e.type === R.tag;
1295
1295
  }
1296
1296
  function un(e) {
1297
- return !!(e && typeof e == "object" && e.type === ke.number);
1297
+ return !!(e && typeof e == "object" && e.type === ze.number);
1298
1298
  }
1299
1299
  function nr(e) {
1300
- return !!(e && typeof e == "object" && e.type === ke.dateTime);
1300
+ return !!(e && typeof e == "object" && e.type === ze.dateTime);
1301
1301
  }
1302
1302
  var ln = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1303
1303
  function Fi(e) {
@@ -1391,28 +1391,28 @@ function Fi(e) {
1391
1391
  return "";
1392
1392
  }), t;
1393
1393
  }
1394
- var R = function() {
1395
- return R = Object.assign || function(t) {
1394
+ var F = function() {
1395
+ return F = Object.assign || function(t) {
1396
1396
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1397
1397
  r = arguments[n];
1398
1398
  for (var o in r)
1399
1399
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1400
1400
  }
1401
1401
  return t;
1402
- }, R.apply(this, arguments);
1402
+ }, F.apply(this, arguments);
1403
1403
  };
1404
1404
  var Ui = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1405
1405
  function Gi(e) {
1406
1406
  if (e.length === 0)
1407
1407
  throw new Error("Number skeleton cannot be empty");
1408
- for (var t = e.split(Ui).filter(function(p) {
1409
- return p.length > 0;
1408
+ for (var t = e.split(Ui).filter(function(m) {
1409
+ return m.length > 0;
1410
1410
  }), r = [], n = 0, i = t; n < i.length; n++) {
1411
1411
  var o = i[n], s = o.split("/");
1412
1412
  if (s.length === 0)
1413
1413
  throw new Error("Invalid number skeleton");
1414
- for (var a = s[0], f = s.slice(1), h = 0, c = f; h < c.length; h++) {
1415
- var d = c[h];
1414
+ for (var a = s[0], f = s.slice(1), l = 0, c = f; l < c.length; l++) {
1415
+ var d = c[l];
1416
1416
  if (d.length === 0)
1417
1417
  throw new Error("Invalid number skeleton");
1418
1418
  }
@@ -1523,13 +1523,13 @@ function Vi(e) {
1523
1523
  t.notation = "compact", t.compactDisplay = "long";
1524
1524
  continue;
1525
1525
  case "scientific":
1526
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(f, h) {
1527
- return R(R({}, f), Br(h));
1526
+ t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(f, l) {
1527
+ return F(F({}, f), Br(l));
1528
1528
  }, {}));
1529
1529
  continue;
1530
1530
  case "engineering":
1531
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(f, h) {
1532
- return R(R({}, f), Br(h));
1531
+ t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(f, l) {
1532
+ return F(F({}, f), Br(l));
1533
1533
  }, {}));
1534
1534
  continue;
1535
1535
  case "notation-simple":
@@ -1574,13 +1574,13 @@ function Vi(e) {
1574
1574
  case "integer-width":
1575
1575
  if (i.options.length > 1)
1576
1576
  throw new RangeError("integer-width stems only accept a single optional option");
1577
- i.options[0].replace($i, function(f, h, c, d, p, E) {
1578
- if (h)
1577
+ i.options[0].replace($i, function(f, l, c, d, m, _) {
1578
+ if (l)
1579
1579
  t.minimumIntegerDigits = c.length;
1580
1580
  else {
1581
- if (d && p)
1581
+ if (d && m)
1582
1582
  throw new Error("We currently do not support maximum integer digits");
1583
- if (E)
1583
+ if (_)
1584
1584
  throw new Error("We currently do not support exact integer digits");
1585
1585
  }
1586
1586
  return "";
@@ -1594,21 +1594,21 @@ function Vi(e) {
1594
1594
  if (Ar.test(i.stem)) {
1595
1595
  if (i.options.length > 1)
1596
1596
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1597
- i.stem.replace(Ar, function(f, h, c, d, p, E) {
1598
- return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && E ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + E.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1597
+ i.stem.replace(Ar, function(f, l, c, d, m, _) {
1598
+ return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1599
1599
  });
1600
1600
  var o = i.options[0];
1601
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Hr(o)));
1601
+ o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), Hr(o)));
1602
1602
  continue;
1603
1603
  }
1604
1604
  if (hn.test(i.stem)) {
1605
- t = R(R({}, t), Hr(i.stem));
1605
+ t = F(F({}, t), Hr(i.stem));
1606
1606
  continue;
1607
1607
  }
1608
1608
  var s = cn(i.stem);
1609
- s && (t = R(R({}, t), s));
1609
+ s && (t = F(F({}, t), s));
1610
1610
  var a = ki(i.stem);
1611
- a && (t = R(R({}, t), a));
1611
+ a && (t = F(F({}, t), a));
1612
1612
  }
1613
1613
  return t;
1614
1614
  }
@@ -3033,11 +3033,11 @@ function Xi(e, t) {
3033
3033
  if (i === "j") {
3034
3034
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3035
3035
  o++, n++;
3036
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", h = zi(t);
3037
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3036
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", l = zi(t);
3037
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3038
3038
  r += f;
3039
3039
  for (; s-- > 0; )
3040
- r = h + r;
3040
+ r = l + r;
3041
3041
  } else
3042
3042
  i === "J" ? r += "H" : r += i;
3043
3043
  }
@@ -3193,7 +3193,7 @@ var so = (
3193
3193
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3194
3194
  var a = this.clonePosition();
3195
3195
  this.bump(), i.push({
3196
- type: M.pound,
3196
+ type: R.pound,
3197
3197
  location: A(a, this.clonePosition())
3198
3198
  });
3199
3199
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3221,7 +3221,7 @@ var so = (
3221
3221
  if (this.bumpSpace(), this.bumpIf("/>"))
3222
3222
  return {
3223
3223
  val: {
3224
- type: M.literal,
3224
+ type: R.literal,
3225
3225
  value: "<".concat(i, "/>"),
3226
3226
  location: A(n, this.clonePosition())
3227
3227
  },
@@ -3235,10 +3235,10 @@ var so = (
3235
3235
  if (this.bumpIf("</")) {
3236
3236
  if (this.isEOF() || !ar(this.char()))
3237
3237
  return this.error(S.INVALID_TAG, A(a, this.clonePosition()));
3238
- var f = this.clonePosition(), h = this.parseTagName();
3239
- return i !== h ? this.error(S.UNMATCHED_CLOSING_TAG, A(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3238
+ var f = this.clonePosition(), l = this.parseTagName();
3239
+ return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, A(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3240
3240
  val: {
3241
- type: M.tag,
3241
+ type: R.tag,
3242
3242
  value: i,
3243
3243
  children: s,
3244
3244
  location: A(n, this.clonePosition())
@@ -3275,7 +3275,7 @@ var so = (
3275
3275
  }
3276
3276
  var f = A(n, this.clonePosition());
3277
3277
  return {
3278
- val: { type: M.literal, value: i, location: f },
3278
+ val: { type: R.literal, value: i, location: f },
3279
3279
  err: null
3280
3280
  };
3281
3281
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3335,7 +3335,7 @@ var so = (
3335
3335
  case 125:
3336
3336
  return this.bump(), {
3337
3337
  val: {
3338
- type: M.argument,
3338
+ type: R.argument,
3339
3339
  // value does not include the opening and closing braces.
3340
3340
  value: i,
3341
3341
  location: A(n, this.clonePosition())
@@ -3361,53 +3361,53 @@ var so = (
3361
3361
  case "date":
3362
3362
  case "time": {
3363
3363
  this.bumpSpace();
3364
- var h = null;
3364
+ var l = null;
3365
3365
  if (this.bumpIf(",")) {
3366
3366
  this.bumpSpace();
3367
3367
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3368
3368
  if (d.err)
3369
3369
  return d;
3370
- var p = oo(d.val);
3371
- if (p.length === 0)
3370
+ var m = oo(d.val);
3371
+ if (m.length === 0)
3372
3372
  return this.error(S.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3373
- var E = A(c, this.clonePosition());
3374
- h = { style: p, styleLocation: E };
3373
+ var _ = A(c, this.clonePosition());
3374
+ l = { style: m, styleLocation: _ };
3375
3375
  }
3376
- var P = this.tryParseArgumentClose(i);
3377
- if (P.err)
3378
- return P;
3376
+ var C = this.tryParseArgumentClose(i);
3377
+ if (C.err)
3378
+ return C;
3379
3379
  var H = A(i, this.clonePosition());
3380
- if (h && Pr(h?.style, "::", 0)) {
3381
- var Y = io(h.style.slice(2));
3380
+ if (l && Pr(l?.style, "::", 0)) {
3381
+ var te = io(l.style.slice(2));
3382
3382
  if (a === "number") {
3383
- var d = this.parseNumberSkeletonFromString(Y, h.styleLocation);
3383
+ var d = this.parseNumberSkeletonFromString(te, l.styleLocation);
3384
3384
  return d.err ? d : {
3385
- val: { type: M.number, value: n, location: H, style: d.val },
3385
+ val: { type: R.number, value: n, location: H, style: d.val },
3386
3386
  err: null
3387
3387
  };
3388
3388
  } else {
3389
- if (Y.length === 0)
3389
+ if (te.length === 0)
3390
3390
  return this.error(S.EXPECT_DATE_TIME_SKELETON, H);
3391
- var ce = Y;
3392
- this.locale && (ce = Xi(Y, this.locale));
3393
- var p = {
3394
- type: ke.dateTime,
3391
+ var ce = te;
3392
+ this.locale && (ce = Xi(te, this.locale));
3393
+ var m = {
3394
+ type: ze.dateTime,
3395
3395
  pattern: ce,
3396
- location: h.styleLocation,
3396
+ location: l.styleLocation,
3397
3397
  parsedOptions: this.shouldParseSkeletons ? Fi(ce) : {}
3398
- }, ne = a === "date" ? M.date : M.time;
3398
+ }, ne = a === "date" ? R.date : R.time;
3399
3399
  return {
3400
- val: { type: ne, value: n, location: H, style: p },
3400
+ val: { type: ne, value: n, location: H, style: m },
3401
3401
  err: null
3402
3402
  };
3403
3403
  }
3404
3404
  }
3405
3405
  return {
3406
3406
  val: {
3407
- type: a === "number" ? M.number : a === "date" ? M.date : M.time,
3407
+ type: a === "number" ? R.number : a === "date" ? R.date : R.time,
3408
3408
  value: n,
3409
3409
  location: H,
3410
- style: (o = h?.style) !== null && o !== void 0 ? o : null
3410
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3411
3411
  },
3412
3412
  err: null
3413
3413
  };
@@ -3415,43 +3415,43 @@ var so = (
3415
3415
  case "plural":
3416
3416
  case "selectordinal":
3417
3417
  case "select": {
3418
- var I = this.clonePosition();
3418
+ var L = this.clonePosition();
3419
3419
  if (this.bumpSpace(), !this.bumpIf(","))
3420
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(I, xt({}, I)));
3420
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(L, xt({}, L)));
3421
3421
  this.bumpSpace();
3422
- var j = this.parseIdentifierIfPossible(), q = 0;
3423
- if (a !== "select" && j.value === "offset") {
3422
+ var $ = this.parseIdentifierIfPossible(), q = 0;
3423
+ if (a !== "select" && $.value === "offset") {
3424
3424
  if (!this.bumpIf(":"))
3425
3425
  return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3426
3426
  this.bumpSpace();
3427
3427
  var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3428
3428
  if (d.err)
3429
3429
  return d;
3430
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), q = d.val;
3430
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), q = d.val;
3431
3431
  }
3432
- var le = this.tryParsePluralOrSelectOptions(t, a, r, j);
3432
+ var le = this.tryParsePluralOrSelectOptions(t, a, r, $);
3433
3433
  if (le.err)
3434
3434
  return le;
3435
- var P = this.tryParseArgumentClose(i);
3436
- if (P.err)
3437
- return P;
3438
- var me = A(i, this.clonePosition());
3435
+ var C = this.tryParseArgumentClose(i);
3436
+ if (C.err)
3437
+ return C;
3438
+ var be = A(i, this.clonePosition());
3439
3439
  return a === "select" ? {
3440
3440
  val: {
3441
- type: M.select,
3441
+ type: R.select,
3442
3442
  value: n,
3443
3443
  options: Or(le.val),
3444
- location: me
3444
+ location: be
3445
3445
  },
3446
3446
  err: null
3447
3447
  } : {
3448
3448
  val: {
3449
- type: M.plural,
3449
+ type: R.plural,
3450
3450
  value: n,
3451
3451
  options: Or(le.val),
3452
3452
  offset: q,
3453
3453
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3454
- location: me
3454
+ location: be
3455
3455
  },
3456
3456
  err: null
3457
3457
  };
@@ -3505,7 +3505,7 @@ var so = (
3505
3505
  }
3506
3506
  return {
3507
3507
  val: {
3508
- type: ke.number,
3508
+ type: ze.number,
3509
3509
  tokens: n,
3510
3510
  location: r,
3511
3511
  parsedOptions: this.shouldParseSkeletons ? Vi(n) : {}
@@ -3513,36 +3513,36 @@ var so = (
3513
3513
  err: null
3514
3514
  };
3515
3515
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3516
- for (var o, s = !1, a = [], f = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
3517
- if (h.length === 0) {
3516
+ for (var o, s = !1, a = [], f = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3517
+ if (l.length === 0) {
3518
3518
  var d = this.clonePosition();
3519
3519
  if (r !== "select" && this.bumpIf("=")) {
3520
- var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3521
- if (p.err)
3522
- return p;
3523
- c = A(d, this.clonePosition()), h = this.message.slice(d.offset, this.offset());
3520
+ var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3521
+ if (m.err)
3522
+ return m;
3523
+ c = A(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3524
3524
  } else
3525
3525
  break;
3526
3526
  }
3527
- if (f.has(h))
3527
+ if (f.has(l))
3528
3528
  return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3529
- h === "other" && (s = !0), this.bumpSpace();
3530
- var E = this.clonePosition();
3529
+ l === "other" && (s = !0), this.bumpSpace();
3530
+ var _ = this.clonePosition();
3531
3531
  if (!this.bumpIf("{"))
3532
3532
  return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3533
- var P = this.parseMessage(t + 1, r, n);
3534
- if (P.err)
3535
- return P;
3536
- var H = this.tryParseArgumentClose(E);
3533
+ var C = this.parseMessage(t + 1, r, n);
3534
+ if (C.err)
3535
+ return C;
3536
+ var H = this.tryParseArgumentClose(_);
3537
3537
  if (H.err)
3538
3538
  return H;
3539
3539
  a.push([
3540
- h,
3540
+ l,
3541
3541
  {
3542
- value: P.val,
3543
- location: A(E, this.clonePosition())
3542
+ value: C.val,
3543
+ location: A(_, this.clonePosition())
3544
3544
  }
3545
- ]), f.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, c = o.location;
3545
+ ]), f.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3546
3546
  }
3547
3547
  return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3548
3548
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3655,10 +3655,10 @@ function ho(e, t) {
3655
3655
  }
3656
3656
  return t?.captureLocation || ur(r.val), r.val;
3657
3657
  }
3658
- var Ve;
3658
+ var We;
3659
3659
  (function(e) {
3660
3660
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3661
- })(Ve || (Ve = {}));
3661
+ })(We || (We = {}));
3662
3662
  var Pt = (
3663
3663
  /** @class */
3664
3664
  function(e) {
@@ -3676,7 +3676,7 @@ var Pt = (
3676
3676
  function(e) {
3677
3677
  Bt(t, e);
3678
3678
  function t(r, n, i, o) {
3679
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ve.INVALID_VALUE, o) || this;
3679
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), We.INVALID_VALUE, o) || this;
3680
3680
  }
3681
3681
  return t;
3682
3682
  }(Pt)
@@ -3685,7 +3685,7 @@ var Pt = (
3685
3685
  function(e) {
3686
3686
  Bt(t, e);
3687
3687
  function t(r, n, i) {
3688
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ve.INVALID_VALUE, i) || this;
3688
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), We.INVALID_VALUE, i) || this;
3689
3689
  }
3690
3690
  return t;
3691
3691
  }(Pt)
@@ -3694,43 +3694,43 @@ var Pt = (
3694
3694
  function(e) {
3695
3695
  Bt(t, e);
3696
3696
  function t(r, n) {
3697
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ve.MISSING_VALUE, n) || this;
3697
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), We.MISSING_VALUE, n) || this;
3698
3698
  }
3699
3699
  return t;
3700
3700
  }(Pt)
3701
- ), Q;
3701
+ ), Y;
3702
3702
  (function(e) {
3703
3703
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3704
- })(Q || (Q = {}));
3704
+ })(Y || (Y = {}));
3705
3705
  function po(e) {
3706
3706
  return e.length < 2 ? e : e.reduce(function(t, r) {
3707
3707
  var n = t[t.length - 1];
3708
- return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3708
+ return !n || n.type !== Y.literal || r.type !== Y.literal ? t.push(r) : n.value += r.value, t;
3709
3709
  }, []);
3710
3710
  }
3711
3711
  function mo(e) {
3712
3712
  return typeof e == "function";
3713
3713
  }
3714
- function _t(e, t, r, n, i, o, s) {
3714
+ function Et(e, t, r, n, i, o, s) {
3715
3715
  if (e.length === 1 && Sr(e[0]))
3716
3716
  return [
3717
3717
  {
3718
- type: Q.literal,
3718
+ type: Y.literal,
3719
3719
  value: e[0].value
3720
3720
  }
3721
3721
  ];
3722
- for (var a = [], f = 0, h = e; f < h.length; f++) {
3723
- var c = h[f];
3722
+ for (var a = [], f = 0, l = e; f < l.length; f++) {
3723
+ var c = l[f];
3724
3724
  if (Sr(c)) {
3725
3725
  a.push({
3726
- type: Q.literal,
3726
+ type: Y.literal,
3727
3727
  value: c.value
3728
3728
  });
3729
3729
  continue;
3730
3730
  }
3731
3731
  if (Ri(c)) {
3732
3732
  typeof o == "number" && a.push({
3733
- type: Q.literal,
3733
+ type: Y.literal,
3734
3734
  value: r.getNumberFormat(t).format(o)
3735
3735
  });
3736
3736
  continue;
@@ -3738,86 +3738,86 @@ function _t(e, t, r, n, i, o, s) {
3738
3738
  var d = c.value;
3739
3739
  if (!(i && d in i))
3740
3740
  throw new co(d, s);
3741
- var p = i[d];
3741
+ var m = i[d];
3742
3742
  if (Mi(c)) {
3743
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3744
- type: typeof p == "string" ? Q.literal : Q.object,
3745
- value: p
3743
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3744
+ type: typeof m == "string" ? Y.literal : Y.object,
3745
+ value: m
3746
3746
  });
3747
3747
  continue;
3748
3748
  }
3749
3749
  if (rn(c)) {
3750
- var E = typeof c.style == "string" ? n.date[c.style] : nr(c.style) ? c.style.parsedOptions : void 0;
3750
+ var _ = typeof c.style == "string" ? n.date[c.style] : nr(c.style) ? c.style.parsedOptions : void 0;
3751
3751
  a.push({
3752
- type: Q.literal,
3753
- value: r.getDateTimeFormat(t, E).format(p)
3752
+ type: Y.literal,
3753
+ value: r.getDateTimeFormat(t, _).format(m)
3754
3754
  });
3755
3755
  continue;
3756
3756
  }
3757
3757
  if (nn(c)) {
3758
- var E = typeof c.style == "string" ? n.time[c.style] : nr(c.style) ? c.style.parsedOptions : n.time.medium;
3758
+ var _ = typeof c.style == "string" ? n.time[c.style] : nr(c.style) ? c.style.parsedOptions : n.time.medium;
3759
3759
  a.push({
3760
- type: Q.literal,
3761
- value: r.getDateTimeFormat(t, E).format(p)
3760
+ type: Y.literal,
3761
+ value: r.getDateTimeFormat(t, _).format(m)
3762
3762
  });
3763
3763
  continue;
3764
3764
  }
3765
3765
  if (tn(c)) {
3766
- var E = typeof c.style == "string" ? n.number[c.style] : un(c.style) ? c.style.parsedOptions : void 0;
3767
- E && E.scale && (p = p * (E.scale || 1)), a.push({
3768
- type: Q.literal,
3769
- value: r.getNumberFormat(t, E).format(p)
3766
+ var _ = typeof c.style == "string" ? n.number[c.style] : un(c.style) ? c.style.parsedOptions : void 0;
3767
+ _ && _.scale && (m = m * (_.scale || 1)), a.push({
3768
+ type: Y.literal,
3769
+ value: r.getNumberFormat(t, _).format(m)
3770
3770
  });
3771
3771
  continue;
3772
3772
  }
3773
3773
  if (an(c)) {
3774
- var P = c.children, H = c.value, Y = i[H];
3775
- if (!mo(Y))
3774
+ var C = c.children, H = c.value, te = i[H];
3775
+ if (!mo(te))
3776
3776
  throw new fo(H, "function", s);
3777
- var ce = _t(P, t, r, n, i, o), ne = Y(ce.map(function(q) {
3777
+ var ce = Et(C, t, r, n, i, o), ne = te(ce.map(function(q) {
3778
3778
  return q.value;
3779
3779
  }));
3780
3780
  Array.isArray(ne) || (ne = [ne]), a.push.apply(a, ne.map(function(q) {
3781
3781
  return {
3782
- type: typeof q == "string" ? Q.literal : Q.object,
3782
+ type: typeof q == "string" ? Y.literal : Y.object,
3783
3783
  value: q
3784
3784
  };
3785
3785
  }));
3786
3786
  }
3787
3787
  if (on(c)) {
3788
- var I = c.options[p] || c.options.other;
3789
- if (!I)
3790
- throw new Ir(c.value, p, Object.keys(c.options), s);
3791
- a.push.apply(a, _t(I.value, t, r, n, i));
3788
+ var L = c.options[m] || c.options.other;
3789
+ if (!L)
3790
+ throw new Ir(c.value, m, Object.keys(c.options), s);
3791
+ a.push.apply(a, Et(L.value, t, r, n, i));
3792
3792
  continue;
3793
3793
  }
3794
3794
  if (sn(c)) {
3795
- var I = c.options["=".concat(p)];
3796
- if (!I) {
3795
+ var L = c.options["=".concat(m)];
3796
+ if (!L) {
3797
3797
  if (!Intl.PluralRules)
3798
3798
  throw new Pt(`Intl.PluralRules is not available in this environment.
3799
3799
  Try polyfilling it using "@formatjs/intl-pluralrules"
3800
- `, Ve.MISSING_INTL_API, s);
3801
- var j = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3802
- I = c.options[j] || c.options.other;
3800
+ `, We.MISSING_INTL_API, s);
3801
+ var $ = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3802
+ L = c.options[$] || c.options.other;
3803
3803
  }
3804
- if (!I)
3805
- throw new Ir(c.value, p, Object.keys(c.options), s);
3806
- a.push.apply(a, _t(I.value, t, r, n, i, p - (c.offset || 0)));
3804
+ if (!L)
3805
+ throw new Ir(c.value, m, Object.keys(c.options), s);
3806
+ a.push.apply(a, Et(L.value, t, r, n, i, m - (c.offset || 0)));
3807
3807
  continue;
3808
3808
  }
3809
3809
  }
3810
3810
  return po(a);
3811
3811
  }
3812
3812
  function bo(e, t) {
3813
- return t ? be(be(be({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = be(be({}, e[n]), t[n] || {}), r;
3813
+ return t ? ve(ve(ve({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3814
+ return r[n] = ve(ve({}, e[n]), t[n] || {}), r;
3815
3815
  }, {})) : e;
3816
3816
  }
3817
3817
  function go(e, t) {
3818
3818
  return t ? Object.keys(e).reduce(function(r, n) {
3819
3819
  return r[n] = bo(e[n], t[n]), r;
3820
- }, be({}, e)) : e;
3820
+ }, ve({}, e)) : e;
3821
3821
  }
3822
3822
  function $t(e) {
3823
3823
  return {
@@ -3876,15 +3876,15 @@ var yo = (
3876
3876
  dateTime: {},
3877
3877
  pluralRules: {}
3878
3878
  }, this.format = function(f) {
3879
- var h = o.formatToParts(f);
3880
- if (h.length === 1)
3881
- return h[0].value;
3882
- var c = h.reduce(function(d, p) {
3883
- return !d.length || p.type !== Q.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3879
+ var l = o.formatToParts(f);
3880
+ if (l.length === 1)
3881
+ return l[0].value;
3882
+ var c = l.reduce(function(d, m) {
3883
+ return !d.length || m.type !== Y.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3884
3884
  }, []);
3885
3885
  return c.length <= 1 ? c[0] || "" : c;
3886
3886
  }, this.formatToParts = function(f) {
3887
- return _t(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3887
+ return Et(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3888
3888
  }, this.resolvedOptions = function() {
3889
3889
  var f;
3890
3890
  return {
@@ -3898,7 +3898,7 @@ var yo = (
3898
3898
  var s = i || {};
3899
3899
  s.formatters;
3900
3900
  var a = Hi(s, ["formatters"]);
3901
- this.ast = e.__parse(t, be(be({}, a), { locale: this.resolvedLocale }));
3901
+ this.ast = e.__parse(t, ve(ve({}, a), { locale: this.resolvedLocale }));
3902
3902
  } else
3903
3903
  this.ast = t;
3904
3904
  if (!Array.isArray(this.ast))
@@ -3977,7 +3977,7 @@ var yo = (
3977
3977
  }, e;
3978
3978
  }()
3979
3979
  );
3980
- function _o(e, t) {
3980
+ function Eo(e, t) {
3981
3981
  if (t == null)
3982
3982
  return;
3983
3983
  if (t in e)
@@ -3998,7 +3998,7 @@ function _o(e, t) {
3998
3998
  n = void 0;
3999
3999
  return n;
4000
4000
  }
4001
- const Ae = {}, Eo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), bn = (e, t) => {
4001
+ const Ae = {}, _o = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (Ae[t][e] = r), r), bn = (e, t) => {
4002
4002
  if (t == null)
4003
4003
  return;
4004
4004
  if (t in Ae && e in Ae[t])
@@ -4007,11 +4007,11 @@ const Ae = {}, Eo = (e, t, r) => r && (t in Ae || (Ae[t] = {}), e in Ae[t] || (A
4007
4007
  for (let n = 0; n < r.length; n++) {
4008
4008
  const i = r[n], o = wo(i, e);
4009
4009
  if (o)
4010
- return Eo(e, t, o);
4010
+ return _o(e, t, o);
4011
4011
  }
4012
4012
  };
4013
4013
  let cr;
4014
- const We = Ht({});
4014
+ const Je = Ht({});
4015
4015
  function xo(e) {
4016
4016
  return cr[e] || null;
4017
4017
  }
@@ -4022,7 +4022,7 @@ function wo(e, t) {
4022
4022
  if (!gn(e))
4023
4023
  return null;
4024
4024
  const r = xo(e);
4025
- return _o(r, t);
4025
+ return Eo(r, t);
4026
4026
  }
4027
4027
  function To(e) {
4028
4028
  if (e == null)
@@ -4035,19 +4035,19 @@ function To(e) {
4035
4035
  }
4036
4036
  }
4037
4037
  function vn(e, ...t) {
4038
- delete Ae[e], We.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
4038
+ delete Ae[e], Je.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
4039
4039
  }
4040
- ze(
4041
- [We],
4040
+ Ze(
4041
+ [Je],
4042
4042
  ([e]) => Object.keys(e)
4043
4043
  );
4044
- We.subscribe((e) => cr = e);
4045
- const Et = {};
4044
+ Je.subscribe((e) => cr = e);
4045
+ const _t = {};
4046
4046
  function So(e, t) {
4047
- Et[e].delete(t), Et[e].size === 0 && delete Et[e];
4047
+ _t[e].delete(t), _t[e].size === 0 && delete _t[e];
4048
4048
  }
4049
4049
  function yn(e) {
4050
- return Et[e];
4050
+ return _t[e];
4051
4051
  }
4052
4052
  function Ao(e) {
4053
4053
  return Ot(e).map((t) => {
@@ -4068,20 +4068,20 @@ function Ho(e, t) {
4068
4068
  t.map((n) => (So(e, n), n().then((i) => i.default || i)))
4069
4069
  ).then((n) => vn(e, ...n));
4070
4070
  }
4071
- const rt = {};
4072
- function _n(e) {
4071
+ const it = {};
4072
+ function En(e) {
4073
4073
  if (!lr(e))
4074
- return e in rt ? rt[e] : Promise.resolve();
4074
+ return e in it ? it[e] : Promise.resolve();
4075
4075
  const t = Ao(e);
4076
- return rt[e] = Promise.all(
4076
+ return it[e] = Promise.all(
4077
4077
  t.map(
4078
4078
  ([r, n]) => Ho(r, n)
4079
4079
  )
4080
4080
  ).then(() => {
4081
4081
  if (lr(e))
4082
- return _n(e);
4083
- delete rt[e];
4084
- }), rt[e];
4082
+ return En(e);
4083
+ delete it[e];
4084
+ }), it[e];
4085
4085
  }
4086
4086
  const Bo = {
4087
4087
  number: {
@@ -4120,7 +4120,7 @@ const Bo = {
4120
4120
  handleMissingMessage: void 0,
4121
4121
  ignoreTag: !0
4122
4122
  }, Oo = Po;
4123
- function Xe() {
4123
+ function qe() {
4124
4124
  return Oo;
4125
4125
  }
4126
4126
  const kt = Ht(!1);
@@ -4137,11 +4137,11 @@ const wt = Ht(null);
4137
4137
  function Mr(e) {
4138
4138
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4139
4139
  }
4140
- function Ot(e, t = Xe().fallbackLocale) {
4140
+ function Ot(e, t = qe().fallbackLocale) {
4141
4141
  const r = Mr(e);
4142
4142
  return t ? [.../* @__PURE__ */ new Set([...r, ...Mr(t)])] : r;
4143
4143
  }
4144
- function Ne() {
4144
+ function Ie() {
4145
4145
  return hr ?? void 0;
4146
4146
  }
4147
4147
  wt.subscribe((e) => {
@@ -4149,19 +4149,19 @@ wt.subscribe((e) => {
4149
4149
  });
4150
4150
  const Fo = (e) => {
4151
4151
  if (e && To(e) && lr(e)) {
4152
- const { loadingDelay: t } = Xe();
4152
+ const { loadingDelay: t } = qe();
4153
4153
  let r;
4154
- return typeof window < "u" && Ne() != null && t ? r = window.setTimeout(
4154
+ return typeof window < "u" && Ie() != null && t ? r = window.setTimeout(
4155
4155
  () => kt.set(!0),
4156
4156
  t
4157
- ) : kt.set(!0), _n(e).then(() => {
4157
+ ) : kt.set(!0), En(e).then(() => {
4158
4158
  wt.set(e);
4159
4159
  }).finally(() => {
4160
4160
  clearTimeout(r), kt.set(!1);
4161
4161
  });
4162
4162
  }
4163
4163
  return wt.set(e);
4164
- }, He = Do(Ro({}, wt), {
4164
+ }, Be = Do(Ro({}, wt), {
4165
4165
  set: Fo
4166
4166
  }), Ct = (e) => {
4167
4167
  const t = /* @__PURE__ */ Object.create(null);
@@ -4170,75 +4170,75 @@ const Fo = (e) => {
4170
4170
  return i in t ? t[i] : t[i] = e(n);
4171
4171
  };
4172
4172
  };
4173
- var Uo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable, Rr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dr = (e, t) => {
4173
+ var Uo = Object.defineProperty, Tt = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, xn = Object.prototype.propertyIsEnumerable, Rr = (e, t, r) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dr = (e, t) => {
4174
4174
  for (var r in t || (t = {}))
4175
- En.call(t, r) && Rr(e, r, t[r]);
4175
+ _n.call(t, r) && Rr(e, r, t[r]);
4176
4176
  if (Tt)
4177
4177
  for (var r of Tt(t))
4178
4178
  xn.call(t, r) && Rr(e, r, t[r]);
4179
4179
  return e;
4180
- }, qe = (e, t) => {
4180
+ }, Qe = (e, t) => {
4181
4181
  var r = {};
4182
4182
  for (var n in e)
4183
- En.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4183
+ _n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4184
4184
  if (e != null && Tt)
4185
4185
  for (var n of Tt(e))
4186
4186
  t.indexOf(n) < 0 && xn.call(e, n) && (r[n] = e[n]);
4187
4187
  return r;
4188
4188
  };
4189
- const at = (e, t) => {
4190
- const { formats: r } = Xe();
4189
+ const ut = (e, t) => {
4190
+ const { formats: r } = qe();
4191
4191
  if (e in r && t in r[e])
4192
4192
  return r[e][t];
4193
4193
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4194
4194
  }, Go = Ct(
4195
4195
  (e) => {
4196
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
4196
+ var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4197
4197
  if (r == null)
4198
4198
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4199
- return n && (i = at("number", n)), new Intl.NumberFormat(r, i);
4199
+ return n && (i = ut("number", n)), new Intl.NumberFormat(r, i);
4200
4200
  }
4201
4201
  ), jo = Ct(
4202
4202
  (e) => {
4203
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
4203
+ var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4204
4204
  if (r == null)
4205
4205
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4206
- return n ? i = at("date", n) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(r, i);
4206
+ return n ? i = ut("date", n) : Object.keys(i).length === 0 && (i = ut("date", "short")), new Intl.DateTimeFormat(r, i);
4207
4207
  }
4208
4208
  ), $o = Ct(
4209
4209
  (e) => {
4210
- var t = e, { locale: r, format: n } = t, i = qe(t, ["locale", "format"]);
4210
+ var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
4211
4211
  if (r == null)
4212
4212
  throw new Error(
4213
4213
  '[svelte-i18n] A "locale" must be set to format time values'
4214
4214
  );
4215
- return n ? i = at("time", n) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(r, i);
4215
+ return n ? i = ut("time", n) : Object.keys(i).length === 0 && (i = ut("time", "short")), new Intl.DateTimeFormat(r, i);
4216
4216
  }
4217
4217
  ), ko = (e = {}) => {
4218
4218
  var t = e, {
4219
- locale: r = Ne()
4220
- } = t, n = qe(t, [
4219
+ locale: r = Ie()
4220
+ } = t, n = Qe(t, [
4221
4221
  "locale"
4222
4222
  ]);
4223
4223
  return Go(dr({ locale: r }, n));
4224
4224
  }, Vo = (e = {}) => {
4225
4225
  var t = e, {
4226
- locale: r = Ne()
4227
- } = t, n = qe(t, [
4226
+ locale: r = Ie()
4227
+ } = t, n = Qe(t, [
4228
4228
  "locale"
4229
4229
  ]);
4230
4230
  return jo(dr({ locale: r }, n));
4231
4231
  }, Xo = (e = {}) => {
4232
4232
  var t = e, {
4233
- locale: r = Ne()
4234
- } = t, n = qe(t, [
4233
+ locale: r = Ie()
4234
+ } = t, n = Qe(t, [
4235
4235
  "locale"
4236
4236
  ]);
4237
4237
  return $o(dr({ locale: r }, n));
4238
4238
  }, zo = Ct(
4239
4239
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4240
- (e, t = Ne()) => new yo(e, t, Xe().formats, {
4241
- ignoreTag: Xe().ignoreTag
4240
+ (e, t = Ie()) => new yo(e, t, qe().formats, {
4241
+ ignoreTag: qe().ignoreTag
4242
4242
  })
4243
4243
  ), Wo = (e, t = {}) => {
4244
4244
  var r, n, i, o;
@@ -4246,8 +4246,8 @@ const at = (e, t) => {
4246
4246
  typeof e == "object" && (s = e, e = s.id);
4247
4247
  const {
4248
4248
  values: a,
4249
- locale: f = Ne(),
4250
- default: h
4249
+ locale: f = Ie(),
4250
+ default: l
4251
4251
  } = s;
4252
4252
  if (f == null)
4253
4253
  throw new Error(
@@ -4255,7 +4255,7 @@ const at = (e, t) => {
4255
4255
  );
4256
4256
  let c = bn(e, f);
4257
4257
  if (!c)
4258
- c = (o = (i = (n = (r = Xe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4258
+ c = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4259
4259
  else if (typeof c != "string")
4260
4260
  return console.warn(
4261
4261
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4265,97 +4265,108 @@ const at = (e, t) => {
4265
4265
  let d = c;
4266
4266
  try {
4267
4267
  d = zo(c, f).format(a);
4268
- } catch (p) {
4269
- p instanceof Error && console.warn(
4268
+ } catch (m) {
4269
+ m instanceof Error && console.warn(
4270
4270
  `[svelte-i18n] Message "${e}" has syntax error:`,
4271
- p.message
4271
+ m.message
4272
4272
  );
4273
4273
  }
4274
4274
  return d;
4275
- }, qo = (e, t) => Xo(t).format(e), Zo = (e, t) => Vo(t).format(e), Jo = (e, t) => ko(t).format(e), Qo = (e, t = Ne()) => bn(e, t), Yo = ze([He, We], () => Wo);
4276
- ze([He], () => qo);
4277
- ze([He], () => Zo);
4278
- ze([He], () => Jo);
4279
- ze([He, We], () => Qo);
4275
+ }, qo = (e, t) => Xo(t).format(e), Zo = (e, t) => Vo(t).format(e), Jo = (e, t) => ko(t).format(e), Qo = (e, t = Ie()) => bn(e, t), Yo = Ze([Be, Je], () => Wo);
4276
+ Ze([Be], () => qo);
4277
+ Ze([Be], () => Zo);
4278
+ Ze([Be], () => Jo);
4279
+ Ze([Be, Je], () => Qo);
4280
4280
  window.emWidgets = { topic: ui };
4281
- const Ts = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4281
+ const Ss = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ko = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4282
4282
  function es({ withLocale: e, translations: t }) {
4283
- He.subscribe((r) => {
4284
- r == null && (We.set(t), He.set(e));
4283
+ Be.subscribe((r) => {
4284
+ r == null && (Je.set(t), Be.set(e));
4285
4285
  });
4286
4286
  }
4287
4287
  function Vt(e, t) {
4288
4288
  vn(e, t);
4289
4289
  }
4290
4290
  function Dr(e) {
4291
- He.set(e);
4291
+ Be.set(e);
4292
4292
  }
4293
4293
  const Fr = {
4294
4294
  en: {
4295
4295
  500: "500 - Internal server error",
4296
4296
  showMore: "Show more",
4297
4297
  loading: "Loading, please wait ...",
4298
- noTournaments: "No tournaments found"
4298
+ noTournaments: "No tournaments found",
4299
+ fetchError: "An error has occurred when fetching the tournaments"
4299
4300
  },
4300
4301
  hr: {
4301
4302
  500: "500 - Interna pogreška poslužitelja",
4302
4303
  showMore: "Prikaži više",
4303
4304
  loading: "Učitavanje, molimo pričekajte ...",
4304
- noTournaments: "Nema pronađenih turnira"
4305
+ noTournaments: "Nema pronađenih turnira",
4306
+ fetchError: "Došlo je do pogreške prilikom dohvaćanja turnira"
4305
4307
  },
4306
4308
  "zh-hk": {
4307
4309
  500: "500內部服務器錯誤",
4308
4310
  showMore: "顯示更多",
4309
4311
  loading: "加載請稍候 ...",
4310
- noTournaments: "沒有找到比賽"
4312
+ noTournaments: "沒有找到比賽",
4313
+ fetchError: "擷取比賽資料時發生錯誤"
4311
4314
  },
4312
4315
  fr: {
4313
4316
  500: "500 - erreur de serveur interne",
4314
4317
  showMore: "Afficher plus",
4315
4318
  loading: "Chargement , veuillez patienter ...",
4316
- noTournaments: "Aucun tournoi trouvé"
4319
+ noTournaments: "Aucun tournoi trouvé",
4320
+ fetchError: "Une erreur est survenue lors de la récupération des tournois"
4317
4321
  },
4318
4322
  ro: {
4319
4323
  500: "500 - Internal server error",
4320
4324
  showMore: "Mai mult",
4321
4325
  loading: "Se încarcă, asteptati ...",
4322
- noTournaments: "Niciun turneu gasit"
4326
+ noTournaments: "Niciun turneu gasit",
4327
+ fetchError: "A apărut o eroare la preluarea turneelor"
4323
4328
  },
4324
4329
  tr: {
4325
4330
  500: "500 - Dahili sunucu hatası",
4326
4331
  showMore: "Daha fazla göster",
4327
4332
  loading: "Yükleniyor, lütfen bekleyin ...",
4328
- noTournaments: "Turnuva bulunamadı"
4333
+ noTournaments: "Turnuva bulunamadı",
4334
+ fetchError: "Turnuvalar alınırken bir hata oluştu"
4329
4335
  },
4330
4336
  el: {
4331
4337
  500: "500 - Σφάλμα Διακομιστή",
4332
4338
  showMore: "Περισσότερα",
4333
4339
  loading: "Φορτώνει, παρακαλούμε περιμένετε ...",
4334
- noTournaments: "Δεν βρέθηκαν τουρνουά"
4340
+ noTournaments: "Δεν βρέθηκαν τουρνουά",
4341
+ fetchError: "Παρουσιάστηκε σφάλμα κατά την ανάκτηση των τουρνουά"
4335
4342
  },
4336
4343
  es: {
4337
4344
  500: "500 - Error servidor interno",
4338
4345
  showMore: "Mostrar más",
4339
4346
  loading: "Cargando …",
4340
- noTournaments: "No se encontraron Torneos"
4347
+ noTournaments: "No se encontraron Torneos",
4348
+ fetchError: "Se produjo un error al obtener los torneos"
4341
4349
  },
4342
4350
  hu: {
4343
4351
  500: "500 - Belső szerver hiba",
4344
4352
  showMore: "Mutass többet",
4345
4353
  loading: "Betöltés, kérjük várjon...",
4346
- noTournaments: "Verseny nem található"
4354
+ noTournaments: "Verseny nem található",
4355
+ fetchError: "Hiba történt a versenyek lekérdezésekor"
4347
4356
  },
4348
4357
  pt: {
4349
4358
  500: "Erro 500 - Erro interno do servidor",
4350
4359
  showMore: "Ver mais",
4351
4360
  loading: "Carregando, por favor espere ...",
4352
- noTournaments: "Nenhum torneio encontrado"
4361
+ noTournaments: "Nenhum torneio encontrado",
4362
+ fetchError: "Ocorreu um erro ao buscar os torneios"
4353
4363
  },
4354
4364
  "en-us": {
4355
4365
  500: "500 - Internal server error",
4356
4366
  showMore: "Show more",
4357
4367
  loading: "Loading, please wait ...",
4358
- noTournaments: "No tournaments found"
4368
+ noTournaments: "No tournaments found",
4369
+ fetchError: "An error has occurred when fetching the tournaments"
4359
4370
  }
4360
4371
  };
4361
4372
  var fr = { exports: {} };
@@ -4366,27 +4377,27 @@ var fr = { exports: {} };
4366
4377
  */
4367
4378
  (function(e, t) {
4368
4379
  (function(r) {
4369
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, f = r.EventSource, h = r.document, c = r.Promise, d = r.fetch, p = r.Response, E = r.TextDecoder, P = r.TextEncoder, H = r.AbortController;
4370
- if (typeof window < "u" && typeof h < "u" && !("readyState" in h) && h.body == null && (h.readyState = "loading", window.addEventListener("load", function(l) {
4371
- h.readyState = "complete";
4380
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, f = r.EventSource, l = r.document, c = r.Promise, d = r.fetch, m = r.Response, _ = r.TextDecoder, C = r.TextEncoder, H = r.AbortController;
4381
+ if (typeof window < "u" && typeof l < "u" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(u) {
4382
+ l.readyState = "complete";
4372
4383
  }, !1)), o == null && a != null && (o = function() {
4373
4384
  return new a("Microsoft.XMLHTTP");
4374
- }), Object.create == null && (Object.create = function(l) {
4385
+ }), Object.create == null && (Object.create = function(u) {
4375
4386
  function b() {
4376
4387
  }
4377
- return b.prototype = l, new b();
4388
+ return b.prototype = u, new b();
4378
4389
  }), Date.now || (Date.now = function() {
4379
4390
  return (/* @__PURE__ */ new Date()).getTime();
4380
4391
  }), H == null) {
4381
- var Y = d;
4382
- d = function(l, b) {
4392
+ var te = d;
4393
+ d = function(u, b) {
4383
4394
  var g = b.signal;
4384
- return Y(l, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4385
- var y = m.body.getReader();
4395
+ return te(u, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4396
+ var y = p.body.getReader();
4386
4397
  return g._reader = y, g._aborted && g._reader.cancel(), {
4387
- status: m.status,
4388
- statusText: m.statusText,
4389
- headers: m.headers,
4398
+ status: p.status,
4399
+ statusText: p.statusText,
4400
+ headers: p.headers,
4390
4401
  body: {
4391
4402
  getReader: function() {
4392
4403
  return y;
@@ -4406,120 +4417,120 @@ var fr = { exports: {} };
4406
4417
  function ce() {
4407
4418
  this.bitsNeeded = 0, this.codePoint = 0;
4408
4419
  }
4409
- ce.prototype.decode = function(l) {
4410
- function b(B, O, u) {
4411
- if (u === 1)
4412
- return B >= 128 >> O && B << O <= 2047;
4413
- if (u === 2)
4414
- return B >= 2048 >> O && B << O <= 55295 || B >= 57344 >> O && B << O <= 65535;
4415
- if (u === 3)
4416
- return B >= 65536 >> O && B << O <= 1114111;
4420
+ ce.prototype.decode = function(u) {
4421
+ function b(B, I, E) {
4422
+ if (E === 1)
4423
+ return B >= 128 >> I && B << I <= 2047;
4424
+ if (E === 2)
4425
+ return B >= 2048 >> I && B << I <= 55295 || B >= 57344 >> I && B << I <= 65535;
4426
+ if (E === 3)
4427
+ return B >= 65536 >> I && B << I <= 1114111;
4417
4428
  throw new Error();
4418
4429
  }
4419
- function g(B, O) {
4430
+ function g(B, I) {
4420
4431
  if (B === 6 * 1)
4421
- return O >> 6 > 15 ? 3 : O > 31 ? 2 : 1;
4432
+ return I >> 6 > 15 ? 3 : I > 31 ? 2 : 1;
4422
4433
  if (B === 6 * 2)
4423
- return O > 15 ? 3 : 2;
4434
+ return I > 15 ? 3 : 2;
4424
4435
  if (B === 6 * 3)
4425
4436
  return 3;
4426
4437
  throw new Error();
4427
4438
  }
4428
- for (var m = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, L = 0; L < l.length; L += 1) {
4429
- var T = l[L];
4430
- v !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, v - 6, g(v, w))) && (v = 0, w = m, y += String.fromCharCode(w)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, w = T) : T >= 192 && T <= 223 ? (v = 6 * 1, w = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, w = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, w = T & 7) : (v = 0, w = m), v !== 0 && !b(w, v, g(v, w)) && (v = 0, w = m)) : (v -= 6, w = w << 6 | T & 63), v === 0 && (w <= 65535 ? y += String.fromCharCode(w) : (y += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
4439
+ for (var p = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, N = 0; N < u.length; N += 1) {
4440
+ var T = u[N];
4441
+ v !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, v - 6, g(v, w))) && (v = 0, w = p, y += String.fromCharCode(w)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, w = T) : T >= 192 && T <= 223 ? (v = 6 * 1, w = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, w = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, w = T & 7) : (v = 0, w = p), v !== 0 && !b(w, v, g(v, w)) && (v = 0, w = p)) : (v -= 6, w = w << 6 | T & 63), v === 0 && (w <= 65535 ? y += String.fromCharCode(w) : (y += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
4431
4442
  }
4432
4443
  return this.bitsNeeded = v, this.codePoint = w, y;
4433
4444
  };
4434
4445
  var ne = function() {
4435
4446
  try {
4436
- return new E().decode(new P().encode("test"), { stream: !0 }) === "test";
4437
- } catch (l) {
4438
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + l);
4447
+ return new _().decode(new C().encode("test"), { stream: !0 }) === "test";
4448
+ } catch (u) {
4449
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + u);
4439
4450
  }
4440
4451
  return !1;
4441
4452
  };
4442
- (E == null || P == null || !ne()) && (E = ce);
4443
- var I = function() {
4453
+ (_ == null || C == null || !ne()) && (_ = ce);
4454
+ var L = function() {
4444
4455
  };
4445
- function j(l) {
4446
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = I, this.onload = I, this.onerror = I, this.onreadystatechange = I, this._contentType = "", this._xhr = l, this._sendTimeout = 0, this._abort = I;
4456
+ function $(u) {
4457
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = L, this.onload = L, this.onerror = L, this.onreadystatechange = L, this._contentType = "", this._xhr = u, this._sendTimeout = 0, this._abort = L;
4447
4458
  }
4448
- j.prototype.open = function(l, b) {
4459
+ $.prototype.open = function(u, b) {
4449
4460
  this._abort(!0);
4450
- var g = this, m = this._xhr, y = 1, v = 0;
4451
- this._abort = function(u) {
4452
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = I, m.onerror = I, m.onabort = I, m.onprogress = I, m.onreadystatechange = I, m.abort(), v !== 0 && (i(v), v = 0), u || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4461
+ var g = this, p = this._xhr, y = 1, v = 0;
4462
+ this._abort = function(E) {
4463
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = L, p.onerror = L, p.onabort = L, p.onprogress = L, p.onreadystatechange = L, p.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4453
4464
  };
4454
4465
  var w = function() {
4455
4466
  if (y === 1) {
4456
- var u = 0, _ = "", C = void 0;
4457
- if ("contentType" in m)
4458
- u = 200, _ = "OK", C = m.contentType;
4467
+ var E = 0, h = "", P = void 0;
4468
+ if ("contentType" in p)
4469
+ E = 200, h = "OK", P = p.contentType;
4459
4470
  else
4460
4471
  try {
4461
- u = m.status, _ = m.statusText, C = m.getResponseHeader("Content-Type");
4472
+ E = p.status, h = p.statusText, P = p.getResponseHeader("Content-Type");
4462
4473
  } catch {
4463
- u = 0, _ = "", C = void 0;
4474
+ E = 0, h = "", P = void 0;
4464
4475
  }
4465
- u !== 0 && (y = 2, g.readyState = 2, g.status = u, g.statusText = _, g._contentType = C, g.onreadystatechange());
4476
+ E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = h, g._contentType = P, g.onreadystatechange());
4466
4477
  }
4467
- }, L = function() {
4478
+ }, N = function() {
4468
4479
  if (w(), y === 2 || y === 3) {
4469
4480
  y = 3;
4470
- var u = "";
4481
+ var E = "";
4471
4482
  try {
4472
- u = m.responseText;
4483
+ E = p.responseText;
4473
4484
  } catch {
4474
4485
  }
4475
- g.readyState = 3, g.responseText = u, g.onprogress();
4486
+ g.readyState = 3, g.responseText = E, g.onprogress();
4476
4487
  }
4477
- }, T = function(u, _) {
4478
- if ((_ == null || _.preventDefault == null) && (_ = {
4479
- preventDefault: I
4480
- }), L(), y === 1 || y === 2 || y === 3) {
4481
- if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, u === "load")
4482
- g.onload(_);
4483
- else if (u === "error")
4484
- g.onerror(_);
4485
- else if (u === "abort")
4486
- g.onabort(_);
4488
+ }, T = function(E, h) {
4489
+ if ((h == null || h.preventDefault == null) && (h = {
4490
+ preventDefault: L
4491
+ }), N(), y === 1 || y === 2 || y === 3) {
4492
+ if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, E === "load")
4493
+ g.onload(h);
4494
+ else if (E === "error")
4495
+ g.onerror(h);
4496
+ else if (E === "abort")
4497
+ g.onabort(h);
4487
4498
  else
4488
4499
  throw new TypeError();
4489
4500
  g.onreadystatechange();
4490
4501
  }
4491
- }, B = function(u) {
4492
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && T(m.responseText === "" ? "error" : "load", u) : m.readyState === 3 ? "onprogress" in m || L() : m.readyState === 2 && w());
4493
- }, O = function() {
4502
+ }, B = function(E) {
4503
+ p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && T(p.responseText === "" ? "error" : "load", E) : p.readyState === 3 ? "onprogress" in p || N() : p.readyState === 2 && w());
4504
+ }, I = function() {
4494
4505
  v = n(function() {
4495
- O();
4496
- }, 500), m.readyState === 3 && L();
4506
+ I();
4507
+ }, 500), p.readyState === 3 && N();
4497
4508
  };
4498
- "onload" in m && (m.onload = function(u) {
4499
- T("load", u);
4500
- }), "onerror" in m && (m.onerror = function(u) {
4501
- T("error", u);
4502
- }), "onabort" in m && (m.onabort = function(u) {
4503
- T("abort", u);
4504
- }), "onprogress" in m && (m.onprogress = L), "onreadystatechange" in m && (m.onreadystatechange = function(u) {
4505
- B(u);
4506
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(l, b, !0), "readyState" in m && (v = n(function() {
4507
- O();
4509
+ "onload" in p && (p.onload = function(E) {
4510
+ T("load", E);
4511
+ }), "onerror" in p && (p.onerror = function(E) {
4512
+ T("error", E);
4513
+ }), "onabort" in p && (p.onabort = function(E) {
4514
+ T("abort", E);
4515
+ }), "onprogress" in p && (p.onprogress = N), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
4516
+ B(E);
4517
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(u, b, !0), "readyState" in p && (v = n(function() {
4518
+ I();
4508
4519
  }, 0));
4509
- }, j.prototype.abort = function() {
4520
+ }, $.prototype.abort = function() {
4510
4521
  this._abort(!1);
4511
- }, j.prototype.getResponseHeader = function(l) {
4522
+ }, $.prototype.getResponseHeader = function(u) {
4512
4523
  return this._contentType;
4513
- }, j.prototype.setRequestHeader = function(l, b) {
4524
+ }, $.prototype.setRequestHeader = function(u, b) {
4514
4525
  var g = this._xhr;
4515
- "setRequestHeader" in g && g.setRequestHeader(l, b);
4516
- }, j.prototype.getAllResponseHeaders = function() {
4526
+ "setRequestHeader" in g && g.setRequestHeader(u, b);
4527
+ }, $.prototype.getAllResponseHeaders = function() {
4517
4528
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4518
- }, j.prototype.send = function() {
4519
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && h != null && h.readyState != null && h.readyState !== "complete") {
4520
- var l = this;
4521
- l._sendTimeout = n(function() {
4522
- l._sendTimeout = 0, l.send();
4529
+ }, $.prototype.send = function() {
4530
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4531
+ var u = this;
4532
+ u._sendTimeout = n(function() {
4533
+ u._sendTimeout = 0, u.send();
4523
4534
  }, 4);
4524
4535
  return;
4525
4536
  }
@@ -4531,275 +4542,275 @@ var fr = { exports: {} };
4531
4542
  throw g;
4532
4543
  }
4533
4544
  };
4534
- function q(l) {
4535
- return l.replace(/[A-Z]/g, function(b) {
4545
+ function q(u) {
4546
+ return u.replace(/[A-Z]/g, function(b) {
4536
4547
  return String.fromCharCode(b.charCodeAt(0) + 32);
4537
4548
  });
4538
4549
  }
4539
- function le(l) {
4540
- for (var b = /* @__PURE__ */ Object.create(null), g = l.split(`\r
4541
- `), m = 0; m < g.length; m += 1) {
4542
- var y = g[m], v = y.split(": "), w = v.shift(), L = v.join(": ");
4543
- b[q(w)] = L;
4550
+ function le(u) {
4551
+ for (var b = /* @__PURE__ */ Object.create(null), g = u.split(`\r
4552
+ `), p = 0; p < g.length; p += 1) {
4553
+ var y = g[p], v = y.split(": "), w = v.shift(), N = v.join(": ");
4554
+ b[q(w)] = N;
4544
4555
  }
4545
4556
  this._map = b;
4546
4557
  }
4547
- le.prototype.get = function(l) {
4548
- return this._map[q(l)];
4558
+ le.prototype.get = function(u) {
4559
+ return this._map[q(u)];
4549
4560
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4550
- function me() {
4561
+ function be() {
4551
4562
  }
4552
- me.prototype.open = function(l, b, g, m, y, v, w) {
4553
- l.open("GET", y);
4554
- var L = 0;
4555
- l.onprogress = function() {
4556
- var B = l.responseText, O = B.slice(L);
4557
- L += O.length, g(O);
4558
- }, l.onerror = function(B) {
4559
- B.preventDefault(), m(new Error("NetworkError"));
4560
- }, l.onload = function() {
4561
- m(null);
4562
- }, l.onabort = function() {
4563
- m(null);
4564
- }, l.onreadystatechange = function() {
4565
- if (l.readyState === o.HEADERS_RECEIVED) {
4566
- var B = l.status, O = l.statusText, u = l.getResponseHeader("Content-Type"), _ = l.getAllResponseHeaders();
4567
- b(B, O, u, new le(_));
4563
+ be.prototype.open = function(u, b, g, p, y, v, w) {
4564
+ u.open("GET", y);
4565
+ var N = 0;
4566
+ u.onprogress = function() {
4567
+ var B = u.responseText, I = B.slice(N);
4568
+ N += I.length, g(I);
4569
+ }, u.onerror = function(B) {
4570
+ B.preventDefault(), p(new Error("NetworkError"));
4571
+ }, u.onload = function() {
4572
+ p(null);
4573
+ }, u.onabort = function() {
4574
+ p(null);
4575
+ }, u.onreadystatechange = function() {
4576
+ if (u.readyState === o.HEADERS_RECEIVED) {
4577
+ var B = u.status, I = u.statusText, E = u.getResponseHeader("Content-Type"), h = u.getAllResponseHeaders();
4578
+ b(B, I, E, new le(h));
4568
4579
  }
4569
- }, l.withCredentials = v;
4580
+ }, u.withCredentials = v;
4570
4581
  for (var T in w)
4571
- Object.prototype.hasOwnProperty.call(w, T) && l.setRequestHeader(T, w[T]);
4572
- return l.send(), l;
4582
+ Object.prototype.hasOwnProperty.call(w, T) && u.setRequestHeader(T, w[T]);
4583
+ return u.send(), u;
4573
4584
  };
4574
- function Me(l) {
4575
- this._headers = l;
4585
+ function Le(u) {
4586
+ this._headers = u;
4576
4587
  }
4577
- Me.prototype.get = function(l) {
4578
- return this._headers.get(l);
4588
+ Le.prototype.get = function(u) {
4589
+ return this._headers.get(u);
4579
4590
  };
4580
- function Re() {
4591
+ function Ne() {
4581
4592
  }
4582
- Re.prototype.open = function(l, b, g, m, y, v, w) {
4583
- var L = null, T = new H(), B = T.signal, O = new E();
4593
+ Ne.prototype.open = function(u, b, g, p, y, v, w) {
4594
+ var N = null, T = new H(), B = T.signal, I = new _();
4584
4595
  return d(y, {
4585
4596
  headers: w,
4586
4597
  credentials: v ? "include" : "same-origin",
4587
4598
  signal: B,
4588
4599
  cache: "no-store"
4589
- }).then(function(u) {
4590
- return L = u.body.getReader(), b(u.status, u.statusText, u.headers.get("Content-Type"), new Me(u.headers)), new c(function(_, C) {
4600
+ }).then(function(E) {
4601
+ return N = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Le(E.headers)), new c(function(h, P) {
4591
4602
  var D = function() {
4592
- L.read().then(function(W) {
4593
- if (W.done)
4594
- _(void 0);
4603
+ N.read().then(function(O) {
4604
+ if (O.done)
4605
+ h(void 0);
4595
4606
  else {
4596
- var U = O.decode(W.value, { stream: !0 });
4597
- g(U), D();
4607
+ var k = I.decode(O.value, { stream: !0 });
4608
+ g(k), D();
4598
4609
  }
4599
- }).catch(function(W) {
4600
- C(W);
4610
+ }).catch(function(O) {
4611
+ P(O);
4601
4612
  });
4602
4613
  };
4603
4614
  D();
4604
4615
  });
4605
- }).catch(function(u) {
4606
- if (u.name !== "AbortError")
4607
- return u;
4608
- }).then(function(u) {
4609
- m(u);
4616
+ }).catch(function(E) {
4617
+ if (E.name !== "AbortError")
4618
+ return E;
4619
+ }).then(function(E) {
4620
+ p(E);
4610
4621
  }), {
4611
4622
  abort: function() {
4612
- L?.cancel(), T.abort();
4623
+ N?.cancel(), T.abort();
4613
4624
  }
4614
4625
  };
4615
4626
  };
4616
- function ge() {
4627
+ function ye() {
4617
4628
  this._listeners = /* @__PURE__ */ Object.create(null);
4618
4629
  }
4619
- function Be(l) {
4630
+ function Me(u) {
4620
4631
  n(function() {
4621
- throw l;
4632
+ throw u;
4622
4633
  }, 0);
4623
4634
  }
4624
- ge.prototype.dispatchEvent = function(l) {
4625
- l.target = this;
4626
- var b = this._listeners[l.type];
4635
+ ye.prototype.dispatchEvent = function(u) {
4636
+ u.target = this;
4637
+ var b = this._listeners[u.type];
4627
4638
  if (b != null)
4628
- for (var g = b.length, m = 0; m < g; m += 1) {
4629
- var y = b[m];
4639
+ for (var g = b.length, p = 0; p < g; p += 1) {
4640
+ var y = b[p];
4630
4641
  try {
4631
- typeof y.handleEvent == "function" ? y.handleEvent(l) : y.call(this, l);
4642
+ typeof y.handleEvent == "function" ? y.handleEvent(u) : y.call(this, u);
4632
4643
  } catch (v) {
4633
- Be(v);
4644
+ Me(v);
4634
4645
  }
4635
4646
  }
4636
- }, ge.prototype.addEventListener = function(l, b) {
4637
- l = String(l);
4638
- var g = this._listeners, m = g[l];
4639
- m == null && (m = [], g[l] = m);
4640
- for (var y = !1, v = 0; v < m.length; v += 1)
4641
- m[v] === b && (y = !0);
4642
- y || m.push(b);
4643
- }, ge.prototype.removeEventListener = function(l, b) {
4644
- l = String(l);
4645
- var g = this._listeners, m = g[l];
4646
- if (m != null) {
4647
- for (var y = [], v = 0; v < m.length; v += 1)
4648
- m[v] !== b && y.push(m[v]);
4649
- y.length === 0 ? delete g[l] : g[l] = y;
4647
+ }, ye.prototype.addEventListener = function(u, b) {
4648
+ u = String(u);
4649
+ var g = this._listeners, p = g[u];
4650
+ p == null && (p = [], g[u] = p);
4651
+ for (var y = !1, v = 0; v < p.length; v += 1)
4652
+ p[v] === b && (y = !0);
4653
+ y || p.push(b);
4654
+ }, ye.prototype.removeEventListener = function(u, b) {
4655
+ u = String(u);
4656
+ var g = this._listeners, p = g[u];
4657
+ if (p != null) {
4658
+ for (var y = [], v = 0; v < p.length; v += 1)
4659
+ p[v] !== b && y.push(p[v]);
4660
+ y.length === 0 ? delete g[u] : g[u] = y;
4650
4661
  }
4651
4662
  };
4652
- function K(l) {
4653
- this.type = l, this.target = void 0;
4663
+ function de(u) {
4664
+ this.type = u, this.target = void 0;
4654
4665
  }
4655
- function ht(l, b) {
4656
- K.call(this, l), this.data = b.data, this.lastEventId = b.lastEventId;
4666
+ function ge(u, b) {
4667
+ de.call(this, u), this.data = b.data, this.lastEventId = b.lastEventId;
4657
4668
  }
4658
- ht.prototype = Object.create(K.prototype);
4659
- function Pe(l, b) {
4660
- K.call(this, l), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4669
+ ge.prototype = Object.create(de.prototype);
4670
+ function Ye(u, b) {
4671
+ de.call(this, u), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4661
4672
  }
4662
- Pe.prototype = Object.create(K.prototype);
4663
- function Ze(l, b) {
4664
- K.call(this, l), this.error = b.error;
4673
+ Ye.prototype = Object.create(de.prototype);
4674
+ function Re(u, b) {
4675
+ de.call(this, u), this.error = b.error;
4665
4676
  }
4666
- Ze.prototype = Object.create(K.prototype);
4667
- var Oe = -1, ie = 0, z = 1, de = 2, we = -1, $ = 0, Te = 1, Se = 2, ft = 3, pe = /^text\/event\-stream(;.*)?$/i, Je = 1e3, ct = 18e6, Qe = function(l, b) {
4668
- var g = l == null ? b : parseInt(l, 10);
4669
- return g !== g && (g = b), Ye(g);
4670
- }, Ye = function(l) {
4671
- return Math.min(Math.max(l, Je), ct);
4672
- }, ve = function(l, b, g) {
4677
+ Re.prototype = Object.create(de.prototype);
4678
+ var De = -1, he = 0, pe = 1, Z = 2, Ee = -1, ie = 0, oe = 1, Pe = 2, Oe = 3, ft = /^text\/event\-stream(;.*)?$/i, me = 1e3, Ke = 18e6, Fe = function(u, b) {
4679
+ var g = u == null ? b : parseInt(u, 10);
4680
+ return g !== g && (g = b), et(g);
4681
+ }, et = function(u) {
4682
+ return Math.min(Math.max(u, me), Ke);
4683
+ }, Te = function(u, b, g) {
4673
4684
  try {
4674
- typeof b == "function" && b.call(l, g);
4675
- } catch (m) {
4676
- Be(m);
4685
+ typeof b == "function" && b.call(u, g);
4686
+ } catch (p) {
4687
+ Me(p);
4677
4688
  }
4678
4689
  };
4679
- function oe(l, b) {
4680
- ge.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Lt(this, l, b);
4690
+ function re(u, b) {
4691
+ ye.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Lt(this, u, b);
4681
4692
  }
4682
- function Ke() {
4693
+ function It() {
4683
4694
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4684
4695
  }
4685
- var It = d != null && p != null && "body" in p.prototype;
4686
- function Lt(l, b, g) {
4696
+ var tt = d != null && m != null && "body" in m.prototype;
4697
+ function Lt(u, b, g) {
4687
4698
  b = String(b);
4688
- var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Ye(1e3), w = Qe(g.heartbeatTimeout, 45e3), L = "", T = v, B = !1, O = 0, u = g.headers || {}, _ = g.Transport, C = It && _ == null ? void 0 : new j(_ != null ? new _() : Ke()), D = _ != null && typeof _ != "string" ? new _() : C == null ? new Re() : new me(), W = void 0, U = 0, se = Oe, Ce = "", ee = "", ye = "", dt = "", Z = $, Nt = 0, Ie = 0, wn = function(k, G, ae, ue) {
4689
- if (se === ie)
4690
- if (k === 200 && ae != null && pe.test(ae)) {
4691
- se = z, B = Date.now(), T = v, l.readyState = z;
4692
- var J = new Pe("open", {
4693
- status: k,
4694
- statusText: G,
4695
- headers: ue
4699
+ var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = et(1e3), w = Fe(g.heartbeatTimeout, 45e3), N = "", T = v, B = !1, I = 0, E = g.headers || {}, h = g.Transport, P = tt && h == null ? void 0 : new $(h != null ? new h() : It()), D = h != null && typeof h != "string" ? new h() : P == null ? new Ne() : new be(), O = void 0, k = 0, W = De, Se = "", rt = "", G = "", dt = "", J = ie, Nt = 0, Ce = 0, wn = function(V, j, se, ae) {
4700
+ if (W === he)
4701
+ if (V === 200 && se != null && ft.test(se)) {
4702
+ W = pe, B = Date.now(), T = v, u.readyState = pe;
4703
+ var Q = new Ye("open", {
4704
+ status: V,
4705
+ statusText: j,
4706
+ headers: ae
4696
4707
  });
4697
- l.dispatchEvent(J), ve(l, l.onopen, J);
4708
+ u.dispatchEvent(Q), Te(u, u.onopen, Q);
4698
4709
  } else {
4699
- var V = "";
4700
- k !== 200 ? (G && (G = G.replace(/\s+/g, " ")), V = "EventSource's response has a status " + k + " " + G + " that is not 200. Aborting the connection.") : V = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4701
- var J = new Pe("error", {
4702
- status: k,
4703
- statusText: G,
4704
- headers: ue
4710
+ var z = "";
4711
+ V !== 200 ? (j && (j = j.replace(/\s+/g, " ")), z = "EventSource's response has a status " + V + " " + j + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4712
+ var Q = new Ye("error", {
4713
+ status: V,
4714
+ statusText: j,
4715
+ headers: ae
4705
4716
  });
4706
- l.dispatchEvent(J), ve(l, l.onerror, J), console.error(V);
4717
+ u.dispatchEvent(Q), Te(u, u.onerror, Q), console.error(z);
4707
4718
  }
4708
- }, Tn = function(k) {
4709
- if (se === z) {
4710
- for (var G = -1, ae = 0; ae < k.length; ae += 1) {
4711
- var ue = k.charCodeAt(ae);
4712
- (ue === 10 || ue === 13) && (G = ae);
4719
+ }, Tn = function(V) {
4720
+ if (W === pe) {
4721
+ for (var j = -1, se = 0; se < V.length; se += 1) {
4722
+ var ae = V.charCodeAt(se);
4723
+ (ae === 10 || ae === 13) && (j = se);
4713
4724
  }
4714
- var J = (G !== -1 ? dt : "") + k.slice(0, G + 1);
4715
- dt = (G === -1 ? dt : "") + k.slice(G + 1), k !== "" && (B = Date.now(), O += k.length);
4716
- for (var V = 0; V < J.length; V += 1) {
4717
- var ue = J.charCodeAt(V);
4718
- if (Z === we && ue === 10)
4719
- Z = $;
4720
- else if (Z === we && (Z = $), ue === 13 || ue === 10) {
4721
- if (Z !== $) {
4722
- Z === Te && (Ie = V + 1);
4723
- var _e = J.slice(Nt, Ie - 1), Ee = J.slice(Ie + (Ie < V && J.charCodeAt(Ie) === 32 ? 1 : 0), V);
4724
- _e === "data" ? (Ce += `
4725
- `, Ce += Ee) : _e === "id" ? ee = Ee : _e === "event" ? ye = Ee : _e === "retry" ? (v = Qe(Ee, v), T = v) : _e === "heartbeatTimeout" && (w = Qe(Ee, w), U !== 0 && (i(U), U = n(function() {
4726
- tt();
4725
+ var Q = (j !== -1 ? dt : "") + V.slice(0, j + 1);
4726
+ dt = (j === -1 ? dt : "") + V.slice(j + 1), V !== "" && (B = Date.now(), I += V.length);
4727
+ for (var z = 0; z < Q.length; z += 1) {
4728
+ var ae = Q.charCodeAt(z);
4729
+ if (J === Ee && ae === 10)
4730
+ J = ie;
4731
+ else if (J === Ee && (J = ie), ae === 13 || ae === 10) {
4732
+ if (J !== ie) {
4733
+ J === oe && (Ce = z + 1);
4734
+ var _e = Q.slice(Nt, Ce - 1), xe = Q.slice(Ce + (Ce < z && Q.charCodeAt(Ce) === 32 ? 1 : 0), z);
4735
+ _e === "data" ? (Se += `
4736
+ `, Se += xe) : _e === "id" ? rt = xe : _e === "event" ? G = xe : _e === "retry" ? (v = Fe(xe, v), T = v) : _e === "heartbeatTimeout" && (w = Fe(xe, w), k !== 0 && (i(k), k = n(function() {
4737
+ nt();
4727
4738
  }, w)));
4728
4739
  }
4729
- if (Z === $) {
4730
- if (Ce !== "") {
4731
- L = ee, ye === "" && (ye = "message");
4732
- var De = new ht(ye, {
4733
- data: Ce.slice(1),
4734
- lastEventId: ee
4740
+ if (J === ie) {
4741
+ if (Se !== "") {
4742
+ N = rt, G === "" && (G = "message");
4743
+ var Ue = new ge(G, {
4744
+ data: Se.slice(1),
4745
+ lastEventId: rt
4735
4746
  });
4736
- if (l.dispatchEvent(De), ye === "open" ? ve(l, l.onopen, De) : ye === "message" ? ve(l, l.onmessage, De) : ye === "error" && ve(l, l.onerror, De), se === de)
4747
+ if (u.dispatchEvent(Ue), G === "open" ? Te(u, u.onopen, Ue) : G === "message" ? Te(u, u.onmessage, Ue) : G === "error" && Te(u, u.onerror, Ue), W === Z)
4737
4748
  return;
4738
4749
  }
4739
- Ce = "", ye = "";
4750
+ Se = "", G = "";
4740
4751
  }
4741
- Z = ue === 13 ? we : $;
4752
+ J = ae === 13 ? Ee : ie;
4742
4753
  } else
4743
- Z === $ && (Nt = V, Z = Te), Z === Te ? ue === 58 && (Ie = V + 1, Z = Se) : Z === Se && (Z = ft);
4754
+ J === ie && (Nt = z, J = oe), J === oe ? ae === 58 && (Ce = z + 1, J = Pe) : J === Pe && (J = Oe);
4744
4755
  }
4745
4756
  }
4746
- }, pr = function(k) {
4747
- if (se === z || se === ie) {
4748
- se = Oe, U !== 0 && (i(U), U = 0), U = n(function() {
4749
- tt();
4750
- }, T), T = Ye(Math.min(v * 16, T * 2)), l.readyState = ie;
4751
- var G = new Ze("error", { error: k });
4752
- l.dispatchEvent(G), ve(l, l.onerror, G), k != null && console.error(k);
4757
+ }, pr = function(V) {
4758
+ if (W === pe || W === he) {
4759
+ W = De, k !== 0 && (i(k), k = 0), k = n(function() {
4760
+ nt();
4761
+ }, T), T = et(Math.min(v * 16, T * 2)), u.readyState = he;
4762
+ var j = new Re("error", { error: V });
4763
+ u.dispatchEvent(j), Te(u, u.onerror, j), V != null && console.error(V);
4753
4764
  }
4754
4765
  }, Mt = function() {
4755
- se = de, W != null && (W.abort(), W = void 0), U !== 0 && (i(U), U = 0), l.readyState = de;
4756
- }, tt = function() {
4757
- if (U = 0, se !== Oe) {
4758
- if (!B && W != null)
4759
- pr(new Error("No activity within " + w + " milliseconds. " + (se === ie ? "No response received." : O + " chars received.") + " Reconnecting.")), W != null && (W.abort(), W = void 0);
4766
+ W = Z, O != null && (O.abort(), O = void 0), k !== 0 && (i(k), k = 0), u.readyState = Z;
4767
+ }, nt = function() {
4768
+ if (k = 0, W !== De) {
4769
+ if (!B && O != null)
4770
+ pr(new Error("No activity within " + w + " milliseconds. " + (W === he ? "No response received." : I + " chars received.") + " Reconnecting.")), O != null && (O.abort(), O = void 0);
4760
4771
  else {
4761
- var k = Math.max((B || Date.now()) + w - Date.now(), 1);
4762
- B = !1, U = n(function() {
4763
- tt();
4764
- }, k);
4772
+ var V = Math.max((B || Date.now()) + w - Date.now(), 1);
4773
+ B = !1, k = n(function() {
4774
+ nt();
4775
+ }, V);
4765
4776
  }
4766
4777
  return;
4767
4778
  }
4768
- B = !1, O = 0, U = n(function() {
4769
- tt();
4770
- }, w), se = ie, Ce = "", ye = "", ee = L, dt = "", Nt = 0, Ie = 0, Z = $;
4771
- var G = b;
4772
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && L !== "") {
4773
- var ae = b.indexOf("?");
4774
- G = ae === -1 ? b : b.slice(0, ae + 1) + b.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ee, De) {
4775
- return De === y ? "" : Ee;
4776
- }), G += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(L);
4779
+ B = !1, I = 0, k = n(function() {
4780
+ nt();
4781
+ }, w), W = he, Se = "", G = "", rt = N, dt = "", Nt = 0, Ce = 0, J = ie;
4782
+ var j = b;
4783
+ if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && N !== "") {
4784
+ var se = b.indexOf("?");
4785
+ j = se === -1 ? b : b.slice(0, se + 1) + b.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ue) {
4786
+ return Ue === y ? "" : xe;
4787
+ }), j += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(N);
4777
4788
  }
4778
- var ue = l.withCredentials, J = {};
4779
- J.Accept = "text/event-stream";
4780
- var V = l.headers;
4781
- if (V != null)
4782
- for (var _e in V)
4783
- Object.prototype.hasOwnProperty.call(V, _e) && (J[_e] = V[_e]);
4789
+ var ae = u.withCredentials, Q = {};
4790
+ Q.Accept = "text/event-stream";
4791
+ var z = u.headers;
4792
+ if (z != null)
4793
+ for (var _e in z)
4794
+ Object.prototype.hasOwnProperty.call(z, _e) && (Q[_e] = z[_e]);
4784
4795
  try {
4785
- W = D.open(C, wn, Tn, pr, G, ue, J);
4786
- } catch (Ee) {
4787
- throw Mt(), Ee;
4796
+ O = D.open(P, wn, Tn, pr, j, ae, Q);
4797
+ } catch (xe) {
4798
+ throw Mt(), xe;
4788
4799
  }
4789
4800
  };
4790
- l.url = b, l.readyState = ie, l.withCredentials = m, l.headers = u, l._close = Mt, tt();
4801
+ u.url = b, u.readyState = he, u.withCredentials = p, u.headers = E, u._close = Mt, nt();
4791
4802
  }
4792
- oe.prototype = Object.create(ge.prototype), oe.prototype.CONNECTING = ie, oe.prototype.OPEN = z, oe.prototype.CLOSED = de, oe.prototype.close = function() {
4803
+ re.prototype = Object.create(ye.prototype), re.prototype.CONNECTING = he, re.prototype.OPEN = pe, re.prototype.CLOSED = Z, re.prototype.close = function() {
4793
4804
  this._close();
4794
- }, oe.CONNECTING = ie, oe.OPEN = z, oe.CLOSED = de, oe.prototype.withCredentials = void 0;
4795
- var et = f;
4796
- o != null && (f == null || !("withCredentials" in f.prototype)) && (et = oe), function(l) {
4805
+ }, re.CONNECTING = he, re.OPEN = pe, re.CLOSED = Z, re.prototype.withCredentials = void 0;
4806
+ var ct = f;
4807
+ o != null && (f == null || !("withCredentials" in f.prototype)) && (ct = re), function(u) {
4797
4808
  {
4798
- var b = l(t);
4809
+ var b = u(t);
4799
4810
  b !== void 0 && (e.exports = b);
4800
4811
  }
4801
- }(function(l) {
4802
- l.EventSourcePolyfill = oe, l.NativeEventSource = f, l.EventSource = et;
4812
+ }(function(u) {
4813
+ u.EventSourcePolyfill = re, u.NativeEventSource = f, u.EventSource = ct;
4803
4814
  });
4804
4815
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : hi : globalThis);
4805
4816
  })(fr, fr.exports);
@@ -4839,7 +4850,7 @@ if (typeof window < "u") {
4839
4850
  }
4840
4851
  };
4841
4852
  };
4842
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-ilcB4XKI.js").then(({ default: t }) => {
4853
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-BdZtyVyv.js").then(({ default: t }) => {
4843
4854
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4844
4855
  });
4845
4856
  }
@@ -4855,7 +4866,7 @@ if (typeof window < "u") {
4855
4866
  }
4856
4867
  };
4857
4868
  };
4858
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-H6H6XAXQ.js").then(({ default: t }) => {
4869
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-JsUoJiKi.js").then(({ default: t }) => {
4859
4870
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4860
4871
  });
4861
4872
  }
@@ -4866,60 +4877,60 @@ function os(e) {
4866
4877
  function ss(e) {
4867
4878
  let t, r, n, i, o, s, a = (
4868
4879
  /*filtersLoaded*/
4869
- e[20] && Gr(e)
4880
+ e[21] && Gr(e)
4870
4881
  );
4871
- function f(p, E) {
4882
+ function f(m, _) {
4872
4883
  return (
4873
4884
  /*tournamentsNumber*/
4874
- p[21] == 0 ? ls : us
4885
+ m[22] == 0 ? ls : us
4875
4886
  );
4876
4887
  }
4877
- let h = f(e), c = h(e), d = !/*allTournamentsShown*/
4878
- e[22] && jr(e);
4888
+ let l = f(e), c = l(e), d = !/*allTournamentsShown*/
4889
+ e[23] && jr(e);
4879
4890
  return {
4880
4891
  c() {
4881
- t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = Xt(), o = X("div"), c.c(), s = Xt(), d && d.c(), F(n, "class", "FirstRow"), F(n, "part", "FirstRow"), F(o, "class", "SecondRow"), F(o, "part", "SecondRow"), F(r, "class", "Tournaments"), F(r, "part", "Tournaments"), F(t, "class", "TournamentsWrapper"), F(t, "part", "TournamentsWrapper");
4892
+ t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = Xt(), o = X("div"), c.c(), s = Xt(), d && d.c(), U(n, "class", "FirstRow"), U(n, "part", "FirstRow"), U(o, "class", "SecondRow"), U(o, "part", "SecondRow"), U(r, "class", "Tournaments"), U(r, "part", "Tournaments"), U(t, "class", "TournamentsWrapper"), U(t, "part", "TournamentsWrapper");
4882
4893
  },
4883
- m(p, E) {
4884
- fe(p, t, E), te(t, r), te(r, n), a && a.m(n, null), te(r, i), te(r, o), c.m(o, null), te(r, s), d && d.m(r, null);
4894
+ m(m, _) {
4895
+ ue(m, t, _), K(t, r), K(r, n), a && a.m(n, null), K(r, i), K(r, o), c.m(o, null), K(r, s), d && d.m(r, null);
4885
4896
  },
4886
- p(p, E) {
4897
+ p(m, _) {
4887
4898
  /*filtersLoaded*/
4888
- p[20] ? a ? a.p(p, E) : (a = Gr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), h === (h = f(p)) && c ? c.p(p, E) : (c.d(1), c = h(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4889
- p[22] ? d && (d.d(1), d = null) : d ? d.p(p, E) : (d = jr(p), d.c(), d.m(r, null));
4899
+ m[21] ? a ? a.p(m, _) : (a = Gr(m), a.c(), a.m(n, null)) : a && (a.d(1), a = null), l === (l = f(m)) && c ? c.p(m, _) : (c.d(1), c = l(m), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4900
+ m[23] ? d && (d.d(1), d = null) : d ? d.p(m, _) : (d = jr(m), d.c(), d.m(r, null));
4890
4901
  },
4891
- d(p) {
4892
- p && re(t), a && a.d(), c.d(), d && d.d();
4902
+ d(m) {
4903
+ m && ee(t), a && a.d(), c.d(), d && d.d();
4893
4904
  }
4894
4905
  };
4895
4906
  }
4896
4907
  function as(e) {
4897
4908
  let t, r = (
4898
4909
  /*$_*/
4899
- e[23]("500") + ""
4910
+ e[24]("500") + ""
4900
4911
  ), n, i, o, s;
4901
4912
  return {
4902
4913
  c() {
4903
- t = X("p"), n = Le(r), i = Xt(), o = X("p"), s = Le(
4914
+ t = X("p"), n = He(r), i = Xt(), o = X("p"), s = He(
4904
4915
  /*error*/
4905
- e[18]
4916
+ e[19]
4906
4917
  );
4907
4918
  },
4908
4919
  m(a, f) {
4909
- fe(a, t, f), te(t, n), fe(a, i, f), fe(a, o, f), te(o, s);
4920
+ ue(a, t, f), K(t, n), ue(a, i, f), ue(a, o, f), K(o, s);
4910
4921
  },
4911
4922
  p(a, f) {
4912
4923
  f[0] & /*$_*/
4913
- 8388608 && r !== (r = /*$_*/
4914
- a[23]("500") + "") && it(n, r), f[0] & /*error*/
4915
- 262144 && it(
4924
+ 16777216 && r !== (r = /*$_*/
4925
+ a[24]("500") + "") && Ve(n, r), f[0] & /*error*/
4926
+ 524288 && Ve(
4916
4927
  s,
4917
4928
  /*error*/
4918
- a[18]
4929
+ a[19]
4919
4930
  );
4920
4931
  },
4921
4932
  d(a) {
4922
- a && (re(t), re(i), re(o));
4933
+ a && (ee(t), ee(i), ee(o));
4923
4934
  }
4924
4935
  };
4925
4936
  }
@@ -4947,7 +4958,7 @@ function Gr(e) {
4947
4958
  "mbsource",
4948
4959
  /*mbsource*/
4949
4960
  e[15]
4950
- ), x(t, "filters", ds), x(
4961
+ ), x(t, "filters", ps), x(
4951
4962
  t,
4952
4963
  "activefilters",
4953
4964
  /*filters*/
@@ -4955,7 +4966,7 @@ function Gr(e) {
4955
4966
  ), x(t, "exportparts", "FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem");
4956
4967
  },
4957
4968
  m(r, n) {
4958
- fe(r, t, n);
4969
+ ue(r, t, n);
4959
4970
  },
4960
4971
  p(r, n) {
4961
4972
  n[0] & /*clientstyling*/
@@ -4991,7 +5002,7 @@ function Gr(e) {
4991
5002
  );
4992
5003
  },
4993
5004
  d(r) {
4994
- r && re(t);
5005
+ r && ee(t);
4995
5006
  }
4996
5007
  };
4997
5008
  }
@@ -5080,7 +5091,7 @@ function us(e) {
5080
5091
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, TournamentList, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`);
5081
5092
  },
5082
5093
  m(r, n) {
5083
- fe(r, t, n);
5094
+ ue(r, t, n);
5084
5095
  },
5085
5096
  p(r, n) {
5086
5097
  n[0] & /*clientstyling*/
@@ -5176,7 +5187,7 @@ function us(e) {
5176
5187
  );
5177
5188
  },
5178
5189
  d(r) {
5179
- r && re(t);
5190
+ r && ee(t);
5180
5191
  }
5181
5192
  };
5182
5193
  }
@@ -5185,7 +5196,10 @@ function ls(e) {
5185
5196
  function r(o, s) {
5186
5197
  return (
5187
5198
  /*isLoading*/
5188
- o[19] ? fs : hs
5199
+ o[20] ? cs : (
5200
+ /*hasFetchErrors*/
5201
+ o[18] ? fs : hs
5202
+ )
5189
5203
  );
5190
5204
  }
5191
5205
  let n = r(e), i = n(e);
@@ -5194,88 +5208,110 @@ function ls(e) {
5194
5208
  i.c(), t = On();
5195
5209
  },
5196
5210
  m(o, s) {
5197
- i.m(o, s), fe(o, t, s);
5211
+ i.m(o, s), ue(o, t, s);
5198
5212
  },
5199
5213
  p(o, s) {
5200
5214
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5201
5215
  },
5202
5216
  d(o) {
5203
- o && re(t), i.d(o);
5217
+ o && ee(t), i.d(o);
5204
5218
  }
5205
5219
  };
5206
5220
  }
5207
5221
  function hs(e) {
5208
5222
  let t, r = (
5209
5223
  /*$_*/
5210
- e[23]("noTournaments") + ""
5224
+ e[24]("noTournaments") + ""
5211
5225
  ), n;
5212
5226
  return {
5213
5227
  c() {
5214
- t = X("p"), n = Le(r), F(t, "class", "NoTournaments"), F(t, "part", "NoTournaments");
5228
+ t = X("p"), n = He(r), U(t, "class", "NoTournaments"), U(t, "part", "NoTournaments");
5215
5229
  },
5216
5230
  m(i, o) {
5217
- fe(i, t, o), te(t, n);
5231
+ ue(i, t, o), K(t, n);
5218
5232
  },
5219
5233
  p(i, o) {
5220
5234
  o[0] & /*$_*/
5221
- 8388608 && r !== (r = /*$_*/
5222
- i[23]("noTournaments") + "") && it(n, r);
5235
+ 16777216 && r !== (r = /*$_*/
5236
+ i[24]("noTournaments") + "") && Ve(n, r);
5223
5237
  },
5224
5238
  d(i) {
5225
- i && re(t);
5239
+ i && ee(t);
5226
5240
  }
5227
5241
  };
5228
5242
  }
5229
5243
  function fs(e) {
5230
5244
  let t, r = (
5231
5245
  /*$_*/
5232
- e[23]("loading") + ""
5246
+ e[24]("fetchError") + ""
5233
5247
  ), n;
5234
5248
  return {
5235
5249
  c() {
5236
- t = X("p"), n = Le(r), F(t, "class", "LoadingMessage"), F(t, "part", "LoadingMessage");
5250
+ t = X("p"), n = He(r), U(t, "class", "FetchErrorMessage");
5237
5251
  },
5238
5252
  m(i, o) {
5239
- fe(i, t, o), te(t, n);
5253
+ ue(i, t, o), K(t, n);
5240
5254
  },
5241
5255
  p(i, o) {
5242
5256
  o[0] & /*$_*/
5243
- 8388608 && r !== (r = /*$_*/
5244
- i[23]("loading") + "") && it(n, r);
5257
+ 16777216 && r !== (r = /*$_*/
5258
+ i[24]("fetchError") + "") && Ve(n, r);
5245
5259
  },
5246
5260
  d(i) {
5247
- i && re(t);
5261
+ i && ee(t);
5262
+ }
5263
+ };
5264
+ }
5265
+ function cs(e) {
5266
+ let t, r = (
5267
+ /*$_*/
5268
+ e[24]("loading") + ""
5269
+ ), n;
5270
+ return {
5271
+ c() {
5272
+ t = X("p"), n = He(r), U(t, "class", "LoadingMessage"), U(t, "part", "LoadingMessage");
5273
+ },
5274
+ m(i, o) {
5275
+ ue(i, t, o), K(t, n);
5276
+ },
5277
+ p(i, o) {
5278
+ o[0] & /*$_*/
5279
+ 16777216 && r !== (r = /*$_*/
5280
+ i[24]("loading") + "") && Ve(n, r);
5281
+ },
5282
+ d(i) {
5283
+ i && ee(t);
5248
5284
  }
5249
5285
  };
5250
5286
  }
5251
5287
  function jr(e) {
5252
5288
  let t, r, n, i = (
5253
5289
  /*$_*/
5254
- e[23]("showMore") + ""
5290
+ e[24]("showMore") + ""
5255
5291
  ), o, s, a;
5256
5292
  return {
5257
5293
  c() {
5258
- t = X("div"), r = X("div"), n = X("button"), o = Le(i), F(n, "class", "ShowMoreButton"), F(n, "part", "ShowMoreButton"), F(n, "title", "Show More"), F(r, "class", "CenterButton"), F(r, "part", "CenterButton"), F(t, "class", "ThirdRow"), F(t, "part", "ThirdRow");
5294
+ t = X("div"), r = X("div"), n = X("button"), o = He(i), U(n, "class", "ShowMoreButton"), U(n, "part", "ShowMoreButton"), U(n, "title", "Show More"), U(r, "class", "CenterButton"), U(r, "part", "CenterButton"), U(t, "class", "ThirdRow"), U(t, "part", "ThirdRow");
5259
5295
  },
5260
- m(f, h) {
5261
- fe(f, t, h), te(t, r), te(r, n), te(n, o), s || (a = zt(
5296
+ m(f, l) {
5297
+ ue(f, t, l), K(t, r), K(r, n), K(n, o), s || (a = zt(
5262
5298
  n,
5263
5299
  "click",
5264
5300
  /*click_handler*/
5265
- e[33]
5301
+ e[34]
5266
5302
  ), s = !0);
5267
5303
  },
5268
- p(f, h) {
5269
- h[0] & /*$_*/
5270
- 8388608 && i !== (i = /*$_*/
5271
- f[23]("showMore") + "") && it(o, i);
5304
+ p(f, l) {
5305
+ l[0] & /*$_*/
5306
+ 16777216 && i !== (i = /*$_*/
5307
+ f[24]("showMore") + "") && Ve(o, i);
5272
5308
  },
5273
5309
  d(f) {
5274
- f && re(t), s = !1, a();
5310
+ f && ee(t), s = !1, a();
5275
5311
  }
5276
5312
  };
5277
5313
  }
5278
- function cs(e) {
5314
+ function ds(e) {
5279
5315
  let t;
5280
5316
  function r(o, s) {
5281
5317
  return (
@@ -5289,221 +5325,220 @@ function cs(e) {
5289
5325
  t = X("div"), i.c();
5290
5326
  },
5291
5327
  m(o, s) {
5292
- fe(o, t, s), i.m(t, null), e[34](t);
5328
+ ue(o, t, s), i.m(t, null), e[35](t);
5293
5329
  },
5294
5330
  p(o, s) {
5295
5331
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
5296
5332
  },
5297
- i: he,
5298
- o: he,
5333
+ i: fe,
5334
+ o: fe,
5299
5335
  d(o) {
5300
- o && re(t), i.d(), e[34](null);
5336
+ o && ee(t), i.d(), e[35](null);
5301
5337
  }
5302
5338
  };
5303
5339
  }
5304
- let ds = "All,Scheduled,Ongoing,Finished";
5305
- function ps(e, t, r) {
5340
+ let ps = "All,Scheduled,Ongoing,Finished";
5341
+ function ms(e, t, r) {
5306
5342
  let n;
5307
- An(e, Yo, (u) => r(23, n = u));
5308
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: h = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: E = "" } = t, { loginurl: P = "" } = t, { registerurl: H = "" } = t, { currency: Y = "EUR" } = t, { keepbrowsercontext: ce = "false" } = t, { sorttype: ne = "" } = t, { sortorder: I = "" } = t, { starttimeafter: j = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: me = "" } = t, { delaybeforeload: Me = 1e3 } = t, Re = !1, ge = "", Be = !1, K = "", ht = window.navigator.userAgent, Pe = !0, Ze = !1, Oe = !1, { mbsource: ie } = t, z, de = 0, we = !1, $ = 6, Te = !0, Se = [], ft, pe, Je = !1, ct;
5343
+ An(e, Yo, (h) => r(24, n = h));
5344
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: l = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: C = "" } = t, { registerurl: H = "" } = t, { currency: te = "EUR" } = t, { keepbrowsercontext: ce = "false" } = t, { sorttype: ne = "" } = t, { sortorder: L = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: be = "" } = t, { delaybeforeload: Le = 1e3 } = t, Ne = !1, ye = !1, Me = "", de = !1, ge = "", Ye = window.navigator.userAgent, Re = !0, De = !1, he = !1, { mbsource: pe } = t, Z, Ee = 0, ie = !1, oe = 6, Pe = !0, Oe = [], ft, me, Ke = !1, Fe;
5309
5345
  es({ withLocale: "en", translations: {} });
5310
- const Qe = () => {
5311
- fetch(f).then((_) => _.json()).then((_) => {
5312
- ct = _, Object.keys(_).forEach((C) => {
5313
- Vt(C, _[C]);
5346
+ const et = () => {
5347
+ fetch(f).then((P) => P.json()).then((P) => {
5348
+ Fe = P, Object.keys(P).forEach((D) => {
5349
+ Vt(D, P[D]);
5314
5350
  });
5315
- }).catch((_) => {
5316
- console.log(_);
5351
+ }).catch((P) => {
5352
+ console.log(P);
5317
5353
  });
5318
- }, Ye = (u) => {
5319
- u && Object.keys(u).forEach((_) => {
5320
- Vt(_, u[_]);
5354
+ }, Te = (h) => {
5355
+ h && Object.keys(h).forEach((P) => {
5356
+ Vt(P, h[P]);
5321
5357
  });
5322
5358
  };
5323
- Object.keys(Fr).forEach((u) => {
5324
- Vt(u, Fr[u]);
5359
+ Object.keys(Fr).forEach((h) => {
5360
+ Vt(h, Fr[h]);
5325
5361
  });
5326
- const ve = (u) => {
5327
- u.data && u.data.type === "UserSessionID" && (Be = !0, r(31, K = u.data.session), u.data.userid, Ke(s, 0, $)), u.data && u.data.type === "TournamentsFiltersSelected" && (Se = u.data.filters, Ke(s, 0, $)), u.data && u.data.type === "TournamentThumbnailMounted" && Ye(ct);
5328
- }, oe = (u) => u == "Scheduled" ? "Unstarted" : u == "Ongoing" ? "Running" : "Closing|Closed", Ke = async (u, _, C) => {
5329
- r(19, Pe = !0), r(21, de = 0);
5330
- const D = await et(u, _, C);
5331
- setTimeout(
5332
- () => {
5333
- window.postMessage(
5334
- {
5335
- type: "TournamentList",
5336
- tournamentList: D.items
5337
- },
5338
- window.location.href
5339
- );
5340
- },
5362
+ const re = (h) => {
5363
+ h.data && h.data.type === "UserSessionID" && (de = !0, r(32, ge = h.data.session), h.data.userid, tt(s, 0, oe)), h.data && h.data.type === "TournamentsFiltersSelected" && (Oe = h.data.filters, tt(s, 0, oe)), h.data && h.data.type === "TournamentThumbnailMounted" && Te(Fe);
5364
+ }, It = (h) => h == "Scheduled" ? "Unstarted" : h == "Ongoing" ? "Running" : "Closing|Closed", tt = async (h, P, D) => {
5365
+ r(20, Re = !0), r(22, Ee = 0);
5366
+ const O = await u(h, P, D);
5367
+ O === null ? r(18, ye = !0) : setTimeout(
5368
+ () => window.postMessage(
5369
+ {
5370
+ type: "TournamentList",
5371
+ tournamentList: O.items
5372
+ },
5373
+ window.location.href
5374
+ ),
5341
5375
  50
5342
- ), r(19, Pe = !1);
5343
- }, It = async (u, _, C) => {
5344
- const D = await et(u, _, C);
5345
- window.postMessage(
5376
+ ), r(20, Re = !1);
5377
+ }, Lt = async (h, P, D) => {
5378
+ const O = await u(h, P, D);
5379
+ O === null ? r(18, ye = !0) : window.postMessage(
5346
5380
  {
5347
5381
  type: "TournamentListShowMore",
5348
- tournamentList: D.items
5382
+ tournamentList: O.items
5349
5383
  },
5350
5384
  window.location.href
5351
5385
  );
5352
- }, Lt = () => {
5353
- const u = /* @__PURE__ */ new Date();
5354
- return j ? u.setDate(u.getDate() - Number(j)) : u.setMonth(u.getMonth() - 1), u.toISOString().substring(0, 10);
5355
- }, et = async (u, _, C) => {
5356
- let D = new URL(`${u}/v1/tournaments`), W = new Headers();
5357
- D.searchParams.append("pagination", `offset=${_},limit=${C}`), D.searchParams.append("sortField", "StartTime"), D.searchParams.append("sortOrder", I || "desc"), D.searchParams.append("language", a);
5358
- const U = { StartTimeAfter: Lt() };
5359
- !Ur(i) && q === "false" && (U.tags = "no-role-set"), Se.length > 0 && Se[0] != "All" && (U.state = Se.map((ee) => oe(ee)).join("|"));
5360
- const se = Object.keys(U).map((ee) => `${ee}=${U[ee]}`).join(",");
5361
- return D.searchParams.append("filter", se), D.searchParams.append("platform", Ko(ht)), ne && D.searchParams.append("sortType", ne), Be && W.append("X-SessionID", K), fetch(D, {
5386
+ }, ct = () => {
5387
+ const h = /* @__PURE__ */ new Date();
5388
+ return $ ? h.setDate(h.getDate() - Number($)) : h.setMonth(h.getMonth() - 1), h.toISOString().substring(0, 10);
5389
+ }, u = async (h, P, D) => {
5390
+ const O = new URL(`${h}/v1/tournaments`), k = new Headers();
5391
+ O.searchParams.append("pagination", `offset=${P},limit=${D}`), O.searchParams.append("sortField", "StartTime"), O.searchParams.append("sortOrder", L || "desc"), O.searchParams.append("language", a), O.searchParams.append("platform", Ko(Ye));
5392
+ const W = { StartTimeAfter: ct() };
5393
+ !Ur(i) && q === "false" && (W.tags = "no-role-set"), Oe.length > 0 && Oe[0] != "All" && (W.state = Oe.map((G) => It(G)).join("|"));
5394
+ const Se = Object.keys(W).map((G) => `${G}=${W[G]}`).join(",");
5395
+ return O.searchParams.append("filter", Se), ne && O.searchParams.append("sortType", ne), de && k.append("X-SessionID", ge), fetch(O, {
5362
5396
  method: "GET",
5363
- headers: W,
5397
+ headers: k,
5364
5398
  cache: "no-cache"
5365
- }).then((ee) => ee.json()).then((ee) => (ft = D.searchParams.toString(), r(21, de = ee.total), $ >= de ? r(22, Te = !0) : r(22, Te = !1), Oe || b(), ee));
5366
- }, l = (u) => {
5367
- if (u.type != "message")
5399
+ }).then((G) => G.ok ? G.json() : null).then((G) => G === null ? null : (ft = O.searchParams.toString(), r(22, Ee = G.total), oe >= Ee ? r(23, Pe = !0) : r(23, Pe = !1), he || g(), G));
5400
+ }, b = (h) => {
5401
+ if (h.type != "message")
5368
5402
  return;
5369
- let _ = u.data;
5370
- if (_)
5403
+ let P = h.data;
5404
+ if (P)
5371
5405
  try {
5372
- let C = JSON.parse(_);
5373
- if (!C || !C.item)
5406
+ let D = JSON.parse(P);
5407
+ if (!D || !D.item)
5374
5408
  return;
5375
- let D = C.item;
5376
- C.messageType == "TournamentUpdate" && window.postMessage(
5409
+ let O = D.item;
5410
+ D.messageType == "TournamentUpdate" && window.postMessage(
5377
5411
  {
5378
5412
  type: "UpdateTournamentView",
5379
- tournamentData: D
5413
+ tournamentData: O
5380
5414
  },
5381
5415
  window.location.href
5382
- ), C.messageType == "TournamentRemove" && window.postMessage(
5416
+ ), D.messageType == "TournamentRemove" && window.postMessage(
5383
5417
  {
5384
5418
  type: "TournamentList",
5385
- tournamentList: C.items
5419
+ tournamentList: D.items
5386
5420
  },
5387
5421
  window.location.href
5388
5422
  );
5389
- } catch (C) {
5390
- console.error(C);
5423
+ } catch (D) {
5424
+ console.error(D);
5391
5425
  }
5392
- }, b = () => {
5393
- Oe = !0, setTimeout(
5426
+ }, g = () => {
5427
+ he = !0, setTimeout(
5394
5428
  () => {
5395
- Oe = !1;
5429
+ he = !1;
5396
5430
  },
5397
5431
  1e3
5398
- ), pe && (pe.removeEventListener("message", l), pe.close());
5399
- let u = `${s}/v1/tournaments/updates?${ft}`;
5400
- pe = new ts.EventSourcePolyfill(
5401
- u,
5432
+ ), me && (me.removeEventListener("message", b), me.close());
5433
+ let h = `${s}/v1/tournaments/updates?${ft}`;
5434
+ me = new ts.EventSourcePolyfill(
5435
+ h,
5402
5436
  {
5403
5437
  headers: {
5404
5438
  accept: "text/event-stream",
5405
5439
  "X-SessionId": i
5406
5440
  }
5407
5441
  }
5408
- ), typeof pe < "u" && pe.addEventListener("message", l);
5409
- }, g = async () => {
5410
- let u = $;
5411
- const _ = parseInt(c, 10);
5412
- $ += _, window.postMessage(
5442
+ ), typeof me < "u" && me.addEventListener("message", b);
5443
+ }, p = async () => {
5444
+ let h = oe;
5445
+ const P = parseInt(c, 10);
5446
+ oe += P, window.postMessage(
5413
5447
  {
5414
5448
  type: "TournamentsPagination",
5415
5449
  offset: 0,
5416
- limit: $
5450
+ limit: oe
5417
5451
  },
5418
5452
  window.location.href
5419
- ), await It(s, u, _), $ >= de && r(22, Te = !0);
5420
- }, m = () => (s || (r(18, ge = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Re = !0), console.error(ge)), Re), y = () => {
5421
- if (!we)
5453
+ ), await Lt(s, h, P), oe >= Ee && r(23, Pe = !0);
5454
+ }, y = () => (s || (r(19, Me = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Ne = !0), console.error(Me)), Ne), v = () => {
5455
+ if (!ie)
5422
5456
  return !1;
5423
- m() || ($ = parseInt(h, 10), Dr(a), Ke(s, 0, $));
5424
- }, v = () => {
5425
- Dr(a);
5457
+ y() || (oe = parseInt(l, 10), Dr(a), tt(s, 0, oe));
5426
5458
  }, w = () => {
5427
- Se = d.split(","), r(20, Ze = !0);
5428
- }, L = () => {
5429
- Ur(i) ? (Be = !0, r(31, K = i)) : (Be = !1, r(31, K = ""));
5430
- }, T = async () => {
5431
- Je || (Je = !0, await y(), Je = !1);
5459
+ Dr(a);
5460
+ }, N = () => {
5461
+ Oe = d.split(","), r(21, De = !0);
5462
+ }, T = () => {
5463
+ Ur(i) ? (de = !0, r(32, ge = i)) : (de = !1, r(32, ge = ""));
5464
+ }, B = async () => {
5465
+ Ke || (Ke = !0, await v(), Ke = !1);
5432
5466
  };
5433
5467
  Mn(() => (setTimeout(
5434
5468
  () => {
5435
- r(32, we = !0);
5469
+ r(33, ie = !0);
5436
5470
  },
5437
- Me
5438
- ), window.addEventListener("message", ve, !1), () => {
5439
- window.removeEventListener("message", ve), pe && (pe.removeEventListener("message", l), pe.close());
5471
+ Le
5472
+ ), window.addEventListener("message", re, !1), () => {
5473
+ window.removeEventListener("message", re), me && (me.removeEventListener("message", b), me.close());
5440
5474
  }));
5441
- const B = () => g();
5442
- function O(u) {
5443
- Wt[u ? "unshift" : "push"](() => {
5444
- z = u, r(16, z);
5475
+ const I = () => p();
5476
+ function E(h) {
5477
+ Wt[h ? "unshift" : "push"](() => {
5478
+ Z = h, r(16, Z);
5445
5479
  });
5446
5480
  }
5447
- return e.$$set = (u) => {
5448
- "session" in u && r(0, i = u.session), "userid" in u && r(1, o = u.userid), "endpoint" in u && r(2, s = u.endpoint), "lang" in u && r(3, a = u.lang), "translationurl" in u && r(4, f = u.translationurl), "numberoftournaments" in u && r(5, h = u.numberoftournaments), "showmorestep" in u && r(25, c = u.showmorestep), "filters" in u && r(6, d = u.filters), "loginevent" in u && r(7, p = u.loginevent), "registerevent" in u && r(8, E = u.registerevent), "loginurl" in u && r(9, P = u.loginurl), "registerurl" in u && r(10, H = u.registerurl), "currency" in u && r(11, Y = u.currency), "keepbrowsercontext" in u && r(12, ce = u.keepbrowsercontext), "sorttype" in u && r(26, ne = u.sorttype), "sortorder" in u && r(27, I = u.sortorder), "starttimeafter" in u && r(28, j = u.starttimeafter), "showanonymoustournaments" in u && r(29, q = u.showanonymoustournaments), "clientstyling" in u && r(13, le = u.clientstyling), "clientstylingurl" in u && r(14, me = u.clientstylingurl), "delaybeforeload" in u && r(30, Me = u.delaybeforeload), "mbsource" in u && r(15, ie = u.mbsource);
5481
+ return e.$$set = (h) => {
5482
+ "session" in h && r(0, i = h.session), "userid" in h && r(1, o = h.userid), "endpoint" in h && r(2, s = h.endpoint), "lang" in h && r(3, a = h.lang), "translationurl" in h && r(4, f = h.translationurl), "numberoftournaments" in h && r(5, l = h.numberoftournaments), "showmorestep" in h && r(26, c = h.showmorestep), "filters" in h && r(6, d = h.filters), "loginevent" in h && r(7, m = h.loginevent), "registerevent" in h && r(8, _ = h.registerevent), "loginurl" in h && r(9, C = h.loginurl), "registerurl" in h && r(10, H = h.registerurl), "currency" in h && r(11, te = h.currency), "keepbrowsercontext" in h && r(12, ce = h.keepbrowsercontext), "sorttype" in h && r(27, ne = h.sorttype), "sortorder" in h && r(28, L = h.sortorder), "starttimeafter" in h && r(29, $ = h.starttimeafter), "showanonymoustournaments" in h && r(30, q = h.showanonymoustournaments), "clientstyling" in h && r(13, le = h.clientstyling), "clientstylingurl" in h && r(14, be = h.clientstylingurl), "delaybeforeload" in h && r(31, Le = h.delaybeforeload), "mbsource" in h && r(15, pe = h.mbsource);
5449
5483
  }, e.$$.update = () => {
5450
5484
  e.$$.dirty[0] & /*userid*/
5451
5485
  2, e.$$.dirty[0] & /*filters*/
5452
- 64 && d && w(), e.$$.dirty[0] & /*lang*/
5453
- 8 && a && v(), e.$$.dirty[0] & /*translationurl*/
5454
- 16 && f && Qe(), e.$$.dirty[1] & /*isMounted*/
5455
- 2 && we && y(), e.$$.dirty[0] & /*session*/
5456
- 1 && (i === "" || i) && L(), e.$$.dirty[1] & /*sessionID*/
5457
- 1 && (K === "" || K) && T(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5458
- 570425388 && s && h && c && a && q && T(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5459
- 73728 && le && z && rs(z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5460
- 81920 && me && z && ns(z, me), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5461
- 98304 && ie && z && is(z, `${ie}.Style`);
5486
+ 64 && d && N(), e.$$.dirty[0] & /*lang*/
5487
+ 8 && a && w(), e.$$.dirty[0] & /*translationurl*/
5488
+ 16 && f && et(), e.$$.dirty[1] & /*isMounted*/
5489
+ 4 && ie && v(), e.$$.dirty[0] & /*session*/
5490
+ 1 && (i === "" || i) && T(), e.$$.dirty[1] & /*sessionID*/
5491
+ 2 && (ge === "" || ge) && B(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5492
+ 1140850732 && s && l && c && a && q && B(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5493
+ 73728 && le && Z && rs(Z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5494
+ 81920 && be && Z && ns(Z, be), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5495
+ 98304 && pe && Z && is(Z, `${pe}.Style`);
5462
5496
  }, [
5463
5497
  i,
5464
5498
  o,
5465
5499
  s,
5466
5500
  a,
5467
5501
  f,
5468
- h,
5502
+ l,
5469
5503
  d,
5470
- p,
5471
- E,
5472
- P,
5504
+ m,
5505
+ _,
5506
+ C,
5473
5507
  H,
5474
- Y,
5508
+ te,
5475
5509
  ce,
5476
5510
  le,
5477
- me,
5478
- ie,
5479
- z,
5511
+ be,
5512
+ pe,
5513
+ Z,
5514
+ Ne,
5515
+ ye,
5516
+ Me,
5480
5517
  Re,
5481
- ge,
5518
+ De,
5519
+ Ee,
5482
5520
  Pe,
5483
- Ze,
5484
- de,
5485
- Te,
5486
5521
  n,
5487
- g,
5522
+ p,
5488
5523
  c,
5489
5524
  ne,
5490
- I,
5491
- j,
5525
+ L,
5526
+ $,
5492
5527
  q,
5493
- Me,
5494
- K,
5495
- we,
5496
- B,
5497
- O
5528
+ Le,
5529
+ ge,
5530
+ ie,
5531
+ I,
5532
+ E
5498
5533
  ];
5499
5534
  }
5500
- class ms extends Wn {
5535
+ class bs extends Wn {
5501
5536
  constructor(t) {
5502
5537
  super(), Xn(
5503
5538
  this,
5504
5539
  t,
5505
- ps,
5506
- cs,
5540
+ ms,
5541
+ ds,
5507
5542
  kr,
5508
5543
  {
5509
5544
  session: 0,
@@ -5512,7 +5547,7 @@ class ms extends Wn {
5512
5547
  lang: 3,
5513
5548
  translationurl: 4,
5514
5549
  numberoftournaments: 5,
5515
- showmorestep: 25,
5550
+ showmorestep: 26,
5516
5551
  filters: 6,
5517
5552
  loginevent: 7,
5518
5553
  registerevent: 8,
@@ -5520,13 +5555,13 @@ class ms extends Wn {
5520
5555
  registerurl: 10,
5521
5556
  currency: 11,
5522
5557
  keepbrowsercontext: 12,
5523
- sorttype: 26,
5524
- sortorder: 27,
5525
- starttimeafter: 28,
5526
- showanonymoustournaments: 29,
5558
+ sorttype: 27,
5559
+ sortorder: 28,
5560
+ starttimeafter: 29,
5561
+ showanonymoustournaments: 30,
5527
5562
  clientstyling: 13,
5528
5563
  clientstylingurl: 14,
5529
- delaybeforeload: 30,
5564
+ delaybeforeload: 31,
5530
5565
  mbsource: 15
5531
5566
  },
5532
5567
  os,
@@ -5537,176 +5572,176 @@ class ms extends Wn {
5537
5572
  return this.$$.ctx[0];
5538
5573
  }
5539
5574
  set session(t) {
5540
- this.$$set({ session: t }), N();
5575
+ this.$$set({ session: t }), M();
5541
5576
  }
5542
5577
  get userid() {
5543
5578
  return this.$$.ctx[1];
5544
5579
  }
5545
5580
  set userid(t) {
5546
- this.$$set({ userid: t }), N();
5581
+ this.$$set({ userid: t }), M();
5547
5582
  }
5548
5583
  get endpoint() {
5549
5584
  return this.$$.ctx[2];
5550
5585
  }
5551
5586
  set endpoint(t) {
5552
- this.$$set({ endpoint: t }), N();
5587
+ this.$$set({ endpoint: t }), M();
5553
5588
  }
5554
5589
  get lang() {
5555
5590
  return this.$$.ctx[3];
5556
5591
  }
5557
5592
  set lang(t) {
5558
- this.$$set({ lang: t }), N();
5593
+ this.$$set({ lang: t }), M();
5559
5594
  }
5560
5595
  get translationurl() {
5561
5596
  return this.$$.ctx[4];
5562
5597
  }
5563
5598
  set translationurl(t) {
5564
- this.$$set({ translationurl: t }), N();
5599
+ this.$$set({ translationurl: t }), M();
5565
5600
  }
5566
5601
  get numberoftournaments() {
5567
5602
  return this.$$.ctx[5];
5568
5603
  }
5569
5604
  set numberoftournaments(t) {
5570
- this.$$set({ numberoftournaments: t }), N();
5605
+ this.$$set({ numberoftournaments: t }), M();
5571
5606
  }
5572
5607
  get showmorestep() {
5573
- return this.$$.ctx[25];
5608
+ return this.$$.ctx[26];
5574
5609
  }
5575
5610
  set showmorestep(t) {
5576
- this.$$set({ showmorestep: t }), N();
5611
+ this.$$set({ showmorestep: t }), M();
5577
5612
  }
5578
5613
  get filters() {
5579
5614
  return this.$$.ctx[6];
5580
5615
  }
5581
5616
  set filters(t) {
5582
- this.$$set({ filters: t }), N();
5617
+ this.$$set({ filters: t }), M();
5583
5618
  }
5584
5619
  get loginevent() {
5585
5620
  return this.$$.ctx[7];
5586
5621
  }
5587
5622
  set loginevent(t) {
5588
- this.$$set({ loginevent: t }), N();
5623
+ this.$$set({ loginevent: t }), M();
5589
5624
  }
5590
5625
  get registerevent() {
5591
5626
  return this.$$.ctx[8];
5592
5627
  }
5593
5628
  set registerevent(t) {
5594
- this.$$set({ registerevent: t }), N();
5629
+ this.$$set({ registerevent: t }), M();
5595
5630
  }
5596
5631
  get loginurl() {
5597
5632
  return this.$$.ctx[9];
5598
5633
  }
5599
5634
  set loginurl(t) {
5600
- this.$$set({ loginurl: t }), N();
5635
+ this.$$set({ loginurl: t }), M();
5601
5636
  }
5602
5637
  get registerurl() {
5603
5638
  return this.$$.ctx[10];
5604
5639
  }
5605
5640
  set registerurl(t) {
5606
- this.$$set({ registerurl: t }), N();
5641
+ this.$$set({ registerurl: t }), M();
5607
5642
  }
5608
5643
  get currency() {
5609
5644
  return this.$$.ctx[11];
5610
5645
  }
5611
5646
  set currency(t) {
5612
- this.$$set({ currency: t }), N();
5647
+ this.$$set({ currency: t }), M();
5613
5648
  }
5614
5649
  get keepbrowsercontext() {
5615
5650
  return this.$$.ctx[12];
5616
5651
  }
5617
5652
  set keepbrowsercontext(t) {
5618
- this.$$set({ keepbrowsercontext: t }), N();
5653
+ this.$$set({ keepbrowsercontext: t }), M();
5619
5654
  }
5620
5655
  get sorttype() {
5621
- return this.$$.ctx[26];
5656
+ return this.$$.ctx[27];
5622
5657
  }
5623
5658
  set sorttype(t) {
5624
- this.$$set({ sorttype: t }), N();
5659
+ this.$$set({ sorttype: t }), M();
5625
5660
  }
5626
5661
  get sortorder() {
5627
- return this.$$.ctx[27];
5662
+ return this.$$.ctx[28];
5628
5663
  }
5629
5664
  set sortorder(t) {
5630
- this.$$set({ sortorder: t }), N();
5665
+ this.$$set({ sortorder: t }), M();
5631
5666
  }
5632
5667
  get starttimeafter() {
5633
- return this.$$.ctx[28];
5668
+ return this.$$.ctx[29];
5634
5669
  }
5635
5670
  set starttimeafter(t) {
5636
- this.$$set({ starttimeafter: t }), N();
5671
+ this.$$set({ starttimeafter: t }), M();
5637
5672
  }
5638
5673
  get showanonymoustournaments() {
5639
- return this.$$.ctx[29];
5674
+ return this.$$.ctx[30];
5640
5675
  }
5641
5676
  set showanonymoustournaments(t) {
5642
- this.$$set({ showanonymoustournaments: t }), N();
5677
+ this.$$set({ showanonymoustournaments: t }), M();
5643
5678
  }
5644
5679
  get clientstyling() {
5645
5680
  return this.$$.ctx[13];
5646
5681
  }
5647
5682
  set clientstyling(t) {
5648
- this.$$set({ clientstyling: t }), N();
5683
+ this.$$set({ clientstyling: t }), M();
5649
5684
  }
5650
5685
  get clientstylingurl() {
5651
5686
  return this.$$.ctx[14];
5652
5687
  }
5653
5688
  set clientstylingurl(t) {
5654
- this.$$set({ clientstylingurl: t }), N();
5689
+ this.$$set({ clientstylingurl: t }), M();
5655
5690
  }
5656
5691
  get delaybeforeload() {
5657
- return this.$$.ctx[30];
5692
+ return this.$$.ctx[31];
5658
5693
  }
5659
5694
  set delaybeforeload(t) {
5660
- this.$$set({ delaybeforeload: t }), N();
5695
+ this.$$set({ delaybeforeload: t }), M();
5661
5696
  }
5662
5697
  get mbsource() {
5663
5698
  return this.$$.ctx[15];
5664
5699
  }
5665
5700
  set mbsource(t) {
5666
- this.$$set({ mbsource: t }), N();
5701
+ this.$$set({ mbsource: t }), M();
5667
5702
  }
5668
5703
  }
5669
- zn(ms, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5704
+ zn(bs, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5670
5705
  export {
5671
5706
  Yo as $,
5672
5707
  On as A,
5673
5708
  x as B,
5674
- He as C,
5675
- We as D,
5676
- gs as E,
5677
- ut as F,
5678
- bs as G,
5709
+ Be as C,
5710
+ Je as D,
5711
+ vs as E,
5712
+ lt as F,
5713
+ gs as G,
5679
5714
  St as H,
5680
5715
  Ko as I,
5681
5716
  _s as J,
5682
- xs as K,
5683
- Es as L,
5717
+ ws as K,
5718
+ xs as L,
5684
5719
  Zt as M,
5685
- ms as N,
5720
+ bs as N,
5686
5721
  Wn as S,
5687
5722
  vn as a,
5688
5723
  Hn as b,
5689
5724
  zn as c,
5690
- re as d,
5691
- fe as e,
5692
- N as f,
5725
+ ee as d,
5726
+ ue as e,
5727
+ M as f,
5693
5728
  X as g,
5694
- F as h,
5729
+ U as h,
5695
5730
  Xn as i,
5696
- Ts as j,
5731
+ Ss as j,
5697
5732
  An as k,
5698
- ws as l,
5699
- vs as m,
5700
- he as n,
5733
+ Ts as l,
5734
+ ys as m,
5735
+ fe as n,
5701
5736
  Mn as o,
5702
- it as p,
5703
- te as q,
5737
+ Ve as p,
5738
+ K as q,
5704
5739
  Xt as r,
5705
5740
  kr as s,
5706
- Le as t,
5741
+ He as t,
5707
5742
  Wt as u,
5708
5743
  zt as v,
5709
- ys as w,
5744
+ Es as w,
5710
5745
  rs as x,
5711
5746
  ns as y,
5712
5747
  is as z