@everymatrix/casino-tournaments-thumbnail-controller 1.76.1 → 1.76.4

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-CnCLHIv_.js → CasinoTournamentsThumbnail-Bc--CoFr.js} +671 -703
  2. package/components/{CasinoTournamentsThumbnail-CNPgQvV0.js → CasinoTournamentsThumbnail-DkKIM4pw.js} +671 -703
  3. package/components/CasinoTournamentsThumbnail-p9EHTztQ.cjs +6 -0
  4. package/components/{CasinoTournamentsThumbnailController-Ct-VHs0N.js → CasinoTournamentsThumbnailController-CTbAnla0.js} +263 -214
  5. package/components/CasinoTournamentsThumbnailController-CbvkX9jG.cjs +16 -0
  6. package/components/{CasinoTournamentsThumbnailController-CZVPhqBH.js → CasinoTournamentsThumbnailController-NqZC1FgH.js} +318 -269
  7. package/components/{CasinoTournamentsThumbnailDuration-CS8jmM5s.js → CasinoTournamentsThumbnailDuration-B_vBmHSH.js} +65 -65
  8. package/components/{CasinoTournamentsThumbnailDuration-Kwk-wnvw.cjs → CasinoTournamentsThumbnailDuration-C1FtYd6r.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-OpBrRPKX.js → CasinoTournamentsThumbnailDuration-ZZxthyPi.js} +65 -65
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-BASDzqjf.cjs → CasinoTournamentsThumbnailGamesSlider-CFUZKTBR.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-CDvugALy.js → CasinoTournamentsThumbnailGamesSlider-Cvorm8VZ.js} +87 -87
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-BzUkX78G.js → CasinoTournamentsThumbnailGamesSlider-DxBwitF7.js} +87 -87
  13. package/components/{CasinoTournamentsThumbnailPrizes-CDP05-CJ.cjs → CasinoTournamentsThumbnailPrizes-BxL4G5lm.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-2LDrpS8P.js → CasinoTournamentsThumbnailPrizes-CFRjJtza.js} +85 -85
  15. package/components/{CasinoTournamentsThumbnailPrizes-StP6a3CF.js → CasinoTournamentsThumbnailPrizes-CFX2aUmz.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-97d17652--F7PvMq9.js +542 -0
  21. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  22. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  23. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  24. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  25. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  26. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  27. package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
  28. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  32. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
  33. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  34. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
  35. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  36. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
  37. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
  38. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  39. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  40. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  41. package/components/CasinoTournamentsThumbnail-CfBqkPCn.cjs +0 -19
  42. package/components/CasinoTournamentsThumbnailController-CQtJyHC1.cjs +0 -3
  43. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  44. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  45. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  46. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
  47. package/stencil/index-b2193545-OH6E7v51.js +0 -519
  48. package/stencil/index-b2193545-eoIiLcDl.js +0 -503
@@ -1,16 +1,16 @@
1
1
  var yr = Object.defineProperty, _r = Object.defineProperties;
2
2
  var vr = Object.getOwnPropertyDescriptors;
3
3
  var at = Object.getOwnPropertySymbols;
4
- var xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4
+ var Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
+ var Re = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- xr.call(t, r) && Pe(e, r, t[r]);
7
+ Er.call(t, r) && Re(e, r, t[r]);
8
8
  if (at)
9
9
  for (var r of at(t))
10
- Er.call(t, r) && Pe(e, r, t[r]);
10
+ xr.call(t, r) && Re(e, r, t[r]);
11
11
  return e;
12
12
  }, ut = (e, t) => _r(e, vr(t));
