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