@everymatrix/casino-tournaments-thumbnail 1.76.13 → 1.76.14

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-BS4hddeb.cjs +19 -0
  2. package/components/{CasinoTournamentsThumbnail-sVwwZws9.js → CasinoTournamentsThumbnail-Cbr3E25b.js} +561 -565
  3. package/components/{CasinoTournamentsThumbnail-BqVqJNp-.js → CasinoTournamentsThumbnail-DENFae9w.js} +565 -569
  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-242ac81a-Bl2OSy8h.js +538 -0
  9. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  10. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  11. package/stencil/index-b2193545-CF9C6kiu.cjs +1 -0
  12. package/stencil/index-b2193545-OH6E7v51.js +519 -0
  13. package/stencil/index-b2193545-eoIiLcDl.js +503 -0
  14. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  15. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  16. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  17. package/stencil/{ui-image-CGQNKTif.js → ui-image-CuqYoTW7.js} +1 -1
  18. package/stencil/{ui-image-D4MrqmCW.js → ui-image-xymWfIBJ.js} +1 -1
  19. package/stencil/{ui-image-CYCsgzdt.cjs → ui-image-zZU_KZOy.cjs} +1 -1
  20. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  21. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  22. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  23. package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-C73UqtBQ.js} +2 -2
  24. package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-Caiy-FEL.cjs} +1 -1
  25. package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-CzV3R1-p.js} +2 -2
  26. package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-C9l5j8aK.cjs} +1 -1
  27. package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-CLOd38Ia.js} +1 -1
  28. package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-SCby2j53.js} +1 -1
  29. package/components/CasinoTournamentsThumbnail-3nOy7m9C.cjs +0 -6
  30. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  31. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  32. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  33. package/stencil/index-b2193545-BS7xFIk4.js +0 -503
  34. package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
  35. package/stencil/index-b2193545-rfNAj6ri.js +0 -519
@@ -1,5 +1,5 @@
1
- import "../stencil/ui-skeleton-DSebcnN1.js";
2
- import "../stencil/ui-image-CGQNKTif.js";
1
+ import "../stencil/ui-skeleton-C73UqtBQ.js";
2
+ import "../stencil/ui-image-CuqYoTW7.js";
3
3
  function U() {
4
4
  }
