@everymatrix/casino-tournaments-thumbnail-controller 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 (48) hide show
  1. package/components/{CasinoTournamentsThumbnail-BuZW0nlv.js → CasinoTournamentsThumbnail-BNFnuGMK.js} +703 -671
  2. package/components/CasinoTournamentsThumbnail-CC6W_7nr.cjs +19 -0
  3. package/components/{CasinoTournamentsThumbnail-Yoenut6t.js → CasinoTournamentsThumbnail-DTJaYXKz.js} +703 -671
  4. package/components/CasinoTournamentsThumbnailController-BaDsCbmq.cjs +3 -0
  5. package/components/{CasinoTournamentsThumbnailController-DCSHjvNX.js → CasinoTournamentsThumbnailController-Di2eOUsv.js} +269 -318
  6. package/components/{CasinoTournamentsThumbnailController-DtxaX7Pq.js → CasinoTournamentsThumbnailController-DlKkyYIR.js} +214 -263
  7. package/components/{CasinoTournamentsThumbnailDuration-B5cbIu3r.js → CasinoTournamentsThumbnailDuration-CUoZeWZN.js} +65 -65
  8. package/components/{CasinoTournamentsThumbnailDuration-B4SJED7Z.cjs → CasinoTournamentsThumbnailDuration-DVBpvtqY.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-CcNSHOsW.js → CasinoTournamentsThumbnailDuration-Etzp9L5H.js} +65 -65
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-zUhvTmRr.js → CasinoTournamentsThumbnailGamesSlider-5SN4kM5f.js} +87 -87
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-Dxiw6umw.cjs → CasinoTournamentsThumbnailGamesSlider-Bg0505Nt.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-DrXENK0t.js → CasinoTournamentsThumbnailGamesSlider-De4PwIIk.js} +87 -87
  13. package/components/{CasinoTournamentsThumbnailPrizes-CvuHc7EG.cjs → CasinoTournamentsThumbnailPrizes-BAw07XBt.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-C1jC8hb9.js → CasinoTournamentsThumbnailPrizes-Bl7CKHW4.js} +85 -85
  15. package/components/{CasinoTournamentsThumbnailPrizes-Ou-4VP7n.js → CasinoTournamentsThumbnailPrizes-vOCpM-mc.js} +85 -85
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  21. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  22. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  23. package/stencil/index-b2193545-CF9C6kiu.cjs +1 -0
  24. package/stencil/index-b2193545-OH6E7v51.js +519 -0
  25. package/stencil/index-b2193545-eoIiLcDl.js +503 -0
  26. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  27. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  28. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  29. package/stencil/{ui-image-CGQNKTif.js → ui-image-CuqYoTW7.js} +1 -1
  30. package/stencil/{ui-image-D4MrqmCW.js → ui-image-xymWfIBJ.js} +1 -1
  31. package/stencil/{ui-image-CYCsgzdt.cjs → ui-image-zZU_KZOy.cjs} +1 -1
  32. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  33. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  34. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  35. package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-C73UqtBQ.js} +2 -2
  36. package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-Caiy-FEL.cjs} +1 -1
  37. package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-CzV3R1-p.js} +2 -2
  38. package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-C9l5j8aK.cjs} +1 -1
  39. package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-CLOd38Ia.js} +1 -1
  40. package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-SCby2j53.js} +1 -1
  41. package/components/CasinoTournamentsThumbnail-KALilSPV.cjs +0 -6
  42. package/components/CasinoTournamentsThumbnailController-B8QKjLqP.cjs +0 -16
  43. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  44. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  45. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  46. package/stencil/index-b2193545-BS7xFIk4.js +0 -503
  47. package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
  48. 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 wt(e) {
@@ -8,18 +8,18 @@ function wt(e) {
8
8
  function it() {
9
9
  return /* @__PURE__ */ Object.create(null);
10
10
  }
11
- function z(e) {
11
+ function V(e) {
12
12
  e.forEach(wt);
13
13
  }
14
- function be(e) {
14
+ function de(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 pe;
21
- function $e(e, t) {
22
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
20
+ let ge;
21
+ function Fe(e, t) {
22
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
23
23
  }
24
24
  function fr(e) {
25
25
  return Object.keys(e).length === 0;
@@ -36,10 +36,10 @@ function It(e, ...t) {
36
36
  function mr(e, t, r) {
37
37
  e.$$.on_destroy.push(It(t, r));
38
38
  }
39
- function ge(e) {
40
- return e && be(e.destroy) ? e.destroy : U;
39
+ function be(e) {
40
+ return e && de(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 dr(e, t, r) {
@@ -60,26 +60,26 @@ function br(e) {
60
60
  ) : e.ownerDocument;
61
61
  }
62
62
  function gr(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 I(e) {
73
73
  e.parentNode && e.parentNode.removeChild(e);
74
74
  }
75
- function Di(e, t) {
75
+ function Ri(e, t) {
76
76
  for (let r = 0; r < e.length; r += 1)
77
77
  e[r] && e[r].d(t);
78
78
  }
79
79
  function w(e) {
80
80
  return document.createElement(e);
81
81
  }
82
- function ki(e) {
82
+ function Di(e) {
83
83
  return document.createElementNS("http://www.w3.org/2000/svg", e);
84
84
  }
85
85
  function D(e) {
@@ -91,13 +91,13 @@ function G() {
91
91
  function pr() {
92
92
  return D("");
93
93
  }
94
- function te(e, t, r, n) {
94
+ function ee(e, t, r, n) {
95
95
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
96
96
  }
97
97
  function b(e, t, r) {
98
98
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
99
99
  }
100
- function K(e, t, r) {
100
+ function Y(e, t, r) {
101
101
  const n = t.toLowerCase();
102
102
  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);
103
103
  }
@@ -108,22 +108,22 @@ function F(e, t) {
108
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
109
  t);
110
110
  }
111
- function Ui(e, t, r, n) {
111
+ function ki(e, t, r, n) {
112
112
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
113
113
  }
114
- let ye;
114
+ let pe;
115
115
  function _r() {
116
- if (ye === void 0) {
117
- ye = !1;
116
+ if (pe === void 0) {
117
+ pe = !1;
118
118
  try {
119
119
  typeof window < "u" && window.parent && window.parent.document;
120
120
  } catch {
121
- ye = !0;
121
+ pe = !0;
122
122
  }
123
123
  }
124
- return ye;
124
+ return pe;
125
125
  }
126
- function Fi(e, t) {
126
+ function Ui(e, t) {
127
127
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
128
128
  const n = w("iframe");
129
129
  n.setAttribute(
@@ -132,7 +132,7 @@ function Fi(e, t) {
132
132
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
133
133
  const i = _r();
134
134
  let s;
135
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = te(
135
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ee(
136
136
  window,
137
137
  "message",
138
138
  /** @param {MessageEvent} event */
@@ -140,12 +140,12 @@ function Fi(e, t) {
140
140
  a.source === n.contentWindow && t();
141
141
  }
142
142
  )) : (n.src = "about:blank", n.onload = () => {
143
- s = te(n.contentWindow, "resize", t), t();
144
- }), T(e, n), () => {
143
+ s = ee(n.contentWindow, "resize", t), t();
144
+ }), A(e, n), () => {
145
145
  (i || s && n.contentWindow) && s(), I(n);
146
146
  };
147
147
  }
148
- function Gi(e, t, r) {
148
+ function Fi(e, t, r) {
149
149
  e.classList.toggle(t, !!r);
150
150
  }
151
151
  function vr(e) {
@@ -157,90 +157,90 @@ function vr(e) {
157
157
  }
158
158
  ), t;
159
159
  }
160
- let fe;
161
- function ce(e) {
162
- fe = e;
160
+ let ce;
161
+ function he(e) {
162
+ ce = e;
163
163
  }
164
- function Er() {
165
- if (!fe)
164
+ function xr() {
165
+ if (!ce)
166
166
  throw new Error("Function called outside component initialization");
167
- return fe;
167
+ return ce;
168
168
  }
169
- function xr(e) {
170
- Er().$$.on_mount.push(e);
169
+ function Er(e) {
170
+ xr().$$.on_mount.push(e);
171
171
  }
172
- const Y = [], je = [];
173
- let ee = [];
172
+ const Q = [], Ge = [];
173
+ let K = [];
174
174
  const st = [], Sr = /* @__PURE__ */ Promise.resolve();
175
- let Ve = !1;
175
+ let $e = !1;
176
176
  function Tr() {
177
- Ve || (Ve = !0, Sr.then(C));
177
+ $e || ($e = !0, Sr.then(C));
178
178
  }
179
- function ze(e) {
180
- ee.push(e);
179
+ function je(e) {
180
+ K.push(e);
181
181
  }
182
- const Le = /* @__PURE__ */ new Set();
183
- let q = 0;
182
+ const Oe = /* @__PURE__ */ new Set();
183
+ let Z = 0;
184
184
  function C() {
185
- if (q !== 0)
185
+ if (Z !== 0)
186
186
  return;
187
- const e = fe;
187
+ const e = ce;
188
188
  do {
189
189
  try {
190
- for (; q < Y.length; ) {
191
- const t = Y[q];
192
- q++, ce(t), Ar(t.$$);
190
+ for (; Z < Q.length; ) {
191
+ const t = Q[Z];
192
+ Z++, he(t), Ar(t.$$);
193
193
  }
194
194
  } catch (t) {
195
- throw Y.length = 0, q = 0, t;
195
+ throw Q.length = 0, Z = 0, t;
196
196
  }
197
- for (ce(null), Y.length = 0, q = 0; je.length; )
198
- je.pop()();
199
- for (let t = 0; t < ee.length; t += 1) {
200
- const r = ee[t];
201
- Le.has(r) || (Le.add(r), r());
197
+ for (he(null), Q.length = 0, Z = 0; Ge.length; )
198
+ Ge.pop()();
199
+ for (let t = 0; t < K.length; t += 1) {
200
+ const r = K[t];
201
+ Oe.has(r) || (Oe.add(r), r());
202
202
  }
203
- ee.length = 0;
204
- } while (Y.length);
203
+ K.length = 0;
204
+ } while (Q.length);
205
205
  for (; st.length; )
206
206
  st.pop()();
207
- Ve = !1, Le.clear(), ce(e);
207
+ $e = !1, Oe.clear(), he(e);
208
208
  }
209
209
  function Ar(e) {
210
210
  if (e.fragment !== null) {
211
- e.update(), z(e.before_update);
211
+ e.update(), V(e.before_update);
212
212
  const t = e.dirty;
213
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
213
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
214
214
  }
215
215
  }
216
216
  function Hr(e) {
217
217
  const t = [], r = [];
218
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
218
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
219
219
  }
220
220
  const Cr = /* @__PURE__ */ new Set();
221
221
  function wr(e, t) {
222
222
  e && e.i && (Cr.delete(e), e.i(t));
223
223
  }
224
- function $i(e) {
224
+ function Gi(e) {
225
225
  return e?.length !== void 0 ? e : Array.from(e);
226
226
  }
227
227
  function Br(e, t, r) {
228
228
  const { fragment: n, after_update: i } = e.$$;
229
- n && n.m(t, r), ze(() => {
230
- const s = e.$$.on_mount.map(wt).filter(be);
231
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
232
- }), i.forEach(ze);
229
+ n && n.m(t, r), je(() => {
230
+ const s = e.$$.on_mount.map(wt).filter(de);
231
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
232
+ }), i.forEach(je);
233
233
  }
234
234
  function Ir(e, t) {
235
235
  const r = e.$$;
236
- r.fragment !== null && (Hr(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
+ r.fragment !== null && (Hr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
237
237
  }
238
- function Or(e, t) {
239
- e.$$.dirty[0] === -1 && (Y.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
+ function Nr(e, t) {
239
+ e.$$.dirty[0] === -1 && (Q.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
240
  }
241
- function Nr(e, t, r, n, i, s, a = null, o = [-1]) {
242
- const l = fe;
243
- ce(e);
241
+ function Mr(e, t, r, n, i, s, a = null, o = [-1]) {
242
+ const l = ce;
243
+ he(e);
244
244
  const u = e.$$ = {
245
245
  fragment: null,
246
246
  ctx: [],
@@ -264,10 +264,10 @@ function Nr(e, t, r, n, i, s, a = null, o = [-1]) {
264
264
  };
265
265
  a && a(u.root);
266
266
  let h = !1;
267
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
268
- const E = x.length ? x[0] : c;
269
- return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && Or(e, f)), c;
270
- }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
267
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
268
+ const x = E.length ? E[0] : c;
269
+ return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), h && Nr(e, f)), c;
270
+ }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
272
  const f = yr(t.target);
273
273
  u.fragment && u.fragment.l(f), f.forEach(I);
@@ -275,10 +275,10 @@ function Nr(e, t, r, n, i, s, a = null, o = [-1]) {
275
275
  u.fragment && u.fragment.c();
276
276
  t.intro && wr(e.$$.fragment), Br(e, t.target, t.anchor), C();
277
277
  }
278
- ce(l);
278
+ he(l);
279
279
  }
280
- let Ot;
281
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
280
+ let Nt;
281
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
282
282
  /** The Svelte component constructor */
283
283
  $$ctor;
284
284
  /** Slots */
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
327
327
  * @param {HTMLElement} [anchor]
328
328
  */
329
329
  m: function(l, u) {
330
- P(l, s, u);
330
+ O(l, s, u);
331
331
  },
332
332
  d: function(l) {
333
333
  l && I(s);
@@ -342,7 +342,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
342
342
  i in r && (t[i] = [e(i)]);
343
343
  for (const i of this.attributes) {
344
344
  const s = this.$$g_p(i.name);
345
- s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
345
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
346
346
  }
347
347
  for (const i in this.$$p_d)
348
348
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const i in this.$$p_d)
362
362
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
363
- const s = ve(
363
+ const s = _e(
364
364
  i,
365
365
  this.$$d[i],
366
366
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
382
382
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
383
383
  // and setting attributes through setAttribute etc, this is helpful
384
384
  attributeChangedCallback(e, t, r) {
385
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
385
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
395
395
  ) || e;
396
396
  }
397
397
  });
398
- function ve(e, t, r, n) {
398
+ function _e(e, t, r, n) {
399
399
  const i = r[e]?.type;
400
400
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
401
401
  return t;
@@ -424,8 +424,8 @@ function ve(e, t, r, n) {
424
424
  return t;
425
425
  }
426
426
  }
427
- function Pr(e, t, r, n, i, s) {
428
- let a = class extends Ot {
427
+ function Or(e, t, r, n, i, s) {
428
+ let a = class extends Nt {
429
429
  constructor() {
430
430
  super(e, r, i), this.$$p_d = t;
431
431
  }
@@ -441,7 +441,7 @@ function Pr(e, t, r, n, i, s) {
441
441
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
442
442
  },
443
443
  set(l) {
444
- l = ve(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
444
+ l = _e(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
445
445
  }
446
446
  });
447
447
  }), n.forEach((o) => {
@@ -453,7 +453,7 @@ function Pr(e, t, r, n, i, s) {
453
453
  }), e.element = /** @type {any} */
454
454
  a, a;
455
455
  }
456
- class Mr {
456
+ class Pr {
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -481,7 +481,7 @@ class Mr {
481
481
  * @returns {() => void}
482
482
  */
483
483
  $on(t, r) {
484
- if (!be(r))
484
+ if (!de(r))
485
485
  return U;
486
486
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
487
487
  return n.push(r), () => {
@@ -499,24 +499,112 @@ class Mr {
499
499
  }
500
500
  const Lr = "4";
501
501
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
502
- const Q = [];
502
+ /*! *****************************************************************************
503
+ Copyright (c) Microsoft Corporation.
504
+
505
+ Permission to use, copy, modify, and/or distribute this software for any
506
+ purpose with or without fee is hereby granted.
507
+
508
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
509
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
510
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
511
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
512
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
513
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
514
+ PERFORMANCE OF THIS SOFTWARE.
515
+ ***************************************************************************** */
516
+ var Ve = function(e, t) {
517
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
+ r.__proto__ = n;
519
+ } || function(r, n) {
520
+ for (var i in n)
521
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
522
+ }, Ve(e, t);
523
+ };
524
+ function Te(e, t) {
525
+ if (typeof t != "function" && t !== null)
526
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
527
+ Ve(e, t);
528
+ function r() {
529
+ this.constructor = e;
530
+ }
531
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
532
+ }
533
+ var S = function() {
534
+ return S = Object.assign || function(t) {
535
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
536
+ r = arguments[n];
537
+ for (var s in r)
538
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
539
+ }
540
+ return t;
541
+ }, S.apply(this, arguments);
542
+ };
503
543
  function Rr(e, t) {
544
+ var r = {};
545
+ for (var n in e)
546
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
547
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
548
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
549
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
550
+ return r;
551
+ }
552
+ function $i(e) {
553
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
554
+ if (r)
555
+ return r.call(e);
556
+ if (e && typeof e.length == "number")
557
+ return {
558
+ next: function() {
559
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
560
+ }
561
+ };
562
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
563
+ }
564
+ function ji(e, t) {
565
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
566
+ if (!r)
567
+ return e;
568
+ var n = r.call(e), i, s = [], a;
569
+ try {
570
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
571
+ s.push(i.value);
572
+ } catch (o) {
573
+ a = { error: o };
574
+ } finally {
575
+ try {
576
+ i && !i.done && (r = n.return) && r.call(n);
577
+ } finally {
578
+ if (a)
579
+ throw a.error;
580
+ }
581
+ }
582
+ return s;
583
+ }
584
+ function Pe(e, t, r) {
585
+ if (r || arguments.length === 2)
586
+ for (var n = 0, i = t.length, s; n < i; n++)
587
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
588
+ return e.concat(s || t);
589
+ }
590
+ const q = [];
591
+ function Dr(e, t) {
504
592
  return {
505
- subscribe: He(e, t).subscribe
593
+ subscribe: Ae(e, t).subscribe
506
594
  };
507
595
  }
508
- function He(e, t = U) {
596
+ function Ae(e, t = U) {
509
597
  let r;
510
598
  const n = /* @__PURE__ */ new Set();
511
599
  function i(o) {
512
600
  if (Bt(e, o) && (e = o, r)) {
513
- const l = !Q.length;
601
+ const l = !q.length;
514
602
  for (const u of n)
515
- u[1](), Q.push(u, e);
603
+ u[1](), q.push(u, e);
516
604
  if (l) {
517
- for (let u = 0; u < Q.length; u += 2)
518
- Q[u][0](Q[u + 1]);
519
- Q.length = 0;
605
+ for (let u = 0; u < q.length; u += 2)
606
+ q[u][0](q[u + 1]);
607
+ q.length = 0;
520
608
  }
521
609
  }
522
610
  }
@@ -531,12 +619,12 @@ function He(e, t = U) {
531
619
  }
532
620
  return { set: i, update: s, subscribe: a };
533
621
  }
534
- function ae(e, t, r) {
622
+ function se(e, t, r) {
535
623
  const n = !Array.isArray(e), i = n ? [e] : e;
536
624
  if (!i.every(Boolean))
537
625
  throw new Error("derived() expects stores as input, got a falsy value");
538
626
  const s = t.length < 2;
539
- return Rr(r, (a, o) => {
627
+ return Dr(r, (a, o) => {
540
628
  let l = !1;
541
629
  const u = [];
542
630
  let h = 0, f = U;
@@ -544,11 +632,11 @@ function ae(e, t, r) {
544
632
  if (h)
545
633
  return;
546
634
  f();
547
- const E = t(n ? u[0] : u, a, o);
548
- s ? a(E) : f = be(E) ? E : U;
549
- }, x = i.map(
550
- (E, g) => It(
551
- E,
635
+ const x = t(n ? u[0] : u, a, o);
636
+ s ? a(x) : f = de(x) ? x : U;
637
+ }, E = i.map(
638
+ (x, g) => It(
639
+ x,
552
640
  (y) => {
553
641
  u[g] = y, h &= ~(1 << g), l && c();
554
642
  },
@@ -558,128 +646,86 @@ function ae(e, t, r) {
558
646
  )
559
647
  );
560
648
  return l = !0, c(), function() {
561
- z(x), f(), l = !1;
649
+ V(E), f(), l = !1;
562
650
  };
563
651
  });
564
652
  }
565
- function Dr(e) {
653
+ function kr(e) {
566
654
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
567
655
  }
568
- var kr = function(t) {
569
- return Ur(t) && !Fr(t);
656
+ var Ur = function(t) {
657
+ return Fr(t) && !Gr(t);
570
658
  };
571
- function Ur(e) {
659
+ function Fr(e) {
572
660
  return !!e && typeof e == "object";
573
661
  }
574
- function Fr(e) {
662
+ function Gr(e) {
575
663
  var t = Object.prototype.toString.call(e);
576
- return t === "[object RegExp]" || t === "[object Date]" || jr(e);
577
- }
578
- var Gr = typeof Symbol == "function" && Symbol.for, $r = Gr ? Symbol.for("react.element") : 60103;
579
- function jr(e) {
580
- return e.$$typeof === $r;
664
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
581
665
  }
666
+ var $r = typeof Symbol == "function" && Symbol.for, jr = $r ? Symbol.for("react.element") : 60103;
582
667
  function Vr(e) {
668
+ return e.$$typeof === jr;
669
+ }
670
+ function zr(e) {
583
671
  return Array.isArray(e) ? [] : {};
584
672
  }
585
- function me(e, t) {
586
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Vr(e), e, t) : e;
673
+ function fe(e, t) {
674
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(zr(e), e, t) : e;
587
675
  }
588
- function zr(e, t, r) {
676
+ function Jr(e, t, r) {
589
677
  return e.concat(t).map(function(n) {
590
- return me(n, r);
678
+ return fe(n, r);
591
679
  });
592
680
  }
593
- function Jr(e, t) {
681
+ function Wr(e, t) {
594
682
  if (!t.customMerge)
595
- return re;
683
+ return te;
596
684
  var r = t.customMerge(e);
597
- return typeof r == "function" ? r : re;
685
+ return typeof r == "function" ? r : te;
598
686
  }
599
- function Wr(e) {
687
+ function Xr(e) {
600
688
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
601
689
  return Object.propertyIsEnumerable.call(e, t);
602
690
  }) : [];
603
691
  }
604
692
  function at(e) {
605
- return Object.keys(e).concat(Wr(e));
693
+ return Object.keys(e).concat(Xr(e));
606
694
  }
607
- function Nt(e, t) {
695
+ function Mt(e, t) {
608
696
  try {
609
697
  return t in e;
610
698
  } catch {
611
699
  return !1;
612
700
  }
613
701
  }
614
- function Xr(e, t) {
615
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
702
+ function Zr(e, t) {
703
+ return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
616
704
  }
617
- function Zr(e, t, r) {
705
+ function qr(e, t, r) {
618
706
  var n = {};
619
707
  return r.isMergeableObject(e) && at(e).forEach(function(i) {
620
- n[i] = me(e[i], r);
708
+ n[i] = fe(e[i], r);
621
709
  }), at(t).forEach(function(i) {
622
- Xr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
710
+ Zr(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Wr(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
623
711
  }), n;
624
712
  }
625
- function re(e, t, r) {
626
- r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = me;
713
+ function te(e, t, r) {
714
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || Ur, r.cloneUnlessOtherwiseSpecified = fe;
627
715
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
628
- return s ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : me(t, r);
716
+ return s ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : fe(t, r);
629
717
  }
630
- re.all = function(t, r) {
718
+ te.all = function(t, r) {
631
719
  if (!Array.isArray(t))
632
720
  throw new Error("first argument should be an array");
633
721
  return t.reduce(function(n, i) {
634
- return re(n, i, r);
722
+ return te(n, i, r);
635
723
  }, {});
636
724
  };
637
- var qr = re, Qr = qr;
638
- const Yr = /* @__PURE__ */ Dr(Qr);
639
- var Je = function(e, t) {
640
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
641
- r.__proto__ = n;
642
- } || function(r, n) {
643
- for (var i in n)
644
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
645
- }, Je(e, t);
646
- };
647
- function Ce(e, t) {
648
- if (typeof t != "function" && t !== null)
649
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
650
- Je(e, t);
651
- function r() {
652
- this.constructor = e;
653
- }
654
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
655
- }
656
- var $ = function() {
657
- return $ = Object.assign || function(t) {
658
- for (var r, n = 1, i = arguments.length; n < i; n++) {
659
- r = arguments[n];
660
- for (var s in r)
661
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
662
- }
663
- return t;
664
- }, $.apply(this, arguments);
665
- };
666
- function Kr(e, t) {
667
- var r = {};
668
- for (var n in e)
669
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
670
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
671
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
672
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
673
- return r;
674
- }
675
- function Re(e, t, r) {
676
- if (r || arguments.length === 2)
677
- for (var n = 0, i = t.length, s; n < i; n++)
678
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
679
- return e.concat(s || Array.prototype.slice.call(t));
680
- }
681
- function De(e, t) {
682
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : rn;
725
+ var Qr = te, Yr = Qr;
726
+ const Kr = /* @__PURE__ */ kr(Yr);
727
+ function Le(e, t) {
728
+ var r = t && t.cache ? t.cache : an, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : tn;
683
729
  return i(e, {
684
730
  cache: r,
685
731
  serializer: n
@@ -688,7 +734,7 @@ function De(e, t) {
688
734
  function en(e) {
689
735
  return e == null || typeof e == "number" || typeof e == "boolean";
690
736
  }
691
- function tn(e, t, r, n) {
737
+ function Ot(e, t, r, n) {
692
738
  var i = en(n) ? n : r(n), s = t.get(i);
693
739
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
694
740
  }
@@ -696,95 +742,87 @@ function Pt(e, t, r) {
696
742
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
697
743
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
698
744
  }
699
- function Mt(e, t, r, n, i) {
745
+ function Ke(e, t, r, n, i) {
700
746
  return r.bind(t, e, n, i);
701
747
  }
748
+ function tn(e, t) {
749
+ var r = e.length === 1 ? Ot : Pt;
750
+ return Ke(e, this, r, t.cache.create(), t.serializer);
751
+ }
702
752
  function rn(e, t) {
703
- var r = e.length === 1 ? tn : Pt;
704
- return Mt(e, this, r, t.cache.create(), t.serializer);
753
+ return Ke(e, this, Pt, t.cache.create(), t.serializer);
705
754
  }
706
755
  function nn(e, t) {
707
- return Mt(e, this, Pt, t.cache.create(), t.serializer);
756
+ return Ke(e, this, Ot, t.cache.create(), t.serializer);
708
757
  }
709
758
  var sn = function() {
710
759
  return JSON.stringify(arguments);
711
- }, an = (
712
- /** @class */
713
- function() {
714
- function e() {
715
- this.cache = /* @__PURE__ */ Object.create(null);
716
- }
717
- return e.prototype.get = function(t) {
718
- return this.cache[t];
719
- }, e.prototype.set = function(t, r) {
720
- this.cache[t] = r;
721
- }, e;
722
- }()
723
- ), on = {
760
+ };
761
+ function et() {
762
+ this.cache = /* @__PURE__ */ Object.create(null);
763
+ }
764
+ et.prototype.get = function(e) {
765
+ return this.cache[e];
766
+ };
767
+ et.prototype.set = function(e, t) {
768
+ this.cache[e] = t;
769
+ };
770
+ var an = {
724
771
  create: function() {
725
- return new an();
772
+ return new et();
726
773
  }
727
- }, ke = {
728
- variadic: nn
729
- }, Se = function() {
730
- return Se = Object.assign || function(t) {
731
- for (var r, n = 1, i = arguments.length; n < i; n++) {
732
- r = arguments[n];
733
- for (var s in r)
734
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
735
- }
736
- return t;
737
- }, Se.apply(this, arguments);
738
- };
739
- var p;
774
+ }, Re = {
775
+ variadic: rn,
776
+ monadic: nn
777
+ }, p;
740
778
  (function(e) {
741
779
  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";
742
780
  })(p || (p = {}));
743
- var A;
781
+ var H;
744
782
  (function(e) {
745
783
  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";
746
- })(A || (A = {}));
747
- var ne;
784
+ })(H || (H = {}));
785
+ var re;
748
786
  (function(e) {
749
787
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
750
- })(ne || (ne = {}));
788
+ })(re || (re = {}));
751
789
  function ot(e) {
752
- return e.type === A.literal;
790
+ return e.type === H.literal;
753
791
  }
754
- function un(e) {
755
- return e.type === A.argument;
792
+ function on(e) {
793
+ return e.type === H.argument;
756
794
  }
757
795
  function Lt(e) {
758
- return e.type === A.number;
796
+ return e.type === H.number;
759
797
  }
760
798
  function Rt(e) {
761
- return e.type === A.date;
799
+ return e.type === H.date;
762
800
  }
763
801
  function Dt(e) {
764
- return e.type === A.time;
802
+ return e.type === H.time;
765
803
  }
766
804
  function kt(e) {
767
- return e.type === A.select;
805
+ return e.type === H.select;
768
806
  }
769
807
  function Ut(e) {
770
- return e.type === A.plural;
808
+ return e.type === H.plural;
771
809
  }
772
- function ln(e) {
773
- return e.type === A.pound;
810
+ function un(e) {
811
+ return e.type === H.pound;
774
812
  }
775
813
  function Ft(e) {
776
- return e.type === A.tag;
814
+ return e.type === H.tag;
777
815
  }
778
816
  function Gt(e) {
779
- return !!(e && typeof e == "object" && e.type === ne.number);
817
+ return !!(e && typeof e == "object" && e.type === re.number);
780
818
  }
781
- function We(e) {
782
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
819
+ function ze(e) {
820
+ return !!(e && typeof e == "object" && e.type === re.dateTime);
783
821
  }
784
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
785
- function cn(e) {
822
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ln = /(?:[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;
823
+ function hn(e) {
786
824
  var t = {};
787
- return e.replace(hn, function(r) {
825
+ return e.replace(ln, function(r) {
788
826
  var n = r.length;
789
827
  switch (r[0]) {
790
828
  case "G":
@@ -873,21 +911,11 @@ function cn(e) {
873
911
  return "";
874
912
  }), t;
875
913
  }
876
- var H = function() {
877
- return H = Object.assign || function(t) {
878
- for (var r, n = 1, i = arguments.length; n < i; n++) {
879
- r = arguments[n];
880
- for (var s in r)
881
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
882
- }
883
- return t;
884
- }, H.apply(this, arguments);
885
- };
886
- var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
887
- function mn(e) {
914
+ var cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
915
+ function fn(e) {
888
916
  if (e.length === 0)
889
917
  throw new Error("Number skeleton cannot be empty");
890
- for (var t = e.split(fn).filter(function(c) {
918
+ for (var t = e.split(cn).filter(function(c) {
891
919
  return c.length > 0;
892
920
  }), r = [], n = 0, i = t; n < i.length; n++) {
893
921
  var s = i[n], a = s.split("/");
@@ -902,10 +930,10 @@ function mn(e) {
902
930
  }
903
931
  return r;
904
932
  }
905
- function dn(e) {
933
+ function mn(e) {
906
934
  return e.replace(/^(.*?)-/, "");
907
935
  }
908
- var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
936
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
909
937
  function lt(e) {
910
938
  var t = {};
911
939
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
@@ -952,7 +980,7 @@ function zt(e) {
952
980
  };
953
981
  }
954
982
  }
955
- function gn(e) {
983
+ function bn(e) {
956
984
  var t;
957
985
  if (e[0] === "E" && e[1] === "E" ? (t = {
958
986
  notation: "engineering"
@@ -970,7 +998,7 @@ function ht(e) {
970
998
  var t = {}, r = zt(e);
971
999
  return r || t;
972
1000
  }
973
- function pn(e) {
1001
+ function gn(e) {
974
1002
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
975
1003
  var i = n[r];
976
1004
  switch (i.stem) {
@@ -994,7 +1022,7 @@ function pn(e) {
994
1022
  continue;
995
1023
  case "measure-unit":
996
1024
  case "unit":
997
- t.style = "unit", t.unit = dn(i.options[0]);
1025
+ t.style = "unit", t.unit = mn(i.options[0]);
998
1026
  continue;
999
1027
  case "compact-short":
1000
1028
  case "K":
@@ -1005,13 +1033,13 @@ function pn(e) {
1005
1033
  t.notation = "compact", t.compactDisplay = "long";
1006
1034
  continue;
1007
1035
  case "scientific":
1008
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1009
- return H(H({}, l), ht(u));
1036
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1037
+ return S(S({}, l), ht(u));
1010
1038
  }, {}));
1011
1039
  continue;
1012
1040
  case "engineering":
1013
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1014
- return H(H({}, l), ht(u));
1041
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1042
+ return S(S({}, l), ht(u));
1015
1043
  }, {}));
1016
1044
  continue;
1017
1045
  case "notation-simple":
@@ -1056,13 +1084,13 @@ function pn(e) {
1056
1084
  case "integer-width":
1057
1085
  if (i.options.length > 1)
1058
1086
  throw new RangeError("integer-width stems only accept a single optional option");
1059
- i.options[0].replace(bn, function(l, u, h, f, c, x) {
1087
+ i.options[0].replace(dn, function(l, u, h, f, c, E) {
1060
1088
  if (u)
1061
1089
  t.minimumIntegerDigits = h.length;
1062
1090
  else {
1063
1091
  if (f && c)
1064
1092
  throw new Error("We currently do not support maximum integer digits");
1065
- if (x)
1093
+ if (E)
1066
1094
  throw new Error("We currently do not support exact integer digits");
1067
1095
  }
1068
1096
  return "";
@@ -1076,25 +1104,25 @@ function pn(e) {
1076
1104
  if (ut.test(i.stem)) {
1077
1105
  if (i.options.length > 1)
1078
1106
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1079
- i.stem.replace(ut, function(l, u, h, f, c, x) {
1080
- 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), "";
1107
+ i.stem.replace(ut, function(l, u, h, f, c, E) {
1108
+ 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), "";
1081
1109
  });
1082
1110
  var s = i.options[0];
1083
- s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), lt(s)));
1111
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), lt(s)));
1084
1112
  continue;
1085
1113
  }
1086
1114
  if (jt.test(i.stem)) {
1087
- t = H(H({}, t), lt(i.stem));
1115
+ t = S(S({}, t), lt(i.stem));
1088
1116
  continue;
1089
1117
  }
1090
1118
  var a = zt(i.stem);
1091
- a && (t = H(H({}, t), a));
1092
- var o = gn(i.stem);
1093
- o && (t = H(H({}, t), o));
1119
+ a && (t = S(S({}, t), a));
1120
+ var o = bn(i.stem);
1121
+ o && (t = S(S({}, t), o));
1094
1122
  }
1095
1123
  return t;
1096
1124
  }
1097
- var _e = {
1125
+ var ye = {
1098
1126
  "001": [
1099
1127
  "H",
1100
1128
  "h"
@@ -2509,13 +2537,13 @@ var _e = {
2509
2537
  "h"
2510
2538
  ]
2511
2539
  };
2512
- function yn(e, t) {
2540
+ function pn(e, t) {
2513
2541
  for (var r = "", n = 0; n < e.length; n++) {
2514
2542
  var i = e.charAt(n);
2515
2543
  if (i === "j") {
2516
2544
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2517
2545
  s++, n++;
2518
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = _n(t);
2546
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = yn(t);
2519
2547
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2520
2548
  r += l;
2521
2549
  for (; a-- > 0; )
@@ -2525,7 +2553,7 @@ function yn(e, t) {
2525
2553
  }
2526
2554
  return r;
2527
2555
  }
2528
- function _n(e) {
2556
+ function yn(e) {
2529
2557
  var t = e.hourCycle;
2530
2558
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2531
2559
  e.hourCycles && // @ts-ignore
@@ -2544,21 +2572,21 @@ function _n(e) {
2544
2572
  }
2545
2573
  var r = e.language, n;
2546
2574
  r !== "root" && (n = e.maximize().region);
2547
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
2575
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2548
2576
  return i[0];
2549
2577
  }
2550
- var Ue, vn = new RegExp("^".concat($t.source, "*")), En = new RegExp("".concat($t.source, "*$"));
2578
+ var De, _n = new RegExp("^".concat($t.source, "*")), vn = new RegExp("".concat($t.source, "*$"));
2551
2579
  function v(e, t) {
2552
2580
  return { start: e, end: t };
2553
2581
  }
2554
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Tn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Bn = wn ? Number.isSafeInteger : function(e) {
2582
+ var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, Sn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, wn = Cn ? Number.isSafeInteger : function(e) {
2555
2583
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2556
- }, Xe = !0;
2584
+ }, Je = !0;
2557
2585
  try {
2558
- var In = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2559
- Xe = ((Ue = In.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2586
+ var Bn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
+ Je = ((De = Bn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2560
2588
  } catch {
2561
- Xe = !1;
2589
+ Je = !1;
2562
2590
  }
2563
2591
  var ct = xn ? (
2564
2592
  // Native
@@ -2570,7 +2598,7 @@ var ct = xn ? (
2570
2598
  function(t, r, n) {
2571
2599
  return t.slice(n, n + r.length) === r;
2572
2600
  }
2573
- ), Ze = Sn ? String.fromCodePoint : (
2601
+ ), We = En ? String.fromCodePoint : (
2574
2602
  // IE11
2575
2603
  function() {
2576
2604
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2584,7 +2612,7 @@ var ct = xn ? (
2584
2612
  }
2585
2613
  ), ft = (
2586
2614
  // native
2587
- Tn ? Object.fromEntries : (
2615
+ Sn ? Object.fromEntries : (
2588
2616
  // Ponyfill
2589
2617
  function(t) {
2590
2618
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2594,7 +2622,7 @@ var ct = xn ? (
2594
2622
  return r;
2595
2623
  }
2596
2624
  )
2597
- ), Jt = An ? (
2625
+ ), Jt = Tn ? (
2598
2626
  // Native
2599
2627
  function(t, r) {
2600
2628
  return t.codePointAt(r);
@@ -2608,7 +2636,7 @@ var ct = xn ? (
2608
2636
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2609
2637
  }
2610
2638
  }
2611
- ), On = Hn ? (
2639
+ ), In = An ? (
2612
2640
  // Native
2613
2641
  function(t) {
2614
2642
  return t.trimStart();
@@ -2616,9 +2644,9 @@ var ct = xn ? (
2616
2644
  ) : (
2617
2645
  // Ponyfill
2618
2646
  function(t) {
2619
- return t.replace(vn, "");
2647
+ return t.replace(_n, "");
2620
2648
  }
2621
- ), Nn = Cn ? (
2649
+ ), Nn = Hn ? (
2622
2650
  // Native
2623
2651
  function(t) {
2624
2652
  return t.trimEnd();
@@ -2626,32 +2654,32 @@ var ct = xn ? (
2626
2654
  ) : (
2627
2655
  // Ponyfill
2628
2656
  function(t) {
2629
- return t.replace(En, "");
2657
+ return t.replace(vn, "");
2630
2658
  }
2631
2659
  );
2632
2660
  function Wt(e, t) {
2633
2661
  return new RegExp(e, t);
2634
2662
  }
2635
- var qe;
2636
- if (Xe) {
2663
+ var Xe;
2664
+ if (Je) {
2637
2665
  var mt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2638
- qe = function(t, r) {
2666
+ Xe = function(t, r) {
2639
2667
  var n;
2640
2668
  mt.lastIndex = r;
2641
2669
  var i = mt.exec(t);
2642
2670
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2643
2671
  };
2644
2672
  } else
2645
- qe = function(t, r) {
2673
+ Xe = function(t, r) {
2646
2674
  for (var n = []; ; ) {
2647
2675
  var i = Jt(t, r);
2648
- if (i === void 0 || Xt(i) || Rn(i))
2676
+ if (i === void 0 || Xt(i) || Ln(i))
2649
2677
  break;
2650
2678
  n.push(i), r += i >= 65536 ? 2 : 1;
2651
2679
  }
2652
- return Ze.apply(void 0, n);
2680
+ return We.apply(void 0, n);
2653
2681
  };
2654
- var Pn = (
2682
+ var Mn = (
2655
2683
  /** @class */
2656
2684
  function() {
2657
2685
  function e(t, r) {
@@ -2675,14 +2703,14 @@ var Pn = (
2675
2703
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2676
2704
  var o = this.clonePosition();
2677
2705
  this.bump(), i.push({
2678
- type: A.pound,
2706
+ type: H.pound,
2679
2707
  location: v(o, this.clonePosition())
2680
2708
  });
2681
2709
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2682
2710
  if (n)
2683
2711
  break;
2684
2712
  return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2685
- } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2713
+ } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2686
2714
  var a = this.parseTag(t, r);
2687
2715
  if (a.err)
2688
2716
  return a;
@@ -2703,7 +2731,7 @@ var Pn = (
2703
2731
  if (this.bumpSpace(), this.bumpIf("/>"))
2704
2732
  return {
2705
2733
  val: {
2706
- type: A.literal,
2734
+ type: H.literal,
2707
2735
  value: "<".concat(i, "/>"),
2708
2736
  location: v(n, this.clonePosition())
2709
2737
  },
@@ -2715,12 +2743,12 @@ var Pn = (
2715
2743
  return s;
2716
2744
  var a = s.val, o = this.clonePosition();
2717
2745
  if (this.bumpIf("</")) {
2718
- if (this.isEOF() || !Qe(this.char()))
2746
+ if (this.isEOF() || !Ze(this.char()))
2719
2747
  return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2720
2748
  var l = this.clonePosition(), u = this.parseTagName();
2721
2749
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2722
2750
  val: {
2723
- type: A.tag,
2751
+ type: H.tag,
2724
2752
  value: i,
2725
2753
  children: a,
2726
2754
  location: v(n, this.clonePosition())
@@ -2733,7 +2761,7 @@ var Pn = (
2733
2761
  return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2734
2762
  }, e.prototype.parseTagName = function() {
2735
2763
  var t = this.offset();
2736
- for (this.bump(); !this.isEOF() && Ln(this.char()); )
2764
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
2737
2765
  this.bump();
2738
2766
  return this.message.slice(t, this.offset());
2739
2767
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2757,12 +2785,12 @@ var Pn = (
2757
2785
  }
2758
2786
  var l = v(n, this.clonePosition());
2759
2787
  return {
2760
- val: { type: A.literal, value: i, location: l },
2788
+ val: { type: H.literal, value: i, location: l },
2761
2789
  err: null
2762
2790
  };
2763
2791
  }, e.prototype.tryParseLeftAngleBracket = function() {
2764
2792
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2765
- !Mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2793
+ !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2766
2794
  }, e.prototype.tryParseQuote = function(t) {
2767
2795
  if (this.isEOF() || this.char() !== 39)
2768
2796
  return null;
@@ -2796,12 +2824,12 @@ var Pn = (
2796
2824
  r.push(n);
2797
2825
  this.bump();
2798
2826
  }
2799
- return Ze.apply(void 0, r);
2827
+ return We.apply(void 0, r);
2800
2828
  }, e.prototype.tryParseUnquoted = function(t, r) {
2801
2829
  if (this.isEOF())
2802
2830
  return null;
2803
2831
  var n = this.char();
2804
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2832
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2805
2833
  }, e.prototype.parseArgument = function(t, r) {
2806
2834
  var n = this.clonePosition();
2807
2835
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2817,7 +2845,7 @@ var Pn = (
2817
2845
  case 125:
2818
2846
  return this.bump(), {
2819
2847
  val: {
2820
- type: A.argument,
2848
+ type: H.argument,
2821
2849
  // value does not include the opening and closing braces.
2822
2850
  value: i,
2823
2851
  location: v(n, this.clonePosition())
@@ -2830,7 +2858,7 @@ var Pn = (
2830
2858
  return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2831
2859
  }
2832
2860
  }, e.prototype.parseIdentifierIfPossible = function() {
2833
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2861
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2834
2862
  this.bumpTo(i);
2835
2863
  var s = this.clonePosition(), a = v(t, s);
2836
2864
  return { value: n, location: a };
@@ -2852,32 +2880,32 @@ var Pn = (
2852
2880
  var c = Nn(f.val);
2853
2881
  if (c.length === 0)
2854
2882
  return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2855
- var x = v(h, this.clonePosition());
2856
- u = { style: c, styleLocation: x };
2883
+ var E = v(h, this.clonePosition());
2884
+ u = { style: c, styleLocation: E };
2857
2885
  }
2858
- var E = this.tryParseArgumentClose(i);
2859
- if (E.err)
2860
- return E;
2886
+ var x = this.tryParseArgumentClose(i);
2887
+ if (x.err)
2888
+ return x;
2861
2889
  var g = v(i, this.clonePosition());
2862
2890
  if (u && ct(u?.style, "::", 0)) {
2863
- var y = On(u.style.slice(2));
2891
+ var y = In(u.style.slice(2));
2864
2892
  if (o === "number") {
2865
2893
  var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2866
2894
  return f.err ? f : {
2867
- val: { type: A.number, value: n, location: g, style: f.val },
2895
+ val: { type: H.number, value: n, location: g, style: f.val },
2868
2896
  err: null
2869
2897
  };
2870
2898
  } else {
2871
2899
  if (y.length === 0)
2872
2900
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2873
- var S = y;
2874
- this.locale && (S = yn(y, this.locale));
2901
+ var T = y;
2902
+ this.locale && (T = pn(y, this.locale));
2875
2903
  var c = {
2876
- type: ne.dateTime,
2877
- pattern: S,
2904
+ type: re.dateTime,
2905
+ pattern: T,
2878
2906
  location: u.styleLocation,
2879
- parsedOptions: this.shouldParseSkeletons ? cn(S) : {}
2880
- }, d = o === "date" ? A.date : A.time;
2907
+ parsedOptions: this.shouldParseSkeletons ? hn(T) : {}
2908
+ }, d = o === "date" ? H.date : H.time;
2881
2909
  return {
2882
2910
  val: { type: d, value: n, location: g, style: c },
2883
2911
  err: null
@@ -2886,7 +2914,7 @@ var Pn = (
2886
2914
  }
2887
2915
  return {
2888
2916
  val: {
2889
- type: o === "number" ? A.number : o === "date" ? A.date : A.time,
2917
+ type: o === "number" ? H.number : o === "date" ? H.date : H.time,
2890
2918
  value: n,
2891
2919
  location: g,
2892
2920
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2899,9 +2927,9 @@ var Pn = (
2899
2927
  case "select": {
2900
2928
  var _ = this.clonePosition();
2901
2929
  if (this.bumpSpace(), !this.bumpIf(","))
2902
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Se({}, _)));
2930
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, S({}, _)));
2903
2931
  this.bumpSpace();
2904
- var B = this.parseIdentifierIfPossible(), M = 0;
2932
+ var B = this.parseIdentifierIfPossible(), P = 0;
2905
2933
  if (o !== "select" && B.value === "offset") {
2906
2934
  if (!this.bumpIf(":"))
2907
2935
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -2909,18 +2937,18 @@ var Pn = (
2909
2937
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2910
2938
  if (f.err)
2911
2939
  return f;
2912
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), M = f.val;
2940
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = f.val;
2913
2941
  }
2914
2942
  var k = this.tryParsePluralOrSelectOptions(t, o, r, B);
2915
2943
  if (k.err)
2916
2944
  return k;
2917
- var E = this.tryParseArgumentClose(i);
2918
- if (E.err)
2919
- return E;
2945
+ var x = this.tryParseArgumentClose(i);
2946
+ if (x.err)
2947
+ return x;
2920
2948
  var L = v(i, this.clonePosition());
2921
2949
  return o === "select" ? {
2922
2950
  val: {
2923
- type: A.select,
2951
+ type: H.select,
2924
2952
  value: n,
2925
2953
  options: ft(k.val),
2926
2954
  location: L
@@ -2928,10 +2956,10 @@ var Pn = (
2928
2956
  err: null
2929
2957
  } : {
2930
2958
  val: {
2931
- type: A.plural,
2959
+ type: H.plural,
2932
2960
  value: n,
2933
2961
  options: ft(k.val),
2934
- offset: M,
2962
+ offset: P,
2935
2963
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2936
2964
  location: L
2937
2965
  },
@@ -2981,16 +3009,16 @@ var Pn = (
2981
3009
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2982
3010
  var n = [];
2983
3011
  try {
2984
- n = mn(t);
3012
+ n = fn(t);
2985
3013
  } catch {
2986
3014
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2987
3015
  }
2988
3016
  return {
2989
3017
  val: {
2990
- type: ne.number,
3018
+ type: re.number,
2991
3019
  tokens: n,
2992
3020
  location: r,
2993
- parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
3021
+ parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
2994
3022
  },
2995
3023
  err: null
2996
3024
  };
@@ -3009,20 +3037,20 @@ var Pn = (
3009
3037
  if (l.has(u))
3010
3038
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3011
3039
  u === "other" && (a = !0), this.bumpSpace();
3012
- var x = this.clonePosition();
3040
+ var E = this.clonePosition();
3013
3041
  if (!this.bumpIf("{"))
3014
3042
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3015
- var E = this.parseMessage(t + 1, r, n);
3016
- if (E.err)
3017
- return E;
3018
- var g = this.tryParseArgumentClose(x);
3043
+ var x = this.parseMessage(t + 1, r, n);
3044
+ if (x.err)
3045
+ return x;
3046
+ var g = this.tryParseArgumentClose(E);
3019
3047
  if (g.err)
3020
3048
  return g;
3021
3049
  o.push([
3022
3050
  u,
3023
3051
  {
3024
- value: E.val,
3025
- location: v(x, this.clonePosition())
3052
+ value: x.val,
3053
+ location: v(E, this.clonePosition())
3026
3054
  }
3027
3055
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3028
3056
  }
@@ -3038,7 +3066,7 @@ var Pn = (
3038
3066
  break;
3039
3067
  }
3040
3068
  var l = v(i, this.clonePosition());
3041
- return s ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3069
+ return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3042
3070
  }, e.prototype.offset = function() {
3043
3071
  return this.position.offset;
3044
3072
  }, e.prototype.isEOF = function() {
@@ -3104,47 +3132,47 @@ var Pn = (
3104
3132
  }, e;
3105
3133
  }()
3106
3134
  );
3107
- function Qe(e) {
3135
+ function Ze(e) {
3108
3136
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3109
3137
  }
3110
- function Mn(e) {
3111
- return Qe(e) || e === 47;
3138
+ function On(e) {
3139
+ return Ze(e) || e === 47;
3112
3140
  }
3113
- function Ln(e) {
3141
+ function Pn(e) {
3114
3142
  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;
3115
3143
  }
3116
3144
  function Xt(e) {
3117
3145
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3118
3146
  }
3119
- function Rn(e) {
3147
+ function Ln(e) {
3120
3148
  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;
3121
3149
  }
3122
- function Ye(e) {
3150
+ function qe(e) {
3123
3151
  e.forEach(function(t) {
3124
3152
  if (delete t.location, kt(t) || Ut(t))
3125
3153
  for (var r in t.options)
3126
- delete t.options[r].location, Ye(t.options[r].value);
3154
+ delete t.options[r].location, qe(t.options[r].value);
3127
3155
  else
3128
- Lt(t) && Gt(t.style) || (Rt(t) || Dt(t)) && We(t.style) ? delete t.style.location : Ft(t) && Ye(t.children);
3156
+ Lt(t) && Gt(t.style) || (Rt(t) || Dt(t)) && ze(t.style) ? delete t.style.location : Ft(t) && qe(t.children);
3129
3157
  });
3130
3158
  }
3131
- function Dn(e, t) {
3132
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3133
- var r = new Pn(e, t).parse();
3159
+ function Rn(e, t) {
3160
+ t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3161
+ var r = new Mn(e, t).parse();
3134
3162
  if (r.err) {
3135
3163
  var n = SyntaxError(p[r.err.kind]);
3136
3164
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3137
3165
  }
3138
- return t?.captureLocation || Ye(r.val), r.val;
3166
+ return t?.captureLocation || qe(r.val), r.val;
3139
3167
  }
3140
- var ie;
3168
+ var ne;
3141
3169
  (function(e) {
3142
3170
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3143
- })(ie || (ie = {}));
3144
- var we = (
3171
+ })(ne || (ne = {}));
3172
+ var He = (
3145
3173
  /** @class */
3146
3174
  function(e) {
3147
- Ce(t, e);
3175
+ Te(t, e);
3148
3176
  function t(r, n, i) {
3149
3177
  var s = e.call(this, r) || this;
3150
3178
  return s.code = n, s.originalMessage = i, s;
@@ -3156,44 +3184,44 @@ var we = (
3156
3184
  ), dt = (
3157
3185
  /** @class */
3158
3186
  function(e) {
3159
- Ce(t, e);
3187
+ Te(t, e);
3160
3188
  function t(r, n, i, s) {
3161
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3189
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3162
3190
  }
3163
3191
  return t;
3164
- }(we)
3165
- ), kn = (
3192
+ }(He)
3193
+ ), Dn = (
3166
3194
  /** @class */
3167
3195
  function(e) {
3168
- Ce(t, e);
3196
+ Te(t, e);
3169
3197
  function t(r, n, i) {
3170
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3198
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3171
3199
  }
3172
3200
  return t;
3173
- }(we)
3174
- ), Un = (
3201
+ }(He)
3202
+ ), kn = (
3175
3203
  /** @class */
3176
3204
  function(e) {
3177
- Ce(t, e);
3205
+ Te(t, e);
3178
3206
  function t(r, n) {
3179
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3207
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3180
3208
  }
3181
3209
  return t;
3182
- }(we)
3210
+ }(He)
3183
3211
  ), R;
3184
3212
  (function(e) {
3185
3213
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3186
3214
  })(R || (R = {}));
3187
- function Fn(e) {
3215
+ function Un(e) {
3188
3216
  return e.length < 2 ? e : e.reduce(function(t, r) {
3189
3217
  var n = t[t.length - 1];
3190
3218
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3191
3219
  }, []);
3192
3220
  }
3193
- function Gn(e) {
3221
+ function Fn(e) {
3194
3222
  return typeof e == "function";
3195
3223
  }
3196
- function Ee(e, t, r, n, i, s, a) {
3224
+ function ve(e, t, r, n, i, s, a) {
3197
3225
  if (e.length === 1 && ot(e[0]))
3198
3226
  return [
3199
3227
  {
@@ -3210,7 +3238,7 @@ function Ee(e, t, r, n, i, s, a) {
3210
3238
  });
3211
3239
  continue;
3212
3240
  }
3213
- if (ln(h)) {
3241
+ if (un(h)) {
3214
3242
  typeof s == "number" && o.push({
3215
3243
  type: R.literal,
3216
3244
  value: r.getNumberFormat(t).format(s)
@@ -3219,9 +3247,9 @@ function Ee(e, t, r, n, i, s, a) {
3219
3247
  }
3220
3248
  var f = h.value;
3221
3249
  if (!(i && f in i))
3222
- throw new Un(f, a);
3250
+ throw new kn(f, a);
3223
3251
  var c = i[f];
3224
- if (un(h)) {
3252
+ if (on(h)) {
3225
3253
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3226
3254
  type: typeof c == "string" ? R.literal : R.object,
3227
3255
  value: c
@@ -3229,40 +3257,40 @@ function Ee(e, t, r, n, i, s, a) {
3229
3257
  continue;
3230
3258
  }
3231
3259
  if (Rt(h)) {
3232
- var x = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3260
+ var E = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3233
3261
  o.push({
3234
3262
  type: R.literal,
3235
- value: r.getDateTimeFormat(t, x).format(c)
3263
+ value: r.getDateTimeFormat(t, E).format(c)
3236
3264
  });
3237
3265
  continue;
3238
3266
  }
3239
3267
  if (Dt(h)) {
3240
- var x = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3268
+ var E = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3241
3269
  o.push({
3242
3270
  type: R.literal,
3243
- value: r.getDateTimeFormat(t, x).format(c)
3271
+ value: r.getDateTimeFormat(t, E).format(c)
3244
3272
  });
3245
3273
  continue;
3246
3274
  }
3247
3275
  if (Lt(h)) {
3248
- var x = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3249
- x && x.scale && (c = c * (x.scale || 1)), o.push({
3276
+ var E = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3277
+ E && E.scale && (c = c * (E.scale || 1)), o.push({
3250
3278
  type: R.literal,
3251
- value: r.getNumberFormat(t, x).format(c)
3279
+ value: r.getNumberFormat(t, E).format(c)
3252
3280
  });
3253
3281
  continue;
3254
3282
  }
3255
3283
  if (Ft(h)) {
3256
- var E = h.children, g = h.value, y = i[g];
3257
- if (!Gn(y))
3258
- throw new kn(g, "function", a);
3259
- var S = Ee(E, t, r, n, i, s), d = y(S.map(function(M) {
3260
- return M.value;
3284
+ var x = h.children, g = h.value, y = i[g];
3285
+ if (!Fn(y))
3286
+ throw new Dn(g, "function", a);
3287
+ var T = ve(x, t, r, n, i, s), d = y(T.map(function(P) {
3288
+ return P.value;
3261
3289
  }));
3262
- Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(M) {
3290
+ Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(P) {
3263
3291
  return {
3264
- type: typeof M == "string" ? R.literal : R.object,
3265
- value: M
3292
+ type: typeof P == "string" ? R.literal : R.object,
3293
+ value: P
3266
3294
  };
3267
3295
  }));
3268
3296
  }
@@ -3270,38 +3298,38 @@ function Ee(e, t, r, n, i, s, a) {
3270
3298
  var _ = h.options[c] || h.options.other;
3271
3299
  if (!_)
3272
3300
  throw new dt(h.value, c, Object.keys(h.options), a);
3273
- o.push.apply(o, Ee(_.value, t, r, n, i));
3301
+ o.push.apply(o, ve(_.value, t, r, n, i));
3274
3302
  continue;
3275
3303
  }
3276
3304
  if (Ut(h)) {
3277
3305
  var _ = h.options["=".concat(c)];
3278
3306
  if (!_) {
3279
3307
  if (!Intl.PluralRules)
3280
- throw new we(`Intl.PluralRules is not available in this environment.
3308
+ throw new He(`Intl.PluralRules is not available in this environment.
3281
3309
  Try polyfilling it using "@formatjs/intl-pluralrules"
3282
- `, ie.MISSING_INTL_API, a);
3310
+ `, ne.MISSING_INTL_API, a);
3283
3311
  var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3284
3312
  _ = h.options[B] || h.options.other;
3285
3313
  }
3286
3314
  if (!_)
3287
3315
  throw new dt(h.value, c, Object.keys(h.options), a);
3288
- o.push.apply(o, Ee(_.value, t, r, n, i, c - (h.offset || 0)));
3316
+ o.push.apply(o, ve(_.value, t, r, n, i, c - (h.offset || 0)));
3289
3317
  continue;
3290
3318
  }
3291
3319
  }
3292
- return Fn(o);
3320
+ return Un(o);
3293
3321
  }
3294
- function $n(e, t) {
3295
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3296
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3322
+ function Gn(e, t) {
3323
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3324
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3297
3325
  }, {})) : e;
3298
3326
  }
3299
- function jn(e, t) {
3327
+ function $n(e, t) {
3300
3328
  return t ? Object.keys(e).reduce(function(r, n) {
3301
- return r[n] = $n(e[n], t[n]), r;
3302
- }, $({}, e)) : e;
3329
+ return r[n] = Gn(e[n], t[n]), r;
3330
+ }, S({}, e)) : e;
3303
3331
  }
3304
- function Fe(e) {
3332
+ function ke(e) {
3305
3333
  return {
3306
3334
  create: function() {
3307
3335
  return {
@@ -3315,39 +3343,39 @@ function Fe(e) {
3315
3343
  }
3316
3344
  };
3317
3345
  }
3318
- function Vn(e) {
3346
+ function jn(e) {
3319
3347
  return e === void 0 && (e = {
3320
3348
  number: {},
3321
3349
  dateTime: {},
3322
3350
  pluralRules: {}
3323
3351
  }), {
3324
- getNumberFormat: De(function() {
3352
+ getNumberFormat: Le(function() {
3325
3353
  for (var t, r = [], n = 0; n < arguments.length; n++)
3326
3354
  r[n] = arguments[n];
3327
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3355
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3328
3356
  }, {
3329
- cache: Fe(e.number),
3330
- strategy: ke.variadic
3357
+ cache: ke(e.number),
3358
+ strategy: Re.variadic
3331
3359
  }),
3332
- getDateTimeFormat: De(function() {
3360
+ getDateTimeFormat: Le(function() {
3333
3361
  for (var t, r = [], n = 0; n < arguments.length; n++)
3334
3362
  r[n] = arguments[n];
3335
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3363
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3336
3364
  }, {
3337
- cache: Fe(e.dateTime),
3338
- strategy: ke.variadic
3365
+ cache: ke(e.dateTime),
3366
+ strategy: Re.variadic
3339
3367
  }),
3340
- getPluralRules: De(function() {
3368
+ getPluralRules: Le(function() {
3341
3369
  for (var t, r = [], n = 0; n < arguments.length; n++)
3342
3370
  r[n] = arguments[n];
3343
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3371
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3344
3372
  }, {
3345
- cache: Fe(e.pluralRules),
3346
- strategy: ke.variadic
3373
+ cache: ke(e.pluralRules),
3374
+ strategy: Re.variadic
3347
3375
  })
3348
3376
  };
3349
3377
  }
3350
- var zn = (
3378
+ var Vn = (
3351
3379
  /** @class */
3352
3380
  function() {
3353
3381
  function e(t, r, n, i) {
@@ -3366,7 +3394,7 @@ var zn = (
3366
3394
  }, []);
3367
3395
  return h.length <= 1 ? h[0] || "" : h;
3368
3396
  }, this.formatToParts = function(l) {
3369
- return Ee(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3397
+ return ve(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3370
3398
  }, this.resolvedOptions = function() {
3371
3399
  var l;
3372
3400
  return {
@@ -3379,13 +3407,13 @@ var zn = (
3379
3407
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3380
3408
  var a = i || {};
3381
3409
  a.formatters;
3382
- var o = Kr(a, ["formatters"]);
3383
- this.ast = e.__parse(t, $($({}, o), { locale: this.resolvedLocale }));
3410
+ var o = Rr(a, ["formatters"]);
3411
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3384
3412
  } else
3385
3413
  this.ast = t;
3386
3414
  if (!Array.isArray(this.ast))
3387
3415
  throw new TypeError("A message must be provided as a String or AST.");
3388
- this.formats = jn(e.formats, n), this.formatters = i && i.formatters || Vn(this.formatterCache);
3416
+ this.formats = $n(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3389
3417
  }
3390
3418
  return Object.defineProperty(e, "defaultLocale", {
3391
3419
  get: function() {
@@ -3398,7 +3426,7 @@ var zn = (
3398
3426
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3399
3427
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3400
3428
  }
3401
- }, e.__parse = Dn, e.formats = {
3429
+ }, e.__parse = Rn, e.formats = {
3402
3430
  number: {
3403
3431
  integer: {
3404
3432
  maximumFractionDigits: 0
@@ -3459,7 +3487,7 @@ var zn = (
3459
3487
  }, e;
3460
3488
  }()
3461
3489
  );
3462
- function Jn(e, t) {
3490
+ function zn(e, t) {
3463
3491
  if (t == null)
3464
3492
  return;
3465
3493
  if (t in e)
@@ -3480,36 +3508,36 @@ function Jn(e, t) {
3480
3508
  n = void 0;
3481
3509
  return n;
3482
3510
  }
3483
- const j = {}, Wn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Zt = (e, t) => {
3511
+ const $ = {}, Jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Zt = (e, t) => {
3484
3512
  if (t == null)
3485
3513
  return;
3486
- if (t in j && e in j[t])
3487
- return j[t][e];
3488
- const r = Be(t);
3514
+ if (t in $ && e in $[t])
3515
+ return $[t][e];
3516
+ const r = Ce(t);
3489
3517
  for (let n = 0; n < r.length; n++) {
3490
- const i = r[n], s = Zn(i, e);
3518
+ const i = r[n], s = Xn(i, e);
3491
3519
  if (s)
3492
- return Wn(e, t, s);
3520
+ return Jn(e, t, s);
3493
3521
  }
3494
3522
  };
3495
3523
  let tt;
3496
- const oe = He({});
3497
- function Xn(e) {
3524
+ const ae = Ae({});
3525
+ function Wn(e) {
3498
3526
  return tt[e] || null;
3499
3527
  }
3500
3528
  function qt(e) {
3501
3529
  return e in tt;
3502
3530
  }
3503
- function Zn(e, t) {
3531
+ function Xn(e, t) {
3504
3532
  if (!qt(e))
3505
3533
  return null;
3506
- const r = Xn(e);
3507
- return Jn(r, t);
3534
+ const r = Wn(e);
3535
+ return zn(r, t);
3508
3536
  }
3509
- function qn(e) {
3537
+ function Zn(e) {
3510
3538
  if (e == null)
3511
3539
  return;
3512
- const t = Be(e);
3540
+ const t = Ce(e);
3513
3541
  for (let r = 0; r < t.length; r++) {
3514
3542
  const n = t[r];
3515
3543
  if (qt(n))
@@ -3517,55 +3545,55 @@ function qn(e) {
3517
3545
  }
3518
3546
  }
3519
3547
  function Qt(e, ...t) {
3520
- delete j[e], oe.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
3548
+ delete $[e], ae.update((r) => (r[e] = Kr.all([r[e] || {}, ...t]), r));
3521
3549
  }
3522
- ae(
3523
- [oe],
3550
+ se(
3551
+ [ae],
3524
3552
  ([e]) => Object.keys(e)
3525
3553
  );
3526
- oe.subscribe((e) => tt = e);
3554
+ ae.subscribe((e) => tt = e);
3527
3555
  const xe = {};
3528
- function Qn(e, t) {
3556
+ function qn(e, t) {
3529
3557
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3530
3558
  }
3531
3559
  function Yt(e) {
3532
3560
  return xe[e];
3533
3561
  }
3534
- function Yn(e) {
3535
- return Be(e).map((t) => {
3562
+ function Qn(e) {
3563
+ return Ce(e).map((t) => {
3536
3564
  const r = Yt(t);
3537
3565
  return [t, r ? [...r] : []];
3538
3566
  }).filter(([, t]) => t.length > 0);
3539
3567
  }
3540
- function Ke(e) {
3541
- return e == null ? !1 : Be(e).some(
3568
+ function Qe(e) {
3569
+ return e == null ? !1 : Ce(e).some(
3542
3570
  (t) => {
3543
3571
  var r;
3544
3572
  return (r = Yt(t)) == null ? void 0 : r.size;
3545
3573
  }
3546
3574
  );
3547
3575
  }
3548
- function Kn(e, t) {
3576
+ function Yn(e, t) {
3549
3577
  return Promise.all(
3550
- t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3578
+ t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3551
3579
  ).then((n) => Qt(e, ...n));
3552
3580
  }
3553
- const he = {};
3581
+ const le = {};
3554
3582
  function Kt(e) {
3555
- if (!Ke(e))
3556
- return e in he ? he[e] : Promise.resolve();
3557
- const t = Yn(e);
3558
- return he[e] = Promise.all(
3583
+ if (!Qe(e))
3584
+ return e in le ? le[e] : Promise.resolve();
3585
+ const t = Qn(e);
3586
+ return le[e] = Promise.all(
3559
3587
  t.map(
3560
- ([r, n]) => Kn(r, n)
3588
+ ([r, n]) => Yn(r, n)
3561
3589
  )
3562
3590
  ).then(() => {
3563
- if (Ke(e))
3591
+ if (Qe(e))
3564
3592
  return Kt(e);
3565
- delete he[e];
3566
- }), he[e];
3593
+ delete le[e];
3594
+ }), le[e];
3567
3595
  }
3568
- const ei = {
3596
+ const Kn = {
3569
3597
  number: {
3570
3598
  scientific: { notation: "scientific" },
3571
3599
  engineering: { notation: "engineering" },
@@ -3594,141 +3622,141 @@ const ei = {
3594
3622
  timeZoneName: "short"
3595
3623
  }
3596
3624
  }
3597
- }, ti = {
3625
+ }, ei = {
3598
3626
  fallbackLocale: null,
3599
3627
  loadingDelay: 200,
3600
- formats: ei,
3628
+ formats: Kn,
3601
3629
  warnOnMissingMessages: !0,
3602
3630
  handleMissingMessage: void 0,
3603
3631
  ignoreTag: !0
3604
- }, ri = ti;
3605
- function se() {
3606
- return ri;
3632
+ }, ti = ei;
3633
+ function ie() {
3634
+ return ti;
3607
3635
  }
3608
- const Ge = He(!1);
3609
- var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3636
+ const Ue = Ae(!1);
3637
+ var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3610
3638
  for (var r in t || (t = {}))
3611
- ai.call(t, r) && gt(e, r, t[r]);
3639
+ si.call(t, r) && gt(e, r, t[r]);
3612
3640
  if (bt)
3613
3641
  for (var r of bt(t))
3614
- oi.call(t, r) && gt(e, r, t[r]);
3642
+ ai.call(t, r) && gt(e, r, t[r]);
3615
3643
  return e;
3616
- }, li = (e, t) => ii(e, si(t));
3617
- let et;
3618
- const Te = He(null);
3644
+ }, ui = (e, t) => ni(e, ii(t));
3645
+ let Ye;
3646
+ const Ee = Ae(null);
3619
3647
  function pt(e) {
3620
3648
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3621
3649
  }
3622
- function Be(e, t = se().fallbackLocale) {
3650
+ function Ce(e, t = ie().fallbackLocale) {
3623
3651
  const r = pt(e);
3624
3652
  return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3625
3653
  }
3626
- function W() {
3627
- return et ?? void 0;
3654
+ function J() {
3655
+ return Ye ?? void 0;
3628
3656
  }
3629
- Te.subscribe((e) => {
3630
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3657
+ Ee.subscribe((e) => {
3658
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3631
3659
  });
3632
- const hi = (e) => {
3633
- if (e && qn(e) && Ke(e)) {
3634
- const { loadingDelay: t } = se();
3660
+ const li = (e) => {
3661
+ if (e && Zn(e) && Qe(e)) {
3662
+ const { loadingDelay: t } = ie();
3635
3663
  let r;
3636
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3637
- () => Ge.set(!0),
3664
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3665
+ () => Ue.set(!0),
3638
3666
  t
3639
- ) : Ge.set(!0), Kt(e).then(() => {
3640
- Te.set(e);
3667
+ ) : Ue.set(!0), Kt(e).then(() => {
3668
+ Ee.set(e);
3641
3669
  }).finally(() => {
3642
- clearTimeout(r), Ge.set(!1);
3670
+ clearTimeout(r), Ue.set(!1);
3643
3671
  });
3644
3672
  }
3645
- return Te.set(e);
3646
- }, V = li(ui({}, Te), {
3647
- set: hi
3648
- }), Ie = (e) => {
3673
+ return Ee.set(e);
3674
+ }, j = ui(oi({}, Ee), {
3675
+ set: li
3676
+ }), we = (e) => {
3649
3677
  const t = /* @__PURE__ */ Object.create(null);
3650
3678
  return (n) => {
3651
3679
  const i = JSON.stringify(n);
3652
3680
  return i in t ? t[i] : t[i] = e(n);
3653
3681
  };
3654
3682
  };
3655
- var ci = Object.defineProperty, Ae = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3683
+ var hi = Object.defineProperty, Se = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3656
3684
  for (var r in t || (t = {}))
3657
3685
  er.call(t, r) && yt(e, r, t[r]);
3658
- if (Ae)
3659
- for (var r of Ae(t))
3686
+ if (Se)
3687
+ for (var r of Se(t))
3660
3688
  tr.call(t, r) && yt(e, r, t[r]);
3661
3689
  return e;
3662
- }, ue = (e, t) => {
3690
+ }, oe = (e, t) => {
3663
3691
  var r = {};
3664
3692
  for (var n in e)
3665
3693
  er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3666
- if (e != null && Ae)
3667
- for (var n of Ae(e))
3694
+ if (e != null && Se)
3695
+ for (var n of Se(e))
3668
3696
  t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3669
3697
  return r;
3670
3698
  };
3671
- const de = (e, t) => {
3672
- const { formats: r } = se();
3699
+ const me = (e, t) => {
3700
+ const { formats: r } = ie();
3673
3701
  if (e in r && t in r[e])
3674
3702
  return r[e][t];
3675
3703
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3676
- }, fi = Ie(
3704
+ }, ci = we(
3677
3705
  (e) => {
3678
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3706
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3679
3707
  if (r == null)
3680
3708
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3681
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3709
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3682
3710
  }
3683
- ), mi = Ie(
3711
+ ), fi = we(
3684
3712
  (e) => {
3685
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3713
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3686
3714
  if (r == null)
3687
3715
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3688
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3716
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3689
3717
  }
3690
- ), di = Ie(
3718
+ ), mi = we(
3691
3719
  (e) => {
3692
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3720
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3693
3721
  if (r == null)
3694
3722
  throw new Error(
3695
3723
  '[svelte-i18n] A "locale" must be set to format time values'
3696
3724
  );
3697
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3725
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3698
3726
  }
3699
- ), bi = (e = {}) => {
3727
+ ), di = (e = {}) => {
3700
3728
  var t = e, {
3701
- locale: r = W()
3702
- } = t, n = ue(t, [
3729
+ locale: r = J()
3730
+ } = t, n = oe(t, [
3703
3731
  "locale"
3704
3732
  ]);
3705
- return fi(rt({ locale: r }, n));
3706
- }, gi = (e = {}) => {
3733
+ return ci(rt({ locale: r }, n));
3734
+ }, bi = (e = {}) => {
3707
3735
  var t = e, {
3708
- locale: r = W()
3709
- } = t, n = ue(t, [
3736
+ locale: r = J()
3737
+ } = t, n = oe(t, [
3710
3738
  "locale"
3711
3739
  ]);
3712
- return mi(rt({ locale: r }, n));
3713
- }, pi = (e = {}) => {
3740
+ return fi(rt({ locale: r }, n));
3741
+ }, gi = (e = {}) => {
3714
3742
  var t = e, {
3715
- locale: r = W()
3716
- } = t, n = ue(t, [
3743
+ locale: r = J()
3744
+ } = t, n = oe(t, [
3717
3745
  "locale"
3718
3746
  ]);
3719
- return di(rt({ locale: r }, n));
3720
- }, yi = Ie(
3747
+ return mi(rt({ locale: r }, n));
3748
+ }, pi = we(
3721
3749
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3722
- (e, t = W()) => new zn(e, t, se().formats, {
3723
- ignoreTag: se().ignoreTag
3750
+ (e, t = J()) => new Vn(e, t, ie().formats, {
3751
+ ignoreTag: ie().ignoreTag
3724
3752
  })
3725
- ), _i = (e, t = {}) => {
3753
+ ), yi = (e, t = {}) => {
3726
3754
  var r, n, i, s;
3727
3755
  let a = t;
3728
3756
  typeof e == "object" && (a = e, e = a.id);
3729
3757
  const {
3730
3758
  values: o,
3731
- locale: l = W(),
3759
+ locale: l = J(),
3732
3760
  default: u
3733
3761
  } = a;
3734
3762
  if (l == null)
@@ -3737,7 +3765,7 @@ const de = (e, t) => {
3737
3765
  );
3738
3766
  let h = Zt(e, l);
3739
3767
  if (!h)
3740
- h = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3768
+ 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;
3741
3769
  else if (typeof h != "string")
3742
3770
  return console.warn(
3743
3771
  `[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.`
@@ -3746,7 +3774,7 @@ const de = (e, t) => {
3746
3774
  return h;
3747
3775
  let f = h;
3748
3776
  try {
3749
- f = yi(h, l).format(o);
3777
+ f = pi(h, l).format(o);
3750
3778
  } catch (c) {
3751
3779
  c instanceof Error && console.warn(
3752
3780
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3754,18 +3782,18 @@ const de = (e, t) => {
3754
3782
  );
3755
3783
  }
3756
3784
  return f;
3757
- }, vi = (e, t) => pi(t).format(e), Ei = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), Si = (e, t = W()) => Zt(e, t), Ti = ae([V, oe], () => _i);
3758
- ae([V], () => vi);
3759
- ae([V], () => Ei);
3760
- ae([V], () => xi);
3761
- ae([V, oe], () => Si);
3762
- function Ai(e, t) {
3785
+ }, _i = (e, t) => gi(t).format(e), vi = (e, t) => bi(t).format(e), xi = (e, t) => di(t).format(e), Ei = (e, t = J()) => Zt(e, t), Si = se([j, ae], () => yi);
3786
+ se([j], () => _i);
3787
+ se([j], () => vi);
3788
+ se([j], () => xi);
3789
+ se([j, ae], () => Ei);
3790
+ function Ti(e, t) {
3763
3791
  if (e) {
3764
3792
  const r = document.createElement("style");
3765
3793
  r.innerHTML = t, e.appendChild(r);
3766
3794
  }
3767
3795
  }
3768
- function Hi(e, t) {
3796
+ function Ai(e, t) {
3769
3797
  const r = new URL(t);
3770
3798
  fetch(r.href).then((n) => n.text()).then((n) => {
3771
3799
  const i = document.createElement("style");
@@ -3774,7 +3802,7 @@ function Hi(e, t) {
3774
3802
  console.error("There was an error while trying to load client styling from URL", n);
3775
3803
  });
3776
3804
  }
3777
- function Ci(e, t, r) {
3805
+ function Hi(e, t, r) {
3778
3806
  if (window.emMessageBus) {
3779
3807
  const n = document.createElement("style");
3780
3808
  window.emMessageBus.subscribe(t, (i) => {
@@ -3782,16 +3810,16 @@ function Ci(e, t, r) {
3782
3810
  });
3783
3811
  }
3784
3812
  }
3785
- function wi({ withLocale: e, translations: t }) {
3786
- V.subscribe((r) => {
3787
- r == null && (oe.set(t), V.set(e));
3813
+ function Ci({ withLocale: e, translations: t }) {
3814
+ j.subscribe((r) => {
3815
+ r == null && (ae.set(t), j.set(e));
3788
3816
  });
3789
3817
  }
3790
3818
  function _t(e, t) {
3791
3819
  Qt(e, t);
3792
3820
  }
3793
- function Bi(e) {
3794
- V.set(e);
3821
+ function wi(e) {
3822
+ j.set(e);
3795
3823
  }
3796
3824
  const vt = {
3797
3825
  en: {
@@ -4125,24 +4153,24 @@ const vt = {
4125
4153
  December: "December"
4126
4154
  }
4127
4155
  };
4128
- function Ii(e) {
4156
+ function Bi(e) {
4129
4157
  dr(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}');
4130
4158
  }
4131
- function Et(e) {
4159
+ function xt(e) {
4132
4160
  let t, r, n;
4133
4161
  return {
4134
4162
  c() {
4135
4163
  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");
4136
4164
  },
4137
4165
  m(i, s) {
4138
- P(i, t, s), P(i, r, s), P(i, n, s);
4166
+ O(i, t, s), O(i, r, s), O(i, n, s);
4139
4167
  },
4140
4168
  d(i) {
4141
4169
  i && (I(t), I(r), I(n));
4142
4170
  }
4143
4171
  };
4144
4172
  }
4145
- function xt(e) {
4173
+ function Et(e) {
4146
4174
  let t, r, n, i, s, a, o, l, u, h, f = (
4147
4175
  /*status*/
4148
4176
  e[0] && St(e)
@@ -4150,16 +4178,16 @@ function xt(e) {
4150
4178
  /*showenrolled*/
4151
4179
  e[6] == "true" && Tt(e)
4152
4180
  );
4153
- function x(d, _) {
4181
+ function E(d, _) {
4154
4182
  return (
4155
4183
  /*thumbnail*/
4156
- d[3] ? Ni : Oi
4184
+ d[3] ? Ni : Ii
4157
4185
  );
4158
4186
  }
4159
- let E = x(e), g = E(e), y = (
4187
+ let x = E(e), g = x(e), y = (
4160
4188
  /*startdate*/
4161
4189
  e[2] && Ht(e)
4162
- ), S = (
4190
+ ), T = (
4163
4191
  /*isLoggedIn*/
4164
4192
  e[11] && Ct(e)
4165
4193
  );
@@ -4168,10 +4196,10 @@ function xt(e) {
4168
4196
  f && f.c(), t = G(), c && c.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), a = D(
4169
4197
  /*title*/
4170
4198
  e[1]
4171
- ), o = 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");
4199
+ ), o = 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");
4172
4200
  },
4173
4201
  m(d, _) {
4174
- 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, a), T(i, o), y && y.m(i, null), T(i, l), S && S.m(i, null), u || (h = te(
4202
+ 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, a), A(i, o), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = ee(
4175
4203
  s,
4176
4204
  "click",
4177
4205
  /*detailsAction*/
@@ -4181,17 +4209,17 @@ function xt(e) {
4181
4209
  p(d, _) {
4182
4210
  /*status*/
4183
4211
  d[0] ? f ? f.p(d, _) : (f = St(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4184
- d[6] == "true" ? c ? c.p(d, _) : (c = Tt(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*/
4212
+ d[6] == "true" ? c ? c.p(d, _) : (c = Tt(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*/
4185
4213
  2 && F(
4186
4214
  a,
4187
4215
  /*title*/
4188
4216
  d[1]
4189
4217
  ), /*startdate*/
4190
4218
  d[2] ? y ? y.p(d, _) : (y = Ht(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4191
- d[11] ? S ? S.p(d, _) : (S = Ct(d), S.c(), S.m(i, null)) : S && (S.d(1), S = null);
4219
+ d[11] ? T ? T.p(d, _) : (T = Ct(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4192
4220
  },
4193
4221
  d(d) {
4194
- d && (I(t), I(r), I(n), I(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), S && S.d(), u = !1, h();
4222
+ d && (I(t), I(r), I(n), I(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4195
4223
  }
4196
4224
  };
4197
4225
  }
@@ -4207,7 +4235,7 @@ function St(e) {
4207
4235
  e[14]);
4208
4236
  },
4209
4237
  m(o, l) {
4210
- P(o, t, l), T(t, r), s || (a = ge(
4238
+ O(o, t, l), A(t, r), s || (a = be(
4211
4239
  /*matchStatus*/
4212
4240
  e[17].call(null, t)
4213
4241
  ), s = !0);
@@ -4239,7 +4267,7 @@ function Tt(e) {
4239
4267
  r && r.c(), t = pr();
4240
4268
  },
4241
4269
  m(n, i) {
4242
- r && r.m(n, i), P(n, t, i);
4270
+ r && r.m(n, i), O(n, t, i);
4243
4271
  },
4244
4272
  p(n, i) {
4245
4273
  /*userenrolled*/
@@ -4260,7 +4288,7 @@ function At(e) {
4260
4288
  t = w("div"), n = D(r), b(t, "class", "Enrolled"), b(t, "part", "Enrolled");
4261
4289
  },
4262
4290
  m(i, s) {
4263
- P(i, t, s), T(t, n);
4291
+ O(i, t, s), A(t, n);
4264
4292
  },
4265
4293
  p(i, s) {
4266
4294
  s[0] & /*$_*/
@@ -4272,23 +4300,23 @@ function At(e) {
4272
4300
  }
4273
4301
  };
4274
4302
  }
4275
- function Oi(e) {
4303
+ function Ii(e) {
4276
4304
  let t, r, n, i, s, a, o;
4277
4305
  return {
4278
4306
  c() {
4279
- t = w("div"), r = w("ui-image"), $e(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4307
+ t = w("div"), r = w("ui-image"), Fe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4280
4308
  (e[0] == "Closing" || /*status*/
4281
4309
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4282
4310
  (e[0] == "Closing" || /*status*/
4283
4311
  e[0] == "Closed" ? "CardImgFinished" : ""));
4284
4312
  },
4285
4313
  m(l, u) {
4286
- P(l, t, u), T(t, r), a || (o = [
4287
- ge(
4314
+ O(l, t, u), A(t, r), a || (o = [
4315
+ be(
4288
4316
  /*matchStatus*/
4289
4317
  e[17].call(null, t)
4290
4318
  ),
4291
- te(
4319
+ ee(
4292
4320
  t,
4293
4321
  "click",
4294
4322
  /*detailsAction*/
@@ -4306,7 +4334,7 @@ function Oi(e) {
4306
4334
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4307
4335
  },
4308
4336
  d(l) {
4309
- l && I(t), a = !1, z(o);
4337
+ l && I(t), a = !1, V(o);
4310
4338
  }
4311
4339
  };
4312
4340
  }
@@ -4314,20 +4342,20 @@ function Ni(e) {
4314
4342
  let t, r, n, i, s, a, o;
4315
4343
  return {
4316
4344
  c() {
4317
- t = w("div"), r = w("ui-image"), K(r, "class", "UIImage"), $e(r.src, n = /*thumbnail*/
4318
- e[3]) || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4345
+ t = w("div"), r = w("ui-image"), Y(r, "class", "UIImage"), Fe(r.src, n = /*thumbnail*/
4346
+ e[3]) || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4319
4347
  (e[0] == "Closing" || /*status*/
4320
4348
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4321
4349
  (e[0] == "Closing" || /*status*/
4322
4350
  e[0] == "Closed" ? "CardImgFinished" : ""));
4323
4351
  },
4324
4352
  m(l, u) {
4325
- P(l, t, u), T(t, r), a || (o = [
4326
- ge(
4353
+ O(l, t, u), A(t, r), a || (o = [
4354
+ be(
4327
4355
  /*matchStatus*/
4328
4356
  e[17].call(null, t)
4329
4357
  ),
4330
- te(
4358
+ ee(
4331
4359
  t,
4332
4360
  "click",
4333
4361
  /*detailsAction*/
@@ -4337,8 +4365,8 @@ function Ni(e) {
4337
4365
  },
4338
4366
  p(l, u) {
4339
4367
  u[0] & /*thumbnail*/
4340
- 8 && !$e(r.src, n = /*thumbnail*/
4341
- l[3]) && K(r, "src", n), u[0] & /*status*/
4368
+ 8 && !Fe(r.src, n = /*thumbnail*/
4369
+ l[3]) && Y(r, "src", n), u[0] & /*status*/
4342
4370
  1 && i !== (i = "CardImg " + /*status*/
4343
4371
  (l[0] == "Closing" || /*status*/
4344
4372
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
@@ -4347,7 +4375,7 @@ function Ni(e) {
4347
4375
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4348
4376
  },
4349
4377
  d(l) {
4350
- l && I(t), a = !1, z(o);
4378
+ l && I(t), a = !1, V(o);
4351
4379
  }
4352
4380
  };
4353
4381
  }
@@ -4361,7 +4389,7 @@ function Ht(e) {
4361
4389
  ), b(t, "class", "Date"), b(t, "part", "Date");
4362
4390
  },
4363
4391
  m(a, o) {
4364
- P(a, t, o), T(t, r), i || (s = ge(n = /*formatDate*/
4392
+ O(a, t, o), A(t, r), i || (s = be(n = /*formatDate*/
4365
4393
  e[16].call(
4366
4394
  null,
4367
4395
  t,
@@ -4375,7 +4403,7 @@ function Ht(e) {
4375
4403
  r,
4376
4404
  /*shownDate*/
4377
4405
  a[10]
4378
- ), n && be(n.update) && o[0] & /*startdate*/
4406
+ ), n && de(n.update) && o[0] & /*startdate*/
4379
4407
  4 && n.update.call(
4380
4408
  null,
4381
4409
  /*startdate*/
@@ -4394,13 +4422,13 @@ function Ct(e) {
4394
4422
  ), i, s, a, o, l, u = (
4395
4423
  /*$_*/
4396
4424
  e[15]("minbet") + ""
4397
- ), h, f, c, x, E, g, y, S = (
4425
+ ), h, f, c, E, x, g, y, T = (
4398
4426
  /*$_*/
4399
4427
  e[15]("seegames") + ""
4400
- ), d, _, B, M = (
4428
+ ), d, _, B, P = (
4401
4429
  /*$_*/
4402
4430
  e[15]("here") + ""
4403
- ), k, L, X, J;
4431
+ ), k, L, W, z;
4404
4432
  return {
4405
4433
  c() {
4406
4434
  t = w("div"), r = w("p"), i = D(n), s = D(`:
@@ -4412,7 +4440,7 @@ function Ct(e) {
4412
4440
  (`), h = D(u), f = G(), c = D(
4413
4441
  /*minbetcount*/
4414
4442
  e[5]
4415
- ), x = D(")"), E = G(), g = w("div"), y = w("p"), d = D(S), _ = G(), B = w("a"), k = D(M), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4443
+ ), E = D(")"), x = G(), g = w("div"), y = w("p"), d = D(T), _ = G(), B = w("a"), k = D(P), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4416
4444
  B,
4417
4445
  "href",
4418
4446
  /*gameurl*/
@@ -4420,61 +4448,61 @@ function Ct(e) {
4420
4448
  ), b(B, "target", L = /*keepbrowsercontext*/
4421
4449
  e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4422
4450
  },
4423
- m(O, N) {
4424
- P(O, t, N), T(t, r), T(r, i), T(r, s), T(r, a), T(a, o), T(r, l), T(r, h), T(r, f), T(r, c), T(r, x), P(O, E, N), P(O, g, N), T(g, y), T(y, d), T(y, _), T(y, B), T(B, k), X || (J = [
4425
- ge(
4451
+ m(N, M) {
4452
+ O(N, t, M), A(t, r), A(r, i), A(r, s), A(r, a), A(a, o), A(r, l), A(r, h), A(r, f), A(r, c), A(r, E), O(N, x, M), O(N, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), W || (z = [
4453
+ be(
4426
4454
  /*matchScoreCriteria*/
4427
4455
  e[18].call(null, a)
4428
4456
  ),
4429
- te(
4457
+ ee(
4430
4458
  B,
4431
4459
  "click",
4432
4460
  /*tournamentGamesClicked*/
4433
4461
  e[19]
4434
4462
  )
4435
- ], X = !0);
4463
+ ], W = !0);
4436
4464
  },
4437
- p(O, N) {
4438
- N[0] & /*$_*/
4465
+ p(N, M) {
4466
+ M[0] & /*$_*/
4439
4467
  32768 && n !== (n = /*$_*/
4440
- O[15]("scoreCriteria") + "") && F(i, n), N[0] & /*showScoreCriteria*/
4468
+ N[15]("scoreCriteria") + "") && F(i, n), M[0] & /*showScoreCriteria*/
4441
4469
  8192 && F(
4442
4470
  o,
4443
4471
  /*showScoreCriteria*/
4444
- O[13]
4445
- ), N[0] & /*$_*/
4472
+ N[13]
4473
+ ), M[0] & /*$_*/
4446
4474
  32768 && u !== (u = /*$_*/
4447
- O[15]("minbet") + "") && F(h, u), N[0] & /*minbetcount*/
4475
+ N[15]("minbet") + "") && F(h, u), M[0] & /*minbetcount*/
4448
4476
  32 && F(
4449
4477
  c,
4450
4478
  /*minbetcount*/
4451
- O[5]
4452
- ), N[0] & /*$_*/
4453
- 32768 && S !== (S = /*$_*/
4454
- O[15]("seegames") + "") && F(d, S), N[0] & /*$_*/
4455
- 32768 && M !== (M = /*$_*/
4456
- O[15]("here") + "") && F(k, M), N[0] & /*gameurl*/
4479
+ N[5]
4480
+ ), M[0] & /*$_*/
4481
+ 32768 && T !== (T = /*$_*/
4482
+ N[15]("seegames") + "") && F(d, T), M[0] & /*$_*/
4483
+ 32768 && P !== (P = /*$_*/
4484
+ N[15]("here") + "") && F(k, P), M[0] & /*gameurl*/
4457
4485
  128 && b(
4458
4486
  B,
4459
4487
  "href",
4460
4488
  /*gameurl*/
4461
- O[7]
4462
- ), N[0] & /*keepbrowsercontext*/
4489
+ N[7]
4490
+ ), M[0] & /*keepbrowsercontext*/
4463
4491
  256 && L !== (L = /*keepbrowsercontext*/
4464
- O[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4492
+ N[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4465
4493
  },
4466
- d(O) {
4467
- O && (I(t), I(E), I(g)), X = !1, z(J);
4494
+ d(N) {
4495
+ N && (I(t), I(x), I(g)), W = !1, V(z);
4468
4496
  }
4469
4497
  };
4470
4498
  }
4471
- function Pi(e) {
4499
+ function Mi(e) {
4472
4500
  let t, r, n, i = (
4473
4501
  /*title*/
4474
- e[1] === "undefined" && Et()
4502
+ e[1] === "undefined" && xt()
4475
4503
  ), s = (
4476
4504
  /*title*/
4477
- e[1] !== "undefined" && xt(e)
4505
+ e[1] !== "undefined" && Et(e)
4478
4506
  );
4479
4507
  return {
4480
4508
  c() {
@@ -4482,12 +4510,12 @@ function Pi(e) {
4482
4510
  e[1] === "undefined" ? "Loading" : ""}`), b(t, "part", "Thumbnail");
4483
4511
  },
4484
4512
  m(a, o) {
4485
- P(a, t, o), i && i.m(t, null), T(t, r), s && s.m(t, null), e[31](t);
4513
+ O(a, t, o), i && i.m(t, null), A(t, r), s && s.m(t, null), e[31](t);
4486
4514
  },
4487
4515
  p(a, o) {
4488
4516
  /*title*/
4489
- a[1] === "undefined" ? i || (i = Et(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4490
- a[1] !== "undefined" ? s ? s.p(a, o) : (s = xt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4517
+ a[1] === "undefined" ? i || (i = xt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4518
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = Et(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4491
4519
  2 && n !== (n = `Thumbnail ${/*title*/
4492
4520
  a[1] === "undefined" ? "Loading" : ""}`) && b(t, "class", n);
4493
4521
  },
@@ -4498,15 +4526,15 @@ function Pi(e) {
4498
4526
  }
4499
4527
  };
4500
4528
  }
4501
- function Mi(e, t, r) {
4529
+ function Oi(e, t, r) {
4502
4530
  let n;
4503
- mr(e, Ti, (m) => r(15, n = m));
4504
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = 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 = "", J = !1, O = "", N = "", le = "";
4505
- wi({ withLocale: "en", translations: {} });
4531
+ mr(e, Si, (m) => r(15, n = m));
4532
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = 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 = "", z = !1, N = "", M = "", ue = "";
4533
+ Ci({ withLocale: "en", translations: {} });
4506
4534
  const nr = () => {
4507
- fetch(M).then((m) => m.json()).then((m) => {
4508
- Object.keys(m).forEach((Z) => {
4509
- _t(Z, m[Z]);
4535
+ fetch(P).then((m) => m.json()).then((m) => {
4536
+ Object.keys(m).forEach((X) => {
4537
+ _t(X, m[X]);
4510
4538
  }), o && Me();
4511
4539
  }).catch((m) => {
4512
4540
  console.log(m);
@@ -4516,20 +4544,20 @@ function Mi(e, t, r) {
4516
4544
  _t(m, vt[m]);
4517
4545
  });
4518
4546
  const nt = (m) => {
4519
- m.data && (m.data && m.data.type == "SessionID" && r(11, J = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4520
- }, Oe = () => {
4547
+ m.data && (m.data && m.data.type == "SessionID" && r(11, z = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4548
+ }, Be = () => {
4521
4549
  const m = { month: "long" };
4522
- let Z = new Date(o), ur = new Intl.DateTimeFormat("en", m).format(Z), lr = Z.getDate(), hr = Z.toLocaleString("en-GB", {
4550
+ let X = new Date(o), ur = new Intl.DateTimeFormat("en", m).format(X), lr = X.getDate(), hr = X.toLocaleString("en-GB", {
4523
4551
  hour: "numeric",
4524
4552
  minute: "numeric",
4525
4553
  hour12: !1
4526
4554
  });
4527
4555
  const cr = () => n(l === "Running" ? "startedAt" : "startingAt");
4528
- r(10, X = `${lr} ` + n(`${ur}`) + ", " + cr() + ` ${hr}`);
4556
+ r(10, W = `${lr} ` + n(`${ur}`) + ", " + cr() + ` ${hr}`);
4557
+ }, Ie = () => {
4558
+ l == "Unstarted" && (r(12, N = n("scheduled")), r(14, ue = "StatusUnstarted")), l == "Running" && (r(12, N = n("ongoing")), r(14, ue = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, N = n("finished")), l == "Closed" && r(14, ue = "StatusClosed"), l == "Closing" && r(14, ue = "StatusClosing");
4529
4559
  }, Ne = () => {
4530
- l == "Unstarted" && (r(12, O = n("scheduled")), r(14, le = "StatusUnstarted")), l == "Running" && (r(12, O = n("ongoing")), r(14, le = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, O = n("finished")), l == "Closed" && r(14, le = "StatusClosed"), l == "Closing" && r(14, le = "StatusClosing");
4531
- }, Pe = () => {
4532
- c == "BetCount" && r(13, N = n("betCount")), c == "MaxWinStakeRatio" && r(13, N = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, N = n("winStakeRatio")), c == "Stake" && r(13, N = n("stake"));
4560
+ 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"));
4533
4561
  }, ir = () => {
4534
4562
  window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4535
4563
  }, sr = () => {
@@ -4542,52 +4570,52 @@ function Mi(e, t, r) {
4542
4570
  window.location.href
4543
4571
  );
4544
4572
  }, ar = () => {
4545
- i.length > 0 && i != "false" ? r(11, J = !0) : r(11, J = !1);
4573
+ i.length > 0 && i != "false" ? r(11, z = !0) : r(11, z = !1);
4546
4574
  };
4547
- xr(() => (setTimeout(() => Me(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4575
+ Er(() => (setTimeout(() => Me(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4548
4576
  window.removeEventListener("message", nt);
4549
4577
  }));
4550
4578
  const Me = () => {
4551
- Bi(S), Pe(), Ne(), o && Oe();
4579
+ wi(T), Ne(), Ie(), o && Be();
4552
4580
  };
4553
4581
  function or(m) {
4554
- je[m ? "unshift" : "push"](() => {
4582
+ Ge[m ? "unshift" : "push"](() => {
4555
4583
  L = m, r(9, L);
4556
4584
  });
4557
4585
  }
4558
4586
  return e.$$set = (m) => {
4559
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = 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);
4587
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = 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);
4560
4588
  }, e.$$.update = () => {
4561
4589
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4562
- 134218240 && _ && L && Ai(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4563
- 268435968 && B && L && Hi(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4564
- 1073742336 && k && L && Ci(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4565
- 536870912 && M && nr(), e.$$.dirty[0] & /*session*/
4590
+ 134218240 && _ && L && Ti(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4591
+ 268435968 && B && L && Ai(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4592
+ 1073742336 && k && L && Hi(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4593
+ 536870912 && P && nr(), e.$$.dirty[0] & /*session*/
4566
4594
  2097152 && i && ar(), e.$$.dirty[0] & /*status*/
4567
- 1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4568
- 67108866 && a && S && Me(), e.$$.dirty[0] & /*startdate*/
4569
- 4 && o && Oe(), e.$$.dirty[0] & /*scorecriteria*/
4570
- 16777216 && c && Pe();
4595
+ 1 && l && Ie(), e.$$.dirty[0] & /*title, lang*/
4596
+ 67108866 && a && T && Me(), e.$$.dirty[0] & /*startdate*/
4597
+ 4 && o && Be(), e.$$.dirty[0] & /*scorecriteria*/
4598
+ 16777216 && c && Ne();
4571
4599
  }, [
4572
4600
  l,
4573
4601
  a,
4574
4602
  o,
4575
4603
  h,
4576
4604
  f,
4577
- x,
4578
4605
  E,
4606
+ x,
4579
4607
  y,
4580
4608
  d,
4581
4609
  L,
4582
- X,
4583
- J,
4584
- O,
4610
+ W,
4611
+ z,
4585
4612
  N,
4586
- le,
4613
+ M,
4614
+ ue,
4587
4615
  n,
4588
- Oe,
4616
+ Be,
4617
+ Ie,
4589
4618
  Ne,
4590
- Pe,
4591
4619
  ir,
4592
4620
  sr,
4593
4621
  i,
@@ -4595,21 +4623,21 @@ function Mi(e, t, r) {
4595
4623
  u,
4596
4624
  c,
4597
4625
  g,
4598
- S,
4626
+ T,
4599
4627
  _,
4600
4628
  B,
4601
- M,
4629
+ P,
4602
4630
  k,
4603
4631
  or
4604
4632
  ];
4605
4633
  }
4606
- class rr extends Mr {
4634
+ class rr extends Pr {
4607
4635
  constructor(t) {
4608
- super(), Nr(
4636
+ super(), Mr(
4609
4637
  this,
4610
4638
  t,
4639
+ Oi,
4611
4640
  Mi,
4612
- Pi,
4613
4641
  Bt,
4614
4642
  {
4615
4643
  session: 21,
@@ -4632,7 +4660,7 @@ class rr extends Mr {
4632
4660
  translationurl: 29,
4633
4661
  mbsource: 30
4634
4662
  },
4635
- Ii,
4663
+ Bi,
4636
4664
  [-1, -1]
4637
4665
  );
4638
4666
  }
@@ -4751,50 +4779,54 @@ class rr extends Mr {
4751
4779
  this.$$set({ mbsource: t }), C();
4752
4780
  }
4753
4781
  }
4754
- Pr(rr, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4755
- const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4782
+ Or(rr, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4783
+ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4756
4784
  __proto__: null,
4757
4785
  default: rr
4758
4786
  }, Symbol.toStringTag, { value: "Module" }));
4759
4787
  export {
4760
- V as $,
4761
- Ti as A,
4762
- Ai as B,
4763
- Hi as C,
4764
- Ci as D,
4765
- Ui as E,
4766
- $i as F,
4788
+ j as $,
4789
+ de as A,
4790
+ D as B,
4791
+ F as C,
4792
+ Si as D,
4793
+ ee as E,
4794
+ V as F,
4767
4795
  Di as G,
4768
- Gi as H,
4769
- Fi as I,
4770
- ze as J,
4771
- $e as K,
4772
- ji as L,
4773
- Mr as S,
4774
- oe as a,
4775
- Qt as b,
4776
- Pr as c,
4777
- dr as d,
4778
- I as e,
4779
- C as f,
4780
- K as g,
4781
- b as h,
4782
- Nr as i,
4783
- P as j,
4784
- T as k,
4785
- w as l,
4786
- G as m,
4787
- U as n,
4788
- mr as o,
4789
- xr as p,
4790
- je as q,
4791
- pr as r,
4796
+ ki as H,
4797
+ Gi as I,
4798
+ Fi as J,
4799
+ je as K,
4800
+ Ui as L,
4801
+ Ri as M,
4802
+ Fe as N,
4803
+ Vi as O,
4804
+ Pr as S,
4805
+ $i as _,
4806
+ Pe as a,
4807
+ ji as b,
4808
+ Te as c,
4809
+ ae as d,
4810
+ Qt as e,
4811
+ Or as f,
4812
+ C as g,
4813
+ dr as h,
4814
+ Mr as i,
4815
+ w as j,
4816
+ G as k,
4817
+ Y as l,
4818
+ b as m,
4819
+ O as n,
4820
+ A as o,
4821
+ U as p,
4822
+ I as q,
4823
+ mr as r,
4792
4824
  Bt as s,
4793
- ge as t,
4794
- F as u,
4795
- D as v,
4796
- z as w,
4797
- te as x,
4798
- be as y,
4799
- ki as z
4825
+ Er as t,
4826
+ Ai as u,
4827
+ Hi as v,
4828
+ Ge as w,
4829
+ Ti as x,
4830
+ pr as y,
4831
+ be as z
4800
4832
  };