@everymatrix/casino-collections-providers 1.59.0 → 1.59.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ let ce;
19
19
  function ve(e, t) {
20
20
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
21
21
  }
22
- function Lr(e) {
22
+ function Ir(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function jt(e, ...t) {
@@ -31,20 +31,20 @@ function jt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Ir(e, t, r) {
34
+ function Nr(e, t, r) {
35
35
  e.$$.on_destroy.push(jt(t, r));
36
36
  }
37
37
  function H(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Nr(e, t, r) {
41
- const n = Mr(e);
40
+ function Mr(e, t, r) {
41
+ const n = Rr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = C("style");
44
- i.id = t, i.textContent = r, Rr(n, i);
44
+ i.id = t, i.textContent = r, $r(n, i);
45
45
  }
46
46
  }
47
- function Mr(e) {
47
+ function Rr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,14 +54,14 @@ function Mr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Rr(e, t) {
57
+ function $r(e, t) {
58
58
  return H(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function R(e, t, r) {
64
+ function $(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
67
  function I(e) {
@@ -83,7 +83,7 @@ function k() {
83
83
  function ye(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function $r(e) {
86
+ function Gr(e) {
87
87
  return function(t) {
88
88
  return t.stopPropagation(), e.call(this, t);
89
89
  };
@@ -91,7 +91,7 @@ function $r(e) {
91
91
  function E(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function Gr(e) {
94
+ function Ur(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
97
  function tt(e, t) {
@@ -101,7 +101,7 @@ function tt(e, t) {
101
101
  function Oe(e, t, r, n) {
102
102
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
103
103
  }
104
- function Ur(e) {
104
+ function Dr(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -114,20 +114,20 @@ let ae;
114
114
  function se(e) {
115
115
  ae = e;
116
116
  }
117
- function Dr() {
117
+ function Fr() {
118
118
  if (!ae)
119
119
  throw new Error("Function called outside component initialization");
120
120
  return ae;
121
121
  }
122
- function Fr(e) {
123
- Dr().$$.on_mount.push(e);
122
+ function jr(e) {
123
+ Fr().$$.on_mount.push(e);
124
124
  }
125
125
  const Z = [], _e = [];
126
126
  let Q = [];
127
- const ct = [], jr = /* @__PURE__ */ Promise.resolve();
127
+ const ct = [], kr = /* @__PURE__ */ Promise.resolve();
128
128
  let Ue = !1;
129
- function kr() {
130
- Ue || (Ue = !0, jr.then(O));
129
+ function Vr() {
130
+ Ue || (Ue = !0, kr.then(O));
131
131
  }
132
132
  function De(e) {
133
133
  Q.push(e);
@@ -142,7 +142,7 @@ function O() {
142
142
  try {
143
143
  for (; W < Z.length; ) {
144
144
  const t = Z[W];
145
- W++, se(t), Vr(t.$$);
145
+ W++, se(t), Xr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw Z.length = 0, W = 0, t;
@@ -159,39 +159,39 @@ function O() {
159
159
  ct.pop()();
160
160
  Ue = !1, Le.clear(), se(e);
161
161
  }
162
- function Vr(e) {
162
+ function Xr(e) {
163
163
  if (e.fragment !== null) {
164
164
  e.update(), te(e.before_update);
165
165
  const t = e.dirty;
166
166
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
167
167
  }
168
168
  }
169
- function Xr(e) {
169
+ function Wr(e) {
170
170
  const t = [], r = [];
171
171
  Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
172
172
  }
173
- const Wr = /* @__PURE__ */ new Set();
174
- function zr(e, t) {
175
- e && e.i && (Wr.delete(e), e.i(t));
173
+ const zr = /* @__PURE__ */ new Set();
174
+ function Zr(e, t) {
175
+ e && e.i && (zr.delete(e), e.i(t));
176
176
  }
177
177
  function xe(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function Zr(e, t, r) {
180
+ function Qr(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
182
  n && n.m(t, r), De(() => {
183
183
  const o = e.$$.on_mount.map(Dt).filter(et);
184
184
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
185
185
  }), i.forEach(De);
186
186
  }
187
- function Qr(e, t) {
187
+ function qr(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (Xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (Wr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
- function qr(e, t) {
192
- e.$$.dirty[0] === -1 && (Z.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
+ function Jr(e, t) {
192
+ e.$$.dirty[0] === -1 && (Z.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
194
+ function Yr(e, t, r, n, i, o, s = null, a = [-1]) {
195
195
  const h = ae;
196
196
  se(e);
197
197
  const u = e.$$ = {
@@ -218,15 +218,15 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  s && s(u.root);
219
219
  let l = !1;
220
220
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
221
- const p = d.length ? d[0] : c;
222
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && qr(e, f)), c;
221
+ const m = d.length ? d[0] : c;
222
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Jr(e, f)), c;
223
223
  }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const f = Gr(t.target);
225
+ const f = Ur(t.target);
226
226
  u.fragment && u.fragment.l(f), f.forEach(I);
227
227
  } else
228
228
  u.fragment && u.fragment.c();
229
- t.intro && zr(e.$$.fragment), Zr(e, t.target, t.anchor), O();
229
+ t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), O();
230
230
  }
231
231
  se(h);
232
232
  }
@@ -280,7 +280,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
280
280
  * @param {HTMLElement} [anchor]
281
281
  */
282
282
  m: function(h, u) {
283
- R(h, o, u);
283
+ $(h, o, u);
284
284
  },
285
285
  d: function(h) {
286
286
  h && I(o);
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = Ur(this);
293
+ const t = {}, r = Dr(this);
294
294
  for (const i of this.$$s)
295
295
  i in r && (t[i] = [e(i)]);
296
296
  for (const i of this.attributes) {
@@ -377,7 +377,7 @@ function pe(e, t, r, n) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function Yr(e, t, r, n, i, o) {
380
+ function Kr(e, t, r, n, i, o) {
381
381
  let s = class extends Vt {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
@@ -406,7 +406,7 @@ function Yr(e, t, r, n, i, o) {
406
406
  }), e.element = /** @type {any} */
407
407
  s, s;
408
408
  }
409
- class Kr {
409
+ class en {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class Kr {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- Qr(this, 1), this.$destroy = A;
428
+ qr(this, 1), this.$destroy = A;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -447,13 +447,13 @@ class Kr {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const en = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
453
+ const tn = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
455
455
  const z = [];
456
- function tn(e, t) {
456
+ function rn(e, t) {
457
457
  return {
458
458
  subscribe: Te(e, t).subscribe
459
459
  };
@@ -489,7 +489,7 @@ function re(e, t, r) {
489
489
  if (!i.every(Boolean))
490
490
  throw new Error("derived() expects stores as input, got a falsy value");
491
491
  const o = t.length < 2;
492
- return tn(r, (s, a) => {
492
+ return rn(r, (s, a) => {
493
493
  let h = !1;
494
494
  const u = [];
495
495
  let l = 0, f = A;
@@ -497,11 +497,11 @@ function re(e, t, r) {
497
497
  if (l)
498
498
  return;
499
499
  f();
500
- const p = t(n ? u[0] : u, s, a);
501
- o ? s(p) : f = et(p) ? p : A;
500
+ const m = t(n ? u[0] : u, s, a);
501
+ o ? s(m) : f = et(m) ? m : A;
502
502
  }, d = i.map(
503
- (p, b) => jt(
504
- p,
503
+ (m, b) => jt(
504
+ m,
505
505
  (g) => {
506
506
  u[b] = g, l &= ~(1 << b), h && c();
507
507
  },
@@ -515,47 +515,47 @@ function re(e, t, r) {
515
515
  };
516
516
  });
517
517
  }
518
- function rn(e) {
518
+ function nn(e) {
519
519
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
520
  }
521
- var nn = function(t) {
522
- return on(t) && !sn(t);
521
+ var on = function(t) {
522
+ return sn(t) && !an(t);
523
523
  };
524
- function on(e) {
524
+ function sn(e) {
525
525
  return !!e && typeof e == "object";
526
526
  }
527
- function sn(e) {
527
+ function an(e) {
528
528
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
530
- }
531
- var an = typeof Symbol == "function" && Symbol.for, ln = an ? Symbol.for("react.element") : 60103;
532
- function un(e) {
533
- return e.$$typeof === ln;
529
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
534
530
  }
531
+ var ln = typeof Symbol == "function" && Symbol.for, un = ln ? Symbol.for("react.element") : 60103;
535
532
  function hn(e) {
533
+ return e.$$typeof === un;
534
+ }
535
+ function cn(e) {
536
536
  return Array.isArray(e) ? [] : {};
537
537
  }
538
538
  function le(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? J(hn(e), e, t) : e;
539
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(cn(e), e, t) : e;
540
540
  }
541
- function cn(e, t, r) {
541
+ function fn(e, t, r) {
542
542
  return e.concat(t).map(function(n) {
543
543
  return le(n, r);
544
544
  });
545
545
  }
546
- function fn(e, t) {
546
+ function dn(e, t) {
547
547
  if (!t.customMerge)
548
548
  return J;
549
549
  var r = t.customMerge(e);
550
550
  return typeof r == "function" ? r : J;
551
551
  }
552
- function dn(e) {
552
+ function pn(e) {
553
553
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
554
  return Object.propertyIsEnumerable.call(e, t);
555
555
  }) : [];
556
556
  }
557
557
  function ft(e) {
558
- return Object.keys(e).concat(dn(e));
558
+ return Object.keys(e).concat(pn(e));
559
559
  }
560
560
  function Xt(e, t) {
561
561
  try {
@@ -564,21 +564,21 @@ function Xt(e, t) {
564
564
  return !1;
565
565
  }
566
566
  }
567
- function pn(e, t) {
567
+ function mn(e, t) {
568
568
  return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
569
  }
570
- function mn(e, t, r) {
570
+ function bn(e, t, r) {
571
571
  var n = {};
572
572
  return r.isMergeableObject(e) && ft(e).forEach(function(i) {
573
573
  n[i] = le(e[i], r);
574
574
  }), ft(t).forEach(function(i) {
575
- pn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
575
+ mn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
576
576
  }), n;
577
577
  }
578
578
  function J(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = le;
579
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = le;
580
580
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
581
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : le(t, r);
581
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : le(t, r);
582
582
  }
583
583
  J.all = function(t, r) {
584
584
  if (!Array.isArray(t))
@@ -587,8 +587,8 @@ J.all = function(t, r) {
587
587
  return J(n, i, r);
588
588
  }, {});
589
589
  };
590
- var bn = J, gn = bn;
591
- const vn = /* @__PURE__ */ rn(gn);
590
+ var gn = J, vn = gn;
591
+ const yn = /* @__PURE__ */ nn(vn);
592
592
  /*! *****************************************************************************
593
593
  Copyright (c) Microsoft Corporation.
594
594
 
@@ -630,7 +630,7 @@ var _ = function() {
630
630
  return t;
631
631
  }, _.apply(this, arguments);
632
632
  };
633
- function yn(e, t) {
633
+ function _n(e, t) {
634
634
  var r = {};
635
635
  for (var n in e)
636
636
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -678,17 +678,17 @@ function q(e, t, r) {
678
678
  return e.concat(o || t);
679
679
  }
680
680
  function Ie(e, t) {
681
- var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : En;
681
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : Sn;
682
682
  return i(e, {
683
683
  cache: r,
684
684
  serializer: n
685
685
  });
686
686
  }
687
- function _n(e) {
687
+ function xn(e) {
688
688
  return e == null || typeof e == "number" || typeof e == "boolean";
689
689
  }
690
- function xn(e, t, r, n) {
691
- var i = _n(n) ? n : r(n), o = t.get(i);
690
+ function En(e, t, r, n) {
691
+ var i = xn(n) ? n : r(n), o = t.get(i);
692
692
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
693
693
  }
694
694
  function Wt(e, t, r) {
@@ -698,16 +698,16 @@ function Wt(e, t, r) {
698
698
  function zt(e, t, r, n, i) {
699
699
  return r.bind(t, e, n, i);
700
700
  }
701
- function En(e, t) {
702
- var r = e.length === 1 ? xn : Wt;
701
+ function Sn(e, t) {
702
+ var r = e.length === 1 ? En : Wt;
703
703
  return zt(e, this, r, t.cache.create(), t.serializer);
704
704
  }
705
- function Sn(e, t) {
705
+ function wn(e, t) {
706
706
  return zt(e, this, Wt, t.cache.create(), t.serializer);
707
707
  }
708
- var wn = function() {
708
+ var Tn = function() {
709
709
  return JSON.stringify(arguments);
710
- }, Tn = (
710
+ }, Hn = (
711
711
  /** @class */
712
712
  function() {
713
713
  function e() {
@@ -719,12 +719,12 @@ var wn = function() {
719
719
  this.cache[t] = r;
720
720
  }, e;
721
721
  }()
722
- ), Hn = {
722
+ ), Cn = {
723
723
  create: function() {
724
- return new Tn();
724
+ return new Hn();
725
725
  }
726
726
  }, Ne = {
727
- variadic: Sn
727
+ variadic: wn
728
728
  }, v;
729
729
  (function(e) {
730
730
  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";
@@ -740,7 +740,7 @@ var Y;
740
740
  function dt(e) {
741
741
  return e.type === w.literal;
742
742
  }
743
- function Cn(e) {
743
+ function Pn(e) {
744
744
  return e.type === w.argument;
745
745
  }
746
746
  function Zt(e) {
@@ -758,7 +758,7 @@ function Jt(e) {
758
758
  function Yt(e) {
759
759
  return e.type === w.plural;
760
760
  }
761
- function Pn(e) {
761
+ function Bn(e) {
762
762
  return e.type === w.pound;
763
763
  }
764
764
  function Kt(e) {
@@ -770,10 +770,10 @@ function er(e) {
770
770
  function Ve(e) {
771
771
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
772
772
  }
773
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
774
- function An(e) {
773
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
774
+ function On(e) {
775
775
  var t = {};
776
- return e.replace(Bn, function(r) {
776
+ return e.replace(An, function(r) {
777
777
  var n = r.length;
778
778
  switch (r[0]) {
779
779
  case "G":
@@ -862,11 +862,11 @@ function An(e) {
862
862
  return "";
863
863
  }), t;
864
864
  }
865
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
- function Ln(e) {
865
+ var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
+ function In(e) {
867
867
  if (e.length === 0)
868
868
  throw new Error("Number skeleton cannot be empty");
869
- for (var t = e.split(On).filter(function(c) {
869
+ for (var t = e.split(Ln).filter(function(c) {
870
870
  return c.length > 0;
871
871
  }), r = [], n = 0, i = t; n < i.length; n++) {
872
872
  var o = i[n], s = o.split("/");
@@ -881,10 +881,10 @@ function Ln(e) {
881
881
  }
882
882
  return r;
883
883
  }
884
- function In(e) {
884
+ function Nn(e) {
885
885
  return e.replace(/^(.*?)-/, "");
886
886
  }
887
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
887
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
888
888
  function mt(e) {
889
889
  var t = {};
890
890
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
@@ -931,7 +931,7 @@ function ir(e) {
931
931
  };
932
932
  }
933
933
  }
934
- function Mn(e) {
934
+ function Rn(e) {
935
935
  var t;
936
936
  if (e[0] === "E" && e[1] === "E" ? (t = {
937
937
  notation: "engineering"
@@ -949,7 +949,7 @@ function bt(e) {
949
949
  var t = {}, r = ir(e);
950
950
  return r || t;
951
951
  }
952
- function Rn(e) {
952
+ function $n(e) {
953
953
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
954
954
  var i = n[r];
955
955
  switch (i.stem) {
@@ -973,7 +973,7 @@ function Rn(e) {
973
973
  continue;
974
974
  case "measure-unit":
975
975
  case "unit":
976
- t.style = "unit", t.unit = In(i.options[0]);
976
+ t.style = "unit", t.unit = Nn(i.options[0]);
977
977
  continue;
978
978
  case "compact-short":
979
979
  case "K":
@@ -1035,7 +1035,7 @@ function Rn(e) {
1035
1035
  case "integer-width":
1036
1036
  if (i.options.length > 1)
1037
1037
  throw new RangeError("integer-width stems only accept a single optional option");
1038
- i.options[0].replace(Nn, function(h, u, l, f, c, d) {
1038
+ i.options[0].replace(Mn, function(h, u, l, f, c, d) {
1039
1039
  if (u)
1040
1040
  t.minimumIntegerDigits = l.length;
1041
1041
  else {
@@ -1068,7 +1068,7 @@ function Rn(e) {
1068
1068
  }
1069
1069
  var s = ir(i.stem);
1070
1070
  s && (t = _(_({}, t), s));
1071
- var a = Mn(i.stem);
1071
+ var a = Rn(i.stem);
1072
1072
  a && (t = _(_({}, t), a));
1073
1073
  }
1074
1074
  return t;
@@ -2488,13 +2488,13 @@ var fe = {
2488
2488
  "h"
2489
2489
  ]
2490
2490
  };
2491
- function $n(e, t) {
2491
+ function Gn(e, t) {
2492
2492
  for (var r = "", n = 0; n < e.length; n++) {
2493
2493
  var i = e.charAt(n);
2494
2494
  if (i === "j") {
2495
2495
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2496
2496
  o++, n++;
2497
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
2497
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Un(t);
2498
2498
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2499
2499
  r += h;
2500
2500
  for (; s-- > 0; )
@@ -2504,7 +2504,7 @@ function $n(e, t) {
2504
2504
  }
2505
2505
  return r;
2506
2506
  }
2507
- function Gn(e) {
2507
+ function Un(e) {
2508
2508
  var t = e.hourCycle;
2509
2509
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2510
2510
  e.hourCycles && // @ts-ignore
@@ -2526,20 +2526,20 @@ function Gn(e) {
2526
2526
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2527
2527
  return i[0];
2528
2528
  }
2529
- var Me, Un = new RegExp("^".concat(tr.source, "*")), Dn = new RegExp("".concat(tr.source, "*$"));
2529
+ var Me, Dn = new RegExp("^".concat(tr.source, "*")), Fn = new RegExp("".concat(tr.source, "*$"));
2530
2530
  function y(e, t) {
2531
2531
  return { start: e, end: t };
2532
2532
  }
2533
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
2533
+ var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
2534
2534
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2535
2535
  }, Xe = !0;
2536
2536
  try {
2537
- var Qn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
- Xe = ((Me = Qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2537
+ var qn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
+ Xe = ((Me = qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2539
2539
  } catch {
2540
2540
  Xe = !1;
2541
2541
  }
2542
- var gt = Fn ? (
2542
+ var gt = jn ? (
2543
2543
  // Native
2544
2544
  function(t, r, n) {
2545
2545
  return t.startsWith(r, n);
@@ -2549,7 +2549,7 @@ var gt = Fn ? (
2549
2549
  function(t, r, n) {
2550
2550
  return t.slice(n, n + r.length) === r;
2551
2551
  }
2552
- ), We = jn ? String.fromCodePoint : (
2552
+ ), We = kn ? String.fromCodePoint : (
2553
2553
  // IE11
2554
2554
  function() {
2555
2555
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2563,7 +2563,7 @@ var gt = Fn ? (
2563
2563
  }
2564
2564
  ), vt = (
2565
2565
  // native
2566
- kn ? Object.fromEntries : (
2566
+ Vn ? Object.fromEntries : (
2567
2567
  // Ponyfill
2568
2568
  function(t) {
2569
2569
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2573,7 +2573,7 @@ var gt = Fn ? (
2573
2573
  return r;
2574
2574
  }
2575
2575
  )
2576
- ), or = Vn ? (
2576
+ ), or = Xn ? (
2577
2577
  // Native
2578
2578
  function(t, r) {
2579
2579
  return t.codePointAt(r);
@@ -2587,7 +2587,7 @@ var gt = Fn ? (
2587
2587
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2588
2588
  }
2589
2589
  }
2590
- ), qn = Xn ? (
2590
+ ), Jn = Wn ? (
2591
2591
  // Native
2592
2592
  function(t) {
2593
2593
  return t.trimStart();
@@ -2595,9 +2595,9 @@ var gt = Fn ? (
2595
2595
  ) : (
2596
2596
  // Ponyfill
2597
2597
  function(t) {
2598
- return t.replace(Un, "");
2598
+ return t.replace(Dn, "");
2599
2599
  }
2600
- ), Jn = Wn ? (
2600
+ ), Yn = zn ? (
2601
2601
  // Native
2602
2602
  function(t) {
2603
2603
  return t.trimEnd();
@@ -2605,7 +2605,7 @@ var gt = Fn ? (
2605
2605
  ) : (
2606
2606
  // Ponyfill
2607
2607
  function(t) {
2608
- return t.replace(Dn, "");
2608
+ return t.replace(Fn, "");
2609
2609
  }
2610
2610
  );
2611
2611
  function sr(e, t) {
@@ -2624,13 +2624,13 @@ if (Xe) {
2624
2624
  ze = function(t, r) {
2625
2625
  for (var n = []; ; ) {
2626
2626
  var i = or(t, r);
2627
- if (i === void 0 || ar(i) || ti(i))
2627
+ if (i === void 0 || ar(i) || ri(i))
2628
2628
  break;
2629
2629
  n.push(i), r += i >= 65536 ? 2 : 1;
2630
2630
  }
2631
2631
  return We.apply(void 0, n);
2632
2632
  };
2633
- var Yn = (
2633
+ var Kn = (
2634
2634
  /** @class */
2635
2635
  function() {
2636
2636
  function e(t, r) {
@@ -2712,7 +2712,7 @@ var Yn = (
2712
2712
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2713
2713
  }, e.prototype.parseTagName = function() {
2714
2714
  var t = this.offset();
2715
- for (this.bump(); !this.isEOF() && ei(this.char()); )
2715
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
2716
2716
  this.bump();
2717
2717
  return this.message.slice(t, this.offset());
2718
2718
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2741,7 +2741,7 @@ var Yn = (
2741
2741
  };
2742
2742
  }, e.prototype.tryParseLeftAngleBracket = function() {
2743
2743
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2744
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2744
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
2745
2745
  }, e.prototype.tryParseQuote = function(t) {
2746
2746
  if (this.isEOF() || this.char() !== 39)
2747
2747
  return null;
@@ -2828,18 +2828,18 @@ var Yn = (
2828
2828
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2829
2829
  if (f.err)
2830
2830
  return f;
2831
- var c = Jn(f.val);
2831
+ var c = Yn(f.val);
2832
2832
  if (c.length === 0)
2833
2833
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2834
2834
  var d = y(l, this.clonePosition());
2835
2835
  u = { style: c, styleLocation: d };
2836
2836
  }
2837
- var p = this.tryParseArgumentClose(i);
2838
- if (p.err)
2839
- return p;
2837
+ var m = this.tryParseArgumentClose(i);
2838
+ if (m.err)
2839
+ return m;
2840
2840
  var b = y(i, this.clonePosition());
2841
2841
  if (u && gt(u?.style, "::", 0)) {
2842
- var g = qn(u.style.slice(2));
2842
+ var g = Jn(u.style.slice(2));
2843
2843
  if (a === "number") {
2844
2844
  var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2845
2845
  return f.err ? f : {
@@ -2850,12 +2850,12 @@ var Yn = (
2850
2850
  if (g.length === 0)
2851
2851
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2852
2852
  var S = g;
2853
- this.locale && (S = $n(g, this.locale));
2853
+ this.locale && (S = Gn(g, this.locale));
2854
2854
  var c = {
2855
2855
  type: Y.dateTime,
2856
2856
  pattern: S,
2857
2857
  location: u.styleLocation,
2858
- parsedOptions: this.shouldParseSkeletons ? An(S) : {}
2858
+ parsedOptions: this.shouldParseSkeletons ? On(S) : {}
2859
2859
  }, x = a === "date" ? w.date : w.time;
2860
2860
  return {
2861
2861
  val: { type: x, value: n, location: b, style: c },
@@ -2893,9 +2893,9 @@ var Yn = (
2893
2893
  var j = this.tryParsePluralOrSelectOptions(t, a, r, D);
2894
2894
  if (j.err)
2895
2895
  return j;
2896
- var p = this.tryParseArgumentClose(i);
2897
- if (p.err)
2898
- return p;
2896
+ var m = this.tryParseArgumentClose(i);
2897
+ if (m.err)
2898
+ return m;
2899
2899
  var X = y(i, this.clonePosition());
2900
2900
  return a === "select" ? {
2901
2901
  val: {
@@ -2960,7 +2960,7 @@ var Yn = (
2960
2960
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2961
2961
  var n = [];
2962
2962
  try {
2963
- n = Ln(t);
2963
+ n = In(t);
2964
2964
  } catch {
2965
2965
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2966
2966
  }
@@ -2969,7 +2969,7 @@ var Yn = (
2969
2969
  type: Y.number,
2970
2970
  tokens: n,
2971
2971
  location: r,
2972
- parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
2972
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
2973
2973
  },
2974
2974
  err: null
2975
2975
  };
@@ -2991,16 +2991,16 @@ var Yn = (
2991
2991
  var d = this.clonePosition();
2992
2992
  if (!this.bumpIf("{"))
2993
2993
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
2994
- var p = this.parseMessage(t + 1, r, n);
2995
- if (p.err)
2996
- return p;
2994
+ var m = this.parseMessage(t + 1, r, n);
2995
+ if (m.err)
2996
+ return m;
2997
2997
  var b = this.tryParseArgumentClose(d);
2998
2998
  if (b.err)
2999
2999
  return b;
3000
3000
  a.push([
3001
3001
  u,
3002
3002
  {
3003
- value: p.val,
3003
+ value: m.val,
3004
3004
  location: y(d, this.clonePosition())
3005
3005
  }
3006
3006
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3017,7 +3017,7 @@ var Yn = (
3017
3017
  break;
3018
3018
  }
3019
3019
  var h = y(i, this.clonePosition());
3020
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3020
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3021
3021
  }, e.prototype.offset = function() {
3022
3022
  return this.position.offset;
3023
3023
  }, e.prototype.isEOF = function() {
@@ -3086,16 +3086,16 @@ var Yn = (
3086
3086
  function Ze(e) {
3087
3087
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3088
3088
  }
3089
- function Kn(e) {
3089
+ function ei(e) {
3090
3090
  return Ze(e) || e === 47;
3091
3091
  }
3092
- function ei(e) {
3092
+ function ti(e) {
3093
3093
  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;
3094
3094
  }
3095
3095
  function ar(e) {
3096
3096
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3097
3097
  }
3098
- function ti(e) {
3098
+ function ri(e) {
3099
3099
  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;
3100
3100
  }
3101
3101
  function Qe(e) {
@@ -3107,9 +3107,9 @@ function Qe(e) {
3107
3107
  Zt(t) && er(t.style) || (Qt(t) || qt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3108
3108
  });
3109
3109
  }
3110
- function ri(e, t) {
3110
+ function ni(e, t) {
3111
3111
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
- var r = new Yn(e, t).parse();
3112
+ var r = new Kn(e, t).parse();
3113
3113
  if (r.err) {
3114
3114
  var n = SyntaxError(v[r.err.kind]);
3115
3115
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3141,7 +3141,7 @@ var He = (
3141
3141
  }
3142
3142
  return t;
3143
3143
  }(He)
3144
- ), ni = (
3144
+ ), ii = (
3145
3145
  /** @class */
3146
3146
  function(e) {
3147
3147
  U(t, e);
@@ -3150,7 +3150,7 @@ var He = (
3150
3150
  }
3151
3151
  return t;
3152
3152
  }(He)
3153
- ), ii = (
3153
+ ), oi = (
3154
3154
  /** @class */
3155
3155
  function(e) {
3156
3156
  U(t, e);
@@ -3163,13 +3163,13 @@ var He = (
3163
3163
  (function(e) {
3164
3164
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3165
3165
  })(B || (B = {}));
3166
- function oi(e) {
3166
+ function si(e) {
3167
3167
  return e.length < 2 ? e : e.reduce(function(t, r) {
3168
3168
  var n = t[t.length - 1];
3169
3169
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3170
3170
  }, []);
3171
3171
  }
3172
- function si(e) {
3172
+ function ai(e) {
3173
3173
  return typeof e == "function";
3174
3174
  }
3175
3175
  function me(e, t, r, n, i, o, s) {
@@ -3189,7 +3189,7 @@ function me(e, t, r, n, i, o, s) {
3189
3189
  });
3190
3190
  continue;
3191
3191
  }
3192
- if (Pn(l)) {
3192
+ if (Bn(l)) {
3193
3193
  typeof o == "number" && a.push({
3194
3194
  type: B.literal,
3195
3195
  value: r.getNumberFormat(t).format(o)
@@ -3198,9 +3198,9 @@ function me(e, t, r, n, i, o, s) {
3198
3198
  }
3199
3199
  var f = l.value;
3200
3200
  if (!(i && f in i))
3201
- throw new ii(f, s);
3201
+ throw new oi(f, s);
3202
3202
  var c = i[f];
3203
- if (Cn(l)) {
3203
+ if (Pn(l)) {
3204
3204
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3205
3205
  type: typeof c == "string" ? B.literal : B.object,
3206
3206
  value: c
@@ -3232,10 +3232,10 @@ function me(e, t, r, n, i, o, s) {
3232
3232
  continue;
3233
3233
  }
3234
3234
  if (Kt(l)) {
3235
- var p = l.children, b = l.value, g = i[b];
3236
- if (!si(g))
3237
- throw new ni(b, "function", s);
3238
- var S = me(p, t, r, n, i, o), x = g(S.map(function(L) {
3235
+ var m = l.children, b = l.value, g = i[b];
3236
+ if (!ai(g))
3237
+ throw new ii(b, "function", s);
3238
+ var S = me(m, t, r, n, i, o), x = g(S.map(function(L) {
3239
3239
  return L.value;
3240
3240
  }));
3241
3241
  Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
@@ -3268,16 +3268,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3268
3268
  continue;
3269
3269
  }
3270
3270
  }
3271
- return oi(a);
3271
+ return si(a);
3272
3272
  }
3273
- function ai(e, t) {
3273
+ function li(e, t) {
3274
3274
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
3275
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3276
3276
  }, {})) : e;
3277
3277
  }
3278
- function li(e, t) {
3278
+ function ui(e, t) {
3279
3279
  return t ? Object.keys(e).reduce(function(r, n) {
3280
- return r[n] = ai(e[n], t[n]), r;
3280
+ return r[n] = li(e[n], t[n]), r;
3281
3281
  }, _({}, e)) : e;
3282
3282
  }
3283
3283
  function Re(e) {
@@ -3294,7 +3294,7 @@ function Re(e) {
3294
3294
  }
3295
3295
  };
3296
3296
  }
3297
- function ui(e) {
3297
+ function hi(e) {
3298
3298
  return e === void 0 && (e = {
3299
3299
  number: {},
3300
3300
  dateTime: {},
@@ -3326,7 +3326,7 @@ function ui(e) {
3326
3326
  })
3327
3327
  };
3328
3328
  }
3329
- var hi = (
3329
+ var ci = (
3330
3330
  /** @class */
3331
3331
  function() {
3332
3332
  function e(t, r, n, i) {
@@ -3358,13 +3358,13 @@ var hi = (
3358
3358
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3359
3359
  var s = i || {};
3360
3360
  s.formatters;
3361
- var a = yn(s, ["formatters"]);
3361
+ var a = _n(s, ["formatters"]);
3362
3362
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3363
3363
  } else
3364
3364
  this.ast = t;
3365
3365
  if (!Array.isArray(this.ast))
3366
3366
  throw new TypeError("A message must be provided as a String or AST.");
3367
- this.formats = li(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3367
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3368
3368
  }
3369
3369
  return Object.defineProperty(e, "defaultLocale", {
3370
3370
  get: function() {
@@ -3377,7 +3377,7 @@ var hi = (
3377
3377
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3378
3378
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3379
3379
  }
3380
- }, e.__parse = ri, e.formats = {
3380
+ }, e.__parse = ni, e.formats = {
3381
3381
  number: {
3382
3382
  integer: {
3383
3383
  maximumFractionDigits: 0
@@ -3438,7 +3438,7 @@ var hi = (
3438
3438
  }, e;
3439
3439
  }()
3440
3440
  );
3441
- function ci(e, t) {
3441
+ function fi(e, t) {
3442
3442
  if (t == null)
3443
3443
  return;
3444
3444
  if (t in e)
@@ -3459,33 +3459,33 @@ function ci(e, t) {
3459
3459
  n = void 0;
3460
3460
  return n;
3461
3461
  }
3462
- const F = {}, fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3462
+ const F = {}, di = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3463
3463
  if (t == null)
3464
3464
  return;
3465
3465
  if (t in F && e in F[t])
3466
3466
  return F[t][e];
3467
3467
  const r = Ce(t);
3468
3468
  for (let n = 0; n < r.length; n++) {
3469
- const i = r[n], o = pi(i, e);
3469
+ const i = r[n], o = mi(i, e);
3470
3470
  if (o)
3471
- return fi(e, t, o);
3471
+ return di(e, t, o);
3472
3472
  }
3473
3473
  };
3474
3474
  let rt;
3475
3475
  const he = Te({});
3476
- function di(e) {
3476
+ function pi(e) {
3477
3477
  return rt[e] || null;
3478
3478
  }
3479
3479
  function ur(e) {
3480
3480
  return e in rt;
3481
3481
  }
3482
- function pi(e, t) {
3482
+ function mi(e, t) {
3483
3483
  if (!ur(e))
3484
3484
  return null;
3485
- const r = di(e);
3486
- return ci(r, t);
3485
+ const r = pi(e);
3486
+ return fi(r, t);
3487
3487
  }
3488
- function mi(e) {
3488
+ function bi(e) {
3489
3489
  if (e == null)
3490
3490
  return;
3491
3491
  const t = Ce(e);
@@ -3496,7 +3496,7 @@ function mi(e) {
3496
3496
  }
3497
3497
  }
3498
3498
  function hr(e, ...t) {
3499
- delete F[e], he.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3499
+ delete F[e], he.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3500
3500
  }
3501
3501
  re(
3502
3502
  [he],
@@ -3504,13 +3504,13 @@ re(
3504
3504
  );
3505
3505
  he.subscribe((e) => rt = e);
3506
3506
  const be = {};
3507
- function bi(e, t) {
3507
+ function gi(e, t) {
3508
3508
  be[e].delete(t), be[e].size === 0 && delete be[e];
3509
3509
  }
3510
3510
  function cr(e) {
3511
3511
  return be[e];
3512
3512
  }
3513
- function gi(e) {
3513
+ function vi(e) {
3514
3514
  return Ce(e).map((t) => {
3515
3515
  const r = cr(t);
3516
3516
  return [t, r ? [...r] : []];
@@ -3524,19 +3524,19 @@ function qe(e) {
3524
3524
  }
3525
3525
  );
3526
3526
  }
3527
- function vi(e, t) {
3527
+ function yi(e, t) {
3528
3528
  return Promise.all(
3529
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
3529
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
3530
3530
  ).then((n) => hr(e, ...n));
3531
3531
  }
3532
3532
  const oe = {};
3533
3533
  function fr(e) {
3534
3534
  if (!qe(e))
3535
3535
  return e in oe ? oe[e] : Promise.resolve();
3536
- const t = gi(e);
3536
+ const t = vi(e);
3537
3537
  return oe[e] = Promise.all(
3538
3538
  t.map(
3539
- ([r, n]) => vi(r, n)
3539
+ ([r, n]) => yi(r, n)
3540
3540
  )
3541
3541
  ).then(() => {
3542
3542
  if (qe(e))
@@ -3544,7 +3544,7 @@ function fr(e) {
3544
3544
  delete oe[e];
3545
3545
  }), oe[e];
3546
3546
  }
3547
- const yi = {
3547
+ const _i = {
3548
3548
  number: {
3549
3549
  scientific: { notation: "scientific" },
3550
3550
  engineering: { notation: "engineering" },
@@ -3573,26 +3573,26 @@ const yi = {
3573
3573
  timeZoneName: "short"
3574
3574
  }
3575
3575
  }
3576
- }, _i = {
3576
+ }, xi = {
3577
3577
  fallbackLocale: null,
3578
3578
  loadingDelay: 200,
3579
- formats: yi,
3579
+ formats: _i,
3580
3580
  warnOnMissingMessages: !0,
3581
3581
  handleMissingMessage: void 0,
3582
3582
  ignoreTag: !0
3583
- }, xi = _i;
3583
+ }, Ei = xi;
3584
3584
  function ee() {
3585
- return xi;
3585
+ return Ei;
3586
3586
  }
3587
3587
  const $e = Te(!1);
3588
- var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3588
+ var Si = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
3589
3589
  for (var r in t || (t = {}))
3590
- Ti.call(t, r) && Et(e, r, t[r]);
3590
+ Hi.call(t, r) && Et(e, r, t[r]);
3591
3591
  if (xt)
3592
3592
  for (var r of xt(t))
3593
- Hi.call(t, r) && Et(e, r, t[r]);
3593
+ Ci.call(t, r) && Et(e, r, t[r]);
3594
3594
  return e;
3595
- }, Pi = (e, t) => Si(e, wi(t));
3595
+ }, Bi = (e, t) => wi(e, Ti(t));
3596
3596
  let Je;
3597
3597
  const Ee = Te(null);
3598
3598
  function St(e) {
@@ -3608,8 +3608,8 @@ function V() {
3608
3608
  Ee.subscribe((e) => {
3609
3609
  Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3610
3610
  });
3611
- const Bi = (e) => {
3612
- if (e && mi(e) && qe(e)) {
3611
+ const Ai = (e) => {
3612
+ if (e && bi(e) && qe(e)) {
3613
3613
  const { loadingDelay: t } = ee();
3614
3614
  let r;
3615
3615
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
@@ -3622,8 +3622,8 @@ const Bi = (e) => {
3622
3622
  });
3623
3623
  }
3624
3624
  return Ee.set(e);
3625
- }, ne = Pi(Ci({}, Ee), {
3626
- set: Bi
3625
+ }, ne = Bi(Pi({}, Ee), {
3626
+ set: Ai
3627
3627
  }), Pe = (e) => {
3628
3628
  const t = /* @__PURE__ */ Object.create(null);
3629
3629
  return (n) => {
@@ -3631,7 +3631,7 @@ const Bi = (e) => {
3631
3631
  return i in t ? t[i] : t[i] = e(n);
3632
3632
  };
3633
3633
  };
3634
- var Ai = Object.defineProperty, Se = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3634
+ var Oi = Object.defineProperty, Se = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3635
3635
  for (var r in t || (t = {}))
3636
3636
  dr.call(t, r) && wt(e, r, t[r]);
3637
3637
  if (Se)
@@ -3652,21 +3652,21 @@ const ue = (e, t) => {
3652
3652
  if (e in r && t in r[e])
3653
3653
  return r[e][t];
3654
3654
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3655
- }, Oi = Pe(
3655
+ }, Li = Pe(
3656
3656
  (e) => {
3657
3657
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3658
3658
  if (r == null)
3659
3659
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3660
3660
  return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3661
3661
  }
3662
- ), Li = Pe(
3662
+ ), Ii = Pe(
3663
3663
  (e) => {
3664
3664
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3665
3665
  if (r == null)
3666
3666
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3667
3667
  return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3668
3668
  }
3669
- ), Ii = Pe(
3669
+ ), Ni = Pe(
3670
3670
  (e) => {
3671
3671
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3672
3672
  if (r == null)
@@ -3675,33 +3675,33 @@ const ue = (e, t) => {
3675
3675
  );
3676
3676
  return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3677
3677
  }
3678
- ), Ni = (e = {}) => {
3678
+ ), Mi = (e = {}) => {
3679
3679
  var t = e, {
3680
3680
  locale: r = V()
3681
3681
  } = t, n = ie(t, [
3682
3682
  "locale"
3683
3683
  ]);
3684
- return Oi(nt({ locale: r }, n));
3685
- }, Mi = (e = {}) => {
3684
+ return Li(nt({ locale: r }, n));
3685
+ }, Ri = (e = {}) => {
3686
3686
  var t = e, {
3687
3687
  locale: r = V()
3688
3688
  } = t, n = ie(t, [
3689
3689
  "locale"
3690
3690
  ]);
3691
- return Li(nt({ locale: r }, n));
3692
- }, Ri = (e = {}) => {
3691
+ return Ii(nt({ locale: r }, n));
3692
+ }, $i = (e = {}) => {
3693
3693
  var t = e, {
3694
3694
  locale: r = V()
3695
3695
  } = t, n = ie(t, [
3696
3696
  "locale"
3697
3697
  ]);
3698
- return Ii(nt({ locale: r }, n));
3699
- }, $i = Pe(
3698
+ return Ni(nt({ locale: r }, n));
3699
+ }, Gi = Pe(
3700
3700
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3701
- (e, t = V()) => new hi(e, t, ee().formats, {
3701
+ (e, t = V()) => new ci(e, t, ee().formats, {
3702
3702
  ignoreTag: ee().ignoreTag
3703
3703
  })
3704
- ), Gi = (e, t = {}) => {
3704
+ ), Ui = (e, t = {}) => {
3705
3705
  var r, n, i, o;
3706
3706
  let s = t;
3707
3707
  typeof e == "object" && (s = e, e = s.id);
@@ -3725,7 +3725,7 @@ const ue = (e, t) => {
3725
3725
  return l;
3726
3726
  let f = l;
3727
3727
  try {
3728
- f = $i(l, h).format(a);
3728
+ f = Gi(l, h).format(a);
3729
3729
  } catch (c) {
3730
3730
  c instanceof Error && console.warn(
3731
3731
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3733,15 +3733,15 @@ const ue = (e, t) => {
3733
3733
  );
3734
3734
  }
3735
3735
  return f;
3736
- }, Ui = (e, t) => Ri(t).format(e), Di = (e, t) => Mi(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = V()) => lr(e, t), ki = re([ne, he], () => Gi);
3737
- re([ne], () => Ui);
3736
+ }, Di = (e, t) => $i(t).format(e), Fi = (e, t) => Ri(t).format(e), ji = (e, t) => Mi(t).format(e), ki = (e, t = V()) => lr(e, t), Vi = re([ne, he], () => Ui);
3738
3737
  re([ne], () => Di);
3739
3738
  re([ne], () => Fi);
3740
- re([ne, he], () => ji);
3739
+ re([ne], () => ji);
3740
+ re([ne, he], () => ki);
3741
3741
  function Tt(e, t) {
3742
3742
  hr(e, t);
3743
3743
  }
3744
- function Vi(e) {
3744
+ function Xi(e) {
3745
3745
  ne.set(e);
3746
3746
  }
3747
3747
  const Ht = {
@@ -3905,9 +3905,9 @@ var Be = function() {
3905
3905
  this._finalizers = null;
3906
3906
  try {
3907
3907
  for (var c = je(f), d = c.next(); !d.done; d = c.next()) {
3908
- var p = d.value;
3908
+ var m = d.value;
3909
3909
  try {
3910
- Ct(p);
3910
+ Ct(m);
3911
3911
  } catch (b) {
3912
3912
  o = o ?? [], b instanceof Ge ? o = q(q([], ke(o)), ke(b.errors)) : o.push(b);
3913
3913
  }
@@ -3962,9 +3962,9 @@ function gr(e) {
3962
3962
  function Ct(e) {
3963
3963
  G(e) ? e() : e.unsubscribe();
3964
3964
  }
3965
- var Xi = {
3965
+ var Wi = {
3966
3966
  Promise: void 0
3967
- }, Wi = {
3967
+ }, zi = {
3968
3968
  setTimeout: function(e, t) {
3969
3969
  for (var r = [], n = 2; n < arguments.length; n++)
3970
3970
  r[n - 2] = arguments[n];
@@ -3975,8 +3975,8 @@ var Xi = {
3975
3975
  },
3976
3976
  delegate: void 0
3977
3977
  };
3978
- function zi(e) {
3979
- Wi.setTimeout(function() {
3978
+ function Zi(e) {
3979
+ zi.setTimeout(function() {
3980
3980
  throw e;
3981
3981
  });
3982
3982
  }
@@ -3989,7 +3989,7 @@ var vr = function(e) {
3989
3989
  U(t, e);
3990
3990
  function t(r) {
3991
3991
  var n = e.call(this) || this;
3992
- return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = qi, n;
3992
+ return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = Ji, n;
3993
3993
  }
3994
3994
  return t.create = function(r, n, i) {
3995
3995
  return new Ke(r, n, i);
@@ -4016,7 +4016,7 @@ var vr = function(e) {
4016
4016
  this.unsubscribe();
4017
4017
  }
4018
4018
  }, t;
4019
- }(Be), Zi = function() {
4019
+ }(Be), Qi = function() {
4020
4020
  function e(t) {
4021
4021
  this.partialObserver = t;
4022
4022
  }
@@ -4055,29 +4055,29 @@ var vr = function(e) {
4055
4055
  next: r ?? void 0,
4056
4056
  error: n ?? void 0,
4057
4057
  complete: i ?? void 0
4058
- } : s = r, o.destination = new Zi(s), o;
4058
+ } : s = r, o.destination = new Qi(s), o;
4059
4059
  }
4060
4060
  return t;
4061
4061
  }(vr);
4062
4062
  function de(e) {
4063
- zi(e);
4063
+ Zi(e);
4064
4064
  }
4065
- function Qi(e) {
4065
+ function qi(e) {
4066
4066
  throw e;
4067
4067
  }
4068
- var qi = {
4068
+ var Ji = {
4069
4069
  closed: !0,
4070
4070
  next: Pt,
4071
- error: Qi,
4071
+ error: qi,
4072
4072
  complete: Pt
4073
- }, Ji = function() {
4073
+ }, Yi = function() {
4074
4074
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4075
4075
  }();
4076
- function Yi(e) {
4076
+ function Ki(e) {
4077
4077
  return e;
4078
4078
  }
4079
- function Ki(e) {
4080
- return e.length === 0 ? Yi : e.length === 1 ? e[0] : function(r) {
4079
+ function eo(e) {
4080
+ return e.length === 0 ? Ki : e.length === 1 ? e[0] : function(r) {
4081
4081
  return e.reduce(function(n, i) {
4082
4082
  return i(n);
4083
4083
  }, r);
@@ -4091,7 +4091,7 @@ var Bt = function() {
4091
4091
  var r = new e();
4092
4092
  return r.source = this, r.operator = t, r;
4093
4093
  }, e.prototype.subscribe = function(t, r, n) {
4094
- var i = this, o = to(t) ? t : new Ke(t, r, n);
4094
+ var i = this, o = ro(t) ? t : new Ke(t, r, n);
4095
4095
  return ge(function() {
4096
4096
  var s = i, a = s.operator, h = s.source;
4097
4097
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -4121,12 +4121,12 @@ var Bt = function() {
4121
4121
  }, e.prototype._subscribe = function(t) {
4122
4122
  var r;
4123
4123
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4124
- }, e.prototype[Ji] = function() {
4124
+ }, e.prototype[Yi] = function() {
4125
4125
  return this;
4126
4126
  }, e.prototype.pipe = function() {
4127
4127
  for (var t = [], r = 0; r < arguments.length; r++)
4128
4128
  t[r] = arguments[r];
4129
- return Ki(t)(this);
4129
+ return eo(t)(this);
4130
4130
  }, e.prototype.toPromise = function(t) {
4131
4131
  var r = this;
4132
4132
  return t = At(t), new t(function(n, i) {
@@ -4145,15 +4145,15 @@ var Bt = function() {
4145
4145
  }();
4146
4146
  function At(e) {
4147
4147
  var t;
4148
- return (t = e ?? Xi.Promise) !== null && t !== void 0 ? t : Promise;
4148
+ return (t = e ?? Wi.Promise) !== null && t !== void 0 ? t : Promise;
4149
4149
  }
4150
- function eo(e) {
4150
+ function to(e) {
4151
4151
  return e && G(e.next) && G(e.error) && G(e.complete);
4152
4152
  }
4153
- function to(e) {
4154
- return e && e instanceof vr || eo(e) && gr(e);
4153
+ function ro(e) {
4154
+ return e && e instanceof vr || to(e) && gr(e);
4155
4155
  }
4156
- var ro = mr(function(e) {
4156
+ var no = mr(function(e) {
4157
4157
  return function() {
4158
4158
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4159
4159
  };
@@ -4168,7 +4168,7 @@ var ro = mr(function(e) {
4168
4168
  return n.operator = r, n;
4169
4169
  }, t.prototype._throwIfClosed = function() {
4170
4170
  if (this.closed)
4171
- throw new ro();
4171
+ throw new no();
4172
4172
  }, t.prototype.next = function(r) {
4173
4173
  var n = this;
4174
4174
  ge(function() {
@@ -4261,7 +4261,7 @@ var ro = mr(function(e) {
4261
4261
  return (_r.delegate || Date).now();
4262
4262
  },
4263
4263
  delegate: void 0
4264
- }, no = function(e) {
4264
+ }, io = function(e) {
4265
4265
  U(t, e);
4266
4266
  function t(r, n, i) {
4267
4267
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
@@ -4285,22 +4285,22 @@ var ro = mr(function(e) {
4285
4285
  }
4286
4286
  }, t;
4287
4287
  }(yr);
4288
- const Lt = [], It = {}, io = (e, t = 0) => {
4288
+ const Lt = [], It = {}, oo = (e, t = 0) => {
4289
4289
  if (Lt.indexOf(e) == -1) {
4290
- const r = new no(t);
4290
+ const r = new io(t);
4291
4291
  It[e] = r, Lt.push(e);
4292
4292
  }
4293
4293
  return It[e];
4294
4294
  };
4295
- window.emWidgets = { topic: io };
4296
- const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4297
- function so(e, t) {
4295
+ window.emWidgets = { topic: oo };
4296
+ const so = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4297
+ function ao(e, t) {
4298
4298
  if (e) {
4299
4299
  const r = document.createElement("style");
4300
4300
  r.innerHTML = t, e.appendChild(r);
4301
4301
  }
4302
4302
  }
4303
- function ao(e, t) {
4303
+ function lo(e, t) {
4304
4304
  const r = new URL(t);
4305
4305
  fetch(r.href).then((n) => n.text()).then((n) => {
4306
4306
  const i = document.createElement("style");
@@ -4309,7 +4309,7 @@ function ao(e, t) {
4309
4309
  console.error("There was an error while trying to load client styling from URL", n);
4310
4310
  });
4311
4311
  }
4312
- function lo(e, t, r) {
4312
+ function uo(e, t, r) {
4313
4313
  if (window.emMessageBus) {
4314
4314
  const n = document.createElement("style");
4315
4315
  window.emMessageBus.subscribe(t, (i) => {
@@ -4317,18 +4317,18 @@ function lo(e, t, r) {
4317
4317
  });
4318
4318
  }
4319
4319
  }
4320
- function uo(e) {
4321
- Nr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4320
+ function ho(e) {
4321
+ Mr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4322
4322
  }
4323
4323
  function Nt(e, t, r) {
4324
4324
  const n = e.slice();
4325
- return n[40] = t[r], n;
4325
+ return n[41] = t[r], n;
4326
4326
  }
4327
4327
  function Mt(e, t, r) {
4328
4328
  const n = e.slice();
4329
- return n[43] = t[r], n;
4329
+ return n[44] = t[r], n;
4330
4330
  }
4331
- function ho(e) {
4331
+ function co(e) {
4332
4332
  let t, r, n, i = (
4333
4333
  /*type*/
4334
4334
  (e[0] === "vendor" ? (
@@ -4357,14 +4357,14 @@ function ho(e) {
4357
4357
  (e[9] ? "Mobile" : "") + " " + /*type*/
4358
4358
  (e[0] === "vendor" ? "Providers" : "Collections"));
4359
4359
  },
4360
- m(d, p) {
4361
- R(d, t, p), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
4360
+ m(d, m) {
4361
+ $(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
4362
4362
  for (let b = 0; b < c.length; b += 1)
4363
4363
  c[b] && c[b].m(h, null);
4364
4364
  e[25](h);
4365
4365
  },
4366
- p(d, p) {
4367
- if (p[0] & /*type, $_*/
4366
+ p(d, m) {
4367
+ if (m[0] & /*type, $_*/
4368
4368
  1025 && i !== (i = /*type*/
4369
4369
  (d[0] === "vendor" ? (
4370
4370
  /*$_*/
@@ -4374,7 +4374,7 @@ function ho(e) {
4374
4374
  d[10]("collections")
4375
4375
  )) + "") && tt(o, i), /*numberOfSlides*/
4376
4376
  d[7] > /*numberOfVisibleSlides*/
4377
- d[8] ? l ? l.p(d, p) : (l = Rt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), p[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4377
+ d[8] ? l ? l.p(d, m) : (l = Rt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4378
4378
  24590) {
4379
4379
  f = xe(
4380
4380
  /*gameCategories*/
@@ -4383,13 +4383,13 @@ function ho(e) {
4383
4383
  let b;
4384
4384
  for (b = 0; b < f.length; b += 1) {
4385
4385
  const g = Nt(d, f, b);
4386
- c[b] ? c[b].p(g, p) : (c[b] = Ut(g), c[b].c(), c[b].m(h, null));
4386
+ c[b] ? c[b].p(g, m) : (c[b] = Ut(g), c[b].c(), c[b].m(h, null));
4387
4387
  }
4388
4388
  for (; b < c.length; b += 1)
4389
4389
  c[b].d(1);
4390
4390
  c.length = f.length;
4391
4391
  }
4392
- p[0] & /*mobile, type*/
4392
+ m[0] & /*mobile, type*/
4393
4393
  513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4394
4394
  (d[9] ? "Mobile" : "") + " " + /*type*/
4395
4395
  (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
@@ -4399,14 +4399,14 @@ function ho(e) {
4399
4399
  }
4400
4400
  };
4401
4401
  }
4402
- function co(e) {
4402
+ function fo(e) {
4403
4403
  let t;
4404
4404
  return {
4405
4405
  c() {
4406
4406
  t = C("div"), E(t, "class", "LoadingSpinner");
4407
4407
  },
4408
4408
  m(r, n) {
4409
- R(r, t, n);
4409
+ $(r, t, n);
4410
4410
  },
4411
4411
  p: A,
4412
4412
  d(r) {
@@ -4421,7 +4421,7 @@ function Rt(e) {
4421
4421
  t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4422
4422
  },
4423
4423
  m(a, h) {
4424
- R(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4424
+ $(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4425
4425
  ye(
4426
4426
  r,
4427
4427
  "click",
@@ -4442,45 +4442,45 @@ function Rt(e) {
4442
4442
  }
4443
4443
  };
4444
4444
  }
4445
- function fo(e) {
4445
+ function po(e) {
4446
4446
  let t, r = (
4447
4447
  /*category*/
4448
- e[40].name + ""
4448
+ e[41].name + ""
4449
4449
  ), n;
4450
4450
  return {
4451
4451
  c() {
4452
4452
  t = C("p"), n = we(r), E(t, "class", "CategorySlideTitle");
4453
4453
  },
4454
4454
  m(i, o) {
4455
- R(i, t, o), H(t, n);
4455
+ $(i, t, o), H(t, n);
4456
4456
  },
4457
4457
  p(i, o) {
4458
4458
  o[0] & /*gameCategories*/
4459
4459
  8 && r !== (r = /*category*/
4460
- i[40].name + "") && tt(n, r);
4460
+ i[41].name + "") && tt(n, r);
4461
4461
  },
4462
4462
  d(i) {
4463
4463
  i && I(t);
4464
4464
  }
4465
4465
  };
4466
4466
  }
4467
- function po(e) {
4467
+ function mo(e) {
4468
4468
  let t, r, n;
4469
4469
  return {
4470
4470
  c() {
4471
4471
  t = C("img"), E(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4472
- e[40].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4473
- e[40].name + " icon");
4472
+ e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4473
+ e[41].name + " icon");
4474
4474
  },
4475
4475
  m(i, o) {
4476
- R(i, t, o);
4476
+ $(i, t, o);
4477
4477
  },
4478
4478
  p(i, o) {
4479
4479
  o[0] & /*gameCategories*/
4480
4480
  8 && !ve(t.src, r = /*category*/
4481
- i[40].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4481
+ i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4482
4482
  8 && n !== (n = /*category*/
4483
- i[40].name + " icon") && E(t, "alt", n);
4483
+ i[41].name + " icon") && E(t, "alt", n);
4484
4484
  },
4485
4485
  d(i) {
4486
4486
  i && I(t);
@@ -4490,22 +4490,22 @@ function po(e) {
4490
4490
  function $t(e) {
4491
4491
  let t, r = (
4492
4492
  /*game*/
4493
- e[43].name + ""
4493
+ e[44].name + ""
4494
4494
  ), n, i;
4495
4495
  return {
4496
4496
  c() {
4497
4497
  t = C("p"), n = we(r), E(t, "title", i = /*game*/
4498
- e[43].name);
4498
+ e[44].name);
4499
4499
  },
4500
4500
  m(o, s) {
4501
- R(o, t, s), H(t, n);
4501
+ $(o, t, s), H(t, n);
4502
4502
  },
4503
4503
  p(o, s) {
4504
4504
  s[0] & /*gameCategories*/
4505
4505
  8 && r !== (r = /*game*/
4506
- o[43].name + "") && tt(n, r), s[0] & /*gameCategories*/
4506
+ o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
4507
4507
  8 && i !== (i = /*game*/
4508
- o[43].name) && E(t, "title", i);
4508
+ o[44].name) && E(t, "title", i);
4509
4509
  },
4510
4510
  d(o) {
4511
4511
  o && I(t);
@@ -4519,7 +4519,7 @@ function Gt(e) {
4519
4519
  /*click_handler*/
4520
4520
  e[23](
4521
4521
  /*game*/
4522
- e[43]
4522
+ e[44]
4523
4523
  )
4524
4524
  );
4525
4525
  }
@@ -4530,18 +4530,18 @@ function Gt(e) {
4530
4530
  return {
4531
4531
  c() {
4532
4532
  t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), E(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4533
- e[43].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4534
- e[43].name), E(t, "class", "CategorySlideGames");
4533
+ e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4534
+ e[44].name), E(t, "class", "CategorySlideGames");
4535
4535
  },
4536
4536
  m(f, c) {
4537
- R(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = ye(r, "click", $r(u)), a = !0);
4537
+ $(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = ye(r, "click", Gr(u)), a = !0);
4538
4538
  },
4539
4539
  p(f, c) {
4540
4540
  e = f, c[0] & /*gameCategories*/
4541
4541
  8 && !ve(r.src, n = /*game*/
4542
- e[43].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4542
+ e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4543
4543
  8 && i !== (i = /*game*/
4544
- e[43].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4544
+ e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4545
4545
  e[2] == "true" ? l ? l.p(e, c) : (l = $t(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4546
4546
  },
4547
4547
  d(f) {
@@ -4556,41 +4556,41 @@ function Ut(e) {
4556
4556
  /*titletype*/
4557
4557
  g[1] === "logo"
4558
4558
  )
4559
- return po;
4559
+ return mo;
4560
4560
  if (
4561
4561
  /*titletype*/
4562
4562
  g[1] === "title"
4563
4563
  )
4564
- return fo;
4564
+ return po;
4565
4565
  }
4566
4566
  let f = l(e), c = f && f(e), d = xe(
4567
4567
  /*category*/
4568
- e[40].games
4569
- ), p = [];
4568
+ e[41].games
4569
+ ), m = [];
4570
4570
  for (let g = 0; g < d.length; g += 1)
4571
- p[g] = Gt(Mt(e, d, g));
4571
+ m[g] = Gt(Mt(e, d, g));
4572
4572
  function b() {
4573
4573
  return (
4574
4574
  /*click_handler_1*/
4575
4575
  e[24](
4576
4576
  /*category*/
4577
- e[40]
4577
+ e[41]
4578
4578
  )
4579
4579
  );
4580
4580
  }
4581
4581
  return {
4582
4582
  c() {
4583
4583
  t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = k(), o = C("div");
4584
- for (let g = 0; g < p.length; g += 1)
4585
- p[g].c();
4584
+ for (let g = 0; g < m.length; g += 1)
4585
+ m[g].c();
4586
4586
  a = k(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4587
- (e[40]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Oe(r, "background-image", "url(" + /*category*/
4588
- e[40]?.background + ")"), Oe(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4587
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Oe(r, "background-image", "url(" + /*category*/
4588
+ e[41]?.background + ")"), Oe(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4589
4589
  },
4590
4590
  m(g, S) {
4591
- R(g, t, S), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4592
- for (let x = 0; x < p.length; x += 1)
4593
- p[x] && p[x].m(o, null);
4591
+ $(g, t, S), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4592
+ for (let x = 0; x < m.length; x += 1)
4593
+ m[x] && m[x].m(o, null);
4594
4594
  H(t, a), h || (u = ye(r, "click", b), h = !0);
4595
4595
  },
4596
4596
  p(g, S) {
@@ -4598,34 +4598,34 @@ function Ut(e) {
4598
4598
  8204) {
4599
4599
  d = xe(
4600
4600
  /*category*/
4601
- e[40].games
4601
+ e[41].games
4602
4602
  );
4603
4603
  let x;
4604
4604
  for (x = 0; x < d.length; x += 1) {
4605
4605
  const T = Mt(e, d, x);
4606
- p[x] ? p[x].p(T, S) : (p[x] = Gt(T), p[x].c(), p[x].m(o, null));
4606
+ m[x] ? m[x].p(T, S) : (m[x] = Gt(T), m[x].c(), m[x].m(o, null));
4607
4607
  }
4608
- for (; x < p.length; x += 1)
4609
- p[x].d(1);
4610
- p.length = d.length;
4608
+ for (; x < m.length; x += 1)
4609
+ m[x].d(1);
4610
+ m.length = d.length;
4611
4611
  }
4612
4612
  S[0] & /*gameCategories*/
4613
4613
  8 && s !== (s = "CategorySlide " + /*category*/
4614
- (e[40]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
4614
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
4615
4615
  8 && Oe(r, "background-image", "url(" + /*category*/
4616
- e[40]?.background + ")");
4616
+ e[41]?.background + ")");
4617
4617
  },
4618
4618
  d(g) {
4619
- g && I(t), c && c.d(), kt(p, g), h = !1, u();
4619
+ g && I(t), c && c.d(), kt(m, g), h = !1, u();
4620
4620
  }
4621
4621
  };
4622
4622
  }
4623
- function mo(e) {
4623
+ function bo(e) {
4624
4624
  let t;
4625
4625
  function r(o, s) {
4626
4626
  return (
4627
4627
  /*isLoading*/
4628
- o[6] ? co : ho
4628
+ o[6] ? fo : co
4629
4629
  );
4630
4630
  }
4631
4631
  let n = r(e), i = n(e);
@@ -4634,7 +4634,7 @@ function mo(e) {
4634
4634
  t = C("div"), i.c();
4635
4635
  },
4636
4636
  m(o, s) {
4637
- R(o, t, s), i.m(t, null), e[26](t);
4637
+ $(o, t, s), i.m(t, null), e[26](t);
4638
4638
  },
4639
4639
  p(o, s) {
4640
4640
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4646,112 +4646,115 @@ function mo(e) {
4646
4646
  }
4647
4647
  };
4648
4648
  }
4649
- function bo(e, t, r) {
4649
+ function go(e, t, r) {
4650
4650
  let n;
4651
- Ir(e, ki, (m) => r(10, n = m));
4652
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, p = [], b = !0, g, S = 0, x = 0, T = 0, D, L, j = 0, X = 50, Ae = !1, $, xr = window.navigator.userAgent, it;
4651
+ Nr(e, Vi, (p) => r(10, n = p));
4652
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, S = 0, x = 0, T = 0, D, L, j = 0, X = 50, Ae = !1, N, xr = window.navigator.userAgent, it;
4653
4653
  const Er = () => {
4654
4654
  fetch(f).then((P) => P.json()).then((P) => {
4655
- Object.keys(P).forEach((N) => {
4656
- Tt(N, P[N]);
4655
+ Object.keys(P).forEach((M) => {
4656
+ Tt(M, P[M]);
4657
4657
  });
4658
4658
  }).catch((P) => {
4659
4659
  console.log(P);
4660
4660
  });
4661
4661
  };
4662
- Object.keys(Ht).forEach((m) => {
4663
- Tt(m, Ht[m]);
4662
+ Object.keys(Ht).forEach((p) => {
4663
+ Tt(p, Ht[p]);
4664
4664
  });
4665
4665
  const ot = () => {
4666
- const m = new URL(`${i}/v2/casino/groups/${o}`);
4667
- m.searchParams.append("language", s), m.searchParams.append("expand", "games"), m.searchParams.append("filter", `$and(flags=${a})`), m.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(m.href).then((P) => P.json()).then((P) => {
4666
+ const p = new URL(`${i}/v2/casino/groups/${o}`);
4667
+ p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(p.href).then((P) => P.json()).then((P) => {
4668
4668
  r(6, b = !1), P.total > X && (j += 50, X += 50, r(22, Ae = !0));
4669
- let N = P.items.map((M) => ({
4670
- id: M.id,
4671
- name: M.name,
4672
- icon: M.icon ? M.icon : M.vendors?.items[0]?.subVendors[0]?.logo,
4673
- games: M.games.items.slice(0, 4).map((Or) => Or),
4674
- background: M.background,
4675
- flag: M.flags
4669
+ let M = P.items.map((R) => ({
4670
+ id: R.id,
4671
+ name: R.name,
4672
+ icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
4673
+ games: R.games.items.slice(0, 4).map((Lr) => Lr),
4674
+ background: R.background,
4675
+ flag: R.flags
4676
4676
  }));
4677
- r(3, p = [...p, ...N]), r(7, x = p.length);
4677
+ r(3, m = [...m, ...M]), r(7, x = m.length), Sr();
4678
4678
  });
4679
- }, st = (m) => {
4680
- L = [...g.children], L.forEach((P, N) => {
4681
- P.style.transform = `translateX(${100 * (m ? N - m : N)}%)`;
4682
- }), D = L[0].getBoundingClientRect().width, Sr();
4683
4679
  }, Sr = () => {
4680
+ const p = N.getRootNode().host;
4681
+ p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4682
+ }, st = (p) => {
4683
+ L = [...g.children], L.forEach((P, M) => {
4684
+ P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
4685
+ }), D = L[0].getBoundingClientRect().width, wr();
4686
+ }, wr = () => {
4684
4687
  r(8, T = Math.floor(g.clientWidth / D));
4685
4688
  }, at = () => {
4686
4689
  st(S);
4687
- }, wr = () => {
4688
- S === 0 ? S = x - T : S - T < -1 ? S = 0 : S--, at();
4689
4690
  }, Tr = () => {
4691
+ S === 0 ? S = x - T : S - T < -1 ? S = 0 : S--, at();
4692
+ }, Hr = () => {
4690
4693
  S === x - T ? S = 0 : x - T < S + 1 ? S = x - T : S++, at();
4691
- }, lt = (m, P, N, M) => {
4694
+ }, lt = (p, P, M, R) => {
4692
4695
  window.postMessage(
4693
4696
  {
4694
4697
  type: "OpenCollectionsProvidersGame",
4695
- gameId: m,
4698
+ gameId: p,
4696
4699
  launchUrl: P,
4697
- gameName: N,
4698
- subVendor: M
4700
+ gameName: M,
4701
+ subVendor: R
4699
4702
  },
4700
4703
  window.location.href
4701
4704
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4702
4705
  context: "CollectionsProviders",
4703
- gameName: `${N}`
4706
+ gameName: `${M}`
4704
4707
  });
4705
- }, ut = (m) => {
4708
+ }, ut = (p) => {
4706
4709
  window.postMessage(
4707
4710
  {
4708
4711
  type: "OpenCollectionsProvidersCategory",
4709
- categoryId: m
4712
+ categoryId: p
4710
4713
  },
4711
4714
  window.location.href
4712
4715
  );
4713
- }, Hr = () => {
4714
- Vi(s);
4716
+ }, Cr = () => {
4717
+ Xi(s);
4715
4718
  };
4716
- Fr(() => (r(9, it = oo(xr)), () => {
4719
+ jr(() => (r(9, it = so(xr)), () => {
4717
4720
  }));
4718
- const Cr = (m) => lt(m.gameId, m.launchUrl, m.name, m.subVendor), Pr = (m) => ut(m.id);
4719
- function Br(m) {
4720
- _e[m ? "unshift" : "push"](() => {
4721
- g = m, r(4, g);
4721
+ const Pr = (p) => lt(p.gameId, p.launchUrl, p.name, p.subVendor), Br = (p) => ut(p.id);
4722
+ function Ar(p) {
4723
+ _e[p ? "unshift" : "push"](() => {
4724
+ g = p, r(4, g);
4722
4725
  });
4723
4726
  }
4724
- function Ar(m) {
4725
- _e[m ? "unshift" : "push"](() => {
4726
- $ = m, r(5, $);
4727
+ function Or(p) {
4728
+ _e[p ? "unshift" : "push"](() => {
4729
+ N = p, r(5, N);
4727
4730
  });
4728
4731
  }
4729
- return e.$$set = (m) => {
4730
- "endpoint" in m && r(15, i = m.endpoint), "datasource" in m && r(16, o = m.datasource), "lang" in m && r(17, s = m.lang), "type" in m && r(0, a = m.type), "titletype" in m && r(1, h = m.titletype), "clientstyling" in m && r(18, u = m.clientstyling), "clientstylingurl" in m && r(19, l = m.clientstylingurl), "translationurl" in m && r(20, f = m.translationurl), "collectionprovidersgamenames" in m && r(2, c = m.collectionprovidersgamenames), "mbsource" in m && r(21, d = m.mbsource);
4732
+ return e.$$set = (p) => {
4733
+ "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4731
4734
  }, e.$$.update = () => {
4732
4735
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4733
4736
  229376 && i && o && s && ot(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4734
- 24 && p && g && st(), e.$$.dirty[0] & /*lang*/
4735
- 131072 && s && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4736
- 262176 && u && $ && so($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4737
- 524320 && l && $ && ao($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4738
- 2097184 && $ && lo($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4737
+ 24 && m && g && st(), e.$$.dirty[0] & /*lang*/
4738
+ 131072 && s && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4739
+ 262176 && u && N && ao(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4740
+ 524320 && l && N && lo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4741
+ 2097184 && N && uo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4739
4742
  1048576 && f && Er(), e.$$.dirty[0] & /*paginationrequired*/
4740
4743
  4194304 && Ae && ot();
4741
4744
  }, [
4742
4745
  a,
4743
4746
  h,
4744
4747
  c,
4745
- p,
4748
+ m,
4746
4749
  g,
4747
- $,
4750
+ N,
4748
4751
  b,
4749
4752
  x,
4750
4753
  T,
4751
4754
  it,
4752
4755
  n,
4753
- wr,
4754
4756
  Tr,
4757
+ Hr,
4755
4758
  lt,
4756
4759
  ut,
4757
4760
  i,
@@ -4762,19 +4765,19 @@ function bo(e, t, r) {
4762
4765
  f,
4763
4766
  d,
4764
4767
  Ae,
4765
- Cr,
4766
4768
  Pr,
4767
4769
  Br,
4768
- Ar
4770
+ Ar,
4771
+ Or
4769
4772
  ];
4770
4773
  }
4771
- class go extends Kr {
4774
+ class vo extends en {
4772
4775
  constructor(t) {
4773
- super(), Jr(
4776
+ super(), Yr(
4774
4777
  this,
4775
4778
  t,
4779
+ go,
4776
4780
  bo,
4777
- mo,
4778
4781
  Ft,
4779
4782
  {
4780
4783
  endpoint: 15,
@@ -4788,7 +4791,7 @@ class go extends Kr {
4788
4791
  collectionprovidersgamenames: 2,
4789
4792
  mbsource: 21
4790
4793
  },
4791
- uo,
4794
+ ho,
4792
4795
  [-1, -1]
4793
4796
  );
4794
4797
  }
@@ -4853,7 +4856,7 @@ class go extends Kr {
4853
4856
  this.$$set({ mbsource: t }), O();
4854
4857
  }
4855
4858
  }
4856
- Yr(go, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4859
+ Kr(vo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4857
4860
  export {
4858
- go as C
4861
+ vo as C
4859
4862
  };