@everymatrix/casino-slider 1.74.10 → 1.75.0

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,17 +1,17 @@
1
- var Gr = Object.defineProperty, kr = Object.defineProperties;
2
- var $r = Object.getOwnPropertyDescriptors;
3
- var dt = Object.getOwnPropertySymbols;
4
- var jr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
- var Ge = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
1
+ var kr = Object.defineProperty, $r = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var pt = Object.getOwnPropertySymbols;
4
+ var Vr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
5
+ var Ge = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- jr.call(t, r) && Ge(e, r, t[r]);
8
- if (dt)
9
- for (var r of dt(t))
10
- Vr.call(t, r) && Ge(e, r, t[r]);
7
+ Vr.call(t, r) && Ge(e, r, t[r]);
8
+ if (pt)
9
+ for (var r of pt(t))
10
+ Xr.call(t, r) && Ge(e, r, t[r]);
11
11
  return e;
12
- }, gt = (e, t) => kr(e, $r(t));
12
+ }, bt = (e, t) => $r(e, jr(t));
13
13
  var G = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var bt = (e, t, r) => new Promise((n, i) => {
14
+ var yt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,29 +29,29 @@ var bt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function $() {
31
31
  }
32
- function Wt(e) {
32
+ function zt(e) {
33
33
  return e();
34
34
  }
35
- function yt() {
35
+ function vt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function Y(e) {
39
- e.forEach(Wt);
39
+ e.forEach(zt);
40
40
  }
41
41
  function ot(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function zt(e, t) {
44
+ function Zt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Se;
48
48
  function _t(e, t) {
49
49
  return e === t ? !0 : (Se || (Se = document.createElement("a")), Se.href = t, e === Se.href);
50
50
  }
51
- function Xr(e) {
51
+ function Wr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Wr(e, ...t) {
54
+ function zr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -63,14 +63,14 @@ function Wr(e, ...t) {
63
63
  function M(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function zr(e, t, r) {
67
- const n = Zr(e);
66
+ function Zr(e, t, r) {
67
+ const n = Qr(e);
68
68
  if (!n.getElementById(t)) {
69
69
  const i = P("style");
70
- i.id = t, i.textContent = r, Qr(n, i);
70
+ i.id = t, i.textContent = r, qr(n, i);
71
71
  }
72
72
  }
73
- function Zr(e) {
73
+ function Qr(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,7 +80,7 @@ function Zr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function Qr(e, t) {
83
+ function qr(e, t) {
84
84
  return M(
85
85
  /** @type {Document} */
86
86
  e.head || e,
@@ -93,7 +93,7 @@ function k(e, t, r) {
93
93
  function U(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function qr(e, t) {
96
+ function Jr(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
@@ -106,13 +106,13 @@ function Ce(e) {
106
106
  function J() {
107
107
  return Ce(" ");
108
108
  }
109
- function _e() {
109
+ function ve() {
110
110
  return Ce("");
111
111
  }
112
112
  function V(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function Jr(e) {
115
+ function Yr(e) {
116
116
  return function(t) {
117
117
  return t.preventDefault(), e.call(this, t);
118
118
  };
@@ -120,14 +120,14 @@ function Jr(e) {
120
120
  function T(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
- function Yr(e) {
123
+ function Kr(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
126
  function st(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function Kr(e) {
130
+ function en(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -136,28 +136,28 @@ function Kr(e) {
136
136
  }
137
137
  ), t;
138
138
  }
139
- let ve;
139
+ let _e;
140
140
  function be(e) {
141
- ve = e;
141
+ _e = e;
142
142
  }
143
- function en() {
144
- if (!ve)
143
+ function tn() {
144
+ if (!_e)
145
145
  throw new Error("Function called outside component initialization");
146
- return ve;
146
+ return _e;
147
147
  }
148
- function tn(e) {
149
- en().$$.on_mount.push(e);
148
+ function rn(e) {
149
+ tn().$$.on_mount.push(e);
150
150
  }
151
- function rn(e, t) {
151
+ function nn(e, t) {
152
152
  const r = e.$$.callbacks[t.type];
153
153
  r && r.slice().forEach((n) => n.call(this, t));
154
154
  }
155
155
  const ie = [], ye = [];
156
156
  let oe = [];
157
- const vt = [], nn = /* @__PURE__ */ Promise.resolve();
157
+ const Et = [], on = /* @__PURE__ */ Promise.resolve();
158
158
  let Ze = !1;
159
- function on() {
160
- Ze || (Ze = !0, nn.then(B));
159
+ function sn() {
160
+ Ze || (Ze = !0, on.then(B));
161
161
  }
162
162
  function Qe(e) {
163
163
  oe.push(e);
@@ -167,12 +167,12 @@ let re = 0;
167
167
  function B() {
168
168
  if (re !== 0)
169
169
  return;
170
- const e = ve;
170
+ const e = _e;
171
171
  do {
172
172
  try {
173
173
  for (; re < ie.length; ) {
174
174
  const t = ie[re];
175
- re++, be(t), sn(t.$$);
175
+ re++, be(t), an(t.$$);
176
176
  }
177
177
  } catch (t) {
178
178
  throw ie.length = 0, re = 0, t;
@@ -185,32 +185,32 @@ function B() {
185
185
  }
186
186
  oe.length = 0;
187
187
  } while (ie.length);
188
- for (; vt.length; )
189
- vt.pop()();
188
+ for (; Et.length; )
189
+ Et.pop()();
190
190
  Ze = !1, ke.clear(), be(e);
191
191
  }
192
- function sn(e) {
192
+ function an(e) {
193
193
  if (e.fragment !== null) {
194
194
  e.update(), Y(e.before_update);
195
195
  const t = e.dirty;
196
196
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
197
197
  }
198
198
  }
199
- function an(e) {
199
+ function ln(e) {
200
200
  const t = [], r = [];
201
201
  oe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), oe = t;
202
202
  }
203
- const ln = /* @__PURE__ */ new Set();
204
- function Zt(e, t) {
205
- e && e.i && (ln.delete(e), e.i(t));
203
+ const un = /* @__PURE__ */ new Set();
204
+ function Qt(e, t) {
205
+ e && e.i && (un.delete(e), e.i(t));
206
206
  }
207
207
  function se(e) {
208
208
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
209
209
  }
210
- function Qt(e, t) {
210
+ function qt(e, t) {
211
211
  e.d(1), t.delete(e.key);
212
212
  }
213
- function qt(e, t, r, n, i, s, o, a, u, l, c, m) {
213
+ function Jt(e, t, r, n, i, s, o, a, u, l, c, m) {
214
214
  let f = e.length, p = s.length, g = f;
215
215
  const b = {};
216
216
  for (; g--; )
@@ -222,37 +222,37 @@ function qt(e, t, r, n, i, s, o, a, u, l, c, m) {
222
222
  D ? w.push(() => D.p(S, t)) : (D = l(R, S), D.c()), H.set(R, d[g] = D), R in b && E.set(R, Math.abs(g - b[R]));
223
223
  }
224
224
  const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
225
- function _(S) {
226
- Zt(S, 1), S.m(a, c), o.set(S.key, S), c = S.first, p--;
225
+ function v(S) {
226
+ Qt(S, 1), S.m(a, c), o.set(S.key, S), c = S.first, p--;
227
227
  }
228
228
  for (; f && p; ) {
229
229
  const S = d[p - 1], R = e[f - 1], D = S.key, ee = R.key;
230
- S === R ? (c = S.first, f--, p--) : H.has(ee) ? !o.has(D) || O.has(D) ? _(S) : L.has(ee) ? f-- : E.get(D) > E.get(ee) ? (L.add(D), _(S)) : (O.add(ee), f--) : (u(R, o), f--);
230
+ S === R ? (c = S.first, f--, p--) : H.has(ee) ? !o.has(D) || O.has(D) ? v(S) : L.has(ee) ? f-- : E.get(D) > E.get(ee) ? (L.add(D), v(S)) : (O.add(ee), f--) : (u(R, o), f--);
231
231
  }
232
232
  for (; f--; ) {
233
233
  const S = e[f];
234
234
  H.has(S.key) || u(S, o);
235
235
  }
236
236
  for (; p; )
237
- _(d[p - 1]);
237
+ v(d[p - 1]);
238
238
  return Y(w), d;
239
239
  }
240
- function un(e, t, r) {
240
+ function hn(e, t, r) {
241
241
  const { fragment: n, after_update: i } = e.$$;
242
242
  n && n.m(t, r), Qe(() => {
243
- const s = e.$$.on_mount.map(Wt).filter(ot);
243
+ const s = e.$$.on_mount.map(zt).filter(ot);
244
244
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Y(s), e.$$.on_mount = [];
245
245
  }), i.forEach(Qe);
246
246
  }
247
- function hn(e, t) {
247
+ function cn(e, t) {
248
248
  const r = e.$$;
249
- r.fragment !== null && (an(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
249
+ r.fragment !== null && (ln(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
250
250
  }
251
- function cn(e, t) {
252
- e.$$.dirty[0] === -1 && (ie.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
251
+ function fn(e, t) {
252
+ e.$$.dirty[0] === -1 && (ie.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
253
  }
254
- function fn(e, t, r, n, i, s, o = null, a = [-1]) {
255
- const u = ve;
254
+ function mn(e, t, r, n, i, s, o = null, a = [-1]) {
255
+ const u = _e;
256
256
  be(e);
257
257
  const l = e.$$ = {
258
258
  fragment: null,
@@ -261,7 +261,7 @@ function fn(e, t, r, n, i, s, o = null, a = [-1]) {
261
261
  props: s,
262
262
  update: $,
263
263
  not_equal: i,
264
- bound: yt(),
264
+ bound: vt(),
265
265
  // lifecycle
266
266
  on_mount: [],
267
267
  on_destroy: [],
@@ -270,28 +270,28 @@ function fn(e, t, r, n, i, s, o = null, a = [-1]) {
270
270
  after_update: [],
271
271
  context: new Map(t.context || (u ? u.$$.context : [])),
272
272
  // everything else
273
- callbacks: yt(),
273
+ callbacks: vt(),
274
274
  dirty: a,
275
275
  skip_bound: !1,
276
276
  root: t.target || u.$$.root
277
277
  };
278
278
  o && o(l.root);
279
279
  let c = !1;
280
- if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
280
+ if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
281
281
  const g = p.length ? p[0] : f;
282
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && cn(e, m)), f;
283
- }), l.update(), c = !0, Y(l.before_update), l.fragment = n(l.ctx), t.target) {
282
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && fn(e, m)), f;
283
+ }) : [], l.update(), c = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
284
284
  if (t.hydrate) {
285
- const m = Yr(t.target);
285
+ const m = Kr(t.target);
286
286
  l.fragment && l.fragment.l(m), m.forEach(U);
287
287
  } else
288
288
  l.fragment && l.fragment.c();
289
- t.intro && Zt(e.$$.fragment), un(e, t.target, t.anchor), B();
289
+ t.intro && Qt(e.$$.fragment), hn(e, t.target, t.anchor), B();
290
290
  }
291
291
  be(u);
292
292
  }
293
- let Jt;
294
- typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
293
+ let Yt;
294
+ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
295
295
  constructor(t, r, n) {
296
296
  super();
297
297
  /** The Svelte component constructor */
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
328
328
  }
329
329
  }
330
330
  connectedCallback() {
331
- return bt(this, null, function* () {
331
+ return yt(this, null, function* () {
332
332
  if (this.$$cn = !0, !this.$$c) {
333
333
  let t = function(s) {
334
334
  return () => {
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
352
352
  };
353
353
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
354
354
  return;
355
- const r = {}, n = Kr(this);
355
+ const r = {}, n = en(this);
356
356
  for (const s of this.$$s)
357
357
  s in n && (r[s] = [t(s)]);
358
358
  for (const s of this.attributes) {
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
363
363
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
364
364
  this.$$c = new this.$$ctor({
365
365
  target: this.shadowRoot || this,
366
- props: gt(pt({}, this.$$d), {
366
+ props: bt(gt({}, this.$$d), {
367
367
  $$slots: r,
368
368
  $$scope: {
369
369
  ctx: []
@@ -441,8 +441,8 @@ function Ae(e, t, r, n) {
441
441
  return t;
442
442
  }
443
443
  }
444
- function mn(e, t, r, n, i, s) {
445
- let o = class extends Jt {
444
+ function dn(e, t, r, n, i, s) {
445
+ let o = class extends Yt {
446
446
  constructor() {
447
447
  super(e, r, i), this.$$p_d = t;
448
448
  }
@@ -472,7 +472,7 @@ function mn(e, t, r, n, i, s) {
472
472
  }), e.element = /** @type {any} */
473
473
  o, o;
474
474
  }
475
- class dn {
475
+ class pn {
476
476
  constructor() {
477
477
  /**
478
478
  * ### PRIVATE API
@@ -493,7 +493,7 @@ class dn {
493
493
  }
494
494
  /** @returns {void} */
495
495
  $destroy() {
496
- hn(this, 1), this.$destroy = $;
496
+ cn(this, 1), this.$destroy = $;
497
497
  }
498
498
  /**
499
499
  * @template {Extract<keyof Events, string>} K
@@ -515,18 +515,18 @@ class dn {
515
515
  * @returns {void}
516
516
  */
517
517
  $set(t) {
518
- this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
518
+ this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
519
519
  }
520
520
  }
521
- const pn = "4";
522
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
523
- function gn(e, t) {
521
+ const gn = "4";
522
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
523
+ function bn(e, t) {
524
524
  if (e) {
525
525
  const r = document.createElement("style");
526
526
  r.innerHTML = t, e.appendChild(r);
527
527
  }
528
528
  }
529
- function bn(e, t) {
529
+ function yn(e, t) {
530
530
  const r = new URL(t);
531
531
  fetch(r.href).then((n) => n.text()).then((n) => {
532
532
  const i = document.createElement("style");
@@ -535,7 +535,7 @@ function bn(e, t) {
535
535
  console.error("There was an error while trying to load client styling from URL", n);
536
536
  });
537
537
  }
538
- function yn(e, t, r) {
538
+ function vn(e, t, r) {
539
539
  if (window.emMessageBus) {
540
540
  const n = document.createElement("style");
541
541
  window.emMessageBus.subscribe(t, (i) => {
@@ -553,7 +553,7 @@ function Ne(e, t = $) {
553
553
  let r;
554
554
  const n = /* @__PURE__ */ new Set();
555
555
  function i(a) {
556
- if (zt(e, a) && (e = a, r)) {
556
+ if (Zt(e, a) && (e = a, r)) {
557
557
  const u = !ne.length;
558
558
  for (const l of n)
559
559
  l[1](), ne.push(l, e);
@@ -591,7 +591,7 @@ function ce(e, t, r) {
591
591
  const g = t(n ? l[0] : l, o, a);
592
592
  s ? o(g) : m = ot(g) ? g : $;
593
593
  }, p = i.map(
594
- (g, b) => Wr(
594
+ (g, b) => zr(
595
595
  g,
596
596
  (d) => {
597
597
  l[b] = d, c &= ~(1 << b), u && f();
@@ -606,70 +606,70 @@ function ce(e, t, r) {
606
606
  };
607
607
  });
608
608
  }
609
- function vn(e) {
610
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
609
+ function En(e) {
610
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
611
611
  }
612
- var En = function(t) {
613
- return xn(t) && !Cn(t);
612
+ var xn = function(t) {
613
+ return Cn(t) && !wn(t);
614
614
  };
615
- function xn(e) {
615
+ function Cn(e) {
616
616
  return !!e && typeof e == "object";
617
617
  }
618
- function Cn(e) {
618
+ function wn(e) {
619
619
  var t = Object.prototype.toString.call(e);
620
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
621
- }
622
- var wn = typeof Symbol == "function" && Symbol.for, Hn = wn ? Symbol.for("react.element") : 60103;
623
- function Sn(e) {
624
- return e.$$typeof === Hn;
620
+ return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
625
621
  }
622
+ var Hn = typeof Symbol == "function" && Symbol.for, Sn = Hn ? Symbol.for("react.element") : 60103;
626
623
  function Tn(e) {
624
+ return e.$$typeof === Sn;
625
+ }
626
+ function An(e) {
627
627
  return Array.isArray(e) ? [] : {};
628
628
  }
629
629
  function Ee(e, t) {
630
- return t.clone !== !1 && t.isMergeableObject(e) ? ae(Tn(e), e, t) : e;
630
+ return t.clone !== !1 && t.isMergeableObject(e) ? ae(An(e), e, t) : e;
631
631
  }
632
- function An(e, t, r) {
632
+ function Bn(e, t, r) {
633
633
  return e.concat(t).map(function(n) {
634
634
  return Ee(n, r);
635
635
  });
636
636
  }
637
- function Bn(e, t) {
637
+ function In(e, t) {
638
638
  if (!t.customMerge)
639
639
  return ae;
640
640
  var r = t.customMerge(e);
641
641
  return typeof r == "function" ? r : ae;
642
642
  }
643
- function In(e) {
643
+ function Mn(e) {
644
644
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
645
645
  return Object.propertyIsEnumerable.call(e, t);
646
646
  }) : [];
647
647
  }
648
- function Et(e) {
649
- return Object.keys(e).concat(In(e));
648
+ function xt(e) {
649
+ return Object.keys(e).concat(Mn(e));
650
650
  }
651
- function Yt(e, t) {
651
+ function Kt(e, t) {
652
652
  try {
653
653
  return t in e;
654
654
  } catch (r) {
655
655
  return !1;
656
656
  }
657
657
  }
658
- function Mn(e, t) {
659
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
658
+ function Ln(e, t) {
659
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
660
660
  }
661
- function Ln(e, t, r) {
661
+ function Nn(e, t, r) {
662
662
  var n = {};
663
- return r.isMergeableObject(e) && Et(e).forEach(function(i) {
663
+ return r.isMergeableObject(e) && xt(e).forEach(function(i) {
664
664
  n[i] = Ee(e[i], r);
665
- }), Et(t).forEach(function(i) {
666
- Mn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Bn(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
665
+ }), xt(t).forEach(function(i) {
666
+ Ln(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
667
667
  }), n;
668
668
  }
669
669
  function ae(e, t, r) {
670
- r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = Ee;
670
+ r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = Ee;
671
671
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
672
- return s ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : Ee(t, r);
672
+ return s ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : Ee(t, r);
673
673
  }
674
674
  ae.all = function(t, r) {
675
675
  if (!Array.isArray(t))
@@ -678,8 +678,8 @@ ae.all = function(t, r) {
678
678
  return ae(n, i, r);
679
679
  }, {});
680
680
  };
681
- var Nn = ae, Pn = Nn;
682
- const On = /* @__PURE__ */ vn(Pn);
681
+ var Pn = ae, On = Pn;
682
+ const Fn = /* @__PURE__ */ En(On);
683
683
  /*! *****************************************************************************
684
684
  Copyright (c) Microsoft Corporation.
685
685
 
@@ -721,7 +721,7 @@ var C = function() {
721
721
  return t;
722
722
  }, C.apply(this, arguments);
723
723
  };
724
- function Fn(e, t) {
724
+ function Rn(e, t) {
725
725
  var r = {};
726
726
  for (var n in e)
727
727
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -737,57 +737,55 @@ function $e(e, t, r) {
737
737
  return e.concat(s || t);
738
738
  }
739
739
  function je(e, t) {
740
- var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
740
+ var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Un;
741
741
  return i(e, {
742
742
  cache: r,
743
743
  serializer: n
744
744
  });
745
745
  }
746
- function Rn(e) {
746
+ function Dn(e) {
747
747
  return e == null || typeof e == "number" || typeof e == "boolean";
748
748
  }
749
- function Kt(e, t, r, n) {
750
- var i = Rn(n) ? n : r(n), s = t.get(i);
749
+ function er(e, t, r, n) {
750
+ var i = Dn(n) ? n : r(n), s = t.get(i);
751
751
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
752
752
  }
753
- function er(e, t, r) {
753
+ function tr(e, t, r) {
754
754
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
755
755
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
756
756
  }
757
757
  function at(e, t, r, n, i) {
758
758
  return r.bind(t, e, n, i);
759
759
  }
760
- function Dn(e, t) {
761
- var r = e.length === 1 ? Kt : er;
762
- return at(e, this, r, t.cache.create(), t.serializer);
763
- }
764
760
  function Un(e, t) {
765
- return at(e, this, er, t.cache.create(), t.serializer);
761
+ var r = e.length === 1 ? er : tr;
762
+ return at(e, this, r, t.cache.create(), t.serializer);
766
763
  }
767
764
  function Gn(e, t) {
768
- return at(e, this, Kt, t.cache.create(), t.serializer);
765
+ return at(e, this, tr, t.cache.create(), t.serializer);
766
+ }
767
+ function kn(e, t) {
768
+ return at(e, this, er, t.cache.create(), t.serializer);
769
769
  }
770
- var kn = function() {
770
+ var $n = function() {
771
771
  return JSON.stringify(arguments);
772
- }, $n = (
773
- /** @class */
774
- function() {
775
- function e() {
776
- this.cache = /* @__PURE__ */ Object.create(null);
777
- }
778
- return e.prototype.get = function(t) {
779
- return this.cache[t];
780
- }, e.prototype.set = function(t, r) {
781
- this.cache[t] = r;
782
- }, e;
783
- }()
784
- ), jn = {
772
+ };
773
+ function lt() {
774
+ this.cache = /* @__PURE__ */ Object.create(null);
775
+ }
776
+ lt.prototype.get = function(e) {
777
+ return this.cache[e];
778
+ };
779
+ lt.prototype.set = function(e, t) {
780
+ this.cache[e] = t;
781
+ };
782
+ var jn = {
785
783
  create: function() {
786
- return new $n();
784
+ return new lt();
787
785
  }
788
786
  }, Ve = {
789
- variadic: Un,
790
- monadic: Gn
787
+ variadic: Gn,
788
+ monadic: kn
791
789
  }, y;
792
790
  (function(e) {
793
791
  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";
@@ -800,40 +798,40 @@ var le;
800
798
  (function(e) {
801
799
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
802
800
  })(le || (le = {}));
803
- function xt(e) {
801
+ function Ct(e) {
804
802
  return e.type === A.literal;
805
803
  }
806
804
  function Vn(e) {
807
805
  return e.type === A.argument;
808
806
  }
809
- function tr(e) {
807
+ function rr(e) {
810
808
  return e.type === A.number;
811
809
  }
812
- function rr(e) {
810
+ function nr(e) {
813
811
  return e.type === A.date;
814
812
  }
815
- function nr(e) {
813
+ function ir(e) {
816
814
  return e.type === A.time;
817
815
  }
818
- function ir(e) {
816
+ function or(e) {
819
817
  return e.type === A.select;
820
818
  }
821
- function or(e) {
819
+ function sr(e) {
822
820
  return e.type === A.plural;
823
821
  }
824
822
  function Xn(e) {
825
823
  return e.type === A.pound;
826
824
  }
827
- function sr(e) {
825
+ function ar(e) {
828
826
  return e.type === A.tag;
829
827
  }
830
- function ar(e) {
828
+ function lr(e) {
831
829
  return !!(e && typeof e == "object" && e.type === le.number);
832
830
  }
833
831
  function Je(e) {
834
832
  return !!(e && typeof e == "object" && e.type === le.dateTime);
835
833
  }
836
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
834
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
837
835
  function zn(e) {
838
836
  var t = {};
839
837
  return e.replace(Wn, function(r) {
@@ -947,14 +945,14 @@ function Qn(e) {
947
945
  function qn(e) {
948
946
  return e.replace(/^(.*?)-/, "");
949
947
  }
950
- var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
951
- function wt(e) {
948
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
949
+ function Ht(e) {
952
950
  var t = {};
953
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
951
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
954
952
  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)), "";
955
953
  }), t;
956
954
  }
957
- function cr(e) {
955
+ function fr(e) {
958
956
  switch (e) {
959
957
  case "sign-auto":
960
958
  return {
@@ -1002,14 +1000,14 @@ function Yn(e) {
1002
1000
  notation: "scientific"
1003
1001
  }, e = e.slice(1)), t) {
1004
1002
  var r = e.slice(0, 2);
1005
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1003
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
1006
1004
  throw new Error("Malformed concise eng/scientific notation");
1007
1005
  t.minimumIntegerDigits = e.length;
1008
1006
  }
1009
1007
  return t;
1010
1008
  }
1011
- function Ht(e) {
1012
- var t = {}, r = cr(e);
1009
+ function St(e) {
1010
+ var t = {}, r = fr(e);
1013
1011
  return r || t;
1014
1012
  }
1015
1013
  function Kn(e) {
@@ -1048,12 +1046,12 @@ function Kn(e) {
1048
1046
  continue;
1049
1047
  case "scientific":
1050
1048
  t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1051
- return C(C({}, u), Ht(l));
1049
+ return C(C({}, u), St(l));
1052
1050
  }, {}));
1053
1051
  continue;
1054
1052
  case "engineering":
1055
1053
  t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1056
- return C(C({}, u), Ht(l));
1054
+ return C(C({}, u), St(l));
1057
1055
  }, {}));
1058
1056
  continue;
1059
1057
  case "notation-simple":
@@ -1111,25 +1109,25 @@ function Kn(e) {
1111
1109
  });
1112
1110
  continue;
1113
1111
  }
1114
- if (hr.test(i.stem)) {
1112
+ if (cr.test(i.stem)) {
1115
1113
  t.minimumIntegerDigits = i.stem.length;
1116
1114
  continue;
1117
1115
  }
1118
- if (Ct.test(i.stem)) {
1116
+ if (wt.test(i.stem)) {
1119
1117
  if (i.options.length > 1)
1120
1118
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1121
- i.stem.replace(Ct, function(u, l, c, m, f, p) {
1119
+ i.stem.replace(wt, function(u, l, c, m, f, p) {
1122
1120
  return c === "*" ? 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), "";
1123
1121
  });
1124
1122
  var s = i.options[0];
1125
- s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), wt(s)));
1123
+ s === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = C(C({}, t), Ht(s)));
1126
1124
  continue;
1127
1125
  }
1128
- if (ur.test(i.stem)) {
1129
- t = C(C({}, t), wt(i.stem));
1126
+ if (hr.test(i.stem)) {
1127
+ t = C(C({}, t), Ht(i.stem));
1130
1128
  continue;
1131
1129
  }
1132
- var o = cr(i.stem);
1130
+ var o = fr(i.stem);
1133
1131
  o && (t = C(C({}, t), o));
1134
1132
  var a = Yn(i.stem);
1135
1133
  a && (t = C(C({}, t), a));
@@ -2589,20 +2587,20 @@ function ti(e) {
2589
2587
  var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
2590
2588
  return i[0];
2591
2589
  }
2592
- var Xe, ri = new RegExp("^".concat(lr.source, "*")), ni = new RegExp("".concat(lr.source, "*$"));
2593
- function v(e, t) {
2590
+ var Xe, ri = new RegExp("^".concat(ur.source, "*")), ni = new RegExp("".concat(ur.source, "*$"));
2591
+ function _(e, t) {
2594
2592
  return { start: e, end: t };
2595
2593
  }
2596
2594
  var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
2597
2595
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2598
2596
  }, Ye = !0;
2599
2597
  try {
2600
- var fi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2598
+ var fi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2601
2599
  Ye = ((Xe = fi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2602
2600
  } catch (e) {
2603
2601
  Ye = !1;
2604
2602
  }
2605
- var St = ii ? (
2603
+ var Tt = ii ? (
2606
2604
  // Native
2607
2605
  function(t, r, n) {
2608
2606
  return t.startsWith(r, n);
@@ -2624,7 +2622,7 @@ var St = ii ? (
2624
2622
  }
2625
2623
  return n;
2626
2624
  }
2627
- ), Tt = (
2625
+ ), At = (
2628
2626
  // native
2629
2627
  si ? Object.fromEntries : (
2630
2628
  // Ponyfill
@@ -2636,7 +2634,7 @@ var St = ii ? (
2636
2634
  return r;
2637
2635
  }
2638
2636
  )
2639
- ), fr = ai ? (
2637
+ ), mr = ai ? (
2640
2638
  // Native
2641
2639
  function(t, r) {
2642
2640
  return t.codePointAt(r);
@@ -2671,23 +2669,23 @@ var St = ii ? (
2671
2669
  return t.replace(ni, "");
2672
2670
  }
2673
2671
  );
2674
- function mr(e, t) {
2672
+ function dr(e, t) {
2675
2673
  return new RegExp(e, t);
2676
2674
  }
2677
2675
  var et;
2678
2676
  if (Ye) {
2679
- var At = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2677
+ var Bt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2680
2678
  et = function(t, r) {
2681
2679
  var n;
2682
- At.lastIndex = r;
2683
- var i = At.exec(t);
2680
+ Bt.lastIndex = r;
2681
+ var i = Bt.exec(t);
2684
2682
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2685
2683
  };
2686
2684
  } else
2687
2685
  et = function(t, r) {
2688
2686
  for (var n = []; ; ) {
2689
- var i = fr(t, r);
2690
- if (i === void 0 || dr(i) || yi(i))
2687
+ var i = mr(t, r);
2688
+ if (i === void 0 || pr(i) || yi(i))
2691
2689
  break;
2692
2690
  n.push(i), r += i >= 65536 ? 2 : 1;
2693
2691
  }
@@ -2718,12 +2716,12 @@ var pi = (
2718
2716
  var a = this.clonePosition();
2719
2717
  this.bump(), i.push({
2720
2718
  type: A.pound,
2721
- location: v(a, this.clonePosition())
2719
+ location: _(a, this.clonePosition())
2722
2720
  });
2723
2721
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2724
2722
  if (n)
2725
2723
  break;
2726
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2724
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2727
2725
  } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
2728
2726
  var o = this.parseTag(t, r);
2729
2727
  if (o.err)
@@ -2747,7 +2745,7 @@ var pi = (
2747
2745
  val: {
2748
2746
  type: A.literal,
2749
2747
  value: "<".concat(i, "/>"),
2750
- location: v(n, this.clonePosition())
2748
+ location: _(n, this.clonePosition())
2751
2749
  },
2752
2750
  err: null
2753
2751
  };
@@ -2758,21 +2756,21 @@ var pi = (
2758
2756
  var o = s.val, a = this.clonePosition();
2759
2757
  if (this.bumpIf("</")) {
2760
2758
  if (this.isEOF() || !tt(this.char()))
2761
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2759
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2762
2760
  var u = this.clonePosition(), l = this.parseTagName();
2763
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2761
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2764
2762
  val: {
2765
2763
  type: A.tag,
2766
2764
  value: i,
2767
2765
  children: o,
2768
- location: v(n, this.clonePosition())
2766
+ location: _(n, this.clonePosition())
2769
2767
  },
2770
2768
  err: null
2771
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2769
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2772
2770
  } else
2773
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2771
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2774
2772
  } else
2775
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2773
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2776
2774
  }, e.prototype.parseTagName = function() {
2777
2775
  var t = this.offset();
2778
2776
  for (this.bump(); !this.isEOF() && bi(this.char()); )
@@ -2797,7 +2795,7 @@ var pi = (
2797
2795
  }
2798
2796
  break;
2799
2797
  }
2800
- var u = v(n, this.clonePosition());
2798
+ var u = _(n, this.clonePosition());
2801
2799
  return {
2802
2800
  val: { type: A.literal, value: i, location: u },
2803
2801
  err: null
@@ -2847,14 +2845,14 @@ var pi = (
2847
2845
  }, e.prototype.parseArgument = function(t, r) {
2848
2846
  var n = this.clonePosition();
2849
2847
  if (this.bump(), this.bumpSpace(), this.isEOF())
2850
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2848
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2851
2849
  if (this.char() === 125)
2852
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2850
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2853
2851
  var i = this.parseIdentifierIfPossible().value;
2854
2852
  if (!i)
2855
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2853
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2856
2854
  if (this.bumpSpace(), this.isEOF())
2857
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2855
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2858
2856
  switch (this.char()) {
2859
2857
  case 125:
2860
2858
  return this.bump(), {
@@ -2862,25 +2860,25 @@ var pi = (
2862
2860
  type: A.argument,
2863
2861
  // value does not include the opening and closing braces.
2864
2862
  value: i,
2865
- location: v(n, this.clonePosition())
2863
+ location: _(n, this.clonePosition())
2866
2864
  },
2867
2865
  err: null
2868
2866
  };
2869
2867
  case 44:
2870
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2868
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2871
2869
  default:
2872
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2870
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2873
2871
  }
2874
2872
  }, e.prototype.parseIdentifierIfPossible = function() {
2875
2873
  var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
2876
2874
  this.bumpTo(i);
2877
- var s = this.clonePosition(), o = v(t, s);
2875
+ var s = this.clonePosition(), o = _(t, s);
2878
2876
  return { value: n, location: o };
2879
2877
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2880
2878
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2881
2879
  switch (a) {
2882
2880
  case "":
2883
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, u));
2881
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, u));
2884
2882
  case "number":
2885
2883
  case "date":
2886
2884
  case "time": {
@@ -2893,15 +2891,15 @@ var pi = (
2893
2891
  return m;
2894
2892
  var f = di(m.val);
2895
2893
  if (f.length === 0)
2896
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2897
- var p = v(c, this.clonePosition());
2894
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2895
+ var p = _(c, this.clonePosition());
2898
2896
  l = { style: f, styleLocation: p };
2899
2897
  }
2900
2898
  var g = this.tryParseArgumentClose(i);
2901
2899
  if (g.err)
2902
2900
  return g;
2903
- var b = v(i, this.clonePosition());
2904
- if (l && St(l == null ? void 0 : l.style, "::", 0)) {
2901
+ var b = _(i, this.clonePosition());
2902
+ if (l && Tt(l == null ? void 0 : l.style, "::", 0)) {
2905
2903
  var d = mi(l.style.slice(2));
2906
2904
  if (a === "number") {
2907
2905
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
@@ -2941,30 +2939,30 @@ var pi = (
2941
2939
  case "select": {
2942
2940
  var w = this.clonePosition();
2943
2941
  if (this.bumpSpace(), !this.bumpIf(","))
2944
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, C({}, w)));
2942
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, C({}, w)));
2945
2943
  this.bumpSpace();
2946
2944
  var O = this.parseIdentifierIfPossible(), L = 0;
2947
2945
  if (a !== "select" && O.value === "offset") {
2948
2946
  if (!this.bumpIf(":"))
2949
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2947
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2950
2948
  this.bumpSpace();
2951
2949
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2952
2950
  if (m.err)
2953
2951
  return m;
2954
2952
  this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
2955
2953
  }
2956
- var _ = this.tryParsePluralOrSelectOptions(t, a, r, O);
2957
- if (_.err)
2958
- return _;
2954
+ var v = this.tryParsePluralOrSelectOptions(t, a, r, O);
2955
+ if (v.err)
2956
+ return v;
2959
2957
  var g = this.tryParseArgumentClose(i);
2960
2958
  if (g.err)
2961
2959
  return g;
2962
- var S = v(i, this.clonePosition());
2960
+ var S = _(i, this.clonePosition());
2963
2961
  return a === "select" ? {
2964
2962
  val: {
2965
2963
  type: A.select,
2966
2964
  value: n,
2967
- options: Tt(_.val),
2965
+ options: At(v.val),
2968
2966
  location: S
2969
2967
  },
2970
2968
  err: null
@@ -2972,7 +2970,7 @@ var pi = (
2972
2970
  val: {
2973
2971
  type: A.plural,
2974
2972
  value: n,
2975
- options: Tt(_.val),
2973
+ options: At(v.val),
2976
2974
  offset: L,
2977
2975
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2978
2976
  location: S
@@ -2981,10 +2979,10 @@ var pi = (
2981
2979
  };
2982
2980
  }
2983
2981
  default:
2984
- return this.error(y.INVALID_ARGUMENT_TYPE, v(o, u));
2982
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(o, u));
2985
2983
  }
2986
2984
  }, e.prototype.tryParseArgumentClose = function(t) {
2987
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2985
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2988
2986
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2989
2987
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2990
2988
  var n = this.char();
@@ -2993,7 +2991,7 @@ var pi = (
2993
2991
  this.bump();
2994
2992
  var i = this.clonePosition();
2995
2993
  if (!this.bumpUntil("'"))
2996
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2994
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2997
2995
  this.bump();
2998
2996
  break;
2999
2997
  }
@@ -3044,7 +3042,7 @@ var pi = (
3044
3042
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3045
3043
  if (f.err)
3046
3044
  return f;
3047
- c = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3045
+ c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3048
3046
  } else
3049
3047
  break;
3050
3048
  }
@@ -3053,7 +3051,7 @@ var pi = (
3053
3051
  l === "other" && (o = !0), this.bumpSpace();
3054
3052
  var p = this.clonePosition();
3055
3053
  if (!this.bumpIf("{"))
3056
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3054
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3057
3055
  var g = this.parseMessage(t + 1, r, n);
3058
3056
  if (g.err)
3059
3057
  return g;
@@ -3064,11 +3062,11 @@ var pi = (
3064
3062
  l,
3065
3063
  {
3066
3064
  value: g.val,
3067
- location: v(p, this.clonePosition())
3065
+ location: _(p, this.clonePosition())
3068
3066
  }
3069
3067
  ]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, c = s.location;
3070
3068
  }
3071
- 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 };
3069
+ 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 };
3072
3070
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3073
3071
  var n = 1, i = this.clonePosition();
3074
3072
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3079,7 +3077,7 @@ var pi = (
3079
3077
  else
3080
3078
  break;
3081
3079
  }
3082
- var u = v(i, this.clonePosition());
3080
+ var u = _(i, this.clonePosition());
3083
3081
  return s ? (o *= n, ci(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
3084
3082
  }, e.prototype.offset = function() {
3085
3083
  return this.position.offset;
@@ -3095,7 +3093,7 @@ var pi = (
3095
3093
  var t = this.position.offset;
3096
3094
  if (t >= this.message.length)
3097
3095
  throw Error("out of bound");
3098
- var r = fr(this.message, t);
3096
+ var r = mr(this.message, t);
3099
3097
  if (r === void 0)
3100
3098
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3101
3099
  return r;
@@ -3114,7 +3112,7 @@ var pi = (
3114
3112
  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);
3115
3113
  }
3116
3114
  }, e.prototype.bumpIf = function(t) {
3117
- if (St(this.message, t, this.offset())) {
3115
+ if (Tt(this.message, t, this.offset())) {
3118
3116
  for (var r = 0; r < t.length; r++)
3119
3117
  this.bump();
3120
3118
  return !0;
@@ -3136,7 +3134,7 @@ var pi = (
3136
3134
  break;
3137
3135
  }
3138
3136
  }, e.prototype.bumpSpace = function() {
3139
- for (; !this.isEOF() && dr(this.char()); )
3137
+ for (; !this.isEOF() && pr(this.char()); )
3140
3138
  this.bump();
3141
3139
  }, e.prototype.peek = function() {
3142
3140
  if (this.isEOF())
@@ -3155,7 +3153,7 @@ function gi(e) {
3155
3153
  function bi(e) {
3156
3154
  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;
3157
3155
  }
3158
- function dr(e) {
3156
+ function pr(e) {
3159
3157
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3160
3158
  }
3161
3159
  function yi(e) {
@@ -3163,14 +3161,14 @@ function yi(e) {
3163
3161
  }
3164
3162
  function rt(e) {
3165
3163
  e.forEach(function(t) {
3166
- if (delete t.location, ir(t) || or(t))
3164
+ if (delete t.location, or(t) || sr(t))
3167
3165
  for (var r in t.options)
3168
3166
  delete t.options[r].location, rt(t.options[r].value);
3169
3167
  else
3170
- tr(t) && ar(t.style) || (rr(t) || nr(t)) && Je(t.style) ? delete t.style.location : sr(t) && rt(t.children);
3168
+ rr(t) && lr(t.style) || (nr(t) || ir(t)) && Je(t.style) ? delete t.style.location : ar(t) && rt(t.children);
3171
3169
  });
3172
3170
  }
3173
- function _i(e, t) {
3171
+ function vi(e, t) {
3174
3172
  t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3175
3173
  var r = new pi(e, t).parse();
3176
3174
  if (r.err) {
@@ -3195,7 +3193,7 @@ var Oe = (
3195
3193
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3196
3194
  }, t;
3197
3195
  }(Error)
3198
- ), Bt = (
3196
+ ), It = (
3199
3197
  /** @class */
3200
3198
  function(e) {
3201
3199
  Pe(t, e);
@@ -3204,7 +3202,7 @@ var Oe = (
3204
3202
  }
3205
3203
  return t;
3206
3204
  }(Oe)
3207
- ), vi = (
3205
+ ), _i = (
3208
3206
  /** @class */
3209
3207
  function(e) {
3210
3208
  Pe(t, e);
@@ -3236,7 +3234,7 @@ function Ci(e) {
3236
3234
  return typeof e == "function";
3237
3235
  }
3238
3236
  function Be(e, t, r, n, i, s, o) {
3239
- if (e.length === 1 && xt(e[0]))
3237
+ if (e.length === 1 && Ct(e[0]))
3240
3238
  return [
3241
3239
  {
3242
3240
  type: F.literal,
@@ -3245,7 +3243,7 @@ function Be(e, t, r, n, i, s, o) {
3245
3243
  ];
3246
3244
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3247
3245
  var c = l[u];
3248
- if (xt(c)) {
3246
+ if (Ct(c)) {
3249
3247
  a.push({
3250
3248
  type: F.literal,
3251
3249
  value: c.value
@@ -3270,7 +3268,7 @@ function Be(e, t, r, n, i, s, o) {
3270
3268
  });
3271
3269
  continue;
3272
3270
  }
3273
- if (rr(c)) {
3271
+ if (nr(c)) {
3274
3272
  var p = typeof c.style == "string" ? n.date[c.style] : Je(c.style) ? c.style.parsedOptions : void 0;
3275
3273
  a.push({
3276
3274
  type: F.literal,
@@ -3278,7 +3276,7 @@ function Be(e, t, r, n, i, s, o) {
3278
3276
  });
3279
3277
  continue;
3280
3278
  }
3281
- if (nr(c)) {
3279
+ if (ir(c)) {
3282
3280
  var p = typeof c.style == "string" ? n.time[c.style] : Je(c.style) ? c.style.parsedOptions : n.time.medium;
3283
3281
  a.push({
3284
3282
  type: F.literal,
@@ -3286,18 +3284,18 @@ function Be(e, t, r, n, i, s, o) {
3286
3284
  });
3287
3285
  continue;
3288
3286
  }
3289
- if (tr(c)) {
3290
- var p = typeof c.style == "string" ? n.number[c.style] : ar(c.style) ? c.style.parsedOptions : void 0;
3287
+ if (rr(c)) {
3288
+ var p = typeof c.style == "string" ? n.number[c.style] : lr(c.style) ? c.style.parsedOptions : void 0;
3291
3289
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3292
3290
  type: F.literal,
3293
3291
  value: r.getNumberFormat(t, p).format(f)
3294
3292
  });
3295
3293
  continue;
3296
3294
  }
3297
- if (sr(c)) {
3295
+ if (ar(c)) {
3298
3296
  var g = c.children, b = c.value, d = i[b];
3299
3297
  if (!Ci(d))
3300
- throw new vi(b, "function", o);
3298
+ throw new _i(b, "function", o);
3301
3299
  var H = Be(g, t, r, n, i, s), E = d(H.map(function(L) {
3302
3300
  return L.value;
3303
3301
  }));
@@ -3308,14 +3306,14 @@ function Be(e, t, r, n, i, s, o) {
3308
3306
  };
3309
3307
  }));
3310
3308
  }
3311
- if (ir(c)) {
3309
+ if (or(c)) {
3312
3310
  var w = c.options[f] || c.options.other;
3313
3311
  if (!w)
3314
- throw new Bt(c.value, f, Object.keys(c.options), o);
3312
+ throw new It(c.value, f, Object.keys(c.options), o);
3315
3313
  a.push.apply(a, Be(w.value, t, r, n, i));
3316
3314
  continue;
3317
3315
  }
3318
- if (or(c)) {
3316
+ if (sr(c)) {
3319
3317
  var w = c.options["=".concat(f)];
3320
3318
  if (!w) {
3321
3319
  if (!Intl.PluralRules)
@@ -3326,7 +3324,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3326
3324
  w = c.options[O] || c.options.other;
3327
3325
  }
3328
3326
  if (!w)
3329
- throw new Bt(c.value, f, Object.keys(c.options), o);
3327
+ throw new It(c.value, f, Object.keys(c.options), o);
3330
3328
  a.push.apply(a, Be(w.value, t, r, n, i, f - (c.offset || 0)));
3331
3329
  continue;
3332
3330
  }
@@ -3421,7 +3419,7 @@ var Ti = (
3421
3419
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3422
3420
  var o = i || {};
3423
3421
  o.formatters;
3424
- var a = Fn(o, ["formatters"]);
3422
+ var a = Rn(o, ["formatters"]);
3425
3423
  this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3426
3424
  } else
3427
3425
  this.ast = t;
@@ -3440,7 +3438,7 @@ var Ti = (
3440
3438
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3441
3439
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3442
3440
  }
3443
- }, e.__parse = _i, e.formats = {
3441
+ }, e.__parse = vi, e.formats = {
3444
3442
  number: {
3445
3443
  integer: {
3446
3444
  maximumFractionDigits: 0
@@ -3522,7 +3520,7 @@ function Ai(e, t) {
3522
3520
  n = void 0;
3523
3521
  return n;
3524
3522
  }
3525
- const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), pr = (e, t) => {
3523
+ const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), gr = (e, t) => {
3526
3524
  if (t == null)
3527
3525
  return;
3528
3526
  if (t in W && e in W[t])
@@ -3534,16 +3532,16 @@ const W = {}, Bi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][
3534
3532
  return Bi(e, t, s);
3535
3533
  }
3536
3534
  };
3537
- let lt;
3535
+ let ut;
3538
3536
  const fe = Ne({});
3539
3537
  function Ii(e) {
3540
- return lt[e] || null;
3538
+ return ut[e] || null;
3541
3539
  }
3542
- function gr(e) {
3543
- return e in lt;
3540
+ function br(e) {
3541
+ return e in ut;
3544
3542
  }
3545
3543
  function Mi(e, t) {
3546
- if (!gr(e))
3544
+ if (!br(e))
3547
3545
  return null;
3548
3546
  const r = Ii(e);
3549
3547
  return Ai(r, t);
@@ -3554,28 +3552,28 @@ function Li(e) {
3554
3552
  const t = Fe(e);
3555
3553
  for (let r = 0; r < t.length; r++) {
3556
3554
  const n = t[r];
3557
- if (gr(n))
3555
+ if (br(n))
3558
3556
  return n;
3559
3557
  }
3560
3558
  }
3561
- function br(e, ...t) {
3562
- delete W[e], fe.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3559
+ function yr(e, ...t) {
3560
+ delete W[e], fe.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
3563
3561
  }
3564
3562
  ce(
3565
3563
  [fe],
3566
3564
  ([e]) => Object.keys(e)
3567
3565
  );
3568
- fe.subscribe((e) => lt = e);
3566
+ fe.subscribe((e) => ut = e);
3569
3567
  const Ie = {};
3570
3568
  function Ni(e, t) {
3571
3569
  Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3572
3570
  }
3573
- function yr(e) {
3571
+ function vr(e) {
3574
3572
  return Ie[e];
3575
3573
  }
3576
3574
  function Pi(e) {
3577
3575
  return Fe(e).map((t) => {
3578
- const r = yr(t);
3576
+ const r = vr(t);
3579
3577
  return [t, r ? [...r] : []];
3580
3578
  }).filter(([, t]) => t.length > 0);
3581
3579
  }
@@ -3583,14 +3581,14 @@ function nt(e) {
3583
3581
  return e == null ? !1 : Fe(e).some(
3584
3582
  (t) => {
3585
3583
  var r;
3586
- return (r = yr(t)) == null ? void 0 : r.size;
3584
+ return (r = vr(t)) == null ? void 0 : r.size;
3587
3585
  }
3588
3586
  );
3589
3587
  }
3590
3588
  function Oi(e, t) {
3591
3589
  return Promise.all(
3592
3590
  t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
3593
- ).then((n) => br(e, ...n));
3591
+ ).then((n) => yr(e, ...n));
3594
3592
  }
3595
3593
  const ge = {};
3596
3594
  function _r(e) {
@@ -3648,22 +3646,22 @@ function he() {
3648
3646
  return Di;
3649
3647
  }
3650
3648
  const ze = Ne(!1);
3651
- var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
3652
- for (var r in t)
3653
- $i.call(t, r) && Mt(e, r, t[r]);
3654
- if (It)
3655
- for (var r of It(t))
3656
- ji.call(t, r) && Mt(e, r, t[r]);
3649
+ var Ui = Object.defineProperty, Gi = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
3650
+ for (var r in t || (t = {}))
3651
+ $i.call(t, r) && Lt(e, r, t[r]);
3652
+ if (Mt)
3653
+ for (var r of Mt(t))
3654
+ ji.call(t, r) && Lt(e, r, t[r]);
3657
3655
  return e;
3658
3656
  }, Xi = (e, t) => Gi(e, ki(t));
3659
3657
  let it;
3660
3658
  const Me = Ne(null);
3661
- function Lt(e) {
3659
+ function Nt(e) {
3662
3660
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3663
3661
  }
3664
3662
  function Fe(e, t = he().fallbackLocale) {
3665
- const r = Lt(e);
3666
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
3663
+ const r = Nt(e);
3664
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3667
3665
  }
3668
3666
  function K() {
3669
3667
  return it != null ? it : void 0;
@@ -3694,20 +3692,20 @@ const Wi = (e) => {
3694
3692
  return i in t ? t[i] : t[i] = e(n);
3695
3693
  };
3696
3694
  };
3697
- var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3695
+ var zi = Object.defineProperty, Le = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3698
3696
  for (var r in t || (t = {}))
3699
- vr.call(t, r) && Nt(e, r, t[r]);
3697
+ Er.call(t, r) && Pt(e, r, t[r]);
3700
3698
  if (Le)
3701
3699
  for (var r of Le(t))
3702
- Er.call(t, r) && Nt(e, r, t[r]);
3700
+ xr.call(t, r) && Pt(e, r, t[r]);
3703
3701
  return e;
3704
3702
  }, me = (e, t) => {
3705
3703
  var r = {};
3706
3704
  for (var n in e)
3707
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3705
+ Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3708
3706
  if (e != null && Le)
3709
3707
  for (var n of Le(e))
3710
- t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
3708
+ t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
3711
3709
  return r;
3712
3710
  };
3713
3711
  const xe = (e, t) => {
@@ -3744,21 +3742,21 @@ const xe = (e, t) => {
3744
3742
  } = t, n = me(t, [
3745
3743
  "locale"
3746
3744
  ]);
3747
- return Zi(ut({ locale: r }, n));
3745
+ return Zi(ht({ locale: r }, n));
3748
3746
  }, Yi = (e = {}) => {
3749
3747
  var t = e, {
3750
3748
  locale: r = K()
3751
3749
  } = t, n = me(t, [
3752
3750
  "locale"
3753
3751
  ]);
3754
- return Qi(ut({ locale: r }, n));
3752
+ return Qi(ht({ locale: r }, n));
3755
3753
  }, Ki = (e = {}) => {
3756
3754
  var t = e, {
3757
3755
  locale: r = K()
3758
3756
  } = t, n = me(t, [
3759
3757
  "locale"
3760
3758
  ]);
3761
- return qi(ut({ locale: r }, n));
3759
+ return qi(ht({ locale: r }, n));
3762
3760
  }, eo = Re(
3763
3761
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3764
3762
  (e, t = K()) => new Ti(e, t, he().formats, {
@@ -3777,7 +3775,7 @@ const xe = (e, t) => {
3777
3775
  throw new Error(
3778
3776
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3779
3777
  );
3780
- let c = pr(e, u);
3778
+ let c = gr(e, u);
3781
3779
  if (!c)
3782
3780
  c = (s = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3783
3781
  else if (typeof c != "string")
@@ -3796,7 +3794,7 @@ const xe = (e, t) => {
3796
3794
  );
3797
3795
  }
3798
3796
  return m;
3799
- }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) => pr(e, t);
3797
+ }, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = K()) => gr(e, t);
3800
3798
  ce([z, fe], () => to);
3801
3799
  ce([z], () => ro);
3802
3800
  ce([z], () => no);
@@ -3807,13 +3805,13 @@ function so({ withLocale: e, translations: t }) {
3807
3805
  r == null && (fe.set(t), z.set(e));
3808
3806
  });
3809
3807
  }
3810
- function Pt(e, t) {
3811
- br(e, t);
3808
+ function Ot(e, t) {
3809
+ yr(e, t);
3812
3810
  }
3813
3811
  function ao(e) {
3814
3812
  z.set(e);
3815
3813
  }
3816
- const Ot = {
3814
+ const Ft = {
3817
3815
  en: {
3818
3816
  login: "Login",
3819
3817
  register: "Register",
@@ -3871,21 +3869,21 @@ const Ot = {
3871
3869
  }
3872
3870
  };
3873
3871
  function lo(e) {
3874
- zr(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}');
3872
+ Zr(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}');
3875
3873
  }
3876
- function Ft(e, t, r) {
3874
+ function Rt(e, t, r) {
3877
3875
  const n = e.slice();
3878
3876
  return n[57] = t[r], n[59] = r, n;
3879
3877
  }
3880
- function Rt(e, t, r) {
3878
+ function Dt(e, t, r) {
3881
3879
  const n = e.slice();
3882
3880
  return n[60] = t[r], n;
3883
3881
  }
3884
- function Dt(e, t, r) {
3882
+ function Ut(e, t, r) {
3885
3883
  const n = e.slice();
3886
3884
  return n[63] = t[r], n[65] = r, n;
3887
3885
  }
3888
- function Ut(e) {
3886
+ function Gt(e) {
3889
3887
  let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
3890
3888
  /*sliderdata*/
3891
3889
  e[9]
@@ -3895,14 +3893,14 @@ function Ut(e) {
3895
3893
  o[57].id
3896
3894
  );
3897
3895
  for (let o = 0; o < i.length; o += 1) {
3898
- let a = Ft(e, i, o), u = s(a);
3899
- r.set(u, t[o] = Xt(u, a));
3896
+ let a = Rt(e, i, o), u = s(a);
3897
+ r.set(u, t[o] = Wt(u, a));
3900
3898
  }
3901
3899
  return {
3902
3900
  c() {
3903
3901
  for (let o = 0; o < t.length; o += 1)
3904
3902
  t[o].c();
3905
- n = _e();
3903
+ n = ve();
3906
3904
  },
3907
3905
  m(o, a) {
3908
3906
  for (let u = 0; u < t.length; u += 1)
@@ -3914,7 +3912,7 @@ function Ut(e) {
3914
3912
  1183695 && (i = se(
3915
3913
  /*sliderdata*/
3916
3914
  o[9]
3917
- ), t = qt(t, a, s, 1, o, i, r, n.parentNode, Qt, Xt, n, Ft));
3915
+ ), t = Jt(t, a, s, 1, o, i, r, n.parentNode, qt, Wt, n, Rt));
3918
3916
  },
3919
3917
  d(o) {
3920
3918
  o && U(n);
@@ -3970,15 +3968,15 @@ function ho(e) {
3970
3968
  }
3971
3969
  };
3972
3970
  }
3973
- function Gt(e) {
3971
+ function kt(e) {
3974
3972
  let t, r = (
3975
3973
  /*subGroupsData*/
3976
3974
  e[10].length > 0 && /*showsubgroups*/
3977
- e[2] == "true" && kt(e)
3975
+ e[2] == "true" && $t(e)
3978
3976
  );
3979
3977
  return {
3980
3978
  c() {
3981
- r && r.c(), t = _e();
3979
+ r && r.c(), t = ve();
3982
3980
  },
3983
3981
  m(n, i) {
3984
3982
  r && r.m(n, i), k(n, t, i);
@@ -3986,20 +3984,20 @@ function Gt(e) {
3986
3984
  p(n, i) {
3987
3985
  /*subGroupsData*/
3988
3986
  n[10].length > 0 && /*showsubgroups*/
3989
- n[2] == "true" ? r ? r.p(n, i) : (r = kt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3987
+ n[2] == "true" ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3990
3988
  },
3991
3989
  d(n) {
3992
3990
  n && U(t), r && r.d(n);
3993
3991
  }
3994
3992
  };
3995
3993
  }
3996
- function kt(e) {
3994
+ function $t(e) {
3997
3995
  let t, r = se(
3998
3996
  /*subGroupsData*/
3999
3997
  e[10]
4000
3998
  ), n = [];
4001
3999
  for (let i = 0; i < r.length; i += 1)
4002
- n[i] = Vt(Rt(e, r, i));
4000
+ n[i] = Xt(Dt(e, r, i));
4003
4001
  return {
4004
4002
  c() {
4005
4003
  t = P("ul");
@@ -4021,8 +4019,8 @@ function kt(e) {
4021
4019
  );
4022
4020
  let o;
4023
4021
  for (o = 0; o < r.length; o += 1) {
4024
- const a = Rt(i, r, o);
4025
- n[o] ? n[o].p(a, s) : (n[o] = Vt(a), n[o].c(), n[o].m(t, null));
4022
+ const a = Dt(i, r, o);
4023
+ n[o] ? n[o].p(a, s) : (n[o] = Xt(a), n[o].c(), n[o].m(t, null));
4026
4024
  }
4027
4025
  for (; o < n.length; o += 1)
4028
4026
  n[o].d(1);
@@ -4030,11 +4028,11 @@ function kt(e) {
4030
4028
  }
4031
4029
  },
4032
4030
  d(i) {
4033
- i && U(t), qr(n, i);
4031
+ i && U(t), Jr(n, i);
4034
4032
  }
4035
4033
  };
4036
4034
  }
4037
- function $t(e) {
4035
+ function jt(e) {
4038
4036
  var c;
4039
4037
  let t, r, n = (
4040
4038
  /*subGroupItem*/
@@ -4087,17 +4085,17 @@ function $t(e) {
4087
4085
  }
4088
4086
  };
4089
4087
  }
4090
- function jt(e, t) {
4088
+ function Vt(e, t) {
4091
4089
  let r, n, i = (
4092
4090
  /*index*/
4093
4091
  t[59] == /*subGroup*/
4094
- t[60].index && $t(t)
4092
+ t[60].index && jt(t)
4095
4093
  );
4096
4094
  return {
4097
4095
  key: e,
4098
4096
  first: null,
4099
4097
  c() {
4100
- r = _e(), i && i.c(), n = _e(), this.first = r;
4098
+ r = ve(), i && i.c(), n = ve(), this.first = r;
4101
4099
  },
4102
4100
  m(s, o) {
4103
4101
  k(s, r, o), i && i.m(s, o), k(s, n, o);
@@ -4105,14 +4103,14 @@ function jt(e, t) {
4105
4103
  p(s, o) {
4106
4104
  t = s, /*index*/
4107
4105
  t[59] == /*subGroup*/
4108
- t[60].index ? i ? i.p(t, o) : (i = $t(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4106
+ t[60].index ? i ? i.p(t, o) : (i = jt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4109
4107
  },
4110
4108
  d(s) {
4111
4109
  s && (U(r), U(n)), i && i.d(s);
4112
4110
  }
4113
4111
  };
4114
4112
  }
4115
- function Vt(e) {
4113
+ function Xt(e) {
4116
4114
  let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
4117
4115
  /*subGroup*/
4118
4116
  e[60].items
@@ -4122,14 +4120,14 @@ function Vt(e) {
4122
4120
  o[63].id
4123
4121
  );
4124
4122
  for (let o = 0; o < i.length; o += 1) {
4125
- let a = Dt(e, i, o), u = s(a);
4126
- r.set(u, t[o] = jt(u, a));
4123
+ let a = Ut(e, i, o), u = s(a);
4124
+ r.set(u, t[o] = Vt(u, a));
4127
4125
  }
4128
4126
  return {
4129
4127
  c() {
4130
4128
  for (let o = 0; o < t.length; o += 1)
4131
4129
  t[o].c();
4132
- n = _e();
4130
+ n = ve();
4133
4131
  },
4134
4132
  m(o, a) {
4135
4133
  for (let u = 0; u < t.length; u += 1)
@@ -4141,7 +4139,7 @@ function Vt(e) {
4141
4139
  133056 && (i = se(
4142
4140
  /*subGroup*/
4143
4141
  o[60].items
4144
- ), t = qt(t, a, s, 1, o, i, r, n.parentNode, Qt, jt, n, Dt));
4142
+ ), t = Jt(t, a, s, 1, o, i, r, n.parentNode, qt, Vt, n, Ut));
4145
4143
  },
4146
4144
  d(o) {
4147
4145
  o && U(n);
@@ -4150,7 +4148,7 @@ function Vt(e) {
4150
4148
  }
4151
4149
  };
4152
4150
  }
4153
- function Xt(e, t) {
4151
+ function Wt(e, t) {
4154
4152
  let r, n, i, s, o, a, u, l, c, m, f;
4155
4153
  function p(E, w) {
4156
4154
  return (
@@ -4163,7 +4161,7 @@ function Xt(e, t) {
4163
4161
  t[11][
4164
4162
  /*index*/
4165
4163
  t[59]
4166
- ] == !0 && Gt(t)
4164
+ ] == !0 && kt(t)
4167
4165
  );
4168
4166
  function H(...E) {
4169
4167
  return (
@@ -4215,7 +4213,7 @@ function Xt(e, t) {
4215
4213
  t[11][
4216
4214
  /*index*/
4217
4215
  t[59]
4218
- ] == !0 ? d ? d.p(t, w) : (d = Gt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4216
+ ] == !0 ? d ? d.p(t, w) : (d = kt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4219
4217
  515 && c !== (c = "CarouselItem " + /*activeindex*/
4220
4218
  (((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
4221
4219
  /*activeindex*/
@@ -4236,7 +4234,7 @@ function Xt(e, t) {
4236
4234
  function co(e) {
4237
4235
  let t, r, n, i, s, o, a, u, l, c, m, f, p, g, b, d = (
4238
4236
  /*sliderdata*/
4239
- e[9].length > 0 && Ut(e)
4237
+ e[9].length > 0 && Gt(e)
4240
4238
  );
4241
4239
  return {
4242
4240
  c() {
@@ -4277,7 +4275,7 @@ function co(e) {
4277
4275
  /*handleMouseMove*/
4278
4276
  e[16]
4279
4277
  ),
4280
- V(o, "click", Jr(
4278
+ V(o, "click", Yr(
4281
4279
  /*click_handler*/
4282
4280
  e[36]
4283
4281
  )),
@@ -4291,7 +4289,7 @@ function co(e) {
4291
4289
  },
4292
4290
  p(H, E) {
4293
4291
  /*sliderdata*/
4294
- H[9].length > 0 ? d ? d.p(H, E) : (d = Ut(H), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4292
+ H[9].length > 0 ? d ? d.p(H, E) : (d = Gt(H), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4295
4293
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4296
4294
  H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
4297
4295
  1 && f !== (f = /*location*/
@@ -4307,33 +4305,33 @@ function co(e) {
4307
4305
  };
4308
4306
  }
4309
4307
  function fo(e, t, r) {
4310
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, _;
4308
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: L = "" } = t, v;
4311
4309
  so({ withLocale: "en", translations: {} });
4312
4310
  let S = !1, R = 0, D = 0;
4313
4311
  const ee = (h) => {
4314
4312
  var x, I;
4315
- h.preventDefault(), S = !0, _ == null || _.classList.add("dragging"), R = h.pageX - ((x = _ == null ? void 0 : _.offsetLeft) != null ? x : 0), D = (I = _ == null ? void 0 : _.scrollLeft) != null ? I : 0;
4316
- }, xr = (h) => {
4317
- h.preventDefault(), S = !1, _ == null || _.classList.remove("dragging");
4313
+ h.preventDefault(), S = !0, v == null || v.classList.add("dragging"), R = h.pageX - ((x = v == null ? void 0 : v.offsetLeft) != null ? x : 0), D = (I = v == null ? void 0 : v.scrollLeft) != null ? I : 0;
4318
4314
  }, Cr = (h) => {
4319
- S = !1, _ == null || _.classList.remove("dragging");
4315
+ h.preventDefault(), S = !1, v == null || v.classList.remove("dragging");
4320
4316
  }, wr = (h) => {
4321
- if (!S || !_)
4317
+ S = !1, v == null || v.classList.remove("dragging");
4318
+ }, Hr = (h) => {
4319
+ if (!S || !v)
4322
4320
  return;
4323
4321
  h.preventDefault();
4324
- const I = (h.pageX - _.offsetLeft - R) * 2.5;
4325
- r(5, _.scrollLeft = D - I, _);
4326
- }, Hr = () => {
4322
+ const I = (h.pageX - v.offsetLeft - R) * 2.5;
4323
+ r(5, v.scrollLeft = D - I, v);
4324
+ }, Sr = () => {
4327
4325
  fetch(f).then((x) => x.json()).then((x) => {
4328
4326
  Object.keys(x).forEach((I) => {
4329
- Pt(I, x[I]);
4327
+ Ot(I, x[I]);
4330
4328
  });
4331
4329
  }).catch((x) => {
4332
4330
  console.log(x);
4333
4331
  });
4334
4332
  };
4335
- Object.keys(Ot).forEach((h) => {
4336
- Pt(h, Ot[h]);
4333
+ Object.keys(Ft).forEach((h) => {
4334
+ Ot(h, Ft[h]);
4337
4335
  });
4338
4336
  let Z, de, De, j, pe = [], we = [], te = [], N, Ue = (h, x, I, Q, X) => {
4339
4337
  var q;
@@ -4364,18 +4362,18 @@ function fo(e, t, r) {
4364
4362
  window.location.href
4365
4363
  );
4366
4364
  }
4367
- }, ht = () => {
4368
- N && (te.length !== Z ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4369
4365
  }, ct = () => {
4366
+ N && (te.length !== Z ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4367
+ }, ft = () => {
4370
4368
  N && (te.length !== Z ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
4371
4369
  };
4372
- const ft = (h) => {
4373
- h.data.type == "SliderData" && h.data.identity == m && (r(9, pe = h.data.data), r(11, te = new Array(pe.length).fill(!1)), H == "true" && Ar()), h.data.type == "GoToHomepage" && pe.forEach((x, I) => {
4370
+ const mt = (h) => {
4371
+ h.data.type == "SliderData" && h.data.identity == m && (r(9, pe = h.data.data), r(11, te = new Array(pe.length).fill(!1)), H == "true" && Br()), h.data.type == "GoToHomepage" && pe.forEach((x, I) => {
4374
4372
  x.path.endsWith("/casino") && (r(6, Z = I), r(6, Z));
4375
4373
  });
4376
- }, Sr = () => {
4374
+ }, Tr = () => {
4377
4375
  ao(b);
4378
- }, Tr = (h, x, I) => {
4376
+ }, Ar = (h, x, I) => {
4379
4377
  if (u == "secondaryMenu" && n && i && b && h.id) {
4380
4378
  let Q = new URL(`${n}/v1/casino/groups/${i}/${h.id}/subGroups?language=${b}`);
4381
4379
  fetch(Q.href).then((X) => X.json()).then((X) => {
@@ -4389,57 +4387,57 @@ function fo(e, t, r) {
4389
4387
  window.location.href
4390
4388
  );
4391
4389
  const q = [];
4392
- we.map((Dr) => (Dr.items.forEach((mt) => {
4393
- q.find((Ur) => mt.id == Ur) || q.push(mt.id);
4390
+ we.map((Ur) => (Ur.items.forEach((dt) => {
4391
+ q.find((Gr) => dt.id == Gr) || q.push(dt.id);
4394
4392
  }), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
4395
4393
  }).then(() => {
4396
- _.querySelectorAll(".DropDown") && He();
4394
+ v.querySelectorAll(".DropDown") && He();
4397
4395
  });
4398
4396
  }
4399
4397
  u == "headerMain" && window.postMessage({ type: o, item: h }, window.location.href);
4400
4398
  }, He = () => {
4401
- const h = _.querySelectorAll(".DropDown");
4399
+ const h = v.querySelectorAll(".DropDown");
4402
4400
  document.activeElement.blur(), N.classList.add("isScrolling");
4403
4401
  for (let x = 0; x < h.length; x++)
4404
4402
  h[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
4405
4403
  N.classList.remove("isScrolling");
4406
- }, Ar = () => {
4404
+ }, Br = () => {
4407
4405
  pe.forEach((h, x) => {
4408
4406
  var I;
4409
- ((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te), Tr(h, x));
4407
+ ((I = h == null ? void 0 : h.subGroups) == null ? void 0 : I.count) > 0 && (r(11, te[x] = !0, te), Ar(h, x));
4410
4408
  });
4411
- }, Br = (h) => {
4409
+ }, Ir = (h) => {
4412
4410
  let x = "";
4413
4411
  return h.id === "LOBBY" ? x = w : h.id === "MYGAMES" && (x = O), h.icon || x;
4414
4412
  };
4415
- tn(() => (window.addEventListener("message", ft, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4413
+ rn(() => (window.addEventListener("message", mt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4416
4414
  () => {
4417
4415
  N.addEventListener("scroll", He);
4418
4416
  },
4419
4417
  500
4420
4418
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4421
- window.removeEventListener("message", ft), _.removeEventListener("scroll", He);
4419
+ window.removeEventListener("message", mt), v.removeEventListener("scroll", He);
4422
4420
  }));
4423
- function Ir(h) {
4424
- rn.call(this, e, h);
4421
+ function Mr(h) {
4422
+ nn.call(this, e, h);
4425
4423
  }
4426
- const Mr = () => ht(), Lr = (h, x, I, Q, X) => {
4424
+ const Lr = () => ct(), Nr = (h, x, I, Q, X) => {
4427
4425
  Ue(h, x, I, Q, "secondary"), X.stopPropagation();
4428
- }, Nr = (h, x, I) => {
4426
+ }, Pr = (h, x, I) => {
4429
4427
  Ue(h, x, null, null, "main"), I.preventDefault();
4430
4428
  };
4431
- function Pr(h) {
4429
+ function Or(h) {
4432
4430
  ye[h ? "unshift" : "push"](() => {
4433
- _ = h, r(5, _);
4431
+ v = h, r(5, v);
4434
4432
  });
4435
4433
  }
4436
- function Or(h) {
4434
+ function Fr(h) {
4437
4435
  ye[h ? "unshift" : "push"](() => {
4438
4436
  N = h, r(12, N);
4439
4437
  });
4440
4438
  }
4441
- const Fr = () => ct();
4442
- function Rr(h) {
4439
+ const Rr = () => ft();
4440
+ function Dr(h) {
4443
4441
  ye[h ? "unshift" : "push"](() => {
4444
4442
  j = h, r(4, j);
4445
4443
  });
@@ -4449,19 +4447,19 @@ function fo(e, t, r) {
4449
4447
  }, e.$$.update = () => {
4450
4448
  e.$$.dirty[0] & /*activeindex*/
4451
4449
  2, e.$$.dirty[0] & /*translationurl*/
4452
- 536870912 && f && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4453
- 67108880 && l && j && gn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4454
- 134217744 && c && j && bn(j, c), e.$$.dirty[0] & /*customStylingContainer*/
4450
+ 536870912 && f && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4451
+ 67108880 && l && j && bn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4452
+ 134217744 && c && j && yn(j, c), e.$$.dirty[0] & /*customStylingContainer*/
4455
4453
  16 | e.$$.dirty[1] & /*mbsource*/
4456
- 16 && L && j && yn(j, `${L}.Style`), e.$$.dirty[1] & /*lang*/
4457
- 2 && b && Sr();
4454
+ 16 && L && j && vn(j, `${L}.Style`), e.$$.dirty[1] & /*lang*/
4455
+ 2 && b && Tr();
4458
4456
  }, [
4459
4457
  u,
4460
4458
  d,
4461
4459
  H,
4462
4460
  E,
4463
4461
  j,
4464
- _,
4462
+ v,
4465
4463
  Z,
4466
4464
  de,
4467
4465
  De,
@@ -4470,13 +4468,13 @@ function fo(e, t, r) {
4470
4468
  te,
4471
4469
  N,
4472
4470
  ee,
4473
- xr,
4474
4471
  Cr,
4475
4472
  wr,
4473
+ Hr,
4476
4474
  Ue,
4477
- ht,
4478
4475
  ct,
4479
- Br,
4476
+ ft,
4477
+ Ir,
4480
4478
  n,
4481
4479
  i,
4482
4480
  s,
@@ -4492,24 +4490,24 @@ function fo(e, t, r) {
4492
4490
  w,
4493
4491
  O,
4494
4492
  L,
4495
- Ir,
4496
4493
  Mr,
4497
4494
  Lr,
4498
4495
  Nr,
4499
4496
  Pr,
4500
4497
  Or,
4501
4498
  Fr,
4502
- Rr
4499
+ Rr,
4500
+ Dr
4503
4501
  ];
4504
4502
  }
4505
- class mo extends dn {
4503
+ class mo extends pn {
4506
4504
  constructor(t) {
4507
- super(), fn(
4505
+ super(), mn(
4508
4506
  this,
4509
4507
  t,
4510
4508
  fo,
4511
4509
  co,
4512
- zt,
4510
+ Zt,
4513
4511
  {
4514
4512
  endpoint: 21,
4515
4513
  datasource: 22,
@@ -4650,7 +4648,7 @@ class mo extends dn {
4650
4648
  this.$$set({ mbsource: t }), B();
4651
4649
  }
4652
4650
  }
4653
- mn(mo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4651
+ dn(mo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4654
4652
  export {
4655
4653
  mo as default
4656
4654
  };