5
5
  function Ct(e) {
@@ -8,18 +8,18 @@ function Ct(e) {
8
8
  function nt() {
9
9
  return /* @__PURE__ */ Object.create(null);
10
10
  }
11
- function J(e) {
11
+ function V(e) {
12
12
  e.forEach(Ct);
13
13
  }
14
- function de(e) {
14
+ function me(e) {
15
15
  return typeof e == "function";
16
16
  }
17
17
  function Bt(e, t) {
18
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
19
  }
20
- let ge;
21
- function Ge(e, t) {
22
- return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
20
+ let be;
21
+ function Ue(e, t) {
22
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
23
23
  }
24
24
  function hr(e) {
25
25
  return Object.keys(e).length === 0;
@@ -36,10 +36,10 @@ function wt(e, ...t) {
36
36
  function cr(e, t, r) {
37
37
  e.$$.on_destroy.push(wt(t, r));
38
38
  }
39
- function be(e) {
40
- return e && de(e.destroy) ? e.destroy : U;
39
+ function de(e) {
40
+ return e && me(e.destroy) ? e.destroy : U;
41
41
  }
42
- function T(e, t) {
42
+ function A(e, t) {
43
43
  e.appendChild(t);
44
44
  }
45
45
  function fr(e, t, r) {
@@ -60,13 +60,13 @@ function mr(e) {
60
60
  ) : e.ownerDocument;
61
61
  }
62
62
  function dr(e, t) {
63
- return T(
63
+ return A(
64
64
  /** @type {Document} */
65
65
  e.head || e,
66
66
  t
67
67
  ), t.sheet;
68
68
  }
69
- function P(e, t, r) {
69
+ function O(e, t, r) {
70
70
  e.insertBefore(t, r || null);
71
71
  }
72
72
  function N(e) {
@@ -84,13 +84,13 @@ function G() {
84
84
  function br() {
85
85
  return D("");
86
86
  }
87
- function Te(e, t, r, n) {
87
+ function Ee(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function b(e, t, r) {
91
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
92
  }
93
- function K(e, t, r) {
93
+ function Y(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 : b(e, t, r);
96
96
  }
@@ -110,65 +110,65 @@ function pr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let ce;
114
- function he(e) {
115
- ce = e;
113
+ let he;
114
+ function le(e) {
115
+ he = e;
116
116
  }
117
117
  function yr() {
118
- if (!ce)
118
+ if (!he)
119
119
  throw new Error("Function called outside component initialization");
120
- return ce;
120
+ return he;
121
121
  }
122
122
  function _r(e) {
123
123
  yr().$$.on_mount.push(e);
124
124
  }
125
- const Y = [], $e = [];
126
- let ee = [];
125
+ const Q = [], Fe = [];
126
+ let K = [];
127
127
  const it = [], vr = /* @__PURE__ */ Promise.resolve();
128
- let je = !1;
129
- function Er() {
130
- je || (je = !0, vr.then(C));
128
+ let Ge = !1;
129
+ function xr() {
130
+ Ge || (Ge = !0, vr.then(C));
131
131
  }
132
- function Ve(e) {
133
- ee.push(e);
132
+ function $e(e) {
133
+ K.push(e);
134
134
  }
135
135
  const Me = /* @__PURE__ */ new Set();
136
- let q = 0;
136
+ let Z = 0;
137
137
  function C() {
138
- if (q !== 0)
138
+ if (Z !== 0)
139
139
  return;
140
- const e = ce;
140
+ const e = he;
141
141
  do {
142
142
  try {
143
- for (; q < Y.length; ) {
144
- const t = Y[q];
145
- q++, he(t), xr(t.$$);
143
+ for (; Z < Q.length; ) {
144
+ const t = Q[Z];
145
+ Z++, le(t), Er(t.$$);
146
146
  }
147
147
  } catch (t) {
148
- throw Y.length = 0, q = 0, t;
148
+ throw Q.length = 0, Z = 0, t;
149
149
  }
150
- for (he(null), Y.length = 0, q = 0; $e.length; )
151
- $e.pop()();
152
- for (let t = 0; t < ee.length; t += 1) {
153
- const r = ee[t];
150
+ for (le(null), Q.length = 0, Z = 0; Fe.length; )
151
+ Fe.pop()();
152
+ for (let t = 0; t < K.length; t += 1) {
153
+ const r = K[t];
154
154
  Me.has(r) || (Me.add(r), r());
155
155
  }
156
- ee.length = 0;
157
- } while (Y.length);
156
+ K.length = 0;
157
+ } while (Q.length);
158
158
  for (; it.length; )
159
159
  it.pop()();
160
- je = !1, Me.clear(), he(e);
160
+ Ge = !1, Me.clear(), le(e);
161
161
  }
162
- function xr(e) {
162
+ function Er(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), J(e.before_update);
164
+ e.update(), V(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(Ve);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
167
167
  }
168
168
  }
169
169
  function Sr(e) {
170
170
  const t = [], r = [];
171
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
171
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
172
172
  }
173
173
  const Tr = /* @__PURE__ */ new Set();
174
174
  function Ar(e, t) {
@@ -176,21 +176,21 @@ function Ar(e, t) {
176
176
  }
177
177
  function Hr(e, t, r) {
178
178
  const { fragment: n, after_update: i } = e.$$;
179
- n && n.m(t, r), Ve(() => {
180
- const s = e.$$.on_mount.map(Ct).filter(de);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : J(s), e.$$.on_mount = [];
182
- }), i.forEach(Ve);
179
+ n && n.m(t, r), $e(() => {
180
+ const s = e.$$.on_mount.map(Ct).filter(me);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
182
+ }), i.forEach($e);
183
183
  }
184
184
  function Cr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (Sr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (Sr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
188
  function Br(e, t) {
189
- e.$$.dirty[0] === -1 && (Y.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
+ e.$$.dirty[0] === -1 && (Q.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
191
  function wr(e, t, r, n, i, s, o = null, a = [-1]) {
192
- const l = ce;
193
- he(e);
192
+ const l = he;
193
+ le(e);
194
194
  const u = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
@@ -214,10 +214,10 @@ function wr(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 || {}, (f, c, ...x) => {
218
- const E = x.length ? x[0] : c;
219
- return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && Br(e, f)), c;
220
- }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
217
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
218
+ const x = E.length ? E[0] : c;
219
+ return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), h && Br(e, f)), c;
220
+ }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
222
  const f = gr(t.target);
223
223
  u.fragment && u.fragment.l(f), f.forEach(N);
@@ -225,7 +225,7 @@ function wr(e, t, r, n, i, s, o = null, a = [-1]) {
225
225
  u.fragment && u.fragment.c();
226
226
  t.intro && Ar(e.$$.fragment), Hr(e, t.target, t.anchor), C();
227
227
  }
228
- he(l);
228
+ le(l);
229
229
  }
230
230
  let It;
231
231
  typeof HTMLElement == "function" && (It = class extends HTMLElement {
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
277
277
  * @param {HTMLElement} [anchor]
278
278
  */
279
279
  m: function(l, u) {
280
- P(l, s, u);
280
+ O(l, s, u);
281
281
  },
282
282
  d: function(l) {
283
283
  l && N(s);
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (It = 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] = ye(s, i.value, this.$$p_d, "toProp"));
295
+ s in this.$$d || (this.$$d[s] = pe(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" && (It = 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 = ye(
313
+ const s = pe(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (It = 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] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(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" && (It = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function ye(e, t, r, n) {
348
+ function pe(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 Ir(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 = ye(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
394
+ l = pe(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 Nr {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!de(r))
434
+ if (!me(r))
435
435
  return U;
436
436
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return n.push(r), () => {
@@ -447,26 +447,26 @@ class Nr {
447
447
  this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const Or = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
452
- const Q = [];
453
- function Pr(e, t) {
450
+ const Mr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
452
+ const q = [];
453
+ function Or(e, t) {
454
454
  return {
455
- subscribe: Ae(e, t).subscribe
455
+ subscribe: Se(e, t).subscribe
456
456
  };
457
457
  }
458
- function Ae(e, t = U) {
458
+ function Se(e, t = U) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(a) {
462
462
  if (Bt(e, a) && (e = a, r)) {
463
- const l = !Q.length;
463
+ const l = !q.length;
464
464
  for (const u of n)
465
- u[1](), Q.push(u, e);
465
+ u[1](), q.push(u, e);
466
466
  if (l) {
467
- for (let u = 0; u < Q.length; u += 2)
468
- Q[u][0](Q[u + 1]);
469
- Q.length = 0;
467
+ for (let u = 0; u < q.length; u += 2)
468
+ q[u][0](q[u + 1]);
469
+ q.length = 0;
470
470
  }
471
471
  }
472
472
  }
@@ -481,12 +481,12 @@ function Ae(e, t = U) {
481
481
  }
482
482
  return { set: i, update: s, subscribe: o };
483
483
  }
484
- function se(e, t, r) {
484
+ function ie(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");
488
488
  const s = t.length < 2;
489
- return Pr(r, (o, a) => {
489
+ return Or(r, (o, a) => {
490
490
  let l = !1;
491
491
  const u = [];
492
492
  let h = 0, f = U;
@@ -494,11 +494,11 @@ function se(e, t, r) {
494
494
  if (h)
495
495
  return;
496
496
  f();
497
- const E = t(n ? u[0] : u, o, a);
498
- s ? o(E) : f = de(E) ? E : U;
499
- }, x = i.map(
500
- (E, g) => wt(
501
- E,
497
+ const x = t(n ? u[0] : u, o, a);
498
+ s ? o(x) : f = me(x) ? x : U;
499
+ }, E = i.map(
500
+ (x, g) => wt(
501
+ x,
502
502
  (y) => {
503
503
  u[g] = y, h &= ~(1 << g), l && c();
504
504
  },
@@ -508,11 +508,11 @@ function se(e, t, r) {
508
508
  )
509
509
  );
510
510
  return l = !0, c(), function() {
511
- J(x), f(), l = !1;
511
+ V(E), f(), l = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function Mr(e) {
515
+ function Pr(e) {
516
516
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
518
  var Lr = function(t) {
@@ -532,19 +532,19 @@ function Fr(e) {
532
532
  function Gr(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function fe(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? te(Gr(e), e, t) : e;
535
+ function ce(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Gr(e), e, t) : e;
537
537
  }
538
538
  function $r(e, t, r) {
539
539
  return e.concat(t).map(function(n) {
540
- return fe(n, r);
540
+ return ce(n, r);
541
541
  });
542
542
  }
543
543
  function jr(e, t) {
544
544
  if (!t.customMerge)
545
- return te;
545
+ return ee;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : te;
547
+ return typeof r == "function" ? r : ee;
548
548
  }
549
549
  function Vr(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -567,51 +567,65 @@ function Jr(e, t) {
567
567
  function zr(e, t, r) {
568
568
  var n = {};
569
569
  return r.isMergeableObject(e) && st(e).forEach(function(i) {
570
- n[i] = fe(e[i], r);
570
+ n[i] = ce(e[i], r);
571
571
  }), st(t).forEach(function(i) {
572
- Jr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
572
+ Jr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
573
573
  }), n;
574
574
  }
575
- function te(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = fe;
575
+ function ee(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ce;
577
577
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
578
- return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : fe(t, r);
578
+ return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : ce(t, r);
579
579
  }
580
- te.all = function(t, r) {
580
+ ee.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 te(n, i, r);
584
+ return ee(n, i, r);
585
585
  }, {});
586
586
  };
587
- var Wr = te, Xr = Wr;
588
- const Zr = /* @__PURE__ */ Mr(Xr);
589
- var Je = function(e, t) {
590
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
+ var Wr = ee, Xr = Wr;
588
+ const Zr = /* @__PURE__ */ Pr(Xr);
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 je = function(e, t) {
604
+ return je = 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
- }, Je(e, t);
609
+ }, je(e, t);
596
610
  };
597
- function He(e, t) {
611
+ function Te(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
- Je(e, t);
614
+ je(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 $ = function() {
607
- return $ = Object.assign || function(t) {
620
+ var S = function() {
621
+ return S = 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
- }, $.apply(this, arguments);
628
+ }, S.apply(this, arguments);
615
629
  };
616
630
  function qr(e, t) {
617
631
  var r = {};
@@ -622,14 +636,14 @@ function qr(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 Le(e, t, r) {
626
- if (r || arguments.length === 2)
639
+ function Oe(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 Re(e, t) {
632
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
645
+ function Pe(e, t) {
646
+ var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Yr;
633
647
  return i(e, {
634
648
  cache: r,
635
649
  serializer: n
@@ -638,7 +652,7 @@ function Re(e, t) {
638
652
  function Qr(e) {
639
653
  return e == null || typeof e == "number" || typeof e == "boolean";
640
654
  }
641
- function Yr(e, t, r, n) {
655
+ function Mt(e, t, r, n) {
642
656
  var i = Qr(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
  }
@@ -646,95 +660,87 @@ function Ot(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 Pt(e, t, r, n, i) {
663
+ function Ye(e, t, r, n, i) {
650
664
  return r.bind(t, e, n, i);
651
665
  }
666
+ function Yr(e, t) {
667
+ var r = e.length === 1 ? Mt : Ot;
668
+ return Ye(e, this, r, t.cache.create(), t.serializer);
669
+ }
652
670
  function Kr(e, t) {
653
- var r = e.length === 1 ? Yr : Ot;
654
- return Pt(e, this, r, t.cache.create(), t.serializer);
671
+ return Ye(e, this, Ot, t.cache.create(), t.serializer);
655
672
  }
656
673
  function en(e, t) {
657
- return Pt(e, this, Ot, t.cache.create(), t.serializer);
674
+ return Ye(e, this, Mt, t.cache.create(), t.serializer);
658
675
  }
659
676
  var tn = function() {
660
677
  return JSON.stringify(arguments);
661
- }, rn = (
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
- ), nn = {
678
+ };
679
+ function Ke() {
680
+ this.cache = /* @__PURE__ */ Object.create(null);
681
+ }
682
+ Ke.prototype.get = function(e) {
683
+ return this.cache[e];
684
+ };
685
+ Ke.prototype.set = function(e, t) {
686
+ this.cache[e] = t;
687
+ };
688
+ var rn = {
674
689
  create: function() {
675
- return new rn();
690
+ return new Ke();
676
691
  }
677
- }, De = {
678
- variadic: en
679
- }, Ee = function() {
680
- return Ee = 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
- }, Ee.apply(this, arguments);
688
- };
689
- var p;
692
+ }, Le = {
693
+ variadic: Kr,
694
+ monadic: en
695
+ }, p;
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
  })(p || (p = {}));
693
- var A;
699
+ var H;
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
- })(A || (A = {}));
697
- var re;
702
+ })(H || (H = {}));
703
+ var te;
698
704
  (function(e) {
699
705
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
700
- })(re || (re = {}));
706
+ })(te || (te = {}));
701
707
  function at(e) {
702
- return e.type === A.literal;
708
+ return e.type === H.literal;
703
709
  }
704
- function sn(e) {
705
- return e.type === A.argument;
710
+ function nn(e) {
711
+ return e.type === H.argument;
706
712
  }
707
- function Mt(e) {
708
- return e.type === A.number;
713
+ function Pt(e) {
714
+ return e.type === H.number;
709
715
  }
710
716
  function Lt(e) {
711
- return e.type === A.date;
717
+ return e.type === H.date;
712
718
  }
713
719
  function Rt(e) {
714
- return e.type === A.time;
720
+ return e.type === H.time;
715
721
  }
716
722
  function Dt(e) {
717
- return e.type === A.select;
723
+ return e.type === H.select;
718
724
  }
719
725
  function kt(e) {
720
- return e.type === A.plural;
726
+ return e.type === H.plural;
721
727
  }
722
- function an(e) {
723
- return e.type === A.pound;
728
+ function sn(e) {
729
+ return e.type === H.pound;
724
730
  }
725
731
  function Ut(e) {
726
- return e.type === A.tag;
732
+ return e.type === H.tag;
727
733
  }
728
734
  function Ft(e) {
729
- return !!(e && typeof e == "object" && e.type === re.number);
735
+ return !!(e && typeof e == "object" && e.type === te.number);
730
736
  }
731
- function ze(e) {
732
- return !!(e && typeof e == "object" && e.type === re.dateTime);
737
+ function Ve(e) {
738
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
733
739
  }
734
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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 un(e) {
740
+ var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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 on(e) {
736
742
  var t = {};
737
- return e.replace(on, function(r) {
743
+ return e.replace(an, function(r) {
738
744
  var n = r.length;
739
745
  switch (r[0]) {
740
746
  case "G":
@@ -823,21 +829,11 @@ function un(e) {
823
829
  return "";
824
830
  }), t;
825
831
  }
826
- var H = function() {
827
- return H = 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
- }, H.apply(this, arguments);
835
- };
836
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function hn(e) {
832
+ var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
833
+ function ln(e) {
838
834
  if (e.length === 0)
839
835
  throw new Error("Number skeleton cannot be empty");
840
- for (var t = e.split(ln).filter(function(c) {
836
+ for (var t = e.split(un).filter(function(c) {
841
837
  return c.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 hn(e) {
852
848
  }
853
849
  return r;
854
850
  }
855
- function cn(e) {
851
+ function hn(e) {
856
852
  return e.replace(/^(.*?)-/, "");
857
853
  }
858
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
854
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
859
855
  function ut(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($t, function(r, n, i) {
@@ -902,7 +898,7 @@ function Vt(e) {
902
898
  };
903
899
  }
904
900
  }
905
- function mn(e) {
901
+ function fn(e) {
906
902
  var t;
907
903
  if (e[0] === "E" && e[1] === "E" ? (t = {
908
904
  notation: "engineering"
@@ -920,7 +916,7 @@ function lt(e) {
920
916
  var t = {}, r = Vt(e);
921
917
  return r || t;
922
918
  }
923
- function dn(e) {
919
+ function mn(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 dn(e) {
944
940
  continue;
945
941
  case "measure-unit":
946
942
  case "unit":
947
- t.style = "unit", t.unit = cn(i.options[0]);
943
+ t.style = "unit", t.unit = hn(i.options[0]);
948
944
  continue;
949
945
  case "compact-short":
950
946
  case "K":
@@ -955,13 +951,13 @@ function dn(e) {
955
951
  t.notation = "compact", t.compactDisplay = "long";
956
952
  continue;
957
953
  case "scientific":
958
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
959
- return H(H({}, l), lt(u));
954
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
955
+ return S(S({}, l), lt(u));
960
956
  }, {}));
961
957
  continue;
962
958
  case "engineering":
963
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
964
- return H(H({}, l), lt(u));
959
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
960
+ return S(S({}, l), lt(u));
965
961
  }, {}));
966
962
  continue;
967
963
  case "notation-simple":
@@ -1006,13 +1002,13 @@ function dn(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(fn, function(l, u, h, f, c, x) {
1005
+ i.options[0].replace(cn, function(l, u, h, f, c, E) {
1010
1006
  if (u)
1011
1007
  t.minimumIntegerDigits = h.length;
1012
1008
  else {
1013
1009
  if (f && c)
1014
1010
  throw new Error("We currently do not support maximum integer digits");
1015
- if (x)
1011
+ if (E)
1016
1012
  throw new Error("We currently do not support exact integer digits");
1017
1013
  }
1018
1014
  return "";
@@ -1026,25 +1022,25 @@ function dn(e) {
1026
1022
  if (ot.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(ot, function(l, u, h, f, c, x) {
1030
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && x ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1025
+ i.stem.replace(ot, function(l, u, h, f, c, E) {
1026
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && E ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1031
1027
  });
1032
1028
  var s = i.options[0];
1033
- s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), ut(s)));
1029
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), ut(s)));
1034
1030
  continue;
1035
1031
  }
1036
1032
  if ($t.test(i.stem)) {
1037
- t = H(H({}, t), ut(i.stem));
1033
+ t = S(S({}, t), ut(i.stem));
1038
1034
  continue;
1039
1035
  }
1040
1036
  var o = Vt(i.stem);
1041
- o && (t = H(H({}, t), o));
1042
- var a = mn(i.stem);
1043
- a && (t = H(H({}, t), a));
1037
+ o && (t = S(S({}, t), o));
1038
+ var a = fn(i.stem);
1039
+ a && (t = S(S({}, t), a));
1044
1040
  }
1045
1041
  return t;
1046
1042
  }
1047
- var pe = {
1043
+ var ge = {
1048
1044
  "001": [
1049
1045
  "H",
1050
1046
  "h"
@@ -2459,13 +2455,13 @@ var pe = {
2459
2455
  "h"
2460
2456
  ]
2461
2457
  };
2462
- function bn(e, t) {
2458
+ function dn(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 = gn(t);
2464
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(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 bn(e, t) {
2475
2471
  }
2476
2472
  return r;
2477
2473
  }
2478
- function gn(e) {
2474
+ function bn(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 gn(e) {
2494
2490
  }
2495
2491
  var r = e.language, n;
2496
2492
  r !== "root" && (n = e.maximize().region);
2497
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2493
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2498
2494
  return i[0];
2499
2495
  }
2500
- var ke, pn = new RegExp("^".concat(Gt.source, "*")), yn = new RegExp("".concat(Gt.source, "*$"));
2496
+ var Re, gn = new RegExp("^".concat(Gt.source, "*")), pn = new RegExp("".concat(Gt.source, "*$"));
2501
2497
  function v(e, t) {
2502
2498
  return { start: e, end: t };
2503
2499
  }
2504
- var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, En = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
2500
+ var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, An = Tn ? Number.isSafeInteger : function(e) {
2505
2501
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2506
- }, We = !0;
2502
+ }, Je = !0;
2507
2503
  try {
2508
- var Cn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
- We = ((ke = Cn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2504
+ var Hn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2505
+ Je = ((Re = Hn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2510
2506
  } catch {
2511
- We = !1;
2507
+ Je = !1;
2512
2508
  }
2513
- var ht = _n ? (
2509
+ var ht = yn ? (
2514
2510
  // Native
2515
2511
  function(t, r, n) {
2516
2512
  return t.startsWith(r, n);
@@ -2520,7 +2516,7 @@ var ht = _n ? (
2520
2516
  function(t, r, n) {
2521
2517
  return t.slice(n, n + r.length) === r;
2522
2518
  }
2523
- ), Xe = vn ? String.fromCodePoint : (
2519
+ ), ze = _n ? String.fromCodePoint : (
2524
2520
  // IE11
2525
2521
  function() {
2526
2522
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2534,7 +2530,7 @@ var ht = _n ? (
2534
2530
  }
2535
2531
  ), ct = (
2536
2532
  // native
2537
- En ? Object.fromEntries : (
2533
+ vn ? Object.fromEntries : (
2538
2534
  // Ponyfill
2539
2535
  function(t) {
2540
2536
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2558,7 +2554,7 @@ var ht = _n ? (
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
- ), Bn = Sn ? (
2557
+ ), Cn = En ? (
2562
2558
  // Native
2563
2559
  function(t) {
2564
2560
  return t.trimStart();
@@ -2566,9 +2562,9 @@ var ht = _n ? (
2566
2562
  ) : (
2567
2563
  // Ponyfill
2568
2564
  function(t) {
2569
- return t.replace(pn, "");
2565
+ return t.replace(gn, "");
2570
2566
  }
2571
- ), wn = Tn ? (
2567
+ ), Bn = Sn ? (
2572
2568
  // Native
2573
2569
  function(t) {
2574
2570
  return t.trimEnd();
@@ -2576,32 +2572,32 @@ var ht = _n ? (
2576
2572
  ) : (
2577
2573
  // Ponyfill
2578
2574
  function(t) {
2579
- return t.replace(yn, "");
2575
+ return t.replace(pn, "");
2580
2576
  }
2581
2577
  );
2582
2578
  function zt(e, t) {
2583
2579
  return new RegExp(e, t);
2584
2580
  }
2585
- var Ze;
2586
- if (We) {
2581
+ var We;
2582
+ if (Je) {
2587
2583
  var ft = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
- Ze = function(t, r) {
2584
+ We = function(t, r) {
2589
2585
  var n;
2590
2586
  ft.lastIndex = r;
2591
2587
  var i = ft.exec(t);
2592
2588
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2593
2589
  };
2594
2590
  } else
2595
- Ze = function(t, r) {
2591
+ We = function(t, r) {
2596
2592
  for (var n = []; ; ) {
2597
2593
  var i = Jt(t, r);
2598
- if (i === void 0 || Wt(i) || Pn(i))
2594
+ if (i === void 0 || Wt(i) || Mn(i))
2599
2595
  break;
2600
2596
  n.push(i), r += i >= 65536 ? 2 : 1;
2601
2597
  }
2602
- return Xe.apply(void 0, n);
2598
+ return ze.apply(void 0, n);
2603
2599
  };
2604
- var In = (
2600
+ var wn = (
2605
2601
  /** @class */
2606
2602
  function() {
2607
2603
  function e(t, r) {
@@ -2625,14 +2621,14 @@ var In = (
2625
2621
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2626
2622
  var a = this.clonePosition();
2627
2623
  this.bump(), i.push({
2628
- type: A.pound,
2624
+ type: H.pound,
2629
2625
  location: v(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(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2635
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2631
+ } else if (s === 60 && !this.ignoreTag && Xe(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 In = (
2653
2649
  if (this.bumpSpace(), this.bumpIf("/>"))
2654
2650
  return {
2655
2651
  val: {
2656
- type: A.literal,
2652
+ type: H.literal,
2657
2653
  value: "<".concat(i, "/>"),
2658
2654
  location: v(n, this.clonePosition())
2659
2655
  },
@@ -2665,12 +2661,12 @@ var In = (
2665
2661
  return s;
2666
2662
  var o = s.val, a = this.clonePosition();
2667
2663
  if (this.bumpIf("</")) {
2668
- if (this.isEOF() || !qe(this.char()))
2664
+ if (this.isEOF() || !Xe(this.char()))
2669
2665
  return this.error(p.INVALID_TAG, v(a, this.clonePosition()));
2670
2666
  var l = this.clonePosition(), u = this.parseTagName();
2671
2667
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2672
2668
  val: {
2673
- type: A.tag,
2669
+ type: H.tag,
2674
2670
  value: i,
2675
2671
  children: o,
2676
2672
  location: v(n, this.clonePosition())
@@ -2683,7 +2679,7 @@ var In = (
2683
2679
  return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2684
2680
  }, e.prototype.parseTagName = function() {
2685
2681
  var t = this.offset();
2686
- for (this.bump(); !this.isEOF() && On(this.char()); )
2682
+ for (this.bump(); !this.isEOF() && Nn(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 In = (
2707
2703
  }
2708
2704
  var l = v(n, this.clonePosition());
2709
2705
  return {
2710
- val: { type: A.literal, value: i, location: l },
2706
+ val: { type: H.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
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2711
+ !In(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 In = (
2746
2742
  r.push(n);
2747
2743
  this.bump();
2748
2744
  }
2749
- return Xe.apply(void 0, r);
2745
+ return ze.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(), Xe(n));
2750
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(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 In = (
2767
2763
  case 125:
2768
2764
  return this.bump(), {
2769
2765
  val: {
2770
- type: A.argument,
2766
+ type: H.argument,
2771
2767
  // value does not include the opening and closing braces.
2772
2768
  value: i,
2773
2769
  location: v(n, this.clonePosition())
@@ -2780,7 +2776,7 @@ var In = (
2780
2776
  return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2781
2777
  }
2782
2778
  }, e.prototype.parseIdentifierIfPossible = function() {
2783
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2779
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
2784
2780
  this.bumpTo(i);
2785
2781
  var s = this.clonePosition(), o = v(t, s);
2786
2782
  return { value: n, location: o };
@@ -2799,35 +2795,35 @@ var In = (
2799
2795
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2800
2796
  if (f.err)
2801
2797
  return f;
2802
- var c = wn(f.val);
2798
+ var c = Bn(f.val);
2803
2799
  if (c.length === 0)
2804
2800
  return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2805
- var x = v(h, this.clonePosition());
2806
- u = { style: c, styleLocation: x };
2801
+ var E = v(h, this.clonePosition());
2802
+ u = { style: c, styleLocation: E };
2807
2803
  }
2808
- var E = this.tryParseArgumentClose(i);
2809
- if (E.err)
2810
- return E;
2804
+ var x = this.tryParseArgumentClose(i);
2805
+ if (x.err)
2806
+ return x;
2811
2807
  var g = v(i, this.clonePosition());
2812
2808
  if (u && ht(u?.style, "::", 0)) {
2813
- var y = Bn(u.style.slice(2));
2809
+ var y = Cn(u.style.slice(2));
2814
2810
  if (a === "number") {
2815
2811
  var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2816
2812
  return f.err ? f : {
2817
- val: { type: A.number, value: n, location: g, style: f.val },
2813
+ val: { type: H.number, value: n, location: g, style: f.val },
2818
2814
  err: null
2819
2815
  };
2820
2816
  } else {
2821
2817
  if (y.length === 0)
2822
2818
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2823
- var S = y;
2824
- this.locale && (S = bn(y, this.locale));
2819
+ var T = y;
2820
+ this.locale && (T = dn(y, this.locale));
2825
2821
  var c = {
2826
- type: re.dateTime,
2827
- pattern: S,
2822
+ type: te.dateTime,
2823
+ pattern: T,
2828
2824
  location: u.styleLocation,
2829
- parsedOptions: this.shouldParseSkeletons ? un(S) : {}
2830
- }, d = a === "date" ? A.date : A.time;
2825
+ parsedOptions: this.shouldParseSkeletons ? on(T) : {}
2826
+ }, d = a === "date" ? H.date : H.time;
2831
2827
  return {
2832
2828
  val: { type: d, value: n, location: g, style: c },
2833
2829
  err: null
@@ -2836,7 +2832,7 @@ var In = (
2836
2832
  }
2837
2833
  return {
2838
2834
  val: {
2839
- type: a === "number" ? A.number : a === "date" ? A.date : A.time,
2835
+ type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2840
2836
  value: n,
2841
2837
  location: g,
2842
2838
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2849,9 +2845,9 @@ var In = (
2849
2845
  case "select": {
2850
2846
  var _ = this.clonePosition();
2851
2847
  if (this.bumpSpace(), !this.bumpIf(","))
2852
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Ee({}, _)));
2848
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, S({}, _)));
2853
2849
  this.bumpSpace();
2854
- var B = this.parseIdentifierIfPossible(), M = 0;
2850
+ var B = this.parseIdentifierIfPossible(), P = 0;
2855
2851
  if (a !== "select" && B.value === "offset") {
2856
2852
  if (!this.bumpIf(":"))
2857
2853
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -2859,18 +2855,18 @@ var In = (
2859
2855
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2860
2856
  if (f.err)
2861
2857
  return f;
2862
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), M = f.val;
2858
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = f.val;
2863
2859
  }
2864
2860
  var k = this.tryParsePluralOrSelectOptions(t, a, r, B);
2865
2861
  if (k.err)
2866
2862
  return k;
2867
- var E = this.tryParseArgumentClose(i);
2868
- if (E.err)
2869
- return E;
2863
+ var x = this.tryParseArgumentClose(i);
2864
+ if (x.err)
2865
+ return x;
2870
2866
  var L = v(i, this.clonePosition());
2871
2867
  return a === "select" ? {
2872
2868
  val: {
2873
- type: A.select,
2869
+ type: H.select,
2874
2870
  value: n,
2875
2871
  options: ct(k.val),
2876
2872
  location: L
@@ -2878,10 +2874,10 @@ var In = (
2878
2874
  err: null
2879
2875
  } : {
2880
2876
  val: {
2881
- type: A.plural,
2877
+ type: H.plural,
2882
2878
  value: n,
2883
2879
  options: ct(k.val),
2884
- offset: M,
2880
+ offset: P,
2885
2881
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2886
2882
  location: L
2887
2883
  },
@@ -2931,16 +2927,16 @@ var In = (
2931
2927
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2932
2928
  var n = [];
2933
2929
  try {
2934
- n = hn(t);
2930
+ n = ln(t);
2935
2931
  } catch {
2936
2932
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2937
2933
  }
2938
2934
  return {
2939
2935
  val: {
2940
- type: re.number,
2936
+ type: te.number,
2941
2937
  tokens: n,
2942
2938
  location: r,
2943
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
2939
+ parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
2944
2940
  },
2945
2941
  err: null
2946
2942
  };
@@ -2959,20 +2955,20 @@ var In = (
2959
2955
  if (l.has(u))
2960
2956
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2961
2957
  u === "other" && (o = !0), this.bumpSpace();
2962
- var x = this.clonePosition();
2958
+ var E = this.clonePosition();
2963
2959
  if (!this.bumpIf("{"))
2964
2960
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
2965
- var E = this.parseMessage(t + 1, r, n);
2966
- if (E.err)
2967
- return E;
2968
- var g = this.tryParseArgumentClose(x);
2961
+ var x = this.parseMessage(t + 1, r, n);
2962
+ if (x.err)
2963
+ return x;
2964
+ var g = this.tryParseArgumentClose(E);
2969
2965
  if (g.err)
2970
2966
  return g;
2971
2967
  a.push([
2972
2968
  u,
2973
2969
  {
2974
- value: E.val,
2975
- location: v(x, this.clonePosition())
2970
+ value: x.val,
2971
+ location: v(E, this.clonePosition())
2976
2972
  }
2977
2973
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2978
2974
  }
@@ -2988,7 +2984,7 @@ var In = (
2988
2984
  break;
2989
2985
  }
2990
2986
  var l = v(i, this.clonePosition());
2991
- return s ? (o *= n, Hn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2987
+ return s ? (o *= n, An(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2992
2988
  }, e.prototype.offset = function() {
2993
2989
  return this.position.offset;
2994
2990
  }, e.prototype.isEOF = function() {
@@ -3054,47 +3050,47 @@ var In = (
3054
3050
  }, e;
3055
3051
  }()
3056
3052
  );
3057
- function qe(e) {
3053
+ function Xe(e) {
3058
3054
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3059
3055
  }
3060
- function Nn(e) {
3061
- return qe(e) || e === 47;
3056
+ function In(e) {
3057
+ return Xe(e) || e === 47;
3062
3058
  }
3063
- function On(e) {
3059
+ function Nn(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 Wt(e) {
3067
3063
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3068
3064
  }
3069
- function Pn(e) {
3065
+ function Mn(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 Qe(e) {
3068
+ function Ze(e) {
3073
3069
  e.forEach(function(t) {
3074
3070
  if (delete t.location, Dt(t) || kt(t))
3075
3071
  for (var r in t.options)
3076
- delete t.options[r].location, Qe(t.options[r].value);
3072
+ delete t.options[r].location, Ze(t.options[r].value);
3077
3073
  else
3078
- Mt(t) && Ft(t.style) || (Lt(t) || Rt(t)) && ze(t.style) ? delete t.style.location : Ut(t) && Qe(t.children);
3074
+ Pt(t) && Ft(t.style) || (Lt(t) || Rt(t)) && Ve(t.style) ? delete t.style.location : Ut(t) && Ze(t.children);
3079
3075
  });
3080
3076
  }
3081
- function Mn(e, t) {
3082
- t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
- var r = new In(e, t).parse();
3077
+ function On(e, t) {
3078
+ t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3079
+ var r = new wn(e, t).parse();
3084
3080
  if (r.err) {
3085
3081
  var n = SyntaxError(p[r.err.kind]);
3086
3082
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3087
3083
  }
3088
- return t?.captureLocation || Qe(r.val), r.val;
3084
+ return t?.captureLocation || Ze(r.val), r.val;
3089
3085
  }
3090
- var ne;
3086
+ var re;
3091
3087
  (function(e) {
3092
3088
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3093
- })(ne || (ne = {}));
3094
- var Ce = (
3089
+ })(re || (re = {}));
3090
+ var Ae = (
3095
3091
  /** @class */
3096
3092
  function(e) {
3097
- He(t, e);
3093
+ Te(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 Ce = (
3106
3102
  ), mt = (
3107
3103
  /** @class */
3108
3104
  function(e) {
3109
- He(t, e);
3105
+ Te(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('", "'), '"'), ne.INVALID_VALUE, s) || this;
3107
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3112
3108
  }
3113
3109
  return t;
3114
- }(Ce)
3115
- ), Ln = (
3110
+ }(Ae)
3111
+ ), Pn = (
3116
3112
  /** @class */
3117
3113
  function(e) {
3118
- He(t, e);
3114
+ Te(t, e);
3119
3115
  function t(r, n, i) {
3120
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3116
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3121
3117
  }
3122
3118
  return t;
3123
- }(Ce)
3124
- ), Rn = (
3119
+ }(Ae)
3120
+ ), Ln = (
3125
3121
  /** @class */
3126
3122
  function(e) {
3127
- He(t, e);
3123
+ Te(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, '"'), ne.MISSING_VALUE, n) || this;
3125
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3130
3126
  }
3131
3127
  return t;
3132
- }(Ce)
3128
+ }(Ae)
3133
3129
  ), R;
3134
3130
  (function(e) {
3135
3131
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
3132
  })(R || (R = {}));
3137
- function Dn(e) {
3133
+ function Rn(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 !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3141
3137
  }, []);
3142
3138
  }
3143
- function kn(e) {
3139
+ function Dn(e) {
3144
3140
  return typeof e == "function";
3145
3141
  }
3146
- function _e(e, t, r, n, i, s, o) {
3142
+ function ye(e, t, r, n, i, s, o) {
3147
3143
  if (e.length === 1 && at(e[0]))
3148
3144
  return [
3149
3145
  {
@@ -3160,7 +3156,7 @@ function _e(e, t, r, n, i, s, o) {
3160
3156
  });
3161
3157
  continue;
3162
3158
  }
3163
- if (an(h)) {
3159
+ if (sn(h)) {
3164
3160
  typeof s == "number" && a.push({
3165
3161
  type: R.literal,
3166
3162
  value: r.getNumberFormat(t).format(s)
@@ -3169,9 +3165,9 @@ function _e(e, t, r, n, i, s, o) {
3169
3165
  }
3170
3166
  var f = h.value;
3171
3167
  if (!(i && f in i))
3172
- throw new Rn(f, o);
3168
+ throw new Ln(f, o);
3173
3169
  var c = i[f];
3174
- if (sn(h)) {
3170
+ if (nn(h)) {
3175
3171
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3176
3172
  type: typeof c == "string" ? R.literal : R.object,
3177
3173
  value: c
@@ -3179,40 +3175,40 @@ function _e(e, t, r, n, i, s, o) {
3179
3175
  continue;
3180
3176
  }
3181
3177
  if (Lt(h)) {
3182
- var x = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3178
+ var E = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3183
3179
  a.push({
3184
3180
  type: R.literal,
3185
- value: r.getDateTimeFormat(t, x).format(c)
3181
+ value: r.getDateTimeFormat(t, E).format(c)
3186
3182
  });
3187
3183
  continue;
3188
3184
  }
3189
3185
  if (Rt(h)) {
3190
- var x = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3186
+ var E = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3191
3187
  a.push({
3192
3188
  type: R.literal,
3193
- value: r.getDateTimeFormat(t, x).format(c)
3189
+ value: r.getDateTimeFormat(t, E).format(c)
3194
3190
  });
3195
3191
  continue;
3196
3192
  }
3197
- if (Mt(h)) {
3198
- var x = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3199
- x && x.scale && (c = c * (x.scale || 1)), a.push({
3193
+ if (Pt(h)) {
3194
+ var E = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3195
+ E && E.scale && (c = c * (E.scale || 1)), a.push({
3200
3196
  type: R.literal,
3201
- value: r.getNumberFormat(t, x).format(c)
3197
+ value: r.getNumberFormat(t, E).format(c)
3202
3198
  });
3203
3199
  continue;
3204
3200
  }
3205
3201
  if (Ut(h)) {
3206
- var E = h.children, g = h.value, y = i[g];
3207
- if (!kn(y))
3208
- throw new Ln(g, "function", o);
3209
- var S = _e(E, t, r, n, i, s), d = y(S.map(function(M) {
3210
- return M.value;
3202
+ var x = h.children, g = h.value, y = i[g];
3203
+ if (!Dn(y))
3204
+ throw new Pn(g, "function", o);
3205
+ var T = ye(x, t, r, n, i, s), d = y(T.map(function(P) {
3206
+ return P.value;
3211
3207
  }));
3212
- Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(M) {
3208
+ Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(P) {
3213
3209
  return {
3214
- type: typeof M == "string" ? R.literal : R.object,
3215
- value: M
3210
+ type: typeof P == "string" ? R.literal : R.object,
3211
+ value: P
3216
3212
  };
3217
3213
  }));
3218
3214
  }
@@ -3220,38 +3216,38 @@ function _e(e, t, r, n, i, s, o) {
3220
3216
  var _ = h.options[c] || h.options.other;
3221
3217
  if (!_)
3222
3218
  throw new mt(h.value, c, Object.keys(h.options), o);
3223
- a.push.apply(a, _e(_.value, t, r, n, i));
3219
+ a.push.apply(a, ye(_.value, t, r, n, i));
3224
3220
  continue;
3225
3221
  }
3226
3222
  if (kt(h)) {
3227
3223
  var _ = h.options["=".concat(c)];
3228
3224
  if (!_) {
3229
3225
  if (!Intl.PluralRules)
3230
- throw new Ce(`Intl.PluralRules is not available in this environment.
3226
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3231
3227
  Try polyfilling it using "@formatjs/intl-pluralrules"
3232
- `, ne.MISSING_INTL_API, o);
3228
+ `, re.MISSING_INTL_API, o);
3233
3229
  var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3234
3230
  _ = h.options[B] || h.options.other;
3235
3231
  }
3236
3232
  if (!_)
3237
3233
  throw new mt(h.value, c, Object.keys(h.options), o);
3238
- a.push.apply(a, _e(_.value, t, r, n, i, c - (h.offset || 0)));
3234
+ a.push.apply(a, ye(_.value, t, r, n, i, c - (h.offset || 0)));
3239
3235
  continue;
3240
3236
  }
3241
3237
  }
3242
- return Dn(a);
3238
+ return Rn(a);
3243
3239
  }
3244
- function Un(e, t) {
3245
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3246
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3240
+ function kn(e, t) {
3241
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3242
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3247
3243
  }, {})) : e;
3248
3244
  }
3249
- function Fn(e, t) {
3245
+ function Un(e, t) {
3250
3246
  return t ? Object.keys(e).reduce(function(r, n) {
3251
- return r[n] = Un(e[n], t[n]), r;
3252
- }, $({}, e)) : e;
3247
+ return r[n] = kn(e[n], t[n]), r;
3248
+ }, S({}, e)) : e;
3253
3249
  }
3254
- function Ue(e) {
3250
+ function De(e) {
3255
3251
  return {
3256
3252
  create: function() {
3257
3253
  return {
@@ -3265,39 +3261,39 @@ function Ue(e) {
3265
3261
  }
3266
3262
  };
3267
3263
  }
3268
- function Gn(e) {
3264
+ function Fn(e) {
3269
3265
  return e === void 0 && (e = {
3270
3266
  number: {},
3271
3267
  dateTime: {},
3272
3268
  pluralRules: {}
3273
3269
  }), {
3274
- getNumberFormat: Re(function() {
3270
+ getNumberFormat: Pe(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, Le([void 0], r, !1)))();
3273
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3278
3274
  }, {
3279
- cache: Ue(e.number),
3280
- strategy: De.variadic
3275
+ cache: De(e.number),
3276
+ strategy: Le.variadic
3281
3277
  }),
3282
- getDateTimeFormat: Re(function() {
3278
+ getDateTimeFormat: Pe(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, Le([void 0], r, !1)))();
3281
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3286
3282
  }, {
3287
- cache: Ue(e.dateTime),
3288
- strategy: De.variadic
3283
+ cache: De(e.dateTime),
3284
+ strategy: Le.variadic
3289
3285
  }),
3290
- getPluralRules: Re(function() {
3286
+ getPluralRules: Pe(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, Le([void 0], r, !1)))();
3289
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3294
3290
  }, {
3295
- cache: Ue(e.pluralRules),
3296
- strategy: De.variadic
3291
+ cache: De(e.pluralRules),
3292
+ strategy: Le.variadic
3297
3293
  })
3298
3294
  };
3299
3295
  }
3300
- var $n = (
3296
+ var Gn = (
3301
3297
  /** @class */
3302
3298
  function() {
3303
3299
  function e(t, r, n, i) {
@@ -3316,7 +3312,7 @@ var $n = (
3316
3312
  }, []);
3317
3313
  return h.length <= 1 ? h[0] || "" : h;
3318
3314
  }, this.formatToParts = function(l) {
3319
- return _e(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3315
+ return ye(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 $n = (
3330
3326
  var o = i || {};
3331
3327
  o.formatters;
3332
3328
  var a = qr(o, ["formatters"]);
3333
- this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3329
+ this.ast = e.__parse(t, S(S({}, 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 = Fn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3334
+ this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3339
3335
  }
3340
3336
  return Object.defineProperty(e, "defaultLocale", {
3341
3337
  get: function() {
@@ -3348,7 +3344,7 @@ var $n = (
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 = Mn, e.formats = {
3347
+ }, e.__parse = On, e.formats = {
3352
3348
  number: {
3353
3349
  integer: {
3354
3350
  maximumFractionDigits: 0
@@ -3409,7 +3405,7 @@ var $n = (
3409
3405
  }, e;
3410
3406
  }()
3411
3407
  );
3412
- function jn(e, t) {
3408
+ function $n(e, t) {
3413
3409
  if (t == null)
3414
3410
  return;
3415
3411
  if (t in e)
@@ -3430,36 +3426,36 @@ function jn(e, t) {
3430
3426
  n = void 0;
3431
3427
  return n;
3432
3428
  }
3433
- const j = {}, Vn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Xt = (e, t) => {
3429
+ const $ = {}, jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Xt = (e, t) => {
3434
3430
  if (t == null)
3435
3431
  return;
3436
- if (t in j && e in j[t])
3437
- return j[t][e];
3438
- const r = Be(t);
3432
+ if (t in $ && e in $[t])
3433
+ return $[t][e];
3434
+ const r = He(t);
3439
3435
  for (let n = 0; n < r.length; n++) {
3440
- const i = r[n], s = zn(i, e);
3436
+ const i = r[n], s = Jn(i, e);
3441
3437
  if (s)
3442
- return Vn(e, t, s);
3438
+ return jn(e, t, s);
3443
3439
  }
3444
3440
  };
3445
3441
  let et;
3446
- const ae = Ae({});
3447
- function Jn(e) {
3442
+ const se = Se({});
3443
+ function Vn(e) {
3448
3444
  return et[e] || null;
3449
3445
  }
3450
3446
  function Zt(e) {
3451
3447
  return e in et;
3452
3448
  }
3453
- function zn(e, t) {
3449
+ function Jn(e, t) {
3454
3450
  if (!Zt(e))
3455
3451
  return null;
3456
- const r = Jn(e);
3457
- return jn(r, t);
3452
+ const r = Vn(e);
3453
+ return $n(r, t);
3458
3454
  }
3459
- function Wn(e) {
3455
+ function zn(e) {
3460
3456
  if (e == null)
3461
3457
  return;
3462
- const t = Be(e);
3458
+ const t = He(e);
3463
3459
  for (let r = 0; r < t.length; r++) {
3464
3460
  const n = t[r];
3465
3461
  if (Zt(n))
@@ -3467,55 +3463,55 @@ function Wn(e) {
3467
3463
  }
3468
3464
  }
3469
3465
  function qt(e, ...t) {
3470
- delete j[e], ae.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3466
+ delete $[e], se.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3471
3467
  }
3472
- se(
3473
- [ae],
3468
+ ie(
3469
+ [se],
3474
3470
  ([e]) => Object.keys(e)
3475
3471
  );
3476
- ae.subscribe((e) => et = e);
3477
- const ve = {};
3478
- function Xn(e, t) {
3479
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3472
+ se.subscribe((e) => et = e);
3473
+ const _e = {};
3474
+ function Wn(e, t) {
3475
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3480
3476
  }
3481
3477
  function Qt(e) {
3482
- return ve[e];
3478
+ return _e[e];
3483
3479
  }
3484
- function Zn(e) {
3485
- return Be(e).map((t) => {
3480
+ function Xn(e) {
3481
+ return He(e).map((t) => {
3486
3482
  const r = Qt(t);
3487
3483
  return [t, r ? [...r] : []];
3488
3484
  }).filter(([, t]) => t.length > 0);
3489
3485
  }
3490
- function Ye(e) {
3491
- return e == null ? !1 : Be(e).some(
3486
+ function qe(e) {
3487
+ return e == null ? !1 : He(e).some(
3492
3488
  (t) => {
3493
3489
  var r;
3494
3490
  return (r = Qt(t)) == null ? void 0 : r.size;
3495
3491
  }
3496
3492
  );
3497
3493
  }
3498
- function qn(e, t) {
3494
+ function Zn(e, t) {
3499
3495
  return Promise.all(
3500
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3496
+ t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3501
3497
  ).then((n) => qt(e, ...n));
3502
3498
  }
3503
- const le = {};
3499
+ const ue = {};
3504
3500
  function Yt(e) {
3505
- if (!Ye(e))
3506
- return e in le ? le[e] : Promise.resolve();
3507
- const t = Zn(e);
3508
- return le[e] = Promise.all(
3501
+ if (!qe(e))
3502
+ return e in ue ? ue[e] : Promise.resolve();
3503
+ const t = Xn(e);
3504
+ return ue[e] = Promise.all(
3509
3505
  t.map(
3510
- ([r, n]) => qn(r, n)
3506
+ ([r, n]) => Zn(r, n)
3511
3507
  )
3512
3508
  ).then(() => {
3513
- if (Ye(e))
3509
+ if (qe(e))
3514
3510
  return Yt(e);
3515
- delete le[e];
3516
- }), le[e];
3511
+ delete ue[e];
3512
+ }), ue[e];
3517
3513
  }
3518
- const Qn = {
3514
+ const qn = {
3519
3515
  number: {
3520
3516
  scientific: { notation: "scientific" },
3521
3517
  engineering: { notation: "engineering" },
@@ -3544,141 +3540,141 @@ const Qn = {
3544
3540
  timeZoneName: "short"
3545
3541
  }
3546
3542
  }
3547
- }, Yn = {
3543
+ }, Qn = {
3548
3544
  fallbackLocale: null,
3549
3545
  loadingDelay: 200,
3550
- formats: Qn,
3546
+ formats: qn,
3551
3547
  warnOnMissingMessages: !0,
3552
3548
  handleMissingMessage: void 0,
3553
3549
  ignoreTag: !0
3554
- }, Kn = Yn;
3555
- function ie() {
3556
- return Kn;
3550
+ }, Yn = Qn;
3551
+ function ne() {
3552
+ return Yn;
3557
3553
  }
3558
- const Fe = Ae(!1);
3559
- var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3554
+ const ke = Se(!1);
3555
+ var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3560
3556
  for (var r in t || (t = {}))
3561
- ni.call(t, r) && bt(e, r, t[r]);
3557
+ ri.call(t, r) && bt(e, r, t[r]);
3562
3558
  if (dt)
3563
3559
  for (var r of dt(t))
3564
- ii.call(t, r) && bt(e, r, t[r]);
3560
+ ni.call(t, r) && bt(e, r, t[r]);
3565
3561
  return e;
3566
- }, ai = (e, t) => ti(e, ri(t));
3567
- let Ke;
3568
- const xe = Ae(null);
3562
+ }, si = (e, t) => ei(e, ti(t));
3563
+ let Qe;
3564
+ const ve = Se(null);
3569
3565
  function gt(e) {
3570
3566
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3571
3567
  }
3572
- function Be(e, t = ie().fallbackLocale) {
3568
+ function He(e, t = ne().fallbackLocale) {
3573
3569
  const r = gt(e);
3574
3570
  return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3575
3571
  }
3576
- function W() {
3577
- return Ke ?? void 0;
3572
+ function z() {
3573
+ return Qe ?? void 0;
3578
3574
  }
3579
- xe.subscribe((e) => {
3580
- Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3575
+ ve.subscribe((e) => {
3576
+ Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
3577
  });
3582
- const oi = (e) => {
3583
- if (e && Wn(e) && Ye(e)) {
3584
- const { loadingDelay: t } = ie();
3578
+ const ai = (e) => {
3579
+ if (e && zn(e) && qe(e)) {
3580
+ const { loadingDelay: t } = ne();
3585
3581
  let r;
3586
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3587
- () => Fe.set(!0),
3582
+ return typeof window < "u" && z() != null && t ? r = window.setTimeout(
3583
+ () => ke.set(!0),
3588
3584
  t
3589
- ) : Fe.set(!0), Yt(e).then(() => {
3590
- xe.set(e);
3585
+ ) : ke.set(!0), Yt(e).then(() => {
3586
+ ve.set(e);
3591
3587
  }).finally(() => {
3592
- clearTimeout(r), Fe.set(!1);
3588
+ clearTimeout(r), ke.set(!1);
3593
3589
  });
3594
3590
  }
3595
- return xe.set(e);
3596
- }, V = ai(si({}, xe), {
3597
- set: oi
3598
- }), we = (e) => {
3591
+ return ve.set(e);
3592
+ }, j = si(ii({}, ve), {
3593
+ set: ai
3594
+ }), Ce = (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 ui = Object.defineProperty, Se = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3601
+ var oi = Object.defineProperty, xe = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3606
3602
  for (var r in t || (t = {}))
3607
3603
  Kt.call(t, r) && pt(e, r, t[r]);
3608
- if (Se)
3609
- for (var r of Se(t))
3604
+ if (xe)
3605
+ for (var r of xe(t))
3610
3606
  er.call(t, r) && pt(e, r, t[r]);
3611
3607
  return e;
3612
- }, oe = (e, t) => {
3608
+ }, ae = (e, t) => {
3613
3609
  var r = {};
3614
3610
  for (var n in e)
3615
3611
  Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3616
- if (e != null && Se)
3617
- for (var n of Se(e))
3612
+ if (e != null && xe)
3613
+ for (var n of xe(e))
3618
3614
  t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3619
3615
  return r;
3620
3616
  };
3621
- const me = (e, t) => {
3622
- const { formats: r } = ie();
3617
+ const fe = (e, t) => {
3618
+ const { formats: r } = ne();
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
- }, li = we(
3622
+ }, ui = Ce(
3627
3623
  (e) => {
3628
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3624
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3629
3625
  if (r == null)
3630
3626
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3631
- return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3627
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3632
3628
  }
3633
- ), hi = we(
3629
+ ), li = Ce(
3634
3630
  (e) => {
3635
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3631
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3636
3632
  if (r == null)
3637
3633
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3638
- return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3634
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3639
3635
  }
3640
- ), ci = we(
3636
+ ), hi = Ce(
3641
3637
  (e) => {
3642
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3638
+ var t = e, { locale: r, format: n } = t, i = ae(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
- return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3643
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3648
3644
  }
3649
- ), fi = (e = {}) => {
3645
+ ), ci = (e = {}) => {
3650
3646
  var t = e, {
3651
- locale: r = W()
3652
- } = t, n = oe(t, [
3647
+ locale: r = z()
3648
+ } = t, n = ae(t, [
3653
3649
  "locale"
3654
3650
  ]);
3655
- return li(tt({ locale: r }, n));
3656
- }, mi = (e = {}) => {
3651
+ return ui(tt({ locale: r }, n));
3652
+ }, fi = (e = {}) => {
3657
3653
  var t = e, {
3658
- locale: r = W()
3659
- } = t, n = oe(t, [
3654
+ locale: r = z()
3655
+ } = t, n = ae(t, [
3660
3656
  "locale"
3661
3657
  ]);
3662
- return hi(tt({ locale: r }, n));
3663
- }, di = (e = {}) => {
3658
+ return li(tt({ locale: r }, n));
3659
+ }, mi = (e = {}) => {
3664
3660
  var t = e, {
3665
- locale: r = W()
3666
- } = t, n = oe(t, [
3661
+ locale: r = z()
3662
+ } = t, n = ae(t, [
3667
3663
  "locale"
3668
3664
  ]);
3669
- return ci(tt({ locale: r }, n));
3670
- }, bi = we(
3665
+ return hi(tt({ locale: r }, n));
3666
+ }, di = Ce(
3671
3667
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3672
- (e, t = W()) => new $n(e, t, ie().formats, {
3673
- ignoreTag: ie().ignoreTag
3668
+ (e, t = z()) => new Gn(e, t, ne().formats, {
3669
+ ignoreTag: ne().ignoreTag
3674
3670
  })
3675
- ), gi = (e, t = {}) => {
3671
+ ), bi = (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 = W(),
3677
+ locale: l = z(),
3682
3678
  default: u
3683
3679
  } = o;
3684
3680
  if (l == null)
@@ -3687,7 +3683,7 @@ const me = (e, t) => {
3687
3683
  );
3688
3684
  let h = Xt(e, l);
3689
3685
  if (!h)
3690
- h = (s = (i = (n = (r = ie()).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 = ne()).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 me = (e, t) => {
3696
3692
  return h;
3697
3693
  let f = h;
3698
3694
  try {
3699
- f = bi(h, l).format(a);
3695
+ f = di(h, l).format(a);
3700
3696
  } catch (c) {
3701
3697
  c instanceof Error && console.warn(
3702
3698
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,21 +3700,21 @@ const me = (e, t) => {
3704
3700
  );
3705
3701
  }
3706
3702
  return f;
3707
- }, pi = (e, t) => di(t).format(e), yi = (e, t) => mi(t).format(e), _i = (e, t) => fi(t).format(e), vi = (e, t = W()) => Xt(e, t), Ei = se([V, ae], () => gi);
3708
- se([V], () => pi);
3709
- se([V], () => yi);
3710
- se([V], () => _i);
3711
- se([V, ae], () => vi);
3703
+ }, gi = (e, t) => mi(t).format(e), pi = (e, t) => fi(t).format(e), yi = (e, t) => ci(t).format(e), _i = (e, t = z()) => Xt(e, t), vi = ie([j, se], () => bi);
3704
+ ie([j], () => gi);
3705
+ ie([j], () => pi);
3706
+ ie([j], () => yi);
3707
+ ie([j, se], () => _i);
3712
3708
  function xi({ withLocale: e, translations: t }) {
3713
- V.subscribe((r) => {
3714
- r == null && (ae.set(t), V.set(e));
3709
+ j.subscribe((r) => {
3710
+ r == null && (se.set(t), j.set(e));
3715
3711
  });
3716
3712
  }
3717
3713
  function yt(e, t) {
3718
3714
  qt(e, t);
3719
3715
  }
3720
- function Si(e) {
3721
- V.set(e);
3716
+ function Ei(e) {
3717
+ j.set(e);
3722
3718
  }
3723
3719
  const _t = {
3724
3720
  en: {
@@ -4052,13 +4048,13 @@ const _t = {
4052
4048
  December: "December"
4053
4049
  }
4054
4050
  };
4055
- function Ti(e, t) {
4051
+ function Si(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 Ai(e, t) {
4057
+ function Ti(e, t) {
4062
4058
  const r = new URL(t);
4063
4059
  fetch(r.href).then((n) => n.text()).then((n) => {
4064
4060
  const i = document.createElement("style");
@@ -4067,7 +4063,7 @@ function Ai(e, t) {
4067
4063
  console.error("There was an error while trying to load client styling from URL", n);
4068
4064
  });
4069
4065
  }
4070
- function Hi(e, t, r) {
4066
+ function Ai(e, t, r) {
4071
4067
  if (window.emMessageBus) {
4072
4068
  const n = document.createElement("style");
4073
4069
  window.emMessageBus.subscribe(t, (i) => {
@@ -4075,7 +4071,7 @@ function Hi(e, t, r) {
4075
4071
  });
4076
4072
  }
4077
4073
  }
4078
- function Ci(e) {
4074
+ function Hi(e) {
4079
4075
  fr(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}');
4080
4076
  }
4081
4077
  function vt(e) {
@@ -4085,31 +4081,31 @@ function vt(e) {
4085
4081
  t = w("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = G(), n = w("div"), n.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', b(t, "class", "Skeleton CardImg"), b(n, "class", "Details"), b(n, "part", "Details");
4086
4082
  },
4087
4083
  m(i, s) {
4088
- P(i, t, s), P(i, r, s), P(i, n, s);
4084
+ O(i, t, s), O(i, r, s), O(i, n, s);
4089
4085
  },
4090
4086
  d(i) {
4091
4087
  i && (N(t), N(r), N(n));
4092
4088
  }
4093
4089
  };
4094
4090
  }
4095
- function Et(e) {
4091
+ function xt(e) {
4096
4092
  let t, r, n, i, s, o, a, l, u, h, f = (
4097
4093
  /*status*/
4098
- e[0] && xt(e)
4094
+ e[0] && Et(e)
4099
4095
  ), c = (
4100
4096
  /*showenrolled*/
4101
4097
  e[6] == "true" && St(e)
4102
4098
  );
4103
- function x(d, _) {
4099
+ function E(d, _) {
4104
4100
  return (
4105
4101
  /*thumbnail*/
4106
- d[3] ? wi : Bi
4102
+ d[3] ? Bi : Ci
4107
4103
  );
4108
4104
  }
4109
- let E = x(e), g = E(e), y = (
4105
+ let x = E(e), g = x(e), y = (
4110
4106
  /*startdate*/
4111
4107
  e[2] && At(e)
4112
- ), S = (
4108
+ ), T = (
4113
4109
  /*isLoggedIn*/
4114
4110
  e[11] && Ht(e)
4115
4111
  );
@@ -4118,10 +4114,10 @@ function Et(e) {
4118
4114
  f && f.c(), t = G(), c && c.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), o = D(
4119
4115
  /*title*/
4120
4116
  e[1]
4121
- ), a = G(), y && y.c(), l = G(), S && S.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4117
+ ), a = G(), y && y.c(), l = G(), T && T.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4122
4118
  },
4123
4119
  m(d, _) {
4124
- f && f.m(d, _), P(d, t, _), c && c.m(d, _), P(d, r, _), g.m(d, _), P(d, n, _), P(d, i, _), T(i, s), T(s, o), T(i, a), y && y.m(i, null), T(i, l), S && S.m(i, null), u || (h = Te(
4120
+ f && f.m(d, _), O(d, t, _), c && c.m(d, _), O(d, r, _), g.m(d, _), O(d, n, _), O(d, i, _), A(i, s), A(s, o), A(i, a), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = Ee(
4125
4121
  s,
4126
4122
  "click",
4127
4123
  /*detailsAction*/
@@ -4130,22 +4126,22 @@ function Et(e) {
4130
4126
  },
4131
4127
  p(d, _) {
4132
4128
  /*status*/
4133
- d[0] ? f ? f.p(d, _) : (f = xt(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4134
- d[6] == "true" ? c ? c.p(d, _) : (c = St(d), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null), E === (E = x(d)) && g ? g.p(d, _) : (g.d(1), g = E(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4129
+ d[0] ? f ? f.p(d, _) : (f = Et(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4130
+ d[6] == "true" ? c ? c.p(d, _) : (c = St(d), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null), x === (x = E(d)) && g ? g.p(d, _) : (g.d(1), g = x(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4135
4131
  2 && F(
4136
4132
  o,
4137
4133
  /*title*/
4138
4134
  d[1]
4139
4135
  ), /*startdate*/
4140
4136
  d[2] ? y ? y.p(d, _) : (y = At(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4141
- d[11] ? S ? S.p(d, _) : (S = Ht(d), S.c(), S.m(i, null)) : S && (S.d(1), S = null);
4137
+ d[11] ? T ? T.p(d, _) : (T = Ht(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4142
4138
  },
4143
4139
  d(d) {
4144
- d && (N(t), N(r), N(n), N(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), S && S.d(), u = !1, h();
4140
+ d && (N(t), N(r), N(n), N(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4145
4141
  }
4146
4142
  };
4147
4143
  }
4148
- function xt(e) {
4144
+ function Et(e) {
4149
4145
  let t, r, n, i, s, o;
4150
4146
  return {
4151
4147
  c() {
@@ -4157,7 +4153,7 @@ function xt(e) {
4157
4153
  e[14]);
4158
4154
  },
4159
4155
  m(a, l) {
4160
- P(a, t, l), T(t, r), s || (o = be(
4156
+ O(a, t, l), A(t, r), s || (o = de(
4161
4157
  /*matchStatus*/
4162
4158
  e[17].call(null, t)
4163
4159
  ), s = !0);
@@ -4189,7 +4185,7 @@ function St(e) {
4189
4185
  r && r.c(), t = br();
4190
4186
  },
4191
4187
  m(n, i) {
4192
- r && r.m(n, i), P(n, t, i);
4188
+ r && r.m(n, i), O(n, t, i);
4193
4189
  },
4194
4190
  p(n, i) {
4195
4191
  /*userenrolled*/
@@ -4210,7 +4206,7 @@ function Tt(e) {
4210
4206
  t = w("div"), n = D(r), b(t, "class", "Enrolled"), b(t, "part", "Enrolled");
4211
4207
  },
4212
4208
  m(i, s) {
4213
- P(i, t, s), T(t, n);
4209
+ O(i, t, s), A(t, n);
4214
4210
  },
4215
4211
  p(i, s) {
4216
4212
  s[0] & /*$_*/
@@ -4222,23 +4218,23 @@ function Tt(e) {
4222
4218
  }
4223
4219
  };
4224
4220
  }
4225
- function Bi(e) {
4221
+ function Ci(e) {
4226
4222
  let t, r, n, i, s, o, a;
4227
4223
  return {
4228
4224
  c() {
4229
- t = w("div"), r = w("ui-image"), Ge(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4225
+ t = w("div"), r = w("ui-image"), Ue(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4230
4226
  (e[0] == "Closing" || /*status*/
4231
4227
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4232
4228
  (e[0] == "Closing" || /*status*/
4233
4229
  e[0] == "Closed" ? "CardImgFinished" : ""));
4234
4230
  },
4235
4231
  m(l, u) {
4236
- P(l, t, u), T(t, r), o || (a = [
4237
- be(
4232
+ O(l, t, u), A(t, r), o || (a = [
4233
+ de(
4238
4234
  /*matchStatus*/
4239
4235
  e[17].call(null, t)
4240
4236
  ),
4241
- Te(
4237
+ Ee(
4242
4238
  t,
4243
4239
  "click",
4244
4240
  /*detailsAction*/
@@ -4256,28 +4252,28 @@ function Bi(e) {
4256
4252
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4257
4253
  },
4258
4254
  d(l) {
4259
- l && N(t), o = !1, J(a);
4255
+ l && N(t), o = !1, V(a);
4260
4256
  }
4261
4257
  };
4262
4258
  }
4263
- function wi(e) {
4259
+ function Bi(e) {
4264
4260
  let t, r, n, i, s, o, a;
4265
4261
  return {
4266
4262
  c() {
4267
- t = w("div"), r = w("ui-image"), K(r, "class", "UIImage"), Ge(r.src, n = /*thumbnail*/
4268
- e[3]) || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4263
+ t = w("div"), r = w("ui-image"), Y(r, "class", "UIImage"), Ue(r.src, n = /*thumbnail*/
4264
+ e[3]) || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4269
4265
  (e[0] == "Closing" || /*status*/
4270
4266
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4271
4267
  (e[0] == "Closing" || /*status*/
4272
4268
  e[0] == "Closed" ? "CardImgFinished" : ""));
4273
4269
  },
4274
4270
  m(l, u) {
4275
- P(l, t, u), T(t, r), o || (a = [
4276
- be(
4271
+ O(l, t, u), A(t, r), o || (a = [
4272
+ de(
4277
4273
  /*matchStatus*/
4278
4274
  e[17].call(null, t)
4279
4275
  ),
4280
- Te(
4276
+ Ee(
4281
4277
  t,
4282
4278
  "click",
4283
4279
  /*detailsAction*/
@@ -4287,8 +4283,8 @@ function wi(e) {
4287
4283
  },
4288
4284
  p(l, u) {
4289
4285
  u[0] & /*thumbnail*/
4290
- 8 && !Ge(r.src, n = /*thumbnail*/
4291
- l[3]) && K(r, "src", n), u[0] & /*status*/
4286
+ 8 && !Ue(r.src, n = /*thumbnail*/
4287
+ l[3]) && Y(r, "src", n), u[0] & /*status*/
4292
4288
  1 && i !== (i = "CardImg " + /*status*/
4293
4289
  (l[0] == "Closing" || /*status*/
4294
4290
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
@@ -4297,7 +4293,7 @@ function wi(e) {
4297
4293
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4298
4294
  },
4299
4295
  d(l) {
4300
- l && N(t), o = !1, J(a);
4296
+ l && N(t), o = !1, V(a);
4301
4297
  }
4302
4298
  };
4303
4299
  }
@@ -4311,7 +4307,7 @@ function At(e) {
4311
4307
  ), b(t, "class", "Date"), b(t, "part", "Date");
4312
4308
  },
4313
4309
  m(o, a) {
4314
- P(o, t, a), T(t, r), i || (s = be(n = /*formatDate*/
4310
+ O(o, t, a), A(t, r), i || (s = de(n = /*formatDate*/
4315
4311
  e[16].call(
4316
4312
  null,
4317
4313
  t,
@@ -4325,7 +4321,7 @@ function At(e) {
4325
4321
  r,
4326
4322
  /*shownDate*/
4327
4323
  o[10]
4328
- ), n && de(n.update) && a[0] & /*startdate*/
4324
+ ), n && me(n.update) && a[0] & /*startdate*/
4329
4325
  4 && n.update.call(
4330
4326
  null,
4331
4327
  /*startdate*/
@@ -4344,13 +4340,13 @@ function Ht(e) {
4344
4340
  ), i, s, o, a, l, u = (
4345
4341
  /*$_*/
4346
4342
  e[15]("minbet") + ""
4347
- ), h, f, c, x, E, g, y, S = (
4343
+ ), h, f, c, E, x, g, y, T = (
4348
4344
  /*$_*/
4349
4345
  e[15]("seegames") + ""
4350
- ), d, _, B, M = (
4346
+ ), d, _, B, P = (
4351
4347
  /*$_*/
4352
4348
  e[15]("here") + ""
4353
- ), k, L, X, z;
4349
+ ), k, L, W, J;
4354
4350
  return {
4355
4351
  c() {
4356
4352
  t = w("div"), r = w("p"), i = D(n), s = D(`:
@@ -4362,7 +4358,7 @@ function Ht(e) {
4362
4358
  (`), h = D(u), f = G(), c = D(
4363
4359
  /*minbetcount*/
4364
4360
  e[5]
4365
- ), x = D(")"), E = G(), g = w("div"), y = w("p"), d = D(S), _ = G(), B = w("a"), k = D(M), b(o, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4361
+ ), E = D(")"), x = G(), g = w("div"), y = w("p"), d = D(T), _ = G(), B = w("a"), k = D(P), b(o, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4366
4362
  B,
4367
4363
  "href",
4368
4364
  /*gameurl*/
@@ -4370,61 +4366,61 @@ function Ht(e) {
4370
4366
  ), b(B, "target", L = /*keepbrowsercontext*/
4371
4367
  e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4372
4368
  },
4373
- m(I, O) {
4374
- P(I, t, O), T(t, r), T(r, i), T(r, s), T(r, o), T(o, a), T(r, l), T(r, h), T(r, f), T(r, c), T(r, x), P(I, E, O), P(I, g, O), T(g, y), T(y, d), T(y, _), T(y, B), T(B, k), X || (z = [
4375
- be(
4369
+ m(I, M) {
4370
+ O(I, t, M), A(t, r), A(r, i), A(r, s), A(r, o), A(o, a), A(r, l), A(r, h), A(r, f), A(r, c), A(r, E), O(I, x, M), O(I, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), W || (J = [
4371
+ de(
4376
4372
  /*matchScoreCriteria*/
4377
4373
  e[18].call(null, o)
4378
4374
  ),
4379
- Te(
4375
+ Ee(
4380
4376
  B,
4381
4377
  "click",
4382
4378
  /*tournamentGamesClicked*/
4383
4379
  e[19]
4384
4380
  )
4385
- ], X = !0);
4381
+ ], W = !0);
4386
4382
  },
4387
- p(I, O) {
4388
- O[0] & /*$_*/
4383
+ p(I, M) {
4384
+ M[0] & /*$_*/
4389
4385
  32768 && n !== (n = /*$_*/
4390
- I[15]("scoreCriteria") + "") && F(i, n), O[0] & /*showScoreCriteria*/
4386
+ I[15]("scoreCriteria") + "") && F(i, n), M[0] & /*showScoreCriteria*/
4391
4387
  8192 && F(
4392
4388
  a,
4393
4389
  /*showScoreCriteria*/
4394
4390
  I[13]
4395
- ), O[0] & /*$_*/
4391
+ ), M[0] & /*$_*/
4396
4392
  32768 && u !== (u = /*$_*/
4397
- I[15]("minbet") + "") && F(h, u), O[0] & /*minbetcount*/
4393
+ I[15]("minbet") + "") && F(h, u), M[0] & /*minbetcount*/
4398
4394
  32 && F(
4399
4395
  c,
4400
4396
  /*minbetcount*/
4401
4397
  I[5]
4402
- ), O[0] & /*$_*/
4403
- 32768 && S !== (S = /*$_*/
4404
- I[15]("seegames") + "") && F(d, S), O[0] & /*$_*/
4405
- 32768 && M !== (M = /*$_*/
4406
- I[15]("here") + "") && F(k, M), O[0] & /*gameurl*/
4398
+ ), M[0] & /*$_*/
4399
+ 32768 && T !== (T = /*$_*/
4400
+ I[15]("seegames") + "") && F(d, T), M[0] & /*$_*/
4401
+ 32768 && P !== (P = /*$_*/
4402
+ I[15]("here") + "") && F(k, P), M[0] & /*gameurl*/
4407
4403
  128 && b(
4408
4404
  B,
4409
4405
  "href",
4410
4406
  /*gameurl*/
4411
4407
  I[7]
4412
- ), O[0] & /*keepbrowsercontext*/
4408
+ ), M[0] & /*keepbrowsercontext*/
4413
4409
  256 && L !== (L = /*keepbrowsercontext*/
4414
4410
  I[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4415
4411
  },
4416
4412
  d(I) {
4417
- I && (N(t), N(E), N(g)), X = !1, J(z);
4413
+ I && (N(t), N(x), N(g)), W = !1, V(J);
4418
4414
  }
4419
4415
  };
4420
4416
  }
4421
- function Ii(e) {
4417
+ function wi(e) {
4422
4418
  let t, r, n, i = (
4423
4419
  /*title*/
4424
4420
  e[1] === "undefined" && vt()
4425
4421
  ), s = (
4426
4422
  /*title*/
4427
- e[1] !== "undefined" && Et(e)
4423
+ e[1] !== "undefined" && xt(e)
4428
4424
  );
4429
4425
  return {
4430
4426
  c() {
@@ -4432,12 +4428,12 @@ function Ii(e) {
4432
4428
  e[1] === "undefined" ? "Loading" : ""}`), b(t, "part", "Thumbnail");
4433
4429
  },
4434
4430
  m(o, a) {
4435
- P(o, t, a), i && i.m(t, null), T(t, r), s && s.m(t, null), e[31](t);
4431
+ O(o, t, a), i && i.m(t, null), A(t, r), s && s.m(t, null), e[31](t);
4436
4432
  },
4437
4433
  p(o, a) {
4438
4434
  /*title*/
4439
4435
  o[1] === "undefined" ? i || (i = vt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4440
- o[1] !== "undefined" ? s ? s.p(o, a) : (s = Et(o), s.c(), s.m(t, null)) : s && (s.d(1), s = null), a[0] & /*title*/
4436
+ o[1] !== "undefined" ? s ? s.p(o, a) : (s = xt(o), s.c(), s.m(t, null)) : s && (s.d(1), s = null), a[0] & /*title*/
4441
4437
  2 && n !== (n = `Thumbnail ${/*title*/
4442
4438
  o[1] === "undefined" ? "Loading" : ""}`) && b(t, "class", n);
4443
4439
  },
@@ -4448,16 +4444,16 @@ function Ii(e) {
4448
4444
  }
4449
4445
  };
4450
4446
  }
4451
- function Ni(e, t, r) {
4447
+ function Ii(e, t, r) {
4452
4448
  let n;
4453
- cr(e, Ei, (m) => r(15, n = m));
4454
- let { session: i = "" } = t, { userid: s = "" } = t, { title: o = "" } = t, { startdate: a = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: x = "" } = t, { showenrolled: E = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: S = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: M = "" } = t, { mbsource: k } = t, L, X = "", z = !1, I = "", O = "", ue = "";
4449
+ cr(e, vi, (m) => r(15, n = m));
4450
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: o = "" } = t, { startdate: a = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: E = "" } = t, { showenrolled: x = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: T = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: P = "" } = t, { mbsource: k } = t, L, W = "", J = !1, I = "", M = "", oe = "";
4455
4451
  xi({ withLocale: "en", translations: {} });
4456
4452
  const tr = () => {
4457
- fetch(M).then((m) => m.json()).then((m) => {
4458
- Object.keys(m).forEach((Z) => {
4459
- yt(Z, m[Z]);
4460
- }), a && Pe();
4453
+ fetch(P).then((m) => m.json()).then((m) => {
4454
+ Object.keys(m).forEach((X) => {
4455
+ yt(X, m[X]);
4456
+ }), a && Ne();
4461
4457
  }).catch((m) => {
4462
4458
  console.log(m);
4463
4459
  });
@@ -4466,20 +4462,20 @@ function Ni(e, t, r) {
4466
4462
  yt(m, _t[m]);
4467
4463
  });
4468
4464
  const rt = (m) => {
4469
- m.data && (m.data && m.data.type == "SessionID" && r(11, z = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4470
- }, Ie = () => {
4465
+ m.data && (m.data && m.data.type == "SessionID" && r(11, J = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4466
+ }, Be = () => {
4471
4467
  const m = { month: "long" };
4472
- let Z = new Date(a), ar = new Intl.DateTimeFormat("en", m).format(Z), or = Z.getDate(), ur = Z.toLocaleString("en-GB", {
4468
+ let X = new Date(a), ar = new Intl.DateTimeFormat("en", m).format(X), or = X.getDate(), ur = X.toLocaleString("en-GB", {
4473
4469
  hour: "numeric",
4474
4470
  minute: "numeric",
4475
4471
  hour12: !1
4476
4472
  });
4477
4473
  const lr = () => n(l === "Running" ? "startedAt" : "startingAt");
4478
- r(10, X = `${or} ` + n(`${ar}`) + ", " + lr() + ` ${ur}`);
4479
- }, Ne = () => {
4480
- l == "Unstarted" && (r(12, I = n("scheduled")), r(14, ue = "StatusUnstarted")), l == "Running" && (r(12, I = n("ongoing")), r(14, ue = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, I = n("finished")), l == "Closed" && r(14, ue = "StatusClosed"), l == "Closing" && r(14, ue = "StatusClosing");
4481
- }, Oe = () => {
4482
- c == "BetCount" && r(13, O = n("betCount")), c == "MaxWinStakeRatio" && r(13, O = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, O = n("winStakeRatio")), c == "Stake" && r(13, O = n("stake"));
4474
+ r(10, W = `${or} ` + n(`${ar}`) + ", " + lr() + ` ${ur}`);
4475
+ }, we = () => {
4476
+ l == "Unstarted" && (r(12, I = n("scheduled")), r(14, oe = "StatusUnstarted")), l == "Running" && (r(12, I = n("ongoing")), r(14, oe = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, I = n("finished")), l == "Closed" && r(14, oe = "StatusClosed"), l == "Closing" && r(14, oe = "StatusClosing");
4477
+ }, Ie = () => {
4478
+ c == "BetCount" && r(13, M = n("betCount")), c == "MaxWinStakeRatio" && r(13, M = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, M = n("winStakeRatio")), c == "Stake" && r(13, M = n("stake"));
4483
4479
  }, rr = () => {
4484
4480
  window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4485
4481
  }, nr = () => {
@@ -4492,52 +4488,52 @@ function Ni(e, t, r) {
4492
4488
  window.location.href
4493
4489
  );
4494
4490
  }, ir = () => {
4495
- i.length > 0 && i != "false" ? r(11, z = !0) : r(11, z = !1);
4491
+ i.length > 0 && i != "false" ? r(11, J = !0) : r(11, J = !1);
4496
4492
  };
4497
- _r(() => (setTimeout(() => Pe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4493
+ _r(() => (setTimeout(() => Ne(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4498
4494
  window.removeEventListener("message", rt);
4499
4495
  }));
4500
- const Pe = () => {
4501
- Si(S), Oe(), Ne(), a && Ie();
4496
+ const Ne = () => {
4497
+ Ei(T), Ie(), we(), a && Be();
4502
4498
  };
4503
4499
  function sr(m) {
4504
- $e[m ? "unshift" : "push"](() => {
4500
+ Fe[m ? "unshift" : "push"](() => {
4505
4501
  L = m, r(9, L);
4506
4502
  });
4507
4503
  }
4508
4504
  return e.$$set = (m) => {
4509
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, o = m.title), "startdate" in m && r(2, a = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(24, c = m.scorecriteria), "minbetcount" in m && r(5, x = m.minbetcount), "showenrolled" in m && r(6, E = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, S = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, M = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4505
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, o = m.title), "startdate" in m && r(2, a = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(24, c = m.scorecriteria), "minbetcount" in m && r(5, E = m.minbetcount), "showenrolled" in m && r(6, x = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, T = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, P = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4510
4506
  }, e.$$.update = () => {
4511
4507
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4512
- 134218240 && _ && L && Ti(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4513
- 268435968 && B && L && Ai(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4514
- 1073742336 && k && L && Hi(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4515
- 536870912 && M && tr(), e.$$.dirty[0] & /*session*/
4508
+ 134218240 && _ && L && Si(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4509
+ 268435968 && B && L && Ti(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4510
+ 1073742336 && k && L && Ai(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4511
+ 536870912 && P && tr(), e.$$.dirty[0] & /*session*/
4516
4512
  2097152 && i && ir(), e.$$.dirty[0] & /*status*/
4517
- 1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4518
- 67108866 && o && S && Pe(), e.$$.dirty[0] & /*startdate*/
4519
- 4 && a && Ie(), e.$$.dirty[0] & /*scorecriteria*/
4520
- 16777216 && c && Oe();
4513
+ 1 && l && we(), e.$$.dirty[0] & /*title, lang*/
4514
+ 67108866 && o && T && Ne(), e.$$.dirty[0] & /*startdate*/
4515
+ 4 && a && Be(), e.$$.dirty[0] & /*scorecriteria*/
4516
+ 16777216 && c && Ie();
4521
4517
  }, [
4522
4518
  l,
4523
4519
  o,
4524
4520
  a,
4525
4521
  h,
4526
4522
  f,
4527
- x,
4528
4523
  E,
4524
+ x,
4529
4525
  y,
4530
4526
  d,
4531
4527
  L,
4532
- X,
4533
- z,
4528
+ W,
4529
+ J,
4534
4530
  I,
4535
- O,
4536
- ue,
4531
+ M,
4532
+ oe,
4537
4533
  n,
4534
+ Be,
4535
+ we,
4538
4536
  Ie,
4539
- Ne,
4540
- Oe,
4541
4537
  rr,
4542
4538
  nr,
4543
4539
  i,
@@ -4545,21 +4541,21 @@ function Ni(e, t, r) {
4545
4541
  u,
4546
4542
  c,
4547
4543
  g,
4548
- S,
4544
+ T,
4549
4545
  _,
4550
4546
  B,
4551
- M,
4547
+ P,
4552
4548
  k,
4553
4549
  sr
4554
4550
  ];
4555
4551
  }
4556
- class Oi extends Nr {
4552
+ class Ni extends Nr {
4557
4553
  constructor(t) {
4558
4554
  super(), wr(
4559
4555
  this,
4560
4556
  t,
4561
- Ni,
4562
4557
  Ii,
4558
+ wi,
4563
4559
  Bt,
4564
4560
  {
4565
4561
  session: 21,
@@ -4582,7 +4578,7 @@ class Oi extends Nr {
4582
4578
  translationurl: 29,
4583
4579
  mbsource: 30
4584
4580
  },
4585
- Ci,
4581
+ Hi,
4586
4582
  [-1, -1]
4587
4583
  );
4588
4584
  }
@@ -4701,7 +4697,7 @@ class Oi extends Nr {
4701
4697
  this.$$set({ mbsource: t }), C();
4702
4698
  }
4703
4699
  }
4704
- Ir(Oi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4700
+ Ir(Ni, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4705
4701
  export {
4706
- Oi as C
4702
+ Ni as C
4707
4703
  };