@everymatrix/casino-tournaments-thumbnail-controller 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/{CasinoTournamentsThumbnail-Bc--CoFr.js → CasinoTournamentsThumbnail-DRbucqVi.js} +892 -858
  2. package/components/CasinoTournamentsThumbnail-DZHxPcle.cjs +19 -0
  3. package/components/{CasinoTournamentsThumbnail-DkKIM4pw.js → CasinoTournamentsThumbnail-uI6apv_h.js} +878 -844
  4. package/components/CasinoTournamentsThumbnailController-B_o9fbWC.cjs +3 -0
  5. package/components/{CasinoTournamentsThumbnailController-CTbAnla0.js → CasinoTournamentsThumbnailController-Bum_v86m.js} +258 -323
  6. package/components/{CasinoTournamentsThumbnailController-NqZC1FgH.js → CasinoTournamentsThumbnailController-yd-WZbJL.js} +279 -344
  7. package/components/{CasinoTournamentsThumbnailDuration-C1FtYd6r.cjs → CasinoTournamentsThumbnailDuration-BpulUcjo.cjs} +1 -1
  8. package/components/{CasinoTournamentsThumbnailDuration-B_vBmHSH.js → CasinoTournamentsThumbnailDuration-DqM8QDXb.js} +65 -65
  9. package/components/{CasinoTournamentsThumbnailDuration-ZZxthyPi.js → CasinoTournamentsThumbnailDuration-KmTYzO0U.js} +65 -65
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-Cvorm8VZ.js → CasinoTournamentsThumbnailGamesSlider-CDOuc7y9.js} +88 -88
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-CFUZKTBR.cjs → CasinoTournamentsThumbnailGamesSlider-DcBTvroG.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-DxBwitF7.js → CasinoTournamentsThumbnailGamesSlider-cAFxrIEC.js} +88 -88
  13. package/components/{CasinoTournamentsThumbnailPrizes-BxL4G5lm.cjs → CasinoTournamentsThumbnailPrizes-BWO5mWgv.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-CFRjJtza.js → CasinoTournamentsThumbnailPrizes-DFfUKF7v.js} +85 -85
  15. package/components/{CasinoTournamentsThumbnailPrizes-CFX2aUmz.js → CasinoTournamentsThumbnailPrizes-Dsf4LpR4.js} +85 -85
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  21. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  22. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  23. package/stencil/index-b2193545-CD_KQ0BB.js +519 -0
  24. package/stencil/index-b2193545-CrHhiaNt.js +503 -0
  25. package/stencil/index-b2193545-ngvz84TK.cjs +1 -0
  26. package/stencil/{ui-image-CXqPvnQ2.js → ui-image-BNRjOSaN.js} +1 -1
  27. package/stencil/{ui-image-DgbODkuX.js → ui-image-D9tkwepr.js} +1 -1
  28. package/stencil/{ui-image-Bk8cIvcH.cjs → ui-image-DBXtq7Sy.cjs} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  32. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-CzFe50WB.js} +2 -2
  33. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  34. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-z5LhXZY2.js} +2 -2
  35. package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-BecGfbnY.js} +2 -2
  36. package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-CKaouoPt.cjs} +1 -1
  37. package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-DXmvn9dE.js} +2 -2
  38. package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-8tswdmF8.js} +1 -1
  39. package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-BVAHFeog.js} +1 -1
  40. package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-kPD5RoB3.cjs} +1 -1
  41. package/components/CasinoTournamentsThumbnail-p9EHTztQ.cjs +0 -6
  42. package/components/CasinoTournamentsThumbnailController-CbvkX9jG.cjs +0 -16
  43. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  44. package/stencil/index-b2193545-BS7xFIk4.js +0 -503
  45. package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
  46. package/stencil/index-b2193545-rfNAj6ri.js +0 -519
@@ -1,30 +1,30 @@
1
- import "../stencil/ui-skeleton-DSebcnN1.js";
2
- import "../stencil/ui-image-CXqPvnQ2.js";
1
+ import "../stencil/ui-skeleton-DXmvn9dE.js";
2
+ import "../stencil/ui-image-BNRjOSaN.js";
3
3
  function U() {
4
4
  }
