@everymatrix/casino-wagering-bonuses-controller 1.76.3 → 1.76.4

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,25 +1,25 @@
1
- var ni = Object.defineProperty, ri = Object.defineProperties;
2
- var ii = Object.getOwnPropertyDescriptors;
3
- var Tt = Object.getOwnPropertySymbols;
4
- var vn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable;
5
- var gn = (e, t, n) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Te = (e, t) => {
1
+ var ri = Object.defineProperty, ii = Object.defineProperties;
2
+ var oi = Object.getOwnPropertyDescriptors;
3
+ var St = Object.getOwnPropertySymbols;
4
+ var bn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable;
5
+ var vn = (e, t, n) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Te = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- vn.call(t, n) && gn(e, n, t[n]);
8
- if (Tt)
9
- for (var n of Tt(t))
10
- bn.call(t, n) && gn(e, n, t[n]);
7
+ bn.call(t, n) && vn(e, n, t[n]);
8
+ if (St)
9
+ for (var n of St(t))
10
+ _n.call(t, n) && vn(e, n, t[n]);
11
11
  return e;
12
- }, Ve = (e, t) => ri(e, ii(t));
13
- var gt = (e, t) => {
12
+ }, Xe = (e, t) => ii(e, oi(t));
13
+ var vt = (e, t) => {
14
14
  var n = {};
15
15
  for (var r in e)
16
- vn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
17
- if (e != null && Tt)
18
- for (var r of Tt(e))
19
- t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
16
+ bn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
17
+ if (e != null && St)
18
+ for (var r of St(e))
19
+ t.indexOf(r) < 0 && _n.call(e, r) && (n[r] = e[r]);
20
20
  return n;
21
21
  };
