@everymatrix/casino-my-games 1.54.12 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/components/{CasinoFavoritesSection-DFa1TY-K.js → CasinoFavoritesSection-Cr_1p8p4.js} +535 -501
  2. package/components/{CasinoFavoritesSection-BSrpzPoO.js → CasinoFavoritesSection-DIoOe8bF.js} +963 -929
  3. package/components/CasinoFavoritesSection-DMJutyCH.cjs +3 -0
  4. package/components/{CasinoFilter-D8jjwr_7.js → CasinoFilter-96hImlbp.js} +343 -328
  5. package/components/{CasinoFilter-BtJAqQRB.js → CasinoFilter-BAXN5UNP.js} +311 -298
  6. package/components/CasinoFilter-ClaGlN0C.cjs +3 -0
  7. package/components/{CasinoGameThumbnail-pQqhkC7Q.js → CasinoGameThumbnail-C1DChbwh.js} +1222 -1243
  8. package/components/{CasinoGameThumbnail-yV7Rm_Ui.js → CasinoGameThumbnail-Dn6CswCt.js} +1385 -1374
  9. package/components/{CasinoGameThumbnail-CkzGRkKl.cjs → CasinoGameThumbnail-JxxFkocu.cjs} +16 -16
  10. package/components/CasinoGamesCategorySection-B1748gTc.cjs +1 -0
  11. package/components/{CasinoGamesCategorySection-Dbfi-m_B.js → CasinoGamesCategorySection-DeAGkwnC.js} +1169 -1107
  12. package/components/{CasinoGamesCategorySection-xskv0zFo.js → CasinoGamesCategorySection-NzZcepd8.js} +695 -633
  13. package/components/{CasinoLastPlayedSection-BLXlGapd.js → CasinoLastPlayedSection-B_I73Vkt.js} +146 -137
  14. package/components/{CasinoLastPlayedSection-DkwXMSgA.js → CasinoLastPlayedSection-CeiejUws.js} +146 -137
  15. package/components/CasinoLastPlayedSection-DOq6X6Tx.cjs +1 -0
  16. package/components/{CasinoMostPlayedSection-B2QkJUiE.cjs → CasinoMostPlayedSection-BaJ4rHx5.cjs} +1 -1
  17. package/components/{CasinoMostPlayedSection-BBjfUegc.js → CasinoMostPlayedSection-DbS-S-SE.js} +30 -30
  18. package/components/{CasinoMostPlayedSection-CT_PdaLB.js → CasinoMostPlayedSection-_49P0UxX.js} +30 -30
  19. package/components/{CasinoMyGames-CFtfMaFn.cjs → CasinoMyGames-DfMMCiRd.cjs} +1 -1
  20. package/components/{CasinoMyGames-Bgdjdiij.js → CasinoMyGames-Du_G9Hyo.js} +140 -142
  21. package/components/{CasinoMyGames-uW7RuFpw.js → CasinoMyGames-pVUFXodP.js} +125 -129
  22. package/components/CasinoSort-CTUub2uF.cjs +1 -0
  23. package/components/{CasinoSort-B5_UOgHe.js → CasinoSort-CUiZIY5-.js} +180 -183
  24. package/components/CasinoSort-MYR9vcff.js +427 -0
  25. package/es2015/casino-my-games.cjs +1 -1
  26. package/es2015/casino-my-games.js +1 -1
  27. package/esnext/casino-my-games.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoFavoritesSection-dDLqd6y8.cjs +0 -3
  30. package/components/CasinoFilter-BCpVzS08.cjs +0 -3
  31. package/components/CasinoGamesCategorySection-D0rmwB17.cjs +0 -1
  32. package/components/CasinoLastPlayedSection-CX99f9jq.cjs +0 -1
  33. package/components/CasinoSort-BvqwQlDk.js +0 -432
  34. package/components/CasinoSort-een1drZj.cjs +0 -1
