@everymatrix/player-active-bonuses 1.55.0 → 1.56.2

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.
@@ -16,10 +16,10 @@ function en(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Pe;
19
- function Io(e, t) {
19
+ function No(e, t) {
20
20
  return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
21
21
  }
22
- function qn(e) {
22
+ function Zn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function tn(e, ...t) {
@@ -31,21 +31,22 @@ function tn(e, ...t) {
31
31
  const n = e.subscribe(...t);
32
32
  return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function Qn(e, t, n) {
34
+ function qn(e, t, n) {
35
35
  e.$$.on_destroy.push(tn(t, n));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Jn(e, t, n) {
41
- const r = Yn(e);
40
+ function Qn(e, t, n) {
41
+ const r = Jn(e);
42
42
  if (!r.getElementById(t)) {
43
43
  const i = P("style");
44
- i.id = t, i.textContent = n, Kn(r, i);
44
+ i.id = t, i.textContent = n, Yn(r, i);
45
45
  }
46
46
  }
47
- function Yn(e) {
48
- if (!e) return document;
47
+ function Jn(e) {
48
+ if (!e)
49
+ return document;
49
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
51
  return t && /** @type {ShadowRoot} */
51
52
  t.host ? (
@@ -53,17 +54,17 @@ function Yn(e) {
53
54
  t
54
55
  ) : e.ownerDocument;
55
56
  }
56
- function Kn(e, t) {
57
+ function Yn(e, t) {
57
58
  return v(
58
59
  /** @type {Document} */
59
60
  e.head || e,
60
61
  t
61
62
  ), t.sheet;
62
63
  }
63
- function V(e, t, n) {
64
+ function W(e, t, n) {
64
65
  e.insertBefore(t, n || null);
65
66
  }
66
- function k(e) {
67
+ function U(e) {
67
68
  e.parentNode && e.parentNode.removeChild(e);
68
69
  }
69
70
  function nn(e, t) {
@@ -76,14 +77,14 @@ function P(e) {
76
77
  function ae(e) {
77
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
79
  }
79
- function $(e) {
80
+ function D(e) {
80
81
  return document.createTextNode(e);
81
82
  }
82
- function W() {
83
- return $(" ");
83
+ function j() {
84
+ return D(" ");
84
85
  }
85
86
  function mt() {
86
- return $("");
87
+ return D("");
87
88
  }
88
89
  function Z(e, t, n, r) {
89
90
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
@@ -95,7 +96,7 @@ function m(e, t, n) {
95
96
  const r = t.toLowerCase();
96
97
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : B(e, t, n);
97
98
  }
98
- function er(e) {
99
+ function Kn(e) {
99
100
  return Array.from(e.childNodes);
100
101
  }
101
102
  function K(e, t) {
@@ -105,7 +106,7 @@ function K(e, t) {
105
106
  function Et(e, t) {
106
107
  e.value = t ?? "";
107
108
  }
108
- function tr(e) {
109
+ function er(e) {
109
110
  const t = {};
110
111
  return e.childNodes.forEach(
111
112
  /** @param {Element} node */
@@ -114,43 +115,45 @@ function tr(e) {
114
115
  }
115
116
  ), t;
116
117
  }
117
- let xe;
118
- function Ee(e) {
119
- xe = e;
118
+ let Ee;
119
+ function Be(e) {
120
+ Ee = e;
120
121
  }
121
- function nr() {
122
- if (!xe) throw new Error("Function called outside component initialization");
123
- return xe;
122
+ function tr() {
123
+ if (!Ee)
124
+ throw new Error("Function called outside component initialization");
125
+ return Ee;
124
126
  }
125
- function rr(e) {
126
- nr().$$.on_mount.push(e);
127
+ function nr(e) {
128
+ tr().$$.on_mount.push(e);
127
129
  }
128
130
  const ce = [], Ye = [];
129
131
  let he = [];
130
- const xt = [], ir = /* @__PURE__ */ Promise.resolve();
132
+ const xt = [], rr = /* @__PURE__ */ Promise.resolve();
131
133
  let Ke = !1;
132
- function or() {
133
- Ke || (Ke = !0, ir.then(Q));
134
+ function ir() {
135
+ Ke || (Ke = !0, rr.then(X));
134
136
  }
135
137
  function et(e) {
136
138
  he.push(e);
137
139
  }
138
140
  const We = /* @__PURE__ */ new Set();
139
141
  let ue = 0;
140
- function Q() {
142
+ function X() {
141
143
  if (ue !== 0)
142
144
  return;
143
- const e = xe;
145
+ const e = Ee;
144
146
  do {
145
147
  try {
146
148
  for (; ue < ce.length; ) {
147
149
  const t = ce[ue];
148
- ue++, Ee(t), sr(t.$$);
150
+ ue++, Be(t), or(t.$$);
149
151
  }
150
152
  } catch (t) {
151
153
  throw ce.length = 0, ue = 0, t;
152
154
  }
153
- for (Ee(null), ce.length = 0, ue = 0; Ye.length; ) Ye.pop()();
155
+ for (Be(null), ce.length = 0, ue = 0; Ye.length; )
156
+ Ye.pop()();
154
157
  for (let t = 0; t < he.length; t += 1) {
155
158
  const n = he[t];
156
159
  We.has(n) || (We.add(n), n());
@@ -159,43 +162,43 @@ function Q() {
159
162
  } while (ce.length);
160
163
  for (; xt.length; )
161
164
  xt.pop()();
162
- Ke = !1, We.clear(), Ee(e);
165
+ Ke = !1, We.clear(), Be(e);
163
166
  }
164
- function sr(e) {
167
+ function or(e) {
165
168
  if (e.fragment !== null) {
166
169
  e.update(), ie(e.before_update);
167
170
  const t = e.dirty;
168
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
169
172
  }
170
173
  }
171
- function ar(e) {
174
+ function sr(e) {
172
175
  const t = [], n = [];
173
176
  he.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), he = t;
174
177
  }
175
- const ur = /* @__PURE__ */ new Set();
176
- function lr(e, t) {
177
- e && e.i && (ur.delete(e), e.i(t));
178
+ const ar = /* @__PURE__ */ new Set();
179
+ function ur(e, t) {
180
+ e && e.i && (ar.delete(e), e.i(t));
178
181
  }
179
182
  function Re(e) {
180
183
  return e?.length !== void 0 ? e : Array.from(e);
181
184
  }
182
- function cr(e, t, n) {
185
+ function lr(e, t, n) {
183
186
  const { fragment: r, after_update: i } = e.$$;
184
187
  r && r.m(t, n), et(() => {
185
188
  const o = e.$$.on_mount.map(Kt).filter(pt);
186
189
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
187
190
  }), i.forEach(et);
188
191
  }
189
- function hr(e, t) {
192
+ function cr(e, t) {
190
193
  const n = e.$$;
191
- n.fragment !== null && (ar(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (sr(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
192
195
  }
193
- function fr(e, t) {
194
- e.$$.dirty[0] === -1 && (ce.push(e), or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function hr(e, t) {
197
+ e.$$.dirty[0] === -1 && (ce.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
198
  }
196
- function dr(e, t, n, r, i, o, s = null, a = [-1]) {
197
- const l = xe;
198
- Ee(e);
199
+ function fr(e, t, n, r, i, o, s = null, a = [-1]) {
200
+ const l = Ee;
201
+ Be(e);
199
202
  const u = e.$$ = {
200
203
  fragment: null,
201
204
  ctx: [],
@@ -219,18 +222,18 @@ function dr(e, t, n, r, i, o, s = null, a = [-1]) {
219
222
  };
220
223
  s && s(u.root);
221
224
  let c = !1;
222
- if (u.ctx = n ? n(e, t.props || {}, (f, h, ...p) => {
223
- const b = p.length ? p[0] : h;
224
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), c && fr(e, f)), h;
225
+ if (u.ctx = n ? n(e, t.props || {}, (h, f, ...p) => {
226
+ const b = p.length ? p[0] : f;
227
+ return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), c && hr(e, h)), f;
225
228
  }) : [], u.update(), c = !0, ie(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
226
229
  if (t.hydrate) {
227
- const f = er(t.target);
228
- u.fragment && u.fragment.l(f), f.forEach(k);
230
+ const h = Kn(t.target);
231
+ u.fragment && u.fragment.l(h), h.forEach(U);
229
232
  } else
230
233
  u.fragment && u.fragment.c();
231
- t.intro && lr(e.$$.fragment), cr(e, t.target, t.anchor), Q();
234
+ t.intro && ur(e.$$.fragment), lr(e, t.target, t.anchor), X();
232
235
  }
233
- Ee(l);
236
+ Be(l);
234
237
  }
235
238
  let rn;
236
239
  typeof HTMLElement == "function" && (rn = class extends HTMLElement {
@@ -282,17 +285,17 @@ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
282
285
  * @param {HTMLElement} [anchor]
283
286
  */
284
287
  m: function(l, u) {
285
- V(l, o, u);
288
+ W(l, o, u);
286
289
  },
287
290
  d: function(l) {
288
- l && k(o);
291
+ l && U(o);
289
292
  }
290
293
  };
291
294
  };
292
295
  };
293
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
297
  return;
295
- const t = {}, n = tr(this);
298
+ const t = {}, n = er(this);
296
299
  for (const i of this.$$s)
297
300
  i in n && (t[i] = [e(i)]);
298
301
  for (const i of this.attributes) {
@@ -379,7 +382,7 @@ function Ie(e, t, n, r) {
379
382
  return t;
380
383
  }
381
384
  }
382
- function pr(e, t, n, r, i, o) {
385
+ function dr(e, t, n, r, i, o) {
383
386
  let s = class extends rn {
384
387
  constructor() {
385
388
  super(e, n, i), this.$$p_d = t;
@@ -408,7 +411,7 @@ function pr(e, t, n, r, i, o) {
408
411
  }), e.element = /** @type {any} */
409
412
  s, s;
410
413
  }
411
- class mr {
414
+ class pr {
412
415
  /**
413
416
  * ### PRIVATE API
414
417
  *
@@ -427,7 +430,7 @@ class mr {
427
430
  $$set = void 0;
428
431
  /** @returns {void} */
429
432
  $destroy() {
430
- hr(this, 1), this.$destroy = q;
433
+ cr(this, 1), this.$destroy = q;
431
434
  }
432
435
  /**
433
436
  * @template {Extract<keyof Events, string>} K
@@ -449,16 +452,31 @@ class mr {
449
452
  * @returns {void}
450
453
  */
451
454
  $set(t) {
452
- this.$$set && !qn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Zn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
456
  }
454
457
  }
455
- const br = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
458
+ const mr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
460
+ /*! *****************************************************************************
461
+ Copyright (c) Microsoft Corporation.
462
+
463
+ Permission to use, copy, modify, and/or distribute this software for any
464
+ purpose with or without fee is hereby granted.
465
+
466
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
467
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
468
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
469
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
470
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
471
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
472
+ PERFORMANCE OF THIS SOFTWARE.
473
+ ***************************************************************************** */
457
474
  var tt = function(e, t) {
458
475
  return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
459
476
  n.__proto__ = r;
460
477
  } || function(n, r) {
461
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
478
+ for (var i in r)
479
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
462
480
  }, tt(e, t);
463
481
  };
464
482
  function te(e, t) {
@@ -474,14 +492,16 @@ var A = function() {
474
492
  return A = Object.assign || function(t) {
475
493
  for (var n, r = 1, i = arguments.length; r < i; r++) {
476
494
  n = arguments[r];
477
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
495
+ for (var o in n)
496
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
478
497
  }
479
498
  return t;
480
499
  }, A.apply(this, arguments);
481
500
  };
482
- function vr(e, t) {
501
+ function br(e, t) {
483
502
  var n = {};
484
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
503
+ for (var r in e)
504
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
485
505
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
486
506
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
487
507
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
@@ -489,35 +509,41 @@ function vr(e, t) {
489
509
  }
490
510
  function nt(e) {
491
511
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
492
- if (n) return n.call(e);
493
- if (e && typeof e.length == "number") return {
494
- next: function() {
495
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
496
- }
497
- };
512
+ if (n)
513
+ return n.call(e);
514
+ if (e && typeof e.length == "number")
515
+ return {
516
+ next: function() {
517
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
518
+ }
519
+ };
498
520
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
499
521
  }
500
522
  function rt(e, t) {
501
523
  var n = typeof Symbol == "function" && e[Symbol.iterator];
502
- if (!n) return e;
524
+ if (!n)
525
+ return e;
503
526
  var r = n.call(e), i, o = [], s;
504
527
  try {
505
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
528
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
529
+ o.push(i.value);
506
530
  } catch (a) {
507
531
  s = { error: a };
508
532
  } finally {
509
533
  try {
510
534
  i && !i.done && (n = r.return) && n.call(r);
511
535
  } finally {
512
- if (s) throw s.error;
536
+ if (s)
537
+ throw s.error;
513
538
  }
514
539
  }
515
540
  return o;
516
541
  }
517
542
  function fe(e, t, n) {
518
- if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
519
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
520
- return e.concat(o || Array.prototype.slice.call(t));
543
+ if (n || arguments.length === 2)
544
+ for (var r = 0, i = t.length, o; r < i; r++)
545
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
546
+ return e.concat(o || t);
521
547
  }
522
548
  function ee(e) {
523
549
  return typeof e == "function";
@@ -565,7 +591,8 @@ var Fe = function() {
565
591
  try {
566
592
  l && !l.done && (n = a.return) && n.call(a);
567
593
  } finally {
568
- if (t) throw t.error;
594
+ if (t)
595
+ throw t.error;
569
596
  }
570
597
  }
571
598
  else
@@ -577,11 +604,11 @@ var Fe = function() {
577
604
  } catch (d) {
578
605
  o = d instanceof Ve ? d.errors : [d];
579
606
  }
580
- var f = this._finalizers;
581
- if (f) {
607
+ var h = this._finalizers;
608
+ if (h) {
582
609
  this._finalizers = null;
583
610
  try {
584
- for (var h = nt(f), p = h.next(); !p.done; p = h.next()) {
611
+ for (var f = nt(h), p = f.next(); !p.done; p = f.next()) {
585
612
  var b = p.value;
586
613
  try {
587
614
  wt(b);
@@ -593,9 +620,10 @@ var Fe = function() {
593
620
  r = { error: d };
594
621
  } finally {
595
622
  try {
596
- p && !p.done && (i = h.return) && i.call(h);
623
+ p && !p.done && (i = f.return) && i.call(f);
597
624
  } finally {
598
- if (r) throw r.error;
625
+ if (r)
626
+ throw r.error;
599
627
  }
600
628
  }
601
629
  }
@@ -644,7 +672,7 @@ var un = {
644
672
  Promise: void 0,
645
673
  useDeprecatedSynchronousErrorHandling: !1,
646
674
  useDeprecatedNextContext: !1
647
- }, gr = {
675
+ }, vr = {
648
676
  setTimeout: function(e, t) {
649
677
  for (var n = [], r = 2; r < arguments.length; r++)
650
678
  n[r - 2] = arguments[r];
@@ -655,8 +683,8 @@ var un = {
655
683
  },
656
684
  delegate: void 0
657
685
  };
658
- function yr(e) {
659
- gr.setTimeout(function() {
686
+ function gr(e) {
687
+ vr.setTimeout(function() {
660
688
  throw e;
661
689
  });
662
690
  }
@@ -669,7 +697,7 @@ var ln = function(e) {
669
697
  te(t, e);
670
698
  function t(n) {
671
699
  var r = e.call(this) || this;
672
- return r.isStopped = !1, n ? (r.destination = n, an(n) && n.add(r)) : r.destination = xr, r;
700
+ return r.isStopped = !1, n ? (r.destination = n, an(n) && n.add(r)) : r.destination = Er, r;
673
701
  }
674
702
  return t.create = function(n, r, i) {
675
703
  return new ot(n, r, i);
@@ -696,11 +724,11 @@ var ln = function(e) {
696
724
  this.unsubscribe();
697
725
  }
698
726
  }, t;
699
- }(Fe), _r = Function.prototype.bind;
727
+ }(Fe), yr = Function.prototype.bind;
700
728
  function ze(e, t) {
701
- return _r.call(e, t);
729
+ return yr.call(e, t);
702
730
  }
703
- var Br = function() {
731
+ var _r = function() {
704
732
  function e(t) {
705
733
  this.partialObserver = t;
706
734
  }
@@ -751,29 +779,29 @@ var Br = function() {
751
779
  complete: n.complete && ze(n.complete, a)
752
780
  }) : s = n;
753
781
  }
754
- return o.destination = new Br(s), o;
782
+ return o.destination = new _r(s), o;
755
783
  }
756
784
  return t;
757
785
  }(ln);
758
786
  function Me(e) {
759
- yr(e);
787
+ gr(e);
760
788
  }
761
- function Er(e) {
789
+ function Br(e) {
762
790
  throw e;
763
791
  }
764
- var xr = {
792
+ var Er = {
765
793
  closed: !0,
766
794
  next: Ct,
767
- error: Er,
795
+ error: Br,
768
796
  complete: Ct
769
- }, wr = function() {
797
+ }, xr = function() {
770
798
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
771
799
  }();
772
- function Cr(e) {
800
+ function wr(e) {
773
801
  return e;
774
802
  }
775
- function Sr(e) {
776
- return e.length === 0 ? Cr : e.length === 1 ? e[0] : function(n) {
803
+ function Cr(e) {
804
+ return e.length === 0 ? wr : e.length === 1 ? e[0] : function(n) {
777
805
  return e.reduce(function(r, i) {
778
806
  return i(r);
779
807
  }, n);
@@ -787,7 +815,7 @@ var St = function() {
787
815
  var n = new e();
788
816
  return n.source = this, n.operator = t, n;
789
817
  }, e.prototype.subscribe = function(t, n, r) {
790
- var i = this, o = Tr(t) ? t : new ot(t, n, r);
818
+ var i = this, o = Ar(t) ? t : new ot(t, n, r);
791
819
  return Oe(function() {
792
820
  var s = i, a = s.operator, l = s.source;
793
821
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -817,12 +845,12 @@ var St = function() {
817
845
  }, e.prototype._subscribe = function(t) {
818
846
  var n;
819
847
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
820
- }, e.prototype[wr] = function() {
848
+ }, e.prototype[xr] = function() {
821
849
  return this;
822
850
  }, e.prototype.pipe = function() {
823
851
  for (var t = [], n = 0; n < arguments.length; n++)
824
852
  t[n] = arguments[n];
825
- return Sr(t)(this);
853
+ return Cr(t)(this);
826
854
  }, e.prototype.toPromise = function(t) {
827
855
  var n = this;
828
856
  return t = At(t), new t(function(r, i) {
@@ -843,13 +871,13 @@ function At(e) {
843
871
  var t;
844
872
  return (t = e ?? un.Promise) !== null && t !== void 0 ? t : Promise;
845
873
  }
846
- function Ar(e) {
874
+ function Sr(e) {
847
875
  return e && ee(e.next) && ee(e.error) && ee(e.complete);
848
876
  }
849
- function Tr(e) {
850
- return e && e instanceof ln || Ar(e) && an(e);
877
+ function Ar(e) {
878
+ return e && e instanceof ln || Sr(e) && an(e);
851
879
  }
852
- var Pr = on(function(e) {
880
+ var Tr = on(function(e) {
853
881
  return function() {
854
882
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
855
883
  };
@@ -864,7 +892,7 @@ var Pr = on(function(e) {
864
892
  return r.operator = n, r;
865
893
  }, t.prototype._throwIfClosed = function() {
866
894
  if (this.closed)
867
- throw new Pr();
895
+ throw new Tr();
868
896
  }, t.prototype.next = function(n) {
869
897
  var r = this;
870
898
  Oe(function() {
@@ -882,7 +910,8 @@ var Pr = on(function(e) {
882
910
  try {
883
911
  a && !a.done && (o = s.return) && o.call(s);
884
912
  } finally {
885
- if (i) throw i.error;
913
+ if (i)
914
+ throw i.error;
886
915
  }
887
916
  }
888
917
  }
@@ -956,7 +985,7 @@ var Pr = on(function(e) {
956
985
  return (hn.delegate || Date).now();
957
986
  },
958
987
  delegate: void 0
959
- }, Mr = function(e) {
988
+ }, Pr = function(e) {
960
989
  te(t, e);
961
990
  function t(n, r, i) {
962
991
  n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = hn);
@@ -980,14 +1009,14 @@ var Pr = on(function(e) {
980
1009
  }
981
1010
  }, t;
982
1011
  }(cn);
983
- const Pt = [], Mt = {}, Hr = (e, t = 0) => {
1012
+ const Pt = [], Mt = {}, Mr = (e, t = 0) => {
984
1013
  if (Pt.indexOf(e) == -1) {
985
- const n = new Mr(t);
1014
+ const n = new Pr(t);
986
1015
  Mt[e] = n, Pt.push(e);
987
1016
  }
988
1017
  return Mt[e];
989
1018
  }, le = [];
990
- function Ir(e, t) {
1019
+ function Hr(e, t) {
991
1020
  return {
992
1021
  subscribe: Ue(e, t).subscribe
993
1022
  };
@@ -1023,73 +1052,73 @@ function ve(e, t, n) {
1023
1052
  if (!i.every(Boolean))
1024
1053
  throw new Error("derived() expects stores as input, got a falsy value");
1025
1054
  const o = t.length < 2;
1026
- return Ir(n, (s, a) => {
1055
+ return Hr(n, (s, a) => {
1027
1056
  let l = !1;
1028
1057
  const u = [];
1029
- let c = 0, f = q;
1030
- const h = () => {
1058
+ let c = 0, h = q;
1059
+ const f = () => {
1031
1060
  if (c)
1032
1061
  return;
1033
- f();
1062
+ h();
1034
1063
  const b = t(r ? u[0] : u, s, a);
1035
- o ? s(b) : f = pt(b) ? b : q;
1064
+ o ? s(b) : h = pt(b) ? b : q;
1036
1065
  }, p = i.map(
1037
1066
  (b, d) => tn(
1038
1067
  b,
1039
- (w) => {
1040
- u[d] = w, c &= ~(1 << d), l && h();
1068
+ (C) => {
1069
+ u[d] = C, c &= ~(1 << d), l && f();
1041
1070
  },
1042
1071
  () => {
1043
1072
  c |= 1 << d;
1044
1073
  }
1045
1074
  )
1046
1075
  );
1047
- return l = !0, h(), function() {
1048
- ie(p), f(), l = !1;
1076
+ return l = !0, f(), function() {
1077
+ ie(p), h(), l = !1;
1049
1078
  };
1050
1079
  });
1051
1080
  }
1052
- function Or(e) {
1081
+ function Ir(e) {
1053
1082
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1054
1083
  }
1055
- var Nr = function(t) {
1056
- return Lr(t) && !Rr(t);
1084
+ var Or = function(t) {
1085
+ return Nr(t) && !Lr(t);
1057
1086
  };
1058
- function Lr(e) {
1087
+ function Nr(e) {
1059
1088
  return !!e && typeof e == "object";
1060
1089
  }
1061
- function Rr(e) {
1090
+ function Lr(e) {
1062
1091
  var t = Object.prototype.toString.call(e);
1063
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
1092
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
1064
1093
  }
1065
- var $r = typeof Symbol == "function" && Symbol.for, Dr = $r ? Symbol.for("react.element") : 60103;
1066
- function Fr(e) {
1067
- return e.$$typeof === Dr;
1094
+ var Rr = typeof Symbol == "function" && Symbol.for, $r = Rr ? Symbol.for("react.element") : 60103;
1095
+ function Dr(e) {
1096
+ return e.$$typeof === $r;
1068
1097
  }
1069
- function Ur(e) {
1098
+ function Fr(e) {
1070
1099
  return Array.isArray(e) ? [] : {};
1071
1100
  }
1072
- function we(e, t) {
1073
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Ur(e), e, t) : e;
1101
+ function xe(e, t) {
1102
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(Fr(e), e, t) : e;
1074
1103
  }
1075
- function Gr(e, t, n) {
1104
+ function Ur(e, t, n) {
1076
1105
  return e.concat(t).map(function(r) {
1077
- return we(r, n);
1106
+ return xe(r, n);
1078
1107
  });
1079
1108
  }
1080
- function kr(e, t) {
1109
+ function Gr(e, t) {
1081
1110
  if (!t.customMerge)
1082
1111
  return de;
1083
1112
  var n = t.customMerge(e);
1084
1113
  return typeof n == "function" ? n : de;
1085
1114
  }
1086
- function jr(e) {
1115
+ function kr(e) {
1087
1116
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1088
1117
  return Object.propertyIsEnumerable.call(e, t);
1089
1118
  }) : [];
1090
1119
  }
1091
1120
  function Ht(e) {
1092
- return Object.keys(e).concat(jr(e));
1121
+ return Object.keys(e).concat(kr(e));
1093
1122
  }
1094
1123
  function fn(e, t) {
1095
1124
  try {
@@ -1098,21 +1127,21 @@ function fn(e, t) {
1098
1127
  return !1;
1099
1128
  }
1100
1129
  }
1101
- function Wr(e, t) {
1130
+ function jr(e, t) {
1102
1131
  return fn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1103
1132
  }
1104
- function Vr(e, t, n) {
1133
+ function Wr(e, t, n) {
1105
1134
  var r = {};
1106
1135
  return n.isMergeableObject(e) && Ht(e).forEach(function(i) {
1107
- r[i] = we(e[i], n);
1136
+ r[i] = xe(e[i], n);
1108
1137
  }), Ht(t).forEach(function(i) {
1109
- Wr(e, i) || (fn(e, i) && n.isMergeableObject(t[i]) ? r[i] = kr(i, n)(e[i], t[i], n) : r[i] = we(t[i], n));
1138
+ jr(e, i) || (fn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Gr(i, n)(e[i], t[i], n) : r[i] = xe(t[i], n));
1110
1139
  }), r;
1111
1140
  }
1112
1141
  function de(e, t, n) {
1113
- n = n || {}, n.arrayMerge = n.arrayMerge || Gr, n.isMergeableObject = n.isMergeableObject || Nr, n.cloneUnlessOtherwiseSpecified = we;
1142
+ n = n || {}, n.arrayMerge = n.arrayMerge || Ur, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified = xe;
1114
1143
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1115
- return o ? r ? n.arrayMerge(e, t, n) : Vr(e, t, n) : we(t, n);
1144
+ return o ? r ? n.arrayMerge(e, t, n) : Wr(e, t, n) : xe(t, n);
1116
1145
  }
1117
1146
  de.all = function(t, n) {
1118
1147
  if (!Array.isArray(t))
@@ -1121,20 +1150,20 @@ de.all = function(t, n) {
1121
1150
  return de(r, i, n);
1122
1151
  }, {});
1123
1152
  };
1124
- var zr = de, Xr = zr;
1125
- const Zr = /* @__PURE__ */ Or(Xr);
1153
+ var Vr = de, zr = Vr;
1154
+ const Xr = /* @__PURE__ */ Ir(zr);
1126
1155
  function Xe(e, t) {
1127
- var n = t && t.cache ? t.cache : ei, r = t && t.serializer ? t.serializer : Kr, i = t && t.strategy ? t.strategy : Qr;
1156
+ var n = t && t.cache ? t.cache : Kr, r = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : qr;
1128
1157
  return i(e, {
1129
1158
  cache: n,
1130
1159
  serializer: r
1131
1160
  });
1132
1161
  }
1133
- function qr(e) {
1162
+ function Zr(e) {
1134
1163
  return e == null || typeof e == "number" || typeof e == "boolean";
1135
1164
  }
1136
1165
  function dn(e, t, n, r) {
1137
- var i = qr(r) ? r : n(r), o = t.get(i);
1166
+ var i = Zr(r) ? r : n(r), o = t.get(i);
1138
1167
  return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1139
1168
  }
1140
1169
  function pn(e, t, n) {
@@ -1144,17 +1173,17 @@ function pn(e, t, n) {
1144
1173
  function bt(e, t, n, r, i) {
1145
1174
  return n.bind(t, e, r, i);
1146
1175
  }
1147
- function Qr(e, t) {
1176
+ function qr(e, t) {
1148
1177
  var n = e.length === 1 ? dn : pn;
1149
1178
  return bt(e, this, n, t.cache.create(), t.serializer);
1150
1179
  }
1151
- function Jr(e, t) {
1180
+ function Qr(e, t) {
1152
1181
  return bt(e, this, pn, t.cache.create(), t.serializer);
1153
1182
  }
1154
- function Yr(e, t) {
1183
+ function Jr(e, t) {
1155
1184
  return bt(e, this, dn, t.cache.create(), t.serializer);
1156
1185
  }
1157
- var Kr = function() {
1186
+ var Yr = function() {
1158
1187
  return JSON.stringify(arguments);
1159
1188
  };
1160
1189
  function vt() {
@@ -1166,51 +1195,51 @@ vt.prototype.get = function(e) {
1166
1195
  vt.prototype.set = function(e, t) {
1167
1196
  this.cache[e] = t;
1168
1197
  };
1169
- var ei = {
1198
+ var Kr = {
1170
1199
  create: function() {
1171
1200
  return new vt();
1172
1201
  }
1173
1202
  }, Ze = {
1174
- variadic: Jr,
1175
- monadic: Yr
1203
+ variadic: Qr,
1204
+ monadic: Jr
1176
1205
  }, x;
1177
1206
  (function(e) {
1178
1207
  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";
1179
1208
  })(x || (x = {}));
1180
- var I;
1209
+ var O;
1181
1210
  (function(e) {
1182
1211
  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";
1183
- })(I || (I = {}));
1212
+ })(O || (O = {}));
1184
1213
  var pe;
1185
1214
  (function(e) {
1186
1215
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1187
1216
  })(pe || (pe = {}));
1188
1217
  function It(e) {
1189
- return e.type === I.literal;
1218
+ return e.type === O.literal;
1190
1219
  }
1191
- function ti(e) {
1192
- return e.type === I.argument;
1220
+ function ei(e) {
1221
+ return e.type === O.argument;
1193
1222
  }
1194
1223
  function mn(e) {
1195
- return e.type === I.number;
1224
+ return e.type === O.number;
1196
1225
  }
1197
1226
  function bn(e) {
1198
- return e.type === I.date;
1227
+ return e.type === O.date;
1199
1228
  }
1200
1229
  function vn(e) {
1201
- return e.type === I.time;
1230
+ return e.type === O.time;
1202
1231
  }
1203
1232
  function gn(e) {
1204
- return e.type === I.select;
1233
+ return e.type === O.select;
1205
1234
  }
1206
1235
  function yn(e) {
1207
- return e.type === I.plural;
1236
+ return e.type === O.plural;
1208
1237
  }
1209
- function ni(e) {
1210
- return e.type === I.pound;
1238
+ function ti(e) {
1239
+ return e.type === O.pound;
1211
1240
  }
1212
1241
  function _n(e) {
1213
- return e.type === I.tag;
1242
+ return e.type === O.tag;
1214
1243
  }
1215
1244
  function Bn(e) {
1216
1245
  return !!(e && typeof e == "object" && e.type === pe.number);
@@ -1218,10 +1247,10 @@ function Bn(e) {
1218
1247
  function st(e) {
1219
1248
  return !!(e && typeof e == "object" && e.type === pe.dateTime);
1220
1249
  }
1221
- var En = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
1222
- function ii(e) {
1250
+ var En = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1251
+ function ri(e) {
1223
1252
  var t = {};
1224
- return e.replace(ri, function(n) {
1253
+ return e.replace(ni, function(n) {
1225
1254
  var r = n.length;
1226
1255
  switch (n[0]) {
1227
1256
  case "G":
@@ -1310,29 +1339,29 @@ function ii(e) {
1310
1339
  return "";
1311
1340
  }), t;
1312
1341
  }
1313
- var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1314
- function si(e) {
1342
+ var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function oi(e) {
1315
1344
  if (e.length === 0)
1316
1345
  throw new Error("Number skeleton cannot be empty");
1317
- for (var t = e.split(oi).filter(function(h) {
1318
- return h.length > 0;
1346
+ for (var t = e.split(ii).filter(function(f) {
1347
+ return f.length > 0;
1319
1348
  }), n = [], r = 0, i = t; r < i.length; r++) {
1320
1349
  var o = i[r], s = o.split("/");
1321
1350
  if (s.length === 0)
1322
1351
  throw new Error("Invalid number skeleton");
1323
1352
  for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
1324
- var f = c[u];
1325
- if (f.length === 0)
1353
+ var h = c[u];
1354
+ if (h.length === 0)
1326
1355
  throw new Error("Invalid number skeleton");
1327
1356
  }
1328
1357
  n.push({ stem: a, options: l });
1329
1358
  }
1330
1359
  return n;
1331
1360
  }
1332
- function ai(e) {
1361
+ function si(e) {
1333
1362
  return e.replace(/^(.*?)-/, "");
1334
1363
  }
1335
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xn = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, wn = /^(0+)$/;
1364
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xn = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, wn = /^(0+)$/;
1336
1365
  function Nt(e) {
1337
1366
  var t = {};
1338
1367
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xn, function(n, r, i) {
@@ -1379,7 +1408,7 @@ function Cn(e) {
1379
1408
  };
1380
1409
  }
1381
1410
  }
1382
- function li(e) {
1411
+ function ui(e) {
1383
1412
  var t;
1384
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1385
1414
  notation: "engineering"
@@ -1397,7 +1426,7 @@ function Lt(e) {
1397
1426
  var t = {}, n = Cn(e);
1398
1427
  return n || t;
1399
1428
  }
1400
- function ci(e) {
1429
+ function li(e) {
1401
1430
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1402
1431
  var i = r[n];
1403
1432
  switch (i.stem) {
@@ -1421,7 +1450,7 @@ function ci(e) {
1421
1450
  continue;
1422
1451
  case "measure-unit":
1423
1452
  case "unit":
1424
- t.style = "unit", t.unit = ai(i.options[0]);
1453
+ t.style = "unit", t.unit = si(i.options[0]);
1425
1454
  continue;
1426
1455
  case "compact-short":
1427
1456
  case "K":
@@ -1483,11 +1512,11 @@ function ci(e) {
1483
1512
  case "integer-width":
1484
1513
  if (i.options.length > 1)
1485
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1486
- i.options[0].replace(ui, function(l, u, c, f, h, p) {
1515
+ i.options[0].replace(ai, function(l, u, c, h, f, p) {
1487
1516
  if (u)
1488
1517
  t.minimumIntegerDigits = c.length;
1489
1518
  else {
1490
- if (f && h)
1519
+ if (h && f)
1491
1520
  throw new Error("We currently do not support maximum integer digits");
1492
1521
  if (p)
1493
1522
  throw new Error("We currently do not support exact integer digits");
@@ -1503,8 +1532,8 @@ function ci(e) {
1503
1532
  if (Ot.test(i.stem)) {
1504
1533
  if (i.options.length > 1)
1505
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1506
- i.stem.replace(Ot, function(l, u, c, f, h, p) {
1507
- return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && p ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1535
+ i.stem.replace(Ot, function(l, u, c, h, f, p) {
1536
+ return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1508
1537
  });
1509
1538
  var o = i.options[0];
1510
1539
  o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Nt(o)));
@@ -1516,7 +1545,7 @@ function ci(e) {
1516
1545
  }
1517
1546
  var s = Cn(i.stem);
1518
1547
  s && (t = A(A({}, t), s));
1519
- var a = li(i.stem);
1548
+ var a = ui(i.stem);
1520
1549
  a && (t = A(A({}, t), a));
1521
1550
  }
1522
1551
  return t;
@@ -2936,22 +2965,23 @@ var He = {
2936
2965
  "h"
2937
2966
  ]
2938
2967
  };
2939
- function hi(e, t) {
2968
+ function ci(e, t) {
2940
2969
  for (var n = "", r = 0; r < e.length; r++) {
2941
2970
  var i = e.charAt(r);
2942
2971
  if (i === "j") {
2943
2972
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2944
2973
  o++, r++;
2945
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = fi(t);
2974
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hi(t);
2946
2975
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2947
2976
  n += l;
2948
2977
  for (; s-- > 0; )
2949
2978
  n = u + n;
2950
- } else i === "J" ? n += "H" : n += i;
2979
+ } else
2980
+ i === "J" ? n += "H" : n += i;
2951
2981
  }
2952
2982
  return n;
2953
2983
  }
2954
- function fi(e) {
2984
+ function hi(e) {
2955
2985
  var t = e.hourCycle;
2956
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2957
2987
  e.hourCycles && // @ts-ignore
@@ -2973,20 +3003,20 @@ function fi(e) {
2973
3003
  var i = He[r || ""] || He[n || ""] || He["".concat(n, "-001")] || He["001"];
2974
3004
  return i[0];
2975
3005
  }
2976
- var qe, di = new RegExp("^".concat(En.source, "*")), pi = new RegExp("".concat(En.source, "*$"));
2977
- function S(e, t) {
3006
+ var qe, fi = new RegExp("^".concat(En.source, "*")), di = new RegExp("".concat(En.source, "*$"));
3007
+ function w(e, t) {
2978
3008
  return { start: e, end: t };
2979
3009
  }
2980
- var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, vi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Ei = Bi ? Number.isSafeInteger : function(e) {
3010
+ var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Bi = _i ? Number.isSafeInteger : function(e) {
2981
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2982
3012
  }, at = !0;
2983
3013
  try {
2984
- var xi = An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2985
- at = ((qe = xi.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
3014
+ var Ei = An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ at = ((qe = Ei.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
2986
3016
  } catch {
2987
3017
  at = !1;
2988
3018
  }
2989
- var Rt = mi ? (
3019
+ var Rt = pi ? (
2990
3020
  // Native
2991
3021
  function(t, n, r) {
2992
3022
  return t.startsWith(n, r);
@@ -2996,7 +3026,7 @@ var Rt = mi ? (
2996
3026
  function(t, n, r) {
2997
3027
  return t.slice(r, r + n.length) === n;
2998
3028
  }
2999
- ), ut = bi ? String.fromCodePoint : (
3029
+ ), ut = mi ? String.fromCodePoint : (
3000
3030
  // IE11
3001
3031
  function() {
3002
3032
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3010,7 +3040,7 @@ var Rt = mi ? (
3010
3040
  }
3011
3041
  ), $t = (
3012
3042
  // native
3013
- vi ? Object.fromEntries : (
3043
+ bi ? Object.fromEntries : (
3014
3044
  // Ponyfill
3015
3045
  function(t) {
3016
3046
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -3020,7 +3050,7 @@ var Rt = mi ? (
3020
3050
  return n;
3021
3051
  }
3022
3052
  )
3023
- ), Sn = gi ? (
3053
+ ), Sn = vi ? (
3024
3054
  // Native
3025
3055
  function(t, n) {
3026
3056
  return t.codePointAt(n);
@@ -3034,7 +3064,7 @@ var Rt = mi ? (
3034
3064
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3035
3065
  }
3036
3066
  }
3037
- ), wi = yi ? (
3067
+ ), xi = gi ? (
3038
3068
  // Native
3039
3069
  function(t) {
3040
3070
  return t.trimStart();
@@ -3042,9 +3072,9 @@ var Rt = mi ? (
3042
3072
  ) : (
3043
3073
  // Ponyfill
3044
3074
  function(t) {
3045
- return t.replace(di, "");
3075
+ return t.replace(fi, "");
3046
3076
  }
3047
- ), Ci = _i ? (
3077
+ ), wi = yi ? (
3048
3078
  // Native
3049
3079
  function(t) {
3050
3080
  return t.trimEnd();
@@ -3052,7 +3082,7 @@ var Rt = mi ? (
3052
3082
  ) : (
3053
3083
  // Ponyfill
3054
3084
  function(t) {
3055
- return t.replace(pi, "");
3085
+ return t.replace(di, "");
3056
3086
  }
3057
3087
  );
3058
3088
  function An(e, t) {
@@ -3071,13 +3101,13 @@ if (at) {
3071
3101
  lt = function(t, n) {
3072
3102
  for (var r = []; ; ) {
3073
3103
  var i = Sn(t, n);
3074
- if (i === void 0 || Tn(i) || Pi(i))
3104
+ if (i === void 0 || Tn(i) || Ti(i))
3075
3105
  break;
3076
3106
  r.push(i), n += i >= 65536 ? 2 : 1;
3077
3107
  }
3078
3108
  return ut.apply(void 0, r);
3079
3109
  };
3080
- var Si = (
3110
+ var Ci = (
3081
3111
  /** @class */
3082
3112
  function() {
3083
3113
  function e(t, n) {
@@ -3101,13 +3131,13 @@ var Si = (
3101
3131
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
3102
3132
  var a = this.clonePosition();
3103
3133
  this.bump(), i.push({
3104
- type: I.pound,
3105
- location: S(a, this.clonePosition())
3134
+ type: O.pound,
3135
+ location: w(a, this.clonePosition())
3106
3136
  });
3107
3137
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3108
3138
  if (r)
3109
3139
  break;
3110
- return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3140
+ return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3111
3141
  } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3112
3142
  var s = this.parseTag(t, n);
3113
3143
  if (s.err)
@@ -3129,9 +3159,9 @@ var Si = (
3129
3159
  if (this.bumpSpace(), this.bumpIf("/>"))
3130
3160
  return {
3131
3161
  val: {
3132
- type: I.literal,
3162
+ type: O.literal,
3133
3163
  value: "<".concat(i, "/>"),
3134
- location: S(r, this.clonePosition())
3164
+ location: w(r, this.clonePosition())
3135
3165
  },
3136
3166
  err: null
3137
3167
  };
@@ -3142,24 +3172,24 @@ var Si = (
3142
3172
  var s = o.val, a = this.clonePosition();
3143
3173
  if (this.bumpIf("</")) {
3144
3174
  if (this.isEOF() || !ct(this.char()))
3145
- return this.error(x.INVALID_TAG, S(a, this.clonePosition()));
3175
+ return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3146
3176
  var l = this.clonePosition(), u = this.parseTagName();
3147
- return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3177
+ return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3148
3178
  val: {
3149
- type: I.tag,
3179
+ type: O.tag,
3150
3180
  value: i,
3151
3181
  children: s,
3152
- location: S(r, this.clonePosition())
3182
+ location: w(r, this.clonePosition())
3153
3183
  },
3154
3184
  err: null
3155
- } : this.error(x.INVALID_TAG, S(a, this.clonePosition())));
3185
+ } : this.error(x.INVALID_TAG, w(a, this.clonePosition())));
3156
3186
  } else
3157
- return this.error(x.UNCLOSED_TAG, S(r, this.clonePosition()));
3187
+ return this.error(x.UNCLOSED_TAG, w(r, this.clonePosition()));
3158
3188
  } else
3159
- return this.error(x.INVALID_TAG, S(r, this.clonePosition()));
3189
+ return this.error(x.INVALID_TAG, w(r, this.clonePosition()));
3160
3190
  }, e.prototype.parseTagName = function() {
3161
3191
  var t = this.offset();
3162
- for (this.bump(); !this.isEOF() && Ti(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
3163
3193
  this.bump();
3164
3194
  return this.message.slice(t, this.offset());
3165
3195
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3181,14 +3211,14 @@ var Si = (
3181
3211
  }
3182
3212
  break;
3183
3213
  }
3184
- var l = S(r, this.clonePosition());
3214
+ var l = w(r, this.clonePosition());
3185
3215
  return {
3186
- val: { type: I.literal, value: i, location: l },
3216
+ val: { type: O.literal, value: i, location: l },
3187
3217
  err: null
3188
3218
  };
3189
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3190
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3191
- !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3192
3222
  }, e.prototype.tryParseQuote = function(t) {
3193
3223
  if (this.isEOF() || this.char() !== 39)
3194
3224
  return null;
@@ -3231,40 +3261,40 @@ var Si = (
3231
3261
  }, e.prototype.parseArgument = function(t, n) {
3232
3262
  var r = this.clonePosition();
3233
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
3234
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
3264
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition()));
3235
3265
  if (this.char() === 125)
3236
- return this.bump(), this.error(x.EMPTY_ARGUMENT, S(r, this.clonePosition()));
3266
+ return this.bump(), this.error(x.EMPTY_ARGUMENT, w(r, this.clonePosition()));
3237
3267
  var i = this.parseIdentifierIfPossible().value;
3238
3268
  if (!i)
3239
- return this.error(x.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3269
+ return this.error(x.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
3240
3270
  if (this.bumpSpace(), this.isEOF())
3241
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
3271
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition()));
3242
3272
  switch (this.char()) {
3243
3273
  case 125:
3244
3274
  return this.bump(), {
3245
3275
  val: {
3246
- type: I.argument,
3276
+ type: O.argument,
3247
3277
  // value does not include the opening and closing braces.
3248
3278
  value: i,
3249
- location: S(r, this.clonePosition())
3279
+ location: w(r, this.clonePosition())
3250
3280
  },
3251
3281
  err: null
3252
3282
  };
3253
3283
  case 44:
3254
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3284
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3255
3285
  default:
3256
- return this.error(x.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3286
+ return this.error(x.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
3257
3287
  }
3258
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3259
3289
  var t = this.clonePosition(), n = this.offset(), r = lt(this.message, n), i = n + r.length;
3260
3290
  this.bumpTo(i);
3261
- var o = this.clonePosition(), s = S(t, o);
3291
+ var o = this.clonePosition(), s = w(t, o);
3262
3292
  return { value: r, location: s };
3263
3293
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3264
3294
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3265
3295
  switch (a) {
3266
3296
  case "":
3267
- return this.error(x.EXPECT_ARGUMENT_TYPE, S(s, l));
3297
+ return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, l));
3268
3298
  case "number":
3269
3299
  case "date":
3270
3300
  case "time": {
@@ -3272,47 +3302,47 @@ var Si = (
3272
3302
  var u = null;
3273
3303
  if (this.bumpIf(",")) {
3274
3304
  this.bumpSpace();
3275
- var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3276
- if (f.err)
3277
- return f;
3278
- var h = Ci(f.val);
3279
- if (h.length === 0)
3280
- return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3281
- var p = S(c, this.clonePosition());
3282
- u = { style: h, styleLocation: p };
3305
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3306
+ if (h.err)
3307
+ return h;
3308
+ var f = wi(h.val);
3309
+ if (f.length === 0)
3310
+ return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3311
+ var p = w(c, this.clonePosition());
3312
+ u = { style: f, styleLocation: p };
3283
3313
  }
3284
3314
  var b = this.tryParseArgumentClose(i);
3285
3315
  if (b.err)
3286
3316
  return b;
3287
- var d = S(i, this.clonePosition());
3317
+ var d = w(i, this.clonePosition());
3288
3318
  if (u && Rt(u?.style, "::", 0)) {
3289
- var w = wi(u.style.slice(2));
3319
+ var C = xi(u.style.slice(2));
3290
3320
  if (a === "number") {
3291
- var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3292
- return f.err ? f : {
3293
- val: { type: I.number, value: r, location: d, style: f.val },
3321
+ var h = this.parseNumberSkeletonFromString(C, u.styleLocation);
3322
+ return h.err ? h : {
3323
+ val: { type: O.number, value: r, location: d, style: h.val },
3294
3324
  err: null
3295
3325
  };
3296
3326
  } else {
3297
- if (w.length === 0)
3327
+ if (C.length === 0)
3298
3328
  return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3299
- var y = w;
3300
- this.locale && (y = hi(w, this.locale));
3301
- var h = {
3329
+ var _ = C;
3330
+ this.locale && (_ = ci(C, this.locale));
3331
+ var f = {
3302
3332
  type: pe.dateTime,
3303
- pattern: y,
3333
+ pattern: _,
3304
3334
  location: u.styleLocation,
3305
- parsedOptions: this.shouldParseSkeletons ? ii(y) : {}
3306
- }, _ = a === "date" ? I.date : I.time;
3335
+ parsedOptions: this.shouldParseSkeletons ? ri(_) : {}
3336
+ }, g = a === "date" ? O.date : O.time;
3307
3337
  return {
3308
- val: { type: _, value: r, location: d, style: h },
3338
+ val: { type: g, value: r, location: d, style: f },
3309
3339
  err: null
3310
3340
  };
3311
3341
  }
3312
3342
  }
3313
3343
  return {
3314
3344
  val: {
3315
- type: a === "number" ? I.number : a === "date" ? I.date : I.time,
3345
+ type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3316
3346
  value: r,
3317
3347
  location: d,
3318
3348
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3325,50 +3355,50 @@ var Si = (
3325
3355
  case "select": {
3326
3356
  var M = this.clonePosition();
3327
3357
  if (this.bumpSpace(), !this.bumpIf(","))
3328
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(M, A({}, M)));
3358
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(M, A({}, M)));
3329
3359
  this.bumpSpace();
3330
- var O = this.parseIdentifierIfPossible(), T = 0;
3331
- if (a !== "select" && O.value === "offset") {
3360
+ var N = this.parseIdentifierIfPossible(), T = 0;
3361
+ if (a !== "select" && N.value === "offset") {
3332
3362
  if (!this.bumpIf(":"))
3333
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3363
+ return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3334
3364
  this.bumpSpace();
3335
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3336
- if (f.err)
3337
- return f;
3338
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), T = f.val;
3365
+ var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3366
+ if (h.err)
3367
+ return h;
3368
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = h.val;
3339
3369
  }
3340
- var C = this.tryParsePluralOrSelectOptions(t, a, n, O);
3341
- if (C.err)
3342
- return C;
3370
+ var E = this.tryParsePluralOrSelectOptions(t, a, n, N);
3371
+ if (E.err)
3372
+ return E;
3343
3373
  var b = this.tryParseArgumentClose(i);
3344
3374
  if (b.err)
3345
3375
  return b;
3346
- var N = S(i, this.clonePosition());
3376
+ var L = w(i, this.clonePosition());
3347
3377
  return a === "select" ? {
3348
3378
  val: {
3349
- type: I.select,
3379
+ type: O.select,
3350
3380
  value: r,
3351
- options: $t(C.val),
3352
- location: N
3381
+ options: $t(E.val),
3382
+ location: L
3353
3383
  },
3354
3384
  err: null
3355
3385
  } : {
3356
3386
  val: {
3357
- type: I.plural,
3387
+ type: O.plural,
3358
3388
  value: r,
3359
- options: $t(C.val),
3389
+ options: $t(E.val),
3360
3390
  offset: T,
3361
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3362
- location: N
3392
+ location: L
3363
3393
  },
3364
3394
  err: null
3365
3395
  };
3366
3396
  }
3367
3397
  default:
3368
- return this.error(x.INVALID_ARGUMENT_TYPE, S(s, l));
3398
+ return this.error(x.INVALID_ARGUMENT_TYPE, w(s, l));
3369
3399
  }
3370
3400
  }, e.prototype.tryParseArgumentClose = function(t) {
3371
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3401
+ return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3372
3402
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3373
3403
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3374
3404
  var r = this.char();
@@ -3377,7 +3407,7 @@ var Si = (
3377
3407
  this.bump();
3378
3408
  var i = this.clonePosition();
3379
3409
  if (!this.bumpUntil("'"))
3380
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3410
+ return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3381
3411
  this.bump();
3382
3412
  break;
3383
3413
  }
@@ -3407,7 +3437,7 @@ var Si = (
3407
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3408
3438
  var r = [];
3409
3439
  try {
3410
- r = si(t);
3440
+ r = oi(t);
3411
3441
  } catch {
3412
3442
  return this.error(x.INVALID_NUMBER_SKELETON, n);
3413
3443
  }
@@ -3416,19 +3446,19 @@ var Si = (
3416
3446
  type: pe.number,
3417
3447
  tokens: r,
3418
3448
  location: n,
3419
- parsedOptions: this.shouldParseSkeletons ? ci(r) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? li(r) : {}
3420
3450
  },
3421
3451
  err: null
3422
3452
  };
3423
3453
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3424
3454
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3425
3455
  if (u.length === 0) {
3426
- var f = this.clonePosition();
3456
+ var h = this.clonePosition();
3427
3457
  if (n !== "select" && this.bumpIf("=")) {
3428
- var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3429
- if (h.err)
3430
- return h;
3431
- c = S(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3458
+ var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3459
+ if (f.err)
3460
+ return f;
3461
+ c = w(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
3432
3462
  } else
3433
3463
  break;
3434
3464
  }
@@ -3437,7 +3467,7 @@ var Si = (
3437
3467
  u === "other" && (s = !0), this.bumpSpace();
3438
3468
  var p = this.clonePosition();
3439
3469
  if (!this.bumpIf("{"))
3440
- return this.error(n === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3470
+ return this.error(n === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3441
3471
  var b = this.parseMessage(t + 1, n, r);
3442
3472
  if (b.err)
3443
3473
  return b;
@@ -3448,11 +3478,11 @@ var Si = (
3448
3478
  u,
3449
3479
  {
3450
3480
  value: b.val,
3451
- location: S(p, this.clonePosition())
3481
+ location: w(p, this.clonePosition())
3452
3482
  }
3453
3483
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3454
3484
  }
3455
- return a.length === 0 ? this.error(n === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3485
+ return a.length === 0 ? this.error(n === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3456
3486
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3457
3487
  var r = 1, i = this.clonePosition();
3458
3488
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3463,8 +3493,8 @@ var Si = (
3463
3493
  else
3464
3494
  break;
3465
3495
  }
3466
- var l = S(i, this.clonePosition());
3467
- return o ? (s *= r, Ei(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3496
+ var l = w(i, this.clonePosition());
3497
+ return o ? (s *= r, Bi(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3468
3498
  }, e.prototype.offset = function() {
3469
3499
  return this.position.offset;
3470
3500
  }, e.prototype.isEOF = function() {
@@ -3533,16 +3563,16 @@ var Si = (
3533
3563
  function ct(e) {
3534
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3535
3565
  }
3536
- function Ai(e) {
3566
+ function Si(e) {
3537
3567
  return ct(e) || e === 47;
3538
3568
  }
3539
- function Ti(e) {
3569
+ function Ai(e) {
3540
3570
  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;
3541
3571
  }
3542
3572
  function Tn(e) {
3543
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3544
3574
  }
3545
- function Pi(e) {
3575
+ function Ti(e) {
3546
3576
  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;
3547
3577
  }
3548
3578
  function ht(e) {
@@ -3550,12 +3580,13 @@ function ht(e) {
3550
3580
  if (delete t.location, gn(t) || yn(t))
3551
3581
  for (var n in t.options)
3552
3582
  delete t.options[n].location, ht(t.options[n].value);
3553
- else mn(t) && Bn(t.style) || (bn(t) || vn(t)) && st(t.style) ? delete t.style.location : _n(t) && ht(t.children);
3583
+ else
3584
+ mn(t) && Bn(t.style) || (bn(t) || vn(t)) && st(t.style) ? delete t.style.location : _n(t) && ht(t.children);
3554
3585
  });
3555
3586
  }
3556
- function Mi(e, t) {
3587
+ function Pi(e, t) {
3557
3588
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3558
- var n = new Si(e, t).parse();
3589
+ var n = new Ci(e, t).parse();
3559
3590
  if (n.err) {
3560
3591
  var r = SyntaxError(x[n.err.kind]);
3561
3592
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3587,7 +3618,7 @@ var Ge = (
3587
3618
  }
3588
3619
  return t;
3589
3620
  }(Ge)
3590
- ), Hi = (
3621
+ ), Mi = (
3591
3622
  /** @class */
3592
3623
  function(e) {
3593
3624
  te(t, e);
@@ -3596,7 +3627,7 @@ var Ge = (
3596
3627
  }
3597
3628
  return t;
3598
3629
  }(Ge)
3599
- ), Ii = (
3630
+ ), Hi = (
3600
3631
  /** @class */
3601
3632
  function(e) {
3602
3633
  te(t, e);
@@ -3605,24 +3636,24 @@ var Ge = (
3605
3636
  }
3606
3637
  return t;
3607
3638
  }(Ge)
3608
- ), j;
3639
+ ), k;
3609
3640
  (function(e) {
3610
3641
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3611
- })(j || (j = {}));
3612
- function Oi(e) {
3642
+ })(k || (k = {}));
3643
+ function Ii(e) {
3613
3644
  return e.length < 2 ? e : e.reduce(function(t, n) {
3614
3645
  var r = t[t.length - 1];
3615
- return !r || r.type !== j.literal || n.type !== j.literal ? t.push(n) : r.value += n.value, t;
3646
+ return !r || r.type !== k.literal || n.type !== k.literal ? t.push(n) : r.value += n.value, t;
3616
3647
  }, []);
3617
3648
  }
3618
- function Ni(e) {
3649
+ function Oi(e) {
3619
3650
  return typeof e == "function";
3620
3651
  }
3621
3652
  function Ne(e, t, n, r, i, o, s) {
3622
3653
  if (e.length === 1 && It(e[0]))
3623
3654
  return [
3624
3655
  {
3625
- type: j.literal,
3656
+ type: k.literal,
3626
3657
  value: e[0].value
3627
3658
  }
3628
3659
  ];
@@ -3630,100 +3661,100 @@ function Ne(e, t, n, r, i, o, s) {
3630
3661
  var c = u[l];
3631
3662
  if (It(c)) {
3632
3663
  a.push({
3633
- type: j.literal,
3664
+ type: k.literal,
3634
3665
  value: c.value
3635
3666
  });
3636
3667
  continue;
3637
3668
  }
3638
- if (ni(c)) {
3669
+ if (ti(c)) {
3639
3670
  typeof o == "number" && a.push({
3640
- type: j.literal,
3671
+ type: k.literal,
3641
3672
  value: n.getNumberFormat(t).format(o)
3642
3673
  });
3643
3674
  continue;
3644
3675
  }
3645
- var f = c.value;
3646
- if (!(i && f in i))
3647
- throw new Ii(f, s);
3648
- var h = i[f];
3649
- if (ti(c)) {
3650
- (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3651
- type: typeof h == "string" ? j.literal : j.object,
3652
- value: h
3676
+ var h = c.value;
3677
+ if (!(i && h in i))
3678
+ throw new Hi(h, s);
3679
+ var f = i[h];
3680
+ if (ei(c)) {
3681
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3682
+ type: typeof f == "string" ? k.literal : k.object,
3683
+ value: f
3653
3684
  });
3654
3685
  continue;
3655
3686
  }
3656
3687
  if (bn(c)) {
3657
3688
  var p = typeof c.style == "string" ? r.date[c.style] : st(c.style) ? c.style.parsedOptions : void 0;
3658
3689
  a.push({
3659
- type: j.literal,
3660
- value: n.getDateTimeFormat(t, p).format(h)
3690
+ type: k.literal,
3691
+ value: n.getDateTimeFormat(t, p).format(f)
3661
3692
  });
3662
3693
  continue;
3663
3694
  }
3664
3695
  if (vn(c)) {
3665
3696
  var p = typeof c.style == "string" ? r.time[c.style] : st(c.style) ? c.style.parsedOptions : r.time.medium;
3666
3697
  a.push({
3667
- type: j.literal,
3668
- value: n.getDateTimeFormat(t, p).format(h)
3698
+ type: k.literal,
3699
+ value: n.getDateTimeFormat(t, p).format(f)
3669
3700
  });
3670
3701
  continue;
3671
3702
  }
3672
3703
  if (mn(c)) {
3673
3704
  var p = typeof c.style == "string" ? r.number[c.style] : Bn(c.style) ? c.style.parsedOptions : void 0;
3674
- p && p.scale && (h = h * (p.scale || 1)), a.push({
3675
- type: j.literal,
3676
- value: n.getNumberFormat(t, p).format(h)
3705
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3706
+ type: k.literal,
3707
+ value: n.getNumberFormat(t, p).format(f)
3677
3708
  });
3678
3709
  continue;
3679
3710
  }
3680
3711
  if (_n(c)) {
3681
- var b = c.children, d = c.value, w = i[d];
3682
- if (!Ni(w))
3683
- throw new Hi(d, "function", s);
3684
- var y = Ne(b, t, n, r, i, o), _ = w(y.map(function(T) {
3712
+ var b = c.children, d = c.value, C = i[d];
3713
+ if (!Oi(C))
3714
+ throw new Mi(d, "function", s);
3715
+ var _ = Ne(b, t, n, r, i, o), g = C(_.map(function(T) {
3685
3716
  return T.value;
3686
3717
  }));
3687
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(T) {
3718
+ Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(T) {
3688
3719
  return {
3689
- type: typeof T == "string" ? j.literal : j.object,
3720
+ type: typeof T == "string" ? k.literal : k.object,
3690
3721
  value: T
3691
3722
  };
3692
3723
  }));
3693
3724
  }
3694
3725
  if (gn(c)) {
3695
- var M = c.options[h] || c.options.other;
3726
+ var M = c.options[f] || c.options.other;
3696
3727
  if (!M)
3697
- throw new Ft(c.value, h, Object.keys(c.options), s);
3728
+ throw new Ft(c.value, f, Object.keys(c.options), s);
3698
3729
  a.push.apply(a, Ne(M.value, t, n, r, i));
3699
3730
  continue;
3700
3731
  }
3701
3732
  if (yn(c)) {
3702
- var M = c.options["=".concat(h)];
3733
+ var M = c.options["=".concat(f)];
3703
3734
  if (!M) {
3704
3735
  if (!Intl.PluralRules)
3705
3736
  throw new Ge(`Intl.PluralRules is not available in this environment.
3706
3737
  Try polyfilling it using "@formatjs/intl-pluralrules"
3707
3738
  `, me.MISSING_INTL_API, s);
3708
- var O = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3709
- M = c.options[O] || c.options.other;
3739
+ var N = n.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
3740
+ M = c.options[N] || c.options.other;
3710
3741
  }
3711
3742
  if (!M)
3712
- throw new Ft(c.value, h, Object.keys(c.options), s);
3713
- a.push.apply(a, Ne(M.value, t, n, r, i, h - (c.offset || 0)));
3743
+ throw new Ft(c.value, f, Object.keys(c.options), s);
3744
+ a.push.apply(a, Ne(M.value, t, n, r, i, f - (c.offset || 0)));
3714
3745
  continue;
3715
3746
  }
3716
3747
  }
3717
- return Oi(a);
3748
+ return Ii(a);
3718
3749
  }
3719
- function Li(e, t) {
3750
+ function Ni(e, t) {
3720
3751
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3721
3752
  return n[r] = A(A({}, e[r]), t[r] || {}), n;
3722
3753
  }, {})) : e;
3723
3754
  }
3724
- function Ri(e, t) {
3755
+ function Li(e, t) {
3725
3756
  return t ? Object.keys(e).reduce(function(n, r) {
3726
- return n[r] = Li(e[r], t[r]), n;
3757
+ return n[r] = Ni(e[r], t[r]), n;
3727
3758
  }, A({}, e)) : e;
3728
3759
  }
3729
3760
  function Qe(e) {
@@ -3740,7 +3771,7 @@ function Qe(e) {
3740
3771
  }
3741
3772
  };
3742
3773
  }
3743
- function $i(e) {
3774
+ function Ri(e) {
3744
3775
  return e === void 0 && (e = {
3745
3776
  number: {},
3746
3777
  dateTime: {},
@@ -3772,7 +3803,7 @@ function $i(e) {
3772
3803
  })
3773
3804
  };
3774
3805
  }
3775
- var Di = (
3806
+ var $i = (
3776
3807
  /** @class */
3777
3808
  function() {
3778
3809
  function e(t, n, r, i) {
@@ -3786,8 +3817,8 @@ var Di = (
3786
3817
  var u = o.formatToParts(l);
3787
3818
  if (u.length === 1)
3788
3819
  return u[0].value;
3789
- var c = u.reduce(function(f, h) {
3790
- return !f.length || h.type !== j.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3820
+ var c = u.reduce(function(h, f) {
3821
+ return !h.length || f.type !== k.literal || typeof h[h.length - 1] != "string" ? h.push(f.value) : h[h.length - 1] += f.value, h;
3791
3822
  }, []);
3792
3823
  return c.length <= 1 ? c[0] || "" : c;
3793
3824
  }, this.formatToParts = function(l) {
@@ -3804,13 +3835,13 @@ var Di = (
3804
3835
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3805
3836
  var s = i || {};
3806
3837
  s.formatters;
3807
- var a = vr(s, ["formatters"]);
3838
+ var a = br(s, ["formatters"]);
3808
3839
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3809
3840
  } else
3810
3841
  this.ast = t;
3811
3842
  if (!Array.isArray(this.ast))
3812
3843
  throw new TypeError("A message must be provided as a String or AST.");
3813
- this.formats = Ri(e.formats, r), this.formatters = i && i.formatters || $i(this.formatterCache);
3844
+ this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Ri(this.formatterCache);
3814
3845
  }
3815
3846
  return Object.defineProperty(e, "defaultLocale", {
3816
3847
  get: function() {
@@ -3823,7 +3854,7 @@ var Di = (
3823
3854
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3824
3855
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3825
3856
  }
3826
- }, e.__parse = Mi, e.formats = {
3857
+ }, e.__parse = Pi, e.formats = {
3827
3858
  number: {
3828
3859
  integer: {
3829
3860
  maximumFractionDigits: 0
@@ -3884,7 +3915,7 @@ var Di = (
3884
3915
  }, e;
3885
3916
  }()
3886
3917
  );
3887
- function Fi(e, t) {
3918
+ function Di(e, t) {
3888
3919
  if (t == null)
3889
3920
  return;
3890
3921
  if (t in e)
@@ -3905,33 +3936,33 @@ function Fi(e, t) {
3905
3936
  r = void 0;
3906
3937
  return r;
3907
3938
  }
3908
- const re = {}, Ui = (e, t, n) => n && (t in re || (re[t] = {}), e in re[t] || (re[t][e] = n), n), Pn = (e, t) => {
3939
+ const re = {}, Fi = (e, t, n) => n && (t in re || (re[t] = {}), e in re[t] || (re[t][e] = n), n), Pn = (e, t) => {
3909
3940
  if (t == null)
3910
3941
  return;
3911
3942
  if (t in re && e in re[t])
3912
3943
  return re[t][e];
3913
3944
  const n = ke(t);
3914
3945
  for (let r = 0; r < n.length; r++) {
3915
- const i = n[r], o = ki(i, e);
3946
+ const i = n[r], o = Gi(i, e);
3916
3947
  if (o)
3917
- return Ui(e, t, o);
3948
+ return Fi(e, t, o);
3918
3949
  }
3919
3950
  };
3920
3951
  let gt;
3921
- const Se = Ue({});
3922
- function Gi(e) {
3952
+ const Ce = Ue({});
3953
+ function Ui(e) {
3923
3954
  return gt[e] || null;
3924
3955
  }
3925
3956
  function Mn(e) {
3926
3957
  return e in gt;
3927
3958
  }
3928
- function ki(e, t) {
3959
+ function Gi(e, t) {
3929
3960
  if (!Mn(e))
3930
3961
  return null;
3931
- const n = Gi(e);
3932
- return Fi(n, t);
3962
+ const n = Ui(e);
3963
+ return Di(n, t);
3933
3964
  }
3934
- function ji(e) {
3965
+ function ki(e) {
3935
3966
  if (e == null)
3936
3967
  return;
3937
3968
  const t = ke(e);
@@ -3942,21 +3973,21 @@ function ji(e) {
3942
3973
  }
3943
3974
  }
3944
3975
  function Hn(e, ...t) {
3945
- delete re[e], Se.update((n) => (n[e] = Zr.all([n[e] || {}, ...t]), n));
3976
+ delete re[e], Ce.update((n) => (n[e] = Xr.all([n[e] || {}, ...t]), n));
3946
3977
  }
3947
3978
  ve(
3948
- [Se],
3979
+ [Ce],
3949
3980
  ([e]) => Object.keys(e)
3950
3981
  );
3951
- Se.subscribe((e) => gt = e);
3982
+ Ce.subscribe((e) => gt = e);
3952
3983
  const Le = {};
3953
- function Wi(e, t) {
3984
+ function ji(e, t) {
3954
3985
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
3955
3986
  }
3956
3987
  function In(e) {
3957
3988
  return Le[e];
3958
3989
  }
3959
- function Vi(e) {
3990
+ function Wi(e) {
3960
3991
  return ke(e).map((t) => {
3961
3992
  const n = In(t);
3962
3993
  return [t, n ? [...n] : []];
@@ -3970,27 +4001,27 @@ function ft(e) {
3970
4001
  }
3971
4002
  );
3972
4003
  }
3973
- function zi(e, t) {
4004
+ function Vi(e, t) {
3974
4005
  return Promise.all(
3975
- t.map((r) => (Wi(e, r), r().then((i) => i.default || i)))
4006
+ t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
3976
4007
  ).then((r) => Hn(e, ...r));
3977
4008
  }
3978
- const Be = {};
4009
+ const _e = {};
3979
4010
  function On(e) {
3980
4011
  if (!ft(e))
3981
- return e in Be ? Be[e] : Promise.resolve();
3982
- const t = Vi(e);
3983
- return Be[e] = Promise.all(
4012
+ return e in _e ? _e[e] : Promise.resolve();
4013
+ const t = Wi(e);
4014
+ return _e[e] = Promise.all(
3984
4015
  t.map(
3985
- ([n, r]) => zi(n, r)
4016
+ ([n, r]) => Vi(n, r)
3986
4017
  )
3987
4018
  ).then(() => {
3988
4019
  if (ft(e))
3989
4020
  return On(e);
3990
- delete Be[e];
3991
- }), Be[e];
4021
+ delete _e[e];
4022
+ }), _e[e];
3992
4023
  }
3993
- const Xi = {
4024
+ const zi = {
3994
4025
  number: {
3995
4026
  scientific: { notation: "scientific" },
3996
4027
  engineering: { notation: "engineering" },
@@ -4019,26 +4050,26 @@ const Xi = {
4019
4050
  timeZoneName: "short"
4020
4051
  }
4021
4052
  }
4022
- }, Zi = {
4053
+ }, Xi = {
4023
4054
  fallbackLocale: null,
4024
4055
  loadingDelay: 200,
4025
- formats: Xi,
4056
+ formats: zi,
4026
4057
  warnOnMissingMessages: !0,
4027
4058
  handleMissingMessage: void 0,
4028
4059
  ignoreTag: !0
4029
- }, qi = Zi;
4060
+ }, Zi = Xi;
4030
4061
  function be() {
4031
- return qi;
4062
+ return Zi;
4032
4063
  }
4033
4064
  const Je = Ue(!1);
4034
- var Qi = Object.defineProperty, Ji = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, to = (e, t) => {
4065
+ var qi = Object.defineProperty, Qi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, eo = (e, t) => {
4035
4066
  for (var n in t || (t = {}))
4036
- Ki.call(t, n) && Gt(e, n, t[n]);
4067
+ Yi.call(t, n) && Gt(e, n, t[n]);
4037
4068
  if (Ut)
4038
4069
  for (var n of Ut(t))
4039
- eo.call(t, n) && Gt(e, n, t[n]);
4070
+ Ki.call(t, n) && Gt(e, n, t[n]);
4040
4071
  return e;
4041
- }, no = (e, t) => Ji(e, Yi(t));
4072
+ }, to = (e, t) => Qi(e, Ji(t));
4042
4073
  let dt;
4043
4074
  const $e = Ue(null);
4044
4075
  function kt(e) {
@@ -4048,17 +4079,17 @@ function ke(e, t = be().fallbackLocale) {
4048
4079
  const n = kt(e);
4049
4080
  return t ? [.../* @__PURE__ */ new Set([...n, ...kt(t)])] : n;
4050
4081
  }
4051
- function oe() {
4082
+ function se() {
4052
4083
  return dt ?? void 0;
4053
4084
  }
4054
4085
  $e.subscribe((e) => {
4055
4086
  dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4056
4087
  });
4057
- const ro = (e) => {
4058
- if (e && ji(e) && ft(e)) {
4088
+ const no = (e) => {
4089
+ if (e && ki(e) && ft(e)) {
4059
4090
  const { loadingDelay: t } = be();
4060
4091
  let n;
4061
- return typeof window < "u" && oe() != null && t ? n = window.setTimeout(
4092
+ return typeof window < "u" && se() != null && t ? n = window.setTimeout(
4062
4093
  () => Je.set(!0),
4063
4094
  t
4064
4095
  ) : Je.set(!0), On(e).then(() => {
@@ -4068,8 +4099,8 @@ const ro = (e) => {
4068
4099
  });
4069
4100
  }
4070
4101
  return $e.set(e);
4071
- }, ge = no(to({}, $e), {
4072
- set: ro
4102
+ }, ge = to(eo({}, $e), {
4103
+ set: no
4073
4104
  }), je = (e) => {
4074
4105
  const t = /* @__PURE__ */ Object.create(null);
4075
4106
  return (r) => {
@@ -4077,7 +4108,7 @@ const ro = (e) => {
4077
4108
  return i in t ? t[i] : t[i] = e(r);
4078
4109
  };
4079
4110
  };
4080
- var io = Object.defineProperty, De = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, jt = (e, t, n) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yt = (e, t) => {
4111
+ var ro = Object.defineProperty, De = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, jt = (e, t, n) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yt = (e, t) => {
4081
4112
  for (var n in t || (t = {}))
4082
4113
  Nn.call(t, n) && jt(e, n, t[n]);
4083
4114
  if (De)
@@ -4093,67 +4124,67 @@ var io = Object.defineProperty, De = Object.getOwnPropertySymbols, Nn = Object.p
4093
4124
  t.indexOf(r) < 0 && Ln.call(e, r) && (n[r] = e[r]);
4094
4125
  return n;
4095
4126
  };
4096
- const Ce = (e, t) => {
4127
+ const we = (e, t) => {
4097
4128
  const { formats: n } = be();
4098
4129
  if (e in n && t in n[e])
4099
4130
  return n[e][t];
4100
4131
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4101
- }, oo = je(
4132
+ }, io = je(
4102
4133
  (e) => {
4103
4134
  var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4104
4135
  if (n == null)
4105
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4106
- return r && (i = Ce("number", r)), new Intl.NumberFormat(n, i);
4137
+ return r && (i = we("number", r)), new Intl.NumberFormat(n, i);
4107
4138
  }
4108
- ), so = je(
4139
+ ), oo = je(
4109
4140
  (e) => {
4110
4141
  var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4111
4142
  if (n == null)
4112
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4113
- return r ? i = Ce("date", r) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(n, i);
4144
+ return r ? i = we("date", r) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(n, i);
4114
4145
  }
4115
- ), ao = je(
4146
+ ), so = je(
4116
4147
  (e) => {
4117
4148
  var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4118
4149
  if (n == null)
4119
4150
  throw new Error(
4120
4151
  '[svelte-i18n] A "locale" must be set to format time values'
4121
4152
  );
4122
- return r ? i = Ce("time", r) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(n, i);
4153
+ return r ? i = we("time", r) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(n, i);
4123
4154
  }
4124
- ), uo = (e = {}) => {
4155
+ ), ao = (e = {}) => {
4125
4156
  var t = e, {
4126
- locale: n = oe()
4157
+ locale: n = se()
4127
4158
  } = t, r = ye(t, [
4128
4159
  "locale"
4129
4160
  ]);
4130
- return oo(yt({ locale: n }, r));
4131
- }, lo = (e = {}) => {
4161
+ return io(yt({ locale: n }, r));
4162
+ }, uo = (e = {}) => {
4132
4163
  var t = e, {
4133
- locale: n = oe()
4164
+ locale: n = se()
4134
4165
  } = t, r = ye(t, [
4135
4166
  "locale"
4136
4167
  ]);
4137
- return so(yt({ locale: n }, r));
4138
- }, co = (e = {}) => {
4168
+ return oo(yt({ locale: n }, r));
4169
+ }, lo = (e = {}) => {
4139
4170
  var t = e, {
4140
- locale: n = oe()
4171
+ locale: n = se()
4141
4172
  } = t, r = ye(t, [
4142
4173
  "locale"
4143
4174
  ]);
4144
- return ao(yt({ locale: n }, r));
4145
- }, ho = je(
4175
+ return so(yt({ locale: n }, r));
4176
+ }, co = je(
4146
4177
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4147
- (e, t = oe()) => new Di(e, t, be().formats, {
4178
+ (e, t = se()) => new $i(e, t, be().formats, {
4148
4179
  ignoreTag: be().ignoreTag
4149
4180
  })
4150
- ), fo = (e, t = {}) => {
4181
+ ), ho = (e, t = {}) => {
4151
4182
  var n, r, i, o;
4152
4183
  let s = t;
4153
4184
  typeof e == "object" && (s = e, e = s.id);
4154
4185
  const {
4155
4186
  values: a,
4156
- locale: l = oe(),
4187
+ locale: l = se(),
4157
4188
  default: u
4158
4189
  } = s;
4159
4190
  if (l == null)
@@ -4169,27 +4200,27 @@ const Ce = (e, t) => {
4169
4200
  ), c;
4170
4201
  if (!a)
4171
4202
  return c;
4172
- let f = c;
4203
+ let h = c;
4173
4204
  try {
4174
- f = ho(c, l).format(a);
4175
- } catch (h) {
4176
- h instanceof Error && console.warn(
4205
+ h = co(c, l).format(a);
4206
+ } catch (f) {
4207
+ f instanceof Error && console.warn(
4177
4208
  `[svelte-i18n] Message "${e}" has syntax error:`,
4178
- h.message
4209
+ f.message
4179
4210
  );
4180
4211
  }
4181
- return f;
4182
- }, po = (e, t) => co(t).format(e), mo = (e, t) => lo(t).format(e), bo = (e, t) => uo(t).format(e), vo = (e, t = oe()) => Pn(e, t), go = ve([ge, Se], () => fo);
4212
+ return h;
4213
+ }, fo = (e, t) => lo(t).format(e), po = (e, t) => uo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = se()) => Pn(e, t), vo = ve([ge, Ce], () => ho);
4214
+ ve([ge], () => fo);
4183
4215
  ve([ge], () => po);
4184
4216
  ve([ge], () => mo);
4185
- ve([ge], () => bo);
4186
- ve([ge, Se], () => vo);
4187
- window.emWidgets = { topic: Hr };
4188
- const yo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4217
+ ve([ge, Ce], () => bo);
4218
+ window.emWidgets = { topic: Mr };
4219
+ const go = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4189
4220
  function Wt(e, t) {
4190
4221
  Hn(e, t);
4191
4222
  }
4192
- function _o(e) {
4223
+ function yo(e) {
4193
4224
  ge.set(e);
4194
4225
  }
4195
4226
  const Vt = {
@@ -4326,6 +4357,29 @@ const Vt = {
4326
4357
  errorMessage: "Invalid bonus"
4327
4358
  }
4328
4359
  };
4360
+ function _o(e, t) {
4361
+ if (e) {
4362
+ const n = document.createElement("style");
4363
+ n.innerHTML = t, e.appendChild(n);
4364
+ }
4365
+ }
4366
+ function Bo(e, t) {
4367
+ const n = new URL(t);
4368
+ fetch(n.href).then((r) => r.text()).then((r) => {
4369
+ const i = document.createElement("style");
4370
+ i.innerHTML = r, e && e.appendChild(i);
4371
+ }).catch((r) => {
4372
+ console.error("There was an error while trying to load client styling from URL", r);
4373
+ });
4374
+ }
4375
+ function Eo(e, t, n) {
4376
+ if (window.emMessageBus) {
4377
+ const r = document.createElement("style");
4378
+ window.emMessageBus.subscribe(t, (i) => {
4379
+ r.innerHTML = i, e && e.appendChild(r);
4380
+ });
4381
+ }
4382
+ }
4329
4383
  if (typeof window < "u") {
4330
4384
  let e = function(t) {
4331
4385
  return function(...n) {
@@ -4338,12 +4392,12 @@ if (typeof window < "u") {
4338
4392
  }
4339
4393
  };
4340
4394
  };
4341
- customElements.define = e(customElements.define), import("./PlayerBonusCard-B-Mv7nr-.js").then(({ default: t }) => {
4395
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-amCuso8e.js").then(({ default: t }) => {
4342
4396
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4343
4397
  });
4344
4398
  }
4345
- function Bo(e) {
4346
- Jn(e, "svelte-1uw0g7j", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4399
+ function xo(e) {
4400
+ Qn(e, "svelte-1uw0g7j", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4347
4401
  }
4348
4402
  function zt(e, t, n) {
4349
4403
  const r = e.slice();
@@ -4353,156 +4407,156 @@ function Xt(e, t, n) {
4353
4407
  const r = e.slice();
4354
4408
  return r[49] = t[n], r;
4355
4409
  }
4356
- function Eo(e) {
4410
+ function wo(e) {
4357
4411
  let t, n, r, i = (
4358
4412
  /*$_*/
4359
- e[14]("titleBonuses") + ""
4413
+ e[16]("titleBonuses") + ""
4360
4414
  ), o, s, a, l, u = (
4361
4415
  /*$_*/
4362
- e[14]("bonusCode") + ""
4363
- ), c, f, h, p, b, d, w = (
4416
+ e[16]("bonusCode") + ""
4417
+ ), c, h, f, p, b, d, C = (
4364
4418
  /*$_*/
4365
- e[14]("getBonus") + ""
4366
- ), y, _, M, O, T, C, N, H, ne, X = (
4419
+ e[16]("getBonus") + ""
4420
+ ), _, g, M, N, T, E, L, I, ne, Q = (
4367
4421
  /*isMobile*/
4368
- e[15] && xo(e)
4369
- ), D = (
4422
+ e[17] && Co(e)
4423
+ ), R = (
4370
4424
  /*invalidBonusCode*/
4371
- e[5] && Zt(e)
4425
+ e[7] && Zt(e)
4372
4426
  );
4373
- function _e(E, L) {
4427
+ function Se(S, H) {
4374
4428
  return (
4375
4429
  /*activeBonusesList*/
4376
- E[12].length === 0 ? Co : wo
4430
+ S[14].length === 0 ? Ao : So
4377
4431
  );
4378
4432
  }
4379
- let se = _e(e), z = se(e), F = (
4433
+ let oe = Se(e), V = oe(e), $ = (
4380
4434
  /*activeBonusesList*/
4381
- e[12].length !== 0 && Qt(e)
4382
- ), U = (
4435
+ e[14].length !== 0 && Qt(e)
4436
+ ), F = (
4383
4437
  /*bonusModal*/
4384
- e[13] && Yt(e)
4438
+ e[15] && Yt(e)
4385
4439
  );
4386
4440
  return {
4387
4441
  c() {
4388
- t = P("div"), X && X.c(), n = W(), r = P("h2"), o = $(i), s = W(), a = P("div"), l = P("label"), c = $(u), f = W(), h = P("div"), p = P("input"), b = W(), d = P("button"), y = $(w), _ = W(), D && D.c(), M = W(), O = P("div"), z.c(), T = W(), F && F.c(), C = W(), U && U.c(), N = mt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4389
- (e[15] ? "ActiveBonusesTitleNone" : "")), B(l, "for", "BonusCode"), B(p, "class", "BonusCodeInput " + /*isMobile*/
4390
- (e[15] ? "BonusCodeInputMobile" : "")), B(p, "type", "text"), B(p, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4391
- (e[15] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
4392
- e[4], B(h, "class", "BonusCodeWrapper " + /*isMobile*/
4393
- (e[15] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4394
- (e[15] ? "BonusCodeContainerMobile" : "")), B(O, "class", "ActiveBonusesGrid " + /*isMobile*/
4395
- (e[15] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4396
- (e[15] ? "ActiveBonusesWrapperMobile" : ""));
4442
+ t = P("div"), Q && Q.c(), n = j(), r = P("h2"), o = D(i), s = j(), a = P("div"), l = P("label"), c = D(u), h = j(), f = P("div"), p = P("input"), b = j(), d = P("button"), _ = D(C), g = j(), R && R.c(), M = j(), N = P("div"), V.c(), T = j(), $ && $.c(), E = j(), F && F.c(), L = mt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4443
+ (e[17] ? "ActiveBonusesTitleNone" : "")), B(l, "for", "BonusCode"), B(p, "class", "BonusCodeInput " + /*isMobile*/
4444
+ (e[17] ? "BonusCodeInputMobile" : "")), B(p, "type", "text"), B(p, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4445
+ (e[17] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
4446
+ e[6], B(f, "class", "BonusCodeWrapper " + /*isMobile*/
4447
+ (e[17] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4448
+ (e[17] ? "BonusCodeContainerMobile" : "")), B(N, "class", "ActiveBonusesGrid " + /*isMobile*/
4449
+ (e[17] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4450
+ (e[17] ? "ActiveBonusesWrapperMobile" : ""));
4397
4451
  },
4398
- m(E, L) {
4399
- V(E, t, L), X && X.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, l), v(l, c), v(a, f), v(a, h), v(h, p), Et(
4452
+ m(S, H) {
4453
+ W(S, t, H), Q && Q.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, l), v(l, c), v(a, h), v(a, f), v(f, p), Et(
4400
4454
  p,
4401
4455
  /*bonusCode*/
4402
- e[6]
4403
- ), v(h, b), v(h, d), v(d, y), v(a, _), D && D.m(a, null), v(t, M), v(t, O), z.m(O, null), v(t, T), F && F.m(t, null), V(E, C, L), U && U.m(E, L), V(E, N, L), H || (ne = [
4456
+ e[8]
4457
+ ), v(f, b), v(f, d), v(d, _), v(a, g), R && R.m(a, null), v(t, M), v(t, N), V.m(N, null), v(t, T), $ && $.m(t, null), W(S, E, H), F && F.m(S, H), W(S, L, H), I || (ne = [
4404
4458
  Z(
4405
4459
  p,
4406
4460
  "input",
4407
4461
  /*input_input_handler*/
4408
- e[29]
4462
+ e[30]
4409
4463
  ),
4410
4464
  Z(
4411
4465
  p,
4412
4466
  "keyup",
4413
4467
  /*validateBonusCode*/
4414
- e[17]
4468
+ e[19]
4415
4469
  ),
4416
4470
  Z(
4417
4471
  d,
4418
4472
  "click",
4419
4473
  /*debouncedFunction*/
4420
- e[22](
4474
+ e[24](
4421
4475
  /*claimBonus*/
4422
- e[19]
4476
+ e[21]
4423
4477
  )
4424
4478
  )
4425
- ], H = !0);
4479
+ ], I = !0);
4426
4480
  },
4427
- p(E, L) {
4481
+ p(S, H) {
4428
4482
  /*isMobile*/
4429
- E[15] && X.p(E, L), L[0] & /*$_*/
4430
- 16384 && i !== (i = /*$_*/
4431
- E[14]("titleBonuses") + "") && K(o, i), L[0] & /*$_*/
4432
- 16384 && u !== (u = /*$_*/
4433
- E[14]("bonusCode") + "") && K(c, u), L[0] & /*bonusCode*/
4434
- 64 && p.value !== /*bonusCode*/
4435
- E[6] && Et(
4483
+ S[17] && Q.p(S, H), H[0] & /*$_*/
4484
+ 65536 && i !== (i = /*$_*/
4485
+ S[16]("titleBonuses") + "") && K(o, i), H[0] & /*$_*/
4486
+ 65536 && u !== (u = /*$_*/
4487
+ S[16]("bonusCode") + "") && K(c, u), H[0] & /*bonusCode*/
4488
+ 256 && p.value !== /*bonusCode*/
4489
+ S[8] && Et(
4436
4490
  p,
4437
4491
  /*bonusCode*/
4438
- E[6]
4439
- ), L[0] & /*$_*/
4440
- 16384 && w !== (w = /*$_*/
4441
- E[14]("getBonus") + "") && K(y, w), L[0] & /*invalidBonusField*/
4442
- 16 && (d.disabled = /*invalidBonusField*/
4443
- E[4]), /*invalidBonusCode*/
4444
- E[5] ? D ? D.p(E, L) : (D = Zt(E), D.c(), D.m(a, null)) : D && (D.d(1), D = null), se === (se = _e(E)) && z ? z.p(E, L) : (z.d(1), z = se(E), z && (z.c(), z.m(O, null))), /*activeBonusesList*/
4445
- E[12].length !== 0 ? F ? F.p(E, L) : (F = Qt(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null), /*bonusModal*/
4446
- E[13] ? U ? U.p(E, L) : (U = Yt(E), U.c(), U.m(N.parentNode, N)) : U && (U.d(1), U = null);
4492
+ S[8]
4493
+ ), H[0] & /*$_*/
4494
+ 65536 && C !== (C = /*$_*/
4495
+ S[16]("getBonus") + "") && K(_, C), H[0] & /*invalidBonusField*/
4496
+ 64 && (d.disabled = /*invalidBonusField*/
4497
+ S[6]), /*invalidBonusCode*/
4498
+ S[7] ? R ? R.p(S, H) : (R = Zt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), oe === (oe = Se(S)) && V ? V.p(S, H) : (V.d(1), V = oe(S), V && (V.c(), V.m(N, null))), /*activeBonusesList*/
4499
+ S[14].length !== 0 ? $ ? $.p(S, H) : ($ = Qt(S), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4500
+ S[15] ? F ? F.p(S, H) : (F = Yt(S), F.c(), F.m(L.parentNode, L)) : F && (F.d(1), F = null);
4447
4501
  },
4448
- d(E) {
4449
- E && (k(t), k(C), k(N)), X && X.d(), D && D.d(), z.d(), F && F.d(), U && U.d(E), H = !1, ie(ne);
4502
+ d(S) {
4503
+ S && (U(t), U(E), U(L)), Q && Q.d(), R && R.d(), V.d(), $ && $.d(), F && F.d(S), I = !1, ie(ne);
4450
4504
  }
4451
4505
  };
4452
4506
  }
4453
- function xo(e) {
4454
- let t, n, r, i, o, s, a, l, u, c, f = (
4507
+ function Co(e) {
4508
+ let t, n, r, i, o, s, a, l, u, c, h = (
4455
4509
  /*$_*/
4456
- e[14]("titleBonuses") + ""
4457
- ), h, p, b;
4510
+ e[16]("titleBonuses") + ""
4511
+ ), f, p, b;
4458
4512
  return {
4459
4513
  c() {
4460
- t = P("div"), n = ae("svg"), r = ae("defs"), i = ae("style"), o = $(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = ae("g"), a = ae("g"), l = ae("path"), u = W(), c = P("h2"), h = $(f), B(l, "class", "aaa"), B(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(l, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(c, "class", "ActiveBonusesTitleMobile"), B(t, "class", "MenuReturnButton");
4514
+ t = P("div"), n = ae("svg"), r = ae("defs"), i = ae("style"), o = D(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), s = ae("g"), a = ae("g"), l = ae("path"), u = j(), c = P("h2"), f = D(h), B(l, "class", "aaa"), B(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(l, "transform", "translate(15 15) rotate(180)"), B(a, "transform", "translate(20 158)"), B(s, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(c, "class", "ActiveBonusesTitleMobile"), B(t, "class", "MenuReturnButton");
4461
4515
  },
4462
- m(d, w) {
4463
- V(d, t, w), v(t, n), v(n, r), v(r, i), v(i, o), v(n, s), v(s, a), v(a, l), v(t, u), v(t, c), v(c, h), p || (b = Z(
4516
+ m(d, C) {
4517
+ W(d, t, C), v(t, n), v(n, r), v(r, i), v(i, o), v(n, s), v(s, a), v(a, l), v(t, u), v(t, c), v(c, f), p || (b = Z(
4464
4518
  t,
4465
4519
  "click",
4466
4520
  /*click_handler*/
4467
- e[28]
4521
+ e[29]
4468
4522
  ), p = !0);
4469
4523
  },
4470
- p(d, w) {
4471
- w[0] & /*$_*/
4472
- 16384 && f !== (f = /*$_*/
4473
- d[14]("titleBonuses") + "") && K(h, f);
4524
+ p(d, C) {
4525
+ C[0] & /*$_*/
4526
+ 65536 && h !== (h = /*$_*/
4527
+ d[16]("titleBonuses") + "") && K(f, h);
4474
4528
  },
4475
4529
  d(d) {
4476
- d && k(t), p = !1, b();
4530
+ d && U(t), p = !1, b();
4477
4531
  }
4478
4532
  };
4479
4533
  }
4480
4534
  function Zt(e) {
4481
4535
  let t, n = (
4482
4536
  /*$_*/
4483
- e[14]("invalidBonusCode") + ""
4537
+ e[16]("invalidBonusCode") + ""
4484
4538
  ), r;
4485
4539
  return {
4486
4540
  c() {
4487
- t = P("p"), r = $(n), B(t, "class", "InvalidBonusCodeMessage");
4541
+ t = P("p"), r = D(n), B(t, "class", "InvalidBonusCodeMessage");
4488
4542
  },
4489
4543
  m(i, o) {
4490
- V(i, t, o), v(t, r);
4544
+ W(i, t, o), v(t, r);
4491
4545
  },
4492
4546
  p(i, o) {
4493
4547
  o[0] & /*$_*/
4494
- 16384 && n !== (n = /*$_*/
4495
- i[14]("invalidBonusCode") + "") && K(r, n);
4548
+ 65536 && n !== (n = /*$_*/
4549
+ i[16]("invalidBonusCode") + "") && K(r, n);
4496
4550
  },
4497
4551
  d(i) {
4498
- i && k(t);
4552
+ i && U(t);
4499
4553
  }
4500
4554
  };
4501
4555
  }
4502
- function wo(e) {
4556
+ function So(e) {
4503
4557
  let t, n = Re(
4504
4558
  /*activeBonusesList*/
4505
- e[12]
4559
+ e[14]
4506
4560
  ), r = [];
4507
4561
  for (let i = 0; i < n.length; i += 1)
4508
4562
  r[i] = qt(Xt(e, n, i));
@@ -4515,14 +4569,14 @@ function wo(e) {
4515
4569
  m(i, o) {
4516
4570
  for (let s = 0; s < r.length; s += 1)
4517
4571
  r[s] && r[s].m(i, o);
4518
- V(i, t, o);
4572
+ W(i, t, o);
4519
4573
  },
4520
4574
  p(i, o) {
4521
- if (o[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl*/
4522
- 4103) {
4575
+ if (o[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4576
+ 16415) {
4523
4577
  n = Re(
4524
4578
  /*activeBonusesList*/
4525
- i[12]
4579
+ i[14]
4526
4580
  );
4527
4581
  let s;
4528
4582
  for (s = 0; s < n.length; s += 1) {
@@ -4535,34 +4589,34 @@ function wo(e) {
4535
4589
  }
4536
4590
  },
4537
4591
  d(i) {
4538
- i && k(t), nn(r, i);
4592
+ i && U(t), nn(r, i);
4539
4593
  }
4540
4594
  };
4541
4595
  }
4542
- function Co(e) {
4596
+ function Ao(e) {
4543
4597
  let t, n = (
4544
4598
  /*$_*/
4545
- e[14]("noActiveBonuses") + ""
4599
+ e[16]("noActiveBonuses") + ""
4546
4600
  ), r;
4547
4601
  return {
4548
4602
  c() {
4549
- t = P("p"), r = $(n);
4603
+ t = P("p"), r = D(n);
4550
4604
  },
4551
4605
  m(i, o) {
4552
- V(i, t, o), v(t, r);
4606
+ W(i, t, o), v(t, r);
4553
4607
  },
4554
4608
  p(i, o) {
4555
4609
  o[0] & /*$_*/
4556
- 16384 && n !== (n = /*$_*/
4557
- i[14]("noActiveBonuses") + "") && K(r, n);
4610
+ 65536 && n !== (n = /*$_*/
4611
+ i[16]("noActiveBonuses") + "") && K(r, n);
4558
4612
  },
4559
4613
  d(i) {
4560
- i && k(t);
4614
+ i && U(t);
4561
4615
  }
4562
4616
  };
4563
4617
  }
4564
- function So(e) {
4565
- let t, n, r, i, o, s, a, l, u, c, f, h, p, b, d, w;
4618
+ function To(e) {
4619
+ let t, n, r, i, o, s, a, l, u, c, h, f, p, b, d, C;
4566
4620
  return {
4567
4621
  c() {
4568
4622
  t = P("player-bonus-card"), m(t, "termsandconditionsdescription", n = /*activeBonus*/
@@ -4574,13 +4628,13 @@ function So(e) {
4574
4628
  e[49].session), m(t, "bonuswalletid", l = /*activeBonus*/
4575
4629
  e[49].walletId), m(t, "bonusdate", u = /*activeBonus*/
4576
4630
  e[49].granted), m(t, "bonusstatus", c = /*activeBonus*/
4577
- e[49].status), m(t, "bonusname", f = /*activeBonus*/
4578
- e[49].name), m(t, "bonustype", h = /*activeBonus*/
4631
+ e[49].status), m(t, "bonusname", h = /*activeBonus*/
4632
+ e[49].name), m(t, "bonustype", f = /*activeBonus*/
4579
4633
  e[49].type), m(t, "bonusamount", p = /*activeBonus*/
4580
4634
  e[49].extension.grantedPlayerCurrencyAmount), m(t, "bonuswageringamount", b = `${/*activeBonus*/
4581
4635
  e[49].fulfilledWR} / ${/*activeBonus*/
4582
4636
  e[49].originalWageringRequirement}`), m(t, "bonusremainingamount", d = /*activeBonus*/
4583
- e[49].currentAmount), m(t, "bonuscurrency", w = /*activeBonus*/
4637
+ e[49].currentAmount), m(t, "bonuscurrency", C = /*activeBonus*/
4584
4638
  e[49].currency), m(
4585
4639
  t,
4586
4640
  "lang",
@@ -4596,70 +4650,92 @@ function So(e) {
4596
4650
  "clientstylingurl",
4597
4651
  /*clientstylingurl*/
4598
4652
  e[2]
4653
+ ), m(
4654
+ t,
4655
+ "mbsource",
4656
+ /*mbsource*/
4657
+ e[3]
4658
+ ), m(
4659
+ t,
4660
+ "translationurl",
4661
+ /*translationurl*/
4662
+ e[4]
4599
4663
  );
4600
4664
  },
4601
- m(y, _) {
4602
- V(y, t, _);
4665
+ m(_, g) {
4666
+ W(_, t, g);
4603
4667
  },
4604
- p(y, _) {
4605
- _[0] & /*activeBonusesList*/
4606
- 4096 && n !== (n = /*activeBonus*/
4607
- y[49].termsandconditionsdescription) && m(t, "termsandconditionsdescription", n), _[0] & /*activeBonusesList*/
4608
- 4096 && r !== (r = /*activeBonus*/
4609
- y[49].termsandconditionsurl) && m(t, "termsandconditionsurl", r), _[0] & /*activeBonusesList*/
4610
- 4096 && i !== (i = /*activeBonus*/
4611
- y[49].termsandconditionsasset) && m(t, "termsandconditionsasset", i), _[0] & /*activeBonusesList*/
4612
- 4096 && o !== (o = /*activeBonus*/
4613
- y[49].endpoint) && m(t, "endpoint", o), _[0] & /*activeBonusesList*/
4614
- 4096 && s !== (s = /*activeBonus*/
4615
- y[49].playerid) && m(t, "playerid", s), _[0] & /*activeBonusesList*/
4616
- 4096 && a !== (a = /*activeBonus*/
4617
- y[49].session) && m(t, "session", a), _[0] & /*activeBonusesList*/
4618
- 4096 && l !== (l = /*activeBonus*/
4619
- y[49].walletId) && m(t, "bonuswalletid", l), _[0] & /*activeBonusesList*/
4620
- 4096 && u !== (u = /*activeBonus*/
4621
- y[49].granted) && m(t, "bonusdate", u), _[0] & /*activeBonusesList*/
4622
- 4096 && c !== (c = /*activeBonus*/
4623
- y[49].status) && m(t, "bonusstatus", c), _[0] & /*activeBonusesList*/
4624
- 4096 && f !== (f = /*activeBonus*/
4625
- y[49].name) && m(t, "bonusname", f), _[0] & /*activeBonusesList*/
4626
- 4096 && h !== (h = /*activeBonus*/
4627
- y[49].type) && m(t, "bonustype", h), _[0] & /*activeBonusesList*/
4628
- 4096 && p !== (p = /*activeBonus*/
4629
- y[49].extension.grantedPlayerCurrencyAmount) && m(t, "bonusamount", p), _[0] & /*activeBonusesList*/
4630
- 4096 && b !== (b = `${/*activeBonus*/
4631
- y[49].fulfilledWR} / ${/*activeBonus*/
4632
- y[49].originalWageringRequirement}`) && m(t, "bonuswageringamount", b), _[0] & /*activeBonusesList*/
4633
- 4096 && d !== (d = /*activeBonus*/
4634
- y[49].currentAmount) && m(t, "bonusremainingamount", d), _[0] & /*activeBonusesList*/
4635
- 4096 && w !== (w = /*activeBonus*/
4636
- y[49].currency) && m(t, "bonuscurrency", w), _[0] & /*lang*/
4668
+ p(_, g) {
4669
+ g[0] & /*activeBonusesList*/
4670
+ 16384 && n !== (n = /*activeBonus*/
4671
+ _[49].termsandconditionsdescription) && m(t, "termsandconditionsdescription", n), g[0] & /*activeBonusesList*/
4672
+ 16384 && r !== (r = /*activeBonus*/
4673
+ _[49].termsandconditionsurl) && m(t, "termsandconditionsurl", r), g[0] & /*activeBonusesList*/
4674
+ 16384 && i !== (i = /*activeBonus*/
4675
+ _[49].termsandconditionsasset) && m(t, "termsandconditionsasset", i), g[0] & /*activeBonusesList*/
4676
+ 16384 && o !== (o = /*activeBonus*/
4677
+ _[49].endpoint) && m(t, "endpoint", o), g[0] & /*activeBonusesList*/
4678
+ 16384 && s !== (s = /*activeBonus*/
4679
+ _[49].playerid) && m(t, "playerid", s), g[0] & /*activeBonusesList*/
4680
+ 16384 && a !== (a = /*activeBonus*/
4681
+ _[49].session) && m(t, "session", a), g[0] & /*activeBonusesList*/
4682
+ 16384 && l !== (l = /*activeBonus*/
4683
+ _[49].walletId) && m(t, "bonuswalletid", l), g[0] & /*activeBonusesList*/
4684
+ 16384 && u !== (u = /*activeBonus*/
4685
+ _[49].granted) && m(t, "bonusdate", u), g[0] & /*activeBonusesList*/
4686
+ 16384 && c !== (c = /*activeBonus*/
4687
+ _[49].status) && m(t, "bonusstatus", c), g[0] & /*activeBonusesList*/
4688
+ 16384 && h !== (h = /*activeBonus*/
4689
+ _[49].name) && m(t, "bonusname", h), g[0] & /*activeBonusesList*/
4690
+ 16384 && f !== (f = /*activeBonus*/
4691
+ _[49].type) && m(t, "bonustype", f), g[0] & /*activeBonusesList*/
4692
+ 16384 && p !== (p = /*activeBonus*/
4693
+ _[49].extension.grantedPlayerCurrencyAmount) && m(t, "bonusamount", p), g[0] & /*activeBonusesList*/
4694
+ 16384 && b !== (b = `${/*activeBonus*/
4695
+ _[49].fulfilledWR} / ${/*activeBonus*/
4696
+ _[49].originalWageringRequirement}`) && m(t, "bonuswageringamount", b), g[0] & /*activeBonusesList*/
4697
+ 16384 && d !== (d = /*activeBonus*/
4698
+ _[49].currentAmount) && m(t, "bonusremainingamount", d), g[0] & /*activeBonusesList*/
4699
+ 16384 && C !== (C = /*activeBonus*/
4700
+ _[49].currency) && m(t, "bonuscurrency", C), g[0] & /*lang*/
4637
4701
  1 && m(
4638
4702
  t,
4639
4703
  "lang",
4640
4704
  /*lang*/
4641
- y[0]
4642
- ), _[0] & /*clientstyling*/
4705
+ _[0]
4706
+ ), g[0] & /*clientstyling*/
4643
4707
  2 && m(
4644
4708
  t,
4645
4709
  "clientstyling",
4646
4710
  /*clientstyling*/
4647
- y[1]
4648
- ), _[0] & /*clientstylingurl*/
4711
+ _[1]
4712
+ ), g[0] & /*clientstylingurl*/
4649
4713
  4 && m(
4650
4714
  t,
4651
4715
  "clientstylingurl",
4652
4716
  /*clientstylingurl*/
4653
- y[2]
4717
+ _[2]
4718
+ ), g[0] & /*mbsource*/
4719
+ 8 && m(
4720
+ t,
4721
+ "mbsource",
4722
+ /*mbsource*/
4723
+ _[3]
4724
+ ), g[0] & /*translationurl*/
4725
+ 16 && m(
4726
+ t,
4727
+ "translationurl",
4728
+ /*translationurl*/
4729
+ _[4]
4654
4730
  );
4655
4731
  },
4656
- d(y) {
4657
- y && k(t);
4732
+ d(_) {
4733
+ _ && U(t);
4658
4734
  }
4659
4735
  };
4660
4736
  }
4661
- function Ao(e) {
4662
- let t, n, r, i, o, s, a, l, u, c, f, h, p;
4737
+ function Po(e) {
4738
+ let t, n, r, i, o, s, a, l, u, c, h, f, p;
4663
4739
  return {
4664
4740
  c() {
4665
4741
  t = P("player-bonus-card"), m(t, "termsandconditionsdescription", n = /*activeBonus*/
@@ -4671,8 +4747,8 @@ function Ao(e) {
4671
4747
  e[49].session), m(t, "bonuswalletid", l = /*activeBonus*/
4672
4748
  e[49].walletId), m(t, "bonusdate", u = /*activeBonus*/
4673
4749
  e[49].granted), m(t, "bonusstatus", c = /*activeBonus*/
4674
- e[49].status), m(t, "bonusname", f = /*activeBonus*/
4675
- e[49].name), m(t, "bonustype", h = /*activeBonus*/
4750
+ e[49].status), m(t, "bonusname", h = /*activeBonus*/
4751
+ e[49].name), m(t, "bonustype", f = /*activeBonus*/
4676
4752
  e[49].type), m(t, "bonuscurrency", p = /*activeBonus*/
4677
4753
  e[49].currency), m(
4678
4754
  t,
@@ -4689,36 +4765,46 @@ function Ao(e) {
4689
4765
  "clientstylingurl",
4690
4766
  /*clientstylingurl*/
4691
4767
  e[2]
4768
+ ), m(
4769
+ t,
4770
+ "mbsource",
4771
+ /*mbsource*/
4772
+ e[3]
4773
+ ), m(
4774
+ t,
4775
+ "translationurl",
4776
+ /*translationurl*/
4777
+ e[4]
4692
4778
  );
4693
4779
  },
4694
4780
  m(b, d) {
4695
- V(b, t, d);
4781
+ W(b, t, d);
4696
4782
  },
4697
4783
  p(b, d) {
4698
4784
  d[0] & /*activeBonusesList*/
4699
- 4096 && n !== (n = /*activeBonus*/
4785
+ 16384 && n !== (n = /*activeBonus*/
4700
4786
  b[49].termsandconditionsdescription) && m(t, "termsandconditionsdescription", n), d[0] & /*activeBonusesList*/
4701
- 4096 && r !== (r = /*activeBonus*/
4787
+ 16384 && r !== (r = /*activeBonus*/
4702
4788
  b[49].termsandconditionsurl) && m(t, "termsandconditionsurl", r), d[0] & /*activeBonusesList*/
4703
- 4096 && i !== (i = /*activeBonus*/
4789
+ 16384 && i !== (i = /*activeBonus*/
4704
4790
  b[49].termsandconditionsasset) && m(t, "termsandconditionsasset", i), d[0] & /*activeBonusesList*/
4705
- 4096 && o !== (o = /*activeBonus*/
4791
+ 16384 && o !== (o = /*activeBonus*/
4706
4792
  b[49].endpoint) && m(t, "endpoint", o), d[0] & /*activeBonusesList*/
4707
- 4096 && s !== (s = /*activeBonus*/
4793
+ 16384 && s !== (s = /*activeBonus*/
4708
4794
  b[49].playerid) && m(t, "playerid", s), d[0] & /*activeBonusesList*/
4709
- 4096 && a !== (a = /*activeBonus*/
4795
+ 16384 && a !== (a = /*activeBonus*/
4710
4796
  b[49].session) && m(t, "session", a), d[0] & /*activeBonusesList*/
4711
- 4096 && l !== (l = /*activeBonus*/
4797
+ 16384 && l !== (l = /*activeBonus*/
4712
4798
  b[49].walletId) && m(t, "bonuswalletid", l), d[0] & /*activeBonusesList*/
4713
- 4096 && u !== (u = /*activeBonus*/
4799
+ 16384 && u !== (u = /*activeBonus*/
4714
4800
  b[49].granted) && m(t, "bonusdate", u), d[0] & /*activeBonusesList*/
4715
- 4096 && c !== (c = /*activeBonus*/
4801
+ 16384 && c !== (c = /*activeBonus*/
4716
4802
  b[49].status) && m(t, "bonusstatus", c), d[0] & /*activeBonusesList*/
4717
- 4096 && f !== (f = /*activeBonus*/
4718
- b[49].name) && m(t, "bonusname", f), d[0] & /*activeBonusesList*/
4719
- 4096 && h !== (h = /*activeBonus*/
4720
- b[49].type) && m(t, "bonustype", h), d[0] & /*activeBonusesList*/
4721
- 4096 && p !== (p = /*activeBonus*/
4803
+ 16384 && h !== (h = /*activeBonus*/
4804
+ b[49].name) && m(t, "bonusname", h), d[0] & /*activeBonusesList*/
4805
+ 16384 && f !== (f = /*activeBonus*/
4806
+ b[49].type) && m(t, "bonustype", f), d[0] & /*activeBonusesList*/
4807
+ 16384 && p !== (p = /*activeBonus*/
4722
4808
  b[49].currency) && m(t, "bonuscurrency", p), d[0] & /*lang*/
4723
4809
  1 && m(
4724
4810
  t,
@@ -4737,10 +4823,22 @@ function Ao(e) {
4737
4823
  "clientstylingurl",
4738
4824
  /*clientstylingurl*/
4739
4825
  b[2]
4826
+ ), d[0] & /*mbsource*/
4827
+ 8 && m(
4828
+ t,
4829
+ "mbsource",
4830
+ /*mbsource*/
4831
+ b[3]
4832
+ ), d[0] & /*translationurl*/
4833
+ 16 && m(
4834
+ t,
4835
+ "translationurl",
4836
+ /*translationurl*/
4837
+ b[4]
4740
4838
  );
4741
4839
  },
4742
4840
  d(b) {
4743
- b && k(t);
4841
+ b && U(t);
4744
4842
  }
4745
4843
  };
4746
4844
  }
@@ -4749,7 +4847,7 @@ function qt(e) {
4749
4847
  function n(o, s) {
4750
4848
  return (
4751
4849
  /*activeBonus*/
4752
- o[49].type === "freeRound" ? Ao : So
4850
+ o[49].type === "freeRound" ? Po : To
4753
4851
  );
4754
4852
  }
4755
4853
  let r = n(e), i = r(e);
@@ -4758,98 +4856,98 @@ function qt(e) {
4758
4856
  i.c(), t = mt();
4759
4857
  },
4760
4858
  m(o, s) {
4761
- i.m(o, s), V(o, t, s);
4859
+ i.m(o, s), W(o, t, s);
4762
4860
  },
4763
4861
  p(o, s) {
4764
4862
  r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t.parentNode, t)));
4765
4863
  },
4766
4864
  d(o) {
4767
- o && k(t), i.d(o);
4865
+ o && U(t), i.d(o);
4768
4866
  }
4769
4867
  };
4770
4868
  }
4771
4869
  function Qt(e) {
4772
- let t, n, r, i, o, s, a, l, u, c, f, h, p, b, d, w, y, _, M, O = Re(Array(
4870
+ let t, n, r, i, o, s, a, l, u, c, h, f, p, b, d, C, _, g, M, N = Re(Array(
4773
4871
  /*numberOfPages*/
4774
- e[10]
4872
+ e[12]
4775
4873
  )), T = [];
4776
- for (let C = 0; C < O.length; C += 1)
4777
- T[C] = Jt(zt(e, O, C));
4874
+ for (let E = 0; E < N.length; E += 1)
4875
+ T[E] = Jt(zt(e, N, E));
4778
4876
  return {
4779
4877
  c() {
4780
- t = P("div"), n = P("span"), r = $("|<"), o = W(), s = P("span"), a = $("<"), u = W();
4781
- for (let C = 0; C < T.length; C += 1)
4782
- T[C].c();
4783
- c = W(), f = P("span"), h = $(">"), b = W(), d = P("span"), w = $(">|"), B(n, "class", i = "BonusesFirst " + /*currentPage*/
4784
- (e[11] === 0 ? "Inactive" : "")), B(s, "class", l = "BonusesPrev " + /*currentPage*/
4785
- (e[11] === 0 ? "Inactive" : "")), B(f, "class", p = "BonusesNext " + /*currentPage*/
4786
- (e[11] === /*numberOfPages*/
4787
- e[10] - 1 ? "Inactive" : "")), B(d, "class", y = "BonusesLast " + /*currentPage*/
4788
- (e[11] === /*numberOfPages*/
4789
- e[10] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4790
- (e[15] ? "BonusesPaginationWrapperMobile" : ""));
4878
+ t = P("div"), n = P("span"), r = D("|<"), o = j(), s = P("span"), a = D("<"), u = j();
4879
+ for (let E = 0; E < T.length; E += 1)
4880
+ T[E].c();
4881
+ c = j(), h = P("span"), f = D(">"), b = j(), d = P("span"), C = D(">|"), B(n, "class", i = "BonusesFirst " + /*currentPage*/
4882
+ (e[13] === 0 ? "Inactive" : "")), B(s, "class", l = "BonusesPrev " + /*currentPage*/
4883
+ (e[13] === 0 ? "Inactive" : "")), B(h, "class", p = "BonusesNext " + /*currentPage*/
4884
+ (e[13] === /*numberOfPages*/
4885
+ e[12] - 1 ? "Inactive" : "")), B(d, "class", _ = "BonusesLast " + /*currentPage*/
4886
+ (e[13] === /*numberOfPages*/
4887
+ e[12] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4888
+ (e[17] ? "BonusesPaginationWrapperMobile" : ""));
4791
4889
  },
4792
- m(C, N) {
4793
- V(C, t, N), v(t, n), v(n, r), v(t, o), v(t, s), v(s, a), v(t, u);
4794
- for (let H = 0; H < T.length; H += 1)
4795
- T[H] && T[H].m(t, null);
4796
- v(t, c), v(t, f), v(f, h), v(t, b), v(t, d), v(d, w), _ || (M = [
4890
+ m(E, L) {
4891
+ W(E, t, L), v(t, n), v(n, r), v(t, o), v(t, s), v(s, a), v(t, u);
4892
+ for (let I = 0; I < T.length; I += 1)
4893
+ T[I] && T[I].m(t, null);
4894
+ v(t, c), v(t, h), v(h, f), v(t, b), v(t, d), v(d, C), g || (M = [
4797
4895
  Z(
4798
4896
  n,
4799
4897
  "click",
4800
4898
  /*click_handler_1*/
4801
- e[30]
4899
+ e[31]
4802
4900
  ),
4803
4901
  Z(
4804
4902
  s,
4805
4903
  "click",
4806
4904
  /*click_handler_2*/
4807
- e[31]
4905
+ e[32]
4808
4906
  ),
4809
4907
  Z(
4810
- f,
4908
+ h,
4811
4909
  "click",
4812
4910
  /*click_handler_4*/
4813
- e[33]
4911
+ e[34]
4814
4912
  ),
4815
4913
  Z(
4816
4914
  d,
4817
4915
  "click",
4818
4916
  /*click_handler_5*/
4819
- e[34]
4917
+ e[35]
4820
4918
  )
4821
- ], _ = !0);
4919
+ ], g = !0);
4822
4920
  },
4823
- p(C, N) {
4824
- if (N[0] & /*currentPage*/
4825
- 2048 && i !== (i = "BonusesFirst " + /*currentPage*/
4826
- (C[11] === 0 ? "Inactive" : "")) && B(n, "class", i), N[0] & /*currentPage*/
4827
- 2048 && l !== (l = "BonusesPrev " + /*currentPage*/
4828
- (C[11] === 0 ? "Inactive" : "")) && B(s, "class", l), N[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4829
- 265216) {
4830
- O = Re(Array(
4921
+ p(E, L) {
4922
+ if (L[0] & /*currentPage*/
4923
+ 8192 && i !== (i = "BonusesFirst " + /*currentPage*/
4924
+ (E[13] === 0 ? "Inactive" : "")) && B(n, "class", i), L[0] & /*currentPage*/
4925
+ 8192 && l !== (l = "BonusesPrev " + /*currentPage*/
4926
+ (E[13] === 0 ? "Inactive" : "")) && B(s, "class", l), L[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4927
+ 1060864) {
4928
+ N = Re(Array(
4831
4929
  /*numberOfPages*/
4832
- C[10]
4930
+ E[12]
4833
4931
  ));
4834
- let H;
4835
- for (H = 0; H < O.length; H += 1) {
4836
- const ne = zt(C, O, H);
4837
- T[H] ? T[H].p(ne, N) : (T[H] = Jt(ne), T[H].c(), T[H].m(t, c));
4932
+ let I;
4933
+ for (I = 0; I < N.length; I += 1) {
4934
+ const ne = zt(E, N, I);
4935
+ T[I] ? T[I].p(ne, L) : (T[I] = Jt(ne), T[I].c(), T[I].m(t, c));
4838
4936
  }
4839
- for (; H < T.length; H += 1)
4840
- T[H].d(1);
4841
- T.length = O.length;
4937
+ for (; I < T.length; I += 1)
4938
+ T[I].d(1);
4939
+ T.length = N.length;
4842
4940
  }
4843
- N[0] & /*currentPage, numberOfPages*/
4844
- 3072 && p !== (p = "BonusesNext " + /*currentPage*/
4845
- (C[11] === /*numberOfPages*/
4846
- C[10] - 1 ? "Inactive" : "")) && B(f, "class", p), N[0] & /*currentPage, numberOfPages*/
4847
- 3072 && y !== (y = "BonusesLast " + /*currentPage*/
4848
- (C[11] === /*numberOfPages*/
4849
- C[10] - 1 ? "Inactive" : "")) && B(d, "class", y);
4941
+ L[0] & /*currentPage, numberOfPages*/
4942
+ 12288 && p !== (p = "BonusesNext " + /*currentPage*/
4943
+ (E[13] === /*numberOfPages*/
4944
+ E[12] - 1 ? "Inactive" : "")) && B(h, "class", p), L[0] & /*currentPage, numberOfPages*/
4945
+ 12288 && _ !== (_ = "BonusesLast " + /*currentPage*/
4946
+ (E[13] === /*numberOfPages*/
4947
+ E[12] - 1 ? "Inactive" : "")) && B(d, "class", _);
4850
4948
  },
4851
- d(C) {
4852
- C && k(t), nn(T, C), _ = !1, ie(M);
4949
+ d(E) {
4950
+ E && U(t), nn(T, E), g = !1, ie(M);
4853
4951
  }
4854
4952
  };
4855
4953
  }
@@ -4861,7 +4959,7 @@ function Jt(e) {
4861
4959
  function a() {
4862
4960
  return (
4863
4961
  /*click_handler_3*/
4864
- e[32](
4962
+ e[33](
4865
4963
  /*i*/
4866
4964
  e[48]
4867
4965
  )
@@ -4869,77 +4967,77 @@ function Jt(e) {
4869
4967
  }
4870
4968
  return {
4871
4969
  c() {
4872
- t = P("span"), r = $(n), B(t, "class", i = "BonusesPage " + /*i*/
4970
+ t = P("span"), r = D(n), B(t, "class", i = "BonusesPage " + /*i*/
4873
4971
  (e[48] === /*currentPage*/
4874
- e[11] ? "BonusPageActive" : ""));
4972
+ e[13] ? "BonusPageActive" : ""));
4875
4973
  },
4876
4974
  m(l, u) {
4877
- V(l, t, u), v(t, r), o || (s = Z(t, "click", a), o = !0);
4975
+ W(l, t, u), v(t, r), o || (s = Z(t, "click", a), o = !0);
4878
4976
  },
4879
4977
  p(l, u) {
4880
4978
  e = l, u[0] & /*currentPage*/
4881
- 2048 && i !== (i = "BonusesPage " + /*i*/
4979
+ 8192 && i !== (i = "BonusesPage " + /*i*/
4882
4980
  (e[48] === /*currentPage*/
4883
- e[11] ? "BonusPageActive" : "")) && B(t, "class", i);
4981
+ e[13] ? "BonusPageActive" : "")) && B(t, "class", i);
4884
4982
  },
4885
4983
  d(l) {
4886
- l && k(t), o = !1, s();
4984
+ l && U(t), o = !1, s();
4887
4985
  }
4888
4986
  };
4889
4987
  }
4890
4988
  function Yt(e) {
4891
4989
  let t, n, r, i, o = (
4892
4990
  /*$_*/
4893
- e[14]("forfeitBonus") + ""
4991
+ e[16]("forfeitBonus") + ""
4894
4992
  ), s, a, l, u, c = (
4895
4993
  /*$_*/
4896
- e[14]("forfeitBonusCancel") + ""
4897
- ), f, h, p, b = (
4994
+ e[16]("forfeitBonusCancel") + ""
4995
+ ), h, f, p, b = (
4898
4996
  /*$_*/
4899
- e[14]("forfeitBonusConfirm") + ""
4900
- ), d, w, y;
4997
+ e[16]("forfeitBonusConfirm") + ""
4998
+ ), d, C, _;
4901
4999
  return {
4902
5000
  c() {
4903
- t = P("div"), n = P("div"), r = P("div"), i = P("p"), s = $(o), a = W(), l = P("div"), u = P("button"), f = $(c), h = W(), p = P("button"), d = $(b), B(i, "class", "ModalText"), B(u, "class", "ModalCancel"), B(p, "class", "ModalConfirm"), B(l, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
4904
- (e[15] ? "ModalWrapperMobile" : ""));
5001
+ t = P("div"), n = P("div"), r = P("div"), i = P("p"), s = D(o), a = j(), l = P("div"), u = P("button"), h = D(c), f = j(), p = P("button"), d = D(b), B(i, "class", "ModalText"), B(u, "class", "ModalCancel"), B(p, "class", "ModalConfirm"), B(l, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
5002
+ (e[17] ? "ModalWrapperMobile" : ""));
4905
5003
  },
4906
- m(_, M) {
4907
- V(_, t, M), v(t, n), v(n, r), v(r, i), v(i, s), v(r, a), v(r, l), v(l, u), v(u, f), v(l, h), v(l, p), v(p, d), w || (y = [
5004
+ m(g, M) {
5005
+ W(g, t, M), v(t, n), v(n, r), v(r, i), v(i, s), v(r, a), v(r, l), v(l, u), v(u, h), v(l, f), v(l, p), v(p, d), C || (_ = [
4908
5006
  Z(
4909
5007
  u,
4910
5008
  "click",
4911
5009
  /*closeBonusModal*/
4912
- e[20]
5010
+ e[22]
4913
5011
  ),
4914
5012
  Z(
4915
5013
  p,
4916
5014
  "click",
4917
5015
  /*debouncedFunction*/
4918
- e[22](
5016
+ e[24](
4919
5017
  /*deleteBonus*/
4920
- e[21]
5018
+ e[23]
4921
5019
  )
4922
5020
  )
4923
- ], w = !0);
5021
+ ], C = !0);
4924
5022
  },
4925
- p(_, M) {
5023
+ p(g, M) {
4926
5024
  M[0] & /*$_*/
4927
- 16384 && o !== (o = /*$_*/
4928
- _[14]("forfeitBonus") + "") && K(s, o), M[0] & /*$_*/
4929
- 16384 && c !== (c = /*$_*/
4930
- _[14]("forfeitBonusCancel") + "") && K(f, c), M[0] & /*$_*/
4931
- 16384 && b !== (b = /*$_*/
4932
- _[14]("forfeitBonusConfirm") + "") && K(d, b);
5025
+ 65536 && o !== (o = /*$_*/
5026
+ g[16]("forfeitBonus") + "") && K(s, o), M[0] & /*$_*/
5027
+ 65536 && c !== (c = /*$_*/
5028
+ g[16]("forfeitBonusCancel") + "") && K(h, c), M[0] & /*$_*/
5029
+ 65536 && b !== (b = /*$_*/
5030
+ g[16]("forfeitBonusConfirm") + "") && K(d, b);
4933
5031
  },
4934
- d(_) {
4935
- _ && k(t), w = !1, ie(y);
5032
+ d(g) {
5033
+ g && U(t), C = !1, ie(_);
4936
5034
  }
4937
5035
  };
4938
5036
  }
4939
- function To(e) {
5037
+ function Mo(e) {
4940
5038
  let t;
4941
5039
  function n(o, s) {
4942
- return Eo;
5040
+ return wo;
4943
5041
  }
4944
5042
  let i = n()(e);
4945
5043
  return {
@@ -4947,7 +5045,7 @@ function To(e) {
4947
5045
  t = P("div"), i.c();
4948
5046
  },
4949
5047
  m(o, s) {
4950
- V(o, t, s), i.m(t, null), e[35](t);
5048
+ W(o, t, s), i.m(t, null), e[36](t);
4951
5049
  },
4952
5050
  p(o, s) {
4953
5051
  i.p(o, s);
@@ -4955,81 +5053,81 @@ function To(e) {
4955
5053
  i: q,
4956
5054
  o: q,
4957
5055
  d(o) {
4958
- o && k(t), i.d(), e[35](null);
5056
+ o && U(t), i.d(), e[36](null);
4959
5057
  }
4960
5058
  };
4961
5059
  }
4962
- let Po = "status=active", Y = 6;
4963
- function Mo(e, t, n) {
5060
+ let Ho = "status=active", Y = 6;
5061
+ function Io(e, t, n) {
4964
5062
  let r;
4965
- Qn(e, go, (g) => n(14, r = g));
4966
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { playercurrency: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, h, p = window.navigator.userAgent, b = yo(p) !== "PC", d = !0, w = !1, y = "", _ = 0, M = 0, O = 0, T = 0, C = 0, N = [], H, ne = "", X = !1;
4967
- const D = () => {
4968
- fetch(f).then((R) => R.json()).then((R) => {
4969
- Object.keys(R).forEach((G) => {
4970
- Wt(G, R[G]);
5063
+ qn(e, vo, (y) => n(16, r = y));
5064
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { playercurrency: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, p, b = window.navigator.userAgent, d = go(b) !== "PC", C = !0, _ = !1, g = "", M = 0, N = 0, T = 0, E = 0, L = 0, I = [], ne, Q = "", R = !1;
5065
+ const Se = () => {
5066
+ fetch(f).then((G) => G.json()).then((G) => {
5067
+ Object.keys(G).forEach((z) => {
5068
+ Wt(z, G[z]);
4971
5069
  });
4972
- }).catch((R) => {
4973
- console.log(R);
5070
+ }).catch((G) => {
5071
+ console.log(G);
4974
5072
  });
4975
5073
  };
4976
- Object.keys(Vt).forEach((g) => {
4977
- Wt(g, Vt[g]);
5074
+ Object.keys(Vt).forEach((y) => {
5075
+ Wt(y, Vt[y]);
4978
5076
  });
4979
- const _e = (g) => {
4980
- if (g.data)
4981
- switch (g.data.type) {
5077
+ const oe = (y) => {
5078
+ if (y.data)
5079
+ switch (y.data.type) {
4982
5080
  case "DeleteActiveBonus":
4983
- ne = g.data.bonuswalletid, n(13, X = !0);
5081
+ Q = y.data.bonuswalletid, n(15, R = !0);
4984
5082
  break;
4985
5083
  }
4986
5084
  };
4987
- function se(g, R) {
4988
- return (...G) => {
4989
- clearTimeout(H), H = setTimeout(
5085
+ function V(y, G) {
5086
+ return (...z) => {
5087
+ clearTimeout(ne), ne = setTimeout(
4990
5088
  () => {
4991
- g.apply(this, G);
5089
+ y.apply(this, z);
4992
5090
  },
4993
- R
5091
+ G
4994
5092
  );
4995
5093
  };
4996
5094
  }
4997
- const z = () => {
5095
+ const $ = () => {
4998
5096
  window.postMessage(
4999
5097
  {
5000
5098
  type: "PlayerAccountMenuActive",
5001
- isMobile: b
5099
+ isMobile: d
5002
5100
  },
5003
5101
  window.location.href
5004
5102
  );
5005
- }, F = () => !!y, U = () => {
5006
- n(4, d = !F());
5007
- }, E = (g) => {
5008
- let R = {
5103
+ }, F = () => !!g, S = () => {
5104
+ n(6, C = !F());
5105
+ }, H = (y) => {
5106
+ let G = {
5009
5107
  method: "GET",
5010
5108
  headers: { "X-SessionId": o }
5011
- }, G = new URL(`${i}/v1/player/${s}/bonusWallet`);
5012
- G.searchParams.append("filter", Po), G.searchParams.append("pagination", `offset=${g},limit=${Y}`), fetch(G, R).then((J) => J.json()).then(
5109
+ }, z = new URL(`${i}/v1/player/${s}/bonusWallet`);
5110
+ z.searchParams.append("filter", Ho), z.searchParams.append("pagination", `offset=${y},limit=${Y}`), fetch(z, G).then((J) => J.json()).then(
5013
5111
  (J) => {
5014
5112
  Array.isArray(J.items) && J.items.forEach((Ae) => {
5015
5113
  const Te = Ae?.extension?.bonus?.presentation;
5016
5114
  Te && (Ae.termsandconditionsurl = Te.url, Ae.termsandconditionsdescription = Te.description, Ae.termsandconditionsasset = Te.assets);
5017
- }), n(10, T = Math.ceil(J.total / Y)), g - Y >= 0 && n(7, _ = g - Y), g + Y < J.total && n(8, M = g + Y), n(9, O = (T - 1) * Y), n(11, C = g / Y), n(12, N = J?.items || []), window.scrollTo({ top: 0, behavior: "smooth" });
5115
+ }), n(12, E = Math.ceil(J.total / Y)), y - Y >= 0 && n(9, M = y - Y), y + Y < J.total && n(10, N = y + Y), n(11, T = (E - 1) * Y), n(13, L = y / Y), n(14, I = J?.items || []), window.scrollTo({ top: 0, behavior: "smooth" });
5018
5116
  },
5019
5117
  (J) => {
5020
5118
  console.error(J);
5021
5119
  }
5022
5120
  );
5023
- }, L = () => {
5024
- let g = new URL(`${i}/v1/player/${s}/claimbonus`), R = {
5121
+ }, Rn = () => {
5122
+ let y = new URL(`${i}/v1/player/${s}/claimbonus`), G = {
5025
5123
  method: "POST",
5026
5124
  headers: {
5027
5125
  "X-SessionId": o,
5028
5126
  accept: "application/json"
5029
5127
  }
5030
5128
  };
5031
- g.searchParams.append("currency", l), g.searchParams.append("bonusCode", y), fetch(g.href, R).then((G) => {
5032
- G.status == 200 ? (n(5, w = !1), E(0), window.postMessage(
5129
+ y.searchParams.append("currency", l), y.searchParams.append("bonusCode", g), fetch(y.href, G).then((z) => {
5130
+ z.status == 200 ? (n(7, _ = !1), H(0), window.postMessage(
5033
5131
  {
5034
5132
  type: "WidgetNotification",
5035
5133
  data: {
@@ -5041,8 +5139,8 @@ function Mo(e, t, n) {
5041
5139
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5042
5140
  context: "PlayerActiveBonuses",
5043
5141
  userId: `${s || "Not logged in"}`,
5044
- bonusCode: `${y}`
5045
- })) : (n(5, w = !0), window.postMessage(
5142
+ bonusCode: `${g}`
5143
+ })) : (n(7, _ = !0), window.postMessage(
5046
5144
  {
5047
5145
  type: "WidgetNotification",
5048
5146
  data: {
@@ -5054,194 +5152,194 @@ function Mo(e, t, n) {
5054
5152
  ));
5055
5153
  });
5056
5154
  }, _t = () => {
5057
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(13, X = !1);
5058
- }, Rn = () => {
5059
- let g = {
5155
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(15, R = !1);
5156
+ }, $n = () => {
5157
+ let y = {
5060
5158
  method: "DELETE",
5061
5159
  headers: {
5062
5160
  "X-SessionId": o,
5063
5161
  "Content-Type": "application/json",
5064
5162
  Accept: "application/json"
5065
5163
  }
5066
- }, R = new URL(`${i}/v1/player/${s}/bonusWallet`);
5067
- R.searchParams.append("bonusWalletID", ne), fetch(R, g).then((G) => {
5068
- G.status == 200 && (E(0), _t());
5164
+ }, G = new URL(`${i}/v1/player/${s}/bonusWallet`);
5165
+ G.searchParams.append("bonusWalletID", Q), fetch(G, y).then((z) => {
5166
+ z.status == 200 && (H(0), _t());
5069
5167
  });
5070
- }, $n = () => {
5071
- _o(a);
5072
5168
  }, Dn = () => {
5073
- let g = document.createElement("style");
5074
- g.innerHTML = u, h.appendChild(g);
5075
- }, Fn = () => {
5076
- let g = new URL(c), R = document.createElement("style");
5077
- fetch(g.href).then((G) => G.text()).then((G) => {
5078
- R.innerHTML = G, setTimeout(
5079
- () => {
5080
- h.appendChild(R);
5081
- },
5082
- 1
5083
- );
5084
- });
5169
+ yo(a);
5085
5170
  };
5086
- function Un(g) {
5087
- return se(g, 1e3);
5171
+ function Fn(y) {
5172
+ return V(y, 1e3);
5088
5173
  }
5089
- rr(() => (window.addEventListener("message", _e, !1), () => {
5090
- window.removeEventListener("message", _e);
5174
+ nr(() => (window.addEventListener("message", oe, !1), () => {
5175
+ window.removeEventListener("message", oe);
5091
5176
  }));
5092
- const Gn = () => z();
5093
- function kn() {
5094
- y = this.value, n(6, y);
5177
+ const Un = () => $();
5178
+ function Gn() {
5179
+ g = this.value, n(8, g);
5095
5180
  }
5096
- const jn = () => E(0), Wn = () => E(_), Vn = (g) => E(g * Y), zn = () => E(M), Xn = () => E(O);
5097
- function Zn(g) {
5098
- Ye[g ? "unshift" : "push"](() => {
5099
- h = g, n(3, h);
5181
+ const kn = () => H(0), jn = () => H(M), Wn = (y) => H(y * Y), Vn = () => H(N), zn = () => H(T);
5182
+ function Xn(y) {
5183
+ Ye[y ? "unshift" : "push"](() => {
5184
+ p = y, n(5, p);
5100
5185
  });
5101
5186
  }
5102
- return e.$$set = (g) => {
5103
- "endpoint" in g && n(23, i = g.endpoint), "session" in g && n(24, o = g.session), "playerid" in g && n(25, s = g.playerid), "lang" in g && n(0, a = g.lang), "playercurrency" in g && n(26, l = g.playercurrency), "clientstyling" in g && n(1, u = g.clientstyling), "clientstylingurl" in g && n(2, c = g.clientstylingurl), "translationurl" in g && n(27, f = g.translationurl);
5187
+ return e.$$set = (y) => {
5188
+ "endpoint" in y && n(25, i = y.endpoint), "session" in y && n(26, o = y.session), "playerid" in y && n(27, s = y.playerid), "lang" in y && n(0, a = y.lang), "playercurrency" in y && n(28, l = y.playercurrency), "clientstyling" in y && n(1, u = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, h = y.mbsource), "translationurl" in y && n(4, f = y.translationurl);
5104
5189
  }, e.$$.update = () => {
5105
5190
  e.$$.dirty[0] & /*lang*/
5106
- 1 && a && $n(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5107
- 58720256 && o && s && i && E(0), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5108
- 12 && c && h && Fn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5109
- 10 && u && h && Dn(), e.$$.dirty[0] & /*translationurl*/
5110
- 134217728 && f && D();
5191
+ 1 && a && Dn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5192
+ 234881024 && o && s && i && H(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5193
+ 34 && u && p && _o(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5194
+ 36 && c && p && Bo(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5195
+ 40 && h && p && Eo(p, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5196
+ 16 && f && Se();
5111
5197
  }, [
5112
5198
  a,
5113
5199
  u,
5114
5200
  c,
5115
5201
  h,
5116
- d,
5117
- w,
5118
- y,
5202
+ f,
5203
+ p,
5204
+ C,
5119
5205
  _,
5206
+ g,
5120
5207
  M,
5121
- O,
5122
- T,
5123
- C,
5124
5208
  N,
5125
- X,
5126
- r,
5127
- b,
5128
- z,
5129
- U,
5209
+ T,
5130
5210
  E,
5131
5211
  L,
5132
- _t,
5212
+ I,
5213
+ R,
5214
+ r,
5215
+ d,
5216
+ $,
5217
+ S,
5218
+ H,
5133
5219
  Rn,
5134
- Un,
5220
+ _t,
5221
+ $n,
5222
+ Fn,
5135
5223
  i,
5136
5224
  o,
5137
5225
  s,
5138
5226
  l,
5139
- f,
5227
+ Un,
5140
5228
  Gn,
5141
5229
  kn,
5142
5230
  jn,
5143
5231
  Wn,
5144
5232
  Vn,
5145
5233
  zn,
5146
- Xn,
5147
- Zn
5234
+ Xn
5148
5235
  ];
5149
5236
  }
5150
- class Ho extends mr {
5237
+ class Oo extends pr {
5151
5238
  constructor(t) {
5152
- super(), dr(
5239
+ super(), fr(
5153
5240
  this,
5154
5241
  t,
5242
+ Io,
5155
5243
  Mo,
5156
- To,
5157
5244
  en,
5158
5245
  {
5159
- endpoint: 23,
5160
- session: 24,
5161
- playerid: 25,
5246
+ endpoint: 25,
5247
+ session: 26,
5248
+ playerid: 27,
5162
5249
  lang: 0,
5163
- playercurrency: 26,
5250
+ playercurrency: 28,
5164
5251
  clientstyling: 1,
5165
5252
  clientstylingurl: 2,
5166
- translationurl: 27
5253
+ mbsource: 3,
5254
+ translationurl: 4
5167
5255
  },
5168
- Bo,
5256
+ xo,
5169
5257
  [-1, -1]
5170
5258
  );
5171
5259
  }
5172
5260
  get endpoint() {
5173
- return this.$$.ctx[23];
5261
+ return this.$$.ctx[25];
5174
5262
  }
5175
5263
  set endpoint(t) {
5176
- this.$$set({ endpoint: t }), Q();
5264
+ this.$$set({ endpoint: t }), X();
5177
5265
  }
5178
5266
  get session() {
5179
- return this.$$.ctx[24];
5267
+ return this.$$.ctx[26];
5180
5268
  }
5181
5269
  set session(t) {
5182
- this.$$set({ session: t }), Q();
5270
+ this.$$set({ session: t }), X();
5183
5271
  }
5184
5272
  get playerid() {
5185
- return this.$$.ctx[25];
5273
+ return this.$$.ctx[27];
5186
5274
  }
5187
5275
  set playerid(t) {
5188
- this.$$set({ playerid: t }), Q();
5276
+ this.$$set({ playerid: t }), X();
5189
5277
  }
5190
5278
  get lang() {
5191
5279
  return this.$$.ctx[0];
5192
5280
  }
5193
5281
  set lang(t) {
5194
- this.$$set({ lang: t }), Q();
5282
+ this.$$set({ lang: t }), X();
5195
5283
  }
5196
5284
  get playercurrency() {
5197
- return this.$$.ctx[26];
5285
+ return this.$$.ctx[28];
5198
5286
  }
5199
5287
  set playercurrency(t) {
5200
- this.$$set({ playercurrency: t }), Q();
5288
+ this.$$set({ playercurrency: t }), X();
5201
5289
  }
5202
5290
  get clientstyling() {
5203
5291
  return this.$$.ctx[1];
5204
5292
  }
5205
5293
  set clientstyling(t) {
5206
- this.$$set({ clientstyling: t }), Q();
5294
+ this.$$set({ clientstyling: t }), X();
5207
5295
  }
5208
5296
  get clientstylingurl() {
5209
5297
  return this.$$.ctx[2];
5210
5298
  }
5211
5299
  set clientstylingurl(t) {
5212
- this.$$set({ clientstylingurl: t }), Q();
5300
+ this.$$set({ clientstylingurl: t }), X();
5301
+ }
5302
+ get mbsource() {
5303
+ return this.$$.ctx[3];
5304
+ }
5305
+ set mbsource(t) {
5306
+ this.$$set({ mbsource: t }), X();
5213
5307
  }
5214
5308
  get translationurl() {
5215
- return this.$$.ctx[27];
5309
+ return this.$$.ctx[4];
5216
5310
  }
5217
5311
  set translationurl(t) {
5218
- this.$$set({ translationurl: t }), Q();
5312
+ this.$$set({ translationurl: t }), X();
5219
5313
  }
5220
5314
  }
5221
- pr(Ho, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5315
+ dr(Oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5222
5316
  export {
5223
5317
  ge as $,
5224
- Ho as P,
5225
- mr as S,
5318
+ Oo as P,
5319
+ pr as S,
5226
5320
  Hn as a,
5227
- Jn as b,
5228
- pr as c,
5229
- W as d,
5321
+ Qn as b,
5322
+ dr as c,
5323
+ j as d,
5230
5324
  P as e,
5231
- Q as f,
5325
+ X as f,
5232
5326
  B as g,
5233
- V as h,
5234
- dr as i,
5327
+ W as h,
5328
+ fr as i,
5235
5329
  v as j,
5236
5330
  K as k,
5237
- k as l,
5238
- Qn as m,
5331
+ U as l,
5332
+ qn as m,
5239
5333
  q as n,
5240
- yo as o,
5241
- Io as p,
5242
- Z as q,
5243
- Ye as r,
5334
+ go as o,
5335
+ nr as p,
5336
+ Bo as q,
5337
+ Eo as r,
5244
5338
  en as s,
5245
- $ as t,
5246
- go as u
5339
+ D as t,
5340
+ No as u,
5341
+ Z as v,
5342
+ Ye as w,
5343
+ _o as x,
5344
+ vo as y
5247
5345
  };