@everymatrix/casino-my-games-nd 1.86.4 → 1.86.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/{CasinoFavoritesSectionNd-DAk9Rz5y.js → CasinoFavoritesSectionNd-DnjMMxPF.js} +1044 -1076
  2. package/components/{CasinoFavoritesSectionNd-Ct7-yK1Y.js → CasinoFavoritesSectionNd-IjBGIAKV.js} +1003 -1035
  3. package/components/CasinoFavoritesSectionNd-VfWjc6cO.cjs +3 -0
  4. package/components/{CasinoFilter-thaqa7s1.js → CasinoFilter-BIQiqdaS.js} +423 -373
  5. package/components/{CasinoFilter-Di7-lhYG.js → CasinoFilter-BiUAGzYo.js} +446 -398
  6. package/components/CasinoFilter-yG2Ssg_Z.cjs +16 -0
  7. package/components/{CasinoGameThumbnailNd-v6BFSSx8.js → CasinoGameThumbnailNd-BQGhUZqf.js} +64 -66
  8. package/components/CasinoGameThumbnailNd-BsrshKrT.cjs +30 -0
  9. package/components/{CasinoGameThumbnailNd-CJbI5Vnp.js → CasinoGameThumbnailNd-UlnMygo7.js} +64 -66
  10. package/components/{CasinoGamesCategorySectionNd-1u77-OEV.js → CasinoGamesCategorySectionNd-7O2PEJfi.js} +190 -190
  11. package/components/{CasinoGamesCategorySectionNd-PMFkdFPJ.js → CasinoGamesCategorySectionNd-BTcRtShM.js} +258 -258
  12. package/components/{CasinoGamesCategorySectionNd-CQmI83_8.cjs → CasinoGamesCategorySectionNd-sCQdekDn.cjs} +1 -1
  13. package/components/{CasinoLastPlayedSectionNd-DGHqUI7n.cjs → CasinoLastPlayedSectionNd-BkEol2F9.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSectionNd-CKUoApgO.js → CasinoLastPlayedSectionNd-DsyJ1YyQ.js} +46 -46
  15. package/components/{CasinoLastPlayedSectionNd-tIciGarW.js → CasinoLastPlayedSectionNd-ugG0QJz8.js} +46 -46
  16. package/components/{CasinoMostPlayedSectionNd-B0WFqlQl.js → CasinoMostPlayedSectionNd-9SnZTf2U.js} +39 -39
  17. package/components/{CasinoMostPlayedSectionNd-DExw2cHb.cjs → CasinoMostPlayedSectionNd-BSjNU0qA.cjs} +1 -1
  18. package/components/{CasinoMostPlayedSectionNd-Pcx-G5nM.js → CasinoMostPlayedSectionNd-v4PUECqD.js} +39 -39
  19. package/components/{CasinoMyGamesNd-Dt79TB3B.cjs → CasinoMyGamesNd-2mxQS8Zr.cjs} +1 -1
  20. package/components/{CasinoMyGamesNd-59jwfIW0.js → CasinoMyGamesNd-4ljZ9iaH.js} +52 -52
  21. package/components/{CasinoMyGamesNd-C6tSORAg.js → CasinoMyGamesNd-CfI4-Ywh.js} +55 -55
  22. package/components/{CasinoSort-BCyCciHd.cjs → CasinoSort-DPbziH-d.cjs} +1 -1
  23. package/components/{CasinoSort-Dc3_bYWo.js → CasinoSort-DR4XC8kH.js} +109 -108
  24. package/components/{CasinoSort-DUQ8fN-8.js → CasinoSort-WLSmCHwf.js} +116 -117
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +1 -1
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  30. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  31. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  32. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  33. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  34. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  38. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
  39. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  40. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
  41. package/components/CasinoFavoritesSectionNd-BFcC7upG.cjs +0 -16
  42. package/components/CasinoFilter-CdSKknn8.cjs +0 -3
  43. package/components/CasinoGameThumbnailNd-6zQ8cacB.cjs +0 -30
  44. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  45. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  46. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,47 +1,47 @@
1
1
  function I() {
2
2
  }
