@everymatrix/casino-slider 1.66.2 → 1.67.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Pr = Object.defineProperty, Or = Object.defineProperties;
2
- var Lr = Object.getOwnPropertyDescriptors;
3
- var ft = Object.getOwnPropertySymbols;
4
- var Fr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
1
+ var Nr = Object.defineProperty, Lr = Object.defineProperties;
2
+ var Pr = Object.getOwnPropertyDescriptors;
3
+ var ct = Object.getOwnPropertySymbols;
4
+ var Or = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
+ var Re = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Fr.call(t, r) && Ue(e, r, t[r]);
8
- if (ft)
9
- for (var r of ft(t))
10
- Rr.call(t, r) && Ue(e, r, t[r]);
7
+ Or.call(t, r) && Re(e, r, t[r]);
8
+ if (ct)
9
+ for (var r of ct(t))
10
+ Fr.call(t, r) && Re(e, r, t[r]);
11
11
  return e;
12
- }, dt = (e, t) => Or(e, Lr(t));
13
- var U = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var pt = (e, t, r) => new Promise((n, i) => {
12
+ }, mt = (e, t) => Lr(e, Pr(t));
13
+ var U = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var dt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,29 +29,29 @@ var pt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function k() {
31
31
  }
32
- function Vt(e) {
32
+ function jt(e) {
33
33
  return e();
34
34
  }
35
- function gt() {
35
+ function pt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Y(e) {
39
- e.forEach(Vt);
38
+ function J(e) {
39
+ e.forEach(jt);
40
40
  }
41
- function it(e) {
41
+ function rt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Xt(e, t) {
44
+ function Vt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let we;
48
- function bt(e, t) {
49
- return e === t ? !0 : (we || (we = document.createElement("a")), we.href = t, e === we.href);
47
+ let Ce;
48
+ function gt(e, t) {
49
+ return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
50
50
  }
51
- function Dr(e) {
51
+ function Rr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ur(e, ...t) {
54
+ function Dr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -63,14 +63,14 @@ function Ur(e, ...t) {
63
63
  function B(e, t) {
64
64
  e.appendChild(t);
65
65
  }
66
- function Gr(e, t, r) {
67
- const n = kr(e);
66
+ function Ur(e, t, r) {
67
+ const n = Gr(e);
68
68
  if (!n.getElementById(t)) {
69
- const i = P("style");
70
- i.id = t, i.textContent = r, $r(n, i);
69
+ const i = L("style");
70
+ i.id = t, i.textContent = r, kr(n, i);
71
71
  }
72
72
  }
73
- function kr(e) {
73
+ function Gr(e) {
74
74
  if (!e)
75
75
  return document;
76
76
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -80,7 +80,7 @@ function kr(e) {
80
80
  t
81
81
  ) : e.ownerDocument;
82
82
  }
83
- function $r(e, t) {
83
+ function kr(e, t) {
84
84
  return B(
85
85
  /** @type {Document} */
86
86
  e.head || e,
@@ -93,36 +93,36 @@ function G(e, t, r) {
93
93
  function D(e) {
94
94
  e.parentNode && e.parentNode.removeChild(e);
95
95
  }
96
- function jr(e, t) {
96
+ function $r(e, t) {
97
97
  for (let r = 0; r < e.length; r += 1)
98
98
  e[r] && e[r].d(t);
99
99
  }
100
- function P(e) {
100
+ function L(e) {
101
101
  return document.createElement(e);
102
102
  }
103
- function Ee(e) {
103
+ function ve(e) {
104
104
  return document.createTextNode(e);
105
105
  }
106
- function J() {
107
- return Ee(" ");
106
+ function q() {
107
+ return ve(" ");
108
108
  }
109
- function be() {
110
- return Ee("");
109
+ function ge() {
110
+ return ve("");
111
111
  }
112
- function Be(e, t, r, n) {
112
+ function Ae(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function H(e, t, r) {
115
+ function S(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function Vr(e) {
118
+ function jr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
- function ot(e, t) {
121
+ function nt(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function Xr(e) {
125
+ function Vr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,120 +131,120 @@ function Xr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let ye;
135
- function pe(e) {
136
- ye = e;
134
+ let be;
135
+ function de(e) {
136
+ be = e;
137
137
  }
138
- function Wr() {
139
- if (!ye)
138
+ function Xr() {
139
+ if (!be)
140
140
  throw new Error("Function called outside component initialization");
141
- return ye;
141
+ return be;
142
142
  }
143
- function zr(e) {
144
- Wr().$$.on_mount.push(e);
143
+ function Wr(e) {
144
+ Xr().$$.on_mount.push(e);
145
145
  }
146
- const ne = [], ge = [];
147
- let ie = [];
148
- const yt = [], Zr = /* @__PURE__ */ Promise.resolve();
149
- let ze = !1;
150
- function Qr() {
151
- ze || (ze = !0, Zr.then(A));
146
+ const re = [], pe = [];
147
+ let ne = [];
148
+ const bt = [], zr = /* @__PURE__ */ Promise.resolve();
149
+ let Xe = !1;
150
+ function Zr() {
151
+ Xe || (Xe = !0, zr.then(A));
152
152
  }
153
- function Ze(e) {
154
- ie.push(e);
153
+ function We(e) {
154
+ ne.push(e);
155
155
  }
156
- const Ge = /* @__PURE__ */ new Set();
157
- let te = 0;
156
+ const De = /* @__PURE__ */ new Set();
157
+ let ee = 0;
158
158
  function A() {
159
- if (te !== 0)
159
+ if (ee !== 0)
160
160
  return;
161
- const e = ye;
161
+ const e = be;
162
162
  do {
163
163
  try {
164
- for (; te < ne.length; ) {
165
- const t = ne[te];
166
- te++, pe(t), qr(t.$$);
164
+ for (; ee < re.length; ) {
165
+ const t = re[ee];
166
+ ee++, de(t), Qr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
- throw ne.length = 0, te = 0, t;
169
+ throw re.length = 0, ee = 0, t;
170
170
  }
171
- for (pe(null), ne.length = 0, te = 0; ge.length; )
172
- ge.pop()();
173
- for (let t = 0; t < ie.length; t += 1) {
174
- const r = ie[t];
175
- Ge.has(r) || (Ge.add(r), r());
171
+ for (de(null), re.length = 0, ee = 0; pe.length; )
172
+ pe.pop()();
173
+ for (let t = 0; t < ne.length; t += 1) {
174
+ const r = ne[t];
175
+ De.has(r) || (De.add(r), r());
176
176
  }
177
- ie.length = 0;
178
- } while (ne.length);
179
- for (; yt.length; )
180
- yt.pop()();
181
- ze = !1, Ge.clear(), pe(e);
177
+ ne.length = 0;
178
+ } while (re.length);
179
+ for (; bt.length; )
180
+ bt.pop()();
181
+ Xe = !1, De.clear(), de(e);
182
182
  }
183
- function qr(e) {
183
+ function Qr(e) {
184
184
  if (e.fragment !== null) {
185
- e.update(), Y(e.before_update);
185
+ e.update(), J(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
188
188
  }
189
189
  }
190
- function Jr(e) {
190
+ function qr(e) {
191
191
  const t = [], r = [];
192
- ie.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ie = t;
192
+ ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
193
193
  }
194
- const Yr = /* @__PURE__ */ new Set();
195
- function Wt(e, t) {
196
- e && e.i && (Yr.delete(e), e.i(t));
194
+ const Jr = /* @__PURE__ */ new Set();
195
+ function Xt(e, t) {
196
+ e && e.i && (Jr.delete(e), e.i(t));
197
197
  }
198
- function oe(e) {
198
+ function ie(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function zt(e, t) {
201
+ function Wt(e, t) {
202
202
  e.d(1), t.delete(e.key);
203
203
  }
204
- function Zt(e, t, r, n, i, o, s, a, u, l, h, m) {
204
+ function zt(e, t, r, n, i, o, s, a, u, l, h, m) {
205
205
  let f = e.length, p = o.length, g = f;
206
206
  const b = {};
207
207
  for (; g--; )
208
208
  b[e[g].key] = g;
209
- const d = [], w = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), E = [];
209
+ const d = [], H = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), x = [];
210
210
  for (g = p; g--; ) {
211
- const C = m(i, o, g), M = r(C);
212
- let O = s.get(M);
213
- O ? E.push(() => O.p(C, t)) : (O = l(M, C), O.c()), w.set(M, d[g] = O), M in b && _.set(M, Math.abs(g - b[M]));
211
+ const w = m(i, o, g), M = r(w);
212
+ let P = s.get(M);
213
+ P ? x.push(() => P.p(w, t)) : (P = l(M, w), P.c()), H.set(M, d[g] = P), M in b && v.set(M, Math.abs(g - b[M]));
214
214
  }
215
- const L = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
216
- function $(C) {
217
- Wt(C, 1), C.m(a, h), s.set(C.key, C), h = C.first, p--;
215
+ const O = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
216
+ function $(w) {
217
+ Xt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, p--;
218
218
  }
219
219
  for (; f && p; ) {
220
- const C = d[p - 1], M = e[f - 1], O = C.key, X = M.key;
221
- C === M ? (h = C.first, f--, p--) : w.has(X) ? !s.has(O) || L.has(O) ? $(C) : I.has(X) ? f-- : _.get(O) > _.get(X) ? (I.add(O), $(C)) : (L.add(X), f--) : (u(M, s), f--);
220
+ const w = d[p - 1], M = e[f - 1], P = w.key, V = M.key;
221
+ w === M ? (h = w.first, f--, p--) : H.has(V) ? !s.has(P) || O.has(P) ? $(w) : I.has(V) ? f-- : v.get(P) > v.get(V) ? (I.add(P), $(w)) : (O.add(V), f--) : (u(M, s), f--);
222
222
  }
223
223
  for (; f--; ) {
224
- const C = e[f];
225
- w.has(C.key) || u(C, s);
224
+ const w = e[f];
225
+ H.has(w.key) || u(w, s);
226
226
  }
227
227
  for (; p; )
228
228
  $(d[p - 1]);
229
- return Y(E), d;
229
+ return J(x), d;
230
230
  }
231
- function Kr(e, t, r) {
231
+ function Yr(e, t, r) {
232
232
  const { fragment: n, after_update: i } = e.$$;
233
- n && n.m(t, r), Ze(() => {
234
- const o = e.$$.on_mount.map(Vt).filter(it);
235
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
236
- }), i.forEach(Ze);
233
+ n && n.m(t, r), We(() => {
234
+ const o = e.$$.on_mount.map(jt).filter(rt);
235
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
236
+ }), i.forEach(We);
237
237
  }
238
- function en(e, t) {
238
+ function Kr(e, t) {
239
239
  const r = e.$$;
240
- r.fragment !== null && (Jr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
240
+ r.fragment !== null && (qr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
241
241
  }
242
- function tn(e, t) {
243
- e.$$.dirty[0] === -1 && (ne.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
+ function en(e, t) {
243
+ e.$$.dirty[0] === -1 && (re.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
244
244
  }
245
- function rn(e, t, r, n, i, o, s = null, a = [-1]) {
246
- const u = ye;
247
- pe(e);
245
+ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
246
+ const u = be;
247
+ de(e);
248
248
  const l = e.$$ = {
249
249
  fragment: null,
250
250
  ctx: [],
@@ -252,7 +252,7 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
252
252
  props: o,
253
253
  update: k,
254
254
  not_equal: i,
255
- bound: gt(),
255
+ bound: pt(),
256
256
  // lifecycle
257
257
  on_mount: [],
258
258
  on_destroy: [],
@@ -261,28 +261,28 @@ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
261
261
  after_update: [],
262
262
  context: new Map(t.context || (u ? u.$$.context : [])),
263
263
  // everything else
264
- callbacks: gt(),
264
+ callbacks: pt(),
265
265
  dirty: a,
266
266
  skip_bound: !1,
267
267
  root: t.target || u.$$.root
268
268
  };
269
269
  s && s(l.root);
270
270
  let h = !1;
271
- if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
271
+ if (l.ctx = r(e, t.props || {}, (m, f, ...p) => {
272
272
  const g = p.length ? p[0] : f;
273
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && tn(e, m)), f;
274
- }) : [], l.update(), h = !0, Y(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
273
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), h && en(e, m)), f;
274
+ }), l.update(), h = !0, J(l.before_update), l.fragment = n(l.ctx), t.target) {
275
275
  if (t.hydrate) {
276
- const m = Vr(t.target);
276
+ const m = jr(t.target);
277
277
  l.fragment && l.fragment.l(m), m.forEach(D);
278
278
  } else
279
279
  l.fragment && l.fragment.c();
280
- t.intro && Wt(e.$$.fragment), Kr(e, t.target, t.anchor), A();
280
+ t.intro && Xt(e.$$.fragment), Yr(e, t.target, t.anchor), A();
281
281
  }
282
- pe(u);
282
+ de(u);
283
283
  }
284
- let Qt;
285
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
284
+ let Zt;
285
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
286
286
  constructor(t, r, n) {
287
287
  super();
288
288
  /** The Svelte component constructor */
@@ -319,14 +319,14 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
319
319
  }
320
320
  }
321
321
  connectedCallback() {
322
- return pt(this, null, function* () {
322
+ return dt(this, null, function* () {
323
323
  if (this.$$cn = !0, !this.$$c) {
324
324
  let t = function(o) {
325
325
  return () => {
326
326
  let s;
327
327
  return {
328
328
  c: function() {
329
- s = P("slot"), o !== "default" && H(s, "name", o);
329
+ s = L("slot"), o !== "default" && S(s, "name", o);
330
330
  },
331
331
  /**
332
332
  * @param {HTMLElement} target
@@ -343,18 +343,18 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
343
343
  };
344
344
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
345
345
  return;
346
- const r = {}, n = Xr(this);
346
+ const r = {}, n = Vr(this);
347
347
  for (const o of this.$$s)
348
348
  o in n && (r[o] = [t(o)]);
349
349
  for (const o of this.attributes) {
350
350
  const s = this.$$g_p(o.name);
351
- s in this.$$d || (this.$$d[s] = Se(s, o.value, this.$$p_d, "toProp"));
351
+ s in this.$$d || (this.$$d[s] = He(s, o.value, this.$$p_d, "toProp"));
352
352
  }
353
353
  for (const o in this.$$p_d)
354
354
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
355
355
  this.$$c = new this.$$ctor({
356
356
  target: this.shadowRoot || this,
357
- props: dt(mt({}, this.$$d), {
357
+ props: mt(ft({}, this.$$d), {
358
358
  $$slots: r,
359
359
  $$scope: {
360
360
  ctx: []
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
365
365
  this.$$r = !0;
366
366
  for (const o in this.$$p_d)
367
367
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
368
- const s = Se(
368
+ const s = He(
369
369
  o,
370
370
  this.$$d[o],
371
371
  this.$$p_d,
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
389
389
  // and setting attributes through setAttribute etc, this is helpful
390
390
  attributeChangedCallback(t, r, n) {
391
391
  var i;
392
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
392
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = He(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
393
393
  }
394
394
  disconnectedCallback() {
395
395
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
402
402
  ) || t;
403
403
  }
404
404
  });
405
- function Se(e, t, r, n) {
405
+ function He(e, t, r, n) {
406
406
  var o;
407
407
  const i = (o = r[e]) == null ? void 0 : o.type;
408
408
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -432,8 +432,8 @@ function Se(e, t, r, n) {
432
432
  return t;
433
433
  }
434
434
  }
435
- function nn(e, t, r, n, i, o) {
436
- let s = class extends Qt {
435
+ function rn(e, t, r, n, i, o) {
436
+ let s = class extends Zt {
437
437
  constructor() {
438
438
  super(e, r, i), this.$$p_d = t;
439
439
  }
@@ -450,7 +450,7 @@ function nn(e, t, r, n, i, o) {
450
450
  },
451
451
  set(u) {
452
452
  var l;
453
- u = Se(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
453
+ u = He(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
454
454
  }
455
455
  });
456
456
  }), n.forEach((a) => {
@@ -463,7 +463,7 @@ function nn(e, t, r, n, i, o) {
463
463
  }), e.element = /** @type {any} */
464
464
  s, s;
465
465
  }
466
- class on {
466
+ class nn {
467
467
  constructor() {
468
468
  /**
469
469
  * ### PRIVATE API
@@ -484,7 +484,7 @@ class on {
484
484
  }
485
485
  /** @returns {void} */
486
486
  $destroy() {
487
- en(this, 1), this.$destroy = k;
487
+ Kr(this, 1), this.$destroy = k;
488
488
  }
489
489
  /**
490
490
  * @template {Extract<keyof Events, string>} K
@@ -493,7 +493,7 @@ class on {
493
493
  * @returns {() => void}
494
494
  */
495
495
  $on(t, r) {
496
- if (!it(r))
496
+ if (!rt(r))
497
497
  return k;
498
498
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
499
499
  return n.push(r), () => {
@@ -506,18 +506,18 @@ class on {
506
506
  * @returns {void}
507
507
  */
508
508
  $set(t) {
509
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
509
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
510
510
  }
511
511
  }
512
- const sn = "4";
513
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
514
- function an(e, t) {
512
+ const on = "4";
513
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
514
+ function sn(e, t) {
515
515
  if (e) {
516
516
  const r = document.createElement("style");
517
517
  r.innerHTML = t, e.appendChild(r);
518
518
  }
519
519
  }
520
- function ln(e, t) {
520
+ function an(e, t) {
521
521
  const r = new URL(t);
522
522
  fetch(r.href).then((n) => n.text()).then((n) => {
523
523
  const i = document.createElement("style");
@@ -526,7 +526,7 @@ function ln(e, t) {
526
526
  console.error("There was an error while trying to load client styling from URL", n);
527
527
  });
528
528
  }
529
- function un(e, t, r) {
529
+ function ln(e, t, r) {
530
530
  if (window.emMessageBus) {
531
531
  const n = document.createElement("style");
532
532
  window.emMessageBus.subscribe(t, (i) => {
@@ -534,24 +534,24 @@ function un(e, t, r) {
534
534
  });
535
535
  }
536
536
  }
537
- const re = [];
538
- function hn(e, t) {
537
+ const te = [];
538
+ function un(e, t) {
539
539
  return {
540
- subscribe: Pe(e, t).subscribe
540
+ subscribe: Me(e, t).subscribe
541
541
  };
542
542
  }
543
- function Pe(e, t = k) {
543
+ function Me(e, t = k) {
544
544
  let r;
545
545
  const n = /* @__PURE__ */ new Set();
546
546
  function i(a) {
547
- if (Xt(e, a) && (e = a, r)) {
548
- const u = !re.length;
547
+ if (Vt(e, a) && (e = a, r)) {
548
+ const u = !te.length;
549
549
  for (const l of n)
550
- l[1](), re.push(l, e);
550
+ l[1](), te.push(l, e);
551
551
  if (u) {
552
- for (let l = 0; l < re.length; l += 2)
553
- re[l][0](re[l + 1]);
554
- re.length = 0;
552
+ for (let l = 0; l < te.length; l += 2)
553
+ te[l][0](te[l + 1]);
554
+ te.length = 0;
555
555
  }
556
556
  }
557
557
  }
@@ -566,12 +566,12 @@ function Pe(e, t = k) {
566
566
  }
567
567
  return { set: i, update: o, subscribe: s };
568
568
  }
569
- function he(e, t, r) {
569
+ function ue(e, t, r) {
570
570
  const n = !Array.isArray(e), i = n ? [e] : e;
571
571
  if (!i.every(Boolean))
572
572
  throw new Error("derived() expects stores as input, got a falsy value");
573
573
  const o = t.length < 2;
574
- return hn(r, (s, a) => {
574
+ return un(r, (s, a) => {
575
575
  let u = !1;
576
576
  const l = [];
577
577
  let h = 0, m = k;
@@ -580,9 +580,9 @@ function he(e, t, r) {
580
580
  return;
581
581
  m();
582
582
  const g = t(n ? l[0] : l, s, a);
583
- o ? s(g) : m = it(g) ? g : k;
583
+ o ? s(g) : m = rt(g) ? g : k;
584
584
  }, p = i.map(
585
- (g, b) => Ur(
585
+ (g, b) => Dr(
586
586
  g,
587
587
  (d) => {
588
588
  l[b] = d, h &= ~(1 << b), u && f();
@@ -593,112 +593,126 @@ function he(e, t, r) {
593
593
  )
594
594
  );
595
595
  return u = !0, f(), function() {
596
- Y(p), m(), u = !1;
596
+ J(p), m(), u = !1;
597
597
  };
598
598
  });
599
599
  }
600
- function cn(e) {
601
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
600
+ function hn(e) {
601
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
602
602
  }
603
- var fn = function(t) {
604
- return mn(t) && !dn(t);
603
+ var cn = function(t) {
604
+ return fn(t) && !mn(t);
605
605
  };
606
- function mn(e) {
606
+ function fn(e) {
607
607
  return !!e && typeof e == "object";
608
608
  }
609
- function dn(e) {
609
+ function mn(e) {
610
610
  var t = Object.prototype.toString.call(e);
611
- return t === "[object RegExp]" || t === "[object Date]" || bn(e);
611
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
612
612
  }
613
- var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
614
- function bn(e) {
615
- return e.$$typeof === gn;
613
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
614
+ function gn(e) {
615
+ return e.$$typeof === pn;
616
616
  }
617
- function yn(e) {
617
+ function bn(e) {
618
618
  return Array.isArray(e) ? [] : {};
619
619
  }
620
- function ve(e, t) {
621
- return t.clone !== !1 && t.isMergeableObject(e) ? se(yn(e), e, t) : e;
620
+ function ye(e, t) {
621
+ return t.clone !== !1 && t.isMergeableObject(e) ? oe(bn(e), e, t) : e;
622
622
  }
623
- function vn(e, t, r) {
623
+ function yn(e, t, r) {
624
624
  return e.concat(t).map(function(n) {
625
- return ve(n, r);
625
+ return ye(n, r);
626
626
  });
627
627
  }
628
628
  function _n(e, t) {
629
629
  if (!t.customMerge)
630
- return se;
630
+ return oe;
631
631
  var r = t.customMerge(e);
632
- return typeof r == "function" ? r : se;
632
+ return typeof r == "function" ? r : oe;
633
633
  }
634
- function En(e) {
634
+ function vn(e) {
635
635
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
636
636
  return Object.propertyIsEnumerable.call(e, t);
637
637
  }) : [];
638
638
  }
639
- function vt(e) {
640
- return Object.keys(e).concat(En(e));
639
+ function yt(e) {
640
+ return Object.keys(e).concat(vn(e));
641
641
  }
642
- function qt(e, t) {
642
+ function Qt(e, t) {
643
643
  try {
644
644
  return t in e;
645
645
  } catch (r) {
646
646
  return !1;
647
647
  }
648
648
  }
649
- function xn(e, t) {
650
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
649
+ function En(e, t) {
650
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
651
651
  }
652
- function Cn(e, t, r) {
652
+ function xn(e, t, r) {
653
653
  var n = {};
654
- return r.isMergeableObject(e) && vt(e).forEach(function(i) {
655
- n[i] = ve(e[i], r);
656
- }), vt(t).forEach(function(i) {
657
- xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
654
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
655
+ n[i] = ye(e[i], r);
656
+ }), yt(t).forEach(function(i) {
657
+ En(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
658
658
  }), n;
659
659
  }
660
- function se(e, t, r) {
661
- r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = ve;
660
+ function oe(e, t, r) {
661
+ r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ye;
662
662
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
663
- return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : ve(t, r);
663
+ return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ye(t, r);
664
664
  }
665
- se.all = function(t, r) {
665
+ oe.all = function(t, r) {
666
666
  if (!Array.isArray(t))
667
667
  throw new Error("first argument should be an array");
668
668
  return t.reduce(function(n, i) {
669
- return se(n, i, r);
669
+ return oe(n, i, r);
670
670
  }, {});
671
671
  };
672
- var wn = se, Hn = wn;
673
- const Sn = /* @__PURE__ */ cn(Hn);
674
- var Qe = function(e, t) {
675
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
672
+ var Cn = oe, wn = Cn;
673
+ const Hn = /* @__PURE__ */ hn(wn);
674
+ /*! *****************************************************************************
675
+ Copyright (c) Microsoft Corporation.
676
+
677
+ Permission to use, copy, modify, and/or distribute this software for any
678
+ purpose with or without fee is hereby granted.
679
+
680
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
681
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
682
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
683
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
684
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
685
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
686
+ PERFORMANCE OF THIS SOFTWARE.
687
+ ***************************************************************************** */
688
+ var ze = function(e, t) {
689
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
676
690
  r.__proto__ = n;
677
691
  } || function(r, n) {
678
692
  for (var i in n)
679
693
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
680
- }, Qe(e, t);
694
+ }, ze(e, t);
681
695
  };
682
- function Oe(e, t) {
696
+ function Ne(e, t) {
683
697
  if (typeof t != "function" && t !== null)
684
698
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
685
- Qe(e, t);
699
+ ze(e, t);
686
700
  function r() {
687
701
  this.constructor = e;
688
702
  }
689
703
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
690
704
  }
691
- var j = function() {
692
- return j = Object.assign || function(t) {
705
+ var E = function() {
706
+ return E = Object.assign || function(t) {
693
707
  for (var r, n = 1, i = arguments.length; n < i; n++) {
694
708
  r = arguments[n];
695
709
  for (var o in r)
696
710
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
697
711
  }
698
712
  return t;
699
- }, j.apply(this, arguments);
713
+ }, E.apply(this, arguments);
700
714
  };
701
- function Tn(e, t) {
715
+ function Sn(e, t) {
702
716
  var r = {};
703
717
  for (var n in e)
704
718
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -707,43 +721,46 @@ function Tn(e, t) {
707
721
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
708
722
  return r;
709
723
  }
710
- function ke(e, t, r) {
711
- if (r || arguments.length === 2)
724
+ function Ue(e, t, r) {
725
+ if (arguments.length === 2)
712
726
  for (var n = 0, i = t.length, o; n < i; n++)
713
727
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
714
- return e.concat(o || Array.prototype.slice.call(t));
728
+ return e.concat(o || t);
715
729
  }
716
- function $e(e, t) {
717
- var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : In;
730
+ function Ge(e, t) {
731
+ var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : An;
718
732
  return i(e, {
719
733
  cache: r,
720
734
  serializer: n
721
735
  });
722
736
  }
723
- function An(e) {
737
+ function Tn(e) {
724
738
  return e == null || typeof e == "number" || typeof e == "boolean";
725
739
  }
726
- function Bn(e, t, r, n) {
727
- var i = An(n) ? n : r(n), o = t.get(i);
740
+ function qt(e, t, r, n) {
741
+ var i = Tn(n) ? n : r(n), o = t.get(i);
728
742
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
729
743
  }
730
744
  function Jt(e, t, r) {
731
745
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
732
746
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
733
747
  }
734
- function Yt(e, t, r, n, i) {
748
+ function it(e, t, r, n, i) {
735
749
  return r.bind(t, e, n, i);
736
750
  }
737
- function In(e, t) {
738
- var r = e.length === 1 ? Bn : Jt;
739
- return Yt(e, this, r, t.cache.create(), t.serializer);
751
+ function An(e, t) {
752
+ var r = e.length === 1 ? qt : Jt;
753
+ return it(e, this, r, t.cache.create(), t.serializer);
754
+ }
755
+ function Bn(e, t) {
756
+ return it(e, this, Jt, t.cache.create(), t.serializer);
740
757
  }
741
- function Mn(e, t) {
742
- return Yt(e, this, Jt, t.cache.create(), t.serializer);
758
+ function In(e, t) {
759
+ return it(e, this, qt, t.cache.create(), t.serializer);
743
760
  }
744
- var Nn = function() {
761
+ var Mn = function() {
745
762
  return JSON.stringify(arguments);
746
- }, Pn = (
763
+ }, Nn = (
747
764
  /** @class */
748
765
  function() {
749
766
  function e() {
@@ -755,71 +772,62 @@ var Nn = function() {
755
772
  this.cache[t] = r;
756
773
  }, e;
757
774
  }()
758
- ), On = {
775
+ ), Ln = {
759
776
  create: function() {
760
- return new Pn();
777
+ return new Nn();
761
778
  }
762
- }, je = {
763
- variadic: Mn
764
- }, Ie = function() {
765
- return Ie = Object.assign || function(t) {
766
- for (var r, n = 1, i = arguments.length; n < i; n++) {
767
- r = arguments[n];
768
- for (var o in r)
769
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
770
- }
771
- return t;
772
- }, Ie.apply(this, arguments);
773
- };
774
- var y;
779
+ }, ke = {
780
+ variadic: Bn,
781
+ monadic: In
782
+ }, y;
775
783
  (function(e) {
776
784
  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";
777
785
  })(y || (y = {}));
778
- var S;
786
+ var T;
779
787
  (function(e) {
780
788
  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";
781
- })(S || (S = {}));
782
- var ae;
789
+ })(T || (T = {}));
790
+ var se;
783
791
  (function(e) {
784
792
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
785
- })(ae || (ae = {}));
793
+ })(se || (se = {}));
786
794
  function _t(e) {
787
- return e.type === S.literal;
795
+ return e.type === T.literal;
796
+ }
797
+ function Pn(e) {
798
+ return e.type === T.argument;
788
799
  }
789
- function Ln(e) {
790
- return e.type === S.argument;
800
+ function Yt(e) {
801
+ return e.type === T.number;
791
802
  }
792
803
  function Kt(e) {
793
- return e.type === S.number;
804
+ return e.type === T.date;
794
805
  }
795
806
  function er(e) {
796
- return e.type === S.date;
807
+ return e.type === T.time;
797
808
  }
798
809
  function tr(e) {
799
- return e.type === S.time;
810
+ return e.type === T.select;
800
811
  }
801
812
  function rr(e) {
802
- return e.type === S.select;
813
+ return e.type === T.plural;
803
814
  }
804
- function nr(e) {
805
- return e.type === S.plural;
815
+ function On(e) {
816
+ return e.type === T.pound;
806
817
  }
807
- function Fn(e) {
808
- return e.type === S.pound;
818
+ function nr(e) {
819
+ return e.type === T.tag;
809
820
  }
810
821
  function ir(e) {
811
- return e.type === S.tag;
822
+ return !!(e && typeof e == "object" && e.type === se.number);
812
823
  }
813
- function or(e) {
814
- return !!(e && typeof e == "object" && e.type === ae.number);
815
- }
816
- function qe(e) {
817
- return !!(e && typeof e == "object" && e.type === ae.dateTime);
824
+ function Ze(e) {
825
+ return !!(e && typeof e == "object" && e.type === se.dateTime);
818
826
  }
819
- var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
820
- function Dn(e) {
827
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
828
+ function Rn(e) {
821
829
  var t = {};
822
- return e.replace(Rn, function(r) {
830
+ return e.replace(Fn, function(r) {
823
831
  var n = r.length;
824
832
  switch (r[0]) {
825
833
  case "G":
@@ -908,21 +916,11 @@ function Dn(e) {
908
916
  return "";
909
917
  }), t;
910
918
  }
911
- var T = function() {
912
- return T = Object.assign || function(t) {
913
- for (var r, n = 1, i = arguments.length; n < i; n++) {
914
- r = arguments[n];
915
- for (var o in r)
916
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
917
- }
918
- return t;
919
- }, T.apply(this, arguments);
920
- };
921
- var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
922
- function Gn(e) {
919
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
920
+ function Un(e) {
923
921
  if (e.length === 0)
924
922
  throw new Error("Number skeleton cannot be empty");
925
- for (var t = e.split(Un).filter(function(f) {
923
+ for (var t = e.split(Dn).filter(function(f) {
926
924
  return f.length > 0;
927
925
  }), r = [], n = 0, i = t; n < i.length; n++) {
928
926
  var o = i[n], s = o.split("/");
@@ -937,17 +935,17 @@ function Gn(e) {
937
935
  }
938
936
  return r;
939
937
  }
940
- function kn(e) {
938
+ function Gn(e) {
941
939
  return e.replace(/^(.*?)-/, "");
942
940
  }
943
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
944
- function xt(e) {
941
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
942
+ function Et(e) {
945
943
  var t = {};
946
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
944
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
947
945
  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)), "";
948
946
  }), t;
949
947
  }
950
- function ur(e) {
948
+ function lr(e) {
951
949
  switch (e) {
952
950
  case "sign-auto":
953
951
  return {
@@ -987,7 +985,7 @@ function ur(e) {
987
985
  };
988
986
  }
989
987
  }
990
- function jn(e) {
988
+ function $n(e) {
991
989
  var t;
992
990
  if (e[0] === "E" && e[1] === "E" ? (t = {
993
991
  notation: "engineering"
@@ -995,17 +993,17 @@ function jn(e) {
995
993
  notation: "scientific"
996
994
  }, e = e.slice(1)), t) {
997
995
  var r = e.slice(0, 2);
998
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
996
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
999
997
  throw new Error("Malformed concise eng/scientific notation");
1000
998
  t.minimumIntegerDigits = e.length;
1001
999
  }
1002
1000
  return t;
1003
1001
  }
1004
- function Ct(e) {
1005
- var t = {}, r = ur(e);
1002
+ function xt(e) {
1003
+ var t = {}, r = lr(e);
1006
1004
  return r || t;
1007
1005
  }
1008
- function Vn(e) {
1006
+ function jn(e) {
1009
1007
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1010
1008
  var i = n[r];
1011
1009
  switch (i.stem) {
@@ -1029,7 +1027,7 @@ function Vn(e) {
1029
1027
  continue;
1030
1028
  case "measure-unit":
1031
1029
  case "unit":
1032
- t.style = "unit", t.unit = kn(i.options[0]);
1030
+ t.style = "unit", t.unit = Gn(i.options[0]);
1033
1031
  continue;
1034
1032
  case "compact-short":
1035
1033
  case "K":
@@ -1040,13 +1038,13 @@ function Vn(e) {
1040
1038
  t.notation = "compact", t.compactDisplay = "long";
1041
1039
  continue;
1042
1040
  case "scientific":
1043
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1044
- return T(T({}, u), Ct(l));
1041
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1042
+ return E(E({}, u), xt(l));
1045
1043
  }, {}));
1046
1044
  continue;
1047
1045
  case "engineering":
1048
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1049
- return T(T({}, u), Ct(l));
1046
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1047
+ return E(E({}, u), xt(l));
1050
1048
  }, {}));
1051
1049
  continue;
1052
1050
  case "notation-simple":
@@ -1091,7 +1089,7 @@ function Vn(e) {
1091
1089
  case "integer-width":
1092
1090
  if (i.options.length > 1)
1093
1091
  throw new RangeError("integer-width stems only accept a single optional option");
1094
- i.options[0].replace($n, function(u, l, h, m, f, p) {
1092
+ i.options[0].replace(kn, function(u, l, h, m, f, p) {
1095
1093
  if (l)
1096
1094
  t.minimumIntegerDigits = h.length;
1097
1095
  else {
@@ -1104,32 +1102,32 @@ function Vn(e) {
1104
1102
  });
1105
1103
  continue;
1106
1104
  }
1107
- if (lr.test(i.stem)) {
1105
+ if (ar.test(i.stem)) {
1108
1106
  t.minimumIntegerDigits = i.stem.length;
1109
1107
  continue;
1110
1108
  }
1111
- if (Et.test(i.stem)) {
1109
+ if (vt.test(i.stem)) {
1112
1110
  if (i.options.length > 1)
1113
1111
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1114
- i.stem.replace(Et, function(u, l, h, m, f, p) {
1112
+ i.stem.replace(vt, function(u, l, h, m, f, p) {
1115
1113
  return h === "*" ? 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), "";
1116
1114
  });
1117
1115
  var o = i.options[0];
1118
- o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), xt(o)));
1116
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Et(o)));
1119
1117
  continue;
1120
1118
  }
1121
- if (ar.test(i.stem)) {
1122
- t = T(T({}, t), xt(i.stem));
1119
+ if (sr.test(i.stem)) {
1120
+ t = E(E({}, t), Et(i.stem));
1123
1121
  continue;
1124
1122
  }
1125
- var s = ur(i.stem);
1126
- s && (t = T(T({}, t), s));
1127
- var a = jn(i.stem);
1128
- a && (t = T(T({}, t), a));
1123
+ var s = lr(i.stem);
1124
+ s && (t = E(E({}, t), s));
1125
+ var a = $n(i.stem);
1126
+ a && (t = E(E({}, t), a));
1129
1127
  }
1130
1128
  return t;
1131
1129
  }
1132
- var He = {
1130
+ var we = {
1133
1131
  "001": [
1134
1132
  "H",
1135
1133
  "h"
@@ -2544,13 +2542,13 @@ var He = {
2544
2542
  "h"
2545
2543
  ]
2546
2544
  };
2547
- function Xn(e, t) {
2545
+ function Vn(e, t) {
2548
2546
  for (var r = "", n = 0; n < e.length; n++) {
2549
2547
  var i = e.charAt(n);
2550
2548
  if (i === "j") {
2551
2549
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2552
2550
  o++, n++;
2553
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Wn(t);
2551
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Xn(t);
2554
2552
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2555
2553
  r += u;
2556
2554
  for (; s-- > 0; )
@@ -2560,7 +2558,7 @@ function Xn(e, t) {
2560
2558
  }
2561
2559
  return r;
2562
2560
  }
2563
- function Wn(e) {
2561
+ function Xn(e) {
2564
2562
  var t = e.hourCycle;
2565
2563
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2566
2564
  e.hourCycles && // @ts-ignore
@@ -2579,23 +2577,23 @@ function Wn(e) {
2579
2577
  }
2580
2578
  var r = e.language, n;
2581
2579
  r !== "root" && (n = e.maximize().region);
2582
- var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
2580
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2583
2581
  return i[0];
2584
2582
  }
2585
- var Ve, zn = new RegExp("^".concat(sr.source, "*")), Zn = new RegExp("".concat(sr.source, "*$"));
2586
- function v(e, t) {
2583
+ var $e, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
2584
+ function _(e, t) {
2587
2585
  return { start: e, end: t };
2588
2586
  }
2589
- var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
2587
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
2590
2588
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2591
- }, Je = !0;
2589
+ }, Qe = !0;
2592
2590
  try {
2593
- var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2594
- Je = ((Ve = ni.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
2591
+ var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2592
+ Qe = (($e = ri.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2595
2593
  } catch (e) {
2596
- Je = !1;
2594
+ Qe = !1;
2597
2595
  }
2598
- var wt = Qn ? (
2596
+ var Ct = Zn ? (
2599
2597
  // Native
2600
2598
  function(t, r, n) {
2601
2599
  return t.startsWith(r, n);
@@ -2605,7 +2603,7 @@ var wt = Qn ? (
2605
2603
  function(t, r, n) {
2606
2604
  return t.slice(n, n + r.length) === r;
2607
2605
  }
2608
- ), Ye = qn ? String.fromCodePoint : (
2606
+ ), qe = Qn ? String.fromCodePoint : (
2609
2607
  // IE11
2610
2608
  function() {
2611
2609
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2617,9 +2615,9 @@ var wt = Qn ? (
2617
2615
  }
2618
2616
  return n;
2619
2617
  }
2620
- ), Ht = (
2618
+ ), wt = (
2621
2619
  // native
2622
- Jn ? Object.fromEntries : (
2620
+ qn ? Object.fromEntries : (
2623
2621
  // Ponyfill
2624
2622
  function(t) {
2625
2623
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2629,7 +2627,7 @@ var wt = Qn ? (
2629
2627
  return r;
2630
2628
  }
2631
2629
  )
2632
- ), hr = Yn ? (
2630
+ ), ur = Jn ? (
2633
2631
  // Native
2634
2632
  function(t, r) {
2635
2633
  return t.codePointAt(r);
@@ -2643,7 +2641,7 @@ var wt = Qn ? (
2643
2641
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2644
2642
  }
2645
2643
  }
2646
- ), ii = Kn ? (
2644
+ ), ni = Yn ? (
2647
2645
  // Native
2648
2646
  function(t) {
2649
2647
  return t.trimStart();
@@ -2651,9 +2649,9 @@ var wt = Qn ? (
2651
2649
  ) : (
2652
2650
  // Ponyfill
2653
2651
  function(t) {
2654
- return t.replace(zn, "");
2652
+ return t.replace(Wn, "");
2655
2653
  }
2656
- ), oi = ei ? (
2654
+ ), ii = Kn ? (
2657
2655
  // Native
2658
2656
  function(t) {
2659
2657
  return t.trimEnd();
@@ -2661,32 +2659,32 @@ var wt = Qn ? (
2661
2659
  ) : (
2662
2660
  // Ponyfill
2663
2661
  function(t) {
2664
- return t.replace(Zn, "");
2662
+ return t.replace(zn, "");
2665
2663
  }
2666
2664
  );
2667
- function cr(e, t) {
2665
+ function hr(e, t) {
2668
2666
  return new RegExp(e, t);
2669
2667
  }
2670
- var Ke;
2671
- if (Je) {
2672
- var St = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2673
- Ke = function(t, r) {
2668
+ var Je;
2669
+ if (Qe) {
2670
+ var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2671
+ Je = function(t, r) {
2674
2672
  var n;
2675
- St.lastIndex = r;
2676
- var i = St.exec(t);
2673
+ Ht.lastIndex = r;
2674
+ var i = Ht.exec(t);
2677
2675
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2678
2676
  };
2679
2677
  } else
2680
- Ke = function(t, r) {
2678
+ Je = function(t, r) {
2681
2679
  for (var n = []; ; ) {
2682
- var i = hr(t, r);
2683
- if (i === void 0 || fr(i) || ui(i))
2680
+ var i = ur(t, r);
2681
+ if (i === void 0 || cr(i) || li(i))
2684
2682
  break;
2685
2683
  n.push(i), r += i >= 65536 ? 2 : 1;
2686
2684
  }
2687
- return Ye.apply(void 0, n);
2685
+ return qe.apply(void 0, n);
2688
2686
  };
2689
- var si = (
2687
+ var oi = (
2690
2688
  /** @class */
2691
2689
  function() {
2692
2690
  function e(t, r) {
@@ -2710,14 +2708,14 @@ var si = (
2710
2708
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2711
2709
  var a = this.clonePosition();
2712
2710
  this.bump(), i.push({
2713
- type: S.pound,
2714
- location: v(a, this.clonePosition())
2711
+ type: T.pound,
2712
+ location: _(a, this.clonePosition())
2715
2713
  });
2716
2714
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2717
2715
  if (n)
2718
2716
  break;
2719
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2720
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
2717
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2718
+ } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2721
2719
  var s = this.parseTag(t, r);
2722
2720
  if (s.err)
2723
2721
  return s;
@@ -2738,9 +2736,9 @@ var si = (
2738
2736
  if (this.bumpSpace(), this.bumpIf("/>"))
2739
2737
  return {
2740
2738
  val: {
2741
- type: S.literal,
2739
+ type: T.literal,
2742
2740
  value: "<".concat(i, "/>"),
2743
- location: v(n, this.clonePosition())
2741
+ location: _(n, this.clonePosition())
2744
2742
  },
2745
2743
  err: null
2746
2744
  };
@@ -2750,25 +2748,25 @@ var si = (
2750
2748
  return o;
2751
2749
  var s = o.val, a = this.clonePosition();
2752
2750
  if (this.bumpIf("</")) {
2753
- if (this.isEOF() || !et(this.char()))
2754
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2751
+ if (this.isEOF() || !Ye(this.char()))
2752
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2755
2753
  var u = this.clonePosition(), l = this.parseTagName();
2756
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2754
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2757
2755
  val: {
2758
- type: S.tag,
2756
+ type: T.tag,
2759
2757
  value: i,
2760
2758
  children: s,
2761
- location: v(n, this.clonePosition())
2759
+ location: _(n, this.clonePosition())
2762
2760
  },
2763
2761
  err: null
2764
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2762
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2765
2763
  } else
2766
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2764
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2767
2765
  } else
2768
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2766
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2769
2767
  }, e.prototype.parseTagName = function() {
2770
2768
  var t = this.offset();
2771
- for (this.bump(); !this.isEOF() && li(this.char()); )
2769
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
2772
2770
  this.bump();
2773
2771
  return this.message.slice(t, this.offset());
2774
2772
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2790,14 +2788,14 @@ var si = (
2790
2788
  }
2791
2789
  break;
2792
2790
  }
2793
- var u = v(n, this.clonePosition());
2791
+ var u = _(n, this.clonePosition());
2794
2792
  return {
2795
- val: { type: S.literal, value: i, location: u },
2793
+ val: { type: T.literal, value: i, location: u },
2796
2794
  err: null
2797
2795
  };
2798
2796
  }, e.prototype.tryParseLeftAngleBracket = function() {
2799
2797
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2800
- !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
2798
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2801
2799
  }, e.prototype.tryParseQuote = function(t) {
2802
2800
  if (this.isEOF() || this.char() !== 39)
2803
2801
  return null;
@@ -2831,49 +2829,49 @@ var si = (
2831
2829
  r.push(n);
2832
2830
  this.bump();
2833
2831
  }
2834
- return Ye.apply(void 0, r);
2832
+ return qe.apply(void 0, r);
2835
2833
  }, e.prototype.tryParseUnquoted = function(t, r) {
2836
2834
  if (this.isEOF())
2837
2835
  return null;
2838
2836
  var n = this.char();
2839
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
2837
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
2840
2838
  }, e.prototype.parseArgument = function(t, r) {
2841
2839
  var n = this.clonePosition();
2842
2840
  if (this.bump(), this.bumpSpace(), this.isEOF())
2843
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2841
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2844
2842
  if (this.char() === 125)
2845
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2843
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2846
2844
  var i = this.parseIdentifierIfPossible().value;
2847
2845
  if (!i)
2848
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2846
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2849
2847
  if (this.bumpSpace(), this.isEOF())
2850
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2848
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2851
2849
  switch (this.char()) {
2852
2850
  case 125:
2853
2851
  return this.bump(), {
2854
2852
  val: {
2855
- type: S.argument,
2853
+ type: T.argument,
2856
2854
  // value does not include the opening and closing braces.
2857
2855
  value: i,
2858
- location: v(n, this.clonePosition())
2856
+ location: _(n, this.clonePosition())
2859
2857
  },
2860
2858
  err: null
2861
2859
  };
2862
2860
  case 44:
2863
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2861
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2864
2862
  default:
2865
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2863
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2866
2864
  }
2867
2865
  }, e.prototype.parseIdentifierIfPossible = function() {
2868
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
2866
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2869
2867
  this.bumpTo(i);
2870
- var o = this.clonePosition(), s = v(t, o);
2868
+ var o = this.clonePosition(), s = _(t, o);
2871
2869
  return { value: n, location: s };
2872
2870
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2873
2871
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2874
2872
  switch (a) {
2875
2873
  case "":
2876
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, u));
2874
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, u));
2877
2875
  case "number":
2878
2876
  case "date":
2879
2877
  case "time": {
@@ -2884,44 +2882,44 @@ var si = (
2884
2882
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2885
2883
  if (m.err)
2886
2884
  return m;
2887
- var f = oi(m.val);
2885
+ var f = ii(m.val);
2888
2886
  if (f.length === 0)
2889
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2890
- var p = v(h, this.clonePosition());
2887
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2888
+ var p = _(h, this.clonePosition());
2891
2889
  l = { style: f, styleLocation: p };
2892
2890
  }
2893
2891
  var g = this.tryParseArgumentClose(i);
2894
2892
  if (g.err)
2895
2893
  return g;
2896
- var b = v(i, this.clonePosition());
2897
- if (l && wt(l == null ? void 0 : l.style, "::", 0)) {
2898
- var d = ii(l.style.slice(2));
2894
+ var b = _(i, this.clonePosition());
2895
+ if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
2896
+ var d = ni(l.style.slice(2));
2899
2897
  if (a === "number") {
2900
2898
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2901
2899
  return m.err ? m : {
2902
- val: { type: S.number, value: n, location: b, style: m.val },
2900
+ val: { type: T.number, value: n, location: b, style: m.val },
2903
2901
  err: null
2904
2902
  };
2905
2903
  } else {
2906
2904
  if (d.length === 0)
2907
2905
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2908
- var w = d;
2909
- this.locale && (w = Xn(d, this.locale));
2906
+ var H = d;
2907
+ this.locale && (H = Vn(d, this.locale));
2910
2908
  var f = {
2911
- type: ae.dateTime,
2912
- pattern: w,
2909
+ type: se.dateTime,
2910
+ pattern: H,
2913
2911
  location: l.styleLocation,
2914
- parsedOptions: this.shouldParseSkeletons ? Dn(w) : {}
2915
- }, _ = a === "date" ? S.date : S.time;
2912
+ parsedOptions: this.shouldParseSkeletons ? Rn(H) : {}
2913
+ }, v = a === "date" ? T.date : T.time;
2916
2914
  return {
2917
- val: { type: _, value: n, location: b, style: f },
2915
+ val: { type: v, value: n, location: b, style: f },
2918
2916
  err: null
2919
2917
  };
2920
2918
  }
2921
2919
  }
2922
2920
  return {
2923
2921
  val: {
2924
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2922
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2925
2923
  value: n,
2926
2924
  location: b,
2927
2925
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -2932,52 +2930,52 @@ var si = (
2932
2930
  case "plural":
2933
2931
  case "selectordinal":
2934
2932
  case "select": {
2935
- var E = this.clonePosition();
2933
+ var x = this.clonePosition();
2936
2934
  if (this.bumpSpace(), !this.bumpIf(","))
2937
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(E, Ie({}, E)));
2935
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, E({}, x)));
2938
2936
  this.bumpSpace();
2939
- var L = this.parseIdentifierIfPossible(), I = 0;
2940
- if (a !== "select" && L.value === "offset") {
2937
+ var O = this.parseIdentifierIfPossible(), I = 0;
2938
+ if (a !== "select" && O.value === "offset") {
2941
2939
  if (!this.bumpIf(":"))
2942
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2940
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2943
2941
  this.bumpSpace();
2944
2942
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2945
2943
  if (m.err)
2946
2944
  return m;
2947
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), I = m.val;
2945
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), I = m.val;
2948
2946
  }
2949
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, L);
2947
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, O);
2950
2948
  if ($.err)
2951
2949
  return $;
2952
2950
  var g = this.tryParseArgumentClose(i);
2953
2951
  if (g.err)
2954
2952
  return g;
2955
- var C = v(i, this.clonePosition());
2953
+ var w = _(i, this.clonePosition());
2956
2954
  return a === "select" ? {
2957
2955
  val: {
2958
- type: S.select,
2956
+ type: T.select,
2959
2957
  value: n,
2960
- options: Ht($.val),
2961
- location: C
2958
+ options: wt($.val),
2959
+ location: w
2962
2960
  },
2963
2961
  err: null
2964
2962
  } : {
2965
2963
  val: {
2966
- type: S.plural,
2964
+ type: T.plural,
2967
2965
  value: n,
2968
- options: Ht($.val),
2966
+ options: wt($.val),
2969
2967
  offset: I,
2970
2968
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2971
- location: C
2969
+ location: w
2972
2970
  },
2973
2971
  err: null
2974
2972
  };
2975
2973
  }
2976
2974
  default:
2977
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, u));
2975
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, u));
2978
2976
  }
2979
2977
  }, e.prototype.tryParseArgumentClose = function(t) {
2980
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2978
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2981
2979
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2982
2980
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2983
2981
  var n = this.char();
@@ -2986,7 +2984,7 @@ var si = (
2986
2984
  this.bump();
2987
2985
  var i = this.clonePosition();
2988
2986
  if (!this.bumpUntil("'"))
2989
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2987
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2990
2988
  this.bump();
2991
2989
  break;
2992
2990
  }
@@ -3016,16 +3014,16 @@ var si = (
3016
3014
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3017
3015
  var n = [];
3018
3016
  try {
3019
- n = Gn(t);
3017
+ n = Un(t);
3020
3018
  } catch (i) {
3021
3019
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3022
3020
  }
3023
3021
  return {
3024
3022
  val: {
3025
- type: ae.number,
3023
+ type: se.number,
3026
3024
  tokens: n,
3027
3025
  location: r,
3028
- parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3026
+ parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
3029
3027
  },
3030
3028
  err: null
3031
3029
  };
@@ -3037,7 +3035,7 @@ var si = (
3037
3035
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3038
3036
  if (f.err)
3039
3037
  return f;
3040
- h = v(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3038
+ h = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
3041
3039
  } else
3042
3040
  break;
3043
3041
  }
@@ -3046,7 +3044,7 @@ var si = (
3046
3044
  l === "other" && (s = !0), this.bumpSpace();
3047
3045
  var p = this.clonePosition();
3048
3046
  if (!this.bumpIf("{"))
3049
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3047
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3050
3048
  var g = this.parseMessage(t + 1, r, n);
3051
3049
  if (g.err)
3052
3050
  return g;
@@ -3057,11 +3055,11 @@ var si = (
3057
3055
  l,
3058
3056
  {
3059
3057
  value: g.val,
3060
- location: v(p, this.clonePosition())
3058
+ location: _(p, this.clonePosition())
3061
3059
  }
3062
3060
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3063
3061
  }
3064
- 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 };
3062
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3065
3063
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3066
3064
  var n = 1, i = this.clonePosition();
3067
3065
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3072,8 +3070,8 @@ var si = (
3072
3070
  else
3073
3071
  break;
3074
3072
  }
3075
- var u = v(i, this.clonePosition());
3076
- return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3073
+ var u = _(i, this.clonePosition());
3074
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3077
3075
  }, e.prototype.offset = function() {
3078
3076
  return this.position.offset;
3079
3077
  }, e.prototype.isEOF = function() {
@@ -3088,7 +3086,7 @@ var si = (
3088
3086
  var t = this.position.offset;
3089
3087
  if (t >= this.message.length)
3090
3088
  throw Error("out of bound");
3091
- var r = hr(this.message, t);
3089
+ var r = ur(this.message, t);
3092
3090
  if (r === void 0)
3093
3091
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3094
3092
  return r;
@@ -3107,7 +3105,7 @@ var si = (
3107
3105
  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);
3108
3106
  }
3109
3107
  }, e.prototype.bumpIf = function(t) {
3110
- if (wt(this.message, t, this.offset())) {
3108
+ if (Ct(this.message, t, this.offset())) {
3111
3109
  for (var r = 0; r < t.length; r++)
3112
3110
  this.bump();
3113
3111
  return !0;
@@ -3129,7 +3127,7 @@ var si = (
3129
3127
  break;
3130
3128
  }
3131
3129
  }, e.prototype.bumpSpace = function() {
3132
- for (; !this.isEOF() && fr(this.char()); )
3130
+ for (; !this.isEOF() && cr(this.char()); )
3133
3131
  this.bump();
3134
3132
  }, e.prototype.peek = function() {
3135
3133
  if (this.isEOF())
@@ -3139,47 +3137,47 @@ var si = (
3139
3137
  }, e;
3140
3138
  }()
3141
3139
  );
3142
- function et(e) {
3140
+ function Ye(e) {
3143
3141
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3144
3142
  }
3145
- function ai(e) {
3146
- return et(e) || e === 47;
3143
+ function si(e) {
3144
+ return Ye(e) || e === 47;
3147
3145
  }
3148
- function li(e) {
3146
+ function ai(e) {
3149
3147
  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;
3150
3148
  }
3151
- function fr(e) {
3149
+ function cr(e) {
3152
3150
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3153
3151
  }
3154
- function ui(e) {
3152
+ function li(e) {
3155
3153
  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;
3156
3154
  }
3157
- function tt(e) {
3155
+ function Ke(e) {
3158
3156
  e.forEach(function(t) {
3159
- if (delete t.location, rr(t) || nr(t))
3157
+ if (delete t.location, tr(t) || rr(t))
3160
3158
  for (var r in t.options)
3161
- delete t.options[r].location, tt(t.options[r].value);
3159
+ delete t.options[r].location, Ke(t.options[r].value);
3162
3160
  else
3163
- Kt(t) && or(t.style) || (er(t) || tr(t)) && qe(t.style) ? delete t.style.location : ir(t) && tt(t.children);
3161
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Ze(t.style) ? delete t.style.location : nr(t) && Ke(t.children);
3164
3162
  });
3165
3163
  }
3166
- function hi(e, t) {
3167
- t === void 0 && (t = {}), t = Ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3168
- var r = new si(e, t).parse();
3164
+ function ui(e, t) {
3165
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3166
+ var r = new oi(e, t).parse();
3169
3167
  if (r.err) {
3170
3168
  var n = SyntaxError(y[r.err.kind]);
3171
3169
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3172
3170
  }
3173
- return t != null && t.captureLocation || tt(r.val), r.val;
3171
+ return t != null && t.captureLocation || Ke(r.val), r.val;
3174
3172
  }
3175
- var le;
3173
+ var ae;
3176
3174
  (function(e) {
3177
3175
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3178
- })(le || (le = {}));
3176
+ })(ae || (ae = {}));
3179
3177
  var Le = (
3180
3178
  /** @class */
3181
3179
  function(e) {
3182
- Oe(t, e);
3180
+ Ne(t, e);
3183
3181
  function t(r, n, i) {
3184
3182
  var o = e.call(this, r) || this;
3185
3183
  return o.code = n, o.originalMessage = i, o;
@@ -3188,30 +3186,30 @@ var Le = (
3188
3186
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3189
3187
  }, t;
3190
3188
  }(Error)
3191
- ), Tt = (
3189
+ ), St = (
3192
3190
  /** @class */
3193
3191
  function(e) {
3194
- Oe(t, e);
3192
+ Ne(t, e);
3195
3193
  function t(r, n, i, o) {
3196
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3194
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
3197
3195
  }
3198
3196
  return t;
3199
3197
  }(Le)
3200
- ), ci = (
3198
+ ), hi = (
3201
3199
  /** @class */
3202
3200
  function(e) {
3203
- Oe(t, e);
3201
+ Ne(t, e);
3204
3202
  function t(r, n, i) {
3205
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3203
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3206
3204
  }
3207
3205
  return t;
3208
3206
  }(Le)
3209
- ), fi = (
3207
+ ), ci = (
3210
3208
  /** @class */
3211
3209
  function(e) {
3212
- Oe(t, e);
3210
+ Ne(t, e);
3213
3211
  function t(r, n) {
3214
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3212
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3215
3213
  }
3216
3214
  return t;
3217
3215
  }(Le)
@@ -3219,16 +3217,16 @@ var Le = (
3219
3217
  (function(e) {
3220
3218
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3221
3219
  })(R || (R = {}));
3222
- function mi(e) {
3220
+ function fi(e) {
3223
3221
  return e.length < 2 ? e : e.reduce(function(t, r) {
3224
3222
  var n = t[t.length - 1];
3225
3223
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3226
3224
  }, []);
3227
3225
  }
3228
- function di(e) {
3226
+ function mi(e) {
3229
3227
  return typeof e == "function";
3230
3228
  }
3231
- function Te(e, t, r, n, i, o, s) {
3229
+ function Se(e, t, r, n, i, o, s) {
3232
3230
  if (e.length === 1 && _t(e[0]))
3233
3231
  return [
3234
3232
  {
@@ -3245,7 +3243,7 @@ function Te(e, t, r, n, i, o, s) {
3245
3243
  });
3246
3244
  continue;
3247
3245
  }
3248
- if (Fn(h)) {
3246
+ if (On(h)) {
3249
3247
  typeof o == "number" && a.push({
3250
3248
  type: R.literal,
3251
3249
  value: r.getNumberFormat(t).format(o)
@@ -3254,89 +3252,89 @@ function Te(e, t, r, n, i, o, s) {
3254
3252
  }
3255
3253
  var m = h.value;
3256
3254
  if (!(i && m in i))
3257
- throw new fi(m, s);
3255
+ throw new ci(m, s);
3258
3256
  var f = i[m];
3259
- if (Ln(h)) {
3257
+ if (Pn(h)) {
3260
3258
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3261
3259
  type: typeof f == "string" ? R.literal : R.object,
3262
3260
  value: f
3263
3261
  });
3264
3262
  continue;
3265
3263
  }
3266
- if (er(h)) {
3267
- var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3264
+ if (Kt(h)) {
3265
+ var p = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3268
3266
  a.push({
3269
3267
  type: R.literal,
3270
3268
  value: r.getDateTimeFormat(t, p).format(f)
3271
3269
  });
3272
3270
  continue;
3273
3271
  }
3274
- if (tr(h)) {
3275
- var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
3272
+ if (er(h)) {
3273
+ var p = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3276
3274
  a.push({
3277
3275
  type: R.literal,
3278
3276
  value: r.getDateTimeFormat(t, p).format(f)
3279
3277
  });
3280
3278
  continue;
3281
3279
  }
3282
- if (Kt(h)) {
3283
- var p = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
3280
+ if (Yt(h)) {
3281
+ var p = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3284
3282
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3285
3283
  type: R.literal,
3286
3284
  value: r.getNumberFormat(t, p).format(f)
3287
3285
  });
3288
3286
  continue;
3289
3287
  }
3290
- if (ir(h)) {
3288
+ if (nr(h)) {
3291
3289
  var g = h.children, b = h.value, d = i[b];
3292
- if (!di(d))
3293
- throw new ci(b, "function", s);
3294
- var w = Te(g, t, r, n, i, o), _ = d(w.map(function(I) {
3290
+ if (!mi(d))
3291
+ throw new hi(b, "function", s);
3292
+ var H = Se(g, t, r, n, i, o), v = d(H.map(function(I) {
3295
3293
  return I.value;
3296
3294
  }));
3297
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(I) {
3295
+ Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(I) {
3298
3296
  return {
3299
3297
  type: typeof I == "string" ? R.literal : R.object,
3300
3298
  value: I
3301
3299
  };
3302
3300
  }));
3303
3301
  }
3304
- if (rr(h)) {
3305
- var E = h.options[f] || h.options.other;
3306
- if (!E)
3307
- throw new Tt(h.value, f, Object.keys(h.options), s);
3308
- a.push.apply(a, Te(E.value, t, r, n, i));
3302
+ if (tr(h)) {
3303
+ var x = h.options[f] || h.options.other;
3304
+ if (!x)
3305
+ throw new St(h.value, f, Object.keys(h.options), s);
3306
+ a.push.apply(a, Se(x.value, t, r, n, i));
3309
3307
  continue;
3310
3308
  }
3311
- if (nr(h)) {
3312
- var E = h.options["=".concat(f)];
3313
- if (!E) {
3309
+ if (rr(h)) {
3310
+ var x = h.options["=".concat(f)];
3311
+ if (!x) {
3314
3312
  if (!Intl.PluralRules)
3315
3313
  throw new Le(`Intl.PluralRules is not available in this environment.
3316
3314
  Try polyfilling it using "@formatjs/intl-pluralrules"
3317
- `, le.MISSING_INTL_API, s);
3318
- var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3319
- E = h.options[L] || h.options.other;
3315
+ `, ae.MISSING_INTL_API, s);
3316
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3317
+ x = h.options[O] || h.options.other;
3320
3318
  }
3321
- if (!E)
3322
- throw new Tt(h.value, f, Object.keys(h.options), s);
3323
- a.push.apply(a, Te(E.value, t, r, n, i, f - (h.offset || 0)));
3319
+ if (!x)
3320
+ throw new St(h.value, f, Object.keys(h.options), s);
3321
+ a.push.apply(a, Se(x.value, t, r, n, i, f - (h.offset || 0)));
3324
3322
  continue;
3325
3323
  }
3326
3324
  }
3327
- return mi(a);
3325
+ return fi(a);
3328
3326
  }
3329
- function pi(e, t) {
3330
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3331
- return r[n] = j(j({}, e[n]), t[n] || {}), r;
3327
+ function di(e, t) {
3328
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3329
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3332
3330
  }, {})) : e;
3333
3331
  }
3334
- function gi(e, t) {
3332
+ function pi(e, t) {
3335
3333
  return t ? Object.keys(e).reduce(function(r, n) {
3336
- return r[n] = pi(e[n], t[n]), r;
3337
- }, j({}, e)) : e;
3334
+ return r[n] = di(e[n], t[n]), r;
3335
+ }, E({}, e)) : e;
3338
3336
  }
3339
- function Xe(e) {
3337
+ function je(e) {
3340
3338
  return {
3341
3339
  create: function() {
3342
3340
  return {
@@ -3350,39 +3348,39 @@ function Xe(e) {
3350
3348
  }
3351
3349
  };
3352
3350
  }
3353
- function bi(e) {
3351
+ function gi(e) {
3354
3352
  return e === void 0 && (e = {
3355
3353
  number: {},
3356
3354
  dateTime: {},
3357
3355
  pluralRules: {}
3358
3356
  }), {
3359
- getNumberFormat: $e(function() {
3357
+ getNumberFormat: Ge(function() {
3360
3358
  for (var t, r = [], n = 0; n < arguments.length; n++)
3361
3359
  r[n] = arguments[n];
3362
- return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3360
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3363
3361
  }, {
3364
- cache: Xe(e.number),
3365
- strategy: je.variadic
3362
+ cache: je(e.number),
3363
+ strategy: ke.variadic
3366
3364
  }),
3367
- getDateTimeFormat: $e(function() {
3365
+ getDateTimeFormat: Ge(function() {
3368
3366
  for (var t, r = [], n = 0; n < arguments.length; n++)
3369
3367
  r[n] = arguments[n];
3370
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3368
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3371
3369
  }, {
3372
- cache: Xe(e.dateTime),
3373
- strategy: je.variadic
3370
+ cache: je(e.dateTime),
3371
+ strategy: ke.variadic
3374
3372
  }),
3375
- getPluralRules: $e(function() {
3373
+ getPluralRules: Ge(function() {
3376
3374
  for (var t, r = [], n = 0; n < arguments.length; n++)
3377
3375
  r[n] = arguments[n];
3378
- return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3376
+ return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3379
3377
  }, {
3380
- cache: Xe(e.pluralRules),
3381
- strategy: je.variadic
3378
+ cache: je(e.pluralRules),
3379
+ strategy: ke.variadic
3382
3380
  })
3383
3381
  };
3384
3382
  }
3385
- var yi = (
3383
+ var bi = (
3386
3384
  /** @class */
3387
3385
  function() {
3388
3386
  function e(t, r, n, i) {
@@ -3401,7 +3399,7 @@ var yi = (
3401
3399
  }, []);
3402
3400
  return h.length <= 1 ? h[0] || "" : h;
3403
3401
  }, this.formatToParts = function(u) {
3404
- return Te(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3402
+ return Se(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3405
3403
  }, this.resolvedOptions = function() {
3406
3404
  var u;
3407
3405
  return {
@@ -3414,13 +3412,13 @@ var yi = (
3414
3412
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3415
3413
  var s = i || {};
3416
3414
  s.formatters;
3417
- var a = Tn(s, ["formatters"]);
3418
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3415
+ var a = Sn(s, ["formatters"]);
3416
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3419
3417
  } else
3420
3418
  this.ast = t;
3421
3419
  if (!Array.isArray(this.ast))
3422
3420
  throw new TypeError("A message must be provided as a String or AST.");
3423
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3421
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3424
3422
  }
3425
3423
  return Object.defineProperty(e, "defaultLocale", {
3426
3424
  get: function() {
@@ -3433,7 +3431,7 @@ var yi = (
3433
3431
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3434
3432
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3435
3433
  }
3436
- }, e.__parse = hi, e.formats = {
3434
+ }, e.__parse = ui, e.formats = {
3437
3435
  number: {
3438
3436
  integer: {
3439
3437
  maximumFractionDigits: 0
@@ -3494,7 +3492,7 @@ var yi = (
3494
3492
  }, e;
3495
3493
  }()
3496
3494
  );
3497
- function vi(e, t) {
3495
+ function yi(e, t) {
3498
3496
  if (t == null)
3499
3497
  return;
3500
3498
  if (t in e)
@@ -3515,92 +3513,92 @@ function vi(e, t) {
3515
3513
  n = void 0;
3516
3514
  return n;
3517
3515
  }
3518
- const z = {}, _i = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), mr = (e, t) => {
3516
+ const W = {}, _i = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), fr = (e, t) => {
3519
3517
  if (t == null)
3520
3518
  return;
3521
- if (t in z && e in z[t])
3522
- return z[t][e];
3523
- const r = Fe(t);
3519
+ if (t in W && e in W[t])
3520
+ return W[t][e];
3521
+ const r = Pe(t);
3524
3522
  for (let n = 0; n < r.length; n++) {
3525
- const i = r[n], o = xi(i, e);
3523
+ const i = r[n], o = Ei(i, e);
3526
3524
  if (o)
3527
3525
  return _i(e, t, o);
3528
3526
  }
3529
3527
  };
3530
- let st;
3531
- const ce = Pe({});
3532
- function Ei(e) {
3533
- return st[e] || null;
3528
+ let ot;
3529
+ const he = Me({});
3530
+ function vi(e) {
3531
+ return ot[e] || null;
3534
3532
  }
3535
- function dr(e) {
3536
- return e in st;
3533
+ function mr(e) {
3534
+ return e in ot;
3537
3535
  }
3538
- function xi(e, t) {
3539
- if (!dr(e))
3536
+ function Ei(e, t) {
3537
+ if (!mr(e))
3540
3538
  return null;
3541
- const r = Ei(e);
3542
- return vi(r, t);
3539
+ const r = vi(e);
3540
+ return yi(r, t);
3543
3541
  }
3544
- function Ci(e) {
3542
+ function xi(e) {
3545
3543
  if (e == null)
3546
3544
  return;
3547
- const t = Fe(e);
3545
+ const t = Pe(e);
3548
3546
  for (let r = 0; r < t.length; r++) {
3549
3547
  const n = t[r];
3550
- if (dr(n))
3548
+ if (mr(n))
3551
3549
  return n;
3552
3550
  }
3553
3551
  }
3554
- function pr(e, ...t) {
3555
- delete z[e], ce.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3552
+ function dr(e, ...t) {
3553
+ delete W[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3556
3554
  }
3557
- he(
3558
- [ce],
3555
+ ue(
3556
+ [he],
3559
3557
  ([e]) => Object.keys(e)
3560
3558
  );
3561
- ce.subscribe((e) => st = e);
3562
- const Ae = {};
3563
- function wi(e, t) {
3564
- Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
3559
+ he.subscribe((e) => ot = e);
3560
+ const Te = {};
3561
+ function Ci(e, t) {
3562
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3565
3563
  }
3566
- function gr(e) {
3567
- return Ae[e];
3564
+ function pr(e) {
3565
+ return Te[e];
3568
3566
  }
3569
- function Hi(e) {
3570
- return Fe(e).map((t) => {
3571
- const r = gr(t);
3567
+ function wi(e) {
3568
+ return Pe(e).map((t) => {
3569
+ const r = pr(t);
3572
3570
  return [t, r ? [...r] : []];
3573
3571
  }).filter(([, t]) => t.length > 0);
3574
3572
  }
3575
- function rt(e) {
3576
- return e == null ? !1 : Fe(e).some(
3573
+ function et(e) {
3574
+ return e == null ? !1 : Pe(e).some(
3577
3575
  (t) => {
3578
3576
  var r;
3579
- return (r = gr(t)) == null ? void 0 : r.size;
3577
+ return (r = pr(t)) == null ? void 0 : r.size;
3580
3578
  }
3581
3579
  );
3582
3580
  }
3583
- function Si(e, t) {
3581
+ function Hi(e, t) {
3584
3582
  return Promise.all(
3585
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
3586
- ).then((n) => pr(e, ...n));
3587
- }
3588
- const de = {};
3589
- function br(e) {
3590
- if (!rt(e))
3591
- return e in de ? de[e] : Promise.resolve();
3592
- const t = Hi(e);
3593
- return de[e] = Promise.all(
3583
+ t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
3584
+ ).then((n) => dr(e, ...n));
3585
+ }
3586
+ const me = {};
3587
+ function gr(e) {
3588
+ if (!et(e))
3589
+ return e in me ? me[e] : Promise.resolve();
3590
+ const t = wi(e);
3591
+ return me[e] = Promise.all(
3594
3592
  t.map(
3595
- ([r, n]) => Si(r, n)
3593
+ ([r, n]) => Hi(r, n)
3596
3594
  )
3597
3595
  ).then(() => {
3598
- if (rt(e))
3599
- return br(e);
3600
- delete de[e];
3601
- }), de[e];
3596
+ if (et(e))
3597
+ return gr(e);
3598
+ delete me[e];
3599
+ }), me[e];
3602
3600
  }
3603
- const Ti = {
3601
+ const Si = {
3604
3602
  number: {
3605
3603
  scientific: { notation: "scientific" },
3606
3604
  engineering: { notation: "engineering" },
@@ -3629,150 +3627,150 @@ const Ti = {
3629
3627
  timeZoneName: "short"
3630
3628
  }
3631
3629
  }
3632
- }, Ai = {
3630
+ }, Ti = {
3633
3631
  fallbackLocale: null,
3634
3632
  loadingDelay: 200,
3635
- formats: Ti,
3633
+ formats: Si,
3636
3634
  warnOnMissingMessages: !0,
3637
3635
  handleMissingMessage: void 0,
3638
3636
  ignoreTag: !0
3639
- }, Bi = Ai;
3640
- function ue() {
3641
- return Bi;
3642
- }
3643
- const We = Pe(!1);
3644
- var Ii = Object.defineProperty, Mi = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3645
- for (var r in t || (t = {}))
3646
- Pi.call(t, r) && Bt(e, r, t[r]);
3647
- if (At)
3648
- for (var r of At(t))
3649
- Oi.call(t, r) && Bt(e, r, t[r]);
3637
+ }, Ai = Ti;
3638
+ function le() {
3639
+ return Ai;
3640
+ }
3641
+ const Ve = Me(!1);
3642
+ var Bi = Object.defineProperty, Ii = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3643
+ for (var r in t)
3644
+ Ni.call(t, r) && At(e, r, t[r]);
3645
+ if (Tt)
3646
+ for (var r of Tt(t))
3647
+ Li.call(t, r) && At(e, r, t[r]);
3650
3648
  return e;
3651
- }, Fi = (e, t) => Mi(e, Ni(t));
3652
- let nt;
3653
- const Me = Pe(null);
3654
- function It(e) {
3649
+ }, Oi = (e, t) => Ii(e, Mi(t));
3650
+ let tt;
3651
+ const Be = Me(null);
3652
+ function Bt(e) {
3655
3653
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3656
3654
  }
3657
- function Fe(e, t = ue().fallbackLocale) {
3658
- const r = It(e);
3659
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3655
+ function Pe(e, t = le().fallbackLocale) {
3656
+ const r = Bt(e);
3657
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
3660
3658
  }
3661
- function K() {
3662
- return nt != null ? nt : void 0;
3659
+ function Y() {
3660
+ return tt != null ? tt : void 0;
3663
3661
  }
3664
- Me.subscribe((e) => {
3665
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3662
+ Be.subscribe((e) => {
3663
+ tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3666
3664
  });
3667
- const Ri = (e) => {
3668
- if (e && Ci(e) && rt(e)) {
3669
- const { loadingDelay: t } = ue();
3665
+ const Fi = (e) => {
3666
+ if (e && xi(e) && et(e)) {
3667
+ const { loadingDelay: t } = le();
3670
3668
  let r;
3671
- return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
3672
- () => We.set(!0),
3669
+ return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
3670
+ () => Ve.set(!0),
3673
3671
  t
3674
- ) : We.set(!0), br(e).then(() => {
3675
- Me.set(e);
3672
+ ) : Ve.set(!0), gr(e).then(() => {
3673
+ Be.set(e);
3676
3674
  }).finally(() => {
3677
- clearTimeout(r), We.set(!1);
3675
+ clearTimeout(r), Ve.set(!1);
3678
3676
  });
3679
3677
  }
3680
- return Me.set(e);
3681
- }, Z = Fi(Li({}, Me), {
3682
- set: Ri
3683
- }), Re = (e) => {
3678
+ return Be.set(e);
3679
+ }, z = Oi(Pi({}, Be), {
3680
+ set: Fi
3681
+ }), Oe = (e) => {
3684
3682
  const t = /* @__PURE__ */ Object.create(null);
3685
3683
  return (n) => {
3686
3684
  const i = JSON.stringify(n);
3687
3685
  return i in t ? t[i] : t[i] = e(n);
3688
3686
  };
3689
3687
  };
3690
- var Di = Object.defineProperty, Ne = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
3688
+ var Ri = Object.defineProperty, Ie = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3691
3689
  for (var r in t || (t = {}))
3692
- yr.call(t, r) && Mt(e, r, t[r]);
3693
- if (Ne)
3694
- for (var r of Ne(t))
3695
- vr.call(t, r) && Mt(e, r, t[r]);
3690
+ br.call(t, r) && It(e, r, t[r]);
3691
+ if (Ie)
3692
+ for (var r of Ie(t))
3693
+ yr.call(t, r) && It(e, r, t[r]);
3696
3694
  return e;
3697
- }, fe = (e, t) => {
3695
+ }, ce = (e, t) => {
3698
3696
  var r = {};
3699
3697
  for (var n in e)
3700
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3701
- if (e != null && Ne)
3702
- for (var n of Ne(e))
3703
- t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3698
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3699
+ if (e != null && Ie)
3700
+ for (var n of Ie(e))
3701
+ t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
3704
3702
  return r;
3705
3703
  };
3706
3704
  const _e = (e, t) => {
3707
- const { formats: r } = ue();
3705
+ const { formats: r } = le();
3708
3706
  if (e in r && t in r[e])
3709
3707
  return r[e][t];
3710
3708
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3711
- }, Ui = Re(
3709
+ }, Di = Oe(
3712
3710
  (e) => {
3713
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
3711
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3714
3712
  if (r == null)
3715
3713
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3716
3714
  return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3717
3715
  }
3718
- ), Gi = Re(
3716
+ ), Ui = Oe(
3719
3717
  (e) => {
3720
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
3718
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3721
3719
  if (r == null)
3722
3720
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3723
3721
  return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3724
3722
  }
3725
- ), ki = Re(
3723
+ ), Gi = Oe(
3726
3724
  (e) => {
3727
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
3725
+ var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3728
3726
  if (r == null)
3729
3727
  throw new Error(
3730
3728
  '[svelte-i18n] A "locale" must be set to format time values'
3731
3729
  );
3732
3730
  return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3733
3731
  }
3734
- ), $i = (e = {}) => {
3732
+ ), ki = (e = {}) => {
3735
3733
  var t = e, {
3736
- locale: r = K()
3737
- } = t, n = fe(t, [
3734
+ locale: r = Y()
3735
+ } = t, n = ce(t, [
3738
3736
  "locale"
3739
3737
  ]);
3740
- return Ui(at({ locale: r }, n));
3741
- }, ji = (e = {}) => {
3738
+ return Di(st({ locale: r }, n));
3739
+ }, $i = (e = {}) => {
3742
3740
  var t = e, {
3743
- locale: r = K()
3744
- } = t, n = fe(t, [
3741
+ locale: r = Y()
3742
+ } = t, n = ce(t, [
3745
3743
  "locale"
3746
3744
  ]);
3747
- return Gi(at({ locale: r }, n));
3748
- }, Vi = (e = {}) => {
3745
+ return Ui(st({ locale: r }, n));
3746
+ }, ji = (e = {}) => {
3749
3747
  var t = e, {
3750
- locale: r = K()
3751
- } = t, n = fe(t, [
3748
+ locale: r = Y()
3749
+ } = t, n = ce(t, [
3752
3750
  "locale"
3753
3751
  ]);
3754
- return ki(at({ locale: r }, n));
3755
- }, Xi = Re(
3752
+ return Gi(st({ locale: r }, n));
3753
+ }, Vi = Oe(
3756
3754
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3757
- (e, t = K()) => new yi(e, t, ue().formats, {
3758
- ignoreTag: ue().ignoreTag
3755
+ (e, t = Y()) => new bi(e, t, le().formats, {
3756
+ ignoreTag: le().ignoreTag
3759
3757
  })
3760
- ), Wi = (e, t = {}) => {
3758
+ ), Xi = (e, t = {}) => {
3761
3759
  var r, n, i, o;
3762
3760
  let s = t;
3763
3761
  typeof e == "object" && (s = e, e = s.id);
3764
3762
  const {
3765
3763
  values: a,
3766
- locale: u = K(),
3764
+ locale: u = Y(),
3767
3765
  default: l
3768
3766
  } = s;
3769
3767
  if (u == null)
3770
3768
  throw new Error(
3771
3769
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3772
3770
  );
3773
- let h = mr(e, u);
3771
+ let h = fr(e, u);
3774
3772
  if (!h)
3775
- h = (o = (i = (n = (r = ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3773
+ h = (o = (i = (n = (r = le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3776
3774
  else if (typeof h != "string")
3777
3775
  return console.warn(
3778
3776
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3781,7 +3779,7 @@ const _e = (e, t) => {
3781
3779
  return h;
3782
3780
  let m = h;
3783
3781
  try {
3784
- m = Xi(h, u).format(a);
3782
+ m = Vi(h, u).format(a);
3785
3783
  } catch (f) {
3786
3784
  f instanceof Error && console.warn(
3787
3785
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3789,24 +3787,24 @@ const _e = (e, t) => {
3789
3787
  );
3790
3788
  }
3791
3789
  return m;
3792
- }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ji(t).format(e), Qi = (e, t) => $i(t).format(e), qi = (e, t = K()) => mr(e, t);
3793
- he([Z, ce], () => Wi);
3794
- he([Z], () => zi);
3795
- he([Z], () => Zi);
3796
- he([Z], () => Qi);
3797
- he([Z, ce], () => qi);
3798
- function Ji({ withLocale: e, translations: t }) {
3799
- Z.subscribe((r) => {
3800
- r == null && (ce.set(t), Z.set(e));
3790
+ }, Wi = (e, t) => ji(t).format(e), zi = (e, t) => $i(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t = Y()) => fr(e, t);
3791
+ ue([z, he], () => Xi);
3792
+ ue([z], () => Wi);
3793
+ ue([z], () => zi);
3794
+ ue([z], () => Zi);
3795
+ ue([z, he], () => Qi);
3796
+ function qi({ withLocale: e, translations: t }) {
3797
+ z.subscribe((r) => {
3798
+ r == null && (he.set(t), z.set(e));
3801
3799
  });
3802
3800
  }
3803
- function Nt(e, t) {
3804
- pr(e, t);
3801
+ function Mt(e, t) {
3802
+ dr(e, t);
3805
3803
  }
3806
- function Yi(e) {
3807
- Z.set(e);
3804
+ function Ji(e) {
3805
+ z.set(e);
3808
3806
  }
3809
- const Pt = {
3807
+ const Nt = {
3810
3808
  en: {
3811
3809
  login: "Login",
3812
3810
  register: "Register",
@@ -3863,23 +3861,23 @@ const Pt = {
3863
3861
  deposit: "Deposit"
3864
3862
  }
3865
3863
  };
3866
- function Ki(e) {
3867
- Gr(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3864
+ function Yi(e) {
3865
+ Ur(e, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3868
3866
  }
3869
- function Ot(e, t, r) {
3867
+ function Lt(e, t, r) {
3870
3868
  const n = e.slice();
3871
3869
  return n[48] = t[r], n[50] = r, n;
3872
3870
  }
3873
- function Lt(e, t, r) {
3871
+ function Pt(e, t, r) {
3874
3872
  const n = e.slice();
3875
3873
  return n[51] = t[r], n;
3876
3874
  }
3877
- function Ft(e, t, r) {
3875
+ function Ot(e, t, r) {
3878
3876
  const n = e.slice();
3879
3877
  return n[54] = t[r], n[56] = r, n;
3880
3878
  }
3881
- function Rt(e) {
3882
- let t = [], r = /* @__PURE__ */ new Map(), n, i = oe(
3879
+ function Ft(e) {
3880
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
3883
3881
  /*sliderdata*/
3884
3882
  e[9]
3885
3883
  );
@@ -3888,14 +3886,14 @@ function Rt(e) {
3888
3886
  s[48].id
3889
3887
  );
3890
3888
  for (let s = 0; s < i.length; s += 1) {
3891
- let a = Ot(e, i, s), u = o(a);
3892
- r.set(u, t[s] = jt(u, a));
3889
+ let a = Lt(e, i, s), u = o(a);
3890
+ r.set(u, t[s] = $t(u, a));
3893
3891
  }
3894
3892
  return {
3895
3893
  c() {
3896
3894
  for (let s = 0; s < t.length; s += 1)
3897
3895
  t[s].c();
3898
- n = be();
3896
+ n = ge();
3899
3897
  },
3900
3898
  m(s, a) {
3901
3899
  for (let u = 0; u < t.length; u += 1)
@@ -3904,10 +3902,10 @@ function Rt(e) {
3904
3902
  },
3905
3903
  p(s, a) {
3906
3904
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3907
- 77775 && (i = oe(
3905
+ 77775 && (i = ie(
3908
3906
  /*sliderdata*/
3909
3907
  s[9]
3910
- ), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, jt, n, Ot));
3908
+ ), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, $t, n, Lt));
3911
3909
  },
3912
3910
  d(s) {
3913
3911
  s && D(n);
@@ -3916,14 +3914,14 @@ function Rt(e) {
3916
3914
  }
3917
3915
  };
3918
3916
  }
3919
- function eo(e) {
3917
+ function Ki(e) {
3920
3918
  let t, r = (
3921
3919
  /*category*/
3922
3920
  e[48].name + ""
3923
3921
  ), n;
3924
3922
  return {
3925
3923
  c() {
3926
- t = P("button"), n = Ee(r), H(t, "class", "CategoryButton");
3924
+ t = L("button"), n = ve(r), S(t, "class", "CategoryButton");
3927
3925
  },
3928
3926
  m(i, o) {
3929
3927
  G(i, t, o), B(t, n);
@@ -3931,21 +3929,21 @@ function eo(e) {
3931
3929
  p(i, o) {
3932
3930
  o[0] & /*sliderdata*/
3933
3931
  512 && r !== (r = /*category*/
3934
- i[48].name + "") && ot(n, r);
3932
+ i[48].name + "") && nt(n, r);
3935
3933
  },
3936
3934
  d(i) {
3937
3935
  i && D(t);
3938
3936
  }
3939
3937
  };
3940
3938
  }
3941
- function to(e) {
3939
+ function eo(e) {
3942
3940
  let t, r = (
3943
3941
  /*category*/
3944
3942
  e[48].label + ""
3945
3943
  ), n, i;
3946
3944
  return {
3947
3945
  c() {
3948
- t = P("a"), n = Ee(r), H(t, "href", i = /*category*/
3946
+ t = L("a"), n = ve(r), S(t, "href", i = /*category*/
3949
3947
  e[48].path);
3950
3948
  },
3951
3949
  m(o, s) {
@@ -3954,24 +3952,24 @@ function to(e) {
3954
3952
  p(o, s) {
3955
3953
  s[0] & /*sliderdata*/
3956
3954
  512 && r !== (r = /*category*/
3957
- o[48].label + "") && ot(n, r), s[0] & /*sliderdata*/
3955
+ o[48].label + "") && nt(n, r), s[0] & /*sliderdata*/
3958
3956
  512 && i !== (i = /*category*/
3959
- o[48].path) && H(t, "href", i);
3957
+ o[48].path) && S(t, "href", i);
3960
3958
  },
3961
3959
  d(o) {
3962
3960
  o && D(t);
3963
3961
  }
3964
3962
  };
3965
3963
  }
3966
- function Dt(e) {
3964
+ function Rt(e) {
3967
3965
  let t, r = (
3968
3966
  /*subGroupsData*/
3969
3967
  e[10].length > 0 && /*showsubgroups*/
3970
- e[2] == "true" && Ut(e)
3968
+ e[2] == "true" && Dt(e)
3971
3969
  );
3972
3970
  return {
3973
3971
  c() {
3974
- r && r.c(), t = be();
3972
+ r && r.c(), t = ge();
3975
3973
  },
3976
3974
  m(n, i) {
3977
3975
  r && r.m(n, i), G(n, t, i);
@@ -3979,26 +3977,26 @@ function Dt(e) {
3979
3977
  p(n, i) {
3980
3978
  /*subGroupsData*/
3981
3979
  n[10].length > 0 && /*showsubgroups*/
3982
- n[2] == "true" ? r ? r.p(n, i) : (r = Ut(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3980
+ n[2] == "true" ? r ? r.p(n, i) : (r = Dt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3983
3981
  },
3984
3982
  d(n) {
3985
3983
  n && D(t), r && r.d(n);
3986
3984
  }
3987
3985
  };
3988
3986
  }
3989
- function Ut(e) {
3990
- let t, r = oe(
3987
+ function Dt(e) {
3988
+ let t, r = ie(
3991
3989
  /*subGroupsData*/
3992
3990
  e[10]
3993
3991
  ), n = [];
3994
3992
  for (let i = 0; i < r.length; i += 1)
3995
- n[i] = $t(Lt(e, r, i));
3993
+ n[i] = kt(Pt(e, r, i));
3996
3994
  return {
3997
3995
  c() {
3998
- t = P("ul");
3996
+ t = L("ul");
3999
3997
  for (let i = 0; i < n.length; i += 1)
4000
3998
  n[i].c();
4001
- H(t, "class", "DropDown");
3999
+ S(t, "class", "DropDown");
4002
4000
  },
4003
4001
  m(i, o) {
4004
4002
  G(i, t, o);
@@ -4008,14 +4006,14 @@ function Ut(e) {
4008
4006
  p(i, o) {
4009
4007
  if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
4010
4008
  10176) {
4011
- r = oe(
4009
+ r = ie(
4012
4010
  /*subGroupsData*/
4013
4011
  i[10]
4014
4012
  );
4015
4013
  let s;
4016
4014
  for (s = 0; s < r.length; s += 1) {
4017
- const a = Lt(i, r, s);
4018
- n[s] ? n[s].p(a, o) : (n[s] = $t(a), n[s].c(), n[s].m(t, null));
4015
+ const a = Pt(i, r, s);
4016
+ n[s] ? n[s].p(a, o) : (n[s] = kt(a), n[s].c(), n[s].m(t, null));
4019
4017
  }
4020
4018
  for (; s < n.length; s += 1)
4021
4019
  n[s].d(1);
@@ -4023,11 +4021,11 @@ function Ut(e) {
4023
4021
  }
4024
4022
  },
4025
4023
  d(i) {
4026
- i && D(t), jr(n, i);
4024
+ i && D(t), $r(n, i);
4027
4025
  }
4028
4026
  };
4029
4027
  }
4030
- function Gt(e) {
4028
+ function Ut(e) {
4031
4029
  var h;
4032
4030
  let t, r, n = (
4033
4031
  /*subGroupItem*/
@@ -4051,7 +4049,7 @@ function Gt(e) {
4051
4049
  }
4052
4050
  return {
4053
4051
  c() {
4054
- t = P("li"), r = P("a"), i = Ee(n), s = J(), H(r, "class", o = "SubDropDown " + /*index*/
4052
+ t = L("li"), r = L("a"), i = ve(n), s = q(), S(r, "class", o = "SubDropDown " + /*index*/
4055
4053
  (e[50] == /*activeIndex*/
4056
4054
  e[6] && /*activeSubIndex*/
4057
4055
  (e[7] == /*subindex*/
@@ -4060,37 +4058,37 @@ function Gt(e) {
4060
4058
  e[56]) ? "active" : ""));
4061
4059
  },
4062
4060
  m(m, f) {
4063
- G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Be(t, "click", l), a = !0);
4061
+ G(m, t, f), B(t, r), B(r, i), B(t, s), a || (u = Ae(t, "click", l), a = !0);
4064
4062
  },
4065
4063
  p(m, f) {
4066
4064
  var p;
4067
4065
  e = m, f[0] & /*subGroupsData*/
4068
4066
  1024 && n !== (n = /*subGroupItem*/
4069
- ((p = e[54]) == null ? void 0 : p.name) + "") && ot(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4067
+ ((p = e[54]) == null ? void 0 : p.name) + "") && nt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4070
4068
  1984 && o !== (o = "SubDropDown " + /*index*/
4071
4069
  (e[50] == /*activeIndex*/
4072
4070
  e[6] && /*activeSubIndex*/
4073
4071
  (e[7] == /*subindex*/
4074
4072
  e[56] || /*prevSubIndex*/
4075
4073
  e[8] == /*subindex*/
4076
- e[56]) ? "active" : "")) && H(r, "class", o);
4074
+ e[56]) ? "active" : "")) && S(r, "class", o);
4077
4075
  },
4078
4076
  d(m) {
4079
4077
  m && D(t), a = !1, u();
4080
4078
  }
4081
4079
  };
4082
4080
  }
4083
- function kt(e, t) {
4081
+ function Gt(e, t) {
4084
4082
  let r, n, i = (
4085
4083
  /*index*/
4086
4084
  t[50] == /*subGroup*/
4087
- t[51].index && Gt(t)
4085
+ t[51].index && Ut(t)
4088
4086
  );
4089
4087
  return {
4090
4088
  key: e,
4091
4089
  first: null,
4092
4090
  c() {
4093
- r = be(), i && i.c(), n = be(), this.first = r;
4091
+ r = ge(), i && i.c(), n = ge(), this.first = r;
4094
4092
  },
4095
4093
  m(o, s) {
4096
4094
  G(o, r, s), i && i.m(o, s), G(o, n, s);
@@ -4098,15 +4096,15 @@ function kt(e, t) {
4098
4096
  p(o, s) {
4099
4097
  t = o, /*index*/
4100
4098
  t[50] == /*subGroup*/
4101
- t[51].index ? i ? i.p(t, s) : (i = Gt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4099
+ t[51].index ? i ? i.p(t, s) : (i = Ut(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4102
4100
  },
4103
4101
  d(o) {
4104
4102
  o && (D(r), D(n)), i && i.d(o);
4105
4103
  }
4106
4104
  };
4107
4105
  }
4108
- function $t(e) {
4109
- let t = [], r = /* @__PURE__ */ new Map(), n, i = oe(
4106
+ function kt(e) {
4107
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ie(
4110
4108
  /*subGroup*/
4111
4109
  e[51].items
4112
4110
  );
@@ -4115,14 +4113,14 @@ function $t(e) {
4115
4113
  s[54].id
4116
4114
  );
4117
4115
  for (let s = 0; s < i.length; s += 1) {
4118
- let a = Ft(e, i, s), u = o(a);
4119
- r.set(u, t[s] = kt(u, a));
4116
+ let a = Ot(e, i, s), u = o(a);
4117
+ r.set(u, t[s] = Gt(u, a));
4120
4118
  }
4121
4119
  return {
4122
4120
  c() {
4123
4121
  for (let s = 0; s < t.length; s += 1)
4124
4122
  t[s].c();
4125
- n = be();
4123
+ n = ge();
4126
4124
  },
4127
4125
  m(s, a) {
4128
4126
  for (let u = 0; u < t.length; u += 1)
@@ -4131,10 +4129,10 @@ function $t(e) {
4131
4129
  },
4132
4130
  p(s, a) {
4133
4131
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4134
- 10176 && (i = oe(
4132
+ 10176 && (i = ie(
4135
4133
  /*subGroup*/
4136
4134
  s[51].items
4137
- ), t = Zt(t, a, o, 1, s, i, r, n.parentNode, zt, kt, n, Ft));
4135
+ ), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, Gt, n, Ot));
4138
4136
  },
4139
4137
  d(s) {
4140
4138
  s && D(n);
@@ -4143,12 +4141,12 @@ function $t(e) {
4143
4141
  }
4144
4142
  };
4145
4143
  }
4146
- function jt(e, t) {
4144
+ function $t(e, t) {
4147
4145
  let r, n, i, o, s, a, u, l, h, m, f;
4148
- function p(_, E) {
4146
+ function p(v, x) {
4149
4147
  return (
4150
4148
  /*location*/
4151
- _[0] === "headerMain" ? to : eo
4149
+ v[0] === "headerMain" ? eo : Ki
4152
4150
  );
4153
4151
  }
4154
4152
  let g = p(t), b = g(t), d = (
@@ -4156,9 +4154,9 @@ function jt(e, t) {
4156
4154
  t[11][
4157
4155
  /*index*/
4158
4156
  t[50]
4159
- ] == !0 && Dt(t)
4157
+ ] == !0 && Rt(t)
4160
4158
  );
4161
- function w(..._) {
4159
+ function H(...v) {
4162
4160
  return (
4163
4161
  /*click_handler_2*/
4164
4162
  t[34](
@@ -4166,7 +4164,7 @@ function jt(e, t) {
4166
4164
  t[48],
4167
4165
  /*index*/
4168
4166
  t[50],
4169
- ..._
4167
+ ...v
4170
4168
  )
4171
4169
  );
4172
4170
  }
@@ -4174,16 +4172,16 @@ function jt(e, t) {
4174
4172
  key: e,
4175
4173
  first: null,
4176
4174
  c() {
4177
- var _, E;
4178
- r = P("li"), n = P("div"), i = P("img"), a = J(), b.c(), u = J(), d && d.c(), l = J(), H(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4179
- (t[3] === "true" ? "" : "DisplayNone")), bt(i.src, s = /*handleSrc*/
4175
+ var v, x;
4176
+ r = L("li"), n = L("div"), i = L("img"), a = q(), b.c(), u = q(), d && d.c(), l = q(), S(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4177
+ (t[3] === "true" ? "" : "DisplayNone")), gt(i.src, s = /*handleSrc*/
4180
4178
  t[16](
4181
4179
  /*category*/
4182
4180
  t[48]
4183
- )) || H(i, "src", s), H(n, "class", "CategoryIcon"), H(r, "class", h = "CarouselItem " + /*activeindex*/
4184
- (((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
4181
+ )) || S(i, "src", s), S(n, "class", "CategoryIcon"), S(r, "class", h = "CarouselItem " + /*activeindex*/
4182
+ (((v = t[1]) == null ? void 0 : v.toString().indexOf("$")) > -1 ? (
4185
4183
  /*activeindex*/
4186
- ((E = t[1]) == null ? void 0 : E.split("$").pop()) == /*category*/
4184
+ ((x = t[1]) == null ? void 0 : x.split("$").pop()) == /*category*/
4187
4185
  t[48].id.split("$").pop() ? "active" : ""
4188
4186
  ) : (
4189
4187
  /*activeindex*/
@@ -4192,25 +4190,25 @@ function jt(e, t) {
4192
4190
  )) + " " + /*location*/
4193
4191
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4194
4192
  },
4195
- m(_, E) {
4196
- G(_, r, E), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Be(r, "click", w), m = !0);
4193
+ m(v, x) {
4194
+ G(v, r, x), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, u), d && d.m(r, null), B(r, l), m || (f = Ae(r, "click", H), m = !0);
4197
4195
  },
4198
- p(_, E) {
4199
- var L, I;
4200
- t = _, E[0] & /*categoriesicon*/
4196
+ p(v, x) {
4197
+ var O, I;
4198
+ t = v, x[0] & /*categoriesicon*/
4201
4199
  8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4202
- (t[3] === "true" ? "" : "DisplayNone")) && H(i, "class", o), E[0] & /*sliderdata*/
4203
- 512 && !bt(i.src, s = /*handleSrc*/
4200
+ (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), x[0] & /*sliderdata*/
4201
+ 512 && !gt(i.src, s = /*handleSrc*/
4204
4202
  t[16](
4205
4203
  /*category*/
4206
4204
  t[48]
4207
- )) && H(i, "src", s), g === (g = p(t)) && b ? b.p(t, E) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4205
+ )) && S(i, "src", s), g === (g = p(t)) && b ? b.p(t, x) : (b.d(1), b = g(t), b && (b.c(), b.m(r, u))), /*itemsActive*/
4208
4206
  t[11][
4209
4207
  /*index*/
4210
4208
  t[50]
4211
- ] == !0 ? d ? d.p(t, E) : (d = Dt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), E[0] & /*activeindex, sliderdata, location*/
4209
+ ] == !0 ? d ? d.p(t, x) : (d = Rt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), x[0] & /*activeindex, sliderdata, location*/
4212
4210
  515 && h !== (h = "CarouselItem " + /*activeindex*/
4213
- (((L = t[1]) == null ? void 0 : L.toString().indexOf("$")) > -1 ? (
4211
+ (((O = t[1]) == null ? void 0 : O.toString().indexOf("$")) > -1 ? (
4214
4212
  /*activeindex*/
4215
4213
  ((I = t[1]) == null ? void 0 : I.split("$").pop()) == /*category*/
4216
4214
  t[48].id.split("$").pop() ? "active" : ""
@@ -4219,34 +4217,34 @@ function jt(e, t) {
4219
4217
  t[1] == /*category*/
4220
4218
  t[48].id ? "active" : ""
4221
4219
  )) + " " + /*location*/
4222
- (t[0] == "headerMain" ? "" : "SecondaryMenu")) && H(r, "class", h);
4220
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", h);
4223
4221
  },
4224
- d(_) {
4225
- _ && D(r), b.d(), d && d.d(), m = !1, f();
4222
+ d(v) {
4223
+ v && D(r), b.d(), d && d.d(), m = !1, f();
4226
4224
  }
4227
4225
  };
4228
4226
  }
4229
- function ro(e) {
4227
+ function to(e) {
4230
4228
  let t, r, n, i, o, s, a, u, l, h, m, f, p, g, b, d = (
4231
4229
  /*sliderdata*/
4232
- e[9].length > 0 && Rt(e)
4230
+ e[9].length > 0 && Ft(e)
4233
4231
  );
4234
4232
  return {
4235
4233
  c() {
4236
- t = P("div"), r = P("div"), n = P("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 = J(), o = P("div"), s = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = J(), d && d.c(), l = J(), h = P("div"), h.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(h, "class", "CarouselRightArrow"), H(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4237
- e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), H(r, "style", f = /*location*/
4238
- e[0] === "headerMain" ? "max-width: auto" : void 0), H(t, "class", p = "CarouselWrapper " + /*location*/
4234
+ t = L("div"), r = L("div"), n = L("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 = L("div"), s = L("ul"), a = L("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = q(), d && d.c(), l = q(), h = L("div"), h.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(s, "id", "CarouselNav"), S(s, "class", "CarouselItems"), S(o, "class", "CarouselNavWrap scroller"), S(h, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4235
+ e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4236
+ e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4239
4237
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4240
4238
  },
4241
- m(w, _) {
4242
- G(w, t, _), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
4243
- Be(
4239
+ m(H, v) {
4240
+ G(H, t, v), B(t, r), B(r, n), B(r, i), B(r, o), B(o, s), B(s, a), B(s, u), d && d.m(s, null), e[35](s), e[36](o), B(r, l), B(r, h), e[38](t), g || (b = [
4241
+ Ae(
4244
4242
  n,
4245
4243
  "click",
4246
4244
  /*click_handler*/
4247
4245
  e[32]
4248
4246
  ),
4249
- Be(
4247
+ Ae(
4250
4248
  h,
4251
4249
  "click",
4252
4250
  /*click_handler_3*/
@@ -4254,173 +4252,173 @@ function ro(e) {
4254
4252
  )
4255
4253
  ], g = !0);
4256
4254
  },
4257
- p(w, _) {
4255
+ p(H, v) {
4258
4256
  /*sliderdata*/
4259
- w[9].length > 0 ? d ? d.p(w, _) : (d = Rt(w), d.c(), d.m(s, null)) : d && (d.d(1), d = null), _[0] & /*location*/
4257
+ H[9].length > 0 ? d ? d.p(H, v) : (d = Ft(H), d.c(), d.m(s, null)) : d && (d.d(1), d = null), v[0] & /*location*/
4260
4258
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4261
- w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && H(r, "class", m), _[0] & /*location*/
4259
+ H[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), v[0] & /*location*/
4262
4260
  1 && f !== (f = /*location*/
4263
- w[0] === "headerMain" ? "max-width: auto" : void 0) && H(r, "style", f), _[0] & /*location*/
4261
+ H[0] === "headerMain" ? "max-width: auto" : void 0) && S(r, "style", f), v[0] & /*location*/
4264
4262
  1 && p !== (p = "CarouselWrapper " + /*location*/
4265
- (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && H(t, "class", p);
4263
+ (H[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4266
4264
  },
4267
4265
  i: k,
4268
4266
  o: k,
4269
- d(w) {
4270
- w && D(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, Y(b);
4267
+ d(H) {
4268
+ H && D(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, J(b);
4271
4269
  }
4272
4270
  };
4273
4271
  }
4274
- function no(e, t, r) {
4275
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = 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: _ = "false" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: L = "" } = t, { mbsource: I = "" } = t;
4276
- Ji({ withLocale: "en", translations: {} });
4272
+ function ro(e, t, r) {
4273
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: H = "false" } = t, { categoriesicon: v = "false" } = t, { lobbyiconimage: x = "" } = t, { mygamesiconimage: O = "" } = t, { mbsource: I = "" } = t;
4274
+ qi({ withLocale: "en", translations: {} });
4277
4275
  const $ = () => {
4278
- fetch(f).then((x) => x.json()).then((x) => {
4279
- Object.keys(x).forEach((F) => {
4280
- Nt(F, x[F]);
4276
+ fetch(f).then((C) => C.json()).then((C) => {
4277
+ Object.keys(C).forEach((F) => {
4278
+ Mt(F, C[F]);
4281
4279
  });
4282
- }).catch((x) => {
4283
- console.log(x);
4280
+ }).catch((C) => {
4281
+ console.log(C);
4284
4282
  });
4285
4283
  };
4286
- Object.keys(Pt).forEach((c) => {
4287
- Nt(c, Pt[c]);
4284
+ Object.keys(Nt).forEach((c) => {
4285
+ Mt(c, Nt[c]);
4288
4286
  });
4289
- let C, M, O, X, V, me = [], xe = [], ee = [], N, De = (c, x, F, Q, W) => {
4290
- var q;
4291
- if (!(c.subGroups && Q === null)) {
4292
- if (Ce(), r(6, M = x), r(6, M), W != "secondary") {
4287
+ let w, M, P, V, j, fe = [], Ee = [], K = [], N, Fe = (c, C, F, Z, X) => {
4288
+ var Q;
4289
+ if (!(c.subGroups && Z === null)) {
4290
+ if (xe(), r(6, M = C), r(6, M), X != "secondary") {
4293
4291
  window.postMessage(
4294
4292
  {
4295
4293
  type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4296
4294
  buzz: "1",
4297
4295
  itemId: c.id,
4298
- index: x,
4296
+ index: C,
4299
4297
  item: c,
4300
4298
  path: c.path,
4301
4299
  externalLink: c.externalLink || !1,
4302
- target: ((q = c.attrs) == null ? void 0 : q.target) || null
4300
+ target: ((Q = c.attrs) == null ? void 0 : Q.target) || null
4303
4301
  },
4304
4302
  window.location.href
4305
- ), r(7, O = null), r(8, X = null);
4303
+ ), r(7, P = null), r(8, V = null);
4306
4304
  return;
4307
4305
  }
4308
- r(7, O = Q), r(7, O), r(8, X = O), window.postMessage(
4306
+ r(7, P = Z), r(7, P), r(8, V = P), window.postMessage(
4309
4307
  {
4310
4308
  type: s,
4311
4309
  itemId: F.id,
4312
- subIndex: Q,
4310
+ subIndex: Z,
4313
4311
  subItem: F
4314
4312
  },
4315
4313
  window.location.href
4316
4314
  );
4317
4315
  }
4316
+ }, at = () => {
4317
+ N && (K.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4318
4318
  }, lt = () => {
4319
- N && (ee.length !== M ? r(12, N.scrollLeft -= 250, N) : r(12, N.scrollLeft = 0, N));
4320
- }, ut = () => {
4321
- N && (ee.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
4319
+ N && (K.length !== M ? r(12, N.scrollLeft += 250, N) : r(12, N.scrollLeft = 0, N));
4322
4320
  };
4323
- const ht = (c) => {
4324
- c.data.type == "SliderData" && c.data.identity == m && (r(9, me = c.data.data), r(11, ee = new Array(me.length).fill(!1)), w == "true" && xr()), c.data.type == "GoToHomepage" && me.forEach((x, F) => {
4325
- x.path.endsWith("/casino") && (r(6, M = F), r(6, M));
4321
+ const ut = (c) => {
4322
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, fe = c.data.data), r(11, K = new Array(fe.length).fill(!1)), H == "true" && Er()), c.data.type == "GoToHomepage" && fe.forEach((C, F) => {
4323
+ C.path.endsWith("/casino") && (r(6, M = F), r(6, M));
4326
4324
  });
4327
4325
  }, _r = () => {
4328
- Yi(b);
4329
- }, Er = (c, x, F) => {
4326
+ Ji(b);
4327
+ }, vr = (c, C, F) => {
4330
4328
  if (u == "secondaryMenu" && n && i && b && c.id) {
4331
- let Q = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4332
- fetch(Q.href).then((W) => W.json()).then((W) => {
4333
- W.index = x, r(10, xe = xe.concat(W)), w == "false" && window.postMessage(
4329
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4330
+ fetch(Z.href).then((X) => X.json()).then((X) => {
4331
+ X.index = C, r(10, Ee = Ee.concat(X)), H == "false" && window.postMessage(
4334
4332
  {
4335
4333
  type: s,
4336
4334
  itemId: c.id,
4337
- index: x,
4335
+ index: C,
4338
4336
  item: c
4339
4337
  },
4340
4338
  window.location.href
4341
4339
  );
4342
- const q = [];
4343
- xe.map((Mr) => (Mr.items.forEach((ct) => {
4344
- q.find((Nr) => ct.id == Nr) || q.push(ct.id);
4345
- }), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
4340
+ const Q = [];
4341
+ Ee.map((Ir) => (Ir.items.forEach((ht) => {
4342
+ Q.find((Mr) => ht.id == Mr) || Q.push(ht.id);
4343
+ }), Q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Q }, window.location.href);
4346
4344
  }).then(() => {
4347
- C.querySelectorAll(".DropDown") && Ce();
4345
+ w.querySelectorAll(".DropDown") && xe();
4348
4346
  });
4349
4347
  }
4350
4348
  u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4351
- }, Ce = () => {
4352
- const c = C.querySelectorAll(".DropDown");
4349
+ }, xe = () => {
4350
+ const c = w.querySelectorAll(".DropDown");
4353
4351
  document.activeElement.blur(), N.classList.add("isScrolling");
4354
- for (let x = 0; x < c.length; x++)
4355
- c[x].style.transform = "translateX(-" + N.scrollLeft + "px)";
4352
+ for (let C = 0; C < c.length; C++)
4353
+ c[C].style.transform = "translateX(-" + N.scrollLeft + "px)";
4356
4354
  N.classList.remove("isScrolling");
4357
- }, xr = () => {
4358
- me.forEach((c, x) => {
4355
+ }, Er = () => {
4356
+ fe.forEach((c, C) => {
4359
4357
  var F;
4360
- ((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, ee[x] = !0, ee), Er(c, x));
4358
+ ((F = c == null ? void 0 : c.subGroups) == null ? void 0 : F.count) > 0 && (r(11, K[C] = !0, K), vr(c, C));
4361
4359
  });
4362
- }, Cr = (c) => {
4363
- let x = "";
4364
- return c.id === "LOBBY" ? x = E : c.id === "MYGAMES" && (x = L), c.icon || x;
4360
+ }, xr = (c) => {
4361
+ let C = "";
4362
+ return c.id === "LOBBY" ? C = x : c.id === "MYGAMES" && (C = O), c.icon || C;
4365
4363
  };
4366
- zr(() => (window.addEventListener("message", ht, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4364
+ Wr(() => (window.addEventListener("message", ut, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4367
4365
  () => {
4368
- N.addEventListener("scroll", Ce);
4366
+ N.addEventListener("scroll", xe);
4369
4367
  },
4370
4368
  500
4371
4369
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4372
- window.removeEventListener("message", ht), C.removeEventListener("scroll", Ce);
4370
+ window.removeEventListener("message", ut), w.removeEventListener("scroll", xe);
4373
4371
  }));
4374
- const wr = () => lt(), Hr = (c, x, F, Q, W) => {
4375
- De(c, x, F, Q, "secondary"), W.stopPropagation();
4376
- }, Sr = (c, x, F) => {
4377
- De(c, x, null, null, "main"), F.preventDefault();
4372
+ const Cr = () => at(), wr = (c, C, F, Z, X) => {
4373
+ Fe(c, C, F, Z, "secondary"), X.stopPropagation();
4374
+ }, Hr = (c, C, F) => {
4375
+ Fe(c, C, null, null, "main"), F.preventDefault();
4378
4376
  };
4379
- function Tr(c) {
4380
- ge[c ? "unshift" : "push"](() => {
4381
- C = c, r(5, C);
4377
+ function Sr(c) {
4378
+ pe[c ? "unshift" : "push"](() => {
4379
+ w = c, r(5, w);
4382
4380
  });
4383
4381
  }
4384
- function Ar(c) {
4385
- ge[c ? "unshift" : "push"](() => {
4382
+ function Tr(c) {
4383
+ pe[c ? "unshift" : "push"](() => {
4386
4384
  N = c, r(12, N);
4387
4385
  });
4388
4386
  }
4389
- const Br = () => ut();
4390
- function Ir(c) {
4391
- ge[c ? "unshift" : "push"](() => {
4392
- V = c, r(4, V);
4387
+ const Ar = () => lt();
4388
+ function Br(c) {
4389
+ pe[c ? "unshift" : "push"](() => {
4390
+ j = c, r(4, j);
4393
4391
  });
4394
4392
  }
4395
4393
  return e.$$set = (c) => {
4396
- "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, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, E = c.lobbyiconimage), "mygamesiconimage" in c && r(30, L = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
4394
+ "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, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = 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, H = c.showsubgroups), "categoriesicon" in c && r(3, v = c.categoriesicon), "lobbyiconimage" in c && r(29, x = c.lobbyiconimage), "mygamesiconimage" in c && r(30, O = c.mygamesiconimage), "mbsource" in c && r(31, I = c.mbsource);
4397
4395
  }, e.$$.update = () => {
4398
4396
  e.$$.dirty[0] & /*activeindex*/
4399
4397
  2, e.$$.dirty[0] & /*translationurl*/
4400
4398
  33554432 && f && $(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4401
- 4194320 && l && V && an(V, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4402
- 8388624 && h && V && ln(V, h), e.$$.dirty[0] & /*customStylingContainer*/
4399
+ 4194320 && l && j && sn(j, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4400
+ 8388624 && h && j && an(j, h), e.$$.dirty[0] & /*customStylingContainer*/
4403
4401
  16 | e.$$.dirty[1] & /*mbsource*/
4404
- 1 && I && V && un(V, `${I}.Style`), e.$$.dirty[0] & /*lang*/
4402
+ 1 && I && j && ln(j, `${I}.Style`), e.$$.dirty[0] & /*lang*/
4405
4403
  268435456 && b && _r();
4406
4404
  }, [
4407
4405
  u,
4408
4406
  d,
4407
+ H,
4408
+ v,
4409
+ j,
4409
4410
  w,
4410
- _,
4411
- V,
4412
- C,
4413
4411
  M,
4414
- O,
4415
- X,
4416
- me,
4417
- xe,
4418
- ee,
4412
+ P,
4413
+ V,
4414
+ fe,
4415
+ Ee,
4416
+ K,
4419
4417
  N,
4420
- De,
4418
+ Fe,
4419
+ at,
4421
4420
  lt,
4422
- ut,
4423
- Cr,
4421
+ xr,
4424
4422
  n,
4425
4423
  i,
4426
4424
  o,
@@ -4433,26 +4431,26 @@ function no(e, t, r) {
4433
4431
  p,
4434
4432
  g,
4435
4433
  b,
4436
- E,
4437
- L,
4434
+ x,
4435
+ O,
4438
4436
  I,
4437
+ Cr,
4439
4438
  wr,
4440
4439
  Hr,
4441
4440
  Sr,
4442
4441
  Tr,
4443
4442
  Ar,
4444
- Br,
4445
- Ir
4443
+ Br
4446
4444
  ];
4447
4445
  }
4448
- class io extends on {
4446
+ class no extends nn {
4449
4447
  constructor(t) {
4450
- super(), rn(
4448
+ super(), tn(
4451
4449
  this,
4452
4450
  t,
4453
- no,
4454
4451
  ro,
4455
- Xt,
4452
+ to,
4453
+ Vt,
4456
4454
  {
4457
4455
  endpoint: 17,
4458
4456
  datasource: 18,
@@ -4474,7 +4472,7 @@ class io extends on {
4474
4472
  mygamesiconimage: 30,
4475
4473
  mbsource: 31
4476
4474
  },
4477
- Ki,
4475
+ Yi,
4478
4476
  [-1, -1]
4479
4477
  );
4480
4478
  }
@@ -4593,7 +4591,7 @@ class io extends on {
4593
4591
  this.$$set({ mbsource: t }), A();
4594
4592
  }
4595
4593
  }
4596
- nn(io, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4594
+ rn(no, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4597
4595
  export {
4598
- io as default
4596
+ no as default
4599
4597
  };