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