@everymatrix/casino-tournaments-controller 1.60.1 → 1.61.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-B7T1o6MJ.js → CasinoTournamentsController-Cf2DQVn2.js} +713 -735
  2. package/components/CasinoTournamentsController-Cs0Zwt7u.cjs +27 -0
  3. package/components/{CasinoTournamentsController--v7Db-nS.js → CasinoTournamentsController-D6vZoeoj.js} +552 -574
  4. package/components/{CasinoTournamentsFilterController-NmQFysPE.cjs → CasinoTournamentsFilterController-BtN_XgvH.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-dCThVL3G.js → CasinoTournamentsFilterController-CdMh8n3B.js} +20 -20
  6. package/components/{CasinoTournamentsFilterController-D87dskAM.js → CasinoTournamentsFilterController-Tx9mruBX.js} +22 -22
  7. package/components/{CasinoTournamentsListController-qLXWt65S.cjs → CasinoTournamentsListController-CYBH9J8C.cjs} +2 -2
  8. package/components/{CasinoTournamentsListController-CVKwStEk.js → CasinoTournamentsListController-DZqBQlj6.js} +21 -21
  9. package/components/{CasinoTournamentsListController-C0Tn6XLC.js → CasinoTournamentsListController-EAJbvzEx.js} +21 -21
  10. package/components/{CasinoTournamentsThumbnail-Dh5yOBII.js → CasinoTournamentsThumbnail-C8RmbAI-.js} +41 -41
  11. package/components/{CasinoTournamentsThumbnail-CutNBEY9.cjs → CasinoTournamentsThumbnail-DU9HLE4D.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-B6vVUkXU.js → CasinoTournamentsThumbnail-zYhefJ1_.js} +36 -36
  13. package/components/{CasinoTournamentsThumbnailController-B4LzyUAt.cjs → CasinoTournamentsThumbnailController-CRzezmPu.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailController-Csobnf4h.js → CasinoTournamentsThumbnailController-CmkBRABp.js} +73 -73
  15. package/components/{CasinoTournamentsThumbnailController-ImrFDGq7.js → CasinoTournamentsThumbnailController-DDD5ArFE.js} +43 -43
  16. package/components/{CasinoTournamentsThumbnailDuration-DLOov4TV.cjs → CasinoTournamentsThumbnailDuration-BEMD3bKM.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-BIHBBD4m.js → CasinoTournamentsThumbnailDuration-BHrVYN85.js} +40 -40
  18. package/components/{CasinoTournamentsThumbnailDuration-BOSDqPIP.js → CasinoTournamentsThumbnailDuration-Dm-htkCW.js} +46 -46
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-Blv_3Sia.cjs → CasinoTournamentsThumbnailGamesSlider-D8RrwqTu.cjs} +1 -1
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-C7uGGzGz.js → CasinoTournamentsThumbnailGamesSlider-FbfeqM_U.js} +54 -54
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-BKEUZ6M0.js → CasinoTournamentsThumbnailGamesSlider-t0ZbTDnq.js} +37 -37
  22. package/components/{CasinoTournamentsThumbnailPrizes-CdcFiTcf.cjs → CasinoTournamentsThumbnailPrizes-ChVRuO0C.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-BmPaa3r7.js → CasinoTournamentsThumbnailPrizes-DK71Uz6a.js} +15 -15
  24. package/components/{CasinoTournamentsThumbnailPrizes-Cgjahh7G.js → CasinoTournamentsThumbnailPrizes-DsKcbeBA.js} +15 -15
  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-CZ-9rz_b.cjs +0 -27
@@ -1,28 +1,28 @@
1
1
  function fe() {
2
2
  }
