@everymatrix/casino-tournaments-thumbnail 1.86.1 → 1.86.3

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 (35) hide show
  1. package/components/{CasinoTournamentsThumbnail-DLVdcaz-.js → CasinoTournamentsThumbnail-Cx64yPSw.js} +526 -530
  2. package/components/{CasinoTournamentsThumbnail-C-1gtb8z.js → CasinoTournamentsThumbnail-DC7JR_pc.js} +534 -538
  3. package/components/CasinoTournamentsThumbnail-h4GDr3oY.cjs +18 -0
  4. package/es2015/casino-tournaments-thumbnail.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  9. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  10. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  11. package/stencil/index-b2193545-RI3PckwN.js +503 -0
  12. package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
  13. package/stencil/index-b2193545-w9rTFozR.js +519 -0
  14. package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
  15. package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
  16. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  20. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  21. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  22. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  23. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
  24. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
  25. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
  26. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
  27. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
  28. package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
  29. package/components/CasinoTournamentsThumbnail-BlEoEBx3.cjs +0 -5
  30. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  31. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  32. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  33. package/stencil/index-b2193545-BpG2toSK.js +0 -503
  34. package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
  35. package/stencil/index-b2193545-DuA2iMSm.js +0 -519
@@ -1,30 +1,30 @@
1
- import "../stencil/ui-skeleton-i9jZ615T.js";
2
- import "../stencil/ui-image-Cs_BBOYl.js";
1
+ import "../stencil/ui-skeleton-BOZjVV7m.js";
2
+ import "../stencil/ui-image-DLoBAw4w.js";
3
3
  function j() {
4
4
  }