13
- var U = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var U = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var lt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -27,28 +27,28 @@ var lt = (e, t, r) => new Promise((n, i) => {
27
27
  }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
28
  o((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-CzV3R1-p.js";
31
- import "../stencil/ui-image-CDGN3Ekj.js";
30
+ import "../stencil/ui-skeleton-D8L-WY77.js";
31
+ import "../stencil/ui-image-DgbODkuX.js";
32
32
  function F() {
33
33
  }
34
- function Pt(e) {
34
+ function Mt(e) {
35
35
  return e();
36
36
  }
37
37
  function ht() {
38
38
  return /* @__PURE__ */ Object.create(null);
39
39
  }
40
- function z(e) {
41
- e.forEach(Pt);
40
+ function J(e) {
41
+ e.forEach(Mt);
42
42
  }
43
- function be(e) {
43
+ function ge(e) {
44
44
  return typeof e == "function";
45
45
  }
46
46
  function Lt(e, t) {
47
47
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
48
48
  }
49
- let pe;
50
- function $e(e, t) {
51
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
49
+ let ye;
50
+ function Ve(e, t) {
51
+ return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
52
52
  }
53
53
  function Sr(e) {
54
54
  return Object.keys(e).length === 0;
@@ -65,10 +65,10 @@ function Rt(e, ...t) {
65
65
  function Tr(e, t, r) {
66
66
  e.$$.on_destroy.push(Rt(t, r));
67
67
  }
68
- function ge(e) {
69
- return e && be(e.destroy) ? e.destroy : F;
68
+ function pe(e) {
69
+ return e && ge(e.destroy) ? e.destroy : F;
70
70
  }
71
- function A(e, t) {
71
+ function T(e, t) {
72
72
  e.appendChild(t);
73
73
  }
74
74
  function Ar(e, t, r) {
@@ -89,26 +89,26 @@ function Hr(e) {
89
89
  ) : e.ownerDocument;
90
90
  }
91
91
  function Cr(e, t) {
92
- return A(
92
+ return T(
93
93
  /** @type {Document} */
94
94
  e.head || e,
95
95
  t
96
96
  ), t.sheet;
97
97
  }
98
- function O(e, t, r) {
98
+ function P(e, t, r) {
99
99
  e.insertBefore(t, r || null);
100
100
  }
101
101
  function I(e) {
102
102
  e.parentNode && e.parentNode.removeChild(e);
103
103
  }
104
- function Xi(e, t) {
104
+ function Zi(e, t) {
105
105
  for (let r = 0; r < e.length; r += 1)
106
106
  e[r] && e[r].d(t);
107
107
  }
108
108
  function w(e) {
109
109
  return document.createElement(e);
110
110
  }
111
- function Zi(e) {
111
+ function qi(e) {
112
112
  return document.createElementNS("http://www.w3.org/2000/svg", e);
113
113
  }
114
114
  function D(e) {
@@ -120,13 +120,13 @@ function $() {
120
120
  function wr() {
121
121
  return D("");
122
122
  }
123
- function te(e, t, r, n) {
123
+ function re(e, t, r, n) {
124
124
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
125
125
  }
126
126
  function b(e, t, r) {
127
127
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
128
128
  }
129
- function K(e, t, r) {
129
+ function ee(e, t, r) {
130
130
  const n = t.toLowerCase();
131
131
  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);
132
132
  }
@@ -137,22 +137,22 @@ function G(e, t) {
137
137
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
138
138
  t);
139
139
  }
140
- function qi(e, t, r, n) {
140
+ function Qi(e, t, r, n) {
141
141
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
142
142
  }
143
- let ye;
143
+ let _e;
144
144
  function Ir() {
145
- if (ye === void 0) {
146
- ye = !1;
145
+ if (_e === void 0) {
146
+ _e = !1;
147
147
  try {
148
148
  typeof window != "undefined" && window.parent && window.parent.document;
149
149
  } catch (e) {
150
- ye = !0;
150
+ _e = !0;
151
151
  }
152
152
  }
153
- return ye;
153
+ return _e;
154
154
  }
155
- function Qi(e, t) {
155
+ function Yi(e, t) {
156
156
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
157
157
  const n = w("iframe");
158
158
  n.setAttribute(
@@ -161,7 +161,7 @@ function Qi(e, t) {
161
161
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
162
162
  const i = Ir();
163
163
  let s;
164
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = te(
164
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = re(
165
165
  window,
166
166
  "message",
167
167
  /** @param {MessageEvent} event */
@@ -169,15 +169,15 @@ function Qi(e, t) {
169
169
  a.source === n.contentWindow && t();
170
170
  }
171
171
  )) : (n.src = "about:blank", n.onload = () => {
172
- s = te(n.contentWindow, "resize", t), t();
173
- }), A(e, n), () => {
172
+ s = re(n.contentWindow, "resize", t), t();
173
+ }), T(e, n), () => {
174
174
  (i || s && n.contentWindow) && s(), I(n);
175
175
  };
176
176
  }
177
- function Yi(e, t, r) {
177
+ function Ki(e, t, r) {
178
178
  e.classList.toggle(t, !!r);
179
179
  }
180
- function Nr(e) {
180
+ function Or(e) {
181
181
  const t = {};
182
182
  return e.childNodes.forEach(
183
183
  /** @param {Element} node */
@@ -186,90 +186,90 @@ function Nr(e) {
186
186
  }
187
187
  ), t;
188
188
  }
189
- let fe;
190
- function ce(e) {
191
- fe = e;
189
+ let me;
190
+ function fe(e) {
191
+ me = e;
192
192
  }
193
- function Mr() {
194
- if (!fe)
193
+ function Nr() {
194
+ if (!me)
195
195
  throw new Error("Function called outside component initialization");
196
- return fe;
196
+ return me;
197
197
  }
198
- function Or(e) {
199
- Mr().$$.on_mount.push(e);
198
+ function Pr(e) {
199
+ Nr().$$.on_mount.push(e);
200
200
  }
201
- const Y = [], je = [];
202
- let ee = [];
203
- const ct = [], Pr = /* @__PURE__ */ Promise.resolve();
204
- let Ve = !1;
201
+ const K = [], ze = [];
202
+ let te = [];
203
+ const ct = [], Mr = /* @__PURE__ */ Promise.resolve();
204
+ let Je = !1;
205
205
  function Lr() {
206
- Ve || (Ve = !0, Pr.then(C));
206
+ Je || (Je = !0, Mr.then(C));
207
207
  }
208
- function ze(e) {
209
- ee.push(e);
208
+ function We(e) {
209
+ te.push(e);
210
210
  }
211
- const Le = /* @__PURE__ */ new Set();
212
- let q = 0;
211
+ const De = /* @__PURE__ */ new Set();
212
+ let Q = 0;
213
213
  function C() {
214
- if (q !== 0)
214
+ if (Q !== 0)
215
215
  return;
216
- const e = fe;
216
+ const e = me;
217
217
  do {
218
218
  try {
219
- for (; q < Y.length; ) {
220
- const t = Y[q];
221
- q++, ce(t), Rr(t.$$);
219
+ for (; Q < K.length; ) {
220
+ const t = K[Q];
221
+ Q++, fe(t), Rr(t.$$);
222
222
  }
223
223
  } catch (t) {
224
- throw Y.length = 0, q = 0, t;
224
+ throw K.length = 0, Q = 0, t;
225
225
  }
226
- for (ce(null), Y.length = 0, q = 0; je.length; )
227
- je.pop()();
228
- for (let t = 0; t < ee.length; t += 1) {
229
- const r = ee[t];
230
- Le.has(r) || (Le.add(r), r());
226
+ for (fe(null), K.length = 0, Q = 0; ze.length; )
227
+ ze.pop()();
228
+ for (let t = 0; t < te.length; t += 1) {
229
+ const r = te[t];
230
+ De.has(r) || (De.add(r), r());
231
231
  }
232
- ee.length = 0;
233
- } while (Y.length);
232
+ te.length = 0;
233
+ } while (K.length);
234
234
  for (; ct.length; )
235
235
  ct.pop()();
236
- Ve = !1, Le.clear(), ce(e);
236
+ Je = !1, De.clear(), fe(e);
237
237
  }
238
238
  function Rr(e) {
239
239
  if (e.fragment !== null) {
240
- e.update(), z(e.before_update);
240
+ e.update(), J(e.before_update);
241
241
  const t = e.dirty;
242
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
242
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
243
243
  }
244
244
  }
245
245
  function Dr(e) {
246
246
  const t = [], r = [];
247
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
247
+ te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
248
248
  }
249
249
  const kr = /* @__PURE__ */ new Set();
250
250
  function Ur(e, t) {
251
251
  e && e.i && (kr.delete(e), e.i(t));
252
252
  }
253
- function Ki(e) {
253
+ function es(e) {
254
254
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
255
255
  }
256
256
  function Fr(e, t, r) {
257
257
  const { fragment: n, after_update: i } = e.$$;
258
- n && n.m(t, r), ze(() => {
259
- const s = e.$$.on_mount.map(Pt).filter(be);
260
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
261
- }), i.forEach(ze);
258
+ n && n.m(t, r), We(() => {
259
+ const s = e.$$.on_mount.map(Mt).filter(ge);
260
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : J(s), e.$$.on_mount = [];
261
+ }), i.forEach(We);
262
262
  }
263
263
  function Gr(e, t) {
264
264
  const r = e.$$;
265
- r.fragment !== null && (Dr(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
265
+ r.fragment !== null && (Dr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
266
266
  }
267
267
  function $r(e, t) {
268
- e.$$.dirty[0] === -1 && (Y.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
268
+ e.$$.dirty[0] === -1 && (K.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
269
  }
270
270
  function jr(e, t, r, n, i, s, a = null, o = [-1]) {
271
- const l = fe;
272
- ce(e);
271
+ const l = me;
272
+ fe(e);
273
273
  const u = e.$$ = {
274
274
  fragment: null,
275
275
  ctx: [],
@@ -293,10 +293,10 @@ function jr(e, t, r, n, i, s, a = null, o = [-1]) {
293
293
  };
294
294
  a && a(u.root);
295
295
  let h = !1;
296
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
297
- const x = E.length ? E[0] : c;
298
- return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), h && $r(e, f)), c;
299
- }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
296
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
297
+ const E = x.length ? x[0] : c;
298
+ return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && $r(e, f)), c;
299
+ }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
300
300
  if (t.hydrate) {
301
301
  const f = Br(t.target);
302
302
  u.fragment && u.fragment.l(f), f.forEach(I);
@@ -304,7 +304,7 @@ function jr(e, t, r, n, i, s, a = null, o = [-1]) {
304
304
  u.fragment && u.fragment.c();
305
305
  t.intro && Ur(e.$$.fragment), Fr(e, t.target, t.anchor), C();
306
306
  }
307
- ce(l);
307
+ fe(l);
308
308
  }
309
309
  let Dt;
310
310
  typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
358
358
  * @param {HTMLElement} [anchor]
359
359
  */
360
360
  m: function(u, h) {
361
- O(u, a, h);
361
+ P(u, a, h);
362
362
  },
363
363
  d: function(u) {
364
364
  u && I(a);
@@ -368,12 +368,12 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
368
368
  };
369
369
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
370
370
  return;
371
- const r = {}, n = Nr(this);
371
+ const r = {}, n = Or(this);
372
372
  for (const s of this.$$s)
373
373
  s in n && (r[s] = [t(s)]);
374
374
  for (const s of this.attributes) {
375
375
  const a = this.$$g_p(s.name);
376
- a in this.$$d || (this.$$d[a] = ve(a, s.value, this.$$p_d, "toProp"));
376
+ a in this.$$d || (this.$$d[a] = Ee(a, s.value, this.$$p_d, "toProp"));
377
377
  }
378
378
  for (const s in this.$$p_d)
379
379
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -390,7 +390,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
390
390
  this.$$r = !0;
391
391
  for (const s in this.$$p_d)
392
392
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
393
- const a = ve(
393
+ const a = Ee(
394
394
  s,
395
395
  this.$$d[s],
396
396
  this.$$p_d,
@@ -414,7 +414,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
414
414
  // and setting attributes through setAttribute etc, this is helpful
415
415
  attributeChangedCallback(t, r, n) {
416
416
  var i;
417
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
417
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
418
418
  }
419
419
  disconnectedCallback() {
420
420
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
427
427
  ) || t;
428
428
  }
429
429
  });
430
- function ve(e, t, r, n) {
430
+ function Ee(e, t, r, n) {
431
431
  var s;
432
432
  const i = (s = r[e]) == null ? void 0 : s.type;
433
433
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -475,7 +475,7 @@ function Vr(e, t, r, n, i, s) {
475
475
  },
476
476
  set(l) {
477
477
  var u;
478
- l = ve(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
478
+ l = Ee(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
479
479
  }
480
480
  });
481
481
  }), n.forEach((o) => {
@@ -518,7 +518,7 @@ class zr {
518
518
  * @returns {() => void}
519
519
  */
520
520
  $on(t, r) {
521
- if (!be(r))
521
+ if (!ge(r))
522
522
  return F;
523
523
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
524
524
  return n.push(r), () => {
@@ -536,112 +536,24 @@ class zr {
536
536
  }
537
537
  const Jr = "4";
538
538
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
539
- /*! *****************************************************************************
540
- Copyright (c) Microsoft Corporation.
541
-
542
- Permission to use, copy, modify, and/or distribute this software for any
543
- purpose with or without fee is hereby granted.
544
-
545
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
546
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
547
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
548
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
549
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
550
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
551
- PERFORMANCE OF THIS SOFTWARE.
552
- ***************************************************************************** */
553
- var Je = function(e, t) {
554
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
555
- r.__proto__ = n;
556
- } || function(r, n) {
557
- for (var i in n)
558
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
559
- }, Je(e, t);
560
- };
561
- function Ae(e, t) {
562
- if (typeof t != "function" && t !== null)
563
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
564
- Je(e, t);
565
- function r() {
566
- this.constructor = e;
567
- }
568
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
569
- }
570
- var S = function() {
571
- return S = Object.assign || function(t) {
572
- for (var r, n = 1, i = arguments.length; n < i; n++) {
573
- r = arguments[n];
574
- for (var s in r)
575
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
576
- }
577
- return t;
578
- }, S.apply(this, arguments);
579
- };
539
+ const Y = [];
580
540
  function Wr(e, t) {
581
- var r = {};
582
- for (var n in e)
583
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
584
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
585
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
586
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
587
- return r;
588
- }
589
- function es(e) {
590
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
591
- if (r)
592
- return r.call(e);
593
- if (e && typeof e.length == "number")
594
- return {
595
- next: function() {
596
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
597
- }
598
- };
599
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
600
- }
601
- function ts(e, t) {
602
- var r = typeof Symbol == "function" && e[Symbol.iterator];
603
- if (!r)
604
- return e;
605
- var n = r.call(e), i, s = [], a;
606
- try {
607
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
608
- s.push(i.value);
609
- } catch (o) {
610
- a = { error: o };
611
- } finally {
612
- try {
613
- i && !i.done && (r = n.return) && r.call(n);
614
- } finally {
615
- if (a)
616
- throw a.error;
617
- }
618
- }
619
- return s;
620
- }
621
- function Re(e, t, r) {
622
- if (r || arguments.length === 2)
623
- for (var n = 0, i = t.length, s; n < i; n++)
624
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
625
- return e.concat(s || t);
626
- }
627
- const Q = [];
628
- function Xr(e, t) {
629
541
  return {
630
- subscribe: He(e, t).subscribe
542
+ subscribe: Ce(e, t).subscribe
631
543
  };
632
544
  }
633
- function He(e, t = F) {
545
+ function Ce(e, t = F) {
634
546
  let r;
635
547
  const n = /* @__PURE__ */ new Set();
636
548
  function i(o) {
637
549
  if (Lt(e, o) && (e = o, r)) {
638
- const l = !Q.length;
550
+ const l = !Y.length;
639
551
  for (const u of n)
640
- u[1](), Q.push(u, e);
552
+ u[1](), Y.push(u, e);
641
553
  if (l) {
642
- for (let u = 0; u < Q.length; u += 2)
643
- Q[u][0](Q[u + 1]);
644
- Q.length = 0;
554
+ for (let u = 0; u < Y.length; u += 2)
555
+ Y[u][0](Y[u + 1]);
556
+ Y.length = 0;
645
557
  }
646
558
  }
647
559
  }
@@ -656,12 +568,12 @@ function He(e, t = F) {
656
568
  }
657
569
  return { set: i, update: s, subscribe: a };
658
570
  }
659
- function ae(e, t, r) {
571
+ function oe(e, t, r) {
660
572
  const n = !Array.isArray(e), i = n ? [e] : e;
661
573
  if (!i.every(Boolean))
662
574
  throw new Error("derived() expects stores as input, got a falsy value");
663
575
  const s = t.length < 2;
664
- return Xr(r, (a, o) => {
576
+ return Wr(r, (a, o) => {
665
577
  let l = !1;
666
578
  const u = [];
667
579
  let h = 0, f = F;
@@ -669,11 +581,11 @@ function ae(e, t, r) {
669
581
  if (h)
670
582
  return;
671
583
  f();
672
- const x = t(n ? u[0] : u, a, o);
673
- s ? a(x) : f = be(x) ? x : F;
674
- }, E = i.map(
675
- (x, g) => Rt(
676
- x,
584
+ const E = t(n ? u[0] : u, a, o);
585
+ s ? a(E) : f = ge(E) ? E : F;
586
+ }, x = i.map(
587
+ (E, g) => Rt(
588
+ E,
677
589
  (y) => {
678
590
  u[g] = y, h &= ~(1 << g), l && c();
679
591
  },
@@ -683,51 +595,51 @@ function ae(e, t, r) {
683
595
  )
684
596
  );
685
597
  return l = !0, c(), function() {
686
- z(E), f(), l = !1;
598
+ J(x), f(), l = !1;
687
599
  };
688
600
  });
689
601
  }
690
- function Zr(e) {
602
+ function Xr(e) {
691
603
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
692
604
  }
693
- var qr = function(t) {
694
- return Qr(t) && !Yr(t);
605
+ var Zr = function(t) {
606
+ return qr(t) && !Qr(t);
695
607
  };
696
- function Qr(e) {
608
+ function qr(e) {
697
609
  return !!e && typeof e == "object";
698
610
  }
699
- function Yr(e) {
611
+ function Qr(e) {
700
612
  var t = Object.prototype.toString.call(e);
701
- return t === "[object RegExp]" || t === "[object Date]" || tn(e);
613
+ return t === "[object RegExp]" || t === "[object Date]" || en(e);
702
614
  }
703
- var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
704
- function tn(e) {
705
- return e.$$typeof === en;
615
+ var Yr = typeof Symbol == "function" && Symbol.for, Kr = Yr ? Symbol.for("react.element") : 60103;
616
+ function en(e) {
617
+ return e.$$typeof === Kr;
706
618
  }
707
- function rn(e) {
619
+ function tn(e) {
708
620
  return Array.isArray(e) ? [] : {};
709
621
  }
710
- function me(e, t) {
711
- return t.clone !== !1 && t.isMergeableObject(e) ? re(rn(e), e, t) : e;
622
+ function de(e, t) {
623
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(tn(e), e, t) : e;
712
624
  }
713
- function nn(e, t, r) {
625
+ function rn(e, t, r) {
714
626
  return e.concat(t).map(function(n) {
715
- return me(n, r);
627
+ return de(n, r);
716
628
  });
717
629
  }
718
- function sn(e, t) {
630
+ function nn(e, t) {
719
631
  if (!t.customMerge)
720
- return re;
632
+ return ne;
721
633
  var r = t.customMerge(e);
722
- return typeof r == "function" ? r : re;
634
+ return typeof r == "function" ? r : ne;
723
635
  }
724
- function an(e) {
636
+ function sn(e) {
725
637
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
726
638
  return Object.propertyIsEnumerable.call(e, t);
727
639
  }) : [];
728
640
  }
729
641
  function ft(e) {
730
- return Object.keys(e).concat(an(e));
642
+ return Object.keys(e).concat(sn(e));
731
643
  }
732
644
  function kt(e, t) {
733
645
  try {
@@ -736,33 +648,75 @@ function kt(e, t) {
736
648
  return !1;
737
649
  }
738
650
  }
739
- function on(e, t) {
651
+ function an(e, t) {
740
652
  return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
741
653
  }
742
- function un(e, t, r) {
654
+ function on(e, t, r) {
743
655
  var n = {};
744
656
  return r.isMergeableObject(e) && ft(e).forEach(function(i) {
745
- n[i] = me(e[i], r);
657
+ n[i] = de(e[i], r);
746
658
  }), ft(t).forEach(function(i) {
747
- on(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
659
+ an(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = nn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
748
660
  }), n;
749
661
  }
750
- function re(e, t, r) {
751
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = me;
662
+ function ne(e, t, r) {
663
+ r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = de;
752
664
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
753
- return s ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : me(t, r);
665
+ return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : de(t, r);
754
666
  }
755
- re.all = function(t, r) {
667
+ ne.all = function(t, r) {
756
668
  if (!Array.isArray(t))
757
669
  throw new Error("first argument should be an array");
758
670
  return t.reduce(function(n, i) {
759
- return re(n, i, r);
671
+ return ne(n, i, r);
760
672
  }, {});
761
673
  };
762
- var ln = re, hn = ln;
763
- const cn = /* @__PURE__ */ Zr(hn);
764
- function De(e, t) {
765
- var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : mn;
674
+ var un = ne, ln = un;
675
+ const hn = /* @__PURE__ */ Xr(ln);
676
+ var Xe = function(e, t) {
677
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
678
+ r.__proto__ = n;
679
+ } || function(r, n) {
680
+ for (var i in n)
681
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
682
+ }, Xe(e, t);
683
+ };
684
+ function we(e, t) {
685
+ if (typeof t != "function" && t !== null)
686
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
687
+ Xe(e, t);
688
+ function r() {
689
+ this.constructor = e;
690
+ }
691
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
692
+ }
693
+ var j = function() {
694
+ return j = Object.assign || function(t) {
695
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
696
+ r = arguments[n];
697
+ for (var s in r)
698
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
699
+ }
700
+ return t;
701
+ }, j.apply(this, arguments);
702
+ };
703
+ function cn(e, t) {
704
+ var r = {};
705
+ for (var n in e)
706
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
707
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
708
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
709
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
710
+ return r;
711
+ }
712
+ function ke(e, t, r) {
713
+ if (r || arguments.length === 2)
714
+ for (var n = 0, i = t.length, s; n < i; n++)
715
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
716
+ return e.concat(s || Array.prototype.slice.call(t));
717
+ }
718
+ function Ue(e, t) {
719
+ var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : dn;
766
720
  return i(e, {
767
721
  cache: r,
768
722
  serializer: n
@@ -771,95 +725,103 @@ function De(e, t) {
771
725
  function fn(e) {
772
726
  return e == null || typeof e == "number" || typeof e == "boolean";
773
727
  }
774
- function Ut(e, t, r, n) {
728
+ function mn(e, t, r, n) {
775
729
  var i = fn(n) ? n : r(n), s = t.get(i);
776
730
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
777
731
  }
778
- function Ft(e, t, r) {
732
+ function Ut(e, t, r) {
779
733
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
780
734
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
781
735
  }
782
- function tt(e, t, r, n, i) {
736
+ function Ft(e, t, r, n, i) {
783
737
  return r.bind(t, e, n, i);
784
738
  }
785
- function mn(e, t) {
786
- var r = e.length === 1 ? Ut : Ft;
787
- return tt(e, this, r, t.cache.create(), t.serializer);
788
- }
789
739
  function dn(e, t) {
790
- return tt(e, this, Ft, t.cache.create(), t.serializer);
740
+ var r = e.length === 1 ? mn : Ut;
741
+ return Ft(e, this, r, t.cache.create(), t.serializer);
791
742
  }
792
743
  function bn(e, t) {
793
- return tt(e, this, Ut, t.cache.create(), t.serializer);
744
+ return Ft(e, this, Ut, t.cache.create(), t.serializer);
794
745
  }
795
746
  var gn = function() {
796
747
  return JSON.stringify(arguments);
797
- };
798
- function rt() {
799
- this.cache = /* @__PURE__ */ Object.create(null);
800
- }
801
- rt.prototype.get = function(e) {
802
- return this.cache[e];
803
- };
804
- rt.prototype.set = function(e, t) {
805
- this.cache[e] = t;
806
- };
807
- var pn = {
748
+ }, pn = (
749
+ /** @class */
750
+ function() {
751
+ function e() {
752
+ this.cache = /* @__PURE__ */ Object.create(null);
753
+ }
754
+ return e.prototype.get = function(t) {
755
+ return this.cache[t];
756
+ }, e.prototype.set = function(t, r) {
757
+ this.cache[t] = r;
758
+ }, e;
759
+ }()
760
+ ), yn = {
808
761
  create: function() {
809
- return new rt();
762
+ return new pn();
810
763
  }
811
- }, ke = {
812
- variadic: dn,
813
- monadic: bn
814
- }, p;
764
+ }, Fe = {
765
+ variadic: bn
766
+ }, Te = function() {
767
+ return Te = Object.assign || function(t) {
768
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
769
+ r = arguments[n];
770
+ for (var s in r)
771
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
772
+ }
773
+ return t;
774
+ }, Te.apply(this, arguments);
775
+ };
776
+ var p;
815
777
  (function(e) {
816
778
  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";
817
779
  })(p || (p = {}));
818
- var H;
780
+ var A;
819
781
  (function(e) {
820
782
  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";
821
- })(H || (H = {}));
822
- var ne;
783
+ })(A || (A = {}));
784
+ var ie;
823
785
  (function(e) {
824
786
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
825
- })(ne || (ne = {}));
787
+ })(ie || (ie = {}));
826
788
  function mt(e) {
827
- return e.type === H.literal;
789
+ return e.type === A.literal;
828
790
  }
829
- function yn(e) {
830
- return e.type === H.argument;
791
+ function _n(e) {
792
+ return e.type === A.argument;
831
793
  }
832
794
  function Gt(e) {
833
- return e.type === H.number;
795
+ return e.type === A.number;
834
796
  }
835
797
  function $t(e) {
836
- return e.type === H.date;
798
+ return e.type === A.date;
837
799
  }
838
800
  function jt(e) {
839
- return e.type === H.time;
801
+ return e.type === A.time;
840
802
  }
841
803
  function Vt(e) {
842
- return e.type === H.select;
804
+ return e.type === A.select;
843
805
  }
844
806
  function zt(e) {
845
- return e.type === H.plural;
807
+ return e.type === A.plural;
846
808
  }
847
- function _n(e) {
848
- return e.type === H.pound;
809
+ function vn(e) {
810
+ return e.type === A.pound;
849
811
  }
850
812
  function Jt(e) {
851
- return e.type === H.tag;
813
+ return e.type === A.tag;
852
814
  }
853
815
  function Wt(e) {
854
- return !!(e && typeof e == "object" && e.type === ne.number);
816
+ return !!(e && typeof e == "object" && e.type === ie.number);
855
817
  }
856
- function We(e) {
857
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
818
+ function Ze(e) {
819
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
858
820
  }
859
- var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
821
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
860
822
  function xn(e) {
861
823
  var t = {};
862
- return e.replace(vn, function(r) {
824
+ return e.replace(En, function(r) {
863
825
  var n = r.length;
864
826
  switch (r[0]) {
865
827
  case "G":
@@ -948,11 +910,21 @@ function xn(e) {
948
910
  return "";
949
911
  }), t;
950
912
  }
951
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
952
- function Sn(e) {
913
+ var H = function() {
914
+ return H = Object.assign || function(t) {
915
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
916
+ r = arguments[n];
917
+ for (var s in r)
918
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
919
+ }
920
+ return t;
921
+ }, H.apply(this, arguments);
922
+ };
923
+ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
924
+ function Tn(e) {
953
925
  if (e.length === 0)
954
926
  throw new Error("Number skeleton cannot be empty");
955
- for (var t = e.split(En).filter(function(c) {
927
+ for (var t = e.split(Sn).filter(function(c) {
956
928
  return c.length > 0;
957
929
  }), r = [], n = 0, i = t; n < i.length; n++) {
958
930
  var s = i[n], a = s.split("/");
@@ -967,10 +939,10 @@ function Sn(e) {
967
939
  }
968
940
  return r;
969
941
  }
970
- function Tn(e) {
942
+ function An(e) {
971
943
  return e.replace(/^(.*?)-/, "");
972
944
  }
973
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
945
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
974
946
  function bt(e) {
975
947
  var t = {};
976
948
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
@@ -1017,7 +989,7 @@ function Qt(e) {
1017
989
  };
1018
990
  }
1019
991
  }
1020
- function Hn(e) {
992
+ function Cn(e) {
1021
993
  var t;
1022
994
  if (e[0] === "E" && e[1] === "E" ? (t = {
1023
995
  notation: "engineering"
@@ -1035,7 +1007,7 @@ function gt(e) {
1035
1007
  var t = {}, r = Qt(e);
1036
1008
  return r || t;
1037
1009
  }
1038
- function Cn(e) {
1010
+ function wn(e) {
1039
1011
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1040
1012
  var i = n[r];
1041
1013
  switch (i.stem) {
@@ -1059,7 +1031,7 @@ function Cn(e) {
1059
1031
  continue;
1060
1032
  case "measure-unit":
1061
1033
  case "unit":
1062
- t.style = "unit", t.unit = Tn(i.options[0]);
1034
+ t.style = "unit", t.unit = An(i.options[0]);
1063
1035
  continue;
1064
1036
  case "compact-short":
1065
1037
  case "K":
@@ -1070,13 +1042,13 @@ function Cn(e) {
1070
1042
  t.notation = "compact", t.compactDisplay = "long";
1071
1043
  continue;
1072
1044
  case "scientific":
1073
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1074
- return S(S({}, l), gt(u));
1045
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1046
+ return H(H({}, l), gt(u));
1075
1047
  }, {}));
1076
1048
  continue;
1077
1049
  case "engineering":
1078
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1079
- return S(S({}, l), gt(u));
1050
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1051
+ return H(H({}, l), gt(u));
1080
1052
  }, {}));
1081
1053
  continue;
1082
1054
  case "notation-simple":
@@ -1121,13 +1093,13 @@ function Cn(e) {
1121
1093
  case "integer-width":
1122
1094
  if (i.options.length > 1)
1123
1095
  throw new RangeError("integer-width stems only accept a single optional option");
1124
- i.options[0].replace(An, function(l, u, h, f, c, E) {
1096
+ i.options[0].replace(Hn, function(l, u, h, f, c, x) {
1125
1097
  if (u)
1126
1098
  t.minimumIntegerDigits = h.length;
1127
1099
  else {
1128
1100
  if (f && c)
1129
1101
  throw new Error("We currently do not support maximum integer digits");
1130
- if (E)
1102
+ if (x)
1131
1103
  throw new Error("We currently do not support exact integer digits");
1132
1104
  }
1133
1105
  return "";
@@ -1141,25 +1113,25 @@ function Cn(e) {
1141
1113
  if (dt.test(i.stem)) {
1142
1114
  if (i.options.length > 1)
1143
1115
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1144
- i.stem.replace(dt, function(l, u, h, f, c, E) {
1145
- 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), "";
1116
+ i.stem.replace(dt, function(l, u, h, f, c, x) {
1117
+ 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), "";
1146
1118
  });
1147
1119
  var s = i.options[0];
1148
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), bt(s)));
1120
+ s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), bt(s)));
1149
1121
  continue;
1150
1122
  }
1151
1123
  if (Zt.test(i.stem)) {
1152
- t = S(S({}, t), bt(i.stem));
1124
+ t = H(H({}, t), bt(i.stem));
1153
1125
  continue;
1154
1126
  }
1155
1127
  var a = Qt(i.stem);
1156
- a && (t = S(S({}, t), a));
1157
- var o = Hn(i.stem);
1158
- o && (t = S(S({}, t), o));
1128
+ a && (t = H(H({}, t), a));
1129
+ var o = Cn(i.stem);
1130
+ o && (t = H(H({}, t), o));
1159
1131
  }
1160
1132
  return t;
1161
1133
  }
1162
- var _e = {
1134
+ var ve = {
1163
1135
  "001": [
1164
1136
  "H",
1165
1137
  "h"
@@ -2574,13 +2546,13 @@ var _e = {
2574
2546
  "h"
2575
2547
  ]
2576
2548
  };
2577
- function wn(e, t) {
2549
+ function Bn(e, t) {
2578
2550
  for (var r = "", n = 0; n < e.length; n++) {
2579
2551
  var i = e.charAt(n);
2580
2552
  if (i === "j") {
2581
2553
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2582
2554
  s++, n++;
2583
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Bn(t);
2555
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = In(t);
2584
2556
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2585
2557
  r += l;
2586
2558
  for (; a-- > 0; )
@@ -2590,7 +2562,7 @@ function wn(e, t) {
2590
2562
  }
2591
2563
  return r;
2592
2564
  }
2593
- function Bn(e) {
2565
+ function In(e) {
2594
2566
  var t = e.hourCycle;
2595
2567
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2596
2568
  e.hourCycles && // @ts-ignore
@@ -2609,23 +2581,23 @@ function Bn(e) {
2609
2581
  }
2610
2582
  var r = e.language, n;
2611
2583
  r !== "root" && (n = e.maximize().region);
2612
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
2584
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2613
2585
  return i[0];
2614
2586
  }
2615
- var Ue, In = new RegExp("^".concat(Xt.source, "*")), Nn = new RegExp("".concat(Xt.source, "*$"));
2587
+ var Ge, On = new RegExp("^".concat(Xt.source, "*")), Nn = new RegExp("".concat(Xt.source, "*$"));
2616
2588
  function v(e, t) {
2617
2589
  return { start: e, end: t };
2618
2590
  }
2619
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, Pn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Un = kn ? Number.isSafeInteger : function(e) {
2591
+ var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Fn = Un ? Number.isSafeInteger : function(e) {
2620
2592
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2621
- }, Xe = !0;
2593
+ }, qe = !0;
2622
2594
  try {
2623
- var Fn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
- Xe = ((Ue = Fn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2595
+ var Gn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
+ qe = ((Ge = Gn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2625
2597
  } catch (e) {
2626
- Xe = !1;
2598
+ qe = !1;
2627
2599
  }
2628
- var pt = Mn ? (
2600
+ var pt = Pn ? (
2629
2601
  // Native
2630
2602
  function(t, r, n) {
2631
2603
  return t.startsWith(r, n);
@@ -2635,7 +2607,7 @@ var pt = Mn ? (
2635
2607
  function(t, r, n) {
2636
2608
  return t.slice(n, n + r.length) === r;
2637
2609
  }
2638
- ), Ze = On ? String.fromCodePoint : (
2610
+ ), Qe = Mn ? String.fromCodePoint : (
2639
2611
  // IE11
2640
2612
  function() {
2641
2613
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2649,7 +2621,7 @@ var pt = Mn ? (
2649
2621
  }
2650
2622
  ), yt = (
2651
2623
  // native
2652
- Pn ? Object.fromEntries : (
2624
+ Ln ? Object.fromEntries : (
2653
2625
  // Ponyfill
2654
2626
  function(t) {
2655
2627
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2659,7 +2631,7 @@ var pt = Mn ? (
2659
2631
  return r;
2660
2632
  }
2661
2633
  )
2662
- ), Yt = Ln ? (
2634
+ ), Yt = Rn ? (
2663
2635
  // Native
2664
2636
  function(t, r) {
2665
2637
  return t.codePointAt(r);
@@ -2673,7 +2645,7 @@ var pt = Mn ? (
2673
2645
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2674
2646
  }
2675
2647
  }
2676
- ), Gn = Rn ? (
2648
+ ), $n = Dn ? (
2677
2649
  // Native
2678
2650
  function(t) {
2679
2651
  return t.trimStart();
@@ -2681,9 +2653,9 @@ var pt = Mn ? (
2681
2653
  ) : (
2682
2654
  // Ponyfill
2683
2655
  function(t) {
2684
- return t.replace(In, "");
2656
+ return t.replace(On, "");
2685
2657
  }
2686
- ), $n = Dn ? (
2658
+ ), jn = kn ? (
2687
2659
  // Native
2688
2660
  function(t) {
2689
2661
  return t.trimEnd();
@@ -2697,26 +2669,26 @@ var pt = Mn ? (
2697
2669
  function Kt(e, t) {
2698
2670
  return new RegExp(e, t);
2699
2671
  }
2700
- var qe;
2701
- if (Xe) {
2672
+ var Ye;
2673
+ if (qe) {
2702
2674
  var _t = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2703
- qe = function(t, r) {
2675
+ Ye = function(t, r) {
2704
2676
  var n;
2705
2677
  _t.lastIndex = r;
2706
2678
  var i = _t.exec(t);
2707
2679
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2708
2680
  };
2709
2681
  } else
2710
- qe = function(t, r) {
2682
+ Ye = function(t, r) {
2711
2683
  for (var n = []; ; ) {
2712
2684
  var i = Yt(t, r);
2713
- if (i === void 0 || er(i) || Jn(i))
2685
+ if (i === void 0 || er(i) || Wn(i))
2714
2686
  break;
2715
2687
  n.push(i), r += i >= 65536 ? 2 : 1;
2716
2688
  }
2717
- return Ze.apply(void 0, n);
2689
+ return Qe.apply(void 0, n);
2718
2690
  };
2719
- var jn = (
2691
+ var Vn = (
2720
2692
  /** @class */
2721
2693
  function() {
2722
2694
  function e(t, r) {
@@ -2740,14 +2712,14 @@ var jn = (
2740
2712
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2741
2713
  var o = this.clonePosition();
2742
2714
  this.bump(), i.push({
2743
- type: H.pound,
2715
+ type: A.pound,
2744
2716
  location: v(o, this.clonePosition())
2745
2717
  });
2746
2718
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2747
2719
  if (n)
2748
2720
  break;
2749
2721
  return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2750
- } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2722
+ } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2751
2723
  var a = this.parseTag(t, r);
2752
2724
  if (a.err)
2753
2725
  return a;
@@ -2768,7 +2740,7 @@ var jn = (
2768
2740
  if (this.bumpSpace(), this.bumpIf("/>"))
2769
2741
  return {
2770
2742
  val: {
2771
- type: H.literal,
2743
+ type: A.literal,
2772
2744
  value: "<".concat(i, "/>"),
2773
2745
  location: v(n, this.clonePosition())
2774
2746
  },
@@ -2780,12 +2752,12 @@ var jn = (
2780
2752
  return s;
2781
2753
  var a = s.val, o = this.clonePosition();
2782
2754
  if (this.bumpIf("</")) {
2783
- if (this.isEOF() || !Qe(this.char()))
2755
+ if (this.isEOF() || !Ke(this.char()))
2784
2756
  return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2785
2757
  var l = this.clonePosition(), u = this.parseTagName();
2786
2758
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2787
2759
  val: {
2788
- type: H.tag,
2760
+ type: A.tag,
2789
2761
  value: i,
2790
2762
  children: a,
2791
2763
  location: v(n, this.clonePosition())
@@ -2798,7 +2770,7 @@ var jn = (
2798
2770
  return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2799
2771
  }, e.prototype.parseTagName = function() {
2800
2772
  var t = this.offset();
2801
- for (this.bump(); !this.isEOF() && zn(this.char()); )
2773
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
2802
2774
  this.bump();
2803
2775
  return this.message.slice(t, this.offset());
2804
2776
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2822,12 +2794,12 @@ var jn = (
2822
2794
  }
2823
2795
  var l = v(n, this.clonePosition());
2824
2796
  return {
2825
- val: { type: H.literal, value: i, location: l },
2797
+ val: { type: A.literal, value: i, location: l },
2826
2798
  err: null
2827
2799
  };
2828
2800
  }, e.prototype.tryParseLeftAngleBracket = function() {
2829
2801
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2830
- !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
2802
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2831
2803
  }, e.prototype.tryParseQuote = function(t) {
2832
2804
  if (this.isEOF() || this.char() !== 39)
2833
2805
  return null;
@@ -2861,12 +2833,12 @@ var jn = (
2861
2833
  r.push(n);
2862
2834
  this.bump();
2863
2835
  }
2864
- return Ze.apply(void 0, r);
2836
+ return Qe.apply(void 0, r);
2865
2837
  }, e.prototype.tryParseUnquoted = function(t, r) {
2866
2838
  if (this.isEOF())
2867
2839
  return null;
2868
2840
  var n = this.char();
2869
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2841
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2870
2842
  }, e.prototype.parseArgument = function(t, r) {
2871
2843
  var n = this.clonePosition();
2872
2844
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2882,7 +2854,7 @@ var jn = (
2882
2854
  case 125:
2883
2855
  return this.bump(), {
2884
2856
  val: {
2885
- type: H.argument,
2857
+ type: A.argument,
2886
2858
  // value does not include the opening and closing braces.
2887
2859
  value: i,
2888
2860
  location: v(n, this.clonePosition())
@@ -2895,7 +2867,7 @@ var jn = (
2895
2867
  return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2896
2868
  }
2897
2869
  }, e.prototype.parseIdentifierIfPossible = function() {
2898
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2870
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2899
2871
  this.bumpTo(i);
2900
2872
  var s = this.clonePosition(), a = v(t, s);
2901
2873
  return { value: n, location: a };
@@ -2914,35 +2886,35 @@ var jn = (
2914
2886
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2915
2887
  if (f.err)
2916
2888
  return f;
2917
- var c = $n(f.val);
2889
+ var c = jn(f.val);
2918
2890
  if (c.length === 0)
2919
2891
  return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2920
- var E = v(h, this.clonePosition());
2921
- u = { style: c, styleLocation: E };
2892
+ var x = v(h, this.clonePosition());
2893
+ u = { style: c, styleLocation: x };
2922
2894
  }
2923
- var x = this.tryParseArgumentClose(i);
2924
- if (x.err)
2925
- return x;
2895
+ var E = this.tryParseArgumentClose(i);
2896
+ if (E.err)
2897
+ return E;
2926
2898
  var g = v(i, this.clonePosition());
2927
2899
  if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
2928
- var y = Gn(u.style.slice(2));
2900
+ var y = $n(u.style.slice(2));
2929
2901
  if (o === "number") {
2930
2902
  var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2931
2903
  return f.err ? f : {
2932
- val: { type: H.number, value: n, location: g, style: f.val },
2904
+ val: { type: A.number, value: n, location: g, style: f.val },
2933
2905
  err: null
2934
2906
  };
2935
2907
  } else {
2936
2908
  if (y.length === 0)
2937
2909
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2938
- var T = y;
2939
- this.locale && (T = wn(y, this.locale));
2910
+ var S = y;
2911
+ this.locale && (S = Bn(y, this.locale));
2940
2912
  var c = {
2941
- type: ne.dateTime,
2942
- pattern: T,
2913
+ type: ie.dateTime,
2914
+ pattern: S,
2943
2915
  location: u.styleLocation,
2944
- parsedOptions: this.shouldParseSkeletons ? xn(T) : {}
2945
- }, d = o === "date" ? H.date : H.time;
2916
+ parsedOptions: this.shouldParseSkeletons ? xn(S) : {}
2917
+ }, d = o === "date" ? A.date : A.time;
2946
2918
  return {
2947
2919
  val: { type: d, value: n, location: g, style: c },
2948
2920
  err: null
@@ -2951,7 +2923,7 @@ var jn = (
2951
2923
  }
2952
2924
  return {
2953
2925
  val: {
2954
- type: o === "number" ? H.number : o === "date" ? H.date : H.time,
2926
+ type: o === "number" ? A.number : o === "date" ? A.date : A.time,
2955
2927
  value: n,
2956
2928
  location: g,
2957
2929
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2964,9 +2936,9 @@ var jn = (
2964
2936
  case "select": {
2965
2937
  var _ = this.clonePosition();
2966
2938
  if (this.bumpSpace(), !this.bumpIf(","))
2967
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, S({}, _)));
2939
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Te({}, _)));
2968
2940
  this.bumpSpace();
2969
- var B = this.parseIdentifierIfPossible(), P = 0;
2941
+ var B = this.parseIdentifierIfPossible(), M = 0;
2970
2942
  if (o !== "select" && B.value === "offset") {
2971
2943
  if (!this.bumpIf(":"))
2972
2944
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -2974,18 +2946,18 @@ var jn = (
2974
2946
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2975
2947
  if (f.err)
2976
2948
  return f;
2977
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = f.val;
2949
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), M = f.val;
2978
2950
  }
2979
2951
  var k = this.tryParsePluralOrSelectOptions(t, o, r, B);
2980
2952
  if (k.err)
2981
2953
  return k;
2982
- var x = this.tryParseArgumentClose(i);
2983
- if (x.err)
2984
- return x;
2954
+ var E = this.tryParseArgumentClose(i);
2955
+ if (E.err)
2956
+ return E;
2985
2957
  var L = v(i, this.clonePosition());
2986
2958
  return o === "select" ? {
2987
2959
  val: {
2988
- type: H.select,
2960
+ type: A.select,
2989
2961
  value: n,
2990
2962
  options: yt(k.val),
2991
2963
  location: L
@@ -2993,10 +2965,10 @@ var jn = (
2993
2965
  err: null
2994
2966
  } : {
2995
2967
  val: {
2996
- type: H.plural,
2968
+ type: A.plural,
2997
2969
  value: n,
2998
2970
  options: yt(k.val),
2999
- offset: P,
2971
+ offset: M,
3000
2972
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3001
2973
  location: L
3002
2974
  },
@@ -3046,16 +3018,16 @@ var jn = (
3046
3018
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3047
3019
  var n = [];
3048
3020
  try {
3049
- n = Sn(t);
3021
+ n = Tn(t);
3050
3022
  } catch (i) {
3051
3023
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3052
3024
  }
3053
3025
  return {
3054
3026
  val: {
3055
- type: ne.number,
3027
+ type: ie.number,
3056
3028
  tokens: n,
3057
3029
  location: r,
3058
- parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3030
+ parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3059
3031
  },
3060
3032
  err: null
3061
3033
  };
@@ -3074,20 +3046,20 @@ var jn = (
3074
3046
  if (l.has(u))
3075
3047
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3076
3048
  u === "other" && (a = !0), this.bumpSpace();
3077
- var E = this.clonePosition();
3049
+ var x = this.clonePosition();
3078
3050
  if (!this.bumpIf("{"))
3079
3051
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3080
- var x = this.parseMessage(t + 1, r, n);
3081
- if (x.err)
3082
- return x;
3083
- var g = this.tryParseArgumentClose(E);
3052
+ var E = this.parseMessage(t + 1, r, n);
3053
+ if (E.err)
3054
+ return E;
3055
+ var g = this.tryParseArgumentClose(x);
3084
3056
  if (g.err)
3085
3057
  return g;
3086
3058
  o.push([
3087
3059
  u,
3088
3060
  {
3089
- value: x.val,
3090
- location: v(E, this.clonePosition())
3061
+ value: E.val,
3062
+ location: v(x, this.clonePosition())
3091
3063
  }
3092
3064
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3093
3065
  }
@@ -3103,7 +3075,7 @@ var jn = (
3103
3075
  break;
3104
3076
  }
3105
3077
  var l = v(i, this.clonePosition());
3106
- return s ? (a *= n, Un(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3078
+ return s ? (a *= n, Fn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3107
3079
  }, e.prototype.offset = function() {
3108
3080
  return this.position.offset;
3109
3081
  }, e.prototype.isEOF = function() {
@@ -3169,47 +3141,47 @@ var jn = (
3169
3141
  }, e;
3170
3142
  }()
3171
3143
  );
3172
- function Qe(e) {
3144
+ function Ke(e) {
3173
3145
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3174
3146
  }
3175
- function Vn(e) {
3176
- return Qe(e) || e === 47;
3177
- }
3178
3147
  function zn(e) {
3148
+ return Ke(e) || e === 47;
3149
+ }
3150
+ function Jn(e) {
3179
3151
  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;
3180
3152
  }
3181
3153
  function er(e) {
3182
3154
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3183
3155
  }
3184
- function Jn(e) {
3156
+ function Wn(e) {
3185
3157
  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;
3186
3158
  }
3187
- function Ye(e) {
3159
+ function et(e) {
3188
3160
  e.forEach(function(t) {
3189
3161
  if (delete t.location, Vt(t) || zt(t))
3190
3162
  for (var r in t.options)
3191
- delete t.options[r].location, Ye(t.options[r].value);
3163
+ delete t.options[r].location, et(t.options[r].value);
3192
3164
  else
3193
- Gt(t) && Wt(t.style) || ($t(t) || jt(t)) && We(t.style) ? delete t.style.location : Jt(t) && Ye(t.children);
3165
+ Gt(t) && Wt(t.style) || ($t(t) || jt(t)) && Ze(t.style) ? delete t.style.location : Jt(t) && et(t.children);
3194
3166
  });
3195
3167
  }
3196
- function Wn(e, t) {
3197
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3198
- var r = new jn(e, t).parse();
3168
+ function Xn(e, t) {
3169
+ t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
+ var r = new Vn(e, t).parse();
3199
3171
  if (r.err) {
3200
3172
  var n = SyntaxError(p[r.err.kind]);
3201
3173
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3202
3174
  }
3203
- return t != null && t.captureLocation || Ye(r.val), r.val;
3175
+ return t != null && t.captureLocation || et(r.val), r.val;
3204
3176
  }
3205
- var ie;
3177
+ var se;
3206
3178
  (function(e) {
3207
3179
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3208
- })(ie || (ie = {}));
3209
- var Ce = (
3180
+ })(se || (se = {}));
3181
+ var Be = (
3210
3182
  /** @class */
3211
3183
  function(e) {
3212
- Ae(t, e);
3184
+ we(t, e);
3213
3185
  function t(r, n, i) {
3214
3186
  var s = e.call(this, r) || this;
3215
3187
  return s.code = n, s.originalMessage = i, s;
@@ -3221,41 +3193,41 @@ var Ce = (
3221
3193
  ), vt = (
3222
3194
  /** @class */
3223
3195
  function(e) {
3224
- Ae(t, e);
3196
+ we(t, e);
3225
3197
  function t(r, n, i, s) {
3226
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3198
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, s) || this;
3227
3199
  }
3228
3200
  return t;
3229
- }(Ce)
3230
- ), Xn = (
3201
+ }(Be)
3202
+ ), Zn = (
3231
3203
  /** @class */
3232
3204
  function(e) {
3233
- Ae(t, e);
3205
+ we(t, e);
3234
3206
  function t(r, n, i) {
3235
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3207
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3236
3208
  }
3237
3209
  return t;
3238
- }(Ce)
3239
- ), Zn = (
3210
+ }(Be)
3211
+ ), qn = (
3240
3212
  /** @class */
3241
3213
  function(e) {
3242
- Ae(t, e);
3214
+ we(t, e);
3243
3215
  function t(r, n) {
3244
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3216
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3245
3217
  }
3246
3218
  return t;
3247
- }(Ce)
3219
+ }(Be)
3248
3220
  ), R;
3249
3221
  (function(e) {
3250
3222
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3251
3223
  })(R || (R = {}));
3252
- function qn(e) {
3224
+ function Qn(e) {
3253
3225
  return e.length < 2 ? e : e.reduce(function(t, r) {
3254
3226
  var n = t[t.length - 1];
3255
3227
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3256
3228
  }, []);
3257
3229
  }
3258
- function Qn(e) {
3230
+ function Yn(e) {
3259
3231
  return typeof e == "function";
3260
3232
  }
3261
3233
  function xe(e, t, r, n, i, s, a) {
@@ -3275,7 +3247,7 @@ function xe(e, t, r, n, i, s, a) {
3275
3247
  });
3276
3248
  continue;
3277
3249
  }
3278
- if (_n(h)) {
3250
+ if (vn(h)) {
3279
3251
  typeof s == "number" && o.push({
3280
3252
  type: R.literal,
3281
3253
  value: r.getNumberFormat(t).format(s)
@@ -3284,9 +3256,9 @@ function xe(e, t, r, n, i, s, a) {
3284
3256
  }
3285
3257
  var f = h.value;
3286
3258
  if (!(i && f in i))
3287
- throw new Zn(f, a);
3259
+ throw new qn(f, a);
3288
3260
  var c = i[f];
3289
- if (yn(h)) {
3261
+ if (_n(h)) {
3290
3262
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3291
3263
  type: typeof c == "string" ? R.literal : R.object,
3292
3264
  value: c
@@ -3294,40 +3266,40 @@ function xe(e, t, r, n, i, s, a) {
3294
3266
  continue;
3295
3267
  }
3296
3268
  if ($t(h)) {
3297
- var E = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3269
+ var x = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3298
3270
  o.push({
3299
3271
  type: R.literal,
3300
- value: r.getDateTimeFormat(t, E).format(c)
3272
+ value: r.getDateTimeFormat(t, x).format(c)
3301
3273
  });
3302
3274
  continue;
3303
3275
  }
3304
3276
  if (jt(h)) {
3305
- var E = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3277
+ var x = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3306
3278
  o.push({
3307
3279
  type: R.literal,
3308
- value: r.getDateTimeFormat(t, E).format(c)
3280
+ value: r.getDateTimeFormat(t, x).format(c)
3309
3281
  });
3310
3282
  continue;
3311
3283
  }
3312
3284
  if (Gt(h)) {
3313
- var E = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3314
- E && E.scale && (c = c * (E.scale || 1)), o.push({
3285
+ var x = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3286
+ x && x.scale && (c = c * (x.scale || 1)), o.push({
3315
3287
  type: R.literal,
3316
- value: r.getNumberFormat(t, E).format(c)
3288
+ value: r.getNumberFormat(t, x).format(c)
3317
3289
  });
3318
3290
  continue;
3319
3291
  }
3320
3292
  if (Jt(h)) {
3321
- var x = h.children, g = h.value, y = i[g];
3322
- if (!Qn(y))
3323
- throw new Xn(g, "function", a);
3324
- var T = xe(x, t, r, n, i, s), d = y(T.map(function(P) {
3325
- return P.value;
3293
+ var E = h.children, g = h.value, y = i[g];
3294
+ if (!Yn(y))
3295
+ throw new Zn(g, "function", a);
3296
+ var S = xe(E, t, r, n, i, s), d = y(S.map(function(M) {
3297
+ return M.value;
3326
3298
  }));
3327
- Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(P) {
3299
+ Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(M) {
3328
3300
  return {
3329
- type: typeof P == "string" ? R.literal : R.object,
3330
- value: P
3301
+ type: typeof M == "string" ? R.literal : R.object,
3302
+ value: M
3331
3303
  };
3332
3304
  }));
3333
3305
  }
@@ -3342,9 +3314,9 @@ function xe(e, t, r, n, i, s, a) {
3342
3314
  var _ = h.options["=".concat(c)];
3343
3315
  if (!_) {
3344
3316
  if (!Intl.PluralRules)
3345
- throw new Ce(`Intl.PluralRules is not available in this environment.
3317
+ throw new Be(`Intl.PluralRules is not available in this environment.
3346
3318
  Try polyfilling it using "@formatjs/intl-pluralrules"
3347
- `, ie.MISSING_INTL_API, a);
3319
+ `, se.MISSING_INTL_API, a);
3348
3320
  var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3349
3321
  _ = h.options[B] || h.options.other;
3350
3322
  }
@@ -3354,19 +3326,19 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3354
3326
  continue;
3355
3327
  }
3356
3328
  }
3357
- return qn(o);
3329
+ return Qn(o);
3358
3330
  }
3359
- function Yn(e, t) {
3360
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3361
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3331
+ function Kn(e, t) {
3332
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3333
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3362
3334
  }, {})) : e;
3363
3335
  }
3364
- function Kn(e, t) {
3336
+ function ei(e, t) {
3365
3337
  return t ? Object.keys(e).reduce(function(r, n) {
3366
- return r[n] = Yn(e[n], t[n]), r;
3367
- }, S({}, e)) : e;
3338
+ return r[n] = Kn(e[n], t[n]), r;
3339
+ }, j({}, e)) : e;
3368
3340
  }
3369
- function Fe(e) {
3341
+ function $e(e) {
3370
3342
  return {
3371
3343
  create: function() {
3372
3344
  return {
@@ -3380,39 +3352,39 @@ function Fe(e) {
3380
3352
  }
3381
3353
  };
3382
3354
  }
3383
- function ei(e) {
3355
+ function ti(e) {
3384
3356
  return e === void 0 && (e = {
3385
3357
  number: {},
3386
3358
  dateTime: {},
3387
3359
  pluralRules: {}
3388
3360
  }), {
3389
- getNumberFormat: De(function() {
3361
+ getNumberFormat: Ue(function() {
3390
3362
  for (var t, r = [], n = 0; n < arguments.length; n++)
3391
3363
  r[n] = arguments[n];
3392
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3364
+ return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3393
3365
  }, {
3394
- cache: Fe(e.number),
3395
- strategy: ke.variadic
3366
+ cache: $e(e.number),
3367
+ strategy: Fe.variadic
3396
3368
  }),
3397
- getDateTimeFormat: De(function() {
3369
+ getDateTimeFormat: Ue(function() {
3398
3370
  for (var t, r = [], n = 0; n < arguments.length; n++)
3399
3371
  r[n] = arguments[n];
3400
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3372
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3401
3373
  }, {
3402
- cache: Fe(e.dateTime),
3403
- strategy: ke.variadic
3374
+ cache: $e(e.dateTime),
3375
+ strategy: Fe.variadic
3404
3376
  }),
3405
- getPluralRules: De(function() {
3377
+ getPluralRules: Ue(function() {
3406
3378
  for (var t, r = [], n = 0; n < arguments.length; n++)
3407
3379
  r[n] = arguments[n];
3408
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3380
+ return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3409
3381
  }, {
3410
- cache: Fe(e.pluralRules),
3411
- strategy: ke.variadic
3382
+ cache: $e(e.pluralRules),
3383
+ strategy: Fe.variadic
3412
3384
  })
3413
3385
  };
3414
3386
  }
3415
- var ti = (
3387
+ var ri = (
3416
3388
  /** @class */
3417
3389
  function() {
3418
3390
  function e(t, r, n, i) {
@@ -3444,13 +3416,13 @@ var ti = (
3444
3416
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3445
3417
  var a = i || {};
3446
3418
  a.formatters;
3447
- var o = Wr(a, ["formatters"]);
3448
- this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3419
+ var o = cn(a, ["formatters"]);
3420
+ this.ast = e.__parse(t, j(j({}, o), { locale: this.resolvedLocale }));
3449
3421
  } else
3450
3422
  this.ast = t;
3451
3423
  if (!Array.isArray(this.ast))
3452
3424
  throw new TypeError("A message must be provided as a String or AST.");
3453
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3425
+ this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3454
3426
  }
3455
3427
  return Object.defineProperty(e, "defaultLocale", {
3456
3428
  get: function() {
@@ -3463,7 +3435,7 @@ var ti = (
3463
3435
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3464
3436
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3465
3437
  }
3466
- }, e.__parse = Wn, e.formats = {
3438
+ }, e.__parse = Xn, e.formats = {
3467
3439
  number: {
3468
3440
  integer: {
3469
3441
  maximumFractionDigits: 0
@@ -3524,7 +3496,7 @@ var ti = (
3524
3496
  }, e;
3525
3497
  }()
3526
3498
  );
3527
- function ri(e, t) {
3499
+ function ni(e, t) {
3528
3500
  if (t == null)
3529
3501
  return;
3530
3502
  if (t in e)
@@ -3545,36 +3517,36 @@ function ri(e, t) {
3545
3517
  n = void 0;
3546
3518
  return n;
3547
3519
  }
3548
- const j = {}, ni = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), tr = (e, t) => {
3520
+ const V = {}, ii = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), tr = (e, t) => {
3549
3521
  if (t == null)
3550
3522
  return;
3551
- if (t in j && e in j[t])
3552
- return j[t][e];
3553
- const r = we(t);
3523
+ if (t in V && e in V[t])
3524
+ return V[t][e];
3525
+ const r = Ie(t);
3554
3526
  for (let n = 0; n < r.length; n++) {
3555
- const i = r[n], s = si(i, e);
3527
+ const i = r[n], s = ai(i, e);
3556
3528
  if (s)
3557
- return ni(e, t, s);
3529
+ return ii(e, t, s);
3558
3530
  }
3559
3531
  };
3560
3532
  let nt;
3561
- const oe = He({});
3562
- function ii(e) {
3533
+ const ue = Ce({});
3534
+ function si(e) {
3563
3535
  return nt[e] || null;
3564
3536
  }
3565
3537
  function rr(e) {
3566
3538
  return e in nt;
3567
3539
  }
3568
- function si(e, t) {
3540
+ function ai(e, t) {
3569
3541
  if (!rr(e))
3570
3542
  return null;
3571
- const r = ii(e);
3572
- return ri(r, t);
3543
+ const r = si(e);
3544
+ return ni(r, t);
3573
3545
  }
3574
- function ai(e) {
3546
+ function oi(e) {
3575
3547
  if (e == null)
3576
3548
  return;
3577
- const t = we(e);
3549
+ const t = Ie(e);
3578
3550
  for (let r = 0; r < t.length; r++) {
3579
3551
  const n = t[r];
3580
3552
  if (rr(n))
@@ -3582,55 +3554,55 @@ function ai(e) {
3582
3554
  }
3583
3555
  }
3584
3556
  function nr(e, ...t) {
3585
- delete j[e], oe.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3557
+ delete V[e], ue.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3586
3558
  }
3587
- ae(
3588
- [oe],
3559
+ oe(
3560
+ [ue],
3589
3561
  ([e]) => Object.keys(e)
3590
3562
  );
3591
- oe.subscribe((e) => nt = e);
3592
- const Ee = {};
3593
- function oi(e, t) {
3594
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3563
+ ue.subscribe((e) => nt = e);
3564
+ const Se = {};
3565
+ function ui(e, t) {
3566
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3595
3567
  }
3596
3568
  function ir(e) {
3597
- return Ee[e];
3569
+ return Se[e];
3598
3570
  }
3599
- function ui(e) {
3600
- return we(e).map((t) => {
3571
+ function li(e) {
3572
+ return Ie(e).map((t) => {
3601
3573
  const r = ir(t);
3602
3574
  return [t, r ? [...r] : []];
3603
3575
  }).filter(([, t]) => t.length > 0);
3604
3576
  }
3605
- function Ke(e) {
3606
- return e == null ? !1 : we(e).some(
3577
+ function tt(e) {
3578
+ return e == null ? !1 : Ie(e).some(
3607
3579
  (t) => {
3608
3580
  var r;
3609
3581
  return (r = ir(t)) == null ? void 0 : r.size;
3610
3582
  }
3611
3583
  );
3612
3584
  }
3613
- function li(e, t) {
3585
+ function hi(e, t) {
3614
3586
  return Promise.all(
3615
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3587
+ t.map((n) => (ui(e, n), n().then((i) => i.default || i)))
3616
3588
  ).then((n) => nr(e, ...n));
3617
3589
  }
3618
- const he = {};
3590
+ const ce = {};
3619
3591
  function sr(e) {
3620
- if (!Ke(e))
3621
- return e in he ? he[e] : Promise.resolve();
3622
- const t = ui(e);
3623
- return he[e] = Promise.all(
3592
+ if (!tt(e))
3593
+ return e in ce ? ce[e] : Promise.resolve();
3594
+ const t = li(e);
3595
+ return ce[e] = Promise.all(
3624
3596
  t.map(
3625
- ([r, n]) => li(r, n)
3597
+ ([r, n]) => hi(r, n)
3626
3598
  )
3627
3599
  ).then(() => {
3628
- if (Ke(e))
3600
+ if (tt(e))
3629
3601
  return sr(e);
3630
- delete he[e];
3631
- }), he[e];
3602
+ delete ce[e];
3603
+ }), ce[e];
3632
3604
  }
3633
- const hi = {
3605
+ const ci = {
3634
3606
  number: {
3635
3607
  scientific: { notation: "scientific" },
3636
3608
  engineering: { notation: "engineering" },
@@ -3659,141 +3631,141 @@ const hi = {
3659
3631
  timeZoneName: "short"
3660
3632
  }
3661
3633
  }
3662
- }, ci = {
3634
+ }, fi = {
3663
3635
  fallbackLocale: null,
3664
3636
  loadingDelay: 200,
3665
- formats: hi,
3637
+ formats: ci,
3666
3638
  warnOnMissingMessages: !0,
3667
3639
  handleMissingMessage: void 0,
3668
3640
  ignoreTag: !0
3669
- }, fi = ci;
3670
- function se() {
3671
- return fi;
3641
+ }, mi = fi;
3642
+ function ae() {
3643
+ return mi;
3672
3644
  }
3673
- const Ge = He(!1);
3674
- var mi = Object.defineProperty, di = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
3645
+ const je = Ce(!1);
3646
+ var di = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
3675
3647
  for (var r in t || (t = {}))
3676
- gi.call(t, r) && Et(e, r, t[r]);
3677
- if (xt)
3678
- for (var r of xt(t))
3679
- pi.call(t, r) && Et(e, r, t[r]);
3648
+ pi.call(t, r) && xt(e, r, t[r]);
3649
+ if (Et)
3650
+ for (var r of Et(t))
3651
+ yi.call(t, r) && xt(e, r, t[r]);
3680
3652
  return e;
3681
- }, _i = (e, t) => di(e, bi(t));
3682
- let et;
3683
- const Se = He(null);
3653
+ }, vi = (e, t) => bi(e, gi(t));
3654
+ let rt;
3655
+ const Ae = Ce(null);
3684
3656
  function St(e) {
3685
3657
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3686
3658
  }
3687
- function we(e, t = se().fallbackLocale) {
3659
+ function Ie(e, t = ae().fallbackLocale) {
3688
3660
  const r = St(e);
3689
3661
  return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3690
3662
  }
3691
- function W() {
3692
- return et != null ? et : void 0;
3663
+ function X() {
3664
+ return rt != null ? rt : void 0;
3693
3665
  }
3694
- Se.subscribe((e) => {
3695
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3666
+ Ae.subscribe((e) => {
3667
+ rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3696
3668
  });
3697
- const vi = (e) => {
3698
- if (e && ai(e) && Ke(e)) {
3699
- const { loadingDelay: t } = se();
3669
+ const Ei = (e) => {
3670
+ if (e && oi(e) && tt(e)) {
3671
+ const { loadingDelay: t } = ae();
3700
3672
  let r;
3701
- return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
3702
- () => Ge.set(!0),
3673
+ return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3674
+ () => je.set(!0),
3703
3675
  t
3704
- ) : Ge.set(!0), sr(e).then(() => {
3705
- Se.set(e);
3676
+ ) : je.set(!0), sr(e).then(() => {
3677
+ Ae.set(e);
3706
3678
  }).finally(() => {
3707
- clearTimeout(r), Ge.set(!1);
3679
+ clearTimeout(r), je.set(!1);
3708
3680
  });
3709
3681
  }
3710
- return Se.set(e);
3711
- }, V = _i(yi({}, Se), {
3712
- set: vi
3713
- }), Be = (e) => {
3682
+ return Ae.set(e);
3683
+ }, z = vi(_i({}, Ae), {
3684
+ set: Ei
3685
+ }), Oe = (e) => {
3714
3686
  const t = /* @__PURE__ */ Object.create(null);
3715
3687
  return (n) => {
3716
3688
  const i = JSON.stringify(n);
3717
3689
  return i in t ? t[i] : t[i] = e(n);
3718
3690
  };
3719
3691
  };
3720
- var xi = Object.defineProperty, Te = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3692
+ var xi = Object.defineProperty, He = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3721
3693
  for (var r in t || (t = {}))
3722
3694
  ar.call(t, r) && Tt(e, r, t[r]);
3723
- if (Te)
3724
- for (var r of Te(t))
3695
+ if (He)
3696
+ for (var r of He(t))
3725
3697
  or.call(t, r) && Tt(e, r, t[r]);
3726
3698
  return e;
3727
- }, ue = (e, t) => {
3699
+ }, le = (e, t) => {
3728
3700
  var r = {};
3729
3701
  for (var n in e)
3730
3702
  ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3731
- if (e != null && Te)
3732
- for (var n of Te(e))
3703
+ if (e != null && He)
3704
+ for (var n of He(e))
3733
3705
  t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
3734
3706
  return r;
3735
3707
  };
3736
- const de = (e, t) => {
3737
- const { formats: r } = se();
3708
+ const be = (e, t) => {
3709
+ const { formats: r } = ae();
3738
3710
  if (e in r && t in r[e])
3739
3711
  return r[e][t];
3740
3712
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3741
- }, Ei = Be(
3713
+ }, Si = Oe(
3742
3714
  (e) => {
3743
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3715
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3744
3716
  if (r == null)
3745
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3746
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3718
+ return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3747
3719
  }
3748
- ), Si = Be(
3720
+ ), Ti = Oe(
3749
3721
  (e) => {
3750
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3722
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3751
3723
  if (r == null)
3752
3724
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3753
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3725
+ return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3754
3726
  }
3755
- ), Ti = Be(
3727
+ ), Ai = Oe(
3756
3728
  (e) => {
3757
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3729
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3758
3730
  if (r == null)
3759
3731
  throw new Error(
3760
3732
  '[svelte-i18n] A "locale" must be set to format time values'
3761
3733
  );
3762
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3734
+ return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3763
3735
  }
3764
- ), Ai = (e = {}) => {
3765
- var t = e, {
3766
- locale: r = W()
3767
- } = t, n = ue(t, [
3768
- "locale"
3769
- ]);
3770
- return Ei(it({ locale: r }, n));
3771
- }, Hi = (e = {}) => {
3736
+ ), Hi = (e = {}) => {
3772
3737
  var t = e, {
3773
- locale: r = W()
3774
- } = t, n = ue(t, [
3738
+ locale: r = X()
3739
+ } = t, n = le(t, [
3775
3740
  "locale"
3776
3741
  ]);
3777
3742
  return Si(it({ locale: r }, n));
3778
3743
  }, Ci = (e = {}) => {
3779
3744
  var t = e, {
3780
- locale: r = W()
3781
- } = t, n = ue(t, [
3745
+ locale: r = X()
3746
+ } = t, n = le(t, [
3782
3747
  "locale"
3783
3748
  ]);
3784
3749
  return Ti(it({ locale: r }, n));
3785
- }, wi = Be(
3750
+ }, wi = (e = {}) => {
3751
+ var t = e, {
3752
+ locale: r = X()
3753
+ } = t, n = le(t, [
3754
+ "locale"
3755
+ ]);
3756
+ return Ai(it({ locale: r }, n));
3757
+ }, Bi = Oe(
3786
3758
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3787
- (e, t = W()) => new ti(e, t, se().formats, {
3788
- ignoreTag: se().ignoreTag
3759
+ (e, t = X()) => new ri(e, t, ae().formats, {
3760
+ ignoreTag: ae().ignoreTag
3789
3761
  })
3790
- ), Bi = (e, t = {}) => {
3762
+ ), Ii = (e, t = {}) => {
3791
3763
  var r, n, i, s;
3792
3764
  let a = t;
3793
3765
  typeof e == "object" && (a = e, e = a.id);
3794
3766
  const {
3795
3767
  values: o,
3796
- locale: l = W(),
3768
+ locale: l = X(),
3797
3769
  default: u
3798
3770
  } = a;
3799
3771
  if (l == null)
@@ -3802,7 +3774,7 @@ const de = (e, t) => {
3802
3774
  );
3803
3775
  let h = tr(e, l);
3804
3776
  if (!h)
3805
- 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;
3777
+ h = (s = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3806
3778
  else if (typeof h != "string")
3807
3779
  return console.warn(
3808
3780
  `[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.`
@@ -3811,7 +3783,7 @@ const de = (e, t) => {
3811
3783
  return h;
3812
3784
  let f = h;
3813
3785
  try {
3814
- f = wi(h, l).format(o);
3786
+ f = Bi(h, l).format(o);
3815
3787
  } catch (c) {
3816
3788
  c instanceof Error && console.warn(
3817
3789
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3819,18 +3791,18 @@ const de = (e, t) => {
3819
3791
  );
3820
3792
  }
3821
3793
  return f;
3822
- }, Ii = (e, t) => Ci(t).format(e), Ni = (e, t) => Hi(t).format(e), Mi = (e, t) => Ai(t).format(e), Oi = (e, t = W()) => tr(e, t), Pi = ae([V, oe], () => Bi);
3823
- ae([V], () => Ii);
3824
- ae([V], () => Ni);
3825
- ae([V], () => Mi);
3826
- ae([V, oe], () => Oi);
3827
- function Li(e, t) {
3794
+ }, Oi = (e, t) => wi(t).format(e), Ni = (e, t) => Ci(t).format(e), Pi = (e, t) => Hi(t).format(e), Mi = (e, t = X()) => tr(e, t), Li = oe([z, ue], () => Ii);
3795
+ oe([z], () => Oi);
3796
+ oe([z], () => Ni);
3797
+ oe([z], () => Pi);
3798
+ oe([z, ue], () => Mi);
3799
+ function Ri(e, t) {
3828
3800
  if (e) {
3829
3801
  const r = document.createElement("style");
3830
3802
  r.innerHTML = t, e.appendChild(r);
3831
3803
  }
3832
3804
  }
3833
- function Ri(e, t) {
3805
+ function Di(e, t) {
3834
3806
  const r = new URL(t);
3835
3807
  fetch(r.href).then((n) => n.text()).then((n) => {
3836
3808
  const i = document.createElement("style");
@@ -3839,7 +3811,7 @@ function Ri(e, t) {
3839
3811
  console.error("There was an error while trying to load client styling from URL", n);
3840
3812
  });
3841
3813
  }
3842
- function Di(e, t, r) {
3814
+ function ki(e, t, r) {
3843
3815
  if (window.emMessageBus) {
3844
3816
  const n = document.createElement("style");
3845
3817
  window.emMessageBus.subscribe(t, (i) => {
@@ -3847,16 +3819,16 @@ function Di(e, t, r) {
3847
3819
  });
3848
3820
  }
3849
3821
  }
3850
- function ki({ withLocale: e, translations: t }) {
3851
- V.subscribe((r) => {
3852
- r == null && (oe.set(t), V.set(e));
3822
+ function Ui({ withLocale: e, translations: t }) {
3823
+ z.subscribe((r) => {
3824
+ r == null && (ue.set(t), z.set(e));
3853
3825
  });
3854
3826
  }
3855
3827
  function At(e, t) {
3856
3828
  nr(e, t);
3857
3829
  }
3858
- function Ui(e) {
3859
- V.set(e);
3830
+ function Fi(e) {
3831
+ z.set(e);
3860
3832
  }
3861
3833
  const Ht = {
3862
3834
  en: {
@@ -4190,7 +4162,7 @@ const Ht = {
4190
4162
  December: "December"
4191
4163
  }
4192
4164
  };
4193
- function Fi(e) {
4165
+ function Gi(e) {
4194
4166
  Ar(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}');
4195
4167
  }
4196
4168
  function Ct(e) {
@@ -4200,7 +4172,7 @@ function Ct(e) {
4200
4172
  t = w("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = $(), 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");
4201
4173
  },
4202
4174
  m(i, s) {
4203
- O(i, t, s), O(i, r, s), O(i, n, s);
4175
+ P(i, t, s), P(i, r, s), P(i, n, s);
4204
4176
  },
4205
4177
  d(i) {
4206
4178
  i && (I(t), I(r), I(n));
@@ -4215,28 +4187,28 @@ function wt(e) {
4215
4187
  /*showenrolled*/
4216
4188
  e[6] == "true" && It(e)
4217
4189
  );
4218
- function E(d, _) {
4190
+ function x(d, _) {
4219
4191
  return (
4220
4192
  /*thumbnail*/
4221
- d[3] ? $i : Gi
4193
+ d[3] ? ji : $i
4222
4194
  );
4223
4195
  }
4224
- let x = E(e), g = x(e), y = (
4196
+ let E = x(e), g = E(e), y = (
4225
4197
  /*startdate*/
4226
- e[2] && Mt(e)
4227
- ), T = (
4198
+ e[2] && Nt(e)
4199
+ ), S = (
4228
4200
  /*isLoggedIn*/
4229
- e[11] && Ot(e)
4201
+ e[11] && Pt(e)
4230
4202
  );
4231
4203
  return {
4232
4204
  c() {
4233
4205
  f && f.c(), t = $(), c && c.c(), r = $(), g.c(), n = $(), i = w("div"), s = w("div"), a = D(
4234
4206
  /*title*/
4235
4207
  e[1]
4236
- ), o = $(), y && y.c(), l = $(), T && T.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4208
+ ), o = $(), y && y.c(), l = $(), S && S.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4237
4209
  },
4238
4210
  m(d, _) {
4239
- 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 = te(
4211
+ 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 = re(
4240
4212
  s,
4241
4213
  "click",
4242
4214
  /*detailsAction*/
@@ -4246,17 +4218,17 @@ function wt(e) {
4246
4218
  p(d, _) {
4247
4219
  /*status*/
4248
4220
  d[0] ? f ? f.p(d, _) : (f = Bt(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4249
- d[6] == "true" ? c ? c.p(d, _) : (c = It(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*/
4221
+ d[6] == "true" ? c ? c.p(d, _) : (c = It(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*/
4250
4222
  2 && G(
4251
4223
  a,
4252
4224
  /*title*/
4253
4225
  d[1]
4254
4226
  ), /*startdate*/
4255
- d[2] ? y ? y.p(d, _) : (y = Mt(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4256
- d[11] ? T ? T.p(d, _) : (T = Ot(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4227
+ d[2] ? y ? y.p(d, _) : (y = Nt(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4228
+ d[11] ? S ? S.p(d, _) : (S = Pt(d), S.c(), S.m(i, null)) : S && (S.d(1), S = null);
4257
4229
  },
4258
4230
  d(d) {
4259
- 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();
4231
+ 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();
4260
4232
  }
4261
4233
  };
4262
4234
  }
@@ -4272,7 +4244,7 @@ function Bt(e) {
4272
4244
  e[14]);
4273
4245
  },
4274
4246
  m(o, l) {
4275
- O(o, t, l), A(t, r), s || (a = ge(
4247
+ P(o, t, l), T(t, r), s || (a = pe(
4276
4248
  /*matchStatus*/
4277
4249
  e[17].call(null, t)
4278
4250
  ), s = !0);
@@ -4297,25 +4269,25 @@ function Bt(e) {
4297
4269
  function It(e) {
4298
4270
  let t, r = (
4299
4271
  /*userenrolled*/
4300
- e[4] && Nt(e)
4272
+ e[4] && Ot(e)
4301
4273
  );
4302
4274
  return {
4303
4275
  c() {
4304
4276
  r && r.c(), t = wr();
4305
4277
  },
4306
4278
  m(n, i) {
4307
- r && r.m(n, i), O(n, t, i);
4279
+ r && r.m(n, i), P(n, t, i);
4308
4280
  },
4309
4281
  p(n, i) {
4310
4282
  /*userenrolled*/
4311
- n[4] ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4283
+ n[4] ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4312
4284
  },
4313
4285
  d(n) {
4314
4286
  n && I(t), r && r.d(n);
4315
4287
  }
4316
4288
  };
4317
4289
  }
4318
- function Nt(e) {
4290
+ function Ot(e) {
4319
4291
  let t, r = (
4320
4292
  /*$_*/
4321
4293
  e[15]("enrolled") + ""
@@ -4325,7 +4297,7 @@ function Nt(e) {
4325
4297
  t = w("div"), n = D(r), b(t, "class", "Enrolled"), b(t, "part", "Enrolled");
4326
4298
  },
4327
4299
  m(i, s) {
4328
- O(i, t, s), A(t, n);
4300
+ P(i, t, s), T(t, n);
4329
4301
  },
4330
4302
  p(i, s) {
4331
4303
  s[0] & /*$_*/
@@ -4337,23 +4309,23 @@ function Nt(e) {
4337
4309
  }
4338
4310
  };
4339
4311
  }
4340
- function Gi(e) {
4312
+ function $i(e) {
4341
4313
  let t, r, n, i, s, a, o;
4342
4314
  return {
4343
4315
  c() {
4344
- 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*/
4316
+ t = w("div"), r = w("ui-image"), Ve(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || ee(r, "src", n), ee(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4345
4317
  (e[0] == "Closing" || /*status*/
4346
4318
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4347
4319
  (e[0] == "Closing" || /*status*/
4348
4320
  e[0] == "Closed" ? "CardImgFinished" : ""));
4349
4321
  },
4350
4322
  m(l, u) {
4351
- O(l, t, u), A(t, r), a || (o = [
4352
- ge(
4323
+ P(l, t, u), T(t, r), a || (o = [
4324
+ pe(
4353
4325
  /*matchStatus*/
4354
4326
  e[17].call(null, t)
4355
4327
  ),
4356
- te(
4328
+ re(
4357
4329
  t,
4358
4330
  "click",
4359
4331
  /*detailsAction*/
@@ -4371,28 +4343,28 @@ function Gi(e) {
4371
4343
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4372
4344
  },
4373
4345
  d(l) {
4374
- l && I(t), a = !1, z(o);
4346
+ l && I(t), a = !1, J(o);
4375
4347
  }
4376
4348
  };
4377
4349
  }
4378
- function $i(e) {
4350
+ function ji(e) {
4379
4351
  let t, r, n, i, s, a, o;
4380
4352
  return {
4381
4353
  c() {
4382
- t = w("div"), r = w("ui-image"), K(r, "class", "UIImage"), $e(r.src, n = /*thumbnail*/
4383
- e[3]) || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4354
+ t = w("div"), r = w("ui-image"), ee(r, "class", "UIImage"), Ve(r.src, n = /*thumbnail*/
4355
+ e[3]) || ee(r, "src", n), ee(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4384
4356
  (e[0] == "Closing" || /*status*/
4385
4357
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4386
4358
  (e[0] == "Closing" || /*status*/
4387
4359
  e[0] == "Closed" ? "CardImgFinished" : ""));
4388
4360
  },
4389
4361
  m(l, u) {
4390
- O(l, t, u), A(t, r), a || (o = [
4391
- ge(
4362
+ P(l, t, u), T(t, r), a || (o = [
4363
+ pe(
4392
4364
  /*matchStatus*/
4393
4365
  e[17].call(null, t)
4394
4366
  ),
4395
- te(
4367
+ re(
4396
4368
  t,
4397
4369
  "click",
4398
4370
  /*detailsAction*/
@@ -4402,8 +4374,8 @@ function $i(e) {
4402
4374
  },
4403
4375
  p(l, u) {
4404
4376
  u[0] & /*thumbnail*/
4405
- 8 && !$e(r.src, n = /*thumbnail*/
4406
- l[3]) && K(r, "src", n), u[0] & /*status*/
4377
+ 8 && !Ve(r.src, n = /*thumbnail*/
4378
+ l[3]) && ee(r, "src", n), u[0] & /*status*/
4407
4379
  1 && i !== (i = "CardImg " + /*status*/
4408
4380
  (l[0] == "Closing" || /*status*/
4409
4381
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
@@ -4412,11 +4384,11 @@ function $i(e) {
4412
4384
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4413
4385
  },
4414
4386
  d(l) {
4415
- l && I(t), a = !1, z(o);
4387
+ l && I(t), a = !1, J(o);
4416
4388
  }
4417
4389
  };
4418
4390
  }
4419
- function Mt(e) {
4391
+ function Nt(e) {
4420
4392
  let t, r, n, i, s;
4421
4393
  return {
4422
4394
  c() {
@@ -4426,7 +4398,7 @@ function Mt(e) {
4426
4398
  ), b(t, "class", "Date"), b(t, "part", "Date");
4427
4399
  },
4428
4400
  m(a, o) {
4429
- O(a, t, o), A(t, r), i || (s = ge(n = /*formatDate*/
4401
+ P(a, t, o), T(t, r), i || (s = pe(n = /*formatDate*/
4430
4402
  e[16].call(
4431
4403
  null,
4432
4404
  t,
@@ -4440,7 +4412,7 @@ function Mt(e) {
4440
4412
  r,
4441
4413
  /*shownDate*/
4442
4414
  a[10]
4443
- ), n && be(n.update) && o[0] & /*startdate*/
4415
+ ), n && ge(n.update) && o[0] & /*startdate*/
4444
4416
  4 && n.update.call(
4445
4417
  null,
4446
4418
  /*startdate*/
@@ -4452,20 +4424,20 @@ function Mt(e) {
4452
4424
  }
4453
4425
  };
4454
4426
  }
4455
- function Ot(e) {
4427
+ function Pt(e) {
4456
4428
  let t, r, n = (
4457
4429
  /*$_*/
4458
4430
  e[15]("scoreCriteria") + ""
4459
4431
  ), i, s, a, o, l, u = (
4460
4432
  /*$_*/
4461
4433
  e[15]("minbet") + ""
4462
- ), h, f, c, E, x, g, y, T = (
4434
+ ), h, f, c, x, E, g, y, S = (
4463
4435
  /*$_*/
4464
4436
  e[15]("seegames") + ""
4465
- ), d, _, B, P = (
4437
+ ), d, _, B, M = (
4466
4438
  /*$_*/
4467
4439
  e[15]("here") + ""
4468
- ), k, L, X, J;
4440
+ ), k, L, Z, W;
4469
4441
  return {
4470
4442
  c() {
4471
4443
  t = w("div"), r = w("p"), i = D(n), s = D(`:
@@ -4477,7 +4449,7 @@ function Ot(e) {
4477
4449
  (`), h = D(u), f = $(), c = D(
4478
4450
  /*minbetcount*/
4479
4451
  e[5]
4480
- ), E = D(")"), x = $(), g = w("div"), y = w("p"), d = D(T), _ = $(), 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(
4452
+ ), x = D(")"), E = $(), g = w("div"), y = w("p"), d = D(S), _ = $(), 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(
4481
4453
  B,
4482
4454
  "href",
4483
4455
  /*gameurl*/
@@ -4485,55 +4457,55 @@ function Ot(e) {
4485
4457
  ), b(B, "target", L = /*keepbrowsercontext*/
4486
4458
  e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4487
4459
  },
4488
- m(N, M) {
4489
- 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), X || (J = [
4490
- ge(
4460
+ m(O, N) {
4461
+ 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), Z || (W = [
4462
+ pe(
4491
4463
  /*matchScoreCriteria*/
4492
4464
  e[18].call(null, a)
4493
4465
  ),
4494
- te(
4466
+ re(
4495
4467
  B,
4496
4468
  "click",
4497
4469
  /*tournamentGamesClicked*/
4498
4470
  e[19]
4499
4471
  )
4500
- ], X = !0);
4472
+ ], Z = !0);
4501
4473
  },
4502
- p(N, M) {
4503
- M[0] & /*$_*/
4474
+ p(O, N) {
4475
+ N[0] & /*$_*/
4504
4476
  32768 && n !== (n = /*$_*/
4505
- N[15]("scoreCriteria") + "") && G(i, n), M[0] & /*showScoreCriteria*/
4477
+ O[15]("scoreCriteria") + "") && G(i, n), N[0] & /*showScoreCriteria*/
4506
4478
  8192 && G(
4507
4479
  o,
4508
4480
  /*showScoreCriteria*/
4509
- N[13]
4510
- ), M[0] & /*$_*/
4481
+ O[13]
4482
+ ), N[0] & /*$_*/
4511
4483
  32768 && u !== (u = /*$_*/
4512
- N[15]("minbet") + "") && G(h, u), M[0] & /*minbetcount*/
4484
+ O[15]("minbet") + "") && G(h, u), N[0] & /*minbetcount*/
4513
4485
  32 && G(
4514
4486
  c,
4515
4487
  /*minbetcount*/
4516
- N[5]
4517
- ), M[0] & /*$_*/
4518
- 32768 && T !== (T = /*$_*/
4519
- N[15]("seegames") + "") && G(d, T), M[0] & /*$_*/
4520
- 32768 && P !== (P = /*$_*/
4521
- N[15]("here") + "") && G(k, P), M[0] & /*gameurl*/
4488
+ O[5]
4489
+ ), N[0] & /*$_*/
4490
+ 32768 && S !== (S = /*$_*/
4491
+ O[15]("seegames") + "") && G(d, S), N[0] & /*$_*/
4492
+ 32768 && M !== (M = /*$_*/
4493
+ O[15]("here") + "") && G(k, M), N[0] & /*gameurl*/
4522
4494
  128 && b(
4523
4495
  B,
4524
4496
  "href",
4525
4497
  /*gameurl*/
4526
- N[7]
4527
- ), M[0] & /*keepbrowsercontext*/
4498
+ O[7]
4499
+ ), N[0] & /*keepbrowsercontext*/
4528
4500
  256 && L !== (L = /*keepbrowsercontext*/
4529
- N[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4501
+ O[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4530
4502
  },
4531
- d(N) {
4532
- N && (I(t), I(x), I(g)), X = !1, z(J);
4503
+ d(O) {
4504
+ O && (I(t), I(E), I(g)), Z = !1, J(W);
4533
4505
  }
4534
4506
  };
4535
4507
  }
4536
- function ji(e) {
4508
+ function Vi(e) {
4537
4509
  let t, r, n, i = (
4538
4510
  /*title*/
4539
4511
  e[1] === "undefined" && Ct()
@@ -4547,7 +4519,7 @@ function ji(e) {
4547
4519
  e[1] === "undefined" ? "Loading" : ""}`), b(t, "part", "Thumbnail");
4548
4520
  },
4549
4521
  m(a, o) {
4550
- O(a, t, o), i && i.m(t, null), A(t, r), s && s.m(t, null), e[31](t);
4522
+ P(a, t, o), i && i.m(t, null), T(t, r), s && s.m(t, null), e[31](t);
4551
4523
  },
4552
4524
  p(a, o) {
4553
4525
  /*title*/
@@ -4563,16 +4535,16 @@ function ji(e) {
4563
4535
  }
4564
4536
  };
4565
4537
  }
4566
- function Vi(e, t, r) {
4538
+ function zi(e, t, r) {
4567
4539
  let n;
4568
- Tr(e, Pi, (m) => r(15, n = m));
4569
- 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, X = "", J = !1, N = "", M = "", le = "";
4570
- ki({ withLocale: "en", translations: {} });
4540
+ Tr(e, Li, (m) => r(15, n = m));
4541
+ 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, Z = "", W = !1, O = "", N = "", he = "";
4542
+ Ui({ withLocale: "en", translations: {} });
4571
4543
  const lr = () => {
4572
- fetch(P).then((m) => m.json()).then((m) => {
4573
- Object.keys(m).forEach((Z) => {
4574
- At(Z, m[Z]);
4575
- }), o && Oe();
4544
+ fetch(M).then((m) => m.json()).then((m) => {
4545
+ Object.keys(m).forEach((q) => {
4546
+ At(q, m[q]);
4547
+ }), o && Le();
4576
4548
  }).catch((m) => {
4577
4549
  console.log(m);
4578
4550
  });
@@ -4581,20 +4553,20 @@ function Vi(e, t, r) {
4581
4553
  At(m, Ht[m]);
4582
4554
  });
4583
4555
  const st = (m) => {
4584
- m.data && (m.data && m.data.type == "SessionID" && r(11, J = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4585
- }, Ie = () => {
4556
+ m.data && (m.data && m.data.type == "SessionID" && r(11, W = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4557
+ }, Ne = () => {
4586
4558
  const m = { month: "long" };
4587
- let Z = new Date(o), dr = new Intl.DateTimeFormat("en", m).format(Z), br = Z.getDate(), gr = Z.toLocaleString("en-GB", {
4559
+ let q = new Date(o), dr = new Intl.DateTimeFormat("en", m).format(q), br = q.getDate(), gr = q.toLocaleString("en-GB", {
4588
4560
  hour: "numeric",
4589
4561
  minute: "numeric",
4590
4562
  hour12: !1
4591
4563
  });
4592
4564
  const pr = () => n(l === "Running" ? "startedAt" : "startingAt");
4593
- r(10, X = `${br} ` + n(`${dr}`) + ", " + pr() + ` ${gr}`);
4594
- }, Ne = () => {
4595
- l == "Unstarted" && (r(12, N = n("scheduled")), r(14, le = "StatusUnstarted")), l == "Running" && (r(12, N = n("ongoing")), r(14, le = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, N = n("finished")), l == "Closed" && r(14, le = "StatusClosed"), l == "Closing" && r(14, le = "StatusClosing");
4565
+ r(10, Z = `${br} ` + n(`${dr}`) + ", " + pr() + ` ${gr}`);
4566
+ }, Pe = () => {
4567
+ l == "Unstarted" && (r(12, O = n("scheduled")), r(14, he = "StatusUnstarted")), l == "Running" && (r(12, O = n("ongoing")), r(14, he = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, O = n("finished")), l == "Closed" && r(14, he = "StatusClosed"), l == "Closing" && r(14, he = "StatusClosing");
4596
4568
  }, Me = () => {
4597
- 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"));
4569
+ 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"));
4598
4570
  }, hr = () => {
4599
4571
  window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4600
4572
  }, cr = () => {
@@ -4607,31 +4579,31 @@ function Vi(e, t, r) {
4607
4579
  window.location.href
4608
4580
  );
4609
4581
  }, fr = () => {
4610
- i.length > 0 && i != "false" ? r(11, J = !0) : r(11, J = !1);
4582
+ i.length > 0 && i != "false" ? r(11, W = !0) : r(11, W = !1);
4611
4583
  };
4612
- Or(() => (setTimeout(() => Oe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", st, !1), () => {
4584
+ Pr(() => (setTimeout(() => Le(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", st, !1), () => {
4613
4585
  window.removeEventListener("message", st);
4614
4586
  }));
4615
- const Oe = () => {
4616
- Ui(T), Me(), Ne(), o && Ie();
4587
+ const Le = () => {
4588
+ Fi(S), Me(), Pe(), o && Ne();
4617
4589
  };
4618
4590
  function mr(m) {
4619
- je[m ? "unshift" : "push"](() => {
4591
+ ze[m ? "unshift" : "push"](() => {
4620
4592
  L = m, r(9, L);
4621
4593
  });
4622
4594
  }
4623
4595
  return e.$$set = (m) => {
4624
- "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);
4596
+ "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);
4625
4597
  }, e.$$.update = () => {
4626
4598
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4627
- 134218240 && _ && L && Li(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4628
- 268435968 && B && L && Ri(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4629
- 1073742336 && k && L && Di(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4630
- 536870912 && P && lr(), e.$$.dirty[0] & /*session*/
4599
+ 134218240 && _ && L && Ri(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4600
+ 268435968 && B && L && Di(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4601
+ 1073742336 && k && L && ki(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4602
+ 536870912 && M && lr(), e.$$.dirty[0] & /*session*/
4631
4603
  2097152 && i && fr(), e.$$.dirty[0] & /*status*/
4632
- 1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4633
- 67108866 && a && T && Oe(), e.$$.dirty[0] & /*startdate*/
4634
- 4 && o && Ie(), e.$$.dirty[0] & /*scorecriteria*/
4604
+ 1 && l && Pe(), e.$$.dirty[0] & /*title, lang*/
4605
+ 67108866 && a && S && Le(), e.$$.dirty[0] & /*startdate*/
4606
+ 4 && o && Ne(), e.$$.dirty[0] & /*scorecriteria*/
4635
4607
  16777216 && c && Me();
4636
4608
  }, [
4637
4609
  l,
@@ -4639,19 +4611,19 @@ function Vi(e, t, r) {
4639
4611
  o,
4640
4612
  h,
4641
4613
  f,
4642
- E,
4643
4614
  x,
4615
+ E,
4644
4616
  y,
4645
4617
  d,
4646
4618
  L,
4647
- X,
4648
- J,
4619
+ Z,
4620
+ W,
4621
+ O,
4649
4622
  N,
4650
- M,
4651
- le,
4623
+ he,
4652
4624
  n,
4653
- Ie,
4654
4625
  Ne,
4626
+ Pe,
4655
4627
  Me,
4656
4628
  hr,
4657
4629
  cr,
@@ -4660,10 +4632,10 @@ function Vi(e, t, r) {
4660
4632
  u,
4661
4633
  c,
4662
4634
  g,
4663
- T,
4635
+ S,
4664
4636
  _,
4665
4637
  B,
4666
- P,
4638
+ M,
4667
4639
  k,
4668
4640
  mr
4669
4641
  ];
@@ -4673,8 +4645,8 @@ class ur extends zr {
4673
4645
  super(), jr(
4674
4646
  this,
4675
4647
  t,
4648
+ zi,
4676
4649
  Vi,
4677
- ji,
4678
4650
  Lt,
4679
4651
  {
4680
4652
  session: 21,
@@ -4697,7 +4669,7 @@ class ur extends zr {
4697
4669
  translationurl: 29,
4698
4670
  mbsource: 30
4699
4671
  },
4700
- Fi,
4672
+ Gi,
4701
4673
  [-1, -1]
4702
4674
  );
4703
4675
  }
@@ -4817,53 +4789,49 @@ class ur extends zr {
4817
4789
  }
4818
4790
  }
4819
4791
  Vr(ur, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4820
- const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4792
+ const ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4821
4793
  __proto__: null,
4822
4794
  default: ur
4823
4795
  }, Symbol.toStringTag, { value: "Module" }));
4824
4796
  export {
4825
- V as $,
4826
- be as A,
4827
- D as B,
4828
- G as C,
4829
- Pi as D,
4830
- te as E,
4831
- z as F,
4797
+ z as $,
4798
+ Li as A,
4799
+ Ri as B,
4800
+ Di as C,
4801
+ ki as D,
4802
+ Qi as E,
4803
+ es as F,
4832
4804
  Zi as G,
4833
- qi as H,
4834
- Ki as I,
4835
- Yi as J,
4836
- ze as K,
4837
- Qi as L,
4838
- Xi as M,
4839
- $e as N,
4840
- rs as O,
4805
+ Ki as H,
4806
+ Yi as I,
4807
+ We as J,
4808
+ Ve as K,
4809
+ ts as L,
4841
4810
  zr as S,
4842
- es as _,
4843
- Re as a,
4844
- ts as b,
4845
- Ae as c,
4846
- oe as d,
4847
- nr as e,
4811
+ ue as a,
4812
+ nr as b,
4813
+ Vr as c,
4814
+ Ar as d,
4815
+ I as e,
4848
4816
  C as f,
4849
- Vr as g,
4850
- Ar as h,
4817
+ ee as g,
4818
+ b as h,
4851
4819
  jr as i,
4852
- w as j,
4853
- $ as k,
4854
- K as l,
4855
- b as m,
4856
- O as n,
4857
- A as o,
4858
- F as p,
4859
- I as q,
4860
- Tr as r,
4820
+ P as j,
4821
+ T as k,
4822
+ w as l,
4823
+ $ as m,
4824
+ F as n,
4825
+ Tr as o,
4826
+ Pr as p,
4827
+ ze as q,
4828
+ wr as r,
4861
4829
  Lt as s,
4862
- Or as t,
4863
- Ri as u,
4864
- Di as v,
4865
- je as w,
4866
- Li as x,
4867
- wr as y,
4868
- ge as z
4830
+ pe as t,
4831
+ G as u,
4832
+ D as v,
4833
+ J as w,
4834
+ re as x,
4835
+ ge as y,
4836
+ qi as z
4869
4837
  };