3
- function Gr(e) {
3
+ function Dr(e) {
4
4
  return e();
5
5
  }
6
- function dr() {
6
+ function hr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ut(e) {
10
- e.forEach(Gr);
10
+ e.forEach(Dr);
11
11
  }
12
12
  function wt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function jr(e, t) {
15
+ function Fr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let dt;
19
- function fs(e, t) {
19
+ function us(e, t) {
20
20
  return e === t ? !0 : (dt || (dt = document.createElement("a")), dt.href = t, e === dt.href);
21
21
  }
22
- function Tn(e) {
22
+ function En(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function $r(e, ...t) {
25
+ function Ur(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,23 +31,23 @@ function $r(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Sn(e, t, r) {
35
- e.$$.on_destroy.push($r(t, r));
34
+ function _n(e, t, r) {
35
+ e.$$.on_destroy.push(Ur(t, r));
36
36
  }
37
- function cs(e) {
37
+ function ls(e) {
38
38
  return e && wt(e.destroy) ? e.destroy : fe;
39
39
  }
40
40
  function re(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function An(e, t, r) {
44
- const n = Hn(e);
43
+ function xn(e, t, r) {
44
+ const n = wn(e);
45
45
  if (!n.getElementById(t)) {
46
46
  const i = z("style");
47
- i.id = t, i.textContent = r, Bn(n, i);
47
+ i.id = t, i.textContent = r, Tn(n, i);
48
48
  }
49
49
  }
50
- function Hn(e) {
50
+ function wn(e) {
51
51
  if (!e)
52
52
  return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -57,7 +57,7 @@ function Hn(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function Bn(e, t) {
60
+ function Tn(e, t) {
61
61
  return re(
62
62
  /** @type {Document} */
63
63
  e.head || e,
@@ -70,26 +70,26 @@ function ce(e, t, r) {
70
70
  function ne(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function ds(e, t) {
73
+ function hs(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 z(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function ms(e) {
80
+ function fs(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
83
  function Ie(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
- function kt() {
86
+ function $t() {
87
87
  return Ie(" ");
88
88
  }
89
- function Pn() {
89
+ function Sn() {
90
90
  return Ie("");
91
91
  }
92
- function Vt(e, t, r, n) {
92
+ function kt(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
95
  function U(e, t, r) {
@@ -99,18 +99,18 @@ function w(e, t, r) {
99
99
  const n = t.toLowerCase();
100
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
- function Cn(e) {
102
+ function An(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
105
  function it(e, t) {
106
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
107
  t);
108
108
  }
109
- function ps(e, t, r, n) {
109
+ function cs(e, t, r, n) {
110
110
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
111
111
  }
112
112
  let mt;
113
- function On() {
113
+ function Hn() {
114
114
  if (mt === void 0) {
115
115
  mt = !1;
116
116
  try {
@@ -121,32 +121,32 @@ function On() {
121
121
  }
122
122
  return mt;
123
123
  }
124
- function bs(e, t) {
124
+ function ds(e, t) {
125
125
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
126
126
  const n = z("iframe");
127
127
  n.setAttribute(
128
128
  "style",
129
129
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
130
130
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
131
- const i = On();
131
+ const i = Hn();
132
132
  let o;
133
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Vt(
133
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = kt(
134
134
  window,
135
135
  "message",
136
136
  /** @param {MessageEvent} event */
137
- (a) => {
138
- a.source === n.contentWindow && t();
137
+ (s) => {
138
+ s.source === n.contentWindow && t();
139
139
  }
140
140
  )) : (n.src = "about:blank", n.onload = () => {
141
- o = Vt(n.contentWindow, "resize", t), t();
141
+ o = kt(n.contentWindow, "resize", t), t();
142
142
  }), re(e, n), () => {
143
143
  (i || o && n.contentWindow) && o(), ne(n);
144
144
  };
145
145
  }
146
- function gs(e, t, r) {
146
+ function ms(e, t, r) {
147
147
  e.classList.toggle(t, !!r);
148
148
  }
149
- function In(e) {
149
+ function Bn(e) {
150
150
  const t = {};
151
151
  return e.childNodes.forEach(
152
152
  /** @param {Element} node */
@@ -159,22 +159,22 @@ let ot;
159
159
  function nt(e) {
160
160
  ot = e;
161
161
  }
162
- function Ln() {
162
+ function Pn() {
163
163
  if (!ot)
164
164
  throw new Error("Function called outside component initialization");
165
165
  return ot;
166
166
  }
167
- function Nn(e) {
168
- Ln().$$.on_mount.push(e);
167
+ function Cn(e) {
168
+ Pn().$$.on_mount.push(e);
169
169
  }
170
- const Ge = [], Xt = [];
170
+ const Ge = [], Vt = [];
171
171
  let je = [];
172
- const mr = [], Mn = /* @__PURE__ */ Promise.resolve();
173
- let zt = !1;
174
- function Rn() {
175
- zt || (zt = !0, Mn.then(F));
172
+ const fr = [], On = /* @__PURE__ */ Promise.resolve();
173
+ let Xt = !1;
174
+ function In() {
175
+ Xt || (Xt = !0, On.then(F));
176
176
  }
177
- function Wt(e) {
177
+ function zt(e) {
178
178
  je.push(e);
179
179
  }
180
180
  const Nt = /* @__PURE__ */ new Set();
@@ -187,56 +187,56 @@ function F() {
187
187
  try {
188
188
  for (; Fe < Ge.length; ) {
189
189
  const t = Ge[Fe];
190
- Fe++, nt(t), Dn(t.$$);
190
+ Fe++, nt(t), Ln(t.$$);
191
191
  }
192
192
  } catch (t) {
193
193
  throw Ge.length = 0, Fe = 0, t;
194
194
  }
195
- for (nt(null), Ge.length = 0, Fe = 0; Xt.length; )
196
- Xt.pop()();
195
+ for (nt(null), Ge.length = 0, Fe = 0; Vt.length; )
196
+ Vt.pop()();
197
197
  for (let t = 0; t < je.length; t += 1) {
198
198
  const r = je[t];
199
199
  Nt.has(r) || (Nt.add(r), r());
200
200
  }
201
201
  je.length = 0;
202
202
  } while (Ge.length);
203
- for (; mr.length; )
204
- mr.pop()();
205
- zt = !1, Nt.clear(), nt(e);
203
+ for (; fr.length; )
204
+ fr.pop()();
205
+ Xt = !1, Nt.clear(), nt(e);
206
206
  }
207
- function Dn(e) {
207
+ function Ln(e) {
208
208
  if (e.fragment !== null) {
209
209
  e.update(), ut(e.before_update);
210
210
  const t = e.dirty;
211
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Wt);
211
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(zt);
212
212
  }
213
213
  }
214
- function Fn(e) {
214
+ function Nn(e) {
215
215
  const t = [], r = [];
216
216
  je.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), je = t;
217
217
  }
218
- const Un = /* @__PURE__ */ new Set();
219
- function Gn(e, t) {
220
- e && e.i && (Un.delete(e), e.i(t));
218
+ const Mn = /* @__PURE__ */ new Set();
219
+ function Rn(e, t) {
220
+ e && e.i && (Mn.delete(e), e.i(t));
221
221
  }
222
- function vs(e) {
222
+ function ps(e) {
223
223
  return e?.length !== void 0 ? e : Array.from(e);
224
224
  }
225
- function jn(e, t, r) {
225
+ function Dn(e, t, r) {
226
226
  const { fragment: n, after_update: i } = e.$$;
227
- n && n.m(t, r), Wt(() => {
228
- const o = e.$$.on_mount.map(Gr).filter(wt);
227
+ n && n.m(t, r), zt(() => {
228
+ const o = e.$$.on_mount.map(Dr).filter(wt);
229
229
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ut(o), e.$$.on_mount = [];
230
- }), i.forEach(Wt);
230
+ }), i.forEach(zt);
231
231
  }
232
- function $n(e, t) {
232
+ function Fn(e, t) {
233
233
  const r = e.$$;
234
- r.fragment !== null && (Fn(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 && (Nn(r.after_update), ut(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
235
235
  }
236
- function kn(e, t) {
237
- e.$$.dirty[0] === -1 && (Ge.push(e), Rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
236
+ function Un(e, t) {
237
+ e.$$.dirty[0] === -1 && (Ge.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
238
  }
239
- function Vn(e, t, r, n, i, o, a = null, s = [-1]) {
239
+ function Gn(e, t, r, n, i, o, s = null, a = [-1]) {
240
240
  const f = ot;
241
241
  nt(e);
242
242
  const h = e.$$ = {
@@ -246,7 +246,7 @@ function Vn(e, t, r, n, i, o, a = null, s = [-1]) {
246
246
  props: o,
247
247
  update: fe,
248
248
  not_equal: i,
249
- bound: dr(),
249
+ bound: hr(),
250
250
  // lifecycle
251
251
  on_mount: [],
252
252
  on_destroy: [],
@@ -255,28 +255,28 @@ function Vn(e, t, r, n, i, o, a = null, s = [-1]) {
255
255
  after_update: [],
256
256
  context: new Map(t.context || (f ? f.$$.context : [])),
257
257
  // everything else
258
- callbacks: dr(),
259
- dirty: s,
258
+ callbacks: hr(),
259
+ dirty: a,
260
260
  skip_bound: !1,
261
261
  root: t.target || f.$$.root
262
262
  };
263
- a && a(h.root);
263
+ s && s(h.root);
264
264
  let c = !1;
265
265
  if (h.ctx = r ? r(e, t.props || {}, (d, p, ..._) => {
266
266
  const O = _.length ? _[0] : p;
267
- return h.ctx && i(h.ctx[d], h.ctx[d] = O) && (!h.skip_bound && h.bound[d] && h.bound[d](O), c && kn(e, d)), p;
267
+ return h.ctx && i(h.ctx[d], h.ctx[d] = O) && (!h.skip_bound && h.bound[d] && h.bound[d](O), c && Un(e, d)), p;
268
268
  }) : [], h.update(), c = !0, ut(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
269
269
  if (t.hydrate) {
270
- const d = Cn(t.target);
270
+ const d = An(t.target);
271
271
  h.fragment && h.fragment.l(d), d.forEach(ne);
272
272
  } else
273
273
  h.fragment && h.fragment.c();
274
- t.intro && Gn(e.$$.fragment), jn(e, t.target, t.anchor), F();
274
+ t.intro && Rn(e.$$.fragment), Dn(e, t.target, t.anchor), F();
275
275
  }
276
276
  nt(f);
277
277
  }
278
- let kr;
279
- typeof HTMLElement == "function" && (kr = class extends HTMLElement {
278
+ let Gr;
279
+ typeof HTMLElement == "function" && (Gr = class extends HTMLElement {
280
280
  /** The Svelte component constructor */
281
281
  $$ctor;
282
282
  /** Slots */
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (kr = class extends HTMLElement {
335
335
  };
336
336
  if (await Promise.resolve(), !this.$$cn || this.$$c)
337
337
  return;
338
- const t = {}, r = In(this);
338
+ const t = {}, r = Bn(this);
339
339
  for (const i of this.$$s)
340
340
  i in r && (t[i] = [e(i)]);
341
341
  for (const i of this.attributes) {
@@ -371,8 +371,8 @@ typeof HTMLElement == "function" && (kr = class extends HTMLElement {
371
371
  this.$$c.$$.after_update.push(n), n();
372
372
  for (const i in this.$$l)
373
373
  for (const o of this.$$l[i]) {
374
- const a = this.$$c.$on(i, o);
375
- this.$$l_u.set(o, a);
374
+ const s = this.$$c.$on(i, o);
375
+ this.$$l_u.set(o, s);
376
376
  }
377
377
  this.$$l = {};
378
378
  }
@@ -422,36 +422,36 @@ function gt(e, t, r, n) {
422
422
  return t;
423
423
  }
424
424
  }
425
- function Xn(e, t, r, n, i, o) {
426
- let a = class extends kr {
425
+ function jn(e, t, r, n, i, o) {
426
+ let s = class extends Gr {
427
427
  constructor() {
428
428
  super(e, r, i), this.$$p_d = t;
429
429
  }
430
430
  static get observedAttributes() {
431
431
  return Object.keys(t).map(
432
- (s) => (t[s].attribute || s).toLowerCase()
432
+ (a) => (t[a].attribute || a).toLowerCase()
433
433
  );
434
434
  }
435
435
  };
436
- return Object.keys(t).forEach((s) => {
437
- Object.defineProperty(a.prototype, s, {
436
+ return Object.keys(t).forEach((a) => {
437
+ Object.defineProperty(s.prototype, a, {
438
438
  get() {
439
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
439
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
440
440
  },
441
441
  set(f) {
442
- f = gt(s, f, t), this.$$d[s] = f, this.$$c?.$set({ [s]: f });
442
+ f = gt(a, f, t), this.$$d[a] = f, this.$$c?.$set({ [a]: f });
443
443
  }
444
444
  });
445
- }), n.forEach((s) => {
446
- Object.defineProperty(a.prototype, s, {
445
+ }), n.forEach((a) => {
446
+ Object.defineProperty(s.prototype, a, {
447
447
  get() {
448
- return this.$$c?.[s];
448
+ return this.$$c?.[a];
449
449
  }
450
450
  });
451
451
  }), e.element = /** @type {any} */
452
- a, a;
452
+ s, s;
453
453
  }
454
- class zn {
454
+ class $n {
455
455
  /**
456
456
  * ### PRIVATE API
457
457
  *
@@ -470,7 +470,7 @@ class zn {
470
470
  $$set = void 0;
471
471
  /** @returns {void} */
472
472
  $destroy() {
473
- $n(this, 1), this.$destroy = fe;
473
+ Fn(this, 1), this.$destroy = fe;
474
474
  }
475
475
  /**
476
476
  * @template {Extract<keyof Events, string>} K
@@ -492,11 +492,11 @@ class zn {
492
492
  * @returns {void}
493
493
  */
494
494
  $set(t) {
495
- this.$$set && !Tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
495
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
496
496
  }
497
497
  }
498
- const Wn = "4";
499
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wn);
498
+ const kn = "4";
499
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
500
500
  /*! *****************************************************************************
501
501
  Copyright (c) Microsoft Corporation.
502
502
 
@@ -511,18 +511,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
511
511
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
512
512
  PERFORMANCE OF THIS SOFTWARE.
513
513
  ***************************************************************************** */
514
- var qt = function(e, t) {
515
- return qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
514
+ var Wt = function(e, t) {
515
+ return Wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
516
516
  r.__proto__ = n;
517
517
  } || function(r, n) {
518
518
  for (var i in n)
519
519
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
520
- }, qt(e, t);
520
+ }, Wt(e, t);
521
521
  };
522
522
  function xe(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
- qt(e, t);
525
+ Wt(e, t);
526
526
  function r() {
527
527
  this.constructor = e;
528
528
  }
@@ -538,7 +538,7 @@ var P = function() {
538
538
  return t;
539
539
  }, P.apply(this, arguments);
540
540
  };
541
- function qn(e, t) {
541
+ function Vn(e, t) {
542
542
  var r = {};
543
543
  for (var n in e)
544
544
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -547,7 +547,7 @@ function qn(e, t) {
547
547
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
548
548
  return r;
549
549
  }
550
- function Zt(e) {
550
+ function qt(e) {
551
551
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
552
552
  if (r)
553
553
  return r.call(e);
@@ -559,22 +559,22 @@ function Zt(e) {
559
559
  };
560
560
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
561
561
  }
562
- function Jt(e, t) {
562
+ function Zt(e, t) {
563
563
  var r = typeof Symbol == "function" && e[Symbol.iterator];
564
564
  if (!r)
565
565
  return e;
566
- var n = r.call(e), i, o = [], a;
566
+ var n = r.call(e), i, o = [], s;
567
567
  try {
568
568
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
569
569
  o.push(i.value);
570
- } catch (s) {
571
- a = { error: s };
570
+ } catch (a) {
571
+ s = { error: a };
572
572
  } finally {
573
573
  try {
574
574
  i && !i.done && (r = n.return) && r.call(n);
575
575
  } finally {
576
- if (a)
577
- throw a.error;
576
+ if (s)
577
+ throw s.error;
578
578
  }
579
579
  }
580
580
  return o;
@@ -588,13 +588,13 @@ function $e(e, t, r) {
588
588
  function _e(e) {
589
589
  return typeof e == "function";
590
590
  }
591
- function Vr(e) {
591
+ function jr(e) {
592
592
  var t = function(n) {
593
593
  Error.call(n), n.stack = new Error().stack;
594
594
  }, r = e(t);
595
595
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
596
596
  }
597
- var Mt = Vr(function(e) {
597
+ var Mt = jr(function(e) {
598
598
  return function(r) {
599
599
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
600
600
  ` + r.map(function(n, i) {
@@ -603,7 +603,7 @@ var Mt = Vr(function(e) {
603
603
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
604
604
  };
605
605
  });
606
- function Qt(e, t) {
606
+ function Jt(e, t) {
607
607
  if (e) {
608
608
  var r = e.indexOf(t);
609
609
  0 <= r && e.splice(r, 1);
@@ -617,11 +617,11 @@ var Tt = function() {
617
617
  var t, r, n, i, o;
618
618
  if (!this.closed) {
619
619
  this.closed = !0;
620
- var a = this._parentage;
621
- if (a)
622
- if (this._parentage = null, Array.isArray(a))
620
+ var s = this._parentage;
621
+ if (s)
622
+ if (this._parentage = null, Array.isArray(s))
623
623
  try {
624
- for (var s = Zt(a), f = s.next(); !f.done; f = s.next()) {
624
+ for (var a = qt(s), f = a.next(); !f.done; f = a.next()) {
625
625
  var h = f.value;
626
626
  h.remove(this);
627
627
  }
@@ -629,14 +629,14 @@ var Tt = function() {
629
629
  t = { error: B };
630
630
  } finally {
631
631
  try {
632
- f && !f.done && (r = s.return) && r.call(s);
632
+ f && !f.done && (r = a.return) && r.call(a);
633
633
  } finally {
634
634
  if (t)
635
635
  throw t.error;
636
636
  }
637
637
  }
638
638
  else
639
- a.remove(this);
639
+ s.remove(this);
640
640
  var c = this.initialTeardown;
641
641
  if (_e(c))
642
642
  try {
@@ -648,12 +648,12 @@ var Tt = function() {
648
648
  if (d) {
649
649
  this._finalizers = null;
650
650
  try {
651
- for (var p = Zt(d), _ = p.next(); !_.done; _ = p.next()) {
651
+ for (var p = qt(d), _ = p.next(); !_.done; _ = p.next()) {
652
652
  var O = _.value;
653
653
  try {
654
- pr(O);
654
+ cr(O);
655
655
  } catch (B) {
656
- o = o ?? [], B instanceof Mt ? o = $e($e([], Jt(o)), Jt(B.errors)) : o.push(B);
656
+ o = o ?? [], B instanceof Mt ? o = $e($e([], Zt(o)), Zt(B.errors)) : o.push(B);
657
657
  }
658
658
  }
659
659
  } catch (B) {
@@ -674,7 +674,7 @@ var Tt = function() {
674
674
  var r;
675
675
  if (t && t !== this)
676
676
  if (this.closed)
677
- pr(t);
677
+ cr(t);
678
678
  else {
679
679
  if (t instanceof e) {
680
680
  if (t.closed || t._hasParent(this))
@@ -691,56 +691,52 @@ var Tt = function() {
691
691
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
692
692
  }, e.prototype._removeParent = function(t) {
693
693
  var r = this._parentage;
694
- r === t ? this._parentage = null : Array.isArray(r) && Qt(r, t);
694
+ r === t ? this._parentage = null : Array.isArray(r) && Jt(r, t);
695
695
  }, e.prototype.remove = function(t) {
696
696
  var r = this._finalizers;
697
- r && Qt(r, t), t instanceof e && t._removeParent(this);
697
+ r && Jt(r, t), t instanceof e && t._removeParent(this);
698
698
  }, e.EMPTY = function() {
699
699
  var t = new e();
700
700
  return t.closed = !0, t;
701
701
  }(), e;
702
- }(), Xr = Tt.EMPTY;
703
- function zr(e) {
702
+ }(), $r = Tt.EMPTY;
703
+ function kr(e) {
704
704
  return e instanceof Tt || e && "closed" in e && _e(e.remove) && _e(e.add) && _e(e.unsubscribe);
705
705
  }
706
- function pr(e) {
706
+ function cr(e) {
707
707
  _e(e) ? e() : e.unsubscribe();
708
708
  }
709
- var Wr = {
710
- onUnhandledError: null,
711
- onStoppedNotification: null,
712
- Promise: void 0,
713
- useDeprecatedSynchronousErrorHandling: !1,
714
- useDeprecatedNextContext: !1
715
- }, Zn = {
709
+ var Xn = {
710
+ Promise: void 0
711
+ }, zn = {
716
712
  setTimeout: function(e, t) {
717
713
  for (var r = [], n = 2; n < arguments.length; n++)
718
714
  r[n - 2] = arguments[n];
719
- return setTimeout.apply(void 0, $e([e, t], Jt(r)));
715
+ return setTimeout.apply(void 0, $e([e, t], Zt(r)));
720
716
  },
721
717
  clearTimeout: function(e) {
722
718
  return clearTimeout(e);
723
719
  },
724
720
  delegate: void 0
725
721
  };
726
- function Jn(e) {
727
- Zn.setTimeout(function() {
722
+ function Wn(e) {
723
+ zn.setTimeout(function() {
728
724
  throw e;
729
725
  });
730
726
  }
731
- function br() {
727
+ function dr() {
732
728
  }
733
729
  function vt(e) {
734
730
  e();
735
731
  }
736
- var qr = function(e) {
732
+ var Vr = function(e) {
737
733
  xe(t, e);
738
734
  function t(r) {
739
735
  var n = e.call(this) || this;
740
- return n.isStopped = !1, r ? (n.destination = r, zr(r) && r.add(n)) : n.destination = ei, n;
736
+ return n.isStopped = !1, r ? (n.destination = r, kr(r) && r.add(n)) : n.destination = Jn, n;
741
737
  }
742
738
  return t.create = function(r, n, i) {
743
- return new Yt(r, n, i);
739
+ return new Qt(r, n, i);
744
740
  }, t.prototype.next = function(r) {
745
741
  this.isStopped || this._next(r);
746
742
  }, t.prototype.error = function(r) {
@@ -764,11 +760,7 @@ var qr = function(e) {
764
760
  this.unsubscribe();
765
761
  }
766
762
  }, t;
767
- }(Tt), Qn = Function.prototype.bind;
768
- function Rt(e, t) {
769
- return Qn.call(e, t);
770
- }
771
- var Yn = function() {
763
+ }(Tt), qn = function() {
772
764
  function e(t) {
773
765
  this.partialObserver = t;
774
766
  }
@@ -799,55 +791,43 @@ var Yn = function() {
799
791
  pt(r);
800
792
  }
801
793
  }, e;
802
- }(), Yt = function(e) {
794
+ }(), Qt = function(e) {
803
795
  xe(t, e);
804
796
  function t(r, n, i) {
805
- var o = e.call(this) || this, a;
806
- if (_e(r) || !r)
807
- a = {
808
- next: r ?? void 0,
809
- error: n ?? void 0,
810
- complete: i ?? void 0
811
- };
812
- else {
813
- var s;
814
- o && Wr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
815
- return o.unsubscribe();
816
- }, a = {
817
- next: r.next && Rt(r.next, s),
818
- error: r.error && Rt(r.error, s),
819
- complete: r.complete && Rt(r.complete, s)
820
- }) : a = r;
821
- }
822
- return o.destination = new Yn(a), o;
797
+ var o = e.call(this) || this, s;
798
+ return _e(r) || !r ? s = {
799
+ next: r ?? void 0,
800
+ error: n ?? void 0,
801
+ complete: i ?? void 0
802
+ } : s = r, o.destination = new qn(s), o;
823
803
  }
824
804
  return t;
825
- }(qr);
805
+ }(Vr);
826
806
  function pt(e) {
827
- Jn(e);
807
+ Wn(e);
828
808
  }
829
- function Kn(e) {
809
+ function Zn(e) {
830
810
  throw e;
831
811
  }
832
- var ei = {
812
+ var Jn = {
833
813
  closed: !0,
834
- next: br,
835
- error: Kn,
836
- complete: br
837
- }, ti = function() {
814
+ next: dr,
815
+ error: Zn,
816
+ complete: dr
817
+ }, Qn = function() {
838
818
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
839
819
  }();
840
- function ri(e) {
820
+ function Yn(e) {
841
821
  return e;
842
822
  }
843
- function ni(e) {
844
- return e.length === 0 ? ri : e.length === 1 ? e[0] : function(r) {
823
+ function Kn(e) {
824
+ return e.length === 0 ? Yn : e.length === 1 ? e[0] : function(r) {
845
825
  return e.reduce(function(n, i) {
846
826
  return i(n);
847
827
  }, r);
848
828
  };
849
829
  }
850
- var gr = function() {
830
+ var mr = function() {
851
831
  function e(t) {
852
832
  t && (this._subscribe = t);
853
833
  }
@@ -855,10 +835,10 @@ var gr = function() {
855
835
  var r = new e();
856
836
  return r.source = this, r.operator = t, r;
857
837
  }, e.prototype.subscribe = function(t, r, n) {
858
- var i = this, o = oi(t) ? t : new Yt(t, r, n);
838
+ var i = this, o = ti(t) ? t : new Qt(t, r, n);
859
839
  return vt(function() {
860
- var a = i, s = a.operator, f = a.source;
861
- o.add(s ? s.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
840
+ var s = i, a = s.operator, f = s.source;
841
+ o.add(a ? a.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
862
842
  }), o;
863
843
  }, e.prototype._trySubscribe = function(t) {
864
844
  try {
@@ -868,37 +848,37 @@ var gr = function() {
868
848
  }
869
849
  }, e.prototype.forEach = function(t, r) {
870
850
  var n = this;
871
- return r = vr(r), new r(function(i, o) {
872
- var a = new Yt({
873
- next: function(s) {
851
+ return r = pr(r), new r(function(i, o) {
852
+ var s = new Qt({
853
+ next: function(a) {
874
854
  try {
875
- t(s);
855
+ t(a);
876
856
  } catch (f) {
877
- o(f), a.unsubscribe();
857
+ o(f), s.unsubscribe();
878
858
  }
879
859
  },
880
860
  error: o,
881
861
  complete: i
882
862
  });
883
- n.subscribe(a);
863
+ n.subscribe(s);
884
864
  });
885
865
  }, e.prototype._subscribe = function(t) {
886
866
  var r;
887
867
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
888
- }, e.prototype[ti] = function() {
868
+ }, e.prototype[Qn] = function() {
889
869
  return this;
890
870
  }, e.prototype.pipe = function() {
891
871
  for (var t = [], r = 0; r < arguments.length; r++)
892
872
  t[r] = arguments[r];
893
- return ni(t)(this);
873
+ return Kn(t)(this);
894
874
  }, e.prototype.toPromise = function(t) {
895
875
  var r = this;
896
- return t = vr(t), new t(function(n, i) {
876
+ return t = pr(t), new t(function(n, i) {
897
877
  var o;
898
- r.subscribe(function(a) {
899
- return o = a;
900
- }, function(a) {
901
- return i(a);
878
+ r.subscribe(function(s) {
879
+ return o = s;
880
+ }, function(s) {
881
+ return i(s);
902
882
  }, function() {
903
883
  return n(o);
904
884
  });
@@ -907,32 +887,32 @@ var gr = function() {
907
887
  return new e(t);
908
888
  }, e;
909
889
  }();
910
- function vr(e) {
890
+ function pr(e) {
911
891
  var t;
912
- return (t = e ?? Wr.Promise) !== null && t !== void 0 ? t : Promise;
892
+ return (t = e ?? Xn.Promise) !== null && t !== void 0 ? t : Promise;
913
893
  }
914
- function ii(e) {
894
+ function ei(e) {
915
895
  return e && _e(e.next) && _e(e.error) && _e(e.complete);
916
896
  }
917
- function oi(e) {
918
- return e && e instanceof qr || ii(e) && zr(e);
897
+ function ti(e) {
898
+ return e && e instanceof Vr || ei(e) && kr(e);
919
899
  }
920
- var si = Vr(function(e) {
900
+ var ri = jr(function(e) {
921
901
  return function() {
922
902
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
923
903
  };
924
- }), Zr = function(e) {
904
+ }), Xr = function(e) {
925
905
  xe(t, e);
926
906
  function t() {
927
907
  var r = e.call(this) || this;
928
908
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
929
909
  }
930
910
  return t.prototype.lift = function(r) {
931
- var n = new yr(this, this);
911
+ var n = new br(this, this);
932
912
  return n.operator = r, n;
933
913
  }, t.prototype._throwIfClosed = function() {
934
914
  if (this.closed)
935
- throw new si();
915
+ throw new ri();
936
916
  }, t.prototype.next = function(r) {
937
917
  var n = this;
938
918
  vt(function() {
@@ -940,15 +920,15 @@ var si = Vr(function(e) {
940
920
  if (n._throwIfClosed(), !n.isStopped) {
941
921
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
942
922
  try {
943
- for (var a = Zt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
944
- var f = s.value;
923
+ for (var s = qt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
924
+ var f = a.value;
945
925
  f.next(r);
946
926
  }
947
927
  } catch (h) {
948
928
  i = { error: h };
949
929
  } finally {
950
930
  try {
951
- s && !s.done && (o = a.return) && o.call(a);
931
+ a && !a.done && (o = s.return) && o.call(s);
952
932
  } finally {
953
933
  if (i)
954
934
  throw i.error;
@@ -988,20 +968,20 @@ var si = Vr(function(e) {
988
968
  }, t.prototype._subscribe = function(r) {
989
969
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
990
970
  }, t.prototype._innerSubscribe = function(r) {
991
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
992
- return o || a ? Xr : (this.currentObservers = null, s.push(r), new Tt(function() {
993
- n.currentObservers = null, Qt(s, r);
971
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
972
+ return o || s ? $r : (this.currentObservers = null, a.push(r), new Tt(function() {
973
+ n.currentObservers = null, Jt(a, r);
994
974
  }));
995
975
  }, t.prototype._checkFinalizedStatuses = function(r) {
996
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
997
- i ? r.error(o) : a && r.complete();
976
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
977
+ i ? r.error(o) : s && r.complete();
998
978
  }, t.prototype.asObservable = function() {
999
- var r = new gr();
979
+ var r = new mr();
1000
980
  return r.source = this, r;
1001
981
  }, t.create = function(r, n) {
1002
- return new yr(r, n);
982
+ return new br(r, n);
1003
983
  }, t;
1004
- }(gr), yr = function(e) {
984
+ }(mr), br = function(e) {
1005
985
  xe(t, e);
1006
986
  function t(r, n) {
1007
987
  var i = e.call(this) || this;
@@ -1018,45 +998,45 @@ var si = Vr(function(e) {
1018
998
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1019
999
  }, t.prototype._subscribe = function(r) {
1020
1000
  var n, i;
1021
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xr;
1001
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
1022
1002
  }, t;
1023
- }(Zr), Jr = {
1003
+ }(Xr), zr = {
1024
1004
  now: function() {
1025
- return (Jr.delegate || Date).now();
1005
+ return (zr.delegate || Date).now();
1026
1006
  },
1027
1007
  delegate: void 0
1028
- }, ai = function(e) {
1008
+ }, ni = function(e) {
1029
1009
  xe(t, e);
1030
1010
  function t(r, n, i) {
1031
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jr);
1011
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zr);
1032
1012
  var o = e.call(this) || this;
1033
1013
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1034
1014
  }
1035
1015
  return t.prototype.next = function(r) {
1036
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, f = n._windowTime;
1037
- i || (o.push(r), !a && o.push(s.now() + f)), this._trimBuffer(), e.prototype.next.call(this, r);
1016
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, f = n._windowTime;
1017
+ i || (o.push(r), !s && o.push(a.now() + f)), this._trimBuffer(), e.prototype.next.call(this, r);
1038
1018
  }, t.prototype._subscribe = function(r) {
1039
1019
  this._throwIfClosed(), this._trimBuffer();
1040
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), f = 0; f < s.length && !r.closed; f += o ? 1 : 2)
1041
- r.next(s[f]);
1020
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), f = 0; f < a.length && !r.closed; f += o ? 1 : 2)
1021
+ r.next(a[f]);
1042
1022
  return this._checkFinalizedStatuses(r), n;
1043
1023
  }, t.prototype._trimBuffer = function() {
1044
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1045
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1024
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1025
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1046
1026
  for (var f = i.now(), h = 0, c = 1; c < o.length && o[c] <= f; c += 2)
1047
1027
  h = c;
1048
1028
  h && o.splice(0, h + 1);
1049
1029
  }
1050
1030
  }, t;
1051
- }(Zr);
1052
- const Er = [], _r = {}, ui = (e, t = 0) => {
1053
- if (Er.indexOf(e) == -1) {
1054
- const r = new ai(t);
1055
- _r[e] = r, Er.push(e);
1031
+ }(Xr);
1032
+ const gr = [], vr = {}, ii = (e, t = 0) => {
1033
+ if (gr.indexOf(e) == -1) {
1034
+ const r = new ni(t);
1035
+ vr[e] = r, gr.push(e);
1056
1036
  }
1057
- return _r[e];
1037
+ return vr[e];
1058
1038
  }, Ue = [];
1059
- function li(e, t) {
1039
+ function oi(e, t) {
1060
1040
  return {
1061
1041
  subscribe: St(e, t).subscribe
1062
1042
  };
@@ -1064,8 +1044,8 @@ function li(e, t) {
1064
1044
  function St(e, t = fe) {
1065
1045
  let r;
1066
1046
  const n = /* @__PURE__ */ new Set();
1067
- function i(s) {
1068
- if (jr(e, s) && (e = s, r)) {
1047
+ function i(a) {
1048
+ if (Fr(e, a) && (e = a, r)) {
1069
1049
  const f = !Ue.length;
1070
1050
  for (const h of n)
1071
1051
  h[1](), Ue.push(h, e);
@@ -1076,23 +1056,23 @@ function St(e, t = fe) {
1076
1056
  }
1077
1057
  }
1078
1058
  }
1079
- function o(s) {
1080
- i(s(e));
1059
+ function o(a) {
1060
+ i(a(e));
1081
1061
  }
1082
- function a(s, f = fe) {
1083
- const h = [s, f];
1084
- return n.add(h), n.size === 1 && (r = t(i, o) || fe), s(e), () => {
1062
+ function s(a, f = fe) {
1063
+ const h = [a, f];
1064
+ return n.add(h), n.size === 1 && (r = t(i, o) || fe), a(e), () => {
1085
1065
  n.delete(h), n.size === 0 && r && (r(), r = null);
1086
1066
  };
1087
1067
  }
1088
- return { set: i, update: o, subscribe: a };
1068
+ return { set: i, update: o, subscribe: s };
1089
1069
  }
1090
1070
  function We(e, t, r) {
1091
1071
  const n = !Array.isArray(e), i = n ? [e] : e;
1092
1072
  if (!i.every(Boolean))
1093
1073
  throw new Error("derived() expects stores as input, got a falsy value");
1094
1074
  const o = t.length < 2;
1095
- return li(r, (a, s) => {
1075
+ return oi(r, (s, a) => {
1096
1076
  let f = !1;
1097
1077
  const h = [];
1098
1078
  let c = 0, d = fe;
@@ -1100,10 +1080,10 @@ function We(e, t, r) {
1100
1080
  if (c)
1101
1081
  return;
1102
1082
  d();
1103
- const O = t(n ? h[0] : h, a, s);
1104
- o ? a(O) : d = wt(O) ? O : fe;
1083
+ const O = t(n ? h[0] : h, s, a);
1084
+ o ? s(O) : d = wt(O) ? O : fe;
1105
1085
  }, _ = i.map(
1106
- (O, B) => $r(
1086
+ (O, B) => Ur(
1107
1087
  O,
1108
1088
  (ee) => {
1109
1089
  h[B] = ee, c &= ~(1 << B), f && p();
@@ -1118,71 +1098,71 @@ function We(e, t, r) {
1118
1098
  };
1119
1099
  });
1120
1100
  }
1121
- var hi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1122
- function fi(e) {
1101
+ var si = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1102
+ function ai(e) {
1123
1103
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1124
1104
  }
1125
- var ci = function(t) {
1126
- return di(t) && !mi(t);
1105
+ var ui = function(t) {
1106
+ return li(t) && !hi(t);
1127
1107
  };
1128
- function di(e) {
1108
+ function li(e) {
1129
1109
  return !!e && typeof e == "object";
1130
1110
  }
1131
- function mi(e) {
1111
+ function hi(e) {
1132
1112
  var t = Object.prototype.toString.call(e);
1133
- return t === "[object RegExp]" || t === "[object Date]" || gi(e);
1113
+ return t === "[object RegExp]" || t === "[object Date]" || di(e);
1134
1114
  }
1135
- var pi = typeof Symbol == "function" && Symbol.for, bi = pi ? Symbol.for("react.element") : 60103;
1136
- function gi(e) {
1137
- return e.$$typeof === bi;
1115
+ var fi = typeof Symbol == "function" && Symbol.for, ci = fi ? Symbol.for("react.element") : 60103;
1116
+ function di(e) {
1117
+ return e.$$typeof === ci;
1138
1118
  }
1139
- function vi(e) {
1119
+ function mi(e) {
1140
1120
  return Array.isArray(e) ? [] : {};
1141
1121
  }
1142
1122
  function st(e, t) {
1143
- return t.clone !== !1 && t.isMergeableObject(e) ? ke(vi(e), e, t) : e;
1123
+ return t.clone !== !1 && t.isMergeableObject(e) ? ke(mi(e), e, t) : e;
1144
1124
  }
1145
- function yi(e, t, r) {
1125
+ function pi(e, t, r) {
1146
1126
  return e.concat(t).map(function(n) {
1147
1127
  return st(n, r);
1148
1128
  });
1149
1129
  }
1150
- function Ei(e, t) {
1130
+ function bi(e, t) {
1151
1131
  if (!t.customMerge)
1152
1132
  return ke;
1153
1133
  var r = t.customMerge(e);
1154
1134
  return typeof r == "function" ? r : ke;
1155
1135
  }
1156
- function _i(e) {
1136
+ function gi(e) {
1157
1137
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1158
1138
  return Object.propertyIsEnumerable.call(e, t);
1159
1139
  }) : [];
1160
1140
  }
1161
- function xr(e) {
1162
- return Object.keys(e).concat(_i(e));
1141
+ function yr(e) {
1142
+ return Object.keys(e).concat(gi(e));
1163
1143
  }
1164
- function Qr(e, t) {
1144
+ function Wr(e, t) {
1165
1145
  try {
1166
1146
  return t in e;
1167
1147
  } catch {
1168
1148
  return !1;
1169
1149
  }
1170
1150
  }
1171
- function xi(e, t) {
1172
- return Qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1151
+ function vi(e, t) {
1152
+ return Wr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1173
1153
  }
1174
- function wi(e, t, r) {
1154
+ function yi(e, t, r) {
1175
1155
  var n = {};
1176
- return r.isMergeableObject(e) && xr(e).forEach(function(i) {
1156
+ return r.isMergeableObject(e) && yr(e).forEach(function(i) {
1177
1157
  n[i] = st(e[i], r);
1178
- }), xr(t).forEach(function(i) {
1179
- xi(e, i) || (Qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ei(i, r)(e[i], t[i], r) : n[i] = st(t[i], r));
1158
+ }), yr(t).forEach(function(i) {
1159
+ vi(e, i) || (Wr(e, i) && r.isMergeableObject(t[i]) ? n[i] = bi(i, r)(e[i], t[i], r) : n[i] = st(t[i], r));
1180
1160
  }), n;
1181
1161
  }
1182
1162
  function ke(e, t, r) {
1183
- r = r || {}, r.arrayMerge = r.arrayMerge || yi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = st;
1163
+ r = r || {}, r.arrayMerge = r.arrayMerge || pi, r.isMergeableObject = r.isMergeableObject || ui, r.cloneUnlessOtherwiseSpecified = st;
1184
1164
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1185
- return o ? n ? r.arrayMerge(e, t, r) : wi(e, t, r) : st(t, r);
1165
+ return o ? n ? r.arrayMerge(e, t, r) : yi(e, t, r) : st(t, r);
1186
1166
  }
1187
1167
  ke.all = function(t, r) {
1188
1168
  if (!Array.isArray(t))
@@ -1191,58 +1171,56 @@ ke.all = function(t, r) {
1191
1171
  return ke(n, i, r);
1192
1172
  }, {});
1193
1173
  };
1194
- var Ti = ke, Si = Ti;
1195
- const Ai = /* @__PURE__ */ fi(Si);
1196
- function Dt(e, t) {
1197
- var r = t && t.cache ? t.cache : Ii, n = t && t.serializer ? t.serializer : Oi, i = t && t.strategy ? t.strategy : Bi;
1174
+ var Ei = ke, _i = Ei;
1175
+ const xi = /* @__PURE__ */ ai(_i);
1176
+ function Rt(e, t) {
1177
+ var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Hi, i = t && t.strategy ? t.strategy : Si;
1198
1178
  return i(e, {
1199
1179
  cache: r,
1200
1180
  serializer: n
1201
1181
  });
1202
1182
  }
1203
- function Hi(e) {
1183
+ function wi(e) {
1204
1184
  return e == null || typeof e == "number" || typeof e == "boolean";
1205
1185
  }
1206
- function Yr(e, t, r, n) {
1207
- var i = Hi(n) ? n : r(n), o = t.get(i);
1186
+ function Ti(e, t, r, n) {
1187
+ var i = wi(n) ? n : r(n), o = t.get(i);
1208
1188
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1209
1189
  }
1210
- function Kr(e, t, r) {
1190
+ function qr(e, t, r) {
1211
1191
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1212
1192
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1213
1193
  }
1214
- function ur(e, t, r, n, i) {
1194
+ function Zr(e, t, r, n, i) {
1215
1195
  return r.bind(t, e, n, i);
1216
1196
  }
1217
- function Bi(e, t) {
1218
- var r = e.length === 1 ? Yr : Kr;
1219
- return ur(e, this, r, t.cache.create(), t.serializer);
1197
+ function Si(e, t) {
1198
+ var r = e.length === 1 ? Ti : qr;
1199
+ return Zr(e, this, r, t.cache.create(), t.serializer);
1220
1200
  }
1221
- function Pi(e, t) {
1222
- return ur(e, this, Kr, t.cache.create(), t.serializer);
1201
+ function Ai(e, t) {
1202
+ return Zr(e, this, qr, t.cache.create(), t.serializer);
1223
1203
  }
1224
- function Ci(e, t) {
1225
- return ur(e, this, Yr, t.cache.create(), t.serializer);
1226
- }
1227
- var Oi = function() {
1204
+ var Hi = function() {
1228
1205
  return JSON.stringify(arguments);
1229
- };
1230
- function lr() {
1231
- this.cache = /* @__PURE__ */ Object.create(null);
1232
- }
1233
- lr.prototype.get = function(e) {
1234
- return this.cache[e];
1235
- };
1236
- lr.prototype.set = function(e, t) {
1237
- this.cache[e] = t;
1238
- };
1239
- var Ii = {
1206
+ }, Bi = (
1207
+ /** @class */
1208
+ function() {
1209
+ function e() {
1210
+ this.cache = /* @__PURE__ */ Object.create(null);
1211
+ }
1212
+ return e.prototype.get = function(t) {
1213
+ return this.cache[t];
1214
+ }, e.prototype.set = function(t, r) {
1215
+ this.cache[t] = r;
1216
+ }, e;
1217
+ }()
1218
+ ), Pi = {
1240
1219
  create: function() {
1241
- return new lr();
1220
+ return new Bi();
1242
1221
  }
1243
- }, Ft = {
1244
- variadic: Pi,
1245
- monadic: Ci
1222
+ }, Dt = {
1223
+ variadic: Ai
1246
1224
  }, A;
1247
1225
  (function(e) {
1248
1226
  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";
@@ -1255,43 +1233,43 @@ var Ve;
1255
1233
  (function(e) {
1256
1234
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1257
1235
  })(Ve || (Ve = {}));
1258
- function wr(e) {
1236
+ function Er(e) {
1259
1237
  return e.type === D.literal;
1260
1238
  }
1261
- function Li(e) {
1239
+ function Ci(e) {
1262
1240
  return e.type === D.argument;
1263
1241
  }
1264
- function en(e) {
1242
+ function Jr(e) {
1265
1243
  return e.type === D.number;
1266
1244
  }
1267
- function tn(e) {
1245
+ function Qr(e) {
1268
1246
  return e.type === D.date;
1269
1247
  }
1270
- function rn(e) {
1248
+ function Yr(e) {
1271
1249
  return e.type === D.time;
1272
1250
  }
1273
- function nn(e) {
1251
+ function Kr(e) {
1274
1252
  return e.type === D.select;
1275
1253
  }
1276
- function on(e) {
1254
+ function en(e) {
1277
1255
  return e.type === D.plural;
1278
1256
  }
1279
- function Ni(e) {
1257
+ function Oi(e) {
1280
1258
  return e.type === D.pound;
1281
1259
  }
1282
- function sn(e) {
1260
+ function tn(e) {
1283
1261
  return e.type === D.tag;
1284
1262
  }
1285
- function an(e) {
1263
+ function rn(e) {
1286
1264
  return !!(e && typeof e == "object" && e.type === Ve.number);
1287
1265
  }
1288
- function Kt(e) {
1266
+ function Yt(e) {
1289
1267
  return !!(e && typeof e == "object" && e.type === Ve.dateTime);
1290
1268
  }
1291
- var un = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mi = /(?:[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;
1292
- function Ri(e) {
1269
+ var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
1270
+ function Li(e) {
1293
1271
  var t = {};
1294
- return e.replace(Mi, function(r) {
1272
+ return e.replace(Ii, function(r) {
1295
1273
  var n = r.length;
1296
1274
  switch (r[0]) {
1297
1275
  case "G":
@@ -1380,36 +1358,36 @@ function Ri(e) {
1380
1358
  return "";
1381
1359
  }), t;
1382
1360
  }
1383
- var Di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1384
- function Fi(e) {
1361
+ var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
+ function Mi(e) {
1385
1363
  if (e.length === 0)
1386
1364
  throw new Error("Number skeleton cannot be empty");
1387
- for (var t = e.split(Di).filter(function(p) {
1365
+ for (var t = e.split(Ni).filter(function(p) {
1388
1366
  return p.length > 0;
1389
1367
  }), r = [], n = 0, i = t; n < i.length; n++) {
1390
- var o = i[n], a = o.split("/");
1391
- if (a.length === 0)
1368
+ var o = i[n], s = o.split("/");
1369
+ if (s.length === 0)
1392
1370
  throw new Error("Invalid number skeleton");
1393
- for (var s = a[0], f = a.slice(1), h = 0, c = f; h < c.length; h++) {
1371
+ for (var a = s[0], f = s.slice(1), h = 0, c = f; h < c.length; h++) {
1394
1372
  var d = c[h];
1395
1373
  if (d.length === 0)
1396
1374
  throw new Error("Invalid number skeleton");
1397
1375
  }
1398
- r.push({ stem: s, options: f });
1376
+ r.push({ stem: a, options: f });
1399
1377
  }
1400
1378
  return r;
1401
1379
  }
1402
- function Ui(e) {
1380
+ function Ri(e) {
1403
1381
  return e.replace(/^(.*?)-/, "");
1404
1382
  }
1405
- var Tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ln = /^(@+)?(\+|#+)?[rs]?$/g, Gi = /(\*)(0+)|(#+)(0+)|(0+)/g, hn = /^(0+)$/;
1406
- function Sr(e) {
1383
+ var _r = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, on = /^(@+)?(\+|#+)?[rs]?$/g, Di = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
1384
+ function xr(e) {
1407
1385
  var t = {};
1408
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ln, function(r, n, i) {
1386
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(on, function(r, n, i) {
1409
1387
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1410
1388
  }), t;
1411
1389
  }
1412
- function fn(e) {
1390
+ function an(e) {
1413
1391
  switch (e) {
1414
1392
  case "sign-auto":
1415
1393
  return {
@@ -1449,7 +1427,7 @@ function fn(e) {
1449
1427
  };
1450
1428
  }
1451
1429
  }
1452
- function ji(e) {
1430
+ function Fi(e) {
1453
1431
  var t;
1454
1432
  if (e[0] === "E" && e[1] === "E" ? (t = {
1455
1433
  notation: "engineering"
@@ -1457,17 +1435,17 @@ function ji(e) {
1457
1435
  notation: "scientific"
1458
1436
  }, e = e.slice(1)), t) {
1459
1437
  var r = e.slice(0, 2);
1460
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hn.test(e))
1438
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
1461
1439
  throw new Error("Malformed concise eng/scientific notation");
1462
1440
  t.minimumIntegerDigits = e.length;
1463
1441
  }
1464
1442
  return t;
1465
1443
  }
1466
- function Ar(e) {
1467
- var t = {}, r = fn(e);
1444
+ function wr(e) {
1445
+ var t = {}, r = an(e);
1468
1446
  return r || t;
1469
1447
  }
1470
- function $i(e) {
1448
+ function Ui(e) {
1471
1449
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1472
1450
  var i = n[r];
1473
1451
  switch (i.stem) {
@@ -1491,7 +1469,7 @@ function $i(e) {
1491
1469
  continue;
1492
1470
  case "measure-unit":
1493
1471
  case "unit":
1494
- t.style = "unit", t.unit = Ui(i.options[0]);
1472
+ t.style = "unit", t.unit = Ri(i.options[0]);
1495
1473
  continue;
1496
1474
  case "compact-short":
1497
1475
  case "K":
@@ -1503,12 +1481,12 @@ function $i(e) {
1503
1481
  continue;
1504
1482
  case "scientific":
1505
1483
  t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(f, h) {
1506
- return P(P({}, f), Ar(h));
1484
+ return P(P({}, f), wr(h));
1507
1485
  }, {}));
1508
1486
  continue;
1509
1487
  case "engineering":
1510
1488
  t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(f, h) {
1511
- return P(P({}, f), Ar(h));
1489
+ return P(P({}, f), wr(h));
1512
1490
  }, {}));
1513
1491
  continue;
1514
1492
  case "notation-simple":
@@ -1553,7 +1531,7 @@ function $i(e) {
1553
1531
  case "integer-width":
1554
1532
  if (i.options.length > 1)
1555
1533
  throw new RangeError("integer-width stems only accept a single optional option");
1556
- i.options[0].replace(Gi, function(f, h, c, d, p, _) {
1534
+ i.options[0].replace(Di, function(f, h, c, d, p, _) {
1557
1535
  if (h)
1558
1536
  t.minimumIntegerDigits = c.length;
1559
1537
  else {
@@ -1566,28 +1544,28 @@ function $i(e) {
1566
1544
  });
1567
1545
  continue;
1568
1546
  }
1569
- if (hn.test(i.stem)) {
1547
+ if (sn.test(i.stem)) {
1570
1548
  t.minimumIntegerDigits = i.stem.length;
1571
1549
  continue;
1572
1550
  }
1573
- if (Tr.test(i.stem)) {
1551
+ if (_r.test(i.stem)) {
1574
1552
  if (i.options.length > 1)
1575
1553
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1576
- i.stem.replace(Tr, function(f, h, c, d, p, _) {
1554
+ i.stem.replace(_r, function(f, h, c, d, p, _) {
1577
1555
  return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1578
1556
  });
1579
1557
  var o = i.options[0];
1580
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Sr(o)));
1558
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), xr(o)));
1581
1559
  continue;
1582
1560
  }
1583
- if (ln.test(i.stem)) {
1584
- t = P(P({}, t), Sr(i.stem));
1561
+ if (on.test(i.stem)) {
1562
+ t = P(P({}, t), xr(i.stem));
1585
1563
  continue;
1586
1564
  }
1587
- var a = fn(i.stem);
1588
- a && (t = P(P({}, t), a));
1589
- var s = ji(i.stem);
1565
+ var s = an(i.stem);
1590
1566
  s && (t = P(P({}, t), s));
1567
+ var a = Fi(i.stem);
1568
+ a && (t = P(P({}, t), a));
1591
1569
  }
1592
1570
  return t;
1593
1571
  }
@@ -3006,23 +2984,23 @@ var bt = {
3006
2984
  "h"
3007
2985
  ]
3008
2986
  };
3009
- function ki(e, t) {
2987
+ function Gi(e, t) {
3010
2988
  for (var r = "", n = 0; n < e.length; n++) {
3011
2989
  var i = e.charAt(n);
3012
2990
  if (i === "j") {
3013
2991
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3014
2992
  o++, n++;
3015
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), f = "a", h = Vi(t);
3016
- for ((h == "H" || h == "k") && (s = 0); s-- > 0; )
2993
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", h = ji(t);
2994
+ for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3017
2995
  r += f;
3018
- for (; a-- > 0; )
2996
+ for (; s-- > 0; )
3019
2997
  r = h + r;
3020
2998
  } else
3021
2999
  i === "J" ? r += "H" : r += i;
3022
3000
  }
3023
3001
  return r;
3024
3002
  }
3025
- function Vi(e) {
3003
+ function ji(e) {
3026
3004
  var t = e.hourCycle;
3027
3005
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3028
3006
  e.hourCycles && // @ts-ignore
@@ -3044,20 +3022,20 @@ function Vi(e) {
3044
3022
  var i = bt[n || ""] || bt[r || ""] || bt["".concat(r, "-001")] || bt["001"];
3045
3023
  return i[0];
3046
3024
  }
3047
- var Ut, Xi = new RegExp("^".concat(un.source, "*")), zi = new RegExp("".concat(un.source, "*$"));
3025
+ var Ft, $i = new RegExp("^".concat(nn.source, "*")), ki = new RegExp("".concat(nn.source, "*$"));
3048
3026
  function H(e, t) {
3049
3027
  return { start: e, end: t };
3050
3028
  }
3051
- var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), qi = !!String.fromCodePoint, Zi = !!Object.fromEntries, Ji = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, Yi = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, eo = Ki ? Number.isSafeInteger : function(e) {
3029
+ var Vi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xi = !!String.fromCodePoint, zi = !!Object.fromEntries, Wi = !!String.prototype.codePointAt, qi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, Ji = !!Number.isSafeInteger, Qi = Ji ? Number.isSafeInteger : function(e) {
3052
3030
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3053
- }, er = !0;
3031
+ }, Kt = !0;
3054
3032
  try {
3055
- var to = dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3056
- er = ((Ut = to.exec("a")) === null || Ut === void 0 ? void 0 : Ut[0]) === "a";
3033
+ var Yi = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ Kt = ((Ft = Yi.exec("a")) === null || Ft === void 0 ? void 0 : Ft[0]) === "a";
3057
3035
  } catch {
3058
- er = !1;
3036
+ Kt = !1;
3059
3037
  }
3060
- var Hr = Wi ? (
3038
+ var Tr = Vi ? (
3061
3039
  // Native
3062
3040
  function(t, r, n) {
3063
3041
  return t.startsWith(r, n);
@@ -3067,31 +3045,31 @@ var Hr = Wi ? (
3067
3045
  function(t, r, n) {
3068
3046
  return t.slice(n, n + r.length) === r;
3069
3047
  }
3070
- ), tr = qi ? String.fromCodePoint : (
3048
+ ), er = Xi ? String.fromCodePoint : (
3071
3049
  // IE11
3072
3050
  function() {
3073
3051
  for (var t = [], r = 0; r < arguments.length; r++)
3074
3052
  t[r] = arguments[r];
3075
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3076
- if (a = t[o++], a > 1114111)
3077
- throw RangeError(a + " is not a valid code point");
3078
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3053
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3054
+ if (s = t[o++], s > 1114111)
3055
+ throw RangeError(s + " is not a valid code point");
3056
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3079
3057
  }
3080
3058
  return n;
3081
3059
  }
3082
- ), Br = (
3060
+ ), Sr = (
3083
3061
  // native
3084
- Zi ? Object.fromEntries : (
3062
+ zi ? Object.fromEntries : (
3085
3063
  // Ponyfill
3086
3064
  function(t) {
3087
3065
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3088
- var o = i[n], a = o[0], s = o[1];
3089
- r[a] = s;
3066
+ var o = i[n], s = o[0], a = o[1];
3067
+ r[s] = a;
3090
3068
  }
3091
3069
  return r;
3092
3070
  }
3093
3071
  )
3094
- ), cn = Ji ? (
3072
+ ), un = Wi ? (
3095
3073
  // Native
3096
3074
  function(t, r) {
3097
3075
  return t.codePointAt(r);
@@ -3105,7 +3083,7 @@ var Hr = Wi ? (
3105
3083
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3106
3084
  }
3107
3085
  }
3108
- ), ro = Qi ? (
3086
+ ), Ki = qi ? (
3109
3087
  // Native
3110
3088
  function(t) {
3111
3089
  return t.trimStart();
@@ -3113,9 +3091,9 @@ var Hr = Wi ? (
3113
3091
  ) : (
3114
3092
  // Ponyfill
3115
3093
  function(t) {
3116
- return t.replace(Xi, "");
3094
+ return t.replace($i, "");
3117
3095
  }
3118
- ), no = Yi ? (
3096
+ ), eo = Zi ? (
3119
3097
  // Native
3120
3098
  function(t) {
3121
3099
  return t.trimEnd();
@@ -3123,32 +3101,32 @@ var Hr = Wi ? (
3123
3101
  ) : (
3124
3102
  // Ponyfill
3125
3103
  function(t) {
3126
- return t.replace(zi, "");
3104
+ return t.replace(ki, "");
3127
3105
  }
3128
3106
  );
3129
- function dn(e, t) {
3107
+ function ln(e, t) {
3130
3108
  return new RegExp(e, t);
3131
3109
  }
3132
- var rr;
3133
- if (er) {
3134
- var Pr = dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3135
- rr = function(t, r) {
3110
+ var tr;
3111
+ if (Kt) {
3112
+ var Ar = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ tr = function(t, r) {
3136
3114
  var n;
3137
- Pr.lastIndex = r;
3138
- var i = Pr.exec(t);
3115
+ Ar.lastIndex = r;
3116
+ var i = Ar.exec(t);
3139
3117
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3140
3118
  };
3141
3119
  } else
3142
- rr = function(t, r) {
3120
+ tr = function(t, r) {
3143
3121
  for (var n = []; ; ) {
3144
- var i = cn(t, r);
3145
- if (i === void 0 || mn(i) || ao(i))
3122
+ var i = un(t, r);
3123
+ if (i === void 0 || hn(i) || io(i))
3146
3124
  break;
3147
3125
  n.push(i), r += i >= 65536 ? 2 : 1;
3148
3126
  }
3149
- return tr.apply(void 0, n);
3127
+ return er.apply(void 0, n);
3150
3128
  };
3151
- var io = (
3129
+ var to = (
3152
3130
  /** @class */
3153
3131
  function() {
3154
3132
  function e(t, r) {
@@ -3162,33 +3140,33 @@ var io = (
3162
3140
  for (var i = []; !this.isEOF(); ) {
3163
3141
  var o = this.char();
3164
3142
  if (o === 123) {
3165
- var a = this.parseArgument(t, n);
3166
- if (a.err)
3167
- return a;
3168
- i.push(a.val);
3143
+ var s = this.parseArgument(t, n);
3144
+ if (s.err)
3145
+ return s;
3146
+ i.push(s.val);
3169
3147
  } else {
3170
3148
  if (o === 125 && t > 0)
3171
3149
  break;
3172
3150
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3173
- var s = this.clonePosition();
3151
+ var a = this.clonePosition();
3174
3152
  this.bump(), i.push({
3175
3153
  type: D.pound,
3176
- location: H(s, this.clonePosition())
3154
+ location: H(a, this.clonePosition())
3177
3155
  });
3178
3156
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3179
3157
  if (n)
3180
3158
  break;
3181
3159
  return this.error(A.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3182
- } else if (o === 60 && !this.ignoreTag && nr(this.peek() || 0)) {
3183
- var a = this.parseTag(t, r);
3184
- if (a.err)
3185
- return a;
3186
- i.push(a.val);
3160
+ } else if (o === 60 && !this.ignoreTag && rr(this.peek() || 0)) {
3161
+ var s = this.parseTag(t, r);
3162
+ if (s.err)
3163
+ return s;
3164
+ i.push(s.val);
3187
3165
  } else {
3188
- var a = this.parseLiteral(t, r);
3189
- if (a.err)
3190
- return a;
3191
- i.push(a.val);
3166
+ var s = this.parseLiteral(t, r);
3167
+ if (s.err)
3168
+ return s;
3169
+ i.push(s.val);
3192
3170
  }
3193
3171
  }
3194
3172
  }
@@ -3210,27 +3188,27 @@ var io = (
3210
3188
  var o = this.parseMessage(t + 1, r, !0);
3211
3189
  if (o.err)
3212
3190
  return o;
3213
- var a = o.val, s = this.clonePosition();
3191
+ var s = o.val, a = this.clonePosition();
3214
3192
  if (this.bumpIf("</")) {
3215
- if (this.isEOF() || !nr(this.char()))
3216
- return this.error(A.INVALID_TAG, H(s, this.clonePosition()));
3193
+ if (this.isEOF() || !rr(this.char()))
3194
+ return this.error(A.INVALID_TAG, H(a, this.clonePosition()));
3217
3195
  var f = this.clonePosition(), h = this.parseTagName();
3218
3196
  return i !== h ? this.error(A.UNMATCHED_CLOSING_TAG, H(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3219
3197
  val: {
3220
3198
  type: D.tag,
3221
3199
  value: i,
3222
- children: a,
3200
+ children: s,
3223
3201
  location: H(n, this.clonePosition())
3224
3202
  },
3225
3203
  err: null
3226
- } : this.error(A.INVALID_TAG, H(s, this.clonePosition())));
3204
+ } : this.error(A.INVALID_TAG, H(a, this.clonePosition())));
3227
3205
  } else
3228
3206
  return this.error(A.UNCLOSED_TAG, H(n, this.clonePosition()));
3229
3207
  } else
3230
3208
  return this.error(A.INVALID_TAG, H(n, this.clonePosition()));
3231
3209
  }, e.prototype.parseTagName = function() {
3232
3210
  var t = this.offset();
3233
- for (this.bump(); !this.isEOF() && so(this.char()); )
3211
+ for (this.bump(); !this.isEOF() && no(this.char()); )
3234
3212
  this.bump();
3235
3213
  return this.message.slice(t, this.offset());
3236
3214
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3240,16 +3218,16 @@ var io = (
3240
3218
  i += o;
3241
3219
  continue;
3242
3220
  }
3243
- var a = this.tryParseUnquoted(t, r);
3244
- if (a) {
3245
- i += a;
3246
- continue;
3247
- }
3248
- var s = this.tryParseLeftAngleBracket();
3221
+ var s = this.tryParseUnquoted(t, r);
3249
3222
  if (s) {
3250
3223
  i += s;
3251
3224
  continue;
3252
3225
  }
3226
+ var a = this.tryParseLeftAngleBracket();
3227
+ if (a) {
3228
+ i += a;
3229
+ continue;
3230
+ }
3253
3231
  break;
3254
3232
  }
3255
3233
  var f = H(n, this.clonePosition());
@@ -3259,7 +3237,7 @@ var io = (
3259
3237
  };
3260
3238
  }, e.prototype.tryParseLeftAngleBracket = function() {
3261
3239
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3262
- !oo(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
+ !ro(this.peek() || 0)) ? (this.bump(), "<") : null;
3263
3241
  }, e.prototype.tryParseQuote = function(t) {
3264
3242
  if (this.isEOF() || this.char() !== 39)
3265
3243
  return null;
@@ -3293,12 +3271,12 @@ var io = (
3293
3271
  r.push(n);
3294
3272
  this.bump();
3295
3273
  }
3296
- return tr.apply(void 0, r);
3274
+ return er.apply(void 0, r);
3297
3275
  }, e.prototype.tryParseUnquoted = function(t, r) {
3298
3276
  if (this.isEOF())
3299
3277
  return null;
3300
3278
  var n = this.char();
3301
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tr(n));
3279
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), er(n));
3302
3280
  }, e.prototype.parseArgument = function(t, r) {
3303
3281
  var n = this.clonePosition();
3304
3282
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3327,15 +3305,15 @@ var io = (
3327
3305
  return this.error(A.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3328
3306
  }
3329
3307
  }, e.prototype.parseIdentifierIfPossible = function() {
3330
- var t = this.clonePosition(), r = this.offset(), n = rr(this.message, r), i = r + n.length;
3308
+ var t = this.clonePosition(), r = this.offset(), n = tr(this.message, r), i = r + n.length;
3331
3309
  this.bumpTo(i);
3332
- var o = this.clonePosition(), a = H(t, o);
3333
- return { value: n, location: a };
3310
+ var o = this.clonePosition(), s = H(t, o);
3311
+ return { value: n, location: s };
3334
3312
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3335
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, f = this.clonePosition();
3336
- switch (s) {
3313
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
3314
+ switch (a) {
3337
3315
  case "":
3338
- return this.error(A.EXPECT_ARGUMENT_TYPE, H(a, f));
3316
+ return this.error(A.EXPECT_ARGUMENT_TYPE, H(s, f));
3339
3317
  case "number":
3340
3318
  case "date":
3341
3319
  case "time": {
@@ -3346,7 +3324,7 @@ var io = (
3346
3324
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3347
3325
  if (d.err)
3348
3326
  return d;
3349
- var p = no(d.val);
3327
+ var p = eo(d.val);
3350
3328
  if (p.length === 0)
3351
3329
  return this.error(A.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3352
3330
  var _ = H(c, this.clonePosition());
@@ -3356,9 +3334,9 @@ var io = (
3356
3334
  if (O.err)
3357
3335
  return O;
3358
3336
  var B = H(i, this.clonePosition());
3359
- if (h && Hr(h?.style, "::", 0)) {
3360
- var ee = ro(h.style.slice(2));
3361
- if (s === "number") {
3337
+ if (h && Tr(h?.style, "::", 0)) {
3338
+ var ee = Ki(h.style.slice(2));
3339
+ if (a === "number") {
3362
3340
  var d = this.parseNumberSkeletonFromString(ee, h.styleLocation);
3363
3341
  return d.err ? d : {
3364
3342
  val: { type: D.number, value: n, location: B, style: d.val },
@@ -3368,13 +3346,13 @@ var io = (
3368
3346
  if (ee.length === 0)
3369
3347
  return this.error(A.EXPECT_DATE_TIME_SKELETON, B);
3370
3348
  var de = ee;
3371
- this.locale && (de = ki(ee, this.locale));
3349
+ this.locale && (de = Gi(ee, this.locale));
3372
3350
  var p = {
3373
3351
  type: Ve.dateTime,
3374
3352
  pattern: de,
3375
3353
  location: h.styleLocation,
3376
- parsedOptions: this.shouldParseSkeletons ? Ri(de) : {}
3377
- }, ie = s === "date" ? D.date : D.time;
3354
+ parsedOptions: this.shouldParseSkeletons ? Li(de) : {}
3355
+ }, ie = a === "date" ? D.date : D.time;
3378
3356
  return {
3379
3357
  val: { type: ie, value: n, location: B, style: p },
3380
3358
  err: null
@@ -3383,7 +3361,7 @@ var io = (
3383
3361
  }
3384
3362
  return {
3385
3363
  val: {
3386
- type: s === "number" ? D.number : s === "date" ? D.date : D.time,
3364
+ type: a === "number" ? D.number : a === "date" ? D.date : D.time,
3387
3365
  value: n,
3388
3366
  location: B,
3389
3367
  style: (o = h?.style) !== null && o !== void 0 ? o : null
@@ -3399,7 +3377,7 @@ var io = (
3399
3377
  return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, H(M, P({}, M)));
3400
3378
  this.bumpSpace();
3401
3379
  var $ = this.parseIdentifierIfPossible(), Z = 0;
3402
- if (s !== "select" && $.value === "offset") {
3380
+ if (a !== "select" && $.value === "offset") {
3403
3381
  if (!this.bumpIf(":"))
3404
3382
  return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3405
3383
  this.bumpSpace();
@@ -3408,18 +3386,18 @@ var io = (
3408
3386
  return d;
3409
3387
  this.bumpSpace(), $ = this.parseIdentifierIfPossible(), Z = d.val;
3410
3388
  }
3411
- var le = this.tryParsePluralOrSelectOptions(t, s, r, $);
3389
+ var le = this.tryParsePluralOrSelectOptions(t, a, r, $);
3412
3390
  if (le.err)
3413
3391
  return le;
3414
3392
  var O = this.tryParseArgumentClose(i);
3415
3393
  if (O.err)
3416
3394
  return O;
3417
3395
  var be = H(i, this.clonePosition());
3418
- return s === "select" ? {
3396
+ return a === "select" ? {
3419
3397
  val: {
3420
3398
  type: D.select,
3421
3399
  value: n,
3422
- options: Br(le.val),
3400
+ options: Sr(le.val),
3423
3401
  location: be
3424
3402
  },
3425
3403
  err: null
@@ -3427,16 +3405,16 @@ var io = (
3427
3405
  val: {
3428
3406
  type: D.plural,
3429
3407
  value: n,
3430
- options: Br(le.val),
3408
+ options: Sr(le.val),
3431
3409
  offset: Z,
3432
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3410
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3433
3411
  location: be
3434
3412
  },
3435
3413
  err: null
3436
3414
  };
3437
3415
  }
3438
3416
  default:
3439
- return this.error(A.INVALID_ARGUMENT_TYPE, H(a, f));
3417
+ return this.error(A.INVALID_ARGUMENT_TYPE, H(s, f));
3440
3418
  }
3441
3419
  }, e.prototype.tryParseArgumentClose = function(t) {
3442
3420
  return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3478,7 +3456,7 @@ var io = (
3478
3456
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3479
3457
  var n = [];
3480
3458
  try {
3481
- n = Fi(t);
3459
+ n = Mi(t);
3482
3460
  } catch {
3483
3461
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3484
3462
  }
@@ -3487,12 +3465,12 @@ var io = (
3487
3465
  type: Ve.number,
3488
3466
  tokens: n,
3489
3467
  location: r,
3490
- parsedOptions: this.shouldParseSkeletons ? $i(n) : {}
3468
+ parsedOptions: this.shouldParseSkeletons ? Ui(n) : {}
3491
3469
  },
3492
3470
  err: null
3493
3471
  };
3494
3472
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3495
- for (var o, a = !1, s = [], f = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
3473
+ for (var o, s = !1, a = [], f = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
3496
3474
  if (h.length === 0) {
3497
3475
  var d = this.clonePosition();
3498
3476
  if (r !== "select" && this.bumpIf("=")) {
@@ -3505,7 +3483,7 @@ var io = (
3505
3483
  }
3506
3484
  if (f.has(h))
3507
3485
  return this.error(r === "select" ? A.DUPLICATE_SELECT_ARGUMENT_SELECTOR : A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3508
- h === "other" && (a = !0), this.bumpSpace();
3486
+ h === "other" && (s = !0), this.bumpSpace();
3509
3487
  var _ = this.clonePosition();
3510
3488
  if (!this.bumpIf("{"))
3511
3489
  return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
@@ -3515,7 +3493,7 @@ var io = (
3515
3493
  var B = this.tryParseArgumentClose(_);
3516
3494
  if (B.err)
3517
3495
  return B;
3518
- s.push([
3496
+ a.push([
3519
3497
  h,
3520
3498
  {
3521
3499
  value: O.val,
@@ -3523,19 +3501,19 @@ var io = (
3523
3501
  }
3524
3502
  ]), f.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, c = o.location;
3525
3503
  }
3526
- return s.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(A.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3504
+ return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3527
3505
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3528
3506
  var n = 1, i = this.clonePosition();
3529
3507
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3530
- for (var o = !1, a = 0; !this.isEOF(); ) {
3531
- var s = this.char();
3532
- if (s >= 48 && s <= 57)
3533
- o = !0, a = a * 10 + (s - 48), this.bump();
3508
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3509
+ var a = this.char();
3510
+ if (a >= 48 && a <= 57)
3511
+ o = !0, s = s * 10 + (a - 48), this.bump();
3534
3512
  else
3535
3513
  break;
3536
3514
  }
3537
3515
  var f = H(i, this.clonePosition());
3538
- return o ? (a *= n, eo(a) ? { val: a, err: null } : this.error(r, f)) : this.error(t, f);
3516
+ return o ? (s *= n, Qi(s) ? { val: s, err: null } : this.error(r, f)) : this.error(t, f);
3539
3517
  }, e.prototype.offset = function() {
3540
3518
  return this.position.offset;
3541
3519
  }, e.prototype.isEOF = function() {
@@ -3550,7 +3528,7 @@ var io = (
3550
3528
  var t = this.position.offset;
3551
3529
  if (t >= this.message.length)
3552
3530
  throw Error("out of bound");
3553
- var r = cn(this.message, t);
3531
+ var r = un(this.message, t);
3554
3532
  if (r === void 0)
3555
3533
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3556
3534
  return r;
@@ -3569,7 +3547,7 @@ var io = (
3569
3547
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3570
3548
  }
3571
3549
  }, e.prototype.bumpIf = function(t) {
3572
- if (Hr(this.message, t, this.offset())) {
3550
+ if (Tr(this.message, t, this.offset())) {
3573
3551
  for (var r = 0; r < t.length; r++)
3574
3552
  this.bump();
3575
3553
  return !0;
@@ -3591,7 +3569,7 @@ var io = (
3591
3569
  break;
3592
3570
  }
3593
3571
  }, e.prototype.bumpSpace = function() {
3594
- for (; !this.isEOF() && mn(this.char()); )
3572
+ for (; !this.isEOF() && hn(this.char()); )
3595
3573
  this.bump();
3596
3574
  }, e.prototype.peek = function() {
3597
3575
  if (this.isEOF())
@@ -3601,38 +3579,38 @@ var io = (
3601
3579
  }, e;
3602
3580
  }()
3603
3581
  );
3604
- function nr(e) {
3582
+ function rr(e) {
3605
3583
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3606
3584
  }
3607
- function oo(e) {
3608
- return nr(e) || e === 47;
3585
+ function ro(e) {
3586
+ return rr(e) || e === 47;
3609
3587
  }
3610
- function so(e) {
3588
+ function no(e) {
3611
3589
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3612
3590
  }
3613
- function mn(e) {
3591
+ function hn(e) {
3614
3592
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3615
3593
  }
3616
- function ao(e) {
3594
+ function io(e) {
3617
3595
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3618
3596
  }
3619
- function ir(e) {
3597
+ function nr(e) {
3620
3598
  e.forEach(function(t) {
3621
- if (delete t.location, nn(t) || on(t))
3599
+ if (delete t.location, Kr(t) || en(t))
3622
3600
  for (var r in t.options)
3623
- delete t.options[r].location, ir(t.options[r].value);
3601
+ delete t.options[r].location, nr(t.options[r].value);
3624
3602
  else
3625
- en(t) && an(t.style) || (tn(t) || rn(t)) && Kt(t.style) ? delete t.style.location : sn(t) && ir(t.children);
3603
+ Jr(t) && rn(t.style) || (Qr(t) || Yr(t)) && Yt(t.style) ? delete t.style.location : tn(t) && nr(t.children);
3626
3604
  });
3627
3605
  }
3628
- function uo(e, t) {
3606
+ function oo(e, t) {
3629
3607
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3630
- var r = new io(e, t).parse();
3608
+ var r = new to(e, t).parse();
3631
3609
  if (r.err) {
3632
3610
  var n = SyntaxError(A[r.err.kind]);
3633
3611
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3634
3612
  }
3635
- return t?.captureLocation || ir(r.val), r.val;
3613
+ return t?.captureLocation || nr(r.val), r.val;
3636
3614
  }
3637
3615
  var Xe;
3638
3616
  (function(e) {
@@ -3650,7 +3628,7 @@ var At = (
3650
3628
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3651
3629
  }, t;
3652
3630
  }(Error)
3653
- ), Cr = (
3631
+ ), Hr = (
3654
3632
  /** @class */
3655
3633
  function(e) {
3656
3634
  xe(t, e);
@@ -3659,7 +3637,7 @@ var At = (
3659
3637
  }
3660
3638
  return t;
3661
3639
  }(At)
3662
- ), lo = (
3640
+ ), so = (
3663
3641
  /** @class */
3664
3642
  function(e) {
3665
3643
  xe(t, e);
@@ -3668,7 +3646,7 @@ var At = (
3668
3646
  }
3669
3647
  return t;
3670
3648
  }(At)
3671
- ), ho = (
3649
+ ), ao = (
3672
3650
  /** @class */
3673
3651
  function(e) {
3674
3652
  xe(t, e);
@@ -3681,34 +3659,34 @@ var At = (
3681
3659
  (function(e) {
3682
3660
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3683
3661
  })(K || (K = {}));
3684
- function fo(e) {
3662
+ function uo(e) {
3685
3663
  return e.length < 2 ? e : e.reduce(function(t, r) {
3686
3664
  var n = t[t.length - 1];
3687
3665
  return !n || n.type !== K.literal || r.type !== K.literal ? t.push(r) : n.value += r.value, t;
3688
3666
  }, []);
3689
3667
  }
3690
- function co(e) {
3668
+ function lo(e) {
3691
3669
  return typeof e == "function";
3692
3670
  }
3693
- function yt(e, t, r, n, i, o, a) {
3694
- if (e.length === 1 && wr(e[0]))
3671
+ function yt(e, t, r, n, i, o, s) {
3672
+ if (e.length === 1 && Er(e[0]))
3695
3673
  return [
3696
3674
  {
3697
3675
  type: K.literal,
3698
3676
  value: e[0].value
3699
3677
  }
3700
3678
  ];
3701
- for (var s = [], f = 0, h = e; f < h.length; f++) {
3679
+ for (var a = [], f = 0, h = e; f < h.length; f++) {
3702
3680
  var c = h[f];
3703
- if (wr(c)) {
3704
- s.push({
3681
+ if (Er(c)) {
3682
+ a.push({
3705
3683
  type: K.literal,
3706
3684
  value: c.value
3707
3685
  });
3708
3686
  continue;
3709
3687
  }
3710
- if (Ni(c)) {
3711
- typeof o == "number" && s.push({
3688
+ if (Oi(c)) {
3689
+ typeof o == "number" && a.push({
3712
3690
  type: K.literal,
3713
3691
  value: r.getNumberFormat(t).format(o)
3714
3692
  });
@@ -3716,89 +3694,89 @@ function yt(e, t, r, n, i, o, a) {
3716
3694
  }
3717
3695
  var d = c.value;
3718
3696
  if (!(i && d in i))
3719
- throw new ho(d, a);
3697
+ throw new ao(d, s);
3720
3698
  var p = i[d];
3721
- if (Li(c)) {
3722
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3699
+ if (Ci(c)) {
3700
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3723
3701
  type: typeof p == "string" ? K.literal : K.object,
3724
3702
  value: p
3725
3703
  });
3726
3704
  continue;
3727
3705
  }
3728
- if (tn(c)) {
3729
- var _ = typeof c.style == "string" ? n.date[c.style] : Kt(c.style) ? c.style.parsedOptions : void 0;
3730
- s.push({
3706
+ if (Qr(c)) {
3707
+ var _ = typeof c.style == "string" ? n.date[c.style] : Yt(c.style) ? c.style.parsedOptions : void 0;
3708
+ a.push({
3731
3709
  type: K.literal,
3732
3710
  value: r.getDateTimeFormat(t, _).format(p)
3733
3711
  });
3734
3712
  continue;
3735
3713
  }
3736
- if (rn(c)) {
3737
- var _ = typeof c.style == "string" ? n.time[c.style] : Kt(c.style) ? c.style.parsedOptions : n.time.medium;
3738
- s.push({
3714
+ if (Yr(c)) {
3715
+ var _ = typeof c.style == "string" ? n.time[c.style] : Yt(c.style) ? c.style.parsedOptions : n.time.medium;
3716
+ a.push({
3739
3717
  type: K.literal,
3740
3718
  value: r.getDateTimeFormat(t, _).format(p)
3741
3719
  });
3742
3720
  continue;
3743
3721
  }
3744
- if (en(c)) {
3745
- var _ = typeof c.style == "string" ? n.number[c.style] : an(c.style) ? c.style.parsedOptions : void 0;
3746
- _ && _.scale && (p = p * (_.scale || 1)), s.push({
3722
+ if (Jr(c)) {
3723
+ var _ = typeof c.style == "string" ? n.number[c.style] : rn(c.style) ? c.style.parsedOptions : void 0;
3724
+ _ && _.scale && (p = p * (_.scale || 1)), a.push({
3747
3725
  type: K.literal,
3748
3726
  value: r.getNumberFormat(t, _).format(p)
3749
3727
  });
3750
3728
  continue;
3751
3729
  }
3752
- if (sn(c)) {
3730
+ if (tn(c)) {
3753
3731
  var O = c.children, B = c.value, ee = i[B];
3754
- if (!co(ee))
3755
- throw new lo(B, "function", a);
3732
+ if (!lo(ee))
3733
+ throw new so(B, "function", s);
3756
3734
  var de = yt(O, t, r, n, i, o), ie = ee(de.map(function(Z) {
3757
3735
  return Z.value;
3758
3736
  }));
3759
- Array.isArray(ie) || (ie = [ie]), s.push.apply(s, ie.map(function(Z) {
3737
+ Array.isArray(ie) || (ie = [ie]), a.push.apply(a, ie.map(function(Z) {
3760
3738
  return {
3761
3739
  type: typeof Z == "string" ? K.literal : K.object,
3762
3740
  value: Z
3763
3741
  };
3764
3742
  }));
3765
3743
  }
3766
- if (nn(c)) {
3744
+ if (Kr(c)) {
3767
3745
  var M = c.options[p] || c.options.other;
3768
3746
  if (!M)
3769
- throw new Cr(c.value, p, Object.keys(c.options), a);
3770
- s.push.apply(s, yt(M.value, t, r, n, i));
3747
+ throw new Hr(c.value, p, Object.keys(c.options), s);
3748
+ a.push.apply(a, yt(M.value, t, r, n, i));
3771
3749
  continue;
3772
3750
  }
3773
- if (on(c)) {
3751
+ if (en(c)) {
3774
3752
  var M = c.options["=".concat(p)];
3775
3753
  if (!M) {
3776
3754
  if (!Intl.PluralRules)
3777
3755
  throw new At(`Intl.PluralRules is not available in this environment.
3778
3756
  Try polyfilling it using "@formatjs/intl-pluralrules"
3779
- `, Xe.MISSING_INTL_API, a);
3757
+ `, Xe.MISSING_INTL_API, s);
3780
3758
  var $ = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3781
3759
  M = c.options[$] || c.options.other;
3782
3760
  }
3783
3761
  if (!M)
3784
- throw new Cr(c.value, p, Object.keys(c.options), a);
3785
- s.push.apply(s, yt(M.value, t, r, n, i, p - (c.offset || 0)));
3762
+ throw new Hr(c.value, p, Object.keys(c.options), s);
3763
+ a.push.apply(a, yt(M.value, t, r, n, i, p - (c.offset || 0)));
3786
3764
  continue;
3787
3765
  }
3788
3766
  }
3789
- return fo(s);
3767
+ return uo(a);
3790
3768
  }
3791
- function mo(e, t) {
3769
+ function ho(e, t) {
3792
3770
  return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3793
3771
  return r[n] = P(P({}, e[n]), t[n] || {}), r;
3794
3772
  }, {})) : e;
3795
3773
  }
3796
- function po(e, t) {
3774
+ function fo(e, t) {
3797
3775
  return t ? Object.keys(e).reduce(function(r, n) {
3798
- return r[n] = mo(e[n], t[n]), r;
3776
+ return r[n] = ho(e[n], t[n]), r;
3799
3777
  }, P({}, e)) : e;
3800
3778
  }
3801
- function Gt(e) {
3779
+ function Ut(e) {
3802
3780
  return {
3803
3781
  create: function() {
3804
3782
  return {
@@ -3812,39 +3790,39 @@ function Gt(e) {
3812
3790
  }
3813
3791
  };
3814
3792
  }
3815
- function bo(e) {
3793
+ function co(e) {
3816
3794
  return e === void 0 && (e = {
3817
3795
  number: {},
3818
3796
  dateTime: {},
3819
3797
  pluralRules: {}
3820
3798
  }), {
3821
- getNumberFormat: Dt(function() {
3799
+ getNumberFormat: Rt(function() {
3822
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3801
  r[n] = arguments[n];
3824
3802
  return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3825
3803
  }, {
3826
- cache: Gt(e.number),
3827
- strategy: Ft.variadic
3804
+ cache: Ut(e.number),
3805
+ strategy: Dt.variadic
3828
3806
  }),
3829
- getDateTimeFormat: Dt(function() {
3807
+ getDateTimeFormat: Rt(function() {
3830
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3831
3809
  r[n] = arguments[n];
3832
3810
  return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3833
3811
  }, {
3834
- cache: Gt(e.dateTime),
3835
- strategy: Ft.variadic
3812
+ cache: Ut(e.dateTime),
3813
+ strategy: Dt.variadic
3836
3814
  }),
3837
- getPluralRules: Dt(function() {
3815
+ getPluralRules: Rt(function() {
3838
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3839
3817
  r[n] = arguments[n];
3840
3818
  return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3841
3819
  }, {
3842
- cache: Gt(e.pluralRules),
3843
- strategy: Ft.variadic
3820
+ cache: Ut(e.pluralRules),
3821
+ strategy: Dt.variadic
3844
3822
  })
3845
3823
  };
3846
3824
  }
3847
- var go = (
3825
+ var mo = (
3848
3826
  /** @class */
3849
3827
  function() {
3850
3828
  function e(t, r, n, i) {
@@ -3874,15 +3852,15 @@ var go = (
3874
3852
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3875
3853
  if (this.message = t, !e.__parse)
3876
3854
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3877
- var a = i || {};
3878
- a.formatters;
3879
- var s = qn(a, ["formatters"]);
3880
- this.ast = e.__parse(t, P(P({}, s), { locale: this.resolvedLocale }));
3855
+ var s = i || {};
3856
+ s.formatters;
3857
+ var a = Vn(s, ["formatters"]);
3858
+ this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3881
3859
  } else
3882
3860
  this.ast = t;
3883
3861
  if (!Array.isArray(this.ast))
3884
3862
  throw new TypeError("A message must be provided as a String or AST.");
3885
- this.formats = po(e.formats, n), this.formatters = i && i.formatters || bo(this.formatterCache);
3863
+ this.formats = fo(e.formats, n), this.formatters = i && i.formatters || co(this.formatterCache);
3886
3864
  }
3887
3865
  return Object.defineProperty(e, "defaultLocale", {
3888
3866
  get: function() {
@@ -3895,7 +3873,7 @@ var go = (
3895
3873
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3896
3874
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3897
3875
  }
3898
- }, e.__parse = uo, e.formats = {
3876
+ }, e.__parse = oo, e.formats = {
3899
3877
  number: {
3900
3878
  integer: {
3901
3879
  maximumFractionDigits: 0
@@ -3956,7 +3934,7 @@ var go = (
3956
3934
  }, e;
3957
3935
  }()
3958
3936
  );
3959
- function vo(e, t) {
3937
+ function po(e, t) {
3960
3938
  if (t == null)
3961
3939
  return;
3962
3940
  if (t in e)
@@ -3977,92 +3955,92 @@ function vo(e, t) {
3977
3955
  n = void 0;
3978
3956
  return n;
3979
3957
  }
3980
- const Se = {}, yo = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = r), r), pn = (e, t) => {
3958
+ const Se = {}, bo = (e, t, r) => r && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = r), r), fn = (e, t) => {
3981
3959
  if (t == null)
3982
3960
  return;
3983
3961
  if (t in Se && e in Se[t])
3984
3962
  return Se[t][e];
3985
3963
  const r = Ht(t);
3986
3964
  for (let n = 0; n < r.length; n++) {
3987
- const i = r[n], o = _o(i, e);
3965
+ const i = r[n], o = vo(i, e);
3988
3966
  if (o)
3989
- return yo(e, t, o);
3967
+ return bo(e, t, o);
3990
3968
  }
3991
3969
  };
3992
- let hr;
3970
+ let ar;
3993
3971
  const qe = St({});
3994
- function Eo(e) {
3995
- return hr[e] || null;
3972
+ function go(e) {
3973
+ return ar[e] || null;
3996
3974
  }
3997
- function bn(e) {
3998
- return e in hr;
3975
+ function cn(e) {
3976
+ return e in ar;
3999
3977
  }
4000
- function _o(e, t) {
4001
- if (!bn(e))
3978
+ function vo(e, t) {
3979
+ if (!cn(e))
4002
3980
  return null;
4003
- const r = Eo(e);
4004
- return vo(r, t);
3981
+ const r = go(e);
3982
+ return po(r, t);
4005
3983
  }
4006
- function xo(e) {
3984
+ function yo(e) {
4007
3985
  if (e == null)
4008
3986
  return;
4009
3987
  const t = Ht(e);
4010
3988
  for (let r = 0; r < t.length; r++) {
4011
3989
  const n = t[r];
4012
- if (bn(n))
3990
+ if (cn(n))
4013
3991
  return n;
4014
3992
  }
4015
3993
  }
4016
- function gn(e, ...t) {
4017
- delete Se[e], qe.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
3994
+ function dn(e, ...t) {
3995
+ delete Se[e], qe.update((r) => (r[e] = xi.all([r[e] || {}, ...t]), r));
4018
3996
  }
4019
3997
  We(
4020
3998
  [qe],
4021
3999
  ([e]) => Object.keys(e)
4022
4000
  );
4023
- qe.subscribe((e) => hr = e);
4001
+ qe.subscribe((e) => ar = e);
4024
4002
  const Et = {};
4025
- function wo(e, t) {
4003
+ function Eo(e, t) {
4026
4004
  Et[e].delete(t), Et[e].size === 0 && delete Et[e];
4027
4005
  }
4028
- function vn(e) {
4006
+ function mn(e) {
4029
4007
  return Et[e];
4030
4008
  }
4031
- function To(e) {
4009
+ function _o(e) {
4032
4010
  return Ht(e).map((t) => {
4033
- const r = vn(t);
4011
+ const r = mn(t);
4034
4012
  return [t, r ? [...r] : []];
4035
4013
  }).filter(([, t]) => t.length > 0);
4036
4014
  }
4037
- function or(e) {
4015
+ function ir(e) {
4038
4016
  return e == null ? !1 : Ht(e).some(
4039
4017
  (t) => {
4040
4018
  var r;
4041
- return (r = vn(t)) == null ? void 0 : r.size;
4019
+ return (r = mn(t)) == null ? void 0 : r.size;
4042
4020
  }
4043
4021
  );
4044
4022
  }
4045
- function So(e, t) {
4023
+ function xo(e, t) {
4046
4024
  return Promise.all(
4047
- t.map((n) => (wo(e, n), n().then((i) => i.default || i)))
4048
- ).then((n) => gn(e, ...n));
4025
+ t.map((n) => (Eo(e, n), n().then((i) => i.default || i)))
4026
+ ).then((n) => dn(e, ...n));
4049
4027
  }
4050
4028
  const rt = {};
4051
- function yn(e) {
4052
- if (!or(e))
4029
+ function pn(e) {
4030
+ if (!ir(e))
4053
4031
  return e in rt ? rt[e] : Promise.resolve();
4054
- const t = To(e);
4032
+ const t = _o(e);
4055
4033
  return rt[e] = Promise.all(
4056
4034
  t.map(
4057
- ([r, n]) => So(r, n)
4035
+ ([r, n]) => xo(r, n)
4058
4036
  )
4059
4037
  ).then(() => {
4060
- if (or(e))
4061
- return yn(e);
4038
+ if (ir(e))
4039
+ return pn(e);
4062
4040
  delete rt[e];
4063
4041
  }), rt[e];
4064
4042
  }
4065
- const Ao = {
4043
+ const wo = {
4066
4044
  number: {
4067
4045
  scientific: { notation: "scientific" },
4068
4046
  engineering: { notation: "engineering" },
@@ -4091,57 +4069,57 @@ const Ao = {
4091
4069
  timeZoneName: "short"
4092
4070
  }
4093
4071
  }
4094
- }, Ho = {
4072
+ }, To = {
4095
4073
  fallbackLocale: null,
4096
4074
  loadingDelay: 200,
4097
- formats: Ao,
4075
+ formats: wo,
4098
4076
  warnOnMissingMessages: !0,
4099
4077
  handleMissingMessage: void 0,
4100
4078
  ignoreTag: !0
4101
- }, Bo = Ho;
4079
+ }, So = To;
4102
4080
  function ze() {
4103
- return Bo;
4081
+ return So;
4104
4082
  }
4105
- const jt = St(!1);
4106
- var Po = Object.defineProperty, Co = Object.defineProperties, Oo = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, Io = Object.prototype.hasOwnProperty, Lo = Object.prototype.propertyIsEnumerable, Ir = (e, t, r) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, No = (e, t) => {
4083
+ const Gt = St(!1);
4084
+ var Ao = Object.defineProperty, Ho = Object.defineProperties, Bo = Object.getOwnPropertyDescriptors, Br = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, Co = Object.prototype.propertyIsEnumerable, Pr = (e, t, r) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oo = (e, t) => {
4107
4085
  for (var r in t || (t = {}))
4108
- Io.call(t, r) && Ir(e, r, t[r]);
4109
- if (Or)
4110
- for (var r of Or(t))
4111
- Lo.call(t, r) && Ir(e, r, t[r]);
4086
+ Po.call(t, r) && Pr(e, r, t[r]);
4087
+ if (Br)
4088
+ for (var r of Br(t))
4089
+ Co.call(t, r) && Pr(e, r, t[r]);
4112
4090
  return e;
4113
- }, Mo = (e, t) => Co(e, Oo(t));
4114
- let sr;
4091
+ }, Io = (e, t) => Ho(e, Bo(t));
4092
+ let or;
4115
4093
  const _t = St(null);
4116
- function Lr(e) {
4094
+ function Cr(e) {
4117
4095
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4118
4096
  }
4119
4097
  function Ht(e, t = ze().fallbackLocale) {
4120
- const r = Lr(e);
4121
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lr(t)])] : r;
4098
+ const r = Cr(e);
4099
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Cr(t)])] : r;
4122
4100
  }
4123
4101
  function Le() {
4124
- return sr ?? void 0;
4102
+ return or ?? void 0;
4125
4103
  }
4126
4104
  _t.subscribe((e) => {
4127
- sr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4105
+ or = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4128
4106
  });
4129
- const Ro = (e) => {
4130
- if (e && xo(e) && or(e)) {
4107
+ const Lo = (e) => {
4108
+ if (e && yo(e) && ir(e)) {
4131
4109
  const { loadingDelay: t } = ze();
4132
4110
  let r;
4133
4111
  return typeof window < "u" && Le() != null && t ? r = window.setTimeout(
4134
- () => jt.set(!0),
4112
+ () => Gt.set(!0),
4135
4113
  t
4136
- ) : jt.set(!0), yn(e).then(() => {
4114
+ ) : Gt.set(!0), pn(e).then(() => {
4137
4115
  _t.set(e);
4138
4116
  }).finally(() => {
4139
- clearTimeout(r), jt.set(!1);
4117
+ clearTimeout(r), Gt.set(!1);
4140
4118
  });
4141
4119
  }
4142
4120
  return _t.set(e);
4143
- }, Ae = Mo(No({}, _t), {
4144
- set: Ro
4121
+ }, Ae = Io(Oo({}, _t), {
4122
+ set: Lo
4145
4123
  }), Bt = (e) => {
4146
4124
  const t = /* @__PURE__ */ Object.create(null);
4147
4125
  return (n) => {
@@ -4149,20 +4127,20 @@ const Ro = (e) => {
4149
4127
  return i in t ? t[i] : t[i] = e(n);
4150
4128
  };
4151
4129
  };
4152
- var Do = Object.defineProperty, xt = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable, Nr = (e, t, r) => t in e ? Do(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fr = (e, t) => {
4130
+ var No = Object.defineProperty, xt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, Or = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ur = (e, t) => {
4153
4131
  for (var r in t || (t = {}))
4154
- En.call(t, r) && Nr(e, r, t[r]);
4132
+ bn.call(t, r) && Or(e, r, t[r]);
4155
4133
  if (xt)
4156
4134
  for (var r of xt(t))
4157
- _n.call(t, r) && Nr(e, r, t[r]);
4135
+ gn.call(t, r) && Or(e, r, t[r]);
4158
4136
  return e;
4159
4137
  }, Ze = (e, t) => {
4160
4138
  var r = {};
4161
4139
  for (var n in e)
4162
- En.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4140
+ bn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4163
4141
  if (e != null && xt)
4164
4142
  for (var n of xt(e))
4165
- t.indexOf(n) < 0 && _n.call(e, n) && (r[n] = e[n]);
4143
+ t.indexOf(n) < 0 && gn.call(e, n) && (r[n] = e[n]);
4166
4144
  return r;
4167
4145
  };
4168
4146
  const at = (e, t) => {
@@ -4170,21 +4148,21 @@ const at = (e, t) => {
4170
4148
  if (e in r && t in r[e])
4171
4149
  return r[e][t];
4172
4150
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4173
- }, Fo = Bt(
4151
+ }, Mo = Bt(
4174
4152
  (e) => {
4175
4153
  var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
4176
4154
  if (r == null)
4177
4155
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4178
4156
  return n && (i = at("number", n)), new Intl.NumberFormat(r, i);
4179
4157
  }
4180
- ), Uo = Bt(
4158
+ ), Ro = Bt(
4181
4159
  (e) => {
4182
4160
  var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
4183
4161
  if (r == null)
4184
4162
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4185
4163
  return n ? i = at("date", n) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(r, i);
4186
4164
  }
4187
- ), Go = Bt(
4165
+ ), Do = Bt(
4188
4166
  (e) => {
4189
4167
  var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
4190
4168
  if (r == null)
@@ -4193,57 +4171,57 @@ const at = (e, t) => {
4193
4171
  );
4194
4172
  return n ? i = at("time", n) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(r, i);
4195
4173
  }
4196
- ), jo = (e = {}) => {
4174
+ ), Fo = (e = {}) => {
4197
4175
  var t = e, {
4198
4176
  locale: r = Le()
4199
4177
  } = t, n = Ze(t, [
4200
4178
  "locale"
4201
4179
  ]);
4202
- return Fo(fr({ locale: r }, n));
4203
- }, $o = (e = {}) => {
4180
+ return Mo(ur({ locale: r }, n));
4181
+ }, Uo = (e = {}) => {
4204
4182
  var t = e, {
4205
4183
  locale: r = Le()
4206
4184
  } = t, n = Ze(t, [
4207
4185
  "locale"
4208
4186
  ]);
4209
- return Uo(fr({ locale: r }, n));
4210
- }, ko = (e = {}) => {
4187
+ return Ro(ur({ locale: r }, n));
4188
+ }, Go = (e = {}) => {
4211
4189
  var t = e, {
4212
4190
  locale: r = Le()
4213
4191
  } = t, n = Ze(t, [
4214
4192
  "locale"
4215
4193
  ]);
4216
- return Go(fr({ locale: r }, n));
4217
- }, Vo = Bt(
4194
+ return Do(ur({ locale: r }, n));
4195
+ }, jo = Bt(
4218
4196
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4219
- (e, t = Le()) => new go(e, t, ze().formats, {
4197
+ (e, t = Le()) => new mo(e, t, ze().formats, {
4220
4198
  ignoreTag: ze().ignoreTag
4221
4199
  })
4222
- ), Xo = (e, t = {}) => {
4200
+ ), $o = (e, t = {}) => {
4223
4201
  var r, n, i, o;
4224
- let a = t;
4225
- typeof e == "object" && (a = e, e = a.id);
4202
+ let s = t;
4203
+ typeof e == "object" && (s = e, e = s.id);
4226
4204
  const {
4227
- values: s,
4205
+ values: a,
4228
4206
  locale: f = Le(),
4229
4207
  default: h
4230
- } = a;
4208
+ } = s;
4231
4209
  if (f == null)
4232
4210
  throw new Error(
4233
4211
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4234
4212
  );
4235
- let c = pn(e, f);
4213
+ let c = fn(e, f);
4236
4214
  if (!c)
4237
4215
  c = (o = (i = (n = (r = ze()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4238
4216
  else if (typeof c != "string")
4239
4217
  return console.warn(
4240
4218
  `[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.`
4241
4219
  ), c;
4242
- if (!s)
4220
+ if (!a)
4243
4221
  return c;
4244
4222
  let d = c;
4245
4223
  try {
4246
- d = Vo(c, f).format(s);
4224
+ d = jo(c, f).format(a);
4247
4225
  } catch (p) {
4248
4226
  p instanceof Error && console.warn(
4249
4227
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4251,25 +4229,25 @@ const at = (e, t) => {
4251
4229
  );
4252
4230
  }
4253
4231
  return d;
4254
- }, zo = (e, t) => ko(t).format(e), Wo = (e, t) => $o(t).format(e), qo = (e, t) => jo(t).format(e), Zo = (e, t = Le()) => pn(e, t), Jo = We([Ae, qe], () => Xo);
4255
- We([Ae], () => zo);
4256
- We([Ae], () => Wo);
4257
- We([Ae], () => qo);
4258
- We([Ae, qe], () => Zo);
4259
- window.emWidgets = { topic: ui };
4260
- const ys = (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)), Qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4261
- function Yo({ withLocale: e, translations: t }) {
4232
+ }, ko = (e, t) => Go(t).format(e), Vo = (e, t) => Uo(t).format(e), Xo = (e, t) => Fo(t).format(e), zo = (e, t = Le()) => fn(e, t), Wo = We([Ae, qe], () => $o);
4233
+ We([Ae], () => ko);
4234
+ We([Ae], () => Vo);
4235
+ We([Ae], () => Xo);
4236
+ We([Ae, qe], () => zo);
4237
+ window.emWidgets = { topic: ii };
4238
+ const bs = (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)), qo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4239
+ function Zo({ withLocale: e, translations: t }) {
4262
4240
  Ae.subscribe((r) => {
4263
4241
  r == null && (qe.set(t), Ae.set(e));
4264
4242
  });
4265
4243
  }
4266
- function $t(e, t) {
4267
- gn(e, t);
4244
+ function jt(e, t) {
4245
+ dn(e, t);
4268
4246
  }
4269
- function Mr(e) {
4247
+ function Ir(e) {
4270
4248
  Ae.set(e);
4271
4249
  }
4272
- const Rr = {
4250
+ const Lr = {
4273
4251
  en: {
4274
4252
  500: "500 - Internal server error",
4275
4253
  showMore: "Show more",
@@ -4337,7 +4315,7 @@ const Rr = {
4337
4315
  noTournaments: "No tournaments found"
4338
4316
  }
4339
4317
  };
4340
- var ar = { exports: {} };
4318
+ var sr = { exports: {} };
4341
4319
  /** @license
4342
4320
  * eventsource.js
4343
4321
  * Available under MIT License (MIT)
@@ -4345,11 +4323,11 @@ var ar = { exports: {} };
4345
4323
  */
4346
4324
  (function(e, t) {
4347
4325
  (function(r) {
4348
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, a = r.XDomainRequest, s = r.ActiveXObject, f = r.EventSource, h = r.document, c = r.Promise, d = r.fetch, p = r.Response, _ = r.TextDecoder, O = r.TextEncoder, B = r.AbortController;
4326
+ 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, _ = r.TextDecoder, O = r.TextEncoder, B = r.AbortController;
4349
4327
  if (typeof window < "u" && typeof h < "u" && !("readyState" in h) && h.body == null && (h.readyState = "loading", window.addEventListener("load", function(u) {
4350
4328
  h.readyState = "complete";
4351
- }, !1)), o == null && s != null && (o = function() {
4352
- return new s("Microsoft.XMLHTTP");
4329
+ }, !1)), o == null && a != null && (o = function() {
4330
+ return new a("Microsoft.XMLHTTP");
4353
4331
  }), Object.create == null && (Object.create = function(u) {
4354
4332
  function b() {
4355
4333
  }
@@ -4659,12 +4637,12 @@ var ar = { exports: {} };
4659
4637
  me.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, ft(this, u, b);
4660
4638
  }
4661
4639
  function Ct() {
4662
- return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
4640
+ return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4663
4641
  }
4664
4642
  var Ot = d != null && p != null && "body" in p.prototype;
4665
4643
  function ft(u, b, g) {
4666
4644
  b = String(b);
4667
- var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Me(1e3), x = Ke(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, l = g.Transport, S = Ot && l == null ? void 0 : new $(l != null ? new l() : Ct()), N = l != null && typeof l != "string" ? new l() : S == null ? new He() : new be(), I = void 0, k = 0, q = Ce, Te = "", et = "", G = "", ct = "", Q = se, It = 0, Oe = 0, xn = function(V, j, ae, ue) {
4645
+ var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = Me(1e3), x = Ke(g.heartbeatTimeout, 45e3), R = "", T = v, C = !1, L = 0, E = g.headers || {}, l = g.Transport, S = Ot && l == null ? void 0 : new $(l != null ? new l() : Ct()), N = l != null && typeof l != "string" ? new l() : S == null ? new He() : new be(), I = void 0, k = 0, q = Ce, Te = "", et = "", G = "", ct = "", Q = se, It = 0, Oe = 0, vn = function(V, j, ae, ue) {
4668
4646
  if (q === W)
4669
4647
  if (V === 200 && ae != null && Ye.test(ae)) {
4670
4648
  q = he, C = Date.now(), T = v, u.readyState = he;
@@ -4684,7 +4662,7 @@ var ar = { exports: {} };
4684
4662
  });
4685
4663
  u.dispatchEvent(Y), we(u, u.onerror, Y), console.error(X);
4686
4664
  }
4687
- }, wn = function(V) {
4665
+ }, yn = function(V) {
4688
4666
  if (q === he) {
4689
4667
  for (var j = -1, ae = 0; ae < V.length; ae += 1) {
4690
4668
  var ue = V.charCodeAt(ae);
@@ -4722,7 +4700,7 @@ var ar = { exports: {} };
4722
4700
  Q === se && (It = X, Q = ve), Q === ve ? ue === 58 && (Oe = X + 1, Q = Qe) : Q === Qe && (Q = pe);
4723
4701
  }
4724
4702
  }
4725
- }, cr = function(V) {
4703
+ }, lr = function(V) {
4726
4704
  if (q === he || q === W) {
4727
4705
  q = Ce, k !== 0 && (i(k), k = 0), k = n(function() {
4728
4706
  tt();
@@ -4735,7 +4713,7 @@ var ar = { exports: {} };
4735
4713
  }, tt = function() {
4736
4714
  if (k = 0, q !== Ce) {
4737
4715
  if (!C && I != null)
4738
- cr(new Error("No activity within " + x + " milliseconds. " + (q === W ? "No response received." : L + " chars received.") + " Reconnecting.")), I != null && (I.abort(), I = void 0);
4716
+ lr(new Error("No activity within " + x + " milliseconds. " + (q === W ? "No response received." : L + " chars received.") + " Reconnecting.")), I != null && (I.abort(), I = void 0);
4739
4717
  else {
4740
4718
  var V = Math.max((C || Date.now()) + x - Date.now(), 1);
4741
4719
  C = !1, k = n(function() {
@@ -4761,7 +4739,7 @@ var ar = { exports: {} };
4761
4739
  for (var ye in X)
4762
4740
  Object.prototype.hasOwnProperty.call(X, ye) && (Y[ye] = X[ye]);
4763
4741
  try {
4764
- I = N.open(S, xn, wn, cr, j, ue, Y);
4742
+ I = N.open(S, vn, yn, lr, j, ue, Y);
4765
4743
  } catch (Ee) {
4766
4744
  throw Lt(), Ee;
4767
4745
  }
@@ -4780,9 +4758,9 @@ var ar = { exports: {} };
4780
4758
  }(function(u) {
4781
4759
  u.EventSourcePolyfill = J, u.NativeEventSource = f, u.EventSource = Re;
4782
4760
  });
4783
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : hi : globalThis);
4784
- })(ar, ar.exports);
4785
- var Ko = ar.exports;
4761
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : si : globalThis);
4762
+ })(sr, sr.exports);
4763
+ var Jo = sr.exports;
4786
4764
  if (typeof window < "u") {
4787
4765
  let e = function(t) {
4788
4766
  return function(...r) {
@@ -4795,7 +4773,7 @@ if (typeof window < "u") {
4795
4773
  }
4796
4774
  };
4797
4775
  };
4798
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-D87dskAM.js").then(({ default: t }) => {
4776
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-CdMh8n3B.js").then(({ default: t }) => {
4799
4777
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4800
4778
  });
4801
4779
  }
@@ -4811,75 +4789,75 @@ if (typeof window < "u") {
4811
4789
  }
4812
4790
  };
4813
4791
  };
4814
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-CVKwStEk.js").then(({ default: t }) => {
4792
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-DZqBQlj6.js").then(({ default: t }) => {
4815
4793
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4816
4794
  });
4817
4795
  }
4818
- const Dr = (e) => e.length > 0 && e != "false";
4819
- function es(e) {
4820
- An(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4796
+ const Nr = (e) => e.length > 0 && e != "false";
4797
+ function Qo(e) {
4798
+ xn(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4821
4799
  }
4822
- function ts(e) {
4823
- let t, r, n, i, o, a, s = (
4800
+ function Yo(e) {
4801
+ let t, r, n, i, o, s, a = (
4824
4802
  /*filtersLoaded*/
4825
- e[19] && Fr(e)
4803
+ e[19] && Mr(e)
4826
4804
  );
4827
4805
  function f(p, _) {
4828
4806
  return (
4829
4807
  /*tournamentsNumber*/
4830
- p[20] == 0 ? is : ns
4808
+ p[20] == 0 ? ts : es
4831
4809
  );
4832
4810
  }
4833
4811
  let h = f(e), c = h(e), d = !/*allTournamentsShown*/
4834
- e[21] && Ur(e);
4812
+ e[21] && Rr(e);
4835
4813
  return {
4836
4814
  c() {
4837
- t = z("div"), r = z("div"), n = z("div"), s && s.c(), i = kt(), o = z("div"), c.c(), a = kt(), 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");
4815
+ t = z("div"), r = z("div"), n = z("div"), a && a.c(), i = $t(), o = z("div"), c.c(), s = $t(), 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");
4838
4816
  },
4839
4817
  m(p, _) {
4840
- ce(p, t, _), re(t, r), re(r, n), s && s.m(n, null), re(r, i), re(r, o), c.m(o, null), re(r, a), d && d.m(r, null);
4818
+ ce(p, t, _), re(t, r), re(r, n), a && a.m(n, null), re(r, i), re(r, o), c.m(o, null), re(r, s), d && d.m(r, null);
4841
4819
  },
4842
4820
  p(p, _) {
4843
4821
  /*filtersLoaded*/
4844
- p[19] ? s ? s.p(p, _) : (s = Fr(p), s.c(), s.m(n, null)) : s && (s.d(1), s = null), h === (h = f(p)) && c ? c.p(p, _) : (c.d(1), c = h(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4845
- p[21] ? d && (d.d(1), d = null) : d ? d.p(p, _) : (d = Ur(p), d.c(), d.m(r, null));
4822
+ p[19] ? a ? a.p(p, _) : (a = Mr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), h === (h = f(p)) && c ? c.p(p, _) : (c.d(1), c = h(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4823
+ p[21] ? d && (d.d(1), d = null) : d ? d.p(p, _) : (d = Rr(p), d.c(), d.m(r, null));
4846
4824
  },
4847
4825
  d(p) {
4848
- p && ne(t), s && s.d(), c.d(), d && d.d();
4826
+ p && ne(t), a && a.d(), c.d(), d && d.d();
4849
4827
  }
4850
4828
  };
4851
4829
  }
4852
- function rs(e) {
4830
+ function Ko(e) {
4853
4831
  let t, r = (
4854
4832
  /*$_*/
4855
4833
  e[22]("500") + ""
4856
- ), n, i, o, a;
4834
+ ), n, i, o, s;
4857
4835
  return {
4858
4836
  c() {
4859
- t = z("p"), n = Ie(r), i = kt(), o = z("p"), a = Ie(
4837
+ t = z("p"), n = Ie(r), i = $t(), o = z("p"), s = Ie(
4860
4838
  /*error*/
4861
4839
  e[17]
4862
4840
  );
4863
4841
  },
4864
- m(s, f) {
4865
- ce(s, t, f), re(t, n), ce(s, i, f), ce(s, o, f), re(o, a);
4842
+ m(a, f) {
4843
+ ce(a, t, f), re(t, n), ce(a, i, f), ce(a, o, f), re(o, s);
4866
4844
  },
4867
- p(s, f) {
4845
+ p(a, f) {
4868
4846
  f[0] & /*$_*/
4869
4847
  4194304 && r !== (r = /*$_*/
4870
- s[22]("500") + "") && it(n, r), f[0] & /*error*/
4848
+ a[22]("500") + "") && it(n, r), f[0] & /*error*/
4871
4849
  131072 && it(
4872
- a,
4850
+ s,
4873
4851
  /*error*/
4874
- s[17]
4852
+ a[17]
4875
4853
  );
4876
4854
  },
4877
- d(s) {
4878
- s && (ne(t), ne(i), ne(o));
4855
+ d(a) {
4856
+ a && (ne(t), ne(i), ne(o));
4879
4857
  }
4880
4858
  };
4881
4859
  }
4882
- function Fr(e) {
4860
+ function Mr(e) {
4883
4861
  let t;
4884
4862
  return {
4885
4863
  c() {
@@ -4898,7 +4876,7 @@ function Fr(e) {
4898
4876
  "translationurl",
4899
4877
  /*translationurl*/
4900
4878
  e[4]
4901
- ), w(t, "filters", us), w(
4879
+ ), w(t, "filters", os), w(
4902
4880
  t,
4903
4881
  "activefilters",
4904
4882
  /*filters*/
@@ -4940,7 +4918,7 @@ function Fr(e) {
4940
4918
  }
4941
4919
  };
4942
4920
  }
4943
- function ns(e) {
4921
+ function es(e) {
4944
4922
  let t;
4945
4923
  return {
4946
4924
  c() {
@@ -5114,31 +5092,31 @@ function ns(e) {
5114
5092
  }
5115
5093
  };
5116
5094
  }
5117
- function is(e) {
5095
+ function ts(e) {
5118
5096
  let t;
5119
- function r(o, a) {
5097
+ function r(o, s) {
5120
5098
  return (
5121
5099
  /*isLoading*/
5122
- o[18] ? ss : os
5100
+ o[18] ? ns : rs
5123
5101
  );
5124
5102
  }
5125
5103
  let n = r(e), i = n(e);
5126
5104
  return {
5127
5105
  c() {
5128
- i.c(), t = Pn();
5106
+ i.c(), t = Sn();
5129
5107
  },
5130
- m(o, a) {
5131
- i.m(o, a), ce(o, t, a);
5108
+ m(o, s) {
5109
+ i.m(o, s), ce(o, t, s);
5132
5110
  },
5133
- p(o, a) {
5134
- n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5111
+ p(o, s) {
5112
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5135
5113
  },
5136
5114
  d(o) {
5137
5115
  o && ne(t), i.d(o);
5138
5116
  }
5139
5117
  };
5140
5118
  }
5141
- function os(e) {
5119
+ function rs(e) {
5142
5120
  let t, r = (
5143
5121
  /*$_*/
5144
5122
  e[22]("noTournaments") + ""
@@ -5160,7 +5138,7 @@ function os(e) {
5160
5138
  }
5161
5139
  };
5162
5140
  }
5163
- function ss(e) {
5141
+ function ns(e) {
5164
5142
  let t, r = (
5165
5143
  /*$_*/
5166
5144
  e[22]("loading") + ""
@@ -5182,22 +5160,22 @@ function ss(e) {
5182
5160
  }
5183
5161
  };
5184
5162
  }
5185
- function Ur(e) {
5163
+ function Rr(e) {
5186
5164
  let t, r, n, i = (
5187
5165
  /*$_*/
5188
5166
  e[22]("showMore") + ""
5189
- ), o, a, s;
5167
+ ), o, s, a;
5190
5168
  return {
5191
5169
  c() {
5192
5170
  t = z("div"), r = z("div"), n = z("button"), o = Ie(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");
5193
5171
  },
5194
5172
  m(f, h) {
5195
- ce(f, t, h), re(t, r), re(r, n), re(n, o), a || (s = Vt(
5173
+ ce(f, t, h), re(t, r), re(r, n), re(n, o), s || (a = kt(
5196
5174
  n,
5197
5175
  "click",
5198
5176
  /*click_handler*/
5199
5177
  e[32]
5200
- ), a = !0);
5178
+ ), s = !0);
5201
5179
  },
5202
5180
  p(f, h) {
5203
5181
  h[0] & /*$_*/
@@ -5205,16 +5183,16 @@ function Ur(e) {
5205
5183
  f[22]("showMore") + "") && it(o, i);
5206
5184
  },
5207
5185
  d(f) {
5208
- f && ne(t), a = !1, s();
5186
+ f && ne(t), s = !1, a();
5209
5187
  }
5210
5188
  };
5211
5189
  }
5212
- function as(e) {
5190
+ function is(e) {
5213
5191
  let t;
5214
- function r(o, a) {
5192
+ function r(o, s) {
5215
5193
  return (
5216
5194
  /*hasErrors*/
5217
- o[16] ? rs : ts
5195
+ o[16] ? Ko : Yo
5218
5196
  );
5219
5197
  }
5220
5198
  let n = r(e), i = n(e);
@@ -5222,11 +5200,11 @@ function as(e) {
5222
5200
  c() {
5223
5201
  t = z("div"), i.c();
5224
5202
  },
5225
- m(o, a) {
5226
- ce(o, t, a), i.m(t, null), e[33](t);
5203
+ m(o, s) {
5204
+ ce(o, t, s), i.m(t, null), e[33](t);
5227
5205
  },
5228
- p(o, a) {
5229
- n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
5206
+ p(o, s) {
5207
+ n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
5230
5208
  },
5231
5209
  i: fe,
5232
5210
  o: fe,
@@ -5235,30 +5213,30 @@ function as(e) {
5235
5213
  }
5236
5214
  };
5237
5215
  }
5238
- let us = "All,Scheduled,Ongoing,Finished";
5239
- function ls(e, t, r) {
5216
+ let os = "All,Scheduled,Ongoing,Finished";
5217
+ function ss(e, t, r) {
5240
5218
  let n;
5241
- Sn(e, Jo, (l) => r(22, n = l));
5242
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: h = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: de = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: be = "" } = t, { delaybeforeload: Ne = 1e3 } = t, He = !1, me = "", Be = !1, te = "", lt = window.navigator.userAgent, Pe = !0, Je = !1, Ce = !1, W, he = 0, ge = !1, oe = 6, se = !0, ve = [], Qe, pe, Ye = !1, ht;
5243
- Yo({ withLocale: "en", translations: {} });
5219
+ _n(e, Wo, (l) => r(22, n = l));
5220
+ 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: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: de = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: be = "" } = t, { delaybeforeload: Ne = 1e3 } = t, He = !1, me = "", Be = !1, te = "", lt = window.navigator.userAgent, Pe = !0, Je = !1, Ce = !1, W, he = 0, ge = !1, oe = 6, se = !0, ve = [], Qe, pe, Ye = !1, ht;
5221
+ Zo({ withLocale: "en", translations: {} });
5244
5222
  const Pt = () => {
5245
5223
  fetch(f).then((S) => S.json()).then((S) => {
5246
5224
  ht = S, Object.keys(S).forEach((N) => {
5247
- $t(N, S[N]);
5225
+ jt(N, S[N]);
5248
5226
  });
5249
5227
  }).catch((S) => {
5250
5228
  console.log(S);
5251
5229
  });
5252
5230
  }, Ke = (l) => {
5253
5231
  l && Object.keys(l).forEach((S) => {
5254
- $t(S, l[S]);
5232
+ jt(S, l[S]);
5255
5233
  });
5256
5234
  };
5257
- Object.keys(Rr).forEach((l) => {
5258
- $t(l, Rr[l]);
5235
+ Object.keys(Lr).forEach((l) => {
5236
+ jt(l, Lr[l]);
5259
5237
  });
5260
5238
  const Me = (l) => {
5261
- l.data && l.data.type === "UserSessionID" && (Be = !0, r(30, te = l.data.session), l.data.userid, J(a, 0, oe)), l.data && l.data.type === "TournamentsFiltersSelected" && (ve = l.data.filters, J(a, 0, oe)), l.data && l.data.type === "TournamentThumbnailMounted" && Ke(ht);
5239
+ l.data && l.data.type === "UserSessionID" && (Be = !0, r(30, te = l.data.session), l.data.userid, J(s, 0, oe)), l.data && l.data.type === "TournamentsFiltersSelected" && (ve = l.data.filters, J(s, 0, oe)), l.data && l.data.type === "TournamentThumbnailMounted" && Ke(ht);
5262
5240
  }, we = (l) => l == "Scheduled" ? "Unstarted" : l == "Ongoing" ? "Running" : "Closing|Closed", J = async (l, S, N) => {
5263
5241
  r(18, Pe = !0), r(20, he = 0);
5264
5242
  const I = await ft(l, S, N);
@@ -5288,11 +5266,11 @@ function ls(e, t, r) {
5288
5266
  return $ ? l.setDate(l.getDate() - Number($)) : l.setMonth(l.getMonth() - 1), l.toISOString().substring(0, 10);
5289
5267
  }, ft = async (l, S, N) => {
5290
5268
  let I = new URL(`${l}/v1/tournaments`), k = new Headers();
5291
- I.searchParams.append("pagination", `offset=${S},limit=${N}`), I.searchParams.append("sortField", "StartTime"), I.searchParams.append("sortOrder", M || "desc"), I.searchParams.append("language", s);
5269
+ I.searchParams.append("pagination", `offset=${S},limit=${N}`), I.searchParams.append("sortField", "StartTime"), I.searchParams.append("sortOrder", M || "desc"), I.searchParams.append("language", a);
5292
5270
  const q = { StartTimeAfter: Ot() };
5293
- !Dr(i) && Z === "false" && (q.tags = "no-role-set"), ve.length > 0 && ve[0] != "All" && (q.state = ve.map((G) => we(G)).join("|"));
5271
+ !Nr(i) && Z === "false" && (q.tags = "no-role-set"), ve.length > 0 && ve[0] != "All" && (q.state = ve.map((G) => we(G)).join("|"));
5294
5272
  const Te = Object.keys(q).map((G) => `${G}=${q[G]}`).join(",");
5295
- return I.searchParams.append("filter", Te), I.searchParams.append("platform", Qo(lt)), ie && I.searchParams.append("sortType", ie), Be && k.append("X-SessionID", te), fetch(I, {
5273
+ return I.searchParams.append("filter", Te), I.searchParams.append("platform", qo(lt)), ie && I.searchParams.append("sortType", ie), Be && k.append("X-SessionID", te), fetch(I, {
5296
5274
  method: "GET",
5297
5275
  headers: k,
5298
5276
  cache: "no-cache"
@@ -5330,8 +5308,8 @@ function ls(e, t, r) {
5330
5308
  },
5331
5309
  1e3
5332
5310
  ), pe && (pe.removeEventListener("message", Re), pe.close());
5333
- let l = `${a}/v1/tournaments/updates?${Qe}`;
5334
- pe = new Ko.EventSourcePolyfill(
5311
+ let l = `${s}/v1/tournaments/updates?${Qe}`;
5312
+ pe = new Jo.EventSourcePolyfill(
5335
5313
  l,
5336
5314
  {
5337
5315
  headers: {
@@ -5350,17 +5328,17 @@ function ls(e, t, r) {
5350
5328
  limit: oe
5351
5329
  },
5352
5330
  window.location.href
5353
- ), await Ct(a, l, S), oe >= he && r(21, se = !0);
5354
- }, g = () => (a || (r(17, me = "Endpoint is missing! Please provide a valid endpointURL."), r(16, He = !0), console.error(me)), (!s || s.length != 2) && (r(17, me = "Language is missing! Please provide a valid language (alpha2code)"), r(16, He = !0), console.error(me)), He), m = () => {
5331
+ ), await Ct(s, l, S), oe >= he && r(21, se = !0);
5332
+ }, g = () => (s || (r(17, me = "Endpoint is missing! Please provide a valid endpointURL."), r(16, He = !0), console.error(me)), (!a || a.length != 2) && (r(17, me = "Language is missing! Please provide a valid language (alpha2code)"), r(16, He = !0), console.error(me)), He), m = () => {
5355
5333
  if (!ge)
5356
5334
  return !1;
5357
- g() || (oe = parseInt(h, 10), Mr(s), J(a, 0, oe));
5335
+ g() || (oe = parseInt(h, 10), Ir(a), J(s, 0, oe));
5358
5336
  }, y = () => {
5359
- Mr(s);
5337
+ Ir(a);
5360
5338
  }, v = () => {
5361
5339
  ve = d.split(","), r(19, Je = !0);
5362
5340
  }, x = () => {
5363
- Dr(i) ? (Be = !0, r(30, te = i)) : (Be = !1, r(30, te = ""));
5341
+ Nr(i) ? (Be = !0, r(30, te = i)) : (Be = !1, r(30, te = ""));
5364
5342
  }, R = async () => {
5365
5343
  Ye || (Ye = !0, await m(), Ye = !1);
5366
5344
  }, T = () => {
@@ -5381,7 +5359,7 @@ function ls(e, t, r) {
5381
5359
  );
5382
5360
  });
5383
5361
  };
5384
- Nn(() => (setTimeout(
5362
+ Cn(() => (setTimeout(
5385
5363
  () => {
5386
5364
  r(31, ge = !0);
5387
5365
  },
@@ -5391,29 +5369,29 @@ function ls(e, t, r) {
5391
5369
  }));
5392
5370
  const L = () => b();
5393
5371
  function E(l) {
5394
- Xt[l ? "unshift" : "push"](() => {
5372
+ Vt[l ? "unshift" : "push"](() => {
5395
5373
  W = l, r(15, W);
5396
5374
  });
5397
5375
  }
5398
5376
  return e.$$set = (l) => {
5399
- "session" in l && r(0, i = l.session), "userid" in l && r(1, o = l.userid), "endpoint" in l && r(2, a = l.endpoint), "lang" in l && r(3, s = l.lang), "translationurl" in l && r(4, f = l.translationurl), "numberoftournaments" in l && r(5, h = l.numberoftournaments), "showmorestep" in l && r(24, c = l.showmorestep), "filters" in l && r(6, d = l.filters), "loginevent" in l && r(7, p = l.loginevent), "registerevent" in l && r(8, _ = l.registerevent), "loginurl" in l && r(9, O = l.loginurl), "registerurl" in l && r(10, B = l.registerurl), "currency" in l && r(11, ee = l.currency), "keepbrowsercontext" in l && r(12, de = l.keepbrowsercontext), "sorttype" in l && r(25, ie = l.sorttype), "sortorder" in l && r(26, M = l.sortorder), "starttimeafter" in l && r(27, $ = l.starttimeafter), "showanonymoustournaments" in l && r(28, Z = l.showanonymoustournaments), "clientstyling" in l && r(13, le = l.clientstyling), "clientstylingurl" in l && r(14, be = l.clientstylingurl), "delaybeforeload" in l && r(29, Ne = l.delaybeforeload);
5377
+ "session" in l && r(0, i = l.session), "userid" in l && r(1, o = l.userid), "endpoint" in l && r(2, s = l.endpoint), "lang" in l && r(3, a = l.lang), "translationurl" in l && r(4, f = l.translationurl), "numberoftournaments" in l && r(5, h = l.numberoftournaments), "showmorestep" in l && r(24, c = l.showmorestep), "filters" in l && r(6, d = l.filters), "loginevent" in l && r(7, p = l.loginevent), "registerevent" in l && r(8, _ = l.registerevent), "loginurl" in l && r(9, O = l.loginurl), "registerurl" in l && r(10, B = l.registerurl), "currency" in l && r(11, ee = l.currency), "keepbrowsercontext" in l && r(12, de = l.keepbrowsercontext), "sorttype" in l && r(25, ie = l.sorttype), "sortorder" in l && r(26, M = l.sortorder), "starttimeafter" in l && r(27, $ = l.starttimeafter), "showanonymoustournaments" in l && r(28, Z = l.showanonymoustournaments), "clientstyling" in l && r(13, le = l.clientstyling), "clientstylingurl" in l && r(14, be = l.clientstylingurl), "delaybeforeload" in l && r(29, Ne = l.delaybeforeload);
5400
5378
  }, e.$$.update = () => {
5401
5379
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
5402
5380
  40960 && W && le && T(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
5403
5381
  49152 && W && be && C(), e.$$.dirty[0] & /*userid*/
5404
5382
  2, e.$$.dirty[0] & /*filters*/
5405
5383
  64 && d && v(), e.$$.dirty[0] & /*lang*/
5406
- 8 && s && y(), e.$$.dirty[0] & /*translationurl*/
5384
+ 8 && a && y(), e.$$.dirty[0] & /*translationurl*/
5407
5385
  16 && f && Pt(), e.$$.dirty[1] & /*isMounted*/
5408
5386
  1 && ge && m(), e.$$.dirty[0] & /*session*/
5409
5387
  1 && (i === "" || i) && x(), e.$$.dirty[0] & /*sessionID*/
5410
5388
  1073741824 && (te === "" || te) && R(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5411
- 285212716 && a && h && c && s && Z && R();
5389
+ 285212716 && s && h && c && a && Z && R();
5412
5390
  }, [
5413
5391
  i,
5414
5392
  o,
5415
- a,
5416
5393
  s,
5394
+ a,
5417
5395
  f,
5418
5396
  h,
5419
5397
  d,
@@ -5446,14 +5424,14 @@ function ls(e, t, r) {
5446
5424
  E
5447
5425
  ];
5448
5426
  }
5449
- class hs extends zn {
5427
+ class as extends $n {
5450
5428
  constructor(t) {
5451
- super(), Vn(
5429
+ super(), Gn(
5452
5430
  this,
5453
5431
  t,
5454
- ls,
5455
- as,
5456
- jr,
5432
+ ss,
5433
+ is,
5434
+ Fr,
5457
5435
  {
5458
5436
  session: 0,
5459
5437
  userid: 1,
@@ -5477,7 +5455,7 @@ class hs extends zn {
5477
5455
  clientstylingurl: 14,
5478
5456
  delaybeforeload: 29
5479
5457
  },
5480
- es,
5458
+ Qo,
5481
5459
  [-1, -1, -1]
5482
5460
  );
5483
5461
  }
@@ -5608,45 +5586,45 @@ class hs extends zn {
5608
5586
  this.$$set({ delaybeforeload: t }), F();
5609
5587
  }
5610
5588
  }
5611
- Xn(hs, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
5589
+ jn(as, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
5612
5590
  export {
5613
- Jo as $,
5614
- cs as A,
5615
- wt as B,
5616
- ut as C,
5617
- ps as D,
5591
+ Wo as $,
5592
+ ls as A,
5593
+ ut as B,
5594
+ cs as C,
5595
+ wt as D,
5618
5596
  qe as E,
5619
- Qo as F,
5620
- gs as G,
5621
- Wt as H,
5622
- bs as I,
5623
- fs as J,
5624
- hs as K,
5625
- zn as S,
5626
- gn as a,
5627
- An as b,
5628
- Xn as c,
5629
- U as d,
5630
- z as e,
5597
+ qo as F,
5598
+ ms as G,
5599
+ ds as H,
5600
+ zt as I,
5601
+ us as J,
5602
+ as as K,
5603
+ $n as S,
5604
+ dn as a,
5605
+ xn as b,
5606
+ jn as c,
5607
+ ne as d,
5608
+ ce as e,
5631
5609
  F as f,
5632
- ys as g,
5633
- ce as h,
5634
- Vn as i,
5635
- ne as j,
5636
- Sn as k,
5637
- vs as l,
5638
- kt as m,
5610
+ z as g,
5611
+ U as h,
5612
+ Gn as i,
5613
+ bs as j,
5614
+ _n as k,
5615
+ ps as l,
5616
+ hs as m,
5639
5617
  fe as n,
5640
- re as o,
5641
- it as p,
5642
- ds as q,
5618
+ it as o,
5619
+ re as p,
5620
+ $t as q,
5643
5621
  Vt as r,
5644
- jr as s,
5622
+ Fr as s,
5645
5623
  Ie as t,
5646
- Xt as u,
5647
- ms as v,
5648
- Nn as w,
5649
- Pn as x,
5624
+ kt as u,
5625
+ fs as v,
5626
+ Cn as w,
5627
+ Sn as x,
5650
5628
  w as y,
5651
5629
  Ae as z
5652
5630
  };