5
- function wt(e) {
5
+ function Ct(e) {
6
6
  return e();
7
7
  }
8
- function it() {
8
+ function nt() {
9
9
  return /* @__PURE__ */ Object.create(null);
10
10
  }
11
- function z(e) {
12
- e.forEach(wt);
11
+ function V(e) {
12
+ e.forEach(Ct);
13
13
  }
14
- function be(e) {
14
+ function de(e) {
15
15
  return typeof e == "function";
16
16
  }
17
- function Bt(e, t) {
17
+ function wt(e, t) {
18
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
19
  }
20
- let pe;
21
- function $e(e, t) {
22
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
20
+ let ge;
21
+ function Fe(e, t) {
22
+ return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
23
23
  }
24
24
  function fr(e) {
25
25
  return Object.keys(e).length === 0;
26
26
  }
27
- function It(e, ...t) {
27
+ function Bt(e, ...t) {
28
28
  if (e == null) {
29
29
  for (const n of t)
30
30
  n(void 0);
@@ -33,23 +33,23 @@ function It(e, ...t) {
33
33
  const r = e.subscribe(...t);
34
34
  return r.unsubscribe ? () => r.unsubscribe() : r;
35
35
  }
36
- function mr(e, t, r) {
37
- e.$$.on_destroy.push(It(t, r));
36
+ function cr(e, t, r) {
37
+ e.$$.on_destroy.push(Bt(t, r));
38
38
  }
39
- function ge(e) {
40
- return e && be(e.destroy) ? e.destroy : U;
39
+ function be(e) {
40
+ return e && de(e.destroy) ? e.destroy : U;
41
41
  }
42
- function T(e, t) {
42
+ function A(e, t) {
43
43
  e.appendChild(t);
44
44
  }
45
- function dr(e, t, r) {
46
- const n = br(e);
45
+ function mr(e, t, r) {
46
+ const n = dr(e);
47
47
  if (!n.getElementById(t)) {
48
48
  const i = w("style");
49
- i.id = t, i.textContent = r, gr(n, i);
49
+ i.id = t, i.textContent = r, br(n, i);
50
50
  }
51
51
  }
52
- function br(e) {
52
+ function dr(e) {
53
53
  if (!e)
54
54
  return document;
55
55
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -59,27 +59,27 @@ function br(e) {
59
59
  t
60
60
  ) : e.ownerDocument;
61
61
  }
62
- function gr(e, t) {
63
- return T(
62
+ function br(e, t) {
63
+ return A(
64
64
  /** @type {Document} */
65
65
  e.head || e,
66
66
  t
67
67
  ), t.sheet;
68
68
  }
69
- function P(e, t, r) {
69
+ function O(e, t, r) {
70
70
  e.insertBefore(t, r || null);
71
71
  }
72
72
  function I(e) {
73
73
  e.parentNode && e.parentNode.removeChild(e);
74
74
  }
75
- function Di(e, t) {
75
+ function Ri(e, t) {
76
76
  for (let r = 0; r < e.length; r += 1)
77
77
  e[r] && e[r].d(t);
78
78
  }
79
79
  function w(e) {
80
80
  return document.createElement(e);
81
81
  }
82
- function ki(e) {
82
+ function Di(e) {
83
83
  return document.createElementNS("http://www.w3.org/2000/svg", e);
84
84
  }
85
85
  function D(e) {
@@ -88,51 +88,51 @@ function D(e) {
88
88
  function G() {
89
89
  return D(" ");
90
90
  }
91
- function pr() {
91
+ function gr() {
92
92
  return D("");
93
93
  }
94
- function te(e, t, r, n) {
94
+ function ee(e, t, r, n) {
95
95
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
96
96
  }
97
97
  function b(e, t, r) {
98
98
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
99
99
  }
100
- function K(e, t, r) {
100
+ function Y(e, t, r) {
101
101
  const n = t.toLowerCase();
102
102
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
103
103
  }
104
- function yr(e) {
104
+ function pr(e) {
105
105
  return Array.from(e.childNodes);
106
106
  }
107
107
  function F(e, t) {
108
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
109
  t);
110
110
  }
111
- function Ui(e, t, r, n) {
111
+ function ki(e, t, r, n) {
112
112
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
113
113
  }
114
- let ye;
115
- function _r() {
116
- if (ye === void 0) {
117
- ye = !1;
114
+ let pe;
115
+ function yr() {
116
+ if (pe === void 0) {
117
+ pe = !1;
118
118
  try {
119
119
  typeof window < "u" && window.parent && window.parent.document;
120
120
  } catch {
121
- ye = !0;
121
+ pe = !0;
122
122
  }
123
123
  }
124
- return ye;
124
+ return pe;
125
125
  }
126
- function Fi(e, t) {
126
+ function Ui(e, t) {
127
127
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
128
128
  const n = w("iframe");
129
129
  n.setAttribute(
130
130
  "style",
131
131
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
132
132
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
133
- const i = _r();
133
+ const i = yr();
134
134
  let s;
135
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = te(
135
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = ee(
136
136
  window,
137
137
  "message",
138
138
  /** @param {MessageEvent} event */
@@ -140,15 +140,15 @@ function Fi(e, t) {
140
140
  a.source === n.contentWindow && t();
141
141
  }
142
142
  )) : (n.src = "about:blank", n.onload = () => {
143
- s = te(n.contentWindow, "resize", t), t();
144
- }), T(e, n), () => {
143
+ s = ee(n.contentWindow, "resize", t), t();
144
+ }), A(e, n), () => {
145
145
  (i || s && n.contentWindow) && s(), I(n);
146
146
  };
147
147
  }
148
- function Gi(e, t, r) {
148
+ function Fi(e, t, r) {
149
149
  e.classList.toggle(t, !!r);
150
150
  }
151
- function vr(e) {
151
+ function _r(e) {
152
152
  const t = {};
153
153
  return e.childNodes.forEach(
154
154
  /** @param {Element} node */
@@ -158,89 +158,89 @@ function vr(e) {
158
158
  ), t;
159
159
  }
160
160
  let fe;
161
- function ce(e) {
161
+ function he(e) {
162
162
  fe = e;
163
163
  }
164
- function Er() {
164
+ function xr() {
165
165
  if (!fe)
166
166
  throw new Error("Function called outside component initialization");
167
167
  return fe;
168
168
  }
169
- function xr(e) {
170
- Er().$$.on_mount.push(e);
169
+ function Er(e) {
170
+ xr().$$.on_mount.push(e);
171
171
  }
172
- const Y = [], je = [];
173
- let ee = [];
174
- const st = [], Sr = /* @__PURE__ */ Promise.resolve();
175
- let Ve = !1;
176
- function Tr() {
177
- Ve || (Ve = !0, Sr.then(C));
172
+ const Q = [], Ge = [];
173
+ let K = [];
174
+ const it = [], vr = /* @__PURE__ */ Promise.resolve();
175
+ let $e = !1;
176
+ function Sr() {
177
+ $e || ($e = !0, vr.then(C));
178
178
  }
179
- function ze(e) {
180
- ee.push(e);
179
+ function je(e) {
180
+ K.push(e);
181
181
  }
182
- const Le = /* @__PURE__ */ new Set();
183
- let q = 0;
182
+ const Oe = /* @__PURE__ */ new Set();
183
+ let Z = 0;
184
184
  function C() {
185
- if (q !== 0)
185
+ if (Z !== 0)
186
186
  return;
187
187
  const e = fe;
188
188
  do {
189
189
  try {
190
- for (; q < Y.length; ) {
191
- const t = Y[q];
192
- q++, ce(t), Ar(t.$$);
190
+ for (; Z < Q.length; ) {
191
+ const t = Q[Z];
192
+ Z++, he(t), Tr(t.$$);
193
193
  }
194
194
  } catch (t) {
195
- throw Y.length = 0, q = 0, t;
195
+ throw Q.length = 0, Z = 0, t;
196
196
  }
197
- for (ce(null), Y.length = 0, q = 0; je.length; )
198
- je.pop()();
199
- for (let t = 0; t < ee.length; t += 1) {
200
- const r = ee[t];
201
- Le.has(r) || (Le.add(r), r());
197
+ for (he(null), Q.length = 0, Z = 0; Ge.length; )
198
+ Ge.pop()();
199
+ for (let t = 0; t < K.length; t += 1) {
200
+ const r = K[t];
201
+ Oe.has(r) || (Oe.add(r), r());
202
202
  }
203
- ee.length = 0;
204
- } while (Y.length);
205
- for (; st.length; )
206
- st.pop()();
207
- Ve = !1, Le.clear(), ce(e);
203
+ K.length = 0;
204
+ } while (Q.length);
205
+ for (; it.length; )
206
+ it.pop()();
207
+ $e = !1, Oe.clear(), he(e);
208
208
  }
209
- function Ar(e) {
209
+ function Tr(e) {
210
210
  if (e.fragment !== null) {
211
- e.update(), z(e.before_update);
211
+ e.update(), V(e.before_update);
212
212
  const t = e.dirty;
213
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
213
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
214
214
  }
215
215
  }
216
- function Hr(e) {
216
+ function Ar(e) {
217
217
  const t = [], r = [];
218
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
218
+ K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
219
219
  }
220
- const Cr = /* @__PURE__ */ new Set();
221
- function wr(e, t) {
222
- e && e.i && (Cr.delete(e), e.i(t));
220
+ const Hr = /* @__PURE__ */ new Set();
221
+ function Cr(e, t) {
222
+ e && e.i && (Hr.delete(e), e.i(t));
223
223
  }
224
- function $i(e) {
224
+ function Gi(e) {
225
225
  return e?.length !== void 0 ? e : Array.from(e);
226
226
  }
227
- function Br(e, t, r) {
227
+ function wr(e, t, r) {
228
228
  const { fragment: n, after_update: i } = e.$$;
229
- n && n.m(t, r), ze(() => {
230
- const s = e.$$.on_mount.map(wt).filter(be);
231
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
232
- }), i.forEach(ze);
229
+ n && n.m(t, r), je(() => {
230
+ const s = e.$$.on_mount.map(Ct).filter(de);
231
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
232
+ }), i.forEach(je);
233
233
  }
234
- function Ir(e, t) {
234
+ function Br(e, t) {
235
235
  const r = e.$$;
236
- r.fragment !== null && (Hr(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
+ r.fragment !== null && (Ar(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
237
237
  }
238
- function Or(e, t) {
239
- e.$$.dirty[0] === -1 && (Y.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
+ function Ir(e, t) {
239
+ e.$$.dirty[0] === -1 && (Q.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
240
  }
241
241
  function Nr(e, t, r, n, i, s, a = null, o = [-1]) {
242
242
  const l = fe;
243
- ce(e);
243
+ he(e);
244
244
  const u = e.$$ = {
245
245
  fragment: null,
246
246
  ctx: [],
@@ -248,7 +248,7 @@ function Nr(e, t, r, n, i, s, a = null, o = [-1]) {
248
248
  props: s,
249
249
  update: U,
250
250
  not_equal: i,
251
- bound: it(),
251
+ bound: nt(),
252
252
  // lifecycle
253
253
  on_mount: [],
254
254
  on_destroy: [],
@@ -257,28 +257,28 @@ function Nr(e, t, r, n, i, s, a = null, o = [-1]) {
257
257
  after_update: [],
258
258
  context: new Map(t.context || (l ? l.$$.context : [])),
259
259
  // everything else
260
- callbacks: it(),
260
+ callbacks: nt(),
261
261
  dirty: o,
262
262
  skip_bound: !1,
263
263
  root: t.target || l.$$.root
264
264
  };
265
265
  a && a(u.root);
266
266
  let h = !1;
267
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
268
- const E = x.length ? x[0] : c;
269
- return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && Or(e, f)), c;
270
- }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
267
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
268
+ const E = v.length ? v[0] : f;
269
+ return u.ctx && i(u.ctx[c], u.ctx[c] = E) && (!u.skip_bound && u.bound[c] && u.bound[c](E), h && Ir(e, c)), f;
270
+ }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
- const f = yr(t.target);
273
- u.fragment && u.fragment.l(f), f.forEach(I);
272
+ const c = pr(t.target);
273
+ u.fragment && u.fragment.l(c), c.forEach(I);
274
274
  } else
275
275
  u.fragment && u.fragment.c();
276
- t.intro && wr(e.$$.fragment), Br(e, t.target, t.anchor), C();
276
+ t.intro && Cr(e.$$.fragment), wr(e, t.target, t.anchor), C();
277
277
  }
278
- ce(l);
278
+ he(l);
279
279
  }
280
- let Ot;
281
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
280
+ let It;
281
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
282
282
  /** The Svelte component constructor */
283
283
  $$ctor;
284
284
  /** Slots */
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
327
327
  * @param {HTMLElement} [anchor]
328
328
  */
329
329
  m: function(l, u) {
330
- P(l, s, u);
330
+ O(l, s, u);
331
331
  },
332
332
  d: function(l) {
333
333
  l && I(s);
@@ -337,12 +337,12 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
337
337
  };
338
338
  if (await Promise.resolve(), !this.$$cn || this.$$c)
339
339
  return;
340
- const t = {}, r = vr(this);
340
+ const t = {}, r = _r(this);
341
341
  for (const i of this.$$s)
342
342
  i in r && (t[i] = [e(i)]);
343
343
  for (const i of this.attributes) {
344
344
  const s = this.$$g_p(i.name);
345
- s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
345
+ s in this.$$d || (this.$$d[s] = _e(s, i.value, this.$$p_d, "toProp"));
346
346
  }
347
347
  for (const i in this.$$p_d)
348
348
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -360,7 +360,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
360
360
  this.$$r = !0;
361
361
  for (const i in this.$$p_d)
362
362
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
363
- const s = ve(
363
+ const s = _e(
364
364
  i,
365
365
  this.$$d[i],
366
366
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
382
382
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
383
383
  // and setting attributes through setAttribute etc, this is helpful
384
384
  attributeChangedCallback(e, t, r) {
385
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
385
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = _e(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
395
395
  ) || e;
396
396
  }
397
397
  });
398
- function ve(e, t, r, n) {
398
+ function _e(e, t, r, n) {
399
399
  const i = r[e]?.type;
400
400
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
401
401
  return t;
@@ -424,8 +424,8 @@ function ve(e, t, r, n) {
424
424
  return t;
425
425
  }
426
426
  }
427
- function Pr(e, t, r, n, i, s) {
428
- let a = class extends Ot {
427
+ function Mr(e, t, r, n, i, s) {
428
+ let a = class extends It {
429
429
  constructor() {
430
430
  super(e, r, i), this.$$p_d = t;
431
431
  }
@@ -441,7 +441,7 @@ function Pr(e, t, r, n, i, s) {
441
441
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
442
442
  },
443
443
  set(l) {
444
- l = ve(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
444
+ l = _e(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
445
445
  }
446
446
  });
447
447
  }), n.forEach((o) => {
@@ -453,7 +453,7 @@ function Pr(e, t, r, n, i, s) {
453
453
  }), e.element = /** @type {any} */
454
454
  a, a;
455
455
  }
456
- class Mr {
456
+ class Or {
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -472,7 +472,7 @@ class Mr {
472
472
  $$set = void 0;
473
473
  /** @returns {void} */
474
474
  $destroy() {
475
- Ir(this, 1), this.$destroy = U;
475
+ Br(this, 1), this.$destroy = U;
476
476
  }
477
477
  /**
478
478
  * @template {Extract<keyof Events, string>} K
@@ -481,7 +481,7 @@ class Mr {
481
481
  * @returns {() => void}
482
482
  */
483
483
  $on(t, r) {
484
- if (!be(r))
484
+ if (!de(r))
485
485
  return U;
486
486
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
487
487
  return n.push(r), () => {
@@ -497,26 +497,114 @@ class Mr {
497
497
  this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
498
498
  }
499
499
  }
500
- const Lr = "4";
501
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
502
- const Q = [];
500
+ const Pr = "4";
501
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
502
+ /*! *****************************************************************************
503
+ Copyright (c) Microsoft Corporation.
504
+
505
+ Permission to use, copy, modify, and/or distribute this software for any
506
+ purpose with or without fee is hereby granted.
507
+
508
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
509
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
510
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
511
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
512
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
513
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
514
+ PERFORMANCE OF THIS SOFTWARE.
515
+ ***************************************************************************** */
516
+ var Ve = function(e, t) {
517
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
518
+ r.__proto__ = n;
519
+ } || function(r, n) {
520
+ for (var i in n)
521
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
522
+ }, Ve(e, t);
523
+ };
524
+ function Te(e, t) {
525
+ if (typeof t != "function" && t !== null)
526
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
527
+ Ve(e, t);
528
+ function r() {
529
+ this.constructor = e;
530
+ }
531
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
532
+ }
533
+ var S = function() {
534
+ return S = Object.assign || function(t) {
535
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
536
+ r = arguments[n];
537
+ for (var s in r)
538
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
539
+ }
540
+ return t;
541
+ }, S.apply(this, arguments);
542
+ };
543
+ function Lr(e, t) {
544
+ var r = {};
545
+ for (var n in e)
546
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
547
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
548
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
549
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
550
+ return r;
551
+ }
552
+ function $i(e) {
553
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
554
+ if (r)
555
+ return r.call(e);
556
+ if (e && typeof e.length == "number")
557
+ return {
558
+ next: function() {
559
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
560
+ }
561
+ };
562
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
563
+ }
564
+ function ji(e, t) {
565
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
566
+ if (!r)
567
+ return e;
568
+ var n = r.call(e), i, s = [], a;
569
+ try {
570
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
571
+ s.push(i.value);
572
+ } catch (o) {
573
+ a = { error: o };
574
+ } finally {
575
+ try {
576
+ i && !i.done && (r = n.return) && r.call(n);
577
+ } finally {
578
+ if (a)
579
+ throw a.error;
580
+ }
581
+ }
582
+ return s;
583
+ }
584
+ function Pe(e, t, r) {
585
+ if (r || arguments.length === 2)
586
+ for (var n = 0, i = t.length, s; n < i; n++)
587
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
588
+ return e.concat(s || t);
589
+ }
590
+ const q = [];
503
591
  function Rr(e, t) {
504
592
  return {
505
- subscribe: He(e, t).subscribe
593
+ subscribe: Ae(e, t).subscribe
506
594
  };
507
595
  }
508
- function He(e, t = U) {
596
+ function Ae(e, t = U) {
509
597
  let r;
510
598
  const n = /* @__PURE__ */ new Set();
511
599
  function i(o) {
512
- if (Bt(e, o) && (e = o, r)) {
513
- const l = !Q.length;
600
+ if (wt(e, o) && (e = o, r)) {
601
+ const l = !q.length;
514
602
  for (const u of n)
515
- u[1](), Q.push(u, e);
603
+ u[1](), q.push(u, e);
516
604
  if (l) {
517
- for (let u = 0; u < Q.length; u += 2)
518
- Q[u][0](Q[u + 1]);
519
- Q.length = 0;
605
+ for (let u = 0; u < q.length; u += 2)
606
+ q[u][0](q[u + 1]);
607
+ q.length = 0;
520
608
  }
521
609
  }
522
610
  }
@@ -531,7 +619,7 @@ function He(e, t = U) {
531
619
  }
532
620
  return { set: i, update: s, subscribe: a };
533
621
  }
534
- function ae(e, t, r) {
622
+ function se(e, t, r) {
535
623
  const n = !Array.isArray(e), i = n ? [e] : e;
536
624
  if (!i.every(Boolean))
537
625
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -539,31 +627,31 @@ function ae(e, t, r) {
539
627
  return Rr(r, (a, o) => {
540
628
  let l = !1;
541
629
  const u = [];
542
- let h = 0, f = U;
543
- const c = () => {
630
+ let h = 0, c = U;
631
+ const f = () => {
544
632
  if (h)
545
633
  return;
546
- f();
634
+ c();
547
635
  const E = t(n ? u[0] : u, a, o);
548
- s ? a(E) : f = be(E) ? E : U;
549
- }, x = i.map(
550
- (E, g) => It(
636
+ s ? a(E) : c = de(E) ? E : U;
637
+ }, v = i.map(
638
+ (E, g) => Bt(
551
639
  E,
552
640
  (y) => {
553
- u[g] = y, h &= ~(1 << g), l && c();
641
+ u[g] = y, h &= ~(1 << g), l && f();
554
642
  },
555
643
  () => {
556
644
  h |= 1 << g;
557
645
  }
558
646
  )
559
647
  );
560
- return l = !0, c(), function() {
561
- z(x), f(), l = !1;
648
+ return l = !0, f(), function() {
649
+ V(v), c(), l = !1;
562
650
  };
563
651
  });
564
652
  }
565
653
  function Dr(e) {
566
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
654
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
567
655
  }
568
656
  var kr = function(t) {
569
657
  return Ur(t) && !Fr(t);
@@ -582,26 +670,26 @@ function jr(e) {
582
670
  function Vr(e) {
583
671
  return Array.isArray(e) ? [] : {};
584
672
  }
585
- function me(e, t) {
586
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Vr(e), e, t) : e;
673
+ function ce(e, t) {
674
+ return t.clone !== !1 && t.isMergeableObject(e) ? te(Vr(e), e, t) : e;
587
675
  }
588
676
  function zr(e, t, r) {
589
677
  return e.concat(t).map(function(n) {
590
- return me(n, r);
678
+ return ce(n, r);
591
679
  });
592
680
  }
593
681
  function Jr(e, t) {
594
682
  if (!t.customMerge)
595
- return re;
683
+ return te;
596
684
  var r = t.customMerge(e);
597
- return typeof r == "function" ? r : re;
685
+ return typeof r == "function" ? r : te;
598
686
  }
599
687
  function Wr(e) {
600
688
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
601
689
  return Object.propertyIsEnumerable.call(e, t);
602
690
  }) : [];
603
691
  }
604
- function at(e) {
692
+ function st(e) {
605
693
  return Object.keys(e).concat(Wr(e));
606
694
  }
607
695
  function Nt(e, t) {
@@ -616,99 +704,60 @@ function Xr(e, t) {
616
704
  }
617
705
  function Zr(e, t, r) {
618
706
  var n = {};
619
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
620
- n[i] = me(e[i], r);
621
- }), at(t).forEach(function(i) {
622
- Xr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
707
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
708
+ n[i] = ce(e[i], r);
709
+ }), st(t).forEach(function(i) {
710
+ Xr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
623
711
  }), n;
624
712
  }
625
- function re(e, t, r) {
626
- r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = me;
713
+ function te(e, t, r) {
714
+ r = r || {}, r.arrayMerge = r.arrayMerge || zr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = ce;
627
715
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
628
- return s ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : me(t, r);
716
+ return s ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : ce(t, r);
629
717
  }
630
- re.all = function(t, r) {
718
+ te.all = function(t, r) {
631
719
  if (!Array.isArray(t))
632
720
  throw new Error("first argument should be an array");
633
721
  return t.reduce(function(n, i) {
634
- return re(n, i, r);
722
+ return te(n, i, r);
635
723
  }, {});
636
724
  };
637
- var qr = re, Qr = qr;
725
+ var qr = te, Qr = qr;
638
726
  const Yr = /* @__PURE__ */ Dr(Qr);
639
- var Je = function(e, t) {
640
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
641
- r.__proto__ = n;
642
- } || function(r, n) {
643
- for (var i in n)
644
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
645
- }, Je(e, t);
646
- };
647
- function Ce(e, t) {
648
- if (typeof t != "function" && t !== null)
649
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
650
- Je(e, t);
651
- function r() {
652
- this.constructor = e;
653
- }
654
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
655
- }
656
- var $ = function() {
657
- return $ = Object.assign || function(t) {
658
- for (var r, n = 1, i = arguments.length; n < i; n++) {
659
- r = arguments[n];
660
- for (var s in r)
661
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
662
- }
663
- return t;
664
- }, $.apply(this, arguments);
665
- };
666
- function Kr(e, t) {
667
- var r = {};
668
- for (var n in e)
669
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
670
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
671
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
672
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
673
- return r;
674
- }
675
- function Re(e, t, r) {
676
- if (r || arguments.length === 2)
677
- for (var n = 0, i = t.length, s; n < i; n++)
678
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
679
- return e.concat(s || Array.prototype.slice.call(t));
680
- }
681
- function De(e, t) {
682
- var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : sn, i = t && t.strategy ? t.strategy : rn;
727
+ function Le(e, t) {
728
+ var r = t && t.cache ? t.cache : an, n = t && t.serializer ? t.serializer : nn, i = t && t.strategy ? t.strategy : en;
683
729
  return i(e, {
684
730
  cache: r,
685
731
  serializer: n
686
732
  });
687
733
  }
688
- function en(e) {
734
+ function Kr(e) {
689
735
  return e == null || typeof e == "number" || typeof e == "boolean";
690
736
  }
691
- function tn(e, t, r, n) {
692
- var i = en(n) ? n : r(n), s = t.get(i);
737
+ function Mt(e, t, r, n) {
738
+ var i = Kr(n) ? n : r(n), s = t.get(i);
693
739
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
694
740
  }
695
- function Pt(e, t, r) {
741
+ function Ot(e, t, r) {
696
742
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
697
743
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
698
744
  }
699
- function Mt(e, t, r, n, i) {
745
+ function Ke(e, t, r, n, i) {
700
746
  return r.bind(t, e, n, i);
701
747
  }
702
- function rn(e, t) {
703
- var r = e.length === 1 ? tn : Pt;
704
- return Mt(e, this, r, t.cache.create(), t.serializer);
748
+ function en(e, t) {
749
+ var r = e.length === 1 ? Mt : Ot;
750
+ return Ke(e, this, r, t.cache.create(), t.serializer);
751
+ }
752
+ function tn(e, t) {
753
+ return Ke(e, this, Ot, t.cache.create(), t.serializer);
705
754
  }
706
- function nn(e, t) {
707
- return Mt(e, this, Pt, t.cache.create(), t.serializer);
755
+ function rn(e, t) {
756
+ return Ke(e, this, Mt, t.cache.create(), t.serializer);
708
757
  }
709
- var sn = function() {
758
+ var nn = function() {
710
759
  return JSON.stringify(arguments);
711
- }, an = (
760
+ }, sn = (
712
761
  /** @class */
713
762
  function() {
714
763
  function e() {
@@ -720,71 +769,62 @@ var sn = function() {
720
769
  this.cache[t] = r;
721
770
  }, e;
722
771
  }()
723
- ), on = {
772
+ ), an = {
724
773
  create: function() {
725
- return new an();
774
+ return new sn();
726
775
  }
727
- }, ke = {
728
- variadic: nn
729
- }, Se = function() {
730
- return Se = Object.assign || function(t) {
731
- for (var r, n = 1, i = arguments.length; n < i; n++) {
732
- r = arguments[n];
733
- for (var s in r)
734
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
735
- }
736
- return t;
737
- }, Se.apply(this, arguments);
738
- };
739
- var p;
776
+ }, Re = {
777
+ variadic: tn,
778
+ monadic: rn
779
+ }, p;
740
780
  (function(e) {
741
781
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
742
782
  })(p || (p = {}));
743
- var A;
783
+ var H;
744
784
  (function(e) {
745
785
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
746
- })(A || (A = {}));
747
- var ne;
786
+ })(H || (H = {}));
787
+ var re;
748
788
  (function(e) {
749
789
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
750
- })(ne || (ne = {}));
751
- function ot(e) {
752
- return e.type === A.literal;
790
+ })(re || (re = {}));
791
+ function at(e) {
792
+ return e.type === H.literal;
753
793
  }
754
- function un(e) {
755
- return e.type === A.argument;
794
+ function on(e) {
795
+ return e.type === H.argument;
796
+ }
797
+ function Pt(e) {
798
+ return e.type === H.number;
756
799
  }
757
800
  function Lt(e) {
758
- return e.type === A.number;
801
+ return e.type === H.date;
759
802
  }
760
803
  function Rt(e) {
761
- return e.type === A.date;
804
+ return e.type === H.time;
762
805
  }
763
806
  function Dt(e) {
764
- return e.type === A.time;
807
+ return e.type === H.select;
765
808
  }
766
809
  function kt(e) {
767
- return e.type === A.select;
810
+ return e.type === H.plural;
768
811
  }
769
- function Ut(e) {
770
- return e.type === A.plural;
812
+ function un(e) {
813
+ return e.type === H.pound;
771
814
  }
772
- function ln(e) {
773
- return e.type === A.pound;
815
+ function Ut(e) {
816
+ return e.type === H.tag;
774
817
  }
775
818
  function Ft(e) {
776
- return e.type === A.tag;
777
- }
778
- function Gt(e) {
779
- return !!(e && typeof e == "object" && e.type === ne.number);
819
+ return !!(e && typeof e == "object" && e.type === re.number);
780
820
  }
781
- function We(e) {
782
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
821
+ function ze(e) {
822
+ return !!(e && typeof e == "object" && e.type === re.dateTime);
783
823
  }
784
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
785
- function cn(e) {
824
+ var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ln = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
825
+ function hn(e) {
786
826
  var t = {};
787
- return e.replace(hn, function(r) {
827
+ return e.replace(ln, function(r) {
788
828
  var n = r.length;
789
829
  switch (r[0]) {
790
830
  case "G":
@@ -873,46 +913,36 @@ function cn(e) {
873
913
  return "";
874
914
  }), t;
875
915
  }
876
- var H = function() {
877
- return H = Object.assign || function(t) {
878
- for (var r, n = 1, i = arguments.length; n < i; n++) {
879
- r = arguments[n];
880
- for (var s in r)
881
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
882
- }
883
- return t;
884
- }, H.apply(this, arguments);
885
- };
886
916
  var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
887
- function mn(e) {
917
+ function cn(e) {
888
918
  if (e.length === 0)
889
919
  throw new Error("Number skeleton cannot be empty");
890
- for (var t = e.split(fn).filter(function(c) {
891
- return c.length > 0;
920
+ for (var t = e.split(fn).filter(function(f) {
921
+ return f.length > 0;
892
922
  }), r = [], n = 0, i = t; n < i.length; n++) {
893
923
  var s = i[n], a = s.split("/");
894
924
  if (a.length === 0)
895
925
  throw new Error("Invalid number skeleton");
896
926
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
897
- var f = h[u];
898
- if (f.length === 0)
927
+ var c = h[u];
928
+ if (c.length === 0)
899
929
  throw new Error("Invalid number skeleton");
900
930
  }
901
931
  r.push({ stem: o, options: l });
902
932
  }
903
933
  return r;
904
934
  }
905
- function dn(e) {
935
+ function mn(e) {
906
936
  return e.replace(/^(.*?)-/, "");
907
937
  }
908
- var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
909
- function lt(e) {
938
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
939
+ function ut(e) {
910
940
  var t = {};
911
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
941
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
912
942
  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)), "";
913
943
  }), t;
914
944
  }
915
- function zt(e) {
945
+ function Vt(e) {
916
946
  switch (e) {
917
947
  case "sign-auto":
918
948
  return {
@@ -952,7 +982,7 @@ function zt(e) {
952
982
  };
953
983
  }
954
984
  }
955
- function gn(e) {
985
+ function bn(e) {
956
986
  var t;
957
987
  if (e[0] === "E" && e[1] === "E" ? (t = {
958
988
  notation: "engineering"
@@ -960,17 +990,17 @@ function gn(e) {
960
990
  notation: "scientific"
961
991
  }, e = e.slice(1)), t) {
962
992
  var r = e.slice(0, 2);
963
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
993
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
964
994
  throw new Error("Malformed concise eng/scientific notation");
965
995
  t.minimumIntegerDigits = e.length;
966
996
  }
967
997
  return t;
968
998
  }
969
- function ht(e) {
970
- var t = {}, r = zt(e);
999
+ function lt(e) {
1000
+ var t = {}, r = Vt(e);
971
1001
  return r || t;
972
1002
  }
973
- function pn(e) {
1003
+ function gn(e) {
974
1004
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
975
1005
  var i = n[r];
976
1006
  switch (i.stem) {
@@ -994,7 +1024,7 @@ function pn(e) {
994
1024
  continue;
995
1025
  case "measure-unit":
996
1026
  case "unit":
997
- t.style = "unit", t.unit = dn(i.options[0]);
1027
+ t.style = "unit", t.unit = mn(i.options[0]);
998
1028
  continue;
999
1029
  case "compact-short":
1000
1030
  case "K":
@@ -1005,13 +1035,13 @@ function pn(e) {
1005
1035
  t.notation = "compact", t.compactDisplay = "long";
1006
1036
  continue;
1007
1037
  case "scientific":
1008
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1009
- return H(H({}, l), ht(u));
1038
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1039
+ return S(S({}, l), lt(u));
1010
1040
  }, {}));
1011
1041
  continue;
1012
1042
  case "engineering":
1013
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1014
- return H(H({}, l), ht(u));
1043
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1044
+ return S(S({}, l), lt(u));
1015
1045
  }, {}));
1016
1046
  continue;
1017
1047
  case "notation-simple":
@@ -1056,45 +1086,45 @@ function pn(e) {
1056
1086
  case "integer-width":
1057
1087
  if (i.options.length > 1)
1058
1088
  throw new RangeError("integer-width stems only accept a single optional option");
1059
- i.options[0].replace(bn, function(l, u, h, f, c, x) {
1089
+ i.options[0].replace(dn, function(l, u, h, c, f, v) {
1060
1090
  if (u)
1061
1091
  t.minimumIntegerDigits = h.length;
1062
1092
  else {
1063
- if (f && c)
1093
+ if (c && f)
1064
1094
  throw new Error("We currently do not support maximum integer digits");
1065
- if (x)
1095
+ if (v)
1066
1096
  throw new Error("We currently do not support exact integer digits");
1067
1097
  }
1068
1098
  return "";
1069
1099
  });
1070
1100
  continue;
1071
1101
  }
1072
- if (Vt.test(i.stem)) {
1102
+ if (jt.test(i.stem)) {
1073
1103
  t.minimumIntegerDigits = i.stem.length;
1074
1104
  continue;
1075
1105
  }
1076
- if (ut.test(i.stem)) {
1106
+ if (ot.test(i.stem)) {
1077
1107
  if (i.options.length > 1)
1078
1108
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1079
- i.stem.replace(ut, function(l, u, h, f, c, x) {
1080
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && x ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1109
+ i.stem.replace(ot, function(l, u, h, c, f, v) {
1110
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1081
1111
  });
1082
1112
  var s = i.options[0];
1083
- s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), lt(s)));
1113
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), ut(s)));
1084
1114
  continue;
1085
1115
  }
1086
- if (jt.test(i.stem)) {
1087
- t = H(H({}, t), lt(i.stem));
1116
+ if ($t.test(i.stem)) {
1117
+ t = S(S({}, t), ut(i.stem));
1088
1118
  continue;
1089
1119
  }
1090
- var a = zt(i.stem);
1091
- a && (t = H(H({}, t), a));
1092
- var o = gn(i.stem);
1093
- o && (t = H(H({}, t), o));
1120
+ var a = Vt(i.stem);
1121
+ a && (t = S(S({}, t), a));
1122
+ var o = bn(i.stem);
1123
+ o && (t = S(S({}, t), o));
1094
1124
  }
1095
1125
  return t;
1096
1126
  }
1097
- var _e = {
1127
+ var ye = {
1098
1128
  "001": [
1099
1129
  "H",
1100
1130
  "h"
@@ -2509,13 +2539,13 @@ var _e = {
2509
2539
  "h"
2510
2540
  ]
2511
2541
  };
2512
- function yn(e, t) {
2542
+ function pn(e, t) {
2513
2543
  for (var r = "", n = 0; n < e.length; n++) {
2514
2544
  var i = e.charAt(n);
2515
2545
  if (i === "j") {
2516
2546
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2517
2547
  s++, n++;
2518
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = _n(t);
2548
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = yn(t);
2519
2549
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2520
2550
  r += l;
2521
2551
  for (; a-- > 0; )
@@ -2525,7 +2555,7 @@ function yn(e, t) {
2525
2555
  }
2526
2556
  return r;
2527
2557
  }
2528
- function _n(e) {
2558
+ function yn(e) {
2529
2559
  var t = e.hourCycle;
2530
2560
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2531
2561
  e.hourCycles && // @ts-ignore
@@ -2544,23 +2574,23 @@ function _n(e) {
2544
2574
  }
2545
2575
  var r = e.language, n;
2546
2576
  r !== "root" && (n = e.maximize().region);
2547
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
2577
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2548
2578
  return i[0];
2549
2579
  }
2550
- var Ue, vn = new RegExp("^".concat($t.source, "*")), En = new RegExp("".concat($t.source, "*$"));
2551
- function v(e, t) {
2580
+ var De, _n = new RegExp("^".concat(Gt.source, "*")), xn = new RegExp("".concat(Gt.source, "*$"));
2581
+ function x(e, t) {
2552
2582
  return { start: e, end: t };
2553
2583
  }
2554
- var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Tn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Bn = wn ? Number.isSafeInteger : function(e) {
2584
+ var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, Sn = !!Object.fromEntries, Tn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, wn = Cn ? Number.isSafeInteger : function(e) {
2555
2585
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2556
- }, Xe = !0;
2586
+ }, Je = !0;
2557
2587
  try {
2558
- var In = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2559
- Xe = ((Ue = In.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2588
+ var Bn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2589
+ Je = ((De = Bn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2560
2590
  } catch {
2561
- Xe = !1;
2591
+ Je = !1;
2562
2592
  }
2563
- var ct = xn ? (
2593
+ var ht = En ? (
2564
2594
  // Native
2565
2595
  function(t, r, n) {
2566
2596
  return t.startsWith(r, n);
@@ -2570,7 +2600,7 @@ var ct = xn ? (
2570
2600
  function(t, r, n) {
2571
2601
  return t.slice(n, n + r.length) === r;
2572
2602
  }
2573
- ), Ze = Sn ? String.fromCodePoint : (
2603
+ ), We = vn ? String.fromCodePoint : (
2574
2604
  // IE11
2575
2605
  function() {
2576
2606
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2584,7 +2614,7 @@ var ct = xn ? (
2584
2614
  }
2585
2615
  ), ft = (
2586
2616
  // native
2587
- Tn ? Object.fromEntries : (
2617
+ Sn ? Object.fromEntries : (
2588
2618
  // Ponyfill
2589
2619
  function(t) {
2590
2620
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2594,7 +2624,7 @@ var ct = xn ? (
2594
2624
  return r;
2595
2625
  }
2596
2626
  )
2597
- ), Jt = An ? (
2627
+ ), zt = Tn ? (
2598
2628
  // Native
2599
2629
  function(t, r) {
2600
2630
  return t.codePointAt(r);
@@ -2608,7 +2638,7 @@ var ct = xn ? (
2608
2638
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2609
2639
  }
2610
2640
  }
2611
- ), On = Hn ? (
2641
+ ), In = An ? (
2612
2642
  // Native
2613
2643
  function(t) {
2614
2644
  return t.trimStart();
@@ -2616,9 +2646,9 @@ var ct = xn ? (
2616
2646
  ) : (
2617
2647
  // Ponyfill
2618
2648
  function(t) {
2619
- return t.replace(vn, "");
2649
+ return t.replace(_n, "");
2620
2650
  }
2621
- ), Nn = Cn ? (
2651
+ ), Nn = Hn ? (
2622
2652
  // Native
2623
2653
  function(t) {
2624
2654
  return t.trimEnd();
@@ -2626,32 +2656,32 @@ var ct = xn ? (
2626
2656
  ) : (
2627
2657
  // Ponyfill
2628
2658
  function(t) {
2629
- return t.replace(En, "");
2659
+ return t.replace(xn, "");
2630
2660
  }
2631
2661
  );
2632
- function Wt(e, t) {
2662
+ function Jt(e, t) {
2633
2663
  return new RegExp(e, t);
2634
2664
  }
2635
- var qe;
2636
- if (Xe) {
2637
- var mt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2638
- qe = function(t, r) {
2665
+ var Xe;
2666
+ if (Je) {
2667
+ var ct = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2668
+ Xe = function(t, r) {
2639
2669
  var n;
2640
- mt.lastIndex = r;
2641
- var i = mt.exec(t);
2670
+ ct.lastIndex = r;
2671
+ var i = ct.exec(t);
2642
2672
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2643
2673
  };
2644
2674
  } else
2645
- qe = function(t, r) {
2675
+ Xe = function(t, r) {
2646
2676
  for (var n = []; ; ) {
2647
- var i = Jt(t, r);
2648
- if (i === void 0 || Xt(i) || Rn(i))
2677
+ var i = zt(t, r);
2678
+ if (i === void 0 || Wt(i) || Ln(i))
2649
2679
  break;
2650
2680
  n.push(i), r += i >= 65536 ? 2 : 1;
2651
2681
  }
2652
- return Ze.apply(void 0, n);
2682
+ return We.apply(void 0, n);
2653
2683
  };
2654
- var Pn = (
2684
+ var Mn = (
2655
2685
  /** @class */
2656
2686
  function() {
2657
2687
  function e(t, r) {
@@ -2675,14 +2705,14 @@ var Pn = (
2675
2705
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2676
2706
  var o = this.clonePosition();
2677
2707
  this.bump(), i.push({
2678
- type: A.pound,
2679
- location: v(o, this.clonePosition())
2708
+ type: H.pound,
2709
+ location: x(o, this.clonePosition())
2680
2710
  });
2681
2711
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2682
2712
  if (n)
2683
2713
  break;
2684
- return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2685
- } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2714
+ return this.error(p.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2715
+ } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2686
2716
  var a = this.parseTag(t, r);
2687
2717
  if (a.err)
2688
2718
  return a;
@@ -2703,9 +2733,9 @@ var Pn = (
2703
2733
  if (this.bumpSpace(), this.bumpIf("/>"))
2704
2734
  return {
2705
2735
  val: {
2706
- type: A.literal,
2736
+ type: H.literal,
2707
2737
  value: "<".concat(i, "/>"),
2708
- location: v(n, this.clonePosition())
2738
+ location: x(n, this.clonePosition())
2709
2739
  },
2710
2740
  err: null
2711
2741
  };
@@ -2715,25 +2745,25 @@ var Pn = (
2715
2745
  return s;
2716
2746
  var a = s.val, o = this.clonePosition();
2717
2747
  if (this.bumpIf("</")) {
2718
- if (this.isEOF() || !Qe(this.char()))
2719
- return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2748
+ if (this.isEOF() || !Ze(this.char()))
2749
+ return this.error(p.INVALID_TAG, x(o, this.clonePosition()));
2720
2750
  var l = this.clonePosition(), u = this.parseTagName();
2721
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2751
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2722
2752
  val: {
2723
- type: A.tag,
2753
+ type: H.tag,
2724
2754
  value: i,
2725
2755
  children: a,
2726
- location: v(n, this.clonePosition())
2756
+ location: x(n, this.clonePosition())
2727
2757
  },
2728
2758
  err: null
2729
- } : this.error(p.INVALID_TAG, v(o, this.clonePosition())));
2759
+ } : this.error(p.INVALID_TAG, x(o, this.clonePosition())));
2730
2760
  } else
2731
- return this.error(p.UNCLOSED_TAG, v(n, this.clonePosition()));
2761
+ return this.error(p.UNCLOSED_TAG, x(n, this.clonePosition()));
2732
2762
  } else
2733
- return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2763
+ return this.error(p.INVALID_TAG, x(n, this.clonePosition()));
2734
2764
  }, e.prototype.parseTagName = function() {
2735
2765
  var t = this.offset();
2736
- for (this.bump(); !this.isEOF() && Ln(this.char()); )
2766
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
2737
2767
  this.bump();
2738
2768
  return this.message.slice(t, this.offset());
2739
2769
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2755,14 +2785,14 @@ var Pn = (
2755
2785
  }
2756
2786
  break;
2757
2787
  }
2758
- var l = v(n, this.clonePosition());
2788
+ var l = x(n, this.clonePosition());
2759
2789
  return {
2760
- val: { type: A.literal, value: i, location: l },
2790
+ val: { type: H.literal, value: i, location: l },
2761
2791
  err: null
2762
2792
  };
2763
2793
  }, e.prototype.tryParseLeftAngleBracket = function() {
2764
2794
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2765
- !Mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2795
+ !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2766
2796
  }, e.prototype.tryParseQuote = function(t) {
2767
2797
  if (this.isEOF() || this.char() !== 39)
2768
2798
  return null;
@@ -2796,49 +2826,49 @@ var Pn = (
2796
2826
  r.push(n);
2797
2827
  this.bump();
2798
2828
  }
2799
- return Ze.apply(void 0, r);
2829
+ return We.apply(void 0, r);
2800
2830
  }, e.prototype.tryParseUnquoted = function(t, r) {
2801
2831
  if (this.isEOF())
2802
2832
  return null;
2803
2833
  var n = this.char();
2804
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2834
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2805
2835
  }, e.prototype.parseArgument = function(t, r) {
2806
2836
  var n = this.clonePosition();
2807
2837
  if (this.bump(), this.bumpSpace(), this.isEOF())
2808
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2838
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2809
2839
  if (this.char() === 125)
2810
- return this.bump(), this.error(p.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2840
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2811
2841
  var i = this.parseIdentifierIfPossible().value;
2812
2842
  if (!i)
2813
- return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2843
+ return this.error(p.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2814
2844
  if (this.bumpSpace(), this.isEOF())
2815
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2845
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2816
2846
  switch (this.char()) {
2817
2847
  case 125:
2818
2848
  return this.bump(), {
2819
2849
  val: {
2820
- type: A.argument,
2850
+ type: H.argument,
2821
2851
  // value does not include the opening and closing braces.
2822
2852
  value: i,
2823
- location: v(n, this.clonePosition())
2853
+ location: x(n, this.clonePosition())
2824
2854
  },
2825
2855
  err: null
2826
2856
  };
2827
2857
  case 44:
2828
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2858
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2829
2859
  default:
2830
- return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2860
+ return this.error(p.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2831
2861
  }
2832
2862
  }, e.prototype.parseIdentifierIfPossible = function() {
2833
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2863
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2834
2864
  this.bumpTo(i);
2835
- var s = this.clonePosition(), a = v(t, s);
2865
+ var s = this.clonePosition(), a = x(t, s);
2836
2866
  return { value: n, location: a };
2837
2867
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2838
2868
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2839
2869
  switch (o) {
2840
2870
  case "":
2841
- return this.error(p.EXPECT_ARGUMENT_TYPE, v(a, l));
2871
+ return this.error(p.EXPECT_ARGUMENT_TYPE, x(a, l));
2842
2872
  case "number":
2843
2873
  case "date":
2844
2874
  case "time": {
@@ -2846,47 +2876,47 @@ var Pn = (
2846
2876
  var u = null;
2847
2877
  if (this.bumpIf(",")) {
2848
2878
  this.bumpSpace();
2849
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2850
- if (f.err)
2851
- return f;
2852
- var c = Nn(f.val);
2853
- if (c.length === 0)
2854
- return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2855
- var x = v(h, this.clonePosition());
2856
- u = { style: c, styleLocation: x };
2879
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2880
+ if (c.err)
2881
+ return c;
2882
+ var f = Nn(c.val);
2883
+ if (f.length === 0)
2884
+ return this.error(p.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2885
+ var v = x(h, this.clonePosition());
2886
+ u = { style: f, styleLocation: v };
2857
2887
  }
2858
2888
  var E = this.tryParseArgumentClose(i);
2859
2889
  if (E.err)
2860
2890
  return E;
2861
- var g = v(i, this.clonePosition());
2862
- if (u && ct(u?.style, "::", 0)) {
2863
- var y = On(u.style.slice(2));
2891
+ var g = x(i, this.clonePosition());
2892
+ if (u && ht(u?.style, "::", 0)) {
2893
+ var y = In(u.style.slice(2));
2864
2894
  if (o === "number") {
2865
- var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2866
- return f.err ? f : {
2867
- val: { type: A.number, value: n, location: g, style: f.val },
2895
+ var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
2896
+ return c.err ? c : {
2897
+ val: { type: H.number, value: n, location: g, style: c.val },
2868
2898
  err: null
2869
2899
  };
2870
2900
  } else {
2871
2901
  if (y.length === 0)
2872
2902
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2873
- var S = y;
2874
- this.locale && (S = yn(y, this.locale));
2875
- var c = {
2876
- type: ne.dateTime,
2877
- pattern: S,
2903
+ var T = y;
2904
+ this.locale && (T = pn(y, this.locale));
2905
+ var f = {
2906
+ type: re.dateTime,
2907
+ pattern: T,
2878
2908
  location: u.styleLocation,
2879
- parsedOptions: this.shouldParseSkeletons ? cn(S) : {}
2880
- }, d = o === "date" ? A.date : A.time;
2909
+ parsedOptions: this.shouldParseSkeletons ? hn(T) : {}
2910
+ }, d = o === "date" ? H.date : H.time;
2881
2911
  return {
2882
- val: { type: d, value: n, location: g, style: c },
2912
+ val: { type: d, value: n, location: g, style: f },
2883
2913
  err: null
2884
2914
  };
2885
2915
  }
2886
2916
  }
2887
2917
  return {
2888
2918
  val: {
2889
- type: o === "number" ? A.number : o === "date" ? A.date : A.time,
2919
+ type: o === "number" ? H.number : o === "date" ? H.date : H.time,
2890
2920
  value: n,
2891
2921
  location: g,
2892
2922
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2899,17 +2929,17 @@ var Pn = (
2899
2929
  case "select": {
2900
2930
  var _ = this.clonePosition();
2901
2931
  if (this.bumpSpace(), !this.bumpIf(","))
2902
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Se({}, _)));
2932
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, x(_, S({}, _)));
2903
2933
  this.bumpSpace();
2904
- var B = this.parseIdentifierIfPossible(), M = 0;
2934
+ var B = this.parseIdentifierIfPossible(), P = 0;
2905
2935
  if (o !== "select" && B.value === "offset") {
2906
2936
  if (!this.bumpIf(":"))
2907
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2937
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2908
2938
  this.bumpSpace();
2909
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2910
- if (f.err)
2911
- return f;
2912
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), M = f.val;
2939
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2940
+ if (c.err)
2941
+ return c;
2942
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = c.val;
2913
2943
  }
2914
2944
  var k = this.tryParsePluralOrSelectOptions(t, o, r, B);
2915
2945
  if (k.err)
@@ -2917,10 +2947,10 @@ var Pn = (
2917
2947
  var E = this.tryParseArgumentClose(i);
2918
2948
  if (E.err)
2919
2949
  return E;
2920
- var L = v(i, this.clonePosition());
2950
+ var L = x(i, this.clonePosition());
2921
2951
  return o === "select" ? {
2922
2952
  val: {
2923
- type: A.select,
2953
+ type: H.select,
2924
2954
  value: n,
2925
2955
  options: ft(k.val),
2926
2956
  location: L
@@ -2928,10 +2958,10 @@ var Pn = (
2928
2958
  err: null
2929
2959
  } : {
2930
2960
  val: {
2931
- type: A.plural,
2961
+ type: H.plural,
2932
2962
  value: n,
2933
2963
  options: ft(k.val),
2934
- offset: M,
2964
+ offset: P,
2935
2965
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2936
2966
  location: L
2937
2967
  },
@@ -2939,10 +2969,10 @@ var Pn = (
2939
2969
  };
2940
2970
  }
2941
2971
  default:
2942
- return this.error(p.INVALID_ARGUMENT_TYPE, v(a, l));
2972
+ return this.error(p.INVALID_ARGUMENT_TYPE, x(a, l));
2943
2973
  }
2944
2974
  }, e.prototype.tryParseArgumentClose = function(t) {
2945
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2975
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2946
2976
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2947
2977
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2948
2978
  var n = this.char();
@@ -2951,7 +2981,7 @@ var Pn = (
2951
2981
  this.bump();
2952
2982
  var i = this.clonePosition();
2953
2983
  if (!this.bumpUntil("'"))
2954
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2984
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2955
2985
  this.bump();
2956
2986
  break;
2957
2987
  }
@@ -2981,52 +3011,52 @@ var Pn = (
2981
3011
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2982
3012
  var n = [];
2983
3013
  try {
2984
- n = mn(t);
3014
+ n = cn(t);
2985
3015
  } catch {
2986
3016
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2987
3017
  }
2988
3018
  return {
2989
3019
  val: {
2990
- type: ne.number,
3020
+ type: re.number,
2991
3021
  tokens: n,
2992
3022
  location: r,
2993
- parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
3023
+ parsedOptions: this.shouldParseSkeletons ? gn(n) : {}
2994
3024
  },
2995
3025
  err: null
2996
3026
  };
2997
3027
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2998
3028
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2999
3029
  if (u.length === 0) {
3000
- var f = this.clonePosition();
3030
+ var c = this.clonePosition();
3001
3031
  if (r !== "select" && this.bumpIf("=")) {
3002
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3003
- if (c.err)
3004
- return c;
3005
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3032
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3033
+ if (f.err)
3034
+ return f;
3035
+ h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3006
3036
  } else
3007
3037
  break;
3008
3038
  }
3009
3039
  if (l.has(u))
3010
3040
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3011
3041
  u === "other" && (a = !0), this.bumpSpace();
3012
- var x = this.clonePosition();
3042
+ var v = this.clonePosition();
3013
3043
  if (!this.bumpIf("{"))
3014
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3044
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3015
3045
  var E = this.parseMessage(t + 1, r, n);
3016
3046
  if (E.err)
3017
3047
  return E;
3018
- var g = this.tryParseArgumentClose(x);
3048
+ var g = this.tryParseArgumentClose(v);
3019
3049
  if (g.err)
3020
3050
  return g;
3021
3051
  o.push([
3022
3052
  u,
3023
3053
  {
3024
3054
  value: E.val,
3025
- location: v(x, this.clonePosition())
3055
+ location: x(v, this.clonePosition())
3026
3056
  }
3027
3057
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3028
3058
  }
3029
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3059
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3030
3060
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3031
3061
  var n = 1, i = this.clonePosition();
3032
3062
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3037,8 +3067,8 @@ var Pn = (
3037
3067
  else
3038
3068
  break;
3039
3069
  }
3040
- var l = v(i, this.clonePosition());
3041
- return s ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3070
+ var l = x(i, this.clonePosition());
3071
+ return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3042
3072
  }, e.prototype.offset = function() {
3043
3073
  return this.position.offset;
3044
3074
  }, e.prototype.isEOF = function() {
@@ -3053,7 +3083,7 @@ var Pn = (
3053
3083
  var t = this.position.offset;
3054
3084
  if (t >= this.message.length)
3055
3085
  throw Error("out of bound");
3056
- var r = Jt(this.message, t);
3086
+ var r = zt(this.message, t);
3057
3087
  if (r === void 0)
3058
3088
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3059
3089
  return r;
@@ -3072,7 +3102,7 @@ var Pn = (
3072
3102
  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);
3073
3103
  }
3074
3104
  }, e.prototype.bumpIf = function(t) {
3075
- if (ct(this.message, t, this.offset())) {
3105
+ if (ht(this.message, t, this.offset())) {
3076
3106
  for (var r = 0; r < t.length; r++)
3077
3107
  this.bump();
3078
3108
  return !0;
@@ -3094,7 +3124,7 @@ var Pn = (
3094
3124
  break;
3095
3125
  }
3096
3126
  }, e.prototype.bumpSpace = function() {
3097
- for (; !this.isEOF() && Xt(this.char()); )
3127
+ for (; !this.isEOF() && Wt(this.char()); )
3098
3128
  this.bump();
3099
3129
  }, e.prototype.peek = function() {
3100
3130
  if (this.isEOF())
@@ -3104,47 +3134,47 @@ var Pn = (
3104
3134
  }, e;
3105
3135
  }()
3106
3136
  );
3107
- function Qe(e) {
3137
+ function Ze(e) {
3108
3138
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3109
3139
  }
3110
- function Mn(e) {
3111
- return Qe(e) || e === 47;
3140
+ function On(e) {
3141
+ return Ze(e) || e === 47;
3112
3142
  }
3113
- function Ln(e) {
3143
+ function Pn(e) {
3114
3144
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3115
3145
  }
3116
- function Xt(e) {
3146
+ function Wt(e) {
3117
3147
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3118
3148
  }
3119
- function Rn(e) {
3149
+ function Ln(e) {
3120
3150
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3121
3151
  }
3122
- function Ye(e) {
3152
+ function qe(e) {
3123
3153
  e.forEach(function(t) {
3124
- if (delete t.location, kt(t) || Ut(t))
3154
+ if (delete t.location, Dt(t) || kt(t))
3125
3155
  for (var r in t.options)
3126
- delete t.options[r].location, Ye(t.options[r].value);
3156
+ delete t.options[r].location, qe(t.options[r].value);
3127
3157
  else
3128
- Lt(t) && Gt(t.style) || (Rt(t) || Dt(t)) && We(t.style) ? delete t.style.location : Ft(t) && Ye(t.children);
3158
+ Pt(t) && Ft(t.style) || (Lt(t) || Rt(t)) && ze(t.style) ? delete t.style.location : Ut(t) && qe(t.children);
3129
3159
  });
3130
3160
  }
3131
- function Dn(e, t) {
3132
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3133
- var r = new Pn(e, t).parse();
3161
+ function Rn(e, t) {
3162
+ t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3163
+ var r = new Mn(e, t).parse();
3134
3164
  if (r.err) {
3135
3165
  var n = SyntaxError(p[r.err.kind]);
3136
3166
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3137
3167
  }
3138
- return t?.captureLocation || Ye(r.val), r.val;
3168
+ return t?.captureLocation || qe(r.val), r.val;
3139
3169
  }
3140
- var ie;
3170
+ var ne;
3141
3171
  (function(e) {
3142
3172
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3143
- })(ie || (ie = {}));
3144
- var we = (
3173
+ })(ne || (ne = {}));
3174
+ var He = (
3145
3175
  /** @class */
3146
3176
  function(e) {
3147
- Ce(t, e);
3177
+ Te(t, e);
3148
3178
  function t(r, n, i) {
3149
3179
  var s = e.call(this, r) || this;
3150
3180
  return s.code = n, s.originalMessage = i, s;
@@ -3153,48 +3183,48 @@ var we = (
3153
3183
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3154
3184
  }, t;
3155
3185
  }(Error)
3156
- ), dt = (
3186
+ ), mt = (
3157
3187
  /** @class */
3158
3188
  function(e) {
3159
- Ce(t, e);
3189
+ Te(t, e);
3160
3190
  function t(r, n, i, s) {
3161
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3191
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, s) || this;
3162
3192
  }
3163
3193
  return t;
3164
- }(we)
3165
- ), kn = (
3194
+ }(He)
3195
+ ), Dn = (
3166
3196
  /** @class */
3167
3197
  function(e) {
3168
- Ce(t, e);
3198
+ Te(t, e);
3169
3199
  function t(r, n, i) {
3170
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3200
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
3171
3201
  }
3172
3202
  return t;
3173
- }(we)
3174
- ), Un = (
3203
+ }(He)
3204
+ ), kn = (
3175
3205
  /** @class */
3176
3206
  function(e) {
3177
- Ce(t, e);
3207
+ Te(t, e);
3178
3208
  function t(r, n) {
3179
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3209
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
3180
3210
  }
3181
3211
  return t;
3182
- }(we)
3212
+ }(He)
3183
3213
  ), R;
3184
3214
  (function(e) {
3185
3215
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3186
3216
  })(R || (R = {}));
3187
- function Fn(e) {
3217
+ function Un(e) {
3188
3218
  return e.length < 2 ? e : e.reduce(function(t, r) {
3189
3219
  var n = t[t.length - 1];
3190
3220
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3191
3221
  }, []);
3192
3222
  }
3193
- function Gn(e) {
3223
+ function Fn(e) {
3194
3224
  return typeof e == "function";
3195
3225
  }
3196
- function Ee(e, t, r, n, i, s, a) {
3197
- if (e.length === 1 && ot(e[0]))
3226
+ function xe(e, t, r, n, i, s, a) {
3227
+ if (e.length === 1 && at(e[0]))
3198
3228
  return [
3199
3229
  {
3200
3230
  type: R.literal,
@@ -3203,105 +3233,105 @@ function Ee(e, t, r, n, i, s, a) {
3203
3233
  ];
3204
3234
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3205
3235
  var h = u[l];
3206
- if (ot(h)) {
3236
+ if (at(h)) {
3207
3237
  o.push({
3208
3238
  type: R.literal,
3209
3239
  value: h.value
3210
3240
  });
3211
3241
  continue;
3212
3242
  }
3213
- if (ln(h)) {
3243
+ if (un(h)) {
3214
3244
  typeof s == "number" && o.push({
3215
3245
  type: R.literal,
3216
3246
  value: r.getNumberFormat(t).format(s)
3217
3247
  });
3218
3248
  continue;
3219
3249
  }
3220
- var f = h.value;
3221
- if (!(i && f in i))
3222
- throw new Un(f, a);
3223
- var c = i[f];
3224
- if (un(h)) {
3225
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3226
- type: typeof c == "string" ? R.literal : R.object,
3227
- value: c
3250
+ var c = h.value;
3251
+ if (!(i && c in i))
3252
+ throw new kn(c, a);
3253
+ var f = i[c];
3254
+ if (on(h)) {
3255
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3256
+ type: typeof f == "string" ? R.literal : R.object,
3257
+ value: f
3228
3258
  });
3229
3259
  continue;
3230
3260
  }
3231
- if (Rt(h)) {
3232
- var x = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3261
+ if (Lt(h)) {
3262
+ var v = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3233
3263
  o.push({
3234
3264
  type: R.literal,
3235
- value: r.getDateTimeFormat(t, x).format(c)
3265
+ value: r.getDateTimeFormat(t, v).format(f)
3236
3266
  });
3237
3267
  continue;
3238
3268
  }
3239
- if (Dt(h)) {
3240
- var x = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3269
+ if (Rt(h)) {
3270
+ var v = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3241
3271
  o.push({
3242
3272
  type: R.literal,
3243
- value: r.getDateTimeFormat(t, x).format(c)
3273
+ value: r.getDateTimeFormat(t, v).format(f)
3244
3274
  });
3245
3275
  continue;
3246
3276
  }
3247
- if (Lt(h)) {
3248
- var x = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3249
- x && x.scale && (c = c * (x.scale || 1)), o.push({
3277
+ if (Pt(h)) {
3278
+ var v = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3279
+ v && v.scale && (f = f * (v.scale || 1)), o.push({
3250
3280
  type: R.literal,
3251
- value: r.getNumberFormat(t, x).format(c)
3281
+ value: r.getNumberFormat(t, v).format(f)
3252
3282
  });
3253
3283
  continue;
3254
3284
  }
3255
- if (Ft(h)) {
3285
+ if (Ut(h)) {
3256
3286
  var E = h.children, g = h.value, y = i[g];
3257
- if (!Gn(y))
3258
- throw new kn(g, "function", a);
3259
- var S = Ee(E, t, r, n, i, s), d = y(S.map(function(M) {
3260
- return M.value;
3287
+ if (!Fn(y))
3288
+ throw new Dn(g, "function", a);
3289
+ var T = xe(E, t, r, n, i, s), d = y(T.map(function(P) {
3290
+ return P.value;
3261
3291
  }));
3262
- Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(M) {
3292
+ Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(P) {
3263
3293
  return {
3264
- type: typeof M == "string" ? R.literal : R.object,
3265
- value: M
3294
+ type: typeof P == "string" ? R.literal : R.object,
3295
+ value: P
3266
3296
  };
3267
3297
  }));
3268
3298
  }
3269
- if (kt(h)) {
3270
- var _ = h.options[c] || h.options.other;
3299
+ if (Dt(h)) {
3300
+ var _ = h.options[f] || h.options.other;
3271
3301
  if (!_)
3272
- throw new dt(h.value, c, Object.keys(h.options), a);
3273
- o.push.apply(o, Ee(_.value, t, r, n, i));
3302
+ throw new mt(h.value, f, Object.keys(h.options), a);
3303
+ o.push.apply(o, xe(_.value, t, r, n, i));
3274
3304
  continue;
3275
3305
  }
3276
- if (Ut(h)) {
3277
- var _ = h.options["=".concat(c)];
3306
+ if (kt(h)) {
3307
+ var _ = h.options["=".concat(f)];
3278
3308
  if (!_) {
3279
3309
  if (!Intl.PluralRules)
3280
- throw new we(`Intl.PluralRules is not available in this environment.
3310
+ throw new He(`Intl.PluralRules is not available in this environment.
3281
3311
  Try polyfilling it using "@formatjs/intl-pluralrules"
3282
- `, ie.MISSING_INTL_API, a);
3283
- var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3312
+ `, ne.MISSING_INTL_API, a);
3313
+ var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3284
3314
  _ = h.options[B] || h.options.other;
3285
3315
  }
3286
3316
  if (!_)
3287
- throw new dt(h.value, c, Object.keys(h.options), a);
3288
- o.push.apply(o, Ee(_.value, t, r, n, i, c - (h.offset || 0)));
3317
+ throw new mt(h.value, f, Object.keys(h.options), a);
3318
+ o.push.apply(o, xe(_.value, t, r, n, i, f - (h.offset || 0)));
3289
3319
  continue;
3290
3320
  }
3291
3321
  }
3292
- return Fn(o);
3322
+ return Un(o);
3293
3323
  }
3294
- function $n(e, t) {
3295
- return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3296
- return r[n] = $($({}, e[n]), t[n] || {}), r;
3324
+ function Gn(e, t) {
3325
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3326
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3297
3327
  }, {})) : e;
3298
3328
  }
3299
- function jn(e, t) {
3329
+ function $n(e, t) {
3300
3330
  return t ? Object.keys(e).reduce(function(r, n) {
3301
- return r[n] = $n(e[n], t[n]), r;
3302
- }, $({}, e)) : e;
3331
+ return r[n] = Gn(e[n], t[n]), r;
3332
+ }, S({}, e)) : e;
3303
3333
  }
3304
- function Fe(e) {
3334
+ function ke(e) {
3305
3335
  return {
3306
3336
  create: function() {
3307
3337
  return {
@@ -3315,39 +3345,39 @@ function Fe(e) {
3315
3345
  }
3316
3346
  };
3317
3347
  }
3318
- function Vn(e) {
3348
+ function jn(e) {
3319
3349
  return e === void 0 && (e = {
3320
3350
  number: {},
3321
3351
  dateTime: {},
3322
3352
  pluralRules: {}
3323
3353
  }), {
3324
- getNumberFormat: De(function() {
3354
+ getNumberFormat: Le(function() {
3325
3355
  for (var t, r = [], n = 0; n < arguments.length; n++)
3326
3356
  r[n] = arguments[n];
3327
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3357
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3328
3358
  }, {
3329
- cache: Fe(e.number),
3330
- strategy: ke.variadic
3359
+ cache: ke(e.number),
3360
+ strategy: Re.variadic
3331
3361
  }),
3332
- getDateTimeFormat: De(function() {
3362
+ getDateTimeFormat: Le(function() {
3333
3363
  for (var t, r = [], n = 0; n < arguments.length; n++)
3334
3364
  r[n] = arguments[n];
3335
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3365
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3336
3366
  }, {
3337
- cache: Fe(e.dateTime),
3338
- strategy: ke.variadic
3367
+ cache: ke(e.dateTime),
3368
+ strategy: Re.variadic
3339
3369
  }),
3340
- getPluralRules: De(function() {
3370
+ getPluralRules: Le(function() {
3341
3371
  for (var t, r = [], n = 0; n < arguments.length; n++)
3342
3372
  r[n] = arguments[n];
3343
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3373
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3344
3374
  }, {
3345
- cache: Fe(e.pluralRules),
3346
- strategy: ke.variadic
3375
+ cache: ke(e.pluralRules),
3376
+ strategy: Re.variadic
3347
3377
  })
3348
3378
  };
3349
3379
  }
3350
- var zn = (
3380
+ var Vn = (
3351
3381
  /** @class */
3352
3382
  function() {
3353
3383
  function e(t, r, n, i) {
@@ -3361,12 +3391,12 @@ var zn = (
3361
3391
  var u = s.formatToParts(l);
3362
3392
  if (u.length === 1)
3363
3393
  return u[0].value;
3364
- var h = u.reduce(function(f, c) {
3365
- return !f.length || c.type !== R.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3394
+ var h = u.reduce(function(c, f) {
3395
+ return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3366
3396
  }, []);
3367
3397
  return h.length <= 1 ? h[0] || "" : h;
3368
3398
  }, this.formatToParts = function(l) {
3369
- return Ee(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3399
+ return xe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3370
3400
  }, this.resolvedOptions = function() {
3371
3401
  var l;
3372
3402
  return {
@@ -3379,13 +3409,13 @@ var zn = (
3379
3409
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3380
3410
  var a = i || {};
3381
3411
  a.formatters;
3382
- var o = Kr(a, ["formatters"]);
3383
- this.ast = e.__parse(t, $($({}, o), { locale: this.resolvedLocale }));
3412
+ var o = Lr(a, ["formatters"]);
3413
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3384
3414
  } else
3385
3415
  this.ast = t;
3386
3416
  if (!Array.isArray(this.ast))
3387
3417
  throw new TypeError("A message must be provided as a String or AST.");
3388
- this.formats = jn(e.formats, n), this.formatters = i && i.formatters || Vn(this.formatterCache);
3418
+ this.formats = $n(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3389
3419
  }
3390
3420
  return Object.defineProperty(e, "defaultLocale", {
3391
3421
  get: function() {
@@ -3398,7 +3428,7 @@ var zn = (
3398
3428
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3399
3429
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3400
3430
  }
3401
- }, e.__parse = Dn, e.formats = {
3431
+ }, e.__parse = Rn, e.formats = {
3402
3432
  number: {
3403
3433
  integer: {
3404
3434
  maximumFractionDigits: 0
@@ -3459,7 +3489,7 @@ var zn = (
3459
3489
  }, e;
3460
3490
  }()
3461
3491
  );
3462
- function Jn(e, t) {
3492
+ function zn(e, t) {
3463
3493
  if (t == null)
3464
3494
  return;
3465
3495
  if (t in e)
@@ -3480,92 +3510,92 @@ function Jn(e, t) {
3480
3510
  n = void 0;
3481
3511
  return n;
3482
3512
  }
3483
- const j = {}, Wn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Zt = (e, t) => {
3513
+ const $ = {}, Jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Xt = (e, t) => {
3484
3514
  if (t == null)
3485
3515
  return;
3486
- if (t in j && e in j[t])
3487
- return j[t][e];
3488
- const r = Be(t);
3516
+ if (t in $ && e in $[t])
3517
+ return $[t][e];
3518
+ const r = Ce(t);
3489
3519
  for (let n = 0; n < r.length; n++) {
3490
- const i = r[n], s = Zn(i, e);
3520
+ const i = r[n], s = Xn(i, e);
3491
3521
  if (s)
3492
- return Wn(e, t, s);
3522
+ return Jn(e, t, s);
3493
3523
  }
3494
3524
  };
3495
- let tt;
3496
- const oe = He({});
3497
- function Xn(e) {
3498
- return tt[e] || null;
3525
+ let et;
3526
+ const ae = Ae({});
3527
+ function Wn(e) {
3528
+ return et[e] || null;
3499
3529
  }
3500
- function qt(e) {
3501
- return e in tt;
3530
+ function Zt(e) {
3531
+ return e in et;
3502
3532
  }
3503
- function Zn(e, t) {
3504
- if (!qt(e))
3533
+ function Xn(e, t) {
3534
+ if (!Zt(e))
3505
3535
  return null;
3506
- const r = Xn(e);
3507
- return Jn(r, t);
3536
+ const r = Wn(e);
3537
+ return zn(r, t);
3508
3538
  }
3509
- function qn(e) {
3539
+ function Zn(e) {
3510
3540
  if (e == null)
3511
3541
  return;
3512
- const t = Be(e);
3542
+ const t = Ce(e);
3513
3543
  for (let r = 0; r < t.length; r++) {
3514
3544
  const n = t[r];
3515
- if (qt(n))
3545
+ if (Zt(n))
3516
3546
  return n;
3517
3547
  }
3518
3548
  }
3519
- function Qt(e, ...t) {
3520
- delete j[e], oe.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
3549
+ function qt(e, ...t) {
3550
+ delete $[e], ae.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
3521
3551
  }
3522
- ae(
3523
- [oe],
3552
+ se(
3553
+ [ae],
3524
3554
  ([e]) => Object.keys(e)
3525
3555
  );
3526
- oe.subscribe((e) => tt = e);
3527
- const xe = {};
3528
- function Qn(e, t) {
3529
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3556
+ ae.subscribe((e) => et = e);
3557
+ const Ee = {};
3558
+ function qn(e, t) {
3559
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3530
3560
  }
3531
- function Yt(e) {
3532
- return xe[e];
3561
+ function Qt(e) {
3562
+ return Ee[e];
3533
3563
  }
3534
- function Yn(e) {
3535
- return Be(e).map((t) => {
3536
- const r = Yt(t);
3564
+ function Qn(e) {
3565
+ return Ce(e).map((t) => {
3566
+ const r = Qt(t);
3537
3567
  return [t, r ? [...r] : []];
3538
3568
  }).filter(([, t]) => t.length > 0);
3539
3569
  }
3540
- function Ke(e) {
3541
- return e == null ? !1 : Be(e).some(
3570
+ function Qe(e) {
3571
+ return e == null ? !1 : Ce(e).some(
3542
3572
  (t) => {
3543
3573
  var r;
3544
- return (r = Yt(t)) == null ? void 0 : r.size;
3574
+ return (r = Qt(t)) == null ? void 0 : r.size;
3545
3575
  }
3546
3576
  );
3547
3577
  }
3548
- function Kn(e, t) {
3578
+ function Yn(e, t) {
3549
3579
  return Promise.all(
3550
- t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3551
- ).then((n) => Qt(e, ...n));
3552
- }
3553
- const he = {};
3554
- function Kt(e) {
3555
- if (!Ke(e))
3556
- return e in he ? he[e] : Promise.resolve();
3557
- const t = Yn(e);
3558
- return he[e] = Promise.all(
3580
+ t.map((n) => (qn(e, n), n().then((i) => i.default || i)))
3581
+ ).then((n) => qt(e, ...n));
3582
+ }
3583
+ const le = {};
3584
+ function Yt(e) {
3585
+ if (!Qe(e))
3586
+ return e in le ? le[e] : Promise.resolve();
3587
+ const t = Qn(e);
3588
+ return le[e] = Promise.all(
3559
3589
  t.map(
3560
- ([r, n]) => Kn(r, n)
3590
+ ([r, n]) => Yn(r, n)
3561
3591
  )
3562
3592
  ).then(() => {
3563
- if (Ke(e))
3564
- return Kt(e);
3565
- delete he[e];
3566
- }), he[e];
3593
+ if (Qe(e))
3594
+ return Yt(e);
3595
+ delete le[e];
3596
+ }), le[e];
3567
3597
  }
3568
- const ei = {
3598
+ const Kn = {
3569
3599
  number: {
3570
3600
  scientific: { notation: "scientific" },
3571
3601
  engineering: { notation: "engineering" },
@@ -3594,178 +3624,178 @@ const ei = {
3594
3624
  timeZoneName: "short"
3595
3625
  }
3596
3626
  }
3597
- }, ti = {
3627
+ }, ei = {
3598
3628
  fallbackLocale: null,
3599
3629
  loadingDelay: 200,
3600
- formats: ei,
3630
+ formats: Kn,
3601
3631
  warnOnMissingMessages: !0,
3602
3632
  handleMissingMessage: void 0,
3603
3633
  ignoreTag: !0
3604
- }, ri = ti;
3605
- function se() {
3606
- return ri;
3607
- }
3608
- const Ge = He(!1);
3609
- var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3610
- for (var r in t || (t = {}))
3611
- ai.call(t, r) && gt(e, r, t[r]);
3612
- if (bt)
3613
- for (var r of bt(t))
3614
- oi.call(t, r) && gt(e, r, t[r]);
3634
+ }, ti = ei;
3635
+ function ie() {
3636
+ return ti;
3637
+ }
3638
+ const Ue = Ae(!1);
3639
+ var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3640
+ for (var r in t)
3641
+ si.call(t, r) && bt(e, r, t[r]);
3642
+ if (dt)
3643
+ for (var r of dt(t))
3644
+ ai.call(t, r) && bt(e, r, t[r]);
3615
3645
  return e;
3616
- }, li = (e, t) => ii(e, si(t));
3617
- let et;
3618
- const Te = He(null);
3619
- function pt(e) {
3646
+ }, ui = (e, t) => ni(e, ii(t));
3647
+ let Ye;
3648
+ const ve = Ae(null);
3649
+ function gt(e) {
3620
3650
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3621
3651
  }
3622
- function Be(e, t = se().fallbackLocale) {
3623
- const r = pt(e);
3624
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3652
+ function Ce(e, t = ie().fallbackLocale) {
3653
+ const r = gt(e);
3654
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3625
3655
  }
3626
- function W() {
3627
- return et ?? void 0;
3656
+ function J() {
3657
+ return Ye ?? void 0;
3628
3658
  }
3629
- Te.subscribe((e) => {
3630
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3659
+ ve.subscribe((e) => {
3660
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3631
3661
  });
3632
- const hi = (e) => {
3633
- if (e && qn(e) && Ke(e)) {
3634
- const { loadingDelay: t } = se();
3662
+ const li = (e) => {
3663
+ if (e && Zn(e) && Qe(e)) {
3664
+ const { loadingDelay: t } = ie();
3635
3665
  let r;
3636
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3637
- () => Ge.set(!0),
3666
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3667
+ () => Ue.set(!0),
3638
3668
  t
3639
- ) : Ge.set(!0), Kt(e).then(() => {
3640
- Te.set(e);
3669
+ ) : Ue.set(!0), Yt(e).then(() => {
3670
+ ve.set(e);
3641
3671
  }).finally(() => {
3642
- clearTimeout(r), Ge.set(!1);
3672
+ clearTimeout(r), Ue.set(!1);
3643
3673
  });
3644
3674
  }
3645
- return Te.set(e);
3646
- }, V = li(ui({}, Te), {
3647
- set: hi
3648
- }), Ie = (e) => {
3675
+ return ve.set(e);
3676
+ }, j = ui(oi({}, ve), {
3677
+ set: li
3678
+ }), we = (e) => {
3649
3679
  const t = /* @__PURE__ */ Object.create(null);
3650
3680
  return (n) => {
3651
3681
  const i = JSON.stringify(n);
3652
3682
  return i in t ? t[i] : t[i] = e(n);
3653
3683
  };
3654
3684
  };
3655
- var ci = Object.defineProperty, Ae = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3685
+ var hi = Object.defineProperty, Se = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3656
3686
  for (var r in t || (t = {}))
3657
- er.call(t, r) && yt(e, r, t[r]);
3658
- if (Ae)
3659
- for (var r of Ae(t))
3660
- tr.call(t, r) && yt(e, r, t[r]);
3687
+ Kt.call(t, r) && pt(e, r, t[r]);
3688
+ if (Se)
3689
+ for (var r of Se(t))
3690
+ er.call(t, r) && pt(e, r, t[r]);
3661
3691
  return e;
3662
- }, ue = (e, t) => {
3692
+ }, oe = (e, t) => {
3663
3693
  var r = {};
3664
3694
  for (var n in e)
3665
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3666
- if (e != null && Ae)
3667
- for (var n of Ae(e))
3668
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3695
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3696
+ if (e != null && Se)
3697
+ for (var n of Se(e))
3698
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3669
3699
  return r;
3670
3700
  };
3671
- const de = (e, t) => {
3672
- const { formats: r } = se();
3701
+ const me = (e, t) => {
3702
+ const { formats: r } = ie();
3673
3703
  if (e in r && t in r[e])
3674
3704
  return r[e][t];
3675
3705
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3676
- }, fi = Ie(
3706
+ }, fi = we(
3677
3707
  (e) => {
3678
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3708
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3679
3709
  if (r == null)
3680
3710
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3681
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3711
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3682
3712
  }
3683
- ), mi = Ie(
3713
+ ), ci = we(
3684
3714
  (e) => {
3685
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3715
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3686
3716
  if (r == null)
3687
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3688
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3718
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3689
3719
  }
3690
- ), di = Ie(
3720
+ ), mi = we(
3691
3721
  (e) => {
3692
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3722
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3693
3723
  if (r == null)
3694
3724
  throw new Error(
3695
3725
  '[svelte-i18n] A "locale" must be set to format time values'
3696
3726
  );
3697
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3727
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3698
3728
  }
3699
- ), bi = (e = {}) => {
3729
+ ), di = (e = {}) => {
3700
3730
  var t = e, {
3701
- locale: r = W()
3702
- } = t, n = ue(t, [
3731
+ locale: r = J()
3732
+ } = t, n = oe(t, [
3703
3733
  "locale"
3704
3734
  ]);
3705
- return fi(rt({ locale: r }, n));
3706
- }, gi = (e = {}) => {
3735
+ return fi(tt({ locale: r }, n));
3736
+ }, bi = (e = {}) => {
3707
3737
  var t = e, {
3708
- locale: r = W()
3709
- } = t, n = ue(t, [
3738
+ locale: r = J()
3739
+ } = t, n = oe(t, [
3710
3740
  "locale"
3711
3741
  ]);
3712
- return mi(rt({ locale: r }, n));
3713
- }, pi = (e = {}) => {
3742
+ return ci(tt({ locale: r }, n));
3743
+ }, gi = (e = {}) => {
3714
3744
  var t = e, {
3715
- locale: r = W()
3716
- } = t, n = ue(t, [
3745
+ locale: r = J()
3746
+ } = t, n = oe(t, [
3717
3747
  "locale"
3718
3748
  ]);
3719
- return di(rt({ locale: r }, n));
3720
- }, yi = Ie(
3749
+ return mi(tt({ locale: r }, n));
3750
+ }, pi = we(
3721
3751
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3722
- (e, t = W()) => new zn(e, t, se().formats, {
3723
- ignoreTag: se().ignoreTag
3752
+ (e, t = J()) => new Vn(e, t, ie().formats, {
3753
+ ignoreTag: ie().ignoreTag
3724
3754
  })
3725
- ), _i = (e, t = {}) => {
3755
+ ), yi = (e, t = {}) => {
3726
3756
  var r, n, i, s;
3727
3757
  let a = t;
3728
3758
  typeof e == "object" && (a = e, e = a.id);
3729
3759
  const {
3730
3760
  values: o,
3731
- locale: l = W(),
3761
+ locale: l = J(),
3732
3762
  default: u
3733
3763
  } = a;
3734
3764
  if (l == null)
3735
3765
  throw new Error(
3736
3766
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3737
3767
  );
3738
- let h = Zt(e, l);
3768
+ let h = Xt(e, l);
3739
3769
  if (!h)
3740
- h = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3770
+ h = (s = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3741
3771
  else if (typeof h != "string")
3742
3772
  return console.warn(
3743
3773
  `[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.`
3744
3774
  ), h;
3745
3775
  if (!o)
3746
3776
  return h;
3747
- let f = h;
3777
+ let c = h;
3748
3778
  try {
3749
- f = yi(h, l).format(o);
3750
- } catch (c) {
3751
- c instanceof Error && console.warn(
3779
+ c = pi(h, l).format(o);
3780
+ } catch (f) {
3781
+ f instanceof Error && console.warn(
3752
3782
  `[svelte-i18n] Message "${e}" has syntax error:`,
3753
- c.message
3783
+ f.message
3754
3784
  );
3755
3785
  }
3756
- return f;
3757
- }, vi = (e, t) => pi(t).format(e), Ei = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), Si = (e, t = W()) => Zt(e, t), Ti = ae([V, oe], () => _i);
3758
- ae([V], () => vi);
3759
- ae([V], () => Ei);
3760
- ae([V], () => xi);
3761
- ae([V, oe], () => Si);
3762
- function Ai(e, t) {
3786
+ return c;
3787
+ }, _i = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), Ei = (e, t) => di(t).format(e), vi = (e, t = J()) => Xt(e, t), Si = se([j, ae], () => yi);
3788
+ se([j], () => _i);
3789
+ se([j], () => xi);
3790
+ se([j], () => Ei);
3791
+ se([j, ae], () => vi);
3792
+ function Ti(e, t) {
3763
3793
  if (e) {
3764
3794
  const r = document.createElement("style");
3765
3795
  r.innerHTML = t, e.appendChild(r);
3766
3796
  }
3767
3797
  }
3768
- function Hi(e, t) {
3798
+ function Ai(e, t) {
3769
3799
  const r = new URL(t);
3770
3800
  fetch(r.href).then((n) => n.text()).then((n) => {
3771
3801
  const i = document.createElement("style");
@@ -3774,7 +3804,7 @@ function Hi(e, t) {
3774
3804
  console.error("There was an error while trying to load client styling from URL", n);
3775
3805
  });
3776
3806
  }
3777
- function Ci(e, t, r) {
3807
+ function Hi(e, t, r) {
3778
3808
  if (window.emMessageBus) {
3779
3809
  const n = document.createElement("style");
3780
3810
  window.emMessageBus.subscribe(t, (i) => {
@@ -3782,18 +3812,18 @@ function Ci(e, t, r) {
3782
3812
  });
3783
3813
  }
3784
3814
  }
3785
- function wi({ withLocale: e, translations: t }) {
3786
- V.subscribe((r) => {
3787
- r == null && (oe.set(t), V.set(e));
3815
+ function Ci({ withLocale: e, translations: t }) {
3816
+ j.subscribe((r) => {
3817
+ r == null && (ae.set(t), j.set(e));
3788
3818
  });
3789
3819
  }
3790
- function _t(e, t) {
3791
- Qt(e, t);
3820
+ function yt(e, t) {
3821
+ qt(e, t);
3792
3822
  }
3793
- function Bi(e) {
3794
- V.set(e);
3823
+ function wi(e) {
3824
+ j.set(e);
3795
3825
  }
3796
- const vt = {
3826
+ const _t = {
3797
3827
  en: {
3798
3828
  enrolled: "Enrolled",
3799
3829
  scoreCriteria: "Score Criteria",
@@ -4125,53 +4155,53 @@ const vt = {
4125
4155
  December: "December"
4126
4156
  }
4127
4157
  };
4128
- function Ii(e) {
4129
- dr(e, "svelte-52u9sp", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4158
+ function Bi(e) {
4159
+ mr(e, "svelte-52u9sp", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4130
4160
  }
4131
- function Et(e) {
4161
+ function xt(e) {
4132
4162
  let t, r, n;
4133
4163
  return {
4134
4164
  c() {
4135
4165
  t = w("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = G(), n = w("div"), n.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', b(t, "class", "Skeleton CardImg"), b(n, "class", "Details"), b(n, "part", "Details");
4136
4166
  },
4137
4167
  m(i, s) {
4138
- P(i, t, s), P(i, r, s), P(i, n, s);
4168
+ O(i, t, s), O(i, r, s), O(i, n, s);
4139
4169
  },
4140
4170
  d(i) {
4141
4171
  i && (I(t), I(r), I(n));
4142
4172
  }
4143
4173
  };
4144
4174
  }
4145
- function xt(e) {
4146
- let t, r, n, i, s, a, o, l, u, h, f = (
4175
+ function Et(e) {
4176
+ let t, r, n, i, s, a, o, l, u, h, c = (
4147
4177
  /*status*/
4148
- e[0] && St(e)
4149
- ), c = (
4178
+ e[0] && vt(e)
4179
+ ), f = (
4150
4180
  /*showenrolled*/
4151
- e[6] == "true" && Tt(e)
4181
+ e[6] == "true" && St(e)
4152
4182
  );
4153
- function x(d, _) {
4183
+ function v(d, _) {
4154
4184
  return (
4155
4185
  /*thumbnail*/
4156
- d[3] ? Ni : Oi
4186
+ d[3] ? Ni : Ii
4157
4187
  );
4158
4188
  }
4159
- let E = x(e), g = E(e), y = (
4189
+ let E = v(e), g = E(e), y = (
4160
4190
  /*startdate*/
4161
- e[2] && Ht(e)
4162
- ), S = (
4191
+ e[2] && At(e)
4192
+ ), T = (
4163
4193
  /*isLoggedIn*/
4164
- e[11] && Ct(e)
4194
+ e[11] && Ht(e)
4165
4195
  );
4166
4196
  return {
4167
4197
  c() {
4168
- f && f.c(), t = G(), c && c.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), a = D(
4198
+ c && c.c(), t = G(), f && f.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), a = D(
4169
4199
  /*title*/
4170
4200
  e[1]
4171
- ), o = G(), y && y.c(), l = G(), S && S.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4201
+ ), o = G(), y && y.c(), l = G(), T && T.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4172
4202
  },
4173
4203
  m(d, _) {
4174
- f && f.m(d, _), P(d, t, _), c && c.m(d, _), P(d, r, _), g.m(d, _), P(d, n, _), P(d, i, _), T(i, s), T(s, a), T(i, o), y && y.m(i, null), T(i, l), S && S.m(i, null), u || (h = te(
4204
+ c && c.m(d, _), O(d, t, _), f && f.m(d, _), O(d, r, _), g.m(d, _), O(d, n, _), O(d, i, _), A(i, s), A(s, a), A(i, o), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = ee(
4175
4205
  s,
4176
4206
  "click",
4177
4207
  /*detailsAction*/
@@ -4180,22 +4210,22 @@ function xt(e) {
4180
4210
  },
4181
4211
  p(d, _) {
4182
4212
  /*status*/
4183
- d[0] ? f ? f.p(d, _) : (f = St(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4184
- d[6] == "true" ? c ? c.p(d, _) : (c = Tt(d), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null), E === (E = x(d)) && g ? g.p(d, _) : (g.d(1), g = E(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4213
+ d[0] ? c ? c.p(d, _) : (c = vt(d), c.c(), c.m(t.parentNode, t)) : c && (c.d(1), c = null), /*showenrolled*/
4214
+ d[6] == "true" ? f ? f.p(d, _) : (f = St(d), f.c(), f.m(r.parentNode, r)) : f && (f.d(1), f = null), E === (E = v(d)) && g ? g.p(d, _) : (g.d(1), g = E(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4185
4215
  2 && F(
4186
4216
  a,
4187
4217
  /*title*/
4188
4218
  d[1]
4189
4219
  ), /*startdate*/
4190
- d[2] ? y ? y.p(d, _) : (y = Ht(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4191
- d[11] ? S ? S.p(d, _) : (S = Ct(d), S.c(), S.m(i, null)) : S && (S.d(1), S = null);
4220
+ d[2] ? y ? y.p(d, _) : (y = At(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4221
+ d[11] ? T ? T.p(d, _) : (T = Ht(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4192
4222
  },
4193
4223
  d(d) {
4194
- d && (I(t), I(r), I(n), I(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), S && S.d(), u = !1, h();
4224
+ d && (I(t), I(r), I(n), I(i)), c && c.d(d), f && f.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4195
4225
  }
4196
4226
  };
4197
4227
  }
4198
- function St(e) {
4228
+ function vt(e) {
4199
4229
  let t, r, n, i, s, a;
4200
4230
  return {
4201
4231
  c() {
@@ -4207,7 +4237,7 @@ function St(e) {
4207
4237
  e[14]);
4208
4238
  },
4209
4239
  m(o, l) {
4210
- P(o, t, l), T(t, r), s || (a = ge(
4240
+ O(o, t, l), A(t, r), s || (a = be(
4211
4241
  /*matchStatus*/
4212
4242
  e[17].call(null, t)
4213
4243
  ), s = !0);
@@ -4229,28 +4259,28 @@ function St(e) {
4229
4259
  }
4230
4260
  };
4231
4261
  }
4232
- function Tt(e) {
4262
+ function St(e) {
4233
4263
  let t, r = (
4234
4264
  /*userenrolled*/
4235
- e[4] && At(e)
4265
+ e[4] && Tt(e)
4236
4266
  );
4237
4267
  return {
4238
4268
  c() {
4239
- r && r.c(), t = pr();
4269
+ r && r.c(), t = gr();
4240
4270
  },
4241
4271
  m(n, i) {
4242
- r && r.m(n, i), P(n, t, i);
4272
+ r && r.m(n, i), O(n, t, i);
4243
4273
  },
4244
4274
  p(n, i) {
4245
4275
  /*userenrolled*/
4246
- n[4] ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4276
+ n[4] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4247
4277
  },
4248
4278
  d(n) {
4249
4279
  n && I(t), r && r.d(n);
4250
4280
  }
4251
4281
  };
4252
4282
  }
4253
- function At(e) {
4283
+ function Tt(e) {
4254
4284
  let t, r = (
4255
4285
  /*$_*/
4256
4286
  e[15]("enrolled") + ""
@@ -4260,7 +4290,7 @@ function At(e) {
4260
4290
  t = w("div"), n = D(r), b(t, "class", "Enrolled"), b(t, "part", "Enrolled");
4261
4291
  },
4262
4292
  m(i, s) {
4263
- P(i, t, s), T(t, n);
4293
+ O(i, t, s), A(t, n);
4264
4294
  },
4265
4295
  p(i, s) {
4266
4296
  s[0] & /*$_*/
@@ -4272,23 +4302,23 @@ function At(e) {
4272
4302
  }
4273
4303
  };
4274
4304
  }
4275
- function Oi(e) {
4305
+ function Ii(e) {
4276
4306
  let t, r, n, i, s, a, o;
4277
4307
  return {
4278
4308
  c() {
4279
- t = w("div"), r = w("ui-image"), $e(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4309
+ t = w("div"), r = w("ui-image"), Fe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4280
4310
  (e[0] == "Closing" || /*status*/
4281
4311
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4282
4312
  (e[0] == "Closing" || /*status*/
4283
4313
  e[0] == "Closed" ? "CardImgFinished" : ""));
4284
4314
  },
4285
4315
  m(l, u) {
4286
- P(l, t, u), T(t, r), a || (o = [
4287
- ge(
4316
+ O(l, t, u), A(t, r), a || (o = [
4317
+ be(
4288
4318
  /*matchStatus*/
4289
4319
  e[17].call(null, t)
4290
4320
  ),
4291
- te(
4321
+ ee(
4292
4322
  t,
4293
4323
  "click",
4294
4324
  /*detailsAction*/
@@ -4306,7 +4336,7 @@ function Oi(e) {
4306
4336
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4307
4337
  },
4308
4338
  d(l) {
4309
- l && I(t), a = !1, z(o);
4339
+ l && I(t), a = !1, V(o);
4310
4340
  }
4311
4341
  };
4312
4342
  }
@@ -4314,20 +4344,20 @@ function Ni(e) {
4314
4344
  let t, r, n, i, s, a, o;
4315
4345
  return {
4316
4346
  c() {
4317
- t = w("div"), r = w("ui-image"), K(r, "class", "UIImage"), $e(r.src, n = /*thumbnail*/
4318
- e[3]) || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4347
+ t = w("div"), r = w("ui-image"), Y(r, "class", "UIImage"), Fe(r.src, n = /*thumbnail*/
4348
+ e[3]) || Y(r, "src", n), Y(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4319
4349
  (e[0] == "Closing" || /*status*/
4320
4350
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4321
4351
  (e[0] == "Closing" || /*status*/
4322
4352
  e[0] == "Closed" ? "CardImgFinished" : ""));
4323
4353
  },
4324
4354
  m(l, u) {
4325
- P(l, t, u), T(t, r), a || (o = [
4326
- ge(
4355
+ O(l, t, u), A(t, r), a || (o = [
4356
+ be(
4327
4357
  /*matchStatus*/
4328
4358
  e[17].call(null, t)
4329
4359
  ),
4330
- te(
4360
+ ee(
4331
4361
  t,
4332
4362
  "click",
4333
4363
  /*detailsAction*/
@@ -4337,8 +4367,8 @@ function Ni(e) {
4337
4367
  },
4338
4368
  p(l, u) {
4339
4369
  u[0] & /*thumbnail*/
4340
- 8 && !$e(r.src, n = /*thumbnail*/
4341
- l[3]) && K(r, "src", n), u[0] & /*status*/
4370
+ 8 && !Fe(r.src, n = /*thumbnail*/
4371
+ l[3]) && Y(r, "src", n), u[0] & /*status*/
4342
4372
  1 && i !== (i = "CardImg " + /*status*/
4343
4373
  (l[0] == "Closing" || /*status*/
4344
4374
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
@@ -4347,11 +4377,11 @@ function Ni(e) {
4347
4377
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4348
4378
  },
4349
4379
  d(l) {
4350
- l && I(t), a = !1, z(o);
4380
+ l && I(t), a = !1, V(o);
4351
4381
  }
4352
4382
  };
4353
4383
  }
4354
- function Ht(e) {
4384
+ function At(e) {
4355
4385
  let t, r, n, i, s;
4356
4386
  return {
4357
4387
  c() {
@@ -4361,7 +4391,7 @@ function Ht(e) {
4361
4391
  ), b(t, "class", "Date"), b(t, "part", "Date");
4362
4392
  },
4363
4393
  m(a, o) {
4364
- P(a, t, o), T(t, r), i || (s = ge(n = /*formatDate*/
4394
+ O(a, t, o), A(t, r), i || (s = be(n = /*formatDate*/
4365
4395
  e[16].call(
4366
4396
  null,
4367
4397
  t,
@@ -4375,7 +4405,7 @@ function Ht(e) {
4375
4405
  r,
4376
4406
  /*shownDate*/
4377
4407
  a[10]
4378
- ), n && be(n.update) && o[0] & /*startdate*/
4408
+ ), n && de(n.update) && o[0] & /*startdate*/
4379
4409
  4 && n.update.call(
4380
4410
  null,
4381
4411
  /*startdate*/
@@ -4387,20 +4417,20 @@ function Ht(e) {
4387
4417
  }
4388
4418
  };
4389
4419
  }
4390
- function Ct(e) {
4420
+ function Ht(e) {
4391
4421
  let t, r, n = (
4392
4422
  /*$_*/
4393
4423
  e[15]("scoreCriteria") + ""
4394
4424
  ), i, s, a, o, l, u = (
4395
4425
  /*$_*/
4396
4426
  e[15]("minbet") + ""
4397
- ), h, f, c, x, E, g, y, S = (
4427
+ ), h, c, f, v, E, g, y, T = (
4398
4428
  /*$_*/
4399
4429
  e[15]("seegames") + ""
4400
- ), d, _, B, M = (
4430
+ ), d, _, B, P = (
4401
4431
  /*$_*/
4402
4432
  e[15]("here") + ""
4403
- ), k, L, X, J;
4433
+ ), k, L, W, z;
4404
4434
  return {
4405
4435
  c() {
4406
4436
  t = w("div"), r = w("p"), i = D(n), s = D(`:
@@ -4409,10 +4439,10 @@ function Ct(e) {
4409
4439
  /*showScoreCriteria*/
4410
4440
  e[13]
4411
4441
  ), l = D(`
4412
- (`), h = D(u), f = G(), c = D(
4442
+ (`), h = D(u), c = G(), f = D(
4413
4443
  /*minbetcount*/
4414
4444
  e[5]
4415
- ), x = D(")"), E = G(), g = w("div"), y = w("p"), d = D(S), _ = G(), B = w("a"), k = D(M), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4445
+ ), v = D(")"), E = G(), g = w("div"), y = w("p"), d = D(T), _ = G(), B = w("a"), k = D(P), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4416
4446
  B,
4417
4447
  "href",
4418
4448
  /*gameurl*/
@@ -4420,61 +4450,61 @@ function Ct(e) {
4420
4450
  ), b(B, "target", L = /*keepbrowsercontext*/
4421
4451
  e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4422
4452
  },
4423
- m(O, N) {
4424
- P(O, t, N), T(t, r), T(r, i), T(r, s), T(r, a), T(a, o), T(r, l), T(r, h), T(r, f), T(r, c), T(r, x), P(O, E, N), P(O, g, N), T(g, y), T(y, d), T(y, _), T(y, B), T(B, k), X || (J = [
4425
- ge(
4453
+ m(N, M) {
4454
+ O(N, t, M), A(t, r), A(r, i), A(r, s), A(r, a), A(a, o), A(r, l), A(r, h), A(r, c), A(r, f), A(r, v), O(N, E, M), O(N, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), W || (z = [
4455
+ be(
4426
4456
  /*matchScoreCriteria*/
4427
4457
  e[18].call(null, a)
4428
4458
  ),
4429
- te(
4459
+ ee(
4430
4460
  B,
4431
4461
  "click",
4432
4462
  /*tournamentGamesClicked*/
4433
4463
  e[19]
4434
4464
  )
4435
- ], X = !0);
4465
+ ], W = !0);
4436
4466
  },
4437
- p(O, N) {
4438
- N[0] & /*$_*/
4467
+ p(N, M) {
4468
+ M[0] & /*$_*/
4439
4469
  32768 && n !== (n = /*$_*/
4440
- O[15]("scoreCriteria") + "") && F(i, n), N[0] & /*showScoreCriteria*/
4470
+ N[15]("scoreCriteria") + "") && F(i, n), M[0] & /*showScoreCriteria*/
4441
4471
  8192 && F(
4442
4472
  o,
4443
4473
  /*showScoreCriteria*/
4444
- O[13]
4445
- ), N[0] & /*$_*/
4474
+ N[13]
4475
+ ), M[0] & /*$_*/
4446
4476
  32768 && u !== (u = /*$_*/
4447
- O[15]("minbet") + "") && F(h, u), N[0] & /*minbetcount*/
4477
+ N[15]("minbet") + "") && F(h, u), M[0] & /*minbetcount*/
4448
4478
  32 && F(
4449
- c,
4479
+ f,
4450
4480
  /*minbetcount*/
4451
- O[5]
4452
- ), N[0] & /*$_*/
4453
- 32768 && S !== (S = /*$_*/
4454
- O[15]("seegames") + "") && F(d, S), N[0] & /*$_*/
4455
- 32768 && M !== (M = /*$_*/
4456
- O[15]("here") + "") && F(k, M), N[0] & /*gameurl*/
4481
+ N[5]
4482
+ ), M[0] & /*$_*/
4483
+ 32768 && T !== (T = /*$_*/
4484
+ N[15]("seegames") + "") && F(d, T), M[0] & /*$_*/
4485
+ 32768 && P !== (P = /*$_*/
4486
+ N[15]("here") + "") && F(k, P), M[0] & /*gameurl*/
4457
4487
  128 && b(
4458
4488
  B,
4459
4489
  "href",
4460
4490
  /*gameurl*/
4461
- O[7]
4462
- ), N[0] & /*keepbrowsercontext*/
4491
+ N[7]
4492
+ ), M[0] & /*keepbrowsercontext*/
4463
4493
  256 && L !== (L = /*keepbrowsercontext*/
4464
- O[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4494
+ N[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4465
4495
  },
4466
- d(O) {
4467
- O && (I(t), I(E), I(g)), X = !1, z(J);
4496
+ d(N) {
4497
+ N && (I(t), I(E), I(g)), W = !1, V(z);
4468
4498
  }
4469
4499
  };
4470
4500
  }
4471
- function Pi(e) {
4501
+ function Mi(e) {
4472
4502
  let t, r, n, i = (
4473
4503
  /*title*/
4474
- e[1] === "undefined" && Et()
4504
+ e[1] === "undefined" && xt()
4475
4505
  ), s = (
4476
4506
  /*title*/
4477
- e[1] !== "undefined" && xt(e)
4507
+ e[1] !== "undefined" && Et(e)
4478
4508
  );
4479
4509
  return {
4480
4510
  c() {
@@ -4482,12 +4512,12 @@ function Pi(e) {
4482
4512
  e[1] === "undefined" ? "Loading" : ""}`), b(t, "part", "Thumbnail");
4483
4513
  },
4484
4514
  m(a, o) {
4485
- P(a, t, o), i && i.m(t, null), T(t, r), s && s.m(t, null), e[31](t);
4515
+ O(a, t, o), i && i.m(t, null), A(t, r), s && s.m(t, null), e[31](t);
4486
4516
  },
4487
4517
  p(a, o) {
4488
4518
  /*title*/
4489
- a[1] === "undefined" ? i || (i = Et(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4490
- a[1] !== "undefined" ? s ? s.p(a, o) : (s = xt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4519
+ a[1] === "undefined" ? i || (i = xt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4520
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = Et(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4491
4521
  2 && n !== (n = `Thumbnail ${/*title*/
4492
4522
  a[1] === "undefined" ? "Loading" : ""}`) && b(t, "class", n);
4493
4523
  },
@@ -4498,41 +4528,41 @@ function Pi(e) {
4498
4528
  }
4499
4529
  };
4500
4530
  }
4501
- function Mi(e, t, r) {
4531
+ function Oi(e, t, r) {
4502
4532
  let n;
4503
- mr(e, Ti, (m) => r(15, n = m));
4504
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: x = "" } = t, { showenrolled: E = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: S = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: M = "" } = t, { mbsource: k } = t, L, X = "", J = !1, O = "", N = "", le = "";
4505
- wi({ withLocale: "en", translations: {} });
4506
- const nr = () => {
4507
- fetch(M).then((m) => m.json()).then((m) => {
4508
- Object.keys(m).forEach((Z) => {
4509
- _t(Z, m[Z]);
4533
+ cr(e, Si, (m) => r(15, n = m));
4534
+ 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: v = "" } = t, { showenrolled: E = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: T = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: P = "" } = t, { mbsource: k } = t, L, W = "", z = !1, N = "", M = "", ue = "";
4535
+ Ci({ withLocale: "en", translations: {} });
4536
+ const rr = () => {
4537
+ fetch(P).then((m) => m.json()).then((m) => {
4538
+ Object.keys(m).forEach((X) => {
4539
+ yt(X, m[X]);
4510
4540
  }), o && Me();
4511
4541
  }).catch((m) => {
4512
4542
  console.log(m);
4513
4543
  });
4514
4544
  };
4515
- Object.keys(vt).forEach((m) => {
4516
- _t(m, vt[m]);
4545
+ Object.keys(_t).forEach((m) => {
4546
+ yt(m, _t[m]);
4517
4547
  });
4518
- const nt = (m) => {
4519
- m.data && (m.data && m.data.type == "SessionID" && r(11, J = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4520
- }, Oe = () => {
4548
+ const rt = (m) => {
4549
+ m.data && (m.data && m.data.type == "SessionID" && r(11, z = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4550
+ }, Be = () => {
4521
4551
  const m = { month: "long" };
4522
- let Z = new Date(o), ur = new Intl.DateTimeFormat("en", m).format(Z), lr = Z.getDate(), hr = Z.toLocaleString("en-GB", {
4552
+ let X = new Date(o), or = new Intl.DateTimeFormat("en", m).format(X), ur = X.getDate(), lr = X.toLocaleString("en-GB", {
4523
4553
  hour: "numeric",
4524
4554
  minute: "numeric",
4525
4555
  hour12: !1
4526
4556
  });
4527
- const cr = () => n(l === "Running" ? "startedAt" : "startingAt");
4528
- r(10, X = `${lr} ` + n(`${ur}`) + ", " + cr() + ` ${hr}`);
4557
+ const hr = () => n(l === "Running" ? "startedAt" : "startingAt");
4558
+ r(10, W = `${ur} ` + n(`${or}`) + ", " + hr() + ` ${lr}`);
4559
+ }, Ie = () => {
4560
+ l == "Unstarted" && (r(12, N = n("scheduled")), r(14, ue = "StatusUnstarted")), l == "Running" && (r(12, N = n("ongoing")), r(14, ue = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, N = n("finished")), l == "Closed" && r(14, ue = "StatusClosed"), l == "Closing" && r(14, ue = "StatusClosing");
4529
4561
  }, Ne = () => {
4530
- l == "Unstarted" && (r(12, O = n("scheduled")), r(14, le = "StatusUnstarted")), l == "Running" && (r(12, O = n("ongoing")), r(14, le = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, O = n("finished")), l == "Closed" && r(14, le = "StatusClosed"), l == "Closing" && r(14, le = "StatusClosing");
4531
- }, Pe = () => {
4532
- c == "BetCount" && r(13, N = n("betCount")), c == "MaxWinStakeRatio" && r(13, N = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, N = n("winStakeRatio")), c == "Stake" && r(13, N = n("stake"));
4533
- }, ir = () => {
4562
+ f == "BetCount" && r(13, M = n("betCount")), f == "MaxWinStakeRatio" && r(13, M = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(13, M = n("winStakeRatio")), f == "Stake" && r(13, M = n("stake"));
4563
+ }, nr = () => {
4534
4564
  window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4535
- }, sr = () => {
4565
+ }, ir = () => {
4536
4566
  g && window.postMessage(
4537
4567
  {
4538
4568
  type: g,
@@ -4541,76 +4571,76 @@ function Mi(e, t, r) {
4541
4571
  },
4542
4572
  window.location.href
4543
4573
  );
4544
- }, ar = () => {
4545
- i.length > 0 && i != "false" ? r(11, J = !0) : r(11, J = !1);
4574
+ }, sr = () => {
4575
+ i.length > 0 && i != "false" ? r(11, z = !0) : r(11, z = !1);
4546
4576
  };
4547
- xr(() => (setTimeout(() => Me(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4548
- window.removeEventListener("message", nt);
4577
+ Er(() => (setTimeout(() => Me(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4578
+ window.removeEventListener("message", rt);
4549
4579
  }));
4550
4580
  const Me = () => {
4551
- Bi(S), Pe(), Ne(), o && Oe();
4581
+ wi(T), Ne(), Ie(), o && Be();
4552
4582
  };
4553
- function or(m) {
4554
- je[m ? "unshift" : "push"](() => {
4583
+ function ar(m) {
4584
+ Ge[m ? "unshift" : "push"](() => {
4555
4585
  L = m, r(9, L);
4556
4586
  });
4557
4587
  }
4558
4588
  return e.$$set = (m) => {
4559
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(24, c = m.scorecriteria), "minbetcount" in m && r(5, x = m.minbetcount), "showenrolled" in m && r(6, E = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, S = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, M = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4589
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, c = m.userenrolled), "scorecriteria" in m && r(24, f = m.scorecriteria), "minbetcount" in m && r(5, v = m.minbetcount), "showenrolled" in m && r(6, E = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, T = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, P = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4560
4590
  }, e.$$.update = () => {
4561
4591
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4562
- 134218240 && _ && L && Ai(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4563
- 268435968 && B && L && Hi(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4564
- 1073742336 && k && L && Ci(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4565
- 536870912 && M && nr(), e.$$.dirty[0] & /*session*/
4566
- 2097152 && i && ar(), e.$$.dirty[0] & /*status*/
4567
- 1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4568
- 67108866 && a && S && Me(), e.$$.dirty[0] & /*startdate*/
4569
- 4 && o && Oe(), e.$$.dirty[0] & /*scorecriteria*/
4570
- 16777216 && c && Pe();
4592
+ 134218240 && _ && L && Ti(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4593
+ 268435968 && B && L && Ai(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4594
+ 1073742336 && k && L && Hi(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4595
+ 536870912 && P && rr(), e.$$.dirty[0] & /*session*/
4596
+ 2097152 && i && sr(), e.$$.dirty[0] & /*status*/
4597
+ 1 && l && Ie(), e.$$.dirty[0] & /*title, lang*/
4598
+ 67108866 && a && T && Me(), e.$$.dirty[0] & /*startdate*/
4599
+ 4 && o && Be(), e.$$.dirty[0] & /*scorecriteria*/
4600
+ 16777216 && f && Ne();
4571
4601
  }, [
4572
4602
  l,
4573
4603
  a,
4574
4604
  o,
4575
4605
  h,
4576
- f,
4577
- x,
4606
+ c,
4607
+ v,
4578
4608
  E,
4579
4609
  y,
4580
4610
  d,
4581
4611
  L,
4582
- X,
4583
- J,
4584
- O,
4612
+ W,
4613
+ z,
4585
4614
  N,
4586
- le,
4615
+ M,
4616
+ ue,
4587
4617
  n,
4588
- Oe,
4618
+ Be,
4619
+ Ie,
4589
4620
  Ne,
4590
- Pe,
4621
+ nr,
4591
4622
  ir,
4592
- sr,
4593
4623
  i,
4594
4624
  s,
4595
4625
  u,
4596
- c,
4626
+ f,
4597
4627
  g,
4598
- S,
4628
+ T,
4599
4629
  _,
4600
4630
  B,
4601
- M,
4631
+ P,
4602
4632
  k,
4603
- or
4633
+ ar
4604
4634
  ];
4605
4635
  }
4606
- class rr extends Mr {
4636
+ class tr extends Or {
4607
4637
  constructor(t) {
4608
4638
  super(), Nr(
4609
4639
  this,
4610
4640
  t,
4641
+ Oi,
4611
4642
  Mi,
4612
- Pi,
4613
- Bt,
4643
+ wt,
4614
4644
  {
4615
4645
  session: 21,
4616
4646
  userid: 22,
@@ -4632,7 +4662,7 @@ class rr extends Mr {
4632
4662
  translationurl: 29,
4633
4663
  mbsource: 30
4634
4664
  },
4635
- Ii,
4665
+ Bi,
4636
4666
  [-1, -1]
4637
4667
  );
4638
4668
  }
@@ -4751,50 +4781,54 @@ class rr extends Mr {
4751
4781
  this.$$set({ mbsource: t }), C();
4752
4782
  }
4753
4783
  }
4754
- Pr(rr, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4755
- const ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4784
+ Mr(tr, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4785
+ const Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4756
4786
  __proto__: null,
4757
- default: rr
4787
+ default: tr
4758
4788
  }, Symbol.toStringTag, { value: "Module" }));
4759
4789
  export {
4760
- V as $,
4761
- Ti as A,
4762
- Ai as B,
4763
- Hi as C,
4764
- Ci as D,
4765
- Ui as E,
4766
- $i as F,
4790
+ j as $,
4791
+ de as A,
4792
+ D as B,
4793
+ F as C,
4794
+ Si as D,
4795
+ ee as E,
4796
+ V as F,
4767
4797
  Di as G,
4768
- Gi as H,
4769
- Fi as I,
4770
- ze as J,
4771
- $e as K,
4772
- ji as L,
4773
- Mr as S,
4774
- oe as a,
4775
- Qt as b,
4776
- Pr as c,
4777
- dr as d,
4778
- I as e,
4779
- C as f,
4780
- K as g,
4781
- b as h,
4798
+ ki as H,
4799
+ Gi as I,
4800
+ Fi as J,
4801
+ je as K,
4802
+ Ui as L,
4803
+ Ri as M,
4804
+ Fe as N,
4805
+ Vi as O,
4806
+ Or as S,
4807
+ $i as _,
4808
+ Pe as a,
4809
+ ji as b,
4810
+ Te as c,
4811
+ ae as d,
4812
+ qt as e,
4813
+ Mr as f,
4814
+ C as g,
4815
+ mr as h,
4782
4816
  Nr as i,
4783
- P as j,
4784
- T as k,
4785
- w as l,
4786
- G as m,
4787
- U as n,
4788
- mr as o,
4789
- xr as p,
4790
- je as q,
4791
- pr as r,
4792
- Bt as s,
4793
- ge as t,
4794
- F as u,
4795
- D as v,
4796
- z as w,
4797
- te as x,
4798
- be as y,
4799
- ki as z
4817
+ w as j,
4818
+ G as k,
4819
+ Y as l,
4820
+ b as m,
4821
+ O as n,
4822
+ A as o,
4823
+ U as p,
4824
+ I as q,
4825
+ cr as r,
4826
+ wt as s,
4827
+ Er as t,
4828
+ Ge as u,
4829
+ Ti as v,
4830
+ Ai as w,
4831
+ Hi as x,
4832
+ gr as y,
4833
+ be as z
4800
4834
  };