@everymatrix/player-account-balance-modal-nd 1.64.8 → 1.65.0

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();
@@ -6,10 +6,10 @@ function Cn(e) {
6
6
  function rn() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Ve(e) {
9
+ function $e(e) {
10
10
  e.forEach(Cn);
11
11
  }
12
- function Yt(e) {
12
+ function Qt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function Hn(e, t) {
@@ -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,13 +30,13 @@ function On(e, ...t) {
30
30
  function sr(e, t, n) {
31
31
  e.$$.on_destroy.push(On(t, n));
32
32
  }
33
- function H(e, t) {
33
+ function O(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 = k("style");
39
+ const i = $("style");
40
40
  i.id = t, i.textContent = n, cr(r, i);
41
41
  }
42
42
  }
@@ -51,7 +51,7 @@ function ur(e) {
51
51
  ) : e.ownerDocument;
52
52
  }
53
53
  function cr(e, t) {
54
- return H(
54
+ return O(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
@@ -60,27 +60,27 @@ function cr(e, t) {
60
60
  function ge(e, t, n) {
61
61
  e.insertBefore(t, n || null);
62
62
  }
63
- function fe(e) {
63
+ function pe(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
66
  function Rn(e, t) {
67
67
  for (let n = 0; n < e.length; n += 1)
68
68
  e[n] && e[n].d(t);
69
69
  }
70
- function k(e) {
70
+ function $(e) {
71
71
  return document.createElement(e);
72
72
  }
73
73
  function on(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function he(e) {
76
+ function de(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function de() {
80
- return he(" ");
79
+ function me() {
80
+ return de(" ");
81
81
  }
82
82
  function hr() {
83
- return he("");
83
+ return de("");
84
84
  }
85
85
  function mt(e, t, n, r) {
86
86
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
@@ -91,7 +91,7 @@ function M(e, t, n) {
91
91
  function fr(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
- function _e(e, t) {
94
+ function Te(e, t) {
95
95
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
96
96
  t);
97
97
  }
@@ -104,96 +104,96 @@ function dr(e) {
104
104
  }
105
105
  ), t;
106
106
  }
107
- let tt;
108
- function et(e) {
109
- tt = e;
107
+ let Ke;
108
+ function Ye(e) {
109
+ Ke = e;
110
110
  }
111
111
  function pr() {
112
- if (!tt)
112
+ if (!Ke)
113
113
  throw new Error("Function called outside component initialization");
114
- return tt;
114
+ return Ke;
115
115
  }
116
116
  function mr(e) {
117
117
  pr().$$.on_mount.push(e);
118
118
  }
119
- const Ue = [], Ft = [];
120
- let Fe = [];
119
+ const Ie = [], Dt = [];
120
+ let Pe = [];
121
121
  const an = [], gr = /* @__PURE__ */ Promise.resolve();
122
- let Gt = !1;
122
+ let Ut = !1;
123
123
  function br() {
124
- Gt || (Gt = !0, gr.then(Q));
124
+ Ut || (Ut = !0, gr.then(J));
125
125
  }
126
- function $t(e) {
127
- Fe.push(e);
126
+ function Ft(e) {
127
+ Pe.push(e);
128
128
  }
129
- const Lt = /* @__PURE__ */ new Set();
130
- let Pe = 0;
131
- function Q() {
132
- if (Pe !== 0)
129
+ const Ot = /* @__PURE__ */ new Set();
130
+ let Me = 0;
131
+ function J() {
132
+ if (Me !== 0)
133
133
  return;
134
- const e = tt;
134
+ const e = Ke;
135
135
  do {
136
136
  try {
137
- for (; Pe < Ue.length; ) {
138
- const t = Ue[Pe];
139
- Pe++, et(t), yr(t.$$);
137
+ for (; Me < Ie.length; ) {
138
+ const t = Ie[Me];
139
+ Me++, Ye(t), yr(t.$$);
140
140
  }
141
141
  } catch (t) {
142
- throw Ue.length = 0, Pe = 0, t;
142
+ throw Ie.length = 0, Me = 0, t;
143
143
  }
144
- for (et(null), Ue.length = 0, Pe = 0; Ft.length; )
145
- Ft.pop()();
146
- for (let t = 0; t < Fe.length; t += 1) {
147
- const n = Fe[t];
148
- Lt.has(n) || (Lt.add(n), n());
144
+ for (Ye(null), Ie.length = 0, Me = 0; Dt.length; )
145
+ Dt.pop()();
146
+ for (let t = 0; t < Pe.length; t += 1) {
147
+ const n = Pe[t];
148
+ Ot.has(n) || (Ot.add(n), n());
149
149
  }
150
- Fe.length = 0;
151
- } while (Ue.length);
150
+ Pe.length = 0;
151
+ } while (Ie.length);
152
152
  for (; an.length; )
153
153
  an.pop()();
154
- Gt = !1, Lt.clear(), et(e);
154
+ Ut = !1, Ot.clear(), Ye(e);
155
155
  }
156
156
  function yr(e) {
157
157
  if (e.fragment !== null) {
158
- e.update(), Ve(e.before_update);
158
+ e.update(), $e(e.before_update);
159
159
  const t = e.dirty;
160
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($t);
160
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ft);
161
161
  }
162
162
  }
163
163
  function vr(e) {
164
164
  const t = [], n = [];
165
- Fe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Fe = t;
165
+ Pe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Pe = t;
166
166
  }
167
167
  const Er = /* @__PURE__ */ new Set();
168
- function _r(e, t) {
168
+ function xr(e, t) {
169
169
  e && e.i && (Er.delete(e), e.i(t));
170
170
  }
171
171
  function gt(e) {
172
172
  return e?.length !== void 0 ? e : Array.from(e);
173
173
  }
174
- function xr(e, t, n) {
174
+ function _r(e, t, n) {
175
175
  const { fragment: r, after_update: i } = e.$$;
176
- r && r.m(t, n), $t(() => {
177
- const o = e.$$.on_mount.map(Cn).filter(Yt);
178
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ve(o), e.$$.on_mount = [];
179
- }), i.forEach($t);
176
+ r && r.m(t, n), Ft(() => {
177
+ const o = e.$$.on_mount.map(Cn).filter(Qt);
178
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : $e(o), e.$$.on_mount = [];
179
+ }), i.forEach(Ft);
180
180
  }
181
181
  function Br(e, t) {
182
182
  const n = e.$$;
183
- n.fragment !== null && (vr(n.after_update), Ve(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
183
+ n.fragment !== null && (vr(n.after_update), $e(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
184
184
  }
185
185
  function Tr(e, t) {
186
- e.$$.dirty[0] === -1 && (Ue.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
186
+ e.$$.dirty[0] === -1 && (Ie.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
188
  function wr(e, t, n, r, i, o, l = null, s = [-1]) {
189
- const h = tt;
190
- et(e);
189
+ const h = Ke;
190
+ Ye(e);
191
191
  const u = e.$$ = {
192
192
  fragment: null,
193
193
  ctx: [],
194
194
  // state
195
195
  props: o,
196
- update: se,
196
+ update: ue,
197
197
  not_equal: i,
198
198
  bound: rn(),
199
199
  // lifecycle
@@ -211,18 +211,18 @@ function wr(e, t, n, r, i, o, l = null, s = [-1]) {
211
211
  };
212
212
  l && l(u.root);
213
213
  let d = !1;
214
- if (u.ctx = n ? n(e, t.props || {}, (m, g, ...x) => {
215
- const B = x.length ? x[0] : g;
216
- return u.ctx && i(u.ctx[m], u.ctx[m] = B) && (!u.skip_bound && u.bound[m] && u.bound[m](B), d && Tr(e, m)), g;
217
- }) : [], u.update(), d = !0, Ve(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
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;
217
+ }) : [], u.update(), d = !0, $e(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
218
218
  if (t.hydrate) {
219
- const m = fr(t.target);
220
- u.fragment && u.fragment.l(m), m.forEach(fe);
219
+ const g = fr(t.target);
220
+ u.fragment && u.fragment.l(g), g.forEach(pe);
221
221
  } else
222
222
  u.fragment && u.fragment.c();
223
- t.intro && _r(e.$$.fragment), xr(e, t.target, t.anchor), Q();
223
+ t.intro && xr(e.$$.fragment), _r(e, t.target, t.anchor), J();
224
224
  }
225
- et(h);
225
+ Ye(h);
226
226
  }
227
227
  let Ln;
228
228
  typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
@@ -267,7 +267,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
267
267
  let o;
268
268
  return {
269
269
  c: function() {
270
- o = k("slot"), i !== "default" && M(o, "name", i);
270
+ o = $("slot"), i !== "default" && M(o, "name", i);
271
271
  },
272
272
  /**
273
273
  * @param {HTMLElement} target
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (Ln = class extends HTMLElement {
277
277
  ge(h, o, u);
278
278
  },
279
279
  d: function(h) {
280
- h && fe(o);
280
+ h && pe(o);
281
281
  }
282
282
  };
283
283
  };
@@ -419,7 +419,7 @@ class Ar {
419
419
  $$set = void 0;
420
420
  /** @returns {void} */
421
421
  $destroy() {
422
- Br(this, 1), this.$destroy = se;
422
+ Br(this, 1), this.$destroy = ue;
423
423
  }
424
424
  /**
425
425
  * @template {Extract<keyof Events, string>} K
@@ -428,8 +428,8 @@ class Ar {
428
428
  * @returns {() => void}
429
429
  */
430
430
  $on(t, n) {
431
- if (!Yt(n))
432
- return se;
431
+ if (!Qt(n))
432
+ return ue;
433
433
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
434
434
  return r.push(n), () => {
435
435
  const i = r.indexOf(n);
@@ -469,39 +469,39 @@ function Rr(e, t, n) {
469
469
  });
470
470
  }
471
471
  }
472
- const De = [];
472
+ const Ne = [];
473
473
  function Lr(e, t) {
474
474
  return {
475
- subscribe: Et(e, t).subscribe
475
+ subscribe: vt(e, t).subscribe
476
476
  };
477
477
  }
478
- function Et(e, t = se) {
478
+ function vt(e, t = ue) {
479
479
  let n;
480
480
  const r = /* @__PURE__ */ new Set();
481
481
  function i(s) {
482
482
  if (Hn(e, s) && (e = s, n)) {
483
- const h = !De.length;
483
+ const h = !Ne.length;
484
484
  for (const u of r)
485
- u[1](), De.push(u, e);
485
+ u[1](), Ne.push(u, e);
486
486
  if (h) {
487
- for (let u = 0; u < De.length; u += 2)
488
- De[u][0](De[u + 1]);
489
- De.length = 0;
487
+ for (let u = 0; u < Ne.length; u += 2)
488
+ Ne[u][0](Ne[u + 1]);
489
+ Ne.length = 0;
490
490
  }
491
491
  }
492
492
  }
493
493
  function o(s) {
494
494
  i(s(e));
495
495
  }
496
- function l(s, h = se) {
496
+ function l(s, h = ue) {
497
497
  const u = [s, h];
498
- return r.add(u), r.size === 1 && (n = t(i, o) || se), s(e), () => {
498
+ return r.add(u), r.size === 1 && (n = t(i, o) || ue), s(e), () => {
499
499
  r.delete(u), r.size === 0 && n && (n(), n = null);
500
500
  };
501
501
  }
502
502
  return { set: i, update: o, subscribe: l };
503
503
  }
504
- function Xe(e, t, n) {
504
+ function ke(e, t, n) {
505
505
  const r = !Array.isArray(e), i = r ? [e] : e;
506
506
  if (!i.every(Boolean))
507
507
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -509,26 +509,26 @@ function Xe(e, t, n) {
509
509
  return Lr(n, (l, s) => {
510
510
  let h = !1;
511
511
  const u = [];
512
- let d = 0, m = se;
513
- const g = () => {
512
+ let d = 0, g = ue;
513
+ const b = () => {
514
514
  if (d)
515
515
  return;
516
- m();
517
- const B = t(r ? u[0] : u, l, s);
518
- o ? l(B) : m = Yt(B) ? B : se;
519
- }, x = i.map(
520
- (B, T) => On(
521
- B,
522
- (_) => {
523
- u[T] = _, d &= ~(1 << T), h && g();
516
+ g();
517
+ const T = t(r ? u[0] : u, l, s);
518
+ o ? 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();
524
524
  },
525
525
  () => {
526
- d |= 1 << T;
526
+ d |= 1 << S;
527
527
  }
528
528
  )
529
529
  );
530
- return h = !0, g(), function() {
531
- Ve(x), m(), h = !1;
530
+ return h = !0, b(), function() {
531
+ $e(_), g(), h = !1;
532
532
  };
533
533
  });
534
534
  }
@@ -553,19 +553,19 @@ function Gr(e) {
553
553
  function $r(e) {
554
554
  return Array.isArray(e) ? [] : {};
555
555
  }
556
- function nt(e, t) {
557
- return t.clone !== !1 && t.isMergeableObject(e) ? Ge($r(e), e, t) : e;
556
+ function et(e, t) {
557
+ return t.clone !== !1 && t.isMergeableObject(e) ? De($r(e), e, t) : e;
558
558
  }
559
- function jr(e, t, n) {
559
+ function kr(e, t, n) {
560
560
  return e.concat(t).map(function(r) {
561
- return nt(r, n);
561
+ return et(r, n);
562
562
  });
563
563
  }
564
- function kr(e, t) {
564
+ function jr(e, t) {
565
565
  if (!t.customMerge)
566
- return Ge;
566
+ return De;
567
567
  var n = t.customMerge(e);
568
- return typeof n == "function" ? n : Ge;
568
+ return typeof n == "function" ? n : De;
569
569
  }
570
570
  function Vr(e) {
571
571
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -588,51 +588,65 @@ function Xr(e, t) {
588
588
  function zr(e, t, n) {
589
589
  var r = {};
590
590
  return n.isMergeableObject(e) && sn(e).forEach(function(i) {
591
- r[i] = nt(e[i], n);
591
+ r[i] = et(e[i], n);
592
592
  }), sn(t).forEach(function(i) {
593
- Xr(e, i) || (Mn(e, i) && n.isMergeableObject(t[i]) ? r[i] = kr(i, n)(e[i], t[i], n) : r[i] = nt(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));
594
594
  }), r;
595
595
  }
596
- function Ge(e, t, n) {
597
- n = n || {}, n.arrayMerge = n.arrayMerge || jr, n.isMergeableObject = n.isMergeableObject || Ir, n.cloneUnlessOtherwiseSpecified = nt;
596
+ function De(e, t, n) {
597
+ n = n || {}, n.arrayMerge = n.arrayMerge || kr, n.isMergeableObject = n.isMergeableObject || Ir, n.cloneUnlessOtherwiseSpecified = et;
598
598
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
599
- return o ? r ? n.arrayMerge(e, t, n) : zr(e, t, n) : nt(t, n);
599
+ return o ? r ? n.arrayMerge(e, t, n) : zr(e, t, n) : et(t, n);
600
600
  }
601
- Ge.all = function(t, n) {
601
+ De.all = function(t, n) {
602
602
  if (!Array.isArray(t))
603
603
  throw new Error("first argument should be an array");
604
604
  return t.reduce(function(r, i) {
605
- return Ge(r, i, n);
605
+ return De(r, i, n);
606
606
  }, {});
607
607
  };
608
- var Wr = Ge, Zr = Wr;
608
+ var Wr = De, Zr = Wr;
609
609
  const qr = /* @__PURE__ */ Nr(Zr);
610
- var jt = function(e, t) {
611
- return jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
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
+ ***************************************************************************** */
624
+ var Gt = function(e, t) {
625
+ return Gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
612
626
  n.__proto__ = r;
613
627
  } || function(n, r) {
614
628
  for (var i in r)
615
629
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
616
- }, jt(e, t);
630
+ }, Gt(e, t);
617
631
  };
618
- function _t(e, t) {
632
+ function Et(e, t) {
619
633
  if (typeof t != "function" && t !== null)
620
634
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
621
- jt(e, t);
635
+ Gt(e, t);
622
636
  function n() {
623
637
  this.constructor = e;
624
638
  }
625
639
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
626
640
  }
627
- var me = function() {
628
- return me = Object.assign || function(t) {
641
+ var P = function() {
642
+ return P = Object.assign || function(t) {
629
643
  for (var n, r = 1, i = arguments.length; r < i; r++) {
630
644
  n = arguments[r];
631
645
  for (var o in n)
632
646
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
633
647
  }
634
648
  return t;
635
- }, me.apply(this, arguments);
649
+ }, P.apply(this, arguments);
636
650
  };
637
651
  function Qr(e, t) {
638
652
  var n = {};
@@ -643,14 +657,14 @@ function Qr(e, t) {
643
657
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
644
658
  return n;
645
659
  }
646
- function Mt(e, t, n) {
647
- if (n || arguments.length === 2)
660
+ function Rt(e, t, n) {
661
+ if (arguments.length === 2)
648
662
  for (var r = 0, i = t.length, o; r < i; r++)
649
663
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
650
- return e.concat(o || Array.prototype.slice.call(t));
664
+ return e.concat(o || t);
651
665
  }
652
- function Nt(e, t) {
653
- var n = t && t.cache ? t.cache : ri, r = t && t.serializer ? t.serializer : ti, i = t && t.strategy ? t.strategy : Kr;
666
+ function Lt(e, t) {
667
+ var n = t && t.cache ? t.cache : ni, r = t && t.serializer ? t.serializer : ti, i = t && t.strategy ? t.strategy : Yr;
654
668
  return i(e, {
655
669
  cache: n,
656
670
  serializer: r
@@ -659,103 +673,95 @@ function Nt(e, t) {
659
673
  function Jr(e) {
660
674
  return e == null || typeof e == "number" || typeof e == "boolean";
661
675
  }
662
- function Yr(e, t, n, r) {
676
+ function Nn(e, t, n, r) {
663
677
  var i = Jr(r) ? r : n(r), o = t.get(i);
664
678
  return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
665
679
  }
666
- function Nn(e, t, n) {
680
+ function In(e, t, n) {
667
681
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
668
682
  return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
669
683
  }
670
- function In(e, t, n, r, i) {
684
+ function Jt(e, t, n, r, i) {
671
685
  return n.bind(t, e, r, i);
672
686
  }
687
+ function Yr(e, t) {
688
+ var n = e.length === 1 ? Nn : In;
689
+ return Jt(e, this, n, t.cache.create(), t.serializer);
690
+ }
673
691
  function Kr(e, t) {
674
- var n = e.length === 1 ? Yr : Nn;
675
- return In(e, this, n, t.cache.create(), t.serializer);
692
+ return Jt(e, this, In, t.cache.create(), t.serializer);
676
693
  }
677
694
  function ei(e, t) {
678
- return In(e, this, Nn, t.cache.create(), t.serializer);
695
+ return Jt(e, this, Nn, t.cache.create(), t.serializer);
679
696
  }
680
697
  var ti = function() {
681
698
  return JSON.stringify(arguments);
682
- }, ni = (
683
- /** @class */
684
- function() {
685
- function e() {
686
- this.cache = /* @__PURE__ */ Object.create(null);
687
- }
688
- return e.prototype.get = function(t) {
689
- return this.cache[t];
690
- }, e.prototype.set = function(t, n) {
691
- this.cache[t] = n;
692
- }, e;
693
- }()
694
- ), ri = {
699
+ };
700
+ function Yt() {
701
+ this.cache = /* @__PURE__ */ Object.create(null);
702
+ }
703
+ Yt.prototype.get = function(e) {
704
+ return this.cache[e];
705
+ };
706
+ Yt.prototype.set = function(e, t) {
707
+ this.cache[e] = t;
708
+ };
709
+ var ni = {
695
710
  create: function() {
696
- return new ni();
711
+ return new Yt();
697
712
  }
698
- }, It = {
699
- variadic: ei
700
- }, bt = function() {
701
- return bt = Object.assign || function(t) {
702
- for (var n, r = 1, i = arguments.length; r < i; r++) {
703
- n = arguments[r];
704
- for (var o in n)
705
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
706
- }
707
- return t;
708
- }, bt.apply(this, arguments);
709
- };
710
- var O;
713
+ }, Mt = {
714
+ variadic: Kr,
715
+ monadic: ei
716
+ }, R;
711
717
  (function(e) {
712
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";
713
- })(O || (O = {}));
714
- var j;
719
+ })(R || (R = {}));
720
+ var G;
715
721
  (function(e) {
716
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";
717
- })(j || (j = {}));
718
- var $e;
723
+ })(G || (G = {}));
724
+ var Ue;
719
725
  (function(e) {
720
726
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
721
- })($e || ($e = {}));
727
+ })(Ue || (Ue = {}));
722
728
  function ln(e) {
723
- return e.type === j.literal;
729
+ return e.type === G.literal;
724
730
  }
725
- function ii(e) {
726
- return e.type === j.argument;
731
+ function ri(e) {
732
+ return e.type === G.argument;
727
733
  }
728
734
  function Pn(e) {
729
- return e.type === j.number;
735
+ return e.type === G.number;
730
736
  }
731
737
  function Dn(e) {
732
- return e.type === j.date;
738
+ return e.type === G.date;
733
739
  }
734
740
  function Un(e) {
735
- return e.type === j.time;
741
+ return e.type === G.time;
736
742
  }
737
743
  function Fn(e) {
738
- return e.type === j.select;
744
+ return e.type === G.select;
739
745
  }
740
746
  function Gn(e) {
741
- return e.type === j.plural;
747
+ return e.type === G.plural;
742
748
  }
743
- function oi(e) {
744
- return e.type === j.pound;
749
+ function ii(e) {
750
+ return e.type === G.pound;
745
751
  }
746
752
  function $n(e) {
747
- return e.type === j.tag;
753
+ return e.type === G.tag;
748
754
  }
749
- function jn(e) {
750
- return !!(e && typeof e == "object" && e.type === $e.number);
755
+ function kn(e) {
756
+ return !!(e && typeof e == "object" && e.type === Ue.number);
751
757
  }
752
- function kt(e) {
753
- return !!(e && typeof e == "object" && e.type === $e.dateTime);
758
+ function $t(e) {
759
+ return !!(e && typeof e == "object" && e.type === Ue.dateTime);
754
760
  }
755
- var kn = /[ \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;
756
- function si(e) {
761
+ var jn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[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 ai(e) {
757
763
  var t = {};
758
- return e.replace(ai, function(n) {
764
+ return e.replace(oi, function(n) {
759
765
  var r = n.length;
760
766
  switch (n[0]) {
761
767
  case "G":
@@ -844,39 +850,29 @@ function si(e) {
844
850
  return "";
845
851
  }), t;
846
852
  }
847
- var X = function() {
848
- return X = Object.assign || function(t) {
849
- for (var n, r = 1, i = arguments.length; r < i; r++) {
850
- n = arguments[r];
851
- for (var o in n)
852
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
853
- }
854
- return t;
855
- }, X.apply(this, arguments);
856
- };
857
- var li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
858
- function ui(e) {
853
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
854
+ function li(e) {
859
855
  if (e.length === 0)
860
856
  throw new Error("Number skeleton cannot be empty");
861
- for (var t = e.split(li).filter(function(g) {
862
- return g.length > 0;
857
+ for (var t = e.split(si).filter(function(b) {
858
+ return b.length > 0;
863
859
  }), n = [], r = 0, i = t; r < i.length; r++) {
864
860
  var o = i[r], l = o.split("/");
865
861
  if (l.length === 0)
866
862
  throw new Error("Invalid number skeleton");
867
863
  for (var s = l[0], h = l.slice(1), u = 0, d = h; u < d.length; u++) {
868
- var m = d[u];
869
- if (m.length === 0)
864
+ var g = d[u];
865
+ if (g.length === 0)
870
866
  throw new Error("Invalid number skeleton");
871
867
  }
872
868
  n.push({ stem: s, options: h });
873
869
  }
874
870
  return n;
875
871
  }
876
- function ci(e) {
872
+ function ui(e) {
877
873
  return e.replace(/^(.*?)-/, "");
878
874
  }
879
- var un = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vn = /^(@+)?(\+|#+)?[rs]?$/g, hi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xn = /^(0+)$/;
875
+ var un = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vn = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, Xn = /^(0+)$/;
880
876
  function cn(e) {
881
877
  var t = {};
882
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) {
@@ -923,7 +919,7 @@ function zn(e) {
923
919
  };
924
920
  }
925
921
  }
926
- function fi(e) {
922
+ function hi(e) {
927
923
  var t;
928
924
  if (e[0] === "E" && e[1] === "E" ? (t = {
929
925
  notation: "engineering"
@@ -941,7 +937,7 @@ function hn(e) {
941
937
  var t = {}, n = zn(e);
942
938
  return n || t;
943
939
  }
944
- function di(e) {
940
+ function fi(e) {
945
941
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
946
942
  var i = r[n];
947
943
  switch (i.stem) {
@@ -965,7 +961,7 @@ function di(e) {
965
961
  continue;
966
962
  case "measure-unit":
967
963
  case "unit":
968
- t.style = "unit", t.unit = ci(i.options[0]);
964
+ t.style = "unit", t.unit = ui(i.options[0]);
969
965
  continue;
970
966
  case "compact-short":
971
967
  case "K":
@@ -976,13 +972,13 @@ function di(e) {
976
972
  t.notation = "compact", t.compactDisplay = "long";
977
973
  continue;
978
974
  case "scientific":
979
- t = X(X(X({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
980
- return X(X({}, h), hn(u));
975
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
976
+ return P(P({}, h), hn(u));
981
977
  }, {}));
982
978
  continue;
983
979
  case "engineering":
984
- t = X(X(X({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
985
- return X(X({}, h), hn(u));
980
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
981
+ return P(P({}, h), hn(u));
986
982
  }, {}));
987
983
  continue;
988
984
  case "notation-simple":
@@ -1027,13 +1023,13 @@ function di(e) {
1027
1023
  case "integer-width":
1028
1024
  if (i.options.length > 1)
1029
1025
  throw new RangeError("integer-width stems only accept a single optional option");
1030
- i.options[0].replace(hi, function(h, u, d, m, g, x) {
1026
+ i.options[0].replace(ci, function(h, u, d, g, b, _) {
1031
1027
  if (u)
1032
1028
  t.minimumIntegerDigits = d.length;
1033
1029
  else {
1034
- if (m && g)
1030
+ if (g && b)
1035
1031
  throw new Error("We currently do not support maximum integer digits");
1036
- if (x)
1032
+ if (_)
1037
1033
  throw new Error("We currently do not support exact integer digits");
1038
1034
  }
1039
1035
  return "";
@@ -1047,21 +1043,21 @@ function di(e) {
1047
1043
  if (un.test(i.stem)) {
1048
1044
  if (i.options.length > 1)
1049
1045
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1050
- i.stem.replace(un, function(h, u, d, m, g, x) {
1051
- return d === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : g && x ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + x.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), "";
1052
1048
  });
1053
1049
  var o = i.options[0];
1054
- o === "w" ? t = X(X({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = X(X({}, t), cn(o)));
1050
+ o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), cn(o)));
1055
1051
  continue;
1056
1052
  }
1057
1053
  if (Vn.test(i.stem)) {
1058
- t = X(X({}, t), cn(i.stem));
1054
+ t = P(P({}, t), cn(i.stem));
1059
1055
  continue;
1060
1056
  }
1061
1057
  var l = zn(i.stem);
1062
- l && (t = X(X({}, t), l));
1063
- var s = fi(i.stem);
1064
- s && (t = X(X({}, t), s));
1058
+ l && (t = P(P({}, t), l));
1059
+ var s = hi(i.stem);
1060
+ s && (t = P(P({}, t), s));
1065
1061
  }
1066
1062
  return t;
1067
1063
  }
@@ -2480,13 +2476,13 @@ var ct = {
2480
2476
  "h"
2481
2477
  ]
2482
2478
  };
2483
- function pi(e, t) {
2479
+ function di(e, t) {
2484
2480
  for (var n = "", r = 0; r < e.length; r++) {
2485
2481
  var i = e.charAt(r);
2486
2482
  if (i === "j") {
2487
2483
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2488
2484
  o++, r++;
2489
- var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = mi(t);
2485
+ var l = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = pi(t);
2490
2486
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2491
2487
  n += h;
2492
2488
  for (; l-- > 0; )
@@ -2496,7 +2492,7 @@ function pi(e, t) {
2496
2492
  }
2497
2493
  return n;
2498
2494
  }
2499
- function mi(e) {
2495
+ function pi(e) {
2500
2496
  var t = e.hourCycle;
2501
2497
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2502
2498
  e.hourCycles && // @ts-ignore
@@ -2518,20 +2514,20 @@ function mi(e) {
2518
2514
  var i = ct[r || ""] || ct[n || ""] || ct["".concat(n, "-001")] || ct["001"];
2519
2515
  return i[0];
2520
2516
  }
2521
- var Pt, gi = new RegExp("^".concat(kn.source, "*")), bi = new RegExp("".concat(kn.source, "*$"));
2517
+ var Nt, mi = new RegExp("^".concat(jn.source, "*")), gi = new RegExp("".concat(jn.source, "*$"));
2522
2518
  function L(e, t) {
2523
2519
  return { start: e, end: t };
2524
2520
  }
2525
- var yi = !!String.prototype.startsWith && "_a".startsWith("a", 1), vi = !!String.fromCodePoint, Ei = !!Object.fromEntries, _i = !!String.prototype.codePointAt, xi = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Ti = !!Number.isSafeInteger, wi = Ti ? 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) {
2526
2522
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2527
- }, Vt = !0;
2523
+ }, kt = !0;
2528
2524
  try {
2529
- var Si = Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2530
- Vt = ((Pt = Si.exec("a")) === null || Pt === void 0 ? void 0 : Pt[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";
2531
2527
  } catch {
2532
- Vt = !1;
2528
+ kt = !1;
2533
2529
  }
2534
- var fn = yi ? (
2530
+ var fn = bi ? (
2535
2531
  // Native
2536
2532
  function(t, n, r) {
2537
2533
  return t.startsWith(n, r);
@@ -2541,7 +2537,7 @@ var fn = yi ? (
2541
2537
  function(t, n, r) {
2542
2538
  return t.slice(r, r + n.length) === n;
2543
2539
  }
2544
- ), Xt = vi ? String.fromCodePoint : (
2540
+ ), jt = yi ? String.fromCodePoint : (
2545
2541
  // IE11
2546
2542
  function() {
2547
2543
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2555,7 +2551,7 @@ var fn = yi ? (
2555
2551
  }
2556
2552
  ), dn = (
2557
2553
  // native
2558
- Ei ? Object.fromEntries : (
2554
+ vi ? Object.fromEntries : (
2559
2555
  // Ponyfill
2560
2556
  function(t) {
2561
2557
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2565,7 +2561,7 @@ var fn = yi ? (
2565
2561
  return n;
2566
2562
  }
2567
2563
  )
2568
- ), Wn = _i ? (
2564
+ ), Wn = Ei ? (
2569
2565
  // Native
2570
2566
  function(t, n) {
2571
2567
  return t.codePointAt(n);
@@ -2579,7 +2575,7 @@ var fn = yi ? (
2579
2575
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2580
2576
  }
2581
2577
  }
2582
- ), Ai = xi ? (
2578
+ ), Si = xi ? (
2583
2579
  // Native
2584
2580
  function(t) {
2585
2581
  return t.trimStart();
@@ -2587,9 +2583,9 @@ var fn = yi ? (
2587
2583
  ) : (
2588
2584
  // Ponyfill
2589
2585
  function(t) {
2590
- return t.replace(gi, "");
2586
+ return t.replace(mi, "");
2591
2587
  }
2592
- ), Ci = Bi ? (
2588
+ ), Ai = _i ? (
2593
2589
  // Native
2594
2590
  function(t) {
2595
2591
  return t.trimEnd();
@@ -2597,32 +2593,32 @@ var fn = yi ? (
2597
2593
  ) : (
2598
2594
  // Ponyfill
2599
2595
  function(t) {
2600
- return t.replace(bi, "");
2596
+ return t.replace(gi, "");
2601
2597
  }
2602
2598
  );
2603
2599
  function Zn(e, t) {
2604
2600
  return new RegExp(e, t);
2605
2601
  }
2606
- var zt;
2607
- if (Vt) {
2602
+ var Vt;
2603
+ if (kt) {
2608
2604
  var pn = Zn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2609
- zt = function(t, n) {
2605
+ Vt = function(t, n) {
2610
2606
  var r;
2611
2607
  pn.lastIndex = n;
2612
2608
  var i = pn.exec(t);
2613
2609
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2614
2610
  };
2615
2611
  } else
2616
- zt = function(t, n) {
2612
+ Vt = function(t, n) {
2617
2613
  for (var r = []; ; ) {
2618
2614
  var i = Wn(t, n);
2619
- if (i === void 0 || qn(i) || Li(i))
2615
+ if (i === void 0 || qn(i) || Ri(i))
2620
2616
  break;
2621
2617
  r.push(i), n += i >= 65536 ? 2 : 1;
2622
2618
  }
2623
- return Xt.apply(void 0, r);
2619
+ return jt.apply(void 0, r);
2624
2620
  };
2625
- var Hi = (
2621
+ var Ci = (
2626
2622
  /** @class */
2627
2623
  function() {
2628
2624
  function e(t, n) {
@@ -2646,14 +2642,14 @@ var Hi = (
2646
2642
  if (o === 35 && (n === "plural" || n === "selectordinal")) {
2647
2643
  var s = this.clonePosition();
2648
2644
  this.bump(), i.push({
2649
- type: j.pound,
2645
+ type: G.pound,
2650
2646
  location: L(s, this.clonePosition())
2651
2647
  });
2652
2648
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2653
2649
  if (r)
2654
2650
  break;
2655
- return this.error(O.UNMATCHED_CLOSING_TAG, L(this.clonePosition(), this.clonePosition()));
2656
- } else if (o === 60 && !this.ignoreTag && Wt(this.peek() || 0)) {
2651
+ return this.error(R.UNMATCHED_CLOSING_TAG, L(this.clonePosition(), this.clonePosition()));
2652
+ } else if (o === 60 && !this.ignoreTag && Xt(this.peek() || 0)) {
2657
2653
  var l = this.parseTag(t, n);
2658
2654
  if (l.err)
2659
2655
  return l;
@@ -2674,7 +2670,7 @@ var Hi = (
2674
2670
  if (this.bumpSpace(), this.bumpIf("/>"))
2675
2671
  return {
2676
2672
  val: {
2677
- type: j.literal,
2673
+ type: G.literal,
2678
2674
  value: "<".concat(i, "/>"),
2679
2675
  location: L(r, this.clonePosition())
2680
2676
  },
@@ -2686,25 +2682,25 @@ var Hi = (
2686
2682
  return o;
2687
2683
  var l = o.val, s = this.clonePosition();
2688
2684
  if (this.bumpIf("</")) {
2689
- if (this.isEOF() || !Wt(this.char()))
2690
- return this.error(O.INVALID_TAG, L(s, this.clonePosition()));
2685
+ if (this.isEOF() || !Xt(this.char()))
2686
+ return this.error(R.INVALID_TAG, L(s, this.clonePosition()));
2691
2687
  var h = this.clonePosition(), u = this.parseTagName();
2692
- return i !== u ? this.error(O.UNMATCHED_CLOSING_TAG, L(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2688
+ return i !== u ? this.error(R.UNMATCHED_CLOSING_TAG, L(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2693
2689
  val: {
2694
- type: j.tag,
2690
+ type: G.tag,
2695
2691
  value: i,
2696
2692
  children: l,
2697
2693
  location: L(r, this.clonePosition())
2698
2694
  },
2699
2695
  err: null
2700
- } : this.error(O.INVALID_TAG, L(s, this.clonePosition())));
2696
+ } : this.error(R.INVALID_TAG, L(s, this.clonePosition())));
2701
2697
  } else
2702
- return this.error(O.UNCLOSED_TAG, L(r, this.clonePosition()));
2698
+ return this.error(R.UNCLOSED_TAG, L(r, this.clonePosition()));
2703
2699
  } else
2704
- return this.error(O.INVALID_TAG, L(r, this.clonePosition()));
2700
+ return this.error(R.INVALID_TAG, L(r, this.clonePosition()));
2705
2701
  }, e.prototype.parseTagName = function() {
2706
2702
  var t = this.offset();
2707
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
2703
+ for (this.bump(); !this.isEOF() && Oi(this.char()); )
2708
2704
  this.bump();
2709
2705
  return this.message.slice(t, this.offset());
2710
2706
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2728,12 +2724,12 @@ var Hi = (
2728
2724
  }
2729
2725
  var h = L(r, this.clonePosition());
2730
2726
  return {
2731
- val: { type: j.literal, value: i, location: h },
2727
+ val: { type: G.literal, value: i, location: h },
2732
2728
  err: null
2733
2729
  };
2734
2730
  }, e.prototype.tryParseLeftAngleBracket = function() {
2735
2731
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2736
- !Oi(this.peek() || 0)) ? (this.bump(), "<") : null;
2732
+ !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
2737
2733
  }, e.prototype.tryParseQuote = function(t) {
2738
2734
  if (this.isEOF() || this.char() !== 39)
2739
2735
  return null;
@@ -2767,28 +2763,28 @@ var Hi = (
2767
2763
  n.push(r);
2768
2764
  this.bump();
2769
2765
  }
2770
- return Xt.apply(void 0, n);
2766
+ return jt.apply(void 0, n);
2771
2767
  }, e.prototype.tryParseUnquoted = function(t, n) {
2772
2768
  if (this.isEOF())
2773
2769
  return null;
2774
2770
  var r = this.char();
2775
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Xt(r));
2771
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), jt(r));
2776
2772
  }, e.prototype.parseArgument = function(t, n) {
2777
2773
  var r = this.clonePosition();
2778
2774
  if (this.bump(), this.bumpSpace(), this.isEOF())
2779
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2775
+ return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2780
2776
  if (this.char() === 125)
2781
- return this.bump(), this.error(O.EMPTY_ARGUMENT, L(r, this.clonePosition()));
2777
+ return this.bump(), this.error(R.EMPTY_ARGUMENT, L(r, this.clonePosition()));
2782
2778
  var i = this.parseIdentifierIfPossible().value;
2783
2779
  if (!i)
2784
- return this.error(O.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2780
+ return this.error(R.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2785
2781
  if (this.bumpSpace(), this.isEOF())
2786
- return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2782
+ return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition()));
2787
2783
  switch (this.char()) {
2788
2784
  case 125:
2789
2785
  return this.bump(), {
2790
2786
  val: {
2791
- type: j.argument,
2787
+ type: G.argument,
2792
2788
  // value does not include the opening and closing braces.
2793
2789
  value: i,
2794
2790
  location: L(r, this.clonePosition())
@@ -2796,12 +2792,12 @@ var Hi = (
2796
2792
  err: null
2797
2793
  };
2798
2794
  case 44:
2799
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2795
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, L(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2800
2796
  default:
2801
- return this.error(O.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2797
+ return this.error(R.MALFORMED_ARGUMENT, L(r, this.clonePosition()));
2802
2798
  }
2803
2799
  }, e.prototype.parseIdentifierIfPossible = function() {
2804
- var t = this.clonePosition(), n = this.offset(), r = zt(this.message, n), i = n + r.length;
2800
+ var t = this.clonePosition(), n = this.offset(), r = Vt(this.message, n), i = n + r.length;
2805
2801
  this.bumpTo(i);
2806
2802
  var o = this.clonePosition(), l = L(t, o);
2807
2803
  return { value: r, location: l };
@@ -2809,7 +2805,7 @@ var Hi = (
2809
2805
  var o, l = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2810
2806
  switch (s) {
2811
2807
  case "":
2812
- return this.error(O.EXPECT_ARGUMENT_TYPE, L(l, h));
2808
+ return this.error(R.EXPECT_ARGUMENT_TYPE, L(l, h));
2813
2809
  case "number":
2814
2810
  case "date":
2815
2811
  case "time": {
@@ -2817,49 +2813,49 @@ var Hi = (
2817
2813
  var u = null;
2818
2814
  if (this.bumpIf(",")) {
2819
2815
  this.bumpSpace();
2820
- var d = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2821
- if (m.err)
2822
- return m;
2823
- var g = Ci(m.val);
2824
- if (g.length === 0)
2825
- return this.error(O.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2826
- var x = L(d, this.clonePosition());
2827
- u = { style: g, styleLocation: x };
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)
2821
+ return this.error(R.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2822
+ var _ = L(d, this.clonePosition());
2823
+ u = { style: b, styleLocation: _ };
2828
2824
  }
2829
- var B = this.tryParseArgumentClose(i);
2830
- if (B.err)
2831
- return B;
2832
- var T = L(i, this.clonePosition());
2825
+ var T = this.tryParseArgumentClose(i);
2826
+ if (T.err)
2827
+ return T;
2828
+ var S = L(i, this.clonePosition());
2833
2829
  if (u && fn(u?.style, "::", 0)) {
2834
- var _ = Ai(u.style.slice(2));
2830
+ var x = Si(u.style.slice(2));
2835
2831
  if (s === "number") {
2836
- var m = this.parseNumberSkeletonFromString(_, u.styleLocation);
2837
- return m.err ? m : {
2838
- val: { type: j.number, value: r, location: T, style: m.val },
2832
+ var g = this.parseNumberSkeletonFromString(x, u.styleLocation);
2833
+ return g.err ? g : {
2834
+ val: { type: G.number, value: r, location: S, style: g.val },
2839
2835
  err: null
2840
2836
  };
2841
2837
  } else {
2842
- if (_.length === 0)
2843
- return this.error(O.EXPECT_DATE_TIME_SKELETON, T);
2844
- var S = _;
2845
- this.locale && (S = pi(_, this.locale));
2846
- var g = {
2847
- type: $e.dateTime,
2848
- pattern: S,
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 = {
2843
+ type: Ue.dateTime,
2844
+ pattern: C,
2849
2845
  location: u.styleLocation,
2850
- parsedOptions: this.shouldParseSkeletons ? si(S) : {}
2851
- }, P = s === "date" ? j.date : j.time;
2846
+ parsedOptions: this.shouldParseSkeletons ? ai(C) : {}
2847
+ }, U = s === "date" ? G.date : G.time;
2852
2848
  return {
2853
- val: { type: P, value: r, location: T, style: g },
2849
+ val: { type: U, value: r, location: S, style: b },
2854
2850
  err: null
2855
2851
  };
2856
2852
  }
2857
2853
  }
2858
2854
  return {
2859
2855
  val: {
2860
- type: s === "number" ? j.number : s === "date" ? j.date : j.time,
2856
+ type: s === "number" ? G.number : s === "date" ? G.date : G.time,
2861
2857
  value: r,
2862
- location: T,
2858
+ location: S,
2863
2859
  style: (o = u?.style) !== null && o !== void 0 ? o : null
2864
2860
  },
2865
2861
  err: null
@@ -2868,52 +2864,52 @@ var Hi = (
2868
2864
  case "plural":
2869
2865
  case "selectordinal":
2870
2866
  case "select": {
2871
- var C = this.clonePosition();
2867
+ var H = this.clonePosition();
2872
2868
  if (this.bumpSpace(), !this.bumpIf(","))
2873
- return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS, L(C, bt({}, C)));
2869
+ return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS, L(H, P({}, H)));
2874
2870
  this.bumpSpace();
2875
- var D = this.parseIdentifierIfPossible(), W = 0;
2876
- if (s !== "select" && D.value === "offset") {
2871
+ var z = this.parseIdentifierIfPossible(), j = 0;
2872
+ if (s !== "select" && z.value === "offset") {
2877
2873
  if (!this.bumpIf(":"))
2878
- return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
2874
+ return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
2879
2875
  this.bumpSpace();
2880
- var m = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2881
- if (m.err)
2882
- return m;
2883
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), W = m.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(), z = this.parseIdentifierIfPossible(), j = g.val;
2884
2880
  }
2885
- var J = this.tryParsePluralOrSelectOptions(t, s, n, D);
2886
- if (J.err)
2887
- return J;
2888
- var B = this.tryParseArgumentClose(i);
2889
- if (B.err)
2890
- return B;
2891
- var Y = L(i, this.clonePosition());
2881
+ var re = this.tryParsePluralOrSelectOptions(t, s, n, z);
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());
2892
2888
  return s === "select" ? {
2893
2889
  val: {
2894
- type: j.select,
2890
+ type: G.select,
2895
2891
  value: r,
2896
- options: dn(J.val),
2897
- location: Y
2892
+ options: dn(re.val),
2893
+ location: Z
2898
2894
  },
2899
2895
  err: null
2900
2896
  } : {
2901
2897
  val: {
2902
- type: j.plural,
2898
+ type: G.plural,
2903
2899
  value: r,
2904
- options: dn(J.val),
2905
- offset: W,
2900
+ options: dn(re.val),
2901
+ offset: j,
2906
2902
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2907
- location: Y
2903
+ location: Z
2908
2904
  },
2909
2905
  err: null
2910
2906
  };
2911
2907
  }
2912
2908
  default:
2913
- return this.error(O.INVALID_ARGUMENT_TYPE, L(l, h));
2909
+ return this.error(R.INVALID_ARGUMENT_TYPE, L(l, h));
2914
2910
  }
2915
2911
  }, e.prototype.tryParseArgumentClose = function(t) {
2916
- return this.isEOF() || this.char() !== 125 ? this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE, L(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2912
+ return this.isEOF() || this.char() !== 125 ? this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, L(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2917
2913
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2918
2914
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
2919
2915
  var r = this.char();
@@ -2922,7 +2918,7 @@ var Hi = (
2922
2918
  this.bump();
2923
2919
  var i = this.clonePosition();
2924
2920
  if (!this.bumpUntil("'"))
2925
- return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, L(i, this.clonePosition()));
2921
+ return this.error(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, L(i, this.clonePosition()));
2926
2922
  this.bump();
2927
2923
  break;
2928
2924
  }
@@ -2952,52 +2948,52 @@ var Hi = (
2952
2948
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
2953
2949
  var r = [];
2954
2950
  try {
2955
- r = ui(t);
2951
+ r = li(t);
2956
2952
  } catch {
2957
- return this.error(O.INVALID_NUMBER_SKELETON, n);
2953
+ return this.error(R.INVALID_NUMBER_SKELETON, n);
2958
2954
  }
2959
2955
  return {
2960
2956
  val: {
2961
- type: $e.number,
2957
+ type: Ue.number,
2962
2958
  tokens: r,
2963
2959
  location: n,
2964
- parsedOptions: this.shouldParseSkeletons ? di(r) : {}
2960
+ parsedOptions: this.shouldParseSkeletons ? fi(r) : {}
2965
2961
  },
2966
2962
  err: null
2967
2963
  };
2968
2964
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
2969
2965
  for (var o, l = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, d = i.location; ; ) {
2970
2966
  if (u.length === 0) {
2971
- var m = this.clonePosition();
2967
+ var g = this.clonePosition();
2972
2968
  if (n !== "select" && this.bumpIf("=")) {
2973
- var g = this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR, O.INVALID_PLURAL_ARGUMENT_SELECTOR);
2974
- if (g.err)
2975
- return g;
2976
- d = L(m, this.clonePosition()), u = this.message.slice(m.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());
2977
2973
  } else
2978
2974
  break;
2979
2975
  }
2980
2976
  if (h.has(u))
2981
- return this.error(n === "select" ? O.DUPLICATE_SELECT_ARGUMENT_SELECTOR : O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, d);
2977
+ return this.error(n === "select" ? R.DUPLICATE_SELECT_ARGUMENT_SELECTOR : R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, d);
2982
2978
  u === "other" && (l = !0), this.bumpSpace();
2983
- var x = this.clonePosition();
2979
+ var _ = this.clonePosition();
2984
2980
  if (!this.bumpIf("{"))
2985
- return this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
2986
- var B = this.parseMessage(t + 1, n, r);
2987
- if (B.err)
2988
- return B;
2989
- var T = this.tryParseArgumentClose(x);
2981
+ return this.error(n === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
2982
+ var T = this.parseMessage(t + 1, n, r);
2990
2983
  if (T.err)
2991
2984
  return T;
2985
+ var S = this.tryParseArgumentClose(_);
2986
+ if (S.err)
2987
+ return S;
2992
2988
  s.push([
2993
2989
  u,
2994
2990
  {
2995
- value: B.val,
2996
- location: L(x, this.clonePosition())
2991
+ value: T.val,
2992
+ location: L(_, this.clonePosition())
2997
2993
  }
2998
2994
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, d = o.location;
2999
2995
  }
3000
- return s.length === 0 ? this.error(n === "select" ? O.EXPECT_SELECT_ARGUMENT_SELECTOR : O.EXPECT_PLURAL_ARGUMENT_SELECTOR, L(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(O.MISSING_OTHER_CLAUSE, L(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2996
+ return s.length === 0 ? this.error(n === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR : R.EXPECT_PLURAL_ARGUMENT_SELECTOR, L(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(R.MISSING_OTHER_CLAUSE, L(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3001
2997
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3002
2998
  var r = 1, i = this.clonePosition();
3003
2999
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
@@ -3009,7 +3005,7 @@ var Hi = (
3009
3005
  break;
3010
3006
  }
3011
3007
  var h = L(i, this.clonePosition());
3012
- return o ? (l *= r, wi(l) ? { val: l, err: null } : this.error(n, h)) : this.error(t, h);
3008
+ return o ? (l *= r, Ti(l) ? { val: l, err: null } : this.error(n, h)) : this.error(t, h);
3013
3009
  }, e.prototype.offset = function() {
3014
3010
  return this.position.offset;
3015
3011
  }, e.prototype.isEOF = function() {
@@ -3075,47 +3071,47 @@ var Hi = (
3075
3071
  }, e;
3076
3072
  }()
3077
3073
  );
3078
- function Wt(e) {
3074
+ function Xt(e) {
3079
3075
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3080
3076
  }
3081
- function Oi(e) {
3082
- return Wt(e) || e === 47;
3077
+ function Hi(e) {
3078
+ return Xt(e) || e === 47;
3083
3079
  }
3084
- function Ri(e) {
3080
+ function Oi(e) {
3085
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;
3086
3082
  }
3087
3083
  function qn(e) {
3088
3084
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3089
3085
  }
3090
- function Li(e) {
3086
+ function Ri(e) {
3091
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;
3092
3088
  }
3093
- function Zt(e) {
3089
+ function zt(e) {
3094
3090
  e.forEach(function(t) {
3095
3091
  if (delete t.location, Fn(t) || Gn(t))
3096
3092
  for (var n in t.options)
3097
- delete t.options[n].location, Zt(t.options[n].value);
3093
+ delete t.options[n].location, zt(t.options[n].value);
3098
3094
  else
3099
- Pn(t) && jn(t.style) || (Dn(t) || Un(t)) && kt(t.style) ? delete t.style.location : $n(t) && Zt(t.children);
3095
+ Pn(t) && kn(t.style) || (Dn(t) || Un(t)) && $t(t.style) ? delete t.style.location : $n(t) && zt(t.children);
3100
3096
  });
3101
3097
  }
3102
- function Mi(e, t) {
3103
- t === void 0 && (t = {}), t = bt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3104
- var n = new Hi(e, t).parse();
3098
+ function Li(e, t) {
3099
+ t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3100
+ var n = new Ci(e, t).parse();
3105
3101
  if (n.err) {
3106
- var r = SyntaxError(O[n.err.kind]);
3102
+ var r = SyntaxError(R[n.err.kind]);
3107
3103
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3108
3104
  }
3109
- return t?.captureLocation || Zt(n.val), n.val;
3105
+ return t?.captureLocation || zt(n.val), n.val;
3110
3106
  }
3111
- var je;
3107
+ var Fe;
3112
3108
  (function(e) {
3113
3109
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3114
- })(je || (je = {}));
3110
+ })(Fe || (Fe = {}));
3115
3111
  var xt = (
3116
3112
  /** @class */
3117
3113
  function(e) {
3118
- _t(t, e);
3114
+ Et(t, e);
3119
3115
  function t(n, r, i) {
3120
3116
  var o = e.call(this, n) || this;
3121
3117
  return o.code = r, o.originalMessage = i, o;
@@ -3127,27 +3123,27 @@ var xt = (
3127
3123
  ), mn = (
3128
3124
  /** @class */
3129
3125
  function(e) {
3130
- _t(t, e);
3126
+ Et(t, e);
3131
3127
  function t(n, r, i, o) {
3132
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), je.INVALID_VALUE, o) || this;
3128
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Fe.INVALID_VALUE, o) || this;
3133
3129
  }
3134
3130
  return t;
3135
3131
  }(xt)
3136
- ), Ni = (
3132
+ ), Mi = (
3137
3133
  /** @class */
3138
3134
  function(e) {
3139
- _t(t, e);
3135
+ Et(t, e);
3140
3136
  function t(n, r, i) {
3141
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), je.INVALID_VALUE, i) || this;
3137
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), Fe.INVALID_VALUE, i) || this;
3142
3138
  }
3143
3139
  return t;
3144
3140
  }(xt)
3145
- ), Ii = (
3141
+ ), Ni = (
3146
3142
  /** @class */
3147
3143
  function(e) {
3148
- _t(t, e);
3144
+ Et(t, e);
3149
3145
  function t(n, r) {
3150
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), je.MISSING_VALUE, r) || this;
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;
3151
3147
  }
3152
3148
  return t;
3153
3149
  }(xt)
@@ -3155,13 +3151,13 @@ var xt = (
3155
3151
  (function(e) {
3156
3152
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3157
3153
  })(ne || (ne = {}));
3158
- function Pi(e) {
3154
+ function Ii(e) {
3159
3155
  return e.length < 2 ? e : e.reduce(function(t, n) {
3160
3156
  var r = t[t.length - 1];
3161
3157
  return !r || r.type !== ne.literal || n.type !== ne.literal ? t.push(n) : r.value += n.value, t;
3162
3158
  }, []);
3163
3159
  }
3164
- function Di(e) {
3160
+ function Pi(e) {
3165
3161
  return typeof e == "function";
3166
3162
  }
3167
3163
  function ft(e, t, n, r, i, o, l) {
@@ -3181,98 +3177,98 @@ function ft(e, t, n, r, i, o, l) {
3181
3177
  });
3182
3178
  continue;
3183
3179
  }
3184
- if (oi(d)) {
3180
+ if (ii(d)) {
3185
3181
  typeof o == "number" && s.push({
3186
3182
  type: ne.literal,
3187
3183
  value: n.getNumberFormat(t).format(o)
3188
3184
  });
3189
3185
  continue;
3190
3186
  }
3191
- var m = d.value;
3192
- if (!(i && m in i))
3193
- throw new Ii(m, l);
3194
- var g = i[m];
3195
- if (ii(d)) {
3196
- (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
3197
- type: typeof g == "string" ? ne.literal : ne.object,
3198
- value: g
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
3199
3195
  });
3200
3196
  continue;
3201
3197
  }
3202
3198
  if (Dn(d)) {
3203
- var x = typeof d.style == "string" ? r.date[d.style] : kt(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;
3204
3200
  s.push({
3205
3201
  type: ne.literal,
3206
- value: n.getDateTimeFormat(t, x).format(g)
3202
+ value: n.getDateTimeFormat(t, _).format(b)
3207
3203
  });
3208
3204
  continue;
3209
3205
  }
3210
3206
  if (Un(d)) {
3211
- var x = typeof d.style == "string" ? r.time[d.style] : kt(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;
3212
3208
  s.push({
3213
3209
  type: ne.literal,
3214
- value: n.getDateTimeFormat(t, x).format(g)
3210
+ value: n.getDateTimeFormat(t, _).format(b)
3215
3211
  });
3216
3212
  continue;
3217
3213
  }
3218
3214
  if (Pn(d)) {
3219
- var x = typeof d.style == "string" ? r.number[d.style] : jn(d.style) ? d.style.parsedOptions : void 0;
3220
- x && x.scale && (g = g * (x.scale || 1)), s.push({
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({
3221
3217
  type: ne.literal,
3222
- value: n.getNumberFormat(t, x).format(g)
3218
+ value: n.getNumberFormat(t, _).format(b)
3223
3219
  });
3224
3220
  continue;
3225
3221
  }
3226
3222
  if ($n(d)) {
3227
- var B = d.children, T = d.value, _ = i[T];
3228
- if (!Di(_))
3229
- throw new Ni(T, "function", l);
3230
- var S = ft(B, t, n, r, i, o), P = _(S.map(function(W) {
3231
- return W.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, o), U = x(C.map(function(j) {
3227
+ return j.value;
3232
3228
  }));
3233
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(W) {
3229
+ Array.isArray(U) || (U = [U]), s.push.apply(s, U.map(function(j) {
3234
3230
  return {
3235
- type: typeof W == "string" ? ne.literal : ne.object,
3236
- value: W
3231
+ type: typeof j == "string" ? ne.literal : ne.object,
3232
+ value: j
3237
3233
  };
3238
3234
  }));
3239
3235
  }
3240
3236
  if (Fn(d)) {
3241
- var C = d.options[g] || d.options.other;
3242
- if (!C)
3243
- throw new mn(d.value, g, Object.keys(d.options), l);
3244
- s.push.apply(s, ft(C.value, t, n, r, i));
3237
+ var H = d.options[b] || d.options.other;
3238
+ if (!H)
3239
+ throw new mn(d.value, b, Object.keys(d.options), l);
3240
+ s.push.apply(s, ft(H.value, t, n, r, i));
3245
3241
  continue;
3246
3242
  }
3247
3243
  if (Gn(d)) {
3248
- var C = d.options["=".concat(g)];
3249
- if (!C) {
3244
+ var H = d.options["=".concat(b)];
3245
+ if (!H) {
3250
3246
  if (!Intl.PluralRules)
3251
3247
  throw new xt(`Intl.PluralRules is not available in this environment.
3252
3248
  Try polyfilling it using "@formatjs/intl-pluralrules"
3253
- `, je.MISSING_INTL_API, l);
3254
- var D = n.getPluralRules(t, { type: d.pluralType }).select(g - (d.offset || 0));
3255
- C = d.options[D] || d.options.other;
3249
+ `, Fe.MISSING_INTL_API, l);
3250
+ var z = n.getPluralRules(t, { type: d.pluralType }).select(b - (d.offset || 0));
3251
+ H = d.options[z] || d.options.other;
3256
3252
  }
3257
- if (!C)
3258
- throw new mn(d.value, g, Object.keys(d.options), l);
3259
- s.push.apply(s, ft(C.value, t, n, r, i, g - (d.offset || 0)));
3253
+ if (!H)
3254
+ throw new mn(d.value, b, Object.keys(d.options), l);
3255
+ s.push.apply(s, ft(H.value, t, n, r, i, b - (d.offset || 0)));
3260
3256
  continue;
3261
3257
  }
3262
3258
  }
3263
- return Pi(s);
3259
+ return Ii(s);
3264
3260
  }
3265
- function Ui(e, t) {
3266
- return t ? me(me(me({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3267
- return n[r] = me(me({}, e[r]), t[r] || {}), n;
3261
+ function Di(e, t) {
3262
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3263
+ return n[r] = P(P({}, e[r]), t[r] || {}), n;
3268
3264
  }, {})) : e;
3269
3265
  }
3270
- function Fi(e, t) {
3266
+ function Ui(e, t) {
3271
3267
  return t ? Object.keys(e).reduce(function(n, r) {
3272
- return n[r] = Ui(e[r], t[r]), n;
3273
- }, me({}, e)) : e;
3268
+ return n[r] = Di(e[r], t[r]), n;
3269
+ }, P({}, e)) : e;
3274
3270
  }
3275
- function Dt(e) {
3271
+ function It(e) {
3276
3272
  return {
3277
3273
  create: function() {
3278
3274
  return {
@@ -3286,39 +3282,39 @@ function Dt(e) {
3286
3282
  }
3287
3283
  };
3288
3284
  }
3289
- function Gi(e) {
3285
+ function Fi(e) {
3290
3286
  return e === void 0 && (e = {
3291
3287
  number: {},
3292
3288
  dateTime: {},
3293
3289
  pluralRules: {}
3294
3290
  }), {
3295
- getNumberFormat: Nt(function() {
3291
+ getNumberFormat: Lt(function() {
3296
3292
  for (var t, n = [], r = 0; r < arguments.length; r++)
3297
3293
  n[r] = arguments[r];
3298
- return new ((t = Intl.NumberFormat).bind.apply(t, Mt([void 0], n, !1)))();
3294
+ return new ((t = Intl.NumberFormat).bind.apply(t, Rt([void 0], n, !1)))();
3299
3295
  }, {
3300
- cache: Dt(e.number),
3301
- strategy: It.variadic
3296
+ cache: It(e.number),
3297
+ strategy: Mt.variadic
3302
3298
  }),
3303
- getDateTimeFormat: Nt(function() {
3299
+ getDateTimeFormat: Lt(function() {
3304
3300
  for (var t, n = [], r = 0; r < arguments.length; r++)
3305
3301
  n[r] = arguments[r];
3306
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Mt([void 0], n, !1)))();
3302
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Rt([void 0], n, !1)))();
3307
3303
  }, {
3308
- cache: Dt(e.dateTime),
3309
- strategy: It.variadic
3304
+ cache: It(e.dateTime),
3305
+ strategy: Mt.variadic
3310
3306
  }),
3311
- getPluralRules: Nt(function() {
3307
+ getPluralRules: Lt(function() {
3312
3308
  for (var t, n = [], r = 0; r < arguments.length; r++)
3313
3309
  n[r] = arguments[r];
3314
- return new ((t = Intl.PluralRules).bind.apply(t, Mt([void 0], n, !1)))();
3310
+ return new ((t = Intl.PluralRules).bind.apply(t, Rt([void 0], n, !1)))();
3315
3311
  }, {
3316
- cache: Dt(e.pluralRules),
3317
- strategy: It.variadic
3312
+ cache: It(e.pluralRules),
3313
+ strategy: Mt.variadic
3318
3314
  })
3319
3315
  };
3320
3316
  }
3321
- var $i = (
3317
+ var Gi = (
3322
3318
  /** @class */
3323
3319
  function() {
3324
3320
  function e(t, n, r, i) {
@@ -3332,8 +3328,8 @@ var $i = (
3332
3328
  var u = o.formatToParts(h);
3333
3329
  if (u.length === 1)
3334
3330
  return u[0].value;
3335
- var d = u.reduce(function(m, g) {
3336
- return !m.length || g.type !== ne.literal || typeof m[m.length - 1] != "string" ? m.push(g.value) : m[m.length - 1] += g.value, m;
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;
3337
3333
  }, []);
3338
3334
  return d.length <= 1 ? d[0] || "" : d;
3339
3335
  }, this.formatToParts = function(h) {
@@ -3351,12 +3347,12 @@ var $i = (
3351
3347
  var l = i || {};
3352
3348
  l.formatters;
3353
3349
  var s = Qr(l, ["formatters"]);
3354
- this.ast = e.__parse(t, me(me({}, s), { locale: this.resolvedLocale }));
3350
+ this.ast = e.__parse(t, P(P({}, s), { locale: this.resolvedLocale }));
3355
3351
  } else
3356
3352
  this.ast = t;
3357
3353
  if (!Array.isArray(this.ast))
3358
3354
  throw new TypeError("A message must be provided as a String or AST.");
3359
- this.formats = Fi(e.formats, r), this.formatters = i && i.formatters || Gi(this.formatterCache);
3355
+ this.formats = Ui(e.formats, r), this.formatters = i && i.formatters || Fi(this.formatterCache);
3360
3356
  }
3361
3357
  return Object.defineProperty(e, "defaultLocale", {
3362
3358
  get: function() {
@@ -3369,7 +3365,7 @@ var $i = (
3369
3365
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3370
3366
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3371
3367
  }
3372
- }, e.__parse = Mi, e.formats = {
3368
+ }, e.__parse = Li, e.formats = {
3373
3369
  number: {
3374
3370
  integer: {
3375
3371
  maximumFractionDigits: 0
@@ -3430,7 +3426,7 @@ var $i = (
3430
3426
  }, e;
3431
3427
  }()
3432
3428
  );
3433
- function ji(e, t) {
3429
+ function $i(e, t) {
3434
3430
  if (t == null)
3435
3431
  return;
3436
3432
  if (t in e)
@@ -3456,31 +3452,31 @@ const Se = {}, ki = (e, t, n) => n && (t in Se || (Se[t] = {}), e in Se[t] || (S
3456
3452
  return;
3457
3453
  if (t in Se && e in Se[t])
3458
3454
  return Se[t][e];
3459
- const n = Bt(t);
3455
+ const n = _t(t);
3460
3456
  for (let r = 0; r < n.length; r++) {
3461
- const i = n[r], o = Xi(i, e);
3457
+ const i = n[r], o = Vi(i, e);
3462
3458
  if (o)
3463
3459
  return ki(e, t, o);
3464
3460
  }
3465
3461
  };
3466
3462
  let Kt;
3467
- const it = Et({});
3468
- function Vi(e) {
3463
+ const nt = vt({});
3464
+ function ji(e) {
3469
3465
  return Kt[e] || null;
3470
3466
  }
3471
3467
  function Jn(e) {
3472
3468
  return e in Kt;
3473
3469
  }
3474
- function Xi(e, t) {
3470
+ function Vi(e, t) {
3475
3471
  if (!Jn(e))
3476
3472
  return null;
3477
- const n = Vi(e);
3478
- return ji(n, t);
3473
+ const n = ji(e);
3474
+ return $i(n, t);
3479
3475
  }
3480
- function zi(e) {
3476
+ function Xi(e) {
3481
3477
  if (e == null)
3482
3478
  return;
3483
- const t = Bt(e);
3479
+ const t = _t(e);
3484
3480
  for (let n = 0; n < t.length; n++) {
3485
3481
  const r = t[n];
3486
3482
  if (Jn(r))
@@ -3488,55 +3484,55 @@ function zi(e) {
3488
3484
  }
3489
3485
  }
3490
3486
  function Yn(e, ...t) {
3491
- delete Se[e], it.update((n) => (n[e] = qr.all([n[e] || {}, ...t]), n));
3487
+ delete Se[e], nt.update((n) => (n[e] = qr.all([n[e] || {}, ...t]), n));
3492
3488
  }
3493
- Xe(
3494
- [it],
3489
+ ke(
3490
+ [nt],
3495
3491
  ([e]) => Object.keys(e)
3496
3492
  );
3497
- it.subscribe((e) => Kt = e);
3493
+ nt.subscribe((e) => Kt = e);
3498
3494
  const dt = {};
3499
- function Wi(e, t) {
3495
+ function zi(e, t) {
3500
3496
  dt[e].delete(t), dt[e].size === 0 && delete dt[e];
3501
3497
  }
3502
3498
  function Kn(e) {
3503
3499
  return dt[e];
3504
3500
  }
3505
- function Zi(e) {
3506
- return Bt(e).map((t) => {
3501
+ function Wi(e) {
3502
+ return _t(e).map((t) => {
3507
3503
  const n = Kn(t);
3508
3504
  return [t, n ? [...n] : []];
3509
3505
  }).filter(([, t]) => t.length > 0);
3510
3506
  }
3511
- function qt(e) {
3512
- return e == null ? !1 : Bt(e).some(
3507
+ function Wt(e) {
3508
+ return e == null ? !1 : _t(e).some(
3513
3509
  (t) => {
3514
3510
  var n;
3515
3511
  return (n = Kn(t)) == null ? void 0 : n.size;
3516
3512
  }
3517
3513
  );
3518
3514
  }
3519
- function qi(e, t) {
3515
+ function Zi(e, t) {
3520
3516
  return Promise.all(
3521
- t.map((r) => (Wi(e, r), r().then((i) => i.default || i)))
3517
+ t.map((r) => (zi(e, r), r().then((i) => i.default || i)))
3522
3518
  ).then((r) => Yn(e, ...r));
3523
3519
  }
3524
- const Ke = {};
3520
+ const Je = {};
3525
3521
  function er(e) {
3526
- if (!qt(e))
3527
- return e in Ke ? Ke[e] : Promise.resolve();
3528
- const t = Zi(e);
3529
- return Ke[e] = Promise.all(
3522
+ if (!Wt(e))
3523
+ return e in Je ? Je[e] : Promise.resolve();
3524
+ const t = Wi(e);
3525
+ return Je[e] = Promise.all(
3530
3526
  t.map(
3531
- ([n, r]) => qi(n, r)
3527
+ ([n, r]) => Zi(n, r)
3532
3528
  )
3533
3529
  ).then(() => {
3534
- if (qt(e))
3530
+ if (Wt(e))
3535
3531
  return er(e);
3536
- delete Ke[e];
3537
- }), Ke[e];
3532
+ delete Je[e];
3533
+ }), Je[e];
3538
3534
  }
3539
- const Qi = {
3535
+ const qi = {
3540
3536
  number: {
3541
3537
  scientific: { notation: "scientific" },
3542
3538
  engineering: { notation: "engineering" },
@@ -3565,141 +3561,141 @@ const Qi = {
3565
3561
  timeZoneName: "short"
3566
3562
  }
3567
3563
  }
3568
- }, Ji = {
3564
+ }, Qi = {
3569
3565
  fallbackLocale: null,
3570
3566
  loadingDelay: 200,
3571
- formats: Qi,
3567
+ formats: qi,
3572
3568
  warnOnMissingMessages: !0,
3573
3569
  handleMissingMessage: void 0,
3574
3570
  ignoreTag: !0
3575
- }, Yi = Ji;
3576
- function ke() {
3577
- return Yi;
3571
+ }, Ji = Qi;
3572
+ function Ge() {
3573
+ return Ji;
3578
3574
  }
3579
- const Ut = Et(!1);
3580
- var Ki = Object.defineProperty, eo = Object.defineProperties, to = Object.getOwnPropertyDescriptors, gn = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, bn = (e, t, n) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, io = (e, t) => {
3575
+ const Pt = vt(!1);
3576
+ var Yi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, gn = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, bn = (e, t, n) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ro = (e, t) => {
3581
3577
  for (var n in t || (t = {}))
3582
- no.call(t, n) && bn(e, n, t[n]);
3578
+ to.call(t, n) && bn(e, n, t[n]);
3583
3579
  if (gn)
3584
3580
  for (var n of gn(t))
3585
- ro.call(t, n) && bn(e, n, t[n]);
3581
+ no.call(t, n) && bn(e, n, t[n]);
3586
3582
  return e;
3587
- }, oo = (e, t) => eo(e, to(t));
3588
- let Qt;
3589
- const yt = Et(null);
3583
+ }, io = (e, t) => Ki(e, eo(t));
3584
+ let Zt;
3585
+ const bt = vt(null);
3590
3586
  function yn(e) {
3591
3587
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3592
3588
  }
3593
- function Bt(e, t = ke().fallbackLocale) {
3589
+ function _t(e, t = Ge().fallbackLocale) {
3594
3590
  const n = yn(e);
3595
3591
  return t ? [.../* @__PURE__ */ new Set([...n, ...yn(t)])] : n;
3596
3592
  }
3597
- function Oe() {
3598
- return Qt ?? void 0;
3593
+ function He() {
3594
+ return Zt ?? void 0;
3599
3595
  }
3600
- yt.subscribe((e) => {
3601
- Qt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3596
+ bt.subscribe((e) => {
3597
+ Zt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3602
3598
  });
3603
- const ao = (e) => {
3604
- if (e && zi(e) && qt(e)) {
3605
- const { loadingDelay: t } = ke();
3599
+ const oo = (e) => {
3600
+ if (e && Xi(e) && Wt(e)) {
3601
+ const { loadingDelay: t } = Ge();
3606
3602
  let n;
3607
- return typeof window < "u" && Oe() != null && t ? n = window.setTimeout(
3608
- () => Ut.set(!0),
3603
+ return typeof window < "u" && He() != null && t ? n = window.setTimeout(
3604
+ () => Pt.set(!0),
3609
3605
  t
3610
- ) : Ut.set(!0), er(e).then(() => {
3611
- yt.set(e);
3606
+ ) : Pt.set(!0), er(e).then(() => {
3607
+ bt.set(e);
3612
3608
  }).finally(() => {
3613
- clearTimeout(n), Ut.set(!1);
3609
+ clearTimeout(n), Pt.set(!1);
3614
3610
  });
3615
3611
  }
3616
- return yt.set(e);
3617
- }, ze = oo(io({}, yt), {
3618
- set: ao
3619
- }), Tt = (e) => {
3612
+ return bt.set(e);
3613
+ }, je = io(ro({}, bt), {
3614
+ set: oo
3615
+ }), Bt = (e) => {
3620
3616
  const t = /* @__PURE__ */ Object.create(null);
3621
3617
  return (r) => {
3622
3618
  const i = JSON.stringify(r);
3623
3619
  return i in t ? t[i] : t[i] = e(r);
3624
3620
  };
3625
3621
  };
3626
- var so = Object.defineProperty, vt = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, en = (e, t) => {
3622
+ var ao = Object.defineProperty, yt = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, vn = (e, t, n) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, en = (e, t) => {
3627
3623
  for (var n in t || (t = {}))
3628
3624
  tr.call(t, n) && vn(e, n, t[n]);
3629
- if (vt)
3630
- for (var n of vt(t))
3625
+ if (yt)
3626
+ for (var n of yt(t))
3631
3627
  nr.call(t, n) && vn(e, n, t[n]);
3632
3628
  return e;
3633
- }, We = (e, t) => {
3629
+ }, Ve = (e, t) => {
3634
3630
  var n = {};
3635
3631
  for (var r in e)
3636
3632
  tr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3637
- if (e != null && vt)
3638
- for (var r of vt(e))
3633
+ if (e != null && yt)
3634
+ for (var r of yt(e))
3639
3635
  t.indexOf(r) < 0 && nr.call(e, r) && (n[r] = e[r]);
3640
3636
  return n;
3641
3637
  };
3642
- const rt = (e, t) => {
3643
- const { formats: n } = ke();
3638
+ const tt = (e, t) => {
3639
+ const { formats: n } = Ge();
3644
3640
  if (e in n && t in n[e])
3645
3641
  return n[e][t];
3646
3642
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3647
- }, lo = Tt(
3643
+ }, so = Bt(
3648
3644
  (e) => {
3649
- var t = e, { locale: n, format: r } = t, i = We(t, ["locale", "format"]);
3645
+ var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3650
3646
  if (n == null)
3651
3647
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3652
- return r && (i = rt("number", r)), new Intl.NumberFormat(n, i);
3648
+ return r && (i = tt("number", r)), new Intl.NumberFormat(n, i);
3653
3649
  }
3654
- ), uo = Tt(
3650
+ ), lo = Bt(
3655
3651
  (e) => {
3656
- var t = e, { locale: n, format: r } = t, i = We(t, ["locale", "format"]);
3652
+ var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3657
3653
  if (n == null)
3658
3654
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3659
- return r ? i = rt("date", r) : Object.keys(i).length === 0 && (i = rt("date", "short")), new Intl.DateTimeFormat(n, i);
3655
+ return r ? i = tt("date", r) : Object.keys(i).length === 0 && (i = tt("date", "short")), new Intl.DateTimeFormat(n, i);
3660
3656
  }
3661
- ), co = Tt(
3657
+ ), uo = Bt(
3662
3658
  (e) => {
3663
- var t = e, { locale: n, format: r } = t, i = We(t, ["locale", "format"]);
3659
+ var t = e, { locale: n, format: r } = t, i = Ve(t, ["locale", "format"]);
3664
3660
  if (n == null)
3665
3661
  throw new Error(
3666
3662
  '[svelte-i18n] A "locale" must be set to format time values'
3667
3663
  );
3668
- return r ? i = rt("time", r) : Object.keys(i).length === 0 && (i = rt("time", "short")), new Intl.DateTimeFormat(n, i);
3664
+ return r ? i = tt("time", r) : Object.keys(i).length === 0 && (i = tt("time", "short")), new Intl.DateTimeFormat(n, i);
3669
3665
  }
3670
- ), ho = (e = {}) => {
3666
+ ), co = (e = {}) => {
3671
3667
  var t = e, {
3672
- locale: n = Oe()
3673
- } = t, r = We(t, [
3668
+ locale: n = He()
3669
+ } = t, r = Ve(t, [
3674
3670
  "locale"
3675
3671
  ]);
3676
- return lo(en({ locale: n }, r));
3677
- }, fo = (e = {}) => {
3672
+ return so(en({ locale: n }, r));
3673
+ }, ho = (e = {}) => {
3678
3674
  var t = e, {
3679
- locale: n = Oe()
3680
- } = t, r = We(t, [
3675
+ locale: n = He()
3676
+ } = t, r = Ve(t, [
3681
3677
  "locale"
3682
3678
  ]);
3683
- return uo(en({ locale: n }, r));
3684
- }, po = (e = {}) => {
3679
+ return lo(en({ locale: n }, r));
3680
+ }, fo = (e = {}) => {
3685
3681
  var t = e, {
3686
- locale: n = Oe()
3687
- } = t, r = We(t, [
3682
+ locale: n = He()
3683
+ } = t, r = Ve(t, [
3688
3684
  "locale"
3689
3685
  ]);
3690
- return co(en({ locale: n }, r));
3691
- }, mo = Tt(
3686
+ return uo(en({ locale: n }, r));
3687
+ }, po = Bt(
3692
3688
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3693
- (e, t = Oe()) => new $i(e, t, ke().formats, {
3694
- ignoreTag: ke().ignoreTag
3689
+ (e, t = He()) => new Gi(e, t, Ge().formats, {
3690
+ ignoreTag: Ge().ignoreTag
3695
3691
  })
3696
- ), go = (e, t = {}) => {
3692
+ ), mo = (e, t = {}) => {
3697
3693
  var n, r, i, o;
3698
3694
  let l = t;
3699
3695
  typeof e == "object" && (l = e, e = l.id);
3700
3696
  const {
3701
3697
  values: s,
3702
- locale: h = Oe(),
3698
+ locale: h = He(),
3703
3699
  default: u
3704
3700
  } = l;
3705
3701
  if (h == null)
@@ -3708,35 +3704,35 @@ const rt = (e, t) => {
3708
3704
  );
3709
3705
  let d = Qn(e, h);
3710
3706
  if (!d)
3711
- d = (o = (i = (r = (n = ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3707
+ d = (o = (i = (r = (n = Ge()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3712
3708
  else if (typeof d != "string")
3713
3709
  return console.warn(
3714
3710
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof d}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3715
3711
  ), d;
3716
3712
  if (!s)
3717
3713
  return d;
3718
- let m = d;
3714
+ let g = d;
3719
3715
  try {
3720
- m = mo(d, h).format(s);
3721
- } catch (g) {
3722
- g instanceof Error && console.warn(
3716
+ g = po(d, h).format(s);
3717
+ } catch (b) {
3718
+ b instanceof Error && console.warn(
3723
3719
  `[svelte-i18n] Message "${e}" has syntax error:`,
3724
- g.message
3720
+ b.message
3725
3721
  );
3726
3722
  }
3727
- return m;
3728
- }, bo = (e, t) => po(t).format(e), yo = (e, t) => fo(t).format(e), vo = (e, t) => ho(t).format(e), Eo = (e, t = Oe()) => Qn(e, t), _o = Xe([ze, it], () => go);
3729
- Xe([ze], () => bo);
3730
- Xe([ze], () => yo);
3731
- Xe([ze], () => vo);
3732
- Xe([ze, it], () => Eo);
3723
+ return g;
3724
+ }, go = (e, t) => fo(t).format(e), bo = (e, t) => ho(t).format(e), yo = (e, t) => co(t).format(e), vo = (e, t = He()) => Qn(e, t), Eo = ke([je, nt], () => mo);
3725
+ ke([je], () => go);
3726
+ ke([je], () => bo);
3727
+ ke([je], () => yo);
3728
+ ke([je, nt], () => vo);
3733
3729
  function En(e, t) {
3734
3730
  Yn(e, t);
3735
3731
  }
3736
3732
  function xo(e) {
3737
- ze.set(e);
3733
+ je.set(e);
3738
3734
  }
3739
- const _n = {
3735
+ const xn = {
3740
3736
  en: {
3741
3737
  Title: "Your Balance",
3742
3738
  Total: "Total Balance",
@@ -3936,7 +3932,7 @@ const _n = {
3936
3932
  Loading: "Loading ..."
3937
3933
  }
3938
3934
  };
3939
- var Jt = { exports: {} };
3935
+ var qt = { exports: {} };
3940
3936
  /** @license
3941
3937
  * eventsource.js
3942
3938
  * Available under MIT License (MIT)
@@ -3944,35 +3940,35 @@ var Jt = { exports: {} };
3944
3940
  */
3945
3941
  (function(e, t) {
3946
3942
  (function(n) {
3947
- var r = n.setTimeout, i = n.clearTimeout, o = n.XMLHttpRequest, l = n.XDomainRequest, s = n.ActiveXObject, h = n.EventSource, u = n.document, d = n.Promise, m = n.fetch, g = n.Response, x = n.TextDecoder, B = n.TextEncoder, T = n.AbortController;
3948
- if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
3943
+ var r = n.setTimeout, i = n.clearTimeout, o = 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;
3944
+ if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(c) {
3949
3945
  u.readyState = "complete";
3950
3946
  }, !1)), o == null && s != null && (o = function() {
3951
3947
  return new s("Microsoft.XMLHTTP");
3952
- }), Object.create == null && (Object.create = function(a) {
3953
- function f() {
3948
+ }), Object.create == null && (Object.create = function(c) {
3949
+ function a() {
3954
3950
  }
3955
- return f.prototype = a, new f();
3951
+ return a.prototype = c, new a();
3956
3952
  }), Date.now || (Date.now = function() {
3957
3953
  return (/* @__PURE__ */ new Date()).getTime();
3958
- }), T == null) {
3959
- var _ = m;
3960
- m = function(a, f) {
3961
- var p = f.signal;
3962
- return _(a, { headers: f.headers, credentials: f.credentials, cache: f.cache }).then(function(c) {
3963
- var v = c.body.getReader();
3964
- return p._reader = v, p._aborted && p._reader.cancel(), {
3965
- status: c.status,
3966
- statusText: c.statusText,
3967
- headers: c.headers,
3954
+ }), S == null) {
3955
+ var x = g;
3956
+ g = function(c, a) {
3957
+ var p = a.signal;
3958
+ return x(c, { headers: a.headers, credentials: a.credentials, cache: a.cache }).then(function(f) {
3959
+ var m = f.body.getReader();
3960
+ return p._reader = m, p._aborted && p._reader.cancel(), {
3961
+ status: f.status,
3962
+ statusText: f.statusText,
3963
+ headers: f.headers,
3968
3964
  body: {
3969
3965
  getReader: function() {
3970
- return v;
3966
+ return m;
3971
3967
  }
3972
3968
  }
3973
3969
  };
3974
3970
  });
3975
- }, T = function() {
3971
+ }, S = function() {
3976
3972
  this.signal = {
3977
3973
  _reader: null,
3978
3974
  _aborted: !1
@@ -3981,407 +3977,407 @@ var Jt = { exports: {} };
3981
3977
  };
3982
3978
  };
3983
3979
  }
3984
- function S() {
3980
+ function C() {
3985
3981
  this.bitsNeeded = 0, this.codePoint = 0;
3986
3982
  }
3987
- S.prototype.decode = function(a) {
3988
- function f(I, F, w) {
3989
- if (w === 1)
3990
- return I >= 128 >> F && I << F <= 2047;
3991
- if (w === 2)
3992
- return I >= 2048 >> F && I << F <= 55295 || I >= 57344 >> F && I << F <= 65535;
3993
- if (w === 3)
3994
- return I >= 65536 >> F && I << F <= 1114111;
3983
+ C.prototype.decode = function(c) {
3984
+ function a(N, F, A) {
3985
+ if (A === 1)
3986
+ return N >= 128 >> F && N << F <= 2047;
3987
+ if (A === 2)
3988
+ return N >= 2048 >> F && N << F <= 55295 || N >= 57344 >> F && N << F <= 65535;
3989
+ if (A === 3)
3990
+ return N >= 65536 >> F && N << F <= 1114111;
3995
3991
  throw new Error();
3996
3992
  }
3997
- function p(I, F) {
3998
- if (I === 6 * 1)
3993
+ function p(N, F) {
3994
+ if (N === 6 * 1)
3999
3995
  return F >> 6 > 15 ? 3 : F > 31 ? 2 : 1;
4000
- if (I === 6 * 2)
3996
+ if (N === 6 * 2)
4001
3997
  return F > 15 ? 3 : 2;
4002
- if (I === 6 * 3)
3998
+ if (N === 6 * 3)
4003
3999
  return 3;
4004
4000
  throw new Error();
4005
4001
  }
4006
- for (var c = 65533, v = "", E = this.bitsNeeded, y = this.codePoint, R = 0; R < a.length; R += 1) {
4007
- var A = a[R];
4008
- E !== 0 && (A < 128 || A > 191 || !f(y << 6 | A & 63, E - 6, p(E, y))) && (E = 0, y = c, v += String.fromCharCode(y)), E === 0 ? (A >= 0 && A <= 127 ? (E = 0, y = A) : A >= 192 && A <= 223 ? (E = 6 * 1, y = A & 31) : A >= 224 && A <= 239 ? (E = 6 * 2, y = A & 15) : A >= 240 && A <= 247 ? (E = 6 * 3, y = A & 7) : (E = 0, y = c), E !== 0 && !f(y, E, p(E, y)) && (E = 0, y = c)) : (E -= 6, y = y << 6 | A & 63), E === 0 && (y <= 65535 ? v += String.fromCharCode(y) : (v += String.fromCharCode(55296 + (y - 65535 - 1 >> 10)), v += String.fromCharCode(56320 + (y - 65535 - 1 & 1023))));
4002
+ for (var f = 65533, m = "", y = this.bitsNeeded, B = this.codePoint, E = 0; E < c.length; E += 1) {
4003
+ var w = c[E];
4004
+ y !== 0 && (w < 128 || w > 191 || !a(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 && !a(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))));
4009
4005
  }
4010
- return this.bitsNeeded = E, this.codePoint = y, v;
4006
+ return this.bitsNeeded = y, this.codePoint = B, m;
4011
4007
  };
4012
- var P = function() {
4008
+ var U = function() {
4013
4009
  try {
4014
- return new x().decode(new B().encode("test"), { stream: !0 }) === "test";
4015
- } catch (a) {
4016
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
4010
+ return new _().decode(new T().encode("test"), { stream: !0 }) === "test";
4011
+ } catch (c) {
4012
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + c);
4017
4013
  }
4018
4014
  return !1;
4019
4015
  };
4020
- (x == null || B == null || !P()) && (x = S);
4021
- var C = function() {
4016
+ (_ == null || T == null || !U()) && (_ = C);
4017
+ var H = function() {
4022
4018
  };
4023
- function D(a) {
4024
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = C, this.onload = C, this.onerror = C, this.onreadystatechange = C, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = C;
4019
+ function z(c) {
4020
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = H, this.onload = H, this.onerror = H, this.onreadystatechange = H, this._contentType = "", this._xhr = c, this._sendTimeout = 0, this._abort = H;
4025
4021
  }
4026
- D.prototype.open = function(a, f) {
4022
+ z.prototype.open = function(c, a) {
4027
4023
  this._abort(!0);
4028
- var p = this, c = this._xhr, v = 1, E = 0;
4029
- this._abort = function(w) {
4030
- p._sendTimeout !== 0 && (i(p._sendTimeout), p._sendTimeout = 0), (v === 1 || v === 2 || v === 3) && (v = 4, c.onload = C, c.onerror = C, c.onabort = C, c.onprogress = C, c.onreadystatechange = C, c.abort(), E !== 0 && (i(E), E = 0), w || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), v = 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 = H, f.onerror = H, f.onabort = H, f.onprogress = H, f.onreadystatechange = H, f.abort(), y !== 0 && (i(y), y = 0), A || (p.readyState = 4, p.onabort(null), p.onreadystatechange())), m = 0;
4031
4027
  };
4032
- var y = function() {
4033
- if (v === 1) {
4034
- var w = 0, V = "", be = void 0;
4035
- if ("contentType" in c)
4036
- w = 200, V = "OK", be = c.contentType;
4028
+ var B = function() {
4029
+ if (m === 1) {
4030
+ var A = 0, k = "", Ee = void 0;
4031
+ if ("contentType" in f)
4032
+ A = 200, k = "OK", Ee = f.contentType;
4037
4033
  else
4038
4034
  try {
4039
- w = c.status, V = c.statusText, be = c.getResponseHeader("Content-Type");
4035
+ A = f.status, k = f.statusText, Ee = f.getResponseHeader("Content-Type");
4040
4036
  } catch {
4041
- w = 0, V = "", be = void 0;
4037
+ A = 0, k = "", Ee = void 0;
4042
4038
  }
4043
- w !== 0 && (v = 2, p.readyState = 2, p.status = w, p.statusText = V, p._contentType = be, p.onreadystatechange());
4039
+ A !== 0 && (m = 2, p.readyState = 2, p.status = A, p.statusText = k, p._contentType = Ee, p.onreadystatechange());
4044
4040
  }
4045
- }, R = function() {
4046
- if (y(), v === 2 || v === 3) {
4047
- v = 3;
4048
- var w = "";
4041
+ }, E = function() {
4042
+ if (B(), m === 2 || m === 3) {
4043
+ m = 3;
4044
+ var A = "";
4049
4045
  try {
4050
- w = c.responseText;
4046
+ A = f.responseText;
4051
4047
  } catch {
4052
4048
  }
4053
- p.readyState = 3, p.responseText = w, p.onprogress();
4049
+ p.readyState = 3, p.responseText = A, p.onprogress();
4054
4050
  }
4055
- }, A = function(w, V) {
4056
- if ((V == null || V.preventDefault == null) && (V = {
4057
- preventDefault: C
4058
- }), R(), v === 1 || v === 2 || v === 3) {
4059
- if (v = 4, E !== 0 && (i(E), E = 0), p.readyState = 4, w === "load")
4060
- p.onload(V);
4061
- else if (w === "error")
4062
- p.onerror(V);
4063
- else if (w === "abort")
4064
- p.onabort(V);
4051
+ }, w = function(A, k) {
4052
+ if ((k == null || k.preventDefault == null) && (k = {
4053
+ preventDefault: H
4054
+ }), E(), m === 1 || m === 2 || m === 3) {
4055
+ if (m = 4, y !== 0 && (i(y), y = 0), p.readyState = 4, A === "load")
4056
+ p.onload(k);
4057
+ else if (A === "error")
4058
+ p.onerror(k);
4059
+ else if (A === "abort")
4060
+ p.onabort(k);
4065
4061
  else
4066
4062
  throw new TypeError();
4067
4063
  p.onreadystatechange();
4068
4064
  }
4069
- }, I = function(w) {
4070
- c != null && (c.readyState === 4 ? (!("onload" in c) || !("onerror" in c) || !("onabort" in c)) && A(c.responseText === "" ? "error" : "load", w) : c.readyState === 3 ? "onprogress" in c || R() : c.readyState === 2 && y());
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());
4071
4067
  }, F = function() {
4072
- E = r(function() {
4068
+ y = r(function() {
4073
4069
  F();
4074
- }, 500), c.readyState === 3 && R();
4070
+ }, 500), f.readyState === 3 && E();
4075
4071
  };
4076
- "onload" in c && (c.onload = function(w) {
4077
- A("load", w);
4078
- }), "onerror" in c && (c.onerror = function(w) {
4079
- A("error", w);
4080
- }), "onabort" in c && (c.onabort = function(w) {
4081
- A("abort", w);
4082
- }), "onprogress" in c && (c.onprogress = R), "onreadystatechange" in c && (c.onreadystatechange = function(w) {
4083
- I(w);
4084
- }), ("contentType" in c || !("ontimeout" in o.prototype)) && (f += (f.indexOf("?") === -1 ? "?" : "&") + "padding=true"), c.open(a, f, !0), "readyState" in c && (E = r(function() {
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 o.prototype)) && (a += (a.indexOf("?") === -1 ? "?" : "&") + "padding=true"), f.open(c, a, !0), "readyState" in f && (y = r(function() {
4085
4081
  F();
4086
4082
  }, 0));
4087
- }, D.prototype.abort = function() {
4083
+ }, z.prototype.abort = function() {
4088
4084
  this._abort(!1);
4089
- }, D.prototype.getResponseHeader = function(a) {
4085
+ }, z.prototype.getResponseHeader = function(c) {
4090
4086
  return this._contentType;
4091
- }, D.prototype.setRequestHeader = function(a, f) {
4087
+ }, z.prototype.setRequestHeader = function(c, a) {
4092
4088
  var p = this._xhr;
4093
- "setRequestHeader" in p && p.setRequestHeader(a, f);
4094
- }, D.prototype.getAllResponseHeaders = function() {
4089
+ "setRequestHeader" in p && p.setRequestHeader(c, a);
4090
+ }, z.prototype.getAllResponseHeaders = function() {
4095
4091
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4096
- }, D.prototype.send = function() {
4092
+ }, z.prototype.send = function() {
4097
4093
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4098
- var a = this;
4099
- a._sendTimeout = r(function() {
4100
- a._sendTimeout = 0, a.send();
4094
+ var c = this;
4095
+ c._sendTimeout = r(function() {
4096
+ c._sendTimeout = 0, c.send();
4101
4097
  }, 4);
4102
4098
  return;
4103
4099
  }
4104
- var f = this._xhr;
4105
- "withCredentials" in f && (f.withCredentials = this.withCredentials);
4100
+ var a = this._xhr;
4101
+ "withCredentials" in a && (a.withCredentials = this.withCredentials);
4106
4102
  try {
4107
- f.send(void 0);
4103
+ a.send(void 0);
4108
4104
  } catch (p) {
4109
4105
  throw p;
4110
4106
  }
4111
4107
  };
4112
- function W(a) {
4113
- return a.replace(/[A-Z]/g, function(f) {
4114
- return String.fromCharCode(f.charCodeAt(0) + 32);
4108
+ function j(c) {
4109
+ return c.replace(/[A-Z]/g, function(a) {
4110
+ return String.fromCharCode(a.charCodeAt(0) + 32);
4115
4111
  });
4116
4112
  }
4117
- function J(a) {
4118
- for (var f = /* @__PURE__ */ Object.create(null), p = a.split(`\r
4119
- `), c = 0; c < p.length; c += 1) {
4120
- var v = p[c], E = v.split(": "), y = E.shift(), R = E.join(": ");
4121
- f[W(y)] = R;
4113
+ function re(c) {
4114
+ for (var a = /* @__PURE__ */ Object.create(null), p = c.split(`\r
4115
+ `), f = 0; f < p.length; f += 1) {
4116
+ var m = p[f], y = m.split(": "), B = y.shift(), E = y.join(": ");
4117
+ a[j(B)] = E;
4122
4118
  }
4123
- this._map = f;
4119
+ this._map = a;
4124
4120
  }
4125
- J.prototype.get = function(a) {
4126
- return this._map[W(a)];
4121
+ re.prototype.get = function(c) {
4122
+ return this._map[j(c)];
4127
4123
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4128
- function Y() {
4124
+ function Z() {
4129
4125
  }
4130
- Y.prototype.open = function(a, f, p, c, v, E, y) {
4131
- a.open("GET", v);
4132
- var R = 0;
4133
- a.onprogress = function() {
4134
- var I = a.responseText, F = I.slice(R);
4135
- R += F.length, p(F);
4136
- }, a.onerror = function(I) {
4137
- I.preventDefault(), c(new Error("NetworkError"));
4138
- }, a.onload = function() {
4139
- c(null);
4140
- }, a.onabort = function() {
4141
- c(null);
4142
- }, a.onreadystatechange = function() {
4143
- if (a.readyState === o.HEADERS_RECEIVED) {
4144
- var I = a.status, F = a.statusText, w = a.getResponseHeader("Content-Type"), V = a.getAllResponseHeaders();
4145
- f(I, F, w, new J(V));
4126
+ Z.prototype.open = function(c, a, p, f, m, y, B) {
4127
+ c.open("GET", m);
4128
+ var E = 0;
4129
+ c.onprogress = function() {
4130
+ var N = c.responseText, F = N.slice(E);
4131
+ E += F.length, p(F);
4132
+ }, c.onerror = function(N) {
4133
+ N.preventDefault(), f(new Error("NetworkError"));
4134
+ }, c.onload = function() {
4135
+ f(null);
4136
+ }, c.onabort = function() {
4137
+ f(null);
4138
+ }, c.onreadystatechange = function() {
4139
+ if (c.readyState === o.HEADERS_RECEIVED) {
4140
+ var N = c.status, F = c.statusText, A = c.getResponseHeader("Content-Type"), k = c.getAllResponseHeaders();
4141
+ a(N, F, A, new re(k));
4146
4142
  }
4147
- }, a.withCredentials = E;
4148
- for (var A in y)
4149
- Object.prototype.hasOwnProperty.call(y, A) && a.setRequestHeader(A, y[A]);
4150
- return a.send(), a;
4143
+ }, c.withCredentials = y;
4144
+ for (var w in B)
4145
+ Object.prototype.hasOwnProperty.call(B, w) && c.setRequestHeader(w, B[w]);
4146
+ return c.send(), c;
4151
4147
  };
4152
- function G(a) {
4153
- this._headers = a;
4148
+ function V(c) {
4149
+ this._headers = c;
4154
4150
  }
4155
- G.prototype.get = function(a) {
4156
- return this._headers.get(a);
4151
+ V.prototype.get = function(c) {
4152
+ return this._headers.get(c);
4157
4153
  };
4158
- function N() {
4154
+ function I() {
4159
4155
  }
4160
- N.prototype.open = function(a, f, p, c, v, E, y) {
4161
- var R = null, A = new T(), I = A.signal, F = new x();
4162
- return m(v, {
4163
- headers: y,
4164
- credentials: E ? "include" : "same-origin",
4165
- signal: I,
4156
+ I.prototype.open = function(c, a, p, f, m, y, B) {
4157
+ var E = null, w = new S(), N = w.signal, F = new _();
4158
+ return g(m, {
4159
+ headers: B,
4160
+ credentials: y ? "include" : "same-origin",
4161
+ signal: N,
4166
4162
  cache: "no-store"
4167
- }).then(function(w) {
4168
- return R = w.body.getReader(), f(w.status, w.statusText, w.headers.get("Content-Type"), new G(w.headers)), new d(function(V, be) {
4169
- var Je = function() {
4170
- R.read().then(function(ie) {
4171
- if (ie.done)
4172
- V(void 0);
4163
+ }).then(function(A) {
4164
+ return E = A.body.getReader(), a(A.status, A.statusText, A.headers.get("Content-Type"), new V(A.headers)), new d(function(k, Ee) {
4165
+ var qe = function() {
4166
+ E.read().then(function(oe) {
4167
+ if (oe.done)
4168
+ k(void 0);
4173
4169
  else {
4174
- var K = F.decode(ie.value, { stream: !0 });
4175
- p(K), Je();
4170
+ var K = F.decode(oe.value, { stream: !0 });
4171
+ p(K), qe();
4176
4172
  }
4177
- }).catch(function(ie) {
4178
- be(ie);
4173
+ }).catch(function(oe) {
4174
+ Ee(oe);
4179
4175
  });
4180
4176
  };
4181
- Je();
4177
+ qe();
4182
4178
  });
4183
- }).catch(function(w) {
4184
- if (w.name !== "AbortError")
4185
- return w;
4186
- }).then(function(w) {
4187
- c(w);
4179
+ }).catch(function(A) {
4180
+ if (A.name !== "AbortError")
4181
+ return A;
4182
+ }).then(function(A) {
4183
+ f(A);
4188
4184
  }), {
4189
4185
  abort: function() {
4190
- R?.cancel(), A.abort();
4186
+ E?.cancel(), w.abort();
4191
4187
  }
4192
4188
  };
4193
4189
  };
4194
- function $() {
4190
+ function X() {
4195
4191
  this._listeners = /* @__PURE__ */ Object.create(null);
4196
4192
  }
4197
- function U(a) {
4193
+ function D(c) {
4198
4194
  r(function() {
4199
- throw a;
4195
+ throw c;
4200
4196
  }, 0);
4201
4197
  }
4202
- $.prototype.dispatchEvent = function(a) {
4203
- a.target = this;
4204
- var f = this._listeners[a.type];
4205
- if (f != null)
4206
- for (var p = f.length, c = 0; c < p; c += 1) {
4207
- var v = f[c];
4198
+ X.prototype.dispatchEvent = function(c) {
4199
+ c.target = this;
4200
+ var a = this._listeners[c.type];
4201
+ if (a != null)
4202
+ for (var p = a.length, f = 0; f < p; f += 1) {
4203
+ var m = a[f];
4208
4204
  try {
4209
- typeof v.handleEvent == "function" ? v.handleEvent(a) : v.call(this, a);
4210
- } catch (E) {
4211
- U(E);
4205
+ typeof m.handleEvent == "function" ? m.handleEvent(c) : m.call(this, c);
4206
+ } catch (y) {
4207
+ D(y);
4212
4208
  }
4213
4209
  }
4214
- }, $.prototype.addEventListener = function(a, f) {
4215
- a = String(a);
4216
- var p = this._listeners, c = p[a];
4217
- c == null && (c = [], p[a] = c);
4218
- for (var v = !1, E = 0; E < c.length; E += 1)
4219
- c[E] === f && (v = !0);
4220
- v || c.push(f);
4221
- }, $.prototype.removeEventListener = function(a, f) {
4222
- a = String(a);
4223
- var p = this._listeners, c = p[a];
4224
- if (c != null) {
4225
- for (var v = [], E = 0; E < c.length; E += 1)
4226
- c[E] !== f && v.push(c[E]);
4227
- v.length === 0 ? delete p[a] : p[a] = v;
4210
+ }, X.prototype.addEventListener = function(c, a) {
4211
+ c = String(c);
4212
+ var p = this._listeners, f = p[c];
4213
+ f == null && (f = [], p[c] = f);
4214
+ for (var m = !1, y = 0; y < f.length; y += 1)
4215
+ f[y] === a && (m = !0);
4216
+ m || f.push(a);
4217
+ }, X.prototype.removeEventListener = function(c, a) {
4218
+ c = String(c);
4219
+ var p = this._listeners, f = p[c];
4220
+ if (f != null) {
4221
+ for (var m = [], y = 0; y < f.length; y += 1)
4222
+ f[y] !== a && m.push(f[y]);
4223
+ m.length === 0 ? delete p[c] : p[c] = m;
4228
4224
  }
4229
4225
  };
4230
- function b(a) {
4231
- this.type = a, this.target = void 0;
4226
+ function Y(c) {
4227
+ this.type = c, this.target = void 0;
4232
4228
  }
4233
- function xe(a, f) {
4234
- b.call(this, a), this.data = f.data, this.lastEventId = f.lastEventId;
4229
+ function v(c, a) {
4230
+ Y.call(this, c), this.data = a.data, this.lastEventId = a.lastEventId;
4235
4231
  }
4236
- xe.prototype = Object.create(b.prototype);
4237
- function Ze(a, f) {
4238
- b.call(this, a), this.status = f.status, this.statusText = f.statusText, this.headers = f.headers;
4232
+ v.prototype = Object.create(Y.prototype);
4233
+ function be(c, a) {
4234
+ Y.call(this, c), this.status = a.status, this.statusText = a.statusText, this.headers = a.headers;
4239
4235
  }
4240
- Ze.prototype = Object.create(b.prototype);
4241
- function Be(a, f) {
4242
- b.call(this, a), this.error = f.error;
4236
+ be.prototype = Object.create(Y.prototype);
4237
+ function rt(c, a) {
4238
+ Y.call(this, c), this.error = a.error;
4243
4239
  }
4244
- Be.prototype = Object.create(b.prototype);
4245
- var Re = -1, pe = 0, Te = 1, Ae = 2, Ce = -1, le = 0, qe = 1, Le = 2, ot = 3, wt = /^text\/event\-stream(;.*)?$/i, at = 1e3, St = 18e6, Qe = function(a, f) {
4246
- var p = a == null ? f : parseInt(a, 10);
4247
- return p !== p && (p = f), Me(p);
4248
- }, Me = function(a) {
4249
- return Math.min(Math.max(a, at), St);
4250
- }, we = function(a, f, p) {
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, ot = /^text\/event\-stream(;.*)?$/i, Tt = 1e3, at = 18e6, We = function(c, a) {
4242
+ var p = c == null ? a : parseInt(c, 10);
4243
+ return p !== p && (p = a), Ze(p);
4244
+ }, Ze = function(c) {
4245
+ return Math.min(Math.max(c, Tt), at);
4246
+ }, ve = function(c, a, p) {
4251
4247
  try {
4252
- typeof f == "function" && f.call(a, p);
4253
- } catch (c) {
4254
- U(c);
4248
+ typeof a == "function" && a.call(c, p);
4249
+ } catch (f) {
4250
+ D(f);
4255
4251
  }
4256
4252
  };
4257
- function re(a, f) {
4258
- $.call(this), f = f || {}, 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, Ht(this, a, f);
4253
+ function ie(c, a) {
4254
+ X.call(this), a = a || {}, 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, a);
4259
4255
  }
4260
- function At() {
4256
+ function wt() {
4261
4257
  return o != null && "withCredentials" in o.prototype || l == null ? new o() : new l();
4262
4258
  }
4263
- var Ct = m != null && g != null && "body" in g.prototype;
4264
- function Ht(a, f, p) {
4265
- f = String(f);
4266
- var c = !!p.withCredentials, v = p.lastEventIdQueryParameterName || "lastEventId", E = Me(1e3), y = Qe(p.heartbeatTimeout, 45e3), R = "", A = E, I = !1, F = 0, w = p.headers || {}, V = p.Transport, be = Ct && V == null ? void 0 : new D(V != null ? new V() : At()), Je = V != null && typeof V != "string" ? new V() : be == null ? new N() : new Y(), ie = void 0, K = 0, ue = Re, Ne = "", lt = "", ye = "", ut = "", ee = le, Ot = 0, He = 0, ir = function(Z, z, oe, ae) {
4267
- if (ue === pe)
4268
- if (Z === 200 && oe != null && wt.test(oe)) {
4269
- ue = Te, I = Date.now(), A = E, a.readyState = Te;
4270
- var te = new Ze("open", {
4271
- status: Z,
4272
- statusText: z,
4273
- headers: ae
4259
+ var St = g != null && b != null && "body" in b.prototype;
4260
+ function At(c, a, p) {
4261
+ a = String(a);
4262
+ var f = !!p.withCredentials, m = p.lastEventIdQueryParameterName || "lastEventId", y = Ze(1e3), B = We(p.heartbeatTimeout, 45e3), E = "", w = y, N = !1, F = 0, A = p.headers || {}, k = p.Transport, Ee = St && k == null ? void 0 : new z(k != null ? new k() : wt()), qe = k != null && typeof k != "string" ? new k() : Ee == null ? new I() : new Z(), oe = void 0, K = 0, he = ye, Re = "", lt = "", xe = "", ut = "", ee = le, Ct = 0, Ce = 0, ir = function(q, W, ae, se) {
4263
+ if (he === ce)
4264
+ if (q === 200 && ae != null && ot.test(ae)) {
4265
+ he = we, N = Date.now(), w = y, c.readyState = we;
4266
+ var te = new be("open", {
4267
+ status: q,
4268
+ statusText: W,
4269
+ headers: se
4274
4270
  });
4275
- a.dispatchEvent(te), we(a, a.onopen, te);
4271
+ c.dispatchEvent(te), ve(c, c.onopen, te);
4276
4272
  } else {
4277
- var q = "";
4278
- 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: " + (oe == null ? "-" : oe.replace(/\s+/g, " ")) + ". Aborting the connection.", Rt();
4279
- var te = new Ze("error", {
4280
- status: Z,
4281
- statusText: z,
4282
- headers: ae
4273
+ var Q = "";
4274
+ q !== 200 ? (W && (W = W.replace(/\s+/g, " ")), Q = "EventSource's response has a status " + q + " " + W + " 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();
4275
+ var te = new be("error", {
4276
+ status: q,
4277
+ statusText: W,
4278
+ headers: se
4283
4279
  });
4284
- a.dispatchEvent(te), we(a, a.onerror, te), console.error(q);
4280
+ c.dispatchEvent(te), ve(c, c.onerror, te), console.error(Q);
4285
4281
  }
4286
- }, or = function(Z) {
4287
- if (ue === Te) {
4288
- for (var z = -1, oe = 0; oe < Z.length; oe += 1) {
4289
- var ae = Z.charCodeAt(oe);
4290
- (ae === 10 || ae === 13) && (z = oe);
4282
+ }, or = function(q) {
4283
+ if (he === we) {
4284
+ for (var W = -1, ae = 0; ae < q.length; ae += 1) {
4285
+ var se = q.charCodeAt(ae);
4286
+ (se === 10 || se === 13) && (W = ae);
4291
4287
  }
4292
- var te = (z !== -1 ? ut : "") + Z.slice(0, z + 1);
4293
- ut = (z === -1 ? ut : "") + Z.slice(z + 1), Z !== "" && (I = Date.now(), F += Z.length);
4294
- for (var q = 0; q < te.length; q += 1) {
4295
- var ae = te.charCodeAt(q);
4296
- if (ee === Ce && ae === 10)
4288
+ var te = (W !== -1 ? ut : "") + q.slice(0, W + 1);
4289
+ ut = (W === -1 ? ut : "") + q.slice(W + 1), q !== "" && (N = Date.now(), F += q.length);
4290
+ for (var Q = 0; Q < te.length; Q += 1) {
4291
+ var se = te.charCodeAt(Q);
4292
+ if (ee === Xe && se === 10)
4297
4293
  ee = le;
4298
- else if (ee === Ce && (ee = le), ae === 13 || ae === 10) {
4294
+ else if (ee === Xe && (ee = le), se === 13 || se === 10) {
4299
4295
  if (ee !== le) {
4300
- ee === qe && (He = q + 1);
4301
- var ve = te.slice(Ot, He - 1), Ee = te.slice(He + (He < q && te.charCodeAt(He) === 32 ? 1 : 0), q);
4302
- ve === "data" ? (Ne += `
4303
- `, Ne += Ee) : ve === "id" ? lt = Ee : ve === "event" ? ye = Ee : ve === "retry" ? (E = Qe(Ee, E), A = E) : ve === "heartbeatTimeout" && (y = Qe(Ee, y), K !== 0 && (i(K), K = r(function() {
4304
- Ye();
4305
- }, y)));
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() {
4300
+ Qe();
4301
+ }, B)));
4306
4302
  }
4307
4303
  if (ee === le) {
4308
- if (Ne !== "") {
4309
- R = lt, ye === "" && (ye = "message");
4310
- var Ie = new xe(ye, {
4311
- data: Ne.slice(1),
4304
+ if (Re !== "") {
4305
+ E = lt, xe === "" && (xe = "message");
4306
+ var Le = new v(xe, {
4307
+ data: Re.slice(1),
4312
4308
  lastEventId: lt
4313
4309
  });
4314
- if (a.dispatchEvent(Ie), ye === "open" ? we(a, a.onopen, Ie) : ye === "message" ? we(a, a.onmessage, Ie) : ye === "error" && we(a, a.onerror, Ie), ue === Ae)
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)
4315
4311
  return;
4316
4312
  }
4317
- Ne = "", ye = "";
4313
+ Re = "", xe = "";
4318
4314
  }
4319
- ee = ae === 13 ? Ce : le;
4315
+ ee = se === 13 ? Xe : le;
4320
4316
  } else
4321
- ee === le && (Ot = q, ee = qe), ee === qe ? ae === 58 && (He = q + 1, ee = Le) : ee === Le && (ee = ot);
4317
+ ee === le && (Ct = Q, ee = Oe), ee === Oe ? se === 58 && (Ce = Q + 1, ee = it) : ee === it && (ee = ze);
4322
4318
  }
4323
4319
  }
4324
- }, nn = function(Z) {
4325
- if (ue === Te || ue === pe) {
4326
- ue = Re, K !== 0 && (i(K), K = 0), K = r(function() {
4327
- Ye();
4328
- }, A), A = Me(Math.min(E * 16, A * 2)), a.readyState = pe;
4329
- var z = new Be("error", { error: Z });
4330
- a.dispatchEvent(z), we(a, a.onerror, z), Z != null && console.error(Z);
4320
+ }, nn = function(q) {
4321
+ if (he === we || he === ce) {
4322
+ he = ye, K !== 0 && (i(K), K = 0), K = r(function() {
4323
+ Qe();
4324
+ }, w), w = Ze(Math.min(y * 16, w * 2)), c.readyState = ce;
4325
+ var W = new rt("error", { error: q });
4326
+ c.dispatchEvent(W), ve(c, c.onerror, W), q != null && console.error(q);
4331
4327
  }
4332
- }, Rt = function() {
4333
- ue = Ae, ie != null && (ie.abort(), ie = void 0), K !== 0 && (i(K), K = 0), a.readyState = Ae;
4334
- }, Ye = function() {
4335
- if (K = 0, ue !== Re) {
4336
- if (!I && ie != null)
4337
- nn(new Error("No activity within " + y + " milliseconds. " + (ue === pe ? "No response received." : F + " chars received.") + " Reconnecting.")), ie != null && (ie.abort(), ie = void 0);
4328
+ }, Ht = function() {
4329
+ he = Ae, oe != null && (oe.abort(), oe = void 0), K !== 0 && (i(K), K = 0), c.readyState = Ae;
4330
+ }, Qe = function() {
4331
+ if (K = 0, he !== ye) {
4332
+ if (!N && oe != null)
4333
+ nn(new Error("No activity within " + B + " milliseconds. " + (he === ce ? "No response received." : F + " chars received.") + " Reconnecting.")), oe != null && (oe.abort(), oe = void 0);
4338
4334
  else {
4339
- var Z = Math.max((I || Date.now()) + y - Date.now(), 1);
4340
- I = !1, K = r(function() {
4341
- Ye();
4342
- }, Z);
4335
+ var q = Math.max((N || Date.now()) + B - Date.now(), 1);
4336
+ N = !1, K = r(function() {
4337
+ Qe();
4338
+ }, q);
4343
4339
  }
4344
4340
  return;
4345
4341
  }
4346
- I = !1, F = 0, K = r(function() {
4347
- Ye();
4348
- }, y), ue = pe, Ne = "", ye = "", lt = R, ut = "", Ot = 0, He = 0, ee = le;
4349
- var z = f;
4350
- if (f.slice(0, 5) !== "data:" && f.slice(0, 5) !== "blob:" && R !== "") {
4351
- var oe = f.indexOf("?");
4352
- z = oe === -1 ? f : f.slice(0, oe + 1) + f.slice(oe + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ee, Ie) {
4353
- return Ie === v ? "" : Ee;
4354
- }), z += (f.indexOf("?") === -1 ? "?" : "&") + v + "=" + encodeURIComponent(R);
4342
+ N = !1, F = 0, K = r(function() {
4343
+ Qe();
4344
+ }, B), he = ce, Re = "", xe = "", lt = E, ut = "", Ct = 0, Ce = 0, ee = le;
4345
+ var W = a;
4346
+ if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && E !== "") {
4347
+ var ae = a.indexOf("?");
4348
+ W = ae === -1 ? a : a.slice(0, ae + 1) + a.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Be, Le) {
4349
+ return Le === m ? "" : Be;
4350
+ }), W += (a.indexOf("?") === -1 ? "?" : "&") + m + "=" + encodeURIComponent(E);
4355
4351
  }
4356
- var ae = a.withCredentials, te = {};
4352
+ var se = c.withCredentials, te = {};
4357
4353
  te.Accept = "text/event-stream";
4358
- var q = a.headers;
4359
- if (q != null)
4360
- for (var ve in q)
4361
- Object.prototype.hasOwnProperty.call(q, ve) && (te[ve] = q[ve]);
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]);
4362
4358
  try {
4363
- ie = Je.open(be, ir, or, nn, z, ae, te);
4364
- } catch (Ee) {
4365
- throw Rt(), Ee;
4359
+ oe = qe.open(Ee, ir, or, nn, W, se, te);
4360
+ } catch (Be) {
4361
+ throw Ht(), Be;
4366
4362
  }
4367
4363
  };
4368
- a.url = f, a.readyState = pe, a.withCredentials = c, a.headers = w, a._close = Rt, Ye();
4364
+ c.url = a, c.readyState = ce, c.withCredentials = f, c.headers = A, c._close = Ht, Qe();
4369
4365
  }
4370
- re.prototype = Object.create($.prototype), re.prototype.CONNECTING = pe, re.prototype.OPEN = Te, re.prototype.CLOSED = Ae, re.prototype.close = function() {
4366
+ ie.prototype = Object.create(X.prototype), ie.prototype.CONNECTING = ce, ie.prototype.OPEN = we, ie.prototype.CLOSED = Ae, ie.prototype.close = function() {
4371
4367
  this._close();
4372
- }, re.CONNECTING = pe, re.OPEN = Te, re.CLOSED = Ae, re.prototype.withCredentials = void 0;
4368
+ }, ie.CONNECTING = ce, ie.OPEN = we, ie.CLOSED = Ae, ie.prototype.withCredentials = void 0;
4373
4369
  var st = h;
4374
- o != null && (h == null || !("withCredentials" in h.prototype)) && (st = re), function(a) {
4370
+ o != null && (h == null || !("withCredentials" in h.prototype)) && (st = ie), function(c) {
4375
4371
  {
4376
- var f = a(t);
4377
- f !== void 0 && (e.exports = f);
4372
+ var a = c(t);
4373
+ a !== void 0 && (e.exports = a);
4378
4374
  }
4379
- }(function(a) {
4380
- a.EventSourcePolyfill = re, a.NativeEventSource = h, a.EventSource = st;
4375
+ }(function(c) {
4376
+ c.EventSourcePolyfill = ie, c.NativeEventSource = h, c.EventSource = st;
4381
4377
  });
4382
4378
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : Mr : globalThis);
4383
- })(Jt, Jt.exports);
4384
- var Bo = Jt.exports;
4379
+ })(qt, qt.exports);
4380
+ var _o = qt.exports;
4385
4381
  /*!
4386
4382
  * currency.js - v2.0.4
4387
4383
  * http://scurker.github.io/currency.js
@@ -4389,7 +4385,7 @@ var Bo = Jt.exports;
4389
4385
  * Copyright (c) 2021 Jason Wilson
4390
4386
  * Released under MIT license
4391
4387
  */
4392
- var To = {
4388
+ var Bo = {
4393
4389
  symbol: "$",
4394
4390
  separator: ",",
4395
4391
  decimal: ".",
@@ -4397,31 +4393,31 @@ var To = {
4397
4393
  precision: 2,
4398
4394
  pattern: "!#",
4399
4395
  negativePattern: "-!#",
4400
- format: Co,
4396
+ format: Ao,
4401
4397
  fromCents: !1
4402
4398
  }, rr = function(t) {
4403
4399
  return Math.round(t);
4404
4400
  }, tn = function(t) {
4405
4401
  return Math.pow(10, t);
4406
- }, wo = function(t, n) {
4402
+ }, To = function(t, n) {
4407
4403
  return rr(t / n) * n;
4408
- }, So = /(\d)(?=(\d{3})+\b)/g, Ao = /(\d)(?=(\d\d)+\d\b)/g;
4409
- function ce(e, t) {
4404
+ }, wo = /(\d)(?=(\d{3})+\b)/g, So = /(\d)(?=(\d\d)+\d\b)/g;
4405
+ function fe(e, t) {
4410
4406
  var n = this;
4411
- if (!(n instanceof ce))
4412
- return new ce(e, t);
4413
- var r = Object.assign({}, To, t), i = tn(r.precision), o = pt(e, r);
4414
- n.intValue = o, n.value = o / i, r.increment = r.increment || 1 / i, r.useVedic ? r.groups = Ao : r.groups = So, this.s = r, this.p = i;
4407
+ if (!(n instanceof fe))
4408
+ return new fe(e, t);
4409
+ var r = Object.assign({}, Bo, t), i = tn(r.precision), o = pt(e, r);
4410
+ n.intValue = o, n.value = o / i, r.increment = r.increment || 1 / i, r.useVedic ? r.groups = So : r.groups = wo, this.s = r, this.p = i;
4415
4411
  }
4416
4412
  function pt(e, t) {
4417
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, i = t.decimal, o = t.errorOnInvalid, l = t.precision, s = t.fromCents, h = tn(l), u = typeof e == "number", d = e instanceof ce;
4413
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, r = 0, i = t.decimal, o = t.errorOnInvalid, l = t.precision, s = t.fromCents, h = tn(l), u = typeof e == "number", d = e instanceof fe;
4418
4414
  if (d && s)
4419
4415
  return e.intValue;
4420
4416
  if (u || d)
4421
4417
  r = d ? e.value : e;
4422
4418
  else if (typeof e == "string") {
4423
- var m = new RegExp("[^-\\d" + i + "]", "g"), g = new RegExp("\\" + i, "g");
4424
- r = e.replace(/\((.*)\)/, "-$1").replace(m, "").replace(g, "."), 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;
4425
4421
  } else {
4426
4422
  if (o)
4427
4423
  throw Error("Invalid Input");
@@ -4429,11 +4425,11 @@ function pt(e, t) {
4429
4425
  }
4430
4426
  return s || (r *= h, r = r.toFixed(4)), n ? rr(r) : r;
4431
4427
  }
4432
- function Co(e, t) {
4428
+ function Ao(e, t) {
4433
4429
  var n = t.pattern, r = t.negativePattern, i = t.symbol, o = t.separator, l = t.decimal, s = t.groups, h = ("" + e).replace(/^-/, "").split("."), u = h[0], d = h[1];
4434
4430
  return (e.value >= 0 ? n : r).replace("!", i).replace("#", u.replace(s, "$1" + o) + (d ? l + d : ""));
4435
4431
  }
4436
- ce.prototype = {
4432
+ fe.prototype = {
4437
4433
  /**
4438
4434
  * Adds values together.
4439
4435
  * @param {number} number
@@ -4441,7 +4437,7 @@ ce.prototype = {
4441
4437
  */
4442
4438
  add: function(t) {
4443
4439
  var n = this.intValue, r = this.s, i = this.p;
4444
- return ce((n += pt(t, r)) / (r.fromCents ? 1 : i), r);
4440
+ return fe((n += pt(t, r)) / (r.fromCents ? 1 : i), r);
4445
4441
  },
4446
4442
  /**
4447
4443
  * Subtracts value.
@@ -4450,7 +4446,7 @@ ce.prototype = {
4450
4446
  */
4451
4447
  subtract: function(t) {
4452
4448
  var n = this.intValue, r = this.s, i = this.p;
4453
- return ce((n -= pt(t, r)) / (r.fromCents ? 1 : i), r);
4449
+ return fe((n -= pt(t, r)) / (r.fromCents ? 1 : i), r);
4454
4450
  },
4455
4451
  /**
4456
4452
  * Multiplies values.
@@ -4459,7 +4455,7 @@ ce.prototype = {
4459
4455
  */
4460
4456
  multiply: function(t) {
4461
4457
  var n = this.intValue, r = this.s;
4462
- return ce((n *= t) / (r.fromCents ? 1 : tn(r.precision)), r);
4458
+ return fe((n *= t) / (r.fromCents ? 1 : tn(r.precision)), r);
4463
4459
  },
4464
4460
  /**
4465
4461
  * Divides value.
@@ -4468,7 +4464,7 @@ ce.prototype = {
4468
4464
  */
4469
4465
  divide: function(t) {
4470
4466
  var n = this.intValue, r = this.s;
4471
- return ce(n /= pt(t, r, !1), r);
4467
+ return fe(n /= pt(t, r, !1), r);
4472
4468
  },
4473
4469
  /**
4474
4470
  * Takes the currency amount and distributes the values evenly. Any extra pennies
@@ -4478,7 +4474,7 @@ ce.prototype = {
4478
4474
  */
4479
4475
  distribute: function(t) {
4480
4476
  for (var n = this.intValue, r = this.p, i = this.s, o = [], l = Math[n >= 0 ? "floor" : "ceil"](n / t), s = Math.abs(n - l * t), h = i.fromCents ? 1 : r; t !== 0; t--) {
4481
- var u = ce(l / h, i);
4477
+ var u = fe(l / h, i);
4482
4478
  s-- > 0 && (u = u[n >= 0 ? "add" : "subtract"](1 / h)), o.push(u);
4483
4479
  }
4484
4480
  return o;
@@ -4513,7 +4509,7 @@ ce.prototype = {
4513
4509
  */
4514
4510
  toString: function() {
4515
4511
  var t = this.intValue, n = this.p, r = this.s;
4516
- return wo(t / n, r.increment).toFixed(r.precision);
4512
+ return To(t / n, r.increment).toFixed(r.precision);
4517
4513
  },
4518
4514
  /**
4519
4515
  * Value for JSON serialization.
@@ -4523,10 +4519,10 @@ ce.prototype = {
4523
4519
  return this.value;
4524
4520
  }
4525
4521
  };
4526
- function Ho(e) {
4522
+ function Co(e) {
4527
4523
  lr(e, "svelte-lfsn3o", '*,*::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;background:transparent;border:none;font:inherit;color:inherit;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, #22B04E));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;background:transparent;border:none;font:inherit;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}');
4528
4524
  }
4529
- function xn(e, t, n) {
4525
+ function _n(e, t, n) {
4530
4526
  const r = e.slice();
4531
4527
  return r[50] = t[n], r;
4532
4528
  }
@@ -4534,7 +4530,7 @@ function Bn(e, t, n) {
4534
4530
  const r = e.slice();
4535
4531
  return r[53] = t[n], r;
4536
4532
  }
4537
- function Oo(e) {
4533
+ function Ho(e) {
4538
4534
  let t, n, r = (
4539
4535
  /*balances*/
4540
4536
  (e[1].Total ? (
@@ -4544,69 +4540,69 @@ function Oo(e) {
4544
4540
  e[1].Total[0].amount
4545
4541
  )
4546
4542
  ) : "0") + ""
4547
- ), i, o, l, s, h, u, d, m, g, x, B, T, _ = (
4543
+ ), i, o, l, s, h, u, d, g, b, _, T, S, x = (
4548
4544
  /*showBalance*/
4549
4545
  e[4] && Tn(e)
4550
4546
  );
4551
4547
  return {
4552
4548
  c() {
4553
- t = k("button"), n = k("p"), i = he(r), o = de(), l = he(
4549
+ t = $("button"), n = $("p"), i = de(r), o = me(), l = de(
4554
4550
  /*currency*/
4555
4551
  e[5]
4556
- ), s = de(), h = k("span"), u = on("svg"), d = on("path"), g = de(), _ && _.c(), x = 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", m = /*isModalDisplayed*/
4552
+ ), s = me(), h = $("span"), u = on("svg"), d = on("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 = /*isModalDisplayed*/
4557
4553
  e[3] ? "TriangleActive" : "TriangleInactive"), M(t, "class", "BalanceValue");
4558
4554
  },
4559
- m(S, P) {
4560
- ge(S, t, P), H(t, n), H(n, i), H(n, o), H(n, l), H(t, s), H(t, h), H(h, u), H(u, d), ge(S, g, P), _ && _.m(S, P), ge(S, x, P), B || (T = mt(
4555
+ m(C, U) {
4556
+ ge(C, t, U), O(t, n), O(n, i), O(n, o), O(n, l), O(t, s), O(t, h), O(h, u), O(u, d), ge(C, b, U), x && x.m(C, U), ge(C, _, U), T || (S = mt(
4561
4557
  t,
4562
4558
  "click",
4563
4559
  /*click_handler*/
4564
4560
  e[25]
4565
- ), B = !0);
4561
+ ), T = !0);
4566
4562
  },
4567
- p(S, P) {
4568
- P[0] & /*balances*/
4563
+ p(C, U) {
4564
+ U[0] & /*balances*/
4569
4565
  2 && r !== (r = /*balances*/
4570
- (S[1].Total ? (
4566
+ (C[1].Total ? (
4571
4567
  /*formatBalance*/
4572
- S[8](
4568
+ C[8](
4573
4569
  /*balances*/
4574
- S[1].Total[0].amount
4570
+ C[1].Total[0].amount
4575
4571
  )
4576
- ) : "0") + "") && _e(i, r), P[0] & /*currency*/
4577
- 32 && _e(
4572
+ ) : "0") + "") && Te(i, r), U[0] & /*currency*/
4573
+ 32 && Te(
4578
4574
  l,
4579
4575
  /*currency*/
4580
- S[5]
4581
- ), P[0] & /*isModalDisplayed*/
4582
- 8 && m !== (m = /*isModalDisplayed*/
4583
- S[3] ? "TriangleActive" : "TriangleInactive") && M(h, "class", m), /*showBalance*/
4584
- S[4] ? _ ? _.p(S, P) : (_ = Tn(S), _.c(), _.m(x.parentNode, x)) : _ && (_.d(1), _ = null);
4576
+ C[5]
4577
+ ), U[0] & /*isModalDisplayed*/
4578
+ 8 && g !== (g = /*isModalDisplayed*/
4579
+ C[3] ? "TriangleActive" : "TriangleInactive") && M(h, "class", g), /*showBalance*/
4580
+ C[4] ? x ? x.p(C, U) : (x = Tn(C), x.c(), x.m(_.parentNode, _)) : x && (x.d(1), x = null);
4585
4581
  },
4586
- d(S) {
4587
- S && (fe(t), fe(g), fe(x)), _ && _.d(S), B = !1, T();
4582
+ d(C) {
4583
+ C && (pe(t), pe(b), pe(_)), x && x.d(C), T = !1, S();
4588
4584
  }
4589
4585
  };
4590
4586
  }
4591
- function Ro(e) {
4587
+ function Oo(e) {
4592
4588
  let t, n = (
4593
4589
  /*$_*/
4594
4590
  e[6]("Loading") + ""
4595
4591
  ), r;
4596
4592
  return {
4597
4593
  c() {
4598
- t = k("p"), r = he(n), M(t, "class", "Loading");
4594
+ t = $("p"), r = de(n), M(t, "class", "Loading");
4599
4595
  },
4600
4596
  m(i, o) {
4601
- ge(i, t, o), H(t, r);
4597
+ ge(i, t, o), O(t, r);
4602
4598
  },
4603
4599
  p(i, o) {
4604
4600
  o[0] & /*$_*/
4605
4601
  64 && n !== (n = /*$_*/
4606
- i[6]("Loading") + "") && _e(r, n);
4602
+ i[6]("Loading") + "") && Te(r, n);
4607
4603
  },
4608
4604
  d(i) {
4609
- i && fe(t);
4605
+ i && pe(t);
4610
4606
  }
4611
4607
  };
4612
4608
  }
@@ -4614,31 +4610,31 @@ function Tn(e) {
4614
4610
  let t, n, r, i, o, l, s, h, u = (
4615
4611
  /*$_*/
4616
4612
  e[6]("Title") + ""
4617
- ), d, m, g, x, B, T, _ = (
4613
+ ), d, g, b, _, T, S, x = (
4618
4614
  /*$_*/
4619
4615
  e[6]("DepositButton") + ""
4620
- ), S, P, C, D, W, J, Y = gt(Object.keys(
4616
+ ), C, U, H, z, j, re, Z = gt(Object.keys(
4621
4617
  /*balances*/
4622
4618
  e[1]
4623
- )), G = [];
4624
- for (let N = 0; N < Y.length; N += 1)
4625
- G[N] = Sn(xn(e, Y, N));
4619
+ )), V = [];
4620
+ for (let I = 0; I < Z.length; I += 1)
4621
+ V[I] = Sn(_n(e, Z, I));
4626
4622
  return {
4627
4623
  c() {
4628
- t = k("div"), n = k("button"), i = de(), o = k("div"), l = k("div"), s = k("div"), h = k("p"), d = he(u), m = de(), g = k("div");
4629
- for (let N = 0; N < G.length; N += 1)
4630
- G[N].c();
4631
- x = de(), B = k("div"), T = k("button"), S = he(_), M(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
4632
- (e[3] ? "Open" : "")), M(h, "class", "BalanceModalTitle"), M(s, "class", "BalanceModalHeader"), M(g, "class", "BalanceModalBody"), M(T, "class", "BalanceModalAction"), M(B, "class", "BalanceModalFooter"), M(l, "class", P = "ModalContent " + /*isModalDisplayed*/
4633
- (e[3] ? "Open" : "")), M(o, "class", C = "BalanceModal " + /*isModalDisplayed*/
4634
- (e[3] ? "Open" : "")), M(t, "class", D = "BalanceModalWrapper " + /*isModalDisplayed*/
4624
+ t = $("div"), n = $("button"), i = me(), o = $("div"), l = $("div"), s = $("div"), h = $("p"), d = de(u), g = me(), b = $("div");
4625
+ for (let I = 0; I < V.length; I += 1)
4626
+ V[I].c();
4627
+ _ = me(), T = $("div"), S = $("button"), C = de(x), M(n, "class", r = "BalanceModalClose " + /*isModalDisplayed*/
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", U = "ModalContent " + /*isModalDisplayed*/
4629
+ (e[3] ? "Open" : "")), M(o, "class", H = "BalanceModal " + /*isModalDisplayed*/
4630
+ (e[3] ? "Open" : "")), M(t, "class", z = "BalanceModalWrapper " + /*isModalDisplayed*/
4635
4631
  (e[3] ? "Open" : ""));
4636
4632
  },
4637
- m(N, $) {
4638
- ge(N, t, $), H(t, n), H(t, i), H(t, o), H(o, l), H(l, s), H(s, h), H(h, d), H(l, m), H(l, g);
4639
- for (let U = 0; U < G.length; U += 1)
4640
- G[U] && G[U].m(g, null);
4641
- H(l, x), H(l, B), H(B, T), H(T, S), W || (J = [
4633
+ m(I, X) {
4634
+ ge(I, t, X), O(t, n), O(t, i), O(t, o), O(o, l), O(l, s), O(s, h), O(h, d), O(l, g), O(l, b);
4635
+ for (let D = 0; D < V.length; D += 1)
4636
+ V[D] && V[D].m(b, null);
4637
+ O(l, _), O(l, T), O(T, S), O(S, C), j || (re = [
4642
4638
  mt(
4643
4639
  n,
4644
4640
  "click",
@@ -4646,45 +4642,45 @@ function Tn(e) {
4646
4642
  e[26]
4647
4643
  ),
4648
4644
  mt(
4649
- T,
4645
+ S,
4650
4646
  "click",
4651
4647
  /*click_handler_2*/
4652
4648
  e[27]
4653
4649
  )
4654
- ], W = !0);
4650
+ ], j = !0);
4655
4651
  },
4656
- p(N, $) {
4657
- if ($[0] & /*isModalDisplayed*/
4652
+ p(I, X) {
4653
+ if (X[0] & /*isModalDisplayed*/
4658
4654
  8 && r !== (r = "BalanceModalClose " + /*isModalDisplayed*/
4659
- (N[3] ? "Open" : "")) && M(n, "class", r), $[0] & /*$_*/
4655
+ (I[3] ? "Open" : "")) && M(n, "class", r), X[0] & /*$_*/
4660
4656
  64 && u !== (u = /*$_*/
4661
- N[6]("Title") + "") && _e(d, u), $[0] & /*balances, currency, formatBalance, $_*/
4657
+ I[6]("Title") + "") && Te(d, u), X[0] & /*balances, currency, formatBalance, $_*/
4662
4658
  354) {
4663
- Y = gt(Object.keys(
4659
+ Z = gt(Object.keys(
4664
4660
  /*balances*/
4665
- N[1]
4661
+ I[1]
4666
4662
  ));
4667
- let U;
4668
- for (U = 0; U < Y.length; U += 1) {
4669
- const b = xn(N, Y, U);
4670
- G[U] ? G[U].p(b, $) : (G[U] = Sn(b), G[U].c(), G[U].m(g, null));
4663
+ let D;
4664
+ for (D = 0; D < Z.length; D += 1) {
4665
+ const Y = _n(I, Z, D);
4666
+ V[D] ? V[D].p(Y, X) : (V[D] = Sn(Y), V[D].c(), V[D].m(b, null));
4671
4667
  }
4672
- for (; U < G.length; U += 1)
4673
- G[U].d(1);
4674
- G.length = Y.length;
4668
+ for (; D < V.length; D += 1)
4669
+ V[D].d(1);
4670
+ V.length = Z.length;
4675
4671
  }
4676
- $[0] & /*$_*/
4677
- 64 && _ !== (_ = /*$_*/
4678
- N[6]("DepositButton") + "") && _e(S, _), $[0] & /*isModalDisplayed*/
4679
- 8 && P !== (P = "ModalContent " + /*isModalDisplayed*/
4680
- (N[3] ? "Open" : "")) && M(l, "class", P), $[0] & /*isModalDisplayed*/
4681
- 8 && C !== (C = "BalanceModal " + /*isModalDisplayed*/
4682
- (N[3] ? "Open" : "")) && M(o, "class", C), $[0] & /*isModalDisplayed*/
4683
- 8 && D !== (D = "BalanceModalWrapper " + /*isModalDisplayed*/
4684
- (N[3] ? "Open" : "")) && M(t, "class", D);
4672
+ X[0] & /*$_*/
4673
+ 64 && x !== (x = /*$_*/
4674
+ I[6]("DepositButton") + "") && Te(C, x), X[0] & /*isModalDisplayed*/
4675
+ 8 && U !== (U = "ModalContent " + /*isModalDisplayed*/
4676
+ (I[3] ? "Open" : "")) && M(l, "class", U), X[0] & /*isModalDisplayed*/
4677
+ 8 && H !== (H = "BalanceModal " + /*isModalDisplayed*/
4678
+ (I[3] ? "Open" : "")) && M(o, "class", H), X[0] & /*isModalDisplayed*/
4679
+ 8 && z !== (z = "BalanceModalWrapper " + /*isModalDisplayed*/
4680
+ (I[3] ? "Open" : "")) && M(t, "class", z);
4685
4681
  },
4686
- d(N) {
4687
- N && fe(t), Rn(G, N), W = !1, Ve(J);
4682
+ d(I) {
4683
+ I && pe(t), Rn(V, I), j = !1, $e(re);
4688
4684
  }
4689
4685
  };
4690
4686
  }
@@ -4704,7 +4700,7 @@ function wn(e) {
4704
4700
  e[53].productType
4705
4701
  )
4706
4702
  ) : "") + ""
4707
- ), s, h, u, d, m = (
4703
+ ), s, h, u, d, g = (
4708
4704
  /*b*/
4709
4705
  (e[53].amount ? (
4710
4706
  /*formatBalance*/
@@ -4713,48 +4709,48 @@ function wn(e) {
4713
4709
  e[53].amount
4714
4710
  )
4715
4711
  ) : "0") + ""
4716
- ), g, x, B, T;
4712
+ ), b, _, T, S;
4717
4713
  return {
4718
4714
  c() {
4719
- t = k("div"), n = k("p"), i = he(r), o = de(), s = he(l), h = de(), u = k("p"), d = k("span"), g = he(m), x = de(), B = k("span"), T = he(
4715
+ t = $("div"), n = $("p"), i = de(r), o = me(), s = de(l), h = me(), u = $("p"), d = $("span"), b = de(g), _ = me(), T = $("span"), S = de(
4720
4716
  /*currency*/
4721
4717
  e[5]
4722
- ), M(n, "class", "BalanceModalText"), M(d, "class", "BalanceModalAmount"), M(B, "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");
4723
4719
  },
4724
- m(_, S) {
4725
- ge(_, t, S), H(t, n), H(n, i), H(n, o), H(n, s), H(t, h), H(t, u), H(u, d), H(d, g), H(u, x), H(u, B), H(B, T);
4720
+ m(x, C) {
4721
+ ge(x, t, C), O(t, n), O(n, i), O(n, o), O(n, s), O(t, h), O(t, u), O(u, d), O(d, b), O(u, _), O(u, T), O(T, S);
4726
4722
  },
4727
- p(_, S) {
4728
- S[0] & /*$_, balances*/
4723
+ p(x, C) {
4724
+ C[0] & /*$_, balances*/
4729
4725
  66 && r !== (r = /*$_*/
4730
- _[6](
4726
+ x[6](
4731
4727
  /*k*/
4732
- _[50]
4733
- ) + "") && _e(i, r), S[0] & /*balances, $_*/
4728
+ x[50]
4729
+ ) + "") && Te(i, r), C[0] & /*balances, $_*/
4734
4730
  66 && l !== (l = /*b*/
4735
- (_[53].productType ? (
4731
+ (x[53].productType ? (
4736
4732
  /*$_*/
4737
- _[6](
4733
+ x[6](
4738
4734
  /*b*/
4739
- _[53].productType
4735
+ x[53].productType
4740
4736
  )
4741
- ) : "") + "") && _e(s, l), S[0] & /*balances*/
4742
- 2 && m !== (m = /*b*/
4743
- (_[53].amount ? (
4737
+ ) : "") + "") && Te(s, l), C[0] & /*balances*/
4738
+ 2 && g !== (g = /*b*/
4739
+ (x[53].amount ? (
4744
4740
  /*formatBalance*/
4745
- _[8](
4741
+ x[8](
4746
4742
  /*b*/
4747
- _[53].amount
4743
+ x[53].amount
4748
4744
  )
4749
- ) : "0") + "") && _e(g, m), S[0] & /*currency*/
4750
- 32 && _e(
4751
- T,
4745
+ ) : "0") + "") && Te(b, g), C[0] & /*currency*/
4746
+ 32 && Te(
4747
+ S,
4752
4748
  /*currency*/
4753
- _[5]
4749
+ x[5]
4754
4750
  );
4755
4751
  },
4756
- d(_) {
4757
- _ && fe(t);
4752
+ d(x) {
4753
+ x && pe(t);
4758
4754
  }
4759
4755
  };
4760
4756
  }
@@ -4770,16 +4766,16 @@ function Sn(e) {
4770
4766
  i[o] = wn(Bn(e, r, o));
4771
4767
  return {
4772
4768
  c() {
4773
- t = k("div");
4769
+ t = $("div");
4774
4770
  for (let o = 0; o < i.length; o += 1)
4775
4771
  i[o].c();
4776
- n = de(), M(t, "class", "BalanceModalRowBoth");
4772
+ n = me(), M(t, "class", "BalanceModalRowBoth");
4777
4773
  },
4778
4774
  m(o, l) {
4779
4775
  ge(o, t, l);
4780
4776
  for (let s = 0; s < i.length; s += 1)
4781
4777
  i[s] && i[s].m(t, null);
4782
- H(t, n);
4778
+ O(t, n);
4783
4779
  },
4784
4780
  p(o, l) {
4785
4781
  if (l[0] & /*currency, balances, formatBalance, $_*/
@@ -4802,7 +4798,7 @@ function Sn(e) {
4802
4798
  }
4803
4799
  },
4804
4800
  d(o) {
4805
- o && fe(t), Rn(i, o);
4801
+ o && pe(t), Rn(i, o);
4806
4802
  }
4807
4803
  };
4808
4804
  }
@@ -4810,7 +4806,7 @@ function An(e) {
4810
4806
  let t, n, r;
4811
4807
  return {
4812
4808
  c() {
4813
- t = k("button"), M(t, "class", "ShowBalanceModalOverlay");
4809
+ t = $("button"), M(t, "class", "ShowBalanceModalOverlay");
4814
4810
  },
4815
4811
  m(i, o) {
4816
4812
  ge(i, t, o), n || (r = mt(
@@ -4820,18 +4816,18 @@ function An(e) {
4820
4816
  e[28]
4821
4817
  ), n = !0);
4822
4818
  },
4823
- p: se,
4819
+ p: ue,
4824
4820
  d(i) {
4825
- i && fe(t), n = !1, r();
4821
+ i && pe(t), n = !1, r();
4826
4822
  }
4827
4823
  };
4828
4824
  }
4829
- function Lo(e) {
4825
+ function Ro(e) {
4830
4826
  let t, n, r;
4831
4827
  function i(h, u) {
4832
4828
  return (
4833
4829
  /*isLoading*/
4834
- h[2] ? Ro : Oo
4830
+ h[2] ? Oo : Ho
4835
4831
  );
4836
4832
  }
4837
4833
  let o = i(e), l = o(e), s = (
@@ -4840,31 +4836,31 @@ function Lo(e) {
4840
4836
  );
4841
4837
  return {
4842
4838
  c() {
4843
- t = k("div"), n = k("div"), l.c(), r = de(), s && s.c(), M(n, "class", "ShowBalance");
4839
+ t = $("div"), n = $("div"), l.c(), r = me(), s && s.c(), M(n, "class", "ShowBalance");
4844
4840
  },
4845
4841
  m(h, u) {
4846
- ge(h, t, u), H(t, n), l.m(n, null), H(t, r), s && s.m(t, null), e[29](t);
4842
+ ge(h, t, u), O(t, n), l.m(n, null), O(t, r), s && s.m(t, null), e[29](t);
4847
4843
  },
4848
4844
  p(h, u) {
4849
4845
  o === (o = i(h)) && l ? l.p(h, u) : (l.d(1), l = o(h), l && (l.c(), l.m(n, null))), /*showBalance*/
4850
4846
  h[4] ? s ? s.p(h, u) : (s = An(h), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4851
4847
  },
4852
- i: se,
4853
- o: se,
4848
+ i: ue,
4849
+ o: ue,
4854
4850
  d(h) {
4855
- h && fe(t), l.d(), s && s.d(), e[29](null);
4851
+ h && pe(t), l.d(), s && s.d(), e[29](null);
4856
4852
  }
4857
4853
  };
4858
4854
  }
4859
- function Mo(e, t, n) {
4855
+ function Lo(e, t, n) {
4860
4856
  let r;
4861
- sr(e, _o, (a) => n(6, r = a));
4862
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: l = "" } = t, { lang: s = "en" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { customlocaleidentifier: g = "" } = t, { gmversion: x = "gm16" } = t, { displaybalanceoption: B = "All" } = t, { totalcalculationmode: T = "totalCashAmount" } = t, { currencyseparator: _ = "" } = t, { currencydecimal: S = "" } = t, { currencyprecision: P = "" } = t, C, D = !0, W = !1, J = !1, Y = !1, G, N = "", $ = [], U;
4863
- const b = {}, xe = ["totalCashAmount", "totalRealAmount"], Ze = () => {
4864
- fetch(m).then((a) => a.json()).then((a) => Object.keys(a).forEach((f) => En(f, a[f]))).catch((a) => console.log(a));
4857
+ sr(e, Eo, (a) => n(6, r = a));
4858
+ let { userid: i = "" } = t, { session: o = "" } = 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: U = "" } = t, H, z, j = !0, re = !1, Z = !1, V = !1, I, X = "", D = [], Y;
4859
+ const v = {}, be = ["totalCashAmount", "totalRealAmount"], rt = () => {
4860
+ fetch(g).then((a) => a.json()).then((a) => Object.keys(a).forEach((p) => En(p, a[p]))).catch((a) => console.log(a));
4865
4861
  };
4866
- Object.keys(_n).forEach((a) => En(a, _n[a]));
4867
- const Be = (a) => {
4862
+ Object.keys(xn).forEach((a) => En(a, xn[a]));
4863
+ const ye = (a) => {
4868
4864
  switch (a) {
4869
4865
  case "balance":
4870
4866
  window.postMessage(
@@ -4873,10 +4869,10 @@ function Mo(e, t, n) {
4873
4869
  status: "open"
4874
4870
  },
4875
4871
  window.location.href
4876
- ), n(4, Y = !0), setTimeout(() => n(3, W = !0), 150);
4872
+ ), n(4, V = !0), setTimeout(() => n(3, re = !0), 150);
4877
4873
  break;
4878
4874
  case "closebalance":
4879
- n(3, W = !1), window.postMessage(
4875
+ n(3, re = !1), window.postMessage(
4880
4876
  {
4881
4877
  type: "BalanceModalStatus",
4882
4878
  status: "close"
@@ -4884,86 +4880,86 @@ function Mo(e, t, n) {
4884
4880
  window.location.href
4885
4881
  ), setTimeout(
4886
4882
  () => {
4887
- n(4, Y = !1);
4883
+ n(4, V = !1);
4888
4884
  },
4889
4885
  150
4890
4886
  );
4891
4887
  break;
4892
4888
  }
4893
- }, Re = () => {
4894
- if (g.includes(s))
4895
- return g;
4896
- }, pe = (a) => g ? new Intl.NumberFormat(Re(), { useGrouping: !0 }).format(a) : _ && S ? ce(a, {
4897
- separator: _,
4898
- decimal: S,
4889
+ }, ce = () => {
4890
+ if (b.includes(s))
4891
+ return b;
4892
+ }, we = (a) => b ? new Intl.NumberFormat(ce(), { useGrouping: !0 }).format(a) : x && C ? fe(a, {
4893
+ separator: x,
4894
+ decimal: C,
4899
4895
  symbol: "",
4900
- precision: parseInt(P || "2", 10)
4901
- }).format() : ce(a, {
4896
+ precision: parseInt(U || "2", 10)
4897
+ }).format() : fe(a, {
4902
4898
  separator: ".",
4903
4899
  decimal: ",",
4904
4900
  symbol: "",
4905
- precision: parseInt(P || "2", 10)
4906
- }).format(), Te = async () => {
4907
- n(2, D = !0);
4901
+ precision: parseInt(U || "2", 10)
4902
+ }).format(), Ae = async () => {
4903
+ n(2, j = !0);
4908
4904
  const a = new URL(`${l}/v1/player/${i}/account`);
4909
4905
  try {
4910
- const f = await fetch(a, {
4906
+ const p = await fetch(a, {
4911
4907
  method: "GET",
4912
4908
  headers: { "X-SessionID": o }
4913
- }), p = await f.json();
4914
- if (f.ok)
4915
- window.postMessage({ type: "BalancedFetched" }, window.location.href), $ = p.items, n(5, N = $.find((c) => c.displayName === "Casino")?.currency), n(1, b.Total = [{ amount: p.totalAmount[N] }], b), n(
4909
+ }), f = await p.json();
4910
+ if (p.ok)
4911
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), D = f.items, n(5, X = D.find((m) => m.displayName === "Casino")?.currency), n(1, v.Total = [{ amount: f.totalAmount[X] }], v), n(
4916
4912
  1,
4917
- b.Real = [
4913
+ v.Real = [
4918
4914
  {
4919
- amount: $.find((c) => c.displayName === "Casino")?.balanceAmount
4915
+ amount: D.find((m) => m.displayName === "Casino")?.balanceAmount
4920
4916
  }
4921
4917
  ],
4922
- b
4918
+ v
4923
4919
  ), n(
4924
4920
  1,
4925
- b.Bonus = [
4921
+ v.Bonus = [
4926
4922
  {
4927
- amount: $.find((c) => c.displayName === "UBS")?.balanceAmount
4923
+ amount: D.find((m) => m.displayName === "UBS")?.balanceAmount
4928
4924
  }
4929
4925
  ],
4930
- b
4926
+ v
4931
4927
  );
4932
4928
  else
4933
4929
  throw new Error("Failed to fetch balance data !");
4934
- } catch (f) {
4935
- console.log("Balance error: ", f);
4930
+ } catch (p) {
4931
+ console.log("Balance error: ", p);
4936
4932
  } finally {
4937
- n(2, D = !1);
4933
+ n(2, j = !1);
4938
4934
  }
4939
- }, Ae = () => {
4940
- n(2, D = !0);
4941
- const a = new URL(`${l}/v2/player/${i}/balance`), f = new Headers();
4942
- f.append("X-SessionID", o), fetch(a, { method: "GET", headers: f }).then((c) => c.json()).then((c) => {
4943
- c[T] || n(10, T = xe[0]);
4944
- const v = c.items.find((y) => y.type === "Real" && y.walletAccountType === "Ordinary");
4945
- if (n(5, N = v.currency), J = !!v.productType, n(1, b.Total = [{ amount: 0 }], b), n(1, b.Real = [], b), n(1, b.Bonus = [], b), n(1, b.Credit = [], b), !J) {
4946
- U = {
4935
+ }, Xe = () => {
4936
+ n(2, j = !0);
4937
+ const a = new URL(`${l}/v2/player/${i}/balance`), p = new Headers();
4938
+ p.append("X-SessionID", o), fetch(a, { method: "GET", headers: p }).then((m) => m.json()).then((m) => {
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, X = y.currency), Z = !!y.productType, n(1, v.Total = [{ amount: 0 }], v), n(1, v.Real = [], v), n(1, v.Bonus = [], v), n(1, v.Credit = [], v), !Z) {
4942
+ Y = {
4947
4943
  lastOrdinaryAfterAmount: 0,
4948
4944
  showCreditLineAfterAmount: !1
4949
- }, n(1, b.Total[0].amount = c[T][N], b);
4950
- for (const y of c.items)
4951
- switch (y.type) {
4945
+ }, n(1, v.Total[0].amount = m[S][X], v);
4946
+ for (const E of m.items)
4947
+ switch (E.type) {
4952
4948
  case "Bonus":
4953
- b.Bonus.length === 0 ? b.Bonus.push({ amount: y.amount }) : n(1, b.Bonus[0].amount += y.amount, b);
4949
+ v.Bonus.length === 0 ? v.Bonus.push({ amount: E.amount }) : n(1, v.Bonus[0].amount += E.amount, v);
4954
4950
  break;
4955
4951
  case "Real":
4956
- if (y.creditLine && b.Credit.length === 0 && b.Credit.push({ amount: y.creditLine }), T === "totalRealAmount")
4952
+ if (E.creditLine && v.Credit.length === 0 && v.Credit.push({ amount: E.creditLine }), S === "totalRealAmount")
4957
4953
  continue;
4958
- b.Real.length === 0 ? b.Real.push({ amount: y.amount }) : n(1, b.Real[0].amount += y.amount, b);
4954
+ v.Real.length === 0 ? v.Real.push({ amount: E.amount }) : n(1, v.Real[0].amount += E.amount, v);
4959
4955
  break;
4960
4956
  }
4961
- for (const [y, R] of Object.entries(b))
4962
- R.length < 1 && delete b[y];
4963
- n(2, D = !1);
4957
+ for (const [E, w] of Object.entries(v))
4958
+ w.length < 1 && delete v[E];
4959
+ n(2, j = !1);
4964
4960
  return;
4965
4961
  }
4966
- U = {
4962
+ Y = {
4967
4963
  Casino: {
4968
4964
  lastOrdinaryAfterAmount: 0,
4969
4965
  showCreditLineAfterAmount: !1
@@ -4973,173 +4969,173 @@ function Mo(e, t, n) {
4973
4969
  showCreditLineAfterAmount: !1
4974
4970
  }
4975
4971
  };
4976
- let E = c.items;
4977
- B && B !== "All" && (E = c.items.filter((y) => y.productType === B));
4978
- for (const y of E) {
4979
- let R;
4980
- switch (y.type) {
4972
+ let B = m.items;
4973
+ T && T !== "All" && (B = m.items.filter((E) => E.productType === T));
4974
+ for (const E of B) {
4975
+ let w;
4976
+ switch (E.type) {
4981
4977
  case "Bonus":
4982
- R = b.Bonus.findIndex((A) => A.productType === y.productType), R > 0 ? n(1, b.Bonus[R].amount += y.amount, b) : b.Bonus.push({
4983
- amount: y.amount,
4984
- productType: y.productType
4978
+ w = v.Bonus.findIndex((N) => N.productType === E.productType), w > 0 ? n(1, v.Bonus[w].amount += E.amount, v) : v.Bonus.push({
4979
+ amount: E.amount,
4980
+ productType: E.productType
4985
4981
  });
4986
4982
  break;
4987
4983
  case "Real":
4988
- y.creditLine && b.Credit.push({
4989
- amount: y.creditLine,
4990
- productType: y.productType
4991
- }), R = b.Real.findIndex((A) => A.productType === y.productType), R > 0 ? n(1, b.Real[R].amount += y.amount, b) : b.Real.push({
4992
- amount: y.amount,
4993
- productType: y.productType
4984
+ E.creditLine && v.Credit.push({
4985
+ amount: E.creditLine,
4986
+ productType: E.productType
4987
+ }), w = v.Real.findIndex((N) => N.productType === E.productType), w > 0 ? n(1, v.Real[w].amount += E.amount, v) : v.Real.push({
4988
+ amount: E.amount,
4989
+ productType: E.productType
4994
4990
  });
4995
4991
  break;
4996
4992
  }
4997
4993
  }
4998
4994
  ot();
4999
- for (const [y, R] of Object.entries(b))
5000
- R.length < 1 && delete b[y];
5001
- n(2, D = !1);
5002
- }).catch((c) => {
5003
- throw n(2, D = !1), console.log("Balance fetch error", c), new Error("Failed to fetch balance data!");
4995
+ for (const [E, w] of Object.entries(v))
4996
+ w.length < 1 && delete v[E];
4997
+ n(2, j = !1);
4998
+ }).catch((m) => {
4999
+ throw n(2, j = !1), console.log("Balance fetch error", m), new Error("Failed to fetch balance data!");
5004
5000
  });
5005
- }, Ce = () => {
5006
- if (G && G.close(), o.length < 1)
5001
+ }, le = () => {
5002
+ if (I && I.close(), o.length < 1)
5007
5003
  return;
5008
- let a, f;
5009
- switch (x) {
5004
+ let a, p;
5005
+ switch (_) {
5010
5006
  case "gm16":
5011
- a = new URL(`${l}/v2/player/${i}/information/updates`), f = (v) => wt(v);
5007
+ a = new URL(`${l}/v2/player/${i}/information/updates`), p = (y) => Tt(y);
5012
5008
  break;
5013
5009
  case "gmcore":
5014
- a = new URL(`${l}/v1/player/${i}/balance/updates`), f = (v) => qe(v);
5010
+ a = new URL(`${l}/v1/player/${i}/balance/updates`), p = (y) => it(y);
5015
5011
  break;
5016
5012
  }
5017
- const p = {
5013
+ const f = {
5018
5014
  accept: "text/event-stream",
5019
5015
  "X-SessionId": o
5020
- }, c = new Bo.EventSourcePolyfill(a, { headers: p });
5021
- G = c, c.addEventListener("message", f);
5022
- }, le = (a) => {
5023
- let f;
5016
+ }, m = new _o.EventSourcePolyfill(a, { headers: f });
5017
+ I = m, m.addEventListener("message", p);
5018
+ }, Oe = (a) => {
5019
+ let p;
5024
5020
  try {
5025
- f = JSON.parse(a);
5026
- } catch (p) {
5027
- console.log("Balance stream failed: ", p);
5021
+ p = JSON.parse(a);
5022
+ } catch (f) {
5023
+ console.log("Balance stream failed: ", f);
5028
5024
  return;
5029
5025
  }
5030
- return f;
5031
- }, qe = (a) => {
5032
- const f = le(a.data);
5033
- if (!f) {
5034
- Ce();
5026
+ return p;
5027
+ }, it = (a) => {
5028
+ const p = Oe(a.data);
5029
+ if (!p) {
5030
+ le();
5035
5031
  return;
5036
5032
  }
5037
- let p = "0";
5038
- const c = f.balanceChange;
5039
- $ = $.map((v) => (c && c[v.id] && (v = {
5040
- ...v,
5041
- balanceAmount: c[v.id].afterAmount
5042
- }), p = (parseFloat(v?.balanceAmount) + parseFloat(p)).toString(), v)), n(1, b.Real = [{ amount: $[0]?.balanceAmount }], b), n(1, b.Bonus = [{ amount: $[1]?.balanceAmount }], b), n(1, b.Total = [{ amount: Number(p) }], b);
5043
- }, Le = (a, f, p) => {
5044
- let c = null;
5045
- switch (p.walletAccountType) {
5033
+ let f = "0";
5034
+ const m = p.balanceChange;
5035
+ D = D.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: D[0]?.balanceAmount }], v), n(1, v.Bonus = [{ amount: D[1]?.balanceAmount }], v), n(1, v.Total = [{ amount: Number(f) }], v);
5039
+ }, ze = (a, p, f) => {
5040
+ let m = null;
5041
+ switch (f.walletAccountType) {
5046
5042
  case "Ordinary":
5047
- (p.afterAmount !== p.affectedAmount || f.lastOrdinaryAfterAmount === 0) && (f.lastOrdinaryAfterAmount = p.afterAmount, f.showCreditLineAfterAmount || (c = p.afterAmount));
5043
+ (f.afterAmount !== f.affectedAmount || p.lastOrdinaryAfterAmount === 0) && (p.lastOrdinaryAfterAmount = f.afterAmount, p.showCreditLineAfterAmount || (m = f.afterAmount));
5048
5044
  break;
5049
5045
  case "CreditLine":
5050
- p.afterAmount !== 0 ? (c = p.afterAmount, f.showCreditLineAfterAmount = !0) : (c = f.lastOrdinaryAfterAmount, f.showCreditLineAfterAmount = !1);
5046
+ f.afterAmount !== 0 ? (m = f.afterAmount, p.showCreditLineAfterAmount = !0) : (m = p.lastOrdinaryAfterAmount, p.showCreditLineAfterAmount = !1);
5051
5047
  break;
5052
5048
  default:
5053
- c = p.afterAmount;
5049
+ m = f.afterAmount;
5054
5050
  }
5055
- return c === null ? a : c;
5051
+ return m === null ? a : m;
5056
5052
  }, ot = () => {
5057
- switch (T) {
5053
+ switch (S) {
5058
5054
  case "totalCashAmount":
5059
5055
  let a = 0;
5060
- for (const p of ["Real", "Bonus"])
5061
- for (const c of b[p])
5062
- a += Math.max(c.amount, 0);
5063
- n(1, b.Total[0].amount = a, b);
5056
+ for (const f of ["Real", "Bonus"])
5057
+ for (const m of v[f])
5058
+ a += Math.max(m.amount, 0);
5059
+ n(1, v.Total[0].amount = a, v);
5064
5060
  break;
5065
5061
  case "totalRealAmount":
5066
- if (!J)
5062
+ if (!Z)
5067
5063
  return;
5068
- let f = 0;
5069
- for (const p of b.Real)
5070
- f += p.amount;
5071
- n(1, b.Total[0].amount = f, b);
5064
+ let p = 0;
5065
+ for (const f of v.Real)
5066
+ p += f.amount;
5067
+ n(1, v.Total[0].amount = p, v);
5072
5068
  }
5073
- }, wt = (a) => {
5074
- const f = le(a.data);
5075
- if (!f) {
5076
- Ce();
5069
+ }, Tt = (a) => {
5070
+ const p = Oe(a.data);
5071
+ if (!p) {
5072
+ le();
5077
5073
  return;
5078
5074
  }
5079
- if (f.type !== "BALANCE_UPDATE_V2")
5075
+ if (p.type !== "BALANCE_UPDATE_V2")
5080
5076
  return;
5081
- const p = f.body.balanceChange;
5082
- for (const [c, v] of Object.entries(p))
5083
- if (T === "totalRealAmount" && c === "Real" && !J && n(1, b.Total[0].amount = Le(b.Total[0].amount, U, v), b), !!b[c])
5084
- for (const E of b[c]) {
5085
- if (!J) {
5086
- E.amount = c === "Real" ? Le(E.amount, U, v) : v.afterAmount;
5077
+ const f = p.body.balanceChange;
5078
+ for (const [m, y] of Object.entries(f))
5079
+ if (S === "totalRealAmount" && m === "Real" && !Z && n(1, v.Total[0].amount = ze(v.Total[0].amount, Y, y), v), !!v[m])
5080
+ for (const B of v[m]) {
5081
+ if (!Z) {
5082
+ B.amount = m === "Real" ? ze(B.amount, Y, y) : y.afterAmount;
5087
5083
  continue;
5088
5084
  }
5089
- v.productType === E.productType && (E.amount = c === "Real" ? Le(E.amount, U[E.productType], v) : v.afterAmount);
5085
+ y.productType === B.productType && (B.amount = m === "Real" ? ze(B.amount, Y[B.productType], y) : y.afterAmount);
5090
5086
  }
5091
5087
  ot();
5092
5088
  }, at = () => {
5093
- Be("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5094
- }, St = () => {
5095
- xe.includes(T) || (console.error(`Unsupported value ('${T}') for totalcalculationmode parameter. Only the following values are supported ${xe}. Using default value ('${xe[0]}').`), n(10, T = xe[0]));
5096
- }, Qe = () => {
5097
- switch (xo(s), St(), x) {
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 (xo(s), We(), _) {
5098
5094
  case "gmcore":
5099
- Te();
5095
+ Ae();
5100
5096
  break;
5101
5097
  case "gm16":
5102
- Ae();
5098
+ Xe();
5103
5099
  break;
5104
5100
  default:
5105
- throw Error(`Invalid apiversion attribute: ${x}`);
5101
+ throw Error(`Invalid apiversion attribute: ${_}`);
5106
5102
  }
5107
- }, Me = (a) => a.data && a.data.type === "LogoutSuccessfull" && G.close(), we = () => {
5103
+ }, ve = (a) => a.data && a.data.type === "LogoutSuccessfull" && I.close(), ie = () => {
5108
5104
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5109
5105
  };
5110
- mr(() => (window.addEventListener("message", Me, !1), () => {
5111
- window.removeEventListener("message", Me), G && G.close();
5106
+ mr(() => (window.addEventListener("message", ve, !1), () => {
5107
+ window.emMessageBus && z && z.unsubscribe(), window.removeEventListener("message", ve), I && I.close();
5112
5108
  }));
5113
- const re = () => Be("balance"), At = () => Be("closebalance"), Ct = () => at(), Ht = () => Be("closeBalance");
5114
- function st(a) {
5115
- Ft[a ? "unshift" : "push"](() => {
5116
- C = a, n(0, C);
5109
+ const wt = () => ye("balance"), St = () => ye("closebalance"), At = () => at(), st = () => ye("closeBalance");
5110
+ function c(a) {
5111
+ Dt[a ? "unshift" : "push"](() => {
5112
+ H = a, n(0, H);
5117
5113
  });
5118
5114
  }
5119
5115
  return e.$$set = (a) => {
5120
- "userid" in a && n(11, i = a.userid), "session" in a && n(12, o = a.session), "endpoint" in a && n(13, l = a.endpoint), "lang" in a && n(14, s = a.lang), "mbsource" in a && n(15, h = a.mbsource), "clientstyling" in a && n(16, u = a.clientstyling), "clientstylingurl" in a && n(17, d = a.clientstylingurl), "translationurl" in a && n(18, m = a.translationurl), "customlocaleidentifier" in a && n(19, g = a.customlocaleidentifier), "gmversion" in a && n(20, x = a.gmversion), "displaybalanceoption" in a && n(21, B = a.displaybalanceoption), "totalcalculationmode" in a && n(10, T = a.totalcalculationmode), "currencyseparator" in a && n(22, _ = a.currencyseparator), "currencydecimal" in a && n(23, S = a.currencydecimal), "currencyprecision" in a && n(24, P = a.currencyprecision);
5116
+ "userid" in a && n(11, i = a.userid), "session" in a && n(12, o = a.session), "endpoint" in a && n(13, l = a.endpoint), "lang" in a && n(14, s = a.lang), "mbsource" in a && n(15, h = a.mbsource), "clientstyling" in a && n(16, u = a.clientstyling), "clientstylingurl" in a && n(17, d = a.clientstylingurl), "translationurl" in a && n(18, g = a.translationurl), "customlocaleidentifier" in a && n(19, b = a.customlocaleidentifier), "gmversion" in a && n(20, _ = a.gmversion), "displaybalanceoption" in a && n(21, T = a.displaybalanceoption), "totalcalculationmode" in a && n(10, S = a.totalcalculationmode), "currencyseparator" in a && n(22, x = a.currencyseparator), "currencydecimal" in a && n(23, C = a.currencydecimal), "currencyprecision" in a && n(24, U = a.currencyprecision);
5121
5117
  }, e.$$.update = () => {
5122
5118
  e.$$.dirty[0] & /*lang*/
5123
- 16384 && s && Re(), e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5124
- 3176448 && l && i && o && s && x && B && Qe(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5125
- 1062912 && l && i && o && x && Ce(), e.$$.dirty[0] & /*translationurl*/
5126
- 262144 && m && Ze(), e.$$.dirty[0] & /*balances*/
5127
- 2 && b.Total && we(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5128
- 65537 && u && C && Hr(C, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5129
- 131073 && d && C && Or(C, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5130
- 32769 && h && C && Rr(C, `${h}.Style`);
5119
+ 16384 && s && ce(), e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5120
+ 3176448 && l && i && o && s && _ && T && Ze(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5121
+ 1062912 && l && i && o && _ && 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 && H && Hr(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5125
+ 131073 && d && H && Or(H, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5126
+ 32769 && h && H && Rr(H, `${h}.Style`);
5131
5127
  }, [
5132
- C,
5133
- b,
5134
- D,
5135
- W,
5136
- Y,
5137
- N,
5128
+ H,
5129
+ v,
5130
+ j,
5131
+ re,
5132
+ V,
5133
+ X,
5138
5134
  r,
5139
- Be,
5140
- pe,
5135
+ ye,
5136
+ we,
5141
5137
  at,
5142
- T,
5138
+ S,
5143
5139
  i,
5144
5140
  o,
5145
5141
  l,
@@ -5147,27 +5143,27 @@ function Mo(e, t, n) {
5147
5143
  h,
5148
5144
  u,
5149
5145
  d,
5150
- m,
5151
5146
  g,
5152
- x,
5153
- B,
5147
+ b,
5154
5148
  _,
5155
- S,
5156
- P,
5157
- re,
5149
+ T,
5150
+ x,
5151
+ C,
5152
+ U,
5153
+ wt,
5154
+ St,
5158
5155
  At,
5159
- Ct,
5160
- Ht,
5161
- st
5156
+ st,
5157
+ c
5162
5158
  ];
5163
5159
  }
5164
- class No extends Ar {
5160
+ class Mo extends Ar {
5165
5161
  constructor(t) {
5166
5162
  super(), wr(
5167
5163
  this,
5168
5164
  t,
5169
- Mo,
5170
5165
  Lo,
5166
+ Ro,
5171
5167
  Hn,
5172
5168
  {
5173
5169
  userid: 11,
@@ -5186,7 +5182,7 @@ class No extends Ar {
5186
5182
  currencydecimal: 23,
5187
5183
  currencyprecision: 24
5188
5184
  },
5189
- Ho,
5185
+ Co,
5190
5186
  [-1, -1]
5191
5187
  );
5192
5188
  }
@@ -5194,94 +5190,94 @@ class No extends Ar {
5194
5190
  return this.$$.ctx[11];
5195
5191
  }
5196
5192
  set userid(t) {
5197
- this.$$set({ userid: t }), Q();
5193
+ this.$$set({ userid: t }), J();
5198
5194
  }
5199
5195
  get session() {
5200
5196
  return this.$$.ctx[12];
5201
5197
  }
5202
5198
  set session(t) {
5203
- this.$$set({ session: t }), Q();
5199
+ this.$$set({ session: t }), J();
5204
5200
  }
5205
5201
  get endpoint() {
5206
5202
  return this.$$.ctx[13];
5207
5203
  }
5208
5204
  set endpoint(t) {
5209
- this.$$set({ endpoint: t }), Q();
5205
+ this.$$set({ endpoint: t }), J();
5210
5206
  }
5211
5207
  get lang() {
5212
5208
  return this.$$.ctx[14];
5213
5209
  }
5214
5210
  set lang(t) {
5215
- this.$$set({ lang: t }), Q();
5211
+ this.$$set({ lang: t }), J();
5216
5212
  }
5217
5213
  get mbsource() {
5218
5214
  return this.$$.ctx[15];
5219
5215
  }
5220
5216
  set mbsource(t) {
5221
- this.$$set({ mbsource: t }), Q();
5217
+ this.$$set({ mbsource: t }), J();
5222
5218
  }
5223
5219
  get clientstyling() {
5224
5220
  return this.$$.ctx[16];
5225
5221
  }
5226
5222
  set clientstyling(t) {
5227
- this.$$set({ clientstyling: t }), Q();
5223
+ this.$$set({ clientstyling: t }), J();
5228
5224
  }
5229
5225
  get clientstylingurl() {
5230
5226
  return this.$$.ctx[17];
5231
5227
  }
5232
5228
  set clientstylingurl(t) {
5233
- this.$$set({ clientstylingurl: t }), Q();
5229
+ this.$$set({ clientstylingurl: t }), J();
5234
5230
  }
5235
5231
  get translationurl() {
5236
5232
  return this.$$.ctx[18];
5237
5233
  }
5238
5234
  set translationurl(t) {
5239
- this.$$set({ translationurl: t }), Q();
5235
+ this.$$set({ translationurl: t }), J();
5240
5236
  }
5241
5237
  get customlocaleidentifier() {
5242
5238
  return this.$$.ctx[19];
5243
5239
  }
5244
5240
  set customlocaleidentifier(t) {
5245
- this.$$set({ customlocaleidentifier: t }), Q();
5241
+ this.$$set({ customlocaleidentifier: t }), J();
5246
5242
  }
5247
5243
  get gmversion() {
5248
5244
  return this.$$.ctx[20];
5249
5245
  }
5250
5246
  set gmversion(t) {
5251
- this.$$set({ gmversion: t }), Q();
5247
+ this.$$set({ gmversion: t }), J();
5252
5248
  }
5253
5249
  get displaybalanceoption() {
5254
5250
  return this.$$.ctx[21];
5255
5251
  }
5256
5252
  set displaybalanceoption(t) {
5257
- this.$$set({ displaybalanceoption: t }), Q();
5253
+ this.$$set({ displaybalanceoption: t }), J();
5258
5254
  }
5259
5255
  get totalcalculationmode() {
5260
5256
  return this.$$.ctx[10];
5261
5257
  }
5262
5258
  set totalcalculationmode(t) {
5263
- this.$$set({ totalcalculationmode: t }), Q();
5259
+ this.$$set({ totalcalculationmode: t }), J();
5264
5260
  }
5265
5261
  get currencyseparator() {
5266
5262
  return this.$$.ctx[22];
5267
5263
  }
5268
5264
  set currencyseparator(t) {
5269
- this.$$set({ currencyseparator: t }), Q();
5265
+ this.$$set({ currencyseparator: t }), J();
5270
5266
  }
5271
5267
  get currencydecimal() {
5272
5268
  return this.$$.ctx[23];
5273
5269
  }
5274
5270
  set currencydecimal(t) {
5275
- this.$$set({ currencydecimal: t }), Q();
5271
+ this.$$set({ currencydecimal: t }), J();
5276
5272
  }
5277
5273
  get currencyprecision() {
5278
5274
  return this.$$.ctx[24];
5279
5275
  }
5280
5276
  set currencyprecision(t) {
5281
- this.$$set({ currencyprecision: t }), Q();
5277
+ this.$$set({ currencyprecision: t }), J();
5282
5278
  }
5283
5279
  }
5284
- Sr(No, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
5280
+ Sr(Mo, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, customlocaleidentifier: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, currencyseparator: {}, currencydecimal: {}, currencyprecision: {} }, [], [], !0);
5285
5281
  export {
5286
- No as P
5282
+ Mo as P
5287
5283
  };