5
- function Ot(e) {
5
+ function Mt(e) {
6
6
  return e();
7
7
  }
8
8
  function lt() {
9
9
  return /* @__PURE__ */ Object.create(null);
10
10
  }
11
- function re(e) {
12
- e.forEach(Ot);
11
+ function te(e) {
12
+ e.forEach(Mt);
13
13
  }
14
- function Se(e) {
14
+ function Ee(e) {
15
15
  return typeof e == "function";
16
16
  }
17
- function Pt(e, t) {
17
+ function Ot(e, t) {
18
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
19
  }
20
- let Ce;
21
- function Xe(e, t) {
22
- return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
20
+ let He;
21
+ function ze(e, t) {
22
+ return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
23
23
  }
24
24
  function ar(e) {
25
25
  return Object.keys(e).length === 0;
26
26
  }
27
- function Mt(e, ...t) {
27
+ function Pt(e, ...t) {
28
28
  if (e == null) {
29
29
  for (const n of t)
30
30
  n(void 0);
@@ -34,12 +34,12 @@ function Mt(e, ...t) {
34
34
  return r.unsubscribe ? () => r.unsubscribe() : r;
35
35
  }
36
36
  function or(e, t, r) {
37
- e.$$.on_destroy.push(Mt(t, r));
37
+ e.$$.on_destroy.push(Pt(t, r));
38
38
  }
39
- function Te(e) {
40
- return e && Se(e.destroy) ? e.destroy : j;
39
+ function Se(e) {
40
+ return e && Ee(e.destroy) ? e.destroy : j;
41
41
  }
42
- function v(e, t) {
42
+ function x(e, t) {
43
43
  e.appendChild(t);
44
44
  }
45
45
  function ur(e, t, r) {
@@ -60,7 +60,7 @@ function lr(e) {
60
60
  ) : e.ownerDocument;
61
61
  }
62
62
  function hr(e, t) {
63
- return v(
63
+ return x(
64
64
  /** @type {Document} */
65
65
  e.head || e,
66
66
  t
@@ -69,7 +69,7 @@ function hr(e, t) {
69
69
  function k(e, t, r) {
70
70
  e.insertBefore(t, r || null);
71
71
  }
72
- function P(e) {
72
+ function O(e) {
73
73
  e.parentNode && e.parentNode.removeChild(e);
74
74
  }
75
75
  function H(e) {
@@ -84,13 +84,13 @@ function X() {
84
84
  function cr() {
85
85
  return R("");
86
86
  }
87
- function Oe(e, t, r, n) {
87
+ function Ne(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function d(e, t, r) {
91
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
92
  }
93
- function ue(e, t, r) {
93
+ function oe(e, t, r) {
94
94
  const n = t.toLowerCase();
95
95
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : d(e, t, r);
96
96
  }
@@ -110,87 +110,87 @@ function mr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let ve;
114
- function _e(e) {
115
- ve = e;
113
+ let _e;
114
+ function ye(e) {
115
+ _e = e;
116
116
  }
117
117
  function dr() {
118
- if (!ve)
118
+ if (!_e)
119
119
  throw new Error("Function called outside component initialization");
120
- return ve;
120
+ return _e;
121
121
  }
122
122
  function br(e) {
123
123
  dr().$$.on_mount.push(e);
124
124
  }
125
- const oe = [], Ze = [];
126
- let le = [];
125
+ const ae = [], We = [];
126
+ let ue = [];
127
127
  const ht = [], gr = /* @__PURE__ */ Promise.resolve();
128
- let qe = !1;
128
+ let Xe = !1;
129
129
  function pr() {
130
- qe || (qe = !0, gr.then(A));
130
+ Xe || (Xe = !0, gr.then(A));
131
131
  }
132
- function Qe(e) {
133
- le.push(e);
132
+ function Ze(e) {
133
+ ue.push(e);
134
134
  }
135
- const Ge = /* @__PURE__ */ new Set();
136
- let se = 0;
135
+ const Ue = /* @__PURE__ */ new Set();
136
+ let ie = 0;
137
137
  function A() {
138
- if (se !== 0)
138
+ if (ie !== 0)
139
139
  return;
140
- const e = ve;
140
+ const e = _e;
141
141
  do {
142
142
  try {
143
- for (; se < oe.length; ) {
144
- const t = oe[se];
145
- se++, _e(t), yr(t.$$);
143
+ for (; ie < ae.length; ) {
144
+ const t = ae[ie];
145
+ ie++, ye(t), yr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
- throw oe.length = 0, se = 0, t;
148
+ throw ae.length = 0, ie = 0, t;
149
149
  }
150
- for (_e(null), oe.length = 0, se = 0; Ze.length; )
151
- Ze.pop()();
152
- for (let t = 0; t < le.length; t += 1) {
153
- const r = le[t];
154
- Ge.has(r) || (Ge.add(r), r());
150
+ for (ye(null), ae.length = 0, ie = 0; We.length; )
151
+ We.pop()();
152
+ for (let t = 0; t < ue.length; t += 1) {
153
+ const r = ue[t];
154
+ Ue.has(r) || (Ue.add(r), r());
155
155
  }
156
- le.length = 0;
157
- } while (oe.length);
156
+ ue.length = 0;
157
+ } while (ae.length);
158
158
  for (; ht.length; )
159
159
  ht.pop()();
160
- qe = !1, Ge.clear(), _e(e);
160
+ Xe = !1, Ue.clear(), ye(e);
161
161
  }
162
162
  function yr(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), re(e.before_update);
164
+ e.update(), te(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
167
167
  }
168
168
  }
169
169
  function _r(e) {
170
170
  const t = [], r = [];
171
- le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
171
+ ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
172
172
  }
173
173
  const vr = /* @__PURE__ */ new Set();
174
- function Er(e, t) {
174
+ function xr(e, t) {
175
175
  e && e.i && (vr.delete(e), e.i(t));
176
176
  }
177
- function xr(e, t, r) {
177
+ function Er(e, t, r) {
178
178
  const { fragment: n, after_update: i } = e.$$;
179
- n && n.m(t, r), Qe(() => {
180
- const s = e.$$.on_mount.map(Ot).filter(Se);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
182
- }), i.forEach(Qe);
179
+ n && n.m(t, r), Ze(() => {
180
+ const s = e.$$.on_mount.map(Mt).filter(Ee);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
182
+ }), i.forEach(Ze);
183
183
  }
184
184
  function Sr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (_r(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (_r(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
188
  function Tr(e, t) {
189
- e.$$.dirty[0] === -1 && (oe.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
+ e.$$.dirty[0] === -1 && (ae.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
191
  function Ar(e, t, r, n, i, s, o = null, a = [-1]) {
192
- const l = ve;
193
- _e(e);
192
+ const l = _e;
193
+ ye(e);
194
194
  const u = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
@@ -214,18 +214,18 @@ function Ar(e, t, r, n, i, s, o = null, a = [-1]) {
214
214
  };
215
215
  o && o(u.root);
216
216
  let h = !1;
217
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ..._) => {
218
- const y = _.length ? _[0] : m;
217
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...v) => {
218
+ const y = v.length ? v[0] : m;
219
219
  return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Tr(e, c)), m;
220
- }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
220
+ }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
222
  const c = fr(t.target);
223
- u.fragment && u.fragment.l(c), c.forEach(P);
223
+ u.fragment && u.fragment.l(c), c.forEach(O);
224
224
  } else
225
225
  u.fragment && u.fragment.c();
226
- t.intro && Er(e.$$.fragment), xr(e, t.target, t.anchor), A();
226
+ t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), A();
227
227
  }
228
- _e(l);
228
+ ye(l);
229
229
  }
230
230
  let Lt;
231
231
  typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
@@ -280,7 +280,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
280
280
  k(l, s, u);
281
281
  },
282
282
  d: function(l) {
283
- l && P(s);
283
+ l && O(s);
284
284
  }
285
285
  };
286
286
  };
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
292
292
  i in r && (t[i] = [e(i)]);
293
293
  for (const i of this.attributes) {
294
294
  const s = this.$$g_p(i.name);
295
- s in this.$$d || (this.$$d[s] = we(s, i.value, this.$$p_d, "toProp"));
295
+ s in this.$$d || (this.$$d[s] = Be(s, i.value, this.$$p_d, "toProp"));
296
296
  }
297
297
  for (const i in this.$$p_d)
298
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
310
310
  this.$$r = !0;
311
311
  for (const i in this.$$p_d)
312
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
- const s = we(
313
+ const s = Be(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
332
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
333
  // and setting attributes through setAttribute etc, this is helpful
334
334
  attributeChangedCallback(e, t, r) {
335
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = we(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
336
  }
337
337
  disconnectedCallback() {
338
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function we(e, t, r, n) {
348
+ function Be(e, t, r, n) {
349
349
  const i = r[e]?.type;
350
350
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
351
351
  return t;
@@ -391,7 +391,7 @@ function Hr(e, t, r, n, i, s) {
391
391
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
392
392
  },
393
393
  set(l) {
394
- l = we(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
394
+ l = Be(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
395
395
  }
396
396
  });
397
397
  }), n.forEach((a) => {
@@ -431,7 +431,7 @@ class Cr {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!Se(r))
434
+ if (!Ee(r))
435
435
  return j;
436
436
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return n.push(r), () => {
@@ -449,24 +449,24 @@ class Cr {
449
449
  }
450
450
  const Br = "4";
451
451
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
452
- const ae = [];
452
+ const se = [];
453
453
  function wr(e, t) {
454
454
  return {
455
- subscribe: Re(e, t).subscribe
455
+ subscribe: Pe(e, t).subscribe
456
456
  };
457
457
  }
458
- function Re(e, t = j) {
458
+ function Pe(e, t = j) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(a) {
462
- if (Pt(e, a) && (e = a, r)) {
463
- const l = !ae.length;
462
+ if (Ot(e, a) && (e = a, r)) {
463
+ const l = !se.length;
464
464
  for (const u of n)
465
- u[1](), ae.push(u, e);
465
+ u[1](), se.push(u, e);
466
466
  if (l) {
467
- for (let u = 0; u < ae.length; u += 2)
468
- ae[u][0](ae[u + 1]);
469
- ae.length = 0;
467
+ for (let u = 0; u < se.length; u += 2)
468
+ se[u][0](se[u + 1]);
469
+ se.length = 0;
470
470
  }
471
471
  }
472
472
  }
@@ -481,7 +481,7 @@ function Re(e, t = j) {
481
481
  }
482
482
  return { set: i, update: s, subscribe: o };
483
483
  }
484
- function de(e, t, r) {
484
+ function me(e, t, r) {
485
485
  const n = !Array.isArray(e), i = n ? [e] : e;
486
486
  if (!i.every(Boolean))
487
487
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -495,9 +495,9 @@ function de(e, t, r) {
495
495
  return;
496
496
  c();
497
497
  const y = t(n ? u[0] : u, o, a);
498
- s ? o(y) : c = Se(y) ? y : j;
499
- }, _ = i.map(
500
- (y, T) => Mt(
498
+ s ? o(y) : c = Ee(y) ? y : j;
499
+ }, v = i.map(
500
+ (y, T) => Pt(
501
501
  y,
502
502
  (w) => {
503
503
  u[T] = w, h &= ~(1 << T), l && m();
@@ -508,7 +508,7 @@ function de(e, t, r) {
508
508
  )
509
509
  );
510
510
  return l = !0, m(), function() {
511
- re(_), c(), l = !1;
511
+ te(v), c(), l = !1;
512
512
  };
513
513
  });
514
514
  }
@@ -516,35 +516,35 @@ function Ir(e) {
516
516
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
518
  var Nr = function(t) {
519
- return Or(t) && !Pr(t);
519
+ return Mr(t) && !Or(t);
520
520
  };
521
- function Or(e) {
521
+ function Mr(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function Pr(e) {
524
+ function Or(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
526
  return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
527
527
  }
528
- var Mr = typeof Symbol == "function" && Symbol.for, Lr = Mr ? Symbol.for("react.element") : 60103;
528
+ var Pr = typeof Symbol == "function" && Symbol.for, Lr = Pr ? Symbol.for("react.element") : 60103;
529
529
  function Rr(e) {
530
530
  return e.$$typeof === Lr;
531
531
  }
532
532
  function Dr(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function Ee(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? he(Dr(e), e, t) : e;
535
+ function ve(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? le(Dr(e), e, t) : e;
537
537
  }
538
538
  function kr(e, t, r) {
539
539
  return e.concat(t).map(function(n) {
540
- return Ee(n, r);
540
+ return ve(n, r);
541
541
  });
542
542
  }
543
543
  function Ur(e, t) {
544
544
  if (!t.customMerge)
545
- return he;
545
+ return le;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : he;
547
+ return typeof r == "function" ? r : le;
548
548
  }
549
549
  function Fr(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -567,51 +567,65 @@ function Gr(e, t) {
567
567
  function $r(e, t, r) {
568
568
  var n = {};
569
569
  return r.isMergeableObject(e) && ct(e).forEach(function(i) {
570
- n[i] = Ee(e[i], r);
570
+ n[i] = ve(e[i], r);
571
571
  }), ct(t).forEach(function(i) {
572
- Gr(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
572
+ Gr(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
573
573
  }), n;
574
574
  }
575
- function he(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || Nr, r.cloneUnlessOtherwiseSpecified = Ee;
575
+ function le(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || Nr, r.cloneUnlessOtherwiseSpecified = ve;
577
577
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
578
- return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : Ee(t, r);
578
+ return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : ve(t, r);
579
579
  }
580
- he.all = function(t, r) {
580
+ le.all = function(t, r) {
581
581
  if (!Array.isArray(t))
582
582
  throw new Error("first argument should be an array");
583
583
  return t.reduce(function(n, i) {
584
- return he(n, i, r);
584
+ return le(n, i, r);
585
585
  }, {});
586
586
  };
587
- var jr = he, Vr = jr;
587
+ var jr = le, Vr = jr;
588
588
  const Jr = /* @__PURE__ */ Ir(Vr);
589
- var Ye = function(e, t) {
590
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
589
+ /*! *****************************************************************************
590
+ Copyright (c) Microsoft Corporation.
591
+
592
+ Permission to use, copy, modify, and/or distribute this software for any
593
+ purpose with or without fee is hereby granted.
594
+
595
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
+ PERFORMANCE OF THIS SOFTWARE.
602
+ ***************************************************************************** */
603
+ var qe = function(e, t) {
604
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
591
605
  r.__proto__ = n;
592
606
  } || function(r, n) {
593
607
  for (var i in n)
594
608
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
595
- }, Ye(e, t);
609
+ }, qe(e, t);
596
610
  };
597
- function De(e, t) {
611
+ function Le(e, t) {
598
612
  if (typeof t != "function" && t !== null)
599
613
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
600
- Ye(e, t);
614
+ qe(e, t);
601
615
  function r() {
602
616
  this.constructor = e;
603
617
  }
604
618
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
605
619
  }
606
- var q = function() {
607
- return q = Object.assign || function(t) {
620
+ var _ = function() {
621
+ return _ = Object.assign || function(t) {
608
622
  for (var r, n = 1, i = arguments.length; n < i; n++) {
609
623
  r = arguments[n];
610
624
  for (var s in r)
611
625
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
612
626
  }
613
627
  return t;
614
- }, q.apply(this, arguments);
628
+ }, _.apply(this, arguments);
615
629
  };
616
630
  function zr(e, t) {
617
631
  var r = {};
@@ -622,14 +636,14 @@ function zr(e, t) {
622
636
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
623
637
  return r;
624
638
  }
625
- function $e(e, t, r) {
626
- if (r || arguments.length === 2)
639
+ function Fe(e, t, r) {
640
+ if (arguments.length === 2)
627
641
  for (var n = 0, i = t.length, s; n < i; n++)
628
642
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
629
- return e.concat(s || Array.prototype.slice.call(t));
643
+ return e.concat(s || t);
630
644
  }
631
- function je(e, t) {
632
- var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Zr;
645
+ function Ge(e, t) {
646
+ var r = t && t.cache ? t.cache : Yr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Xr;
633
647
  return i(e, {
634
648
  cache: r,
635
649
  serializer: n
@@ -638,103 +652,95 @@ function je(e, t) {
638
652
  function Wr(e) {
639
653
  return e == null || typeof e == "number" || typeof e == "boolean";
640
654
  }
641
- function Xr(e, t, r, n) {
655
+ function Dt(e, t, r, n) {
642
656
  var i = Wr(n) ? n : r(n), s = t.get(i);
643
657
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
644
658
  }
645
- function Dt(e, t, r) {
659
+ function kt(e, t, r) {
646
660
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
647
661
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
648
662
  }
649
- function kt(e, t, r, n, i) {
663
+ function st(e, t, r, n, i) {
650
664
  return r.bind(t, e, n, i);
651
665
  }
666
+ function Xr(e, t) {
667
+ var r = e.length === 1 ? Dt : kt;
668
+ return st(e, this, r, t.cache.create(), t.serializer);
669
+ }
652
670
  function Zr(e, t) {
653
- var r = e.length === 1 ? Xr : Dt;
654
- return kt(e, this, r, t.cache.create(), t.serializer);
671
+ return st(e, this, kt, t.cache.create(), t.serializer);
655
672
  }
656
673
  function qr(e, t) {
657
- return kt(e, this, Dt, t.cache.create(), t.serializer);
674
+ return st(e, this, Dt, t.cache.create(), t.serializer);
658
675
  }
659
676
  var Qr = function() {
660
677
  return JSON.stringify(arguments);
661
- }, Yr = (
662
- /** @class */
663
- function() {
664
- function e() {
665
- this.cache = /* @__PURE__ */ Object.create(null);
666
- }
667
- return e.prototype.get = function(t) {
668
- return this.cache[t];
669
- }, e.prototype.set = function(t, r) {
670
- this.cache[t] = r;
671
- }, e;
672
- }()
673
- ), Kr = {
678
+ };
679
+ function at() {
680
+ this.cache = /* @__PURE__ */ Object.create(null);
681
+ }
682
+ at.prototype.get = function(e) {
683
+ return this.cache[e];
684
+ };
685
+ at.prototype.set = function(e, t) {
686
+ this.cache[e] = t;
687
+ };
688
+ var Yr = {
674
689
  create: function() {
675
- return new Yr();
690
+ return new at();
676
691
  }
677
- }, Ve = {
678
- variadic: qr
679
- }, Pe = function() {
680
- return Pe = Object.assign || function(t) {
681
- for (var r, n = 1, i = arguments.length; n < i; n++) {
682
- r = arguments[n];
683
- for (var s in r)
684
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
685
- }
686
- return t;
687
- }, Pe.apply(this, arguments);
688
- };
689
- var g;
692
+ }, $e = {
693
+ variadic: Zr,
694
+ monadic: qr
695
+ }, g;
690
696
  (function(e) {
691
697
  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";
692
698
  })(g || (g = {}));
693
- var x;
699
+ var S;
694
700
  (function(e) {
695
701
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
696
- })(x || (x = {}));
697
- var ce;
702
+ })(S || (S = {}));
703
+ var he;
698
704
  (function(e) {
699
705
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
700
- })(ce || (ce = {}));
706
+ })(he || (he = {}));
701
707
  function ft(e) {
702
- return e.type === x.literal;
708
+ return e.type === S.literal;
703
709
  }
704
- function en(e) {
705
- return e.type === x.argument;
710
+ function Kr(e) {
711
+ return e.type === S.argument;
706
712
  }
707
713
  function Ut(e) {
708
- return e.type === x.number;
714
+ return e.type === S.number;
709
715
  }
710
716
  function Ft(e) {
711
- return e.type === x.date;
717
+ return e.type === S.date;
712
718
  }
713
719
  function Gt(e) {
714
- return e.type === x.time;
720
+ return e.type === S.time;
715
721
  }
716
722
  function $t(e) {
717
- return e.type === x.select;
723
+ return e.type === S.select;
718
724
  }
719
725
  function jt(e) {
720
- return e.type === x.plural;
726
+ return e.type === S.plural;
721
727
  }
722
- function tn(e) {
723
- return e.type === x.pound;
728
+ function en(e) {
729
+ return e.type === S.pound;
724
730
  }
725
731
  function Vt(e) {
726
- return e.type === x.tag;
732
+ return e.type === S.tag;
727
733
  }
728
734
  function Jt(e) {
729
- return !!(e && typeof e == "object" && e.type === ce.number);
735
+ return !!(e && typeof e == "object" && e.type === he.number);
730
736
  }
731
- function Ke(e) {
732
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
737
+ function Qe(e) {
738
+ return !!(e && typeof e == "object" && e.type === he.dateTime);
733
739
  }
734
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
735
- function nn(e) {
740
+ var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[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;
741
+ function rn(e) {
736
742
  var t = {};
737
- return e.replace(rn, function(r) {
743
+ return e.replace(tn, function(r) {
738
744
  var n = r.length;
739
745
  switch (r[0]) {
740
746
  case "G":
@@ -823,21 +829,11 @@ function nn(e) {
823
829
  return "";
824
830
  }), t;
825
831
  }
826
- var S = function() {
827
- return S = Object.assign || function(t) {
828
- for (var r, n = 1, i = arguments.length; n < i; n++) {
829
- r = arguments[n];
830
- for (var s in r)
831
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
832
- }
833
- return t;
834
- }, S.apply(this, arguments);
835
- };
836
- var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function an(e) {
832
+ var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
833
+ function sn(e) {
838
834
  if (e.length === 0)
839
835
  throw new Error("Number skeleton cannot be empty");
840
- for (var t = e.split(sn).filter(function(m) {
836
+ for (var t = e.split(nn).filter(function(m) {
841
837
  return m.length > 0;
842
838
  }), r = [], n = 0, i = t; n < i.length; n++) {
843
839
  var s = i[n], o = s.split("/");
@@ -852,10 +848,10 @@ function an(e) {
852
848
  }
853
849
  return r;
854
850
  }
855
- function on(e) {
851
+ function an(e) {
856
852
  return e.replace(/^(.*?)-/, "");
857
853
  }
858
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
854
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
859
855
  function dt(e) {
860
856
  var t = {};
861
857
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
@@ -902,7 +898,7 @@ function Zt(e) {
902
898
  };
903
899
  }
904
900
  }
905
- function ln(e) {
901
+ function un(e) {
906
902
  var t;
907
903
  if (e[0] === "E" && e[1] === "E" ? (t = {
908
904
  notation: "engineering"
@@ -920,7 +916,7 @@ function bt(e) {
920
916
  var t = {}, r = Zt(e);
921
917
  return r || t;
922
918
  }
923
- function hn(e) {
919
+ function ln(e) {
924
920
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
925
921
  var i = n[r];
926
922
  switch (i.stem) {
@@ -944,7 +940,7 @@ function hn(e) {
944
940
  continue;
945
941
  case "measure-unit":
946
942
  case "unit":
947
- t.style = "unit", t.unit = on(i.options[0]);
943
+ t.style = "unit", t.unit = an(i.options[0]);
948
944
  continue;
949
945
  case "compact-short":
950
946
  case "K":
@@ -955,13 +951,13 @@ function hn(e) {
955
951
  t.notation = "compact", t.compactDisplay = "long";
956
952
  continue;
957
953
  case "scientific":
958
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
959
- return S(S({}, l), bt(u));
954
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
955
+ return _(_({}, l), bt(u));
960
956
  }, {}));
961
957
  continue;
962
958
  case "engineering":
963
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
964
- return S(S({}, l), bt(u));
959
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
960
+ return _(_({}, l), bt(u));
965
961
  }, {}));
966
962
  continue;
967
963
  case "notation-simple":
@@ -1006,13 +1002,13 @@ function hn(e) {
1006
1002
  case "integer-width":
1007
1003
  if (i.options.length > 1)
1008
1004
  throw new RangeError("integer-width stems only accept a single optional option");
1009
- i.options[0].replace(un, function(l, u, h, c, m, _) {
1005
+ i.options[0].replace(on, function(l, u, h, c, m, v) {
1010
1006
  if (u)
1011
1007
  t.minimumIntegerDigits = h.length;
1012
1008
  else {
1013
1009
  if (c && m)
1014
1010
  throw new Error("We currently do not support maximum integer digits");
1015
- if (_)
1011
+ if (v)
1016
1012
  throw new Error("We currently do not support exact integer digits");
1017
1013
  }
1018
1014
  return "";
@@ -1026,25 +1022,25 @@ function hn(e) {
1026
1022
  if (mt.test(i.stem)) {
1027
1023
  if (i.options.length > 1)
1028
1024
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1029
- i.stem.replace(mt, function(l, u, h, c, m, _) {
1030
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1025
+ i.stem.replace(mt, function(l, u, h, c, m, v) {
1026
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1031
1027
  });
1032
1028
  var s = i.options[0];
1033
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), dt(s)));
1029
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), dt(s)));
1034
1030
  continue;
1035
1031
  }
1036
1032
  if (Wt.test(i.stem)) {
1037
- t = S(S({}, t), dt(i.stem));
1033
+ t = _(_({}, t), dt(i.stem));
1038
1034
  continue;
1039
1035
  }
1040
1036
  var o = Zt(i.stem);
1041
- o && (t = S(S({}, t), o));
1042
- var a = ln(i.stem);
1043
- a && (t = S(S({}, t), a));
1037
+ o && (t = _(_({}, t), o));
1038
+ var a = un(i.stem);
1039
+ a && (t = _(_({}, t), a));
1044
1040
  }
1045
1041
  return t;
1046
1042
  }
1047
- var Be = {
1043
+ var Ce = {
1048
1044
  "001": [
1049
1045
  "H",
1050
1046
  "h"
@@ -2459,13 +2455,13 @@ var Be = {
2459
2455
  "h"
2460
2456
  ]
2461
2457
  };
2462
- function cn(e, t) {
2458
+ function hn(e, t) {
2463
2459
  for (var r = "", n = 0; n < e.length; n++) {
2464
2460
  var i = e.charAt(n);
2465
2461
  if (i === "j") {
2466
2462
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2467
2463
  s++, n++;
2468
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = fn(t);
2464
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = cn(t);
2469
2465
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2470
2466
  r += l;
2471
2467
  for (; o-- > 0; )
@@ -2475,7 +2471,7 @@ function cn(e, t) {
2475
2471
  }
2476
2472
  return r;
2477
2473
  }
2478
- function fn(e) {
2474
+ function cn(e) {
2479
2475
  var t = e.hourCycle;
2480
2476
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2481
2477
  e.hourCycles && // @ts-ignore
@@ -2494,23 +2490,23 @@ function fn(e) {
2494
2490
  }
2495
2491
  var r = e.language, n;
2496
2492
  r !== "root" && (n = e.maximize().region);
2497
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
2493
+ var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2498
2494
  return i[0];
2499
2495
  }
2500
- var Je, mn = new RegExp("^".concat(zt.source, "*")), dn = new RegExp("".concat(zt.source, "*$"));
2496
+ var je, fn = new RegExp("^".concat(zt.source, "*")), mn = new RegExp("".concat(zt.source, "*$"));
2501
2497
  function p(e, t) {
2502
2498
  return { start: e, end: t };
2503
2499
  }
2504
- var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, pn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, En = !!Number.isSafeInteger, xn = En ? Number.isSafeInteger : function(e) {
2500
+ var dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, gn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, yn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, xn = vn ? Number.isSafeInteger : function(e) {
2505
2501
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2506
- }, et = !0;
2502
+ }, Ye = !0;
2507
2503
  try {
2508
- var Sn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
- et = ((Je = Sn.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2504
+ var En = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2505
+ Ye = ((je = En.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2510
2506
  } catch {
2511
- et = !1;
2507
+ Ye = !1;
2512
2508
  }
2513
- var gt = bn ? (
2509
+ var gt = dn ? (
2514
2510
  // Native
2515
2511
  function(t, r, n) {
2516
2512
  return t.startsWith(r, n);
@@ -2520,7 +2516,7 @@ var gt = bn ? (
2520
2516
  function(t, r, n) {
2521
2517
  return t.slice(n, n + r.length) === r;
2522
2518
  }
2523
- ), tt = gn ? String.fromCodePoint : (
2519
+ ), Ke = bn ? String.fromCodePoint : (
2524
2520
  // IE11
2525
2521
  function() {
2526
2522
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2534,7 +2530,7 @@ var gt = bn ? (
2534
2530
  }
2535
2531
  ), pt = (
2536
2532
  // native
2537
- pn ? Object.fromEntries : (
2533
+ gn ? Object.fromEntries : (
2538
2534
  // Ponyfill
2539
2535
  function(t) {
2540
2536
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2544,7 +2540,7 @@ var gt = bn ? (
2544
2540
  return r;
2545
2541
  }
2546
2542
  )
2547
- ), qt = yn ? (
2543
+ ), qt = pn ? (
2548
2544
  // Native
2549
2545
  function(t, r) {
2550
2546
  return t.codePointAt(r);
@@ -2558,7 +2554,7 @@ var gt = bn ? (
2558
2554
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2559
2555
  }
2560
2556
  }
2561
- ), Tn = _n ? (
2557
+ ), Sn = yn ? (
2562
2558
  // Native
2563
2559
  function(t) {
2564
2560
  return t.trimStart();
@@ -2566,9 +2562,9 @@ var gt = bn ? (
2566
2562
  ) : (
2567
2563
  // Ponyfill
2568
2564
  function(t) {
2569
- return t.replace(mn, "");
2565
+ return t.replace(fn, "");
2570
2566
  }
2571
- ), An = vn ? (
2567
+ ), Tn = _n ? (
2572
2568
  // Native
2573
2569
  function(t) {
2574
2570
  return t.trimEnd();
@@ -2576,32 +2572,32 @@ var gt = bn ? (
2576
2572
  ) : (
2577
2573
  // Ponyfill
2578
2574
  function(t) {
2579
- return t.replace(dn, "");
2575
+ return t.replace(mn, "");
2580
2576
  }
2581
2577
  );
2582
2578
  function Qt(e, t) {
2583
2579
  return new RegExp(e, t);
2584
2580
  }
2585
- var rt;
2586
- if (et) {
2581
+ var et;
2582
+ if (Ye) {
2587
2583
  var yt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
- rt = function(t, r) {
2584
+ et = function(t, r) {
2589
2585
  var n;
2590
2586
  yt.lastIndex = r;
2591
2587
  var i = yt.exec(t);
2592
2588
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2593
2589
  };
2594
2590
  } else
2595
- rt = function(t, r) {
2591
+ et = function(t, r) {
2596
2592
  for (var n = []; ; ) {
2597
2593
  var i = qt(t, r);
2598
- if (i === void 0 || Yt(i) || wn(i))
2594
+ if (i === void 0 || Yt(i) || Bn(i))
2599
2595
  break;
2600
2596
  n.push(i), r += i >= 65536 ? 2 : 1;
2601
2597
  }
2602
- return tt.apply(void 0, n);
2598
+ return Ke.apply(void 0, n);
2603
2599
  };
2604
- var Hn = (
2600
+ var An = (
2605
2601
  /** @class */
2606
2602
  function() {
2607
2603
  function e(t, r) {
@@ -2625,14 +2621,14 @@ var Hn = (
2625
2621
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2626
2622
  var a = this.clonePosition();
2627
2623
  this.bump(), i.push({
2628
- type: x.pound,
2624
+ type: S.pound,
2629
2625
  location: p(a, this.clonePosition())
2630
2626
  });
2631
2627
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2632
2628
  if (n)
2633
2629
  break;
2634
2630
  return this.error(g.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2635
- } else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
2631
+ } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
2636
2632
  var o = this.parseTag(t, r);
2637
2633
  if (o.err)
2638
2634
  return o;
@@ -2653,7 +2649,7 @@ var Hn = (
2653
2649
  if (this.bumpSpace(), this.bumpIf("/>"))
2654
2650
  return {
2655
2651
  val: {
2656
- type: x.literal,
2652
+ type: S.literal,
2657
2653
  value: "<".concat(i, "/>"),
2658
2654
  location: p(n, this.clonePosition())
2659
2655
  },
@@ -2665,12 +2661,12 @@ var Hn = (
2665
2661
  return s;
2666
2662
  var o = s.val, a = this.clonePosition();
2667
2663
  if (this.bumpIf("</")) {
2668
- if (this.isEOF() || !nt(this.char()))
2664
+ if (this.isEOF() || !tt(this.char()))
2669
2665
  return this.error(g.INVALID_TAG, p(a, this.clonePosition()));
2670
2666
  var l = this.clonePosition(), u = this.parseTagName();
2671
2667
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2672
2668
  val: {
2673
- type: x.tag,
2669
+ type: S.tag,
2674
2670
  value: i,
2675
2671
  children: o,
2676
2672
  location: p(n, this.clonePosition())
@@ -2683,7 +2679,7 @@ var Hn = (
2683
2679
  return this.error(g.INVALID_TAG, p(n, this.clonePosition()));
2684
2680
  }, e.prototype.parseTagName = function() {
2685
2681
  var t = this.offset();
2686
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
2682
+ for (this.bump(); !this.isEOF() && Cn(this.char()); )
2687
2683
  this.bump();
2688
2684
  return this.message.slice(t, this.offset());
2689
2685
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2707,12 +2703,12 @@ var Hn = (
2707
2703
  }
2708
2704
  var l = p(n, this.clonePosition());
2709
2705
  return {
2710
- val: { type: x.literal, value: i, location: l },
2706
+ val: { type: S.literal, value: i, location: l },
2711
2707
  err: null
2712
2708
  };
2713
2709
  }, e.prototype.tryParseLeftAngleBracket = function() {
2714
2710
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2715
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2711
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2716
2712
  }, e.prototype.tryParseQuote = function(t) {
2717
2713
  if (this.isEOF() || this.char() !== 39)
2718
2714
  return null;
@@ -2746,12 +2742,12 @@ var Hn = (
2746
2742
  r.push(n);
2747
2743
  this.bump();
2748
2744
  }
2749
- return tt.apply(void 0, r);
2745
+ return Ke.apply(void 0, r);
2750
2746
  }, e.prototype.tryParseUnquoted = function(t, r) {
2751
2747
  if (this.isEOF())
2752
2748
  return null;
2753
2749
  var n = this.char();
2754
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
2750
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
2755
2751
  }, e.prototype.parseArgument = function(t, r) {
2756
2752
  var n = this.clonePosition();
2757
2753
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2767,7 +2763,7 @@ var Hn = (
2767
2763
  case 125:
2768
2764
  return this.bump(), {
2769
2765
  val: {
2770
- type: x.argument,
2766
+ type: S.argument,
2771
2767
  // value does not include the opening and closing braces.
2772
2768
  value: i,
2773
2769
  location: p(n, this.clonePosition())
@@ -2780,7 +2776,7 @@ var Hn = (
2780
2776
  return this.error(g.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2781
2777
  }
2782
2778
  }, e.prototype.parseIdentifierIfPossible = function() {
2783
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
2779
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
2784
2780
  this.bumpTo(i);
2785
2781
  var s = this.clonePosition(), o = p(t, s);
2786
2782
  return { value: n, location: o };
@@ -2799,44 +2795,44 @@ var Hn = (
2799
2795
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2800
2796
  if (c.err)
2801
2797
  return c;
2802
- var m = An(c.val);
2798
+ var m = Tn(c.val);
2803
2799
  if (m.length === 0)
2804
2800
  return this.error(g.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2805
- var _ = p(h, this.clonePosition());
2806
- u = { style: m, styleLocation: _ };
2801
+ var v = p(h, this.clonePosition());
2802
+ u = { style: m, styleLocation: v };
2807
2803
  }
2808
2804
  var y = this.tryParseArgumentClose(i);
2809
2805
  if (y.err)
2810
2806
  return y;
2811
2807
  var T = p(i, this.clonePosition());
2812
2808
  if (u && gt(u?.style, "::", 0)) {
2813
- var w = Tn(u.style.slice(2));
2809
+ var w = Sn(u.style.slice(2));
2814
2810
  if (a === "number") {
2815
2811
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
2816
2812
  return c.err ? c : {
2817
- val: { type: x.number, value: n, location: T, style: c.val },
2813
+ val: { type: S.number, value: n, location: T, style: c.val },
2818
2814
  err: null
2819
2815
  };
2820
2816
  } else {
2821
2817
  if (w.length === 0)
2822
2818
  return this.error(g.EXPECT_DATE_TIME_SKELETON, T);
2823
2819
  var F = w;
2824
- this.locale && (F = cn(w, this.locale));
2820
+ this.locale && (F = hn(w, this.locale));
2825
2821
  var m = {
2826
- type: ce.dateTime,
2822
+ type: he.dateTime,
2827
2823
  pattern: F,
2828
2824
  location: u.styleLocation,
2829
- parsedOptions: this.shouldParseSkeletons ? nn(F) : {}
2830
- }, M = a === "date" ? x.date : x.time;
2825
+ parsedOptions: this.shouldParseSkeletons ? rn(F) : {}
2826
+ }, P = a === "date" ? S.date : S.time;
2831
2827
  return {
2832
- val: { type: M, value: n, location: T, style: m },
2828
+ val: { type: P, value: n, location: T, style: m },
2833
2829
  err: null
2834
2830
  };
2835
2831
  }
2836
2832
  }
2837
2833
  return {
2838
2834
  val: {
2839
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2835
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2840
2836
  value: n,
2841
2837
  location: T,
2842
2838
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2849,7 +2845,7 @@ var Hn = (
2849
2845
  case "select": {
2850
2846
  var C = this.clonePosition();
2851
2847
  if (this.bumpSpace(), !this.bumpIf(","))
2852
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, p(C, Pe({}, C)));
2848
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, p(C, _({}, C)));
2853
2849
  this.bumpSpace();
2854
2850
  var U = this.parseIdentifierIfPossible(), L = 0;
2855
2851
  if (a !== "select" && U.value === "offset") {
@@ -2870,7 +2866,7 @@ var Hn = (
2870
2866
  var V = p(i, this.clonePosition());
2871
2867
  return a === "select" ? {
2872
2868
  val: {
2873
- type: x.select,
2869
+ type: S.select,
2874
2870
  value: n,
2875
2871
  options: pt(I.val),
2876
2872
  location: V
@@ -2878,7 +2874,7 @@ var Hn = (
2878
2874
  err: null
2879
2875
  } : {
2880
2876
  val: {
2881
- type: x.plural,
2877
+ type: S.plural,
2882
2878
  value: n,
2883
2879
  options: pt(I.val),
2884
2880
  offset: L,
@@ -2931,16 +2927,16 @@ var Hn = (
2931
2927
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2932
2928
  var n = [];
2933
2929
  try {
2934
- n = an(t);
2930
+ n = sn(t);
2935
2931
  } catch {
2936
2932
  return this.error(g.INVALID_NUMBER_SKELETON, r);
2937
2933
  }
2938
2934
  return {
2939
2935
  val: {
2940
- type: ce.number,
2936
+ type: he.number,
2941
2937
  tokens: n,
2942
2938
  location: r,
2943
- parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
2939
+ parsedOptions: this.shouldParseSkeletons ? ln(n) : {}
2944
2940
  },
2945
2941
  err: null
2946
2942
  };
@@ -2959,20 +2955,20 @@ var Hn = (
2959
2955
  if (l.has(u))
2960
2956
  return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2961
2957
  u === "other" && (o = !0), this.bumpSpace();
2962
- var _ = this.clonePosition();
2958
+ var v = this.clonePosition();
2963
2959
  if (!this.bumpIf("{"))
2964
2960
  return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
2965
2961
  var y = this.parseMessage(t + 1, r, n);
2966
2962
  if (y.err)
2967
2963
  return y;
2968
- var T = this.tryParseArgumentClose(_);
2964
+ var T = this.tryParseArgumentClose(v);
2969
2965
  if (T.err)
2970
2966
  return T;
2971
2967
  a.push([
2972
2968
  u,
2973
2969
  {
2974
2970
  value: y.val,
2975
- location: p(_, this.clonePosition())
2971
+ location: p(v, this.clonePosition())
2976
2972
  }
2977
2973
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2978
2974
  }
@@ -3054,47 +3050,47 @@ var Hn = (
3054
3050
  }, e;
3055
3051
  }()
3056
3052
  );
3057
- function nt(e) {
3053
+ function tt(e) {
3058
3054
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3059
3055
  }
3060
- function Cn(e) {
3061
- return nt(e) || e === 47;
3056
+ function Hn(e) {
3057
+ return tt(e) || e === 47;
3062
3058
  }
3063
- function Bn(e) {
3059
+ function Cn(e) {
3064
3060
  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;
3065
3061
  }
3066
3062
  function Yt(e) {
3067
3063
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3068
3064
  }
3069
- function wn(e) {
3065
+ function Bn(e) {
3070
3066
  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;
3071
3067
  }
3072
- function it(e) {
3068
+ function rt(e) {
3073
3069
  e.forEach(function(t) {
3074
3070
  if (delete t.location, $t(t) || jt(t))
3075
3071
  for (var r in t.options)
3076
- delete t.options[r].location, it(t.options[r].value);
3072
+ delete t.options[r].location, rt(t.options[r].value);
3077
3073
  else
3078
- Ut(t) && Jt(t.style) || (Ft(t) || Gt(t)) && Ke(t.style) ? delete t.style.location : Vt(t) && it(t.children);
3074
+ Ut(t) && Jt(t.style) || (Ft(t) || Gt(t)) && Qe(t.style) ? delete t.style.location : Vt(t) && rt(t.children);
3079
3075
  });
3080
3076
  }
3081
- function In(e, t) {
3082
- t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
- var r = new Hn(e, t).parse();
3077
+ function wn(e, t) {
3078
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3079
+ var r = new An(e, t).parse();
3084
3080
  if (r.err) {
3085
3081
  var n = SyntaxError(g[r.err.kind]);
3086
3082
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3087
3083
  }
3088
- return t?.captureLocation || it(r.val), r.val;
3084
+ return t?.captureLocation || rt(r.val), r.val;
3089
3085
  }
3090
- var fe;
3086
+ var ce;
3091
3087
  (function(e) {
3092
3088
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3093
- })(fe || (fe = {}));
3094
- var ke = (
3089
+ })(ce || (ce = {}));
3090
+ var Re = (
3095
3091
  /** @class */
3096
3092
  function(e) {
3097
- De(t, e);
3093
+ Le(t, e);
3098
3094
  function t(r, n, i) {
3099
3095
  var s = e.call(this, r) || this;
3100
3096
  return s.code = n, s.originalMessage = i, s;
@@ -3106,44 +3102,44 @@ var ke = (
3106
3102
  ), _t = (
3107
3103
  /** @class */
3108
3104
  function(e) {
3109
- De(t, e);
3105
+ Le(t, e);
3110
3106
  function t(r, n, i, s) {
3111
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, s) || this;
3107
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, s) || this;
3112
3108
  }
3113
3109
  return t;
3114
- }(ke)
3115
- ), Nn = (
3110
+ }(Re)
3111
+ ), In = (
3116
3112
  /** @class */
3117
3113
  function(e) {
3118
- De(t, e);
3114
+ Le(t, e);
3119
3115
  function t(r, n, i) {
3120
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3116
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3121
3117
  }
3122
3118
  return t;
3123
- }(ke)
3124
- ), On = (
3119
+ }(Re)
3120
+ ), Nn = (
3125
3121
  /** @class */
3126
3122
  function(e) {
3127
- De(t, e);
3123
+ Le(t, e);
3128
3124
  function t(r, n) {
3129
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3125
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3130
3126
  }
3131
3127
  return t;
3132
- }(ke)
3128
+ }(Re)
3133
3129
  ), D;
3134
3130
  (function(e) {
3135
3131
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
3132
  })(D || (D = {}));
3137
- function Pn(e) {
3133
+ function Mn(e) {
3138
3134
  return e.length < 2 ? e : e.reduce(function(t, r) {
3139
3135
  var n = t[t.length - 1];
3140
3136
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3141
3137
  }, []);
3142
3138
  }
3143
- function Mn(e) {
3139
+ function On(e) {
3144
3140
  return typeof e == "function";
3145
3141
  }
3146
- function Ie(e, t, r, n, i, s, o) {
3142
+ function we(e, t, r, n, i, s, o) {
3147
3143
  if (e.length === 1 && ft(e[0]))
3148
3144
  return [
3149
3145
  {
@@ -3160,7 +3156,7 @@ function Ie(e, t, r, n, i, s, o) {
3160
3156
  });
3161
3157
  continue;
3162
3158
  }
3163
- if (tn(h)) {
3159
+ if (en(h)) {
3164
3160
  typeof s == "number" && a.push({
3165
3161
  type: D.literal,
3166
3162
  value: r.getNumberFormat(t).format(s)
@@ -3169,9 +3165,9 @@ function Ie(e, t, r, n, i, s, o) {
3169
3165
  }
3170
3166
  var c = h.value;
3171
3167
  if (!(i && c in i))
3172
- throw new On(c, o);
3168
+ throw new Nn(c, o);
3173
3169
  var m = i[c];
3174
- if (en(h)) {
3170
+ if (Kr(h)) {
3175
3171
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3176
3172
  type: typeof m == "string" ? D.literal : D.object,
3177
3173
  value: m
@@ -3179,37 +3175,37 @@ function Ie(e, t, r, n, i, s, o) {
3179
3175
  continue;
3180
3176
  }
3181
3177
  if (Ft(h)) {
3182
- var _ = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3178
+ var v = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3183
3179
  a.push({
3184
3180
  type: D.literal,
3185
- value: r.getDateTimeFormat(t, _).format(m)
3181
+ value: r.getDateTimeFormat(t, v).format(m)
3186
3182
  });
3187
3183
  continue;
3188
3184
  }
3189
3185
  if (Gt(h)) {
3190
- var _ = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3186
+ var v = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3191
3187
  a.push({
3192
3188
  type: D.literal,
3193
- value: r.getDateTimeFormat(t, _).format(m)
3189
+ value: r.getDateTimeFormat(t, v).format(m)
3194
3190
  });
3195
3191
  continue;
3196
3192
  }
3197
3193
  if (Ut(h)) {
3198
- var _ = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3199
- _ && _.scale && (m = m * (_.scale || 1)), a.push({
3194
+ var v = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3195
+ v && v.scale && (m = m * (v.scale || 1)), a.push({
3200
3196
  type: D.literal,
3201
- value: r.getNumberFormat(t, _).format(m)
3197
+ value: r.getNumberFormat(t, v).format(m)
3202
3198
  });
3203
3199
  continue;
3204
3200
  }
3205
3201
  if (Vt(h)) {
3206
3202
  var y = h.children, T = h.value, w = i[T];
3207
- if (!Mn(w))
3208
- throw new Nn(T, "function", o);
3209
- var F = Ie(y, t, r, n, i, s), M = w(F.map(function(L) {
3203
+ if (!On(w))
3204
+ throw new In(T, "function", o);
3205
+ var F = we(y, t, r, n, i, s), P = w(F.map(function(L) {
3210
3206
  return L.value;
3211
3207
  }));
3212
- Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(L) {
3208
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(L) {
3213
3209
  return {
3214
3210
  type: typeof L == "string" ? D.literal : D.object,
3215
3211
  value: L
@@ -3220,38 +3216,38 @@ function Ie(e, t, r, n, i, s, o) {
3220
3216
  var C = h.options[m] || h.options.other;
3221
3217
  if (!C)
3222
3218
  throw new _t(h.value, m, Object.keys(h.options), o);
3223
- a.push.apply(a, Ie(C.value, t, r, n, i));
3219
+ a.push.apply(a, we(C.value, t, r, n, i));
3224
3220
  continue;
3225
3221
  }
3226
3222
  if (jt(h)) {
3227
3223
  var C = h.options["=".concat(m)];
3228
3224
  if (!C) {
3229
3225
  if (!Intl.PluralRules)
3230
- throw new ke(`Intl.PluralRules is not available in this environment.
3226
+ throw new Re(`Intl.PluralRules is not available in this environment.
3231
3227
  Try polyfilling it using "@formatjs/intl-pluralrules"
3232
- `, fe.MISSING_INTL_API, o);
3228
+ `, ce.MISSING_INTL_API, o);
3233
3229
  var U = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3234
3230
  C = h.options[U] || h.options.other;
3235
3231
  }
3236
3232
  if (!C)
3237
3233
  throw new _t(h.value, m, Object.keys(h.options), o);
3238
- a.push.apply(a, Ie(C.value, t, r, n, i, m - (h.offset || 0)));
3234
+ a.push.apply(a, we(C.value, t, r, n, i, m - (h.offset || 0)));
3239
3235
  continue;
3240
3236
  }
3241
3237
  }
3242
- return Pn(a);
3238
+ return Mn(a);
3243
3239
  }
3244
- function Ln(e, t) {
3245
- return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3246
- return r[n] = q(q({}, e[n]), t[n] || {}), r;
3240
+ function Pn(e, t) {
3241
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3242
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3247
3243
  }, {})) : e;
3248
3244
  }
3249
- function Rn(e, t) {
3245
+ function Ln(e, t) {
3250
3246
  return t ? Object.keys(e).reduce(function(r, n) {
3251
- return r[n] = Ln(e[n], t[n]), r;
3252
- }, q({}, e)) : e;
3247
+ return r[n] = Pn(e[n], t[n]), r;
3248
+ }, _({}, e)) : e;
3253
3249
  }
3254
- function ze(e) {
3250
+ function Ve(e) {
3255
3251
  return {
3256
3252
  create: function() {
3257
3253
  return {
@@ -3265,39 +3261,39 @@ function ze(e) {
3265
3261
  }
3266
3262
  };
3267
3263
  }
3268
- function Dn(e) {
3264
+ function Rn(e) {
3269
3265
  return e === void 0 && (e = {
3270
3266
  number: {},
3271
3267
  dateTime: {},
3272
3268
  pluralRules: {}
3273
3269
  }), {
3274
- getNumberFormat: je(function() {
3270
+ getNumberFormat: Ge(function() {
3275
3271
  for (var t, r = [], n = 0; n < arguments.length; n++)
3276
3272
  r[n] = arguments[n];
3277
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3273
+ return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3278
3274
  }, {
3279
- cache: ze(e.number),
3280
- strategy: Ve.variadic
3275
+ cache: Ve(e.number),
3276
+ strategy: $e.variadic
3281
3277
  }),
3282
- getDateTimeFormat: je(function() {
3278
+ getDateTimeFormat: Ge(function() {
3283
3279
  for (var t, r = [], n = 0; n < arguments.length; n++)
3284
3280
  r[n] = arguments[n];
3285
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3281
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3286
3282
  }, {
3287
- cache: ze(e.dateTime),
3288
- strategy: Ve.variadic
3283
+ cache: Ve(e.dateTime),
3284
+ strategy: $e.variadic
3289
3285
  }),
3290
- getPluralRules: je(function() {
3286
+ getPluralRules: Ge(function() {
3291
3287
  for (var t, r = [], n = 0; n < arguments.length; n++)
3292
3288
  r[n] = arguments[n];
3293
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3289
+ return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3294
3290
  }, {
3295
- cache: ze(e.pluralRules),
3296
- strategy: Ve.variadic
3291
+ cache: Ve(e.pluralRules),
3292
+ strategy: $e.variadic
3297
3293
  })
3298
3294
  };
3299
3295
  }
3300
- var kn = (
3296
+ var Dn = (
3301
3297
  /** @class */
3302
3298
  function() {
3303
3299
  function e(t, r, n, i) {
@@ -3316,7 +3312,7 @@ var kn = (
3316
3312
  }, []);
3317
3313
  return h.length <= 1 ? h[0] || "" : h;
3318
3314
  }, this.formatToParts = function(l) {
3319
- return Ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3315
+ return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3320
3316
  }, this.resolvedOptions = function() {
3321
3317
  var l;
3322
3318
  return {
@@ -3330,12 +3326,12 @@ var kn = (
3330
3326
  var o = i || {};
3331
3327
  o.formatters;
3332
3328
  var a = zr(o, ["formatters"]);
3333
- this.ast = e.__parse(t, q(q({}, a), { locale: this.resolvedLocale }));
3329
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3334
3330
  } else
3335
3331
  this.ast = t;
3336
3332
  if (!Array.isArray(this.ast))
3337
3333
  throw new TypeError("A message must be provided as a String or AST.");
3338
- this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3334
+ this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
3339
3335
  }
3340
3336
  return Object.defineProperty(e, "defaultLocale", {
3341
3337
  get: function() {
@@ -3348,7 +3344,7 @@ var kn = (
3348
3344
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3349
3345
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3350
3346
  }
3351
- }, e.__parse = In, e.formats = {
3347
+ }, e.__parse = wn, e.formats = {
3352
3348
  number: {
3353
3349
  integer: {
3354
3350
  maximumFractionDigits: 0
@@ -3409,7 +3405,7 @@ var kn = (
3409
3405
  }, e;
3410
3406
  }()
3411
3407
  );
3412
- function Un(e, t) {
3408
+ function kn(e, t) {
3413
3409
  if (t == null)
3414
3410
  return;
3415
3411
  if (t in e)
@@ -3430,36 +3426,36 @@ function Un(e, t) {
3430
3426
  n = void 0;
3431
3427
  return n;
3432
3428
  }
3433
- const ee = {}, Fn = (e, t, r) => r && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = r), r), Kt = (e, t) => {
3429
+ const K = {}, Un = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Kt = (e, t) => {
3434
3430
  if (t == null)
3435
3431
  return;
3436
- if (t in ee && e in ee[t])
3437
- return ee[t][e];
3438
- const r = Ue(t);
3432
+ if (t in K && e in K[t])
3433
+ return K[t][e];
3434
+ const r = De(t);
3439
3435
  for (let n = 0; n < r.length; n++) {
3440
- const i = r[n], s = $n(i, e);
3436
+ const i = r[n], s = Gn(i, e);
3441
3437
  if (s)
3442
- return Fn(e, t, s);
3438
+ return Un(e, t, s);
3443
3439
  }
3444
3440
  };
3445
3441
  let ot;
3446
- const be = Re({});
3447
- function Gn(e) {
3442
+ const de = Pe({});
3443
+ function Fn(e) {
3448
3444
  return ot[e] || null;
3449
3445
  }
3450
3446
  function er(e) {
3451
3447
  return e in ot;
3452
3448
  }
3453
- function $n(e, t) {
3449
+ function Gn(e, t) {
3454
3450
  if (!er(e))
3455
3451
  return null;
3456
- const r = Gn(e);
3457
- return Un(r, t);
3452
+ const r = Fn(e);
3453
+ return kn(r, t);
3458
3454
  }
3459
- function jn(e) {
3455
+ function $n(e) {
3460
3456
  if (e == null)
3461
3457
  return;
3462
- const t = Ue(e);
3458
+ const t = De(e);
3463
3459
  for (let r = 0; r < t.length; r++) {
3464
3460
  const n = t[r];
3465
3461
  if (er(n))
@@ -3467,55 +3463,55 @@ function jn(e) {
3467
3463
  }
3468
3464
  }
3469
3465
  function tr(e, ...t) {
3470
- delete ee[e], be.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3466
+ delete K[e], de.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3471
3467
  }
3472
- de(
3473
- [be],
3468
+ me(
3469
+ [de],
3474
3470
  ([e]) => Object.keys(e)
3475
3471
  );
3476
- be.subscribe((e) => ot = e);
3477
- const Ne = {};
3478
- function Vn(e, t) {
3479
- Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3472
+ de.subscribe((e) => ot = e);
3473
+ const Ie = {};
3474
+ function jn(e, t) {
3475
+ Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3480
3476
  }
3481
3477
  function rr(e) {
3482
- return Ne[e];
3478
+ return Ie[e];
3483
3479
  }
3484
- function Jn(e) {
3485
- return Ue(e).map((t) => {
3480
+ function Vn(e) {
3481
+ return De(e).map((t) => {
3486
3482
  const r = rr(t);
3487
3483
  return [t, r ? [...r] : []];
3488
3484
  }).filter(([, t]) => t.length > 0);
3489
3485
  }
3490
- function st(e) {
3491
- return e == null ? !1 : Ue(e).some(
3486
+ function nt(e) {
3487
+ return e == null ? !1 : De(e).some(
3492
3488
  (t) => {
3493
3489
  var r;
3494
3490
  return (r = rr(t)) == null ? void 0 : r.size;
3495
3491
  }
3496
3492
  );
3497
3493
  }
3498
- function zn(e, t) {
3494
+ function Jn(e, t) {
3499
3495
  return Promise.all(
3500
- t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3496
+ t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
3501
3497
  ).then((n) => tr(e, ...n));
3502
3498
  }
3503
- const ye = {};
3499
+ const pe = {};
3504
3500
  function nr(e) {
3505
- if (!st(e))
3506
- return e in ye ? ye[e] : Promise.resolve();
3507
- const t = Jn(e);
3508
- return ye[e] = Promise.all(
3501
+ if (!nt(e))
3502
+ return e in pe ? pe[e] : Promise.resolve();
3503
+ const t = Vn(e);
3504
+ return pe[e] = Promise.all(
3509
3505
  t.map(
3510
- ([r, n]) => zn(r, n)
3506
+ ([r, n]) => Jn(r, n)
3511
3507
  )
3512
3508
  ).then(() => {
3513
- if (st(e))
3509
+ if (nt(e))
3514
3510
  return nr(e);
3515
- delete ye[e];
3516
- }), ye[e];
3511
+ delete pe[e];
3512
+ }), pe[e];
3517
3513
  }
3518
- const Wn = {
3514
+ const zn = {
3519
3515
  number: {
3520
3516
  scientific: { notation: "scientific" },
3521
3517
  engineering: { notation: "engineering" },
@@ -3544,141 +3540,141 @@ const Wn = {
3544
3540
  timeZoneName: "short"
3545
3541
  }
3546
3542
  }
3547
- }, Xn = {
3543
+ }, Wn = {
3548
3544
  fallbackLocale: null,
3549
3545
  loadingDelay: 200,
3550
- formats: Wn,
3546
+ formats: zn,
3551
3547
  warnOnMissingMessages: !0,
3552
3548
  handleMissingMessage: void 0,
3553
3549
  ignoreTag: !0
3554
- }, Zn = Xn;
3555
- function me() {
3556
- return Zn;
3550
+ }, Xn = Wn;
3551
+ function fe() {
3552
+ return Xn;
3557
3553
  }
3558
- const We = Re(!1);
3559
- var qn = Object.defineProperty, Qn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ti = (e, t) => {
3554
+ const Je = Pe(!1);
3555
+ var Zn = Object.defineProperty, qn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ei = (e, t) => {
3560
3556
  for (var r in t || (t = {}))
3561
- Kn.call(t, r) && Et(e, r, t[r]);
3557
+ Yn.call(t, r) && xt(e, r, t[r]);
3562
3558
  if (vt)
3563
3559
  for (var r of vt(t))
3564
- ei.call(t, r) && Et(e, r, t[r]);
3560
+ Kn.call(t, r) && xt(e, r, t[r]);
3565
3561
  return e;
3566
- }, ri = (e, t) => Qn(e, Yn(t));
3567
- let at;
3568
- const Me = Re(null);
3569
- function xt(e) {
3562
+ }, ti = (e, t) => qn(e, Qn(t));
3563
+ let it;
3564
+ const Me = Pe(null);
3565
+ function Et(e) {
3570
3566
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3571
3567
  }
3572
- function Ue(e, t = me().fallbackLocale) {
3573
- const r = xt(e);
3574
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3568
+ function De(e, t = fe().fallbackLocale) {
3569
+ const r = Et(e);
3570
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
3575
3571
  }
3576
- function ie() {
3577
- return at ?? void 0;
3572
+ function ne() {
3573
+ return it ?? void 0;
3578
3574
  }
3579
3575
  Me.subscribe((e) => {
3580
- at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3576
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
3577
  });
3582
- const ni = (e) => {
3583
- if (e && jn(e) && st(e)) {
3584
- const { loadingDelay: t } = me();
3578
+ const ri = (e) => {
3579
+ if (e && $n(e) && nt(e)) {
3580
+ const { loadingDelay: t } = fe();
3585
3581
  let r;
3586
- return typeof window < "u" && ie() != null && t ? r = window.setTimeout(
3587
- () => We.set(!0),
3582
+ return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
3583
+ () => Je.set(!0),
3588
3584
  t
3589
- ) : We.set(!0), nr(e).then(() => {
3585
+ ) : Je.set(!0), nr(e).then(() => {
3590
3586
  Me.set(e);
3591
3587
  }).finally(() => {
3592
- clearTimeout(r), We.set(!1);
3588
+ clearTimeout(r), Je.set(!1);
3593
3589
  });
3594
3590
  }
3595
3591
  return Me.set(e);
3596
- }, te = ri(ti({}, Me), {
3597
- set: ni
3598
- }), Fe = (e) => {
3592
+ }, ee = ti(ei({}, Me), {
3593
+ set: ri
3594
+ }), ke = (e) => {
3599
3595
  const t = /* @__PURE__ */ Object.create(null);
3600
3596
  return (n) => {
3601
3597
  const i = JSON.stringify(n);
3602
3598
  return i in t ? t[i] : t[i] = e(n);
3603
3599
  };
3604
3600
  };
3605
- var ii = Object.defineProperty, Le = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3601
+ var ni = Object.defineProperty, Oe = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3606
3602
  for (var r in t || (t = {}))
3607
3603
  ir.call(t, r) && St(e, r, t[r]);
3608
- if (Le)
3609
- for (var r of Le(t))
3604
+ if (Oe)
3605
+ for (var r of Oe(t))
3610
3606
  sr.call(t, r) && St(e, r, t[r]);
3611
3607
  return e;
3612
- }, ge = (e, t) => {
3608
+ }, be = (e, t) => {
3613
3609
  var r = {};
3614
3610
  for (var n in e)
3615
3611
  ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3616
- if (e != null && Le)
3617
- for (var n of Le(e))
3612
+ if (e != null && Oe)
3613
+ for (var n of Oe(e))
3618
3614
  t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
3619
3615
  return r;
3620
3616
  };
3621
3617
  const xe = (e, t) => {
3622
- const { formats: r } = me();
3618
+ const { formats: r } = fe();
3623
3619
  if (e in r && t in r[e])
3624
3620
  return r[e][t];
3625
3621
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3626
- }, si = Fe(
3622
+ }, ii = ke(
3627
3623
  (e) => {
3628
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3624
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3629
3625
  if (r == null)
3630
3626
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3631
3627
  return n && (i = xe("number", n)), new Intl.NumberFormat(r, i);
3632
3628
  }
3633
- ), ai = Fe(
3629
+ ), si = ke(
3634
3630
  (e) => {
3635
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3631
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3636
3632
  if (r == null)
3637
3633
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3638
3634
  return n ? i = xe("date", n) : Object.keys(i).length === 0 && (i = xe("date", "short")), new Intl.DateTimeFormat(r, i);
3639
3635
  }
3640
- ), oi = Fe(
3636
+ ), ai = ke(
3641
3637
  (e) => {
3642
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3638
+ var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3643
3639
  if (r == null)
3644
3640
  throw new Error(
3645
3641
  '[svelte-i18n] A "locale" must be set to format time values'
3646
3642
  );
3647
3643
  return n ? i = xe("time", n) : Object.keys(i).length === 0 && (i = xe("time", "short")), new Intl.DateTimeFormat(r, i);
3648
3644
  }
3649
- ), ui = (e = {}) => {
3645
+ ), oi = (e = {}) => {
3650
3646
  var t = e, {
3651
- locale: r = ie()
3652
- } = t, n = ge(t, [
3647
+ locale: r = ne()
3648
+ } = t, n = be(t, [
3653
3649
  "locale"
3654
3650
  ]);
3655
- return si(ut({ locale: r }, n));
3656
- }, li = (e = {}) => {
3651
+ return ii(ut({ locale: r }, n));
3652
+ }, ui = (e = {}) => {
3657
3653
  var t = e, {
3658
- locale: r = ie()
3659
- } = t, n = ge(t, [
3654
+ locale: r = ne()
3655
+ } = t, n = be(t, [
3660
3656
  "locale"
3661
3657
  ]);
3662
- return ai(ut({ locale: r }, n));
3663
- }, hi = (e = {}) => {
3658
+ return si(ut({ locale: r }, n));
3659
+ }, li = (e = {}) => {
3664
3660
  var t = e, {
3665
- locale: r = ie()
3666
- } = t, n = ge(t, [
3661
+ locale: r = ne()
3662
+ } = t, n = be(t, [
3667
3663
  "locale"
3668
3664
  ]);
3669
- return oi(ut({ locale: r }, n));
3670
- }, ci = Fe(
3665
+ return ai(ut({ locale: r }, n));
3666
+ }, hi = ke(
3671
3667
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3672
- (e, t = ie()) => new kn(e, t, me().formats, {
3673
- ignoreTag: me().ignoreTag
3668
+ (e, t = ne()) => new Dn(e, t, fe().formats, {
3669
+ ignoreTag: fe().ignoreTag
3674
3670
  })
3675
- ), fi = (e, t = {}) => {
3671
+ ), ci = (e, t = {}) => {
3676
3672
  var r, n, i, s;
3677
3673
  let o = t;
3678
3674
  typeof e == "object" && (o = e, e = o.id);
3679
3675
  const {
3680
3676
  values: a,
3681
- locale: l = ie(),
3677
+ locale: l = ne(),
3682
3678
  default: u
3683
3679
  } = o;
3684
3680
  if (l == null)
@@ -3687,7 +3683,7 @@ const xe = (e, t) => {
3687
3683
  );
3688
3684
  let h = Kt(e, l);
3689
3685
  if (!h)
3690
- h = (s = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3686
+ h = (s = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3691
3687
  else if (typeof h != "string")
3692
3688
  return console.warn(
3693
3689
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3696,7 +3692,7 @@ const xe = (e, t) => {
3696
3692
  return h;
3697
3693
  let c = h;
3698
3694
  try {
3699
- c = ci(h, l).format(a);
3695
+ c = hi(h, l).format(a);
3700
3696
  } catch (m) {
3701
3697
  m instanceof Error && console.warn(
3702
3698
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,21 +3700,21 @@ const xe = (e, t) => {
3704
3700
  );
3705
3701
  }
3706
3702
  return c;
3707
- }, mi = (e, t) => hi(t).format(e), di = (e, t) => li(t).format(e), bi = (e, t) => ui(t).format(e), gi = (e, t = ie()) => Kt(e, t), pi = de([te, be], () => fi);
3708
- de([te], () => mi);
3709
- de([te], () => di);
3710
- de([te], () => bi);
3711
- de([te, be], () => gi);
3712
- function yi({ withLocale: e, translations: t }) {
3713
- te.subscribe((r) => {
3714
- r == null && (be.set(t), te.set(e));
3703
+ }, fi = (e, t) => li(t).format(e), mi = (e, t) => ui(t).format(e), di = (e, t) => oi(t).format(e), bi = (e, t = ne()) => Kt(e, t), gi = me([ee, de], () => ci);
3704
+ me([ee], () => fi);
3705
+ me([ee], () => mi);
3706
+ me([ee], () => di);
3707
+ me([ee, de], () => bi);
3708
+ function pi({ withLocale: e, translations: t }) {
3709
+ ee.subscribe((r) => {
3710
+ r == null && (de.set(t), ee.set(e));
3715
3711
  });
3716
3712
  }
3717
3713
  function Tt(e, t) {
3718
3714
  tr(e, t);
3719
3715
  }
3720
- function _i(e) {
3721
- te.set(e);
3716
+ function yi(e) {
3717
+ ee.set(e);
3722
3718
  }
3723
3719
  const At = {
3724
3720
  en: {
@@ -4052,13 +4048,13 @@ const At = {
4052
4048
  December: "December"
4053
4049
  }
4054
4050
  };
4055
- function vi(e, t) {
4051
+ function _i(e, t) {
4056
4052
  if (e) {
4057
4053
  const r = document.createElement("style");
4058
4054
  r.innerHTML = t, e.appendChild(r);
4059
4055
  }
4060
4056
  }
4061
- function Ei(e, t) {
4057
+ function vi(e, t) {
4062
4058
  if (!e || !t)
4063
4059
  return;
4064
4060
  const r = new URL(t);
@@ -4077,7 +4073,7 @@ function xi(e, t, r) {
4077
4073
  });
4078
4074
  }
4079
4075
  }
4080
- function Si(e) {
4076
+ function Ei(e) {
4081
4077
  ur(e, "svelte-52u9sp", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4082
4078
  }
4083
4079
  function Ht(e) {
@@ -4090,7 +4086,7 @@ function Ht(e) {
4090
4086
  k(i, t, s), k(i, r, s), k(i, n, s);
4091
4087
  },
4092
4088
  d(i) {
4093
- i && (P(t), P(r), P(n));
4089
+ i && (O(t), O(r), O(n));
4094
4090
  }
4095
4091
  };
4096
4092
  }
@@ -4098,16 +4094,16 @@ function Ct(e) {
4098
4094
  let t, r, n, i, s, o, a, l, u, h, c = (
4099
4095
  /*$_*/
4100
4096
  e[14]("scoreCriteria") + ""
4101
- ), m, _, y, T, w, F = (
4097
+ ), m, v, y, T, w, F = (
4102
4098
  /*$_*/
4103
4099
  e[14]("minbet") + ""
4104
- ), M, C, U, L, I, V, J, W = (
4100
+ ), P, C, U, L, I, V, J, W = (
4105
4101
  /*$_*/
4106
4102
  e[14]("seegames") + ""
4107
- ), Q, Ae, G, Y = (
4103
+ ), q, Te, G, Q = (
4108
4104
  /*$_*/
4109
4105
  e[14]("here") + ""
4110
- ), ne, K, pe, He, B = (
4106
+ ), re, Y, ge, Ae, B = (
4111
4107
  /*status*/
4112
4108
  e[0] && Bt(e)
4113
4109
  ), N = (
@@ -4117,10 +4113,10 @@ function Ct(e) {
4117
4113
  function f(b, E) {
4118
4114
  return (
4119
4115
  /*thumbnail*/
4120
- b[3] ? Ai : Ti
4116
+ b[3] ? Ti : Si
4121
4117
  );
4122
4118
  }
4123
- let z = f(e), $ = z(e), O = (
4119
+ let z = f(e), $ = z(e), M = (
4124
4120
  /*startdate*/
4125
4121
  e[2] && Nt(e)
4126
4122
  );
@@ -4129,41 +4125,41 @@ function Ct(e) {
4129
4125
  B && B.c(), t = X(), N && N.c(), r = X(), $.c(), n = X(), i = H("div"), s = H("div"), o = R(
4130
4126
  /*title*/
4131
4127
  e[1]
4132
- ), a = X(), O && O.c(), l = X(), u = H("div"), h = H("p"), m = R(c), _ = R(`:
4128
+ ), a = X(), M && M.c(), l = X(), u = H("div"), h = H("p"), m = R(c), v = R(`:
4133
4129
  `), y = H("span"), T = R(
4134
4130
  /*showScoreCriteria*/
4135
4131
  e[12]
4136
4132
  ), w = R(`
4137
- (`), M = R(F), C = X(), U = R(
4133
+ (`), P = R(F), C = X(), U = R(
4138
4134
  /*minbetcount*/
4139
4135
  e[5]
4140
- ), L = R(")"), I = X(), V = H("div"), J = H("p"), Q = R(W), Ae = X(), G = H("a"), ne = R(Y), d(s, "class", "Title"), d(s, "part", "Title"), d(y, "part", "ScoreCriteriaSpan"), d(h, "part", "ScoreCriteriaP"), d(u, "class", "ScoreCriteria"), d(u, "part", "ScoreCriteria"), d(G, "part", "GamesAnchor"), d(
4136
+ ), L = R(")"), I = X(), V = H("div"), J = H("p"), q = R(W), Te = X(), G = H("a"), re = R(Q), d(s, "class", "Title"), d(s, "part", "Title"), d(y, "part", "ScoreCriteriaSpan"), d(h, "part", "ScoreCriteriaP"), d(u, "class", "ScoreCriteria"), d(u, "part", "ScoreCriteria"), d(G, "part", "GamesAnchor"), d(
4141
4137
  G,
4142
4138
  "href",
4143
4139
  /*gameurl*/
4144
4140
  e[7]
4145
- ), d(G, "target", K = /*keepbrowsercontext*/
4141
+ ), d(G, "target", Y = /*keepbrowsercontext*/
4146
4142
  e[8] === "true" ? "_self" : "_blank"), d(J, "part", "GamesP"), d(V, "class", "Games"), d(V, "part", "Games"), d(i, "class", "Details"), d(i, "part", "Details");
4147
4143
  },
4148
4144
  m(b, E) {
4149
- B && B.m(b, E), k(b, t, E), N && N.m(b, E), k(b, r, E), $.m(b, E), k(b, n, E), k(b, i, E), v(i, s), v(s, o), v(i, a), O && O.m(i, null), v(i, l), v(i, u), v(u, h), v(h, m), v(h, _), v(h, y), v(y, T), v(h, w), v(h, M), v(h, C), v(h, U), v(h, L), v(i, I), v(i, V), v(V, J), v(J, Q), v(J, Ae), v(J, G), v(G, ne), pe || (He = [
4150
- Oe(
4145
+ B && B.m(b, E), k(b, t, E), N && N.m(b, E), k(b, r, E), $.m(b, E), k(b, n, E), k(b, i, E), x(i, s), x(s, o), x(i, a), M && M.m(i, null), x(i, l), x(i, u), x(u, h), x(h, m), x(h, v), x(h, y), x(y, T), x(h, w), x(h, P), x(h, C), x(h, U), x(h, L), x(i, I), x(i, V), x(V, J), x(J, q), x(J, Te), x(J, G), x(G, re), ge || (Ae = [
4146
+ Ne(
4151
4147
  s,
4152
4148
  "click",
4153
4149
  /*detailsAction*/
4154
4150
  e[19]
4155
4151
  ),
4156
- Te(
4152
+ Se(
4157
4153
  /*matchScoreCriteria*/
4158
4154
  e[17].call(null, y)
4159
4155
  ),
4160
- Oe(
4156
+ Ne(
4161
4157
  G,
4162
4158
  "click",
4163
4159
  /*tournamentGamesClicked*/
4164
4160
  e[18]
4165
4161
  )
4166
- ], pe = !0);
4162
+ ], ge = !0);
4167
4163
  },
4168
4164
  p(b, E) {
4169
4165
  /*status*/
@@ -4174,7 +4170,7 @@ function Ct(e) {
4174
4170
  /*title*/
4175
4171
  b[1]
4176
4172
  ), /*startdate*/
4177
- b[2] ? O ? O.p(b, E) : (O = Nt(b), O.c(), O.m(i, l)) : O && (O.d(1), O = null), E[0] & /*$_*/
4173
+ b[2] ? M ? M.p(b, E) : (M = Nt(b), M.c(), M.m(i, l)) : M && (M.d(1), M = null), E[0] & /*$_*/
4178
4174
  16384 && c !== (c = /*$_*/
4179
4175
  b[14]("scoreCriteria") + "") && Z(m, c), E[0] & /*showScoreCriteria*/
4180
4176
  4096 && Z(
@@ -4183,27 +4179,27 @@ function Ct(e) {
4183
4179
  b[12]
4184
4180
  ), E[0] & /*$_*/
4185
4181
  16384 && F !== (F = /*$_*/
4186
- b[14]("minbet") + "") && Z(M, F), E[0] & /*minbetcount*/
4182
+ b[14]("minbet") + "") && Z(P, F), E[0] & /*minbetcount*/
4187
4183
  32 && Z(
4188
4184
  U,
4189
4185
  /*minbetcount*/
4190
4186
  b[5]
4191
4187
  ), E[0] & /*$_*/
4192
4188
  16384 && W !== (W = /*$_*/
4193
- b[14]("seegames") + "") && Z(Q, W), E[0] & /*$_*/
4194
- 16384 && Y !== (Y = /*$_*/
4195
- b[14]("here") + "") && Z(ne, Y), E[0] & /*gameurl*/
4189
+ b[14]("seegames") + "") && Z(q, W), E[0] & /*$_*/
4190
+ 16384 && Q !== (Q = /*$_*/
4191
+ b[14]("here") + "") && Z(re, Q), E[0] & /*gameurl*/
4196
4192
  128 && d(
4197
4193
  G,
4198
4194
  "href",
4199
4195
  /*gameurl*/
4200
4196
  b[7]
4201
4197
  ), E[0] & /*keepbrowsercontext*/
4202
- 256 && K !== (K = /*keepbrowsercontext*/
4203
- b[8] === "true" ? "_self" : "_blank") && d(G, "target", K);
4198
+ 256 && Y !== (Y = /*keepbrowsercontext*/
4199
+ b[8] === "true" ? "_self" : "_blank") && d(G, "target", Y);
4204
4200
  },
4205
4201
  d(b) {
4206
- b && (P(t), P(r), P(n), P(i)), B && B.d(b), N && N.d(b), $.d(b), O && O.d(), pe = !1, re(He);
4202
+ b && (O(t), O(r), O(n), O(i)), B && B.d(b), N && N.d(b), $.d(b), M && M.d(), ge = !1, te(Ae);
4207
4203
  }
4208
4204
  };
4209
4205
  }
@@ -4219,7 +4215,7 @@ function Bt(e) {
4219
4215
  e[13]);
4220
4216
  },
4221
4217
  m(a, l) {
4222
- k(a, t, l), v(t, r), s || (o = Te(
4218
+ k(a, t, l), x(t, r), s || (o = Se(
4223
4219
  /*matchStatus*/
4224
4220
  e[16].call(null, t)
4225
4221
  ), s = !0);
@@ -4237,7 +4233,7 @@ function Bt(e) {
4237
4233
  a[13]) && d(t, "part", i);
4238
4234
  },
4239
4235
  d(a) {
4240
- a && P(t), s = !1, o();
4236
+ a && O(t), s = !1, o();
4241
4237
  }
4242
4238
  };
4243
4239
  }
@@ -4258,7 +4254,7 @@ function wt(e) {
4258
4254
  n[4] ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4259
4255
  },
4260
4256
  d(n) {
4261
- n && P(t), r && r.d(n);
4257
+ n && O(t), r && r.d(n);
4262
4258
  }
4263
4259
  };
4264
4260
  }
@@ -4272,7 +4268,7 @@ function It(e) {
4272
4268
  t = H("div"), n = R(r), d(t, "class", "Enrolled"), d(t, "part", "Enrolled");
4273
4269
  },
4274
4270
  m(i, s) {
4275
- k(i, t, s), v(t, n);
4271
+ k(i, t, s), x(t, n);
4276
4272
  },
4277
4273
  p(i, s) {
4278
4274
  s[0] & /*$_*/
@@ -4280,27 +4276,27 @@ function It(e) {
4280
4276
  i[14]("enrolled") + "") && Z(n, r);
4281
4277
  },
4282
4278
  d(i) {
4283
- i && P(t);
4279
+ i && O(t);
4284
4280
  }
4285
4281
  };
4286
4282
  }
4287
- function Ti(e) {
4283
+ function Si(e) {
4288
4284
  let t, r, n, i, s, o, a;
4289
4285
  return {
4290
4286
  c() {
4291
- t = H("div"), r = H("ui-image"), Xe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || ue(r, "src", n), ue(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4287
+ t = H("div"), r = H("ui-image"), ze(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || oe(r, "src", n), oe(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4292
4288
  (e[0] == "Closing" || /*status*/
4293
4289
  e[0] == "Closed" ? "CardImgFinished" : "")), d(t, "part", s = "CardImg " + /*status*/
4294
4290
  (e[0] == "Closing" || /*status*/
4295
4291
  e[0] == "Closed" ? "CardImgFinished" : ""));
4296
4292
  },
4297
4293
  m(l, u) {
4298
- k(l, t, u), v(t, r), o || (a = [
4299
- Te(
4294
+ k(l, t, u), x(t, r), o || (a = [
4295
+ Se(
4300
4296
  /*matchStatus*/
4301
4297
  e[16].call(null, t)
4302
4298
  ),
4303
- Oe(
4299
+ Ne(
4304
4300
  t,
4305
4301
  "click",
4306
4302
  /*detailsAction*/
@@ -4318,28 +4314,28 @@ function Ti(e) {
4318
4314
  l[0] == "Closed" ? "CardImgFinished" : "")) && d(t, "part", s);
4319
4315
  },
4320
4316
  d(l) {
4321
- l && P(t), o = !1, re(a);
4317
+ l && O(t), o = !1, te(a);
4322
4318
  }
4323
4319
  };
4324
4320
  }
4325
- function Ai(e) {
4321
+ function Ti(e) {
4326
4322
  let t, r, n, i, s, o, a;
4327
4323
  return {
4328
4324
  c() {
4329
- t = H("div"), r = H("ui-image"), ue(r, "class", "UIImage"), Xe(r.src, n = /*thumbnail*/
4330
- e[3]) || ue(r, "src", n), ue(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4325
+ t = H("div"), r = H("ui-image"), oe(r, "class", "UIImage"), ze(r.src, n = /*thumbnail*/
4326
+ e[3]) || oe(r, "src", n), oe(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4331
4327
  (e[0] == "Closing" || /*status*/
4332
4328
  e[0] == "Closed" ? "CardImgFinished" : "")), d(t, "part", s = "CardImg " + /*status*/
4333
4329
  (e[0] == "Closing" || /*status*/
4334
4330
  e[0] == "Closed" ? "CardImgFinished" : ""));
4335
4331
  },
4336
4332
  m(l, u) {
4337
- k(l, t, u), v(t, r), o || (a = [
4338
- Te(
4333
+ k(l, t, u), x(t, r), o || (a = [
4334
+ Se(
4339
4335
  /*matchStatus*/
4340
4336
  e[16].call(null, t)
4341
4337
  ),
4342
- Oe(
4338
+ Ne(
4343
4339
  t,
4344
4340
  "click",
4345
4341
  /*detailsAction*/
@@ -4349,8 +4345,8 @@ function Ai(e) {
4349
4345
  },
4350
4346
  p(l, u) {
4351
4347
  u[0] & /*thumbnail*/
4352
- 8 && !Xe(r.src, n = /*thumbnail*/
4353
- l[3]) && ue(r, "src", n), u[0] & /*status*/
4348
+ 8 && !ze(r.src, n = /*thumbnail*/
4349
+ l[3]) && oe(r, "src", n), u[0] & /*status*/
4354
4350
  1 && i !== (i = "CardImg " + /*status*/
4355
4351
  (l[0] == "Closing" || /*status*/
4356
4352
  l[0] == "Closed" ? "CardImgFinished" : "")) && d(t, "class", i), u[0] & /*status*/
@@ -4359,7 +4355,7 @@ function Ai(e) {
4359
4355
  l[0] == "Closed" ? "CardImgFinished" : "")) && d(t, "part", s);
4360
4356
  },
4361
4357
  d(l) {
4362
- l && P(t), o = !1, re(a);
4358
+ l && O(t), o = !1, te(a);
4363
4359
  }
4364
4360
  };
4365
4361
  }
@@ -4373,7 +4369,7 @@ function Nt(e) {
4373
4369
  ), d(t, "class", "Date"), d(t, "part", "Date");
4374
4370
  },
4375
4371
  m(o, a) {
4376
- k(o, t, a), v(t, r), i || (s = Te(n = /*formatDate*/
4372
+ k(o, t, a), x(t, r), i || (s = Se(n = /*formatDate*/
4377
4373
  e[15].call(
4378
4374
  null,
4379
4375
  t,
@@ -4387,7 +4383,7 @@ function Nt(e) {
4387
4383
  r,
4388
4384
  /*shownDate*/
4389
4385
  o[10]
4390
- ), n && Se(n.update) && a[0] & /*startdate*/
4386
+ ), n && Ee(n.update) && a[0] & /*startdate*/
4391
4387
  4 && n.update.call(
4392
4388
  null,
4393
4389
  /*startdate*/
@@ -4395,11 +4391,11 @@ function Nt(e) {
4395
4391
  );
4396
4392
  },
4397
4393
  d(o) {
4398
- o && P(t), i = !1, s();
4394
+ o && O(t), i = !1, s();
4399
4395
  }
4400
4396
  };
4401
4397
  }
4402
- function Hi(e) {
4398
+ function Ai(e) {
4403
4399
  let t, r, n, i = (
4404
4400
  /*title*/
4405
4401
  e[1] === "undefined" && Ht()
@@ -4413,7 +4409,7 @@ function Hi(e) {
4413
4409
  e[1] === "undefined" ? "Loading" : ""}`), d(t, "part", "Thumbnail");
4414
4410
  },
4415
4411
  m(o, a) {
4416
- k(o, t, a), i && i.m(t, null), v(t, r), s && s.m(t, null), e[29](t);
4412
+ k(o, t, a), i && i.m(t, null), x(t, r), s && s.m(t, null), e[29](t);
4417
4413
  },
4418
4414
  p(o, a) {
4419
4415
  /*title*/
@@ -4425,16 +4421,16 @@ function Hi(e) {
4425
4421
  i: j,
4426
4422
  o: j,
4427
4423
  d(o) {
4428
- o && P(t), i && i.d(), s && s.d(), e[29](null);
4424
+ o && O(t), i && i.d(), s && s.d(), e[29](null);
4429
4425
  }
4430
4426
  };
4431
4427
  }
4432
- function Ci(e, t, r) {
4428
+ function Hi(e, t, r) {
4433
4429
  let n;
4434
- or(e, pi, (f) => r(14, n = f));
4435
- let { userid: i = "" } = t, { title: s = "" } = t, { startdate: o = "" } = t, { status: a = "" } = t, { tourid: l = "" } = t, { thumbnail: u = "" } = t, { userenrolled: h = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: m = "" } = t, { showenrolled: _ = "false" } = t, { detailsevent: y = "" } = t, { gameurl: T = "" } = t, { lang: w = "en" } = t, { keepbrowsercontext: F = "false" } = t, { clientstyling: M = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: U = "" } = t, { mbsource: L } = t, I, V = "", J = "", W = "", Q = "";
4436
- yi({ withLocale: "en", translations: {} });
4437
- const Ae = () => {
4430
+ or(e, gi, (f) => r(14, n = f));
4431
+ let { userid: i = "" } = t, { title: s = "" } = t, { startdate: o = "" } = t, { status: a = "" } = t, { tourid: l = "" } = t, { thumbnail: u = "" } = t, { userenrolled: h = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: m = "" } = t, { showenrolled: v = "false" } = t, { detailsevent: y = "" } = t, { gameurl: T = "" } = t, { lang: w = "en" } = t, { keepbrowsercontext: F = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: U = "" } = t, { mbsource: L } = t, I, V = "", J = "", W = "", q = "";
4432
+ pi({ withLocale: "en", translations: {} });
4433
+ const Te = () => {
4438
4434
  fetch(U).then((f) => f.json()).then((f) => {
4439
4435
  Object.keys(f).forEach((z) => {
4440
4436
  Tt(z, f[z]);
@@ -4448,22 +4444,22 @@ function Ci(e, t, r) {
4448
4444
  });
4449
4445
  const G = (f) => {
4450
4446
  f.data && f.data.type == `TournamentStatus_${l}` && r(0, a = f.data.status);
4451
- }, Y = () => {
4447
+ }, Q = () => {
4452
4448
  const f = { month: "long" };
4453
- let z = new Date(o), $ = new Intl.DateTimeFormat("en", f).format(z), O = z.getDate(), b = z.toLocaleString("en-GB", {
4449
+ let z = new Date(o), $ = new Intl.DateTimeFormat("en", f).format(z), M = z.getDate(), b = z.toLocaleString("en-GB", {
4454
4450
  hour: "numeric",
4455
4451
  minute: "numeric",
4456
4452
  hour12: !1
4457
4453
  });
4458
4454
  const E = () => n(a === "Running" ? "startedAt" : "startingAt");
4459
- r(10, V = `${O} ` + n(`${$}`) + ", " + E() + ` ${b}`);
4460
- }, ne = () => {
4461
- a == "Unstarted" && (r(11, J = n("scheduled")), r(13, Q = "StatusUnstarted")), a == "Running" && (r(11, J = n("ongoing")), r(13, Q = "StatusRunning")), (a == "Closed" || a == "Closing") && r(11, J = n("finished")), a == "Closed" && r(13, Q = "StatusClosed"), a == "Closing" && r(13, Q = "StatusClosing");
4462
- }, K = () => {
4455
+ r(10, V = `${M} ` + n(`${$}`) + ", " + E() + ` ${b}`);
4456
+ }, re = () => {
4457
+ a == "Unstarted" && (r(11, J = n("scheduled")), r(13, q = "StatusUnstarted")), a == "Running" && (r(11, J = n("ongoing")), r(13, q = "StatusRunning")), (a == "Closed" || a == "Closing") && r(11, J = n("finished")), a == "Closed" && r(13, q = "StatusClosed"), a == "Closing" && r(13, q = "StatusClosing");
4458
+ }, Y = () => {
4463
4459
  c == "BetCount" && r(12, W = n("betCount")), c == "MaxWinStakeRatio" && r(12, W = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(12, W = n("winStakeRatio")), c == "Stake" && r(12, W = n("stake"));
4464
- }, pe = () => {
4460
+ }, ge = () => {
4465
4461
  window.postMessage({ type: "tournamentGamesClicked", tourid: l }, window.location.href);
4466
- }, He = () => {
4462
+ }, Ae = () => {
4467
4463
  y && window.postMessage(
4468
4464
  {
4469
4465
  type: y,
@@ -4477,25 +4473,25 @@ function Ci(e, t, r) {
4477
4473
  window.removeEventListener("message", G);
4478
4474
  }));
4479
4475
  const B = () => {
4480
- _i(w), K(), ne(), o && Y();
4476
+ yi(w), Y(), re(), o && Q();
4481
4477
  };
4482
4478
  function N(f) {
4483
- Ze[f ? "unshift" : "push"](() => {
4479
+ We[f ? "unshift" : "push"](() => {
4484
4480
  I = f, r(9, I);
4485
4481
  });
4486
4482
  }
4487
4483
  return e.$$set = (f) => {
4488
- "userid" in f && r(20, i = f.userid), "title" in f && r(1, s = f.title), "startdate" in f && r(2, o = f.startdate), "status" in f && r(0, a = f.status), "tourid" in f && r(21, l = f.tourid), "thumbnail" in f && r(3, u = f.thumbnail), "userenrolled" in f && r(4, h = f.userenrolled), "scorecriteria" in f && r(22, c = f.scorecriteria), "minbetcount" in f && r(5, m = f.minbetcount), "showenrolled" in f && r(6, _ = f.showenrolled), "detailsevent" in f && r(23, y = f.detailsevent), "gameurl" in f && r(7, T = f.gameurl), "lang" in f && r(24, w = f.lang), "keepbrowsercontext" in f && r(8, F = f.keepbrowsercontext), "clientstyling" in f && r(25, M = f.clientstyling), "clientstylingurl" in f && r(26, C = f.clientstylingurl), "translationurl" in f && r(27, U = f.translationurl), "mbsource" in f && r(28, L = f.mbsource);
4484
+ "userid" in f && r(20, i = f.userid), "title" in f && r(1, s = f.title), "startdate" in f && r(2, o = f.startdate), "status" in f && r(0, a = f.status), "tourid" in f && r(21, l = f.tourid), "thumbnail" in f && r(3, u = f.thumbnail), "userenrolled" in f && r(4, h = f.userenrolled), "scorecriteria" in f && r(22, c = f.scorecriteria), "minbetcount" in f && r(5, m = f.minbetcount), "showenrolled" in f && r(6, v = f.showenrolled), "detailsevent" in f && r(23, y = f.detailsevent), "gameurl" in f && r(7, T = f.gameurl), "lang" in f && r(24, w = f.lang), "keepbrowsercontext" in f && r(8, F = f.keepbrowsercontext), "clientstyling" in f && r(25, P = f.clientstyling), "clientstylingurl" in f && r(26, C = f.clientstylingurl), "translationurl" in f && r(27, U = f.translationurl), "mbsource" in f && r(28, L = f.mbsource);
4489
4485
  }, e.$$.update = () => {
4490
4486
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4491
- 33554944 && M && I && vi(I, M), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4492
- 67109376 && C && I && Ei(I, C), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4487
+ 33554944 && P && I && _i(I, P), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4488
+ 67109376 && C && I && vi(I, C), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4493
4489
  268435968 && L && I && xi(I, `${L}.Style`), e.$$.dirty[0] & /*translationurl*/
4494
- 134217728 && U && Ae(), e.$$.dirty[0] & /*status*/
4495
- 1 && a && ne(), e.$$.dirty[0] & /*title, lang*/
4490
+ 134217728 && U && Te(), e.$$.dirty[0] & /*status*/
4491
+ 1 && a && re(), e.$$.dirty[0] & /*title, lang*/
4496
4492
  16777218 && s && w && B(), e.$$.dirty[0] & /*startdate*/
4497
- 4 && o && Y(), e.$$.dirty[0] & /*scorecriteria*/
4498
- 4194304 && c && K();
4493
+ 4 && o && Q(), e.$$.dirty[0] & /*scorecriteria*/
4494
+ 4194304 && c && Y();
4499
4495
  }, [
4500
4496
  a,
4501
4497
  s,
@@ -4503,40 +4499,40 @@ function Ci(e, t, r) {
4503
4499
  u,
4504
4500
  h,
4505
4501
  m,
4506
- _,
4502
+ v,
4507
4503
  T,
4508
4504
  F,
4509
4505
  I,
4510
4506
  V,
4511
4507
  J,
4512
4508
  W,
4513
- Q,
4509
+ q,
4514
4510
  n,
4511
+ Q,
4512
+ re,
4515
4513
  Y,
4516
- ne,
4517
- K,
4518
- pe,
4519
- He,
4514
+ ge,
4515
+ Ae,
4520
4516
  i,
4521
4517
  l,
4522
4518
  c,
4523
4519
  y,
4524
4520
  w,
4525
- M,
4521
+ P,
4526
4522
  C,
4527
4523
  U,
4528
4524
  L,
4529
4525
  N
4530
4526
  ];
4531
4527
  }
4532
- class Bi extends Cr {
4528
+ class Ci extends Cr {
4533
4529
  constructor(t) {
4534
4530
  super(), Ar(
4535
4531
  this,
4536
4532
  t,
4537
- Ci,
4538
4533
  Hi,
4539
- Pt,
4534
+ Ai,
4535
+ Ot,
4540
4536
  {
4541
4537
  userid: 20,
4542
4538
  title: 1,
@@ -4557,7 +4553,7 @@ class Bi extends Cr {
4557
4553
  translationurl: 27,
4558
4554
  mbsource: 28
4559
4555
  },
4560
- Si,
4556
+ Ei,
4561
4557
  [-1, -1]
4562
4558
  );
4563
4559
  }
@@ -4670,7 +4666,7 @@ class Bi extends Cr {
4670
4666
  this.$$set({ mbsource: t }), A();
4671
4667
  }
4672
4668
  }
4673
- Hr(Bi, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4669
+ Hr(Ci, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4674
4670
  export {
4675
- Bi as C
4671
+ Ci as C
4676
4672
  };