@everymatrix/casino-slider 1.74.2 → 1.74.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 G() {
2
2
  }
3
- function Dt(e) {
3
+ function Rt(e) {
4
4
  return e();
5
5
  }
6
- function ht() {
6
+ function ut() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Q(e) {
10
- e.forEach(Dt);
10
+ e.forEach(Rt);
11
11
  }
12
12
  function et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ut(e, t) {
15
+ function Dt(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 ct(e, t) {
19
+ function ht(e, t) {
20
20
  return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
21
21
  }
22
- function Tr(e) {
22
+ function Sr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Ar(e, ...t) {
25
+ function Tr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -34,14 +34,14 @@ function Ar(e, ...t) {
34
34
  function B(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Br(e, t, r) {
38
- const n = Ir(e);
37
+ function Ar(e, t, r) {
38
+ const n = Br(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = N("style");
41
- i.id = t, i.textContent = r, Mr(n, i);
41
+ i.id = t, i.textContent = r, Ir(n, i);
42
42
  }
43
43
  }
44
- function Ir(e) {
44
+ function Br(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function Ir(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Mr(e, t) {
54
+ function Ir(e, t) {
55
55
  return B(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -64,7 +64,7 @@ function U(e, t, r) {
64
64
  function F(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Nr(e, t) {
67
+ function Mr(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
@@ -86,14 +86,14 @@ function Te(e, t, r, n) {
86
86
  function S(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function Lr(e) {
89
+ function Nr(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
92
  function tt(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- function Pr(e) {
96
+ function Lr(e) {
97
97
  const t = {};
98
98
  return e.childNodes.forEach(
99
99
  /** @param {Element} node */
@@ -106,20 +106,20 @@ let pe;
106
106
  function fe(e) {
107
107
  pe = e;
108
108
  }
109
- function Or() {
109
+ function Pr() {
110
110
  if (!pe)
111
111
  throw new Error("Function called outside component initialization");
112
112
  return pe;
113
113
  }
114
- function Fr(e) {
115
- Or().$$.on_mount.push(e);
114
+ function Or(e) {
115
+ Pr().$$.on_mount.push(e);
116
116
  }
117
117
  const ee = [], me = [];
118
118
  let te = [];
119
- const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
119
+ const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
120
120
  let je = !1;
121
- function Dr() {
122
- je || (je = !0, Rr.then(A));
121
+ function Rr() {
122
+ je || (je = !0, Fr.then(A));
123
123
  }
124
124
  function Ve(e) {
125
125
  te.push(e);
@@ -134,7 +134,7 @@ function A() {
134
134
  try {
135
135
  for (; Y < ee.length; ) {
136
136
  const t = ee[Y];
137
- Y++, fe(t), Ur(t.$$);
137
+ Y++, fe(t), Dr(t.$$);
138
138
  }
139
139
  } catch (t) {
140
140
  throw ee.length = 0, Y = 0, t;
@@ -147,32 +147,32 @@ function A() {
147
147
  }
148
148
  te.length = 0;
149
149
  } while (ee.length);
150
- for (; ft.length; )
151
- ft.pop()();
150
+ for (; ct.length; )
151
+ ct.pop()();
152
152
  je = !1, Fe.clear(), fe(e);
153
153
  }
154
- function Ur(e) {
154
+ function Dr(e) {
155
155
  if (e.fragment !== null) {
156
156
  e.update(), Q(e.before_update);
157
157
  const t = e.dirty;
158
158
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
159
159
  }
160
160
  }
161
- function Gr(e) {
161
+ function Ur(e) {
162
162
  const t = [], r = [];
163
163
  te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
164
164
  }
165
- const kr = /* @__PURE__ */ new Set();
166
- function Gt(e, t) {
167
- e && e.i && (kr.delete(e), e.i(t));
165
+ const Gr = /* @__PURE__ */ new Set();
166
+ function Ut(e, t) {
167
+ e && e.i && (Gr.delete(e), e.i(t));
168
168
  }
169
169
  function re(e) {
170
170
  return e?.length !== void 0 ? e : Array.from(e);
171
171
  }
172
- function kt(e, t) {
172
+ function Gt(e, t) {
173
173
  e.d(1), t.delete(e.key);
174
174
  }
175
- function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
175
+ function kt(e, t, r, n, i, s, o, a, h, l, u, m) {
176
176
  let f = e.length, p = s.length, g = f;
177
177
  const b = {};
178
178
  for (; g--; )
@@ -185,7 +185,7 @@ function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
185
185
  }
186
186
  const R = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
187
187
  function k(C) {
188
- Gt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
188
+ Ut(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
189
189
  }
190
190
  for (; f && p; ) {
191
191
  const C = d[p - 1], I = e[f - 1], L = C.key, j = I.key;
@@ -199,21 +199,21 @@ function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
199
199
  k(d[p - 1]);
200
200
  return Q(H), d;
201
201
  }
202
- function $r(e, t, r) {
202
+ function kr(e, t, r) {
203
203
  const { fragment: n, after_update: i } = e.$$;
204
204
  n && n.m(t, r), Ve(() => {
205
- const s = e.$$.on_mount.map(Dt).filter(et);
205
+ const s = e.$$.on_mount.map(Rt).filter(et);
206
206
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
207
207
  }), i.forEach(Ve);
208
208
  }
209
- function jr(e, t) {
209
+ function $r(e, t) {
210
210
  const r = e.$$;
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 = []);
211
+ r.fragment !== null && (Ur(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
212
  }
213
- function Vr(e, t) {
214
- e.$$.dirty[0] === -1 && (ee.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
+ function jr(e, t) {
214
+ e.$$.dirty[0] === -1 && (ee.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
215
  }
216
- function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
216
+ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
217
217
  const h = pe;
218
218
  fe(e);
219
219
  const l = e.$$ = {
@@ -223,7 +223,7 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
223
223
  props: s,
224
224
  update: G,
225
225
  not_equal: i,
226
- bound: ht(),
226
+ bound: ut(),
227
227
  // lifecycle
228
228
  on_mount: [],
229
229
  on_destroy: [],
@@ -232,28 +232,28 @@ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
232
232
  after_update: [],
233
233
  context: new Map(t.context || (h ? h.$$.context : [])),
234
234
  // everything else
235
- callbacks: ht(),
235
+ callbacks: ut(),
236
236
  dirty: a,
237
237
  skip_bound: !1,
238
238
  root: t.target || h.$$.root
239
239
  };
240
240
  o && o(l.root);
241
241
  let u = !1;
242
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
242
+ if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
243
243
  const g = p.length ? p[0] : 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;
245
- }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
244
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && jr(e, m)), f;
245
+ }), l.update(), u = !0, Q(l.before_update), l.fragment = n(l.ctx), t.target) {
246
246
  if (t.hydrate) {
247
- const m = Lr(t.target);
247
+ const m = Nr(t.target);
248
248
  l.fragment && l.fragment.l(m), m.forEach(F);
249
249
  } else
250
250
  l.fragment && l.fragment.c();
251
- t.intro && Gt(e.$$.fragment), $r(e, t.target, t.anchor), A();
251
+ t.intro && Ut(e.$$.fragment), kr(e, t.target, t.anchor), A();
252
252
  }
253
253
  fe(h);
254
254
  }
255
- let jt;
256
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
255
+ let $t;
256
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
257
257
  /** The Svelte component constructor */
258
258
  $$ctor;
259
259
  /** Slots */
@@ -312,7 +312,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
312
312
  };
313
313
  if (await Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const t = {}, r = Pr(this);
315
+ const t = {}, r = Lr(this);
316
316
  for (const i of this.$$s)
317
317
  i in r && (t[i] = [e(i)]);
318
318
  for (const i of this.attributes) {
@@ -399,8 +399,8 @@ function we(e, t, r, n) {
399
399
  return t;
400
400
  }
401
401
  }
402
- function Wr(e, t, r, n, i, s) {
403
- let o = class extends jt {
402
+ function Xr(e, t, r, n, i, s) {
403
+ let o = class extends $t {
404
404
  constructor() {
405
405
  super(e, r, i), this.$$p_d = t;
406
406
  }
@@ -428,7 +428,7 @@ function Wr(e, t, r, n, i, s) {
428
428
  }), e.element = /** @type {any} */
429
429
  o, o;
430
430
  }
431
- class zr {
431
+ class Wr {
432
432
  /**
433
433
  * ### PRIVATE API
434
434
  *
@@ -447,7 +447,7 @@ class zr {
447
447
  $$set = void 0;
448
448
  /** @returns {void} */
449
449
  $destroy() {
450
- jr(this, 1), this.$destroy = G;
450
+ $r(this, 1), this.$destroy = G;
451
451
  }
452
452
  /**
453
453
  * @template {Extract<keyof Events, string>} K
@@ -469,18 +469,18 @@ class zr {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
- const Zr = "4";
476
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
477
- function Qr(e, t) {
475
+ const zr = "4";
476
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
477
+ function Zr(e, t) {
478
478
  if (e) {
479
479
  const r = document.createElement("style");
480
480
  r.innerHTML = t, e.appendChild(r);
481
481
  }
482
482
  }
483
- function qr(e, t) {
483
+ function Qr(e, t) {
484
484
  const r = new URL(t);
485
485
  fetch(r.href).then((n) => n.text()).then((n) => {
486
486
  const i = document.createElement("style");
@@ -489,7 +489,7 @@ function qr(e, t) {
489
489
  console.error("There was an error while trying to load client styling from URL", n);
490
490
  });
491
491
  }
492
- function Jr(e, t, r) {
492
+ function qr(e, t, r) {
493
493
  if (window.emMessageBus) {
494
494
  const n = document.createElement("style");
495
495
  window.emMessageBus.subscribe(t, (i) => {
@@ -498,7 +498,7 @@ function Jr(e, t, r) {
498
498
  }
499
499
  }
500
500
  const K = [];
501
- function Yr(e, t) {
501
+ function Jr(e, t) {
502
502
  return {
503
503
  subscribe: Ie(e, t).subscribe
504
504
  };
@@ -507,7 +507,7 @@ function Ie(e, t = G) {
507
507
  let r;
508
508
  const n = /* @__PURE__ */ new Set();
509
509
  function i(a) {
510
- if (Ut(e, a) && (e = a, r)) {
510
+ if (Dt(e, a) && (e = a, r)) {
511
511
  const h = !K.length;
512
512
  for (const l of n)
513
513
  l[1](), K.push(l, e);
@@ -534,7 +534,7 @@ function ae(e, t, r) {
534
534
  if (!i.every(Boolean))
535
535
  throw new Error("derived() expects stores as input, got a falsy value");
536
536
  const s = t.length < 2;
537
- return Yr(r, (o, a) => {
537
+ return Jr(r, (o, a) => {
538
538
  let h = !1;
539
539
  const l = [];
540
540
  let u = 0, m = G;
@@ -545,7 +545,7 @@ function ae(e, t, r) {
545
545
  const g = t(n ? l[0] : l, o, a);
546
546
  s ? o(g) : m = et(g) ? g : G;
547
547
  }, p = i.map(
548
- (g, b) => Ar(
548
+ (g, b) => Tr(
549
549
  g,
550
550
  (d) => {
551
551
  l[b] = d, u &= ~(1 << b), h && f();
@@ -560,70 +560,70 @@ function ae(e, t, r) {
560
560
  };
561
561
  });
562
562
  }
563
- function Kr(e) {
564
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
563
+ function Yr(e) {
564
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
565
565
  }
566
- var en = function(t) {
567
- return tn(t) && !rn(t);
566
+ var Kr = function(t) {
567
+ return en(t) && !tn(t);
568
568
  };
569
- function tn(e) {
569
+ function en(e) {
570
570
  return !!e && typeof e == "object";
571
571
  }
572
- function rn(e) {
572
+ function tn(e) {
573
573
  var t = Object.prototype.toString.call(e);
574
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
574
+ return t === "[object RegExp]" || t === "[object Date]" || on(e);
575
575
  }
576
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
577
- function sn(e) {
578
- return e.$$typeof === on;
576
+ var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
577
+ function on(e) {
578
+ return e.$$typeof === nn;
579
579
  }
580
- function an(e) {
580
+ function sn(e) {
581
581
  return Array.isArray(e) ? [] : {};
582
582
  }
583
583
  function ge(e, t) {
584
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(an(e), e, t) : e;
584
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(sn(e), e, t) : e;
585
585
  }
586
- function ln(e, t, r) {
586
+ function an(e, t, r) {
587
587
  return e.concat(t).map(function(n) {
588
588
  return ge(n, r);
589
589
  });
590
590
  }
591
- function un(e, t) {
591
+ function ln(e, t) {
592
592
  if (!t.customMerge)
593
593
  return ne;
594
594
  var r = t.customMerge(e);
595
595
  return typeof r == "function" ? r : ne;
596
596
  }
597
- function hn(e) {
597
+ function un(e) {
598
598
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
599
599
  return Object.propertyIsEnumerable.call(e, t);
600
600
  }) : [];
601
601
  }
602
- function mt(e) {
603
- return Object.keys(e).concat(hn(e));
602
+ function ft(e) {
603
+ return Object.keys(e).concat(un(e));
604
604
  }
605
- function Vt(e, t) {
605
+ function jt(e, t) {
606
606
  try {
607
607
  return t in e;
608
608
  } catch {
609
609
  return !1;
610
610
  }
611
611
  }
612
- function cn(e, t) {
613
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
+ function hn(e, t) {
613
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
614
614
  }
615
- function fn(e, t, r) {
615
+ function cn(e, t, r) {
616
616
  var n = {};
617
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
617
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
618
618
  n[i] = ge(e[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] = ge(t[i], r));
619
+ }), ft(t).forEach(function(i) {
620
+ hn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
621
621
  }), n;
622
622
  }
623
623
  function ne(e, t, r) {
624
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ge;
624
+ r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ge;
625
625
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
626
- return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ge(t, r);
626
+ return s ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ge(t, r);
627
627
  }
628
628
  ne.all = function(t, r) {
629
629
  if (!Array.isArray(t))
@@ -632,8 +632,8 @@ ne.all = function(t, r) {
632
632
  return ne(n, i, r);
633
633
  }, {});
634
634
  };
635
- var mn = ne, dn = mn;
636
- const pn = /* @__PURE__ */ Kr(dn);
635
+ var fn = ne, mn = fn;
636
+ const dn = /* @__PURE__ */ Yr(mn);
637
637
  /*! *****************************************************************************
638
638
  Copyright (c) Microsoft Corporation.
639
639
 
@@ -665,17 +665,17 @@ function Me(e, t) {
665
665
  }
666
666
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
667
667
  }
668
- var _ = function() {
669
- return _ = Object.assign || function(t) {
668
+ var v = function() {
669
+ return v = Object.assign || function(t) {
670
670
  for (var r, n = 1, i = arguments.length; n < i; n++) {
671
671
  r = arguments[n];
672
672
  for (var s in r)
673
673
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
674
674
  }
675
675
  return t;
676
- }, _.apply(this, arguments);
676
+ }, v.apply(this, arguments);
677
677
  };
678
- function gn(e, t) {
678
+ function pn(e, t) {
679
679
  var r = {};
680
680
  for (var n in e)
681
681
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -691,54 +691,56 @@ function Re(e, t, r) {
691
691
  return e.concat(s || t);
692
692
  }
693
693
  function De(e, t) {
694
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
694
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
695
695
  return i(e, {
696
696
  cache: r,
697
697
  serializer: n
698
698
  });
699
699
  }
700
- function bn(e) {
700
+ function gn(e) {
701
701
  return e == null || typeof e == "number" || typeof e == "boolean";
702
702
  }
703
- function Xt(e, t, r, n) {
704
- var i = bn(n) ? n : r(n), s = t.get(i);
703
+ function Vt(e, t, r, n) {
704
+ var i = gn(n) ? n : r(n), s = t.get(i);
705
705
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
706
706
  }
707
- function Wt(e, t, r) {
707
+ function Xt(e, t, r) {
708
708
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
709
709
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
710
710
  }
711
711
  function rt(e, t, r, n, i) {
712
712
  return r.bind(t, e, n, i);
713
713
  }
714
- function yn(e, t) {
715
- var r = e.length === 1 ? Xt : Wt;
714
+ function bn(e, t) {
715
+ var r = e.length === 1 ? Vt : Xt;
716
716
  return rt(e, this, r, t.cache.create(), t.serializer);
717
717
  }
718
- function vn(e, t) {
719
- return rt(e, this, Wt, t.cache.create(), t.serializer);
718
+ function yn(e, t) {
719
+ return rt(e, this, Xt, t.cache.create(), t.serializer);
720
720
  }
721
721
  function _n(e, t) {
722
- return rt(e, this, Xt, t.cache.create(), t.serializer);
722
+ return rt(e, this, Vt, t.cache.create(), t.serializer);
723
723
  }
724
- var En = function() {
724
+ var vn = function() {
725
725
  return JSON.stringify(arguments);
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 = {
726
+ }, En = (
727
+ /** @class */
728
+ function() {
729
+ function e() {
730
+ this.cache = /* @__PURE__ */ Object.create(null);
731
+ }
732
+ return e.prototype.get = function(t) {
733
+ return this.cache[t];
734
+ }, e.prototype.set = function(t, r) {
735
+ this.cache[t] = r;
736
+ }, e;
737
+ }()
738
+ ), xn = {
737
739
  create: function() {
738
- return new nt();
740
+ return new En();
739
741
  }
740
742
  }, Ue = {
741
- variadic: vn,
743
+ variadic: yn,
742
744
  monadic: _n
743
745
  }, y;
744
746
  (function(e) {
@@ -752,40 +754,40 @@ var ie;
752
754
  (function(e) {
753
755
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
754
756
  })(ie || (ie = {}));
755
- function dt(e) {
757
+ function mt(e) {
756
758
  return e.type === T.literal;
757
759
  }
758
760
  function Cn(e) {
759
761
  return e.type === T.argument;
760
762
  }
761
- function zt(e) {
763
+ function Wt(e) {
762
764
  return e.type === T.number;
763
765
  }
764
- function Zt(e) {
766
+ function zt(e) {
765
767
  return e.type === T.date;
766
768
  }
767
- function Qt(e) {
769
+ function Zt(e) {
768
770
  return e.type === T.time;
769
771
  }
770
- function qt(e) {
772
+ function Qt(e) {
771
773
  return e.type === T.select;
772
774
  }
773
- function Jt(e) {
775
+ function qt(e) {
774
776
  return e.type === T.plural;
775
777
  }
776
778
  function wn(e) {
777
779
  return e.type === T.pound;
778
780
  }
779
- function Yt(e) {
781
+ function Jt(e) {
780
782
  return e.type === T.tag;
781
783
  }
782
- function Kt(e) {
784
+ function Yt(e) {
783
785
  return !!(e && typeof e == "object" && e.type === ie.number);
784
786
  }
785
787
  function We(e) {
786
788
  return !!(e && typeof e == "object" && e.type === ie.dateTime);
787
789
  }
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;
790
+ var Kt = /[ \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
791
  function Sn(e) {
790
792
  var t = {};
791
793
  return e.replace(Hn, function(r) {
@@ -899,14 +901,14 @@ function An(e) {
899
901
  function Bn(e) {
900
902
  return e.replace(/^(.*?)-/, "");
901
903
  }
902
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
903
- function gt(e) {
904
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
905
+ function pt(e) {
904
906
  var t = {};
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) {
907
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
906
908
  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)), "";
907
909
  }), t;
908
910
  }
909
- function nr(e) {
911
+ function rr(e) {
910
912
  switch (e) {
911
913
  case "sign-auto":
912
914
  return {
@@ -954,14 +956,14 @@ function Mn(e) {
954
956
  notation: "scientific"
955
957
  }, e = e.slice(1)), t) {
956
958
  var r = e.slice(0, 2);
957
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
959
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
958
960
  throw new Error("Malformed concise eng/scientific notation");
959
961
  t.minimumIntegerDigits = e.length;
960
962
  }
961
963
  return t;
962
964
  }
963
- function bt(e) {
964
- var t = {}, r = nr(e);
965
+ function gt(e) {
966
+ var t = {}, r = rr(e);
965
967
  return r || t;
966
968
  }
967
969
  function Nn(e) {
@@ -999,13 +1001,13 @@ function Nn(e) {
999
1001
  t.notation = "compact", t.compactDisplay = "long";
1000
1002
  continue;
1001
1003
  case "scientific":
1002
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1003
- return _(_({}, h), bt(l));
1004
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1005
+ return v(v({}, h), gt(l));
1004
1006
  }, {}));
1005
1007
  continue;
1006
1008
  case "engineering":
1007
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1008
- return _(_({}, h), bt(l));
1009
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1010
+ return v(v({}, h), gt(l));
1009
1011
  }, {}));
1010
1012
  continue;
1011
1013
  case "notation-simple":
@@ -1063,28 +1065,28 @@ function Nn(e) {
1063
1065
  });
1064
1066
  continue;
1065
1067
  }
1066
- if (rr.test(i.stem)) {
1068
+ if (tr.test(i.stem)) {
1067
1069
  t.minimumIntegerDigits = i.stem.length;
1068
1070
  continue;
1069
1071
  }
1070
- if (pt.test(i.stem)) {
1072
+ if (dt.test(i.stem)) {
1071
1073
  if (i.options.length > 1)
1072
1074
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1073
- i.stem.replace(pt, function(h, l, u, m, f, p) {
1075
+ i.stem.replace(dt, function(h, l, u, m, f, p) {
1074
1076
  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), "";
1075
1077
  });
1076
1078
  var s = i.options[0];
1077
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), gt(s)));
1079
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), pt(s)));
1078
1080
  continue;
1079
1081
  }
1080
- if (tr.test(i.stem)) {
1081
- t = _(_({}, t), gt(i.stem));
1082
+ if (er.test(i.stem)) {
1083
+ t = v(v({}, t), pt(i.stem));
1082
1084
  continue;
1083
1085
  }
1084
- var o = nr(i.stem);
1085
- o && (t = _(_({}, t), o));
1086
+ var o = rr(i.stem);
1087
+ o && (t = v(v({}, t), o));
1086
1088
  var a = Mn(i.stem);
1087
- a && (t = _(_({}, t), a));
1089
+ a && (t = v(v({}, t), a));
1088
1090
  }
1089
1091
  return t;
1090
1092
  }
@@ -2541,20 +2543,20 @@ function Pn(e) {
2541
2543
  var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2542
2544
  return i[0];
2543
2545
  }
2544
- var Ge, On = new RegExp("^".concat(er.source, "*")), Fn = new RegExp("".concat(er.source, "*$"));
2545
- function v(e, t) {
2546
+ var Ge, On = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
2547
+ function _(e, t) {
2546
2548
  return { start: e, end: t };
2547
2549
  }
2548
2550
  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) {
2549
2551
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
2552
  }, ze = !0;
2551
2553
  try {
2552
- var Xn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2554
+ var Xn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
2555
  ze = ((Ge = Xn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2554
2556
  } catch {
2555
2557
  ze = !1;
2556
2558
  }
2557
- var yt = Rn ? (
2559
+ var bt = Rn ? (
2558
2560
  // Native
2559
2561
  function(t, r, n) {
2560
2562
  return t.startsWith(r, n);
@@ -2576,7 +2578,7 @@ var yt = Rn ? (
2576
2578
  }
2577
2579
  return n;
2578
2580
  }
2579
- ), vt = (
2581
+ ), yt = (
2580
2582
  // native
2581
2583
  Un ? Object.fromEntries : (
2582
2584
  // Ponyfill
@@ -2588,7 +2590,7 @@ var yt = Rn ? (
2588
2590
  return r;
2589
2591
  }
2590
2592
  )
2591
- ), ir = Gn ? (
2593
+ ), nr = Gn ? (
2592
2594
  // Native
2593
2595
  function(t, r) {
2594
2596
  return t.codePointAt(r);
@@ -2623,12 +2625,12 @@ var yt = Rn ? (
2623
2625
  return t.replace(Fn, "");
2624
2626
  }
2625
2627
  );
2626
- function or(e, t) {
2628
+ function ir(e, t) {
2627
2629
  return new RegExp(e, t);
2628
2630
  }
2629
2631
  var Qe;
2630
2632
  if (ze) {
2631
- var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2633
+ var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
2634
  Qe = function(t, r) {
2633
2635
  var n;
2634
2636
  _t.lastIndex = r;
@@ -2638,8 +2640,8 @@ if (ze) {
2638
2640
  } else
2639
2641
  Qe = function(t, r) {
2640
2642
  for (var n = []; ; ) {
2641
- var i = ir(t, r);
2642
- if (i === void 0 || sr(i) || Jn(i))
2643
+ var i = nr(t, r);
2644
+ if (i === void 0 || or(i) || Jn(i))
2643
2645
  break;
2644
2646
  n.push(i), r += i >= 65536 ? 2 : 1;
2645
2647
  }
@@ -2670,12 +2672,12 @@ var Zn = (
2670
2672
  var a = this.clonePosition();
2671
2673
  this.bump(), i.push({
2672
2674
  type: T.pound,
2673
- location: v(a, this.clonePosition())
2675
+ location: _(a, this.clonePosition())
2674
2676
  });
2675
2677
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2676
2678
  if (n)
2677
2679
  break;
2678
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2680
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2679
2681
  } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2680
2682
  var o = this.parseTag(t, r);
2681
2683
  if (o.err)
@@ -2699,7 +2701,7 @@ var Zn = (
2699
2701
  val: {
2700
2702
  type: T.literal,
2701
2703
  value: "<".concat(i, "/>"),
2702
- location: v(n, this.clonePosition())
2704
+ location: _(n, this.clonePosition())
2703
2705
  },
2704
2706
  err: null
2705
2707
  };
@@ -2710,21 +2712,21 @@ var Zn = (
2710
2712
  var o = s.val, a = this.clonePosition();
2711
2713
  if (this.bumpIf("</")) {
2712
2714
  if (this.isEOF() || !qe(this.char()))
2713
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2715
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2714
2716
  var h = this.clonePosition(), l = this.parseTagName();
2715
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2717
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2716
2718
  val: {
2717
2719
  type: T.tag,
2718
2720
  value: i,
2719
2721
  children: o,
2720
- location: v(n, this.clonePosition())
2722
+ location: _(n, this.clonePosition())
2721
2723
  },
2722
2724
  err: null
2723
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2725
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2724
2726
  } else
2725
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2727
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2726
2728
  } else
2727
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2729
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2728
2730
  }, e.prototype.parseTagName = function() {
2729
2731
  var t = this.offset();
2730
2732
  for (this.bump(); !this.isEOF() && qn(this.char()); )
@@ -2749,7 +2751,7 @@ var Zn = (
2749
2751
  }
2750
2752
  break;
2751
2753
  }
2752
- var h = v(n, this.clonePosition());
2754
+ var h = _(n, this.clonePosition());
2753
2755
  return {
2754
2756
  val: { type: T.literal, value: i, location: h },
2755
2757
  err: null
@@ -2799,14 +2801,14 @@ var Zn = (
2799
2801
  }, e.prototype.parseArgument = function(t, r) {
2800
2802
  var n = this.clonePosition();
2801
2803
  if (this.bump(), this.bumpSpace(), this.isEOF())
2802
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2804
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2803
2805
  if (this.char() === 125)
2804
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2806
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2805
2807
  var i = this.parseIdentifierIfPossible().value;
2806
2808
  if (!i)
2807
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2809
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2808
2810
  if (this.bumpSpace(), this.isEOF())
2809
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2811
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2810
2812
  switch (this.char()) {
2811
2813
  case 125:
2812
2814
  return this.bump(), {
@@ -2814,25 +2816,25 @@ var Zn = (
2814
2816
  type: T.argument,
2815
2817
  // value does not include the opening and closing braces.
2816
2818
  value: i,
2817
- location: v(n, this.clonePosition())
2819
+ location: _(n, this.clonePosition())
2818
2820
  },
2819
2821
  err: null
2820
2822
  };
2821
2823
  case 44:
2822
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2824
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2823
2825
  default:
2824
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2826
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2825
2827
  }
2826
2828
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
2829
  var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2828
2830
  this.bumpTo(i);
2829
- var s = this.clonePosition(), o = v(t, s);
2831
+ var s = this.clonePosition(), o = _(t, s);
2830
2832
  return { value: n, location: o };
2831
2833
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2832
2834
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2833
2835
  switch (a) {
2834
2836
  case "":
2835
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
2837
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
2836
2838
  case "number":
2837
2839
  case "date":
2838
2840
  case "time": {
@@ -2845,15 +2847,15 @@ var Zn = (
2845
2847
  return m;
2846
2848
  var f = zn(m.val);
2847
2849
  if (f.length === 0)
2848
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2849
- var p = v(u, this.clonePosition());
2850
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2851
+ var p = _(u, this.clonePosition());
2850
2852
  l = { style: f, styleLocation: p };
2851
2853
  }
2852
2854
  var g = this.tryParseArgumentClose(i);
2853
2855
  if (g.err)
2854
2856
  return g;
2855
- var b = v(i, this.clonePosition());
2856
- if (l && yt(l?.style, "::", 0)) {
2857
+ var b = _(i, this.clonePosition());
2858
+ if (l && bt(l?.style, "::", 0)) {
2857
2859
  var d = Wn(l.style.slice(2));
2858
2860
  if (a === "number") {
2859
2861
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
@@ -2893,12 +2895,12 @@ var Zn = (
2893
2895
  case "select": {
2894
2896
  var H = this.clonePosition();
2895
2897
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
2898
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(H, v({}, H)));
2897
2899
  this.bumpSpace();
2898
2900
  var R = this.parseIdentifierIfPossible(), P = 0;
2899
2901
  if (a !== "select" && R.value === "offset") {
2900
2902
  if (!this.bumpIf(":"))
2901
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2903
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2902
2904
  this.bumpSpace();
2903
2905
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2904
2906
  if (m.err)
@@ -2911,12 +2913,12 @@ var Zn = (
2911
2913
  var g = this.tryParseArgumentClose(i);
2912
2914
  if (g.err)
2913
2915
  return g;
2914
- var C = v(i, this.clonePosition());
2916
+ var C = _(i, this.clonePosition());
2915
2917
  return a === "select" ? {
2916
2918
  val: {
2917
2919
  type: T.select,
2918
2920
  value: n,
2919
- options: vt(k.val),
2921
+ options: yt(k.val),
2920
2922
  location: C
2921
2923
  },
2922
2924
  err: null
@@ -2924,7 +2926,7 @@ var Zn = (
2924
2926
  val: {
2925
2927
  type: T.plural,
2926
2928
  value: n,
2927
- options: vt(k.val),
2929
+ options: yt(k.val),
2928
2930
  offset: P,
2929
2931
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2930
2932
  location: C
@@ -2933,10 +2935,10 @@ var Zn = (
2933
2935
  };
2934
2936
  }
2935
2937
  default:
2936
- return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
2938
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
2937
2939
  }
2938
2940
  }, e.prototype.tryParseArgumentClose = function(t) {
2939
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2941
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2940
2942
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2941
2943
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2942
2944
  var n = this.char();
@@ -2945,7 +2947,7 @@ var Zn = (
2945
2947
  this.bump();
2946
2948
  var i = this.clonePosition();
2947
2949
  if (!this.bumpUntil("'"))
2948
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2950
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2949
2951
  this.bump();
2950
2952
  break;
2951
2953
  }
@@ -2996,7 +2998,7 @@ var Zn = (
2996
2998
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2997
2999
  if (f.err)
2998
3000
  return f;
2999
- u = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3001
+ u = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3000
3002
  } else
3001
3003
  break;
3002
3004
  }
@@ -3005,7 +3007,7 @@ var Zn = (
3005
3007
  l === "other" && (o = !0), this.bumpSpace();
3006
3008
  var p = this.clonePosition();
3007
3009
  if (!this.bumpIf("{"))
3008
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3010
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3009
3011
  var g = this.parseMessage(t + 1, r, n);
3010
3012
  if (g.err)
3011
3013
  return g;
@@ -3016,11 +3018,11 @@ var Zn = (
3016
3018
  l,
3017
3019
  {
3018
3020
  value: g.val,
3019
- location: v(p, this.clonePosition())
3021
+ location: _(p, this.clonePosition())
3020
3022
  }
3021
3023
  ]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
3022
3024
  }
3023
- 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 };
3025
+ 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 };
3024
3026
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3025
3027
  var n = 1, i = this.clonePosition();
3026
3028
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3031,7 +3033,7 @@ var Zn = (
3031
3033
  else
3032
3034
  break;
3033
3035
  }
3034
- var h = v(i, this.clonePosition());
3036
+ var h = _(i, this.clonePosition());
3035
3037
  return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3036
3038
  }, e.prototype.offset = function() {
3037
3039
  return this.position.offset;
@@ -3047,7 +3049,7 @@ var Zn = (
3047
3049
  var t = this.position.offset;
3048
3050
  if (t >= this.message.length)
3049
3051
  throw Error("out of bound");
3050
- var r = ir(this.message, t);
3052
+ var r = nr(this.message, t);
3051
3053
  if (r === void 0)
3052
3054
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3053
3055
  return r;
@@ -3066,7 +3068,7 @@ var Zn = (
3066
3068
  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);
3067
3069
  }
3068
3070
  }, e.prototype.bumpIf = function(t) {
3069
- if (yt(this.message, t, this.offset())) {
3071
+ if (bt(this.message, t, this.offset())) {
3070
3072
  for (var r = 0; r < t.length; r++)
3071
3073
  this.bump();
3072
3074
  return !0;
@@ -3088,7 +3090,7 @@ var Zn = (
3088
3090
  break;
3089
3091
  }
3090
3092
  }, e.prototype.bumpSpace = function() {
3091
- for (; !this.isEOF() && sr(this.char()); )
3093
+ for (; !this.isEOF() && or(this.char()); )
3092
3094
  this.bump();
3093
3095
  }, e.prototype.peek = function() {
3094
3096
  if (this.isEOF())
@@ -3107,7 +3109,7 @@ function Qn(e) {
3107
3109
  function qn(e) {
3108
3110
  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;
3109
3111
  }
3110
- function sr(e) {
3112
+ function or(e) {
3111
3113
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3114
  }
3113
3115
  function Jn(e) {
@@ -3115,15 +3117,15 @@ function Jn(e) {
3115
3117
  }
3116
3118
  function Je(e) {
3117
3119
  e.forEach(function(t) {
3118
- if (delete t.location, qt(t) || Jt(t))
3120
+ if (delete t.location, Qt(t) || qt(t))
3119
3121
  for (var r in t.options)
3120
3122
  delete t.options[r].location, Je(t.options[r].value);
3121
3123
  else
3122
- zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3124
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && We(t.style) ? delete t.style.location : Jt(t) && Je(t.children);
3123
3125
  });
3124
3126
  }
3125
3127
  function Yn(e, t) {
3126
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3128
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
3129
  var r = new Zn(e, t).parse();
3128
3130
  if (r.err) {
3129
3131
  var n = SyntaxError(y[r.err.kind]);
@@ -3147,7 +3149,7 @@ var Ne = (
3147
3149
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3148
3150
  }, t;
3149
3151
  }(Error)
3150
- ), Et = (
3152
+ ), vt = (
3151
3153
  /** @class */
3152
3154
  function(e) {
3153
3155
  Me(t, e);
@@ -3188,7 +3190,7 @@ function ri(e) {
3188
3190
  return typeof e == "function";
3189
3191
  }
3190
3192
  function He(e, t, r, n, i, s, o) {
3191
- if (e.length === 1 && dt(e[0]))
3193
+ if (e.length === 1 && mt(e[0]))
3192
3194
  return [
3193
3195
  {
3194
3196
  type: O.literal,
@@ -3197,7 +3199,7 @@ function He(e, t, r, n, i, s, o) {
3197
3199
  ];
3198
3200
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3199
3201
  var u = l[h];
3200
- if (dt(u)) {
3202
+ if (mt(u)) {
3201
3203
  a.push({
3202
3204
  type: O.literal,
3203
3205
  value: u.value
@@ -3222,7 +3224,7 @@ function He(e, t, r, n, i, s, o) {
3222
3224
  });
3223
3225
  continue;
3224
3226
  }
3225
- if (Zt(u)) {
3227
+ if (zt(u)) {
3226
3228
  var p = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3227
3229
  a.push({
3228
3230
  type: O.literal,
@@ -3230,7 +3232,7 @@ function He(e, t, r, n, i, s, o) {
3230
3232
  });
3231
3233
  continue;
3232
3234
  }
3233
- if (Qt(u)) {
3235
+ if (Zt(u)) {
3234
3236
  var p = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3235
3237
  a.push({
3236
3238
  type: O.literal,
@@ -3238,15 +3240,15 @@ function He(e, t, r, n, i, s, o) {
3238
3240
  });
3239
3241
  continue;
3240
3242
  }
3241
- if (zt(u)) {
3242
- var p = typeof u.style == "string" ? n.number[u.style] : Kt(u.style) ? u.style.parsedOptions : void 0;
3243
+ if (Wt(u)) {
3244
+ var p = typeof u.style == "string" ? n.number[u.style] : Yt(u.style) ? u.style.parsedOptions : void 0;
3243
3245
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3244
3246
  type: O.literal,
3245
3247
  value: r.getNumberFormat(t, p).format(f)
3246
3248
  });
3247
3249
  continue;
3248
3250
  }
3249
- if (Yt(u)) {
3251
+ if (Jt(u)) {
3250
3252
  var g = u.children, b = u.value, d = i[b];
3251
3253
  if (!ri(d))
3252
3254
  throw new Kn(b, "function", o);
@@ -3260,14 +3262,14 @@ function He(e, t, r, n, i, s, o) {
3260
3262
  };
3261
3263
  }));
3262
3264
  }
3263
- if (qt(u)) {
3265
+ if (Qt(u)) {
3264
3266
  var H = u.options[f] || u.options.other;
3265
3267
  if (!H)
3266
- throw new Et(u.value, f, Object.keys(u.options), o);
3268
+ throw new vt(u.value, f, Object.keys(u.options), o);
3267
3269
  a.push.apply(a, He(H.value, t, r, n, i));
3268
3270
  continue;
3269
3271
  }
3270
- if (Jt(u)) {
3272
+ if (qt(u)) {
3271
3273
  var H = u.options["=".concat(f)];
3272
3274
  if (!H) {
3273
3275
  if (!Intl.PluralRules)
@@ -3278,7 +3280,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3278
3280
  H = u.options[R] || u.options.other;
3279
3281
  }
3280
3282
  if (!H)
3281
- throw new Et(u.value, f, Object.keys(u.options), o);
3283
+ throw new vt(u.value, f, Object.keys(u.options), o);
3282
3284
  a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
3283
3285
  continue;
3284
3286
  }
@@ -3286,14 +3288,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3286
3288
  return ti(a);
3287
3289
  }
3288
3290
  function ni(e, t) {
3289
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3291
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3292
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3291
3293
  }, {})) : e;
3292
3294
  }
3293
3295
  function ii(e, t) {
3294
3296
  return t ? Object.keys(e).reduce(function(r, n) {
3295
3297
  return r[n] = ni(e[n], t[n]), r;
3296
- }, _({}, e)) : e;
3298
+ }, v({}, e)) : e;
3297
3299
  }
3298
3300
  function ke(e) {
3299
3301
  return {
@@ -3373,8 +3375,8 @@ var si = (
3373
3375
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3374
3376
  var o = i || {};
3375
3377
  o.formatters;
3376
- var a = gn(o, ["formatters"]);
3377
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3378
+ var a = pn(o, ["formatters"]);
3379
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3378
3380
  } else
3379
3381
  this.ast = t;
3380
3382
  if (!Array.isArray(this.ast))
@@ -3474,7 +3476,7 @@ function ai(e, t) {
3474
3476
  n = void 0;
3475
3477
  return n;
3476
3478
  }
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) => {
3479
+ const X = {}, li = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), sr = (e, t) => {
3478
3480
  if (t == null)
3479
3481
  return;
3480
3482
  if (t in X && e in X[t])
@@ -3486,16 +3488,16 @@ const X = {}, li = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][
3486
3488
  return li(e, t, s);
3487
3489
  }
3488
3490
  };
3489
- let it;
3491
+ let nt;
3490
3492
  const le = Ie({});
3491
3493
  function ui(e) {
3492
- return it[e] || null;
3494
+ return nt[e] || null;
3493
3495
  }
3494
- function lr(e) {
3495
- return e in it;
3496
+ function ar(e) {
3497
+ return e in nt;
3496
3498
  }
3497
3499
  function hi(e, t) {
3498
- if (!lr(e))
3500
+ if (!ar(e))
3499
3501
  return null;
3500
3502
  const r = ui(e);
3501
3503
  return ai(r, t);
@@ -3506,28 +3508,28 @@ function ci(e) {
3506
3508
  const t = Le(e);
3507
3509
  for (let r = 0; r < t.length; r++) {
3508
3510
  const n = t[r];
3509
- if (lr(n))
3511
+ if (ar(n))
3510
3512
  return n;
3511
3513
  }
3512
3514
  }
3513
- function ur(e, ...t) {
3514
- delete X[e], le.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3515
+ function lr(e, ...t) {
3516
+ delete X[e], le.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3515
3517
  }
3516
3518
  ae(
3517
3519
  [le],
3518
3520
  ([e]) => Object.keys(e)
3519
3521
  );
3520
- le.subscribe((e) => it = e);
3522
+ le.subscribe((e) => nt = e);
3521
3523
  const Se = {};
3522
3524
  function fi(e, t) {
3523
3525
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3524
3526
  }
3525
- function hr(e) {
3527
+ function ur(e) {
3526
3528
  return Se[e];
3527
3529
  }
3528
3530
  function mi(e) {
3529
3531
  return Le(e).map((t) => {
3530
- const r = hr(t);
3532
+ const r = ur(t);
3531
3533
  return [t, r ? [...r] : []];
3532
3534
  }).filter(([, t]) => t.length > 0);
3533
3535
  }
@@ -3535,17 +3537,17 @@ function Ye(e) {
3535
3537
  return e == null ? !1 : Le(e).some(
3536
3538
  (t) => {
3537
3539
  var r;
3538
- return (r = hr(t)) == null ? void 0 : r.size;
3540
+ return (r = ur(t)) == null ? void 0 : r.size;
3539
3541
  }
3540
3542
  );
3541
3543
  }
3542
3544
  function di(e, t) {
3543
3545
  return Promise.all(
3544
3546
  t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3545
- ).then((n) => ur(e, ...n));
3547
+ ).then((n) => lr(e, ...n));
3546
3548
  }
3547
3549
  const ce = {};
3548
- function cr(e) {
3550
+ function hr(e) {
3549
3551
  if (!Ye(e))
3550
3552
  return e in ce ? ce[e] : Promise.resolve();
3551
3553
  const t = mi(e);
@@ -3555,7 +3557,7 @@ function cr(e) {
3555
3557
  )
3556
3558
  ).then(() => {
3557
3559
  if (Ye(e))
3558
- return cr(e);
3560
+ return hr(e);
3559
3561
  delete ce[e];
3560
3562
  }), ce[e];
3561
3563
  }
@@ -3600,22 +3602,22 @@ function se() {
3600
3602
  return bi;
3601
3603
  }
3602
3604
  const $e = Ie(!1);
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) => {
3604
- for (var r in t || (t = {}))
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]);
3605
+ var yi = Object.defineProperty, _i = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3606
+ for (var r in t)
3607
+ Ei.call(t, r) && xt(e, r, t[r]);
3608
+ if (Et)
3609
+ for (var r of Et(t))
3610
+ xi.call(t, r) && xt(e, r, t[r]);
3609
3611
  return e;
3610
- }, wi = (e, t) => vi(e, _i(t));
3612
+ }, wi = (e, t) => _i(e, vi(t));
3611
3613
  let Ke;
3612
3614
  const Ae = Ie(null);
3613
- function wt(e) {
3615
+ function Ct(e) {
3614
3616
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3615
3617
  }
3616
3618
  function Le(e, t = se().fallbackLocale) {
3617
- const r = wt(e);
3618
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3619
+ const r = Ct(e);
3620
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3619
3621
  }
3620
3622
  function q() {
3621
3623
  return Ke ?? void 0;
@@ -3630,7 +3632,7 @@ const Hi = (e) => {
3630
3632
  return typeof window < "u" && q() != null && t ? r = window.setTimeout(
3631
3633
  () => $e.set(!0),
3632
3634
  t
3633
- ) : $e.set(!0), cr(e).then(() => {
3635
+ ) : $e.set(!0), hr(e).then(() => {
3634
3636
  Ae.set(e);
3635
3637
  }).finally(() => {
3636
3638
  clearTimeout(r), $e.set(!1);
@@ -3646,20 +3648,20 @@ const Hi = (e) => {
3646
3648
  return i in t ? t[i] : t[i] = e(n);
3647
3649
  };
3648
3650
  };
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) => {
3651
+ var Si = Object.defineProperty, Be = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3650
3652
  for (var r in t || (t = {}))
3651
- fr.call(t, r) && Ht(e, r, t[r]);
3653
+ cr.call(t, r) && wt(e, r, t[r]);
3652
3654
  if (Be)
3653
3655
  for (var r of Be(t))
3654
- mr.call(t, r) && Ht(e, r, t[r]);
3656
+ fr.call(t, r) && wt(e, r, t[r]);
3655
3657
  return e;
3656
3658
  }, ue = (e, t) => {
3657
3659
  var r = {};
3658
3660
  for (var n in e)
3659
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3661
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3660
3662
  if (e != null && Be)
3661
3663
  for (var n of Be(e))
3662
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3664
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
3663
3665
  return r;
3664
3666
  };
3665
3667
  const be = (e, t) => {
@@ -3696,21 +3698,21 @@ const be = (e, t) => {
3696
3698
  } = t, n = ue(t, [
3697
3699
  "locale"
3698
3700
  ]);
3699
- return Ti(ot({ locale: r }, n));
3701
+ return Ti(it({ locale: r }, n));
3700
3702
  }, Mi = (e = {}) => {
3701
3703
  var t = e, {
3702
3704
  locale: r = q()
3703
3705
  } = t, n = ue(t, [
3704
3706
  "locale"
3705
3707
  ]);
3706
- return Ai(ot({ locale: r }, n));
3708
+ return Ai(it({ locale: r }, n));
3707
3709
  }, Ni = (e = {}) => {
3708
3710
  var t = e, {
3709
3711
  locale: r = q()
3710
3712
  } = t, n = ue(t, [
3711
3713
  "locale"
3712
3714
  ]);
3713
- return Bi(ot({ locale: r }, n));
3715
+ return Bi(it({ locale: r }, n));
3714
3716
  }, Li = Pe(
3715
3717
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3716
3718
  (e, t = q()) => new si(e, t, se().formats, {
@@ -3729,7 +3731,7 @@ const be = (e, t) => {
3729
3731
  throw new Error(
3730
3732
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3731
3733
  );
3732
- let u = ar(e, h);
3734
+ let u = sr(e, h);
3733
3735
  if (!u)
3734
3736
  u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3735
3737
  else if (typeof u != "string")
@@ -3748,7 +3750,7 @@ const be = (e, t) => {
3748
3750
  );
3749
3751
  }
3750
3752
  return m;
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);
3753
+ }, 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()) => sr(e, t);
3752
3754
  ae([W, le], () => Pi);
3753
3755
  ae([W], () => Oi);
3754
3756
  ae([W], () => Fi);
@@ -3759,13 +3761,13 @@ function Ui({ withLocale: e, translations: t }) {
3759
3761
  r == null && (le.set(t), W.set(e));
3760
3762
  });
3761
3763
  }
3762
- function St(e, t) {
3763
- ur(e, t);
3764
+ function Ht(e, t) {
3765
+ lr(e, t);
3764
3766
  }
3765
3767
  function Gi(e) {
3766
3768
  W.set(e);
3767
3769
  }
3768
- const Tt = {
3770
+ const St = {
3769
3771
  en: {
3770
3772
  login: "Login",
3771
3773
  register: "Register",
@@ -3823,21 +3825,21 @@ const Tt = {
3823
3825
  }
3824
3826
  };
3825
3827
  function ki(e) {
3826
- Br(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}');
3828
+ Ar(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}');
3827
3829
  }
3828
- function At(e, t, r) {
3830
+ function Tt(e, t, r) {
3829
3831
  const n = e.slice();
3830
3832
  return n[48] = t[r], n[50] = r, n;
3831
3833
  }
3832
- function Bt(e, t, r) {
3834
+ function At(e, t, r) {
3833
3835
  const n = e.slice();
3834
3836
  return n[51] = t[r], n;
3835
3837
  }
3836
- function It(e, t, r) {
3838
+ function Bt(e, t, r) {
3837
3839
  const n = e.slice();
3838
3840
  return n[54] = t[r], n[56] = r, n;
3839
3841
  }
3840
- function Mt(e) {
3842
+ function It(e) {
3841
3843
  let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3842
3844
  /*sliderdata*/
3843
3845
  e[9]
@@ -3847,8 +3849,8 @@ function Mt(e) {
3847
3849
  o[48].id
3848
3850
  );
3849
3851
  for (let o = 0; o < i.length; o += 1) {
3850
- let a = At(e, i, o), h = s(a);
3851
- r.set(h, t[o] = Rt(h, a));
3852
+ let a = Tt(e, i, o), h = s(a);
3853
+ r.set(h, t[o] = Ft(h, a));
3852
3854
  }
3853
3855
  return {
3854
3856
  c() {
@@ -3866,7 +3868,7 @@ function Mt(e) {
3866
3868
  77775 && (i = re(
3867
3869
  /*sliderdata*/
3868
3870
  o[9]
3869
- ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Rt, n, At));
3871
+ ), t = kt(t, a, s, 1, o, i, r, n.parentNode, Gt, Ft, n, Tt));
3870
3872
  },
3871
3873
  d(o) {
3872
3874
  o && F(n);
@@ -3922,11 +3924,11 @@ function ji(e) {
3922
3924
  }
3923
3925
  };
3924
3926
  }
3925
- function Nt(e) {
3927
+ function Mt(e) {
3926
3928
  let t, r = (
3927
3929
  /*subGroupsData*/
3928
3930
  e[10].length > 0 && /*showsubgroups*/
3929
- e[2] == "true" && Lt(e)
3931
+ e[2] == "true" && Nt(e)
3930
3932
  );
3931
3933
  return {
3932
3934
  c() {
@@ -3938,20 +3940,20 @@ function Nt(e) {
3938
3940
  p(n, i) {
3939
3941
  /*subGroupsData*/
3940
3942
  n[10].length > 0 && /*showsubgroups*/
3941
- n[2] == "true" ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3943
+ n[2] == "true" ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3942
3944
  },
3943
3945
  d(n) {
3944
3946
  n && F(t), r && r.d(n);
3945
3947
  }
3946
3948
  };
3947
3949
  }
3948
- function Lt(e) {
3950
+ function Nt(e) {
3949
3951
  let t, r = re(
3950
3952
  /*subGroupsData*/
3951
3953
  e[10]
3952
3954
  ), n = [];
3953
3955
  for (let i = 0; i < r.length; i += 1)
3954
- n[i] = Ft(Bt(e, r, i));
3956
+ n[i] = Ot(At(e, r, i));
3955
3957
  return {
3956
3958
  c() {
3957
3959
  t = N("ul");
@@ -3973,8 +3975,8 @@ function Lt(e) {
3973
3975
  );
3974
3976
  let o;
3975
3977
  for (o = 0; o < r.length; o += 1) {
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));
3978
+ const a = At(i, r, o);
3979
+ n[o] ? n[o].p(a, s) : (n[o] = Ot(a), n[o].c(), n[o].m(t, null));
3978
3980
  }
3979
3981
  for (; o < n.length; o += 1)
3980
3982
  n[o].d(1);
@@ -3982,11 +3984,11 @@ function Lt(e) {
3982
3984
  }
3983
3985
  },
3984
3986
  d(i) {
3985
- i && F(t), Nr(n, i);
3987
+ i && F(t), Mr(n, i);
3986
3988
  }
3987
3989
  };
3988
3990
  }
3989
- function Pt(e) {
3991
+ function Lt(e) {
3990
3992
  let t, r, n = (
3991
3993
  /*subGroupItem*/
3992
3994
  e[54]?.name + ""
@@ -4037,11 +4039,11 @@ function Pt(e) {
4037
4039
  }
4038
4040
  };
4039
4041
  }
4040
- function Ot(e, t) {
4042
+ function Pt(e, t) {
4041
4043
  let r, n, i = (
4042
4044
  /*index*/
4043
4045
  t[50] == /*subGroup*/
4044
- t[51].index && Pt(t)
4046
+ t[51].index && Lt(t)
4045
4047
  );
4046
4048
  return {
4047
4049
  key: e,
@@ -4055,14 +4057,14 @@ function Ot(e, t) {
4055
4057
  p(s, o) {
4056
4058
  t = s, /*index*/
4057
4059
  t[50] == /*subGroup*/
4058
- t[51].index ? i ? i.p(t, o) : (i = Pt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4060
+ t[51].index ? i ? i.p(t, o) : (i = Lt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4059
4061
  },
4060
4062
  d(s) {
4061
4063
  s && (F(r), F(n)), i && i.d(s);
4062
4064
  }
4063
4065
  };
4064
4066
  }
4065
- function Ft(e) {
4067
+ function Ot(e) {
4066
4068
  let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4067
4069
  /*subGroup*/
4068
4070
  e[51].items
@@ -4072,8 +4074,8 @@ function Ft(e) {
4072
4074
  o[54].id
4073
4075
  );
4074
4076
  for (let o = 0; o < i.length; o += 1) {
4075
- let a = It(e, i, o), h = s(a);
4076
- r.set(h, t[o] = Ot(h, a));
4077
+ let a = Bt(e, i, o), h = s(a);
4078
+ r.set(h, t[o] = Pt(h, a));
4077
4079
  }
4078
4080
  return {
4079
4081
  c() {
@@ -4091,7 +4093,7 @@ function Ft(e) {
4091
4093
  10176 && (i = re(
4092
4094
  /*subGroup*/
4093
4095
  o[51].items
4094
- ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Ot, n, It));
4096
+ ), t = kt(t, a, s, 1, o, i, r, n.parentNode, Gt, Pt, n, Bt));
4095
4097
  },
4096
4098
  d(o) {
4097
4099
  o && F(n);
@@ -4100,7 +4102,7 @@ function Ft(e) {
4100
4102
  }
4101
4103
  };
4102
4104
  }
4103
- function Rt(e, t) {
4105
+ function Ft(e, t) {
4104
4106
  let r, n, i, s, o, a, h, l, u, m, f;
4105
4107
  function p(E, H) {
4106
4108
  return (
@@ -4113,7 +4115,7 @@ function Rt(e, t) {
4113
4115
  t[11][
4114
4116
  /*index*/
4115
4117
  t[50]
4116
- ] == !0 && Nt(t)
4118
+ ] == !0 && Mt(t)
4117
4119
  );
4118
4120
  function w(...E) {
4119
4121
  return (
@@ -4132,7 +4134,7 @@ function Rt(e, t) {
4132
4134
  first: null,
4133
4135
  c() {
4134
4136
  r = N("li"), n = N("div"), i = N("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4135
- (t[3] === "true" ? "" : "DisplayNone")), ct(i.src, o = /*handleSrc*/
4137
+ (t[3] === "true" ? "" : "DisplayNone")), ht(i.src, o = /*handleSrc*/
4136
4138
  t[16](
4137
4139
  /*category*/
4138
4140
  t[48]
@@ -4155,7 +4157,7 @@ function Rt(e, t) {
4155
4157
  t = E, H[0] & /*categoriesicon*/
4156
4158
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4157
4159
  (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
4158
- 512 && !ct(i.src, o = /*handleSrc*/
4160
+ 512 && !ht(i.src, o = /*handleSrc*/
4159
4161
  t[16](
4160
4162
  /*category*/
4161
4163
  t[48]
@@ -4163,7 +4165,7 @@ function Rt(e, t) {
4163
4165
  t[11][
4164
4166
  /*index*/
4165
4167
  t[50]
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*/
4168
+ ] == !0 ? d ? d.p(t, H) : (d = Mt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4167
4169
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4168
4170
  (t[1]?.toString().indexOf("$") > -1 ? (
4169
4171
  /*activeindex*/
@@ -4184,7 +4186,7 @@ function Rt(e, t) {
4184
4186
  function Vi(e) {
4185
4187
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4186
4188
  /*sliderdata*/
4187
- e[9].length > 0 && Mt(e)
4189
+ e[9].length > 0 && It(e)
4188
4190
  );
4189
4191
  return {
4190
4192
  c() {
@@ -4211,7 +4213,7 @@ function Vi(e) {
4211
4213
  },
4212
4214
  p(w, E) {
4213
4215
  /*sliderdata*/
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*/
4216
+ w[9].length > 0 ? d ? d.p(w, E) : (d = It(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4215
4217
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4216
4218
  w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4217
4219
  1 && f !== (f = /*location*/
@@ -4232,18 +4234,18 @@ function Xi(e, t, r) {
4232
4234
  const k = () => {
4233
4235
  fetch(f).then((x) => x.json()).then((x) => {
4234
4236
  Object.keys(x).forEach((D) => {
4235
- St(D, x[D]);
4237
+ Ht(D, x[D]);
4236
4238
  });
4237
4239
  }).catch((x) => {
4238
4240
  console.log(x);
4239
4241
  });
4240
4242
  };
4241
- Object.keys(Tt).forEach((c) => {
4242
- St(c, Tt[c]);
4243
+ Object.keys(St).forEach((c) => {
4244
+ Ht(c, St[c]);
4243
4245
  });
4244
- let C, I, L, j, $, he = [], ve = [], J = [], M, Oe = (c, x, D, z, V) => {
4246
+ let C, I, L, j, $, he = [], _e = [], J = [], M, Oe = (c, x, D, z, V) => {
4245
4247
  if (!(c.subGroups && z === null)) {
4246
- if (_e(), r(6, I = x), r(6, I), V != "secondary") {
4248
+ if (ve(), r(6, I = x), r(6, I), V != "secondary") {
4247
4249
  window.postMessage(
4248
4250
  {
4249
4251
  type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
@@ -4269,22 +4271,22 @@ function Xi(e, t, r) {
4269
4271
  window.location.href
4270
4272
  );
4271
4273
  }
4272
- }, st = () => {
4274
+ }, ot = () => {
4273
4275
  M && (J.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4274
- }, at = () => {
4276
+ }, st = () => {
4275
4277
  M && (J.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4276
4278
  };
4277
- const lt = (c) => {
4278
- c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, J = new Array(he.length).fill(!1)), w == "true" && gr()), c.data.type == "GoToHomepage" && he.forEach((x, D) => {
4279
+ const at = (c) => {
4280
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, J = new Array(he.length).fill(!1)), w == "true" && pr()), c.data.type == "GoToHomepage" && he.forEach((x, D) => {
4279
4281
  x.path.endsWith("/casino") && (r(6, I = D), r(6, I));
4280
4282
  });
4281
- }, dr = () => {
4283
+ }, mr = () => {
4282
4284
  Gi(b);
4283
- }, pr = (c, x, D) => {
4285
+ }, dr = (c, x, D) => {
4284
4286
  if (h == "secondaryMenu" && n && i && b && c.id) {
4285
4287
  let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4286
4288
  fetch(z.href).then((V) => V.json()).then((V) => {
4287
- V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
4289
+ V.index = x, r(10, _e = _e.concat(V)), w == "false" && window.postMessage(
4288
4290
  {
4289
4291
  type: o,
4290
4292
  itemId: c.id,
@@ -4294,53 +4296,53 @@ function Xi(e, t, r) {
4294
4296
  window.location.href
4295
4297
  );
4296
4298
  const Ee = [];
4297
- ve.map((Hr) => (Hr.items.forEach((ut) => {
4298
- Ee.find((Sr) => ut.id == Sr) || Ee.push(ut.id);
4299
+ _e.map((wr) => (wr.items.forEach((lt) => {
4300
+ Ee.find((Hr) => lt.id == Hr) || Ee.push(lt.id);
4299
4301
  }), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
4300
4302
  }).then(() => {
4301
- C.querySelectorAll(".DropDown") && _e();
4303
+ C.querySelectorAll(".DropDown") && ve();
4302
4304
  });
4303
4305
  }
4304
4306
  h == "headerMain" && window.postMessage({ type: o, item: c }, window.location.href);
4305
- }, _e = () => {
4307
+ }, ve = () => {
4306
4308
  const c = C.querySelectorAll(".DropDown");
4307
4309
  document.activeElement.blur(), M.classList.add("isScrolling");
4308
4310
  for (let x = 0; x < c.length; x++)
4309
4311
  c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4310
4312
  M.classList.remove("isScrolling");
4311
- }, gr = () => {
4313
+ }, pr = () => {
4312
4314
  he.forEach((c, x) => {
4313
- c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), pr(c, x));
4315
+ c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), dr(c, x));
4314
4316
  });
4315
- }, br = (c) => {
4317
+ }, gr = (c) => {
4316
4318
  let x = "";
4317
4319
  return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = R), c.icon || x;
4318
4320
  };
4319
- Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4321
+ Or(() => (window.addEventListener("message", at, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4320
4322
  () => {
4321
- M.addEventListener("scroll", _e);
4323
+ M.addEventListener("scroll", ve);
4322
4324
  },
4323
4325
  500
4324
4326
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4325
- window.removeEventListener("message", lt), C.removeEventListener("scroll", _e);
4327
+ window.removeEventListener("message", at), C.removeEventListener("scroll", ve);
4326
4328
  }));
4327
- const yr = () => st(), vr = (c, x, D, z, V) => {
4329
+ const br = () => ot(), yr = (c, x, D, z, V) => {
4328
4330
  Oe(c, x, D, z, "secondary"), V.stopPropagation();
4329
4331
  }, _r = (c, x, D) => {
4330
4332
  Oe(c, x, null, null, "main"), D.preventDefault();
4331
4333
  };
4332
- function Er(c) {
4334
+ function vr(c) {
4333
4335
  me[c ? "unshift" : "push"](() => {
4334
4336
  C = c, r(5, C);
4335
4337
  });
4336
4338
  }
4337
- function xr(c) {
4339
+ function Er(c) {
4338
4340
  me[c ? "unshift" : "push"](() => {
4339
4341
  M = c, r(12, M);
4340
4342
  });
4341
4343
  }
4342
- const Cr = () => at();
4343
- function wr(c) {
4344
+ const xr = () => st();
4345
+ function Cr(c) {
4344
4346
  me[c ? "unshift" : "push"](() => {
4345
4347
  $ = c, r(4, $);
4346
4348
  });
@@ -4351,11 +4353,11 @@ function Xi(e, t, r) {
4351
4353
  e.$$.dirty[0] & /*activeindex*/
4352
4354
  2, e.$$.dirty[0] & /*translationurl*/
4353
4355
  33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4354
- 4194320 && l && $ && Qr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4355
- 8388624 && u && $ && qr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4356
+ 4194320 && l && $ && Zr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4357
+ 8388624 && u && $ && Qr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4356
4358
  16 | e.$$.dirty[1] & /*mbsource*/
4357
- 1 && P && $ && Jr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4358
- 268435456 && b && dr();
4359
+ 1 && P && $ && qr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4360
+ 268435456 && b && mr();
4359
4361
  }, [
4360
4362
  h,
4361
4363
  d,
@@ -4367,13 +4369,13 @@ function Xi(e, t, r) {
4367
4369
  L,
4368
4370
  j,
4369
4371
  he,
4370
- ve,
4372
+ _e,
4371
4373
  J,
4372
4374
  M,
4373
4375
  Oe,
4376
+ ot,
4374
4377
  st,
4375
- at,
4376
- br,
4378
+ gr,
4377
4379
  n,
4378
4380
  i,
4379
4381
  s,
@@ -4389,23 +4391,23 @@ function Xi(e, t, r) {
4389
4391
  H,
4390
4392
  R,
4391
4393
  P,
4394
+ br,
4392
4395
  yr,
4393
- vr,
4394
4396
  _r,
4397
+ vr,
4395
4398
  Er,
4396
4399
  xr,
4397
- Cr,
4398
- wr
4400
+ Cr
4399
4401
  ];
4400
4402
  }
4401
- class Wi extends zr {
4403
+ class Wi extends Wr {
4402
4404
  constructor(t) {
4403
- super(), Xr(
4405
+ super(), Vr(
4404
4406
  this,
4405
4407
  t,
4406
4408
  Xi,
4407
4409
  Vi,
4408
- Ut,
4410
+ Dt,
4409
4411
  {
4410
4412
  endpoint: 17,
4411
4413
  datasource: 18,
@@ -4546,7 +4548,7 @@ class Wi extends zr {
4546
4548
  this.$$set({ mbsource: t }), A();
4547
4549
  }
4548
4550
  }
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);
4551
+ Xr(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);
4550
4552
  export {
4551
4553
  Wi as C
4552
4554
  };