@everymatrix/casino-categories-vendor-bar 1.60.2 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,29 @@
1
+ import "../stencil/ui-image-BNrzgSpe.js";
1
2
  function D() {
2
3
  }
3
- function Gt(e) {
4
+ function Ft(e) {
4
5
  return e();
5
6
  }
6
- function lt() {
7
+ function ut() {
7
8
  return /* @__PURE__ */ Object.create(null);
8
9
  }
9
- function X(e) {
10
- e.forEach(Gt);
10
+ function z(e) {
11
+ e.forEach(Ft);
11
12
  }
12
- function Se(e) {
13
+ function Te(e) {
13
14
  return typeof e == "function";
14
15
  }
15
- function Ft(e, t) {
16
+ function jt(e, t) {
16
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
18
  }
18
- let me;
19
- function Ee(e, t) {
20
- return e === t ? !0 : (me || (me = document.createElement("a")), me.href = t, e === me.href);
19
+ let be;
20
+ function we(e, t) {
21
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
21
22
  }
22
- function Mr(e) {
23
+ function Lr(e) {
23
24
  return Object.keys(e).length === 0;
24
25
  }
25
- function Lr(e, ...t) {
26
+ function Nr(e, ...t) {
26
27
  if (e == null) {
27
28
  for (const n of t)
28
29
  n(void 0);
@@ -34,14 +35,14 @@ function Lr(e, ...t) {
34
35
  function H(e, t) {
35
36
  e.appendChild(t);
36
37
  }
37
- function Nr(e, t, r) {
38
- const n = Rr(e);
38
+ function Rr(e, t, r) {
39
+ const n = Ur(e);
39
40
  if (!n.getElementById(t)) {
40
41
  const i = S("style");
41
- i.id = t, i.textContent = r, Ur(n, i);
42
+ i.id = t, i.textContent = r, Dr(n, i);
42
43
  }
43
44
  }
44
- function Rr(e) {
45
+ function Ur(e) {
45
46
  if (!e)
46
47
  return document;
47
48
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +52,7 @@ function Rr(e) {
51
52
  t
52
53
  ) : e.ownerDocument;
53
54
  }
54
- function Ur(e, t) {
55
+ function Dr(e, t) {
55
56
  return H(
56
57
  /** @type {Document} */
57
58
  e.head || e,
@@ -67,29 +68,33 @@ function I(e) {
67
68
  function S(e) {
68
69
  return document.createElement(e);
69
70
  }
70
- function pe(e) {
71
+ function me(e) {
71
72
  return document.createTextNode(e);
72
73
  }
73
74
  function G() {
74
- return pe(" ");
75
+ return me(" ");
75
76
  }
76
- function rt() {
77
- return pe("");
77
+ function nt() {
78
+ return me("");
78
79
  }
79
- function J(e, t, r, n) {
80
+ function K(e, t, r, n) {
80
81
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
81
82
  }
82
- function E(e, t, r) {
83
+ function C(e, t, r) {
83
84
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
84
85
  }
85
- function Dr(e) {
86
+ function V(e, t, r) {
87
+ const n = t.toLowerCase();
88
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
89
+ }
90
+ function $r(e) {
86
91
  return Array.from(e.childNodes);
87
92
  }
88
- function nt(e, t) {
93
+ function it(e, t) {
89
94
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
90
95
  t);
91
96
  }
92
- function $r(e) {
97
+ function kr(e) {
93
98
  const t = {};
94
99
  return e.childNodes.forEach(
95
100
  /** @param {Element} node */
@@ -98,77 +103,77 @@ function $r(e) {
98
103
  }
99
104
  ), t;
100
105
  }
101
- let ce;
102
- function he(e) {
103
- ce = e;
106
+ let fe;
107
+ function ce(e) {
108
+ fe = e;
104
109
  }
105
- function kr() {
106
- if (!ce)
110
+ function Gr() {
111
+ if (!fe)
107
112
  throw new Error("Function called outside component initialization");
108
- return ce;
113
+ return fe;
109
114
  }
110
- function Gr(e) {
111
- kr().$$.on_mount.push(e);
115
+ function Fr(e) {
116
+ Gr().$$.on_mount.push(e);
112
117
  }
113
- const q = [], K = [];
114
- let ee = [];
115
- const ut = [], Fr = /* @__PURE__ */ Promise.resolve();
116
- let Ge = !1;
117
- function jr() {
118
- Ge || (Ge = !0, Fr.then(R));
118
+ const J = [], ee = [];
119
+ let te = [];
120
+ const ht = [], jr = /* @__PURE__ */ Promise.resolve();
121
+ let Fe = !1;
122
+ function Vr() {
123
+ Fe || (Fe = !0, jr.then(R));
119
124
  }
120
- function Fe(e) {
121
- ee.push(e);
125
+ function je(e) {
126
+ te.push(e);
122
127
  }
123
- const Le = /* @__PURE__ */ new Set();
124
- let Q = 0;
128
+ const Ne = /* @__PURE__ */ new Set();
129
+ let q = 0;
125
130
  function R() {
126
- if (Q !== 0)
131
+ if (q !== 0)
127
132
  return;
128
- const e = ce;
133
+ const e = fe;
129
134
  do {
130
135
  try {
131
- for (; Q < q.length; ) {
132
- const t = q[Q];
133
- Q++, he(t), Vr(t.$$);
136
+ for (; q < J.length; ) {
137
+ const t = J[q];
138
+ q++, ce(t), Wr(t.$$);
134
139
  }
135
140
  } catch (t) {
136
- throw q.length = 0, Q = 0, t;
141
+ throw J.length = 0, q = 0, t;
137
142
  }
138
- for (he(null), q.length = 0, Q = 0; K.length; )
139
- K.pop()();
140
- for (let t = 0; t < ee.length; t += 1) {
141
- const r = ee[t];
142
- Le.has(r) || (Le.add(r), r());
143
+ for (ce(null), J.length = 0, q = 0; ee.length; )
144
+ ee.pop()();
145
+ for (let t = 0; t < te.length; t += 1) {
146
+ const r = te[t];
147
+ Ne.has(r) || (Ne.add(r), r());
143
148
  }
144
- ee.length = 0;
145
- } while (q.length);
146
- for (; ut.length; )
147
- ut.pop()();
148
- Ge = !1, Le.clear(), he(e);
149
+ te.length = 0;
150
+ } while (J.length);
151
+ for (; ht.length; )
152
+ ht.pop()();
153
+ Fe = !1, Ne.clear(), ce(e);
149
154
  }
150
- function Vr(e) {
155
+ function Wr(e) {
151
156
  if (e.fragment !== null) {
152
- e.update(), X(e.before_update);
157
+ e.update(), z(e.before_update);
153
158
  const t = e.dirty;
154
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
159
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
155
160
  }
156
161
  }
157
- function Wr(e) {
162
+ function Xr(e) {
158
163
  const t = [], r = [];
159
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
164
+ te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
160
165
  }
161
- const Xr = /* @__PURE__ */ new Set();
162
- function jt(e, t) {
163
- e && e.i && (Xr.delete(e), e.i(t));
166
+ const zr = /* @__PURE__ */ new Set();
167
+ function Vt(e, t) {
168
+ e && e.i && (zr.delete(e), e.i(t));
164
169
  }
165
- function ht(e) {
170
+ function ct(e) {
166
171
  return e?.length !== void 0 ? e : Array.from(e);
167
172
  }
168
- function zr(e, t) {
173
+ function Zr(e, t) {
169
174
  e.d(1), t.delete(e.key);
170
175
  }
171
- function Zr(e, t, r, n, i, o, s, a, l, u, h, c) {
176
+ function Qr(e, t, r, n, i, o, s, a, l, u, h, c) {
172
177
  let f = e.length, m = o.length, p = f;
173
178
  const b = {};
174
179
  for (; p--; )
@@ -179,13 +184,13 @@ function Zr(e, t, r, n, i, o, s, a, l, u, h, c) {
179
184
  let k = s.get($);
180
185
  k ? A.push(() => k.p(g, t)) : (k = u($, g), k.c()), L.set($, T[p] = k), $ in b && P.set($, Math.abs(p - b[$]));
181
186
  }
182
- const O = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
187
+ const O = /* @__PURE__ */ new Set(), w = /* @__PURE__ */ new Set();
183
188
  function N(g) {
184
- jt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, m--;
189
+ Vt(g, 1), g.m(a, h), s.set(g.key, g), h = g.first, m--;
185
190
  }
186
191
  for (; f && m; ) {
187
- const g = T[m - 1], $ = e[f - 1], k = g.key, Z = $.key;
188
- g === $ ? (h = g.first, f--, m--) : L.has(Z) ? !s.has(k) || O.has(k) ? N(g) : C.has(Z) ? f-- : P.get(k) > P.get(Z) ? (C.add(k), N(g)) : (O.add(Z), f--) : (l($, s), f--);
192
+ const g = T[m - 1], $ = e[f - 1], k = g.key, Q = $.key;
193
+ g === $ ? (h = g.first, f--, m--) : L.has(Q) ? !s.has(k) || O.has(k) ? N(g) : w.has(Q) ? f-- : P.get(k) > P.get(Q) ? (w.add(k), N(g)) : (O.add(Q), f--) : (l($, s), f--);
189
194
  }
190
195
  for (; f--; ) {
191
196
  const g = e[f];
@@ -193,25 +198,25 @@ function Zr(e, t, r, n, i, o, s, a, l, u, h, c) {
193
198
  }
194
199
  for (; m; )
195
200
  N(T[m - 1]);
196
- return X(A), T;
201
+ return z(A), T;
197
202
  }
198
- function Qr(e, t, r) {
203
+ function qr(e, t, r) {
199
204
  const { fragment: n, after_update: i } = e.$$;
200
- n && n.m(t, r), Fe(() => {
201
- const o = e.$$.on_mount.map(Gt).filter(Se);
202
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
203
- }), i.forEach(Fe);
205
+ n && n.m(t, r), je(() => {
206
+ const o = e.$$.on_mount.map(Ft).filter(Te);
207
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
208
+ }), i.forEach(je);
204
209
  }
205
210
  function Yr(e, t) {
206
211
  const r = e.$$;
207
- r.fragment !== null && (Wr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
+ r.fragment !== null && (Xr(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
208
213
  }
209
- function qr(e, t) {
210
- e.$$.dirty[0] === -1 && (q.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
+ function Jr(e, t) {
215
+ e.$$.dirty[0] === -1 && (J.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
216
  }
212
- function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
213
- const l = ce;
214
- he(e);
217
+ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
218
+ const l = fe;
219
+ ce(e);
215
220
  const u = e.$$ = {
216
221
  fragment: null,
217
222
  ctx: [],
@@ -219,7 +224,7 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
219
224
  props: o,
220
225
  update: D,
221
226
  not_equal: i,
222
- bound: lt(),
227
+ bound: ut(),
223
228
  // lifecycle
224
229
  on_mount: [],
225
230
  on_destroy: [],
@@ -228,7 +233,7 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
228
233
  after_update: [],
229
234
  context: new Map(t.context || (l ? l.$$.context : [])),
230
235
  // everything else
231
- callbacks: lt(),
236
+ callbacks: ut(),
232
237
  dirty: a,
233
238
  skip_bound: !1,
234
239
  root: t.target || l.$$.root
@@ -237,19 +242,19 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
237
242
  let h = !1;
238
243
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
239
244
  const p = m.length ? m[0] : f;
240
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && qr(e, c)), f;
241
- }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
245
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Jr(e, c)), f;
246
+ }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
242
247
  if (t.hydrate) {
243
- const c = Dr(t.target);
248
+ const c = $r(t.target);
244
249
  u.fragment && u.fragment.l(c), c.forEach(I);
245
250
  } else
246
251
  u.fragment && u.fragment.c();
247
- t.intro && jt(e.$$.fragment), Qr(e, t.target, t.anchor), R();
252
+ t.intro && Vt(e.$$.fragment), qr(e, t.target, t.anchor), R();
248
253
  }
249
- he(l);
254
+ ce(l);
250
255
  }
251
- let Vt;
252
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
256
+ let Wt;
257
+ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
253
258
  /** The Svelte component constructor */
254
259
  $$ctor;
255
260
  /** Slots */
@@ -291,7 +296,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
291
296
  let o;
292
297
  return {
293
298
  c: function() {
294
- o = S("slot"), i !== "default" && E(o, "name", i);
299
+ o = S("slot"), i !== "default" && C(o, "name", i);
295
300
  },
296
301
  /**
297
302
  * @param {HTMLElement} target
@@ -308,12 +313,12 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
308
313
  };
309
314
  if (await Promise.resolve(), !this.$$cn || this.$$c)
310
315
  return;
311
- const t = {}, r = $r(this);
316
+ const t = {}, r = kr(this);
312
317
  for (const i of this.$$s)
313
318
  i in r && (t[i] = [e(i)]);
314
319
  for (const i of this.attributes) {
315
320
  const o = this.$$g_p(i.name);
316
- o in this.$$d || (this.$$d[o] = ve(o, i.value, this.$$p_d, "toProp"));
321
+ o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
317
322
  }
318
323
  for (const i in this.$$p_d)
319
324
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -331,7 +336,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
331
336
  this.$$r = !0;
332
337
  for (const i in this.$$p_d)
333
338
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
334
- const o = ve(
339
+ const o = ye(
335
340
  i,
336
341
  this.$$d[i],
337
342
  this.$$p_d,
@@ -353,7 +358,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
353
358
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
354
359
  // and setting attributes through setAttribute etc, this is helpful
355
360
  attributeChangedCallback(e, t, r) {
356
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
361
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
357
362
  }
358
363
  disconnectedCallback() {
359
364
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -366,7 +371,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
366
371
  ) || e;
367
372
  }
368
373
  });
369
- function ve(e, t, r, n) {
374
+ function ye(e, t, r, n) {
370
375
  const i = r[e]?.type;
371
376
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
372
377
  return t;
@@ -395,8 +400,8 @@ function ve(e, t, r, n) {
395
400
  return t;
396
401
  }
397
402
  }
398
- function Kr(e, t, r, n, i, o) {
399
- let s = class extends Vt {
403
+ function en(e, t, r, n, i, o) {
404
+ let s = class extends Wt {
400
405
  constructor() {
401
406
  super(e, r, i), this.$$p_d = t;
402
407
  }
@@ -412,7 +417,7 @@ function Kr(e, t, r, n, i, o) {
412
417
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
413
418
  },
414
419
  set(l) {
415
- l = ve(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
420
+ l = ye(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
416
421
  }
417
422
  });
418
423
  }), n.forEach((a) => {
@@ -424,7 +429,7 @@ function Kr(e, t, r, n, i, o) {
424
429
  }), e.element = /** @type {any} */
425
430
  s, s;
426
431
  }
427
- class en {
432
+ class tn {
428
433
  /**
429
434
  * ### PRIVATE API
430
435
  *
@@ -452,7 +457,7 @@ class en {
452
457
  * @returns {() => void}
453
458
  */
454
459
  $on(t, r) {
455
- if (!Se(r))
460
+ if (!Te(r))
456
461
  return D;
457
462
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
458
463
  return n.push(r), () => {
@@ -465,11 +470,11 @@ class en {
465
470
  * @returns {void}
466
471
  */
467
472
  $set(t) {
468
- this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
+ this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
469
474
  }
470
475
  }
471
- const tn = "4";
472
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
476
+ const rn = "4";
477
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
473
478
  /*! *****************************************************************************
474
479
  Copyright (c) Microsoft Corporation.
475
480
 
@@ -484,18 +489,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
484
489
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
485
490
  PERFORMANCE OF THIS SOFTWARE.
486
491
  ***************************************************************************** */
487
- var je = function(e, t) {
488
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
+ var Ve = function(e, t) {
493
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
494
  r.__proto__ = n;
490
495
  } || function(r, n) {
491
496
  for (var i in n)
492
497
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
493
- }, je(e, t);
498
+ }, Ve(e, t);
494
499
  };
495
500
  function j(e, t) {
496
501
  if (typeof t != "function" && t !== null)
497
502
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
498
- je(e, t);
503
+ Ve(e, t);
499
504
  function r() {
500
505
  this.constructor = e;
501
506
  }
@@ -511,7 +516,7 @@ var _ = function() {
511
516
  return t;
512
517
  }, _.apply(this, arguments);
513
518
  };
514
- function rn(e, t) {
519
+ function nn(e, t) {
515
520
  var r = {};
516
521
  for (var n in e)
517
522
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -520,7 +525,7 @@ function rn(e, t) {
520
525
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
521
526
  return r;
522
527
  }
523
- function Ve(e) {
528
+ function We(e) {
524
529
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
525
530
  if (r)
526
531
  return r.call(e);
@@ -532,7 +537,7 @@ function Ve(e) {
532
537
  };
533
538
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
534
539
  }
535
- function We(e, t) {
540
+ function Xe(e, t) {
536
541
  var r = typeof Symbol == "function" && e[Symbol.iterator];
537
542
  if (!r)
538
543
  return e;
@@ -552,7 +557,7 @@ function We(e, t) {
552
557
  }
553
558
  return o;
554
559
  }
555
- function te(e, t, r) {
560
+ function re(e, t, r) {
556
561
  if (r || arguments.length === 2)
557
562
  for (var n = 0, i = t.length, o; n < i; n++)
558
563
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -561,13 +566,13 @@ function te(e, t, r) {
561
566
  function F(e) {
562
567
  return typeof e == "function";
563
568
  }
564
- function Wt(e) {
569
+ function Xt(e) {
565
570
  var t = function(n) {
566
571
  Error.call(n), n.stack = new Error().stack;
567
572
  }, r = e(t);
568
573
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
569
574
  }
570
- var Ne = Wt(function(e) {
575
+ var Re = Xt(function(e) {
571
576
  return function(r) {
572
577
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
573
578
  ` + r.map(function(n, i) {
@@ -576,13 +581,13 @@ var Ne = Wt(function(e) {
576
581
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
577
582
  };
578
583
  });
579
- function Xe(e, t) {
584
+ function ze(e, t) {
580
585
  if (e) {
581
586
  var r = e.indexOf(t);
582
587
  0 <= r && e.splice(r, 1);
583
588
  }
584
589
  }
585
- var Te = function() {
590
+ var He = function() {
586
591
  function e(t) {
587
592
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
588
593
  }
@@ -594,7 +599,7 @@ var Te = function() {
594
599
  if (s)
595
600
  if (this._parentage = null, Array.isArray(s))
596
601
  try {
597
- for (var a = Ve(s), l = a.next(); !l.done; l = a.next()) {
602
+ for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
598
603
  var u = l.value;
599
604
  u.remove(this);
600
605
  }
@@ -615,18 +620,18 @@ var Te = function() {
615
620
  try {
616
621
  h();
617
622
  } catch (b) {
618
- o = b instanceof Ne ? b.errors : [b];
623
+ o = b instanceof Re ? b.errors : [b];
619
624
  }
620
625
  var c = this._finalizers;
621
626
  if (c) {
622
627
  this._finalizers = null;
623
628
  try {
624
- for (var f = Ve(c), m = f.next(); !m.done; m = f.next()) {
629
+ for (var f = We(c), m = f.next(); !m.done; m = f.next()) {
625
630
  var p = m.value;
626
631
  try {
627
- ct(p);
632
+ ft(p);
628
633
  } catch (b) {
629
- o = o ?? [], b instanceof Ne ? o = te(te([], We(o)), We(b.errors)) : o.push(b);
634
+ o = o ?? [], b instanceof Re ? o = re(re([], Xe(o)), Xe(b.errors)) : o.push(b);
630
635
  }
631
636
  }
632
637
  } catch (b) {
@@ -641,13 +646,13 @@ var Te = function() {
641
646
  }
642
647
  }
643
648
  if (o)
644
- throw new Ne(o);
649
+ throw new Re(o);
645
650
  }
646
651
  }, e.prototype.add = function(t) {
647
652
  var r;
648
653
  if (t && t !== this)
649
654
  if (this.closed)
650
- ct(t);
655
+ ft(t);
651
656
  else {
652
657
  if (t instanceof e) {
653
658
  if (t.closed || t._hasParent(this))
@@ -664,52 +669,52 @@ var Te = function() {
664
669
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
665
670
  }, e.prototype._removeParent = function(t) {
666
671
  var r = this._parentage;
667
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
672
+ r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
668
673
  }, e.prototype.remove = function(t) {
669
674
  var r = this._finalizers;
670
- r && Xe(r, t), t instanceof e && t._removeParent(this);
675
+ r && ze(r, t), t instanceof e && t._removeParent(this);
671
676
  }, e.EMPTY = function() {
672
677
  var t = new e();
673
678
  return t.closed = !0, t;
674
679
  }(), e;
675
- }(), Xt = Te.EMPTY;
676
- function zt(e) {
677
- return e instanceof Te || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
680
+ }(), zt = He.EMPTY;
681
+ function Zt(e) {
682
+ return e instanceof He || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
678
683
  }
679
- function ct(e) {
684
+ function ft(e) {
680
685
  F(e) ? e() : e.unsubscribe();
681
686
  }
682
- var nn = {
687
+ var on = {
683
688
  Promise: void 0
684
- }, on = {
689
+ }, sn = {
685
690
  setTimeout: function(e, t) {
686
691
  for (var r = [], n = 2; n < arguments.length; n++)
687
692
  r[n - 2] = arguments[n];
688
- return setTimeout.apply(void 0, te([e, t], We(r)));
693
+ return setTimeout.apply(void 0, re([e, t], Xe(r)));
689
694
  },
690
695
  clearTimeout: function(e) {
691
696
  return clearTimeout(e);
692
697
  },
693
698
  delegate: void 0
694
699
  };
695
- function sn(e) {
696
- on.setTimeout(function() {
700
+ function an(e) {
701
+ sn.setTimeout(function() {
697
702
  throw e;
698
703
  });
699
704
  }
700
- function ft() {
705
+ function dt() {
701
706
  }
702
- function ye(e) {
707
+ function _e(e) {
703
708
  e();
704
709
  }
705
- var Zt = function(e) {
710
+ var Qt = function(e) {
706
711
  j(t, e);
707
712
  function t(r) {
708
713
  var n = e.call(this) || this;
709
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = un, n;
714
+ return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = hn, n;
710
715
  }
711
716
  return t.create = function(r, n, i) {
712
- return new ze(r, n, i);
717
+ return new Ze(r, n, i);
713
718
  }, t.prototype.next = function(r) {
714
719
  this.isStopped || this._next(r);
715
720
  }, t.prototype.error = function(r) {
@@ -733,7 +738,7 @@ var Zt = function(e) {
733
738
  this.unsubscribe();
734
739
  }
735
740
  }, t;
736
- }(Te), an = function() {
741
+ }(He), ln = function() {
737
742
  function e(t) {
738
743
  this.partialObserver = t;
739
744
  }
@@ -743,7 +748,7 @@ var Zt = function(e) {
743
748
  try {
744
749
  r.next(t);
745
750
  } catch (n) {
746
- be(n);
751
+ ge(n);
747
752
  }
748
753
  }, e.prototype.error = function(t) {
749
754
  var r = this.partialObserver;
@@ -751,20 +756,20 @@ var Zt = function(e) {
751
756
  try {
752
757
  r.error(t);
753
758
  } catch (n) {
754
- be(n);
759
+ ge(n);
755
760
  }
756
761
  else
757
- be(t);
762
+ ge(t);
758
763
  }, e.prototype.complete = function() {
759
764
  var t = this.partialObserver;
760
765
  if (t.complete)
761
766
  try {
762
767
  t.complete();
763
768
  } catch (r) {
764
- be(r);
769
+ ge(r);
765
770
  }
766
771
  }, e;
767
- }(), ze = function(e) {
772
+ }(), Ze = function(e) {
768
773
  j(t, e);
769
774
  function t(r, n, i) {
770
775
  var o = e.call(this) || this, s;
@@ -772,35 +777,35 @@ var Zt = function(e) {
772
777
  next: r ?? void 0,
773
778
  error: n ?? void 0,
774
779
  complete: i ?? void 0
775
- } : s = r, o.destination = new an(s), o;
780
+ } : s = r, o.destination = new ln(s), o;
776
781
  }
777
782
  return t;
778
- }(Zt);
779
- function be(e) {
780
- sn(e);
783
+ }(Qt);
784
+ function ge(e) {
785
+ an(e);
781
786
  }
782
- function ln(e) {
787
+ function un(e) {
783
788
  throw e;
784
789
  }
785
- var un = {
790
+ var hn = {
786
791
  closed: !0,
787
- next: ft,
788
- error: ln,
789
- complete: ft
790
- }, hn = function() {
792
+ next: dt,
793
+ error: un,
794
+ complete: dt
795
+ }, cn = function() {
791
796
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
792
797
  }();
793
- function cn(e) {
798
+ function fn(e) {
794
799
  return e;
795
800
  }
796
- function fn(e) {
797
- return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
801
+ function dn(e) {
802
+ return e.length === 0 ? fn : e.length === 1 ? e[0] : function(r) {
798
803
  return e.reduce(function(n, i) {
799
804
  return i(n);
800
805
  }, r);
801
806
  };
802
807
  }
803
- var dt = function() {
808
+ var pt = function() {
804
809
  function e(t) {
805
810
  t && (this._subscribe = t);
806
811
  }
@@ -808,8 +813,8 @@ var dt = function() {
808
813
  var r = new e();
809
814
  return r.source = this, r.operator = t, r;
810
815
  }, e.prototype.subscribe = function(t, r, n) {
811
- var i = this, o = pn(t) ? t : new ze(t, r, n);
812
- return ye(function() {
816
+ var i = this, o = mn(t) ? t : new Ze(t, r, n);
817
+ return _e(function() {
813
818
  var s = i, a = s.operator, l = s.source;
814
819
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
815
820
  }), o;
@@ -821,8 +826,8 @@ var dt = function() {
821
826
  }
822
827
  }, e.prototype.forEach = function(t, r) {
823
828
  var n = this;
824
- return r = pt(r), new r(function(i, o) {
825
- var s = new ze({
829
+ return r = mt(r), new r(function(i, o) {
830
+ var s = new Ze({
826
831
  next: function(a) {
827
832
  try {
828
833
  t(a);
@@ -838,15 +843,15 @@ var dt = function() {
838
843
  }, e.prototype._subscribe = function(t) {
839
844
  var r;
840
845
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
841
- }, e.prototype[hn] = function() {
846
+ }, e.prototype[cn] = function() {
842
847
  return this;
843
848
  }, e.prototype.pipe = function() {
844
849
  for (var t = [], r = 0; r < arguments.length; r++)
845
850
  t[r] = arguments[r];
846
- return fn(t)(this);
851
+ return dn(t)(this);
847
852
  }, e.prototype.toPromise = function(t) {
848
853
  var r = this;
849
- return t = pt(t), new t(function(n, i) {
854
+ return t = mt(t), new t(function(n, i) {
850
855
  var o;
851
856
  r.subscribe(function(s) {
852
857
  return o = s;
@@ -860,40 +865,40 @@ var dt = function() {
860
865
  return new e(t);
861
866
  }, e;
862
867
  }();
863
- function pt(e) {
868
+ function mt(e) {
864
869
  var t;
865
- return (t = e ?? nn.Promise) !== null && t !== void 0 ? t : Promise;
870
+ return (t = e ?? on.Promise) !== null && t !== void 0 ? t : Promise;
866
871
  }
867
- function dn(e) {
872
+ function pn(e) {
868
873
  return e && F(e.next) && F(e.error) && F(e.complete);
869
874
  }
870
- function pn(e) {
871
- return e && e instanceof Zt || dn(e) && zt(e);
875
+ function mn(e) {
876
+ return e && e instanceof Qt || pn(e) && Zt(e);
872
877
  }
873
- var mn = Wt(function(e) {
878
+ var bn = Xt(function(e) {
874
879
  return function() {
875
880
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
876
881
  };
877
- }), Qt = function(e) {
882
+ }), qt = function(e) {
878
883
  j(t, e);
879
884
  function t() {
880
885
  var r = e.call(this) || this;
881
886
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
882
887
  }
883
888
  return t.prototype.lift = function(r) {
884
- var n = new mt(this, this);
889
+ var n = new bt(this, this);
885
890
  return n.operator = r, n;
886
891
  }, t.prototype._throwIfClosed = function() {
887
892
  if (this.closed)
888
- throw new mn();
893
+ throw new bn();
889
894
  }, t.prototype.next = function(r) {
890
895
  var n = this;
891
- ye(function() {
896
+ _e(function() {
892
897
  var i, o;
893
898
  if (n._throwIfClosed(), !n.isStopped) {
894
899
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
895
900
  try {
896
- for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
901
+ for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
897
902
  var l = a.value;
898
903
  l.next(r);
899
904
  }
@@ -911,7 +916,7 @@ var mn = Wt(function(e) {
911
916
  });
912
917
  }, t.prototype.error = function(r) {
913
918
  var n = this;
914
- ye(function() {
919
+ _e(function() {
915
920
  if (n._throwIfClosed(), !n.isStopped) {
916
921
  n.hasError = n.isStopped = !0, n.thrownError = r;
917
922
  for (var i = n.observers; i.length; )
@@ -920,7 +925,7 @@ var mn = Wt(function(e) {
920
925
  });
921
926
  }, t.prototype.complete = function() {
922
927
  var r = this;
923
- ye(function() {
928
+ _e(function() {
924
929
  if (r._throwIfClosed(), !r.isStopped) {
925
930
  r.isStopped = !0;
926
931
  for (var n = r.observers; n.length; )
@@ -942,19 +947,19 @@ var mn = Wt(function(e) {
942
947
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
943
948
  }, t.prototype._innerSubscribe = function(r) {
944
949
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
945
- return o || s ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
946
- n.currentObservers = null, Xe(a, r);
950
+ return o || s ? zt : (this.currentObservers = null, a.push(r), new He(function() {
951
+ n.currentObservers = null, ze(a, r);
947
952
  }));
948
953
  }, t.prototype._checkFinalizedStatuses = function(r) {
949
954
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
950
955
  i ? r.error(o) : s && r.complete();
951
956
  }, t.prototype.asObservable = function() {
952
- var r = new dt();
957
+ var r = new pt();
953
958
  return r.source = this, r;
954
959
  }, t.create = function(r, n) {
955
- return new mt(r, n);
960
+ return new bt(r, n);
956
961
  }, t;
957
- }(dt), mt = function(e) {
962
+ }(pt), bt = function(e) {
958
963
  j(t, e);
959
964
  function t(r, n) {
960
965
  var i = e.call(this) || this;
@@ -971,14 +976,14 @@ var mn = Wt(function(e) {
971
976
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
972
977
  }, t.prototype._subscribe = function(r) {
973
978
  var n, i;
974
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
979
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
975
980
  }, t;
976
- }(Qt), Yt = {
981
+ }(qt), Yt = {
977
982
  now: function() {
978
983
  return (Yt.delegate || Date).now();
979
984
  },
980
985
  delegate: void 0
981
- }, bn = function(e) {
986
+ }, gn = function(e) {
982
987
  j(t, e);
983
988
  function t(r, n, i) {
984
989
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
@@ -1001,24 +1006,24 @@ var mn = Wt(function(e) {
1001
1006
  u && o.splice(0, u + 1);
1002
1007
  }
1003
1008
  }, t;
1004
- }(Qt);
1005
- const bt = [], gt = {}, gn = (e, t = 0) => {
1006
- if (bt.indexOf(e) == -1) {
1007
- const r = new bn(t);
1008
- gt[e] = r, bt.push(e);
1009
+ }(qt);
1010
+ const gt = [], vt = {}, vn = (e, t = 0) => {
1011
+ if (gt.indexOf(e) == -1) {
1012
+ const r = new gn(t);
1013
+ vt[e] = r, gt.push(e);
1009
1014
  }
1010
- return gt[e];
1015
+ return vt[e];
1011
1016
  }, Y = [];
1012
- function vn(e, t) {
1017
+ function yn(e, t) {
1013
1018
  return {
1014
- subscribe: He(e, t).subscribe
1019
+ subscribe: Ae(e, t).subscribe
1015
1020
  };
1016
1021
  }
1017
- function He(e, t = D) {
1022
+ function Ae(e, t = D) {
1018
1023
  let r;
1019
1024
  const n = /* @__PURE__ */ new Set();
1020
1025
  function i(a) {
1021
- if (Ft(e, a) && (e = a, r)) {
1026
+ if (jt(e, a) && (e = a, r)) {
1022
1027
  const l = !Y.length;
1023
1028
  for (const u of n)
1024
1029
  u[1](), Y.push(u, e);
@@ -1040,12 +1045,12 @@ function He(e, t = D) {
1040
1045
  }
1041
1046
  return { set: i, update: o, subscribe: s };
1042
1047
  }
1043
- function se(e, t, r) {
1048
+ function ae(e, t, r) {
1044
1049
  const n = !Array.isArray(e), i = n ? [e] : e;
1045
1050
  if (!i.every(Boolean))
1046
1051
  throw new Error("derived() expects stores as input, got a falsy value");
1047
1052
  const o = t.length < 2;
1048
- return vn(r, (s, a) => {
1053
+ return yn(r, (s, a) => {
1049
1054
  let l = !1;
1050
1055
  const u = [];
1051
1056
  let h = 0, c = D;
@@ -1054,9 +1059,9 @@ function se(e, t, r) {
1054
1059
  return;
1055
1060
  c();
1056
1061
  const p = t(n ? u[0] : u, s, a);
1057
- o ? s(p) : c = Se(p) ? p : D;
1062
+ o ? s(p) : c = Te(p) ? p : D;
1058
1063
  }, m = i.map(
1059
- (p, b) => Lr(
1064
+ (p, b) => Nr(
1060
1065
  p,
1061
1066
  (T) => {
1062
1067
  u[b] = T, h &= ~(1 << b), l && f();
@@ -1067,115 +1072,115 @@ function se(e, t, r) {
1067
1072
  )
1068
1073
  );
1069
1074
  return l = !0, f(), function() {
1070
- X(m), c(), l = !1;
1075
+ z(m), c(), l = !1;
1071
1076
  };
1072
1077
  });
1073
1078
  }
1074
- function yn(e) {
1079
+ function _n(e) {
1075
1080
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1076
1081
  }
1077
- var _n = function(t) {
1078
- return xn(t) && !En(t);
1082
+ var xn = function(t) {
1083
+ return En(t) && !wn(t);
1079
1084
  };
1080
- function xn(e) {
1085
+ function En(e) {
1081
1086
  return !!e && typeof e == "object";
1082
1087
  }
1083
- function En(e) {
1088
+ function wn(e) {
1084
1089
  var t = Object.prototype.toString.call(e);
1085
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1086
- }
1087
- var wn = typeof Symbol == "function" && Symbol.for, Cn = wn ? Symbol.for("react.element") : 60103;
1088
- function Sn(e) {
1089
- return e.$$typeof === Cn;
1090
+ return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1090
1091
  }
1092
+ var Cn = typeof Symbol == "function" && Symbol.for, Sn = Cn ? Symbol.for("react.element") : 60103;
1091
1093
  function Tn(e) {
1094
+ return e.$$typeof === Sn;
1095
+ }
1096
+ function Hn(e) {
1092
1097
  return Array.isArray(e) ? [] : {};
1093
1098
  }
1094
- function fe(e, t) {
1095
- return t.clone !== !1 && t.isMergeableObject(e) ? re(Tn(e), e, t) : e;
1099
+ function de(e, t) {
1100
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(Hn(e), e, t) : e;
1096
1101
  }
1097
- function Hn(e, t, r) {
1102
+ function An(e, t, r) {
1098
1103
  return e.concat(t).map(function(n) {
1099
- return fe(n, r);
1104
+ return de(n, r);
1100
1105
  });
1101
1106
  }
1102
- function An(e, t) {
1107
+ function In(e, t) {
1103
1108
  if (!t.customMerge)
1104
- return re;
1109
+ return ne;
1105
1110
  var r = t.customMerge(e);
1106
- return typeof r == "function" ? r : re;
1111
+ return typeof r == "function" ? r : ne;
1107
1112
  }
1108
- function In(e) {
1113
+ function Bn(e) {
1109
1114
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1110
1115
  return Object.propertyIsEnumerable.call(e, t);
1111
1116
  }) : [];
1112
1117
  }
1113
- function vt(e) {
1114
- return Object.keys(e).concat(In(e));
1118
+ function yt(e) {
1119
+ return Object.keys(e).concat(Bn(e));
1115
1120
  }
1116
- function qt(e, t) {
1121
+ function Jt(e, t) {
1117
1122
  try {
1118
1123
  return t in e;
1119
1124
  } catch {
1120
1125
  return !1;
1121
1126
  }
1122
1127
  }
1123
- function Bn(e, t) {
1124
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1128
+ function Pn(e, t) {
1129
+ return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1125
1130
  }
1126
- function Pn(e, t, r) {
1131
+ function On(e, t, r) {
1127
1132
  var n = {};
1128
- return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1129
- n[i] = fe(e[i], r);
1130
- }), vt(t).forEach(function(i) {
1131
- Bn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = An(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
1133
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1134
+ n[i] = de(e[i], r);
1135
+ }), yt(t).forEach(function(i) {
1136
+ Pn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = In(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1132
1137
  }), n;
1133
1138
  }
1134
- function re(e, t, r) {
1135
- r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = fe;
1139
+ function ne(e, t, r) {
1140
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = de;
1136
1141
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1137
- return o ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : fe(t, r);
1142
+ return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : de(t, r);
1138
1143
  }
1139
- re.all = function(t, r) {
1144
+ ne.all = function(t, r) {
1140
1145
  if (!Array.isArray(t))
1141
1146
  throw new Error("first argument should be an array");
1142
1147
  return t.reduce(function(n, i) {
1143
- return re(n, i, r);
1148
+ return ne(n, i, r);
1144
1149
  }, {});
1145
1150
  };
1146
- var On = re, Mn = On;
1147
- const Ln = /* @__PURE__ */ yn(Mn);
1148
- function Re(e, t) {
1149
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Un;
1151
+ var Mn = ne, Ln = Mn;
1152
+ const Nn = /* @__PURE__ */ _n(Ln);
1153
+ function Ue(e, t) {
1154
+ var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
1150
1155
  return i(e, {
1151
1156
  cache: r,
1152
1157
  serializer: n
1153
1158
  });
1154
1159
  }
1155
- function Nn(e) {
1160
+ function Rn(e) {
1156
1161
  return e == null || typeof e == "number" || typeof e == "boolean";
1157
1162
  }
1158
- function Rn(e, t, r, n) {
1159
- var i = Nn(n) ? n : r(n), o = t.get(i);
1163
+ function Un(e, t, r, n) {
1164
+ var i = Rn(n) ? n : r(n), o = t.get(i);
1160
1165
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1161
1166
  }
1162
- function Jt(e, t, r) {
1167
+ function Kt(e, t, r) {
1163
1168
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1164
1169
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1165
1170
  }
1166
- function Kt(e, t, r, n, i) {
1171
+ function er(e, t, r, n, i) {
1167
1172
  return r.bind(t, e, n, i);
1168
1173
  }
1169
- function Un(e, t) {
1170
- var r = e.length === 1 ? Rn : Jt;
1171
- return Kt(e, this, r, t.cache.create(), t.serializer);
1172
- }
1173
1174
  function Dn(e, t) {
1174
- return Kt(e, this, Jt, t.cache.create(), t.serializer);
1175
+ var r = e.length === 1 ? Un : Kt;
1176
+ return er(e, this, r, t.cache.create(), t.serializer);
1175
1177
  }
1176
- var $n = function() {
1178
+ function $n(e, t) {
1179
+ return er(e, this, Kt, t.cache.create(), t.serializer);
1180
+ }
1181
+ var kn = function() {
1177
1182
  return JSON.stringify(arguments);
1178
- }, kn = (
1183
+ }, Gn = (
1179
1184
  /** @class */
1180
1185
  function() {
1181
1186
  function e() {
@@ -1187,61 +1192,61 @@ var $n = function() {
1187
1192
  this.cache[t] = r;
1188
1193
  }, e;
1189
1194
  }()
1190
- ), Gn = {
1195
+ ), Fn = {
1191
1196
  create: function() {
1192
- return new kn();
1197
+ return new Gn();
1193
1198
  }
1194
- }, Ue = {
1195
- variadic: Dn
1199
+ }, De = {
1200
+ variadic: $n
1196
1201
  }, v;
1197
1202
  (function(e) {
1198
1203
  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";
1199
1204
  })(v || (v = {}));
1200
- var w;
1205
+ var E;
1201
1206
  (function(e) {
1202
1207
  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";
1203
- })(w || (w = {}));
1204
- var ne;
1208
+ })(E || (E = {}));
1209
+ var ie;
1205
1210
  (function(e) {
1206
1211
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1207
- })(ne || (ne = {}));
1208
- function yt(e) {
1209
- return e.type === w.literal;
1210
- }
1211
- function Fn(e) {
1212
- return e.type === w.argument;
1212
+ })(ie || (ie = {}));
1213
+ function _t(e) {
1214
+ return e.type === E.literal;
1213
1215
  }
1214
- function er(e) {
1215
- return e.type === w.number;
1216
+ function jn(e) {
1217
+ return e.type === E.argument;
1216
1218
  }
1217
1219
  function tr(e) {
1218
- return e.type === w.date;
1220
+ return e.type === E.number;
1219
1221
  }
1220
1222
  function rr(e) {
1221
- return e.type === w.time;
1223
+ return e.type === E.date;
1222
1224
  }
1223
1225
  function nr(e) {
1224
- return e.type === w.select;
1226
+ return e.type === E.time;
1225
1227
  }
1226
1228
  function ir(e) {
1227
- return e.type === w.plural;
1228
- }
1229
- function jn(e) {
1230
- return e.type === w.pound;
1229
+ return e.type === E.select;
1231
1230
  }
1232
1231
  function or(e) {
1233
- return e.type === w.tag;
1232
+ return e.type === E.plural;
1233
+ }
1234
+ function Vn(e) {
1235
+ return e.type === E.pound;
1234
1236
  }
1235
1237
  function sr(e) {
1236
- return !!(e && typeof e == "object" && e.type === ne.number);
1238
+ return e.type === E.tag;
1237
1239
  }
1238
- function Ze(e) {
1239
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
1240
+ function ar(e) {
1241
+ return !!(e && typeof e == "object" && e.type === ie.number);
1240
1242
  }
1241
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
1242
- function Wn(e) {
1243
+ function Qe(e) {
1244
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1245
+ }
1246
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1247
+ function Xn(e) {
1243
1248
  var t = {};
1244
- return e.replace(Vn, function(r) {
1249
+ return e.replace(Wn, function(r) {
1245
1250
  var n = r.length;
1246
1251
  switch (r[0]) {
1247
1252
  case "G":
@@ -1330,11 +1335,11 @@ function Wn(e) {
1330
1335
  return "";
1331
1336
  }), t;
1332
1337
  }
1333
- var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1334
- function zn(e) {
1338
+ var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1339
+ function Zn(e) {
1335
1340
  if (e.length === 0)
1336
1341
  throw new Error("Number skeleton cannot be empty");
1337
- for (var t = e.split(Xn).filter(function(f) {
1342
+ for (var t = e.split(zn).filter(function(f) {
1338
1343
  return f.length > 0;
1339
1344
  }), r = [], n = 0, i = t; n < i.length; n++) {
1340
1345
  var o = i[n], s = o.split("/");
@@ -1349,17 +1354,17 @@ function zn(e) {
1349
1354
  }
1350
1355
  return r;
1351
1356
  }
1352
- function Zn(e) {
1357
+ function Qn(e) {
1353
1358
  return e.replace(/^(.*?)-/, "");
1354
1359
  }
1355
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1356
- function xt(e) {
1360
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1361
+ function Et(e) {
1357
1362
  var t = {};
1358
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1363
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1359
1364
  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)), "";
1360
1365
  }), t;
1361
1366
  }
1362
- function hr(e) {
1367
+ function cr(e) {
1363
1368
  switch (e) {
1364
1369
  case "sign-auto":
1365
1370
  return {
@@ -1407,17 +1412,17 @@ function Yn(e) {
1407
1412
  notation: "scientific"
1408
1413
  }, e = e.slice(1)), t) {
1409
1414
  var r = e.slice(0, 2);
1410
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1415
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1411
1416
  throw new Error("Malformed concise eng/scientific notation");
1412
1417
  t.minimumIntegerDigits = e.length;
1413
1418
  }
1414
1419
  return t;
1415
1420
  }
1416
- function Et(e) {
1417
- var t = {}, r = hr(e);
1421
+ function wt(e) {
1422
+ var t = {}, r = cr(e);
1418
1423
  return r || t;
1419
1424
  }
1420
- function qn(e) {
1425
+ function Jn(e) {
1421
1426
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1422
1427
  var i = n[r];
1423
1428
  switch (i.stem) {
@@ -1441,7 +1446,7 @@ function qn(e) {
1441
1446
  continue;
1442
1447
  case "measure-unit":
1443
1448
  case "unit":
1444
- t.style = "unit", t.unit = Zn(i.options[0]);
1449
+ t.style = "unit", t.unit = Qn(i.options[0]);
1445
1450
  continue;
1446
1451
  case "compact-short":
1447
1452
  case "K":
@@ -1453,12 +1458,12 @@ function qn(e) {
1453
1458
  continue;
1454
1459
  case "scientific":
1455
1460
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1456
- return _(_({}, l), Et(u));
1461
+ return _(_({}, l), wt(u));
1457
1462
  }, {}));
1458
1463
  continue;
1459
1464
  case "engineering":
1460
1465
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1461
- return _(_({}, l), Et(u));
1466
+ return _(_({}, l), wt(u));
1462
1467
  }, {}));
1463
1468
  continue;
1464
1469
  case "notation-simple":
@@ -1503,7 +1508,7 @@ function qn(e) {
1503
1508
  case "integer-width":
1504
1509
  if (i.options.length > 1)
1505
1510
  throw new RangeError("integer-width stems only accept a single optional option");
1506
- i.options[0].replace(Qn, function(l, u, h, c, f, m) {
1511
+ i.options[0].replace(qn, function(l, u, h, c, f, m) {
1507
1512
  if (u)
1508
1513
  t.minimumIntegerDigits = h.length;
1509
1514
  else {
@@ -1516,32 +1521,32 @@ function qn(e) {
1516
1521
  });
1517
1522
  continue;
1518
1523
  }
1519
- if (ur.test(i.stem)) {
1524
+ if (hr.test(i.stem)) {
1520
1525
  t.minimumIntegerDigits = i.stem.length;
1521
1526
  continue;
1522
1527
  }
1523
- if (_t.test(i.stem)) {
1528
+ if (xt.test(i.stem)) {
1524
1529
  if (i.options.length > 1)
1525
1530
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1526
- i.stem.replace(_t, function(l, u, h, c, f, m) {
1531
+ i.stem.replace(xt, function(l, u, h, c, f, m) {
1527
1532
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1528
1533
  });
1529
1534
  var o = i.options[0];
1530
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), xt(o)));
1535
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
1531
1536
  continue;
1532
1537
  }
1533
- if (lr.test(i.stem)) {
1534
- t = _(_({}, t), xt(i.stem));
1538
+ if (ur.test(i.stem)) {
1539
+ t = _(_({}, t), Et(i.stem));
1535
1540
  continue;
1536
1541
  }
1537
- var s = hr(i.stem);
1542
+ var s = cr(i.stem);
1538
1543
  s && (t = _(_({}, t), s));
1539
1544
  var a = Yn(i.stem);
1540
1545
  a && (t = _(_({}, t), a));
1541
1546
  }
1542
1547
  return t;
1543
1548
  }
1544
- var ge = {
1549
+ var ve = {
1545
1550
  "001": [
1546
1551
  "H",
1547
1552
  "h"
@@ -2956,13 +2961,13 @@ var ge = {
2956
2961
  "h"
2957
2962
  ]
2958
2963
  };
2959
- function Jn(e, t) {
2964
+ function Kn(e, t) {
2960
2965
  for (var r = "", n = 0; n < e.length; n++) {
2961
2966
  var i = e.charAt(n);
2962
2967
  if (i === "j") {
2963
2968
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2964
2969
  o++, n++;
2965
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Kn(t);
2970
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ei(t);
2966
2971
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2967
2972
  r += l;
2968
2973
  for (; s-- > 0; )
@@ -2972,7 +2977,7 @@ function Jn(e, t) {
2972
2977
  }
2973
2978
  return r;
2974
2979
  }
2975
- function Kn(e) {
2980
+ function ei(e) {
2976
2981
  var t = e.hourCycle;
2977
2982
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2978
2983
  e.hourCycles && // @ts-ignore
@@ -2991,23 +2996,23 @@ function Kn(e) {
2991
2996
  }
2992
2997
  var r = e.language, n;
2993
2998
  r !== "root" && (n = e.maximize().region);
2994
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2999
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2995
3000
  return i[0];
2996
3001
  }
2997
- var De, ei = new RegExp("^".concat(ar.source, "*")), ti = new RegExp("".concat(ar.source, "*$"));
3002
+ var $e, ti = new RegExp("^".concat(lr.source, "*")), ri = new RegExp("".concat(lr.source, "*$"));
2998
3003
  function y(e, t) {
2999
3004
  return { start: e, end: t };
3000
3005
  }
3001
- var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ui = li ? Number.isSafeInteger : function(e) {
3006
+ var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, oi = !!Object.fromEntries, si = !!String.prototype.codePointAt, ai = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, hi = ui ? Number.isSafeInteger : function(e) {
3002
3007
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3003
- }, Qe = !0;
3008
+ }, qe = !0;
3004
3009
  try {
3005
- var hi = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3006
- Qe = ((De = hi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3010
+ var ci = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3011
+ qe = (($e = ci.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3007
3012
  } catch {
3008
- Qe = !1;
3013
+ qe = !1;
3009
3014
  }
3010
- var wt = ri ? (
3015
+ var Ct = ni ? (
3011
3016
  // Native
3012
3017
  function(t, r, n) {
3013
3018
  return t.startsWith(r, n);
@@ -3017,7 +3022,7 @@ var wt = ri ? (
3017
3022
  function(t, r, n) {
3018
3023
  return t.slice(n, n + r.length) === r;
3019
3024
  }
3020
- ), Ye = ni ? String.fromCodePoint : (
3025
+ ), Ye = ii ? String.fromCodePoint : (
3021
3026
  // IE11
3022
3027
  function() {
3023
3028
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3029,9 +3034,9 @@ var wt = ri ? (
3029
3034
  }
3030
3035
  return n;
3031
3036
  }
3032
- ), Ct = (
3037
+ ), St = (
3033
3038
  // native
3034
- ii ? Object.fromEntries : (
3039
+ oi ? Object.fromEntries : (
3035
3040
  // Ponyfill
3036
3041
  function(t) {
3037
3042
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3041,7 +3046,7 @@ var wt = ri ? (
3041
3046
  return r;
3042
3047
  }
3043
3048
  )
3044
- ), cr = oi ? (
3049
+ ), fr = si ? (
3045
3050
  // Native
3046
3051
  function(t, r) {
3047
3052
  return t.codePointAt(r);
@@ -3055,7 +3060,7 @@ var wt = ri ? (
3055
3060
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3056
3061
  }
3057
3062
  }
3058
- ), ci = si ? (
3063
+ ), fi = ai ? (
3059
3064
  // Native
3060
3065
  function(t) {
3061
3066
  return t.trimStart();
@@ -3063,9 +3068,9 @@ var wt = ri ? (
3063
3068
  ) : (
3064
3069
  // Ponyfill
3065
3070
  function(t) {
3066
- return t.replace(ei, "");
3071
+ return t.replace(ti, "");
3067
3072
  }
3068
- ), fi = ai ? (
3073
+ ), di = li ? (
3069
3074
  // Native
3070
3075
  function(t) {
3071
3076
  return t.trimEnd();
@@ -3073,32 +3078,32 @@ var wt = ri ? (
3073
3078
  ) : (
3074
3079
  // Ponyfill
3075
3080
  function(t) {
3076
- return t.replace(ti, "");
3081
+ return t.replace(ri, "");
3077
3082
  }
3078
3083
  );
3079
- function fr(e, t) {
3084
+ function dr(e, t) {
3080
3085
  return new RegExp(e, t);
3081
3086
  }
3082
- var qe;
3083
- if (Qe) {
3084
- var St = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3085
- qe = function(t, r) {
3087
+ var Je;
3088
+ if (qe) {
3089
+ var Tt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3090
+ Je = function(t, r) {
3086
3091
  var n;
3087
- St.lastIndex = r;
3088
- var i = St.exec(t);
3092
+ Tt.lastIndex = r;
3093
+ var i = Tt.exec(t);
3089
3094
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3090
3095
  };
3091
3096
  } else
3092
- qe = function(t, r) {
3097
+ Je = function(t, r) {
3093
3098
  for (var n = []; ; ) {
3094
- var i = cr(t, r);
3095
- if (i === void 0 || dr(i) || bi(i))
3099
+ var i = fr(t, r);
3100
+ if (i === void 0 || pr(i) || gi(i))
3096
3101
  break;
3097
3102
  n.push(i), r += i >= 65536 ? 2 : 1;
3098
3103
  }
3099
3104
  return Ye.apply(void 0, n);
3100
3105
  };
3101
- var di = (
3106
+ var pi = (
3102
3107
  /** @class */
3103
3108
  function() {
3104
3109
  function e(t, r) {
@@ -3122,14 +3127,14 @@ var di = (
3122
3127
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3123
3128
  var a = this.clonePosition();
3124
3129
  this.bump(), i.push({
3125
- type: w.pound,
3130
+ type: E.pound,
3126
3131
  location: y(a, this.clonePosition())
3127
3132
  });
3128
3133
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3129
3134
  if (n)
3130
3135
  break;
3131
3136
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3132
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3137
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3133
3138
  var s = this.parseTag(t, r);
3134
3139
  if (s.err)
3135
3140
  return s;
@@ -3150,7 +3155,7 @@ var di = (
3150
3155
  if (this.bumpSpace(), this.bumpIf("/>"))
3151
3156
  return {
3152
3157
  val: {
3153
- type: w.literal,
3158
+ type: E.literal,
3154
3159
  value: "<".concat(i, "/>"),
3155
3160
  location: y(n, this.clonePosition())
3156
3161
  },
@@ -3162,12 +3167,12 @@ var di = (
3162
3167
  return o;
3163
3168
  var s = o.val, a = this.clonePosition();
3164
3169
  if (this.bumpIf("</")) {
3165
- if (this.isEOF() || !Je(this.char()))
3170
+ if (this.isEOF() || !Ke(this.char()))
3166
3171
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
3167
3172
  var l = this.clonePosition(), u = this.parseTagName();
3168
3173
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3169
3174
  val: {
3170
- type: w.tag,
3175
+ type: E.tag,
3171
3176
  value: i,
3172
3177
  children: s,
3173
3178
  location: y(n, this.clonePosition())
@@ -3180,7 +3185,7 @@ var di = (
3180
3185
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
3181
3186
  }, e.prototype.parseTagName = function() {
3182
3187
  var t = this.offset();
3183
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3188
+ for (this.bump(); !this.isEOF() && bi(this.char()); )
3184
3189
  this.bump();
3185
3190
  return this.message.slice(t, this.offset());
3186
3191
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3204,12 +3209,12 @@ var di = (
3204
3209
  }
3205
3210
  var l = y(n, this.clonePosition());
3206
3211
  return {
3207
- val: { type: w.literal, value: i, location: l },
3212
+ val: { type: E.literal, value: i, location: l },
3208
3213
  err: null
3209
3214
  };
3210
3215
  }, e.prototype.tryParseLeftAngleBracket = function() {
3211
3216
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3212
- !pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3217
+ !mi(this.peek() || 0)) ? (this.bump(), "<") : null;
3213
3218
  }, e.prototype.tryParseQuote = function(t) {
3214
3219
  if (this.isEOF() || this.char() !== 39)
3215
3220
  return null;
@@ -3264,7 +3269,7 @@ var di = (
3264
3269
  case 125:
3265
3270
  return this.bump(), {
3266
3271
  val: {
3267
- type: w.argument,
3272
+ type: E.argument,
3268
3273
  // value does not include the opening and closing braces.
3269
3274
  value: i,
3270
3275
  location: y(n, this.clonePosition())
@@ -3277,7 +3282,7 @@ var di = (
3277
3282
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3278
3283
  }
3279
3284
  }, e.prototype.parseIdentifierIfPossible = function() {
3280
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3285
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3281
3286
  this.bumpTo(i);
3282
3287
  var o = this.clonePosition(), s = y(t, o);
3283
3288
  return { value: n, location: s };
@@ -3296,7 +3301,7 @@ var di = (
3296
3301
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3297
3302
  if (c.err)
3298
3303
  return c;
3299
- var f = fi(c.val);
3304
+ var f = di(c.val);
3300
3305
  if (f.length === 0)
3301
3306
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3302
3307
  var m = y(h, this.clonePosition());
@@ -3306,25 +3311,25 @@ var di = (
3306
3311
  if (p.err)
3307
3312
  return p;
3308
3313
  var b = y(i, this.clonePosition());
3309
- if (u && wt(u?.style, "::", 0)) {
3310
- var T = ci(u.style.slice(2));
3314
+ if (u && Ct(u?.style, "::", 0)) {
3315
+ var T = fi(u.style.slice(2));
3311
3316
  if (a === "number") {
3312
3317
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3313
3318
  return c.err ? c : {
3314
- val: { type: w.number, value: n, location: b, style: c.val },
3319
+ val: { type: E.number, value: n, location: b, style: c.val },
3315
3320
  err: null
3316
3321
  };
3317
3322
  } else {
3318
3323
  if (T.length === 0)
3319
3324
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
3320
3325
  var L = T;
3321
- this.locale && (L = Jn(T, this.locale));
3326
+ this.locale && (L = Kn(T, this.locale));
3322
3327
  var f = {
3323
- type: ne.dateTime,
3328
+ type: ie.dateTime,
3324
3329
  pattern: L,
3325
3330
  location: u.styleLocation,
3326
- parsedOptions: this.shouldParseSkeletons ? Wn(L) : {}
3327
- }, P = a === "date" ? w.date : w.time;
3331
+ parsedOptions: this.shouldParseSkeletons ? Xn(L) : {}
3332
+ }, P = a === "date" ? E.date : E.time;
3328
3333
  return {
3329
3334
  val: { type: P, value: n, location: b, style: f },
3330
3335
  err: null
@@ -3333,7 +3338,7 @@ var di = (
3333
3338
  }
3334
3339
  return {
3335
3340
  val: {
3336
- type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3341
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3337
3342
  value: n,
3338
3343
  location: b,
3339
3344
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3348,7 +3353,7 @@ var di = (
3348
3353
  if (this.bumpSpace(), !this.bumpIf(","))
3349
3354
  return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, _({}, A)));
3350
3355
  this.bumpSpace();
3351
- var O = this.parseIdentifierIfPossible(), C = 0;
3356
+ var O = this.parseIdentifierIfPossible(), w = 0;
3352
3357
  if (a !== "select" && O.value === "offset") {
3353
3358
  if (!this.bumpIf(":"))
3354
3359
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
@@ -3356,7 +3361,7 @@ var di = (
3356
3361
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3357
3362
  if (c.err)
3358
3363
  return c;
3359
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), C = c.val;
3364
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = c.val;
3360
3365
  }
3361
3366
  var N = this.tryParsePluralOrSelectOptions(t, a, r, O);
3362
3367
  if (N.err)
@@ -3367,18 +3372,18 @@ var di = (
3367
3372
  var g = y(i, this.clonePosition());
3368
3373
  return a === "select" ? {
3369
3374
  val: {
3370
- type: w.select,
3375
+ type: E.select,
3371
3376
  value: n,
3372
- options: Ct(N.val),
3377
+ options: St(N.val),
3373
3378
  location: g
3374
3379
  },
3375
3380
  err: null
3376
3381
  } : {
3377
3382
  val: {
3378
- type: w.plural,
3383
+ type: E.plural,
3379
3384
  value: n,
3380
- options: Ct(N.val),
3381
- offset: C,
3385
+ options: St(N.val),
3386
+ offset: w,
3382
3387
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3383
3388
  location: g
3384
3389
  },
@@ -3428,16 +3433,16 @@ var di = (
3428
3433
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3429
3434
  var n = [];
3430
3435
  try {
3431
- n = zn(t);
3436
+ n = Zn(t);
3432
3437
  } catch {
3433
3438
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3434
3439
  }
3435
3440
  return {
3436
3441
  val: {
3437
- type: ne.number,
3442
+ type: ie.number,
3438
3443
  tokens: n,
3439
3444
  location: r,
3440
- parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3445
+ parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
3441
3446
  },
3442
3447
  err: null
3443
3448
  };
@@ -3485,7 +3490,7 @@ var di = (
3485
3490
  break;
3486
3491
  }
3487
3492
  var l = y(i, this.clonePosition());
3488
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3493
+ return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3489
3494
  }, e.prototype.offset = function() {
3490
3495
  return this.position.offset;
3491
3496
  }, e.prototype.isEOF = function() {
@@ -3500,7 +3505,7 @@ var di = (
3500
3505
  var t = this.position.offset;
3501
3506
  if (t >= this.message.length)
3502
3507
  throw Error("out of bound");
3503
- var r = cr(this.message, t);
3508
+ var r = fr(this.message, t);
3504
3509
  if (r === void 0)
3505
3510
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3506
3511
  return r;
@@ -3519,7 +3524,7 @@ var di = (
3519
3524
  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);
3520
3525
  }
3521
3526
  }, e.prototype.bumpIf = function(t) {
3522
- if (wt(this.message, t, this.offset())) {
3527
+ if (Ct(this.message, t, this.offset())) {
3523
3528
  for (var r = 0; r < t.length; r++)
3524
3529
  this.bump();
3525
3530
  return !0;
@@ -3541,7 +3546,7 @@ var di = (
3541
3546
  break;
3542
3547
  }
3543
3548
  }, e.prototype.bumpSpace = function() {
3544
- for (; !this.isEOF() && dr(this.char()); )
3549
+ for (; !this.isEOF() && pr(this.char()); )
3545
3550
  this.bump();
3546
3551
  }, e.prototype.peek = function() {
3547
3552
  if (this.isEOF())
@@ -3551,44 +3556,44 @@ var di = (
3551
3556
  }, e;
3552
3557
  }()
3553
3558
  );
3554
- function Je(e) {
3559
+ function Ke(e) {
3555
3560
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3556
3561
  }
3557
- function pi(e) {
3558
- return Je(e) || e === 47;
3559
- }
3560
3562
  function mi(e) {
3563
+ return Ke(e) || e === 47;
3564
+ }
3565
+ function bi(e) {
3561
3566
  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;
3562
3567
  }
3563
- function dr(e) {
3568
+ function pr(e) {
3564
3569
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3565
3570
  }
3566
- function bi(e) {
3571
+ function gi(e) {
3567
3572
  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;
3568
3573
  }
3569
- function Ke(e) {
3574
+ function et(e) {
3570
3575
  e.forEach(function(t) {
3571
- if (delete t.location, nr(t) || ir(t))
3576
+ if (delete t.location, ir(t) || or(t))
3572
3577
  for (var r in t.options)
3573
- delete t.options[r].location, Ke(t.options[r].value);
3578
+ delete t.options[r].location, et(t.options[r].value);
3574
3579
  else
3575
- er(t) && sr(t.style) || (tr(t) || rr(t)) && Ze(t.style) ? delete t.style.location : or(t) && Ke(t.children);
3580
+ tr(t) && ar(t.style) || (rr(t) || nr(t)) && Qe(t.style) ? delete t.style.location : sr(t) && et(t.children);
3576
3581
  });
3577
3582
  }
3578
- function gi(e, t) {
3583
+ function vi(e, t) {
3579
3584
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3580
- var r = new di(e, t).parse();
3585
+ var r = new pi(e, t).parse();
3581
3586
  if (r.err) {
3582
3587
  var n = SyntaxError(v[r.err.kind]);
3583
3588
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3584
3589
  }
3585
- return t?.captureLocation || Ke(r.val), r.val;
3590
+ return t?.captureLocation || et(r.val), r.val;
3586
3591
  }
3587
- var ie;
3592
+ var oe;
3588
3593
  (function(e) {
3589
3594
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3590
- })(ie || (ie = {}));
3591
- var Ae = (
3595
+ })(oe || (oe = {}));
3596
+ var Ie = (
3592
3597
  /** @class */
3593
3598
  function(e) {
3594
3599
  j(t, e);
@@ -3600,48 +3605,48 @@ var Ae = (
3600
3605
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3601
3606
  }, t;
3602
3607
  }(Error)
3603
- ), Tt = (
3608
+ ), Ht = (
3604
3609
  /** @class */
3605
3610
  function(e) {
3606
3611
  j(t, e);
3607
3612
  function t(r, n, i, o) {
3608
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3613
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3609
3614
  }
3610
3615
  return t;
3611
- }(Ae)
3612
- ), vi = (
3616
+ }(Ie)
3617
+ ), yi = (
3613
3618
  /** @class */
3614
3619
  function(e) {
3615
3620
  j(t, e);
3616
3621
  function t(r, n, i) {
3617
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3622
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3618
3623
  }
3619
3624
  return t;
3620
- }(Ae)
3621
- ), yi = (
3625
+ }(Ie)
3626
+ ), _i = (
3622
3627
  /** @class */
3623
3628
  function(e) {
3624
3629
  j(t, e);
3625
3630
  function t(r, n) {
3626
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3631
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3627
3632
  }
3628
3633
  return t;
3629
- }(Ae)
3634
+ }(Ie)
3630
3635
  ), M;
3631
3636
  (function(e) {
3632
3637
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3633
3638
  })(M || (M = {}));
3634
- function _i(e) {
3639
+ function xi(e) {
3635
3640
  return e.length < 2 ? e : e.reduce(function(t, r) {
3636
3641
  var n = t[t.length - 1];
3637
3642
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3638
3643
  }, []);
3639
3644
  }
3640
- function xi(e) {
3645
+ function Ei(e) {
3641
3646
  return typeof e == "function";
3642
3647
  }
3643
- function _e(e, t, r, n, i, o, s) {
3644
- if (e.length === 1 && yt(e[0]))
3648
+ function xe(e, t, r, n, i, o, s) {
3649
+ if (e.length === 1 && _t(e[0]))
3645
3650
  return [
3646
3651
  {
3647
3652
  type: M.literal,
@@ -3650,14 +3655,14 @@ function _e(e, t, r, n, i, o, s) {
3650
3655
  ];
3651
3656
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3652
3657
  var h = u[l];
3653
- if (yt(h)) {
3658
+ if (_t(h)) {
3654
3659
  a.push({
3655
3660
  type: M.literal,
3656
3661
  value: h.value
3657
3662
  });
3658
3663
  continue;
3659
3664
  }
3660
- if (jn(h)) {
3665
+ if (Vn(h)) {
3661
3666
  typeof o == "number" && a.push({
3662
3667
  type: M.literal,
3663
3668
  value: r.getNumberFormat(t).format(o)
@@ -3666,89 +3671,89 @@ function _e(e, t, r, n, i, o, s) {
3666
3671
  }
3667
3672
  var c = h.value;
3668
3673
  if (!(i && c in i))
3669
- throw new yi(c, s);
3674
+ throw new _i(c, s);
3670
3675
  var f = i[c];
3671
- if (Fn(h)) {
3676
+ if (jn(h)) {
3672
3677
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3673
3678
  type: typeof f == "string" ? M.literal : M.object,
3674
3679
  value: f
3675
3680
  });
3676
3681
  continue;
3677
3682
  }
3678
- if (tr(h)) {
3679
- var m = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3683
+ if (rr(h)) {
3684
+ var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3680
3685
  a.push({
3681
3686
  type: M.literal,
3682
3687
  value: r.getDateTimeFormat(t, m).format(f)
3683
3688
  });
3684
3689
  continue;
3685
3690
  }
3686
- if (rr(h)) {
3687
- var m = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3691
+ if (nr(h)) {
3692
+ var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3688
3693
  a.push({
3689
3694
  type: M.literal,
3690
3695
  value: r.getDateTimeFormat(t, m).format(f)
3691
3696
  });
3692
3697
  continue;
3693
3698
  }
3694
- if (er(h)) {
3695
- var m = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3699
+ if (tr(h)) {
3700
+ var m = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3696
3701
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3697
3702
  type: M.literal,
3698
3703
  value: r.getNumberFormat(t, m).format(f)
3699
3704
  });
3700
3705
  continue;
3701
3706
  }
3702
- if (or(h)) {
3707
+ if (sr(h)) {
3703
3708
  var p = h.children, b = h.value, T = i[b];
3704
- if (!xi(T))
3705
- throw new vi(b, "function", s);
3706
- var L = _e(p, t, r, n, i, o), P = T(L.map(function(C) {
3707
- return C.value;
3709
+ if (!Ei(T))
3710
+ throw new yi(b, "function", s);
3711
+ var L = xe(p, t, r, n, i, o), P = T(L.map(function(w) {
3712
+ return w.value;
3708
3713
  }));
3709
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(C) {
3714
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(w) {
3710
3715
  return {
3711
- type: typeof C == "string" ? M.literal : M.object,
3712
- value: C
3716
+ type: typeof w == "string" ? M.literal : M.object,
3717
+ value: w
3713
3718
  };
3714
3719
  }));
3715
3720
  }
3716
- if (nr(h)) {
3721
+ if (ir(h)) {
3717
3722
  var A = h.options[f] || h.options.other;
3718
3723
  if (!A)
3719
- throw new Tt(h.value, f, Object.keys(h.options), s);
3720
- a.push.apply(a, _e(A.value, t, r, n, i));
3724
+ throw new Ht(h.value, f, Object.keys(h.options), s);
3725
+ a.push.apply(a, xe(A.value, t, r, n, i));
3721
3726
  continue;
3722
3727
  }
3723
- if (ir(h)) {
3728
+ if (or(h)) {
3724
3729
  var A = h.options["=".concat(f)];
3725
3730
  if (!A) {
3726
3731
  if (!Intl.PluralRules)
3727
- throw new Ae(`Intl.PluralRules is not available in this environment.
3732
+ throw new Ie(`Intl.PluralRules is not available in this environment.
3728
3733
  Try polyfilling it using "@formatjs/intl-pluralrules"
3729
- `, ie.MISSING_INTL_API, s);
3734
+ `, oe.MISSING_INTL_API, s);
3730
3735
  var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3731
3736
  A = h.options[O] || h.options.other;
3732
3737
  }
3733
3738
  if (!A)
3734
- throw new Tt(h.value, f, Object.keys(h.options), s);
3735
- a.push.apply(a, _e(A.value, t, r, n, i, f - (h.offset || 0)));
3739
+ throw new Ht(h.value, f, Object.keys(h.options), s);
3740
+ a.push.apply(a, xe(A.value, t, r, n, i, f - (h.offset || 0)));
3736
3741
  continue;
3737
3742
  }
3738
3743
  }
3739
- return _i(a);
3744
+ return xi(a);
3740
3745
  }
3741
- function Ei(e, t) {
3746
+ function wi(e, t) {
3742
3747
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3743
3748
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3744
3749
  }, {})) : e;
3745
3750
  }
3746
- function wi(e, t) {
3751
+ function Ci(e, t) {
3747
3752
  return t ? Object.keys(e).reduce(function(r, n) {
3748
- return r[n] = Ei(e[n], t[n]), r;
3753
+ return r[n] = wi(e[n], t[n]), r;
3749
3754
  }, _({}, e)) : e;
3750
3755
  }
3751
- function $e(e) {
3756
+ function ke(e) {
3752
3757
  return {
3753
3758
  create: function() {
3754
3759
  return {
@@ -3762,39 +3767,39 @@ function $e(e) {
3762
3767
  }
3763
3768
  };
3764
3769
  }
3765
- function Ci(e) {
3770
+ function Si(e) {
3766
3771
  return e === void 0 && (e = {
3767
3772
  number: {},
3768
3773
  dateTime: {},
3769
3774
  pluralRules: {}
3770
3775
  }), {
3771
- getNumberFormat: Re(function() {
3776
+ getNumberFormat: Ue(function() {
3772
3777
  for (var t, r = [], n = 0; n < arguments.length; n++)
3773
3778
  r[n] = arguments[n];
3774
- return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3779
+ return new ((t = Intl.NumberFormat).bind.apply(t, re([void 0], r, !1)))();
3775
3780
  }, {
3776
- cache: $e(e.number),
3777
- strategy: Ue.variadic
3781
+ cache: ke(e.number),
3782
+ strategy: De.variadic
3778
3783
  }),
3779
- getDateTimeFormat: Re(function() {
3784
+ getDateTimeFormat: Ue(function() {
3780
3785
  for (var t, r = [], n = 0; n < arguments.length; n++)
3781
3786
  r[n] = arguments[n];
3782
- return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3787
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, re([void 0], r, !1)))();
3783
3788
  }, {
3784
- cache: $e(e.dateTime),
3785
- strategy: Ue.variadic
3789
+ cache: ke(e.dateTime),
3790
+ strategy: De.variadic
3786
3791
  }),
3787
- getPluralRules: Re(function() {
3792
+ getPluralRules: Ue(function() {
3788
3793
  for (var t, r = [], n = 0; n < arguments.length; n++)
3789
3794
  r[n] = arguments[n];
3790
- return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3795
+ return new ((t = Intl.PluralRules).bind.apply(t, re([void 0], r, !1)))();
3791
3796
  }, {
3792
- cache: $e(e.pluralRules),
3793
- strategy: Ue.variadic
3797
+ cache: ke(e.pluralRules),
3798
+ strategy: De.variadic
3794
3799
  })
3795
3800
  };
3796
3801
  }
3797
- var Si = (
3802
+ var Ti = (
3798
3803
  /** @class */
3799
3804
  function() {
3800
3805
  function e(t, r, n, i) {
@@ -3813,7 +3818,7 @@ var Si = (
3813
3818
  }, []);
3814
3819
  return h.length <= 1 ? h[0] || "" : h;
3815
3820
  }, this.formatToParts = function(l) {
3816
- return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3821
+ return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3817
3822
  }, this.resolvedOptions = function() {
3818
3823
  var l;
3819
3824
  return {
@@ -3826,13 +3831,13 @@ var Si = (
3826
3831
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3827
3832
  var s = i || {};
3828
3833
  s.formatters;
3829
- var a = rn(s, ["formatters"]);
3834
+ var a = nn(s, ["formatters"]);
3830
3835
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3831
3836
  } else
3832
3837
  this.ast = t;
3833
3838
  if (!Array.isArray(this.ast))
3834
3839
  throw new TypeError("A message must be provided as a String or AST.");
3835
- this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
3840
+ this.formats = Ci(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
3836
3841
  }
3837
3842
  return Object.defineProperty(e, "defaultLocale", {
3838
3843
  get: function() {
@@ -3845,7 +3850,7 @@ var Si = (
3845
3850
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3846
3851
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3847
3852
  }
3848
- }, e.__parse = gi, e.formats = {
3853
+ }, e.__parse = vi, e.formats = {
3849
3854
  number: {
3850
3855
  integer: {
3851
3856
  maximumFractionDigits: 0
@@ -3906,7 +3911,7 @@ var Si = (
3906
3911
  }, e;
3907
3912
  }()
3908
3913
  );
3909
- function Ti(e, t) {
3914
+ function Hi(e, t) {
3910
3915
  if (t == null)
3911
3916
  return;
3912
3917
  if (t in e)
@@ -3927,92 +3932,92 @@ function Ti(e, t) {
3927
3932
  n = void 0;
3928
3933
  return n;
3929
3934
  }
3930
- const V = {}, Hi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), pr = (e, t) => {
3935
+ const W = {}, Ai = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), mr = (e, t) => {
3931
3936
  if (t == null)
3932
3937
  return;
3933
- if (t in V && e in V[t])
3934
- return V[t][e];
3935
- const r = Ie(t);
3938
+ if (t in W && e in W[t])
3939
+ return W[t][e];
3940
+ const r = Be(t);
3936
3941
  for (let n = 0; n < r.length; n++) {
3937
- const i = r[n], o = Ii(i, e);
3942
+ const i = r[n], o = Bi(i, e);
3938
3943
  if (o)
3939
- return Hi(e, t, o);
3944
+ return Ai(e, t, o);
3940
3945
  }
3941
3946
  };
3942
- let it;
3943
- const ae = He({});
3944
- function Ai(e) {
3945
- return it[e] || null;
3947
+ let ot;
3948
+ const le = Ae({});
3949
+ function Ii(e) {
3950
+ return ot[e] || null;
3946
3951
  }
3947
- function mr(e) {
3948
- return e in it;
3952
+ function br(e) {
3953
+ return e in ot;
3949
3954
  }
3950
- function Ii(e, t) {
3951
- if (!mr(e))
3955
+ function Bi(e, t) {
3956
+ if (!br(e))
3952
3957
  return null;
3953
- const r = Ai(e);
3954
- return Ti(r, t);
3958
+ const r = Ii(e);
3959
+ return Hi(r, t);
3955
3960
  }
3956
- function Bi(e) {
3961
+ function Pi(e) {
3957
3962
  if (e == null)
3958
3963
  return;
3959
- const t = Ie(e);
3964
+ const t = Be(e);
3960
3965
  for (let r = 0; r < t.length; r++) {
3961
3966
  const n = t[r];
3962
- if (mr(n))
3967
+ if (br(n))
3963
3968
  return n;
3964
3969
  }
3965
3970
  }
3966
- function br(e, ...t) {
3967
- delete V[e], ae.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
3971
+ function gr(e, ...t) {
3972
+ delete W[e], le.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
3968
3973
  }
3969
- se(
3970
- [ae],
3974
+ ae(
3975
+ [le],
3971
3976
  ([e]) => Object.keys(e)
3972
3977
  );
3973
- ae.subscribe((e) => it = e);
3974
- const xe = {};
3975
- function Pi(e, t) {
3976
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3978
+ le.subscribe((e) => ot = e);
3979
+ const Ee = {};
3980
+ function Oi(e, t) {
3981
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3977
3982
  }
3978
- function gr(e) {
3979
- return xe[e];
3983
+ function vr(e) {
3984
+ return Ee[e];
3980
3985
  }
3981
- function Oi(e) {
3982
- return Ie(e).map((t) => {
3983
- const r = gr(t);
3986
+ function Mi(e) {
3987
+ return Be(e).map((t) => {
3988
+ const r = vr(t);
3984
3989
  return [t, r ? [...r] : []];
3985
3990
  }).filter(([, t]) => t.length > 0);
3986
3991
  }
3987
- function et(e) {
3988
- return e == null ? !1 : Ie(e).some(
3992
+ function tt(e) {
3993
+ return e == null ? !1 : Be(e).some(
3989
3994
  (t) => {
3990
3995
  var r;
3991
- return (r = gr(t)) == null ? void 0 : r.size;
3996
+ return (r = vr(t)) == null ? void 0 : r.size;
3992
3997
  }
3993
3998
  );
3994
3999
  }
3995
- function Mi(e, t) {
4000
+ function Li(e, t) {
3996
4001
  return Promise.all(
3997
- t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
3998
- ).then((n) => br(e, ...n));
3999
- }
4000
- const ue = {};
4001
- function vr(e) {
4002
- if (!et(e))
4003
- return e in ue ? ue[e] : Promise.resolve();
4004
- const t = Oi(e);
4005
- return ue[e] = Promise.all(
4002
+ t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
4003
+ ).then((n) => gr(e, ...n));
4004
+ }
4005
+ const he = {};
4006
+ function yr(e) {
4007
+ if (!tt(e))
4008
+ return e in he ? he[e] : Promise.resolve();
4009
+ const t = Mi(e);
4010
+ return he[e] = Promise.all(
4006
4011
  t.map(
4007
- ([r, n]) => Mi(r, n)
4012
+ ([r, n]) => Li(r, n)
4008
4013
  )
4009
4014
  ).then(() => {
4010
- if (et(e))
4011
- return vr(e);
4012
- delete ue[e];
4013
- }), ue[e];
4015
+ if (tt(e))
4016
+ return yr(e);
4017
+ delete he[e];
4018
+ }), he[e];
4014
4019
  }
4015
- const Li = {
4020
+ const Ni = {
4016
4021
  number: {
4017
4022
  scientific: { notation: "scientific" },
4018
4023
  engineering: { notation: "engineering" },
@@ -4041,150 +4046,150 @@ const Li = {
4041
4046
  timeZoneName: "short"
4042
4047
  }
4043
4048
  }
4044
- }, Ni = {
4049
+ }, Ri = {
4045
4050
  fallbackLocale: null,
4046
4051
  loadingDelay: 200,
4047
- formats: Li,
4052
+ formats: Ni,
4048
4053
  warnOnMissingMessages: !0,
4049
4054
  handleMissingMessage: void 0,
4050
4055
  ignoreTag: !0
4051
- }, Ri = Ni;
4052
- function oe() {
4053
- return Ri;
4056
+ }, Ui = Ri;
4057
+ function se() {
4058
+ return Ui;
4054
4059
  }
4055
- const ke = He(!1);
4056
- var Ui = Object.defineProperty, Di = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4060
+ const Ge = Ae(!1);
4061
+ var Di = Object.defineProperty, $i = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ji = (e, t) => {
4057
4062
  for (var r in t || (t = {}))
4058
- ki.call(t, r) && At(e, r, t[r]);
4059
- if (Ht)
4060
- for (var r of Ht(t))
4061
- Gi.call(t, r) && At(e, r, t[r]);
4063
+ Gi.call(t, r) && It(e, r, t[r]);
4064
+ if (At)
4065
+ for (var r of At(t))
4066
+ Fi.call(t, r) && It(e, r, t[r]);
4062
4067
  return e;
4063
- }, ji = (e, t) => Di(e, $i(t));
4064
- let tt;
4065
- const we = He(null);
4066
- function It(e) {
4068
+ }, Vi = (e, t) => $i(e, ki(t));
4069
+ let rt;
4070
+ const Ce = Ae(null);
4071
+ function Bt(e) {
4067
4072
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4068
4073
  }
4069
- function Ie(e, t = oe().fallbackLocale) {
4070
- const r = It(e);
4071
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4074
+ function Be(e, t = se().fallbackLocale) {
4075
+ const r = Bt(e);
4076
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4072
4077
  }
4073
- function z() {
4074
- return tt ?? void 0;
4078
+ function Z() {
4079
+ return rt ?? void 0;
4075
4080
  }
4076
- we.subscribe((e) => {
4077
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4081
+ Ce.subscribe((e) => {
4082
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4078
4083
  });
4079
- const Vi = (e) => {
4080
- if (e && Bi(e) && et(e)) {
4081
- const { loadingDelay: t } = oe();
4084
+ const Wi = (e) => {
4085
+ if (e && Pi(e) && tt(e)) {
4086
+ const { loadingDelay: t } = se();
4082
4087
  let r;
4083
- return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4084
- () => ke.set(!0),
4088
+ return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
4089
+ () => Ge.set(!0),
4085
4090
  t
4086
- ) : ke.set(!0), vr(e).then(() => {
4087
- we.set(e);
4091
+ ) : Ge.set(!0), yr(e).then(() => {
4092
+ Ce.set(e);
4088
4093
  }).finally(() => {
4089
- clearTimeout(r), ke.set(!1);
4094
+ clearTimeout(r), Ge.set(!1);
4090
4095
  });
4091
4096
  }
4092
- return we.set(e);
4093
- }, W = ji(Fi({}, we), {
4094
- set: Vi
4095
- }), Be = (e) => {
4097
+ return Ce.set(e);
4098
+ }, X = Vi(ji({}, Ce), {
4099
+ set: Wi
4100
+ }), Pe = (e) => {
4096
4101
  const t = /* @__PURE__ */ Object.create(null);
4097
4102
  return (n) => {
4098
4103
  const i = JSON.stringify(n);
4099
4104
  return i in t ? t[i] : t[i] = e(n);
4100
4105
  };
4101
4106
  };
4102
- var Wi = Object.defineProperty, Ce = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4107
+ var Xi = Object.defineProperty, Se = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4103
4108
  for (var r in t || (t = {}))
4104
- yr.call(t, r) && Bt(e, r, t[r]);
4105
- if (Ce)
4106
- for (var r of Ce(t))
4107
- _r.call(t, r) && Bt(e, r, t[r]);
4109
+ _r.call(t, r) && Pt(e, r, t[r]);
4110
+ if (Se)
4111
+ for (var r of Se(t))
4112
+ xr.call(t, r) && Pt(e, r, t[r]);
4108
4113
  return e;
4109
- }, le = (e, t) => {
4114
+ }, ue = (e, t) => {
4110
4115
  var r = {};
4111
4116
  for (var n in e)
4112
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4113
- if (e != null && Ce)
4114
- for (var n of Ce(e))
4115
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4117
+ _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4118
+ if (e != null && Se)
4119
+ for (var n of Se(e))
4120
+ t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4116
4121
  return r;
4117
4122
  };
4118
- const de = (e, t) => {
4119
- const { formats: r } = oe();
4123
+ const pe = (e, t) => {
4124
+ const { formats: r } = se();
4120
4125
  if (e in r && t in r[e])
4121
4126
  return r[e][t];
4122
4127
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4123
- }, Xi = Be(
4128
+ }, zi = Pe(
4124
4129
  (e) => {
4125
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4130
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4126
4131
  if (r == null)
4127
4132
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4128
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4133
+ return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
4129
4134
  }
4130
- ), zi = Be(
4135
+ ), Zi = Pe(
4131
4136
  (e) => {
4132
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4137
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4133
4138
  if (r == null)
4134
4139
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4135
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4140
+ return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
4136
4141
  }
4137
- ), Zi = Be(
4142
+ ), Qi = Pe(
4138
4143
  (e) => {
4139
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
4144
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4140
4145
  if (r == null)
4141
4146
  throw new Error(
4142
4147
  '[svelte-i18n] A "locale" must be set to format time values'
4143
4148
  );
4144
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4149
+ return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
4145
4150
  }
4146
- ), Qi = (e = {}) => {
4151
+ ), qi = (e = {}) => {
4147
4152
  var t = e, {
4148
- locale: r = z()
4149
- } = t, n = le(t, [
4153
+ locale: r = Z()
4154
+ } = t, n = ue(t, [
4150
4155
  "locale"
4151
4156
  ]);
4152
- return Xi(ot({ locale: r }, n));
4157
+ return zi(st({ locale: r }, n));
4153
4158
  }, Yi = (e = {}) => {
4154
4159
  var t = e, {
4155
- locale: r = z()
4156
- } = t, n = le(t, [
4160
+ locale: r = Z()
4161
+ } = t, n = ue(t, [
4157
4162
  "locale"
4158
4163
  ]);
4159
- return zi(ot({ locale: r }, n));
4160
- }, qi = (e = {}) => {
4164
+ return Zi(st({ locale: r }, n));
4165
+ }, Ji = (e = {}) => {
4161
4166
  var t = e, {
4162
- locale: r = z()
4163
- } = t, n = le(t, [
4167
+ locale: r = Z()
4168
+ } = t, n = ue(t, [
4164
4169
  "locale"
4165
4170
  ]);
4166
- return Zi(ot({ locale: r }, n));
4167
- }, Ji = Be(
4171
+ return Qi(st({ locale: r }, n));
4172
+ }, Ki = Pe(
4168
4173
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4169
- (e, t = z()) => new Si(e, t, oe().formats, {
4170
- ignoreTag: oe().ignoreTag
4174
+ (e, t = Z()) => new Ti(e, t, se().formats, {
4175
+ ignoreTag: se().ignoreTag
4171
4176
  })
4172
- ), Ki = (e, t = {}) => {
4177
+ ), eo = (e, t = {}) => {
4173
4178
  var r, n, i, o;
4174
4179
  let s = t;
4175
4180
  typeof e == "object" && (s = e, e = s.id);
4176
4181
  const {
4177
4182
  values: a,
4178
- locale: l = z(),
4183
+ locale: l = Z(),
4179
4184
  default: u
4180
4185
  } = s;
4181
4186
  if (l == null)
4182
4187
  throw new Error(
4183
4188
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4184
4189
  );
4185
- let h = pr(e, l);
4190
+ let h = mr(e, l);
4186
4191
  if (!h)
4187
- h = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4192
+ h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4188
4193
  else if (typeof h != "string")
4189
4194
  return console.warn(
4190
4195
  `[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.`
@@ -4193,7 +4198,7 @@ const de = (e, t) => {
4193
4198
  return h;
4194
4199
  let c = h;
4195
4200
  try {
4196
- c = Ji(h, l).format(a);
4201
+ c = Ki(h, l).format(a);
4197
4202
  } catch (f) {
4198
4203
  f instanceof Error && console.warn(
4199
4204
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4201,32 +4206,32 @@ const de = (e, t) => {
4201
4206
  );
4202
4207
  }
4203
4208
  return c;
4204
- }, eo = (e, t) => qi(t).format(e), to = (e, t) => Yi(t).format(e), ro = (e, t) => Qi(t).format(e), no = (e, t = z()) => pr(e, t);
4205
- se([W, ae], () => Ki);
4206
- se([W], () => eo);
4207
- se([W], () => to);
4208
- se([W], () => ro);
4209
- se([W, ae], () => no);
4210
- window.emWidgets = { topic: gn };
4211
- const Pt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4212
- function io({ withLocale: e, translations: t }) {
4213
- W.subscribe((r) => {
4214
- r == null && (ae.set(t), W.set(e));
4209
+ }, to = (e, t) => Ji(t).format(e), ro = (e, t) => Yi(t).format(e), no = (e, t) => qi(t).format(e), io = (e, t = Z()) => mr(e, t);
4210
+ ae([X, le], () => eo);
4211
+ ae([X], () => to);
4212
+ ae([X], () => ro);
4213
+ ae([X], () => no);
4214
+ ae([X, le], () => io);
4215
+ window.emWidgets = { topic: vn };
4216
+ const Ot = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4217
+ function oo({ withLocale: e, translations: t }) {
4218
+ X.subscribe((r) => {
4219
+ r == null && (le.set(t), X.set(e));
4215
4220
  });
4216
4221
  }
4217
- function oo(e, t) {
4218
- br(e, t);
4222
+ function so(e, t) {
4223
+ gr(e, t);
4219
4224
  }
4220
- function so(e) {
4221
- W.set(e);
4225
+ function ao(e) {
4226
+ X.set(e);
4222
4227
  }
4223
- function ao(e, t) {
4228
+ function lo(e, t) {
4224
4229
  if (e) {
4225
4230
  const r = document.createElement("style");
4226
4231
  r.innerHTML = t, e.appendChild(r);
4227
4232
  }
4228
4233
  }
4229
- function lo(e, t) {
4234
+ function uo(e, t) {
4230
4235
  const r = new URL(t);
4231
4236
  fetch(r.href).then((n) => n.text()).then((n) => {
4232
4237
  const i = document.createElement("style");
@@ -4235,7 +4240,7 @@ function lo(e, t) {
4235
4240
  console.error("There was an error while trying to load client styling from URL", n);
4236
4241
  });
4237
4242
  }
4238
- function uo(e, t, r) {
4243
+ function ho(e, t, r) {
4239
4244
  if (window.emMessageBus) {
4240
4245
  const n = document.createElement("style");
4241
4246
  window.emMessageBus.subscribe(t, (i) => {
@@ -4243,44 +4248,44 @@ function uo(e, t, r) {
4243
4248
  });
4244
4249
  }
4245
4250
  }
4246
- function ho(e) {
4247
- Nr(e, "svelte-kras36", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.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;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.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}.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)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
4251
+ function co(e) {
4252
+ Rr(e, "svelte-1r67wqy", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.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;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li ui-image img{height:100%;margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.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}.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)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li ui-image img{margin:0;top:unset;position:static;overflow:auto}');
4248
4253
  }
4249
- function Ot(e, t, r) {
4254
+ function Mt(e, t, r) {
4250
4255
  const n = e.slice();
4251
4256
  return n[43] = t[r], n[45] = r, n;
4252
4257
  }
4253
- function co(e) {
4258
+ function fo(e) {
4254
4259
  let t, r, n, i, o, s, a, l, u, h, c, f, m, p = (
4255
4260
  /*vendors*/
4256
- e[6].length > 0 && Mt(e)
4261
+ e[6].length > 0 && Lt(e)
4257
4262
  );
4258
4263
  return {
4259
4264
  c() {
4260
- t = S("div"), r = S("div"), n = S("div"), i = S("div"), i.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="3" d="M15 19l-7-7 7-7"></path></svg>', o = G(), s = S("div"), a = S("ul"), l = S("li"), l.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = G(), p && p.c(), h = G(), c = S("div"), c.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="3" d="M9 5l7 7-7 7"></path></svg>', E(i, "class", "CarouselLeftArrow"), E(l, "class", "TouchOnly"), E(a, "id", "CarouselNav"), E(a, "class", "CarouselItems"), E(s, "class", "CarouselNavWrap"), E(c, "class", "CarouselRightArrow"), E(n, "class", "CarouselContainer CarouselContainerMobile"), E(r, "class", "CarouselWrapper " + /*isMobile*/
4261
- (e[10] ? "CarouselWrapperMobile" : "")), E(t, "class", "CasinoVendorsContainer"), E(t, "part", "CasinoVendorsContainer");
4265
+ t = S("div"), r = S("div"), n = S("div"), i = S("div"), i.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="3" d="M15 19l-7-7 7-7"></path></svg>', o = G(), s = S("div"), a = S("ul"), l = S("li"), l.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = G(), p && p.c(), h = G(), c = S("div"), c.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="3" d="M9 5l7 7-7 7"></path></svg>', C(i, "class", "CarouselLeftArrow"), C(l, "class", "TouchOnly"), C(a, "id", "CarouselNav"), C(a, "class", "CarouselItems"), C(s, "class", "CarouselNavWrap"), C(c, "class", "CarouselRightArrow"), C(n, "class", "CarouselContainer CarouselContainerMobile"), C(r, "class", "CarouselWrapper " + /*isMobile*/
4266
+ (e[10] ? "CarouselWrapperMobile" : "")), C(t, "class", "CasinoVendorsContainer"), C(t, "part", "CasinoVendorsContainer");
4262
4267
  },
4263
4268
  m(b, T) {
4264
4269
  B(b, t, T), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, l), H(a, u), p && p.m(a, null), e[28](a), e[29](s), H(n, h), H(n, c), e[30](r), f || (m = [
4265
- J(
4270
+ K(
4266
4271
  i,
4267
4272
  "click",
4268
4273
  /*scrollLeft*/
4269
4274
  e[12]
4270
4275
  ),
4271
- J(
4276
+ K(
4272
4277
  i,
4273
4278
  "keydown",
4274
4279
  /*onScrollLeftKeydown*/
4275
4280
  e[15]
4276
4281
  ),
4277
- J(
4282
+ K(
4278
4283
  c,
4279
4284
  "click",
4280
4285
  /*scrollRight*/
4281
4286
  e[13]
4282
4287
  ),
4283
- J(
4288
+ K(
4284
4289
  c,
4285
4290
  "keydown",
4286
4291
  /*onScrollRightKeydown*/
@@ -4290,18 +4295,18 @@ function co(e) {
4290
4295
  },
4291
4296
  p(b, T) {
4292
4297
  /*vendors*/
4293
- b[6].length > 0 ? p ? p.p(b, T) : (p = Mt(b), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
4298
+ b[6].length > 0 ? p ? p.p(b, T) : (p = Lt(b), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
4294
4299
  },
4295
4300
  d(b) {
4296
- b && I(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, X(m);
4301
+ b && I(t), p && p.d(), e[28](null), e[29](null), e[30](null), f = !1, z(m);
4297
4302
  }
4298
4303
  };
4299
4304
  }
4300
- function fo(e) {
4305
+ function po(e) {
4301
4306
  let t;
4302
4307
  return {
4303
4308
  c() {
4304
- t = S("p"), t.textContent = "500 Error - Internal Server Error.", E(t, "class", "SearchLoading");
4309
+ t = S("p"), t.textContent = "500 Error - Internal Server Error.", C(t, "class", "SearchLoading");
4305
4310
  },
4306
4311
  m(r, n) {
4307
4312
  B(r, t, n);
@@ -4312,11 +4317,11 @@ function fo(e) {
4312
4317
  }
4313
4318
  };
4314
4319
  }
4315
- function po(e) {
4320
+ function mo(e) {
4316
4321
  let t;
4317
4322
  return {
4318
4323
  c() {
4319
- t = S("div"), E(t, "class", "CasinoVendorsLoading");
4324
+ t = S("div"), C(t, "class", "CasinoVendorsLoading");
4320
4325
  },
4321
4326
  m(r, n) {
4322
4327
  B(r, t, n);
@@ -4327,8 +4332,8 @@ function po(e) {
4327
4332
  }
4328
4333
  };
4329
4334
  }
4330
- function Mt(e) {
4331
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ht(
4335
+ function Lt(e) {
4336
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = ct(
4332
4337
  /*vendors*/
4333
4338
  e[6]
4334
4339
  );
@@ -4337,14 +4342,14 @@ function Mt(e) {
4337
4342
  s[43].id
4338
4343
  );
4339
4344
  for (let s = 0; s < i.length; s += 1) {
4340
- let a = Ot(e, i, s), l = o(a);
4341
- r.set(l, t[s] = kt(l, a));
4345
+ let a = Mt(e, i, s), l = o(a);
4346
+ r.set(l, t[s] = Gt(l, a));
4342
4347
  }
4343
4348
  return {
4344
4349
  c() {
4345
4350
  for (let s = 0; s < t.length; s += 1)
4346
4351
  t[s].c();
4347
- n = rt();
4352
+ n = nt();
4348
4353
  },
4349
4354
  m(s, a) {
4350
4355
  for (let l = 0; l < t.length; l += 1)
@@ -4353,10 +4358,10 @@ function Mt(e) {
4353
4358
  },
4354
4359
  p(s, a) {
4355
4360
  a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, getGamesTotal, showvendorgames, showvendorname, showvendoricon, isMobile*/
4356
- 461903 && (i = ht(
4361
+ 461903 && (i = ct(
4357
4362
  /*vendors*/
4358
4363
  s[6]
4359
- ), t = Zr(t, a, o, 1, s, i, r, n.parentNode, zr, kt, n, Ot));
4364
+ ), t = Qr(t, a, o, 1, s, i, r, n.parentNode, Zr, Gt, n, Mt));
4360
4365
  },
4361
4366
  d(s) {
4362
4367
  s && I(n);
@@ -4365,18 +4370,18 @@ function Mt(e) {
4365
4370
  }
4366
4371
  };
4367
4372
  }
4368
- function Lt(e) {
4373
+ function Nt(e) {
4369
4374
  let t;
4370
4375
  function r(o, s) {
4371
4376
  return (
4372
4377
  /*isMobile*/
4373
- o[10] ? bo : mo
4378
+ o[10] ? go : bo
4374
4379
  );
4375
4380
  }
4376
4381
  let i = r(e)(e);
4377
4382
  return {
4378
4383
  c() {
4379
- i.c(), t = rt();
4384
+ i.c(), t = nt();
4380
4385
  },
4381
4386
  m(o, s) {
4382
4387
  i.m(o, s), B(o, t, s);
@@ -4389,15 +4394,15 @@ function Lt(e) {
4389
4394
  }
4390
4395
  };
4391
4396
  }
4392
- function mo(e) {
4397
+ function bo(e) {
4393
4398
  let t, r, n, i, o, s = (
4394
4399
  /*showvendorname*/
4395
- e[2] === "false" && Nt()
4400
+ e[2] === "false" && Rt()
4396
4401
  );
4397
4402
  return {
4398
4403
  c() {
4399
- t = S("img"), i = G(), s && s.c(), o = rt(), Ee(t.src, r = /*vendor*/
4400
- e[43].logo) || E(t, "src", r), E(t, "alt", n = /*vendor*/
4404
+ t = S("ui-image"), i = G(), s && s.c(), o = nt(), we(t.src, r = /*vendor*/
4405
+ e[43].logo) || V(t, "src", r), V(t, "alt", n = /*vendor*/
4401
4406
  e[43].displayName);
4402
4407
  },
4403
4408
  m(a, l) {
@@ -4405,49 +4410,49 @@ function mo(e) {
4405
4410
  },
4406
4411
  p(a, l) {
4407
4412
  l[0] & /*vendors*/
4408
- 64 && !Ee(t.src, r = /*vendor*/
4409
- a[43].logo) && E(t, "src", r), l[0] & /*vendors*/
4413
+ 64 && !we(t.src, r = /*vendor*/
4414
+ a[43].logo) && V(t, "src", r), l[0] & /*vendors*/
4410
4415
  64 && n !== (n = /*vendor*/
4411
- a[43].displayName) && E(t, "alt", n), /*showvendorname*/
4412
- a[2] === "false" ? s || (s = Nt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4416
+ a[43].displayName) && V(t, "alt", n), /*showvendorname*/
4417
+ a[2] === "false" ? s || (s = Rt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
4413
4418
  },
4414
4419
  d(a) {
4415
4420
  a && (I(t), I(i), I(o)), s && s.d(a);
4416
4421
  }
4417
4422
  };
4418
4423
  }
4419
- function bo(e) {
4424
+ function go(e) {
4420
4425
  let t, r, n, i, o, s = (
4421
4426
  /*showvendorname*/
4422
- e[2] === "false" && Rt()
4427
+ e[2] === "false" && Ut()
4423
4428
  );
4424
4429
  return {
4425
4430
  c() {
4426
- t = S("div"), r = S("img"), o = G(), s && s.c(), Ee(r.src, n = /*vendor*/
4427
- e[43].logo) || E(r, "src", n), E(r, "alt", i = /*vendor*/
4428
- e[43].displayName), E(t, "class", "ImageContainer");
4431
+ t = S("div"), r = S("ui-image"), o = G(), s && s.c(), we(r.src, n = /*vendor*/
4432
+ e[43].logo) || V(r, "src", n), V(r, "alt", i = /*vendor*/
4433
+ e[43].displayName), C(t, "class", "ImageContainer");
4429
4434
  },
4430
4435
  m(a, l) {
4431
4436
  B(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
4432
4437
  },
4433
4438
  p(a, l) {
4434
4439
  l[0] & /*vendors*/
4435
- 64 && !Ee(r.src, n = /*vendor*/
4436
- a[43].logo) && E(r, "src", n), l[0] & /*vendors*/
4440
+ 64 && !we(r.src, n = /*vendor*/
4441
+ a[43].logo) && V(r, "src", n), l[0] & /*vendors*/
4437
4442
  64 && i !== (i = /*vendor*/
4438
- a[43].displayName) && E(r, "alt", i), /*showvendorname*/
4439
- a[2] === "false" ? s || (s = Rt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4443
+ a[43].displayName) && V(r, "alt", i), /*showvendorname*/
4444
+ a[2] === "false" ? s || (s = Ut(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4440
4445
  },
4441
4446
  d(a) {
4442
4447
  a && I(t), s && s.d();
4443
4448
  }
4444
4449
  };
4445
4450
  }
4446
- function Nt(e) {
4451
+ function Rt(e) {
4447
4452
  let t;
4448
4453
  return {
4449
4454
  c() {
4450
- t = S("div"), E(t, "class", "ActiveImg");
4455
+ t = S("div"), C(t, "class", "ActiveImg");
4451
4456
  },
4452
4457
  m(r, n) {
4453
4458
  B(r, t, n);
@@ -4457,11 +4462,11 @@ function Nt(e) {
4457
4462
  }
4458
4463
  };
4459
4464
  }
4460
- function Rt(e) {
4465
+ function Ut(e) {
4461
4466
  let t;
4462
4467
  return {
4463
4468
  c() {
4464
- t = S("div"), E(t, "class", "ActiveImg");
4469
+ t = S("div"), C(t, "class", "ActiveImg");
4465
4470
  },
4466
4471
  m(r, n) {
4467
4472
  B(r, t, n);
@@ -4471,7 +4476,7 @@ function Rt(e) {
4471
4476
  }
4472
4477
  };
4473
4478
  }
4474
- function Ut(e) {
4479
+ function Dt(e) {
4475
4480
  let t, r = (
4476
4481
  /*getGamesTotal*/
4477
4482
  e[18](
@@ -4481,7 +4486,7 @@ function Ut(e) {
4481
4486
  ), n;
4482
4487
  return {
4483
4488
  c() {
4484
- t = S("span"), n = pe(r), E(t, "class", "categoryImgButtonCount");
4489
+ t = S("span"), n = me(r), C(t, "class", "categoryImgButtonCount");
4485
4490
  },
4486
4491
  m(i, o) {
4487
4492
  B(i, t, o), H(t, n);
@@ -4492,25 +4497,25 @@ function Ut(e) {
4492
4497
  i[18](
4493
4498
  /*vendor*/
4494
4499
  i[43]?.games.total
4495
- ) + "") && nt(n, r);
4500
+ ) + "") && it(n, r);
4496
4501
  },
4497
4502
  d(i) {
4498
4503
  i && I(t);
4499
4504
  }
4500
4505
  };
4501
4506
  }
4502
- function Dt(e) {
4507
+ function $t(e) {
4503
4508
  let t, r = (
4504
4509
  /*vendor*/
4505
4510
  e[43].displayName + ""
4506
4511
  ), n, i, o = (
4507
4512
  /*showvendorgames*/
4508
4513
  e[3] !== "false" && /*vendor*/
4509
- e[43]?.games.total && $t(e)
4514
+ e[43]?.games.total && kt(e)
4510
4515
  );
4511
4516
  return {
4512
4517
  c() {
4513
- t = S("button"), n = pe(r), i = G(), o && o.c(), E(
4518
+ t = S("button"), n = me(r), i = G(), o && o.c(), C(
4514
4519
  t,
4515
4520
  "class",
4516
4521
  /*getButtonClasses*/
@@ -4523,16 +4528,16 @@ function Dt(e) {
4523
4528
  p(s, a) {
4524
4529
  a[0] & /*vendors*/
4525
4530
  64 && r !== (r = /*vendor*/
4526
- s[43].displayName + "") && nt(n, r), /*showvendorgames*/
4531
+ s[43].displayName + "") && it(n, r), /*showvendorgames*/
4527
4532
  s[3] !== "false" && /*vendor*/
4528
- s[43]?.games.total ? o ? o.p(s, a) : (o = $t(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4533
+ s[43]?.games.total ? o ? o.p(s, a) : (o = kt(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4529
4534
  },
4530
4535
  d(s) {
4531
4536
  s && I(t), o && o.d();
4532
4537
  }
4533
4538
  };
4534
4539
  }
4535
- function $t(e) {
4540
+ function kt(e) {
4536
4541
  let t, r = (
4537
4542
  /*getGamesTotal*/
4538
4543
  e[18](
@@ -4542,7 +4547,7 @@ function $t(e) {
4542
4547
  ), n;
4543
4548
  return {
4544
4549
  c() {
4545
- t = S("span"), n = pe(r), E(t, "class", "CategoryButtonCount");
4550
+ t = S("span"), n = me(r), C(t, "class", "CategoryButtonCount");
4546
4551
  },
4547
4552
  m(i, o) {
4548
4553
  B(i, t, o), H(t, n);
@@ -4553,26 +4558,26 @@ function $t(e) {
4553
4558
  i[18](
4554
4559
  /*vendor*/
4555
4560
  i[43]?.games.total
4556
- ) + "") && nt(n, r);
4561
+ ) + "") && it(n, r);
4557
4562
  },
4558
4563
  d(i) {
4559
4564
  i && I(t);
4560
4565
  }
4561
4566
  };
4562
4567
  }
4563
- function kt(e, t) {
4568
+ function Gt(e, t) {
4564
4569
  let r, n, i, o, s, a, l, u = (
4565
4570
  /*showvendoricon*/
4566
- t[1] !== "false" && Lt(t)
4571
+ t[1] !== "false" && Nt(t)
4567
4572
  ), h = (
4568
4573
  /*showvendoricon*/
4569
4574
  t[1] == "true" && /*showvendorgames*/
4570
4575
  t[3] !== "false" && /*showvendorname*/
4571
4576
  t[2] == "false" && /*vendor*/
4572
- t[43]?.games?.total && Ut(t)
4577
+ t[43]?.games?.total && Dt(t)
4573
4578
  ), c = (
4574
4579
  /*showvendorname*/
4575
- t[2] !== "false" && Dt(t)
4580
+ t[2] !== "false" && $t(t)
4576
4581
  );
4577
4582
  function f(...m) {
4578
4583
  return (
@@ -4590,7 +4595,7 @@ function kt(e, t) {
4590
4595
  key: e,
4591
4596
  first: null,
4592
4597
  c() {
4593
- r = S("li"), u && u.c(), n = G(), h && h.c(), i = G(), c && c.c(), o = G(), E(r, "class", s = "CarouselItem " + (String(
4598
+ r = S("li"), u && u.c(), n = G(), h && h.c(), i = G(), c && c.c(), o = G(), C(r, "class", s = "CarouselItem " + (String(
4594
4599
  /*activevendor*/
4595
4600
  t[0]
4596
4601
  ) == String(
@@ -4600,9 +4605,9 @@ function kt(e, t) {
4600
4605
  },
4601
4606
  m(m, p) {
4602
4607
  B(m, r, p), u && u.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (l = [
4603
- J(r, "click", f),
4604
- J(r, "keydown", function() {
4605
- Se(
4608
+ K(r, "click", f),
4609
+ K(r, "keydown", function() {
4610
+ Te(
4606
4611
  /*onCarouselItemKeydown*/
4607
4612
  t[16](
4608
4613
  /*vendor*/
@@ -4621,33 +4626,33 @@ function kt(e, t) {
4621
4626
  },
4622
4627
  p(m, p) {
4623
4628
  t = m, /*showvendoricon*/
4624
- t[1] !== "false" ? u ? u.p(t, p) : (u = Lt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
4629
+ t[1] !== "false" ? u ? u.p(t, p) : (u = Nt(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
4625
4630
  t[1] == "true" && /*showvendorgames*/
4626
4631
  t[3] !== "false" && /*showvendorname*/
4627
4632
  t[2] == "false" && /*vendor*/
4628
- t[43]?.games?.total ? h ? h.p(t, p) : (h = Ut(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
4629
- t[2] !== "false" ? c ? c.p(t, p) : (c = Dt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), p[0] & /*activevendor, vendors*/
4633
+ t[43]?.games?.total ? h ? h.p(t, p) : (h = Dt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
4634
+ t[2] !== "false" ? c ? c.p(t, p) : (c = $t(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), p[0] & /*activevendor, vendors*/
4630
4635
  65 && s !== (s = "CarouselItem " + (String(
4631
4636
  /*activevendor*/
4632
4637
  t[0]
4633
4638
  ) == String(
4634
4639
  /*vendor*/
4635
4640
  t[43].id
4636
- ) ? "active" : "") + " SecondaryMenu") && E(r, "class", s);
4641
+ ) ? "active" : "") + " SecondaryMenu") && C(r, "class", s);
4637
4642
  },
4638
4643
  d(m) {
4639
- m && I(r), u && u.d(), h && h.d(), c && c.d(), a = !1, X(l);
4644
+ m && I(r), u && u.d(), h && h.d(), c && c.d(), a = !1, z(l);
4640
4645
  }
4641
4646
  };
4642
4647
  }
4643
- function go(e) {
4648
+ function vo(e) {
4644
4649
  let t;
4645
4650
  function r(o, s) {
4646
4651
  return (
4647
4652
  /*isLoading*/
4648
- o[5] ? po : (
4653
+ o[5] ? mo : (
4649
4654
  /*hasErrors*/
4650
- o[7] ? fo : co
4655
+ o[7] ? po : fo
4651
4656
  )
4652
4657
  );
4653
4658
  }
@@ -4669,25 +4674,25 @@ function go(e) {
4669
4674
  }
4670
4675
  };
4671
4676
  }
4672
- function vo(e, t, r) {
4673
- io({ withLocale: "en", translations: {} });
4674
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: m = "0" } = t, { mbsource: p } = t, b = window.navigator.userAgent, T = Pt(b) !== "PC", L = !0, P, A = [], O = !1, C, N, g;
4677
+ function yo(e, t, r) {
4678
+ oo({ withLocale: "en", translations: {} });
4679
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: m = "0" } = t, { mbsource: p } = t, b = window.navigator.userAgent, T = Ot(b) !== "PC", L = !0, P, A = [], O = !1, w, N, g;
4675
4680
  const $ = () => {
4676
4681
  fetch(u).then((x) => x.json()).then((x) => {
4677
4682
  Object.keys(x).forEach((U) => {
4678
- oo(U, x[U]);
4683
+ so(U, x[U]);
4679
4684
  });
4680
4685
  }).catch((x) => {
4681
4686
  console.log(x);
4682
4687
  });
4683
4688
  }, k = () => {
4684
- so(o);
4685
- }, Z = () => (n || (P = "Endpoint is missing! Please provide a valid endpointURL.", r(7, O = !0), r(5, L = !1), console.error(P)), (!o || o.length < 2) && (P = "Language is missing! Please provide a valid language (alpha2code)", r(7, O = !0), r(5, L = !1), console.error(P)), O), xr = () => {
4686
- if (!Z()) {
4689
+ ao(o);
4690
+ }, Q = () => (n || (P = "Endpoint is missing! Please provide a valid endpointURL.", r(7, O = !0), r(5, L = !1), console.error(P)), (!o || o.length < 2) && (P = "Language is missing! Please provide a valid language (alpha2code)", r(7, O = !0), r(5, L = !1), console.error(P)), O), Er = () => {
4691
+ if (!Q()) {
4687
4692
  let d = new URL(`${n}/v1/casino/vendors`);
4688
- d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", Pt(b)), fetch(d).then((x) => x.json()).then(
4693
+ d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", Ot(b)), fetch(d).then((x) => x.json()).then(
4689
4694
  (x) => {
4690
- let U = x.items.filter((Me) => Me.games.total > 0);
4695
+ let U = x.items.filter((Le) => Le.games.total > 0);
4691
4696
  r(6, A = []), r(6, A = A.concat(U)), r(5, L = !1);
4692
4697
  },
4693
4698
  (x) => {
@@ -4698,16 +4703,16 @@ function vo(e, t, r) {
4698
4703
  });
4699
4704
  }
4700
4705
  };
4701
- Gr(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4706
+ Fr(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4702
4707
  () => {
4703
- g && g.addEventListener("scroll", Oe);
4708
+ g && g.addEventListener("scroll", Me);
4704
4709
  },
4705
4710
  500
4706
4711
  ), () => {
4707
- N.removeEventListener("scroll", Oe);
4712
+ N.removeEventListener("scroll", Me);
4708
4713
  }));
4709
- let Pe = (d, x) => {
4710
- Oe(), r(0, m = d.id), window.postMessage(
4714
+ let Oe = (d, x) => {
4715
+ Me(), r(0, m = d.id), window.postMessage(
4711
4716
  {
4712
4717
  type: l,
4713
4718
  itemId: d.id,
@@ -4719,7 +4724,7 @@ function vo(e, t, r) {
4719
4724
  },
4720
4725
  window.location.href
4721
4726
  );
4722
- }, st = () => {
4727
+ }, at = () => {
4723
4728
  const d = g.scrollLeft;
4724
4729
  if (d > 0) {
4725
4730
  const x = Math.min(250, d);
@@ -4728,82 +4733,82 @@ function vo(e, t, r) {
4728
4733
  behavior: "smooth"
4729
4734
  });
4730
4735
  }
4731
- }, at = () => {
4736
+ }, lt = () => {
4732
4737
  const d = g.scrollLeft, x = g.scrollWidth, U = g.clientWidth;
4733
4738
  if (d + U < x) {
4734
- const Me = x - (d + U), Or = Math.min(250, Me);
4735
- g.scrollBy({ left: Or, behavior: "smooth" });
4739
+ const Le = x - (d + U), Mr = Math.min(250, Le);
4740
+ g.scrollBy({ left: Mr, behavior: "smooth" });
4736
4741
  }
4737
4742
  };
4738
- const Oe = () => {
4743
+ const Me = () => {
4739
4744
  const d = N.querySelectorAll(".DropDown");
4740
4745
  document.activeElement.blur(), g.classList.add("isScrolling");
4741
4746
  for (let x = 0; x < d.length; x++)
4742
4747
  d[x].style.transform = "translateX(-" + g.scrollLeft + "px)";
4743
4748
  g.classList.remove("isScrolling");
4744
- }, Er = (d) => {
4745
- (d.key === "Enter" || d.key === " ") && (at(), d.preventDefault());
4746
4749
  }, wr = (d) => {
4747
- (d.key === "Enter" || d.key === " ") && (st(), d.preventDefault());
4748
- }, Cr = (d, x) => (U) => {
4749
- (U.key === "Enter" || U.key === " ") && (Pe(d, x), U.preventDefault());
4750
- }, Sr = () => {
4750
+ (d.key === "Enter" || d.key === " ") && (lt(), d.preventDefault());
4751
+ }, Cr = (d) => {
4752
+ (d.key === "Enter" || d.key === " ") && (at(), d.preventDefault());
4753
+ }, Sr = (d, x) => (U) => {
4754
+ (U.key === "Enter" || U.key === " ") && (Oe(d, x), U.preventDefault());
4755
+ }, Tr = () => {
4751
4756
  if (T && c === "true" && h === "false")
4752
4757
  return "MobileCategoryButton";
4753
- }, Tr = (d) => d > 1e3 ? "999+" : d, Hr = (d, x, U) => {
4754
- Pe(d, x), U.preventDefault();
4758
+ }, Hr = (d) => d > 1e3 ? "999+" : d, Ar = (d, x, U) => {
4759
+ Oe(d, x), U.preventDefault();
4755
4760
  };
4756
- function Ar(d) {
4757
- K[d ? "unshift" : "push"](() => {
4761
+ function Ir(d) {
4762
+ ee[d ? "unshift" : "push"](() => {
4758
4763
  N = d, r(8, N);
4759
4764
  });
4760
4765
  }
4761
- function Ir(d) {
4762
- K[d ? "unshift" : "push"](() => {
4766
+ function Br(d) {
4767
+ ee[d ? "unshift" : "push"](() => {
4763
4768
  g = d, r(9, g);
4764
4769
  });
4765
4770
  }
4766
- function Br(d) {
4767
- K[d ? "unshift" : "push"](() => {
4768
- C = d, r(4, C);
4771
+ function Pr(d) {
4772
+ ee[d ? "unshift" : "push"](() => {
4773
+ w = d, r(4, w);
4769
4774
  });
4770
4775
  }
4771
- function Pr(d) {
4772
- K[d ? "unshift" : "push"](() => {
4773
- C = d, r(4, C);
4776
+ function Or(d) {
4777
+ ee[d ? "unshift" : "push"](() => {
4778
+ w = d, r(4, w);
4774
4779
  });
4775
4780
  }
4776
4781
  return e.$$set = (d) => {
4777
4782
  "endpoint" in d && r(19, n = d.endpoint), "datasource" in d && r(20, i = d.datasource), "lang" in d && r(21, o = d.lang), "clientstyling" in d && r(22, s = d.clientstyling), "clientstylingurl" in d && r(23, a = d.clientstylingurl), "actionevent" in d && r(24, l = d.actionevent), "translationurl" in d && r(25, u = d.translationurl), "showvendoricon" in d && r(1, h = d.showvendoricon), "showvendorname" in d && r(2, c = d.showvendorname), "showvendorgames" in d && r(3, f = d.showvendorgames), "activevendor" in d && r(0, m = d.activevendor), "mbsource" in d && r(26, p = d.mbsource);
4778
4783
  }, e.$$.update = () => {
4779
4784
  e.$$.dirty[0] & /*endpoint, lang*/
4780
- 2621440 && n && o && xr(), e.$$.dirty[0] & /*translationurl*/
4785
+ 2621440 && n && o && Er(), e.$$.dirty[0] & /*translationurl*/
4781
4786
  33554432 && u && $(), e.$$.dirty[0] & /*activevendor*/
4782
4787
  1, e.$$.dirty[0] & /*lang*/
4783
4788
  2097152 && o && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4784
- 4194320 && s && C && ao(C, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4785
- 8388624 && a && C && lo(C, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4786
- 67108880 && p && C && uo(C, `${p}.Style`);
4789
+ 4194320 && s && w && lo(w, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4790
+ 8388624 && a && w && uo(w, a), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4791
+ 67108880 && p && w && ho(w, `${p}.Style`);
4787
4792
  }, [
4788
4793
  m,
4789
4794
  h,
4790
4795
  c,
4791
4796
  f,
4792
- C,
4797
+ w,
4793
4798
  L,
4794
4799
  A,
4795
4800
  O,
4796
4801
  N,
4797
4802
  g,
4798
4803
  T,
4799
- Pe,
4800
- st,
4804
+ Oe,
4801
4805
  at,
4802
- Er,
4806
+ lt,
4803
4807
  wr,
4804
4808
  Cr,
4805
4809
  Sr,
4806
4810
  Tr,
4811
+ Hr,
4807
4812
  n,
4808
4813
  i,
4809
4814
  o,
@@ -4812,21 +4817,21 @@ function vo(e, t, r) {
4812
4817
  l,
4813
4818
  u,
4814
4819
  p,
4815
- Hr,
4816
4820
  Ar,
4817
4821
  Ir,
4818
4822
  Br,
4819
- Pr
4823
+ Pr,
4824
+ Or
4820
4825
  ];
4821
4826
  }
4822
- class yo extends en {
4827
+ class _o extends tn {
4823
4828
  constructor(t) {
4824
- super(), Jr(
4829
+ super(), Kr(
4825
4830
  this,
4826
4831
  t,
4832
+ yo,
4827
4833
  vo,
4828
- go,
4829
- Ft,
4834
+ jt,
4830
4835
  {
4831
4836
  endpoint: 19,
4832
4837
  datasource: 20,
@@ -4841,7 +4846,7 @@ class yo extends en {
4841
4846
  activevendor: 0,
4842
4847
  mbsource: 26
4843
4848
  },
4844
- ho,
4849
+ co,
4845
4850
  [-1, -1]
4846
4851
  );
4847
4852
  }
@@ -4918,7 +4923,7 @@ class yo extends en {
4918
4923
  this.$$set({ mbsource: t }), R();
4919
4924
  }
4920
4925
  }
4921
- Kr(yo, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
4926
+ en(_o, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {}, mbsource: {} }, [], [], !0);
4922
4927
  export {
4923
- yo as C
4928
+ _o as C
4924
4929
  };