@@ -1,50 +1,50 @@
1
- function I() {
1
+ function N() {
2
2
  }
3
- function tt(e) {
3
+ function nt(e) {
4
4
  return e();
5
5
  }
6
- function De() {
6
+ function Fe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function X(e) {
10
- e.forEach(tt);
10
+ e.forEach(nt);
11
11
  }
12
12
  function Me(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function rt(e, t) {
15
+ function it(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ne;
19
- function Xn(e, t) {
19
+ function Qn(e, t) {
20
20
  return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
21
21
  }
22
- function Lt(e) {
22
+ function Mt(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function nt(e, ...t) {
25
+ function st(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return I;
29
+ return N;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Wn(e, t, r) {
35
- e.$$.on_destroy.push(nt(t, r));
34
+ function qn(e, t, r) {
35
+ e.$$.on_destroy.push(st(t, r));
36
36
  }
37
- function Ct(e, t) {
37
+ function Rt(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Mt(e, t, r) {
41
- const n = Rt(e);
40
+ function $t(e, t, r) {
41
+ const n = Ut(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = te("style");
44
- i.id = t, i.textContent = r, $t(n, i);
44
+ i.id = t, i.textContent = r, Dt(n, i);
45
45
  }
46
46
  }
47
- function Rt(e) {
47
+ function Ut(e) {
48
48
  if (!e) return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
50
  return t && /** @type {ShadowRoot} */
@@ -53,8 +53,8 @@ function Rt(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function $t(e, t) {
57
- return Ct(
56
+ function Dt(e, t) {
57
+ return Rt(
58
58
  /** @type {Document} */
59
59
  e.head || e,
60
60
  t
@@ -66,26 +66,26 @@ function le(e, t, r) {
66
66
  function ee(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function zn(e, t) {
69
+ function Jn(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
73
  function te(e) {
74
74
  return document.createElement(e);
75
75
  }
76
- function Ut(e) {
76
+ function Gt(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
- function it(e) {
79
+ function at(e) {
80
80
  return document.createTextNode(e);
81
81
  }
82
- function Zn() {
83
- return it(" ");
82
+ function Yn() {
83
+ return at(" ");
84
84
  }
85
- function Qn() {
86
- return it("");
85
+ function Kn() {
86
+ return at("");
87
87
  }
88
- function qn(e, t, r, n) {
88
+ function ei(e, t, r, n) {
89
89
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
90
90
  }
91
91
  function Re(e, t, r) {
@@ -95,20 +95,20 @@ function g(e, t, r) {
95
95
  const n = t.toLowerCase();
96
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
97
97
  }
98
- function Dt(e) {
98
+ function Ft(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
- function Jn(e, t) {
101
+ function ti(e, t) {
102
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
103
  t);
104
104
  }
105
- function Yn(e, t) {
105
+ function ri(e, t) {
106
106
  e.value = t ?? "";
107
107
  }
108
- function Kn(e, t, r) {
108
+ function ni(e, t, r) {
109
109
  e.classList.toggle(t, !!r);
110
110
  }
111
- class ei {
111
+ class ii {
112
112
  /**
113
113
  * @private
114
114
  * @default false
@@ -139,7 +139,7 @@ class ei {
139
139
  * @returns {void}
140
140
  */
141
141
  m(t, r, n = null) {
142
- this.e || (this.is_svg ? this.e = Ut(
142
+ this.e || (this.is_svg ? this.e = Gt(
143
143
  /** @type {keyof SVGElementTagNameMap} */
144
144
  r.nodeName
145
145
  ) : this.e = te(
@@ -178,7 +178,7 @@ class ei {
178
178
  this.n.forEach(ee);
179
179
  }
180
180
  }
181
- function Gt(e) {
181
+ function jt(e) {
182
182
  const t = {};
183
183
  return e.childNodes.forEach(
184
184
  /** @param {Element} node */
@@ -191,22 +191,22 @@ let J;
191
191
  function q(e) {
192
192
  J = e;
193
193
  }
194
- function Ft() {
194
+ function kt() {
195
195
  if (!J) throw new Error("Function called outside component initialization");
196
196
  return J;
197
197
  }
198
- function ti(e) {
199
- Ft().$$.on_mount.push(e);
198
+ function si(e) {
199
+ kt().$$.on_mount.push(e);
200
200
  }
201
201
  const D = [], He = [];
202
202
  let G = [];
203
- const Ge = [], st = /* @__PURE__ */ Promise.resolve();
203
+ const je = [], ot = /* @__PURE__ */ Promise.resolve();
204
204
  let Te = !1;
205
- function at() {
206
- Te || (Te = !0, st.then(H));
205
+ function ut() {
206
+ Te || (Te = !0, ot.then(H));
207
207
  }
208
- function ri() {
209
- return at(), st;
208
+ function ai() {
209
+ return ut(), ot;
210
210
  }
211
211
  function Se(e) {
212
212
  G.push(e);
@@ -221,7 +221,7 @@ function H() {
221
221
  try {
222
222
  for (; $ < D.length; ) {
223
223
  const t = D[$];
224
- $++, q(t), jt(t.$$);
224
+ $++, q(t), Vt(t.$$);
225
225
  }
226
226
  } catch (t) {
227
227
  throw D.length = 0, $ = 0, t;
@@ -233,71 +233,71 @@ function H() {
233
233
  }
234
234
  G.length = 0;
235
235
  } while (D.length);
236
- for (; Ge.length; )
237
- Ge.pop()();
236
+ for (; je.length; )
237
+ je.pop()();
238
238
  Te = !1, be.clear(), q(e);
239
239
  }
240
- function jt(e) {
240
+ function Vt(e) {
241
241
  if (e.fragment !== null) {
242
242
  e.update(), X(e.before_update);
243
243
  const t = e.dirty;
244
244
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
245
245
  }
246
246
  }
247
- function kt(e) {
247
+ function Xt(e) {
248
248
  const t = [], r = [];
249
249
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
250
250
  }
251
- const Vt = /* @__PURE__ */ new Set();
252
- function ot(e, t) {
253
- e && e.i && (Vt.delete(e), e.i(t));
251
+ const zt = /* @__PURE__ */ new Set();
252
+ function ht(e, t) {
253
+ e && e.i && (zt.delete(e), e.i(t));
254
254
  }
255
- function ni(e) {
255
+ function oi(e) {
256
256
  return e?.length !== void 0 ? e : Array.from(e);
257
257
  }
258
- function ii(e, t) {
258
+ function ui(e, t) {
259
259
  e.d(1), t.delete(e.key);
260
260
  }
261
- function si(e, t, r, n, i, s, a, o, l, u, h, c) {
261
+ function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
262
262
  let f = e.length, b = s.length, y = f;
263
- const x = {};
264
- for (; y--; ) x[e[y].key] = y;
265
- const T = [], N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), S = [];
263
+ const _ = {};
264
+ for (; y--; ) _[e[y].key] = y;
265
+ const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
266
266
  for (y = b; y--; ) {
267
- const _ = c(i, s, y), m = r(_);
268
- let w = a.get(m);
269
- w ? S.push(() => w.p(_, t)) : (w = u(m, _), w.c()), N.set(m, T[y] = w), m in x && P.set(m, Math.abs(y - x[m]));
267
+ const c = m(i, s, y), I = r(c);
268
+ let L = a.get(I);
269
+ L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
270
270
  }
271
- const B = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
272
- function L(_) {
273
- ot(_, 1), _.m(o, h), a.set(_.key, _), h = _.first, b--;
271
+ const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
272
+ function O(c) {
273
+ ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
274
274
  }
275
275
  for (; f && b; ) {
276
- const _ = T[b - 1], m = e[f - 1], w = _.key, re = m.key;
277
- _ === m ? (h = _.first, f--, b--) : N.has(re) ? !a.has(w) || B.has(w) ? L(_) : O.has(re) ? f-- : P.get(w) > P.get(re) ? (O.add(w), L(_)) : (B.add(re), f--) : (l(m, a), f--);
276
+ const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
277
+ c === I ? (h = c.first, f--, b--) : w.has(re) ? !a.has(L) || P.has(L) ? O(c) : x.has(re) ? f-- : A.get(L) > A.get(re) ? (x.add(L), O(c)) : (P.add(re), f--) : (l(I, a), f--);
278
278
  }
279
279
  for (; f--; ) {
280
- const _ = e[f];
281
- N.has(_.key) || l(_, a);
280
+ const c = e[f];
281
+ w.has(c.key) || l(c, a);
282
282
  }
283
- for (; b; ) L(T[b - 1]);
283
+ for (; b; ) O(T[b - 1]);
284
284
  return X(S), T;
285
285
  }
286
- function Xt(e, t, r) {
286
+ function Wt(e, t, r) {
287
287
  const { fragment: n, after_update: i } = e.$$;
288
288
  n && n.m(t, r), Se(() => {
289
- const s = e.$$.on_mount.map(tt).filter(Me);
289
+ const s = e.$$.on_mount.map(nt).filter(Me);
290
290
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
291
291
  }), i.forEach(Se);
292
292
  }
293
- function Wt(e, t) {
293
+ function Zt(e, t) {
294
294
  const r = e.$$;
295
- r.fragment !== null && (kt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
295
+ r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
296
296
  }
297
- function zt(e, t) {
298
- e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
+ function Qt(e, t) {
298
+ e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
299
299
  }
300
- function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
300
+ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
301
301
  const l = J;
302
302
  q(e);
303
303
  const u = e.$$ = {
@@ -305,9 +305,9 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
305
305
  ctx: [],
306
306
  // state
307
307
  props: s,
308
- update: I,
308
+ update: N,
309
309
  not_equal: i,
310
- bound: De(),
310
+ bound: Fe(),
311
311
  // lifecycle
312
312
  on_mount: [],
313
313
  on_destroy: [],
@@ -316,28 +316,28 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
316
316
  after_update: [],
317
317
  context: new Map(t.context || (l ? l.$$.context : [])),
318
318
  // everything else
319
- callbacks: De(),
319
+ callbacks: Fe(),
320
320
  dirty: o,
321
321
  skip_bound: !1,
322
322
  root: t.target || l.$$.root
323
323
  };
324
324
  a && a(u.root);
325
325
  let h = !1;
326
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
326
+ if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
327
327
  const y = b.length ? b[0] : f;
328
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && zt(e, c)), f;
328
+ return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Qt(e, m)), f;
329
329
  }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
330
330
  if (t.hydrate) {
331
- const c = Dt(t.target);
332
- u.fragment && u.fragment.l(c), c.forEach(ee);
331
+ const m = Ft(t.target);
332
+ u.fragment && u.fragment.l(m), m.forEach(ee);
333
333
  } else
334
334
  u.fragment && u.fragment.c();
335
- t.intro && ot(e.$$.fragment), Xt(e, t.target, t.anchor), H();
335
+ t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
336
336
  }
337
337
  q(l);
338
338
  }
339
- let ut;
340
- typeof HTMLElement == "function" && (ut = class extends HTMLElement {
339
+ let lt;
340
+ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
341
341
  /** The Svelte component constructor */
342
342
  $$ctor;
343
343
  /** Slots */
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
396
396
  };
397
397
  if (await Promise.resolve(), !this.$$cn || this.$$c)
398
398
  return;
399
- const t = {}, r = Gt(this);
399
+ const t = {}, r = jt(this);
400
400
  for (const i of this.$$s)
401
401
  i in r && (t[i] = [e(i)]);
402
402
  for (const i of this.attributes) {
@@ -483,8 +483,8 @@ function se(e, t, r, n) {
483
483
  return t;
484
484
  }
485
485
  }
486
- function Qt(e, t, r, n, i, s) {
487
- let a = class extends ut {
486
+ function Jt(e, t, r, n, i, s) {
487
+ let a = class extends lt {
488
488
  constructor() {
489
489
  super(e, r, i), this.$$p_d = t;
490
490
  }
@@ -512,7 +512,7 @@ function Qt(e, t, r, n, i, s) {
512
512
  }), e.element = /** @type {any} */
513
513
  a, a;
514
514
  }
515
- class qt {
515
+ class Yt {
516
516
  /**
517
517
  * ### PRIVATE API
518
518
  *
@@ -531,7 +531,7 @@ class qt {
531
531
  $$set = void 0;
532
532
  /** @returns {void} */
533
533
  $destroy() {
534
- Wt(this, 1), this.$destroy = I;
534
+ Zt(this, 1), this.$destroy = N;
535
535
  }
536
536
  /**
537
537
  * @template {Extract<keyof Events, string>} K
@@ -541,7 +541,7 @@ class qt {
541
541
  */
542
542
  $on(t, r) {
543
543
  if (!Me(r))
544
- return I;
544
+ return N;
545
545
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
546
546
  return n.push(r), () => {
547
547
  const i = n.indexOf(r);
@@ -553,11 +553,11 @@ class qt {
553
553
  * @returns {void}
554
554
  */
555
555
  $set(t) {
556
- this.$$set && !Lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
556
+ this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
557
557
  }
558
558
  }
559
- const Jt = "4";
560
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jt);
559
+ const Kt = "4";
560
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
561
561
  var Be = function(e, t) {
562
562
  return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
563
563
  r.__proto__ = n;
@@ -583,7 +583,7 @@ var E = function() {
583
583
  return t;
584
584
  }, E.apply(this, arguments);
585
585
  };
586
- function Yt(e, t) {
586
+ function er(e, t) {
587
587
  var r = {};
588
588
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
589
589
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -591,7 +591,7 @@ function Yt(e, t) {
591
591
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
592
592
  return r;
593
593
  }
594
- function ai(e) {
594
+ function li(e) {
595
595
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
596
596
  if (r) return r.call(e);
597
597
  if (e && typeof e.length == "number") return {
@@ -601,7 +601,7 @@ function ai(e) {
601
601
  };
602
602
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
603
603
  }
604
- function oi(e, t) {
604
+ function fi(e, t) {
605
605
  var r = typeof Symbol == "function" && e[Symbol.iterator];
606
606
  if (!r) return e;
607
607
  var n = r.call(e), i, s = [], a;
@@ -624,16 +624,16 @@ function pe(e, t, r) {
624
624
  return e.concat(s || Array.prototype.slice.call(t));
625
625
  }
626
626
  const U = [];
627
- function Kt(e, t) {
627
+ function tr(e, t) {
628
628
  return {
629
629
  subscribe: ce(e, t).subscribe
630
630
  };
631
631
  }
632
- function ce(e, t = I) {
632
+ function ce(e, t = N) {
633
633
  let r;
634
634
  const n = /* @__PURE__ */ new Set();
635
635
  function i(o) {
636
- if (rt(e, o) && (e = o, r)) {
636
+ if (it(e, o) && (e = o, r)) {
637
637
  const l = !U.length;
638
638
  for (const u of n)
639
639
  u[1](), U.push(u, e);
@@ -647,109 +647,109 @@ function ce(e, t = I) {
647
647
  function s(o) {
648
648
  i(o(e));
649
649
  }
650
- function a(o, l = I) {
650
+ function a(o, l = N) {
651
651
  const u = [o, l];
652
- return n.add(u), n.size === 1 && (r = t(i, s) || I), o(e), () => {
652
+ return n.add(u), n.size === 1 && (r = t(i, s) || N), o(e), () => {
653
653
  n.delete(u), n.size === 0 && r && (r(), r = null);
654
654
  };
655
655
  }
656
656
  return { set: i, update: s, subscribe: a };
657
657
  }
658
- function W(e, t, r) {
658
+ function z(e, t, r) {
659
659
  const n = !Array.isArray(e), i = n ? [e] : e;
660
660
  if (!i.every(Boolean))
661
661
  throw new Error("derived() expects stores as input, got a falsy value");
662
662
  const s = t.length < 2;
663
- return Kt(r, (a, o) => {
663
+ return tr(r, (a, o) => {
664
664
  let l = !1;
665
665
  const u = [];
666
- let h = 0, c = I;
666
+ let h = 0, m = N;
667
667
  const f = () => {
668
668
  if (h)
669
669
  return;
670
- c();
670
+ m();
671
671
  const y = t(n ? u[0] : u, a, o);
672
- s ? a(y) : c = Me(y) ? y : I;
672
+ s ? a(y) : m = Me(y) ? y : N;
673
673
  }, b = i.map(
674
- (y, x) => nt(
674
+ (y, _) => st(
675
675
  y,
676
676
  (T) => {
677
- u[x] = T, h &= ~(1 << x), l && f();
677
+ u[_] = T, h &= ~(1 << _), l && f();
678
678
  },
679
679
  () => {
680
- h |= 1 << x;
680
+ h |= 1 << _;
681
681
  }
682
682
  )
683
683
  );
684
684
  return l = !0, f(), function() {
685
- X(b), c(), l = !1;
685
+ X(b), m(), l = !1;
686
686
  };
687
687
  });
688
688
  }
689
- function er(e) {
689
+ function rr(e) {
690
690
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
691
691
  }
692
- var tr = function(t) {
693
- return rr(t) && !nr(t);
692
+ var nr = function(t) {
693
+ return ir(t) && !sr(t);
694
694
  };
695
- function rr(e) {
695
+ function ir(e) {
696
696
  return !!e && typeof e == "object";
697
697
  }
698
- function nr(e) {
698
+ function sr(e) {
699
699
  var t = Object.prototype.toString.call(e);
700
- return t === "[object RegExp]" || t === "[object Date]" || ar(e);
700
+ return t === "[object RegExp]" || t === "[object Date]" || ur(e);
701
701
  }
702
- var ir = typeof Symbol == "function" && Symbol.for, sr = ir ? Symbol.for("react.element") : 60103;
703
- function ar(e) {
704
- return e.$$typeof === sr;
702
+ var ar = typeof Symbol == "function" && Symbol.for, or = ar ? Symbol.for("react.element") : 60103;
703
+ function ur(e) {
704
+ return e.$$typeof === or;
705
705
  }
706
- function or(e) {
706
+ function hr(e) {
707
707
  return Array.isArray(e) ? [] : {};
708
708
  }
709
709
  function Y(e, t) {
710
- return t.clone !== !1 && t.isMergeableObject(e) ? F(or(e), e, t) : e;
710
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(hr(e), e, t) : e;
711
711
  }
712
- function ur(e, t, r) {
712
+ function lr(e, t, r) {
713
713
  return e.concat(t).map(function(n) {
714
714
  return Y(n, r);
715
715
  });
716
716
  }
717
- function hr(e, t) {
717
+ function fr(e, t) {
718
718
  if (!t.customMerge)
719
719
  return F;
720
720
  var r = t.customMerge(e);
721
721
  return typeof r == "function" ? r : F;
722
722
  }
723
- function lr(e) {
723
+ function cr(e) {
724
724
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
725
725
  return Object.propertyIsEnumerable.call(e, t);
726
726
  }) : [];
727
727
  }
728
- function Fe(e) {
729
- return Object.keys(e).concat(lr(e));
728
+ function ke(e) {
729
+ return Object.keys(e).concat(cr(e));
730
730
  }
731
- function ht(e, t) {
731
+ function ft(e, t) {
732
732
  try {
733
733
  return t in e;
734
734
  } catch {
735
735
  return !1;
736
736
  }
737
737
  }
738
- function fr(e, t) {
739
- return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
738
+ function mr(e, t) {
739
+ return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
740
740
  }
741
- function cr(e, t, r) {
741
+ function gr(e, t, r) {
742
742
  var n = {};
743
- return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
743
+ return r.isMergeableObject(e) && ke(e).forEach(function(i) {
744
744
  n[i] = Y(e[i], r);
745
- }), Fe(t).forEach(function(i) {
746
- fr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = hr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
745
+ }), ke(t).forEach(function(i) {
746
+ mr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
747
747
  }), n;
748
748
  }
749
749
  function F(e, t, r) {
750
- r = r || {}, r.arrayMerge = r.arrayMerge || ur, r.isMergeableObject = r.isMergeableObject || tr, r.cloneUnlessOtherwiseSpecified = Y;
750
+ r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = Y;
751
751
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
752
- return s ? n ? r.arrayMerge(e, t, r) : cr(e, t, r) : Y(t, r);
752
+ return s ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : Y(t, r);
753
753
  }
754
754
  F.all = function(t, r) {
755
755
  if (!Array.isArray(t))
@@ -758,56 +758,58 @@ F.all = function(t, r) {
758
758
  return F(n, i, r);
759
759
  }, {});
760
760
  };
761
- var mr = F, gr = mr;
762
- const dr = /* @__PURE__ */ er(gr);
761
+ var dr = F, br = dr;
762
+ const pr = /* @__PURE__ */ rr(br);
763
763
  function ye(e, t) {
764
- var r = t && t.cache ? t.cache : xr, n = t && t.serializer ? t.serializer : vr, i = t && t.strategy ? t.strategy : yr;
764
+ var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
765
765
  return i(e, {
766
766
  cache: r,
767
767
  serializer: n
768
768
  });
769
769
  }
770
- function br(e) {
770
+ function yr(e) {
771
771
  return e == null || typeof e == "number" || typeof e == "boolean";
772
772
  }
773
- function pr(e, t, r, n) {
774
- var i = br(n) ? n : r(n), s = t.get(i);
773
+ function ct(e, t, r, n) {
774
+ var i = yr(n) ? n : r(n), s = t.get(i);
775
775
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
776
776
  }
777
- function lt(e, t, r) {
777
+ function mt(e, t, r) {
778
778
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
779
779
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
780
780
  }
781
- function ft(e, t, r, n, i) {
781
+ function $e(e, t, r, n, i) {
782
782
  return r.bind(t, e, n, i);
783
783
  }
784
- function yr(e, t) {
785
- var r = e.length === 1 ? pr : lt;
786
- return ft(e, this, r, t.cache.create(), t.serializer);
787
- }
788
784
  function Er(e, t) {
789
- return ft(e, this, lt, t.cache.create(), t.serializer);
785
+ var r = e.length === 1 ? ct : mt;
786
+ return $e(e, this, r, t.cache.create(), t.serializer);
787
+ }
788
+ function vr(e, t) {
789
+ return $e(e, this, mt, t.cache.create(), t.serializer);
790
+ }
791
+ function _r(e, t) {
792
+ return $e(e, this, ct, t.cache.create(), t.serializer);
790
793
  }
791
- var vr = function() {
794
+ var xr = function() {
792
795
  return JSON.stringify(arguments);
793
- }, _r = (
794
- /** @class */
795
- function() {
796
- function e() {
797
- this.cache = /* @__PURE__ */ Object.create(null);
798
- }
799
- return e.prototype.get = function(t) {
800
- return this.cache[t];
801
- }, e.prototype.set = function(t, r) {
802
- this.cache[t] = r;
803
- }, e;
804
- }()
805
- ), xr = {
796
+ };
797
+ function Ue() {
798
+ this.cache = /* @__PURE__ */ Object.create(null);
799
+ }
800
+ Ue.prototype.get = function(e) {
801
+ return this.cache[e];
802
+ };
803
+ Ue.prototype.set = function(e, t) {
804
+ this.cache[e] = t;
805
+ };
806
+ var Hr = {
806
807
  create: function() {
807
- return new _r();
808
+ return new Ue();
808
809
  }
809
810
  }, Ee = {
810
- variadic: Er
811
+ variadic: vr,
812
+ monadic: _r
811
813
  }, d;
812
814
  (function(e) {
813
815
  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";
@@ -820,43 +822,43 @@ var j;
820
822
  (function(e) {
821
823
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
822
824
  })(j || (j = {}));
823
- function je(e) {
825
+ function Ve(e) {
824
826
  return e.type === v.literal;
825
827
  }
826
- function Hr(e) {
828
+ function Tr(e) {
827
829
  return e.type === v.argument;
828
830
  }
829
- function ct(e) {
831
+ function gt(e) {
830
832
  return e.type === v.number;
831
833
  }
832
- function mt(e) {
834
+ function dt(e) {
833
835
  return e.type === v.date;
834
836
  }
835
- function gt(e) {
837
+ function bt(e) {
836
838
  return e.type === v.time;
837
839
  }
838
- function dt(e) {
840
+ function pt(e) {
839
841
  return e.type === v.select;
840
842
  }
841
- function bt(e) {
843
+ function yt(e) {
842
844
  return e.type === v.plural;
843
845
  }
844
- function Tr(e) {
846
+ function Sr(e) {
845
847
  return e.type === v.pound;
846
848
  }
847
- function pt(e) {
849
+ function Et(e) {
848
850
  return e.type === v.tag;
849
851
  }
850
- function yt(e) {
852
+ function vt(e) {
851
853
  return !!(e && typeof e == "object" && e.type === j.number);
852
854
  }
853
855
  function Ae(e) {
854
856
  return !!(e && typeof e == "object" && e.type === j.dateTime);
855
857
  }
856
- var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
857
- function Br(e) {
858
+ var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
859
+ function Ar(e) {
858
860
  var t = {};
859
- return e.replace(Sr, function(r) {
861
+ return e.replace(Br, function(r) {
860
862
  var n = r.length;
861
863
  switch (r[0]) {
862
864
  case "G":
@@ -945,36 +947,36 @@ function Br(e) {
945
947
  return "";
946
948
  }), t;
947
949
  }
948
- var Ar = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
949
- function wr(e) {
950
+ var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
951
+ function Pr(e) {
950
952
  if (e.length === 0)
951
953
  throw new Error("Number skeleton cannot be empty");
952
- for (var t = e.split(Ar).filter(function(f) {
954
+ for (var t = e.split(wr).filter(function(f) {
953
955
  return f.length > 0;
954
956
  }), r = [], n = 0, i = t; n < i.length; n++) {
955
957
  var s = i[n], a = s.split("/");
956
958
  if (a.length === 0)
957
959
  throw new Error("Invalid number skeleton");
958
960
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
959
- var c = h[u];
960
- if (c.length === 0)
961
+ var m = h[u];
962
+ if (m.length === 0)
961
963
  throw new Error("Invalid number skeleton");
962
964
  }
963
965
  r.push({ stem: o, options: l });
964
966
  }
965
967
  return r;
966
968
  }
967
- function Pr(e) {
969
+ function Nr(e) {
968
970
  return e.replace(/^(.*?)-/, "");
969
971
  }
970
- var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Nr = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
971
- function Ve(e) {
972
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
973
+ function ze(e) {
972
974
  var t = {};
973
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
975
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
974
976
  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)), "";
975
977
  }), t;
976
978
  }
977
- function xt(e) {
979
+ function Tt(e) {
978
980
  switch (e) {
979
981
  case "sign-auto":
980
982
  return {
@@ -1014,7 +1016,7 @@ function xt(e) {
1014
1016
  };
1015
1017
  }
1016
1018
  }
1017
- function Or(e) {
1019
+ function Ir(e) {
1018
1020
  var t;
1019
1021
  if (e[0] === "E" && e[1] === "E" ? (t = {
1020
1022
  notation: "engineering"
@@ -1022,17 +1024,17 @@ function Or(e) {
1022
1024
  notation: "scientific"
1023
1025
  }, e = e.slice(1)), t) {
1024
1026
  var r = e.slice(0, 2);
1025
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
1027
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
1026
1028
  throw new Error("Malformed concise eng/scientific notation");
1027
1029
  t.minimumIntegerDigits = e.length;
1028
1030
  }
1029
1031
  return t;
1030
1032
  }
1031
- function Xe(e) {
1032
- var t = {}, r = xt(e);
1033
+ function We(e) {
1034
+ var t = {}, r = Tt(e);
1033
1035
  return r || t;
1034
1036
  }
1035
- function Ir(e) {
1037
+ function Lr(e) {
1036
1038
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1037
1039
  var i = n[r];
1038
1040
  switch (i.stem) {
@@ -1056,7 +1058,7 @@ function Ir(e) {
1056
1058
  continue;
1057
1059
  case "measure-unit":
1058
1060
  case "unit":
1059
- t.style = "unit", t.unit = Pr(i.options[0]);
1061
+ t.style = "unit", t.unit = Nr(i.options[0]);
1060
1062
  continue;
1061
1063
  case "compact-short":
1062
1064
  case "K":
@@ -1068,12 +1070,12 @@ function Ir(e) {
1068
1070
  continue;
1069
1071
  case "scientific":
1070
1072
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1071
- return E(E({}, l), Xe(u));
1073
+ return E(E({}, l), We(u));
1072
1074
  }, {}));
1073
1075
  continue;
1074
1076
  case "engineering":
1075
1077
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1076
- return E(E({}, l), Xe(u));
1078
+ return E(E({}, l), We(u));
1077
1079
  }, {}));
1078
1080
  continue;
1079
1081
  case "notation-simple":
@@ -1118,11 +1120,11 @@ function Ir(e) {
1118
1120
  case "integer-width":
1119
1121
  if (i.options.length > 1)
1120
1122
  throw new RangeError("integer-width stems only accept a single optional option");
1121
- i.options[0].replace(Nr, function(l, u, h, c, f, b) {
1123
+ i.options[0].replace(Or, function(l, u, h, m, f, b) {
1122
1124
  if (u)
1123
1125
  t.minimumIntegerDigits = h.length;
1124
1126
  else {
1125
- if (c && f)
1127
+ if (m && f)
1126
1128
  throw new Error("We currently do not support maximum integer digits");
1127
1129
  if (b)
1128
1130
  throw new Error("We currently do not support exact integer digits");
@@ -1131,27 +1133,27 @@ function Ir(e) {
1131
1133
  });
1132
1134
  continue;
1133
1135
  }
1134
- if (_t.test(i.stem)) {
1136
+ if (Ht.test(i.stem)) {
1135
1137
  t.minimumIntegerDigits = i.stem.length;
1136
1138
  continue;
1137
1139
  }
1138
- if (ke.test(i.stem)) {
1140
+ if (Xe.test(i.stem)) {
1139
1141
  if (i.options.length > 1)
1140
1142
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1141
- i.stem.replace(ke, function(l, u, h, c, f, b) {
1142
- 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), "";
1143
+ i.stem.replace(Xe, function(l, u, h, m, f, b) {
1144
+ return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1143
1145
  });
1144
1146
  var s = i.options[0];
1145
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
1147
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
1146
1148
  continue;
1147
1149
  }
1148
- if (vt.test(i.stem)) {
1149
- t = E(E({}, t), Ve(i.stem));
1150
+ if (xt.test(i.stem)) {
1151
+ t = E(E({}, t), ze(i.stem));
1150
1152
  continue;
1151
1153
  }
1152
- var a = xt(i.stem);
1154
+ var a = Tt(i.stem);
1153
1155
  a && (t = E(E({}, t), a));
1154
- var o = Or(i.stem);
1156
+ var o = Ir(i.stem);
1155
1157
  o && (t = E(E({}, t), o));
1156
1158
  }
1157
1159
  return t;
@@ -2571,13 +2573,13 @@ var ie = {
2571
2573
  "h"
2572
2574
  ]
2573
2575
  };
2574
- function Lr(e, t) {
2576
+ function Cr(e, t) {
2575
2577
  for (var r = "", n = 0; n < e.length; n++) {
2576
2578
  var i = e.charAt(n);
2577
2579
  if (i === "j") {
2578
2580
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2579
2581
  s++, n++;
2580
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Cr(t);
2582
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
2581
2583
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2582
2584
  r += l;
2583
2585
  for (; a-- > 0; )
@@ -2586,7 +2588,7 @@ function Lr(e, t) {
2586
2588
  }
2587
2589
  return r;
2588
2590
  }
2589
- function Cr(e) {
2591
+ function Mr(e) {
2590
2592
  var t = e.hourCycle;
2591
2593
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2592
2594
  e.hourCycles && // @ts-ignore
@@ -2608,20 +2610,20 @@ function Cr(e) {
2608
2610
  var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2609
2611
  return i[0];
2610
2612
  }
2611
- var ve, Mr = new RegExp("^".concat(Et.source, "*")), Rr = new RegExp("".concat(Et.source, "*$"));
2613
+ var ve, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
2612
2614
  function p(e, t) {
2613
2615
  return { start: e, end: t };
2614
2616
  }
2615
- var $r = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Dr = !!Object.fromEntries, Gr = !!String.prototype.codePointAt, Fr = !!String.prototype.trimStart, jr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Vr = kr ? Number.isSafeInteger : function(e) {
2617
+ var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
2616
2618
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2617
2619
  }, we = !0;
2618
2620
  try {
2619
- var Xr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
- we = ((ve = Xr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2621
+ var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
+ we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2621
2623
  } catch {
2622
2624
  we = !1;
2623
2625
  }
2624
- var We = $r ? (
2626
+ var Ze = Ur ? (
2625
2627
  // Native
2626
2628
  function(t, r, n) {
2627
2629
  return t.startsWith(r, n);
@@ -2631,7 +2633,7 @@ var We = $r ? (
2631
2633
  function(t, r, n) {
2632
2634
  return t.slice(n, n + r.length) === r;
2633
2635
  }
2634
- ), Pe = Ur ? String.fromCodePoint : (
2636
+ ), Pe = Dr ? String.fromCodePoint : (
2635
2637
  // IE11
2636
2638
  function() {
2637
2639
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2643,9 +2645,9 @@ var We = $r ? (
2643
2645
  }
2644
2646
  return n;
2645
2647
  }
2646
- ), ze = (
2648
+ ), Qe = (
2647
2649
  // native
2648
- Dr ? Object.fromEntries : (
2650
+ Gr ? Object.fromEntries : (
2649
2651
  // Ponyfill
2650
2652
  function(t) {
2651
2653
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2655,7 +2657,7 @@ var We = $r ? (
2655
2657
  return r;
2656
2658
  }
2657
2659
  )
2658
- ), Ht = Gr ? (
2660
+ ), St = Fr ? (
2659
2661
  // Native
2660
2662
  function(t, r) {
2661
2663
  return t.codePointAt(r);
@@ -2669,7 +2671,7 @@ var We = $r ? (
2669
2671
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2670
2672
  }
2671
2673
  }
2672
- ), Wr = Fr ? (
2674
+ ), Wr = jr ? (
2673
2675
  // Native
2674
2676
  function(t) {
2675
2677
  return t.trimStart();
@@ -2677,9 +2679,9 @@ var We = $r ? (
2677
2679
  ) : (
2678
2680
  // Ponyfill
2679
2681
  function(t) {
2680
- return t.replace(Mr, "");
2682
+ return t.replace(Rr, "");
2681
2683
  }
2682
- ), zr = jr ? (
2684
+ ), Zr = kr ? (
2683
2685
  // Native
2684
2686
  function(t) {
2685
2687
  return t.trimEnd();
@@ -2687,32 +2689,32 @@ var We = $r ? (
2687
2689
  ) : (
2688
2690
  // Ponyfill
2689
2691
  function(t) {
2690
- return t.replace(Rr, "");
2692
+ return t.replace($r, "");
2691
2693
  }
2692
2694
  );
2693
- function Tt(e, t) {
2695
+ function Bt(e, t) {
2694
2696
  return new RegExp(e, t);
2695
2697
  }
2696
2698
  var Ne;
2697
2699
  if (we) {
2698
- var Ze = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2700
+ var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2699
2701
  Ne = function(t, r) {
2700
2702
  var n;
2701
- Ze.lastIndex = r;
2702
- var i = Ze.exec(t);
2703
+ qe.lastIndex = r;
2704
+ var i = qe.exec(t);
2703
2705
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2704
2706
  };
2705
2707
  } else
2706
2708
  Ne = function(t, r) {
2707
2709
  for (var n = []; ; ) {
2708
- var i = Ht(t, r);
2709
- if (i === void 0 || St(i) || Jr(i))
2710
+ var i = St(t, r);
2711
+ if (i === void 0 || At(i) || Yr(i))
2710
2712
  break;
2711
2713
  n.push(i), r += i >= 65536 ? 2 : 1;
2712
2714
  }
2713
2715
  return Pe.apply(void 0, n);
2714
2716
  };
2715
- var Zr = (
2717
+ var Qr = (
2716
2718
  /** @class */
2717
2719
  function() {
2718
2720
  function e(t, r) {
@@ -2794,7 +2796,7 @@ var Zr = (
2794
2796
  return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2795
2797
  }, e.prototype.parseTagName = function() {
2796
2798
  var t = this.offset();
2797
- for (this.bump(); !this.isEOF() && qr(this.char()); )
2799
+ for (this.bump(); !this.isEOF() && Jr(this.char()); )
2798
2800
  this.bump();
2799
2801
  return this.message.slice(t, this.offset());
2800
2802
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2823,7 +2825,7 @@ var Zr = (
2823
2825
  };
2824
2826
  }, e.prototype.tryParseLeftAngleBracket = function() {
2825
2827
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2826
- !Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2828
+ !qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2827
2829
  }, e.prototype.tryParseQuote = function(t) {
2828
2830
  if (this.isEOF() || this.char() !== 39)
2829
2831
  return null;
@@ -2907,10 +2909,10 @@ var Zr = (
2907
2909
  var u = null;
2908
2910
  if (this.bumpIf(",")) {
2909
2911
  this.bumpSpace();
2910
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2911
- if (c.err)
2912
- return c;
2913
- var f = zr(c.val);
2912
+ var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2913
+ if (m.err)
2914
+ return m;
2915
+ var f = Zr(m.val);
2914
2916
  if (f.length === 0)
2915
2917
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2916
2918
  var b = p(h, this.clonePosition());
@@ -2919,28 +2921,28 @@ var Zr = (
2919
2921
  var y = this.tryParseArgumentClose(i);
2920
2922
  if (y.err)
2921
2923
  return y;
2922
- var x = p(i, this.clonePosition());
2923
- if (u && We(u?.style, "::", 0)) {
2924
+ var _ = p(i, this.clonePosition());
2925
+ if (u && Ze(u?.style, "::", 0)) {
2924
2926
  var T = Wr(u.style.slice(2));
2925
2927
  if (o === "number") {
2926
- var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2927
- return c.err ? c : {
2928
- val: { type: v.number, value: n, location: x, style: c.val },
2928
+ var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
2929
+ return m.err ? m : {
2930
+ val: { type: v.number, value: n, location: _, style: m.val },
2929
2931
  err: null
2930
2932
  };
2931
2933
  } else {
2932
2934
  if (T.length === 0)
2933
- return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
2934
- var N = T;
2935
- this.locale && (N = Lr(T, this.locale));
2935
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2936
+ var w = T;
2937
+ this.locale && (w = Cr(T, this.locale));
2936
2938
  var f = {
2937
2939
  type: j.dateTime,
2938
- pattern: N,
2940
+ pattern: w,
2939
2941
  location: u.styleLocation,
2940
- parsedOptions: this.shouldParseSkeletons ? Br(N) : {}
2941
- }, P = o === "date" ? v.date : v.time;
2942
+ parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
2943
+ }, A = o === "date" ? v.date : v.time;
2942
2944
  return {
2943
- val: { type: P, value: n, location: x, style: f },
2945
+ val: { type: A, value: n, location: _, style: f },
2944
2946
  err: null
2945
2947
  };
2946
2948
  }
@@ -2949,7 +2951,7 @@ var Zr = (
2949
2951
  val: {
2950
2952
  type: o === "number" ? v.number : o === "date" ? v.date : v.time,
2951
2953
  value: n,
2952
- location: x,
2954
+ location: _,
2953
2955
  style: (s = u?.style) !== null && s !== void 0 ? s : null
2954
2956
  },
2955
2957
  err: null
@@ -2962,39 +2964,39 @@ var Zr = (
2962
2964
  if (this.bumpSpace(), !this.bumpIf(","))
2963
2965
  return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
2964
2966
  this.bumpSpace();
2965
- var B = this.parseIdentifierIfPossible(), O = 0;
2966
- if (o !== "select" && B.value === "offset") {
2967
+ var P = this.parseIdentifierIfPossible(), x = 0;
2968
+ if (o !== "select" && P.value === "offset") {
2967
2969
  if (!this.bumpIf(":"))
2968
2970
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2969
2971
  this.bumpSpace();
2970
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2971
- if (c.err)
2972
- return c;
2973
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), O = c.val;
2972
+ var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2973
+ if (m.err)
2974
+ return m;
2975
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
2974
2976
  }
2975
- var L = this.tryParsePluralOrSelectOptions(t, o, r, B);
2976
- if (L.err)
2977
- return L;
2977
+ var O = this.tryParsePluralOrSelectOptions(t, o, r, P);
2978
+ if (O.err)
2979
+ return O;
2978
2980
  var y = this.tryParseArgumentClose(i);
2979
2981
  if (y.err)
2980
2982
  return y;
2981
- var _ = p(i, this.clonePosition());
2983
+ var c = p(i, this.clonePosition());
2982
2984
  return o === "select" ? {
2983
2985
  val: {
2984
2986
  type: v.select,
2985
2987
  value: n,
2986
- options: ze(L.val),
2987
- location: _
2988
+ options: Qe(O.val),
2989
+ location: c
2988
2990
  },
2989
2991
  err: null
2990
2992
  } : {
2991
2993
  val: {
2992
2994
  type: v.plural,
2993
2995
  value: n,
2994
- options: ze(L.val),
2995
- offset: O,
2996
+ options: Qe(O.val),
2997
+ offset: x,
2996
2998
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2997
- location: _
2999
+ location: c
2998
3000
  },
2999
3001
  err: null
3000
3002
  };
@@ -3042,7 +3044,7 @@ var Zr = (
3042
3044
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3043
3045
  var n = [];
3044
3046
  try {
3045
- n = wr(t);
3047
+ n = Pr(t);
3046
3048
  } catch {
3047
3049
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3048
3050
  }
@@ -3051,19 +3053,19 @@ var Zr = (
3051
3053
  type: j.number,
3052
3054
  tokens: n,
3053
3055
  location: r,
3054
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
3056
+ parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
3055
3057
  },
3056
3058
  err: null
3057
3059
  };
3058
3060
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3059
3061
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3060
3062
  if (u.length === 0) {
3061
- var c = this.clonePosition();
3063
+ var m = this.clonePosition();
3062
3064
  if (r !== "select" && this.bumpIf("=")) {
3063
3065
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3064
3066
  if (f.err)
3065
3067
  return f;
3066
- h = p(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3068
+ h = p(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3067
3069
  } else
3068
3070
  break;
3069
3071
  }
@@ -3076,9 +3078,9 @@ var Zr = (
3076
3078
  var y = this.parseMessage(t + 1, r, n);
3077
3079
  if (y.err)
3078
3080
  return y;
3079
- var x = this.tryParseArgumentClose(b);
3080
- if (x.err)
3081
- return x;
3081
+ var _ = this.tryParseArgumentClose(b);
3082
+ if (_.err)
3083
+ return _;
3082
3084
  o.push([
3083
3085
  u,
3084
3086
  {
@@ -3099,7 +3101,7 @@ var Zr = (
3099
3101
  break;
3100
3102
  }
3101
3103
  var l = p(i, this.clonePosition());
3102
- return s ? (a *= n, Vr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3104
+ return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3103
3105
  }, e.prototype.offset = function() {
3104
3106
  return this.position.offset;
3105
3107
  }, e.prototype.isEOF = function() {
@@ -3114,7 +3116,7 @@ var Zr = (
3114
3116
  var t = this.position.offset;
3115
3117
  if (t >= this.message.length)
3116
3118
  throw Error("out of bound");
3117
- var r = Ht(this.message, t);
3119
+ var r = St(this.message, t);
3118
3120
  if (r === void 0)
3119
3121
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3120
3122
  return r;
@@ -3133,7 +3135,7 @@ var Zr = (
3133
3135
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3134
3136
  }
3135
3137
  }, e.prototype.bumpIf = function(t) {
3136
- if (We(this.message, t, this.offset())) {
3138
+ if (Ze(this.message, t, this.offset())) {
3137
3139
  for (var r = 0; r < t.length; r++)
3138
3140
  this.bump();
3139
3141
  return !0;
@@ -3155,7 +3157,7 @@ var Zr = (
3155
3157
  break;
3156
3158
  }
3157
3159
  }, e.prototype.bumpSpace = function() {
3158
- for (; !this.isEOF() && St(this.char()); )
3160
+ for (; !this.isEOF() && At(this.char()); )
3159
3161
  this.bump();
3160
3162
  }, e.prototype.peek = function() {
3161
3163
  if (this.isEOF())
@@ -3168,29 +3170,29 @@ var Zr = (
3168
3170
  function Oe(e) {
3169
3171
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3170
3172
  }
3171
- function Qr(e) {
3173
+ function qr(e) {
3172
3174
  return Oe(e) || e === 47;
3173
3175
  }
3174
- function qr(e) {
3176
+ function Jr(e) {
3175
3177
  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;
3176
3178
  }
3177
- function St(e) {
3179
+ function At(e) {
3178
3180
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3179
3181
  }
3180
- function Jr(e) {
3182
+ function Yr(e) {
3181
3183
  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;
3182
3184
  }
3183
3185
  function Ie(e) {
3184
3186
  e.forEach(function(t) {
3185
- if (delete t.location, dt(t) || bt(t))
3187
+ if (delete t.location, pt(t) || yt(t))
3186
3188
  for (var r in t.options)
3187
3189
  delete t.options[r].location, Ie(t.options[r].value);
3188
- else ct(t) && yt(t.style) || (mt(t) || gt(t)) && Ae(t.style) ? delete t.style.location : pt(t) && Ie(t.children);
3190
+ else gt(t) && vt(t.style) || (dt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
3189
3191
  });
3190
3192
  }
3191
- function Yr(e, t) {
3193
+ function Kr(e, t) {
3192
3194
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3193
- var r = new Zr(e, t).parse();
3195
+ var r = new Qr(e, t).parse();
3194
3196
  if (r.err) {
3195
3197
  var n = SyntaxError(d[r.err.kind]);
3196
3198
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3213,7 +3215,7 @@ var me = (
3213
3215
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3214
3216
  }, t;
3215
3217
  }(Error)
3216
- ), Qe = (
3218
+ ), Je = (
3217
3219
  /** @class */
3218
3220
  function(e) {
3219
3221
  fe(t, e);
@@ -3222,7 +3224,7 @@ var me = (
3222
3224
  }
3223
3225
  return t;
3224
3226
  }(me)
3225
- ), Kr = (
3227
+ ), en = (
3226
3228
  /** @class */
3227
3229
  function(e) {
3228
3230
  fe(t, e);
@@ -3231,7 +3233,7 @@ var me = (
3231
3233
  }
3232
3234
  return t;
3233
3235
  }(me)
3234
- ), en = (
3236
+ ), tn = (
3235
3237
  /** @class */
3236
3238
  function(e) {
3237
3239
  fe(t, e);
@@ -3240,125 +3242,125 @@ var me = (
3240
3242
  }
3241
3243
  return t;
3242
3244
  }(me)
3243
- ), A;
3245
+ ), B;
3244
3246
  (function(e) {
3245
3247
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3246
- })(A || (A = {}));
3247
- function tn(e) {
3248
+ })(B || (B = {}));
3249
+ function rn(e) {
3248
3250
  return e.length < 2 ? e : e.reduce(function(t, r) {
3249
3251
  var n = t[t.length - 1];
3250
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3252
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3251
3253
  }, []);
3252
3254
  }
3253
- function rn(e) {
3255
+ function nn(e) {
3254
3256
  return typeof e == "function";
3255
3257
  }
3256
3258
  function ae(e, t, r, n, i, s, a) {
3257
- if (e.length === 1 && je(e[0]))
3259
+ if (e.length === 1 && Ve(e[0]))
3258
3260
  return [
3259
3261
  {
3260
- type: A.literal,
3262
+ type: B.literal,
3261
3263
  value: e[0].value
3262
3264
  }
3263
3265
  ];
3264
3266
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3265
3267
  var h = u[l];
3266
- if (je(h)) {
3268
+ if (Ve(h)) {
3267
3269
  o.push({
3268
- type: A.literal,
3270
+ type: B.literal,
3269
3271
  value: h.value
3270
3272
  });
3271
3273
  continue;
3272
3274
  }
3273
- if (Tr(h)) {
3275
+ if (Sr(h)) {
3274
3276
  typeof s == "number" && o.push({
3275
- type: A.literal,
3277
+ type: B.literal,
3276
3278
  value: r.getNumberFormat(t).format(s)
3277
3279
  });
3278
3280
  continue;
3279
3281
  }
3280
- var c = h.value;
3281
- if (!(i && c in i))
3282
- throw new en(c, a);
3283
- var f = i[c];
3284
- if (Hr(h)) {
3282
+ var m = h.value;
3283
+ if (!(i && m in i))
3284
+ throw new tn(m, a);
3285
+ var f = i[m];
3286
+ if (Tr(h)) {
3285
3287
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3286
- type: typeof f == "string" ? A.literal : A.object,
3288
+ type: typeof f == "string" ? B.literal : B.object,
3287
3289
  value: f
3288
3290
  });
3289
3291
  continue;
3290
3292
  }
3291
- if (mt(h)) {
3293
+ if (dt(h)) {
3292
3294
  var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3293
3295
  o.push({
3294
- type: A.literal,
3296
+ type: B.literal,
3295
3297
  value: r.getDateTimeFormat(t, b).format(f)
3296
3298
  });
3297
3299
  continue;
3298
3300
  }
3299
- if (gt(h)) {
3301
+ if (bt(h)) {
3300
3302
  var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
3301
3303
  o.push({
3302
- type: A.literal,
3304
+ type: B.literal,
3303
3305
  value: r.getDateTimeFormat(t, b).format(f)
3304
3306
  });
3305
3307
  continue;
3306
3308
  }
3307
- if (ct(h)) {
3308
- var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
3309
+ if (gt(h)) {
3310
+ var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3309
3311
  b && b.scale && (f = f * (b.scale || 1)), o.push({
3310
- type: A.literal,
3312
+ type: B.literal,
3311
3313
  value: r.getNumberFormat(t, b).format(f)
3312
3314
  });
3313
3315
  continue;
3314
3316
  }
3315
- if (pt(h)) {
3316
- var y = h.children, x = h.value, T = i[x];
3317
- if (!rn(T))
3318
- throw new Kr(x, "function", a);
3319
- var N = ae(y, t, r, n, i, s), P = T(N.map(function(O) {
3320
- return O.value;
3317
+ if (Et(h)) {
3318
+ var y = h.children, _ = h.value, T = i[_];
3319
+ if (!nn(T))
3320
+ throw new en(_, "function", a);
3321
+ var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
3322
+ return x.value;
3321
3323
  }));
3322
- Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(O) {
3324
+ Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
3323
3325
  return {
3324
- type: typeof O == "string" ? A.literal : A.object,
3325
- value: O
3326
+ type: typeof x == "string" ? B.literal : B.object,
3327
+ value: x
3326
3328
  };
3327
3329
  }));
3328
3330
  }
3329
- if (dt(h)) {
3331
+ if (pt(h)) {
3330
3332
  var S = h.options[f] || h.options.other;
3331
3333
  if (!S)
3332
- throw new Qe(h.value, f, Object.keys(h.options), a);
3334
+ throw new Je(h.value, f, Object.keys(h.options), a);
3333
3335
  o.push.apply(o, ae(S.value, t, r, n, i));
3334
3336
  continue;
3335
3337
  }
3336
- if (bt(h)) {
3338
+ if (yt(h)) {
3337
3339
  var S = h.options["=".concat(f)];
3338
3340
  if (!S) {
3339
3341
  if (!Intl.PluralRules)
3340
3342
  throw new me(`Intl.PluralRules is not available in this environment.
3341
3343
  Try polyfilling it using "@formatjs/intl-pluralrules"
3342
3344
  `, k.MISSING_INTL_API, a);
3343
- var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3344
- S = h.options[B] || h.options.other;
3345
+ var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3346
+ S = h.options[P] || h.options.other;
3345
3347
  }
3346
3348
  if (!S)
3347
- throw new Qe(h.value, f, Object.keys(h.options), a);
3349
+ throw new Je(h.value, f, Object.keys(h.options), a);
3348
3350
  o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
3349
3351
  continue;
3350
3352
  }
3351
3353
  }
3352
- return tn(o);
3354
+ return rn(o);
3353
3355
  }
3354
- function nn(e, t) {
3356
+ function sn(e, t) {
3355
3357
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3356
3358
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3357
3359
  }, {})) : e;
3358
3360
  }
3359
- function sn(e, t) {
3361
+ function an(e, t) {
3360
3362
  return t ? Object.keys(e).reduce(function(r, n) {
3361
- return r[n] = nn(e[n], t[n]), r;
3363
+ return r[n] = sn(e[n], t[n]), r;
3362
3364
  }, E({}, e)) : e;
3363
3365
  }
3364
3366
  function _e(e) {
@@ -3375,7 +3377,7 @@ function _e(e) {
3375
3377
  }
3376
3378
  };
3377
3379
  }
3378
- function an(e) {
3380
+ function on(e) {
3379
3381
  return e === void 0 && (e = {
3380
3382
  number: {},
3381
3383
  dateTime: {},
@@ -3407,7 +3409,7 @@ function an(e) {
3407
3409
  })
3408
3410
  };
3409
3411
  }
3410
- var on = (
3412
+ var un = (
3411
3413
  /** @class */
3412
3414
  function() {
3413
3415
  function e(t, r, n, i) {
@@ -3421,8 +3423,8 @@ var on = (
3421
3423
  var u = s.formatToParts(l);
3422
3424
  if (u.length === 1)
3423
3425
  return u[0].value;
3424
- var h = u.reduce(function(c, f) {
3425
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3426
+ var h = u.reduce(function(m, f) {
3427
+ return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3426
3428
  }, []);
3427
3429
  return h.length <= 1 ? h[0] || "" : h;
3428
3430
  }, this.formatToParts = function(l) {
@@ -3439,13 +3441,13 @@ var on = (
3439
3441
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3440
3442
  var a = i || {};
3441
3443
  a.formatters;
3442
- var o = Yt(a, ["formatters"]);
3444
+ var o = er(a, ["formatters"]);
3443
3445
  this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3444
3446
  } else
3445
3447
  this.ast = t;
3446
3448
  if (!Array.isArray(this.ast))
3447
3449
  throw new TypeError("A message must be provided as a String or AST.");
3448
- this.formats = sn(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
3450
+ this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
3449
3451
  }
3450
3452
  return Object.defineProperty(e, "defaultLocale", {
3451
3453
  get: function() {
@@ -3458,7 +3460,7 @@ var on = (
3458
3460
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3459
3461
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3460
3462
  }
3461
- }, e.__parse = Yr, e.formats = {
3463
+ }, e.__parse = Kr, e.formats = {
3462
3464
  number: {
3463
3465
  integer: {
3464
3466
  maximumFractionDigits: 0
@@ -3519,7 +3521,7 @@ var on = (
3519
3521
  }, e;
3520
3522
  }()
3521
3523
  );
3522
- function un(e, t) {
3524
+ function hn(e, t) {
3523
3525
  if (t == null)
3524
3526
  return;
3525
3527
  if (t in e)
@@ -3540,60 +3542,60 @@ function un(e, t) {
3540
3542
  n = void 0;
3541
3543
  return n;
3542
3544
  }
3543
- const C = {}, hn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Bt = (e, t) => {
3545
+ const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
3544
3546
  if (t == null)
3545
3547
  return;
3546
3548
  if (t in C && e in C[t])
3547
3549
  return C[t][e];
3548
3550
  const r = ge(t);
3549
3551
  for (let n = 0; n < r.length; n++) {
3550
- const i = r[n], s = fn(i, e);
3552
+ const i = r[n], s = cn(i, e);
3551
3553
  if (s)
3552
- return hn(e, t, s);
3554
+ return ln(e, t, s);
3553
3555
  }
3554
3556
  };
3555
- let $e;
3556
- const z = ce({});
3557
- function ln(e) {
3558
- return $e[e] || null;
3557
+ let De;
3558
+ const W = ce({});
3559
+ function fn(e) {
3560
+ return De[e] || null;
3559
3561
  }
3560
- function At(e) {
3561
- return e in $e;
3562
+ function Pt(e) {
3563
+ return e in De;
3562
3564
  }
3563
- function fn(e, t) {
3564
- if (!At(e))
3565
+ function cn(e, t) {
3566
+ if (!Pt(e))
3565
3567
  return null;
3566
- const r = ln(e);
3567
- return un(r, t);
3568
+ const r = fn(e);
3569
+ return hn(r, t);
3568
3570
  }
3569
- function cn(e) {
3571
+ function mn(e) {
3570
3572
  if (e == null)
3571
3573
  return;
3572
3574
  const t = ge(e);
3573
3575
  for (let r = 0; r < t.length; r++) {
3574
3576
  const n = t[r];
3575
- if (At(n))
3577
+ if (Pt(n))
3576
3578
  return n;
3577
3579
  }
3578
3580
  }
3579
- function mn(e, ...t) {
3580
- delete C[e], z.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
3581
+ function gn(e, ...t) {
3582
+ delete C[e], W.update((r) => (r[e] = pr.all([r[e] || {}, ...t]), r));
3581
3583
  }
3582
- W(
3583
- [z],
3584
+ z(
3585
+ [W],
3584
3586
  ([e]) => Object.keys(e)
3585
3587
  );
3586
- z.subscribe((e) => $e = e);
3588
+ W.subscribe((e) => De = e);
3587
3589
  const oe = {};
3588
- function gn(e, t) {
3590
+ function dn(e, t) {
3589
3591
  oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3590
3592
  }
3591
- function wt(e) {
3593
+ function Nt(e) {
3592
3594
  return oe[e];
3593
3595
  }
3594
- function dn(e) {
3596
+ function bn(e) {
3595
3597
  return ge(e).map((t) => {
3596
- const r = wt(t);
3598
+ const r = Nt(t);
3597
3599
  return [t, r ? [...r] : []];
3598
3600
  }).filter(([, t]) => t.length > 0);
3599
3601
  }
@@ -3601,31 +3603,31 @@ function Le(e) {
3601
3603
  return e == null ? !1 : ge(e).some(
3602
3604
  (t) => {
3603
3605
  var r;
3604
- return (r = wt(t)) == null ? void 0 : r.size;
3606
+ return (r = Nt(t)) == null ? void 0 : r.size;
3605
3607
  }
3606
3608
  );
3607
3609
  }
3608
- function bn(e, t) {
3610
+ function pn(e, t) {
3609
3611
  return Promise.all(
3610
- t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3611
- ).then((n) => mn(e, ...n));
3612
+ t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3613
+ ).then((n) => gn(e, ...n));
3612
3614
  }
3613
3615
  const Q = {};
3614
- function Pt(e) {
3616
+ function Ot(e) {
3615
3617
  if (!Le(e))
3616
3618
  return e in Q ? Q[e] : Promise.resolve();
3617
- const t = dn(e);
3619
+ const t = bn(e);
3618
3620
  return Q[e] = Promise.all(
3619
3621
  t.map(
3620
- ([r, n]) => bn(r, n)
3622
+ ([r, n]) => pn(r, n)
3621
3623
  )
3622
3624
  ).then(() => {
3623
3625
  if (Le(e))
3624
- return Pt(e);
3626
+ return Ot(e);
3625
3627
  delete Q[e];
3626
3628
  }), Q[e];
3627
3629
  }
3628
- const pn = {
3630
+ const yn = {
3629
3631
  number: {
3630
3632
  scientific: { notation: "scientific" },
3631
3633
  engineering: { notation: "engineering" },
@@ -3654,34 +3656,34 @@ const pn = {
3654
3656
  timeZoneName: "short"
3655
3657
  }
3656
3658
  }
3657
- }, yn = {
3659
+ }, En = {
3658
3660
  fallbackLocale: null,
3659
3661
  loadingDelay: 200,
3660
- formats: pn,
3662
+ formats: yn,
3661
3663
  warnOnMissingMessages: !0,
3662
3664
  handleMissingMessage: void 0,
3663
3665
  ignoreTag: !0
3664
- }, En = yn;
3666
+ }, vn = En;
3665
3667
  function V() {
3666
- return En;
3668
+ return vn;
3667
3669
  }
3668
3670
  const xe = ce(!1);
3669
- var vn = Object.defineProperty, _n = Object.defineProperties, xn = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3671
+ var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3670
3672
  for (var r in t || (t = {}))
3671
- Hn.call(t, r) && Je(e, r, t[r]);
3672
- if (qe)
3673
- for (var r of qe(t))
3674
- Tn.call(t, r) && Je(e, r, t[r]);
3673
+ Tn.call(t, r) && Ke(e, r, t[r]);
3674
+ if (Ye)
3675
+ for (var r of Ye(t))
3676
+ Sn.call(t, r) && Ke(e, r, t[r]);
3675
3677
  return e;
3676
- }, Bn = (e, t) => _n(e, xn(t));
3678
+ }, An = (e, t) => xn(e, Hn(t));
3677
3679
  let Ce;
3678
3680
  const ue = ce(null);
3679
- function Ye(e) {
3681
+ function et(e) {
3680
3682
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3681
3683
  }
3682
3684
  function ge(e, t = V().fallbackLocale) {
3683
- const r = Ye(e);
3684
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
3685
+ const r = et(e);
3686
+ return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3685
3687
  }
3686
3688
  function R() {
3687
3689
  return Ce ?? void 0;
@@ -3689,22 +3691,22 @@ function R() {
3689
3691
  ue.subscribe((e) => {
3690
3692
  Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3691
3693
  });
3692
- const An = (e) => {
3693
- if (e && cn(e) && Le(e)) {
3694
+ const wn = (e) => {
3695
+ if (e && mn(e) && Le(e)) {
3694
3696
  const { loadingDelay: t } = V();
3695
3697
  let r;
3696
3698
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3697
3699
  () => xe.set(!0),
3698
3700
  t
3699
- ) : xe.set(!0), Pt(e).then(() => {
3701
+ ) : xe.set(!0), Ot(e).then(() => {
3700
3702
  ue.set(e);
3701
3703
  }).finally(() => {
3702
3704
  clearTimeout(r), xe.set(!1);
3703
3705
  });
3704
3706
  }
3705
3707
  return ue.set(e);
3706
- }, M = Bn(Sn({}, ue), {
3707
- set: An
3708
+ }, M = An(Bn({}, ue), {
3709
+ set: wn
3708
3710
  }), de = (e) => {
3709
3711
  const t = /* @__PURE__ */ Object.create(null);
3710
3712
  return (n) => {
@@ -3712,20 +3714,20 @@ const An = (e) => {
3712
3714
  return i in t ? t[i] : t[i] = e(n);
3713
3715
  };
3714
3716
  };
3715
- var wn = Object.defineProperty, he = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
3717
+ var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3716
3718
  for (var r in t || (t = {}))
3717
- Nt.call(t, r) && Ke(e, r, t[r]);
3719
+ It.call(t, r) && tt(e, r, t[r]);
3718
3720
  if (he)
3719
3721
  for (var r of he(t))
3720
- Ot.call(t, r) && Ke(e, r, t[r]);
3722
+ Lt.call(t, r) && tt(e, r, t[r]);
3721
3723
  return e;
3722
3724
  }, Z = (e, t) => {
3723
3725
  var r = {};
3724
3726
  for (var n in e)
3725
- Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3727
+ It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3726
3728
  if (e != null && he)
3727
3729
  for (var n of he(e))
3728
- t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
3730
+ t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
3729
3731
  return r;
3730
3732
  };
3731
3733
  const K = (e, t) => {
@@ -3733,21 +3735,21 @@ const K = (e, t) => {
3733
3735
  if (e in r && t in r[e])
3734
3736
  return r[e][t];
3735
3737
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3736
- }, Pn = de(
3738
+ }, Nn = de(
3737
3739
  (e) => {
3738
3740
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3739
3741
  if (r == null)
3740
3742
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3741
3743
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3742
3744
  }
3743
- ), Nn = de(
3745
+ ), On = de(
3744
3746
  (e) => {
3745
3747
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3746
3748
  if (r == null)
3747
3749
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3748
3750
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3749
3751
  }
3750
- ), On = de(
3752
+ ), In = de(
3751
3753
  (e) => {
3752
3754
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3753
3755
  if (r == null)
@@ -3756,33 +3758,33 @@ const K = (e, t) => {
3756
3758
  );
3757
3759
  return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3758
3760
  }
3759
- ), In = (e = {}) => {
3761
+ ), Ln = (e = {}) => {
3760
3762
  var t = e, {
3761
3763
  locale: r = R()
3762
3764
  } = t, n = Z(t, [
3763
3765
  "locale"
3764
3766
  ]);
3765
- return Pn(Ue({ locale: r }, n));
3766
- }, Ln = (e = {}) => {
3767
+ return Nn(Ge({ locale: r }, n));
3768
+ }, Cn = (e = {}) => {
3767
3769
  var t = e, {
3768
3770
  locale: r = R()
3769
3771
  } = t, n = Z(t, [
3770
3772
  "locale"
3771
3773
  ]);
3772
- return Nn(Ue({ locale: r }, n));
3773
- }, Cn = (e = {}) => {
3774
+ return On(Ge({ locale: r }, n));
3775
+ }, Mn = (e = {}) => {
3774
3776
  var t = e, {
3775
3777
  locale: r = R()
3776
3778
  } = t, n = Z(t, [
3777
3779
  "locale"
3778
3780
  ]);
3779
- return On(Ue({ locale: r }, n));
3780
- }, Mn = de(
3781
+ return In(Ge({ locale: r }, n));
3782
+ }, Rn = de(
3781
3783
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3782
- (e, t = R()) => new on(e, t, V().formats, {
3784
+ (e, t = R()) => new un(e, t, V().formats, {
3783
3785
  ignoreTag: V().ignoreTag
3784
3786
  })
3785
- ), Rn = (e, t = {}) => {
3787
+ ), $n = (e, t = {}) => {
3786
3788
  var r, n, i, s;
3787
3789
  let a = t;
3788
3790
  typeof e == "object" && (a = e, e = a.id);
@@ -3795,7 +3797,7 @@ const K = (e, t) => {
3795
3797
  throw new Error(
3796
3798
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3797
3799
  );
3798
- let h = Bt(e, l);
3800
+ let h = wt(e, l);
3799
3801
  if (!h)
3800
3802
  h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3801
3803
  else if (typeof h != "string")
@@ -3804,24 +3806,47 @@ const K = (e, t) => {
3804
3806
  ), h;
3805
3807
  if (!o)
3806
3808
  return h;
3807
- let c = h;
3809
+ let m = h;
3808
3810
  try {
3809
- c = Mn(h, l).format(o);
3811
+ m = Rn(h, l).format(o);
3810
3812
  } catch (f) {
3811
3813
  f instanceof Error && console.warn(
3812
3814
  `[svelte-i18n] Message "${e}" has syntax error:`,
3813
3815
  f.message
3814
3816
  );
3815
3817
  }
3816
- return c;
3817
- }, $n = (e, t) => Cn(t).format(e), Un = (e, t) => Ln(t).format(e), Dn = (e, t) => In(t).format(e), Gn = (e, t = R()) => Bt(e, t), ui = W([M, z], () => Rn);
3818
- W([M], () => $n);
3819
- W([M], () => Un);
3820
- W([M], () => Dn);
3821
- W([M, z], () => Gn);
3822
- function Fn({ withLocale: e, translations: t }) {
3818
+ return m;
3819
+ }, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => wt(e, t), ci = z([M, W], () => $n);
3820
+ z([M], () => Un);
3821
+ z([M], () => Dn);
3822
+ z([M], () => Gn);
3823
+ z([M, W], () => Fn);
3824
+ function jn(e, t) {
3825
+ if (e) {
3826
+ const r = document.createElement("style");
3827
+ r.innerHTML = t, e.appendChild(r);
3828
+ }
3829
+ }
3830
+ function kn(e, t) {
3831
+ const r = new URL(t);
3832
+ fetch(r.href).then((n) => n.text()).then((n) => {
3833
+ const i = document.createElement("style");
3834
+ i.innerHTML = n, e && e.appendChild(i);
3835
+ }).catch((n) => {
3836
+ console.error("There was an error while trying to load client styling from URL", n);
3837
+ });
3838
+ }
3839
+ function Vn(e, t, r) {
3840
+ if (window.emMessageBus) {
3841
+ const n = document.createElement("style");
3842
+ window.emMessageBus.subscribe(t, (i) => {
3843
+ n.innerHTML = i, e && e.appendChild(n);
3844
+ });
3845
+ }
3846
+ }
3847
+ function Xn({ withLocale: e, translations: t }) {
3823
3848
  M.subscribe((r) => {
3824
- r == null && (z.set(t), M.set(e));
3849
+ r == null && (W.set(t), M.set(e));
3825
3850
  });
3826
3851
  }
3827
3852
  if (typeof window < "u") {
@@ -3836,14 +3861,14 @@ if (typeof window < "u") {
3836
3861
  }
3837
3862
  };
3838
3863
  };
3839
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-xskv0zFo.js").then(({ default: t }) => {
3864
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-NzZcepd8.js").then(({ default: t }) => {
3840
3865
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3841
3866
  });
3842
3867
  }
3843
- function jn(e) {
3844
- Mt(e, "svelte-1rh2qpg", ".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3868
+ function zn(e) {
3869
+ $t(e, "svelte-1rh2qpg", ".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3845
3870
  }
3846
- function et(e) {
3871
+ function rt(e) {
3847
3872
  let t;
3848
3873
  return {
3849
3874
  c() {
@@ -3887,6 +3912,11 @@ function et(e) {
3887
3912
  "fetchviaevent",
3888
3913
  /*fetchviaevent*/
3889
3914
  e[16]
3915
+ ), g(
3916
+ t,
3917
+ "mbsource",
3918
+ /*mbsource*/
3919
+ e[17]
3890
3920
  ), g(t, "categoryid", "FAVORITES"), g(t, "class", "CategoryContainer"), g(
3891
3921
  t,
3892
3922
  "showgamename",
@@ -3986,6 +4016,12 @@ function et(e) {
3986
4016
  "fetchviaevent",
3987
4017
  /*fetchviaevent*/
3988
4018
  r[16]
4019
+ ), n & /*mbsource*/
4020
+ 131072 && g(
4021
+ t,
4022
+ "mbsource",
4023
+ /*mbsource*/
4024
+ r[17]
3989
4025
  ), n & /*showgamename*/
3990
4026
  2048 && g(
3991
4027
  t,
@@ -4047,57 +4083,44 @@ function et(e) {
4047
4083
  }
4048
4084
  };
4049
4085
  }
4050
- function kn(e) {
4086
+ function Wn(e) {
4051
4087
  let t, r = (
4052
4088
  /*session*/
4053
- e[4] && et(e)
4089
+ e[4] && rt(e)
4054
4090
  );
4055
4091
  return {
4056
4092
  c() {
4057
4093
  t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
4058
4094
  },
4059
4095
  m(n, i) {
4060
- le(n, t, i), r && r.m(t, null), e[18](t);
4096
+ le(n, t, i), r && r.m(t, null), e[19](t);
4061
4097
  },
4062
4098
  p(n, [i]) {
4063
4099
  /*session*/
4064
- n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4100
+ n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4065
4101
  },
4066
- i: I,
4067
- o: I,
4102
+ i: N,
4103
+ o: N,
4068
4104
  d(n) {
4069
- n && ee(t), r && r.d(), e[18](null);
4105
+ n && ee(t), r && r.d(), e[19](null);
4070
4106
  }
4071
4107
  };
4072
4108
  }
4073
- function Vn(e, t, r) {
4074
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: c = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: x = "false" } = t, { visiblegames: T = "" } = t, { favorites: N = "" } = t, { casinomygames: P = "false" } = t, { fetchviaevent: S = "true" } = t, B;
4075
- Fn({ withLocale: "en", translations: {} });
4076
- const O = () => {
4077
- let m = document.createElement("style");
4078
- m.innerHTML = u, B.appendChild(m);
4079
- }, L = () => {
4080
- let m = document.createElement("style");
4081
- fetch(new URL(h)).then((w) => w.text()).then((w) => {
4082
- m.innerHTML = w, setTimeout(
4083
- () => {
4084
- B.appendChild(m);
4085
- },
4086
- 1
4087
- );
4088
- });
4089
- };
4090
- function _(m) {
4091
- He[m ? "unshift" : "push"](() => {
4092
- B = m, r(17, B);
4109
+ function Zn(e, t, r) {
4110
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
4111
+ Xn({ withLocale: "en", translations: {} });
4112
+ function O(c) {
4113
+ He[c ? "unshift" : "push"](() => {
4114
+ x = c, r(18, x);
4093
4115
  });
4094
4116
  }
4095
- return e.$$set = (m) => {
4096
- "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, a = m.lang), "session" in m && r(4, o = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, u = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "livecasino" in m && r(8, c = m.livecasino), "integratedgameframemobile" in m && r(9, f = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(10, b = m.integratedgameframedesktop), "showgamename" in m && r(11, y = m.showgamename), "gamepagemodalurl" in m && r(12, x = m.gamepagemodalurl), "visiblegames" in m && r(13, T = m.visiblegames), "favorites" in m && r(14, N = m.favorites), "casinomygames" in m && r(15, P = m.casinomygames), "fetchviaevent" in m && r(16, S = m.fetchviaevent);
4117
+ return e.$$set = (c) => {
4118
+ "endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
4097
4119
  }, e.$$.update = () => {
4098
4120
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4099
- 131136 && u && B && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4100
- 131200 && h && B && L();
4121
+ 262208 && u && x && jn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4122
+ 262272 && h && x && kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4123
+ 393216 && x && Vn(x, `${P}.Style`);
4101
4124
  }, [
4102
4125
  n,
4103
4126
  i,
@@ -4107,27 +4130,28 @@ function Vn(e, t, r) {
4107
4130
  l,
4108
4131
  u,
4109
4132
  h,
4110
- c,
4133
+ m,
4111
4134
  f,
4112
4135
  b,
4113
4136
  y,
4114
- x,
4137
+ _,
4115
4138
  T,
4116
- N,
4117
- P,
4139
+ w,
4140
+ A,
4118
4141
  S,
4119
- B,
4120
- _
4142
+ P,
4143
+ x,
4144
+ O
4121
4145
  ];
4122
4146
  }
4123
- class It extends qt {
4147
+ class Ct extends Yt {
4124
4148
  constructor(t) {
4125
- super(), Zt(
4149
+ super(), qt(
4126
4150
  this,
4127
4151
  t,
4128
- Vn,
4129
- kn,
4130
- rt,
4152
+ Zn,
4153
+ Wn,
4154
+ it,
4131
4155
  {
4132
4156
  endpoint: 0,
4133
4157
  datasource: 1,
@@ -4145,9 +4169,10 @@ class It extends qt {
4145
4169
  visiblegames: 13,
4146
4170
  favorites: 14,
4147
4171
  casinomygames: 15,
4148
- fetchviaevent: 16
4172
+ fetchviaevent: 16,
4173
+ mbsource: 17
4149
4174
  },
4150
- jn
4175
+ zn
4151
4176
  );
4152
4177
  }
4153
4178
  get endpoint() {
@@ -4252,52 +4277,61 @@ class It extends qt {
4252
4277
  set fetchviaevent(t) {
4253
4278
  this.$$set({ fetchviaevent: t }), H();
4254
4279
  }
4280
+ get mbsource() {
4281
+ return this.$$.ctx[17];
4282
+ }
4283
+ set mbsource(t) {
4284
+ this.$$set({ mbsource: t }), H();
4285
+ }
4255
4286
  }
4256
- Qt(It, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4257
- const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4287
+ Jt(Ct, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4288
+ const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4258
4289
  __proto__: null,
4259
- default: It
4290
+ default: Ct
4260
4291
  }, Symbol.toStringTag, { value: "Module" }));
4261
4292
  export {
4262
4293
  M as $,
4263
- Yn as A,
4264
- Xn as B,
4265
- Qt as C,
4266
- ui as D,
4267
- Kn as E,
4268
- Qn as F,
4269
- ri as G,
4270
- ei as H,
4271
- si as I,
4272
- g as J,
4273
- ii as K,
4294
+ ei as A,
4295
+ ti as B,
4296
+ Jn as C,
4297
+ X as D,
4298
+ ri as E,
4299
+ ci as F,
4300
+ Qn as G,
4301
+ ni as H,
4302
+ Kn as I,
4303
+ ii as J,
4304
+ ai as K,
4274
4305
  hi as L,
4275
- qt as S,
4276
- ai as _,
4306
+ g as M,
4307
+ ui as N,
4308
+ mi as O,
4309
+ Yt as S,
4310
+ li as _,
4277
4311
  pe as a,
4278
- oi as b,
4312
+ fi as b,
4279
4313
  fe as c,
4280
- z as d,
4281
- mn as e,
4314
+ W as d,
4315
+ gn as e,
4282
4316
  H as f,
4283
- Mt as g,
4284
- ee as h,
4285
- Zt as i,
4286
- le as j,
4287
- te as k,
4288
- Wn as l,
4289
- He as m,
4290
- I as n,
4291
- ti as o,
4292
- Jn as p,
4293
- Ct as q,
4294
- Re as r,
4295
- rt as s,
4296
- it as t,
4297
- ni as u,
4298
- zn as v,
4299
- X as w,
4300
- qn as x,
4301
- Ut as y,
4302
- Zn as z
4317
+ Jt as g,
4318
+ $t as h,
4319
+ qt as i,
4320
+ te as j,
4321
+ le as k,
4322
+ ee as l,
4323
+ qn as m,
4324
+ N as n,
4325
+ si as o,
4326
+ kn as p,
4327
+ He as q,
4328
+ jn as r,
4329
+ it as s,
4330
+ Vn as t,
4331
+ oi as u,
4332
+ Gt as v,
4333
+ Yn as w,
4334
+ at as x,
4335
+ Re as y,
4336
+ Rt as z
4303
4337
  };