@everymatrix/casino-tournaments-thumbnail 1.64.7 → 1.65.0

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 (31) hide show
  1. package/components/{CasinoTournamentsThumbnail-CEQB2lJv.js → CasinoTournamentsThumbnail-CLmgW3Nc.js} +866 -821
  2. package/components/CasinoTournamentsThumbnail-CRn5EbXG.cjs +19 -0
  3. package/components/{CasinoTournamentsThumbnail-LiI-1sij.js → CasinoTournamentsThumbnail-DexMSb2O.js} +949 -904
  4. package/es2015/casino-tournaments-thumbnail.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
  9. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
  10. package/stencil/index-97d17652-BzQXAkmg.js +558 -0
  11. package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
  12. package/stencil/index-97d17652-mbOyENH9.js +542 -0
  13. package/stencil/index-b2193545-C2pLoBGJ.js +503 -0
  14. package/stencil/index-b2193545-CoXVDra7.js +519 -0
  15. package/stencil/index-b2193545-CwpolrjE.cjs +1 -0
  16. package/stencil/ui-image-BdKD9mn4.js +25 -0
  17. package/stencil/ui-image-Brhx0VeQ.js +7 -0
  18. package/stencil/ui-image-DEQHOm9Q.cjs +1 -0
  19. package/stencil/ui-image-b7b48fe5-7wF4sIlr.js +39 -0
  20. package/stencil/ui-image-b7b48fe5-DQE3WxuL.cjs +1 -0
  21. package/stencil/ui-image-b7b48fe5-kIlLPkYB.js +39 -0
  22. package/stencil/ui-image_2-CJHJWEhi.cjs +73 -0
  23. package/stencil/ui-image_2-Db7N7hzA.js +154 -0
  24. package/stencil/ui-image_2-oohpKuRS.js +154 -0
  25. package/stencil/ui-skeleton-06DDwuG9.cjs +1 -0
  26. package/stencil/ui-skeleton-1cb75d00-CoUSUuCH.js +152 -0
  27. package/stencil/ui-skeleton-1cb75d00-DwCQPKmJ.js +152 -0
  28. package/stencil/ui-skeleton-1cb75d00-HdJyBz6W.cjs +73 -0
  29. package/stencil/ui-skeleton-BhWinivj.js +11 -0
  30. package/stencil/ui-skeleton-DdjXy3Vl.js +29 -0
  31. package/components/CasinoTournamentsThumbnail-By553bgY.cjs +0 -6
