@everymatrix/casino-slider 1.60.2 → 1.61.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,28 +1,29 @@
1
+ import "../stencil/ui-image-BNrzgSpe.js";
1
2
  function G() {
2
3
  }
3
- function Ft(e) {
4
+ function Rt(e) {
4
5
  return e();
5
6
  }
6
- function lt() {
7
+ function ut() {
7
8
  return /* @__PURE__ */ Object.create(null);
8
9
  }
9
10
  function Q(e) {
10
- e.forEach(Ft);
11
+ e.forEach(Rt);
11
12
  }
12
- function et(e) {
13
+ function tt(e) {
13
14
  return typeof e == "function";
14
15
  }
15
- function Rt(e, t) {
16
+ function Dt(e, t) {
16
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
18
  }
18
19
  let xe;
19
- function ut(e, t) {
20
+ function ht(e, t) {
20
21
  return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
21
22
  }
22
- function Hr(e) {
23
+ function Sr(e) {
23
24
  return Object.keys(e).length === 0;
24
25
  }
25
- function Sr(e, ...t) {
26
+ function Tr(e, ...t) {
26
27
  if (e == null) {
27
28
  for (const n of t)
28
29
  n(void 0);
@@ -34,14 +35,14 @@ function Sr(e, ...t) {
34
35
  function B(e, t) {
35
36
  e.appendChild(t);
36
37
  }
37
- function Tr(e, t, r) {
38
- const n = Ar(e);
38
+ function Ar(e, t, r) {
39
+ const n = Br(e);
39
40
  if (!n.getElementById(t)) {
40
41
  const i = N("style");
41
- i.id = t, i.textContent = r, Br(n, i);
42
+ i.id = t, i.textContent = r, Ir(n, i);
42
43
  }
43
44
  }
44
- function Ar(e) {
45
+ function Br(e) {
45
46
  if (!e)
46
47
  return document;
47
48
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +52,7 @@ function Ar(e) {
51
52
  t
52
53
  ) : e.ownerDocument;
53
54
  }
54
- function Br(e, t) {
55
+ function Ir(e, t) {
55
56
  return B(
56
57
  /** @type {Document} */
57
58
  e.head || e,
@@ -64,7 +65,7 @@ function U(e, t, r) {
64
65
  function F(e) {
65
66
  e.parentNode && e.parentNode.removeChild(e);
66
67
  }
67
- function Ir(e, t) {
68
+ function Mr(e, t) {
68
69
  for (let r = 0; r < e.length; r += 1)
69
70
  e[r] && e[r].d(t);
70
71
  }
@@ -80,20 +81,24 @@ function Z() {
80
81
  function de() {
81
82
  return ye("");
82
83
  }
83
- function Te(e, t, r, n) {
84
+ function Ae(e, t, r, n) {
84
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
86
  }
86
- function S(e, t, r) {
87
+ function T(e, t, r) {
87
88
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
89
  }
89
- function Mr(e) {
90
+ function Ce(e, t, r) {
91
+ const n = t.toLowerCase();
92
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
93
+ }
94
+ function Nr(e) {
90
95
  return Array.from(e.childNodes);
91
96
  }
92
- function tt(e, t) {
97
+ function rt(e, t) {
93
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
99
  t);
95
100
  }
96
- function Nr(e) {
101
+ function Lr(e) {
97
102
  const t = {};
98
103
  return e.childNodes.forEach(
99
104
  /** @param {Element} node */
@@ -106,25 +111,25 @@ let pe;
106
111
  function fe(e) {
107
112
  pe = e;
108
113
  }
109
- function Lr() {
114
+ function Pr() {
110
115
  if (!pe)
111
116
  throw new Error("Function called outside component initialization");
112
117
  return pe;
113
118
  }
114
- function Pr(e) {
115
- Lr().$$.on_mount.push(e);
119
+ function Or(e) {
120
+ Pr().$$.on_mount.push(e);
116
121
  }
117
122
  const ee = [], me = [];
118
123
  let te = [];
119
- const ht = [], Or = /* @__PURE__ */ Promise.resolve();
120
- let je = !1;
121
- function Fr() {
122
- je || (je = !0, Or.then(A));
124
+ const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
125
+ let Ve = !1;
126
+ function Rr() {
127
+ Ve || (Ve = !0, Fr.then(A));
123
128
  }
124
- function Ve(e) {
129
+ function Xe(e) {
125
130
  te.push(e);
126
131
  }
127
- const Fe = /* @__PURE__ */ new Set();
132
+ const Re = /* @__PURE__ */ new Set();
128
133
  let Y = 0;
129
134
  function A() {
130
135
  if (Y !== 0)
@@ -134,7 +139,7 @@ function A() {
134
139
  try {
135
140
  for (; Y < ee.length; ) {
136
141
  const t = ee[Y];
137
- Y++, fe(t), Rr(t.$$);
142
+ Y++, fe(t), Dr(t.$$);
138
143
  }
139
144
  } catch (t) {
140
145
  throw ee.length = 0, Y = 0, t;
@@ -143,36 +148,36 @@ function A() {
143
148
  me.pop()();
144
149
  for (let t = 0; t < te.length; t += 1) {
145
150
  const r = te[t];
146
- Fe.has(r) || (Fe.add(r), r());
151
+ Re.has(r) || (Re.add(r), r());
147
152
  }
148
153
  te.length = 0;
149
154
  } while (ee.length);
150
- for (; ht.length; )
151
- ht.pop()();
152
- je = !1, Fe.clear(), fe(e);
155
+ for (; ct.length; )
156
+ ct.pop()();
157
+ Ve = !1, Re.clear(), fe(e);
153
158
  }
154
- function Rr(e) {
159
+ function Dr(e) {
155
160
  if (e.fragment !== null) {
156
161
  e.update(), Q(e.before_update);
157
162
  const t = e.dirty;
158
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
163
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
159
164
  }
160
165
  }
161
- function Dr(e) {
166
+ function Ur(e) {
162
167
  const t = [], r = [];
163
168
  te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
164
169
  }
165
- const Ur = /* @__PURE__ */ new Set();
166
- function Dt(e, t) {
167
- e && e.i && (Ur.delete(e), e.i(t));
170
+ const Gr = /* @__PURE__ */ new Set();
171
+ function Ut(e, t) {
172
+ e && e.i && (Gr.delete(e), e.i(t));
168
173
  }
169
174
  function re(e) {
170
175
  return e?.length !== void 0 ? e : Array.from(e);
171
176
  }
172
- function Ut(e, t) {
177
+ function Gt(e, t) {
173
178
  e.d(1), t.delete(e.key);
174
179
  }
175
- function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
180
+ function kt(e, t, r, n, i, s, o, a, h, l, u, m) {
176
181
  let f = e.length, p = s.length, g = f;
177
182
  const b = {};
178
183
  for (; g--; )
@@ -185,7 +190,7 @@ function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
185
190
  }
186
191
  const R = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
187
192
  function k(C) {
188
- Dt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
193
+ Ut(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
189
194
  }
190
195
  for (; f && p; ) {
191
196
  const C = d[p - 1], I = e[f - 1], L = C.key, j = I.key;
@@ -199,21 +204,21 @@ function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
199
204
  k(d[p - 1]);
200
205
  return Q(H), d;
201
206
  }
202
- function Gr(e, t, r) {
207
+ function kr(e, t, r) {
203
208
  const { fragment: n, after_update: i } = e.$$;
204
- n && n.m(t, r), Ve(() => {
205
- const s = e.$$.on_mount.map(Ft).filter(et);
209
+ n && n.m(t, r), Xe(() => {
210
+ const s = e.$$.on_mount.map(Rt).filter(tt);
206
211
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
207
- }), i.forEach(Ve);
212
+ }), i.forEach(Xe);
208
213
  }
209
- function kr(e, t) {
214
+ function $r(e, t) {
210
215
  const r = e.$$;
211
- r.fragment !== null && (Dr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
+ r.fragment !== null && (Ur(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
217
  }
213
- function $r(e, t) {
214
- e.$$.dirty[0] === -1 && (ee.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
+ function jr(e, t) {
219
+ e.$$.dirty[0] === -1 && (ee.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
220
  }
216
- function jr(e, t, r, n, i, s, o = null, a = [-1]) {
221
+ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
217
222
  const h = pe;
218
223
  fe(e);
219
224
  const l = e.$$ = {
@@ -223,7 +228,7 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
223
228
  props: s,
224
229
  update: G,
225
230
  not_equal: i,
226
- bound: lt(),
231
+ bound: ut(),
227
232
  // lifecycle
228
233
  on_mount: [],
229
234
  on_destroy: [],
@@ -232,7 +237,7 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
232
237
  after_update: [],
233
238
  context: new Map(t.context || (h ? h.$$.context : [])),
234
239
  // everything else
235
- callbacks: lt(),
240
+ callbacks: ut(),
236
241
  dirty: a,
237
242
  skip_bound: !1,
238
243
  root: t.target || h.$$.root
@@ -241,19 +246,19 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
241
246
  let u = !1;
242
247
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
243
248
  const g = p.length ? p[0] : f;
244
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && $r(e, m)), f;
249
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && jr(e, m)), f;
245
250
  }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
246
251
  if (t.hydrate) {
247
- const m = Mr(t.target);
252
+ const m = Nr(t.target);
248
253
  l.fragment && l.fragment.l(m), m.forEach(F);
249
254
  } else
250
255
  l.fragment && l.fragment.c();
251
- t.intro && Dt(e.$$.fragment), Gr(e, t.target, t.anchor), A();
256
+ t.intro && Ut(e.$$.fragment), kr(e, t.target, t.anchor), A();
252
257
  }
253
258
  fe(h);
254
259
  }
255
- let kt;
256
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
260
+ let $t;
261
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
257
262
  /** The Svelte component constructor */
258
263
  $$ctor;
259
264
  /** Slots */
@@ -295,7 +300,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
295
300
  let s;
296
301
  return {
297
302
  c: function() {
298
- s = N("slot"), i !== "default" && S(s, "name", i);
303
+ s = N("slot"), i !== "default" && T(s, "name", i);
299
304
  },
300
305
  /**
301
306
  * @param {HTMLElement} target
@@ -312,12 +317,12 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
312
317
  };
313
318
  if (await Promise.resolve(), !this.$$cn || this.$$c)
314
319
  return;
315
- const t = {}, r = Nr(this);
320
+ const t = {}, r = Lr(this);
316
321
  for (const i of this.$$s)
317
322
  i in r && (t[i] = [e(i)]);
318
323
  for (const i of this.attributes) {
319
324
  const s = this.$$g_p(i.name);
320
- s in this.$$d || (this.$$d[s] = we(s, i.value, this.$$p_d, "toProp"));
325
+ s in this.$$d || (this.$$d[s] = He(s, i.value, this.$$p_d, "toProp"));
321
326
  }
322
327
  for (const i in this.$$p_d)
323
328
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -335,7 +340,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
335
340
  this.$$r = !0;
336
341
  for (const i in this.$$p_d)
337
342
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
338
- const s = we(
343
+ const s = He(
339
344
  i,
340
345
  this.$$d[i],
341
346
  this.$$p_d,
@@ -357,7 +362,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
357
362
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
358
363
  // and setting attributes through setAttribute etc, this is helpful
359
364
  attributeChangedCallback(e, t, r) {
360
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = we(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
365
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = He(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
361
366
  }
362
367
  disconnectedCallback() {
363
368
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -370,7 +375,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
370
375
  ) || e;
371
376
  }
372
377
  });
373
- function we(e, t, r, n) {
378
+ function He(e, t, r, n) {
374
379
  const i = r[e]?.type;
375
380
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
376
381
  return t;
@@ -399,8 +404,8 @@ function we(e, t, r, n) {
399
404
  return t;
400
405
  }
401
406
  }
402
- function Vr(e, t, r, n, i, s) {
403
- let o = class extends kt {
407
+ function Xr(e, t, r, n, i, s) {
408
+ let o = class extends $t {
404
409
  constructor() {
405
410
  super(e, r, i), this.$$p_d = t;
406
411
  }
@@ -416,7 +421,7 @@ function Vr(e, t, r, n, i, s) {
416
421
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
417
422
  },
418
423
  set(h) {
419
- h = we(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
424
+ h = He(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
420
425
  }
421
426
  });
422
427
  }), n.forEach((a) => {
@@ -428,7 +433,7 @@ function Vr(e, t, r, n, i, s) {
428
433
  }), e.element = /** @type {any} */
429
434
  o, o;
430
435
  }
431
- class Xr {
436
+ class Wr {
432
437
  /**
433
438
  * ### PRIVATE API
434
439
  *
@@ -447,7 +452,7 @@ class Xr {
447
452
  $$set = void 0;
448
453
  /** @returns {void} */
449
454
  $destroy() {
450
- kr(this, 1), this.$destroy = G;
455
+ $r(this, 1), this.$destroy = G;
451
456
  }
452
457
  /**
453
458
  * @template {Extract<keyof Events, string>} K
@@ -456,7 +461,7 @@ class Xr {
456
461
  * @returns {() => void}
457
462
  */
458
463
  $on(t, r) {
459
- if (!et(r))
464
+ if (!tt(r))
460
465
  return G;
461
466
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
467
  return n.push(r), () => {
@@ -469,18 +474,18 @@ class Xr {
469
474
  * @returns {void}
470
475
  */
471
476
  $set(t) {
472
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
477
+ this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
478
  }
474
479
  }
475
- const Wr = "4";
476
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
477
- function zr(e, t) {
480
+ const zr = "4";
481
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
482
+ function Zr(e, t) {
478
483
  if (e) {
479
484
  const r = document.createElement("style");
480
485
  r.innerHTML = t, e.appendChild(r);
481
486
  }
482
487
  }
483
- function Zr(e, t) {
488
+ function Qr(e, t) {
484
489
  const r = new URL(t);
485
490
  fetch(r.href).then((n) => n.text()).then((n) => {
486
491
  const i = document.createElement("style");
@@ -489,7 +494,7 @@ function Zr(e, t) {
489
494
  console.error("There was an error while trying to load client styling from URL", n);
490
495
  });
491
496
  }
492
- function Qr(e, t, r) {
497
+ function qr(e, t, r) {
493
498
  if (window.emMessageBus) {
494
499
  const n = document.createElement("style");
495
500
  window.emMessageBus.subscribe(t, (i) => {
@@ -498,16 +503,16 @@ function Qr(e, t, r) {
498
503
  }
499
504
  }
500
505
  const K = [];
501
- function qr(e, t) {
506
+ function Jr(e, t) {
502
507
  return {
503
- subscribe: Ie(e, t).subscribe
508
+ subscribe: Me(e, t).subscribe
504
509
  };
505
510
  }
506
- function Ie(e, t = G) {
511
+ function Me(e, t = G) {
507
512
  let r;
508
513
  const n = /* @__PURE__ */ new Set();
509
514
  function i(a) {
510
- if (Rt(e, a) && (e = a, r)) {
515
+ if (Dt(e, a) && (e = a, r)) {
511
516
  const h = !K.length;
512
517
  for (const l of n)
513
518
  l[1](), K.push(l, e);
@@ -534,7 +539,7 @@ function ae(e, t, r) {
534
539
  if (!i.every(Boolean))
535
540
  throw new Error("derived() expects stores as input, got a falsy value");
536
541
  const s = t.length < 2;
537
- return qr(r, (o, a) => {
542
+ return Jr(r, (o, a) => {
538
543
  let h = !1;
539
544
  const l = [];
540
545
  let u = 0, m = G;
@@ -543,9 +548,9 @@ function ae(e, t, r) {
543
548
  return;
544
549
  m();
545
550
  const g = t(n ? l[0] : l, o, a);
546
- s ? o(g) : m = et(g) ? g : G;
551
+ s ? o(g) : m = tt(g) ? g : G;
547
552
  }, p = i.map(
548
- (g, b) => Sr(
553
+ (g, b) => Tr(
549
554
  g,
550
555
  (d) => {
551
556
  l[b] = d, u &= ~(1 << b), h && f();
@@ -560,70 +565,70 @@ function ae(e, t, r) {
560
565
  };
561
566
  });
562
567
  }
563
- function Jr(e) {
568
+ function Yr(e) {
564
569
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
565
570
  }
566
- var Yr = function(t) {
567
- return Kr(t) && !en(t);
571
+ var Kr = function(t) {
572
+ return en(t) && !tn(t);
568
573
  };
569
- function Kr(e) {
574
+ function en(e) {
570
575
  return !!e && typeof e == "object";
571
576
  }
572
- function en(e) {
577
+ function tn(e) {
573
578
  var t = Object.prototype.toString.call(e);
574
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
575
- }
576
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
577
- function nn(e) {
578
- return e.$$typeof === rn;
579
+ return t === "[object RegExp]" || t === "[object Date]" || on(e);
579
580
  }
581
+ var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
580
582
  function on(e) {
583
+ return e.$$typeof === nn;
584
+ }
585
+ function sn(e) {
581
586
  return Array.isArray(e) ? [] : {};
582
587
  }
583
588
  function ge(e, t) {
584
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(on(e), e, t) : e;
589
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(sn(e), e, t) : e;
585
590
  }
586
- function sn(e, t, r) {
591
+ function an(e, t, r) {
587
592
  return e.concat(t).map(function(n) {
588
593
  return ge(n, r);
589
594
  });
590
595
  }
591
- function an(e, t) {
596
+ function ln(e, t) {
592
597
  if (!t.customMerge)
593
598
  return ne;
594
599
  var r = t.customMerge(e);
595
600
  return typeof r == "function" ? r : ne;
596
601
  }
597
- function ln(e) {
602
+ function un(e) {
598
603
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
599
604
  return Object.propertyIsEnumerable.call(e, t);
600
605
  }) : [];
601
606
  }
602
- function ct(e) {
603
- return Object.keys(e).concat(ln(e));
607
+ function ft(e) {
608
+ return Object.keys(e).concat(un(e));
604
609
  }
605
- function $t(e, t) {
610
+ function jt(e, t) {
606
611
  try {
607
612
  return t in e;
608
613
  } catch {
609
614
  return !1;
610
615
  }
611
616
  }
612
- function un(e, t) {
613
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
617
+ function hn(e, t) {
618
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
614
619
  }
615
- function hn(e, t, r) {
620
+ function cn(e, t, r) {
616
621
  var n = {};
617
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
622
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
618
623
  n[i] = ge(e[i], r);
619
- }), ct(t).forEach(function(i) {
620
- un(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
624
+ }), ft(t).forEach(function(i) {
625
+ hn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
621
626
  }), n;
622
627
  }
623
628
  function ne(e, t, r) {
624
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ge;
629
+ r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ge;
625
630
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
626
- return s ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : ge(t, r);
631
+ return s ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ge(t, r);
627
632
  }
628
633
  ne.all = function(t, r) {
629
634
  if (!Array.isArray(t))
@@ -632,8 +637,8 @@ ne.all = function(t, r) {
632
637
  return ne(n, i, r);
633
638
  }, {});
634
639
  };
635
- var cn = ne, fn = cn;
636
- const mn = /* @__PURE__ */ Jr(fn);
640
+ var fn = ne, mn = fn;
641
+ const dn = /* @__PURE__ */ Yr(mn);
637
642
  /*! *****************************************************************************
638
643
  Copyright (c) Microsoft Corporation.
639
644
 
@@ -648,18 +653,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
648
653
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
649
654
  PERFORMANCE OF THIS SOFTWARE.
650
655
  ***************************************************************************** */
651
- var Xe = function(e, t) {
652
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
656
+ var We = function(e, t) {
657
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
653
658
  r.__proto__ = n;
654
659
  } || function(r, n) {
655
660
  for (var i in n)
656
661
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
657
- }, Xe(e, t);
662
+ }, We(e, t);
658
663
  };
659
- function Me(e, t) {
664
+ function Ne(e, t) {
660
665
  if (typeof t != "function" && t !== null)
661
666
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
662
- Xe(e, t);
667
+ We(e, t);
663
668
  function r() {
664
669
  this.constructor = e;
665
670
  }
@@ -675,7 +680,7 @@ var _ = function() {
675
680
  return t;
676
681
  }, _.apply(this, arguments);
677
682
  };
678
- function dn(e, t) {
683
+ function pn(e, t) {
679
684
  var r = {};
680
685
  for (var n in e)
681
686
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -684,43 +689,43 @@ function dn(e, t) {
684
689
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
685
690
  return r;
686
691
  }
687
- function Re(e, t, r) {
692
+ function De(e, t, r) {
688
693
  if (arguments.length === 2)
689
694
  for (var n = 0, i = t.length, s; n < i; n++)
690
695
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
691
696
  return e.concat(s || t);
692
697
  }
693
- function De(e, t) {
694
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
698
+ function Ue(e, t) {
699
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
695
700
  return i(e, {
696
701
  cache: r,
697
702
  serializer: n
698
703
  });
699
704
  }
700
- function pn(e) {
705
+ function gn(e) {
701
706
  return e == null || typeof e == "number" || typeof e == "boolean";
702
707
  }
703
- function gn(e, t, r, n) {
704
- var i = pn(n) ? n : r(n), s = t.get(i);
708
+ function bn(e, t, r, n) {
709
+ var i = gn(n) ? n : r(n), s = t.get(i);
705
710
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
706
711
  }
707
- function jt(e, t, r) {
712
+ function Vt(e, t, r) {
708
713
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
709
714
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
710
715
  }
711
- function Vt(e, t, r, n, i) {
716
+ function Xt(e, t, r, n, i) {
712
717
  return r.bind(t, e, n, i);
713
718
  }
714
- function bn(e, t) {
715
- var r = e.length === 1 ? gn : jt;
716
- return Vt(e, this, r, t.cache.create(), t.serializer);
717
- }
718
719
  function yn(e, t) {
719
- return Vt(e, this, jt, t.cache.create(), t.serializer);
720
+ var r = e.length === 1 ? bn : Vt;
721
+ return Xt(e, this, r, t.cache.create(), t.serializer);
720
722
  }
721
- var vn = function() {
723
+ function vn(e, t) {
724
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
725
+ }
726
+ var _n = function() {
722
727
  return JSON.stringify(arguments);
723
- }, _n = (
728
+ }, En = (
724
729
  /** @class */
725
730
  function() {
726
731
  function e() {
@@ -732,61 +737,61 @@ var vn = function() {
732
737
  this.cache[t] = r;
733
738
  }, e;
734
739
  }()
735
- ), En = {
740
+ ), xn = {
736
741
  create: function() {
737
- return new _n();
742
+ return new En();
738
743
  }
739
- }, Ue = {
740
- variadic: yn
744
+ }, Ge = {
745
+ variadic: vn
741
746
  }, y;
742
747
  (function(e) {
743
748
  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";
744
749
  })(y || (y = {}));
745
- var T;
750
+ var S;
746
751
  (function(e) {
747
752
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
748
- })(T || (T = {}));
753
+ })(S || (S = {}));
749
754
  var ie;
750
755
  (function(e) {
751
756
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
752
757
  })(ie || (ie = {}));
753
- function ft(e) {
754
- return e.type === T.literal;
755
- }
756
- function xn(e) {
757
- return e.type === T.argument;
758
+ function mt(e) {
759
+ return e.type === S.literal;
758
760
  }
759
- function Xt(e) {
760
- return e.type === T.number;
761
+ function Cn(e) {
762
+ return e.type === S.argument;
761
763
  }
762
764
  function Wt(e) {
763
- return e.type === T.date;
765
+ return e.type === S.number;
764
766
  }
765
767
  function zt(e) {
766
- return e.type === T.time;
768
+ return e.type === S.date;
767
769
  }
768
770
  function Zt(e) {
769
- return e.type === T.select;
771
+ return e.type === S.time;
770
772
  }
771
773
  function Qt(e) {
772
- return e.type === T.plural;
773
- }
774
- function Cn(e) {
775
- return e.type === T.pound;
774
+ return e.type === S.select;
776
775
  }
777
776
  function qt(e) {
778
- return e.type === T.tag;
777
+ return e.type === S.plural;
778
+ }
779
+ function wn(e) {
780
+ return e.type === S.pound;
779
781
  }
780
782
  function Jt(e) {
783
+ return e.type === S.tag;
784
+ }
785
+ function Yt(e) {
781
786
  return !!(e && typeof e == "object" && e.type === ie.number);
782
787
  }
783
- function We(e) {
788
+ function ze(e) {
784
789
  return !!(e && typeof e == "object" && e.type === ie.dateTime);
785
790
  }
786
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
787
- function Hn(e) {
791
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
792
+ function Sn(e) {
788
793
  var t = {};
789
- return e.replace(wn, function(r) {
794
+ return e.replace(Hn, function(r) {
790
795
  var n = r.length;
791
796
  switch (r[0]) {
792
797
  case "G":
@@ -875,11 +880,11 @@ function Hn(e) {
875
880
  return "";
876
881
  }), t;
877
882
  }
878
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
879
- function Tn(e) {
883
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
884
+ function An(e) {
880
885
  if (e.length === 0)
881
886
  throw new Error("Number skeleton cannot be empty");
882
- for (var t = e.split(Sn).filter(function(f) {
887
+ for (var t = e.split(Tn).filter(function(f) {
883
888
  return f.length > 0;
884
889
  }), r = [], n = 0, i = t; n < i.length; n++) {
885
890
  var s = i[n], o = s.split("/");
@@ -894,17 +899,17 @@ function Tn(e) {
894
899
  }
895
900
  return r;
896
901
  }
897
- function An(e) {
902
+ function Bn(e) {
898
903
  return e.replace(/^(.*?)-/, "");
899
904
  }
900
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
901
- function dt(e) {
905
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
906
+ function pt(e) {
902
907
  var t = {};
903
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
908
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
904
909
  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)), "";
905
910
  }), t;
906
911
  }
907
- function tr(e) {
912
+ function rr(e) {
908
913
  switch (e) {
909
914
  case "sign-auto":
910
915
  return {
@@ -944,7 +949,7 @@ function tr(e) {
944
949
  };
945
950
  }
946
951
  }
947
- function In(e) {
952
+ function Mn(e) {
948
953
  var t;
949
954
  if (e[0] === "E" && e[1] === "E" ? (t = {
950
955
  notation: "engineering"
@@ -952,17 +957,17 @@ function In(e) {
952
957
  notation: "scientific"
953
958
  }, e = e.slice(1)), t) {
954
959
  var r = e.slice(0, 2);
955
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
960
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
956
961
  throw new Error("Malformed concise eng/scientific notation");
957
962
  t.minimumIntegerDigits = e.length;
958
963
  }
959
964
  return t;
960
965
  }
961
- function pt(e) {
962
- var t = {}, r = tr(e);
966
+ function gt(e) {
967
+ var t = {}, r = rr(e);
963
968
  return r || t;
964
969
  }
965
- function Mn(e) {
970
+ function Nn(e) {
966
971
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
967
972
  var i = n[r];
968
973
  switch (i.stem) {
@@ -986,7 +991,7 @@ function Mn(e) {
986
991
  continue;
987
992
  case "measure-unit":
988
993
  case "unit":
989
- t.style = "unit", t.unit = An(i.options[0]);
994
+ t.style = "unit", t.unit = Bn(i.options[0]);
990
995
  continue;
991
996
  case "compact-short":
992
997
  case "K":
@@ -998,12 +1003,12 @@ function Mn(e) {
998
1003
  continue;
999
1004
  case "scientific":
1000
1005
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1001
- return _(_({}, h), pt(l));
1006
+ return _(_({}, h), gt(l));
1002
1007
  }, {}));
1003
1008
  continue;
1004
1009
  case "engineering":
1005
1010
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1006
- return _(_({}, h), pt(l));
1011
+ return _(_({}, h), gt(l));
1007
1012
  }, {}));
1008
1013
  continue;
1009
1014
  case "notation-simple":
@@ -1048,7 +1053,7 @@ function Mn(e) {
1048
1053
  case "integer-width":
1049
1054
  if (i.options.length > 1)
1050
1055
  throw new RangeError("integer-width stems only accept a single optional option");
1051
- i.options[0].replace(Bn, function(h, l, u, m, f, p) {
1056
+ i.options[0].replace(In, function(h, l, u, m, f, p) {
1052
1057
  if (l)
1053
1058
  t.minimumIntegerDigits = u.length;
1054
1059
  else {
@@ -1061,32 +1066,32 @@ function Mn(e) {
1061
1066
  });
1062
1067
  continue;
1063
1068
  }
1064
- if (er.test(i.stem)) {
1069
+ if (tr.test(i.stem)) {
1065
1070
  t.minimumIntegerDigits = i.stem.length;
1066
1071
  continue;
1067
1072
  }
1068
- if (mt.test(i.stem)) {
1073
+ if (dt.test(i.stem)) {
1069
1074
  if (i.options.length > 1)
1070
1075
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1071
- i.stem.replace(mt, function(h, l, u, m, f, p) {
1076
+ i.stem.replace(dt, function(h, l, u, m, f, p) {
1072
1077
  return u === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1073
1078
  });
1074
1079
  var s = i.options[0];
1075
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), dt(s)));
1080
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), pt(s)));
1076
1081
  continue;
1077
1082
  }
1078
- if (Kt.test(i.stem)) {
1079
- t = _(_({}, t), dt(i.stem));
1083
+ if (er.test(i.stem)) {
1084
+ t = _(_({}, t), pt(i.stem));
1080
1085
  continue;
1081
1086
  }
1082
- var o = tr(i.stem);
1087
+ var o = rr(i.stem);
1083
1088
  o && (t = _(_({}, t), o));
1084
- var a = In(i.stem);
1089
+ var a = Mn(i.stem);
1085
1090
  a && (t = _(_({}, t), a));
1086
1091
  }
1087
1092
  return t;
1088
1093
  }
1089
- var Ce = {
1094
+ var we = {
1090
1095
  "001": [
1091
1096
  "H",
1092
1097
  "h"
@@ -2501,13 +2506,13 @@ var Ce = {
2501
2506
  "h"
2502
2507
  ]
2503
2508
  };
2504
- function Nn(e, t) {
2509
+ function Ln(e, t) {
2505
2510
  for (var r = "", n = 0; n < e.length; n++) {
2506
2511
  var i = e.charAt(n);
2507
2512
  if (i === "j") {
2508
2513
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2509
2514
  s++, n++;
2510
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Ln(t);
2515
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Pn(t);
2511
2516
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2512
2517
  r += h;
2513
2518
  for (; o-- > 0; )
@@ -2517,7 +2522,7 @@ function Nn(e, t) {
2517
2522
  }
2518
2523
  return r;
2519
2524
  }
2520
- function Ln(e) {
2525
+ function Pn(e) {
2521
2526
  var t = e.hourCycle;
2522
2527
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2523
2528
  e.hourCycles && // @ts-ignore
@@ -2536,23 +2541,23 @@ function Ln(e) {
2536
2541
  }
2537
2542
  var r = e.language, n;
2538
2543
  r !== "root" && (n = e.maximize().region);
2539
- var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2544
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2540
2545
  return i[0];
2541
2546
  }
2542
- var Ge, Pn = new RegExp("^".concat(Yt.source, "*")), On = new RegExp("".concat(Yt.source, "*$"));
2547
+ var ke, On = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
2543
2548
  function v(e, t) {
2544
2549
  return { start: e, end: t };
2545
2550
  }
2546
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, jn = $n ? Number.isSafeInteger : function(e) {
2551
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
2547
2552
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2548
- }, ze = !0;
2553
+ }, Ze = !0;
2549
2554
  try {
2550
- var Vn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2551
- ze = ((Ge = Vn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2555
+ var Xn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2556
+ Ze = ((ke = Xn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2552
2557
  } catch {
2553
- ze = !1;
2558
+ Ze = !1;
2554
2559
  }
2555
- var gt = Fn ? (
2560
+ var bt = Rn ? (
2556
2561
  // Native
2557
2562
  function(t, r, n) {
2558
2563
  return t.startsWith(r, n);
@@ -2562,7 +2567,7 @@ var gt = Fn ? (
2562
2567
  function(t, r, n) {
2563
2568
  return t.slice(n, n + r.length) === r;
2564
2569
  }
2565
- ), Ze = Rn ? String.fromCodePoint : (
2570
+ ), Qe = Dn ? String.fromCodePoint : (
2566
2571
  // IE11
2567
2572
  function() {
2568
2573
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2574,9 +2579,9 @@ var gt = Fn ? (
2574
2579
  }
2575
2580
  return n;
2576
2581
  }
2577
- ), bt = (
2582
+ ), yt = (
2578
2583
  // native
2579
- Dn ? Object.fromEntries : (
2584
+ Un ? Object.fromEntries : (
2580
2585
  // Ponyfill
2581
2586
  function(t) {
2582
2587
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2586,7 +2591,7 @@ var gt = Fn ? (
2586
2591
  return r;
2587
2592
  }
2588
2593
  )
2589
- ), rr = Un ? (
2594
+ ), nr = Gn ? (
2590
2595
  // Native
2591
2596
  function(t, r) {
2592
2597
  return t.codePointAt(r);
@@ -2600,7 +2605,7 @@ var gt = Fn ? (
2600
2605
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2601
2606
  }
2602
2607
  }
2603
- ), Xn = Gn ? (
2608
+ ), Wn = kn ? (
2604
2609
  // Native
2605
2610
  function(t) {
2606
2611
  return t.trimStart();
@@ -2608,9 +2613,9 @@ var gt = Fn ? (
2608
2613
  ) : (
2609
2614
  // Ponyfill
2610
2615
  function(t) {
2611
- return t.replace(Pn, "");
2616
+ return t.replace(On, "");
2612
2617
  }
2613
- ), Wn = kn ? (
2618
+ ), zn = $n ? (
2614
2619
  // Native
2615
2620
  function(t) {
2616
2621
  return t.trimEnd();
@@ -2618,32 +2623,32 @@ var gt = Fn ? (
2618
2623
  ) : (
2619
2624
  // Ponyfill
2620
2625
  function(t) {
2621
- return t.replace(On, "");
2626
+ return t.replace(Fn, "");
2622
2627
  }
2623
2628
  );
2624
- function nr(e, t) {
2629
+ function ir(e, t) {
2625
2630
  return new RegExp(e, t);
2626
2631
  }
2627
- var Qe;
2628
- if (ze) {
2629
- var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2630
- Qe = function(t, r) {
2632
+ var qe;
2633
+ if (Ze) {
2634
+ var vt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2635
+ qe = function(t, r) {
2631
2636
  var n;
2632
- yt.lastIndex = r;
2633
- var i = yt.exec(t);
2637
+ vt.lastIndex = r;
2638
+ var i = vt.exec(t);
2634
2639
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2635
2640
  };
2636
2641
  } else
2637
- Qe = function(t, r) {
2642
+ qe = function(t, r) {
2638
2643
  for (var n = []; ; ) {
2639
- var i = rr(t, r);
2640
- if (i === void 0 || ir(i) || qn(i))
2644
+ var i = nr(t, r);
2645
+ if (i === void 0 || or(i) || Jn(i))
2641
2646
  break;
2642
2647
  n.push(i), r += i >= 65536 ? 2 : 1;
2643
2648
  }
2644
- return Ze.apply(void 0, n);
2649
+ return Qe.apply(void 0, n);
2645
2650
  };
2646
- var zn = (
2651
+ var Zn = (
2647
2652
  /** @class */
2648
2653
  function() {
2649
2654
  function e(t, r) {
@@ -2667,14 +2672,14 @@ var zn = (
2667
2672
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2668
2673
  var a = this.clonePosition();
2669
2674
  this.bump(), i.push({
2670
- type: T.pound,
2675
+ type: S.pound,
2671
2676
  location: v(a, this.clonePosition())
2672
2677
  });
2673
2678
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2674
2679
  if (n)
2675
2680
  break;
2676
2681
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2677
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2682
+ } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2678
2683
  var o = this.parseTag(t, r);
2679
2684
  if (o.err)
2680
2685
  return o;
@@ -2695,7 +2700,7 @@ var zn = (
2695
2700
  if (this.bumpSpace(), this.bumpIf("/>"))
2696
2701
  return {
2697
2702
  val: {
2698
- type: T.literal,
2703
+ type: S.literal,
2699
2704
  value: "<".concat(i, "/>"),
2700
2705
  location: v(n, this.clonePosition())
2701
2706
  },
@@ -2707,12 +2712,12 @@ var zn = (
2707
2712
  return s;
2708
2713
  var o = s.val, a = this.clonePosition();
2709
2714
  if (this.bumpIf("</")) {
2710
- if (this.isEOF() || !qe(this.char()))
2715
+ if (this.isEOF() || !Je(this.char()))
2711
2716
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2712
2717
  var h = this.clonePosition(), l = this.parseTagName();
2713
2718
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2714
2719
  val: {
2715
- type: T.tag,
2720
+ type: S.tag,
2716
2721
  value: i,
2717
2722
  children: o,
2718
2723
  location: v(n, this.clonePosition())
@@ -2725,7 +2730,7 @@ var zn = (
2725
2730
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2726
2731
  }, e.prototype.parseTagName = function() {
2727
2732
  var t = this.offset();
2728
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
2733
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
2729
2734
  this.bump();
2730
2735
  return this.message.slice(t, this.offset());
2731
2736
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2749,12 +2754,12 @@ var zn = (
2749
2754
  }
2750
2755
  var h = v(n, this.clonePosition());
2751
2756
  return {
2752
- val: { type: T.literal, value: i, location: h },
2757
+ val: { type: S.literal, value: i, location: h },
2753
2758
  err: null
2754
2759
  };
2755
2760
  }, e.prototype.tryParseLeftAngleBracket = function() {
2756
2761
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2757
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2762
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2758
2763
  }, e.prototype.tryParseQuote = function(t) {
2759
2764
  if (this.isEOF() || this.char() !== 39)
2760
2765
  return null;
@@ -2788,12 +2793,12 @@ var zn = (
2788
2793
  r.push(n);
2789
2794
  this.bump();
2790
2795
  }
2791
- return Ze.apply(void 0, r);
2796
+ return Qe.apply(void 0, r);
2792
2797
  }, e.prototype.tryParseUnquoted = function(t, r) {
2793
2798
  if (this.isEOF())
2794
2799
  return null;
2795
2800
  var n = this.char();
2796
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2801
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2797
2802
  }, e.prototype.parseArgument = function(t, r) {
2798
2803
  var n = this.clonePosition();
2799
2804
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2809,7 +2814,7 @@ var zn = (
2809
2814
  case 125:
2810
2815
  return this.bump(), {
2811
2816
  val: {
2812
- type: T.argument,
2817
+ type: S.argument,
2813
2818
  // value does not include the opening and closing braces.
2814
2819
  value: i,
2815
2820
  location: v(n, this.clonePosition())
@@ -2822,7 +2827,7 @@ var zn = (
2822
2827
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2823
2828
  }
2824
2829
  }, e.prototype.parseIdentifierIfPossible = function() {
2825
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2830
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2826
2831
  this.bumpTo(i);
2827
2832
  var s = this.clonePosition(), o = v(t, s);
2828
2833
  return { value: n, location: o };
@@ -2841,7 +2846,7 @@ var zn = (
2841
2846
  var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2842
2847
  if (m.err)
2843
2848
  return m;
2844
- var f = Wn(m.val);
2849
+ var f = zn(m.val);
2845
2850
  if (f.length === 0)
2846
2851
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2847
2852
  var p = v(u, this.clonePosition());
@@ -2851,25 +2856,25 @@ var zn = (
2851
2856
  if (g.err)
2852
2857
  return g;
2853
2858
  var b = v(i, this.clonePosition());
2854
- if (l && gt(l?.style, "::", 0)) {
2855
- var d = Xn(l.style.slice(2));
2859
+ if (l && bt(l?.style, "::", 0)) {
2860
+ var d = Wn(l.style.slice(2));
2856
2861
  if (a === "number") {
2857
2862
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2858
2863
  return m.err ? m : {
2859
- val: { type: T.number, value: n, location: b, style: m.val },
2864
+ val: { type: S.number, value: n, location: b, style: m.val },
2860
2865
  err: null
2861
2866
  };
2862
2867
  } else {
2863
2868
  if (d.length === 0)
2864
2869
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2865
2870
  var w = d;
2866
- this.locale && (w = Nn(d, this.locale));
2871
+ this.locale && (w = Ln(d, this.locale));
2867
2872
  var f = {
2868
2873
  type: ie.dateTime,
2869
2874
  pattern: w,
2870
2875
  location: l.styleLocation,
2871
- parsedOptions: this.shouldParseSkeletons ? Hn(w) : {}
2872
- }, E = a === "date" ? T.date : T.time;
2876
+ parsedOptions: this.shouldParseSkeletons ? Sn(w) : {}
2877
+ }, E = a === "date" ? S.date : S.time;
2873
2878
  return {
2874
2879
  val: { type: E, value: n, location: b, style: f },
2875
2880
  err: null
@@ -2878,7 +2883,7 @@ var zn = (
2878
2883
  }
2879
2884
  return {
2880
2885
  val: {
2881
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2886
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2882
2887
  value: n,
2883
2888
  location: b,
2884
2889
  style: (s = l?.style) !== null && s !== void 0 ? s : null
@@ -2912,17 +2917,17 @@ var zn = (
2912
2917
  var C = v(i, this.clonePosition());
2913
2918
  return a === "select" ? {
2914
2919
  val: {
2915
- type: T.select,
2920
+ type: S.select,
2916
2921
  value: n,
2917
- options: bt(k.val),
2922
+ options: yt(k.val),
2918
2923
  location: C
2919
2924
  },
2920
2925
  err: null
2921
2926
  } : {
2922
2927
  val: {
2923
- type: T.plural,
2928
+ type: S.plural,
2924
2929
  value: n,
2925
- options: bt(k.val),
2930
+ options: yt(k.val),
2926
2931
  offset: P,
2927
2932
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2928
2933
  location: C
@@ -2973,7 +2978,7 @@ var zn = (
2973
2978
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2974
2979
  var n = [];
2975
2980
  try {
2976
- n = Tn(t);
2981
+ n = An(t);
2977
2982
  } catch {
2978
2983
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2979
2984
  }
@@ -2982,7 +2987,7 @@ var zn = (
2982
2987
  type: ie.number,
2983
2988
  tokens: n,
2984
2989
  location: r,
2985
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
2990
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2986
2991
  },
2987
2992
  err: null
2988
2993
  };
@@ -3030,7 +3035,7 @@ var zn = (
3030
3035
  break;
3031
3036
  }
3032
3037
  var h = v(i, this.clonePosition());
3033
- return s ? (o *= n, jn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3038
+ return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3034
3039
  }, e.prototype.offset = function() {
3035
3040
  return this.position.offset;
3036
3041
  }, e.prototype.isEOF = function() {
@@ -3045,7 +3050,7 @@ var zn = (
3045
3050
  var t = this.position.offset;
3046
3051
  if (t >= this.message.length)
3047
3052
  throw Error("out of bound");
3048
- var r = rr(this.message, t);
3053
+ var r = nr(this.message, t);
3049
3054
  if (r === void 0)
3050
3055
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3051
3056
  return r;
@@ -3064,7 +3069,7 @@ var zn = (
3064
3069
  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);
3065
3070
  }
3066
3071
  }, e.prototype.bumpIf = function(t) {
3067
- if (gt(this.message, t, this.offset())) {
3072
+ if (bt(this.message, t, this.offset())) {
3068
3073
  for (var r = 0; r < t.length; r++)
3069
3074
  this.bump();
3070
3075
  return !0;
@@ -3086,7 +3091,7 @@ var zn = (
3086
3091
  break;
3087
3092
  }
3088
3093
  }, e.prototype.bumpSpace = function() {
3089
- for (; !this.isEOF() && ir(this.char()); )
3094
+ for (; !this.isEOF() && or(this.char()); )
3090
3095
  this.bump();
3091
3096
  }, e.prototype.peek = function() {
3092
3097
  if (this.isEOF())
@@ -3096,47 +3101,47 @@ var zn = (
3096
3101
  }, e;
3097
3102
  }()
3098
3103
  );
3099
- function qe(e) {
3104
+ function Je(e) {
3100
3105
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3101
3106
  }
3102
- function Zn(e) {
3103
- return qe(e) || e === 47;
3104
- }
3105
3107
  function Qn(e) {
3108
+ return Je(e) || e === 47;
3109
+ }
3110
+ function qn(e) {
3106
3111
  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;
3107
3112
  }
3108
- function ir(e) {
3113
+ function or(e) {
3109
3114
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3110
3115
  }
3111
- function qn(e) {
3116
+ function Jn(e) {
3112
3117
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3113
3118
  }
3114
- function Je(e) {
3119
+ function Ye(e) {
3115
3120
  e.forEach(function(t) {
3116
- if (delete t.location, Zt(t) || Qt(t))
3121
+ if (delete t.location, Qt(t) || qt(t))
3117
3122
  for (var r in t.options)
3118
- delete t.options[r].location, Je(t.options[r].value);
3123
+ delete t.options[r].location, Ye(t.options[r].value);
3119
3124
  else
3120
- Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && We(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3125
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && ze(t.style) ? delete t.style.location : Jt(t) && Ye(t.children);
3121
3126
  });
3122
3127
  }
3123
- function Jn(e, t) {
3128
+ function Yn(e, t) {
3124
3129
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3125
- var r = new zn(e, t).parse();
3130
+ var r = new Zn(e, t).parse();
3126
3131
  if (r.err) {
3127
3132
  var n = SyntaxError(y[r.err.kind]);
3128
3133
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3129
3134
  }
3130
- return t?.captureLocation || Je(r.val), r.val;
3135
+ return t?.captureLocation || Ye(r.val), r.val;
3131
3136
  }
3132
3137
  var oe;
3133
3138
  (function(e) {
3134
3139
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3135
3140
  })(oe || (oe = {}));
3136
- var Ne = (
3141
+ var Le = (
3137
3142
  /** @class */
3138
3143
  function(e) {
3139
- Me(t, e);
3144
+ Ne(t, e);
3140
3145
  function t(r, n, i) {
3141
3146
  var s = e.call(this, r) || this;
3142
3147
  return s.code = n, s.originalMessage = i, s;
@@ -3145,48 +3150,48 @@ var Ne = (
3145
3150
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3146
3151
  }, t;
3147
3152
  }(Error)
3148
- ), vt = (
3153
+ ), _t = (
3149
3154
  /** @class */
3150
3155
  function(e) {
3151
- Me(t, e);
3156
+ Ne(t, e);
3152
3157
  function t(r, n, i, s) {
3153
3158
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, s) || this;
3154
3159
  }
3155
3160
  return t;
3156
- }(Ne)
3157
- ), Yn = (
3161
+ }(Le)
3162
+ ), Kn = (
3158
3163
  /** @class */
3159
3164
  function(e) {
3160
- Me(t, e);
3165
+ Ne(t, e);
3161
3166
  function t(r, n, i) {
3162
3167
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3163
3168
  }
3164
3169
  return t;
3165
- }(Ne)
3166
- ), Kn = (
3170
+ }(Le)
3171
+ ), ei = (
3167
3172
  /** @class */
3168
3173
  function(e) {
3169
- Me(t, e);
3174
+ Ne(t, e);
3170
3175
  function t(r, n) {
3171
3176
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3172
3177
  }
3173
3178
  return t;
3174
- }(Ne)
3179
+ }(Le)
3175
3180
  ), O;
3176
3181
  (function(e) {
3177
3182
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3178
3183
  })(O || (O = {}));
3179
- function ei(e) {
3184
+ function ti(e) {
3180
3185
  return e.length < 2 ? e : e.reduce(function(t, r) {
3181
3186
  var n = t[t.length - 1];
3182
3187
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3183
3188
  }, []);
3184
3189
  }
3185
- function ti(e) {
3190
+ function ri(e) {
3186
3191
  return typeof e == "function";
3187
3192
  }
3188
- function He(e, t, r, n, i, s, o) {
3189
- if (e.length === 1 && ft(e[0]))
3193
+ function Se(e, t, r, n, i, s, o) {
3194
+ if (e.length === 1 && mt(e[0]))
3190
3195
  return [
3191
3196
  {
3192
3197
  type: O.literal,
@@ -3195,14 +3200,14 @@ function He(e, t, r, n, i, s, o) {
3195
3200
  ];
3196
3201
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3197
3202
  var u = l[h];
3198
- if (ft(u)) {
3203
+ if (mt(u)) {
3199
3204
  a.push({
3200
3205
  type: O.literal,
3201
3206
  value: u.value
3202
3207
  });
3203
3208
  continue;
3204
3209
  }
3205
- if (Cn(u)) {
3210
+ if (wn(u)) {
3206
3211
  typeof s == "number" && a.push({
3207
3212
  type: O.literal,
3208
3213
  value: r.getNumberFormat(t).format(s)
@@ -3211,44 +3216,44 @@ function He(e, t, r, n, i, s, o) {
3211
3216
  }
3212
3217
  var m = u.value;
3213
3218
  if (!(i && m in i))
3214
- throw new Kn(m, o);
3219
+ throw new ei(m, o);
3215
3220
  var f = i[m];
3216
- if (xn(u)) {
3221
+ if (Cn(u)) {
3217
3222
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3218
3223
  type: typeof f == "string" ? O.literal : O.object,
3219
3224
  value: f
3220
3225
  });
3221
3226
  continue;
3222
3227
  }
3223
- if (Wt(u)) {
3224
- var p = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3228
+ if (zt(u)) {
3229
+ var p = typeof u.style == "string" ? n.date[u.style] : ze(u.style) ? u.style.parsedOptions : void 0;
3225
3230
  a.push({
3226
3231
  type: O.literal,
3227
3232
  value: r.getDateTimeFormat(t, p).format(f)
3228
3233
  });
3229
3234
  continue;
3230
3235
  }
3231
- if (zt(u)) {
3232
- var p = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3236
+ if (Zt(u)) {
3237
+ var p = typeof u.style == "string" ? n.time[u.style] : ze(u.style) ? u.style.parsedOptions : n.time.medium;
3233
3238
  a.push({
3234
3239
  type: O.literal,
3235
3240
  value: r.getDateTimeFormat(t, p).format(f)
3236
3241
  });
3237
3242
  continue;
3238
3243
  }
3239
- if (Xt(u)) {
3240
- var p = typeof u.style == "string" ? n.number[u.style] : Jt(u.style) ? u.style.parsedOptions : void 0;
3244
+ if (Wt(u)) {
3245
+ var p = typeof u.style == "string" ? n.number[u.style] : Yt(u.style) ? u.style.parsedOptions : void 0;
3241
3246
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3242
3247
  type: O.literal,
3243
3248
  value: r.getNumberFormat(t, p).format(f)
3244
3249
  });
3245
3250
  continue;
3246
3251
  }
3247
- if (qt(u)) {
3252
+ if (Jt(u)) {
3248
3253
  var g = u.children, b = u.value, d = i[b];
3249
- if (!ti(d))
3250
- throw new Yn(b, "function", o);
3251
- var w = He(g, t, r, n, i, s), E = d(w.map(function(P) {
3254
+ if (!ri(d))
3255
+ throw new Kn(b, "function", o);
3256
+ var w = Se(g, t, r, n, i, s), E = d(w.map(function(P) {
3252
3257
  return P.value;
3253
3258
  }));
3254
3259
  Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(P) {
@@ -3258,42 +3263,42 @@ function He(e, t, r, n, i, s, o) {
3258
3263
  };
3259
3264
  }));
3260
3265
  }
3261
- if (Zt(u)) {
3266
+ if (Qt(u)) {
3262
3267
  var H = u.options[f] || u.options.other;
3263
3268
  if (!H)
3264
- throw new vt(u.value, f, Object.keys(u.options), o);
3265
- a.push.apply(a, He(H.value, t, r, n, i));
3269
+ throw new _t(u.value, f, Object.keys(u.options), o);
3270
+ a.push.apply(a, Se(H.value, t, r, n, i));
3266
3271
  continue;
3267
3272
  }
3268
- if (Qt(u)) {
3273
+ if (qt(u)) {
3269
3274
  var H = u.options["=".concat(f)];
3270
3275
  if (!H) {
3271
3276
  if (!Intl.PluralRules)
3272
- throw new Ne(`Intl.PluralRules is not available in this environment.
3277
+ throw new Le(`Intl.PluralRules is not available in this environment.
3273
3278
  Try polyfilling it using "@formatjs/intl-pluralrules"
3274
3279
  `, oe.MISSING_INTL_API, o);
3275
3280
  var R = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3276
3281
  H = u.options[R] || u.options.other;
3277
3282
  }
3278
3283
  if (!H)
3279
- throw new vt(u.value, f, Object.keys(u.options), o);
3280
- a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
3284
+ throw new _t(u.value, f, Object.keys(u.options), o);
3285
+ a.push.apply(a, Se(H.value, t, r, n, i, f - (u.offset || 0)));
3281
3286
  continue;
3282
3287
  }
3283
3288
  }
3284
- return ei(a);
3289
+ return ti(a);
3285
3290
  }
3286
- function ri(e, t) {
3291
+ function ni(e, t) {
3287
3292
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3288
3293
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3289
3294
  }, {})) : e;
3290
3295
  }
3291
- function ni(e, t) {
3296
+ function ii(e, t) {
3292
3297
  return t ? Object.keys(e).reduce(function(r, n) {
3293
- return r[n] = ri(e[n], t[n]), r;
3298
+ return r[n] = ni(e[n], t[n]), r;
3294
3299
  }, _({}, e)) : e;
3295
3300
  }
3296
- function ke(e) {
3301
+ function $e(e) {
3297
3302
  return {
3298
3303
  create: function() {
3299
3304
  return {
@@ -3307,39 +3312,39 @@ function ke(e) {
3307
3312
  }
3308
3313
  };
3309
3314
  }
3310
- function ii(e) {
3315
+ function oi(e) {
3311
3316
  return e === void 0 && (e = {
3312
3317
  number: {},
3313
3318
  dateTime: {},
3314
3319
  pluralRules: {}
3315
3320
  }), {
3316
- getNumberFormat: De(function() {
3321
+ getNumberFormat: Ue(function() {
3317
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3318
3323
  r[n] = arguments[n];
3319
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3324
+ return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3320
3325
  }, {
3321
- cache: ke(e.number),
3322
- strategy: Ue.variadic
3326
+ cache: $e(e.number),
3327
+ strategy: Ge.variadic
3323
3328
  }),
3324
- getDateTimeFormat: De(function() {
3329
+ getDateTimeFormat: Ue(function() {
3325
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3326
3331
  r[n] = arguments[n];
3327
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3332
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3328
3333
  }, {
3329
- cache: ke(e.dateTime),
3330
- strategy: Ue.variadic
3334
+ cache: $e(e.dateTime),
3335
+ strategy: Ge.variadic
3331
3336
  }),
3332
- getPluralRules: De(function() {
3337
+ getPluralRules: Ue(function() {
3333
3338
  for (var t, r = [], n = 0; n < arguments.length; n++)
3334
3339
  r[n] = arguments[n];
3335
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3340
+ return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3336
3341
  }, {
3337
- cache: ke(e.pluralRules),
3338
- strategy: Ue.variadic
3342
+ cache: $e(e.pluralRules),
3343
+ strategy: Ge.variadic
3339
3344
  })
3340
3345
  };
3341
3346
  }
3342
- var oi = (
3347
+ var si = (
3343
3348
  /** @class */
3344
3349
  function() {
3345
3350
  function e(t, r, n, i) {
@@ -3358,7 +3363,7 @@ var oi = (
3358
3363
  }, []);
3359
3364
  return u.length <= 1 ? u[0] || "" : u;
3360
3365
  }, this.formatToParts = function(h) {
3361
- return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3366
+ return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3362
3367
  }, this.resolvedOptions = function() {
3363
3368
  var h;
3364
3369
  return {
@@ -3371,13 +3376,13 @@ var oi = (
3371
3376
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3372
3377
  var o = i || {};
3373
3378
  o.formatters;
3374
- var a = dn(o, ["formatters"]);
3379
+ var a = pn(o, ["formatters"]);
3375
3380
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3376
3381
  } else
3377
3382
  this.ast = t;
3378
3383
  if (!Array.isArray(this.ast))
3379
3384
  throw new TypeError("A message must be provided as a String or AST.");
3380
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3385
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3381
3386
  }
3382
3387
  return Object.defineProperty(e, "defaultLocale", {
3383
3388
  get: function() {
@@ -3390,7 +3395,7 @@ var oi = (
3390
3395
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3391
3396
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3392
3397
  }
3393
- }, e.__parse = Jn, e.formats = {
3398
+ }, e.__parse = Yn, e.formats = {
3394
3399
  number: {
3395
3400
  integer: {
3396
3401
  maximumFractionDigits: 0
@@ -3451,7 +3456,7 @@ var oi = (
3451
3456
  }, e;
3452
3457
  }()
3453
3458
  );
3454
- function si(e, t) {
3459
+ function ai(e, t) {
3455
3460
  if (t == null)
3456
3461
  return;
3457
3462
  if (t in e)
@@ -3472,92 +3477,92 @@ function si(e, t) {
3472
3477
  n = void 0;
3473
3478
  return n;
3474
3479
  }
3475
- const X = {}, ai = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), or = (e, t) => {
3480
+ const X = {}, li = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), sr = (e, t) => {
3476
3481
  if (t == null)
3477
3482
  return;
3478
3483
  if (t in X && e in X[t])
3479
3484
  return X[t][e];
3480
- const r = Le(t);
3485
+ const r = Pe(t);
3481
3486
  for (let n = 0; n < r.length; n++) {
3482
- const i = r[n], s = ui(i, e);
3487
+ const i = r[n], s = hi(i, e);
3483
3488
  if (s)
3484
- return ai(e, t, s);
3489
+ return li(e, t, s);
3485
3490
  }
3486
3491
  };
3487
- let rt;
3488
- const le = Ie({});
3489
- function li(e) {
3490
- return rt[e] || null;
3492
+ let nt;
3493
+ const le = Me({});
3494
+ function ui(e) {
3495
+ return nt[e] || null;
3491
3496
  }
3492
- function sr(e) {
3493
- return e in rt;
3497
+ function ar(e) {
3498
+ return e in nt;
3494
3499
  }
3495
- function ui(e, t) {
3496
- if (!sr(e))
3500
+ function hi(e, t) {
3501
+ if (!ar(e))
3497
3502
  return null;
3498
- const r = li(e);
3499
- return si(r, t);
3503
+ const r = ui(e);
3504
+ return ai(r, t);
3500
3505
  }
3501
- function hi(e) {
3506
+ function ci(e) {
3502
3507
  if (e == null)
3503
3508
  return;
3504
- const t = Le(e);
3509
+ const t = Pe(e);
3505
3510
  for (let r = 0; r < t.length; r++) {
3506
3511
  const n = t[r];
3507
- if (sr(n))
3512
+ if (ar(n))
3508
3513
  return n;
3509
3514
  }
3510
3515
  }
3511
- function ar(e, ...t) {
3512
- delete X[e], le.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3516
+ function lr(e, ...t) {
3517
+ delete X[e], le.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3513
3518
  }
3514
3519
  ae(
3515
3520
  [le],
3516
3521
  ([e]) => Object.keys(e)
3517
3522
  );
3518
- le.subscribe((e) => rt = e);
3519
- const Se = {};
3520
- function ci(e, t) {
3521
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3523
+ le.subscribe((e) => nt = e);
3524
+ const Te = {};
3525
+ function fi(e, t) {
3526
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3522
3527
  }
3523
- function lr(e) {
3524
- return Se[e];
3528
+ function ur(e) {
3529
+ return Te[e];
3525
3530
  }
3526
- function fi(e) {
3527
- return Le(e).map((t) => {
3528
- const r = lr(t);
3531
+ function mi(e) {
3532
+ return Pe(e).map((t) => {
3533
+ const r = ur(t);
3529
3534
  return [t, r ? [...r] : []];
3530
3535
  }).filter(([, t]) => t.length > 0);
3531
3536
  }
3532
- function Ye(e) {
3533
- return e == null ? !1 : Le(e).some(
3537
+ function Ke(e) {
3538
+ return e == null ? !1 : Pe(e).some(
3534
3539
  (t) => {
3535
3540
  var r;
3536
- return (r = lr(t)) == null ? void 0 : r.size;
3541
+ return (r = ur(t)) == null ? void 0 : r.size;
3537
3542
  }
3538
3543
  );
3539
3544
  }
3540
- function mi(e, t) {
3545
+ function di(e, t) {
3541
3546
  return Promise.all(
3542
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3543
- ).then((n) => ar(e, ...n));
3547
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3548
+ ).then((n) => lr(e, ...n));
3544
3549
  }
3545
3550
  const ce = {};
3546
- function ur(e) {
3547
- if (!Ye(e))
3551
+ function hr(e) {
3552
+ if (!Ke(e))
3548
3553
  return e in ce ? ce[e] : Promise.resolve();
3549
- const t = fi(e);
3554
+ const t = mi(e);
3550
3555
  return ce[e] = Promise.all(
3551
3556
  t.map(
3552
- ([r, n]) => mi(r, n)
3557
+ ([r, n]) => di(r, n)
3553
3558
  )
3554
3559
  ).then(() => {
3555
- if (Ye(e))
3556
- return ur(e);
3560
+ if (Ke(e))
3561
+ return hr(e);
3557
3562
  delete ce[e];
3558
3563
  }), ce[e];
3559
3564
  }
3560
- const di = {
3565
+ const pi = {
3561
3566
  number: {
3562
3567
  scientific: { notation: "scientific" },
3563
3568
  engineering: { notation: "engineering" },
@@ -3586,78 +3591,78 @@ const di = {
3586
3591
  timeZoneName: "short"
3587
3592
  }
3588
3593
  }
3589
- }, pi = {
3594
+ }, gi = {
3590
3595
  fallbackLocale: null,
3591
3596
  loadingDelay: 200,
3592
- formats: di,
3597
+ formats: pi,
3593
3598
  warnOnMissingMessages: !0,
3594
3599
  handleMissingMessage: void 0,
3595
3600
  ignoreTag: !0
3596
- }, gi = pi;
3601
+ }, bi = gi;
3597
3602
  function se() {
3598
- return gi;
3603
+ return bi;
3599
3604
  }
3600
- const $e = Ie(!1);
3601
- var bi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
3605
+ const je = Me(!1);
3606
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3602
3607
  for (var r in t || (t = {}))
3603
- _i.call(t, r) && Et(e, r, t[r]);
3604
- if (_t)
3605
- for (var r of _t(t))
3606
- Ei.call(t, r) && Et(e, r, t[r]);
3608
+ Ei.call(t, r) && xt(e, r, t[r]);
3609
+ if (Et)
3610
+ for (var r of Et(t))
3611
+ xi.call(t, r) && xt(e, r, t[r]);
3607
3612
  return e;
3608
- }, Ci = (e, t) => yi(e, vi(t));
3609
- let Ke;
3610
- const Ae = Ie(null);
3611
- function xt(e) {
3613
+ }, wi = (e, t) => vi(e, _i(t));
3614
+ let et;
3615
+ const Be = Me(null);
3616
+ function Ct(e) {
3612
3617
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3613
3618
  }
3614
- function Le(e, t = se().fallbackLocale) {
3615
- const r = xt(e);
3616
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3619
+ function Pe(e, t = se().fallbackLocale) {
3620
+ const r = Ct(e);
3621
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3617
3622
  }
3618
3623
  function q() {
3619
- return Ke ?? void 0;
3624
+ return et ?? void 0;
3620
3625
  }
3621
- Ae.subscribe((e) => {
3622
- Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3626
+ Be.subscribe((e) => {
3627
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3623
3628
  });
3624
- const wi = (e) => {
3625
- if (e && hi(e) && Ye(e)) {
3629
+ const Hi = (e) => {
3630
+ if (e && ci(e) && Ke(e)) {
3626
3631
  const { loadingDelay: t } = se();
3627
3632
  let r;
3628
3633
  return typeof window < "u" && q() != null && t ? r = window.setTimeout(
3629
- () => $e.set(!0),
3634
+ () => je.set(!0),
3630
3635
  t
3631
- ) : $e.set(!0), ur(e).then(() => {
3632
- Ae.set(e);
3636
+ ) : je.set(!0), hr(e).then(() => {
3637
+ Be.set(e);
3633
3638
  }).finally(() => {
3634
- clearTimeout(r), $e.set(!1);
3639
+ clearTimeout(r), je.set(!1);
3635
3640
  });
3636
3641
  }
3637
- return Ae.set(e);
3638
- }, W = Ci(xi({}, Ae), {
3639
- set: wi
3640
- }), Pe = (e) => {
3642
+ return Be.set(e);
3643
+ }, W = wi(Ci({}, Be), {
3644
+ set: Hi
3645
+ }), Oe = (e) => {
3641
3646
  const t = /* @__PURE__ */ Object.create(null);
3642
3647
  return (n) => {
3643
3648
  const i = JSON.stringify(n);
3644
3649
  return i in t ? t[i] : t[i] = e(n);
3645
3650
  };
3646
3651
  };
3647
- var Hi = Object.defineProperty, Be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3652
+ var Si = Object.defineProperty, Ie = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3648
3653
  for (var r in t || (t = {}))
3649
- hr.call(t, r) && Ct(e, r, t[r]);
3650
- if (Be)
3651
- for (var r of Be(t))
3652
- cr.call(t, r) && Ct(e, r, t[r]);
3654
+ cr.call(t, r) && wt(e, r, t[r]);
3655
+ if (Ie)
3656
+ for (var r of Ie(t))
3657
+ fr.call(t, r) && wt(e, r, t[r]);
3653
3658
  return e;
3654
3659
  }, ue = (e, t) => {
3655
3660
  var r = {};
3656
3661
  for (var n in e)
3657
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3658
- if (e != null && Be)
3659
- for (var n of Be(e))
3660
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
3662
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3663
+ if (e != null && Ie)
3664
+ for (var n of Ie(e))
3665
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
3661
3666
  return r;
3662
3667
  };
3663
3668
  const be = (e, t) => {
@@ -3665,21 +3670,21 @@ const be = (e, t) => {
3665
3670
  if (e in r && t in r[e])
3666
3671
  return r[e][t];
3667
3672
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3668
- }, Si = Pe(
3673
+ }, Ti = Oe(
3669
3674
  (e) => {
3670
3675
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3671
3676
  if (r == null)
3672
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3673
3678
  return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3674
3679
  }
3675
- ), Ti = Pe(
3680
+ ), Ai = Oe(
3676
3681
  (e) => {
3677
3682
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3678
3683
  if (r == null)
3679
3684
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3680
3685
  return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3681
3686
  }
3682
- ), Ai = Pe(
3687
+ ), Bi = Oe(
3683
3688
  (e) => {
3684
3689
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3685
3690
  if (r == null)
@@ -3688,33 +3693,33 @@ const be = (e, t) => {
3688
3693
  );
3689
3694
  return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3690
3695
  }
3691
- ), Bi = (e = {}) => {
3696
+ ), Ii = (e = {}) => {
3692
3697
  var t = e, {
3693
3698
  locale: r = q()
3694
3699
  } = t, n = ue(t, [
3695
3700
  "locale"
3696
3701
  ]);
3697
- return Si(nt({ locale: r }, n));
3698
- }, Ii = (e = {}) => {
3702
+ return Ti(it({ locale: r }, n));
3703
+ }, Mi = (e = {}) => {
3699
3704
  var t = e, {
3700
3705
  locale: r = q()
3701
3706
  } = t, n = ue(t, [
3702
3707
  "locale"
3703
3708
  ]);
3704
- return Ti(nt({ locale: r }, n));
3705
- }, Mi = (e = {}) => {
3709
+ return Ai(it({ locale: r }, n));
3710
+ }, Ni = (e = {}) => {
3706
3711
  var t = e, {
3707
3712
  locale: r = q()
3708
3713
  } = t, n = ue(t, [
3709
3714
  "locale"
3710
3715
  ]);
3711
- return Ai(nt({ locale: r }, n));
3712
- }, Ni = Pe(
3716
+ return Bi(it({ locale: r }, n));
3717
+ }, Li = Oe(
3713
3718
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3714
- (e, t = q()) => new oi(e, t, se().formats, {
3719
+ (e, t = q()) => new si(e, t, se().formats, {
3715
3720
  ignoreTag: se().ignoreTag
3716
3721
  })
3717
- ), Li = (e, t = {}) => {
3722
+ ), Pi = (e, t = {}) => {
3718
3723
  var r, n, i, s;
3719
3724
  let o = t;
3720
3725
  typeof e == "object" && (o = e, e = o.id);
@@ -3727,7 +3732,7 @@ const be = (e, t) => {
3727
3732
  throw new Error(
3728
3733
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3729
3734
  );
3730
- let u = or(e, h);
3735
+ let u = sr(e, h);
3731
3736
  if (!u)
3732
3737
  u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3733
3738
  else if (typeof u != "string")
@@ -3738,7 +3743,7 @@ const be = (e, t) => {
3738
3743
  return u;
3739
3744
  let m = u;
3740
3745
  try {
3741
- m = Ni(u, h).format(a);
3746
+ m = Li(u, h).format(a);
3742
3747
  } catch (f) {
3743
3748
  f instanceof Error && console.warn(
3744
3749
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3746,24 +3751,24 @@ const be = (e, t) => {
3746
3751
  );
3747
3752
  }
3748
3753
  return m;
3749
- }, Pi = (e, t) => Mi(t).format(e), Oi = (e, t) => Ii(t).format(e), Fi = (e, t) => Bi(t).format(e), Ri = (e, t = q()) => or(e, t);
3750
- ae([W, le], () => Li);
3751
- ae([W], () => Pi);
3754
+ }, Oi = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), Ri = (e, t) => Ii(t).format(e), Di = (e, t = q()) => sr(e, t);
3755
+ ae([W, le], () => Pi);
3752
3756
  ae([W], () => Oi);
3753
3757
  ae([W], () => Fi);
3754
- ae([W, le], () => Ri);
3755
- function Di({ withLocale: e, translations: t }) {
3758
+ ae([W], () => Ri);
3759
+ ae([W, le], () => Di);
3760
+ function Ui({ withLocale: e, translations: t }) {
3756
3761
  W.subscribe((r) => {
3757
3762
  r == null && (le.set(t), W.set(e));
3758
3763
  });
3759
3764
  }
3760
- function wt(e, t) {
3761
- ar(e, t);
3765
+ function Ht(e, t) {
3766
+ lr(e, t);
3762
3767
  }
3763
- function Ui(e) {
3768
+ function Gi(e) {
3764
3769
  W.set(e);
3765
3770
  }
3766
- const Ht = {
3771
+ const St = {
3767
3772
  en: {
3768
3773
  login: "Login",
3769
3774
  register: "Register",
@@ -3820,22 +3825,22 @@ const Ht = {
3820
3825
  deposit: "Deposit"
3821
3826
  }
3822
3827
  };
3823
- function Gi(e) {
3824
- Tr(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3828
+ function ki(e) {
3829
+ Ar(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3825
3830
  }
3826
- function St(e, t, r) {
3831
+ function Tt(e, t, r) {
3827
3832
  const n = e.slice();
3828
3833
  return n[48] = t[r], n[50] = r, n;
3829
3834
  }
3830
- function Tt(e, t, r) {
3835
+ function At(e, t, r) {
3831
3836
  const n = e.slice();
3832
3837
  return n[51] = t[r], n;
3833
3838
  }
3834
- function At(e, t, r) {
3839
+ function Bt(e, t, r) {
3835
3840
  const n = e.slice();
3836
3841
  return n[54] = t[r], n[56] = r, n;
3837
3842
  }
3838
- function Bt(e) {
3843
+ function It(e) {
3839
3844
  let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3840
3845
  /*sliderdata*/
3841
3846
  e[9]
@@ -3845,8 +3850,8 @@ function Bt(e) {
3845
3850
  o[48].id
3846
3851
  );
3847
3852
  for (let o = 0; o < i.length; o += 1) {
3848
- let a = St(e, i, o), h = s(a);
3849
- r.set(h, t[o] = Ot(h, a));
3853
+ let a = Tt(e, i, o), h = s(a);
3854
+ r.set(h, t[o] = Ft(h, a));
3850
3855
  }
3851
3856
  return {
3852
3857
  c() {
@@ -3864,7 +3869,7 @@ function Bt(e) {
3864
3869
  77775 && (i = re(
3865
3870
  /*sliderdata*/
3866
3871
  o[9]
3867
- ), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Ot, n, St));
3872
+ ), t = kt(t, a, s, 1, o, i, r, n.parentNode, Gt, Ft, n, Tt));
3868
3873
  },
3869
3874
  d(o) {
3870
3875
  o && F(n);
@@ -3873,14 +3878,14 @@ function Bt(e) {
3873
3878
  }
3874
3879
  };
3875
3880
  }
3876
- function ki(e) {
3881
+ function $i(e) {
3877
3882
  let t, r = (
3878
3883
  /*category*/
3879
3884
  e[48].name + ""
3880
3885
  ), n;
3881
3886
  return {
3882
3887
  c() {
3883
- t = N("button"), n = ye(r), S(t, "class", "CategoryButton");
3888
+ t = N("button"), n = ye(r), T(t, "class", "CategoryButton");
3884
3889
  },
3885
3890
  m(i, s) {
3886
3891
  U(i, t, s), B(t, n);
@@ -3888,21 +3893,21 @@ function ki(e) {
3888
3893
  p(i, s) {
3889
3894
  s[0] & /*sliderdata*/
3890
3895
  512 && r !== (r = /*category*/
3891
- i[48].name + "") && tt(n, r);
3896
+ i[48].name + "") && rt(n, r);
3892
3897
  },
3893
3898
  d(i) {
3894
3899
  i && F(t);
3895
3900
  }
3896
3901
  };
3897
3902
  }
3898
- function $i(e) {
3903
+ function ji(e) {
3899
3904
  let t, r = (
3900
3905
  /*category*/
3901
3906
  e[48].label + ""
3902
3907
  ), n, i;
3903
3908
  return {
3904
3909
  c() {
3905
- t = N("a"), n = ye(r), S(t, "href", i = /*category*/
3910
+ t = N("a"), n = ye(r), T(t, "href", i = /*category*/
3906
3911
  e[48].path);
3907
3912
  },
3908
3913
  m(s, o) {
@@ -3911,20 +3916,20 @@ function $i(e) {
3911
3916
  p(s, o) {
3912
3917
  o[0] & /*sliderdata*/
3913
3918
  512 && r !== (r = /*category*/
3914
- s[48].label + "") && tt(n, r), o[0] & /*sliderdata*/
3919
+ s[48].label + "") && rt(n, r), o[0] & /*sliderdata*/
3915
3920
  512 && i !== (i = /*category*/
3916
- s[48].path) && S(t, "href", i);
3921
+ s[48].path) && T(t, "href", i);
3917
3922
  },
3918
3923
  d(s) {
3919
3924
  s && F(t);
3920
3925
  }
3921
3926
  };
3922
3927
  }
3923
- function It(e) {
3928
+ function Mt(e) {
3924
3929
  let t, r = (
3925
3930
  /*subGroupsData*/
3926
3931
  e[10].length > 0 && /*showsubgroups*/
3927
- e[2] == "true" && Mt(e)
3932
+ e[2] == "true" && Nt(e)
3928
3933
  );
3929
3934
  return {
3930
3935
  c() {
@@ -3936,26 +3941,26 @@ function It(e) {
3936
3941
  p(n, i) {
3937
3942
  /*subGroupsData*/
3938
3943
  n[10].length > 0 && /*showsubgroups*/
3939
- n[2] == "true" ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3944
+ n[2] == "true" ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3940
3945
  },
3941
3946
  d(n) {
3942
3947
  n && F(t), r && r.d(n);
3943
3948
  }
3944
3949
  };
3945
3950
  }
3946
- function Mt(e) {
3951
+ function Nt(e) {
3947
3952
  let t, r = re(
3948
3953
  /*subGroupsData*/
3949
3954
  e[10]
3950
3955
  ), n = [];
3951
3956
  for (let i = 0; i < r.length; i += 1)
3952
- n[i] = Pt(Tt(e, r, i));
3957
+ n[i] = Ot(At(e, r, i));
3953
3958
  return {
3954
3959
  c() {
3955
3960
  t = N("ul");
3956
3961
  for (let i = 0; i < n.length; i += 1)
3957
3962
  n[i].c();
3958
- S(t, "class", "DropDown");
3963
+ T(t, "class", "DropDown");
3959
3964
  },
3960
3965
  m(i, s) {
3961
3966
  U(i, t, s);
@@ -3971,8 +3976,8 @@ function Mt(e) {
3971
3976
  );
3972
3977
  let o;
3973
3978
  for (o = 0; o < r.length; o += 1) {
3974
- const a = Tt(i, r, o);
3975
- n[o] ? n[o].p(a, s) : (n[o] = Pt(a), n[o].c(), n[o].m(t, null));
3979
+ const a = At(i, r, o);
3980
+ n[o] ? n[o].p(a, s) : (n[o] = Ot(a), n[o].c(), n[o].m(t, null));
3976
3981
  }
3977
3982
  for (; o < n.length; o += 1)
3978
3983
  n[o].d(1);
@@ -3980,11 +3985,11 @@ function Mt(e) {
3980
3985
  }
3981
3986
  },
3982
3987
  d(i) {
3983
- i && F(t), Ir(n, i);
3988
+ i && F(t), Mr(n, i);
3984
3989
  }
3985
3990
  };
3986
3991
  }
3987
- function Nt(e) {
3992
+ function Lt(e) {
3988
3993
  let t, r, n = (
3989
3994
  /*subGroupItem*/
3990
3995
  e[54]?.name + ""
@@ -4007,7 +4012,7 @@ function Nt(e) {
4007
4012
  }
4008
4013
  return {
4009
4014
  c() {
4010
- t = N("li"), r = N("a"), i = ye(n), o = Z(), S(r, "class", s = "SubDropDown " + /*index*/
4015
+ t = N("li"), r = N("a"), i = ye(n), o = Z(), T(r, "class", s = "SubDropDown " + /*index*/
4011
4016
  (e[50] == /*activeIndex*/
4012
4017
  e[6] && /*activeSubIndex*/
4013
4018
  (e[7] == /*subindex*/
@@ -4016,30 +4021,30 @@ function Nt(e) {
4016
4021
  e[56]) ? "active" : ""));
4017
4022
  },
4018
4023
  m(u, m) {
4019
- U(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Te(t, "click", l), a = !0);
4024
+ U(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Ae(t, "click", l), a = !0);
4020
4025
  },
4021
4026
  p(u, m) {
4022
4027
  e = u, m[0] & /*subGroupsData*/
4023
4028
  1024 && n !== (n = /*subGroupItem*/
4024
- e[54]?.name + "") && tt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4029
+ e[54]?.name + "") && rt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4025
4030
  1984 && s !== (s = "SubDropDown " + /*index*/
4026
4031
  (e[50] == /*activeIndex*/
4027
4032
  e[6] && /*activeSubIndex*/
4028
4033
  (e[7] == /*subindex*/
4029
4034
  e[56] || /*prevSubIndex*/
4030
4035
  e[8] == /*subindex*/
4031
- e[56]) ? "active" : "")) && S(r, "class", s);
4036
+ e[56]) ? "active" : "")) && T(r, "class", s);
4032
4037
  },
4033
4038
  d(u) {
4034
4039
  u && F(t), a = !1, h();
4035
4040
  }
4036
4041
  };
4037
4042
  }
4038
- function Lt(e, t) {
4043
+ function Pt(e, t) {
4039
4044
  let r, n, i = (
4040
4045
  /*index*/
4041
4046
  t[50] == /*subGroup*/
4042
- t[51].index && Nt(t)
4047
+ t[51].index && Lt(t)
4043
4048
  );
4044
4049
  return {
4045
4050
  key: e,
@@ -4053,14 +4058,14 @@ function Lt(e, t) {
4053
4058
  p(s, o) {
4054
4059
  t = s, /*index*/
4055
4060
  t[50] == /*subGroup*/
4056
- t[51].index ? i ? i.p(t, o) : (i = Nt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4061
+ t[51].index ? i ? i.p(t, o) : (i = Lt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4057
4062
  },
4058
4063
  d(s) {
4059
4064
  s && (F(r), F(n)), i && i.d(s);
4060
4065
  }
4061
4066
  };
4062
4067
  }
4063
- function Pt(e) {
4068
+ function Ot(e) {
4064
4069
  let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4065
4070
  /*subGroup*/
4066
4071
  e[51].items
@@ -4070,8 +4075,8 @@ function Pt(e) {
4070
4075
  o[54].id
4071
4076
  );
4072
4077
  for (let o = 0; o < i.length; o += 1) {
4073
- let a = At(e, i, o), h = s(a);
4074
- r.set(h, t[o] = Lt(h, a));
4078
+ let a = Bt(e, i, o), h = s(a);
4079
+ r.set(h, t[o] = Pt(h, a));
4075
4080
  }
4076
4081
  return {
4077
4082
  c() {
@@ -4089,7 +4094,7 @@ function Pt(e) {
4089
4094
  10176 && (i = re(
4090
4095
  /*subGroup*/
4091
4096
  o[51].items
4092
- ), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Lt, n, At));
4097
+ ), t = kt(t, a, s, 1, o, i, r, n.parentNode, Gt, Pt, n, Bt));
4093
4098
  },
4094
4099
  d(o) {
4095
4100
  o && F(n);
@@ -4098,12 +4103,12 @@ function Pt(e) {
4098
4103
  }
4099
4104
  };
4100
4105
  }
4101
- function Ot(e, t) {
4106
+ function Ft(e, t) {
4102
4107
  let r, n, i, s, o, a, h, l, u, m, f;
4103
4108
  function p(E, H) {
4104
4109
  return (
4105
4110
  /*location*/
4106
- E[0] === "headerMain" ? $i : ki
4111
+ E[0] === "headerMain" ? ji : $i
4107
4112
  );
4108
4113
  }
4109
4114
  let g = p(t), b = g(t), d = (
@@ -4111,7 +4116,7 @@ function Ot(e, t) {
4111
4116
  t[11][
4112
4117
  /*index*/
4113
4118
  t[50]
4114
- ] == !0 && It(t)
4119
+ ] == !0 && Mt(t)
4115
4120
  );
4116
4121
  function w(...E) {
4117
4122
  return (
@@ -4129,12 +4134,12 @@ function Ot(e, t) {
4129
4134
  key: e,
4130
4135
  first: null,
4131
4136
  c() {
4132
- r = N("li"), n = N("div"), i = N("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4133
- (t[3] === "true" ? "" : "DisplayNone")), ut(i.src, o = /*handleSrc*/
4137
+ r = N("li"), n = N("div"), i = N("ui-image"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), Ce(i, "imgClass", s = "CategoryIconImg " + /*categoriesicon*/
4138
+ (t[3] === "true" ? "" : "DisplayNone")), ht(i.src, o = /*handleSrc*/
4134
4139
  t[16](
4135
4140
  /*category*/
4136
4141
  t[48]
4137
- )) || S(i, "src", o), S(n, "class", "CategoryIcon"), S(r, "class", u = "CarouselItem " + /*activeindex*/
4142
+ )) || Ce(i, "src", o), T(n, "class", "CategoryIcon"), T(r, "class", u = "CarouselItem " + /*activeindex*/
4138
4143
  (t[1]?.toString().indexOf("$") > -1 ? (
4139
4144
  /*activeindex*/
4140
4145
  t[1]?.split("$").pop() == /*category*/
@@ -4147,21 +4152,21 @@ function Ot(e, t) {
4147
4152
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4148
4153
  },
4149
4154
  m(E, H) {
4150
- U(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Te(r, "click", w), m = !0);
4155
+ U(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", w), m = !0);
4151
4156
  },
4152
4157
  p(E, H) {
4153
4158
  t = E, H[0] & /*categoriesicon*/
4154
4159
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4155
- (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
4156
- 512 && !ut(i.src, o = /*handleSrc*/
4160
+ (t[3] === "true" ? "" : "DisplayNone")) && Ce(i, "imgClass", s), H[0] & /*sliderdata*/
4161
+ 512 && !ht(i.src, o = /*handleSrc*/
4157
4162
  t[16](
4158
4163
  /*category*/
4159
4164
  t[48]
4160
- )) && S(i, "src", o), g === (g = p(t)) && b ? b.p(t, H) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4165
+ )) && Ce(i, "src", o), g === (g = p(t)) && b ? b.p(t, H) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4161
4166
  t[11][
4162
4167
  /*index*/
4163
4168
  t[50]
4164
- ] == !0 ? d ? d.p(t, H) : (d = It(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4169
+ ] == !0 ? d ? d.p(t, H) : (d = Mt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4165
4170
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4166
4171
  (t[1]?.toString().indexOf("$") > -1 ? (
4167
4172
  /*activeindex*/
@@ -4172,34 +4177,34 @@ function Ot(e, t) {
4172
4177
  t[1] == /*category*/
4173
4178
  t[48].id ? "active" : ""
4174
4179
  )) + " " + /*location*/
4175
- (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", u);
4180
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", u);
4176
4181
  },
4177
4182
  d(E) {
4178
4183
  E && F(r), b.d(), d && d.d(), m = !1, f();
4179
4184
  }
4180
4185
  };
4181
4186
  }
4182
- function ji(e) {
4187
+ function Vi(e) {
4183
4188
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4184
4189
  /*sliderdata*/
4185
- e[9].length > 0 && Bt(e)
4190
+ e[9].length > 0 && It(e)
4186
4191
  );
4187
4192
  return {
4188
4193
  c() {
4189
- t = N("div"), r = N("div"), n = N("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = N("div"), o = N("ul"), a = N("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = N("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap scroller"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4190
- e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4191
- e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4194
+ t = N("div"), r = N("div"), n = N("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = N("div"), o = N("ul"), a = N("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = N("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', T(n, "class", "CarouselLeftArrow"), T(a, "class", "TouchOnly"), T(o, "id", "CarouselNav"), T(o, "class", "CarouselItems"), T(s, "class", "CarouselNavWrap scroller"), T(u, "class", "CarouselRightArrow"), T(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4195
+ e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), T(r, "style", f = /*location*/
4196
+ e[0] === "headerMain" ? "max-width: auto" : void 0), T(t, "class", p = "CarouselWrapper " + /*location*/
4192
4197
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4193
4198
  },
4194
4199
  m(w, E) {
4195
4200
  U(w, t, E), B(t, r), B(r, n), B(r, i), B(r, s), B(s, o), B(o, a), B(o, h), d && d.m(o, null), e[35](o), e[36](s), B(r, l), B(r, u), e[38](t), g || (b = [
4196
- Te(
4201
+ Ae(
4197
4202
  n,
4198
4203
  "click",
4199
4204
  /*click_handler*/
4200
4205
  e[32]
4201
4206
  ),
4202
- Te(
4207
+ Ae(
4203
4208
  u,
4204
4209
  "click",
4205
4210
  /*click_handler_3*/
@@ -4209,13 +4214,13 @@ function ji(e) {
4209
4214
  },
4210
4215
  p(w, E) {
4211
4216
  /*sliderdata*/
4212
- w[9].length > 0 ? d ? d.p(w, E) : (d = Bt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4217
+ w[9].length > 0 ? d ? d.p(w, E) : (d = It(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4213
4218
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4214
- w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4219
+ w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
4215
4220
  1 && f !== (f = /*location*/
4216
- w[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), E[0] & /*location*/
4221
+ w[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), E[0] & /*location*/
4217
4222
  1 && p !== (p = "CarouselWrapper " + /*location*/
4218
- (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4223
+ (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
4219
4224
  },
4220
4225
  i: G,
4221
4226
  o: G,
@@ -4224,22 +4229,22 @@ function ji(e) {
4224
4229
  }
4225
4230
  };
4226
4231
  }
4227
- function Vi(e, t, r) {
4232
+ function Xi(e, t, r) {
4228
4233
  let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: R = "" } = t, { mbsource: P = "" } = t;
4229
- Di({ withLocale: "en", translations: {} });
4234
+ Ui({ withLocale: "en", translations: {} });
4230
4235
  const k = () => {
4231
4236
  fetch(f).then((x) => x.json()).then((x) => {
4232
4237
  Object.keys(x).forEach((D) => {
4233
- wt(D, x[D]);
4238
+ Ht(D, x[D]);
4234
4239
  });
4235
4240
  }).catch((x) => {
4236
4241
  console.log(x);
4237
4242
  });
4238
4243
  };
4239
- Object.keys(Ht).forEach((c) => {
4240
- wt(c, Ht[c]);
4244
+ Object.keys(St).forEach((c) => {
4245
+ Ht(c, St[c]);
4241
4246
  });
4242
- let C, I, L, j, $, he = [], ve = [], J = [], M, Oe = (c, x, D, z, V) => {
4247
+ let C, I, L, j, $, he = [], ve = [], J = [], M, Fe = (c, x, D, z, V) => {
4243
4248
  if (!(c.subGroups && z === null)) {
4244
4249
  if (_e(), r(6, I = x), r(6, I), V != "secondary") {
4245
4250
  window.postMessage(
@@ -4267,18 +4272,18 @@ function Vi(e, t, r) {
4267
4272
  window.location.href
4268
4273
  );
4269
4274
  }
4270
- }, it = () => {
4271
- M && (J.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4272
4275
  }, ot = () => {
4276
+ M && (J.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4277
+ }, st = () => {
4273
4278
  M && (J.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4274
4279
  };
4275
- const st = (c) => {
4276
- c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, J = new Array(he.length).fill(!1)), w == "true" && dr()), c.data.type == "GoToHomepage" && he.forEach((x, D) => {
4280
+ const at = (c) => {
4281
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, J = new Array(he.length).fill(!1)), w == "true" && pr()), c.data.type == "GoToHomepage" && he.forEach((x, D) => {
4277
4282
  x.path.endsWith("/casino") && (r(6, I = D), r(6, I));
4278
4283
  });
4279
- }, fr = () => {
4280
- Ui(b);
4281
- }, mr = (c, x, D) => {
4284
+ }, mr = () => {
4285
+ Gi(b);
4286
+ }, dr = (c, x, D) => {
4282
4287
  if (h == "secondaryMenu" && n && i && b && c.id) {
4283
4288
  let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4284
4289
  fetch(z.href).then((V) => V.json()).then((V) => {
@@ -4292,8 +4297,8 @@ function Vi(e, t, r) {
4292
4297
  window.location.href
4293
4298
  );
4294
4299
  const Ee = [];
4295
- ve.map((Cr) => (Cr.items.forEach((at) => {
4296
- Ee.find((wr) => at.id == wr) || Ee.push(at.id);
4300
+ ve.map((wr) => (wr.items.forEach((lt) => {
4301
+ Ee.find((Hr) => lt.id == Hr) || Ee.push(lt.id);
4297
4302
  }), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
4298
4303
  }).then(() => {
4299
4304
  C.querySelectorAll(".DropDown") && _e();
@@ -4306,39 +4311,39 @@ function Vi(e, t, r) {
4306
4311
  for (let x = 0; x < c.length; x++)
4307
4312
  c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4308
4313
  M.classList.remove("isScrolling");
4309
- }, dr = () => {
4314
+ }, pr = () => {
4310
4315
  he.forEach((c, x) => {
4311
- c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), mr(c, x));
4316
+ c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), dr(c, x));
4312
4317
  });
4313
- }, pr = (c) => {
4318
+ }, gr = (c) => {
4314
4319
  let x = "";
4315
4320
  return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = R), c.icon || x;
4316
4321
  };
4317
- Pr(() => (window.addEventListener("message", st, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4322
+ Or(() => (window.addEventListener("message", at, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4318
4323
  () => {
4319
4324
  M.addEventListener("scroll", _e);
4320
4325
  },
4321
4326
  500
4322
4327
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4323
- window.removeEventListener("message", st), C.removeEventListener("scroll", _e);
4328
+ window.removeEventListener("message", at), C.removeEventListener("scroll", _e);
4324
4329
  }));
4325
- const gr = () => it(), br = (c, x, D, z, V) => {
4326
- Oe(c, x, D, z, "secondary"), V.stopPropagation();
4327
- }, yr = (c, x, D) => {
4328
- Oe(c, x, null, null, "main"), D.preventDefault();
4330
+ const br = () => ot(), yr = (c, x, D, z, V) => {
4331
+ Fe(c, x, D, z, "secondary"), V.stopPropagation();
4332
+ }, vr = (c, x, D) => {
4333
+ Fe(c, x, null, null, "main"), D.preventDefault();
4329
4334
  };
4330
- function vr(c) {
4335
+ function _r(c) {
4331
4336
  me[c ? "unshift" : "push"](() => {
4332
4337
  C = c, r(5, C);
4333
4338
  });
4334
4339
  }
4335
- function _r(c) {
4340
+ function Er(c) {
4336
4341
  me[c ? "unshift" : "push"](() => {
4337
4342
  M = c, r(12, M);
4338
4343
  });
4339
4344
  }
4340
- const Er = () => ot();
4341
- function xr(c) {
4345
+ const xr = () => st();
4346
+ function Cr(c) {
4342
4347
  me[c ? "unshift" : "push"](() => {
4343
4348
  $ = c, r(4, $);
4344
4349
  });
@@ -4349,11 +4354,11 @@ function Vi(e, t, r) {
4349
4354
  e.$$.dirty[0] & /*activeindex*/
4350
4355
  2, e.$$.dirty[0] & /*translationurl*/
4351
4356
  33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4352
- 4194320 && l && $ && zr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4353
- 8388624 && u && $ && Zr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4357
+ 4194320 && l && $ && Zr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4358
+ 8388624 && u && $ && Qr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4354
4359
  16 | e.$$.dirty[1] & /*mbsource*/
4355
- 1 && P && $ && Qr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4356
- 268435456 && b && fr();
4360
+ 1 && P && $ && qr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4361
+ 268435456 && b && mr();
4357
4362
  }, [
4358
4363
  h,
4359
4364
  d,
@@ -4368,10 +4373,10 @@ function Vi(e, t, r) {
4368
4373
  ve,
4369
4374
  J,
4370
4375
  M,
4371
- Oe,
4372
- it,
4376
+ Fe,
4373
4377
  ot,
4374
- pr,
4378
+ st,
4379
+ gr,
4375
4380
  n,
4376
4381
  i,
4377
4382
  s,
@@ -4387,23 +4392,23 @@ function Vi(e, t, r) {
4387
4392
  H,
4388
4393
  R,
4389
4394
  P,
4390
- gr,
4391
4395
  br,
4392
4396
  yr,
4393
4397
  vr,
4394
4398
  _r,
4395
4399
  Er,
4396
- xr
4400
+ xr,
4401
+ Cr
4397
4402
  ];
4398
4403
  }
4399
- class Xi extends Xr {
4404
+ class Wi extends Wr {
4400
4405
  constructor(t) {
4401
- super(), jr(
4406
+ super(), Vr(
4402
4407
  this,
4403
4408
  t,
4409
+ Xi,
4404
4410
  Vi,
4405
- ji,
4406
- Rt,
4411
+ Dt,
4407
4412
  {
4408
4413
  endpoint: 17,
4409
4414
  datasource: 18,
@@ -4425,7 +4430,7 @@ class Xi extends Xr {
4425
4430
  mygamesiconimage: 30,
4426
4431
  mbsource: 31
4427
4432
  },
4428
- Gi,
4433
+ ki,
4429
4434
  [-1, -1]
4430
4435
  );
4431
4436
  }
@@ -4544,7 +4549,7 @@ class Xi extends Xr {
4544
4549
  this.$$set({ mbsource: t }), A();
4545
4550
  }
4546
4551
  }
4547
- Vr(Xi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4552
+ Xr(Wi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4548
4553
  export {
4549
- Xi as C
4554
+ Wi as C
4550
4555
  };