@everymatrix/casino-tournaments-controller 1.59.1 → 1.59.2

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