@everymatrix/casino-categories-providers 1.77.25 → 1.77.26

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 (29) hide show
  1. package/components/CasinoCategories-BNeGOruX.cjs +16 -0
  2. package/components/{CasinoCategories-BqM-br8V.js → CasinoCategories-CvOGGg1I.js} +671 -675
  3. package/components/{CasinoCategories-CXLAuWYF.js → CasinoCategories-DvGfMWW7.js} +636 -640
  4. package/components/{CasinoCategoriesProviders-DMIdKBMn.js → CasinoCategoriesProviders-Bl62YIHb.js} +17 -17
  5. package/components/{CasinoCategoriesProviders-BhaINbEA.js → CasinoCategoriesProviders-COGA7loG.js} +19 -19
  6. package/components/{CasinoCategoriesProviders-BHRb__s-.cjs → CasinoCategoriesProviders-CzXh24lS.cjs} +1 -1
  7. package/components/{CasinoProviders-BFxUOmAA.cjs → CasinoProviders-BCnyOI93.cjs} +1 -1
  8. package/components/{CasinoProviders-BMvB6Px6.js → CasinoProviders-CFp8pSNe.js} +36 -36
  9. package/components/{CasinoProviders-Bqh5jFuR.js → CasinoProviders-DGKLKFB1.js} +36 -36
  10. package/es2015/casino-categories-providers.cjs +1 -1
  11. package/es2015/casino-categories-providers.js +1 -1
  12. package/esnext/casino-categories-providers.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  15. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  16. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  17. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
  18. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
  19. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
  20. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  21. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  22. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  23. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  24. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  25. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
  26. package/components/CasinoCategories-D2i87Wp_.cjs +0 -3
  27. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  28. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  29. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
@@ -2,15 +2,15 @@ var rr = Object.defineProperty, nr = Object.defineProperties;
2
2
  var ir = Object.getOwnPropertyDescriptors;
3
3
  var Ye = Object.getOwnPropertySymbols;
4
4
  var sr = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable;
5
- var Ae = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
5
+ var He = (e, t, r) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- sr.call(t, r) && Ae(e, r, t[r]);
7
+ sr.call(t, r) && He(e, r, t[r]);
8
8
  if (Ye)
9
9
  for (var r of Ye(t))
10
- or.call(t, r) && Ae(e, r, t[r]);
10
+ or.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
12
  }, et = (e, t) => nr(e, ir(t));
