@everymatrix/player-active-bonuses 1.86.2 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,57 @@
1
- var lr = Object.defineProperty, cr = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var Pt = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
- var Xe = (e, t, n) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Mt = (e, t) => {
1
+ var ur = Object.defineProperty, lr = Object.defineProperties;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
+ var At = Object.getOwnPropertySymbols;
4
+ var hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
+ var Ve = (e, t, n) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tt = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- fr.call(t, n) && Xe(e, n, t[n]);
8
- if (Pt)
9
- for (var n of Pt(t))
10
- dr.call(t, n) && Xe(e, n, t[n]);
7
+ hr.call(t, n) && Ve(e, n, t[n]);
8
+ if (At)
9
+ for (var n of At(t))
10
+ fr.call(t, n) && Ve(e, n, t[n]);
11
11
  return e;
12
- }, Ht = (e, t) => cr(e, hr(t));
13
- var q = (e, t, n) => (Xe(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var Ot = (e, t, n) => new Promise((r, o) => {
15
- var i = (u) => {
12
+ }, Mt = (e, t) => lr(e, cr(t));
13
+ var q = (e, t, n) => (Ve(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var Pt = (e, t, n) => new Promise((r, i) => {
15
+ var o = (u) => {
16
16
  try {
17
17
  a(n.next(u));
18
18
  } catch (l) {
19
- o(l);
19
+ i(l);
20
20
  }
21
21
  }, s = (u) => {
22
22
  try {
23
23
  a(n.throw(u));
24
24
  } catch (l) {
25
- o(l);
25
+ i(l);
26
26
  }
27
- }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(i, s);
27
+ }, a = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(o, s);
28
28
  a((n = n.apply(e, t)).next());
29
29
  });
30
30
  function Q() {
31
31
  }
32
- function fn(e) {
32
+ function cn(e) {
33
33
  return e();
34
34
  }
35
- function It() {
35
+ function Ht() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function se(e) {
39
- e.forEach(fn);
39
+ e.forEach(cn);
40
40
  }
41
- function _t(e) {
41
+ function bt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function dn(e, t) {
44
+ function hn(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Me;
48
- function ns(e, t) {
49
- return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
47
+ let Pe;
48
+ function es(e, t) {
49
+ return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
50
50
  }
51
- function pr(e) {
51
+ function dr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function pn(e, ...t) {
54
+ function fn(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const r of t)
57
57
  r(void 0);
@@ -60,20 +60,20 @@ function pn(e, ...t) {
60
60
  const n = e.subscribe(...t);
61
61
  return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
- function mr(e, t, n) {
64
- e.$$.on_destroy.push(pn(t, n));
63
+ function pr(e, t, n) {
64
+ e.$$.on_destroy.push(fn(t, n));
65
65
  }
66
66
  function E(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function br(e, t, n) {
70
- const r = gr(e);
69
+ function mr(e, t, n) {
70
+ const r = br(e);
71
71
  if (!r.getElementById(t)) {
72
- const o = A("style");
73
- o.id = t, o.textContent = n, vr(r, o);
72
+ const i = T("style");
73
+ i.id = t, i.textContent = n, gr(r, i);
74
74
  }
75
75
  }
76
- function gr(e) {
76
+ function br(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function gr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function vr(e, t) {
86
+ function gr(e, t) {
87
87
  return E(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -93,27 +93,27 @@ function vr(e, t) {
93
93
  function D(e, t, n) {
94
94
  e.insertBefore(t, n || null);
95
95
  }
96
- function F(e) {
96
+ function $(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function mn(e, t) {
99
+ function dn(e, t) {
100
100
  for (let n = 0; n < e.length; n += 1)
101
101
  e[n] && e[n].d(t);
102
102
  }
103
- function A(e) {
103
+ function T(e) {
104
104
  return document.createElement(e);
105
105
  }
106
106
  function ue(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function $(e) {
109
+ function F(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
112
  function j() {
113
- return $(" ");
113
+ return F(" ");
114
114
  }
115
- function Bt() {
116
- return $("");
115
+ function gt() {
116
+ return F("");
117
117
  }
118
118
  function Y(e, t, n, r) {
119
119
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
@@ -125,17 +125,17 @@ function h(e, t, n) {
125
125
  const r = t.toLowerCase();
126
126
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : w(e, t, n);
127
127
  }
128
- function yr(e) {
128
+ function vr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function ne(e, t) {
131
+ function te(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Nt(e, t) {
135
+ function It(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function _r(e) {
138
+ function yr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,98 +144,98 @@ function _r(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let we;
148
- function Ee(e) {
149
- we = e;
147
+ let xe;
148
+ function we(e) {
149
+ xe = e;
150
150
  }
151
- function Br() {
152
- if (!we)
151
+ function _r() {
152
+ if (!xe)
153
153
  throw new Error("Function called outside component initialization");
154
- return we;
154
+ return xe;
155
155
  }
156
- function Er(e) {
157
- Br().$$.on_mount.push(e);
156
+ function Br(e) {
157
+ _r().$$.on_mount.push(e);
158
158
  }
159
- const he = [], nt = [];
159
+ const he = [], et = [];
160
160
  let fe = [];
161
- const Lt = [], wr = /* @__PURE__ */ Promise.resolve();
162
- let rt = !1;
163
- function xr() {
164
- rt || (rt = !0, wr.then(z));
161
+ const Ot = [], Er = /* @__PURE__ */ Promise.resolve();
162
+ let tt = !1;
163
+ function wr() {
164
+ tt || (tt = !0, Er.then(z));
165
165
  }
166
- function ot(e) {
166
+ function nt(e) {
167
167
  fe.push(e);
168
168
  }
169
- const Ze = /* @__PURE__ */ new Set();
169
+ const ze = /* @__PURE__ */ new Set();
170
170
  let le = 0;
171
171
  function z() {
172
172
  if (le !== 0)
173
173
  return;
174
- const e = we;
174
+ const e = xe;
175
175
  do {
176
176
  try {
177
177
  for (; le < he.length; ) {
178
178
  const t = he[le];
179
- le++, Ee(t), Cr(t.$$);
179
+ le++, we(t), xr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw he.length = 0, le = 0, t;
183
183
  }
184
- for (Ee(null), he.length = 0, le = 0; nt.length; )
185
- nt.pop()();
184
+ for (we(null), he.length = 0, le = 0; et.length; )
185
+ et.pop()();
186
186
  for (let t = 0; t < fe.length; t += 1) {
187
187
  const n = fe[t];
188
- Ze.has(n) || (Ze.add(n), n());
188
+ ze.has(n) || (ze.add(n), n());
189
189
  }
190
190
  fe.length = 0;
191
191
  } while (he.length);
192
- for (; Lt.length; )
193
- Lt.pop()();
194
- rt = !1, Ze.clear(), Ee(e);
192
+ for (; Ot.length; )
193
+ Ot.pop()();
194
+ tt = !1, ze.clear(), we(e);
195
195
  }
196
- function Cr(e) {
196
+ function xr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), se(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
201
201
  }
202
202
  }
203
- function Sr(e) {
203
+ function Cr(e) {
204
204
  const t = [], n = [];
205
205
  fe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), fe = t;
206
206
  }
207
- const Ar = /* @__PURE__ */ new Set();
208
- function Tr(e, t) {
209
- e && e.i && (Ar.delete(e), e.i(t));
207
+ const Sr = /* @__PURE__ */ new Set();
208
+ function Ar(e, t) {
209
+ e && e.i && (Sr.delete(e), e.i(t));
210
210
  }
211
- function $e(e) {
211
+ function Fe(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function Pr(e, t, n) {
215
- const { fragment: r, after_update: o } = e.$$;
216
- r && r.m(t, n), ot(() => {
217
- const i = e.$$.on_mount.map(fn).filter(_t);
218
- e.$$.on_destroy ? e.$$.on_destroy.push(...i) : se(i), e.$$.on_mount = [];
219
- }), o.forEach(ot);
214
+ function Tr(e, t, n) {
215
+ const { fragment: r, after_update: i } = e.$$;
216
+ r && r.m(t, n), nt(() => {
217
+ const o = e.$$.on_mount.map(cn).filter(bt);
218
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
219
+ }), i.forEach(nt);
220
220
  }
221
221
  function Mr(e, t) {
222
222
  const n = e.$$;
223
- n.fragment !== null && (Sr(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
223
+ n.fragment !== null && (Cr(n.after_update), se(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
224
224
  }
225
- function Hr(e, t) {
226
- e.$$.dirty[0] === -1 && (he.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function Pr(e, t) {
226
+ e.$$.dirty[0] === -1 && (he.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function Or(e, t, n, r, o, i, s = null, a = [-1]) {
229
- const u = we;
230
- Ee(e);
228
+ function Hr(e, t, n, r, i, o, s = null, a = [-1]) {
229
+ const u = xe;
230
+ we(e);
231
231
  const l = e.$$ = {
232
232
  fragment: null,
233
233
  ctx: [],
234
234
  // state
235
- props: i,
235
+ props: o,
236
236
  update: Q,
237
- not_equal: o,
238
- bound: It(),
237
+ not_equal: i,
238
+ bound: Ht(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,7 +244,7 @@ function Or(e, t, n, r, o, i, s = null, a = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (u ? u.$$.context : [])),
246
246
  // everything else
247
- callbacks: It(),
247
+ callbacks: Ht(),
248
248
  dirty: a,
249
249
  skip_bound: !1,
250
250
  root: t.target || u.$$.root
@@ -253,19 +253,19 @@ function Or(e, t, n, r, o, i, s = null, a = [-1]) {
253
253
  let c = !1;
254
254
  if (l.ctx = n ? n(e, t.props || {}, (f, d, ...p) => {
255
255
  const g = p.length ? p[0] : d;
256
- return l.ctx && o(l.ctx[f], l.ctx[f] = g) && (!l.skip_bound && l.bound[f] && l.bound[f](g), c && Hr(e, f)), d;
256
+ return l.ctx && i(l.ctx[f], l.ctx[f] = g) && (!l.skip_bound && l.bound[f] && l.bound[f](g), c && Pr(e, f)), d;
257
257
  }) : [], l.update(), c = !0, se(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const f = yr(t.target);
260
- l.fragment && l.fragment.l(f), f.forEach(F);
259
+ const f = vr(t.target);
260
+ l.fragment && l.fragment.l(f), f.forEach($);
261
261
  } else
262
262
  l.fragment && l.fragment.c();
263
- t.intro && Tr(e.$$.fragment), Pr(e, t.target, t.anchor), z();
263
+ t.intro && Ar(e.$$.fragment), Tr(e, t.target, t.anchor), z();
264
264
  }
265
- Ee(u);
265
+ we(u);
266
266
  }
267
- let bn;
268
- typeof HTMLElement == "function" && (bn = class extends HTMLElement {
267
+ let pn;
268
+ typeof HTMLElement == "function" && (pn = class extends HTMLElement {
269
269
  constructor(t, n, r) {
270
270
  super();
271
271
  /** The Svelte component constructor */
@@ -290,26 +290,26 @@ typeof HTMLElement == "function" && (bn = class extends HTMLElement {
290
290
  }
291
291
  addEventListener(t, n, r) {
292
292
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
293
- const o = this.$$c.$on(t, n);
294
- this.$$l_u.set(n, o);
293
+ const i = this.$$c.$on(t, n);
294
+ this.$$l_u.set(n, i);
295
295
  }
296
296
  super.addEventListener(t, n, r);
297
297
  }
298
298
  removeEventListener(t, n, r) {
299
299
  if (super.removeEventListener(t, n, r), this.$$c) {
300
- const o = this.$$l_u.get(n);
301
- o && (o(), this.$$l_u.delete(n));
300
+ const i = this.$$l_u.get(n);
301
+ i && (i(), this.$$l_u.delete(n));
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return Ot(this, null, function* () {
305
+ return Pt(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
- let t = function(i) {
307
+ let t = function(o) {
308
308
  return () => {
309
309
  let s;
310
310
  return {
311
311
  c: function() {
312
- s = A("slot"), i !== "default" && w(s, "name", i);
312
+ s = T("slot"), o !== "default" && w(s, "name", o);
313
313
  },
314
314
  /**
315
315
  * @param {HTMLElement} target
@@ -319,49 +319,49 @@ typeof HTMLElement == "function" && (bn = class extends HTMLElement {
319
319
  D(l, s, c);
320
320
  },
321
321
  d: function(l) {
322
- l && F(s);
322
+ l && $(s);
323
323
  }
324
324
  };
325
325
  };
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const n = {}, r = _r(this);
330
- for (const i of this.$$s)
331
- i in r && (n[i] = [t(i)]);
332
- for (const i of this.attributes) {
333
- const s = this.$$g_p(i.name);
334
- s in this.$$d || (this.$$d[s] = Ie(s, i.value, this.$$p_d, "toProp"));
329
+ const n = {}, r = yr(this);
330
+ for (const o of this.$$s)
331
+ o in r && (n[o] = [t(o)]);
332
+ for (const o of this.attributes) {
333
+ const s = this.$$g_p(o.name);
334
+ s in this.$$d || (this.$$d[s] = Oe(s, o.value, this.$$p_d, "toProp"));
335
335
  }
336
- for (const i in this.$$p_d)
337
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
336
+ for (const o in this.$$p_d)
337
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: Ht(Mt({}, this.$$d), {
340
+ props: Mt(Tt({}, this.$$d), {
341
341
  $$slots: n,
342
342
  $$scope: {
343
343
  ctx: []
344
344
  }
345
345
  })
346
346
  });
347
- const o = () => {
347
+ const i = () => {
348
348
  this.$$r = !0;
349
- for (const i in this.$$p_d)
350
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
351
- const s = Ie(
352
- i,
353
- this.$$d[i],
349
+ for (const o in this.$$p_d)
350
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
351
+ const s = Oe(
352
+ o,
353
+ this.$$d[o],
354
354
  this.$$p_d,
355
355
  "toAttribute"
356
356
  );
357
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
357
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
358
358
  }
359
359
  this.$$r = !1;
360
360
  };
361
- this.$$c.$$.after_update.push(o), o();
362
- for (const i in this.$$l)
363
- for (const s of this.$$l[i]) {
364
- const a = this.$$c.$on(i, s);
361
+ this.$$c.$$.after_update.push(i), i();
362
+ for (const o in this.$$l)
363
+ for (const s of this.$$l[o]) {
364
+ const a = this.$$c.$on(o, s);
365
365
  this.$$l_u.set(s, a);
366
366
  }
367
367
  this.$$l = {};
@@ -371,8 +371,8 @@ typeof HTMLElement == "function" && (bn = class extends HTMLElement {
371
371
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
372
372
  // and setting attributes through setAttribute etc, this is helpful
373
373
  attributeChangedCallback(t, n, r) {
374
- var o;
375
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ie(t, r, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
374
+ var i;
375
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Oe(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
376
376
  }
377
377
  disconnectedCallback() {
378
378
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -385,13 +385,13 @@ typeof HTMLElement == "function" && (bn = class extends HTMLElement {
385
385
  ) || t;
386
386
  }
387
387
  });
388
- function Ie(e, t, n, r) {
389
- var i;
390
- const o = (i = n[e]) == null ? void 0 : i.type;
391
- if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
388
+ function Oe(e, t, n, r) {
389
+ var o;
390
+ const i = (o = n[e]) == null ? void 0 : o.type;
391
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
392
392
  return t;
393
393
  if (r === "toAttribute")
394
- switch (o) {
394
+ switch (i) {
395
395
  case "Object":
396
396
  case "Array":
397
397
  return t == null ? null : JSON.stringify(t);
@@ -403,7 +403,7 @@ function Ie(e, t, n, r) {
403
403
  return t;
404
404
  }
405
405
  else
406
- switch (o) {
406
+ switch (i) {
407
407
  case "Object":
408
408
  case "Array":
409
409
  return t && JSON.parse(t);
@@ -415,10 +415,10 @@ function Ie(e, t, n, r) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function Ir(e, t, n, r, o, i) {
419
- let s = class extends bn {
418
+ function Ir(e, t, n, r, i, o) {
419
+ let s = class extends pn {
420
420
  constructor() {
421
- super(e, n, o), this.$$p_d = t;
421
+ super(e, n, i), this.$$p_d = t;
422
422
  }
423
423
  static get observedAttributes() {
424
424
  return Object.keys(t).map(
@@ -433,7 +433,7 @@ function Ir(e, t, n, r, o, i) {
433
433
  },
434
434
  set(u) {
435
435
  var l;
436
- u = Ie(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
436
+ u = Oe(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
437
437
  }
438
438
  });
439
439
  }), r.forEach((a) => {
@@ -446,7 +446,7 @@ function Ir(e, t, n, r, o, i) {
446
446
  }), e.element = /** @type {any} */
447
447
  s, s;
448
448
  }
449
- class Nr {
449
+ class Or {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -476,12 +476,12 @@ class Nr {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, n) {
479
- if (!_t(n))
479
+ if (!bt(n))
480
480
  return Q;
481
481
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return r.push(n), () => {
483
- const o = r.indexOf(n);
484
- o !== -1 && r.splice(o, 1);
483
+ const i = r.indexOf(n);
484
+ i !== -1 && r.splice(i, 1);
485
485
  };
486
486
  }
487
487
  /**
@@ -489,11 +489,11 @@ class Nr {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const Lr = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
495
+ const Nr = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
497
497
  /*! *****************************************************************************
498
498
  Copyright (c) Microsoft Corporation.
499
499
 
@@ -508,24 +508,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
508
508
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
509
509
  PERFORMANCE OF THIS SOFTWARE.
510
510
  ***************************************************************************** */
511
- var it = function(e, t) {
512
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
511
+ var rt = function(e, t) {
512
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
513
513
  n.__proto__ = r;
514
514
  } || function(n, r) {
515
- for (var o in r)
516
- Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
517
- }, it(e, t);
515
+ for (var i in r)
516
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
517
+ }, rt(e, t);
518
518
  };
519
- function Se(e, t) {
519
+ function re(e, t) {
520
520
  if (typeof t != "function" && t !== null)
521
521
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
522
- it(e, t);
522
+ rt(e, t);
523
523
  function n() {
524
524
  this.constructor = e;
525
525
  }
526
526
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
527
527
  }
528
- function st(e) {
528
+ var A = function() {
529
+ return A = Object.assign || function(t) {
530
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
531
+ n = arguments[r];
532
+ for (var o in n)
533
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
534
+ }
535
+ return t;
536
+ }, A.apply(this, arguments);
537
+ };
538
+ function Lr(e, t) {
539
+ var n = {};
540
+ for (var r in e)
541
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
542
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
543
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
544
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
545
+ return n;
546
+ }
547
+ function it(e) {
529
548
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
530
549
  if (n)
531
550
  return n.call(e);
@@ -537,69 +556,69 @@ function st(e) {
537
556
  };
538
557
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
539
558
  }
540
- function at(e, t) {
559
+ function ot(e, t) {
541
560
  var n = typeof Symbol == "function" && e[Symbol.iterator];
542
561
  if (!n)
543
562
  return e;
544
- var r = n.call(e), o, i = [], s;
563
+ var r = n.call(e), i, o = [], s;
545
564
  try {
546
- for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; )
547
- i.push(o.value);
565
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
566
+ o.push(i.value);
548
567
  } catch (a) {
549
568
  s = { error: a };
550
569
  } finally {
551
570
  try {
552
- o && !o.done && (n = r.return) && n.call(r);
571
+ i && !i.done && (n = r.return) && n.call(r);
553
572
  } finally {
554
573
  if (s)
555
574
  throw s.error;
556
575
  }
557
576
  }
558
- return i;
577
+ return o;
559
578
  }
560
- function ut(e, t, n) {
561
- if (arguments.length === 2)
562
- for (var r = 0, o = t.length, i; r < o; r++)
563
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
564
- return e.concat(i || t);
579
+ function de(e, t, n) {
580
+ if (n || arguments.length === 2)
581
+ for (var r = 0, i = t.length, o; r < i; r++)
582
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
583
+ return e.concat(o || t);
565
584
  }
566
- function re(e) {
585
+ function ne(e) {
567
586
  return typeof e == "function";
568
587
  }
569
- function gn(e) {
588
+ function mn(e) {
570
589
  var t = function(r) {
571
590
  Error.call(r), r.stack = new Error().stack;
572
591
  }, n = e(t);
573
592
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
574
593
  }
575
- var qe = gn(function(e) {
594
+ var Xe = mn(function(e) {
576
595
  return function(n) {
577
596
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
578
- ` + n.map(function(r, o) {
579
- return o + 1 + ") " + r.toString();
597
+ ` + n.map(function(r, i) {
598
+ return i + 1 + ") " + r.toString();
580
599
  }).join(`
581
600
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
582
601
  };
583
602
  });
584
- function lt(e, t) {
603
+ function st(e, t) {
585
604
  if (e) {
586
605
  var n = e.indexOf(t);
587
606
  0 <= n && e.splice(n, 1);
588
607
  }
589
608
  }
590
- var Ge = function() {
609
+ var De = function() {
591
610
  function e(t) {
592
611
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
593
612
  }
594
613
  return e.prototype.unsubscribe = function() {
595
- var t, n, r, o, i;
614
+ var t, n, r, i, o;
596
615
  if (!this.closed) {
597
616
  this.closed = !0;
598
617
  var s = this._parentage;
599
618
  if (s)
600
619
  if (this._parentage = null, Array.isArray(s))
601
620
  try {
602
- for (var a = st(s), u = a.next(); !u.done; u = a.next()) {
621
+ for (var a = it(s), u = a.next(); !u.done; u = a.next()) {
603
622
  var l = u.value;
604
623
  l.remove(this);
605
624
  }
@@ -616,43 +635,43 @@ var Ge = function() {
616
635
  else
617
636
  s.remove(this);
618
637
  var c = this.initialTeardown;
619
- if (re(c))
638
+ if (ne(c))
620
639
  try {
621
640
  c();
622
641
  } catch (b) {
623
- i = b instanceof qe ? b.errors : [b];
642
+ o = b instanceof Xe ? b.errors : [b];
624
643
  }
625
644
  var f = this._finalizers;
626
645
  if (f) {
627
646
  this._finalizers = null;
628
647
  try {
629
- for (var d = st(f), p = d.next(); !p.done; p = d.next()) {
648
+ for (var d = it(f), p = d.next(); !p.done; p = d.next()) {
630
649
  var g = p.value;
631
650
  try {
632
- Rt(g);
651
+ Nt(g);
633
652
  } catch (b) {
634
- i = i != null ? i : [], b instanceof qe ? i = ut(ut([], at(i)), at(b.errors)) : i.push(b);
653
+ o = o != null ? o : [], b instanceof Xe ? o = de(de([], ot(o)), ot(b.errors)) : o.push(b);
635
654
  }
636
655
  }
637
656
  } catch (b) {
638
657
  r = { error: b };
639
658
  } finally {
640
659
  try {
641
- p && !p.done && (o = d.return) && o.call(d);
660
+ p && !p.done && (i = d.return) && i.call(d);
642
661
  } finally {
643
662
  if (r)
644
663
  throw r.error;
645
664
  }
646
665
  }
647
666
  }
648
- if (i)
649
- throw new qe(i);
667
+ if (o)
668
+ throw new Xe(o);
650
669
  }
651
670
  }, e.prototype.add = function(t) {
652
671
  var n;
653
672
  if (t && t !== this)
654
673
  if (this.closed)
655
- Rt(t);
674
+ Nt(t);
656
675
  else {
657
676
  if (t instanceof e) {
658
677
  if (t.closed || t._hasParent(this))
@@ -669,28 +688,32 @@ var Ge = function() {
669
688
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
670
689
  }, e.prototype._removeParent = function(t) {
671
690
  var n = this._parentage;
672
- n === t ? this._parentage = null : Array.isArray(n) && lt(n, t);
691
+ n === t ? this._parentage = null : Array.isArray(n) && st(n, t);
673
692
  }, e.prototype.remove = function(t) {
674
693
  var n = this._finalizers;
675
- n && lt(n, t), t instanceof e && t._removeParent(this);
694
+ n && st(n, t), t instanceof e && t._removeParent(this);
676
695
  }, e.EMPTY = function() {
677
696
  var t = new e();
678
697
  return t.closed = !0, t;
679
698
  }(), e;
680
- }(), vn = Ge.EMPTY;
681
- function yn(e) {
682
- return e instanceof Ge || e && "closed" in e && re(e.remove) && re(e.add) && re(e.unsubscribe);
683
- }
684
- function Rt(e) {
685
- re(e) ? e() : e.unsubscribe();
686
- }
687
- var Rr = {
688
- Promise: void 0
689
- }, $r = {
699
+ }(), bn = De.EMPTY;
700
+ function gn(e) {
701
+ return e instanceof De || e && "closed" in e && ne(e.remove) && ne(e.add) && ne(e.unsubscribe);
702
+ }
703
+ function Nt(e) {
704
+ ne(e) ? e() : e.unsubscribe();
705
+ }
706
+ var vn = {
707
+ onUnhandledError: null,
708
+ onStoppedNotification: null,
709
+ Promise: void 0,
710
+ useDeprecatedSynchronousErrorHandling: !1,
711
+ useDeprecatedNextContext: !1
712
+ }, Rr = {
690
713
  setTimeout: function(e, t) {
691
714
  for (var n = [], r = 2; r < arguments.length; r++)
692
715
  n[r - 2] = arguments[r];
693
- return setTimeout.apply(void 0, ut([e, t], at(n)));
716
+ return setTimeout.apply(void 0, de([e, t], ot(n)));
694
717
  },
695
718
  clearTimeout: function(e) {
696
719
  return clearTimeout(e);
@@ -698,23 +721,23 @@ var Rr = {
698
721
  delegate: void 0
699
722
  };
700
723
  function Fr(e) {
701
- $r.setTimeout(function() {
724
+ Rr.setTimeout(function() {
702
725
  throw e;
703
726
  });
704
727
  }
705
- function $t() {
728
+ function Lt() {
706
729
  }
707
730
  function Ne(e) {
708
731
  e();
709
732
  }
710
- var _n = function(e) {
711
- Se(t, e);
733
+ var yn = function(e) {
734
+ re(t, e);
712
735
  function t(n) {
713
736
  var r = e.call(this) || this;
714
- return r.isStopped = !1, n ? (r.destination = n, yn(n) && n.add(r)) : r.destination = Gr, r;
737
+ return r.isStopped = !1, n ? (r.destination = n, gn(n) && n.add(r)) : r.destination = Gr, r;
715
738
  }
716
- return t.create = function(n, r, o) {
717
- return new ct(n, r, o);
739
+ return t.create = function(n, r, i) {
740
+ return new at(n, r, i);
718
741
  }, t.prototype.next = function(n) {
719
742
  this.isStopped || this._next(n);
720
743
  }, t.prototype.error = function(n) {
@@ -738,7 +761,11 @@ var _n = function(e) {
738
761
  this.unsubscribe();
739
762
  }
740
763
  }, t;
741
- }(Ge), Ur = function() {
764
+ }(De), $r = Function.prototype.bind;
765
+ function Ze(e, t) {
766
+ return $r.call(e, t);
767
+ }
768
+ var Ur = function() {
742
769
  function e(t) {
743
770
  this.partialObserver = t;
744
771
  }
@@ -769,18 +796,30 @@ var _n = function(e) {
769
796
  He(n);
770
797
  }
771
798
  }, e;
772
- }(), ct = function(e) {
773
- Se(t, e);
774
- function t(n, r, o) {
775
- var i = e.call(this) || this, s;
776
- return re(n) || !n ? s = {
777
- next: n != null ? n : void 0,
778
- error: r != null ? r : void 0,
779
- complete: o != null ? o : void 0
780
- } : s = n, i.destination = new Ur(s), i;
799
+ }(), at = function(e) {
800
+ re(t, e);
801
+ function t(n, r, i) {
802
+ var o = e.call(this) || this, s;
803
+ if (ne(n) || !n)
804
+ s = {
805
+ next: n != null ? n : void 0,
806
+ error: r != null ? r : void 0,
807
+ complete: i != null ? i : void 0
808
+ };
809
+ else {
810
+ var a;
811
+ o && vn.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
812
+ return o.unsubscribe();
813
+ }, s = {
814
+ next: n.next && Ze(n.next, a),
815
+ error: n.error && Ze(n.error, a),
816
+ complete: n.complete && Ze(n.complete, a)
817
+ }) : s = n;
818
+ }
819
+ return o.destination = new Ur(s), o;
781
820
  }
782
821
  return t;
783
- }(_n);
822
+ }(yn);
784
823
  function He(e) {
785
824
  Fr(e);
786
825
  }
@@ -789,9 +828,9 @@ function Dr(e) {
789
828
  }
790
829
  var Gr = {
791
830
  closed: !0,
792
- next: $t,
831
+ next: Lt,
793
832
  error: Dr,
794
- complete: $t
833
+ complete: Lt
795
834
  }, kr = function() {
796
835
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
836
  }();
@@ -800,12 +839,12 @@ function jr(e) {
800
839
  }
801
840
  function Wr(e) {
802
841
  return e.length === 0 ? jr : e.length === 1 ? e[0] : function(n) {
803
- return e.reduce(function(r, o) {
804
- return o(r);
842
+ return e.reduce(function(r, i) {
843
+ return i(r);
805
844
  }, n);
806
845
  };
807
846
  }
808
- var Ft = function() {
847
+ var Rt = function() {
809
848
  function e(t) {
810
849
  t && (this._subscribe = t);
811
850
  }
@@ -813,11 +852,11 @@ var Ft = function() {
813
852
  var n = new e();
814
853
  return n.source = this, n.operator = t, n;
815
854
  }, e.prototype.subscribe = function(t, n, r) {
816
- var o = this, i = zr(t) ? t : new ct(t, n, r);
855
+ var i = this, o = zr(t) ? t : new at(t, n, r);
817
856
  return Ne(function() {
818
- var s = o, a = s.operator, u = s.source;
819
- i.add(a ? a.call(i, u) : u ? o._subscribe(i) : o._trySubscribe(i));
820
- }), i;
857
+ var s = i, a = s.operator, u = s.source;
858
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
859
+ }), o;
821
860
  }, e.prototype._trySubscribe = function(t) {
822
861
  try {
823
862
  return this._subscribe(t);
@@ -826,17 +865,17 @@ var Ft = function() {
826
865
  }
827
866
  }, e.prototype.forEach = function(t, n) {
828
867
  var r = this;
829
- return n = Ut(n), new n(function(o, i) {
830
- var s = new ct({
868
+ return n = Ft(n), new n(function(i, o) {
869
+ var s = new at({
831
870
  next: function(a) {
832
871
  try {
833
872
  t(a);
834
873
  } catch (u) {
835
- i(u), s.unsubscribe();
874
+ o(u), s.unsubscribe();
836
875
  }
837
876
  },
838
- error: i,
839
- complete: o
877
+ error: o,
878
+ complete: i
840
879
  });
841
880
  r.subscribe(s);
842
881
  });
@@ -851,42 +890,42 @@ var Ft = function() {
851
890
  return Wr(t)(this);
852
891
  }, e.prototype.toPromise = function(t) {
853
892
  var n = this;
854
- return t = Ut(t), new t(function(r, o) {
855
- var i;
893
+ return t = Ft(t), new t(function(r, i) {
894
+ var o;
856
895
  n.subscribe(function(s) {
857
- return i = s;
896
+ return o = s;
858
897
  }, function(s) {
859
- return o(s);
898
+ return i(s);
860
899
  }, function() {
861
- return r(i);
900
+ return r(o);
862
901
  });
863
902
  });
864
903
  }, e.create = function(t) {
865
904
  return new e(t);
866
905
  }, e;
867
906
  }();
868
- function Ut(e) {
907
+ function Ft(e) {
869
908
  var t;
870
- return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
909
+ return (t = e != null ? e : vn.Promise) !== null && t !== void 0 ? t : Promise;
871
910
  }
872
911
  function Vr(e) {
873
- return e && re(e.next) && re(e.error) && re(e.complete);
912
+ return e && ne(e.next) && ne(e.error) && ne(e.complete);
874
913
  }
875
914
  function zr(e) {
876
- return e && e instanceof _n || Vr(e) && yn(e);
915
+ return e && e instanceof yn || Vr(e) && gn(e);
877
916
  }
878
- var Xr = gn(function(e) {
917
+ var Xr = mn(function(e) {
879
918
  return function() {
880
919
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
881
920
  };
882
- }), Bn = function(e) {
883
- Se(t, e);
921
+ }), _n = function(e) {
922
+ re(t, e);
884
923
  function t() {
885
924
  var n = e.call(this) || this;
886
925
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
887
926
  }
888
927
  return t.prototype.lift = function(n) {
889
- var r = new Dt(this, this);
928
+ var r = new $t(this, this);
890
929
  return r.operator = n, r;
891
930
  }, t.prototype._throwIfClosed = function() {
892
931
  if (this.closed)
@@ -894,22 +933,22 @@ var Xr = gn(function(e) {
894
933
  }, t.prototype.next = function(n) {
895
934
  var r = this;
896
935
  Ne(function() {
897
- var o, i;
936
+ var i, o;
898
937
  if (r._throwIfClosed(), !r.isStopped) {
899
938
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
900
939
  try {
901
- for (var s = st(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
940
+ for (var s = it(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
902
941
  var u = a.value;
903
942
  u.next(n);
904
943
  }
905
944
  } catch (l) {
906
- o = { error: l };
945
+ i = { error: l };
907
946
  } finally {
908
947
  try {
909
- a && !a.done && (i = s.return) && i.call(s);
948
+ a && !a.done && (o = s.return) && o.call(s);
910
949
  } finally {
911
- if (o)
912
- throw o.error;
950
+ if (i)
951
+ throw i.error;
913
952
  }
914
953
  }
915
954
  }
@@ -919,8 +958,8 @@ var Xr = gn(function(e) {
919
958
  Ne(function() {
920
959
  if (r._throwIfClosed(), !r.isStopped) {
921
960
  r.hasError = r.isStopped = !0, r.thrownError = n;
922
- for (var o = r.observers; o.length; )
923
- o.shift().error(n);
961
+ for (var i = r.observers; i.length; )
962
+ i.shift().error(n);
924
963
  }
925
964
  });
926
965
  }, t.prototype.complete = function() {
@@ -946,84 +985,84 @@ var Xr = gn(function(e) {
946
985
  }, t.prototype._subscribe = function(n) {
947
986
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
948
987
  }, t.prototype._innerSubscribe = function(n) {
949
- var r = this, o = this, i = o.hasError, s = o.isStopped, a = o.observers;
950
- return i || s ? vn : (this.currentObservers = null, a.push(n), new Ge(function() {
951
- r.currentObservers = null, lt(a, n);
988
+ var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
989
+ return o || s ? bn : (this.currentObservers = null, a.push(n), new De(function() {
990
+ r.currentObservers = null, st(a, n);
952
991
  }));
953
992
  }, t.prototype._checkFinalizedStatuses = function(n) {
954
- var r = this, o = r.hasError, i = r.thrownError, s = r.isStopped;
955
- o ? n.error(i) : s && n.complete();
993
+ var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
994
+ i ? n.error(o) : s && n.complete();
956
995
  }, t.prototype.asObservable = function() {
957
- var n = new Ft();
996
+ var n = new Rt();
958
997
  return n.source = this, n;
959
998
  }, t.create = function(n, r) {
960
- return new Dt(n, r);
999
+ return new $t(n, r);
961
1000
  }, t;
962
- }(Ft), Dt = function(e) {
963
- Se(t, e);
1001
+ }(Rt), $t = function(e) {
1002
+ re(t, e);
964
1003
  function t(n, r) {
965
- var o = e.call(this) || this;
966
- return o.destination = n, o.source = r, o;
1004
+ var i = e.call(this) || this;
1005
+ return i.destination = n, i.source = r, i;
967
1006
  }
968
1007
  return t.prototype.next = function(n) {
969
- var r, o;
970
- (o = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || o === void 0 || o.call(r, n);
1008
+ var r, i;
1009
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
971
1010
  }, t.prototype.error = function(n) {
972
- var r, o;
973
- (o = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || o === void 0 || o.call(r, n);
1011
+ var r, i;
1012
+ (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
974
1013
  }, t.prototype.complete = function() {
975
1014
  var n, r;
976
1015
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
977
1016
  }, t.prototype._subscribe = function(n) {
978
- var r, o;
979
- return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : vn;
1017
+ var r, i;
1018
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : bn;
980
1019
  }, t;
981
- }(Bn), En = {
1020
+ }(_n), Bn = {
982
1021
  now: function() {
983
- return (En.delegate || Date).now();
1022
+ return (Bn.delegate || Date).now();
984
1023
  },
985
1024
  delegate: void 0
986
1025
  }, Zr = function(e) {
987
- Se(t, e);
988
- function t(n, r, o) {
989
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), o === void 0 && (o = En);
990
- var i = e.call(this) || this;
991
- return i._bufferSize = n, i._windowTime = r, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = r === 1 / 0, i._bufferSize = Math.max(1, n), i._windowTime = Math.max(1, r), i;
1026
+ re(t, e);
1027
+ function t(n, r, i) {
1028
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = Bn);
1029
+ var o = e.call(this) || this;
1030
+ return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
992
1031
  }
993
1032
  return t.prototype.next = function(n) {
994
- var r = this, o = r.isStopped, i = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
995
- o || (i.push(n), !s && i.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
1033
+ var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, u = r._windowTime;
1034
+ i || (o.push(n), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, n);
996
1035
  }, t.prototype._subscribe = function(n) {
997
1036
  this._throwIfClosed(), this._trimBuffer();
998
- for (var r = this._innerSubscribe(n), o = this, i = o._infiniteTimeWindow, s = o._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += i ? 1 : 2)
1037
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !n.closed; u += o ? 1 : 2)
999
1038
  n.next(a[u]);
1000
1039
  return this._checkFinalizedStatuses(n), r;
1001
1040
  }, t.prototype._trimBuffer = function() {
1002
- var n = this, r = n._bufferSize, o = n._timestampProvider, i = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1003
- if (r < 1 / 0 && a < i.length && i.splice(0, i.length - a), !s) {
1004
- for (var u = o.now(), l = 0, c = 1; c < i.length && i[c] <= u; c += 2)
1041
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1042
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1043
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
1005
1044
  l = c;
1006
- l && i.splice(0, l + 1);
1045
+ l && o.splice(0, l + 1);
1007
1046
  }
1008
1047
  }, t;
1009
- }(Bn);
1010
- const Gt = [], kt = {}, qr = (e, t = 0) => {
1011
- if (Gt.indexOf(e) == -1) {
1048
+ }(_n);
1049
+ const Ut = [], Dt = {}, qr = (e, t = 0) => {
1050
+ if (Ut.indexOf(e) == -1) {
1012
1051
  const n = new Zr(t);
1013
- kt[e] = n, Gt.push(e);
1052
+ Dt[e] = n, Ut.push(e);
1014
1053
  }
1015
- return kt[e];
1054
+ return Dt[e];
1016
1055
  }, ce = [];
1017
1056
  function Qr(e, t) {
1018
1057
  return {
1019
- subscribe: ke(e, t).subscribe
1058
+ subscribe: Ge(e, t).subscribe
1020
1059
  };
1021
1060
  }
1022
- function ke(e, t = Q) {
1061
+ function Ge(e, t = Q) {
1023
1062
  let n;
1024
1063
  const r = /* @__PURE__ */ new Set();
1025
- function o(a) {
1026
- if (dn(e, a) && (e = a, n)) {
1064
+ function i(a) {
1065
+ if (hn(e, a) && (e = a, n)) {
1027
1066
  const u = !ce.length;
1028
1067
  for (const l of r)
1029
1068
  l[1](), ce.push(l, e);
@@ -1034,22 +1073,22 @@ function ke(e, t = Q) {
1034
1073
  }
1035
1074
  }
1036
1075
  }
1037
- function i(a) {
1038
- o(a(e));
1076
+ function o(a) {
1077
+ i(a(e));
1039
1078
  }
1040
1079
  function s(a, u = Q) {
1041
1080
  const l = [a, u];
1042
- return r.add(l), r.size === 1 && (n = t(o, i) || Q), a(e), () => {
1081
+ return r.add(l), r.size === 1 && (n = t(i, o) || Q), a(e), () => {
1043
1082
  r.delete(l), r.size === 0 && n && (n(), n = null);
1044
1083
  };
1045
1084
  }
1046
- return { set: o, update: i, subscribe: s };
1085
+ return { set: i, update: o, subscribe: s };
1047
1086
  }
1048
- function ge(e, t, n) {
1049
- const r = !Array.isArray(e), o = r ? [e] : e;
1050
- if (!o.every(Boolean))
1087
+ function ve(e, t, n) {
1088
+ const r = !Array.isArray(e), i = r ? [e] : e;
1089
+ if (!i.every(Boolean))
1051
1090
  throw new Error("derived() expects stores as input, got a falsy value");
1052
- const i = t.length < 2;
1091
+ const o = t.length < 2;
1053
1092
  return Qr(n, (s, a) => {
1054
1093
  let u = !1;
1055
1094
  const l = [];
@@ -1059,9 +1098,9 @@ function ge(e, t, n) {
1059
1098
  return;
1060
1099
  f();
1061
1100
  const g = t(r ? l[0] : l, s, a);
1062
- i ? s(g) : f = _t(g) ? g : Q;
1063
- }, p = o.map(
1064
- (g, b) => pn(
1101
+ o ? s(g) : f = bt(g) ? g : Q;
1102
+ }, p = i.map(
1103
+ (g, b) => fn(
1065
1104
  g,
1066
1105
  (m) => {
1067
1106
  l[b] = m, c &= ~(1 << b), u && d();
@@ -1080,225 +1119,175 @@ function Jr(e) {
1080
1119
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1081
1120
  }
1082
1121
  var Yr = function(t) {
1083
- return Kr(t) && !eo(t);
1122
+ return Kr(t) && !ei(t);
1084
1123
  };
1085
1124
  function Kr(e) {
1086
1125
  return !!e && typeof e == "object";
1087
1126
  }
1088
- function eo(e) {
1127
+ function ei(e) {
1089
1128
  var t = Object.prototype.toString.call(e);
1090
- return t === "[object RegExp]" || t === "[object Date]" || ro(e);
1129
+ return t === "[object RegExp]" || t === "[object Date]" || ri(e);
1091
1130
  }
1092
- var to = typeof Symbol == "function" && Symbol.for, no = to ? Symbol.for("react.element") : 60103;
1093
- function ro(e) {
1094
- return e.$$typeof === no;
1131
+ var ti = typeof Symbol == "function" && Symbol.for, ni = ti ? Symbol.for("react.element") : 60103;
1132
+ function ri(e) {
1133
+ return e.$$typeof === ni;
1095
1134
  }
1096
- function oo(e) {
1135
+ function ii(e) {
1097
1136
  return Array.isArray(e) ? [] : {};
1098
1137
  }
1099
- function xe(e, t) {
1100
- return t.clone !== !1 && t.isMergeableObject(e) ? de(oo(e), e, t) : e;
1138
+ function Ce(e, t) {
1139
+ return t.clone !== !1 && t.isMergeableObject(e) ? pe(ii(e), e, t) : e;
1101
1140
  }
1102
- function io(e, t, n) {
1141
+ function oi(e, t, n) {
1103
1142
  return e.concat(t).map(function(r) {
1104
- return xe(r, n);
1143
+ return Ce(r, n);
1105
1144
  });
1106
1145
  }
1107
- function so(e, t) {
1146
+ function si(e, t) {
1108
1147
  if (!t.customMerge)
1109
- return de;
1148
+ return pe;
1110
1149
  var n = t.customMerge(e);
1111
- return typeof n == "function" ? n : de;
1150
+ return typeof n == "function" ? n : pe;
1112
1151
  }
1113
- function ao(e) {
1152
+ function ai(e) {
1114
1153
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1115
1154
  return Object.propertyIsEnumerable.call(e, t);
1116
1155
  }) : [];
1117
1156
  }
1118
- function jt(e) {
1119
- return Object.keys(e).concat(ao(e));
1157
+ function Gt(e) {
1158
+ return Object.keys(e).concat(ai(e));
1120
1159
  }
1121
- function wn(e, t) {
1160
+ function En(e, t) {
1122
1161
  try {
1123
1162
  return t in e;
1124
1163
  } catch (n) {
1125
1164
  return !1;
1126
1165
  }
1127
1166
  }
1128
- function uo(e, t) {
1129
- return wn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1167
+ function ui(e, t) {
1168
+ return En(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
1169
  }
1131
- function lo(e, t, n) {
1170
+ function li(e, t, n) {
1132
1171
  var r = {};
1133
- return n.isMergeableObject(e) && jt(e).forEach(function(o) {
1134
- r[o] = xe(e[o], n);
1135
- }), jt(t).forEach(function(o) {
1136
- uo(e, o) || (wn(e, o) && n.isMergeableObject(t[o]) ? r[o] = so(o, n)(e[o], t[o], n) : r[o] = xe(t[o], n));
1172
+ return n.isMergeableObject(e) && Gt(e).forEach(function(i) {
1173
+ r[i] = Ce(e[i], n);
1174
+ }), Gt(t).forEach(function(i) {
1175
+ ui(e, i) || (En(e, i) && n.isMergeableObject(t[i]) ? r[i] = si(i, n)(e[i], t[i], n) : r[i] = Ce(t[i], n));
1137
1176
  }), r;
1138
1177
  }
1139
- function de(e, t, n) {
1140
- n = n || {}, n.arrayMerge = n.arrayMerge || io, n.isMergeableObject = n.isMergeableObject || Yr, n.cloneUnlessOtherwiseSpecified = xe;
1141
- var r = Array.isArray(t), o = Array.isArray(e), i = r === o;
1142
- return i ? r ? n.arrayMerge(e, t, n) : lo(e, t, n) : xe(t, n);
1178
+ function pe(e, t, n) {
1179
+ n = n || {}, n.arrayMerge = n.arrayMerge || oi, n.isMergeableObject = n.isMergeableObject || Yr, n.cloneUnlessOtherwiseSpecified = Ce;
1180
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1181
+ return o ? r ? n.arrayMerge(e, t, n) : li(e, t, n) : Ce(t, n);
1143
1182
  }
1144
- de.all = function(t, n) {
1183
+ pe.all = function(t, n) {
1145
1184
  if (!Array.isArray(t))
1146
1185
  throw new Error("first argument should be an array");
1147
- return t.reduce(function(r, o) {
1148
- return de(r, o, n);
1186
+ return t.reduce(function(r, i) {
1187
+ return pe(r, i, n);
1149
1188
  }, {});
1150
1189
  };
1151
- var co = de, ho = co;
1152
- const fo = /* @__PURE__ */ Jr(ho);
1153
- var ht = function(e, t) {
1154
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1155
- n.__proto__ = r;
1156
- } || function(n, r) {
1157
- for (var o in r)
1158
- Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
1159
- }, ht(e, t);
1160
- };
1161
- function je(e, t) {
1162
- if (typeof t != "function" && t !== null)
1163
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1164
- ht(e, t);
1165
- function n() {
1166
- this.constructor = e;
1167
- }
1168
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
1169
- }
1170
- var K = function() {
1171
- return K = Object.assign || function(t) {
1172
- for (var n, r = 1, o = arguments.length; r < o; r++) {
1173
- n = arguments[r];
1174
- for (var i in n)
1175
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1176
- }
1177
- return t;
1178
- }, K.apply(this, arguments);
1179
- };
1180
- function po(e, t) {
1181
- var n = {};
1182
- for (var r in e)
1183
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1184
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1185
- for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
1186
- t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
1187
- return n;
1188
- }
1189
- function Qe(e, t, n) {
1190
- if (n || arguments.length === 2)
1191
- for (var r = 0, o = t.length, i; r < o; r++)
1192
- (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
1193
- return e.concat(i || Array.prototype.slice.call(t));
1194
- }
1195
- function Je(e, t) {
1196
- var n = t && t.cache ? t.cache : Bo, r = t && t.serializer ? t.serializer : yo, o = t && t.strategy ? t.strategy : go;
1197
- return o(e, {
1190
+ var ci = pe, hi = ci;
1191
+ const fi = /* @__PURE__ */ Jr(hi);
1192
+ function qe(e, t) {
1193
+ var n = t && t.cache ? t.cache : vi, r = t && t.serializer ? t.serializer : gi, i = t && t.strategy ? t.strategy : pi;
1194
+ return i(e, {
1198
1195
  cache: n,
1199
1196
  serializer: r
1200
1197
  });
1201
1198
  }
1202
- function mo(e) {
1199
+ function di(e) {
1203
1200
  return e == null || typeof e == "number" || typeof e == "boolean";
1204
1201
  }
1205
- function bo(e, t, n, r) {
1206
- var o = mo(r) ? r : n(r), i = t.get(o);
1207
- return typeof i == "undefined" && (i = e.call(this, r), t.set(o, i)), i;
1202
+ function wn(e, t, n, r) {
1203
+ var i = di(r) ? r : n(r), o = t.get(i);
1204
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1208
1205
  }
1209
1206
  function xn(e, t, n) {
1210
- var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
1211
- return typeof i == "undefined" && (i = e.apply(this, r), t.set(o, i)), i;
1207
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1208
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1209
+ }
1210
+ function vt(e, t, n, r, i) {
1211
+ return n.bind(t, e, r, i);
1212
1212
  }
1213
- function Cn(e, t, n, r, o) {
1214
- return n.bind(t, e, r, o);
1213
+ function pi(e, t) {
1214
+ var n = e.length === 1 ? wn : xn;
1215
+ return vt(e, this, n, t.cache.create(), t.serializer);
1215
1216
  }
1216
- function go(e, t) {
1217
- var n = e.length === 1 ? bo : xn;
1218
- return Cn(e, this, n, t.cache.create(), t.serializer);
1217
+ function mi(e, t) {
1218
+ return vt(e, this, xn, t.cache.create(), t.serializer);
1219
1219
  }
1220
- function vo(e, t) {
1221
- return Cn(e, this, xn, t.cache.create(), t.serializer);
1220
+ function bi(e, t) {
1221
+ return vt(e, this, wn, t.cache.create(), t.serializer);
1222
1222
  }
1223
- var yo = function() {
1223
+ var gi = function() {
1224
1224
  return JSON.stringify(arguments);
1225
- }, _o = (
1226
- /** @class */
1227
- function() {
1228
- function e() {
1229
- this.cache = /* @__PURE__ */ Object.create(null);
1230
- }
1231
- return e.prototype.get = function(t) {
1232
- return this.cache[t];
1233
- }, e.prototype.set = function(t, n) {
1234
- this.cache[t] = n;
1235
- }, e;
1236
- }()
1237
- ), Bo = {
1225
+ };
1226
+ function yt() {
1227
+ this.cache = /* @__PURE__ */ Object.create(null);
1228
+ }
1229
+ yt.prototype.get = function(e) {
1230
+ return this.cache[e];
1231
+ };
1232
+ yt.prototype.set = function(e, t) {
1233
+ this.cache[e] = t;
1234
+ };
1235
+ var vi = {
1238
1236
  create: function() {
1239
- return new _o();
1237
+ return new yt();
1240
1238
  }
1241
- }, Ye = {
1242
- variadic: vo
1243
- }, Fe = function() {
1244
- return Fe = Object.assign || function(t) {
1245
- for (var n, r = 1, o = arguments.length; r < o; r++) {
1246
- n = arguments[r];
1247
- for (var i in n)
1248
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1249
- }
1250
- return t;
1251
- }, Fe.apply(this, arguments);
1252
- };
1253
- var C;
1239
+ }, Qe = {
1240
+ variadic: mi,
1241
+ monadic: bi
1242
+ }, C;
1254
1243
  (function(e) {
1255
1244
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1256
1245
  })(C || (C = {}));
1257
- var H;
1246
+ var I;
1258
1247
  (function(e) {
1259
1248
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1260
- })(H || (H = {}));
1261
- var pe;
1249
+ })(I || (I = {}));
1250
+ var me;
1262
1251
  (function(e) {
1263
1252
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1264
- })(pe || (pe = {}));
1265
- function Wt(e) {
1266
- return e.type === H.literal;
1253
+ })(me || (me = {}));
1254
+ function kt(e) {
1255
+ return e.type === I.literal;
1256
+ }
1257
+ function yi(e) {
1258
+ return e.type === I.argument;
1267
1259
  }
1268
- function Eo(e) {
1269
- return e.type === H.argument;
1260
+ function Cn(e) {
1261
+ return e.type === I.number;
1270
1262
  }
1271
1263
  function Sn(e) {
1272
- return e.type === H.number;
1264
+ return e.type === I.date;
1273
1265
  }
1274
1266
  function An(e) {
1275
- return e.type === H.date;
1267
+ return e.type === I.time;
1276
1268
  }
1277
1269
  function Tn(e) {
1278
- return e.type === H.time;
1279
- }
1280
- function Pn(e) {
1281
- return e.type === H.select;
1270
+ return e.type === I.select;
1282
1271
  }
1283
1272
  function Mn(e) {
1284
- return e.type === H.plural;
1273
+ return e.type === I.plural;
1285
1274
  }
1286
- function wo(e) {
1287
- return e.type === H.pound;
1275
+ function _i(e) {
1276
+ return e.type === I.pound;
1288
1277
  }
1289
- function Hn(e) {
1290
- return e.type === H.tag;
1278
+ function Pn(e) {
1279
+ return e.type === I.tag;
1291
1280
  }
1292
- function On(e) {
1293
- return !!(e && typeof e == "object" && e.type === pe.number);
1281
+ function Hn(e) {
1282
+ return !!(e && typeof e == "object" && e.type === me.number);
1294
1283
  }
1295
- function ft(e) {
1296
- return !!(e && typeof e == "object" && e.type === pe.dateTime);
1284
+ function ut(e) {
1285
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1297
1286
  }
1298
- var In = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xo = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1299
- function Co(e) {
1287
+ var In = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1288
+ function Ei(e) {
1300
1289
  var t = {};
1301
- return e.replace(xo, function(n) {
1290
+ return e.replace(Bi, function(n) {
1302
1291
  var r = n.length;
1303
1292
  switch (n[0]) {
1304
1293
  case "G":
@@ -1387,24 +1376,14 @@ function Co(e) {
1387
1376
  return "";
1388
1377
  }), t;
1389
1378
  }
1390
- var O = function() {
1391
- return O = Object.assign || function(t) {
1392
- for (var n, r = 1, o = arguments.length; r < o; r++) {
1393
- n = arguments[r];
1394
- for (var i in n)
1395
- Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
1396
- }
1397
- return t;
1398
- }, O.apply(this, arguments);
1399
- };
1400
- var So = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1401
- function Ao(e) {
1379
+ var wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1380
+ function xi(e) {
1402
1381
  if (e.length === 0)
1403
1382
  throw new Error("Number skeleton cannot be empty");
1404
- for (var t = e.split(So).filter(function(d) {
1383
+ for (var t = e.split(wi).filter(function(d) {
1405
1384
  return d.length > 0;
1406
- }), n = [], r = 0, o = t; r < o.length; r++) {
1407
- var i = o[r], s = i.split("/");
1385
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1386
+ var o = i[r], s = o.split("/");
1408
1387
  if (s.length === 0)
1409
1388
  throw new Error("Invalid number skeleton");
1410
1389
  for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
@@ -1416,17 +1395,17 @@ function Ao(e) {
1416
1395
  }
1417
1396
  return n;
1418
1397
  }
1419
- function To(e) {
1398
+ function Ci(e) {
1420
1399
  return e.replace(/^(.*?)-/, "");
1421
1400
  }
1422
- var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nn = /^(@+)?(\+|#+)?[rs]?$/g, Po = /(\*)(0+)|(#+)(0+)|(0+)/g, Ln = /^(0+)$/;
1423
- function zt(e) {
1401
+ var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, On = /^(@+)?(\+|#+)?[rs]?$/g, Si = /(\*)(0+)|(#+)(0+)|(0+)/g, Nn = /^(0+)$/;
1402
+ function Wt(e) {
1424
1403
  var t = {};
1425
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nn, function(n, r, o) {
1426
- return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
1404
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(On, function(n, r, i) {
1405
+ 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)), "";
1427
1406
  }), t;
1428
1407
  }
1429
- function Rn(e) {
1408
+ function Ln(e) {
1430
1409
  switch (e) {
1431
1410
  case "sign-auto":
1432
1411
  return {
@@ -1466,7 +1445,7 @@ function Rn(e) {
1466
1445
  };
1467
1446
  }
1468
1447
  }
1469
- function Mo(e) {
1448
+ function Ai(e) {
1470
1449
  var t;
1471
1450
  if (e[0] === "E" && e[1] === "E" ? (t = {
1472
1451
  notation: "engineering"
@@ -1474,20 +1453,20 @@ function Mo(e) {
1474
1453
  notation: "scientific"
1475
1454
  }, e = e.slice(1)), t) {
1476
1455
  var n = e.slice(0, 2);
1477
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ln.test(e))
1456
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nn.test(e))
1478
1457
  throw new Error("Malformed concise eng/scientific notation");
1479
1458
  t.minimumIntegerDigits = e.length;
1480
1459
  }
1481
1460
  return t;
1482
1461
  }
1483
- function Xt(e) {
1484
- var t = {}, n = Rn(e);
1462
+ function Vt(e) {
1463
+ var t = {}, n = Ln(e);
1485
1464
  return n || t;
1486
1465
  }
1487
- function Ho(e) {
1466
+ function Ti(e) {
1488
1467
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1489
- var o = r[n];
1490
- switch (o.stem) {
1468
+ var i = r[n];
1469
+ switch (i.stem) {
1491
1470
  case "percent":
1492
1471
  case "%":
1493
1472
  t.style = "percent";
@@ -1496,7 +1475,7 @@ function Ho(e) {
1496
1475
  t.style = "percent", t.scale = 100;
1497
1476
  continue;
1498
1477
  case "currency":
1499
- t.style = "currency", t.currency = o.options[0];
1478
+ t.style = "currency", t.currency = i.options[0];
1500
1479
  continue;
1501
1480
  case "group-off":
1502
1481
  case ",_":
@@ -1508,7 +1487,7 @@ function Ho(e) {
1508
1487
  continue;
1509
1488
  case "measure-unit":
1510
1489
  case "unit":
1511
- t.style = "unit", t.unit = To(o.options[0]);
1490
+ t.style = "unit", t.unit = Ci(i.options[0]);
1512
1491
  continue;
1513
1492
  case "compact-short":
1514
1493
  case "K":
@@ -1519,13 +1498,13 @@ function Ho(e) {
1519
1498
  t.notation = "compact", t.compactDisplay = "long";
1520
1499
  continue;
1521
1500
  case "scientific":
1522
- t = O(O(O({}, t), { notation: "scientific" }), o.options.reduce(function(u, l) {
1523
- return O(O({}, u), Xt(l));
1501
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1502
+ return A(A({}, u), Vt(l));
1524
1503
  }, {}));
1525
1504
  continue;
1526
1505
  case "engineering":
1527
- t = O(O(O({}, t), { notation: "engineering" }), o.options.reduce(function(u, l) {
1528
- return O(O({}, u), Xt(l));
1506
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1507
+ return A(A({}, u), Vt(l));
1529
1508
  }, {}));
1530
1509
  continue;
1531
1510
  case "notation-simple":
@@ -1544,7 +1523,7 @@ function Ho(e) {
1544
1523
  t.currencyDisplay = "symbol";
1545
1524
  continue;
1546
1525
  case "scale":
1547
- t.scale = parseFloat(o.options[0]);
1526
+ t.scale = parseFloat(i.options[0]);
1548
1527
  continue;
1549
1528
  case "rounding-mode-floor":
1550
1529
  t.roundingMode = "floor";
@@ -1568,9 +1547,9 @@ function Ho(e) {
1568
1547
  t.roundingMode = "halfExpand";
1569
1548
  continue;
1570
1549
  case "integer-width":
1571
- if (o.options.length > 1)
1550
+ if (i.options.length > 1)
1572
1551
  throw new RangeError("integer-width stems only accept a single optional option");
1573
- o.options[0].replace(Po, function(u, l, c, f, d, p) {
1552
+ i.options[0].replace(Si, function(u, l, c, f, d, p) {
1574
1553
  if (l)
1575
1554
  t.minimumIntegerDigits = c.length;
1576
1555
  else {
@@ -1583,32 +1562,32 @@ function Ho(e) {
1583
1562
  });
1584
1563
  continue;
1585
1564
  }
1586
- if (Ln.test(o.stem)) {
1587
- t.minimumIntegerDigits = o.stem.length;
1565
+ if (Nn.test(i.stem)) {
1566
+ t.minimumIntegerDigits = i.stem.length;
1588
1567
  continue;
1589
1568
  }
1590
- if (Vt.test(o.stem)) {
1591
- if (o.options.length > 1)
1569
+ if (jt.test(i.stem)) {
1570
+ if (i.options.length > 1)
1592
1571
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1593
- o.stem.replace(Vt, function(u, l, c, f, d, p) {
1572
+ i.stem.replace(jt, function(u, l, c, f, d, p) {
1594
1573
  return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && p ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1595
1574
  });
1596
- var i = o.options[0];
1597
- i === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = O(O({}, t), zt(i)));
1575
+ var o = i.options[0];
1576
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Wt(o)));
1598
1577
  continue;
1599
1578
  }
1600
- if (Nn.test(o.stem)) {
1601
- t = O(O({}, t), zt(o.stem));
1579
+ if (On.test(i.stem)) {
1580
+ t = A(A({}, t), Wt(i.stem));
1602
1581
  continue;
1603
1582
  }
1604
- var s = Rn(o.stem);
1605
- s && (t = O(O({}, t), s));
1606
- var a = Mo(o.stem);
1607
- a && (t = O(O({}, t), a));
1583
+ var s = Ln(i.stem);
1584
+ s && (t = A(A({}, t), s));
1585
+ var a = Ai(i.stem);
1586
+ a && (t = A(A({}, t), a));
1608
1587
  }
1609
1588
  return t;
1610
1589
  }
1611
- var Oe = {
1590
+ var Ie = {
1612
1591
  "001": [
1613
1592
  "H",
1614
1593
  "h"
@@ -3023,23 +3002,23 @@ var Oe = {
3023
3002
  "h"
3024
3003
  ]
3025
3004
  };
3026
- function Oo(e, t) {
3005
+ function Mi(e, t) {
3027
3006
  for (var n = "", r = 0; r < e.length; r++) {
3028
- var o = e.charAt(r);
3029
- if (o === "j") {
3030
- for (var i = 0; r + 1 < e.length && e.charAt(r + 1) === o; )
3031
- i++, r++;
3032
- var s = 1 + (i & 1), a = i < 2 ? 1 : 3 + (i >> 1), u = "a", l = Io(t);
3007
+ var i = e.charAt(r);
3008
+ if (i === "j") {
3009
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3010
+ o++, r++;
3011
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Pi(t);
3033
3012
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3034
3013
  n += u;
3035
3014
  for (; s-- > 0; )
3036
3015
  n = l + n;
3037
3016
  } else
3038
- o === "J" ? n += "H" : n += o;
3017
+ i === "J" ? n += "H" : n += i;
3039
3018
  }
3040
3019
  return n;
3041
3020
  }
3042
- function Io(e) {
3021
+ function Pi(e) {
3043
3022
  var t = e.hourCycle;
3044
3023
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3045
3024
  e.hourCycles && // @ts-ignore
@@ -3058,23 +3037,23 @@ function Io(e) {
3058
3037
  }
3059
3038
  var n = e.language, r;
3060
3039
  n !== "root" && (r = e.maximize().region);
3061
- var o = Oe[r || ""] || Oe[n || ""] || Oe["".concat(n, "-001")] || Oe["001"];
3062
- return o[0];
3040
+ var i = Ie[r || ""] || Ie[n || ""] || Ie["".concat(n, "-001")] || Ie["001"];
3041
+ return i[0];
3063
3042
  }
3064
- var Ke, No = new RegExp("^".concat(In.source, "*")), Lo = new RegExp("".concat(In.source, "*$"));
3043
+ var Je, Hi = new RegExp("^".concat(In.source, "*")), Ii = new RegExp("".concat(In.source, "*$"));
3065
3044
  function S(e, t) {
3066
3045
  return { start: e, end: t };
3067
3046
  }
3068
- var Ro = !!String.prototype.startsWith && "_a".startsWith("a", 1), $o = !!String.fromCodePoint, Fo = !!Object.fromEntries, Uo = !!String.prototype.codePointAt, Do = !!String.prototype.trimStart, Go = !!String.prototype.trimEnd, ko = !!Number.isSafeInteger, jo = ko ? Number.isSafeInteger : function(e) {
3047
+ var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Li = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Di = Ui ? Number.isSafeInteger : function(e) {
3069
3048
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3070
- }, dt = !0;
3049
+ }, lt = !0;
3071
3050
  try {
3072
- var Wo = Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3073
- dt = ((Ke = Wo.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3051
+ var Gi = Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3052
+ lt = ((Je = Gi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3074
3053
  } catch (e) {
3075
- dt = !1;
3054
+ lt = !1;
3076
3055
  }
3077
- var Zt = Ro ? (
3056
+ var zt = Oi ? (
3078
3057
  // Native
3079
3058
  function(t, n, r) {
3080
3059
  return t.startsWith(n, r);
@@ -3084,31 +3063,31 @@ var Zt = Ro ? (
3084
3063
  function(t, n, r) {
3085
3064
  return t.slice(r, r + n.length) === n;
3086
3065
  }
3087
- ), pt = $o ? String.fromCodePoint : (
3066
+ ), ct = Ni ? String.fromCodePoint : (
3088
3067
  // IE11
3089
3068
  function() {
3090
3069
  for (var t = [], n = 0; n < arguments.length; n++)
3091
3070
  t[n] = arguments[n];
3092
- for (var r = "", o = t.length, i = 0, s; o > i; ) {
3093
- if (s = t[i++], s > 1114111)
3071
+ for (var r = "", i = t.length, o = 0, s; i > o; ) {
3072
+ if (s = t[o++], s > 1114111)
3094
3073
  throw RangeError(s + " is not a valid code point");
3095
3074
  r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3096
3075
  }
3097
3076
  return r;
3098
3077
  }
3099
- ), qt = (
3078
+ ), Xt = (
3100
3079
  // native
3101
- Fo ? Object.fromEntries : (
3080
+ Li ? Object.fromEntries : (
3102
3081
  // Ponyfill
3103
3082
  function(t) {
3104
- for (var n = {}, r = 0, o = t; r < o.length; r++) {
3105
- var i = o[r], s = i[0], a = i[1];
3083
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
3084
+ var o = i[r], s = o[0], a = o[1];
3106
3085
  n[s] = a;
3107
3086
  }
3108
3087
  return n;
3109
3088
  }
3110
3089
  )
3111
- ), $n = Uo ? (
3090
+ ), Rn = Ri ? (
3112
3091
  // Native
3113
3092
  function(t, n) {
3114
3093
  return t.codePointAt(n);
@@ -3118,11 +3097,11 @@ var Zt = Ro ? (
3118
3097
  function(t, n) {
3119
3098
  var r = t.length;
3120
3099
  if (!(n < 0 || n >= r)) {
3121
- var o = t.charCodeAt(n), i;
3122
- return o < 55296 || o > 56319 || n + 1 === r || (i = t.charCodeAt(n + 1)) < 56320 || i > 57343 ? o : (o - 55296 << 10) + (i - 56320) + 65536;
3100
+ var i = t.charCodeAt(n), o;
3101
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3123
3102
  }
3124
3103
  }
3125
- ), Vo = Do ? (
3104
+ ), ki = Fi ? (
3126
3105
  // Native
3127
3106
  function(t) {
3128
3107
  return t.trimStart();
@@ -3130,9 +3109,9 @@ var Zt = Ro ? (
3130
3109
  ) : (
3131
3110
  // Ponyfill
3132
3111
  function(t) {
3133
- return t.replace(No, "");
3112
+ return t.replace(Hi, "");
3134
3113
  }
3135
- ), zo = Go ? (
3114
+ ), ji = $i ? (
3136
3115
  // Native
3137
3116
  function(t) {
3138
3117
  return t.trimEnd();
@@ -3140,32 +3119,32 @@ var Zt = Ro ? (
3140
3119
  ) : (
3141
3120
  // Ponyfill
3142
3121
  function(t) {
3143
- return t.replace(Lo, "");
3122
+ return t.replace(Ii, "");
3144
3123
  }
3145
3124
  );
3146
3125
  function Fn(e, t) {
3147
3126
  return new RegExp(e, t);
3148
3127
  }
3149
- var mt;
3150
- if (dt) {
3151
- var Qt = Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3152
- mt = function(t, n) {
3128
+ var ht;
3129
+ if (lt) {
3130
+ var Zt = Fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3131
+ ht = function(t, n) {
3153
3132
  var r;
3154
- Qt.lastIndex = n;
3155
- var o = Qt.exec(t);
3156
- return (r = o[1]) !== null && r !== void 0 ? r : "";
3133
+ Zt.lastIndex = n;
3134
+ var i = Zt.exec(t);
3135
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
3157
3136
  };
3158
3137
  } else
3159
- mt = function(t, n) {
3138
+ ht = function(t, n) {
3160
3139
  for (var r = []; ; ) {
3161
- var o = $n(t, n);
3162
- if (o === void 0 || Un(o) || Qo(o))
3140
+ var i = Rn(t, n);
3141
+ if (i === void 0 || $n(i) || Xi(i))
3163
3142
  break;
3164
- r.push(o), n += o >= 65536 ? 2 : 1;
3143
+ r.push(i), n += i >= 65536 ? 2 : 1;
3165
3144
  }
3166
- return pt.apply(void 0, r);
3145
+ return ct.apply(void 0, r);
3167
3146
  };
3168
- var Xo = (
3147
+ var Wi = (
3169
3148
  /** @class */
3170
3149
  function() {
3171
3150
  function e(t, n) {
@@ -3176,66 +3155,66 @@ var Xo = (
3176
3155
  throw Error("parser can only be used once");
3177
3156
  return this.parseMessage(0, "", !1);
3178
3157
  }, e.prototype.parseMessage = function(t, n, r) {
3179
- for (var o = []; !this.isEOF(); ) {
3180
- var i = this.char();
3181
- if (i === 123) {
3158
+ for (var i = []; !this.isEOF(); ) {
3159
+ var o = this.char();
3160
+ if (o === 123) {
3182
3161
  var s = this.parseArgument(t, r);
3183
3162
  if (s.err)
3184
3163
  return s;
3185
- o.push(s.val);
3164
+ i.push(s.val);
3186
3165
  } else {
3187
- if (i === 125 && t > 0)
3166
+ if (o === 125 && t > 0)
3188
3167
  break;
3189
- if (i === 35 && (n === "plural" || n === "selectordinal")) {
3168
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
3190
3169
  var a = this.clonePosition();
3191
- this.bump(), o.push({
3192
- type: H.pound,
3170
+ this.bump(), i.push({
3171
+ type: I.pound,
3193
3172
  location: S(a, this.clonePosition())
3194
3173
  });
3195
- } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
3174
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3196
3175
  if (r)
3197
3176
  break;
3198
3177
  return this.error(C.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
3199
- } else if (i === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
3178
+ } else if (o === 60 && !this.ignoreTag && ft(this.peek() || 0)) {
3200
3179
  var s = this.parseTag(t, n);
3201
3180
  if (s.err)
3202
3181
  return s;
3203
- o.push(s.val);
3182
+ i.push(s.val);
3204
3183
  } else {
3205
3184
  var s = this.parseLiteral(t, n);
3206
3185
  if (s.err)
3207
3186
  return s;
3208
- o.push(s.val);
3187
+ i.push(s.val);
3209
3188
  }
3210
3189
  }
3211
3190
  }
3212
- return { val: o, err: null };
3191
+ return { val: i, err: null };
3213
3192
  }, e.prototype.parseTag = function(t, n) {
3214
3193
  var r = this.clonePosition();
3215
3194
  this.bump();
3216
- var o = this.parseTagName();
3195
+ var i = this.parseTagName();
3217
3196
  if (this.bumpSpace(), this.bumpIf("/>"))
3218
3197
  return {
3219
3198
  val: {
3220
- type: H.literal,
3221
- value: "<".concat(o, "/>"),
3199
+ type: I.literal,
3200
+ value: "<".concat(i, "/>"),
3222
3201
  location: S(r, this.clonePosition())
3223
3202
  },
3224
3203
  err: null
3225
3204
  };
3226
3205
  if (this.bumpIf(">")) {
3227
- var i = this.parseMessage(t + 1, n, !0);
3228
- if (i.err)
3229
- return i;
3230
- var s = i.val, a = this.clonePosition();
3206
+ var o = this.parseMessage(t + 1, n, !0);
3207
+ if (o.err)
3208
+ return o;
3209
+ var s = o.val, a = this.clonePosition();
3231
3210
  if (this.bumpIf("</")) {
3232
- if (this.isEOF() || !bt(this.char()))
3211
+ if (this.isEOF() || !ft(this.char()))
3233
3212
  return this.error(C.INVALID_TAG, S(a, this.clonePosition()));
3234
3213
  var u = this.clonePosition(), l = this.parseTagName();
3235
- return o !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3214
+ return i !== l ? this.error(C.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3236
3215
  val: {
3237
- type: H.tag,
3238
- value: o,
3216
+ type: I.tag,
3217
+ value: i,
3239
3218
  children: s,
3240
3219
  location: S(r, this.clonePosition())
3241
3220
  },
@@ -3247,36 +3226,36 @@ var Xo = (
3247
3226
  return this.error(C.INVALID_TAG, S(r, this.clonePosition()));
3248
3227
  }, e.prototype.parseTagName = function() {
3249
3228
  var t = this.offset();
3250
- for (this.bump(); !this.isEOF() && qo(this.char()); )
3229
+ for (this.bump(); !this.isEOF() && zi(this.char()); )
3251
3230
  this.bump();
3252
3231
  return this.message.slice(t, this.offset());
3253
3232
  }, e.prototype.parseLiteral = function(t, n) {
3254
- for (var r = this.clonePosition(), o = ""; ; ) {
3255
- var i = this.tryParseQuote(n);
3256
- if (i) {
3257
- o += i;
3233
+ for (var r = this.clonePosition(), i = ""; ; ) {
3234
+ var o = this.tryParseQuote(n);
3235
+ if (o) {
3236
+ i += o;
3258
3237
  continue;
3259
3238
  }
3260
3239
  var s = this.tryParseUnquoted(t, n);
3261
3240
  if (s) {
3262
- o += s;
3241
+ i += s;
3263
3242
  continue;
3264
3243
  }
3265
3244
  var a = this.tryParseLeftAngleBracket();
3266
3245
  if (a) {
3267
- o += a;
3246
+ i += a;
3268
3247
  continue;
3269
3248
  }
3270
3249
  break;
3271
3250
  }
3272
3251
  var u = S(r, this.clonePosition());
3273
3252
  return {
3274
- val: { type: H.literal, value: o, location: u },
3253
+ val: { type: I.literal, value: i, location: u },
3275
3254
  err: null
3276
3255
  };
3277
3256
  }, e.prototype.tryParseLeftAngleBracket = function() {
3278
3257
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3279
- !Zo(this.peek() || 0)) ? (this.bump(), "<") : null;
3258
+ !Vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3280
3259
  }, e.prototype.tryParseQuote = function(t) {
3281
3260
  if (this.isEOF() || this.char() !== 39)
3282
3261
  return null;
@@ -3310,20 +3289,20 @@ var Xo = (
3310
3289
  n.push(r);
3311
3290
  this.bump();
3312
3291
  }
3313
- return pt.apply(void 0, n);
3292
+ return ct.apply(void 0, n);
3314
3293
  }, e.prototype.tryParseUnquoted = function(t, n) {
3315
3294
  if (this.isEOF())
3316
3295
  return null;
3317
3296
  var r = this.char();
3318
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), pt(r));
3297
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), ct(r));
3319
3298
  }, e.prototype.parseArgument = function(t, n) {
3320
3299
  var r = this.clonePosition();
3321
3300
  if (this.bump(), this.bumpSpace(), this.isEOF())
3322
3301
  return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
3323
3302
  if (this.char() === 125)
3324
3303
  return this.bump(), this.error(C.EMPTY_ARGUMENT, S(r, this.clonePosition()));
3325
- var o = this.parseIdentifierIfPossible().value;
3326
- if (!o)
3304
+ var i = this.parseIdentifierIfPossible().value;
3305
+ if (!i)
3327
3306
  return this.error(C.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3328
3307
  if (this.bumpSpace(), this.isEOF())
3329
3308
  return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition()));
@@ -3331,25 +3310,25 @@ var Xo = (
3331
3310
  case 125:
3332
3311
  return this.bump(), {
3333
3312
  val: {
3334
- type: H.argument,
3313
+ type: I.argument,
3335
3314
  // value does not include the opening and closing braces.
3336
- value: o,
3315
+ value: i,
3337
3316
  location: S(r, this.clonePosition())
3338
3317
  },
3339
3318
  err: null
3340
3319
  };
3341
3320
  case 44:
3342
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition())) : this.parseArgumentOptions(t, n, o, r);
3321
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE, S(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3343
3322
  default:
3344
3323
  return this.error(C.MALFORMED_ARGUMENT, S(r, this.clonePosition()));
3345
3324
  }
3346
3325
  }, e.prototype.parseIdentifierIfPossible = function() {
3347
- var t = this.clonePosition(), n = this.offset(), r = mt(this.message, n), o = n + r.length;
3348
- this.bumpTo(o);
3349
- var i = this.clonePosition(), s = S(t, i);
3326
+ var t = this.clonePosition(), n = this.offset(), r = ht(this.message, n), i = n + r.length;
3327
+ this.bumpTo(i);
3328
+ var o = this.clonePosition(), s = S(t, o);
3350
3329
  return { value: r, location: s };
3351
- }, e.prototype.parseArgumentOptions = function(t, n, r, o) {
3352
- var i, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3330
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3331
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3353
3332
  switch (a) {
3354
3333
  case "":
3355
3334
  return this.error(C.EXPECT_ARGUMENT_TYPE, S(s, u));
@@ -3363,35 +3342,35 @@ var Xo = (
3363
3342
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3364
3343
  if (f.err)
3365
3344
  return f;
3366
- var d = zo(f.val);
3345
+ var d = ji(f.val);
3367
3346
  if (d.length === 0)
3368
3347
  return this.error(C.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3369
3348
  var p = S(c, this.clonePosition());
3370
3349
  l = { style: d, styleLocation: p };
3371
3350
  }
3372
- var g = this.tryParseArgumentClose(o);
3351
+ var g = this.tryParseArgumentClose(i);
3373
3352
  if (g.err)
3374
3353
  return g;
3375
- var b = S(o, this.clonePosition());
3376
- if (l && Zt(l == null ? void 0 : l.style, "::", 0)) {
3377
- var m = Vo(l.style.slice(2));
3354
+ var b = S(i, this.clonePosition());
3355
+ if (l && zt(l == null ? void 0 : l.style, "::", 0)) {
3356
+ var m = ki(l.style.slice(2));
3378
3357
  if (a === "number") {
3379
3358
  var f = this.parseNumberSkeletonFromString(m, l.styleLocation);
3380
3359
  return f.err ? f : {
3381
- val: { type: H.number, value: r, location: b, style: f.val },
3360
+ val: { type: I.number, value: r, location: b, style: f.val },
3382
3361
  err: null
3383
3362
  };
3384
3363
  } else {
3385
3364
  if (m.length === 0)
3386
3365
  return this.error(C.EXPECT_DATE_TIME_SKELETON, b);
3387
3366
  var v = m;
3388
- this.locale && (v = Oo(m, this.locale));
3367
+ this.locale && (v = Mi(m, this.locale));
3389
3368
  var d = {
3390
- type: pe.dateTime,
3369
+ type: me.dateTime,
3391
3370
  pattern: v,
3392
3371
  location: l.styleLocation,
3393
- parsedOptions: this.shouldParseSkeletons ? Co(v) : {}
3394
- }, _ = a === "date" ? H.date : H.time;
3372
+ parsedOptions: this.shouldParseSkeletons ? Ei(v) : {}
3373
+ }, _ = a === "date" ? I.date : I.time;
3395
3374
  return {
3396
3375
  val: { type: _, value: r, location: b, style: d },
3397
3376
  err: null
@@ -3400,10 +3379,10 @@ var Xo = (
3400
3379
  }
3401
3380
  return {
3402
3381
  val: {
3403
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3382
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
3404
3383
  value: r,
3405
3384
  location: b,
3406
- style: (i = l == null ? void 0 : l.style) !== null && i !== void 0 ? i : null
3385
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3407
3386
  },
3408
3387
  err: null
3409
3388
  };
@@ -3413,9 +3392,9 @@ var Xo = (
3413
3392
  case "select": {
3414
3393
  var B = this.clonePosition();
3415
3394
  if (this.bumpSpace(), !this.bumpIf(","))
3416
- return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, Fe({}, B)));
3395
+ return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, A({}, B)));
3417
3396
  this.bumpSpace();
3418
- var N = this.parseIdentifierIfPossible(), T = 0;
3397
+ var N = this.parseIdentifierIfPossible(), M = 0;
3419
3398
  if (a !== "select" && N.value === "offset") {
3420
3399
  if (!this.bumpIf(":"))
3421
3400
  return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
@@ -3423,31 +3402,31 @@ var Xo = (
3423
3402
  var f = this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3424
3403
  if (f.err)
3425
3404
  return f;
3426
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
3405
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), M = f.val;
3427
3406
  }
3428
3407
  var x = this.tryParsePluralOrSelectOptions(t, a, n, N);
3429
3408
  if (x.err)
3430
3409
  return x;
3431
- var g = this.tryParseArgumentClose(o);
3410
+ var g = this.tryParseArgumentClose(i);
3432
3411
  if (g.err)
3433
3412
  return g;
3434
- var I = S(o, this.clonePosition());
3413
+ var O = S(i, this.clonePosition());
3435
3414
  return a === "select" ? {
3436
3415
  val: {
3437
- type: H.select,
3416
+ type: I.select,
3438
3417
  value: r,
3439
- options: qt(x.val),
3440
- location: I
3418
+ options: Xt(x.val),
3419
+ location: O
3441
3420
  },
3442
3421
  err: null
3443
3422
  } : {
3444
3423
  val: {
3445
- type: H.plural,
3424
+ type: I.plural,
3446
3425
  value: r,
3447
- options: qt(x.val),
3448
- offset: T,
3426
+ options: Xt(x.val),
3427
+ offset: M,
3449
3428
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3450
- location: I
3429
+ location: O
3451
3430
  },
3452
3431
  err: null
3453
3432
  };
@@ -3463,9 +3442,9 @@ var Xo = (
3463
3442
  switch (r) {
3464
3443
  case 39: {
3465
3444
  this.bump();
3466
- var o = this.clonePosition();
3445
+ var i = this.clonePosition();
3467
3446
  if (!this.bumpUntil("'"))
3468
- return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(o, this.clonePosition()));
3447
+ return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3469
3448
  this.bump();
3470
3449
  break;
3471
3450
  }
@@ -3495,21 +3474,21 @@ var Xo = (
3495
3474
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3496
3475
  var r = [];
3497
3476
  try {
3498
- r = Ao(t);
3499
- } catch (o) {
3477
+ r = xi(t);
3478
+ } catch (i) {
3500
3479
  return this.error(C.INVALID_NUMBER_SKELETON, n);
3501
3480
  }
3502
3481
  return {
3503
3482
  val: {
3504
- type: pe.number,
3483
+ type: me.number,
3505
3484
  tokens: r,
3506
3485
  location: n,
3507
- parsedOptions: this.shouldParseSkeletons ? Ho(r) : {}
3486
+ parsedOptions: this.shouldParseSkeletons ? Ti(r) : {}
3508
3487
  },
3509
3488
  err: null
3510
3489
  };
3511
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, o) {
3512
- for (var i, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = o.value, c = o.location; ; ) {
3490
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3491
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3513
3492
  if (l.length === 0) {
3514
3493
  var f = this.clonePosition();
3515
3494
  if (n !== "select" && this.bumpIf("=")) {
@@ -3538,21 +3517,21 @@ var Xo = (
3538
3517
  value: g.val,
3539
3518
  location: S(p, this.clonePosition())
3540
3519
  }
3541
- ]), u.add(l), this.bumpSpace(), i = this.parseIdentifierIfPossible(), l = i.value, c = i.location;
3520
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3542
3521
  }
3543
3522
  return a.length === 0 ? this.error(n === "select" ? C.EXPECT_SELECT_ARGUMENT_SELECTOR : C.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(C.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3544
3523
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3545
- var r = 1, o = this.clonePosition();
3524
+ var r = 1, i = this.clonePosition();
3546
3525
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3547
- for (var i = !1, s = 0; !this.isEOF(); ) {
3526
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3548
3527
  var a = this.char();
3549
3528
  if (a >= 48 && a <= 57)
3550
- i = !0, s = s * 10 + (a - 48), this.bump();
3529
+ o = !0, s = s * 10 + (a - 48), this.bump();
3551
3530
  else
3552
3531
  break;
3553
3532
  }
3554
- var u = S(o, this.clonePosition());
3555
- return i ? (s *= r, jo(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3533
+ var u = S(i, this.clonePosition());
3534
+ return o ? (s *= r, Di(s) ? { val: s, err: null } : this.error(n, u)) : this.error(t, u);
3556
3535
  }, e.prototype.offset = function() {
3557
3536
  return this.position.offset;
3558
3537
  }, e.prototype.isEOF = function() {
@@ -3567,7 +3546,7 @@ var Xo = (
3567
3546
  var t = this.position.offset;
3568
3547
  if (t >= this.message.length)
3569
3548
  throw Error("out of bound");
3570
- var n = $n(this.message, t);
3549
+ var n = Rn(this.message, t);
3571
3550
  if (n === void 0)
3572
3551
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3573
3552
  return n;
@@ -3586,7 +3565,7 @@ var Xo = (
3586
3565
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3587
3566
  }
3588
3567
  }, e.prototype.bumpIf = function(t) {
3589
- if (Zt(this.message, t, this.offset())) {
3568
+ if (zt(this.message, t, this.offset())) {
3590
3569
  for (var n = 0; n < t.length; n++)
3591
3570
  this.bump();
3592
3571
  return !0;
@@ -3608,7 +3587,7 @@ var Xo = (
3608
3587
  break;
3609
3588
  }
3610
3589
  }, e.prototype.bumpSpace = function() {
3611
- for (; !this.isEOF() && Un(this.char()); )
3590
+ for (; !this.isEOF() && $n(this.char()); )
3612
3591
  this.bump();
3613
3592
  }, e.prototype.peek = function() {
3614
3593
  if (this.isEOF())
@@ -3618,97 +3597,97 @@ var Xo = (
3618
3597
  }, e;
3619
3598
  }()
3620
3599
  );
3621
- function bt(e) {
3600
+ function ft(e) {
3622
3601
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3623
3602
  }
3624
- function Zo(e) {
3625
- return bt(e) || e === 47;
3603
+ function Vi(e) {
3604
+ return ft(e) || e === 47;
3626
3605
  }
3627
- function qo(e) {
3606
+ function zi(e) {
3628
3607
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3629
3608
  }
3630
- function Un(e) {
3609
+ function $n(e) {
3631
3610
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3632
3611
  }
3633
- function Qo(e) {
3612
+ function Xi(e) {
3634
3613
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3635
3614
  }
3636
- function gt(e) {
3615
+ function dt(e) {
3637
3616
  e.forEach(function(t) {
3638
- if (delete t.location, Pn(t) || Mn(t))
3617
+ if (delete t.location, Tn(t) || Mn(t))
3639
3618
  for (var n in t.options)
3640
- delete t.options[n].location, gt(t.options[n].value);
3619
+ delete t.options[n].location, dt(t.options[n].value);
3641
3620
  else
3642
- Sn(t) && On(t.style) || (An(t) || Tn(t)) && ft(t.style) ? delete t.style.location : Hn(t) && gt(t.children);
3621
+ Cn(t) && Hn(t.style) || (Sn(t) || An(t)) && ut(t.style) ? delete t.style.location : Pn(t) && dt(t.children);
3643
3622
  });
3644
3623
  }
3645
- function Jo(e, t) {
3646
- t === void 0 && (t = {}), t = Fe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3647
- var n = new Xo(e, t).parse();
3624
+ function Zi(e, t) {
3625
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3626
+ var n = new Wi(e, t).parse();
3648
3627
  if (n.err) {
3649
3628
  var r = SyntaxError(C[n.err.kind]);
3650
3629
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3651
3630
  }
3652
- return t != null && t.captureLocation || gt(n.val), n.val;
3631
+ return t != null && t.captureLocation || dt(n.val), n.val;
3653
3632
  }
3654
- var me;
3633
+ var be;
3655
3634
  (function(e) {
3656
3635
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3657
- })(me || (me = {}));
3658
- var We = (
3636
+ })(be || (be = {}));
3637
+ var ke = (
3659
3638
  /** @class */
3660
3639
  function(e) {
3661
- je(t, e);
3662
- function t(n, r, o) {
3663
- var i = e.call(this, n) || this;
3664
- return i.code = r, i.originalMessage = o, i;
3640
+ re(t, e);
3641
+ function t(n, r, i) {
3642
+ var o = e.call(this, n) || this;
3643
+ return o.code = r, o.originalMessage = i, o;
3665
3644
  }
3666
3645
  return t.prototype.toString = function() {
3667
3646
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3668
3647
  }, t;
3669
3648
  }(Error)
3670
- ), Jt = (
3649
+ ), qt = (
3671
3650
  /** @class */
3672
3651
  function(e) {
3673
- je(t, e);
3674
- function t(n, r, o, i) {
3675
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(o).join('", "'), '"'), me.INVALID_VALUE, i) || this;
3652
+ re(t, e);
3653
+ function t(n, r, i, o) {
3654
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
3676
3655
  }
3677
3656
  return t;
3678
- }(We)
3679
- ), Yo = (
3657
+ }(ke)
3658
+ ), qi = (
3680
3659
  /** @class */
3681
3660
  function(e) {
3682
- je(t, e);
3683
- function t(n, r, o) {
3684
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), me.INVALID_VALUE, o) || this;
3661
+ re(t, e);
3662
+ function t(n, r, i) {
3663
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), be.INVALID_VALUE, i) || this;
3685
3664
  }
3686
3665
  return t;
3687
- }(We)
3688
- ), Ko = (
3666
+ }(ke)
3667
+ ), Qi = (
3689
3668
  /** @class */
3690
3669
  function(e) {
3691
- je(t, e);
3670
+ re(t, e);
3692
3671
  function t(n, r) {
3693
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), me.MISSING_VALUE, r) || this;
3672
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), be.MISSING_VALUE, r) || this;
3694
3673
  }
3695
3674
  return t;
3696
- }(We)
3675
+ }(ke)
3697
3676
  ), k;
3698
3677
  (function(e) {
3699
3678
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3700
3679
  })(k || (k = {}));
3701
- function ei(e) {
3680
+ function Ji(e) {
3702
3681
  return e.length < 2 ? e : e.reduce(function(t, n) {
3703
3682
  var r = t[t.length - 1];
3704
3683
  return !r || r.type !== k.literal || n.type !== k.literal ? t.push(n) : r.value += n.value, t;
3705
3684
  }, []);
3706
3685
  }
3707
- function ti(e) {
3686
+ function Yi(e) {
3708
3687
  return typeof e == "function";
3709
3688
  }
3710
- function Le(e, t, n, r, o, i, s) {
3711
- if (e.length === 1 && Wt(e[0]))
3689
+ function Le(e, t, n, r, i, o, s) {
3690
+ if (e.length === 1 && kt(e[0]))
3712
3691
  return [
3713
3692
  {
3714
3693
  type: k.literal,
@@ -3717,105 +3696,105 @@ function Le(e, t, n, r, o, i, s) {
3717
3696
  ];
3718
3697
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3719
3698
  var c = l[u];
3720
- if (Wt(c)) {
3699
+ if (kt(c)) {
3721
3700
  a.push({
3722
3701
  type: k.literal,
3723
3702
  value: c.value
3724
3703
  });
3725
3704
  continue;
3726
3705
  }
3727
- if (wo(c)) {
3728
- typeof i == "number" && a.push({
3706
+ if (_i(c)) {
3707
+ typeof o == "number" && a.push({
3729
3708
  type: k.literal,
3730
- value: n.getNumberFormat(t).format(i)
3709
+ value: n.getNumberFormat(t).format(o)
3731
3710
  });
3732
3711
  continue;
3733
3712
  }
3734
3713
  var f = c.value;
3735
- if (!(o && f in o))
3736
- throw new Ko(f, s);
3737
- var d = o[f];
3738
- if (Eo(c)) {
3714
+ if (!(i && f in i))
3715
+ throw new Qi(f, s);
3716
+ var d = i[f];
3717
+ if (yi(c)) {
3739
3718
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3740
3719
  type: typeof d == "string" ? k.literal : k.object,
3741
3720
  value: d
3742
3721
  });
3743
3722
  continue;
3744
3723
  }
3745
- if (An(c)) {
3746
- var p = typeof c.style == "string" ? r.date[c.style] : ft(c.style) ? c.style.parsedOptions : void 0;
3724
+ if (Sn(c)) {
3725
+ var p = typeof c.style == "string" ? r.date[c.style] : ut(c.style) ? c.style.parsedOptions : void 0;
3747
3726
  a.push({
3748
3727
  type: k.literal,
3749
3728
  value: n.getDateTimeFormat(t, p).format(d)
3750
3729
  });
3751
3730
  continue;
3752
3731
  }
3753
- if (Tn(c)) {
3754
- var p = typeof c.style == "string" ? r.time[c.style] : ft(c.style) ? c.style.parsedOptions : r.time.medium;
3732
+ if (An(c)) {
3733
+ var p = typeof c.style == "string" ? r.time[c.style] : ut(c.style) ? c.style.parsedOptions : r.time.medium;
3755
3734
  a.push({
3756
3735
  type: k.literal,
3757
3736
  value: n.getDateTimeFormat(t, p).format(d)
3758
3737
  });
3759
3738
  continue;
3760
3739
  }
3761
- if (Sn(c)) {
3762
- var p = typeof c.style == "string" ? r.number[c.style] : On(c.style) ? c.style.parsedOptions : void 0;
3740
+ if (Cn(c)) {
3741
+ var p = typeof c.style == "string" ? r.number[c.style] : Hn(c.style) ? c.style.parsedOptions : void 0;
3763
3742
  p && p.scale && (d = d * (p.scale || 1)), a.push({
3764
3743
  type: k.literal,
3765
3744
  value: n.getNumberFormat(t, p).format(d)
3766
3745
  });
3767
3746
  continue;
3768
3747
  }
3769
- if (Hn(c)) {
3770
- var g = c.children, b = c.value, m = o[b];
3771
- if (!ti(m))
3772
- throw new Yo(b, "function", s);
3773
- var v = Le(g, t, n, r, o, i), _ = m(v.map(function(T) {
3774
- return T.value;
3748
+ if (Pn(c)) {
3749
+ var g = c.children, b = c.value, m = i[b];
3750
+ if (!Yi(m))
3751
+ throw new qi(b, "function", s);
3752
+ var v = Le(g, t, n, r, i, o), _ = m(v.map(function(M) {
3753
+ return M.value;
3775
3754
  }));
3776
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(T) {
3755
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(M) {
3777
3756
  return {
3778
- type: typeof T == "string" ? k.literal : k.object,
3779
- value: T
3757
+ type: typeof M == "string" ? k.literal : k.object,
3758
+ value: M
3780
3759
  };
3781
3760
  }));
3782
3761
  }
3783
- if (Pn(c)) {
3762
+ if (Tn(c)) {
3784
3763
  var B = c.options[d] || c.options.other;
3785
3764
  if (!B)
3786
- throw new Jt(c.value, d, Object.keys(c.options), s);
3787
- a.push.apply(a, Le(B.value, t, n, r, o));
3765
+ throw new qt(c.value, d, Object.keys(c.options), s);
3766
+ a.push.apply(a, Le(B.value, t, n, r, i));
3788
3767
  continue;
3789
3768
  }
3790
3769
  if (Mn(c)) {
3791
3770
  var B = c.options["=".concat(d)];
3792
3771
  if (!B) {
3793
3772
  if (!Intl.PluralRules)
3794
- throw new We(`Intl.PluralRules is not available in this environment.
3773
+ throw new ke(`Intl.PluralRules is not available in this environment.
3795
3774
  Try polyfilling it using "@formatjs/intl-pluralrules"
3796
- `, me.MISSING_INTL_API, s);
3775
+ `, be.MISSING_INTL_API, s);
3797
3776
  var N = n.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3798
3777
  B = c.options[N] || c.options.other;
3799
3778
  }
3800
3779
  if (!B)
3801
- throw new Jt(c.value, d, Object.keys(c.options), s);
3802
- a.push.apply(a, Le(B.value, t, n, r, o, d - (c.offset || 0)));
3780
+ throw new qt(c.value, d, Object.keys(c.options), s);
3781
+ a.push.apply(a, Le(B.value, t, n, r, i, d - (c.offset || 0)));
3803
3782
  continue;
3804
3783
  }
3805
3784
  }
3806
- return ei(a);
3785
+ return Ji(a);
3807
3786
  }
3808
- function ni(e, t) {
3809
- return t ? K(K(K({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3810
- return n[r] = K(K({}, e[r]), t[r] || {}), n;
3787
+ function Ki(e, t) {
3788
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3789
+ return n[r] = A(A({}, e[r]), t[r] || {}), n;
3811
3790
  }, {})) : e;
3812
3791
  }
3813
- function ri(e, t) {
3792
+ function eo(e, t) {
3814
3793
  return t ? Object.keys(e).reduce(function(n, r) {
3815
- return n[r] = ni(e[r], t[r]), n;
3816
- }, K({}, e)) : e;
3794
+ return n[r] = Ki(e[r], t[r]), n;
3795
+ }, A({}, e)) : e;
3817
3796
  }
3818
- function et(e) {
3797
+ function Ye(e) {
3819
3798
  return {
3820
3799
  create: function() {
3821
3800
  return {
@@ -3829,50 +3808,50 @@ function et(e) {
3829
3808
  }
3830
3809
  };
3831
3810
  }
3832
- function oi(e) {
3811
+ function to(e) {
3833
3812
  return e === void 0 && (e = {
3834
3813
  number: {},
3835
3814
  dateTime: {},
3836
3815
  pluralRules: {}
3837
3816
  }), {
3838
- getNumberFormat: Je(function() {
3817
+ getNumberFormat: qe(function() {
3839
3818
  for (var t, n = [], r = 0; r < arguments.length; r++)
3840
3819
  n[r] = arguments[r];
3841
- return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], n, !1)))();
3820
+ return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], n, !1)))();
3842
3821
  }, {
3843
- cache: et(e.number),
3844
- strategy: Ye.variadic
3822
+ cache: Ye(e.number),
3823
+ strategy: Qe.variadic
3845
3824
  }),
3846
- getDateTimeFormat: Je(function() {
3825
+ getDateTimeFormat: qe(function() {
3847
3826
  for (var t, n = [], r = 0; r < arguments.length; r++)
3848
3827
  n[r] = arguments[r];
3849
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], n, !1)))();
3828
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], n, !1)))();
3850
3829
  }, {
3851
- cache: et(e.dateTime),
3852
- strategy: Ye.variadic
3830
+ cache: Ye(e.dateTime),
3831
+ strategy: Qe.variadic
3853
3832
  }),
3854
- getPluralRules: Je(function() {
3833
+ getPluralRules: qe(function() {
3855
3834
  for (var t, n = [], r = 0; r < arguments.length; r++)
3856
3835
  n[r] = arguments[r];
3857
- return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], n, !1)))();
3836
+ return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], n, !1)))();
3858
3837
  }, {
3859
- cache: et(e.pluralRules),
3860
- strategy: Ye.variadic
3838
+ cache: Ye(e.pluralRules),
3839
+ strategy: Qe.variadic
3861
3840
  })
3862
3841
  };
3863
3842
  }
3864
- var ii = (
3843
+ var no = (
3865
3844
  /** @class */
3866
3845
  function() {
3867
- function e(t, n, r, o) {
3846
+ function e(t, n, r, i) {
3868
3847
  n === void 0 && (n = e.defaultLocale);
3869
- var i = this;
3848
+ var o = this;
3870
3849
  if (this.formatterCache = {
3871
3850
  number: {},
3872
3851
  dateTime: {},
3873
3852
  pluralRules: {}
3874
3853
  }, this.format = function(u) {
3875
- var l = i.formatToParts(u);
3854
+ var l = o.formatToParts(u);
3876
3855
  if (l.length === 1)
3877
3856
  return l[0].value;
3878
3857
  var c = l.reduce(function(f, d) {
@@ -3880,26 +3859,26 @@ var ii = (
3880
3859
  }, []);
3881
3860
  return c.length <= 1 ? c[0] || "" : c;
3882
3861
  }, this.formatToParts = function(u) {
3883
- return Le(i.ast, i.locales, i.formatters, i.formats, u, void 0, i.message);
3862
+ return Le(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3884
3863
  }, this.resolvedOptions = function() {
3885
3864
  var u;
3886
3865
  return {
3887
- locale: ((u = i.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(i.locales)[0]
3866
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3888
3867
  };
3889
3868
  }, this.getAst = function() {
3890
- return i.ast;
3869
+ return o.ast;
3891
3870
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3892
3871
  if (this.message = t, !e.__parse)
3893
3872
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3894
- var s = o || {};
3873
+ var s = i || {};
3895
3874
  s.formatters;
3896
- var a = po(s, ["formatters"]);
3897
- this.ast = e.__parse(t, K(K({}, a), { locale: this.resolvedLocale }));
3875
+ var a = Lr(s, ["formatters"]);
3876
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3898
3877
  } else
3899
3878
  this.ast = t;
3900
3879
  if (!Array.isArray(this.ast))
3901
3880
  throw new TypeError("A message must be provided as a String or AST.");
3902
- this.formats = ri(e.formats, r), this.formatters = o && o.formatters || oi(this.formatterCache);
3881
+ this.formats = eo(e.formats, r), this.formatters = i && i.formatters || to(this.formatterCache);
3903
3882
  }
3904
3883
  return Object.defineProperty(e, "defaultLocale", {
3905
3884
  get: function() {
@@ -3912,7 +3891,7 @@ var ii = (
3912
3891
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3913
3892
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3914
3893
  }
3915
- }, e.__parse = Jo, e.formats = {
3894
+ }, e.__parse = Zi, e.formats = {
3916
3895
  number: {
3917
3896
  integer: {
3918
3897
  maximumFractionDigits: 0
@@ -3973,113 +3952,113 @@ var ii = (
3973
3952
  }, e;
3974
3953
  }()
3975
3954
  );
3976
- function si(e, t) {
3955
+ function ro(e, t) {
3977
3956
  if (t == null)
3978
3957
  return;
3979
3958
  if (t in e)
3980
3959
  return e[t];
3981
3960
  const n = t.split(".");
3982
3961
  let r = e;
3983
- for (let o = 0; o < n.length; o++)
3962
+ for (let i = 0; i < n.length; i++)
3984
3963
  if (typeof r == "object") {
3985
- if (o > 0) {
3986
- const i = n.slice(o, n.length).join(".");
3987
- if (i in r) {
3988
- r = r[i];
3964
+ if (i > 0) {
3965
+ const o = n.slice(i, n.length).join(".");
3966
+ if (o in r) {
3967
+ r = r[o];
3989
3968
  break;
3990
3969
  }
3991
3970
  }
3992
- r = r[n[o]];
3971
+ r = r[n[i]];
3993
3972
  } else
3994
3973
  r = void 0;
3995
3974
  return r;
3996
3975
  }
3997
- const ie = {}, ai = (e, t, n) => n && (t in ie || (ie[t] = {}), e in ie[t] || (ie[t][e] = n), n), Dn = (e, t) => {
3976
+ const oe = {}, io = (e, t, n) => n && (t in oe || (oe[t] = {}), e in oe[t] || (oe[t][e] = n), n), Un = (e, t) => {
3998
3977
  if (t == null)
3999
3978
  return;
4000
- if (t in ie && e in ie[t])
4001
- return ie[t][e];
4002
- const n = Ve(t);
3979
+ if (t in oe && e in oe[t])
3980
+ return oe[t][e];
3981
+ const n = je(t);
4003
3982
  for (let r = 0; r < n.length; r++) {
4004
- const o = n[r], i = li(o, e);
4005
- if (i)
4006
- return ai(e, t, i);
3983
+ const i = n[r], o = so(i, e);
3984
+ if (o)
3985
+ return io(e, t, o);
4007
3986
  }
4008
3987
  };
4009
- let Et;
4010
- const Ae = ke({});
4011
- function ui(e) {
4012
- return Et[e] || null;
3988
+ let _t;
3989
+ const Ae = Ge({});
3990
+ function oo(e) {
3991
+ return _t[e] || null;
4013
3992
  }
4014
- function Gn(e) {
4015
- return e in Et;
3993
+ function Dn(e) {
3994
+ return e in _t;
4016
3995
  }
4017
- function li(e, t) {
4018
- if (!Gn(e))
3996
+ function so(e, t) {
3997
+ if (!Dn(e))
4019
3998
  return null;
4020
- const n = ui(e);
4021
- return si(n, t);
3999
+ const n = oo(e);
4000
+ return ro(n, t);
4022
4001
  }
4023
- function ci(e) {
4002
+ function ao(e) {
4024
4003
  if (e == null)
4025
4004
  return;
4026
- const t = Ve(e);
4005
+ const t = je(e);
4027
4006
  for (let n = 0; n < t.length; n++) {
4028
4007
  const r = t[n];
4029
- if (Gn(r))
4008
+ if (Dn(r))
4030
4009
  return r;
4031
4010
  }
4032
4011
  }
4033
- function kn(e, ...t) {
4034
- delete ie[e], Ae.update((n) => (n[e] = fo.all([n[e] || {}, ...t]), n));
4012
+ function Gn(e, ...t) {
4013
+ delete oe[e], Ae.update((n) => (n[e] = fi.all([n[e] || {}, ...t]), n));
4035
4014
  }
4036
- ge(
4015
+ ve(
4037
4016
  [Ae],
4038
4017
  ([e]) => Object.keys(e)
4039
4018
  );
4040
- Ae.subscribe((e) => Et = e);
4019
+ Ae.subscribe((e) => _t = e);
4041
4020
  const Re = {};
4042
- function hi(e, t) {
4021
+ function uo(e, t) {
4043
4022
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4044
4023
  }
4045
- function jn(e) {
4024
+ function kn(e) {
4046
4025
  return Re[e];
4047
4026
  }
4048
- function fi(e) {
4049
- return Ve(e).map((t) => {
4050
- const n = jn(t);
4027
+ function lo(e) {
4028
+ return je(e).map((t) => {
4029
+ const n = kn(t);
4051
4030
  return [t, n ? [...n] : []];
4052
4031
  }).filter(([, t]) => t.length > 0);
4053
4032
  }
4054
- function vt(e) {
4055
- return e == null ? !1 : Ve(e).some(
4033
+ function pt(e) {
4034
+ return e == null ? !1 : je(e).some(
4056
4035
  (t) => {
4057
4036
  var n;
4058
- return (n = jn(t)) == null ? void 0 : n.size;
4037
+ return (n = kn(t)) == null ? void 0 : n.size;
4059
4038
  }
4060
4039
  );
4061
4040
  }
4062
- function di(e, t) {
4041
+ function co(e, t) {
4063
4042
  return Promise.all(
4064
- t.map((r) => (hi(e, r), r().then((o) => o.default || o)))
4065
- ).then((r) => kn(e, ...r));
4066
- }
4067
- const Be = {};
4068
- function Wn(e) {
4069
- if (!vt(e))
4070
- return e in Be ? Be[e] : Promise.resolve();
4071
- const t = fi(e);
4072
- return Be[e] = Promise.all(
4043
+ t.map((r) => (uo(e, r), r().then((i) => i.default || i)))
4044
+ ).then((r) => Gn(e, ...r));
4045
+ }
4046
+ const Ee = {};
4047
+ function jn(e) {
4048
+ if (!pt(e))
4049
+ return e in Ee ? Ee[e] : Promise.resolve();
4050
+ const t = lo(e);
4051
+ return Ee[e] = Promise.all(
4073
4052
  t.map(
4074
- ([n, r]) => di(n, r)
4053
+ ([n, r]) => co(n, r)
4075
4054
  )
4076
4055
  ).then(() => {
4077
- if (vt(e))
4078
- return Wn(e);
4079
- delete Be[e];
4080
- }), Be[e];
4056
+ if (pt(e))
4057
+ return jn(e);
4058
+ delete Ee[e];
4059
+ }), Ee[e];
4081
4060
  }
4082
- const pi = {
4061
+ const ho = {
4083
4062
  number: {
4084
4063
  scientific: { notation: "scientific" },
4085
4064
  engineering: { notation: "engineering" },
@@ -4108,136 +4087,136 @@ const pi = {
4108
4087
  timeZoneName: "short"
4109
4088
  }
4110
4089
  }
4111
- }, mi = {
4090
+ }, fo = {
4112
4091
  fallbackLocale: null,
4113
4092
  loadingDelay: 200,
4114
- formats: pi,
4093
+ formats: ho,
4115
4094
  warnOnMissingMessages: !0,
4116
4095
  handleMissingMessage: void 0,
4117
4096
  ignoreTag: !0
4118
- }, bi = mi;
4119
- function be() {
4120
- return bi;
4097
+ }, po = fo;
4098
+ function ge() {
4099
+ return po;
4121
4100
  }
4122
- const tt = ke(!1);
4123
- var gi = Object.defineProperty, vi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, Yt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Kt = (e, t, n) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ei = (e, t) => {
4101
+ const Ke = Ge(!1);
4102
+ var mo = Object.defineProperty, bo = Object.defineProperties, go = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, vo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable, Jt = (e, t, n) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, _o = (e, t) => {
4124
4103
  for (var n in t || (t = {}))
4125
- _i.call(t, n) && Kt(e, n, t[n]);
4126
- if (Yt)
4127
- for (var n of Yt(t))
4128
- Bi.call(t, n) && Kt(e, n, t[n]);
4104
+ vo.call(t, n) && Jt(e, n, t[n]);
4105
+ if (Qt)
4106
+ for (var n of Qt(t))
4107
+ yo.call(t, n) && Jt(e, n, t[n]);
4129
4108
  return e;
4130
- }, wi = (e, t) => vi(e, yi(t));
4131
- let yt;
4132
- const Ue = ke(null);
4133
- function en(e) {
4109
+ }, Bo = (e, t) => bo(e, go(t));
4110
+ let mt;
4111
+ const $e = Ge(null);
4112
+ function Yt(e) {
4134
4113
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4135
4114
  }
4136
- function Ve(e, t = be().fallbackLocale) {
4137
- const n = en(e);
4138
- return t ? [.../* @__PURE__ */ new Set([...n, ...en(t)])] : n;
4115
+ function je(e, t = ge().fallbackLocale) {
4116
+ const n = Yt(e);
4117
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Yt(t)])] : n;
4139
4118
  }
4140
4119
  function ae() {
4141
- return yt != null ? yt : void 0;
4120
+ return mt != null ? mt : void 0;
4142
4121
  }
4143
- Ue.subscribe((e) => {
4144
- yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4122
+ $e.subscribe((e) => {
4123
+ mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4145
4124
  });
4146
- const xi = (e) => {
4147
- if (e && ci(e) && vt(e)) {
4148
- const { loadingDelay: t } = be();
4125
+ const Eo = (e) => {
4126
+ if (e && ao(e) && pt(e)) {
4127
+ const { loadingDelay: t } = ge();
4149
4128
  let n;
4150
4129
  return typeof window != "undefined" && ae() != null && t ? n = window.setTimeout(
4151
- () => tt.set(!0),
4130
+ () => Ke.set(!0),
4152
4131
  t
4153
- ) : tt.set(!0), Wn(e).then(() => {
4154
- Ue.set(e);
4132
+ ) : Ke.set(!0), jn(e).then(() => {
4133
+ $e.set(e);
4155
4134
  }).finally(() => {
4156
- clearTimeout(n), tt.set(!1);
4135
+ clearTimeout(n), Ke.set(!1);
4157
4136
  });
4158
4137
  }
4159
- return Ue.set(e);
4160
- }, ve = wi(Ei({}, Ue), {
4161
- set: xi
4162
- }), ze = (e) => {
4138
+ return $e.set(e);
4139
+ }, ye = Bo(_o({}, $e), {
4140
+ set: Eo
4141
+ }), We = (e) => {
4163
4142
  const t = /* @__PURE__ */ Object.create(null);
4164
4143
  return (r) => {
4165
- const o = JSON.stringify(r);
4166
- return o in t ? t[o] : t[o] = e(r);
4144
+ const i = JSON.stringify(r);
4145
+ return i in t ? t[i] : t[i] = e(r);
4167
4146
  };
4168
4147
  };
4169
- var Ci = Object.defineProperty, De = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, tn = (e, t, n) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, wt = (e, t) => {
4148
+ var wo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, Kt = (e, t, n) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bt = (e, t) => {
4170
4149
  for (var n in t || (t = {}))
4171
- Vn.call(t, n) && tn(e, n, t[n]);
4172
- if (De)
4173
- for (var n of De(t))
4174
- zn.call(t, n) && tn(e, n, t[n]);
4150
+ Wn.call(t, n) && Kt(e, n, t[n]);
4151
+ if (Ue)
4152
+ for (var n of Ue(t))
4153
+ Vn.call(t, n) && Kt(e, n, t[n]);
4175
4154
  return e;
4176
- }, ye = (e, t) => {
4155
+ }, _e = (e, t) => {
4177
4156
  var n = {};
4178
4157
  for (var r in e)
4179
- Vn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4180
- if (e != null && De)
4181
- for (var r of De(e))
4182
- t.indexOf(r) < 0 && zn.call(e, r) && (n[r] = e[r]);
4158
+ Wn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4159
+ if (e != null && Ue)
4160
+ for (var r of Ue(e))
4161
+ t.indexOf(r) < 0 && Vn.call(e, r) && (n[r] = e[r]);
4183
4162
  return n;
4184
4163
  };
4185
- const Ce = (e, t) => {
4186
- const { formats: n } = be();
4164
+ const Se = (e, t) => {
4165
+ const { formats: n } = ge();
4187
4166
  if (e in n && t in n[e])
4188
4167
  return n[e][t];
4189
4168
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4190
- }, Si = ze(
4169
+ }, xo = We(
4191
4170
  (e) => {
4192
- var t = e, { locale: n, format: r } = t, o = ye(t, ["locale", "format"]);
4171
+ var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
4193
4172
  if (n == null)
4194
4173
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4195
- return r && (o = Ce("number", r)), new Intl.NumberFormat(n, o);
4174
+ return r && (i = Se("number", r)), new Intl.NumberFormat(n, i);
4196
4175
  }
4197
- ), Ai = ze(
4176
+ ), Co = We(
4198
4177
  (e) => {
4199
- var t = e, { locale: n, format: r } = t, o = ye(t, ["locale", "format"]);
4178
+ var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
4200
4179
  if (n == null)
4201
4180
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4202
- return r ? o = Ce("date", r) : Object.keys(o).length === 0 && (o = Ce("date", "short")), new Intl.DateTimeFormat(n, o);
4181
+ return r ? i = Se("date", r) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(n, i);
4203
4182
  }
4204
- ), Ti = ze(
4183
+ ), So = We(
4205
4184
  (e) => {
4206
- var t = e, { locale: n, format: r } = t, o = ye(t, ["locale", "format"]);
4185
+ var t = e, { locale: n, format: r } = t, i = _e(t, ["locale", "format"]);
4207
4186
  if (n == null)
4208
4187
  throw new Error(
4209
4188
  '[svelte-i18n] A "locale" must be set to format time values'
4210
4189
  );
4211
- return r ? o = Ce("time", r) : Object.keys(o).length === 0 && (o = Ce("time", "short")), new Intl.DateTimeFormat(n, o);
4190
+ return r ? i = Se("time", r) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(n, i);
4212
4191
  }
4213
- ), Pi = (e = {}) => {
4192
+ ), Ao = (e = {}) => {
4214
4193
  var t = e, {
4215
4194
  locale: n = ae()
4216
- } = t, r = ye(t, [
4195
+ } = t, r = _e(t, [
4217
4196
  "locale"
4218
4197
  ]);
4219
- return Si(wt({ locale: n }, r));
4220
- }, Mi = (e = {}) => {
4198
+ return xo(Bt({ locale: n }, r));
4199
+ }, To = (e = {}) => {
4221
4200
  var t = e, {
4222
4201
  locale: n = ae()
4223
- } = t, r = ye(t, [
4202
+ } = t, r = _e(t, [
4224
4203
  "locale"
4225
4204
  ]);
4226
- return Ai(wt({ locale: n }, r));
4227
- }, Hi = (e = {}) => {
4205
+ return Co(Bt({ locale: n }, r));
4206
+ }, Mo = (e = {}) => {
4228
4207
  var t = e, {
4229
4208
  locale: n = ae()
4230
- } = t, r = ye(t, [
4209
+ } = t, r = _e(t, [
4231
4210
  "locale"
4232
4211
  ]);
4233
- return Ti(wt({ locale: n }, r));
4234
- }, Oi = ze(
4212
+ return So(Bt({ locale: n }, r));
4213
+ }, Po = We(
4235
4214
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4236
- (e, t = ae()) => new ii(e, t, be().formats, {
4237
- ignoreTag: be().ignoreTag
4215
+ (e, t = ae()) => new no(e, t, ge().formats, {
4216
+ ignoreTag: ge().ignoreTag
4238
4217
  })
4239
- ), Ii = (e, t = {}) => {
4240
- var n, r, o, i;
4218
+ ), Ho = (e, t = {}) => {
4219
+ var n, r, i, o;
4241
4220
  let s = t;
4242
4221
  typeof e == "object" && (s = e, e = s.id);
4243
4222
  const {
@@ -4249,9 +4228,9 @@ const Ce = (e, t) => {
4249
4228
  throw new Error(
4250
4229
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4251
4230
  );
4252
- let c = Dn(e, u);
4231
+ let c = Un(e, u);
4253
4232
  if (!c)
4254
- c = (i = (o = (r = (n = be()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? o : l) != null ? i : e;
4233
+ c = (o = (i = (r = (n = ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4255
4234
  else if (typeof c != "string")
4256
4235
  return console.warn(
4257
4236
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4260,7 +4239,7 @@ const Ce = (e, t) => {
4260
4239
  return c;
4261
4240
  let f = c;
4262
4241
  try {
4263
- f = Oi(c, u).format(a);
4242
+ f = Po(c, u).format(a);
4264
4243
  } catch (d) {
4265
4244
  d instanceof Error && console.warn(
4266
4245
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4268,21 +4247,21 @@ const Ce = (e, t) => {
4268
4247
  );
4269
4248
  }
4270
4249
  return f;
4271
- }, Ni = (e, t) => Hi(t).format(e), Li = (e, t) => Mi(t).format(e), Ri = (e, t) => Pi(t).format(e), $i = (e, t = ae()) => Dn(e, t), Fi = ge([ve, Ae], () => Ii);
4272
- ge([ve], () => Ni);
4273
- ge([ve], () => Li);
4274
- ge([ve], () => Ri);
4275
- ge([ve, Ae], () => $i);
4250
+ }, Io = (e, t) => Mo(t).format(e), Oo = (e, t) => To(t).format(e), No = (e, t) => Ao(t).format(e), Lo = (e, t = ae()) => Un(e, t), Ro = ve([ye, Ae], () => Ho);
4251
+ ve([ye], () => Io);
4252
+ ve([ye], () => Oo);
4253
+ ve([ye], () => No);
4254
+ ve([ye, Ae], () => Lo);
4276
4255
  window.emWidgets = { topic: qr };
4277
- const Ui = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4256
+ const Fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4278
4257
  String(Number.MAX_SAFE_INTEGER).length;
4279
- function nn(e, t) {
4280
- kn(e, t);
4258
+ function en(e, t) {
4259
+ Gn(e, t);
4281
4260
  }
4282
- function Di(e) {
4283
- ve.set(e);
4261
+ function $o(e) {
4262
+ ye.set(e);
4284
4263
  }
4285
- const rn = {
4264
+ const tn = {
4286
4265
  en: {
4287
4266
  titleBonuses: "Active Bonuses",
4288
4267
  bonusCode: "Do you have a bonus code?",
@@ -4416,28 +4395,28 @@ const rn = {
4416
4395
  bonusClaimErrorMessage: "Invalid bonus"
4417
4396
  }
4418
4397
  };
4419
- function Gi(e, t) {
4398
+ function Uo(e, t) {
4420
4399
  if (e) {
4421
4400
  const n = document.createElement("style");
4422
4401
  n.innerHTML = t, e.appendChild(n);
4423
4402
  }
4424
4403
  }
4425
- function ki(e, t) {
4404
+ function Do(e, t) {
4426
4405
  if (!e || !t)
4427
4406
  return;
4428
4407
  const n = new URL(t);
4429
4408
  fetch(n.href).then((r) => r.text()).then((r) => {
4430
- const o = document.createElement("style");
4431
- o.innerHTML = r, e && e.appendChild(o);
4409
+ const i = document.createElement("style");
4410
+ i.innerHTML = r, e && e.appendChild(i);
4432
4411
  }).catch((r) => {
4433
4412
  console.error("There was an error while trying to load client styling from URL", r);
4434
4413
  });
4435
4414
  }
4436
- function ji(e, t, n) {
4415
+ function Go(e, t, n) {
4437
4416
  if (window.emMessageBus) {
4438
4417
  const r = document.createElement("style");
4439
- window.emMessageBus.subscribe(t, (o) => {
4440
- r.innerHTML = o, e && e.appendChild(r);
4418
+ window.emMessageBus.subscribe(t, (i) => {
4419
+ r.innerHTML = i, e && e.appendChild(r);
4441
4420
  });
4442
4421
  }
4443
4422
  }
@@ -4453,35 +4432,35 @@ if (typeof window != "undefined") {
4453
4432
  }
4454
4433
  };
4455
4434
  };
4456
- customElements.define = e(customElements.define), import("./PlayerBonusCard-Bg6djpFy.js").then(({ default: t }) => {
4435
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-C-WUYU05.js").then(({ default: t }) => {
4457
4436
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4458
4437
  });
4459
4438
  }
4460
- function Wi(e) {
4461
- br(e, "svelte-44vwrd", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4439
+ function ko(e) {
4440
+ mr(e, "svelte-44vwrd", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4462
4441
  }
4463
- function on(e, t, n) {
4442
+ function nn(e, t, n) {
4464
4443
  const r = e.slice();
4465
4444
  return r[51] = t[n], r[53] = n, r;
4466
4445
  }
4467
- function sn(e, t, n) {
4446
+ function rn(e, t, n) {
4468
4447
  const r = e.slice();
4469
4448
  return r[54] = t[n], r;
4470
4449
  }
4471
- function Vi(e) {
4472
- let t, n, r, o, i, s, a, u, l, c, f = (
4450
+ function jo(e) {
4451
+ let t, n, r, i, o, s, a, u, l, c, f = (
4473
4452
  /*$_*/
4474
4453
  e[20]("titleBonuses") + ""
4475
4454
  ), d, p, g;
4476
4455
  return {
4477
4456
  c() {
4478
- t = A("div"), n = ue("svg"), r = ue("defs"), o = ue("style"), i = $(`.aaa {
4457
+ t = T("div"), n = ue("svg"), r = ue("defs"), i = ue("style"), o = F(`.aaa {
4479
4458
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
4480
4459
  }
4481
- `), s = ue("g"), a = ue("g"), u = ue("path"), l = j(), c = A("h2"), d = $(f), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(a, "transform", "translate(20 158)"), w(s, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(c, "class", "ActiveBonusesTitleMobile"), w(t, "class", "MenuReturnButton");
4460
+ `), s = ue("g"), a = ue("g"), u = ue("path"), l = j(), c = T("h2"), d = F(f), w(u, "class", "aaa"), w(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), w(u, "transform", "translate(15 15) rotate(180)"), w(a, "transform", "translate(20 158)"), w(s, "transform", "translate(-20 -158)"), w(n, "xmlns", "http://www.w3.org/2000/svg"), w(n, "width", "15"), w(n, "height", "15"), w(n, "viewBox", "0 0 15 15"), w(c, "class", "ActiveBonusesTitleMobile"), w(t, "class", "MenuReturnButton");
4482
4461
  },
4483
4462
  m(b, m) {
4484
- D(b, t, m), E(t, n), E(n, r), E(r, o), E(o, i), E(n, s), E(s, a), E(a, u), E(t, l), E(t, c), E(c, d), p || (g = Y(
4463
+ D(b, t, m), E(t, n), E(n, r), E(r, i), E(i, o), E(n, s), E(s, a), E(a, u), E(t, l), E(t, c), E(c, d), p || (g = Y(
4485
4464
  t,
4486
4465
  "click",
4487
4466
  /*click_handler*/
@@ -4491,149 +4470,149 @@ function Vi(e) {
4491
4470
  p(b, m) {
4492
4471
  m[0] & /*$_*/
4493
4472
  1048576 && f !== (f = /*$_*/
4494
- b[20]("titleBonuses") + "") && ne(d, f);
4473
+ b[20]("titleBonuses") + "") && te(d, f);
4495
4474
  },
4496
4475
  d(b) {
4497
- b && F(t), p = !1, g();
4476
+ b && $(t), p = !1, g();
4498
4477
  }
4499
4478
  };
4500
4479
  }
4501
- function an(e) {
4480
+ function on(e) {
4502
4481
  let t, n = (
4503
4482
  /*$_*/
4504
4483
  e[20]("invalidBonusCode") + ""
4505
4484
  ), r;
4506
4485
  return {
4507
4486
  c() {
4508
- t = A("p"), r = $(n), w(t, "class", "InvalidBonusCodeMessage");
4487
+ t = T("p"), r = F(n), w(t, "class", "InvalidBonusCodeMessage");
4509
4488
  },
4510
- m(o, i) {
4511
- D(o, t, i), E(t, r);
4489
+ m(i, o) {
4490
+ D(i, t, o), E(t, r);
4512
4491
  },
4513
- p(o, i) {
4514
- i[0] & /*$_*/
4492
+ p(i, o) {
4493
+ o[0] & /*$_*/
4515
4494
  1048576 && n !== (n = /*$_*/
4516
- o[20]("invalidBonusCode") + "") && ne(r, n);
4495
+ i[20]("invalidBonusCode") + "") && te(r, n);
4517
4496
  },
4518
- d(o) {
4519
- o && F(t);
4497
+ d(i) {
4498
+ i && $(t);
4520
4499
  }
4521
4500
  };
4522
4501
  }
4523
- function zi(e) {
4502
+ function Wo(e) {
4524
4503
  let t, n, r;
4525
- function o(u, l) {
4504
+ function i(u, l) {
4526
4505
  return (
4527
4506
  /*activeBonusesList*/
4528
- u[18].length === 0 ? qi : Zi
4507
+ u[18].length === 0 ? Xo : zo
4529
4508
  );
4530
4509
  }
4531
- let i = o(e), s = i(e), a = (
4510
+ let o = i(e), s = o(e), a = (
4532
4511
  /*activeBonusesList*/
4533
- e[18].length !== 0 && ln(e)
4512
+ e[18].length !== 0 && an(e)
4534
4513
  );
4535
4514
  return {
4536
4515
  c() {
4537
- t = A("div"), s.c(), n = j(), a && a.c(), r = Bt(), w(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4516
+ t = T("div"), s.c(), n = j(), a && a.c(), r = gt(), w(t, "class", "ActiveBonusesGrid " + /*isMobile*/
4538
4517
  (e[21] ? "ActiveBonusesGridMobile" : ""));
4539
4518
  },
4540
4519
  m(u, l) {
4541
4520
  D(u, t, l), s.m(t, null), D(u, n, l), a && a.m(u, l), D(u, r, l);
4542
4521
  },
4543
4522
  p(u, l) {
4544
- i === (i = o(u)) && s ? s.p(u, l) : (s.d(1), s = i(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4545
- u[18].length !== 0 ? a ? a.p(u, l) : (a = ln(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4523
+ o === (o = i(u)) && s ? s.p(u, l) : (s.d(1), s = o(u), s && (s.c(), s.m(t, null))), /*activeBonusesList*/
4524
+ u[18].length !== 0 ? a ? a.p(u, l) : (a = an(u), a.c(), a.m(r.parentNode, r)) : a && (a.d(1), a = null);
4546
4525
  },
4547
4526
  d(u) {
4548
- u && (F(t), F(n), F(r)), s.d(), a && a.d(u);
4527
+ u && ($(t), $(n), $(r)), s.d(), a && a.d(u);
4549
4528
  }
4550
4529
  };
4551
4530
  }
4552
- function Xi(e) {
4531
+ function Vo(e) {
4553
4532
  let t;
4554
4533
  return {
4555
4534
  c() {
4556
- t = A("div"), w(t, "class", "ModalLoader"), w(t, "part", "ModalLoader");
4535
+ t = T("div"), w(t, "class", "ModalLoader"), w(t, "part", "ModalLoader");
4557
4536
  },
4558
4537
  m(n, r) {
4559
4538
  D(n, t, r);
4560
4539
  },
4561
4540
  p: Q,
4562
4541
  d(n) {
4563
- n && F(t);
4542
+ n && $(t);
4564
4543
  }
4565
4544
  };
4566
4545
  }
4567
- function Zi(e) {
4568
- let t, n = $e(
4546
+ function zo(e) {
4547
+ let t, n = Fe(
4569
4548
  /*activeBonusesList*/
4570
4549
  e[18]
4571
4550
  ), r = [];
4572
- for (let o = 0; o < n.length; o += 1)
4573
- r[o] = un(sn(e, n, o));
4551
+ for (let i = 0; i < n.length; i += 1)
4552
+ r[i] = sn(rn(e, n, i));
4574
4553
  return {
4575
4554
  c() {
4576
- for (let o = 0; o < r.length; o += 1)
4577
- r[o].c();
4578
- t = Bt();
4555
+ for (let i = 0; i < r.length; i += 1)
4556
+ r[i].c();
4557
+ t = gt();
4579
4558
  },
4580
- m(o, i) {
4559
+ m(i, o) {
4581
4560
  for (let s = 0; s < r.length; s += 1)
4582
- r[s] && r[s].m(o, i);
4583
- D(o, t, i);
4561
+ r[s] && r[s].m(i, o);
4562
+ D(i, t, o);
4584
4563
  },
4585
- p(o, i) {
4586
- if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
4564
+ p(i, o) {
4565
+ if (o[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
4587
4566
  262399) {
4588
- n = $e(
4567
+ n = Fe(
4589
4568
  /*activeBonusesList*/
4590
- o[18]
4569
+ i[18]
4591
4570
  );
4592
4571
  let s;
4593
4572
  for (s = 0; s < n.length; s += 1) {
4594
- const a = sn(o, n, s);
4595
- r[s] ? r[s].p(a, i) : (r[s] = un(a), r[s].c(), r[s].m(t.parentNode, t));
4573
+ const a = rn(i, n, s);
4574
+ r[s] ? r[s].p(a, o) : (r[s] = sn(a), r[s].c(), r[s].m(t.parentNode, t));
4596
4575
  }
4597
4576
  for (; s < r.length; s += 1)
4598
4577
  r[s].d(1);
4599
4578
  r.length = n.length;
4600
4579
  }
4601
4580
  },
4602
- d(o) {
4603
- o && F(t), mn(r, o);
4581
+ d(i) {
4582
+ i && $(t), dn(r, i);
4604
4583
  }
4605
4584
  };
4606
4585
  }
4607
- function qi(e) {
4586
+ function Xo(e) {
4608
4587
  let t, n = (
4609
4588
  /*$_*/
4610
4589
  e[20]("noActiveBonuses") + ""
4611
4590
  ), r;
4612
4591
  return {
4613
4592
  c() {
4614
- t = A("p"), r = $(n);
4593
+ t = T("p"), r = F(n);
4615
4594
  },
4616
- m(o, i) {
4617
- D(o, t, i), E(t, r);
4595
+ m(i, o) {
4596
+ D(i, t, o), E(t, r);
4618
4597
  },
4619
- p(o, i) {
4620
- i[0] & /*$_*/
4598
+ p(i, o) {
4599
+ o[0] & /*$_*/
4621
4600
  1048576 && n !== (n = /*$_*/
4622
- o[20]("noActiveBonuses") + "") && ne(r, n);
4601
+ i[20]("noActiveBonuses") + "") && te(r, n);
4623
4602
  },
4624
- d(o) {
4625
- o && F(t);
4603
+ d(i) {
4604
+ i && $(t);
4626
4605
  }
4627
4606
  };
4628
4607
  }
4629
- function Qi(e) {
4630
- let t, n, r, o, i, s, a, u, l, c, f, d, p, g, b, m, v;
4608
+ function Zo(e) {
4609
+ let t, n, r, i, o, s, a, u, l, c, f, d, p, g, b, m, v;
4631
4610
  return {
4632
4611
  c() {
4633
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4612
+ t = T("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4634
4613
  e[54].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4635
- e[54].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4636
- e[54].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4614
+ e[54].termsandconditionsurl), h(t, "termsandconditionsasset", i = /*activeBonus*/
4615
+ e[54].termsandconditionsasset), h(t, "endpoint", o = /*activeBonus*/
4637
4616
  e[54].endpoint), h(t, "playerid", s = /*activeBonus*/
4638
4617
  e[54].playerid), h(t, "session", a = /*activeBonus*/
4639
4618
  e[54].session), h(t, "bonuswalletid", u = /*activeBonus*/
@@ -4698,10 +4677,10 @@ function Qi(e) {
4698
4677
  _[54].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), B[0] & /*activeBonusesList*/
4699
4678
  262144 && r !== (r = /*activeBonus*/
4700
4679
  _[54].termsandconditionsurl) && h(t, "termsandconditionsurl", r), B[0] & /*activeBonusesList*/
4701
- 262144 && o !== (o = /*activeBonus*/
4702
- _[54].termsandconditionsasset) && h(t, "termsandconditionsasset", o), B[0] & /*activeBonusesList*/
4703
4680
  262144 && i !== (i = /*activeBonus*/
4704
- _[54].endpoint) && h(t, "endpoint", i), B[0] & /*activeBonusesList*/
4681
+ _[54].termsandconditionsasset) && h(t, "termsandconditionsasset", i), B[0] & /*activeBonusesList*/
4682
+ 262144 && o !== (o = /*activeBonus*/
4683
+ _[54].endpoint) && h(t, "endpoint", o), B[0] & /*activeBonusesList*/
4705
4684
  262144 && s !== (s = /*activeBonus*/
4706
4685
  _[54].playerid) && h(t, "playerid", s), B[0] & /*activeBonusesList*/
4707
4686
  262144 && a !== (a = /*activeBonus*/
@@ -4777,18 +4756,18 @@ function Qi(e) {
4777
4756
  );
4778
4757
  },
4779
4758
  d(_) {
4780
- _ && F(t);
4759
+ _ && $(t);
4781
4760
  }
4782
4761
  };
4783
4762
  }
4784
- function Ji(e) {
4785
- let t, n, r, o, i, s, a, u, l, c, f, d, p, g, b;
4763
+ function qo(e) {
4764
+ let t, n, r, i, o, s, a, u, l, c, f, d, p, g, b;
4786
4765
  return {
4787
4766
  c() {
4788
- t = A("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4767
+ t = T("player-bonus-card"), h(t, "termsandconditionsdescription", n = /*activeBonus*/
4789
4768
  e[54].termsandconditionsdescription), h(t, "termsandconditionsurl", r = /*activeBonus*/
4790
- e[54].termsandconditionsurl), h(t, "termsandconditionsasset", o = /*activeBonus*/
4791
- e[54].termsandconditionsasset), h(t, "endpoint", i = /*activeBonus*/
4769
+ e[54].termsandconditionsurl), h(t, "termsandconditionsasset", i = /*activeBonus*/
4770
+ e[54].termsandconditionsasset), h(t, "endpoint", o = /*activeBonus*/
4792
4771
  e[54].endpoint), h(t, "playerid", s = /*activeBonus*/
4793
4772
  e[54].playerid), h(t, "session", a = /*activeBonus*/
4794
4773
  e[54].session), h(t, "bonuswalletid", u = /*activeBonus*/
@@ -4850,10 +4829,10 @@ function Ji(e) {
4850
4829
  m[54].termsandconditionsdescription) && h(t, "termsandconditionsdescription", n), v[0] & /*activeBonusesList*/
4851
4830
  262144 && r !== (r = /*activeBonus*/
4852
4831
  m[54].termsandconditionsurl) && h(t, "termsandconditionsurl", r), v[0] & /*activeBonusesList*/
4853
- 262144 && o !== (o = /*activeBonus*/
4854
- m[54].termsandconditionsasset) && h(t, "termsandconditionsasset", o), v[0] & /*activeBonusesList*/
4855
4832
  262144 && i !== (i = /*activeBonus*/
4856
- m[54].endpoint) && h(t, "endpoint", i), v[0] & /*activeBonusesList*/
4833
+ m[54].termsandconditionsasset) && h(t, "termsandconditionsasset", i), v[0] & /*activeBonusesList*/
4834
+ 262144 && o !== (o = /*activeBonus*/
4835
+ m[54].endpoint) && h(t, "endpoint", o), v[0] & /*activeBonusesList*/
4857
4836
  262144 && s !== (s = /*activeBonus*/
4858
4837
  m[54].playerid) && h(t, "playerid", s), v[0] & /*activeBonusesList*/
4859
4838
  262144 && a !== (a = /*activeBonus*/
@@ -4924,47 +4903,47 @@ function Ji(e) {
4924
4903
  );
4925
4904
  },
4926
4905
  d(m) {
4927
- m && F(t);
4906
+ m && $(t);
4928
4907
  }
4929
4908
  };
4930
4909
  }
4931
- function un(e) {
4910
+ function sn(e) {
4932
4911
  let t;
4933
- function n(i, s) {
4912
+ function n(o, s) {
4934
4913
  return (
4935
4914
  /*activeBonus*/
4936
- i[54].type === "freeRound" ? Ji : Qi
4915
+ o[54].type === "freeRound" ? qo : Zo
4937
4916
  );
4938
4917
  }
4939
- let r = n(e), o = r(e);
4918
+ let r = n(e), i = r(e);
4940
4919
  return {
4941
4920
  c() {
4942
- o.c(), t = Bt();
4921
+ i.c(), t = gt();
4943
4922
  },
4944
- m(i, s) {
4945
- o.m(i, s), D(i, t, s);
4923
+ m(o, s) {
4924
+ i.m(o, s), D(o, t, s);
4946
4925
  },
4947
- p(i, s) {
4948
- r === (r = n(i)) && o ? o.p(i, s) : (o.d(1), o = r(i), o && (o.c(), o.m(t.parentNode, t)));
4926
+ p(o, s) {
4927
+ r === (r = n(o)) && i ? i.p(o, s) : (i.d(1), i = r(o), i && (i.c(), i.m(t.parentNode, t)));
4949
4928
  },
4950
- d(i) {
4951
- i && F(t), o.d(i);
4929
+ d(o) {
4930
+ o && $(t), i.d(o);
4952
4931
  }
4953
4932
  };
4954
4933
  }
4955
- function ln(e) {
4956
- let t, n, r, o, i, s, a, u, l, c, f, d, p, g, b, m, v, _, B, N = $e(Array(
4934
+ function an(e) {
4935
+ let t, n, r, i, o, s, a, u, l, c, f, d, p, g, b, m, v, _, B, N = Fe(Array(
4957
4936
  /*numberOfPages*/
4958
4937
  e[16]
4959
- )), T = [];
4938
+ )), M = [];
4960
4939
  for (let x = 0; x < N.length; x += 1)
4961
- T[x] = cn(on(e, N, x));
4940
+ M[x] = un(nn(e, N, x));
4962
4941
  return {
4963
4942
  c() {
4964
- t = A("div"), n = A("span"), r = $("|<"), i = j(), s = A("span"), a = $("<"), l = j();
4965
- for (let x = 0; x < T.length; x += 1)
4966
- T[x].c();
4967
- c = j(), f = A("span"), d = $(">"), g = j(), b = A("span"), m = $(">|"), w(n, "class", o = "BonusesFirst " + /*currentPage*/
4943
+ t = T("div"), n = T("span"), r = F("|<"), o = j(), s = T("span"), a = F("<"), l = j();
4944
+ for (let x = 0; x < M.length; x += 1)
4945
+ M[x].c();
4946
+ c = j(), f = T("span"), d = F(">"), g = j(), b = T("span"), m = F(">|"), w(n, "class", i = "BonusesFirst " + /*currentPage*/
4968
4947
  (e[17] === 0 ? "Inactive" : "")), w(s, "class", u = "BonusesPrev " + /*currentPage*/
4969
4948
  (e[17] === 0 ? "Inactive" : "")), w(f, "class", p = "BonusesNext " + /*currentPage*/
4970
4949
  (e[17] === /*numberOfPages*/
@@ -4973,10 +4952,10 @@ function ln(e) {
4973
4952
  e[16] - 1 ? "Inactive" : "")), w(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4974
4953
  (e[21] ? "BonusesPaginationWrapperMobile" : ""));
4975
4954
  },
4976
- m(x, I) {
4977
- D(x, t, I), E(t, n), E(n, r), E(t, i), E(t, s), E(s, a), E(t, l);
4978
- for (let M = 0; M < T.length; M += 1)
4979
- T[M] && T[M].m(t, null);
4955
+ m(x, O) {
4956
+ D(x, t, O), E(t, n), E(n, r), E(t, o), E(t, s), E(s, a), E(t, l);
4957
+ for (let H = 0; H < M.length; H += 1)
4958
+ M[H] && M[H].m(t, null);
4980
4959
  E(t, c), E(t, f), E(f, d), E(t, g), E(t, b), E(b, m), _ || (B = [
4981
4960
  Y(
4982
4961
  n,
@@ -5004,44 +4983,44 @@ function ln(e) {
5004
4983
  )
5005
4984
  ], _ = !0);
5006
4985
  },
5007
- p(x, I) {
5008
- if (I[0] & /*currentPage*/
5009
- 131072 && o !== (o = "BonusesFirst " + /*currentPage*/
5010
- (x[17] === 0 ? "Inactive" : "")) && w(n, "class", o), I[0] & /*currentPage*/
4986
+ p(x, O) {
4987
+ if (O[0] & /*currentPage*/
4988
+ 131072 && i !== (i = "BonusesFirst " + /*currentPage*/
4989
+ (x[17] === 0 ? "Inactive" : "")) && w(n, "class", i), O[0] & /*currentPage*/
5011
4990
  131072 && u !== (u = "BonusesPrev " + /*currentPage*/
5012
- (x[17] === 0 ? "Inactive" : "")) && w(s, "class", u), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4991
+ (x[17] === 0 ? "Inactive" : "")) && w(s, "class", u), O[0] & /*currentPage, getActiveBonuses, numberOfPages*/
5013
4992
  16973824) {
5014
- N = $e(Array(
4993
+ N = Fe(Array(
5015
4994
  /*numberOfPages*/
5016
4995
  x[16]
5017
4996
  ));
5018
- let M;
5019
- for (M = 0; M < N.length; M += 1) {
5020
- const W = on(x, N, M);
5021
- T[M] ? T[M].p(W, I) : (T[M] = cn(W), T[M].c(), T[M].m(t, c));
4997
+ let H;
4998
+ for (H = 0; H < N.length; H += 1) {
4999
+ const W = nn(x, N, H);
5000
+ M[H] ? M[H].p(W, O) : (M[H] = un(W), M[H].c(), M[H].m(t, c));
5022
5001
  }
5023
- for (; M < T.length; M += 1)
5024
- T[M].d(1);
5025
- T.length = N.length;
5002
+ for (; H < M.length; H += 1)
5003
+ M[H].d(1);
5004
+ M.length = N.length;
5026
5005
  }
5027
- I[0] & /*currentPage, numberOfPages*/
5006
+ O[0] & /*currentPage, numberOfPages*/
5028
5007
  196608 && p !== (p = "BonusesNext " + /*currentPage*/
5029
5008
  (x[17] === /*numberOfPages*/
5030
- x[16] - 1 ? "Inactive" : "")) && w(f, "class", p), I[0] & /*currentPage, numberOfPages*/
5009
+ x[16] - 1 ? "Inactive" : "")) && w(f, "class", p), O[0] & /*currentPage, numberOfPages*/
5031
5010
  196608 && v !== (v = "BonusesLast " + /*currentPage*/
5032
5011
  (x[17] === /*numberOfPages*/
5033
5012
  x[16] - 1 ? "Inactive" : "")) && w(b, "class", v);
5034
5013
  },
5035
5014
  d(x) {
5036
- x && F(t), mn(T, x), _ = !1, se(B);
5015
+ x && $(t), dn(M, x), _ = !1, se(B);
5037
5016
  }
5038
5017
  };
5039
5018
  }
5040
- function cn(e) {
5019
+ function un(e) {
5041
5020
  let t, n = (
5042
5021
  /*i*/
5043
5022
  e[53] + 1 + ""
5044
- ), r, o, i, s;
5023
+ ), r, i, o, s;
5045
5024
  function a() {
5046
5025
  return (
5047
5026
  /*click_handler_3*/
@@ -5053,26 +5032,26 @@ function cn(e) {
5053
5032
  }
5054
5033
  return {
5055
5034
  c() {
5056
- t = A("span"), r = $(n), w(t, "class", o = "BonusesPage " + /*i*/
5035
+ t = T("span"), r = F(n), w(t, "class", i = "BonusesPage " + /*i*/
5057
5036
  (e[53] === /*currentPage*/
5058
5037
  e[17] ? "BonusPageActive" : ""));
5059
5038
  },
5060
5039
  m(u, l) {
5061
- D(u, t, l), E(t, r), i || (s = Y(t, "click", a), i = !0);
5040
+ D(u, t, l), E(t, r), o || (s = Y(t, "click", a), o = !0);
5062
5041
  },
5063
5042
  p(u, l) {
5064
5043
  e = u, l[0] & /*currentPage*/
5065
- 131072 && o !== (o = "BonusesPage " + /*i*/
5044
+ 131072 && i !== (i = "BonusesPage " + /*i*/
5066
5045
  (e[53] === /*currentPage*/
5067
- e[17] ? "BonusPageActive" : "")) && w(t, "class", o);
5046
+ e[17] ? "BonusPageActive" : "")) && w(t, "class", i);
5068
5047
  },
5069
5048
  d(u) {
5070
- u && F(t), i = !1, s();
5049
+ u && $(t), o = !1, s();
5071
5050
  }
5072
5051
  };
5073
5052
  }
5074
- function hn(e) {
5075
- let t, n, r, o, i = (
5053
+ function ln(e) {
5054
+ let t, n, r, i, o = (
5076
5055
  /*$_*/
5077
5056
  e[20]("forfeitBonus") + ""
5078
5057
  ), s, a, u, l, c = (
@@ -5084,11 +5063,11 @@ function hn(e) {
5084
5063
  ), b, m, v;
5085
5064
  return {
5086
5065
  c() {
5087
- t = A("div"), n = A("div"), r = A("div"), o = A("p"), s = $(i), a = j(), u = A("div"), l = A("button"), f = $(c), d = j(), p = A("button"), b = $(g), w(o, "class", "ModalText"), w(l, "class", "ModalCancel"), w(p, "class", "ModalConfirm"), w(u, "class", "ModalButtons"), w(r, "class", "ModalBody"), w(n, "class", "ModalContent"), w(t, "class", "ModalWrapper " + /*isMobile*/
5066
+ t = T("div"), n = T("div"), r = T("div"), i = T("p"), s = F(o), a = j(), u = T("div"), l = T("button"), f = F(c), d = j(), p = T("button"), b = F(g), w(i, "class", "ModalText"), w(l, "class", "ModalCancel"), w(p, "class", "ModalConfirm"), w(u, "class", "ModalButtons"), w(r, "class", "ModalBody"), w(n, "class", "ModalContent"), w(t, "class", "ModalWrapper " + /*isMobile*/
5088
5067
  (e[21] ? "ModalWrapperMobile" : ""));
5089
5068
  },
5090
5069
  m(_, B) {
5091
- D(_, t, B), E(t, n), E(n, r), E(r, o), E(o, s), E(r, a), E(r, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, b), m || (v = [
5070
+ D(_, t, B), E(t, n), E(n, r), E(r, i), E(i, s), E(r, a), E(r, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, b), m || (v = [
5092
5071
  Y(
5093
5072
  l,
5094
5073
  "click",
@@ -5108,20 +5087,20 @@ function hn(e) {
5108
5087
  },
5109
5088
  p(_, B) {
5110
5089
  B[0] & /*$_*/
5111
- 1048576 && i !== (i = /*$_*/
5112
- _[20]("forfeitBonus") + "") && ne(s, i), B[0] & /*$_*/
5090
+ 1048576 && o !== (o = /*$_*/
5091
+ _[20]("forfeitBonus") + "") && te(s, o), B[0] & /*$_*/
5113
5092
  1048576 && c !== (c = /*$_*/
5114
- _[20]("forfeitBonusCancel") + "") && ne(f, c), B[0] & /*$_*/
5093
+ _[20]("forfeitBonusCancel") + "") && te(f, c), B[0] & /*$_*/
5115
5094
  1048576 && g !== (g = /*$_*/
5116
- _[20]("forfeitBonusConfirm") + "") && ne(b, g);
5095
+ _[20]("forfeitBonusConfirm") + "") && te(b, g);
5117
5096
  },
5118
5097
  d(_) {
5119
- _ && F(t), m = !1, se(v);
5098
+ _ && $(t), m = !1, se(v);
5120
5099
  }
5121
5100
  };
5122
5101
  }
5123
- function Yi(e) {
5124
- let t, n, r, o, i = (
5102
+ function Qo(e) {
5103
+ let t, n, r, i, o = (
5125
5104
  /*$_*/
5126
5105
  e[20]("titleBonuses") + ""
5127
5106
  ), s, a, u, l, c = (
@@ -5130,26 +5109,26 @@ function Yi(e) {
5130
5109
  ), f, d, p, g, b, m, v = (
5131
5110
  /*$_*/
5132
5111
  e[20]("getBonus") + ""
5133
- ), _, B, N, T, x, I, M, W = (
5112
+ ), _, B, N, M, x, O, H, W = (
5134
5113
  /*isMobile*/
5135
- e[21] && Vi(e)
5114
+ e[21] && jo(e)
5136
5115
  ), L = (
5137
5116
  /*invalidBonusCode*/
5138
- e[11] && an(e)
5117
+ e[11] && on(e)
5139
5118
  );
5140
- function _e(P, V) {
5119
+ function Be(P, V) {
5141
5120
  return (
5142
5121
  /*isLoading*/
5143
- P[9] ? Xi : zi
5122
+ P[9] ? Vo : Wo
5144
5123
  );
5145
5124
  }
5146
- let oe = _e(e), X = oe(e), R = (
5125
+ let ie = Be(e), X = ie(e), R = (
5147
5126
  /*bonusModal*/
5148
- e[19] && hn(e)
5127
+ e[19] && ln(e)
5149
5128
  );
5150
5129
  return {
5151
5130
  c() {
5152
- t = A("div"), n = A("div"), W && W.c(), r = j(), o = A("h2"), s = $(i), a = j(), u = A("div"), l = A("label"), f = $(c), d = j(), p = A("div"), g = A("input"), b = j(), m = A("button"), _ = $(v), N = j(), L && L.c(), T = j(), X.c(), x = j(), R && R.c(), w(o, "class", "ActiveBonusesTitle " + /*isMobile*/
5131
+ t = T("div"), n = T("div"), W && W.c(), r = j(), i = T("h2"), s = F(o), a = j(), u = T("div"), l = T("label"), f = F(c), d = j(), p = T("div"), g = T("input"), b = j(), m = T("button"), _ = F(v), N = j(), L && L.c(), M = j(), X.c(), x = j(), R && R.c(), w(i, "class", "ActiveBonusesTitle " + /*isMobile*/
5153
5132
  (e[21] ? "ActiveBonusesTitleNone" : "")), w(l, "for", "BonusCode"), w(g, "class", "BonusCodeInput " + /*isMobile*/
5154
5133
  (e[21] ? "BonusCodeInputMobile" : "")), w(g, "type", "text"), w(g, "id", "BonusCode"), w(m, "class", "SubmitBonusCode " + /*isMobile*/
5155
5134
  (e[21] ? "SubmitBonusCodeMobile" : "")), m.disabled = B = /*invalidBonusField*/
@@ -5160,11 +5139,11 @@ function Yi(e) {
5160
5139
  (e[21] ? "ActiveBonusesWrapperMobile" : ""));
5161
5140
  },
5162
5141
  m(P, V) {
5163
- D(P, t, V), E(t, n), W && W.m(n, null), E(n, r), E(n, o), E(o, s), E(n, a), E(n, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, g), Nt(
5142
+ D(P, t, V), E(t, n), W && W.m(n, null), E(n, r), E(n, i), E(i, s), E(n, a), E(n, u), E(u, l), E(l, f), E(u, d), E(u, p), E(p, g), It(
5164
5143
  g,
5165
5144
  /*bonusCode*/
5166
5145
  e[12]
5167
- ), E(p, b), E(p, m), E(m, _), E(u, N), L && L.m(u, null), E(n, T), X.m(n, null), E(t, x), R && R.m(t, null), e[40](t), I || (M = [
5146
+ ), E(p, b), E(p, m), E(m, _), E(u, N), L && L.m(u, null), E(n, M), X.m(n, null), E(t, x), R && R.m(t, null), e[40](t), O || (H = [
5168
5147
  Y(
5169
5148
  g,
5170
5149
  "input",
@@ -5183,54 +5162,54 @@ function Yi(e) {
5183
5162
  /*claimBonus*/
5184
5163
  e[25]
5185
5164
  )
5186
- ], I = !0);
5165
+ ], O = !0);
5187
5166
  },
5188
5167
  p(P, V) {
5189
5168
  /*isMobile*/
5190
5169
  P[21] && W.p(P, V), V[0] & /*$_*/
5191
- 1048576 && i !== (i = /*$_*/
5192
- P[20]("titleBonuses") + "") && ne(s, i), V[0] & /*$_*/
5170
+ 1048576 && o !== (o = /*$_*/
5171
+ P[20]("titleBonuses") + "") && te(s, o), V[0] & /*$_*/
5193
5172
  1048576 && c !== (c = /*$_*/
5194
- P[20]("bonusCode") + "") && ne(f, c), V[0] & /*bonusCode*/
5173
+ P[20]("bonusCode") + "") && te(f, c), V[0] & /*bonusCode*/
5195
5174
  4096 && g.value !== /*bonusCode*/
5196
- P[12] && Nt(
5175
+ P[12] && It(
5197
5176
  g,
5198
5177
  /*bonusCode*/
5199
5178
  P[12]
5200
5179
  ), V[0] & /*$_*/
5201
5180
  1048576 && v !== (v = /*$_*/
5202
- P[20]("getBonus") + "") && ne(_, v), V[0] & /*invalidBonusField, isLoading*/
5181
+ P[20]("getBonus") + "") && te(_, v), V[0] & /*invalidBonusField, isLoading*/
5203
5182
  1536 && B !== (B = /*invalidBonusField*/
5204
5183
  P[10] || /*isLoading*/
5205
5184
  P[9]) && (m.disabled = B), /*invalidBonusCode*/
5206
- P[11] ? L ? L.p(P, V) : (L = an(P), L.c(), L.m(u, null)) : L && (L.d(1), L = null), oe === (oe = _e(P)) && X ? X.p(P, V) : (X.d(1), X = oe(P), X && (X.c(), X.m(n, null))), /*bonusModal*/
5207
- P[19] ? R ? R.p(P, V) : (R = hn(P), R.c(), R.m(t, null)) : R && (R.d(1), R = null);
5185
+ P[11] ? L ? L.p(P, V) : (L = on(P), L.c(), L.m(u, null)) : L && (L.d(1), L = null), ie === (ie = Be(P)) && X ? X.p(P, V) : (X.d(1), X = ie(P), X && (X.c(), X.m(n, null))), /*bonusModal*/
5186
+ P[19] ? R ? R.p(P, V) : (R = ln(P), R.c(), R.m(t, null)) : R && (R.d(1), R = null);
5208
5187
  },
5209
5188
  i: Q,
5210
5189
  o: Q,
5211
5190
  d(P) {
5212
- P && F(t), W && W.d(), L && L.d(), X.d(), R && R.d(), e[40](null), I = !1, se(M);
5191
+ P && $(t), W && W.d(), L && L.d(), X.d(), R && R.d(), e[40](null), O = !1, se(H);
5213
5192
  }
5214
5193
  };
5215
5194
  }
5216
- let Ki = "status=active", te = 6;
5217
- function es(e, t, n) {
5195
+ let Jo = "status=active", ee = 6;
5196
+ function Yo(e, t, n) {
5218
5197
  let r;
5219
- mr(e, Fi, (y) => n(20, r = y));
5220
- let { endpoint: o = "" } = t, { session: i = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f } = t, { translationurl: d = "" } = t, { currencylocale: p = "" } = t, { dateformat: g = "" } = t, { ishiddenwageringbonus: b = "false" } = t, m = !1, v, _ = window.navigator.userAgent, B = Ui(_) !== "PC", N = !0, T = !1, x = "", I = 0, M = 0, W = 0, L = 0, _e = 0, oe = [], X, R = "", P = !1;
5198
+ pr(e, Ro, (y) => n(20, r = y));
5199
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { currency: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f } = t, { translationurl: d = "" } = t, { currencylocale: p = "" } = t, { dateformat: g = "" } = t, { ishiddenwageringbonus: b = "false" } = t, m = !1, v, _ = window.navigator.userAgent, B = Fo(_) !== "PC", N = !0, M = !1, x = "", O = 0, H = 0, W = 0, L = 0, Be = 0, ie = [], X, R = "", P = !1;
5221
5200
  const V = () => {
5222
5201
  fetch(d).then((U) => U.json()).then((U) => {
5223
5202
  Object.keys(U).forEach((Z) => {
5224
- nn(Z, U[Z]);
5203
+ en(Z, U[Z]);
5225
5204
  });
5226
5205
  }).catch((U) => {
5227
5206
  console.log(U);
5228
5207
  });
5229
5208
  };
5230
- Object.keys(rn).forEach((y) => {
5231
- nn(y, rn[y]);
5209
+ Object.keys(tn).forEach((y) => {
5210
+ en(y, tn[y]);
5232
5211
  });
5233
- const xt = (y) => {
5212
+ const Et = (y) => {
5234
5213
  if (y.data)
5235
5214
  switch (y.data.type) {
5236
5215
  case "DeleteActiveBonus":
@@ -5238,7 +5217,7 @@ function es(e, t, n) {
5238
5217
  break;
5239
5218
  }
5240
5219
  };
5241
- function Zn(y, U) {
5220
+ function Xn(y, U) {
5242
5221
  return (...Z) => {
5243
5222
  clearTimeout(X), X = setTimeout(
5244
5223
  () => {
@@ -5248,7 +5227,7 @@ function es(e, t, n) {
5248
5227
  );
5249
5228
  };
5250
5229
  }
5251
- const Ct = () => {
5230
+ const wt = () => {
5252
5231
  window.postMessage(
5253
5232
  {
5254
5233
  type: "PlayerAccountMenuActive",
@@ -5256,21 +5235,21 @@ function es(e, t, n) {
5256
5235
  },
5257
5236
  window.location.href
5258
5237
  );
5259
- }, qn = () => !!x, Qn = () => {
5260
- n(10, N = !qn());
5261
- }, ee = (y) => {
5238
+ }, Zn = () => !!x, qn = () => {
5239
+ n(10, N = !Zn());
5240
+ }, K = (y) => {
5262
5241
  n(9, m = !0);
5263
5242
  let U = {
5264
5243
  method: "GET",
5265
- headers: { "X-SessionId": i }
5266
- }, Z = new URL(`${o}/v1/player/${s}/bonusWallet`);
5267
- Z.searchParams.append("filter", Ki), Z.searchParams.append("pagination", `offset=${y},limit=${te}`), fetch(Z, U).then((J) => J.json()).then(
5244
+ headers: { "X-SessionId": o }
5245
+ }, Z = new URL(`${i}/v1/player/${s}/bonusWallet`);
5246
+ Z.searchParams.append("filter", Jo), Z.searchParams.append("pagination", `offset=${y},limit=${ee}`), fetch(Z, U).then((J) => J.json()).then(
5268
5247
  (J) => {
5269
5248
  Array.isArray(J.items) && J.items.forEach((G) => {
5270
- var At, Tt;
5271
- const Pe = (Tt = (At = G == null ? void 0 : G.extension) == null ? void 0 : At.bonus) == null ? void 0 : Tt.presentation;
5272
- Pe && (G.termsandconditionsurl = Pe.url, G.termsandconditionsdescription = Pe.description, G.termsandconditionsasset = Pe.assets);
5273
- }), n(16, L = Math.ceil(J.total / te)), y - te >= 0 && n(13, I = y - te), y + te < J.total && n(14, M = y + te), n(15, W = (L - 1) * te), n(17, _e = y / te), n(18, oe = (J == null ? void 0 : J.items) || []), p && oe.forEach((G) => {
5249
+ var Ct, St;
5250
+ const Me = (St = (Ct = G == null ? void 0 : G.extension) == null ? void 0 : Ct.bonus) == null ? void 0 : St.presentation;
5251
+ Me && (G.termsandconditionsurl = Me.url, G.termsandconditionsdescription = Me.description, G.termsandconditionsasset = Me.assets);
5252
+ }), n(16, L = Math.ceil(J.total / ee)), y - ee >= 0 && n(13, O = y - ee), y + ee < J.total && n(14, H = y + ee), n(15, W = (L - 1) * ee), n(17, Be = y / ee), n(18, ie = (J == null ? void 0 : J.items) || []), p && ie.forEach((G) => {
5274
5253
  G.fulfilledWR = Te(G.fulfilledWR), G.originalWageringRequirement = Te(G.originalWageringRequirement), G.currentAmount = Te(G.currentAmount), G.extension.grantedPlayerCurrencyAmount = Te(G.extension.grantedPlayerCurrencyAmount);
5275
5254
  }), window.scrollTo({ top: 0, behavior: "smooth" });
5276
5255
  },
@@ -5280,17 +5259,17 @@ function es(e, t, n) {
5280
5259
  ).finally(() => {
5281
5260
  n(9, m = !1);
5282
5261
  });
5283
- }, Te = (y) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(y).replace(/\s/g, ""), Jn = () => {
5262
+ }, Te = (y) => new Intl.NumberFormat(p, { style: "currency", currency: u }).format(y).replace(/\s/g, ""), Qn = () => {
5284
5263
  n(9, m = !0);
5285
- let y = new URL(`${o}/v1/player/${s}/claimbonus`), U = {
5264
+ let y = new URL(`${i}/v1/player/${s}/claimbonus`), U = {
5286
5265
  method: "POST",
5287
5266
  headers: {
5288
- "X-SessionId": i,
5267
+ "X-SessionId": o,
5289
5268
  accept: "application/json"
5290
5269
  }
5291
5270
  };
5292
5271
  y.searchParams.append("currency", u), y.searchParams.append("bonusCode", x), fetch(y.href, U).then((Z) => {
5293
- Z.status == 200 ? (n(11, T = !1), ee(0), window.postMessage(
5272
+ Z.status == 200 ? (n(11, M = !1), K(0), window.postMessage(
5294
5273
  {
5295
5274
  type: "WidgetNotification",
5296
5275
  data: {
@@ -5303,7 +5282,7 @@ function es(e, t, n) {
5303
5282
  context: "PlayerActiveBonuses",
5304
5283
  userId: `${s || "Not logged in"}`,
5305
5284
  bonusCode: `${x}`
5306
- })) : (n(11, T = !0), window.postMessage(
5285
+ })) : (n(11, M = !0), window.postMessage(
5307
5286
  {
5308
5287
  type: "WidgetNotification",
5309
5288
  data: {
@@ -5316,49 +5295,49 @@ function es(e, t, n) {
5316
5295
  }).finally(() => {
5317
5296
  n(9, m = !1);
5318
5297
  });
5319
- }, St = () => {
5298
+ }, xt = () => {
5320
5299
  window.postMessage({ type: "EnableScroll" }, window.location.href), n(19, P = !1);
5321
- }, Yn = () => {
5300
+ }, Jn = () => {
5322
5301
  let y = {
5323
5302
  method: "DELETE",
5324
5303
  headers: {
5325
- "X-SessionId": i,
5304
+ "X-SessionId": o,
5326
5305
  "Content-Type": "application/json",
5327
5306
  Accept: "application/json"
5328
5307
  }
5329
- }, U = new URL(`${o}/v1/player/${s}/bonusWallet`);
5308
+ }, U = new URL(`${i}/v1/player/${s}/bonusWallet`);
5330
5309
  U.searchParams.append("bonusWalletID", R), fetch(U, y).then((Z) => {
5331
- Z.status == 200 && (ee(0), St());
5310
+ Z.status == 200 && (K(0), xt());
5332
5311
  });
5333
- }, Kn = () => {
5334
- Di(a);
5312
+ }, Yn = () => {
5313
+ $o(a);
5335
5314
  };
5336
- function er(y) {
5337
- return Zn(y, 1e3);
5315
+ function Kn(y) {
5316
+ return Xn(y, 1e3);
5338
5317
  }
5339
- Er(() => (window.addEventListener("message", xt, !1), () => {
5340
- window.removeEventListener("message", xt);
5318
+ Br(() => (window.addEventListener("message", Et, !1), () => {
5319
+ window.removeEventListener("message", Et);
5341
5320
  }));
5342
- const tr = () => Ct();
5343
- function nr() {
5321
+ const er = () => wt();
5322
+ function tr() {
5344
5323
  x = this.value, n(12, x);
5345
5324
  }
5346
- const rr = () => ee(0), or = () => ee(I), ir = (y) => ee(y * te), sr = () => ee(M), ar = () => ee(W);
5347
- function ur(y) {
5348
- nt[y ? "unshift" : "push"](() => {
5325
+ const nr = () => K(0), rr = () => K(O), ir = (y) => K(y * ee), or = () => K(H), sr = () => K(W);
5326
+ function ar(y) {
5327
+ et[y ? "unshift" : "push"](() => {
5349
5328
  v = y, n(8, v);
5350
5329
  });
5351
5330
  }
5352
5331
  return e.$$set = (y) => {
5353
- "endpoint" in y && n(29, o = y.endpoint), "session" in y && n(30, i = y.session), "playerid" in y && n(31, s = y.playerid), "lang" in y && n(0, a = y.lang), "currency" in y && n(32, u = y.currency), "clientstyling" in y && n(1, l = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, f = y.mbsource), "translationurl" in y && n(4, d = y.translationurl), "currencylocale" in y && n(5, p = y.currencylocale), "dateformat" in y && n(6, g = y.dateformat), "ishiddenwageringbonus" in y && n(7, b = y.ishiddenwageringbonus);
5332
+ "endpoint" in y && n(29, i = y.endpoint), "session" in y && n(30, o = y.session), "playerid" in y && n(31, s = y.playerid), "lang" in y && n(0, a = y.lang), "currency" in y && n(32, u = y.currency), "clientstyling" in y && n(1, l = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, f = y.mbsource), "translationurl" in y && n(4, d = y.translationurl), "currencylocale" in y && n(5, p = y.currencylocale), "dateformat" in y && n(6, g = y.dateformat), "ishiddenwageringbonus" in y && n(7, b = y.ishiddenwageringbonus);
5354
5333
  }, e.$$.update = () => {
5355
5334
  e.$$.dirty[0] & /*lang*/
5356
- 1 && a && Kn(), e.$$.dirty[0] & /*session, endpoint*/
5335
+ 1 && a && Yn(), e.$$.dirty[0] & /*session, endpoint*/
5357
5336
  1610612736 | e.$$.dirty[1] & /*playerid*/
5358
- 1 && i && s && o && ee(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5359
- 258 && l && v && Gi(v, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5360
- 260 && c && v && ki(v, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5361
- 264 && f && v && ji(v, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5337
+ 1 && o && s && i && K(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5338
+ 258 && l && v && Uo(v, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5339
+ 260 && c && v && Do(v, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5340
+ 264 && f && v && Go(v, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5362
5341
  16 && d && V();
5363
5342
  }, [
5364
5343
  a,
@@ -5372,46 +5351,46 @@ function es(e, t, n) {
5372
5351
  v,
5373
5352
  m,
5374
5353
  N,
5375
- T,
5376
- x,
5377
- I,
5378
5354
  M,
5355
+ x,
5356
+ O,
5357
+ H,
5379
5358
  W,
5380
5359
  L,
5381
- _e,
5382
- oe,
5360
+ Be,
5361
+ ie,
5383
5362
  P,
5384
5363
  r,
5385
5364
  B,
5386
- Ct,
5365
+ wt,
5366
+ qn,
5367
+ K,
5387
5368
  Qn,
5388
- ee,
5369
+ xt,
5389
5370
  Jn,
5390
- St,
5391
- Yn,
5392
- er,
5393
- o,
5371
+ Kn,
5394
5372
  i,
5373
+ o,
5395
5374
  s,
5396
5375
  u,
5376
+ er,
5397
5377
  tr,
5398
5378
  nr,
5399
5379
  rr,
5400
- or,
5401
5380
  ir,
5381
+ or,
5402
5382
  sr,
5403
- ar,
5404
- ur
5383
+ ar
5405
5384
  ];
5406
5385
  }
5407
- class Xn extends Nr {
5386
+ class zn extends Or {
5408
5387
  constructor(t) {
5409
- super(), Or(
5388
+ super(), Hr(
5410
5389
  this,
5411
5390
  t,
5412
- es,
5413
- Yi,
5414
- dn,
5391
+ Yo,
5392
+ Qo,
5393
+ hn,
5415
5394
  {
5416
5395
  endpoint: 29,
5417
5396
  session: 30,
@@ -5426,7 +5405,7 @@ class Xn extends Nr {
5426
5405
  dateformat: 6,
5427
5406
  ishiddenwageringbonus: 7
5428
5407
  },
5429
- Wi,
5408
+ ko,
5430
5409
  [-1, -1]
5431
5410
  );
5432
5411
  }
@@ -5503,38 +5482,38 @@ class Xn extends Nr {
5503
5482
  this.$$set({ ishiddenwageringbonus: t }), z();
5504
5483
  }
5505
5484
  }
5506
- Ir(Xn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
5507
- const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5485
+ Ir(zn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
5486
+ const ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5508
5487
  __proto__: null,
5509
- default: Xn
5488
+ default: zn
5510
5489
  }, Symbol.toStringTag, { value: "Module" }));
5511
5490
  export {
5512
- ve as $,
5513
- rs as P,
5514
- Nr as S,
5515
- kn as a,
5516
- br as b,
5517
- ne as c,
5518
- F as d,
5519
- w as e,
5491
+ ye as $,
5492
+ ts as P,
5493
+ Or as S,
5494
+ Gn as a,
5495
+ mr as b,
5496
+ Ir as c,
5497
+ j as d,
5498
+ T as e,
5520
5499
  z as f,
5521
- D as g,
5522
- E as h,
5523
- Or as i,
5524
- A as j,
5525
- j as k,
5526
- mr as l,
5527
- Ui as m,
5500
+ w as g,
5501
+ D as h,
5502
+ Hr as i,
5503
+ E as j,
5504
+ te as k,
5505
+ $ as l,
5506
+ pr as m,
5528
5507
  Q as n,
5529
- Er as o,
5530
- ns as p,
5531
- Y as q,
5532
- nt as r,
5533
- dn as s,
5534
- $ as t,
5535
- Gi as u,
5536
- ki as v,
5537
- ji as w,
5538
- Ir as x,
5539
- Fi as y
5508
+ Fo as o,
5509
+ Br as p,
5510
+ Go as q,
5511
+ es as r,
5512
+ hn as s,
5513
+ F as t,
5514
+ Y as u,
5515
+ et as v,
5516
+ Uo as w,
5517
+ Do as x,
5518
+ Ro as y
5540
5519
  };