@everymatrix/player-active-bonuses 1.59.2 → 1.59.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var rr = Object.defineProperty, ir = Object.defineProperties;
2
- var or = Object.getOwnPropertyDescriptors;
3
- var Ct = Object.getOwnPropertySymbols;
4
- var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var Ve = (e, t, n) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, St = (e, t) => {
1
+ var Kn = Object.defineProperty, er = Object.defineProperties;
2
+ var tr = Object.getOwnPropertyDescriptors;
3
+ var Et = Object.getOwnPropertySymbols;
4
+ var nr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
+ var Ve = (e, t, n) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- sr.call(t, n) && Ve(e, n, t[n]);
8
- if (Ct)
9
- for (var n of Ct(t))
10
- ar.call(t, n) && Ve(e, n, t[n]);
7
+ nr.call(t, n) && Ve(e, n, t[n]);
8
+ if (Et)
9
+ for (var n of Et(t))
10
+ rr.call(t, n) && Ve(e, n, t[n]);
11
11
  return e;
12
- }, At = (e, t) => ir(e, or(t));
12
+ }, wt = (e, t) => er(e, tr(t));
13
13
  var X = (e, t, n) => (Ve(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Tt = (e, t, n) => new Promise((r, i) => {
14
+ var Ct = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(n.next(u));
@@ -29,29 +29,29 @@ var Tt = (e, t, n) => new Promise((r, i) => {
29
29
  });
30
30
  function J() {
31
31
  }
32
- function un(e) {
32
+ function on(e) {
33
33
  return e();
34
34
  }
35
- function Pt() {
35
+ function St() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function oe(e) {
39
- e.forEach(un);
39
+ e.forEach(on);
40
40
  }
41
- function bt(e) {
41
+ function mt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ln(e, t) {
44
+ function sn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Me;
48
- function Zo(e, t) {
48
+ function Vo(e, t) {
49
49
  return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
50
50
  }
51
- function ur(e) {
51
+ function ir(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function cn(e, ...t) {
54
+ function an(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const r of t)
57
57
  r(void 0);
@@ -60,20 +60,20 @@ function cn(e, ...t) {
60
60
  const n = e.subscribe(...t);
61
61
  return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
- function lr(e, t, n) {
64
- e.$$.on_destroy.push(cn(t, n));
63
+ function or(e, t, n) {
64
+ e.$$.on_destroy.push(an(t, n));
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function cr(e, t, n) {
70
- const r = hr(e);
69
+ function sr(e, t, n) {
70
+ const r = ar(e);
71
71
  if (!r.getElementById(t)) {
72
72
  const i = P("style");
73
- i.id = t, i.textContent = n, fr(r, i);
73
+ i.id = t, i.textContent = n, ur(r, i);
74
74
  }
75
75
  }
76
- function hr(e) {
76
+ function ar(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function hr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function fr(e, t) {
86
+ function ur(e, t) {
87
87
  return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function W(e, t, n) {
96
96
  function U(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function hn(e, t) {
99
+ function un(e, t) {
100
100
  for (let n = 0; n < e.length; n += 1)
101
101
  e[n] && e[n].d(t);
102
102
  }
@@ -112,7 +112,7 @@ function D(e) {
112
112
  function j() {
113
113
  return D(" ");
114
114
  }
115
- function vt() {
115
+ function bt() {
116
116
  return D("");
117
117
  }
118
118
  function Q(e, t, n, r) {
@@ -125,17 +125,17 @@ function m(e, t, n) {
125
125
  const r = t.toLowerCase();
126
126
  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);
127
127
  }
128
- function dr(e) {
128
+ function lr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
131
  function ee(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Mt(e, t) {
135
+ function At(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function pr(e) {
138
+ function cr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,22 +148,22 @@ let we;
148
148
  function xe(e) {
149
149
  we = e;
150
150
  }
151
- function mr() {
151
+ function hr() {
152
152
  if (!we)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return we;
155
155
  }
156
- function br(e) {
157
- mr().$$.on_mount.push(e);
156
+ function fr(e) {
157
+ hr().$$.on_mount.push(e);
158
158
  }
159
- const fe = [], et = [];
159
+ const fe = [], Ke = [];
160
160
  let de = [];
161
- const Ht = [], vr = /* @__PURE__ */ Promise.resolve();
162
- let tt = !1;
163
- function gr() {
164
- tt || (tt = !0, vr.then(q));
161
+ const Tt = [], dr = /* @__PURE__ */ Promise.resolve();
162
+ let et = !1;
163
+ function pr() {
164
+ et || (et = !0, dr.then(q));
165
165
  }
166
- function nt(e) {
166
+ function tt(e) {
167
167
  de.push(e);
168
168
  }
169
169
  const ze = /* @__PURE__ */ new Set();
@@ -176,56 +176,56 @@ function q() {
176
176
  try {
177
177
  for (; ce < fe.length; ) {
178
178
  const t = fe[ce];
179
- ce++, xe(t), yr(t.$$);
179
+ ce++, xe(t), mr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw fe.length = 0, ce = 0, t;
183
183
  }
184
- for (xe(null), fe.length = 0, ce = 0; et.length; )
185
- et.pop()();
184
+ for (xe(null), fe.length = 0, ce = 0; Ke.length; )
185
+ Ke.pop()();
186
186
  for (let t = 0; t < de.length; t += 1) {
187
187
  const n = de[t];
188
188
  ze.has(n) || (ze.add(n), n());
189
189
  }
190
190
  de.length = 0;
191
191
  } while (fe.length);
192
- for (; Ht.length; )
193
- Ht.pop()();
194
- tt = !1, ze.clear(), xe(e);
192
+ for (; Tt.length; )
193
+ Tt.pop()();
194
+ et = !1, ze.clear(), xe(e);
195
195
  }
196
- function yr(e) {
196
+ function mr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), oe(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
201
201
  }
202
202
  }
203
- function _r(e) {
203
+ function br(e) {
204
204
  const t = [], n = [];
205
205
  de.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), de = t;
206
206
  }
207
- const Br = /* @__PURE__ */ new Set();
208
- function Er(e, t) {
209
- e && e.i && (Br.delete(e), e.i(t));
207
+ const vr = /* @__PURE__ */ new Set();
208
+ function gr(e, t) {
209
+ e && e.i && (vr.delete(e), e.i(t));
210
210
  }
211
211
  function $e(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function xr(e, t, n) {
214
+ function yr(e, t, n) {
215
215
  const { fragment: r, after_update: i } = e.$$;
216
- r && r.m(t, n), nt(() => {
217
- const o = e.$$.on_mount.map(un).filter(bt);
216
+ r && r.m(t, n), tt(() => {
217
+ const o = e.$$.on_mount.map(on).filter(mt);
218
218
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
219
- }), i.forEach(nt);
219
+ }), i.forEach(tt);
220
220
  }
221
- function wr(e, t) {
221
+ function _r(e, t) {
222
222
  const n = e.$$;
223
- n.fragment !== null && (_r(n.after_update), oe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
223
+ n.fragment !== null && (br(n.after_update), oe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
224
224
  }
225
- function Cr(e, t) {
226
- e.$$.dirty[0] === -1 && (fe.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function Br(e, t) {
226
+ e.$$.dirty[0] === -1 && (fe.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function Sr(e, t, n, r, i, o, s = null, a = [-1]) {
228
+ function Er(e, t, n, r, i, o, s = null, a = [-1]) {
229
229
  const u = we;
230
230
  xe(e);
231
231
  const l = e.$$ = {
@@ -235,7 +235,7 @@ function Sr(e, t, n, r, i, o, s = null, a = [-1]) {
235
235
  props: o,
236
236
  update: J,
237
237
  not_equal: i,
238
- bound: Pt(),
238
+ bound: St(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,7 +244,7 @@ function Sr(e, t, n, r, i, o, s = null, a = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (u ? u.$$.context : [])),
246
246
  // everything else
247
- callbacks: Pt(),
247
+ callbacks: St(),
248
248
  dirty: a,
249
249
  skip_bound: !1,
250
250
  root: t.target || u.$$.root
@@ -253,19 +253,19 @@ function Sr(e, t, n, r, i, o, s = null, a = [-1]) {
253
253
  let c = !1;
254
254
  if (l.ctx = n ? n(e, t.props || {}, (h, f, ...p) => {
255
255
  const b = p.length ? p[0] : f;
256
- return l.ctx && i(l.ctx[h], l.ctx[h] = b) && (!l.skip_bound && l.bound[h] && l.bound[h](b), c && Cr(e, h)), f;
256
+ return l.ctx && i(l.ctx[h], l.ctx[h] = b) && (!l.skip_bound && l.bound[h] && l.bound[h](b), c && Br(e, h)), f;
257
257
  }) : [], l.update(), c = !0, oe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const h = dr(t.target);
259
+ const h = lr(t.target);
260
260
  l.fragment && l.fragment.l(h), h.forEach(U);
261
261
  } else
262
262
  l.fragment && l.fragment.c();
263
- t.intro && Er(e.$$.fragment), xr(e, t.target, t.anchor), q();
263
+ t.intro && gr(e.$$.fragment), yr(e, t.target, t.anchor), q();
264
264
  }
265
265
  xe(u);
266
266
  }
267
- let fn;
268
- typeof HTMLElement == "function" && (fn = class extends HTMLElement {
267
+ let ln;
268
+ typeof HTMLElement == "function" && (ln = class extends HTMLElement {
269
269
  constructor(t, n, r) {
270
270
  super();
271
271
  /** The Svelte component constructor */
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (fn = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return Tt(this, null, function* () {
305
+ return Ct(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(o) {
308
308
  return () => {
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (fn = class extends HTMLElement {
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const n = {}, r = pr(this);
329
+ const n = {}, r = cr(this);
330
330
  for (const o of this.$$s)
331
331
  o in r && (n[o] = [t(o)]);
332
332
  for (const o of this.attributes) {
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (fn = class extends HTMLElement {
337
337
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: At(St({}, this.$$d), {
340
+ props: wt(xt({}, this.$$d), {
341
341
  $$slots: n,
342
342
  $$scope: {
343
343
  ctx: []
@@ -415,8 +415,8 @@ function Oe(e, t, n, r) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function Ar(e, t, n, r, i, o) {
419
- let s = class extends fn {
418
+ function xr(e, t, n, r, i, o) {
419
+ let s = class extends ln {
420
420
  constructor() {
421
421
  super(e, n, i), this.$$p_d = t;
422
422
  }
@@ -446,7 +446,7 @@ function Ar(e, t, n, r, i, o) {
446
446
  }), e.element = /** @type {any} */
447
447
  s, s;
448
448
  }
449
- class Tr {
449
+ class wr {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class Tr {
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- wr(this, 1), this.$destroy = J;
470
+ _r(this, 1), this.$destroy = J;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -476,7 +476,7 @@ class Tr {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, n) {
479
- if (!bt(n))
479
+ if (!mt(n))
480
480
  return J;
481
481
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return r.push(n), () => {
@@ -489,11 +489,11 @@ class Tr {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const Pr = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
495
+ const Cr = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
497
497
  /*! *****************************************************************************
498
498
  Copyright (c) Microsoft Corporation.
499
499
 
@@ -508,18 +508,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
508
508
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
509
509
  PERFORMANCE OF THIS SOFTWARE.
510
510
  ***************************************************************************** */
511
- var rt = function(e, t) {
512
- return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
511
+ var nt = function(e, t) {
512
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
513
513
  n.__proto__ = r;
514
514
  } || function(n, r) {
515
515
  for (var i in r)
516
516
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
517
- }, rt(e, t);
517
+ }, nt(e, t);
518
518
  };
519
519
  function ne(e, t) {
520
520
  if (typeof t != "function" && t !== null)
521
521
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
522
- rt(e, t);
522
+ nt(e, t);
523
523
  function n() {
524
524
  this.constructor = e;
525
525
  }
@@ -535,7 +535,7 @@ var A = function() {
535
535
  return t;
536
536
  }, A.apply(this, arguments);
537
537
  };
538
- function Mr(e, t) {
538
+ function Sr(e, t) {
539
539
  var n = {};
540
540
  for (var r in e)
541
541
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -544,7 +544,7 @@ function Mr(e, t) {
544
544
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
545
545
  return n;
546
546
  }
547
- function it(e) {
547
+ function rt(e) {
548
548
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
549
549
  if (n)
550
550
  return n.call(e);
@@ -556,7 +556,7 @@ function it(e) {
556
556
  };
557
557
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
558
558
  }
559
- function ot(e, t) {
559
+ function it(e, t) {
560
560
  var n = typeof Symbol == "function" && e[Symbol.iterator];
561
561
  if (!n)
562
562
  return e;
@@ -585,13 +585,13 @@ function pe(e, t, n) {
585
585
  function te(e) {
586
586
  return typeof e == "function";
587
587
  }
588
- function dn(e) {
588
+ function cn(e) {
589
589
  var t = function(r) {
590
590
  Error.call(r), r.stack = new Error().stack;
591
591
  }, n = e(t);
592
592
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
593
593
  }
594
- var Xe = dn(function(e) {
594
+ var Xe = cn(function(e) {
595
595
  return function(n) {
596
596
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
597
597
  ` + n.map(function(r, i) {
@@ -600,7 +600,7 @@ var Xe = dn(function(e) {
600
600
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
601
601
  };
602
602
  });
603
- function st(e, t) {
603
+ function ot(e, t) {
604
604
  if (e) {
605
605
  var n = e.indexOf(t);
606
606
  0 <= n && e.splice(n, 1);
@@ -618,7 +618,7 @@ var Ue = function() {
618
618
  if (s)
619
619
  if (this._parentage = null, Array.isArray(s))
620
620
  try {
621
- for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
621
+ for (var a = rt(s), u = a.next(); !u.done; u = a.next()) {
622
622
  var l = u.value;
623
623
  l.remove(this);
624
624
  }
@@ -645,12 +645,12 @@ var Ue = function() {
645
645
  if (h) {
646
646
  this._finalizers = null;
647
647
  try {
648
- for (var f = it(h), p = f.next(); !p.done; p = f.next()) {
648
+ for (var f = rt(h), p = f.next(); !p.done; p = f.next()) {
649
649
  var b = p.value;
650
650
  try {
651
- It(b);
651
+ Pt(b);
652
652
  } catch (d) {
653
- o = o != null ? o : [], d instanceof Xe ? o = pe(pe([], ot(o)), ot(d.errors)) : o.push(d);
653
+ o = o != null ? o : [], d instanceof Xe ? o = pe(pe([], it(o)), it(d.errors)) : o.push(d);
654
654
  }
655
655
  }
656
656
  } catch (d) {
@@ -671,7 +671,7 @@ var Ue = function() {
671
671
  var n;
672
672
  if (t && t !== this)
673
673
  if (this.closed)
674
- It(t);
674
+ Pt(t);
675
675
  else {
676
676
  if (t instanceof e) {
677
677
  if (t.closed || t._hasParent(this))
@@ -688,56 +688,52 @@ var Ue = function() {
688
688
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
689
689
  }, e.prototype._removeParent = function(t) {
690
690
  var n = this._parentage;
691
- n === t ? this._parentage = null : Array.isArray(n) && st(n, t);
691
+ n === t ? this._parentage = null : Array.isArray(n) && ot(n, t);
692
692
  }, e.prototype.remove = function(t) {
693
693
  var n = this._finalizers;
694
- n && st(n, t), t instanceof e && t._removeParent(this);
694
+ n && ot(n, t), t instanceof e && t._removeParent(this);
695
695
  }, e.EMPTY = function() {
696
696
  var t = new e();
697
697
  return t.closed = !0, t;
698
698
  }(), e;
699
- }(), pn = Ue.EMPTY;
700
- function mn(e) {
699
+ }(), hn = Ue.EMPTY;
700
+ function fn(e) {
701
701
  return e instanceof Ue || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
702
702
  }
703
- function It(e) {
703
+ function Pt(e) {
704
704
  te(e) ? e() : e.unsubscribe();
705
705
  }
706
- var bn = {
707
- onUnhandledError: null,
708
- onStoppedNotification: null,
709
- Promise: void 0,
710
- useDeprecatedSynchronousErrorHandling: !1,
711
- useDeprecatedNextContext: !1
712
- }, Hr = {
706
+ var Ar = {
707
+ Promise: void 0
708
+ }, Tr = {
713
709
  setTimeout: function(e, t) {
714
710
  for (var n = [], r = 2; r < arguments.length; r++)
715
711
  n[r - 2] = arguments[r];
716
- return setTimeout.apply(void 0, pe([e, t], ot(n)));
712
+ return setTimeout.apply(void 0, pe([e, t], it(n)));
717
713
  },
718
714
  clearTimeout: function(e) {
719
715
  return clearTimeout(e);
720
716
  },
721
717
  delegate: void 0
722
718
  };
723
- function Ir(e) {
724
- Hr.setTimeout(function() {
719
+ function Pr(e) {
720
+ Tr.setTimeout(function() {
725
721
  throw e;
726
722
  });
727
723
  }
728
- function Ot() {
724
+ function Mt() {
729
725
  }
730
726
  function Ne(e) {
731
727
  e();
732
728
  }
733
- var vn = function(e) {
729
+ var dn = function(e) {
734
730
  ne(t, e);
735
731
  function t(n) {
736
732
  var r = e.call(this) || this;
737
- return r.isStopped = !1, n ? (r.destination = n, mn(n) && n.add(r)) : r.destination = Rr, r;
733
+ return r.isStopped = !1, n ? (r.destination = n, fn(n) && n.add(r)) : r.destination = Ir, r;
738
734
  }
739
735
  return t.create = function(n, r, i) {
740
- return new at(n, r, i);
736
+ return new st(n, r, i);
741
737
  }, t.prototype.next = function(n) {
742
738
  this.isStopped || this._next(n);
743
739
  }, t.prototype.error = function(n) {
@@ -761,11 +757,7 @@ var vn = function(e) {
761
757
  this.unsubscribe();
762
758
  }
763
759
  }, t;
764
- }(Ue), Or = Function.prototype.bind;
765
- function Ze(e, t) {
766
- return Or.call(e, t);
767
- }
768
- var Nr = function() {
760
+ }(Ue), Mr = function() {
769
761
  function e(t) {
770
762
  this.partialObserver = t;
771
763
  }
@@ -796,55 +788,43 @@ var Nr = function() {
796
788
  He(n);
797
789
  }
798
790
  }, e;
799
- }(), at = function(e) {
791
+ }(), st = function(e) {
800
792
  ne(t, e);
801
793
  function t(n, r, i) {
802
794
  var o = e.call(this) || this, s;
803
- if (te(n) || !n)
804
- s = {
805
- next: n != null ? n : void 0,
806
- error: r != null ? r : void 0,
807
- complete: i != null ? i : void 0
808
- };
809
- else {
810
- var a;
811
- o && bn.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
812
- return o.unsubscribe();
813
- }, s = {
814
- next: n.next && Ze(n.next, a),
815
- error: n.error && Ze(n.error, a),
816
- complete: n.complete && Ze(n.complete, a)
817
- }) : s = n;
818
- }
819
- return o.destination = new Nr(s), o;
795
+ return te(n) || !n ? s = {
796
+ next: n != null ? n : void 0,
797
+ error: r != null ? r : void 0,
798
+ complete: i != null ? i : void 0
799
+ } : s = n, o.destination = new Mr(s), o;
820
800
  }
821
801
  return t;
822
- }(vn);
802
+ }(dn);
823
803
  function He(e) {
824
- Ir(e);
804
+ Pr(e);
825
805
  }
826
- function Lr(e) {
806
+ function Hr(e) {
827
807
  throw e;
828
808
  }
829
- var Rr = {
809
+ var Ir = {
830
810
  closed: !0,
831
- next: Ot,
832
- error: Lr,
833
- complete: Ot
834
- }, $r = function() {
811
+ next: Mt,
812
+ error: Hr,
813
+ complete: Mt
814
+ }, Or = function() {
835
815
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
836
816
  }();
837
- function Dr(e) {
817
+ function Nr(e) {
838
818
  return e;
839
819
  }
840
- function Fr(e) {
841
- return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(n) {
820
+ function Lr(e) {
821
+ return e.length === 0 ? Nr : e.length === 1 ? e[0] : function(n) {
842
822
  return e.reduce(function(r, i) {
843
823
  return i(r);
844
824
  }, n);
845
825
  };
846
826
  }
847
- var Nt = function() {
827
+ var Ht = function() {
848
828
  function e(t) {
849
829
  t && (this._subscribe = t);
850
830
  }
@@ -852,7 +832,7 @@ var Nt = function() {
852
832
  var n = new e();
853
833
  return n.source = this, n.operator = t, n;
854
834
  }, e.prototype.subscribe = function(t, n, r) {
855
- var i = this, o = Gr(t) ? t : new at(t, n, r);
835
+ var i = this, o = $r(t) ? t : new st(t, n, r);
856
836
  return Ne(function() {
857
837
  var s = i, a = s.operator, u = s.source;
858
838
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -865,8 +845,8 @@ var Nt = function() {
865
845
  }
866
846
  }, e.prototype.forEach = function(t, n) {
867
847
  var r = this;
868
- return n = Lt(n), new n(function(i, o) {
869
- var s = new at({
848
+ return n = It(n), new n(function(i, o) {
849
+ var s = new st({
870
850
  next: function(a) {
871
851
  try {
872
852
  t(a);
@@ -882,15 +862,15 @@ var Nt = function() {
882
862
  }, e.prototype._subscribe = function(t) {
883
863
  var n;
884
864
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
885
- }, e.prototype[$r] = function() {
865
+ }, e.prototype[Or] = function() {
886
866
  return this;
887
867
  }, e.prototype.pipe = function() {
888
868
  for (var t = [], n = 0; n < arguments.length; n++)
889
869
  t[n] = arguments[n];
890
- return Fr(t)(this);
870
+ return Lr(t)(this);
891
871
  }, e.prototype.toPromise = function(t) {
892
872
  var n = this;
893
- return t = Lt(t), new t(function(r, i) {
873
+ return t = It(t), new t(function(r, i) {
894
874
  var o;
895
875
  n.subscribe(function(s) {
896
876
  return o = s;
@@ -904,32 +884,32 @@ var Nt = function() {
904
884
  return new e(t);
905
885
  }, e;
906
886
  }();
907
- function Lt(e) {
887
+ function It(e) {
908
888
  var t;
909
- return (t = e != null ? e : bn.Promise) !== null && t !== void 0 ? t : Promise;
889
+ return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
910
890
  }
911
- function Ur(e) {
891
+ function Rr(e) {
912
892
  return e && te(e.next) && te(e.error) && te(e.complete);
913
893
  }
914
- function Gr(e) {
915
- return e && e instanceof vn || Ur(e) && mn(e);
894
+ function $r(e) {
895
+ return e && e instanceof dn || Rr(e) && fn(e);
916
896
  }
917
- var kr = dn(function(e) {
897
+ var Dr = cn(function(e) {
918
898
  return function() {
919
899
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
920
900
  };
921
- }), gn = function(e) {
901
+ }), pn = function(e) {
922
902
  ne(t, e);
923
903
  function t() {
924
904
  var n = e.call(this) || this;
925
905
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
926
906
  }
927
907
  return t.prototype.lift = function(n) {
928
- var r = new Rt(this, this);
908
+ var r = new Ot(this, this);
929
909
  return r.operator = n, r;
930
910
  }, t.prototype._throwIfClosed = function() {
931
911
  if (this.closed)
932
- throw new kr();
912
+ throw new Dr();
933
913
  }, t.prototype.next = function(n) {
934
914
  var r = this;
935
915
  Ne(function() {
@@ -937,7 +917,7 @@ var kr = dn(function(e) {
937
917
  if (r._throwIfClosed(), !r.isStopped) {
938
918
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
939
919
  try {
940
- for (var s = it(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
920
+ for (var s = rt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
941
921
  var u = a.value;
942
922
  u.next(n);
943
923
  }
@@ -986,19 +966,19 @@ var kr = dn(function(e) {
986
966
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
987
967
  }, t.prototype._innerSubscribe = function(n) {
988
968
  var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
989
- return o || s ? pn : (this.currentObservers = null, a.push(n), new Ue(function() {
990
- r.currentObservers = null, st(a, n);
969
+ return o || s ? hn : (this.currentObservers = null, a.push(n), new Ue(function() {
970
+ r.currentObservers = null, ot(a, n);
991
971
  }));
992
972
  }, t.prototype._checkFinalizedStatuses = function(n) {
993
973
  var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
994
974
  i ? n.error(o) : s && n.complete();
995
975
  }, t.prototype.asObservable = function() {
996
- var n = new Nt();
976
+ var n = new Ht();
997
977
  return n.source = this, n;
998
978
  }, t.create = function(n, r) {
999
- return new Rt(n, r);
979
+ return new Ot(n, r);
1000
980
  }, t;
1001
- }(Nt), Rt = function(e) {
981
+ }(Ht), Ot = function(e) {
1002
982
  ne(t, e);
1003
983
  function t(n, r) {
1004
984
  var i = e.call(this) || this;
@@ -1015,17 +995,17 @@ var kr = dn(function(e) {
1015
995
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1016
996
  }, t.prototype._subscribe = function(n) {
1017
997
  var r, i;
1018
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : pn;
998
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : hn;
1019
999
  }, t;
1020
- }(gn), yn = {
1000
+ }(pn), mn = {
1021
1001
  now: function() {
1022
- return (yn.delegate || Date).now();
1002
+ return (mn.delegate || Date).now();
1023
1003
  },
1024
1004
  delegate: void 0
1025
- }, jr = function(e) {
1005
+ }, Fr = function(e) {
1026
1006
  ne(t, e);
1027
1007
  function t(n, r, i) {
1028
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = yn);
1008
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = mn);
1029
1009
  var o = e.call(this) || this;
1030
1010
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1031
1011
  }
@@ -1045,15 +1025,15 @@ var kr = dn(function(e) {
1045
1025
  l && o.splice(0, l + 1);
1046
1026
  }
1047
1027
  }, t;
1048
- }(gn);
1049
- const $t = [], Dt = {}, Wr = (e, t = 0) => {
1050
- if ($t.indexOf(e) == -1) {
1051
- const n = new jr(t);
1052
- Dt[e] = n, $t.push(e);
1028
+ }(pn);
1029
+ const Nt = [], Lt = {}, Ur = (e, t = 0) => {
1030
+ if (Nt.indexOf(e) == -1) {
1031
+ const n = new Fr(t);
1032
+ Lt[e] = n, Nt.push(e);
1053
1033
  }
1054
- return Dt[e];
1034
+ return Lt[e];
1055
1035
  }, he = [];
1056
- function Vr(e, t) {
1036
+ function Gr(e, t) {
1057
1037
  return {
1058
1038
  subscribe: Ge(e, t).subscribe
1059
1039
  };
@@ -1062,7 +1042,7 @@ function Ge(e, t = J) {
1062
1042
  let n;
1063
1043
  const r = /* @__PURE__ */ new Set();
1064
1044
  function i(a) {
1065
- if (ln(e, a) && (e = a, n)) {
1045
+ if (sn(e, a) && (e = a, n)) {
1066
1046
  const u = !he.length;
1067
1047
  for (const l of r)
1068
1048
  l[1](), he.push(l, e);
@@ -1089,7 +1069,7 @@ function ye(e, t, n) {
1089
1069
  if (!i.every(Boolean))
1090
1070
  throw new Error("derived() expects stores as input, got a falsy value");
1091
1071
  const o = t.length < 2;
1092
- return Vr(n, (s, a) => {
1072
+ return Gr(n, (s, a) => {
1093
1073
  let u = !1;
1094
1074
  const l = [];
1095
1075
  let c = 0, h = J;
@@ -1098,9 +1078,9 @@ function ye(e, t, n) {
1098
1078
  return;
1099
1079
  h();
1100
1080
  const b = t(r ? l[0] : l, s, a);
1101
- o ? s(b) : h = bt(b) ? b : J;
1081
+ o ? s(b) : h = mt(b) ? b : J;
1102
1082
  }, p = i.map(
1103
- (b, d) => cn(
1083
+ (b, d) => an(
1104
1084
  b,
1105
1085
  (C) => {
1106
1086
  l[d] = C, c &= ~(1 << d), u && f();
@@ -1115,70 +1095,70 @@ function ye(e, t, n) {
1115
1095
  };
1116
1096
  });
1117
1097
  }
1118
- function zr(e) {
1098
+ function kr(e) {
1119
1099
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1120
1100
  }
1121
- var Xr = function(t) {
1122
- return Zr(t) && !qr(t);
1101
+ var jr = function(t) {
1102
+ return Wr(t) && !Vr(t);
1123
1103
  };
1124
- function Zr(e) {
1104
+ function Wr(e) {
1125
1105
  return !!e && typeof e == "object";
1126
1106
  }
1127
- function qr(e) {
1107
+ function Vr(e) {
1128
1108
  var t = Object.prototype.toString.call(e);
1129
- return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
1109
+ return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
1130
1110
  }
1131
- var Qr = typeof Symbol == "function" && Symbol.for, Jr = Qr ? Symbol.for("react.element") : 60103;
1132
- function Yr(e) {
1133
- return e.$$typeof === Jr;
1111
+ var zr = typeof Symbol == "function" && Symbol.for, Xr = zr ? Symbol.for("react.element") : 60103;
1112
+ function Zr(e) {
1113
+ return e.$$typeof === Xr;
1134
1114
  }
1135
- function Kr(e) {
1115
+ function qr(e) {
1136
1116
  return Array.isArray(e) ? [] : {};
1137
1117
  }
1138
1118
  function Ce(e, t) {
1139
- return t.clone !== !1 && t.isMergeableObject(e) ? me(Kr(e), e, t) : e;
1119
+ return t.clone !== !1 && t.isMergeableObject(e) ? me(qr(e), e, t) : e;
1140
1120
  }
1141
- function ei(e, t, n) {
1121
+ function Qr(e, t, n) {
1142
1122
  return e.concat(t).map(function(r) {
1143
1123
  return Ce(r, n);
1144
1124
  });
1145
1125
  }
1146
- function ti(e, t) {
1126
+ function Jr(e, t) {
1147
1127
  if (!t.customMerge)
1148
1128
  return me;
1149
1129
  var n = t.customMerge(e);
1150
1130
  return typeof n == "function" ? n : me;
1151
1131
  }
1152
- function ni(e) {
1132
+ function Yr(e) {
1153
1133
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1154
1134
  return Object.propertyIsEnumerable.call(e, t);
1155
1135
  }) : [];
1156
1136
  }
1157
- function Ft(e) {
1158
- return Object.keys(e).concat(ni(e));
1137
+ function Rt(e) {
1138
+ return Object.keys(e).concat(Yr(e));
1159
1139
  }
1160
- function _n(e, t) {
1140
+ function bn(e, t) {
1161
1141
  try {
1162
1142
  return t in e;
1163
1143
  } catch (n) {
1164
1144
  return !1;
1165
1145
  }
1166
1146
  }
1167
- function ri(e, t) {
1168
- return _n(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1147
+ function Kr(e, t) {
1148
+ return bn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1169
1149
  }
1170
- function ii(e, t, n) {
1150
+ function ei(e, t, n) {
1171
1151
  var r = {};
1172
- return n.isMergeableObject(e) && Ft(e).forEach(function(i) {
1152
+ return n.isMergeableObject(e) && Rt(e).forEach(function(i) {
1173
1153
  r[i] = Ce(e[i], n);
1174
- }), Ft(t).forEach(function(i) {
1175
- ri(e, i) || (_n(e, i) && n.isMergeableObject(t[i]) ? r[i] = ti(i, n)(e[i], t[i], n) : r[i] = Ce(t[i], n));
1154
+ }), Rt(t).forEach(function(i) {
1155
+ Kr(e, i) || (bn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Jr(i, n)(e[i], t[i], n) : r[i] = Ce(t[i], n));
1176
1156
  }), r;
1177
1157
  }
1178
1158
  function me(e, t, n) {
1179
- n = n || {}, n.arrayMerge = n.arrayMerge || ei, n.isMergeableObject = n.isMergeableObject || Xr, n.cloneUnlessOtherwiseSpecified = Ce;
1159
+ n = n || {}, n.arrayMerge = n.arrayMerge || Qr, n.isMergeableObject = n.isMergeableObject || jr, n.cloneUnlessOtherwiseSpecified = Ce;
1180
1160
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1181
- return o ? r ? n.arrayMerge(e, t, n) : ii(e, t, n) : Ce(t, n);
1161
+ return o ? r ? n.arrayMerge(e, t, n) : ei(e, t, n) : Ce(t, n);
1182
1162
  }
1183
1163
  me.all = function(t, n) {
1184
1164
  if (!Array.isArray(t))
@@ -1187,58 +1167,56 @@ me.all = function(t, n) {
1187
1167
  return me(r, i, n);
1188
1168
  }, {});
1189
1169
  };
1190
- var oi = me, si = oi;
1191
- const ai = /* @__PURE__ */ zr(si);
1192
- function qe(e, t) {
1193
- var n = t && t.cache ? t.cache : di, r = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : li;
1170
+ var ti = me, ni = ti;
1171
+ const ri = /* @__PURE__ */ kr(ni);
1172
+ function Ze(e, t) {
1173
+ var n = t && t.cache ? t.cache : ci, r = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : si;
1194
1174
  return i(e, {
1195
1175
  cache: n,
1196
1176
  serializer: r
1197
1177
  });
1198
1178
  }
1199
- function ui(e) {
1179
+ function ii(e) {
1200
1180
  return e == null || typeof e == "number" || typeof e == "boolean";
1201
1181
  }
1202
- function Bn(e, t, n, r) {
1203
- var i = ui(r) ? r : n(r), o = t.get(i);
1182
+ function oi(e, t, n, r) {
1183
+ var i = ii(r) ? r : n(r), o = t.get(i);
1204
1184
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1205
1185
  }
1206
- function En(e, t, n) {
1186
+ function vn(e, t, n) {
1207
1187
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1208
1188
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1209
1189
  }
1210
- function gt(e, t, n, r, i) {
1190
+ function gn(e, t, n, r, i) {
1211
1191
  return n.bind(t, e, r, i);
1212
1192
  }
1213
- function li(e, t) {
1214
- var n = e.length === 1 ? Bn : En;
1215
- return gt(e, this, n, t.cache.create(), t.serializer);
1193
+ function si(e, t) {
1194
+ var n = e.length === 1 ? oi : vn;
1195
+ return gn(e, this, n, t.cache.create(), t.serializer);
1216
1196
  }
1217
- function ci(e, t) {
1218
- return gt(e, this, En, t.cache.create(), t.serializer);
1197
+ function ai(e, t) {
1198
+ return gn(e, this, vn, t.cache.create(), t.serializer);
1219
1199
  }
1220
- function hi(e, t) {
1221
- return gt(e, this, Bn, t.cache.create(), t.serializer);
1222
- }
1223
- var fi = function() {
1200
+ var ui = function() {
1224
1201
  return JSON.stringify(arguments);
1225
- };
1226
- function yt() {
1227
- this.cache = /* @__PURE__ */ Object.create(null);
1228
- }
1229
- yt.prototype.get = function(e) {
1230
- return this.cache[e];
1231
- };
1232
- yt.prototype.set = function(e, t) {
1233
- this.cache[e] = t;
1234
- };
1235
- var di = {
1202
+ }, li = (
1203
+ /** @class */
1204
+ function() {
1205
+ function e() {
1206
+ this.cache = /* @__PURE__ */ Object.create(null);
1207
+ }
1208
+ return e.prototype.get = function(t) {
1209
+ return this.cache[t];
1210
+ }, e.prototype.set = function(t, n) {
1211
+ this.cache[t] = n;
1212
+ }, e;
1213
+ }()
1214
+ ), ci = {
1236
1215
  create: function() {
1237
- return new yt();
1216
+ return new li();
1238
1217
  }
1239
- }, Qe = {
1240
- variadic: ci,
1241
- monadic: hi
1218
+ }, qe = {
1219
+ variadic: ai
1242
1220
  }, x;
1243
1221
  (function(e) {
1244
1222
  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";
@@ -1251,43 +1229,43 @@ var be;
1251
1229
  (function(e) {
1252
1230
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1253
1231
  })(be || (be = {}));
1254
- function Ut(e) {
1232
+ function $t(e) {
1255
1233
  return e.type === O.literal;
1256
1234
  }
1257
- function pi(e) {
1235
+ function hi(e) {
1258
1236
  return e.type === O.argument;
1259
1237
  }
1260
- function xn(e) {
1238
+ function yn(e) {
1261
1239
  return e.type === O.number;
1262
1240
  }
1263
- function wn(e) {
1241
+ function _n(e) {
1264
1242
  return e.type === O.date;
1265
1243
  }
1266
- function Cn(e) {
1244
+ function Bn(e) {
1267
1245
  return e.type === O.time;
1268
1246
  }
1269
- function Sn(e) {
1247
+ function En(e) {
1270
1248
  return e.type === O.select;
1271
1249
  }
1272
- function An(e) {
1250
+ function xn(e) {
1273
1251
  return e.type === O.plural;
1274
1252
  }
1275
- function mi(e) {
1253
+ function fi(e) {
1276
1254
  return e.type === O.pound;
1277
1255
  }
1278
- function Tn(e) {
1256
+ function wn(e) {
1279
1257
  return e.type === O.tag;
1280
1258
  }
1281
- function Pn(e) {
1259
+ function Cn(e) {
1282
1260
  return !!(e && typeof e == "object" && e.type === be.number);
1283
1261
  }
1284
- function ut(e) {
1262
+ function at(e) {
1285
1263
  return !!(e && typeof e == "object" && e.type === be.dateTime);
1286
1264
  }
1287
- var Mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
1288
- function vi(e) {
1265
+ var Sn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1266
+ function pi(e) {
1289
1267
  var t = {};
1290
- return e.replace(bi, function(n) {
1268
+ return e.replace(di, function(n) {
1291
1269
  var r = n.length;
1292
1270
  switch (n[0]) {
1293
1271
  case "G":
@@ -1376,11 +1354,11 @@ function vi(e) {
1376
1354
  return "";
1377
1355
  }), t;
1378
1356
  }
1379
- var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1380
- function yi(e) {
1357
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1358
+ function bi(e) {
1381
1359
  if (e.length === 0)
1382
1360
  throw new Error("Number skeleton cannot be empty");
1383
- for (var t = e.split(gi).filter(function(f) {
1361
+ for (var t = e.split(mi).filter(function(f) {
1384
1362
  return f.length > 0;
1385
1363
  }), n = [], r = 0, i = t; r < i.length; r++) {
1386
1364
  var o = i[r], s = o.split("/");
@@ -1395,17 +1373,17 @@ function yi(e) {
1395
1373
  }
1396
1374
  return n;
1397
1375
  }
1398
- function _i(e) {
1376
+ function vi(e) {
1399
1377
  return e.replace(/^(.*?)-/, "");
1400
1378
  }
1401
- var Gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Hn = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, In = /^(0+)$/;
1402
- function kt(e) {
1379
+ var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, An = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, Tn = /^(0+)$/;
1380
+ function Ft(e) {
1403
1381
  var t = {};
1404
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Hn, function(n, r, i) {
1382
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(An, function(n, r, i) {
1405
1383
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1406
1384
  }), t;
1407
1385
  }
1408
- function On(e) {
1386
+ function Pn(e) {
1409
1387
  switch (e) {
1410
1388
  case "sign-auto":
1411
1389
  return {
@@ -1445,7 +1423,7 @@ function On(e) {
1445
1423
  };
1446
1424
  }
1447
1425
  }
1448
- function Ei(e) {
1426
+ function yi(e) {
1449
1427
  var t;
1450
1428
  if (e[0] === "E" && e[1] === "E" ? (t = {
1451
1429
  notation: "engineering"
@@ -1453,17 +1431,17 @@ function Ei(e) {
1453
1431
  notation: "scientific"
1454
1432
  }, e = e.slice(1)), t) {
1455
1433
  var n = e.slice(0, 2);
1456
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !In.test(e))
1434
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tn.test(e))
1457
1435
  throw new Error("Malformed concise eng/scientific notation");
1458
1436
  t.minimumIntegerDigits = e.length;
1459
1437
  }
1460
1438
  return t;
1461
1439
  }
1462
- function jt(e) {
1463
- var t = {}, n = On(e);
1440
+ function Ut(e) {
1441
+ var t = {}, n = Pn(e);
1464
1442
  return n || t;
1465
1443
  }
1466
- function xi(e) {
1444
+ function _i(e) {
1467
1445
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1468
1446
  var i = r[n];
1469
1447
  switch (i.stem) {
@@ -1487,7 +1465,7 @@ function xi(e) {
1487
1465
  continue;
1488
1466
  case "measure-unit":
1489
1467
  case "unit":
1490
- t.style = "unit", t.unit = _i(i.options[0]);
1468
+ t.style = "unit", t.unit = vi(i.options[0]);
1491
1469
  continue;
1492
1470
  case "compact-short":
1493
1471
  case "K":
@@ -1499,12 +1477,12 @@ function xi(e) {
1499
1477
  continue;
1500
1478
  case "scientific":
1501
1479
  t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1502
- return A(A({}, u), jt(l));
1480
+ return A(A({}, u), Ut(l));
1503
1481
  }, {}));
1504
1482
  continue;
1505
1483
  case "engineering":
1506
1484
  t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1507
- return A(A({}, u), jt(l));
1485
+ return A(A({}, u), Ut(l));
1508
1486
  }, {}));
1509
1487
  continue;
1510
1488
  case "notation-simple":
@@ -1549,7 +1527,7 @@ function xi(e) {
1549
1527
  case "integer-width":
1550
1528
  if (i.options.length > 1)
1551
1529
  throw new RangeError("integer-width stems only accept a single optional option");
1552
- i.options[0].replace(Bi, function(u, l, c, h, f, p) {
1530
+ i.options[0].replace(gi, function(u, l, c, h, f, p) {
1553
1531
  if (l)
1554
1532
  t.minimumIntegerDigits = c.length;
1555
1533
  else {
@@ -1562,27 +1540,27 @@ function xi(e) {
1562
1540
  });
1563
1541
  continue;
1564
1542
  }
1565
- if (In.test(i.stem)) {
1543
+ if (Tn.test(i.stem)) {
1566
1544
  t.minimumIntegerDigits = i.stem.length;
1567
1545
  continue;
1568
1546
  }
1569
- if (Gt.test(i.stem)) {
1547
+ if (Dt.test(i.stem)) {
1570
1548
  if (i.options.length > 1)
1571
1549
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1572
- i.stem.replace(Gt, function(u, l, c, h, f, p) {
1550
+ i.stem.replace(Dt, function(u, l, c, h, f, p) {
1573
1551
  return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1574
1552
  });
1575
1553
  var o = i.options[0];
1576
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), kt(o)));
1554
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ft(o)));
1577
1555
  continue;
1578
1556
  }
1579
- if (Hn.test(i.stem)) {
1580
- t = A(A({}, t), kt(i.stem));
1557
+ if (An.test(i.stem)) {
1558
+ t = A(A({}, t), Ft(i.stem));
1581
1559
  continue;
1582
1560
  }
1583
- var s = On(i.stem);
1561
+ var s = Pn(i.stem);
1584
1562
  s && (t = A(A({}, t), s));
1585
- var a = Ei(i.stem);
1563
+ var a = yi(i.stem);
1586
1564
  a && (t = A(A({}, t), a));
1587
1565
  }
1588
1566
  return t;
@@ -3002,13 +2980,13 @@ var Ie = {
3002
2980
  "h"
3003
2981
  ]
3004
2982
  };
3005
- function wi(e, t) {
2983
+ function Bi(e, t) {
3006
2984
  for (var n = "", r = 0; r < e.length; r++) {
3007
2985
  var i = e.charAt(r);
3008
2986
  if (i === "j") {
3009
2987
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3010
2988
  o++, r++;
3011
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ci(t);
2989
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ei(t);
3012
2990
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3013
2991
  n += u;
3014
2992
  for (; s-- > 0; )
@@ -3018,7 +2996,7 @@ function wi(e, t) {
3018
2996
  }
3019
2997
  return n;
3020
2998
  }
3021
- function Ci(e) {
2999
+ function Ei(e) {
3022
3000
  var t = e.hourCycle;
3023
3001
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3024
3002
  e.hourCycles && // @ts-ignore
@@ -3040,20 +3018,20 @@ function Ci(e) {
3040
3018
  var i = Ie[r || ""] || Ie[n || ""] || Ie["".concat(n, "-001")] || Ie["001"];
3041
3019
  return i[0];
3042
3020
  }
3043
- var Je, Si = new RegExp("^".concat(Mn.source, "*")), Ai = new RegExp("".concat(Mn.source, "*$"));
3021
+ var Qe, xi = new RegExp("^".concat(Sn.source, "*")), wi = new RegExp("".concat(Sn.source, "*$"));
3044
3022
  function w(e, t) {
3045
3023
  return { start: e, end: t };
3046
3024
  }
3047
- var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Mi = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Li = Ni ? Number.isSafeInteger : function(e) {
3025
+ var Ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), Si = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ii = Hi ? Number.isSafeInteger : function(e) {
3048
3026
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3049
- }, lt = !0;
3027
+ }, ut = !0;
3050
3028
  try {
3051
- var Ri = Ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3052
- lt = ((Je = Ri.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3029
+ var Oi = Hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3030
+ ut = ((Qe = Oi.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
3053
3031
  } catch (e) {
3054
- lt = !1;
3032
+ ut = !1;
3055
3033
  }
3056
- var Wt = Ti ? (
3034
+ var Gt = Ci ? (
3057
3035
  // Native
3058
3036
  function(t, n, r) {
3059
3037
  return t.startsWith(n, r);
@@ -3063,7 +3041,7 @@ var Wt = Ti ? (
3063
3041
  function(t, n, r) {
3064
3042
  return t.slice(r, r + n.length) === n;
3065
3043
  }
3066
- ), ct = Pi ? String.fromCodePoint : (
3044
+ ), lt = Si ? String.fromCodePoint : (
3067
3045
  // IE11
3068
3046
  function() {
3069
3047
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3075,9 +3053,9 @@ var Wt = Ti ? (
3075
3053
  }
3076
3054
  return r;
3077
3055
  }
3078
- ), Vt = (
3056
+ ), kt = (
3079
3057
  // native
3080
- Mi ? Object.fromEntries : (
3058
+ Ai ? Object.fromEntries : (
3081
3059
  // Ponyfill
3082
3060
  function(t) {
3083
3061
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -3087,7 +3065,7 @@ var Wt = Ti ? (
3087
3065
  return n;
3088
3066
  }
3089
3067
  )
3090
- ), Nn = Hi ? (
3068
+ ), Mn = Ti ? (
3091
3069
  // Native
3092
3070
  function(t, n) {
3093
3071
  return t.codePointAt(n);
@@ -3101,7 +3079,7 @@ var Wt = Ti ? (
3101
3079
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3102
3080
  }
3103
3081
  }
3104
- ), $i = Ii ? (
3082
+ ), Ni = Pi ? (
3105
3083
  // Native
3106
3084
  function(t) {
3107
3085
  return t.trimStart();
@@ -3109,9 +3087,9 @@ var Wt = Ti ? (
3109
3087
  ) : (
3110
3088
  // Ponyfill
3111
3089
  function(t) {
3112
- return t.replace(Si, "");
3090
+ return t.replace(xi, "");
3113
3091
  }
3114
- ), Di = Oi ? (
3092
+ ), Li = Mi ? (
3115
3093
  // Native
3116
3094
  function(t) {
3117
3095
  return t.trimEnd();
@@ -3119,32 +3097,32 @@ var Wt = Ti ? (
3119
3097
  ) : (
3120
3098
  // Ponyfill
3121
3099
  function(t) {
3122
- return t.replace(Ai, "");
3100
+ return t.replace(wi, "");
3123
3101
  }
3124
3102
  );
3125
- function Ln(e, t) {
3103
+ function Hn(e, t) {
3126
3104
  return new RegExp(e, t);
3127
3105
  }
3128
- var ht;
3129
- if (lt) {
3130
- var zt = Ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3131
- ht = function(t, n) {
3106
+ var ct;
3107
+ if (ut) {
3108
+ var jt = Hn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3109
+ ct = function(t, n) {
3132
3110
  var r;
3133
- zt.lastIndex = n;
3134
- var i = zt.exec(t);
3111
+ jt.lastIndex = n;
3112
+ var i = jt.exec(t);
3135
3113
  return (r = i[1]) !== null && r !== void 0 ? r : "";
3136
3114
  };
3137
3115
  } else
3138
- ht = function(t, n) {
3116
+ ct = function(t, n) {
3139
3117
  for (var r = []; ; ) {
3140
- var i = Nn(t, n);
3141
- if (i === void 0 || Rn(i) || ki(i))
3118
+ var i = Mn(t, n);
3119
+ if (i === void 0 || In(i) || Fi(i))
3142
3120
  break;
3143
3121
  r.push(i), n += i >= 65536 ? 2 : 1;
3144
3122
  }
3145
- return ct.apply(void 0, r);
3123
+ return lt.apply(void 0, r);
3146
3124
  };
3147
- var Fi = (
3125
+ var Ri = (
3148
3126
  /** @class */
3149
3127
  function() {
3150
3128
  function e(t, n) {
@@ -3175,7 +3153,7 @@ var Fi = (
3175
3153
  if (r)
3176
3154
  break;
3177
3155
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3178
- } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3156
+ } else if (o === 60 && !this.ignoreTag && ht(this.peek() || 0)) {
3179
3157
  var s = this.parseTag(t, n);
3180
3158
  if (s.err)
3181
3159
  return s;
@@ -3208,7 +3186,7 @@ var Fi = (
3208
3186
  return o;
3209
3187
  var s = o.val, a = this.clonePosition();
3210
3188
  if (this.bumpIf("</")) {
3211
- if (this.isEOF() || !ft(this.char()))
3189
+ if (this.isEOF() || !ht(this.char()))
3212
3190
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3213
3191
  var u = this.clonePosition(), l = this.parseTagName();
3214
3192
  return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3226,7 +3204,7 @@ var Fi = (
3226
3204
  return this.error(x.INVALID_TAG, w(r, this.clonePosition()));
3227
3205
  }, e.prototype.parseTagName = function() {
3228
3206
  var t = this.offset();
3229
- for (this.bump(); !this.isEOF() && Gi(this.char()); )
3207
+ for (this.bump(); !this.isEOF() && Di(this.char()); )
3230
3208
  this.bump();
3231
3209
  return this.message.slice(t, this.offset());
3232
3210
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3255,7 +3233,7 @@ var Fi = (
3255
3233
  };
3256
3234
  }, e.prototype.tryParseLeftAngleBracket = function() {
3257
3235
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3258
- !Ui(this.peek() || 0)) ? (this.bump(), "<") : null;
3236
+ !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3259
3237
  }, e.prototype.tryParseQuote = function(t) {
3260
3238
  if (this.isEOF() || this.char() !== 39)
3261
3239
  return null;
@@ -3289,12 +3267,12 @@ var Fi = (
3289
3267
  n.push(r);
3290
3268
  this.bump();
3291
3269
  }
3292
- return ct.apply(void 0, n);
3270
+ return lt.apply(void 0, n);
3293
3271
  }, e.prototype.tryParseUnquoted = function(t, n) {
3294
3272
  if (this.isEOF())
3295
3273
  return null;
3296
3274
  var r = this.char();
3297
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), ct(r));
3275
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), lt(r));
3298
3276
  }, e.prototype.parseArgument = function(t, n) {
3299
3277
  var r = this.clonePosition();
3300
3278
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3323,7 +3301,7 @@ var Fi = (
3323
3301
  return this.error(x.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
3324
3302
  }
3325
3303
  }, e.prototype.parseIdentifierIfPossible = function() {
3326
- var t = this.clonePosition(), n = this.offset(), r = ht(this.message, n), i = n + r.length;
3304
+ var t = this.clonePosition(), n = this.offset(), r = ct(this.message, n), i = n + r.length;
3327
3305
  this.bumpTo(i);
3328
3306
  var o = this.clonePosition(), s = w(t, o);
3329
3307
  return { value: r, location: s };
@@ -3342,7 +3320,7 @@ var Fi = (
3342
3320
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3343
3321
  if (h.err)
3344
3322
  return h;
3345
- var f = Di(h.val);
3323
+ var f = Li(h.val);
3346
3324
  if (f.length === 0)
3347
3325
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3348
3326
  var p = w(c, this.clonePosition());
@@ -3352,8 +3330,8 @@ var Fi = (
3352
3330
  if (b.err)
3353
3331
  return b;
3354
3332
  var d = w(i, this.clonePosition());
3355
- if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
3356
- var C = $i(l.style.slice(2));
3333
+ if (l && Gt(l == null ? void 0 : l.style, "::", 0)) {
3334
+ var C = Ni(l.style.slice(2));
3357
3335
  if (a === "number") {
3358
3336
  var h = this.parseNumberSkeletonFromString(C, l.styleLocation);
3359
3337
  return h.err ? h : {
@@ -3364,12 +3342,12 @@ var Fi = (
3364
3342
  if (C.length === 0)
3365
3343
  return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3366
3344
  var _ = C;
3367
- this.locale && (_ = wi(C, this.locale));
3345
+ this.locale && (_ = Bi(C, this.locale));
3368
3346
  var f = {
3369
3347
  type: be.dateTime,
3370
3348
  pattern: _,
3371
3349
  location: l.styleLocation,
3372
- parsedOptions: this.shouldParseSkeletons ? vi(_) : {}
3350
+ parsedOptions: this.shouldParseSkeletons ? pi(_) : {}
3373
3351
  }, g = a === "date" ? O.date : O.time;
3374
3352
  return {
3375
3353
  val: { type: g, value: r, location: d, style: f },
@@ -3415,7 +3393,7 @@ var Fi = (
3415
3393
  val: {
3416
3394
  type: O.select,
3417
3395
  value: r,
3418
- options: Vt(E.val),
3396
+ options: kt(E.val),
3419
3397
  location: L
3420
3398
  },
3421
3399
  err: null
@@ -3423,7 +3401,7 @@ var Fi = (
3423
3401
  val: {
3424
3402
  type: O.plural,
3425
3403
  value: r,
3426
- options: Vt(E.val),
3404
+ options: kt(E.val),
3427
3405
  offset: T,
3428
3406
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3429
3407
  location: L
@@ -3474,7 +3452,7 @@ var Fi = (
3474
3452
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3475
3453
  var r = [];
3476
3454
  try {
3477
- r = yi(t);
3455
+ r = bi(t);
3478
3456
  } catch (i) {
3479
3457
  return this.error(x.INVALID_NUMBER_SKELETON, n);
3480
3458
  }
@@ -3483,7 +3461,7 @@ var Fi = (
3483
3461
  type: be.number,
3484
3462
  tokens: r,
3485
3463
  location: n,
3486
- parsedOptions: this.shouldParseSkeletons ? xi(r) : {}
3464
+ parsedOptions: this.shouldParseSkeletons ? _i(r) : {}
3487
3465
  },
3488
3466
  err: null
3489
3467
  };
@@ -3531,7 +3509,7 @@ var Fi = (
3531
3509
  break;
3532
3510
  }
3533
3511
  var u = w(i, this.clonePosition());
3534
- return o ? (s *= r, Li(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3512
+ return o ? (s *= r, Ii(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3535
3513
  }, e.prototype.offset = function() {
3536
3514
  return this.position.offset;
3537
3515
  }, e.prototype.isEOF = function() {
@@ -3546,7 +3524,7 @@ var Fi = (
3546
3524
  var t = this.position.offset;
3547
3525
  if (t >= this.message.length)
3548
3526
  throw Error("out of bound");
3549
- var n = Nn(this.message, t);
3527
+ var n = Mn(this.message, t);
3550
3528
  if (n === void 0)
3551
3529
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3552
3530
  return n;
@@ -3565,7 +3543,7 @@ var Fi = (
3565
3543
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3566
3544
  }
3567
3545
  }, e.prototype.bumpIf = function(t) {
3568
- if (Wt(this.message, t, this.offset())) {
3546
+ if (Gt(this.message, t, this.offset())) {
3569
3547
  for (var n = 0; n < t.length; n++)
3570
3548
  this.bump();
3571
3549
  return !0;
@@ -3587,7 +3565,7 @@ var Fi = (
3587
3565
  break;
3588
3566
  }
3589
3567
  }, e.prototype.bumpSpace = function() {
3590
- for (; !this.isEOF() && Rn(this.char()); )
3568
+ for (; !this.isEOF() && In(this.char()); )
3591
3569
  this.bump();
3592
3570
  }, e.prototype.peek = function() {
3593
3571
  if (this.isEOF())
@@ -3597,38 +3575,38 @@ var Fi = (
3597
3575
  }, e;
3598
3576
  }()
3599
3577
  );
3600
- function ft(e) {
3578
+ function ht(e) {
3601
3579
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3602
3580
  }
3603
- function Ui(e) {
3604
- return ft(e) || e === 47;
3581
+ function $i(e) {
3582
+ return ht(e) || e === 47;
3605
3583
  }
3606
- function Gi(e) {
3584
+ function Di(e) {
3607
3585
  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;
3608
3586
  }
3609
- function Rn(e) {
3587
+ function In(e) {
3610
3588
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3611
3589
  }
3612
- function ki(e) {
3590
+ function Fi(e) {
3613
3591
  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;
3614
3592
  }
3615
- function dt(e) {
3593
+ function ft(e) {
3616
3594
  e.forEach(function(t) {
3617
- if (delete t.location, Sn(t) || An(t))
3595
+ if (delete t.location, En(t) || xn(t))
3618
3596
  for (var n in t.options)
3619
- delete t.options[n].location, dt(t.options[n].value);
3597
+ delete t.options[n].location, ft(t.options[n].value);
3620
3598
  else
3621
- xn(t) && Pn(t.style) || (wn(t) || Cn(t)) && ut(t.style) ? delete t.style.location : Tn(t) && dt(t.children);
3599
+ yn(t) && Cn(t.style) || (_n(t) || Bn(t)) && at(t.style) ? delete t.style.location : wn(t) && ft(t.children);
3622
3600
  });
3623
3601
  }
3624
- function ji(e, t) {
3602
+ function Ui(e, t) {
3625
3603
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3626
- var n = new Fi(e, t).parse();
3604
+ var n = new Ri(e, t).parse();
3627
3605
  if (n.err) {
3628
3606
  var r = SyntaxError(x[n.err.kind]);
3629
3607
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3630
3608
  }
3631
- return t != null && t.captureLocation || dt(n.val), n.val;
3609
+ return t != null && t.captureLocation || ft(n.val), n.val;
3632
3610
  }
3633
3611
  var ve;
3634
3612
  (function(e) {
@@ -3646,7 +3624,7 @@ var ke = (
3646
3624
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3647
3625
  }, t;
3648
3626
  }(Error)
3649
- ), Xt = (
3627
+ ), Wt = (
3650
3628
  /** @class */
3651
3629
  function(e) {
3652
3630
  ne(t, e);
@@ -3655,7 +3633,7 @@ var ke = (
3655
3633
  }
3656
3634
  return t;
3657
3635
  }(ke)
3658
- ), Wi = (
3636
+ ), Gi = (
3659
3637
  /** @class */
3660
3638
  function(e) {
3661
3639
  ne(t, e);
@@ -3664,7 +3642,7 @@ var ke = (
3664
3642
  }
3665
3643
  return t;
3666
3644
  }(ke)
3667
- ), Vi = (
3645
+ ), ki = (
3668
3646
  /** @class */
3669
3647
  function(e) {
3670
3648
  ne(t, e);
@@ -3677,17 +3655,17 @@ var ke = (
3677
3655
  (function(e) {
3678
3656
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3679
3657
  })(k || (k = {}));
3680
- function zi(e) {
3658
+ function ji(e) {
3681
3659
  return e.length < 2 ? e : e.reduce(function(t, n) {
3682
3660
  var r = t[t.length - 1];
3683
3661
  return !r || r.type !== k.literal || n.type !== k.literal ? t.push(n) : r.value += n.value, t;
3684
3662
  }, []);
3685
3663
  }
3686
- function Xi(e) {
3664
+ function Wi(e) {
3687
3665
  return typeof e == "function";
3688
3666
  }
3689
3667
  function Le(e, t, n, r, i, o, s) {
3690
- if (e.length === 1 && Ut(e[0]))
3668
+ if (e.length === 1 && $t(e[0]))
3691
3669
  return [
3692
3670
  {
3693
3671
  type: k.literal,
@@ -3696,14 +3674,14 @@ function Le(e, t, n, r, i, o, s) {
3696
3674
  ];
3697
3675
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3698
3676
  var c = l[u];
3699
- if (Ut(c)) {
3677
+ if ($t(c)) {
3700
3678
  a.push({
3701
3679
  type: k.literal,
3702
3680
  value: c.value
3703
3681
  });
3704
3682
  continue;
3705
3683
  }
3706
- if (mi(c)) {
3684
+ if (fi(c)) {
3707
3685
  typeof o == "number" && a.push({
3708
3686
  type: k.literal,
3709
3687
  value: n.getNumberFormat(t).format(o)
@@ -3712,43 +3690,43 @@ function Le(e, t, n, r, i, o, s) {
3712
3690
  }
3713
3691
  var h = c.value;
3714
3692
  if (!(i && h in i))
3715
- throw new Vi(h, s);
3693
+ throw new ki(h, s);
3716
3694
  var f = i[h];
3717
- if (pi(c)) {
3695
+ if (hi(c)) {
3718
3696
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3719
3697
  type: typeof f == "string" ? k.literal : k.object,
3720
3698
  value: f
3721
3699
  });
3722
3700
  continue;
3723
3701
  }
3724
- if (wn(c)) {
3725
- var p = typeof c.style == "string" ? r.date[c.style] : ut(c.style) ? c.style.parsedOptions : void 0;
3702
+ if (_n(c)) {
3703
+ var p = typeof c.style == "string" ? r.date[c.style] : at(c.style) ? c.style.parsedOptions : void 0;
3726
3704
  a.push({
3727
3705
  type: k.literal,
3728
3706
  value: n.getDateTimeFormat(t, p).format(f)
3729
3707
  });
3730
3708
  continue;
3731
3709
  }
3732
- if (Cn(c)) {
3733
- var p = typeof c.style == "string" ? r.time[c.style] : ut(c.style) ? c.style.parsedOptions : r.time.medium;
3710
+ if (Bn(c)) {
3711
+ var p = typeof c.style == "string" ? r.time[c.style] : at(c.style) ? c.style.parsedOptions : r.time.medium;
3734
3712
  a.push({
3735
3713
  type: k.literal,
3736
3714
  value: n.getDateTimeFormat(t, p).format(f)
3737
3715
  });
3738
3716
  continue;
3739
3717
  }
3740
- if (xn(c)) {
3741
- var p = typeof c.style == "string" ? r.number[c.style] : Pn(c.style) ? c.style.parsedOptions : void 0;
3718
+ if (yn(c)) {
3719
+ var p = typeof c.style == "string" ? r.number[c.style] : Cn(c.style) ? c.style.parsedOptions : void 0;
3742
3720
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3743
3721
  type: k.literal,
3744
3722
  value: n.getNumberFormat(t, p).format(f)
3745
3723
  });
3746
3724
  continue;
3747
3725
  }
3748
- if (Tn(c)) {
3726
+ if (wn(c)) {
3749
3727
  var b = c.children, d = c.value, C = i[d];
3750
- if (!Xi(C))
3751
- throw new Wi(d, "function", s);
3728
+ if (!Wi(C))
3729
+ throw new Gi(d, "function", s);
3752
3730
  var _ = Le(b, t, n, r, i, o), g = C(_.map(function(T) {
3753
3731
  return T.value;
3754
3732
  }));
@@ -3759,14 +3737,14 @@ function Le(e, t, n, r, i, o, s) {
3759
3737
  };
3760
3738
  }));
3761
3739
  }
3762
- if (Sn(c)) {
3740
+ if (En(c)) {
3763
3741
  var M = c.options[f] || c.options.other;
3764
3742
  if (!M)
3765
- throw new Xt(c.value, f, Object.keys(c.options), s);
3743
+ throw new Wt(c.value, f, Object.keys(c.options), s);
3766
3744
  a.push.apply(a, Le(M.value, t, n, r, i));
3767
3745
  continue;
3768
3746
  }
3769
- if (An(c)) {
3747
+ if (xn(c)) {
3770
3748
  var M = c.options["=".concat(f)];
3771
3749
  if (!M) {
3772
3750
  if (!Intl.PluralRules)
@@ -3777,24 +3755,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3777
3755
  M = c.options[N] || c.options.other;
3778
3756
  }
3779
3757
  if (!M)
3780
- throw new Xt(c.value, f, Object.keys(c.options), s);
3758
+ throw new Wt(c.value, f, Object.keys(c.options), s);
3781
3759
  a.push.apply(a, Le(M.value, t, n, r, i, f - (c.offset || 0)));
3782
3760
  continue;
3783
3761
  }
3784
3762
  }
3785
- return zi(a);
3763
+ return ji(a);
3786
3764
  }
3787
- function Zi(e, t) {
3765
+ function Vi(e, t) {
3788
3766
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3789
3767
  return n[r] = A(A({}, e[r]), t[r] || {}), n;
3790
3768
  }, {})) : e;
3791
3769
  }
3792
- function qi(e, t) {
3770
+ function zi(e, t) {
3793
3771
  return t ? Object.keys(e).reduce(function(n, r) {
3794
- return n[r] = Zi(e[r], t[r]), n;
3772
+ return n[r] = Vi(e[r], t[r]), n;
3795
3773
  }, A({}, e)) : e;
3796
3774
  }
3797
- function Ye(e) {
3775
+ function Je(e) {
3798
3776
  return {
3799
3777
  create: function() {
3800
3778
  return {
@@ -3808,39 +3786,39 @@ function Ye(e) {
3808
3786
  }
3809
3787
  };
3810
3788
  }
3811
- function Qi(e) {
3789
+ function Xi(e) {
3812
3790
  return e === void 0 && (e = {
3813
3791
  number: {},
3814
3792
  dateTime: {},
3815
3793
  pluralRules: {}
3816
3794
  }), {
3817
- getNumberFormat: qe(function() {
3795
+ getNumberFormat: Ze(function() {
3818
3796
  for (var t, n = [], r = 0; r < arguments.length; r++)
3819
3797
  n[r] = arguments[r];
3820
3798
  return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], n, !1)))();
3821
3799
  }, {
3822
- cache: Ye(e.number),
3823
- strategy: Qe.variadic
3800
+ cache: Je(e.number),
3801
+ strategy: qe.variadic
3824
3802
  }),
3825
- getDateTimeFormat: qe(function() {
3803
+ getDateTimeFormat: Ze(function() {
3826
3804
  for (var t, n = [], r = 0; r < arguments.length; r++)
3827
3805
  n[r] = arguments[r];
3828
3806
  return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], n, !1)))();
3829
3807
  }, {
3830
- cache: Ye(e.dateTime),
3831
- strategy: Qe.variadic
3808
+ cache: Je(e.dateTime),
3809
+ strategy: qe.variadic
3832
3810
  }),
3833
- getPluralRules: qe(function() {
3811
+ getPluralRules: Ze(function() {
3834
3812
  for (var t, n = [], r = 0; r < arguments.length; r++)
3835
3813
  n[r] = arguments[r];
3836
3814
  return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], n, !1)))();
3837
3815
  }, {
3838
- cache: Ye(e.pluralRules),
3839
- strategy: Qe.variadic
3816
+ cache: Je(e.pluralRules),
3817
+ strategy: qe.variadic
3840
3818
  })
3841
3819
  };
3842
3820
  }
3843
- var Ji = (
3821
+ var Zi = (
3844
3822
  /** @class */
3845
3823
  function() {
3846
3824
  function e(t, n, r, i) {
@@ -3872,13 +3850,13 @@ var Ji = (
3872
3850
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3873
3851
  var s = i || {};
3874
3852
  s.formatters;
3875
- var a = Mr(s, ["formatters"]);
3853
+ var a = Sr(s, ["formatters"]);
3876
3854
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3877
3855
  } else
3878
3856
  this.ast = t;
3879
3857
  if (!Array.isArray(this.ast))
3880
3858
  throw new TypeError("A message must be provided as a String or AST.");
3881
- this.formats = qi(e.formats, r), this.formatters = i && i.formatters || Qi(this.formatterCache);
3859
+ this.formats = zi(e.formats, r), this.formatters = i && i.formatters || Xi(this.formatterCache);
3882
3860
  }
3883
3861
  return Object.defineProperty(e, "defaultLocale", {
3884
3862
  get: function() {
@@ -3891,7 +3869,7 @@ var Ji = (
3891
3869
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3892
3870
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3893
3871
  }
3894
- }, e.__parse = ji, e.formats = {
3872
+ }, e.__parse = Ui, e.formats = {
3895
3873
  number: {
3896
3874
  integer: {
3897
3875
  maximumFractionDigits: 0
@@ -3952,7 +3930,7 @@ var Ji = (
3952
3930
  }, e;
3953
3931
  }()
3954
3932
  );
3955
- function Yi(e, t) {
3933
+ function qi(e, t) {
3956
3934
  if (t == null)
3957
3935
  return;
3958
3936
  if (t in e)
@@ -3973,92 +3951,92 @@ function Yi(e, t) {
3973
3951
  r = void 0;
3974
3952
  return r;
3975
3953
  }
3976
- const ie = {}, Ki = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), $n = (e, t) => {
3954
+ const ie = {}, Qi = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), On = (e, t) => {
3977
3955
  if (t == null)
3978
3956
  return;
3979
3957
  if (t in ie && e in ie[t])
3980
3958
  return ie[t][e];
3981
3959
  const n = je(t);
3982
3960
  for (let r = 0; r < n.length; r++) {
3983
- const i = n[r], o = to(i, e);
3961
+ const i = n[r], o = Yi(i, e);
3984
3962
  if (o)
3985
- return Ki(e, t, o);
3963
+ return Qi(e, t, o);
3986
3964
  }
3987
3965
  };
3988
- let _t;
3966
+ let vt;
3989
3967
  const Ae = Ge({});
3990
- function eo(e) {
3991
- return _t[e] || null;
3968
+ function Ji(e) {
3969
+ return vt[e] || null;
3992
3970
  }
3993
- function Dn(e) {
3994
- return e in _t;
3971
+ function Nn(e) {
3972
+ return e in vt;
3995
3973
  }
3996
- function to(e, t) {
3997
- if (!Dn(e))
3974
+ function Yi(e, t) {
3975
+ if (!Nn(e))
3998
3976
  return null;
3999
- const n = eo(e);
4000
- return Yi(n, t);
3977
+ const n = Ji(e);
3978
+ return qi(n, t);
4001
3979
  }
4002
- function no(e) {
3980
+ function Ki(e) {
4003
3981
  if (e == null)
4004
3982
  return;
4005
3983
  const t = je(e);
4006
3984
  for (let n = 0; n < t.length; n++) {
4007
3985
  const r = t[n];
4008
- if (Dn(r))
3986
+ if (Nn(r))
4009
3987
  return r;
4010
3988
  }
4011
3989
  }
4012
- function Fn(e, ...t) {
4013
- delete ie[e], Ae.update((n) => (n[e] = ai.all([n[e] || {}, ...t]), n));
3990
+ function Ln(e, ...t) {
3991
+ delete ie[e], Ae.update((n) => (n[e] = ri.all([n[e] || {}, ...t]), n));
4014
3992
  }
4015
3993
  ye(
4016
3994
  [Ae],
4017
3995
  ([e]) => Object.keys(e)
4018
3996
  );
4019
- Ae.subscribe((e) => _t = e);
3997
+ Ae.subscribe((e) => vt = e);
4020
3998
  const Re = {};
4021
- function ro(e, t) {
3999
+ function eo(e, t) {
4022
4000
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4023
4001
  }
4024
- function Un(e) {
4002
+ function Rn(e) {
4025
4003
  return Re[e];
4026
4004
  }
4027
- function io(e) {
4005
+ function to(e) {
4028
4006
  return je(e).map((t) => {
4029
- const n = Un(t);
4007
+ const n = Rn(t);
4030
4008
  return [t, n ? [...n] : []];
4031
4009
  }).filter(([, t]) => t.length > 0);
4032
4010
  }
4033
- function pt(e) {
4011
+ function dt(e) {
4034
4012
  return e == null ? !1 : je(e).some(
4035
4013
  (t) => {
4036
4014
  var n;
4037
- return (n = Un(t)) == null ? void 0 : n.size;
4015
+ return (n = Rn(t)) == null ? void 0 : n.size;
4038
4016
  }
4039
4017
  );
4040
4018
  }
4041
- function oo(e, t) {
4019
+ function no(e, t) {
4042
4020
  return Promise.all(
4043
- t.map((r) => (ro(e, r), r().then((i) => i.default || i)))
4044
- ).then((r) => Fn(e, ...r));
4021
+ t.map((r) => (eo(e, r), r().then((i) => i.default || i)))
4022
+ ).then((r) => Ln(e, ...r));
4045
4023
  }
4046
4024
  const Ee = {};
4047
- function Gn(e) {
4048
- if (!pt(e))
4025
+ function $n(e) {
4026
+ if (!dt(e))
4049
4027
  return e in Ee ? Ee[e] : Promise.resolve();
4050
- const t = io(e);
4028
+ const t = to(e);
4051
4029
  return Ee[e] = Promise.all(
4052
4030
  t.map(
4053
- ([n, r]) => oo(n, r)
4031
+ ([n, r]) => no(n, r)
4054
4032
  )
4055
4033
  ).then(() => {
4056
- if (pt(e))
4057
- return Gn(e);
4034
+ if (dt(e))
4035
+ return $n(e);
4058
4036
  delete Ee[e];
4059
4037
  }), Ee[e];
4060
4038
  }
4061
- const so = {
4039
+ const ro = {
4062
4040
  number: {
4063
4041
  scientific: { notation: "scientific" },
4064
4042
  engineering: { notation: "engineering" },
@@ -4087,57 +4065,57 @@ const so = {
4087
4065
  timeZoneName: "short"
4088
4066
  }
4089
4067
  }
4090
- }, ao = {
4068
+ }, io = {
4091
4069
  fallbackLocale: null,
4092
4070
  loadingDelay: 200,
4093
- formats: so,
4071
+ formats: ro,
4094
4072
  warnOnMissingMessages: !0,
4095
4073
  handleMissingMessage: void 0,
4096
4074
  ignoreTag: !0
4097
- }, uo = ao;
4075
+ }, oo = io;
4098
4076
  function ge() {
4099
- return uo;
4077
+ return oo;
4100
4078
  }
4101
- const Ke = Ge(!1);
4102
- var lo = Object.defineProperty, co = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, Zt = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, qt = (e, t, n) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mo = (e, t) => {
4079
+ const Ye = Ge(!1);
4080
+ var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, Vt = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, zt = (e, t, n) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ho = (e, t) => {
4103
4081
  for (var n in t || (t = {}))
4104
- fo.call(t, n) && qt(e, n, t[n]);
4105
- if (Zt)
4106
- for (var n of Zt(t))
4107
- po.call(t, n) && qt(e, n, t[n]);
4082
+ lo.call(t, n) && zt(e, n, t[n]);
4083
+ if (Vt)
4084
+ for (var n of Vt(t))
4085
+ co.call(t, n) && zt(e, n, t[n]);
4108
4086
  return e;
4109
- }, bo = (e, t) => co(e, ho(t));
4110
- let mt;
4087
+ }, fo = (e, t) => ao(e, uo(t));
4088
+ let pt;
4111
4089
  const De = Ge(null);
4112
- function Qt(e) {
4090
+ function Xt(e) {
4113
4091
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4114
4092
  }
4115
4093
  function je(e, t = ge().fallbackLocale) {
4116
- const n = Qt(e);
4117
- return t ? [.../* @__PURE__ */ new Set([...n, ...Qt(t)])] : n;
4094
+ const n = Xt(e);
4095
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Xt(t)])] : n;
4118
4096
  }
4119
4097
  function ae() {
4120
- return mt != null ? mt : void 0;
4098
+ return pt != null ? pt : void 0;
4121
4099
  }
4122
4100
  De.subscribe((e) => {
4123
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4101
+ pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4124
4102
  });
4125
- const vo = (e) => {
4126
- if (e && no(e) && pt(e)) {
4103
+ const po = (e) => {
4104
+ if (e && Ki(e) && dt(e)) {
4127
4105
  const { loadingDelay: t } = ge();
4128
4106
  let n;
4129
4107
  return typeof window != "undefined" && ae() != null && t ? n = window.setTimeout(
4130
- () => Ke.set(!0),
4108
+ () => Ye.set(!0),
4131
4109
  t
4132
- ) : Ke.set(!0), Gn(e).then(() => {
4110
+ ) : Ye.set(!0), $n(e).then(() => {
4133
4111
  De.set(e);
4134
4112
  }).finally(() => {
4135
- clearTimeout(n), Ke.set(!1);
4113
+ clearTimeout(n), Ye.set(!1);
4136
4114
  });
4137
4115
  }
4138
4116
  return De.set(e);
4139
- }, _e = bo(mo({}, De), {
4140
- set: vo
4117
+ }, _e = fo(ho({}, De), {
4118
+ set: po
4141
4119
  }), We = (e) => {
4142
4120
  const t = /* @__PURE__ */ Object.create(null);
4143
4121
  return (r) => {
@@ -4145,20 +4123,20 @@ const vo = (e) => {
4145
4123
  return i in t ? t[i] : t[i] = e(r);
4146
4124
  };
4147
4125
  };
4148
- var go = Object.defineProperty, Fe = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bt = (e, t) => {
4126
+ var mo = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Zt = (e, t, n) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gt = (e, t) => {
4149
4127
  for (var n in t || (t = {}))
4150
- kn.call(t, n) && Jt(e, n, t[n]);
4128
+ Dn.call(t, n) && Zt(e, n, t[n]);
4151
4129
  if (Fe)
4152
4130
  for (var n of Fe(t))
4153
- jn.call(t, n) && Jt(e, n, t[n]);
4131
+ Fn.call(t, n) && Zt(e, n, t[n]);
4154
4132
  return e;
4155
4133
  }, Be = (e, t) => {
4156
4134
  var n = {};
4157
4135
  for (var r in e)
4158
- kn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4136
+ Dn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4159
4137
  if (e != null && Fe)
4160
4138
  for (var r of Fe(e))
4161
- t.indexOf(r) < 0 && jn.call(e, r) && (n[r] = e[r]);
4139
+ t.indexOf(r) < 0 && Fn.call(e, r) && (n[r] = e[r]);
4162
4140
  return n;
4163
4141
  };
4164
4142
  const Se = (e, t) => {
@@ -4166,21 +4144,21 @@ const Se = (e, t) => {
4166
4144
  if (e in n && t in n[e])
4167
4145
  return n[e][t];
4168
4146
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4169
- }, yo = We(
4147
+ }, bo = We(
4170
4148
  (e) => {
4171
4149
  var t = e, { locale: n, format: r } = t, i = Be(t, ["locale", "format"]);
4172
4150
  if (n == null)
4173
4151
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4174
4152
  return r && (i = Se("number", r)), new Intl.NumberFormat(n, i);
4175
4153
  }
4176
- ), _o = We(
4154
+ ), vo = We(
4177
4155
  (e) => {
4178
4156
  var t = e, { locale: n, format: r } = t, i = Be(t, ["locale", "format"]);
4179
4157
  if (n == null)
4180
4158
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4181
4159
  return r ? i = Se("date", r) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(n, i);
4182
4160
  }
4183
- ), Bo = We(
4161
+ ), go = We(
4184
4162
  (e) => {
4185
4163
  var t = e, { locale: n, format: r } = t, i = Be(t, ["locale", "format"]);
4186
4164
  if (n == null)
@@ -4189,33 +4167,33 @@ const Se = (e, t) => {
4189
4167
  );
4190
4168
  return r ? i = Se("time", r) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(n, i);
4191
4169
  }
4192
- ), Eo = (e = {}) => {
4170
+ ), yo = (e = {}) => {
4193
4171
  var t = e, {
4194
4172
  locale: n = ae()
4195
4173
  } = t, r = Be(t, [
4196
4174
  "locale"
4197
4175
  ]);
4198
- return yo(Bt({ locale: n }, r));
4199
- }, xo = (e = {}) => {
4176
+ return bo(gt({ locale: n }, r));
4177
+ }, _o = (e = {}) => {
4200
4178
  var t = e, {
4201
4179
  locale: n = ae()
4202
4180
  } = t, r = Be(t, [
4203
4181
  "locale"
4204
4182
  ]);
4205
- return _o(Bt({ locale: n }, r));
4206
- }, wo = (e = {}) => {
4183
+ return vo(gt({ locale: n }, r));
4184
+ }, Bo = (e = {}) => {
4207
4185
  var t = e, {
4208
4186
  locale: n = ae()
4209
4187
  } = t, r = Be(t, [
4210
4188
  "locale"
4211
4189
  ]);
4212
- return Bo(Bt({ locale: n }, r));
4213
- }, Co = We(
4190
+ return go(gt({ locale: n }, r));
4191
+ }, Eo = We(
4214
4192
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4215
- (e, t = ae()) => new Ji(e, t, ge().formats, {
4193
+ (e, t = ae()) => new Zi(e, t, ge().formats, {
4216
4194
  ignoreTag: ge().ignoreTag
4217
4195
  })
4218
- ), So = (e, t = {}) => {
4196
+ ), xo = (e, t = {}) => {
4219
4197
  var n, r, i, o;
4220
4198
  let s = t;
4221
4199
  typeof e == "object" && (s = e, e = s.id);
@@ -4228,7 +4206,7 @@ const Se = (e, t) => {
4228
4206
  throw new Error(
4229
4207
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4230
4208
  );
4231
- let c = $n(e, u);
4209
+ let c = On(e, u);
4232
4210
  if (!c)
4233
4211
  c = (o = (i = (r = (n = ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4234
4212
  else if (typeof c != "string")
@@ -4239,7 +4217,7 @@ const Se = (e, t) => {
4239
4217
  return c;
4240
4218
  let h = c;
4241
4219
  try {
4242
- h = Co(c, u).format(a);
4220
+ h = Eo(c, u).format(a);
4243
4221
  } catch (f) {
4244
4222
  f instanceof Error && console.warn(
4245
4223
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4247,20 +4225,20 @@ const Se = (e, t) => {
4247
4225
  );
4248
4226
  }
4249
4227
  return h;
4250
- }, Ao = (e, t) => wo(t).format(e), To = (e, t) => xo(t).format(e), Po = (e, t) => Eo(t).format(e), Mo = (e, t = ae()) => $n(e, t), Ho = ye([_e, Ae], () => So);
4251
- ye([_e], () => Ao);
4252
- ye([_e], () => To);
4253
- ye([_e], () => Po);
4254
- ye([_e, Ae], () => Mo);
4255
- window.emWidgets = { topic: Wr };
4256
- const Io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4257
- function Yt(e, t) {
4258
- Fn(e, t);
4259
- }
4260
- function Oo(e) {
4228
+ }, wo = (e, t) => Bo(t).format(e), Co = (e, t) => _o(t).format(e), So = (e, t) => yo(t).format(e), Ao = (e, t = ae()) => On(e, t), To = ye([_e, Ae], () => xo);
4229
+ ye([_e], () => wo);
4230
+ ye([_e], () => Co);
4231
+ ye([_e], () => So);
4232
+ ye([_e, Ae], () => Ao);
4233
+ window.emWidgets = { topic: Ur };
4234
+ const Po = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4235
+ function qt(e, t) {
4236
+ Ln(e, t);
4237
+ }
4238
+ function Mo(e) {
4261
4239
  _e.set(e);
4262
4240
  }
4263
- const Kt = {
4241
+ const Qt = {
4264
4242
  en: {
4265
4243
  titleBonuses: "Active Bonuses",
4266
4244
  bonusCode: "Do you have a bonus code?",
@@ -4394,13 +4372,13 @@ const Kt = {
4394
4372
  errorMessage: "Invalid bonus"
4395
4373
  }
4396
4374
  };
4397
- function No(e, t) {
4375
+ function Ho(e, t) {
4398
4376
  if (e) {
4399
4377
  const n = document.createElement("style");
4400
4378
  n.innerHTML = t, e.appendChild(n);
4401
4379
  }
4402
4380
  }
4403
- function Lo(e, t) {
4381
+ function Io(e, t) {
4404
4382
  const n = new URL(t);
4405
4383
  fetch(n.href).then((r) => r.text()).then((r) => {
4406
4384
  const i = document.createElement("style");
@@ -4409,7 +4387,7 @@ function Lo(e, t) {
4409
4387
  console.error("There was an error while trying to load client styling from URL", r);
4410
4388
  });
4411
4389
  }
4412
- function Ro(e, t, n) {
4390
+ function Oo(e, t, n) {
4413
4391
  if (window.emMessageBus) {
4414
4392
  const r = document.createElement("style");
4415
4393
  window.emMessageBus.subscribe(t, (i) => {
@@ -4429,22 +4407,22 @@ if (typeof window != "undefined") {
4429
4407
  }
4430
4408
  };
4431
4409
  };
4432
- customElements.define = e(customElements.define), import("./PlayerBonusCard-BFX4hRQB.js").then(({ default: t }) => {
4410
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-CF_mnoVz.js").then(({ default: t }) => {
4433
4411
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4434
4412
  });
4435
4413
  }
4436
- function $o(e) {
4437
- cr(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}");
4414
+ function No(e) {
4415
+ sr(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}");
4438
4416
  }
4439
- function en(e, t, n) {
4417
+ function Jt(e, t, n) {
4440
4418
  const r = e.slice();
4441
4419
  return r[46] = t[n], r[48] = n, r;
4442
4420
  }
4443
- function tn(e, t, n) {
4421
+ function Yt(e, t, n) {
4444
4422
  const r = e.slice();
4445
4423
  return r[49] = t[n], r;
4446
4424
  }
4447
- function Do(e) {
4425
+ function Lo(e) {
4448
4426
  let t, n, r, i = (
4449
4427
  /*$_*/
4450
4428
  e[16]("titleBonuses") + ""
@@ -4456,27 +4434,27 @@ function Do(e) {
4456
4434
  e[16]("getBonus") + ""
4457
4435
  ), _, g, M, N, T, E, L, I, re, Y = (
4458
4436
  /*isMobile*/
4459
- e[17] && Fo(e)
4437
+ e[17] && Ro(e)
4460
4438
  ), R = (
4461
4439
  /*invalidBonusCode*/
4462
- e[7] && nn(e)
4440
+ e[7] && Kt(e)
4463
4441
  );
4464
4442
  function Te(S, H) {
4465
4443
  return (
4466
4444
  /*activeBonusesList*/
4467
- S[14].length === 0 ? Go : Uo
4445
+ S[14].length === 0 ? Do : $o
4468
4446
  );
4469
4447
  }
4470
4448
  let se = Te(e), V = se(e), $ = (
4471
4449
  /*activeBonusesList*/
4472
- e[14].length !== 0 && on(e)
4450
+ e[14].length !== 0 && tn(e)
4473
4451
  ), F = (
4474
4452
  /*bonusModal*/
4475
- e[15] && an(e)
4453
+ e[15] && rn(e)
4476
4454
  );
4477
4455
  return {
4478
4456
  c() {
4479
- t = P("div"), Y && Y.c(), n = j(), r = P("h2"), o = D(i), s = j(), a = P("div"), u = P("label"), c = D(l), 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 = vt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4457
+ t = P("div"), Y && Y.c(), n = j(), r = P("h2"), o = D(i), s = j(), a = P("div"), u = P("label"), c = D(l), 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 = bt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4480
4458
  (e[17] ? "ActiveBonusesTitleNone" : "")), B(u, "for", "BonusCode"), B(p, "class", "BonusCodeInput " + /*isMobile*/
4481
4459
  (e[17] ? "BonusCodeInputMobile" : "")), B(p, "type", "text"), B(p, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4482
4460
  (e[17] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
@@ -4487,7 +4465,7 @@ function Do(e) {
4487
4465
  (e[17] ? "ActiveBonusesWrapperMobile" : ""));
4488
4466
  },
4489
4467
  m(S, H) {
4490
- W(S, t, H), Y && Y.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, u), v(u, c), v(a, h), v(a, f), v(f, p), Mt(
4468
+ W(S, t, H), Y && Y.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, u), v(u, c), v(a, h), v(a, f), v(f, p), At(
4491
4469
  p,
4492
4470
  /*bonusCode*/
4493
4471
  e[8]
@@ -4523,7 +4501,7 @@ function Do(e) {
4523
4501
  65536 && l !== (l = /*$_*/
4524
4502
  S[16]("bonusCode") + "") && ee(c, l), H[0] & /*bonusCode*/
4525
4503
  256 && p.value !== /*bonusCode*/
4526
- S[8] && Mt(
4504
+ S[8] && At(
4527
4505
  p,
4528
4506
  /*bonusCode*/
4529
4507
  S[8]
@@ -4532,16 +4510,16 @@ function Do(e) {
4532
4510
  S[16]("getBonus") + "") && ee(_, C), H[0] & /*invalidBonusField*/
4533
4511
  64 && (d.disabled = /*invalidBonusField*/
4534
4512
  S[6]), /*invalidBonusCode*/
4535
- S[7] ? R ? R.p(S, H) : (R = nn(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), se === (se = Te(S)) && V ? V.p(S, H) : (V.d(1), V = se(S), V && (V.c(), V.m(N, null))), /*activeBonusesList*/
4536
- S[14].length !== 0 ? $ ? $.p(S, H) : ($ = on(S), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4537
- S[15] ? F ? F.p(S, H) : (F = an(S), F.c(), F.m(L.parentNode, L)) : F && (F.d(1), F = null);
4513
+ S[7] ? R ? R.p(S, H) : (R = Kt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), se === (se = Te(S)) && V ? V.p(S, H) : (V.d(1), V = se(S), V && (V.c(), V.m(N, null))), /*activeBonusesList*/
4514
+ S[14].length !== 0 ? $ ? $.p(S, H) : ($ = tn(S), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4515
+ S[15] ? F ? F.p(S, H) : (F = rn(S), F.c(), F.m(L.parentNode, L)) : F && (F.d(1), F = null);
4538
4516
  },
4539
4517
  d(S) {
4540
4518
  S && (U(t), U(E), U(L)), Y && Y.d(), R && R.d(), V.d(), $ && $.d(), F && F.d(S), I = !1, oe(re);
4541
4519
  }
4542
4520
  };
4543
4521
  }
4544
- function Fo(e) {
4522
+ function Ro(e) {
4545
4523
  let t, n, r, i, o, s, a, u, l, c, h = (
4546
4524
  /*$_*/
4547
4525
  e[16]("titleBonuses") + ""
@@ -4568,7 +4546,7 @@ function Fo(e) {
4568
4546
  }
4569
4547
  };
4570
4548
  }
4571
- function nn(e) {
4549
+ function Kt(e) {
4572
4550
  let t, n = (
4573
4551
  /*$_*/
4574
4552
  e[16]("invalidBonusCode") + ""
@@ -4590,18 +4568,18 @@ function nn(e) {
4590
4568
  }
4591
4569
  };
4592
4570
  }
4593
- function Uo(e) {
4571
+ function $o(e) {
4594
4572
  let t, n = $e(
4595
4573
  /*activeBonusesList*/
4596
4574
  e[14]
4597
4575
  ), r = [];
4598
4576
  for (let i = 0; i < n.length; i += 1)
4599
- r[i] = rn(tn(e, n, i));
4577
+ r[i] = en(Yt(e, n, i));
4600
4578
  return {
4601
4579
  c() {
4602
4580
  for (let i = 0; i < r.length; i += 1)
4603
4581
  r[i].c();
4604
- t = vt();
4582
+ t = bt();
4605
4583
  },
4606
4584
  m(i, o) {
4607
4585
  for (let s = 0; s < r.length; s += 1)
@@ -4617,8 +4595,8 @@ function Uo(e) {
4617
4595
  );
4618
4596
  let s;
4619
4597
  for (s = 0; s < n.length; s += 1) {
4620
- const a = tn(i, n, s);
4621
- r[s] ? r[s].p(a, o) : (r[s] = rn(a), r[s].c(), r[s].m(t.parentNode, t));
4598
+ const a = Yt(i, n, s);
4599
+ r[s] ? r[s].p(a, o) : (r[s] = en(a), r[s].c(), r[s].m(t.parentNode, t));
4622
4600
  }
4623
4601
  for (; s < r.length; s += 1)
4624
4602
  r[s].d(1);
@@ -4626,11 +4604,11 @@ function Uo(e) {
4626
4604
  }
4627
4605
  },
4628
4606
  d(i) {
4629
- i && U(t), hn(r, i);
4607
+ i && U(t), un(r, i);
4630
4608
  }
4631
4609
  };
4632
4610
  }
4633
- function Go(e) {
4611
+ function Do(e) {
4634
4612
  let t, n = (
4635
4613
  /*$_*/
4636
4614
  e[16]("noActiveBonuses") + ""
@@ -4652,7 +4630,7 @@ function Go(e) {
4652
4630
  }
4653
4631
  };
4654
4632
  }
4655
- function ko(e) {
4633
+ function Fo(e) {
4656
4634
  let t, n, r, i, o, s, a, u, l, c, h, f, p, b, d, C;
4657
4635
  return {
4658
4636
  c() {
@@ -4771,7 +4749,7 @@ function ko(e) {
4771
4749
  }
4772
4750
  };
4773
4751
  }
4774
- function jo(e) {
4752
+ function Uo(e) {
4775
4753
  let t, n, r, i, o, s, a, u, l, c, h, f, p;
4776
4754
  return {
4777
4755
  c() {
@@ -4879,18 +4857,18 @@ function jo(e) {
4879
4857
  }
4880
4858
  };
4881
4859
  }
4882
- function rn(e) {
4860
+ function en(e) {
4883
4861
  let t;
4884
4862
  function n(o, s) {
4885
4863
  return (
4886
4864
  /*activeBonus*/
4887
- o[49].type === "freeRound" ? jo : ko
4865
+ o[49].type === "freeRound" ? Uo : Fo
4888
4866
  );
4889
4867
  }
4890
4868
  let r = n(e), i = r(e);
4891
4869
  return {
4892
4870
  c() {
4893
- i.c(), t = vt();
4871
+ i.c(), t = bt();
4894
4872
  },
4895
4873
  m(o, s) {
4896
4874
  i.m(o, s), W(o, t, s);
@@ -4903,13 +4881,13 @@ function rn(e) {
4903
4881
  }
4904
4882
  };
4905
4883
  }
4906
- function on(e) {
4884
+ function tn(e) {
4907
4885
  let t, n, r, i, o, s, a, u, l, c, h, f, p, b, d, C, _, g, M, N = $e(Array(
4908
4886
  /*numberOfPages*/
4909
4887
  e[12]
4910
4888
  )), T = [];
4911
4889
  for (let E = 0; E < N.length; E += 1)
4912
- T[E] = sn(en(e, N, E));
4890
+ T[E] = nn(Jt(e, N, E));
4913
4891
  return {
4914
4892
  c() {
4915
4893
  t = P("div"), n = P("span"), r = D("|<"), o = j(), s = P("span"), a = D("<"), l = j();
@@ -4968,8 +4946,8 @@ function on(e) {
4968
4946
  ));
4969
4947
  let I;
4970
4948
  for (I = 0; I < N.length; I += 1) {
4971
- const re = en(E, N, I);
4972
- T[I] ? T[I].p(re, L) : (T[I] = sn(re), T[I].c(), T[I].m(t, c));
4949
+ const re = Jt(E, N, I);
4950
+ T[I] ? T[I].p(re, L) : (T[I] = nn(re), T[I].c(), T[I].m(t, c));
4973
4951
  }
4974
4952
  for (; I < T.length; I += 1)
4975
4953
  T[I].d(1);
@@ -4984,11 +4962,11 @@ function on(e) {
4984
4962
  E[12] - 1 ? "Inactive" : "")) && B(d, "class", _);
4985
4963
  },
4986
4964
  d(E) {
4987
- E && U(t), hn(T, E), g = !1, oe(M);
4965
+ E && U(t), un(T, E), g = !1, oe(M);
4988
4966
  }
4989
4967
  };
4990
4968
  }
4991
- function sn(e) {
4969
+ function nn(e) {
4992
4970
  let t, n = (
4993
4971
  /*i*/
4994
4972
  e[48] + 1 + ""
@@ -5022,7 +5000,7 @@ function sn(e) {
5022
5000
  }
5023
5001
  };
5024
5002
  }
5025
- function an(e) {
5003
+ function rn(e) {
5026
5004
  let t, n, r, i, o = (
5027
5005
  /*$_*/
5028
5006
  e[16]("forfeitBonus") + ""
@@ -5071,10 +5049,10 @@ function an(e) {
5071
5049
  }
5072
5050
  };
5073
5051
  }
5074
- function Wo(e) {
5052
+ function Go(e) {
5075
5053
  let t;
5076
5054
  function n(o, s) {
5077
- return Do;
5055
+ return Lo;
5078
5056
  }
5079
5057
  let i = n()(e);
5080
5058
  return {
@@ -5094,22 +5072,22 @@ function Wo(e) {
5094
5072
  }
5095
5073
  };
5096
5074
  }
5097
- let Vo = "status=active", K = 6;
5098
- function zo(e, t, n) {
5075
+ let ko = "status=active", K = 6;
5076
+ function jo(e, t, n) {
5099
5077
  let r;
5100
- lr(e, Ho, (y) => n(16, r = y));
5101
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, p, b = window.navigator.userAgent, d = Io(b) !== "PC", C = !0, _ = !1, g = "", M = 0, N = 0, T = 0, E = 0, L = 0, I = [], re, Y = "", R = !1;
5078
+ or(e, To, (y) => n(16, r = y));
5079
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, p, b = window.navigator.userAgent, d = Po(b) !== "PC", C = !0, _ = !1, g = "", M = 0, N = 0, T = 0, E = 0, L = 0, I = [], re, Y = "", R = !1;
5102
5080
  const Te = () => {
5103
5081
  fetch(f).then((G) => G.json()).then((G) => {
5104
5082
  Object.keys(G).forEach((z) => {
5105
- Yt(z, G[z]);
5083
+ qt(z, G[z]);
5106
5084
  });
5107
5085
  }).catch((G) => {
5108
5086
  console.log(G);
5109
5087
  });
5110
5088
  };
5111
- Object.keys(Kt).forEach((y) => {
5112
- Yt(y, Kt[y]);
5089
+ Object.keys(Qt).forEach((y) => {
5090
+ qt(y, Qt[y]);
5113
5091
  });
5114
5092
  const se = (y) => {
5115
5093
  if (y.data)
@@ -5144,11 +5122,11 @@ function zo(e, t, n) {
5144
5122
  method: "GET",
5145
5123
  headers: { "X-SessionId": o }
5146
5124
  }, z = new URL(`${i}/v1/player/${s}/bonusWallet`);
5147
- z.searchParams.append("filter", Vo), z.searchParams.append("pagination", `offset=${y},limit=${K}`), fetch(z, G).then((Z) => Z.json()).then(
5125
+ z.searchParams.append("filter", ko), z.searchParams.append("pagination", `offset=${y},limit=${K}`), fetch(z, G).then((Z) => Z.json()).then(
5148
5126
  (Z) => {
5149
5127
  Array.isArray(Z.items) && Z.items.forEach((ue) => {
5150
- var xt, wt;
5151
- const Pe = (wt = (xt = ue == null ? void 0 : ue.extension) == null ? void 0 : xt.bonus) == null ? void 0 : wt.presentation;
5128
+ var _t, Bt;
5129
+ const Pe = (Bt = (_t = ue == null ? void 0 : ue.extension) == null ? void 0 : _t.bonus) == null ? void 0 : Bt.presentation;
5152
5130
  Pe && (ue.termsandconditionsurl = Pe.url, ue.termsandconditionsdescription = Pe.description, ue.termsandconditionsasset = Pe.assets);
5153
5131
  }), n(12, E = Math.ceil(Z.total / K)), y - K >= 0 && n(9, M = y - K), y + K < Z.total && n(10, N = y + K), n(11, T = (E - 1) * K), n(13, L = y / K), n(14, I = (Z == null ? void 0 : Z.items) || []), window.scrollTo({ top: 0, behavior: "smooth" });
5154
5132
  },
@@ -5156,7 +5134,7 @@ function zo(e, t, n) {
5156
5134
  console.error(Z);
5157
5135
  }
5158
5136
  );
5159
- }, Vn = () => {
5137
+ }, Gn = () => {
5160
5138
  let y = new URL(`${i}/v1/player/${s}/claimbonus`), G = {
5161
5139
  method: "POST",
5162
5140
  headers: {
@@ -5189,9 +5167,9 @@ function zo(e, t, n) {
5189
5167
  window.location.href
5190
5168
  ));
5191
5169
  });
5192
- }, Et = () => {
5170
+ }, yt = () => {
5193
5171
  window.postMessage({ type: "EnableScroll" }, window.location.href), n(15, R = !1);
5194
- }, zn = () => {
5172
+ }, kn = () => {
5195
5173
  let y = {
5196
5174
  method: "DELETE",
5197
5175
  headers: {
@@ -5201,24 +5179,24 @@ function zo(e, t, n) {
5201
5179
  }
5202
5180
  }, G = new URL(`${i}/v1/player/${s}/bonusWallet`);
5203
5181
  G.searchParams.append("bonusWalletID", Y), fetch(G, y).then((z) => {
5204
- z.status == 200 && (H(0), Et());
5182
+ z.status == 200 && (H(0), yt());
5205
5183
  });
5206
- }, Xn = () => {
5207
- Oo(a);
5184
+ }, jn = () => {
5185
+ Mo(a);
5208
5186
  };
5209
- function Zn(y) {
5187
+ function Wn(y) {
5210
5188
  return V(y, 1e3);
5211
5189
  }
5212
- br(() => (window.addEventListener("message", se, !1), () => {
5190
+ fr(() => (window.addEventListener("message", se, !1), () => {
5213
5191
  window.removeEventListener("message", se);
5214
5192
  }));
5215
- const qn = () => $();
5216
- function Qn() {
5193
+ const Vn = () => $();
5194
+ function zn() {
5217
5195
  g = this.value, n(8, g);
5218
5196
  }
5219
- const Jn = () => H(0), Yn = () => H(M), Kn = (y) => H(y * K), er = () => H(N), tr = () => H(T);
5220
- function nr(y) {
5221
- et[y ? "unshift" : "push"](() => {
5197
+ const Xn = () => H(0), Zn = () => H(M), qn = (y) => H(y * K), Qn = () => H(N), Jn = () => H(T);
5198
+ function Yn(y) {
5199
+ Ke[y ? "unshift" : "push"](() => {
5222
5200
  p = y, n(5, p);
5223
5201
  });
5224
5202
  }
@@ -5226,11 +5204,11 @@ function zo(e, t, n) {
5226
5204
  "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), "currency" in y && n(28, u = y.currency), "clientstyling" in y && n(1, l = 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);
5227
5205
  }, e.$$.update = () => {
5228
5206
  e.$$.dirty[0] & /*lang*/
5229
- 1 && a && Xn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5207
+ 1 && a && jn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5230
5208
  234881024 && o && s && i && H(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5231
- 34 && l && p && No(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5232
- 36 && c && p && Lo(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5233
- 40 && h && p && Ro(p, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5209
+ 34 && l && p && Ho(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5210
+ 36 && c && p && Io(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5211
+ 40 && h && p && Oo(p, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5234
5212
  16 && f && Te();
5235
5213
  }, [
5236
5214
  a,
@@ -5254,32 +5232,32 @@ function zo(e, t, n) {
5254
5232
  $,
5255
5233
  S,
5256
5234
  H,
5257
- Vn,
5258
- Et,
5259
- zn,
5260
- Zn,
5235
+ Gn,
5236
+ yt,
5237
+ kn,
5238
+ Wn,
5261
5239
  i,
5262
5240
  o,
5263
5241
  s,
5264
5242
  u,
5243
+ Vn,
5244
+ zn,
5245
+ Xn,
5246
+ Zn,
5265
5247
  qn,
5266
5248
  Qn,
5267
5249
  Jn,
5268
- Yn,
5269
- Kn,
5270
- er,
5271
- tr,
5272
- nr
5250
+ Yn
5273
5251
  ];
5274
5252
  }
5275
- class Wn extends Tr {
5253
+ class Un extends wr {
5276
5254
  constructor(t) {
5277
- super(), Sr(
5255
+ super(), Er(
5278
5256
  this,
5279
5257
  t,
5280
- zo,
5281
- Wo,
5282
- ln,
5258
+ jo,
5259
+ Go,
5260
+ sn,
5283
5261
  {
5284
5262
  endpoint: 25,
5285
5263
  session: 26,
@@ -5291,7 +5269,7 @@ class Wn extends Tr {
5291
5269
  mbsource: 3,
5292
5270
  translationurl: 4
5293
5271
  },
5294
- $o,
5272
+ No,
5295
5273
  [-1, -1]
5296
5274
  );
5297
5275
  }
@@ -5350,38 +5328,38 @@ class Wn extends Tr {
5350
5328
  this.$$set({ translationurl: t }), q();
5351
5329
  }
5352
5330
  }
5353
- Ar(Wn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5354
- const qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5331
+ xr(Un, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5332
+ const zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5355
5333
  __proto__: null,
5356
- default: Wn
5334
+ default: Un
5357
5335
  }, Symbol.toStringTag, { value: "Module" }));
5358
5336
  export {
5359
5337
  _e as $,
5360
- qo as P,
5361
- Tr as S,
5362
- Fn as a,
5363
- cr as b,
5364
- Ar as c,
5365
- j as d,
5366
- P as e,
5338
+ zo as P,
5339
+ wr as S,
5340
+ Ln as a,
5341
+ sr as b,
5342
+ ee as c,
5343
+ U as d,
5344
+ B as e,
5367
5345
  q as f,
5368
- B as g,
5369
- W as h,
5370
- Sr as i,
5371
- v as j,
5372
- ee as k,
5373
- U as l,
5374
- lr as m,
5346
+ W as g,
5347
+ v as h,
5348
+ Er as i,
5349
+ P as j,
5350
+ j as k,
5351
+ or as l,
5352
+ Po as m,
5375
5353
  J as n,
5376
- Io as o,
5377
- br as p,
5378
- Lo as q,
5379
- Ro as r,
5380
- ln as s,
5354
+ fr as o,
5355
+ Vo as p,
5356
+ Q as q,
5357
+ Ke as r,
5358
+ sn as s,
5381
5359
  D as t,
5382
- Zo as u,
5383
- Q as v,
5384
- et as w,
5385
- No as x,
5386
- Ho as y
5360
+ Ho as u,
5361
+ Io as v,
5362
+ Oo as w,
5363
+ xr as x,
5364
+ To as y
5387
5365
  };