@everymatrix/casino-slider 1.56.0 → 1.56.2

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.
@@ -1,28 +1,28 @@
1
1
  function U() {
2
2
  }
3
- function Ft(e) {
3
+ function Dt(e) {
4
4
  return e();
5
5
  }
6
- function lt() {
6
+ function ht() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Q(e) {
10
- e.forEach(Ft);
10
+ e.forEach(Dt);
11
11
  }
12
12
  function et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Rt(e, t) {
15
+ function Ut(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let xe;
19
- function ut(e, t) {
19
+ function ct(e, t) {
20
20
  return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
21
21
  }
22
- function Hr(e) {
22
+ function Tr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Sr(e, ...t) {
25
+ function Ar(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -34,15 +34,16 @@ function Sr(e, ...t) {
34
34
  function B(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Tr(e, t, r) {
38
- const n = Ar(e);
37
+ function Br(e, t, r) {
38
+ const n = Ir(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = I("style");
41
- i.id = t, i.textContent = r, Br(n, i);
41
+ i.id = t, i.textContent = r, Mr(n, i);
42
42
  }
43
43
  }
44
- function Ar(e) {
45
- if (!e) return document;
44
+ function Ir(e) {
45
+ if (!e)
46
+ return document;
46
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
47
48
  return t && /** @type {ShadowRoot} */
48
49
  t.host ? (
@@ -50,7 +51,7 @@ function Ar(e) {
50
51
  t
51
52
  ) : e.ownerDocument;
52
53
  }
53
- function Br(e, t) {
54
+ function Mr(e, t) {
54
55
  return B(
55
56
  /** @type {Document} */
56
57
  e.head || e,
@@ -63,7 +64,7 @@ function D(e, t, r) {
63
64
  function O(e) {
64
65
  e.parentNode && e.parentNode.removeChild(e);
65
66
  }
66
- function Ir(e, t) {
67
+ function Nr(e, t) {
67
68
  for (let r = 0; r < e.length; r += 1)
68
69
  e[r] && e[r].d(t);
69
70
  }
@@ -85,14 +86,14 @@ function Te(e, t, r, n) {
85
86
  function S(e, t, r) {
86
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
88
  }
88
- function Mr(e) {
89
+ function Pr(e) {
89
90
  return Array.from(e.childNodes);
90
91
  }
91
92
  function tt(e, t) {
92
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
94
  t);
94
95
  }
95
- function Nr(e) {
96
+ function Lr(e) {
96
97
  const t = {};
97
98
  return e.childNodes.forEach(
98
99
  /** @param {Element} node */
@@ -105,19 +106,20 @@ let de;
105
106
  function ce(e) {
106
107
  de = e;
107
108
  }
108
- function Pr() {
109
- if (!de) throw new Error("Function called outside component initialization");
109
+ function Or() {
110
+ if (!de)
111
+ throw new Error("Function called outside component initialization");
110
112
  return de;
111
113
  }
112
- function Lr(e) {
113
- Pr().$$.on_mount.push(e);
114
+ function Fr(e) {
115
+ Or().$$.on_mount.push(e);
114
116
  }
115
117
  const K = [], fe = [];
116
118
  let ee = [];
117
- const ht = [], Or = /* @__PURE__ */ Promise.resolve();
119
+ const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
118
120
  let je = !1;
119
- function Fr() {
120
- je || (je = !0, Or.then(A));
121
+ function Dr() {
122
+ je || (je = !0, Rr.then(A));
121
123
  }
122
124
  function Ve(e) {
123
125
  ee.push(e);
@@ -132,47 +134,49 @@ function A() {
132
134
  try {
133
135
  for (; J < K.length; ) {
134
136
  const t = K[J];
135
- J++, ce(t), Rr(t.$$);
137
+ J++, ce(t), Ur(t.$$);
136
138
  }
137
139
  } catch (t) {
138
140
  throw K.length = 0, J = 0, t;
139
141
  }
140
- for (ce(null), K.length = 0, J = 0; fe.length; ) fe.pop()();
142
+ for (ce(null), K.length = 0, J = 0; fe.length; )
143
+ fe.pop()();
141
144
  for (let t = 0; t < ee.length; t += 1) {
142
145
  const r = ee[t];
143
146
  Fe.has(r) || (Fe.add(r), r());
144
147
  }
145
148
  ee.length = 0;
146
149
  } while (K.length);
147
- for (; ht.length; )
148
- ht.pop()();
150
+ for (; ft.length; )
151
+ ft.pop()();
149
152
  je = !1, Fe.clear(), ce(e);
150
153
  }
151
- function Rr(e) {
154
+ function Ur(e) {
152
155
  if (e.fragment !== null) {
153
156
  e.update(), Q(e.before_update);
154
157
  const t = e.dirty;
155
158
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
156
159
  }
157
160
  }
158
- function Dr(e) {
161
+ function Gr(e) {
159
162
  const t = [], r = [];
160
163
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
161
164
  }
162
- const Ur = /* @__PURE__ */ new Set();
163
- function Dt(e, t) {
164
- e && e.i && (Ur.delete(e), e.i(t));
165
+ const kr = /* @__PURE__ */ new Set();
166
+ function Gt(e, t) {
167
+ e && e.i && (kr.delete(e), e.i(t));
165
168
  }
166
169
  function te(e) {
167
170
  return e?.length !== void 0 ? e : Array.from(e);
168
171
  }
169
- function Ut(e, t) {
172
+ function kt(e, t) {
170
173
  e.d(1), t.delete(e.key);
171
174
  }
172
- function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
175
+ function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
173
176
  let f = e.length, p = s.length, g = f;
174
177
  const b = {};
175
- for (; g--; ) b[e[g].key] = g;
178
+ for (; g--; )
179
+ b[e[g].key] = g;
176
180
  const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), H = [];
177
181
  for (g = p; g--; ) {
178
182
  const C = m(i, s, g), M = r(C);
@@ -181,7 +185,7 @@ function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
181
185
  }
182
186
  const F = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
183
187
  function G(C) {
184
- Dt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
188
+ Gt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
185
189
  }
186
190
  for (; f && p; ) {
187
191
  const C = d[p - 1], M = e[f - 1], N = C.key, j = M.key;
@@ -191,24 +195,25 @@ function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
191
195
  const C = e[f];
192
196
  w.has(C.key) || h(C, o);
193
197
  }
194
- for (; p; ) G(d[p - 1]);
198
+ for (; p; )
199
+ G(d[p - 1]);
195
200
  return Q(H), d;
196
201
  }
197
- function Gr(e, t, r) {
202
+ function $r(e, t, r) {
198
203
  const { fragment: n, after_update: i } = e.$$;
199
204
  n && n.m(t, r), Ve(() => {
200
- const s = e.$$.on_mount.map(Ft).filter(et);
205
+ const s = e.$$.on_mount.map(Dt).filter(et);
201
206
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
202
207
  }), i.forEach(Ve);
203
208
  }
204
- function kr(e, t) {
209
+ function jr(e, t) {
205
210
  const r = e.$$;
206
- r.fragment !== null && (Dr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
+ r.fragment !== null && (Gr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
207
212
  }
208
- function $r(e, t) {
209
- e.$$.dirty[0] === -1 && (K.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
+ function Vr(e, t) {
214
+ e.$$.dirty[0] === -1 && (K.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
215
  }
211
- function jr(e, t, r, n, i, s, o = null, a = [-1]) {
216
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
212
217
  const h = de;
213
218
  ce(e);
214
219
  const l = e.$$ = {
@@ -218,7 +223,7 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
218
223
  props: s,
219
224
  update: U,
220
225
  not_equal: i,
221
- bound: lt(),
226
+ bound: ht(),
222
227
  // lifecycle
223
228
  on_mount: [],
224
229
  on_destroy: [],
@@ -227,7 +232,7 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
227
232
  after_update: [],
228
233
  context: new Map(t.context || (h ? h.$$.context : [])),
229
234
  // everything else
230
- callbacks: lt(),
235
+ callbacks: ht(),
231
236
  dirty: a,
232
237
  skip_bound: !1,
233
238
  root: t.target || h.$$.root
@@ -236,19 +241,19 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
236
241
  let u = !1;
237
242
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
238
243
  const g = p.length ? p[0] : f;
239
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && $r(e, m)), f;
244
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Vr(e, m)), f;
240
245
  }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
241
246
  if (t.hydrate) {
242
- const m = Mr(t.target);
247
+ const m = Pr(t.target);
243
248
  l.fragment && l.fragment.l(m), m.forEach(O);
244
249
  } else
245
250
  l.fragment && l.fragment.c();
246
- t.intro && Dt(e.$$.fragment), Gr(e, t.target, t.anchor), A();
251
+ t.intro && Gt(e.$$.fragment), $r(e, t.target, t.anchor), A();
247
252
  }
248
253
  ce(h);
249
254
  }
250
- let kt;
251
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
255
+ let jt;
256
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
252
257
  /** The Svelte component constructor */
253
258
  $$ctor;
254
259
  /** Slots */
@@ -307,7 +312,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
307
312
  };
308
313
  if (await Promise.resolve(), !this.$$cn || this.$$c)
309
314
  return;
310
- const t = {}, r = Nr(this);
315
+ const t = {}, r = Lr(this);
311
316
  for (const i of this.$$s)
312
317
  i in r && (t[i] = [e(i)]);
313
318
  for (const i of this.attributes) {
@@ -394,8 +399,8 @@ function we(e, t, r, n) {
394
399
  return t;
395
400
  }
396
401
  }
397
- function Vr(e, t, r, n, i, s) {
398
- let o = class extends kt {
402
+ function Wr(e, t, r, n, i, s) {
403
+ let o = class extends jt {
399
404
  constructor() {
400
405
  super(e, r, i), this.$$p_d = t;
401
406
  }
@@ -423,7 +428,7 @@ function Vr(e, t, r, n, i, s) {
423
428
  }), e.element = /** @type {any} */
424
429
  o, o;
425
430
  }
426
- class Xr {
431
+ class zr {
427
432
  /**
428
433
  * ### PRIVATE API
429
434
  *
@@ -442,7 +447,7 @@ class Xr {
442
447
  $$set = void 0;
443
448
  /** @returns {void} */
444
449
  $destroy() {
445
- kr(this, 1), this.$destroy = U;
450
+ jr(this, 1), this.$destroy = U;
446
451
  }
447
452
  /**
448
453
  * @template {Extract<keyof Events, string>} K
@@ -464,18 +469,18 @@ class Xr {
464
469
  * @returns {void}
465
470
  */
466
471
  $set(t) {
467
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
468
473
  }
469
474
  }
470
- const Wr = "4";
471
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
472
- function zr(e, t) {
475
+ const Zr = "4";
476
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
477
+ function Qr(e, t) {
473
478
  if (e) {
474
479
  const r = document.createElement("style");
475
480
  r.innerHTML = t, e.appendChild(r);
476
481
  }
477
482
  }
478
- function Zr(e, t) {
483
+ function qr(e, t) {
479
484
  const r = new URL(t);
480
485
  fetch(r.href).then((n) => n.text()).then((n) => {
481
486
  const i = document.createElement("style");
@@ -484,7 +489,7 @@ function Zr(e, t) {
484
489
  console.error("There was an error while trying to load client styling from URL", n);
485
490
  });
486
491
  }
487
- function Qr(e, t, r) {
492
+ function Jr(e, t, r) {
488
493
  if (window.emMessageBus) {
489
494
  const n = document.createElement("style");
490
495
  window.emMessageBus.subscribe(t, (i) => {
@@ -493,7 +498,7 @@ function Qr(e, t, r) {
493
498
  }
494
499
  }
495
500
  const Y = [];
496
- function qr(e, t) {
501
+ function Yr(e, t) {
497
502
  return {
498
503
  subscribe: Ie(e, t).subscribe
499
504
  };
@@ -502,7 +507,7 @@ function Ie(e, t = U) {
502
507
  let r;
503
508
  const n = /* @__PURE__ */ new Set();
504
509
  function i(a) {
505
- if (Rt(e, a) && (e = a, r)) {
510
+ if (Ut(e, a) && (e = a, r)) {
506
511
  const h = !Y.length;
507
512
  for (const l of n)
508
513
  l[1](), Y.push(l, e);
@@ -529,7 +534,7 @@ function se(e, t, r) {
529
534
  if (!i.every(Boolean))
530
535
  throw new Error("derived() expects stores as input, got a falsy value");
531
536
  const s = t.length < 2;
532
- return qr(r, (o, a) => {
537
+ return Yr(r, (o, a) => {
533
538
  let h = !1;
534
539
  const l = [];
535
540
  let u = 0, m = U;
@@ -540,7 +545,7 @@ function se(e, t, r) {
540
545
  const g = t(n ? l[0] : l, o, a);
541
546
  s ? o(g) : m = et(g) ? g : U;
542
547
  }, p = i.map(
543
- (g, b) => Sr(
548
+ (g, b) => Ar(
544
549
  g,
545
550
  (d) => {
546
551
  l[b] = d, u &= ~(1 << b), h && f();
@@ -555,70 +560,70 @@ function se(e, t, r) {
555
560
  };
556
561
  });
557
562
  }
558
- function Jr(e) {
563
+ function Kr(e) {
559
564
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
560
565
  }
561
- var Yr = function(t) {
562
- return Kr(t) && !en(t);
566
+ var en = function(t) {
567
+ return tn(t) && !rn(t);
563
568
  };
564
- function Kr(e) {
569
+ function tn(e) {
565
570
  return !!e && typeof e == "object";
566
571
  }
567
- function en(e) {
572
+ function rn(e) {
568
573
  var t = Object.prototype.toString.call(e);
569
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
574
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
570
575
  }
571
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
572
- function nn(e) {
573
- return e.$$typeof === rn;
576
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
577
+ function sn(e) {
578
+ return e.$$typeof === on;
574
579
  }
575
- function on(e) {
580
+ function an(e) {
576
581
  return Array.isArray(e) ? [] : {};
577
582
  }
578
583
  function pe(e, t) {
579
- return t.clone !== !1 && t.isMergeableObject(e) ? re(on(e), e, t) : e;
584
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(an(e), e, t) : e;
580
585
  }
581
- function sn(e, t, r) {
586
+ function ln(e, t, r) {
582
587
  return e.concat(t).map(function(n) {
583
588
  return pe(n, r);
584
589
  });
585
590
  }
586
- function an(e, t) {
591
+ function un(e, t) {
587
592
  if (!t.customMerge)
588
593
  return re;
589
594
  var r = t.customMerge(e);
590
595
  return typeof r == "function" ? r : re;
591
596
  }
592
- function ln(e) {
597
+ function hn(e) {
593
598
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
594
599
  return Object.propertyIsEnumerable.call(e, t);
595
600
  }) : [];
596
601
  }
597
- function ct(e) {
598
- return Object.keys(e).concat(ln(e));
602
+ function mt(e) {
603
+ return Object.keys(e).concat(hn(e));
599
604
  }
600
- function $t(e, t) {
605
+ function Vt(e, t) {
601
606
  try {
602
607
  return t in e;
603
608
  } catch {
604
609
  return !1;
605
610
  }
606
611
  }
607
- function un(e, t) {
608
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
+ function cn(e, t) {
613
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
609
614
  }
610
- function hn(e, t, r) {
615
+ function fn(e, t, r) {
611
616
  var n = {};
612
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
617
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
613
618
  n[i] = pe(e[i], r);
614
- }), ct(t).forEach(function(i) {
615
- un(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
619
+ }), mt(t).forEach(function(i) {
620
+ cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
616
621
  }), n;
617
622
  }
618
623
  function re(e, t, r) {
619
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = pe;
624
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = pe;
620
625
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
621
- return s ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : pe(t, r);
626
+ return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : pe(t, r);
622
627
  }
623
628
  re.all = function(t, r) {
624
629
  if (!Array.isArray(t))
@@ -627,13 +632,28 @@ re.all = function(t, r) {
627
632
  return re(n, i, r);
628
633
  }, {});
629
634
  };
630
- var cn = re, fn = cn;
631
- const mn = /* @__PURE__ */ Jr(fn);
635
+ var mn = re, dn = mn;
636
+ const pn = /* @__PURE__ */ Kr(dn);
637
+ /*! *****************************************************************************
638
+ Copyright (c) Microsoft Corporation.
639
+
640
+ Permission to use, copy, modify, and/or distribute this software for any
641
+ purpose with or without fee is hereby granted.
642
+
643
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
644
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
645
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
646
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
647
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
648
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
649
+ PERFORMANCE OF THIS SOFTWARE.
650
+ ***************************************************************************** */
632
651
  var Xe = function(e, t) {
633
652
  return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
634
653
  r.__proto__ = n;
635
654
  } || function(r, n) {
636
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
655
+ for (var i in n)
656
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
637
657
  }, Xe(e, t);
638
658
  };
639
659
  function Me(e, t) {
@@ -649,72 +669,77 @@ var _ = function() {
649
669
  return _ = Object.assign || function(t) {
650
670
  for (var r, n = 1, i = arguments.length; n < i; n++) {
651
671
  r = arguments[n];
652
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
672
+ for (var s in r)
673
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
653
674
  }
654
675
  return t;
655
676
  }, _.apply(this, arguments);
656
677
  };
657
- function dn(e, t) {
678
+ function gn(e, t) {
658
679
  var r = {};
659
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
680
+ for (var n in e)
681
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
660
682
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
661
683
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
662
684
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
663
685
  return r;
664
686
  }
665
687
  function Re(e, t, r) {
666
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
667
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
668
- return e.concat(s || Array.prototype.slice.call(t));
688
+ if (arguments.length === 2)
689
+ for (var n = 0, i = t.length, s; n < i; n++)
690
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
691
+ return e.concat(s || t);
669
692
  }
670
693
  function De(e, t) {
671
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
694
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
672
695
  return i(e, {
673
696
  cache: r,
674
697
  serializer: n
675
698
  });
676
699
  }
677
- function pn(e) {
700
+ function bn(e) {
678
701
  return e == null || typeof e == "number" || typeof e == "boolean";
679
702
  }
680
- function gn(e, t, r, n) {
681
- var i = pn(n) ? n : r(n), s = t.get(i);
703
+ function Xt(e, t, r, n) {
704
+ var i = bn(n) ? n : r(n), s = t.get(i);
682
705
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
683
706
  }
684
- function jt(e, t, r) {
707
+ function Wt(e, t, r) {
685
708
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
686
709
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
687
710
  }
688
- function Vt(e, t, r, n, i) {
711
+ function rt(e, t, r, n, i) {
689
712
  return r.bind(t, e, n, i);
690
713
  }
691
- function bn(e, t) {
692
- var r = e.length === 1 ? gn : jt;
693
- return Vt(e, this, r, t.cache.create(), t.serializer);
694
- }
695
714
  function yn(e, t) {
696
- return Vt(e, this, jt, t.cache.create(), t.serializer);
715
+ var r = e.length === 1 ? Xt : Wt;
716
+ return rt(e, this, r, t.cache.create(), t.serializer);
697
717
  }
698
- var vn = function() {
718
+ function vn(e, t) {
719
+ return rt(e, this, Wt, t.cache.create(), t.serializer);
720
+ }
721
+ function _n(e, t) {
722
+ return rt(e, this, Xt, t.cache.create(), t.serializer);
723
+ }
724
+ var En = function() {
699
725
  return JSON.stringify(arguments);
700
- }, _n = (
701
- /** @class */
702
- function() {
703
- function e() {
704
- this.cache = /* @__PURE__ */ Object.create(null);
705
- }
706
- return e.prototype.get = function(t) {
707
- return this.cache[t];
708
- }, e.prototype.set = function(t, r) {
709
- this.cache[t] = r;
710
- }, e;
711
- }()
712
- ), En = {
726
+ };
727
+ function nt() {
728
+ this.cache = /* @__PURE__ */ Object.create(null);
729
+ }
730
+ nt.prototype.get = function(e) {
731
+ return this.cache[e];
732
+ };
733
+ nt.prototype.set = function(e, t) {
734
+ this.cache[e] = t;
735
+ };
736
+ var xn = {
713
737
  create: function() {
714
- return new _n();
738
+ return new nt();
715
739
  }
716
740
  }, Ue = {
717
- variadic: yn
741
+ variadic: vn,
742
+ monadic: _n
718
743
  }, y;
719
744
  (function(e) {
720
745
  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";
@@ -727,43 +752,43 @@ var ne;
727
752
  (function(e) {
728
753
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
729
754
  })(ne || (ne = {}));
730
- function ft(e) {
755
+ function dt(e) {
731
756
  return e.type === T.literal;
732
757
  }
733
- function xn(e) {
758
+ function Cn(e) {
734
759
  return e.type === T.argument;
735
760
  }
736
- function Xt(e) {
761
+ function zt(e) {
737
762
  return e.type === T.number;
738
763
  }
739
- function Wt(e) {
764
+ function Zt(e) {
740
765
  return e.type === T.date;
741
766
  }
742
- function zt(e) {
767
+ function Qt(e) {
743
768
  return e.type === T.time;
744
769
  }
745
- function Zt(e) {
770
+ function qt(e) {
746
771
  return e.type === T.select;
747
772
  }
748
- function Qt(e) {
773
+ function Jt(e) {
749
774
  return e.type === T.plural;
750
775
  }
751
- function Cn(e) {
776
+ function wn(e) {
752
777
  return e.type === T.pound;
753
778
  }
754
- function qt(e) {
779
+ function Yt(e) {
755
780
  return e.type === T.tag;
756
781
  }
757
- function Jt(e) {
782
+ function Kt(e) {
758
783
  return !!(e && typeof e == "object" && e.type === ne.number);
759
784
  }
760
785
  function We(e) {
761
786
  return !!(e && typeof e == "object" && e.type === ne.dateTime);
762
787
  }
763
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
764
- function Hn(e) {
788
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
789
+ function Sn(e) {
765
790
  var t = {};
766
- return e.replace(wn, function(r) {
791
+ return e.replace(Hn, function(r) {
767
792
  var n = r.length;
768
793
  switch (r[0]) {
769
794
  case "G":
@@ -852,11 +877,11 @@ function Hn(e) {
852
877
  return "";
853
878
  }), t;
854
879
  }
855
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
856
- function Tn(e) {
880
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
+ function An(e) {
857
882
  if (e.length === 0)
858
883
  throw new Error("Number skeleton cannot be empty");
859
- for (var t = e.split(Sn).filter(function(f) {
884
+ for (var t = e.split(Tn).filter(function(f) {
860
885
  return f.length > 0;
861
886
  }), r = [], n = 0, i = t; n < i.length; n++) {
862
887
  var s = i[n], o = s.split("/");
@@ -871,17 +896,17 @@ function Tn(e) {
871
896
  }
872
897
  return r;
873
898
  }
874
- function An(e) {
899
+ function Bn(e) {
875
900
  return e.replace(/^(.*?)-/, "");
876
901
  }
877
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
878
- function dt(e) {
902
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
903
+ function gt(e) {
879
904
  var t = {};
880
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
905
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
881
906
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
882
907
  }), t;
883
908
  }
884
- function tr(e) {
909
+ function nr(e) {
885
910
  switch (e) {
886
911
  case "sign-auto":
887
912
  return {
@@ -921,7 +946,7 @@ function tr(e) {
921
946
  };
922
947
  }
923
948
  }
924
- function In(e) {
949
+ function Mn(e) {
925
950
  var t;
926
951
  if (e[0] === "E" && e[1] === "E" ? (t = {
927
952
  notation: "engineering"
@@ -929,17 +954,17 @@ function In(e) {
929
954
  notation: "scientific"
930
955
  }, e = e.slice(1)), t) {
931
956
  var r = e.slice(0, 2);
932
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
957
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
933
958
  throw new Error("Malformed concise eng/scientific notation");
934
959
  t.minimumIntegerDigits = e.length;
935
960
  }
936
961
  return t;
937
962
  }
938
- function pt(e) {
939
- var t = {}, r = tr(e);
963
+ function bt(e) {
964
+ var t = {}, r = nr(e);
940
965
  return r || t;
941
966
  }
942
- function Mn(e) {
967
+ function Nn(e) {
943
968
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
944
969
  var i = n[r];
945
970
  switch (i.stem) {
@@ -963,7 +988,7 @@ function Mn(e) {
963
988
  continue;
964
989
  case "measure-unit":
965
990
  case "unit":
966
- t.style = "unit", t.unit = An(i.options[0]);
991
+ t.style = "unit", t.unit = Bn(i.options[0]);
967
992
  continue;
968
993
  case "compact-short":
969
994
  case "K":
@@ -975,12 +1000,12 @@ function Mn(e) {
975
1000
  continue;
976
1001
  case "scientific":
977
1002
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
978
- return _(_({}, h), pt(l));
1003
+ return _(_({}, h), bt(l));
979
1004
  }, {}));
980
1005
  continue;
981
1006
  case "engineering":
982
1007
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
983
- return _(_({}, h), pt(l));
1008
+ return _(_({}, h), bt(l));
984
1009
  }, {}));
985
1010
  continue;
986
1011
  case "notation-simple":
@@ -1025,7 +1050,7 @@ function Mn(e) {
1025
1050
  case "integer-width":
1026
1051
  if (i.options.length > 1)
1027
1052
  throw new RangeError("integer-width stems only accept a single optional option");
1028
- i.options[0].replace(Bn, function(h, l, u, m, f, p) {
1053
+ i.options[0].replace(In, function(h, l, u, m, f, p) {
1029
1054
  if (l)
1030
1055
  t.minimumIntegerDigits = u.length;
1031
1056
  else {
@@ -1038,27 +1063,27 @@ function Mn(e) {
1038
1063
  });
1039
1064
  continue;
1040
1065
  }
1041
- if (er.test(i.stem)) {
1066
+ if (rr.test(i.stem)) {
1042
1067
  t.minimumIntegerDigits = i.stem.length;
1043
1068
  continue;
1044
1069
  }
1045
- if (mt.test(i.stem)) {
1070
+ if (pt.test(i.stem)) {
1046
1071
  if (i.options.length > 1)
1047
1072
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1048
- i.stem.replace(mt, function(h, l, u, m, f, p) {
1073
+ i.stem.replace(pt, function(h, l, u, m, f, p) {
1049
1074
  return u === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1050
1075
  });
1051
1076
  var s = i.options[0];
1052
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), dt(s)));
1077
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), gt(s)));
1053
1078
  continue;
1054
1079
  }
1055
- if (Kt.test(i.stem)) {
1056
- t = _(_({}, t), dt(i.stem));
1080
+ if (tr.test(i.stem)) {
1081
+ t = _(_({}, t), gt(i.stem));
1057
1082
  continue;
1058
1083
  }
1059
- var o = tr(i.stem);
1084
+ var o = nr(i.stem);
1060
1085
  o && (t = _(_({}, t), o));
1061
- var a = In(i.stem);
1086
+ var a = Mn(i.stem);
1062
1087
  a && (t = _(_({}, t), a));
1063
1088
  }
1064
1089
  return t;
@@ -2478,22 +2503,23 @@ var Ce = {
2478
2503
  "h"
2479
2504
  ]
2480
2505
  };
2481
- function Nn(e, t) {
2506
+ function Pn(e, t) {
2482
2507
  for (var r = "", n = 0; n < e.length; n++) {
2483
2508
  var i = e.charAt(n);
2484
2509
  if (i === "j") {
2485
2510
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2486
2511
  s++, n++;
2487
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Pn(t);
2512
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Ln(t);
2488
2513
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2489
2514
  r += h;
2490
2515
  for (; o-- > 0; )
2491
2516
  r = l + r;
2492
- } else i === "J" ? r += "H" : r += i;
2517
+ } else
2518
+ i === "J" ? r += "H" : r += i;
2493
2519
  }
2494
2520
  return r;
2495
2521
  }
2496
- function Pn(e) {
2522
+ function Ln(e) {
2497
2523
  var t = e.hourCycle;
2498
2524
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2499
2525
  e.hourCycles && // @ts-ignore
@@ -2515,20 +2541,20 @@ function Pn(e) {
2515
2541
  var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2516
2542
  return i[0];
2517
2543
  }
2518
- var Ge, Ln = new RegExp("^".concat(Yt.source, "*")), On = new RegExp("".concat(Yt.source, "*$"));
2544
+ var Ge, On = new RegExp("^".concat(er.source, "*")), Fn = new RegExp("".concat(er.source, "*$"));
2519
2545
  function v(e, t) {
2520
2546
  return { start: e, end: t };
2521
2547
  }
2522
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, jn = $n ? Number.isSafeInteger : function(e) {
2548
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
2523
2549
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2524
2550
  }, ze = !0;
2525
2551
  try {
2526
- var Vn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2527
- ze = ((Ge = Vn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2552
+ var Xn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
+ ze = ((Ge = Xn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2528
2554
  } catch {
2529
2555
  ze = !1;
2530
2556
  }
2531
- var gt = Fn ? (
2557
+ var yt = Rn ? (
2532
2558
  // Native
2533
2559
  function(t, r, n) {
2534
2560
  return t.startsWith(r, n);
@@ -2538,7 +2564,7 @@ var gt = Fn ? (
2538
2564
  function(t, r, n) {
2539
2565
  return t.slice(n, n + r.length) === r;
2540
2566
  }
2541
- ), Ze = Rn ? String.fromCodePoint : (
2567
+ ), Ze = Dn ? String.fromCodePoint : (
2542
2568
  // IE11
2543
2569
  function() {
2544
2570
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2550,9 +2576,9 @@ var gt = Fn ? (
2550
2576
  }
2551
2577
  return n;
2552
2578
  }
2553
- ), bt = (
2579
+ ), vt = (
2554
2580
  // native
2555
- Dn ? Object.fromEntries : (
2581
+ Un ? Object.fromEntries : (
2556
2582
  // Ponyfill
2557
2583
  function(t) {
2558
2584
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2562,7 +2588,7 @@ var gt = Fn ? (
2562
2588
  return r;
2563
2589
  }
2564
2590
  )
2565
- ), rr = Un ? (
2591
+ ), ir = Gn ? (
2566
2592
  // Native
2567
2593
  function(t, r) {
2568
2594
  return t.codePointAt(r);
@@ -2576,7 +2602,7 @@ var gt = Fn ? (
2576
2602
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2577
2603
  }
2578
2604
  }
2579
- ), Xn = Gn ? (
2605
+ ), Wn = kn ? (
2580
2606
  // Native
2581
2607
  function(t) {
2582
2608
  return t.trimStart();
@@ -2584,9 +2610,9 @@ var gt = Fn ? (
2584
2610
  ) : (
2585
2611
  // Ponyfill
2586
2612
  function(t) {
2587
- return t.replace(Ln, "");
2613
+ return t.replace(On, "");
2588
2614
  }
2589
- ), Wn = kn ? (
2615
+ ), zn = $n ? (
2590
2616
  // Native
2591
2617
  function(t) {
2592
2618
  return t.trimEnd();
@@ -2594,32 +2620,32 @@ var gt = Fn ? (
2594
2620
  ) : (
2595
2621
  // Ponyfill
2596
2622
  function(t) {
2597
- return t.replace(On, "");
2623
+ return t.replace(Fn, "");
2598
2624
  }
2599
2625
  );
2600
- function nr(e, t) {
2626
+ function or(e, t) {
2601
2627
  return new RegExp(e, t);
2602
2628
  }
2603
2629
  var Qe;
2604
2630
  if (ze) {
2605
- var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2631
+ var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
2632
  Qe = function(t, r) {
2607
2633
  var n;
2608
- yt.lastIndex = r;
2609
- var i = yt.exec(t);
2634
+ _t.lastIndex = r;
2635
+ var i = _t.exec(t);
2610
2636
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2611
2637
  };
2612
2638
  } else
2613
2639
  Qe = function(t, r) {
2614
2640
  for (var n = []; ; ) {
2615
- var i = rr(t, r);
2616
- if (i === void 0 || ir(i) || qn(i))
2641
+ var i = ir(t, r);
2642
+ if (i === void 0 || sr(i) || Jn(i))
2617
2643
  break;
2618
2644
  n.push(i), r += i >= 65536 ? 2 : 1;
2619
2645
  }
2620
2646
  return Ze.apply(void 0, n);
2621
2647
  };
2622
- var zn = (
2648
+ var Zn = (
2623
2649
  /** @class */
2624
2650
  function() {
2625
2651
  function e(t, r) {
@@ -2701,7 +2727,7 @@ var zn = (
2701
2727
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2702
2728
  }, e.prototype.parseTagName = function() {
2703
2729
  var t = this.offset();
2704
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
2730
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
2705
2731
  this.bump();
2706
2732
  return this.message.slice(t, this.offset());
2707
2733
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2730,7 +2756,7 @@ var zn = (
2730
2756
  };
2731
2757
  }, e.prototype.tryParseLeftAngleBracket = function() {
2732
2758
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2733
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2759
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2734
2760
  }, e.prototype.tryParseQuote = function(t) {
2735
2761
  if (this.isEOF() || this.char() !== 39)
2736
2762
  return null;
@@ -2817,7 +2843,7 @@ var zn = (
2817
2843
  var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2818
2844
  if (m.err)
2819
2845
  return m;
2820
- var f = Wn(m.val);
2846
+ var f = zn(m.val);
2821
2847
  if (f.length === 0)
2822
2848
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2823
2849
  var p = v(u, this.clonePosition());
@@ -2827,8 +2853,8 @@ var zn = (
2827
2853
  if (g.err)
2828
2854
  return g;
2829
2855
  var b = v(i, this.clonePosition());
2830
- if (l && gt(l?.style, "::", 0)) {
2831
- var d = Xn(l.style.slice(2));
2856
+ if (l && yt(l?.style, "::", 0)) {
2857
+ var d = Wn(l.style.slice(2));
2832
2858
  if (a === "number") {
2833
2859
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2834
2860
  return m.err ? m : {
@@ -2839,12 +2865,12 @@ var zn = (
2839
2865
  if (d.length === 0)
2840
2866
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2841
2867
  var w = d;
2842
- this.locale && (w = Nn(d, this.locale));
2868
+ this.locale && (w = Pn(d, this.locale));
2843
2869
  var f = {
2844
2870
  type: ne.dateTime,
2845
2871
  pattern: w,
2846
2872
  location: l.styleLocation,
2847
- parsedOptions: this.shouldParseSkeletons ? Hn(w) : {}
2873
+ parsedOptions: this.shouldParseSkeletons ? Sn(w) : {}
2848
2874
  }, E = a === "date" ? T.date : T.time;
2849
2875
  return {
2850
2876
  val: { type: E, value: n, location: b, style: f },
@@ -2890,7 +2916,7 @@ var zn = (
2890
2916
  val: {
2891
2917
  type: T.select,
2892
2918
  value: n,
2893
- options: bt(G.val),
2919
+ options: vt(G.val),
2894
2920
  location: C
2895
2921
  },
2896
2922
  err: null
@@ -2898,7 +2924,7 @@ var zn = (
2898
2924
  val: {
2899
2925
  type: T.plural,
2900
2926
  value: n,
2901
- options: bt(G.val),
2927
+ options: vt(G.val),
2902
2928
  offset: P,
2903
2929
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2904
2930
  location: C
@@ -2949,7 +2975,7 @@ var zn = (
2949
2975
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2950
2976
  var n = [];
2951
2977
  try {
2952
- n = Tn(t);
2978
+ n = An(t);
2953
2979
  } catch {
2954
2980
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2955
2981
  }
@@ -2958,7 +2984,7 @@ var zn = (
2958
2984
  type: ne.number,
2959
2985
  tokens: n,
2960
2986
  location: r,
2961
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
2987
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2962
2988
  },
2963
2989
  err: null
2964
2990
  };
@@ -3006,7 +3032,7 @@ var zn = (
3006
3032
  break;
3007
3033
  }
3008
3034
  var h = v(i, this.clonePosition());
3009
- return s ? (o *= n, jn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3035
+ return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3010
3036
  }, e.prototype.offset = function() {
3011
3037
  return this.position.offset;
3012
3038
  }, e.prototype.isEOF = function() {
@@ -3021,7 +3047,7 @@ var zn = (
3021
3047
  var t = this.position.offset;
3022
3048
  if (t >= this.message.length)
3023
3049
  throw Error("out of bound");
3024
- var r = rr(this.message, t);
3050
+ var r = ir(this.message, t);
3025
3051
  if (r === void 0)
3026
3052
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3027
3053
  return r;
@@ -3040,7 +3066,7 @@ var zn = (
3040
3066
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3041
3067
  }
3042
3068
  }, e.prototype.bumpIf = function(t) {
3043
- if (gt(this.message, t, this.offset())) {
3069
+ if (yt(this.message, t, this.offset())) {
3044
3070
  for (var r = 0; r < t.length; r++)
3045
3071
  this.bump();
3046
3072
  return !0;
@@ -3062,7 +3088,7 @@ var zn = (
3062
3088
  break;
3063
3089
  }
3064
3090
  }, e.prototype.bumpSpace = function() {
3065
- for (; !this.isEOF() && ir(this.char()); )
3091
+ for (; !this.isEOF() && sr(this.char()); )
3066
3092
  this.bump();
3067
3093
  }, e.prototype.peek = function() {
3068
3094
  if (this.isEOF())
@@ -3075,29 +3101,30 @@ var zn = (
3075
3101
  function qe(e) {
3076
3102
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3077
3103
  }
3078
- function Zn(e) {
3104
+ function Qn(e) {
3079
3105
  return qe(e) || e === 47;
3080
3106
  }
3081
- function Qn(e) {
3107
+ function qn(e) {
3082
3108
  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;
3083
3109
  }
3084
- function ir(e) {
3110
+ function sr(e) {
3085
3111
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3086
3112
  }
3087
- function qn(e) {
3113
+ function Jn(e) {
3088
3114
  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;
3089
3115
  }
3090
3116
  function Je(e) {
3091
3117
  e.forEach(function(t) {
3092
- if (delete t.location, Zt(t) || Qt(t))
3118
+ if (delete t.location, qt(t) || Jt(t))
3093
3119
  for (var r in t.options)
3094
3120
  delete t.options[r].location, Je(t.options[r].value);
3095
- else Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && We(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3121
+ else
3122
+ zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3096
3123
  });
3097
3124
  }
3098
- function Jn(e, t) {
3125
+ function Yn(e, t) {
3099
3126
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3100
- var r = new zn(e, t).parse();
3127
+ var r = new Zn(e, t).parse();
3101
3128
  if (r.err) {
3102
3129
  var n = SyntaxError(y[r.err.kind]);
3103
3130
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3120,7 +3147,7 @@ var Ne = (
3120
3147
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3121
3148
  }, t;
3122
3149
  }(Error)
3123
- ), vt = (
3150
+ ), Et = (
3124
3151
  /** @class */
3125
3152
  function(e) {
3126
3153
  Me(t, e);
@@ -3129,7 +3156,7 @@ var Ne = (
3129
3156
  }
3130
3157
  return t;
3131
3158
  }(Ne)
3132
- ), Yn = (
3159
+ ), Kn = (
3133
3160
  /** @class */
3134
3161
  function(e) {
3135
3162
  Me(t, e);
@@ -3138,7 +3165,7 @@ var Ne = (
3138
3165
  }
3139
3166
  return t;
3140
3167
  }(Ne)
3141
- ), Kn = (
3168
+ ), ei = (
3142
3169
  /** @class */
3143
3170
  function(e) {
3144
3171
  Me(t, e);
@@ -3151,17 +3178,17 @@ var Ne = (
3151
3178
  (function(e) {
3152
3179
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3153
3180
  })(L || (L = {}));
3154
- function ei(e) {
3181
+ function ti(e) {
3155
3182
  return e.length < 2 ? e : e.reduce(function(t, r) {
3156
3183
  var n = t[t.length - 1];
3157
3184
  return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3158
3185
  }, []);
3159
3186
  }
3160
- function ti(e) {
3187
+ function ri(e) {
3161
3188
  return typeof e == "function";
3162
3189
  }
3163
3190
  function He(e, t, r, n, i, s, o) {
3164
- if (e.length === 1 && ft(e[0]))
3191
+ if (e.length === 1 && dt(e[0]))
3165
3192
  return [
3166
3193
  {
3167
3194
  type: L.literal,
@@ -3170,14 +3197,14 @@ function He(e, t, r, n, i, s, o) {
3170
3197
  ];
3171
3198
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3172
3199
  var u = l[h];
3173
- if (ft(u)) {
3200
+ if (dt(u)) {
3174
3201
  a.push({
3175
3202
  type: L.literal,
3176
3203
  value: u.value
3177
3204
  });
3178
3205
  continue;
3179
3206
  }
3180
- if (Cn(u)) {
3207
+ if (wn(u)) {
3181
3208
  typeof s == "number" && a.push({
3182
3209
  type: L.literal,
3183
3210
  value: r.getNumberFormat(t).format(s)
@@ -3186,16 +3213,16 @@ function He(e, t, r, n, i, s, o) {
3186
3213
  }
3187
3214
  var m = u.value;
3188
3215
  if (!(i && m in i))
3189
- throw new Kn(m, o);
3216
+ throw new ei(m, o);
3190
3217
  var f = i[m];
3191
- if (xn(u)) {
3218
+ if (Cn(u)) {
3192
3219
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3193
3220
  type: typeof f == "string" ? L.literal : L.object,
3194
3221
  value: f
3195
3222
  });
3196
3223
  continue;
3197
3224
  }
3198
- if (Wt(u)) {
3225
+ if (Zt(u)) {
3199
3226
  var p = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3200
3227
  a.push({
3201
3228
  type: L.literal,
@@ -3203,7 +3230,7 @@ function He(e, t, r, n, i, s, o) {
3203
3230
  });
3204
3231
  continue;
3205
3232
  }
3206
- if (zt(u)) {
3233
+ if (Qt(u)) {
3207
3234
  var p = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3208
3235
  a.push({
3209
3236
  type: L.literal,
@@ -3211,18 +3238,18 @@ function He(e, t, r, n, i, s, o) {
3211
3238
  });
3212
3239
  continue;
3213
3240
  }
3214
- if (Xt(u)) {
3215
- var p = typeof u.style == "string" ? n.number[u.style] : Jt(u.style) ? u.style.parsedOptions : void 0;
3241
+ if (zt(u)) {
3242
+ var p = typeof u.style == "string" ? n.number[u.style] : Kt(u.style) ? u.style.parsedOptions : void 0;
3216
3243
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3217
3244
  type: L.literal,
3218
3245
  value: r.getNumberFormat(t, p).format(f)
3219
3246
  });
3220
3247
  continue;
3221
3248
  }
3222
- if (qt(u)) {
3249
+ if (Yt(u)) {
3223
3250
  var g = u.children, b = u.value, d = i[b];
3224
- if (!ti(d))
3225
- throw new Yn(b, "function", o);
3251
+ if (!ri(d))
3252
+ throw new Kn(b, "function", o);
3226
3253
  var w = He(g, t, r, n, i, s), E = d(w.map(function(P) {
3227
3254
  return P.value;
3228
3255
  }));
@@ -3233,14 +3260,14 @@ function He(e, t, r, n, i, s, o) {
3233
3260
  };
3234
3261
  }));
3235
3262
  }
3236
- if (Zt(u)) {
3263
+ if (qt(u)) {
3237
3264
  var H = u.options[f] || u.options.other;
3238
3265
  if (!H)
3239
- throw new vt(u.value, f, Object.keys(u.options), o);
3266
+ throw new Et(u.value, f, Object.keys(u.options), o);
3240
3267
  a.push.apply(a, He(H.value, t, r, n, i));
3241
3268
  continue;
3242
3269
  }
3243
- if (Qt(u)) {
3270
+ if (Jt(u)) {
3244
3271
  var H = u.options["=".concat(f)];
3245
3272
  if (!H) {
3246
3273
  if (!Intl.PluralRules)
@@ -3251,21 +3278,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3251
3278
  H = u.options[F] || u.options.other;
3252
3279
  }
3253
3280
  if (!H)
3254
- throw new vt(u.value, f, Object.keys(u.options), o);
3281
+ throw new Et(u.value, f, Object.keys(u.options), o);
3255
3282
  a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
3256
3283
  continue;
3257
3284
  }
3258
3285
  }
3259
- return ei(a);
3286
+ return ti(a);
3260
3287
  }
3261
- function ri(e, t) {
3288
+ function ni(e, t) {
3262
3289
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3263
3290
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3264
3291
  }, {})) : e;
3265
3292
  }
3266
- function ni(e, t) {
3293
+ function ii(e, t) {
3267
3294
  return t ? Object.keys(e).reduce(function(r, n) {
3268
- return r[n] = ri(e[n], t[n]), r;
3295
+ return r[n] = ni(e[n], t[n]), r;
3269
3296
  }, _({}, e)) : e;
3270
3297
  }
3271
3298
  function ke(e) {
@@ -3282,7 +3309,7 @@ function ke(e) {
3282
3309
  }
3283
3310
  };
3284
3311
  }
3285
- function ii(e) {
3312
+ function oi(e) {
3286
3313
  return e === void 0 && (e = {
3287
3314
  number: {},
3288
3315
  dateTime: {},
@@ -3314,7 +3341,7 @@ function ii(e) {
3314
3341
  })
3315
3342
  };
3316
3343
  }
3317
- var oi = (
3344
+ var si = (
3318
3345
  /** @class */
3319
3346
  function() {
3320
3347
  function e(t, r, n, i) {
@@ -3346,13 +3373,13 @@ var oi = (
3346
3373
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3347
3374
  var o = i || {};
3348
3375
  o.formatters;
3349
- var a = dn(o, ["formatters"]);
3376
+ var a = gn(o, ["formatters"]);
3350
3377
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3351
3378
  } else
3352
3379
  this.ast = t;
3353
3380
  if (!Array.isArray(this.ast))
3354
3381
  throw new TypeError("A message must be provided as a String or AST.");
3355
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3382
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3356
3383
  }
3357
3384
  return Object.defineProperty(e, "defaultLocale", {
3358
3385
  get: function() {
@@ -3365,7 +3392,7 @@ var oi = (
3365
3392
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3366
3393
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3367
3394
  }
3368
- }, e.__parse = Jn, e.formats = {
3395
+ }, e.__parse = Yn, e.formats = {
3369
3396
  number: {
3370
3397
  integer: {
3371
3398
  maximumFractionDigits: 0
@@ -3426,7 +3453,7 @@ var oi = (
3426
3453
  }, e;
3427
3454
  }()
3428
3455
  );
3429
- function si(e, t) {
3456
+ function ai(e, t) {
3430
3457
  if (t == null)
3431
3458
  return;
3432
3459
  if (t in e)
@@ -3447,60 +3474,60 @@ function si(e, t) {
3447
3474
  n = void 0;
3448
3475
  return n;
3449
3476
  }
3450
- const X = {}, ai = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), or = (e, t) => {
3477
+ const X = {}, li = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), ar = (e, t) => {
3451
3478
  if (t == null)
3452
3479
  return;
3453
3480
  if (t in X && e in X[t])
3454
3481
  return X[t][e];
3455
3482
  const r = Pe(t);
3456
3483
  for (let n = 0; n < r.length; n++) {
3457
- const i = r[n], s = ui(i, e);
3484
+ const i = r[n], s = hi(i, e);
3458
3485
  if (s)
3459
- return ai(e, t, s);
3486
+ return li(e, t, s);
3460
3487
  }
3461
3488
  };
3462
- let rt;
3489
+ let it;
3463
3490
  const ae = Ie({});
3464
- function li(e) {
3465
- return rt[e] || null;
3491
+ function ui(e) {
3492
+ return it[e] || null;
3466
3493
  }
3467
- function sr(e) {
3468
- return e in rt;
3494
+ function lr(e) {
3495
+ return e in it;
3469
3496
  }
3470
- function ui(e, t) {
3471
- if (!sr(e))
3497
+ function hi(e, t) {
3498
+ if (!lr(e))
3472
3499
  return null;
3473
- const r = li(e);
3474
- return si(r, t);
3500
+ const r = ui(e);
3501
+ return ai(r, t);
3475
3502
  }
3476
- function hi(e) {
3503
+ function ci(e) {
3477
3504
  if (e == null)
3478
3505
  return;
3479
3506
  const t = Pe(e);
3480
3507
  for (let r = 0; r < t.length; r++) {
3481
3508
  const n = t[r];
3482
- if (sr(n))
3509
+ if (lr(n))
3483
3510
  return n;
3484
3511
  }
3485
3512
  }
3486
- function ar(e, ...t) {
3487
- delete X[e], ae.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3513
+ function ur(e, ...t) {
3514
+ delete X[e], ae.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3488
3515
  }
3489
3516
  se(
3490
3517
  [ae],
3491
3518
  ([e]) => Object.keys(e)
3492
3519
  );
3493
- ae.subscribe((e) => rt = e);
3520
+ ae.subscribe((e) => it = e);
3494
3521
  const Se = {};
3495
- function ci(e, t) {
3522
+ function fi(e, t) {
3496
3523
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3497
3524
  }
3498
- function lr(e) {
3525
+ function hr(e) {
3499
3526
  return Se[e];
3500
3527
  }
3501
- function fi(e) {
3528
+ function mi(e) {
3502
3529
  return Pe(e).map((t) => {
3503
- const r = lr(t);
3530
+ const r = hr(t);
3504
3531
  return [t, r ? [...r] : []];
3505
3532
  }).filter(([, t]) => t.length > 0);
3506
3533
  }
@@ -3508,31 +3535,31 @@ function Ye(e) {
3508
3535
  return e == null ? !1 : Pe(e).some(
3509
3536
  (t) => {
3510
3537
  var r;
3511
- return (r = lr(t)) == null ? void 0 : r.size;
3538
+ return (r = hr(t)) == null ? void 0 : r.size;
3512
3539
  }
3513
3540
  );
3514
3541
  }
3515
- function mi(e, t) {
3542
+ function di(e, t) {
3516
3543
  return Promise.all(
3517
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3518
- ).then((n) => ar(e, ...n));
3544
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3545
+ ).then((n) => ur(e, ...n));
3519
3546
  }
3520
3547
  const he = {};
3521
- function ur(e) {
3548
+ function cr(e) {
3522
3549
  if (!Ye(e))
3523
3550
  return e in he ? he[e] : Promise.resolve();
3524
- const t = fi(e);
3551
+ const t = mi(e);
3525
3552
  return he[e] = Promise.all(
3526
3553
  t.map(
3527
- ([r, n]) => mi(r, n)
3554
+ ([r, n]) => di(r, n)
3528
3555
  )
3529
3556
  ).then(() => {
3530
3557
  if (Ye(e))
3531
- return ur(e);
3558
+ return cr(e);
3532
3559
  delete he[e];
3533
3560
  }), he[e];
3534
3561
  }
3535
- const di = {
3562
+ const pi = {
3536
3563
  number: {
3537
3564
  scientific: { notation: "scientific" },
3538
3565
  engineering: { notation: "engineering" },
@@ -3561,34 +3588,34 @@ const di = {
3561
3588
  timeZoneName: "short"
3562
3589
  }
3563
3590
  }
3564
- }, pi = {
3591
+ }, gi = {
3565
3592
  fallbackLocale: null,
3566
3593
  loadingDelay: 200,
3567
- formats: di,
3594
+ formats: pi,
3568
3595
  warnOnMissingMessages: !0,
3569
3596
  handleMissingMessage: void 0,
3570
3597
  ignoreTag: !0
3571
- }, gi = pi;
3598
+ }, bi = gi;
3572
3599
  function oe() {
3573
- return gi;
3600
+ return bi;
3574
3601
  }
3575
3602
  const $e = Ie(!1);
3576
- var bi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
3603
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3577
3604
  for (var r in t || (t = {}))
3578
- _i.call(t, r) && Et(e, r, t[r]);
3579
- if (_t)
3580
- for (var r of _t(t))
3581
- Ei.call(t, r) && Et(e, r, t[r]);
3605
+ Ei.call(t, r) && Ct(e, r, t[r]);
3606
+ if (xt)
3607
+ for (var r of xt(t))
3608
+ xi.call(t, r) && Ct(e, r, t[r]);
3582
3609
  return e;
3583
- }, Ci = (e, t) => yi(e, vi(t));
3610
+ }, wi = (e, t) => vi(e, _i(t));
3584
3611
  let Ke;
3585
3612
  const Ae = Ie(null);
3586
- function xt(e) {
3613
+ function wt(e) {
3587
3614
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3588
3615
  }
3589
3616
  function Pe(e, t = oe().fallbackLocale) {
3590
- const r = xt(e);
3591
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3617
+ const r = wt(e);
3618
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3592
3619
  }
3593
3620
  function q() {
3594
3621
  return Ke ?? void 0;
@@ -3596,22 +3623,22 @@ function q() {
3596
3623
  Ae.subscribe((e) => {
3597
3624
  Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3598
3625
  });
3599
- const wi = (e) => {
3600
- if (e && hi(e) && Ye(e)) {
3626
+ const Hi = (e) => {
3627
+ if (e && ci(e) && Ye(e)) {
3601
3628
  const { loadingDelay: t } = oe();
3602
3629
  let r;
3603
3630
  return typeof window < "u" && q() != null && t ? r = window.setTimeout(
3604
3631
  () => $e.set(!0),
3605
3632
  t
3606
- ) : $e.set(!0), ur(e).then(() => {
3633
+ ) : $e.set(!0), cr(e).then(() => {
3607
3634
  Ae.set(e);
3608
3635
  }).finally(() => {
3609
3636
  clearTimeout(r), $e.set(!1);
3610
3637
  });
3611
3638
  }
3612
3639
  return Ae.set(e);
3613
- }, W = Ci(xi({}, Ae), {
3614
- set: wi
3640
+ }, W = wi(Ci({}, Ae), {
3641
+ set: Hi
3615
3642
  }), Le = (e) => {
3616
3643
  const t = /* @__PURE__ */ Object.create(null);
3617
3644
  return (n) => {
@@ -3619,20 +3646,20 @@ const wi = (e) => {
3619
3646
  return i in t ? t[i] : t[i] = e(n);
3620
3647
  };
3621
3648
  };
3622
- var Hi = Object.defineProperty, Be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3649
+ var Si = Object.defineProperty, Be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3623
3650
  for (var r in t || (t = {}))
3624
- hr.call(t, r) && Ct(e, r, t[r]);
3651
+ fr.call(t, r) && Ht(e, r, t[r]);
3625
3652
  if (Be)
3626
3653
  for (var r of Be(t))
3627
- cr.call(t, r) && Ct(e, r, t[r]);
3654
+ mr.call(t, r) && Ht(e, r, t[r]);
3628
3655
  return e;
3629
3656
  }, le = (e, t) => {
3630
3657
  var r = {};
3631
3658
  for (var n in e)
3632
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3659
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3633
3660
  if (e != null && Be)
3634
3661
  for (var n of Be(e))
3635
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
3662
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3636
3663
  return r;
3637
3664
  };
3638
3665
  const ge = (e, t) => {
@@ -3640,21 +3667,21 @@ const ge = (e, t) => {
3640
3667
  if (e in r && t in r[e])
3641
3668
  return r[e][t];
3642
3669
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3643
- }, Si = Le(
3670
+ }, Ti = Le(
3644
3671
  (e) => {
3645
3672
  var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3646
3673
  if (r == null)
3647
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3648
3675
  return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
3649
3676
  }
3650
- ), Ti = Le(
3677
+ ), Ai = Le(
3651
3678
  (e) => {
3652
3679
  var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3653
3680
  if (r == null)
3654
3681
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3655
3682
  return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
3656
3683
  }
3657
- ), Ai = Le(
3684
+ ), Bi = Le(
3658
3685
  (e) => {
3659
3686
  var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3660
3687
  if (r == null)
@@ -3663,33 +3690,33 @@ const ge = (e, t) => {
3663
3690
  );
3664
3691
  return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
3665
3692
  }
3666
- ), Bi = (e = {}) => {
3693
+ ), Ii = (e = {}) => {
3667
3694
  var t = e, {
3668
3695
  locale: r = q()
3669
3696
  } = t, n = le(t, [
3670
3697
  "locale"
3671
3698
  ]);
3672
- return Si(nt({ locale: r }, n));
3673
- }, Ii = (e = {}) => {
3699
+ return Ti(ot({ locale: r }, n));
3700
+ }, Mi = (e = {}) => {
3674
3701
  var t = e, {
3675
3702
  locale: r = q()
3676
3703
  } = t, n = le(t, [
3677
3704
  "locale"
3678
3705
  ]);
3679
- return Ti(nt({ locale: r }, n));
3680
- }, Mi = (e = {}) => {
3706
+ return Ai(ot({ locale: r }, n));
3707
+ }, Ni = (e = {}) => {
3681
3708
  var t = e, {
3682
3709
  locale: r = q()
3683
3710
  } = t, n = le(t, [
3684
3711
  "locale"
3685
3712
  ]);
3686
- return Ai(nt({ locale: r }, n));
3687
- }, Ni = Le(
3713
+ return Bi(ot({ locale: r }, n));
3714
+ }, Pi = Le(
3688
3715
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3689
- (e, t = q()) => new oi(e, t, oe().formats, {
3716
+ (e, t = q()) => new si(e, t, oe().formats, {
3690
3717
  ignoreTag: oe().ignoreTag
3691
3718
  })
3692
- ), Pi = (e, t = {}) => {
3719
+ ), Li = (e, t = {}) => {
3693
3720
  var r, n, i, s;
3694
3721
  let o = t;
3695
3722
  typeof e == "object" && (o = e, e = o.id);
@@ -3702,7 +3729,7 @@ const ge = (e, t) => {
3702
3729
  throw new Error(
3703
3730
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3704
3731
  );
3705
- let u = or(e, h);
3732
+ let u = ar(e, h);
3706
3733
  if (!u)
3707
3734
  u = (s = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3708
3735
  else if (typeof u != "string")
@@ -3713,7 +3740,7 @@ const ge = (e, t) => {
3713
3740
  return u;
3714
3741
  let m = u;
3715
3742
  try {
3716
- m = Ni(u, h).format(a);
3743
+ m = Pi(u, h).format(a);
3717
3744
  } catch (f) {
3718
3745
  f instanceof Error && console.warn(
3719
3746
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3721,24 +3748,24 @@ const ge = (e, t) => {
3721
3748
  );
3722
3749
  }
3723
3750
  return m;
3724
- }, Li = (e, t) => Mi(t).format(e), Oi = (e, t) => Ii(t).format(e), Fi = (e, t) => Bi(t).format(e), Ri = (e, t = q()) => or(e, t);
3725
- se([W, ae], () => Pi);
3726
- se([W], () => Li);
3751
+ }, Oi = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), Ri = (e, t) => Ii(t).format(e), Di = (e, t = q()) => ar(e, t);
3752
+ se([W, ae], () => Li);
3727
3753
  se([W], () => Oi);
3728
3754
  se([W], () => Fi);
3729
- se([W, ae], () => Ri);
3730
- function Di({ withLocale: e, translations: t }) {
3755
+ se([W], () => Ri);
3756
+ se([W, ae], () => Di);
3757
+ function Ui({ withLocale: e, translations: t }) {
3731
3758
  W.subscribe((r) => {
3732
3759
  r == null && (ae.set(t), W.set(e));
3733
3760
  });
3734
3761
  }
3735
- function wt(e, t) {
3736
- ar(e, t);
3762
+ function St(e, t) {
3763
+ ur(e, t);
3737
3764
  }
3738
- function Ui(e) {
3765
+ function Gi(e) {
3739
3766
  W.set(e);
3740
3767
  }
3741
- const Ht = {
3768
+ const Tt = {
3742
3769
  en: {
3743
3770
  login: "Login",
3744
3771
  register: "Register",
@@ -3795,22 +3822,22 @@ const Ht = {
3795
3822
  deposit: "Deposit"
3796
3823
  }
3797
3824
  };
3798
- function Gi(e) {
3799
- Tr(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3825
+ function ki(e) {
3826
+ Br(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3800
3827
  }
3801
- function St(e, t, r) {
3828
+ function At(e, t, r) {
3802
3829
  const n = e.slice();
3803
3830
  return n[48] = t[r], n[50] = r, n;
3804
3831
  }
3805
- function Tt(e, t, r) {
3832
+ function Bt(e, t, r) {
3806
3833
  const n = e.slice();
3807
3834
  return n[51] = t[r], n;
3808
3835
  }
3809
- function At(e, t, r) {
3836
+ function It(e, t, r) {
3810
3837
  const n = e.slice();
3811
3838
  return n[54] = t[r], n[56] = r, n;
3812
3839
  }
3813
- function Bt(e) {
3840
+ function Mt(e) {
3814
3841
  let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
3815
3842
  /*sliderdata*/
3816
3843
  e[9]
@@ -3820,8 +3847,8 @@ function Bt(e) {
3820
3847
  o[48].id
3821
3848
  );
3822
3849
  for (let o = 0; o < i.length; o += 1) {
3823
- let a = St(e, i, o), h = s(a);
3824
- r.set(h, t[o] = Ot(h, a));
3850
+ let a = At(e, i, o), h = s(a);
3851
+ r.set(h, t[o] = Rt(h, a));
3825
3852
  }
3826
3853
  return {
3827
3854
  c() {
@@ -3839,7 +3866,7 @@ function Bt(e) {
3839
3866
  77775 && (i = te(
3840
3867
  /*sliderdata*/
3841
3868
  o[9]
3842
- ), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Ot, n, St));
3869
+ ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Rt, n, At));
3843
3870
  },
3844
3871
  d(o) {
3845
3872
  o && O(n);
@@ -3848,7 +3875,7 @@ function Bt(e) {
3848
3875
  }
3849
3876
  };
3850
3877
  }
3851
- function ki(e) {
3878
+ function $i(e) {
3852
3879
  let t, r = (
3853
3880
  /*category*/
3854
3881
  e[48].name + ""
@@ -3870,7 +3897,7 @@ function ki(e) {
3870
3897
  }
3871
3898
  };
3872
3899
  }
3873
- function $i(e) {
3900
+ function ji(e) {
3874
3901
  let t, r = (
3875
3902
  /*category*/
3876
3903
  e[48].label + ""
@@ -3895,11 +3922,11 @@ function $i(e) {
3895
3922
  }
3896
3923
  };
3897
3924
  }
3898
- function It(e) {
3925
+ function Nt(e) {
3899
3926
  let t, r = (
3900
3927
  /*subGroupsData*/
3901
3928
  e[10].length > 0 && /*showsubgroups*/
3902
- e[2] == "true" && Mt(e)
3929
+ e[2] == "true" && Pt(e)
3903
3930
  );
3904
3931
  return {
3905
3932
  c() {
@@ -3911,20 +3938,20 @@ function It(e) {
3911
3938
  p(n, i) {
3912
3939
  /*subGroupsData*/
3913
3940
  n[10].length > 0 && /*showsubgroups*/
3914
- n[2] == "true" ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3941
+ n[2] == "true" ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3915
3942
  },
3916
3943
  d(n) {
3917
3944
  n && O(t), r && r.d(n);
3918
3945
  }
3919
3946
  };
3920
3947
  }
3921
- function Mt(e) {
3948
+ function Pt(e) {
3922
3949
  let t, r = te(
3923
3950
  /*subGroupsData*/
3924
3951
  e[10]
3925
3952
  ), n = [];
3926
3953
  for (let i = 0; i < r.length; i += 1)
3927
- n[i] = Lt(Tt(e, r, i));
3954
+ n[i] = Ft(Bt(e, r, i));
3928
3955
  return {
3929
3956
  c() {
3930
3957
  t = I("ul");
@@ -3946,8 +3973,8 @@ function Mt(e) {
3946
3973
  );
3947
3974
  let o;
3948
3975
  for (o = 0; o < r.length; o += 1) {
3949
- const a = Tt(i, r, o);
3950
- n[o] ? n[o].p(a, s) : (n[o] = Lt(a), n[o].c(), n[o].m(t, null));
3976
+ const a = Bt(i, r, o);
3977
+ n[o] ? n[o].p(a, s) : (n[o] = Ft(a), n[o].c(), n[o].m(t, null));
3951
3978
  }
3952
3979
  for (; o < n.length; o += 1)
3953
3980
  n[o].d(1);
@@ -3955,11 +3982,11 @@ function Mt(e) {
3955
3982
  }
3956
3983
  },
3957
3984
  d(i) {
3958
- i && O(t), Ir(n, i);
3985
+ i && O(t), Nr(n, i);
3959
3986
  }
3960
3987
  };
3961
3988
  }
3962
- function Nt(e) {
3989
+ function Lt(e) {
3963
3990
  let t, r, n = (
3964
3991
  /*subGroupItem*/
3965
3992
  e[54]?.name + ""
@@ -4010,11 +4037,11 @@ function Nt(e) {
4010
4037
  }
4011
4038
  };
4012
4039
  }
4013
- function Pt(e, t) {
4040
+ function Ot(e, t) {
4014
4041
  let r, n, i = (
4015
4042
  /*index*/
4016
4043
  t[50] == /*subGroup*/
4017
- t[51].index && Nt(t)
4044
+ t[51].index && Lt(t)
4018
4045
  );
4019
4046
  return {
4020
4047
  key: e,
@@ -4028,14 +4055,14 @@ function Pt(e, t) {
4028
4055
  p(s, o) {
4029
4056
  t = s, /*index*/
4030
4057
  t[50] == /*subGroup*/
4031
- t[51].index ? i ? i.p(t, o) : (i = Nt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4058
+ t[51].index ? i ? i.p(t, o) : (i = Lt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4032
4059
  },
4033
4060
  d(s) {
4034
4061
  s && (O(r), O(n)), i && i.d(s);
4035
4062
  }
4036
4063
  };
4037
4064
  }
4038
- function Lt(e) {
4065
+ function Ft(e) {
4039
4066
  let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
4040
4067
  /*subGroup*/
4041
4068
  e[51].items
@@ -4045,8 +4072,8 @@ function Lt(e) {
4045
4072
  o[54].id
4046
4073
  );
4047
4074
  for (let o = 0; o < i.length; o += 1) {
4048
- let a = At(e, i, o), h = s(a);
4049
- r.set(h, t[o] = Pt(h, a));
4075
+ let a = It(e, i, o), h = s(a);
4076
+ r.set(h, t[o] = Ot(h, a));
4050
4077
  }
4051
4078
  return {
4052
4079
  c() {
@@ -4064,7 +4091,7 @@ function Lt(e) {
4064
4091
  10176 && (i = te(
4065
4092
  /*subGroup*/
4066
4093
  o[51].items
4067
- ), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Pt, n, At));
4094
+ ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Ot, n, It));
4068
4095
  },
4069
4096
  d(o) {
4070
4097
  o && O(n);
@@ -4073,12 +4100,12 @@ function Lt(e) {
4073
4100
  }
4074
4101
  };
4075
4102
  }
4076
- function Ot(e, t) {
4103
+ function Rt(e, t) {
4077
4104
  let r, n, i, s, o, a, h, l, u, m, f;
4078
4105
  function p(E, H) {
4079
4106
  return (
4080
4107
  /*location*/
4081
- E[0] === "headerMain" ? $i : ki
4108
+ E[0] === "headerMain" ? ji : $i
4082
4109
  );
4083
4110
  }
4084
4111
  let g = p(t), b = g(t), d = (
@@ -4086,7 +4113,7 @@ function Ot(e, t) {
4086
4113
  t[11][
4087
4114
  /*index*/
4088
4115
  t[50]
4089
- ] == !0 && It(t)
4116
+ ] == !0 && Nt(t)
4090
4117
  );
4091
4118
  function w(...E) {
4092
4119
  return (
@@ -4105,7 +4132,7 @@ function Ot(e, t) {
4105
4132
  first: null,
4106
4133
  c() {
4107
4134
  r = I("li"), n = I("div"), i = I("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4108
- (t[3] === "true" ? "" : "DisplayNone")), ut(i.src, o = /*handleSrc*/
4135
+ (t[3] === "true" ? "" : "DisplayNone")), ct(i.src, o = /*handleSrc*/
4109
4136
  t[16](
4110
4137
  /*category*/
4111
4138
  t[48]
@@ -4128,7 +4155,7 @@ function Ot(e, t) {
4128
4155
  t = E, H[0] & /*categoriesicon*/
4129
4156
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4130
4157
  (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
4131
- 512 && !ut(i.src, o = /*handleSrc*/
4158
+ 512 && !ct(i.src, o = /*handleSrc*/
4132
4159
  t[16](
4133
4160
  /*category*/
4134
4161
  t[48]
@@ -4136,7 +4163,7 @@ function Ot(e, t) {
4136
4163
  t[11][
4137
4164
  /*index*/
4138
4165
  t[50]
4139
- ] == !0 ? d ? d.p(t, H) : (d = It(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4166
+ ] == !0 ? d ? d.p(t, H) : (d = Nt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4140
4167
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4141
4168
  (t[1]?.toString().indexOf("$") > -1 ? (
4142
4169
  /*activeindex*/
@@ -4154,10 +4181,10 @@ function Ot(e, t) {
4154
4181
  }
4155
4182
  };
4156
4183
  }
4157
- function ji(e) {
4184
+ function Vi(e) {
4158
4185
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4159
4186
  /*sliderdata*/
4160
- e[9].length > 0 && Bt(e)
4187
+ e[9].length > 0 && Mt(e)
4161
4188
  );
4162
4189
  return {
4163
4190
  c() {
@@ -4184,7 +4211,7 @@ function ji(e) {
4184
4211
  },
4185
4212
  p(w, E) {
4186
4213
  /*sliderdata*/
4187
- w[9].length > 0 ? d ? d.p(w, E) : (d = Bt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4214
+ w[9].length > 0 ? d ? d.p(w, E) : (d = Mt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4188
4215
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4189
4216
  w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4190
4217
  1 && f !== (f = /*location*/
@@ -4199,20 +4226,20 @@ function ji(e) {
4199
4226
  }
4200
4227
  };
4201
4228
  }
4202
- function Vi(e, t, r) {
4229
+ function Xi(e, t, r) {
4203
4230
  let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: F = "" } = t, { mbsource: P = "" } = t;
4204
- Di({ withLocale: "en", translations: {} });
4231
+ Ui({ withLocale: "en", translations: {} });
4205
4232
  const G = () => {
4206
4233
  fetch(f).then((x) => x.json()).then((x) => {
4207
4234
  Object.keys(x).forEach((R) => {
4208
- wt(R, x[R]);
4235
+ St(R, x[R]);
4209
4236
  });
4210
4237
  }).catch((x) => {
4211
4238
  console.log(x);
4212
4239
  });
4213
4240
  };
4214
- Object.keys(Ht).forEach((c) => {
4215
- wt(c, Ht[c]);
4241
+ Object.keys(Tt).forEach((c) => {
4242
+ St(c, Tt[c]);
4216
4243
  });
4217
4244
  let C, M, N, j, k, ue = [], ye = [], ve = [], $, Oe = (c, x, R, z, V) => {
4218
4245
  if (!(c.subGroups && z === null)) {
@@ -4242,18 +4269,18 @@ function Vi(e, t, r) {
4242
4269
  window.location.href
4243
4270
  );
4244
4271
  }
4245
- }, it = () => {
4272
+ }, st = () => {
4246
4273
  $.scrollBy({ left: -250, behavior: "smooth" });
4247
- }, ot = () => {
4274
+ }, at = () => {
4248
4275
  $.scrollBy({ left: 250, behavior: "smooth" });
4249
4276
  };
4250
- const st = (c) => {
4251
- c.data.type == "SliderData" && c.data.identity == m && (r(9, ue = c.data.data), r(11, ve = new Array(ue.length).fill(!1)), w == "true" && dr()), c.data.type == "GoToHomepage" && ue.forEach((x, R) => {
4277
+ const lt = (c) => {
4278
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, ue = c.data.data), r(11, ve = new Array(ue.length).fill(!1)), w == "true" && gr()), c.data.type == "GoToHomepage" && ue.forEach((x, R) => {
4252
4279
  x.path.endsWith("/casino") && (r(6, M = R), r(6, M));
4253
4280
  });
4254
- }, fr = () => {
4255
- Ui(b);
4256
- }, mr = (c, x, R) => {
4281
+ }, dr = () => {
4282
+ Gi(b);
4283
+ }, pr = (c, x, R) => {
4257
4284
  if (h == "secondaryMenu" && n && i && b && c.id) {
4258
4285
  let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4259
4286
  fetch(z.href).then((V) => V.json()).then((V) => {
@@ -4267,8 +4294,8 @@ function Vi(e, t, r) {
4267
4294
  window.location.href
4268
4295
  );
4269
4296
  const Ee = [];
4270
- ye.map((Cr) => (Cr.items.forEach((at) => {
4271
- Ee.find((wr) => at.id == wr) || Ee.push(at.id);
4297
+ ye.map((Hr) => (Hr.items.forEach((ut) => {
4298
+ Ee.find((Sr) => ut.id == Sr) || Ee.push(ut.id);
4272
4299
  }), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
4273
4300
  }).then(() => {
4274
4301
  C.querySelectorAll(".DropDown") && _e();
@@ -4281,39 +4308,39 @@ function Vi(e, t, r) {
4281
4308
  for (let x = 0; x < c.length; x++)
4282
4309
  c[x].style.transform = "translateX(-" + $.scrollLeft + "px)";
4283
4310
  $.classList.remove("isScrolling");
4284
- }, dr = () => {
4311
+ }, gr = () => {
4285
4312
  ue.forEach((c, x) => {
4286
- c?.subGroups?.count > 0 && (r(11, ve[x] = !0, ve), mr(c, x));
4313
+ c?.subGroups?.count > 0 && (r(11, ve[x] = !0, ve), pr(c, x));
4287
4314
  });
4288
- }, pr = (c) => {
4315
+ }, br = (c) => {
4289
4316
  let x = "";
4290
4317
  return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = F), c.icon || x;
4291
4318
  };
4292
- Lr(() => (window.addEventListener("message", st, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4319
+ Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4293
4320
  () => {
4294
4321
  $.addEventListener("scroll", _e);
4295
4322
  },
4296
4323
  500
4297
4324
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4298
- window.removeEventListener("message", st), C.removeEventListener("scroll", _e);
4325
+ window.removeEventListener("message", lt), C.removeEventListener("scroll", _e);
4299
4326
  }));
4300
- const gr = () => it(), br = (c, x, R, z, V) => {
4327
+ const yr = () => st(), vr = (c, x, R, z, V) => {
4301
4328
  Oe(c, x, R, z, "secondary"), V.stopPropagation();
4302
- }, yr = (c, x, R) => {
4329
+ }, _r = (c, x, R) => {
4303
4330
  Oe(c, x, null, null, "main"), R.preventDefault();
4304
4331
  };
4305
- function vr(c) {
4332
+ function Er(c) {
4306
4333
  fe[c ? "unshift" : "push"](() => {
4307
4334
  C = c, r(5, C);
4308
4335
  });
4309
4336
  }
4310
- function _r(c) {
4337
+ function xr(c) {
4311
4338
  fe[c ? "unshift" : "push"](() => {
4312
4339
  $ = c, r(12, $);
4313
4340
  });
4314
4341
  }
4315
- const Er = () => ot();
4316
- function xr(c) {
4342
+ const Cr = () => at();
4343
+ function wr(c) {
4317
4344
  fe[c ? "unshift" : "push"](() => {
4318
4345
  k = c, r(4, k);
4319
4346
  });
@@ -4324,11 +4351,11 @@ function Vi(e, t, r) {
4324
4351
  e.$$.dirty[0] & /*activeindex*/
4325
4352
  2, e.$$.dirty[0] & /*translationurl*/
4326
4353
  33554432 && f && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4327
- 4194320 && l && k && zr(k, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4328
- 8388624 && u && k && Zr(k, u), e.$$.dirty[0] & /*customStylingContainer*/
4354
+ 4194320 && l && k && Qr(k, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4355
+ 8388624 && u && k && qr(k, u), e.$$.dirty[0] & /*customStylingContainer*/
4329
4356
  16 | e.$$.dirty[1] & /*mbsource*/
4330
- 1 && P && k && Qr(k, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4331
- 268435456 && b && fr();
4357
+ 1 && P && k && Jr(k, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4358
+ 268435456 && b && dr();
4332
4359
  }, [
4333
4360
  h,
4334
4361
  d,
@@ -4344,9 +4371,9 @@ function Vi(e, t, r) {
4344
4371
  ve,
4345
4372
  $,
4346
4373
  Oe,
4347
- it,
4348
- ot,
4349
- pr,
4374
+ st,
4375
+ at,
4376
+ br,
4350
4377
  n,
4351
4378
  i,
4352
4379
  s,
@@ -4362,23 +4389,23 @@ function Vi(e, t, r) {
4362
4389
  H,
4363
4390
  F,
4364
4391
  P,
4365
- gr,
4366
- br,
4367
4392
  yr,
4368
4393
  vr,
4369
4394
  _r,
4370
4395
  Er,
4371
- xr
4396
+ xr,
4397
+ Cr,
4398
+ wr
4372
4399
  ];
4373
4400
  }
4374
- class Xi extends Xr {
4401
+ class Wi extends zr {
4375
4402
  constructor(t) {
4376
- super(), jr(
4403
+ super(), Xr(
4377
4404
  this,
4378
4405
  t,
4406
+ Xi,
4379
4407
  Vi,
4380
- ji,
4381
- Rt,
4408
+ Ut,
4382
4409
  {
4383
4410
  endpoint: 17,
4384
4411
  datasource: 18,
@@ -4400,7 +4427,7 @@ class Xi extends Xr {
4400
4427
  mygamesiconimage: 30,
4401
4428
  mbsource: 31
4402
4429
  },
4403
- Gi,
4430
+ ki,
4404
4431
  [-1, -1]
4405
4432
  );
4406
4433
  }
@@ -4519,7 +4546,7 @@ class Xi extends Xr {
4519
4546
  this.$$set({ mbsource: t }), A();
4520
4547
  }
4521
4548
  }
4522
- Vr(Xi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4549
+ Wr(Wi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4523
4550
  export {
4524
- Xi as C
4551
+ Wi as C
4525
4552
  };