@everymatrix/casino-slider 1.61.1 → 1.62.1

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,29 +1,28 @@
1
- import "../stencil/ui-image-BNrzgSpe.js";
2
1
  function G() {
3
2
  }
4
- function Rt(e) {
3
+ function Dt(e) {
5
4
  return e();
6
5
  }
7
- function ut() {
6
+ function ht() {
8
7
  return /* @__PURE__ */ Object.create(null);
9
8
  }
10
- function Q(e) {
11
- e.forEach(Rt);
9
+ function q(e) {
10
+ e.forEach(Dt);
12
11
  }
13
- function tt(e) {
12
+ function rt(e) {
14
13
  return typeof e == "function";
15
14
  }
16
- function Dt(e, t) {
15
+ function Ut(e, t) {
17
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
17
  }
19
- let xe;
20
- function ht(e, t) {
21
- return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
18
+ let Ce;
19
+ function ct(e, t) {
20
+ return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
22
21
  }
23
- function Sr(e) {
22
+ function Tr(e) {
24
23
  return Object.keys(e).length === 0;
25
24
  }
26
- function Tr(e, ...t) {
25
+ function Ar(e, ...t) {
27
26
  if (e == null) {
28
27
  for (const n of t)
29
28
  n(void 0);
@@ -35,14 +34,14 @@ function Tr(e, ...t) {
35
34
  function B(e, t) {
36
35
  e.appendChild(t);
37
36
  }
38
- function Ar(e, t, r) {
39
- const n = Br(e);
37
+ function Br(e, t, r) {
38
+ const n = Ir(e);
40
39
  if (!n.getElementById(t)) {
41
40
  const i = N("style");
42
- i.id = t, i.textContent = r, Ir(n, i);
41
+ i.id = t, i.textContent = r, Mr(n, i);
43
42
  }
44
43
  }
45
- function Br(e) {
44
+ function Ir(e) {
46
45
  if (!e)
47
46
  return document;
48
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -52,7 +51,7 @@ function Br(e) {
52
51
  t
53
52
  ) : e.ownerDocument;
54
53
  }
55
- function Ir(e, t) {
54
+ function Mr(e, t) {
56
55
  return B(
57
56
  /** @type {Document} */
58
57
  e.head || e,
@@ -65,40 +64,36 @@ function U(e, t, r) {
65
64
  function F(e) {
66
65
  e.parentNode && e.parentNode.removeChild(e);
67
66
  }
68
- function Mr(e, t) {
67
+ function Nr(e, t) {
69
68
  for (let r = 0; r < e.length; r += 1)
70
69
  e[r] && e[r].d(t);
71
70
  }
72
71
  function N(e) {
73
72
  return document.createElement(e);
74
73
  }
75
- function ye(e) {
74
+ function ve(e) {
76
75
  return document.createTextNode(e);
77
76
  }
78
- function Z() {
79
- return ye(" ");
77
+ function Q() {
78
+ return ve(" ");
80
79
  }
81
- function de() {
82
- return ye("");
80
+ function pe() {
81
+ return ve("");
83
82
  }
84
83
  function Ae(e, t, r, n) {
85
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
85
  }
87
- function T(e, t, r) {
86
+ function H(e, t, r) {
88
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
89
88
  }
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) {
89
+ function Pr(e) {
95
90
  return Array.from(e.childNodes);
96
91
  }
97
- function rt(e, t) {
92
+ function nt(e, t) {
98
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
94
  t);
100
95
  }
101
- function Lr(e) {
96
+ function Or(e) {
102
97
  const t = {};
103
98
  return e.childNodes.forEach(
104
99
  /** @param {Element} node */
@@ -107,128 +102,128 @@ function Lr(e) {
107
102
  }
108
103
  ), t;
109
104
  }
110
- let pe;
111
- function fe(e) {
112
- pe = e;
105
+ let ge;
106
+ function me(e) {
107
+ ge = e;
113
108
  }
114
- function Pr() {
115
- if (!pe)
109
+ function Lr() {
110
+ if (!ge)
116
111
  throw new Error("Function called outside component initialization");
117
- return pe;
112
+ return ge;
118
113
  }
119
- function Or(e) {
120
- Pr().$$.on_mount.push(e);
114
+ function Fr(e) {
115
+ Lr().$$.on_mount.push(e);
121
116
  }
122
- const ee = [], me = [];
123
- let te = [];
124
- const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
125
- let Ve = !1;
126
- function Rr() {
127
- Ve || (Ve = !0, Fr.then(A));
117
+ const te = [], de = [];
118
+ let re = [];
119
+ const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
120
+ let Xe = !1;
121
+ function Dr() {
122
+ Xe || (Xe = !0, Rr.then(A));
128
123
  }
129
- function Xe(e) {
130
- te.push(e);
124
+ function We(e) {
125
+ re.push(e);
131
126
  }
132
- const Re = /* @__PURE__ */ new Set();
133
- let Y = 0;
127
+ const De = /* @__PURE__ */ new Set();
128
+ let K = 0;
134
129
  function A() {
135
- if (Y !== 0)
130
+ if (K !== 0)
136
131
  return;
137
- const e = pe;
132
+ const e = ge;
138
133
  do {
139
134
  try {
140
- for (; Y < ee.length; ) {
141
- const t = ee[Y];
142
- Y++, fe(t), Dr(t.$$);
135
+ for (; K < te.length; ) {
136
+ const t = te[K];
137
+ K++, me(t), Ur(t.$$);
143
138
  }
144
139
  } catch (t) {
145
- throw ee.length = 0, Y = 0, t;
140
+ throw te.length = 0, K = 0, t;
146
141
  }
147
- for (fe(null), ee.length = 0, Y = 0; me.length; )
148
- me.pop()();
149
- for (let t = 0; t < te.length; t += 1) {
150
- const r = te[t];
151
- Re.has(r) || (Re.add(r), r());
142
+ for (me(null), te.length = 0, K = 0; de.length; )
143
+ de.pop()();
144
+ for (let t = 0; t < re.length; t += 1) {
145
+ const r = re[t];
146
+ De.has(r) || (De.add(r), r());
152
147
  }
153
- te.length = 0;
154
- } while (ee.length);
155
- for (; ct.length; )
156
- ct.pop()();
157
- Ve = !1, Re.clear(), fe(e);
148
+ re.length = 0;
149
+ } while (te.length);
150
+ for (; ft.length; )
151
+ ft.pop()();
152
+ Xe = !1, De.clear(), me(e);
158
153
  }
159
- function Dr(e) {
154
+ function Ur(e) {
160
155
  if (e.fragment !== null) {
161
- e.update(), Q(e.before_update);
156
+ e.update(), q(e.before_update);
162
157
  const t = e.dirty;
163
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
158
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
164
159
  }
165
160
  }
166
- function Ur(e) {
161
+ function Gr(e) {
167
162
  const t = [], r = [];
168
- te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
163
+ re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
169
164
  }
170
- const Gr = /* @__PURE__ */ new Set();
171
- function Ut(e, t) {
172
- e && e.i && (Gr.delete(e), e.i(t));
165
+ const kr = /* @__PURE__ */ new Set();
166
+ function Gt(e, t) {
167
+ e && e.i && (kr.delete(e), e.i(t));
173
168
  }
174
- function re(e) {
169
+ function ne(e) {
175
170
  return e?.length !== void 0 ? e : Array.from(e);
176
171
  }
177
- function Gt(e, t) {
172
+ function kt(e, t) {
178
173
  e.d(1), t.delete(e.key);
179
174
  }
180
- function kt(e, t, r, n, i, s, o, a, h, l, u, m) {
181
- let f = e.length, p = s.length, g = f;
175
+ function $t(e, t, r, n, i, o, s, a, h, l, u, m) {
176
+ let f = e.length, p = o.length, g = f;
182
177
  const b = {};
183
178
  for (; g--; )
184
179
  b[e[g].key] = g;
185
- const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), H = [];
180
+ const d = [], C = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), w = [];
186
181
  for (g = p; g--; ) {
187
- const C = m(i, s, g), I = r(C);
188
- let L = o.get(I);
189
- L ? H.push(() => L.p(C, t)) : (L = l(I, C), L.c()), w.set(I, d[g] = L), I in b && E.set(I, Math.abs(g - b[I]));
182
+ const x = m(i, o, g), I = r(x);
183
+ let P = s.get(I);
184
+ P ? w.push(() => P.p(x, t)) : (P = l(I, x), P.c()), C.set(I, d[g] = P), I in b && _.set(I, Math.abs(g - b[I]));
190
185
  }
191
- const R = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
192
- function k(C) {
193
- Ut(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
186
+ const R = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
187
+ function k(x) {
188
+ Gt(x, 1), x.m(a, u), s.set(x.key, x), u = x.first, p--;
194
189
  }
195
190
  for (; f && p; ) {
196
- const C = d[p - 1], I = e[f - 1], L = C.key, j = I.key;
197
- C === I ? (u = C.first, f--, p--) : w.has(j) ? !o.has(L) || R.has(L) ? k(C) : P.has(j) ? f-- : E.get(L) > E.get(j) ? (P.add(L), k(C)) : (R.add(j), f--) : (h(I, o), f--);
191
+ const x = d[p - 1], I = e[f - 1], P = x.key, V = I.key;
192
+ x === I ? (u = x.first, f--, p--) : C.has(V) ? !s.has(P) || R.has(P) ? k(x) : O.has(V) ? f-- : _.get(P) > _.get(V) ? (O.add(P), k(x)) : (R.add(V), f--) : (h(I, s), f--);
198
193
  }
199
194
  for (; f--; ) {
200
- const C = e[f];
201
- w.has(C.key) || h(C, o);
195
+ const x = e[f];
196
+ C.has(x.key) || h(x, s);
202
197
  }
203
198
  for (; p; )
204
199
  k(d[p - 1]);
205
- return Q(H), d;
200
+ return q(w), d;
206
201
  }
207
- function kr(e, t, r) {
202
+ function $r(e, t, r) {
208
203
  const { fragment: n, after_update: i } = e.$$;
209
- n && n.m(t, r), Xe(() => {
210
- const s = e.$$.on_mount.map(Rt).filter(tt);
211
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
212
- }), i.forEach(Xe);
204
+ n && n.m(t, r), We(() => {
205
+ const o = e.$$.on_mount.map(Dt).filter(rt);
206
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
207
+ }), i.forEach(We);
213
208
  }
214
- function $r(e, t) {
209
+ function jr(e, t) {
215
210
  const r = e.$$;
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 = []);
211
+ r.fragment !== null && (Gr(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
212
  }
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;
213
+ function Vr(e, t) {
214
+ e.$$.dirty[0] === -1 && (te.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
215
  }
221
- function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
222
- const h = pe;
223
- fe(e);
216
+ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
217
+ const h = ge;
218
+ me(e);
224
219
  const l = e.$$ = {
225
220
  fragment: null,
226
221
  ctx: [],
227
222
  // state
228
- props: s,
223
+ props: o,
229
224
  update: G,
230
225
  not_equal: i,
231
- bound: ut(),
226
+ bound: ht(),
232
227
  // lifecycle
233
228
  on_mount: [],
234
229
  on_destroy: [],
@@ -237,28 +232,28 @@ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
237
232
  after_update: [],
238
233
  context: new Map(t.context || (h ? h.$$.context : [])),
239
234
  // everything else
240
- callbacks: ut(),
235
+ callbacks: ht(),
241
236
  dirty: a,
242
237
  skip_bound: !1,
243
238
  root: t.target || h.$$.root
244
239
  };
245
- o && o(l.root);
240
+ s && s(l.root);
246
241
  let u = !1;
247
242
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
248
243
  const g = p.length ? p[0] : 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;
250
- }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
244
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Vr(e, m)), f;
245
+ }) : [], l.update(), u = !0, q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
251
246
  if (t.hydrate) {
252
- const m = Nr(t.target);
247
+ const m = Pr(t.target);
253
248
  l.fragment && l.fragment.l(m), m.forEach(F);
254
249
  } else
255
250
  l.fragment && l.fragment.c();
256
- t.intro && Ut(e.$$.fragment), kr(e, t.target, t.anchor), A();
251
+ t.intro && Gt(e.$$.fragment), $r(e, t.target, t.anchor), A();
257
252
  }
258
- fe(h);
253
+ me(h);
259
254
  }
260
- let $t;
261
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
255
+ let jt;
256
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
262
257
  /** The Svelte component constructor */
263
258
  $$ctor;
264
259
  /** Slots */
@@ -297,32 +292,32 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
297
292
  if (this.$$cn = !0, !this.$$c) {
298
293
  let e = function(i) {
299
294
  return () => {
300
- let s;
295
+ let o;
301
296
  return {
302
297
  c: function() {
303
- s = N("slot"), i !== "default" && T(s, "name", i);
298
+ o = N("slot"), i !== "default" && H(o, "name", i);
304
299
  },
305
300
  /**
306
301
  * @param {HTMLElement} target
307
302
  * @param {HTMLElement} [anchor]
308
303
  */
309
304
  m: function(h, l) {
310
- U(h, s, l);
305
+ U(h, o, l);
311
306
  },
312
307
  d: function(h) {
313
- h && F(s);
308
+ h && F(o);
314
309
  }
315
310
  };
316
311
  };
317
312
  };
318
313
  if (await Promise.resolve(), !this.$$cn || this.$$c)
319
314
  return;
320
- const t = {}, r = Lr(this);
315
+ const t = {}, r = Or(this);
321
316
  for (const i of this.$$s)
322
317
  i in r && (t[i] = [e(i)]);
323
318
  for (const i of this.attributes) {
324
- const s = this.$$g_p(i.name);
325
- s in this.$$d || (this.$$d[s] = He(s, i.value, this.$$p_d, "toProp"));
319
+ const o = this.$$g_p(i.name);
320
+ o in this.$$d || (this.$$d[o] = He(o, i.value, this.$$p_d, "toProp"));
326
321
  }
327
322
  for (const i in this.$$p_d)
328
323
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -340,21 +335,21 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
340
335
  this.$$r = !0;
341
336
  for (const i in this.$$p_d)
342
337
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
343
- const s = He(
338
+ const o = He(
344
339
  i,
345
340
  this.$$d[i],
346
341
  this.$$p_d,
347
342
  "toAttribute"
348
343
  );
349
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
344
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
350
345
  }
351
346
  this.$$r = !1;
352
347
  };
353
348
  this.$$c.$$.after_update.push(n), n();
354
349
  for (const i in this.$$l)
355
- for (const s of this.$$l[i]) {
356
- const o = this.$$c.$on(i, s);
357
- this.$$l_u.set(s, o);
350
+ for (const o of this.$$l[i]) {
351
+ const s = this.$$c.$on(i, o);
352
+ this.$$l_u.set(o, s);
358
353
  }
359
354
  this.$$l = {};
360
355
  }
@@ -404,8 +399,8 @@ function He(e, t, r, n) {
404
399
  return t;
405
400
  }
406
401
  }
407
- function Xr(e, t, r, n, i, s) {
408
- let o = class extends $t {
402
+ function Wr(e, t, r, n, i, o) {
403
+ let s = class extends jt {
409
404
  constructor() {
410
405
  super(e, r, i), this.$$p_d = t;
411
406
  }
@@ -416,7 +411,7 @@ function Xr(e, t, r, n, i, s) {
416
411
  }
417
412
  };
418
413
  return Object.keys(t).forEach((a) => {
419
- Object.defineProperty(o.prototype, a, {
414
+ Object.defineProperty(s.prototype, a, {
420
415
  get() {
421
416
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
422
417
  },
@@ -425,15 +420,15 @@ function Xr(e, t, r, n, i, s) {
425
420
  }
426
421
  });
427
422
  }), n.forEach((a) => {
428
- Object.defineProperty(o.prototype, a, {
423
+ Object.defineProperty(s.prototype, a, {
429
424
  get() {
430
425
  return this.$$c?.[a];
431
426
  }
432
427
  });
433
428
  }), e.element = /** @type {any} */
434
- o, o;
429
+ s, s;
435
430
  }
436
- class Wr {
431
+ class zr {
437
432
  /**
438
433
  * ### PRIVATE API
439
434
  *
@@ -452,7 +447,7 @@ class Wr {
452
447
  $$set = void 0;
453
448
  /** @returns {void} */
454
449
  $destroy() {
455
- $r(this, 1), this.$destroy = G;
450
+ jr(this, 1), this.$destroy = G;
456
451
  }
457
452
  /**
458
453
  * @template {Extract<keyof Events, string>} K
@@ -461,7 +456,7 @@ class Wr {
461
456
  * @returns {() => void}
462
457
  */
463
458
  $on(t, r) {
464
- if (!tt(r))
459
+ if (!rt(r))
465
460
  return G;
466
461
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
467
462
  return n.push(r), () => {
@@ -474,18 +469,18 @@ class Wr {
474
469
  * @returns {void}
475
470
  */
476
471
  $set(t) {
477
- this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
473
  }
479
474
  }
480
- const zr = "4";
481
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
482
- function Zr(e, t) {
475
+ const Zr = "4";
476
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
477
+ function Qr(e, t) {
483
478
  if (e) {
484
479
  const r = document.createElement("style");
485
480
  r.innerHTML = t, e.appendChild(r);
486
481
  }
487
482
  }
488
- function Qr(e, t) {
483
+ function qr(e, t) {
489
484
  const r = new URL(t);
490
485
  fetch(r.href).then((n) => n.text()).then((n) => {
491
486
  const i = document.createElement("style");
@@ -494,7 +489,7 @@ function Qr(e, t) {
494
489
  console.error("There was an error while trying to load client styling from URL", n);
495
490
  });
496
491
  }
497
- function qr(e, t, r) {
492
+ function Jr(e, t, r) {
498
493
  if (window.emMessageBus) {
499
494
  const n = document.createElement("style");
500
495
  window.emMessageBus.subscribe(t, (i) => {
@@ -502,44 +497,44 @@ function qr(e, t, r) {
502
497
  });
503
498
  }
504
499
  }
505
- const K = [];
506
- function Jr(e, t) {
500
+ const ee = [];
501
+ function Yr(e, t) {
507
502
  return {
508
- subscribe: Me(e, t).subscribe
503
+ subscribe: Ne(e, t).subscribe
509
504
  };
510
505
  }
511
- function Me(e, t = G) {
506
+ function Ne(e, t = G) {
512
507
  let r;
513
508
  const n = /* @__PURE__ */ new Set();
514
509
  function i(a) {
515
- if (Dt(e, a) && (e = a, r)) {
516
- const h = !K.length;
510
+ if (Ut(e, a) && (e = a, r)) {
511
+ const h = !ee.length;
517
512
  for (const l of n)
518
- l[1](), K.push(l, e);
513
+ l[1](), ee.push(l, e);
519
514
  if (h) {
520
- for (let l = 0; l < K.length; l += 2)
521
- K[l][0](K[l + 1]);
522
- K.length = 0;
515
+ for (let l = 0; l < ee.length; l += 2)
516
+ ee[l][0](ee[l + 1]);
517
+ ee.length = 0;
523
518
  }
524
519
  }
525
520
  }
526
- function s(a) {
521
+ function o(a) {
527
522
  i(a(e));
528
523
  }
529
- function o(a, h = G) {
524
+ function s(a, h = G) {
530
525
  const l = [a, h];
531
- return n.add(l), n.size === 1 && (r = t(i, s) || G), a(e), () => {
526
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
532
527
  n.delete(l), n.size === 0 && r && (r(), r = null);
533
528
  };
534
529
  }
535
- return { set: i, update: s, subscribe: o };
530
+ return { set: i, update: o, subscribe: s };
536
531
  }
537
- function ae(e, t, r) {
532
+ function le(e, t, r) {
538
533
  const n = !Array.isArray(e), i = n ? [e] : e;
539
534
  if (!i.every(Boolean))
540
535
  throw new Error("derived() expects stores as input, got a falsy value");
541
- const s = t.length < 2;
542
- return Jr(r, (o, a) => {
536
+ const o = t.length < 2;
537
+ return Yr(r, (s, a) => {
543
538
  let h = !1;
544
539
  const l = [];
545
540
  let u = 0, m = G;
@@ -547,10 +542,10 @@ function ae(e, t, r) {
547
542
  if (u)
548
543
  return;
549
544
  m();
550
- const g = t(n ? l[0] : l, o, a);
551
- s ? o(g) : m = tt(g) ? g : G;
545
+ const g = t(n ? l[0] : l, s, a);
546
+ o ? s(g) : m = rt(g) ? g : G;
552
547
  }, p = i.map(
553
- (g, b) => Tr(
548
+ (g, b) => Ar(
554
549
  g,
555
550
  (d) => {
556
551
  l[b] = d, u &= ~(1 << b), h && f();
@@ -561,126 +556,112 @@ function ae(e, t, r) {
561
556
  )
562
557
  );
563
558
  return h = !0, f(), function() {
564
- Q(p), m(), h = !1;
559
+ q(p), m(), h = !1;
565
560
  };
566
561
  });
567
562
  }
568
- function Yr(e) {
563
+ function Kr(e) {
569
564
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
570
565
  }
571
- var Kr = function(t) {
572
- return en(t) && !tn(t);
566
+ var en = function(t) {
567
+ return tn(t) && !rn(t);
573
568
  };
574
- function en(e) {
569
+ function tn(e) {
575
570
  return !!e && typeof e == "object";
576
571
  }
577
- function tn(e) {
572
+ function rn(e) {
578
573
  var t = Object.prototype.toString.call(e);
579
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
580
- }
581
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
582
- function on(e) {
583
- return e.$$typeof === nn;
574
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
584
575
  }
576
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
585
577
  function sn(e) {
578
+ return e.$$typeof === on;
579
+ }
580
+ function an(e) {
586
581
  return Array.isArray(e) ? [] : {};
587
582
  }
588
- function ge(e, t) {
589
- return t.clone !== !1 && t.isMergeableObject(e) ? ne(sn(e), e, t) : e;
583
+ function be(e, t) {
584
+ return t.clone !== !1 && t.isMergeableObject(e) ? ie(an(e), e, t) : e;
590
585
  }
591
- function an(e, t, r) {
586
+ function ln(e, t, r) {
592
587
  return e.concat(t).map(function(n) {
593
- return ge(n, r);
588
+ return be(n, r);
594
589
  });
595
590
  }
596
- function ln(e, t) {
591
+ function un(e, t) {
597
592
  if (!t.customMerge)
598
- return ne;
593
+ return ie;
599
594
  var r = t.customMerge(e);
600
- return typeof r == "function" ? r : ne;
595
+ return typeof r == "function" ? r : ie;
601
596
  }
602
- function un(e) {
597
+ function hn(e) {
603
598
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
604
599
  return Object.propertyIsEnumerable.call(e, t);
605
600
  }) : [];
606
601
  }
607
- function ft(e) {
608
- return Object.keys(e).concat(un(e));
602
+ function mt(e) {
603
+ return Object.keys(e).concat(hn(e));
609
604
  }
610
- function jt(e, t) {
605
+ function Vt(e, t) {
611
606
  try {
612
607
  return t in e;
613
608
  } catch {
614
609
  return !1;
615
610
  }
616
611
  }
617
- function hn(e, t) {
618
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
+ function cn(e, t) {
613
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
619
614
  }
620
- function cn(e, t, r) {
615
+ function fn(e, t, r) {
621
616
  var n = {};
622
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
623
- n[i] = ge(e[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));
617
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
618
+ n[i] = be(e[i], r);
619
+ }), mt(t).forEach(function(i) {
620
+ cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
626
621
  }), n;
627
622
  }
628
- function ne(e, t, r) {
629
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ge;
630
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
631
- return s ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ge(t, r);
623
+ function ie(e, t, r) {
624
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = be;
625
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
626
+ return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : be(t, r);
632
627
  }
633
- ne.all = function(t, r) {
628
+ ie.all = function(t, r) {
634
629
  if (!Array.isArray(t))
635
630
  throw new Error("first argument should be an array");
636
631
  return t.reduce(function(n, i) {
637
- return ne(n, i, r);
632
+ return ie(n, i, r);
638
633
  }, {});
639
634
  };
640
- var fn = ne, mn = fn;
641
- const dn = /* @__PURE__ */ Yr(mn);
642
- /*! *****************************************************************************
643
- Copyright (c) Microsoft Corporation.
644
-
645
- Permission to use, copy, modify, and/or distribute this software for any
646
- purpose with or without fee is hereby granted.
647
-
648
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
649
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
650
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
651
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
652
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
653
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
654
- PERFORMANCE OF THIS SOFTWARE.
655
- ***************************************************************************** */
656
- var We = function(e, t) {
657
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
635
+ var mn = ie, dn = mn;
636
+ const pn = /* @__PURE__ */ Kr(dn);
637
+ var ze = function(e, t) {
638
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
658
639
  r.__proto__ = n;
659
640
  } || function(r, n) {
660
641
  for (var i in n)
661
642
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
662
- }, We(e, t);
643
+ }, ze(e, t);
663
644
  };
664
- function Ne(e, t) {
645
+ function Pe(e, t) {
665
646
  if (typeof t != "function" && t !== null)
666
647
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
667
- We(e, t);
648
+ ze(e, t);
668
649
  function r() {
669
650
  this.constructor = e;
670
651
  }
671
652
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
672
653
  }
673
- var _ = function() {
674
- return _ = Object.assign || function(t) {
654
+ var $ = function() {
655
+ return $ = Object.assign || function(t) {
675
656
  for (var r, n = 1, i = arguments.length; n < i; n++) {
676
657
  r = arguments[n];
677
- for (var s in r)
678
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
658
+ for (var o in r)
659
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
679
660
  }
680
661
  return t;
681
- }, _.apply(this, arguments);
662
+ }, $.apply(this, arguments);
682
663
  };
683
- function pn(e, t) {
664
+ function gn(e, t) {
684
665
  var r = {};
685
666
  for (var n in e)
686
667
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -689,43 +670,43 @@ function pn(e, t) {
689
670
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
690
671
  return r;
691
672
  }
692
- function De(e, t, r) {
693
- if (arguments.length === 2)
694
- for (var n = 0, i = t.length, s; n < i; n++)
695
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
696
- return e.concat(s || t);
673
+ function Ue(e, t, r) {
674
+ if (r || arguments.length === 2)
675
+ for (var n = 0, i = t.length, o; n < i; n++)
676
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
677
+ return e.concat(o || Array.prototype.slice.call(t));
697
678
  }
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;
679
+ function Ge(e, t) {
680
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
700
681
  return i(e, {
701
682
  cache: r,
702
683
  serializer: n
703
684
  });
704
685
  }
705
- function gn(e) {
686
+ function bn(e) {
706
687
  return e == null || typeof e == "number" || typeof e == "boolean";
707
688
  }
708
- function bn(e, t, r, n) {
709
- var i = gn(n) ? n : r(n), s = t.get(i);
710
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
689
+ function yn(e, t, r, n) {
690
+ var i = bn(n) ? n : r(n), o = t.get(i);
691
+ return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
711
692
  }
712
- function Vt(e, t, r) {
713
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
714
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
693
+ function Xt(e, t, r) {
694
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
695
+ return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
715
696
  }
716
- function Xt(e, t, r, n, i) {
697
+ function Wt(e, t, r, n, i) {
717
698
  return r.bind(t, e, n, i);
718
699
  }
719
- function yn(e, t) {
720
- var r = e.length === 1 ? bn : Vt;
721
- return Xt(e, this, r, t.cache.create(), t.serializer);
722
- }
723
700
  function vn(e, t) {
724
- return Xt(e, this, Vt, t.cache.create(), t.serializer);
701
+ var r = e.length === 1 ? yn : Xt;
702
+ return Wt(e, this, r, t.cache.create(), t.serializer);
703
+ }
704
+ function _n(e, t) {
705
+ return Wt(e, this, Xt, t.cache.create(), t.serializer);
725
706
  }
726
- var _n = function() {
707
+ var En = function() {
727
708
  return JSON.stringify(arguments);
728
- }, En = (
709
+ }, xn = (
729
710
  /** @class */
730
711
  function() {
731
712
  function e() {
@@ -737,13 +718,23 @@ var _n = function() {
737
718
  this.cache[t] = r;
738
719
  }, e;
739
720
  }()
740
- ), xn = {
721
+ ), Cn = {
741
722
  create: function() {
742
- return new En();
723
+ return new xn();
743
724
  }
744
- }, Ge = {
745
- variadic: vn
746
- }, y;
725
+ }, ke = {
726
+ variadic: _n
727
+ }, Be = function() {
728
+ return Be = Object.assign || function(t) {
729
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
730
+ r = arguments[n];
731
+ for (var o in r)
732
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
733
+ }
734
+ return t;
735
+ }, Be.apply(this, arguments);
736
+ };
737
+ var y;
747
738
  (function(e) {
748
739
  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";
749
740
  })(y || (y = {}));
@@ -751,47 +742,47 @@ var S;
751
742
  (function(e) {
752
743
  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";
753
744
  })(S || (S = {}));
754
- var ie;
745
+ var oe;
755
746
  (function(e) {
756
747
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
757
- })(ie || (ie = {}));
758
- function mt(e) {
748
+ })(oe || (oe = {}));
749
+ function dt(e) {
759
750
  return e.type === S.literal;
760
751
  }
761
- function Cn(e) {
752
+ function wn(e) {
762
753
  return e.type === S.argument;
763
754
  }
764
- function Wt(e) {
755
+ function zt(e) {
765
756
  return e.type === S.number;
766
757
  }
767
- function zt(e) {
758
+ function Zt(e) {
768
759
  return e.type === S.date;
769
760
  }
770
- function Zt(e) {
761
+ function Qt(e) {
771
762
  return e.type === S.time;
772
763
  }
773
- function Qt(e) {
764
+ function qt(e) {
774
765
  return e.type === S.select;
775
766
  }
776
- function qt(e) {
767
+ function Jt(e) {
777
768
  return e.type === S.plural;
778
769
  }
779
- function wn(e) {
770
+ function Hn(e) {
780
771
  return e.type === S.pound;
781
772
  }
782
- function Jt(e) {
773
+ function Yt(e) {
783
774
  return e.type === S.tag;
784
775
  }
785
- function Yt(e) {
786
- return !!(e && typeof e == "object" && e.type === ie.number);
776
+ function Kt(e) {
777
+ return !!(e && typeof e == "object" && e.type === oe.number);
787
778
  }
788
- function ze(e) {
789
- return !!(e && typeof e == "object" && e.type === ie.dateTime);
779
+ function Ze(e) {
780
+ return !!(e && typeof e == "object" && e.type === oe.dateTime);
790
781
  }
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) {
782
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
783
+ function Tn(e) {
793
784
  var t = {};
794
- return e.replace(Hn, function(r) {
785
+ return e.replace(Sn, function(r) {
795
786
  var n = r.length;
796
787
  switch (r[0]) {
797
788
  case "G":
@@ -880,17 +871,27 @@ function Sn(e) {
880
871
  return "";
881
872
  }), t;
882
873
  }
883
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
884
- function An(e) {
874
+ var T = function() {
875
+ return T = Object.assign || function(t) {
876
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
877
+ r = arguments[n];
878
+ for (var o in r)
879
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
880
+ }
881
+ return t;
882
+ }, T.apply(this, arguments);
883
+ };
884
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
885
+ function Bn(e) {
885
886
  if (e.length === 0)
886
887
  throw new Error("Number skeleton cannot be empty");
887
- for (var t = e.split(Tn).filter(function(f) {
888
+ for (var t = e.split(An).filter(function(f) {
888
889
  return f.length > 0;
889
890
  }), r = [], n = 0, i = t; n < i.length; n++) {
890
- var s = i[n], o = s.split("/");
891
- if (o.length === 0)
891
+ var o = i[n], s = o.split("/");
892
+ if (s.length === 0)
892
893
  throw new Error("Invalid number skeleton");
893
- for (var a = o[0], h = o.slice(1), l = 0, u = h; l < u.length; l++) {
894
+ for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
894
895
  var m = u[l];
895
896
  if (m.length === 0)
896
897
  throw new Error("Invalid number skeleton");
@@ -899,17 +900,17 @@ function An(e) {
899
900
  }
900
901
  return r;
901
902
  }
902
- function Bn(e) {
903
+ function In(e) {
903
904
  return e.replace(/^(.*?)-/, "");
904
905
  }
905
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
906
- function pt(e) {
906
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
907
+ function gt(e) {
907
908
  var t = {};
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) {
909
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
909
910
  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)), "";
910
911
  }), t;
911
912
  }
912
- function rr(e) {
913
+ function nr(e) {
913
914
  switch (e) {
914
915
  case "sign-auto":
915
916
  return {
@@ -949,7 +950,7 @@ function rr(e) {
949
950
  };
950
951
  }
951
952
  }
952
- function Mn(e) {
953
+ function Nn(e) {
953
954
  var t;
954
955
  if (e[0] === "E" && e[1] === "E" ? (t = {
955
956
  notation: "engineering"
@@ -957,17 +958,17 @@ function Mn(e) {
957
958
  notation: "scientific"
958
959
  }, e = e.slice(1)), t) {
959
960
  var r = e.slice(0, 2);
960
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
961
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
961
962
  throw new Error("Malformed concise eng/scientific notation");
962
963
  t.minimumIntegerDigits = e.length;
963
964
  }
964
965
  return t;
965
966
  }
966
- function gt(e) {
967
- var t = {}, r = rr(e);
967
+ function bt(e) {
968
+ var t = {}, r = nr(e);
968
969
  return r || t;
969
970
  }
970
- function Nn(e) {
971
+ function Pn(e) {
971
972
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
972
973
  var i = n[r];
973
974
  switch (i.stem) {
@@ -991,7 +992,7 @@ function Nn(e) {
991
992
  continue;
992
993
  case "measure-unit":
993
994
  case "unit":
994
- t.style = "unit", t.unit = Bn(i.options[0]);
995
+ t.style = "unit", t.unit = In(i.options[0]);
995
996
  continue;
996
997
  case "compact-short":
997
998
  case "K":
@@ -1002,13 +1003,13 @@ function Nn(e) {
1002
1003
  t.notation = "compact", t.compactDisplay = "long";
1003
1004
  continue;
1004
1005
  case "scientific":
1005
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1006
- return _(_({}, h), gt(l));
1006
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1007
+ return T(T({}, h), bt(l));
1007
1008
  }, {}));
1008
1009
  continue;
1009
1010
  case "engineering":
1010
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1011
- return _(_({}, h), gt(l));
1011
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1012
+ return T(T({}, h), bt(l));
1012
1013
  }, {}));
1013
1014
  continue;
1014
1015
  case "notation-simple":
@@ -1053,7 +1054,7 @@ function Nn(e) {
1053
1054
  case "integer-width":
1054
1055
  if (i.options.length > 1)
1055
1056
  throw new RangeError("integer-width stems only accept a single optional option");
1056
- i.options[0].replace(In, function(h, l, u, m, f, p) {
1057
+ i.options[0].replace(Mn, function(h, l, u, m, f, p) {
1057
1058
  if (l)
1058
1059
  t.minimumIntegerDigits = u.length;
1059
1060
  else {
@@ -1066,28 +1067,28 @@ function Nn(e) {
1066
1067
  });
1067
1068
  continue;
1068
1069
  }
1069
- if (tr.test(i.stem)) {
1070
+ if (rr.test(i.stem)) {
1070
1071
  t.minimumIntegerDigits = i.stem.length;
1071
1072
  continue;
1072
1073
  }
1073
- if (dt.test(i.stem)) {
1074
+ if (pt.test(i.stem)) {
1074
1075
  if (i.options.length > 1)
1075
1076
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1076
- i.stem.replace(dt, function(h, l, u, m, f, p) {
1077
+ i.stem.replace(pt, function(h, l, u, m, f, p) {
1077
1078
  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), "";
1078
1079
  });
1079
- var s = i.options[0];
1080
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), pt(s)));
1080
+ var o = i.options[0];
1081
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), gt(o)));
1081
1082
  continue;
1082
1083
  }
1083
- if (er.test(i.stem)) {
1084
- t = _(_({}, t), pt(i.stem));
1084
+ if (tr.test(i.stem)) {
1085
+ t = T(T({}, t), gt(i.stem));
1085
1086
  continue;
1086
1087
  }
1087
- var o = rr(i.stem);
1088
- o && (t = _(_({}, t), o));
1089
- var a = Mn(i.stem);
1090
- a && (t = _(_({}, t), a));
1088
+ var s = nr(i.stem);
1089
+ s && (t = T(T({}, t), s));
1090
+ var a = Nn(i.stem);
1091
+ a && (t = T(T({}, t), a));
1091
1092
  }
1092
1093
  return t;
1093
1094
  }
@@ -2506,23 +2507,23 @@ var we = {
2506
2507
  "h"
2507
2508
  ]
2508
2509
  };
2509
- function Ln(e, t) {
2510
+ function On(e, t) {
2510
2511
  for (var r = "", n = 0; n < e.length; n++) {
2511
2512
  var i = e.charAt(n);
2512
2513
  if (i === "j") {
2513
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2514
- s++, n++;
2515
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", l = Pn(t);
2514
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2515
+ o++, n++;
2516
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Ln(t);
2516
2517
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2517
2518
  r += h;
2518
- for (; o-- > 0; )
2519
+ for (; s-- > 0; )
2519
2520
  r = l + r;
2520
2521
  } else
2521
2522
  i === "J" ? r += "H" : r += i;
2522
2523
  }
2523
2524
  return r;
2524
2525
  }
2525
- function Pn(e) {
2526
+ function Ln(e) {
2526
2527
  var t = e.hourCycle;
2527
2528
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2528
2529
  e.hourCycles && // @ts-ignore
@@ -2544,20 +2545,20 @@ function Pn(e) {
2544
2545
  var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2545
2546
  return i[0];
2546
2547
  }
2547
- var ke, On = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
2548
+ var $e, Fn = new RegExp("^".concat(er.source, "*")), Rn = new RegExp("".concat(er.source, "*$"));
2548
2549
  function v(e, t) {
2549
2550
  return { start: e, end: t };
2550
2551
  }
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) {
2552
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
2552
2553
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2553
- }, Ze = !0;
2554
+ }, Qe = !0;
2554
2555
  try {
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";
2556
+ var Wn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2557
+ Qe = (($e = Wn.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2557
2558
  } catch {
2558
- Ze = !1;
2559
+ Qe = !1;
2559
2560
  }
2560
- var bt = Rn ? (
2561
+ var yt = Dn ? (
2561
2562
  // Native
2562
2563
  function(t, r, n) {
2563
2564
  return t.startsWith(r, n);
@@ -2567,31 +2568,31 @@ var bt = Rn ? (
2567
2568
  function(t, r, n) {
2568
2569
  return t.slice(n, n + r.length) === r;
2569
2570
  }
2570
- ), Qe = Dn ? String.fromCodePoint : (
2571
+ ), qe = Un ? String.fromCodePoint : (
2571
2572
  // IE11
2572
2573
  function() {
2573
2574
  for (var t = [], r = 0; r < arguments.length; r++)
2574
2575
  t[r] = arguments[r];
2575
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2576
- if (o = t[s++], o > 1114111)
2577
- throw RangeError(o + " is not a valid code point");
2578
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2576
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
2577
+ if (s = t[o++], s > 1114111)
2578
+ throw RangeError(s + " is not a valid code point");
2579
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2579
2580
  }
2580
2581
  return n;
2581
2582
  }
2582
- ), yt = (
2583
+ ), vt = (
2583
2584
  // native
2584
- Un ? Object.fromEntries : (
2585
+ Gn ? Object.fromEntries : (
2585
2586
  // Ponyfill
2586
2587
  function(t) {
2587
2588
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2588
- var s = i[n], o = s[0], a = s[1];
2589
- r[o] = a;
2589
+ var o = i[n], s = o[0], a = o[1];
2590
+ r[s] = a;
2590
2591
  }
2591
2592
  return r;
2592
2593
  }
2593
2594
  )
2594
- ), nr = Gn ? (
2595
+ ), ir = kn ? (
2595
2596
  // Native
2596
2597
  function(t, r) {
2597
2598
  return t.codePointAt(r);
@@ -2601,11 +2602,11 @@ var bt = Rn ? (
2601
2602
  function(t, r) {
2602
2603
  var n = t.length;
2603
2604
  if (!(r < 0 || r >= n)) {
2604
- var i = t.charCodeAt(r), s;
2605
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2605
+ var i = t.charCodeAt(r), o;
2606
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2606
2607
  }
2607
2608
  }
2608
- ), Wn = kn ? (
2609
+ ), zn = $n ? (
2609
2610
  // Native
2610
2611
  function(t) {
2611
2612
  return t.trimStart();
@@ -2613,9 +2614,9 @@ var bt = Rn ? (
2613
2614
  ) : (
2614
2615
  // Ponyfill
2615
2616
  function(t) {
2616
- return t.replace(On, "");
2617
+ return t.replace(Fn, "");
2617
2618
  }
2618
- ), zn = $n ? (
2619
+ ), Zn = jn ? (
2619
2620
  // Native
2620
2621
  function(t) {
2621
2622
  return t.trimEnd();
@@ -2623,32 +2624,32 @@ var bt = Rn ? (
2623
2624
  ) : (
2624
2625
  // Ponyfill
2625
2626
  function(t) {
2626
- return t.replace(Fn, "");
2627
+ return t.replace(Rn, "");
2627
2628
  }
2628
2629
  );
2629
- function ir(e, t) {
2630
+ function or(e, t) {
2630
2631
  return new RegExp(e, t);
2631
2632
  }
2632
- var qe;
2633
- if (Ze) {
2634
- var vt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2635
- qe = function(t, r) {
2633
+ var Je;
2634
+ if (Qe) {
2635
+ var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2636
+ Je = function(t, r) {
2636
2637
  var n;
2637
- vt.lastIndex = r;
2638
- var i = vt.exec(t);
2638
+ _t.lastIndex = r;
2639
+ var i = _t.exec(t);
2639
2640
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2640
2641
  };
2641
2642
  } else
2642
- qe = function(t, r) {
2643
+ Je = function(t, r) {
2643
2644
  for (var n = []; ; ) {
2644
- var i = nr(t, r);
2645
- if (i === void 0 || or(i) || Jn(i))
2645
+ var i = ir(t, r);
2646
+ if (i === void 0 || sr(i) || Yn(i))
2646
2647
  break;
2647
2648
  n.push(i), r += i >= 65536 ? 2 : 1;
2648
2649
  }
2649
- return Qe.apply(void 0, n);
2650
+ return qe.apply(void 0, n);
2650
2651
  };
2651
- var Zn = (
2652
+ var Qn = (
2652
2653
  /** @class */
2653
2654
  function() {
2654
2655
  function e(t, r) {
@@ -2660,35 +2661,35 @@ var Zn = (
2660
2661
  return this.parseMessage(0, "", !1);
2661
2662
  }, e.prototype.parseMessage = function(t, r, n) {
2662
2663
  for (var i = []; !this.isEOF(); ) {
2663
- var s = this.char();
2664
- if (s === 123) {
2665
- var o = this.parseArgument(t, n);
2666
- if (o.err)
2667
- return o;
2668
- i.push(o.val);
2664
+ var o = this.char();
2665
+ if (o === 123) {
2666
+ var s = this.parseArgument(t, n);
2667
+ if (s.err)
2668
+ return s;
2669
+ i.push(s.val);
2669
2670
  } else {
2670
- if (s === 125 && t > 0)
2671
+ if (o === 125 && t > 0)
2671
2672
  break;
2672
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2673
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
2673
2674
  var a = this.clonePosition();
2674
2675
  this.bump(), i.push({
2675
2676
  type: S.pound,
2676
2677
  location: v(a, this.clonePosition())
2677
2678
  });
2678
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2679
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2679
2680
  if (n)
2680
2681
  break;
2681
2682
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2682
- } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2683
- var o = this.parseTag(t, r);
2684
- if (o.err)
2685
- return o;
2686
- i.push(o.val);
2683
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2684
+ var s = this.parseTag(t, r);
2685
+ if (s.err)
2686
+ return s;
2687
+ i.push(s.val);
2687
2688
  } else {
2688
- var o = this.parseLiteral(t, r);
2689
- if (o.err)
2690
- return o;
2691
- i.push(o.val);
2689
+ var s = this.parseLiteral(t, r);
2690
+ if (s.err)
2691
+ return s;
2692
+ i.push(s.val);
2692
2693
  }
2693
2694
  }
2694
2695
  }
@@ -2707,19 +2708,19 @@ var Zn = (
2707
2708
  err: null
2708
2709
  };
2709
2710
  if (this.bumpIf(">")) {
2710
- var s = this.parseMessage(t + 1, r, !0);
2711
- if (s.err)
2712
- return s;
2713
- var o = s.val, a = this.clonePosition();
2711
+ var o = this.parseMessage(t + 1, r, !0);
2712
+ if (o.err)
2713
+ return o;
2714
+ var s = o.val, a = this.clonePosition();
2714
2715
  if (this.bumpIf("</")) {
2715
- if (this.isEOF() || !Je(this.char()))
2716
+ if (this.isEOF() || !Ye(this.char()))
2716
2717
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2717
2718
  var h = this.clonePosition(), l = this.parseTagName();
2718
2719
  return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2719
2720
  val: {
2720
2721
  type: S.tag,
2721
2722
  value: i,
2722
- children: o,
2723
+ children: s,
2723
2724
  location: v(n, this.clonePosition())
2724
2725
  },
2725
2726
  err: null
@@ -2730,21 +2731,21 @@ var Zn = (
2730
2731
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2731
2732
  }, e.prototype.parseTagName = function() {
2732
2733
  var t = this.offset();
2733
- for (this.bump(); !this.isEOF() && qn(this.char()); )
2734
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
2734
2735
  this.bump();
2735
2736
  return this.message.slice(t, this.offset());
2736
2737
  }, e.prototype.parseLiteral = function(t, r) {
2737
2738
  for (var n = this.clonePosition(), i = ""; ; ) {
2738
- var s = this.tryParseQuote(r);
2739
- if (s) {
2740
- i += s;
2741
- continue;
2742
- }
2743
- var o = this.tryParseUnquoted(t, r);
2739
+ var o = this.tryParseQuote(r);
2744
2740
  if (o) {
2745
2741
  i += o;
2746
2742
  continue;
2747
2743
  }
2744
+ var s = this.tryParseUnquoted(t, r);
2745
+ if (s) {
2746
+ i += s;
2747
+ continue;
2748
+ }
2748
2749
  var a = this.tryParseLeftAngleBracket();
2749
2750
  if (a) {
2750
2751
  i += a;
@@ -2759,7 +2760,7 @@ var Zn = (
2759
2760
  };
2760
2761
  }, e.prototype.tryParseLeftAngleBracket = function() {
2761
2762
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2762
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2763
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2763
2764
  }, e.prototype.tryParseQuote = function(t) {
2764
2765
  if (this.isEOF() || this.char() !== 39)
2765
2766
  return null;
@@ -2793,12 +2794,12 @@ var Zn = (
2793
2794
  r.push(n);
2794
2795
  this.bump();
2795
2796
  }
2796
- return Qe.apply(void 0, r);
2797
+ return qe.apply(void 0, r);
2797
2798
  }, e.prototype.tryParseUnquoted = function(t, r) {
2798
2799
  if (this.isEOF())
2799
2800
  return null;
2800
2801
  var n = this.char();
2801
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2802
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
2802
2803
  }, e.prototype.parseArgument = function(t, r) {
2803
2804
  var n = this.clonePosition();
2804
2805
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2827,15 +2828,15 @@ var Zn = (
2827
2828
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2828
2829
  }
2829
2830
  }, e.prototype.parseIdentifierIfPossible = function() {
2830
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2831
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2831
2832
  this.bumpTo(i);
2832
- var s = this.clonePosition(), o = v(t, s);
2833
- return { value: n, location: o };
2833
+ var o = this.clonePosition(), s = v(t, o);
2834
+ return { value: n, location: s };
2834
2835
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2835
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2836
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2836
2837
  switch (a) {
2837
2838
  case "":
2838
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
2839
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, h));
2839
2840
  case "number":
2840
2841
  case "date":
2841
2842
  case "time": {
@@ -2846,7 +2847,7 @@ var Zn = (
2846
2847
  var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2847
2848
  if (m.err)
2848
2849
  return m;
2849
- var f = zn(m.val);
2850
+ var f = Zn(m.val);
2850
2851
  if (f.length === 0)
2851
2852
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2852
2853
  var p = v(u, this.clonePosition());
@@ -2856,8 +2857,8 @@ var Zn = (
2856
2857
  if (g.err)
2857
2858
  return g;
2858
2859
  var b = v(i, this.clonePosition());
2859
- if (l && bt(l?.style, "::", 0)) {
2860
- var d = Wn(l.style.slice(2));
2860
+ if (l && yt(l?.style, "::", 0)) {
2861
+ var d = zn(l.style.slice(2));
2861
2862
  if (a === "number") {
2862
2863
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2863
2864
  return m.err ? m : {
@@ -2867,16 +2868,16 @@ var Zn = (
2867
2868
  } else {
2868
2869
  if (d.length === 0)
2869
2870
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2870
- var w = d;
2871
- this.locale && (w = Ln(d, this.locale));
2871
+ var C = d;
2872
+ this.locale && (C = On(d, this.locale));
2872
2873
  var f = {
2873
- type: ie.dateTime,
2874
- pattern: w,
2874
+ type: oe.dateTime,
2875
+ pattern: C,
2875
2876
  location: l.styleLocation,
2876
- parsedOptions: this.shouldParseSkeletons ? Sn(w) : {}
2877
- }, E = a === "date" ? S.date : S.time;
2877
+ parsedOptions: this.shouldParseSkeletons ? Tn(C) : {}
2878
+ }, _ = a === "date" ? S.date : S.time;
2878
2879
  return {
2879
- val: { type: E, value: n, location: b, style: f },
2880
+ val: { type: _, value: n, location: b, style: f },
2880
2881
  err: null
2881
2882
  };
2882
2883
  }
@@ -2886,7 +2887,7 @@ var Zn = (
2886
2887
  type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2887
2888
  value: n,
2888
2889
  location: b,
2889
- style: (s = l?.style) !== null && s !== void 0 ? s : null
2890
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
2890
2891
  },
2891
2892
  err: null
2892
2893
  };
@@ -2894,11 +2895,11 @@ var Zn = (
2894
2895
  case "plural":
2895
2896
  case "selectordinal":
2896
2897
  case "select": {
2897
- var H = this.clonePosition();
2898
+ var w = this.clonePosition();
2898
2899
  if (this.bumpSpace(), !this.bumpIf(","))
2899
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
2900
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, Be({}, w)));
2900
2901
  this.bumpSpace();
2901
- var R = this.parseIdentifierIfPossible(), P = 0;
2902
+ var R = this.parseIdentifierIfPossible(), O = 0;
2902
2903
  if (a !== "select" && R.value === "offset") {
2903
2904
  if (!this.bumpIf(":"))
2904
2905
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -2906,7 +2907,7 @@ var Zn = (
2906
2907
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2907
2908
  if (m.err)
2908
2909
  return m;
2909
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = m.val;
2910
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = m.val;
2910
2911
  }
2911
2912
  var k = this.tryParsePluralOrSelectOptions(t, a, r, R);
2912
2913
  if (k.err)
@@ -2914,29 +2915,29 @@ var Zn = (
2914
2915
  var g = this.tryParseArgumentClose(i);
2915
2916
  if (g.err)
2916
2917
  return g;
2917
- var C = v(i, this.clonePosition());
2918
+ var x = v(i, this.clonePosition());
2918
2919
  return a === "select" ? {
2919
2920
  val: {
2920
2921
  type: S.select,
2921
2922
  value: n,
2922
- options: yt(k.val),
2923
- location: C
2923
+ options: vt(k.val),
2924
+ location: x
2924
2925
  },
2925
2926
  err: null
2926
2927
  } : {
2927
2928
  val: {
2928
2929
  type: S.plural,
2929
2930
  value: n,
2930
- options: yt(k.val),
2931
- offset: P,
2931
+ options: vt(k.val),
2932
+ offset: O,
2932
2933
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2933
- location: C
2934
+ location: x
2934
2935
  },
2935
2936
  err: null
2936
2937
  };
2937
2938
  }
2938
2939
  default:
2939
- return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
2940
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, h));
2940
2941
  }
2941
2942
  }, e.prototype.tryParseArgumentClose = function(t) {
2942
2943
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2978,21 +2979,21 @@ var Zn = (
2978
2979
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2979
2980
  var n = [];
2980
2981
  try {
2981
- n = An(t);
2982
+ n = Bn(t);
2982
2983
  } catch {
2983
2984
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2984
2985
  }
2985
2986
  return {
2986
2987
  val: {
2987
- type: ie.number,
2988
+ type: oe.number,
2988
2989
  tokens: n,
2989
2990
  location: r,
2990
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2991
+ parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
2991
2992
  },
2992
2993
  err: null
2993
2994
  };
2994
2995
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2995
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2996
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2996
2997
  if (l.length === 0) {
2997
2998
  var m = this.clonePosition();
2998
2999
  if (r !== "select" && this.bumpIf("=")) {
@@ -3005,7 +3006,7 @@ var Zn = (
3005
3006
  }
3006
3007
  if (h.has(l))
3007
3008
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3008
- l === "other" && (o = !0), this.bumpSpace();
3009
+ l === "other" && (s = !0), this.bumpSpace();
3009
3010
  var p = this.clonePosition();
3010
3011
  if (!this.bumpIf("{"))
3011
3012
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
@@ -3021,21 +3022,21 @@ var Zn = (
3021
3022
  value: g.val,
3022
3023
  location: v(p, this.clonePosition())
3023
3024
  }
3024
- ]), h.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, u = s.location;
3025
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3025
3026
  }
3026
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3027
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3027
3028
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3028
3029
  var n = 1, i = this.clonePosition();
3029
3030
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3030
- for (var s = !1, o = 0; !this.isEOF(); ) {
3031
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3031
3032
  var a = this.char();
3032
3033
  if (a >= 48 && a <= 57)
3033
- s = !0, o = o * 10 + (a - 48), this.bump();
3034
+ o = !0, s = s * 10 + (a - 48), this.bump();
3034
3035
  else
3035
3036
  break;
3036
3037
  }
3037
3038
  var h = v(i, this.clonePosition());
3038
- return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3039
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3039
3040
  }, e.prototype.offset = function() {
3040
3041
  return this.position.offset;
3041
3042
  }, e.prototype.isEOF = function() {
@@ -3050,7 +3051,7 @@ var Zn = (
3050
3051
  var t = this.position.offset;
3051
3052
  if (t >= this.message.length)
3052
3053
  throw Error("out of bound");
3053
- var r = nr(this.message, t);
3054
+ var r = ir(this.message, t);
3054
3055
  if (r === void 0)
3055
3056
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3056
3057
  return r;
@@ -3069,7 +3070,7 @@ var Zn = (
3069
3070
  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);
3070
3071
  }
3071
3072
  }, e.prototype.bumpIf = function(t) {
3072
- if (bt(this.message, t, this.offset())) {
3073
+ if (yt(this.message, t, this.offset())) {
3073
3074
  for (var r = 0; r < t.length; r++)
3074
3075
  this.bump();
3075
3076
  return !0;
@@ -3091,7 +3092,7 @@ var Zn = (
3091
3092
  break;
3092
3093
  }
3093
3094
  }, e.prototype.bumpSpace = function() {
3094
- for (; !this.isEOF() && or(this.char()); )
3095
+ for (; !this.isEOF() && sr(this.char()); )
3095
3096
  this.bump();
3096
3097
  }, e.prototype.peek = function() {
3097
3098
  if (this.isEOF())
@@ -3101,204 +3102,204 @@ var Zn = (
3101
3102
  }, e;
3102
3103
  }()
3103
3104
  );
3104
- function Je(e) {
3105
+ function Ye(e) {
3105
3106
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3106
3107
  }
3107
- function Qn(e) {
3108
- return Je(e) || e === 47;
3109
- }
3110
3108
  function qn(e) {
3109
+ return Ye(e) || e === 47;
3110
+ }
3111
+ function Jn(e) {
3111
3112
  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;
3112
3113
  }
3113
- function or(e) {
3114
+ function sr(e) {
3114
3115
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3115
3116
  }
3116
- function Jn(e) {
3117
+ function Yn(e) {
3117
3118
  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;
3118
3119
  }
3119
- function Ye(e) {
3120
+ function Ke(e) {
3120
3121
  e.forEach(function(t) {
3121
- if (delete t.location, Qt(t) || qt(t))
3122
+ if (delete t.location, qt(t) || Jt(t))
3122
3123
  for (var r in t.options)
3123
- delete t.options[r].location, Ye(t.options[r].value);
3124
+ delete t.options[r].location, Ke(t.options[r].value);
3124
3125
  else
3125
- Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && ze(t.style) ? delete t.style.location : Jt(t) && Ye(t.children);
3126
+ zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && Ze(t.style) ? delete t.style.location : Yt(t) && Ke(t.children);
3126
3127
  });
3127
3128
  }
3128
- function Yn(e, t) {
3129
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3130
- var r = new Zn(e, t).parse();
3129
+ function Kn(e, t) {
3130
+ t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3131
+ var r = new Qn(e, t).parse();
3131
3132
  if (r.err) {
3132
3133
  var n = SyntaxError(y[r.err.kind]);
3133
3134
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3134
3135
  }
3135
- return t?.captureLocation || Ye(r.val), r.val;
3136
+ return t?.captureLocation || Ke(r.val), r.val;
3136
3137
  }
3137
- var oe;
3138
+ var se;
3138
3139
  (function(e) {
3139
3140
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3140
- })(oe || (oe = {}));
3141
- var Le = (
3141
+ })(se || (se = {}));
3142
+ var Oe = (
3142
3143
  /** @class */
3143
3144
  function(e) {
3144
- Ne(t, e);
3145
+ Pe(t, e);
3145
3146
  function t(r, n, i) {
3146
- var s = e.call(this, r) || this;
3147
- return s.code = n, s.originalMessage = i, s;
3147
+ var o = e.call(this, r) || this;
3148
+ return o.code = n, o.originalMessage = i, o;
3148
3149
  }
3149
3150
  return t.prototype.toString = function() {
3150
3151
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3151
3152
  }, t;
3152
3153
  }(Error)
3153
- ), _t = (
3154
+ ), Et = (
3154
3155
  /** @class */
3155
3156
  function(e) {
3156
- Ne(t, e);
3157
- function t(r, n, i, s) {
3158
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, s) || this;
3157
+ Pe(t, e);
3158
+ function t(r, n, i, o) {
3159
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3159
3160
  }
3160
3161
  return t;
3161
- }(Le)
3162
- ), Kn = (
3162
+ }(Oe)
3163
+ ), ei = (
3163
3164
  /** @class */
3164
3165
  function(e) {
3165
- Ne(t, e);
3166
+ Pe(t, e);
3166
3167
  function t(r, n, i) {
3167
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3168
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3168
3169
  }
3169
3170
  return t;
3170
- }(Le)
3171
- ), ei = (
3171
+ }(Oe)
3172
+ ), ti = (
3172
3173
  /** @class */
3173
3174
  function(e) {
3174
- Ne(t, e);
3175
+ Pe(t, e);
3175
3176
  function t(r, n) {
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;
3177
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3177
3178
  }
3178
3179
  return t;
3179
- }(Le)
3180
- ), O;
3180
+ }(Oe)
3181
+ ), L;
3181
3182
  (function(e) {
3182
3183
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3183
- })(O || (O = {}));
3184
- function ti(e) {
3184
+ })(L || (L = {}));
3185
+ function ri(e) {
3185
3186
  return e.length < 2 ? e : e.reduce(function(t, r) {
3186
3187
  var n = t[t.length - 1];
3187
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3188
+ return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3188
3189
  }, []);
3189
3190
  }
3190
- function ri(e) {
3191
+ function ni(e) {
3191
3192
  return typeof e == "function";
3192
3193
  }
3193
- function Se(e, t, r, n, i, s, o) {
3194
- if (e.length === 1 && mt(e[0]))
3194
+ function Se(e, t, r, n, i, o, s) {
3195
+ if (e.length === 1 && dt(e[0]))
3195
3196
  return [
3196
3197
  {
3197
- type: O.literal,
3198
+ type: L.literal,
3198
3199
  value: e[0].value
3199
3200
  }
3200
3201
  ];
3201
3202
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3202
3203
  var u = l[h];
3203
- if (mt(u)) {
3204
+ if (dt(u)) {
3204
3205
  a.push({
3205
- type: O.literal,
3206
+ type: L.literal,
3206
3207
  value: u.value
3207
3208
  });
3208
3209
  continue;
3209
3210
  }
3210
- if (wn(u)) {
3211
- typeof s == "number" && a.push({
3212
- type: O.literal,
3213
- value: r.getNumberFormat(t).format(s)
3211
+ if (Hn(u)) {
3212
+ typeof o == "number" && a.push({
3213
+ type: L.literal,
3214
+ value: r.getNumberFormat(t).format(o)
3214
3215
  });
3215
3216
  continue;
3216
3217
  }
3217
3218
  var m = u.value;
3218
3219
  if (!(i && m in i))
3219
- throw new ei(m, o);
3220
+ throw new ti(m, s);
3220
3221
  var f = i[m];
3221
- if (Cn(u)) {
3222
+ if (wn(u)) {
3222
3223
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3223
- type: typeof f == "string" ? O.literal : O.object,
3224
+ type: typeof f == "string" ? L.literal : L.object,
3224
3225
  value: f
3225
3226
  });
3226
3227
  continue;
3227
3228
  }
3228
- if (zt(u)) {
3229
- var p = typeof u.style == "string" ? n.date[u.style] : ze(u.style) ? u.style.parsedOptions : void 0;
3229
+ if (Zt(u)) {
3230
+ var p = typeof u.style == "string" ? n.date[u.style] : Ze(u.style) ? u.style.parsedOptions : void 0;
3230
3231
  a.push({
3231
- type: O.literal,
3232
+ type: L.literal,
3232
3233
  value: r.getDateTimeFormat(t, p).format(f)
3233
3234
  });
3234
3235
  continue;
3235
3236
  }
3236
- if (Zt(u)) {
3237
- var p = typeof u.style == "string" ? n.time[u.style] : ze(u.style) ? u.style.parsedOptions : n.time.medium;
3237
+ if (Qt(u)) {
3238
+ var p = typeof u.style == "string" ? n.time[u.style] : Ze(u.style) ? u.style.parsedOptions : n.time.medium;
3238
3239
  a.push({
3239
- type: O.literal,
3240
+ type: L.literal,
3240
3241
  value: r.getDateTimeFormat(t, p).format(f)
3241
3242
  });
3242
3243
  continue;
3243
3244
  }
3244
- if (Wt(u)) {
3245
- var p = typeof u.style == "string" ? n.number[u.style] : Yt(u.style) ? u.style.parsedOptions : void 0;
3245
+ if (zt(u)) {
3246
+ var p = typeof u.style == "string" ? n.number[u.style] : Kt(u.style) ? u.style.parsedOptions : void 0;
3246
3247
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3247
- type: O.literal,
3248
+ type: L.literal,
3248
3249
  value: r.getNumberFormat(t, p).format(f)
3249
3250
  });
3250
3251
  continue;
3251
3252
  }
3252
- if (Jt(u)) {
3253
+ if (Yt(u)) {
3253
3254
  var g = u.children, b = u.value, d = i[b];
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) {
3257
- return P.value;
3255
+ if (!ni(d))
3256
+ throw new ei(b, "function", s);
3257
+ var C = Se(g, t, r, n, i, o), _ = d(C.map(function(O) {
3258
+ return O.value;
3258
3259
  }));
3259
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(P) {
3260
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(O) {
3260
3261
  return {
3261
- type: typeof P == "string" ? O.literal : O.object,
3262
- value: P
3262
+ type: typeof O == "string" ? L.literal : L.object,
3263
+ value: O
3263
3264
  };
3264
3265
  }));
3265
3266
  }
3266
- if (Qt(u)) {
3267
- var H = u.options[f] || u.options.other;
3268
- if (!H)
3269
- throw new _t(u.value, f, Object.keys(u.options), o);
3270
- a.push.apply(a, Se(H.value, t, r, n, i));
3267
+ if (qt(u)) {
3268
+ var w = u.options[f] || u.options.other;
3269
+ if (!w)
3270
+ throw new Et(u.value, f, Object.keys(u.options), s);
3271
+ a.push.apply(a, Se(w.value, t, r, n, i));
3271
3272
  continue;
3272
3273
  }
3273
- if (qt(u)) {
3274
- var H = u.options["=".concat(f)];
3275
- if (!H) {
3274
+ if (Jt(u)) {
3275
+ var w = u.options["=".concat(f)];
3276
+ if (!w) {
3276
3277
  if (!Intl.PluralRules)
3277
- throw new Le(`Intl.PluralRules is not available in this environment.
3278
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3278
3279
  Try polyfilling it using "@formatjs/intl-pluralrules"
3279
- `, oe.MISSING_INTL_API, o);
3280
+ `, se.MISSING_INTL_API, s);
3280
3281
  var R = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3281
- H = u.options[R] || u.options.other;
3282
+ w = u.options[R] || u.options.other;
3282
3283
  }
3283
- if (!H)
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)));
3284
+ if (!w)
3285
+ throw new Et(u.value, f, Object.keys(u.options), s);
3286
+ a.push.apply(a, Se(w.value, t, r, n, i, f - (u.offset || 0)));
3286
3287
  continue;
3287
3288
  }
3288
3289
  }
3289
- return ti(a);
3290
+ return ri(a);
3290
3291
  }
3291
- function ni(e, t) {
3292
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3293
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3292
+ function ii(e, t) {
3293
+ return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3294
+ return r[n] = $($({}, e[n]), t[n] || {}), r;
3294
3295
  }, {})) : e;
3295
3296
  }
3296
- function ii(e, t) {
3297
+ function oi(e, t) {
3297
3298
  return t ? Object.keys(e).reduce(function(r, n) {
3298
- return r[n] = ni(e[n], t[n]), r;
3299
- }, _({}, e)) : e;
3299
+ return r[n] = ii(e[n], t[n]), r;
3300
+ }, $({}, e)) : e;
3300
3301
  }
3301
- function $e(e) {
3302
+ function je(e) {
3302
3303
  return {
3303
3304
  create: function() {
3304
3305
  return {
@@ -3312,77 +3313,77 @@ function $e(e) {
3312
3313
  }
3313
3314
  };
3314
3315
  }
3315
- function oi(e) {
3316
+ function si(e) {
3316
3317
  return e === void 0 && (e = {
3317
3318
  number: {},
3318
3319
  dateTime: {},
3319
3320
  pluralRules: {}
3320
3321
  }), {
3321
- getNumberFormat: Ue(function() {
3322
+ getNumberFormat: Ge(function() {
3322
3323
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3324
  r[n] = arguments[n];
3324
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3325
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3325
3326
  }, {
3326
- cache: $e(e.number),
3327
- strategy: Ge.variadic
3327
+ cache: je(e.number),
3328
+ strategy: ke.variadic
3328
3329
  }),
3329
- getDateTimeFormat: Ue(function() {
3330
+ getDateTimeFormat: Ge(function() {
3330
3331
  for (var t, r = [], n = 0; n < arguments.length; n++)
3331
3332
  r[n] = arguments[n];
3332
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3333
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3333
3334
  }, {
3334
- cache: $e(e.dateTime),
3335
- strategy: Ge.variadic
3335
+ cache: je(e.dateTime),
3336
+ strategy: ke.variadic
3336
3337
  }),
3337
- getPluralRules: Ue(function() {
3338
+ getPluralRules: Ge(function() {
3338
3339
  for (var t, r = [], n = 0; n < arguments.length; n++)
3339
3340
  r[n] = arguments[n];
3340
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3341
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3341
3342
  }, {
3342
- cache: $e(e.pluralRules),
3343
- strategy: Ge.variadic
3343
+ cache: je(e.pluralRules),
3344
+ strategy: ke.variadic
3344
3345
  })
3345
3346
  };
3346
3347
  }
3347
- var si = (
3348
+ var ai = (
3348
3349
  /** @class */
3349
3350
  function() {
3350
3351
  function e(t, r, n, i) {
3351
3352
  r === void 0 && (r = e.defaultLocale);
3352
- var s = this;
3353
+ var o = this;
3353
3354
  if (this.formatterCache = {
3354
3355
  number: {},
3355
3356
  dateTime: {},
3356
3357
  pluralRules: {}
3357
3358
  }, this.format = function(h) {
3358
- var l = s.formatToParts(h);
3359
+ var l = o.formatToParts(h);
3359
3360
  if (l.length === 1)
3360
3361
  return l[0].value;
3361
3362
  var u = l.reduce(function(m, f) {
3362
- return !m.length || f.type !== O.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3363
+ return !m.length || f.type !== L.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3363
3364
  }, []);
3364
3365
  return u.length <= 1 ? u[0] || "" : u;
3365
3366
  }, this.formatToParts = function(h) {
3366
- return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3367
+ return Se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3367
3368
  }, this.resolvedOptions = function() {
3368
3369
  var h;
3369
3370
  return {
3370
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3371
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3371
3372
  };
3372
3373
  }, this.getAst = function() {
3373
- return s.ast;
3374
+ return o.ast;
3374
3375
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3375
3376
  if (this.message = t, !e.__parse)
3376
3377
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3377
- var o = i || {};
3378
- o.formatters;
3379
- var a = pn(o, ["formatters"]);
3380
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3378
+ var s = i || {};
3379
+ s.formatters;
3380
+ var a = gn(s, ["formatters"]);
3381
+ this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3381
3382
  } else
3382
3383
  this.ast = t;
3383
3384
  if (!Array.isArray(this.ast))
3384
3385
  throw new TypeError("A message must be provided as a String or AST.");
3385
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3386
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3386
3387
  }
3387
3388
  return Object.defineProperty(e, "defaultLocale", {
3388
3389
  get: function() {
@@ -3395,7 +3396,7 @@ var si = (
3395
3396
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3396
3397
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3397
3398
  }
3398
- }, e.__parse = Yn, e.formats = {
3399
+ }, e.__parse = Kn, e.formats = {
3399
3400
  number: {
3400
3401
  integer: {
3401
3402
  maximumFractionDigits: 0
@@ -3456,7 +3457,7 @@ var si = (
3456
3457
  }, e;
3457
3458
  }()
3458
3459
  );
3459
- function ai(e, t) {
3460
+ function li(e, t) {
3460
3461
  if (t == null)
3461
3462
  return;
3462
3463
  if (t in e)
@@ -3466,9 +3467,9 @@ function ai(e, t) {
3466
3467
  for (let i = 0; i < r.length; i++)
3467
3468
  if (typeof n == "object") {
3468
3469
  if (i > 0) {
3469
- const s = r.slice(i, r.length).join(".");
3470
- if (s in n) {
3471
- n = n[s];
3470
+ const o = r.slice(i, r.length).join(".");
3471
+ if (o in n) {
3472
+ n = n[o];
3472
3473
  break;
3473
3474
  }
3474
3475
  }
@@ -3477,92 +3478,92 @@ function ai(e, t) {
3477
3478
  n = void 0;
3478
3479
  return n;
3479
3480
  }
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) => {
3481
+ const W = {}, ui = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), ar = (e, t) => {
3481
3482
  if (t == null)
3482
3483
  return;
3483
- if (t in X && e in X[t])
3484
- return X[t][e];
3485
- const r = Pe(t);
3484
+ if (t in W && e in W[t])
3485
+ return W[t][e];
3486
+ const r = Le(t);
3486
3487
  for (let n = 0; n < r.length; n++) {
3487
- const i = r[n], s = hi(i, e);
3488
- if (s)
3489
- return li(e, t, s);
3488
+ const i = r[n], o = ci(i, e);
3489
+ if (o)
3490
+ return ui(e, t, o);
3490
3491
  }
3491
3492
  };
3492
- let nt;
3493
- const le = Me({});
3494
- function ui(e) {
3495
- return nt[e] || null;
3493
+ let it;
3494
+ const ue = Ne({});
3495
+ function hi(e) {
3496
+ return it[e] || null;
3496
3497
  }
3497
- function ar(e) {
3498
- return e in nt;
3498
+ function lr(e) {
3499
+ return e in it;
3499
3500
  }
3500
- function hi(e, t) {
3501
- if (!ar(e))
3501
+ function ci(e, t) {
3502
+ if (!lr(e))
3502
3503
  return null;
3503
- const r = ui(e);
3504
- return ai(r, t);
3504
+ const r = hi(e);
3505
+ return li(r, t);
3505
3506
  }
3506
- function ci(e) {
3507
+ function fi(e) {
3507
3508
  if (e == null)
3508
3509
  return;
3509
- const t = Pe(e);
3510
+ const t = Le(e);
3510
3511
  for (let r = 0; r < t.length; r++) {
3511
3512
  const n = t[r];
3512
- if (ar(n))
3513
+ if (lr(n))
3513
3514
  return n;
3514
3515
  }
3515
3516
  }
3516
- function lr(e, ...t) {
3517
- delete X[e], le.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3517
+ function ur(e, ...t) {
3518
+ delete W[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3518
3519
  }
3519
- ae(
3520
- [le],
3520
+ le(
3521
+ [ue],
3521
3522
  ([e]) => Object.keys(e)
3522
3523
  );
3523
- le.subscribe((e) => nt = e);
3524
+ ue.subscribe((e) => it = e);
3524
3525
  const Te = {};
3525
- function fi(e, t) {
3526
+ function mi(e, t) {
3526
3527
  Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3527
3528
  }
3528
- function ur(e) {
3529
+ function hr(e) {
3529
3530
  return Te[e];
3530
3531
  }
3531
- function mi(e) {
3532
- return Pe(e).map((t) => {
3533
- const r = ur(t);
3532
+ function di(e) {
3533
+ return Le(e).map((t) => {
3534
+ const r = hr(t);
3534
3535
  return [t, r ? [...r] : []];
3535
3536
  }).filter(([, t]) => t.length > 0);
3536
3537
  }
3537
- function Ke(e) {
3538
- return e == null ? !1 : Pe(e).some(
3538
+ function et(e) {
3539
+ return e == null ? !1 : Le(e).some(
3539
3540
  (t) => {
3540
3541
  var r;
3541
- return (r = ur(t)) == null ? void 0 : r.size;
3542
+ return (r = hr(t)) == null ? void 0 : r.size;
3542
3543
  }
3543
3544
  );
3544
3545
  }
3545
- function di(e, t) {
3546
+ function pi(e, t) {
3546
3547
  return Promise.all(
3547
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3548
- ).then((n) => lr(e, ...n));
3549
- }
3550
- const ce = {};
3551
- function hr(e) {
3552
- if (!Ke(e))
3553
- return e in ce ? ce[e] : Promise.resolve();
3554
- const t = mi(e);
3555
- return ce[e] = Promise.all(
3548
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
3549
+ ).then((n) => ur(e, ...n));
3550
+ }
3551
+ const fe = {};
3552
+ function cr(e) {
3553
+ if (!et(e))
3554
+ return e in fe ? fe[e] : Promise.resolve();
3555
+ const t = di(e);
3556
+ return fe[e] = Promise.all(
3556
3557
  t.map(
3557
- ([r, n]) => di(r, n)
3558
+ ([r, n]) => pi(r, n)
3558
3559
  )
3559
3560
  ).then(() => {
3560
- if (Ke(e))
3561
- return hr(e);
3562
- delete ce[e];
3563
- }), ce[e];
3561
+ if (et(e))
3562
+ return cr(e);
3563
+ delete fe[e];
3564
+ }), fe[e];
3564
3565
  }
3565
- const pi = {
3566
+ const gi = {
3566
3567
  number: {
3567
3568
  scientific: { notation: "scientific" },
3568
3569
  engineering: { notation: "engineering" },
@@ -3591,150 +3592,150 @@ const pi = {
3591
3592
  timeZoneName: "short"
3592
3593
  }
3593
3594
  }
3594
- }, gi = {
3595
+ }, bi = {
3595
3596
  fallbackLocale: null,
3596
3597
  loadingDelay: 200,
3597
- formats: pi,
3598
+ formats: gi,
3598
3599
  warnOnMissingMessages: !0,
3599
3600
  handleMissingMessage: void 0,
3600
3601
  ignoreTag: !0
3601
- }, bi = gi;
3602
- function se() {
3603
- return bi;
3602
+ }, yi = bi;
3603
+ function ae() {
3604
+ return yi;
3604
3605
  }
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) => {
3606
+ const Ve = Ne(!1);
3607
+ var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
3607
3608
  for (var r in t || (t = {}))
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]);
3609
+ xi.call(t, r) && Ct(e, r, t[r]);
3610
+ if (xt)
3611
+ for (var r of xt(t))
3612
+ Ci.call(t, r) && Ct(e, r, t[r]);
3612
3613
  return e;
3613
- }, wi = (e, t) => vi(e, _i(t));
3614
- let et;
3615
- const Be = Me(null);
3616
- function Ct(e) {
3614
+ }, Hi = (e, t) => _i(e, Ei(t));
3615
+ let tt;
3616
+ const Ie = Ne(null);
3617
+ function wt(e) {
3617
3618
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3618
3619
  }
3619
- function Pe(e, t = se().fallbackLocale) {
3620
- const r = Ct(e);
3621
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3620
+ function Le(e, t = ae().fallbackLocale) {
3621
+ const r = wt(e);
3622
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3622
3623
  }
3623
- function q() {
3624
- return et ?? void 0;
3624
+ function J() {
3625
+ return tt ?? void 0;
3625
3626
  }
3626
- Be.subscribe((e) => {
3627
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3627
+ Ie.subscribe((e) => {
3628
+ tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3628
3629
  });
3629
- const Hi = (e) => {
3630
- if (e && ci(e) && Ke(e)) {
3631
- const { loadingDelay: t } = se();
3630
+ const Si = (e) => {
3631
+ if (e && fi(e) && et(e)) {
3632
+ const { loadingDelay: t } = ae();
3632
3633
  let r;
3633
- return typeof window < "u" && q() != null && t ? r = window.setTimeout(
3634
- () => je.set(!0),
3634
+ return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3635
+ () => Ve.set(!0),
3635
3636
  t
3636
- ) : je.set(!0), hr(e).then(() => {
3637
- Be.set(e);
3637
+ ) : Ve.set(!0), cr(e).then(() => {
3638
+ Ie.set(e);
3638
3639
  }).finally(() => {
3639
- clearTimeout(r), je.set(!1);
3640
+ clearTimeout(r), Ve.set(!1);
3640
3641
  });
3641
3642
  }
3642
- return Be.set(e);
3643
- }, W = wi(Ci({}, Be), {
3644
- set: Hi
3645
- }), Oe = (e) => {
3643
+ return Ie.set(e);
3644
+ }, z = Hi(wi({}, Ie), {
3645
+ set: Si
3646
+ }), Fe = (e) => {
3646
3647
  const t = /* @__PURE__ */ Object.create(null);
3647
3648
  return (n) => {
3648
3649
  const i = JSON.stringify(n);
3649
3650
  return i in t ? t[i] : t[i] = e(n);
3650
3651
  };
3651
3652
  };
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) => {
3653
+ var Ti = Object.defineProperty, Me = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3653
3654
  for (var r in t || (t = {}))
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]);
3655
+ fr.call(t, r) && Ht(e, r, t[r]);
3656
+ if (Me)
3657
+ for (var r of Me(t))
3658
+ mr.call(t, r) && Ht(e, r, t[r]);
3658
3659
  return e;
3659
- }, ue = (e, t) => {
3660
+ }, he = (e, t) => {
3660
3661
  var r = {};
3661
3662
  for (var n in e)
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]);
3663
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3664
+ if (e != null && Me)
3665
+ for (var n of Me(e))
3666
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3666
3667
  return r;
3667
3668
  };
3668
- const be = (e, t) => {
3669
- const { formats: r } = se();
3669
+ const ye = (e, t) => {
3670
+ const { formats: r } = ae();
3670
3671
  if (e in r && t in r[e])
3671
3672
  return r[e][t];
3672
3673
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3673
- }, Ti = Oe(
3674
+ }, Ai = Fe(
3674
3675
  (e) => {
3675
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3676
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3676
3677
  if (r == null)
3677
3678
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3678
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3679
+ return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
3679
3680
  }
3680
- ), Ai = Oe(
3681
+ ), Bi = Fe(
3681
3682
  (e) => {
3682
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3683
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3683
3684
  if (r == null)
3684
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3685
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3686
+ return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
3686
3687
  }
3687
- ), Bi = Oe(
3688
+ ), Ii = Fe(
3688
3689
  (e) => {
3689
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3690
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3690
3691
  if (r == null)
3691
3692
  throw new Error(
3692
3693
  '[svelte-i18n] A "locale" must be set to format time values'
3693
3694
  );
3694
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3695
+ return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
3695
3696
  }
3696
- ), Ii = (e = {}) => {
3697
+ ), Mi = (e = {}) => {
3697
3698
  var t = e, {
3698
- locale: r = q()
3699
- } = t, n = ue(t, [
3699
+ locale: r = J()
3700
+ } = t, n = he(t, [
3700
3701
  "locale"
3701
3702
  ]);
3702
- return Ti(it({ locale: r }, n));
3703
- }, Mi = (e = {}) => {
3703
+ return Ai(ot({ locale: r }, n));
3704
+ }, Ni = (e = {}) => {
3704
3705
  var t = e, {
3705
- locale: r = q()
3706
- } = t, n = ue(t, [
3706
+ locale: r = J()
3707
+ } = t, n = he(t, [
3707
3708
  "locale"
3708
3709
  ]);
3709
- return Ai(it({ locale: r }, n));
3710
- }, Ni = (e = {}) => {
3710
+ return Bi(ot({ locale: r }, n));
3711
+ }, Pi = (e = {}) => {
3711
3712
  var t = e, {
3712
- locale: r = q()
3713
- } = t, n = ue(t, [
3713
+ locale: r = J()
3714
+ } = t, n = he(t, [
3714
3715
  "locale"
3715
3716
  ]);
3716
- return Bi(it({ locale: r }, n));
3717
- }, Li = Oe(
3717
+ return Ii(ot({ locale: r }, n));
3718
+ }, Oi = Fe(
3718
3719
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3719
- (e, t = q()) => new si(e, t, se().formats, {
3720
- ignoreTag: se().ignoreTag
3720
+ (e, t = J()) => new ai(e, t, ae().formats, {
3721
+ ignoreTag: ae().ignoreTag
3721
3722
  })
3722
- ), Pi = (e, t = {}) => {
3723
- var r, n, i, s;
3724
- let o = t;
3725
- typeof e == "object" && (o = e, e = o.id);
3723
+ ), Li = (e, t = {}) => {
3724
+ var r, n, i, o;
3725
+ let s = t;
3726
+ typeof e == "object" && (s = e, e = s.id);
3726
3727
  const {
3727
3728
  values: a,
3728
- locale: h = q(),
3729
+ locale: h = J(),
3729
3730
  default: l
3730
- } = o;
3731
+ } = s;
3731
3732
  if (h == null)
3732
3733
  throw new Error(
3733
3734
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3734
3735
  );
3735
- let u = sr(e, h);
3736
+ let u = ar(e, h);
3736
3737
  if (!u)
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;
3738
+ u = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3738
3739
  else if (typeof u != "string")
3739
3740
  return console.warn(
3740
3741
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3743,7 +3744,7 @@ const be = (e, t) => {
3743
3744
  return u;
3744
3745
  let m = u;
3745
3746
  try {
3746
- m = Li(u, h).format(a);
3747
+ m = Oi(u, h).format(a);
3747
3748
  } catch (f) {
3748
3749
  f instanceof Error && console.warn(
3749
3750
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3751,24 +3752,24 @@ const be = (e, t) => {
3751
3752
  );
3752
3753
  }
3753
3754
  return m;
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);
3756
- ae([W], () => Oi);
3757
- ae([W], () => Fi);
3758
- ae([W], () => Ri);
3759
- ae([W, le], () => Di);
3760
- function Ui({ withLocale: e, translations: t }) {
3761
- W.subscribe((r) => {
3762
- r == null && (le.set(t), W.set(e));
3755
+ }, Fi = (e, t) => Pi(t).format(e), Ri = (e, t) => Ni(t).format(e), Di = (e, t) => Mi(t).format(e), Ui = (e, t = J()) => ar(e, t);
3756
+ le([z, ue], () => Li);
3757
+ le([z], () => Fi);
3758
+ le([z], () => Ri);
3759
+ le([z], () => Di);
3760
+ le([z, ue], () => Ui);
3761
+ function Gi({ withLocale: e, translations: t }) {
3762
+ z.subscribe((r) => {
3763
+ r == null && (ue.set(t), z.set(e));
3763
3764
  });
3764
3765
  }
3765
- function Ht(e, t) {
3766
- lr(e, t);
3766
+ function St(e, t) {
3767
+ ur(e, t);
3767
3768
  }
3768
- function Gi(e) {
3769
- W.set(e);
3769
+ function ki(e) {
3770
+ z.set(e);
3770
3771
  }
3771
- const St = {
3772
+ const Tt = {
3772
3773
  en: {
3773
3774
  login: "Login",
3774
3775
  register: "Register",
@@ -3825,115 +3826,115 @@ const St = {
3825
3826
  deposit: "Deposit"
3826
3827
  }
3827
3828
  };
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}');
3829
+ function $i(e) {
3830
+ Br(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}');
3830
3831
  }
3831
- function Tt(e, t, r) {
3832
+ function At(e, t, r) {
3832
3833
  const n = e.slice();
3833
3834
  return n[48] = t[r], n[50] = r, n;
3834
3835
  }
3835
- function At(e, t, r) {
3836
+ function Bt(e, t, r) {
3836
3837
  const n = e.slice();
3837
3838
  return n[51] = t[r], n;
3838
3839
  }
3839
- function Bt(e, t, r) {
3840
+ function It(e, t, r) {
3840
3841
  const n = e.slice();
3841
3842
  return n[54] = t[r], n[56] = r, n;
3842
3843
  }
3843
- function It(e) {
3844
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3844
+ function Mt(e) {
3845
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
3845
3846
  /*sliderdata*/
3846
3847
  e[9]
3847
3848
  );
3848
- const s = (o) => (
3849
+ const o = (s) => (
3849
3850
  /*category*/
3850
- o[48].id
3851
+ s[48].id
3851
3852
  );
3852
- for (let o = 0; o < i.length; o += 1) {
3853
- let a = Tt(e, i, o), h = s(a);
3854
- r.set(h, t[o] = Ft(h, a));
3853
+ for (let s = 0; s < i.length; s += 1) {
3854
+ let a = At(e, i, s), h = o(a);
3855
+ r.set(h, t[s] = Rt(h, a));
3855
3856
  }
3856
3857
  return {
3857
3858
  c() {
3858
- for (let o = 0; o < t.length; o += 1)
3859
- t[o].c();
3860
- n = de();
3859
+ for (let s = 0; s < t.length; s += 1)
3860
+ t[s].c();
3861
+ n = pe();
3861
3862
  },
3862
- m(o, a) {
3863
+ m(s, a) {
3863
3864
  for (let h = 0; h < t.length; h += 1)
3864
- t[h] && t[h].m(o, a);
3865
- U(o, n, a);
3865
+ t[h] && t[h].m(s, a);
3866
+ U(s, n, a);
3866
3867
  },
3867
- p(o, a) {
3868
+ p(s, a) {
3868
3869
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3869
- 77775 && (i = re(
3870
+ 77775 && (i = ne(
3870
3871
  /*sliderdata*/
3871
- o[9]
3872
- ), t = kt(t, a, s, 1, o, i, r, n.parentNode, Gt, Ft, n, Tt));
3872
+ s[9]
3873
+ ), t = $t(t, a, o, 1, s, i, r, n.parentNode, kt, Rt, n, At));
3873
3874
  },
3874
- d(o) {
3875
- o && F(n);
3875
+ d(s) {
3876
+ s && F(n);
3876
3877
  for (let a = 0; a < t.length; a += 1)
3877
- t[a].d(o);
3878
+ t[a].d(s);
3878
3879
  }
3879
3880
  };
3880
3881
  }
3881
- function $i(e) {
3882
+ function ji(e) {
3882
3883
  let t, r = (
3883
3884
  /*category*/
3884
3885
  e[48].name + ""
3885
3886
  ), n;
3886
3887
  return {
3887
3888
  c() {
3888
- t = N("button"), n = ye(r), T(t, "class", "CategoryButton");
3889
+ t = N("button"), n = ve(r), H(t, "class", "CategoryButton");
3889
3890
  },
3890
- m(i, s) {
3891
- U(i, t, s), B(t, n);
3891
+ m(i, o) {
3892
+ U(i, t, o), B(t, n);
3892
3893
  },
3893
- p(i, s) {
3894
- s[0] & /*sliderdata*/
3894
+ p(i, o) {
3895
+ o[0] & /*sliderdata*/
3895
3896
  512 && r !== (r = /*category*/
3896
- i[48].name + "") && rt(n, r);
3897
+ i[48].name + "") && nt(n, r);
3897
3898
  },
3898
3899
  d(i) {
3899
3900
  i && F(t);
3900
3901
  }
3901
3902
  };
3902
3903
  }
3903
- function ji(e) {
3904
+ function Vi(e) {
3904
3905
  let t, r = (
3905
3906
  /*category*/
3906
3907
  e[48].label + ""
3907
3908
  ), n, i;
3908
3909
  return {
3909
3910
  c() {
3910
- t = N("a"), n = ye(r), T(t, "href", i = /*category*/
3911
+ t = N("a"), n = ve(r), H(t, "href", i = /*category*/
3911
3912
  e[48].path);
3912
3913
  },
3913
- m(s, o) {
3914
- U(s, t, o), B(t, n);
3914
+ m(o, s) {
3915
+ U(o, t, s), B(t, n);
3915
3916
  },
3916
- p(s, o) {
3917
- o[0] & /*sliderdata*/
3917
+ p(o, s) {
3918
+ s[0] & /*sliderdata*/
3918
3919
  512 && r !== (r = /*category*/
3919
- s[48].label + "") && rt(n, r), o[0] & /*sliderdata*/
3920
+ o[48].label + "") && nt(n, r), s[0] & /*sliderdata*/
3920
3921
  512 && i !== (i = /*category*/
3921
- s[48].path) && T(t, "href", i);
3922
+ o[48].path) && H(t, "href", i);
3922
3923
  },
3923
- d(s) {
3924
- s && F(t);
3924
+ d(o) {
3925
+ o && F(t);
3925
3926
  }
3926
3927
  };
3927
3928
  }
3928
- function Mt(e) {
3929
+ function Nt(e) {
3929
3930
  let t, r = (
3930
3931
  /*subGroupsData*/
3931
3932
  e[10].length > 0 && /*showsubgroups*/
3932
- e[2] == "true" && Nt(e)
3933
+ e[2] == "true" && Pt(e)
3933
3934
  );
3934
3935
  return {
3935
3936
  c() {
3936
- r && r.c(), t = de();
3937
+ r && r.c(), t = pe();
3937
3938
  },
3938
3939
  m(n, i) {
3939
3940
  r && r.m(n, i), U(n, t, i);
@@ -3941,59 +3942,59 @@ function Mt(e) {
3941
3942
  p(n, i) {
3942
3943
  /*subGroupsData*/
3943
3944
  n[10].length > 0 && /*showsubgroups*/
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);
3945
+ n[2] == "true" ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3945
3946
  },
3946
3947
  d(n) {
3947
3948
  n && F(t), r && r.d(n);
3948
3949
  }
3949
3950
  };
3950
3951
  }
3951
- function Nt(e) {
3952
- let t, r = re(
3952
+ function Pt(e) {
3953
+ let t, r = ne(
3953
3954
  /*subGroupsData*/
3954
3955
  e[10]
3955
3956
  ), n = [];
3956
3957
  for (let i = 0; i < r.length; i += 1)
3957
- n[i] = Ot(At(e, r, i));
3958
+ n[i] = Ft(Bt(e, r, i));
3958
3959
  return {
3959
3960
  c() {
3960
3961
  t = N("ul");
3961
3962
  for (let i = 0; i < n.length; i += 1)
3962
3963
  n[i].c();
3963
- T(t, "class", "DropDown");
3964
+ H(t, "class", "DropDown");
3964
3965
  },
3965
- m(i, s) {
3966
- U(i, t, s);
3967
- for (let o = 0; o < n.length; o += 1)
3968
- n[o] && n[o].m(t, null);
3966
+ m(i, o) {
3967
+ U(i, t, o);
3968
+ for (let s = 0; s < n.length; s += 1)
3969
+ n[s] && n[s].m(t, null);
3969
3970
  },
3970
- p(i, s) {
3971
- if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3971
+ p(i, o) {
3972
+ if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3972
3973
  10176) {
3973
- r = re(
3974
+ r = ne(
3974
3975
  /*subGroupsData*/
3975
3976
  i[10]
3976
3977
  );
3977
- let o;
3978
- for (o = 0; o < r.length; o += 1) {
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));
3978
+ let s;
3979
+ for (s = 0; s < r.length; s += 1) {
3980
+ const a = Bt(i, r, s);
3981
+ n[s] ? n[s].p(a, o) : (n[s] = Ft(a), n[s].c(), n[s].m(t, null));
3981
3982
  }
3982
- for (; o < n.length; o += 1)
3983
- n[o].d(1);
3983
+ for (; s < n.length; s += 1)
3984
+ n[s].d(1);
3984
3985
  n.length = r.length;
3985
3986
  }
3986
3987
  },
3987
3988
  d(i) {
3988
- i && F(t), Mr(n, i);
3989
+ i && F(t), Nr(n, i);
3989
3990
  }
3990
3991
  };
3991
3992
  }
3992
- function Lt(e) {
3993
+ function Ot(e) {
3993
3994
  let t, r, n = (
3994
3995
  /*subGroupItem*/
3995
3996
  e[54]?.name + ""
3996
- ), i, s, o, a, h;
3997
+ ), i, o, s, a, h;
3997
3998
  function l(...u) {
3998
3999
  return (
3999
4000
  /*click_handler_1*/
@@ -4012,7 +4013,7 @@ function Lt(e) {
4012
4013
  }
4013
4014
  return {
4014
4015
  c() {
4015
- t = N("li"), r = N("a"), i = ye(n), o = Z(), T(r, "class", s = "SubDropDown " + /*index*/
4016
+ t = N("li"), r = N("a"), i = ve(n), s = Q(), H(r, "class", o = "SubDropDown " + /*index*/
4016
4017
  (e[50] == /*activeIndex*/
4017
4018
  e[6] && /*activeSubIndex*/
4018
4019
  (e[7] == /*subindex*/
@@ -4021,94 +4022,94 @@ function Lt(e) {
4021
4022
  e[56]) ? "active" : ""));
4022
4023
  },
4023
4024
  m(u, m) {
4024
- U(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Ae(t, "click", l), a = !0);
4025
+ U(u, t, m), B(t, r), B(r, i), B(t, s), a || (h = Ae(t, "click", l), a = !0);
4025
4026
  },
4026
4027
  p(u, m) {
4027
4028
  e = u, m[0] & /*subGroupsData*/
4028
4029
  1024 && n !== (n = /*subGroupItem*/
4029
- e[54]?.name + "") && rt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4030
- 1984 && s !== (s = "SubDropDown " + /*index*/
4030
+ e[54]?.name + "") && nt(i, n), m[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4031
+ 1984 && o !== (o = "SubDropDown " + /*index*/
4031
4032
  (e[50] == /*activeIndex*/
4032
4033
  e[6] && /*activeSubIndex*/
4033
4034
  (e[7] == /*subindex*/
4034
4035
  e[56] || /*prevSubIndex*/
4035
4036
  e[8] == /*subindex*/
4036
- e[56]) ? "active" : "")) && T(r, "class", s);
4037
+ e[56]) ? "active" : "")) && H(r, "class", o);
4037
4038
  },
4038
4039
  d(u) {
4039
4040
  u && F(t), a = !1, h();
4040
4041
  }
4041
4042
  };
4042
4043
  }
4043
- function Pt(e, t) {
4044
+ function Lt(e, t) {
4044
4045
  let r, n, i = (
4045
4046
  /*index*/
4046
4047
  t[50] == /*subGroup*/
4047
- t[51].index && Lt(t)
4048
+ t[51].index && Ot(t)
4048
4049
  );
4049
4050
  return {
4050
4051
  key: e,
4051
4052
  first: null,
4052
4053
  c() {
4053
- r = de(), i && i.c(), n = de(), this.first = r;
4054
+ r = pe(), i && i.c(), n = pe(), this.first = r;
4054
4055
  },
4055
- m(s, o) {
4056
- U(s, r, o), i && i.m(s, o), U(s, n, o);
4056
+ m(o, s) {
4057
+ U(o, r, s), i && i.m(o, s), U(o, n, s);
4057
4058
  },
4058
- p(s, o) {
4059
- t = s, /*index*/
4059
+ p(o, s) {
4060
+ t = o, /*index*/
4060
4061
  t[50] == /*subGroup*/
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);
4062
+ t[51].index ? i ? i.p(t, s) : (i = Ot(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4062
4063
  },
4063
- d(s) {
4064
- s && (F(r), F(n)), i && i.d(s);
4064
+ d(o) {
4065
+ o && (F(r), F(n)), i && i.d(o);
4065
4066
  }
4066
4067
  };
4067
4068
  }
4068
- function Ot(e) {
4069
- let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4069
+ function Ft(e) {
4070
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ne(
4070
4071
  /*subGroup*/
4071
4072
  e[51].items
4072
4073
  );
4073
- const s = (o) => (
4074
+ const o = (s) => (
4074
4075
  /*subGroupItem*/
4075
- o[54].id
4076
+ s[54].id
4076
4077
  );
4077
- for (let o = 0; o < i.length; o += 1) {
4078
- let a = Bt(e, i, o), h = s(a);
4079
- r.set(h, t[o] = Pt(h, a));
4078
+ for (let s = 0; s < i.length; s += 1) {
4079
+ let a = It(e, i, s), h = o(a);
4080
+ r.set(h, t[s] = Lt(h, a));
4080
4081
  }
4081
4082
  return {
4082
4083
  c() {
4083
- for (let o = 0; o < t.length; o += 1)
4084
- t[o].c();
4085
- n = de();
4084
+ for (let s = 0; s < t.length; s += 1)
4085
+ t[s].c();
4086
+ n = pe();
4086
4087
  },
4087
- m(o, a) {
4088
+ m(s, a) {
4088
4089
  for (let h = 0; h < t.length; h += 1)
4089
- t[h] && t[h].m(o, a);
4090
- U(o, n, a);
4090
+ t[h] && t[h].m(s, a);
4091
+ U(s, n, a);
4091
4092
  },
4092
- p(o, a) {
4093
+ p(s, a) {
4093
4094
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4094
- 10176 && (i = re(
4095
+ 10176 && (i = ne(
4095
4096
  /*subGroup*/
4096
- o[51].items
4097
- ), t = kt(t, a, s, 1, o, i, r, n.parentNode, Gt, Pt, n, Bt));
4097
+ s[51].items
4098
+ ), t = $t(t, a, o, 1, s, i, r, n.parentNode, kt, Lt, n, It));
4098
4099
  },
4099
- d(o) {
4100
- o && F(n);
4100
+ d(s) {
4101
+ s && F(n);
4101
4102
  for (let a = 0; a < t.length; a += 1)
4102
- t[a].d(o);
4103
+ t[a].d(s);
4103
4104
  }
4104
4105
  };
4105
4106
  }
4106
- function Ft(e, t) {
4107
- let r, n, i, s, o, a, h, l, u, m, f;
4108
- function p(E, H) {
4107
+ function Rt(e, t) {
4108
+ let r, n, i, o, s, a, h, l, u, m, f;
4109
+ function p(_, w) {
4109
4110
  return (
4110
4111
  /*location*/
4111
- E[0] === "headerMain" ? ji : $i
4112
+ _[0] === "headerMain" ? Vi : ji
4112
4113
  );
4113
4114
  }
4114
4115
  let g = p(t), b = g(t), d = (
@@ -4116,9 +4117,9 @@ function Ft(e, t) {
4116
4117
  t[11][
4117
4118
  /*index*/
4118
4119
  t[50]
4119
- ] == !0 && Mt(t)
4120
+ ] == !0 && Nt(t)
4120
4121
  );
4121
- function w(...E) {
4122
+ function C(..._) {
4122
4123
  return (
4123
4124
  /*click_handler_2*/
4124
4125
  t[34](
@@ -4126,7 +4127,7 @@ function Ft(e, t) {
4126
4127
  t[48],
4127
4128
  /*index*/
4128
4129
  t[50],
4129
- ...E
4130
+ ..._
4130
4131
  )
4131
4132
  );
4132
4133
  }
@@ -4134,12 +4135,12 @@ function Ft(e, t) {
4134
4135
  key: e,
4135
4136
  first: null,
4136
4137
  c() {
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*/
4138
+ r = N("li"), n = N("div"), i = N("img"), a = Q(), b.c(), h = Q(), d && d.c(), l = Q(), H(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4139
+ (t[3] === "true" ? "" : "DisplayNone")), ct(i.src, s = /*handleSrc*/
4139
4140
  t[16](
4140
4141
  /*category*/
4141
4142
  t[48]
4142
- )) || Ce(i, "src", o), T(n, "class", "CategoryIcon"), T(r, "class", u = "CarouselItem " + /*activeindex*/
4143
+ )) || H(i, "src", s), H(n, "class", "CategoryIcon"), H(r, "class", u = "CarouselItem " + /*activeindex*/
4143
4144
  (t[1]?.toString().indexOf("$") > -1 ? (
4144
4145
  /*activeindex*/
4145
4146
  t[1]?.split("$").pop() == /*category*/
@@ -4151,22 +4152,22 @@ function Ft(e, t) {
4151
4152
  )) + " " + /*location*/
4152
4153
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4153
4154
  },
4154
- m(E, H) {
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);
4155
+ m(_, w) {
4156
+ U(_, r, w), 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", C), m = !0);
4156
4157
  },
4157
- p(E, H) {
4158
- t = E, H[0] & /*categoriesicon*/
4159
- 8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4160
- (t[3] === "true" ? "" : "DisplayNone")) && Ce(i, "imgClass", s), H[0] & /*sliderdata*/
4161
- 512 && !ht(i.src, o = /*handleSrc*/
4158
+ p(_, w) {
4159
+ t = _, w[0] & /*categoriesicon*/
4160
+ 8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4161
+ (t[3] === "true" ? "" : "DisplayNone")) && H(i, "class", o), w[0] & /*sliderdata*/
4162
+ 512 && !ct(i.src, s = /*handleSrc*/
4162
4163
  t[16](
4163
4164
  /*category*/
4164
4165
  t[48]
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*/
4166
+ )) && H(i, "src", s), g === (g = p(t)) && b ? b.p(t, w) : (b.d(1), b = g(t), b && (b.c(), b.m(r, h))), /*itemsActive*/
4166
4167
  t[11][
4167
4168
  /*index*/
4168
4169
  t[50]
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*/
4170
+ ] == !0 ? d ? d.p(t, w) : (d = Nt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), w[0] & /*activeindex, sliderdata, location*/
4170
4171
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4171
4172
  (t[1]?.toString().indexOf("$") > -1 ? (
4172
4173
  /*activeindex*/
@@ -4177,27 +4178,27 @@ function Ft(e, t) {
4177
4178
  t[1] == /*category*/
4178
4179
  t[48].id ? "active" : ""
4179
4180
  )) + " " + /*location*/
4180
- (t[0] == "headerMain" ? "" : "SecondaryMenu")) && T(r, "class", u);
4181
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")) && H(r, "class", u);
4181
4182
  },
4182
- d(E) {
4183
- E && F(r), b.d(), d && d.d(), m = !1, f();
4183
+ d(_) {
4184
+ _ && F(r), b.d(), d && d.d(), m = !1, f();
4184
4185
  }
4185
4186
  };
4186
4187
  }
4187
- function Vi(e) {
4188
- let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4188
+ function Xi(e) {
4189
+ let t, r, n, i, o, s, a, h, l, u, m, f, p, g, b, d = (
4189
4190
  /*sliderdata*/
4190
- e[9].length > 0 && It(e)
4191
+ e[9].length > 0 && Mt(e)
4191
4192
  );
4192
4193
  return {
4193
4194
  c() {
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*/
4195
+ 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 = Q(), o = N("div"), s = N("ul"), a = N("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Q(), d && d.c(), l = Q(), 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>', H(n, "class", "CarouselLeftArrow"), H(a, "class", "TouchOnly"), H(s, "id", "CarouselNav"), H(s, "class", "CarouselItems"), H(o, "class", "CarouselNavWrap scroller"), H(u, "class", "CarouselRightArrow"), H(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4196
+ e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), H(r, "style", f = /*location*/
4197
+ e[0] === "headerMain" ? "max-width: auto" : void 0), H(t, "class", p = "CarouselWrapper " + /*location*/
4197
4198
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4198
4199
  },
4199
- m(w, E) {
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 = [
4200
+ m(C, _) {
4201
+ U(C, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, h), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, u), e[38](t), g || (b = [
4201
4202
  Ae(
4202
4203
  n,
4203
4204
  "click",
@@ -4212,175 +4213,175 @@ function Vi(e) {
4212
4213
  )
4213
4214
  ], g = !0);
4214
4215
  },
4215
- p(w, E) {
4216
+ p(C, _) {
4216
4217
  /*sliderdata*/
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*/
4218
+ C[9].length > 0 ? d ? d.p(C, _) : (d = Mt(C), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4218
4219
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4219
- w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && T(r, "class", m), E[0] & /*location*/
4220
+ C[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && H(r, "class", m), _[0] & /*location*/
4220
4221
  1 && f !== (f = /*location*/
4221
- w[0] === "headerMain" ? "max-width: auto" : void 0) && T(r, "style", f), E[0] & /*location*/
4222
+ C[0] === "headerMain" ? "max-width: auto" : void 0) && H(r, "style", f), _[0] & /*location*/
4222
4223
  1 && p !== (p = "CarouselWrapper " + /*location*/
4223
- (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && T(t, "class", p);
4224
+ (C[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && H(t, "class", p);
4224
4225
  },
4225
4226
  i: G,
4226
4227
  o: G,
4227
- d(w) {
4228
- w && F(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, Q(b);
4228
+ d(C) {
4229
+ C && F(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, q(b);
4229
4230
  }
4230
4231
  };
4231
4232
  }
4232
- function Xi(e, t, r) {
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;
4234
- Ui({ withLocale: "en", translations: {} });
4233
+ function Wi(e, t, r) {
4234
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "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: C = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: R = "" } = t, { mbsource: O = "" } = t;
4235
+ Gi({ withLocale: "en", translations: {} });
4235
4236
  const k = () => {
4236
- fetch(f).then((x) => x.json()).then((x) => {
4237
- Object.keys(x).forEach((D) => {
4238
- Ht(D, x[D]);
4237
+ fetch(f).then((E) => E.json()).then((E) => {
4238
+ Object.keys(E).forEach((D) => {
4239
+ St(D, E[D]);
4239
4240
  });
4240
- }).catch((x) => {
4241
- console.log(x);
4241
+ }).catch((E) => {
4242
+ console.log(E);
4242
4243
  });
4243
4244
  };
4244
- Object.keys(St).forEach((c) => {
4245
- Ht(c, St[c]);
4245
+ Object.keys(Tt).forEach((c) => {
4246
+ St(c, Tt[c]);
4246
4247
  });
4247
- let C, I, L, j, $, he = [], ve = [], J = [], M, Fe = (c, x, D, z, V) => {
4248
- if (!(c.subGroups && z === null)) {
4249
- if (_e(), r(6, I = x), r(6, I), V != "secondary") {
4248
+ let x, I, P, V, j, ce = [], _e = [], Y = [], M, Re = (c, E, D, Z, X) => {
4249
+ if (!(c.subGroups && Z === null)) {
4250
+ if (Ee(), r(6, I = E), r(6, I), X != "secondary") {
4250
4251
  window.postMessage(
4251
4252
  {
4252
- type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4253
+ type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4253
4254
  buzz: "1",
4254
4255
  itemId: c.id,
4255
- index: x,
4256
+ index: E,
4256
4257
  item: c,
4257
4258
  path: c.path,
4258
4259
  externalLink: c.externalLink || !1,
4259
4260
  target: c.attrs?.target || null
4260
4261
  },
4261
4262
  window.location.href
4262
- ), r(7, L = null), r(8, j = null);
4263
+ ), r(7, P = null), r(8, V = null);
4263
4264
  return;
4264
4265
  }
4265
- r(7, L = z), r(7, L), r(8, j = L), window.postMessage(
4266
+ r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
4266
4267
  {
4267
- type: o,
4268
+ type: s,
4268
4269
  itemId: D.id,
4269
- subIndex: z,
4270
+ subIndex: Z,
4270
4271
  subItem: D
4271
4272
  },
4272
4273
  window.location.href
4273
4274
  );
4274
4275
  }
4275
- }, ot = () => {
4276
- M && (J.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4277
4276
  }, st = () => {
4278
- M && (J.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4277
+ M && (Y.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4278
+ }, at = () => {
4279
+ M && (Y.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4279
4280
  };
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) => {
4282
- x.path.endsWith("/casino") && (r(6, I = D), r(6, I));
4281
+ const lt = (c) => {
4282
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, ce = c.data.data), r(11, Y = new Array(ce.length).fill(!1)), C == "true" && gr()), c.data.type == "GoToHomepage" && ce.forEach((E, D) => {
4283
+ E.path.endsWith("/casino") && (r(6, I = D), r(6, I));
4283
4284
  });
4284
- }, mr = () => {
4285
- Gi(b);
4286
- }, dr = (c, x, D) => {
4285
+ }, dr = () => {
4286
+ ki(b);
4287
+ }, pr = (c, E, D) => {
4287
4288
  if (h == "secondaryMenu" && n && i && b && c.id) {
4288
- let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4289
- fetch(z.href).then((V) => V.json()).then((V) => {
4290
- V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
4289
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4290
+ fetch(Z.href).then((X) => X.json()).then((X) => {
4291
+ X.index = E, r(10, _e = _e.concat(X)), C == "false" && window.postMessage(
4291
4292
  {
4292
- type: o,
4293
+ type: s,
4293
4294
  itemId: c.id,
4294
- index: x,
4295
+ index: E,
4295
4296
  item: c
4296
4297
  },
4297
4298
  window.location.href
4298
4299
  );
4299
- const Ee = [];
4300
- ve.map((wr) => (wr.items.forEach((lt) => {
4301
- Ee.find((Hr) => lt.id == Hr) || Ee.push(lt.id);
4302
- }), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
4300
+ const xe = [];
4301
+ _e.map((Hr) => (Hr.items.forEach((ut) => {
4302
+ xe.find((Sr) => ut.id == Sr) || xe.push(ut.id);
4303
+ }), xe.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: xe }, window.location.href);
4303
4304
  }).then(() => {
4304
- C.querySelectorAll(".DropDown") && _e();
4305
+ x.querySelectorAll(".DropDown") && Ee();
4305
4306
  });
4306
4307
  }
4307
- h == "headerMain" && window.postMessage({ type: o, item: c }, window.location.href);
4308
- }, _e = () => {
4309
- const c = C.querySelectorAll(".DropDown");
4308
+ h == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4309
+ }, Ee = () => {
4310
+ const c = x.querySelectorAll(".DropDown");
4310
4311
  document.activeElement.blur(), M.classList.add("isScrolling");
4311
- for (let x = 0; x < c.length; x++)
4312
- c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4312
+ for (let E = 0; E < c.length; E++)
4313
+ c[E].style.transform = "translateX(-" + M.scrollLeft + "px)";
4313
4314
  M.classList.remove("isScrolling");
4314
- }, pr = () => {
4315
- he.forEach((c, x) => {
4316
- c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), dr(c, x));
4315
+ }, gr = () => {
4316
+ ce.forEach((c, E) => {
4317
+ c?.subGroups?.count > 0 && (r(11, Y[E] = !0, Y), pr(c, E));
4317
4318
  });
4318
- }, gr = (c) => {
4319
- let x = "";
4320
- return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = R), c.icon || x;
4319
+ }, br = (c) => {
4320
+ let E = "";
4321
+ return c.id === "LOBBY" ? E = w : c.id === "MYGAMES" && (E = R), c.icon || E;
4321
4322
  };
4322
- Or(() => (window.addEventListener("message", at, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4323
+ Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4323
4324
  () => {
4324
- M.addEventListener("scroll", _e);
4325
+ M.addEventListener("scroll", Ee);
4325
4326
  },
4326
4327
  500
4327
4328
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4328
- window.removeEventListener("message", at), C.removeEventListener("scroll", _e);
4329
+ window.removeEventListener("message", lt), x.removeEventListener("scroll", Ee);
4329
4330
  }));
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();
4331
+ const yr = () => st(), vr = (c, E, D, Z, X) => {
4332
+ Re(c, E, D, Z, "secondary"), X.stopPropagation();
4333
+ }, _r = (c, E, D) => {
4334
+ Re(c, E, null, null, "main"), D.preventDefault();
4334
4335
  };
4335
- function _r(c) {
4336
- me[c ? "unshift" : "push"](() => {
4337
- C = c, r(5, C);
4336
+ function Er(c) {
4337
+ de[c ? "unshift" : "push"](() => {
4338
+ x = c, r(5, x);
4338
4339
  });
4339
4340
  }
4340
- function Er(c) {
4341
- me[c ? "unshift" : "push"](() => {
4341
+ function xr(c) {
4342
+ de[c ? "unshift" : "push"](() => {
4342
4343
  M = c, r(12, M);
4343
4344
  });
4344
4345
  }
4345
- const xr = () => st();
4346
- function Cr(c) {
4347
- me[c ? "unshift" : "push"](() => {
4348
- $ = c, r(4, $);
4346
+ const Cr = () => at();
4347
+ function wr(c) {
4348
+ de[c ? "unshift" : "push"](() => {
4349
+ j = c, r(4, j);
4349
4350
  });
4350
4351
  }
4351
4352
  return e.$$set = (c) => {
4352
- "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29, H = c.lobbyiconimage), "mygamesiconimage" in c && r(30, R = c.mygamesiconimage), "mbsource" in c && r(31, P = c.mbsource);
4353
+ "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, C = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, w = c.lobbyiconimage), "mygamesiconimage" in c && r(30, R = c.mygamesiconimage), "mbsource" in c && r(31, O = c.mbsource);
4353
4354
  }, e.$$.update = () => {
4354
4355
  e.$$.dirty[0] & /*activeindex*/
4355
4356
  2, e.$$.dirty[0] & /*translationurl*/
4356
4357
  33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4357
- 4194320 && l && $ && Zr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4358
- 8388624 && u && $ && Qr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4358
+ 4194320 && l && j && Qr(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4359
+ 8388624 && u && j && qr(j, u), e.$$.dirty[0] & /*customStylingContainer*/
4359
4360
  16 | e.$$.dirty[1] & /*mbsource*/
4360
- 1 && P && $ && qr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4361
- 268435456 && b && mr();
4361
+ 1 && O && j && Jr(j, `${O}.Style`), e.$$.dirty[0] & /*lang*/
4362
+ 268435456 && b && dr();
4362
4363
  }, [
4363
4364
  h,
4364
4365
  d,
4365
- w,
4366
- E,
4367
- $,
4368
4366
  C,
4369
- I,
4370
- L,
4367
+ _,
4371
4368
  j,
4372
- he,
4373
- ve,
4374
- J,
4369
+ x,
4370
+ I,
4371
+ P,
4372
+ V,
4373
+ ce,
4374
+ _e,
4375
+ Y,
4375
4376
  M,
4376
- Fe,
4377
- ot,
4377
+ Re,
4378
4378
  st,
4379
- gr,
4379
+ at,
4380
+ br,
4380
4381
  n,
4381
4382
  i,
4382
- s,
4383
4383
  o,
4384
+ s,
4384
4385
  a,
4385
4386
  l,
4386
4387
  u,
@@ -4389,26 +4390,26 @@ function Xi(e, t, r) {
4389
4390
  p,
4390
4391
  g,
4391
4392
  b,
4392
- H,
4393
+ w,
4393
4394
  R,
4394
- P,
4395
- br,
4395
+ O,
4396
4396
  yr,
4397
4397
  vr,
4398
4398
  _r,
4399
4399
  Er,
4400
4400
  xr,
4401
- Cr
4401
+ Cr,
4402
+ wr
4402
4403
  ];
4403
4404
  }
4404
- class Wi extends Wr {
4405
+ class zi extends zr {
4405
4406
  constructor(t) {
4406
- super(), Vr(
4407
+ super(), Xr(
4407
4408
  this,
4408
4409
  t,
4410
+ Wi,
4409
4411
  Xi,
4410
- Vi,
4411
- Dt,
4412
+ Ut,
4412
4413
  {
4413
4414
  endpoint: 17,
4414
4415
  datasource: 18,
@@ -4430,7 +4431,7 @@ class Wi extends Wr {
4430
4431
  mygamesiconimage: 30,
4431
4432
  mbsource: 31
4432
4433
  },
4433
- ki,
4434
+ $i,
4434
4435
  [-1, -1]
4435
4436
  );
4436
4437
  }
@@ -4549,7 +4550,7 @@ class Wi extends Wr {
4549
4550
  this.$$set({ mbsource: t }), A();
4550
4551
  }
4551
4552
  }
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);
4553
+ Wr(zi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4553
4554
  export {
4554
- Wi as C
4555
+ zi as C
4555
4556
  };