3
- function rt(e) {
3
+ function nt(e) {
4
4
  return e();
5
5
  }
6
6
  function Fe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function X(e) {
10
- e.forEach(rt);
9
+ function z(e) {
10
+ e.forEach(nt);
11
11
  }
12
- function Me(e) {
12
+ function $e(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function it(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let re;
19
- function qr(e, t) {
20
- return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
18
+ let ie;
19
+ function Jn(e, t) {
20
+ return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
21
21
  }
22
22
  function Rt(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function st(e, ...t) {
26
26
  if (e == null) {
27
- for (const r of t)
28
- r(void 0);
27
+ for (const n of t)
28
+ n(void 0);
29
29
  return I;
30
30
  }
31
- const n = e.subscribe(...t);
32
- return n.unsubscribe ? () => n.unsubscribe() : n;
31
+ const r = e.subscribe(...t);
32
+ return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Jr(e, t, n) {
35
- e.$$.on_destroy.push(st(t, n));
34
+ function Yn(e, t, r) {
35
+ e.$$.on_destroy.push(st(t, r));
36
36
  }
37
37
  function $t(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Ut(e, t, n) {
41
- const r = Dt(e);
42
- if (!r.getElementById(t)) {
43
- const i = te("style");
44
- i.id = t, i.textContent = n, Gt(r, i);
40
+ function Ut(e, t, r) {
41
+ const n = Dt(e);
42
+ if (!n.getElementById(t)) {
43
+ const i = re("style");
44
+ i.id = t, i.textContent = r, Gt(n, i);
45
45
  }
46
46
  }
47
47
  function Dt(e) {
@@ -61,17 +61,17 @@ function Gt(e, t) {
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function le(e, t, n) {
65
- e.insertBefore(t, n || null);
64
+ function ce(e, t, r) {
65
+ e.insertBefore(t, r || null);
66
66
  }
67
- function ee(e) {
67
+ function te(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Yr(e, t) {
71
- for (let n = 0; n < e.length; n += 1)
72
- e[n] && e[n].d(t);
70
+ function Kn(e, t) {
71
+ for (let r = 0; r < e.length; r += 1)
72
+ e[r] && e[r].d(t);
73
73
  }
74
- function te(e) {
74
+ function re(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function Ft(e) {
@@ -80,21 +80,21 @@ function Ft(e) {
80
80
  function at(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function Kr() {
83
+ function ei() {
84
84
  return at(" ");
85
85
  }
86
- function ei() {
86
+ function ti() {
87
87
  return at("");
88
88
  }
89
- function ti(e, t, n, r) {
90
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
89
+ function ri(e, t, r, n) {
90
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
- function Re(e, t, n) {
93
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
92
+ function Ue(e, t, r) {
93
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function g(e, t, n) {
96
- const r = t.toLowerCase();
97
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Re(e, t, n);
95
+ function g(e, t, r) {
96
+ const n = t.toLowerCase();
97
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ue(e, t, r);
98
98
  }
99
99
  function jt(e) {
100
100
  return Array.from(e.childNodes);
@@ -103,16 +103,16 @@ function ni(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function ri(e, t) {
106
+ function ii(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function ii(e, t, n, r) {
110
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
109
+ function si(e, t, r, n) {
110
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
111
111
  }
112
- function si(e, t, n) {
113
- e.classList.toggle(t, !!n);
112
+ function ai(e, t, r) {
113
+ e.classList.toggle(t, !!r);
114
114
  }
115
- class ai {
115
+ class oi {
116
116
  /**
117
117
  * @private
118
118
  * @default false
@@ -142,17 +142,17 @@ class ai {
142
142
  * @param {HTMLElement | SVGElement} anchor
143
143
  * @returns {void}
144
144
  */
145
- m(t, n, r = null) {
145
+ m(t, r, n = null) {
146
146
  this.e || (this.is_svg ? this.e = Ft(
147
147
  /** @type {keyof SVGElementTagNameMap} */
148
- n.nodeName
149
- ) : this.e = te(
148
+ r.nodeName
149
+ ) : this.e = re(
150
150
  /** @type {keyof HTMLElementTagNameMap} */
151
- n.nodeType === 11 ? "TEMPLATE" : n.nodeName
152
- ), this.t = n.tagName !== "TEMPLATE" ? n : (
151
+ r.nodeType === 11 ? "TEMPLATE" : r.nodeName
152
+ ), this.t = r.tagName !== "TEMPLATE" ? r : (
153
153
  /** @type {HTMLTemplateElement} */
154
- n.content
155
- ), this.c(t)), this.i(r);
154
+ r.content
155
+ ), this.c(t)), this.i(n);
156
156
  }
157
157
  /**
158
158
  * @param {string} html
@@ -166,8 +166,8 @@ class ai {
166
166
  /**
167
167
  * @returns {void} */
168
168
  i(t) {
169
- for (let n = 0; n < this.n.length; n += 1)
170
- le(this.t, this.n[n], t);
169
+ for (let r = 0; r < this.n.length; r += 1)
170
+ ce(this.t, this.n[r], t);
171
171
  }
172
172
  /**
173
173
  * @param {string} html
@@ -179,139 +179,139 @@ class ai {
179
179
  /**
180
180
  * @returns {void} */
181
181
  d() {
182
- this.n.forEach(ee);
182
+ this.n.forEach(te);
183
183
  }
184
184
  }
185
185
  function kt(e) {
186
186
  const t = {};
187
187
  return e.childNodes.forEach(
188
188
  /** @param {Element} node */
189
- (n) => {
190
- t[n.slot || "default"] = !0;
189
+ (r) => {
190
+ t[r.slot || "default"] = !0;
191
191
  }
192
192
  ), t;
193
193
  }
194
- let J;
195
- function q(e) {
196
- J = e;
194
+ let Y;
195
+ function J(e) {
196
+ Y = e;
197
197
  }
198
198
  function ot() {
199
- if (!J)
199
+ if (!Y)
200
200
  throw new Error("Function called outside component initialization");
201
- return J;
201
+ return Y;
202
202
  }
203
203
  function Vt(e) {
204
204
  ot().$$.on_mount.push(e);
205
205
  }
206
- function oi(e) {
206
+ function ui(e) {
207
207
  ot().$$.on_destroy.push(e);
208
208
  }
209
- const D = [], He = [];
210
- let G = [];
209
+ const G = [], Se = [];
210
+ let F = [];
211
211
  const je = [], ut = /* @__PURE__ */ Promise.resolve();
212
- let Te = !1;
212
+ let Be = !1;
213
213
  function ht() {
214
- Te || (Te = !0, ut.then(H));
214
+ Be || (Be = !0, ut.then(H));
215
215
  }
216
- function ui() {
216
+ function hi() {
217
217
  return ht(), ut;
218
218
  }
219
- function Se(e) {
220
- G.push(e);
219
+ function Ae(e) {
220
+ F.push(e);
221
221
  }
222
- const be = /* @__PURE__ */ new Set();
223
- let $ = 0;
222
+ const ye = /* @__PURE__ */ new Set();
223
+ let U = 0;
224
224
  function H() {
225
- if ($ !== 0)
225
+ if (U !== 0)
226
226
  return;
227
- const e = J;
227
+ const e = Y;
228
228
  do {
229
229
  try {
230
- for (; $ < D.length; ) {
231
- const t = D[$];
232
- $++, q(t), Xt(t.$$);
230
+ for (; U < G.length; ) {
231
+ const t = G[U];
232
+ U++, J(t), Xt(t.$$);
233
233
  }
234
234
  } catch (t) {
235
- throw D.length = 0, $ = 0, t;
235
+ throw G.length = 0, U = 0, t;
236
236
  }
237
- for (q(null), D.length = 0, $ = 0; He.length; )
238
- He.pop()();
239
- for (let t = 0; t < G.length; t += 1) {
240
- const n = G[t];
241
- be.has(n) || (be.add(n), n());
237
+ for (J(null), G.length = 0, U = 0; Se.length; )
238
+ Se.pop()();
239
+ for (let t = 0; t < F.length; t += 1) {
240
+ const r = F[t];
241
+ ye.has(r) || (ye.add(r), r());
242
242
  }
243
- G.length = 0;
244
- } while (D.length);
243
+ F.length = 0;
244
+ } while (G.length);
245
245
  for (; je.length; )
246
246
  je.pop()();
247
- Te = !1, be.clear(), q(e);
247
+ Be = !1, ye.clear(), J(e);
248
248
  }
249
249
  function Xt(e) {
250
250
  if (e.fragment !== null) {
251
- e.update(), X(e.before_update);
251
+ e.update(), z(e.before_update);
252
252
  const t = e.dirty;
253
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
253
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
254
254
  }
255
255
  }
256
256
  function zt(e) {
257
- const t = [], n = [];
258
- G.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), G = t;
257
+ const t = [], r = [];
258
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
259
259
  }
260
260
  const Wt = /* @__PURE__ */ new Set();
261
261
  function lt(e, t) {
262
262
  e && e.i && (Wt.delete(e), e.i(t));
263
263
  }
264
- function hi(e) {
264
+ function li(e) {
265
265
  return e?.length !== void 0 ? e : Array.from(e);
266
266
  }
267
- function li(e, t) {
267
+ function fi(e, t) {
268
268
  e.d(1), t.delete(e.key);
269
269
  }
270
- function fi(e, t, n, r, i, s, a, o, l, u, h, c) {
270
+ function ci(e, t, r, n, i, s, u, o, l, a, h, c) {
271
271
  let f = e.length, b = s.length, y = f;
272
272
  const x = {};
273
273
  for (; y--; )
274
274
  x[e[y].key] = y;
275
275
  const S = [], N = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), B = [];
276
276
  for (y = b; y--; ) {
277
- const v = c(i, s, y), m = n(v);
278
- let L = a.get(m);
279
- L ? B.push(() => L.p(v, t)) : (L = u(m, v), L.c()), N.set(m, S[y] = L), m in x && w.set(m, Math.abs(y - x[m]));
277
+ const _ = c(i, s, y), m = r(_);
278
+ let L = u.get(m);
279
+ L ? B.push(() => L.p(_, t)) : (L = a(m, _), L.c()), N.set(m, S[y] = L), m in x && w.set(m, Math.abs(y - x[m]));
280
280
  }
281
281
  const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
282
- function T(v) {
283
- lt(v, 1), v.m(o, h), a.set(v.key, v), h = v.first, b--;
282
+ function T(_) {
283
+ lt(_, 1), _.m(o, h), u.set(_.key, _), h = _.first, b--;
284
284
  }
285
285
  for (; f && b; ) {
286
- const v = S[b - 1], m = e[f - 1], L = v.key, ne = m.key;
287
- v === m ? (h = v.first, f--, b--) : N.has(ne) ? !a.has(L) || O.has(L) ? T(v) : P.has(ne) ? f-- : w.get(L) > w.get(ne) ? (P.add(L), T(v)) : (O.add(ne), f--) : (l(m, a), f--);
286
+ const _ = S[b - 1], m = e[f - 1], L = _.key, ne = m.key;
287
+ _ === m ? (h = _.first, f--, b--) : N.has(ne) ? !u.has(L) || O.has(L) ? T(_) : P.has(ne) ? f-- : w.get(L) > w.get(ne) ? (P.add(L), T(_)) : (O.add(ne), f--) : (l(m, u), f--);
288
288
  }
289
289
  for (; f--; ) {
290
- const v = e[f];
291
- N.has(v.key) || l(v, a);
290
+ const _ = e[f];
291
+ N.has(_.key) || l(_, u);
292
292
  }
293
293
  for (; b; )
294
294
  T(S[b - 1]);
295
- return X(B), S;
295
+ return z(B), S;
296
296
  }
297
- function Zt(e, t, n) {
298
- const { fragment: r, after_update: i } = e.$$;
299
- r && r.m(t, n), Se(() => {
300
- const s = e.$$.on_mount.map(rt).filter(Me);
301
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
302
- }), i.forEach(Se);
297
+ function Zt(e, t, r) {
298
+ const { fragment: n, after_update: i } = e.$$;
299
+ n && n.m(t, r), Ae(() => {
300
+ const s = e.$$.on_mount.map(nt).filter($e);
301
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
302
+ }), i.forEach(Ae);
303
303
  }
304
304
  function Qt(e, t) {
305
- const n = e.$$;
306
- n.fragment !== null && (zt(n.after_update), X(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
305
+ const r = e.$$;
306
+ r.fragment !== null && (zt(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
307
307
  }
308
308
  function qt(e, t) {
309
- e.$$.dirty[0] === -1 && (D.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
309
+ e.$$.dirty[0] === -1 && (G.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
310
310
  }
311
- function Jt(e, t, n, r, i, s, a = null, o = [-1]) {
312
- const l = J;
313
- q(e);
314
- const u = e.$$ = {
311
+ function Jt(e, t, r, n, i, s, u = null, o = [-1]) {
312
+ const l = Y;
313
+ J(e);
314
+ const a = e.$$ = {
315
315
  fragment: null,
316
316
  ctx: [],
317
317
  // state
@@ -332,20 +332,20 @@ function Jt(e, t, n, r, i, s, a = null, o = [-1]) {
332
332
  skip_bound: !1,
333
333
  root: t.target || l.$$.root
334
334
  };
335
- a && a(u.root);
335
+ u && u(a.root);
336
336
  let h = !1;
337
- if (u.ctx = n ? n(e, t.props || {}, (c, f, ...b) => {
337
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
338
338
  const y = b.length ? b[0] : f;
339
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && qt(e, c)), f;
340
- }) : [], u.update(), h = !0, X(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
339
+ return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), h && qt(e, c)), f;
340
+ }) : [], a.update(), h = !0, z(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
341
341
  if (t.hydrate) {
342
342
  const c = jt(t.target);
343
- u.fragment && u.fragment.l(c), c.forEach(ee);
343
+ a.fragment && a.fragment.l(c), c.forEach(te);
344
344
  } else
345
- u.fragment && u.fragment.c();
345
+ a.fragment && a.fragment.c();
346
346
  t.intro && lt(e.$$.fragment), Zt(e, t.target, t.anchor), H();
347
347
  }
348
- q(l);
348
+ J(l);
349
349
  }
350
350
  let ft;
351
351
  typeof HTMLElement == "function" && (ft = class extends HTMLElement {
@@ -367,20 +367,20 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
367
367
  $$l = {};
368
368
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
369
369
  $$l_u = /* @__PURE__ */ new Map();
370
- constructor(e, t, n) {
371
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
370
+ constructor(e, t, r) {
371
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
372
372
  }
373
- addEventListener(e, t, n) {
373
+ addEventListener(e, t, r) {
374
374
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
375
- const r = this.$$c.$on(e, t);
376
- this.$$l_u.set(t, r);
375
+ const n = this.$$c.$on(e, t);
376
+ this.$$l_u.set(t, n);
377
377
  }
378
- super.addEventListener(e, t, n);
378
+ super.addEventListener(e, t, r);
379
379
  }
380
- removeEventListener(e, t, n) {
381
- if (super.removeEventListener(e, t, n), this.$$c) {
382
- const r = this.$$l_u.get(t);
383
- r && (r(), this.$$l_u.delete(t));
380
+ removeEventListener(e, t, r) {
381
+ if (super.removeEventListener(e, t, r), this.$$c) {
382
+ const n = this.$$l_u.get(t);
383
+ n && (n(), this.$$l_u.delete(t));
384
384
  }
385
385
  }
386
386
  async connectedCallback() {
@@ -390,29 +390,29 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
390
390
  let s;
391
391
  return {
392
392
  c: function() {
393
- s = te("slot"), i !== "default" && Re(s, "name", i);
393
+ s = re("slot"), i !== "default" && Ue(s, "name", i);
394
394
  },
395
395
  /**
396
396
  * @param {HTMLElement} target
397
397
  * @param {HTMLElement} [anchor]
398
398
  */
399
- m: function(l, u) {
400
- le(l, s, u);
399
+ m: function(l, a) {
400
+ ce(l, s, a);
401
401
  },
402
402
  d: function(l) {
403
- l && ee(s);
403
+ l && te(s);
404
404
  }
405
405
  };
406
406
  };
407
407
  };
408
408
  if (await Promise.resolve(), !this.$$cn || this.$$c)
409
409
  return;
410
- const t = {}, n = kt(this);
410
+ const t = {}, r = kt(this);
411
411
  for (const i of this.$$s)
412
- i in n && (t[i] = [e(i)]);
412
+ i in r && (t[i] = [e(i)]);
413
413
  for (const i of this.attributes) {
414
414
  const s = this.$$g_p(i.name);
415
- s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
415
+ s in this.$$d || (this.$$d[s] = ae(s, i.value, this.$$p_d, "toProp"));
416
416
  }
417
417
  for (const i in this.$$p_d)
418
418
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -426,11 +426,11 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
426
426
  }
427
427
  }
428
428
  });
429
- const r = () => {
429
+ const n = () => {
430
430
  this.$$r = !0;
431
431
  for (const i in this.$$p_d)
432
432
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
433
- const s = se(
433
+ const s = ae(
434
434
  i,
435
435
  this.$$d[i],
436
436
  this.$$p_d,
@@ -440,19 +440,19 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
440
440
  }
441
441
  this.$$r = !1;
442
442
  };
443
- this.$$c.$$.after_update.push(r), r();
443
+ this.$$c.$$.after_update.push(n), n();
444
444
  for (const i in this.$$l)
445
445
  for (const s of this.$$l[i]) {
446
- const a = this.$$c.$on(i, s);
447
- this.$$l_u.set(s, a);
446
+ const u = this.$$c.$on(i, s);
447
+ this.$$l_u.set(s, u);
448
448
  }
449
449
  this.$$l = {};
450
450
  }
451
451
  }
452
452
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
453
453
  // and setting attributes through setAttribute etc, this is helpful
454
- attributeChangedCallback(e, t, n) {
455
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
454
+ attributeChangedCallback(e, t, r) {
455
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
456
456
  }
457
457
  disconnectedCallback() {
458
458
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -465,11 +465,11 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
465
465
  ) || e;
466
466
  }
467
467
  });
468
- function se(e, t, n, r) {
469
- const i = n[e]?.type;
470
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
468
+ function ae(e, t, r, n) {
469
+ const i = r[e]?.type;
470
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
471
471
  return t;
472
- if (r === "toAttribute")
472
+ if (n === "toAttribute")
473
473
  switch (i) {
474
474
  case "Object":
475
475
  case "Array":
@@ -494,10 +494,10 @@ function se(e, t, n, r) {
494
494
  return t;
495
495
  }
496
496
  }
497
- function Yt(e, t, n, r, i, s) {
498
- let a = class extends ft {
497
+ function Yt(e, t, r, n, i, s) {
498
+ let u = class extends ft {
499
499
  constructor() {
500
- super(e, n, i), this.$$p_d = t;
500
+ super(e, r, i), this.$$p_d = t;
501
501
  }
502
502
  static get observedAttributes() {
503
503
  return Object.keys(t).map(
@@ -506,22 +506,22 @@ function Yt(e, t, n, r, i, s) {
506
506
  }
507
507
  };
508
508
  return Object.keys(t).forEach((o) => {
509
- Object.defineProperty(a.prototype, o, {
509
+ Object.defineProperty(u.prototype, o, {
510
510
  get() {
511
511
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
512
512
  },
513
513
  set(l) {
514
- l = se(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
514
+ l = ae(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
515
515
  }
516
516
  });
517
- }), r.forEach((o) => {
518
- Object.defineProperty(a.prototype, o, {
517
+ }), n.forEach((o) => {
518
+ Object.defineProperty(u.prototype, o, {
519
519
  get() {
520
520
  return this.$$c?.[o];
521
521
  }
522
522
  });
523
523
  }), e.element = /** @type {any} */
524
- a, a;
524
+ u, u;
525
525
  }
526
526
  class Kt {
527
527
  /**
@@ -550,13 +550,13 @@ class Kt {
550
550
  * @param {((e: Events[K]) => void) | null | undefined} callback
551
551
  * @returns {() => void}
552
552
  */
553
- $on(t, n) {
554
- if (!Me(n))
553
+ $on(t, r) {
554
+ if (!$e(r))
555
555
  return I;
556
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
557
- return r.push(n), () => {
558
- const i = r.indexOf(n);
559
- i !== -1 && r.splice(i, 1);
556
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
557
+ return n.push(r), () => {
558
+ const i = n.indexOf(r);
559
+ i !== -1 && n.splice(i, 1);
560
560
  };
561
561
  }
562
562
  /**
@@ -567,148 +567,60 @@ class Kt {
567
567
  this.$$set && !Rt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
568
568
  }
569
569
  }
570
- const en = "4";
571
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
572
- /*! *****************************************************************************
573
- Copyright (c) Microsoft Corporation.
574
-
575
- Permission to use, copy, modify, and/or distribute this software for any
576
- purpose with or without fee is hereby granted.
577
-
578
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
579
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
580
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
581
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
582
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
583
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
584
- PERFORMANCE OF THIS SOFTWARE.
585
- ***************************************************************************** */
586
- var Be = function(e, t) {
587
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
588
- n.__proto__ = r;
589
- } || function(n, r) {
590
- for (var i in r)
591
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
592
- }, Be(e, t);
593
- };
594
- function fe(e, t) {
595
- if (typeof t != "function" && t !== null)
596
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
597
- Be(e, t);
598
- function n() {
599
- this.constructor = e;
600
- }
601
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
602
- }
603
- var E = function() {
604
- return E = Object.assign || function(t) {
605
- for (var n, r = 1, i = arguments.length; r < i; r++) {
606
- n = arguments[r];
607
- for (var s in n)
608
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
609
- }
610
- return t;
611
- }, E.apply(this, arguments);
612
- };
613
- function tn(e, t) {
614
- var n = {};
615
- for (var r in e)
616
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
617
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
618
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
619
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
620
- return n;
621
- }
622
- function ci(e) {
623
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
624
- if (n)
625
- return n.call(e);
626
- if (e && typeof e.length == "number")
627
- return {
628
- next: function() {
629
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
630
- }
631
- };
632
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
633
- }
634
- function mi(e, t) {
635
- var n = typeof Symbol == "function" && e[Symbol.iterator];
636
- if (!n)
637
- return e;
638
- var r = n.call(e), i, s = [], a;
639
- try {
640
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
641
- s.push(i.value);
642
- } catch (o) {
643
- a = { error: o };
644
- } finally {
645
- try {
646
- i && !i.done && (n = r.return) && n.call(r);
647
- } finally {
648
- if (a)
649
- throw a.error;
650
- }
651
- }
652
- return s;
653
- }
654
- function pe(e, t, n) {
655
- if (n || arguments.length === 2)
656
- for (var r = 0, i = t.length, s; r < i; r++)
657
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
658
- return e.concat(s || t);
659
- }
660
- const U = [];
661
- function nn(e, t) {
570
+ const er = "4";
571
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
572
+ const D = [];
573
+ function tr(e, t) {
662
574
  return {
663
- subscribe: ce(e, t).subscribe
575
+ subscribe: me(e, t).subscribe
664
576
  };
665
577
  }
666
- function ce(e, t = I) {
667
- let n;
668
- const r = /* @__PURE__ */ new Set();
578
+ function me(e, t = I) {
579
+ let r;
580
+ const n = /* @__PURE__ */ new Set();
669
581
  function i(o) {
670
- if (it(e, o) && (e = o, n)) {
671
- const l = !U.length;
672
- for (const u of r)
673
- u[1](), U.push(u, e);
582
+ if (it(e, o) && (e = o, r)) {
583
+ const l = !D.length;
584
+ for (const a of n)
585
+ a[1](), D.push(a, e);
674
586
  if (l) {
675
- for (let u = 0; u < U.length; u += 2)
676
- U[u][0](U[u + 1]);
677
- U.length = 0;
587
+ for (let a = 0; a < D.length; a += 2)
588
+ D[a][0](D[a + 1]);
589
+ D.length = 0;
678
590
  }
679
591
  }
680
592
  }
681
593
  function s(o) {
682
594
  i(o(e));
683
595
  }
684
- function a(o, l = I) {
685
- const u = [o, l];
686
- return r.add(u), r.size === 1 && (n = t(i, s) || I), o(e), () => {
687
- r.delete(u), r.size === 0 && n && (n(), n = null);
596
+ function u(o, l = I) {
597
+ const a = [o, l];
598
+ return n.add(a), n.size === 1 && (r = t(i, s) || I), o(e), () => {
599
+ n.delete(a), n.size === 0 && r && (r(), r = null);
688
600
  };
689
601
  }
690
- return { set: i, update: s, subscribe: a };
602
+ return { set: i, update: s, subscribe: u };
691
603
  }
692
- function z(e, t, n) {
693
- const r = !Array.isArray(e), i = r ? [e] : e;
604
+ function W(e, t, r) {
605
+ const n = !Array.isArray(e), i = n ? [e] : e;
694
606
  if (!i.every(Boolean))
695
607
  throw new Error("derived() expects stores as input, got a falsy value");
696
608
  const s = t.length < 2;
697
- return nn(n, (a, o) => {
609
+ return tr(r, (u, o) => {
698
610
  let l = !1;
699
- const u = [];
611
+ const a = [];
700
612
  let h = 0, c = I;
701
613
  const f = () => {
702
614
  if (h)
703
615
  return;
704
616
  c();
705
- const y = t(r ? u[0] : u, a, o);
706
- s ? a(y) : c = Me(y) ? y : I;
617
+ const y = t(n ? a[0] : a, u, o);
618
+ s ? u(y) : c = $e(y) ? y : I;
707
619
  }, b = i.map(
708
620
  (y, x) => st(
709
621
  y,
710
622
  (S) => {
711
- u[x] = S, h &= ~(1 << x), l && f();
623
+ a[x] = S, h &= ~(1 << x), l && f();
712
624
  },
713
625
  () => {
714
626
  h |= 1 << x;
@@ -716,51 +628,51 @@ function z(e, t, n) {
716
628
  )
717
629
  );
718
630
  return l = !0, f(), function() {
719
- X(b), c(), l = !1;
631
+ z(b), c(), l = !1;
720
632
  };
721
633
  });
722
634
  }
723
- function rn(e) {
635
+ function rr(e) {
724
636
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
725
637
  }
726
- var sn = function(t) {
727
- return an(t) && !on(t);
638
+ var nr = function(t) {
639
+ return ir(t) && !sr(t);
728
640
  };
729
- function an(e) {
641
+ function ir(e) {
730
642
  return !!e && typeof e == "object";
731
643
  }
732
- function on(e) {
644
+ function sr(e) {
733
645
  var t = Object.prototype.toString.call(e);
734
- return t === "[object RegExp]" || t === "[object Date]" || ln(e);
646
+ return t === "[object RegExp]" || t === "[object Date]" || ur(e);
735
647
  }
736
- var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
737
- function ln(e) {
738
- return e.$$typeof === hn;
648
+ var ar = typeof Symbol == "function" && Symbol.for, or = ar ? Symbol.for("react.element") : 60103;
649
+ function ur(e) {
650
+ return e.$$typeof === or;
739
651
  }
740
- function fn(e) {
652
+ function hr(e) {
741
653
  return Array.isArray(e) ? [] : {};
742
654
  }
743
- function Y(e, t) {
744
- return t.clone !== !1 && t.isMergeableObject(e) ? F(fn(e), e, t) : e;
655
+ function K(e, t) {
656
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(hr(e), e, t) : e;
745
657
  }
746
- function cn(e, t, n) {
747
- return e.concat(t).map(function(r) {
748
- return Y(r, n);
658
+ function lr(e, t, r) {
659
+ return e.concat(t).map(function(n) {
660
+ return K(n, r);
749
661
  });
750
662
  }
751
- function mn(e, t) {
663
+ function fr(e, t) {
752
664
  if (!t.customMerge)
753
- return F;
754
- var n = t.customMerge(e);
755
- return typeof n == "function" ? n : F;
665
+ return j;
666
+ var r = t.customMerge(e);
667
+ return typeof r == "function" ? r : j;
756
668
  }
757
- function gn(e) {
669
+ function cr(e) {
758
670
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
759
671
  return Object.propertyIsEnumerable.call(e, t);
760
672
  }) : [];
761
673
  }
762
674
  function ke(e) {
763
- return Object.keys(e).concat(gn(e));
675
+ return Object.keys(e).concat(cr(e));
764
676
  }
765
677
  function ct(e, t) {
766
678
  try {
@@ -769,137 +681,187 @@ function ct(e, t) {
769
681
  return !1;
770
682
  }
771
683
  }
772
- function dn(e, t) {
684
+ function mr(e, t) {
773
685
  return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
774
686
  }
775
- function bn(e, t, n) {
776
- var r = {};
777
- return n.isMergeableObject(e) && ke(e).forEach(function(i) {
778
- r[i] = Y(e[i], n);
687
+ function gr(e, t, r) {
688
+ var n = {};
689
+ return r.isMergeableObject(e) && ke(e).forEach(function(i) {
690
+ n[i] = K(e[i], r);
779
691
  }), ke(t).forEach(function(i) {
780
- dn(e, i) || (ct(e, i) && n.isMergeableObject(t[i]) ? r[i] = mn(i, n)(e[i], t[i], n) : r[i] = Y(t[i], n));
781
- }), r;
692
+ mr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
693
+ }), n;
782
694
  }
783
- function F(e, t, n) {
784
- n = n || {}, n.arrayMerge = n.arrayMerge || cn, n.isMergeableObject = n.isMergeableObject || sn, n.cloneUnlessOtherwiseSpecified = Y;
785
- var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
786
- return s ? r ? n.arrayMerge(e, t, n) : bn(e, t, n) : Y(t, n);
695
+ function j(e, t, r) {
696
+ r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = K;
697
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
698
+ return s ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : K(t, r);
787
699
  }
788
- F.all = function(t, n) {
700
+ j.all = function(t, r) {
789
701
  if (!Array.isArray(t))
790
702
  throw new Error("first argument should be an array");
791
- return t.reduce(function(r, i) {
792
- return F(r, i, n);
703
+ return t.reduce(function(n, i) {
704
+ return j(n, i, r);
793
705
  }, {});
794
706
  };
795
- var pn = F, yn = pn;
796
- const En = /* @__PURE__ */ rn(yn);
797
- function ye(e, t) {
798
- var n = t && t.cache ? t.cache : Sn, r = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : vn;
707
+ var dr = j, br = dr;
708
+ const pr = /* @__PURE__ */ rr(br);
709
+ var we = function(e, t) {
710
+ return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
711
+ r.__proto__ = n;
712
+ } || function(r, n) {
713
+ for (var i in n)
714
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
715
+ }, we(e, t);
716
+ };
717
+ function ge(e, t) {
718
+ if (typeof t != "function" && t !== null)
719
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
720
+ we(e, t);
721
+ function r() {
722
+ this.constructor = e;
723
+ }
724
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
725
+ }
726
+ var C = function() {
727
+ return C = Object.assign || function(t) {
728
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
729
+ r = arguments[n];
730
+ for (var s in r)
731
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
732
+ }
733
+ return t;
734
+ }, C.apply(this, arguments);
735
+ };
736
+ function yr(e, t) {
737
+ var r = {};
738
+ for (var n in e)
739
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
740
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
741
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
742
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
743
+ return r;
744
+ }
745
+ function Ee(e, t, r) {
746
+ if (r || arguments.length === 2)
747
+ for (var n = 0, i = t.length, s; n < i; n++)
748
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
749
+ return e.concat(s || Array.prototype.slice.call(t));
750
+ }
751
+ function _e(e, t) {
752
+ var r = t && t.cache ? t.cache : Sr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
799
753
  return i(e, {
800
- cache: n,
801
- serializer: r
754
+ cache: r,
755
+ serializer: n
802
756
  });
803
757
  }
804
- function _n(e) {
758
+ function Er(e) {
805
759
  return e == null || typeof e == "number" || typeof e == "boolean";
806
760
  }
807
- function mt(e, t, n, r) {
808
- var i = _n(r) ? r : n(r), s = t.get(i);
809
- return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
761
+ function _r(e, t, r, n) {
762
+ var i = Er(n) ? n : r(n), s = t.get(i);
763
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
810
764
  }
811
- function gt(e, t, n) {
812
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
813
- return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
765
+ function mt(e, t, r) {
766
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
767
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
814
768
  }
815
- function $e(e, t, n, r, i) {
816
- return n.bind(t, e, r, i);
769
+ function gt(e, t, r, n, i) {
770
+ return r.bind(t, e, n, i);
817
771
  }
818
- function vn(e, t) {
819
- var n = e.length === 1 ? mt : gt;
820
- return $e(e, this, n, t.cache.create(), t.serializer);
772
+ function vr(e, t) {
773
+ var r = e.length === 1 ? _r : mt;
774
+ return gt(e, this, r, t.cache.create(), t.serializer);
821
775
  }
822
- function xn(e, t) {
823
- return $e(e, this, gt, t.cache.create(), t.serializer);
776
+ function xr(e, t) {
777
+ return gt(e, this, mt, t.cache.create(), t.serializer);
824
778
  }
825
- function Hn(e, t) {
826
- return $e(e, this, mt, t.cache.create(), t.serializer);
827
- }
828
- var Tn = function() {
779
+ var Hr = function() {
829
780
  return JSON.stringify(arguments);
830
- };
831
- function Ue() {
832
- this.cache = /* @__PURE__ */ Object.create(null);
833
- }
834
- Ue.prototype.get = function(e) {
835
- return this.cache[e];
836
- };
837
- Ue.prototype.set = function(e, t) {
838
- this.cache[e] = t;
839
- };
840
- var Sn = {
781
+ }, Tr = (
782
+ /** @class */
783
+ function() {
784
+ function e() {
785
+ this.cache = /* @__PURE__ */ Object.create(null);
786
+ }
787
+ return e.prototype.get = function(t) {
788
+ return this.cache[t];
789
+ }, e.prototype.set = function(t, r) {
790
+ this.cache[t] = r;
791
+ }, e;
792
+ }()
793
+ ), Sr = {
841
794
  create: function() {
842
- return new Ue();
795
+ return new Tr();
843
796
  }
844
- }, Ee = {
845
- variadic: xn,
846
- monadic: Hn
847
- }, d;
797
+ }, ve = {
798
+ variadic: xr
799
+ }, he = function() {
800
+ return he = Object.assign || function(t) {
801
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
802
+ r = arguments[n];
803
+ for (var s in r)
804
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
805
+ }
806
+ return t;
807
+ }, he.apply(this, arguments);
808
+ };
809
+ var d;
848
810
  (function(e) {
849
811
  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";
850
812
  })(d || (d = {}));
851
- var _;
813
+ var E;
852
814
  (function(e) {
853
815
  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";
854
- })(_ || (_ = {}));
855
- var j;
816
+ })(E || (E = {}));
817
+ var k;
856
818
  (function(e) {
857
819
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
858
- })(j || (j = {}));
820
+ })(k || (k = {}));
859
821
  function Ve(e) {
860
- return e.type === _.literal;
822
+ return e.type === E.literal;
861
823
  }
862
- function Bn(e) {
863
- return e.type === _.argument;
824
+ function Br(e) {
825
+ return e.type === E.argument;
864
826
  }
865
827
  function dt(e) {
866
- return e.type === _.number;
828
+ return e.type === E.number;
867
829
  }
868
830
  function bt(e) {
869
- return e.type === _.date;
831
+ return e.type === E.date;
870
832
  }
871
833
  function pt(e) {
872
- return e.type === _.time;
834
+ return e.type === E.time;
873
835
  }
874
836
  function yt(e) {
875
- return e.type === _.select;
837
+ return e.type === E.select;
876
838
  }
877
839
  function Et(e) {
878
- return e.type === _.plural;
840
+ return e.type === E.plural;
879
841
  }
880
- function An(e) {
881
- return e.type === _.pound;
842
+ function Ar(e) {
843
+ return e.type === E.pound;
882
844
  }
883
845
  function _t(e) {
884
- return e.type === _.tag;
846
+ return e.type === E.tag;
885
847
  }
886
848
  function vt(e) {
887
- return !!(e && typeof e == "object" && e.type === j.number);
849
+ return !!(e && typeof e == "object" && e.type === k.number);
888
850
  }
889
- function Ae(e) {
890
- return !!(e && typeof e == "object" && e.type === j.dateTime);
851
+ function Pe(e) {
852
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
891
853
  }
892
- var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
893
- function Pn(e) {
854
+ var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wr = /(?:[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;
855
+ function Pr(e) {
894
856
  var t = {};
895
- return e.replace(wn, function(n) {
896
- var r = n.length;
897
- switch (n[0]) {
857
+ return e.replace(wr, function(r) {
858
+ var n = r.length;
859
+ switch (r[0]) {
898
860
  case "G":
899
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
861
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
900
862
  break;
901
863
  case "y":
902
- t.year = r === 2 ? "2-digit" : "numeric";
864
+ t.year = n === 2 ? "2-digit" : "numeric";
903
865
  break;
904
866
  case "Y":
905
867
  case "u":
@@ -911,30 +873,30 @@ function Pn(e) {
911
873
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
912
874
  case "M":
913
875
  case "L":
914
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
876
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
915
877
  break;
916
878
  case "w":
917
879
  case "W":
918
880
  throw new RangeError("`w/W` (week) patterns are not supported");
919
881
  case "d":
920
- t.day = ["numeric", "2-digit"][r - 1];
882
+ t.day = ["numeric", "2-digit"][n - 1];
921
883
  break;
922
884
  case "D":
923
885
  case "F":
924
886
  case "g":
925
887
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
926
888
  case "E":
927
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
889
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
928
890
  break;
929
891
  case "e":
930
- if (r < 4)
892
+ if (n < 4)
931
893
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
932
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
894
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
933
895
  break;
934
896
  case "c":
935
- if (r < 4)
897
+ if (n < 4)
936
898
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
937
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
899
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
938
900
  break;
939
901
  case "a":
940
902
  t.hour12 = !0;
@@ -943,32 +905,32 @@ function Pn(e) {
943
905
  case "B":
944
906
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
945
907
  case "h":
946
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
908
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
947
909
  break;
948
910
  case "H":
949
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
911
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
950
912
  break;
951
913
  case "K":
952
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
914
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
953
915
  break;
954
916
  case "k":
955
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
917
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
956
918
  break;
957
919
  case "j":
958
920
  case "J":
959
921
  case "C":
960
922
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
961
923
  case "m":
962
- t.minute = ["numeric", "2-digit"][r - 1];
924
+ t.minute = ["numeric", "2-digit"][n - 1];
963
925
  break;
964
926
  case "s":
965
- t.second = ["numeric", "2-digit"][r - 1];
927
+ t.second = ["numeric", "2-digit"][n - 1];
966
928
  break;
967
929
  case "S":
968
930
  case "A":
969
931
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
970
932
  case "z":
971
- t.timeZoneName = r < 4 ? "short" : "long";
933
+ t.timeZoneName = n < 4 ? "short" : "long";
972
934
  break;
973
935
  case "Z":
974
936
  case "O":
@@ -981,33 +943,43 @@ function Pn(e) {
981
943
  return "";
982
944
  }), t;
983
945
  }
984
- var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
985
- function On(e) {
946
+ var v = function() {
947
+ return v = Object.assign || function(t) {
948
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
949
+ r = arguments[n];
950
+ for (var s in r)
951
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
952
+ }
953
+ return t;
954
+ }, v.apply(this, arguments);
955
+ };
956
+ var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
957
+ function Or(e) {
986
958
  if (e.length === 0)
987
959
  throw new Error("Number skeleton cannot be empty");
988
- for (var t = e.split(Nn).filter(function(f) {
960
+ for (var t = e.split(Nr).filter(function(f) {
989
961
  return f.length > 0;
990
- }), n = [], r = 0, i = t; r < i.length; r++) {
991
- var s = i[r], a = s.split("/");
992
- if (a.length === 0)
962
+ }), r = [], n = 0, i = t; n < i.length; n++) {
963
+ var s = i[n], u = s.split("/");
964
+ if (u.length === 0)
993
965
  throw new Error("Invalid number skeleton");
994
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
995
- var c = h[u];
966
+ for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
967
+ var c = h[a];
996
968
  if (c.length === 0)
997
969
  throw new Error("Invalid number skeleton");
998
970
  }
999
- n.push({ stem: o, options: l });
971
+ r.push({ stem: o, options: l });
1000
972
  }
1001
- return n;
973
+ return r;
1002
974
  }
1003
- function In(e) {
975
+ function Ir(e) {
1004
976
  return e.replace(/^(.*?)-/, "");
1005
977
  }
1006
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
978
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Lr = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
1007
979
  function ze(e) {
1008
980
  var t = {};
1009
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(n, r, i) {
1010
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
981
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
982
+ 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)), "";
1011
983
  }), t;
1012
984
  }
1013
985
  function St(e) {
@@ -1050,27 +1022,27 @@ function St(e) {
1050
1022
  };
1051
1023
  }
1052
1024
  }
1053
- function Cn(e) {
1025
+ function Cr(e) {
1054
1026
  var t;
1055
1027
  if (e[0] === "E" && e[1] === "E" ? (t = {
1056
1028
  notation: "engineering"
1057
1029
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1058
1030
  notation: "scientific"
1059
1031
  }, e = e.slice(1)), t) {
1060
- var n = e.slice(0, 2);
1061
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
1032
+ var r = e.slice(0, 2);
1033
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
1062
1034
  throw new Error("Malformed concise eng/scientific notation");
1063
1035
  t.minimumIntegerDigits = e.length;
1064
1036
  }
1065
1037
  return t;
1066
1038
  }
1067
1039
  function We(e) {
1068
- var t = {}, n = St(e);
1069
- return n || t;
1040
+ var t = {}, r = St(e);
1041
+ return r || t;
1070
1042
  }
1071
- function Mn(e) {
1072
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1073
- var i = r[n];
1043
+ function Mr(e) {
1044
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1045
+ var i = n[r];
1074
1046
  switch (i.stem) {
1075
1047
  case "percent":
1076
1048
  case "%":
@@ -1092,7 +1064,7 @@ function Mn(e) {
1092
1064
  continue;
1093
1065
  case "measure-unit":
1094
1066
  case "unit":
1095
- t.style = "unit", t.unit = In(i.options[0]);
1067
+ t.style = "unit", t.unit = Ir(i.options[0]);
1096
1068
  continue;
1097
1069
  case "compact-short":
1098
1070
  case "K":
@@ -1103,13 +1075,13 @@ function Mn(e) {
1103
1075
  t.notation = "compact", t.compactDisplay = "long";
1104
1076
  continue;
1105
1077
  case "scientific":
1106
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1107
- return E(E({}, l), We(u));
1078
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1079
+ return v(v({}, l), We(a));
1108
1080
  }, {}));
1109
1081
  continue;
1110
1082
  case "engineering":
1111
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1112
- return E(E({}, l), We(u));
1083
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1084
+ return v(v({}, l), We(a));
1113
1085
  }, {}));
1114
1086
  continue;
1115
1087
  case "notation-simple":
@@ -1154,8 +1126,8 @@ function Mn(e) {
1154
1126
  case "integer-width":
1155
1127
  if (i.options.length > 1)
1156
1128
  throw new RangeError("integer-width stems only accept a single optional option");
1157
- i.options[0].replace(Ln, function(l, u, h, c, f, b) {
1158
- if (u)
1129
+ i.options[0].replace(Lr, function(l, a, h, c, f, b) {
1130
+ if (a)
1159
1131
  t.minimumIntegerDigits = h.length;
1160
1132
  else {
1161
1133
  if (c && f)
@@ -1174,25 +1146,25 @@ function Mn(e) {
1174
1146
  if (Xe.test(i.stem)) {
1175
1147
  if (i.options.length > 1)
1176
1148
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1177
- i.stem.replace(Xe, function(l, u, h, c, f, b) {
1178
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1149
+ i.stem.replace(Xe, function(l, a, h, c, f, b) {
1150
+ return h === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1179
1151
  });
1180
1152
  var s = i.options[0];
1181
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
1153
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), ze(s)));
1182
1154
  continue;
1183
1155
  }
1184
1156
  if (Ht.test(i.stem)) {
1185
- t = E(E({}, t), ze(i.stem));
1157
+ t = v(v({}, t), ze(i.stem));
1186
1158
  continue;
1187
1159
  }
1188
- var a = St(i.stem);
1189
- a && (t = E(E({}, t), a));
1190
- var o = Cn(i.stem);
1191
- o && (t = E(E({}, t), o));
1160
+ var u = St(i.stem);
1161
+ u && (t = v(v({}, t), u));
1162
+ var o = Cr(i.stem);
1163
+ o && (t = v(v({}, t), o));
1192
1164
  }
1193
1165
  return t;
1194
1166
  }
1195
- var ie = {
1167
+ var se = {
1196
1168
  "001": [
1197
1169
  "H",
1198
1170
  "h"
@@ -2607,23 +2579,23 @@ var ie = {
2607
2579
  "h"
2608
2580
  ]
2609
2581
  };
2610
- function Rn(e, t) {
2611
- for (var n = "", r = 0; r < e.length; r++) {
2612
- var i = e.charAt(r);
2582
+ function Rr(e, t) {
2583
+ for (var r = "", n = 0; n < e.length; n++) {
2584
+ var i = e.charAt(n);
2613
2585
  if (i === "j") {
2614
- for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2615
- s++, r++;
2616
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $n(t);
2617
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2618
- n += l;
2619
- for (; a-- > 0; )
2620
- n = u + n;
2586
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2587
+ s++, n++;
2588
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = $r(t);
2589
+ for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2590
+ r += l;
2591
+ for (; u-- > 0; )
2592
+ r = a + r;
2621
2593
  } else
2622
- i === "J" ? n += "H" : n += i;
2594
+ i === "J" ? r += "H" : r += i;
2623
2595
  }
2624
- return n;
2596
+ return r;
2625
2597
  }
2626
- function $n(e) {
2598
+ function $r(e) {
2627
2599
  var t = e.hourCycle;
2628
2600
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2629
2601
  e.hourCycles && // @ts-ignore
@@ -2640,73 +2612,73 @@ function $n(e) {
2640
2612
  default:
2641
2613
  throw new Error("Invalid hourCycle");
2642
2614
  }
2643
- var n = e.language, r;
2644
- n !== "root" && (r = e.maximize().region);
2645
- var i = ie[r || ""] || ie[n || ""] || ie["".concat(n, "-001")] || ie["001"];
2615
+ var r = e.language, n;
2616
+ r !== "root" && (n = e.maximize().region);
2617
+ var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2646
2618
  return i[0];
2647
2619
  }
2648
- var _e, Un = new RegExp("^".concat(xt.source, "*")), Dn = new RegExp("".concat(xt.source, "*$"));
2620
+ var xe, Ur = new RegExp("^".concat(xt.source, "*")), Dr = new RegExp("".concat(xt.source, "*$"));
2649
2621
  function p(e, t) {
2650
2622
  return { start: e, end: t };
2651
2623
  }
2652
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
2624
+ var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Vr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, zr = !!Number.isSafeInteger, Wr = zr ? Number.isSafeInteger : function(e) {
2653
2625
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2654
- }, we = !0;
2626
+ }, Ne = !0;
2655
2627
  try {
2656
- var Zn = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2657
- we = ((_e = Zn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
2628
+ var Zr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2629
+ Ne = ((xe = Zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
2658
2630
  } catch {
2659
- we = !1;
2631
+ Ne = !1;
2660
2632
  }
2661
- var Ze = Gn ? (
2633
+ var Ze = Gr ? (
2662
2634
  // Native
2663
- function(t, n, r) {
2664
- return t.startsWith(n, r);
2635
+ function(t, r, n) {
2636
+ return t.startsWith(r, n);
2665
2637
  }
2666
2638
  ) : (
2667
2639
  // For IE11
2668
- function(t, n, r) {
2669
- return t.slice(r, r + n.length) === n;
2640
+ function(t, r, n) {
2641
+ return t.slice(n, n + r.length) === r;
2670
2642
  }
2671
- ), Pe = Fn ? String.fromCodePoint : (
2643
+ ), Oe = Fr ? String.fromCodePoint : (
2672
2644
  // IE11
2673
2645
  function() {
2674
- for (var t = [], n = 0; n < arguments.length; n++)
2675
- t[n] = arguments[n];
2676
- for (var r = "", i = t.length, s = 0, a; i > s; ) {
2677
- if (a = t[s++], a > 1114111)
2678
- throw RangeError(a + " is not a valid code point");
2679
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2646
+ for (var t = [], r = 0; r < arguments.length; r++)
2647
+ t[r] = arguments[r];
2648
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2649
+ if (u = t[s++], u > 1114111)
2650
+ throw RangeError(u + " is not a valid code point");
2651
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2680
2652
  }
2681
- return r;
2653
+ return n;
2682
2654
  }
2683
2655
  ), Qe = (
2684
2656
  // native
2685
- jn ? Object.fromEntries : (
2657
+ jr ? Object.fromEntries : (
2686
2658
  // Ponyfill
2687
2659
  function(t) {
2688
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2689
- var s = i[r], a = s[0], o = s[1];
2690
- n[a] = o;
2660
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2661
+ var s = i[n], u = s[0], o = s[1];
2662
+ r[u] = o;
2691
2663
  }
2692
- return n;
2664
+ return r;
2693
2665
  }
2694
2666
  )
2695
- ), Bt = kn ? (
2667
+ ), Bt = kr ? (
2696
2668
  // Native
2697
- function(t, n) {
2698
- return t.codePointAt(n);
2669
+ function(t, r) {
2670
+ return t.codePointAt(r);
2699
2671
  }
2700
2672
  ) : (
2701
2673
  // IE 11
2702
- function(t, n) {
2703
- var r = t.length;
2704
- if (!(n < 0 || n >= r)) {
2705
- var i = t.charCodeAt(n), s;
2706
- return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2674
+ function(t, r) {
2675
+ var n = t.length;
2676
+ if (!(r < 0 || r >= n)) {
2677
+ var i = t.charCodeAt(r), s;
2678
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2707
2679
  }
2708
2680
  }
2709
- ), Qn = Vn ? (
2681
+ ), Qr = Vr ? (
2710
2682
  // Native
2711
2683
  function(t) {
2712
2684
  return t.trimStart();
@@ -2714,9 +2686,9 @@ var Ze = Gn ? (
2714
2686
  ) : (
2715
2687
  // Ponyfill
2716
2688
  function(t) {
2717
- return t.replace(Un, "");
2689
+ return t.replace(Ur, "");
2718
2690
  }
2719
- ), qn = Xn ? (
2691
+ ), qr = Xr ? (
2720
2692
  // Native
2721
2693
  function(t) {
2722
2694
  return t.trimEnd();
@@ -2724,126 +2696,126 @@ var Ze = Gn ? (
2724
2696
  ) : (
2725
2697
  // Ponyfill
2726
2698
  function(t) {
2727
- return t.replace(Dn, "");
2699
+ return t.replace(Dr, "");
2728
2700
  }
2729
2701
  );
2730
2702
  function At(e, t) {
2731
2703
  return new RegExp(e, t);
2732
2704
  }
2733
- var Ne;
2734
- if (we) {
2705
+ var Ie;
2706
+ if (Ne) {
2735
2707
  var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2736
- Ne = function(t, n) {
2737
- var r;
2738
- qe.lastIndex = n;
2708
+ Ie = function(t, r) {
2709
+ var n;
2710
+ qe.lastIndex = r;
2739
2711
  var i = qe.exec(t);
2740
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2712
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2741
2713
  };
2742
2714
  } else
2743
- Ne = function(t, n) {
2744
- for (var r = []; ; ) {
2745
- var i = Bt(t, n);
2746
- if (i === void 0 || wt(i) || er(i))
2715
+ Ie = function(t, r) {
2716
+ for (var n = []; ; ) {
2717
+ var i = Bt(t, r);
2718
+ if (i === void 0 || wt(i) || en(i))
2747
2719
  break;
2748
- r.push(i), n += i >= 65536 ? 2 : 1;
2720
+ n.push(i), r += i >= 65536 ? 2 : 1;
2749
2721
  }
2750
- return Pe.apply(void 0, r);
2722
+ return Oe.apply(void 0, n);
2751
2723
  };
2752
- var Jn = (
2724
+ var Jr = (
2753
2725
  /** @class */
2754
2726
  function() {
2755
- function e(t, n) {
2756
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2727
+ function e(t, r) {
2728
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2757
2729
  }
2758
2730
  return e.prototype.parse = function() {
2759
2731
  if (this.offset() !== 0)
2760
2732
  throw Error("parser can only be used once");
2761
2733
  return this.parseMessage(0, "", !1);
2762
- }, e.prototype.parseMessage = function(t, n, r) {
2734
+ }, e.prototype.parseMessage = function(t, r, n) {
2763
2735
  for (var i = []; !this.isEOF(); ) {
2764
2736
  var s = this.char();
2765
2737
  if (s === 123) {
2766
- var a = this.parseArgument(t, r);
2767
- if (a.err)
2768
- return a;
2769
- i.push(a.val);
2738
+ var u = this.parseArgument(t, n);
2739
+ if (u.err)
2740
+ return u;
2741
+ i.push(u.val);
2770
2742
  } else {
2771
2743
  if (s === 125 && t > 0)
2772
2744
  break;
2773
- if (s === 35 && (n === "plural" || n === "selectordinal")) {
2745
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2774
2746
  var o = this.clonePosition();
2775
2747
  this.bump(), i.push({
2776
- type: _.pound,
2748
+ type: E.pound,
2777
2749
  location: p(o, this.clonePosition())
2778
2750
  });
2779
2751
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2780
- if (r)
2752
+ if (n)
2781
2753
  break;
2782
2754
  return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2783
- } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2784
- var a = this.parseTag(t, n);
2785
- if (a.err)
2786
- return a;
2787
- i.push(a.val);
2755
+ } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2756
+ var u = this.parseTag(t, r);
2757
+ if (u.err)
2758
+ return u;
2759
+ i.push(u.val);
2788
2760
  } else {
2789
- var a = this.parseLiteral(t, n);
2790
- if (a.err)
2791
- return a;
2792
- i.push(a.val);
2761
+ var u = this.parseLiteral(t, r);
2762
+ if (u.err)
2763
+ return u;
2764
+ i.push(u.val);
2793
2765
  }
2794
2766
  }
2795
2767
  }
2796
2768
  return { val: i, err: null };
2797
- }, e.prototype.parseTag = function(t, n) {
2798
- var r = this.clonePosition();
2769
+ }, e.prototype.parseTag = function(t, r) {
2770
+ var n = this.clonePosition();
2799
2771
  this.bump();
2800
2772
  var i = this.parseTagName();
2801
2773
  if (this.bumpSpace(), this.bumpIf("/>"))
2802
2774
  return {
2803
2775
  val: {
2804
- type: _.literal,
2776
+ type: E.literal,
2805
2777
  value: "<".concat(i, "/>"),
2806
- location: p(r, this.clonePosition())
2778
+ location: p(n, this.clonePosition())
2807
2779
  },
2808
2780
  err: null
2809
2781
  };
2810
2782
  if (this.bumpIf(">")) {
2811
- var s = this.parseMessage(t + 1, n, !0);
2783
+ var s = this.parseMessage(t + 1, r, !0);
2812
2784
  if (s.err)
2813
2785
  return s;
2814
- var a = s.val, o = this.clonePosition();
2786
+ var u = s.val, o = this.clonePosition();
2815
2787
  if (this.bumpIf("</")) {
2816
- if (this.isEOF() || !Oe(this.char()))
2788
+ if (this.isEOF() || !Le(this.char()))
2817
2789
  return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
2818
- var l = this.clonePosition(), u = this.parseTagName();
2819
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2790
+ var l = this.clonePosition(), a = this.parseTagName();
2791
+ return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2820
2792
  val: {
2821
- type: _.tag,
2793
+ type: E.tag,
2822
2794
  value: i,
2823
- children: a,
2824
- location: p(r, this.clonePosition())
2795
+ children: u,
2796
+ location: p(n, this.clonePosition())
2825
2797
  },
2826
2798
  err: null
2827
2799
  } : this.error(d.INVALID_TAG, p(o, this.clonePosition())));
2828
2800
  } else
2829
- return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
2801
+ return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
2830
2802
  } else
2831
- return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
2803
+ return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2832
2804
  }, e.prototype.parseTagName = function() {
2833
2805
  var t = this.offset();
2834
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
2806
+ for (this.bump(); !this.isEOF() && Kr(this.char()); )
2835
2807
  this.bump();
2836
2808
  return this.message.slice(t, this.offset());
2837
- }, e.prototype.parseLiteral = function(t, n) {
2838
- for (var r = this.clonePosition(), i = ""; ; ) {
2839
- var s = this.tryParseQuote(n);
2809
+ }, e.prototype.parseLiteral = function(t, r) {
2810
+ for (var n = this.clonePosition(), i = ""; ; ) {
2811
+ var s = this.tryParseQuote(r);
2840
2812
  if (s) {
2841
2813
  i += s;
2842
2814
  continue;
2843
2815
  }
2844
- var a = this.tryParseUnquoted(t, n);
2845
- if (a) {
2846
- i += a;
2816
+ var u = this.tryParseUnquoted(t, r);
2817
+ if (u) {
2818
+ i += u;
2847
2819
  continue;
2848
2820
  }
2849
2821
  var o = this.tryParseLeftAngleBracket();
@@ -2853,14 +2825,14 @@ var Jn = (
2853
2825
  }
2854
2826
  break;
2855
2827
  }
2856
- var l = p(r, this.clonePosition());
2828
+ var l = p(n, this.clonePosition());
2857
2829
  return {
2858
- val: { type: _.literal, value: i, location: l },
2830
+ val: { type: E.literal, value: i, location: l },
2859
2831
  err: null
2860
2832
  };
2861
2833
  }, e.prototype.tryParseLeftAngleBracket = function() {
2862
2834
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2863
- !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2835
+ !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2864
2836
  }, e.prototype.tryParseQuote = function(t) {
2865
2837
  if (this.isEOF() || this.char() !== 39)
2866
2838
  return null;
@@ -2880,114 +2852,114 @@ var Jn = (
2880
2852
  return null;
2881
2853
  }
2882
2854
  this.bump();
2883
- var n = [this.char()];
2855
+ var r = [this.char()];
2884
2856
  for (this.bump(); !this.isEOF(); ) {
2885
- var r = this.char();
2886
- if (r === 39)
2857
+ var n = this.char();
2858
+ if (n === 39)
2887
2859
  if (this.peek() === 39)
2888
- n.push(39), this.bump();
2860
+ r.push(39), this.bump();
2889
2861
  else {
2890
2862
  this.bump();
2891
2863
  break;
2892
2864
  }
2893
2865
  else
2894
- n.push(r);
2866
+ r.push(n);
2895
2867
  this.bump();
2896
2868
  }
2897
- return Pe.apply(void 0, n);
2898
- }, e.prototype.tryParseUnquoted = function(t, n) {
2869
+ return Oe.apply(void 0, r);
2870
+ }, e.prototype.tryParseUnquoted = function(t, r) {
2899
2871
  if (this.isEOF())
2900
2872
  return null;
2901
- var r = this.char();
2902
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Pe(r));
2903
- }, e.prototype.parseArgument = function(t, n) {
2904
- var r = this.clonePosition();
2873
+ var n = this.char();
2874
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2875
+ }, e.prototype.parseArgument = function(t, r) {
2876
+ var n = this.clonePosition();
2905
2877
  if (this.bump(), this.bumpSpace(), this.isEOF())
2906
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2878
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2907
2879
  if (this.char() === 125)
2908
- return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
2880
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
2909
2881
  var i = this.parseIdentifierIfPossible().value;
2910
2882
  if (!i)
2911
- return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2883
+ return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2912
2884
  if (this.bumpSpace(), this.isEOF())
2913
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2885
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2914
2886
  switch (this.char()) {
2915
2887
  case 125:
2916
2888
  return this.bump(), {
2917
2889
  val: {
2918
- type: _.argument,
2890
+ type: E.argument,
2919
2891
  // value does not include the opening and closing braces.
2920
2892
  value: i,
2921
- location: p(r, this.clonePosition())
2893
+ location: p(n, this.clonePosition())
2922
2894
  },
2923
2895
  err: null
2924
2896
  };
2925
2897
  case 44:
2926
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2898
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2927
2899
  default:
2928
- return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2900
+ return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2929
2901
  }
2930
2902
  }, e.prototype.parseIdentifierIfPossible = function() {
2931
- var t = this.clonePosition(), n = this.offset(), r = Ne(this.message, n), i = n + r.length;
2903
+ var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2932
2904
  this.bumpTo(i);
2933
- var s = this.clonePosition(), a = p(t, s);
2934
- return { value: r, location: a };
2935
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2936
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2905
+ var s = this.clonePosition(), u = p(t, s);
2906
+ return { value: n, location: u };
2907
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2908
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2937
2909
  switch (o) {
2938
2910
  case "":
2939
- return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
2911
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(u, l));
2940
2912
  case "number":
2941
2913
  case "date":
2942
2914
  case "time": {
2943
2915
  this.bumpSpace();
2944
- var u = null;
2916
+ var a = null;
2945
2917
  if (this.bumpIf(",")) {
2946
2918
  this.bumpSpace();
2947
2919
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2948
2920
  if (c.err)
2949
2921
  return c;
2950
- var f = qn(c.val);
2922
+ var f = qr(c.val);
2951
2923
  if (f.length === 0)
2952
2924
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2953
2925
  var b = p(h, this.clonePosition());
2954
- u = { style: f, styleLocation: b };
2926
+ a = { style: f, styleLocation: b };
2955
2927
  }
2956
2928
  var y = this.tryParseArgumentClose(i);
2957
2929
  if (y.err)
2958
2930
  return y;
2959
2931
  var x = p(i, this.clonePosition());
2960
- if (u && Ze(u?.style, "::", 0)) {
2961
- var S = Qn(u.style.slice(2));
2932
+ if (a && Ze(a?.style, "::", 0)) {
2933
+ var S = Qr(a.style.slice(2));
2962
2934
  if (o === "number") {
2963
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
2935
+ var c = this.parseNumberSkeletonFromString(S, a.styleLocation);
2964
2936
  return c.err ? c : {
2965
- val: { type: _.number, value: r, location: x, style: c.val },
2937
+ val: { type: E.number, value: n, location: x, style: c.val },
2966
2938
  err: null
2967
2939
  };
2968
2940
  } else {
2969
2941
  if (S.length === 0)
2970
2942
  return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
2971
2943
  var N = S;
2972
- this.locale && (N = Rn(S, this.locale));
2944
+ this.locale && (N = Rr(S, this.locale));
2973
2945
  var f = {
2974
- type: j.dateTime,
2946
+ type: k.dateTime,
2975
2947
  pattern: N,
2976
- location: u.styleLocation,
2977
- parsedOptions: this.shouldParseSkeletons ? Pn(N) : {}
2978
- }, w = o === "date" ? _.date : _.time;
2948
+ location: a.styleLocation,
2949
+ parsedOptions: this.shouldParseSkeletons ? Pr(N) : {}
2950
+ }, w = o === "date" ? E.date : E.time;
2979
2951
  return {
2980
- val: { type: w, value: r, location: x, style: f },
2952
+ val: { type: w, value: n, location: x, style: f },
2981
2953
  err: null
2982
2954
  };
2983
2955
  }
2984
2956
  }
2985
2957
  return {
2986
2958
  val: {
2987
- type: o === "number" ? _.number : o === "date" ? _.date : _.time,
2988
- value: r,
2959
+ type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2960
+ value: n,
2989
2961
  location: x,
2990
- style: (s = u?.style) !== null && s !== void 0 ? s : null
2962
+ style: (s = a?.style) !== null && s !== void 0 ? s : null
2991
2963
  },
2992
2964
  err: null
2993
2965
  };
@@ -2997,7 +2969,7 @@ var Jn = (
2997
2969
  case "select": {
2998
2970
  var B = this.clonePosition();
2999
2971
  if (this.bumpSpace(), !this.bumpIf(","))
3000
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, E({}, B)));
2972
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, he({}, B)));
3001
2973
  this.bumpSpace();
3002
2974
  var O = this.parseIdentifierIfPossible(), P = 0;
3003
2975
  if (o !== "select" && O.value === "offset") {
@@ -3009,42 +2981,42 @@ var Jn = (
3009
2981
  return c;
3010
2982
  this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
3011
2983
  }
3012
- var T = this.tryParsePluralOrSelectOptions(t, o, n, O);
2984
+ var T = this.tryParsePluralOrSelectOptions(t, o, r, O);
3013
2985
  if (T.err)
3014
2986
  return T;
3015
2987
  var y = this.tryParseArgumentClose(i);
3016
2988
  if (y.err)
3017
2989
  return y;
3018
- var v = p(i, this.clonePosition());
2990
+ var _ = p(i, this.clonePosition());
3019
2991
  return o === "select" ? {
3020
2992
  val: {
3021
- type: _.select,
3022
- value: r,
2993
+ type: E.select,
2994
+ value: n,
3023
2995
  options: Qe(T.val),
3024
- location: v
2996
+ location: _
3025
2997
  },
3026
2998
  err: null
3027
2999
  } : {
3028
3000
  val: {
3029
- type: _.plural,
3030
- value: r,
3001
+ type: E.plural,
3002
+ value: n,
3031
3003
  options: Qe(T.val),
3032
3004
  offset: P,
3033
3005
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3034
- location: v
3006
+ location: _
3035
3007
  },
3036
3008
  err: null
3037
3009
  };
3038
3010
  }
3039
3011
  default:
3040
- return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
3012
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(u, l));
3041
3013
  }
3042
3014
  }, e.prototype.tryParseArgumentClose = function(t) {
3043
3015
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3044
3016
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3045
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3046
- var r = this.char();
3047
- switch (r) {
3017
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3018
+ var n = this.char();
3019
+ switch (n) {
3048
3020
  case 39: {
3049
3021
  this.bump();
3050
3022
  var i = this.clonePosition();
@@ -3062,7 +3034,7 @@ var Jn = (
3062
3034
  t -= 1;
3063
3035
  else
3064
3036
  return {
3065
- val: this.message.slice(n.offset, this.offset()),
3037
+ val: this.message.slice(r.offset, this.offset()),
3066
3038
  err: null
3067
3039
  };
3068
3040
  break;
@@ -3073,70 +3045,70 @@ var Jn = (
3073
3045
  }
3074
3046
  }
3075
3047
  return {
3076
- val: this.message.slice(n.offset, this.offset()),
3048
+ val: this.message.slice(r.offset, this.offset()),
3077
3049
  err: null
3078
3050
  };
3079
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3080
- var r = [];
3051
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3052
+ var n = [];
3081
3053
  try {
3082
- r = On(t);
3054
+ n = Or(t);
3083
3055
  } catch {
3084
- return this.error(d.INVALID_NUMBER_SKELETON, n);
3056
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3085
3057
  }
3086
3058
  return {
3087
3059
  val: {
3088
- type: j.number,
3089
- tokens: r,
3090
- location: n,
3091
- parsedOptions: this.shouldParseSkeletons ? Mn(r) : {}
3060
+ type: k.number,
3061
+ tokens: n,
3062
+ location: r,
3063
+ parsedOptions: this.shouldParseSkeletons ? Mr(n) : {}
3092
3064
  },
3093
3065
  err: null
3094
3066
  };
3095
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3096
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3097
- if (u.length === 0) {
3067
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3068
+ for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3069
+ if (a.length === 0) {
3098
3070
  var c = this.clonePosition();
3099
- if (n !== "select" && this.bumpIf("=")) {
3071
+ if (r !== "select" && this.bumpIf("=")) {
3100
3072
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3101
3073
  if (f.err)
3102
3074
  return f;
3103
- h = p(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3075
+ h = p(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
3104
3076
  } else
3105
3077
  break;
3106
3078
  }
3107
- if (l.has(u))
3108
- return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3109
- u === "other" && (a = !0), this.bumpSpace();
3079
+ if (l.has(a))
3080
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3081
+ a === "other" && (u = !0), this.bumpSpace();
3110
3082
  var b = this.clonePosition();
3111
3083
  if (!this.bumpIf("{"))
3112
- return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3113
- var y = this.parseMessage(t + 1, n, r);
3084
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3085
+ var y = this.parseMessage(t + 1, r, n);
3114
3086
  if (y.err)
3115
3087
  return y;
3116
3088
  var x = this.tryParseArgumentClose(b);
3117
3089
  if (x.err)
3118
3090
  return x;
3119
3091
  o.push([
3120
- u,
3092
+ a,
3121
3093
  {
3122
3094
  value: y.val,
3123
3095
  location: p(b, this.clonePosition())
3124
3096
  }
3125
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3097
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3126
3098
  }
3127
- return o.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3128
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3129
- var r = 1, i = this.clonePosition();
3130
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3131
- for (var s = !1, a = 0; !this.isEOF(); ) {
3099
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3100
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3101
+ var n = 1, i = this.clonePosition();
3102
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3103
+ for (var s = !1, u = 0; !this.isEOF(); ) {
3132
3104
  var o = this.char();
3133
3105
  if (o >= 48 && o <= 57)
3134
- s = !0, a = a * 10 + (o - 48), this.bump();
3106
+ s = !0, u = u * 10 + (o - 48), this.bump();
3135
3107
  else
3136
3108
  break;
3137
3109
  }
3138
3110
  var l = p(i, this.clonePosition());
3139
- return s ? (a *= r, Wn(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3111
+ return s ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3140
3112
  }, e.prototype.offset = function() {
3141
3113
  return this.position.offset;
3142
3114
  }, e.prototype.isEOF = function() {
@@ -3151,17 +3123,17 @@ var Jn = (
3151
3123
  var t = this.position.offset;
3152
3124
  if (t >= this.message.length)
3153
3125
  throw Error("out of bound");
3154
- var n = Bt(this.message, t);
3155
- if (n === void 0)
3126
+ var r = Bt(this.message, t);
3127
+ if (r === void 0)
3156
3128
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3157
- return n;
3158
- }, e.prototype.error = function(t, n) {
3129
+ return r;
3130
+ }, e.prototype.error = function(t, r) {
3159
3131
  return {
3160
3132
  val: null,
3161
3133
  err: {
3162
3134
  kind: t,
3163
3135
  message: this.message,
3164
- location: n
3136
+ location: r
3165
3137
  }
3166
3138
  };
3167
3139
  }, e.prototype.bump = function() {
@@ -3171,22 +3143,22 @@ var Jn = (
3171
3143
  }
3172
3144
  }, e.prototype.bumpIf = function(t) {
3173
3145
  if (Ze(this.message, t, this.offset())) {
3174
- for (var n = 0; n < t.length; n++)
3146
+ for (var r = 0; r < t.length; r++)
3175
3147
  this.bump();
3176
3148
  return !0;
3177
3149
  }
3178
3150
  return !1;
3179
3151
  }, e.prototype.bumpUntil = function(t) {
3180
- var n = this.offset(), r = this.message.indexOf(t, n);
3181
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3152
+ var r = this.offset(), n = this.message.indexOf(t, r);
3153
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3182
3154
  }, e.prototype.bumpTo = function(t) {
3183
3155
  if (this.offset() > t)
3184
3156
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3185
3157
  for (t = Math.min(t, this.message.length); ; ) {
3186
- var n = this.offset();
3187
- if (n === t)
3158
+ var r = this.offset();
3159
+ if (r === t)
3188
3160
  break;
3189
- if (n > t)
3161
+ if (r > t)
3190
3162
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3191
3163
  if (this.bump(), this.isEOF())
3192
3164
  break;
@@ -3197,55 +3169,55 @@ var Jn = (
3197
3169
  }, e.prototype.peek = function() {
3198
3170
  if (this.isEOF())
3199
3171
  return null;
3200
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3201
- return r ?? null;
3172
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3173
+ return n ?? null;
3202
3174
  }, e;
3203
3175
  }()
3204
3176
  );
3205
- function Oe(e) {
3177
+ function Le(e) {
3206
3178
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3207
3179
  }
3208
- function Yn(e) {
3209
- return Oe(e) || e === 47;
3180
+ function Yr(e) {
3181
+ return Le(e) || e === 47;
3210
3182
  }
3211
- function Kn(e) {
3183
+ function Kr(e) {
3212
3184
  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;
3213
3185
  }
3214
3186
  function wt(e) {
3215
3187
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3216
3188
  }
3217
- function er(e) {
3189
+ function en(e) {
3218
3190
  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;
3219
3191
  }
3220
- function Ie(e) {
3192
+ function Ce(e) {
3221
3193
  e.forEach(function(t) {
3222
3194
  if (delete t.location, yt(t) || Et(t))
3223
- for (var n in t.options)
3224
- delete t.options[n].location, Ie(t.options[n].value);
3195
+ for (var r in t.options)
3196
+ delete t.options[r].location, Ce(t.options[r].value);
3225
3197
  else
3226
- dt(t) && vt(t.style) || (bt(t) || pt(t)) && Ae(t.style) ? delete t.style.location : _t(t) && Ie(t.children);
3198
+ dt(t) && vt(t.style) || (bt(t) || pt(t)) && Pe(t.style) ? delete t.style.location : _t(t) && Ce(t.children);
3227
3199
  });
3228
3200
  }
3229
- function tr(e, t) {
3230
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3231
- var n = new Jn(e, t).parse();
3232
- if (n.err) {
3233
- var r = SyntaxError(d[n.err.kind]);
3234
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3201
+ function tn(e, t) {
3202
+ t === void 0 && (t = {}), t = he({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3203
+ var r = new Jr(e, t).parse();
3204
+ if (r.err) {
3205
+ var n = SyntaxError(d[r.err.kind]);
3206
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3235
3207
  }
3236
- return t?.captureLocation || Ie(n.val), n.val;
3208
+ return t?.captureLocation || Ce(r.val), r.val;
3237
3209
  }
3238
- var k;
3210
+ var V;
3239
3211
  (function(e) {
3240
3212
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3241
- })(k || (k = {}));
3242
- var me = (
3213
+ })(V || (V = {}));
3214
+ var de = (
3243
3215
  /** @class */
3244
3216
  function(e) {
3245
- fe(t, e);
3246
- function t(n, r, i) {
3247
- var s = e.call(this, n) || this;
3248
- return s.code = r, s.originalMessage = i, s;
3217
+ ge(t, e);
3218
+ function t(r, n, i) {
3219
+ var s = e.call(this, r) || this;
3220
+ return s.code = n, s.originalMessage = i, s;
3249
3221
  }
3250
3222
  return t.prototype.toString = function() {
3251
3223
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3254,44 +3226,44 @@ var me = (
3254
3226
  ), Je = (
3255
3227
  /** @class */
3256
3228
  function(e) {
3257
- fe(t, e);
3258
- function t(n, r, i, s) {
3259
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3229
+ ge(t, e);
3230
+ function t(r, n, i, s) {
3231
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3260
3232
  }
3261
3233
  return t;
3262
- }(me)
3263
- ), nr = (
3234
+ }(de)
3235
+ ), rn = (
3264
3236
  /** @class */
3265
3237
  function(e) {
3266
- fe(t, e);
3267
- function t(n, r, i) {
3268
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), k.INVALID_VALUE, i) || this;
3238
+ ge(t, e);
3239
+ function t(r, n, i) {
3240
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3269
3241
  }
3270
3242
  return t;
3271
- }(me)
3272
- ), rr = (
3243
+ }(de)
3244
+ ), nn = (
3273
3245
  /** @class */
3274
3246
  function(e) {
3275
- fe(t, e);
3276
- function t(n, r) {
3277
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), k.MISSING_VALUE, r) || this;
3247
+ ge(t, e);
3248
+ function t(r, n) {
3249
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3278
3250
  }
3279
3251
  return t;
3280
- }(me)
3252
+ }(de)
3281
3253
  ), A;
3282
3254
  (function(e) {
3283
3255
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3284
3256
  })(A || (A = {}));
3285
- function ir(e) {
3286
- return e.length < 2 ? e : e.reduce(function(t, n) {
3287
- var r = t[t.length - 1];
3288
- return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
3257
+ function sn(e) {
3258
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3259
+ var n = t[t.length - 1];
3260
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3289
3261
  }, []);
3290
3262
  }
3291
- function sr(e) {
3263
+ function an(e) {
3292
3264
  return typeof e == "function";
3293
3265
  }
3294
- function ae(e, t, n, r, i, s, a) {
3266
+ function oe(e, t, r, n, i, s, u) {
3295
3267
  if (e.length === 1 && Ve(e[0]))
3296
3268
  return [
3297
3269
  {
@@ -3299,8 +3271,8 @@ function ae(e, t, n, r, i, s, a) {
3299
3271
  value: e[0].value
3300
3272
  }
3301
3273
  ];
3302
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3303
- var h = u[l];
3274
+ for (var o = [], l = 0, a = e; l < a.length; l++) {
3275
+ var h = a[l];
3304
3276
  if (Ve(h)) {
3305
3277
  o.push({
3306
3278
  type: A.literal,
@@ -3308,18 +3280,18 @@ function ae(e, t, n, r, i, s, a) {
3308
3280
  });
3309
3281
  continue;
3310
3282
  }
3311
- if (An(h)) {
3283
+ if (Ar(h)) {
3312
3284
  typeof s == "number" && o.push({
3313
3285
  type: A.literal,
3314
- value: n.getNumberFormat(t).format(s)
3286
+ value: r.getNumberFormat(t).format(s)
3315
3287
  });
3316
3288
  continue;
3317
3289
  }
3318
3290
  var c = h.value;
3319
3291
  if (!(i && c in i))
3320
- throw new rr(c, a);
3292
+ throw new nn(c, u);
3321
3293
  var f = i[c];
3322
- if (Bn(h)) {
3294
+ if (Br(h)) {
3323
3295
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3324
3296
  type: typeof f == "string" ? A.literal : A.object,
3325
3297
  value: f
@@ -3327,34 +3299,34 @@ function ae(e, t, n, r, i, s, a) {
3327
3299
  continue;
3328
3300
  }
3329
3301
  if (bt(h)) {
3330
- var b = typeof h.style == "string" ? r.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3302
+ var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3331
3303
  o.push({
3332
3304
  type: A.literal,
3333
- value: n.getDateTimeFormat(t, b).format(f)
3305
+ value: r.getDateTimeFormat(t, b).format(f)
3334
3306
  });
3335
3307
  continue;
3336
3308
  }
3337
3309
  if (pt(h)) {
3338
- var b = typeof h.style == "string" ? r.time[h.style] : Ae(h.style) ? h.style.parsedOptions : r.time.medium;
3310
+ var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
3339
3311
  o.push({
3340
3312
  type: A.literal,
3341
- value: n.getDateTimeFormat(t, b).format(f)
3313
+ value: r.getDateTimeFormat(t, b).format(f)
3342
3314
  });
3343
3315
  continue;
3344
3316
  }
3345
3317
  if (dt(h)) {
3346
- var b = typeof h.style == "string" ? r.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3318
+ var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3347
3319
  b && b.scale && (f = f * (b.scale || 1)), o.push({
3348
3320
  type: A.literal,
3349
- value: n.getNumberFormat(t, b).format(f)
3321
+ value: r.getNumberFormat(t, b).format(f)
3350
3322
  });
3351
3323
  continue;
3352
3324
  }
3353
3325
  if (_t(h)) {
3354
3326
  var y = h.children, x = h.value, S = i[x];
3355
- if (!sr(S))
3356
- throw new nr(x, "function", a);
3357
- var N = ae(y, t, n, r, i, s), w = S(N.map(function(P) {
3327
+ if (!an(S))
3328
+ throw new rn(x, "function", u);
3329
+ var N = oe(y, t, r, n, i, s), w = S(N.map(function(P) {
3358
3330
  return P.value;
3359
3331
  }));
3360
3332
  Array.isArray(w) || (w = [w]), o.push.apply(o, w.map(function(P) {
@@ -3367,104 +3339,104 @@ function ae(e, t, n, r, i, s, a) {
3367
3339
  if (yt(h)) {
3368
3340
  var B = h.options[f] || h.options.other;
3369
3341
  if (!B)
3370
- throw new Je(h.value, f, Object.keys(h.options), a);
3371
- o.push.apply(o, ae(B.value, t, n, r, i));
3342
+ throw new Je(h.value, f, Object.keys(h.options), u);
3343
+ o.push.apply(o, oe(B.value, t, r, n, i));
3372
3344
  continue;
3373
3345
  }
3374
3346
  if (Et(h)) {
3375
3347
  var B = h.options["=".concat(f)];
3376
3348
  if (!B) {
3377
3349
  if (!Intl.PluralRules)
3378
- throw new me(`Intl.PluralRules is not available in this environment.
3350
+ throw new de(`Intl.PluralRules is not available in this environment.
3379
3351
  Try polyfilling it using "@formatjs/intl-pluralrules"
3380
- `, k.MISSING_INTL_API, a);
3381
- var O = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3352
+ `, V.MISSING_INTL_API, u);
3353
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3382
3354
  B = h.options[O] || h.options.other;
3383
3355
  }
3384
3356
  if (!B)
3385
- throw new Je(h.value, f, Object.keys(h.options), a);
3386
- o.push.apply(o, ae(B.value, t, n, r, i, f - (h.offset || 0)));
3357
+ throw new Je(h.value, f, Object.keys(h.options), u);
3358
+ o.push.apply(o, oe(B.value, t, r, n, i, f - (h.offset || 0)));
3387
3359
  continue;
3388
3360
  }
3389
3361
  }
3390
- return ir(o);
3362
+ return sn(o);
3391
3363
  }
3392
- function ar(e, t) {
3393
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3394
- return n[r] = E(E({}, e[r]), t[r] || {}), n;
3364
+ function on(e, t) {
3365
+ return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3366
+ return r[n] = C(C({}, e[n]), t[n] || {}), r;
3395
3367
  }, {})) : e;
3396
3368
  }
3397
- function or(e, t) {
3398
- return t ? Object.keys(e).reduce(function(n, r) {
3399
- return n[r] = ar(e[r], t[r]), n;
3400
- }, E({}, e)) : e;
3369
+ function un(e, t) {
3370
+ return t ? Object.keys(e).reduce(function(r, n) {
3371
+ return r[n] = on(e[n], t[n]), r;
3372
+ }, C({}, e)) : e;
3401
3373
  }
3402
- function ve(e) {
3374
+ function He(e) {
3403
3375
  return {
3404
3376
  create: function() {
3405
3377
  return {
3406
3378
  get: function(t) {
3407
3379
  return e[t];
3408
3380
  },
3409
- set: function(t, n) {
3410
- e[t] = n;
3381
+ set: function(t, r) {
3382
+ e[t] = r;
3411
3383
  }
3412
3384
  };
3413
3385
  }
3414
3386
  };
3415
3387
  }
3416
- function ur(e) {
3388
+ function hn(e) {
3417
3389
  return e === void 0 && (e = {
3418
3390
  number: {},
3419
3391
  dateTime: {},
3420
3392
  pluralRules: {}
3421
3393
  }), {
3422
- getNumberFormat: ye(function() {
3423
- for (var t, n = [], r = 0; r < arguments.length; r++)
3424
- n[r] = arguments[r];
3425
- return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], n, !1)))();
3394
+ getNumberFormat: _e(function() {
3395
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3396
+ r[n] = arguments[n];
3397
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3426
3398
  }, {
3427
- cache: ve(e.number),
3428
- strategy: Ee.variadic
3399
+ cache: He(e.number),
3400
+ strategy: ve.variadic
3429
3401
  }),
3430
- getDateTimeFormat: ye(function() {
3431
- for (var t, n = [], r = 0; r < arguments.length; r++)
3432
- n[r] = arguments[r];
3433
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], n, !1)))();
3402
+ getDateTimeFormat: _e(function() {
3403
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3404
+ r[n] = arguments[n];
3405
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3434
3406
  }, {
3435
- cache: ve(e.dateTime),
3436
- strategy: Ee.variadic
3407
+ cache: He(e.dateTime),
3408
+ strategy: ve.variadic
3437
3409
  }),
3438
- getPluralRules: ye(function() {
3439
- for (var t, n = [], r = 0; r < arguments.length; r++)
3440
- n[r] = arguments[r];
3441
- return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], n, !1)))();
3410
+ getPluralRules: _e(function() {
3411
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3412
+ r[n] = arguments[n];
3413
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3442
3414
  }, {
3443
- cache: ve(e.pluralRules),
3444
- strategy: Ee.variadic
3415
+ cache: He(e.pluralRules),
3416
+ strategy: ve.variadic
3445
3417
  })
3446
3418
  };
3447
3419
  }
3448
- var hr = (
3420
+ var ln = (
3449
3421
  /** @class */
3450
3422
  function() {
3451
- function e(t, n, r, i) {
3452
- n === void 0 && (n = e.defaultLocale);
3423
+ function e(t, r, n, i) {
3424
+ r === void 0 && (r = e.defaultLocale);
3453
3425
  var s = this;
3454
3426
  if (this.formatterCache = {
3455
3427
  number: {},
3456
3428
  dateTime: {},
3457
3429
  pluralRules: {}
3458
3430
  }, this.format = function(l) {
3459
- var u = s.formatToParts(l);
3460
- if (u.length === 1)
3461
- return u[0].value;
3462
- var h = u.reduce(function(c, f) {
3431
+ var a = s.formatToParts(l);
3432
+ if (a.length === 1)
3433
+ return a[0].value;
3434
+ var h = a.reduce(function(c, f) {
3463
3435
  return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3464
3436
  }, []);
3465
3437
  return h.length <= 1 ? h[0] || "" : h;
3466
3438
  }, this.formatToParts = function(l) {
3467
- return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3439
+ return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3468
3440
  }, this.resolvedOptions = function() {
3469
3441
  var l;
3470
3442
  return {
@@ -3472,18 +3444,18 @@ var hr = (
3472
3444
  };
3473
3445
  }, this.getAst = function() {
3474
3446
  return s.ast;
3475
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3447
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3476
3448
  if (this.message = t, !e.__parse)
3477
3449
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3478
- var a = i || {};
3479
- a.formatters;
3480
- var o = tn(a, ["formatters"]);
3481
- this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3450
+ var u = i || {};
3451
+ u.formatters;
3452
+ var o = yr(u, ["formatters"]);
3453
+ this.ast = e.__parse(t, C(C({}, o), { locale: this.resolvedLocale }));
3482
3454
  } else
3483
3455
  this.ast = t;
3484
3456
  if (!Array.isArray(this.ast))
3485
3457
  throw new TypeError("A message must be provided as a String or AST.");
3486
- this.formats = or(e.formats, r), this.formatters = i && i.formatters || ur(this.formatterCache);
3458
+ this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3487
3459
  }
3488
3460
  return Object.defineProperty(e, "defaultLocale", {
3489
3461
  get: function() {
@@ -3493,10 +3465,10 @@ var hr = (
3493
3465
  configurable: !0
3494
3466
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3495
3467
  if (!(typeof Intl.Locale > "u")) {
3496
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3497
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3468
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3469
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3498
3470
  }
3499
- }, e.__parse = tr, e.formats = {
3471
+ }, e.__parse = tn, e.formats = {
3500
3472
  number: {
3501
3473
  integer: {
3502
3474
  maximumFractionDigits: 0
@@ -3557,113 +3529,113 @@ var hr = (
3557
3529
  }, e;
3558
3530
  }()
3559
3531
  );
3560
- function lr(e, t) {
3532
+ function fn(e, t) {
3561
3533
  if (t == null)
3562
3534
  return;
3563
3535
  if (t in e)
3564
3536
  return e[t];
3565
- const n = t.split(".");
3566
- let r = e;
3567
- for (let i = 0; i < n.length; i++)
3568
- if (typeof r == "object") {
3537
+ const r = t.split(".");
3538
+ let n = e;
3539
+ for (let i = 0; i < r.length; i++)
3540
+ if (typeof n == "object") {
3569
3541
  if (i > 0) {
3570
- const s = n.slice(i, n.length).join(".");
3571
- if (s in r) {
3572
- r = r[s];
3542
+ const s = r.slice(i, r.length).join(".");
3543
+ if (s in n) {
3544
+ n = n[s];
3573
3545
  break;
3574
3546
  }
3575
3547
  }
3576
- r = r[n[i]];
3548
+ n = n[r[i]];
3577
3549
  } else
3578
- r = void 0;
3579
- return r;
3550
+ n = void 0;
3551
+ return n;
3580
3552
  }
3581
- const C = {}, fr = (e, t, n) => n && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = n), n), Pt = (e, t) => {
3553
+ const M = {}, cn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Pt = (e, t) => {
3582
3554
  if (t == null)
3583
3555
  return;
3584
- if (t in C && e in C[t])
3585
- return C[t][e];
3586
- const n = ge(t);
3587
- for (let r = 0; r < n.length; r++) {
3588
- const i = n[r], s = mr(i, e);
3556
+ if (t in M && e in M[t])
3557
+ return M[t][e];
3558
+ const r = be(t);
3559
+ for (let n = 0; n < r.length; n++) {
3560
+ const i = r[n], s = gn(i, e);
3589
3561
  if (s)
3590
- return fr(e, t, s);
3562
+ return cn(e, t, s);
3591
3563
  }
3592
3564
  };
3593
3565
  let De;
3594
- const W = ce({});
3595
- function cr(e) {
3566
+ const Z = me({});
3567
+ function mn(e) {
3596
3568
  return De[e] || null;
3597
3569
  }
3598
3570
  function Nt(e) {
3599
3571
  return e in De;
3600
3572
  }
3601
- function mr(e, t) {
3573
+ function gn(e, t) {
3602
3574
  if (!Nt(e))
3603
3575
  return null;
3604
- const n = cr(e);
3605
- return lr(n, t);
3576
+ const r = mn(e);
3577
+ return fn(r, t);
3606
3578
  }
3607
- function gr(e) {
3579
+ function dn(e) {
3608
3580
  if (e == null)
3609
3581
  return;
3610
- const t = ge(e);
3611
- for (let n = 0; n < t.length; n++) {
3612
- const r = t[n];
3613
- if (Nt(r))
3614
- return r;
3582
+ const t = be(e);
3583
+ for (let r = 0; r < t.length; r++) {
3584
+ const n = t[r];
3585
+ if (Nt(n))
3586
+ return n;
3615
3587
  }
3616
3588
  }
3617
- function dr(e, ...t) {
3618
- delete C[e], W.update((n) => (n[e] = En.all([n[e] || {}, ...t]), n));
3589
+ function bn(e, ...t) {
3590
+ delete M[e], Z.update((r) => (r[e] = pr.all([r[e] || {}, ...t]), r));
3619
3591
  }
3620
- z(
3621
- [W],
3592
+ W(
3593
+ [Z],
3622
3594
  ([e]) => Object.keys(e)
3623
3595
  );
3624
- W.subscribe((e) => De = e);
3625
- const oe = {};
3626
- function br(e, t) {
3627
- oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3596
+ Z.subscribe((e) => De = e);
3597
+ const ue = {};
3598
+ function pn(e, t) {
3599
+ ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3628
3600
  }
3629
3601
  function Ot(e) {
3630
- return oe[e];
3602
+ return ue[e];
3631
3603
  }
3632
- function pr(e) {
3633
- return ge(e).map((t) => {
3634
- const n = Ot(t);
3635
- return [t, n ? [...n] : []];
3604
+ function yn(e) {
3605
+ return be(e).map((t) => {
3606
+ const r = Ot(t);
3607
+ return [t, r ? [...r] : []];
3636
3608
  }).filter(([, t]) => t.length > 0);
3637
3609
  }
3638
- function Le(e) {
3639
- return e == null ? !1 : ge(e).some(
3610
+ function Me(e) {
3611
+ return e == null ? !1 : be(e).some(
3640
3612
  (t) => {
3641
- var n;
3642
- return (n = Ot(t)) == null ? void 0 : n.size;
3613
+ var r;
3614
+ return (r = Ot(t)) == null ? void 0 : r.size;
3643
3615
  }
3644
3616
  );
3645
3617
  }
3646
- function yr(e, t) {
3618
+ function En(e, t) {
3647
3619
  return Promise.all(
3648
- t.map((r) => (br(e, r), r().then((i) => i.default || i)))
3649
- ).then((r) => dr(e, ...r));
3620
+ t.map((n) => (pn(e, n), n().then((i) => i.default || i)))
3621
+ ).then((n) => bn(e, ...n));
3650
3622
  }
3651
- const Q = {};
3623
+ const q = {};
3652
3624
  function It(e) {
3653
- if (!Le(e))
3654
- return e in Q ? Q[e] : Promise.resolve();
3655
- const t = pr(e);
3656
- return Q[e] = Promise.all(
3625
+ if (!Me(e))
3626
+ return e in q ? q[e] : Promise.resolve();
3627
+ const t = yn(e);
3628
+ return q[e] = Promise.all(
3657
3629
  t.map(
3658
- ([n, r]) => yr(n, r)
3630
+ ([r, n]) => En(r, n)
3659
3631
  )
3660
3632
  ).then(() => {
3661
- if (Le(e))
3633
+ if (Me(e))
3662
3634
  return It(e);
3663
- delete Q[e];
3664
- }), Q[e];
3635
+ delete q[e];
3636
+ }), q[e];
3665
3637
  }
3666
- const Er = {
3638
+ const _n = {
3667
3639
  number: {
3668
3640
  scientific: { notation: "scientific" },
3669
3641
  engineering: { notation: "engineering" },
@@ -3692,150 +3664,150 @@ const Er = {
3692
3664
  timeZoneName: "short"
3693
3665
  }
3694
3666
  }
3695
- }, _r = {
3667
+ }, vn = {
3696
3668
  fallbackLocale: null,
3697
3669
  loadingDelay: 200,
3698
- formats: Er,
3670
+ formats: _n,
3699
3671
  warnOnMissingMessages: !0,
3700
3672
  handleMissingMessage: void 0,
3701
3673
  ignoreTag: !0
3702
- }, vr = _r;
3703
- function V() {
3704
- return vr;
3705
- }
3706
- const xe = ce(!1);
3707
- var xr = Object.defineProperty, Hr = Object.defineProperties, Tr = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Ke = (e, t, n) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ar = (e, t) => {
3708
- for (var n in t || (t = {}))
3709
- Sr.call(t, n) && Ke(e, n, t[n]);
3674
+ }, xn = vn;
3675
+ function X() {
3676
+ return xn;
3677
+ }
3678
+ const Te = me(!1);
3679
+ var Hn = Object.defineProperty, Tn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Bn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wn = (e, t) => {
3680
+ for (var r in t || (t = {}))
3681
+ Bn.call(t, r) && Ke(e, r, t[r]);
3710
3682
  if (Ye)
3711
- for (var n of Ye(t))
3712
- Br.call(t, n) && Ke(e, n, t[n]);
3683
+ for (var r of Ye(t))
3684
+ An.call(t, r) && Ke(e, r, t[r]);
3713
3685
  return e;
3714
- }, wr = (e, t) => Hr(e, Tr(t));
3715
- let Ce;
3716
- const ue = ce(null);
3686
+ }, Pn = (e, t) => Tn(e, Sn(t));
3687
+ let Re;
3688
+ const le = me(null);
3717
3689
  function et(e) {
3718
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3690
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3719
3691
  }
3720
- function ge(e, t = V().fallbackLocale) {
3721
- const n = et(e);
3722
- return t ? [.../* @__PURE__ */ new Set([...n, ...et(t)])] : n;
3692
+ function be(e, t = X().fallbackLocale) {
3693
+ const r = et(e);
3694
+ return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3723
3695
  }
3724
- function R() {
3725
- return Ce ?? void 0;
3696
+ function $() {
3697
+ return Re ?? void 0;
3726
3698
  }
3727
- ue.subscribe((e) => {
3728
- Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3699
+ le.subscribe((e) => {
3700
+ Re = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3729
3701
  });
3730
- const Pr = (e) => {
3731
- if (e && gr(e) && Le(e)) {
3732
- const { loadingDelay: t } = V();
3733
- let n;
3734
- return typeof window < "u" && R() != null && t ? n = window.setTimeout(
3735
- () => xe.set(!0),
3702
+ const Nn = (e) => {
3703
+ if (e && dn(e) && Me(e)) {
3704
+ const { loadingDelay: t } = X();
3705
+ let r;
3706
+ return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3707
+ () => Te.set(!0),
3736
3708
  t
3737
- ) : xe.set(!0), It(e).then(() => {
3738
- ue.set(e);
3709
+ ) : Te.set(!0), It(e).then(() => {
3710
+ le.set(e);
3739
3711
  }).finally(() => {
3740
- clearTimeout(n), xe.set(!1);
3712
+ clearTimeout(r), Te.set(!1);
3741
3713
  });
3742
3714
  }
3743
- return ue.set(e);
3744
- }, M = wr(Ar({}, ue), {
3745
- set: Pr
3746
- }), de = (e) => {
3715
+ return le.set(e);
3716
+ }, R = Pn(wn({}, le), {
3717
+ set: Nn
3718
+ }), pe = (e) => {
3747
3719
  const t = /* @__PURE__ */ Object.create(null);
3748
- return (r) => {
3749
- const i = JSON.stringify(r);
3750
- return i in t ? t[i] : t[i] = e(r);
3720
+ return (n) => {
3721
+ const i = JSON.stringify(n);
3722
+ return i in t ? t[i] : t[i] = e(n);
3751
3723
  };
3752
3724
  };
3753
- var Nr = Object.defineProperty, he = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, n) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ge = (e, t) => {
3754
- for (var n in t || (t = {}))
3755
- Lt.call(t, n) && tt(e, n, t[n]);
3756
- if (he)
3757
- for (var n of he(t))
3758
- Ct.call(t, n) && tt(e, n, t[n]);
3725
+ var On = Object.defineProperty, fe = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3726
+ for (var r in t || (t = {}))
3727
+ Lt.call(t, r) && tt(e, r, t[r]);
3728
+ if (fe)
3729
+ for (var r of fe(t))
3730
+ Ct.call(t, r) && tt(e, r, t[r]);
3759
3731
  return e;
3760
- }, Z = (e, t) => {
3761
- var n = {};
3762
- for (var r in e)
3763
- Lt.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3764
- if (e != null && he)
3765
- for (var r of he(e))
3766
- t.indexOf(r) < 0 && Ct.call(e, r) && (n[r] = e[r]);
3767
- return n;
3732
+ }, Q = (e, t) => {
3733
+ var r = {};
3734
+ for (var n in e)
3735
+ Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3736
+ if (e != null && fe)
3737
+ for (var n of fe(e))
3738
+ t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
3739
+ return r;
3768
3740
  };
3769
- const K = (e, t) => {
3770
- const { formats: n } = V();
3771
- if (e in n && t in n[e])
3772
- return n[e][t];
3741
+ const ee = (e, t) => {
3742
+ const { formats: r } = X();
3743
+ if (e in r && t in r[e])
3744
+ return r[e][t];
3773
3745
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3774
- }, Or = de(
3746
+ }, In = pe(
3775
3747
  (e) => {
3776
- var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
3777
- if (n == null)
3748
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3749
+ if (r == null)
3778
3750
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3779
- return r && (i = K("number", r)), new Intl.NumberFormat(n, i);
3751
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3780
3752
  }
3781
- ), Ir = de(
3753
+ ), Ln = pe(
3782
3754
  (e) => {
3783
- var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
3784
- if (n == null)
3755
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3756
+ if (r == null)
3785
3757
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3786
- return r ? i = K("date", r) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(n, i);
3758
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3787
3759
  }
3788
- ), Lr = de(
3760
+ ), Cn = pe(
3789
3761
  (e) => {
3790
- var t = e, { locale: n, format: r } = t, i = Z(t, ["locale", "format"]);
3791
- if (n == null)
3762
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3763
+ if (r == null)
3792
3764
  throw new Error(
3793
3765
  '[svelte-i18n] A "locale" must be set to format time values'
3794
3766
  );
3795
- return r ? i = K("time", r) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(n, i);
3767
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3796
3768
  }
3797
- ), Cr = (e = {}) => {
3769
+ ), Mn = (e = {}) => {
3798
3770
  var t = e, {
3799
- locale: n = R()
3800
- } = t, r = Z(t, [
3771
+ locale: r = $()
3772
+ } = t, n = Q(t, [
3801
3773
  "locale"
3802
3774
  ]);
3803
- return Or(Ge({ locale: n }, r));
3804
- }, Mr = (e = {}) => {
3775
+ return In(Ge({ locale: r }, n));
3776
+ }, Rn = (e = {}) => {
3805
3777
  var t = e, {
3806
- locale: n = R()
3807
- } = t, r = Z(t, [
3778
+ locale: r = $()
3779
+ } = t, n = Q(t, [
3808
3780
  "locale"
3809
3781
  ]);
3810
- return Ir(Ge({ locale: n }, r));
3811
- }, Rr = (e = {}) => {
3782
+ return Ln(Ge({ locale: r }, n));
3783
+ }, $n = (e = {}) => {
3812
3784
  var t = e, {
3813
- locale: n = R()
3814
- } = t, r = Z(t, [
3785
+ locale: r = $()
3786
+ } = t, n = Q(t, [
3815
3787
  "locale"
3816
3788
  ]);
3817
- return Lr(Ge({ locale: n }, r));
3818
- }, $r = de(
3789
+ return Cn(Ge({ locale: r }, n));
3790
+ }, Un = pe(
3819
3791
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3820
- (e, t = R()) => new hr(e, t, V().formats, {
3821
- ignoreTag: V().ignoreTag
3792
+ (e, t = $()) => new ln(e, t, X().formats, {
3793
+ ignoreTag: X().ignoreTag
3822
3794
  })
3823
- ), Ur = (e, t = {}) => {
3824
- var n, r, i, s;
3825
- let a = t;
3826
- typeof e == "object" && (a = e, e = a.id);
3795
+ ), Dn = (e, t = {}) => {
3796
+ var r, n, i, s;
3797
+ let u = t;
3798
+ typeof e == "object" && (u = e, e = u.id);
3827
3799
  const {
3828
3800
  values: o,
3829
- locale: l = R(),
3830
- default: u
3831
- } = a;
3801
+ locale: l = $(),
3802
+ default: a
3803
+ } = u;
3832
3804
  if (l == null)
3833
3805
  throw new Error(
3834
3806
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3835
3807
  );
3836
3808
  let h = Pt(e, l);
3837
3809
  if (!h)
3838
- h = (s = (i = (r = (n = V()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3810
+ h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3839
3811
  else if (typeof h != "string")
3840
3812
  return console.warn(
3841
3813
  `[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.`
@@ -3844,7 +3816,7 @@ const K = (e, t) => {
3844
3816
  return h;
3845
3817
  let c = h;
3846
3818
  try {
3847
- c = $r(h, l).format(o);
3819
+ c = Un(h, l).format(o);
3848
3820
  } catch (f) {
3849
3821
  f instanceof Error && console.warn(
3850
3822
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3852,65 +3824,65 @@ const K = (e, t) => {
3852
3824
  );
3853
3825
  }
3854
3826
  return c;
3855
- }, Dr = (e, t) => Rr(t).format(e), Gr = (e, t) => Mr(t).format(e), Fr = (e, t) => Cr(t).format(e), jr = (e, t = R()) => Pt(e, t), gi = z([M, W], () => Ur);
3856
- z([M], () => Dr);
3857
- z([M], () => Gr);
3858
- z([M], () => Fr);
3859
- z([M, W], () => jr);
3860
- function kr(e, t) {
3827
+ }, Gn = (e, t) => $n(t).format(e), Fn = (e, t) => Rn(t).format(e), jn = (e, t) => Mn(t).format(e), kn = (e, t = $()) => Pt(e, t), mi = W([R, Z], () => Dn);
3828
+ W([R], () => Gn);
3829
+ W([R], () => Fn);
3830
+ W([R], () => jn);
3831
+ W([R, Z], () => kn);
3832
+ function Vn(e, t) {
3861
3833
  if (e) {
3862
- const n = document.createElement("style");
3863
- n.innerHTML = t, e.appendChild(n);
3834
+ const r = document.createElement("style");
3835
+ r.innerHTML = t, e.appendChild(r);
3864
3836
  }
3865
3837
  }
3866
- function Vr(e, t) {
3838
+ function Xn(e, t) {
3867
3839
  if (!e || !t)
3868
3840
  return;
3869
- const n = new URL(t);
3870
- fetch(n.href).then((r) => r.text()).then((r) => {
3841
+ const r = new URL(t);
3842
+ fetch(r.href).then((n) => n.text()).then((n) => {
3871
3843
  const i = document.createElement("style");
3872
- i.innerHTML = r, e && e.appendChild(i);
3873
- }).catch((r) => {
3874
- console.error("There was an error while trying to load client styling from URL", r);
3844
+ i.innerHTML = n, e && e.appendChild(i);
3845
+ }).catch((n) => {
3846
+ console.error("There was an error while trying to load client styling from URL", n);
3875
3847
  });
3876
3848
  }
3877
- function Xr(e, t, n) {
3849
+ function zn(e, t, r) {
3878
3850
  if (window.emMessageBus) {
3879
- const r = document.createElement("style");
3851
+ const n = document.createElement("style");
3880
3852
  window.emMessageBus.subscribe(t, (i) => {
3881
- r.innerHTML = i, e && e.appendChild(r);
3853
+ n.innerHTML = i, e && e.appendChild(n);
3882
3854
  });
3883
3855
  }
3884
3856
  }
3885
- function zr({ withLocale: e, translations: t }) {
3886
- M.subscribe((n) => {
3887
- n == null && (W.set(t), M.set(e));
3857
+ function Wn({ withLocale: e, translations: t }) {
3858
+ R.subscribe((r) => {
3859
+ r == null && (Z.set(t), R.set(e));
3888
3860
  });
3889
3861
  }
3890
3862
  if (typeof window < "u") {
3891
3863
  let e = function(t) {
3892
- return function(...n) {
3864
+ return function(...r) {
3893
3865
  try {
3894
- return t.apply(this, n);
3895
- } catch (r) {
3896
- if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
3866
+ return t.apply(this, r);
3867
+ } catch (n) {
3868
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3897
3869
  return !1;
3898
- throw r;
3870
+ throw n;
3899
3871
  }
3900
3872
  };
3901
3873
  };
3902
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-1u77-OEV.js").then(({ default: t }) => {
3874
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-7O2PEJfi.js").then(({ default: t }) => {
3903
3875
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
3904
3876
  });
3905
3877
  }
3906
- function Wr(e) {
3878
+ function Zn(e) {
3907
3879
  Ut(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3908
3880
  }
3909
- function nt(e) {
3881
+ function rt(e) {
3910
3882
  let t;
3911
3883
  return {
3912
3884
  c() {
3913
- t = te("casino-games-category-section-nd"), g(
3885
+ t = re("casino-games-category-section-nd"), g(
3914
3886
  t,
3915
3887
  "session",
3916
3888
  /*session*/
@@ -4007,178 +3979,178 @@ function nt(e) {
4007
3979
  e[6]
4008
3980
  );
4009
3981
  },
4010
- m(n, r) {
4011
- le(n, t, r);
3982
+ m(r, n) {
3983
+ ce(r, t, n);
4012
3984
  },
4013
- p(n, r) {
4014
- r & /*session*/
3985
+ p(r, n) {
3986
+ n & /*session*/
4015
3987
  16 && g(
4016
3988
  t,
4017
3989
  "session",
4018
3990
  /*session*/
4019
- n[4]
4020
- ), r & /*userid*/
3991
+ r[4]
3992
+ ), n & /*userid*/
4021
3993
  32 && g(
4022
3994
  t,
4023
3995
  "userid",
4024
3996
  /*userid*/
4025
- n[5]
4026
- ), r & /*endpoint*/
3997
+ r[5]
3998
+ ), n & /*endpoint*/
4027
3999
  1 && g(
4028
4000
  t,
4029
4001
  "endpoint",
4030
4002
  /*endpoint*/
4031
- n[0]
4032
- ), r & /*datasource*/
4003
+ r[0]
4004
+ ), n & /*datasource*/
4033
4005
  2 && g(
4034
4006
  t,
4035
4007
  "datasource",
4036
4008
  /*datasource*/
4037
- n[1]
4038
- ), r & /*lang*/
4009
+ r[1]
4010
+ ), n & /*lang*/
4039
4011
  8 && g(
4040
4012
  t,
4041
4013
  "lang",
4042
4014
  /*lang*/
4043
- n[3]
4044
- ), r & /*currency*/
4015
+ r[3]
4016
+ ), n & /*currency*/
4045
4017
  4 && g(
4046
4018
  t,
4047
4019
  "currency",
4048
4020
  /*currency*/
4049
- n[2]
4050
- ), r & /*favorites*/
4021
+ r[2]
4022
+ ), n & /*favorites*/
4051
4023
  65536 && g(
4052
4024
  t,
4053
4025
  "favorites",
4054
4026
  /*favorites*/
4055
- n[16]
4056
- ), r & /*fetchviaevent*/
4027
+ r[16]
4028
+ ), n & /*fetchviaevent*/
4057
4029
  262144 && g(
4058
4030
  t,
4059
4031
  "fetchviaevent",
4060
4032
  /*fetchviaevent*/
4061
- n[18]
4062
- ), r & /*showgamename*/
4033
+ r[18]
4034
+ ), n & /*showgamename*/
4063
4035
  8192 && g(
4064
4036
  t,
4065
4037
  "showgamename",
4066
4038
  /*showgamename*/
4067
- n[13]
4068
- ), r & /*clientstyling*/
4039
+ r[13]
4040
+ ), n & /*clientstyling*/
4069
4041
  128 && g(
4070
4042
  t,
4071
4043
  "clientstyling",
4072
4044
  /*clientstyling*/
4073
- n[7]
4074
- ), r & /*clientstylingurl*/
4045
+ r[7]
4046
+ ), n & /*clientstylingurl*/
4075
4047
  256 && g(
4076
4048
  t,
4077
4049
  "clientstylingurl",
4078
4050
  /*clientstylingurl*/
4079
- n[8]
4080
- ), r & /*translationurl*/
4051
+ r[8]
4052
+ ), n & /*translationurl*/
4081
4053
  512 && g(
4082
4054
  t,
4083
4055
  "translationurl",
4084
4056
  /*translationurl*/
4085
- n[9]
4086
- ), r & /*livecasino*/
4057
+ r[9]
4058
+ ), n & /*livecasino*/
4087
4059
  1024 && g(
4088
4060
  t,
4089
4061
  "livecasino",
4090
4062
  /*livecasino*/
4091
- n[10]
4092
- ), r & /*visiblegames*/
4063
+ r[10]
4064
+ ), n & /*visiblegames*/
4093
4065
  32768 && g(
4094
4066
  t,
4095
4067
  "visiblegames",
4096
4068
  /*visiblegames*/
4097
- n[15]
4098
- ), r & /*gamepagemodalurl*/
4069
+ r[15]
4070
+ ), n & /*gamepagemodalurl*/
4099
4071
  16384 && g(
4100
4072
  t,
4101
4073
  "gamepagemodalurl",
4102
4074
  /*gamepagemodalurl*/
4103
- n[14]
4104
- ), r & /*integratedgameframedesktop*/
4075
+ r[14]
4076
+ ), n & /*integratedgameframedesktop*/
4105
4077
  4096 && g(
4106
4078
  t,
4107
4079
  "integratedgameframedesktop",
4108
4080
  /*integratedgameframedesktop*/
4109
- n[12]
4110
- ), r & /*integratedgameframemobile*/
4081
+ r[12]
4082
+ ), n & /*integratedgameframemobile*/
4111
4083
  2048 && g(
4112
4084
  t,
4113
4085
  "integratedgameframemobile",
4114
4086
  /*integratedgameframemobile*/
4115
- n[11]
4116
- ), r & /*casinomygames*/
4087
+ r[11]
4088
+ ), n & /*casinomygames*/
4117
4089
  131072 && g(
4118
4090
  t,
4119
4091
  "casinomygames",
4120
4092
  /*casinomygames*/
4121
- n[17]
4122
- ), r & /*mbsource*/
4093
+ r[17]
4094
+ ), n & /*mbsource*/
4123
4095
  64 && g(
4124
4096
  t,
4125
4097
  "mbsource",
4126
4098
  /*mbsource*/
4127
- n[6]
4099
+ r[6]
4128
4100
  );
4129
4101
  },
4130
- d(n) {
4131
- n && ee(t);
4102
+ d(r) {
4103
+ r && te(t);
4132
4104
  }
4133
4105
  };
4134
4106
  }
4135
- function Zr(e) {
4136
- let t, n = (
4107
+ function Qn(e) {
4108
+ let t, r = (
4137
4109
  /*session*/
4138
- e[4] && nt(e)
4110
+ e[4] && rt(e)
4139
4111
  );
4140
4112
  return {
4141
4113
  c() {
4142
- t = te("div"), n && n.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
4114
+ t = re("div"), r && r.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
4143
4115
  },
4144
- m(r, i) {
4145
- le(r, t, i), n && n.m(t, null), e[20](t);
4116
+ m(n, i) {
4117
+ ce(n, t, i), r && r.m(t, null), e[20](t);
4146
4118
  },
4147
- p(r, [i]) {
4119
+ p(n, [i]) {
4148
4120
  /*session*/
4149
- r[4] ? n ? n.p(r, i) : (n = nt(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
4121
+ n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4150
4122
  },
4151
4123
  i: I,
4152
4124
  o: I,
4153
- d(r) {
4154
- r && ee(t), n && n.d(), e[20](null);
4125
+ d(n) {
4126
+ n && te(t), r && r.d(), e[20](null);
4155
4127
  }
4156
4128
  };
4157
4129
  }
4158
- function Qr(e, t, n) {
4159
- let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { livecasino: b = "false" } = t, { integratedgameframemobile: y = "false" } = t, { integratedgameframedesktop: x = "false" } = t, { showgamename: S = "" } = t, { gamepagemodalurl: N = "false" } = t, { visiblegames: w = "" } = t, { favorites: B = "" } = t, { casinomygames: O = "false" } = t, { fetchviaevent: P = "true" } = t, T;
4160
- zr({ withLocale: "en", translations: {} }), Vt(() => () => {
4130
+ function qn(e, t, r) {
4131
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: u = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { mbsource: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { livecasino: b = "false" } = t, { integratedgameframemobile: y = "false" } = t, { integratedgameframedesktop: x = "false" } = t, { showgamename: S = "" } = t, { gamepagemodalurl: N = "false" } = t, { visiblegames: w = "" } = t, { favorites: B = "" } = t, { casinomygames: O = "false" } = t, { fetchviaevent: P = "true" } = t, T;
4132
+ Wn({ withLocale: "en", translations: {} }), Vt(() => () => {
4161
4133
  });
4162
- function v(m) {
4163
- He[m ? "unshift" : "push"](() => {
4164
- T = m, n(19, T);
4134
+ function _(m) {
4135
+ Se[m ? "unshift" : "push"](() => {
4136
+ T = m, r(19, T);
4165
4137
  });
4166
4138
  }
4167
4139
  return e.$$set = (m) => {
4168
- "endpoint" in m && n(0, r = m.endpoint), "datasource" in m && n(1, i = m.datasource), "currency" in m && n(2, s = m.currency), "lang" in m && n(3, a = m.lang), "session" in m && n(4, o = m.session), "userid" in m && n(5, l = m.userid), "mbsource" in m && n(6, u = m.mbsource), "clientstyling" in m && n(7, h = m.clientstyling), "clientstylingurl" in m && n(8, c = m.clientstylingurl), "translationurl" in m && n(9, f = m.translationurl), "livecasino" in m && n(10, b = m.livecasino), "integratedgameframemobile" in m && n(11, y = m.integratedgameframemobile), "integratedgameframedesktop" in m && n(12, x = m.integratedgameframedesktop), "showgamename" in m && n(13, S = m.showgamename), "gamepagemodalurl" in m && n(14, N = m.gamepagemodalurl), "visiblegames" in m && n(15, w = m.visiblegames), "favorites" in m && n(16, B = m.favorites), "casinomygames" in m && n(17, O = m.casinomygames), "fetchviaevent" in m && n(18, P = m.fetchviaevent);
4140
+ "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, u = m.lang), "session" in m && r(4, o = m.session), "userid" in m && r(5, l = m.userid), "mbsource" in m && r(6, a = m.mbsource), "clientstyling" in m && r(7, h = m.clientstyling), "clientstylingurl" in m && r(8, c = m.clientstylingurl), "translationurl" in m && r(9, f = m.translationurl), "livecasino" in m && r(10, b = m.livecasino), "integratedgameframemobile" in m && r(11, y = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(12, x = m.integratedgameframedesktop), "showgamename" in m && r(13, S = m.showgamename), "gamepagemodalurl" in m && r(14, N = m.gamepagemodalurl), "visiblegames" in m && r(15, w = m.visiblegames), "favorites" in m && r(16, B = m.favorites), "casinomygames" in m && r(17, O = m.casinomygames), "fetchviaevent" in m && r(18, P = m.fetchviaevent);
4169
4141
  }, e.$$.update = () => {
4170
4142
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4171
- 524416 && h && T && kr(T, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4172
- 524544 && c && T && Vr(T, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4173
- 524352 && u && T && Xr(T, `${u}.Style`);
4143
+ 524416 && h && T && Vn(T, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4144
+ 524544 && c && T && Xn(T, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4145
+ 524352 && a && T && zn(T, `${a}.Style`);
4174
4146
  }, [
4175
- r,
4147
+ n,
4176
4148
  i,
4177
4149
  s,
4178
- a,
4150
+ u,
4179
4151
  o,
4180
4152
  l,
4181
- u,
4153
+ a,
4182
4154
  h,
4183
4155
  c,
4184
4156
  f,
@@ -4192,7 +4164,7 @@ function Qr(e, t, n) {
4192
4164
  O,
4193
4165
  P,
4194
4166
  T,
4195
- v
4167
+ _
4196
4168
  ];
4197
4169
  }
4198
4170
  class Mt extends Kt {
@@ -4200,8 +4172,8 @@ class Mt extends Kt {
4200
4172
  super(), Jt(
4201
4173
  this,
4202
4174
  t,
4203
- Qr,
4204
- Zr,
4175
+ qn,
4176
+ Qn,
4205
4177
  it,
4206
4178
  {
4207
4179
  endpoint: 0,
@@ -4224,7 +4196,7 @@ class Mt extends Kt {
4224
4196
  casinomygames: 17,
4225
4197
  fetchviaevent: 18
4226
4198
  },
4227
- Wr
4199
+ Zn
4228
4200
  );
4229
4201
  }
4230
4202
  get endpoint() {
@@ -4343,55 +4315,51 @@ class Mt extends Kt {
4343
4315
  }
4344
4316
  }
4345
4317
  Yt(Mt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4346
- const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4318
+ const gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4347
4319
  __proto__: null,
4348
4320
  default: Mt
4349
4321
  }, Symbol.toStringTag, { value: "Module" }));
4350
4322
  export {
4351
- M as $,
4352
- ti as A,
4353
- ni as B,
4354
- Yr as C,
4355
- X as D,
4356
- ri as E,
4357
- gi as F,
4358
- qr as G,
4359
- g as H,
4323
+ R as $,
4324
+ Xn as A,
4325
+ zn as B,
4326
+ Yt as C,
4327
+ mi as D,
4328
+ g as E,
4329
+ ai as F,
4330
+ ti as G,
4331
+ oi as H,
4360
4332
  si as I,
4361
- ei as J,
4362
- ai as K,
4363
- ii as L,
4364
- ui as M,
4365
- oi as N,
4366
- fi as O,
4367
- li as P,
4368
- di as Q,
4333
+ hi as J,
4334
+ ui as K,
4335
+ ci as L,
4336
+ fi as M,
4337
+ gi as N,
4369
4338
  Kt as S,
4370
- ci as _,
4371
- pe as a,
4372
- mi as b,
4373
- fe as c,
4374
- W as d,
4375
- dr as e,
4339
+ Z as a,
4340
+ bn as b,
4341
+ Ut as c,
4342
+ te as d,
4343
+ ce as e,
4376
4344
  H as f,
4377
- Yt as g,
4378
- Ut as h,
4345
+ re as g,
4346
+ Yn as h,
4379
4347
  Jt as i,
4380
- te as j,
4381
- le as k,
4382
- ee as l,
4383
- Jr as m,
4348
+ Se as j,
4349
+ Ue as k,
4350
+ li as l,
4351
+ Kn as m,
4384
4352
  I as n,
4385
4353
  Vt as o,
4386
- He as p,
4387
- kr as q,
4388
- Vr as r,
4354
+ ni as p,
4355
+ $t as q,
4356
+ z as r,
4389
4357
  it as s,
4390
- Xr as t,
4391
- hi as u,
4392
- Ft as v,
4393
- Kr as w,
4394
- at as x,
4395
- Re as y,
4396
- $t as z
4358
+ ri as t,
4359
+ Ft as u,
4360
+ ei as v,
4361
+ at as w,
4362
+ ii as x,
4363
+ Jn as y,
4364
+ Vn as z
4397
4365
  };