22
- var Qe = (e, t, n) => new Promise((r, i) => {
22
+ var $e = (e, t, n) => new Promise((r, i) => {
23
23
  var o = (f) => {
24
24
  try {
25
25
  u(n.next(f));
@@ -35,7 +35,7 @@ var Qe = (e, t, n) => new Promise((r, i) => {
35
35
  }, u = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(o, a);
36
36
  u((n = n.apply(e, t)).next());
37
37
  });
38
- import { c as an, S as sn, i as ln, s as Lt, f as Se, a as un, b as fn, e as pe, d as F, g as I, h as _, j as M, l as $e, k, n as Pe, m as P, o as ke, p as X, t as Y, q as E, r as oi, u as Be, v as xt, w as ai, x as si, y as li, z as ft, A as Er, B as qe, C as Oe, D as it, E as ui, F as _n, G as fi } from "./CasinoWageringBonusProgress-D0dCeXp2.js";
38
+ import { c as ln, S as un, i as fn, s as Pt, f as Se, a as hn, b as cn, e as pe, d as F, n as Pe, g as M, h as Ue, j as _, k, l as P, m as et, o as I, p as ai, q as Be, r as E, t as X, u as K, v as At, w as si, x as li, y as ui, z as ht, A as wr, B as Ne, C as Ke, D as ot, E as fi, F as yn, G as hi } from "./CasinoWageringBonusProgress-CBM4uNV_.js";
39
39
  if (typeof window != "undefined") {
40
40
  let e = function(t) {
41
41
  return function(...n) {
@@ -48,12 +48,12 @@ if (typeof window != "undefined") {
48
48
  }
49
49
  };
50
50
  };
51
- customElements.define = e(customElements.define), import("./CasinoWageringBonusProgress-D0dCeXp2.js").then((t) => t.H).then(({ default: t }) => {
51
+ customElements.define = e(customElements.define), import("./CasinoWageringBonusProgress-CBM4uNV_.js").then((t) => t.H).then(({ default: t }) => {
52
52
  !customElements.get("casino-wagering-bonus-progress") && customElements.define("casino-wagering-bonus-progress", t.element);
53
53
  });
54
54
  }
55
- const hi = (e) => Object.keys(e).map((t) => `${t}=${e[t]}`).join("&");
56
- function ci(e, t) {
55
+ const ci = (e) => Object.keys(e).map((t) => `${t}=${e[t]}`).join("&");
56
+ function di(e, t) {
57
57
  let n, r;
58
58
  try {
59
59
  n = e.toString().split(".")[1].length;
@@ -68,14 +68,14 @@ function ci(e, t) {
68
68
  const i = Math.pow(10, Math.max(n, r)), o = n >= r ? n : r;
69
69
  return ((e * i - t * i) / i).toFixed(o);
70
70
  }
71
- const yn = (e, t) => ({
71
+ const En = (e, t) => ({
72
72
  remainder: e % t,
73
73
  quotient: Math.floor(e / t)
74
- }), wr = (e) => {
74
+ }), Tr = (e) => {
75
75
  const t = /* @__PURE__ */ new Date();
76
76
  return new Date(e).getTime() - t.getTime();
77
- }, di = (e) => {
78
- const t = wr(e) / 6e4, { quotient: n, remainder: r } = yn(t, 1440), { quotient: i, remainder: o } = yn(r, 60), a = Math.floor(o), u = (s) => Math.abs(s) < 10 ? `0${s}` : s;
77
+ }, pi = (e) => {
78
+ const t = Tr(e) / 6e4, { quotient: n, remainder: r } = En(t, 1440), { quotient: i, remainder: o } = En(r, 60), a = Math.floor(o), u = (s) => Math.abs(s) < 10 ? `0${s}` : s;
79
79
  return [
80
80
  {
81
81
  value: n,
@@ -90,23 +90,23 @@ const yn = (e, t) => ({
90
90
  symbol: "m"
91
91
  }
92
92
  ].map((s) => u(s.value) + s.symbol).join(" ");
93
- }, At = (e, t = "") => ({
93
+ }, It = (e, t = "") => ({
94
94
  class: [e, t].join(" ")
95
- }), En = (r, i, ...o) => Qe(void 0, [r, i, ...o], function* (e, t, n = {}) {
96
- const a = Ve(Te({}, n), {
95
+ }), wn = (r, i, ...o) => $e(void 0, [r, i, ...o], function* (e, t, n = {}) {
96
+ const a = Xe(Te({}, n), {
97
97
  signal: e.signal
98
98
  });
99
99
  let u;
100
100
  return u = yield fetch(t, a), u = yield u.json(), u;
101
101
  });
102
- function pi(e) {
103
- un(e, "svelte-1c53sst", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Info{margin-top:9.181331293px;margin-bottom:9.181331293px}.InfoMobile{margin-top:2.0512820513vw;margin-bottom:1.2820512821vw}.InfoIcon{vertical-align:middle;width:14.6901300689px;height:14.6901300689px}.InfoIconMobile{width:5.1282051282vw;height:5.1282051282vw}.InfoText{vertical-align:middle}.InfoTextMobile{margin-left:1.5384615385vw}');
102
+ function mi(e) {
103
+ hn(e, "svelte-1c53sst", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Info{margin-top:9.181331293px;margin-bottom:9.181331293px}.InfoMobile{margin-top:2.0512820513vw;margin-bottom:1.2820512821vw}.InfoIcon{vertical-align:middle;width:14.6901300689px;height:14.6901300689px}.InfoIconMobile{width:5.1282051282vw;height:5.1282051282vw}.InfoText{vertical-align:middle}.InfoTextMobile{margin-left:1.5384615385vw}');
104
104
  }
105
- function wn(e, t, n) {
105
+ function Tn(e, t, n) {
106
106
  const r = e.slice();
107
107
  return r[6] = t[n], r;
108
108
  }
109
- function Tn(e) {
109
+ function Sn(e) {
110
110
  let t, n, r, i, o, a, u = (
111
111
  /*info*/
112
112
  e[6].text + ""
@@ -137,10 +137,10 @@ function Tn(e) {
137
137
  m = F(m, v[d]);
138
138
  return {
139
139
  c() {
140
- t = I("div"), n = I("img"), o = X(), a = I("span"), f = Y(u), s = X(), _(n, c), _(a, b), _(t, m);
140
+ t = I("div"), n = I("img"), o = X(), a = I("span"), f = K(u), s = X(), _(n, c), _(a, b), _(t, m);
141
141
  },
142
142
  m(d, y) {
143
- M(d, t, y), E(t, n), E(t, o), E(t, a), E(a, f), E(t, s);
143
+ P(d, t, y), E(t, n), E(t, o), E(t, a), E(a, f), E(t, s);
144
144
  },
145
145
  p(d, y) {
146
146
  _(n, c = k(l, [
@@ -149,7 +149,7 @@ function Tn(e) {
149
149
  d[2](`InfoIcon ${/*info*/
150
150
  d[6].key}InfoIcon`),
151
151
  y & /*_infos*/
152
- 2 && !oi(n.src, r = /*info*/
152
+ 2 && !ai(n.src, r = /*info*/
153
153
  d[6].svg) && { src: r },
154
154
  y & /*_infos*/
155
155
  2 && i !== (i = /*info*/
@@ -169,13 +169,13 @@ function Tn(e) {
169
169
  ]));
170
170
  },
171
171
  d(d) {
172
- d && P(t);
172
+ d && M(t);
173
173
  }
174
174
  };
175
175
  }
176
- function mi(e) {
176
+ function gi(e) {
177
177
  let t, n, r;
178
- fn(
178
+ cn(
179
179
  /*onwindowresize*/
180
180
  e[5]
181
181
  );
@@ -184,7 +184,7 @@ function mi(e) {
184
184
  e[1]
185
185
  ), o = [];
186
186
  for (let f = 0; f < i.length; f += 1)
187
- o[f] = Tn(wn(e, i, f));
187
+ o[f] = Sn(Tn(e, i, f));
188
188
  let a = [
189
189
  /*classWithMobile*/
190
190
  e[2]("InfoContainer")
@@ -199,10 +199,10 @@ function mi(e) {
199
199
  _(t, u);
200
200
  },
201
201
  m(f, s) {
202
- M(f, t, s);
202
+ P(f, t, s);
203
203
  for (let l = 0; l < o.length; l += 1)
204
204
  o[l] && o[l].m(t, null);
205
- n || (r = $e(
205
+ n || (r = et(
206
206
  window,
207
207
  "resize",
208
208
  /*onwindowresize*/
@@ -218,8 +218,8 @@ function mi(e) {
218
218
  );
219
219
  let l;
220
220
  for (l = 0; l < i.length; l += 1) {
221
- const c = wn(f, i, l);
222
- o[l] ? o[l].p(c, s) : (o[l] = Tn(c), o[l].c(), o[l].m(t, null));
221
+ const c = Tn(f, i, l);
222
+ o[l] ? o[l].p(c, s) : (o[l] = Sn(c), o[l].c(), o[l].m(t, null));
223
223
  }
224
224
  for (; l < o.length; l += 1)
225
225
  o[l].d(1);
@@ -234,11 +234,11 @@ function mi(e) {
234
234
  i: Pe,
235
235
  o: Pe,
236
236
  d(f) {
237
- f && P(t), ke(o, f), n = !1, r();
237
+ f && M(t), Ue(o, f), n = !1, r();
238
238
  }
239
239
  };
240
240
  }
241
- function gi(e, t, n) {
241
+ function vi(e, t, n) {
242
242
  let r, i, o, { infos: a = "[]" } = t, u;
243
243
  function f() {
244
244
  n(0, u = window.innerWidth);
@@ -251,16 +251,16 @@ function gi(e, t, n) {
251
251
  16 && n(2, i = (s) => {
252
252
  if (r) {
253
253
  const l = s.split(" ").map((c) => `${c}Mobile`).join(" ");
254
- return At(`${s} ${l}`);
254
+ return It(`${s} ${l}`);
255
255
  } else
256
- return At(`${s}`);
256
+ return It(`${s}`);
257
257
  }), e.$$.dirty & /*infos*/
258
258
  8 && n(1, o = JSON.parse(a));
259
259
  }, [u, o, i, a, r, f];
260
260
  }
261
- class vi extends sn {
261
+ class bi extends un {
262
262
  constructor(t) {
263
- super(), ln(this, t, gi, mi, Lt, { infos: 3 }, pi);
263
+ super(), fn(this, t, vi, gi, Pt, { infos: 3 }, mi);
264
264
  }
265
265
  get infos() {
266
266
  return this.$$.ctx[3];
@@ -269,13 +269,13 @@ class vi extends sn {
269
269
  this.$$set({ infos: t }), Se();
270
270
  }
271
271
  }
272
- customElements.define("private-casino-wagering-bonus-info", an(vi, { infos: {} }, [], [], !0));
273
- const Sn = "data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_338)'%3e%3cpath%20d='M12.5%200C5.60762%200%200%205.60762%200%2012.5C0%2019.3924%205.60762%2025%2012.5%2025C19.3924%2025%2025%2019.3924%2025%2012.5C25%205.60762%2019.3924%200%2012.5%200ZM12.5%2023.4375C6.46896%2023.4375%201.56251%2018.531%201.56251%2012.5C1.56251%206.46896%206.46896%201.56251%2012.5%201.56251C18.531%201.56251%2023.4375%206.46896%2023.4375%2012.5C23.4375%2018.531%2018.531%2023.4375%2012.5%2023.4375V23.4375Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M13.2813%204.6875H11.7188V12.8235L16.6351%2017.7398L17.7399%2016.6351L13.2813%2012.1765V4.6875Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_338'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", bi = "data:image/svg+xml,%3csvg%20width='26'%20height='25'%20viewBox='0%200%2026%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_603)'%3e%3cpath%20d='M12.502%200C5.60958%200%200.00195312%205.60762%200.00195312%2012.5C0.00195312%2019.3924%205.60958%2025%2012.502%2025C19.3943%2025%2025.002%2019.3924%2025.002%2012.5C25.002%205.60762%2019.3943%200%2012.502%200ZM12.502%2023.4375C6.47091%2023.4375%201.56446%2018.531%201.56446%2012.5C1.56446%206.46896%206.47091%201.56251%2012.502%201.56251C18.533%201.56251%2023.4394%206.46896%2023.4394%2012.5C23.4394%2018.531%2018.533%2023.4375%2012.502%2023.4375Z'%20fill='black'/%3e%3cpath%20d='M13.2832%204.6875H11.7207V12.8235L16.6371%2017.7398L17.7418%2016.6351L13.2832%2012.1765V4.6875Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_603'%3e%3crect%20width='25'%20height='25'%20fill='white'%20transform='translate(0.00195312)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Bn = "data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_347)'%3e%3cpath%20d='M12.5002%207.5C11.5797%207.5%2010.8335%208.2462%2010.8335%209.16667V23.3333C10.8335%2024.2538%2011.5797%2025%2012.5002%2025C13.4206%2025%2014.1668%2024.2538%2014.1668%2023.3333V9.16667C14.1668%208.2462%2013.4206%207.5%2012.5002%207.5ZM13.3335%2023.3333C13.3335%2023.7936%2012.9604%2024.1667%2012.5002%2024.1667C12.0399%2024.1667%2011.6668%2023.7936%2011.6668%2023.3333V9.16667C11.6668%208.70641%2012.0399%208.33333%2012.5002%208.33333C12.9604%208.33333%2013.3335%208.70641%2013.3335%209.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M7.08317%2012.5C6.1627%2012.5%205.4165%2013.2462%205.4165%2014.1667V23.3333C5.4165%2024.2538%206.1627%2025%207.08317%2025C8.00364%2025%208.74984%2024.2538%208.74984%2023.3333V14.1667C8.74984%2013.2462%208.00364%2012.5%207.08317%2012.5ZM7.9165%2023.3333C7.9165%2023.7936%207.54343%2024.1667%207.08317%2024.1667C6.62291%2024.1667%206.24984%2023.7936%206.24984%2023.3333V14.1667C6.24984%2013.7064%206.62291%2013.3333%207.08317%2013.3333C7.54343%2013.3333%207.9165%2013.7064%207.9165%2014.1667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M1.66667%2018.333C0.746198%2018.333%200%2019.0792%200%2019.9997V23.333C0%2024.2535%200.746198%2024.9997%201.66667%2024.9997C2.58714%2024.9997%203.33333%2024.2535%203.33333%2023.333V19.9997C3.33333%2019.0792%202.58714%2018.333%201.66667%2018.333ZM2.5%2023.333C2.5%2023.7933%202.12693%2024.1663%201.66667%2024.1663C1.20641%2024.1663%200.833333%2023.7933%200.833333%2023.333V19.9997C0.833333%2019.5394%201.20641%2019.1663%201.66667%2019.1663C2.12693%2019.1663%202.5%2019.5394%202.5%2019.9997V23.333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M17.9167%202.5C16.9962%202.5%2016.25%203.2462%2016.25%204.16667V23.3333C16.25%2024.2538%2016.9962%2025%2017.9167%2025C18.8371%2025%2019.5833%2024.2538%2019.5833%2023.3333V4.16667C19.5833%203.2462%2018.8371%202.5%2017.9167%202.5ZM18.75%2023.3333C18.75%2023.7936%2018.3769%2024.1667%2017.9167%2024.1667C17.4564%2024.1667%2017.0833%2023.7936%2017.0833%2023.3333V4.16667C17.0833%203.70641%2017.4564%203.33333%2017.9167%203.33333C18.3769%203.33333%2018.75%203.70641%2018.75%204.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M23.3332%200C22.4127%200%2021.6665%200.746198%2021.6665%201.66667V23.3333C21.6665%2024.2538%2022.4127%2025%2023.3332%2025C24.2536%2025%2024.9998%2024.2538%2024.9998%2023.3333V1.66667C24.9998%200.746198%2024.2536%200%2023.3332%200ZM24.1665%2023.3333C24.1665%2023.7936%2023.7934%2024.1667%2023.3332%2024.1667C22.8729%2024.1667%2022.4998%2023.7936%2022.4998%2023.3333V1.66667C22.4998%201.20641%2022.8729%200.833333%2023.3332%200.833333C23.7934%200.833333%2024.1665%201.20641%2024.1665%201.66667V23.3333Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_347'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
274
- var ie = /* @__PURE__ */ ((e) => (e.claimable = "claimable", e.active = "active", e.completed = "completed", e.forfeited = "forfeited", e.expired = "expired", e.released = "released", e.closed = "closed", e))(ie || {}), bt = /* @__PURE__ */ ((e) => (e.claimable = "claimable", e.active = "active", e.completed = "completed", e))(bt || {}), zt = /* @__PURE__ */ ((e) => (e.standard = "standard", e.freeBet = "freeBet", e.freeRound = "freeRound", e.tournamentTicket = "tournamentTicket", e.oddsBoost = "oddsBoost", e.cashBack = "cashBack", e))(zt || {}), hn = /* @__PURE__ */ ((e) => (e.en = "en", e))(hn || {}), _i = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
275
- function yi(e) {
272
+ customElements.define("private-casino-wagering-bonus-info", ln(bi, { infos: {} }, [], [], !0));
273
+ const Bn = "data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_338)'%3e%3cpath%20d='M12.5%200C5.60762%200%200%205.60762%200%2012.5C0%2019.3924%205.60762%2025%2012.5%2025C19.3924%2025%2025%2019.3924%2025%2012.5C25%205.60762%2019.3924%200%2012.5%200ZM12.5%2023.4375C6.46896%2023.4375%201.56251%2018.531%201.56251%2012.5C1.56251%206.46896%206.46896%201.56251%2012.5%201.56251C18.531%201.56251%2023.4375%206.46896%2023.4375%2012.5C23.4375%2018.531%2018.531%2023.4375%2012.5%2023.4375V23.4375Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M13.2813%204.6875H11.7188V12.8235L16.6351%2017.7398L17.7399%2016.6351L13.2813%2012.1765V4.6875Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_338'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", _i = "data:image/svg+xml,%3csvg%20width='26'%20height='25'%20viewBox='0%200%2026%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_603)'%3e%3cpath%20d='M12.502%200C5.60958%200%200.00195312%205.60762%200.00195312%2012.5C0.00195312%2019.3924%205.60958%2025%2012.502%2025C19.3943%2025%2025.002%2019.3924%2025.002%2012.5C25.002%205.60762%2019.3943%200%2012.502%200ZM12.502%2023.4375C6.47091%2023.4375%201.56446%2018.531%201.56446%2012.5C1.56446%206.46896%206.47091%201.56251%2012.502%201.56251C18.533%201.56251%2023.4394%206.46896%2023.4394%2012.5C23.4394%2018.531%2018.533%2023.4375%2012.502%2023.4375Z'%20fill='black'/%3e%3cpath%20d='M13.2832%204.6875H11.7207V12.8235L16.6371%2017.7398L17.7418%2016.6351L13.2832%2012.1765V4.6875Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_603'%3e%3crect%20width='25'%20height='25'%20fill='white'%20transform='translate(0.00195312)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Cn = "data:image/svg+xml,%3csvg%20width='25'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3490_347)'%3e%3cpath%20d='M12.5002%207.5C11.5797%207.5%2010.8335%208.2462%2010.8335%209.16667V23.3333C10.8335%2024.2538%2011.5797%2025%2012.5002%2025C13.4206%2025%2014.1668%2024.2538%2014.1668%2023.3333V9.16667C14.1668%208.2462%2013.4206%207.5%2012.5002%207.5ZM13.3335%2023.3333C13.3335%2023.7936%2012.9604%2024.1667%2012.5002%2024.1667C12.0399%2024.1667%2011.6668%2023.7936%2011.6668%2023.3333V9.16667C11.6668%208.70641%2012.0399%208.33333%2012.5002%208.33333C12.9604%208.33333%2013.3335%208.70641%2013.3335%209.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M7.08317%2012.5C6.1627%2012.5%205.4165%2013.2462%205.4165%2014.1667V23.3333C5.4165%2024.2538%206.1627%2025%207.08317%2025C8.00364%2025%208.74984%2024.2538%208.74984%2023.3333V14.1667C8.74984%2013.2462%208.00364%2012.5%207.08317%2012.5ZM7.9165%2023.3333C7.9165%2023.7936%207.54343%2024.1667%207.08317%2024.1667C6.62291%2024.1667%206.24984%2023.7936%206.24984%2023.3333V14.1667C6.24984%2013.7064%206.62291%2013.3333%207.08317%2013.3333C7.54343%2013.3333%207.9165%2013.7064%207.9165%2014.1667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M1.66667%2018.333C0.746198%2018.333%200%2019.0792%200%2019.9997V23.333C0%2024.2535%200.746198%2024.9997%201.66667%2024.9997C2.58714%2024.9997%203.33333%2024.2535%203.33333%2023.333V19.9997C3.33333%2019.0792%202.58714%2018.333%201.66667%2018.333ZM2.5%2023.333C2.5%2023.7933%202.12693%2024.1663%201.66667%2024.1663C1.20641%2024.1663%200.833333%2023.7933%200.833333%2023.333V19.9997C0.833333%2019.5394%201.20641%2019.1663%201.66667%2019.1663C2.12693%2019.1663%202.5%2019.5394%202.5%2019.9997V23.333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M17.9167%202.5C16.9962%202.5%2016.25%203.2462%2016.25%204.16667V23.3333C16.25%2024.2538%2016.9962%2025%2017.9167%2025C18.8371%2025%2019.5833%2024.2538%2019.5833%2023.3333V4.16667C19.5833%203.2462%2018.8371%202.5%2017.9167%202.5ZM18.75%2023.3333C18.75%2023.7936%2018.3769%2024.1667%2017.9167%2024.1667C17.4564%2024.1667%2017.0833%2023.7936%2017.0833%2023.3333V4.16667C17.0833%203.70641%2017.4564%203.33333%2017.9167%203.33333C18.3769%203.33333%2018.75%203.70641%2018.75%204.16667V23.3333Z'%20fill='%2300AEEF'/%3e%3cpath%20d='M23.3332%200C22.4127%200%2021.6665%200.746198%2021.6665%201.66667V23.3333C21.6665%2024.2538%2022.4127%2025%2023.3332%2025C24.2536%2025%2024.9998%2024.2538%2024.9998%2023.3333V1.66667C24.9998%200.746198%2024.2536%200%2023.3332%200ZM24.1665%2023.3333C24.1665%2023.7936%2023.7934%2024.1667%2023.3332%2024.1667C22.8729%2024.1667%2022.4998%2023.7936%2022.4998%2023.3333V1.66667C22.4998%201.20641%2022.8729%200.833333%2023.3332%200.833333C23.7934%200.833333%2024.1665%201.20641%2024.1665%201.66667V23.3333Z'%20fill='%2300AEEF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3490_347'%3e%3crect%20width='25'%20height='25'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
274
+ var re = /* @__PURE__ */ ((e) => (e.claimable = "claimable", e.active = "active", e.completed = "completed", e.forfeited = "forfeited", e.expired = "expired", e.released = "released", e.closed = "closed", e))(re || {}), _t = /* @__PURE__ */ ((e) => (e.claimable = "claimable", e.active = "active", e.completed = "completed", e))(_t || {}), qt = /* @__PURE__ */ ((e) => (e.standard = "standard", e.freeBet = "freeBet", e.freeRound = "freeRound", e.tournamentTicket = "tournamentTicket", e.oddsBoost = "oddsBoost", e.cashBack = "cashBack", e))(qt || {}), dn = /* @__PURE__ */ ((e) => (e.en = "en", e))(dn || {}), yi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
275
+ function Ei(e) {
276
276
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
277
277
  }
278
- var Jt = { exports: {} };
278
+ var Kt = { exports: {} };
279
279
  /** @license
280
280
  * eventsource.js
281
281
  * Available under MIT License (MIT)
@@ -299,14 +299,14 @@ var Jt = { exports: {} };
299
299
  c = function(g, C) {
300
300
  var A = C.signal;
301
301
  return d(g, { headers: C.headers, credentials: C.credentials, cache: C.cache }).then(function(T) {
302
- var O = T.body.getReader();
303
- return A._reader = O, A._aborted && A._reader.cancel(), {
302
+ var N = T.body.getReader();
303
+ return A._reader = N, A._aborted && A._reader.cancel(), {
304
304
  status: T.status,
305
305
  statusText: T.statusText,
306
306
  headers: T.headers,
307
307
  body: {
308
308
  getReader: function() {
309
- return O;
309
+ return N;
310
310
  }
311
311
  }
312
312
  };
@@ -342,11 +342,11 @@ var Jt = { exports: {} };
342
342
  return 3;
343
343
  throw new Error();
344
344
  }
345
- for (var T = 65533, O = "", R = this.bitsNeeded, U = this.codePoint, ae = 0; ae < g.length; ae += 1) {
346
- var p = g[ae];
347
- R !== 0 && (p < 128 || p > 191 || !C(U << 6 | p & 63, R - 6, A(R, U))) && (R = 0, U = T, O += String.fromCharCode(U)), R === 0 ? (p >= 0 && p <= 127 ? (R = 0, U = p) : p >= 192 && p <= 223 ? (R = 6 * 1, U = p & 31) : p >= 224 && p <= 239 ? (R = 6 * 2, U = p & 15) : p >= 240 && p <= 247 ? (R = 6 * 3, U = p & 7) : (R = 0, U = T), R !== 0 && !C(U, R, A(R, U)) && (R = 0, U = T)) : (R -= 6, U = U << 6 | p & 63), R === 0 && (U <= 65535 ? O += String.fromCharCode(U) : (O += String.fromCharCode(55296 + (U - 65535 - 1 >> 10)), O += String.fromCharCode(56320 + (U - 65535 - 1 & 1023))));
345
+ for (var T = 65533, N = "", R = this.bitsNeeded, U = this.codePoint, oe = 0; oe < g.length; oe += 1) {
346
+ var p = g[oe];
347
+ R !== 0 && (p < 128 || p > 191 || !C(U << 6 | p & 63, R - 6, A(R, U))) && (R = 0, U = T, N += String.fromCharCode(U)), R === 0 ? (p >= 0 && p <= 127 ? (R = 0, U = p) : p >= 192 && p <= 223 ? (R = 6 * 1, U = p & 31) : p >= 224 && p <= 239 ? (R = 6 * 2, U = p & 15) : p >= 240 && p <= 247 ? (R = 6 * 3, U = p & 7) : (R = 0, U = T), R !== 0 && !C(U, R, A(R, U)) && (R = 0, U = T)) : (R -= 6, U = U << 6 | p & 63), R === 0 && (U <= 65535 ? N += String.fromCharCode(U) : (N += String.fromCharCode(55296 + (U - 65535 - 1 >> 10)), N += String.fromCharCode(56320 + (U - 65535 - 1 & 1023))));
348
348
  }
349
- return this.bitsNeeded = R, this.codePoint = U, O;
349
+ return this.bitsNeeded = R, this.codePoint = U, N;
350
350
  };
351
351
  var D = function() {
352
352
  try {
@@ -357,60 +357,60 @@ var Jt = { exports: {} };
357
357
  return !1;
358
358
  };
359
359
  (b == null || v == null || !D()) && (b = y);
360
- var N = function() {
360
+ var O = function() {
361
361
  };
362
362
  function G(g) {
363
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = g, this._sendTimeout = 0, this._abort = N;
363
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = O, this.onload = O, this.onerror = O, this.onreadystatechange = O, this._contentType = "", this._xhr = g, this._sendTimeout = 0, this._abort = O;
364
364
  }
365
365
  G.prototype.open = function(g, C) {
366
366
  this._abort(!0);
367
- var A = this, T = this._xhr, O = 1, R = 0;
367
+ var A = this, T = this._xhr, N = 1, R = 0;
368
368
  this._abort = function(H) {
369
- A._sendTimeout !== 0 && (i(A._sendTimeout), A._sendTimeout = 0), (O === 1 || O === 2 || O === 3) && (O = 4, T.onload = N, T.onerror = N, T.onabort = N, T.onprogress = N, T.onreadystatechange = N, T.abort(), R !== 0 && (i(R), R = 0), H || (A.readyState = 4, A.onabort(null), A.onreadystatechange())), O = 0;
369
+ A._sendTimeout !== 0 && (i(A._sendTimeout), A._sendTimeout = 0), (N === 1 || N === 2 || N === 3) && (N = 4, T.onload = O, T.onerror = O, T.onabort = O, T.onprogress = O, T.onreadystatechange = O, T.abort(), R !== 0 && (i(R), R = 0), H || (A.readyState = 4, A.onabort(null), A.onreadystatechange())), N = 0;
370
370
  };
371
371
  var U = function() {
372
- if (O === 1) {
373
- var H = 0, se = "", Ue = void 0;
372
+ if (N === 1) {
373
+ var H = 0, ae = "", Ge = void 0;
374
374
  if ("contentType" in T)
375
- H = 200, se = "OK", Ue = T.contentType;
375
+ H = 200, ae = "OK", Ge = T.contentType;
376
376
  else
377
377
  try {
378
- H = T.status, se = T.statusText, Ue = T.getResponseHeader("Content-Type");
379
- } catch (pt) {
380
- H = 0, se = "", Ue = void 0;
378
+ H = T.status, ae = T.statusText, Ge = T.getResponseHeader("Content-Type");
379
+ } catch (mt) {
380
+ H = 0, ae = "", Ge = void 0;
381
381
  }
382
- H !== 0 && (O = 2, A.readyState = 2, A.status = H, A.statusText = se, A._contentType = Ue, A.onreadystatechange());
382
+ H !== 0 && (N = 2, A.readyState = 2, A.status = H, A.statusText = ae, A._contentType = Ge, A.onreadystatechange());
383
383
  }
384
- }, ae = function() {
385
- if (U(), O === 2 || O === 3) {
386
- O = 3;
384
+ }, oe = function() {
385
+ if (U(), N === 2 || N === 3) {
386
+ N = 3;
387
387
  var H = "";
388
388
  try {
389
389
  H = T.responseText;
390
- } catch (se) {
390
+ } catch (ae) {
391
391
  }
392
392
  A.readyState = 3, A.responseText = H, A.onprogress();
393
393
  }
394
- }, p = function(H, se) {
395
- if ((se == null || se.preventDefault == null) && (se = {
396
- preventDefault: N
397
- }), ae(), O === 1 || O === 2 || O === 3) {
398
- if (O = 4, R !== 0 && (i(R), R = 0), A.readyState = 4, H === "load")
399
- A.onload(se);
394
+ }, p = function(H, ae) {
395
+ if ((ae == null || ae.preventDefault == null) && (ae = {
396
+ preventDefault: O
397
+ }), oe(), N === 1 || N === 2 || N === 3) {
398
+ if (N = 4, R !== 0 && (i(R), R = 0), A.readyState = 4, H === "load")
399
+ A.onload(ae);
400
400
  else if (H === "error")
401
- A.onerror(se);
401
+ A.onerror(ae);
402
402
  else if (H === "abort")
403
- A.onabort(se);
403
+ A.onabort(ae);
404
404
  else
405
405
  throw new TypeError();
406
406
  A.onreadystatechange();
407
407
  }
408
408
  }, L = function(H) {
409
- T != null && (T.readyState === 4 ? (!("onload" in T) || !("onerror" in T) || !("onabort" in T)) && p(T.responseText === "" ? "error" : "load", H) : T.readyState === 3 ? "onprogress" in T || ae() : T.readyState === 2 && U());
409
+ T != null && (T.readyState === 4 ? (!("onload" in T) || !("onerror" in T) || !("onabort" in T)) && p(T.responseText === "" ? "error" : "load", H) : T.readyState === 3 ? "onprogress" in T || oe() : T.readyState === 2 && U());
410
410
  }, z = function() {
411
411
  R = r(function() {
412
412
  z();
413
- }, 500), T.readyState === 3 && ae();
413
+ }, 500), T.readyState === 3 && oe();
414
414
  };
415
415
  "onload" in T && (T.onload = function(H) {
416
416
  p("load", H);
@@ -418,7 +418,7 @@ var Jt = { exports: {} };
418
418
  p("error", H);
419
419
  }), "onabort" in T && (T.onabort = function(H) {
420
420
  p("abort", H);
421
- }), "onprogress" in T && (T.onprogress = ae), "onreadystatechange" in T && (T.onreadystatechange = function(H) {
421
+ }), "onprogress" in T && (T.onprogress = oe), "onreadystatechange" in T && (T.onreadystatechange = function(H) {
422
422
  L(H);
423
423
  }), ("contentType" in T || !("ontimeout" in o.prototype)) && (C += (C.indexOf("?") === -1 ? "?" : "&") + "padding=true"), T.open(g, C, !0), "readyState" in T && (R = r(function() {
424
424
  z();
@@ -453,25 +453,25 @@ var Jt = { exports: {} };
453
453
  return String.fromCharCode(C.charCodeAt(0) + 32);
454
454
  });
455
455
  }
456
- function te(g) {
456
+ function ee(g) {
457
457
  for (var C = /* @__PURE__ */ Object.create(null), A = g.split(`\r
458
458
  `), T = 0; T < A.length; T += 1) {
459
- var O = A[T], R = O.split(": "), U = R.shift(), ae = R.join(": ");
460
- C[j(U)] = ae;
459
+ var N = A[T], R = N.split(": "), U = R.shift(), oe = R.join(": ");
460
+ C[j(U)] = oe;
461
461
  }
462
462
  this._map = C;
463
463
  }
464
- te.prototype.get = function(g) {
464
+ ee.prototype.get = function(g) {
465
465
  return this._map[j(g)];
466
466
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
467
467
  function W() {
468
468
  }
469
- W.prototype.open = function(g, C, A, T, O, R, U) {
470
- g.open("GET", O);
471
- var ae = 0;
469
+ W.prototype.open = function(g, C, A, T, N, R, U) {
470
+ g.open("GET", N);
471
+ var oe = 0;
472
472
  g.onprogress = function() {
473
- var L = g.responseText, z = L.slice(ae);
474
- ae += z.length, A(z);
473
+ var L = g.responseText, z = L.slice(oe);
474
+ oe += z.length, A(z);
475
475
  }, g.onerror = function(L) {
476
476
  L.preventDefault(), T(new Error("NetworkError"));
477
477
  }, g.onload = function() {
@@ -480,44 +480,44 @@ var Jt = { exports: {} };
480
480
  T(null);
481
481
  }, g.onreadystatechange = function() {
482
482
  if (g.readyState === o.HEADERS_RECEIVED) {
483
- var L = g.status, z = g.statusText, H = g.getResponseHeader("Content-Type"), se = g.getAllResponseHeaders();
484
- C(L, z, H, new te(se));
483
+ var L = g.status, z = g.statusText, H = g.getResponseHeader("Content-Type"), ae = g.getAllResponseHeaders();
484
+ C(L, z, H, new ee(ae));
485
485
  }
486
486
  }, g.withCredentials = R;
487
487
  for (var p in U)
488
488
  Object.prototype.hasOwnProperty.call(U, p) && g.setRequestHeader(p, U[p]);
489
489
  return g.send(), g;
490
490
  };
491
- function le(g) {
491
+ function se(g) {
492
492
  this._headers = g;
493
493
  }
494
- le.prototype.get = function(g) {
494
+ se.prototype.get = function(g) {
495
495
  return this._headers.get(g);
496
496
  };
497
- function fe() {
497
+ function ue() {
498
498
  }
499
- fe.prototype.open = function(g, C, A, T, O, R, U) {
500
- var ae = null, p = new m(), L = p.signal, z = new b();
501
- return c(O, {
499
+ ue.prototype.open = function(g, C, A, T, N, R, U) {
500
+ var oe = null, p = new m(), L = p.signal, z = new b();
501
+ return c(N, {
502
502
  headers: U,
503
503
  credentials: R ? "include" : "same-origin",
504
504
  signal: L,
505
505
  cache: "no-store"
506
506
  }).then(function(H) {
507
- return ae = H.body.getReader(), C(H.status, H.statusText, H.headers.get("Content-Type"), new le(H.headers)), new l(function(se, Ue) {
508
- var pt = function() {
509
- ae.read().then(function(Re) {
507
+ return oe = H.body.getReader(), C(H.status, H.statusText, H.headers.get("Content-Type"), new se(H.headers)), new l(function(ae, Ge) {
508
+ var mt = function() {
509
+ oe.read().then(function(Re) {
510
510
  if (Re.done)
511
- se(void 0);
511
+ ae(void 0);
512
512
  else {
513
513
  var xe = z.decode(Re.value, { stream: !0 });
514
- A(xe), pt();
514
+ A(xe), mt();
515
515
  }
516
516
  }).catch(function(Re) {
517
- Ue(Re);
517
+ Ge(Re);
518
518
  });
519
519
  };
520
- pt();
520
+ mt();
521
521
  });
522
522
  }).catch(function(H) {
523
523
  if (H.name !== "AbortError")
@@ -526,87 +526,87 @@ var Jt = { exports: {} };
526
526
  T(H);
527
527
  }), {
528
528
  abort: function() {
529
- ae != null && ae.cancel(), p.abort();
529
+ oe != null && oe.cancel(), p.abort();
530
530
  }
531
531
  };
532
532
  };
533
- function ne() {
533
+ function te() {
534
534
  this._listeners = /* @__PURE__ */ Object.create(null);
535
535
  }
536
- function he(g) {
536
+ function fe(g) {
537
537
  r(function() {
538
538
  throw g;
539
539
  }, 0);
540
540
  }
541
- ne.prototype.dispatchEvent = function(g) {
541
+ te.prototype.dispatchEvent = function(g) {
542
542
  g.target = this;
543
543
  var C = this._listeners[g.type];
544
544
  if (C != null)
545
545
  for (var A = C.length, T = 0; T < A; T += 1) {
546
- var O = C[T];
546
+ var N = C[T];
547
547
  try {
548
- typeof O.handleEvent == "function" ? O.handleEvent(g) : O.call(this, g);
548
+ typeof N.handleEvent == "function" ? N.handleEvent(g) : N.call(this, g);
549
549
  } catch (R) {
550
- he(R);
550
+ fe(R);
551
551
  }
552
552
  }
553
- }, ne.prototype.addEventListener = function(g, C) {
553
+ }, te.prototype.addEventListener = function(g, C) {
554
554
  g = String(g);
555
555
  var A = this._listeners, T = A[g];
556
556
  T == null && (T = [], A[g] = T);
557
- for (var O = !1, R = 0; R < T.length; R += 1)
558
- T[R] === C && (O = !0);
559
- O || T.push(C);
560
- }, ne.prototype.removeEventListener = function(g, C) {
557
+ for (var N = !1, R = 0; R < T.length; R += 1)
558
+ T[R] === C && (N = !0);
559
+ N || T.push(C);
560
+ }, te.prototype.removeEventListener = function(g, C) {
561
561
  g = String(g);
562
562
  var A = this._listeners, T = A[g];
563
563
  if (T != null) {
564
- for (var O = [], R = 0; R < T.length; R += 1)
565
- T[R] !== C && O.push(T[R]);
566
- O.length === 0 ? delete A[g] : A[g] = O;
564
+ for (var N = [], R = 0; R < T.length; R += 1)
565
+ T[R] !== C && N.push(T[R]);
566
+ N.length === 0 ? delete A[g] : A[g] = N;
567
567
  }
568
568
  };
569
569
  function q(g) {
570
570
  this.type = g, this.target = void 0;
571
571
  }
572
- function Q(g, C) {
572
+ function Y(g, C) {
573
573
  q.call(this, g), this.data = C.data, this.lastEventId = C.lastEventId;
574
574
  }
575
- Q.prototype = Object.create(q.prototype);
576
- function $(g, C) {
575
+ Y.prototype = Object.create(q.prototype);
576
+ function Q(g, C) {
577
577
  q.call(this, g), this.status = C.status, this.statusText = C.statusText, this.headers = C.headers;
578
578
  }
579
- $.prototype = Object.create(q.prototype);
579
+ Q.prototype = Object.create(q.prototype);
580
580
  function me(g, C) {
581
581
  q.call(this, g), this.error = C.error;
582
582
  }
583
583
  me.prototype = Object.create(q.prototype);
584
- var ce = -1, w = 0, S = 1, x = 2, Z = -1, de = 0, Ee = 1, B = 2, ee = 3, we = /^text\/event\-stream(;.*)?$/i, oe = 1e3, re = 18e6, De = function(g, C) {
584
+ var ce = -1, w = 0, S = 1, x = 2, Z = -1, de = 0, Ee = 1, B = 2, $ = 3, we = /^text\/event\-stream(;.*)?$/i, ie = 1e3, ne = 18e6, De = function(g, C) {
585
585
  var A = g == null ? C : parseInt(g, 10);
586
- return A !== A && (A = C), Xe(A);
587
- }, Xe = function(g) {
588
- return Math.min(Math.max(g, oe), re);
586
+ return A !== A && (A = C), Ze(A);
587
+ }, Ze = function(g) {
588
+ return Math.min(Math.max(g, ie), ne);
589
589
  }, Fe = function(g, C, A) {
590
590
  try {
591
591
  typeof C == "function" && C.call(g, A);
592
592
  } catch (T) {
593
- he(T);
593
+ fe(T);
594
594
  }
595
595
  };
596
596
  function be(g, C) {
597
- ne.call(this), C = C || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ce(this, g, C);
597
+ te.call(this), C = C || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ce(this, g, C);
598
598
  }
599
- function Ze() {
599
+ function ze() {
600
600
  return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
601
601
  }
602
602
  var _e = c != null && h != null && "body" in h.prototype;
603
603
  function Ce(g, C, A) {
604
604
  C = String(C);
605
- var T = !!A.withCredentials, O = A.lastEventIdQueryParameterName || "lastEventId", R = Xe(1e3), U = De(A.heartbeatTimeout, 45e3), ae = "", p = R, L = !1, z = 0, H = A.headers || {}, se = A.Transport, Ue = _e && se == null ? void 0 : new G(se != null ? new se() : Ze()), pt = se != null && typeof se != "string" ? new se() : Ue == null ? new fe() : new W(), Re = void 0, xe = 0, Ne = ce, nt = "", Et = "", Ge = "", wt = "", Ae = de, Ft = 0, Ye = 0, ei = function(ve, ge, Le, Me) {
606
- if (Ne === w)
605
+ var T = !!A.withCredentials, N = A.lastEventIdQueryParameterName || "lastEventId", R = Ze(1e3), U = De(A.heartbeatTimeout, 45e3), oe = "", p = R, L = !1, z = 0, H = A.headers || {}, ae = A.Transport, Ge = _e && ae == null ? void 0 : new G(ae != null ? new ae() : ze()), mt = ae != null && typeof ae != "string" ? new ae() : Ge == null ? new ue() : new W(), Re = void 0, xe = 0, Oe = ce, rt = "", wt = "", je = "", Tt = "", Ae = de, Ut = 0, Qe = 0, ti = function(ve, ge, Le, Me) {
606
+ if (Oe === w)
607
607
  if (ve === 200 && Le != null && we.test(Le)) {
608
- Ne = S, L = Date.now(), p = R, g.readyState = S;
609
- var Ie = new $("open", {
608
+ Oe = S, L = Date.now(), p = R, g.readyState = S;
609
+ var Ie = new Q("open", {
610
610
  status: ve,
611
611
  statusText: ge,
612
612
  headers: Me
@@ -614,131 +614,131 @@ var Jt = { exports: {} };
614
614
  g.dispatchEvent(Ie), Fe(g, g.onopen, Ie);
615
615
  } else {
616
616
  var ye = "";
617
- ve !== 200 ? (ge && (ge = ge.replace(/\s+/g, " ")), ye = "EventSource's response has a status " + ve + " " + ge + " that is not 200. Aborting the connection.") : ye = "EventSource's response has a Content-Type specifying an unsupported type: " + (Le == null ? "-" : Le.replace(/\s+/g, " ")) + ". Aborting the connection.", kt();
618
- var Ie = new $("error", {
617
+ ve !== 200 ? (ge && (ge = ge.replace(/\s+/g, " ")), ye = "EventSource's response has a status " + ve + " " + ge + " that is not 200. Aborting the connection.") : ye = "EventSource's response has a Content-Type specifying an unsupported type: " + (Le == null ? "-" : Le.replace(/\s+/g, " ")) + ". Aborting the connection.", Gt();
618
+ var Ie = new Q("error", {
619
619
  status: ve,
620
620
  statusText: ge,
621
621
  headers: Me
622
622
  });
623
623
  g.dispatchEvent(Ie), Fe(g, g.onerror, Ie), console.error(ye);
624
624
  }
625
- }, ti = function(ve) {
626
- if (Ne === S) {
625
+ }, ni = function(ve) {
626
+ if (Oe === S) {
627
627
  for (var ge = -1, Le = 0; Le < ve.length; Le += 1) {
628
628
  var Me = ve.charCodeAt(Le);
629
629
  (Me === 10 || Me === 13) && (ge = Le);
630
630
  }
631
- var Ie = (ge !== -1 ? wt : "") + ve.slice(0, ge + 1);
632
- wt = (ge === -1 ? wt : "") + ve.slice(ge + 1), ve !== "" && (L = Date.now(), z += ve.length);
631
+ var Ie = (ge !== -1 ? Tt : "") + ve.slice(0, ge + 1);
632
+ Tt = (ge === -1 ? Tt : "") + ve.slice(ge + 1), ve !== "" && (L = Date.now(), z += ve.length);
633
633
  for (var ye = 0; ye < Ie.length; ye += 1) {
634
634
  var Me = Ie.charCodeAt(ye);
635
635
  if (Ae === Z && Me === 10)
636
636
  Ae = de;
637
637
  else if (Ae === Z && (Ae = de), Me === 13 || Me === 10) {
638
638
  if (Ae !== de) {
639
- Ae === Ee && (Ye = ye + 1);
640
- var je = Ie.slice(Ft, Ye - 1), We = Ie.slice(Ye + (Ye < ye && Ie.charCodeAt(Ye) === 32 ? 1 : 0), ye);
641
- je === "data" ? (nt += `
642
- `, nt += We) : je === "id" ? Et = We : je === "event" ? Ge = We : je === "retry" ? (R = De(We, R), p = R) : je === "heartbeatTimeout" && (U = De(We, U), xe !== 0 && (i(xe), xe = r(function() {
643
- mt();
639
+ Ae === Ee && (Qe = ye + 1);
640
+ var We = Ie.slice(Ut, Qe - 1), Ve = Ie.slice(Qe + (Qe < ye && Ie.charCodeAt(Qe) === 32 ? 1 : 0), ye);
641
+ We === "data" ? (rt += `
642
+ `, rt += Ve) : We === "id" ? wt = Ve : We === "event" ? je = Ve : We === "retry" ? (R = De(Ve, R), p = R) : We === "heartbeatTimeout" && (U = De(Ve, U), xe !== 0 && (i(xe), xe = r(function() {
643
+ gt();
644
644
  }, U)));
645
645
  }
646
646
  if (Ae === de) {
647
- if (nt !== "") {
648
- ae = Et, Ge === "" && (Ge = "message");
649
- var rt = new Q(Ge, {
650
- data: nt.slice(1),
651
- lastEventId: Et
647
+ if (rt !== "") {
648
+ oe = wt, je === "" && (je = "message");
649
+ var it = new Y(je, {
650
+ data: rt.slice(1),
651
+ lastEventId: wt
652
652
  });
653
- if (g.dispatchEvent(rt), Ge === "open" ? Fe(g, g.onopen, rt) : Ge === "message" ? Fe(g, g.onmessage, rt) : Ge === "error" && Fe(g, g.onerror, rt), Ne === x)
653
+ if (g.dispatchEvent(it), je === "open" ? Fe(g, g.onopen, it) : je === "message" ? Fe(g, g.onmessage, it) : je === "error" && Fe(g, g.onerror, it), Oe === x)
654
654
  return;
655
655
  }
656
- nt = "", Ge = "";
656
+ rt = "", je = "";
657
657
  }
658
658
  Ae = Me === 13 ? Z : de;
659
659
  } else
660
- Ae === de && (Ft = ye, Ae = Ee), Ae === Ee ? Me === 58 && (Ye = ye + 1, Ae = B) : Ae === B && (Ae = ee);
660
+ Ae === de && (Ut = ye, Ae = Ee), Ae === Ee ? Me === 58 && (Qe = ye + 1, Ae = B) : Ae === B && (Ae = $);
661
661
  }
662
662
  }
663
- }, mn = function(ve) {
664
- if (Ne === S || Ne === w) {
665
- Ne = ce, xe !== 0 && (i(xe), xe = 0), xe = r(function() {
666
- mt();
667
- }, p), p = Xe(Math.min(R * 16, p * 2)), g.readyState = w;
663
+ }, gn = function(ve) {
664
+ if (Oe === S || Oe === w) {
665
+ Oe = ce, xe !== 0 && (i(xe), xe = 0), xe = r(function() {
666
+ gt();
667
+ }, p), p = Ze(Math.min(R * 16, p * 2)), g.readyState = w;
668
668
  var ge = new me("error", { error: ve });
669
669
  g.dispatchEvent(ge), Fe(g, g.onerror, ge), ve != null && console.error(ve);
670
670
  }
671
- }, kt = function() {
672
- Ne = x, Re != null && (Re.abort(), Re = void 0), xe !== 0 && (i(xe), xe = 0), g.readyState = x;
673
- }, mt = function() {
674
- if (xe = 0, Ne !== ce) {
671
+ }, Gt = function() {
672
+ Oe = x, Re != null && (Re.abort(), Re = void 0), xe !== 0 && (i(xe), xe = 0), g.readyState = x;
673
+ }, gt = function() {
674
+ if (xe = 0, Oe !== ce) {
675
675
  if (!L && Re != null)
676
- mn(new Error("No activity within " + U + " milliseconds. " + (Ne === w ? "No response received." : z + " chars received.") + " Reconnecting.")), Re != null && (Re.abort(), Re = void 0);
676
+ gn(new Error("No activity within " + U + " milliseconds. " + (Oe === w ? "No response received." : z + " chars received.") + " Reconnecting.")), Re != null && (Re.abort(), Re = void 0);
677
677
  else {
678
678
  var ve = Math.max((L || Date.now()) + U - Date.now(), 1);
679
679
  L = !1, xe = r(function() {
680
- mt();
680
+ gt();
681
681
  }, ve);
682
682
  }
683
683
  return;
684
684
  }
685
685
  L = !1, z = 0, xe = r(function() {
686
- mt();
687
- }, U), Ne = w, nt = "", Ge = "", Et = ae, wt = "", Ft = 0, Ye = 0, Ae = de;
686
+ gt();
687
+ }, U), Oe = w, rt = "", je = "", wt = oe, Tt = "", Ut = 0, Qe = 0, Ae = de;
688
688
  var ge = C;
689
- if (C.slice(0, 5) !== "data:" && C.slice(0, 5) !== "blob:" && ae !== "") {
689
+ if (C.slice(0, 5) !== "data:" && C.slice(0, 5) !== "blob:" && oe !== "") {
690
690
  var Le = C.indexOf("?");
691
- ge = Le === -1 ? C : C.slice(0, Le + 1) + C.slice(Le + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(We, rt) {
692
- return rt === O ? "" : We;
693
- }), ge += (C.indexOf("?") === -1 ? "?" : "&") + O + "=" + encodeURIComponent(ae);
691
+ ge = Le === -1 ? C : C.slice(0, Le + 1) + C.slice(Le + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ve, it) {
692
+ return it === N ? "" : Ve;
693
+ }), ge += (C.indexOf("?") === -1 ? "?" : "&") + N + "=" + encodeURIComponent(oe);
694
694
  }
695
695
  var Me = g.withCredentials, Ie = {};
696
696
  Ie.Accept = "text/event-stream";
697
697
  var ye = g.headers;
698
698
  if (ye != null)
699
- for (var je in ye)
700
- Object.prototype.hasOwnProperty.call(ye, je) && (Ie[je] = ye[je]);
699
+ for (var We in ye)
700
+ Object.prototype.hasOwnProperty.call(ye, We) && (Ie[We] = ye[We]);
701
701
  try {
702
- Re = pt.open(Ue, ei, ti, mn, ge, Me, Ie);
703
- } catch (We) {
704
- throw kt(), We;
702
+ Re = mt.open(Ge, ti, ni, gn, ge, Me, Ie);
703
+ } catch (Ve) {
704
+ throw Gt(), Ve;
705
705
  }
706
706
  };
707
- g.url = C, g.readyState = w, g.withCredentials = T, g.headers = H, g._close = kt, mt();
707
+ g.url = C, g.readyState = w, g.withCredentials = T, g.headers = H, g._close = Gt, gt();
708
708
  }
709
- be.prototype = Object.create(ne.prototype), be.prototype.CONNECTING = w, be.prototype.OPEN = S, be.prototype.CLOSED = x, be.prototype.close = function() {
709
+ be.prototype = Object.create(te.prototype), be.prototype.CONNECTING = w, be.prototype.OPEN = S, be.prototype.CLOSED = x, be.prototype.close = function() {
710
710
  this._close();
711
711
  }, be.CONNECTING = w, be.OPEN = S, be.CLOSED = x, be.prototype.withCredentials = void 0;
712
- var tt = f;
713
- o != null && (f == null || !("withCredentials" in f.prototype)) && (tt = be), function(g) {
712
+ var nt = f;
713
+ o != null && (f == null || !("withCredentials" in f.prototype)) && (nt = be), function(g) {
714
714
  {
715
715
  var C = g(t);
716
716
  C !== void 0 && (e.exports = C);
717
717
  }
718
718
  }(function(g) {
719
- g.EventSourcePolyfill = be, g.NativeEventSource = f, g.EventSource = tt;
719
+ g.EventSourcePolyfill = be, g.NativeEventSource = f, g.EventSource = nt;
720
720
  });
721
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : _i : globalThis);
722
- })(Jt, Jt.exports);
723
- var Ei = Jt.exports;
724
- const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) => {
721
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : yi : globalThis);
722
+ })(Kt, Kt.exports);
723
+ var wi = Kt.exports;
724
+ const Je = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) => {
725
725
  Object.keys(e).map((r) => {
726
726
  if (n.data && n.data.type == r) {
727
- const i = n.data, { type: o } = i, a = gt(i, ["type"]);
727
+ const i = n.data, { type: o } = i, a = vt(i, ["type"]);
728
728
  e[r](a);
729
729
  }
730
730
  });
731
- }, Tr = (e) => {
732
- const t = wi(e);
733
- xt(() => (window.addEventListener("message", t), () => {
731
+ }, Sr = (e) => {
732
+ const t = Ti(e);
733
+ At(() => (window.addEventListener("message", t), () => {
734
734
  window.removeEventListener("message", t);
735
735
  }));
736
- }, Ut = (e, t) => {
736
+ }, jt = (e, t) => {
737
737
  e && (e.removeEventListener("message", t), e.close());
738
- }, Ti = (e, t, n) => {
738
+ }, Si = (e, t, n) => {
739
739
  let r;
740
- return EventSource ? r = new EventSource(e, t) : r = new Ei.EventSourcePolyfill(e, t), r.addEventListener("message", n), r;
741
- }, Si = (e) => (n) => {
740
+ return EventSource ? r = new EventSource(e, t) : r = new wi.EventSourcePolyfill(e, t), r.addEventListener("message", n), r;
741
+ }, Bi = (e) => (n) => {
742
742
  const r = n.data;
743
743
  if (r)
744
744
  try {
@@ -747,14 +747,14 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
747
747
  return;
748
748
  Object.keys(e).map((o) => {
749
749
  if (i.messageType == o) {
750
- const a = i, { messageType: u } = a, f = gt(a, ["messageType"]);
750
+ const a = i, { messageType: u } = a, f = vt(a, ["messageType"]);
751
751
  e[o](f);
752
752
  }
753
753
  });
754
754
  } catch (i) {
755
755
  console.error(i);
756
756
  }
757
- }, Sr = (e) => Bi[e], Bi = {
757
+ }, Br = (e) => Ci[e], Ci = {
758
758
  AED: "د.إ",
759
759
  AFN: "؋",
760
760
  ALL: "L",
@@ -925,7 +925,7 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
925
925
  YER: "﷼",
926
926
  ZAR: "R",
927
927
  ZWD: "Z$"
928
- }, Ci = (e) => {
928
+ }, xi = (e) => {
929
929
  const t = window.BigInt;
930
930
  if (!e || e == null || e.length === 0)
931
931
  return;
@@ -940,60 +940,60 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
940
940
  ),
941
941
  maxId: n.toString()
942
942
  };
943
- }, xi = (e, t) => JSON.stringify(
943
+ }, Ai = (e, t) => JSON.stringify(
944
944
  e.map((n) => ({
945
945
  bonusWalletID: n.id,
946
946
  progressID: t[n.id] || 0
947
947
  }))
948
- ), Ai = (e, t, n, r, i) => {
949
- const o = n.filter((s) => Ii(s));
948
+ ), Ii = (e, t, n, r, i) => {
949
+ const o = n.filter((s) => Hi(s));
950
950
  if (!o.length)
951
951
  return;
952
952
  const a = {
953
- walletFilter: xi(o, i),
953
+ walletFilter: Ai(o, i),
954
954
  XSessionId: t,
955
955
  HeartBeat: !0
956
- }, u = `${e}/v1/bonus/wagering/updates?${hi(a)}`;
957
- return Ti(u, {
956
+ }, u = `${e}/v1/bonus/wagering/updates?${ci(a)}`;
957
+ return Si(u, {
958
958
  headers: {
959
959
  accept: "text/event-stream"
960
960
  }
961
961
  }, r);
962
- }, It = (e, t) => {
962
+ }, Ht = (e, t) => {
963
963
  switch (e) {
964
- case ie.completed:
965
- case ie.released:
966
- case ie.expired:
967
- case ie.closed:
968
- case ie.forfeited:
964
+ case re.completed:
965
+ case re.released:
966
+ case re.expired:
967
+ case re.closed:
968
+ case re.forfeited:
969
969
  return t.other();
970
- case ie.active:
970
+ case re.active:
971
971
  return t.active();
972
972
  case void 0:
973
973
  return t.active();
974
974
  default:
975
975
  throw new Error(`unknown Bonus Status: ${e}`);
976
976
  }
977
- }, Br = (e, t) => {
977
+ }, Cr = (e, t) => {
978
978
  switch (e) {
979
- case ie.completed:
980
- case ie.released:
979
+ case re.completed:
980
+ case re.released:
981
981
  return t.completed();
982
- case ie.active:
983
- case ie.expired:
984
- case ie.closed:
985
- case ie.forfeited:
982
+ case re.active:
983
+ case re.expired:
984
+ case re.closed:
985
+ case re.forfeited:
986
986
  return t.current();
987
987
  default:
988
988
  throw new Error(`unknown Bonus Status: ${e}`);
989
989
  }
990
- }, Cr = {
991
- list: (i, o, a, ...u) => Qe(void 0, [i, o, a, ...u], function* (e, t, n, r = {}) {
990
+ }, xr = {
991
+ list: (i, o, a, ...u) => $e(void 0, [i, o, a, ...u], function* (e, t, n, r = {}) {
992
992
  const m = r, {
993
993
  limit: f,
994
994
  lang: s,
995
995
  status: l
996
- } = m, c = gt(m, [
996
+ } = m, c = vt(m, [
997
997
  "limit",
998
998
  "lang",
999
999
  "status"
@@ -1001,9 +1001,9 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
1001
1001
  type: "wagering",
1002
1002
  pagination: `limit=${f || 50},offset=0`,
1003
1003
  language: s
1004
- }, !l || l === ie.claimable ? {} : { status: l }), c), b = (() => {
1004
+ }, !l || l === re.claimable ? {} : { status: l }), c), b = (() => {
1005
1005
  switch (l) {
1006
- case ie.claimable:
1006
+ case re.claimable:
1007
1007
  return "claimable";
1008
1008
  default:
1009
1009
  return "granted";
@@ -1011,12 +1011,12 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
1011
1011
  })(), v = new URL(`${t}/v1/bonus/${b}`);
1012
1012
  return Object.keys(h).map((d) => {
1013
1013
  v.searchParams.append(d, h[d]);
1014
- }), yield En(e, v, {
1014
+ }), yield wn(e, v, {
1015
1015
  headers: Te({}, n ? { "x-SessionId": n } : {})
1016
1016
  });
1017
1017
  }),
1018
- start: (e, t, n, r, i) => Qe(void 0, null, function* () {
1019
- return yield En(e, t + "/v1/bonus/claim", {
1018
+ start: (e, t, n, r, i) => $e(void 0, null, function* () {
1019
+ return yield wn(e, t + "/v1/bonus/claim", {
1020
1020
  method: "PUT",
1021
1021
  body: JSON.stringify({
1022
1022
  bonusCode: r,
@@ -1029,31 +1029,31 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
1029
1029
  }
1030
1030
  });
1031
1031
  })
1032
- }, Ii = (e) => e.bonusWalletID ? It(e.status, {
1032
+ }, Hi = (e) => e.bonusWalletID ? Ht(e.status, {
1033
1033
  active: () => !0,
1034
1034
  other: () => !1
1035
- }) : !1, qt = (e, t, n) => {
1035
+ }) : !1, Yt = (e, t, n) => {
1036
1036
  switch (t.type) {
1037
- case zt.standard:
1038
- case zt.freeBet: {
1039
- const r = Ve(Te({}, t), {
1040
- currency: Sr(Object.keys(e.increment)[0])
1037
+ case qt.standard:
1038
+ case qt.freeBet: {
1039
+ const r = Xe(Te({}, t), {
1040
+ currency: Br(Object.keys(e.increment)[0])
1041
1041
  });
1042
1042
  return t.mode === "percentage" && (r.bonusAmount = r.bonusAmount * 100), t.type === "freeBet" && t.mode === "fixed" && (r.currency = ""), n(`reward.${t.mode}`, r) + " " + n(`reward.${t.type}`);
1043
1043
  }
1044
1044
  default:
1045
1045
  return n(`reward.${t.type}`, t);
1046
1046
  }
1047
- }, Cn = (e, t, n) => {
1047
+ }, xn = (e, t, n) => {
1048
1048
  var a;
1049
1049
  const r = ((a = e.wageringProgress) == null ? void 0 : a.currentLevel) - 1, i = t.length - 1, o = (u) => u.filter((f) => f.index >= 0 && f.index <= i).map((f) => {
1050
1050
  const s = t[f.index];
1051
1051
  return {
1052
1052
  key: f.key,
1053
- descriptions: s.bonuses.map((l) => qt(s, l, n))
1053
+ descriptions: s.bonuses.map((l) => Yt(s, l, n))
1054
1054
  };
1055
1055
  });
1056
- return It(e.status, {
1056
+ return Ht(e.status, {
1057
1057
  active: () => {
1058
1058
  if (e.status)
1059
1059
  return o(
@@ -1091,20 +1091,20 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
1091
1091
  }
1092
1092
  ])
1093
1093
  });
1094
- }, Hi = (e) => {
1094
+ }, Ri = (e) => {
1095
1095
  const t = [];
1096
1096
  return e.map((n) => {
1097
- const o = n, { maxRepeats: r } = o, i = gt(o, ["maxRepeats"]);
1097
+ const o = n, { maxRepeats: r } = o, i = vt(o, ["maxRepeats"]);
1098
1098
  if (r > 0)
1099
1099
  for (let a = 0; a < r; a++)
1100
1100
  t.push(Te({}, i));
1101
1101
  else
1102
1102
  t.push(Te({}, i));
1103
1103
  }), t;
1104
- }, xn = (e, t) => {
1104
+ }, An = (e, t) => {
1105
1105
  if (!e.wageringProgress)
1106
1106
  return;
1107
- const { currency: n, currentLevelIncrement: r, gap: i, currentLevel: o } = e.wageringProgress, a = Sr(n), u = t[o - 1];
1107
+ const { currency: n, currentLevelIncrement: r, gap: i, currentLevel: o } = e.wageringProgress, a = Br(n), u = t[o - 1];
1108
1108
  return {
1109
1109
  currencySymbol: a,
1110
1110
  levelInfo: u,
@@ -1113,22 +1113,22 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
1113
1113
  gap: i,
1114
1114
  currentLevel: o
1115
1115
  };
1116
- }, An = (e) => {
1116
+ }, In = (e) => {
1117
1117
  if (!e.wageringProgress)
1118
1118
  return 0;
1119
1119
  const { currentLevelIncrement: t, gap: n } = e.wageringProgress;
1120
1120
  return (t - n).toFixed(2);
1121
- }, In = (e) => Br(e.status, {
1121
+ }, Hn = (e) => Cr(e.status, {
1122
1122
  completed: () => "100",
1123
1123
  current: () => {
1124
1124
  if (!e.wageringProgress)
1125
1125
  return "0";
1126
- const { currentLevelIncrement: t, gap: n } = e.wageringProgress, r = Number(ci(t, n));
1126
+ const { currentLevelIncrement: t, gap: n } = e.wageringProgress, r = Number(di(t, n));
1127
1127
  return String(Math.ceil(r / t * 100));
1128
1128
  }
1129
- }), xr = (e, t, n) => e.levels.find((r) => r.maxRepeats === 0) ? t : n, Ri = (e, t) => {
1130
- const n = xr(e, "∞", t.length);
1131
- return Br(e.status, {
1129
+ }), Ar = (e, t, n) => e.levels.find((r) => r.maxRepeats === 0) ? t : n, Li = (e, t) => {
1130
+ const n = Ar(e, "∞", t.length);
1131
+ return Cr(e.status, {
1132
1132
  completed: () => ({
1133
1133
  text: t.length,
1134
1134
  textWithLength: `${t.length}/${t.length}`
@@ -1146,47 +1146,47 @@ const ze = (e) => window.postMessage(e, window.location.href), wi = (e) => (n) =
1146
1146
  };
1147
1147
  }
1148
1148
  });
1149
- }, Hn = (e, t, n, r) => {
1149
+ }, Rn = (e, t, n, r) => {
1150
1150
  if (!e)
1151
1151
  return;
1152
- const i = wr(e);
1153
- i < 0 ? n() : (r(di(e)), i < t && setTimeout(() => {
1154
- ze({ type: "OnWageringBonusExpired" });
1152
+ const i = Tr(e);
1153
+ i < 0 ? n() : (r(pi(e)), i < t && setTimeout(() => {
1154
+ Je({ type: "OnWageringBonusExpired" });
1155
1155
  }, i));
1156
- }, Li = (e) => {
1156
+ }, Mi = (e) => {
1157
1157
  switch (e) {
1158
1158
  case "active":
1159
- return ie.active;
1159
+ return re.active;
1160
1160
  case "completed":
1161
1161
  return [
1162
- ie.expired,
1163
- ie.forfeited,
1164
- ie.released,
1165
- ie.completed,
1166
- ie.closed
1162
+ re.expired,
1163
+ re.forfeited,
1164
+ re.released,
1165
+ re.completed,
1166
+ re.closed
1167
1167
  ].join(",");
1168
1168
  }
1169
- }, Rn = (e, t, n) => {
1169
+ }, Ln = (e, t, n) => {
1170
1170
  const r = e === 0 ? 0 : n.levels[e - 1].maxRepeats - 1;
1171
1171
  return t.maxRepeats > 1 ? `${e + 1 + r}-${e + 1 + r + t.maxRepeats - 1}` : e + 1 + r;
1172
- }, ot = [];
1173
- function Mi(e, t) {
1172
+ }, at = [];
1173
+ function Pi(e, t) {
1174
1174
  return {
1175
- subscribe: Mt(e, t).subscribe
1175
+ subscribe: Ot(e, t).subscribe
1176
1176
  };
1177
1177
  }
1178
- function Mt(e, t = Pe) {
1178
+ function Ot(e, t = Pe) {
1179
1179
  let n;
1180
1180
  const r = /* @__PURE__ */ new Set();
1181
1181
  function i(u) {
1182
- if (Lt(e, u) && (e = u, n)) {
1183
- const f = !ot.length;
1182
+ if (Pt(e, u) && (e = u, n)) {
1183
+ const f = !at.length;
1184
1184
  for (const s of r)
1185
- s[1](), ot.push(s, e);
1185
+ s[1](), at.push(s, e);
1186
1186
  if (f) {
1187
- for (let s = 0; s < ot.length; s += 2)
1188
- ot[s][0](ot[s + 1]);
1189
- ot.length = 0;
1187
+ for (let s = 0; s < at.length; s += 2)
1188
+ at[s][0](at[s + 1]);
1189
+ at.length = 0;
1190
1190
  }
1191
1191
  }
1192
1192
  }
@@ -1201,12 +1201,12 @@ function Mt(e, t = Pe) {
1201
1201
  }
1202
1202
  return { set: i, update: o, subscribe: a };
1203
1203
  }
1204
- function ht(e, t, n) {
1204
+ function ct(e, t, n) {
1205
1205
  const r = !Array.isArray(e), i = r ? [e] : e;
1206
1206
  if (!i.every(Boolean))
1207
1207
  throw new Error("derived() expects stores as input, got a falsy value");
1208
1208
  const o = t.length < 2;
1209
- return Mi(n, (a, u) => {
1209
+ return Pi(n, (a, u) => {
1210
1210
  let f = !1;
1211
1211
  const s = [];
1212
1212
  let l = 0, c = Pe;
@@ -1215,9 +1215,9 @@ function ht(e, t, n) {
1215
1215
  return;
1216
1216
  c();
1217
1217
  const v = t(r ? s[0] : s, a, u);
1218
- o ? a(v) : c = li(v) ? v : Pe;
1218
+ o ? a(v) : c = ui(v) ? v : Pe;
1219
1219
  }, b = i.map(
1220
- (v, m) => ai(
1220
+ (v, m) => si(
1221
1221
  v,
1222
1222
  (d) => {
1223
1223
  s[m] = d, l &= ~(1 << m), f && h();
@@ -1228,123 +1228,109 @@ function ht(e, t, n) {
1228
1228
  )
1229
1229
  );
1230
1230
  return f = !0, h(), function() {
1231
- si(b), c(), f = !1;
1231
+ li(b), c(), f = !1;
1232
1232
  };
1233
1233
  });
1234
1234
  }
1235
- var Pi = function(t) {
1236
- return Ni(t) && !Oi(t);
1235
+ var Oi = function(t) {
1236
+ return Ni(t) && !Di(t);
1237
1237
  };
1238
1238
  function Ni(e) {
1239
1239
  return !!e && typeof e == "object";
1240
1240
  }
1241
- function Oi(e) {
1241
+ function Di(e) {
1242
1242
  var t = Object.prototype.toString.call(e);
1243
- return t === "[object RegExp]" || t === "[object Date]" || ki(e);
1244
- }
1245
- var Di = typeof Symbol == "function" && Symbol.for, Fi = Di ? Symbol.for("react.element") : 60103;
1246
- function ki(e) {
1247
- return e.$$typeof === Fi;
1243
+ return t === "[object RegExp]" || t === "[object Date]" || Ui(e);
1248
1244
  }
1245
+ var Fi = typeof Symbol == "function" && Symbol.for, ki = Fi ? Symbol.for("react.element") : 60103;
1249
1246
  function Ui(e) {
1247
+ return e.$$typeof === ki;
1248
+ }
1249
+ function Gi(e) {
1250
1250
  return Array.isArray(e) ? [] : {};
1251
1251
  }
1252
- function _t(e, t) {
1253
- return t.clone !== !1 && t.isMergeableObject(e) ? at(Ui(e), e, t) : e;
1252
+ function yt(e, t) {
1253
+ return t.clone !== !1 && t.isMergeableObject(e) ? st(Gi(e), e, t) : e;
1254
1254
  }
1255
- function Gi(e, t, n) {
1255
+ function ji(e, t, n) {
1256
1256
  return e.concat(t).map(function(r) {
1257
- return _t(r, n);
1257
+ return yt(r, n);
1258
1258
  });
1259
1259
  }
1260
- function ji(e, t) {
1260
+ function Wi(e, t) {
1261
1261
  if (!t.customMerge)
1262
- return at;
1262
+ return st;
1263
1263
  var n = t.customMerge(e);
1264
- return typeof n == "function" ? n : at;
1264
+ return typeof n == "function" ? n : st;
1265
1265
  }
1266
- function Wi(e) {
1266
+ function Vi(e) {
1267
1267
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1268
1268
  return Object.propertyIsEnumerable.call(e, t);
1269
1269
  }) : [];
1270
1270
  }
1271
- function Ln(e) {
1272
- return Object.keys(e).concat(Wi(e));
1271
+ function Mn(e) {
1272
+ return Object.keys(e).concat(Vi(e));
1273
1273
  }
1274
- function Ar(e, t) {
1274
+ function Ir(e, t) {
1275
1275
  try {
1276
1276
  return t in e;
1277
1277
  } catch (n) {
1278
1278
  return !1;
1279
1279
  }
1280
1280
  }
1281
- function Vi(e, t) {
1282
- return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1281
+ function Xi(e, t) {
1282
+ return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1283
1283
  }
1284
- function Xi(e, t, n) {
1284
+ function Zi(e, t, n) {
1285
1285
  var r = {};
1286
- return n.isMergeableObject(e) && Ln(e).forEach(function(i) {
1287
- r[i] = _t(e[i], n);
1288
- }), Ln(t).forEach(function(i) {
1289
- Vi(e, i) || (Ar(e, i) && n.isMergeableObject(t[i]) ? r[i] = ji(i, n)(e[i], t[i], n) : r[i] = _t(t[i], n));
1286
+ return n.isMergeableObject(e) && Mn(e).forEach(function(i) {
1287
+ r[i] = yt(e[i], n);
1288
+ }), Mn(t).forEach(function(i) {
1289
+ Xi(e, i) || (Ir(e, i) && n.isMergeableObject(t[i]) ? r[i] = Wi(i, n)(e[i], t[i], n) : r[i] = yt(t[i], n));
1290
1290
  }), r;
1291
1291
  }
1292
- function at(e, t, n) {
1293
- n = n || {}, n.arrayMerge = n.arrayMerge || Gi, n.isMergeableObject = n.isMergeableObject || Pi, n.cloneUnlessOtherwiseSpecified = _t;
1292
+ function st(e, t, n) {
1293
+ n = n || {}, n.arrayMerge = n.arrayMerge || ji, n.isMergeableObject = n.isMergeableObject || Oi, n.cloneUnlessOtherwiseSpecified = yt;
1294
1294
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1295
- return o ? r ? n.arrayMerge(e, t, n) : Xi(e, t, n) : _t(t, n);
1295
+ return o ? r ? n.arrayMerge(e, t, n) : Zi(e, t, n) : yt(t, n);
1296
1296
  }
1297
- at.all = function(t, n) {
1297
+ st.all = function(t, n) {
1298
1298
  if (!Array.isArray(t))
1299
1299
  throw new Error("first argument should be an array");
1300
1300
  return t.reduce(function(r, i) {
1301
- return at(r, i, n);
1301
+ return st(r, i, n);
1302
1302
  }, {});
1303
1303
  };
1304
- var Zi = at, zi = Zi;
1305
- const Ji = /* @__PURE__ */ yi(zi);
1306
- /*! *****************************************************************************
1307
- Copyright (c) Microsoft Corporation.
1308
-
1309
- Permission to use, copy, modify, and/or distribute this software for any
1310
- purpose with or without fee is hereby granted.
1311
-
1312
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1313
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1314
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1315
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1316
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1317
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1318
- PERFORMANCE OF THIS SOFTWARE.
1319
- ***************************************************************************** */
1320
- var Kt = function(e, t) {
1321
- return Kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1304
+ var zi = st, Ji = zi;
1305
+ const qi = /* @__PURE__ */ Ei(Ji);
1306
+ var Qt = function(e, t) {
1307
+ return Qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1322
1308
  n.__proto__ = r;
1323
1309
  } || function(n, r) {
1324
1310
  for (var i in r)
1325
1311
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
1326
- }, Kt(e, t);
1312
+ }, Qt(e, t);
1327
1313
  };
1328
- function Pt(e, t) {
1314
+ function Nt(e, t) {
1329
1315
  if (typeof t != "function" && t !== null)
1330
1316
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1331
- Kt(e, t);
1317
+ Qt(e, t);
1332
1318
  function n() {
1333
1319
  this.constructor = e;
1334
1320
  }
1335
1321
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
1336
1322
  }
1337
- var K = function() {
1338
- return K = Object.assign || function(t) {
1323
+ var ke = function() {
1324
+ return ke = Object.assign || function(t) {
1339
1325
  for (var n, r = 1, i = arguments.length; r < i; r++) {
1340
1326
  n = arguments[r];
1341
1327
  for (var o in n)
1342
1328
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1343
1329
  }
1344
1330
  return t;
1345
- }, K.apply(this, arguments);
1331
+ }, ke.apply(this, arguments);
1346
1332
  };
1347
- function qi(e, t) {
1333
+ function Ki(e, t) {
1348
1334
  var n = {};
1349
1335
  for (var r in e)
1350
1336
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -1353,46 +1339,43 @@ function qi(e, t) {
1353
1339
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
1354
1340
  return n;
1355
1341
  }
1356
- function Gt(e, t, n) {
1357
- if (arguments.length === 2)
1342
+ function Wt(e, t, n) {
1343
+ if (n || arguments.length === 2)
1358
1344
  for (var r = 0, i = t.length, o; r < i; r++)
1359
1345
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1360
- return e.concat(o || t);
1346
+ return e.concat(o || Array.prototype.slice.call(t));
1361
1347
  }
1362
- function jt(e, t) {
1363
- var n = t && t.cache ? t.cache : no, r = t && t.serializer ? t.serializer : eo, i = t && t.strategy ? t.strategy : Yi;
1348
+ function Vt(e, t) {
1349
+ var n = t && t.cache ? t.cache : ro, r = t && t.serializer ? t.serializer : to, i = t && t.strategy ? t.strategy : $i;
1364
1350
  return i(e, {
1365
1351
  cache: n,
1366
1352
  serializer: r
1367
1353
  });
1368
1354
  }
1369
- function Ki(e) {
1355
+ function Yi(e) {
1370
1356
  return e == null || typeof e == "number" || typeof e == "boolean";
1371
1357
  }
1372
- function Ir(e, t, n, r) {
1373
- var i = Ki(r) ? r : n(r), o = t.get(i);
1358
+ function Qi(e, t, n, r) {
1359
+ var i = Yi(r) ? r : n(r), o = t.get(i);
1374
1360
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1375
1361
  }
1376
1362
  function Hr(e, t, n) {
1377
1363
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1378
1364
  return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1379
1365
  }
1380
- function cn(e, t, n, r, i) {
1366
+ function Rr(e, t, n, r, i) {
1381
1367
  return n.bind(t, e, r, i);
1382
1368
  }
1383
- function Yi(e, t) {
1384
- var n = e.length === 1 ? Ir : Hr;
1385
- return cn(e, this, n, t.cache.create(), t.serializer);
1386
- }
1387
- function Qi(e, t) {
1388
- return cn(e, this, Hr, t.cache.create(), t.serializer);
1389
- }
1390
1369
  function $i(e, t) {
1391
- return cn(e, this, Ir, t.cache.create(), t.serializer);
1370
+ var n = e.length === 1 ? Qi : Hr;
1371
+ return Rr(e, this, n, t.cache.create(), t.serializer);
1372
+ }
1373
+ function eo(e, t) {
1374
+ return Rr(e, this, Hr, t.cache.create(), t.serializer);
1392
1375
  }
1393
- var eo = function() {
1376
+ var to = function() {
1394
1377
  return JSON.stringify(arguments);
1395
- }, to = (
1378
+ }, no = (
1396
1379
  /** @class */
1397
1380
  function() {
1398
1381
  function e() {
@@ -1404,62 +1387,71 @@ var eo = function() {
1404
1387
  this.cache[t] = n;
1405
1388
  }, e;
1406
1389
  }()
1407
- ), no = {
1390
+ ), ro = {
1408
1391
  create: function() {
1409
- return new to();
1392
+ return new no();
1410
1393
  }
1411
- }, Wt = {
1412
- variadic: Qi,
1413
- monadic: $i
1414
- }, V;
1394
+ }, Xt = {
1395
+ variadic: eo
1396
+ }, Rt = function() {
1397
+ return Rt = Object.assign || function(t) {
1398
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
1399
+ n = arguments[r];
1400
+ for (var o in n)
1401
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1402
+ }
1403
+ return t;
1404
+ }, Rt.apply(this, arguments);
1405
+ };
1406
+ var V;
1415
1407
  (function(e) {
1416
1408
  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";
1417
1409
  })(V || (V = {}));
1418
- var ue;
1410
+ var le;
1419
1411
  (function(e) {
1420
1412
  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";
1421
- })(ue || (ue = {}));
1422
- var st;
1413
+ })(le || (le = {}));
1414
+ var lt;
1423
1415
  (function(e) {
1424
1416
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1425
- })(st || (st = {}));
1426
- function Mn(e) {
1427
- return e.type === ue.literal;
1428
- }
1429
- function ro(e) {
1430
- return e.type === ue.argument;
1417
+ })(lt || (lt = {}));
1418
+ function Pn(e) {
1419
+ return e.type === le.literal;
1431
1420
  }
1432
- function Rr(e) {
1433
- return e.type === ue.number;
1421
+ function io(e) {
1422
+ return e.type === le.argument;
1434
1423
  }
1435
1424
  function Lr(e) {
1436
- return e.type === ue.date;
1425
+ return e.type === le.number;
1437
1426
  }
1438
1427
  function Mr(e) {
1439
- return e.type === ue.time;
1428
+ return e.type === le.date;
1440
1429
  }
1441
1430
  function Pr(e) {
1442
- return e.type === ue.select;
1431
+ return e.type === le.time;
1443
1432
  }
1444
- function Nr(e) {
1445
- return e.type === ue.plural;
1433
+ function Or(e) {
1434
+ return e.type === le.select;
1446
1435
  }
1447
- function io(e) {
1448
- return e.type === ue.pound;
1436
+ function Nr(e) {
1437
+ return e.type === le.plural;
1449
1438
  }
1450
- function Or(e) {
1451
- return e.type === ue.tag;
1439
+ function oo(e) {
1440
+ return e.type === le.pound;
1452
1441
  }
1453
1442
  function Dr(e) {
1454
- return !!(e && typeof e == "object" && e.type === st.number);
1443
+ return e.type === le.tag;
1444
+ }
1445
+ function Fr(e) {
1446
+ return !!(e && typeof e == "object" && e.type === lt.number);
1455
1447
  }
1456
- function Yt(e) {
1457
- return !!(e && typeof e == "object" && e.type === st.dateTime);
1448
+ function $t(e) {
1449
+ return !!(e && typeof e == "object" && e.type === lt.dateTime);
1458
1450
  }
1459
- var Fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oo = /(?:[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;
1460
- function ao(e) {
1451
+ var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ao = /(?:[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;
1452
+ function so(e) {
1461
1453
  var t = {};
1462
- return e.replace(oo, function(n) {
1454
+ return e.replace(ao, function(n) {
1463
1455
  var r = n.length;
1464
1456
  switch (n[0]) {
1465
1457
  case "G":
@@ -1548,11 +1540,21 @@ function ao(e) {
1548
1540
  return "";
1549
1541
  }), t;
1550
1542
  }
1551
- var so = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1552
- function lo(e) {
1543
+ var he = function() {
1544
+ return he = Object.assign || function(t) {
1545
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
1546
+ n = arguments[r];
1547
+ for (var o in n)
1548
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1549
+ }
1550
+ return t;
1551
+ }, he.apply(this, arguments);
1552
+ };
1553
+ var lo = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1554
+ function uo(e) {
1553
1555
  if (e.length === 0)
1554
1556
  throw new Error("Number skeleton cannot be empty");
1555
- for (var t = e.split(so).filter(function(h) {
1557
+ for (var t = e.split(lo).filter(function(h) {
1556
1558
  return h.length > 0;
1557
1559
  }), n = [], r = 0, i = t; r < i.length; r++) {
1558
1560
  var o = i[r], a = o.split("/");
@@ -1567,17 +1569,17 @@ function lo(e) {
1567
1569
  }
1568
1570
  return n;
1569
1571
  }
1570
- function uo(e) {
1572
+ function fo(e) {
1571
1573
  return e.replace(/^(.*?)-/, "");
1572
1574
  }
1573
- var Pn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, fo = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
1575
+ var On = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, ho = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1574
1576
  function Nn(e) {
1575
1577
  var t = {};
1576
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(n, r, i) {
1578
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(n, r, i) {
1577
1579
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1578
1580
  }), t;
1579
1581
  }
1580
- function Gr(e) {
1582
+ function jr(e) {
1581
1583
  switch (e) {
1582
1584
  case "sign-auto":
1583
1585
  return {
@@ -1617,7 +1619,7 @@ function Gr(e) {
1617
1619
  };
1618
1620
  }
1619
1621
  }
1620
- function ho(e) {
1622
+ function co(e) {
1621
1623
  var t;
1622
1624
  if (e[0] === "E" && e[1] === "E" ? (t = {
1623
1625
  notation: "engineering"
@@ -1625,17 +1627,17 @@ function ho(e) {
1625
1627
  notation: "scientific"
1626
1628
  }, e = e.slice(1)), t) {
1627
1629
  var n = e.slice(0, 2);
1628
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
1630
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1629
1631
  throw new Error("Malformed concise eng/scientific notation");
1630
1632
  t.minimumIntegerDigits = e.length;
1631
1633
  }
1632
1634
  return t;
1633
1635
  }
1634
- function On(e) {
1635
- var t = {}, n = Gr(e);
1636
+ function Dn(e) {
1637
+ var t = {}, n = jr(e);
1636
1638
  return n || t;
1637
1639
  }
1638
- function co(e) {
1640
+ function po(e) {
1639
1641
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1640
1642
  var i = r[n];
1641
1643
  switch (i.stem) {
@@ -1659,7 +1661,7 @@ function co(e) {
1659
1661
  continue;
1660
1662
  case "measure-unit":
1661
1663
  case "unit":
1662
- t.style = "unit", t.unit = uo(i.options[0]);
1664
+ t.style = "unit", t.unit = fo(i.options[0]);
1663
1665
  continue;
1664
1666
  case "compact-short":
1665
1667
  case "K":
@@ -1670,13 +1672,13 @@ function co(e) {
1670
1672
  t.notation = "compact", t.compactDisplay = "long";
1671
1673
  continue;
1672
1674
  case "scientific":
1673
- t = K(K(K({}, t), { notation: "scientific" }), i.options.reduce(function(f, s) {
1674
- return K(K({}, f), On(s));
1675
+ t = he(he(he({}, t), { notation: "scientific" }), i.options.reduce(function(f, s) {
1676
+ return he(he({}, f), Dn(s));
1675
1677
  }, {}));
1676
1678
  continue;
1677
1679
  case "engineering":
1678
- t = K(K(K({}, t), { notation: "engineering" }), i.options.reduce(function(f, s) {
1679
- return K(K({}, f), On(s));
1680
+ t = he(he(he({}, t), { notation: "engineering" }), i.options.reduce(function(f, s) {
1681
+ return he(he({}, f), Dn(s));
1680
1682
  }, {}));
1681
1683
  continue;
1682
1684
  case "notation-simple":
@@ -1721,7 +1723,7 @@ function co(e) {
1721
1723
  case "integer-width":
1722
1724
  if (i.options.length > 1)
1723
1725
  throw new RangeError("integer-width stems only accept a single optional option");
1724
- i.options[0].replace(fo, function(f, s, l, c, h, b) {
1726
+ i.options[0].replace(ho, function(f, s, l, c, h, b) {
1725
1727
  if (s)
1726
1728
  t.minimumIntegerDigits = l.length;
1727
1729
  else {
@@ -1734,32 +1736,32 @@ function co(e) {
1734
1736
  });
1735
1737
  continue;
1736
1738
  }
1737
- if (Ur.test(i.stem)) {
1739
+ if (Gr.test(i.stem)) {
1738
1740
  t.minimumIntegerDigits = i.stem.length;
1739
1741
  continue;
1740
1742
  }
1741
- if (Pn.test(i.stem)) {
1743
+ if (On.test(i.stem)) {
1742
1744
  if (i.options.length > 1)
1743
1745
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1744
- i.stem.replace(Pn, function(f, s, l, c, h, b) {
1746
+ i.stem.replace(On, function(f, s, l, c, h, b) {
1745
1747
  return l === "*" ? t.minimumFractionDigits = s.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : h && b ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + b.length) : (t.minimumFractionDigits = s.length, t.maximumFractionDigits = s.length), "";
1746
1748
  });
1747
1749
  var o = i.options[0];
1748
- o === "w" ? t = K(K({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = K(K({}, t), Nn(o)));
1750
+ o === "w" ? t = he(he({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = he(he({}, t), Nn(o)));
1749
1751
  continue;
1750
1752
  }
1751
- if (kr.test(i.stem)) {
1752
- t = K(K({}, t), Nn(i.stem));
1753
+ if (Ur.test(i.stem)) {
1754
+ t = he(he({}, t), Nn(i.stem));
1753
1755
  continue;
1754
1756
  }
1755
- var a = Gr(i.stem);
1756
- a && (t = K(K({}, t), a));
1757
- var u = ho(i.stem);
1758
- u && (t = K(K({}, t), u));
1757
+ var a = jr(i.stem);
1758
+ a && (t = he(he({}, t), a));
1759
+ var u = co(i.stem);
1760
+ u && (t = he(he({}, t), u));
1759
1761
  }
1760
1762
  return t;
1761
1763
  }
1762
- var St = {
1764
+ var Bt = {
1763
1765
  "001": [
1764
1766
  "H",
1765
1767
  "h"
@@ -3174,13 +3176,13 @@ var St = {
3174
3176
  "h"
3175
3177
  ]
3176
3178
  };
3177
- function po(e, t) {
3179
+ function mo(e, t) {
3178
3180
  for (var n = "", r = 0; r < e.length; r++) {
3179
3181
  var i = e.charAt(r);
3180
3182
  if (i === "j") {
3181
3183
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3182
3184
  o++, r++;
3183
- var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), f = "a", s = mo(t);
3185
+ var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), f = "a", s = go(t);
3184
3186
  for ((s == "H" || s == "k") && (u = 0); u-- > 0; )
3185
3187
  n += f;
3186
3188
  for (; a-- > 0; )
@@ -3190,7 +3192,7 @@ function po(e, t) {
3190
3192
  }
3191
3193
  return n;
3192
3194
  }
3193
- function mo(e) {
3195
+ function go(e) {
3194
3196
  var t = e.hourCycle;
3195
3197
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3196
3198
  e.hourCycles && // @ts-ignore
@@ -3209,23 +3211,23 @@ function mo(e) {
3209
3211
  }
3210
3212
  var n = e.language, r;
3211
3213
  n !== "root" && (r = e.maximize().region);
3212
- var i = St[r || ""] || St[n || ""] || St["".concat(n, "-001")] || St["001"];
3214
+ var i = Bt[r || ""] || Bt[n || ""] || Bt["".concat(n, "-001")] || Bt["001"];
3213
3215
  return i[0];
3214
3216
  }
3215
- var Vt, go = new RegExp("^".concat(Fr.source, "*")), vo = new RegExp("".concat(Fr.source, "*$"));
3217
+ var Zt, vo = new RegExp("^".concat(kr.source, "*")), bo = new RegExp("".concat(kr.source, "*$"));
3216
3218
  function J(e, t) {
3217
3219
  return { start: e, end: t };
3218
3220
  }
3219
- var bo = !!String.prototype.startsWith && "_a".startsWith("a", 1), _o = !!String.fromCodePoint, yo = !!Object.fromEntries, Eo = !!String.prototype.codePointAt, wo = !!String.prototype.trimStart, To = !!String.prototype.trimEnd, So = !!Number.isSafeInteger, Bo = So ? Number.isSafeInteger : function(e) {
3221
+ var _o = !!String.prototype.startsWith && "_a".startsWith("a", 1), yo = !!String.fromCodePoint, Eo = !!Object.fromEntries, wo = !!String.prototype.codePointAt, To = !!String.prototype.trimStart, So = !!String.prototype.trimEnd, Bo = !!Number.isSafeInteger, Co = Bo ? Number.isSafeInteger : function(e) {
3220
3222
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3221
- }, Qt = !0;
3223
+ }, en = !0;
3222
3224
  try {
3223
- var Co = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3224
- Qt = ((Vt = Co.exec("a")) === null || Vt === void 0 ? void 0 : Vt[0]) === "a";
3225
+ var xo = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3226
+ en = ((Zt = xo.exec("a")) === null || Zt === void 0 ? void 0 : Zt[0]) === "a";
3225
3227
  } catch (e) {
3226
- Qt = !1;
3228
+ en = !1;
3227
3229
  }
3228
- var Dn = bo ? (
3230
+ var Fn = _o ? (
3229
3231
  // Native
3230
3232
  function(t, n, r) {
3231
3233
  return t.startsWith(n, r);
@@ -3235,7 +3237,7 @@ var Dn = bo ? (
3235
3237
  function(t, n, r) {
3236
3238
  return t.slice(r, r + n.length) === n;
3237
3239
  }
3238
- ), $t = _o ? String.fromCodePoint : (
3240
+ ), tn = yo ? String.fromCodePoint : (
3239
3241
  // IE11
3240
3242
  function() {
3241
3243
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3247,9 +3249,9 @@ var Dn = bo ? (
3247
3249
  }
3248
3250
  return r;
3249
3251
  }
3250
- ), Fn = (
3252
+ ), kn = (
3251
3253
  // native
3252
- yo ? Object.fromEntries : (
3254
+ Eo ? Object.fromEntries : (
3253
3255
  // Ponyfill
3254
3256
  function(t) {
3255
3257
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -3259,7 +3261,7 @@ var Dn = bo ? (
3259
3261
  return n;
3260
3262
  }
3261
3263
  )
3262
- ), jr = Eo ? (
3264
+ ), Wr = wo ? (
3263
3265
  // Native
3264
3266
  function(t, n) {
3265
3267
  return t.codePointAt(n);
@@ -3273,7 +3275,7 @@ var Dn = bo ? (
3273
3275
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3274
3276
  }
3275
3277
  }
3276
- ), xo = wo ? (
3278
+ ), Ao = To ? (
3277
3279
  // Native
3278
3280
  function(t) {
3279
3281
  return t.trimStart();
@@ -3281,9 +3283,9 @@ var Dn = bo ? (
3281
3283
  ) : (
3282
3284
  // Ponyfill
3283
3285
  function(t) {
3284
- return t.replace(go, "");
3286
+ return t.replace(vo, "");
3285
3287
  }
3286
- ), Ao = To ? (
3288
+ ), Io = So ? (
3287
3289
  // Native
3288
3290
  function(t) {
3289
3291
  return t.trimEnd();
@@ -3291,32 +3293,32 @@ var Dn = bo ? (
3291
3293
  ) : (
3292
3294
  // Ponyfill
3293
3295
  function(t) {
3294
- return t.replace(vo, "");
3296
+ return t.replace(bo, "");
3295
3297
  }
3296
3298
  );
3297
- function Wr(e, t) {
3299
+ function Vr(e, t) {
3298
3300
  return new RegExp(e, t);
3299
3301
  }
3300
- var en;
3301
- if (Qt) {
3302
- var kn = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3303
- en = function(t, n) {
3302
+ var nn;
3303
+ if (en) {
3304
+ var Un = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3305
+ nn = function(t, n) {
3304
3306
  var r;
3305
- kn.lastIndex = n;
3306
- var i = kn.exec(t);
3307
+ Un.lastIndex = n;
3308
+ var i = Un.exec(t);
3307
3309
  return (r = i[1]) !== null && r !== void 0 ? r : "";
3308
3310
  };
3309
3311
  } else
3310
- en = function(t, n) {
3312
+ nn = function(t, n) {
3311
3313
  for (var r = []; ; ) {
3312
- var i = jr(t, n);
3313
- if (i === void 0 || Vr(i) || Lo(i))
3314
+ var i = Wr(t, n);
3315
+ if (i === void 0 || Xr(i) || Mo(i))
3314
3316
  break;
3315
3317
  r.push(i), n += i >= 65536 ? 2 : 1;
3316
3318
  }
3317
- return $t.apply(void 0, r);
3319
+ return tn.apply(void 0, r);
3318
3320
  };
3319
- var Io = (
3321
+ var Ho = (
3320
3322
  /** @class */
3321
3323
  function() {
3322
3324
  function e(t, n) {
@@ -3340,14 +3342,14 @@ var Io = (
3340
3342
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
3341
3343
  var u = this.clonePosition();
3342
3344
  this.bump(), i.push({
3343
- type: ue.pound,
3345
+ type: le.pound,
3344
3346
  location: J(u, this.clonePosition())
3345
3347
  });
3346
3348
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3347
3349
  if (r)
3348
3350
  break;
3349
3351
  return this.error(V.UNMATCHED_CLOSING_TAG, J(this.clonePosition(), this.clonePosition()));
3350
- } else if (o === 60 && !this.ignoreTag && tn(this.peek() || 0)) {
3352
+ } else if (o === 60 && !this.ignoreTag && rn(this.peek() || 0)) {
3351
3353
  var a = this.parseTag(t, n);
3352
3354
  if (a.err)
3353
3355
  return a;
@@ -3368,7 +3370,7 @@ var Io = (
3368
3370
  if (this.bumpSpace(), this.bumpIf("/>"))
3369
3371
  return {
3370
3372
  val: {
3371
- type: ue.literal,
3373
+ type: le.literal,
3372
3374
  value: "<".concat(i, "/>"),
3373
3375
  location: J(r, this.clonePosition())
3374
3376
  },
@@ -3380,12 +3382,12 @@ var Io = (
3380
3382
  return o;
3381
3383
  var a = o.val, u = this.clonePosition();
3382
3384
  if (this.bumpIf("</")) {
3383
- if (this.isEOF() || !tn(this.char()))
3385
+ if (this.isEOF() || !rn(this.char()))
3384
3386
  return this.error(V.INVALID_TAG, J(u, this.clonePosition()));
3385
3387
  var f = this.clonePosition(), s = this.parseTagName();
3386
3388
  return i !== s ? this.error(V.UNMATCHED_CLOSING_TAG, J(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3387
3389
  val: {
3388
- type: ue.tag,
3390
+ type: le.tag,
3389
3391
  value: i,
3390
3392
  children: a,
3391
3393
  location: J(r, this.clonePosition())
@@ -3398,7 +3400,7 @@ var Io = (
3398
3400
  return this.error(V.INVALID_TAG, J(r, this.clonePosition()));
3399
3401
  }, e.prototype.parseTagName = function() {
3400
3402
  var t = this.offset();
3401
- for (this.bump(); !this.isEOF() && Ro(this.char()); )
3403
+ for (this.bump(); !this.isEOF() && Lo(this.char()); )
3402
3404
  this.bump();
3403
3405
  return this.message.slice(t, this.offset());
3404
3406
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3422,12 +3424,12 @@ var Io = (
3422
3424
  }
3423
3425
  var f = J(r, this.clonePosition());
3424
3426
  return {
3425
- val: { type: ue.literal, value: i, location: f },
3427
+ val: { type: le.literal, value: i, location: f },
3426
3428
  err: null
3427
3429
  };
3428
3430
  }, e.prototype.tryParseLeftAngleBracket = function() {
3429
3431
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3430
- !Ho(this.peek() || 0)) ? (this.bump(), "<") : null;
3432
+ !Ro(this.peek() || 0)) ? (this.bump(), "<") : null;
3431
3433
  }, e.prototype.tryParseQuote = function(t) {
3432
3434
  if (this.isEOF() || this.char() !== 39)
3433
3435
  return null;
@@ -3461,12 +3463,12 @@ var Io = (
3461
3463
  n.push(r);
3462
3464
  this.bump();
3463
3465
  }
3464
- return $t.apply(void 0, n);
3466
+ return tn.apply(void 0, n);
3465
3467
  }, e.prototype.tryParseUnquoted = function(t, n) {
3466
3468
  if (this.isEOF())
3467
3469
  return null;
3468
3470
  var r = this.char();
3469
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), $t(r));
3471
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), tn(r));
3470
3472
  }, e.prototype.parseArgument = function(t, n) {
3471
3473
  var r = this.clonePosition();
3472
3474
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3482,7 +3484,7 @@ var Io = (
3482
3484
  case 125:
3483
3485
  return this.bump(), {
3484
3486
  val: {
3485
- type: ue.argument,
3487
+ type: le.argument,
3486
3488
  // value does not include the opening and closing braces.
3487
3489
  value: i,
3488
3490
  location: J(r, this.clonePosition())
@@ -3495,7 +3497,7 @@ var Io = (
3495
3497
  return this.error(V.MALFORMED_ARGUMENT, J(r, this.clonePosition()));
3496
3498
  }
3497
3499
  }, e.prototype.parseIdentifierIfPossible = function() {
3498
- var t = this.clonePosition(), n = this.offset(), r = en(this.message, n), i = n + r.length;
3500
+ var t = this.clonePosition(), n = this.offset(), r = nn(this.message, n), i = n + r.length;
3499
3501
  this.bumpTo(i);
3500
3502
  var o = this.clonePosition(), a = J(t, o);
3501
3503
  return { value: r, location: a };
@@ -3514,7 +3516,7 @@ var Io = (
3514
3516
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3515
3517
  if (c.err)
3516
3518
  return c;
3517
- var h = Ao(c.val);
3519
+ var h = Io(c.val);
3518
3520
  if (h.length === 0)
3519
3521
  return this.error(V.EXPECT_ARGUMENT_STYLE, J(this.clonePosition(), this.clonePosition()));
3520
3522
  var b = J(l, this.clonePosition());
@@ -3524,25 +3526,25 @@ var Io = (
3524
3526
  if (v.err)
3525
3527
  return v;
3526
3528
  var m = J(i, this.clonePosition());
3527
- if (s && Dn(s == null ? void 0 : s.style, "::", 0)) {
3528
- var d = xo(s.style.slice(2));
3529
+ if (s && Fn(s == null ? void 0 : s.style, "::", 0)) {
3530
+ var d = Ao(s.style.slice(2));
3529
3531
  if (u === "number") {
3530
3532
  var c = this.parseNumberSkeletonFromString(d, s.styleLocation);
3531
3533
  return c.err ? c : {
3532
- val: { type: ue.number, value: r, location: m, style: c.val },
3534
+ val: { type: le.number, value: r, location: m, style: c.val },
3533
3535
  err: null
3534
3536
  };
3535
3537
  } else {
3536
3538
  if (d.length === 0)
3537
3539
  return this.error(V.EXPECT_DATE_TIME_SKELETON, m);
3538
3540
  var y = d;
3539
- this.locale && (y = po(d, this.locale));
3541
+ this.locale && (y = mo(d, this.locale));
3540
3542
  var h = {
3541
- type: st.dateTime,
3543
+ type: lt.dateTime,
3542
3544
  pattern: y,
3543
3545
  location: s.styleLocation,
3544
- parsedOptions: this.shouldParseSkeletons ? ao(y) : {}
3545
- }, D = u === "date" ? ue.date : ue.time;
3546
+ parsedOptions: this.shouldParseSkeletons ? so(y) : {}
3547
+ }, D = u === "date" ? le.date : le.time;
3546
3548
  return {
3547
3549
  val: { type: D, value: r, location: m, style: h },
3548
3550
  err: null
@@ -3551,7 +3553,7 @@ var Io = (
3551
3553
  }
3552
3554
  return {
3553
3555
  val: {
3554
- type: u === "number" ? ue.number : u === "date" ? ue.date : ue.time,
3556
+ type: u === "number" ? le.number : u === "date" ? le.date : le.time,
3555
3557
  value: r,
3556
3558
  location: m,
3557
3559
  style: (o = s == null ? void 0 : s.style) !== null && o !== void 0 ? o : null
@@ -3562,9 +3564,9 @@ var Io = (
3562
3564
  case "plural":
3563
3565
  case "selectordinal":
3564
3566
  case "select": {
3565
- var N = this.clonePosition();
3567
+ var O = this.clonePosition();
3566
3568
  if (this.bumpSpace(), !this.bumpIf(","))
3567
- return this.error(V.EXPECT_SELECT_ARGUMENT_OPTIONS, J(N, K({}, N)));
3569
+ return this.error(V.EXPECT_SELECT_ARGUMENT_OPTIONS, J(O, Rt({}, O)));
3568
3570
  this.bumpSpace();
3569
3571
  var G = this.parseIdentifierIfPossible(), j = 0;
3570
3572
  if (u !== "select" && G.value === "offset") {
@@ -3576,26 +3578,26 @@ var Io = (
3576
3578
  return c;
3577
3579
  this.bumpSpace(), G = this.parseIdentifierIfPossible(), j = c.val;
3578
3580
  }
3579
- var te = this.tryParsePluralOrSelectOptions(t, u, n, G);
3580
- if (te.err)
3581
- return te;
3581
+ var ee = this.tryParsePluralOrSelectOptions(t, u, n, G);
3582
+ if (ee.err)
3583
+ return ee;
3582
3584
  var v = this.tryParseArgumentClose(i);
3583
3585
  if (v.err)
3584
3586
  return v;
3585
3587
  var W = J(i, this.clonePosition());
3586
3588
  return u === "select" ? {
3587
3589
  val: {
3588
- type: ue.select,
3590
+ type: le.select,
3589
3591
  value: r,
3590
- options: Fn(te.val),
3592
+ options: kn(ee.val),
3591
3593
  location: W
3592
3594
  },
3593
3595
  err: null
3594
3596
  } : {
3595
3597
  val: {
3596
- type: ue.plural,
3598
+ type: le.plural,
3597
3599
  value: r,
3598
- options: Fn(te.val),
3600
+ options: kn(ee.val),
3599
3601
  offset: j,
3600
3602
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3601
3603
  location: W
@@ -3646,16 +3648,16 @@ var Io = (
3646
3648
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3647
3649
  var r = [];
3648
3650
  try {
3649
- r = lo(t);
3651
+ r = uo(t);
3650
3652
  } catch (i) {
3651
3653
  return this.error(V.INVALID_NUMBER_SKELETON, n);
3652
3654
  }
3653
3655
  return {
3654
3656
  val: {
3655
- type: st.number,
3657
+ type: lt.number,
3656
3658
  tokens: r,
3657
3659
  location: n,
3658
- parsedOptions: this.shouldParseSkeletons ? co(r) : {}
3660
+ parsedOptions: this.shouldParseSkeletons ? po(r) : {}
3659
3661
  },
3660
3662
  err: null
3661
3663
  };
@@ -3703,7 +3705,7 @@ var Io = (
3703
3705
  break;
3704
3706
  }
3705
3707
  var f = J(i, this.clonePosition());
3706
- return o ? (a *= r, Bo(a) ? { val: a, err: null } : this.error(n, f)) : this.error(t, f);
3708
+ return o ? (a *= r, Co(a) ? { val: a, err: null } : this.error(n, f)) : this.error(t, f);
3707
3709
  }, e.prototype.offset = function() {
3708
3710
  return this.position.offset;
3709
3711
  }, e.prototype.isEOF = function() {
@@ -3718,7 +3720,7 @@ var Io = (
3718
3720
  var t = this.position.offset;
3719
3721
  if (t >= this.message.length)
3720
3722
  throw Error("out of bound");
3721
- var n = jr(this.message, t);
3723
+ var n = Wr(this.message, t);
3722
3724
  if (n === void 0)
3723
3725
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3724
3726
  return n;
@@ -3737,7 +3739,7 @@ var Io = (
3737
3739
  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);
3738
3740
  }
3739
3741
  }, e.prototype.bumpIf = function(t) {
3740
- if (Dn(this.message, t, this.offset())) {
3742
+ if (Fn(this.message, t, this.offset())) {
3741
3743
  for (var n = 0; n < t.length; n++)
3742
3744
  this.bump();
3743
3745
  return !0;
@@ -3759,7 +3761,7 @@ var Io = (
3759
3761
  break;
3760
3762
  }
3761
3763
  }, e.prototype.bumpSpace = function() {
3762
- for (; !this.isEOF() && Vr(this.char()); )
3764
+ for (; !this.isEOF() && Xr(this.char()); )
3763
3765
  this.bump();
3764
3766
  }, e.prototype.peek = function() {
3765
3767
  if (this.isEOF())
@@ -3769,47 +3771,47 @@ var Io = (
3769
3771
  }, e;
3770
3772
  }()
3771
3773
  );
3772
- function tn(e) {
3774
+ function rn(e) {
3773
3775
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3774
3776
  }
3775
- function Ho(e) {
3776
- return tn(e) || e === 47;
3777
- }
3778
3777
  function Ro(e) {
3778
+ return rn(e) || e === 47;
3779
+ }
3780
+ function Lo(e) {
3779
3781
  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;
3780
3782
  }
3781
- function Vr(e) {
3783
+ function Xr(e) {
3782
3784
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3783
3785
  }
3784
- function Lo(e) {
3786
+ function Mo(e) {
3785
3787
  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;
3786
3788
  }
3787
- function nn(e) {
3789
+ function on(e) {
3788
3790
  e.forEach(function(t) {
3789
- if (delete t.location, Pr(t) || Nr(t))
3791
+ if (delete t.location, Or(t) || Nr(t))
3790
3792
  for (var n in t.options)
3791
- delete t.options[n].location, nn(t.options[n].value);
3793
+ delete t.options[n].location, on(t.options[n].value);
3792
3794
  else
3793
- Rr(t) && Dr(t.style) || (Lr(t) || Mr(t)) && Yt(t.style) ? delete t.style.location : Or(t) && nn(t.children);
3795
+ Lr(t) && Fr(t.style) || (Mr(t) || Pr(t)) && $t(t.style) ? delete t.style.location : Dr(t) && on(t.children);
3794
3796
  });
3795
3797
  }
3796
- function Mo(e, t) {
3797
- t === void 0 && (t = {}), t = K({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3798
- var n = new Io(e, t).parse();
3798
+ function Po(e, t) {
3799
+ t === void 0 && (t = {}), t = Rt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3800
+ var n = new Ho(e, t).parse();
3799
3801
  if (n.err) {
3800
3802
  var r = SyntaxError(V[n.err.kind]);
3801
3803
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3802
3804
  }
3803
- return t != null && t.captureLocation || nn(n.val), n.val;
3805
+ return t != null && t.captureLocation || on(n.val), n.val;
3804
3806
  }
3805
- var lt;
3807
+ var ut;
3806
3808
  (function(e) {
3807
3809
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3808
- })(lt || (lt = {}));
3809
- var Nt = (
3810
+ })(ut || (ut = {}));
3811
+ var Dt = (
3810
3812
  /** @class */
3811
3813
  function(e) {
3812
- Pt(t, e);
3814
+ Nt(t, e);
3813
3815
  function t(n, r, i) {
3814
3816
  var o = e.call(this, n) || this;
3815
3817
  return o.code = r, o.originalMessage = i, o;
@@ -3818,48 +3820,48 @@ var Nt = (
3818
3820
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3819
3821
  }, t;
3820
3822
  }(Error)
3821
- ), Un = (
3823
+ ), Gn = (
3822
3824
  /** @class */
3823
3825
  function(e) {
3824
- Pt(t, e);
3826
+ Nt(t, e);
3825
3827
  function t(n, r, i, o) {
3826
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), lt.INVALID_VALUE, o) || this;
3828
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ut.INVALID_VALUE, o) || this;
3827
3829
  }
3828
3830
  return t;
3829
- }(Nt)
3830
- ), Po = (
3831
+ }(Dt)
3832
+ ), Oo = (
3831
3833
  /** @class */
3832
3834
  function(e) {
3833
- Pt(t, e);
3835
+ Nt(t, e);
3834
3836
  function t(n, r, i) {
3835
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), lt.INVALID_VALUE, i) || this;
3837
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ut.INVALID_VALUE, i) || this;
3836
3838
  }
3837
3839
  return t;
3838
- }(Nt)
3840
+ }(Dt)
3839
3841
  ), No = (
3840
3842
  /** @class */
3841
3843
  function(e) {
3842
- Pt(t, e);
3844
+ Nt(t, e);
3843
3845
  function t(n, r) {
3844
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), lt.MISSING_VALUE, r) || this;
3846
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ut.MISSING_VALUE, r) || this;
3845
3847
  }
3846
3848
  return t;
3847
- }(Nt)
3849
+ }(Dt)
3848
3850
  ), He;
3849
3851
  (function(e) {
3850
3852
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3851
3853
  })(He || (He = {}));
3852
- function Oo(e) {
3854
+ function Do(e) {
3853
3855
  return e.length < 2 ? e : e.reduce(function(t, n) {
3854
3856
  var r = t[t.length - 1];
3855
3857
  return !r || r.type !== He.literal || n.type !== He.literal ? t.push(n) : r.value += n.value, t;
3856
3858
  }, []);
3857
3859
  }
3858
- function Do(e) {
3860
+ function Fo(e) {
3859
3861
  return typeof e == "function";
3860
3862
  }
3861
- function Bt(e, t, n, r, i, o, a) {
3862
- if (e.length === 1 && Mn(e[0]))
3863
+ function Ct(e, t, n, r, i, o, a) {
3864
+ if (e.length === 1 && Pn(e[0]))
3863
3865
  return [
3864
3866
  {
3865
3867
  type: He.literal,
@@ -3868,14 +3870,14 @@ function Bt(e, t, n, r, i, o, a) {
3868
3870
  ];
3869
3871
  for (var u = [], f = 0, s = e; f < s.length; f++) {
3870
3872
  var l = s[f];
3871
- if (Mn(l)) {
3873
+ if (Pn(l)) {
3872
3874
  u.push({
3873
3875
  type: He.literal,
3874
3876
  value: l.value
3875
3877
  });
3876
3878
  continue;
3877
3879
  }
3878
- if (io(l)) {
3880
+ if (oo(l)) {
3879
3881
  typeof o == "number" && u.push({
3880
3882
  type: He.literal,
3881
3883
  value: n.getNumberFormat(t).format(o)
@@ -3886,42 +3888,42 @@ function Bt(e, t, n, r, i, o, a) {
3886
3888
  if (!(i && c in i))
3887
3889
  throw new No(c, a);
3888
3890
  var h = i[c];
3889
- if (ro(l)) {
3891
+ if (io(l)) {
3890
3892
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), u.push({
3891
3893
  type: typeof h == "string" ? He.literal : He.object,
3892
3894
  value: h
3893
3895
  });
3894
3896
  continue;
3895
3897
  }
3896
- if (Lr(l)) {
3897
- var b = typeof l.style == "string" ? r.date[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3898
+ if (Mr(l)) {
3899
+ var b = typeof l.style == "string" ? r.date[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
3898
3900
  u.push({
3899
3901
  type: He.literal,
3900
3902
  value: n.getDateTimeFormat(t, b).format(h)
3901
3903
  });
3902
3904
  continue;
3903
3905
  }
3904
- if (Mr(l)) {
3905
- var b = typeof l.style == "string" ? r.time[l.style] : Yt(l.style) ? l.style.parsedOptions : r.time.medium;
3906
+ if (Pr(l)) {
3907
+ var b = typeof l.style == "string" ? r.time[l.style] : $t(l.style) ? l.style.parsedOptions : r.time.medium;
3906
3908
  u.push({
3907
3909
  type: He.literal,
3908
3910
  value: n.getDateTimeFormat(t, b).format(h)
3909
3911
  });
3910
3912
  continue;
3911
3913
  }
3912
- if (Rr(l)) {
3913
- var b = typeof l.style == "string" ? r.number[l.style] : Dr(l.style) ? l.style.parsedOptions : void 0;
3914
+ if (Lr(l)) {
3915
+ var b = typeof l.style == "string" ? r.number[l.style] : Fr(l.style) ? l.style.parsedOptions : void 0;
3914
3916
  b && b.scale && (h = h * (b.scale || 1)), u.push({
3915
3917
  type: He.literal,
3916
3918
  value: n.getNumberFormat(t, b).format(h)
3917
3919
  });
3918
3920
  continue;
3919
3921
  }
3920
- if (Or(l)) {
3922
+ if (Dr(l)) {
3921
3923
  var v = l.children, m = l.value, d = i[m];
3922
- if (!Do(d))
3923
- throw new Po(m, "function", a);
3924
- var y = Bt(v, t, n, r, i, o), D = d(y.map(function(j) {
3924
+ if (!Fo(d))
3925
+ throw new Oo(m, "function", a);
3926
+ var y = Ct(v, t, n, r, i, o), D = d(y.map(function(j) {
3925
3927
  return j.value;
3926
3928
  }));
3927
3929
  Array.isArray(D) || (D = [D]), u.push.apply(u, D.map(function(j) {
@@ -3931,42 +3933,42 @@ function Bt(e, t, n, r, i, o, a) {
3931
3933
  };
3932
3934
  }));
3933
3935
  }
3934
- if (Pr(l)) {
3935
- var N = l.options[h] || l.options.other;
3936
- if (!N)
3937
- throw new Un(l.value, h, Object.keys(l.options), a);
3938
- u.push.apply(u, Bt(N.value, t, n, r, i));
3936
+ if (Or(l)) {
3937
+ var O = l.options[h] || l.options.other;
3938
+ if (!O)
3939
+ throw new Gn(l.value, h, Object.keys(l.options), a);
3940
+ u.push.apply(u, Ct(O.value, t, n, r, i));
3939
3941
  continue;
3940
3942
  }
3941
3943
  if (Nr(l)) {
3942
- var N = l.options["=".concat(h)];
3943
- if (!N) {
3944
+ var O = l.options["=".concat(h)];
3945
+ if (!O) {
3944
3946
  if (!Intl.PluralRules)
3945
- throw new Nt(`Intl.PluralRules is not available in this environment.
3947
+ throw new Dt(`Intl.PluralRules is not available in this environment.
3946
3948
  Try polyfilling it using "@formatjs/intl-pluralrules"
3947
- `, lt.MISSING_INTL_API, a);
3949
+ `, ut.MISSING_INTL_API, a);
3948
3950
  var G = n.getPluralRules(t, { type: l.pluralType }).select(h - (l.offset || 0));
3949
- N = l.options[G] || l.options.other;
3951
+ O = l.options[G] || l.options.other;
3950
3952
  }
3951
- if (!N)
3952
- throw new Un(l.value, h, Object.keys(l.options), a);
3953
- u.push.apply(u, Bt(N.value, t, n, r, i, h - (l.offset || 0)));
3953
+ if (!O)
3954
+ throw new Gn(l.value, h, Object.keys(l.options), a);
3955
+ u.push.apply(u, Ct(O.value, t, n, r, i, h - (l.offset || 0)));
3954
3956
  continue;
3955
3957
  }
3956
3958
  }
3957
- return Oo(u);
3959
+ return Do(u);
3958
3960
  }
3959
- function Fo(e, t) {
3960
- return t ? K(K(K({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3961
- return n[r] = K(K({}, e[r]), t[r] || {}), n;
3961
+ function ko(e, t) {
3962
+ return t ? ke(ke(ke({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3963
+ return n[r] = ke(ke({}, e[r]), t[r] || {}), n;
3962
3964
  }, {})) : e;
3963
3965
  }
3964
- function ko(e, t) {
3966
+ function Uo(e, t) {
3965
3967
  return t ? Object.keys(e).reduce(function(n, r) {
3966
- return n[r] = Fo(e[r], t[r]), n;
3967
- }, K({}, e)) : e;
3968
+ return n[r] = ko(e[r], t[r]), n;
3969
+ }, ke({}, e)) : e;
3968
3970
  }
3969
- function Xt(e) {
3971
+ function zt(e) {
3970
3972
  return {
3971
3973
  create: function() {
3972
3974
  return {
@@ -3980,39 +3982,39 @@ function Xt(e) {
3980
3982
  }
3981
3983
  };
3982
3984
  }
3983
- function Uo(e) {
3985
+ function Go(e) {
3984
3986
  return e === void 0 && (e = {
3985
3987
  number: {},
3986
3988
  dateTime: {},
3987
3989
  pluralRules: {}
3988
3990
  }), {
3989
- getNumberFormat: jt(function() {
3991
+ getNumberFormat: Vt(function() {
3990
3992
  for (var t, n = [], r = 0; r < arguments.length; r++)
3991
3993
  n[r] = arguments[r];
3992
- return new ((t = Intl.NumberFormat).bind.apply(t, Gt([void 0], n, !1)))();
3994
+ return new ((t = Intl.NumberFormat).bind.apply(t, Wt([void 0], n, !1)))();
3993
3995
  }, {
3994
- cache: Xt(e.number),
3995
- strategy: Wt.variadic
3996
+ cache: zt(e.number),
3997
+ strategy: Xt.variadic
3996
3998
  }),
3997
- getDateTimeFormat: jt(function() {
3999
+ getDateTimeFormat: Vt(function() {
3998
4000
  for (var t, n = [], r = 0; r < arguments.length; r++)
3999
4001
  n[r] = arguments[r];
4000
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Gt([void 0], n, !1)))();
4002
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Wt([void 0], n, !1)))();
4001
4003
  }, {
4002
- cache: Xt(e.dateTime),
4003
- strategy: Wt.variadic
4004
+ cache: zt(e.dateTime),
4005
+ strategy: Xt.variadic
4004
4006
  }),
4005
- getPluralRules: jt(function() {
4007
+ getPluralRules: Vt(function() {
4006
4008
  for (var t, n = [], r = 0; r < arguments.length; r++)
4007
4009
  n[r] = arguments[r];
4008
- return new ((t = Intl.PluralRules).bind.apply(t, Gt([void 0], n, !1)))();
4010
+ return new ((t = Intl.PluralRules).bind.apply(t, Wt([void 0], n, !1)))();
4009
4011
  }, {
4010
- cache: Xt(e.pluralRules),
4011
- strategy: Wt.variadic
4012
+ cache: zt(e.pluralRules),
4013
+ strategy: Xt.variadic
4012
4014
  })
4013
4015
  };
4014
4016
  }
4015
- var Go = (
4017
+ var jo = (
4016
4018
  /** @class */
4017
4019
  function() {
4018
4020
  function e(t, n, r, i) {
@@ -4031,7 +4033,7 @@ var Go = (
4031
4033
  }, []);
4032
4034
  return l.length <= 1 ? l[0] || "" : l;
4033
4035
  }, this.formatToParts = function(f) {
4034
- return Bt(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
4036
+ return Ct(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
4035
4037
  }, this.resolvedOptions = function() {
4036
4038
  var f;
4037
4039
  return {
@@ -4044,13 +4046,13 @@ var Go = (
4044
4046
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4045
4047
  var a = i || {};
4046
4048
  a.formatters;
4047
- var u = qi(a, ["formatters"]);
4048
- this.ast = e.__parse(t, K(K({}, u), { locale: this.resolvedLocale }));
4049
+ var u = Ki(a, ["formatters"]);
4050
+ this.ast = e.__parse(t, ke(ke({}, u), { locale: this.resolvedLocale }));
4049
4051
  } else
4050
4052
  this.ast = t;
4051
4053
  if (!Array.isArray(this.ast))
4052
4054
  throw new TypeError("A message must be provided as a String or AST.");
4053
- this.formats = ko(e.formats, r), this.formatters = i && i.formatters || Uo(this.formatterCache);
4055
+ this.formats = Uo(e.formats, r), this.formatters = i && i.formatters || Go(this.formatterCache);
4054
4056
  }
4055
4057
  return Object.defineProperty(e, "defaultLocale", {
4056
4058
  get: function() {
@@ -4063,7 +4065,7 @@ var Go = (
4063
4065
  var n = Intl.NumberFormat.supportedLocalesOf(t);
4064
4066
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4065
4067
  }
4066
- }, e.__parse = Mo, e.formats = {
4068
+ }, e.__parse = Po, e.formats = {
4067
4069
  number: {
4068
4070
  integer: {
4069
4071
  maximumFractionDigits: 0
@@ -4124,7 +4126,7 @@ var Go = (
4124
4126
  }, e;
4125
4127
  }()
4126
4128
  );
4127
- function jo(e, t) {
4129
+ function Wo(e, t) {
4128
4130
  if (t == null)
4129
4131
  return;
4130
4132
  if (t in e)
@@ -4145,92 +4147,92 @@ function jo(e, t) {
4145
4147
  r = void 0;
4146
4148
  return r;
4147
4149
  }
4148
- const Je = {}, Wo = (e, t, n) => n && (t in Je || (Je[t] = {}), e in Je[t] || (Je[t][e] = n), n), Xr = (e, t) => {
4150
+ const qe = {}, Vo = (e, t, n) => n && (t in qe || (qe[t] = {}), e in qe[t] || (qe[t][e] = n), n), Zr = (e, t) => {
4149
4151
  if (t == null)
4150
4152
  return;
4151
- if (t in Je && e in Je[t])
4152
- return Je[t][e];
4153
- const n = Ot(t);
4153
+ if (t in qe && e in qe[t])
4154
+ return qe[t][e];
4155
+ const n = Ft(t);
4154
4156
  for (let r = 0; r < n.length; r++) {
4155
- const i = n[r], o = Xo(i, e);
4157
+ const i = n[r], o = Zo(i, e);
4156
4158
  if (o)
4157
- return Wo(e, t, o);
4159
+ return Vo(e, t, o);
4158
4160
  }
4159
4161
  };
4160
- let dn;
4161
- const ct = Mt({});
4162
- function Vo(e) {
4163
- return dn[e] || null;
4162
+ let pn;
4163
+ const dt = Ot({});
4164
+ function Xo(e) {
4165
+ return pn[e] || null;
4164
4166
  }
4165
- function Zr(e) {
4166
- return e in dn;
4167
+ function zr(e) {
4168
+ return e in pn;
4167
4169
  }
4168
- function Xo(e, t) {
4169
- if (!Zr(e))
4170
+ function Zo(e, t) {
4171
+ if (!zr(e))
4170
4172
  return null;
4171
- const n = Vo(e);
4172
- return jo(n, t);
4173
+ const n = Xo(e);
4174
+ return Wo(n, t);
4173
4175
  }
4174
- function Zo(e) {
4176
+ function zo(e) {
4175
4177
  if (e == null)
4176
4178
  return;
4177
- const t = Ot(e);
4179
+ const t = Ft(e);
4178
4180
  for (let n = 0; n < t.length; n++) {
4179
4181
  const r = t[n];
4180
- if (Zr(r))
4182
+ if (zr(r))
4181
4183
  return r;
4182
4184
  }
4183
4185
  }
4184
- function zr(e, ...t) {
4185
- delete Je[e], ct.update((n) => (n[e] = Ji.all([n[e] || {}, ...t]), n));
4186
+ function Jr(e, ...t) {
4187
+ delete qe[e], dt.update((n) => (n[e] = qi.all([n[e] || {}, ...t]), n));
4186
4188
  }
4187
- ht(
4188
- [ct],
4189
+ ct(
4190
+ [dt],
4189
4191
  ([e]) => Object.keys(e)
4190
4192
  );
4191
- ct.subscribe((e) => dn = e);
4192
- const Ct = {};
4193
- function zo(e, t) {
4194
- Ct[e].delete(t), Ct[e].size === 0 && delete Ct[e];
4193
+ dt.subscribe((e) => pn = e);
4194
+ const xt = {};
4195
+ function Jo(e, t) {
4196
+ xt[e].delete(t), xt[e].size === 0 && delete xt[e];
4195
4197
  }
4196
- function Jr(e) {
4197
- return Ct[e];
4198
+ function qr(e) {
4199
+ return xt[e];
4198
4200
  }
4199
- function Jo(e) {
4200
- return Ot(e).map((t) => {
4201
- const n = Jr(t);
4201
+ function qo(e) {
4202
+ return Ft(e).map((t) => {
4203
+ const n = qr(t);
4202
4204
  return [t, n ? [...n] : []];
4203
4205
  }).filter(([, t]) => t.length > 0);
4204
4206
  }
4205
- function rn(e) {
4206
- return e == null ? !1 : Ot(e).some(
4207
+ function an(e) {
4208
+ return e == null ? !1 : Ft(e).some(
4207
4209
  (t) => {
4208
4210
  var n;
4209
- return (n = Jr(t)) == null ? void 0 : n.size;
4211
+ return (n = qr(t)) == null ? void 0 : n.size;
4210
4212
  }
4211
4213
  );
4212
4214
  }
4213
- function qo(e, t) {
4215
+ function Ko(e, t) {
4214
4216
  return Promise.all(
4215
- t.map((r) => (zo(e, r), r().then((i) => i.default || i)))
4216
- ).then((r) => zr(e, ...r));
4217
- }
4218
- const vt = {};
4219
- function qr(e) {
4220
- if (!rn(e))
4221
- return e in vt ? vt[e] : Promise.resolve();
4222
- const t = Jo(e);
4223
- return vt[e] = Promise.all(
4217
+ t.map((r) => (Jo(e, r), r().then((i) => i.default || i)))
4218
+ ).then((r) => Jr(e, ...r));
4219
+ }
4220
+ const bt = {};
4221
+ function Kr(e) {
4222
+ if (!an(e))
4223
+ return e in bt ? bt[e] : Promise.resolve();
4224
+ const t = qo(e);
4225
+ return bt[e] = Promise.all(
4224
4226
  t.map(
4225
- ([n, r]) => qo(n, r)
4227
+ ([n, r]) => Ko(n, r)
4226
4228
  )
4227
4229
  ).then(() => {
4228
- if (rn(e))
4229
- return qr(e);
4230
- delete vt[e];
4231
- }), vt[e];
4230
+ if (an(e))
4231
+ return Kr(e);
4232
+ delete bt[e];
4233
+ }), bt[e];
4232
4234
  }
4233
- const Ko = {
4235
+ const Yo = {
4234
4236
  number: {
4235
4237
  scientific: { notation: "scientific" },
4236
4238
  engineering: { notation: "engineering" },
@@ -4259,150 +4261,150 @@ const Ko = {
4259
4261
  timeZoneName: "short"
4260
4262
  }
4261
4263
  }
4262
- }, Yo = {
4264
+ }, Qo = {
4263
4265
  fallbackLocale: null,
4264
4266
  loadingDelay: 200,
4265
- formats: Ko,
4267
+ formats: Yo,
4266
4268
  warnOnMissingMessages: !0,
4267
4269
  handleMissingMessage: void 0,
4268
4270
  ignoreTag: !0
4269
- }, Qo = Yo;
4270
- function ut() {
4271
- return Qo;
4272
- }
4273
- const Zt = Mt(!1);
4274
- var $o = Object.defineProperty, ea = Object.defineProperties, ta = Object.getOwnPropertyDescriptors, Gn = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, ra = Object.prototype.propertyIsEnumerable, jn = (e, t, n) => t in e ? $o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ia = (e, t) => {
4275
- for (var n in t)
4276
- na.call(t, n) && jn(e, n, t[n]);
4277
- if (Gn)
4278
- for (var n of Gn(t))
4279
- ra.call(t, n) && jn(e, n, t[n]);
4271
+ }, $o = Qo;
4272
+ function ft() {
4273
+ return $o;
4274
+ }
4275
+ const Jt = Ot(!1);
4276
+ var ea = Object.defineProperty, ta = Object.defineProperties, na = Object.getOwnPropertyDescriptors, jn = Object.getOwnPropertySymbols, ra = Object.prototype.hasOwnProperty, ia = Object.prototype.propertyIsEnumerable, Wn = (e, t, n) => t in e ? ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, oa = (e, t) => {
4277
+ for (var n in t || (t = {}))
4278
+ ra.call(t, n) && Wn(e, n, t[n]);
4279
+ if (jn)
4280
+ for (var n of jn(t))
4281
+ ia.call(t, n) && Wn(e, n, t[n]);
4280
4282
  return e;
4281
- }, oa = (e, t) => ea(e, ta(t));
4282
- let on;
4283
- const Ht = Mt(null);
4284
- function Wn(e) {
4283
+ }, aa = (e, t) => ta(e, na(t));
4284
+ let sn;
4285
+ const Lt = Ot(null);
4286
+ function Vn(e) {
4285
4287
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4286
4288
  }
4287
- function Ot(e, t = ut().fallbackLocale) {
4288
- const n = Wn(e);
4289
- return t ? [.../* @__PURE__ */ new Set([...n, ...Wn(t)])] : n;
4289
+ function Ft(e, t = ft().fallbackLocale) {
4290
+ const n = Vn(e);
4291
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Vn(t)])] : n;
4290
4292
  }
4291
- function et() {
4292
- return on != null ? on : void 0;
4293
+ function tt() {
4294
+ return sn != null ? sn : void 0;
4293
4295
  }
4294
- Ht.subscribe((e) => {
4295
- on = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4296
+ Lt.subscribe((e) => {
4297
+ sn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4296
4298
  });
4297
- const aa = (e) => {
4298
- if (e && Zo(e) && rn(e)) {
4299
- const { loadingDelay: t } = ut();
4299
+ const sa = (e) => {
4300
+ if (e && zo(e) && an(e)) {
4301
+ const { loadingDelay: t } = ft();
4300
4302
  let n;
4301
- return typeof window != "undefined" && et() != null && t ? n = window.setTimeout(
4302
- () => Zt.set(!0),
4303
+ return typeof window != "undefined" && tt() != null && t ? n = window.setTimeout(
4304
+ () => Jt.set(!0),
4303
4305
  t
4304
- ) : Zt.set(!0), qr(e).then(() => {
4305
- Ht.set(e);
4306
+ ) : Jt.set(!0), Kr(e).then(() => {
4307
+ Lt.set(e);
4306
4308
  }).finally(() => {
4307
- clearTimeout(n), Zt.set(!1);
4309
+ clearTimeout(n), Jt.set(!1);
4308
4310
  });
4309
4311
  }
4310
- return Ht.set(e);
4311
- }, Ke = oa(ia({}, Ht), {
4312
- set: aa
4313
- }), Dt = (e) => {
4312
+ return Lt.set(e);
4313
+ }, Ye = aa(oa({}, Lt), {
4314
+ set: sa
4315
+ }), kt = (e) => {
4314
4316
  const t = /* @__PURE__ */ Object.create(null);
4315
4317
  return (r) => {
4316
4318
  const i = JSON.stringify(r);
4317
4319
  return i in t ? t[i] : t[i] = e(r);
4318
4320
  };
4319
4321
  };
4320
- var sa = Object.defineProperty, Rt = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, Vn = (e, t, n) => t in e ? sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pn = (e, t) => {
4322
+ var la = Object.defineProperty, Mt = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Qr = Object.prototype.propertyIsEnumerable, Xn = (e, t, n) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, mn = (e, t) => {
4321
4323
  for (var n in t || (t = {}))
4322
- Kr.call(t, n) && Vn(e, n, t[n]);
4323
- if (Rt)
4324
- for (var n of Rt(t))
4325
- Yr.call(t, n) && Vn(e, n, t[n]);
4324
+ Yr.call(t, n) && Xn(e, n, t[n]);
4325
+ if (Mt)
4326
+ for (var n of Mt(t))
4327
+ Qr.call(t, n) && Xn(e, n, t[n]);
4326
4328
  return e;
4327
- }, dt = (e, t) => {
4329
+ }, pt = (e, t) => {
4328
4330
  var n = {};
4329
4331
  for (var r in e)
4330
- Kr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4331
- if (e != null && Rt)
4332
- for (var r of Rt(e))
4333
- t.indexOf(r) < 0 && Yr.call(e, r) && (n[r] = e[r]);
4332
+ Yr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4333
+ if (e != null && Mt)
4334
+ for (var r of Mt(e))
4335
+ t.indexOf(r) < 0 && Qr.call(e, r) && (n[r] = e[r]);
4334
4336
  return n;
4335
4337
  };
4336
- const yt = (e, t) => {
4337
- const { formats: n } = ut();
4338
+ const Et = (e, t) => {
4339
+ const { formats: n } = ft();
4338
4340
  if (e in n && t in n[e])
4339
4341
  return n[e][t];
4340
4342
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4341
- }, la = Dt(
4343
+ }, ua = kt(
4342
4344
  (e) => {
4343
- var t = e, { locale: n, format: r } = t, i = dt(t, ["locale", "format"]);
4345
+ var t = e, { locale: n, format: r } = t, i = pt(t, ["locale", "format"]);
4344
4346
  if (n == null)
4345
4347
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4346
- return r && (i = yt("number", r)), new Intl.NumberFormat(n, i);
4348
+ return r && (i = Et("number", r)), new Intl.NumberFormat(n, i);
4347
4349
  }
4348
- ), ua = Dt(
4350
+ ), fa = kt(
4349
4351
  (e) => {
4350
- var t = e, { locale: n, format: r } = t, i = dt(t, ["locale", "format"]);
4352
+ var t = e, { locale: n, format: r } = t, i = pt(t, ["locale", "format"]);
4351
4353
  if (n == null)
4352
4354
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4353
- return r ? i = yt("date", r) : Object.keys(i).length === 0 && (i = yt("date", "short")), new Intl.DateTimeFormat(n, i);
4355
+ return r ? i = Et("date", r) : Object.keys(i).length === 0 && (i = Et("date", "short")), new Intl.DateTimeFormat(n, i);
4354
4356
  }
4355
- ), fa = Dt(
4357
+ ), ha = kt(
4356
4358
  (e) => {
4357
- var t = e, { locale: n, format: r } = t, i = dt(t, ["locale", "format"]);
4359
+ var t = e, { locale: n, format: r } = t, i = pt(t, ["locale", "format"]);
4358
4360
  if (n == null)
4359
4361
  throw new Error(
4360
4362
  '[svelte-i18n] A "locale" must be set to format time values'
4361
4363
  );
4362
- return r ? i = yt("time", r) : Object.keys(i).length === 0 && (i = yt("time", "short")), new Intl.DateTimeFormat(n, i);
4364
+ return r ? i = Et("time", r) : Object.keys(i).length === 0 && (i = Et("time", "short")), new Intl.DateTimeFormat(n, i);
4363
4365
  }
4364
- ), ha = (e = {}) => {
4366
+ ), ca = (e = {}) => {
4365
4367
  var t = e, {
4366
- locale: n = et()
4367
- } = t, r = dt(t, [
4368
+ locale: n = tt()
4369
+ } = t, r = pt(t, [
4368
4370
  "locale"
4369
4371
  ]);
4370
- return la(pn({ locale: n }, r));
4371
- }, ca = (e = {}) => {
4372
+ return ua(mn({ locale: n }, r));
4373
+ }, da = (e = {}) => {
4372
4374
  var t = e, {
4373
- locale: n = et()
4374
- } = t, r = dt(t, [
4375
+ locale: n = tt()
4376
+ } = t, r = pt(t, [
4375
4377
  "locale"
4376
4378
  ]);
4377
- return ua(pn({ locale: n }, r));
4378
- }, da = (e = {}) => {
4379
+ return fa(mn({ locale: n }, r));
4380
+ }, pa = (e = {}) => {
4379
4381
  var t = e, {
4380
- locale: n = et()
4381
- } = t, r = dt(t, [
4382
+ locale: n = tt()
4383
+ } = t, r = pt(t, [
4382
4384
  "locale"
4383
4385
  ]);
4384
- return fa(pn({ locale: n }, r));
4385
- }, pa = Dt(
4386
+ return ha(mn({ locale: n }, r));
4387
+ }, ma = kt(
4386
4388
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4387
- (e, t = et()) => new Go(e, t, ut().formats, {
4388
- ignoreTag: ut().ignoreTag
4389
+ (e, t = tt()) => new jo(e, t, ft().formats, {
4390
+ ignoreTag: ft().ignoreTag
4389
4391
  })
4390
- ), ma = (e, t = {}) => {
4392
+ ), ga = (e, t = {}) => {
4391
4393
  var n, r, i, o;
4392
4394
  let a = t;
4393
4395
  typeof e == "object" && (a = e, e = a.id);
4394
4396
  const {
4395
4397
  values: u,
4396
- locale: f = et(),
4398
+ locale: f = tt(),
4397
4399
  default: s
4398
4400
  } = a;
4399
4401
  if (f == null)
4400
4402
  throw new Error(
4401
4403
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4402
4404
  );
4403
- let l = Xr(e, f);
4405
+ let l = Zr(e, f);
4404
4406
  if (!l)
4405
- l = (o = (i = (r = (n = ut()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: f, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
4407
+ l = (o = (i = (r = (n = ft()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: f, id: e, defaultValue: s })) != null ? i : s) != null ? o : e;
4406
4408
  else if (typeof l != "string")
4407
4409
  return console.warn(
4408
4410
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4411,7 +4413,7 @@ const yt = (e, t) => {
4411
4413
  return l;
4412
4414
  let c = l;
4413
4415
  try {
4414
- c = pa(l, f).format(u);
4416
+ c = ma(l, f).format(u);
4415
4417
  } catch (h) {
4416
4418
  h instanceof Error && console.warn(
4417
4419
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4419,77 +4421,77 @@ const yt = (e, t) => {
4419
4421
  );
4420
4422
  }
4421
4423
  return c;
4422
- }, ga = (e, t) => da(t).format(e), va = (e, t) => ca(t).format(e), ba = (e, t) => ha(t).format(e), _a = (e, t = et()) => Xr(e, t), Qr = ht([Ke, ct], () => ma);
4423
- ht([Ke], () => ga);
4424
- ht([Ke], () => va);
4425
- ht([Ke], () => ba);
4426
- ht([Ke, ct], () => _a);
4427
- const ya = ({ withLocale: e, translations: t }) => {
4428
- Ke.subscribe((n) => {
4429
- n == null && (ct.set(t), Ke.set(e));
4424
+ }, va = (e, t) => pa(t).format(e), ba = (e, t) => da(t).format(e), _a = (e, t) => ca(t).format(e), ya = (e, t = tt()) => Zr(e, t), $r = ct([Ye, dt], () => ga);
4425
+ ct([Ye], () => va);
4426
+ ct([Ye], () => ba);
4427
+ ct([Ye], () => _a);
4428
+ ct([Ye, dt], () => ya);
4429
+ const Ea = ({ withLocale: e, translations: t }) => {
4430
+ Ye.subscribe((n) => {
4431
+ n == null && (dt.set(t), Ye.set(e));
4430
4432
  });
4431
- }, $r = (e, t) => {
4432
- zr(e, t);
4433
- }, Ea = (e) => {
4434
- Ke.set(e);
4433
+ }, ei = (e, t) => {
4434
+ Jr(e, t);
4435
4435
  }, wa = (e) => {
4436
- ya({ withLocale: "en", translations: {} }), Object.keys(e).forEach((t) => {
4437
- $r(t, e[t]);
4436
+ Ye.set(e);
4437
+ }, Ta = (e) => {
4438
+ Ea({ withLocale: "en", translations: {} }), Object.keys(e).forEach((t) => {
4439
+ ei(t, e[t]);
4438
4440
  });
4439
4441
  };
4440
- function Ta(e) {
4441
- un(e, "svelte-1akw4n4", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}private-casino-wagering-bonus-info::part(ExpiryTimeInfo){margin:0}private-casino-wagering-bonus-info::part(ExpiryTimeInfoText){color:#DC0D1F}hr{margin:11.0175975516px 0;border-top:1px solid #00AEEF}.BonusTerms{font-size:11.0175975516px;line-height:12.8538638103px;max-width:180px}.BonusTermsMobile{font-size:3.0769230769vw;line-height:3.6051282051vw;max-width:unset}.ShowMore{cursor:pointer;color:#00AEEF;text-align:right}.ShowMore.NoCursorTip{cursor:unset}.Root{display:flex;flex-direction:row;justify-content:space-between;width:648px;border:1px solid #00AEEF;padding:17.1384850803px 0;font-size:14.6901300689px;line-height:17.1384850803px}.Root>div{width:100%}.RootMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:400;width:inherit;flex-direction:column;padding:3.5897435897vw 0.7692307692vw;border-radius:1.0256410256vw}.BonusInfo{padding:0 17.1384850803px}.BonusInfoMobile{padding:0 6px}.BonusInfoWrapper,.AfterClaimedWrapper,.RewardsTopBar,.StatusClaimable{display:flex;flex-direction:row;justify-content:space-between}.BonusTypeTarget{max-width:180px;font-weight:400;padding:6.1208875287px 0;font-weight:700}.BonusTypeTargetMobile{max-width:unset}.SupportsTitle{font-weight:700}.BonusInfoWrapperMobile{margin-bottom:3.0769230769vw}.BonusInfoMobile{padding-bottom:4.6153846154vw}.BonusRewards{padding:0 17.1384850803px;border-left:1px solid #00AEEF}.BonusRewardsMobile{border-left:none;border-top:1px solid #00AEEF;padding-top:4.6153846154vw}.BonusInfoTitle{font-weight:700;color:#59CA00}.BonusInfoDescription{margin-top:12.2417750574px}.StatusClaimableCommand{margin-left:18.3626625861px}.StatusClaimableCommandMobile{margin-left:0}.StatusClaimableCommandButton{background:#00AEEF;border:1px solid #00AEEF;color:#FFFFFF;cursor:pointer;transition:0.6s;transition-property:opacity;font-size:12.2417750574px;line-height:14.7697016067px;font-weight:400;padding:14.6901300689px}.StatusClaimableCommandButton:disabled{opacity:0.3}.StatusClaimableCommandButtonMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:700;padding:4.6153846154vw 5.8974358974vw}.StatusClaimableCommandTerms{font-size:11px;font-weight:400;margin-top:6.1208875287px;text-align:center}.StatusClaimableCommandTerms a{color:#000000}.StatusClaimableCommandTermsMobile{margin:2.0512820513vw 0;font-size:3.0769230769vw;line-height:3.6051282051vw}.LevelStatus{text-align:center;margin-top:6.1208875287px}.BonusTypeWrapper{margin-left:18.3626625861px}.BonusTypeRemaining{font-weight:400;padding:6.1208875287px 0;color:#00AEEF}.BonusTypeTargetMobile,.BonusTypeRemainingMobile{padding:2.0512820513vw 0}.BonusTypeGot{font-weight:400;padding:6.1208875287px 0;color:#7884A0}.BonusTypeGotMobile{padding:2.0512820513vw 0}.RewardsTopBarTitle{font-weight:700;color:#252631}.BonusRewardsLevels{margin-top:3.0604437643px}.BonusRewardsLevelsMobile{margin-top:3.0769230769vw}.BonusRewardsLevelsItem{display:flex;margin-bottom:3.0604437643px;padding:7.3450650344px 0}.BonusRewardsLevelsItemMobile{margin-bottom:1.2820512821vw;padding:0}.BonusRewardsLevelsItemPosition{margin-right:3.0604437643px}.SupportsWrapper{margin-top:21.4231063504px}.SupportsWrapper div{margin-top:9.181331293px}.SupportsWrapperMobile{margin-top:6.1538461538vw}.SupportsWrapperMobile div{margin-top:2.0512820513vw}');
4442
+ function Sa(e) {
4443
+ hn(e, "svelte-1akw4n4", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-family:"Roboto";font-style:normal}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}private-casino-wagering-bonus-info::part(ExpiryTimeInfo){margin:0}private-casino-wagering-bonus-info::part(ExpiryTimeInfoText){color:#DC0D1F}hr{margin:11.0175975516px 0;border-top:1px solid #00AEEF}.BonusTerms{font-size:11.0175975516px;line-height:12.8538638103px;max-width:180px}.BonusTermsMobile{font-size:3.0769230769vw;line-height:3.6051282051vw;max-width:unset}.ShowMore{cursor:pointer;color:#00AEEF;text-align:right}.ShowMore.NoCursorTip{cursor:unset}.Root{display:flex;flex-direction:row;justify-content:space-between;width:648px;border:1px solid #00AEEF;padding:17.1384850803px 0;font-size:14.6901300689px;line-height:17.1384850803px}.Root>div{width:100%}.RootMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:400;width:inherit;flex-direction:column;padding:3.5897435897vw 0.7692307692vw;border-radius:1.0256410256vw}.BonusInfo{padding:0 17.1384850803px}.BonusInfoMobile{padding:0 6px}.BonusInfoWrapper,.AfterClaimedWrapper,.RewardsTopBar,.StatusClaimable{display:flex;flex-direction:row;justify-content:space-between}.BonusTypeTarget{max-width:180px;font-weight:400;padding:6.1208875287px 0;font-weight:700}.BonusTypeTargetMobile{max-width:unset}.SupportsTitle{font-weight:700}.BonusInfoWrapperMobile{margin-bottom:3.0769230769vw}.BonusInfoMobile{padding-bottom:4.6153846154vw}.BonusRewards{padding:0 17.1384850803px;border-left:1px solid #00AEEF}.BonusRewardsMobile{border-left:none;border-top:1px solid #00AEEF;padding-top:4.6153846154vw}.BonusInfoTitle{font-weight:700;color:#59CA00}.BonusInfoDescription{margin-top:12.2417750574px}.StatusClaimableCommand{margin-left:18.3626625861px}.StatusClaimableCommandMobile{margin-left:0}.StatusClaimableCommandButton{background:#00AEEF;border:1px solid #00AEEF;color:#FFFFFF;cursor:pointer;transition:0.6s;transition-property:opacity;font-size:12.2417750574px;line-height:14.7697016067px;font-weight:400;padding:14.6901300689px}.StatusClaimableCommandButton:disabled{opacity:0.3}.StatusClaimableCommandButtonMobile{font-size:4.1025641026vw;line-height:4.8076923077vw;font-weight:700;padding:4.6153846154vw 5.8974358974vw}.StatusClaimableCommandTerms{font-size:11px;font-weight:400;margin-top:6.1208875287px;text-align:center}.StatusClaimableCommandTerms a{color:#000000}.StatusClaimableCommandTermsMobile{margin:2.0512820513vw 0;font-size:3.0769230769vw;line-height:3.6051282051vw}.LevelStatus{text-align:center;margin-top:6.1208875287px}.BonusTypeWrapper{margin-left:18.3626625861px}.BonusTypeRemaining{font-weight:400;padding:6.1208875287px 0;color:#00AEEF}.BonusTypeTargetMobile,.BonusTypeRemainingMobile{padding:2.0512820513vw 0}.BonusTypeGot{font-weight:400;padding:6.1208875287px 0;color:#7884A0}.BonusTypeGotMobile{padding:2.0512820513vw 0}.RewardsTopBarTitle{font-weight:700;color:#252631}.BonusRewardsLevels{margin-top:3.0604437643px}.BonusRewardsLevelsMobile{margin-top:3.0769230769vw}.BonusRewardsLevelsItem{display:flex;margin-bottom:3.0604437643px;padding:7.3450650344px 0}.BonusRewardsLevelsItemMobile{margin-bottom:1.2820512821vw;padding:0}.BonusRewardsLevelsItemPosition{margin-right:3.0604437643px}.SupportsWrapper{margin-top:21.4231063504px}.SupportsWrapper div{margin-top:9.181331293px}.SupportsWrapperMobile{margin-top:6.1538461538vw}.SupportsWrapperMobile div{margin-top:2.0512820513vw}');
4442
4444
  }
4443
- function Xn(e, t, n) {
4445
+ function Zn(e, t, n) {
4444
4446
  const r = e.slice();
4445
4447
  return r[31] = t[n], r[33] = n, r;
4446
4448
  }
4447
- function Zn(e, t, n) {
4449
+ function zn(e, t, n) {
4448
4450
  const r = e.slice();
4449
4451
  return r[34] = t[n], r[36] = n, r;
4450
4452
  }
4451
- function zn(e, t, n) {
4453
+ function Jn(e, t, n) {
4452
4454
  const r = e.slice();
4453
4455
  return r[37] = t[n], r;
4454
4456
  }
4455
- function Jn(e, t, n) {
4457
+ function qn(e, t, n) {
4456
4458
  const r = e.slice();
4457
4459
  return r[40] = t[n], r;
4458
4460
  }
4459
- function qn(e, t, n) {
4461
+ function Kn(e, t, n) {
4460
4462
  const r = e.slice();
4461
4463
  return r[43] = t[n], r;
4462
4464
  }
4463
- function Kn(e, t, n) {
4465
+ function Yn(e, t, n) {
4464
4466
  const r = e.slice();
4465
4467
  return r[43] = t[n], r;
4466
4468
  }
4467
- function Yn(e, t, n) {
4469
+ function Qn(e, t, n) {
4468
4470
  const r = e.slice();
4469
4471
  return r[48] = t[n], r;
4470
4472
  }
4471
- function Qn(e) {
4472
- var ae;
4473
+ function $n(e) {
4474
+ var oe;
4473
4475
  let t, n, r, i, o = (
4474
4476
  /*bonus*/
4475
4477
  (e[0].name || /*bonus*/
4476
- ((ae = e[0].presentation) == null ? void 0 : ae.name.content)) + ""
4478
+ ((oe = e[0].presentation) == null ? void 0 : oe.name.content)) + ""
4477
4479
  ), a, u, f, s, l, c, h, b, v = (
4478
4480
  /*locale*/
4479
4481
  e[4]("rewards") + ""
4480
- ), m, d, y, D, N, G, j, te, W = (
4482
+ ), m, d, y, D, O, G, j, ee, W = (
4481
4483
  /*locale*/
4482
4484
  e[4]("includeBets") + ""
4483
- ), le, fe, ne, he, q = [
4485
+ ), se, ue, te, fe, q = [
4484
4486
  /*classWithMobile*/
4485
4487
  e[12]("BonusInfoTitle")
4486
- ], Q = {};
4488
+ ], Y = {};
4487
4489
  for (let p = 0; p < q.length; p += 1)
4488
- Q = F(Q, q[p]);
4489
- let $ = (
4490
+ Y = F(Y, q[p]);
4491
+ let Q = (
4490
4492
  /*bonus*/
4491
- e[0].status === ie.active && /*timeInfos*/
4492
- e[8] && $n(e)
4493
+ e[0].status === re.active && /*timeInfos*/
4494
+ e[8] && er(e)
4493
4495
  ), me = [
4494
4496
  /*classWithMobile*/
4495
4497
  e[12]("BonusInfoWrapper")
@@ -4497,9 +4499,9 @@ function Qn(e) {
4497
4499
  for (let p = 0; p < me.length; p += 1)
4498
4500
  ce = F(ce, me[p]);
4499
4501
  let w = !/*bonus*/
4500
- e[0].status && er(e), S = (
4502
+ e[0].status && tr(e), S = (
4501
4503
  /*bonus*/
4502
- e[0].status && tr(e)
4504
+ e[0].status && nr(e)
4503
4505
  ), x = [
4504
4506
  /*classWithMobile*/
4505
4507
  e[12]("BonusInfo")
@@ -4514,44 +4516,44 @@ function Qn(e) {
4514
4516
  Ee = F(Ee, de[p]);
4515
4517
  let B = (
4516
4518
  /*bonus*/
4517
- e[0].status && or(e)
4518
- ), ee = [
4519
+ e[0].status && ar(e)
4520
+ ), $ = [
4519
4521
  /*classWithMobile*/
4520
4522
  e[12]("RewardsTopBar")
4521
4523
  ], we = {};
4522
- for (let p = 0; p < ee.length; p += 1)
4523
- we = F(we, ee[p]);
4524
- let oe = (
4524
+ for (let p = 0; p < $.length; p += 1)
4525
+ we = F(we, $[p]);
4526
+ let ie = (
4525
4527
  /*bonus*/
4526
- e[0].status && ar(e)
4527
- ), re = !/*bonus*/
4528
- e[0].status && fr(e), De = [
4528
+ e[0].status && sr(e)
4529
+ ), ne = !/*bonus*/
4530
+ e[0].status && hr(e), De = [
4529
4531
  /*classWithMobile*/
4530
4532
  e[12]("BonusRewardsLevels")
4531
- ], Xe = {};
4533
+ ], Ze = {};
4532
4534
  for (let p = 0; p < De.length; p += 1)
4533
- Xe = F(Xe, De[p]);
4535
+ Ze = F(Ze, De[p]);
4534
4536
  let Fe = [
4535
4537
  /*classWithMobile*/
4536
4538
  e[12]("SupportsTitle")
4537
4539
  ], be = {};
4538
4540
  for (let p = 0; p < Fe.length; p += 1)
4539
4541
  be = F(be, Fe[p]);
4540
- let Ze = pe(
4542
+ let ze = pe(
4541
4543
  /*products*/
4542
4544
  e[11]
4543
4545
  ), _e = [];
4544
- for (let p = 0; p < Ze.length; p += 1)
4545
- _e[p] = mr(Xn(e, Ze, p));
4546
+ for (let p = 0; p < ze.length; p += 1)
4547
+ _e[p] = gr(Zn(e, ze, p));
4546
4548
  let Ce = (
4547
4549
  /*products*/
4548
- e[11].length === 1 && gr()
4549
- ), tt = [
4550
+ e[11].length === 1 && vr()
4551
+ ), nt = [
4550
4552
  /*classWithMobile*/
4551
4553
  e[12]("SupportsList")
4552
4554
  ], g = {};
4553
- for (let p = 0; p < tt.length; p += 1)
4554
- g = F(g, tt[p]);
4555
+ for (let p = 0; p < nt.length; p += 1)
4556
+ g = F(g, nt[p]);
4555
4557
  let C = [
4556
4558
  /*classWithMobile*/
4557
4559
  e[12]("SupportsWrapper")
@@ -4561,9 +4563,9 @@ function Qn(e) {
4561
4563
  let T = [
4562
4564
  /*classWithMobile*/
4563
4565
  e[12]("BonusRewards")
4564
- ], O = {};
4566
+ ], N = {};
4565
4567
  for (let p = 0; p < T.length; p += 1)
4566
- O = F(O, T[p]);
4568
+ N = F(N, T[p]);
4567
4569
  let R = [
4568
4570
  /*classWithMobile*/
4569
4571
  e[12]("Root")
@@ -4572,35 +4574,35 @@ function Qn(e) {
4572
4574
  U = F(U, R[p]);
4573
4575
  return {
4574
4576
  c() {
4575
- t = I("section"), n = I("div"), r = I("section"), i = I("section"), a = Y(o), u = X(), $ && $.c(), f = X(), w && w.c(), s = X(), S && S.c(), l = X(), c = I("div"), h = I("section"), b = I("div"), m = Y(v), d = X(), B && B.c(), y = X(), D = I("div"), oe && oe.c(), N = X(), re && re.c(), G = X(), j = I("div"), te = I("div"), le = Y(W), fe = X(), ne = I("div");
4577
+ t = I("section"), n = I("div"), r = I("section"), i = I("section"), a = K(o), u = X(), Q && Q.c(), f = X(), w && w.c(), s = X(), S && S.c(), l = X(), c = I("div"), h = I("section"), b = I("div"), m = K(v), d = X(), B && B.c(), y = X(), D = I("div"), ie && ie.c(), O = X(), ne && ne.c(), G = X(), j = I("div"), ee = I("div"), se = K(W), ue = X(), te = I("div");
4576
4578
  for (let p = 0; p < _e.length; p += 1)
4577
4579
  _e[p].c();
4578
- he = X(), Ce && Ce.c(), _(i, Q), _(r, ce), _(n, Z), _(b, Ee), _(h, we), _(D, Xe), _(te, be), _(ne, g), _(j, A), _(c, O), _(t, U);
4580
+ fe = X(), Ce && Ce.c(), _(i, Y), _(r, ce), _(n, Z), _(b, Ee), _(h, we), _(D, Ze), _(ee, be), _(te, g), _(j, A), _(c, N), _(t, U);
4579
4581
  },
4580
4582
  m(p, L) {
4581
- M(p, t, L), E(t, n), E(n, r), E(r, i), E(i, a), E(r, u), $ && $.m(r, null), E(n, f), w && w.m(n, null), E(n, s), S && S.m(n, null), E(t, l), E(t, c), E(c, h), E(h, b), E(b, m), E(h, d), B && B.m(h, null), E(c, y), E(c, D), oe && oe.m(D, null), E(D, N), re && re.m(D, null), E(c, G), E(c, j), E(j, te), E(te, le), E(j, fe), E(j, ne);
4583
+ P(p, t, L), E(t, n), E(n, r), E(r, i), E(i, a), E(r, u), Q && Q.m(r, null), E(n, f), w && w.m(n, null), E(n, s), S && S.m(n, null), E(t, l), E(t, c), E(c, h), E(h, b), E(b, m), E(h, d), B && B.m(h, null), E(c, y), E(c, D), ie && ie.m(D, null), E(D, O), ne && ne.m(D, null), E(c, G), E(c, j), E(j, ee), E(ee, se), E(j, ue), E(j, te);
4582
4584
  for (let z = 0; z < _e.length; z += 1)
4583
- _e[z] && _e[z].m(ne, null);
4584
- E(ne, he), Ce && Ce.m(ne, null);
4585
+ _e[z] && _e[z].m(te, null);
4586
+ E(te, fe), Ce && Ce.m(te, null);
4585
4587
  },
4586
4588
  p(p, L) {
4587
4589
  var z;
4588
4590
  if (L[0] & /*bonus*/
4589
4591
  1 && o !== (o = /*bonus*/
4590
4592
  (p[0].name || /*bonus*/
4591
- ((z = p[0].presentation) == null ? void 0 : z.name.content)) + "") && Be(a, o, Q.contenteditable), _(i, Q = k(q, [
4593
+ ((z = p[0].presentation) == null ? void 0 : z.name.content)) + "") && Be(a, o, Y.contenteditable), _(i, Y = k(q, [
4592
4594
  L[0] & /*classWithMobile*/
4593
4595
  4096 && /*classWithMobile*/
4594
4596
  p[12]("BonusInfoTitle")
4595
4597
  ])), /*bonus*/
4596
- p[0].status === ie.active && /*timeInfos*/
4597
- p[8] ? $ ? $.p(p, L) : ($ = $n(p), $.c(), $.m(r, null)) : $ && ($.d(1), $ = null), _(r, ce = k(me, [
4598
+ p[0].status === re.active && /*timeInfos*/
4599
+ p[8] ? Q ? Q.p(p, L) : (Q = er(p), Q.c(), Q.m(r, null)) : Q && (Q.d(1), Q = null), _(r, ce = k(me, [
4598
4600
  L[0] & /*classWithMobile*/
4599
4601
  4096 && /*classWithMobile*/
4600
4602
  p[12]("BonusInfoWrapper")
4601
4603
  ])), /*bonus*/
4602
- p[0].status ? w && (w.d(1), w = null) : w ? w.p(p, L) : (w = er(p), w.c(), w.m(n, s)), /*bonus*/
4603
- p[0].status ? S ? S.p(p, L) : (S = tr(p), S.c(), S.m(n, null)) : S && (S.d(1), S = null), _(n, Z = k(x, [
4604
+ p[0].status ? w && (w.d(1), w = null) : w ? w.p(p, L) : (w = tr(p), w.c(), w.m(n, s)), /*bonus*/
4605
+ p[0].status ? S ? S.p(p, L) : (S = nr(p), S.c(), S.m(n, null)) : S && (S.d(1), S = null), _(n, Z = k(x, [
4604
4606
  L[0] & /*classWithMobile*/
4605
4607
  4096 && /*classWithMobile*/
4606
4608
  p[12]("BonusInfo")
@@ -4611,39 +4613,39 @@ function Qn(e) {
4611
4613
  4096 && /*classWithMobile*/
4612
4614
  p[12]("RewardsTopBarTitle")
4613
4615
  ])), /*bonus*/
4614
- p[0].status ? B ? B.p(p, L) : (B = or(p), B.c(), B.m(h, null)) : B && (B.d(1), B = null), _(h, we = k(ee, [
4616
+ p[0].status ? B ? B.p(p, L) : (B = ar(p), B.c(), B.m(h, null)) : B && (B.d(1), B = null), _(h, we = k($, [
4615
4617
  L[0] & /*classWithMobile*/
4616
4618
  4096 && /*classWithMobile*/
4617
4619
  p[12]("RewardsTopBar")
4618
4620
  ])), /*bonus*/
4619
- p[0].status ? oe ? oe.p(p, L) : (oe = ar(p), oe.c(), oe.m(D, N)) : oe && (oe.d(1), oe = null), /*bonus*/
4620
- p[0].status ? re && (re.d(1), re = null) : re ? re.p(p, L) : (re = fr(p), re.c(), re.m(D, null)), _(D, Xe = k(De, [
4621
+ p[0].status ? ie ? ie.p(p, L) : (ie = sr(p), ie.c(), ie.m(D, O)) : ie && (ie.d(1), ie = null), /*bonus*/
4622
+ p[0].status ? ne && (ne.d(1), ne = null) : ne ? ne.p(p, L) : (ne = hr(p), ne.c(), ne.m(D, null)), _(D, Ze = k(De, [
4621
4623
  L[0] & /*classWithMobile*/
4622
4624
  4096 && /*classWithMobile*/
4623
4625
  p[12]("BonusRewardsLevels")
4624
4626
  ])), L[0] & /*locale*/
4625
4627
  16 && W !== (W = /*locale*/
4626
- p[4]("includeBets") + "") && Be(le, W, be.contenteditable), _(te, be = k(Fe, [
4628
+ p[4]("includeBets") + "") && Be(se, W, be.contenteditable), _(ee, be = k(Fe, [
4627
4629
  L[0] & /*classWithMobile*/
4628
4630
  4096 && /*classWithMobile*/
4629
4631
  p[12]("SupportsTitle")
4630
4632
  ])), L[0] & /*products*/
4631
4633
  2048) {
4632
- Ze = pe(
4634
+ ze = pe(
4633
4635
  /*products*/
4634
4636
  p[11]
4635
4637
  );
4636
4638
  let H;
4637
- for (H = 0; H < Ze.length; H += 1) {
4638
- const se = Xn(p, Ze, H);
4639
- _e[H] ? _e[H].p(se, L) : (_e[H] = mr(se), _e[H].c(), _e[H].m(ne, he));
4639
+ for (H = 0; H < ze.length; H += 1) {
4640
+ const ae = Zn(p, ze, H);
4641
+ _e[H] ? _e[H].p(ae, L) : (_e[H] = gr(ae), _e[H].c(), _e[H].m(te, fe));
4640
4642
  }
4641
4643
  for (; H < _e.length; H += 1)
4642
4644
  _e[H].d(1);
4643
- _e.length = Ze.length;
4645
+ _e.length = ze.length;
4644
4646
  }
4645
4647
  /*products*/
4646
- p[11].length === 1 ? Ce || (Ce = gr(), Ce.c(), Ce.m(ne, null)) : Ce && (Ce.d(1), Ce = null), _(ne, g = k(tt, [
4648
+ p[11].length === 1 ? Ce || (Ce = vr(), Ce.c(), Ce.m(te, null)) : Ce && (Ce.d(1), Ce = null), _(te, g = k(nt, [
4647
4649
  L[0] & /*classWithMobile*/
4648
4650
  4096 && /*classWithMobile*/
4649
4651
  p[12]("SupportsList")
@@ -4651,7 +4653,7 @@ function Qn(e) {
4651
4653
  L[0] & /*classWithMobile*/
4652
4654
  4096 && /*classWithMobile*/
4653
4655
  p[12]("SupportsWrapper")
4654
- ])), _(c, O = k(T, [
4656
+ ])), _(c, N = k(T, [
4655
4657
  L[0] & /*classWithMobile*/
4656
4658
  4096 && /*classWithMobile*/
4657
4659
  p[12]("BonusRewards")
@@ -4660,11 +4662,11 @@ function Qn(e) {
4660
4662
  p[12]("Root")]));
4661
4663
  },
4662
4664
  d(p) {
4663
- p && P(t), $ && $.d(), w && w.d(), S && S.d(), B && B.d(), oe && oe.d(), re && re.d(), ke(_e, p), Ce && Ce.d();
4665
+ p && M(t), Q && Q.d(), w && w.d(), S && S.d(), B && B.d(), ie && ie.d(), ne && ne.d(), Ue(_e, p), Ce && Ce.d();
4664
4666
  }
4665
4667
  };
4666
4668
  }
4667
- function $n(e) {
4669
+ function er(e) {
4668
4670
  let t, n = [
4669
4671
  {
4670
4672
  infos: JSON.stringify(
@@ -4680,7 +4682,7 @@ function $n(e) {
4680
4682
  t = I("private-casino-wagering-bonus-info"), _(t, r);
4681
4683
  },
4682
4684
  m(i, o) {
4683
- M(i, t, o);
4685
+ P(i, t, o);
4684
4686
  },
4685
4687
  p(i, o) {
4686
4688
  _(t, r = k(n, [
@@ -4694,11 +4696,11 @@ function $n(e) {
4694
4696
  ]));
4695
4697
  },
4696
4698
  d(i) {
4697
- i && P(t);
4699
+ i && M(t);
4698
4700
  }
4699
4701
  };
4700
4702
  }
4701
- function er(e) {
4703
+ function tr(e) {
4702
4704
  let t, n = (
4703
4705
  /*bonus*/
4704
4706
  (e[0].description || "") + ""
@@ -4708,23 +4710,23 @@ function er(e) {
4708
4710
  ), b, v, m, d, y, D = (
4709
4711
  /*locale*/
4710
4712
  e[4]("terms") + ""
4711
- ), N, G, j, te, W = [
4713
+ ), O, G, j, ee, W = [
4712
4714
  /*classWithMobile*/
4713
4715
  e[12]("BonusInfoDescription")
4714
- ], le = {};
4716
+ ], se = {};
4715
4717
  for (let x = 0; x < W.length; x += 1)
4716
- le = F(le, W[x]);
4717
- let fe = [
4718
+ se = F(se, W[x]);
4719
+ let ue = [
4718
4720
  {
4719
4721
  infos: JSON.stringify(
4720
4722
  /*statusClaimableInfos*/
4721
4723
  e[10]
4722
4724
  )
4723
4725
  }
4724
- ], ne = {};
4725
- for (let x = 0; x < fe.length; x += 1)
4726
- ne = F(ne, fe[x]);
4727
- let he = [
4726
+ ], te = {};
4727
+ for (let x = 0; x < ue.length; x += 1)
4728
+ te = F(te, ue[x]);
4729
+ let fe = [
4728
4730
  /*classWithMobile*/
4729
4731
  e[12]("StatusClaimableCommandButton"),
4730
4732
  { type: "button" },
@@ -4733,14 +4735,14 @@ function er(e) {
4733
4735
  e[6]
4734
4736
  }
4735
4737
  ], q = {};
4736
- for (let x = 0; x < he.length; x += 1)
4737
- q = F(q, he[x]);
4738
- let Q = [
4738
+ for (let x = 0; x < fe.length; x += 1)
4739
+ q = F(q, fe[x]);
4740
+ let Y = [
4739
4741
  /*classWithMobile*/
4740
4742
  e[12]("StatusClaimableCommandTerms", "terms")
4741
- ], $ = {};
4742
- for (let x = 0; x < Q.length; x += 1)
4743
- $ = F($, Q[x]);
4743
+ ], Q = {};
4744
+ for (let x = 0; x < Y.length; x += 1)
4745
+ Q = F(Q, Y[x]);
4744
4746
  let me = [
4745
4747
  /*classWithMobile*/
4746
4748
  e[12]("StatusClaimableCommand")
@@ -4755,11 +4757,11 @@ function er(e) {
4755
4757
  S = F(S, w[x]);
4756
4758
  return {
4757
4759
  c() {
4758
- t = I("div"), r = Y(n), i = X(), o = I("hr"), a = X(), u = I("section"), f = I("private-casino-wagering-bonus-info"), s = X(), l = I("div"), c = I("button"), b = Y(h), m = X(), d = I("div"), y = I("a"), N = Y(D), _(t, le), _(f, ne), _(c, q), qe(y, "href", G = /*bonus*/
4759
- e[0].termsUrl), qe(y, "target", "__blank"), _(d, $), _(l, ce), _(u, S);
4760
+ t = I("div"), r = K(n), i = X(), o = I("hr"), a = X(), u = I("section"), f = I("private-casino-wagering-bonus-info"), s = X(), l = I("div"), c = I("button"), b = K(h), m = X(), d = I("div"), y = I("a"), O = K(D), _(t, se), _(f, te), _(c, q), Ke(y, "href", G = /*bonus*/
4761
+ e[0].termsUrl), Ke(y, "target", "__blank"), _(d, Q), _(l, ce), _(u, S);
4760
4762
  },
4761
4763
  m(x, Z) {
4762
- M(x, t, Z), E(t, r), M(x, i, Z), M(x, o, Z), M(x, a, Z), M(x, u, Z), E(u, f), E(u, s), E(u, l), E(l, c), E(c, b), c.autofocus && c.focus(), E(l, m), E(l, d), E(d, y), E(y, N), j || (te = $e(
4764
+ P(x, t, Z), E(t, r), P(x, i, Z), P(x, o, Z), P(x, a, Z), P(x, u, Z), E(u, f), E(u, s), E(u, l), E(l, c), E(c, b), c.autofocus && c.focus(), E(l, m), E(l, d), E(d, y), E(y, O), j || (ee = et(
4763
4765
  c,
4764
4766
  "click",
4765
4767
  /*eventStartChallenge*/
@@ -4769,11 +4771,11 @@ function er(e) {
4769
4771
  p(x, Z) {
4770
4772
  Z[0] & /*bonus*/
4771
4773
  1 && n !== (n = /*bonus*/
4772
- (x[0].description || "") + "") && Be(r, n, le.contenteditable), _(t, le = k(W, [
4774
+ (x[0].description || "") + "") && Be(r, n, se.contenteditable), _(t, se = k(W, [
4773
4775
  Z[0] & /*classWithMobile*/
4774
4776
  4096 && /*classWithMobile*/
4775
4777
  x[12]("BonusInfoDescription")
4776
- ])), _(f, ne = k(fe, [
4778
+ ])), _(f, te = k(ue, [
4777
4779
  Z[0] & /*statusClaimableInfos*/
4778
4780
  1024 && {
4779
4781
  infos: JSON.stringify(
@@ -4783,7 +4785,7 @@ function er(e) {
4783
4785
  }
4784
4786
  ])), Z[0] & /*locale*/
4785
4787
  16 && h !== (h = /*locale*/
4786
- x[4]("startChallenge") + "") && Be(b, h, q.contenteditable), _(c, q = k(he, [
4788
+ x[4]("startChallenge") + "") && Be(b, h, q.contenteditable), _(c, q = k(fe, [
4787
4789
  Z[0] & /*classWithMobile*/
4788
4790
  4096 && /*classWithMobile*/
4789
4791
  x[12]("StatusClaimableCommandButton"),
@@ -4793,9 +4795,9 @@ function er(e) {
4793
4795
  x[6]) && { disabled: v }
4794
4796
  ])), Z[0] & /*locale*/
4795
4797
  16 && D !== (D = /*locale*/
4796
- x[4]("terms") + "") && Oe(N, D), Z[0] & /*bonus*/
4798
+ x[4]("terms") + "") && Ne(O, D), Z[0] & /*bonus*/
4797
4799
  1 && G !== (G = /*bonus*/
4798
- x[0].termsUrl) && qe(y, "href", G), _(d, $ = k(Q, [
4800
+ x[0].termsUrl) && Ke(y, "href", G), _(d, Q = k(Y, [
4799
4801
  Z[0] & /*classWithMobile*/
4800
4802
  4096 && /*classWithMobile*/
4801
4803
  x[12]("StatusClaimableCommandTerms", "terms")
@@ -4810,11 +4812,11 @@ function er(e) {
4810
4812
  ]));
4811
4813
  },
4812
4814
  d(x) {
4813
- x && (P(t), P(i), P(o), P(a), P(u)), j = !1, te();
4815
+ x && (M(t), M(i), M(o), M(a), M(u)), j = !1, ee();
4814
4816
  }
4815
4817
  };
4816
4818
  }
4817
- function tr(e) {
4819
+ function nr(e) {
4818
4820
  var Ee;
4819
4821
  let t, n, r, i, o, a, u, f, s = (
4820
4822
  /*locale*/
@@ -4822,39 +4824,39 @@ function tr(e) {
4822
4824
  ), l, c, h = (
4823
4825
  /*levelsCurrent*/
4824
4826
  e[2].textWithLength + ""
4825
- ), b, v, m, d, y, D, N, G, j, te = (
4827
+ ), b, v, m, d, y, D, O, G, j, ee = (
4826
4828
  /*locale*/
4827
4829
  e[4]("termsTip", { tcUrl: (
4828
4830
  /*bonus*/
4829
4831
  (Ee = e[0]) == null ? void 0 : Ee.url
4830
4832
  ) }) + ""
4831
4833
  ), W = !/*isMobileView*/
4832
- e[5] && nr(), le = [
4834
+ e[5] && rr(), se = [
4833
4835
  /*classWithMobile*/
4834
4836
  e[12]("LevelStatus")
4835
- ], fe = {};
4836
- for (let B = 0; B < le.length; B += 1)
4837
- fe = F(fe, le[B]);
4838
- let ne = [
4837
+ ], ue = {};
4838
+ for (let B = 0; B < se.length; B += 1)
4839
+ ue = F(ue, se[B]);
4840
+ let te = [
4839
4841
  /*classWithMobile*/
4840
4842
  e[12]("LevelStatusWrapper")
4841
- ], he = {};
4842
- for (let B = 0; B < ne.length; B += 1)
4843
- he = F(he, ne[B]);
4844
- let q = pe([xn(
4843
+ ], fe = {};
4844
+ for (let B = 0; B < te.length; B += 1)
4845
+ fe = F(fe, te[B]);
4846
+ let q = pe([An(
4845
4847
  /*bonus*/
4846
4848
  e[0],
4847
4849
  /*levels*/
4848
4850
  e[1]
4849
- )]), Q = [];
4851
+ )]), Y = [];
4850
4852
  for (let B = 0; B < 1; B += 1)
4851
- Q[B] = ir(Yn(e, q, B));
4852
- let $ = [
4853
+ Y[B] = or(Qn(e, q, B));
4854
+ let Q = [
4853
4855
  /*classWithMobile*/
4854
4856
  e[12]("BonusType")
4855
4857
  ], me = {};
4856
- for (let B = 0; B < $.length; B += 1)
4857
- me = F(me, $[B]);
4858
+ for (let B = 0; B < Q.length; B += 1)
4859
+ me = F(me, Q[B]);
4858
4860
  let ce = [
4859
4861
  /*classWithMobile*/
4860
4862
  e[12]("BonusTerms")
@@ -4876,108 +4878,108 @@ function tr(e) {
4876
4878
  return {
4877
4879
  c() {
4878
4880
  var B;
4879
- W && W.c(), t = X(), n = I("section"), r = I("div"), i = I("casino-wagering-bonus-progress"), u = X(), f = I("div"), l = Y(s), c = X(), b = Y(h), v = X(), m = I("div"), d = I("div");
4880
- for (let ee = 0; ee < 1; ee += 1)
4881
- Q[ee].c();
4882
- y = X(), D = I("private-casino-wagering-bonus-info"), G = X(), j = I("div"), it(i, "percent", o = In(
4881
+ W && W.c(), t = X(), n = I("section"), r = I("div"), i = I("casino-wagering-bonus-progress"), u = X(), f = I("div"), l = K(s), c = X(), b = K(h), v = X(), m = I("div"), d = I("div");
4882
+ for (let $ = 0; $ < 1; $ += 1)
4883
+ Y[$].c();
4884
+ y = X(), D = I("private-casino-wagering-bonus-info"), G = X(), j = I("div"), ot(i, "percent", o = Hn(
4883
4885
  /*bonus*/
4884
4886
  e[0]
4885
- )), it(i, "status", a = /*bonus*/
4886
- (B = e[0]) == null ? void 0 : B.status), _(f, fe), _(r, he), it(D, "infos", N = JSON.stringify(
4887
+ )), ot(i, "status", a = /*bonus*/
4888
+ (B = e[0]) == null ? void 0 : B.status), _(f, ue), _(r, fe), ot(D, "infos", O = JSON.stringify(
4887
4889
  /*statusFinishedInfos*/
4888
4890
  e[9]
4889
4891
  )), _(d, me), _(j, w), _(m, x), _(n, de);
4890
4892
  },
4891
- m(B, ee) {
4892
- W && W.m(B, ee), M(B, t, ee), M(B, n, ee), E(n, r), E(r, i), E(r, u), E(r, f), E(f, l), E(f, c), E(f, b), E(n, v), E(n, m), E(m, d);
4893
+ m(B, $) {
4894
+ W && W.m(B, $), P(B, t, $), P(B, n, $), E(n, r), E(r, i), E(r, u), E(r, f), E(f, l), E(f, c), E(f, b), E(n, v), E(n, m), E(m, d);
4893
4895
  for (let we = 0; we < 1; we += 1)
4894
- Q[we] && Q[we].m(d, null);
4895
- E(d, y), E(d, D), E(m, G), E(m, j), j.innerHTML = te;
4896
+ Y[we] && Y[we].m(d, null);
4897
+ E(d, y), E(d, D), E(m, G), E(m, j), j.innerHTML = ee;
4896
4898
  },
4897
- p(B, ee) {
4898
- var we, oe;
4899
+ p(B, $) {
4900
+ var we, ie;
4899
4901
  if (/*isMobileView*/
4900
- B[5] ? W && (W.d(1), W = null) : W || (W = nr(), W.c(), W.m(t.parentNode, t)), ee[0] & /*bonus*/
4901
- 1 && o !== (o = In(
4902
+ B[5] ? W && (W.d(1), W = null) : W || (W = rr(), W.c(), W.m(t.parentNode, t)), $[0] & /*bonus*/
4903
+ 1 && o !== (o = Hn(
4902
4904
  /*bonus*/
4903
4905
  B[0]
4904
- )) && it(i, "percent", o), ee[0] & /*bonus*/
4906
+ )) && ot(i, "percent", o), $[0] & /*bonus*/
4905
4907
  1 && a !== (a = /*bonus*/
4906
- (we = B[0]) == null ? void 0 : we.status) && it(i, "status", a), ee[0] & /*locale*/
4908
+ (we = B[0]) == null ? void 0 : we.status) && ot(i, "status", a), $[0] & /*locale*/
4907
4909
  16 && s !== (s = /*locale*/
4908
- B[4]("level") + "") && Be(l, s, fe.contenteditable), ee[0] & /*levelsCurrent*/
4910
+ B[4]("level") + "") && Be(l, s, ue.contenteditable), $[0] & /*levelsCurrent*/
4909
4911
  4 && h !== (h = /*levelsCurrent*/
4910
- B[2].textWithLength + "") && Be(b, h, fe.contenteditable), _(f, fe = k(le, [
4911
- ee[0] & /*classWithMobile*/
4912
+ B[2].textWithLength + "") && Be(b, h, ue.contenteditable), _(f, ue = k(se, [
4913
+ $[0] & /*classWithMobile*/
4912
4914
  4096 && /*classWithMobile*/
4913
4915
  B[12]("LevelStatus")
4914
- ])), _(r, he = k(ne, [
4915
- ee[0] & /*classWithMobile*/
4916
+ ])), _(r, fe = k(te, [
4917
+ $[0] & /*classWithMobile*/
4916
4918
  4096 && /*classWithMobile*/
4917
4919
  B[12]("LevelStatusWrapper")
4918
- ])), ee[0] & /*classWithMobile, locale, bonus, levels*/
4920
+ ])), $[0] & /*classWithMobile, locale, bonus, levels*/
4919
4921
  4115) {
4920
- q = pe([xn(
4922
+ q = pe([An(
4921
4923
  /*bonus*/
4922
4924
  B[0],
4923
4925
  /*levels*/
4924
4926
  B[1]
4925
4927
  )]);
4926
- let re;
4927
- for (re = 0; re < 1; re += 1) {
4928
- const De = Yn(B, q, re);
4929
- Q[re] ? Q[re].p(De, ee) : (Q[re] = ir(De), Q[re].c(), Q[re].m(d, y));
4928
+ let ne;
4929
+ for (ne = 0; ne < 1; ne += 1) {
4930
+ const De = Qn(B, q, ne);
4931
+ Y[ne] ? Y[ne].p(De, $) : (Y[ne] = or(De), Y[ne].c(), Y[ne].m(d, y));
4930
4932
  }
4931
- for (; re < 1; re += 1)
4932
- Q[re].d(1);
4933
+ for (; ne < 1; ne += 1)
4934
+ Y[ne].d(1);
4933
4935
  }
4934
- ee[0] & /*statusFinishedInfos*/
4935
- 512 && N !== (N = JSON.stringify(
4936
+ $[0] & /*statusFinishedInfos*/
4937
+ 512 && O !== (O = JSON.stringify(
4936
4938
  /*statusFinishedInfos*/
4937
4939
  B[9]
4938
- )) && it(D, "infos", N), _(d, me = k($, [
4939
- ee[0] & /*classWithMobile*/
4940
+ )) && ot(D, "infos", O), _(d, me = k(Q, [
4941
+ $[0] & /*classWithMobile*/
4940
4942
  4096 && /*classWithMobile*/
4941
4943
  B[12]("BonusType")
4942
- ])), ee[0] & /*locale, bonus*/
4943
- 17 && te !== (te = /*locale*/
4944
+ ])), $[0] & /*locale, bonus*/
4945
+ 17 && ee !== (ee = /*locale*/
4944
4946
  B[4]("termsTip", { tcUrl: (
4945
4947
  /*bonus*/
4946
- (oe = B[0]) == null ? void 0 : oe.url
4947
- ) }) + "") && (j.innerHTML = te), _(j, w = k(ce, [
4948
- ee[0] & /*classWithMobile*/
4948
+ (ie = B[0]) == null ? void 0 : ie.url
4949
+ ) }) + "") && (j.innerHTML = ee), _(j, w = k(ce, [
4950
+ $[0] & /*classWithMobile*/
4949
4951
  4096 && /*classWithMobile*/
4950
4952
  B[12]("BonusTerms")
4951
4953
  ])), _(m, x = k(S, [
4952
- ee[0] & /*classWithMobile*/
4954
+ $[0] & /*classWithMobile*/
4953
4955
  4096 && /*classWithMobile*/
4954
4956
  B[12]("BonusTypeWrapper")
4955
4957
  ])), _(n, de = k(Z, [
4956
- ee[0] & /*classWithMobile*/
4958
+ $[0] & /*classWithMobile*/
4957
4959
  4096 && /*classWithMobile*/
4958
4960
  B[12]("AfterClaimedWrapper")
4959
4961
  ]));
4960
4962
  },
4961
4963
  d(B) {
4962
- B && (P(t), P(n)), W && W.d(B), ke(Q, B);
4964
+ B && (M(t), M(n)), W && W.d(B), Ue(Y, B);
4963
4965
  }
4964
4966
  };
4965
4967
  }
4966
- function nr(e) {
4968
+ function rr(e) {
4967
4969
  let t;
4968
4970
  return {
4969
4971
  c() {
4970
4972
  t = I("hr");
4971
4973
  },
4972
4974
  m(n, r) {
4973
- M(n, t, r);
4975
+ P(n, t, r);
4974
4976
  },
4975
4977
  d(n) {
4976
- n && P(t);
4978
+ n && M(t);
4977
4979
  }
4978
4980
  };
4979
4981
  }
4980
- function rr(e) {
4982
+ function ir(e) {
4981
4983
  let t, n = (
4982
4984
  /*locale*/
4983
4985
  e[4](
@@ -4989,12 +4991,12 @@ function rr(e) {
4989
4991
  ), r, i, o, a = (
4990
4992
  /*locale*/
4991
4993
  e[4](`${/*bonus*/
4992
- e[0].wageringType}.wagered`, Ve(Te(
4994
+ e[0].wageringType}.wagered`, Xe(Te(
4993
4995
  {},
4994
4996
  /*bonusInfo*/
4995
4997
  e[48]
4996
4998
  ), {
4997
- wagered: An(
4999
+ wagered: In(
4998
5000
  /*bonus*/
4999
5001
  e[0]
5000
5002
  )
@@ -5013,10 +5015,10 @@ function rr(e) {
5013
5015
  c = F(c, l[h]);
5014
5016
  return {
5015
5017
  c() {
5016
- t = I("div"), r = Y(n), i = X(), o = I("div"), u = Y(a), _(t, s), _(o, c);
5018
+ t = I("div"), r = K(n), i = X(), o = I("div"), u = K(a), _(t, s), _(o, c);
5017
5019
  },
5018
5020
  m(h, b) {
5019
- M(h, t, b), E(t, r), M(h, i, b), M(h, o, b), E(o, u);
5021
+ P(h, t, b), E(t, r), P(h, i, b), P(h, o, b), E(o, u);
5020
5022
  },
5021
5023
  p(h, b) {
5022
5024
  b[0] & /*locale, bonus, levels*/
@@ -5033,12 +5035,12 @@ function rr(e) {
5033
5035
  ])), b[0] & /*locale, bonus, levels*/
5034
5036
  19 && a !== (a = /*locale*/
5035
5037
  h[4](`${/*bonus*/
5036
- h[0].wageringType}.wagered`, Ve(Te(
5038
+ h[0].wageringType}.wagered`, Xe(Te(
5037
5039
  {},
5038
5040
  /*bonusInfo*/
5039
5041
  h[48]
5040
5042
  ), {
5041
- wagered: An(
5043
+ wagered: In(
5042
5044
  /*bonus*/
5043
5045
  h[0]
5044
5046
  )
@@ -5049,12 +5051,12 @@ function rr(e) {
5049
5051
  ]));
5050
5052
  },
5051
5053
  d(h) {
5052
- h && (P(t), P(i), P(o));
5054
+ h && (M(t), M(i), M(o));
5053
5055
  }
5054
5056
  };
5055
5057
  }
5056
- function ir(e) {
5057
- let t, n = It(
5058
+ function or(e) {
5059
+ let t, n = Ht(
5058
5060
  /*bonus*/
5059
5061
  e[0].status,
5060
5062
  { active: a, other: (
@@ -5079,18 +5081,18 @@ function ir(e) {
5079
5081
  f = F(f, u[l]);
5080
5082
  let s = (
5081
5083
  /*bonus*/
5082
- e[0].status === ie.active && rr(e)
5084
+ e[0].status === re.active && ir(e)
5083
5085
  );
5084
5086
  return {
5085
5087
  c() {
5086
- t = I("div"), r = Y(n), i = X(), s && s.c(), o = ft(), _(t, f);
5088
+ t = I("div"), r = K(n), i = X(), s && s.c(), o = ht(), _(t, f);
5087
5089
  },
5088
5090
  m(l, c) {
5089
- M(l, t, c), E(t, r), M(l, i, c), s && s.m(l, c), M(l, o, c);
5091
+ P(l, t, c), E(t, r), P(l, i, c), s && s.m(l, c), P(l, o, c);
5090
5092
  },
5091
5093
  p(l, c) {
5092
5094
  e = l, c[0] & /*bonus, levels, locale*/
5093
- 19 && n !== (n = It(
5095
+ 19 && n !== (n = Ht(
5094
5096
  /*bonus*/
5095
5097
  e[0].status,
5096
5098
  { active: a, other: (
@@ -5102,14 +5104,14 @@ function ir(e) {
5102
5104
  4096 && /*classWithMobile*/
5103
5105
  e[12]("BonusTypeTarget")
5104
5106
  ])), /*bonus*/
5105
- e[0].status === ie.active ? s ? s.p(e, c) : (s = rr(e), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
5107
+ e[0].status === re.active ? s ? s.p(e, c) : (s = ir(e), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
5106
5108
  },
5107
5109
  d(l) {
5108
- l && (P(t), P(i), P(o)), s && s.d(l);
5110
+ l && (M(t), M(i), M(o)), s && s.d(l);
5109
5111
  }
5110
5112
  };
5111
5113
  }
5112
- function or(e) {
5114
+ function ar(e) {
5113
5115
  let t, n, r = (
5114
5116
  /*locale*/
5115
5117
  e[4]("allRewards") + ""
@@ -5121,10 +5123,10 @@ function or(e) {
5121
5123
  f = F(f, u[s]);
5122
5124
  return {
5123
5125
  c() {
5124
- t = I("div"), n = I("a"), i = Y(r), qe(n, "href", "javascript:void(0)"), _(t, f);
5126
+ t = I("div"), n = I("a"), i = K(r), Ke(n, "href", "javascript:void(0)"), _(t, f);
5125
5127
  },
5126
5128
  m(s, l) {
5127
- M(s, t, l), E(t, n), E(n, i), o || (a = $e(
5129
+ P(s, t, l), E(t, n), E(n, i), o || (a = et(
5128
5130
  n,
5129
5131
  "click",
5130
5132
  /*click_handler*/
@@ -5134,19 +5136,19 @@ function or(e) {
5134
5136
  p(s, l) {
5135
5137
  l[0] & /*locale*/
5136
5138
  16 && r !== (r = /*locale*/
5137
- s[4]("allRewards") + "") && Oe(i, r), _(t, f = k(u, [
5139
+ s[4]("allRewards") + "") && Ne(i, r), _(t, f = k(u, [
5138
5140
  l[0] & /*classWithMobile*/
5139
5141
  4096 && /*classWithMobile*/
5140
5142
  s[12]("RewardsTopBarLinkToDetail")
5141
5143
  ]));
5142
5144
  },
5143
5145
  d(s) {
5144
- s && P(t), o = !1, a();
5146
+ s && M(t), o = !1, a();
5145
5147
  }
5146
5148
  };
5147
5149
  }
5148
- function ar(e) {
5149
- let t, n = pe(Cn(
5150
+ function sr(e) {
5151
+ let t, n = pe(xn(
5150
5152
  /*bonus*/
5151
5153
  e[0],
5152
5154
  /*levels*/
@@ -5155,22 +5157,22 @@ function ar(e) {
5155
5157
  e[4]
5156
5158
  )), r = [];
5157
5159
  for (let i = 0; i < n.length; i += 1)
5158
- r[i] = ur(Jn(e, n, i));
5160
+ r[i] = fr(qn(e, n, i));
5159
5161
  return {
5160
5162
  c() {
5161
5163
  for (let i = 0; i < r.length; i += 1)
5162
5164
  r[i].c();
5163
- t = ft();
5165
+ t = ht();
5164
5166
  },
5165
5167
  m(i, o) {
5166
5168
  for (let a = 0; a < r.length; a += 1)
5167
5169
  r[a] && r[a].m(i, o);
5168
- M(i, t, o);
5170
+ P(i, t, o);
5169
5171
  },
5170
5172
  p(i, o) {
5171
5173
  if (o[0] & /*classWithMobile, bonus, levels, locale*/
5172
5174
  4115) {
5173
- n = pe(Cn(
5175
+ n = pe(xn(
5174
5176
  /*bonus*/
5175
5177
  i[0],
5176
5178
  /*levels*/
@@ -5180,8 +5182,8 @@ function ar(e) {
5180
5182
  ));
5181
5183
  let a;
5182
5184
  for (a = 0; a < n.length; a += 1) {
5183
- const u = Jn(i, n, a);
5184
- r[a] ? r[a].p(u, o) : (r[a] = ur(u), r[a].c(), r[a].m(t.parentNode, t));
5185
+ const u = qn(i, n, a);
5186
+ r[a] ? r[a].p(u, o) : (r[a] = fr(u), r[a].c(), r[a].m(t.parentNode, t));
5185
5187
  }
5186
5188
  for (; a < r.length; a += 1)
5187
5189
  r[a].d(1);
@@ -5189,11 +5191,11 @@ function ar(e) {
5189
5191
  }
5190
5192
  },
5191
5193
  d(i) {
5192
- i && P(t), ke(r, i);
5194
+ i && M(t), Ue(r, i);
5193
5195
  }
5194
5196
  };
5195
5197
  }
5196
- function Sa(e) {
5198
+ function Ba(e) {
5197
5199
  let t, n = (
5198
5200
  /*locale*/
5199
5201
  e[4](
@@ -5208,7 +5210,7 @@ function Sa(e) {
5208
5210
  e[40].descriptions
5209
5211
  ), s = [];
5210
5212
  for (let h = 0; h < f.length; h += 1)
5211
- s[h] = sr(qn(e, f, h));
5213
+ s[h] = lr(Kn(e, f, h));
5212
5214
  let l = [
5213
5215
  /*classWithMobile*/
5214
5216
  e[12]("BonusRewardsLevelsItemPosition")
@@ -5217,14 +5219,14 @@ function Sa(e) {
5217
5219
  c = F(c, l[h]);
5218
5220
  return {
5219
5221
  c() {
5220
- t = I("div"), r = Y(n), i = X(), a = Y(o), u = Y(`:
5222
+ t = I("div"), r = K(n), i = X(), a = K(o), u = K(`:
5221
5223
  `);
5222
5224
  for (let h = 0; h < s.length; h += 1)
5223
5225
  s[h].c();
5224
5226
  _(t, c);
5225
5227
  },
5226
5228
  m(h, b) {
5227
- M(h, t, b), E(t, r), E(t, i), E(t, a), E(t, u);
5229
+ P(h, t, b), E(t, r), E(t, i), E(t, a), E(t, u);
5228
5230
  for (let v = 0; v < s.length; v += 1)
5229
5231
  s[v] && s[v].m(t, null);
5230
5232
  },
@@ -5244,8 +5246,8 @@ function Sa(e) {
5244
5246
  );
5245
5247
  let v;
5246
5248
  for (v = 0; v < f.length; v += 1) {
5247
- const m = qn(h, f, v);
5248
- s[v] ? s[v].p(m, b) : (s[v] = sr(m), s[v].c(), s[v].m(t, null));
5249
+ const m = Kn(h, f, v);
5250
+ s[v] ? s[v].p(m, b) : (s[v] = lr(m), s[v].c(), s[v].m(t, null));
5249
5251
  }
5250
5252
  for (; v < s.length; v += 1)
5251
5253
  s[v].d(1);
@@ -5258,11 +5260,11 @@ function Sa(e) {
5258
5260
  ]));
5259
5261
  },
5260
5262
  d(h) {
5261
- h && P(t), ke(s, h);
5263
+ h && M(t), Ue(s, h);
5262
5264
  }
5263
5265
  };
5264
5266
  }
5265
- function Ba(e) {
5267
+ function Ca(e) {
5266
5268
  let t, n = (
5267
5269
  /*locale*/
5268
5270
  e[4](
@@ -5283,16 +5285,16 @@ function Ba(e) {
5283
5285
  e[40].descriptions
5284
5286
  ), b = [];
5285
5287
  for (let v = 0; v < h.length; v += 1)
5286
- b[v] = lr(Kn(e, h, v));
5288
+ b[v] = ur(Yn(e, h, v));
5287
5289
  return {
5288
5290
  c() {
5289
- t = I("div"), r = Y(n), i = X(), a = Y(o), u = Y(":"), f = X(), s = I("div");
5291
+ t = I("div"), r = K(n), i = X(), a = K(o), u = K(":"), f = X(), s = I("div");
5290
5292
  for (let v = 0; v < b.length; v += 1)
5291
5293
  b[v].c();
5292
5294
  _(t, c);
5293
5295
  },
5294
5296
  m(v, m) {
5295
- M(v, t, m), E(t, r), E(t, i), E(t, a), E(t, u), M(v, f, m), M(v, s, m);
5297
+ P(v, t, m), E(t, r), E(t, i), E(t, a), E(t, u), P(v, f, m), P(v, s, m);
5296
5298
  for (let d = 0; d < b.length; d += 1)
5297
5299
  b[d] && b[d].m(s, null);
5298
5300
  },
@@ -5316,8 +5318,8 @@ function Ba(e) {
5316
5318
  );
5317
5319
  let d;
5318
5320
  for (d = 0; d < h.length; d += 1) {
5319
- const y = Kn(v, h, d);
5320
- b[d] ? b[d].p(y, m) : (b[d] = lr(y), b[d].c(), b[d].m(s, null));
5321
+ const y = Yn(v, h, d);
5322
+ b[d] ? b[d].p(y, m) : (b[d] = ur(y), b[d].c(), b[d].m(s, null));
5321
5323
  }
5322
5324
  for (; d < b.length; d += 1)
5323
5325
  b[d].d(1);
@@ -5325,60 +5327,60 @@ function Ba(e) {
5325
5327
  }
5326
5328
  },
5327
5329
  d(v) {
5328
- v && (P(t), P(f), P(s)), ke(b, v);
5330
+ v && (M(t), M(f), M(s)), Ue(b, v);
5329
5331
  }
5330
5332
  };
5331
5333
  }
5332
- function sr(e) {
5334
+ function lr(e) {
5333
5335
  let t = (
5334
5336
  /*description*/
5335
5337
  e[43] + ""
5336
5338
  ), n;
5337
5339
  return {
5338
5340
  c() {
5339
- n = Y(t);
5341
+ n = K(t);
5340
5342
  },
5341
5343
  m(r, i) {
5342
- M(r, n, i);
5344
+ P(r, n, i);
5343
5345
  },
5344
5346
  p(r, i) {
5345
5347
  i[0] & /*bonus, levels, locale*/
5346
5348
  19 && t !== (t = /*description*/
5347
- r[43] + "") && Oe(n, t);
5349
+ r[43] + "") && Ne(n, t);
5348
5350
  },
5349
5351
  d(r) {
5350
- r && P(n);
5352
+ r && M(n);
5351
5353
  }
5352
5354
  };
5353
5355
  }
5354
- function lr(e) {
5356
+ function ur(e) {
5355
5357
  let t, n = (
5356
5358
  /*description*/
5357
5359
  e[43] + ""
5358
5360
  ), r;
5359
5361
  return {
5360
5362
  c() {
5361
- t = I("p"), r = Y(n);
5363
+ t = I("p"), r = K(n);
5362
5364
  },
5363
5365
  m(i, o) {
5364
- M(i, t, o), E(t, r);
5366
+ P(i, t, o), E(t, r);
5365
5367
  },
5366
5368
  p(i, o) {
5367
5369
  o[0] & /*bonus, levels, locale*/
5368
5370
  19 && n !== (n = /*description*/
5369
- i[43] + "") && Oe(r, n);
5371
+ i[43] + "") && Ne(r, n);
5370
5372
  },
5371
5373
  d(i) {
5372
- i && P(t);
5374
+ i && M(t);
5373
5375
  }
5374
5376
  };
5375
5377
  }
5376
- function ur(e) {
5378
+ function fr(e) {
5377
5379
  let t, n;
5378
5380
  function r(f, s) {
5379
5381
  return (
5380
5382
  /*reward*/
5381
- f[40].descriptions.length > 1 ? Ba : Sa
5383
+ f[40].descriptions.length > 1 ? Ca : Ba
5382
5384
  );
5383
5385
  }
5384
5386
  let i = r(e), o = i(e), a = [
@@ -5392,7 +5394,7 @@ function ur(e) {
5392
5394
  t = I("div"), o.c(), n = X(), _(t, u);
5393
5395
  },
5394
5396
  m(f, s) {
5395
- M(f, t, s), o.m(t, null), E(t, n);
5397
+ P(f, t, s), o.m(t, null), E(t, n);
5396
5398
  },
5397
5399
  p(f, s) {
5398
5400
  i === (i = r(f)) && o ? o.p(f, s) : (o.d(1), o = i(f), o && (o.c(), o.m(t, n))), _(t, u = k(a, [
@@ -5402,25 +5404,25 @@ function ur(e) {
5402
5404
  ]));
5403
5405
  },
5404
5406
  d(f) {
5405
- f && P(t), o.d();
5407
+ f && M(t), o.d();
5406
5408
  }
5407
5409
  };
5408
5410
  }
5409
- function fr(e) {
5411
+ function hr(e) {
5410
5412
  let t, n, r, i = pe(
5411
5413
  /*bonus*/
5412
5414
  e[0].levels
5413
5415
  ), o = [];
5414
5416
  for (let l = 0; l < i.length; l += 1)
5415
- o[l] = dr(Zn(e, i, l));
5417
+ o[l] = pr(zn(e, i, l));
5416
5418
  let a = (
5417
5419
  /*bonus*/
5418
- e[0].levels.length === 1 && pr(e)
5420
+ e[0].levels.length === 1 && mr(e)
5419
5421
  );
5420
5422
  function u(l, c) {
5421
5423
  return (
5422
5424
  /*bonus*/
5423
- l[0].levels.length >= 3 ? Ia : Aa
5425
+ l[0].levels.length >= 3 ? Ha : Ia
5424
5426
  );
5425
5427
  }
5426
5428
  let f = u(e), s = f(e);
@@ -5428,12 +5430,12 @@ function fr(e) {
5428
5430
  c() {
5429
5431
  for (let l = 0; l < o.length; l += 1)
5430
5432
  o[l].c();
5431
- t = X(), a && a.c(), n = X(), s.c(), r = ft();
5433
+ t = X(), a && a.c(), n = X(), s.c(), r = ht();
5432
5434
  },
5433
5435
  m(l, c) {
5434
5436
  for (let h = 0; h < o.length; h += 1)
5435
5437
  o[h] && o[h].m(l, c);
5436
- M(l, t, c), a && a.m(l, c), M(l, n, c), s.m(l, c), M(l, r, c);
5438
+ P(l, t, c), a && a.m(l, c), P(l, n, c), s.m(l, c), P(l, r, c);
5437
5439
  },
5438
5440
  p(l, c) {
5439
5441
  if (c[0] & /*classWithMobile, bonus, locale, isShowMore*/
@@ -5444,27 +5446,27 @@ function fr(e) {
5444
5446
  );
5445
5447
  let h;
5446
5448
  for (h = 0; h < i.length; h += 1) {
5447
- const b = Zn(l, i, h);
5448
- o[h] ? o[h].p(b, c) : (o[h] = dr(b), o[h].c(), o[h].m(t.parentNode, t));
5449
+ const b = zn(l, i, h);
5450
+ o[h] ? o[h].p(b, c) : (o[h] = pr(b), o[h].c(), o[h].m(t.parentNode, t));
5449
5451
  }
5450
5452
  for (; h < o.length; h += 1)
5451
5453
  o[h].d(1);
5452
5454
  o.length = i.length;
5453
5455
  }
5454
5456
  /*bonus*/
5455
- l[0].levels.length === 1 ? a ? a.p(l, c) : (a = pr(l), a.c(), a.m(n.parentNode, n)) : a && (a.d(1), a = null), f === (f = u(l)) && s ? s.p(l, c) : (s.d(1), s = f(l), s && (s.c(), s.m(r.parentNode, r)));
5457
+ l[0].levels.length === 1 ? a ? a.p(l, c) : (a = mr(l), a.c(), a.m(n.parentNode, n)) : a && (a.d(1), a = null), f === (f = u(l)) && s ? s.p(l, c) : (s.d(1), s = f(l), s && (s.c(), s.m(r.parentNode, r)));
5456
5458
  },
5457
5459
  d(l) {
5458
- l && (P(t), P(n), P(r)), ke(o, l), a && a.d(l), s.d(l);
5460
+ l && (M(t), M(n), M(r)), Ue(o, l), a && a.d(l), s.d(l);
5459
5461
  }
5460
5462
  };
5461
5463
  }
5462
- function hr(e) {
5464
+ function cr(e) {
5463
5465
  let t, n, r, i, o;
5464
5466
  function a(m, d) {
5465
5467
  return (
5466
5468
  /*level*/
5467
- m[34].maxRepeats > 0 ? xa : Ca
5469
+ m[34].maxRepeats > 0 ? Aa : xa
5468
5470
  );
5469
5471
  }
5470
5472
  let u = a(e), f = u(e), s = [
@@ -5478,7 +5480,7 @@ function hr(e) {
5478
5480
  e[34].bonuses
5479
5481
  ), h = [];
5480
5482
  for (let m = 0; m < c.length; m += 1)
5481
- h[m] = cr(zn(e, c, m));
5483
+ h[m] = dr(Jn(e, c, m));
5482
5484
  let b = [
5483
5485
  /*classWithMobile*/
5484
5486
  e[12]("BonusRewardsLevelsItem")
@@ -5493,7 +5495,7 @@ function hr(e) {
5493
5495
  o = X(), _(n, l), _(t, v);
5494
5496
  },
5495
5497
  m(m, d) {
5496
- M(m, t, d), E(t, n), f.m(n, null), E(t, r), E(t, i);
5498
+ P(m, t, d), E(t, n), f.m(n, null), E(t, r), E(t, i);
5497
5499
  for (let y = 0; y < h.length; y += 1)
5498
5500
  h[y] && h[y].m(i, null);
5499
5501
  E(t, o);
@@ -5511,8 +5513,8 @@ function hr(e) {
5511
5513
  );
5512
5514
  let y;
5513
5515
  for (y = 0; y < c.length; y += 1) {
5514
- const D = zn(m, c, y);
5515
- h[y] ? h[y].p(D, d) : (h[y] = cr(D), h[y].c(), h[y].m(i, null));
5516
+ const D = Jn(m, c, y);
5517
+ h[y] ? h[y].p(D, d) : (h[y] = dr(D), h[y].c(), h[y].m(i, null));
5516
5518
  }
5517
5519
  for (; y < h.length; y += 1)
5518
5520
  h[y].d(1);
@@ -5525,35 +5527,35 @@ function hr(e) {
5525
5527
  ]));
5526
5528
  },
5527
5529
  d(m) {
5528
- m && P(t), f.d(), ke(h, m);
5530
+ m && M(t), f.d(), Ue(h, m);
5529
5531
  }
5530
5532
  };
5531
5533
  }
5532
- function Ca(e) {
5534
+ function xa(e) {
5533
5535
  let t = (
5534
5536
  /*locale*/
5535
5537
  e[4]("eachLevel") + ""
5536
5538
  ), n, r;
5537
5539
  return {
5538
5540
  c() {
5539
- n = Y(t), r = Y(":");
5541
+ n = K(t), r = K(":");
5540
5542
  },
5541
5543
  m(i, o) {
5542
- M(i, n, o), M(i, r, o);
5544
+ P(i, n, o), P(i, r, o);
5543
5545
  },
5544
5546
  p(i, o) {
5545
5547
  o[0] & /*locale*/
5546
5548
  16 && t !== (t = /*locale*/
5547
- i[4]("eachLevel") + "") && Oe(n, t);
5549
+ i[4]("eachLevel") + "") && Ne(n, t);
5548
5550
  },
5549
5551
  d(i) {
5550
- i && (P(n), P(r));
5552
+ i && (M(n), M(r));
5551
5553
  }
5552
5554
  };
5553
5555
  }
5554
- function xa(e) {
5556
+ function Aa(e) {
5555
5557
  let t = `${/*locale*/
5556
- e[4]("level")} ${Rn(
5558
+ e[4]("level")} ${Ln(
5557
5559
  /*index*/
5558
5560
  e[36],
5559
5561
  /*level*/
@@ -5563,30 +5565,30 @@ function xa(e) {
5563
5565
  )}`, n, r;
5564
5566
  return {
5565
5567
  c() {
5566
- n = Y(t), r = Y(":");
5568
+ n = K(t), r = K(":");
5567
5569
  },
5568
5570
  m(i, o) {
5569
- M(i, n, o), M(i, r, o);
5571
+ P(i, n, o), P(i, r, o);
5570
5572
  },
5571
5573
  p(i, o) {
5572
5574
  o[0] & /*locale, bonus*/
5573
5575
  17 && t !== (t = `${/*locale*/
5574
- i[4]("level")} ${Rn(
5576
+ i[4]("level")} ${Ln(
5575
5577
  /*index*/
5576
5578
  i[36],
5577
5579
  /*level*/
5578
5580
  i[34],
5579
5581
  /*bonus*/
5580
5582
  i[0]
5581
- )}`) && Oe(n, t);
5583
+ )}`) && Ne(n, t);
5582
5584
  },
5583
5585
  d(i) {
5584
- i && (P(n), P(r));
5586
+ i && (M(n), M(r));
5585
5587
  }
5586
5588
  };
5587
5589
  }
5588
- function cr(e) {
5589
- let t, n = qt(
5590
+ function dr(e) {
5591
+ let t, n = Yt(
5590
5592
  /*level*/
5591
5593
  e[34],
5592
5594
  /*levelBonus*/
@@ -5596,53 +5598,53 @@ function cr(e) {
5596
5598
  ) + "", r;
5597
5599
  return {
5598
5600
  c() {
5599
- t = I("p"), r = Y(n);
5601
+ t = I("p"), r = K(n);
5600
5602
  },
5601
5603
  m(i, o) {
5602
- M(i, t, o), E(t, r);
5604
+ P(i, t, o), E(t, r);
5603
5605
  },
5604
5606
  p(i, o) {
5605
5607
  o[0] & /*bonus, locale*/
5606
- 17 && n !== (n = qt(
5608
+ 17 && n !== (n = Yt(
5607
5609
  /*level*/
5608
5610
  i[34],
5609
5611
  /*levelBonus*/
5610
5612
  i[37],
5611
5613
  /*locale*/
5612
5614
  i[4]
5613
- ) + "") && Oe(r, n);
5615
+ ) + "") && Ne(r, n);
5614
5616
  },
5615
5617
  d(i) {
5616
- i && P(t);
5618
+ i && M(t);
5617
5619
  }
5618
5620
  };
5619
5621
  }
5620
- function dr(e) {
5622
+ function pr(e) {
5621
5623
  let t, n = (
5622
5624
  /*isShowMore*/
5623
5625
  (e[7] ? !0 : (
5624
5626
  /*index*/
5625
5627
  e[36] < 2
5626
- )) && hr(e)
5628
+ )) && cr(e)
5627
5629
  );
5628
5630
  return {
5629
5631
  c() {
5630
- n && n.c(), t = ft();
5632
+ n && n.c(), t = ht();
5631
5633
  },
5632
5634
  m(r, i) {
5633
- n && n.m(r, i), M(r, t, i);
5635
+ n && n.m(r, i), P(r, t, i);
5634
5636
  },
5635
5637
  p(r, i) {
5636
5638
  /*isShowMore*/
5637
5639
  r[7] || /*index*/
5638
- r[36] < 2 ? n ? n.p(r, i) : (n = hr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
5640
+ r[36] < 2 ? n ? n.p(r, i) : (n = cr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
5639
5641
  },
5640
5642
  d(r) {
5641
- r && P(t), n && n.d(r);
5643
+ r && M(t), n && n.d(r);
5642
5644
  }
5643
5645
  };
5644
5646
  }
5645
- function pr(e) {
5647
+ function mr(e) {
5646
5648
  let t, n, r = [
5647
5649
  /*classWithMobile*/
5648
5650
  e[12]("BonusRewardsLevelsItem")
@@ -5654,7 +5656,7 @@ function pr(e) {
5654
5656
  t = I("div"), n = I("p"), n.textContent = " ", _(t, i);
5655
5657
  },
5656
5658
  m(o, a) {
5657
- M(o, t, a), E(t, n);
5659
+ P(o, t, a), E(t, n);
5658
5660
  },
5659
5661
  p(o, a) {
5660
5662
  _(t, i = k(r, [
@@ -5664,26 +5666,26 @@ function pr(e) {
5664
5666
  ]));
5665
5667
  },
5666
5668
  d(o) {
5667
- o && P(t);
5669
+ o && M(t);
5668
5670
  }
5669
5671
  };
5670
5672
  }
5671
- function Aa(e) {
5673
+ function Ia(e) {
5672
5674
  let t;
5673
5675
  return {
5674
5676
  c() {
5675
- t = I("div"), t.textContent = " ", qe(t, "class", "ShowMore NoCursorTip");
5677
+ t = I("div"), t.textContent = " ", Ke(t, "class", "ShowMore NoCursorTip");
5676
5678
  },
5677
5679
  m(n, r) {
5678
- M(n, t, r);
5680
+ P(n, t, r);
5679
5681
  },
5680
5682
  p: Pe,
5681
5683
  d(n) {
5682
- n && P(t);
5684
+ n && M(t);
5683
5685
  }
5684
5686
  };
5685
5687
  }
5686
- function Ia(e) {
5688
+ function Ha(e) {
5687
5689
  let t, n = (/*isShowMore*/
5688
5690
  e[7] ? (
5689
5691
  /*locale*/
@@ -5694,10 +5696,10 @@ function Ia(e) {
5694
5696
  )) + "", r, i, o;
5695
5697
  return {
5696
5698
  c() {
5697
- t = I("div"), r = Y(n), qe(t, "class", "ShowMore");
5699
+ t = I("div"), r = K(n), Ke(t, "class", "ShowMore");
5698
5700
  },
5699
5701
  m(a, u) {
5700
- M(a, t, u), E(t, r), i || (o = $e(
5702
+ P(a, t, u), E(t, r), i || (o = et(
5701
5703
  t,
5702
5704
  "click",
5703
5705
  /*click_handler_1*/
@@ -5713,14 +5715,14 @@ function Ia(e) {
5713
5715
  ) : (
5714
5716
  /*locale*/
5715
5717
  a[4]("showMore")
5716
- )) + "") && Oe(r, n);
5718
+ )) + "") && Ne(r, n);
5717
5719
  },
5718
5720
  d(a) {
5719
- a && P(t), i = !1, o();
5721
+ a && M(t), i = !1, o();
5720
5722
  }
5721
5723
  };
5722
5724
  }
5723
- function mr(e) {
5725
+ function gr(e) {
5724
5726
  let t, n, r = (
5725
5727
  /*support*/
5726
5728
  e[31] + ""
@@ -5736,51 +5738,51 @@ function mr(e) {
5736
5738
  }
5737
5739
  return {
5738
5740
  c() {
5739
- t = I("div"), n = I("a"), i = Y(r), o = X(), qe(n, "href", "javascript:void(0)");
5741
+ t = I("div"), n = I("a"), i = K(r), o = X(), Ke(n, "href", "javascript:void(0)");
5740
5742
  },
5741
5743
  m(s, l) {
5742
- M(s, t, l), E(t, n), E(n, i), E(t, o), a || (u = $e(n, "click", f), a = !0);
5744
+ P(s, t, l), E(t, n), E(n, i), E(t, o), a || (u = et(n, "click", f), a = !0);
5743
5745
  },
5744
5746
  p(s, l) {
5745
5747
  e = s, l[0] & /*products*/
5746
5748
  2048 && r !== (r = /*support*/
5747
- e[31] + "") && Oe(i, r);
5749
+ e[31] + "") && Ne(i, r);
5748
5750
  },
5749
5751
  d(s) {
5750
- s && P(t), a = !1, u();
5752
+ s && M(t), a = !1, u();
5751
5753
  }
5752
5754
  };
5753
5755
  }
5754
- function gr(e) {
5756
+ function vr(e) {
5755
5757
  let t;
5756
5758
  return {
5757
5759
  c() {
5758
5760
  t = I("div"), t.textContent = " ";
5759
5761
  },
5760
5762
  m(n, r) {
5761
- M(n, t, r);
5763
+ P(n, t, r);
5762
5764
  },
5763
5765
  d(n) {
5764
- n && P(t);
5766
+ n && M(t);
5765
5767
  }
5766
5768
  };
5767
5769
  }
5768
- function Ha(e) {
5770
+ function Ra(e) {
5769
5771
  let t, n, r;
5770
- fn(
5772
+ cn(
5771
5773
  /*onwindowresize*/
5772
5774
  e[22]
5773
5775
  );
5774
5776
  let i = (
5775
5777
  /*bonus*/
5776
- e[0] && Qn(e)
5778
+ e[0] && $n(e)
5777
5779
  );
5778
5780
  return {
5779
5781
  c() {
5780
- i && i.c(), t = ft();
5782
+ i && i.c(), t = ht();
5781
5783
  },
5782
5784
  m(o, a) {
5783
- i && i.m(o, a), M(o, t, a), n || (r = $e(
5785
+ i && i.m(o, a), P(o, t, a), n || (r = et(
5784
5786
  window,
5785
5787
  "resize",
5786
5788
  /*onwindowresize*/
@@ -5789,66 +5791,66 @@ function Ha(e) {
5789
5791
  },
5790
5792
  p(o, a) {
5791
5793
  /*bonus*/
5792
- o[0] ? i ? i.p(o, a) : (i = Qn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
5794
+ o[0] ? i ? i.p(o, a) : (i = $n(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
5793
5795
  },
5794
5796
  i: Pe,
5795
5797
  o: Pe,
5796
5798
  d(o) {
5797
- o && P(t), i && i.d(o), n = !1, r();
5799
+ o && M(t), i && i.d(o), n = !1, r();
5798
5800
  }
5799
5801
  };
5800
5802
  }
5801
- function Ra(e, t, n) {
5803
+ function La(e, t, n) {
5802
5804
  let r, i, o, a, u, f, s, l;
5803
- Er(e, Qr, (S) => n(21, l = S));
5804
- let { rawbonus: c = "" } = t, { endpoint: h = "" } = t, { currency: b = "EUR" } = t, { lang: v = hn.en } = t, { session: m = "" } = t, d, y = [], D, N, G = "", j = !0, te = 1e3 * 30, W = !1;
5805
- const le = () => {
5805
+ wr(e, $r, (S) => n(21, l = S));
5806
+ let { rawbonus: c = "" } = t, { endpoint: h = "" } = t, { currency: b = "EUR" } = t, { lang: v = dn.en } = t, { session: m = "" } = t, d, y = [], D, O, G = "", j = !0, ee = 1e3 * 30, W = !1;
5807
+ const se = () => {
5806
5808
  try {
5807
5809
  n(0, d = Te({}, JSON.parse(c)));
5808
5810
  } catch (S) {
5809
5811
  console.error(S);
5810
5812
  }
5811
- d && (n(1, y = Hi(d.levels)), ne());
5812
- }, fe = () => Qe(this, null, function* () {
5813
+ d && (n(1, y = Ri(d.levels)), te());
5814
+ }, ue = () => $e(this, null, function* () {
5813
5815
  if (!m)
5814
5816
  return;
5815
- ze({
5817
+ Je({
5816
5818
  type: "OnWageringBonusJoinRequest",
5817
5819
  bonusID: d.bonusID
5818
- }), ze({
5820
+ }), Je({
5819
5821
  type: "OnWageringBonusButtonStateChanged",
5820
5822
  clickable: !1
5821
- }), (yield Cr.start(new AbortController(), h, m, d.code, b)).success && ze({ type: "OnWageringBonusClaimed" }), ze({
5823
+ }), (yield xr.start(new AbortController(), h, m, d.code, b)).success && Je({ type: "OnWageringBonusClaimed" }), Je({
5822
5824
  type: "OnWageringBonusButtonStateChanged",
5823
5825
  clickable: !0
5824
5826
  });
5825
- }), ne = () => {
5826
- d && (Hn(d.expiryDate, te, () => n(19, N = "Expired"), (S) => n(19, N = S)), Hn(d.endTime || d.trigger.endTime, te, () => n(20, G = "Ended"), (S) => n(20, G = S)));
5827
+ }), te = () => {
5828
+ d && (Rn(d.expiryDate, ee, () => n(19, O = "Expired"), (S) => n(19, O = S)), Rn(d.endTime || d.trigger.endTime, ee, () => n(20, G = "Ended"), (S) => n(20, G = S)));
5827
5829
  };
5828
- xt(() => {
5830
+ At(() => {
5829
5831
  const S = setInterval(
5830
5832
  () => {
5831
- ne();
5833
+ te();
5832
5834
  },
5833
- te
5835
+ ee
5834
5836
  );
5835
5837
  return () => {
5836
5838
  clearInterval(S);
5837
5839
  };
5838
- }), Tr({
5840
+ }), Sr({
5839
5841
  OnWageringBonusButtonStateChanged: (S) => n(6, j = S.clickable)
5840
5842
  });
5841
- let he;
5843
+ let fe;
5842
5844
  function q() {
5843
- n(3, he = window.innerWidth);
5845
+ n(3, fe = window.innerWidth);
5844
5846
  }
5845
- const Q = (S) => {
5846
- const { maxContribution: x = "undefined", minStake: Z = "undefined" } = S.levelInfo, de = Ve(Te({}, S), { maxContribution: x, minStake: Z });
5847
+ const Y = (S) => {
5848
+ const { maxContribution: x = "undefined", minStake: Z = "undefined" } = S.levelInfo, de = Xe(Te({}, S), { maxContribution: x, minStake: Z });
5847
5849
  return s(`${d.wageringType}.target`, de);
5848
- }, $ = () => s("targetOther", { status: d.status }), me = () => ze({
5850
+ }, Q = () => s("targetOther", { status: d.status }), me = () => Je({
5849
5851
  type: "OnWageringBonusAllRewardsClick",
5850
5852
  bonusWalletID: d.id
5851
- }), ce = () => n(7, W = !W), w = (S) => ze({
5853
+ }), ce = () => n(7, W = !W), w = (S) => Je({
5852
5854
  type: "OnWageringBonusSupportClicked",
5853
5855
  support: S
5854
5856
  });
@@ -5856,53 +5858,53 @@ function Ra(e, t, n) {
5856
5858
  "rawbonus" in S && n(14, c = S.rawbonus), "endpoint" in S && n(15, h = S.endpoint), "currency" in S && n(16, b = S.currency), "lang" in S && n(17, v = S.lang), "session" in S && n(18, m = S.session);
5857
5859
  }, e.$$.update = () => {
5858
5860
  e.$$.dirty[0] & /*rawbonus*/
5859
- 16384 && c && le(), e.$$.dirty[0] & /*lang*/
5860
- 131072 && v && Ea(v), e.$$.dirty[0] & /*innerWidth*/
5861
- 8 && n(5, r = he <= 648), e.$$.dirty[0] & /*isMobileView*/
5862
- 32 && n(12, i = (S, x = "") => At(`${S}${r ? ` ${S}Mobile` : ""}`, x)), e.$$.dirty[0] & /*bonus, levels*/
5863
- 3 && n(2, D = (d == null ? void 0 : d.bonusWalletID) && Ri(d, y)), e.$$.dirty[0] & /*bonus*/
5861
+ 16384 && c && se(), e.$$.dirty[0] & /*lang*/
5862
+ 131072 && v && wa(v), e.$$.dirty[0] & /*innerWidth*/
5863
+ 8 && n(5, r = fe <= 648), e.$$.dirty[0] & /*isMobileView*/
5864
+ 32 && n(12, i = (S, x = "") => It(`${S}${r ? ` ${S}Mobile` : ""}`, x)), e.$$.dirty[0] & /*bonus, levels*/
5865
+ 3 && n(2, D = (d == null ? void 0 : d.bonusWalletID) && Li(d, y)), e.$$.dirty[0] & /*bonus*/
5864
5866
  1 && n(11, o = d ? d.status ? d.products || [] : d.wallet ? Object.keys(d.wallet).filter((S) => ["sports", "casino"].includes(S)) : [] : []), e.$$.dirty[0] & /*$_*/
5865
5867
  2097152 && n(4, s = (S, x = {}) => l("wageringBonuses." + S, { values: x })), e.$$.dirty[0] & /*bonus, locale, levels, endTime*/
5866
5868
  1048595 && n(10, a = d && !d.status ? [
5867
5869
  {
5868
5870
  key: "Levels",
5869
- svg: Bn,
5870
- text: xr(d, `${s("infinite")} ${s("levels")}`, `${y.length} ${y.length > 1 ? s("levels") : s("level")}`)
5871
+ svg: Cn,
5872
+ text: Ar(d, `${s("infinite")} ${s("levels")}`, `${y.length} ${y.length > 1 ? s("levels") : s("level")}`)
5871
5873
  },
5872
5874
  {
5873
5875
  key: "Period",
5874
- svg: Sn,
5876
+ svg: Bn,
5875
5877
  text: G
5876
5878
  }
5877
5879
  ] : []), e.$$.dirty[0] & /*bonus, levelsCurrent*/
5878
5880
  5 && n(9, u = (() => {
5879
- const S = [ie.completed, ie.released].includes(d == null ? void 0 : d.status);
5881
+ const S = [re.completed, re.released].includes(d == null ? void 0 : d.status);
5880
5882
  return d && S ? [
5881
5883
  {
5882
5884
  key: "Status",
5883
- svg: Sn,
5885
+ svg: Bn,
5884
5886
  text: "Completed"
5885
5887
  },
5886
5888
  {
5887
5889
  key: "Levels",
5888
- svg: Bn,
5890
+ svg: Cn,
5889
5891
  text: `Levels finished: ${D.textWithLength}`
5890
5892
  }
5891
5893
  ] : [];
5892
5894
  })()), e.$$.dirty[0] & /*expiryTime*/
5893
- 524288 && n(8, f = N && [
5895
+ 524288 && n(8, f = O && [
5894
5896
  {
5895
5897
  key: "ExpiryTime",
5896
- svg: bi,
5897
- text: N
5898
+ svg: _i,
5899
+ text: O
5898
5900
  }
5899
5901
  ]), e.$$.dirty[0] & /*expiryTime, bonus*/
5900
- 524289 && N && d.status === ie.active && ["Expired", "Ended"].includes(N) && setTimeout(() => ze({ type: "OnWageringBonusExpired" }), 5e3);
5902
+ 524289 && O && d.status === re.active && ["Expired", "Ended"].includes(O) && setTimeout(() => Je({ type: "OnWageringBonusExpired" }), 5e3);
5901
5903
  }, [
5902
5904
  d,
5903
5905
  y,
5904
5906
  D,
5905
- he,
5907
+ fe,
5906
5908
  s,
5907
5909
  r,
5908
5910
  j,
@@ -5912,31 +5914,31 @@ function Ra(e, t, n) {
5912
5914
  a,
5913
5915
  o,
5914
5916
  i,
5915
- fe,
5917
+ ue,
5916
5918
  c,
5917
5919
  h,
5918
5920
  b,
5919
5921
  v,
5920
5922
  m,
5921
- N,
5923
+ O,
5922
5924
  G,
5923
5925
  l,
5924
5926
  q,
5927
+ Y,
5925
5928
  Q,
5926
- $,
5927
5929
  me,
5928
5930
  ce,
5929
5931
  w
5930
5932
  ];
5931
5933
  }
5932
- class La extends sn {
5934
+ class Ma extends un {
5933
5935
  constructor(t) {
5934
- super(), ln(
5936
+ super(), fn(
5935
5937
  this,
5936
5938
  t,
5939
+ La,
5937
5940
  Ra,
5938
- Ha,
5939
- Lt,
5941
+ Pt,
5940
5942
  {
5941
5943
  rawbonus: 14,
5942
5944
  endpoint: 15,
@@ -5944,7 +5946,7 @@ class La extends sn {
5944
5946
  lang: 17,
5945
5947
  session: 18
5946
5948
  },
5947
- Ta,
5949
+ Sa,
5948
5950
  [-1, -1]
5949
5951
  );
5950
5952
  }
@@ -5979,7 +5981,7 @@ class La extends sn {
5979
5981
  this.$$set({ session: t }), Se();
5980
5982
  }
5981
5983
  }
5982
- customElements.define("private-casino-wagering-bonus", an(La, { rawbonus: {}, endpoint: {}, currency: {}, lang: {}, session: {} }, [], [], !0));
5984
+ customElements.define("private-casino-wagering-bonus", ln(Ma, { rawbonus: {}, endpoint: {}, currency: {}, lang: {}, session: {} }, [], [], !0));
5983
5985
  if (typeof window != "undefined") {
5984
5986
  let e = function(t) {
5985
5987
  return function(...n) {
@@ -5992,11 +5994,11 @@ if (typeof window != "undefined") {
5992
5994
  }
5993
5995
  };
5994
5996
  };
5995
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DIp20cAk.js").then(({ default: t }) => {
5997
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DMFOVCrC.js").then(({ default: t }) => {
5996
5998
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
5997
5999
  });
5998
6000
  }
5999
- const Ma = {
6001
+ const Pa = {
6000
6002
  en: {
6001
6003
  wageringBonuses: {
6002
6004
  wageringBonus: "Wagering Bonus",
@@ -6105,7 +6107,7 @@ const Ma = {
6105
6107
  forwardMyWageringBonuses: "Bahis Bonuslarımı Görün"
6106
6108
  }
6107
6109
  }
6108
- }, Pa = (e, t) => {
6110
+ }, Oa = (e, t) => {
6109
6111
  const n = document.createElement("style");
6110
6112
  n.innerHTML = t, e.appendChild(n);
6111
6113
  }, Na = (e, t) => {
@@ -6115,7 +6117,7 @@ const Ma = {
6115
6117
  e.appendChild(r);
6116
6118
  }, 1);
6117
6119
  });
6118
- }, Oa = (e, t) => {
6120
+ }, Da = (e, t) => {
6119
6121
  fetch(e).then((r) => r.json()).then((r) => {
6120
6122
  Object.keys(r).forEach((i) => {
6121
6123
  t(i, r[i]);
@@ -6124,18 +6126,18 @@ const Ma = {
6124
6126
  console.log(r);
6125
6127
  });
6126
6128
  };
6127
- function Da(e) {
6128
- un(e, "svelte-y8n14r", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}casino-wagering-bonus::part(Root){margin-bottom:30px}.Root{background:var(--emw--color-white, #FFFFFF);padding:20px;color:var(--emw--color-black, #000000)}.Bonuses{display:flex;flex-wrap:wrap;justify-content:left;margin-top:10px;column-gap:10px}.BonusesMobile>casino-wagering-bonus{width:100%}.WageringTabs{margin:20px 0;font-size:16px}.WageringTab{display:inline;padding:8px;cursor:pointer;color:#000000;border-bottom:1px solid #00AEEF}.WageringTab.active{color:#00AEEF;border-bottom-width:3px;padding-bottom:6px;font-weight:700}.WageringTabsMobile{display:flex;justify-content:space-around}.WageringTabMobile{width:100%;text-align:center}.Error{color:red}");
6129
+ function Fa(e) {
6130
+ hn(e, "svelte-y8n14r", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}casino-wagering-bonus::part(Root){margin-bottom:30px}.Root{background:var(--emw--color-white, #FFFFFF);padding:20px;color:var(--emw--color-black, #000000)}.Bonuses{display:flex;flex-wrap:wrap;justify-content:left;margin-top:10px;column-gap:10px}.BonusesMobile>casino-wagering-bonus{width:100%}.WageringTabs{margin:20px 0;font-size:16px}.WageringTab{display:inline;padding:8px;cursor:pointer;color:#000000;border-bottom:1px solid #00AEEF}.WageringTab.active{color:#00AEEF;border-bottom-width:3px;padding-bottom:6px;font-weight:700}.WageringTabsMobile{display:flex;justify-content:space-around}.WageringTabMobile{width:100%;text-align:center}.Error{color:red}");
6129
6131
  }
6130
- function vr(e, t, n) {
6132
+ function br(e, t, n) {
6131
6133
  const r = e.slice();
6132
6134
  return r[30] = t[n], r;
6133
6135
  }
6134
- function br(e, t, n) {
6136
+ function _r(e, t, n) {
6135
6137
  const r = e.slice();
6136
6138
  return r[33] = t[n], r;
6137
6139
  }
6138
- function _r(e) {
6140
+ function yr(e) {
6139
6141
  let t, n = (
6140
6142
  /*locale*/
6141
6143
  e[10](
@@ -6159,7 +6161,7 @@ function _r(e) {
6159
6161
  }
6160
6162
  return {
6161
6163
  c() {
6162
- t = I("div"), r = Y(n), i = X(), _(t, f), _n(
6164
+ t = I("div"), r = K(n), i = X(), _(t, f), yn(
6163
6165
  t,
6164
6166
  "active",
6165
6167
  /*filter*/
@@ -6168,7 +6170,7 @@ function _r(e) {
6168
6170
  );
6169
6171
  },
6170
6172
  m(l, c) {
6171
- M(l, t, c), E(t, r), E(t, i), o || (a = $e(t, "click", s), o = !0);
6173
+ P(l, t, c), E(t, r), E(t, i), o || (a = et(t, "click", s), o = !0);
6172
6174
  },
6173
6175
  p(l, c) {
6174
6176
  e = l, c[0] & /*locale*/
@@ -6180,7 +6182,7 @@ function _r(e) {
6180
6182
  c[0] & /*classWithMobile*/
6181
6183
  2048 && /*classWithMobile*/
6182
6184
  e[11]("WageringTab")
6183
- ])), _n(
6185
+ ])), yn(
6184
6186
  t,
6185
6187
  "active",
6186
6188
  /*filter*/
@@ -6189,18 +6191,18 @@ function _r(e) {
6189
6191
  );
6190
6192
  },
6191
6193
  d(l) {
6192
- l && P(t), o = !1, a();
6194
+ l && M(t), o = !1, a();
6193
6195
  }
6194
6196
  };
6195
6197
  }
6196
- function Fa(e) {
6198
+ function ka(e) {
6197
6199
  let t;
6198
6200
  function n(u, f) {
6199
6201
  return (
6200
6202
  /*bonuses*/
6201
- u[7].length > 0 ? ja : (
6203
+ u[7].length > 0 ? Wa : (
6202
6204
  /*errorMessage*/
6203
- u[9] ? Ga : Ua
6205
+ u[9] ? ja : Ga
6204
6206
  )
6205
6207
  );
6206
6208
  }
@@ -6215,7 +6217,7 @@ function Fa(e) {
6215
6217
  t = I("div"), i.c(), _(t, a);
6216
6218
  },
6217
6219
  m(u, f) {
6218
- M(u, t, f), i.m(t, null);
6220
+ P(u, t, f), i.m(t, null);
6219
6221
  },
6220
6222
  p(u, f) {
6221
6223
  r === (r = n(u)) && i ? i.p(u, f) : (i.d(1), i = r(u), i && (i.c(), i.m(t, null))), _(t, a = k(o, [
@@ -6225,89 +6227,89 @@ function Fa(e) {
6225
6227
  ]));
6226
6228
  },
6227
6229
  d(u) {
6228
- u && P(t), i.d();
6230
+ u && M(t), i.d();
6229
6231
  }
6230
6232
  };
6231
6233
  }
6232
- function ka(e) {
6234
+ function Ua(e) {
6233
6235
  let t;
6234
6236
  return {
6235
6237
  c() {
6236
6238
  t = I("general-animation-loading");
6237
6239
  },
6238
6240
  m(n, r) {
6239
- M(n, t, r);
6241
+ P(n, t, r);
6240
6242
  },
6241
6243
  p: Pe,
6242
6244
  d(n) {
6243
- n && P(t);
6245
+ n && M(t);
6244
6246
  }
6245
6247
  };
6246
6248
  }
6247
- function Ua(e) {
6249
+ function Ga(e) {
6248
6250
  let t = (
6249
6251
  /*locale*/
6250
6252
  e[10]("noBonuses") + ""
6251
6253
  ), n;
6252
6254
  return {
6253
6255
  c() {
6254
- n = Y(t);
6256
+ n = K(t);
6255
6257
  },
6256
6258
  m(r, i) {
6257
- M(r, n, i);
6259
+ P(r, n, i);
6258
6260
  },
6259
6261
  p(r, i) {
6260
6262
  i[0] & /*locale*/
6261
6263
  1024 && t !== (t = /*locale*/
6262
- r[10]("noBonuses") + "") && Oe(n, t);
6264
+ r[10]("noBonuses") + "") && Ne(n, t);
6263
6265
  },
6264
6266
  d(r) {
6265
- r && P(n);
6267
+ r && M(n);
6266
6268
  }
6267
6269
  };
6268
6270
  }
6269
- function Ga(e) {
6271
+ function ja(e) {
6270
6272
  let t, n, r;
6271
6273
  return {
6272
6274
  c() {
6273
- t = I("div"), n = Y("Error: "), r = Y(
6275
+ t = I("div"), n = K("Error: "), r = K(
6274
6276
  /*errorMessage*/
6275
6277
  e[9]
6276
- ), qe(t, "class", "Error");
6278
+ ), Ke(t, "class", "Error");
6277
6279
  },
6278
6280
  m(i, o) {
6279
- M(i, t, o), E(t, n), E(t, r);
6281
+ P(i, t, o), E(t, n), E(t, r);
6280
6282
  },
6281
6283
  p(i, o) {
6282
6284
  o[0] & /*errorMessage*/
6283
- 512 && Oe(
6285
+ 512 && Ne(
6284
6286
  r,
6285
6287
  /*errorMessage*/
6286
6288
  i[9]
6287
6289
  );
6288
6290
  },
6289
6291
  d(i) {
6290
- i && P(t);
6292
+ i && M(t);
6291
6293
  }
6292
6294
  };
6293
6295
  }
6294
- function ja(e) {
6296
+ function Wa(e) {
6295
6297
  let t, n = pe(
6296
6298
  /*bonuses*/
6297
6299
  e[7]
6298
6300
  ), r = [];
6299
6301
  for (let i = 0; i < n.length; i += 1)
6300
- r[i] = yr(vr(e, n, i));
6302
+ r[i] = Er(br(e, n, i));
6301
6303
  return {
6302
6304
  c() {
6303
6305
  for (let i = 0; i < r.length; i += 1)
6304
6306
  r[i].c();
6305
- t = ft();
6307
+ t = ht();
6306
6308
  },
6307
6309
  m(i, o) {
6308
6310
  for (let a = 0; a < r.length; a += 1)
6309
6311
  r[a] && r[a].m(i, o);
6310
- M(i, t, o);
6312
+ P(i, t, o);
6311
6313
  },
6312
6314
  p(i, o) {
6313
6315
  if (o[0] & /*endpoint, session, lang, currency, bonuses*/
@@ -6318,8 +6320,8 @@ function ja(e) {
6318
6320
  );
6319
6321
  let a;
6320
6322
  for (a = 0; a < n.length; a += 1) {
6321
- const u = vr(i, n, a);
6322
- r[a] ? r[a].p(u, o) : (r[a] = yr(u), r[a].c(), r[a].m(t.parentNode, t));
6323
+ const u = br(i, n, a);
6324
+ r[a] ? r[a].p(u, o) : (r[a] = Er(u), r[a].c(), r[a].m(t.parentNode, t));
6323
6325
  }
6324
6326
  for (; a < r.length; a += 1)
6325
6327
  r[a].d(1);
@@ -6327,11 +6329,11 @@ function ja(e) {
6327
6329
  }
6328
6330
  },
6329
6331
  d(i) {
6330
- i && P(t), ke(r, i);
6332
+ i && M(t), Ue(r, i);
6331
6333
  }
6332
6334
  };
6333
6335
  }
6334
- function yr(e) {
6336
+ function Er(e) {
6335
6337
  let t, n = [
6336
6338
  {
6337
6339
  endpoint: (
@@ -6363,7 +6365,7 @@ function yr(e) {
6363
6365
  t = I("private-casino-wagering-bonus"), _(t, r);
6364
6366
  },
6365
6367
  m(i, o) {
6366
- M(i, t, o);
6368
+ P(i, t, o);
6367
6369
  },
6368
6370
  p(i, o) {
6369
6371
  _(t, r = k(n, [
@@ -6393,14 +6395,14 @@ function yr(e) {
6393
6395
  ]));
6394
6396
  },
6395
6397
  d(i) {
6396
- i && P(t);
6398
+ i && M(t);
6397
6399
  }
6398
6400
  };
6399
6401
  }
6400
- function Wa(e) {
6401
- let t, n, r, i, o, a = pe(Object.values(bt)), u = [];
6402
+ function Va(e) {
6403
+ let t, n, r, i, o, a = pe(Object.values(_t)), u = [];
6402
6404
  for (let m = 0; m < a.length; m += 1)
6403
- u[m] = _r(br(e, a, m));
6405
+ u[m] = yr(_r(e, a, m));
6404
6406
  let f = [
6405
6407
  /*classWithMobile*/
6406
6408
  e[11]("WageringTabs")
@@ -6410,7 +6412,7 @@ function Wa(e) {
6410
6412
  function l(m, d) {
6411
6413
  return (
6412
6414
  /*isLoading*/
6413
- m[8] ? ka : Fa
6415
+ m[8] ? Ua : ka
6414
6416
  );
6415
6417
  }
6416
6418
  let c = l(e), h = c(e), b = [
@@ -6424,16 +6426,16 @@ function Wa(e) {
6424
6426
  t = I("div"), n = I("section");
6425
6427
  for (let m = 0; m < u.length; m += 1)
6426
6428
  u[m].c();
6427
- r = X(), i = I("div"), h.c(), _(n, s), _(t, v), fn(() => (
6429
+ r = X(), i = I("div"), h.c(), _(n, s), _(t, v), cn(() => (
6428
6430
  /*div1_elementresize_handler*/
6429
6431
  e[23].call(t)
6430
6432
  ));
6431
6433
  },
6432
6434
  m(m, d) {
6433
- M(m, t, d), E(t, n);
6435
+ P(m, t, d), E(t, n);
6434
6436
  for (let y = 0; y < u.length; y += 1)
6435
6437
  u[y] && u[y].m(n, null);
6436
- E(t, r), E(t, i), h.m(i, null), e[22](t), o = ui(
6438
+ E(t, r), E(t, i), h.m(i, null), e[22](t), o = fi(
6437
6439
  t,
6438
6440
  /*div1_elementresize_handler*/
6439
6441
  e[23].bind(t)
@@ -6442,11 +6444,11 @@ function Wa(e) {
6442
6444
  p(m, d) {
6443
6445
  if (d[0] & /*classWithMobile, filter, init, locale*/
6444
6446
  7169) {
6445
- a = pe(Object.values(bt));
6447
+ a = pe(Object.values(_t));
6446
6448
  let y;
6447
6449
  for (y = 0; y < a.length; y += 1) {
6448
- const D = br(m, a, y);
6449
- u[y] ? u[y].p(D, d) : (u[y] = _r(D), u[y].c(), u[y].m(n, null));
6450
+ const D = _r(m, a, y);
6451
+ u[y] ? u[y].p(D, d) : (u[y] = yr(D), u[y].c(), u[y].m(n, null));
6450
6452
  }
6451
6453
  for (; y < u.length; y += 1)
6452
6454
  u[y].d(1);
@@ -6463,90 +6465,90 @@ function Wa(e) {
6463
6465
  i: Pe,
6464
6466
  o: Pe,
6465
6467
  d(m) {
6466
- m && P(t), ke(u, m), h.d(), e[22](null), o();
6468
+ m && M(t), Ue(u, m), h.d(), e[22](null), o();
6467
6469
  }
6468
6470
  };
6469
6471
  }
6470
- function Va(e, t, n) {
6472
+ function Xa(e, t, n) {
6471
6473
  let r, i, o, a;
6472
- Er(e, Qr, (w) => n(20, a = w));
6473
- let { endpoint: u = "" } = t, { lang: f = hn.en } = t, { session: s = "" } = t, { currency: l = "EUR" } = t, { filter: c = bt.claimable } = t, { limit: h = "" } = t, { sortorder: b = "desc" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, y, D = !1;
6474
- xt(() => (n(18, D = !0), () => {
6474
+ wr(e, $r, (w) => n(20, a = w));
6475
+ let { endpoint: u = "" } = t, { lang: f = dn.en } = t, { session: s = "" } = t, { currency: l = "EUR" } = t, { filter: c = _t.claimable } = t, { limit: h = "" } = t, { sortorder: b = "desc" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, y, D = !1;
6476
+ At(() => (n(18, D = !0), () => {
6475
6477
  n(18, D = !1);
6476
6478
  }));
6477
- let N = [], G, j = {}, te = !0, W = "", le;
6478
- wa(Ma);
6479
- const fe = Si({
6479
+ let O = [], G, j = {}, ee = !0, W = "", se;
6480
+ Ta(Pa);
6481
+ const ue = Bi({
6480
6482
  WageringProgressUpdate: (w) => {
6481
- n(7, N = N.map((S) => {
6483
+ n(7, O = O.map((S) => {
6482
6484
  let x = w == null ? void 0 : w.items[S.bonusWalletID];
6483
6485
  if (!x)
6484
6486
  return S;
6485
- const { maxIdObj: Z, maxId: de } = Ci(x);
6486
- let { status: Ee, level: B, levelIncrement: ee, gap: we } = Z;
6487
+ const { maxIdObj: Z, maxId: de } = xi(x);
6488
+ let { status: Ee, level: B, levelIncrement: $, gap: we } = Z;
6487
6489
  j[S.id] = de;
6488
- let oe = Te({}, S);
6489
- return oe = Ve(Te({}, oe), {
6490
- wageringProgress: Ve(Te({}, oe.wageringProgress), {
6490
+ let ie = Te({}, S);
6491
+ return ie = Xe(Te({}, ie), {
6492
+ wageringProgress: Xe(Te({}, ie.wageringProgress), {
6491
6493
  currentLevel: B,
6492
- currentLevelIncrement: ee,
6494
+ currentLevelIncrement: $,
6493
6495
  gap: we
6494
6496
  })
6495
- }), Ee && (oe = Ve(Te({}, oe), { status: Ee }), setTimeout(() => q(), 500), Ee !== c) ? null : oe;
6497
+ }), Ee && (ie = Xe(Te({}, ie), { status: Ee }), setTimeout(() => q(), 500), Ee !== c) ? null : ie;
6496
6498
  }).filter((S) => S));
6497
6499
  }
6498
- }), ne = () => Qe(this, null, function* () {
6499
- le == null || le.abort(), le = new AbortController();
6500
+ }), te = () => $e(this, null, function* () {
6501
+ se == null || se.abort(), se = new AbortController();
6500
6502
  try {
6501
- const w = yield Cr.list(le, u, s, {
6503
+ const w = yield xr.list(se, u, s, {
6502
6504
  lang: f,
6503
- status: c === "claimable" ? "claimable" : Li(c),
6505
+ status: c === "claimable" ? "claimable" : Mi(c),
6504
6506
  limit: h,
6505
6507
  sortOrder: b || "desc"
6506
6508
  });
6507
- w.success ? (n(7, N = w.items || w.bonuses), Ut(G, fe), c === bt.active && he()) : n(9, W = w.errorMessage);
6509
+ w.success ? (n(7, O = w.items || w.bonuses), jt(G, ue), c === _t.active && fe()) : n(9, W = w.errorMessage);
6508
6510
  } catch (w) {
6509
6511
  if (w.name == "AbortError")
6510
6512
  return;
6511
6513
  console.error(w);
6512
6514
  }
6513
- }), he = () => {
6514
- Ut(G, fe), G = Ai(u, s, N, fe, j), G == null || G.onerror.bind(null, () => {
6515
- he();
6515
+ }), fe = () => {
6516
+ jt(G, ue), G = Ii(u, s, O, ue, j), G == null || G.onerror.bind(null, () => {
6517
+ fe();
6516
6518
  });
6517
- }, q = () => Qe(this, null, function* () {
6518
- !D || !c || !f || !s || !u || (n(8, te = !0), yield ne(), n(8, te = !1));
6519
+ }, q = () => $e(this, null, function* () {
6520
+ !D || !c || !f || !s || !u || (n(8, ee = !0), yield te(), n(8, ee = !1));
6519
6521
  });
6520
- Tr({
6522
+ Sr({
6521
6523
  OnWageringBonusClaimed: () => q(),
6522
6524
  OnWageringBonusExpired: () => q()
6523
- }), xt(() => () => Ut(G, fe));
6524
- let Q;
6525
- const $ = (w) => {
6525
+ }), At(() => () => jt(G, ue));
6526
+ let Y;
6527
+ const Q = (w) => {
6526
6528
  c !== w && (n(0, c = w), q());
6527
6529
  };
6528
6530
  function me(w) {
6529
- fi[w ? "unshift" : "push"](() => {
6531
+ hi[w ? "unshift" : "push"](() => {
6530
6532
  y = w, n(5, y);
6531
6533
  });
6532
6534
  }
6533
6535
  function ce() {
6534
- Q = this.clientWidth, n(6, Q);
6536
+ Y = this.clientWidth, n(6, Y);
6535
6537
  }
6536
6538
  return e.$$set = (w) => {
6537
6539
  "endpoint" in w && n(1, u = w.endpoint), "lang" in w && n(2, f = w.lang), "session" in w && n(3, s = w.session), "currency" in w && n(4, l = w.currency), "filter" in w && n(0, c = w.filter), "limit" in w && n(13, h = w.limit), "sortorder" in w && n(14, b = w.sortorder), "clientstyling" in w && n(15, v = w.clientstyling), "clientstylingurl" in w && n(16, m = w.clientstylingurl), "translationurl" in w && n(17, d = w.translationurl);
6538
6540
  }, e.$$.update = () => {
6539
6541
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
6540
- 32800 && y && v && Pa(y, v), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
6542
+ 32800 && y && v && Oa(y, v), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
6541
6543
  65568 && y && m && Na(y, m), e.$$.dirty[0] & /*translationurl*/
6542
- 131072 && d && Oa(d, $r), e.$$.dirty[0] & /*isMounted*/
6544
+ 131072 && d && Da(d, ei), e.$$.dirty[0] & /*isMounted*/
6543
6545
  262144 && D && q(), e.$$.dirty[0] & /*endpoint*/
6544
6546
  2 && u && q(), e.$$.dirty[0] & /*lang*/
6545
6547
  4 && f && q(), e.$$.dirty[0] & /*session*/
6546
6548
  8 && s && q(), e.$$.dirty[0] & /*sortorder*/
6547
6549
  16384 && b && q(), e.$$.dirty[0] & /*innerWidth*/
6548
- 64 && n(19, r = Q <= 648), e.$$.dirty[0] & /*isMobileView*/
6549
- 524288 && n(11, i = (w) => At(`${w}${r ? ` ${w}Mobile` : ""}`)), e.$$.dirty[0] & /*$_*/
6550
+ 64 && n(19, r = Y <= 648), e.$$.dirty[0] & /*isMobileView*/
6551
+ 524288 && n(11, i = (w) => It(`${w}${r ? ` ${w}Mobile` : ""}`)), e.$$.dirty[0] & /*$_*/
6550
6552
  1048576 && n(10, o = (w, S = {}) => a("wageringBonuses." + w, { values: S }));
6551
6553
  }, [
6552
6554
  c,
@@ -6555,9 +6557,9 @@ function Va(e, t, n) {
6555
6557
  s,
6556
6558
  l,
6557
6559
  y,
6558
- Q,
6559
- N,
6560
- te,
6560
+ Y,
6561
+ O,
6562
+ ee,
6561
6563
  W,
6562
6564
  o,
6563
6565
  i,
@@ -6570,19 +6572,19 @@ function Va(e, t, n) {
6570
6572
  D,
6571
6573
  r,
6572
6574
  a,
6573
- $,
6575
+ Q,
6574
6576
  me,
6575
6577
  ce
6576
6578
  ];
6577
6579
  }
6578
- class Xa extends sn {
6580
+ class Za extends un {
6579
6581
  constructor(t) {
6580
- super(), ln(
6582
+ super(), fn(
6581
6583
  this,
6582
6584
  t,
6585
+ Xa,
6583
6586
  Va,
6584
- Wa,
6585
- Lt,
6587
+ Pt,
6586
6588
  {
6587
6589
  endpoint: 1,
6588
6590
  lang: 2,
@@ -6595,7 +6597,7 @@ class Xa extends sn {
6595
6597
  clientstylingurl: 16,
6596
6598
  translationurl: 17
6597
6599
  },
6598
- Da,
6600
+ Fa,
6599
6601
  [-1, -1]
6600
6602
  );
6601
6603
  }
@@ -6660,7 +6662,7 @@ class Xa extends sn {
6660
6662
  this.$$set({ translationurl: t }), Se();
6661
6663
  }
6662
6664
  }
6663
- an(Xa, { endpoint: {}, lang: {}, session: {}, currency: {}, filter: {}, limit: {}, sortorder: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
6665
+ ln(Za, { endpoint: {}, lang: {}, session: {}, currency: {}, filter: {}, limit: {}, sortorder: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
6664
6666
  export {
6665
- Xa as default
6667
+ Za as default
6666
6668
  };