@everymatrix/casino-categories-providers 1.86.2 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/CasinoCategories-CrPzHMxl.cjs +16 -0
  2. package/components/{CasinoCategories-DhMD53wI.js → CasinoCategories-DCAySW6_.js} +566 -570
  3. package/components/{CasinoCategories-CT9K9KfS.js → CasinoCategories-QwX6nOv0.js} +558 -562
  4. package/components/{CasinoCategoriesProviders-DBRRnd30.cjs → CasinoCategoriesProviders-Btg87Wr3.cjs} +1 -1
  5. package/components/{CasinoCategoriesProviders-CyDccbmP.js → CasinoCategoriesProviders-DUd6zlz1.js} +15 -15
  6. package/components/{CasinoCategoriesProviders-D6Sm0rlt.js → CasinoCategoriesProviders-Drsm16rO.js} +17 -17
  7. package/components/{CasinoProviders-BTGbC_k5.js → CasinoProviders-B17kw4bF.js} +36 -36
  8. package/components/{CasinoProviders-CkMeINEO.js → CasinoProviders-CmmyH9sU.js} +36 -36
  9. package/components/{CasinoProviders-X-basL9D.cjs → CasinoProviders-DbIy6v7a.cjs} +1 -1
  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-DvplcHtm.js +558 -0
  15. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  16. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  17. package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
  18. package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  20. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  21. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  22. package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
  23. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  24. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  25. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  26. package/components/CasinoCategories-HwnxesgF.cjs +0 -3
  27. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  28. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  29. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-image-Ch-GHki1.js";
1
+ import "../stencil/ui-image-wH6lu7wS.js";
2
2
  function N() {
3
3
  }
