@everymatrix/player-account-balance-modal-nd 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- function se() {
1
+ function ue() {
2
2
  }
3
3
  function Cn(e) {
4
4
  return e();
@@ -22,7 +22,7 @@ function On(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const r of t)
24
24
  r(void 0);
25
- return se;
25
+ return ue;
26
26
  }
27
27
  const n = e.subscribe(...t);
28
28
  return n.unsubscribe ? () => n.unsubscribe() : n;
@@ -30,18 +30,19 @@ function On(e, ...t) {
30
30
  function sr(e, t, n) {
31
31
  e.$$.on_destroy.push(On(t, n));
32
32
  }
33
- function C(e, t) {
33
+ function H(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
36
  function lr(e, t, n) {
37
37
  const r = ur(e);
38
38
  if (!r.getElementById(t)) {
39
- const i = $("style");
39
+ const i = j("style");
40
40
  i.id = t, i.textContent = n, cr(r, i);
41
41
  }
42
42
  }
43
43
  function ur(e) {
44
- if (!e) return document;
44
+ if (!e)
45
+ return document;
45
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
47
  return t && /** @type {ShadowRoot} */
47
48
  t.host ? (
@@ -50,38 +51,38 @@ function ur(e) {
50
51
  ) : e.ownerDocument;
51
52
  }
52
53
  function cr(e, t) {
53
- return C(
54
+ return H(
54
55
  /** @type {Document} */
55
56
  e.head || e,
56
57
  t
57
58
  ), t.sheet;
58
59
  }
59
- function me(e, t, n) {
60
+ function ge(e, t, n) {
60
61
  e.insertBefore(t, n || null);
61
62
  }
62
- function he(e) {
63
+ function pe(e) {
63
64
  e.parentNode && e.parentNode.removeChild(e);
64
65
  }
65
66
  function Rn(e, t) {
66
67
  for (let n = 0; n < e.length; n += 1)
67
68
  e[n] && e[n].d(t);
68
69
  }
69
- function $(e) {
70
+ function j(e) {
70
71
  return document.createElement(e);
71
72
  }
72
73
  function an(e) {
73
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
74
75
  }
75
- function ce(e) {
76
+ function de(e) {
76
77
  return document.createTextNode(e);
77
78
  }
78
- function fe() {
79
- return ce(" ");
79
+ function me() {
80
+ return de(" ");
80
81
  }
81
82
  function hr() {
82
- return ce("");
83
+ return de("");
83
84
  }
84
- function dt(e, t, n, r) {
85
+ function mt(e, t, n, r) {
85
86
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
86
87
  }
87
88
  function M(e, t, n) {
@@ -90,7 +91,7 @@ function M(e, t, n) {
90
91
  function fr(e) {
91
92
  return Array.from(e.childNodes);
92
93
  }
93
- function _e(e, t) {
94
+ function Te(e, t) {
94
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
95
96
  t);
96
97
  }
@@ -108,7 +109,8 @@ function Ye(e) {
108
109
  Ke = e;
109
110
  }
110
111
  function pr() {
111
- if (!Ke) throw new Error("Function called outside component initialization");
112
+ if (!Ke)
113
+ throw new Error("Function called outside component initialization");
112
114
  return Ke;
113
115
  }
114
116
  function mr(e) {
@@ -119,14 +121,14 @@ let Pe = [];
119
121
  const on = [], gr = /* @__PURE__ */ Promise.resolve();
120
122
  let Ut = !1;
121
123
  function br() {
122
- Ut || (Ut = !0, gr.then(Q));
124
+ Ut || (Ut = !0, gr.then(J));
123
125
  }
124
126
  function Ft(e) {
125
127
  Pe.push(e);
126
128
  }
127
129
  const Ot = /* @__PURE__ */ new Set();
128
130
  let Me = 0;
129
- function Q() {
131
+ function J() {
130
132
  if (Me !== 0)
131
133
  return;
132
134
  const e = Ke;
@@ -139,7 +141,8 @@ function Q() {
139
141
  } catch (t) {
140
142
  throw Ie.length = 0, Me = 0, t;
141
143
  }
142
- for (Ye(null), Ie.length = 0, Me = 0; Dt.length; ) Dt.pop()();
144
+ for (Ye(null), Ie.length = 0, Me = 0; Dt.length; )
145
+ Dt.pop()();
143
146
  for (let t = 0; t < Pe.length; t += 1) {
144
147
  const n = Pe[t];
145
148
  Ot.has(n) || (Ot.add(n), n());
@@ -165,7 +168,7 @@ const Er = /* @__PURE__ */ new Set();
165
168
  function xr(e, t) {
166
169
  e && e.i && (Er.delete(e), e.i(t));
167
170
  }
168
- function pt(e) {
171
+ function gt(e) {
169
172
  return e?.length !== void 0 ? e : Array.from(e);
170
173
  }
171
174
  function _r(e, t, n) {
@@ -190,7 +193,7 @@ function wr(e, t, n, r, i, a, l = null, s = [-1]) {
190
193
  ctx: [],
191
194
  // state
192
195
  props: a,
193
- update: se,
196
+ update: ue,
194
197
  not_equal: i,
195
198
  bound: rn(),
196
199
  // lifecycle
@@ -208,16 +211,16 @@ function wr(e, t, n, r, i, a, l = null, s = [-1]) {
208
211
  };
209
212
  l && l(u.root);
210
213
  let d = !1;
211
- if (u.ctx = n ? n(e, t.props || {}, (b, y, ...B) => {
212
- const x = B.length ? B[0] : y;
213
- return u.ctx && i(u.ctx[b], u.ctx[b] = x) && (!u.skip_bound && u.bound[b] && u.bound[b](x), d && Tr(e, b)), y;
214
+ if (u.ctx = n ? n(e, t.props || {}, (g, b, ..._) => {
215
+ const T = _.length ? _[0] : b;
216
+ return u.ctx && i(u.ctx[g], u.ctx[g] = T) && (!u.skip_bound && u.bound[g] && u.bound[g](T), d && Tr(e, g)), b;
214
217
  }) : [], u.update(), d = !0, $e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
215
218
  if (t.hydrate) {
216
- const b = fr(t.target);
217
- u.fragment && u.fragment.l(b), b.forEach(he);
219
+ const g = fr(t.target);
220
+ u.fragment && u.fragment.l(g), g.forEach(pe);
218
221
  } else
219
222
  u.fragment && u.fragment.c();
220
- t.intro && xr(e.$$.fragment), _r(e, t.target, t.anchor), Q();
223
+ t.intro && xr(e.$$.fragment), _r(e, t.target, t.anchor), J();
221
224
  }
222
225
  Ye(h);
223
226
  }
@@ -264,17 +267,17 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
264
267
  let a;
265
268
  return {
266
269
  c: function() {
267
- a = $("slot"), i !== "default" && M(a, "name", i);
270
+ a = j("slot"), i !== "default" && M(a, "name", i);
268
271
  },
269
272
  /**
270
273
  * @param {HTMLElement} target
271
274
  * @param {HTMLElement} [anchor]
272
275
  */
273
276
  m: function(h, u) {
274
- me(h, a, u);
277
+ ge(h, a, u);
275
278
  },
276
279
  d: function(h) {
277
- h && he(a);
280
+ h && pe(a);
278
281
  }
279
282
  };
280
283
  };
@@ -286,7 +289,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
286
289
  i in n && (t[i] = [e(i)]);
287
290
  for (const i of this.attributes) {
288
291
  const a = this.$$g_p(i.name);
289
- a in this.$$d || (this.$$d[a] = ut(a, i.value, this.$$p_d, "toProp"));
292
+ a in this.$$d || (this.$$d[a] = ht(a, i.value, this.$$p_d, "toProp"));
290
293
  }
291
294
  for (const i in this.$$p_d)
292
295
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -304,7 +307,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
304
307
  this.$$r = !0;
305
308
  for (const i in this.$$p_d)
306
309
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
307
- const a = ut(
310
+ const a = ht(
308
311
  i,
309
312
  this.$$d[i],
310
313
  this.$$p_d,
@@ -326,7 +329,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
326
329
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
327
330
  // and setting attributes through setAttribute etc, this is helpful
328
331
  attributeChangedCallback(e, t, n) {
329
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ut(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
332
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ht(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
330
333
  }
331
334
  disconnectedCallback() {
332
335
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -339,7 +342,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
339
342
  ) || e;
340
343
  }
341
344
  });
342
- function ut(e, t, n, r) {
345
+ function ht(e, t, n, r) {
343
346
  const i = n[e]?.type;
344
347
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
345
348
  return t;
@@ -385,7 +388,7 @@ function Sr(e, t, n, r, i, a) {
385
388
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
386
389
  },
387
390
  set(h) {
388
- h = ut(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
391
+ h = ht(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
389
392
  }
390
393
  });
391
394
  }), r.forEach((s) => {
@@ -416,7 +419,7 @@ class Ar {
416
419
  $$set = void 0;
417
420
  /** @returns {void} */
418
421
  $destroy() {
419
- Br(this, 1), this.$destroy = se;
422
+ Br(this, 1), this.$destroy = ue;
420
423
  }
421
424
  /**
422
425
  * @template {Extract<keyof Events, string>} K
@@ -426,7 +429,7 @@ class Ar {
426
429
  */
427
430
  $on(t, n) {
428
431
  if (!Qt(n))
429
- return se;
432
+ return ue;
430
433
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
431
434
  return r.push(n), () => {
432
435
  const i = r.indexOf(n);
@@ -443,13 +446,36 @@ class Ar {
443
446
  }
444
447
  const Cr = "4";
445
448
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
446
- const Ne = [];
447
449
  function Hr(e, t) {
450
+ if (e) {
451
+ const n = document.createElement("style");
452
+ n.innerHTML = t, e.appendChild(n);
453
+ }
454
+ }
455
+ function Or(e, t) {
456
+ const n = new URL(t);
457
+ fetch(n.href).then((r) => r.text()).then((r) => {
458
+ const i = document.createElement("style");
459
+ i.innerHTML = r, e && e.appendChild(i);
460
+ }).catch((r) => {
461
+ console.error("There was an error while trying to load client styling from URL", r);
462
+ });
463
+ }
464
+ function Rr(e, t, n) {
465
+ if (window.emMessageBus) {
466
+ const r = document.createElement("style");
467
+ window.emMessageBus.subscribe(t, (i) => {
468
+ r.innerHTML = i, e && e.appendChild(r);
469
+ });
470
+ }
471
+ }
472
+ const Ne = [];
473
+ function Lr(e, t) {
448
474
  return {
449
- subscribe: bt(e, t).subscribe
475
+ subscribe: vt(e, t).subscribe
450
476
  };
451
477
  }
452
- function bt(e, t = se) {
478
+ function vt(e, t = ue) {
453
479
  let n;
454
480
  const r = /* @__PURE__ */ new Set();
455
481
  function i(s) {
@@ -467,9 +493,9 @@ function bt(e, t = se) {
467
493
  function a(s) {
468
494
  i(s(e));
469
495
  }
470
- function l(s, h = se) {
496
+ function l(s, h = ue) {
471
497
  const u = [s, h];
472
- return r.add(u), r.size === 1 && (n = t(i, a) || se), s(e), () => {
498
+ return r.add(u), r.size === 1 && (n = t(i, a) || ue), s(e), () => {
473
499
  r.delete(u), r.size === 0 && n && (n(), n = null);
474
500
  };
475
501
  }
@@ -480,74 +506,74 @@ function ke(e, t, n) {
480
506
  if (!i.every(Boolean))
481
507
  throw new Error("derived() expects stores as input, got a falsy value");
482
508
  const a = t.length < 2;
483
- return Hr(n, (l, s) => {
509
+ return Lr(n, (l, s) => {
484
510
  let h = !1;
485
511
  const u = [];
486
- let d = 0, b = se;
487
- const y = () => {
512
+ let d = 0, g = ue;
513
+ const b = () => {
488
514
  if (d)
489
515
  return;
490
- b();
491
- const x = t(r ? u[0] : u, l, s);
492
- a ? l(x) : b = Qt(x) ? x : se;
493
- }, B = i.map(
494
- (x, H) => On(
495
- x,
496
- (_) => {
497
- u[H] = _, d &= ~(1 << H), h && y();
516
+ g();
517
+ const T = t(r ? u[0] : u, l, s);
518
+ a ? l(T) : g = Qt(T) ? T : ue;
519
+ }, _ = i.map(
520
+ (T, S) => On(
521
+ T,
522
+ (x) => {
523
+ u[S] = x, d &= ~(1 << S), h && b();
498
524
  },
499
525
  () => {
500
- d |= 1 << H;
526
+ d |= 1 << S;
501
527
  }
502
528
  )
503
529
  );
504
- return h = !0, y(), function() {
505
- $e(B), b(), h = !1;
530
+ return h = !0, b(), function() {
531
+ $e(_), g(), h = !1;
506
532
  };
507
533
  });
508
534
  }
509
- var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
510
- function Rr(e) {
535
+ var Mr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
536
+ function Nr(e) {
511
537
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
512
538
  }
513
- var Lr = function(t) {
514
- return Mr(t) && !Nr(t);
539
+ var Ir = function(t) {
540
+ return Pr(t) && !Dr(t);
515
541
  };
516
- function Mr(e) {
542
+ function Pr(e) {
517
543
  return !!e && typeof e == "object";
518
544
  }
519
- function Nr(e) {
545
+ function Dr(e) {
520
546
  var t = Object.prototype.toString.call(e);
521
- return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
547
+ return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
522
548
  }
523
- var Ir = typeof Symbol == "function" && Symbol.for, Pr = Ir ? Symbol.for("react.element") : 60103;
524
- function Dr(e) {
525
- return e.$$typeof === Pr;
549
+ var Ur = typeof Symbol == "function" && Symbol.for, Fr = Ur ? Symbol.for("react.element") : 60103;
550
+ function Gr(e) {
551
+ return e.$$typeof === Fr;
526
552
  }
527
- function Ur(e) {
553
+ function $r(e) {
528
554
  return Array.isArray(e) ? [] : {};
529
555
  }
530
556
  function et(e, t) {
531
- return t.clone !== !1 && t.isMergeableObject(e) ? De(Ur(e), e, t) : e;
557
+ return t.clone !== !1 && t.isMergeableObject(e) ? De($r(e), e, t) : e;
532
558
  }
533
- function Fr(e, t, n) {
559
+ function kr(e, t, n) {
534
560
  return e.concat(t).map(function(r) {
535
561
  return et(r, n);
536
562
  });
537
563
  }
538
- function Gr(e, t) {
564
+ function jr(e, t) {
539
565
  if (!t.customMerge)
540
566
  return De;
541
567
  var n = t.customMerge(e);
542
568
  return typeof n == "function" ? n : De;
543
569
  }
544
- function $r(e) {
570
+ function Vr(e) {
545
571
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
546
572
  return Object.propertyIsEnumerable.call(e, t);
547
573
  }) : [];
548
574
  }
549
575
  function sn(e) {
550
- return Object.keys(e).concat($r(e));
576
+ return Object.keys(e).concat(Vr(e));
551
577
  }
552
578
  function Mn(e, t) {
553
579
  try {
@@ -556,21 +582,21 @@ function Mn(e, t) {
556
582
  return !1;
557
583
  }
558
584
  }
559
- function kr(e, t) {
585
+ function Xr(e, t) {
560
586
  return Mn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
561
587
  }
562
- function jr(e, t, n) {
588
+ function zr(e, t, n) {
563
589
  var r = {};
564
590
  return n.isMergeableObject(e) && sn(e).forEach(function(i) {
565
591
  r[i] = et(e[i], n);
566
592
  }), sn(t).forEach(function(i) {
567
- kr(e, i) || (Mn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Gr(i, n)(e[i], t[i], n) : r[i] = et(t[i], n));
593
+ Xr(e, i) || (Mn(e, i) && n.isMergeableObject(t[i]) ? r[i] = jr(i, n)(e[i], t[i], n) : r[i] = et(t[i], n));
568
594
  }), r;
569
595
  }
570
596
  function De(e, t, n) {
571
- n = n || {}, n.arrayMerge = n.arrayMerge || Fr, n.isMergeableObject = n.isMergeableObject || Lr, n.cloneUnlessOtherwiseSpecified = et;
597
+ n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject || Ir, n.cloneUnlessOtherwiseSpecified = et;
572
598
  var r = Array.isArray(t), i = Array.isArray(e), a = r === i;
573
- return a ? r ? n.arrayMerge(e, t, n) : jr(e, t, n) : et(t, n);
599
+ return a ? r ? n.arrayMerge(e, t, n) : zr(e, t, n) : et(t, n);
574
600
  }
575
601
  De.all = function(t, n) {
576
602
  if (!Array.isArray(t))
@@ -579,16 +605,31 @@ De.all = function(t, n) {
579
605
  return De(r, i, n);
580
606
  }, {});
581
607
  };
582
- var Vr = De, Xr = Vr;
583
- const zr = /* @__PURE__ */ Rr(Xr);
608
+ var Wr = De, Zr = Wr;
609
+ const qr = /* @__PURE__ */ Nr(Zr);
610
+ /*! *****************************************************************************
611
+ Copyright (c) Microsoft Corporation.
612
+
613
+ Permission to use, copy, modify, and/or distribute this software for any
614
+ purpose with or without fee is hereby granted.
615
+
616
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
617
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
618
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
619
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
620
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
621
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
622
+ PERFORMANCE OF THIS SOFTWARE.
623
+ ***************************************************************************** */
584
624
  var Gt = function(e, t) {
585
625
  return Gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
586
626
  n.__proto__ = r;
587
627
  } || function(n, r) {
588
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
628
+ for (var i in r)
629
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
589
630
  }, Gt(e, t);
590
631
  };
591
- function yt(e, t) {
632
+ function Et(e, t) {
592
633
  if (typeof t != "function" && t !== null)
593
634
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
594
635
  Gt(e, t);
@@ -601,36 +642,39 @@ var I = function() {
601
642
  return I = Object.assign || function(t) {
602
643
  for (var n, r = 1, i = arguments.length; r < i; r++) {
603
644
  n = arguments[r];
604
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
645
+ for (var a in n)
646
+ Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
605
647
  }
606
648
  return t;
607
649
  }, I.apply(this, arguments);
608
650
  };
609
- function Wr(e, t) {
651
+ function Qr(e, t) {
610
652
  var n = {};
611
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
653
+ for (var r in e)
654
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
612
655
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
613
656
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
614
657
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
615
658
  return n;
616
659
  }
617
660
  function Rt(e, t, n) {
618
- if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++)
619
- (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
620
- return e.concat(a || Array.prototype.slice.call(t));
661
+ if (arguments.length === 2)
662
+ for (var r = 0, i = t.length, a; r < i; r++)
663
+ (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
664
+ return e.concat(a || t);
621
665
  }
622
666
  function Lt(e, t) {
623
- var n = t && t.cache ? t.cache : Kr, r = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : qr;
667
+ var n = t && t.cache ? t.cache : ni, r = t && t.serializer ? t.serializer : ti, i = t && t.strategy ? t.strategy : Yr;
624
668
  return i(e, {
625
669
  cache: n,
626
670
  serializer: r
627
671
  });
628
672
  }
629
- function Zr(e) {
673
+ function Jr(e) {
630
674
  return e == null || typeof e == "number" || typeof e == "boolean";
631
675
  }
632
676
  function Nn(e, t, n, r) {
633
- var i = Zr(r) ? r : n(r), a = t.get(i);
677
+ var i = Jr(r) ? r : n(r), a = t.get(i);
634
678
  return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
635
679
  }
636
680
  function In(e, t, n) {
@@ -640,17 +684,17 @@ function In(e, t, n) {
640
684
  function Jt(e, t, n, r, i) {
641
685
  return n.bind(t, e, r, i);
642
686
  }
643
- function qr(e, t) {
687
+ function Yr(e, t) {
644
688
  var n = e.length === 1 ? Nn : In;
645
689
  return Jt(e, this, n, t.cache.create(), t.serializer);
646
690
  }
647
- function Qr(e, t) {
691
+ function Kr(e, t) {
648
692
  return Jt(e, this, In, t.cache.create(), t.serializer);
649
693
  }
650
- function Jr(e, t) {
694
+ function ei(e, t) {
651
695
  return Jt(e, this, Nn, t.cache.create(), t.serializer);
652
696
  }
653
- var Yr = function() {
697
+ var ti = function() {
654
698
  return JSON.stringify(arguments);
655
699
  };
656
700
  function Yt() {
@@ -662,51 +706,51 @@ Yt.prototype.get = function(e) {
662
706
  Yt.prototype.set = function(e, t) {
663
707
  this.cache[e] = t;
664
708
  };
665
- var Kr = {
709
+ var ni = {
666
710
  create: function() {
667
711
  return new Yt();
668
712
  }
669
713
  }, Mt = {
670
- variadic: Qr,
671
- monadic: Jr
714
+ variadic: Kr,
715
+ monadic: ei
672
716
  }, R;
673
717
  (function(e) {
674
718
  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";
675
719
  })(R || (R = {}));
676
- var G;
720
+ var k;
677
721
  (function(e) {
678
722
  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";
679
- })(G || (G = {}));
723
+ })(k || (k = {}));
680
724
  var Ue;
681
725
  (function(e) {
682
726
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
683
727
  })(Ue || (Ue = {}));
684
728
  function ln(e) {
685
- return e.type === G.literal;
729
+ return e.type === k.literal;
686
730
  }
687
- function ei(e) {
688
- return e.type === G.argument;
731
+ function ri(e) {
732
+ return e.type === k.argument;
689
733
  }
690
734
  function Pn(e) {
691
- return e.type === G.number;
735
+ return e.type === k.number;
692
736
  }
693
737
  function Dn(e) {
694
- return e.type === G.date;
738
+ return e.type === k.date;
695
739
  }
696
740
  function Un(e) {
697
- return e.type === G.time;
741
+ return e.type === k.time;
698
742
  }
699
743
  function Fn(e) {
700
- return e.type === G.select;
744
+ return e.type === k.select;
701
745
  }
702
746
  function Gn(e) {
703
- return e.type === G.plural;
747
+ return e.type === k.plural;
704
748
  }
705
- function ti(e) {
706
- return e.type === G.pound;
749
+ function ii(e) {
750
+ return e.type === k.pound;
707
751
  }
708
752
  function $n(e) {
709
- return e.type === G.tag;
753
+ return e.type === k.tag;
710
754
  }
711
755
  function kn(e) {
712
756
  return !!(e && typeof e == "object" && e.type === Ue.number);
@@ -714,10 +758,10 @@ function kn(e) {
714
758
  function $t(e) {
715
759
  return !!(e && typeof e == "object" && e.type === Ue.dateTime);
716
760
  }
717
- var jn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
718
- function ri(e) {
761
+ var jn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ai = /(?:[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;
762
+ function oi(e) {
719
763
  var t = {};
720
- return e.replace(ni, function(n) {
764
+ return e.replace(ai, function(n) {
721
765
  var r = n.length;
722
766
  switch (n[0]) {
723
767
  case "G":
@@ -806,29 +850,29 @@ function ri(e) {
806
850
  return "";
807
851
  }), t;
808
852
  }
809
- var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
810
- function ai(e) {
853
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
854
+ function li(e) {
811
855
  if (e.length === 0)
812
856
  throw new Error("Number skeleton cannot be empty");
813
- for (var t = e.split(ii).filter(function(y) {
814
- return y.length > 0;
857
+ for (var t = e.split(si).filter(function(b) {
858
+ return b.length > 0;
815
859
  }), n = [], r = 0, i = t; r < i.length; r++) {
816
860
  var a = i[r], l = a.split("/");
817
861
  if (l.length === 0)
818
862
  throw new Error("Invalid number skeleton");
819
863
  for (var s = l[0], h = l.slice(1), u = 0, d = h; u < d.length; u++) {
820
- var b = d[u];
821
- if (b.length === 0)
864
+ var g = d[u];
865
+ if (g.length === 0)
822
866
  throw new Error("Invalid number skeleton");
823
867
  }
824
868
  n.push({ stem: s, options: h });
825
869
  }
826
870
  return n;
827
871
  }
828
- function oi(e) {
872
+ function ui(e) {
829
873
  return e.replace(/^(.*?)-/, "");
830
874
  }
831
- var un = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vn = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, Xn = /^(0+)$/;
875
+ var un = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vn = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, Xn = /^(0+)$/;
832
876
  function cn(e) {
833
877
  var t = {};
834
878
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vn, function(n, r, i) {
@@ -875,7 +919,7 @@ function zn(e) {
875
919
  };
876
920
  }
877
921
  }
878
- function li(e) {
922
+ function hi(e) {
879
923
  var t;
880
924
  if (e[0] === "E" && e[1] === "E" ? (t = {
881
925
  notation: "engineering"
@@ -893,7 +937,7 @@ function hn(e) {
893
937
  var t = {}, n = zn(e);
894
938
  return n || t;
895
939
  }
896
- function ui(e) {
940
+ function fi(e) {
897
941
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
898
942
  var i = r[n];
899
943
  switch (i.stem) {
@@ -917,7 +961,7 @@ function ui(e) {
917
961
  continue;
918
962
  case "measure-unit":
919
963
  case "unit":
920
- t.style = "unit", t.unit = oi(i.options[0]);
964
+ t.style = "unit", t.unit = ui(i.options[0]);
921
965
  continue;
922
966
  case "compact-short":
923
967
  case "K":
@@ -979,13 +1023,13 @@ function ui(e) {
979
1023
  case "integer-width":
980
1024
  if (i.options.length > 1)
981
1025
  throw new RangeError("integer-width stems only accept a single optional option");
982
- i.options[0].replace(si, function(h, u, d, b, y, B) {
1026
+ i.options[0].replace(ci, function(h, u, d, g, b, _) {
983
1027
  if (u)
984
1028
  t.minimumIntegerDigits = d.length;
985
1029
  else {
986
- if (b && y)
1030
+ if (g && b)
987
1031
  throw new Error("We currently do not support maximum integer digits");
988
- if (B)
1032
+ if (_)
989
1033
  throw new Error("We currently do not support exact integer digits");
990
1034
  }
991
1035
  return "";
@@ -999,8 +1043,8 @@ function ui(e) {
999
1043
  if (un.test(i.stem)) {
1000
1044
  if (i.options.length > 1)
1001
1045
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1002
- i.stem.replace(un, function(h, u, d, b, y, B) {
1003
- return d === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : y && B ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + B.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1046
+ i.stem.replace(un, function(h, u, d, g, b, _) {
1047
+ return d === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : b && _ ? (t.minimumFractionDigits = b.length, t.maximumFractionDigits = b.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1004
1048
  });
1005
1049
  var a = i.options[0];
1006
1050
  a === "w" ? t = I(I({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = I(I({}, t), cn(a)));
@@ -1012,12 +1056,12 @@ function ui(e) {
1012
1056
  }
1013
1057
  var l = zn(i.stem);
1014
1058
  l && (t = I(I({}, t), l));
1015
- var s = li(i.stem);
1059
+ var s = hi(i.stem);
1016
1060
  s && (t = I(I({}, t), s));
1017
1061
  }
1018
1062
  return t;
1019
1063
  }
1020
- var lt = {
1064
+ var ct = {
1021
1065
  "001": [
1022
1066
  "H",
1023
1067
  "h"
@@ -2432,22 +2476,23 @@ var lt = {
2432
2476
  "h"
2433
2477
  ]
2434
2478
  };
2435
- function ci(e, t) {
2479
+ function di(e, t) {
2436
2480
  for (var n = "", r = 0; r < e.length; r++) {
2437
2481
  var i = e.charAt(r);
2438
2482
  if (i === "j") {
2439
2483
  for (var a = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2440
2484
  a++, r++;
2441
- var l = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), h = "a", u = hi(t);
2485
+ var l = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), h = "a", u = pi(t);
2442
2486
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2443
2487
  n += h;
2444
2488
  for (; l-- > 0; )
2445
2489
  n = u + n;
2446
- } else i === "J" ? n += "H" : n += i;
2490
+ } else
2491
+ i === "J" ? n += "H" : n += i;
2447
2492
  }
2448
2493
  return n;
2449
2494
  }
2450
- function hi(e) {
2495
+ function pi(e) {
2451
2496
  var t = e.hourCycle;
2452
2497
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2453
2498
  e.hourCycles && // @ts-ignore
@@ -2466,23 +2511,23 @@ function hi(e) {
2466
2511
  }
2467
2512
  var n = e.language, r;
2468
2513
  n !== "root" && (r = e.maximize().region);
2469
- var i = lt[r || ""] || lt[n || ""] || lt["".concat(n, "-001")] || lt["001"];
2514
+ var i = ct[r || ""] || ct[n || ""] || ct["".concat(n, "-001")] || ct["001"];
2470
2515
  return i[0];
2471
2516
  }
2472
- var Nt, fi = new RegExp("^".concat(jn.source, "*")), di = new RegExp("".concat(jn.source, "*$"));
2517
+ var Nt, mi = new RegExp("^".concat(jn.source, "*")), gi = new RegExp("".concat(jn.source, "*$"));
2473
2518
  function L(e, t) {
2474
2519
  return { start: e, end: t };
2475
2520
  }
2476
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, gi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, xi = Ei ? Number.isSafeInteger : function(e) {
2521
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, Ei = !!String.prototype.codePointAt, xi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Ti = Bi ? Number.isSafeInteger : function(e) {
2477
2522
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2478
2523
  }, kt = !0;
2479
2524
  try {
2480
- var _i = Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2481
- kt = ((Nt = _i.exec("a")) === null || Nt === void 0 ? void 0 : Nt[0]) === "a";
2525
+ var wi = Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2526
+ kt = ((Nt = wi.exec("a")) === null || Nt === void 0 ? void 0 : Nt[0]) === "a";
2482
2527
  } catch {
2483
2528
  kt = !1;
2484
2529
  }
2485
- var fn = pi ? (
2530
+ var fn = bi ? (
2486
2531
  // Native
2487
2532
  function(t, n, r) {
2488
2533
  return t.startsWith(n, r);
@@ -2492,7 +2537,7 @@ var fn = pi ? (
2492
2537
  function(t, n, r) {
2493
2538
  return t.slice(r, r + n.length) === n;
2494
2539
  }
2495
- ), jt = mi ? String.fromCodePoint : (
2540
+ ), jt = yi ? String.fromCodePoint : (
2496
2541
  // IE11
2497
2542
  function() {
2498
2543
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2506,7 +2551,7 @@ var fn = pi ? (
2506
2551
  }
2507
2552
  ), dn = (
2508
2553
  // native
2509
- gi ? Object.fromEntries : (
2554
+ vi ? Object.fromEntries : (
2510
2555
  // Ponyfill
2511
2556
  function(t) {
2512
2557
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2516,7 +2561,7 @@ var fn = pi ? (
2516
2561
  return n;
2517
2562
  }
2518
2563
  )
2519
- ), Wn = bi ? (
2564
+ ), Wn = Ei ? (
2520
2565
  // Native
2521
2566
  function(t, n) {
2522
2567
  return t.codePointAt(n);
@@ -2530,7 +2575,7 @@ var fn = pi ? (
2530
2575
  return i < 55296 || i > 56319 || n + 1 === r || (a = t.charCodeAt(n + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2531
2576
  }
2532
2577
  }
2533
- ), Bi = yi ? (
2578
+ ), Si = xi ? (
2534
2579
  // Native
2535
2580
  function(t) {
2536
2581
  return t.trimStart();
@@ -2538,9 +2583,9 @@ var fn = pi ? (
2538
2583
  ) : (
2539
2584
  // Ponyfill
2540
2585
  function(t) {
2541
- return t.replace(fi, "");
2586
+ return t.replace(mi, "");
2542
2587
  }
2543
- ), Ti = vi ? (
2588
+ ), Ai = _i ? (
2544
2589
  // Native
2545
2590
  function(t) {
2546
2591
  return t.trimEnd();
@@ -2548,7 +2593,7 @@ var fn = pi ? (
2548
2593
  ) : (
2549
2594
  // Ponyfill
2550
2595
  function(t) {
2551
- return t.replace(di, "");
2596
+ return t.replace(gi, "");
2552
2597
  }
2553
2598
  );
2554
2599
  function Zn(e, t) {
@@ -2567,13 +2612,13 @@ if (kt) {
2567
2612
  Vt = function(t, n) {
2568
2613
  for (var r = []; ; ) {
2569
2614
  var i = Wn(t, n);
2570
- if (i === void 0 || qn(i) || Ci(i))
2615
+ if (i === void 0 || qn(i) || Ri(i))
2571
2616
  break;
2572
2617
  r.push(i), n += i >= 65536 ? 2 : 1;
2573
2618
  }
2574
2619
  return jt.apply(void 0, r);
2575
2620
  };
2576
- var wi = (
2621
+ var Ci = (
2577
2622
  /** @class */
2578
2623
  function() {
2579
2624
  function e(t, n) {
@@ -2597,7 +2642,7 @@ var wi = (
2597
2642
  if (a === 35 && (n === "plural" || n === "selectordinal")) {
2598
2643
  var s = this.clonePosition();
2599
2644
  this.bump(), i.push({
2600
- type: G.pound,
2645
+ type: k.pound,
2601
2646
  location: L(s, this.clonePosition())
2602
2647
  });
2603
2648
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2625,7 +2670,7 @@ var wi = (
2625
2670
  if (this.bumpSpace(), this.bumpIf("/>"))
2626
2671
  return {
2627
2672
  val: {
2628
- type: G.literal,
2673
+ type: k.literal,
2629
2674
  value: "<".concat(i, "/>"),
2630
2675
  location: L(r, this.clonePosition())
2631
2676
  },
@@ -2642,7 +2687,7 @@ var wi = (
2642
2687
  var h = this.clonePosition(), u = this.parseTagName();
2643
2688
  return i !== u ? this.error(R.UNMATCHED_CLOSING_TAG, L(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2644
2689
  val: {
2645
- type: G.tag,
2690
+ type: k.tag,
2646
2691
  value: i,
2647
2692
  children: l,
2648
2693
  location: L(r, this.clonePosition())
@@ -2655,7 +2700,7 @@ var wi = (
2655
2700
  return this.error(R.INVALID_TAG, L(r, this.clonePosition()));
2656
2701
  }, e.prototype.parseTagName = function() {
2657
2702
  var t = this.offset();
2658
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
2703
+ for (this.bump(); !this.isEOF() && Oi(this.char()); )
2659
2704
  this.bump();
2660
2705
  return this.message.slice(t, this.offset());
2661
2706
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2679,12 +2724,12 @@ var wi = (
2679
2724
  }
2680
2725
  var h = L(r, this.clonePosition());
2681
2726
  return {
2682
- val: { type: G.literal, value: i, location: h },
2727
+ val: { type: k.literal, value: i, location: h },
2683
2728
  err: null
2684
2729
  };
2685
2730
  }, e.prototype.tryParseLeftAngleBracket = function() {
2686
2731
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2687
- !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
2732
+ !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
2688
2733
  }, e.prototype.tryParseQuote = function(t) {
2689
2734
  if (this.isEOF() || this.char() !== 39)
2690
2735
  return null;
@@ -2739,7 +2784,7 @@ var wi = (
2739
2784
  case 125:
2740
2785
  return this.bump(), {
2741
2786
  val: {
2742
- type: G.argument,
2787
+ type: k.argument,
2743
2788
  // value does not include the opening and closing braces.
2744
2789
  value: i,
2745
2790
  location: L(r, this.clonePosition())
@@ -2768,49 +2813,49 @@ var wi = (
2768
2813
  var u = null;
2769
2814
  if (this.bumpIf(",")) {
2770
2815
  this.bumpSpace();
2771
- var d = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
2772
- if (b.err)
2773
- return b;
2774
- var y = Ti(b.val);
2775
- if (y.length === 0)
2816
+ var d = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2817
+ if (g.err)
2818
+ return g;
2819
+ var b = Ai(g.val);
2820
+ if (b.length === 0)
2776
2821
  return this.error(R.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2777
- var B = L(d, this.clonePosition());
2778
- u = { style: y, styleLocation: B };
2822
+ var _ = L(d, this.clonePosition());
2823
+ u = { style: b, styleLocation: _ };
2779
2824
  }
2780
- var x = this.tryParseArgumentClose(i);
2781
- if (x.err)
2782
- return x;
2783
- var H = L(i, this.clonePosition());
2825
+ var T = this.tryParseArgumentClose(i);
2826
+ if (T.err)
2827
+ return T;
2828
+ var S = L(i, this.clonePosition());
2784
2829
  if (u && fn(u?.style, "::", 0)) {
2785
- var _ = Bi(u.style.slice(2));
2830
+ var x = Si(u.style.slice(2));
2786
2831
  if (s === "number") {
2787
- var b = this.parseNumberSkeletonFromString(_, u.styleLocation);
2788
- return b.err ? b : {
2789
- val: { type: G.number, value: r, location: H, style: b.val },
2832
+ var g = this.parseNumberSkeletonFromString(x, u.styleLocation);
2833
+ return g.err ? g : {
2834
+ val: { type: k.number, value: r, location: S, style: g.val },
2790
2835
  err: null
2791
2836
  };
2792
2837
  } else {
2793
- if (_.length === 0)
2794
- return this.error(R.EXPECT_DATE_TIME_SKELETON, H);
2795
- var A = _;
2796
- this.locale && (A = ci(_, this.locale));
2797
- var y = {
2838
+ if (x.length === 0)
2839
+ return this.error(R.EXPECT_DATE_TIME_SKELETON, S);
2840
+ var C = x;
2841
+ this.locale && (C = di(x, this.locale));
2842
+ var b = {
2798
2843
  type: Ue.dateTime,
2799
- pattern: A,
2844
+ pattern: C,
2800
2845
  location: u.styleLocation,
2801
- parsedOptions: this.shouldParseSkeletons ? ri(A) : {}
2802
- }, P = s === "date" ? G.date : G.time;
2846
+ parsedOptions: this.shouldParseSkeletons ? oi(C) : {}
2847
+ }, D = s === "date" ? k.date : k.time;
2803
2848
  return {
2804
- val: { type: P, value: r, location: H, style: y },
2849
+ val: { type: D, value: r, location: S, style: b },
2805
2850
  err: null
2806
2851
  };
2807
2852
  }
2808
2853
  }
2809
2854
  return {
2810
2855
  val: {
2811
- type: s === "number" ? G.number : s === "date" ? G.date : G.time,
2856
+ type: s === "number" ? k.number : s === "date" ? k.date : k.time,
2812
2857
  value: r,
2813
- location: H,
2858
+ location: S,
2814
2859
  style: (a = u?.style) !== null && a !== void 0 ? a : null
2815
2860
  },
2816
2861
  err: null
@@ -2823,39 +2868,39 @@ var wi = (
2823
2868
  if (this.bumpSpace(), !this.bumpIf(","))
2824
2869
  return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS, L(O, I({}, O)));
2825
2870
  this.bumpSpace();
2826
- var j = this.parseIdentifierIfPossible(), X = 0;
2827
- if (s !== "select" && j.value === "offset") {
2871
+ var U = this.parseIdentifierIfPossible(), q = 0;
2872
+ if (s !== "select" && U.value === "offset") {
2828
2873
  if (!this.bumpIf(":"))
2829
2874
  return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
2830
2875
  this.bumpSpace();
2831
- var b = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2832
- if (b.err)
2833
- return b;
2834
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), X = b.val;
2876
+ var g = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2877
+ if (g.err)
2878
+ return g;
2879
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), q = g.val;
2835
2880
  }
2836
- var ne = this.tryParsePluralOrSelectOptions(t, s, n, j);
2837
- if (ne.err)
2838
- return ne;
2839
- var x = this.tryParseArgumentClose(i);
2840
- if (x.err)
2841
- return x;
2842
- var W = L(i, this.clonePosition());
2881
+ var re = this.tryParsePluralOrSelectOptions(t, s, n, U);
2882
+ if (re.err)
2883
+ return re;
2884
+ var T = this.tryParseArgumentClose(i);
2885
+ if (T.err)
2886
+ return T;
2887
+ var z = L(i, this.clonePosition());
2843
2888
  return s === "select" ? {
2844
2889
  val: {
2845
- type: G.select,
2890
+ type: k.select,
2846
2891
  value: r,
2847
- options: dn(ne.val),
2848
- location: W
2892
+ options: dn(re.val),
2893
+ location: z
2849
2894
  },
2850
2895
  err: null
2851
2896
  } : {
2852
2897
  val: {
2853
- type: G.plural,
2898
+ type: k.plural,
2854
2899
  value: r,
2855
- options: dn(ne.val),
2856
- offset: X,
2900
+ options: dn(re.val),
2901
+ offset: q,
2857
2902
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2858
- location: W
2903
+ location: z
2859
2904
  },
2860
2905
  err: null
2861
2906
  };
@@ -2903,7 +2948,7 @@ var wi = (
2903
2948
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2904
2949
  var r = [];
2905
2950
  try {
2906
- r = ai(t);
2951
+ r = li(t);
2907
2952
  } catch {
2908
2953
  return this.error(R.INVALID_NUMBER_SKELETON, n);
2909
2954
  }
@@ -2912,39 +2957,39 @@ var wi = (
2912
2957
  type: Ue.number,
2913
2958
  tokens: r,
2914
2959
  location: n,
2915
- parsedOptions: this.shouldParseSkeletons ? ui(r) : {}
2960
+ parsedOptions: this.shouldParseSkeletons ? fi(r) : {}
2916
2961
  },
2917
2962
  err: null
2918
2963
  };
2919
2964
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2920
2965
  for (var a, l = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, d = i.location; ; ) {
2921
2966
  if (u.length === 0) {
2922
- var b = this.clonePosition();
2967
+ var g = this.clonePosition();
2923
2968
  if (n !== "select" && this.bumpIf("=")) {
2924
- var y = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR, R.INVALID_PLURAL_ARGUMENT_SELECTOR);
2925
- if (y.err)
2926
- return y;
2927
- d = L(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
2969
+ var b = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR, R.INVALID_PLURAL_ARGUMENT_SELECTOR);
2970
+ if (b.err)
2971
+ return b;
2972
+ d = L(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
2928
2973
  } else
2929
2974
  break;
2930
2975
  }
2931
2976
  if (h.has(u))
2932
2977
  return this.error(n === "select" ? R.DUPLICATE_SELECT_ARGUMENT_SELECTOR : R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, d);
2933
2978
  u === "other" && (l = !0), this.bumpSpace();
2934
- var B = this.clonePosition();
2979
+ var _ = this.clonePosition();
2935
2980
  if (!this.bumpIf("{"))
2936
2981
  return this.error(n === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
2937
- var x = this.parseMessage(t + 1, n, r);
2938
- if (x.err)
2939
- return x;
2940
- var H = this.tryParseArgumentClose(B);
2941
- if (H.err)
2942
- return H;
2982
+ var T = this.parseMessage(t + 1, n, r);
2983
+ if (T.err)
2984
+ return T;
2985
+ var S = this.tryParseArgumentClose(_);
2986
+ if (S.err)
2987
+ return S;
2943
2988
  s.push([
2944
2989
  u,
2945
2990
  {
2946
- value: x.val,
2947
- location: L(B, this.clonePosition())
2991
+ value: T.val,
2992
+ location: L(_, this.clonePosition())
2948
2993
  }
2949
2994
  ]), h.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, d = a.location;
2950
2995
  }
@@ -2960,7 +3005,7 @@ var wi = (
2960
3005
  break;
2961
3006
  }
2962
3007
  var h = L(i, this.clonePosition());
2963
- return a ? (l *= r, xi(l) ? { val: l, err: null } : this.error(n, h)) : this.error(t, h);
3008
+ return a ? (l *= r, Ti(l) ? { val: l, err: null } : this.error(n, h)) : this.error(t, h);
2964
3009
  }, e.prototype.offset = function() {
2965
3010
  return this.position.offset;
2966
3011
  }, e.prototype.isEOF = function() {
@@ -3029,16 +3074,16 @@ var wi = (
3029
3074
  function Xt(e) {
3030
3075
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3031
3076
  }
3032
- function Si(e) {
3077
+ function Hi(e) {
3033
3078
  return Xt(e) || e === 47;
3034
3079
  }
3035
- function Ai(e) {
3080
+ function Oi(e) {
3036
3081
  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;
3037
3082
  }
3038
3083
  function qn(e) {
3039
3084
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3040
3085
  }
3041
- function Ci(e) {
3086
+ function Ri(e) {
3042
3087
  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;
3043
3088
  }
3044
3089
  function zt(e) {
@@ -3046,12 +3091,13 @@ function zt(e) {
3046
3091
  if (delete t.location, Fn(t) || Gn(t))
3047
3092
  for (var n in t.options)
3048
3093
  delete t.options[n].location, zt(t.options[n].value);
3049
- else Pn(t) && kn(t.style) || (Dn(t) || Un(t)) && $t(t.style) ? delete t.style.location : $n(t) && zt(t.children);
3094
+ else
3095
+ Pn(t) && kn(t.style) || (Dn(t) || Un(t)) && $t(t.style) ? delete t.style.location : $n(t) && zt(t.children);
3050
3096
  });
3051
3097
  }
3052
- function Hi(e, t) {
3098
+ function Li(e, t) {
3053
3099
  t === void 0 && (t = {}), t = I({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3054
- var n = new wi(e, t).parse();
3100
+ var n = new Ci(e, t).parse();
3055
3101
  if (n.err) {
3056
3102
  var r = SyntaxError(R[n.err.kind]);
3057
3103
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3062,10 +3108,10 @@ var Fe;
3062
3108
  (function(e) {
3063
3109
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3064
3110
  })(Fe || (Fe = {}));
3065
- var vt = (
3111
+ var xt = (
3066
3112
  /** @class */
3067
3113
  function(e) {
3068
- yt(t, e);
3114
+ Et(t, e);
3069
3115
  function t(n, r, i) {
3070
3116
  var a = e.call(this, n) || this;
3071
3117
  return a.code = r, a.originalMessage = i, a;
@@ -3077,48 +3123,48 @@ var vt = (
3077
3123
  ), mn = (
3078
3124
  /** @class */
3079
3125
  function(e) {
3080
- yt(t, e);
3126
+ Et(t, e);
3081
3127
  function t(n, r, i, a) {
3082
3128
  return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Fe.INVALID_VALUE, a) || this;
3083
3129
  }
3084
3130
  return t;
3085
- }(vt)
3086
- ), Oi = (
3131
+ }(xt)
3132
+ ), Mi = (
3087
3133
  /** @class */
3088
3134
  function(e) {
3089
- yt(t, e);
3135
+ Et(t, e);
3090
3136
  function t(n, r, i) {
3091
3137
  return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Fe.INVALID_VALUE, i) || this;
3092
3138
  }
3093
3139
  return t;
3094
- }(vt)
3095
- ), Ri = (
3140
+ }(xt)
3141
+ ), Ni = (
3096
3142
  /** @class */
3097
3143
  function(e) {
3098
- yt(t, e);
3144
+ Et(t, e);
3099
3145
  function t(n, r) {
3100
3146
  return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), Fe.MISSING_VALUE, r) || this;
3101
3147
  }
3102
3148
  return t;
3103
- }(vt)
3104
- ), te;
3149
+ }(xt)
3150
+ ), ne;
3105
3151
  (function(e) {
3106
3152
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3107
- })(te || (te = {}));
3108
- function Li(e) {
3153
+ })(ne || (ne = {}));
3154
+ function Ii(e) {
3109
3155
  return e.length < 2 ? e : e.reduce(function(t, n) {
3110
3156
  var r = t[t.length - 1];
3111
- return !r || r.type !== te.literal || n.type !== te.literal ? t.push(n) : r.value += n.value, t;
3157
+ return !r || r.type !== ne.literal || n.type !== ne.literal ? t.push(n) : r.value += n.value, t;
3112
3158
  }, []);
3113
3159
  }
3114
- function Mi(e) {
3160
+ function Pi(e) {
3115
3161
  return typeof e == "function";
3116
3162
  }
3117
- function ct(e, t, n, r, i, a, l) {
3163
+ function ft(e, t, n, r, i, a, l) {
3118
3164
  if (e.length === 1 && ln(e[0]))
3119
3165
  return [
3120
3166
  {
3121
- type: te.literal,
3167
+ type: ne.literal,
3122
3168
  value: e[0].value
3123
3169
  }
3124
3170
  ];
@@ -3126,100 +3172,100 @@ function ct(e, t, n, r, i, a, l) {
3126
3172
  var d = u[h];
3127
3173
  if (ln(d)) {
3128
3174
  s.push({
3129
- type: te.literal,
3175
+ type: ne.literal,
3130
3176
  value: d.value
3131
3177
  });
3132
3178
  continue;
3133
3179
  }
3134
- if (ti(d)) {
3180
+ if (ii(d)) {
3135
3181
  typeof a == "number" && s.push({
3136
- type: te.literal,
3182
+ type: ne.literal,
3137
3183
  value: n.getNumberFormat(t).format(a)
3138
3184
  });
3139
3185
  continue;
3140
3186
  }
3141
- var b = d.value;
3142
- if (!(i && b in i))
3143
- throw new Ri(b, l);
3144
- var y = i[b];
3145
- if (ei(d)) {
3146
- (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), s.push({
3147
- type: typeof y == "string" ? te.literal : te.object,
3148
- value: y
3187
+ var g = d.value;
3188
+ if (!(i && g in i))
3189
+ throw new Ni(g, l);
3190
+ var b = i[g];
3191
+ if (ri(d)) {
3192
+ (!b || typeof b == "string" || typeof b == "number") && (b = typeof b == "string" || typeof b == "number" ? String(b) : ""), s.push({
3193
+ type: typeof b == "string" ? ne.literal : ne.object,
3194
+ value: b
3149
3195
  });
3150
3196
  continue;
3151
3197
  }
3152
3198
  if (Dn(d)) {
3153
- var B = typeof d.style == "string" ? r.date[d.style] : $t(d.style) ? d.style.parsedOptions : void 0;
3199
+ var _ = typeof d.style == "string" ? r.date[d.style] : $t(d.style) ? d.style.parsedOptions : void 0;
3154
3200
  s.push({
3155
- type: te.literal,
3156
- value: n.getDateTimeFormat(t, B).format(y)
3201
+ type: ne.literal,
3202
+ value: n.getDateTimeFormat(t, _).format(b)
3157
3203
  });
3158
3204
  continue;
3159
3205
  }
3160
3206
  if (Un(d)) {
3161
- var B = typeof d.style == "string" ? r.time[d.style] : $t(d.style) ? d.style.parsedOptions : r.time.medium;
3207
+ var _ = typeof d.style == "string" ? r.time[d.style] : $t(d.style) ? d.style.parsedOptions : r.time.medium;
3162
3208
  s.push({
3163
- type: te.literal,
3164
- value: n.getDateTimeFormat(t, B).format(y)
3209
+ type: ne.literal,
3210
+ value: n.getDateTimeFormat(t, _).format(b)
3165
3211
  });
3166
3212
  continue;
3167
3213
  }
3168
3214
  if (Pn(d)) {
3169
- var B = typeof d.style == "string" ? r.number[d.style] : kn(d.style) ? d.style.parsedOptions : void 0;
3170
- B && B.scale && (y = y * (B.scale || 1)), s.push({
3171
- type: te.literal,
3172
- value: n.getNumberFormat(t, B).format(y)
3215
+ var _ = typeof d.style == "string" ? r.number[d.style] : kn(d.style) ? d.style.parsedOptions : void 0;
3216
+ _ && _.scale && (b = b * (_.scale || 1)), s.push({
3217
+ type: ne.literal,
3218
+ value: n.getNumberFormat(t, _).format(b)
3173
3219
  });
3174
3220
  continue;
3175
3221
  }
3176
3222
  if ($n(d)) {
3177
- var x = d.children, H = d.value, _ = i[H];
3178
- if (!Mi(_))
3179
- throw new Oi(H, "function", l);
3180
- var A = ct(x, t, n, r, i, a), P = _(A.map(function(X) {
3181
- return X.value;
3223
+ var T = d.children, S = d.value, x = i[S];
3224
+ if (!Pi(x))
3225
+ throw new Mi(S, "function", l);
3226
+ var C = ft(T, t, n, r, i, a), D = x(C.map(function(q) {
3227
+ return q.value;
3182
3228
  }));
3183
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(X) {
3229
+ Array.isArray(D) || (D = [D]), s.push.apply(s, D.map(function(q) {
3184
3230
  return {
3185
- type: typeof X == "string" ? te.literal : te.object,
3186
- value: X
3231
+ type: typeof q == "string" ? ne.literal : ne.object,
3232
+ value: q
3187
3233
  };
3188
3234
  }));
3189
3235
  }
3190
3236
  if (Fn(d)) {
3191
- var O = d.options[y] || d.options.other;
3237
+ var O = d.options[b] || d.options.other;
3192
3238
  if (!O)
3193
- throw new mn(d.value, y, Object.keys(d.options), l);
3194
- s.push.apply(s, ct(O.value, t, n, r, i));
3239
+ throw new mn(d.value, b, Object.keys(d.options), l);
3240
+ s.push.apply(s, ft(O.value, t, n, r, i));
3195
3241
  continue;
3196
3242
  }
3197
3243
  if (Gn(d)) {
3198
- var O = d.options["=".concat(y)];
3244
+ var O = d.options["=".concat(b)];
3199
3245
  if (!O) {
3200
3246
  if (!Intl.PluralRules)
3201
- throw new vt(`Intl.PluralRules is not available in this environment.
3247
+ throw new xt(`Intl.PluralRules is not available in this environment.
3202
3248
  Try polyfilling it using "@formatjs/intl-pluralrules"
3203
3249
  `, Fe.MISSING_INTL_API, l);
3204
- var j = n.getPluralRules(t, { type: d.pluralType }).select(y - (d.offset || 0));
3205
- O = d.options[j] || d.options.other;
3250
+ var U = n.getPluralRules(t, { type: d.pluralType }).select(b - (d.offset || 0));
3251
+ O = d.options[U] || d.options.other;
3206
3252
  }
3207
3253
  if (!O)
3208
- throw new mn(d.value, y, Object.keys(d.options), l);
3209
- s.push.apply(s, ct(O.value, t, n, r, i, y - (d.offset || 0)));
3254
+ throw new mn(d.value, b, Object.keys(d.options), l);
3255
+ s.push.apply(s, ft(O.value, t, n, r, i, b - (d.offset || 0)));
3210
3256
  continue;
3211
3257
  }
3212
3258
  }
3213
- return Li(s);
3259
+ return Ii(s);
3214
3260
  }
3215
- function Ni(e, t) {
3261
+ function Di(e, t) {
3216
3262
  return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3217
3263
  return n[r] = I(I({}, e[r]), t[r] || {}), n;
3218
3264
  }, {})) : e;
3219
3265
  }
3220
- function Ii(e, t) {
3266
+ function Ui(e, t) {
3221
3267
  return t ? Object.keys(e).reduce(function(n, r) {
3222
- return n[r] = Ni(e[r], t[r]), n;
3268
+ return n[r] = Di(e[r], t[r]), n;
3223
3269
  }, I({}, e)) : e;
3224
3270
  }
3225
3271
  function It(e) {
@@ -3236,7 +3282,7 @@ function It(e) {
3236
3282
  }
3237
3283
  };
3238
3284
  }
3239
- function Pi(e) {
3285
+ function Fi(e) {
3240
3286
  return e === void 0 && (e = {
3241
3287
  number: {},
3242
3288
  dateTime: {},
@@ -3268,7 +3314,7 @@ function Pi(e) {
3268
3314
  })
3269
3315
  };
3270
3316
  }
3271
- var Di = (
3317
+ var Gi = (
3272
3318
  /** @class */
3273
3319
  function() {
3274
3320
  function e(t, n, r, i) {
@@ -3282,12 +3328,12 @@ var Di = (
3282
3328
  var u = a.formatToParts(h);
3283
3329
  if (u.length === 1)
3284
3330
  return u[0].value;
3285
- var d = u.reduce(function(b, y) {
3286
- return !b.length || y.type !== te.literal || typeof b[b.length - 1] != "string" ? b.push(y.value) : b[b.length - 1] += y.value, b;
3331
+ var d = u.reduce(function(g, b) {
3332
+ return !g.length || b.type !== ne.literal || typeof g[g.length - 1] != "string" ? g.push(b.value) : g[g.length - 1] += b.value, g;
3287
3333
  }, []);
3288
3334
  return d.length <= 1 ? d[0] || "" : d;
3289
3335
  }, this.formatToParts = function(h) {
3290
- return ct(a.ast, a.locales, a.formatters, a.formats, h, void 0, a.message);
3336
+ return ft(a.ast, a.locales, a.formatters, a.formats, h, void 0, a.message);
3291
3337
  }, this.resolvedOptions = function() {
3292
3338
  var h;
3293
3339
  return {
@@ -3300,13 +3346,13 @@ var Di = (
3300
3346
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3301
3347
  var l = i || {};
3302
3348
  l.formatters;
3303
- var s = Wr(l, ["formatters"]);
3349
+ var s = Qr(l, ["formatters"]);
3304
3350
  this.ast = e.__parse(t, I(I({}, s), { locale: this.resolvedLocale }));
3305
3351
  } else
3306
3352
  this.ast = t;
3307
3353
  if (!Array.isArray(this.ast))
3308
3354
  throw new TypeError("A message must be provided as a String or AST.");
3309
- this.formats = Ii(e.formats, r), this.formatters = i && i.formatters || Pi(this.formatterCache);
3355
+ this.formats = Ui(e.formats, r), this.formatters = i && i.formatters || Fi(this.formatterCache);
3310
3356
  }
3311
3357
  return Object.defineProperty(e, "defaultLocale", {
3312
3358
  get: function() {
@@ -3319,7 +3365,7 @@ var Di = (
3319
3365
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3320
3366
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3321
3367
  }
3322
- }, e.__parse = Hi, e.formats = {
3368
+ }, e.__parse = Li, e.formats = {
3323
3369
  number: {
3324
3370
  integer: {
3325
3371
  maximumFractionDigits: 0
@@ -3380,7 +3426,7 @@ var Di = (
3380
3426
  }, e;
3381
3427
  }()
3382
3428
  );
3383
- function Ui(e, t) {
3429
+ function $i(e, t) {
3384
3430
  if (t == null)
3385
3431
  return;
3386
3432
  if (t in e)
@@ -3401,36 +3447,36 @@ function Ui(e, t) {
3401
3447
  r = void 0;
3402
3448
  return r;
3403
3449
  }
3404
- const we = {}, Fi = (e, t, n) => n && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = n), n), Qn = (e, t) => {
3450
+ const Se = {}, ki = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (Se[t][e] = n), n), Qn = (e, t) => {
3405
3451
  if (t == null)
3406
3452
  return;
3407
- if (t in we && e in we[t])
3408
- return we[t][e];
3409
- const n = Et(t);
3453
+ if (t in Se && e in Se[t])
3454
+ return Se[t][e];
3455
+ const n = _t(t);
3410
3456
  for (let r = 0; r < n.length; r++) {
3411
- const i = n[r], a = $i(i, e);
3457
+ const i = n[r], a = Vi(i, e);
3412
3458
  if (a)
3413
- return Fi(e, t, a);
3459
+ return ki(e, t, a);
3414
3460
  }
3415
3461
  };
3416
3462
  let Kt;
3417
- const nt = bt({});
3418
- function Gi(e) {
3463
+ const nt = vt({});
3464
+ function ji(e) {
3419
3465
  return Kt[e] || null;
3420
3466
  }
3421
3467
  function Jn(e) {
3422
3468
  return e in Kt;
3423
3469
  }
3424
- function $i(e, t) {
3470
+ function Vi(e, t) {
3425
3471
  if (!Jn(e))
3426
3472
  return null;
3427
- const n = Gi(e);
3428
- return Ui(n, t);
3473
+ const n = ji(e);
3474
+ return $i(n, t);
3429
3475
  }
3430
- function ki(e) {
3476
+ function Xi(e) {
3431
3477
  if (e == null)
3432
3478
  return;
3433
- const t = Et(e);
3479
+ const t = _t(e);
3434
3480
  for (let n = 0; n < t.length; n++) {
3435
3481
  const r = t[n];
3436
3482
  if (Jn(r))
@@ -3438,47 +3484,47 @@ function ki(e) {
3438
3484
  }
3439
3485
  }
3440
3486
  function Yn(e, ...t) {
3441
- delete we[e], nt.update((n) => (n[e] = zr.all([n[e] || {}, ...t]), n));
3487
+ delete Se[e], nt.update((n) => (n[e] = qr.all([n[e] || {}, ...t]), n));
3442
3488
  }
3443
3489
  ke(
3444
3490
  [nt],
3445
3491
  ([e]) => Object.keys(e)
3446
3492
  );
3447
3493
  nt.subscribe((e) => Kt = e);
3448
- const ht = {};
3449
- function ji(e, t) {
3450
- ht[e].delete(t), ht[e].size === 0 && delete ht[e];
3494
+ const dt = {};
3495
+ function zi(e, t) {
3496
+ dt[e].delete(t), dt[e].size === 0 && delete dt[e];
3451
3497
  }
3452
3498
  function Kn(e) {
3453
- return ht[e];
3499
+ return dt[e];
3454
3500
  }
3455
- function Vi(e) {
3456
- return Et(e).map((t) => {
3501
+ function Wi(e) {
3502
+ return _t(e).map((t) => {
3457
3503
  const n = Kn(t);
3458
3504
  return [t, n ? [...n] : []];
3459
3505
  }).filter(([, t]) => t.length > 0);
3460
3506
  }
3461
3507
  function Wt(e) {
3462
- return e == null ? !1 : Et(e).some(
3508
+ return e == null ? !1 : _t(e).some(
3463
3509
  (t) => {
3464
3510
  var n;
3465
3511
  return (n = Kn(t)) == null ? void 0 : n.size;
3466
3512
  }
3467
3513
  );
3468
3514
  }
3469
- function Xi(e, t) {
3515
+ function Zi(e, t) {
3470
3516
  return Promise.all(
3471
- t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
3517
+ t.map((r) => (zi(e, r), r().then((i) => i.default || i)))
3472
3518
  ).then((r) => Yn(e, ...r));
3473
3519
  }
3474
3520
  const Je = {};
3475
3521
  function er(e) {
3476
3522
  if (!Wt(e))
3477
3523
  return e in Je ? Je[e] : Promise.resolve();
3478
- const t = Vi(e);
3524
+ const t = Wi(e);
3479
3525
  return Je[e] = Promise.all(
3480
3526
  t.map(
3481
- ([n, r]) => Xi(n, r)
3527
+ ([n, r]) => Zi(n, r)
3482
3528
  )
3483
3529
  ).then(() => {
3484
3530
  if (Wt(e))
@@ -3486,7 +3532,7 @@ function er(e) {
3486
3532
  delete Je[e];
3487
3533
  }), Je[e];
3488
3534
  }
3489
- const zi = {
3535
+ const qi = {
3490
3536
  number: {
3491
3537
  scientific: { notation: "scientific" },
3492
3538
  engineering: { notation: "engineering" },
@@ -3515,77 +3561,77 @@ const zi = {
3515
3561
  timeZoneName: "short"
3516
3562
  }
3517
3563
  }
3518
- }, Wi = {
3564
+ }, Qi = {
3519
3565
  fallbackLocale: null,
3520
3566
  loadingDelay: 200,
3521
- formats: zi,
3567
+ formats: qi,
3522
3568
  warnOnMissingMessages: !0,
3523
3569
  handleMissingMessage: void 0,
3524
3570
  ignoreTag: !0
3525
- }, Zi = Wi;
3571
+ }, Ji = Qi;
3526
3572
  function Ge() {
3527
- return Zi;
3573
+ return Ji;
3528
3574
  }
3529
- const Pt = bt(!1);
3530
- var qi = Object.defineProperty, Qi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, gn = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, bn = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ea = (e, t) => {
3575
+ const Pt = vt(!1);
3576
+ var Yi = Object.defineProperty, Ki = Object.defineProperties, ea = Object.getOwnPropertyDescriptors, gn = Object.getOwnPropertySymbols, ta = Object.prototype.hasOwnProperty, na = Object.prototype.propertyIsEnumerable, bn = (e, t, n) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ra = (e, t) => {
3531
3577
  for (var n in t || (t = {}))
3532
- Yi.call(t, n) && bn(e, n, t[n]);
3578
+ ta.call(t, n) && bn(e, n, t[n]);
3533
3579
  if (gn)
3534
3580
  for (var n of gn(t))
3535
- Ki.call(t, n) && bn(e, n, t[n]);
3581
+ na.call(t, n) && bn(e, n, t[n]);
3536
3582
  return e;
3537
- }, ta = (e, t) => Qi(e, Ji(t));
3583
+ }, ia = (e, t) => Ki(e, ea(t));
3538
3584
  let Zt;
3539
- const mt = bt(null);
3585
+ const bt = vt(null);
3540
3586
  function yn(e) {
3541
3587
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3542
3588
  }
3543
- function Et(e, t = Ge().fallbackLocale) {
3589
+ function _t(e, t = Ge().fallbackLocale) {
3544
3590
  const n = yn(e);
3545
3591
  return t ? [.../* @__PURE__ */ new Set([...n, ...yn(t)])] : n;
3546
3592
  }
3547
- function Ce() {
3593
+ function He() {
3548
3594
  return Zt ?? void 0;
3549
3595
  }
3550
- mt.subscribe((e) => {
3596
+ bt.subscribe((e) => {
3551
3597
  Zt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3552
3598
  });
3553
- const na = (e) => {
3554
- if (e && ki(e) && Wt(e)) {
3599
+ const aa = (e) => {
3600
+ if (e && Xi(e) && Wt(e)) {
3555
3601
  const { loadingDelay: t } = Ge();
3556
3602
  let n;
3557
- return typeof window < "u" && Ce() != null && t ? n = window.setTimeout(
3603
+ return typeof window < "u" && He() != null && t ? n = window.setTimeout(
3558
3604
  () => Pt.set(!0),
3559
3605
  t
3560
3606
  ) : Pt.set(!0), er(e).then(() => {
3561
- mt.set(e);
3607
+ bt.set(e);
3562
3608
  }).finally(() => {
3563
3609
  clearTimeout(n), Pt.set(!1);
3564
3610
  });
3565
3611
  }
3566
- return mt.set(e);
3567
- }, je = ta(ea({}, mt), {
3568
- set: na
3569
- }), xt = (e) => {
3612
+ return bt.set(e);
3613
+ }, je = ia(ra({}, bt), {
3614
+ set: aa
3615
+ }), Bt = (e) => {
3570
3616
  const t = /* @__PURE__ */ Object.create(null);
3571
3617
  return (r) => {
3572
3618
  const i = JSON.stringify(r);
3573
3619
  return i in t ? t[i] : t[i] = e(r);
3574
3620
  };
3575
3621
  };
3576
- var ra = Object.defineProperty, gt = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? ra(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, en = (e, t) => {
3622
+ var oa = Object.defineProperty, yt = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? oa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, en = (e, t) => {
3577
3623
  for (var n in t || (t = {}))
3578
3624
  tr.call(t, n) && vn(e, n, t[n]);
3579
- if (gt)
3580
- for (var n of gt(t))
3625
+ if (yt)
3626
+ for (var n of yt(t))
3581
3627
  nr.call(t, n) && vn(e, n, t[n]);
3582
3628
  return e;
3583
3629
  }, Ve = (e, t) => {
3584
3630
  var n = {};
3585
3631
  for (var r in e)
3586
3632
  tr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3587
- if (e != null && gt)
3588
- for (var r of gt(e))
3633
+ if (e != null && yt)
3634
+ for (var r of yt(e))
3589
3635
  t.indexOf(r) < 0 && nr.call(e, r) && (n[r] = e[r]);
3590
3636
  return n;
3591
3637
  };
@@ -3594,21 +3640,21 @@ const tt = (e, t) => {
3594
3640
  if (e in n && t in n[e])
3595
3641
  return n[e][t];
3596
3642
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3597
- }, ia = xt(
3643
+ }, sa = Bt(
3598
3644
  (e) => {
3599
3645
  var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3600
3646
  if (n == null)
3601
3647
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3602
3648
  return r && (i = tt("number", r)), new Intl.NumberFormat(n, i);
3603
3649
  }
3604
- ), aa = xt(
3650
+ ), la = Bt(
3605
3651
  (e) => {
3606
3652
  var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3607
3653
  if (n == null)
3608
3654
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3609
3655
  return r ? i = tt("date", r) : Object.keys(i).length === 0 && (i = tt("date", "short")), new Intl.DateTimeFormat(n, i);
3610
3656
  }
3611
- ), oa = xt(
3657
+ ), ua = Bt(
3612
3658
  (e) => {
3613
3659
  var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3614
3660
  if (n == null)
@@ -3617,39 +3663,39 @@ const tt = (e, t) => {
3617
3663
  );
3618
3664
  return r ? i = tt("time", r) : Object.keys(i).length === 0 && (i = tt("time", "short")), new Intl.DateTimeFormat(n, i);
3619
3665
  }
3620
- ), sa = (e = {}) => {
3666
+ ), ca = (e = {}) => {
3621
3667
  var t = e, {
3622
- locale: n = Ce()
3668
+ locale: n = He()
3623
3669
  } = t, r = Ve(t, [
3624
3670
  "locale"
3625
3671
  ]);
3626
- return ia(en({ locale: n }, r));
3627
- }, la = (e = {}) => {
3672
+ return sa(en({ locale: n }, r));
3673
+ }, ha = (e = {}) => {
3628
3674
  var t = e, {
3629
- locale: n = Ce()
3675
+ locale: n = He()
3630
3676
  } = t, r = Ve(t, [
3631
3677
  "locale"
3632
3678
  ]);
3633
- return aa(en({ locale: n }, r));
3634
- }, ua = (e = {}) => {
3679
+ return la(en({ locale: n }, r));
3680
+ }, fa = (e = {}) => {
3635
3681
  var t = e, {
3636
- locale: n = Ce()
3682
+ locale: n = He()
3637
3683
  } = t, r = Ve(t, [
3638
3684
  "locale"
3639
3685
  ]);
3640
- return oa(en({ locale: n }, r));
3641
- }, ca = xt(
3686
+ return ua(en({ locale: n }, r));
3687
+ }, da = Bt(
3642
3688
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3643
- (e, t = Ce()) => new Di(e, t, Ge().formats, {
3689
+ (e, t = He()) => new Gi(e, t, Ge().formats, {
3644
3690
  ignoreTag: Ge().ignoreTag
3645
3691
  })
3646
- ), ha = (e, t = {}) => {
3692
+ ), pa = (e, t = {}) => {
3647
3693
  var n, r, i, a;
3648
3694
  let l = t;
3649
3695
  typeof e == "object" && (l = e, e = l.id);
3650
3696
  const {
3651
3697
  values: s,
3652
- locale: h = Ce(),
3698
+ locale: h = He(),
3653
3699
  default: u
3654
3700
  } = l;
3655
3701
  if (h == null)
@@ -3665,25 +3711,25 @@ const tt = (e, t) => {
3665
3711
  ), d;
3666
3712
  if (!s)
3667
3713
  return d;
3668
- let b = d;
3714
+ let g = d;
3669
3715
  try {
3670
- b = ca(d, h).format(s);
3671
- } catch (y) {
3672
- y instanceof Error && console.warn(
3716
+ g = da(d, h).format(s);
3717
+ } catch (b) {
3718
+ b instanceof Error && console.warn(
3673
3719
  `[svelte-i18n] Message "${e}" has syntax error:`,
3674
- y.message
3720
+ b.message
3675
3721
  );
3676
3722
  }
3677
- return b;
3678
- }, fa = (e, t) => ua(t).format(e), da = (e, t) => la(t).format(e), pa = (e, t) => sa(t).format(e), ma = (e, t = Ce()) => Qn(e, t), ga = ke([je, nt], () => ha);
3679
- ke([je], () => fa);
3680
- ke([je], () => da);
3681
- ke([je], () => pa);
3682
- ke([je, nt], () => ma);
3723
+ return g;
3724
+ }, ma = (e, t) => fa(t).format(e), ga = (e, t) => ha(t).format(e), ba = (e, t) => ca(t).format(e), ya = (e, t = He()) => Qn(e, t), va = ke([je, nt], () => pa);
3725
+ ke([je], () => ma);
3726
+ ke([je], () => ga);
3727
+ ke([je], () => ba);
3728
+ ke([je, nt], () => ya);
3683
3729
  function En(e, t) {
3684
3730
  Yn(e, t);
3685
3731
  }
3686
- function ba(e) {
3732
+ function Ea(e) {
3687
3733
  je.set(e);
3688
3734
  }
3689
3735
  const xn = {
@@ -3894,7 +3940,7 @@ var qt = { exports: {} };
3894
3940
  */
3895
3941
  (function(e, t) {
3896
3942
  (function(n) {
3897
- var r = n.setTimeout, i = n.clearTimeout, a = n.XMLHttpRequest, l = n.XDomainRequest, s = n.ActiveXObject, h = n.EventSource, u = n.document, d = n.Promise, b = n.fetch, y = n.Response, B = n.TextDecoder, x = n.TextEncoder, H = n.AbortController;
3943
+ var r = n.setTimeout, i = n.clearTimeout, a = n.XMLHttpRequest, l = n.XDomainRequest, s = n.ActiveXObject, h = n.EventSource, u = n.document, d = n.Promise, g = n.fetch, b = n.Response, _ = n.TextDecoder, T = n.TextEncoder, S = n.AbortController;
3898
3944
  if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(c) {
3899
3945
  u.readyState = "complete";
3900
3946
  }, !1)), a == null && s != null && (a = function() {
@@ -3905,11 +3951,11 @@ var qt = { exports: {} };
3905
3951
  return o.prototype = c, new o();
3906
3952
  }), Date.now || (Date.now = function() {
3907
3953
  return (/* @__PURE__ */ new Date()).getTime();
3908
- }), H == null) {
3909
- var _ = b;
3910
- b = function(c, o) {
3954
+ }), S == null) {
3955
+ var x = g;
3956
+ g = function(c, o) {
3911
3957
  var p = o.signal;
3912
- return _(c, { headers: o.headers, credentials: o.credentials, cache: o.cache }).then(function(f) {
3958
+ return x(c, { headers: o.headers, credentials: o.credentials, cache: o.cache }).then(function(f) {
3913
3959
  var m = f.body.getReader();
3914
3960
  return p._reader = m, p._aborted && p._reader.cancel(), {
3915
3961
  status: f.status,
@@ -3922,7 +3968,7 @@ var qt = { exports: {} };
3922
3968
  }
3923
3969
  };
3924
3970
  });
3925
- }, H = function() {
3971
+ }, S = function() {
3926
3972
  this.signal = {
3927
3973
  _reader: null,
3928
3974
  _aborted: !1
@@ -3931,119 +3977,119 @@ var qt = { exports: {} };
3931
3977
  };
3932
3978
  };
3933
3979
  }
3934
- function A() {
3980
+ function C() {
3935
3981
  this.bitsNeeded = 0, this.codePoint = 0;
3936
3982
  }
3937
- A.prototype.decode = function(c) {
3938
- function o(N, F, S) {
3939
- if (S === 1)
3940
- return N >= 128 >> F && N << F <= 2047;
3941
- if (S === 2)
3942
- return N >= 2048 >> F && N << F <= 55295 || N >= 57344 >> F && N << F <= 65535;
3943
- if (S === 3)
3944
- return N >= 65536 >> F && N << F <= 1114111;
3983
+ C.prototype.decode = function(c) {
3984
+ function o(N, G, A) {
3985
+ if (A === 1)
3986
+ return N >= 128 >> G && N << G <= 2047;
3987
+ if (A === 2)
3988
+ return N >= 2048 >> G && N << G <= 55295 || N >= 57344 >> G && N << G <= 65535;
3989
+ if (A === 3)
3990
+ return N >= 65536 >> G && N << G <= 1114111;
3945
3991
  throw new Error();
3946
3992
  }
3947
- function p(N, F) {
3993
+ function p(N, G) {
3948
3994
  if (N === 6 * 1)
3949
- return F >> 6 > 15 ? 3 : F > 31 ? 2 : 1;
3995
+ return G >> 6 > 15 ? 3 : G > 31 ? 2 : 1;
3950
3996
  if (N === 6 * 2)
3951
- return F > 15 ? 3 : 2;
3997
+ return G > 15 ? 3 : 2;
3952
3998
  if (N === 6 * 3)
3953
3999
  return 3;
3954
4000
  throw new Error();
3955
4001
  }
3956
- for (var f = 65533, m = "", v = this.bitsNeeded, T = this.codePoint, E = 0; E < c.length; E += 1) {
4002
+ for (var f = 65533, m = "", y = this.bitsNeeded, B = this.codePoint, E = 0; E < c.length; E += 1) {
3957
4003
  var w = c[E];
3958
- v !== 0 && (w < 128 || w > 191 || !o(T << 6 | w & 63, v - 6, p(v, T))) && (v = 0, T = f, m += String.fromCharCode(T)), v === 0 ? (w >= 0 && w <= 127 ? (v = 0, T = w) : w >= 192 && w <= 223 ? (v = 6 * 1, T = w & 31) : w >= 224 && w <= 239 ? (v = 6 * 2, T = w & 15) : w >= 240 && w <= 247 ? (v = 6 * 3, T = w & 7) : (v = 0, T = f), v !== 0 && !o(T, v, p(v, T)) && (v = 0, T = f)) : (v -= 6, T = T << 6 | w & 63), v === 0 && (T <= 65535 ? m += String.fromCharCode(T) : (m += String.fromCharCode(55296 + (T - 65535 - 1 >> 10)), m += String.fromCharCode(56320 + (T - 65535 - 1 & 1023))));
4004
+ y !== 0 && (w < 128 || w > 191 || !o(B << 6 | w & 63, y - 6, p(y, B))) && (y = 0, B = f, m += String.fromCharCode(B)), y === 0 ? (w >= 0 && w <= 127 ? (y = 0, B = w) : w >= 192 && w <= 223 ? (y = 6 * 1, B = w & 31) : w >= 224 && w <= 239 ? (y = 6 * 2, B = w & 15) : w >= 240 && w <= 247 ? (y = 6 * 3, B = w & 7) : (y = 0, B = f), y !== 0 && !o(B, y, p(y, B)) && (y = 0, B = f)) : (y -= 6, B = B << 6 | w & 63), y === 0 && (B <= 65535 ? m += String.fromCharCode(B) : (m += String.fromCharCode(55296 + (B - 65535 - 1 >> 10)), m += String.fromCharCode(56320 + (B - 65535 - 1 & 1023))));
3959
4005
  }
3960
- return this.bitsNeeded = v, this.codePoint = T, m;
4006
+ return this.bitsNeeded = y, this.codePoint = B, m;
3961
4007
  };
3962
- var P = function() {
4008
+ var D = function() {
3963
4009
  try {
3964
- return new B().decode(new x().encode("test"), { stream: !0 }) === "test";
4010
+ return new _().decode(new T().encode("test"), { stream: !0 }) === "test";
3965
4011
  } catch (c) {
3966
4012
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
3967
4013
  }
3968
4014
  return !1;
3969
4015
  };
3970
- (B == null || x == null || !P()) && (B = A);
4016
+ (_ == null || T == null || !D()) && (_ = C);
3971
4017
  var O = function() {
3972
4018
  };
3973
- function j(c) {
4019
+ function U(c) {
3974
4020
  this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = O, this.onload = O, this.onerror = O, this.onreadystatechange = O, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = O;
3975
4021
  }
3976
- j.prototype.open = function(c, o) {
4022
+ U.prototype.open = function(c, o) {
3977
4023
  this._abort(!0);
3978
- var p = this, f = this._xhr, m = 1, v = 0;
3979
- this._abort = function(S) {
3980
- p._sendTimeout !== 0 && (i(p._sendTimeout), p._sendTimeout = 0), (m === 1 || m === 2 || m === 3) && (m = 4, f.onload = O, f.onerror = O, f.onabort = O, f.onprogress = O, f.onreadystatechange = O, f.abort(), v !== 0 && (i(v), v = 0), S || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), m = 0;
4024
+ var p = this, f = this._xhr, m = 1, y = 0;
4025
+ this._abort = function(A) {
4026
+ p._sendTimeout !== 0 && (i(p._sendTimeout), p._sendTimeout = 0), (m === 1 || m === 2 || m === 3) && (m = 4, f.onload = O, f.onerror = O, f.onabort = O, f.onprogress = O, f.onreadystatechange = O, f.abort(), y !== 0 && (i(y), y = 0), A || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), m = 0;
3981
4027
  };
3982
- var T = function() {
4028
+ var B = function() {
3983
4029
  if (m === 1) {
3984
- var S = 0, k = "", ye = void 0;
4030
+ var A = 0, V = "", Ee = void 0;
3985
4031
  if ("contentType" in f)
3986
- S = 200, k = "OK", ye = f.contentType;
4032
+ A = 200, V = "OK", Ee = f.contentType;
3987
4033
  else
3988
4034
  try {
3989
- S = f.status, k = f.statusText, ye = f.getResponseHeader("Content-Type");
4035
+ A = f.status, V = f.statusText, Ee = f.getResponseHeader("Content-Type");
3990
4036
  } catch {
3991
- S = 0, k = "", ye = void 0;
4037
+ A = 0, V = "", Ee = void 0;
3992
4038
  }
3993
- S !== 0 && (m = 2, p.readyState = 2, p.status = S, p.statusText = k, p._contentType = ye, p.onreadystatechange());
4039
+ A !== 0 && (m = 2, p.readyState = 2, p.status = A, p.statusText = V, p._contentType = Ee, p.onreadystatechange());
3994
4040
  }
3995
4041
  }, E = function() {
3996
- if (T(), m === 2 || m === 3) {
4042
+ if (B(), m === 2 || m === 3) {
3997
4043
  m = 3;
3998
- var S = "";
4044
+ var A = "";
3999
4045
  try {
4000
- S = f.responseText;
4046
+ A = f.responseText;
4001
4047
  } catch {
4002
4048
  }
4003
- p.readyState = 3, p.responseText = S, p.onprogress();
4049
+ p.readyState = 3, p.responseText = A, p.onprogress();
4004
4050
  }
4005
- }, w = function(S, k) {
4006
- if ((k == null || k.preventDefault == null) && (k = {
4051
+ }, w = function(A, V) {
4052
+ if ((V == null || V.preventDefault == null) && (V = {
4007
4053
  preventDefault: O
4008
4054
  }), E(), m === 1 || m === 2 || m === 3) {
4009
- if (m = 4, v !== 0 && (i(v), v = 0), p.readyState = 4, S === "load")
4010
- p.onload(k);
4011
- else if (S === "error")
4012
- p.onerror(k);
4013
- else if (S === "abort")
4014
- p.onabort(k);
4055
+ if (m = 4, y !== 0 && (i(y), y = 0), p.readyState = 4, A === "load")
4056
+ p.onload(V);
4057
+ else if (A === "error")
4058
+ p.onerror(V);
4059
+ else if (A === "abort")
4060
+ p.onabort(V);
4015
4061
  else
4016
4062
  throw new TypeError();
4017
4063
  p.onreadystatechange();
4018
4064
  }
4019
- }, N = function(S) {
4020
- f != null && (f.readyState === 4 ? (!("onload" in f) || !("onerror" in f) || !("onabort" in f)) && w(f.responseText === "" ? "error" : "load", S) : f.readyState === 3 ? "onprogress" in f || E() : f.readyState === 2 && T());
4021
- }, F = function() {
4022
- v = r(function() {
4023
- F();
4065
+ }, N = function(A) {
4066
+ f != null && (f.readyState === 4 ? (!("onload" in f) || !("onerror" in f) || !("onabort" in f)) && w(f.responseText === "" ? "error" : "load", A) : f.readyState === 3 ? "onprogress" in f || E() : f.readyState === 2 && B());
4067
+ }, G = function() {
4068
+ y = r(function() {
4069
+ G();
4024
4070
  }, 500), f.readyState === 3 && E();
4025
4071
  };
4026
- "onload" in f && (f.onload = function(S) {
4027
- w("load", S);
4028
- }), "onerror" in f && (f.onerror = function(S) {
4029
- w("error", S);
4030
- }), "onabort" in f && (f.onabort = function(S) {
4031
- w("abort", S);
4032
- }), "onprogress" in f && (f.onprogress = E), "onreadystatechange" in f && (f.onreadystatechange = function(S) {
4033
- N(S);
4034
- }), ("contentType" in f || !("ontimeout" in a.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), f.open(c, o, !0), "readyState" in f && (v = r(function() {
4035
- F();
4072
+ "onload" in f && (f.onload = function(A) {
4073
+ w("load", A);
4074
+ }), "onerror" in f && (f.onerror = function(A) {
4075
+ w("error", A);
4076
+ }), "onabort" in f && (f.onabort = function(A) {
4077
+ w("abort", A);
4078
+ }), "onprogress" in f && (f.onprogress = E), "onreadystatechange" in f && (f.onreadystatechange = function(A) {
4079
+ N(A);
4080
+ }), ("contentType" in f || !("ontimeout" in a.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), f.open(c, o, !0), "readyState" in f && (y = r(function() {
4081
+ G();
4036
4082
  }, 0));
4037
- }, j.prototype.abort = function() {
4083
+ }, U.prototype.abort = function() {
4038
4084
  this._abort(!1);
4039
- }, j.prototype.getResponseHeader = function(c) {
4085
+ }, U.prototype.getResponseHeader = function(c) {
4040
4086
  return this._contentType;
4041
- }, j.prototype.setRequestHeader = function(c, o) {
4087
+ }, U.prototype.setRequestHeader = function(c, o) {
4042
4088
  var p = this._xhr;
4043
4089
  "setRequestHeader" in p && p.setRequestHeader(c, o);
4044
- }, j.prototype.getAllResponseHeaders = function() {
4090
+ }, U.prototype.getAllResponseHeaders = function() {
4045
4091
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4046
- }, j.prototype.send = function() {
4092
+ }, U.prototype.send = function() {
4047
4093
  if ((!("ontimeout" in a.prototype) || !("sendAsBinary" in a.prototype) && !("mozAnon" in a.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4048
4094
  var c = this;
4049
4095
  c._sendTimeout = r(function() {
@@ -4059,30 +4105,30 @@ var qt = { exports: {} };
4059
4105
  throw p;
4060
4106
  }
4061
4107
  };
4062
- function X(c) {
4108
+ function q(c) {
4063
4109
  return c.replace(/[A-Z]/g, function(o) {
4064
4110
  return String.fromCharCode(o.charCodeAt(0) + 32);
4065
4111
  });
4066
4112
  }
4067
- function ne(c) {
4113
+ function re(c) {
4068
4114
  for (var o = /* @__PURE__ */ Object.create(null), p = c.split(`\r
4069
4115
  `), f = 0; f < p.length; f += 1) {
4070
- var m = p[f], v = m.split(": "), T = v.shift(), E = v.join(": ");
4071
- o[X(T)] = E;
4116
+ var m = p[f], y = m.split(": "), B = y.shift(), E = y.join(": ");
4117
+ o[q(B)] = E;
4072
4118
  }
4073
4119
  this._map = o;
4074
4120
  }
4075
- ne.prototype.get = function(c) {
4076
- return this._map[X(c)];
4121
+ re.prototype.get = function(c) {
4122
+ return this._map[q(c)];
4077
4123
  }, a != null && a.HEADERS_RECEIVED == null && (a.HEADERS_RECEIVED = 2);
4078
- function W() {
4124
+ function z() {
4079
4125
  }
4080
- W.prototype.open = function(c, o, p, f, m, v, T) {
4126
+ z.prototype.open = function(c, o, p, f, m, y, B) {
4081
4127
  c.open("GET", m);
4082
4128
  var E = 0;
4083
4129
  c.onprogress = function() {
4084
- var N = c.responseText, F = N.slice(E);
4085
- E += F.length, p(F);
4130
+ var N = c.responseText, G = N.slice(E);
4131
+ E += G.length, p(G);
4086
4132
  }, c.onerror = function(N) {
4087
4133
  N.preventDefault(), f(new Error("NetworkError"));
4088
4134
  }, c.onload = function() {
@@ -4091,65 +4137,65 @@ var qt = { exports: {} };
4091
4137
  f(null);
4092
4138
  }, c.onreadystatechange = function() {
4093
4139
  if (c.readyState === a.HEADERS_RECEIVED) {
4094
- var N = c.status, F = c.statusText, S = c.getResponseHeader("Content-Type"), k = c.getAllResponseHeaders();
4095
- o(N, F, S, new ne(k));
4140
+ var N = c.status, G = c.statusText, A = c.getResponseHeader("Content-Type"), V = c.getAllResponseHeaders();
4141
+ o(N, G, A, new re(V));
4096
4142
  }
4097
- }, c.withCredentials = v;
4098
- for (var w in T)
4099
- Object.prototype.hasOwnProperty.call(T, w) && c.setRequestHeader(w, T[w]);
4143
+ }, c.withCredentials = y;
4144
+ for (var w in B)
4145
+ Object.prototype.hasOwnProperty.call(B, w) && c.setRequestHeader(w, B[w]);
4100
4146
  return c.send(), c;
4101
4147
  };
4102
- function U(c) {
4148
+ function X(c) {
4103
4149
  this._headers = c;
4104
4150
  }
4105
- U.prototype.get = function(c) {
4151
+ X.prototype.get = function(c) {
4106
4152
  return this._headers.get(c);
4107
4153
  };
4108
- function D() {
4154
+ function P() {
4109
4155
  }
4110
- D.prototype.open = function(c, o, p, f, m, v, T) {
4111
- var E = null, w = new H(), N = w.signal, F = new B();
4112
- return b(m, {
4113
- headers: T,
4114
- credentials: v ? "include" : "same-origin",
4156
+ P.prototype.open = function(c, o, p, f, m, y, B) {
4157
+ var E = null, w = new S(), N = w.signal, G = new _();
4158
+ return g(m, {
4159
+ headers: B,
4160
+ credentials: y ? "include" : "same-origin",
4115
4161
  signal: N,
4116
4162
  cache: "no-store"
4117
- }).then(function(S) {
4118
- return E = S.body.getReader(), o(S.status, S.statusText, S.headers.get("Content-Type"), new U(S.headers)), new d(function(k, ye) {
4163
+ }).then(function(A) {
4164
+ return E = A.body.getReader(), o(A.status, A.statusText, A.headers.get("Content-Type"), new X(A.headers)), new d(function(V, Ee) {
4119
4165
  var qe = function() {
4120
- E.read().then(function(ie) {
4121
- if (ie.done)
4122
- k(void 0);
4166
+ E.read().then(function(ae) {
4167
+ if (ae.done)
4168
+ V(void 0);
4123
4169
  else {
4124
- var Y = F.decode(ie.value, { stream: !0 });
4125
- p(Y), qe();
4170
+ var K = G.decode(ae.value, { stream: !0 });
4171
+ p(K), qe();
4126
4172
  }
4127
- }).catch(function(ie) {
4128
- ye(ie);
4173
+ }).catch(function(ae) {
4174
+ Ee(ae);
4129
4175
  });
4130
4176
  };
4131
4177
  qe();
4132
4178
  });
4133
- }).catch(function(S) {
4134
- if (S.name !== "AbortError")
4135
- return S;
4136
- }).then(function(S) {
4137
- f(S);
4179
+ }).catch(function(A) {
4180
+ if (A.name !== "AbortError")
4181
+ return A;
4182
+ }).then(function(A) {
4183
+ f(A);
4138
4184
  }), {
4139
4185
  abort: function() {
4140
4186
  E?.cancel(), w.abort();
4141
4187
  }
4142
4188
  };
4143
4189
  };
4144
- function V() {
4190
+ function $() {
4145
4191
  this._listeners = /* @__PURE__ */ Object.create(null);
4146
4192
  }
4147
- function g(c) {
4193
+ function F(c) {
4148
4194
  r(function() {
4149
4195
  throw c;
4150
4196
  }, 0);
4151
4197
  }
4152
- V.prototype.dispatchEvent = function(c) {
4198
+ $.prototype.dispatchEvent = function(c) {
4153
4199
  c.target = this;
4154
4200
  var o = this._listeners[c.type];
4155
4201
  if (o != null)
@@ -4157,181 +4203,181 @@ var qt = { exports: {} };
4157
4203
  var m = o[f];
4158
4204
  try {
4159
4205
  typeof m.handleEvent == "function" ? m.handleEvent(c) : m.call(this, c);
4160
- } catch (v) {
4161
- g(v);
4206
+ } catch (y) {
4207
+ F(y);
4162
4208
  }
4163
4209
  }
4164
- }, V.prototype.addEventListener = function(c, o) {
4210
+ }, $.prototype.addEventListener = function(c, o) {
4165
4211
  c = String(c);
4166
4212
  var p = this._listeners, f = p[c];
4167
4213
  f == null && (f = [], p[c] = f);
4168
- for (var m = !1, v = 0; v < f.length; v += 1)
4169
- f[v] === o && (m = !0);
4214
+ for (var m = !1, y = 0; y < f.length; y += 1)
4215
+ f[y] === o && (m = !0);
4170
4216
  m || f.push(o);
4171
- }, V.prototype.removeEventListener = function(c, o) {
4217
+ }, $.prototype.removeEventListener = function(c, o) {
4172
4218
  c = String(c);
4173
4219
  var p = this._listeners, f = p[c];
4174
4220
  if (f != null) {
4175
- for (var m = [], v = 0; v < f.length; v += 1)
4176
- f[v] !== o && m.push(f[v]);
4221
+ for (var m = [], y = 0; y < f.length; y += 1)
4222
+ f[y] !== o && m.push(f[y]);
4177
4223
  m.length === 0 ? delete p[c] : p[c] = m;
4178
4224
  }
4179
4225
  };
4180
- function J(c) {
4226
+ function Y(c) {
4181
4227
  this.type = c, this.target = void 0;
4182
4228
  }
4183
- function rt(c, o) {
4184
- J.call(this, c), this.data = o.data, this.lastEventId = o.lastEventId;
4229
+ function v(c, o) {
4230
+ Y.call(this, c), this.data = o.data, this.lastEventId = o.lastEventId;
4185
4231
  }
4186
- rt.prototype = Object.create(J.prototype);
4187
- function ge(c, o) {
4188
- J.call(this, c), this.status = o.status, this.statusText = o.statusText, this.headers = o.headers;
4232
+ v.prototype = Object.create(Y.prototype);
4233
+ function be(c, o) {
4234
+ Y.call(this, c), this.status = o.status, this.statusText = o.statusText, this.headers = o.headers;
4189
4235
  }
4190
- ge.prototype = Object.create(J.prototype);
4191
- function Xe(c, o) {
4192
- J.call(this, c), this.error = o.error;
4236
+ be.prototype = Object.create(Y.prototype);
4237
+ function rt(c, o) {
4238
+ Y.call(this, c), this.error = o.error;
4193
4239
  }
4194
- Xe.prototype = Object.create(J.prototype);
4195
- var ze = -1, de = 0, Be = 1, be = 2, He = -1, pe = 0, Se = 1, We = 2, _t = 3, it = /^text\/event\-stream(;.*)?$/i, Bt = 1e3, Tt = 18e6, Oe = function(c, o) {
4240
+ rt.prototype = Object.create(Y.prototype);
4241
+ var ye = -1, ce = 0, we = 1, Ae = 2, Xe = -1, le = 0, Oe = 1, it = 2, ze = 3, at = /^text\/event\-stream(;.*)?$/i, Tt = 1e3, ot = 18e6, We = function(c, o) {
4196
4242
  var p = c == null ? o : parseInt(c, 10);
4197
4243
  return p !== p && (p = o), Ze(p);
4198
4244
  }, Ze = function(c) {
4199
- return Math.min(Math.max(c, Bt), Tt);
4200
- }, Te = function(c, o, p) {
4245
+ return Math.min(Math.max(c, Tt), ot);
4246
+ }, ve = function(c, o, p) {
4201
4247
  try {
4202
4248
  typeof o == "function" && o.call(c, p);
4203
4249
  } catch (f) {
4204
- g(f);
4250
+ F(f);
4205
4251
  }
4206
4252
  };
4207
- function re(c, o) {
4208
- V.call(this), o = o || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, At(this, c, o);
4253
+ function ie(c, o) {
4254
+ $.call(this), o = o || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, At(this, c, o);
4209
4255
  }
4210
4256
  function wt() {
4211
4257
  return a != null && "withCredentials" in a.prototype || l == null ? new a() : new l();
4212
4258
  }
4213
- var St = b != null && y != null && "body" in y.prototype;
4259
+ var St = g != null && b != null && "body" in b.prototype;
4214
4260
  function At(c, o, p) {
4215
4261
  o = String(o);
4216
- var f = !!p.withCredentials, m = p.lastEventIdQueryParameterName || "lastEventId", v = Ze(1e3), T = Oe(p.heartbeatTimeout, 45e3), E = "", w = v, N = !1, F = 0, S = p.headers || {}, k = p.Transport, ye = St && k == null ? void 0 : new j(k != null ? new k() : wt()), qe = k != null && typeof k != "string" ? new k() : ye == null ? new D() : new W(), ie = void 0, Y = 0, le = ze, Re = "", ot = "", ve = "", st = "", K = pe, Ct = 0, Ae = 0, ir = function(Z, z, ae, oe) {
4217
- if (le === de)
4218
- if (Z === 200 && ae != null && it.test(ae)) {
4219
- le = Be, N = Date.now(), w = v, c.readyState = Be;
4220
- var ee = new ge("open", {
4262
+ var f = !!p.withCredentials, m = p.lastEventIdQueryParameterName || "lastEventId", y = Ze(1e3), B = We(p.heartbeatTimeout, 45e3), E = "", w = y, N = !1, G = 0, A = p.headers || {}, V = p.Transport, Ee = St && V == null ? void 0 : new U(V != null ? new V() : wt()), qe = V != null && typeof V != "string" ? new V() : Ee == null ? new P() : new z(), ae = void 0, K = 0, he = ye, Re = "", lt = "", xe = "", ut = "", ee = le, Ct = 0, Ce = 0, ir = function(Z, W, oe, se) {
4263
+ if (he === ce)
4264
+ if (Z === 200 && oe != null && at.test(oe)) {
4265
+ he = we, N = Date.now(), w = y, c.readyState = we;
4266
+ var te = new be("open", {
4221
4267
  status: Z,
4222
- statusText: z,
4223
- headers: oe
4268
+ statusText: W,
4269
+ headers: se
4224
4270
  });
4225
- c.dispatchEvent(ee), Te(c, c.onopen, ee);
4271
+ c.dispatchEvent(te), ve(c, c.onopen, te);
4226
4272
  } else {
4227
- var q = "";
4228
- Z !== 200 ? (z && (z = z.replace(/\s+/g, " ")), q = "EventSource's response has a status " + Z + " " + z + " that is not 200. Aborting the connection.") : q = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Ht();
4229
- var ee = new ge("error", {
4273
+ var Q = "";
4274
+ Z !== 200 ? (W && (W = W.replace(/\s+/g, " ")), Q = "EventSource's response has a status " + Z + " " + W + " that is not 200. Aborting the connection.") : Q = "EventSource's response has a Content-Type specifying an unsupported type: " + (oe == null ? "-" : oe.replace(/\s+/g, " ")) + ". Aborting the connection.", Ht();
4275
+ var te = new be("error", {
4230
4276
  status: Z,
4231
- statusText: z,
4232
- headers: oe
4277
+ statusText: W,
4278
+ headers: se
4233
4279
  });
4234
- c.dispatchEvent(ee), Te(c, c.onerror, ee), console.error(q);
4280
+ c.dispatchEvent(te), ve(c, c.onerror, te), console.error(Q);
4235
4281
  }
4236
4282
  }, ar = function(Z) {
4237
- if (le === Be) {
4238
- for (var z = -1, ae = 0; ae < Z.length; ae += 1) {
4239
- var oe = Z.charCodeAt(ae);
4240
- (oe === 10 || oe === 13) && (z = ae);
4283
+ if (he === we) {
4284
+ for (var W = -1, oe = 0; oe < Z.length; oe += 1) {
4285
+ var se = Z.charCodeAt(oe);
4286
+ (se === 10 || se === 13) && (W = oe);
4241
4287
  }
4242
- var ee = (z !== -1 ? st : "") + Z.slice(0, z + 1);
4243
- st = (z === -1 ? st : "") + Z.slice(z + 1), Z !== "" && (N = Date.now(), F += Z.length);
4244
- for (var q = 0; q < ee.length; q += 1) {
4245
- var oe = ee.charCodeAt(q);
4246
- if (K === He && oe === 10)
4247
- K = pe;
4248
- else if (K === He && (K = pe), oe === 13 || oe === 10) {
4249
- if (K !== pe) {
4250
- K === Se && (Ae = q + 1);
4251
- var Ee = ee.slice(Ct, Ae - 1), xe = ee.slice(Ae + (Ae < q && ee.charCodeAt(Ae) === 32 ? 1 : 0), q);
4252
- Ee === "data" ? (Re += `
4253
- `, Re += xe) : Ee === "id" ? ot = xe : Ee === "event" ? ve = xe : Ee === "retry" ? (v = Oe(xe, v), w = v) : Ee === "heartbeatTimeout" && (T = Oe(xe, T), Y !== 0 && (i(Y), Y = r(function() {
4288
+ var te = (W !== -1 ? ut : "") + Z.slice(0, W + 1);
4289
+ ut = (W === -1 ? ut : "") + Z.slice(W + 1), Z !== "" && (N = Date.now(), G += Z.length);
4290
+ for (var Q = 0; Q < te.length; Q += 1) {
4291
+ var se = te.charCodeAt(Q);
4292
+ if (ee === Xe && se === 10)
4293
+ ee = le;
4294
+ else if (ee === Xe && (ee = le), se === 13 || se === 10) {
4295
+ if (ee !== le) {
4296
+ ee === Oe && (Ce = Q + 1);
4297
+ var _e = te.slice(Ct, Ce - 1), Be = te.slice(Ce + (Ce < Q && te.charCodeAt(Ce) === 32 ? 1 : 0), Q);
4298
+ _e === "data" ? (Re += `
4299
+ `, Re += Be) : _e === "id" ? lt = Be : _e === "event" ? xe = Be : _e === "retry" ? (y = We(Be, y), w = y) : _e === "heartbeatTimeout" && (B = We(Be, B), K !== 0 && (i(K), K = r(function() {
4254
4300
  Qe();
4255
- }, T)));
4301
+ }, B)));
4256
4302
  }
4257
- if (K === pe) {
4303
+ if (ee === le) {
4258
4304
  if (Re !== "") {
4259
- E = ot, ve === "" && (ve = "message");
4260
- var Le = new rt(ve, {
4305
+ E = lt, xe === "" && (xe = "message");
4306
+ var Le = new v(xe, {
4261
4307
  data: Re.slice(1),
4262
- lastEventId: ot
4308
+ lastEventId: lt
4263
4309
  });
4264
- if (c.dispatchEvent(Le), ve === "open" ? Te(c, c.onopen, Le) : ve === "message" ? Te(c, c.onmessage, Le) : ve === "error" && Te(c, c.onerror, Le), le === be)
4310
+ if (c.dispatchEvent(Le), xe === "open" ? ve(c, c.onopen, Le) : xe === "message" ? ve(c, c.onmessage, Le) : xe === "error" && ve(c, c.onerror, Le), he === Ae)
4265
4311
  return;
4266
4312
  }
4267
- Re = "", ve = "";
4313
+ Re = "", xe = "";
4268
4314
  }
4269
- K = oe === 13 ? He : pe;
4315
+ ee = se === 13 ? Xe : le;
4270
4316
  } else
4271
- K === pe && (Ct = q, K = Se), K === Se ? oe === 58 && (Ae = q + 1, K = We) : K === We && (K = _t);
4317
+ ee === le && (Ct = Q, ee = Oe), ee === Oe ? se === 58 && (Ce = Q + 1, ee = it) : ee === it && (ee = ze);
4272
4318
  }
4273
4319
  }
4274
4320
  }, nn = function(Z) {
4275
- if (le === Be || le === de) {
4276
- le = ze, Y !== 0 && (i(Y), Y = 0), Y = r(function() {
4321
+ if (he === we || he === ce) {
4322
+ he = ye, K !== 0 && (i(K), K = 0), K = r(function() {
4277
4323
  Qe();
4278
- }, w), w = Ze(Math.min(v * 16, w * 2)), c.readyState = de;
4279
- var z = new Xe("error", { error: Z });
4280
- c.dispatchEvent(z), Te(c, c.onerror, z), Z != null && console.error(Z);
4324
+ }, w), w = Ze(Math.min(y * 16, w * 2)), c.readyState = ce;
4325
+ var W = new rt("error", { error: Z });
4326
+ c.dispatchEvent(W), ve(c, c.onerror, W), Z != null && console.error(Z);
4281
4327
  }
4282
4328
  }, Ht = function() {
4283
- le = be, ie != null && (ie.abort(), ie = void 0), Y !== 0 && (i(Y), Y = 0), c.readyState = be;
4329
+ he = Ae, ae != null && (ae.abort(), ae = void 0), K !== 0 && (i(K), K = 0), c.readyState = Ae;
4284
4330
  }, Qe = function() {
4285
- if (Y = 0, le !== ze) {
4286
- if (!N && ie != null)
4287
- nn(new Error("No activity within " + T + " milliseconds. " + (le === de ? "No response received." : F + " chars received.") + " Reconnecting.")), ie != null && (ie.abort(), ie = void 0);
4331
+ if (K = 0, he !== ye) {
4332
+ if (!N && ae != null)
4333
+ nn(new Error("No activity within " + B + " milliseconds. " + (he === ce ? "No response received." : G + " chars received.") + " Reconnecting.")), ae != null && (ae.abort(), ae = void 0);
4288
4334
  else {
4289
- var Z = Math.max((N || Date.now()) + T - Date.now(), 1);
4290
- N = !1, Y = r(function() {
4335
+ var Z = Math.max((N || Date.now()) + B - Date.now(), 1);
4336
+ N = !1, K = r(function() {
4291
4337
  Qe();
4292
4338
  }, Z);
4293
4339
  }
4294
4340
  return;
4295
4341
  }
4296
- N = !1, F = 0, Y = r(function() {
4342
+ N = !1, G = 0, K = r(function() {
4297
4343
  Qe();
4298
- }, T), le = de, Re = "", ve = "", ot = E, st = "", Ct = 0, Ae = 0, K = pe;
4299
- var z = o;
4344
+ }, B), he = ce, Re = "", xe = "", lt = E, ut = "", Ct = 0, Ce = 0, ee = le;
4345
+ var W = o;
4300
4346
  if (o.slice(0, 5) !== "data:" && o.slice(0, 5) !== "blob:" && E !== "") {
4301
- var ae = o.indexOf("?");
4302
- z = ae === -1 ? o : o.slice(0, ae + 1) + o.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Le) {
4303
- return Le === m ? "" : xe;
4304
- }), z += (o.indexOf("?") === -1 ? "?" : "&") + m + "=" + encodeURIComponent(E);
4347
+ var oe = o.indexOf("?");
4348
+ W = oe === -1 ? o : o.slice(0, oe + 1) + o.slice(oe + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Be, Le) {
4349
+ return Le === m ? "" : Be;
4350
+ }), W += (o.indexOf("?") === -1 ? "?" : "&") + m + "=" + encodeURIComponent(E);
4305
4351
  }
4306
- var oe = c.withCredentials, ee = {};
4307
- ee.Accept = "text/event-stream";
4308
- var q = c.headers;
4309
- if (q != null)
4310
- for (var Ee in q)
4311
- Object.prototype.hasOwnProperty.call(q, Ee) && (ee[Ee] = q[Ee]);
4352
+ var se = c.withCredentials, te = {};
4353
+ te.Accept = "text/event-stream";
4354
+ var Q = c.headers;
4355
+ if (Q != null)
4356
+ for (var _e in Q)
4357
+ Object.prototype.hasOwnProperty.call(Q, _e) && (te[_e] = Q[_e]);
4312
4358
  try {
4313
- ie = qe.open(ye, ir, ar, nn, z, oe, ee);
4314
- } catch (xe) {
4315
- throw Ht(), xe;
4359
+ ae = qe.open(Ee, ir, ar, nn, W, se, te);
4360
+ } catch (Be) {
4361
+ throw Ht(), Be;
4316
4362
  }
4317
4363
  };
4318
- c.url = o, c.readyState = de, c.withCredentials = f, c.headers = S, c._close = Ht, Qe();
4364
+ c.url = o, c.readyState = ce, c.withCredentials = f, c.headers = A, c._close = Ht, Qe();
4319
4365
  }
4320
- re.prototype = Object.create(V.prototype), re.prototype.CONNECTING = de, re.prototype.OPEN = Be, re.prototype.CLOSED = be, re.prototype.close = function() {
4366
+ ie.prototype = Object.create($.prototype), ie.prototype.CONNECTING = ce, ie.prototype.OPEN = we, ie.prototype.CLOSED = Ae, ie.prototype.close = function() {
4321
4367
  this._close();
4322
- }, re.CONNECTING = de, re.OPEN = Be, re.CLOSED = be, re.prototype.withCredentials = void 0;
4323
- var at = h;
4324
- a != null && (h == null || !("withCredentials" in h.prototype)) && (at = re), function(c) {
4368
+ }, ie.CONNECTING = ce, ie.OPEN = we, ie.CLOSED = Ae, ie.prototype.withCredentials = void 0;
4369
+ var st = h;
4370
+ a != null && (h == null || !("withCredentials" in h.prototype)) && (st = ie), function(c) {
4325
4371
  {
4326
4372
  var o = c(t);
4327
4373
  o !== void 0 && (e.exports = o);
4328
4374
  }
4329
4375
  }(function(c) {
4330
- c.EventSourcePolyfill = re, c.NativeEventSource = h, c.EventSource = at;
4376
+ c.EventSourcePolyfill = ie, c.NativeEventSource = h, c.EventSource = st;
4331
4377
  });
4332
- })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : Or : globalThis);
4378
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : Mr : globalThis);
4333
4379
  })(qt, qt.exports);
4334
- var ya = qt.exports;
4380
+ var xa = qt.exports;
4335
4381
  /*!
4336
4382
  * currency.js - v2.0.4
4337
4383
  * http://scurker.github.io/currency.js
@@ -4339,7 +4385,7 @@ var ya = qt.exports;
4339
4385
  * Copyright (c) 2021 Jason Wilson
4340
4386
  * Released under MIT license
4341
4387
  */
4342
- var va = {
4388
+ var _a = {
4343
4389
  symbol: "$",
4344
4390
  separator: ",",
4345
4391
  decimal: ".",
@@ -4347,31 +4393,31 @@ var va = {
4347
4393
  precision: 2,
4348
4394
  pattern: "!#",
4349
4395
  negativePattern: "-!#",
4350
- format: Ba,
4396
+ format: Sa,
4351
4397
  fromCents: !1
4352
4398
  }, rr = function(t) {
4353
4399
  return Math.round(t);
4354
4400
  }, tn = function(t) {
4355
4401
  return Math.pow(10, t);
4356
- }, Ea = function(t, n) {
4402
+ }, Ba = function(t, n) {
4357
4403
  return rr(t / n) * n;
4358
- }, xa = /(\d)(?=(\d{3})+\b)/g, _a = /(\d)(?=(\d\d)+\d\b)/g;
4359
- function ue(e, t) {
4404
+ }, Ta = /(\d)(?=(\d{3})+\b)/g, wa = /(\d)(?=(\d\d)+\d\b)/g;
4405
+ function fe(e, t) {
4360
4406
  var n = this;
4361
- if (!(n instanceof ue))
4362
- return new ue(e, t);
4363
- var r = Object.assign({}, va, t), i = tn(r.precision), a = ft(e, r);
4364
- n.intValue = a, n.value = a / i, r.increment = r.increment || 1 / i, r.useVedic ? r.groups = _a : r.groups = xa, this.s = r, this.p = i;
4407
+ if (!(n instanceof fe))
4408
+ return new fe(e, t);
4409
+ var r = Object.assign({}, _a, t), i = tn(r.precision), a = pt(e, r);
4410
+ n.intValue = a, n.value = a / i, r.increment = r.increment || 1 / i, r.useVedic ? r.groups = wa : r.groups = Ta, this.s = r, this.p = i;
4365
4411
  }
4366
- function ft(e, t) {
4367
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, i = t.decimal, a = t.errorOnInvalid, l = t.precision, s = t.fromCents, h = tn(l), u = typeof e == "number", d = e instanceof ue;
4412
+ function pt(e, t) {
4413
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, i = t.decimal, a = t.errorOnInvalid, l = t.precision, s = t.fromCents, h = tn(l), u = typeof e == "number", d = e instanceof fe;
4368
4414
  if (d && s)
4369
4415
  return e.intValue;
4370
4416
  if (u || d)
4371
4417
  r = d ? e.value : e;
4372
4418
  else if (typeof e == "string") {
4373
- var b = new RegExp("[^-\\d" + i + "]", "g"), y = new RegExp("\\" + i, "g");
4374
- r = e.replace(/\((.*)\)/, "-$1").replace(b, "").replace(y, "."), r = r || 0;
4419
+ var g = new RegExp("[^-\\d" + i + "]", "g"), b = new RegExp("\\" + i, "g");
4420
+ r = e.replace(/\((.*)\)/, "-$1").replace(g, "").replace(b, "."), r = r || 0;
4375
4421
  } else {
4376
4422
  if (a)
4377
4423
  throw Error("Invalid Input");
@@ -4379,11 +4425,11 @@ function ft(e, t) {
4379
4425
  }
4380
4426
  return s || (r *= h, r = r.toFixed(4)), n ? rr(r) : r;
4381
4427
  }
4382
- function Ba(e, t) {
4428
+ function Sa(e, t) {
4383
4429
  var n = t.pattern, r = t.negativePattern, i = t.symbol, a = t.separator, l = t.decimal, s = t.groups, h = ("" + e).replace(/^-/, "").split("."), u = h[0], d = h[1];
4384
4430
  return (e.value >= 0 ? n : r).replace("!", i).replace("#", u.replace(s, "$1" + a) + (d ? l + d : ""));
4385
4431
  }
4386
- ue.prototype = {
4432
+ fe.prototype = {
4387
4433
  /**
4388
4434
  * Adds values together.
4389
4435
  * @param {number} number
@@ -4391,7 +4437,7 @@ ue.prototype = {
4391
4437
  */
4392
4438
  add: function(t) {
4393
4439
  var n = this.intValue, r = this.s, i = this.p;
4394
- return ue((n += ft(t, r)) / (r.fromCents ? 1 : i), r);
4440
+ return fe((n += pt(t, r)) / (r.fromCents ? 1 : i), r);
4395
4441
  },
4396
4442
  /**
4397
4443
  * Subtracts value.
@@ -4400,7 +4446,7 @@ ue.prototype = {
4400
4446
  */
4401
4447
  subtract: function(t) {
4402
4448
  var n = this.intValue, r = this.s, i = this.p;
4403
- return ue((n -= ft(t, r)) / (r.fromCents ? 1 : i), r);
4449
+ return fe((n -= pt(t, r)) / (r.fromCents ? 1 : i), r);
4404
4450
  },
4405
4451
  /**
4406
4452
  * Multiplies values.
@@ -4409,7 +4455,7 @@ ue.prototype = {
4409
4455
  */
4410
4456
  multiply: function(t) {
4411
4457
  var n = this.intValue, r = this.s;
4412
- return ue((n *= t) / (r.fromCents ? 1 : tn(r.precision)), r);
4458
+ return fe((n *= t) / (r.fromCents ? 1 : tn(r.precision)), r);
4413
4459
  },
4414
4460
  /**
4415
4461
  * Divides value.
@@ -4418,7 +4464,7 @@ ue.prototype = {
4418
4464
  */
4419
4465
  divide: function(t) {
4420
4466
  var n = this.intValue, r = this.s;
4421
- return ue(n /= ft(t, r, !1), r);
4467
+ return fe(n /= pt(t, r, !1), r);
4422
4468
  },
4423
4469
  /**
4424
4470
  * Takes the currency amount and distributes the values evenly. Any extra pennies
@@ -4428,7 +4474,7 @@ ue.prototype = {
4428
4474
  */
4429
4475
  distribute: function(t) {
4430
4476
  for (var n = this.intValue, r = this.p, i = this.s, a = [], l = Math[n >= 0 ? "floor" : "ceil"](n / t), s = Math.abs(n - l * t), h = i.fromCents ? 1 : r; t !== 0; t--) {
4431
- var u = ue(l / h, i);
4477
+ var u = fe(l / h, i);
4432
4478
  s-- > 0 && (u = u[n >= 0 ? "add" : "subtract"](1 / h)), a.push(u);
4433
4479
  }
4434
4480
  return a;
@@ -4463,7 +4509,7 @@ ue.prototype = {
4463
4509
  */
4464
4510
  toString: function() {
4465
4511
  var t = this.intValue, n = this.p, r = this.s;
4466
- return Ea(t / n, r.increment).toFixed(r.precision);
4512
+ return Ba(t / n, r.increment).toFixed(r.precision);
4467
4513
  },
4468
4514
  /**
4469
4515
  * Value for JSON serialization.
@@ -4473,7 +4519,7 @@ ue.prototype = {
4473
4519
  return this.value;
4474
4520
  }
4475
4521
  };
4476
- function Ta(e) {
4522
+ function Aa(e) {
4477
4523
  lr(e, "svelte-1tsugyl", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
4478
4524
  }
4479
4525
  function _n(e, t, n) {
@@ -4484,7 +4530,7 @@ function Bn(e, t, n) {
4484
4530
  const r = e.slice();
4485
4531
  return r[53] = t[n], r;
4486
4532
  }
4487
- function wa(e) {
4533
+ function Ca(e) {
4488
4534
  let t, n, r = (
4489
4535
  /*balances*/
4490
4536
  (e[1].Total ? (
@@ -4494,69 +4540,69 @@ function wa(e) {
4494
4540
  e[1].Total[0].amount
4495
4541
  )
4496
4542
  ) : "0") + ""
4497
- ), i, a, l, s, h, u, d, b, y, B, x, H, _ = (
4543
+ ), i, a, l, s, h, u, d, g, b, _, T, S, x = (
4498
4544
  /*showBalance*/
4499
4545
  e[4] && Tn(e)
4500
4546
  );
4501
4547
  return {
4502
4548
  c() {
4503
- t = $("div"), n = $("p"), i = ce(r), a = fe(), l = ce(
4549
+ t = j("div"), n = j("p"), i = de(r), a = me(), l = de(
4504
4550
  /*currency*/
4505
4551
  e[5]
4506
- ), s = fe(), h = $("span"), u = an("svg"), d = an("path"), y = fe(), _ && _.c(), B = hr(), M(d, "id", "arrow"), M(d, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), M(d, "transform", "translate(-274.511 -441.088)"), M(d, "fill", "#d1d1d1"), M(u, "xmlns", "http://www.w3.org/2000/svg"), M(u, "width", "14"), M(u, "height", "6.835"), M(u, "viewBox", "0 0 14 6.835"), M(h, "class", b = /*modalOpened*/
4552
+ ), s = me(), h = j("span"), u = an("svg"), d = an("path"), b = me(), x && x.c(), _ = hr(), M(d, "id", "arrow"), M(d, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), M(d, "transform", "translate(-274.511 -441.088)"), M(d, "fill", "#d1d1d1"), M(u, "xmlns", "http://www.w3.org/2000/svg"), M(u, "width", "14"), M(u, "height", "6.835"), M(u, "viewBox", "0 0 14 6.835"), M(h, "class", g = /*modalOpened*/
4507
4553
  e[3] ? "TriangleActive" : "TriangleInactive"), M(t, "class", "BalanceValue");
4508
4554
  },
4509
- m(A, P) {
4510
- me(A, t, P), C(t, n), C(n, i), C(n, a), C(n, l), C(t, s), C(t, h), C(h, u), C(u, d), me(A, y, P), _ && _.m(A, P), me(A, B, P), x || (H = dt(
4555
+ m(C, D) {
4556
+ ge(C, t, D), H(t, n), H(n, i), H(n, a), H(n, l), H(t, s), H(t, h), H(h, u), H(u, d), ge(C, b, D), x && x.m(C, D), ge(C, _, D), T || (S = mt(
4511
4557
  t,
4512
4558
  "click",
4513
4559
  /*click_handler*/
4514
- e[24]
4515
- ), x = !0);
4560
+ e[25]
4561
+ ), T = !0);
4516
4562
  },
4517
- p(A, P) {
4518
- P[0] & /*balances*/
4563
+ p(C, D) {
4564
+ D[0] & /*balances*/
4519
4565
  2 && r !== (r = /*balances*/
4520
- (A[1].Total ? (
4566
+ (C[1].Total ? (
4521
4567
  /*formatBalance*/
4522
- A[8](
4568
+ C[8](
4523
4569
  /*balances*/
4524
- A[1].Total[0].amount
4570
+ C[1].Total[0].amount
4525
4571
  )
4526
- ) : "0") + "") && _e(i, r), P[0] & /*currency*/
4527
- 32 && _e(
4572
+ ) : "0") + "") && Te(i, r), D[0] & /*currency*/
4573
+ 32 && Te(
4528
4574
  l,
4529
4575
  /*currency*/
4530
- A[5]
4531
- ), P[0] & /*modalOpened*/
4532
- 8 && b !== (b = /*modalOpened*/
4533
- A[3] ? "TriangleActive" : "TriangleInactive") && M(h, "class", b), /*showBalance*/
4534
- A[4] ? _ ? _.p(A, P) : (_ = Tn(A), _.c(), _.m(B.parentNode, B)) : _ && (_.d(1), _ = null);
4576
+ C[5]
4577
+ ), D[0] & /*modalOpened*/
4578
+ 8 && g !== (g = /*modalOpened*/
4579
+ C[3] ? "TriangleActive" : "TriangleInactive") && M(h, "class", g), /*showBalance*/
4580
+ C[4] ? x ? x.p(C, D) : (x = Tn(C), x.c(), x.m(_.parentNode, _)) : x && (x.d(1), x = null);
4535
4581
  },
4536
- d(A) {
4537
- A && (he(t), he(y), he(B)), _ && _.d(A), x = !1, H();
4582
+ d(C) {
4583
+ C && (pe(t), pe(b), pe(_)), x && x.d(C), T = !1, S();
4538
4584
  }
4539
4585
  };
4540
4586
  }
4541
- function Sa(e) {
4587
+ function Ha(e) {
4542
4588
  let t, n = (
4543
4589
  /*$_*/
4544
4590
  e[6]("Loading") + ""
4545
4591
  ), r;
4546
4592
  return {
4547
4593
  c() {
4548
- t = $("p"), r = ce(n), M(t, "class", "Loading");
4594
+ t = j("p"), r = de(n), M(t, "class", "Loading");
4549
4595
  },
4550
4596
  m(i, a) {
4551
- me(i, t, a), C(t, r);
4597
+ ge(i, t, a), H(t, r);
4552
4598
  },
4553
4599
  p(i, a) {
4554
4600
  a[0] & /*$_*/
4555
4601
  64 && n !== (n = /*$_*/
4556
- i[6]("Loading") + "") && _e(r, n);
4602
+ i[6]("Loading") + "") && Te(r, n);
4557
4603
  },
4558
4604
  d(i) {
4559
- i && he(t);
4605
+ i && pe(t);
4560
4606
  }
4561
4607
  };
4562
4608
  }
@@ -4564,77 +4610,77 @@ function Tn(e) {
4564
4610
  let t, n, r, i, a, l, s, h, u = (
4565
4611
  /*$_*/
4566
4612
  e[6]("Title") + ""
4567
- ), d, b, y, B, x, H, _ = (
4613
+ ), d, g, b, _, T, S, x = (
4568
4614
  /*$_*/
4569
4615
  e[6]("DepositButton") + ""
4570
- ), A, P, O, j, X, ne, W = pt(Object.keys(
4616
+ ), C, D, O, U, q, re, z = gt(Object.keys(
4571
4617
  /*balances*/
4572
4618
  e[1]
4573
- )), U = [];
4574
- for (let D = 0; D < W.length; D += 1)
4575
- U[D] = Sn(_n(e, W, D));
4619
+ )), X = [];
4620
+ for (let P = 0; P < z.length; P += 1)
4621
+ X[P] = Sn(_n(e, z, P));
4576
4622
  return {
4577
4623
  c() {
4578
- t = $("div"), n = $("div"), i = fe(), a = $("div"), l = $("div"), s = $("div"), h = $("p"), d = ce(u), b = fe(), y = $("div");
4579
- for (let D = 0; D < U.length; D += 1)
4580
- U[D].c();
4581
- B = fe(), x = $("div"), H = $("button"), A = ce(_), M(n, "class", r = "BalanceModalClose " + /*modalOpened*/
4582
- (e[3] ? "Open" : "")), M(h, "class", "BalanceModalTitle"), M(s, "class", "BalanceModalHeader"), M(y, "class", "BalanceModalBody"), M(H, "class", "BalanceModalAction"), M(x, "class", "BalanceModalFooter"), M(l, "class", P = "ModalContent " + /*modalOpened*/
4624
+ t = j("div"), n = j("div"), i = me(), a = j("div"), l = j("div"), s = j("div"), h = j("p"), d = de(u), g = me(), b = j("div");
4625
+ for (let P = 0; P < X.length; P += 1)
4626
+ X[P].c();
4627
+ _ = me(), T = j("div"), S = j("button"), C = de(x), M(n, "class", r = "BalanceModalClose " + /*modalOpened*/
4628
+ (e[3] ? "Open" : "")), M(h, "class", "BalanceModalTitle"), M(s, "class", "BalanceModalHeader"), M(b, "class", "BalanceModalBody"), M(S, "class", "BalanceModalAction"), M(T, "class", "BalanceModalFooter"), M(l, "class", D = "ModalContent " + /*modalOpened*/
4583
4629
  (e[3] ? "Open" : "")), M(a, "class", O = "BalanceModal " + /*modalOpened*/
4584
- (e[3] ? "Open" : "")), M(t, "class", j = "BalanceModalWrapper " + /*modalOpened*/
4630
+ (e[3] ? "Open" : "")), M(t, "class", U = "BalanceModalWrapper " + /*modalOpened*/
4585
4631
  (e[3] ? "Open" : ""));
4586
4632
  },
4587
- m(D, V) {
4588
- me(D, t, V), C(t, n), C(t, i), C(t, a), C(a, l), C(l, s), C(s, h), C(h, d), C(l, b), C(l, y);
4589
- for (let g = 0; g < U.length; g += 1)
4590
- U[g] && U[g].m(y, null);
4591
- C(l, B), C(l, x), C(x, H), C(H, A), X || (ne = [
4592
- dt(
4633
+ m(P, $) {
4634
+ ge(P, t, $), H(t, n), H(t, i), H(t, a), H(a, l), H(l, s), H(s, h), H(h, d), H(l, g), H(l, b);
4635
+ for (let F = 0; F < X.length; F += 1)
4636
+ X[F] && X[F].m(b, null);
4637
+ H(l, _), H(l, T), H(T, S), H(S, C), q || (re = [
4638
+ mt(
4593
4639
  n,
4594
4640
  "click",
4595
4641
  /*click_handler_1*/
4596
- e[25]
4642
+ e[26]
4597
4643
  ),
4598
- dt(
4599
- H,
4644
+ mt(
4645
+ S,
4600
4646
  "click",
4601
4647
  /*click_handler_2*/
4602
- e[26]
4648
+ e[27]
4603
4649
  )
4604
- ], X = !0);
4650
+ ], q = !0);
4605
4651
  },
4606
- p(D, V) {
4607
- if (V[0] & /*modalOpened*/
4652
+ p(P, $) {
4653
+ if ($[0] & /*modalOpened*/
4608
4654
  8 && r !== (r = "BalanceModalClose " + /*modalOpened*/
4609
- (D[3] ? "Open" : "")) && M(n, "class", r), V[0] & /*$_*/
4655
+ (P[3] ? "Open" : "")) && M(n, "class", r), $[0] & /*$_*/
4610
4656
  64 && u !== (u = /*$_*/
4611
- D[6]("Title") + "") && _e(d, u), V[0] & /*balances, currency, formatBalance, $_*/
4657
+ P[6]("Title") + "") && Te(d, u), $[0] & /*balances, currency, formatBalance, $_*/
4612
4658
  354) {
4613
- W = pt(Object.keys(
4659
+ z = gt(Object.keys(
4614
4660
  /*balances*/
4615
- D[1]
4661
+ P[1]
4616
4662
  ));
4617
- let g;
4618
- for (g = 0; g < W.length; g += 1) {
4619
- const J = _n(D, W, g);
4620
- U[g] ? U[g].p(J, V) : (U[g] = Sn(J), U[g].c(), U[g].m(y, null));
4663
+ let F;
4664
+ for (F = 0; F < z.length; F += 1) {
4665
+ const Y = _n(P, z, F);
4666
+ X[F] ? X[F].p(Y, $) : (X[F] = Sn(Y), X[F].c(), X[F].m(b, null));
4621
4667
  }
4622
- for (; g < U.length; g += 1)
4623
- U[g].d(1);
4624
- U.length = W.length;
4668
+ for (; F < X.length; F += 1)
4669
+ X[F].d(1);
4670
+ X.length = z.length;
4625
4671
  }
4626
- V[0] & /*$_*/
4627
- 64 && _ !== (_ = /*$_*/
4628
- D[6]("DepositButton") + "") && _e(A, _), V[0] & /*modalOpened*/
4629
- 8 && P !== (P = "ModalContent " + /*modalOpened*/
4630
- (D[3] ? "Open" : "")) && M(l, "class", P), V[0] & /*modalOpened*/
4672
+ $[0] & /*$_*/
4673
+ 64 && x !== (x = /*$_*/
4674
+ P[6]("DepositButton") + "") && Te(C, x), $[0] & /*modalOpened*/
4675
+ 8 && D !== (D = "ModalContent " + /*modalOpened*/
4676
+ (P[3] ? "Open" : "")) && M(l, "class", D), $[0] & /*modalOpened*/
4631
4677
  8 && O !== (O = "BalanceModal " + /*modalOpened*/
4632
- (D[3] ? "Open" : "")) && M(a, "class", O), V[0] & /*modalOpened*/
4633
- 8 && j !== (j = "BalanceModalWrapper " + /*modalOpened*/
4634
- (D[3] ? "Open" : "")) && M(t, "class", j);
4678
+ (P[3] ? "Open" : "")) && M(a, "class", O), $[0] & /*modalOpened*/
4679
+ 8 && U !== (U = "BalanceModalWrapper " + /*modalOpened*/
4680
+ (P[3] ? "Open" : "")) && M(t, "class", U);
4635
4681
  },
4636
- d(D) {
4637
- D && he(t), Rn(U, D), X = !1, $e(ne);
4682
+ d(P) {
4683
+ P && pe(t), Rn(X, P), q = !1, $e(re);
4638
4684
  }
4639
4685
  };
4640
4686
  }
@@ -4654,7 +4700,7 @@ function wn(e) {
4654
4700
  e[53].productType
4655
4701
  )
4656
4702
  ) : "") + ""
4657
- ), s, h, u, d, b = (
4703
+ ), s, h, u, d, g = (
4658
4704
  /*b*/
4659
4705
  (e[53].amount ? (
4660
4706
  /*formatBalance*/
@@ -4663,53 +4709,53 @@ function wn(e) {
4663
4709
  e[53].amount
4664
4710
  )
4665
4711
  ) : "0") + ""
4666
- ), y, B, x, H;
4712
+ ), b, _, T, S;
4667
4713
  return {
4668
4714
  c() {
4669
- t = $("div"), n = $("p"), i = ce(r), a = fe(), s = ce(l), h = fe(), u = $("p"), d = $("span"), y = ce(b), B = fe(), x = $("span"), H = ce(
4715
+ t = j("div"), n = j("p"), i = de(r), a = me(), s = de(l), h = me(), u = j("p"), d = j("span"), b = de(g), _ = me(), T = j("span"), S = de(
4670
4716
  /*currency*/
4671
4717
  e[5]
4672
- ), M(n, "class", "BalanceModalText"), M(d, "class", "BalanceModalAmount"), M(x, "class", "BalanceModalCurrency"), M(u, "class", "BalanceModalValue"), M(t, "class", "BalanceModalRowLine");
4718
+ ), M(n, "class", "BalanceModalText"), M(d, "class", "BalanceModalAmount"), M(T, "class", "BalanceModalCurrency"), M(u, "class", "BalanceModalValue"), M(t, "class", "BalanceModalRowLine");
4673
4719
  },
4674
- m(_, A) {
4675
- me(_, t, A), C(t, n), C(n, i), C(n, a), C(n, s), C(t, h), C(t, u), C(u, d), C(d, y), C(u, B), C(u, x), C(x, H);
4720
+ m(x, C) {
4721
+ ge(x, t, C), H(t, n), H(n, i), H(n, a), H(n, s), H(t, h), H(t, u), H(u, d), H(d, b), H(u, _), H(u, T), H(T, S);
4676
4722
  },
4677
- p(_, A) {
4678
- A[0] & /*$_, balances*/
4723
+ p(x, C) {
4724
+ C[0] & /*$_, balances*/
4679
4725
  66 && r !== (r = /*$_*/
4680
- _[6](
4726
+ x[6](
4681
4727
  /*k*/
4682
- _[50]
4683
- ) + "") && _e(i, r), A[0] & /*balances, $_*/
4728
+ x[50]
4729
+ ) + "") && Te(i, r), C[0] & /*balances, $_*/
4684
4730
  66 && l !== (l = /*b*/
4685
- (_[53].productType ? (
4731
+ (x[53].productType ? (
4686
4732
  /*$_*/
4687
- _[6](
4733
+ x[6](
4688
4734
  /*b*/
4689
- _[53].productType
4735
+ x[53].productType
4690
4736
  )
4691
- ) : "") + "") && _e(s, l), A[0] & /*balances*/
4692
- 2 && b !== (b = /*b*/
4693
- (_[53].amount ? (
4737
+ ) : "") + "") && Te(s, l), C[0] & /*balances*/
4738
+ 2 && g !== (g = /*b*/
4739
+ (x[53].amount ? (
4694
4740
  /*formatBalance*/
4695
- _[8](
4741
+ x[8](
4696
4742
  /*b*/
4697
- _[53].amount
4743
+ x[53].amount
4698
4744
  )
4699
- ) : "0") + "") && _e(y, b), A[0] & /*currency*/
4700
- 32 && _e(
4701
- H,
4745
+ ) : "0") + "") && Te(b, g), C[0] & /*currency*/
4746
+ 32 && Te(
4747
+ S,
4702
4748
  /*currency*/
4703
- _[5]
4749
+ x[5]
4704
4750
  );
4705
4751
  },
4706
- d(_) {
4707
- _ && he(t);
4752
+ d(x) {
4753
+ x && pe(t);
4708
4754
  }
4709
4755
  };
4710
4756
  }
4711
4757
  function Sn(e) {
4712
- let t, n, r = pt(
4758
+ let t, n, r = gt(
4713
4759
  /*balances*/
4714
4760
  e[1][
4715
4761
  /*k*/
@@ -4720,21 +4766,21 @@ function Sn(e) {
4720
4766
  i[a] = wn(Bn(e, r, a));
4721
4767
  return {
4722
4768
  c() {
4723
- t = $("div");
4769
+ t = j("div");
4724
4770
  for (let a = 0; a < i.length; a += 1)
4725
4771
  i[a].c();
4726
- n = fe(), M(t, "class", "BalanceModalRowBoth");
4772
+ n = me(), M(t, "class", "BalanceModalRowBoth");
4727
4773
  },
4728
4774
  m(a, l) {
4729
- me(a, t, l);
4775
+ ge(a, t, l);
4730
4776
  for (let s = 0; s < i.length; s += 1)
4731
4777
  i[s] && i[s].m(t, null);
4732
- C(t, n);
4778
+ H(t, n);
4733
4779
  },
4734
4780
  p(a, l) {
4735
4781
  if (l[0] & /*currency, balances, formatBalance, $_*/
4736
4782
  354) {
4737
- r = pt(
4783
+ r = gt(
4738
4784
  /*balances*/
4739
4785
  a[1][
4740
4786
  /*k*/
@@ -4752,7 +4798,7 @@ function Sn(e) {
4752
4798
  }
4753
4799
  },
4754
4800
  d(a) {
4755
- a && he(t), Rn(i, a);
4801
+ a && pe(t), Rn(i, a);
4756
4802
  }
4757
4803
  };
4758
4804
  }
@@ -4760,28 +4806,28 @@ function An(e) {
4760
4806
  let t, n, r;
4761
4807
  return {
4762
4808
  c() {
4763
- t = $("div"), M(t, "class", "ShowBalanceModalOverlay");
4809
+ t = j("div"), M(t, "class", "ShowBalanceModalOverlay");
4764
4810
  },
4765
4811
  m(i, a) {
4766
- me(i, t, a), n || (r = dt(
4812
+ ge(i, t, a), n || (r = mt(
4767
4813
  t,
4768
4814
  "click",
4769
4815
  /*click_handler_3*/
4770
- e[27]
4816
+ e[28]
4771
4817
  ), n = !0);
4772
4818
  },
4773
- p: se,
4819
+ p: ue,
4774
4820
  d(i) {
4775
- i && he(t), n = !1, r();
4821
+ i && pe(t), n = !1, r();
4776
4822
  }
4777
4823
  };
4778
4824
  }
4779
- function Aa(e) {
4825
+ function Oa(e) {
4780
4826
  let t, n, r;
4781
4827
  function i(h, u) {
4782
4828
  return (
4783
4829
  /*isLoading*/
4784
- h[2] ? Sa : wa
4830
+ h[2] ? Ha : Ca
4785
4831
  );
4786
4832
  }
4787
4833
  let a = i(e), l = a(e), s = (
@@ -4790,31 +4836,31 @@ function Aa(e) {
4790
4836
  );
4791
4837
  return {
4792
4838
  c() {
4793
- t = $("div"), n = $("div"), l.c(), r = fe(), s && s.c(), M(n, "class", "ShowBalance");
4839
+ t = j("div"), n = j("div"), l.c(), r = me(), s && s.c(), M(n, "class", "ShowBalance");
4794
4840
  },
4795
4841
  m(h, u) {
4796
- me(h, t, u), C(t, n), l.m(n, null), C(t, r), s && s.m(t, null), e[28](t);
4842
+ ge(h, t, u), H(t, n), l.m(n, null), H(t, r), s && s.m(t, null), e[29](t);
4797
4843
  },
4798
4844
  p(h, u) {
4799
4845
  a === (a = i(h)) && l ? l.p(h, u) : (l.d(1), l = a(h), l && (l.c(), l.m(n, null))), /*showBalance*/
4800
4846
  h[4] ? s ? s.p(h, u) : (s = An(h), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4801
4847
  },
4802
- i: se,
4803
- o: se,
4848
+ i: ue,
4849
+ o: ue,
4804
4850
  d(h) {
4805
- h && he(t), l.d(), s && s.d(), e[28](null);
4851
+ h && pe(t), l.d(), s && s.d(), e[29](null);
4806
4852
  }
4807
4853
  };
4808
4854
  }
4809
- function Ca(e, t, n) {
4855
+ function Ra(e, t, n) {
4810
4856
  let r;
4811
- sr(e, ga, (o) => n(6, r = o));
4812
- let { userid: i = "" } = t, { session: a = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: d = "" } = t, { customlocaleidentifier: b = "" } = t, { gmversion: y = "gm16" } = t, { displaybalanceoption: B = "All" } = t, { totalcalculationmode: x = "totalCashAmount" } = t, { currencyseparator: H = "" } = t, { currencydecimal: _ = "" } = t, { currencyprecision: A = "" } = t, P, O, j, X, ne = !1, W = "", U = [], D, V = !1;
4813
- const g = {}, J = ["totalCashAmount", "totalRealAmount"], rt = () => {
4814
- fetch(d).then((o) => o.json()).then((o) => Object.keys(o).forEach((p) => En(p, o[p]))).catch((o) => console.log(o));
4857
+ sr(e, va, (o) => n(6, r = o));
4858
+ let { userid: i = "" } = t, { session: a = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, { customlocaleidentifier: b = "" } = t, { gmversion: _ = "gm16" } = t, { displaybalanceoption: T = "All" } = t, { totalcalculationmode: S = "totalCashAmount" } = t, { currencyseparator: x = "" } = t, { currencydecimal: C = "" } = t, { currencyprecision: D = "" } = t, O, U, q, re, z, X = !1, P = "", $ = [], F, Y = !1;
4859
+ const v = {}, be = ["totalCashAmount", "totalRealAmount"], rt = () => {
4860
+ fetch(g).then((o) => o.json()).then((o) => Object.keys(o).forEach((p) => En(p, o[p]))).catch((o) => console.log(o));
4815
4861
  };
4816
4862
  Object.keys(xn).forEach((o) => En(o, xn[o]));
4817
- const ge = (o) => {
4863
+ const ye = (o) => {
4818
4864
  switch (o) {
4819
4865
  case "balance":
4820
4866
  window.postMessage(
@@ -4823,10 +4869,10 @@ function Ca(e, t, n) {
4823
4869
  status: "open"
4824
4870
  },
4825
4871
  window.location.href
4826
- ), n(4, ne = !0), setTimeout(() => n(3, j = !0), 150);
4872
+ ), n(4, X = !0), setTimeout(() => n(3, re = !0), 150);
4827
4873
  break;
4828
4874
  case "closebalance":
4829
- n(3, j = !1), window.postMessage(
4875
+ n(3, re = !1), window.postMessage(
4830
4876
  {
4831
4877
  type: "BalanceModalStatus",
4832
4878
  status: "close"
@@ -4834,27 +4880,27 @@ function Ca(e, t, n) {
4834
4880
  window.location.href
4835
4881
  ), setTimeout(
4836
4882
  () => {
4837
- n(4, ne = !1);
4883
+ n(4, X = !1);
4838
4884
  },
4839
4885
  150
4840
4886
  );
4841
4887
  break;
4842
4888
  }
4843
- }, Xe = () => {
4889
+ }, ce = () => {
4844
4890
  if (b.includes(s))
4845
4891
  return b;
4846
- }, ze = (o) => b ? new Intl.NumberFormat(Xe(), { useGrouping: !0 }).format(o) : H && _ ? ue(o, {
4847
- separator: H,
4848
- decimal: _,
4892
+ }, we = (o) => b ? new Intl.NumberFormat(ce(), { useGrouping: !0 }).format(o) : x && C ? fe(o, {
4893
+ separator: x,
4894
+ decimal: C,
4849
4895
  symbol: "",
4850
- precision: parseInt(A || "2", 10)
4851
- }).format() : ue(o, {
4896
+ precision: parseInt(D || "2", 10)
4897
+ }).format() : fe(o, {
4852
4898
  separator: ".",
4853
4899
  decimal: ",",
4854
4900
  symbol: "",
4855
- precision: parseInt(A || "2", 10)
4856
- }).format(), de = async () => {
4857
- n(2, P = !0);
4901
+ precision: parseInt(D || "2", 10)
4902
+ }).format(), Ae = async () => {
4903
+ n(2, O = !0);
4858
4904
  const o = new URL(`${l}/v1/player/${i}/account`);
4859
4905
  try {
4860
4906
  const p = await fetch(o, {
@@ -4862,57 +4908,58 @@ function Ca(e, t, n) {
4862
4908
  headers: { "X-SessionID": a }
4863
4909
  }), f = await p.json();
4864
4910
  if (p.ok)
4865
- window.postMessage({ type: "BalancedFetched" }, window.location.href), U = f.items, n(5, W = U.find((m) => m.displayName === "Casino")?.currency), n(1, g.Total = [{ amount: f.totalAmount[W] }], g), n(
4911
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), $ = f.items, n(5, P = $.find((m) => m.displayName === "Casino")?.currency), n(1, v.Total = [{ amount: f.totalAmount[P] }], v), n(
4866
4912
  1,
4867
- g.Real = [
4913
+ v.Real = [
4868
4914
  {
4869
- amount: U.find((m) => m.displayName === "Casino")?.balanceAmount
4915
+ amount: $.find((m) => m.displayName === "Casino")?.balanceAmount
4870
4916
  }
4871
4917
  ],
4872
- g
4918
+ v
4873
4919
  ), n(
4874
4920
  1,
4875
- g.Bonus = [
4921
+ v.Bonus = [
4876
4922
  {
4877
- amount: U.find((m) => m.displayName === "UBS")?.balanceAmount
4923
+ amount: $.find((m) => m.displayName === "UBS")?.balanceAmount
4878
4924
  }
4879
4925
  ],
4880
- g
4926
+ v
4881
4927
  );
4882
4928
  else
4883
4929
  throw new Error("Failed to fetch balance data !");
4884
4930
  } catch (p) {
4885
4931
  console.log("Balance error: ", p);
4886
4932
  } finally {
4887
- n(2, P = !1);
4933
+ n(2, O = !1);
4888
4934
  }
4889
- }, Be = () => {
4890
- n(2, P = !0);
4935
+ }, Xe = () => {
4936
+ n(2, O = !0);
4891
4937
  const o = new URL(`${l}/v2/player/${i}/balance`), p = new Headers();
4892
4938
  p.append("X-SessionID", a), fetch(o, { method: "GET", headers: p }).then((m) => m.json()).then((m) => {
4893
- m[x] || n(10, x = J[0]);
4894
- const v = m.items.find((E) => E.type === "Real" && E.walletAccountType === "Ordinary");
4895
- if (n(5, W = v.currency), V = !!v.productType, n(1, g.Total = [{ amount: 0 }], g), n(1, g.Real = [], g), n(1, g.Bonus = [], g), n(1, g.Credit = [], g), !V) {
4896
- D = {
4939
+ m[S] || n(10, S = be[0]);
4940
+ const y = m.items.find((E) => E.type === "Real" && E.walletAccountType === "Ordinary");
4941
+ if (n(5, P = y.currency), Y = !!y.productType, n(1, v.Total = [{ amount: 0 }], v), n(1, v.Real = [], v), n(1, v.Bonus = [], v), n(1, v.Credit = [], v), !Y) {
4942
+ F = {
4897
4943
  lastOrdinaryAfterAmount: 0,
4898
4944
  showCreditLineAfterAmount: !1
4899
- }, n(1, g.Total[0].amount = m[x][W], g);
4945
+ }, n(1, v.Total[0].amount = m[S][P], v);
4900
4946
  for (const E of m.items)
4901
4947
  switch (E.type) {
4902
4948
  case "Bonus":
4903
- g.Bonus.length === 0 ? g.Bonus.push({ amount: E.amount }) : n(1, g.Bonus[0].amount += E.amount, g);
4949
+ v.Bonus.length === 0 ? v.Bonus.push({ amount: E.amount }) : n(1, v.Bonus[0].amount += E.amount, v);
4904
4950
  break;
4905
4951
  case "Real":
4906
- if (E.creditLine && g.Credit.length === 0 && g.Credit.push({ amount: E.creditLine }), x === "totalRealAmount") continue;
4907
- g.Real.length === 0 ? g.Real.push({ amount: E.amount }) : n(1, g.Real[0].amount += E.amount, g);
4952
+ if (E.creditLine && v.Credit.length === 0 && v.Credit.push({ amount: E.creditLine }), S === "totalRealAmount")
4953
+ continue;
4954
+ v.Real.length === 0 ? v.Real.push({ amount: E.amount }) : n(1, v.Real[0].amount += E.amount, v);
4908
4955
  break;
4909
4956
  }
4910
- for (const [E, w] of Object.entries(g))
4911
- w.length < 1 && delete g[E];
4912
- n(2, P = !1);
4957
+ for (const [E, w] of Object.entries(v))
4958
+ w.length < 1 && delete v[E];
4959
+ n(2, O = !1);
4913
4960
  return;
4914
4961
  }
4915
- D = {
4962
+ F = {
4916
4963
  Casino: {
4917
4964
  lastOrdinaryAfterAmount: 0,
4918
4965
  showCreditLineAfterAmount: !1
@@ -4922,52 +4969,53 @@ function Ca(e, t, n) {
4922
4969
  showCreditLineAfterAmount: !1
4923
4970
  }
4924
4971
  };
4925
- let T = m.items;
4926
- B && B !== "All" && (T = m.items.filter((E) => E.productType === B));
4927
- for (const E of T) {
4972
+ let B = m.items;
4973
+ T && T !== "All" && (B = m.items.filter((E) => E.productType === T));
4974
+ for (const E of B) {
4928
4975
  let w;
4929
4976
  switch (E.type) {
4930
4977
  case "Bonus":
4931
- w = g.Bonus.findIndex((N) => N.productType === E.productType), w > 0 ? n(1, g.Bonus[w].amount += E.amount, g) : g.Bonus.push({
4978
+ w = v.Bonus.findIndex((N) => N.productType === E.productType), w > 0 ? n(1, v.Bonus[w].amount += E.amount, v) : v.Bonus.push({
4932
4979
  amount: E.amount,
4933
4980
  productType: E.productType
4934
4981
  });
4935
4982
  break;
4936
4983
  case "Real":
4937
- E.creditLine && g.Credit.push({
4984
+ E.creditLine && v.Credit.push({
4938
4985
  amount: E.creditLine,
4939
4986
  productType: E.productType
4940
- }), w = g.Real.findIndex((N) => N.productType === E.productType), w > 0 ? n(1, g.Real[w].amount += E.amount, g) : g.Real.push({
4987
+ }), w = v.Real.findIndex((N) => N.productType === E.productType), w > 0 ? n(1, v.Real[w].amount += E.amount, v) : v.Real.push({
4941
4988
  amount: E.amount,
4942
4989
  productType: E.productType
4943
4990
  });
4944
4991
  break;
4945
4992
  }
4946
4993
  }
4947
- We();
4948
- for (const [E, w] of Object.entries(g))
4949
- w.length < 1 && delete g[E];
4950
- n(2, P = !1);
4994
+ at();
4995
+ for (const [E, w] of Object.entries(v))
4996
+ w.length < 1 && delete v[E];
4997
+ n(2, O = !1);
4951
4998
  }).catch((m) => {
4952
- throw n(2, P = !1), new Error("Failed to fetch balance data !");
4999
+ throw n(2, O = !1), new Error("Failed to fetch balance data !");
4953
5000
  });
4954
- }, be = () => {
4955
- if (X && X.close(), a.length < 1) return;
5001
+ }, le = () => {
5002
+ if (z && z.close(), a.length < 1)
5003
+ return;
4956
5004
  let o, p;
4957
- switch (y) {
5005
+ switch (_) {
4958
5006
  case "gm16":
4959
- o = new URL(`${l}/v2/player/${i}/information/updates`), p = (v) => _t(v);
5007
+ o = new URL(`${l}/v2/player/${i}/information/updates`), p = (y) => Tt(y);
4960
5008
  break;
4961
5009
  case "gmcore":
4962
- o = new URL(`${l}/v1/player/${i}/balance/updates`), p = (v) => pe(v);
5010
+ o = new URL(`${l}/v1/player/${i}/balance/updates`), p = (y) => it(y);
4963
5011
  break;
4964
5012
  }
4965
5013
  const f = {
4966
5014
  accept: "text/event-stream",
4967
5015
  "X-SessionId": a
4968
- }, m = new ya.EventSourcePolyfill(o, { headers: f });
4969
- X = m, m.addEventListener("message", p);
4970
- }, He = (o) => {
5016
+ }, m = new xa.EventSourcePolyfill(o, { headers: f });
5017
+ z = m, m.addEventListener("message", p);
5018
+ }, Oe = (o) => {
4971
5019
  let p;
4972
5020
  try {
4973
5021
  p = JSON.parse(o);
@@ -4976,19 +5024,19 @@ function Ca(e, t, n) {
4976
5024
  return;
4977
5025
  }
4978
5026
  return p;
4979
- }, pe = (o) => {
4980
- const p = He(o.data);
5027
+ }, it = (o) => {
5028
+ const p = Oe(o.data);
4981
5029
  if (!p) {
4982
- be();
5030
+ le();
4983
5031
  return;
4984
5032
  }
4985
5033
  let f = "0";
4986
5034
  const m = p.balanceChange;
4987
- U = U.map((v) => (m && m[v.id] && (v = {
4988
- ...v,
4989
- balanceAmount: m[v.id].afterAmount
4990
- }), f = (parseFloat(v?.balanceAmount) + parseFloat(f)).toString(), v)), n(1, g.Real = [{ amount: U[0]?.balanceAmount }], g), n(1, g.Bonus = [{ amount: U[1]?.balanceAmount }], g), n(1, g.Total = [{ amount: Number(f) }], g);
4991
- }, Se = (o, p, f) => {
5035
+ $ = $.map((y) => (m && m[y.id] && (y = {
5036
+ ...y,
5037
+ balanceAmount: m[y.id].afterAmount
5038
+ }), f = (parseFloat(y?.balanceAmount) + parseFloat(f)).toString(), y)), n(1, v.Real = [{ amount: $[0]?.balanceAmount }], v), n(1, v.Bonus = [{ amount: $[1]?.balanceAmount }], v), n(1, v.Total = [{ amount: Number(f) }], v);
5039
+ }, ze = (o, p, f) => {
4992
5040
  let m = null;
4993
5041
  switch (f.walletAccountType) {
4994
5042
  case "Ordinary":
@@ -5001,104 +5049,93 @@ function Ca(e, t, n) {
5001
5049
  m = f.afterAmount;
5002
5050
  }
5003
5051
  return m === null ? o : m;
5004
- }, We = () => {
5005
- switch (x) {
5052
+ }, at = () => {
5053
+ switch (S) {
5006
5054
  case "totalCashAmount":
5007
5055
  let o = 0;
5008
5056
  for (const f of ["Real", "Bonus"])
5009
- for (const m of g[f])
5057
+ for (const m of v[f])
5010
5058
  o += Math.max(m.amount, 0);
5011
- n(1, g.Total[0].amount = o, g);
5059
+ n(1, v.Total[0].amount = o, v);
5012
5060
  break;
5013
5061
  case "totalRealAmount":
5014
- if (!V) return;
5062
+ if (!Y)
5063
+ return;
5015
5064
  let p = 0;
5016
- for (const f of g.Real)
5065
+ for (const f of v.Real)
5017
5066
  p += f.amount;
5018
- n(1, g.Total[0].amount = p, g);
5067
+ n(1, v.Total[0].amount = p, v);
5019
5068
  }
5020
- }, _t = (o) => {
5021
- const p = He(o.data);
5069
+ }, Tt = (o) => {
5070
+ const p = Oe(o.data);
5022
5071
  if (!p) {
5023
- be();
5072
+ le();
5024
5073
  return;
5025
5074
  }
5026
5075
  if (p.type !== "BALANCE_UPDATE_V2")
5027
5076
  return;
5028
5077
  const f = p.body.balanceChange;
5029
- for (const [m, v] of Object.entries(f))
5030
- if (x === "totalRealAmount" && m === "Real" && !V && n(1, g.Total[0].amount = Se(g.Total[0].amount, D, v), g), !!g[m])
5031
- for (const T of g[m]) {
5032
- if (!V) {
5033
- T.amount = m === "Real" ? Se(T.amount, D, v) : v.afterAmount;
5078
+ for (const [m, y] of Object.entries(f))
5079
+ if (S === "totalRealAmount" && m === "Real" && !Y && n(1, v.Total[0].amount = ze(v.Total[0].amount, F, y), v), !!v[m])
5080
+ for (const B of v[m]) {
5081
+ if (!Y) {
5082
+ B.amount = m === "Real" ? ze(B.amount, F, y) : y.afterAmount;
5034
5083
  continue;
5035
5084
  }
5036
- v.productType === T.productType && (T.amount = m === "Real" ? Se(T.amount, D[T.productType], v) : v.afterAmount);
5085
+ y.productType === B.productType && (B.amount = m === "Real" ? ze(B.amount, F[B.productType], y) : y.afterAmount);
5037
5086
  }
5038
- We();
5039
- }, it = () => {
5040
- ge("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5041
- }, Bt = () => {
5042
- J.includes(x) || (console.error(`Unsupported value ('${x}') for totalcalculationmode parameter. Only the following values are supported ${J}. Using default value ('${J[0]}').`), n(10, x = J[0]));
5043
- }, Tt = () => {
5044
- switch (ba(s), Bt(), y) {
5087
+ at();
5088
+ }, ot = () => {
5089
+ ye("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5090
+ }, We = () => {
5091
+ be.includes(S) || (console.error(`Unsupported value ('${S}') for totalcalculationmode parameter. Only the following values are supported ${be}. Using default value ('${be[0]}').`), n(10, S = be[0]));
5092
+ }, Ze = () => {
5093
+ switch (Ea(s), We(), _) {
5045
5094
  case "gmcore":
5046
- de();
5095
+ Ae();
5047
5096
  break;
5048
5097
  case "gm16":
5049
- Be();
5098
+ Xe();
5050
5099
  break;
5051
5100
  default:
5052
- throw Error(`Invalid apiversion attribute: ${y}`);
5101
+ throw Error(`Invalid apiversion attribute: ${_}`);
5053
5102
  }
5054
- }, Oe = (o) => o.data && o.data.type === "LogoutSuccessfull" && X.close(), Ze = () => {
5055
- const o = document.createElement("style");
5056
- o.innerHTML = h, O.appendChild(o);
5057
- }, Te = () => {
5058
- const o = new URL(u), p = document.createElement("style");
5059
- fetch(o.href).then((f) => f.text()).then((f) => {
5060
- p.innerHTML = f, setTimeout(
5061
- () => {
5062
- O.appendChild(p);
5063
- },
5064
- 1
5065
- );
5066
- });
5067
- }, re = () => {
5103
+ }, ve = (o) => o.data && o.data.type === "LogoutSuccessfull" && z.close(), ie = () => {
5068
5104
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5069
5105
  };
5070
- mr(() => (window.addEventListener("message", Oe, !1), () => {
5071
- window.removeEventListener("message", Oe), X && X.close();
5106
+ mr(() => (window.addEventListener("message", ve, !1), () => {
5107
+ window.emMessageBus && q && q.unsubscribe(), window.removeEventListener("message", ve), z && z.close();
5072
5108
  }));
5073
- const wt = () => ge("balance"), St = () => ge("closebalance"), At = () => it(), at = () => ge("closeBalance");
5109
+ const wt = () => ye("balance"), St = () => ye("closebalance"), At = () => ot(), st = () => ye("closeBalance");
5074
5110
  function c(o) {
5075
5111
  Dt[o ? "unshift" : "push"](() => {
5076
- O = o, n(0, O);
5112
+ U = o, n(0, U);
5077
5113
  });
5078
5114
  }
5079
5115
  return e.$$set = (o) => {
5080
- "userid" in o && n(11, i = o.userid), "session" in o && n(12, a = o.session), "endpoint" in o && n(13, l = o.endpoint), "lang" in o && n(14, s = o.lang), "clientstyling" in o && n(15, h = o.clientstyling), "clientstylingurl" in o && n(16, u = o.clientstylingurl), "translationurl" in o && n(17, d = o.translationurl), "customlocaleidentifier" in o && n(18, b = o.customlocaleidentifier), "gmversion" in o && n(19, y = o.gmversion), "displaybalanceoption" in o && n(20, B = o.displaybalanceoption), "totalcalculationmode" in o && n(10, x = o.totalcalculationmode), "currencyseparator" in o && n(21, H = o.currencyseparator), "currencydecimal" in o && n(22, _ = o.currencydecimal), "currencyprecision" in o && n(23, A = o.currencyprecision);
5116
+ "userid" in o && n(11, i = o.userid), "session" in o && n(12, a = o.session), "endpoint" in o && n(13, l = o.endpoint), "lang" in o && n(14, s = o.lang), "mbsource" in o && n(15, h = o.mbsource), "clientstyling" in o && n(16, u = o.clientstyling), "clientstylingurl" in o && n(17, d = o.clientstylingurl), "translationurl" in o && n(18, g = o.translationurl), "customlocaleidentifier" in o && n(19, b = o.customlocaleidentifier), "gmversion" in o && n(20, _ = o.gmversion), "displaybalanceoption" in o && n(21, T = o.displaybalanceoption), "totalcalculationmode" in o && n(10, S = o.totalcalculationmode), "currencyseparator" in o && n(22, x = o.currencyseparator), "currencydecimal" in o && n(23, C = o.currencydecimal), "currencyprecision" in o && n(24, D = o.currencyprecision);
5081
5117
  }, e.$$.update = () => {
5082
5118
  e.$$.dirty[0] & /*lang*/
5083
- 16384 && s && Xe(), e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5084
- 1603584 && l && i && a && s && y && B && Tt(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5085
- 538624 && l && i && a && y && be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5086
- 32769 && h && O && Ze(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5087
- 65537 && u && O && Te(), e.$$.dirty[0] & /*translationurl*/
5088
- 131072 && d && rt(), e.$$.dirty[0] & /*balances*/
5089
- 2 && g.Total && re();
5119
+ 16384 && s && ce(), e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5120
+ 3176448 && l && i && a && s && _ && T && Ze(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5121
+ 1062912 && l && i && a && _ && le(), e.$$.dirty[0] & /*translationurl*/
5122
+ 262144 && g && rt(), e.$$.dirty[0] & /*balances*/
5123
+ 2 && v.Total && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5124
+ 65537 && u && U && Hr(U, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5125
+ 131073 && d && U && Or(U, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5126
+ 32769 && h && U && Rr(U, `${h}.Style`);
5090
5127
  }, [
5128
+ U,
5129
+ v,
5091
5130
  O,
5092
- g,
5131
+ re,
5132
+ X,
5093
5133
  P,
5094
- j,
5095
- ne,
5096
- W,
5097
5134
  r,
5098
- ge,
5099
- ze,
5100
- it,
5101
- x,
5135
+ ye,
5136
+ we,
5137
+ ot,
5138
+ S,
5102
5139
  i,
5103
5140
  a,
5104
5141
  l,
@@ -5106,44 +5143,46 @@ function Ca(e, t, n) {
5106
5143
  h,
5107
5144
  u,
5108
5145
  d,
5146
+ g,
5109
5147
  b,
5110
- y,
5111
- B,
5112
- H,
5113
5148
  _,
5114
- A,
5149
+ T,
5150
+ x,
5151
+ C,
5152
+ D,
5115
5153
  wt,
5116
5154
  St,
5117
5155
  At,
5118
- at,
5156
+ st,
5119
5157
  c
5120
5158
  ];
5121
5159
  }
5122
- class Ha extends Ar {
5160
+ class La extends Ar {
5123
5161
  constructor(t) {
5124
5162
  super(), wr(
5125
5163
  this,
5126
5164
  t,
5127
- Ca,
5128
- Aa,
5165
+ Ra,
5166
+ Oa,
5129
5167
  Hn,
5130
5168
  {
5131
5169
  userid: 11,
5132
5170
  session: 12,
5133
5171
  endpoint: 13,
5134
5172
  lang: 14,
5135
- clientstyling: 15,
5136
- clientstylingurl: 16,
5137
- translationurl: 17,
5138
- customlocaleidentifier: 18,
5139
- gmversion: 19,
5140
- displaybalanceoption: 20,
5173
+ mbsource: 15,
5174
+ clientstyling: 16,
5175
+ clientstylingurl: 17,
5176
+ translationurl: 18,
5177
+ customlocaleidentifier: 19,
5178
+ gmversion: 20,
5179
+ displaybalanceoption: 21,
5141
5180
  totalcalculationmode: 10,
5142
- currencyseparator: 21,
5143
- currencydecimal: 22,
5144
- currencyprecision: 23
5181
+ currencyseparator: 22,
5182
+ currencydecimal: 23,
5183
+ currencyprecision: 24
5145
5184
  },
5146
- Ta,
5185
+ Aa,
5147
5186
  [-1, -1]
5148
5187
  );
5149
5188
  }
@@ -5151,88 +5190,94 @@ class Ha extends Ar {
5151
5190
  return this.$$.ctx[11];
5152
5191
  }
5153
5192
  set userid(t) {
5154
- this.$$set({ userid: t }), Q();
5193
+ this.$$set({ userid: t }), J();
5155
5194
  }
5156
5195
  get session() {
5157
5196
  return this.$$.ctx[12];
5158
5197
  }
5159
5198
  set session(t) {
5160
- this.$$set({ session: t }), Q();
5199
+ this.$$set({ session: t }), J();
5161
5200
  }
5162
5201
  get endpoint() {
5163
5202
  return this.$$.ctx[13];
5164
5203
  }
5165
5204
  set endpoint(t) {
5166
- this.$$set({ endpoint: t }), Q();
5205
+ this.$$set({ endpoint: t }), J();
5167
5206
  }
5168
5207
  get lang() {
5169
5208
  return this.$$.ctx[14];
5170
5209
  }
5171
5210
  set lang(t) {
5172
- this.$$set({ lang: t }), Q();
5211
+ this.$$set({ lang: t }), J();
5173
5212
  }
5174
- get clientstyling() {
5213
+ get mbsource() {
5175
5214
  return this.$$.ctx[15];
5176
5215
  }
5216
+ set mbsource(t) {
5217
+ this.$$set({ mbsource: t }), J();
5218
+ }
5219
+ get clientstyling() {
5220
+ return this.$$.ctx[16];
5221
+ }
5177
5222
  set clientstyling(t) {
5178
- this.$$set({ clientstyling: t }), Q();
5223
+ this.$$set({ clientstyling: t }), J();
5179
5224
  }
5180
5225
  get clientstylingurl() {
5181
- return this.$$.ctx[16];
5226
+ return this.$$.ctx[17];
5182
5227
  }
5183
5228
  set clientstylingurl(t) {
5184
- this.$$set({ clientstylingurl: t }), Q();
5229
+ this.$$set({ clientstylingurl: t }), J();
5185
5230
  }
5186
5231
  get translationurl() {
5187
- return this.$$.ctx[17];
5232
+ return this.$$.ctx[18];
5188
5233
  }
5189
5234
  set translationurl(t) {
5190
- this.$$set({ translationurl: t }), Q();
5235
+ this.$$set({ translationurl: t }), J();
5191
5236
  }
5192
5237
  get customlocaleidentifier() {
5193
- return this.$$.ctx[18];
5238
+ return this.$$.ctx[19];
5194
5239
  }
5195
5240
  set customlocaleidentifier(t) {
5196
- this.$$set({ customlocaleidentifier: t }), Q();
5241
+ this.$$set({ customlocaleidentifier: t }), J();
5197
5242
  }
5198
5243
  get gmversion() {
5199
- return this.$$.ctx[19];
5244
+ return this.$$.ctx[20];
5200
5245
  }
5201
5246
  set gmversion(t) {
5202
- this.$$set({ gmversion: t }), Q();
5247
+ this.$$set({ gmversion: t }), J();
5203
5248
  }
5204
5249
  get displaybalanceoption() {
5205
- return this.$$.ctx[20];
5250
+ return this.$$.ctx[21];
5206
5251
  }
5207
5252
  set displaybalanceoption(t) {
5208
- this.$$set({ displaybalanceoption: t }), Q();
5253
+ this.$$set({ displaybalanceoption: t }), J();
5209
5254
  }
5210
5255
  get totalcalculationmode() {
5211
5256
  return this.$$.ctx[10];
5212
5257
  }
5213
5258
  set totalcalculationmode(t) {
5214
- this.$$set({ totalcalculationmode: t }), Q();
5259
+ this.$$set({ totalcalculationmode: t }), J();
5215
5260
  }
5216
5261
  get currencyseparator() {
5217
- return this.$$.ctx[21];
5262
+ return this.$$.ctx[22];
5218
5263
  }
5219
5264
  set currencyseparator(t) {
5220
- this.$$set({ currencyseparator: t }), Q();
5265
+ this.$$set({ currencyseparator: t }), J();
5221
5266
  }
5222
5267
  get currencydecimal() {
5223
- return this.$$.ctx[22];
5268
+ return this.$$.ctx[23];
5224
5269
  }
5225
5270
  set currencydecimal(t) {
5226
- this.$$set({ currencydecimal: t }), Q();
5271
+ this.$$set({ currencydecimal: t }), J();
5227
5272
  }
5228
5273
  get currencyprecision() {
5229
- return this.$$.ctx[23];
5274
+ return this.$$.ctx[24];
5230
5275
  }
5231
5276
  set currencyprecision(t) {
5232
- this.$$set({ currencyprecision: t }), Q();
5277
+ this.$$set({ currencyprecision: t }), J();
5233
5278
  }
5234
5279
  }
5235
- Sr(Ha, { userid: {}, session: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
5280
+ Sr(La, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
5236
5281
  export {
5237
- Ha as P
5282
+ La as P
5238
5283
  };