@@ -1,49 +1,55 @@
1
- function D() {
1
+ import "../stencil/ui-skeleton-BhWinivj.js";
2
+ import "../stencil/ui-image-Brhx0VeQ.js";
3
+ function U() {
2
4
  }
3
- function St(e) {
5
+ function Ct(e) {
4
6
  return e();
5
7
  }
6
- function tt() {
8
+ function nt() {
7
9
  return /* @__PURE__ */ Object.create(null);
8
10
  }
9
11
  function ne(e) {
10
- e.forEach(St);
12
+ e.forEach(Ct);
11
13
  }
12
- function fe(e) {
14
+ function ce(e) {
13
15
  return typeof e == "function";
14
16
  }
15
- function Tt(e, t) {
17
+ function Bt(e, t) {
16
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
19
  }
18
- function sr(e) {
20
+ let be;
21
+ function De(e, t) {
22
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
23
+ }
24
+ function lr(e) {
19
25
  return Object.keys(e).length === 0;
20
26
  }
21
- function At(e, ...t) {
27
+ function It(e, ...t) {
22
28
  if (e == null) {
23
29
  for (const n of t)
24
30
  n(void 0);
25
- return D;
31
+ return U;
26
32
  }
27
33
  const r = e.subscribe(...t);
28
34
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
35
  }
30
- function ar(e, t, r) {
31
- e.$$.on_destroy.push(At(t, r));
36
+ function hr(e, t, r) {
37
+ e.$$.on_destroy.push(It(t, r));
32
38
  }
33
39
  function me(e) {
34
- return e && fe(e.destroy) ? e.destroy : D;
40
+ return e && ce(e.destroy) ? e.destroy : U;
35
41
  }
36
- function x(e, t) {
42
+ function S(e, t) {
37
43
  e.appendChild(t);
38
44
  }
39
- function or(e, t, r) {
40
- const n = ur(e);
45
+ function fr(e, t, r) {
46
+ const n = cr(e);
41
47
  if (!n.getElementById(t)) {
42
- const i = N("style");
43
- i.id = t, i.textContent = r, lr(n, i);
48
+ const i = B("style");
49
+ i.id = t, i.textContent = r, mr(n, i);
44
50
  }
45
51
  }
46
- function ur(e) {
52
+ function cr(e) {
47
53
  if (!e)
48
54
  return document;
49
55
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -53,48 +59,49 @@ function ur(e) {
53
59
  t
54
60
  ) : e.ownerDocument;
55
61
  }
56
- function lr(e, t) {
57
- return x(
62
+ function mr(e, t) {
63
+ return S(
58
64
  /** @type {Document} */
59
65
  e.head || e,
60
66
  t
61
67
  ), t.sheet;
62
68
  }
63
- function F(e, t, r) {
69
+ function O(e, t, r) {
64
70
  e.insertBefore(t, r || null);
65
71
  }
66
- function k(e) {
72
+ function N(e) {
67
73
  e.parentNode && e.parentNode.removeChild(e);
68
74
  }
69
- function N(e) {
75
+ function B(e) {
70
76
  return document.createElement(e);
71
77
  }
72
- function M(e) {
78
+ function L(e) {
73
79
  return document.createTextNode(e);
74
80
  }
75
- function z() {
76
- return M(" ");
81
+ function $() {
82
+ return L(" ");
77
83
  }
78
- function hr() {
79
- return M("");
84
+ function dr() {
85
+ return L("");
80
86
  }
81
- function cr(e, t, r, n) {
87
+ function br(e, t, r, n) {
82
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
83
89
  }
84
- function _(e, t, r) {
90
+ function p(e, t, r) {
85
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
86
92
  }
87
- function fr(e) {
93
+ function Q(e, t, r) {
94
+ const n = t.toLowerCase();
95
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
96
+ }
97
+ function gr(e) {
88
98
  return Array.from(e.childNodes);
89
99
  }
90
100
  function G(e, t) {
91
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
92
102
  t);
93
103
  }
94
- function De(e, t, r, n) {
95
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
96
- }
97
- function mr(e) {
104
+ function pr(e) {
98
105
  const t = {};
99
106
  return e.childNodes.forEach(
100
107
  /** @param {Element} node */
@@ -107,121 +114,121 @@ let le;
107
114
  function ue(e) {
108
115
  le = e;
109
116
  }
110
- function dr() {
117
+ function yr() {
111
118
  if (!le)
112
119
  throw new Error("Function called outside component initialization");
113
120
  return le;
114
121
  }
115
- function br(e) {
116
- dr().$$.on_mount.push(e);
122
+ function _r(e) {
123
+ yr().$$.on_mount.push(e);
117
124
  }
118
125
  const q = [], ke = [];
119
126
  let Y = [];
120
- const rt = [], gr = /* @__PURE__ */ Promise.resolve();
127
+ const it = [], xr = /* @__PURE__ */ Promise.resolve();
121
128
  let Ue = !1;
122
- function pr() {
123
- Ue || (Ue = !0, gr.then(O));
129
+ function Er() {
130
+ Ue || (Ue = !0, xr.then(I));
124
131
  }
125
132
  function Fe(e) {
126
133
  Y.push(e);
127
134
  }
128
- const Pe = /* @__PURE__ */ new Set();
129
- let Z = 0;
130
- function O() {
131
- if (Z !== 0)
135
+ const Ne = /* @__PURE__ */ new Set();
136
+ let X = 0;
137
+ function I() {
138
+ if (X !== 0)
132
139
  return;
133
140
  const e = le;
134
141
  do {
135
142
  try {
136
- for (; Z < q.length; ) {
137
- const t = q[Z];
138
- Z++, ue(t), yr(t.$$);
143
+ for (; X < q.length; ) {
144
+ const t = q[X];
145
+ X++, ue(t), vr(t.$$);
139
146
  }
140
147
  } catch (t) {
141
- throw q.length = 0, Z = 0, t;
148
+ throw q.length = 0, X = 0, t;
142
149
  }
143
- for (ue(null), q.length = 0, Z = 0; ke.length; )
150
+ for (ue(null), q.length = 0, X = 0; ke.length; )
144
151
  ke.pop()();
145
152
  for (let t = 0; t < Y.length; t += 1) {
146
153
  const r = Y[t];
147
- Pe.has(r) || (Pe.add(r), r());
154
+ Ne.has(r) || (Ne.add(r), r());
148
155
  }
149
156
  Y.length = 0;
150
157
  } while (q.length);
151
- for (; rt.length; )
152
- rt.pop()();
153
- Ue = !1, Pe.clear(), ue(e);
158
+ for (; it.length; )
159
+ it.pop()();
160
+ Ue = !1, Ne.clear(), ue(e);
154
161
  }
155
- function yr(e) {
162
+ function vr(e) {
156
163
  if (e.fragment !== null) {
157
164
  e.update(), ne(e.before_update);
158
165
  const t = e.dirty;
159
166
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
160
167
  }
161
168
  }
162
- function _r(e) {
169
+ function Sr(e) {
163
170
  const t = [], r = [];
164
171
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
165
172
  }
166
- const Er = /* @__PURE__ */ new Set();
167
- function vr(e, t) {
168
- e && e.i && (Er.delete(e), e.i(t));
173
+ const Tr = /* @__PURE__ */ new Set();
174
+ function Ar(e, t) {
175
+ e && e.i && (Tr.delete(e), e.i(t));
169
176
  }
170
- function xr(e, t, r) {
177
+ function Hr(e, t, r) {
171
178
  const { fragment: n, after_update: i } = e.$$;
172
179
  n && n.m(t, r), Fe(() => {
173
- const s = e.$$.on_mount.map(St).filter(fe);
180
+ const s = e.$$.on_mount.map(Ct).filter(ce);
174
181
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
175
182
  }), i.forEach(Fe);
176
183
  }
177
- function Sr(e, t) {
184
+ function Cr(e, t) {
178
185
  const r = e.$$;
179
- r.fragment !== null && (_r(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (Sr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
187
  }
181
- function Tr(e, t) {
182
- e.$$.dirty[0] === -1 && (q.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function Br(e, t) {
189
+ e.$$.dirty[0] === -1 && (q.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
183
190
  }
184
- function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
185
- const h = le;
191
+ function Ir(e, t, r, n, i, s, a = null, o = [-1]) {
192
+ const l = le;
186
193
  ue(e);
187
194
  const u = e.$$ = {
188
195
  fragment: null,
189
196
  ctx: [],
190
197
  // state
191
198
  props: s,
192
- update: D,
199
+ update: U,
193
200
  not_equal: i,
194
- bound: tt(),
201
+ bound: nt(),
195
202
  // lifecycle
196
203
  on_mount: [],
197
204
  on_destroy: [],
198
205
  on_disconnect: [],
199
206
  before_update: [],
200
207
  after_update: [],
201
- context: new Map(t.context || (h ? h.$$.context : [])),
208
+ context: new Map(t.context || (l ? l.$$.context : [])),
202
209
  // everything else
203
- callbacks: tt(),
210
+ callbacks: nt(),
204
211
  dirty: o,
205
212
  skip_bound: !1,
206
- root: t.target || h.$$.root
213
+ root: t.target || l.$$.root
207
214
  };
208
215
  a && a(u.root);
209
- let l = !1;
210
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...E) => {
211
- const d = E.length ? E[0] : f;
212
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), l && Tr(e, c)), f;
213
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
216
+ let h = !1;
217
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
218
+ const b = g.length ? g[0] : f;
219
+ return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Br(e, c)), f;
220
+ }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
214
221
  if (t.hydrate) {
215
- const c = fr(t.target);
216
- u.fragment && u.fragment.l(c), c.forEach(k);
222
+ const c = gr(t.target);
223
+ u.fragment && u.fragment.l(c), c.forEach(N);
217
224
  } else
218
225
  u.fragment && u.fragment.c();
219
- t.intro && vr(e.$$.fragment), xr(e, t.target, t.anchor), O();
226
+ t.intro && Ar(e.$$.fragment), Hr(e, t.target, t.anchor), I();
220
227
  }
221
- ue(h);
228
+ ue(l);
222
229
  }
223
- let Ht;
224
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
230
+ let Nt;
231
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
225
232
  /** The Svelte component constructor */
226
233
  $$ctor;
227
234
  /** Slots */
@@ -263,29 +270,29 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
263
270
  let s;
264
271
  return {
265
272
  c: function() {
266
- s = N("slot"), i !== "default" && _(s, "name", i);
273
+ s = B("slot"), i !== "default" && p(s, "name", i);
267
274
  },
268
275
  /**
269
276
  * @param {HTMLElement} target
270
277
  * @param {HTMLElement} [anchor]
271
278
  */
272
- m: function(h, u) {
273
- F(h, s, u);
279
+ m: function(l, u) {
280
+ O(l, s, u);
274
281
  },
275
- d: function(h) {
276
- h && k(s);
282
+ d: function(l) {
283
+ l && N(s);
277
284
  }
278
285
  };
279
286
  };
280
287
  };
281
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
282
289
  return;
283
- const t = {}, r = mr(this);
290
+ const t = {}, r = pr(this);
284
291
  for (const i of this.$$s)
285
292
  i in r && (t[i] = [e(i)]);
286
293
  for (const i of this.attributes) {
287
294
  const s = this.$$g_p(i.name);
288
- s in this.$$d || (this.$$d[s] = ge(s, i.value, this.$$p_d, "toProp"));
295
+ s in this.$$d || (this.$$d[s] = pe(s, i.value, this.$$p_d, "toProp"));
289
296
  }
290
297
  for (const i in this.$$p_d)
291
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -303,7 +310,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
303
310
  this.$$r = !0;
304
311
  for (const i in this.$$p_d)
305
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
306
- const s = ge(
313
+ const s = pe(
307
314
  i,
308
315
  this.$$d[i],
309
316
  this.$$p_d,
@@ -325,7 +332,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
325
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
326
333
  // and setting attributes through setAttribute etc, this is helpful
327
334
  attributeChangedCallback(e, t, r) {
328
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
329
336
  }
330
337
  disconnectedCallback() {
331
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -338,7 +345,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
338
345
  ) || e;
339
346
  }
340
347
  });
341
- function ge(e, t, r, n) {
348
+ function pe(e, t, r, n) {
342
349
  const i = r[e]?.type;
343
350
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
344
351
  return t;
@@ -367,8 +374,8 @@ function ge(e, t, r, n) {
367
374
  return t;
368
375
  }
369
376
  }
370
- function Hr(e, t, r, n, i, s) {
371
- let a = class extends Ht {
377
+ function Nr(e, t, r, n, i, s) {
378
+ let a = class extends Nt {
372
379
  constructor() {
373
380
  super(e, r, i), this.$$p_d = t;
374
381
  }
@@ -383,8 +390,8 @@ function Hr(e, t, r, n, i, s) {
383
390
  get() {
384
391
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
385
392
  },
386
- set(h) {
387
- h = ge(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
393
+ set(l) {
394
+ l = pe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
388
395
  }
389
396
  });
390
397
  }), n.forEach((o) => {
@@ -396,7 +403,7 @@ function Hr(e, t, r, n, i, s) {
396
403
  }), e.element = /** @type {any} */
397
404
  a, a;
398
405
  }
399
- class Cr {
406
+ class wr {
400
407
  /**
401
408
  * ### PRIVATE API
402
409
  *
@@ -415,7 +422,7 @@ class Cr {
415
422
  $$set = void 0;
416
423
  /** @returns {void} */
417
424
  $destroy() {
418
- Sr(this, 1), this.$destroy = D;
425
+ Cr(this, 1), this.$destroy = U;
419
426
  }
420
427
  /**
421
428
  * @template {Extract<keyof Events, string>} K
@@ -424,8 +431,8 @@ class Cr {
424
431
  * @returns {() => void}
425
432
  */
426
433
  $on(t, r) {
427
- if (!fe(r))
428
- return D;
434
+ if (!ce(r))
435
+ return U;
429
436
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
430
437
  return n.push(r), () => {
431
438
  const i = n.indexOf(r);
@@ -437,38 +444,38 @@ class Cr {
437
444
  * @returns {void}
438
445
  */
439
446
  $set(t) {
440
- this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
448
  }
442
449
  }
443
- const Br = "4";
444
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
445
- const Q = [];
446
- function Or(e, t) {
450
+ const Or = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
452
+ const Z = [];
453
+ function Pr(e, t) {
447
454
  return {
448
- subscribe: xe(e, t).subscribe
455
+ subscribe: ve(e, t).subscribe
449
456
  };
450
457
  }
451
- function xe(e, t = D) {
458
+ function ve(e, t = U) {
452
459
  let r;
453
460
  const n = /* @__PURE__ */ new Set();
454
461
  function i(o) {
455
- if (Tt(e, o) && (e = o, r)) {
456
- const h = !Q.length;
462
+ if (Bt(e, o) && (e = o, r)) {
463
+ const l = !Z.length;
457
464
  for (const u of n)
458
- u[1](), Q.push(u, e);
459
- if (h) {
460
- for (let u = 0; u < Q.length; u += 2)
461
- Q[u][0](Q[u + 1]);
462
- Q.length = 0;
465
+ u[1](), Z.push(u, e);
466
+ if (l) {
467
+ for (let u = 0; u < Z.length; u += 2)
468
+ Z[u][0](Z[u + 1]);
469
+ Z.length = 0;
463
470
  }
464
471
  }
465
472
  }
466
473
  function s(o) {
467
474
  i(o(e));
468
475
  }
469
- function a(o, h = D) {
470
- const u = [o, h];
471
- return n.add(u), n.size === 1 && (r = t(i, s) || D), o(e), () => {
476
+ function a(o, l = U) {
477
+ const u = [o, l];
478
+ return n.add(u), n.size === 1 && (r = t(i, s) || U), o(e), () => {
472
479
  n.delete(u), n.size === 0 && r && (r(), r = null);
473
480
  };
474
481
  }
@@ -479,96 +486,96 @@ function ie(e, t, r) {
479
486
  if (!i.every(Boolean))
480
487
  throw new Error("derived() expects stores as input, got a falsy value");
481
488
  const s = t.length < 2;
482
- return Or(r, (a, o) => {
483
- let h = !1;
489
+ return Pr(r, (a, o) => {
490
+ let l = !1;
484
491
  const u = [];
485
- let l = 0, c = D;
492
+ let h = 0, c = U;
486
493
  const f = () => {
487
- if (l)
494
+ if (h)
488
495
  return;
489
496
  c();
490
- const d = t(n ? u[0] : u, a, o);
491
- s ? a(d) : c = fe(d) ? d : D;
492
- }, E = i.map(
493
- (d, b) => At(
494
- d,
495
- (g) => {
496
- u[b] = g, l &= ~(1 << b), h && f();
497
+ const b = t(n ? u[0] : u, a, o);
498
+ s ? a(b) : c = ce(b) ? b : U;
499
+ }, g = i.map(
500
+ (b, y) => It(
501
+ b,
502
+ (d) => {
503
+ u[y] = d, h &= ~(1 << y), l && f();
497
504
  },
498
505
  () => {
499
- l |= 1 << b;
506
+ h |= 1 << y;
500
507
  }
501
508
  )
502
509
  );
503
- return h = !0, f(), function() {
504
- ne(E), c(), h = !1;
510
+ return l = !0, f(), function() {
511
+ ne(g), c(), l = !1;
505
512
  };
506
513
  });
507
514
  }
508
- function Pr(e) {
515
+ function Mr(e) {
509
516
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
510
517
  }
511
- var Nr = function(t) {
512
- return wr(t) && !Ir(t);
518
+ var Rr = function(t) {
519
+ return Lr(t) && !Dr(t);
513
520
  };
514
- function wr(e) {
521
+ function Lr(e) {
515
522
  return !!e && typeof e == "object";
516
523
  }
517
- function Ir(e) {
524
+ function Dr(e) {
518
525
  var t = Object.prototype.toString.call(e);
519
- return t === "[object RegExp]" || t === "[object Date]" || Lr(e);
526
+ return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
520
527
  }
521
- var Mr = typeof Symbol == "function" && Symbol.for, Rr = Mr ? Symbol.for("react.element") : 60103;
522
- function Lr(e) {
523
- return e.$$typeof === Rr;
528
+ var kr = typeof Symbol == "function" && Symbol.for, Ur = kr ? Symbol.for("react.element") : 60103;
529
+ function Fr(e) {
530
+ return e.$$typeof === Ur;
524
531
  }
525
- function Dr(e) {
532
+ function Gr(e) {
526
533
  return Array.isArray(e) ? [] : {};
527
534
  }
528
535
  function he(e, t) {
529
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Dr(e), e, t) : e;
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Gr(e), e, t) : e;
530
537
  }
531
- function kr(e, t, r) {
538
+ function $r(e, t, r) {
532
539
  return e.concat(t).map(function(n) {
533
540
  return he(n, r);
534
541
  });
535
542
  }
536
- function Ur(e, t) {
543
+ function jr(e, t) {
537
544
  if (!t.customMerge)
538
545
  return K;
539
546
  var r = t.customMerge(e);
540
547
  return typeof r == "function" ? r : K;
541
548
  }
542
- function Fr(e) {
549
+ function Vr(e) {
543
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
544
551
  return Object.propertyIsEnumerable.call(e, t);
545
552
  }) : [];
546
553
  }
547
- function nt(e) {
548
- return Object.keys(e).concat(Fr(e));
554
+ function st(e) {
555
+ return Object.keys(e).concat(Vr(e));
549
556
  }
550
- function Ct(e, t) {
557
+ function wt(e, t) {
551
558
  try {
552
559
  return t in e;
553
560
  } catch {
554
561
  return !1;
555
562
  }
556
563
  }
557
- function Gr(e, t) {
558
- return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
564
+ function Jr(e, t) {
565
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
559
566
  }
560
- function $r(e, t, r) {
567
+ function zr(e, t, r) {
561
568
  var n = {};
562
- return r.isMergeableObject(e) && nt(e).forEach(function(i) {
569
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
563
570
  n[i] = he(e[i], r);
564
- }), nt(t).forEach(function(i) {
565
- Gr(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
571
+ }), st(t).forEach(function(i) {
572
+ Jr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
566
573
  }), n;
567
574
  }
568
575
  function K(e, t, r) {
569
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || Nr, r.cloneUnlessOtherwiseSpecified = he;
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = he;
570
577
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
571
- return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : he(t, r);
578
+ return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : he(t, r);
572
579
  }
573
580
  K.all = function(t, r) {
574
581
  if (!Array.isArray(t))
@@ -577,8 +584,22 @@ K.all = function(t, r) {
577
584
  return K(n, i, r);
578
585
  }, {});
579
586
  };
580
- var jr = K, Vr = jr;
581
- const Jr = /* @__PURE__ */ Pr(Vr);
587
+ var Wr = K, Xr = Wr;
588
+ const Zr = /* @__PURE__ */ Mr(Xr);
589
+ /*! *****************************************************************************
590
+ Copyright (c) Microsoft Corporation.
591
+
592
+ Permission to use, copy, modify, and/or distribute this software for any
593
+ purpose with or without fee is hereby granted.
594
+
595
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
+ PERFORMANCE OF THIS SOFTWARE.
602
+ ***************************************************************************** */
582
603
  var Ge = function(e, t) {
583
604
  return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
584
605
  r.__proto__ = n;
@@ -596,17 +617,17 @@ function Se(e, t) {
596
617
  }
597
618
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
598
619
  }
599
- var $ = function() {
600
- return $ = Object.assign || function(t) {
620
+ var E = function() {
621
+ return E = Object.assign || function(t) {
601
622
  for (var r, n = 1, i = arguments.length; n < i; n++) {
602
623
  r = arguments[n];
603
624
  for (var s in r)
604
625
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
605
626
  }
606
627
  return t;
607
- }, $.apply(this, arguments);
628
+ }, E.apply(this, arguments);
608
629
  };
609
- function zr(e, t) {
630
+ function qr(e, t) {
610
631
  var r = {};
611
632
  for (var n in e)
612
633
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -615,74 +636,66 @@ function zr(e, t) {
615
636
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
616
637
  return r;
617
638
  }
618
- function Ne(e, t, r) {
619
- if (r || arguments.length === 2)
639
+ function we(e, t, r) {
640
+ if (arguments.length === 2)
620
641
  for (var n = 0, i = t.length, s; n < i; n++)
621
642
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
622
- return e.concat(s || Array.prototype.slice.call(t));
643
+ return e.concat(s || t);
623
644
  }
624
- function we(e, t) {
625
- var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : qr, i = t && t.strategy ? t.strategy : Zr;
645
+ function Oe(e, t) {
646
+ var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Yr;
626
647
  return i(e, {
627
648
  cache: r,
628
649
  serializer: n
629
650
  });
630
651
  }
631
- function Wr(e) {
652
+ function Qr(e) {
632
653
  return e == null || typeof e == "number" || typeof e == "boolean";
633
654
  }
634
- function Xr(e, t, r, n) {
635
- var i = Wr(n) ? n : r(n), s = t.get(i);
655
+ function Ot(e, t, r, n) {
656
+ var i = Qr(n) ? n : r(n), s = t.get(i);
636
657
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
637
658
  }
638
- function Bt(e, t, r) {
659
+ function Pt(e, t, r) {
639
660
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
640
661
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
641
662
  }
642
- function Ot(e, t, r, n, i) {
663
+ function qe(e, t, r, n, i) {
643
664
  return r.bind(t, e, n, i);
644
665
  }
645
- function Zr(e, t) {
646
- var r = e.length === 1 ? Xr : Bt;
647
- return Ot(e, this, r, t.cache.create(), t.serializer);
666
+ function Yr(e, t) {
667
+ var r = e.length === 1 ? Ot : Pt;
668
+ return qe(e, this, r, t.cache.create(), t.serializer);
669
+ }
670
+ function Kr(e, t) {
671
+ return qe(e, this, Pt, t.cache.create(), t.serializer);
648
672
  }
649
- function Qr(e, t) {
650
- return Ot(e, this, Bt, t.cache.create(), t.serializer);
673
+ function en(e, t) {
674
+ return qe(e, this, Ot, t.cache.create(), t.serializer);
651
675
  }
652
- var qr = function() {
676
+ var tn = function() {
653
677
  return JSON.stringify(arguments);
654
- }, Yr = (
655
- /** @class */
656
- function() {
657
- function e() {
658
- this.cache = /* @__PURE__ */ Object.create(null);
659
- }
660
- return e.prototype.get = function(t) {
661
- return this.cache[t];
662
- }, e.prototype.set = function(t, r) {
663
- this.cache[t] = r;
664
- }, e;
665
- }()
666
- ), Kr = {
678
+ };
679
+ function Qe() {
680
+ this.cache = /* @__PURE__ */ Object.create(null);
681
+ }
682
+ Qe.prototype.get = function(e) {
683
+ return this.cache[e];
684
+ };
685
+ Qe.prototype.set = function(e, t) {
686
+ this.cache[e] = t;
687
+ };
688
+ var rn = {
667
689
  create: function() {
668
- return new Yr();
690
+ return new Qe();
669
691
  }
670
- }, Ie = {
671
- variadic: Qr
672
- }, _e = function() {
673
- return _e = Object.assign || function(t) {
674
- for (var r, n = 1, i = arguments.length; n < i; n++) {
675
- r = arguments[n];
676
- for (var s in r)
677
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
678
- }
679
- return t;
680
- }, _e.apply(this, arguments);
681
- };
682
- var y;
692
+ }, Pe = {
693
+ variadic: Kr,
694
+ monadic: en
695
+ }, _;
683
696
  (function(e) {
684
697
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
685
- })(y || (y = {}));
698
+ })(_ || (_ = {}));
686
699
  var T;
687
700
  (function(e) {
688
701
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -691,43 +704,43 @@ var ee;
691
704
  (function(e) {
692
705
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
693
706
  })(ee || (ee = {}));
694
- function it(e) {
707
+ function at(e) {
695
708
  return e.type === T.literal;
696
709
  }
697
- function en(e) {
710
+ function nn(e) {
698
711
  return e.type === T.argument;
699
712
  }
700
- function Pt(e) {
713
+ function Mt(e) {
701
714
  return e.type === T.number;
702
715
  }
703
- function Nt(e) {
716
+ function Rt(e) {
704
717
  return e.type === T.date;
705
718
  }
706
- function wt(e) {
719
+ function Lt(e) {
707
720
  return e.type === T.time;
708
721
  }
709
- function It(e) {
722
+ function Dt(e) {
710
723
  return e.type === T.select;
711
724
  }
712
- function Mt(e) {
725
+ function kt(e) {
713
726
  return e.type === T.plural;
714
727
  }
715
- function tn(e) {
728
+ function sn(e) {
716
729
  return e.type === T.pound;
717
730
  }
718
- function Rt(e) {
731
+ function Ut(e) {
719
732
  return e.type === T.tag;
720
733
  }
721
- function Lt(e) {
734
+ function Ft(e) {
722
735
  return !!(e && typeof e == "object" && e.type === ee.number);
723
736
  }
724
737
  function $e(e) {
725
738
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
726
739
  }
727
- var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
728
- function nn(e) {
740
+ var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
741
+ function on(e) {
729
742
  var t = {};
730
- return e.replace(rn, function(r) {
743
+ return e.replace(an, function(r) {
731
744
  var n = r.length;
732
745
  switch (r[0]) {
733
746
  case "G":
@@ -816,46 +829,36 @@ function nn(e) {
816
829
  return "";
817
830
  }), t;
818
831
  }
819
- var A = function() {
820
- return A = Object.assign || function(t) {
821
- for (var r, n = 1, i = arguments.length; n < i; n++) {
822
- r = arguments[n];
823
- for (var s in r)
824
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
825
- }
826
- return t;
827
- }, A.apply(this, arguments);
828
- };
829
- var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
830
- function an(e) {
832
+ var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
833
+ function ln(e) {
831
834
  if (e.length === 0)
832
835
  throw new Error("Number skeleton cannot be empty");
833
- for (var t = e.split(sn).filter(function(f) {
836
+ for (var t = e.split(un).filter(function(f) {
834
837
  return f.length > 0;
835
838
  }), r = [], n = 0, i = t; n < i.length; n++) {
836
839
  var s = i[n], a = s.split("/");
837
840
  if (a.length === 0)
838
841
  throw new Error("Invalid number skeleton");
839
- for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
840
- var c = l[u];
842
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
843
+ var c = h[u];
841
844
  if (c.length === 0)
842
845
  throw new Error("Invalid number skeleton");
843
846
  }
844
- r.push({ stem: o, options: h });
847
+ r.push({ stem: o, options: l });
845
848
  }
846
849
  return r;
847
850
  }
848
- function on(e) {
851
+ function hn(e) {
849
852
  return e.replace(/^(.*?)-/, "");
850
853
  }
851
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
852
- function at(e) {
854
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
855
+ function ut(e) {
853
856
  var t = {};
854
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
857
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
855
858
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
856
859
  }), t;
857
860
  }
858
- function Ft(e) {
861
+ function Vt(e) {
859
862
  switch (e) {
860
863
  case "sign-auto":
861
864
  return {
@@ -895,7 +898,7 @@ function Ft(e) {
895
898
  };
896
899
  }
897
900
  }
898
- function ln(e) {
901
+ function cn(e) {
899
902
  var t;
900
903
  if (e[0] === "E" && e[1] === "E" ? (t = {
901
904
  notation: "engineering"
@@ -903,17 +906,17 @@ function ln(e) {
903
906
  notation: "scientific"
904
907
  }, e = e.slice(1)), t) {
905
908
  var r = e.slice(0, 2);
906
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
909
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
907
910
  throw new Error("Malformed concise eng/scientific notation");
908
911
  t.minimumIntegerDigits = e.length;
909
912
  }
910
913
  return t;
911
914
  }
912
- function ot(e) {
913
- var t = {}, r = Ft(e);
915
+ function lt(e) {
916
+ var t = {}, r = Vt(e);
914
917
  return r || t;
915
918
  }
916
- function hn(e) {
919
+ function mn(e) {
917
920
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
918
921
  var i = n[r];
919
922
  switch (i.stem) {
@@ -937,7 +940,7 @@ function hn(e) {
937
940
  continue;
938
941
  case "measure-unit":
939
942
  case "unit":
940
- t.style = "unit", t.unit = on(i.options[0]);
943
+ t.style = "unit", t.unit = hn(i.options[0]);
941
944
  continue;
942
945
  case "compact-short":
943
946
  case "K":
@@ -948,13 +951,13 @@ function hn(e) {
948
951
  t.notation = "compact", t.compactDisplay = "long";
949
952
  continue;
950
953
  case "scientific":
951
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
952
- return A(A({}, h), ot(u));
954
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
955
+ return E(E({}, l), lt(u));
953
956
  }, {}));
954
957
  continue;
955
958
  case "engineering":
956
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
957
- return A(A({}, h), ot(u));
959
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
960
+ return E(E({}, l), lt(u));
958
961
  }, {}));
959
962
  continue;
960
963
  case "notation-simple":
@@ -999,45 +1002,45 @@ function hn(e) {
999
1002
  case "integer-width":
1000
1003
  if (i.options.length > 1)
1001
1004
  throw new RangeError("integer-width stems only accept a single optional option");
1002
- i.options[0].replace(un, function(h, u, l, c, f, E) {
1005
+ i.options[0].replace(fn, function(l, u, h, c, f, g) {
1003
1006
  if (u)
1004
- t.minimumIntegerDigits = l.length;
1007
+ t.minimumIntegerDigits = h.length;
1005
1008
  else {
1006
1009
  if (c && f)
1007
1010
  throw new Error("We currently do not support maximum integer digits");
1008
- if (E)
1011
+ if (g)
1009
1012
  throw new Error("We currently do not support exact integer digits");
1010
1013
  }
1011
1014
  return "";
1012
1015
  });
1013
1016
  continue;
1014
1017
  }
1015
- if (Ut.test(i.stem)) {
1018
+ if (jt.test(i.stem)) {
1016
1019
  t.minimumIntegerDigits = i.stem.length;
1017
1020
  continue;
1018
1021
  }
1019
- if (st.test(i.stem)) {
1022
+ if (ot.test(i.stem)) {
1020
1023
  if (i.options.length > 1)
1021
1024
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1022
- i.stem.replace(st, function(h, u, l, c, f, E) {
1023
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && E ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1025
+ i.stem.replace(ot, function(l, u, h, c, f, g) {
1026
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1024
1027
  });
1025
1028
  var s = i.options[0];
1026
- s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), at(s)));
1029
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ut(s)));
1027
1030
  continue;
1028
1031
  }
1029
- if (kt.test(i.stem)) {
1030
- t = A(A({}, t), at(i.stem));
1032
+ if ($t.test(i.stem)) {
1033
+ t = E(E({}, t), ut(i.stem));
1031
1034
  continue;
1032
1035
  }
1033
- var a = Ft(i.stem);
1034
- a && (t = A(A({}, t), a));
1035
- var o = ln(i.stem);
1036
- o && (t = A(A({}, t), o));
1036
+ var a = Vt(i.stem);
1037
+ a && (t = E(E({}, t), a));
1038
+ var o = cn(i.stem);
1039
+ o && (t = E(E({}, t), o));
1037
1040
  }
1038
1041
  return t;
1039
1042
  }
1040
- var be = {
1043
+ var ge = {
1041
1044
  "001": [
1042
1045
  "H",
1043
1046
  "h"
@@ -2452,15 +2455,15 @@ var be = {
2452
2455
  "h"
2453
2456
  ]
2454
2457
  };
2455
- function cn(e, t) {
2458
+ function dn(e, t) {
2456
2459
  for (var r = "", n = 0; n < e.length; n++) {
2457
2460
  var i = e.charAt(n);
2458
2461
  if (i === "j") {
2459
2462
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2460
2463
  s++, n++;
2461
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = fn(t);
2464
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
2462
2465
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2463
- r += h;
2466
+ r += l;
2464
2467
  for (; a-- > 0; )
2465
2468
  r = u + r;
2466
2469
  } else
@@ -2468,7 +2471,7 @@ function cn(e, t) {
2468
2471
  }
2469
2472
  return r;
2470
2473
  }
2471
- function fn(e) {
2474
+ function bn(e) {
2472
2475
  var t = e.hourCycle;
2473
2476
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2474
2477
  e.hourCycles && // @ts-ignore
@@ -2487,23 +2490,23 @@ function fn(e) {
2487
2490
  }
2488
2491
  var r = e.language, n;
2489
2492
  r !== "root" && (n = e.maximize().region);
2490
- var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2493
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2491
2494
  return i[0];
2492
2495
  }
2493
- var Me, mn = new RegExp("^".concat(Dt.source, "*")), dn = new RegExp("".concat(Dt.source, "*$"));
2494
- function v(e, t) {
2496
+ var Me, gn = new RegExp("^".concat(Gt.source, "*")), pn = new RegExp("".concat(Gt.source, "*$"));
2497
+ function x(e, t) {
2495
2498
  return { start: e, end: t };
2496
2499
  }
2497
- var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, pn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, xn = vn ? Number.isSafeInteger : function(e) {
2500
+ var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, xn = !!Object.fromEntries, En = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, An = Tn ? Number.isSafeInteger : function(e) {
2498
2501
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2499
2502
  }, je = !0;
2500
2503
  try {
2501
- var Sn = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2502
- je = ((Me = Sn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2504
+ var Hn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2505
+ je = ((Me = Hn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2503
2506
  } catch {
2504
2507
  je = !1;
2505
2508
  }
2506
- var ut = bn ? (
2509
+ var ht = yn ? (
2507
2510
  // Native
2508
2511
  function(t, r, n) {
2509
2512
  return t.startsWith(r, n);
@@ -2513,7 +2516,7 @@ var ut = bn ? (
2513
2516
  function(t, r, n) {
2514
2517
  return t.slice(n, n + r.length) === r;
2515
2518
  }
2516
- ), Ve = gn ? String.fromCodePoint : (
2519
+ ), Ve = _n ? String.fromCodePoint : (
2517
2520
  // IE11
2518
2521
  function() {
2519
2522
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2525,9 +2528,9 @@ var ut = bn ? (
2525
2528
  }
2526
2529
  return n;
2527
2530
  }
2528
- ), lt = (
2531
+ ), ft = (
2529
2532
  // native
2530
- pn ? Object.fromEntries : (
2533
+ xn ? Object.fromEntries : (
2531
2534
  // Ponyfill
2532
2535
  function(t) {
2533
2536
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2537,7 +2540,7 @@ var ut = bn ? (
2537
2540
  return r;
2538
2541
  }
2539
2542
  )
2540
- ), Gt = yn ? (
2543
+ ), Jt = En ? (
2541
2544
  // Native
2542
2545
  function(t, r) {
2543
2546
  return t.codePointAt(r);
@@ -2551,7 +2554,7 @@ var ut = bn ? (
2551
2554
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2552
2555
  }
2553
2556
  }
2554
- ), Tn = _n ? (
2557
+ ), Cn = vn ? (
2555
2558
  // Native
2556
2559
  function(t) {
2557
2560
  return t.trimStart();
@@ -2559,9 +2562,9 @@ var ut = bn ? (
2559
2562
  ) : (
2560
2563
  // Ponyfill
2561
2564
  function(t) {
2562
- return t.replace(mn, "");
2565
+ return t.replace(gn, "");
2563
2566
  }
2564
- ), An = En ? (
2567
+ ), Bn = Sn ? (
2565
2568
  // Native
2566
2569
  function(t) {
2567
2570
  return t.trimEnd();
@@ -2569,32 +2572,32 @@ var ut = bn ? (
2569
2572
  ) : (
2570
2573
  // Ponyfill
2571
2574
  function(t) {
2572
- return t.replace(dn, "");
2575
+ return t.replace(pn, "");
2573
2576
  }
2574
2577
  );
2575
- function $t(e, t) {
2578
+ function zt(e, t) {
2576
2579
  return new RegExp(e, t);
2577
2580
  }
2578
2581
  var Je;
2579
2582
  if (je) {
2580
- var ht = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2583
+ var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2581
2584
  Je = function(t, r) {
2582
2585
  var n;
2583
- ht.lastIndex = r;
2584
- var i = ht.exec(t);
2586
+ ct.lastIndex = r;
2587
+ var i = ct.exec(t);
2585
2588
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2586
2589
  };
2587
2590
  } else
2588
2591
  Je = function(t, r) {
2589
2592
  for (var n = []; ; ) {
2590
- var i = Gt(t, r);
2591
- if (i === void 0 || jt(i) || On(i))
2593
+ var i = Jt(t, r);
2594
+ if (i === void 0 || Wt(i) || On(i))
2592
2595
  break;
2593
2596
  n.push(i), r += i >= 65536 ? 2 : 1;
2594
2597
  }
2595
2598
  return Ve.apply(void 0, n);
2596
2599
  };
2597
- var Hn = (
2600
+ var In = (
2598
2601
  /** @class */
2599
2602
  function() {
2600
2603
  function e(t, r) {
@@ -2619,12 +2622,12 @@ var Hn = (
2619
2622
  var o = this.clonePosition();
2620
2623
  this.bump(), i.push({
2621
2624
  type: T.pound,
2622
- location: v(o, this.clonePosition())
2625
+ location: x(o, this.clonePosition())
2623
2626
  });
2624
2627
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2625
2628
  if (n)
2626
2629
  break;
2627
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2630
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2628
2631
  } else if (s === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
2629
2632
  var a = this.parseTag(t, r);
2630
2633
  if (a.err)
@@ -2648,7 +2651,7 @@ var Hn = (
2648
2651
  val: {
2649
2652
  type: T.literal,
2650
2653
  value: "<".concat(i, "/>"),
2651
- location: v(n, this.clonePosition())
2654
+ location: x(n, this.clonePosition())
2652
2655
  },
2653
2656
  err: null
2654
2657
  };
@@ -2659,24 +2662,24 @@ var Hn = (
2659
2662
  var a = s.val, o = this.clonePosition();
2660
2663
  if (this.bumpIf("</")) {
2661
2664
  if (this.isEOF() || !ze(this.char()))
2662
- return this.error(y.INVALID_TAG, v(o, this.clonePosition()));
2663
- var h = this.clonePosition(), u = this.parseTagName();
2664
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2665
+ return this.error(_.INVALID_TAG, x(o, this.clonePosition()));
2666
+ var l = this.clonePosition(), u = this.parseTagName();
2667
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2665
2668
  val: {
2666
2669
  type: T.tag,
2667
2670
  value: i,
2668
2671
  children: a,
2669
- location: v(n, this.clonePosition())
2672
+ location: x(n, this.clonePosition())
2670
2673
  },
2671
2674
  err: null
2672
- } : this.error(y.INVALID_TAG, v(o, this.clonePosition())));
2675
+ } : this.error(_.INVALID_TAG, x(o, this.clonePosition())));
2673
2676
  } else
2674
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2677
+ return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
2675
2678
  } else
2676
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2679
+ return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
2677
2680
  }, e.prototype.parseTagName = function() {
2678
2681
  var t = this.offset();
2679
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
2682
+ for (this.bump(); !this.isEOF() && wn(this.char()); )
2680
2683
  this.bump();
2681
2684
  return this.message.slice(t, this.offset());
2682
2685
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2698,14 +2701,14 @@ var Hn = (
2698
2701
  }
2699
2702
  break;
2700
2703
  }
2701
- var h = v(n, this.clonePosition());
2704
+ var l = x(n, this.clonePosition());
2702
2705
  return {
2703
- val: { type: T.literal, value: i, location: h },
2706
+ val: { type: T.literal, value: i, location: l },
2704
2707
  err: null
2705
2708
  };
2706
2709
  }, e.prototype.tryParseLeftAngleBracket = function() {
2707
2710
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2708
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2711
+ !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2709
2712
  }, e.prototype.tryParseQuote = function(t) {
2710
2713
  if (this.isEOF() || this.char() !== 39)
2711
2714
  return null;
@@ -2748,14 +2751,14 @@ var Hn = (
2748
2751
  }, e.prototype.parseArgument = function(t, r) {
2749
2752
  var n = this.clonePosition();
2750
2753
  if (this.bump(), this.bumpSpace(), this.isEOF())
2751
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2754
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2752
2755
  if (this.char() === 125)
2753
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2756
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2754
2757
  var i = this.parseIdentifierIfPossible().value;
2755
2758
  if (!i)
2756
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2759
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2757
2760
  if (this.bumpSpace(), this.isEOF())
2758
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2761
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2759
2762
  switch (this.char()) {
2760
2763
  case 125:
2761
2764
  return this.bump(), {
@@ -2763,25 +2766,25 @@ var Hn = (
2763
2766
  type: T.argument,
2764
2767
  // value does not include the opening and closing braces.
2765
2768
  value: i,
2766
- location: v(n, this.clonePosition())
2769
+ location: x(n, this.clonePosition())
2767
2770
  },
2768
2771
  err: null
2769
2772
  };
2770
2773
  case 44:
2771
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2774
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2772
2775
  default:
2773
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2776
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2774
2777
  }
2775
2778
  }, e.prototype.parseIdentifierIfPossible = function() {
2776
2779
  var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2777
2780
  this.bumpTo(i);
2778
- var s = this.clonePosition(), a = v(t, s);
2781
+ var s = this.clonePosition(), a = x(t, s);
2779
2782
  return { value: n, location: a };
2780
2783
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2781
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2784
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2782
2785
  switch (o) {
2783
2786
  case "":
2784
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, h));
2787
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(a, l));
2785
2788
  case "number":
2786
2789
  case "date":
2787
2790
  case "time": {
@@ -2789,40 +2792,40 @@ var Hn = (
2789
2792
  var u = null;
2790
2793
  if (this.bumpIf(",")) {
2791
2794
  this.bumpSpace();
2792
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2795
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2793
2796
  if (c.err)
2794
2797
  return c;
2795
- var f = An(c.val);
2798
+ var f = Bn(c.val);
2796
2799
  if (f.length === 0)
2797
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2798
- var E = v(l, this.clonePosition());
2799
- u = { style: f, styleLocation: E };
2800
+ return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2801
+ var g = x(h, this.clonePosition());
2802
+ u = { style: f, styleLocation: g };
2800
2803
  }
2801
- var d = this.tryParseArgumentClose(i);
2802
- if (d.err)
2803
- return d;
2804
- var b = v(i, this.clonePosition());
2805
- if (u && ut(u?.style, "::", 0)) {
2806
- var g = Tn(u.style.slice(2));
2804
+ var b = this.tryParseArgumentClose(i);
2805
+ if (b.err)
2806
+ return b;
2807
+ var y = x(i, this.clonePosition());
2808
+ if (u && ht(u?.style, "::", 0)) {
2809
+ var d = Cn(u.style.slice(2));
2807
2810
  if (o === "number") {
2808
- var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
2811
+ var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
2809
2812
  return c.err ? c : {
2810
- val: { type: T.number, value: n, location: b, style: c.val },
2813
+ val: { type: T.number, value: n, location: y, style: c.val },
2811
2814
  err: null
2812
2815
  };
2813
2816
  } else {
2814
- if (g.length === 0)
2815
- return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2816
- var p = g;
2817
- this.locale && (p = cn(g, this.locale));
2817
+ if (d.length === 0)
2818
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
2819
+ var v = d;
2820
+ this.locale && (v = dn(d, this.locale));
2818
2821
  var f = {
2819
2822
  type: ee.dateTime,
2820
- pattern: p,
2823
+ pattern: v,
2821
2824
  location: u.styleLocation,
2822
- parsedOptions: this.shouldParseSkeletons ? nn(p) : {}
2823
- }, S = o === "date" ? T.date : T.time;
2825
+ parsedOptions: this.shouldParseSkeletons ? on(v) : {}
2826
+ }, P = o === "date" ? T.date : T.time;
2824
2827
  return {
2825
- val: { type: S, value: n, location: b, style: f },
2828
+ val: { type: P, value: n, location: y, style: f },
2826
2829
  err: null
2827
2830
  };
2828
2831
  }
@@ -2831,7 +2834,7 @@ var Hn = (
2831
2834
  val: {
2832
2835
  type: o === "number" ? T.number : o === "date" ? T.date : T.time,
2833
2836
  value: n,
2834
- location: b,
2837
+ location: y,
2835
2838
  style: (s = u?.style) !== null && s !== void 0 ? s : null
2836
2839
  },
2837
2840
  err: null
@@ -2840,52 +2843,52 @@ var Hn = (
2840
2843
  case "plural":
2841
2844
  case "selectordinal":
2842
2845
  case "select": {
2843
- var P = this.clonePosition();
2846
+ var w = this.clonePosition();
2844
2847
  if (this.bumpSpace(), !this.bumpIf(","))
2845
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, _e({}, P)));
2848
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(w, E({}, w)));
2846
2849
  this.bumpSpace();
2847
- var H = this.parseIdentifierIfPossible(), C = 0;
2848
- if (o !== "select" && H.value === "offset") {
2850
+ var A = this.parseIdentifierIfPossible(), H = 0;
2851
+ if (o !== "select" && A.value === "offset") {
2849
2852
  if (!this.bumpIf(":"))
2850
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2853
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2851
2854
  this.bumpSpace();
2852
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2855
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2853
2856
  if (c.err)
2854
2857
  return c;
2855
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = c.val;
2858
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), H = c.val;
2856
2859
  }
2857
- var U = this.tryParsePluralOrSelectOptions(t, o, r, H);
2858
- if (U.err)
2859
- return U;
2860
- var d = this.tryParseArgumentClose(i);
2861
- if (d.err)
2862
- return d;
2863
- var L = v(i, this.clonePosition());
2860
+ var F = this.tryParsePluralOrSelectOptions(t, o, r, A);
2861
+ if (F.err)
2862
+ return F;
2863
+ var b = this.tryParseArgumentClose(i);
2864
+ if (b.err)
2865
+ return b;
2866
+ var k = x(i, this.clonePosition());
2864
2867
  return o === "select" ? {
2865
2868
  val: {
2866
2869
  type: T.select,
2867
2870
  value: n,
2868
- options: lt(U.val),
2869
- location: L
2871
+ options: ft(F.val),
2872
+ location: k
2870
2873
  },
2871
2874
  err: null
2872
2875
  } : {
2873
2876
  val: {
2874
2877
  type: T.plural,
2875
2878
  value: n,
2876
- options: lt(U.val),
2877
- offset: C,
2879
+ options: ft(F.val),
2880
+ offset: H,
2878
2881
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2879
- location: L
2882
+ location: k
2880
2883
  },
2881
2884
  err: null
2882
2885
  };
2883
2886
  }
2884
2887
  default:
2885
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, h));
2888
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(a, l));
2886
2889
  }
2887
2890
  }, e.prototype.tryParseArgumentClose = function(t) {
2888
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2891
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2889
2892
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2890
2893
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2891
2894
  var n = this.char();
@@ -2894,7 +2897,7 @@ var Hn = (
2894
2897
  this.bump();
2895
2898
  var i = this.clonePosition();
2896
2899
  if (!this.bumpUntil("'"))
2897
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2900
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2898
2901
  this.bump();
2899
2902
  break;
2900
2903
  }
@@ -2924,52 +2927,52 @@ var Hn = (
2924
2927
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2925
2928
  var n = [];
2926
2929
  try {
2927
- n = an(t);
2930
+ n = ln(t);
2928
2931
  } catch {
2929
- return this.error(y.INVALID_NUMBER_SKELETON, r);
2932
+ return this.error(_.INVALID_NUMBER_SKELETON, r);
2930
2933
  }
2931
2934
  return {
2932
2935
  val: {
2933
2936
  type: ee.number,
2934
2937
  tokens: n,
2935
2938
  location: r,
2936
- parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
2939
+ parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
2937
2940
  },
2938
2941
  err: null
2939
2942
  };
2940
2943
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2941
- for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2944
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2942
2945
  if (u.length === 0) {
2943
2946
  var c = this.clonePosition();
2944
2947
  if (r !== "select" && this.bumpIf("=")) {
2945
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2948
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2946
2949
  if (f.err)
2947
2950
  return f;
2948
- l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2951
+ h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2949
2952
  } else
2950
2953
  break;
2951
2954
  }
2952
- if (h.has(u))
2953
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2955
+ if (l.has(u))
2956
+ return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2954
2957
  u === "other" && (a = !0), this.bumpSpace();
2955
- var E = this.clonePosition();
2958
+ var g = this.clonePosition();
2956
2959
  if (!this.bumpIf("{"))
2957
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
2958
- var d = this.parseMessage(t + 1, r, n);
2959
- if (d.err)
2960
- return d;
2961
- var b = this.tryParseArgumentClose(E);
2960
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
2961
+ var b = this.parseMessage(t + 1, r, n);
2962
2962
  if (b.err)
2963
2963
  return b;
2964
+ var y = this.tryParseArgumentClose(g);
2965
+ if (y.err)
2966
+ return y;
2964
2967
  o.push([
2965
2968
  u,
2966
2969
  {
2967
- value: d.val,
2968
- location: v(E, this.clonePosition())
2970
+ value: b.val,
2971
+ location: x(g, this.clonePosition())
2969
2972
  }
2970
- ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
2973
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2971
2974
  }
2972
- return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2975
+ return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2973
2976
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2974
2977
  var n = 1, i = this.clonePosition();
2975
2978
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2980,8 +2983,8 @@ var Hn = (
2980
2983
  else
2981
2984
  break;
2982
2985
  }
2983
- var h = v(i, this.clonePosition());
2984
- return s ? (a *= n, xn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2986
+ var l = x(i, this.clonePosition());
2987
+ return s ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2985
2988
  }, e.prototype.offset = function() {
2986
2989
  return this.position.offset;
2987
2990
  }, e.prototype.isEOF = function() {
@@ -2996,7 +2999,7 @@ var Hn = (
2996
2999
  var t = this.position.offset;
2997
3000
  if (t >= this.message.length)
2998
3001
  throw Error("out of bound");
2999
- var r = Gt(this.message, t);
3002
+ var r = Jt(this.message, t);
3000
3003
  if (r === void 0)
3001
3004
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3002
3005
  return r;
@@ -3015,7 +3018,7 @@ var Hn = (
3015
3018
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3016
3019
  }
3017
3020
  }, e.prototype.bumpIf = function(t) {
3018
- if (ut(this.message, t, this.offset())) {
3021
+ if (ht(this.message, t, this.offset())) {
3019
3022
  for (var r = 0; r < t.length; r++)
3020
3023
  this.bump();
3021
3024
  return !0;
@@ -3037,7 +3040,7 @@ var Hn = (
3037
3040
  break;
3038
3041
  }
3039
3042
  }, e.prototype.bumpSpace = function() {
3040
- for (; !this.isEOF() && jt(this.char()); )
3043
+ for (; !this.isEOF() && Wt(this.char()); )
3041
3044
  this.bump();
3042
3045
  }, e.prototype.peek = function() {
3043
3046
  if (this.isEOF())
@@ -3050,13 +3053,13 @@ var Hn = (
3050
3053
  function ze(e) {
3051
3054
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3052
3055
  }
3053
- function Cn(e) {
3056
+ function Nn(e) {
3054
3057
  return ze(e) || e === 47;
3055
3058
  }
3056
- function Bn(e) {
3059
+ function wn(e) {
3057
3060
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3058
3061
  }
3059
- function jt(e) {
3062
+ function Wt(e) {
3060
3063
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3061
3064
  }
3062
3065
  function On(e) {
@@ -3064,18 +3067,18 @@ function On(e) {
3064
3067
  }
3065
3068
  function We(e) {
3066
3069
  e.forEach(function(t) {
3067
- if (delete t.location, It(t) || Mt(t))
3070
+ if (delete t.location, Dt(t) || kt(t))
3068
3071
  for (var r in t.options)
3069
3072
  delete t.options[r].location, We(t.options[r].value);
3070
3073
  else
3071
- Pt(t) && Lt(t.style) || (Nt(t) || wt(t)) && $e(t.style) ? delete t.style.location : Rt(t) && We(t.children);
3074
+ Mt(t) && Ft(t.style) || (Rt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : Ut(t) && We(t.children);
3072
3075
  });
3073
3076
  }
3074
3077
  function Pn(e, t) {
3075
- t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3076
- var r = new Hn(e, t).parse();
3078
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3079
+ var r = new In(e, t).parse();
3077
3080
  if (r.err) {
3078
- var n = SyntaxError(y[r.err.kind]);
3081
+ var n = SyntaxError(_[r.err.kind]);
3079
3082
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3080
3083
  }
3081
3084
  return t?.captureLocation || We(r.val), r.val;
@@ -3096,7 +3099,7 @@ var Te = (
3096
3099
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3097
3100
  }, t;
3098
3101
  }(Error)
3099
- ), ct = (
3102
+ ), mt = (
3100
3103
  /** @class */
3101
3104
  function(e) {
3102
3105
  Se(t, e);
@@ -3105,7 +3108,7 @@ var Te = (
3105
3108
  }
3106
3109
  return t;
3107
3110
  }(Te)
3108
- ), Nn = (
3111
+ ), Mn = (
3109
3112
  /** @class */
3110
3113
  function(e) {
3111
3114
  Se(t, e);
@@ -3114,7 +3117,7 @@ var Te = (
3114
3117
  }
3115
3118
  return t;
3116
3119
  }(Te)
3117
- ), wn = (
3120
+ ), Rn = (
3118
3121
  /** @class */
3119
3122
  function(e) {
3120
3123
  Se(t, e);
@@ -3123,126 +3126,126 @@ var Te = (
3123
3126
  }
3124
3127
  return t;
3125
3128
  }(Te)
3126
- ), I;
3129
+ ), R;
3127
3130
  (function(e) {
3128
3131
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3129
- })(I || (I = {}));
3130
- function In(e) {
3132
+ })(R || (R = {}));
3133
+ function Ln(e) {
3131
3134
  return e.length < 2 ? e : e.reduce(function(t, r) {
3132
3135
  var n = t[t.length - 1];
3133
- return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3136
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3134
3137
  }, []);
3135
3138
  }
3136
- function Mn(e) {
3139
+ function Dn(e) {
3137
3140
  return typeof e == "function";
3138
3141
  }
3139
- function pe(e, t, r, n, i, s, a) {
3140
- if (e.length === 1 && it(e[0]))
3142
+ function ye(e, t, r, n, i, s, a) {
3143
+ if (e.length === 1 && at(e[0]))
3141
3144
  return [
3142
3145
  {
3143
- type: I.literal,
3146
+ type: R.literal,
3144
3147
  value: e[0].value
3145
3148
  }
3146
3149
  ];
3147
- for (var o = [], h = 0, u = e; h < u.length; h++) {
3148
- var l = u[h];
3149
- if (it(l)) {
3150
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3151
+ var h = u[l];
3152
+ if (at(h)) {
3150
3153
  o.push({
3151
- type: I.literal,
3152
- value: l.value
3154
+ type: R.literal,
3155
+ value: h.value
3153
3156
  });
3154
3157
  continue;
3155
3158
  }
3156
- if (tn(l)) {
3159
+ if (sn(h)) {
3157
3160
  typeof s == "number" && o.push({
3158
- type: I.literal,
3161
+ type: R.literal,
3159
3162
  value: r.getNumberFormat(t).format(s)
3160
3163
  });
3161
3164
  continue;
3162
3165
  }
3163
- var c = l.value;
3166
+ var c = h.value;
3164
3167
  if (!(i && c in i))
3165
- throw new wn(c, a);
3168
+ throw new Rn(c, a);
3166
3169
  var f = i[c];
3167
- if (en(l)) {
3170
+ if (nn(h)) {
3168
3171
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3169
- type: typeof f == "string" ? I.literal : I.object,
3172
+ type: typeof f == "string" ? R.literal : R.object,
3170
3173
  value: f
3171
3174
  });
3172
3175
  continue;
3173
3176
  }
3174
- if (Nt(l)) {
3175
- var E = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3177
+ if (Rt(h)) {
3178
+ var g = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3176
3179
  o.push({
3177
- type: I.literal,
3178
- value: r.getDateTimeFormat(t, E).format(f)
3180
+ type: R.literal,
3181
+ value: r.getDateTimeFormat(t, g).format(f)
3179
3182
  });
3180
3183
  continue;
3181
3184
  }
3182
- if (wt(l)) {
3183
- var E = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3185
+ if (Lt(h)) {
3186
+ var g = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3184
3187
  o.push({
3185
- type: I.literal,
3186
- value: r.getDateTimeFormat(t, E).format(f)
3188
+ type: R.literal,
3189
+ value: r.getDateTimeFormat(t, g).format(f)
3187
3190
  });
3188
3191
  continue;
3189
3192
  }
3190
- if (Pt(l)) {
3191
- var E = typeof l.style == "string" ? n.number[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
3192
- E && E.scale && (f = f * (E.scale || 1)), o.push({
3193
- type: I.literal,
3194
- value: r.getNumberFormat(t, E).format(f)
3193
+ if (Mt(h)) {
3194
+ var g = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3195
+ g && g.scale && (f = f * (g.scale || 1)), o.push({
3196
+ type: R.literal,
3197
+ value: r.getNumberFormat(t, g).format(f)
3195
3198
  });
3196
3199
  continue;
3197
3200
  }
3198
- if (Rt(l)) {
3199
- var d = l.children, b = l.value, g = i[b];
3200
- if (!Mn(g))
3201
- throw new Nn(b, "function", a);
3202
- var p = pe(d, t, r, n, i, s), S = g(p.map(function(C) {
3203
- return C.value;
3201
+ if (Ut(h)) {
3202
+ var b = h.children, y = h.value, d = i[y];
3203
+ if (!Dn(d))
3204
+ throw new Mn(y, "function", a);
3205
+ var v = ye(b, t, r, n, i, s), P = d(v.map(function(H) {
3206
+ return H.value;
3204
3207
  }));
3205
- Array.isArray(S) || (S = [S]), o.push.apply(o, S.map(function(C) {
3208
+ Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(H) {
3206
3209
  return {
3207
- type: typeof C == "string" ? I.literal : I.object,
3208
- value: C
3210
+ type: typeof H == "string" ? R.literal : R.object,
3211
+ value: H
3209
3212
  };
3210
3213
  }));
3211
3214
  }
3212
- if (It(l)) {
3213
- var P = l.options[f] || l.options.other;
3214
- if (!P)
3215
- throw new ct(l.value, f, Object.keys(l.options), a);
3216
- o.push.apply(o, pe(P.value, t, r, n, i));
3215
+ if (Dt(h)) {
3216
+ var w = h.options[f] || h.options.other;
3217
+ if (!w)
3218
+ throw new mt(h.value, f, Object.keys(h.options), a);
3219
+ o.push.apply(o, ye(w.value, t, r, n, i));
3217
3220
  continue;
3218
3221
  }
3219
- if (Mt(l)) {
3220
- var P = l.options["=".concat(f)];
3221
- if (!P) {
3222
+ if (kt(h)) {
3223
+ var w = h.options["=".concat(f)];
3224
+ if (!w) {
3222
3225
  if (!Intl.PluralRules)
3223
3226
  throw new Te(`Intl.PluralRules is not available in this environment.
3224
3227
  Try polyfilling it using "@formatjs/intl-pluralrules"
3225
3228
  `, te.MISSING_INTL_API, a);
3226
- var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3227
- P = l.options[H] || l.options.other;
3229
+ var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3230
+ w = h.options[A] || h.options.other;
3228
3231
  }
3229
- if (!P)
3230
- throw new ct(l.value, f, Object.keys(l.options), a);
3231
- o.push.apply(o, pe(P.value, t, r, n, i, f - (l.offset || 0)));
3232
+ if (!w)
3233
+ throw new mt(h.value, f, Object.keys(h.options), a);
3234
+ o.push.apply(o, ye(w.value, t, r, n, i, f - (h.offset || 0)));
3232
3235
  continue;
3233
3236
  }
3234
3237
  }
3235
- return In(o);
3238
+ return Ln(o);
3236
3239
  }
3237
- function Rn(e, t) {
3238
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3239
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3240
+ function kn(e, t) {
3241
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3242
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3240
3243
  }, {})) : e;
3241
3244
  }
3242
- function Ln(e, t) {
3245
+ function Un(e, t) {
3243
3246
  return t ? Object.keys(e).reduce(function(r, n) {
3244
- return r[n] = Rn(e[n], t[n]), r;
3245
- }, $({}, e)) : e;
3247
+ return r[n] = kn(e[n], t[n]), r;
3248
+ }, E({}, e)) : e;
3246
3249
  }
3247
3250
  function Re(e) {
3248
3251
  return {
@@ -3258,39 +3261,39 @@ function Re(e) {
3258
3261
  }
3259
3262
  };
3260
3263
  }
3261
- function Dn(e) {
3264
+ function Fn(e) {
3262
3265
  return e === void 0 && (e = {
3263
3266
  number: {},
3264
3267
  dateTime: {},
3265
3268
  pluralRules: {}
3266
3269
  }), {
3267
- getNumberFormat: we(function() {
3270
+ getNumberFormat: Oe(function() {
3268
3271
  for (var t, r = [], n = 0; n < arguments.length; n++)
3269
3272
  r[n] = arguments[n];
3270
- return new ((t = Intl.NumberFormat).bind.apply(t, Ne([void 0], r, !1)))();
3273
+ return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3271
3274
  }, {
3272
3275
  cache: Re(e.number),
3273
- strategy: Ie.variadic
3276
+ strategy: Pe.variadic
3274
3277
  }),
3275
- getDateTimeFormat: we(function() {
3278
+ getDateTimeFormat: Oe(function() {
3276
3279
  for (var t, r = [], n = 0; n < arguments.length; n++)
3277
3280
  r[n] = arguments[n];
3278
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ne([void 0], r, !1)))();
3281
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3279
3282
  }, {
3280
3283
  cache: Re(e.dateTime),
3281
- strategy: Ie.variadic
3284
+ strategy: Pe.variadic
3282
3285
  }),
3283
- getPluralRules: we(function() {
3286
+ getPluralRules: Oe(function() {
3284
3287
  for (var t, r = [], n = 0; n < arguments.length; n++)
3285
3288
  r[n] = arguments[n];
3286
- return new ((t = Intl.PluralRules).bind.apply(t, Ne([void 0], r, !1)))();
3289
+ return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3287
3290
  }, {
3288
3291
  cache: Re(e.pluralRules),
3289
- strategy: Ie.variadic
3292
+ strategy: Pe.variadic
3290
3293
  })
3291
3294
  };
3292
3295
  }
3293
- var kn = (
3296
+ var Gn = (
3294
3297
  /** @class */
3295
3298
  function() {
3296
3299
  function e(t, r, n, i) {
@@ -3300,20 +3303,20 @@ var kn = (
3300
3303
  number: {},
3301
3304
  dateTime: {},
3302
3305
  pluralRules: {}
3303
- }, this.format = function(h) {
3304
- var u = s.formatToParts(h);
3306
+ }, this.format = function(l) {
3307
+ var u = s.formatToParts(l);
3305
3308
  if (u.length === 1)
3306
3309
  return u[0].value;
3307
- var l = u.reduce(function(c, f) {
3308
- return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3310
+ var h = u.reduce(function(c, f) {
3311
+ return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3309
3312
  }, []);
3310
- return l.length <= 1 ? l[0] || "" : l;
3311
- }, this.formatToParts = function(h) {
3312
- return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3313
+ return h.length <= 1 ? h[0] || "" : h;
3314
+ }, this.formatToParts = function(l) {
3315
+ return ye(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3313
3316
  }, this.resolvedOptions = function() {
3314
- var h;
3317
+ var l;
3315
3318
  return {
3316
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3319
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3317
3320
  };
3318
3321
  }, this.getAst = function() {
3319
3322
  return s.ast;
@@ -3322,13 +3325,13 @@ var kn = (
3322
3325
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3323
3326
  var a = i || {};
3324
3327
  a.formatters;
3325
- var o = zr(a, ["formatters"]);
3326
- this.ast = e.__parse(t, $($({}, o), { locale: this.resolvedLocale }));
3328
+ var o = qr(a, ["formatters"]);
3329
+ this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3327
3330
  } else
3328
3331
  this.ast = t;
3329
3332
  if (!Array.isArray(this.ast))
3330
3333
  throw new TypeError("A message must be provided as a String or AST.");
3331
- this.formats = Ln(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3334
+ this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3332
3335
  }
3333
3336
  return Object.defineProperty(e, "defaultLocale", {
3334
3337
  get: function() {
@@ -3402,7 +3405,7 @@ var kn = (
3402
3405
  }, e;
3403
3406
  }()
3404
3407
  );
3405
- function Un(e, t) {
3408
+ function $n(e, t) {
3406
3409
  if (t == null)
3407
3410
  return;
3408
3411
  if (t in e)
@@ -3423,60 +3426,60 @@ function Un(e, t) {
3423
3426
  n = void 0;
3424
3427
  return n;
3425
3428
  }
3426
- const W = {}, Fn = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Vt = (e, t) => {
3429
+ const z = {}, jn = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xt = (e, t) => {
3427
3430
  if (t == null)
3428
3431
  return;
3429
- if (t in W && e in W[t])
3430
- return W[t][e];
3432
+ if (t in z && e in z[t])
3433
+ return z[t][e];
3431
3434
  const r = Ae(t);
3432
3435
  for (let n = 0; n < r.length; n++) {
3433
- const i = r[n], s = $n(i, e);
3436
+ const i = r[n], s = Jn(i, e);
3434
3437
  if (s)
3435
- return Fn(e, t, s);
3438
+ return jn(e, t, s);
3436
3439
  }
3437
3440
  };
3438
- let Qe;
3439
- const de = xe({});
3440
- function Gn(e) {
3441
- return Qe[e] || null;
3441
+ let Ye;
3442
+ const de = ve({});
3443
+ function Vn(e) {
3444
+ return Ye[e] || null;
3442
3445
  }
3443
- function Jt(e) {
3444
- return e in Qe;
3446
+ function Zt(e) {
3447
+ return e in Ye;
3445
3448
  }
3446
- function $n(e, t) {
3447
- if (!Jt(e))
3449
+ function Jn(e, t) {
3450
+ if (!Zt(e))
3448
3451
  return null;
3449
- const r = Gn(e);
3450
- return Un(r, t);
3452
+ const r = Vn(e);
3453
+ return $n(r, t);
3451
3454
  }
3452
- function jn(e) {
3455
+ function zn(e) {
3453
3456
  if (e == null)
3454
3457
  return;
3455
3458
  const t = Ae(e);
3456
3459
  for (let r = 0; r < t.length; r++) {
3457
3460
  const n = t[r];
3458
- if (Jt(n))
3461
+ if (Zt(n))
3459
3462
  return n;
3460
3463
  }
3461
3464
  }
3462
- function zt(e, ...t) {
3463
- delete W[e], de.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3465
+ function qt(e, ...t) {
3466
+ delete z[e], de.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3464
3467
  }
3465
3468
  ie(
3466
3469
  [de],
3467
3470
  ([e]) => Object.keys(e)
3468
3471
  );
3469
- de.subscribe((e) => Qe = e);
3470
- const ye = {};
3471
- function Vn(e, t) {
3472
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3472
+ de.subscribe((e) => Ye = e);
3473
+ const _e = {};
3474
+ function Wn(e, t) {
3475
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3473
3476
  }
3474
- function Wt(e) {
3475
- return ye[e];
3477
+ function Qt(e) {
3478
+ return _e[e];
3476
3479
  }
3477
- function Jn(e) {
3480
+ function Xn(e) {
3478
3481
  return Ae(e).map((t) => {
3479
- const r = Wt(t);
3482
+ const r = Qt(t);
3480
3483
  return [t, r ? [...r] : []];
3481
3484
  }).filter(([, t]) => t.length > 0);
3482
3485
  }
@@ -3484,31 +3487,31 @@ function Xe(e) {
3484
3487
  return e == null ? !1 : Ae(e).some(
3485
3488
  (t) => {
3486
3489
  var r;
3487
- return (r = Wt(t)) == null ? void 0 : r.size;
3490
+ return (r = Qt(t)) == null ? void 0 : r.size;
3488
3491
  }
3489
3492
  );
3490
3493
  }
3491
- function zn(e, t) {
3494
+ function Zn(e, t) {
3492
3495
  return Promise.all(
3493
- t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3494
- ).then((n) => zt(e, ...n));
3496
+ t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3497
+ ).then((n) => qt(e, ...n));
3495
3498
  }
3496
3499
  const oe = {};
3497
- function Xt(e) {
3500
+ function Yt(e) {
3498
3501
  if (!Xe(e))
3499
3502
  return e in oe ? oe[e] : Promise.resolve();
3500
- const t = Jn(e);
3503
+ const t = Xn(e);
3501
3504
  return oe[e] = Promise.all(
3502
3505
  t.map(
3503
- ([r, n]) => zn(r, n)
3506
+ ([r, n]) => Zn(r, n)
3504
3507
  )
3505
3508
  ).then(() => {
3506
3509
  if (Xe(e))
3507
- return Xt(e);
3510
+ return Yt(e);
3508
3511
  delete oe[e];
3509
3512
  }), oe[e];
3510
3513
  }
3511
- const Wn = {
3514
+ const qn = {
3512
3515
  number: {
3513
3516
  scientific: { notation: "scientific" },
3514
3517
  engineering: { notation: "engineering" },
@@ -3537,57 +3540,57 @@ const Wn = {
3537
3540
  timeZoneName: "short"
3538
3541
  }
3539
3542
  }
3540
- }, Xn = {
3543
+ }, Qn = {
3541
3544
  fallbackLocale: null,
3542
3545
  loadingDelay: 200,
3543
- formats: Wn,
3546
+ formats: qn,
3544
3547
  warnOnMissingMessages: !0,
3545
3548
  handleMissingMessage: void 0,
3546
3549
  ignoreTag: !0
3547
- }, Zn = Xn;
3550
+ }, Yn = Qn;
3548
3551
  function re() {
3549
- return Zn;
3552
+ return Yn;
3550
3553
  }
3551
- const Le = xe(!1);
3552
- var Qn = Object.defineProperty, qn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ti = (e, t) => {
3554
+ const Le = ve(!1);
3555
+ var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3553
3556
  for (var r in t || (t = {}))
3554
- Kn.call(t, r) && mt(e, r, t[r]);
3555
- if (ft)
3556
- for (var r of ft(t))
3557
- ei.call(t, r) && mt(e, r, t[r]);
3557
+ ri.call(t, r) && bt(e, r, t[r]);
3558
+ if (dt)
3559
+ for (var r of dt(t))
3560
+ ni.call(t, r) && bt(e, r, t[r]);
3558
3561
  return e;
3559
- }, ri = (e, t) => qn(e, Yn(t));
3562
+ }, si = (e, t) => ei(e, ti(t));
3560
3563
  let Ze;
3561
- const Ee = xe(null);
3562
- function dt(e) {
3564
+ const xe = ve(null);
3565
+ function gt(e) {
3563
3566
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3564
3567
  }
3565
3568
  function Ae(e, t = re().fallbackLocale) {
3566
- const r = dt(e);
3567
- return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3569
+ const r = gt(e);
3570
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3568
3571
  }
3569
- function X() {
3572
+ function W() {
3570
3573
  return Ze ?? void 0;
3571
3574
  }
3572
- Ee.subscribe((e) => {
3575
+ xe.subscribe((e) => {
3573
3576
  Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3574
3577
  });
3575
- const ni = (e) => {
3576
- if (e && jn(e) && Xe(e)) {
3578
+ const ai = (e) => {
3579
+ if (e && zn(e) && Xe(e)) {
3577
3580
  const { loadingDelay: t } = re();
3578
3581
  let r;
3579
- return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3582
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3580
3583
  () => Le.set(!0),
3581
3584
  t
3582
- ) : Le.set(!0), Xt(e).then(() => {
3583
- Ee.set(e);
3585
+ ) : Le.set(!0), Yt(e).then(() => {
3586
+ xe.set(e);
3584
3587
  }).finally(() => {
3585
3588
  clearTimeout(r), Le.set(!1);
3586
3589
  });
3587
3590
  }
3588
- return Ee.set(e);
3589
- }, se = ri(ti({}, Ee), {
3590
- set: ni
3591
+ return xe.set(e);
3592
+ }, se = si(ii({}, xe), {
3593
+ set: ai
3591
3594
  }), He = (e) => {
3592
3595
  const t = /* @__PURE__ */ Object.create(null);
3593
3596
  return (n) => {
@@ -3595,101 +3598,101 @@ const ni = (e) => {
3595
3598
  return i in t ? t[i] : t[i] = e(n);
3596
3599
  };
3597
3600
  };
3598
- var ii = Object.defineProperty, ve = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
3601
+ var oi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3599
3602
  for (var r in t || (t = {}))
3600
- Zt.call(t, r) && bt(e, r, t[r]);
3601
- if (ve)
3602
- for (var r of ve(t))
3603
- Qt.call(t, r) && bt(e, r, t[r]);
3603
+ Kt.call(t, r) && pt(e, r, t[r]);
3604
+ if (Ee)
3605
+ for (var r of Ee(t))
3606
+ er.call(t, r) && pt(e, r, t[r]);
3604
3607
  return e;
3605
3608
  }, ae = (e, t) => {
3606
3609
  var r = {};
3607
3610
  for (var n in e)
3608
- Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3609
- if (e != null && ve)
3610
- for (var n of ve(e))
3611
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3611
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3612
+ if (e != null && Ee)
3613
+ for (var n of Ee(e))
3614
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3612
3615
  return r;
3613
3616
  };
3614
- const ce = (e, t) => {
3617
+ const fe = (e, t) => {
3615
3618
  const { formats: r } = re();
3616
3619
  if (e in r && t in r[e])
3617
3620
  return r[e][t];
3618
3621
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3619
- }, si = He(
3622
+ }, ui = He(
3620
3623
  (e) => {
3621
3624
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3622
3625
  if (r == null)
3623
3626
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3624
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3627
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3625
3628
  }
3626
- ), ai = He(
3629
+ ), li = He(
3627
3630
  (e) => {
3628
3631
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3629
3632
  if (r == null)
3630
3633
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3631
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3634
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3632
3635
  }
3633
- ), oi = He(
3636
+ ), hi = He(
3634
3637
  (e) => {
3635
3638
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3636
3639
  if (r == null)
3637
3640
  throw new Error(
3638
3641
  '[svelte-i18n] A "locale" must be set to format time values'
3639
3642
  );
3640
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3643
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3641
3644
  }
3642
- ), ui = (e = {}) => {
3645
+ ), fi = (e = {}) => {
3643
3646
  var t = e, {
3644
- locale: r = X()
3647
+ locale: r = W()
3645
3648
  } = t, n = ae(t, [
3646
3649
  "locale"
3647
3650
  ]);
3648
- return si(qe({ locale: r }, n));
3649
- }, li = (e = {}) => {
3651
+ return ui(Ke({ locale: r }, n));
3652
+ }, ci = (e = {}) => {
3650
3653
  var t = e, {
3651
- locale: r = X()
3654
+ locale: r = W()
3652
3655
  } = t, n = ae(t, [
3653
3656
  "locale"
3654
3657
  ]);
3655
- return ai(qe({ locale: r }, n));
3656
- }, hi = (e = {}) => {
3658
+ return li(Ke({ locale: r }, n));
3659
+ }, mi = (e = {}) => {
3657
3660
  var t = e, {
3658
- locale: r = X()
3661
+ locale: r = W()
3659
3662
  } = t, n = ae(t, [
3660
3663
  "locale"
3661
3664
  ]);
3662
- return oi(qe({ locale: r }, n));
3663
- }, ci = He(
3665
+ return hi(Ke({ locale: r }, n));
3666
+ }, di = He(
3664
3667
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3665
- (e, t = X()) => new kn(e, t, re().formats, {
3668
+ (e, t = W()) => new Gn(e, t, re().formats, {
3666
3669
  ignoreTag: re().ignoreTag
3667
3670
  })
3668
- ), fi = (e, t = {}) => {
3671
+ ), bi = (e, t = {}) => {
3669
3672
  var r, n, i, s;
3670
3673
  let a = t;
3671
3674
  typeof e == "object" && (a = e, e = a.id);
3672
3675
  const {
3673
3676
  values: o,
3674
- locale: h = X(),
3677
+ locale: l = W(),
3675
3678
  default: u
3676
3679
  } = a;
3677
- if (h == null)
3680
+ if (l == null)
3678
3681
  throw new Error(
3679
3682
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3680
3683
  );
3681
- let l = Vt(e, h);
3682
- if (!l)
3683
- l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3684
- else if (typeof l != "string")
3684
+ let h = Xt(e, l);
3685
+ if (!h)
3686
+ h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3687
+ else if (typeof h != "string")
3685
3688
  return console.warn(
3686
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3687
- ), l;
3689
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3690
+ ), h;
3688
3691
  if (!o)
3689
- return l;
3690
- let c = l;
3692
+ return h;
3693
+ let c = h;
3691
3694
  try {
3692
- c = ci(l, h).format(o);
3695
+ c = di(h, l).format(o);
3693
3696
  } catch (f) {
3694
3697
  f instanceof Error && console.warn(
3695
3698
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3697,18 +3700,18 @@ const ce = (e, t) => {
3697
3700
  );
3698
3701
  }
3699
3702
  return c;
3700
- }, mi = (e, t) => hi(t).format(e), di = (e, t) => li(t).format(e), bi = (e, t) => ui(t).format(e), gi = (e, t = X()) => Vt(e, t), pi = ie([se, de], () => fi);
3701
- ie([se], () => mi);
3702
- ie([se], () => di);
3703
- ie([se], () => bi);
3704
- ie([se, de], () => gi);
3705
- function gt(e, t) {
3706
- zt(e, t);
3707
- }
3708
- function yi(e) {
3703
+ }, gi = (e, t) => mi(t).format(e), pi = (e, t) => ci(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = W()) => Xt(e, t), xi = ie([se, de], () => bi);
3704
+ ie([se], () => gi);
3705
+ ie([se], () => pi);
3706
+ ie([se], () => yi);
3707
+ ie([se, de], () => _i);
3708
+ function yt(e, t) {
3709
+ qt(e, t);
3710
+ }
3711
+ function Ei(e) {
3709
3712
  se.set(e);
3710
3713
  }
3711
- const pt = {
3714
+ const _t = {
3712
3715
  en: {
3713
3716
  enrolled: "Enrolled",
3714
3717
  scoreCriteria: "Score Criteria",
@@ -4040,75 +4043,137 @@ const pt = {
4040
4043
  December: "December"
4041
4044
  }
4042
4045
  };
4043
- function _i(e) {
4044
- or(e, "svelte-1gxooas", ':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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{font-size:18px;padding-bottom:10px}.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}');
4046
+ function vi(e) {
4047
+ fr(e, "svelte-1ymu8a4", ':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}.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{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{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}');
4048
+ }
4049
+ function xt(e) {
4050
+ let t, r, n;
4051
+ return {
4052
+ c() {
4053
+ t = B("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = $(), n = B("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>', p(t, "class", "Skeleton CardImg"), p(n, "class", "Details"), p(n, "part", "Details");
4054
+ },
4055
+ m(i, s) {
4056
+ O(i, t, s), O(i, r, s), O(i, n, s);
4057
+ },
4058
+ d(i) {
4059
+ i && (N(t), N(r), N(n));
4060
+ }
4061
+ };
4045
4062
  }
4046
- function yt(e) {
4063
+ function Et(e) {
4064
+ let t, r, n, i, s, a, o, l, u = (
4065
+ /*status*/
4066
+ e[0] && vt(e)
4067
+ ), h = (
4068
+ /*showenrolled*/
4069
+ e[7] == "true" && St(e)
4070
+ );
4071
+ function c(d, v) {
4072
+ return (
4073
+ /*thumbnail*/
4074
+ d[4] ? Ti : Si
4075
+ );
4076
+ }
4077
+ let f = c(e), g = f(e), b = (
4078
+ /*startdate*/
4079
+ e[2] && At(e)
4080
+ ), y = (
4081
+ /*isLoggedIn*/
4082
+ e[12] && Ht(e)
4083
+ );
4084
+ return {
4085
+ c() {
4086
+ u && u.c(), t = $(), h && h.c(), r = $(), g.c(), n = $(), i = B("div"), s = B("div"), a = L(
4087
+ /*title*/
4088
+ e[1]
4089
+ ), o = $(), b && b.c(), l = $(), y && y.c(), p(s, "class", "Title"), p(s, "part", "Title"), p(i, "class", "Details"), p(i, "part", "Details");
4090
+ },
4091
+ m(d, v) {
4092
+ u && u.m(d, v), O(d, t, v), h && h.m(d, v), O(d, r, v), g.m(d, v), O(d, n, v), O(d, i, v), S(i, s), S(s, a), S(i, o), b && b.m(i, null), S(i, l), y && y.m(i, null);
4093
+ },
4094
+ p(d, v) {
4095
+ /*status*/
4096
+ d[0] ? u ? u.p(d, v) : (u = vt(d), u.c(), u.m(t.parentNode, t)) : u && (u.d(1), u = null), /*showenrolled*/
4097
+ d[7] == "true" ? h ? h.p(d, v) : (h = St(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), f === (f = c(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4098
+ 2 && G(
4099
+ a,
4100
+ /*title*/
4101
+ d[1]
4102
+ ), /*startdate*/
4103
+ d[2] ? b ? b.p(d, v) : (b = At(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4104
+ d[12] ? y ? y.p(d, v) : (y = Ht(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4105
+ },
4106
+ d(d) {
4107
+ d && (N(t), N(r), N(n), N(i)), u && u.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4108
+ }
4109
+ };
4110
+ }
4111
+ function vt(e) {
4047
4112
  let t, r, n, i, s, a;
4048
4113
  return {
4049
4114
  c() {
4050
- t = N("div"), r = M(
4115
+ t = B("div"), r = L(
4051
4116
  /*shownStatus*/
4052
4117
  e[13]
4053
- ), _(t, "class", n = "Status " + /*statusClass*/
4054
- e[15]), _(t, "part", i = "Status " + /*statusClass*/
4118
+ ), p(t, "class", n = "Status " + /*statusClass*/
4119
+ e[15]), p(t, "part", i = "Status " + /*statusClass*/
4055
4120
  e[15]);
4056
4121
  },
4057
- m(o, h) {
4058
- F(o, t, h), x(t, r), s || (a = me(
4122
+ m(o, l) {
4123
+ O(o, t, l), S(t, r), s || (a = me(
4059
4124
  /*matchStatus*/
4060
4125
  e[18].call(null, t)
4061
4126
  ), s = !0);
4062
4127
  },
4063
- p(o, h) {
4064
- h[0] & /*shownStatus*/
4128
+ p(o, l) {
4129
+ l[0] & /*shownStatus*/
4065
4130
  8192 && G(
4066
4131
  r,
4067
4132
  /*shownStatus*/
4068
4133
  o[13]
4069
- ), h[0] & /*statusClass*/
4134
+ ), l[0] & /*statusClass*/
4070
4135
  32768 && n !== (n = "Status " + /*statusClass*/
4071
- o[15]) && _(t, "class", n), h[0] & /*statusClass*/
4136
+ o[15]) && p(t, "class", n), l[0] & /*statusClass*/
4072
4137
  32768 && i !== (i = "Status " + /*statusClass*/
4073
- o[15]) && _(t, "part", i);
4138
+ o[15]) && p(t, "part", i);
4074
4139
  },
4075
4140
  d(o) {
4076
- o && k(t), s = !1, a();
4141
+ o && N(t), s = !1, a();
4077
4142
  }
4078
4143
  };
4079
4144
  }
4080
- function _t(e) {
4145
+ function St(e) {
4081
4146
  let t, r = (
4082
4147
  /*userenrolled*/
4083
- e[5] && Et(e)
4148
+ e[5] && Tt(e)
4084
4149
  );
4085
4150
  return {
4086
4151
  c() {
4087
- r && r.c(), t = hr();
4152
+ r && r.c(), t = dr();
4088
4153
  },
4089
4154
  m(n, i) {
4090
- r && r.m(n, i), F(n, t, i);
4155
+ r && r.m(n, i), O(n, t, i);
4091
4156
  },
4092
4157
  p(n, i) {
4093
4158
  /*userenrolled*/
4094
- n[5] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4159
+ n[5] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4095
4160
  },
4096
4161
  d(n) {
4097
- n && k(t), r && r.d(n);
4162
+ n && N(t), r && r.d(n);
4098
4163
  }
4099
4164
  };
4100
4165
  }
4101
- function Et(e) {
4166
+ function Tt(e) {
4102
4167
  let t, r = (
4103
4168
  /*$_*/
4104
4169
  e[16]("enrolled") + ""
4105
4170
  ), n;
4106
4171
  return {
4107
4172
  c() {
4108
- t = N("div"), n = M(r), _(t, "class", "Enrolled"), _(t, "part", "Enrolled");
4173
+ t = B("div"), n = L(r), p(t, "class", "Enrolled"), p(t, "part", "Enrolled");
4109
4174
  },
4110
4175
  m(i, s) {
4111
- F(i, t, s), x(t, n);
4176
+ O(i, t, s), S(t, n);
4112
4177
  },
4113
4178
  p(i, s) {
4114
4179
  s[0] & /*$_*/
@@ -4116,84 +4181,84 @@ function Et(e) {
4116
4181
  i[16]("enrolled") + "") && G(n, r);
4117
4182
  },
4118
4183
  d(i) {
4119
- i && k(t);
4184
+ i && N(t);
4120
4185
  }
4121
4186
  };
4122
4187
  }
4123
- function Ei(e) {
4124
- let t, r, n, i, s;
4188
+ function Si(e) {
4189
+ let t, r, n, i, s, a, o;
4125
4190
  return {
4126
4191
  c() {
4127
- t = N("div"), _(t, "class", r = "CardImg " + /*status*/
4192
+ t = B("div"), r = B("ui-image"), De(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4128
4193
  (e[0] == "Closing" || /*status*/
4129
- e[0] == "Closed" ? "CardImgFinished" : "")), _(t, "part", n = "CardImg " + /*status*/
4194
+ e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4130
4195
  (e[0] == "Closing" || /*status*/
4131
- e[0] == "Closed" ? "CardImgFinished" : "")), De(t, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
4196
+ e[0] == "Closed" ? "CardImgFinished" : ""));
4132
4197
  },
4133
- m(a, o) {
4134
- F(a, t, o), i || (s = me(
4198
+ m(l, u) {
4199
+ O(l, t, u), S(t, r), a || (o = me(
4135
4200
  /*matchStatus*/
4136
4201
  e[18].call(null, t)
4137
- ), i = !0);
4202
+ ), a = !0);
4138
4203
  },
4139
- p(a, o) {
4140
- o[0] & /*status*/
4141
- 1 && r !== (r = "CardImg " + /*status*/
4142
- (a[0] == "Closing" || /*status*/
4143
- a[0] == "Closed" ? "CardImgFinished" : "")) && _(t, "class", r), o[0] & /*status*/
4144
- 1 && n !== (n = "CardImg " + /*status*/
4145
- (a[0] == "Closing" || /*status*/
4146
- a[0] == "Closed" ? "CardImgFinished" : "")) && _(t, "part", n);
4204
+ p(l, u) {
4205
+ u[0] & /*status*/
4206
+ 1 && i !== (i = "CardImg " + /*status*/
4207
+ (l[0] == "Closing" || /*status*/
4208
+ l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "class", i), u[0] & /*status*/
4209
+ 1 && s !== (s = "CardImg " + /*status*/
4210
+ (l[0] == "Closing" || /*status*/
4211
+ l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4147
4212
  },
4148
- d(a) {
4149
- a && k(t), i = !1, s();
4213
+ d(l) {
4214
+ l && N(t), a = !1, o();
4150
4215
  }
4151
4216
  };
4152
4217
  }
4153
- function vi(e) {
4154
- let t, r, n, i, s;
4218
+ function Ti(e) {
4219
+ let t, r, n, i, s, a, o;
4155
4220
  return {
4156
4221
  c() {
4157
- t = N("div"), _(t, "class", r = "CardImg " + /*status*/
4222
+ t = B("div"), r = B("ui-image"), Q(r, "class", "UIImage"), De(r.src, n = /*thumbnail*/
4223
+ e[4]) || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4158
4224
  (e[0] == "Closing" || /*status*/
4159
- e[0] == "Closed" ? "CardImgFinished" : "")), _(t, "part", n = "CardImg " + /*status*/
4225
+ e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4160
4226
  (e[0] == "Closing" || /*status*/
4161
- e[0] == "Closed" ? "CardImgFinished" : "")), De(t, "background-image", "url('" + /*thumbnail*/
4162
- e[4] + "')");
4227
+ e[0] == "Closed" ? "CardImgFinished" : ""));
4163
4228
  },
4164
- m(a, o) {
4165
- F(a, t, o), i || (s = me(
4229
+ m(l, u) {
4230
+ O(l, t, u), S(t, r), a || (o = me(
4166
4231
  /*matchStatus*/
4167
4232
  e[18].call(null, t)
4168
- ), i = !0);
4233
+ ), a = !0);
4169
4234
  },
4170
- p(a, o) {
4171
- o[0] & /*status*/
4172
- 1 && r !== (r = "CardImg " + /*status*/
4173
- (a[0] == "Closing" || /*status*/
4174
- a[0] == "Closed" ? "CardImgFinished" : "")) && _(t, "class", r), o[0] & /*status*/
4175
- 1 && n !== (n = "CardImg " + /*status*/
4176
- (a[0] == "Closing" || /*status*/
4177
- a[0] == "Closed" ? "CardImgFinished" : "")) && _(t, "part", n), o[0] & /*thumbnail*/
4178
- 16 && De(t, "background-image", "url('" + /*thumbnail*/
4179
- a[4] + "')");
4235
+ p(l, u) {
4236
+ u[0] & /*thumbnail*/
4237
+ 16 && !De(r.src, n = /*thumbnail*/
4238
+ l[4]) && Q(r, "src", n), u[0] & /*status*/
4239
+ 1 && i !== (i = "CardImg " + /*status*/
4240
+ (l[0] == "Closing" || /*status*/
4241
+ l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "class", i), u[0] & /*status*/
4242
+ 1 && s !== (s = "CardImg " + /*status*/
4243
+ (l[0] == "Closing" || /*status*/
4244
+ l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4180
4245
  },
4181
- d(a) {
4182
- a && k(t), i = !1, s();
4246
+ d(l) {
4247
+ l && N(t), a = !1, o();
4183
4248
  }
4184
4249
  };
4185
4250
  }
4186
- function vt(e) {
4251
+ function At(e) {
4187
4252
  let t, r, n, i, s;
4188
4253
  return {
4189
4254
  c() {
4190
- t = N("div"), r = M(
4255
+ t = B("div"), r = L(
4191
4256
  /*shownDate*/
4192
4257
  e[11]
4193
- ), _(t, "class", "Date"), _(t, "part", "Date");
4258
+ ), p(t, "class", "Date"), p(t, "part", "Date");
4194
4259
  },
4195
4260
  m(a, o) {
4196
- F(a, t, o), x(t, r), i || (s = me(n = /*formatDate*/
4261
+ O(a, t, o), S(t, r), i || (s = me(n = /*formatDate*/
4197
4262
  e[17].call(
4198
4263
  null,
4199
4264
  t,
@@ -4207,7 +4272,7 @@ function vt(e) {
4207
4272
  r,
4208
4273
  /*shownDate*/
4209
4274
  a[11]
4210
- ), n && fe(n.update) && o[0] & /*startdate*/
4275
+ ), n && ce(n.update) && o[0] & /*startdate*/
4211
4276
  4 && n.update.call(
4212
4277
  null,
4213
4278
  /*startdate*/
@@ -4215,185 +4280,165 @@ function vt(e) {
4215
4280
  );
4216
4281
  },
4217
4282
  d(a) {
4218
- a && k(t), i = !1, s();
4283
+ a && N(t), i = !1, s();
4219
4284
  }
4220
4285
  };
4221
4286
  }
4222
- function xt(e) {
4287
+ function Ht(e) {
4223
4288
  let t, r, n = (
4224
4289
  /*$_*/
4225
4290
  e[16]("scoreCriteria") + ""
4226
- ), i, s, a, o, h, u = (
4291
+ ), i, s, a, o, l, u = (
4227
4292
  /*$_*/
4228
4293
  e[16]("minbet") + ""
4229
- ), l, c, f, E, d, b, g, p = (
4294
+ ), h, c, f, g, b, y, d, v = (
4230
4295
  /*$_*/
4231
4296
  e[16]("seegames") + ""
4232
- ), S, P, H, C = (
4297
+ ), P, w, A, H = (
4233
4298
  /*$_*/
4234
4299
  e[16]("here") + ""
4235
- ), U, L, j, V;
4300
+ ), F, k, j, V;
4236
4301
  return {
4237
4302
  c() {
4238
- t = N("div"), r = N("p"), i = M(n), s = M(`:
4239
-
4240
- `), a = N("span"), o = M(
4303
+ t = B("div"), r = B("p"), i = L(n), s = L(`:
4304
+
4305
+ `), a = B("span"), o = L(
4241
4306
  /*showScoreCriteria*/
4242
4307
  e[14]
4243
- ), h = M(`
4244
- (`), l = M(u), c = z(), f = M(
4308
+ ), l = L(`
4309
+ (`), h = L(u), c = $(), f = L(
4245
4310
  /*minbetcount*/
4246
4311
  e[6]
4247
- ), E = M(")"), d = z(), b = N("div"), g = N("p"), S = M(p), P = z(), H = N("a"), U = M(C), _(a, "part", "ScoreCriteriaSpan"), _(r, "part", "ScoreCriteriaP"), _(t, "class", "ScoreCriteria"), _(t, "part", "ScoreCriteria"), _(H, "part", "GamesAnchor"), _(
4248
- H,
4312
+ ), g = L(")"), b = $(), y = B("div"), d = B("p"), P = L(v), w = $(), A = B("a"), F = L(H), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4313
+ A,
4249
4314
  "href",
4250
4315
  /*gameurl*/
4251
4316
  e[8]
4252
- ), _(H, "target", L = /*keepbrowsercontext*/
4253
- e[9] === "true" ? "_self" : "_blank"), _(g, "part", "GamesP"), _(b, "class", "Games"), _(b, "part", "Games");
4317
+ ), p(A, "target", k = /*keepbrowsercontext*/
4318
+ e[9] === "true" ? "_self" : "_blank"), p(d, "part", "GamesP"), p(y, "class", "Games"), p(y, "part", "Games");
4254
4319
  },
4255
- m(B, R) {
4256
- F(B, t, R), x(t, r), x(r, i), x(r, s), x(r, a), x(a, o), x(r, h), x(r, l), x(r, c), x(r, f), x(r, E), F(B, d, R), F(B, b, R), x(b, g), x(g, S), x(g, P), x(g, H), x(H, U), j || (V = [
4320
+ m(C, D) {
4321
+ O(C, t, D), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, c), S(r, f), S(r, g), O(C, b, D), O(C, y, D), S(y, d), S(d, P), S(d, w), S(d, A), S(A, F), j || (V = [
4257
4322
  me(
4258
4323
  /*matchScoreCriteria*/
4259
4324
  e[19].call(null, a)
4260
4325
  ),
4261
- cr(
4262
- H,
4326
+ br(
4327
+ A,
4263
4328
  "click",
4264
4329
  /*click_handler*/
4265
4330
  e[28]
4266
4331
  )
4267
4332
  ], j = !0);
4268
4333
  },
4269
- p(B, R) {
4270
- R[0] & /*$_*/
4334
+ p(C, D) {
4335
+ D[0] & /*$_*/
4271
4336
  65536 && n !== (n = /*$_*/
4272
- B[16]("scoreCriteria") + "") && G(i, n), R[0] & /*showScoreCriteria*/
4337
+ C[16]("scoreCriteria") + "") && G(i, n), D[0] & /*showScoreCriteria*/
4273
4338
  16384 && G(
4274
4339
  o,
4275
4340
  /*showScoreCriteria*/
4276
- B[14]
4277
- ), R[0] & /*$_*/
4341
+ C[14]
4342
+ ), D[0] & /*$_*/
4278
4343
  65536 && u !== (u = /*$_*/
4279
- B[16]("minbet") + "") && G(l, u), R[0] & /*minbetcount*/
4344
+ C[16]("minbet") + "") && G(h, u), D[0] & /*minbetcount*/
4280
4345
  64 && G(
4281
4346
  f,
4282
4347
  /*minbetcount*/
4283
- B[6]
4284
- ), R[0] & /*$_*/
4285
- 65536 && p !== (p = /*$_*/
4286
- B[16]("seegames") + "") && G(S, p), R[0] & /*$_*/
4287
- 65536 && C !== (C = /*$_*/
4288
- B[16]("here") + "") && G(U, C), R[0] & /*gameurl*/
4289
- 256 && _(
4290
- H,
4348
+ C[6]
4349
+ ), D[0] & /*$_*/
4350
+ 65536 && v !== (v = /*$_*/
4351
+ C[16]("seegames") + "") && G(P, v), D[0] & /*$_*/
4352
+ 65536 && H !== (H = /*$_*/
4353
+ C[16]("here") + "") && G(F, H), D[0] & /*gameurl*/
4354
+ 256 && p(
4355
+ A,
4291
4356
  "href",
4292
4357
  /*gameurl*/
4293
- B[8]
4294
- ), R[0] & /*keepbrowsercontext*/
4295
- 512 && L !== (L = /*keepbrowsercontext*/
4296
- B[9] === "true" ? "_self" : "_blank") && _(H, "target", L);
4358
+ C[8]
4359
+ ), D[0] & /*keepbrowsercontext*/
4360
+ 512 && k !== (k = /*keepbrowsercontext*/
4361
+ C[9] === "true" ? "_self" : "_blank") && p(A, "target", k);
4297
4362
  },
4298
- d(B) {
4299
- B && (k(t), k(d), k(b)), j = !1, ne(V);
4363
+ d(C) {
4364
+ C && (N(t), N(b), N(y)), j = !1, ne(V);
4300
4365
  }
4301
4366
  };
4302
4367
  }
4303
- function xi(e) {
4304
- let t, r, n, i, s, a, o, h, u, l = (
4305
- /*status*/
4306
- e[0] && yt(e)
4307
- ), c = (
4308
- /*showenrolled*/
4309
- e[7] == "true" && _t(e)
4310
- );
4311
- function f(p, S) {
4312
- return (
4313
- /*thumbnail*/
4314
- p[4] ? vi : Ei
4315
- );
4316
- }
4317
- let E = f(e), d = E(e), b = (
4318
- /*startdate*/
4319
- e[2] && vt(e)
4320
- ), g = (
4321
- /*isLoggedIn*/
4322
- e[12] && xt(e)
4368
+ function Ai(e) {
4369
+ let t, r, n, i = (
4370
+ /*title*/
4371
+ e[1] === "undefined" && xt()
4372
+ ), s = (
4373
+ /*title*/
4374
+ e[1] !== "undefined" && Et(e)
4323
4375
  );
4324
4376
  return {
4325
4377
  c() {
4326
- t = N("div"), l && l.c(), r = z(), c && c.c(), n = z(), d.c(), i = z(), s = N("div"), a = N("div"), o = M(
4327
- /*title*/
4328
- e[1]
4329
- ), h = z(), b && b.c(), u = z(), g && g.c(), _(a, "class", "Title"), _(a, "part", "Title"), _(s, "class", "Details"), _(s, "part", "Details"), _(t, "class", "Thumbnail"), _(t, "part", "Thumbnail");
4378
+ t = B("div"), i && i.c(), r = $(), s && s.c(), p(t, "class", n = `Thumbnail ${/*title*/
4379
+ e[1] === "undefined" ? "Loading" : ""}`), p(t, "part", "Thumbnail");
4330
4380
  },
4331
- m(p, S) {
4332
- F(p, t, S), l && l.m(t, null), x(t, r), c && c.m(t, null), x(t, n), d.m(t, null), x(t, i), x(t, s), x(s, a), x(a, o), x(s, h), b && b.m(s, null), x(s, u), g && g.m(s, null), e[29](t);
4381
+ m(a, o) {
4382
+ O(a, t, o), i && i.m(t, null), S(t, r), s && s.m(t, null), e[29](t);
4333
4383
  },
4334
- p(p, S) {
4335
- /*status*/
4336
- p[0] ? l ? l.p(p, S) : (l = yt(p), l.c(), l.m(t, r)) : l && (l.d(1), l = null), /*showenrolled*/
4337
- p[7] == "true" ? c ? c.p(p, S) : (c = _t(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), E === (E = f(p)) && d ? d.p(p, S) : (d.d(1), d = E(p), d && (d.c(), d.m(t, i))), S[0] & /*title*/
4338
- 2 && G(
4339
- o,
4340
- /*title*/
4341
- p[1]
4342
- ), /*startdate*/
4343
- p[2] ? b ? b.p(p, S) : (b = vt(p), b.c(), b.m(s, u)) : b && (b.d(1), b = null), /*isLoggedIn*/
4344
- p[12] ? g ? g.p(p, S) : (g = xt(p), g.c(), g.m(s, null)) : g && (g.d(1), g = null);
4384
+ p(a, o) {
4385
+ /*title*/
4386
+ a[1] === "undefined" ? i || (i = xt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4387
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = Et(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4388
+ 2 && n !== (n = `Thumbnail ${/*title*/
4389
+ a[1] === "undefined" ? "Loading" : ""}`) && p(t, "class", n);
4345
4390
  },
4346
- i: D,
4347
- o: D,
4348
- d(p) {
4349
- p && k(t), l && l.d(), c && c.d(), d.d(), b && b.d(), g && g.d(), e[29](null);
4391
+ i: U,
4392
+ o: U,
4393
+ d(a) {
4394
+ a && N(t), i && i.d(), s && s.d(), e[29](null);
4350
4395
  }
4351
4396
  };
4352
4397
  }
4353
- function Si(e, t, r) {
4398
+ function Hi(e, t, r) {
4354
4399
  let n;
4355
- ar(e, pi, (m) => r(16, n = m));
4356
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: h = "" } = t, { tourid: u = "" } = t, { thumbnail: l = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: E = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: S = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: H = "" } = t, C, U = "", L = !1, j = "", V = "", B = "";
4357
- const R = () => {
4358
- fetch(H).then((w) => w.json()).then((w) => {
4359
- Object.keys(w).forEach((J) => {
4360
- gt(J, w[J]);
4400
+ hr(e, xi, (m) => r(16, n = m));
4401
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: w = "" } = t, { translationurl: A = "" } = t, H, F = "", k = !1, j = "", V = "", C = "";
4402
+ const D = () => {
4403
+ fetch(A).then((M) => M.json()).then((M) => {
4404
+ Object.keys(M).forEach((J) => {
4405
+ yt(J, M[J]);
4361
4406
  });
4362
- }).catch((w) => {
4363
- console.log(w);
4407
+ }).catch((M) => {
4408
+ console.log(M);
4364
4409
  });
4365
4410
  };
4366
- Object.keys(pt).forEach((m) => {
4367
- gt(m, pt[m]);
4411
+ Object.keys(_t).forEach((m) => {
4412
+ yt(m, _t[m]);
4368
4413
  });
4369
- const Ye = (m) => {
4370
- m.data && (m.data && m.data.type == "SessionID" && r(12, L = !0), m.data.type == `TournamentStatus_${u}` && r(0, h = m.data.status));
4414
+ const et = (m) => {
4415
+ m.data && (m.data && m.data.type == "SessionID" && r(12, k = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4371
4416
  }, Ce = () => {
4372
4417
  const m = { month: "long" };
4373
- let w = new Date(o), J = new Intl.DateTimeFormat("en", m).format(w), rr = w.getDate(), nr = w.toLocaleString("en-GB", {
4418
+ let M = new Date(o), J = new Intl.DateTimeFormat("en", m).format(M), ar = M.getDate(), or = M.toLocaleString("en-GB", {
4374
4419
  hour: "numeric",
4375
4420
  minute: "numeric",
4376
4421
  hour12: !1
4377
4422
  });
4378
- const ir = () => n(h === "Running" ? "startedAt" : "startingAt");
4379
- r(11, U = `${rr} ` + n(`${J}`) + ", " + ir() + ` ${nr}`);
4423
+ const ur = () => n(l === "Running" ? "startedAt" : "startingAt");
4424
+ r(11, F = `${ar} ` + n(`${J}`) + ", " + ur() + ` ${or}`);
4380
4425
  }, Be = () => {
4381
- h == "Unstarted" && (r(13, j = n("scheduled")), r(15, B = "StatusUnstarted")), h == "Running" && (r(13, j = n("ongoing")), r(15, B = "StatusRunning")), (h == "Closed" || h == "Closing") && r(13, j = n("finished")), h == "Closed" && r(15, B = "StatusClosed"), h == "Closing" && r(15, B = "StatusClosing");
4382
- }, Oe = () => {
4426
+ l == "Unstarted" && (r(13, j = n("scheduled")), r(15, C = "StatusUnstarted")), l == "Running" && (r(13, j = n("ongoing")), r(15, C = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, j = n("finished")), l == "Closed" && r(15, C = "StatusClosed"), l == "Closing" && r(15, C = "StatusClosing");
4427
+ }, Ie = () => {
4383
4428
  f == "BetCount" && r(14, V = n("betCount")), f == "MaxWinStakeRatio" && r(14, V = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, V = n("winStakeRatio")), f == "Stake" && r(14, V = n("stake"));
4384
- }, Ke = (m, w) => {
4385
- window.postMessage({ type: "tournamentGamesClicked", tourId: w }, window.location.href);
4386
- }, qt = () => {
4387
- i.length > 0 && i != "false" ? r(12, L = !0) : r(12, L = !1);
4388
- }, Yt = () => {
4429
+ }, tt = (m, M) => {
4430
+ window.postMessage({ type: "tournamentGamesClicked", tourId: M }, window.location.href);
4431
+ }, tr = () => {
4432
+ i.length > 0 && i != "false" ? r(12, k = !0) : r(12, k = !1);
4433
+ }, rr = () => {
4389
4434
  let m = document.createElement("style");
4390
- m.innerHTML = S, C.appendChild(m);
4391
- }, Kt = () => {
4392
- let m = new URL(P), w = document.createElement("style");
4435
+ m.innerHTML = P, H.appendChild(m);
4436
+ }, nr = () => {
4437
+ let m = new URL(w), M = document.createElement("style");
4393
4438
  fetch(m.href).then((J) => J.text()).then((J) => {
4394
- w.innerHTML = J, setTimeout(
4439
+ M.innerHTML = J, setTimeout(
4395
4440
  () => {
4396
- C.appendChild(w);
4441
+ H.appendChild(M);
4397
4442
  },
4398
4443
  1
4399
4444
  ), setTimeout(
@@ -4403,70 +4448,70 @@ function Si(e, t, r) {
4403
4448
  );
4404
4449
  });
4405
4450
  };
4406
- br(() => (setTimeout(() => et(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Ye, !1), () => {
4407
- window.removeEventListener("message", Ye);
4451
+ _r(() => (setTimeout(() => rt(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", et, !1), () => {
4452
+ window.removeEventListener("message", et);
4408
4453
  }));
4409
- const et = () => {
4410
- yi(g), Oe(), Be(), o && Ce();
4411
- }, er = () => Ke();
4412
- function tr(m) {
4454
+ const rt = () => {
4455
+ Ei(d), Ie(), Be(), o && Ce();
4456
+ }, ir = () => tt();
4457
+ function sr(m) {
4413
4458
  ke[m ? "unshift" : "push"](() => {
4414
- C = m, r(10, C);
4459
+ H = m, r(10, H);
4415
4460
  });
4416
4461
  }
4417
4462
  return e.$$set = (m) => {
4418
- "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, h = m.status), "tourid" in m && r(3, u = m.tourid), "thumbnail" in m && r(4, l = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, E = m.minbetcount), "showenrolled" in m && r(7, d = m.showenrolled), "gameurl" in m && r(8, b = m.gameurl), "lang" in m && r(24, g = m.lang), "keepbrowsercontext" in m && r(9, p = m.keepbrowsercontext), "clientstyling" in m && r(25, S = m.clientstyling), "clientstylingurl" in m && r(26, P = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4463
+ "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(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, g = m.minbetcount), "showenrolled" in m && r(7, b = m.showenrolled), "gameurl" in m && r(8, y = m.gameurl), "lang" in m && r(24, d = m.lang), "keepbrowsercontext" in m && r(9, v = m.keepbrowsercontext), "clientstyling" in m && r(25, P = m.clientstyling), "clientstylingurl" in m && r(26, w = m.clientstylingurl), "translationurl" in m && r(27, A = m.translationurl);
4419
4464
  }, e.$$.update = () => {
4420
4465
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4421
- 33555456 && C && S && Yt(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4422
- 67109888 && C && P && Kt(), e.$$.dirty[0] & /*translationurl*/
4423
- 134217728 && H && R(), e.$$.dirty[0] & /*session*/
4424
- 2097152 && i && qt(), e.$$.dirty[0] & /*status*/
4425
- 1 && h && Be(), e.$$.dirty[0] & /*title, lang*/
4426
- 16777218 && a && g && et(), e.$$.dirty[0] & /*startdate*/
4466
+ 33555456 && H && P && rr(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4467
+ 67109888 && H && w && nr(), e.$$.dirty[0] & /*translationurl*/
4468
+ 134217728 && A && D(), e.$$.dirty[0] & /*session*/
4469
+ 2097152 && i && tr(), e.$$.dirty[0] & /*status*/
4470
+ 1 && l && Be(), e.$$.dirty[0] & /*title, lang*/
4471
+ 16777218 && a && d && rt(), e.$$.dirty[0] & /*startdate*/
4427
4472
  4 && o && Ce(), e.$$.dirty[0] & /*scorecriteria*/
4428
- 8388608 && f && Oe();
4473
+ 8388608 && f && Ie();
4429
4474
  }, [
4430
- h,
4475
+ l,
4431
4476
  a,
4432
4477
  o,
4433
4478
  u,
4434
- l,
4479
+ h,
4435
4480
  c,
4436
- E,
4437
- d,
4481
+ g,
4438
4482
  b,
4439
- p,
4440
- C,
4441
- U,
4442
- L,
4483
+ y,
4484
+ v,
4485
+ H,
4486
+ F,
4487
+ k,
4443
4488
  j,
4444
4489
  V,
4445
- B,
4490
+ C,
4446
4491
  n,
4447
4492
  Ce,
4448
4493
  Be,
4449
- Oe,
4450
- Ke,
4494
+ Ie,
4495
+ tt,
4451
4496
  i,
4452
4497
  s,
4453
4498
  f,
4454
- g,
4455
- S,
4499
+ d,
4456
4500
  P,
4457
- H,
4458
- er,
4459
- tr
4501
+ w,
4502
+ A,
4503
+ ir,
4504
+ sr
4460
4505
  ];
4461
4506
  }
4462
- class Ti extends Cr {
4507
+ class Ci extends wr {
4463
4508
  constructor(t) {
4464
- super(), Ar(
4509
+ super(), Ir(
4465
4510
  this,
4466
4511
  t,
4467
- Si,
4468
- xi,
4469
- Tt,
4512
+ Hi,
4513
+ Ai,
4514
+ Bt,
4470
4515
  {
4471
4516
  session: 21,
4472
4517
  userid: 22,
@@ -4486,7 +4531,7 @@ class Ti extends Cr {
4486
4531
  clientstylingurl: 26,
4487
4532
  translationurl: 27
4488
4533
  },
4489
- _i,
4534
+ vi,
4490
4535
  [-1, -1]
4491
4536
  );
4492
4537
  }
@@ -4494,106 +4539,106 @@ class Ti extends Cr {
4494
4539
  return this.$$.ctx[21];
4495
4540
  }
4496
4541
  set session(t) {
4497
- this.$$set({ session: t }), O();
4542
+ this.$$set({ session: t }), I();
4498
4543
  }
4499
4544
  get userid() {
4500
4545
  return this.$$.ctx[22];
4501
4546
  }
4502
4547
  set userid(t) {
4503
- this.$$set({ userid: t }), O();
4548
+ this.$$set({ userid: t }), I();
4504
4549
  }
4505
4550
  get title() {
4506
4551
  return this.$$.ctx[1];
4507
4552
  }
4508
4553
  set title(t) {
4509
- this.$$set({ title: t }), O();
4554
+ this.$$set({ title: t }), I();
4510
4555
  }
4511
4556
  get startdate() {
4512
4557
  return this.$$.ctx[2];
4513
4558
  }
4514
4559
  set startdate(t) {
4515
- this.$$set({ startdate: t }), O();
4560
+ this.$$set({ startdate: t }), I();
4516
4561
  }
4517
4562
  get status() {
4518
4563
  return this.$$.ctx[0];
4519
4564
  }
4520
4565
  set status(t) {
4521
- this.$$set({ status: t }), O();
4566
+ this.$$set({ status: t }), I();
4522
4567
  }
4523
4568
  get tourid() {
4524
4569
  return this.$$.ctx[3];
4525
4570
  }
4526
4571
  set tourid(t) {
4527
- this.$$set({ tourid: t }), O();
4572
+ this.$$set({ tourid: t }), I();
4528
4573
  }
4529
4574
  get thumbnail() {
4530
4575
  return this.$$.ctx[4];
4531
4576
  }
4532
4577
  set thumbnail(t) {
4533
- this.$$set({ thumbnail: t }), O();
4578
+ this.$$set({ thumbnail: t }), I();
4534
4579
  }
4535
4580
  get userenrolled() {
4536
4581
  return this.$$.ctx[5];
4537
4582
  }
4538
4583
  set userenrolled(t) {
4539
- this.$$set({ userenrolled: t }), O();
4584
+ this.$$set({ userenrolled: t }), I();
4540
4585
  }
4541
4586
  get scorecriteria() {
4542
4587
  return this.$$.ctx[23];
4543
4588
  }
4544
4589
  set scorecriteria(t) {
4545
- this.$$set({ scorecriteria: t }), O();
4590
+ this.$$set({ scorecriteria: t }), I();
4546
4591
  }
4547
4592
  get minbetcount() {
4548
4593
  return this.$$.ctx[6];
4549
4594
  }
4550
4595
  set minbetcount(t) {
4551
- this.$$set({ minbetcount: t }), O();
4596
+ this.$$set({ minbetcount: t }), I();
4552
4597
  }
4553
4598
  get showenrolled() {
4554
4599
  return this.$$.ctx[7];
4555
4600
  }
4556
4601
  set showenrolled(t) {
4557
- this.$$set({ showenrolled: t }), O();
4602
+ this.$$set({ showenrolled: t }), I();
4558
4603
  }
4559
4604
  get gameurl() {
4560
4605
  return this.$$.ctx[8];
4561
4606
  }
4562
4607
  set gameurl(t) {
4563
- this.$$set({ gameurl: t }), O();
4608
+ this.$$set({ gameurl: t }), I();
4564
4609
  }
4565
4610
  get lang() {
4566
4611
  return this.$$.ctx[24];
4567
4612
  }
4568
4613
  set lang(t) {
4569
- this.$$set({ lang: t }), O();
4614
+ this.$$set({ lang: t }), I();
4570
4615
  }
4571
4616
  get keepbrowsercontext() {
4572
4617
  return this.$$.ctx[9];
4573
4618
  }
4574
4619
  set keepbrowsercontext(t) {
4575
- this.$$set({ keepbrowsercontext: t }), O();
4620
+ this.$$set({ keepbrowsercontext: t }), I();
4576
4621
  }
4577
4622
  get clientstyling() {
4578
4623
  return this.$$.ctx[25];
4579
4624
  }
4580
4625
  set clientstyling(t) {
4581
- this.$$set({ clientstyling: t }), O();
4626
+ this.$$set({ clientstyling: t }), I();
4582
4627
  }
4583
4628
  get clientstylingurl() {
4584
4629
  return this.$$.ctx[26];
4585
4630
  }
4586
4631
  set clientstylingurl(t) {
4587
- this.$$set({ clientstylingurl: t }), O();
4632
+ this.$$set({ clientstylingurl: t }), I();
4588
4633
  }
4589
4634
  get translationurl() {
4590
4635
  return this.$$.ctx[27];
4591
4636
  }
4592
4637
  set translationurl(t) {
4593
- this.$$set({ translationurl: t }), O();
4638
+ this.$$set({ translationurl: t }), I();
4594
4639
  }
4595
4640
  }
4596
- Hr(Ti, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4641
+ Nr(Ci, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4597
4642
  export {
4598
- Ti as C
4643
+ Ci as C
4599
4644
  };