@everymatrix/casino-slider 1.76.1 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function k() {
2
2
  }
3
- function kt(e) {
3
+ function Gt(e) {
4
4
  return e();
5
5
  }
6
- function mt() {
6
+ function ft() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function q(e) {
10
- e.forEach(kt);
10
+ e.forEach(Gt);
11
11
  }
12
12
  function nt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function $t(e, t) {
15
+ function kt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let He;
19
- function dt(e, t) {
19
+ function mt(e, t) {
20
20
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
21
21
  }
22
- function Or(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Fr(e, ...t) {
25
+ function Or(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -34,14 +34,14 @@ function Fr(e, ...t) {
34
34
  function I(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Rr(e, t, r) {
38
- const n = Dr(e);
37
+ function Fr(e, t, r) {
38
+ const n = Rr(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = L("style");
41
- i.id = t, i.textContent = r, Ur(n, i);
41
+ i.id = t, i.textContent = r, Dr(n, i);
42
42
  }
43
43
  }
44
- function Dr(e) {
44
+ function Rr(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function Dr(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Ur(e, t) {
54
+ function Dr(e, t) {
55
55
  return I(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,7 +64,7 @@ function G(e, t, r) {
64
64
  function D(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Gr(e, t) {
67
+ function Ur(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
@@ -83,7 +83,7 @@ function be() {
83
83
  function j(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function kr(e) {
86
+ function Gr(e) {
87
87
  return function(t) {
88
88
  return t.preventDefault(), e.call(this, t);
89
89
  };
@@ -91,14 +91,14 @@ function kr(e) {
91
91
  function S(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function $r(e) {
94
+ function kr(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
97
  function it(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function jr(e) {
101
+ function $r(e) {
102
102
  const t = {};
103
103
  return e.childNodes.forEach(
104
104
  /** @param {Element} node */
@@ -111,24 +111,24 @@ let ye;
111
111
  function pe(e) {
112
112
  ye = e;
113
113
  }
114
- function Vr() {
114
+ function jr() {
115
115
  if (!ye)
116
116
  throw new Error("Function called outside component initialization");
117
117
  return ye;
118
118
  }
119
- function Xr(e) {
120
- Vr().$$.on_mount.push(e);
119
+ function Vr(e) {
120
+ jr().$$.on_mount.push(e);
121
121
  }
122
- function Wr(e, t) {
122
+ function Xr(e, t) {
123
123
  const r = e.$$.callbacks[t.type];
124
124
  r && r.slice().forEach((n) => n.call(this, t));
125
125
  }
126
126
  const re = [], ge = [];
127
127
  let ne = [];
128
- const pt = [], zr = /* @__PURE__ */ Promise.resolve();
128
+ const dt = [], Wr = /* @__PURE__ */ Promise.resolve();
129
129
  let We = !1;
130
- function Zr() {
131
- We || (We = !0, zr.then(B));
130
+ function zr() {
131
+ We || (We = !0, Wr.then(B));
132
132
  }
133
133
  function ze(e) {
134
134
  ne.push(e);
@@ -143,7 +143,7 @@ function B() {
143
143
  try {
144
144
  for (; ee < re.length; ) {
145
145
  const t = re[ee];
146
- ee++, pe(t), Qr(t.$$);
146
+ ee++, pe(t), Zr(t.$$);
147
147
  }
148
148
  } catch (t) {
149
149
  throw re.length = 0, ee = 0, t;
@@ -156,32 +156,32 @@ function B() {
156
156
  }
157
157
  ne.length = 0;
158
158
  } while (re.length);
159
- for (; pt.length; )
160
- pt.pop()();
159
+ for (; dt.length; )
160
+ dt.pop()();
161
161
  We = !1, Ue.clear(), pe(e);
162
162
  }
163
- function Qr(e) {
163
+ function Zr(e) {
164
164
  if (e.fragment !== null) {
165
165
  e.update(), q(e.before_update);
166
166
  const t = e.dirty;
167
167
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
168
168
  }
169
169
  }
170
- function qr(e) {
170
+ function Qr(e) {
171
171
  const t = [], r = [];
172
172
  ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
173
173
  }
174
- const Jr = /* @__PURE__ */ new Set();
175
- function jt(e, t) {
176
- e && e.i && (Jr.delete(e), e.i(t));
174
+ const qr = /* @__PURE__ */ new Set();
175
+ function $t(e, t) {
176
+ e && e.i && (qr.delete(e), e.i(t));
177
177
  }
178
178
  function ie(e) {
179
179
  return e?.length !== void 0 ? e : Array.from(e);
180
180
  }
181
- function Vt(e, t) {
181
+ function jt(e, t) {
182
182
  e.d(1), t.delete(e.key);
183
183
  }
184
- function Xt(e, t, r, n, i, s, o, a, h, l, u, m) {
184
+ function Vt(e, t, r, n, i, s, o, a, h, l, u, m) {
185
185
  let f = e.length, p = s.length, g = f;
186
186
  const b = {};
187
187
  for (; g--; )
@@ -194,7 +194,7 @@ function Xt(e, t, r, n, i, s, o, a, h, l, u, m) {
194
194
  }
195
195
  const U = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
196
196
  function T(H) {
197
- jt(H, 1), H.m(a, u), o.set(H.key, H), u = H.first, p--;
197
+ $t(H, 1), H.m(a, u), o.set(H.key, H), u = H.first, p--;
198
198
  }
199
199
  for (; f && p; ) {
200
200
  const H = d[p - 1], F = e[f - 1], R = H.key, Y = F.key;
@@ -208,21 +208,21 @@ function Xt(e, t, r, n, i, s, o, a, h, l, u, m) {
208
208
  T(d[p - 1]);
209
209
  return q(w), d;
210
210
  }
211
- function Yr(e, t, r) {
211
+ function Jr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
213
  n && n.m(t, r), ze(() => {
214
- const s = e.$$.on_mount.map(kt).filter(nt);
214
+ const s = e.$$.on_mount.map(Gt).filter(nt);
215
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
216
216
  }), i.forEach(ze);
217
217
  }
218
- function Kr(e, t) {
218
+ function Yr(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && (qr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Qr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
221
  }
222
- function en(e, t) {
223
- e.$$.dirty[0] === -1 && (re.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function Kr(e, t) {
223
+ e.$$.dirty[0] === -1 && (re.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function tn(e, t, r, n, i, s, o = null, a = [-1]) {
225
+ function en(e, t, r, n, i, s, o = null, a = [-1]) {
226
226
  const h = ye;
227
227
  pe(e);
228
228
  const l = e.$$ = {
@@ -232,7 +232,7 @@ function tn(e, t, r, n, i, s, o = null, a = [-1]) {
232
232
  props: s,
233
233
  update: k,
234
234
  not_equal: i,
235
- bound: mt(),
235
+ bound: ft(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,28 +241,28 @@ function tn(e, t, r, n, i, s, o = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (h ? h.$$.context : [])),
243
243
  // everything else
244
- callbacks: mt(),
244
+ callbacks: ft(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || h.$$.root
248
248
  };
249
249
  o && o(l.root);
250
250
  let u = !1;
251
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
251
+ if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
252
252
  const g = p.length ? p[0] : f;
253
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && en(e, m)), f;
254
- }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
253
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Kr(e, m)), f;
254
+ }), l.update(), u = !0, q(l.before_update), l.fragment = n(l.ctx), t.target) {
255
255
  if (t.hydrate) {
256
- const m = $r(t.target);
256
+ const m = kr(t.target);
257
257
  l.fragment && l.fragment.l(m), m.forEach(D);
258
258
  } else
259
259
  l.fragment && l.fragment.c();
260
- t.intro && jt(e.$$.fragment), Yr(e, t.target, t.anchor), B();
260
+ t.intro && $t(e.$$.fragment), Jr(e, t.target, t.anchor), B();
261
261
  }
262
262
  pe(h);
263
263
  }
264
- let Wt;
265
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
264
+ let Xt;
265
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
266
266
  /** The Svelte component constructor */
267
267
  $$ctor;
268
268
  /** Slots */
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
321
321
  };
322
322
  if (await Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const t = {}, r = jr(this);
324
+ const t = {}, r = $r(this);
325
325
  for (const i of this.$$s)
326
326
  i in r && (t[i] = [e(i)]);
327
327
  for (const i of this.attributes) {
@@ -408,8 +408,8 @@ function Te(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function rn(e, t, r, n, i, s) {
412
- let o = class extends Wt {
411
+ function tn(e, t, r, n, i, s) {
412
+ let o = class extends Xt {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -437,7 +437,7 @@ function rn(e, t, r, n, i, s) {
437
437
  }), e.element = /** @type {any} */
438
438
  o, o;
439
439
  }
440
- class nn {
440
+ class rn {
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -456,7 +456,7 @@ class nn {
456
456
  $$set = void 0;
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- Kr(this, 1), this.$destroy = k;
459
+ Yr(this, 1), this.$destroy = k;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -478,18 +478,18 @@ class nn {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const on = "4";
485
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
486
- function sn(e, t) {
484
+ const nn = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
486
+ function on(e, t) {
487
487
  if (e) {
488
488
  const r = document.createElement("style");
489
489
  r.innerHTML = t, e.appendChild(r);
490
490
  }
491
491
  }
492
- function an(e, t) {
492
+ function sn(e, t) {
493
493
  const r = new URL(t);
494
494
  fetch(r.href).then((n) => n.text()).then((n) => {
495
495
  const i = document.createElement("style");
@@ -498,7 +498,7 @@ function an(e, t) {
498
498
  console.error("There was an error while trying to load client styling from URL", n);
499
499
  });
500
500
  }
501
- function ln(e, t, r) {
501
+ function an(e, t, r) {
502
502
  if (window.emMessageBus) {
503
503
  const n = document.createElement("style");
504
504
  window.emMessageBus.subscribe(t, (i) => {
@@ -507,7 +507,7 @@ function ln(e, t, r) {
507
507
  }
508
508
  }
509
509
  const te = [];
510
- function un(e, t) {
510
+ function ln(e, t) {
511
511
  return {
512
512
  subscribe: Le(e, t).subscribe
513
513
  };
@@ -516,7 +516,7 @@ function Le(e, t = k) {
516
516
  let r;
517
517
  const n = /* @__PURE__ */ new Set();
518
518
  function i(a) {
519
- if ($t(e, a) && (e = a, r)) {
519
+ if (kt(e, a) && (e = a, r)) {
520
520
  const h = !te.length;
521
521
  for (const l of n)
522
522
  l[1](), te.push(l, e);
@@ -543,7 +543,7 @@ function ue(e, t, r) {
543
543
  if (!i.every(Boolean))
544
544
  throw new Error("derived() expects stores as input, got a falsy value");
545
545
  const s = t.length < 2;
546
- return un(r, (o, a) => {
546
+ return ln(r, (o, a) => {
547
547
  let h = !1;
548
548
  const l = [];
549
549
  let u = 0, m = k;
@@ -554,7 +554,7 @@ function ue(e, t, r) {
554
554
  const g = t(n ? l[0] : l, o, a);
555
555
  s ? o(g) : m = nt(g) ? g : k;
556
556
  }, p = i.map(
557
- (g, b) => Fr(
557
+ (g, b) => Or(
558
558
  g,
559
559
  (d) => {
560
560
  l[b] = d, u &= ~(1 << b), h && f();
@@ -569,35 +569,35 @@ function ue(e, t, r) {
569
569
  };
570
570
  });
571
571
  }
572
- function hn(e) {
573
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
572
+ function un(e) {
573
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
574
  }
575
- var cn = function(t) {
576
- return fn(t) && !mn(t);
575
+ var hn = function(t) {
576
+ return cn(t) && !fn(t);
577
577
  };
578
- function fn(e) {
578
+ function cn(e) {
579
579
  return !!e && typeof e == "object";
580
580
  }
581
- function mn(e) {
581
+ function fn(e) {
582
582
  var t = Object.prototype.toString.call(e);
583
- return t === "[object RegExp]" || t === "[object Date]" || gn(e);
583
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
584
584
  }
585
- var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
586
- function gn(e) {
587
- return e.$$typeof === pn;
585
+ var mn = typeof Symbol == "function" && Symbol.for, dn = mn ? Symbol.for("react.element") : 60103;
586
+ function pn(e) {
587
+ return e.$$typeof === dn;
588
588
  }
589
- function bn(e) {
589
+ function gn(e) {
590
590
  return Array.isArray(e) ? [] : {};
591
591
  }
592
- function ve(e, t) {
593
- return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
592
+ function _e(e, t) {
593
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(gn(e), e, t) : e;
594
594
  }
595
- function yn(e, t, r) {
595
+ function bn(e, t, r) {
596
596
  return e.concat(t).map(function(n) {
597
- return ve(n, r);
597
+ return _e(n, r);
598
598
  });
599
599
  }
600
- function vn(e, t) {
600
+ function yn(e, t) {
601
601
  if (!t.customMerge)
602
602
  return oe;
603
603
  var r = t.customMerge(e);
@@ -608,31 +608,31 @@ function _n(e) {
608
608
  return Object.propertyIsEnumerable.call(e, t);
609
609
  }) : [];
610
610
  }
611
- function gt(e) {
611
+ function pt(e) {
612
612
  return Object.keys(e).concat(_n(e));
613
613
  }
614
- function zt(e, t) {
614
+ function Wt(e, t) {
615
615
  try {
616
616
  return t in e;
617
617
  } catch {
618
618
  return !1;
619
619
  }
620
620
  }
621
- function En(e, t) {
622
- return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
+ function vn(e, t) {
622
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
623
623
  }
624
- function xn(e, t, r) {
624
+ function En(e, t, r) {
625
625
  var n = {};
626
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
627
- n[i] = ve(e[i], r);
628
- }), gt(t).forEach(function(i) {
629
- En(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
626
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
627
+ n[i] = _e(e[i], r);
628
+ }), pt(t).forEach(function(i) {
629
+ vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
630
630
  }), n;
631
631
  }
632
632
  function oe(e, t, r) {
633
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ve;
633
+ r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = _e;
634
634
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
635
- return s ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ve(t, r);
635
+ return s ? n ? r.arrayMerge(e, t, r) : En(e, t, r) : _e(t, r);
636
636
  }
637
637
  oe.all = function(t, r) {
638
638
  if (!Array.isArray(t))
@@ -641,8 +641,8 @@ oe.all = function(t, r) {
641
641
  return oe(n, i, r);
642
642
  }, {});
643
643
  };
644
- var Cn = oe, wn = Cn;
645
- const Hn = /* @__PURE__ */ hn(wn);
644
+ var xn = oe, Cn = xn;
645
+ const wn = /* @__PURE__ */ un(Cn);
646
646
  /*! *****************************************************************************
647
647
  Copyright (c) Microsoft Corporation.
648
648
 
@@ -674,17 +674,17 @@ function Ne(e, t) {
674
674
  }
675
675
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
676
676
  }
677
- var _ = function() {
678
- return _ = Object.assign || function(t) {
677
+ var v = function() {
678
+ return v = Object.assign || function(t) {
679
679
  for (var r, n = 1, i = arguments.length; n < i; n++) {
680
680
  r = arguments[n];
681
681
  for (var s in r)
682
682
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
683
683
  }
684
684
  return t;
685
- }, _.apply(this, arguments);
685
+ }, v.apply(this, arguments);
686
686
  };
687
- function Sn(e, t) {
687
+ function Hn(e, t) {
688
688
  var r = {};
689
689
  for (var n in e)
690
690
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -700,55 +700,57 @@ function Ge(e, t, r) {
700
700
  return e.concat(s || t);
701
701
  }
702
702
  function ke(e, t) {
703
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : An;
703
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Tn;
704
704
  return i(e, {
705
705
  cache: r,
706
706
  serializer: n
707
707
  });
708
708
  }
709
- function Tn(e) {
709
+ function Sn(e) {
710
710
  return e == null || typeof e == "number" || typeof e == "boolean";
711
711
  }
712
- function Zt(e, t, r, n) {
713
- var i = Tn(n) ? n : r(n), s = t.get(i);
712
+ function zt(e, t, r, n) {
713
+ var i = Sn(n) ? n : r(n), s = t.get(i);
714
714
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
715
715
  }
716
- function Qt(e, t, r) {
716
+ function Zt(e, t, r) {
717
717
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
718
718
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
719
719
  }
720
720
  function ot(e, t, r, n, i) {
721
721
  return r.bind(t, e, n, i);
722
722
  }
723
- function An(e, t) {
724
- var r = e.length === 1 ? Zt : Qt;
723
+ function Tn(e, t) {
724
+ var r = e.length === 1 ? zt : Zt;
725
725
  return ot(e, this, r, t.cache.create(), t.serializer);
726
726
  }
727
- function Bn(e, t) {
728
- return ot(e, this, Qt, t.cache.create(), t.serializer);
729
- }
730
- function In(e, t) {
727
+ function An(e, t) {
731
728
  return ot(e, this, Zt, t.cache.create(), t.serializer);
732
729
  }
733
- var Mn = function() {
734
- return JSON.stringify(arguments);
735
- };
736
- function st() {
737
- this.cache = /* @__PURE__ */ Object.create(null);
730
+ function Bn(e, t) {
731
+ return ot(e, this, zt, t.cache.create(), t.serializer);
738
732
  }
739
- st.prototype.get = function(e) {
740
- return this.cache[e];
741
- };
742
- st.prototype.set = function(e, t) {
743
- this.cache[e] = t;
744
- };
745
- var Ln = {
733
+ var In = function() {
734
+ return JSON.stringify(arguments);
735
+ }, Mn = (
736
+ /** @class */
737
+ function() {
738
+ function e() {
739
+ this.cache = /* @__PURE__ */ Object.create(null);
740
+ }
741
+ return e.prototype.get = function(t) {
742
+ return this.cache[t];
743
+ }, e.prototype.set = function(t, r) {
744
+ this.cache[t] = r;
745
+ }, e;
746
+ }()
747
+ ), Ln = {
746
748
  create: function() {
747
- return new st();
749
+ return new Mn();
748
750
  }
749
751
  }, $e = {
750
- variadic: Bn,
751
- monadic: In
752
+ variadic: An,
753
+ monadic: Bn
752
754
  }, y;
753
755
  (function(e) {
754
756
  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";
@@ -761,40 +763,40 @@ var se;
761
763
  (function(e) {
762
764
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
763
765
  })(se || (se = {}));
764
- function bt(e) {
766
+ function gt(e) {
765
767
  return e.type === A.literal;
766
768
  }
767
769
  function Nn(e) {
768
770
  return e.type === A.argument;
769
771
  }
770
- function qt(e) {
772
+ function Qt(e) {
771
773
  return e.type === A.number;
772
774
  }
773
- function Jt(e) {
775
+ function qt(e) {
774
776
  return e.type === A.date;
775
777
  }
776
- function Yt(e) {
778
+ function Jt(e) {
777
779
  return e.type === A.time;
778
780
  }
779
- function Kt(e) {
781
+ function Yt(e) {
780
782
  return e.type === A.select;
781
783
  }
782
- function er(e) {
784
+ function Kt(e) {
783
785
  return e.type === A.plural;
784
786
  }
785
787
  function Pn(e) {
786
788
  return e.type === A.pound;
787
789
  }
788
- function tr(e) {
790
+ function er(e) {
789
791
  return e.type === A.tag;
790
792
  }
791
- function rr(e) {
793
+ function tr(e) {
792
794
  return !!(e && typeof e == "object" && e.type === se.number);
793
795
  }
794
796
  function Qe(e) {
795
797
  return !!(e && typeof e == "object" && e.type === se.dateTime);
796
798
  }
797
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
799
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
798
800
  function Fn(e) {
799
801
  var t = {};
800
802
  return e.replace(On, function(r) {
@@ -908,14 +910,14 @@ function Dn(e) {
908
910
  function Un(e) {
909
911
  return e.replace(/^(.*?)-/, "");
910
912
  }
911
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
912
- function vt(e) {
913
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
914
+ function yt(e) {
913
915
  var t = {};
914
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
916
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
915
917
  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)), "";
916
918
  }), t;
917
919
  }
918
- function sr(e) {
920
+ function or(e) {
919
921
  switch (e) {
920
922
  case "sign-auto":
921
923
  return {
@@ -963,14 +965,14 @@ function kn(e) {
963
965
  notation: "scientific"
964
966
  }, e = e.slice(1)), t) {
965
967
  var r = e.slice(0, 2);
966
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
968
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
967
969
  throw new Error("Malformed concise eng/scientific notation");
968
970
  t.minimumIntegerDigits = e.length;
969
971
  }
970
972
  return t;
971
973
  }
972
974
  function _t(e) {
973
- var t = {}, r = sr(e);
975
+ var t = {}, r = or(e);
974
976
  return r || t;
975
977
  }
976
978
  function $n(e) {
@@ -1008,13 +1010,13 @@ function $n(e) {
1008
1010
  t.notation = "compact", t.compactDisplay = "long";
1009
1011
  continue;
1010
1012
  case "scientific":
1011
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1012
- return _(_({}, h), _t(l));
1013
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1014
+ return v(v({}, h), _t(l));
1013
1015
  }, {}));
1014
1016
  continue;
1015
1017
  case "engineering":
1016
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1017
- return _(_({}, h), _t(l));
1018
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1019
+ return v(v({}, h), _t(l));
1018
1020
  }, {}));
1019
1021
  continue;
1020
1022
  case "notation-simple":
@@ -1072,28 +1074,28 @@ function $n(e) {
1072
1074
  });
1073
1075
  continue;
1074
1076
  }
1075
- if (or.test(i.stem)) {
1077
+ if (ir.test(i.stem)) {
1076
1078
  t.minimumIntegerDigits = i.stem.length;
1077
1079
  continue;
1078
1080
  }
1079
- if (yt.test(i.stem)) {
1081
+ if (bt.test(i.stem)) {
1080
1082
  if (i.options.length > 1)
1081
1083
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1082
- i.stem.replace(yt, function(h, l, u, m, f, p) {
1084
+ i.stem.replace(bt, function(h, l, u, m, f, p) {
1083
1085
  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), "";
1084
1086
  });
1085
1087
  var s = i.options[0];
1086
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), vt(s)));
1088
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), yt(s)));
1087
1089
  continue;
1088
1090
  }
1089
- if (ir.test(i.stem)) {
1090
- t = _(_({}, t), vt(i.stem));
1091
+ if (nr.test(i.stem)) {
1092
+ t = v(v({}, t), yt(i.stem));
1091
1093
  continue;
1092
1094
  }
1093
- var o = sr(i.stem);
1094
- o && (t = _(_({}, t), o));
1095
+ var o = or(i.stem);
1096
+ o && (t = v(v({}, t), o));
1095
1097
  var a = kn(i.stem);
1096
- a && (t = _(_({}, t), a));
1098
+ a && (t = v(v({}, t), a));
1097
1099
  }
1098
1100
  return t;
1099
1101
  }
@@ -2550,20 +2552,20 @@ function Vn(e) {
2550
2552
  var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2551
2553
  return i[0];
2552
2554
  }
2553
- var je, Xn = new RegExp("^".concat(nr.source, "*")), Wn = new RegExp("".concat(nr.source, "*$"));
2554
- function v(e, t) {
2555
+ var je, Xn = new RegExp("^".concat(rr.source, "*")), Wn = new RegExp("".concat(rr.source, "*$"));
2556
+ function _(e, t) {
2555
2557
  return { start: e, end: t };
2556
2558
  }
2557
2559
  var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, Qn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Yn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, ei = Kn ? Number.isSafeInteger : function(e) {
2558
2560
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2559
2561
  }, qe = !0;
2560
2562
  try {
2561
- var ti = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2563
+ var ti = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2562
2564
  qe = ((je = ti.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2563
2565
  } catch {
2564
2566
  qe = !1;
2565
2567
  }
2566
- var Et = zn ? (
2568
+ var vt = zn ? (
2567
2569
  // Native
2568
2570
  function(t, r, n) {
2569
2571
  return t.startsWith(r, n);
@@ -2585,7 +2587,7 @@ var Et = zn ? (
2585
2587
  }
2586
2588
  return n;
2587
2589
  }
2588
- ), xt = (
2590
+ ), Et = (
2589
2591
  // native
2590
2592
  Qn ? Object.fromEntries : (
2591
2593
  // Ponyfill
@@ -2597,7 +2599,7 @@ var Et = zn ? (
2597
2599
  return r;
2598
2600
  }
2599
2601
  )
2600
- ), ar = qn ? (
2602
+ ), sr = qn ? (
2601
2603
  // Native
2602
2604
  function(t, r) {
2603
2605
  return t.codePointAt(r);
@@ -2632,23 +2634,23 @@ var Et = zn ? (
2632
2634
  return t.replace(Wn, "");
2633
2635
  }
2634
2636
  );
2635
- function lr(e, t) {
2637
+ function ar(e, t) {
2636
2638
  return new RegExp(e, t);
2637
2639
  }
2638
2640
  var Ye;
2639
2641
  if (qe) {
2640
- var Ct = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2642
+ var xt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2641
2643
  Ye = function(t, r) {
2642
2644
  var n;
2643
- Ct.lastIndex = r;
2644
- var i = Ct.exec(t);
2645
+ xt.lastIndex = r;
2646
+ var i = xt.exec(t);
2645
2647
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2646
2648
  };
2647
2649
  } else
2648
2650
  Ye = function(t, r) {
2649
2651
  for (var n = []; ; ) {
2650
- var i = ar(t, r);
2651
- if (i === void 0 || ur(i) || ai(i))
2652
+ var i = sr(t, r);
2653
+ if (i === void 0 || lr(i) || ai(i))
2652
2654
  break;
2653
2655
  n.push(i), r += i >= 65536 ? 2 : 1;
2654
2656
  }
@@ -2679,12 +2681,12 @@ var ii = (
2679
2681
  var a = this.clonePosition();
2680
2682
  this.bump(), i.push({
2681
2683
  type: A.pound,
2682
- location: v(a, this.clonePosition())
2684
+ location: _(a, this.clonePosition())
2683
2685
  });
2684
2686
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2685
2687
  if (n)
2686
2688
  break;
2687
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2689
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2688
2690
  } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2689
2691
  var o = this.parseTag(t, r);
2690
2692
  if (o.err)
@@ -2708,7 +2710,7 @@ var ii = (
2708
2710
  val: {
2709
2711
  type: A.literal,
2710
2712
  value: "<".concat(i, "/>"),
2711
- location: v(n, this.clonePosition())
2713
+ location: _(n, this.clonePosition())
2712
2714
  },
2713
2715
  err: null
2714
2716
  };
@@ -2719,21 +2721,21 @@ var ii = (
2719
2721
  var o = s.val, a = this.clonePosition();
2720
2722
  if (this.bumpIf("</")) {
2721
2723
  if (this.isEOF() || !Ke(this.char()))
2722
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2724
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2723
2725
  var h = this.clonePosition(), l = this.parseTagName();
2724
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2726
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2725
2727
  val: {
2726
2728
  type: A.tag,
2727
2729
  value: i,
2728
2730
  children: o,
2729
- location: v(n, this.clonePosition())
2731
+ location: _(n, this.clonePosition())
2730
2732
  },
2731
2733
  err: null
2732
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2734
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2733
2735
  } else
2734
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2736
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2735
2737
  } else
2736
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2738
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2737
2739
  }, e.prototype.parseTagName = function() {
2738
2740
  var t = this.offset();
2739
2741
  for (this.bump(); !this.isEOF() && si(this.char()); )
@@ -2758,7 +2760,7 @@ var ii = (
2758
2760
  }
2759
2761
  break;
2760
2762
  }
2761
- var h = v(n, this.clonePosition());
2763
+ var h = _(n, this.clonePosition());
2762
2764
  return {
2763
2765
  val: { type: A.literal, value: i, location: h },
2764
2766
  err: null
@@ -2808,14 +2810,14 @@ var ii = (
2808
2810
  }, e.prototype.parseArgument = function(t, r) {
2809
2811
  var n = this.clonePosition();
2810
2812
  if (this.bump(), this.bumpSpace(), this.isEOF())
2811
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2813
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2812
2814
  if (this.char() === 125)
2813
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2815
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2814
2816
  var i = this.parseIdentifierIfPossible().value;
2815
2817
  if (!i)
2816
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2818
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2817
2819
  if (this.bumpSpace(), this.isEOF())
2818
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2820
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2819
2821
  switch (this.char()) {
2820
2822
  case 125:
2821
2823
  return this.bump(), {
@@ -2823,25 +2825,25 @@ var ii = (
2823
2825
  type: A.argument,
2824
2826
  // value does not include the opening and closing braces.
2825
2827
  value: i,
2826
- location: v(n, this.clonePosition())
2828
+ location: _(n, this.clonePosition())
2827
2829
  },
2828
2830
  err: null
2829
2831
  };
2830
2832
  case 44:
2831
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2833
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2832
2834
  default:
2833
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2835
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2834
2836
  }
2835
2837
  }, e.prototype.parseIdentifierIfPossible = function() {
2836
2838
  var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2837
2839
  this.bumpTo(i);
2838
- var s = this.clonePosition(), o = v(t, s);
2840
+ var s = this.clonePosition(), o = _(t, s);
2839
2841
  return { value: n, location: o };
2840
2842
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2841
2843
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2842
2844
  switch (a) {
2843
2845
  case "":
2844
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
2846
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
2845
2847
  case "number":
2846
2848
  case "date":
2847
2849
  case "time": {
@@ -2854,15 +2856,15 @@ var ii = (
2854
2856
  return m;
2855
2857
  var f = ni(m.val);
2856
2858
  if (f.length === 0)
2857
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2858
- var p = v(u, this.clonePosition());
2859
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2860
+ var p = _(u, this.clonePosition());
2859
2861
  l = { style: f, styleLocation: p };
2860
2862
  }
2861
2863
  var g = this.tryParseArgumentClose(i);
2862
2864
  if (g.err)
2863
2865
  return g;
2864
- var b = v(i, this.clonePosition());
2865
- if (l && Et(l?.style, "::", 0)) {
2866
+ var b = _(i, this.clonePosition());
2867
+ if (l && vt(l?.style, "::", 0)) {
2866
2868
  var d = ri(l.style.slice(2));
2867
2869
  if (a === "number") {
2868
2870
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
@@ -2902,12 +2904,12 @@ var ii = (
2902
2904
  case "select": {
2903
2905
  var w = this.clonePosition();
2904
2906
  if (this.bumpSpace(), !this.bumpIf(","))
2905
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
2907
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, v({}, w)));
2906
2908
  this.bumpSpace();
2907
2909
  var U = this.parseIdentifierIfPossible(), N = 0;
2908
2910
  if (a !== "select" && U.value === "offset") {
2909
2911
  if (!this.bumpIf(":"))
2910
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2912
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2911
2913
  this.bumpSpace();
2912
2914
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2913
2915
  if (m.err)
@@ -2920,12 +2922,12 @@ var ii = (
2920
2922
  var g = this.tryParseArgumentClose(i);
2921
2923
  if (g.err)
2922
2924
  return g;
2923
- var H = v(i, this.clonePosition());
2925
+ var H = _(i, this.clonePosition());
2924
2926
  return a === "select" ? {
2925
2927
  val: {
2926
2928
  type: A.select,
2927
2929
  value: n,
2928
- options: xt(T.val),
2930
+ options: Et(T.val),
2929
2931
  location: H
2930
2932
  },
2931
2933
  err: null
@@ -2933,7 +2935,7 @@ var ii = (
2933
2935
  val: {
2934
2936
  type: A.plural,
2935
2937
  value: n,
2936
- options: xt(T.val),
2938
+ options: Et(T.val),
2937
2939
  offset: N,
2938
2940
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2939
2941
  location: H
@@ -2942,10 +2944,10 @@ var ii = (
2942
2944
  };
2943
2945
  }
2944
2946
  default:
2945
- return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
2947
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
2946
2948
  }
2947
2949
  }, e.prototype.tryParseArgumentClose = function(t) {
2948
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2950
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2949
2951
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2950
2952
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2951
2953
  var n = this.char();
@@ -2954,7 +2956,7 @@ var ii = (
2954
2956
  this.bump();
2955
2957
  var i = this.clonePosition();
2956
2958
  if (!this.bumpUntil("'"))
2957
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2959
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2958
2960
  this.bump();
2959
2961
  break;
2960
2962
  }
@@ -3005,7 +3007,7 @@ var ii = (
3005
3007
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3006
3008
  if (f.err)
3007
3009
  return f;
3008
- u = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3010
+ u = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3009
3011
  } else
3010
3012
  break;
3011
3013
  }
@@ -3014,7 +3016,7 @@ var ii = (
3014
3016
  l === "other" && (o = !0), this.bumpSpace();
3015
3017
  var p = this.clonePosition();
3016
3018
  if (!this.bumpIf("{"))
3017
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3019
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3018
3020
  var g = this.parseMessage(t + 1, r, n);
3019
3021
  if (g.err)
3020
3022
  return g;
@@ -3025,11 +3027,11 @@ var ii = (
3025
3027
  l,
3026
3028
  {
3027
3029
  value: g.val,
3028
- location: v(p, this.clonePosition())
3030
+ location: _(p, this.clonePosition())
3029
3031
  }
3030
3032
  ]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
3031
3033
  }
3032
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3034
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3033
3035
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3034
3036
  var n = 1, i = this.clonePosition();
3035
3037
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3040,7 +3042,7 @@ var ii = (
3040
3042
  else
3041
3043
  break;
3042
3044
  }
3043
- var h = v(i, this.clonePosition());
3045
+ var h = _(i, this.clonePosition());
3044
3046
  return s ? (o *= n, ei(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3045
3047
  }, e.prototype.offset = function() {
3046
3048
  return this.position.offset;
@@ -3056,7 +3058,7 @@ var ii = (
3056
3058
  var t = this.position.offset;
3057
3059
  if (t >= this.message.length)
3058
3060
  throw Error("out of bound");
3059
- var r = ar(this.message, t);
3061
+ var r = sr(this.message, t);
3060
3062
  if (r === void 0)
3061
3063
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3062
3064
  return r;
@@ -3075,7 +3077,7 @@ var ii = (
3075
3077
  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);
3076
3078
  }
3077
3079
  }, e.prototype.bumpIf = function(t) {
3078
- if (Et(this.message, t, this.offset())) {
3080
+ if (vt(this.message, t, this.offset())) {
3079
3081
  for (var r = 0; r < t.length; r++)
3080
3082
  this.bump();
3081
3083
  return !0;
@@ -3097,7 +3099,7 @@ var ii = (
3097
3099
  break;
3098
3100
  }
3099
3101
  }, e.prototype.bumpSpace = function() {
3100
- for (; !this.isEOF() && ur(this.char()); )
3102
+ for (; !this.isEOF() && lr(this.char()); )
3101
3103
  this.bump();
3102
3104
  }, e.prototype.peek = function() {
3103
3105
  if (this.isEOF())
@@ -3116,7 +3118,7 @@ function oi(e) {
3116
3118
  function si(e) {
3117
3119
  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;
3118
3120
  }
3119
- function ur(e) {
3121
+ function lr(e) {
3120
3122
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3121
3123
  }
3122
3124
  function ai(e) {
@@ -3124,15 +3126,15 @@ function ai(e) {
3124
3126
  }
3125
3127
  function et(e) {
3126
3128
  e.forEach(function(t) {
3127
- if (delete t.location, Kt(t) || er(t))
3129
+ if (delete t.location, Yt(t) || Kt(t))
3128
3130
  for (var r in t.options)
3129
3131
  delete t.options[r].location, et(t.options[r].value);
3130
3132
  else
3131
- qt(t) && rr(t.style) || (Jt(t) || Yt(t)) && Qe(t.style) ? delete t.style.location : tr(t) && et(t.children);
3133
+ Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Qe(t.style) ? delete t.style.location : er(t) && et(t.children);
3132
3134
  });
3133
3135
  }
3134
3136
  function li(e, t) {
3135
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3137
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
3138
  var r = new ii(e, t).parse();
3137
3139
  if (r.err) {
3138
3140
  var n = SyntaxError(y[r.err.kind]);
@@ -3156,7 +3158,7 @@ var Pe = (
3156
3158
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3157
3159
  }, t;
3158
3160
  }(Error)
3159
- ), wt = (
3161
+ ), Ct = (
3160
3162
  /** @class */
3161
3163
  function(e) {
3162
3164
  Ne(t, e);
@@ -3197,7 +3199,7 @@ function fi(e) {
3197
3199
  return typeof e == "function";
3198
3200
  }
3199
3201
  function Ae(e, t, r, n, i, s, o) {
3200
- if (e.length === 1 && bt(e[0]))
3202
+ if (e.length === 1 && gt(e[0]))
3201
3203
  return [
3202
3204
  {
3203
3205
  type: P.literal,
@@ -3206,7 +3208,7 @@ function Ae(e, t, r, n, i, s, o) {
3206
3208
  ];
3207
3209
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3208
3210
  var u = l[h];
3209
- if (bt(u)) {
3211
+ if (gt(u)) {
3210
3212
  a.push({
3211
3213
  type: P.literal,
3212
3214
  value: u.value
@@ -3231,7 +3233,7 @@ function Ae(e, t, r, n, i, s, o) {
3231
3233
  });
3232
3234
  continue;
3233
3235
  }
3234
- if (Jt(u)) {
3236
+ if (qt(u)) {
3235
3237
  var p = typeof u.style == "string" ? n.date[u.style] : Qe(u.style) ? u.style.parsedOptions : void 0;
3236
3238
  a.push({
3237
3239
  type: P.literal,
@@ -3239,7 +3241,7 @@ function Ae(e, t, r, n, i, s, o) {
3239
3241
  });
3240
3242
  continue;
3241
3243
  }
3242
- if (Yt(u)) {
3244
+ if (Jt(u)) {
3243
3245
  var p = typeof u.style == "string" ? n.time[u.style] : Qe(u.style) ? u.style.parsedOptions : n.time.medium;
3244
3246
  a.push({
3245
3247
  type: P.literal,
@@ -3247,15 +3249,15 @@ function Ae(e, t, r, n, i, s, o) {
3247
3249
  });
3248
3250
  continue;
3249
3251
  }
3250
- if (qt(u)) {
3251
- var p = typeof u.style == "string" ? n.number[u.style] : rr(u.style) ? u.style.parsedOptions : void 0;
3252
+ if (Qt(u)) {
3253
+ var p = typeof u.style == "string" ? n.number[u.style] : tr(u.style) ? u.style.parsedOptions : void 0;
3252
3254
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3253
3255
  type: P.literal,
3254
3256
  value: r.getNumberFormat(t, p).format(f)
3255
3257
  });
3256
3258
  continue;
3257
3259
  }
3258
- if (tr(u)) {
3260
+ if (er(u)) {
3259
3261
  var g = u.children, b = u.value, d = i[b];
3260
3262
  if (!fi(d))
3261
3263
  throw new ui(b, "function", o);
@@ -3269,14 +3271,14 @@ function Ae(e, t, r, n, i, s, o) {
3269
3271
  };
3270
3272
  }));
3271
3273
  }
3272
- if (Kt(u)) {
3274
+ if (Yt(u)) {
3273
3275
  var w = u.options[f] || u.options.other;
3274
3276
  if (!w)
3275
- throw new wt(u.value, f, Object.keys(u.options), o);
3277
+ throw new Ct(u.value, f, Object.keys(u.options), o);
3276
3278
  a.push.apply(a, Ae(w.value, t, r, n, i));
3277
3279
  continue;
3278
3280
  }
3279
- if (er(u)) {
3281
+ if (Kt(u)) {
3280
3282
  var w = u.options["=".concat(f)];
3281
3283
  if (!w) {
3282
3284
  if (!Intl.PluralRules)
@@ -3287,7 +3289,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3287
3289
  w = u.options[U] || u.options.other;
3288
3290
  }
3289
3291
  if (!w)
3290
- throw new wt(u.value, f, Object.keys(u.options), o);
3292
+ throw new Ct(u.value, f, Object.keys(u.options), o);
3291
3293
  a.push.apply(a, Ae(w.value, t, r, n, i, f - (u.offset || 0)));
3292
3294
  continue;
3293
3295
  }
@@ -3295,14 +3297,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3295
3297
  return ci(a);
3296
3298
  }
3297
3299
  function mi(e, t) {
3298
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3299
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3300
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3301
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3300
3302
  }, {})) : e;
3301
3303
  }
3302
3304
  function di(e, t) {
3303
3305
  return t ? Object.keys(e).reduce(function(r, n) {
3304
3306
  return r[n] = mi(e[n], t[n]), r;
3305
- }, _({}, e)) : e;
3307
+ }, v({}, e)) : e;
3306
3308
  }
3307
3309
  function Ve(e) {
3308
3310
  return {
@@ -3382,8 +3384,8 @@ var gi = (
3382
3384
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3383
3385
  var o = i || {};
3384
3386
  o.formatters;
3385
- var a = Sn(o, ["formatters"]);
3386
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3387
+ var a = Hn(o, ["formatters"]);
3388
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3387
3389
  } else
3388
3390
  this.ast = t;
3389
3391
  if (!Array.isArray(this.ast))
@@ -3483,30 +3485,30 @@ function bi(e, t) {
3483
3485
  n = void 0;
3484
3486
  return n;
3485
3487
  }
3486
- const X = {}, yi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), hr = (e, t) => {
3488
+ const X = {}, yi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), ur = (e, t) => {
3487
3489
  if (t == null)
3488
3490
  return;
3489
3491
  if (t in X && e in X[t])
3490
3492
  return X[t][e];
3491
3493
  const r = Oe(t);
3492
3494
  for (let n = 0; n < r.length; n++) {
3493
- const i = r[n], s = _i(i, e);
3495
+ const i = r[n], s = vi(i, e);
3494
3496
  if (s)
3495
3497
  return yi(e, t, s);
3496
3498
  }
3497
3499
  };
3498
- let at;
3500
+ let st;
3499
3501
  const he = Le({});
3500
- function vi(e) {
3501
- return at[e] || null;
3502
+ function _i(e) {
3503
+ return st[e] || null;
3502
3504
  }
3503
- function cr(e) {
3504
- return e in at;
3505
+ function hr(e) {
3506
+ return e in st;
3505
3507
  }
3506
- function _i(e, t) {
3507
- if (!cr(e))
3508
+ function vi(e, t) {
3509
+ if (!hr(e))
3508
3510
  return null;
3509
- const r = vi(e);
3511
+ const r = _i(e);
3510
3512
  return bi(r, t);
3511
3513
  }
3512
3514
  function Ei(e) {
@@ -3515,28 +3517,28 @@ function Ei(e) {
3515
3517
  const t = Oe(e);
3516
3518
  for (let r = 0; r < t.length; r++) {
3517
3519
  const n = t[r];
3518
- if (cr(n))
3520
+ if (hr(n))
3519
3521
  return n;
3520
3522
  }
3521
3523
  }
3522
- function fr(e, ...t) {
3523
- delete X[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3524
+ function cr(e, ...t) {
3525
+ delete X[e], he.update((r) => (r[e] = wn.all([r[e] || {}, ...t]), r));
3524
3526
  }
3525
3527
  ue(
3526
3528
  [he],
3527
3529
  ([e]) => Object.keys(e)
3528
3530
  );
3529
- he.subscribe((e) => at = e);
3531
+ he.subscribe((e) => st = e);
3530
3532
  const Be = {};
3531
3533
  function xi(e, t) {
3532
3534
  Be[e].delete(t), Be[e].size === 0 && delete Be[e];
3533
3535
  }
3534
- function mr(e) {
3536
+ function fr(e) {
3535
3537
  return Be[e];
3536
3538
  }
3537
3539
  function Ci(e) {
3538
3540
  return Oe(e).map((t) => {
3539
- const r = mr(t);
3541
+ const r = fr(t);
3540
3542
  return [t, r ? [...r] : []];
3541
3543
  }).filter(([, t]) => t.length > 0);
3542
3544
  }
@@ -3544,17 +3546,17 @@ function tt(e) {
3544
3546
  return e == null ? !1 : Oe(e).some(
3545
3547
  (t) => {
3546
3548
  var r;
3547
- return (r = mr(t)) == null ? void 0 : r.size;
3549
+ return (r = fr(t)) == null ? void 0 : r.size;
3548
3550
  }
3549
3551
  );
3550
3552
  }
3551
3553
  function wi(e, t) {
3552
3554
  return Promise.all(
3553
3555
  t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
3554
- ).then((n) => fr(e, ...n));
3556
+ ).then((n) => cr(e, ...n));
3555
3557
  }
3556
3558
  const de = {};
3557
- function dr(e) {
3559
+ function mr(e) {
3558
3560
  if (!tt(e))
3559
3561
  return e in de ? de[e] : Promise.resolve();
3560
3562
  const t = Ci(e);
@@ -3564,7 +3566,7 @@ function dr(e) {
3564
3566
  )
3565
3567
  ).then(() => {
3566
3568
  if (tt(e))
3567
- return dr(e);
3569
+ return mr(e);
3568
3570
  delete de[e];
3569
3571
  }), de[e];
3570
3572
  }
@@ -3609,22 +3611,22 @@ function le() {
3609
3611
  return Ti;
3610
3612
  }
3611
3613
  const Xe = Le(!1);
3612
- var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3613
- for (var r in t || (t = {}))
3614
- Mi.call(t, r) && St(e, r, t[r]);
3615
- if (Ht)
3616
- for (var r of Ht(t))
3617
- Li.call(t, r) && St(e, r, t[r]);
3614
+ var Ai = Object.defineProperty, Bi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3615
+ for (var r in t)
3616
+ Mi.call(t, r) && Ht(e, r, t[r]);
3617
+ if (wt)
3618
+ for (var r of wt(t))
3619
+ Li.call(t, r) && Ht(e, r, t[r]);
3618
3620
  return e;
3619
3621
  }, Pi = (e, t) => Bi(e, Ii(t));
3620
3622
  let rt;
3621
3623
  const Ie = Le(null);
3622
- function Tt(e) {
3624
+ function St(e) {
3623
3625
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3624
3626
  }
3625
3627
  function Oe(e, t = le().fallbackLocale) {
3626
- const r = Tt(e);
3627
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
3628
+ const r = St(e);
3629
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3628
3630
  }
3629
3631
  function J() {
3630
3632
  return rt ?? void 0;
@@ -3639,7 +3641,7 @@ const Oi = (e) => {
3639
3641
  return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3640
3642
  () => Xe.set(!0),
3641
3643
  t
3642
- ) : Xe.set(!0), dr(e).then(() => {
3644
+ ) : Xe.set(!0), mr(e).then(() => {
3643
3645
  Ie.set(e);
3644
3646
  }).finally(() => {
3645
3647
  clearTimeout(r), Xe.set(!1);
@@ -3655,23 +3657,23 @@ const Oi = (e) => {
3655
3657
  return i in t ? t[i] : t[i] = e(n);
3656
3658
  };
3657
3659
  };
3658
- var Fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3660
+ var Fi = Object.defineProperty, Me = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3659
3661
  for (var r in t || (t = {}))
3660
- pr.call(t, r) && At(e, r, t[r]);
3662
+ dr.call(t, r) && Tt(e, r, t[r]);
3661
3663
  if (Me)
3662
3664
  for (var r of Me(t))
3663
- gr.call(t, r) && At(e, r, t[r]);
3665
+ pr.call(t, r) && Tt(e, r, t[r]);
3664
3666
  return e;
3665
3667
  }, ce = (e, t) => {
3666
3668
  var r = {};
3667
3669
  for (var n in e)
3668
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3670
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3669
3671
  if (e != null && Me)
3670
3672
  for (var n of Me(e))
3671
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3673
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3672
3674
  return r;
3673
3675
  };
3674
- const _e = (e, t) => {
3676
+ const ve = (e, t) => {
3675
3677
  const { formats: r } = le();
3676
3678
  if (e in r && t in r[e])
3677
3679
  return r[e][t];
@@ -3681,14 +3683,14 @@ const _e = (e, t) => {
3681
3683
  var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3682
3684
  if (r == null)
3683
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3684
- return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3686
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
3685
3687
  }
3686
3688
  ), Di = Fe(
3687
3689
  (e) => {
3688
3690
  var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3689
3691
  if (r == null)
3690
3692
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3691
- return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3693
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
3692
3694
  }
3693
3695
  ), Ui = Fe(
3694
3696
  (e) => {
@@ -3697,7 +3699,7 @@ const _e = (e, t) => {
3697
3699
  throw new Error(
3698
3700
  '[svelte-i18n] A "locale" must be set to format time values'
3699
3701
  );
3700
- return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3702
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
3701
3703
  }
3702
3704
  ), Gi = (e = {}) => {
3703
3705
  var t = e, {
@@ -3705,21 +3707,21 @@ const _e = (e, t) => {
3705
3707
  } = t, n = ce(t, [
3706
3708
  "locale"
3707
3709
  ]);
3708
- return Ri(lt({ locale: r }, n));
3710
+ return Ri(at({ locale: r }, n));
3709
3711
  }, ki = (e = {}) => {
3710
3712
  var t = e, {
3711
3713
  locale: r = J()
3712
3714
  } = t, n = ce(t, [
3713
3715
  "locale"
3714
3716
  ]);
3715
- return Di(lt({ locale: r }, n));
3717
+ return Di(at({ locale: r }, n));
3716
3718
  }, $i = (e = {}) => {
3717
3719
  var t = e, {
3718
3720
  locale: r = J()
3719
3721
  } = t, n = ce(t, [
3720
3722
  "locale"
3721
3723
  ]);
3722
- return Ui(lt({ locale: r }, n));
3724
+ return Ui(at({ locale: r }, n));
3723
3725
  }, ji = Fe(
3724
3726
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3725
3727
  (e, t = J()) => new gi(e, t, le().formats, {
@@ -3738,7 +3740,7 @@ const _e = (e, t) => {
3738
3740
  throw new Error(
3739
3741
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3740
3742
  );
3741
- let u = hr(e, h);
3743
+ let u = ur(e, h);
3742
3744
  if (!u)
3743
3745
  u = (s = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3744
3746
  else if (typeof u != "string")
@@ -3757,7 +3759,7 @@ const _e = (e, t) => {
3757
3759
  );
3758
3760
  }
3759
3761
  return m;
3760
- }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = J()) => hr(e, t);
3762
+ }, Xi = (e, t) => $i(t).format(e), Wi = (e, t) => ki(t).format(e), zi = (e, t) => Gi(t).format(e), Zi = (e, t = J()) => ur(e, t);
3761
3763
  ue([W, he], () => Vi);
3762
3764
  ue([W], () => Xi);
3763
3765
  ue([W], () => Wi);
@@ -3768,13 +3770,13 @@ function Qi({ withLocale: e, translations: t }) {
3768
3770
  r == null && (he.set(t), W.set(e));
3769
3771
  });
3770
3772
  }
3771
- function Bt(e, t) {
3772
- fr(e, t);
3773
+ function At(e, t) {
3774
+ cr(e, t);
3773
3775
  }
3774
3776
  function qi(e) {
3775
3777
  W.set(e);
3776
3778
  }
3777
- const It = {
3779
+ const Bt = {
3778
3780
  en: {
3779
3781
  login: "Login",
3780
3782
  register: "Register",
@@ -3832,21 +3834,21 @@ const It = {
3832
3834
  }
3833
3835
  };
3834
3836
  function Ji(e) {
3835
- Rr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.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, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.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, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.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}');
3837
+ Fr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.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, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.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, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.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}');
3836
3838
  }
3837
- function Mt(e, t, r) {
3839
+ function It(e, t, r) {
3838
3840
  const n = e.slice();
3839
3841
  return n[57] = t[r], n[59] = r, n;
3840
3842
  }
3841
- function Lt(e, t, r) {
3843
+ function Mt(e, t, r) {
3842
3844
  const n = e.slice();
3843
3845
  return n[60] = t[r], n;
3844
3846
  }
3845
- function Nt(e, t, r) {
3847
+ function Lt(e, t, r) {
3846
3848
  const n = e.slice();
3847
3849
  return n[63] = t[r], n[65] = r, n;
3848
3850
  }
3849
- function Pt(e) {
3851
+ function Nt(e) {
3850
3852
  let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
3851
3853
  /*sliderdata*/
3852
3854
  e[9]
@@ -3856,8 +3858,8 @@ function Pt(e) {
3856
3858
  o[57].id
3857
3859
  );
3858
3860
  for (let o = 0; o < i.length; o += 1) {
3859
- let a = Mt(e, i, o), h = s(a);
3860
- r.set(h, t[o] = Gt(h, a));
3861
+ let a = It(e, i, o), h = s(a);
3862
+ r.set(h, t[o] = Ut(h, a));
3861
3863
  }
3862
3864
  return {
3863
3865
  c() {
@@ -3875,7 +3877,7 @@ function Pt(e) {
3875
3877
  1183695 && (i = ie(
3876
3878
  /*sliderdata*/
3877
3879
  o[9]
3878
- ), t = Xt(t, a, s, 1, o, i, r, n.parentNode, Vt, Gt, n, Mt));
3880
+ ), t = Vt(t, a, s, 1, o, i, r, n.parentNode, jt, Ut, n, It));
3879
3881
  },
3880
3882
  d(o) {
3881
3883
  o && D(n);
@@ -3931,11 +3933,11 @@ function Ki(e) {
3931
3933
  }
3932
3934
  };
3933
3935
  }
3934
- function Ot(e) {
3936
+ function Pt(e) {
3935
3937
  let t, r = (
3936
3938
  /*subGroupsData*/
3937
3939
  e[10].length > 0 && /*showsubgroups*/
3938
- e[2] == "true" && Ft(e)
3940
+ e[2] == "true" && Ot(e)
3939
3941
  );
3940
3942
  return {
3941
3943
  c() {
@@ -3947,20 +3949,20 @@ function Ot(e) {
3947
3949
  p(n, i) {
3948
3950
  /*subGroupsData*/
3949
3951
  n[10].length > 0 && /*showsubgroups*/
3950
- n[2] == "true" ? r ? r.p(n, i) : (r = Ft(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3952
+ n[2] == "true" ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3951
3953
  },
3952
3954
  d(n) {
3953
3955
  n && D(t), r && r.d(n);
3954
3956
  }
3955
3957
  };
3956
3958
  }
3957
- function Ft(e) {
3959
+ function Ot(e) {
3958
3960
  let t, r = ie(
3959
3961
  /*subGroupsData*/
3960
3962
  e[10]
3961
3963
  ), n = [];
3962
3964
  for (let i = 0; i < r.length; i += 1)
3963
- n[i] = Ut(Lt(e, r, i));
3965
+ n[i] = Dt(Mt(e, r, i));
3964
3966
  return {
3965
3967
  c() {
3966
3968
  t = L("ul");
@@ -3982,8 +3984,8 @@ function Ft(e) {
3982
3984
  );
3983
3985
  let o;
3984
3986
  for (o = 0; o < r.length; o += 1) {
3985
- const a = Lt(i, r, o);
3986
- n[o] ? n[o].p(a, s) : (n[o] = Ut(a), n[o].c(), n[o].m(t, null));
3987
+ const a = Mt(i, r, o);
3988
+ n[o] ? n[o].p(a, s) : (n[o] = Dt(a), n[o].c(), n[o].m(t, null));
3987
3989
  }
3988
3990
  for (; o < n.length; o += 1)
3989
3991
  n[o].d(1);
@@ -3991,11 +3993,11 @@ function Ft(e) {
3991
3993
  }
3992
3994
  },
3993
3995
  d(i) {
3994
- i && D(t), Gr(n, i);
3996
+ i && D(t), Ur(n, i);
3995
3997
  }
3996
3998
  };
3997
3999
  }
3998
- function Rt(e) {
4000
+ function Ft(e) {
3999
4001
  let t, r, n = (
4000
4002
  /*subGroupItem*/
4001
4003
  e[63]?.name + ""
@@ -4046,11 +4048,11 @@ function Rt(e) {
4046
4048
  }
4047
4049
  };
4048
4050
  }
4049
- function Dt(e, t) {
4051
+ function Rt(e, t) {
4050
4052
  let r, n, i = (
4051
4053
  /*index*/
4052
4054
  t[59] == /*subGroup*/
4053
- t[60].index && Rt(t)
4055
+ t[60].index && Ft(t)
4054
4056
  );
4055
4057
  return {
4056
4058
  key: e,
@@ -4064,14 +4066,14 @@ function Dt(e, t) {
4064
4066
  p(s, o) {
4065
4067
  t = s, /*index*/
4066
4068
  t[59] == /*subGroup*/
4067
- t[60].index ? i ? i.p(t, o) : (i = Rt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4069
+ t[60].index ? i ? i.p(t, o) : (i = Ft(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4068
4070
  },
4069
4071
  d(s) {
4070
4072
  s && (D(r), D(n)), i && i.d(s);
4071
4073
  }
4072
4074
  };
4073
4075
  }
4074
- function Ut(e) {
4076
+ function Dt(e) {
4075
4077
  let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
4076
4078
  /*subGroup*/
4077
4079
  e[60].items
@@ -4081,8 +4083,8 @@ function Ut(e) {
4081
4083
  o[63].id
4082
4084
  );
4083
4085
  for (let o = 0; o < i.length; o += 1) {
4084
- let a = Nt(e, i, o), h = s(a);
4085
- r.set(h, t[o] = Dt(h, a));
4086
+ let a = Lt(e, i, o), h = s(a);
4087
+ r.set(h, t[o] = Rt(h, a));
4086
4088
  }
4087
4089
  return {
4088
4090
  c() {
@@ -4100,7 +4102,7 @@ function Ut(e) {
4100
4102
  133056 && (i = ie(
4101
4103
  /*subGroup*/
4102
4104
  o[60].items
4103
- ), t = Xt(t, a, s, 1, o, i, r, n.parentNode, Vt, Dt, n, Nt));
4105
+ ), t = Vt(t, a, s, 1, o, i, r, n.parentNode, jt, Rt, n, Lt));
4104
4106
  },
4105
4107
  d(o) {
4106
4108
  o && D(n);
@@ -4109,7 +4111,7 @@ function Ut(e) {
4109
4111
  }
4110
4112
  };
4111
4113
  }
4112
- function Gt(e, t) {
4114
+ function Ut(e, t) {
4113
4115
  let r, n, i, s, o, a, h, l, u, m, f;
4114
4116
  function p(E, w) {
4115
4117
  return (
@@ -4122,7 +4124,7 @@ function Gt(e, t) {
4122
4124
  t[11][
4123
4125
  /*index*/
4124
4126
  t[59]
4125
- ] == !0 && Ot(t)
4127
+ ] == !0 && Pt(t)
4126
4128
  );
4127
4129
  function C(...E) {
4128
4130
  return (
@@ -4141,7 +4143,7 @@ function Gt(e, t) {
4141
4143
  first: null,
4142
4144
  c() {
4143
4145
  r = L("li"), n = L("div"), i = L("img"), a = Q(), b.c(), h = Q(), d && d.c(), l = Q(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4144
- (t[3] === "true" ? "" : "DisplayNone")), dt(i.src, o = /*handleSrc*/
4146
+ (t[3] === "true" ? "" : "DisplayNone")), mt(i.src, o = /*handleSrc*/
4145
4147
  t[20](
4146
4148
  /*category*/
4147
4149
  t[57]
@@ -4164,7 +4166,7 @@ function Gt(e, t) {
4164
4166
  t = E, w[0] & /*categoriesicon*/
4165
4167
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4166
4168
  (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), w[0] & /*sliderdata*/
4167
- 512 && !dt(i.src, o = /*handleSrc*/
4169
+ 512 && !mt(i.src, o = /*handleSrc*/
4168
4170
  t[20](
4169
4171
  /*category*/
4170
4172
  t[57]
@@ -4172,7 +4174,7 @@ function Gt(e, t) {
4172
4174
  t[11][
4173
4175
  /*index*/
4174
4176
  t[59]
4175
- ] == !0 ? d ? d.p(t, w) : (d = Ot(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4177
+ ] == !0 ? d ? d.p(t, w) : (d = Pt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4176
4178
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4177
4179
  (t[1]?.toString().indexOf("$") > -1 ? (
4178
4180
  /*activeindex*/
@@ -4193,7 +4195,7 @@ function Gt(e, t) {
4193
4195
  function eo(e) {
4194
4196
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4195
4197
  /*sliderdata*/
4196
- e[9].length > 0 && Pt(e)
4198
+ e[9].length > 0 && Nt(e)
4197
4199
  );
4198
4200
  return {
4199
4201
  c() {
@@ -4234,7 +4236,7 @@ function eo(e) {
4234
4236
  /*handleMouseMove*/
4235
4237
  e[16]
4236
4238
  ),
4237
- j(o, "click", kr(
4239
+ j(o, "click", Gr(
4238
4240
  /*click_handler*/
4239
4241
  e[36]
4240
4242
  )),
@@ -4248,7 +4250,7 @@ function eo(e) {
4248
4250
  },
4249
4251
  p(C, E) {
4250
4252
  /*sliderdata*/
4251
- C[9].length > 0 ? d ? d.p(C, E) : (d = Pt(C), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4253
+ C[9].length > 0 ? d ? d.p(C, E) : (d = Nt(C), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4252
4254
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4253
4255
  C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4254
4256
  1 && f !== (f = /*location*/
@@ -4269,11 +4271,11 @@ function to(e, t, r) {
4269
4271
  let H = !1, F = 0, R = 0;
4270
4272
  const Y = (c) => {
4271
4273
  c.preventDefault(), H = !0, T?.classList.add("dragging"), F = c.pageX - (T?.offsetLeft ?? 0), R = T?.scrollLeft ?? 0;
4272
- }, br = (c) => {
4274
+ }, gr = (c) => {
4273
4275
  c.preventDefault(), H = !1, T?.classList.remove("dragging");
4274
- }, yr = (c) => {
4276
+ }, br = (c) => {
4275
4277
  H = !1, T?.classList.remove("dragging");
4276
- }, vr = (c) => {
4278
+ }, yr = (c) => {
4277
4279
  if (!H || !T)
4278
4280
  return;
4279
4281
  c.preventDefault();
@@ -4282,14 +4284,14 @@ function to(e, t, r) {
4282
4284
  }, _r = () => {
4283
4285
  fetch(f).then((x) => x.json()).then((x) => {
4284
4286
  Object.keys(x).forEach((O) => {
4285
- Bt(O, x[O]);
4287
+ At(O, x[O]);
4286
4288
  });
4287
4289
  }).catch((x) => {
4288
4290
  console.log(x);
4289
4291
  });
4290
4292
  };
4291
- Object.keys(It).forEach((c) => {
4292
- Bt(c, It[c]);
4293
+ Object.keys(Bt).forEach((c) => {
4294
+ At(c, Bt[c]);
4293
4295
  });
4294
4296
  let z, fe, Re, $, me = [], xe = [], K = [], M, De = (c, x, O, Z, V) => {
4295
4297
  if (!(c.subGroups && Z === null)) {
@@ -4319,18 +4321,18 @@ function to(e, t, r) {
4319
4321
  window.location.href
4320
4322
  );
4321
4323
  }
4322
- }, ut = () => {
4324
+ }, lt = () => {
4323
4325
  M && (K.length !== z ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4324
- }, ht = () => {
4326
+ }, ut = () => {
4325
4327
  M && (K.length !== z ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4326
4328
  };
4327
- const ct = (c) => {
4328
- c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, K = new Array(me.length).fill(!1)), C == "true" && Cr()), c.data.type == "GoToHomepage" && me.forEach((x, O) => {
4329
+ const ht = (c) => {
4330
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, K = new Array(me.length).fill(!1)), C == "true" && xr()), c.data.type == "GoToHomepage" && me.forEach((x, O) => {
4329
4331
  x.path.endsWith("/casino") && (r(6, z = O), r(6, z));
4330
4332
  });
4331
- }, Er = () => {
4333
+ }, vr = () => {
4332
4334
  qi(b);
4333
- }, xr = (c, x, O) => {
4335
+ }, Er = (c, x, O) => {
4334
4336
  if (h == "secondaryMenu" && n && i && b && c.id) {
4335
4337
  let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4336
4338
  fetch(Z.href).then((V) => V.json()).then((V) => {
@@ -4344,8 +4346,8 @@ function to(e, t, r) {
4344
4346
  window.location.href
4345
4347
  );
4346
4348
  const we = [];
4347
- xe.map((Nr) => (Nr.items.forEach((ft) => {
4348
- we.find((Pr) => ft.id == Pr) || we.push(ft.id);
4349
+ xe.map((Lr) => (Lr.items.forEach((ct) => {
4350
+ we.find((Nr) => ct.id == Nr) || we.push(ct.id);
4349
4351
  }), we.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: we }, window.location.href);
4350
4352
  }).then(() => {
4351
4353
  T.querySelectorAll(".DropDown") && Ce();
@@ -4358,42 +4360,42 @@ function to(e, t, r) {
4358
4360
  for (let x = 0; x < c.length; x++)
4359
4361
  c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4360
4362
  M.classList.remove("isScrolling");
4361
- }, Cr = () => {
4363
+ }, xr = () => {
4362
4364
  me.forEach((c, x) => {
4363
- c?.subGroups?.count > 0 && (r(11, K[x] = !0, K), xr(c, x));
4365
+ c?.subGroups?.count > 0 && (r(11, K[x] = !0, K), Er(c, x));
4364
4366
  });
4365
- }, wr = (c) => {
4367
+ }, Cr = (c) => {
4366
4368
  let x = "";
4367
4369
  return c.id === "LOBBY" ? x = w : c.id === "MYGAMES" && (x = U), c.icon || x;
4368
4370
  };
4369
- Xr(() => (window.addEventListener("message", ct, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4371
+ Vr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4370
4372
  () => {
4371
4373
  M.addEventListener("scroll", Ce);
4372
4374
  },
4373
4375
  500
4374
4376
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4375
- window.removeEventListener("message", ct), T.removeEventListener("scroll", Ce);
4377
+ window.removeEventListener("message", ht), T.removeEventListener("scroll", Ce);
4376
4378
  }));
4377
- function Hr(c) {
4378
- Wr.call(this, e, c);
4379
+ function wr(c) {
4380
+ Xr.call(this, e, c);
4379
4381
  }
4380
- const Sr = () => ut(), Tr = (c, x, O, Z, V) => {
4382
+ const Hr = () => lt(), Sr = (c, x, O, Z, V) => {
4381
4383
  De(c, x, O, Z, "secondary"), V.stopPropagation();
4382
- }, Ar = (c, x, O) => {
4384
+ }, Tr = (c, x, O) => {
4383
4385
  De(c, x, null, null, "main"), O.preventDefault();
4384
4386
  };
4385
- function Br(c) {
4387
+ function Ar(c) {
4386
4388
  ge[c ? "unshift" : "push"](() => {
4387
4389
  T = c, r(5, T);
4388
4390
  });
4389
4391
  }
4390
- function Ir(c) {
4392
+ function Br(c) {
4391
4393
  ge[c ? "unshift" : "push"](() => {
4392
4394
  M = c, r(12, M);
4393
4395
  });
4394
4396
  }
4395
- const Mr = () => ht();
4396
- function Lr(c) {
4397
+ const Ir = () => ut();
4398
+ function Mr(c) {
4397
4399
  ge[c ? "unshift" : "push"](() => {
4398
4400
  $ = c, r(4, $);
4399
4401
  });
@@ -4404,11 +4406,11 @@ function to(e, t, r) {
4404
4406
  e.$$.dirty[0] & /*activeindex*/
4405
4407
  2, e.$$.dirty[0] & /*translationurl*/
4406
4408
  536870912 && f && _r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4407
- 67108880 && l && $ && sn($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4408
- 134217744 && u && $ && an($, u), e.$$.dirty[0] & /*customStylingContainer*/
4409
+ 67108880 && l && $ && on($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4410
+ 134217744 && u && $ && sn($, u), e.$$.dirty[0] & /*customStylingContainer*/
4409
4411
  16 | e.$$.dirty[1] & /*mbsource*/
4410
- 16 && N && $ && ln($, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4411
- 2 && b && Er();
4412
+ 16 && N && $ && an($, `${N}.Style`), e.$$.dirty[1] & /*lang*/
4413
+ 2 && b && vr();
4412
4414
  }, [
4413
4415
  h,
4414
4416
  d,
@@ -4424,13 +4426,13 @@ function to(e, t, r) {
4424
4426
  K,
4425
4427
  M,
4426
4428
  Y,
4429
+ gr,
4427
4430
  br,
4428
4431
  yr,
4429
- vr,
4430
4432
  De,
4433
+ lt,
4431
4434
  ut,
4432
- ht,
4433
- wr,
4435
+ Cr,
4434
4436
  n,
4435
4437
  i,
4436
4438
  s,
@@ -4446,24 +4448,24 @@ function to(e, t, r) {
4446
4448
  w,
4447
4449
  U,
4448
4450
  N,
4451
+ wr,
4449
4452
  Hr,
4450
4453
  Sr,
4451
4454
  Tr,
4452
4455
  Ar,
4453
4456
  Br,
4454
4457
  Ir,
4455
- Mr,
4456
- Lr
4458
+ Mr
4457
4459
  ];
4458
4460
  }
4459
- class ro extends nn {
4461
+ class ro extends rn {
4460
4462
  constructor(t) {
4461
- super(), tn(
4463
+ super(), en(
4462
4464
  this,
4463
4465
  t,
4464
4466
  to,
4465
4467
  eo,
4466
- $t,
4468
+ kt,
4467
4469
  {
4468
4470
  endpoint: 21,
4469
4471
  datasource: 22,
@@ -4604,7 +4606,7 @@ class ro extends nn {
4604
4606
  this.$$set({ mbsource: t }), B();
4605
4607
  }
4606
4608
  }
4607
- rn(ro, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4609
+ tn(ro, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4608
4610
  export {
4609
4611
  ro as C
4610
4612
  };