13
- var N = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
@@ -27,7 +27,7 @@ var tt = (e, t, r) => new Promise((n, i) => {
27
27
  }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-C7s6Uvn5.js";
30
+ import "../stencil/ui-image-CX3MBBZL.js";
31
31
  function L() {
32
32
  }
33
33
  function Ct(e) {
@@ -36,23 +36,23 @@ function Ct(e) {
36
36
  function rt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function he(e) {
39
+ function ue(e) {
40
40
  e.forEach(Ct);
41
41
  }
42
- function We(e) {
42
+ function Xe(e) {
43
43
  return typeof e == "function";
44
44
  }
45
45
  function Ht(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
48
  let ce;
49
- function ye(e, t) {
49
+ function be(e, t) {
50
50
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
51
51
  }
52
52
  function ar(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function St(e, ...t) {
55
+ function At(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -62,16 +62,16 @@ function St(e, ...t) {
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
64
  function ur(e, t, r) {
65
- e.$$.on_destroy.push(St(t, r));
65
+ e.$$.on_destroy.push(At(t, r));
66
66
  }
67
- function x(e, t) {
67
+ function v(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
70
  function hr(e, t, r) {
71
71
  const n = lr(e);
72
72
  if (!n.getElementById(t)) {
73
- const i = B("style");
74
- i.id = t, i.textContent = r, fr(n, i);
73
+ const i = S("style");
74
+ i.id = t, i.textContent = r, cr(n, i);
75
75
  }
76
76
  }
77
77
  function lr(e) {
@@ -84,36 +84,36 @@ function lr(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function fr(e, t) {
88
- return x(
87
+ function cr(e, t) {
88
+ return v(
89
89
  /** @type {Document} */
90
90
  e.head || e,
91
91
  t
92
92
  ), t.sheet;
93
93
  }
94
- function ee(e, t, r) {
94
+ function K(e, t, r) {
95
95
  e.insertBefore(t, r || null);
96
96
  }
97
- function V(e) {
97
+ function k(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
100
  function nt(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
104
- function B(e) {
104
+ function S(e) {
105
105
  return document.createElement(e);
106
106
  }
107
- function G(e) {
107
+ function D(e) {
108
108
  return document.createTextNode(e);
109
109
  }
110
- function D() {
111
- return G(" ");
110
+ function U() {
111
+ return D(" ");
112
112
  }
113
- function Oi() {
114
- return G("");
113
+ function Si() {
114
+ return D("");
115
115
  }
116
- function At(e, t, r, n) {
116
+ function Bt(e, t, r, n) {
117
117
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
118
118
  }
119
119
  function I(e, t, r) {
@@ -123,10 +123,10 @@ function R(e, t, r) {
123
123
  const n = t.toLowerCase();
124
124
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
125
125
  }
126
- function cr(e) {
126
+ function fr(e) {
127
127
  return Array.from(e.childNodes);
128
128
  }
129
- function j(e, t) {
129
+ function F(e, t) {
130
130
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
131
131
  t);
132
132
  }
@@ -139,90 +139,90 @@ function gr(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let oe;
143
- function se(e) {
144
- oe = e;
142
+ let se;
143
+ function ie(e) {
144
+ se = e;
145
145
  }
146
146
  function mr() {
147
- if (!oe)
147
+ if (!se)
148
148
  throw new Error("Function called outside component initialization");
149
- return oe;
149
+ return se;
150
150
  }
151
151
  function pr(e) {
152
152
  mr().$$.on_mount.push(e);
153
153
  }
154
- const Z = [], Me = [];
155
- let Q = [];
154
+ const W = [], Le = [];
155
+ let Z = [];
156
156
  const it = [], dr = /* @__PURE__ */ Promise.resolve();
157
- let $e = !1;
157
+ let Ie = !1;
158
158
  function br() {
159
- $e || ($e = !0, dr.then(M));
159
+ Ie || (Ie = !0, dr.then(M));
160
160
  }
161
- function Re(e) {
162
- Q.push(e);
161
+ function Me(e) {
162
+ Z.push(e);
163
163
  }
164
- const Be = /* @__PURE__ */ new Set();
165
- let z = 0;
164
+ const Ae = /* @__PURE__ */ new Set();
165
+ let X = 0;
166
166
  function M() {
167
- if (z !== 0)
167
+ if (X !== 0)
168
168
  return;
169
- const e = oe;
169
+ const e = se;
170
170
  do {
171
171
  try {
172
- for (; z < Z.length; ) {
173
- const t = Z[z];
174
- z++, se(t), yr(t.$$);
172
+ for (; X < W.length; ) {
173
+ const t = W[X];
174
+ X++, ie(t), yr(t.$$);
175
175
  }
176
176
  } catch (t) {
177
- throw Z.length = 0, z = 0, t;
177
+ throw W.length = 0, X = 0, t;
178
178
  }
179
- for (se(null), Z.length = 0, z = 0; Me.length; )
180
- Me.pop()();
181
- for (let t = 0; t < Q.length; t += 1) {
182
- const r = Q[t];
183
- Be.has(r) || (Be.add(r), r());
179
+ for (ie(null), W.length = 0, X = 0; Le.length; )
180
+ Le.pop()();
181
+ for (let t = 0; t < Z.length; t += 1) {
182
+ const r = Z[t];
183
+ Ae.has(r) || (Ae.add(r), r());
184
184
  }
185
- Q.length = 0;
186
- } while (Z.length);
185
+ Z.length = 0;
186
+ } while (W.length);
187
187
  for (; it.length; )
188
188
  it.pop()();
189
- $e = !1, Be.clear(), se(e);
189
+ Ie = !1, Ae.clear(), ie(e);
190
190
  }
191
191
  function yr(e) {
192
192
  if (e.fragment !== null) {
193
- e.update(), he(e.before_update);
193
+ e.update(), ue(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
196
196
  }
197
197
  }
198
198
  function _r(e) {
199
199
  const t = [], r = [];
200
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
200
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
201
201
  }
202
- const Er = /* @__PURE__ */ new Set();
203
- function xr(e, t) {
204
- e && e.i && (Er.delete(e), e.i(t));
202
+ const xr = /* @__PURE__ */ new Set();
203
+ function Er(e, t) {
204
+ e && e.i && (xr.delete(e), e.i(t));
205
205
  }
206
- function ge(e) {
206
+ function fe(e) {
207
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
208
  }
209
209
  function vr(e, t, r) {
210
210
  const { fragment: n, after_update: i } = e.$$;
211
- n && n.m(t, r), Re(() => {
212
- const s = e.$$.on_mount.map(Ct).filter(We);
213
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : he(s), e.$$.on_mount = [];
214
- }), i.forEach(Re);
211
+ n && n.m(t, r), Me(() => {
212
+ const s = e.$$.on_mount.map(Ct).filter(Xe);
213
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
214
+ }), i.forEach(Me);
215
215
  }
216
216
  function Tr(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (_r(r.after_update), he(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (_r(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
220
  function Cr(e, t) {
221
- e.$$.dirty[0] === -1 && (Z.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
+ e.$$.dirty[0] === -1 && (W.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
223
  function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
224
- const h = oe;
225
- se(e);
224
+ const h = se;
225
+ ie(e);
226
226
  const a = e.$$ = {
227
227
  fragment: null,
228
228
  ctx: [],
@@ -246,21 +246,21 @@ function Hr(e, t, r, n, i, s, o = null, u = [-1]) {
246
246
  };
247
247
  o && o(a.root);
248
248
  let l = !1;
249
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
250
- const d = p.length ? p[0] : f;
251
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Cr(e, c)), f;
252
- }) : [], a.update(), l = !0, he(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
249
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
250
+ const d = p.length ? p[0] : c;
251
+ return a.ctx && i(a.ctx[f], a.ctx[f] = d) && (!a.skip_bound && a.bound[f] && a.bound[f](d), l && Cr(e, f)), c;
252
+ }) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const c = cr(t.target);
255
- a.fragment && a.fragment.l(c), c.forEach(V);
254
+ const f = fr(t.target);
255
+ a.fragment && a.fragment.l(f), f.forEach(k);
256
256
  } else
257
257
  a.fragment && a.fragment.c();
258
- t.intro && xr(e.$$.fragment), vr(e, t.target, t.anchor), M();
258
+ t.intro && Er(e.$$.fragment), vr(e, t.target, t.anchor), M();
259
259
  }
260
- se(h);
260
+ ie(h);
261
261
  }
262
- let Bt;
263
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
262
+ let St;
263
+ typeof HTMLElement == "function" && (St = class extends HTMLElement {
264
264
  constructor(t, r, n) {
265
265
  super();
266
266
  /** The Svelte component constructor */
@@ -304,17 +304,17 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
304
304
  let o;
305
305
  return {
306
306
  c: function() {
307
- o = B("slot"), s !== "default" && I(o, "name", s);
307
+ o = S("slot"), s !== "default" && I(o, "name", s);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
311
311
  * @param {HTMLElement} [anchor]
312
312
  */
313
313
  m: function(a, l) {
314
- ee(a, o, l);
314
+ K(a, o, l);
315
315
  },
316
316
  d: function(a) {
317
- a && V(o);
317
+ a && k(o);
318
318
  }
319
319
  };
320
320
  };
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
326
326
  s in n && (r[s] = [t(s)]);
327
327
  for (const s of this.attributes) {
328
328
  const o = this.$$g_p(s.name);
329
- o in this.$$d || (this.$$d[o] = pe(o, s.value, this.$$p_d, "toProp"));
329
+ o in this.$$d || (this.$$d[o] = me(o, s.value, this.$$p_d, "toProp"));
330
330
  }
331
331
  for (const s in this.$$p_d)
332
332
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -343,7 +343,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
343
343
  this.$$r = !0;
344
344
  for (const s in this.$$p_d)
345
345
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
346
- const o = pe(
346
+ const o = me(
347
347
  s,
348
348
  this.$$d[s],
349
349
  this.$$p_d,
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
367
367
  // and setting attributes through setAttribute etc, this is helpful
368
368
  attributeChangedCallback(t, r, n) {
369
369
  var i;
370
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
370
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
371
371
  }
372
372
  disconnectedCallback() {
373
373
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
380
380
  ) || t;
381
381
  }
382
382
  });
383
- function pe(e, t, r, n) {
383
+ function me(e, t, r, n) {
384
384
  var s;
385
385
  const i = (s = r[e]) == null ? void 0 : s.type;
386
386
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -410,8 +410,8 @@ function pe(e, t, r, n) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function Sr(e, t, r, n, i, s) {
414
- let o = class extends Bt {
413
+ function Ar(e, t, r, n, i, s) {
414
+ let o = class extends St {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -428,7 +428,7 @@ function Sr(e, t, r, n, i, s) {
428
428
  },
429
429
  set(h) {
430
430
  var a;
431
- h = pe(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
431
+ h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
432
432
  }
433
433
  });
434
434
  }), n.forEach((u) => {
@@ -441,7 +441,7 @@ function Sr(e, t, r, n, i, s) {
441
441
  }), e.element = /** @type {any} */
442
442
  o, o;
443
443
  }
444
- class Ar {
444
+ class Br {
445
445
  constructor() {
446
446
  /**
447
447
  * ### PRIVATE API
@@ -471,7 +471,7 @@ class Ar {
471
471
  * @returns {() => void}
472
472
  */
473
473
  $on(t, r) {
474
- if (!We(r))
474
+ if (!Xe(r))
475
475
  return L;
476
476
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
477
  return n.push(r), () => {
@@ -487,26 +487,26 @@ class Ar {
487
487
  this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const Br = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
492
- const W = [];
493
- function Or(e, t) {
490
+ const Sr = "4";
491
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
492
+ const z = [];
493
+ function wr(e, t) {
494
494
  return {
495
- subscribe: ve(e, t).subscribe
495
+ subscribe: xe(e, t).subscribe
496
496
  };
497
497
  }
498
- function ve(e, t = L) {
498
+ function xe(e, t = L) {
499
499
  let r;
500
500
  const n = /* @__PURE__ */ new Set();
501
501
  function i(u) {
502
502
  if (Ht(e, u) && (e = u, r)) {
503
- const h = !W.length;
503
+ const h = !z.length;
504
504
  for (const a of n)
505
- a[1](), W.push(a, e);
505
+ a[1](), z.push(a, e);
506
506
  if (h) {
507
- for (let a = 0; a < W.length; a += 2)
508
- W[a][0](W[a + 1]);
509
- W.length = 0;
507
+ for (let a = 0; a < z.length; a += 2)
508
+ z[a][0](z[a + 1]);
509
+ z.length = 0;
510
510
  }
511
511
  }
512
512
  }
@@ -521,38 +521,38 @@ function ve(e, t = L) {
521
521
  }
522
522
  return { set: i, update: s, subscribe: o };
523
523
  }
524
- function te(e, t, r) {
524
+ function ee(e, t, r) {
525
525
  const n = !Array.isArray(e), i = n ? [e] : e;
526
526
  if (!i.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const s = t.length < 2;
529
- return Or(r, (o, u) => {
529
+ return wr(r, (o, u) => {
530
530
  let h = !1;
531
531
  const a = [];
532
- let l = 0, c = L;
533
- const f = () => {
532
+ let l = 0, f = L;
533
+ const c = () => {
534
534
  if (l)
535
535
  return;
536
- c();
536
+ f();
537
537
  const d = t(n ? a[0] : a, o, u);
538
- s ? o(d) : c = We(d) ? d : L;
538
+ s ? o(d) : f = Xe(d) ? d : L;
539
539
  }, p = i.map(
540
- (d, g) => St(
540
+ (d, g) => At(
541
541
  d,
542
542
  (E) => {
543
- a[g] = E, l &= ~(1 << g), h && f();
543
+ a[g] = E, l &= ~(1 << g), h && c();
544
544
  },
545
545
  () => {
546
546
  l |= 1 << g;
547
547
  }
548
548
  )
549
549
  );
550
- return h = !0, f(), function() {
551
- he(p), c(), h = !1;
550
+ return h = !0, c(), function() {
551
+ ue(p), f(), h = !1;
552
552
  };
553
553
  });
554
554
  }
555
- function wr(e) {
555
+ function Or(e) {
556
556
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
558
  var Pr = function(t) {
@@ -572,19 +572,19 @@ function $r(e) {
572
572
  function Rr(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
- function ae(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Rr(e), e, t) : e;
575
+ function oe(e, t) {
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Rr(e), e, t) : e;
577
577
  }
578
578
  function Ur(e, t, r) {
579
579
  return e.concat(t).map(function(n) {
580
- return ae(n, r);
580
+ return oe(n, r);
581
581
  });
582
582
  }
583
583
  function Dr(e, t) {
584
584
  if (!t.customMerge)
585
- return q;
585
+ return Q;
586
586
  var r = t.customMerge(e);
587
- return typeof r == "function" ? r : q;
587
+ return typeof r == "function" ? r : Q;
588
588
  }
589
589
  function Gr(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -594,7 +594,7 @@ function Gr(e) {
594
594
  function st(e) {
595
595
  return Object.keys(e).concat(Gr(e));
596
596
  }
597
- function Ot(e, t) {
597
+ function wt(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch (r) {
@@ -602,56 +602,70 @@ function Ot(e, t) {
602
602
  }
603
603
  }
604
604
  function Fr(e, t) {
605
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
605
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
607
  function jr(e, t, r) {
608
608
  var n = {};
609
609
  return r.isMergeableObject(e) && st(e).forEach(function(i) {
610
- n[i] = ae(e[i], r);
610
+ n[i] = oe(e[i], r);
611
611
  }), st(t).forEach(function(i) {
612
- Fr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
612
+ Fr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
613
613
  }), n;
614
614
  }
615
- function q(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = ae;
615
+ function Q(e, t, r) {
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = oe;
617
617
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
618
- return s ? n ? r.arrayMerge(e, t, r) : jr(e, t, r) : ae(t, r);
618
+ return s ? n ? r.arrayMerge(e, t, r) : jr(e, t, r) : oe(t, r);
619
619
  }
620
- q.all = function(t, r) {
620
+ Q.all = function(t, r) {
621
621
  if (!Array.isArray(t))
622
622
  throw new Error("first argument should be an array");
623
623
  return t.reduce(function(n, i) {
624
- return q(n, i, r);
624
+ return Q(n, i, r);
625
625
  }, {});
626
626
  };
627
- var kr = q, Vr = kr;
628
- const Xr = /* @__PURE__ */ wr(Vr);
629
- var Ue = function(e, t) {
630
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
627
+ var kr = Q, Vr = kr;
628
+ const Xr = /* @__PURE__ */ Or(Vr);
629
+ /*! *****************************************************************************
630
+ Copyright (c) Microsoft Corporation.
631
+
632
+ Permission to use, copy, modify, and/or distribute this software for any
633
+ purpose with or without fee is hereby granted.
634
+
635
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
636
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
637
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
638
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
639
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
640
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
641
+ PERFORMANCE OF THIS SOFTWARE.
642
+ ***************************************************************************** */
643
+ var $e = function(e, t) {
644
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
645
  r.__proto__ = n;
632
646
  } || function(r, n) {
633
647
  for (var i in n)
634
648
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
635
- }, Ue(e, t);
649
+ }, $e(e, t);
636
650
  };
637
- function Te(e, t) {
651
+ function Ee(e, t) {
638
652
  if (typeof t != "function" && t !== null)
639
653
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
640
- Ue(e, t);
654
+ $e(e, t);
641
655
  function r() {
642
656
  this.constructor = e;
643
657
  }
644
658
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
645
659
  }
646
- var U = function() {
647
- return U = Object.assign || function(t) {
660
+ var x = function() {
661
+ return x = Object.assign || function(t) {
648
662
  for (var r, n = 1, i = arguments.length; n < i; n++) {
649
663
  r = arguments[n];
650
664
  for (var s in r)
651
665
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
652
666
  }
653
667
  return t;
654
- }, U.apply(this, arguments);
668
+ }, x.apply(this, arguments);
655
669
  };
656
670
  function zr(e, t) {
657
671
  var r = {};
@@ -662,14 +676,14 @@ function zr(e, t) {
662
676
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
663
677
  return r;
664
678
  }
665
- function Oe(e, t, r) {
666
- if (r || arguments.length === 2)
679
+ function Be(e, t, r) {
680
+ if (arguments.length === 2)
667
681
  for (var n = 0, i = t.length, s; n < i; n++)
668
682
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
669
- return e.concat(s || Array.prototype.slice.call(t));
683
+ return e.concat(s || t);
670
684
  }
671
- function we(e, t) {
672
- var r = t && t.cache ? t.cache : Kr, n = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Qr;
685
+ function Se(e, t) {
686
+ var r = t && t.cache ? t.cache : Yr, n = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Zr;
673
687
  return i(e, {
674
688
  cache: r,
675
689
  serializer: n
@@ -678,103 +692,95 @@ function we(e, t) {
678
692
  function Wr(e) {
679
693
  return e == null || typeof e == "number" || typeof e == "boolean";
680
694
  }
681
- function Zr(e, t, r, n) {
695
+ function Ot(e, t, r, n) {
682
696
  var i = Wr(n) ? n : r(n), s = t.get(i);
683
697
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
684
698
  }
685
- function wt(e, t, r) {
699
+ function Pt(e, t, r) {
686
700
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
687
701
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
688
702
  }
689
- function Pt(e, t, r, n, i) {
703
+ function ze(e, t, r, n, i) {
690
704
  return r.bind(t, e, n, i);
691
705
  }
706
+ function Zr(e, t) {
707
+ var r = e.length === 1 ? Ot : Pt;
708
+ return ze(e, this, r, t.cache.create(), t.serializer);
709
+ }
692
710
  function Qr(e, t) {
693
- var r = e.length === 1 ? Zr : wt;
694
- return Pt(e, this, r, t.cache.create(), t.serializer);
711
+ return ze(e, this, Pt, t.cache.create(), t.serializer);
695
712
  }
696
713
  function qr(e, t) {
697
- return Pt(e, this, wt, t.cache.create(), t.serializer);
714
+ return ze(e, this, Ot, t.cache.create(), t.serializer);
698
715
  }
699
716
  var Jr = function() {
700
717
  return JSON.stringify(arguments);
701
- }, Yr = (
702
- /** @class */
703
- function() {
704
- function e() {
705
- this.cache = /* @__PURE__ */ Object.create(null);
706
- }
707
- return e.prototype.get = function(t) {
708
- return this.cache[t];
709
- }, e.prototype.set = function(t, r) {
710
- this.cache[t] = r;
711
- }, e;
712
- }()
713
- ), Kr = {
718
+ };
719
+ function We() {
720
+ this.cache = /* @__PURE__ */ Object.create(null);
721
+ }
722
+ We.prototype.get = function(e) {
723
+ return this.cache[e];
724
+ };
725
+ We.prototype.set = function(e, t) {
726
+ this.cache[e] = t;
727
+ };
728
+ var Yr = {
714
729
  create: function() {
715
- return new Yr();
730
+ return new We();
716
731
  }
717
- }, Pe = {
718
- variadic: qr
719
- }, _e = function() {
720
- return _e = Object.assign || function(t) {
721
- for (var r, n = 1, i = arguments.length; n < i; n++) {
722
- r = arguments[n];
723
- for (var s in r)
724
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
725
- }
726
- return t;
727
- }, _e.apply(this, arguments);
728
- };
729
- var y;
732
+ }, we = {
733
+ variadic: Qr,
734
+ monadic: qr
735
+ }, y;
730
736
  (function(e) {
731
737
  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";
732
738
  })(y || (y = {}));
733
- var v;
739
+ var T;
734
740
  (function(e) {
735
741
  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";
736
- })(v || (v = {}));
737
- var J;
742
+ })(T || (T = {}));
743
+ var q;
738
744
  (function(e) {
739
745
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
740
- })(J || (J = {}));
746
+ })(q || (q = {}));
741
747
  function ot(e) {
742
- return e.type === v.literal;
748
+ return e.type === T.literal;
743
749
  }
744
- function en(e) {
745
- return e.type === v.argument;
750
+ function Kr(e) {
751
+ return e.type === T.argument;
746
752
  }
747
753
  function Nt(e) {
748
- return e.type === v.number;
754
+ return e.type === T.number;
749
755
  }
750
756
  function Lt(e) {
751
- return e.type === v.date;
757
+ return e.type === T.date;
752
758
  }
753
759
  function It(e) {
754
- return e.type === v.time;
760
+ return e.type === T.time;
755
761
  }
756
762
  function Mt(e) {
757
- return e.type === v.select;
763
+ return e.type === T.select;
758
764
  }
759
765
  function $t(e) {
760
- return e.type === v.plural;
766
+ return e.type === T.plural;
761
767
  }
762
- function tn(e) {
763
- return e.type === v.pound;
768
+ function en(e) {
769
+ return e.type === T.pound;
764
770
  }
765
771
  function Rt(e) {
766
- return e.type === v.tag;
772
+ return e.type === T.tag;
767
773
  }
768
774
  function Ut(e) {
769
- return !!(e && typeof e == "object" && e.type === J.number);
775
+ return !!(e && typeof e == "object" && e.type === q.number);
770
776
  }
771
- function De(e) {
772
- return !!(e && typeof e == "object" && e.type === J.dateTime);
777
+ function Re(e) {
778
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
773
779
  }
774
- var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rn = /(?:[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;
775
- function nn(e) {
780
+ var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[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;
781
+ function rn(e) {
776
782
  var t = {};
777
- return e.replace(rn, function(r) {
783
+ return e.replace(tn, function(r) {
778
784
  var n = r.length;
779
785
  switch (r[0]) {
780
786
  case "G":
@@ -863,39 +869,29 @@ function nn(e) {
863
869
  return "";
864
870
  }), t;
865
871
  }
866
- var C = function() {
867
- return C = Object.assign || function(t) {
868
- for (var r, n = 1, i = arguments.length; n < i; n++) {
869
- r = arguments[n];
870
- for (var s in r)
871
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
872
- }
873
- return t;
874
- }, C.apply(this, arguments);
875
- };
876
- var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
- function on(e) {
872
+ var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
873
+ function sn(e) {
878
874
  if (e.length === 0)
879
875
  throw new Error("Number skeleton cannot be empty");
880
- for (var t = e.split(sn).filter(function(f) {
881
- return f.length > 0;
876
+ for (var t = e.split(nn).filter(function(c) {
877
+ return c.length > 0;
882
878
  }), r = [], n = 0, i = t; n < i.length; n++) {
883
879
  var s = i[n], o = s.split("/");
884
880
  if (o.length === 0)
885
881
  throw new Error("Invalid number skeleton");
886
882
  for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
887
- var c = l[a];
888
- if (c.length === 0)
883
+ var f = l[a];
884
+ if (f.length === 0)
889
885
  throw new Error("Invalid number skeleton");
890
886
  }
891
887
  r.push({ stem: u, options: h });
892
888
  }
893
889
  return r;
894
890
  }
895
- function an(e) {
891
+ function on(e) {
896
892
  return e.replace(/^(.*?)-/, "");
897
893
  }
898
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
894
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, an = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
899
895
  function ut(e) {
900
896
  var t = {};
901
897
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
@@ -942,7 +938,7 @@ function jt(e) {
942
938
  };
943
939
  }
944
940
  }
945
- function hn(e) {
941
+ function un(e) {
946
942
  var t;
947
943
  if (e[0] === "E" && e[1] === "E" ? (t = {
948
944
  notation: "engineering"
@@ -960,7 +956,7 @@ function ht(e) {
960
956
  var t = {}, r = jt(e);
961
957
  return r || t;
962
958
  }
963
- function ln(e) {
959
+ function hn(e) {
964
960
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
965
961
  var i = n[r];
966
962
  switch (i.stem) {
@@ -984,7 +980,7 @@ function ln(e) {
984
980
  continue;
985
981
  case "measure-unit":
986
982
  case "unit":
987
- t.style = "unit", t.unit = an(i.options[0]);
983
+ t.style = "unit", t.unit = on(i.options[0]);
988
984
  continue;
989
985
  case "compact-short":
990
986
  case "K":
@@ -995,13 +991,13 @@ function ln(e) {
995
991
  t.notation = "compact", t.compactDisplay = "long";
996
992
  continue;
997
993
  case "scientific":
998
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
999
- return C(C({}, h), ht(a));
994
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
995
+ return x(x({}, h), ht(a));
1000
996
  }, {}));
1001
997
  continue;
1002
998
  case "engineering":
1003
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1004
- return C(C({}, h), ht(a));
999
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
1000
+ return x(x({}, h), ht(a));
1005
1001
  }, {}));
1006
1002
  continue;
1007
1003
  case "notation-simple":
@@ -1046,11 +1042,11 @@ function ln(e) {
1046
1042
  case "integer-width":
1047
1043
  if (i.options.length > 1)
1048
1044
  throw new RangeError("integer-width stems only accept a single optional option");
1049
- i.options[0].replace(un, function(h, a, l, c, f, p) {
1045
+ i.options[0].replace(an, function(h, a, l, f, c, p) {
1050
1046
  if (a)
1051
1047
  t.minimumIntegerDigits = l.length;
1052
1048
  else {
1053
- if (c && f)
1049
+ if (f && c)
1054
1050
  throw new Error("We currently do not support maximum integer digits");
1055
1051
  if (p)
1056
1052
  throw new Error("We currently do not support exact integer digits");
@@ -1066,25 +1062,25 @@ function ln(e) {
1066
1062
  if (at.test(i.stem)) {
1067
1063
  if (i.options.length > 1)
1068
1064
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1069
- i.stem.replace(at, function(h, a, l, c, f, p) {
1070
- return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1065
+ i.stem.replace(at, function(h, a, l, f, c, p) {
1066
+ return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1071
1067
  });
1072
1068
  var s = i.options[0];
1073
- s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), ut(s)));
1069
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ut(s)));
1074
1070
  continue;
1075
1071
  }
1076
1072
  if (Gt.test(i.stem)) {
1077
- t = C(C({}, t), ut(i.stem));
1073
+ t = x(x({}, t), ut(i.stem));
1078
1074
  continue;
1079
1075
  }
1080
1076
  var o = jt(i.stem);
1081
- o && (t = C(C({}, t), o));
1082
- var u = hn(i.stem);
1083
- u && (t = C(C({}, t), u));
1077
+ o && (t = x(x({}, t), o));
1078
+ var u = un(i.stem);
1079
+ u && (t = x(x({}, t), u));
1084
1080
  }
1085
1081
  return t;
1086
1082
  }
1087
- var me = {
1083
+ var ge = {
1088
1084
  "001": [
1089
1085
  "H",
1090
1086
  "h"
@@ -2499,7 +2495,7 @@ var me = {
2499
2495
  "h"
2500
2496
  ]
2501
2497
  };
2502
- function fn(e, t) {
2498
+ function ln(e, t) {
2503
2499
  for (var r = "", n = 0; n < e.length; n++) {
2504
2500
  var i = e.charAt(n);
2505
2501
  if (i === "j") {
@@ -2534,23 +2530,23 @@ function cn(e) {
2534
2530
  }
2535
2531
  var r = e.language, n;
2536
2532
  r !== "root" && (n = e.maximize().region);
2537
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2533
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2538
2534
  return i[0];
2539
2535
  }
2540
- var Ne, gn = new RegExp("^".concat(Dt.source, "*")), mn = new RegExp("".concat(Dt.source, "*$"));
2536
+ var Oe, fn = new RegExp("^".concat(Dt.source, "*")), gn = new RegExp("".concat(Dt.source, "*$"));
2541
2537
  function _(e, t) {
2542
2538
  return { start: e, end: t };
2543
2539
  }
2544
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, bn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, vn = xn ? Number.isSafeInteger : function(e) {
2540
+ var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), pn = !!String.fromCodePoint, dn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, yn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, En = xn ? Number.isSafeInteger : function(e) {
2545
2541
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
- }, Ge = !0;
2542
+ }, Ue = !0;
2547
2543
  try {
2548
- var Tn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- Ge = ((Ne = Tn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2544
+ var vn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
+ Ue = ((Oe = vn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2550
2546
  } catch (e) {
2551
- Ge = !1;
2547
+ Ue = !1;
2552
2548
  }
2553
- var lt = pn ? (
2549
+ var lt = mn ? (
2554
2550
  // Native
2555
2551
  function(t, r, n) {
2556
2552
  return t.startsWith(r, n);
@@ -2560,7 +2556,7 @@ var lt = pn ? (
2560
2556
  function(t, r, n) {
2561
2557
  return t.slice(n, n + r.length) === r;
2562
2558
  }
2563
- ), Fe = dn ? String.fromCodePoint : (
2559
+ ), De = pn ? String.fromCodePoint : (
2564
2560
  // IE11
2565
2561
  function() {
2566
2562
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,9 +2568,9 @@ var lt = pn ? (
2572
2568
  }
2573
2569
  return n;
2574
2570
  }
2575
- ), ft = (
2571
+ ), ct = (
2576
2572
  // native
2577
- bn ? Object.fromEntries : (
2573
+ dn ? Object.fromEntries : (
2578
2574
  // Ponyfill
2579
2575
  function(t) {
2580
2576
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2584,7 +2580,7 @@ var lt = pn ? (
2584
2580
  return r;
2585
2581
  }
2586
2582
  )
2587
- ), kt = yn ? (
2583
+ ), kt = bn ? (
2588
2584
  // Native
2589
2585
  function(t, r) {
2590
2586
  return t.codePointAt(r);
@@ -2598,7 +2594,7 @@ var lt = pn ? (
2598
2594
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2599
2595
  }
2600
2596
  }
2601
- ), Cn = _n ? (
2597
+ ), Tn = yn ? (
2602
2598
  // Native
2603
2599
  function(t) {
2604
2600
  return t.trimStart();
@@ -2606,9 +2602,9 @@ var lt = pn ? (
2606
2602
  ) : (
2607
2603
  // Ponyfill
2608
2604
  function(t) {
2609
- return t.replace(gn, "");
2605
+ return t.replace(fn, "");
2610
2606
  }
2611
- ), Hn = En ? (
2607
+ ), Cn = _n ? (
2612
2608
  // Native
2613
2609
  function(t) {
2614
2610
  return t.trimEnd();
@@ -2616,32 +2612,32 @@ var lt = pn ? (
2616
2612
  ) : (
2617
2613
  // Ponyfill
2618
2614
  function(t) {
2619
- return t.replace(mn, "");
2615
+ return t.replace(gn, "");
2620
2616
  }
2621
2617
  );
2622
2618
  function Vt(e, t) {
2623
2619
  return new RegExp(e, t);
2624
2620
  }
2625
- var je;
2626
- if (Ge) {
2627
- var ct = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
- je = function(t, r) {
2621
+ var Ge;
2622
+ if (Ue) {
2623
+ var ft = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
+ Ge = function(t, r) {
2629
2625
  var n;
2630
- ct.lastIndex = r;
2631
- var i = ct.exec(t);
2626
+ ft.lastIndex = r;
2627
+ var i = ft.exec(t);
2632
2628
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2633
2629
  };
2634
2630
  } else
2635
- je = function(t, r) {
2631
+ Ge = function(t, r) {
2636
2632
  for (var n = []; ; ) {
2637
2633
  var i = kt(t, r);
2638
- if (i === void 0 || Xt(i) || On(i))
2634
+ if (i === void 0 || Xt(i) || Sn(i))
2639
2635
  break;
2640
2636
  n.push(i), r += i >= 65536 ? 2 : 1;
2641
2637
  }
2642
- return Fe.apply(void 0, n);
2638
+ return De.apply(void 0, n);
2643
2639
  };
2644
- var Sn = (
2640
+ var Hn = (
2645
2641
  /** @class */
2646
2642
  function() {
2647
2643
  function e(t, r) {
@@ -2665,14 +2661,14 @@ var Sn = (
2665
2661
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2666
2662
  var u = this.clonePosition();
2667
2663
  this.bump(), i.push({
2668
- type: v.pound,
2664
+ type: T.pound,
2669
2665
  location: _(u, this.clonePosition())
2670
2666
  });
2671
2667
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2672
2668
  if (n)
2673
2669
  break;
2674
2670
  return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2675
- } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2671
+ } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2676
2672
  var o = this.parseTag(t, r);
2677
2673
  if (o.err)
2678
2674
  return o;
@@ -2693,7 +2689,7 @@ var Sn = (
2693
2689
  if (this.bumpSpace(), this.bumpIf("/>"))
2694
2690
  return {
2695
2691
  val: {
2696
- type: v.literal,
2692
+ type: T.literal,
2697
2693
  value: "<".concat(i, "/>"),
2698
2694
  location: _(n, this.clonePosition())
2699
2695
  },
@@ -2705,12 +2701,12 @@ var Sn = (
2705
2701
  return s;
2706
2702
  var o = s.val, u = this.clonePosition();
2707
2703
  if (this.bumpIf("</")) {
2708
- if (this.isEOF() || !ke(this.char()))
2704
+ if (this.isEOF() || !Fe(this.char()))
2709
2705
  return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
2710
2706
  var h = this.clonePosition(), a = this.parseTagName();
2711
2707
  return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2712
2708
  val: {
2713
- type: v.tag,
2709
+ type: T.tag,
2714
2710
  value: i,
2715
2711
  children: o,
2716
2712
  location: _(n, this.clonePosition())
@@ -2747,7 +2743,7 @@ var Sn = (
2747
2743
  }
2748
2744
  var h = _(n, this.clonePosition());
2749
2745
  return {
2750
- val: { type: v.literal, value: i, location: h },
2746
+ val: { type: T.literal, value: i, location: h },
2751
2747
  err: null
2752
2748
  };
2753
2749
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2786,12 +2782,12 @@ var Sn = (
2786
2782
  r.push(n);
2787
2783
  this.bump();
2788
2784
  }
2789
- return Fe.apply(void 0, r);
2785
+ return De.apply(void 0, r);
2790
2786
  }, e.prototype.tryParseUnquoted = function(t, r) {
2791
2787
  if (this.isEOF())
2792
2788
  return null;
2793
2789
  var n = this.char();
2794
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2790
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
2795
2791
  }, e.prototype.parseArgument = function(t, r) {
2796
2792
  var n = this.clonePosition();
2797
2793
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2807,7 +2803,7 @@ var Sn = (
2807
2803
  case 125:
2808
2804
  return this.bump(), {
2809
2805
  val: {
2810
- type: v.argument,
2806
+ type: T.argument,
2811
2807
  // value does not include the opening and closing braces.
2812
2808
  value: i,
2813
2809
  location: _(n, this.clonePosition())
@@ -2820,7 +2816,7 @@ var Sn = (
2820
2816
  return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2821
2817
  }
2822
2818
  }, e.prototype.parseIdentifierIfPossible = function() {
2823
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2819
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2824
2820
  this.bumpTo(i);
2825
2821
  var s = this.clonePosition(), o = _(t, s);
2826
2822
  return { value: n, location: o };
@@ -2836,47 +2832,47 @@ var Sn = (
2836
2832
  var a = null;
2837
2833
  if (this.bumpIf(",")) {
2838
2834
  this.bumpSpace();
2839
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2840
- if (c.err)
2841
- return c;
2842
- var f = Hn(c.val);
2843
- if (f.length === 0)
2835
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2836
+ if (f.err)
2837
+ return f;
2838
+ var c = Cn(f.val);
2839
+ if (c.length === 0)
2844
2840
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2845
2841
  var p = _(l, this.clonePosition());
2846
- a = { style: f, styleLocation: p };
2842
+ a = { style: c, styleLocation: p };
2847
2843
  }
2848
2844
  var d = this.tryParseArgumentClose(i);
2849
2845
  if (d.err)
2850
2846
  return d;
2851
2847
  var g = _(i, this.clonePosition());
2852
2848
  if (a && lt(a == null ? void 0 : a.style, "::", 0)) {
2853
- var E = Cn(a.style.slice(2));
2849
+ var E = Tn(a.style.slice(2));
2854
2850
  if (u === "number") {
2855
- var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2856
- return c.err ? c : {
2857
- val: { type: v.number, value: n, location: g, style: c.val },
2851
+ var f = this.parseNumberSkeletonFromString(E, a.styleLocation);
2852
+ return f.err ? f : {
2853
+ val: { type: T.number, value: n, location: g, style: f.val },
2858
2854
  err: null
2859
2855
  };
2860
2856
  } else {
2861
2857
  if (E.length === 0)
2862
2858
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2863
2859
  var m = E;
2864
- this.locale && (m = fn(E, this.locale));
2865
- var f = {
2866
- type: J.dateTime,
2860
+ this.locale && (m = ln(E, this.locale));
2861
+ var c = {
2862
+ type: q.dateTime,
2867
2863
  pattern: m,
2868
2864
  location: a.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? nn(m) : {}
2870
- }, T = u === "date" ? v.date : v.time;
2865
+ parsedOptions: this.shouldParseSkeletons ? rn(m) : {}
2866
+ }, C = u === "date" ? T.date : T.time;
2871
2867
  return {
2872
- val: { type: T, value: n, location: g, style: f },
2868
+ val: { type: C, value: n, location: g, style: c },
2873
2869
  err: null
2874
2870
  };
2875
2871
  }
2876
2872
  }
2877
2873
  return {
2878
2874
  val: {
2879
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2875
+ type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2880
2876
  value: n,
2881
2877
  location: g,
2882
2878
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
@@ -2887,21 +2883,21 @@ var Sn = (
2887
2883
  case "plural":
2888
2884
  case "selectordinal":
2889
2885
  case "select": {
2890
- var S = this.clonePosition();
2886
+ var A = this.clonePosition();
2891
2887
  if (this.bumpSpace(), !this.bumpIf(","))
2892
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, _e({}, S)));
2888
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
2893
2889
  this.bumpSpace();
2894
- var w = this.parseIdentifierIfPossible(), A = 0;
2895
- if (u !== "select" && w.value === "offset") {
2890
+ var O = this.parseIdentifierIfPossible(), B = 0;
2891
+ if (u !== "select" && O.value === "offset") {
2896
2892
  if (!this.bumpIf(":"))
2897
2893
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2898
2894
  this.bumpSpace();
2899
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2900
- if (c.err)
2901
- return c;
2902
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2895
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2896
+ if (f.err)
2897
+ return f;
2898
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = f.val;
2903
2899
  }
2904
- var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2900
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2905
2901
  if (H.err)
2906
2902
  return H;
2907
2903
  var d = this.tryParseArgumentClose(i);
@@ -2910,18 +2906,18 @@ var Sn = (
2910
2906
  var P = _(i, this.clonePosition());
2911
2907
  return u === "select" ? {
2912
2908
  val: {
2913
- type: v.select,
2909
+ type: T.select,
2914
2910
  value: n,
2915
- options: ft(H.val),
2911
+ options: ct(H.val),
2916
2912
  location: P
2917
2913
  },
2918
2914
  err: null
2919
2915
  } : {
2920
2916
  val: {
2921
- type: v.plural,
2917
+ type: T.plural,
2922
2918
  value: n,
2923
- options: ft(H.val),
2924
- offset: A,
2919
+ options: ct(H.val),
2920
+ offset: B,
2925
2921
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2926
2922
  location: P
2927
2923
  },
@@ -2971,28 +2967,28 @@ var Sn = (
2971
2967
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
2968
  var n = [];
2973
2969
  try {
2974
- n = on(t);
2970
+ n = sn(t);
2975
2971
  } catch (i) {
2976
2972
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2977
2973
  }
2978
2974
  return {
2979
2975
  val: {
2980
- type: J.number,
2976
+ type: q.number,
2981
2977
  tokens: n,
2982
2978
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? ln(n) : {}
2979
+ parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
2984
2980
  },
2985
2981
  err: null
2986
2982
  };
2987
2983
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2988
2984
  for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2989
2985
  if (a.length === 0) {
2990
- var c = this.clonePosition();
2986
+ var f = this.clonePosition();
2991
2987
  if (r !== "select" && this.bumpIf("=")) {
2992
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2993
- if (f.err)
2994
- return f;
2995
- l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2988
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2989
+ if (c.err)
2990
+ return c;
2991
+ l = _(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2996
2992
  } else
2997
2993
  break;
2998
2994
  }
@@ -3028,7 +3024,7 @@ var Sn = (
3028
3024
  break;
3029
3025
  }
3030
3026
  var h = _(i, this.clonePosition());
3031
- return s ? (o *= n, vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3027
+ return s ? (o *= n, En(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3032
3028
  }, e.prototype.offset = function() {
3033
3029
  return this.position.offset;
3034
3030
  }, e.prototype.isEOF = function() {
@@ -3094,11 +3090,11 @@ var Sn = (
3094
3090
  }, e;
3095
3091
  }()
3096
3092
  );
3097
- function ke(e) {
3093
+ function Fe(e) {
3098
3094
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3095
  }
3100
3096
  function An(e) {
3101
- return ke(e) || e === 47;
3097
+ return Fe(e) || e === 47;
3102
3098
  }
3103
3099
  function Bn(e) {
3104
3100
  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;
@@ -3106,35 +3102,35 @@ function Bn(e) {
3106
3102
  function Xt(e) {
3107
3103
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3104
  }
3109
- function On(e) {
3105
+ function Sn(e) {
3110
3106
  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;
3111
3107
  }
3112
- function Ve(e) {
3108
+ function je(e) {
3113
3109
  e.forEach(function(t) {
3114
3110
  if (delete t.location, Mt(t) || $t(t))
3115
3111
  for (var r in t.options)
3116
- delete t.options[r].location, Ve(t.options[r].value);
3112
+ delete t.options[r].location, je(t.options[r].value);
3117
3113
  else
3118
- Nt(t) && Ut(t.style) || (Lt(t) || It(t)) && De(t.style) ? delete t.style.location : Rt(t) && Ve(t.children);
3114
+ Nt(t) && Ut(t.style) || (Lt(t) || It(t)) && Re(t.style) ? delete t.style.location : Rt(t) && je(t.children);
3119
3115
  });
3120
3116
  }
3121
3117
  function wn(e, t) {
3122
- t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var r = new Sn(e, t).parse();
3118
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3119
+ var r = new Hn(e, t).parse();
3124
3120
  if (r.err) {
3125
3121
  var n = SyntaxError(y[r.err.kind]);
3126
3122
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3127
3123
  }
3128
- return t != null && t.captureLocation || Ve(r.val), r.val;
3124
+ return t != null && t.captureLocation || je(r.val), r.val;
3129
3125
  }
3130
- var Y;
3126
+ var J;
3131
3127
  (function(e) {
3132
3128
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3133
- })(Y || (Y = {}));
3134
- var Ce = (
3129
+ })(J || (J = {}));
3130
+ var ve = (
3135
3131
  /** @class */
3136
3132
  function(e) {
3137
- Te(t, e);
3133
+ Ee(t, e);
3138
3134
  function t(r, n, i) {
3139
3135
  var s = e.call(this, r) || this;
3140
3136
  return s.code = n, s.originalMessage = i, s;
@@ -3146,48 +3142,48 @@ var Ce = (
3146
3142
  ), gt = (
3147
3143
  /** @class */
3148
3144
  function(e) {
3149
- Te(t, e);
3145
+ Ee(t, e);
3150
3146
  function t(r, n, i, s) {
3151
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3147
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3152
3148
  }
3153
3149
  return t;
3154
- }(Ce)
3155
- ), Pn = (
3150
+ }(ve)
3151
+ ), On = (
3156
3152
  /** @class */
3157
3153
  function(e) {
3158
- Te(t, e);
3154
+ Ee(t, e);
3159
3155
  function t(r, n, i) {
3160
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3156
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3161
3157
  }
3162
3158
  return t;
3163
- }(Ce)
3164
- ), Nn = (
3159
+ }(ve)
3160
+ ), Pn = (
3165
3161
  /** @class */
3166
3162
  function(e) {
3167
- Te(t, e);
3163
+ Ee(t, e);
3168
3164
  function t(r, n) {
3169
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3165
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3170
3166
  }
3171
3167
  return t;
3172
- }(Ce)
3173
- ), O;
3168
+ }(ve)
3169
+ ), w;
3174
3170
  (function(e) {
3175
3171
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
- })(O || (O = {}));
3177
- function Ln(e) {
3172
+ })(w || (w = {}));
3173
+ function Nn(e) {
3178
3174
  return e.length < 2 ? e : e.reduce(function(t, r) {
3179
3175
  var n = t[t.length - 1];
3180
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3176
+ return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3181
3177
  }, []);
3182
3178
  }
3183
- function In(e) {
3179
+ function Ln(e) {
3184
3180
  return typeof e == "function";
3185
3181
  }
3186
- function de(e, t, r, n, i, s, o) {
3182
+ function pe(e, t, r, n, i, s, o) {
3187
3183
  if (e.length === 1 && ot(e[0]))
3188
3184
  return [
3189
3185
  {
3190
- type: O.literal,
3186
+ type: w.literal,
3191
3187
  value: e[0].value
3192
3188
  }
3193
3189
  ];
@@ -3195,103 +3191,103 @@ function de(e, t, r, n, i, s, o) {
3195
3191
  var l = a[h];
3196
3192
  if (ot(l)) {
3197
3193
  u.push({
3198
- type: O.literal,
3194
+ type: w.literal,
3199
3195
  value: l.value
3200
3196
  });
3201
3197
  continue;
3202
3198
  }
3203
- if (tn(l)) {
3199
+ if (en(l)) {
3204
3200
  typeof s == "number" && u.push({
3205
- type: O.literal,
3201
+ type: w.literal,
3206
3202
  value: r.getNumberFormat(t).format(s)
3207
3203
  });
3208
3204
  continue;
3209
3205
  }
3210
- var c = l.value;
3211
- if (!(i && c in i))
3212
- throw new Nn(c, o);
3213
- var f = i[c];
3214
- if (en(l)) {
3215
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3216
- type: typeof f == "string" ? O.literal : O.object,
3217
- value: f
3206
+ var f = l.value;
3207
+ if (!(i && f in i))
3208
+ throw new Pn(f, o);
3209
+ var c = i[f];
3210
+ if (Kr(l)) {
3211
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3212
+ type: typeof c == "string" ? w.literal : w.object,
3213
+ value: c
3218
3214
  });
3219
3215
  continue;
3220
3216
  }
3221
3217
  if (Lt(l)) {
3222
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3218
+ var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3223
3219
  u.push({
3224
- type: O.literal,
3225
- value: r.getDateTimeFormat(t, p).format(f)
3220
+ type: w.literal,
3221
+ value: r.getDateTimeFormat(t, p).format(c)
3226
3222
  });
3227
3223
  continue;
3228
3224
  }
3229
3225
  if (It(l)) {
3230
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3226
+ var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3231
3227
  u.push({
3232
- type: O.literal,
3233
- value: r.getDateTimeFormat(t, p).format(f)
3228
+ type: w.literal,
3229
+ value: r.getDateTimeFormat(t, p).format(c)
3234
3230
  });
3235
3231
  continue;
3236
3232
  }
3237
3233
  if (Nt(l)) {
3238
3234
  var p = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3239
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3240
- type: O.literal,
3241
- value: r.getNumberFormat(t, p).format(f)
3235
+ p && p.scale && (c = c * (p.scale || 1)), u.push({
3236
+ type: w.literal,
3237
+ value: r.getNumberFormat(t, p).format(c)
3242
3238
  });
3243
3239
  continue;
3244
3240
  }
3245
3241
  if (Rt(l)) {
3246
3242
  var d = l.children, g = l.value, E = i[g];
3247
- if (!In(E))
3248
- throw new Pn(g, "function", o);
3249
- var m = de(d, t, r, n, i, s), T = E(m.map(function(A) {
3250
- return A.value;
3243
+ if (!Ln(E))
3244
+ throw new On(g, "function", o);
3245
+ var m = pe(d, t, r, n, i, s), C = E(m.map(function(B) {
3246
+ return B.value;
3251
3247
  }));
3252
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3248
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3253
3249
  return {
3254
- type: typeof A == "string" ? O.literal : O.object,
3255
- value: A
3250
+ type: typeof B == "string" ? w.literal : w.object,
3251
+ value: B
3256
3252
  };
3257
3253
  }));
3258
3254
  }
3259
3255
  if (Mt(l)) {
3260
- var S = l.options[f] || l.options.other;
3261
- if (!S)
3262
- throw new gt(l.value, f, Object.keys(l.options), o);
3263
- u.push.apply(u, de(S.value, t, r, n, i));
3256
+ var A = l.options[c] || l.options.other;
3257
+ if (!A)
3258
+ throw new gt(l.value, c, Object.keys(l.options), o);
3259
+ u.push.apply(u, pe(A.value, t, r, n, i));
3264
3260
  continue;
3265
3261
  }
3266
3262
  if ($t(l)) {
3267
- var S = l.options["=".concat(f)];
3268
- if (!S) {
3263
+ var A = l.options["=".concat(c)];
3264
+ if (!A) {
3269
3265
  if (!Intl.PluralRules)
3270
- throw new Ce(`Intl.PluralRules is not available in this environment.
3266
+ throw new ve(`Intl.PluralRules is not available in this environment.
3271
3267
  Try polyfilling it using "@formatjs/intl-pluralrules"
3272
- `, Y.MISSING_INTL_API, o);
3273
- var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3274
- S = l.options[w] || l.options.other;
3268
+ `, J.MISSING_INTL_API, o);
3269
+ var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3270
+ A = l.options[O] || l.options.other;
3275
3271
  }
3276
- if (!S)
3277
- throw new gt(l.value, f, Object.keys(l.options), o);
3278
- u.push.apply(u, de(S.value, t, r, n, i, f - (l.offset || 0)));
3272
+ if (!A)
3273
+ throw new gt(l.value, c, Object.keys(l.options), o);
3274
+ u.push.apply(u, pe(A.value, t, r, n, i, c - (l.offset || 0)));
3279
3275
  continue;
3280
3276
  }
3281
3277
  }
3282
- return Ln(u);
3278
+ return Nn(u);
3283
3279
  }
3284
- function Mn(e, t) {
3285
- return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3286
- return r[n] = U(U({}, e[n]), t[n] || {}), r;
3280
+ function In(e, t) {
3281
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3282
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3287
3283
  }, {})) : e;
3288
3284
  }
3289
- function $n(e, t) {
3285
+ function Mn(e, t) {
3290
3286
  return t ? Object.keys(e).reduce(function(r, n) {
3291
- return r[n] = Mn(e[n], t[n]), r;
3292
- }, U({}, e)) : e;
3287
+ return r[n] = In(e[n], t[n]), r;
3288
+ }, x({}, e)) : e;
3293
3289
  }
3294
- function Le(e) {
3290
+ function Pe(e) {
3295
3291
  return {
3296
3292
  create: function() {
3297
3293
  return {
@@ -3305,39 +3301,39 @@ function Le(e) {
3305
3301
  }
3306
3302
  };
3307
3303
  }
3308
- function Rn(e) {
3304
+ function $n(e) {
3309
3305
  return e === void 0 && (e = {
3310
3306
  number: {},
3311
3307
  dateTime: {},
3312
3308
  pluralRules: {}
3313
3309
  }), {
3314
- getNumberFormat: we(function() {
3310
+ getNumberFormat: Se(function() {
3315
3311
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3312
  r[n] = arguments[n];
3317
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3313
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3318
3314
  }, {
3319
- cache: Le(e.number),
3320
- strategy: Pe.variadic
3315
+ cache: Pe(e.number),
3316
+ strategy: we.variadic
3321
3317
  }),
3322
- getDateTimeFormat: we(function() {
3318
+ getDateTimeFormat: Se(function() {
3323
3319
  for (var t, r = [], n = 0; n < arguments.length; n++)
3324
3320
  r[n] = arguments[n];
3325
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3321
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3326
3322
  }, {
3327
- cache: Le(e.dateTime),
3328
- strategy: Pe.variadic
3323
+ cache: Pe(e.dateTime),
3324
+ strategy: we.variadic
3329
3325
  }),
3330
- getPluralRules: we(function() {
3326
+ getPluralRules: Se(function() {
3331
3327
  for (var t, r = [], n = 0; n < arguments.length; n++)
3332
3328
  r[n] = arguments[n];
3333
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3329
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3334
3330
  }, {
3335
- cache: Le(e.pluralRules),
3336
- strategy: Pe.variadic
3331
+ cache: Pe(e.pluralRules),
3332
+ strategy: we.variadic
3337
3333
  })
3338
3334
  };
3339
3335
  }
3340
- var Un = (
3336
+ var Rn = (
3341
3337
  /** @class */
3342
3338
  function() {
3343
3339
  function e(t, r, n, i) {
@@ -3351,12 +3347,12 @@ var Un = (
3351
3347
  var a = s.formatToParts(h);
3352
3348
  if (a.length === 1)
3353
3349
  return a[0].value;
3354
- var l = a.reduce(function(c, f) {
3355
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3350
+ var l = a.reduce(function(f, c) {
3351
+ return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3356
3352
  }, []);
3357
3353
  return l.length <= 1 ? l[0] || "" : l;
3358
3354
  }, this.formatToParts = function(h) {
3359
- return de(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3355
+ return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3360
3356
  }, this.resolvedOptions = function() {
3361
3357
  var h;
3362
3358
  return {
@@ -3370,12 +3366,12 @@ var Un = (
3370
3366
  var o = i || {};
3371
3367
  o.formatters;
3372
3368
  var u = zr(o, ["formatters"]);
3373
- this.ast = e.__parse(t, U(U({}, u), { locale: this.resolvedLocale }));
3369
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3374
3370
  } else
3375
3371
  this.ast = t;
3376
3372
  if (!Array.isArray(this.ast))
3377
3373
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = $n(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
3374
+ this.formats = Mn(e.formats, n), this.formatters = i && i.formatters || $n(this.formatterCache);
3379
3375
  }
3380
3376
  return Object.defineProperty(e, "defaultLocale", {
3381
3377
  get: function() {
@@ -3449,7 +3445,7 @@ var Un = (
3449
3445
  }, e;
3450
3446
  }()
3451
3447
  );
3452
- function Dn(e, t) {
3448
+ function Un(e, t) {
3453
3449
  if (t == null)
3454
3450
  return;
3455
3451
  if (t in e)
@@ -3470,36 +3466,36 @@ function Dn(e, t) {
3470
3466
  n = void 0;
3471
3467
  return n;
3472
3468
  }
3473
- const F = {}, Gn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), zt = (e, t) => {
3469
+ const G = {}, Dn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), zt = (e, t) => {
3474
3470
  if (t == null)
3475
3471
  return;
3476
- if (t in F && e in F[t])
3477
- return F[t][e];
3478
- const r = He(t);
3472
+ if (t in G && e in G[t])
3473
+ return G[t][e];
3474
+ const r = Te(t);
3479
3475
  for (let n = 0; n < r.length; n++) {
3480
- const i = r[n], s = jn(i, e);
3476
+ const i = r[n], s = Fn(i, e);
3481
3477
  if (s)
3482
- return Gn(e, t, s);
3478
+ return Dn(e, t, s);
3483
3479
  }
3484
3480
  };
3485
3481
  let Ze;
3486
- const le = ve({});
3487
- function Fn(e) {
3482
+ const he = xe({});
3483
+ function Gn(e) {
3488
3484
  return Ze[e] || null;
3489
3485
  }
3490
3486
  function Wt(e) {
3491
3487
  return e in Ze;
3492
3488
  }
3493
- function jn(e, t) {
3489
+ function Fn(e, t) {
3494
3490
  if (!Wt(e))
3495
3491
  return null;
3496
- const r = Fn(e);
3497
- return Dn(r, t);
3492
+ const r = Gn(e);
3493
+ return Un(r, t);
3498
3494
  }
3499
- function kn(e) {
3495
+ function jn(e) {
3500
3496
  if (e == null)
3501
3497
  return;
3502
- const t = He(e);
3498
+ const t = Te(e);
3503
3499
  for (let r = 0; r < t.length; r++) {
3504
3500
  const n = t[r];
3505
3501
  if (Wt(n))
@@ -3507,55 +3503,55 @@ function kn(e) {
3507
3503
  }
3508
3504
  }
3509
3505
  function Zt(e, ...t) {
3510
- delete F[e], le.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3506
+ delete G[e], he.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3511
3507
  }
3512
- te(
3513
- [le],
3508
+ ee(
3509
+ [he],
3514
3510
  ([e]) => Object.keys(e)
3515
3511
  );
3516
- le.subscribe((e) => Ze = e);
3517
- const be = {};
3518
- function Vn(e, t) {
3519
- be[e].delete(t), be[e].size === 0 && delete be[e];
3512
+ he.subscribe((e) => Ze = e);
3513
+ const de = {};
3514
+ function kn(e, t) {
3515
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3520
3516
  }
3521
3517
  function Qt(e) {
3522
- return be[e];
3518
+ return de[e];
3523
3519
  }
3524
- function Xn(e) {
3525
- return He(e).map((t) => {
3520
+ function Vn(e) {
3521
+ return Te(e).map((t) => {
3526
3522
  const r = Qt(t);
3527
3523
  return [t, r ? [...r] : []];
3528
3524
  }).filter(([, t]) => t.length > 0);
3529
3525
  }
3530
- function Xe(e) {
3531
- return e == null ? !1 : He(e).some(
3526
+ function ke(e) {
3527
+ return e == null ? !1 : Te(e).some(
3532
3528
  (t) => {
3533
3529
  var r;
3534
3530
  return (r = Qt(t)) == null ? void 0 : r.size;
3535
3531
  }
3536
3532
  );
3537
3533
  }
3538
- function zn(e, t) {
3534
+ function Xn(e, t) {
3539
3535
  return Promise.all(
3540
- t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3536
+ t.map((n) => (kn(e, n), n().then((i) => i.default || i)))
3541
3537
  ).then((n) => Zt(e, ...n));
3542
3538
  }
3543
- const ie = {};
3539
+ const ne = {};
3544
3540
  function qt(e) {
3545
- if (!Xe(e))
3546
- return e in ie ? ie[e] : Promise.resolve();
3547
- const t = Xn(e);
3548
- return ie[e] = Promise.all(
3541
+ if (!ke(e))
3542
+ return e in ne ? ne[e] : Promise.resolve();
3543
+ const t = Vn(e);
3544
+ return ne[e] = Promise.all(
3549
3545
  t.map(
3550
- ([r, n]) => zn(r, n)
3546
+ ([r, n]) => Xn(r, n)
3551
3547
  )
3552
3548
  ).then(() => {
3553
- if (Xe(e))
3549
+ if (ke(e))
3554
3550
  return qt(e);
3555
- delete ie[e];
3556
- }), ie[e];
3551
+ delete ne[e];
3552
+ }), ne[e];
3557
3553
  }
3558
- const Wn = {
3554
+ const zn = {
3559
3555
  number: {
3560
3556
  scientific: { notation: "scientific" },
3561
3557
  engineering: { notation: "engineering" },
@@ -3584,133 +3580,133 @@ const Wn = {
3584
3580
  timeZoneName: "short"
3585
3581
  }
3586
3582
  }
3587
- }, Zn = {
3583
+ }, Wn = {
3588
3584
  fallbackLocale: null,
3589
3585
  loadingDelay: 200,
3590
- formats: Wn,
3586
+ formats: zn,
3591
3587
  warnOnMissingMessages: !0,
3592
3588
  handleMissingMessage: void 0,
3593
3589
  ignoreTag: !0
3594
- }, Qn = Zn;
3595
- function K() {
3596
- return Qn;
3590
+ }, Zn = Wn;
3591
+ function Y() {
3592
+ return Zn;
3597
3593
  }
3598
- const Ie = ve(!1);
3599
- var qn = Object.defineProperty, Jn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ti = (e, t) => {
3594
+ const Ne = xe(!1);
3595
+ var Qn = Object.defineProperty, qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ei = (e, t) => {
3600
3596
  for (var r in t || (t = {}))
3601
- Kn.call(t, r) && pt(e, r, t[r]);
3597
+ Yn.call(t, r) && pt(e, r, t[r]);
3602
3598
  if (mt)
3603
3599
  for (var r of mt(t))
3604
- ei.call(t, r) && pt(e, r, t[r]);
3600
+ Kn.call(t, r) && pt(e, r, t[r]);
3605
3601
  return e;
3606
- }, ri = (e, t) => Jn(e, Yn(t));
3607
- let ze;
3608
- const Ee = ve(null);
3602
+ }, ti = (e, t) => qn(e, Jn(t));
3603
+ let Ve;
3604
+ const ye = xe(null);
3609
3605
  function dt(e) {
3610
3606
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3611
3607
  }
3612
- function He(e, t = K().fallbackLocale) {
3608
+ function Te(e, t = Y().fallbackLocale) {
3613
3609
  const r = dt(e);
3614
3610
  return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3615
3611
  }
3616
- function X() {
3617
- return ze != null ? ze : void 0;
3612
+ function V() {
3613
+ return Ve != null ? Ve : void 0;
3618
3614
  }
3619
- Ee.subscribe((e) => {
3620
- ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3615
+ ye.subscribe((e) => {
3616
+ Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3621
3617
  });
3622
- const ni = (e) => {
3623
- if (e && kn(e) && Xe(e)) {
3624
- const { loadingDelay: t } = K();
3618
+ const ri = (e) => {
3619
+ if (e && jn(e) && ke(e)) {
3620
+ const { loadingDelay: t } = Y();
3625
3621
  let r;
3626
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3627
- () => Ie.set(!0),
3622
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3623
+ () => Ne.set(!0),
3628
3624
  t
3629
- ) : Ie.set(!0), qt(e).then(() => {
3630
- Ee.set(e);
3625
+ ) : Ne.set(!0), qt(e).then(() => {
3626
+ ye.set(e);
3631
3627
  }).finally(() => {
3632
- clearTimeout(r), Ie.set(!1);
3628
+ clearTimeout(r), Ne.set(!1);
3633
3629
  });
3634
3630
  }
3635
- return Ee.set(e);
3636
- }, re = ri(ti({}, Ee), {
3637
- set: ni
3638
- }), Se = (e) => {
3631
+ return ye.set(e);
3632
+ }, te = ti(ei({}, ye), {
3633
+ set: ri
3634
+ }), Ce = (e) => {
3639
3635
  const t = /* @__PURE__ */ Object.create(null);
3640
3636
  return (n) => {
3641
3637
  const i = JSON.stringify(n);
3642
3638
  return i in t ? t[i] : t[i] = e(n);
3643
3639
  };
3644
3640
  };
3645
- var ii = Object.defineProperty, xe = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3641
+ var ni = Object.defineProperty, _e = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3646
3642
  for (var r in t || (t = {}))
3647
3643
  Jt.call(t, r) && bt(e, r, t[r]);
3648
- if (xe)
3649
- for (var r of xe(t))
3644
+ if (_e)
3645
+ for (var r of _e(t))
3650
3646
  Yt.call(t, r) && bt(e, r, t[r]);
3651
3647
  return e;
3652
- }, ne = (e, t) => {
3648
+ }, re = (e, t) => {
3653
3649
  var r = {};
3654
3650
  for (var n in e)
3655
3651
  Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3656
- if (e != null && xe)
3657
- for (var n of xe(e))
3652
+ if (e != null && _e)
3653
+ for (var n of _e(e))
3658
3654
  t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
3659
3655
  return r;
3660
3656
  };
3661
- const ue = (e, t) => {
3662
- const { formats: r } = K();
3657
+ const ae = (e, t) => {
3658
+ const { formats: r } = Y();
3663
3659
  if (e in r && t in r[e])
3664
3660
  return r[e][t];
3665
3661
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3666
- }, si = Se(
3662
+ }, ii = Ce(
3667
3663
  (e) => {
3668
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3664
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3669
3665
  if (r == null)
3670
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3671
- return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3667
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3672
3668
  }
3673
- ), oi = Se(
3669
+ ), si = Ce(
3674
3670
  (e) => {
3675
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3671
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3676
3672
  if (r == null)
3677
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3678
- return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3674
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3679
3675
  }
3680
- ), ai = Se(
3676
+ ), oi = Ce(
3681
3677
  (e) => {
3682
- var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3678
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3683
3679
  if (r == null)
3684
3680
  throw new Error(
3685
3681
  '[svelte-i18n] A "locale" must be set to format time values'
3686
3682
  );
3687
- return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3683
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3688
3684
  }
3689
- ), ui = (e = {}) => {
3685
+ ), ai = (e = {}) => {
3690
3686
  var t = e, {
3691
- locale: r = X()
3692
- } = t, n = ne(t, [
3687
+ locale: r = V()
3688
+ } = t, n = re(t, [
3693
3689
  "locale"
3694
3690
  ]);
3695
- return si(Qe({ locale: r }, n));
3696
- }, hi = (e = {}) => {
3691
+ return ii(Qe({ locale: r }, n));
3692
+ }, ui = (e = {}) => {
3697
3693
  var t = e, {
3698
- locale: r = X()
3699
- } = t, n = ne(t, [
3694
+ locale: r = V()
3695
+ } = t, n = re(t, [
3700
3696
  "locale"
3701
3697
  ]);
3702
- return oi(Qe({ locale: r }, n));
3703
- }, li = (e = {}) => {
3698
+ return si(Qe({ locale: r }, n));
3699
+ }, hi = (e = {}) => {
3704
3700
  var t = e, {
3705
- locale: r = X()
3706
- } = t, n = ne(t, [
3701
+ locale: r = V()
3702
+ } = t, n = re(t, [
3707
3703
  "locale"
3708
3704
  ]);
3709
- return ai(Qe({ locale: r }, n));
3710
- }, fi = Se(
3705
+ return oi(Qe({ locale: r }, n));
3706
+ }, li = Ce(
3711
3707
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3712
- (e, t = X()) => new Un(e, t, K().formats, {
3713
- ignoreTag: K().ignoreTag
3708
+ (e, t = V()) => new Rn(e, t, Y().formats, {
3709
+ ignoreTag: Y().ignoreTag
3714
3710
  })
3715
3711
  ), ci = (e, t = {}) => {
3716
3712
  var r, n, i, s;
@@ -3718,7 +3714,7 @@ const ue = (e, t) => {
3718
3714
  typeof e == "object" && (o = e, e = o.id);
3719
3715
  const {
3720
3716
  values: u,
3721
- locale: h = X(),
3717
+ locale: h = V(),
3722
3718
  default: a
3723
3719
  } = o;
3724
3720
  if (h == null)
@@ -3727,35 +3723,35 @@ const ue = (e, t) => {
3727
3723
  );
3728
3724
  let l = zt(e, h);
3729
3725
  if (!l)
3730
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3726
+ l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3731
3727
  else if (typeof l != "string")
3732
3728
  return console.warn(
3733
3729
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3734
3730
  ), l;
3735
3731
  if (!u)
3736
3732
  return l;
3737
- let c = l;
3733
+ let f = l;
3738
3734
  try {
3739
- c = fi(l, h).format(u);
3740
- } catch (f) {
3741
- f instanceof Error && console.warn(
3735
+ f = li(l, h).format(u);
3736
+ } catch (c) {
3737
+ c instanceof Error && console.warn(
3742
3738
  `[svelte-i18n] Message "${e}" has syntax error:`,
3743
- f.message
3739
+ c.message
3744
3740
  );
3745
3741
  }
3746
- return c;
3747
- }, gi = (e, t) => li(t).format(e), mi = (e, t) => hi(t).format(e), pi = (e, t) => ui(t).format(e), di = (e, t = X()) => zt(e, t), bi = te([re, le], () => ci);
3748
- te([re], () => gi);
3749
- te([re], () => mi);
3750
- te([re], () => pi);
3751
- te([re, le], () => di);
3752
- function yi(e, t) {
3742
+ return f;
3743
+ }, fi = (e, t) => hi(t).format(e), gi = (e, t) => ui(t).format(e), mi = (e, t) => ai(t).format(e), pi = (e, t = V()) => zt(e, t), di = ee([te, he], () => ci);
3744
+ ee([te], () => fi);
3745
+ ee([te], () => gi);
3746
+ ee([te], () => mi);
3747
+ ee([te, he], () => pi);
3748
+ function bi(e, t) {
3753
3749
  if (e) {
3754
3750
  const r = document.createElement("style");
3755
3751
  r.innerHTML = t, e.appendChild(r);
3756
3752
  }
3757
3753
  }
3758
- function _i(e, t) {
3754
+ function yi(e, t) {
3759
3755
  const r = new URL(t);
3760
3756
  fetch(r.href).then((n) => n.text()).then((n) => {
3761
3757
  const i = document.createElement("style");
@@ -3764,7 +3760,7 @@ function _i(e, t) {
3764
3760
  console.error("There was an error while trying to load client styling from URL", n);
3765
3761
  });
3766
3762
  }
3767
- function Ei(e, t, r) {
3763
+ function _i(e, t, r) {
3768
3764
  if (window.emMessageBus) {
3769
3765
  const n = document.createElement("style");
3770
3766
  window.emMessageBus.subscribe(t, (i) => {
@@ -3776,7 +3772,7 @@ function yt(e, t) {
3776
3772
  Zt(e, t);
3777
3773
  }
3778
3774
  function xi(e) {
3779
- re.set(e);
3775
+ te.set(e);
3780
3776
  }
3781
3777
  const _t = {
3782
3778
  en: {
@@ -3888,84 +3884,84 @@ const _t = {
3888
3884
  games: "games"
3889
3885
  }
3890
3886
  };
3891
- function vi(e) {
3887
+ function Ei(e) {
3892
3888
  hr(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3893
3889
  }
3894
- function Et(e, t, r) {
3890
+ function xt(e, t, r) {
3895
3891
  const n = e.slice();
3896
3892
  return n[23] = t[r], n;
3897
3893
  }
3898
- function xt(e, t, r) {
3894
+ function Et(e, t, r) {
3899
3895
  const n = e.slice();
3900
3896
  return n[23] = t[r], n;
3901
3897
  }
3902
- function Ti(e) {
3898
+ function vi(e) {
3903
3899
  let t, r, n = (
3904
3900
  /*$_*/
3905
3901
  e[5]("topCategories") + ""
3906
3902
  ), i, s, o, u, h = (
3907
3903
  /*$_*/
3908
3904
  e[5]("otherCategories") + ""
3909
- ), a, l, c = ge(
3905
+ ), a, l, f = fe(
3910
3906
  /*topCategories*/
3911
3907
  e[3]
3912
- ), f = [];
3913
- for (let g = 0; g < c.length; g += 1)
3914
- f[g] = vt(xt(e, c, g));
3915
- let p = ge(
3908
+ ), c = [];
3909
+ for (let g = 0; g < f.length; g += 1)
3910
+ c[g] = vt(Et(e, f, g));
3911
+ let p = fe(
3916
3912
  /*otherCategories*/
3917
3913
  e[4]
3918
3914
  ), d = [];
3919
3915
  for (let g = 0; g < p.length; g += 1)
3920
- d[g] = Tt(Et(e, p, g));
3916
+ d[g] = Tt(xt(e, p, g));
3921
3917
  return {
3922
3918
  c() {
3923
- t = B("div"), r = B("h4"), i = G(n), s = D();
3924
- for (let g = 0; g < f.length; g += 1)
3925
- f[g].c();
3926
- o = D(), u = B("h4"), a = G(h), l = D();
3919
+ t = S("div"), r = S("h4"), i = D(n), s = U();
3920
+ for (let g = 0; g < c.length; g += 1)
3921
+ c[g].c();
3922
+ o = U(), u = S("h4"), a = D(h), l = U();
3927
3923
  for (let g = 0; g < d.length; g += 1)
3928
3924
  d[g].c();
3929
3925
  I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
3930
3926
  },
3931
3927
  m(g, E) {
3932
- ee(g, t, E), x(t, r), x(r, i), x(t, s);
3933
- for (let m = 0; m < f.length; m += 1)
3934
- f[m] && f[m].m(t, null);
3935
- x(t, o), x(t, u), x(u, a), x(t, l);
3928
+ K(g, t, E), v(t, r), v(r, i), v(t, s);
3929
+ for (let m = 0; m < c.length; m += 1)
3930
+ c[m] && c[m].m(t, null);
3931
+ v(t, o), v(t, u), v(u, a), v(t, l);
3936
3932
  for (let m = 0; m < d.length; m += 1)
3937
3933
  d[m] && d[m].m(t, null);
3938
3934
  },
3939
3935
  p(g, E) {
3940
3936
  if (E & /*$_*/
3941
3937
  32 && n !== (n = /*$_*/
3942
- g[5]("topCategories") + "") && j(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3938
+ g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3943
3939
  105) {
3944
- c = ge(
3940
+ f = fe(
3945
3941
  /*topCategories*/
3946
3942
  g[3]
3947
3943
  );
3948
3944
  let m;
3949
- for (m = 0; m < c.length; m += 1) {
3950
- const T = xt(g, c, m);
3951
- f[m] ? f[m].p(T, E) : (f[m] = vt(T), f[m].c(), f[m].m(t, o));
3945
+ for (m = 0; m < f.length; m += 1) {
3946
+ const C = Et(g, f, m);
3947
+ c[m] ? c[m].p(C, E) : (c[m] = vt(C), c[m].c(), c[m].m(t, o));
3952
3948
  }
3953
- for (; m < f.length; m += 1)
3954
- f[m].d(1);
3955
- f.length = c.length;
3949
+ for (; m < c.length; m += 1)
3950
+ c[m].d(1);
3951
+ c.length = f.length;
3956
3952
  }
3957
3953
  if (E & /*$_*/
3958
3954
  32 && h !== (h = /*$_*/
3959
- g[5]("otherCategories") + "") && j(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3955
+ g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3960
3956
  113) {
3961
- p = ge(
3957
+ p = fe(
3962
3958
  /*otherCategories*/
3963
3959
  g[4]
3964
3960
  );
3965
3961
  let m;
3966
3962
  for (m = 0; m < p.length; m += 1) {
3967
- const T = Et(g, p, m);
3968
- d[m] ? d[m].p(T, E) : (d[m] = Tt(T), d[m].c(), d[m].m(t, null));
3963
+ const C = xt(g, p, m);
3964
+ d[m] ? d[m].p(C, E) : (d[m] = Tt(C), d[m].c(), d[m].m(t, null));
3969
3965
  }
3970
3966
  for (; m < d.length; m += 1)
3971
3967
  d[m].d(1);
@@ -3973,22 +3969,22 @@ function Ti(e) {
3973
3969
  }
3974
3970
  },
3975
3971
  d(g) {
3976
- g && V(t), nt(f, g), nt(d, g);
3972
+ g && k(t), nt(c, g), nt(d, g);
3977
3973
  }
3978
3974
  };
3979
3975
  }
3980
- function Ci(e) {
3976
+ function Ti(e) {
3981
3977
  let t;
3982
3978
  return {
3983
3979
  c() {
3984
- t = B("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
3980
+ t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
3985
3981
  },
3986
3982
  m(r, n) {
3987
- ee(r, t, n);
3983
+ K(r, t, n);
3988
3984
  },
3989
3985
  p: L,
3990
3986
  d(r) {
3991
- r && V(t);
3987
+ r && k(t);
3992
3988
  }
3993
3989
  };
3994
3990
  }
@@ -3996,14 +3992,14 @@ function vt(e) {
3996
3992
  let t, r, n, i, s, o, u, h = (
3997
3993
  /*category*/
3998
3994
  e[23].name + ""
3999
- ), a, l, c, f = (
3995
+ ), a, l, f, c = (
4000
3996
  /*category*/
4001
3997
  e[23].games.count + ""
4002
3998
  ), p, d, g = (
4003
3999
  /*$_*/
4004
4000
  e[5]("games") + ""
4005
- ), E, m, T, S;
4006
- function w() {
4001
+ ), E, m, C, A;
4002
+ function O() {
4007
4003
  return (
4008
4004
  /*click_handler*/
4009
4005
  e[15](
@@ -4014,33 +4010,33 @@ function vt(e) {
4014
4010
  }
4015
4011
  return {
4016
4012
  c() {
4017
- t = B("div"), r = B("ui-image"), s = D(), o = B("div"), u = B("p"), a = G(h), l = D(), c = B("p"), p = G(f), d = D(), E = G(g), ye(r.src, n = /*category*/
4013
+ t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(), f = S("p"), p = D(c), d = U(), E = D(g), be(r.src, n = /*category*/
4018
4014
  e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4019
4015
  e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
4020
4016
  (e[0] === /*category*/
4021
4017
  e[23].id ? "Active" : ""));
4022
4018
  },
4023
- m(A, H) {
4024
- ee(A, t, H), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, l), x(o, c), x(c, p), x(c, d), x(c, E), T || (S = At(t, "click", w), T = !0);
4019
+ m(B, H) {
4020
+ K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, E), C || (A = Bt(t, "click", O), C = !0);
4025
4021
  },
4026
- p(A, H) {
4027
- e = A, H & /*topCategories*/
4028
- 8 && !ye(r.src, n = /*category*/
4022
+ p(B, H) {
4023
+ e = B, H & /*topCategories*/
4024
+ 8 && !be(r.src, n = /*category*/
4029
4025
  e[23].icon) && R(r, "src", n), H & /*topCategories*/
4030
4026
  8 && i !== (i = /*category*/
4031
4027
  e[23].name) && R(r, "alt", i), H & /*topCategories*/
4032
4028
  8 && h !== (h = /*category*/
4033
- e[23].name + "") && j(a, h), H & /*topCategories*/
4034
- 8 && f !== (f = /*category*/
4035
- e[23].games.count + "") && j(p, f), H & /*$_*/
4029
+ e[23].name + "") && F(a, h), H & /*topCategories*/
4030
+ 8 && c !== (c = /*category*/
4031
+ e[23].games.count + "") && F(p, c), H & /*$_*/
4036
4032
  32 && g !== (g = /*$_*/
4037
- e[5]("games") + "") && j(E, g), H & /*activecategory, topCategories*/
4033
+ e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
4038
4034
  9 && m !== (m = "Category " + /*activecategory*/
4039
4035
  (e[0] === /*category*/
4040
4036
  e[23].id ? "Active" : "")) && I(t, "class", m);
4041
4037
  },
4042
- d(A) {
4043
- A && V(t), T = !1, S();
4038
+ d(B) {
4039
+ B && k(t), C = !1, A();
4044
4040
  }
4045
4041
  };
4046
4042
  }
@@ -4048,14 +4044,14 @@ function Tt(e) {
4048
4044
  let t, r, n, i, s, o, u, h = (
4049
4045
  /*category*/
4050
4046
  e[23].name + ""
4051
- ), a, l, c, f = (
4047
+ ), a, l, f, c = (
4052
4048
  /*category*/
4053
4049
  e[23].games.count + ""
4054
4050
  ), p, d, g = (
4055
4051
  /*$_*/
4056
4052
  e[5]("games") + ""
4057
- ), E, m, T, S, w;
4058
- function A() {
4053
+ ), E, m, C, A, O;
4054
+ function B() {
4059
4055
  return (
4060
4056
  /*click_handler_1*/
4061
4057
  e[16](
@@ -4066,51 +4062,51 @@ function Tt(e) {
4066
4062
  }
4067
4063
  return {
4068
4064
  c() {
4069
- t = B("div"), r = B("ui-image"), s = D(), o = B("div"), u = B("p"), a = G(h), l = D(), c = B("p"), p = G(f), d = D(), E = G(g), m = D(), ye(r.src, n = /*category*/
4065
+ t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(), f = S("p"), p = D(c), d = U(), E = D(g), m = U(), be(r.src, n = /*category*/
4070
4066
  e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4071
- e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", T = "Category " + /*activecategory*/
4067
+ e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
4072
4068
  (e[0] === /*category*/
4073
4069
  e[23].id ? "Active" : ""));
4074
4070
  },
4075
4071
  m(H, P) {
4076
- ee(H, t, P), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, l), x(o, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = At(t, "click", A), S = !0);
4072
+ K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, f), v(f, p), v(f, d), v(f, E), v(t, m), A || (O = Bt(t, "click", B), A = !0);
4077
4073
  },
4078
4074
  p(H, P) {
4079
4075
  e = H, P & /*otherCategories*/
4080
- 16 && !ye(r.src, n = /*category*/
4076
+ 16 && !be(r.src, n = /*category*/
4081
4077
  e[23].icon) && R(r, "src", n), P & /*otherCategories*/
4082
4078
  16 && i !== (i = /*category*/
4083
4079
  e[23].name) && R(r, "alt", i), P & /*otherCategories*/
4084
4080
  16 && h !== (h = /*category*/
4085
- e[23].name + "") && j(a, h), P & /*otherCategories*/
4086
- 16 && f !== (f = /*category*/
4087
- e[23].games.count + "") && j(p, f), P & /*$_*/
4081
+ e[23].name + "") && F(a, h), P & /*otherCategories*/
4082
+ 16 && c !== (c = /*category*/
4083
+ e[23].games.count + "") && F(p, c), P & /*$_*/
4088
4084
  32 && g !== (g = /*$_*/
4089
- e[5]("games") + "") && j(E, g), P & /*activecategory, otherCategories*/
4090
- 17 && T !== (T = "Category " + /*activecategory*/
4085
+ e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4086
+ 17 && C !== (C = "Category " + /*activecategory*/
4091
4087
  (e[0] === /*category*/
4092
- e[23].id ? "Active" : "")) && I(t, "class", T);
4088
+ e[23].id ? "Active" : "")) && I(t, "class", C);
4093
4089
  },
4094
4090
  d(H) {
4095
- H && V(t), S = !1, w();
4091
+ H && k(t), A = !1, O();
4096
4092
  }
4097
4093
  };
4098
4094
  }
4099
- function Hi(e) {
4095
+ function Ci(e) {
4100
4096
  let t;
4101
4097
  function r(s, o) {
4102
4098
  return (
4103
4099
  /*isLoading*/
4104
- s[2] ? Ci : Ti
4100
+ s[2] ? Ti : vi
4105
4101
  );
4106
4102
  }
4107
4103
  let n = r(e), i = n(e);
4108
4104
  return {
4109
4105
  c() {
4110
- t = B("div"), i.c();
4106
+ t = S("div"), i.c();
4111
4107
  },
4112
4108
  m(s, o) {
4113
- ee(s, t, o), i.m(t, null), e[17](t);
4109
+ K(s, t, o), i.m(t, null), e[17](t);
4114
4110
  },
4115
4111
  p(s, [o]) {
4116
4112
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4118,63 +4114,63 @@ function Hi(e) {
4118
4114
  i: L,
4119
4115
  o: L,
4120
4116
  d(s) {
4121
- s && V(t), i.d(), e[17](null);
4117
+ s && k(t), i.d(), e[17](null);
4122
4118
  }
4123
4119
  };
4124
4120
  }
4125
- function Si(e, t, r) {
4121
+ function Hi(e, t, r) {
4126
4122
  let n;
4127
- ur(e, bi, (b) => r(5, n = b));
4128
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4123
+ ur(e, di, (b) => r(5, n = b));
4124
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, p, d = !1;
4129
4125
  const g = [];
4130
4126
  let E = [], m = [];
4131
4127
  Object.keys(_t).forEach((b) => {
4132
4128
  yt(b, _t[b]);
4133
4129
  });
4134
- const T = () => {
4135
- fetch(c).then(($) => $.json()).then(($) => {
4136
- Object.keys($).forEach((fe) => {
4137
- yt(fe, $[fe]);
4130
+ const C = () => {
4131
+ fetch(f).then(($) => $.json()).then(($) => {
4132
+ Object.keys($).forEach((le) => {
4133
+ yt(le, $[le]);
4138
4134
  });
4139
4135
  }).catch(($) => {
4140
4136
  console.log($);
4141
4137
  });
4142
- }, S = () => {
4138
+ }, A = () => {
4143
4139
  r(2, d = !0);
4144
4140
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4145
4141
  b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4146
4142
  r(2, d = !1);
4147
- const fe = h.split(",").map((k) => k.trim());
4143
+ const le = h.split(",").map((j) => j.trim());
4148
4144
  g.push(...$.items);
4149
- const qe = g.filter((k) => !fe.some((tr) => {
4145
+ const qe = g.filter((j) => !le.some((tr) => {
4150
4146
  var Je;
4151
- return ((Je = k.flags) == null ? void 0 : Je.indexOf(tr)) >= 0;
4147
+ return ((Je = j.flags) == null ? void 0 : Je.indexOf(tr)) >= 0;
4152
4148
  }));
4153
- r(3, E = qe.filter((k) => k.isTopCategory === !0)), r(4, m = qe.filter((k) => k.isTopCategory === !1));
4149
+ r(3, E = qe.filter((j) => j.isTopCategory === !0)), r(4, m = qe.filter((j) => j.isTopCategory === !1));
4154
4150
  });
4155
- }, w = (b) => {
4151
+ }, O = (b) => {
4156
4152
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4157
- }, A = () => {
4153
+ }, B = () => {
4158
4154
  xi(o);
4159
4155
  };
4160
4156
  pr(() => () => {
4161
4157
  });
4162
- const H = (b) => w(b.id), P = (b) => w(b.id);
4158
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4163
4159
  function er(b) {
4164
- Me[b ? "unshift" : "push"](() => {
4160
+ Le[b ? "unshift" : "push"](() => {
4165
4161
  p = b, r(1, p);
4166
4162
  });
4167
4163
  }
4168
4164
  return e.$$set = (b) => {
4169
- "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4165
+ "endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, f = b.translationurl), "mbsource" in b && r(14, c = b.mbsource);
4170
4166
  }, e.$$.update = () => {
4171
4167
  e.$$.dirty & /*endpoint, datasource*/
4172
- 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4173
- 8192 && c && T(), e.$$.dirty & /*lang*/
4174
- 512 && o && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4175
- 2050 && a && p && yi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4176
- 4098 && l && p && _i(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4177
- 16386 && f && p && Ei(p, `${f}.Style`);
4168
+ 384 && i && s && A(), e.$$.dirty & /*translationurl*/
4169
+ 8192 && f && C(), e.$$.dirty & /*lang*/
4170
+ 512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4171
+ 2050 && a && p && bi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4172
+ 4098 && l && p && yi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4173
+ 16386 && c && p && _i(p, `${c}.Style`);
4178
4174
  }, [
4179
4175
  u,
4180
4176
  p,
@@ -4182,27 +4178,27 @@ function Si(e, t, r) {
4182
4178
  E,
4183
4179
  m,
4184
4180
  n,
4185
- w,
4181
+ O,
4186
4182
  i,
4187
4183
  s,
4188
4184
  o,
4189
4185
  h,
4190
4186
  a,
4191
4187
  l,
4192
- c,
4193
4188
  f,
4189
+ c,
4194
4190
  H,
4195
4191
  P,
4196
4192
  er
4197
4193
  ];
4198
4194
  }
4199
- class Kt extends Ar {
4195
+ class Kt extends Br {
4200
4196
  constructor(t) {
4201
4197
  super(), Hr(
4202
4198
  this,
4203
4199
  t,
4204
- Si,
4205
4200
  Hi,
4201
+ Ci,
4206
4202
  Ht,
4207
4203
  {
4208
4204
  endpoint: 7,
@@ -4215,7 +4211,7 @@ class Kt extends Ar {
4215
4211
  translationurl: 13,
4216
4212
  mbsource: 14
4217
4213
  },
4218
- vi
4214
+ Ei
4219
4215
  );
4220
4216
  }
4221
4217
  get endpoint() {
@@ -4273,42 +4269,42 @@ class Kt extends Ar {
4273
4269
  this.$$set({ mbsource: t }), M();
4274
4270
  }
4275
4271
  }
4276
- Sr(Kt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4272
+ Ar(Kt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4277
4273
  const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4278
4274
  __proto__: null,
4279
4275
  default: Kt
4280
4276
  }, Symbol.toStringTag, { value: "Module" }));
4281
4277
  export {
4282
- re as $,
4283
- nt as A,
4284
- Oi as B,
4285
- ye as C,
4278
+ te as $,
4279
+ Si as A,
4280
+ nt as B,
4281
+ be as C,
4286
4282
  wi as D,
4287
- Ar as S,
4283
+ Br as S,
4288
4284
  Zt as a,
4289
4285
  hr as b,
4290
- Sr as c,
4291
- V as d,
4292
- j as e,
4286
+ Ar as c,
4287
+ U as d,
4288
+ S as e,
4293
4289
  M as f,
4294
4290
  I as g,
4295
4291
  R as h,
4296
4292
  Hr as i,
4297
- ee as j,
4298
- x as k,
4299
- At as l,
4300
- B as m,
4293
+ K as j,
4294
+ v as k,
4295
+ Bt as l,
4296
+ F as m,
4301
4297
  L as n,
4302
- D as o,
4298
+ k as o,
4303
4299
  ur as p,
4304
4300
  pr as q,
4305
- he as r,
4301
+ ue as r,
4306
4302
  Ht as s,
4307
- G as t,
4308
- Me as u,
4309
- bi as v,
4310
- yi as w,
4311
- _i as x,
4312
- Ei as y,
4313
- ge as z
4303
+ D as t,
4304
+ yi as u,
4305
+ _i as v,
4306
+ Le as w,
4307
+ bi as x,
4308
+ di as y,
4309
+ fe as z
4314
4310
  };