4
4
  function bt(e) {
@@ -7,18 +7,18 @@ function bt(e) {
7
7
  function Qe() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ue(e) {
10
+ function ae(e) {
11
11
  e.forEach(bt);
12
12
  }
13
- function Xe(e) {
13
+ function ke(e) {
14
14
  return typeof e == "function";
15
15
  }
16
16
  function _t(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
- let fe;
20
- function be(e, t) {
21
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
19
+ let le;
20
+ function de(e, t) {
21
+ return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
22
22
  }
23
23
  function Qt(e) {
24
24
  return Object.keys(e).length === 0;
@@ -35,13 +35,13 @@ function yt(e, ...t) {
35
35
  function qt(e, t, r) {
36
36
  e.$$.on_destroy.push(yt(t, r));
37
37
  }
38
- function x(e, t) {
38
+ function v(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
41
  function Jt(e, t, r) {
42
42
  const n = Yt(e);
43
43
  if (!n.getElementById(t)) {
44
- const i = B("style");
44
+ const i = S("style");
45
45
  i.id = t, i.textContent = r, Kt(n, i);
46
46
  }
47
47
  }
@@ -56,35 +56,35 @@ function Yt(e) {
56
56
  ) : e.ownerDocument;
57
57
  }
58
58
  function Kt(e, t) {
59
- return x(
59
+ return v(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function K(e, t, r) {
65
+ function Y(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
- function k(e) {
68
+ function j(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
71
  function qe(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
- function B(e) {
75
+ function S(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function D(e) {
78
+ function U(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
- function U() {
82
- return D(" ");
81
+ function R() {
82
+ return U(" ");
83
83
  }
84
- function di() {
85
- return D("");
84
+ function pi() {
85
+ return U("");
86
86
  }
87
- function Et(e, t, r, n) {
87
+ function xt(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function L(e, t, r) {
@@ -97,7 +97,7 @@ function $(e, t, r) {
97
97
  function er(e) {
98
98
  return Array.from(e.childNodes);
99
99
  }
100
- function F(e, t) {
100
+ function G(e, t) {
101
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
102
  t);
103
103
  }
@@ -110,90 +110,90 @@ function tr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let se;
114
- function ie(e) {
115
- se = e;
113
+ let ie;
114
+ function ne(e) {
115
+ ie = e;
116
116
  }
117
117
  function rr() {
118
- if (!se)
118
+ if (!ie)
119
119
  throw new Error("Function called outside component initialization");
120
- return se;
120
+ return ie;
121
121
  }
122
122
  function nr(e) {
123
123
  rr().$$.on_mount.push(e);
124
124
  }
125
- const W = [], Le = [];
126
- let Z = [];
125
+ const z = [], Pe = [];
126
+ let W = [];
127
127
  const Je = [], ir = /* @__PURE__ */ Promise.resolve();
128
- let Ie = !1;
128
+ let Ne = !1;
129
129
  function sr() {
130
- Ie || (Ie = !0, ir.then(I));
130
+ Ne || (Ne = !0, ir.then(I));
131
131
  }
132
- function Me(e) {
133
- Z.push(e);
132
+ function Le(e) {
133
+ W.push(e);
134
134
  }
135
- const Se = /* @__PURE__ */ new Set();
136
- let X = 0;
135
+ const Ce = /* @__PURE__ */ new Set();
136
+ let V = 0;
137
137
  function I() {
138
- if (X !== 0)
138
+ if (V !== 0)
139
139
  return;
140
- const e = se;
140
+ const e = ie;
141
141
  do {
142
142
  try {
143
- for (; X < W.length; ) {
144
- const t = W[X];
145
- X++, ie(t), or(t.$$);
143
+ for (; V < z.length; ) {
144
+ const t = z[V];
145
+ V++, ne(t), or(t.$$);
146
146
  }
147
147
  } catch (t) {
148
- throw W.length = 0, X = 0, t;
148
+ throw z.length = 0, V = 0, t;
149
149
  }
150
- for (ie(null), W.length = 0, X = 0; Le.length; )
151
- Le.pop()();
152
- for (let t = 0; t < Z.length; t += 1) {
153
- const r = Z[t];
154
- Se.has(r) || (Se.add(r), r());
150
+ for (ne(null), z.length = 0, V = 0; Pe.length; )
151
+ Pe.pop()();
152
+ for (let t = 0; t < W.length; t += 1) {
153
+ const r = W[t];
154
+ Ce.has(r) || (Ce.add(r), r());
155
155
  }
156
- Z.length = 0;
157
- } while (W.length);
156
+ W.length = 0;
157
+ } while (z.length);
158
158
  for (; Je.length; )
159
159
  Je.pop()();
160
- Ie = !1, Se.clear(), ie(e);
160
+ Ne = !1, Ce.clear(), ne(e);
161
161
  }
162
162
  function or(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), ue(e.before_update);
164
+ e.update(), ae(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
167
167
  }
168
168
  }
169
169
  function ar(e) {
170
170
  const t = [], r = [];
171
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
171
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
172
172
  }
173
173
  const ur = /* @__PURE__ */ new Set();
174
174
  function hr(e, t) {
175
175
  e && e.i && (ur.delete(e), e.i(t));
176
176
  }
177
- function ce(e) {
177
+ function fe(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
180
  function lr(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
- n && n.m(t, r), Me(() => {
183
- const s = e.$$.on_mount.map(bt).filter(Xe);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
185
- }), i.forEach(Me);
182
+ n && n.m(t, r), Le(() => {
183
+ const s = e.$$.on_mount.map(bt).filter(ke);
184
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
185
+ }), i.forEach(Le);
186
186
  }
187
187
  function fr(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (ar(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (ar(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
191
  function cr(e, t) {
192
- e.$$.dirty[0] === -1 && (W.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
192
+ e.$$.dirty[0] === -1 && (z.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
194
  function gr(e, t, r, n, i, s, o = null, u = [-1]) {
195
- const l = se;
196
- ie(e);
195
+ const l = ie;
196
+ ne(e);
197
197
  const a = e.$$ = {
198
198
  fragment: null,
199
199
  ctx: [],
@@ -220,18 +220,18 @@ function gr(e, t, r, n, i, s, o = null, u = [-1]) {
220
220
  if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
221
221
  const d = p.length ? p[0] : f;
222
222
  return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && cr(e, c)), f;
223
- }) : [], a.update(), h = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
223
+ }) : [], a.update(), h = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
225
  const c = er(t.target);
226
- a.fragment && a.fragment.l(c), c.forEach(k);
226
+ a.fragment && a.fragment.l(c), c.forEach(j);
227
227
  } else
228
228
  a.fragment && a.fragment.c();
229
229
  t.intro && hr(e.$$.fragment), lr(e, t.target, t.anchor), I();
230
230
  }
231
- ie(l);
231
+ ne(l);
232
232
  }
233
- let xt;
234
- typeof HTMLElement == "function" && (xt = class extends HTMLElement {
233
+ let Et;
234
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -273,17 +273,17 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
273
273
  let s;
274
274
  return {
275
275
  c: function() {
276
- s = B("slot"), i !== "default" && L(s, "name", i);
276
+ s = S("slot"), i !== "default" && L(s, "name", i);
277
277
  },
278
278
  /**
279
279
  * @param {HTMLElement} target
280
280
  * @param {HTMLElement} [anchor]
281
281
  */
282
282
  m: function(l, a) {
283
- K(l, s, a);
283
+ Y(l, s, a);
284
284
  },
285
285
  d: function(l) {
286
- l && k(s);
286
+ l && j(s);
287
287
  }
288
288
  };
289
289
  };
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
295
295
  i in r && (t[i] = [e(i)]);
296
296
  for (const i of this.attributes) {
297
297
  const s = this.$$g_p(i.name);
298
- s in this.$$d || (this.$$d[s] = me(s, i.value, this.$$p_d, "toProp"));
298
+ s in this.$$d || (this.$$d[s] = ge(s, i.value, this.$$p_d, "toProp"));
299
299
  }
300
300
  for (const i in this.$$p_d)
301
301
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
313
313
  this.$$r = !0;
314
314
  for (const i in this.$$p_d)
315
315
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
316
- const s = me(
316
+ const s = ge(
317
317
  i,
318
318
  this.$$d[i],
319
319
  this.$$p_d,
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
335
335
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
336
336
  // and setting attributes through setAttribute etc, this is helpful
337
337
  attributeChangedCallback(e, t, r) {
338
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
338
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
339
339
  }
340
340
  disconnectedCallback() {
341
341
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
348
348
  ) || e;
349
349
  }
350
350
  });
351
- function me(e, t, r, n) {
351
+ function ge(e, t, r, n) {
352
352
  const i = r[e]?.type;
353
353
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
354
354
  return t;
@@ -378,7 +378,7 @@ function me(e, t, r, n) {
378
378
  }
379
379
  }
380
380
  function mr(e, t, r, n, i, s) {
381
- let o = class extends xt {
381
+ let o = class extends Et {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
384
384
  }
@@ -394,7 +394,7 @@ function mr(e, t, r, n, i, s) {
394
394
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
395
395
  },
396
396
  set(l) {
397
- l = me(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
397
+ l = ge(u, l, t), this.$$d[u] = l, this.$$c?.$set({ [u]: l });
398
398
  }
399
399
  });
400
400
  }), n.forEach((u) => {
@@ -434,7 +434,7 @@ class pr {
434
434
  * @returns {() => void}
435
435
  */
436
436
  $on(t, r) {
437
- if (!Xe(r))
437
+ if (!ke(r))
438
438
  return N;
439
439
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
440
440
  return n.push(r), () => {
@@ -452,24 +452,24 @@ class pr {
452
452
  }
453
453
  const dr = "4";
454
454
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
455
- const z = [];
455
+ const X = [];
456
456
  function br(e, t) {
457
457
  return {
458
- subscribe: xe(e, t).subscribe
458
+ subscribe: ye(e, t).subscribe
459
459
  };
460
460
  }
461
- function xe(e, t = N) {
461
+ function ye(e, t = N) {
462
462
  let r;
463
463
  const n = /* @__PURE__ */ new Set();
464
464
  function i(u) {
465
465
  if (_t(e, u) && (e = u, r)) {
466
- const l = !z.length;
466
+ const l = !X.length;
467
467
  for (const a of n)
468
- a[1](), z.push(a, e);
468
+ a[1](), X.push(a, e);
469
469
  if (l) {
470
- for (let a = 0; a < z.length; a += 2)
471
- z[a][0](z[a + 1]);
472
- z.length = 0;
470
+ for (let a = 0; a < X.length; a += 2)
471
+ X[a][0](X[a + 1]);
472
+ X.length = 0;
473
473
  }
474
474
  }
475
475
  }
@@ -484,7 +484,7 @@ function xe(e, t = N) {
484
484
  }
485
485
  return { set: i, update: s, subscribe: o };
486
486
  }
487
- function ee(e, t, r) {
487
+ function K(e, t, r) {
488
488
  const n = !Array.isArray(e), i = n ? [e] : e;
489
489
  if (!i.every(Boolean))
490
490
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -498,7 +498,7 @@ function ee(e, t, r) {
498
498
  return;
499
499
  c();
500
500
  const d = t(n ? a[0] : a, o, u);
501
- s ? o(d) : c = Xe(d) ? d : N;
501
+ s ? o(d) : c = ke(d) ? d : N;
502
502
  }, p = i.map(
503
503
  (d, g) => yt(
504
504
  d,
@@ -511,7 +511,7 @@ function ee(e, t, r) {
511
511
  )
512
512
  );
513
513
  return l = !0, f(), function() {
514
- ue(p), c(), l = !1;
514
+ ae(p), c(), l = !1;
515
515
  };
516
516
  });
517
517
  }
@@ -519,12 +519,12 @@ function _r(e) {
519
519
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
520
  }
521
521
  var yr = function(t) {
522
- return Er(t) && !xr(t);
522
+ return xr(t) && !Er(t);
523
523
  };
524
- function Er(e) {
524
+ function xr(e) {
525
525
  return !!e && typeof e == "object";
526
526
  }
527
- function xr(e) {
527
+ function Er(e) {
528
528
  var t = Object.prototype.toString.call(e);
529
529
  return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
530
530
  }
@@ -535,27 +535,27 @@ function Cr(e) {
535
535
  function Hr(e) {
536
536
  return Array.isArray(e) ? [] : {};
537
537
  }
538
- function oe(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Hr(e), e, t) : e;
538
+ function se(e, t) {
539
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Hr(e), e, t) : e;
540
540
  }
541
- function Sr(e, t, r) {
541
+ function Ar(e, t, r) {
542
542
  return e.concat(t).map(function(n) {
543
- return oe(n, r);
543
+ return se(n, r);
544
544
  });
545
545
  }
546
- function Ar(e, t) {
546
+ function Br(e, t) {
547
547
  if (!t.customMerge)
548
- return Q;
548
+ return Z;
549
549
  var r = t.customMerge(e);
550
- return typeof r == "function" ? r : Q;
550
+ return typeof r == "function" ? r : Z;
551
551
  }
552
- function Br(e) {
552
+ function Sr(e) {
553
553
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
554
  return Object.propertyIsEnumerable.call(e, t);
555
555
  }) : [];
556
556
  }
557
557
  function Ye(e) {
558
- return Object.keys(e).concat(Br(e));
558
+ return Object.keys(e).concat(Sr(e));
559
559
  }
560
560
  function vt(e, t) {
561
561
  try {
@@ -564,57 +564,71 @@ function vt(e, t) {
564
564
  return !1;
565
565
  }
566
566
  }
567
- function Or(e, t) {
567
+ function wr(e, t) {
568
568
  return vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
569
  }
570
- function wr(e, t, r) {
570
+ function Or(e, t, r) {
571
571
  var n = {};
572
572
  return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
573
- n[i] = oe(e[i], r);
573
+ n[i] = se(e[i], r);
574
574
  }), Ye(t).forEach(function(i) {
575
- Or(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ar(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
575
+ wr(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Br(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
576
576
  }), n;
577
577
  }
578
- function Q(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = oe;
578
+ function Z(e, t, r) {
579
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = se;
580
580
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
581
- return s ? n ? r.arrayMerge(e, t, r) : wr(e, t, r) : oe(t, r);
581
+ return s ? n ? r.arrayMerge(e, t, r) : Or(e, t, r) : se(t, r);
582
582
  }
583
- Q.all = function(t, r) {
583
+ Z.all = function(t, r) {
584
584
  if (!Array.isArray(t))
585
585
  throw new Error("first argument should be an array");
586
586
  return t.reduce(function(n, i) {
587
- return Q(n, i, r);
587
+ return Z(n, i, r);
588
588
  }, {});
589
589
  };
590
- var Pr = Q, Nr = Pr;
590
+ var Pr = Z, Nr = Pr;
591
591
  const Lr = /* @__PURE__ */ _r(Nr);
592
- var $e = function(e, t) {
593
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
592
+ /*! *****************************************************************************
593
+ Copyright (c) Microsoft Corporation.
594
+
595
+ Permission to use, copy, modify, and/or distribute this software for any
596
+ purpose with or without fee is hereby granted.
597
+
598
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
599
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
600
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
601
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
602
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
603
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
604
+ PERFORMANCE OF THIS SOFTWARE.
605
+ ***************************************************************************** */
606
+ var Ie = function(e, t) {
607
+ return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
594
608
  r.__proto__ = n;
595
609
  } || function(r, n) {
596
610
  for (var i in n)
597
611
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
598
- }, $e(e, t);
612
+ }, Ie(e, t);
599
613
  };
600
- function ve(e, t) {
614
+ function xe(e, t) {
601
615
  if (typeof t != "function" && t !== null)
602
616
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
603
- $e(e, t);
617
+ Ie(e, t);
604
618
  function r() {
605
619
  this.constructor = e;
606
620
  }
607
621
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
608
622
  }
609
- var R = function() {
610
- return R = Object.assign || function(t) {
623
+ var x = function() {
624
+ return x = Object.assign || function(t) {
611
625
  for (var r, n = 1, i = arguments.length; n < i; n++) {
612
626
  r = arguments[n];
613
627
  for (var s in r)
614
628
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
615
629
  }
616
630
  return t;
617
- }, R.apply(this, arguments);
631
+ }, x.apply(this, arguments);
618
632
  };
619
633
  function Ir(e, t) {
620
634
  var r = {};
@@ -625,14 +639,14 @@ function Ir(e, t) {
625
639
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
626
640
  return r;
627
641
  }
628
- function Ae(e, t, r) {
629
- if (r || arguments.length === 2)
642
+ function He(e, t, r) {
643
+ if (arguments.length === 2)
630
644
  for (var n = 0, i = t.length, s; n < i; n++)
631
645
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
632
- return e.concat(s || Array.prototype.slice.call(t));
646
+ return e.concat(s || t);
633
647
  }
634
- function Be(e, t) {
635
- var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : Rr;
648
+ function Ae(e, t) {
649
+ var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : $r;
636
650
  return i(e, {
637
651
  cache: r,
638
652
  serializer: n
@@ -641,103 +655,95 @@ function Be(e, t) {
641
655
  function Mr(e) {
642
656
  return e == null || typeof e == "number" || typeof e == "boolean";
643
657
  }
644
- function $r(e, t, r, n) {
658
+ function Tt(e, t, r, n) {
645
659
  var i = Mr(n) ? n : r(n), s = t.get(i);
646
660
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
647
661
  }
648
- function Tt(e, t, r) {
662
+ function Ct(e, t, r) {
649
663
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
650
664
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
651
665
  }
652
- function Ct(e, t, r, n, i) {
666
+ function Ve(e, t, r, n, i) {
653
667
  return r.bind(t, e, n, i);
654
668
  }
669
+ function $r(e, t) {
670
+ var r = e.length === 1 ? Tt : Ct;
671
+ return Ve(e, this, r, t.cache.create(), t.serializer);
672
+ }
655
673
  function Rr(e, t) {
656
- var r = e.length === 1 ? $r : Tt;
657
- return Ct(e, this, r, t.cache.create(), t.serializer);
674
+ return Ve(e, this, Ct, t.cache.create(), t.serializer);
658
675
  }
659
676
  function Ur(e, t) {
660
- return Ct(e, this, Tt, t.cache.create(), t.serializer);
677
+ return Ve(e, this, Tt, t.cache.create(), t.serializer);
661
678
  }
662
679
  var Dr = function() {
663
680
  return JSON.stringify(arguments);
664
- }, Gr = (
665
- /** @class */
666
- function() {
667
- function e() {
668
- this.cache = /* @__PURE__ */ Object.create(null);
669
- }
670
- return e.prototype.get = function(t) {
671
- return this.cache[t];
672
- }, e.prototype.set = function(t, r) {
673
- this.cache[t] = r;
674
- }, e;
675
- }()
676
- ), Fr = {
681
+ };
682
+ function Xe() {
683
+ this.cache = /* @__PURE__ */ Object.create(null);
684
+ }
685
+ Xe.prototype.get = function(e) {
686
+ return this.cache[e];
687
+ };
688
+ Xe.prototype.set = function(e, t) {
689
+ this.cache[e] = t;
690
+ };
691
+ var Gr = {
677
692
  create: function() {
678
- return new Gr();
693
+ return new Xe();
679
694
  }
680
- }, Oe = {
681
- variadic: Ur
682
- }, _e = function() {
683
- return _e = Object.assign || function(t) {
684
- for (var r, n = 1, i = arguments.length; n < i; n++) {
685
- r = arguments[n];
686
- for (var s in r)
687
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
688
- }
689
- return t;
690
- }, _e.apply(this, arguments);
691
- };
692
- var _;
695
+ }, Be = {
696
+ variadic: Rr,
697
+ monadic: Ur
698
+ }, _;
693
699
  (function(e) {
694
700
  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";
695
701
  })(_ || (_ = {}));
696
- var v;
702
+ var T;
697
703
  (function(e) {
698
704
  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";
699
- })(v || (v = {}));
700
- var q;
705
+ })(T || (T = {}));
706
+ var Q;
701
707
  (function(e) {
702
708
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
703
- })(q || (q = {}));
709
+ })(Q || (Q = {}));
704
710
  function Ke(e) {
705
- return e.type === v.literal;
711
+ return e.type === T.literal;
706
712
  }
707
- function jr(e) {
708
- return e.type === v.argument;
713
+ function Fr(e) {
714
+ return e.type === T.argument;
709
715
  }
710
716
  function Ht(e) {
711
- return e.type === v.number;
712
- }
713
- function St(e) {
714
- return e.type === v.date;
717
+ return e.type === T.number;
715
718
  }
716
719
  function At(e) {
717
- return e.type === v.time;
720
+ return e.type === T.date;
718
721
  }
719
722
  function Bt(e) {
720
- return e.type === v.select;
721
- }
722
- function Ot(e) {
723
- return e.type === v.plural;
723
+ return e.type === T.time;
724
724
  }
725
- function kr(e) {
726
- return e.type === v.pound;
725
+ function St(e) {
726
+ return e.type === T.select;
727
727
  }
728
728
  function wt(e) {
729
- return e.type === v.tag;
729
+ return e.type === T.plural;
730
+ }
731
+ function jr(e) {
732
+ return e.type === T.pound;
733
+ }
734
+ function Ot(e) {
735
+ return e.type === T.tag;
730
736
  }
731
737
  function Pt(e) {
732
- return !!(e && typeof e == "object" && e.type === q.number);
738
+ return !!(e && typeof e == "object" && e.type === Q.number);
733
739
  }
734
- function Re(e) {
735
- return !!(e && typeof e == "object" && e.type === q.dateTime);
740
+ function Me(e) {
741
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
736
742
  }
737
- var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vr = /(?:[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;
738
- function Xr(e) {
743
+ var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
744
+ function Vr(e) {
739
745
  var t = {};
740
- return e.replace(Vr, function(r) {
746
+ return e.replace(kr, function(r) {
741
747
  var n = r.length;
742
748
  switch (r[0]) {
743
749
  case "G":
@@ -826,21 +832,11 @@ function Xr(e) {
826
832
  return "";
827
833
  }), t;
828
834
  }
829
- var C = function() {
830
- return C = Object.assign || function(t) {
831
- for (var r, n = 1, i = arguments.length; n < i; n++) {
832
- r = arguments[n];
833
- for (var s in r)
834
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
835
- }
836
- return t;
837
- }, C.apply(this, arguments);
838
- };
839
- var zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
- function Wr(e) {
835
+ var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
836
+ function zr(e) {
841
837
  if (e.length === 0)
842
838
  throw new Error("Number skeleton cannot be empty");
843
- for (var t = e.split(zr).filter(function(f) {
839
+ for (var t = e.split(Xr).filter(function(f) {
844
840
  return f.length > 0;
845
841
  }), r = [], n = 0, i = t; n < i.length; n++) {
846
842
  var s = i[n], o = s.split("/");
@@ -855,10 +851,10 @@ function Wr(e) {
855
851
  }
856
852
  return r;
857
853
  }
858
- function Zr(e) {
854
+ function Wr(e) {
859
855
  return e.replace(/^(.*?)-/, "");
860
856
  }
861
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Qr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
857
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
862
858
  function tt(e) {
863
859
  var t = {};
864
860
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lt, function(r, n, i) {
@@ -905,7 +901,7 @@ function Mt(e) {
905
901
  };
906
902
  }
907
903
  }
908
- function qr(e) {
904
+ function Qr(e) {
909
905
  var t;
910
906
  if (e[0] === "E" && e[1] === "E" ? (t = {
911
907
  notation: "engineering"
@@ -923,7 +919,7 @@ function rt(e) {
923
919
  var t = {}, r = Mt(e);
924
920
  return r || t;
925
921
  }
926
- function Jr(e) {
922
+ function qr(e) {
927
923
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
928
924
  var i = n[r];
929
925
  switch (i.stem) {
@@ -947,7 +943,7 @@ function Jr(e) {
947
943
  continue;
948
944
  case "measure-unit":
949
945
  case "unit":
950
- t.style = "unit", t.unit = Zr(i.options[0]);
946
+ t.style = "unit", t.unit = Wr(i.options[0]);
951
947
  continue;
952
948
  case "compact-short":
953
949
  case "K":
@@ -958,13 +954,13 @@ function Jr(e) {
958
954
  t.notation = "compact", t.compactDisplay = "long";
959
955
  continue;
960
956
  case "scientific":
961
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
962
- return C(C({}, l), rt(a));
957
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
958
+ return x(x({}, l), rt(a));
963
959
  }, {}));
964
960
  continue;
965
961
  case "engineering":
966
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
967
- return C(C({}, l), rt(a));
962
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
963
+ return x(x({}, l), rt(a));
968
964
  }, {}));
969
965
  continue;
970
966
  case "notation-simple":
@@ -1009,7 +1005,7 @@ function Jr(e) {
1009
1005
  case "integer-width":
1010
1006
  if (i.options.length > 1)
1011
1007
  throw new RangeError("integer-width stems only accept a single optional option");
1012
- i.options[0].replace(Qr, function(l, a, h, c, f, p) {
1008
+ i.options[0].replace(Zr, function(l, a, h, c, f, p) {
1013
1009
  if (a)
1014
1010
  t.minimumIntegerDigits = h.length;
1015
1011
  else {
@@ -1033,21 +1029,21 @@ function Jr(e) {
1033
1029
  return h === "*" ? 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), "";
1034
1030
  });
1035
1031
  var s = i.options[0];
1036
- s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), tt(s)));
1032
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), tt(s)));
1037
1033
  continue;
1038
1034
  }
1039
1035
  if (Lt.test(i.stem)) {
1040
- t = C(C({}, t), tt(i.stem));
1036
+ t = x(x({}, t), tt(i.stem));
1041
1037
  continue;
1042
1038
  }
1043
1039
  var o = Mt(i.stem);
1044
- o && (t = C(C({}, t), o));
1045
- var u = qr(i.stem);
1046
- u && (t = C(C({}, t), u));
1040
+ o && (t = x(x({}, t), o));
1041
+ var u = Qr(i.stem);
1042
+ u && (t = x(x({}, t), u));
1047
1043
  }
1048
1044
  return t;
1049
1045
  }
1050
- var ge = {
1046
+ var ce = {
1051
1047
  "001": [
1052
1048
  "H",
1053
1049
  "h"
@@ -2462,13 +2458,13 @@ var ge = {
2462
2458
  "h"
2463
2459
  ]
2464
2460
  };
2465
- function Yr(e, t) {
2461
+ function Jr(e, t) {
2466
2462
  for (var r = "", n = 0; n < e.length; n++) {
2467
2463
  var i = e.charAt(n);
2468
2464
  if (i === "j") {
2469
2465
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2470
2466
  s++, n++;
2471
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Kr(t);
2467
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Yr(t);
2472
2468
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2473
2469
  r += l;
2474
2470
  for (; o-- > 0; )
@@ -2478,7 +2474,7 @@ function Yr(e, t) {
2478
2474
  }
2479
2475
  return r;
2480
2476
  }
2481
- function Kr(e) {
2477
+ function Yr(e) {
2482
2478
  var t = e.hourCycle;
2483
2479
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2484
2480
  e.hourCycles && // @ts-ignore
@@ -2497,23 +2493,23 @@ function Kr(e) {
2497
2493
  }
2498
2494
  var r = e.language, n;
2499
2495
  r !== "root" && (n = e.maximize().region);
2500
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2496
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2501
2497
  return i[0];
2502
2498
  }
2503
- var we, en = new RegExp("^".concat(Nt.source, "*")), tn = new RegExp("".concat(Nt.source, "*$"));
2499
+ var Se, Kr = new RegExp("^".concat(Nt.source, "*")), en = new RegExp("".concat(Nt.source, "*$"));
2504
2500
  function y(e, t) {
2505
2501
  return { start: e, end: t };
2506
2502
  }
2507
- var rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), nn = !!String.fromCodePoint, sn = !!Object.fromEntries, on = !!String.prototype.codePointAt, an = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, hn = !!Number.isSafeInteger, ln = hn ? Number.isSafeInteger : function(e) {
2503
+ var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, sn = !!String.prototype.codePointAt, on = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, hn = un ? Number.isSafeInteger : function(e) {
2508
2504
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2509
- }, Ue = !0;
2505
+ }, $e = !0;
2510
2506
  try {
2511
- var fn = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2512
- Ue = ((we = fn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2507
+ var ln = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
+ $e = ((Se = ln.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2513
2509
  } catch {
2514
- Ue = !1;
2510
+ $e = !1;
2515
2511
  }
2516
- var nt = rn ? (
2512
+ var nt = tn ? (
2517
2513
  // Native
2518
2514
  function(t, r, n) {
2519
2515
  return t.startsWith(r, n);
@@ -2523,7 +2519,7 @@ var nt = rn ? (
2523
2519
  function(t, r, n) {
2524
2520
  return t.slice(n, n + r.length) === r;
2525
2521
  }
2526
- ), De = nn ? String.fromCodePoint : (
2522
+ ), Re = rn ? String.fromCodePoint : (
2527
2523
  // IE11
2528
2524
  function() {
2529
2525
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2537,7 +2533,7 @@ var nt = rn ? (
2537
2533
  }
2538
2534
  ), it = (
2539
2535
  // native
2540
- sn ? Object.fromEntries : (
2536
+ nn ? Object.fromEntries : (
2541
2537
  // Ponyfill
2542
2538
  function(t) {
2543
2539
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2547,7 +2543,7 @@ var nt = rn ? (
2547
2543
  return r;
2548
2544
  }
2549
2545
  )
2550
- ), $t = on ? (
2546
+ ), $t = sn ? (
2551
2547
  // Native
2552
2548
  function(t, r) {
2553
2549
  return t.codePointAt(r);
@@ -2561,7 +2557,7 @@ var nt = rn ? (
2561
2557
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2562
2558
  }
2563
2559
  }
2564
- ), cn = an ? (
2560
+ ), fn = on ? (
2565
2561
  // Native
2566
2562
  function(t) {
2567
2563
  return t.trimStart();
@@ -2569,9 +2565,9 @@ var nt = rn ? (
2569
2565
  ) : (
2570
2566
  // Ponyfill
2571
2567
  function(t) {
2572
- return t.replace(en, "");
2568
+ return t.replace(Kr, "");
2573
2569
  }
2574
- ), gn = un ? (
2570
+ ), cn = an ? (
2575
2571
  // Native
2576
2572
  function(t) {
2577
2573
  return t.trimEnd();
@@ -2579,32 +2575,32 @@ var nt = rn ? (
2579
2575
  ) : (
2580
2576
  // Ponyfill
2581
2577
  function(t) {
2582
- return t.replace(tn, "");
2578
+ return t.replace(en, "");
2583
2579
  }
2584
2580
  );
2585
2581
  function Rt(e, t) {
2586
2582
  return new RegExp(e, t);
2587
2583
  }
2588
- var Ge;
2589
- if (Ue) {
2584
+ var Ue;
2585
+ if ($e) {
2590
2586
  var st = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
- Ge = function(t, r) {
2587
+ Ue = function(t, r) {
2592
2588
  var n;
2593
2589
  st.lastIndex = r;
2594
2590
  var i = st.exec(t);
2595
2591
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2596
2592
  };
2597
2593
  } else
2598
- Ge = function(t, r) {
2594
+ Ue = function(t, r) {
2599
2595
  for (var n = []; ; ) {
2600
2596
  var i = $t(t, r);
2601
- if (i === void 0 || Ut(i) || bn(i))
2597
+ if (i === void 0 || Ut(i) || dn(i))
2602
2598
  break;
2603
2599
  n.push(i), r += i >= 65536 ? 2 : 1;
2604
2600
  }
2605
- return De.apply(void 0, n);
2601
+ return Re.apply(void 0, n);
2606
2602
  };
2607
- var mn = (
2603
+ var gn = (
2608
2604
  /** @class */
2609
2605
  function() {
2610
2606
  function e(t, r) {
@@ -2628,14 +2624,14 @@ var mn = (
2628
2624
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2629
2625
  var u = this.clonePosition();
2630
2626
  this.bump(), i.push({
2631
- type: v.pound,
2627
+ type: T.pound,
2632
2628
  location: y(u, this.clonePosition())
2633
2629
  });
2634
2630
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2635
2631
  if (n)
2636
2632
  break;
2637
2633
  return this.error(_.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2638
- } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2634
+ } else if (s === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2639
2635
  var o = this.parseTag(t, r);
2640
2636
  if (o.err)
2641
2637
  return o;
@@ -2656,7 +2652,7 @@ var mn = (
2656
2652
  if (this.bumpSpace(), this.bumpIf("/>"))
2657
2653
  return {
2658
2654
  val: {
2659
- type: v.literal,
2655
+ type: T.literal,
2660
2656
  value: "<".concat(i, "/>"),
2661
2657
  location: y(n, this.clonePosition())
2662
2658
  },
@@ -2668,12 +2664,12 @@ var mn = (
2668
2664
  return s;
2669
2665
  var o = s.val, u = this.clonePosition();
2670
2666
  if (this.bumpIf("</")) {
2671
- if (this.isEOF() || !Fe(this.char()))
2667
+ if (this.isEOF() || !De(this.char()))
2672
2668
  return this.error(_.INVALID_TAG, y(u, this.clonePosition()));
2673
2669
  var l = this.clonePosition(), a = this.parseTagName();
2674
2670
  return i !== a ? this.error(_.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2675
2671
  val: {
2676
- type: v.tag,
2672
+ type: T.tag,
2677
2673
  value: i,
2678
2674
  children: o,
2679
2675
  location: y(n, this.clonePosition())
@@ -2686,7 +2682,7 @@ var mn = (
2686
2682
  return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
2687
2683
  }, e.prototype.parseTagName = function() {
2688
2684
  var t = this.offset();
2689
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2685
+ for (this.bump(); !this.isEOF() && pn(this.char()); )
2690
2686
  this.bump();
2691
2687
  return this.message.slice(t, this.offset());
2692
2688
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2710,12 +2706,12 @@ var mn = (
2710
2706
  }
2711
2707
  var l = y(n, this.clonePosition());
2712
2708
  return {
2713
- val: { type: v.literal, value: i, location: l },
2709
+ val: { type: T.literal, value: i, location: l },
2714
2710
  err: null
2715
2711
  };
2716
2712
  }, e.prototype.tryParseLeftAngleBracket = function() {
2717
2713
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2718
- !pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
+ !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2719
2715
  }, e.prototype.tryParseQuote = function(t) {
2720
2716
  if (this.isEOF() || this.char() !== 39)
2721
2717
  return null;
@@ -2749,12 +2745,12 @@ var mn = (
2749
2745
  r.push(n);
2750
2746
  this.bump();
2751
2747
  }
2752
- return De.apply(void 0, r);
2748
+ return Re.apply(void 0, r);
2753
2749
  }, e.prototype.tryParseUnquoted = function(t, r) {
2754
2750
  if (this.isEOF())
2755
2751
  return null;
2756
2752
  var n = this.char();
2757
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
2753
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2758
2754
  }, e.prototype.parseArgument = function(t, r) {
2759
2755
  var n = this.clonePosition();
2760
2756
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2770,7 +2766,7 @@ var mn = (
2770
2766
  case 125:
2771
2767
  return this.bump(), {
2772
2768
  val: {
2773
- type: v.argument,
2769
+ type: T.argument,
2774
2770
  // value does not include the opening and closing braces.
2775
2771
  value: i,
2776
2772
  location: y(n, this.clonePosition())
@@ -2783,7 +2779,7 @@ var mn = (
2783
2779
  return this.error(_.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2784
2780
  }
2785
2781
  }, e.prototype.parseIdentifierIfPossible = function() {
2786
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2782
+ var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2787
2783
  this.bumpTo(i);
2788
2784
  var s = this.clonePosition(), o = y(t, s);
2789
2785
  return { value: n, location: o };
@@ -2802,7 +2798,7 @@ var mn = (
2802
2798
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2803
2799
  if (c.err)
2804
2800
  return c;
2805
- var f = gn(c.val);
2801
+ var f = cn(c.val);
2806
2802
  if (f.length === 0)
2807
2803
  return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2808
2804
  var p = y(h, this.clonePosition());
@@ -2813,33 +2809,33 @@ var mn = (
2813
2809
  return d;
2814
2810
  var g = y(i, this.clonePosition());
2815
2811
  if (a && nt(a?.style, "::", 0)) {
2816
- var E = cn(a.style.slice(2));
2812
+ var E = fn(a.style.slice(2));
2817
2813
  if (u === "number") {
2818
2814
  var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2819
2815
  return c.err ? c : {
2820
- val: { type: v.number, value: n, location: g, style: c.val },
2816
+ val: { type: T.number, value: n, location: g, style: c.val },
2821
2817
  err: null
2822
2818
  };
2823
2819
  } else {
2824
2820
  if (E.length === 0)
2825
2821
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
2826
2822
  var m = E;
2827
- this.locale && (m = Yr(E, this.locale));
2823
+ this.locale && (m = Jr(E, this.locale));
2828
2824
  var f = {
2829
- type: q.dateTime,
2825
+ type: Q.dateTime,
2830
2826
  pattern: m,
2831
2827
  location: a.styleLocation,
2832
- parsedOptions: this.shouldParseSkeletons ? Xr(m) : {}
2833
- }, T = u === "date" ? v.date : v.time;
2828
+ parsedOptions: this.shouldParseSkeletons ? Vr(m) : {}
2829
+ }, C = u === "date" ? T.date : T.time;
2834
2830
  return {
2835
- val: { type: T, value: n, location: g, style: f },
2831
+ val: { type: C, value: n, location: g, style: f },
2836
2832
  err: null
2837
2833
  };
2838
2834
  }
2839
2835
  }
2840
2836
  return {
2841
2837
  val: {
2842
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2838
+ type: u === "number" ? T.number : u === "date" ? T.date : T.time,
2843
2839
  value: n,
2844
2840
  location: g,
2845
2841
  style: (s = a?.style) !== null && s !== void 0 ? s : null
@@ -2850,21 +2846,21 @@ var mn = (
2850
2846
  case "plural":
2851
2847
  case "selectordinal":
2852
2848
  case "select": {
2853
- var S = this.clonePosition();
2849
+ var A = this.clonePosition();
2854
2850
  if (this.bumpSpace(), !this.bumpIf(","))
2855
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _e({}, S)));
2851
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, x({}, A)));
2856
2852
  this.bumpSpace();
2857
- var w = this.parseIdentifierIfPossible(), A = 0;
2858
- if (u !== "select" && w.value === "offset") {
2853
+ var O = this.parseIdentifierIfPossible(), B = 0;
2854
+ if (u !== "select" && O.value === "offset") {
2859
2855
  if (!this.bumpIf(":"))
2860
2856
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2861
2857
  this.bumpSpace();
2862
2858
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2863
2859
  if (c.err)
2864
2860
  return c;
2865
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), A = c.val;
2861
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
2866
2862
  }
2867
- var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2863
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2868
2864
  if (H.err)
2869
2865
  return H;
2870
2866
  var d = this.tryParseArgumentClose(i);
@@ -2873,7 +2869,7 @@ var mn = (
2873
2869
  var P = y(i, this.clonePosition());
2874
2870
  return u === "select" ? {
2875
2871
  val: {
2876
- type: v.select,
2872
+ type: T.select,
2877
2873
  value: n,
2878
2874
  options: it(H.val),
2879
2875
  location: P
@@ -2881,10 +2877,10 @@ var mn = (
2881
2877
  err: null
2882
2878
  } : {
2883
2879
  val: {
2884
- type: v.plural,
2880
+ type: T.plural,
2885
2881
  value: n,
2886
2882
  options: it(H.val),
2887
- offset: A,
2883
+ offset: B,
2888
2884
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2889
2885
  location: P
2890
2886
  },
@@ -2934,16 +2930,16 @@ var mn = (
2934
2930
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2935
2931
  var n = [];
2936
2932
  try {
2937
- n = Wr(t);
2933
+ n = zr(t);
2938
2934
  } catch {
2939
2935
  return this.error(_.INVALID_NUMBER_SKELETON, r);
2940
2936
  }
2941
2937
  return {
2942
2938
  val: {
2943
- type: q.number,
2939
+ type: Q.number,
2944
2940
  tokens: n,
2945
2941
  location: r,
2946
- parsedOptions: this.shouldParseSkeletons ? Jr(n) : {}
2942
+ parsedOptions: this.shouldParseSkeletons ? qr(n) : {}
2947
2943
  },
2948
2944
  err: null
2949
2945
  };
@@ -2991,7 +2987,7 @@ var mn = (
2991
2987
  break;
2992
2988
  }
2993
2989
  var l = y(i, this.clonePosition());
2994
- return s ? (o *= n, ln(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2990
+ return s ? (o *= n, hn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2995
2991
  }, e.prototype.offset = function() {
2996
2992
  return this.position.offset;
2997
2993
  }, e.prototype.isEOF = function() {
@@ -3057,47 +3053,47 @@ var mn = (
3057
3053
  }, e;
3058
3054
  }()
3059
3055
  );
3060
- function Fe(e) {
3056
+ function De(e) {
3061
3057
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3062
3058
  }
3063
- function pn(e) {
3064
- return Fe(e) || e === 47;
3059
+ function mn(e) {
3060
+ return De(e) || e === 47;
3065
3061
  }
3066
- function dn(e) {
3062
+ function pn(e) {
3067
3063
  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;
3068
3064
  }
3069
3065
  function Ut(e) {
3070
3066
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3071
3067
  }
3072
- function bn(e) {
3068
+ function dn(e) {
3073
3069
  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;
3074
3070
  }
3075
- function je(e) {
3071
+ function Ge(e) {
3076
3072
  e.forEach(function(t) {
3077
- if (delete t.location, Bt(t) || Ot(t))
3073
+ if (delete t.location, St(t) || wt(t))
3078
3074
  for (var r in t.options)
3079
- delete t.options[r].location, je(t.options[r].value);
3075
+ delete t.options[r].location, Ge(t.options[r].value);
3080
3076
  else
3081
- Ht(t) && Pt(t.style) || (St(t) || At(t)) && Re(t.style) ? delete t.style.location : wt(t) && je(t.children);
3077
+ Ht(t) && Pt(t.style) || (At(t) || Bt(t)) && Me(t.style) ? delete t.style.location : Ot(t) && Ge(t.children);
3082
3078
  });
3083
3079
  }
3084
- function _n(e, t) {
3085
- t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3086
- var r = new mn(e, t).parse();
3080
+ function bn(e, t) {
3081
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3082
+ var r = new gn(e, t).parse();
3087
3083
  if (r.err) {
3088
3084
  var n = SyntaxError(_[r.err.kind]);
3089
3085
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3090
3086
  }
3091
- return t?.captureLocation || je(r.val), r.val;
3087
+ return t?.captureLocation || Ge(r.val), r.val;
3092
3088
  }
3093
- var J;
3089
+ var q;
3094
3090
  (function(e) {
3095
3091
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3096
- })(J || (J = {}));
3097
- var Te = (
3092
+ })(q || (q = {}));
3093
+ var Ee = (
3098
3094
  /** @class */
3099
3095
  function(e) {
3100
- ve(t, e);
3096
+ xe(t, e);
3101
3097
  function t(r, n, i) {
3102
3098
  var s = e.call(this, r) || this;
3103
3099
  return s.code = n, s.originalMessage = i, s;
@@ -3109,48 +3105,48 @@ var Te = (
3109
3105
  ), ot = (
3110
3106
  /** @class */
3111
3107
  function(e) {
3112
- ve(t, e);
3108
+ xe(t, e);
3113
3109
  function t(r, n, i, s) {
3114
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
3110
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3115
3111
  }
3116
3112
  return t;
3117
- }(Te)
3118
- ), yn = (
3113
+ }(Ee)
3114
+ ), _n = (
3119
3115
  /** @class */
3120
3116
  function(e) {
3121
- ve(t, e);
3117
+ xe(t, e);
3122
3118
  function t(r, n, i) {
3123
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3119
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3124
3120
  }
3125
3121
  return t;
3126
- }(Te)
3127
- ), En = (
3122
+ }(Ee)
3123
+ ), yn = (
3128
3124
  /** @class */
3129
3125
  function(e) {
3130
- ve(t, e);
3126
+ xe(t, e);
3131
3127
  function t(r, n) {
3132
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3128
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3133
3129
  }
3134
3130
  return t;
3135
- }(Te)
3136
- ), O;
3131
+ }(Ee)
3132
+ ), w;
3137
3133
  (function(e) {
3138
3134
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3139
- })(O || (O = {}));
3135
+ })(w || (w = {}));
3140
3136
  function xn(e) {
3141
3137
  return e.length < 2 ? e : e.reduce(function(t, r) {
3142
3138
  var n = t[t.length - 1];
3143
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3139
+ return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3144
3140
  }, []);
3145
3141
  }
3146
- function vn(e) {
3142
+ function En(e) {
3147
3143
  return typeof e == "function";
3148
3144
  }
3149
- function pe(e, t, r, n, i, s, o) {
3145
+ function me(e, t, r, n, i, s, o) {
3150
3146
  if (e.length === 1 && Ke(e[0]))
3151
3147
  return [
3152
3148
  {
3153
- type: O.literal,
3149
+ type: w.literal,
3154
3150
  value: e[0].value
3155
3151
  }
3156
3152
  ];
@@ -3158,41 +3154,41 @@ function pe(e, t, r, n, i, s, o) {
3158
3154
  var h = a[l];
3159
3155
  if (Ke(h)) {
3160
3156
  u.push({
3161
- type: O.literal,
3157
+ type: w.literal,
3162
3158
  value: h.value
3163
3159
  });
3164
3160
  continue;
3165
3161
  }
3166
- if (kr(h)) {
3162
+ if (jr(h)) {
3167
3163
  typeof s == "number" && u.push({
3168
- type: O.literal,
3164
+ type: w.literal,
3169
3165
  value: r.getNumberFormat(t).format(s)
3170
3166
  });
3171
3167
  continue;
3172
3168
  }
3173
3169
  var c = h.value;
3174
3170
  if (!(i && c in i))
3175
- throw new En(c, o);
3171
+ throw new yn(c, o);
3176
3172
  var f = i[c];
3177
- if (jr(h)) {
3173
+ if (Fr(h)) {
3178
3174
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3179
- type: typeof f == "string" ? O.literal : O.object,
3175
+ type: typeof f == "string" ? w.literal : w.object,
3180
3176
  value: f
3181
3177
  });
3182
3178
  continue;
3183
3179
  }
3184
- if (St(h)) {
3185
- var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3180
+ if (At(h)) {
3181
+ var p = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
3186
3182
  u.push({
3187
- type: O.literal,
3183
+ type: w.literal,
3188
3184
  value: r.getDateTimeFormat(t, p).format(f)
3189
3185
  });
3190
3186
  continue;
3191
3187
  }
3192
- if (At(h)) {
3193
- var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3188
+ if (Bt(h)) {
3189
+ var p = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
3194
3190
  u.push({
3195
- type: O.literal,
3191
+ type: w.literal,
3196
3192
  value: r.getDateTimeFormat(t, p).format(f)
3197
3193
  });
3198
3194
  continue;
@@ -3200,61 +3196,61 @@ function pe(e, t, r, n, i, s, o) {
3200
3196
  if (Ht(h)) {
3201
3197
  var p = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
3202
3198
  p && p.scale && (f = f * (p.scale || 1)), u.push({
3203
- type: O.literal,
3199
+ type: w.literal,
3204
3200
  value: r.getNumberFormat(t, p).format(f)
3205
3201
  });
3206
3202
  continue;
3207
3203
  }
3208
- if (wt(h)) {
3204
+ if (Ot(h)) {
3209
3205
  var d = h.children, g = h.value, E = i[g];
3210
- if (!vn(E))
3211
- throw new yn(g, "function", o);
3212
- var m = pe(d, t, r, n, i, s), T = E(m.map(function(A) {
3213
- return A.value;
3206
+ if (!En(E))
3207
+ throw new _n(g, "function", o);
3208
+ var m = me(d, t, r, n, i, s), C = E(m.map(function(B) {
3209
+ return B.value;
3214
3210
  }));
3215
- Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(A) {
3211
+ Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
3216
3212
  return {
3217
- type: typeof A == "string" ? O.literal : O.object,
3218
- value: A
3213
+ type: typeof B == "string" ? w.literal : w.object,
3214
+ value: B
3219
3215
  };
3220
3216
  }));
3221
3217
  }
3222
- if (Bt(h)) {
3223
- var S = h.options[f] || h.options.other;
3224
- if (!S)
3218
+ if (St(h)) {
3219
+ var A = h.options[f] || h.options.other;
3220
+ if (!A)
3225
3221
  throw new ot(h.value, f, Object.keys(h.options), o);
3226
- u.push.apply(u, pe(S.value, t, r, n, i));
3222
+ u.push.apply(u, me(A.value, t, r, n, i));
3227
3223
  continue;
3228
3224
  }
3229
- if (Ot(h)) {
3230
- var S = h.options["=".concat(f)];
3231
- if (!S) {
3225
+ if (wt(h)) {
3226
+ var A = h.options["=".concat(f)];
3227
+ if (!A) {
3232
3228
  if (!Intl.PluralRules)
3233
- throw new Te(`Intl.PluralRules is not available in this environment.
3229
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3234
3230
  Try polyfilling it using "@formatjs/intl-pluralrules"
3235
- `, J.MISSING_INTL_API, o);
3236
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3237
- S = h.options[w] || h.options.other;
3231
+ `, q.MISSING_INTL_API, o);
3232
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3233
+ A = h.options[O] || h.options.other;
3238
3234
  }
3239
- if (!S)
3235
+ if (!A)
3240
3236
  throw new ot(h.value, f, Object.keys(h.options), o);
3241
- u.push.apply(u, pe(S.value, t, r, n, i, f - (h.offset || 0)));
3237
+ u.push.apply(u, me(A.value, t, r, n, i, f - (h.offset || 0)));
3242
3238
  continue;
3243
3239
  }
3244
3240
  }
3245
3241
  return xn(u);
3246
3242
  }
3247
- function Tn(e, t) {
3248
- return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3249
- return r[n] = R(R({}, e[n]), t[n] || {}), r;
3243
+ function vn(e, t) {
3244
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3245
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3250
3246
  }, {})) : e;
3251
3247
  }
3252
- function Cn(e, t) {
3248
+ function Tn(e, t) {
3253
3249
  return t ? Object.keys(e).reduce(function(r, n) {
3254
- return r[n] = Tn(e[n], t[n]), r;
3255
- }, R({}, e)) : e;
3250
+ return r[n] = vn(e[n], t[n]), r;
3251
+ }, x({}, e)) : e;
3256
3252
  }
3257
- function Pe(e) {
3253
+ function we(e) {
3258
3254
  return {
3259
3255
  create: function() {
3260
3256
  return {
@@ -3268,39 +3264,39 @@ function Pe(e) {
3268
3264
  }
3269
3265
  };
3270
3266
  }
3271
- function Hn(e) {
3267
+ function Cn(e) {
3272
3268
  return e === void 0 && (e = {
3273
3269
  number: {},
3274
3270
  dateTime: {},
3275
3271
  pluralRules: {}
3276
3272
  }), {
3277
- getNumberFormat: Be(function() {
3273
+ getNumberFormat: Ae(function() {
3278
3274
  for (var t, r = [], n = 0; n < arguments.length; n++)
3279
3275
  r[n] = arguments[n];
3280
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3276
+ return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3281
3277
  }, {
3282
- cache: Pe(e.number),
3283
- strategy: Oe.variadic
3278
+ cache: we(e.number),
3279
+ strategy: Be.variadic
3284
3280
  }),
3285
- getDateTimeFormat: Be(function() {
3281
+ getDateTimeFormat: Ae(function() {
3286
3282
  for (var t, r = [], n = 0; n < arguments.length; n++)
3287
3283
  r[n] = arguments[n];
3288
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3284
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3289
3285
  }, {
3290
- cache: Pe(e.dateTime),
3291
- strategy: Oe.variadic
3286
+ cache: we(e.dateTime),
3287
+ strategy: Be.variadic
3292
3288
  }),
3293
- getPluralRules: Be(function() {
3289
+ getPluralRules: Ae(function() {
3294
3290
  for (var t, r = [], n = 0; n < arguments.length; n++)
3295
3291
  r[n] = arguments[n];
3296
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3292
+ return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3297
3293
  }, {
3298
- cache: Pe(e.pluralRules),
3299
- strategy: Oe.variadic
3294
+ cache: we(e.pluralRules),
3295
+ strategy: Be.variadic
3300
3296
  })
3301
3297
  };
3302
3298
  }
3303
- var Sn = (
3299
+ var Hn = (
3304
3300
  /** @class */
3305
3301
  function() {
3306
3302
  function e(t, r, n, i) {
@@ -3315,11 +3311,11 @@ var Sn = (
3315
3311
  if (a.length === 1)
3316
3312
  return a[0].value;
3317
3313
  var h = a.reduce(function(c, f) {
3318
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3314
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3319
3315
  }, []);
3320
3316
  return h.length <= 1 ? h[0] || "" : h;
3321
3317
  }, this.formatToParts = function(l) {
3322
- return pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3318
+ return me(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3323
3319
  }, this.resolvedOptions = function() {
3324
3320
  var l;
3325
3321
  return {
@@ -3333,12 +3329,12 @@ var Sn = (
3333
3329
  var o = i || {};
3334
3330
  o.formatters;
3335
3331
  var u = Ir(o, ["formatters"]);
3336
- this.ast = e.__parse(t, R(R({}, u), { locale: this.resolvedLocale }));
3332
+ this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3337
3333
  } else
3338
3334
  this.ast = t;
3339
3335
  if (!Array.isArray(this.ast))
3340
3336
  throw new TypeError("A message must be provided as a String or AST.");
3341
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Hn(this.formatterCache);
3337
+ this.formats = Tn(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3342
3338
  }
3343
3339
  return Object.defineProperty(e, "defaultLocale", {
3344
3340
  get: function() {
@@ -3351,7 +3347,7 @@ var Sn = (
3351
3347
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3352
3348
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3353
3349
  }
3354
- }, e.__parse = _n, e.formats = {
3350
+ }, e.__parse = bn, e.formats = {
3355
3351
  number: {
3356
3352
  integer: {
3357
3353
  maximumFractionDigits: 0
@@ -3433,12 +3429,12 @@ function An(e, t) {
3433
3429
  n = void 0;
3434
3430
  return n;
3435
3431
  }
3436
- const G = {}, Bn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Dt = (e, t) => {
3432
+ const D = {}, Bn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Dt = (e, t) => {
3437
3433
  if (t == null)
3438
3434
  return;
3439
- if (t in G && e in G[t])
3440
- return G[t][e];
3441
- const r = Ce(t);
3435
+ if (t in D && e in D[t])
3436
+ return D[t][e];
3437
+ const r = ve(t);
3442
3438
  for (let n = 0; n < r.length; n++) {
3443
3439
  const i = r[n], s = wn(i, e);
3444
3440
  if (s)
@@ -3446,8 +3442,8 @@ const G = {}, Bn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][
3446
3442
  }
3447
3443
  };
3448
3444
  let ze;
3449
- const he = xe({});
3450
- function On(e) {
3445
+ const ue = ye({});
3446
+ function Sn(e) {
3451
3447
  return ze[e] || null;
3452
3448
  }
3453
3449
  function Gt(e) {
@@ -3456,13 +3452,13 @@ function Gt(e) {
3456
3452
  function wn(e, t) {
3457
3453
  if (!Gt(e))
3458
3454
  return null;
3459
- const r = On(e);
3455
+ const r = Sn(e);
3460
3456
  return An(r, t);
3461
3457
  }
3462
- function Pn(e) {
3458
+ function On(e) {
3463
3459
  if (e == null)
3464
3460
  return;
3465
- const t = Ce(e);
3461
+ const t = ve(e);
3466
3462
  for (let r = 0; r < t.length; r++) {
3467
3463
  const n = t[r];
3468
3464
  if (Gt(n))
@@ -3470,55 +3466,55 @@ function Pn(e) {
3470
3466
  }
3471
3467
  }
3472
3468
  function Ft(e, ...t) {
3473
- delete G[e], he.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
3469
+ delete D[e], ue.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
3474
3470
  }
3475
- ee(
3476
- [he],
3471
+ K(
3472
+ [ue],
3477
3473
  ([e]) => Object.keys(e)
3478
3474
  );
3479
- he.subscribe((e) => ze = e);
3480
- const de = {};
3481
- function Nn(e, t) {
3482
- de[e].delete(t), de[e].size === 0 && delete de[e];
3475
+ ue.subscribe((e) => ze = e);
3476
+ const pe = {};
3477
+ function Pn(e, t) {
3478
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3483
3479
  }
3484
3480
  function jt(e) {
3485
- return de[e];
3481
+ return pe[e];
3486
3482
  }
3487
- function Ln(e) {
3488
- return Ce(e).map((t) => {
3483
+ function Nn(e) {
3484
+ return ve(e).map((t) => {
3489
3485
  const r = jt(t);
3490
3486
  return [t, r ? [...r] : []];
3491
3487
  }).filter(([, t]) => t.length > 0);
3492
3488
  }
3493
- function ke(e) {
3494
- return e == null ? !1 : Ce(e).some(
3489
+ function Fe(e) {
3490
+ return e == null ? !1 : ve(e).some(
3495
3491
  (t) => {
3496
3492
  var r;
3497
3493
  return (r = jt(t)) == null ? void 0 : r.size;
3498
3494
  }
3499
3495
  );
3500
3496
  }
3501
- function In(e, t) {
3497
+ function Ln(e, t) {
3502
3498
  return Promise.all(
3503
- t.map((n) => (Nn(e, n), n().then((i) => i.default || i)))
3499
+ t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3504
3500
  ).then((n) => Ft(e, ...n));
3505
3501
  }
3506
- const ne = {};
3502
+ const re = {};
3507
3503
  function kt(e) {
3508
- if (!ke(e))
3509
- return e in ne ? ne[e] : Promise.resolve();
3510
- const t = Ln(e);
3511
- return ne[e] = Promise.all(
3504
+ if (!Fe(e))
3505
+ return e in re ? re[e] : Promise.resolve();
3506
+ const t = Nn(e);
3507
+ return re[e] = Promise.all(
3512
3508
  t.map(
3513
- ([r, n]) => In(r, n)
3509
+ ([r, n]) => Ln(r, n)
3514
3510
  )
3515
3511
  ).then(() => {
3516
- if (ke(e))
3512
+ if (Fe(e))
3517
3513
  return kt(e);
3518
- delete ne[e];
3519
- }), ne[e];
3514
+ delete re[e];
3515
+ }), re[e];
3520
3516
  }
3521
- const Mn = {
3517
+ const In = {
3522
3518
  number: {
3523
3519
  scientific: { notation: "scientific" },
3524
3520
  engineering: { notation: "engineering" },
@@ -3547,141 +3543,141 @@ const Mn = {
3547
3543
  timeZoneName: "short"
3548
3544
  }
3549
3545
  }
3550
- }, $n = {
3546
+ }, Mn = {
3551
3547
  fallbackLocale: null,
3552
3548
  loadingDelay: 200,
3553
- formats: Mn,
3549
+ formats: In,
3554
3550
  warnOnMissingMessages: !0,
3555
3551
  handleMissingMessage: void 0,
3556
3552
  ignoreTag: !0
3557
- }, Rn = $n;
3558
- function Y() {
3559
- return Rn;
3553
+ }, $n = Mn;
3554
+ function J() {
3555
+ return $n;
3560
3556
  }
3561
- const Ne = xe(!1);
3562
- var Un = Object.defineProperty, Dn = Object.defineProperties, Gn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kn = (e, t) => {
3557
+ const Oe = ye(!1);
3558
+ var Rn = Object.defineProperty, Un = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3563
3559
  for (var r in t || (t = {}))
3564
- Fn.call(t, r) && ut(e, r, t[r]);
3560
+ Gn.call(t, r) && ut(e, r, t[r]);
3565
3561
  if (at)
3566
3562
  for (var r of at(t))
3567
- jn.call(t, r) && ut(e, r, t[r]);
3563
+ Fn.call(t, r) && ut(e, r, t[r]);
3568
3564
  return e;
3569
- }, Vn = (e, t) => Dn(e, Gn(t));
3570
- let Ve;
3571
- const ye = xe(null);
3565
+ }, kn = (e, t) => Un(e, Dn(t));
3566
+ let je;
3567
+ const be = ye(null);
3572
3568
  function ht(e) {
3573
3569
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3574
3570
  }
3575
- function Ce(e, t = Y().fallbackLocale) {
3571
+ function ve(e, t = J().fallbackLocale) {
3576
3572
  const r = ht(e);
3577
3573
  return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3578
3574
  }
3579
- function V() {
3580
- return Ve ?? void 0;
3575
+ function k() {
3576
+ return je ?? void 0;
3581
3577
  }
3582
- ye.subscribe((e) => {
3583
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
+ be.subscribe((e) => {
3579
+ je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3584
3580
  });
3585
- const Xn = (e) => {
3586
- if (e && Pn(e) && ke(e)) {
3587
- const { loadingDelay: t } = Y();
3581
+ const Vn = (e) => {
3582
+ if (e && On(e) && Fe(e)) {
3583
+ const { loadingDelay: t } = J();
3588
3584
  let r;
3589
- return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3590
- () => Ne.set(!0),
3585
+ return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3586
+ () => Oe.set(!0),
3591
3587
  t
3592
- ) : Ne.set(!0), kt(e).then(() => {
3593
- ye.set(e);
3588
+ ) : Oe.set(!0), kt(e).then(() => {
3589
+ be.set(e);
3594
3590
  }).finally(() => {
3595
- clearTimeout(r), Ne.set(!1);
3591
+ clearTimeout(r), Oe.set(!1);
3596
3592
  });
3597
3593
  }
3598
- return ye.set(e);
3599
- }, te = Vn(kn({}, ye), {
3600
- set: Xn
3601
- }), He = (e) => {
3594
+ return be.set(e);
3595
+ }, ee = kn(jn({}, be), {
3596
+ set: Vn
3597
+ }), Te = (e) => {
3602
3598
  const t = /* @__PURE__ */ Object.create(null);
3603
3599
  return (n) => {
3604
3600
  const i = JSON.stringify(n);
3605
3601
  return i in t ? t[i] : t[i] = e(n);
3606
3602
  };
3607
3603
  };
3608
- var zn = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3604
+ var Xn = Object.defineProperty, _e = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3609
3605
  for (var r in t || (t = {}))
3610
3606
  Vt.call(t, r) && lt(e, r, t[r]);
3611
- if (Ee)
3612
- for (var r of Ee(t))
3607
+ if (_e)
3608
+ for (var r of _e(t))
3613
3609
  Xt.call(t, r) && lt(e, r, t[r]);
3614
3610
  return e;
3615
- }, re = (e, t) => {
3611
+ }, te = (e, t) => {
3616
3612
  var r = {};
3617
3613
  for (var n in e)
3618
3614
  Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3619
- if (e != null && Ee)
3620
- for (var n of Ee(e))
3615
+ if (e != null && _e)
3616
+ for (var n of _e(e))
3621
3617
  t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3622
3618
  return r;
3623
3619
  };
3624
- const ae = (e, t) => {
3625
- const { formats: r } = Y();
3620
+ const oe = (e, t) => {
3621
+ const { formats: r } = J();
3626
3622
  if (e in r && t in r[e])
3627
3623
  return r[e][t];
3628
3624
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3629
- }, Wn = He(
3625
+ }, zn = Te(
3630
3626
  (e) => {
3631
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3627
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3632
3628
  if (r == null)
3633
3629
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3634
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3630
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3635
3631
  }
3636
- ), Zn = He(
3632
+ ), Wn = Te(
3637
3633
  (e) => {
3638
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3634
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3639
3635
  if (r == null)
3640
3636
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3641
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3637
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3642
3638
  }
3643
- ), Qn = He(
3639
+ ), Zn = Te(
3644
3640
  (e) => {
3645
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
3641
+ var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3646
3642
  if (r == null)
3647
3643
  throw new Error(
3648
3644
  '[svelte-i18n] A "locale" must be set to format time values'
3649
3645
  );
3650
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3646
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3651
3647
  }
3652
- ), qn = (e = {}) => {
3648
+ ), Qn = (e = {}) => {
3653
3649
  var t = e, {
3654
- locale: r = V()
3655
- } = t, n = re(t, [
3650
+ locale: r = k()
3651
+ } = t, n = te(t, [
3656
3652
  "locale"
3657
3653
  ]);
3658
- return Wn(We({ locale: r }, n));
3659
- }, Jn = (e = {}) => {
3654
+ return zn(We({ locale: r }, n));
3655
+ }, qn = (e = {}) => {
3660
3656
  var t = e, {
3661
- locale: r = V()
3662
- } = t, n = re(t, [
3657
+ locale: r = k()
3658
+ } = t, n = te(t, [
3663
3659
  "locale"
3664
3660
  ]);
3665
- return Zn(We({ locale: r }, n));
3666
- }, Yn = (e = {}) => {
3661
+ return Wn(We({ locale: r }, n));
3662
+ }, Jn = (e = {}) => {
3667
3663
  var t = e, {
3668
- locale: r = V()
3669
- } = t, n = re(t, [
3664
+ locale: r = k()
3665
+ } = t, n = te(t, [
3670
3666
  "locale"
3671
3667
  ]);
3672
- return Qn(We({ locale: r }, n));
3673
- }, Kn = He(
3668
+ return Zn(We({ locale: r }, n));
3669
+ }, Yn = Te(
3674
3670
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3675
- (e, t = V()) => new Sn(e, t, Y().formats, {
3676
- ignoreTag: Y().ignoreTag
3671
+ (e, t = k()) => new Hn(e, t, J().formats, {
3672
+ ignoreTag: J().ignoreTag
3677
3673
  })
3678
- ), ei = (e, t = {}) => {
3674
+ ), Kn = (e, t = {}) => {
3679
3675
  var r, n, i, s;
3680
3676
  let o = t;
3681
3677
  typeof e == "object" && (o = e, e = o.id);
3682
3678
  const {
3683
3679
  values: u,
3684
- locale: l = V(),
3680
+ locale: l = k(),
3685
3681
  default: a
3686
3682
  } = o;
3687
3683
  if (l == null)
@@ -3690,7 +3686,7 @@ const ae = (e, t) => {
3690
3686
  );
3691
3687
  let h = Dt(e, l);
3692
3688
  if (!h)
3693
- h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3689
+ h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3694
3690
  else if (typeof h != "string")
3695
3691
  return console.warn(
3696
3692
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3699,7 +3695,7 @@ const ae = (e, t) => {
3699
3695
  return h;
3700
3696
  let c = h;
3701
3697
  try {
3702
- c = Kn(h, l).format(u);
3698
+ c = Yn(h, l).format(u);
3703
3699
  } catch (f) {
3704
3700
  f instanceof Error && console.warn(
3705
3701
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3707,18 +3703,18 @@ const ae = (e, t) => {
3707
3703
  );
3708
3704
  }
3709
3705
  return c;
3710
- }, ti = (e, t) => Yn(t).format(e), ri = (e, t) => Jn(t).format(e), ni = (e, t) => qn(t).format(e), ii = (e, t = V()) => Dt(e, t), si = ee([te, he], () => ei);
3711
- ee([te], () => ti);
3712
- ee([te], () => ri);
3713
- ee([te], () => ni);
3714
- ee([te, he], () => ii);
3715
- function oi(e, t) {
3706
+ }, ei = (e, t) => Jn(t).format(e), ti = (e, t) => qn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = k()) => Dt(e, t), ii = K([ee, ue], () => Kn);
3707
+ K([ee], () => ei);
3708
+ K([ee], () => ti);
3709
+ K([ee], () => ri);
3710
+ K([ee, ue], () => ni);
3711
+ function si(e, t) {
3716
3712
  if (e) {
3717
3713
  const r = document.createElement("style");
3718
3714
  r.innerHTML = t, e.appendChild(r);
3719
3715
  }
3720
3716
  }
3721
- function ai(e, t) {
3717
+ function oi(e, t) {
3722
3718
  if (!e || !t)
3723
3719
  return;
3724
3720
  const r = new URL(t);
@@ -3729,7 +3725,7 @@ function ai(e, t) {
3729
3725
  console.error("There was an error while trying to load client styling from URL", n);
3730
3726
  });
3731
3727
  }
3732
- function ui(e, t, r) {
3728
+ function ai(e, t, r) {
3733
3729
  if (window.emMessageBus) {
3734
3730
  const n = document.createElement("style");
3735
3731
  window.emMessageBus.subscribe(t, (i) => {
@@ -3740,8 +3736,8 @@ function ui(e, t, r) {
3740
3736
  function ft(e, t) {
3741
3737
  Ft(e, t);
3742
3738
  }
3743
- function hi(e) {
3744
- te.set(e);
3739
+ function ui(e) {
3740
+ ee.set(e);
3745
3741
  }
3746
3742
  const ct = {
3747
3743
  en: {
@@ -3853,7 +3849,7 @@ const ct = {
3853
3849
  games: "games"
3854
3850
  }
3855
3851
  };
3856
- function li(e) {
3852
+ function hi(e) {
3857
3853
  Jt(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}");
3858
3854
  }
3859
3855
  function gt(e, t, r) {
@@ -3864,20 +3860,20 @@ function mt(e, t, r) {
3864
3860
  const n = e.slice();
3865
3861
  return n[23] = t[r], n;
3866
3862
  }
3867
- function fi(e) {
3863
+ function li(e) {
3868
3864
  let t, r, n = (
3869
3865
  /*$_*/
3870
3866
  e[5]("topCategories") + ""
3871
3867
  ), i, s, o, u, l = (
3872
3868
  /*$_*/
3873
3869
  e[5]("otherCategories") + ""
3874
- ), a, h, c = ce(
3870
+ ), a, h, c = fe(
3875
3871
  /*topCategories*/
3876
3872
  e[3]
3877
3873
  ), f = [];
3878
3874
  for (let g = 0; g < c.length; g += 1)
3879
3875
  f[g] = pt(mt(e, c, g));
3880
- let p = ce(
3876
+ let p = fe(
3881
3877
  /*otherCategories*/
3882
3878
  e[4]
3883
3879
  ), d = [];
@@ -3885,35 +3881,35 @@ function fi(e) {
3885
3881
  d[g] = dt(gt(e, p, g));
3886
3882
  return {
3887
3883
  c() {
3888
- t = B("div"), r = B("h4"), i = D(n), s = U();
3884
+ t = S("div"), r = S("h4"), i = U(n), s = R();
3889
3885
  for (let g = 0; g < f.length; g += 1)
3890
3886
  f[g].c();
3891
- o = U(), u = B("h4"), a = D(l), h = U();
3887
+ o = R(), u = S("h4"), a = U(l), h = R();
3892
3888
  for (let g = 0; g < d.length; g += 1)
3893
3889
  d[g].c();
3894
3890
  L(r, "class", "CategoryTitle"), L(u, "class", "CategoryTitle"), L(t, "class", "CasinoCategories");
3895
3891
  },
3896
3892
  m(g, E) {
3897
- K(g, t, E), x(t, r), x(r, i), x(t, s);
3893
+ Y(g, t, E), v(t, r), v(r, i), v(t, s);
3898
3894
  for (let m = 0; m < f.length; m += 1)
3899
3895
  f[m] && f[m].m(t, null);
3900
- x(t, o), x(t, u), x(u, a), x(t, h);
3896
+ v(t, o), v(t, u), v(u, a), v(t, h);
3901
3897
  for (let m = 0; m < d.length; m += 1)
3902
3898
  d[m] && d[m].m(t, null);
3903
3899
  },
3904
3900
  p(g, E) {
3905
3901
  if (E & /*$_*/
3906
3902
  32 && n !== (n = /*$_*/
3907
- g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3903
+ g[5]("topCategories") + "") && G(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
3908
3904
  105) {
3909
- c = ce(
3905
+ c = fe(
3910
3906
  /*topCategories*/
3911
3907
  g[3]
3912
3908
  );
3913
3909
  let m;
3914
3910
  for (m = 0; m < c.length; m += 1) {
3915
- const T = mt(g, c, m);
3916
- f[m] ? f[m].p(T, E) : (f[m] = pt(T), f[m].c(), f[m].m(t, o));
3911
+ const C = mt(g, c, m);
3912
+ f[m] ? f[m].p(C, E) : (f[m] = pt(C), f[m].c(), f[m].m(t, o));
3917
3913
  }
3918
3914
  for (; m < f.length; m += 1)
3919
3915
  f[m].d(1);
@@ -3921,16 +3917,16 @@ function fi(e) {
3921
3917
  }
3922
3918
  if (E & /*$_*/
3923
3919
  32 && l !== (l = /*$_*/
3924
- g[5]("otherCategories") + "") && F(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3920
+ g[5]("otherCategories") + "") && G(a, l), E & /*activecategory, otherCategories, openGameCategory, $_*/
3925
3921
  113) {
3926
- p = ce(
3922
+ p = fe(
3927
3923
  /*otherCategories*/
3928
3924
  g[4]
3929
3925
  );
3930
3926
  let m;
3931
3927
  for (m = 0; m < p.length; m += 1) {
3932
- const T = gt(g, p, m);
3933
- d[m] ? d[m].p(T, E) : (d[m] = dt(T), d[m].c(), d[m].m(t, null));
3928
+ const C = gt(g, p, m);
3929
+ d[m] ? d[m].p(C, E) : (d[m] = dt(C), d[m].c(), d[m].m(t, null));
3934
3930
  }
3935
3931
  for (; m < d.length; m += 1)
3936
3932
  d[m].d(1);
@@ -3938,22 +3934,22 @@ function fi(e) {
3938
3934
  }
3939
3935
  },
3940
3936
  d(g) {
3941
- g && k(t), qe(f, g), qe(d, g);
3937
+ g && j(t), qe(f, g), qe(d, g);
3942
3938
  }
3943
3939
  };
3944
3940
  }
3945
- function ci(e) {
3941
+ function fi(e) {
3946
3942
  let t;
3947
3943
  return {
3948
3944
  c() {
3949
- t = B("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3945
+ t = S("p"), t.textContent = "Loading, please wait...", L(t, "class", "Message");
3950
3946
  },
3951
3947
  m(r, n) {
3952
- K(r, t, n);
3948
+ Y(r, t, n);
3953
3949
  },
3954
3950
  p: N,
3955
3951
  d(r) {
3956
- r && k(t);
3952
+ r && j(t);
3957
3953
  }
3958
3954
  };
3959
3955
  }
@@ -3967,8 +3963,8 @@ function pt(e) {
3967
3963
  ), p, d, g = (
3968
3964
  /*$_*/
3969
3965
  e[5]("games") + ""
3970
- ), E, m, T, S;
3971
- function w() {
3966
+ ), E, m, C, A;
3967
+ function O() {
3972
3968
  return (
3973
3969
  /*click_handler*/
3974
3970
  e[15](
@@ -3979,33 +3975,33 @@ function pt(e) {
3979
3975
  }
3980
3976
  return {
3981
3977
  c() {
3982
- t = B("div"), r = B("ui-image"), s = U(), o = B("div"), u = B("p"), a = D(l), h = U(), c = B("p"), p = D(f), d = U(), E = D(g), be(r.src, n = /*category*/
3978
+ t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), p = U(f), d = R(), E = U(g), de(r.src, n = /*category*/
3983
3979
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
3984
3980
  e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", m = "Category " + /*activecategory*/
3985
3981
  (e[0] === /*category*/
3986
3982
  e[23].id ? "Active" : ""));
3987
3983
  },
3988
- m(A, H) {
3989
- K(A, t, H), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, h), x(o, c), x(c, p), x(c, d), x(c, E), T || (S = Et(t, "click", w), T = !0);
3984
+ m(B, H) {
3985
+ Y(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), C || (A = xt(t, "click", O), C = !0);
3990
3986
  },
3991
- p(A, H) {
3992
- e = A, H & /*topCategories*/
3993
- 8 && !be(r.src, n = /*category*/
3987
+ p(B, H) {
3988
+ e = B, H & /*topCategories*/
3989
+ 8 && !de(r.src, n = /*category*/
3994
3990
  e[23].icon) && $(r, "src", n), H & /*topCategories*/
3995
3991
  8 && i !== (i = /*category*/
3996
3992
  e[23].name) && $(r, "alt", i), H & /*topCategories*/
3997
3993
  8 && l !== (l = /*category*/
3998
- e[23].name + "") && F(a, l), H & /*topCategories*/
3994
+ e[23].name + "") && G(a, l), H & /*topCategories*/
3999
3995
  8 && f !== (f = /*category*/
4000
- e[23].games.count + "") && F(p, f), H & /*$_*/
3996
+ e[23].games.count + "") && G(p, f), H & /*$_*/
4001
3997
  32 && g !== (g = /*$_*/
4002
- e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
3998
+ e[5]("games") + "") && G(E, g), H & /*activecategory, topCategories*/
4003
3999
  9 && m !== (m = "Category " + /*activecategory*/
4004
4000
  (e[0] === /*category*/
4005
4001
  e[23].id ? "Active" : "")) && L(t, "class", m);
4006
4002
  },
4007
- d(A) {
4008
- A && k(t), T = !1, S();
4003
+ d(B) {
4004
+ B && j(t), C = !1, A();
4009
4005
  }
4010
4006
  };
4011
4007
  }
@@ -4019,8 +4015,8 @@ function dt(e) {
4019
4015
  ), p, d, g = (
4020
4016
  /*$_*/
4021
4017
  e[5]("games") + ""
4022
- ), E, m, T, S, w;
4023
- function A() {
4018
+ ), E, m, C, A, O;
4019
+ function B() {
4024
4020
  return (
4025
4021
  /*click_handler_1*/
4026
4022
  e[16](
@@ -4031,51 +4027,51 @@ function dt(e) {
4031
4027
  }
4032
4028
  return {
4033
4029
  c() {
4034
- t = B("div"), r = B("ui-image"), s = U(), o = B("div"), u = B("p"), a = D(l), h = U(), c = B("p"), p = D(f), d = U(), E = D(g), m = U(), be(r.src, n = /*category*/
4030
+ t = S("div"), r = S("ui-image"), s = R(), o = S("div"), u = S("p"), a = U(l), h = R(), c = S("p"), p = U(f), d = R(), E = U(g), m = R(), de(r.src, n = /*category*/
4035
4031
  e[23].icon) || $(r, "src", n), $(r, "alt", i = /*category*/
4036
- e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", T = "Category " + /*activecategory*/
4032
+ e[23].name), $(r, "class", "CategoryImage"), L(o, "class", "CategoryTextContainer"), L(t, "class", C = "Category " + /*activecategory*/
4037
4033
  (e[0] === /*category*/
4038
4034
  e[23].id ? "Active" : ""));
4039
4035
  },
4040
4036
  m(H, P) {
4041
- K(H, t, P), x(t, r), x(t, s), x(t, o), x(o, u), x(u, a), x(o, h), x(o, c), x(c, p), x(c, d), x(c, E), x(t, m), S || (w = Et(t, "click", A), S = !0);
4037
+ Y(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = xt(t, "click", B), A = !0);
4042
4038
  },
4043
4039
  p(H, P) {
4044
4040
  e = H, P & /*otherCategories*/
4045
- 16 && !be(r.src, n = /*category*/
4041
+ 16 && !de(r.src, n = /*category*/
4046
4042
  e[23].icon) && $(r, "src", n), P & /*otherCategories*/
4047
4043
  16 && i !== (i = /*category*/
4048
4044
  e[23].name) && $(r, "alt", i), P & /*otherCategories*/
4049
4045
  16 && l !== (l = /*category*/
4050
- e[23].name + "") && F(a, l), P & /*otherCategories*/
4046
+ e[23].name + "") && G(a, l), P & /*otherCategories*/
4051
4047
  16 && f !== (f = /*category*/
4052
- e[23].games.count + "") && F(p, f), P & /*$_*/
4048
+ e[23].games.count + "") && G(p, f), P & /*$_*/
4053
4049
  32 && g !== (g = /*$_*/
4054
- e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4055
- 17 && T !== (T = "Category " + /*activecategory*/
4050
+ e[5]("games") + "") && G(E, g), P & /*activecategory, otherCategories*/
4051
+ 17 && C !== (C = "Category " + /*activecategory*/
4056
4052
  (e[0] === /*category*/
4057
- e[23].id ? "Active" : "")) && L(t, "class", T);
4053
+ e[23].id ? "Active" : "")) && L(t, "class", C);
4058
4054
  },
4059
4055
  d(H) {
4060
- H && k(t), S = !1, w();
4056
+ H && j(t), A = !1, O();
4061
4057
  }
4062
4058
  };
4063
4059
  }
4064
- function gi(e) {
4060
+ function ci(e) {
4065
4061
  let t;
4066
4062
  function r(s, o) {
4067
4063
  return (
4068
4064
  /*isLoading*/
4069
- s[2] ? ci : fi
4065
+ s[2] ? fi : li
4070
4066
  );
4071
4067
  }
4072
4068
  let n = r(e), i = n(e);
4073
4069
  return {
4074
4070
  c() {
4075
- t = B("div"), i.c();
4071
+ t = S("div"), i.c();
4076
4072
  },
4077
4073
  m(s, o) {
4078
- K(s, t, o), i.m(t, null), e[17](t);
4074
+ Y(s, t, o), i.m(t, null), e[17](t);
4079
4075
  },
4080
4076
  p(s, [o]) {
4081
4077
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
@@ -4083,47 +4079,47 @@ function gi(e) {
4083
4079
  i: N,
4084
4080
  o: N,
4085
4081
  d(s) {
4086
- s && k(t), i.d(), e[17](null);
4082
+ s && j(t), i.d(), e[17](null);
4087
4083
  }
4088
4084
  };
4089
4085
  }
4090
- function mi(e, t, r) {
4086
+ function gi(e, t, r) {
4091
4087
  let n;
4092
- qt(e, si, (b) => r(5, n = b));
4088
+ qt(e, ii, (b) => r(5, n = b));
4093
4089
  let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4094
4090
  const g = [];
4095
4091
  let E = [], m = [];
4096
4092
  Object.keys(ct).forEach((b) => {
4097
4093
  ft(b, ct[b]);
4098
4094
  });
4099
- const T = () => {
4095
+ const C = () => {
4100
4096
  fetch(c).then((M) => M.json()).then((M) => {
4101
- Object.keys(M).forEach((le) => {
4102
- ft(le, M[le]);
4097
+ Object.keys(M).forEach((he) => {
4098
+ ft(he, M[he]);
4103
4099
  });
4104
4100
  }).catch((M) => {
4105
4101
  console.log(M);
4106
4102
  });
4107
- }, S = () => {
4103
+ }, A = () => {
4108
4104
  r(2, d = !0);
4109
4105
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4110
4106
  b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
4111
4107
  r(2, d = !1);
4112
- const le = l.split(",").map((j) => j.trim());
4108
+ const he = l.split(",").map((F) => F.trim());
4113
4109
  g.push(...M.items);
4114
- const Ze = g.filter((j) => !le.some((Zt) => j.flags?.indexOf(Zt) >= 0));
4115
- r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
4110
+ const Ze = g.filter((F) => !he.some((Zt) => F.flags?.indexOf(Zt) >= 0));
4111
+ r(3, E = Ze.filter((F) => F.isTopCategory === !0)), r(4, m = Ze.filter((F) => F.isTopCategory === !1));
4116
4112
  });
4117
- }, w = (b) => {
4113
+ }, O = (b) => {
4118
4114
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4119
- }, A = () => {
4120
- hi(o);
4115
+ }, B = () => {
4116
+ ui(o);
4121
4117
  };
4122
4118
  nr(() => () => {
4123
4119
  });
4124
- const H = (b) => w(b.id), P = (b) => w(b.id);
4120
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4125
4121
  function Wt(b) {
4126
- Le[b ? "unshift" : "push"](() => {
4122
+ Pe[b ? "unshift" : "push"](() => {
4127
4123
  p = b, r(1, p);
4128
4124
  });
4129
4125
  }
@@ -4131,12 +4127,12 @@ function mi(e, t, r) {
4131
4127
  "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, l = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
4132
4128
  }, e.$$.update = () => {
4133
4129
  e.$$.dirty & /*endpoint, datasource*/
4134
- 384 && i && s && S(), e.$$.dirty & /*translationurl*/
4135
- 8192 && c && T(), e.$$.dirty & /*lang*/
4136
- 512 && o && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4137
- 2050 && a && p && oi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4138
- 4098 && h && p && ai(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4139
- 16386 && f && p && ui(p, `${f}.Style`);
4130
+ 384 && i && s && A(), e.$$.dirty & /*translationurl*/
4131
+ 8192 && c && C(), e.$$.dirty & /*lang*/
4132
+ 512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4133
+ 2050 && a && p && si(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4134
+ 4098 && h && p && oi(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4135
+ 16386 && f && p && ai(p, `${f}.Style`);
4140
4136
  }, [
4141
4137
  u,
4142
4138
  p,
@@ -4144,7 +4140,7 @@ function mi(e, t, r) {
4144
4140
  E,
4145
4141
  m,
4146
4142
  n,
4147
- w,
4143
+ O,
4148
4144
  i,
4149
4145
  s,
4150
4146
  o,
@@ -4163,8 +4159,8 @@ class zt extends pr {
4163
4159
  super(), gr(
4164
4160
  this,
4165
4161
  t,
4166
- mi,
4167
4162
  gi,
4163
+ ci,
4168
4164
  _t,
4169
4165
  {
4170
4166
  endpoint: 7,
@@ -4177,7 +4173,7 @@ class zt extends pr {
4177
4173
  translationurl: 13,
4178
4174
  mbsource: 14
4179
4175
  },
4180
- li
4176
+ hi
4181
4177
  );
4182
4178
  }
4183
4179
  get endpoint() {
@@ -4236,41 +4232,41 @@ class zt extends pr {
4236
4232
  }
4237
4233
  }
4238
4234
  mr(zt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4239
- const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4235
+ const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4240
4236
  __proto__: null,
4241
4237
  default: zt
4242
4238
  }, Symbol.toStringTag, { value: "Module" }));
4243
4239
  export {
4244
- te as $,
4245
- qe as A,
4246
- di as B,
4247
- be as C,
4248
- bi as D,
4240
+ ee as $,
4241
+ pi as A,
4242
+ qe as B,
4243
+ de as C,
4244
+ di as D,
4249
4245
  pr as S,
4250
4246
  Ft as a,
4251
4247
  Jt as b,
4252
4248
  mr as c,
4253
- k as d,
4254
- F as e,
4249
+ R as d,
4250
+ S as e,
4255
4251
  I as f,
4256
4252
  L as g,
4257
4253
  $ as h,
4258
4254
  gr as i,
4259
- K as j,
4260
- x as k,
4261
- Et as l,
4262
- B as m,
4255
+ Y as j,
4256
+ v as k,
4257
+ xt as l,
4258
+ G as m,
4263
4259
  N as n,
4264
- U as o,
4260
+ j as o,
4265
4261
  qt as p,
4266
4262
  nr as q,
4267
- ue as r,
4263
+ ae as r,
4268
4264
  _t as s,
4269
- D as t,
4270
- Le as u,
4271
- si as v,
4272
- oi as w,
4273
- ai as x,
4274
- ui as y,
4275
- ce as z
4265
+ U as t,
4266
+ ai as u,
4267
+ Pe as v,
4268
+ si as w,
4269
+ oi as x,
4270
+ ii as y,
4271
+ fe as z
4276
4272
  };