@everymatrix/player-active-bonuses 1.99.10 → 1.99.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Pr = Object.defineProperty, Mr = Object.defineProperties;
2
- var Hr = Object.getOwnPropertyDescriptors;
3
- var Yt = Object.getOwnPropertySymbols;
4
- var Or = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
5
- var lt = (e, t, n) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ie = (e, t) => {
1
+ var Hr = Object.defineProperty, Or = Object.defineProperties;
2
+ var Ir = Object.getOwnPropertyDescriptors;
3
+ var Jt = Object.getOwnPropertySymbols;
4
+ var Nr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable;
5
+ var lt = (e, t, n) => t in e ? Hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ie = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Or.call(t, n) && lt(e, n, t[n]);
8
- if (Yt)
9
- for (var n of Yt(t))
10
- Ir.call(t, n) && lt(e, n, t[n]);
7
+ Nr.call(t, n) && lt(e, n, t[n]);
8
+ if (Jt)
9
+ for (var n of Jt(t))
10
+ Lr.call(t, n) && lt(e, n, t[n]);
11
11
  return e;
12
- }, ct = (e, t) => Mr(e, Hr(t));
13
- var Z = (e, t, n) => (lt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var ae = (e, t, n) => new Promise((r, o) => {
12
+ }, ct = (e, t) => Or(e, Ir(t));
13
+ var q = (e, t, n) => (lt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var le = (e, t, n) => new Promise((r, o) => {
15
15
  var i = (u) => {
16
16
  try {
17
17
  a(n.next(u));
@@ -27,53 +27,53 @@ var ae = (e, t, n) => new Promise((r, o) => {
27
27
  }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(i, s);
28
28
  a((n = n.apply(e, t)).next());
29
29
  });
30
- function Y() {
30
+ function Z() {
31
31
  }
32
- function Hn(e) {
32
+ function In(e) {
33
33
  return e();
34
34
  }
35
- function Qt() {
35
+ function Kt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function de(e) {
39
- e.forEach(Hn);
38
+ function pe(e) {
39
+ e.forEach(In);
40
40
  }
41
- function Ut(e) {
41
+ function Ft(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function On(e, t) {
44
+ function Nn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ke;
48
- function Ts(e, t) {
48
+ function Hs(e, t) {
49
49
  return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
50
50
  }
51
- function Nr(e) {
51
+ function Rr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function In(e, ...t) {
54
+ function Ln(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const r of t)
57
57
  r(void 0);
58
- return Y;
58
+ return Z;
59
59
  }
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(In(t, n));
63
+ function Ur(e, t, n) {
64
+ e.$$.on_destroy.push(Ln(t, n));
65
65
  }
66
66
  function B(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Rr(e, t, n) {
70
- const r = Ur(e);
69
+ function Fr(e, t, n) {
70
+ const r = Dr(e);
71
71
  if (!r.getElementById(t)) {
72
72
  const o = T("style");
73
- o.id = t, o.textContent = n, Fr(r, o);
73
+ o.id = t, o.textContent = n, Gr(r, o);
74
74
  }
75
75
  }
76
- function Ur(e) {
76
+ function Dr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,20 +83,20 @@ function Ur(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Fr(e, t) {
86
+ function Gr(e, t) {
87
87
  return B(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function W(e, t, n) {
93
+ function j(e, t, n) {
94
94
  e.insertBefore(t, n || null);
95
95
  }
96
- function k(e) {
96
+ function $(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Nn(e, t) {
99
+ function Rn(e, t) {
100
100
  for (let n = 0; n < e.length; n += 1)
101
101
  e[n] && e[n].d(t);
102
102
  }
@@ -109,10 +109,10 @@ function ye(e) {
109
109
  function G(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function z() {
112
+ function X() {
113
113
  return G(" ");
114
114
  }
115
- function Ft() {
115
+ function Dt() {
116
116
  return G("");
117
117
  }
118
118
  function K(e, t, n, r) {
@@ -125,17 +125,17 @@ function f(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 : S(e, t, n);
127
127
  }
128
- function Dr(e) {
128
+ function $r(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function ue(e, t) {
131
+ function se(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Jt(e, t) {
135
+ function en(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function $r(e) {
138
+ function kr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,27 +148,27 @@ let Re;
148
148
  function Le(e) {
149
149
  Re = e;
150
150
  }
151
- function Gr() {
151
+ function Wr() {
152
152
  if (!Re)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return Re;
155
155
  }
156
- function kr(e) {
157
- Gr().$$.on_mount.push(e);
156
+ function jr(e) {
157
+ Wr().$$.on_mount.push(e);
158
158
  }
159
159
  const Ee = [], yt = [];
160
- let xe = [];
161
- const Kt = [], Wr = /* @__PURE__ */ Promise.resolve();
160
+ let Se = [];
161
+ const tn = [], Vr = /* @__PURE__ */ Promise.resolve();
162
162
  let _t = !1;
163
- function jr() {
164
- _t || (_t = !0, Wr.then(F));
163
+ function zr() {
164
+ _t || (_t = !0, Vr.then(D));
165
165
  }
166
166
  function Bt(e) {
167
- xe.push(e);
167
+ Se.push(e);
168
168
  }
169
169
  const ft = /* @__PURE__ */ new Set();
170
170
  let _e = 0;
171
- function F() {
171
+ function D() {
172
172
  if (_e !== 0)
173
173
  return;
174
174
  const e = Re;
@@ -176,56 +176,56 @@ function F() {
176
176
  try {
177
177
  for (; _e < Ee.length; ) {
178
178
  const t = Ee[_e];
179
- _e++, Le(t), Vr(t.$$);
179
+ _e++, Le(t), Xr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw Ee.length = 0, _e = 0, t;
183
183
  }
184
184
  for (Le(null), Ee.length = 0, _e = 0; yt.length; )
185
185
  yt.pop()();
186
- for (let t = 0; t < xe.length; t += 1) {
187
- const n = xe[t];
186
+ for (let t = 0; t < Se.length; t += 1) {
187
+ const n = Se[t];
188
188
  ft.has(n) || (ft.add(n), n());
189
189
  }
190
- xe.length = 0;
190
+ Se.length = 0;
191
191
  } while (Ee.length);
192
- for (; Kt.length; )
193
- Kt.pop()();
192
+ for (; tn.length; )
193
+ tn.pop()();
194
194
  _t = !1, ft.clear(), Le(e);
195
195
  }
196
- function Vr(e) {
196
+ function Xr(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), de(e.before_update);
198
+ e.update(), pe(e.before_update);
199
199
  const t = e.dirty;
200
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
201
201
  }
202
202
  }
203
- function zr(e) {
203
+ function qr(e) {
204
204
  const t = [], n = [];
205
- xe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), xe = t;
205
+ Se.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Se = t;
206
206
  }
207
- const Xr = /* @__PURE__ */ new Set();
208
- function qr(e, t) {
209
- e && e.i && (Xr.delete(e), e.i(t));
207
+ const Zr = /* @__PURE__ */ new Set();
208
+ function Yr(e, t) {
209
+ e && e.i && (Zr.delete(e), e.i(t));
210
210
  }
211
211
  function Ze(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function Zr(e, t, n) {
214
+ function Qr(e, t, n) {
215
215
  const { fragment: r, after_update: o } = e.$$;
216
216
  r && r.m(t, n), Bt(() => {
217
- const i = e.$$.on_mount.map(Hn).filter(Ut);
218
- e.$$.on_destroy ? e.$$.on_destroy.push(...i) : de(i), e.$$.on_mount = [];
217
+ const i = e.$$.on_mount.map(In).filter(Ft);
218
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : pe(i), e.$$.on_mount = [];
219
219
  }), o.forEach(Bt);
220
220
  }
221
- function Yr(e, t) {
221
+ function Jr(e, t) {
222
222
  const n = e.$$;
223
- n.fragment !== null && (zr(n.after_update), de(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
223
+ n.fragment !== null && (qr(n.after_update), pe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
224
224
  }
225
- function Qr(e, t) {
226
- e.$$.dirty[0] === -1 && (Ee.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function Kr(e, t) {
226
+ e.$$.dirty[0] === -1 && (Ee.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function Jr(e, t, n, r, o, i, s = null, a = [-1]) {
228
+ function eo(e, t, n, r, o, i, s = null, a = [-1]) {
229
229
  const u = Re;
230
230
  Le(e);
231
231
  const l = e.$$ = {
@@ -233,9 +233,9 @@ function Jr(e, t, n, r, o, i, s = null, a = [-1]) {
233
233
  ctx: [],
234
234
  // state
235
235
  props: i,
236
- update: Y,
236
+ update: Z,
237
237
  not_equal: o,
238
- bound: Qt(),
238
+ bound: Kt(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,7 +244,7 @@ function Jr(e, t, n, r, o, i, s = null, a = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (u ? u.$$.context : [])),
246
246
  // everything else
247
- callbacks: Qt(),
247
+ callbacks: Kt(),
248
248
  dirty: a,
249
249
  skip_bound: !1,
250
250
  root: t.target || u.$$.root
@@ -253,39 +253,39 @@ function Jr(e, t, n, r, o, i, s = null, a = [-1]) {
253
253
  let c = !1;
254
254
  if (l.ctx = n ? n(e, t.props || {}, (d, p, ...m) => {
255
255
  const y = m.length ? m[0] : p;
256
- return l.ctx && o(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), c && Qr(e, d)), p;
257
- }) : [], l.update(), c = !0, de(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
256
+ return l.ctx && o(l.ctx[d], l.ctx[d] = y) && (!l.skip_bound && l.bound[d] && l.bound[d](y), c && Kr(e, d)), p;
257
+ }) : [], l.update(), c = !0, pe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const d = Dr(t.target);
260
- l.fragment && l.fragment.l(d), d.forEach(k);
259
+ const d = $r(t.target);
260
+ l.fragment && l.fragment.l(d), d.forEach($);
261
261
  } else
262
262
  l.fragment && l.fragment.c();
263
- t.intro && qr(e.$$.fragment), Zr(e, t.target, t.anchor), F();
263
+ t.intro && Yr(e.$$.fragment), Qr(e, t.target, t.anchor), D();
264
264
  }
265
265
  Le(u);
266
266
  }
267
- let Ln;
268
- typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
267
+ let Un;
268
+ typeof HTMLElement == "function" && (Un = class extends HTMLElement {
269
269
  constructor(t, n, r) {
270
270
  super();
271
271
  /** The Svelte component constructor */
272
- Z(this, "$$ctor");
272
+ q(this, "$$ctor");
273
273
  /** Slots */
274
- Z(this, "$$s");
274
+ q(this, "$$s");
275
275
  /** The Svelte component instance */
276
- Z(this, "$$c");
276
+ q(this, "$$c");
277
277
  /** Whether or not the custom element is connected */
278
- Z(this, "$$cn", !1);
278
+ q(this, "$$cn", !1);
279
279
  /** Component props data */
280
- Z(this, "$$d", {});
280
+ q(this, "$$d", {});
281
281
  /** `true` if currently in the process of reflecting component props back to attributes */
282
- Z(this, "$$r", !1);
282
+ q(this, "$$r", !1);
283
283
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
284
- Z(this, "$$p_d", {});
284
+ q(this, "$$p_d", {});
285
285
  /** @type {Record<string, Function[]>} Event listeners */
286
- Z(this, "$$l", {});
286
+ q(this, "$$l", {});
287
287
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
288
- Z(this, "$$l_u", /* @__PURE__ */ new Map());
288
+ q(this, "$$l_u", /* @__PURE__ */ new Map());
289
289
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
290
290
  }
291
291
  addEventListener(t, n, r) {
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return ae(this, null, function* () {
305
+ return le(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(i) {
308
308
  return () => {
@@ -316,17 +316,17 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
316
316
  * @param {HTMLElement} [anchor]
317
317
  */
318
318
  m: function(l, c) {
319
- W(l, s, c);
319
+ j(l, s, c);
320
320
  },
321
321
  d: function(l) {
322
- l && k(s);
322
+ l && $(s);
323
323
  }
324
324
  };
325
325
  };
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const n = {}, r = $r(this);
329
+ const n = {}, r = kr(this);
330
330
  for (const i of this.$$s)
331
331
  i in r && (n[i] = [t(i)]);
332
332
  for (const i of this.attributes) {
@@ -415,8 +415,8 @@ function Ve(e, t, n, r) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function Kr(e, t, n, r, o, i) {
419
- let s = class extends Ln {
418
+ function to(e, t, n, r, o, i) {
419
+ let s = class extends Un {
420
420
  constructor() {
421
421
  super(e, n, o), this.$$p_d = t;
422
422
  }
@@ -446,7 +446,7 @@ function Kr(e, t, n, r, o, i) {
446
446
  }), e.element = /** @type {any} */
447
447
  s, s;
448
448
  }
449
- class eo {
449
+ class no {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -455,7 +455,7 @@ class eo {
455
455
  *
456
456
  * @type {any}
457
457
  */
458
- Z(this, "$$");
458
+ q(this, "$$");
459
459
  /**
460
460
  * ### PRIVATE API
461
461
  *
@@ -463,11 +463,11 @@ class eo {
463
463
  *
464
464
  * @type {any}
465
465
  */
466
- Z(this, "$$set");
466
+ q(this, "$$set");
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- Yr(this, 1), this.$destroy = Y;
470
+ Jr(this, 1), this.$destroy = Z;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -476,8 +476,8 @@ class eo {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, n) {
479
- if (!Ut(n))
480
- return Y;
479
+ if (!Ft(n))
480
+ return Z;
481
481
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return r.push(n), () => {
483
483
  const o = r.indexOf(n);
@@ -489,11 +489,11 @@ class eo {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !Rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const to = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(to);
495
+ const ro = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ro);
497
497
  /*! *****************************************************************************
498
498
  Copyright (c) Microsoft Corporation.
499
499
 
@@ -537,7 +537,7 @@ function wt(e) {
537
537
  };
538
538
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
539
539
  }
540
- function xt(e, t) {
540
+ function St(e, t) {
541
541
  var n = typeof Symbol == "function" && e[Symbol.iterator];
542
542
  if (!n)
543
543
  return e;
@@ -557,22 +557,22 @@ function xt(e, t) {
557
557
  }
558
558
  return i;
559
559
  }
560
- function St(e, t, n) {
560
+ function xt(e, t, n) {
561
561
  if (arguments.length === 2)
562
562
  for (var r = 0, o = t.length, i; r < o; r++)
563
563
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
564
564
  return e.concat(i || t);
565
565
  }
566
- function le(e) {
566
+ function ce(e) {
567
567
  return typeof e == "function";
568
568
  }
569
- function Rn(e) {
569
+ function Fn(e) {
570
570
  var t = function(r) {
571
571
  Error.call(r), r.stack = new Error().stack;
572
572
  }, n = e(t);
573
573
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
574
574
  }
575
- var ht = Rn(function(e) {
575
+ var ht = Fn(function(e) {
576
576
  return function(n) {
577
577
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
578
578
  ` + n.map(function(r, o) {
@@ -616,7 +616,7 @@ var Ke = function() {
616
616
  else
617
617
  s.remove(this);
618
618
  var c = this.initialTeardown;
619
- if (le(c))
619
+ if (ce(c))
620
620
  try {
621
621
  c();
622
622
  } catch (v) {
@@ -629,9 +629,9 @@ var Ke = function() {
629
629
  for (var p = wt(d), m = p.next(); !m.done; m = p.next()) {
630
630
  var y = m.value;
631
631
  try {
632
- en(y);
632
+ nn(y);
633
633
  } catch (v) {
634
- i = i != null ? i : [], v instanceof ht ? i = St(St([], xt(i)), xt(v.errors)) : i.push(v);
634
+ i = i != null ? i : [], v instanceof ht ? i = xt(xt([], St(i)), St(v.errors)) : i.push(v);
635
635
  }
636
636
  }
637
637
  } catch (v) {
@@ -652,7 +652,7 @@ var Ke = function() {
652
652
  var n;
653
653
  if (t && t !== this)
654
654
  if (this.closed)
655
- en(t);
655
+ nn(t);
656
656
  else {
657
657
  if (t instanceof e) {
658
658
  if (t.closed || t._hasParent(this))
@@ -677,41 +677,41 @@ var Ke = function() {
677
677
  var t = new e();
678
678
  return t.closed = !0, t;
679
679
  }(), e;
680
- }(), Un = Ke.EMPTY;
681
- function Fn(e) {
682
- return e instanceof Ke || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
680
+ }(), Dn = Ke.EMPTY;
681
+ function Gn(e) {
682
+ return e instanceof Ke || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
683
683
  }
684
- function en(e) {
685
- le(e) ? e() : e.unsubscribe();
684
+ function nn(e) {
685
+ ce(e) ? e() : e.unsubscribe();
686
686
  }
687
- var no = {
687
+ var oo = {
688
688
  Promise: void 0
689
- }, ro = {
689
+ }, io = {
690
690
  setTimeout: function(e, t) {
691
691
  for (var n = [], r = 2; r < arguments.length; r++)
692
692
  n[r - 2] = arguments[r];
693
- return setTimeout.apply(void 0, St([e, t], xt(n)));
693
+ return setTimeout.apply(void 0, xt([e, t], St(n)));
694
694
  },
695
695
  clearTimeout: function(e) {
696
696
  return clearTimeout(e);
697
697
  },
698
698
  delegate: void 0
699
699
  };
700
- function oo(e) {
701
- ro.setTimeout(function() {
700
+ function so(e) {
701
+ io.setTimeout(function() {
702
702
  throw e;
703
703
  });
704
704
  }
705
- function tn() {
705
+ function rn() {
706
706
  }
707
707
  function ze(e) {
708
708
  e();
709
709
  }
710
- var Dn = function(e) {
710
+ var $n = function(e) {
711
711
  De(t, e);
712
712
  function t(n) {
713
713
  var r = e.call(this) || this;
714
- return r.isStopped = !1, n ? (r.destination = n, Fn(n) && n.add(r)) : r.destination = ao, r;
714
+ return r.isStopped = !1, n ? (r.destination = n, Gn(n) && n.add(r)) : r.destination = lo, r;
715
715
  }
716
716
  return t.create = function(n, r, o) {
717
717
  return new At(n, r, o);
@@ -738,7 +738,7 @@ var Dn = function(e) {
738
738
  this.unsubscribe();
739
739
  }
740
740
  }, t;
741
- }(Ke), io = function() {
741
+ }(Ke), ao = function() {
742
742
  function e(t) {
743
743
  this.partialObserver = t;
744
744
  }
@@ -773,39 +773,39 @@ var Dn = function(e) {
773
773
  De(t, e);
774
774
  function t(n, r, o) {
775
775
  var i = e.call(this) || this, s;
776
- return le(n) || !n ? s = {
776
+ return ce(n) || !n ? s = {
777
777
  next: n != null ? n : void 0,
778
778
  error: r != null ? r : void 0,
779
779
  complete: o != null ? o : void 0
780
- } : s = n, i.destination = new io(s), i;
780
+ } : s = n, i.destination = new ao(s), i;
781
781
  }
782
782
  return t;
783
- }(Dn);
783
+ }($n);
784
784
  function We(e) {
785
- oo(e);
785
+ so(e);
786
786
  }
787
- function so(e) {
787
+ function uo(e) {
788
788
  throw e;
789
789
  }
790
- var ao = {
790
+ var lo = {
791
791
  closed: !0,
792
- next: tn,
793
- error: so,
794
- complete: tn
795
- }, uo = function() {
792
+ next: rn,
793
+ error: uo,
794
+ complete: rn
795
+ }, co = function() {
796
796
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
797
  }();
798
- function lo(e) {
798
+ function fo(e) {
799
799
  return e;
800
800
  }
801
- function co(e) {
802
- return e.length === 0 ? lo : e.length === 1 ? e[0] : function(n) {
801
+ function ho(e) {
802
+ return e.length === 0 ? fo : e.length === 1 ? e[0] : function(n) {
803
803
  return e.reduce(function(r, o) {
804
804
  return o(r);
805
805
  }, n);
806
806
  };
807
807
  }
808
- var nn = function() {
808
+ var on = function() {
809
809
  function e(t) {
810
810
  t && (this._subscribe = t);
811
811
  }
@@ -813,7 +813,7 @@ var nn = function() {
813
813
  var n = new e();
814
814
  return n.source = this, n.operator = t, n;
815
815
  }, e.prototype.subscribe = function(t, n, r) {
816
- var o = this, i = ho(t) ? t : new At(t, n, r);
816
+ var o = this, i = mo(t) ? t : new At(t, n, r);
817
817
  return ze(function() {
818
818
  var s = o, a = s.operator, u = s.source;
819
819
  i.add(a ? a.call(i, u) : u ? o._subscribe(i) : o._trySubscribe(i));
@@ -826,7 +826,7 @@ var nn = function() {
826
826
  }
827
827
  }, e.prototype.forEach = function(t, n) {
828
828
  var r = this;
829
- return n = rn(n), new n(function(o, i) {
829
+ return n = sn(n), new n(function(o, i) {
830
830
  var s = new At({
831
831
  next: function(a) {
832
832
  try {
@@ -843,15 +843,15 @@ var nn = function() {
843
843
  }, e.prototype._subscribe = function(t) {
844
844
  var n;
845
845
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
846
- }, e.prototype[uo] = function() {
846
+ }, e.prototype[co] = function() {
847
847
  return this;
848
848
  }, e.prototype.pipe = function() {
849
849
  for (var t = [], n = 0; n < arguments.length; n++)
850
850
  t[n] = arguments[n];
851
- return co(t)(this);
851
+ return ho(t)(this);
852
852
  }, e.prototype.toPromise = function(t) {
853
853
  var n = this;
854
- return t = rn(t), new t(function(r, o) {
854
+ return t = sn(t), new t(function(r, o) {
855
855
  var i;
856
856
  n.subscribe(function(s) {
857
857
  return i = s;
@@ -865,32 +865,32 @@ var nn = function() {
865
865
  return new e(t);
866
866
  }, e;
867
867
  }();
868
- function rn(e) {
868
+ function sn(e) {
869
869
  var t;
870
- return (t = e != null ? e : no.Promise) !== null && t !== void 0 ? t : Promise;
870
+ return (t = e != null ? e : oo.Promise) !== null && t !== void 0 ? t : Promise;
871
871
  }
872
- function fo(e) {
873
- return e && le(e.next) && le(e.error) && le(e.complete);
872
+ function po(e) {
873
+ return e && ce(e.next) && ce(e.error) && ce(e.complete);
874
874
  }
875
- function ho(e) {
876
- return e && e instanceof Dn || fo(e) && Fn(e);
875
+ function mo(e) {
876
+ return e && e instanceof $n || po(e) && Gn(e);
877
877
  }
878
- var po = Rn(function(e) {
878
+ var bo = Fn(function(e) {
879
879
  return function() {
880
880
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
881
881
  };
882
- }), $n = function(e) {
882
+ }), kn = function(e) {
883
883
  De(t, e);
884
884
  function t() {
885
885
  var n = e.call(this) || this;
886
886
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
887
887
  }
888
888
  return t.prototype.lift = function(n) {
889
- var r = new on(this, this);
889
+ var r = new an(this, this);
890
890
  return r.operator = n, r;
891
891
  }, t.prototype._throwIfClosed = function() {
892
892
  if (this.closed)
893
- throw new po();
893
+ throw new bo();
894
894
  }, t.prototype.next = function(n) {
895
895
  var r = this;
896
896
  ze(function() {
@@ -947,19 +947,19 @@ var po = Rn(function(e) {
947
947
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
948
948
  }, t.prototype._innerSubscribe = function(n) {
949
949
  var r = this, o = this, i = o.hasError, s = o.isStopped, a = o.observers;
950
- return i || s ? Un : (this.currentObservers = null, a.push(n), new Ke(function() {
950
+ return i || s ? Dn : (this.currentObservers = null, a.push(n), new Ke(function() {
951
951
  r.currentObservers = null, Ct(a, n);
952
952
  }));
953
953
  }, t.prototype._checkFinalizedStatuses = function(n) {
954
954
  var r = this, o = r.hasError, i = r.thrownError, s = r.isStopped;
955
955
  o ? n.error(i) : s && n.complete();
956
956
  }, t.prototype.asObservable = function() {
957
- var n = new nn();
957
+ var n = new on();
958
958
  return n.source = this, n;
959
959
  }, t.create = function(n, r) {
960
- return new on(n, r);
960
+ return new an(n, r);
961
961
  }, t;
962
- }(nn), on = function(e) {
962
+ }(on), an = function(e) {
963
963
  De(t, e);
964
964
  function t(n, r) {
965
965
  var o = e.call(this) || this;
@@ -976,17 +976,17 @@ var po = Rn(function(e) {
976
976
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
977
977
  }, t.prototype._subscribe = function(n) {
978
978
  var r, o;
979
- return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : Un;
979
+ return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : Dn;
980
980
  }, t;
981
- }($n), Gn = {
981
+ }(kn), Wn = {
982
982
  now: function() {
983
- return (Gn.delegate || Date).now();
983
+ return (Wn.delegate || Date).now();
984
984
  },
985
985
  delegate: void 0
986
- }, mo = function(e) {
986
+ }, go = function(e) {
987
987
  De(t, e);
988
988
  function t(n, r, o) {
989
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = Gn);
989
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = Wn);
990
990
  var i = e.call(this) || this;
991
991
  return i._bufferSize = n, i._windowTime = r, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = r === 1 / 0, i._bufferSize = Math.max(1, n), i._windowTime = Math.max(1, r), i;
992
992
  }
@@ -1006,24 +1006,24 @@ var po = Rn(function(e) {
1006
1006
  l && i.splice(0, l + 1);
1007
1007
  }
1008
1008
  }, t;
1009
- }($n);
1010
- const sn = [], an = {}, bo = (e, t = 0) => {
1011
- if (sn.indexOf(e) == -1) {
1012
- const n = new mo(t);
1013
- an[e] = n, sn.push(e);
1009
+ }(kn);
1010
+ const un = [], ln = {}, vo = (e, t = 0) => {
1011
+ if (un.indexOf(e) == -1) {
1012
+ const n = new go(t);
1013
+ ln[e] = n, un.push(e);
1014
1014
  }
1015
- return an[e];
1015
+ return ln[e];
1016
1016
  }, Be = [];
1017
- function go(e, t) {
1017
+ function yo(e, t) {
1018
1018
  return {
1019
1019
  subscribe: et(e, t).subscribe
1020
1020
  };
1021
1021
  }
1022
- function et(e, t = Y) {
1022
+ function et(e, t = Z) {
1023
1023
  let n;
1024
1024
  const r = /* @__PURE__ */ new Set();
1025
1025
  function o(a) {
1026
- if (On(e, a) && (e = a, n)) {
1026
+ if (Nn(e, a) && (e = a, n)) {
1027
1027
  const u = !Be.length;
1028
1028
  for (const l of r)
1029
1029
  l[1](), Be.push(l, e);
@@ -1037,9 +1037,9 @@ function et(e, t = Y) {
1037
1037
  function i(a) {
1038
1038
  o(a(e));
1039
1039
  }
1040
- function s(a, u = Y) {
1040
+ function s(a, u = Z) {
1041
1041
  const l = [a, u];
1042
- return r.add(l), r.size === 1 && (n = t(o, i) || Y), a(e), () => {
1042
+ return r.add(l), r.size === 1 && (n = t(o, i) || Z), a(e), () => {
1043
1043
  r.delete(l), r.size === 0 && n && (n(), n = null);
1044
1044
  };
1045
1045
  }
@@ -1050,18 +1050,18 @@ function Pe(e, t, n) {
1050
1050
  if (!o.every(Boolean))
1051
1051
  throw new Error("derived() expects stores as input, got a falsy value");
1052
1052
  const i = t.length < 2;
1053
- return go(n, (s, a) => {
1053
+ return yo(n, (s, a) => {
1054
1054
  let u = !1;
1055
1055
  const l = [];
1056
- let c = 0, d = Y;
1056
+ let c = 0, d = Z;
1057
1057
  const p = () => {
1058
1058
  if (c)
1059
1059
  return;
1060
1060
  d();
1061
1061
  const y = t(r ? l[0] : l, s, a);
1062
- i ? s(y) : d = Ut(y) ? y : Y;
1062
+ i ? s(y) : d = Ft(y) ? y : Z;
1063
1063
  }, m = o.map(
1064
- (y, v) => In(
1064
+ (y, v) => Ln(
1065
1065
  y,
1066
1066
  (x) => {
1067
1067
  l[v] = x, c &= ~(1 << v), u && p();
@@ -1072,84 +1072,84 @@ function Pe(e, t, n) {
1072
1072
  )
1073
1073
  );
1074
1074
  return u = !0, p(), function() {
1075
- de(m), d(), u = !1;
1075
+ pe(m), d(), u = !1;
1076
1076
  };
1077
1077
  });
1078
1078
  }
1079
- function vo(e) {
1079
+ function _o(e) {
1080
1080
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1081
1081
  }
1082
- var yo = function(t) {
1083
- return _o(t) && !Bo(t);
1082
+ var Bo = function(t) {
1083
+ return Eo(t) && !wo(t);
1084
1084
  };
1085
- function _o(e) {
1085
+ function Eo(e) {
1086
1086
  return !!e && typeof e == "object";
1087
1087
  }
1088
- function Bo(e) {
1088
+ function wo(e) {
1089
1089
  var t = Object.prototype.toString.call(e);
1090
- return t === "[object RegExp]" || t === "[object Date]" || xo(e);
1090
+ return t === "[object RegExp]" || t === "[object Date]" || Co(e);
1091
1091
  }
1092
- var Eo = typeof Symbol == "function" && Symbol.for, wo = Eo ? Symbol.for("react.element") : 60103;
1093
- function xo(e) {
1094
- return e.$$typeof === wo;
1092
+ var So = typeof Symbol == "function" && Symbol.for, xo = So ? Symbol.for("react.element") : 60103;
1093
+ function Co(e) {
1094
+ return e.$$typeof === xo;
1095
1095
  }
1096
- function So(e) {
1096
+ function Ao(e) {
1097
1097
  return Array.isArray(e) ? [] : {};
1098
1098
  }
1099
1099
  function Ue(e, t) {
1100
- return t.clone !== !1 && t.isMergeableObject(e) ? Se(So(e), e, t) : e;
1100
+ return t.clone !== !1 && t.isMergeableObject(e) ? xe(Ao(e), e, t) : e;
1101
1101
  }
1102
- function Co(e, t, n) {
1102
+ function To(e, t, n) {
1103
1103
  return e.concat(t).map(function(r) {
1104
1104
  return Ue(r, n);
1105
1105
  });
1106
1106
  }
1107
- function Ao(e, t) {
1107
+ function Po(e, t) {
1108
1108
  if (!t.customMerge)
1109
- return Se;
1109
+ return xe;
1110
1110
  var n = t.customMerge(e);
1111
- return typeof n == "function" ? n : Se;
1111
+ return typeof n == "function" ? n : xe;
1112
1112
  }
1113
- function To(e) {
1113
+ function Mo(e) {
1114
1114
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1115
1115
  return Object.propertyIsEnumerable.call(e, t);
1116
1116
  }) : [];
1117
1117
  }
1118
- function un(e) {
1119
- return Object.keys(e).concat(To(e));
1118
+ function cn(e) {
1119
+ return Object.keys(e).concat(Mo(e));
1120
1120
  }
1121
- function kn(e, t) {
1121
+ function jn(e, t) {
1122
1122
  try {
1123
1123
  return t in e;
1124
1124
  } catch (n) {
1125
1125
  return !1;
1126
1126
  }
1127
1127
  }
1128
- function Po(e, t) {
1129
- return kn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1128
+ function Ho(e, t) {
1129
+ return jn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
1130
  }
1131
- function Mo(e, t, n) {
1131
+ function Oo(e, t, n) {
1132
1132
  var r = {};
1133
- return n.isMergeableObject(e) && un(e).forEach(function(o) {
1133
+ return n.isMergeableObject(e) && cn(e).forEach(function(o) {
1134
1134
  r[o] = Ue(e[o], n);
1135
- }), un(t).forEach(function(o) {
1136
- Po(e, o) || (kn(e, o) && n.isMergeableObject(t[o]) ? r[o] = Ao(o, n)(e[o], t[o], n) : r[o] = Ue(t[o], n));
1135
+ }), cn(t).forEach(function(o) {
1136
+ Ho(e, o) || (jn(e, o) && n.isMergeableObject(t[o]) ? r[o] = Po(o, n)(e[o], t[o], n) : r[o] = Ue(t[o], n));
1137
1137
  }), r;
1138
1138
  }
1139
- function Se(e, t, n) {
1140
- n = n || {}, n.arrayMerge = n.arrayMerge || Co, n.isMergeableObject = n.isMergeableObject || yo, n.cloneUnlessOtherwiseSpecified = Ue;
1139
+ function xe(e, t, n) {
1140
+ n = n || {}, n.arrayMerge = n.arrayMerge || To, n.isMergeableObject = n.isMergeableObject || Bo, n.cloneUnlessOtherwiseSpecified = Ue;
1141
1141
  var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1142
- return i ? r ? n.arrayMerge(e, t, n) : Mo(e, t, n) : Ue(t, n);
1142
+ return i ? r ? n.arrayMerge(e, t, n) : Oo(e, t, n) : Ue(t, n);
1143
1143
  }
1144
- Se.all = function(t, n) {
1144
+ xe.all = function(t, n) {
1145
1145
  if (!Array.isArray(t))
1146
1146
  throw new Error("first argument should be an array");
1147
1147
  return t.reduce(function(r, o) {
1148
- return Se(r, o, n);
1148
+ return xe(r, o, n);
1149
1149
  }, {});
1150
1150
  };
1151
- var Ho = Se, Oo = Ho;
1152
- const Io = /* @__PURE__ */ vo(Oo);
1151
+ var Io = xe, No = Io;
1152
+ const Lo = /* @__PURE__ */ _o(No);
1153
1153
  var Tt = function(e, t) {
1154
1154
  return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1155
1155
  n.__proto__ = r;
@@ -1167,17 +1167,17 @@ function tt(e, t) {
1167
1167
  }
1168
1168
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
1169
1169
  }
1170
- var re = function() {
1171
- return re = Object.assign || function(t) {
1170
+ var ie = function() {
1171
+ return ie = Object.assign || function(t) {
1172
1172
  for (var n, r = 1, o = arguments.length; r < o; r++) {
1173
1173
  n = arguments[r];
1174
1174
  for (var i in n)
1175
1175
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1176
1176
  }
1177
1177
  return t;
1178
- }, re.apply(this, arguments);
1178
+ }, ie.apply(this, arguments);
1179
1179
  };
1180
- function No(e, t) {
1180
+ function Ro(e, t) {
1181
1181
  var n = {};
1182
1182
  for (var r in e)
1183
1183
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -1193,36 +1193,36 @@ function dt(e, t, n) {
1193
1193
  return e.concat(i || Array.prototype.slice.call(t));
1194
1194
  }
1195
1195
  function pt(e, t) {
1196
- var n = t && t.cache ? t.cache : Go, r = t && t.serializer ? t.serializer : Do, o = t && t.strategy ? t.strategy : Uo;
1196
+ var n = t && t.cache ? t.cache : Wo, r = t && t.serializer ? t.serializer : $o, o = t && t.strategy ? t.strategy : Do;
1197
1197
  return o(e, {
1198
1198
  cache: n,
1199
1199
  serializer: r
1200
1200
  });
1201
1201
  }
1202
- function Lo(e) {
1202
+ function Uo(e) {
1203
1203
  return e == null || typeof e == "number" || typeof e == "boolean";
1204
1204
  }
1205
- function Ro(e, t, n, r) {
1206
- var o = Lo(r) ? r : n(r), i = t.get(o);
1205
+ function Fo(e, t, n, r) {
1206
+ var o = Uo(r) ? r : n(r), i = t.get(o);
1207
1207
  return typeof i == "undefined" && (i = e.call(this, r), t.set(o, i)), i;
1208
1208
  }
1209
- function Wn(e, t, n) {
1209
+ function Vn(e, t, n) {
1210
1210
  var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
1211
1211
  return typeof i == "undefined" && (i = e.apply(this, r), t.set(o, i)), i;
1212
1212
  }
1213
- function jn(e, t, n, r, o) {
1213
+ function zn(e, t, n, r, o) {
1214
1214
  return n.bind(t, e, r, o);
1215
1215
  }
1216
- function Uo(e, t) {
1217
- var n = e.length === 1 ? Ro : Wn;
1218
- return jn(e, this, n, t.cache.create(), t.serializer);
1216
+ function Do(e, t) {
1217
+ var n = e.length === 1 ? Fo : Vn;
1218
+ return zn(e, this, n, t.cache.create(), t.serializer);
1219
1219
  }
1220
- function Fo(e, t) {
1221
- return jn(e, this, Wn, t.cache.create(), t.serializer);
1220
+ function Go(e, t) {
1221
+ return zn(e, this, Vn, t.cache.create(), t.serializer);
1222
1222
  }
1223
- var Do = function() {
1223
+ var $o = function() {
1224
1224
  return JSON.stringify(arguments);
1225
- }, $o = (
1225
+ }, ko = (
1226
1226
  /** @class */
1227
1227
  function() {
1228
1228
  function e() {
@@ -1234,12 +1234,12 @@ var Do = function() {
1234
1234
  this.cache[t] = n;
1235
1235
  }, e;
1236
1236
  }()
1237
- ), Go = {
1237
+ ), Wo = {
1238
1238
  create: function() {
1239
- return new $o();
1239
+ return new ko();
1240
1240
  }
1241
1241
  }, mt = {
1242
- variadic: Fo
1242
+ variadic: Go
1243
1243
  }, Ye = function() {
1244
1244
  return Ye = Object.assign || function(t) {
1245
1245
  for (var n, r = 1, o = arguments.length; r < o; r++) {
@@ -1254,51 +1254,51 @@ var C;
1254
1254
  (function(e) {
1255
1255
  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";
1256
1256
  })(C || (C = {}));
1257
- var N;
1257
+ var O;
1258
1258
  (function(e) {
1259
1259
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1260
- })(N || (N = {}));
1260
+ })(O || (O = {}));
1261
1261
  var Ce;
1262
1262
  (function(e) {
1263
1263
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1264
1264
  })(Ce || (Ce = {}));
1265
- function ln(e) {
1266
- return e.type === N.literal;
1267
- }
1268
- function ko(e) {
1269
- return e.type === N.argument;
1270
- }
1271
- function Vn(e) {
1272
- return e.type === N.number;
1265
+ function fn(e) {
1266
+ return e.type === O.literal;
1273
1267
  }
1274
- function zn(e) {
1275
- return e.type === N.date;
1268
+ function jo(e) {
1269
+ return e.type === O.argument;
1276
1270
  }
1277
1271
  function Xn(e) {
1278
- return e.type === N.time;
1272
+ return e.type === O.number;
1279
1273
  }
1280
1274
  function qn(e) {
1281
- return e.type === N.select;
1275
+ return e.type === O.date;
1282
1276
  }
1283
1277
  function Zn(e) {
1284
- return e.type === N.plural;
1285
- }
1286
- function Wo(e) {
1287
- return e.type === N.pound;
1278
+ return e.type === O.time;
1288
1279
  }
1289
1280
  function Yn(e) {
1290
- return e.type === N.tag;
1281
+ return e.type === O.select;
1291
1282
  }
1292
1283
  function Qn(e) {
1284
+ return e.type === O.plural;
1285
+ }
1286
+ function Vo(e) {
1287
+ return e.type === O.pound;
1288
+ }
1289
+ function Jn(e) {
1290
+ return e.type === O.tag;
1291
+ }
1292
+ function Kn(e) {
1293
1293
  return !!(e && typeof e == "object" && e.type === Ce.number);
1294
1294
  }
1295
1295
  function Pt(e) {
1296
1296
  return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1297
1297
  }
1298
- var Jn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jo = /(?:[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;
1299
- function Vo(e) {
1298
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zo = /(?:[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;
1299
+ function Xo(e) {
1300
1300
  var t = {};
1301
- return e.replace(jo, function(n) {
1301
+ return e.replace(zo, function(n) {
1302
1302
  var r = n.length;
1303
1303
  switch (n[0]) {
1304
1304
  case "G":
@@ -1387,21 +1387,21 @@ function Vo(e) {
1387
1387
  return "";
1388
1388
  }), t;
1389
1389
  }
1390
- var L = function() {
1391
- return L = Object.assign || function(t) {
1390
+ var I = function() {
1391
+ return I = Object.assign || function(t) {
1392
1392
  for (var n, r = 1, o = arguments.length; r < o; r++) {
1393
1393
  n = arguments[r];
1394
1394
  for (var i in n)
1395
1395
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1396
1396
  }
1397
1397
  return t;
1398
- }, L.apply(this, arguments);
1398
+ }, I.apply(this, arguments);
1399
1399
  };
1400
- var zo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1401
- function Xo(e) {
1400
+ var qo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1401
+ function Zo(e) {
1402
1402
  if (e.length === 0)
1403
1403
  throw new Error("Number skeleton cannot be empty");
1404
- for (var t = e.split(zo).filter(function(p) {
1404
+ for (var t = e.split(qo).filter(function(p) {
1405
1405
  return p.length > 0;
1406
1406
  }), n = [], r = 0, o = t; r < o.length; r++) {
1407
1407
  var i = o[r], s = i.split("/");
@@ -1416,17 +1416,17 @@ function Xo(e) {
1416
1416
  }
1417
1417
  return n;
1418
1418
  }
1419
- function qo(e) {
1419
+ function Yo(e) {
1420
1420
  return e.replace(/^(.*?)-/, "");
1421
1421
  }
1422
- var cn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kn = /^(@+)?(\+|#+)?[rs]?$/g, Zo = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1423
- function fn(e) {
1422
+ var hn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Qo = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1423
+ function dn(e) {
1424
1424
  var t = {};
1425
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kn, function(n, r, o) {
1425
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(n, r, o) {
1426
1426
  return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
1427
1427
  }), t;
1428
1428
  }
1429
- function tr(e) {
1429
+ function rr(e) {
1430
1430
  switch (e) {
1431
1431
  case "sign-auto":
1432
1432
  return {
@@ -1466,7 +1466,7 @@ function tr(e) {
1466
1466
  };
1467
1467
  }
1468
1468
  }
1469
- function Yo(e) {
1469
+ function Jo(e) {
1470
1470
  var t;
1471
1471
  if (e[0] === "E" && e[1] === "E" ? (t = {
1472
1472
  notation: "engineering"
@@ -1474,17 +1474,17 @@ function Yo(e) {
1474
1474
  notation: "scientific"
1475
1475
  }, e = e.slice(1)), t) {
1476
1476
  var n = e.slice(0, 2);
1477
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1477
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1478
1478
  throw new Error("Malformed concise eng/scientific notation");
1479
1479
  t.minimumIntegerDigits = e.length;
1480
1480
  }
1481
1481
  return t;
1482
1482
  }
1483
- function hn(e) {
1484
- var t = {}, n = tr(e);
1483
+ function pn(e) {
1484
+ var t = {}, n = rr(e);
1485
1485
  return n || t;
1486
1486
  }
1487
- function Qo(e) {
1487
+ function Ko(e) {
1488
1488
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1489
1489
  var o = r[n];
1490
1490
  switch (o.stem) {
@@ -1508,7 +1508,7 @@ function Qo(e) {
1508
1508
  continue;
1509
1509
  case "measure-unit":
1510
1510
  case "unit":
1511
- t.style = "unit", t.unit = qo(o.options[0]);
1511
+ t.style = "unit", t.unit = Yo(o.options[0]);
1512
1512
  continue;
1513
1513
  case "compact-short":
1514
1514
  case "K":
@@ -1519,13 +1519,13 @@ function Qo(e) {
1519
1519
  t.notation = "compact", t.compactDisplay = "long";
1520
1520
  continue;
1521
1521
  case "scientific":
1522
- t = L(L(L({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1523
- return L(L({}, u), hn(l));
1522
+ t = I(I(I({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1523
+ return I(I({}, u), pn(l));
1524
1524
  }, {}));
1525
1525
  continue;
1526
1526
  case "engineering":
1527
- t = L(L(L({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1528
- return L(L({}, u), hn(l));
1527
+ t = I(I(I({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1528
+ return I(I({}, u), pn(l));
1529
1529
  }, {}));
1530
1530
  continue;
1531
1531
  case "notation-simple":
@@ -1570,7 +1570,7 @@ function Qo(e) {
1570
1570
  case "integer-width":
1571
1571
  if (o.options.length > 1)
1572
1572
  throw new RangeError("integer-width stems only accept a single optional option");
1573
- o.options[0].replace(Zo, function(u, l, c, d, p, m) {
1573
+ o.options[0].replace(Qo, function(u, l, c, d, p, m) {
1574
1574
  if (l)
1575
1575
  t.minimumIntegerDigits = c.length;
1576
1576
  else {
@@ -1583,28 +1583,28 @@ function Qo(e) {
1583
1583
  });
1584
1584
  continue;
1585
1585
  }
1586
- if (er.test(o.stem)) {
1586
+ if (nr.test(o.stem)) {
1587
1587
  t.minimumIntegerDigits = o.stem.length;
1588
1588
  continue;
1589
1589
  }
1590
- if (cn.test(o.stem)) {
1590
+ if (hn.test(o.stem)) {
1591
1591
  if (o.options.length > 1)
1592
1592
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1593
- o.stem.replace(cn, function(u, l, c, d, p, m) {
1593
+ o.stem.replace(hn, function(u, l, c, d, p, m) {
1594
1594
  return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1595
1595
  });
1596
1596
  var i = o.options[0];
1597
- i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t), fn(i)));
1597
+ i === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = I(I({}, t), dn(i)));
1598
1598
  continue;
1599
1599
  }
1600
- if (Kn.test(o.stem)) {
1601
- t = L(L({}, t), fn(o.stem));
1600
+ if (tr.test(o.stem)) {
1601
+ t = I(I({}, t), dn(o.stem));
1602
1602
  continue;
1603
1603
  }
1604
- var s = tr(o.stem);
1605
- s && (t = L(L({}, t), s));
1606
- var a = Yo(o.stem);
1607
- a && (t = L(L({}, t), a));
1604
+ var s = rr(o.stem);
1605
+ s && (t = I(I({}, t), s));
1606
+ var a = Jo(o.stem);
1607
+ a && (t = I(I({}, t), a));
1608
1608
  }
1609
1609
  return t;
1610
1610
  }
@@ -3023,13 +3023,13 @@ var je = {
3023
3023
  "h"
3024
3024
  ]
3025
3025
  };
3026
- function Jo(e, t) {
3026
+ function ei(e, t) {
3027
3027
  for (var n = "", r = 0; r < e.length; r++) {
3028
3028
  var o = e.charAt(r);
3029
3029
  if (o === "j") {
3030
3030
  for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
3031
3031
  i++, r++;
3032
- var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = Ko(t);
3032
+ var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = ti(t);
3033
3033
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3034
3034
  n += u;
3035
3035
  for (; s-- > 0; )
@@ -3039,7 +3039,7 @@ function Jo(e, t) {
3039
3039
  }
3040
3040
  return n;
3041
3041
  }
3042
- function Ko(e) {
3042
+ function ti(e) {
3043
3043
  var t = e.hourCycle;
3044
3044
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3045
3045
  e.hourCycles && // @ts-ignore
@@ -3061,20 +3061,20 @@ function Ko(e) {
3061
3061
  var o = je[r || ""] || je[n || ""] || je["".concat(n, "-001")] || je["001"];
3062
3062
  return o[0];
3063
3063
  }
3064
- var bt, ei = new RegExp("^".concat(Jn.source, "*")), ti = new RegExp("".concat(Jn.source, "*$"));
3064
+ var bt, ni = new RegExp("^".concat(er.source, "*")), ri = new RegExp("".concat(er.source, "*$"));
3065
3065
  function A(e, t) {
3066
3066
  return { start: e, end: t };
3067
3067
  }
3068
- var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, oi = !!Object.fromEntries, ii = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, li = ui ? Number.isSafeInteger : function(e) {
3068
+ var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
3069
3069
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3070
3070
  }, Mt = !0;
3071
3071
  try {
3072
- var ci = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
- Mt = ((bt = ci.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
3072
+ var hi = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
+ Mt = ((bt = hi.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
3074
3074
  } catch (e) {
3075
3075
  Mt = !1;
3076
3076
  }
3077
- var dn = ni ? (
3077
+ var mn = oi ? (
3078
3078
  // Native
3079
3079
  function(t, n, r) {
3080
3080
  return t.startsWith(n, r);
@@ -3084,7 +3084,7 @@ var dn = ni ? (
3084
3084
  function(t, n, r) {
3085
3085
  return t.slice(r, r + n.length) === n;
3086
3086
  }
3087
- ), Ht = ri ? String.fromCodePoint : (
3087
+ ), Ht = ii ? String.fromCodePoint : (
3088
3088
  // IE11
3089
3089
  function() {
3090
3090
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3096,9 +3096,9 @@ var dn = ni ? (
3096
3096
  }
3097
3097
  return r;
3098
3098
  }
3099
- ), pn = (
3099
+ ), bn = (
3100
3100
  // native
3101
- oi ? Object.fromEntries : (
3101
+ si ? Object.fromEntries : (
3102
3102
  // Ponyfill
3103
3103
  function(t) {
3104
3104
  for (var n = {}, r = 0, o = t; r < o.length; r++) {
@@ -3108,7 +3108,7 @@ var dn = ni ? (
3108
3108
  return n;
3109
3109
  }
3110
3110
  )
3111
- ), nr = ii ? (
3111
+ ), or = ai ? (
3112
3112
  // Native
3113
3113
  function(t, n) {
3114
3114
  return t.codePointAt(n);
@@ -3122,7 +3122,7 @@ var dn = ni ? (
3122
3122
  return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
3123
3123
  }
3124
3124
  }
3125
- ), fi = si ? (
3125
+ ), di = ui ? (
3126
3126
  // Native
3127
3127
  function(t) {
3128
3128
  return t.trimStart();
@@ -3130,9 +3130,9 @@ var dn = ni ? (
3130
3130
  ) : (
3131
3131
  // Ponyfill
3132
3132
  function(t) {
3133
- return t.replace(ei, "");
3133
+ return t.replace(ni, "");
3134
3134
  }
3135
- ), hi = ai ? (
3135
+ ), pi = li ? (
3136
3136
  // Native
3137
3137
  function(t) {
3138
3138
  return t.trimEnd();
@@ -3140,32 +3140,32 @@ var dn = ni ? (
3140
3140
  ) : (
3141
3141
  // Ponyfill
3142
3142
  function(t) {
3143
- return t.replace(ti, "");
3143
+ return t.replace(ri, "");
3144
3144
  }
3145
3145
  );
3146
- function rr(e, t) {
3146
+ function ir(e, t) {
3147
3147
  return new RegExp(e, t);
3148
3148
  }
3149
3149
  var Ot;
3150
3150
  if (Mt) {
3151
- var mn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
+ var gn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3152
3152
  Ot = function(t, n) {
3153
3153
  var r;
3154
- mn.lastIndex = n;
3155
- var o = mn.exec(t);
3154
+ gn.lastIndex = n;
3155
+ var o = gn.exec(t);
3156
3156
  return (r = o[1]) !== null && r !== void 0 ? r : "";
3157
3157
  };
3158
3158
  } else
3159
3159
  Ot = function(t, n) {
3160
3160
  for (var r = []; ; ) {
3161
- var o = nr(t, n);
3162
- if (o === void 0 || or(o) || bi(o))
3161
+ var o = or(t, n);
3162
+ if (o === void 0 || sr(o) || vi(o))
3163
3163
  break;
3164
3164
  r.push(o), n += o >= 65536 ? 2 : 1;
3165
3165
  }
3166
3166
  return Ht.apply(void 0, r);
3167
3167
  };
3168
- var di = (
3168
+ var mi = (
3169
3169
  /** @class */
3170
3170
  function() {
3171
3171
  function e(t, n) {
@@ -3189,7 +3189,7 @@ var di = (
3189
3189
  if (i === 35 && (n === "plural" || n === "selectordinal")) {
3190
3190
  var a = this.clonePosition();
3191
3191
  this.bump(), o.push({
3192
- type: N.pound,
3192
+ type: O.pound,
3193
3193
  location: A(a, this.clonePosition())
3194
3194
  });
3195
3195
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3217,7 +3217,7 @@ var di = (
3217
3217
  if (this.bumpSpace(), this.bumpIf("/>"))
3218
3218
  return {
3219
3219
  val: {
3220
- type: N.literal,
3220
+ type: O.literal,
3221
3221
  value: "<".concat(o, "/>"),
3222
3222
  location: A(r, this.clonePosition())
3223
3223
  },
@@ -3234,7 +3234,7 @@ var di = (
3234
3234
  var u = this.clonePosition(), l = this.parseTagName();
3235
3235
  return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, A(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3236
3236
  val: {
3237
- type: N.tag,
3237
+ type: O.tag,
3238
3238
  value: o,
3239
3239
  children: s,
3240
3240
  location: A(r, this.clonePosition())
@@ -3247,7 +3247,7 @@ var di = (
3247
3247
  return this.error(C.INVALID_TAG, A(r, this.clonePosition()));
3248
3248
  }, e.prototype.parseTagName = function() {
3249
3249
  var t = this.offset();
3250
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3250
+ for (this.bump(); !this.isEOF() && gi(this.char()); )
3251
3251
  this.bump();
3252
3252
  return this.message.slice(t, this.offset());
3253
3253
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3271,12 +3271,12 @@ var di = (
3271
3271
  }
3272
3272
  var u = A(r, this.clonePosition());
3273
3273
  return {
3274
- val: { type: N.literal, value: o, location: u },
3274
+ val: { type: O.literal, value: o, location: u },
3275
3275
  err: null
3276
3276
  };
3277
3277
  }, e.prototype.tryParseLeftAngleBracket = function() {
3278
3278
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3279
- !pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3279
+ !bi(this.peek() || 0)) ? (this.bump(), "<") : null;
3280
3280
  }, e.prototype.tryParseQuote = function(t) {
3281
3281
  if (this.isEOF() || this.char() !== 39)
3282
3282
  return null;
@@ -3331,7 +3331,7 @@ var di = (
3331
3331
  case 125:
3332
3332
  return this.bump(), {
3333
3333
  val: {
3334
- type: N.argument,
3334
+ type: O.argument,
3335
3335
  // value does not include the opening and closing braces.
3336
3336
  value: o,
3337
3337
  location: A(r, this.clonePosition())
@@ -3363,7 +3363,7 @@ var di = (
3363
3363
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3364
3364
  if (d.err)
3365
3365
  return d;
3366
- var p = hi(d.val);
3366
+ var p = pi(d.val);
3367
3367
  if (p.length === 0)
3368
3368
  return this.error(C.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3369
3369
  var m = A(c, this.clonePosition());
@@ -3373,25 +3373,25 @@ var di = (
3373
3373
  if (y.err)
3374
3374
  return y;
3375
3375
  var v = A(o, this.clonePosition());
3376
- if (l && dn(l == null ? void 0 : l.style, "::", 0)) {
3377
- var x = fi(l.style.slice(2));
3376
+ if (l && mn(l == null ? void 0 : l.style, "::", 0)) {
3377
+ var x = di(l.style.slice(2));
3378
3378
  if (a === "number") {
3379
3379
  var d = this.parseNumberSkeletonFromString(x, l.styleLocation);
3380
3380
  return d.err ? d : {
3381
- val: { type: N.number, value: r, location: v, style: d.val },
3381
+ val: { type: O.number, value: r, location: v, style: d.val },
3382
3382
  err: null
3383
3383
  };
3384
3384
  } else {
3385
3385
  if (x.length === 0)
3386
3386
  return this.error(C.EXPECT_DATE_TIME_SKELETON, v);
3387
3387
  var _ = x;
3388
- this.locale && (_ = Jo(x, this.locale));
3388
+ this.locale && (_ = ei(x, this.locale));
3389
3389
  var p = {
3390
3390
  type: Ce.dateTime,
3391
3391
  pattern: _,
3392
3392
  location: l.styleLocation,
3393
- parsedOptions: this.shouldParseSkeletons ? Vo(_) : {}
3394
- }, b = a === "date" ? N.date : N.time;
3393
+ parsedOptions: this.shouldParseSkeletons ? Xo(_) : {}
3394
+ }, b = a === "date" ? O.date : O.time;
3395
3395
  return {
3396
3396
  val: { type: b, value: r, location: v, style: p },
3397
3397
  err: null
@@ -3400,7 +3400,7 @@ var di = (
3400
3400
  }
3401
3401
  return {
3402
3402
  val: {
3403
- type: a === "number" ? N.number : a === "date" ? N.date : N.time,
3403
+ type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3404
3404
  value: r,
3405
3405
  location: v,
3406
3406
  style: (i = l == null ? void 0 : l.style) !== null && i !== void 0 ? i : null
@@ -3415,7 +3415,7 @@ var di = (
3415
3415
  if (this.bumpSpace(), !this.bumpIf(","))
3416
3416
  return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, A(g, Ye({}, g)));
3417
3417
  this.bumpSpace();
3418
- var E = this.parseIdentifierIfPossible(), O = 0;
3418
+ var E = this.parseIdentifierIfPossible(), R = 0;
3419
3419
  if (a !== "select" && E.value === "offset") {
3420
3420
  if (!this.bumpIf(":"))
3421
3421
  return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
@@ -3423,31 +3423,31 @@ var di = (
3423
3423
  var d = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3424
3424
  if (d.err)
3425
3425
  return d;
3426
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), O = d.val;
3426
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), R = d.val;
3427
3427
  }
3428
- var X = this.tryParsePluralOrSelectOptions(t, a, n, E);
3429
- if (X.err)
3430
- return X;
3428
+ var N = this.tryParsePluralOrSelectOptions(t, a, n, E);
3429
+ if (N.err)
3430
+ return N;
3431
3431
  var y = this.tryParseArgumentClose(o);
3432
3432
  if (y.err)
3433
3433
  return y;
3434
- var Q = A(o, this.clonePosition());
3434
+ var Y = A(o, this.clonePosition());
3435
3435
  return a === "select" ? {
3436
3436
  val: {
3437
- type: N.select,
3437
+ type: O.select,
3438
3438
  value: r,
3439
- options: pn(X.val),
3440
- location: Q
3439
+ options: bn(N.val),
3440
+ location: Y
3441
3441
  },
3442
3442
  err: null
3443
3443
  } : {
3444
3444
  val: {
3445
- type: N.plural,
3445
+ type: O.plural,
3446
3446
  value: r,
3447
- options: pn(X.val),
3448
- offset: O,
3447
+ options: bn(N.val),
3448
+ offset: R,
3449
3449
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3450
- location: Q
3450
+ location: Y
3451
3451
  },
3452
3452
  err: null
3453
3453
  };
@@ -3495,7 +3495,7 @@ var di = (
3495
3495
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3496
3496
  var r = [];
3497
3497
  try {
3498
- r = Xo(t);
3498
+ r = Zo(t);
3499
3499
  } catch (o) {
3500
3500
  return this.error(C.INVALID_NUMBER_SKELETON, n);
3501
3501
  }
@@ -3504,7 +3504,7 @@ var di = (
3504
3504
  type: Ce.number,
3505
3505
  tokens: r,
3506
3506
  location: n,
3507
- parsedOptions: this.shouldParseSkeletons ? Qo(r) : {}
3507
+ parsedOptions: this.shouldParseSkeletons ? Ko(r) : {}
3508
3508
  },
3509
3509
  err: null
3510
3510
  };
@@ -3552,7 +3552,7 @@ var di = (
3552
3552
  break;
3553
3553
  }
3554
3554
  var u = A(o, this.clonePosition());
3555
- return i ? (s *= r, li(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3555
+ return i ? (s *= r, fi(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3556
3556
  }, e.prototype.offset = function() {
3557
3557
  return this.position.offset;
3558
3558
  }, e.prototype.isEOF = function() {
@@ -3567,7 +3567,7 @@ var di = (
3567
3567
  var t = this.position.offset;
3568
3568
  if (t >= this.message.length)
3569
3569
  throw Error("out of bound");
3570
- var n = nr(this.message, t);
3570
+ var n = or(this.message, t);
3571
3571
  if (n === void 0)
3572
3572
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3573
3573
  return n;
@@ -3586,7 +3586,7 @@ var di = (
3586
3586
  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);
3587
3587
  }
3588
3588
  }, e.prototype.bumpIf = function(t) {
3589
- if (dn(this.message, t, this.offset())) {
3589
+ if (mn(this.message, t, this.offset())) {
3590
3590
  for (var n = 0; n < t.length; n++)
3591
3591
  this.bump();
3592
3592
  return !0;
@@ -3608,7 +3608,7 @@ var di = (
3608
3608
  break;
3609
3609
  }
3610
3610
  }, e.prototype.bumpSpace = function() {
3611
- for (; !this.isEOF() && or(this.char()); )
3611
+ for (; !this.isEOF() && sr(this.char()); )
3612
3612
  this.bump();
3613
3613
  }, e.prototype.peek = function() {
3614
3614
  if (this.isEOF())
@@ -3621,30 +3621,30 @@ var di = (
3621
3621
  function It(e) {
3622
3622
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3623
3623
  }
3624
- function pi(e) {
3624
+ function bi(e) {
3625
3625
  return It(e) || e === 47;
3626
3626
  }
3627
- function mi(e) {
3627
+ function gi(e) {
3628
3628
  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;
3629
3629
  }
3630
- function or(e) {
3630
+ function sr(e) {
3631
3631
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3632
3632
  }
3633
- function bi(e) {
3633
+ function vi(e) {
3634
3634
  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;
3635
3635
  }
3636
3636
  function Nt(e) {
3637
3637
  e.forEach(function(t) {
3638
- if (delete t.location, qn(t) || Zn(t))
3638
+ if (delete t.location, Yn(t) || Qn(t))
3639
3639
  for (var n in t.options)
3640
3640
  delete t.options[n].location, Nt(t.options[n].value);
3641
3641
  else
3642
- Vn(t) && Qn(t.style) || (zn(t) || Xn(t)) && Pt(t.style) ? delete t.style.location : Yn(t) && Nt(t.children);
3642
+ Xn(t) && Kn(t.style) || (qn(t) || Zn(t)) && Pt(t.style) ? delete t.style.location : Jn(t) && Nt(t.children);
3643
3643
  });
3644
3644
  }
3645
- function gi(e, t) {
3645
+ function yi(e, t) {
3646
3646
  t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3647
- var n = new di(e, t).parse();
3647
+ var n = new mi(e, t).parse();
3648
3648
  if (n.err) {
3649
3649
  var r = SyntaxError(C[n.err.kind]);
3650
3650
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3667,7 +3667,7 @@ var nt = (
3667
3667
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3668
3668
  }, t;
3669
3669
  }(Error)
3670
- ), bn = (
3670
+ ), vn = (
3671
3671
  /** @class */
3672
3672
  function(e) {
3673
3673
  tt(t, e);
@@ -3676,7 +3676,7 @@ var nt = (
3676
3676
  }
3677
3677
  return t;
3678
3678
  }(nt)
3679
- ), vi = (
3679
+ ), _i = (
3680
3680
  /** @class */
3681
3681
  function(e) {
3682
3682
  tt(t, e);
@@ -3685,7 +3685,7 @@ var nt = (
3685
3685
  }
3686
3686
  return t;
3687
3687
  }(nt)
3688
- ), yi = (
3688
+ ), Bi = (
3689
3689
  /** @class */
3690
3690
  function(e) {
3691
3691
  tt(t, e);
@@ -3694,100 +3694,100 @@ var nt = (
3694
3694
  }
3695
3695
  return t;
3696
3696
  }(nt)
3697
- ), V;
3697
+ ), z;
3698
3698
  (function(e) {
3699
3699
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3700
- })(V || (V = {}));
3701
- function _i(e) {
3700
+ })(z || (z = {}));
3701
+ function Ei(e) {
3702
3702
  return e.length < 2 ? e : e.reduce(function(t, n) {
3703
3703
  var r = t[t.length - 1];
3704
- return !r || r.type !== V.literal || n.type !== V.literal ? t.push(n) : r.value += n.value, t;
3704
+ return !r || r.type !== z.literal || n.type !== z.literal ? t.push(n) : r.value += n.value, t;
3705
3705
  }, []);
3706
3706
  }
3707
- function Bi(e) {
3707
+ function wi(e) {
3708
3708
  return typeof e == "function";
3709
3709
  }
3710
3710
  function Xe(e, t, n, r, o, i, s) {
3711
- if (e.length === 1 && ln(e[0]))
3711
+ if (e.length === 1 && fn(e[0]))
3712
3712
  return [
3713
3713
  {
3714
- type: V.literal,
3714
+ type: z.literal,
3715
3715
  value: e[0].value
3716
3716
  }
3717
3717
  ];
3718
3718
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3719
3719
  var c = l[u];
3720
- if (ln(c)) {
3720
+ if (fn(c)) {
3721
3721
  a.push({
3722
- type: V.literal,
3722
+ type: z.literal,
3723
3723
  value: c.value
3724
3724
  });
3725
3725
  continue;
3726
3726
  }
3727
- if (Wo(c)) {
3727
+ if (Vo(c)) {
3728
3728
  typeof i == "number" && a.push({
3729
- type: V.literal,
3729
+ type: z.literal,
3730
3730
  value: n.getNumberFormat(t).format(i)
3731
3731
  });
3732
3732
  continue;
3733
3733
  }
3734
3734
  var d = c.value;
3735
3735
  if (!(o && d in o))
3736
- throw new yi(d, s);
3736
+ throw new Bi(d, s);
3737
3737
  var p = o[d];
3738
- if (ko(c)) {
3738
+ if (jo(c)) {
3739
3739
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3740
- type: typeof p == "string" ? V.literal : V.object,
3740
+ type: typeof p == "string" ? z.literal : z.object,
3741
3741
  value: p
3742
3742
  });
3743
3743
  continue;
3744
3744
  }
3745
- if (zn(c)) {
3745
+ if (qn(c)) {
3746
3746
  var m = typeof c.style == "string" ? r.date[c.style] : Pt(c.style) ? c.style.parsedOptions : void 0;
3747
3747
  a.push({
3748
- type: V.literal,
3748
+ type: z.literal,
3749
3749
  value: n.getDateTimeFormat(t, m).format(p)
3750
3750
  });
3751
3751
  continue;
3752
3752
  }
3753
- if (Xn(c)) {
3753
+ if (Zn(c)) {
3754
3754
  var m = typeof c.style == "string" ? r.time[c.style] : Pt(c.style) ? c.style.parsedOptions : r.time.medium;
3755
3755
  a.push({
3756
- type: V.literal,
3756
+ type: z.literal,
3757
3757
  value: n.getDateTimeFormat(t, m).format(p)
3758
3758
  });
3759
3759
  continue;
3760
3760
  }
3761
- if (Vn(c)) {
3762
- var m = typeof c.style == "string" ? r.number[c.style] : Qn(c.style) ? c.style.parsedOptions : void 0;
3761
+ if (Xn(c)) {
3762
+ var m = typeof c.style == "string" ? r.number[c.style] : Kn(c.style) ? c.style.parsedOptions : void 0;
3763
3763
  m && m.scale && (p = p * (m.scale || 1)), a.push({
3764
- type: V.literal,
3764
+ type: z.literal,
3765
3765
  value: n.getNumberFormat(t, m).format(p)
3766
3766
  });
3767
3767
  continue;
3768
3768
  }
3769
- if (Yn(c)) {
3769
+ if (Jn(c)) {
3770
3770
  var y = c.children, v = c.value, x = o[v];
3771
- if (!Bi(x))
3772
- throw new vi(v, "function", s);
3773
- var _ = Xe(y, t, n, r, o, i), b = x(_.map(function(O) {
3774
- return O.value;
3771
+ if (!wi(x))
3772
+ throw new _i(v, "function", s);
3773
+ var _ = Xe(y, t, n, r, o, i), b = x(_.map(function(R) {
3774
+ return R.value;
3775
3775
  }));
3776
- Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(O) {
3776
+ Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(R) {
3777
3777
  return {
3778
- type: typeof O == "string" ? V.literal : V.object,
3779
- value: O
3778
+ type: typeof R == "string" ? z.literal : z.object,
3779
+ value: R
3780
3780
  };
3781
3781
  }));
3782
3782
  }
3783
- if (qn(c)) {
3783
+ if (Yn(c)) {
3784
3784
  var g = c.options[p] || c.options.other;
3785
3785
  if (!g)
3786
- throw new bn(c.value, p, Object.keys(c.options), s);
3786
+ throw new vn(c.value, p, Object.keys(c.options), s);
3787
3787
  a.push.apply(a, Xe(g.value, t, n, r, o));
3788
3788
  continue;
3789
3789
  }
3790
- if (Zn(c)) {
3790
+ if (Qn(c)) {
3791
3791
  var g = c.options["=".concat(p)];
3792
3792
  if (!g) {
3793
3793
  if (!Intl.PluralRules)
@@ -3798,22 +3798,22 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3798
3798
  g = c.options[E] || c.options.other;
3799
3799
  }
3800
3800
  if (!g)
3801
- throw new bn(c.value, p, Object.keys(c.options), s);
3801
+ throw new vn(c.value, p, Object.keys(c.options), s);
3802
3802
  a.push.apply(a, Xe(g.value, t, n, r, o, p - (c.offset || 0)));
3803
3803
  continue;
3804
3804
  }
3805
3805
  }
3806
- return _i(a);
3806
+ return Ei(a);
3807
3807
  }
3808
- function Ei(e, t) {
3809
- return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3810
- return n[r] = re(re({}, e[r]), t[r] || {}), n;
3808
+ function Si(e, t) {
3809
+ return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3810
+ return n[r] = ie(ie({}, e[r]), t[r] || {}), n;
3811
3811
  }, {})) : e;
3812
3812
  }
3813
- function wi(e, t) {
3813
+ function xi(e, t) {
3814
3814
  return t ? Object.keys(e).reduce(function(n, r) {
3815
- return n[r] = Ei(e[r], t[r]), n;
3816
- }, re({}, e)) : e;
3815
+ return n[r] = Si(e[r], t[r]), n;
3816
+ }, ie({}, e)) : e;
3817
3817
  }
3818
3818
  function gt(e) {
3819
3819
  return {
@@ -3829,7 +3829,7 @@ function gt(e) {
3829
3829
  }
3830
3830
  };
3831
3831
  }
3832
- function xi(e) {
3832
+ function Ci(e) {
3833
3833
  return e === void 0 && (e = {
3834
3834
  number: {},
3835
3835
  dateTime: {},
@@ -3861,7 +3861,7 @@ function xi(e) {
3861
3861
  })
3862
3862
  };
3863
3863
  }
3864
- var Si = (
3864
+ var Ai = (
3865
3865
  /** @class */
3866
3866
  function() {
3867
3867
  function e(t, n, r, o) {
@@ -3876,7 +3876,7 @@ var Si = (
3876
3876
  if (l.length === 1)
3877
3877
  return l[0].value;
3878
3878
  var c = l.reduce(function(d, p) {
3879
- return !d.length || p.type !== V.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3879
+ return !d.length || p.type !== z.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3880
3880
  }, []);
3881
3881
  return c.length <= 1 ? c[0] || "" : c;
3882
3882
  }, this.formatToParts = function(u) {
@@ -3893,13 +3893,13 @@ var Si = (
3893
3893
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3894
3894
  var s = o || {};
3895
3895
  s.formatters;
3896
- var a = No(s, ["formatters"]);
3897
- this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
3896
+ var a = Ro(s, ["formatters"]);
3897
+ this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3898
3898
  } else
3899
3899
  this.ast = t;
3900
3900
  if (!Array.isArray(this.ast))
3901
3901
  throw new TypeError("A message must be provided as a String or AST.");
3902
- this.formats = wi(e.formats, r), this.formatters = o && o.formatters || xi(this.formatterCache);
3902
+ this.formats = xi(e.formats, r), this.formatters = o && o.formatters || Ci(this.formatterCache);
3903
3903
  }
3904
3904
  return Object.defineProperty(e, "defaultLocale", {
3905
3905
  get: function() {
@@ -3912,7 +3912,7 @@ var Si = (
3912
3912
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3913
3913
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3914
3914
  }
3915
- }, e.__parse = gi, e.formats = {
3915
+ }, e.__parse = yi, e.formats = {
3916
3916
  number: {
3917
3917
  integer: {
3918
3918
  maximumFractionDigits: 0
@@ -3973,7 +3973,7 @@ var Si = (
3973
3973
  }, e;
3974
3974
  }()
3975
3975
  );
3976
- function Ci(e, t) {
3976
+ function Ti(e, t) {
3977
3977
  if (t == null)
3978
3978
  return;
3979
3979
  if (t in e)
@@ -3994,60 +3994,60 @@ function Ci(e, t) {
3994
3994
  r = void 0;
3995
3995
  return r;
3996
3996
  }
3997
- const he = {}, Ai = (e, t, n) => n && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = n), n), ir = (e, t) => {
3997
+ const de = {}, Pi = (e, t, n) => n && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = n), n), ar = (e, t) => {
3998
3998
  if (t == null)
3999
3999
  return;
4000
- if (t in he && e in he[t])
4001
- return he[t][e];
4000
+ if (t in de && e in de[t])
4001
+ return de[t][e];
4002
4002
  const n = rt(t);
4003
4003
  for (let r = 0; r < n.length; r++) {
4004
- const o = n[r], i = Pi(o, e);
4004
+ const o = n[r], i = Hi(o, e);
4005
4005
  if (i)
4006
- return Ai(e, t, i);
4006
+ return Pi(e, t, i);
4007
4007
  }
4008
4008
  };
4009
- let Dt;
4010
- const $e = et({});
4011
- function Ti(e) {
4012
- return Dt[e] || null;
4009
+ let Gt;
4010
+ const Ge = et({});
4011
+ function Mi(e) {
4012
+ return Gt[e] || null;
4013
4013
  }
4014
- function sr(e) {
4015
- return e in Dt;
4014
+ function ur(e) {
4015
+ return e in Gt;
4016
4016
  }
4017
- function Pi(e, t) {
4018
- if (!sr(e))
4017
+ function Hi(e, t) {
4018
+ if (!ur(e))
4019
4019
  return null;
4020
- const n = Ti(e);
4021
- return Ci(n, t);
4020
+ const n = Mi(e);
4021
+ return Ti(n, t);
4022
4022
  }
4023
- function Mi(e) {
4023
+ function Oi(e) {
4024
4024
  if (e == null)
4025
4025
  return;
4026
4026
  const t = rt(e);
4027
4027
  for (let n = 0; n < t.length; n++) {
4028
4028
  const r = t[n];
4029
- if (sr(r))
4029
+ if (ur(r))
4030
4030
  return r;
4031
4031
  }
4032
4032
  }
4033
- function ar(e, ...t) {
4034
- delete he[e], $e.update((n) => (n[e] = Io.all([n[e] || {}, ...t]), n));
4033
+ function lr(e, ...t) {
4034
+ delete de[e], Ge.update((n) => (n[e] = Lo.all([n[e] || {}, ...t]), n));
4035
4035
  }
4036
4036
  Pe(
4037
- [$e],
4037
+ [Ge],
4038
4038
  ([e]) => Object.keys(e)
4039
4039
  );
4040
- $e.subscribe((e) => Dt = e);
4040
+ Ge.subscribe((e) => Gt = e);
4041
4041
  const qe = {};
4042
- function Hi(e, t) {
4042
+ function Ii(e, t) {
4043
4043
  qe[e].delete(t), qe[e].size === 0 && delete qe[e];
4044
4044
  }
4045
- function ur(e) {
4045
+ function cr(e) {
4046
4046
  return qe[e];
4047
4047
  }
4048
- function Oi(e) {
4048
+ function Ni(e) {
4049
4049
  return rt(e).map((t) => {
4050
- const n = ur(t);
4050
+ const n = cr(t);
4051
4051
  return [t, n ? [...n] : []];
4052
4052
  }).filter(([, t]) => t.length > 0);
4053
4053
  }
@@ -4055,31 +4055,31 @@ function Lt(e) {
4055
4055
  return e == null ? !1 : rt(e).some(
4056
4056
  (t) => {
4057
4057
  var n;
4058
- return (n = ur(t)) == null ? void 0 : n.size;
4058
+ return (n = cr(t)) == null ? void 0 : n.size;
4059
4059
  }
4060
4060
  );
4061
4061
  }
4062
- function Ii(e, t) {
4062
+ function Li(e, t) {
4063
4063
  return Promise.all(
4064
- t.map((r) => (Hi(e, r), r().then((o) => o.default || o)))
4065
- ).then((r) => ar(e, ...r));
4064
+ t.map((r) => (Ii(e, r), r().then((o) => o.default || o)))
4065
+ ).then((r) => lr(e, ...r));
4066
4066
  }
4067
4067
  const Ne = {};
4068
- function lr(e) {
4068
+ function fr(e) {
4069
4069
  if (!Lt(e))
4070
4070
  return e in Ne ? Ne[e] : Promise.resolve();
4071
- const t = Oi(e);
4071
+ const t = Ni(e);
4072
4072
  return Ne[e] = Promise.all(
4073
4073
  t.map(
4074
- ([n, r]) => Ii(n, r)
4074
+ ([n, r]) => Li(n, r)
4075
4075
  )
4076
4076
  ).then(() => {
4077
4077
  if (Lt(e))
4078
- return lr(e);
4078
+ return fr(e);
4079
4079
  delete Ne[e];
4080
4080
  }), Ne[e];
4081
4081
  }
4082
- const Ni = {
4082
+ const Ri = {
4083
4083
  number: {
4084
4084
  scientific: { notation: "scientific" },
4085
4085
  engineering: { notation: "engineering" },
@@ -4108,57 +4108,57 @@ const Ni = {
4108
4108
  timeZoneName: "short"
4109
4109
  }
4110
4110
  }
4111
- }, Li = {
4111
+ }, Ui = {
4112
4112
  fallbackLocale: null,
4113
4113
  loadingDelay: 200,
4114
- formats: Ni,
4114
+ formats: Ri,
4115
4115
  warnOnMissingMessages: !0,
4116
4116
  handleMissingMessage: void 0,
4117
4117
  ignoreTag: !0
4118
- }, Ri = Li;
4118
+ }, Fi = Ui;
4119
4119
  function Te() {
4120
- return Ri;
4120
+ return Fi;
4121
4121
  }
4122
4122
  const vt = et(!1);
4123
- var Ui = Object.defineProperty, Fi = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, gn = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ki = (e, t) => {
4123
+ var Di = Object.defineProperty, Gi = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, yn = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, _n = (e, t, n) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ji = (e, t) => {
4124
4124
  for (var n in t || (t = {}))
4125
- $i.call(t, n) && vn(e, n, t[n]);
4126
- if (gn)
4127
- for (var n of gn(t))
4128
- Gi.call(t, n) && vn(e, n, t[n]);
4125
+ ki.call(t, n) && _n(e, n, t[n]);
4126
+ if (yn)
4127
+ for (var n of yn(t))
4128
+ Wi.call(t, n) && _n(e, n, t[n]);
4129
4129
  return e;
4130
- }, Wi = (e, t) => Fi(e, Di(t));
4130
+ }, Vi = (e, t) => Gi(e, $i(t));
4131
4131
  let Rt;
4132
4132
  const Qe = et(null);
4133
- function yn(e) {
4133
+ function Bn(e) {
4134
4134
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4135
4135
  }
4136
4136
  function rt(e, t = Te().fallbackLocale) {
4137
- const n = yn(e);
4138
- return t ? [.../* @__PURE__ */ new Set([...n, ...yn(t)])] : n;
4137
+ const n = Bn(e);
4138
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Bn(t)])] : n;
4139
4139
  }
4140
- function ge() {
4140
+ function ve() {
4141
4141
  return Rt != null ? Rt : void 0;
4142
4142
  }
4143
4143
  Qe.subscribe((e) => {
4144
4144
  Rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4145
4145
  });
4146
- const ji = (e) => {
4147
- if (e && Mi(e) && Lt(e)) {
4146
+ const zi = (e) => {
4147
+ if (e && Oi(e) && Lt(e)) {
4148
4148
  const { loadingDelay: t } = Te();
4149
4149
  let n;
4150
- return typeof window != "undefined" && ge() != null && t ? n = window.setTimeout(
4150
+ return typeof window != "undefined" && ve() != null && t ? n = window.setTimeout(
4151
4151
  () => vt.set(!0),
4152
4152
  t
4153
- ) : vt.set(!0), lr(e).then(() => {
4153
+ ) : vt.set(!0), fr(e).then(() => {
4154
4154
  Qe.set(e);
4155
4155
  }).finally(() => {
4156
4156
  clearTimeout(n), vt.set(!1);
4157
4157
  });
4158
4158
  }
4159
4159
  return Qe.set(e);
4160
- }, Me = Wi(ki({}, Qe), {
4161
- set: ji
4160
+ }, Me = Vi(ji({}, Qe), {
4161
+ set: zi
4162
4162
  }), ot = (e) => {
4163
4163
  const t = /* @__PURE__ */ Object.create(null);
4164
4164
  return (r) => {
@@ -4166,20 +4166,20 @@ const ji = (e) => {
4166
4166
  return o in t ? t[o] : t[o] = e(r);
4167
4167
  };
4168
4168
  };
4169
- var Vi = Object.defineProperty, Je = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, _n = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $t = (e, t) => {
4169
+ var Xi = Object.defineProperty, Je = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, En = (e, t, n) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $t = (e, t) => {
4170
4170
  for (var n in t || (t = {}))
4171
- cr.call(t, n) && _n(e, n, t[n]);
4171
+ hr.call(t, n) && En(e, n, t[n]);
4172
4172
  if (Je)
4173
4173
  for (var n of Je(t))
4174
- fr.call(t, n) && _n(e, n, t[n]);
4174
+ dr.call(t, n) && En(e, n, t[n]);
4175
4175
  return e;
4176
4176
  }, He = (e, t) => {
4177
4177
  var n = {};
4178
4178
  for (var r in e)
4179
- cr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4179
+ hr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4180
4180
  if (e != null && Je)
4181
4181
  for (var r of Je(e))
4182
- t.indexOf(r) < 0 && fr.call(e, r) && (n[r] = e[r]);
4182
+ t.indexOf(r) < 0 && dr.call(e, r) && (n[r] = e[r]);
4183
4183
  return n;
4184
4184
  };
4185
4185
  const Fe = (e, t) => {
@@ -4187,21 +4187,21 @@ const Fe = (e, t) => {
4187
4187
  if (e in n && t in n[e])
4188
4188
  return n[e][t];
4189
4189
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4190
- }, zi = ot(
4190
+ }, qi = ot(
4191
4191
  (e) => {
4192
4192
  var t = e, { locale: n, format: r } = t, o = He(t, ["locale", "format"]);
4193
4193
  if (n == null)
4194
4194
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4195
4195
  return r && (o = Fe("number", r)), new Intl.NumberFormat(n, o);
4196
4196
  }
4197
- ), Xi = ot(
4197
+ ), Zi = ot(
4198
4198
  (e) => {
4199
4199
  var t = e, { locale: n, format: r } = t, o = He(t, ["locale", "format"]);
4200
4200
  if (n == null)
4201
4201
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4202
4202
  return r ? o = Fe("date", r) : Object.keys(o).length === 0 && (o = Fe("date", "short")), new Intl.DateTimeFormat(n, o);
4203
4203
  }
4204
- ), qi = ot(
4204
+ ), Yi = ot(
4205
4205
  (e) => {
4206
4206
  var t = e, { locale: n, format: r } = t, o = He(t, ["locale", "format"]);
4207
4207
  if (n == null)
@@ -4210,46 +4210,46 @@ const Fe = (e, t) => {
4210
4210
  );
4211
4211
  return r ? o = Fe("time", r) : Object.keys(o).length === 0 && (o = Fe("time", "short")), new Intl.DateTimeFormat(n, o);
4212
4212
  }
4213
- ), Zi = (e = {}) => {
4213
+ ), Qi = (e = {}) => {
4214
4214
  var t = e, {
4215
- locale: n = ge()
4215
+ locale: n = ve()
4216
4216
  } = t, r = He(t, [
4217
4217
  "locale"
4218
4218
  ]);
4219
- return zi($t({ locale: n }, r));
4220
- }, Yi = (e = {}) => {
4219
+ return qi($t({ locale: n }, r));
4220
+ }, Ji = (e = {}) => {
4221
4221
  var t = e, {
4222
- locale: n = ge()
4222
+ locale: n = ve()
4223
4223
  } = t, r = He(t, [
4224
4224
  "locale"
4225
4225
  ]);
4226
- return Xi($t({ locale: n }, r));
4227
- }, Qi = (e = {}) => {
4226
+ return Zi($t({ locale: n }, r));
4227
+ }, Ki = (e = {}) => {
4228
4228
  var t = e, {
4229
- locale: n = ge()
4229
+ locale: n = ve()
4230
4230
  } = t, r = He(t, [
4231
4231
  "locale"
4232
4232
  ]);
4233
- return qi($t({ locale: n }, r));
4234
- }, Ji = ot(
4233
+ return Yi($t({ locale: n }, r));
4234
+ }, es = ot(
4235
4235
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4236
- (e, t = ge()) => new Si(e, t, Te().formats, {
4236
+ (e, t = ve()) => new Ai(e, t, Te().formats, {
4237
4237
  ignoreTag: Te().ignoreTag
4238
4238
  })
4239
- ), Ki = (e, t = {}) => {
4239
+ ), ts = (e, t = {}) => {
4240
4240
  var n, r, o, i;
4241
4241
  let s = t;
4242
4242
  typeof e == "object" && (s = e, e = s.id);
4243
4243
  const {
4244
4244
  values: a,
4245
- locale: u = ge(),
4245
+ locale: u = ve(),
4246
4246
  default: l
4247
4247
  } = s;
4248
4248
  if (u == null)
4249
4249
  throw new Error(
4250
4250
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4251
4251
  );
4252
- let c = ir(e, u);
4252
+ let c = ar(e, u);
4253
4253
  if (!c)
4254
4254
  c = (i = (o = (r = (n = Te()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4255
4255
  else if (typeof c != "string")
@@ -4260,7 +4260,7 @@ const Fe = (e, t) => {
4260
4260
  return c;
4261
4261
  let d = c;
4262
4262
  try {
4263
- d = Ji(c, u).format(a);
4263
+ d = es(c, u).format(a);
4264
4264
  } catch (p) {
4265
4265
  p instanceof Error && console.warn(
4266
4266
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4268,27 +4268,28 @@ const Fe = (e, t) => {
4268
4268
  );
4269
4269
  }
4270
4270
  return d;
4271
- }, es = (e, t) => Qi(t).format(e), ts = (e, t) => Yi(t).format(e), ns = (e, t) => Zi(t).format(e), rs = (e, t = ge()) => ir(e, t), os = Pe([Me, $e], () => Ki);
4272
- Pe([Me], () => es);
4273
- Pe([Me], () => ts);
4271
+ }, ns = (e, t) => Ki(t).format(e), rs = (e, t) => Ji(t).format(e), os = (e, t) => Qi(t).format(e), is = (e, t = ve()) => ar(e, t), ss = Pe([Me, Ge], () => ts);
4274
4272
  Pe([Me], () => ns);
4275
- Pe([Me, $e], () => rs);
4276
- window.emWidgets = { topic: bo };
4277
- const is = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4273
+ Pe([Me], () => rs);
4274
+ Pe([Me], () => os);
4275
+ Pe([Me, Ge], () => is);
4276
+ window.emWidgets = { topic: vo };
4277
+ const as = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4278
4278
  String(Number.MAX_SAFE_INTEGER).length;
4279
- function Bn(e, t) {
4280
- ar(e, t);
4279
+ function wn(e, t) {
4280
+ lr(e, t);
4281
4281
  }
4282
- function ss(e) {
4282
+ function us(e) {
4283
4283
  Me.set(e);
4284
4284
  }
4285
- const En = {
4285
+ const Sn = {
4286
4286
  en: {
4287
4287
  titleBonuses: "Active Bonuses",
4288
4288
  bonusCode: "Do you have a bonus code?",
4289
4289
  getBonus: "Get Bonus",
4290
4290
  invalidBonusCode: "The bonus code provided is invalid.",
4291
4291
  noActiveBonuses: "You have no active bonuses at the moment.",
4292
+ activeBonusesLoadError: "We are unable to load your active bonuses right now. Please try again later.",
4292
4293
  forfeitBonus: "Are you sure want to forfeit bonus?",
4293
4294
  forfeitBonusConfirm: "Confirm",
4294
4295
  forfeitBonusCancel: "Cancel",
@@ -4301,6 +4302,7 @@ const En = {
4301
4302
  getBonus: "獲得獎金",
4302
4303
  invalidBonusCode: "提供的紅利代碼無效。",
4303
4304
  noActiveBonuses: "您目前沒有有效的獎金。",
4305
+ activeBonusesLoadError: "目前無法載入您的有效獎金。請稍後再試。",
4304
4306
  forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
4305
4307
  forfeitBonusConfirm: "確認",
4306
4308
  forfeitBonusCancel: "取消",
@@ -4313,6 +4315,7 @@ const En = {
4313
4315
  getBonus: "Obtenir un bonus",
4314
4316
  invalidBonusCode: "Le code bonus fourni n'est pas valide.",
4315
4317
  noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
4318
+ activeBonusesLoadError: "Nous ne pouvons pas charger vos bonus actifs pour le moment. Veuillez réessayer plus tard.",
4316
4319
  forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
4317
4320
  forfeitBonusConfirm: "Confirmer",
4318
4321
  forfeitBonusCancel: "Annuler",
@@ -4325,6 +4328,7 @@ const En = {
4325
4328
  getBonus: "Revendică",
4326
4329
  invalidBonusCode: "Codul de bonus introdus este invalid.",
4327
4330
  noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
4331
+ activeBonusesLoadError: "Nu putem încărca bonusurile tale active momentan. Te rugăm să încerci din nou mai târziu.",
4328
4332
  forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
4329
4333
  forfeitBonusConfirm: "Confirmă",
4330
4334
  forfeitBonusCancel: "Anulează",
@@ -4337,6 +4341,7 @@ const En = {
4337
4341
  getBonus: "Obtener Bono",
4338
4342
  invalidBonusCode: "El código del Bono no es válido.",
4339
4343
  noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
4344
+ activeBonusesLoadError: "No podemos cargar tus bonos activos en este momento. Inténtalo de nuevo más tarde.",
4340
4345
  forfeitBonus: "Estas seguro que quieres perder el bono?",
4341
4346
  forfeitBonusConfirm: "Confirmar",
4342
4347
  forfeitBonusCancel: "Cancelar",
@@ -4349,6 +4354,7 @@ const En = {
4349
4354
  getBonus: "Obter bônus",
4350
4355
  invalidBonusCode: "O código de bônus fornecido é inválido.",
4351
4356
  noActiveBonuses: "Você não tem bônus ativos no momento.",
4357
+ activeBonusesLoadError: "Não foi possível carregar os seus bônus ativos neste momento. Tente novamente mais tarde.",
4352
4358
  forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
4353
4359
  forfeitBonusConfirm: "Confirmar",
4354
4360
  forfeitBonusCancel: "Cancelar",
@@ -4361,6 +4367,7 @@ const En = {
4361
4367
  getBonus: "Preuzmi bonus",
4362
4368
  invalidBonusCode: "Navedeni bonus kod je nevažeći.",
4363
4369
  noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
4370
+ activeBonusesLoadError: "Trenutno ne možemo učitati vaše aktivne bonuse. Pokušajte ponovno kasnije.",
4364
4371
  forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
4365
4372
  forfeitBonusConfirm: "Potvrdi",
4366
4373
  forfeitBonusCancel: "Otkaži",
@@ -4373,6 +4380,7 @@ const En = {
4373
4380
  getBonus: "Reivindicar bônus",
4374
4381
  invalidBonusCode: "O código de bônus emitido é inválido",
4375
4382
  noActiveBonuses: "Não possui títulos ativos no momento",
4383
+ activeBonusesLoadError: "Não foi possível carregar seus bônus ativos no momento. Tente novamente mais tarde.",
4376
4384
  forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
4377
4385
  forfeitBonusConfirm: "confirme",
4378
4386
  forfeitBonusCancel: "Cancelar",
@@ -4385,6 +4393,7 @@ const En = {
4385
4393
  getBonus: "Reclamar bono",
4386
4394
  invalidBonusCode: "El código de bono emitido es inválido",
4387
4395
  noActiveBonuses: "No tiene bonos activos al momento",
4396
+ activeBonusesLoadError: "No podemos cargar sus bonos activos en este momento. Inténtelo de nuevo más tarde.",
4388
4397
  forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
4389
4398
  forfeitBonusConfirm: "Confirmar",
4390
4399
  forfeitBonusCancel: "Cancelar",
@@ -4397,6 +4406,7 @@ const En = {
4397
4406
  getBonus: "Bonusu Al",
4398
4407
  invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
4399
4408
  noActiveBonuses: "Şu anda aktif bonusunuz yok.",
4409
+ activeBonusesLoadError: "Aktif bonuslarınız şu anda yüklenemiyor. Lütfen daha sonra tekrar deneyin.",
4400
4410
  forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
4401
4411
  forfeitBonusConfirm: "Onaylamak",
4402
4412
  forfeitBonusCancel: "İptal etmek",
@@ -4409,6 +4419,7 @@ const En = {
4409
4419
  getBonus: "Get Bonus",
4410
4420
  invalidBonusCode: "The bonus code provided is invalid.",
4411
4421
  noActiveBonuses: "You have no active bonuses at the moment.",
4422
+ activeBonusesLoadError: "We are unable to load your active bonuses right now. Please try again later.",
4412
4423
  forfeitBonus: "Are you sure want to forfeit bonus?",
4413
4424
  forfeitBonusConfirm: "Confirm",
4414
4425
  forfeitBonusCancel: "Cancel",
@@ -4416,13 +4427,13 @@ const En = {
4416
4427
  bonusClaimErrorMessage: "Invalid bonus"
4417
4428
  }
4418
4429
  }, we = "__WIDGET_GLOBAL_STYLE_CACHE__";
4419
- function as(e, t) {
4430
+ function ls(e, t) {
4420
4431
  if (e) {
4421
4432
  const n = document.createElement("style");
4422
4433
  n.innerHTML = t, e.appendChild(n);
4423
4434
  }
4424
4435
  }
4425
- function us(e, t) {
4436
+ function cs(e, t) {
4426
4437
  if (!e || !t)
4427
4438
  return;
4428
4439
  const n = new URL(t);
@@ -4433,12 +4444,12 @@ function us(e, t) {
4433
4444
  console.error("There was an error while trying to load client styling from URL", r);
4434
4445
  });
4435
4446
  }
4436
- function ls(e, t, n, r = !1) {
4447
+ function fs(e, t, n, r = !1) {
4437
4448
  if (!window.emMessageBus)
4438
4449
  return;
4439
4450
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
4440
- return n = cs(e, t), n;
4441
- window[we] || (window[we] = {}), n = fs(e, t);
4451
+ return n = hs(e, t), n;
4452
+ window[we] || (window[we] = {}), n = ds(e, t);
4442
4453
  const i = n.unsubscribe.bind(n), s = () => {
4443
4454
  if (window[we][t]) {
4444
4455
  const a = window[we][t];
@@ -4448,13 +4459,13 @@ function ls(e, t, n, r = !1) {
4448
4459
  };
4449
4460
  return n.unsubscribe = s, n;
4450
4461
  }
4451
- function cs(e, t) {
4462
+ function hs(e, t) {
4452
4463
  const n = document.createElement("style");
4453
4464
  return window.emMessageBus.subscribe(t, (r) => {
4454
4465
  e && (n.innerHTML = r, e.appendChild(n));
4455
4466
  });
4456
4467
  }
4457
- function fs(e, t) {
4468
+ function ds(e, t) {
4458
4469
  return window.emMessageBus.subscribe(t, (n) => {
4459
4470
  if (!e)
4460
4471
  return;
@@ -4468,40 +4479,47 @@ function fs(e, t) {
4468
4479
  s.includes(i) || (r.adoptedStyleSheets = [...s, i]);
4469
4480
  });
4470
4481
  }
4471
- const Gt = {
4482
+ const kt = {
4472
4483
  CLAIM: "/v1/bonus/claim",
4473
4484
  FORFEIT: "/v1/bonus/forfeit",
4474
4485
  GRANTED: "/v1/bonus/granted"
4475
- }, wn = {
4486
+ }, xn = {
4476
4487
  TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
4477
4488
  STATUS_ACTIVE: "active",
4478
4489
  STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
4479
- }, hs = {
4490
+ }, ps = {
4480
4491
  ODDS_BOOST: "oddsBoost"
4481
4492
  };
4482
- function kt(n) {
4483
- return ae(this, arguments, function* (e, t = {}) {
4484
- const r = typeof e == "string" ? e : e.toString(), o = yield fetch(r, t);
4485
- let i = null;
4493
+ class Ut extends Error {
4494
+ constructor(t) {
4495
+ super(`Unable to load active bonuses (HTTP ${t})`), this.status = t, this.name = "BonusServerError";
4496
+ }
4497
+ }
4498
+ function Wt(r) {
4499
+ return le(this, arguments, function* (e, t = {}, n = !1) {
4500
+ const o = typeof e == "string" ? e : e.toString(), i = yield fetch(o, t);
4501
+ if (n && i.status >= 500 && i.status < 600)
4502
+ throw new Ut(i.status);
4503
+ let s = null;
4486
4504
  try {
4487
- i = yield o.json();
4488
- } catch (u) {
4489
- i = null;
4505
+ s = yield i.json();
4506
+ } catch (l) {
4507
+ s = null;
4490
4508
  }
4491
- if (o.ok && i)
4492
- return i;
4493
- const s = i && typeof i == "object" ? i : {}, a = {
4509
+ if (i.ok && s)
4510
+ return s;
4511
+ const a = s && typeof s == "object" ? s : {}, u = {
4494
4512
  success: !1,
4495
- errorMessage: typeof s.errorMessage == "string" && s.errorMessage || o.statusText || String(o.status),
4496
- errorCode: typeof s.errorCode == "number" ? s.errorCode : void 0
4513
+ errorMessage: typeof a.errorMessage == "string" && a.errorMessage || i.statusText || String(i.status),
4514
+ errorCode: typeof a.errorCode == "number" ? a.errorCode : void 0
4497
4515
  };
4498
- return Ie(Ie({}, s), a);
4516
+ return Ie(Ie({}, a), u);
4499
4517
  });
4500
4518
  }
4501
- function ds(e, t, n) {
4502
- return ae(this, null, function* () {
4503
- const r = `${e}${Gt.CLAIM}`;
4504
- return kt(r, {
4519
+ function ms(e, t, n) {
4520
+ return le(this, null, function* () {
4521
+ const r = `${e}${kt.CLAIM}`;
4522
+ return Wt(r, {
4505
4523
  method: "PUT",
4506
4524
  headers: {
4507
4525
  "x-SessionId": t,
@@ -4512,10 +4530,10 @@ function ds(e, t, n) {
4512
4530
  });
4513
4531
  });
4514
4532
  }
4515
- function ps(e, t, n) {
4516
- return ae(this, null, function* () {
4517
- const r = new URL(`${e}${Gt.FORFEIT}`);
4518
- return r.searchParams.append("bonusWalletID", n.bonusWalletID), kt(r, {
4533
+ function bs(e, t, n) {
4534
+ return le(this, null, function* () {
4535
+ const r = new URL(`${e}${kt.FORFEIT}`);
4536
+ return r.searchParams.append("bonusWalletID", n.bonusWalletID), Wt(r, {
4519
4537
  method: "DELETE",
4520
4538
  headers: {
4521
4539
  "x-SessionId": t,
@@ -4524,16 +4542,16 @@ function ps(e, t, n) {
4524
4542
  });
4525
4543
  });
4526
4544
  }
4527
- function ms(e, t, n) {
4528
- return ae(this, null, function* () {
4529
- const r = new URL(`${e}${Gt.GRANTED}`);
4545
+ function gs(e, t, n) {
4546
+ return le(this, null, function* () {
4547
+ const r = new URL(`${e}${kt.GRANTED}`);
4530
4548
  Object.entries(n).forEach(([i, s]) => {
4531
4549
  s != null && r.searchParams.append(i, String(s));
4532
4550
  });
4533
4551
  const o = {};
4534
- return t && (o["x-SessionId"] = t), kt(r, {
4552
+ return t && (o["x-SessionId"] = t), Wt(r, {
4535
4553
  headers: o
4536
- });
4554
+ }, !0);
4537
4555
  });
4538
4556
  }
4539
4557
  if (typeof window != "undefined") {
@@ -4548,146 +4566,149 @@ if (typeof window != "undefined") {
4548
4566
  }
4549
4567
  };
4550
4568
  };
4551
- customElements.define = e(customElements.define), import("./PlayerBonusCard-BABzkImS.js").then(({ default: t }) => {
4569
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-DFE3WU6Z.js").then(({ default: t }) => {
4552
4570
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4553
4571
  });
4554
4572
  }
4555
- function bs(e) {
4556
- Rr(e, "svelte-2jgm79", '.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, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:16px;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, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4573
+ function vs(e) {
4574
+ Fr(e, "svelte-2jgm79", '.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, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:16px;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, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));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;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4557
4575
  }
4558
- function xn(e, t, n) {
4576
+ function Cn(e, t, n) {
4559
4577
  const r = e.slice();
4560
- return r[58] = t[n], r[60] = n, r;
4578
+ return r[59] = t[n], r[61] = n, r;
4561
4579
  }
4562
- function Sn(e, t, n) {
4580
+ function An(e, t, n) {
4563
4581
  const r = e.slice();
4564
- return r[61] = t[n], r;
4582
+ return r[62] = t[n], r;
4565
4583
  }
4566
- function gs(e) {
4584
+ function ys(e) {
4567
4585
  let t, n, r, o, i, s, a, u, l, c, d = (
4568
4586
  /*$_*/
4569
- e[21]("titleBonuses") + ""
4587
+ e[22]("titleBonuses") + ""
4570
4588
  ), p, m, y;
4571
4589
  return {
4572
4590
  c() {
4573
4591
  t = T("div"), n = ye("svg"), r = ye("defs"), o = ye("style"), i = G(`.aaa {
4574
4592
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4575
4593
  }
4576
- `), s = ye("g"), a = ye("g"), u = ye("path"), l = z(), c = T("h2"), p = G(d), S(u, "class", "aaa"), S(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), S(u, "transform", "translate(15 15) rotate(180)"), S(a, "transform", "translate(20 158)"), S(s, "transform", "translate(-20 -158)"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "width", "15"), S(n, "height", "15"), S(n, "viewBox", "0 0 15 15"), S(c, "class", "ActiveBonusesTitleMobile"), S(t, "class", "MenuReturnButton");
4594
+ `), s = ye("g"), a = ye("g"), u = ye("path"), l = X(), c = T("h2"), p = G(d), S(u, "class", "aaa"), S(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), S(u, "transform", "translate(15 15) rotate(180)"), S(a, "transform", "translate(20 158)"), S(s, "transform", "translate(-20 -158)"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "width", "15"), S(n, "height", "15"), S(n, "viewBox", "0 0 15 15"), S(c, "class", "ActiveBonusesTitleMobile"), S(t, "class", "MenuReturnButton");
4577
4595
  },
4578
4596
  m(v, x) {
4579
- W(v, t, x), B(t, n), B(n, r), B(r, o), B(o, i), B(n, s), B(s, a), B(a, u), B(t, l), B(t, c), B(c, p), m || (y = K(
4597
+ j(v, t, x), B(t, n), B(n, r), B(r, o), B(o, i), B(n, s), B(s, a), B(a, u), B(t, l), B(t, c), B(c, p), m || (y = K(
4580
4598
  t,
4581
4599
  "click",
4582
4600
  /*click_handler*/
4583
- e[37]
4601
+ e[38]
4584
4602
  ), m = !0);
4585
4603
  },
4586
4604
  p(v, x) {
4587
4605
  x[0] & /*$_*/
4588
- 2097152 && d !== (d = /*$_*/
4589
- v[21]("titleBonuses") + "") && ue(p, d);
4606
+ 4194304 && d !== (d = /*$_*/
4607
+ v[22]("titleBonuses") + "") && se(p, d);
4590
4608
  },
4591
4609
  d(v) {
4592
- v && k(t), m = !1, y();
4610
+ v && $(t), m = !1, y();
4593
4611
  }
4594
4612
  };
4595
4613
  }
4596
- function Cn(e) {
4614
+ function Tn(e) {
4597
4615
  let t, n = (
4598
4616
  /*$_*/
4599
- e[21]("invalidBonusCode") + ""
4617
+ e[22]("invalidBonusCode") + ""
4600
4618
  ), r;
4601
4619
  return {
4602
4620
  c() {
4603
4621
  t = T("p"), r = G(n), S(t, "class", "InvalidBonusCodeMessage");
4604
4622
  },
4605
4623
  m(o, i) {
4606
- W(o, t, i), B(t, r);
4624
+ j(o, t, i), B(t, r);
4607
4625
  },
4608
4626
  p(o, i) {
4609
4627
  i[0] & /*$_*/
4610
- 2097152 && n !== (n = /*$_*/
4611
- o[21]("invalidBonusCode") + "") && ue(r, n);
4628
+ 4194304 && n !== (n = /*$_*/
4629
+ o[22]("invalidBonusCode") + "") && se(r, n);
4612
4630
  },
4613
4631
  d(o) {
4614
- o && k(t);
4632
+ o && $(t);
4615
4633
  }
4616
4634
  };
4617
4635
  }
4618
- function vs(e) {
4636
+ function _s(e) {
4619
4637
  let t, n, r;
4620
4638
  function o(u, l) {
4621
4639
  return (
4622
- /*activeBonusesList*/
4623
- u[19].length === 0 ? Bs : _s
4640
+ /*hasServerError*/
4641
+ u[11] ? Ss : (
4642
+ /*activeBonusesList*/
4643
+ u[20].length === 0 ? ws : Es
4644
+ )
4624
4645
  );
4625
4646
  }
4626
- let i = o(e), s = i(e), a = (
4627
- /*activeBonusesList*/
4628
- e[19].length !== 0 && Tn(e)
4629
- );
4647
+ let i = o(e), s = i(e), a = !/*hasServerError*/
4648
+ e[11] && /*activeBonusesList*/
4649
+ e[20].length !== 0 && Mn(e);
4630
4650
  return {
4631
4651
  c() {
4632
- t = T("div"), s.c(), n = z(), a && a.c(), r = Ft(), S(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4633
- (e[22] ? "ActiveBonusesGridMobile" : ""));
4652
+ t = T("div"), s.c(), n = X(), a && a.c(), r = Dt(), S(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4653
+ (e[23] ? "ActiveBonusesGridMobile" : ""));
4634
4654
  },
4635
4655
  m(u, l) {
4636
- W(u, t, l), s.m(t, null), W(u, n, l), a && a.m(u, l), W(u, r, l);
4656
+ j(u, t, l), s.m(t, null), j(u, n, l), a && a.m(u, l), j(u, r, l);
4637
4657
  },
4638
4658
  p(u, l) {
4639
- i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4640
- u[19].length !== 0 ? a ? a.p(u, l) : (a = Tn(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4659
+ i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), !/*hasServerError*/
4660
+ u[11] && /*activeBonusesList*/
4661
+ u[20].length !== 0 ? a ? a.p(u, l) : (a = Mn(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4641
4662
  },
4642
4663
  d(u) {
4643
- u && (k(t), k(n), k(r)), s.d(), a && a.d(u);
4664
+ u && ($(t), $(n), $(r)), s.d(), a && a.d(u);
4644
4665
  }
4645
4666
  };
4646
4667
  }
4647
- function ys(e) {
4668
+ function Bs(e) {
4648
4669
  let t;
4649
4670
  return {
4650
4671
  c() {
4651
4672
  t = T("div"), S(t, "class", "ModalLoader"), S(t, "part", "ModalLoader");
4652
4673
  },
4653
4674
  m(n, r) {
4654
- W(n, t, r);
4675
+ j(n, t, r);
4655
4676
  },
4656
- p: Y,
4677
+ p: Z,
4657
4678
  d(n) {
4658
- n && k(t);
4679
+ n && $(t);
4659
4680
  }
4660
4681
  };
4661
4682
  }
4662
- function _s(e) {
4683
+ function Es(e) {
4663
4684
  let t, n = Ze(
4664
4685
  /*activeBonusesList*/
4665
- e[19]
4686
+ e[20]
4666
4687
  ), r = [];
4667
4688
  for (let o = 0; o < n.length; o += 1)
4668
- r[o] = An(Sn(e, n, o));
4689
+ r[o] = Pn(An(e, n, o));
4669
4690
  return {
4670
4691
  c() {
4671
4692
  for (let o = 0; o < r.length; o += 1)
4672
4693
  r[o].c();
4673
- t = Ft();
4694
+ t = Dt();
4674
4695
  },
4675
4696
  m(o, i) {
4676
4697
  for (let s = 0; s < r.length; s += 1)
4677
4698
  r[s] && r[s].m(o, i);
4678
- W(o, t, i);
4699
+ j(o, t, i);
4679
4700
  },
4680
4701
  p(o, i) {
4681
4702
  if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
4682
- 524799) {
4703
+ 1049087) {
4683
4704
  n = Ze(
4684
4705
  /*activeBonusesList*/
4685
- o[19]
4706
+ o[20]
4686
4707
  );
4687
4708
  let s;
4688
4709
  for (s = 0; s < n.length; s += 1) {
4689
- const a = Sn(o, n, s);
4690
- r[s] ? r[s].p(a, i) : (r[s] = An(a), r[s].c(), r[s].m(t.parentNode, t));
4710
+ const a = An(o, n, s);
4711
+ r[s] ? r[s].p(a, i) : (r[s] = Pn(a), r[s].c(), r[s].m(t.parentNode, t));
4691
4712
  }
4692
4713
  for (; s < r.length; s += 1)
4693
4714
  r[s].d(1);
@@ -4695,55 +4716,77 @@ function _s(e) {
4695
4716
  }
4696
4717
  },
4697
4718
  d(o) {
4698
- o && k(t), Nn(r, o);
4719
+ o && $(t), Rn(r, o);
4699
4720
  }
4700
4721
  };
4701
4722
  }
4702
- function Bs(e) {
4723
+ function ws(e) {
4703
4724
  let t, n = (
4704
4725
  /*$_*/
4705
- e[21]("noActiveBonuses") + ""
4726
+ e[22]("noActiveBonuses") + ""
4706
4727
  ), r;
4707
4728
  return {
4708
4729
  c() {
4709
4730
  t = T("p"), r = G(n);
4710
4731
  },
4711
4732
  m(o, i) {
4712
- W(o, t, i), B(t, r);
4733
+ j(o, t, i), B(t, r);
4713
4734
  },
4714
4735
  p(o, i) {
4715
4736
  i[0] & /*$_*/
4716
- 2097152 && n !== (n = /*$_*/
4717
- o[21]("noActiveBonuses") + "") && ue(r, n);
4737
+ 4194304 && n !== (n = /*$_*/
4738
+ o[22]("noActiveBonuses") + "") && se(r, n);
4718
4739
  },
4719
4740
  d(o) {
4720
- o && k(t);
4741
+ o && $(t);
4721
4742
  }
4722
4743
  };
4723
4744
  }
4724
- function Es(e) {
4745
+ function Ss(e) {
4746
+ let t, n = (
4747
+ /*$_*/
4748
+ e[22]("activeBonusesLoadError") + ""
4749
+ ), r;
4750
+ return {
4751
+ c() {
4752
+ t = T("p"), r = G(n), S(t, "class", "ActiveBonusesErrorMessage"), S(t, "role", "alert");
4753
+ },
4754
+ m(o, i) {
4755
+ j(o, t, i), B(t, r);
4756
+ },
4757
+ p(o, i) {
4758
+ i[0] & /*$_*/
4759
+ 4194304 && n !== (n = /*$_*/
4760
+ o[22]("activeBonusesLoadError") + "") && se(r, n);
4761
+ },
4762
+ d(o) {
4763
+ o && $(t);
4764
+ }
4765
+ };
4766
+ }
4767
+ function xs(e) {
4725
4768
  let t, n, r, o, i, s, a, u, l, c, d, p, m, y, v, x, _, b;
4726
4769
  return {
4727
4770
  c() {
4728
4771
  t = T("player-bonus-card"), f(t, "termsandconditionsdescription", n = /*activeBonus*/
4729
- e[61].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4730
- e[61].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4731
- e[61].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4732
- e[61].endpoint), f(t, "playerid", s = /*activeBonus*/
4733
- e[61].playerid), f(t, "session", a = /*activeBonus*/
4734
- e[61].session), f(t, "bonuswalletid", u = /*activeBonus*/
4735
- e[61].walletId), f(t, "bonusdate", l = /*activeBonus*/
4736
- e[61].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4737
- e[61].expiryTime), f(t, "bonusstatus", d = /*activeBonus*/
4738
- e[61].status), f(t, "bonusname", p = /*activeBonus*/
4739
- e[61].name), f(t, "bonustype", m = /*activeBonus*/
4740
- e[61].type), f(t, "bonusamount", y = /*activeBonus*/
4741
- e[61].extension.grantedPlayerCurrencyAmount), f(t, "bonuswageringamount", v = `${/*activeBonus*/
4742
- e[61].fulfilledWR} / ${/*activeBonus*/
4743
- e[61].originalWageringRequirement}`), f(t, "bonusremainingamount", x = /*activeBonus*/
4744
- e[61].currentAmount), f(t, "bonuscurrency", _ = /*activeBonus*/
4745
- e[61].currency), f(t, "isWinBonus", b = /*activeBonus*/
4746
- e[61].isWinBonus), f(
4772
+ e[62].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4773
+ e[62].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4774
+ e[62].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4775
+ e[62].endpoint), f(t, "playerid", s = /*activeBonus*/
4776
+ e[62].playerid), f(t, "session", a = /*activeBonus*/
4777
+ e[62].session), f(t, "bonuswalletid", u = /*activeBonus*/
4778
+ e[62].walletId), f(t, "bonusdate", l = /*activeBonus*/
4779
+ e[62].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4780
+ e[62].expiryTime), f(t, "bonusstatus", d = /*activeBonus*/
4781
+ e[62].status), f(t, "bonusname", p = /*activeBonus*/
4782
+ e[62].name), f(t, "bonustype", m = /*activeBonus*/
4783
+ e[62].type), f(t, "bonusamount", y = /*activeBonus*/
4784
+ e[62].extension.grantedPlayerCurrencyAmount), f(t, "bonuswageringamount", v = `${/*activeBonus*/
4785
+ e[62].fulfilledWR} / ${/*activeBonus*/
4786
+ e[62].originalWageringRequirement}`), f(t, "bonusremainingamount", x = /*activeBonus*/
4787
+ e[62].currentAmount), f(t, "bonuscurrency", _ = /*activeBonus*/
4788
+ e[62].currency), f(t, "isWinBonus", b = /*activeBonus*/
4789
+ e[62].isWinBonus), f(
4747
4790
  t,
4748
4791
  "lang",
4749
4792
  /*lang*/
@@ -4791,45 +4834,45 @@ function Es(e) {
4791
4834
  );
4792
4835
  },
4793
4836
  m(g, E) {
4794
- W(g, t, E);
4837
+ j(g, t, E);
4795
4838
  },
4796
4839
  p(g, E) {
4797
4840
  E[0] & /*activeBonusesList*/
4798
- 524288 && n !== (n = /*activeBonus*/
4799
- g[61].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), E[0] & /*activeBonusesList*/
4800
- 524288 && r !== (r = /*activeBonus*/
4801
- g[61].termsandconditionsurl) && f(t, "termsandconditionsurl", r), E[0] & /*activeBonusesList*/
4802
- 524288 && o !== (o = /*activeBonus*/
4803
- g[61].termsandconditionsasset) && f(t, "termsandconditionsasset", o), E[0] & /*activeBonusesList*/
4804
- 524288 && i !== (i = /*activeBonus*/
4805
- g[61].endpoint) && f(t, "endpoint", i), E[0] & /*activeBonusesList*/
4806
- 524288 && s !== (s = /*activeBonus*/
4807
- g[61].playerid) && f(t, "playerid", s), E[0] & /*activeBonusesList*/
4808
- 524288 && a !== (a = /*activeBonus*/
4809
- g[61].session) && f(t, "session", a), E[0] & /*activeBonusesList*/
4810
- 524288 && u !== (u = /*activeBonus*/
4811
- g[61].walletId) && f(t, "bonuswalletid", u), E[0] & /*activeBonusesList*/
4812
- 524288 && l !== (l = /*activeBonus*/
4813
- g[61].granted) && f(t, "bonusdate", l), E[0] & /*activeBonusesList*/
4814
- 524288 && c !== (c = /*activeBonus*/
4815
- g[61].expiryTime) && f(t, "bonusexpirationdate", c), E[0] & /*activeBonusesList*/
4816
- 524288 && d !== (d = /*activeBonus*/
4817
- g[61].status) && f(t, "bonusstatus", d), E[0] & /*activeBonusesList*/
4818
- 524288 && p !== (p = /*activeBonus*/
4819
- g[61].name) && f(t, "bonusname", p), E[0] & /*activeBonusesList*/
4820
- 524288 && m !== (m = /*activeBonus*/
4821
- g[61].type) && f(t, "bonustype", m), E[0] & /*activeBonusesList*/
4822
- 524288 && y !== (y = /*activeBonus*/
4823
- g[61].extension.grantedPlayerCurrencyAmount) && f(t, "bonusamount", y), E[0] & /*activeBonusesList*/
4824
- 524288 && v !== (v = `${/*activeBonus*/
4825
- g[61].fulfilledWR} / ${/*activeBonus*/
4826
- g[61].originalWageringRequirement}`) && f(t, "bonuswageringamount", v), E[0] & /*activeBonusesList*/
4827
- 524288 && x !== (x = /*activeBonus*/
4828
- g[61].currentAmount) && f(t, "bonusremainingamount", x), E[0] & /*activeBonusesList*/
4829
- 524288 && _ !== (_ = /*activeBonus*/
4830
- g[61].currency) && f(t, "bonuscurrency", _), E[0] & /*activeBonusesList*/
4831
- 524288 && b !== (b = /*activeBonus*/
4832
- g[61].isWinBonus) && f(t, "isWinBonus", b), E[0] & /*lang*/
4841
+ 1048576 && n !== (n = /*activeBonus*/
4842
+ g[62].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), E[0] & /*activeBonusesList*/
4843
+ 1048576 && r !== (r = /*activeBonus*/
4844
+ g[62].termsandconditionsurl) && f(t, "termsandconditionsurl", r), E[0] & /*activeBonusesList*/
4845
+ 1048576 && o !== (o = /*activeBonus*/
4846
+ g[62].termsandconditionsasset) && f(t, "termsandconditionsasset", o), E[0] & /*activeBonusesList*/
4847
+ 1048576 && i !== (i = /*activeBonus*/
4848
+ g[62].endpoint) && f(t, "endpoint", i), E[0] & /*activeBonusesList*/
4849
+ 1048576 && s !== (s = /*activeBonus*/
4850
+ g[62].playerid) && f(t, "playerid", s), E[0] & /*activeBonusesList*/
4851
+ 1048576 && a !== (a = /*activeBonus*/
4852
+ g[62].session) && f(t, "session", a), E[0] & /*activeBonusesList*/
4853
+ 1048576 && u !== (u = /*activeBonus*/
4854
+ g[62].walletId) && f(t, "bonuswalletid", u), E[0] & /*activeBonusesList*/
4855
+ 1048576 && l !== (l = /*activeBonus*/
4856
+ g[62].granted) && f(t, "bonusdate", l), E[0] & /*activeBonusesList*/
4857
+ 1048576 && c !== (c = /*activeBonus*/
4858
+ g[62].expiryTime) && f(t, "bonusexpirationdate", c), E[0] & /*activeBonusesList*/
4859
+ 1048576 && d !== (d = /*activeBonus*/
4860
+ g[62].status) && f(t, "bonusstatus", d), E[0] & /*activeBonusesList*/
4861
+ 1048576 && p !== (p = /*activeBonus*/
4862
+ g[62].name) && f(t, "bonusname", p), E[0] & /*activeBonusesList*/
4863
+ 1048576 && m !== (m = /*activeBonus*/
4864
+ g[62].type) && f(t, "bonustype", m), E[0] & /*activeBonusesList*/
4865
+ 1048576 && y !== (y = /*activeBonus*/
4866
+ g[62].extension.grantedPlayerCurrencyAmount) && f(t, "bonusamount", y), E[0] & /*activeBonusesList*/
4867
+ 1048576 && v !== (v = `${/*activeBonus*/
4868
+ g[62].fulfilledWR} / ${/*activeBonus*/
4869
+ g[62].originalWageringRequirement}`) && f(t, "bonuswageringamount", v), E[0] & /*activeBonusesList*/
4870
+ 1048576 && x !== (x = /*activeBonus*/
4871
+ g[62].currentAmount) && f(t, "bonusremainingamount", x), E[0] & /*activeBonusesList*/
4872
+ 1048576 && _ !== (_ = /*activeBonus*/
4873
+ g[62].currency) && f(t, "bonuscurrency", _), E[0] & /*activeBonusesList*/
4874
+ 1048576 && b !== (b = /*activeBonus*/
4875
+ g[62].isWinBonus) && f(t, "isWinBonus", b), E[0] & /*lang*/
4833
4876
  1 && f(
4834
4877
  t,
4835
4878
  "lang",
@@ -4886,30 +4929,30 @@ function Es(e) {
4886
4929
  );
4887
4930
  },
4888
4931
  d(g) {
4889
- g && k(t);
4932
+ g && $(t);
4890
4933
  }
4891
4934
  };
4892
4935
  }
4893
- function ws(e) {
4936
+ function Cs(e) {
4894
4937
  let t, n, r, o, i, s, a, u, l, c, d, p, m, y, v, x;
4895
4938
  return {
4896
4939
  c() {
4897
4940
  t = T("player-bonus-card"), f(t, "termsandconditionsdescription", n = /*activeBonus*/
4898
- e[61].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4899
- e[61].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4900
- e[61].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4901
- e[61].endpoint), f(t, "playerid", s = /*activeBonus*/
4902
- e[61].playerid), f(t, "session", a = /*activeBonus*/
4903
- e[61].session), f(t, "bonuswalletid", u = /*activeBonus*/
4904
- e[61].walletId), f(t, "bonusdate", l = /*activeBonus*/
4905
- e[61].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4906
- e[61].expiryTime), f(t, "bonusstatus", d = /*activeBonus*/
4907
- e[61].status), f(t, "bonusname", p = /*activeBonus*/
4908
- e[61].name), f(t, "bonustype", m = /*activeBonus*/
4909
- e[61].type), f(t, "bonuscurrency", y = /*activeBonus*/
4910
- e[61].currency), f(t, "bonusfreespins", v = /*activeBonus*/
4911
- e[61].freeRoundNumber), f(t, "isWinBonus", x = /*activeBonus*/
4912
- e[61].isWinBonus), f(
4941
+ e[62].termsandconditionsdescription), f(t, "termsandconditionsurl", r = /*activeBonus*/
4942
+ e[62].termsandconditionsurl), f(t, "termsandconditionsasset", o = /*activeBonus*/
4943
+ e[62].termsandconditionsasset), f(t, "endpoint", i = /*activeBonus*/
4944
+ e[62].endpoint), f(t, "playerid", s = /*activeBonus*/
4945
+ e[62].playerid), f(t, "session", a = /*activeBonus*/
4946
+ e[62].session), f(t, "bonuswalletid", u = /*activeBonus*/
4947
+ e[62].walletId), f(t, "bonusdate", l = /*activeBonus*/
4948
+ e[62].granted), f(t, "bonusexpirationdate", c = /*activeBonus*/
4949
+ e[62].expiryTime), f(t, "bonusstatus", d = /*activeBonus*/
4950
+ e[62].status), f(t, "bonusname", p = /*activeBonus*/
4951
+ e[62].name), f(t, "bonustype", m = /*activeBonus*/
4952
+ e[62].type), f(t, "bonuscurrency", y = /*activeBonus*/
4953
+ e[62].currency), f(t, "bonusfreespins", v = /*activeBonus*/
4954
+ e[62].freeRoundNumber), f(t, "isWinBonus", x = /*activeBonus*/
4955
+ e[62].isWinBonus), f(
4913
4956
  t,
4914
4957
  "lang",
4915
4958
  /*lang*/
@@ -4957,40 +5000,40 @@ function ws(e) {
4957
5000
  );
4958
5001
  },
4959
5002
  m(_, b) {
4960
- W(_, t, b);
5003
+ j(_, t, b);
4961
5004
  },
4962
5005
  p(_, b) {
4963
5006
  b[0] & /*activeBonusesList*/
4964
- 524288 && n !== (n = /*activeBonus*/
4965
- _[61].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), b[0] & /*activeBonusesList*/
4966
- 524288 && r !== (r = /*activeBonus*/
4967
- _[61].termsandconditionsurl) && f(t, "termsandconditionsurl", r), b[0] & /*activeBonusesList*/
4968
- 524288 && o !== (o = /*activeBonus*/
4969
- _[61].termsandconditionsasset) && f(t, "termsandconditionsasset", o), b[0] & /*activeBonusesList*/
4970
- 524288 && i !== (i = /*activeBonus*/
4971
- _[61].endpoint) && f(t, "endpoint", i), b[0] & /*activeBonusesList*/
4972
- 524288 && s !== (s = /*activeBonus*/
4973
- _[61].playerid) && f(t, "playerid", s), b[0] & /*activeBonusesList*/
4974
- 524288 && a !== (a = /*activeBonus*/
4975
- _[61].session) && f(t, "session", a), b[0] & /*activeBonusesList*/
4976
- 524288 && u !== (u = /*activeBonus*/
4977
- _[61].walletId) && f(t, "bonuswalletid", u), b[0] & /*activeBonusesList*/
4978
- 524288 && l !== (l = /*activeBonus*/
4979
- _[61].granted) && f(t, "bonusdate", l), b[0] & /*activeBonusesList*/
4980
- 524288 && c !== (c = /*activeBonus*/
4981
- _[61].expiryTime) && f(t, "bonusexpirationdate", c), b[0] & /*activeBonusesList*/
4982
- 524288 && d !== (d = /*activeBonus*/
4983
- _[61].status) && f(t, "bonusstatus", d), b[0] & /*activeBonusesList*/
4984
- 524288 && p !== (p = /*activeBonus*/
4985
- _[61].name) && f(t, "bonusname", p), b[0] & /*activeBonusesList*/
4986
- 524288 && m !== (m = /*activeBonus*/
4987
- _[61].type) && f(t, "bonustype", m), b[0] & /*activeBonusesList*/
4988
- 524288 && y !== (y = /*activeBonus*/
4989
- _[61].currency) && f(t, "bonuscurrency", y), b[0] & /*activeBonusesList*/
4990
- 524288 && v !== (v = /*activeBonus*/
4991
- _[61].freeRoundNumber) && f(t, "bonusfreespins", v), b[0] & /*activeBonusesList*/
4992
- 524288 && x !== (x = /*activeBonus*/
4993
- _[61].isWinBonus) && f(t, "isWinBonus", x), b[0] & /*lang*/
5007
+ 1048576 && n !== (n = /*activeBonus*/
5008
+ _[62].termsandconditionsdescription) && f(t, "termsandconditionsdescription", n), b[0] & /*activeBonusesList*/
5009
+ 1048576 && r !== (r = /*activeBonus*/
5010
+ _[62].termsandconditionsurl) && f(t, "termsandconditionsurl", r), b[0] & /*activeBonusesList*/
5011
+ 1048576 && o !== (o = /*activeBonus*/
5012
+ _[62].termsandconditionsasset) && f(t, "termsandconditionsasset", o), b[0] & /*activeBonusesList*/
5013
+ 1048576 && i !== (i = /*activeBonus*/
5014
+ _[62].endpoint) && f(t, "endpoint", i), b[0] & /*activeBonusesList*/
5015
+ 1048576 && s !== (s = /*activeBonus*/
5016
+ _[62].playerid) && f(t, "playerid", s), b[0] & /*activeBonusesList*/
5017
+ 1048576 && a !== (a = /*activeBonus*/
5018
+ _[62].session) && f(t, "session", a), b[0] & /*activeBonusesList*/
5019
+ 1048576 && u !== (u = /*activeBonus*/
5020
+ _[62].walletId) && f(t, "bonuswalletid", u), b[0] & /*activeBonusesList*/
5021
+ 1048576 && l !== (l = /*activeBonus*/
5022
+ _[62].granted) && f(t, "bonusdate", l), b[0] & /*activeBonusesList*/
5023
+ 1048576 && c !== (c = /*activeBonus*/
5024
+ _[62].expiryTime) && f(t, "bonusexpirationdate", c), b[0] & /*activeBonusesList*/
5025
+ 1048576 && d !== (d = /*activeBonus*/
5026
+ _[62].status) && f(t, "bonusstatus", d), b[0] & /*activeBonusesList*/
5027
+ 1048576 && p !== (p = /*activeBonus*/
5028
+ _[62].name) && f(t, "bonusname", p), b[0] & /*activeBonusesList*/
5029
+ 1048576 && m !== (m = /*activeBonus*/
5030
+ _[62].type) && f(t, "bonustype", m), b[0] & /*activeBonusesList*/
5031
+ 1048576 && y !== (y = /*activeBonus*/
5032
+ _[62].currency) && f(t, "bonuscurrency", y), b[0] & /*activeBonusesList*/
5033
+ 1048576 && v !== (v = /*activeBonus*/
5034
+ _[62].freeRoundNumber) && f(t, "bonusfreespins", v), b[0] & /*activeBonusesList*/
5035
+ 1048576 && x !== (x = /*activeBonus*/
5036
+ _[62].isWinBonus) && f(t, "isWinBonus", x), b[0] & /*lang*/
4994
5037
  1 && f(
4995
5038
  t,
4996
5039
  "lang",
@@ -5047,432 +5090,435 @@ function ws(e) {
5047
5090
  );
5048
5091
  },
5049
5092
  d(_) {
5050
- _ && k(t);
5093
+ _ && $(t);
5051
5094
  }
5052
5095
  };
5053
5096
  }
5054
- function An(e) {
5097
+ function Pn(e) {
5055
5098
  let t;
5056
5099
  function n(i, s) {
5057
5100
  return (
5058
5101
  /*activeBonus*/
5059
- i[61].type === "freeRound" ? ws : Es
5102
+ i[62].type === "freeRound" ? Cs : xs
5060
5103
  );
5061
5104
  }
5062
5105
  let r = n(e), o = r(e);
5063
5106
  return {
5064
5107
  c() {
5065
- o.c(), t = Ft();
5108
+ o.c(), t = Dt();
5066
5109
  },
5067
5110
  m(i, s) {
5068
- o.m(i, s), W(i, t, s);
5111
+ o.m(i, s), j(i, t, s);
5069
5112
  },
5070
5113
  p(i, s) {
5071
5114
  r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
5072
5115
  },
5073
5116
  d(i) {
5074
- i && k(t), o.d(i);
5117
+ i && $(t), o.d(i);
5075
5118
  }
5076
5119
  };
5077
5120
  }
5078
- function Tn(e) {
5079
- let t, n, r, o, i, s, a, u, l, c, d, p, m, y, v, x, _, b, g, E, O, X, Q, q = Ze(Array(
5121
+ function Mn(e) {
5122
+ let t, n, r, o, i, s, a, u, l, c, d, p, m, y, v, x, _, b, g, E, R, N, Y, Q = Ze(Array(
5080
5123
  /*numberOfPages*/
5081
- e[17]
5082
- )), M = [];
5083
- for (let w = 0; w < q.length; w += 1)
5084
- M[w] = Pn(xn(e, q, w));
5124
+ e[18]
5125
+ )), H = [];
5126
+ for (let w = 0; w < Q.length; w += 1)
5127
+ H[w] = Hn(Cn(e, Q, w));
5085
5128
  return {
5086
5129
  c() {
5087
- t = T("div"), n = T("button"), r = G("|<"), s = z(), a = T("button"), u = G("<"), d = z();
5088
- for (let w = 0; w < M.length; w += 1)
5089
- M[w].c();
5090
- p = z(), m = T("button"), y = G(">"), _ = z(), b = T("button"), g = G(">|"), n.disabled = o = /*currentPage*/
5091
- e[18] === 0, S(n, "class", i = "BonusesFirst " + /*currentPage*/
5092
- (e[18] === 0 ? "Inactive" : "")), a.disabled = l = /*currentPage*/
5093
- e[18] === 0, S(a, "class", c = "BonusesPrev " + /*currentPage*/
5094
- (e[18] === 0 ? "Inactive" : "")), m.disabled = v = /*currentPage*/
5095
- e[18] === /*numberOfPages*/
5096
- e[17] - 1, S(m, "class", x = "BonusesNext " + /*currentPage*/
5097
- (e[18] === /*numberOfPages*/
5098
- e[17] - 1 ? "Inactive" : "")), b.disabled = E = /*currentPage*/
5099
- e[18] === /*numberOfPages*/
5100
- e[17] - 1, S(b, "class", O = "BonusesLast " + /*currentPage*/
5101
- (e[18] === /*numberOfPages*/
5102
- e[17] - 1 ? "Inactive" : "")), S(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
5103
- (e[22] ? "BonusesPaginationWrapperMobile" : ""));
5130
+ t = T("div"), n = T("button"), r = G("|<"), s = X(), a = T("button"), u = G("<"), d = X();
5131
+ for (let w = 0; w < H.length; w += 1)
5132
+ H[w].c();
5133
+ p = X(), m = T("button"), y = G(">"), _ = X(), b = T("button"), g = G(">|"), n.disabled = o = /*currentPage*/
5134
+ e[19] === 0, S(n, "class", i = "BonusesFirst " + /*currentPage*/
5135
+ (e[19] === 0 ? "Inactive" : "")), a.disabled = l = /*currentPage*/
5136
+ e[19] === 0, S(a, "class", c = "BonusesPrev " + /*currentPage*/
5137
+ (e[19] === 0 ? "Inactive" : "")), m.disabled = v = /*currentPage*/
5138
+ e[19] === /*numberOfPages*/
5139
+ e[18] - 1, S(m, "class", x = "BonusesNext " + /*currentPage*/
5140
+ (e[19] === /*numberOfPages*/
5141
+ e[18] - 1 ? "Inactive" : "")), b.disabled = E = /*currentPage*/
5142
+ e[19] === /*numberOfPages*/
5143
+ e[18] - 1, S(b, "class", R = "BonusesLast " + /*currentPage*/
5144
+ (e[19] === /*numberOfPages*/
5145
+ e[18] - 1 ? "Inactive" : "")), S(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
5146
+ (e[23] ? "BonusesPaginationWrapperMobile" : ""));
5104
5147
  },
5105
- m(w, I) {
5106
- W(w, t, I), B(t, n), B(n, r), B(t, s), B(t, a), B(a, u), B(t, d);
5107
- for (let H = 0; H < M.length; H += 1)
5108
- M[H] && M[H].m(t, null);
5109
- B(t, p), B(t, m), B(m, y), B(t, _), B(t, b), B(b, g), X || (Q = [
5148
+ m(w, L) {
5149
+ j(w, t, L), B(t, n), B(n, r), B(t, s), B(t, a), B(a, u), B(t, d);
5150
+ for (let P = 0; P < H.length; P += 1)
5151
+ H[P] && H[P].m(t, null);
5152
+ B(t, p), B(t, m), B(m, y), B(t, _), B(t, b), B(b, g), N || (Y = [
5110
5153
  K(
5111
5154
  n,
5112
5155
  "click",
5113
5156
  /*click_handler_1*/
5114
- e[39]
5157
+ e[40]
5115
5158
  ),
5116
5159
  K(
5117
5160
  a,
5118
5161
  "click",
5119
5162
  /*click_handler_2*/
5120
- e[40]
5163
+ e[41]
5121
5164
  ),
5122
5165
  K(
5123
5166
  m,
5124
5167
  "click",
5125
5168
  /*click_handler_4*/
5126
- e[42]
5169
+ e[43]
5127
5170
  ),
5128
5171
  K(
5129
5172
  b,
5130
5173
  "click",
5131
5174
  /*click_handler_5*/
5132
- e[43]
5175
+ e[44]
5133
5176
  )
5134
- ], X = !0);
5177
+ ], N = !0);
5135
5178
  },
5136
- p(w, I) {
5137
- if (I[0] & /*currentPage*/
5138
- 262144 && o !== (o = /*currentPage*/
5139
- w[18] === 0) && (n.disabled = o), I[0] & /*currentPage*/
5140
- 262144 && i !== (i = "BonusesFirst " + /*currentPage*/
5141
- (w[18] === 0 ? "Inactive" : "")) && S(n, "class", i), I[0] & /*currentPage*/
5142
- 262144 && l !== (l = /*currentPage*/
5143
- w[18] === 0) && (a.disabled = l), I[0] & /*currentPage*/
5144
- 262144 && c !== (c = "BonusesPrev " + /*currentPage*/
5145
- (w[18] === 0 ? "Inactive" : "")) && S(a, "class", c), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5146
- 33947648) {
5147
- q = Ze(Array(
5179
+ p(w, L) {
5180
+ if (L[0] & /*currentPage*/
5181
+ 524288 && o !== (o = /*currentPage*/
5182
+ w[19] === 0) && (n.disabled = o), L[0] & /*currentPage*/
5183
+ 524288 && i !== (i = "BonusesFirst " + /*currentPage*/
5184
+ (w[19] === 0 ? "Inactive" : "")) && S(n, "class", i), L[0] & /*currentPage*/
5185
+ 524288 && l !== (l = /*currentPage*/
5186
+ w[19] === 0) && (a.disabled = l), L[0] & /*currentPage*/
5187
+ 524288 && c !== (c = "BonusesPrev " + /*currentPage*/
5188
+ (w[19] === 0 ? "Inactive" : "")) && S(a, "class", c), L[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5189
+ 67895296) {
5190
+ Q = Ze(Array(
5148
5191
  /*numberOfPages*/
5149
- w[17]
5192
+ w[18]
5150
5193
  ));
5151
- let H;
5152
- for (H = 0; H < q.length; H += 1) {
5153
- const D = xn(w, q, H);
5154
- M[H] ? M[H].p(D, I) : (M[H] = Pn(D), M[H].c(), M[H].m(t, p));
5194
+ let P;
5195
+ for (P = 0; P < Q.length; P += 1) {
5196
+ const k = Cn(w, Q, P);
5197
+ H[P] ? H[P].p(k, L) : (H[P] = Hn(k), H[P].c(), H[P].m(t, p));
5155
5198
  }
5156
- for (; H < M.length; H += 1)
5157
- M[H].d(1);
5158
- M.length = q.length;
5199
+ for (; P < H.length; P += 1)
5200
+ H[P].d(1);
5201
+ H.length = Q.length;
5159
5202
  }
5160
- I[0] & /*currentPage, numberOfPages*/
5161
- 393216 && v !== (v = /*currentPage*/
5162
- w[18] === /*numberOfPages*/
5163
- w[17] - 1) && (m.disabled = v), I[0] & /*currentPage, numberOfPages*/
5164
- 393216 && x !== (x = "BonusesNext " + /*currentPage*/
5165
- (w[18] === /*numberOfPages*/
5166
- w[17] - 1 ? "Inactive" : "")) && S(m, "class", x), I[0] & /*currentPage, numberOfPages*/
5167
- 393216 && E !== (E = /*currentPage*/
5168
- w[18] === /*numberOfPages*/
5169
- w[17] - 1) && (b.disabled = E), I[0] & /*currentPage, numberOfPages*/
5170
- 393216 && O !== (O = "BonusesLast " + /*currentPage*/
5171
- (w[18] === /*numberOfPages*/
5172
- w[17] - 1 ? "Inactive" : "")) && S(b, "class", O);
5203
+ L[0] & /*currentPage, numberOfPages*/
5204
+ 786432 && v !== (v = /*currentPage*/
5205
+ w[19] === /*numberOfPages*/
5206
+ w[18] - 1) && (m.disabled = v), L[0] & /*currentPage, numberOfPages*/
5207
+ 786432 && x !== (x = "BonusesNext " + /*currentPage*/
5208
+ (w[19] === /*numberOfPages*/
5209
+ w[18] - 1 ? "Inactive" : "")) && S(m, "class", x), L[0] & /*currentPage, numberOfPages*/
5210
+ 786432 && E !== (E = /*currentPage*/
5211
+ w[19] === /*numberOfPages*/
5212
+ w[18] - 1) && (b.disabled = E), L[0] & /*currentPage, numberOfPages*/
5213
+ 786432 && R !== (R = "BonusesLast " + /*currentPage*/
5214
+ (w[19] === /*numberOfPages*/
5215
+ w[18] - 1 ? "Inactive" : "")) && S(b, "class", R);
5173
5216
  },
5174
5217
  d(w) {
5175
- w && k(t), Nn(M, w), X = !1, de(Q);
5218
+ w && $(t), Rn(H, w), N = !1, pe(Y);
5176
5219
  }
5177
5220
  };
5178
5221
  }
5179
- function Pn(e) {
5222
+ function Hn(e) {
5180
5223
  let t, n = (
5181
5224
  /*i*/
5182
- e[60] + 1 + ""
5225
+ e[61] + 1 + ""
5183
5226
  ), r, o, i, s, a;
5184
5227
  function u() {
5185
5228
  return (
5186
5229
  /*click_handler_3*/
5187
- e[41](
5230
+ e[42](
5188
5231
  /*i*/
5189
- e[60]
5232
+ e[61]
5190
5233
  )
5191
5234
  );
5192
5235
  }
5193
5236
  return {
5194
5237
  c() {
5195
5238
  t = T("button"), r = G(n), t.disabled = o = /*i*/
5196
- e[60] === /*currentPage*/
5197
- e[18], S(t, "class", i = "BonusesPage " + /*i*/
5198
- (e[60] === /*currentPage*/
5199
- e[18] ? "BonusPageActive" : ""));
5239
+ e[61] === /*currentPage*/
5240
+ e[19], S(t, "class", i = "BonusesPage " + /*i*/
5241
+ (e[61] === /*currentPage*/
5242
+ e[19] ? "BonusPageActive" : ""));
5200
5243
  },
5201
5244
  m(l, c) {
5202
- W(l, t, c), B(t, r), s || (a = K(t, "click", u), s = !0);
5245
+ j(l, t, c), B(t, r), s || (a = K(t, "click", u), s = !0);
5203
5246
  },
5204
5247
  p(l, c) {
5205
5248
  e = l, c[0] & /*currentPage*/
5206
- 262144 && o !== (o = /*i*/
5207
- e[60] === /*currentPage*/
5208
- e[18]) && (t.disabled = o), c[0] & /*currentPage*/
5209
- 262144 && i !== (i = "BonusesPage " + /*i*/
5210
- (e[60] === /*currentPage*/
5211
- e[18] ? "BonusPageActive" : "")) && S(t, "class", i);
5249
+ 524288 && o !== (o = /*i*/
5250
+ e[61] === /*currentPage*/
5251
+ e[19]) && (t.disabled = o), c[0] & /*currentPage*/
5252
+ 524288 && i !== (i = "BonusesPage " + /*i*/
5253
+ (e[61] === /*currentPage*/
5254
+ e[19] ? "BonusPageActive" : "")) && S(t, "class", i);
5212
5255
  },
5213
5256
  d(l) {
5214
- l && k(t), s = !1, a();
5257
+ l && $(t), s = !1, a();
5215
5258
  }
5216
5259
  };
5217
5260
  }
5218
- function Mn(e) {
5261
+ function On(e) {
5219
5262
  let t, n, r, o, i = (
5220
5263
  /*$_*/
5221
- e[21]("forfeitBonus") + ""
5264
+ e[22]("forfeitBonus") + ""
5222
5265
  ), s, a, u, l, c = (
5223
5266
  /*$_*/
5224
- e[21]("forfeitBonusCancel") + ""
5267
+ e[22]("forfeitBonusCancel") + ""
5225
5268
  ), d, p, m, y = (
5226
5269
  /*$_*/
5227
- e[21]("forfeitBonusConfirm") + ""
5270
+ e[22]("forfeitBonusConfirm") + ""
5228
5271
  ), v, x, _;
5229
5272
  return {
5230
5273
  c() {
5231
- t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = G(i), a = z(), u = T("div"), l = T("button"), d = G(c), p = z(), m = T("button"), v = G(y), S(o, "class", "ModalText"), S(l, "class", "ModalCancel"), S(m, "class", "ModalConfirm"), S(u, "class", "ModalButtons"), S(r, "class", "ModalBody"), S(n, "class", "ModalContent"), S(t, "class", "ModalWrapper " + /*isMobile*/
5232
- (e[22] ? "ModalWrapperMobile" : ""));
5274
+ t = T("div"), n = T("div"), r = T("div"), o = T("p"), s = G(i), a = X(), u = T("div"), l = T("button"), d = G(c), p = X(), m = T("button"), v = G(y), S(o, "class", "ModalText"), S(l, "class", "ModalCancel"), S(m, "class", "ModalConfirm"), S(u, "class", "ModalButtons"), S(r, "class", "ModalBody"), S(n, "class", "ModalContent"), S(t, "class", "ModalWrapper " + /*isMobile*/
5275
+ (e[23] ? "ModalWrapperMobile" : ""));
5233
5276
  },
5234
5277
  m(b, g) {
5235
- W(b, t, g), B(t, n), B(n, r), B(r, o), B(o, s), B(r, a), B(r, u), B(u, l), B(l, d), B(u, p), B(u, m), B(m, v), x || (_ = [
5278
+ j(b, t, g), B(t, n), B(n, r), B(r, o), B(o, s), B(r, a), B(r, u), B(u, l), B(l, d), B(u, p), B(u, m), B(m, v), x || (_ = [
5236
5279
  K(
5237
5280
  l,
5238
5281
  "click",
5239
5282
  /*closeBonusModal*/
5240
- e[27]
5283
+ e[28]
5241
5284
  ),
5242
5285
  K(
5243
5286
  m,
5244
5287
  "click",
5245
5288
  /*debouncedFunction*/
5246
- e[29](
5289
+ e[30](
5247
5290
  /*deleteBonus*/
5248
- e[28]
5291
+ e[29]
5249
5292
  )
5250
5293
  )
5251
5294
  ], x = !0);
5252
5295
  },
5253
5296
  p(b, g) {
5254
5297
  g[0] & /*$_*/
5255
- 2097152 && i !== (i = /*$_*/
5256
- b[21]("forfeitBonus") + "") && ue(s, i), g[0] & /*$_*/
5257
- 2097152 && c !== (c = /*$_*/
5258
- b[21]("forfeitBonusCancel") + "") && ue(d, c), g[0] & /*$_*/
5259
- 2097152 && y !== (y = /*$_*/
5260
- b[21]("forfeitBonusConfirm") + "") && ue(v, y);
5298
+ 4194304 && i !== (i = /*$_*/
5299
+ b[22]("forfeitBonus") + "") && se(s, i), g[0] & /*$_*/
5300
+ 4194304 && c !== (c = /*$_*/
5301
+ b[22]("forfeitBonusCancel") + "") && se(d, c), g[0] & /*$_*/
5302
+ 4194304 && y !== (y = /*$_*/
5303
+ b[22]("forfeitBonusConfirm") + "") && se(v, y);
5261
5304
  },
5262
5305
  d(b) {
5263
- b && k(t), x = !1, de(_);
5306
+ b && $(t), x = !1, pe(_);
5264
5307
  }
5265
5308
  };
5266
5309
  }
5267
- function xs(e) {
5310
+ function As(e) {
5268
5311
  let t, n, r, o, i = (
5269
5312
  /*$_*/
5270
- e[21]("titleBonuses") + ""
5313
+ e[22]("titleBonuses") + ""
5271
5314
  ), s, a, u, l, c = (
5272
5315
  /*$_*/
5273
- e[21]("bonusCode") + ""
5316
+ e[22]("bonusCode") + ""
5274
5317
  ), d, p, m, y, v, x, _ = (
5275
5318
  /*$_*/
5276
- e[21]("getBonus") + ""
5277
- ), b, g, E, O, X, Q, q, M = (
5319
+ e[22]("getBonus") + ""
5320
+ ), b, g, E, R, N, Y, Q, H = (
5278
5321
  /*isMobile*/
5279
- e[22] && gs(e)
5322
+ e[23] && ys(e)
5280
5323
  ), w = (
5281
5324
  /*invalidBonusCode*/
5282
- e[12] && Cn(e)
5325
+ e[13] && Tn(e)
5283
5326
  );
5284
- function I(P, j) {
5327
+ function L(M, V) {
5285
5328
  return (
5286
5329
  /*isLoading*/
5287
- P[10] ? ys : vs
5330
+ M[10] ? Bs : _s
5288
5331
  );
5289
5332
  }
5290
- let H = I(e), D = H(e), U = (
5333
+ let P = L(e), k = P(e), F = (
5291
5334
  /*bonusModal*/
5292
- e[20] && Mn(e)
5335
+ e[21] && On(e)
5293
5336
  );
5294
5337
  return {
5295
5338
  c() {
5296
- t = T("div"), n = T("div"), M && M.c(), r = z(), o = T("h2"), s = G(i), a = z(), u = T("div"), l = T("label"), d = G(c), p = z(), m = T("div"), y = T("input"), v = z(), x = T("button"), b = G(_), E = z(), w && w.c(), O = z(), D.c(), X = z(), U && U.c(), S(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5297
- (e[22] ? "ActiveBonusesTitleNone" : "")), S(l, "for", "BonusCode"), S(y, "class", "BonusCodeInput " + /*isMobile*/
5298
- (e[22] ? "BonusCodeInputMobile" : "")), S(y, "type", "text"), S(y, "id", "BonusCode"), S(x, "class", "SubmitBonusCode " + /*isMobile*/
5299
- (e[22] ? "SubmitBonusCodeMobile" : "")), x.disabled = g = /*invalidBonusField*/
5300
- e[11] || /*isLoading*/
5339
+ t = T("div"), n = T("div"), H && H.c(), r = X(), o = T("h2"), s = G(i), a = X(), u = T("div"), l = T("label"), d = G(c), p = X(), m = T("div"), y = T("input"), v = X(), x = T("button"), b = G(_), E = X(), w && w.c(), R = X(), k.c(), N = X(), F && F.c(), S(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5340
+ (e[23] ? "ActiveBonusesTitleNone" : "")), S(l, "for", "BonusCode"), S(y, "class", "BonusCodeInput " + /*isMobile*/
5341
+ (e[23] ? "BonusCodeInputMobile" : "")), S(y, "type", "text"), S(y, "id", "BonusCode"), S(x, "class", "SubmitBonusCode " + /*isMobile*/
5342
+ (e[23] ? "SubmitBonusCodeMobile" : "")), x.disabled = g = /*invalidBonusField*/
5343
+ e[12] || /*isLoading*/
5301
5344
  e[10], S(m, "class", "BonusCodeWrapper " + /*isMobile*/
5302
- (e[22] ? "BonusCodeWrapperMobile" : "")), S(u, "class", "BonusCodeContainer " + /*isMobile*/
5303
- (e[22] ? "BonusCodeContainerMobile" : "")), S(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
5304
- (e[22] ? "ActiveBonusesWrapperMobile" : ""));
5345
+ (e[23] ? "BonusCodeWrapperMobile" : "")), S(u, "class", "BonusCodeContainer " + /*isMobile*/
5346
+ (e[23] ? "BonusCodeContainerMobile" : "")), S(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
5347
+ (e[23] ? "ActiveBonusesWrapperMobile" : ""));
5305
5348
  },
5306
- m(P, j) {
5307
- W(P, t, j), B(t, n), M && M.m(n, null), B(n, r), B(n, o), B(o, s), B(n, a), B(n, u), B(u, l), B(l, d), B(u, p), B(u, m), B(m, y), Jt(
5349
+ m(M, V) {
5350
+ j(M, t, V), B(t, n), H && H.m(n, null), B(n, r), B(n, o), B(o, s), B(n, a), B(n, u), B(u, l), B(l, d), B(u, p), B(u, m), B(m, y), en(
5308
5351
  y,
5309
5352
  /*bonusCode*/
5310
- e[13]
5311
- ), B(m, v), B(m, x), B(x, b), B(u, E), w && w.m(u, null), B(n, O), D.m(n, null), B(t, X), U && U.m(t, null), e[44](t), Q || (q = [
5353
+ e[14]
5354
+ ), B(m, v), B(m, x), B(x, b), B(u, E), w && w.m(u, null), B(n, R), k.m(n, null), B(t, N), F && F.m(t, null), e[45](t), Y || (Q = [
5312
5355
  K(
5313
5356
  y,
5314
5357
  "input",
5315
5358
  /*input_input_handler*/
5316
- e[38]
5359
+ e[39]
5317
5360
  ),
5318
5361
  K(
5319
5362
  y,
5320
5363
  "keyup",
5321
5364
  /*validateBonusCode*/
5322
- e[24]
5365
+ e[25]
5323
5366
  ),
5324
5367
  K(
5325
5368
  x,
5326
5369
  "click",
5327
5370
  /*claimBonus*/
5328
- e[26]
5371
+ e[27]
5329
5372
  )
5330
- ], Q = !0);
5373
+ ], Y = !0);
5331
5374
  },
5332
- p(P, j) {
5375
+ p(M, V) {
5333
5376
  /*isMobile*/
5334
- P[22] && M.p(P, j), j[0] & /*$_*/
5335
- 2097152 && i !== (i = /*$_*/
5336
- P[21]("titleBonuses") + "") && ue(s, i), j[0] & /*$_*/
5337
- 2097152 && c !== (c = /*$_*/
5338
- P[21]("bonusCode") + "") && ue(d, c), j[0] & /*bonusCode*/
5339
- 8192 && y.value !== /*bonusCode*/
5340
- P[13] && Jt(
5377
+ M[23] && H.p(M, V), V[0] & /*$_*/
5378
+ 4194304 && i !== (i = /*$_*/
5379
+ M[22]("titleBonuses") + "") && se(s, i), V[0] & /*$_*/
5380
+ 4194304 && c !== (c = /*$_*/
5381
+ M[22]("bonusCode") + "") && se(d, c), V[0] & /*bonusCode*/
5382
+ 16384 && y.value !== /*bonusCode*/
5383
+ M[14] && en(
5341
5384
  y,
5342
5385
  /*bonusCode*/
5343
- P[13]
5344
- ), j[0] & /*$_*/
5345
- 2097152 && _ !== (_ = /*$_*/
5346
- P[21]("getBonus") + "") && ue(b, _), j[0] & /*invalidBonusField, isLoading*/
5347
- 3072 && g !== (g = /*invalidBonusField*/
5348
- P[11] || /*isLoading*/
5349
- P[10]) && (x.disabled = g), /*invalidBonusCode*/
5350
- P[12] ? w ? w.p(P, j) : (w = Cn(P), w.c(), w.m(u, null)) : w && (w.d(1), w = null), H === (H = I(P)) && D ? D.p(P, j) : (D.d(1), D = H(P), D && (D.c(), D.m(n, null))), /*bonusModal*/
5351
- P[20] ? U ? U.p(P, j) : (U = Mn(P), U.c(), U.m(t, null)) : U && (U.d(1), U = null);
5386
+ M[14]
5387
+ ), V[0] & /*$_*/
5388
+ 4194304 && _ !== (_ = /*$_*/
5389
+ M[22]("getBonus") + "") && se(b, _), V[0] & /*invalidBonusField, isLoading*/
5390
+ 5120 && g !== (g = /*invalidBonusField*/
5391
+ M[12] || /*isLoading*/
5392
+ M[10]) && (x.disabled = g), /*invalidBonusCode*/
5393
+ M[13] ? w ? w.p(M, V) : (w = Tn(M), w.c(), w.m(u, null)) : w && (w.d(1), w = null), P === (P = L(M)) && k ? k.p(M, V) : (k.d(1), k = P(M), k && (k.c(), k.m(n, null))), /*bonusModal*/
5394
+ M[21] ? F ? F.p(M, V) : (F = On(M), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
5352
5395
  },
5353
- i: Y,
5354
- o: Y,
5355
- d(P) {
5356
- P && k(t), M && M.d(), w && w.d(), D.d(), U && U.d(), e[44](null), Q = !1, de(q);
5396
+ i: Z,
5397
+ o: Z,
5398
+ d(M) {
5399
+ M && $(t), H && H.d(), w && w.d(), k.d(), F && F.d(), e[45](null), Y = !1, pe(Q);
5357
5400
  }
5358
5401
  };
5359
5402
  }
5360
- let Ss = "status=active", ne = 6;
5361
- function Cs(e, t, n) {
5403
+ let Ts = "status=active", oe = 6;
5404
+ function Ps(e, t, n) {
5362
5405
  let r;
5363
- Lr(e, os, (h) => n(21, r = h));
5364
- let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: d } = t, { translationurl: p = "" } = t, { currencylocale: m = "" } = t, { dateformat: y = "" } = t, { bonuscoderegex: v = "" } = t, { ishiddenwageringbonus: x = "false" } = t, { gmversion: _ = "" } = t, { filterbonusbalance: b = "false" } = t, { filtertags: g = "" } = t, E = !1, O, X, Q = window.navigator.userAgent, q = is(Q) !== "PC", M = !0, w = !1, I = "", H = 0, D = 0, U = 0, P = 0, j = 0, it = [], Wt, st = "", at = !1;
5365
- const dr = () => {
5366
- fetch(p).then((R) => R.json()).then((R) => {
5367
- Object.keys(R).forEach((J) => {
5368
- Bn(J, R[J]);
5406
+ Ur(e, ss, (h) => n(22, r = h));
5407
+ let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: d } = t, { translationurl: p = "" } = t, { currencylocale: m = "" } = t, { dateformat: y = "" } = t, { bonuscoderegex: v = "" } = t, { ishiddenwageringbonus: x = "false" } = t, { gmversion: _ = "" } = t, { filterbonusbalance: b = "false" } = t, { filtertags: g = "" } = t, E = !1, R = !1, N, Y, Q = window.navigator.userAgent, H = as(Q) !== "PC", w = !0, L = !1, P = "", k = 0, F = 0, M = 0, V = 0, jt = 0, it = [], Vt, st = "", at = !1;
5408
+ const mr = () => {
5409
+ fetch(p).then((U) => U.json()).then((U) => {
5410
+ Object.keys(U).forEach((J) => {
5411
+ wn(J, U[J]);
5369
5412
  });
5370
- }).catch((R) => {
5371
- console.log(R);
5413
+ }).catch((U) => {
5414
+ console.log(U);
5372
5415
  });
5373
5416
  };
5374
- Object.keys(En).forEach((h) => {
5375
- Bn(h, En[h]);
5417
+ Object.keys(Sn).forEach((h) => {
5418
+ wn(h, Sn[h]);
5376
5419
  });
5377
- const jt = (h) => {
5420
+ const zt = (h) => {
5378
5421
  if (h.data)
5379
5422
  switch (h.data.type) {
5380
5423
  case "DeleteActiveBonus":
5381
- st = h.data.bonuswalletid, n(20, at = !0);
5424
+ st = h.data.bonuswalletid, n(21, at = !0);
5382
5425
  break;
5383
5426
  }
5384
5427
  };
5385
- function pr(h, R) {
5428
+ function br(h, U) {
5386
5429
  return (...J) => {
5387
- clearTimeout(Wt), Wt = setTimeout(
5430
+ clearTimeout(Vt), Vt = setTimeout(
5388
5431
  () => {
5389
5432
  h.apply(this, J);
5390
5433
  },
5391
- R
5434
+ U
5392
5435
  );
5393
5436
  };
5394
5437
  }
5395
- const Vt = () => {
5438
+ const Xt = () => {
5396
5439
  window.postMessage(
5397
5440
  {
5398
5441
  type: "PlayerAccountMenuActive",
5399
- isMobile: q
5442
+ isMobile: H
5400
5443
  },
5401
5444
  window.location.href
5402
5445
  );
5403
- }, mr = () => I ? v ? new RegExp(v).test(I) : !0 : !1, br = () => {
5404
- n(11, M = !mr()), v && n(12, w = M);
5446
+ }, gr = () => P ? v ? new RegExp(v).test(P) : !0 : !1, vr = () => {
5447
+ n(12, w = !gr()), v && n(13, L = w);
5405
5448
  };
5406
- function zt(h) {
5407
- var pe, Oe, oe, me, $, ce, ie, te, ve, fe, se, be, Zt;
5408
- const R = (pe = h.initialWagerRequirementAmount) != null ? pe : 0, J = (Oe = h.remainingWagerRequirementAmount) != null ? Oe : 0;
5449
+ function qt(h) {
5450
+ var me, Oe, te, be, W, fe, ae, ne, re, he, ue, ge, Qt;
5451
+ const U = (me = h.initialWagerRequirementAmount) != null ? me : 0, J = (Oe = h.remainingWagerRequirementAmount) != null ? Oe : 0;
5409
5452
  return ct(Ie({}, h), {
5410
- freeRoundNumber: (oe = h.numberOfFreeSpin) != null ? oe : void 0,
5411
- walletId: (me = h.bonusWalletID) != null ? me : void 0,
5412
- granted: ($ = h.grantedDate) != null ? $ : void 0,
5413
- expiryTime: (ce = h.expiryDate) != null ? ce : void 0,
5414
- currentAmount: (ie = h.remainingAmount) != null ? ie : void 0,
5415
- originalWageringRequirement: (te = h.initialWagerRequirementAmount) != null ? te : void 0,
5416
- fulfilledWR: R - J,
5453
+ freeRoundNumber: (te = h.numberOfFreeSpin) != null ? te : void 0,
5454
+ walletId: (be = h.bonusWalletID) != null ? be : void 0,
5455
+ granted: (W = h.grantedDate) != null ? W : void 0,
5456
+ expiryTime: (fe = h.expiryDate) != null ? fe : void 0,
5457
+ currentAmount: (ae = h.remainingAmount) != null ? ae : void 0,
5458
+ originalWageringRequirement: (ne = h.initialWagerRequirementAmount) != null ? ne : void 0,
5459
+ fulfilledWR: U - J,
5417
5460
  extension: {
5418
- grantedPlayerCurrencyAmount: (ve = h.amount) != null ? ve : void 0
5461
+ grantedPlayerCurrencyAmount: (re = h.amount) != null ? re : void 0
5419
5462
  },
5420
- termsandconditionsurl: (fe = h.url) != null ? fe : void 0,
5421
- termsandconditionsdescription: (se = h.description) != null ? se : void 0,
5422
- termsandconditionsasset: (be = h.assets) != null ? be : void 0,
5423
- isWinBonus: ((Zt = h == null ? void 0 : h.tags) == null ? void 0 : Zt.includes("auto_apply")) === !0 && h.type === hs.ODDS_BOOST
5463
+ termsandconditionsurl: (he = h.url) != null ? he : void 0,
5464
+ termsandconditionsdescription: (ue = h.description) != null ? ue : void 0,
5465
+ termsandconditionsasset: (ge = h.assets) != null ? ge : void 0,
5466
+ isWinBonus: ((Qt = h == null ? void 0 : h.tags) == null ? void 0 : Qt.includes("auto_apply")) === !0 && h.type === ps.ODDS_BOOST
5424
5467
  });
5425
5468
  }
5426
- const ee = (h) => ae(this, null, function* () {
5427
- var R, J, pe, Oe;
5428
- n(10, E = !0);
5469
+ const ee = (h) => le(this, null, function* () {
5470
+ var U, J, me, Oe;
5471
+ n(10, E = !0), n(11, R = !1);
5429
5472
  try {
5430
- let oe = [], me = 0;
5473
+ let te = [], be = 0;
5431
5474
  if (_ === "gm2") {
5432
5475
  console.log("getActiveBonuses - gm2", _);
5433
- const $ = {
5434
- pagination: `limit=${ne},offset=${h}`,
5476
+ const W = {
5477
+ pagination: `limit=${oe},offset=${h}`,
5435
5478
  language: a || "en",
5436
5479
  sortOrder: "desc",
5437
- status: wn.STATUS_ACTIVE,
5438
- type: wn.TYPES,
5480
+ status: xn.STATUS_ACTIVE,
5481
+ type: xn.TYPES,
5439
5482
  expand: "freeSpin",
5440
5483
  filterTags: g
5441
5484
  };
5442
- x === "true" && ($.includeHiddenWallet = !0);
5443
- const ce = yield ms(o, i, $), ie = ce.items;
5444
- Array.isArray(ie) ? g ? oe = ie.filter((te) => {
5445
- var ve;
5446
- return ((ve = te == null ? void 0 : te.tags) == null ? void 0 : ve.includes("auto_apply")) !== !0;
5447
- }).map(zt) : oe = ie.map(zt) : console.error("Unexpected granted bonuses payload", ce), me = (R = ce.total) != null ? R : 0;
5485
+ x === "true" && (W.includeHiddenWallet = !0);
5486
+ const fe = yield gs(o, i, W), ae = fe.items;
5487
+ Array.isArray(ae) ? g ? te = ae.filter((ne) => {
5488
+ var re;
5489
+ return ((re = ne == null ? void 0 : ne.tags) == null ? void 0 : re.includes("auto_apply")) !== !0;
5490
+ }).map(qt) : te = ae.map(qt) : console.error("Unexpected granted bonuses payload", fe), be = (U = fe.total) != null ? U : 0;
5448
5491
  } else {
5449
5492
  console.log("getActiveBonuses - /bonusWallet", _);
5450
- const $ = {
5493
+ const W = {
5451
5494
  method: "GET",
5452
5495
  headers: { "X-SessionId": i }
5453
- }, ce = `/v1/player/${s}/bonusWallet`, ie = new URL(`${o}${ce}`), te = new URLSearchParams();
5454
- te.set("filter", Ss), te.set("pagination", `offset=${h},limit=${ne}`), ie.search = te.toString();
5455
- const fe = yield (yield fetch(ie, $)).json();
5456
- if (Array.isArray(fe.items)) {
5457
- for (const se of fe.items) {
5458
- const be = (pe = (J = se == null ? void 0 : se.extension) == null ? void 0 : J.bonus) == null ? void 0 : pe.presentation;
5459
- be && (se.termsandconditionsurl = be.url, se.termsandconditionsdescription = be.description, se.termsandconditionsasset = be.assets);
5496
+ }, fe = `/v1/player/${s}/bonusWallet`, ae = new URL(`${o}${fe}`), ne = new URLSearchParams();
5497
+ ne.set("filter", Ts), ne.set("pagination", `offset=${h},limit=${oe}`), ae.search = ne.toString();
5498
+ const re = yield fetch(ae, W);
5499
+ if (re.status >= 500 && re.status < 600)
5500
+ throw new Ut(re.status);
5501
+ const he = yield re.json();
5502
+ if (Array.isArray(he.items)) {
5503
+ for (const ue of he.items) {
5504
+ const ge = (me = (J = ue == null ? void 0 : ue.extension) == null ? void 0 : J.bonus) == null ? void 0 : me.presentation;
5505
+ ge && (ue.termsandconditionsurl = ge.url, ue.termsandconditionsdescription = ge.description, ue.termsandconditionsasset = ge.assets);
5460
5506
  }
5461
- oe = fe.items;
5507
+ te = he.items;
5462
5508
  } else
5463
- console.error("Unexpected legacy bonus list payload", fe);
5464
- me = (Oe = fe.total) != null ? Oe : 0;
5509
+ console.error("Unexpected legacy bonus list payload", he);
5510
+ be = (Oe = he.total) != null ? Oe : 0;
5465
5511
  }
5466
- n(17, P = Math.ceil(me / ne)), h - ne >= 0 && n(14, H = h - ne), h + ne < me && n(15, D = h + ne), n(16, U = (P - 1) * ne), n(18, j = h / ne), n(19, it = oe), m && it.forEach(($) => {
5467
- $.fulfilledWR = Ge($.fulfilledWR), $.originalWageringRequirement = Ge($.originalWageringRequirement), $.currentAmount = Ge($.currentAmount), $.extension && ($.extension.grantedPlayerCurrencyAmount = Ge($.extension.grantedPlayerCurrencyAmount));
5512
+ n(18, V = Math.ceil(be / oe)), h - oe >= 0 && n(15, k = h - oe), h + oe < be && n(16, F = h + oe), n(17, M = (V - 1) * oe), n(19, jt = h / oe), n(20, it = te), m && it.forEach((W) => {
5513
+ W.fulfilledWR = $e(W.fulfilledWR), W.originalWageringRequirement = $e(W.originalWageringRequirement), W.currentAmount = $e(W.currentAmount), W.extension && (W.extension.grantedPlayerCurrencyAmount = $e(W.extension.grantedPlayerCurrencyAmount));
5468
5514
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5469
- } catch (oe) {
5470
- console.error(oe);
5515
+ } catch (te) {
5516
+ n(11, R = te instanceof Ut), console.error(te);
5471
5517
  } finally {
5472
5518
  n(10, E = !1);
5473
5519
  }
5474
- }), Ge = (h) => new Intl.NumberFormat(m, { style: "currency", currency: u }).format(h).replace(/\s/g, ""), Xt = () => {
5475
- console.log("post claim success, status 200"), n(12, w = !1), ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5520
+ }), $e = (h) => new Intl.NumberFormat(m, { style: "currency", currency: u }).format(h).replace(/\s/g, ""), Zt = () => {
5521
+ console.log("post claim success, status 200"), n(13, L = !1), ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
5476
5522
  {
5477
5523
  type: "WidgetNotification",
5478
5524
  data: {
@@ -5484,10 +5530,10 @@ function Cs(e, t, n) {
5484
5530
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
5485
5531
  context: "PlayerActiveBonuses",
5486
5532
  userId: `${s || "Not logged in"}`,
5487
- bonusCode: `${I}`
5533
+ bonusCode: `${P}`
5488
5534
  });
5489
- }, qt = () => {
5490
- n(12, w = !0), console.log("post claim error - status not 200"), window.postMessage(
5535
+ }, Yt = () => {
5536
+ n(13, L = !0), console.log("post claim error - status not 200"), window.postMessage(
5491
5537
  {
5492
5538
  type: "WidgetNotification",
5493
5539
  data: {
@@ -5497,36 +5543,36 @@ function Cs(e, t, n) {
5497
5543
  },
5498
5544
  window.location.href
5499
5545
  );
5500
- }, gr = () => ae(this, null, function* () {
5546
+ }, yr = () => le(this, null, function* () {
5501
5547
  n(10, E = !0);
5502
5548
  try {
5503
5549
  if (_ === "gm2") {
5504
- if (!(yield ds(o, i, { bonusCode: I, currency: u })).success) {
5505
- qt();
5550
+ if (!(yield ms(o, i, { bonusCode: P, currency: u })).success) {
5551
+ Yt();
5506
5552
  //!
5507
5553
  return;
5508
5554
  }
5509
- Xt();
5555
+ Zt();
5510
5556
  return;
5511
5557
  }
5512
5558
  const h = new URL(`${o}/v1/player/${s}/claimbonus`);
5513
- h.searchParams.append("currency", u), h.searchParams.append("bonusCode", I);
5514
- const R = {
5559
+ h.searchParams.append("currency", u), h.searchParams.append("bonusCode", P);
5560
+ const U = {
5515
5561
  method: "POST",
5516
5562
  headers: {
5517
5563
  "X-SessionId": i,
5518
5564
  accept: "application/json"
5519
5565
  }
5520
5566
  };
5521
- (yield fetch(h.href, R)).status == 200 ? Xt() : qt();
5567
+ (yield fetch(h.href, U)).status == 200 ? Zt() : Yt();
5522
5568
  } finally {
5523
5569
  n(10, E = !1);
5524
5570
  }
5525
5571
  }), ut = () => {
5526
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(20, at = !1);
5527
- }, vr = () => ae(this, null, function* () {
5572
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(21, at = !1);
5573
+ }, _r = () => le(this, null, function* () {
5528
5574
  if (_ === "gm2") {
5529
- if (!(yield ps(o, i, { bonusWalletID: st })).success)
5575
+ if (!(yield bs(o, i, { bonusWalletID: st })).success)
5530
5576
  return;
5531
5577
  ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ut();
5532
5578
  return;
@@ -5538,38 +5584,37 @@ function Cs(e, t, n) {
5538
5584
  "Content-Type": "application/json",
5539
5585
  Accept: "application/json"
5540
5586
  }
5541
- }, R = new URL(`${o}/v1/player/${s}/bonusWallet`);
5542
- R.searchParams.append("bonusWalletID", st), (yield fetch(R, h)).status == 200 && (ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ut());
5543
- }), yr = () => {
5544
- ss(a);
5587
+ }, U = new URL(`${o}/v1/player/${s}/bonusWallet`);
5588
+ U.searchParams.append("bonusWalletID", st), (yield fetch(U, h)).status == 200 && (ee(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ut());
5589
+ }), Br = () => {
5590
+ us(a);
5545
5591
  };
5546
- function _r(h) {
5547
- return pr(h, 1e3);
5592
+ function Er(h) {
5593
+ return br(h, 1e3);
5548
5594
  }
5549
- kr(() => (window.addEventListener("message", jt, !1), () => {
5550
- window.removeEventListener("message", jt);
5595
+ jr(() => (window.addEventListener("message", zt, !1), () => {
5596
+ window.removeEventListener("message", zt);
5551
5597
  }));
5552
- const Br = () => Vt();
5553
- function Er() {
5554
- I = this.value, n(13, I);
5598
+ const wr = () => Xt();
5599
+ function Sr() {
5600
+ P = this.value, n(14, P);
5555
5601
  }
5556
- const wr = () => ee(0), xr = () => ee(H), Sr = (h) => ee(h * ne), Cr = () => ee(D), Ar = () => ee(U);
5557
- function Tr(h) {
5602
+ const xr = () => ee(0), Cr = () => ee(k), Ar = (h) => ee(h * oe), Tr = () => ee(F), Pr = () => ee(M);
5603
+ function Mr(h) {
5558
5604
  yt[h ? "unshift" : "push"](() => {
5559
- O = h, n(9, O);
5605
+ N = h, n(9, N);
5560
5606
  });
5561
5607
  }
5562
5608
  return e.$$set = (h) => {
5563
- "endpoint" in h && n(30, o = h.endpoint), "session" in h && n(31, i = h.session), "playerid" in h && n(32, s = h.playerid), "lang" in h && n(0, a = h.lang), "currency" in h && n(33, u = h.currency), "clientstyling" in h && n(1, l = h.clientstyling), "clientstylingurl" in h && n(2, c = h.clientstylingurl), "mbsource" in h && n(3, d = h.mbsource), "translationurl" in h && n(4, p = h.translationurl), "currencylocale" in h && n(5, m = h.currencylocale), "dateformat" in h && n(6, y = h.dateformat), "bonuscoderegex" in h && n(34, v = h.bonuscoderegex), "ishiddenwageringbonus" in h && n(7, x = h.ishiddenwageringbonus), "gmversion" in h && n(35, _ = h.gmversion), "filterbonusbalance" in h && n(8, b = h.filterbonusbalance), "filtertags" in h && n(36, g = h.filtertags);
5609
+ "endpoint" in h && n(31, o = h.endpoint), "session" in h && n(32, i = h.session), "playerid" in h && n(33, s = h.playerid), "lang" in h && n(0, a = h.lang), "currency" in h && n(34, u = h.currency), "clientstyling" in h && n(1, l = h.clientstyling), "clientstylingurl" in h && n(2, c = h.clientstylingurl), "mbsource" in h && n(3, d = h.mbsource), "translationurl" in h && n(4, p = h.translationurl), "currencylocale" in h && n(5, m = h.currencylocale), "dateformat" in h && n(6, y = h.dateformat), "bonuscoderegex" in h && n(35, v = h.bonuscoderegex), "ishiddenwageringbonus" in h && n(7, x = h.ishiddenwageringbonus), "gmversion" in h && n(36, _ = h.gmversion), "filterbonusbalance" in h && n(8, b = h.filterbonusbalance), "filtertags" in h && n(37, g = h.filtertags);
5564
5610
  }, e.$$.update = () => {
5565
5611
  e.$$.dirty[0] & /*lang*/
5566
- 1 && a && yr(), e.$$.dirty[0] & /*endpoint*/
5567
- 1073741824 | e.$$.dirty[1] & /*session, playerid*/
5568
- 3 && i && s && o && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5569
- 514 && l && O && as(O, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5570
- 516 && c && O && us(O, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5571
- 520 && d && O && ls(O, `${d}.Style`, X), e.$$.dirty[0] & /*translationurl*/
5572
- 16 && p && dr();
5612
+ 1 && a && Br(), e.$$.dirty[1] & /*session, playerid, endpoint*/
5613
+ 7 && i && s && o && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5614
+ 514 && l && N && ls(N, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5615
+ 516 && c && N && cs(N, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5616
+ 520 && d && N && fs(N, `${d}.Style`, Y), e.$$.dirty[0] & /*translationurl*/
5617
+ 16 && p && mr();
5573
5618
  }, [
5574
5619
  a,
5575
5620
  l,
@@ -5580,27 +5625,28 @@ function Cs(e, t, n) {
5580
5625
  y,
5581
5626
  x,
5582
5627
  b,
5583
- O,
5628
+ N,
5584
5629
  E,
5585
- M,
5630
+ R,
5586
5631
  w,
5587
- I,
5588
- H,
5589
- D,
5590
- U,
5632
+ L,
5591
5633
  P,
5592
- j,
5634
+ k,
5635
+ F,
5636
+ M,
5637
+ V,
5638
+ jt,
5593
5639
  it,
5594
5640
  at,
5595
5641
  r,
5596
- q,
5597
- Vt,
5598
- br,
5642
+ H,
5643
+ Xt,
5644
+ vr,
5599
5645
  ee,
5600
- gr,
5646
+ yr,
5601
5647
  ut,
5602
- vr,
5603
5648
  _r,
5649
+ Er,
5604
5650
  o,
5605
5651
  i,
5606
5652
  s,
@@ -5608,175 +5654,175 @@ function Cs(e, t, n) {
5608
5654
  v,
5609
5655
  _,
5610
5656
  g,
5611
- Br,
5612
- Er,
5613
5657
  wr,
5614
- xr,
5615
5658
  Sr,
5659
+ xr,
5616
5660
  Cr,
5617
5661
  Ar,
5618
- Tr
5662
+ Tr,
5663
+ Pr,
5664
+ Mr
5619
5665
  ];
5620
5666
  }
5621
- class hr extends eo {
5667
+ class pr extends no {
5622
5668
  constructor(t) {
5623
- super(), Jr(
5669
+ super(), eo(
5624
5670
  this,
5625
5671
  t,
5626
- Cs,
5627
- xs,
5628
- On,
5672
+ Ps,
5673
+ As,
5674
+ Nn,
5629
5675
  {
5630
- endpoint: 30,
5631
- session: 31,
5632
- playerid: 32,
5676
+ endpoint: 31,
5677
+ session: 32,
5678
+ playerid: 33,
5633
5679
  lang: 0,
5634
- currency: 33,
5680
+ currency: 34,
5635
5681
  clientstyling: 1,
5636
5682
  clientstylingurl: 2,
5637
5683
  mbsource: 3,
5638
5684
  translationurl: 4,
5639
5685
  currencylocale: 5,
5640
5686
  dateformat: 6,
5641
- bonuscoderegex: 34,
5687
+ bonuscoderegex: 35,
5642
5688
  ishiddenwageringbonus: 7,
5643
- gmversion: 35,
5689
+ gmversion: 36,
5644
5690
  filterbonusbalance: 8,
5645
- filtertags: 36
5691
+ filtertags: 37
5646
5692
  },
5647
- bs,
5693
+ vs,
5648
5694
  [-1, -1, -1]
5649
5695
  );
5650
5696
  }
5651
5697
  get endpoint() {
5652
- return this.$$.ctx[30];
5698
+ return this.$$.ctx[31];
5653
5699
  }
5654
5700
  set endpoint(t) {
5655
- this.$$set({ endpoint: t }), F();
5701
+ this.$$set({ endpoint: t }), D();
5656
5702
  }
5657
5703
  get session() {
5658
- return this.$$.ctx[31];
5704
+ return this.$$.ctx[32];
5659
5705
  }
5660
5706
  set session(t) {
5661
- this.$$set({ session: t }), F();
5707
+ this.$$set({ session: t }), D();
5662
5708
  }
5663
5709
  get playerid() {
5664
- return this.$$.ctx[32];
5710
+ return this.$$.ctx[33];
5665
5711
  }
5666
5712
  set playerid(t) {
5667
- this.$$set({ playerid: t }), F();
5713
+ this.$$set({ playerid: t }), D();
5668
5714
  }
5669
5715
  get lang() {
5670
5716
  return this.$$.ctx[0];
5671
5717
  }
5672
5718
  set lang(t) {
5673
- this.$$set({ lang: t }), F();
5719
+ this.$$set({ lang: t }), D();
5674
5720
  }
5675
5721
  get currency() {
5676
- return this.$$.ctx[33];
5722
+ return this.$$.ctx[34];
5677
5723
  }
5678
5724
  set currency(t) {
5679
- this.$$set({ currency: t }), F();
5725
+ this.$$set({ currency: t }), D();
5680
5726
  }
5681
5727
  get clientstyling() {
5682
5728
  return this.$$.ctx[1];
5683
5729
  }
5684
5730
  set clientstyling(t) {
5685
- this.$$set({ clientstyling: t }), F();
5731
+ this.$$set({ clientstyling: t }), D();
5686
5732
  }
5687
5733
  get clientstylingurl() {
5688
5734
  return this.$$.ctx[2];
5689
5735
  }
5690
5736
  set clientstylingurl(t) {
5691
- this.$$set({ clientstylingurl: t }), F();
5737
+ this.$$set({ clientstylingurl: t }), D();
5692
5738
  }
5693
5739
  get mbsource() {
5694
5740
  return this.$$.ctx[3];
5695
5741
  }
5696
5742
  set mbsource(t) {
5697
- this.$$set({ mbsource: t }), F();
5743
+ this.$$set({ mbsource: t }), D();
5698
5744
  }
5699
5745
  get translationurl() {
5700
5746
  return this.$$.ctx[4];
5701
5747
  }
5702
5748
  set translationurl(t) {
5703
- this.$$set({ translationurl: t }), F();
5749
+ this.$$set({ translationurl: t }), D();
5704
5750
  }
5705
5751
  get currencylocale() {
5706
5752
  return this.$$.ctx[5];
5707
5753
  }
5708
5754
  set currencylocale(t) {
5709
- this.$$set({ currencylocale: t }), F();
5755
+ this.$$set({ currencylocale: t }), D();
5710
5756
  }
5711
5757
  get dateformat() {
5712
5758
  return this.$$.ctx[6];
5713
5759
  }
5714
5760
  set dateformat(t) {
5715
- this.$$set({ dateformat: t }), F();
5761
+ this.$$set({ dateformat: t }), D();
5716
5762
  }
5717
5763
  get bonuscoderegex() {
5718
- return this.$$.ctx[34];
5764
+ return this.$$.ctx[35];
5719
5765
  }
5720
5766
  set bonuscoderegex(t) {
5721
- this.$$set({ bonuscoderegex: t }), F();
5767
+ this.$$set({ bonuscoderegex: t }), D();
5722
5768
  }
5723
5769
  get ishiddenwageringbonus() {
5724
5770
  return this.$$.ctx[7];
5725
5771
  }
5726
5772
  set ishiddenwageringbonus(t) {
5727
- this.$$set({ ishiddenwageringbonus: t }), F();
5773
+ this.$$set({ ishiddenwageringbonus: t }), D();
5728
5774
  }
5729
5775
  get gmversion() {
5730
- return this.$$.ctx[35];
5776
+ return this.$$.ctx[36];
5731
5777
  }
5732
5778
  set gmversion(t) {
5733
- this.$$set({ gmversion: t }), F();
5779
+ this.$$set({ gmversion: t }), D();
5734
5780
  }
5735
5781
  get filterbonusbalance() {
5736
5782
  return this.$$.ctx[8];
5737
5783
  }
5738
5784
  set filterbonusbalance(t) {
5739
- this.$$set({ filterbonusbalance: t }), F();
5785
+ this.$$set({ filterbonusbalance: t }), D();
5740
5786
  }
5741
5787
  get filtertags() {
5742
- return this.$$.ctx[36];
5788
+ return this.$$.ctx[37];
5743
5789
  }
5744
5790
  set filtertags(t) {
5745
- this.$$set({ filtertags: t }), F();
5791
+ this.$$set({ filtertags: t }), D();
5746
5792
  }
5747
5793
  }
5748
- Kr(hr, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {}, filtertags: {} }, [], [], !0);
5749
- const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5794
+ to(pr, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {}, filtertags: {} }, [], [], !0);
5795
+ const Os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5750
5796
  __proto__: null,
5751
- default: hr
5797
+ default: pr
5752
5798
  }, Symbol.toStringTag, { value: "Module" }));
5753
5799
  export {
5754
5800
  Me as $,
5755
- Ps as P,
5756
- eo as S,
5757
- ar as a,
5758
- Rr as b,
5759
- ue as c,
5760
- k as d,
5801
+ Os as P,
5802
+ no as S,
5803
+ lr as a,
5804
+ Fr as b,
5805
+ se as c,
5806
+ $ as d,
5761
5807
  S as e,
5762
- F as f,
5763
- W as g,
5808
+ D as f,
5809
+ j as g,
5764
5810
  B as h,
5765
- Jr as i,
5811
+ eo as i,
5766
5812
  T as j,
5767
- z as k,
5768
- Lr as l,
5769
- is as m,
5770
- Y as n,
5771
- kr as o,
5772
- Ts as p,
5813
+ X as k,
5814
+ Ur as l,
5815
+ as as m,
5816
+ Z as n,
5817
+ jr as o,
5818
+ Hs as p,
5773
5819
  K as q,
5774
5820
  yt as r,
5775
- On as s,
5821
+ Nn as s,
5776
5822
  G as t,
5777
- as as u,
5778
- us as v,
5779
- ls as w,
5780
- Kr as x,
5781
- os as y
5823
+ ls as u,
5824
+ cs as v,
5825
+ fs as w,
5826
+ to as x,
5827
+ ss as y
5782
5828
  };