@everymatrix/player-account-balance-modal-nd 1.86.28 → 1.86.30

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.
@@ -85,7 +85,7 @@ function Mn() {
85
85
  function st(e, t, r, n) {
86
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
87
87
  }
88
- function R(e, t, r) {
88
+ function L(e, t, r) {
89
89
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
90
90
  }
91
91
  function Pn(e) {
@@ -185,8 +185,8 @@ function Xn(e, t) {
185
185
  function zn(e, t) {
186
186
  e.$$.dirty[0] === -1 && (Ve.push(e), Fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
187
187
  }
188
- function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
189
- const c = lt;
188
+ function Wn(e, t, r, n, i, o, a = null, s = [-1]) {
189
+ const l = lt;
190
190
  at(e);
191
191
  const u = e.$$ = {
192
192
  fragment: null,
@@ -202,14 +202,14 @@ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
202
202
  on_disconnect: [],
203
203
  before_update: [],
204
204
  after_update: [],
205
- context: new Map(t.context || (c ? c.$$.context : [])),
205
+ context: new Map(t.context || (l ? l.$$.context : [])),
206
206
  // everything else
207
207
  callbacks: dr(),
208
- dirty: a,
208
+ dirty: s,
209
209
  skip_bound: !1,
210
- root: t.target || c.$$.root
210
+ root: t.target || l.$$.root
211
211
  };
212
- s && s(u.root);
212
+ a && a(u.root);
213
213
  let f = !1;
214
214
  if (u.ctx = r ? r(e, t.props || {}, (m, d, ...g) => {
215
215
  const v = g.length ? g[0] : d;
@@ -222,7 +222,7 @@ function Wn(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  u.fragment && u.fragment.c();
223
223
  t.intro && $n(e.$$.fragment), Vn(e, t.target, t.anchor), Z();
224
224
  }
225
- at(c);
225
+ at(l);
226
226
  }
227
227
  let qr;
228
228
  typeof HTMLElement == "function" && (qr = class extends HTMLElement {
@@ -267,17 +267,17 @@ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
267
267
  let o;
268
268
  return {
269
269
  c: function() {
270
- o = X("slot"), i !== "default" && R(o, "name", i);
270
+ o = X("slot"), i !== "default" && L(o, "name", i);
271
271
  },
272
272
  /**
273
273
  * @param {HTMLElement} target
274
274
  * @param {HTMLElement} [anchor]
275
275
  */
276
- m: function(c, u) {
277
- _e(c, o, u);
276
+ m: function(l, u) {
277
+ _e(l, o, u);
278
278
  },
279
- d: function(c) {
280
- c && ve(o);
279
+ d: function(l) {
280
+ l && ve(o);
281
281
  }
282
282
  };
283
283
  };
@@ -320,8 +320,8 @@ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
320
320
  this.$$c.$$.after_update.push(n), n();
321
321
  for (const i in this.$$l)
322
322
  for (const o of this.$$l[i]) {
323
- const s = this.$$c.$on(i, o);
324
- this.$$l_u.set(o, s);
323
+ const a = this.$$c.$on(i, o);
324
+ this.$$l_u.set(o, a);
325
325
  }
326
326
  this.$$l = {};
327
327
  }
@@ -372,33 +372,33 @@ function gt(e, t, r, n) {
372
372
  }
373
373
  }
374
374
  function Zn(e, t, r, n, i, o) {
375
- let s = class extends qr {
375
+ let a = class extends qr {
376
376
  constructor() {
377
377
  super(e, r, i), this.$$p_d = t;
378
378
  }
379
379
  static get observedAttributes() {
380
380
  return Object.keys(t).map(
381
- (a) => (t[a].attribute || a).toLowerCase()
381
+ (s) => (t[s].attribute || s).toLowerCase()
382
382
  );
383
383
  }
384
384
  };
385
- return Object.keys(t).forEach((a) => {
386
- Object.defineProperty(s.prototype, a, {
385
+ return Object.keys(t).forEach((s) => {
386
+ Object.defineProperty(a.prototype, s, {
387
387
  get() {
388
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
388
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
389
389
  },
390
- set(c) {
391
- c = gt(a, c, t), this.$$d[a] = c, this.$$c?.$set({ [a]: c });
390
+ set(l) {
391
+ l = gt(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
392
392
  }
393
393
  });
394
- }), n.forEach((a) => {
395
- Object.defineProperty(s.prototype, a, {
394
+ }), n.forEach((s) => {
395
+ Object.defineProperty(a.prototype, s, {
396
396
  get() {
397
- return this.$$c?.[a];
397
+ return this.$$c?.[s];
398
398
  }
399
399
  });
400
400
  }), e.element = /** @type {any} */
401
- s, s;
401
+ a, a;
402
402
  }
403
403
  class qn {
404
404
  /**
@@ -480,57 +480,57 @@ function ei(e, t) {
480
480
  function Bt(e, t = ye) {
481
481
  let r;
482
482
  const n = /* @__PURE__ */ new Set();
483
- function i(a) {
484
- if (zr(e, a) && (e = a, r)) {
485
- const c = !$e.length;
483
+ function i(s) {
484
+ if (zr(e, s) && (e = s, r)) {
485
+ const l = !$e.length;
486
486
  for (const u of n)
487
487
  u[1](), $e.push(u, e);
488
- if (c) {
488
+ if (l) {
489
489
  for (let u = 0; u < $e.length; u += 2)
490
490
  $e[u][0]($e[u + 1]);
491
491
  $e.length = 0;
492
492
  }
493
493
  }
494
494
  }
495
- function o(a) {
496
- i(a(e));
495
+ function o(s) {
496
+ i(s(e));
497
497
  }
498
- function s(a, c = ye) {
499
- const u = [a, c];
500
- return n.add(u), n.size === 1 && (r = t(i, o) || ye), a(e), () => {
498
+ function a(s, l = ye) {
499
+ const u = [s, l];
500
+ return n.add(u), n.size === 1 && (r = t(i, o) || ye), s(e), () => {
501
501
  n.delete(u), n.size === 0 && r && (r(), r = null);
502
502
  };
503
503
  }
504
- return { set: i, update: o, subscribe: s };
504
+ return { set: i, update: o, subscribe: a };
505
505
  }
506
506
  function Qe(e, t, r) {
507
507
  const n = !Array.isArray(e), i = n ? [e] : e;
508
508
  if (!i.every(Boolean))
509
509
  throw new Error("derived() expects stores as input, got a falsy value");
510
510
  const o = t.length < 2;
511
- return ei(r, (s, a) => {
512
- let c = !1;
511
+ return ei(r, (a, s) => {
512
+ let l = !1;
513
513
  const u = [];
514
514
  let f = 0, m = ye;
515
515
  const d = () => {
516
516
  if (f)
517
517
  return;
518
518
  m();
519
- const v = t(n ? u[0] : u, s, a);
520
- o ? s(v) : m = ur(v) ? v : ye;
519
+ const v = t(n ? u[0] : u, a, s);
520
+ o ? a(v) : m = ur(v) ? v : ye;
521
521
  }, g = i.map(
522
522
  (v, S) => Wr(
523
523
  v,
524
524
  (K) => {
525
- u[S] = K, f &= ~(1 << S), c && d();
525
+ u[S] = K, f &= ~(1 << S), l && d();
526
526
  },
527
527
  () => {
528
528
  f |= 1 << S;
529
529
  }
530
530
  )
531
531
  );
532
- return c = !0, d(), function() {
533
- Ye(g), m(), c = !1;
532
+ return l = !0, d(), function() {
533
+ Ye(g), m(), l = !1;
534
534
  };
535
535
  });
536
536
  }
@@ -709,10 +709,10 @@ var wi = function() {
709
709
  return t;
710
710
  }, xt.apply(this, arguments);
711
711
  };
712
- var L;
712
+ var R;
713
713
  (function(e) {
714
714
  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";
715
- })(L || (L = {}));
715
+ })(R || (R = {}));
716
716
  var V;
717
717
  (function(e) {
718
718
  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";
@@ -863,15 +863,15 @@ function Li(e) {
863
863
  for (var t = e.split(Oi).filter(function(d) {
864
864
  return d.length > 0;
865
865
  }), r = [], n = 0, i = t; n < i.length; n++) {
866
- var o = i[n], s = o.split("/");
867
- if (s.length === 0)
866
+ var o = i[n], a = o.split("/");
867
+ if (a.length === 0)
868
868
  throw new Error("Invalid number skeleton");
869
- for (var a = s[0], c = s.slice(1), u = 0, f = c; u < f.length; u++) {
869
+ for (var s = a[0], l = a.slice(1), u = 0, f = l; u < f.length; u++) {
870
870
  var m = f[u];
871
871
  if (m.length === 0)
872
872
  throw new Error("Invalid number skeleton");
873
873
  }
874
- r.push({ stem: a, options: c });
874
+ r.push({ stem: s, options: l });
875
875
  }
876
876
  return r;
877
877
  }
@@ -978,13 +978,13 @@ function Ni(e) {
978
978
  t.notation = "compact", t.compactDisplay = "long";
979
979
  continue;
980
980
  case "scientific":
981
- t = q(q(q({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
982
- return q(q({}, c), _r(u));
981
+ t = q(q(q({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
982
+ return q(q({}, l), _r(u));
983
983
  }, {}));
984
984
  continue;
985
985
  case "engineering":
986
- t = q(q(q({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
987
- return q(q({}, c), _r(u));
986
+ t = q(q(q({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
987
+ return q(q({}, l), _r(u));
988
988
  }, {}));
989
989
  continue;
990
990
  case "notation-simple":
@@ -1029,7 +1029,7 @@ function Ni(e) {
1029
1029
  case "integer-width":
1030
1030
  if (i.options.length > 1)
1031
1031
  throw new RangeError("integer-width stems only accept a single optional option");
1032
- i.options[0].replace(Mi, function(c, u, f, m, d, g) {
1032
+ i.options[0].replace(Mi, function(l, u, f, m, d, g) {
1033
1033
  if (u)
1034
1034
  t.minimumIntegerDigits = f.length;
1035
1035
  else {
@@ -1049,7 +1049,7 @@ function Ni(e) {
1049
1049
  if (yr.test(i.stem)) {
1050
1050
  if (i.options.length > 1)
1051
1051
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1052
- i.stem.replace(yr, function(c, u, f, m, d, g) {
1052
+ i.stem.replace(yr, function(l, u, f, m, d, g) {
1053
1053
  return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1054
1054
  });
1055
1055
  var o = i.options[0];
@@ -1060,10 +1060,10 @@ function Ni(e) {
1060
1060
  t = q(q({}, t), vr(i.stem));
1061
1061
  continue;
1062
1062
  }
1063
- var s = cn(i.stem);
1064
- s && (t = q(q({}, t), s));
1065
- var a = Pi(i.stem);
1063
+ var a = cn(i.stem);
1066
1064
  a && (t = q(q({}, t), a));
1065
+ var s = Pi(i.stem);
1066
+ s && (t = q(q({}, t), s));
1067
1067
  }
1068
1068
  return t;
1069
1069
  }
@@ -2488,10 +2488,10 @@ function Ii(e, t) {
2488
2488
  if (i === "j") {
2489
2489
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2490
2490
  o++, n++;
2491
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = Di(t);
2492
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2493
- r += c;
2494
- for (; s-- > 0; )
2491
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Di(t);
2492
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2493
+ r += l;
2494
+ for (; a-- > 0; )
2495
2495
  r = u + r;
2496
2496
  } else
2497
2497
  i === "J" ? r += "H" : r += i;
@@ -2548,10 +2548,10 @@ var Er = Gi ? (
2548
2548
  function() {
2549
2549
  for (var t = [], r = 0; r < arguments.length; r++)
2550
2550
  t[r] = arguments[r];
2551
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2552
- if (s = t[o++], s > 1114111)
2553
- throw RangeError(s + " is not a valid code point");
2554
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2551
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
2552
+ if (a = t[o++], a > 1114111)
2553
+ throw RangeError(a + " is not a valid code point");
2554
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2555
2555
  }
2556
2556
  return n;
2557
2557
  }
@@ -2561,8 +2561,8 @@ var Er = Gi ? (
2561
2561
  // Ponyfill
2562
2562
  function(t) {
2563
2563
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2564
- var o = i[n], s = o[0], a = o[1];
2565
- r[s] = a;
2564
+ var o = i[n], a = o[0], s = o[1];
2565
+ r[a] = s;
2566
2566
  }
2567
2567
  return r;
2568
2568
  }
@@ -2638,33 +2638,33 @@ var Qi = (
2638
2638
  for (var i = []; !this.isEOF(); ) {
2639
2639
  var o = this.char();
2640
2640
  if (o === 123) {
2641
- var s = this.parseArgument(t, n);
2642
- if (s.err)
2643
- return s;
2644
- i.push(s.val);
2641
+ var a = this.parseArgument(t, n);
2642
+ if (a.err)
2643
+ return a;
2644
+ i.push(a.val);
2645
2645
  } else {
2646
2646
  if (o === 125 && t > 0)
2647
2647
  break;
2648
2648
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2649
- var a = this.clonePosition();
2649
+ var s = this.clonePosition();
2650
2650
  this.bump(), i.push({
2651
2651
  type: V.pound,
2652
- location: N(a, this.clonePosition())
2652
+ location: N(s, this.clonePosition())
2653
2653
  });
2654
2654
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2655
2655
  if (n)
2656
2656
  break;
2657
- return this.error(L.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2657
+ return this.error(R.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2658
2658
  } else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
2659
- var s = this.parseTag(t, r);
2660
- if (s.err)
2661
- return s;
2662
- i.push(s.val);
2659
+ var a = this.parseTag(t, r);
2660
+ if (a.err)
2661
+ return a;
2662
+ i.push(a.val);
2663
2663
  } else {
2664
- var s = this.parseLiteral(t, r);
2665
- if (s.err)
2666
- return s;
2667
- i.push(s.val);
2664
+ var a = this.parseLiteral(t, r);
2665
+ if (a.err)
2666
+ return a;
2667
+ i.push(a.val);
2668
2668
  }
2669
2669
  }
2670
2670
  }
@@ -2686,24 +2686,24 @@ var Qi = (
2686
2686
  var o = this.parseMessage(t + 1, r, !0);
2687
2687
  if (o.err)
2688
2688
  return o;
2689
- var s = o.val, a = this.clonePosition();
2689
+ var a = o.val, s = this.clonePosition();
2690
2690
  if (this.bumpIf("</")) {
2691
2691
  if (this.isEOF() || !Jt(this.char()))
2692
- return this.error(L.INVALID_TAG, N(a, this.clonePosition()));
2693
- var c = this.clonePosition(), u = this.parseTagName();
2694
- return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, N(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2692
+ return this.error(R.INVALID_TAG, N(s, this.clonePosition()));
2693
+ var l = this.clonePosition(), u = this.parseTagName();
2694
+ return i !== u ? this.error(R.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2695
2695
  val: {
2696
2696
  type: V.tag,
2697
2697
  value: i,
2698
- children: s,
2698
+ children: a,
2699
2699
  location: N(n, this.clonePosition())
2700
2700
  },
2701
2701
  err: null
2702
- } : this.error(L.INVALID_TAG, N(a, this.clonePosition())));
2702
+ } : this.error(R.INVALID_TAG, N(s, this.clonePosition())));
2703
2703
  } else
2704
- return this.error(L.UNCLOSED_TAG, N(n, this.clonePosition()));
2704
+ return this.error(R.UNCLOSED_TAG, N(n, this.clonePosition()));
2705
2705
  } else
2706
- return this.error(L.INVALID_TAG, N(n, this.clonePosition()));
2706
+ return this.error(R.INVALID_TAG, N(n, this.clonePosition()));
2707
2707
  }, e.prototype.parseTagName = function() {
2708
2708
  var t = this.offset();
2709
2709
  for (this.bump(); !this.isEOF() && Ki(this.char()); )
@@ -2716,21 +2716,21 @@ var Qi = (
2716
2716
  i += o;
2717
2717
  continue;
2718
2718
  }
2719
- var s = this.tryParseUnquoted(t, r);
2720
- if (s) {
2721
- i += s;
2722
- continue;
2723
- }
2724
- var a = this.tryParseLeftAngleBracket();
2719
+ var a = this.tryParseUnquoted(t, r);
2725
2720
  if (a) {
2726
2721
  i += a;
2727
2722
  continue;
2728
2723
  }
2724
+ var s = this.tryParseLeftAngleBracket();
2725
+ if (s) {
2726
+ i += s;
2727
+ continue;
2728
+ }
2729
2729
  break;
2730
2730
  }
2731
- var c = N(n, this.clonePosition());
2731
+ var l = N(n, this.clonePosition());
2732
2732
  return {
2733
- val: { type: V.literal, value: i, location: c },
2733
+ val: { type: V.literal, value: i, location: l },
2734
2734
  err: null
2735
2735
  };
2736
2736
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2778,14 +2778,14 @@ var Qi = (
2778
2778
  }, e.prototype.parseArgument = function(t, r) {
2779
2779
  var n = this.clonePosition();
2780
2780
  if (this.bump(), this.bumpSpace(), this.isEOF())
2781
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2781
+ return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2782
2782
  if (this.char() === 125)
2783
- return this.bump(), this.error(L.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2783
+ return this.bump(), this.error(R.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2784
2784
  var i = this.parseIdentifierIfPossible().value;
2785
2785
  if (!i)
2786
- return this.error(L.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2786
+ return this.error(R.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2787
2787
  if (this.bumpSpace(), this.isEOF())
2788
- return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2788
+ return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2789
2789
  switch (this.char()) {
2790
2790
  case 125:
2791
2791
  return this.bump(), {
@@ -2798,20 +2798,20 @@ var Qi = (
2798
2798
  err: null
2799
2799
  };
2800
2800
  case 44:
2801
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2801
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2802
2802
  default:
2803
- return this.error(L.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2803
+ return this.error(R.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2804
2804
  }
2805
2805
  }, e.prototype.parseIdentifierIfPossible = function() {
2806
2806
  var t = this.clonePosition(), r = this.offset(), n = Qt(this.message, r), i = r + n.length;
2807
2807
  this.bumpTo(i);
2808
- var o = this.clonePosition(), s = N(t, o);
2809
- return { value: n, location: s };
2808
+ var o = this.clonePosition(), a = N(t, o);
2809
+ return { value: n, location: a };
2810
2810
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2811
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2812
- switch (a) {
2811
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2812
+ switch (s) {
2813
2813
  case "":
2814
- return this.error(L.EXPECT_ARGUMENT_TYPE, N(s, c));
2814
+ return this.error(R.EXPECT_ARGUMENT_TYPE, N(a, l));
2815
2815
  case "number":
2816
2816
  case "date":
2817
2817
  case "time": {
@@ -2824,7 +2824,7 @@ var Qi = (
2824
2824
  return m;
2825
2825
  var d = Yi(m.val);
2826
2826
  if (d.length === 0)
2827
- return this.error(L.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2827
+ return this.error(R.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2828
2828
  var g = N(f, this.clonePosition());
2829
2829
  u = { style: d, styleLocation: g };
2830
2830
  }
@@ -2834,7 +2834,7 @@ var Qi = (
2834
2834
  var S = N(i, this.clonePosition());
2835
2835
  if (u && Er(u?.style, "::", 0)) {
2836
2836
  var K = qi(u.style.slice(2));
2837
- if (a === "number") {
2837
+ if (s === "number") {
2838
2838
  var m = this.parseNumberSkeletonFromString(K, u.styleLocation);
2839
2839
  return m.err ? m : {
2840
2840
  val: { type: V.number, value: n, location: S, style: m.val },
@@ -2842,7 +2842,7 @@ var Qi = (
2842
2842
  };
2843
2843
  } else {
2844
2844
  if (K.length === 0)
2845
- return this.error(L.EXPECT_DATE_TIME_SKELETON, S);
2845
+ return this.error(R.EXPECT_DATE_TIME_SKELETON, S);
2846
2846
  var oe = K;
2847
2847
  this.locale && (oe = Ii(K, this.locale));
2848
2848
  var d = {
@@ -2850,7 +2850,7 @@ var Qi = (
2850
2850
  pattern: oe,
2851
2851
  location: u.styleLocation,
2852
2852
  parsedOptions: this.shouldParseSkeletons ? Hi(oe) : {}
2853
- }, se = a === "date" ? V.date : V.time;
2853
+ }, se = s === "date" ? V.date : V.time;
2854
2854
  return {
2855
2855
  val: { type: se, value: n, location: S, style: d },
2856
2856
  err: null
@@ -2859,7 +2859,7 @@ var Qi = (
2859
2859
  }
2860
2860
  return {
2861
2861
  val: {
2862
- type: a === "number" ? V.number : a === "date" ? V.date : V.time,
2862
+ type: s === "number" ? V.number : s === "date" ? V.date : V.time,
2863
2863
  value: n,
2864
2864
  location: S,
2865
2865
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2872,26 +2872,26 @@ var Qi = (
2872
2872
  case "select": {
2873
2873
  var D = this.clonePosition();
2874
2874
  if (this.bumpSpace(), !this.bumpIf(","))
2875
- return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, N(D, xt({}, D)));
2875
+ return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS, N(D, xt({}, D)));
2876
2876
  this.bumpSpace();
2877
2877
  var k = this.parseIdentifierIfPossible(), Y = 0;
2878
- if (a !== "select" && k.value === "offset") {
2878
+ if (s !== "select" && k.value === "offset") {
2879
2879
  if (!this.bumpIf(":"))
2880
- return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2880
+ return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2881
2881
  this.bumpSpace();
2882
- var m = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2882
+ var m = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2883
2883
  if (m.err)
2884
2884
  return m;
2885
2885
  this.bumpSpace(), k = this.parseIdentifierIfPossible(), Y = m.val;
2886
2886
  }
2887
- var ae = this.tryParsePluralOrSelectOptions(t, a, r, k);
2887
+ var ae = this.tryParsePluralOrSelectOptions(t, s, r, k);
2888
2888
  if (ae.err)
2889
2889
  return ae;
2890
2890
  var v = this.tryParseArgumentClose(i);
2891
2891
  if (v.err)
2892
2892
  return v;
2893
2893
  var me = N(i, this.clonePosition());
2894
- return a === "select" ? {
2894
+ return s === "select" ? {
2895
2895
  val: {
2896
2896
  type: V.select,
2897
2897
  value: n,
@@ -2905,17 +2905,17 @@ var Qi = (
2905
2905
  value: n,
2906
2906
  options: xr(ae.val),
2907
2907
  offset: Y,
2908
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2908
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
2909
2909
  location: me
2910
2910
  },
2911
2911
  err: null
2912
2912
  };
2913
2913
  }
2914
2914
  default:
2915
- return this.error(L.INVALID_ARGUMENT_TYPE, N(s, c));
2915
+ return this.error(R.INVALID_ARGUMENT_TYPE, N(a, l));
2916
2916
  }
2917
2917
  }, e.prototype.tryParseArgumentClose = function(t) {
2918
- return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2918
+ return this.isEOF() || this.char() !== 125 ? this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2919
2919
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2920
2920
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2921
2921
  var n = this.char();
@@ -2924,7 +2924,7 @@ var Qi = (
2924
2924
  this.bump();
2925
2925
  var i = this.clonePosition();
2926
2926
  if (!this.bumpUntil("'"))
2927
- return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2927
+ return this.error(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2928
2928
  this.bump();
2929
2929
  break;
2930
2930
  }
@@ -2956,7 +2956,7 @@ var Qi = (
2956
2956
  try {
2957
2957
  n = Li(t);
2958
2958
  } catch {
2959
- return this.error(L.INVALID_NUMBER_SKELETON, r);
2959
+ return this.error(R.INVALID_NUMBER_SKELETON, r);
2960
2960
  }
2961
2961
  return {
2962
2962
  val: {
@@ -2968,50 +2968,50 @@ var Qi = (
2968
2968
  err: null
2969
2969
  };
2970
2970
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2971
- for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
2971
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, f = i.location; ; ) {
2972
2972
  if (u.length === 0) {
2973
2973
  var m = this.clonePosition();
2974
2974
  if (r !== "select" && this.bumpIf("=")) {
2975
- var d = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
2975
+ var d = this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR, R.INVALID_PLURAL_ARGUMENT_SELECTOR);
2976
2976
  if (d.err)
2977
2977
  return d;
2978
2978
  f = N(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2979
2979
  } else
2980
2980
  break;
2981
2981
  }
2982
- if (c.has(u))
2983
- return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2984
- u === "other" && (s = !0), this.bumpSpace();
2982
+ if (l.has(u))
2983
+ return this.error(r === "select" ? R.DUPLICATE_SELECT_ARGUMENT_SELECTOR : R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2984
+ u === "other" && (a = !0), this.bumpSpace();
2985
2985
  var g = this.clonePosition();
2986
2986
  if (!this.bumpIf("{"))
2987
- return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2987
+ return this.error(r === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2988
2988
  var v = this.parseMessage(t + 1, r, n);
2989
2989
  if (v.err)
2990
2990
  return v;
2991
2991
  var S = this.tryParseArgumentClose(g);
2992
2992
  if (S.err)
2993
2993
  return S;
2994
- a.push([
2994
+ s.push([
2995
2995
  u,
2996
2996
  {
2997
2997
  value: v.val,
2998
2998
  location: N(g, this.clonePosition())
2999
2999
  }
3000
- ]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3000
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3001
3001
  }
3002
- return a.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(L.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3002
+ return s.length === 0 ? this.error(r === "select" ? R.EXPECT_SELECT_ARGUMENT_SELECTOR : R.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(R.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3003
3003
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3004
3004
  var n = 1, i = this.clonePosition();
3005
3005
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3006
- for (var o = !1, s = 0; !this.isEOF(); ) {
3007
- var a = this.char();
3008
- if (a >= 48 && a <= 57)
3009
- o = !0, s = s * 10 + (a - 48), this.bump();
3006
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3007
+ var s = this.char();
3008
+ if (s >= 48 && s <= 57)
3009
+ o = !0, a = a * 10 + (s - 48), this.bump();
3010
3010
  else
3011
3011
  break;
3012
3012
  }
3013
- var c = N(i, this.clonePosition());
3014
- return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3013
+ var l = N(i, this.clonePosition());
3014
+ return o ? (a *= n, Wi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3015
3015
  }, e.prototype.offset = function() {
3016
3016
  return this.position.offset;
3017
3017
  }, e.prototype.isEOF = function() {
@@ -3105,7 +3105,7 @@ function to(e, t) {
3105
3105
  t === void 0 && (t = {}), t = xt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3106
3106
  var r = new Qi(e, t).parse();
3107
3107
  if (r.err) {
3108
- var n = SyntaxError(L[r.err.kind]);
3108
+ var n = SyntaxError(R[r.err.kind]);
3109
3109
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3110
3110
  }
3111
3111
  return t?.captureLocation || Kt(r.val), r.val;
@@ -3166,7 +3166,7 @@ function io(e) {
3166
3166
  function oo(e) {
3167
3167
  return typeof e == "function";
3168
3168
  }
3169
- function yt(e, t, r, n, i, o, s) {
3169
+ function yt(e, t, r, n, i, o, a) {
3170
3170
  if (e.length === 1 && gr(e[0]))
3171
3171
  return [
3172
3172
  {
@@ -3174,17 +3174,17 @@ function yt(e, t, r, n, i, o, s) {
3174
3174
  value: e[0].value
3175
3175
  }
3176
3176
  ];
3177
- for (var a = [], c = 0, u = e; c < u.length; c++) {
3178
- var f = u[c];
3177
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3178
+ var f = u[l];
3179
3179
  if (gr(f)) {
3180
- a.push({
3180
+ s.push({
3181
3181
  type: he.literal,
3182
3182
  value: f.value
3183
3183
  });
3184
3184
  continue;
3185
3185
  }
3186
3186
  if (Ai(f)) {
3187
- typeof o == "number" && a.push({
3187
+ typeof o == "number" && s.push({
3188
3188
  type: he.literal,
3189
3189
  value: r.getNumberFormat(t).format(o)
3190
3190
  });
@@ -3192,10 +3192,10 @@ function yt(e, t, r, n, i, o, s) {
3192
3192
  }
3193
3193
  var m = f.value;
3194
3194
  if (!(i && m in i))
3195
- throw new no(m, s);
3195
+ throw new no(m, a);
3196
3196
  var d = i[m];
3197
3197
  if (Ti(f)) {
3198
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3198
+ (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3199
3199
  type: typeof d == "string" ? he.literal : he.object,
3200
3200
  value: d
3201
3201
  });
@@ -3203,7 +3203,7 @@ function yt(e, t, r, n, i, o, s) {
3203
3203
  }
3204
3204
  if (en(f)) {
3205
3205
  var g = typeof f.style == "string" ? n.date[f.style] : Zt(f.style) ? f.style.parsedOptions : void 0;
3206
- a.push({
3206
+ s.push({
3207
3207
  type: he.literal,
3208
3208
  value: r.getDateTimeFormat(t, g).format(d)
3209
3209
  });
@@ -3211,7 +3211,7 @@ function yt(e, t, r, n, i, o, s) {
3211
3211
  }
3212
3212
  if (tn(f)) {
3213
3213
  var g = typeof f.style == "string" ? n.time[f.style] : Zt(f.style) ? f.style.parsedOptions : n.time.medium;
3214
- a.push({
3214
+ s.push({
3215
3215
  type: he.literal,
3216
3216
  value: r.getDateTimeFormat(t, g).format(d)
3217
3217
  });
@@ -3219,7 +3219,7 @@ function yt(e, t, r, n, i, o, s) {
3219
3219
  }
3220
3220
  if (Kr(f)) {
3221
3221
  var g = typeof f.style == "string" ? n.number[f.style] : an(f.style) ? f.style.parsedOptions : void 0;
3222
- g && g.scale && (d = d * (g.scale || 1)), a.push({
3222
+ g && g.scale && (d = d * (g.scale || 1)), s.push({
3223
3223
  type: he.literal,
3224
3224
  value: r.getNumberFormat(t, g).format(d)
3225
3225
  });
@@ -3228,11 +3228,11 @@ function yt(e, t, r, n, i, o, s) {
3228
3228
  if (on(f)) {
3229
3229
  var v = f.children, S = f.value, K = i[S];
3230
3230
  if (!oo(K))
3231
- throw new ro(S, "function", s);
3231
+ throw new ro(S, "function", a);
3232
3232
  var oe = yt(v, t, r, n, i, o), se = K(oe.map(function(Y) {
3233
3233
  return Y.value;
3234
3234
  }));
3235
- Array.isArray(se) || (se = [se]), a.push.apply(a, se.map(function(Y) {
3235
+ Array.isArray(se) || (se = [se]), s.push.apply(s, se.map(function(Y) {
3236
3236
  return {
3237
3237
  type: typeof Y == "string" ? he.literal : he.object,
3238
3238
  value: Y
@@ -3242,8 +3242,8 @@ function yt(e, t, r, n, i, o, s) {
3242
3242
  if (rn(f)) {
3243
3243
  var D = f.options[d] || f.options.other;
3244
3244
  if (!D)
3245
- throw new Sr(f.value, d, Object.keys(f.options), s);
3246
- a.push.apply(a, yt(D.value, t, r, n, i));
3245
+ throw new Sr(f.value, d, Object.keys(f.options), a);
3246
+ s.push.apply(s, yt(D.value, t, r, n, i));
3247
3247
  continue;
3248
3248
  }
3249
3249
  if (nn(f)) {
@@ -3252,17 +3252,17 @@ function yt(e, t, r, n, i, o, s) {
3252
3252
  if (!Intl.PluralRules)
3253
3253
  throw new At(`Intl.PluralRules is not available in this environment.
3254
3254
  Try polyfilling it using "@formatjs/intl-pluralrules"
3255
- `, Ze.MISSING_INTL_API, s);
3255
+ `, Ze.MISSING_INTL_API, a);
3256
3256
  var k = r.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
3257
3257
  D = f.options[k] || f.options.other;
3258
3258
  }
3259
3259
  if (!D)
3260
- throw new Sr(f.value, d, Object.keys(f.options), s);
3261
- a.push.apply(a, yt(D.value, t, r, n, i, d - (f.offset || 0)));
3260
+ throw new Sr(f.value, d, Object.keys(f.options), a);
3261
+ s.push.apply(s, yt(D.value, t, r, n, i, d - (f.offset || 0)));
3262
3262
  continue;
3263
3263
  }
3264
3264
  }
3265
- return io(a);
3265
+ return io(s);
3266
3266
  }
3267
3267
  function ao(e, t) {
3268
3268
  return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
@@ -3330,30 +3330,30 @@ var uo = (
3330
3330
  number: {},
3331
3331
  dateTime: {},
3332
3332
  pluralRules: {}
3333
- }, this.format = function(c) {
3334
- var u = o.formatToParts(c);
3333
+ }, this.format = function(l) {
3334
+ var u = o.formatToParts(l);
3335
3335
  if (u.length === 1)
3336
3336
  return u[0].value;
3337
3337
  var f = u.reduce(function(m, d) {
3338
3338
  return !m.length || d.type !== he.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
3339
3339
  }, []);
3340
3340
  return f.length <= 1 ? f[0] || "" : f;
3341
- }, this.formatToParts = function(c) {
3342
- return yt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3341
+ }, this.formatToParts = function(l) {
3342
+ return yt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3343
3343
  }, this.resolvedOptions = function() {
3344
- var c;
3344
+ var l;
3345
3345
  return {
3346
- locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3346
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3347
3347
  };
3348
3348
  }, this.getAst = function() {
3349
3349
  return o.ast;
3350
3350
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3351
3351
  if (this.message = t, !e.__parse)
3352
3352
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3353
- var s = i || {};
3354
- s.formatters;
3355
- var a = yi(s, ["formatters"]);
3356
- this.ast = e.__parse(t, we(we({}, a), { locale: this.resolvedLocale }));
3353
+ var a = i || {};
3354
+ a.formatters;
3355
+ var s = yi(a, ["formatters"]);
3356
+ this.ast = e.__parse(t, we(we({}, s), { locale: this.resolvedLocale }));
3357
3357
  } else
3358
3358
  this.ast = t;
3359
3359
  if (!Array.isArray(this.ast))
@@ -3697,29 +3697,29 @@ const ct = (e, t) => {
3697
3697
  })
3698
3698
  ), Uo = (e, t = {}) => {
3699
3699
  var r, n, i, o;
3700
- let s = t;
3701
- typeof e == "object" && (s = e, e = s.id);
3700
+ let a = t;
3701
+ typeof e == "object" && (a = e, e = a.id);
3702
3702
  const {
3703
- values: a,
3704
- locale: c = Ue(),
3703
+ values: s,
3704
+ locale: l = Ue(),
3705
3705
  default: u
3706
- } = s;
3707
- if (c == null)
3706
+ } = a;
3707
+ if (l == null)
3708
3708
  throw new Error(
3709
3709
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3710
3710
  );
3711
- let f = pn(e, c);
3711
+ let f = pn(e, l);
3712
3712
  if (!f)
3713
- f = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3713
+ f = (o = (i = (n = (r = qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3714
3714
  else if (typeof f != "string")
3715
3715
  return console.warn(
3716
3716
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3717
3717
  ), f;
3718
- if (!a)
3718
+ if (!s)
3719
3719
  return f;
3720
3720
  let m = f;
3721
3721
  try {
3722
- m = Do(f, c).format(a);
3722
+ m = Do(f, l).format(s);
3723
3723
  } catch (d) {
3724
3724
  d instanceof Error && console.warn(
3725
3725
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3964,11 +3964,11 @@ var rr = { exports: {} };
3964
3964
  */
3965
3965
  (function(e, t) {
3966
3966
  (function(r) {
3967
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, c = r.EventSource, u = r.document, f = r.Promise, m = r.fetch, d = r.Response, g = r.TextDecoder, v = r.TextEncoder, S = r.AbortController;
3967
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, a = r.XDomainRequest, s = r.ActiveXObject, l = r.EventSource, u = r.document, f = r.Promise, m = r.fetch, d = r.Response, g = r.TextDecoder, v = r.TextEncoder, S = r.AbortController;
3968
3968
  if (typeof window < "u" && typeof u < "u" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(h) {
3969
3969
  u.readyState = "complete";
3970
- }, !1)), o == null && a != null && (o = function() {
3971
- return new a("Microsoft.XMLHTTP");
3970
+ }, !1)), o == null && s != null && (o = function() {
3971
+ return new s("Microsoft.XMLHTTP");
3972
3972
  }), Object.create == null && (Object.create = function(h) {
3973
3973
  function b() {
3974
3974
  }
@@ -4005,12 +4005,12 @@ var rr = { exports: {} };
4005
4005
  this.bitsNeeded = 0, this.codePoint = 0;
4006
4006
  }
4007
4007
  oe.prototype.decode = function(h) {
4008
- function b(U, F, l) {
4009
- if (l === 1)
4008
+ function b(U, F, c) {
4009
+ if (c === 1)
4010
4010
  return U >= 128 >> F && U << F <= 2047;
4011
- if (l === 2)
4011
+ if (c === 2)
4012
4012
  return U >= 2048 >> F && U << F <= 55295 || U >= 57344 >> F && U << F <= 65535;
4013
- if (l === 3)
4013
+ if (c === 3)
4014
4014
  return U >= 65536 >> F && U << F <= 1114111;
4015
4015
  throw new Error();
4016
4016
  }
@@ -4046,61 +4046,61 @@ var rr = { exports: {} };
4046
4046
  k.prototype.open = function(h, b) {
4047
4047
  this._abort(!0);
4048
4048
  var E = this, p = this._xhr, T = 1, w = 0;
4049
- this._abort = function(l) {
4050
- E._sendTimeout !== 0 && (i(E._sendTimeout), E._sendTimeout = 0), (T === 1 || T === 2 || T === 3) && (T = 4, p.onload = D, p.onerror = D, p.onabort = D, p.onprogress = D, p.onreadystatechange = D, p.abort(), w !== 0 && (i(w), w = 0), l || (E.readyState = 4, E.onabort(null), E.onreadystatechange())), T = 0;
4049
+ this._abort = function(c) {
4050
+ E._sendTimeout !== 0 && (i(E._sendTimeout), E._sendTimeout = 0), (T === 1 || T === 2 || T === 3) && (T = 4, p.onload = D, p.onerror = D, p.onabort = D, p.onprogress = D, p.onreadystatechange = D, p.abort(), w !== 0 && (i(w), w = 0), c || (E.readyState = 4, E.onabort(null), E.onreadystatechange())), T = 0;
4051
4051
  };
4052
4052
  var C = function() {
4053
4053
  if (T === 1) {
4054
- var l = 0, y = "", x = void 0;
4054
+ var c = 0, y = "", x = void 0;
4055
4055
  if ("contentType" in p)
4056
- l = 200, y = "OK", x = p.contentType;
4056
+ c = 200, y = "OK", x = p.contentType;
4057
4057
  else
4058
4058
  try {
4059
- l = p.status, y = p.statusText, x = p.getResponseHeader("Content-Type");
4059
+ c = p.status, y = p.statusText, x = p.getResponseHeader("Content-Type");
4060
4060
  } catch {
4061
- l = 0, y = "", x = void 0;
4061
+ c = 0, y = "", x = void 0;
4062
4062
  }
4063
- l !== 0 && (T = 2, E.readyState = 2, E.status = l, E.statusText = y, E._contentType = x, E.onreadystatechange());
4063
+ c !== 0 && (T = 2, E.readyState = 2, E.status = c, E.statusText = y, E._contentType = x, E.onreadystatechange());
4064
4064
  }
4065
4065
  }, j = function() {
4066
4066
  if (C(), T === 2 || T === 3) {
4067
4067
  T = 3;
4068
- var l = "";
4068
+ var c = "";
4069
4069
  try {
4070
- l = p.responseText;
4070
+ c = p.responseText;
4071
4071
  } catch {
4072
4072
  }
4073
- E.readyState = 3, E.responseText = l, E.onprogress();
4073
+ E.readyState = 3, E.responseText = c, E.onprogress();
4074
4074
  }
4075
- }, O = function(l, y) {
4075
+ }, O = function(c, y) {
4076
4076
  if ((y == null || y.preventDefault == null) && (y = {
4077
4077
  preventDefault: D
4078
4078
  }), j(), T === 1 || T === 2 || T === 3) {
4079
- if (T = 4, w !== 0 && (i(w), w = 0), E.readyState = 4, l === "load")
4079
+ if (T = 4, w !== 0 && (i(w), w = 0), E.readyState = 4, c === "load")
4080
4080
  E.onload(y);
4081
- else if (l === "error")
4081
+ else if (c === "error")
4082
4082
  E.onerror(y);
4083
- else if (l === "abort")
4083
+ else if (c === "abort")
4084
4084
  E.onabort(y);
4085
4085
  else
4086
4086
  throw new TypeError();
4087
4087
  E.onreadystatechange();
4088
4088
  }
4089
- }, U = function(l) {
4090
- p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && O(p.responseText === "" ? "error" : "load", l) : p.readyState === 3 ? "onprogress" in p || j() : p.readyState === 2 && C());
4089
+ }, U = function(c) {
4090
+ p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && O(p.responseText === "" ? "error" : "load", c) : p.readyState === 3 ? "onprogress" in p || j() : p.readyState === 2 && C());
4091
4091
  }, F = function() {
4092
4092
  w = n(function() {
4093
4093
  F();
4094
4094
  }, 500), p.readyState === 3 && j();
4095
4095
  };
4096
- "onload" in p && (p.onload = function(l) {
4097
- O("load", l);
4098
- }), "onerror" in p && (p.onerror = function(l) {
4099
- O("error", l);
4100
- }), "onabort" in p && (p.onabort = function(l) {
4101
- O("abort", l);
4102
- }), "onprogress" in p && (p.onprogress = j), "onreadystatechange" in p && (p.onreadystatechange = function(l) {
4103
- U(l);
4096
+ "onload" in p && (p.onload = function(c) {
4097
+ O("load", c);
4098
+ }), "onerror" in p && (p.onerror = function(c) {
4099
+ O("error", c);
4100
+ }), "onabort" in p && (p.onabort = function(c) {
4101
+ O("abort", c);
4102
+ }), "onprogress" in p && (p.onprogress = j), "onreadystatechange" in p && (p.onreadystatechange = function(c) {
4103
+ U(c);
4104
4104
  }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, b, !0), "readyState" in p && (w = n(function() {
4105
4105
  F();
4106
4106
  }, 0));
@@ -4161,8 +4161,8 @@ var rr = { exports: {} };
4161
4161
  p(null);
4162
4162
  }, h.onreadystatechange = function() {
4163
4163
  if (h.readyState === o.HEADERS_RECEIVED) {
4164
- var U = h.status, F = h.statusText, l = h.getResponseHeader("Content-Type"), y = h.getAllResponseHeaders();
4165
- b(U, F, l, new ae(y));
4164
+ var U = h.status, F = h.statusText, c = h.getResponseHeader("Content-Type"), y = h.getAllResponseHeaders();
4165
+ b(U, F, c, new ae(y));
4166
4166
  }
4167
4167
  }, h.withCredentials = w;
4168
4168
  for (var O in C)
@@ -4184,8 +4184,8 @@ var rr = { exports: {} };
4184
4184
  credentials: w ? "include" : "same-origin",
4185
4185
  signal: U,
4186
4186
  cache: "no-store"
4187
- }).then(function(l) {
4188
- return j = l.body.getReader(), b(l.status, l.statusText, l.headers.get("Content-Type"), new ee(l.headers)), new f(function(y, x) {
4187
+ }).then(function(c) {
4188
+ return j = c.body.getReader(), b(c.status, c.statusText, c.headers.get("Content-Type"), new ee(c.headers)), new f(function(y, x) {
4189
4189
  var B = function() {
4190
4190
  j.read().then(function(H) {
4191
4191
  if (H.done)
@@ -4200,11 +4200,11 @@ var rr = { exports: {} };
4200
4200
  };
4201
4201
  B();
4202
4202
  });
4203
- }).catch(function(l) {
4204
- if (l.name !== "AbortError")
4205
- return l;
4206
- }).then(function(l) {
4207
- p(l);
4203
+ }).catch(function(c) {
4204
+ if (c.name !== "AbortError")
4205
+ return c;
4206
+ }).then(function(c) {
4207
+ p(c);
4208
4208
  }), {
4209
4209
  abort: function() {
4210
4210
  j?.cancel(), O.abort();
@@ -4278,12 +4278,12 @@ var rr = { exports: {} };
4278
4278
  $.call(this), b = b || {}, 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, rt(this, h, b);
4279
4279
  }
4280
4280
  function dt() {
4281
- return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4281
+ return o != null && "withCredentials" in o.prototype || a == null ? new o() : new a();
4282
4282
  }
4283
4283
  var Pt = m != null && d != null && "body" in d.prototype;
4284
4284
  function rt(h, b, E) {
4285
4285
  b = String(b);
4286
- var p = !!E.withCredentials, T = E.lastEventIdQueryParameterName || "lastEventId", w = Fe(1e3), C = Ie(E.heartbeatTimeout, 45e3), j = "", O = w, U = !1, F = 0, l = E.headers || {}, y = E.Transport, x = Pt && y == null ? void 0 : new k(y != null ? new y() : dt()), B = y != null && typeof y != "string" ? new y() : x == null ? new G() : new me(), H = void 0, P = 0, A = Ee, Q = "", ge = "", ue = "", Ge = "", J = fe, nt = 0, xe = 0, De = function(re, te, de, pe) {
4286
+ var p = !!E.withCredentials, T = E.lastEventIdQueryParameterName || "lastEventId", w = Fe(1e3), C = Ie(E.heartbeatTimeout, 45e3), j = "", O = w, U = !1, F = 0, c = E.headers || {}, y = E.Transport, x = Pt && y == null ? void 0 : new k(y != null ? new y() : dt()), B = y != null && typeof y != "string" ? new y() : x == null ? new G() : new me(), H = void 0, P = 0, A = Ee, Q = "", ge = "", ue = "", Ge = "", J = fe, nt = 0, xe = 0, De = function(re, te, de, pe) {
4287
4287
  if (A === ne)
4288
4288
  if (re === 200 && de != null && Lt.test(de)) {
4289
4289
  A = be, U = Date.now(), O = w, h.readyState = be;
@@ -4385,19 +4385,19 @@ var rr = { exports: {} };
4385
4385
  throw Nt(), He;
4386
4386
  }
4387
4387
  };
4388
- h.url = b, h.readyState = ne, h.withCredentials = p, h.headers = l, h._close = Nt, it();
4388
+ h.url = b, h.readyState = ne, h.withCredentials = p, h.headers = c, h._close = Nt, it();
4389
4389
  }
4390
4390
  le.prototype = Object.create($.prototype), le.prototype.CONNECTING = ne, le.prototype.OPEN = be, le.prototype.CLOSED = Re, le.prototype.close = function() {
4391
4391
  this._close();
4392
4392
  }, le.CONNECTING = ne, le.OPEN = be, le.CLOSED = Re, le.prototype.withCredentials = void 0;
4393
- var pt = c;
4394
- o != null && (c == null || !("withCredentials" in c.prototype)) && (pt = le), function(h) {
4393
+ var pt = l;
4394
+ o != null && (l == null || !("withCredentials" in l.prototype)) && (pt = le), function(h) {
4395
4395
  {
4396
4396
  var b = h(t);
4397
4397
  b !== void 0 && (e.exports = b);
4398
4398
  }
4399
4399
  }(function(h) {
4400
- h.EventSourcePolyfill = le, h.NativeEventSource = c, h.EventSource = pt;
4400
+ h.EventSourcePolyfill = le, h.NativeEventSource = l, h.EventSource = pt;
4401
4401
  });
4402
4402
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ti : globalThis);
4403
4403
  })(rr, rr.exports);
@@ -4449,18 +4449,18 @@ function or(e, t) {
4449
4449
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4450
4450
  if (!r)
4451
4451
  return e;
4452
- var n = r.call(e), i, o = [], s;
4452
+ var n = r.call(e), i, o = [], a;
4453
4453
  try {
4454
4454
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
4455
4455
  o.push(i.value);
4456
- } catch (a) {
4457
- s = { error: a };
4456
+ } catch (s) {
4457
+ a = { error: s };
4458
4458
  } finally {
4459
4459
  try {
4460
4460
  i && !i.done && (r = n.return) && r.call(n);
4461
4461
  } finally {
4462
- if (s)
4463
- throw s.error;
4462
+ if (a)
4463
+ throw a.error;
4464
4464
  }
4465
4465
  }
4466
4466
  return o;
@@ -4503,26 +4503,26 @@ var Ot = function() {
4503
4503
  var t, r, n, i, o;
4504
4504
  if (!this.closed) {
4505
4505
  this.closed = !0;
4506
- var s = this._parentage;
4507
- if (s)
4508
- if (this._parentage = null, Array.isArray(s))
4506
+ var a = this._parentage;
4507
+ if (a)
4508
+ if (this._parentage = null, Array.isArray(a))
4509
4509
  try {
4510
- for (var a = ir(s), c = a.next(); !c.done; c = a.next()) {
4511
- var u = c.value;
4510
+ for (var s = ir(a), l = s.next(); !l.done; l = s.next()) {
4511
+ var u = l.value;
4512
4512
  u.remove(this);
4513
4513
  }
4514
4514
  } catch (S) {
4515
4515
  t = { error: S };
4516
4516
  } finally {
4517
4517
  try {
4518
- c && !c.done && (r = a.return) && r.call(a);
4518
+ l && !l.done && (r = s.return) && r.call(s);
4519
4519
  } finally {
4520
4520
  if (t)
4521
4521
  throw t.error;
4522
4522
  }
4523
4523
  }
4524
4524
  else
4525
- s.remove(this);
4525
+ a.remove(this);
4526
4526
  var f = this.initialTeardown;
4527
4527
  if (Oe(f))
4528
4528
  try {
@@ -4680,12 +4680,12 @@ var Sn = function(e) {
4680
4680
  }(), lr = function(e) {
4681
4681
  ft(t, e);
4682
4682
  function t(r, n, i) {
4683
- var o = e.call(this) || this, s;
4684
- return Oe(r) || !r ? s = {
4683
+ var o = e.call(this) || this, a;
4684
+ return Oe(r) || !r ? a = {
4685
4685
  next: r ?? void 0,
4686
4686
  error: n ?? void 0,
4687
4687
  complete: i ?? void 0
4688
- } : s = r, o.destination = new qo(s), o;
4688
+ } : a = r, o.destination = new qo(a), o;
4689
4689
  }
4690
4690
  return t;
4691
4691
  }(Sn);
@@ -4723,8 +4723,8 @@ var Mr = function() {
4723
4723
  }, e.prototype.subscribe = function(t, r, n) {
4724
4724
  var i = this, o = ra(t) ? t : new lr(t, r, n);
4725
4725
  return _t(function() {
4726
- var s = i, a = s.operator, c = s.source;
4727
- o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
4726
+ var a = i, s = a.operator, l = a.source;
4727
+ o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4728
4728
  }), o;
4729
4729
  }, e.prototype._trySubscribe = function(t) {
4730
4730
  try {
@@ -4735,18 +4735,18 @@ var Mr = function() {
4735
4735
  }, e.prototype.forEach = function(t, r) {
4736
4736
  var n = this;
4737
4737
  return r = Pr(r), new r(function(i, o) {
4738
- var s = new lr({
4739
- next: function(a) {
4738
+ var a = new lr({
4739
+ next: function(s) {
4740
4740
  try {
4741
- t(a);
4742
- } catch (c) {
4743
- o(c), s.unsubscribe();
4741
+ t(s);
4742
+ } catch (l) {
4743
+ o(l), a.unsubscribe();
4744
4744
  }
4745
4745
  },
4746
4746
  error: o,
4747
4747
  complete: i
4748
4748
  });
4749
- n.subscribe(s);
4749
+ n.subscribe(a);
4750
4750
  });
4751
4751
  }, e.prototype._subscribe = function(t) {
4752
4752
  var r;
@@ -4761,10 +4761,10 @@ var Mr = function() {
4761
4761
  var r = this;
4762
4762
  return t = Pr(t), new t(function(n, i) {
4763
4763
  var o;
4764
- r.subscribe(function(s) {
4765
- return o = s;
4766
- }, function(s) {
4767
- return i(s);
4764
+ r.subscribe(function(a) {
4765
+ return o = a;
4766
+ }, function(a) {
4767
+ return i(a);
4768
4768
  }, function() {
4769
4769
  return n(o);
4770
4770
  });
@@ -4806,15 +4806,15 @@ var na = En(function(e) {
4806
4806
  if (n._throwIfClosed(), !n.isStopped) {
4807
4807
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4808
4808
  try {
4809
- for (var s = ir(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4810
- var c = a.value;
4811
- c.next(r);
4809
+ for (var a = ir(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4810
+ var l = s.value;
4811
+ l.next(r);
4812
4812
  }
4813
4813
  } catch (u) {
4814
4814
  i = { error: u };
4815
4815
  } finally {
4816
4816
  try {
4817
- a && !a.done && (o = s.return) && o.call(s);
4817
+ s && !s.done && (o = a.return) && o.call(a);
4818
4818
  } finally {
4819
4819
  if (i)
4820
4820
  throw i.error;
@@ -4854,13 +4854,13 @@ var na = En(function(e) {
4854
4854
  }, t.prototype._subscribe = function(r) {
4855
4855
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4856
4856
  }, t.prototype._innerSubscribe = function(r) {
4857
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4858
- return o || s ? xn : (this.currentObservers = null, a.push(r), new Ot(function() {
4859
- n.currentObservers = null, sr(a, r);
4857
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4858
+ return o || a ? xn : (this.currentObservers = null, s.push(r), new Ot(function() {
4859
+ n.currentObservers = null, sr(s, r);
4860
4860
  }));
4861
4861
  }, t.prototype._checkFinalizedStatuses = function(r) {
4862
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4863
- i ? r.error(o) : s && r.complete();
4862
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
4863
+ i ? r.error(o) : a && r.complete();
4864
4864
  }, t.prototype.asObservable = function() {
4865
4865
  var r = new Mr();
4866
4866
  return r.source = this, r;
@@ -4899,17 +4899,17 @@ var na = En(function(e) {
4899
4899
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4900
4900
  }
4901
4901
  return t.prototype.next = function(r) {
4902
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
4903
- i || (o.push(r), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, r);
4902
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
4903
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4904
4904
  }, t.prototype._subscribe = function(r) {
4905
4905
  this._throwIfClosed(), this._trimBuffer();
4906
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), c = 0; c < a.length && !r.closed; c += o ? 1 : 2)
4907
- r.next(a[c]);
4906
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
4907
+ r.next(s[l]);
4908
4908
  return this._checkFinalizedStatuses(r), n;
4909
4909
  }, t.prototype._trimBuffer = function() {
4910
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4911
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4912
- for (var c = i.now(), u = 0, f = 1; f < o.length && o[f] <= c; f += 2)
4910
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
4911
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4912
+ for (var l = i.now(), u = 0, f = 1; f < o.length && o[f] <= l; f += 2)
4913
4913
  u = f;
4914
4914
  u && o.splice(0, u + 1);
4915
4915
  }
@@ -4937,7 +4937,7 @@ function Fr(e, t, r) {
4937
4937
  return n[64] = t[r], n;
4938
4938
  }
4939
4939
  function la(e) {
4940
- let t, r, n, i, o, s, a, c, u, f, m, d, g = (
4940
+ let t, r, n, i, o, a, s, l, u, f, m, d, g = (
4941
4941
  /*showBalance*/
4942
4942
  e[5] && Gr(e)
4943
4943
  );
@@ -4946,11 +4946,11 @@ function la(e) {
4946
4946
  t = X("button"), r = X("p"), n = Be(
4947
4947
  /*displayBalance*/
4948
4948
  e[7]
4949
- ), i = Se(), o = X("span"), s = pr("svg"), a = pr("path"), u = Se(), g && g.c(), f = Mn(), R(a, "id", "arrow"), R(a, "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"), R(a, "transform", "translate(-274.511 -441.088)"), R(a, "fill", "#d1d1d1"), R(s, "xmlns", "http://www.w3.org/2000/svg"), R(s, "width", "14"), R(s, "height", "6.835"), R(s, "viewBox", "0 0 14 6.835"), R(o, "class", c = /*isModalDisplayed*/
4950
- e[4] ? "TriangleActive" : "TriangleInactive"), R(t, "class", "BalanceValue");
4949
+ ), i = Se(), o = X("span"), a = pr("svg"), s = pr("path"), u = Se(), g && g.c(), f = Mn(), L(s, "id", "arrow"), L(s, "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"), L(s, "transform", "translate(-274.511 -441.088)"), L(s, "fill", "#d1d1d1"), L(a, "xmlns", "http://www.w3.org/2000/svg"), L(a, "width", "14"), L(a, "height", "6.835"), L(a, "viewBox", "0 0 14 6.835"), L(o, "class", l = /*isModalDisplayed*/
4950
+ e[4] ? "TriangleActive" : "TriangleInactive"), L(t, "class", "BalanceValue");
4951
4951
  },
4952
4952
  m(v, S) {
4953
- _e(v, t, S), I(t, r), I(r, n), I(t, i), I(t, o), I(o, s), I(s, a), _e(v, u, S), g && g.m(v, S), _e(v, f, S), m || (d = st(
4953
+ _e(v, t, S), I(t, r), I(r, n), I(t, i), I(t, o), I(o, a), I(a, s), _e(v, u, S), g && g.m(v, S), _e(v, f, S), m || (d = st(
4954
4954
  t,
4955
4955
  "click",
4956
4956
  /*click_handler*/
@@ -4964,8 +4964,8 @@ function la(e) {
4964
4964
  /*displayBalance*/
4965
4965
  v[7]
4966
4966
  ), S[0] & /*isModalDisplayed*/
4967
- 16 && c !== (c = /*isModalDisplayed*/
4968
- v[4] ? "TriangleActive" : "TriangleInactive") && R(o, "class", c), /*showBalance*/
4967
+ 16 && l !== (l = /*isModalDisplayed*/
4968
+ v[4] ? "TriangleActive" : "TriangleInactive") && L(o, "class", l), /*showBalance*/
4969
4969
  v[5] ? g ? g.p(v, S) : (g = Gr(v), g.c(), g.m(f.parentNode, f)) : g && (g.d(1), g = null);
4970
4970
  },
4971
4971
  d(v) {
@@ -4980,7 +4980,7 @@ function ua(e) {
4980
4980
  ), n;
4981
4981
  return {
4982
4982
  c() {
4983
- t = X("p"), n = Be(r), R(t, "class", "Loading");
4983
+ t = X("p"), n = Be(r), L(t, "class", "Loading");
4984
4984
  },
4985
4985
  m(i, o) {
4986
4986
  _e(i, t, o), I(t, n);
@@ -4996,7 +4996,7 @@ function ua(e) {
4996
4996
  };
4997
4997
  }
4998
4998
  function Gr(e) {
4999
- let t, r, n, i, o, s, a, c, u = (
4999
+ let t, r, n, i, o, a, s, l, u = (
5000
5000
  /*$_*/
5001
5001
  e[8]("Title") + ""
5002
5002
  ), f, m, d, g, v, S, K = (
@@ -5014,20 +5014,20 @@ function Gr(e) {
5014
5014
  );
5015
5015
  return {
5016
5016
  c() {
5017
- t = X("div"), r = X("button"), i = Se(), o = X("div"), s = X("div"), a = X("div"), c = X("p"), f = Be(u), m = Se(), d = X("div");
5017
+ t = X("div"), r = X("button"), i = Se(), o = X("div"), a = X("div"), s = X("div"), l = X("p"), f = Be(u), m = Se(), d = X("div");
5018
5018
  for (let M = 0; M < G.length; M += 1)
5019
5019
  G[M].c();
5020
- g = Se(), v = X("div"), S = X("button"), oe = Be(K), se = Se(), $ && $.c(), R(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5021
- (e[4] ? "Open" : "")), R(c, "class", "BalanceModalTitle"), R(a, "class", "BalanceModalHeader"), R(d, "class", "BalanceModalBody"), R(S, "class", "BalanceModalAction DepositButton"), R(v, "class", "BalanceModalFooter"), R(s, "class", D = "ModalContent " + /*isModalDisplayed*/
5022
- (e[4] ? "Open" : "")), R(o, "class", k = "BalanceModal " + /*isModalDisplayed*/
5023
- (e[4] ? "Open" : "")), R(t, "class", Y = "BalanceModalWrapper " + /*isModalDisplayed*/
5020
+ g = Se(), v = X("div"), S = X("button"), oe = Be(K), se = Se(), $ && $.c(), L(r, "class", n = "BalanceModalClose " + /*isModalDisplayed*/
5021
+ (e[4] ? "Open" : "")), L(l, "class", "BalanceModalTitle"), L(s, "class", "BalanceModalHeader"), L(d, "class", "BalanceModalBody"), L(S, "class", "BalanceModalAction DepositButton"), L(v, "class", "BalanceModalFooter"), L(a, "class", D = "ModalContent " + /*isModalDisplayed*/
5022
+ (e[4] ? "Open" : "")), L(o, "class", k = "BalanceModal " + /*isModalDisplayed*/
5023
+ (e[4] ? "Open" : "")), L(t, "class", Y = "BalanceModalWrapper " + /*isModalDisplayed*/
5024
5024
  (e[4] ? "Open" : ""));
5025
5025
  },
5026
5026
  m(M, W) {
5027
- _e(M, t, W), I(t, r), I(t, i), I(t, o), I(o, s), I(s, a), I(a, c), I(c, f), I(s, m), I(s, d);
5027
+ _e(M, t, W), I(t, r), I(t, i), I(t, o), I(o, a), I(a, s), I(s, l), I(l, f), I(a, m), I(a, d);
5028
5028
  for (let z = 0; z < G.length; z += 1)
5029
5029
  G[z] && G[z].m(d, null);
5030
- I(s, g), I(s, v), I(v, S), I(S, oe), I(v, se), $ && $.m(v, null), ae || (me = [
5030
+ I(a, g), I(a, v), I(v, S), I(S, oe), I(v, se), $ && $.m(v, null), ae || (me = [
5031
5031
  st(
5032
5032
  r,
5033
5033
  "click",
@@ -5045,7 +5045,7 @@ function Gr(e) {
5045
5045
  p(M, W) {
5046
5046
  if (W[0] & /*isModalDisplayed*/
5047
5047
  16 && n !== (n = "BalanceModalClose " + /*isModalDisplayed*/
5048
- (M[4] ? "Open" : "")) && R(r, "class", n), W[0] & /*$_*/
5048
+ (M[4] ? "Open" : "")) && L(r, "class", n), W[0] & /*$_*/
5049
5049
  256 && u !== (u = /*$_*/
5050
5050
  M[8]("Title") + "") && Ne(f, u), W[0] & /*balances, formatBalance, getProductType, $_*/
5051
5051
  5380) {
@@ -5067,11 +5067,11 @@ function Gr(e) {
5067
5067
  M[8]("DepositButton") + "") && Ne(oe, K), /*balancelimitsbutton*/
5068
5068
  M[0] === "true" ? $ ? $.p(M, W) : ($ = $r(M), $.c(), $.m(v, null)) : $ && ($.d(1), $ = null), W[0] & /*isModalDisplayed*/
5069
5069
  16 && D !== (D = "ModalContent " + /*isModalDisplayed*/
5070
- (M[4] ? "Open" : "")) && R(s, "class", D), W[0] & /*isModalDisplayed*/
5070
+ (M[4] ? "Open" : "")) && L(a, "class", D), W[0] & /*isModalDisplayed*/
5071
5071
  16 && k !== (k = "BalanceModal " + /*isModalDisplayed*/
5072
- (M[4] ? "Open" : "")) && R(o, "class", k), W[0] & /*isModalDisplayed*/
5072
+ (M[4] ? "Open" : "")) && L(o, "class", k), W[0] & /*isModalDisplayed*/
5073
5073
  16 && Y !== (Y = "BalanceModalWrapper " + /*isModalDisplayed*/
5074
- (M[4] ? "Open" : "")) && R(t, "class", Y);
5074
+ (M[4] ? "Open" : "")) && L(t, "class", Y);
5075
5075
  },
5076
5076
  d(M) {
5077
5077
  M && ve(t), Zr(G, M), $ && $.d(), ae = !1, Ye(me);
@@ -5085,13 +5085,13 @@ function kr(e) {
5085
5085
  /*k*/
5086
5086
  e[61]
5087
5087
  ) + ""
5088
- ), i, o, s = (
5088
+ ), i, o, a = (
5089
5089
  /*getProductType*/
5090
5090
  e[12](
5091
5091
  /*balance*/
5092
5092
  e[64]
5093
5093
  ) + ""
5094
- ), a, c, u, f, m = (
5094
+ ), s, l, u, f, m = (
5095
5095
  /*formatBalance*/
5096
5096
  e[10](
5097
5097
  /*balance*/
@@ -5100,10 +5100,10 @@ function kr(e) {
5100
5100
  ), d;
5101
5101
  return {
5102
5102
  c() {
5103
- t = X("div"), r = X("p"), i = Be(n), o = Se(), a = Be(s), c = Se(), u = X("p"), f = X("span"), d = Be(m), R(r, "class", "BalanceModalText"), R(f, "class", "BalanceModalAmount"), R(u, "class", "BalanceModalValue"), R(t, "class", "BalanceModalRowLine");
5103
+ t = X("div"), r = X("p"), i = Be(n), o = Se(), s = Be(a), l = Se(), u = X("p"), f = X("span"), d = Be(m), L(r, "class", "BalanceModalText"), L(f, "class", "BalanceModalAmount"), L(u, "class", "BalanceModalValue"), L(t, "class", "BalanceModalRowLine");
5104
5104
  },
5105
5105
  m(g, v) {
5106
- _e(g, t, v), I(t, r), I(r, i), I(r, o), I(r, a), I(t, c), I(t, u), I(u, f), I(f, d);
5106
+ _e(g, t, v), I(t, r), I(r, i), I(r, o), I(r, s), I(t, l), I(t, u), I(u, f), I(f, d);
5107
5107
  },
5108
5108
  p(g, v) {
5109
5109
  v[0] & /*$_, balances*/
@@ -5112,11 +5112,11 @@ function kr(e) {
5112
5112
  /*k*/
5113
5113
  g[61]
5114
5114
  ) + "") && Ne(i, n), v[0] & /*balances*/
5115
- 4 && s !== (s = /*getProductType*/
5115
+ 4 && a !== (a = /*getProductType*/
5116
5116
  g[12](
5117
5117
  /*balance*/
5118
5118
  g[64]
5119
- ) + "") && Ne(a, s), v[0] & /*balances*/
5119
+ ) + "") && Ne(s, a), v[0] & /*balances*/
5120
5120
  4 && m !== (m = /*formatBalance*/
5121
5121
  g[10](
5122
5122
  /*balance*/
@@ -5129,50 +5129,54 @@ function kr(e) {
5129
5129
  };
5130
5130
  }
5131
5131
  function jr(e) {
5132
- let t, r, n = Et(
5132
+ let t, r, n, i = Et(
5133
5133
  /*balances*/
5134
5134
  e[2][
5135
5135
  /*k*/
5136
5136
  e[61]
5137
5137
  ]
5138
- ), i = [];
5139
- for (let o = 0; o < n.length; o += 1)
5140
- i[o] = kr(Fr(e, n, o));
5138
+ ), o = [];
5139
+ for (let a = 0; a < i.length; a += 1)
5140
+ o[a] = kr(Fr(e, i, a));
5141
5141
  return {
5142
5142
  c() {
5143
5143
  t = X("div");
5144
- for (let o = 0; o < i.length; o += 1)
5145
- i[o].c();
5146
- r = Se(), R(t, "class", "BalanceModalRowBoth");
5144
+ for (let a = 0; a < o.length; a += 1)
5145
+ o[a].c();
5146
+ r = Se(), L(t, "class", n = "BalanceModalRowBoth " + /*k*/
5147
+ e[61]);
5147
5148
  },
5148
- m(o, s) {
5149
- _e(o, t, s);
5150
- for (let a = 0; a < i.length; a += 1)
5151
- i[a] && i[a].m(t, null);
5149
+ m(a, s) {
5150
+ _e(a, t, s);
5151
+ for (let l = 0; l < o.length; l += 1)
5152
+ o[l] && o[l].m(t, null);
5152
5153
  I(t, r);
5153
5154
  },
5154
- p(o, s) {
5155
+ p(a, s) {
5155
5156
  if (s[0] & /*formatBalance, balances, getProductType, $_*/
5156
5157
  5380) {
5157
- n = Et(
5158
+ i = Et(
5158
5159
  /*balances*/
5159
- o[2][
5160
+ a[2][
5160
5161
  /*k*/
5161
- o[61]
5162
+ a[61]
5162
5163
  ]
5163
5164
  );
5164
- let a;
5165
- for (a = 0; a < n.length; a += 1) {
5166
- const c = Fr(o, n, a);
5167
- i[a] ? i[a].p(c, s) : (i[a] = kr(c), i[a].c(), i[a].m(t, r));
5165
+ let l;
5166
+ for (l = 0; l < i.length; l += 1) {
5167
+ const u = Fr(a, i, l);
5168
+ o[l] ? o[l].p(u, s) : (o[l] = kr(u), o[l].c(), o[l].m(t, r));
5168
5169
  }
5169
- for (; a < i.length; a += 1)
5170
- i[a].d(1);
5171
- i.length = n.length;
5170
+ for (; l < o.length; l += 1)
5171
+ o[l].d(1);
5172
+ o.length = i.length;
5172
5173
  }
5174
+ s[0] & /*balances*/
5175
+ 4 && n !== (n = "BalanceModalRowBoth " + /*k*/
5176
+ a[61]) && L(t, "class", n);
5173
5177
  },
5174
- d(o) {
5175
- o && ve(t), Zr(i, o);
5178
+ d(a) {
5179
+ a && ve(t), Zr(o, a);
5176
5180
  }
5177
5181
  };
5178
5182
  }
@@ -5183,23 +5187,23 @@ function $r(e) {
5183
5187
  ), n, i, o;
5184
5188
  return {
5185
5189
  c() {
5186
- t = X("button"), n = Be(r), R(t, "class", "BalanceModalAction LimitsButton");
5190
+ t = X("button"), n = Be(r), L(t, "class", "BalanceModalAction LimitsButton");
5187
5191
  },
5188
- m(s, a) {
5189
- _e(s, t, a), I(t, n), i || (o = st(
5192
+ m(a, s) {
5193
+ _e(a, t, s), I(t, n), i || (o = st(
5190
5194
  t,
5191
5195
  "click",
5192
5196
  /*click_handler_3*/
5193
5197
  e[35]
5194
5198
  ), i = !0);
5195
5199
  },
5196
- p(s, a) {
5197
- a[0] & /*$_*/
5200
+ p(a, s) {
5201
+ s[0] & /*$_*/
5198
5202
  256 && r !== (r = /*$_*/
5199
- s[8]("LimitsButton") + "") && Ne(n, r);
5203
+ a[8]("LimitsButton") + "") && Ne(n, r);
5200
5204
  },
5201
- d(s) {
5202
- s && ve(t), i = !1, o();
5205
+ d(a) {
5206
+ a && ve(t), i = !1, o();
5203
5207
  }
5204
5208
  };
5205
5209
  }
@@ -5207,7 +5211,7 @@ function Vr(e) {
5207
5211
  let t, r, n;
5208
5212
  return {
5209
5213
  c() {
5210
- t = X("button"), R(t, "class", "ShowBalanceModalOverlay");
5214
+ t = X("button"), L(t, "class", "ShowBalanceModalOverlay");
5211
5215
  },
5212
5216
  m(i, o) {
5213
5217
  _e(i, t, o), r || (n = st(
@@ -5231,41 +5235,41 @@ function ca(e) {
5231
5235
  u[3] ? ua : la
5232
5236
  );
5233
5237
  }
5234
- let s = o(e), a = s(e), c = (
5238
+ let a = o(e), s = a(e), l = (
5235
5239
  /*showBalance*/
5236
5240
  e[5] && Vr(e)
5237
5241
  );
5238
5242
  return {
5239
5243
  c() {
5240
- t = X("div"), r = X("div"), a.c(), i = Se(), c && c.c(), R(r, "class", n = "ShowBalance " + /*mobileView*/
5244
+ t = X("div"), r = X("div"), s.c(), i = Se(), l && l.c(), L(r, "class", n = "ShowBalance " + /*mobileView*/
5241
5245
  (e[6] ? "Mobile" : ""));
5242
5246
  },
5243
5247
  m(u, f) {
5244
- _e(u, t, f), I(t, r), a.m(r, null), I(t, i), c && c.m(t, null), e[37](t);
5248
+ _e(u, t, f), I(t, r), s.m(r, null), I(t, i), l && l.m(t, null), e[37](t);
5245
5249
  },
5246
5250
  p(u, f) {
5247
- s === (s = o(u)) && a ? a.p(u, f) : (a.d(1), a = s(u), a && (a.c(), a.m(r, null))), f[0] & /*mobileView*/
5251
+ a === (a = o(u)) && s ? s.p(u, f) : (s.d(1), s = a(u), s && (s.c(), s.m(r, null))), f[0] & /*mobileView*/
5248
5252
  64 && n !== (n = "ShowBalance " + /*mobileView*/
5249
- (u[6] ? "Mobile" : "")) && R(r, "class", n), /*showBalance*/
5250
- u[5] ? c ? c.p(u, f) : (c = Vr(u), c.c(), c.m(t, null)) : c && (c.d(1), c = null);
5253
+ (u[6] ? "Mobile" : "")) && L(r, "class", n), /*showBalance*/
5254
+ u[5] ? l ? l.p(u, f) : (l = Vr(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
5251
5255
  },
5252
5256
  i: ye,
5253
5257
  o: ye,
5254
5258
  d(u) {
5255
- u && ve(t), a.d(), c && c.d(), e[37](null);
5259
+ u && ve(t), s.d(), l && l.d(), e[37](null);
5256
5260
  }
5257
5261
  };
5258
5262
  }
5259
5263
  function ha(e, t, r) {
5260
5264
  let n;
5261
- Hn(e, $o, (l) => r(8, n = l));
5262
- let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { mbsource: c = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: g = "All" } = t, { totalcalculationmode: v = "totalCashAmount" } = t, { primarybalancemode: S } = t, { balancelimitsbutton: K = "false" } = t, { hideproducttype: oe = "" } = t, { currencylocale: se = "en" } = t, { currencydisplay: D = "symbol" } = t, { maximumfractiondigits: k = "2" } = t, { minimumfractiondigits: Y = "0" } = t, { customdisplayformat: ae = "" } = t, { alwaysshowdecimals: me = "true" } = t, ee, G = !0, $ = !1, M = !1, W = !1, z = !1, Le = window.navigator.userAgent, Te, Ee = "", ne = [], be, Re = "0";
5265
+ Hn(e, $o, (c) => r(8, n = c));
5266
+ let { userid: i = "" } = t, { session: o = "" } = t, { endpoint: a = "" } = t, { lang: s = "en" } = t, { mbsource: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: m = "" } = t, { gmversion: d = "gm16" } = t, { displaybalanceoption: g = "All" } = t, { totalcalculationmode: v = "totalCashAmount" } = t, { primarybalancemode: S } = t, { balancelimitsbutton: K = "false" } = t, { hideproducttype: oe = "" } = t, { currencylocale: se = "en" } = t, { currencydisplay: D = "symbol" } = t, { maximumfractiondigits: k = "2" } = t, { minimumfractiondigits: Y = "0" } = t, { customdisplayformat: ae = "" } = t, { alwaysshowdecimals: me = "true" } = t, ee, G = !0, $ = !1, M = !1, W = !1, z = !1, Le = window.navigator.userAgent, Te, Ee = "", ne = [], be, Re = "0";
5263
5267
  const _ = {}, fe = ["totalCashAmount", "totalRealAmount"], et = () => {
5264
- fetch(m).then((l) => l.json()).then((l) => Object.keys(l).forEach((y) => Hr(y, l[y]))).catch((l) => console.log(l));
5268
+ fetch(m).then((c) => c.json()).then((c) => Object.keys(c).forEach((y) => Hr(y, c[y]))).catch((c) => console.log(c));
5265
5269
  };
5266
- Object.keys(Or).forEach((l) => Hr(l, Or[l]));
5267
- const Ae = (l) => {
5268
- switch (l) {
5270
+ Object.keys(Or).forEach((c) => Hr(c, Or[c]));
5271
+ const Ae = (c) => {
5272
+ switch (c) {
5269
5273
  case "balance":
5270
5274
  window.postMessage(
5271
5275
  {
@@ -5290,10 +5294,10 @@ function ha(e, t, r) {
5290
5294
  );
5291
5295
  break;
5292
5296
  }
5293
- }, tt = (l) => {
5297
+ }, tt = (c) => {
5294
5298
  if (ae)
5295
- return Lt(l);
5296
- const y = se || a, x = {
5299
+ return Lt(c);
5300
+ const y = se || s, x = {
5297
5301
  style: "currency",
5298
5302
  currency: Ee,
5299
5303
  useGrouping: !0,
@@ -5301,8 +5305,8 @@ function ha(e, t, r) {
5301
5305
  maximumFractionDigits: k === "" || isNaN(Number(k)) ? 2 : Number(k),
5302
5306
  minimumFractionDigits: Y === "" || isNaN(Number(Y)) ? 0 : Number(Y)
5303
5307
  };
5304
- return new Intl.NumberFormat(y, x).format(l);
5305
- }, Lt = (l) => {
5308
+ return new Intl.NumberFormat(y, x).format(c);
5309
+ }, Lt = (c) => {
5306
5310
  const y = [];
5307
5311
  let x = "";
5308
5312
  for (const B of ae)
@@ -5320,7 +5324,7 @@ function ha(e, t, r) {
5320
5324
  else if (H.toLowerCase() === "amount") {
5321
5325
  let A = ",", Q = ".", ge = 2;
5322
5326
  P && (P[0] !== " " && (A = P[0]), P[1] !== " " && (Q = P[1]), P[2] !== " " && !isNaN(Number(P[2])) && (ge = Number(P[2])));
5323
- let [ue, Ge] = String(Math.floor(l * 10 ** ge) / 10 ** ge).split(".");
5327
+ let [ue, Ge] = String(Math.floor(c * 10 ** ge) / 10 ** ge).split(".");
5324
5328
  x += ue[0];
5325
5329
  for (let De = 1; De < ue.length; ++De)
5326
5330
  (ue.length - De) % 3 === 0 ? x += A + ue[De] : x += ue[De];
@@ -5338,9 +5342,9 @@ function ha(e, t, r) {
5338
5342
  return y.push(x), y.join("");
5339
5343
  }, Rt = async () => {
5340
5344
  r(3, G = !0);
5341
- const l = new URL(`${s}/v1/player/${i}/account`);
5345
+ const c = new URL(`${a}/v1/player/${i}/account`);
5342
5346
  try {
5343
- const y = await fetch(l, {
5347
+ const y = await fetch(c, {
5344
5348
  method: "GET",
5345
5349
  headers: { "X-SessionID": o }
5346
5350
  }), x = await y.json();
@@ -5371,8 +5375,8 @@ function ha(e, t, r) {
5371
5375
  }
5372
5376
  }, Mt = () => {
5373
5377
  r(3, G = !0);
5374
- const l = new URL(`${s}/v2/player/${i}/balance`), y = new Headers();
5375
- y.append("X-SessionID", o), fetch(l, { method: "GET", headers: y }).then((B) => B.json()).then((B) => {
5378
+ const c = new URL(`${a}/v2/player/${i}/balance`), y = new Headers();
5379
+ y.append("X-SessionID", o), fetch(c, { method: "GET", headers: y }).then((B) => B.json()).then((B) => {
5376
5380
  B[v] || r(13, v = fe[0]);
5377
5381
  const H = B.items.find((A) => A.type === "Real" && A.walletAccountType === "Ordinary");
5378
5382
  if (Ee = H.currency, M = !!H.productType, r(2, _.Total = [{ amount: 0 }], _), r(2, _.Real = [], _), r(2, _.Bonus = [], _), r(2, _.Credit = [], _), !M) {
@@ -5438,31 +5442,31 @@ function ha(e, t, r) {
5438
5442
  }, Ie = () => {
5439
5443
  if (Te && Te.close(), o.length < 1)
5440
5444
  return;
5441
- let l, y;
5445
+ let c, y;
5442
5446
  switch (d) {
5443
5447
  case "gm16":
5444
- l = new URL(`${s}/v2/player/${i}/information/updates`), y = (H) => Pt(H);
5448
+ c = new URL(`${a}/v2/player/${i}/information/updates`), y = (H) => Pt(H);
5445
5449
  break;
5446
5450
  case "gmcore":
5447
- l = new URL(`${s}/v1/player/${i}/balance/updates`), y = (H) => Me(H);
5451
+ c = new URL(`${a}/v1/player/${i}/balance/updates`), y = (H) => Me(H);
5448
5452
  break;
5449
5453
  }
5450
5454
  const x = {
5451
5455
  accept: "text/event-stream",
5452
5456
  "X-SessionId": o
5453
- }, B = new Xo.EventSourcePolyfill(l, { headers: x });
5457
+ }, B = new Xo.EventSourcePolyfill(c, { headers: x });
5454
5458
  Te = B, B.addEventListener("message", y);
5455
- }, Fe = (l) => {
5459
+ }, Fe = (c) => {
5456
5460
  let y;
5457
5461
  try {
5458
- y = JSON.parse(l);
5462
+ y = JSON.parse(c);
5459
5463
  } catch (x) {
5460
5464
  console.log("Balance stream failed: ", x);
5461
5465
  return;
5462
5466
  }
5463
5467
  return y;
5464
- }, Me = (l) => {
5465
- const y = Fe(l.data);
5468
+ }, Me = (c) => {
5469
+ const y = Fe(c.data);
5466
5470
  if (!y) {
5467
5471
  Ie();
5468
5472
  return;
@@ -5473,7 +5477,7 @@ function ha(e, t, r) {
5473
5477
  ...H,
5474
5478
  balanceAmount: B[H.id].afterAmount
5475
5479
  }), x = (parseFloat(H?.balanceAmount) + parseFloat(x)).toString(), H)), r(2, _.Real = [{ amount: ne[0]?.balanceAmount }], _), r(2, _.Bonus = [{ amount: ne[1]?.balanceAmount }], _), r(2, _.Total = [{ amount: Number(x) }], _);
5476
- }, le = (l, y, x) => {
5480
+ }, le = (c, y, x) => {
5477
5481
  let B = null;
5478
5482
  switch (x.walletAccountType) {
5479
5483
  case "Ordinary":
@@ -5485,15 +5489,15 @@ function ha(e, t, r) {
5485
5489
  default:
5486
5490
  B = x.afterAmount;
5487
5491
  }
5488
- return B === null ? l : B;
5492
+ return B === null ? c : B;
5489
5493
  }, dt = () => {
5490
5494
  switch (v) {
5491
5495
  case "totalCashAmount":
5492
- let l = 0;
5496
+ let c = 0;
5493
5497
  for (const x of ["Real", "Bonus"])
5494
5498
  for (const B of _[x])
5495
- l += Math.max(B.amount, 0);
5496
- r(2, _.Total[0].amount = l, _);
5499
+ c += Math.max(B.amount, 0);
5500
+ r(2, _.Total[0].amount = c, _);
5497
5501
  break;
5498
5502
  case "totalRealAmount":
5499
5503
  if (!M)
@@ -5503,8 +5507,8 @@ function ha(e, t, r) {
5503
5507
  y += x.amount;
5504
5508
  r(2, _.Total[0].amount = y, _);
5505
5509
  }
5506
- }, Pt = (l) => {
5507
- const y = Fe(l.data);
5510
+ }, Pt = (c) => {
5511
+ const y = Fe(c.data);
5508
5512
  if (!y) {
5509
5513
  Ie();
5510
5514
  return;
@@ -5522,8 +5526,8 @@ function ha(e, t, r) {
5522
5526
  H.productType === P.productType && (P.amount = B === "Real" ? le(P.amount, be[P.productType], H) : H.afterAmount);
5523
5527
  }
5524
5528
  dt();
5525
- }, rt = (l) => {
5526
- switch (Ae("closebalance"), l) {
5529
+ }, rt = (c) => {
5530
+ switch (Ae("closebalance"), c) {
5527
5531
  case "deposit":
5528
5532
  window.postMessage({ type: "GoToDeposit" }, window.location.href);
5529
5533
  break;
@@ -5532,10 +5536,10 @@ function ha(e, t, r) {
5532
5536
  break;
5533
5537
  }
5534
5538
  typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
5535
- }, pt = (l) => l === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, h = () => {
5539
+ }, pt = (c) => c === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, h = () => {
5536
5540
  fe.includes(v) || (console.error(`Unsupported value ('${v}') for totalcalculationmode parameter. Only the following values are supported ${fe}. Using default value ('${fe[0]}').`), r(13, v = fe[0]));
5537
5541
  }, b = () => {
5538
- switch (Vo(a), h(), d) {
5542
+ switch (Vo(s), h(), d) {
5539
5543
  case "gmcore":
5540
5544
  Rt();
5541
5545
  break;
@@ -5545,8 +5549,8 @@ function ha(e, t, r) {
5545
5549
  default:
5546
5550
  throw Error(`Invalid apiversion attribute: ${d}`);
5547
5551
  }
5548
- }, E = (l) => {
5549
- const { data: { type: y } = {} } = l || {};
5552
+ }, E = (c) => {
5553
+ const { data: { type: y } = {} } = c || {};
5550
5554
  switch (y) {
5551
5555
  case "LogoutSuccessfull":
5552
5556
  Te.close();
@@ -5557,30 +5561,30 @@ function ha(e, t, r) {
5557
5561
  }
5558
5562
  }, p = () => {
5559
5563
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
5560
- }, T = (l) => {
5564
+ }, T = (c) => {
5561
5565
  const y = oe.split(",").map((x) => x.trim());
5562
- return !l.productType || y.includes(l.productType) ? "" : n(l.productType);
5566
+ return !c.productType || y.includes(c.productType) ? "" : n(c.productType);
5563
5567
  };
5564
5568
  Dn(() => (window.addEventListener("message", E, !1), r(6, z = aa(Le)), () => {
5565
5569
  window.removeEventListener("message", E), Te && Te.close();
5566
5570
  }));
5567
5571
  const w = () => Ae("balance"), C = () => Ae("closebalance"), j = () => rt("deposit"), O = () => rt("limits"), U = () => Ae("closebalance");
5568
- function F(l) {
5569
- Vt[l ? "unshift" : "push"](() => {
5570
- ee = l, r(1, ee);
5572
+ function F(c) {
5573
+ Vt[c ? "unshift" : "push"](() => {
5574
+ ee = c, r(1, ee);
5571
5575
  });
5572
5576
  }
5573
- return e.$$set = (l) => {
5574
- "userid" in l && r(14, i = l.userid), "session" in l && r(15, o = l.session), "endpoint" in l && r(16, s = l.endpoint), "lang" in l && r(17, a = l.lang), "mbsource" in l && r(18, c = l.mbsource), "clientstyling" in l && r(19, u = l.clientstyling), "clientstylingurl" in l && r(20, f = l.clientstylingurl), "translationurl" in l && r(21, m = l.translationurl), "gmversion" in l && r(22, d = l.gmversion), "displaybalanceoption" in l && r(23, g = l.displaybalanceoption), "totalcalculationmode" in l && r(13, v = l.totalcalculationmode), "primarybalancemode" in l && r(24, S = l.primarybalancemode), "balancelimitsbutton" in l && r(0, K = l.balancelimitsbutton), "hideproducttype" in l && r(25, oe = l.hideproducttype), "currencylocale" in l && r(26, se = l.currencylocale), "currencydisplay" in l && r(27, D = l.currencydisplay), "maximumfractiondigits" in l && r(28, k = l.maximumfractiondigits), "minimumfractiondigits" in l && r(29, Y = l.minimumfractiondigits), "customdisplayformat" in l && r(30, ae = l.customdisplayformat), "alwaysshowdecimals" in l && r(31, me = l.alwaysshowdecimals);
5577
+ return e.$$set = (c) => {
5578
+ "userid" in c && r(14, i = c.userid), "session" in c && r(15, o = c.session), "endpoint" in c && r(16, a = c.endpoint), "lang" in c && r(17, s = c.lang), "mbsource" in c && r(18, l = c.mbsource), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, f = c.clientstylingurl), "translationurl" in c && r(21, m = c.translationurl), "gmversion" in c && r(22, d = c.gmversion), "displaybalanceoption" in c && r(23, g = c.displaybalanceoption), "totalcalculationmode" in c && r(13, v = c.totalcalculationmode), "primarybalancemode" in c && r(24, S = c.primarybalancemode), "balancelimitsbutton" in c && r(0, K = c.balancelimitsbutton), "hideproducttype" in c && r(25, oe = c.hideproducttype), "currencylocale" in c && r(26, se = c.currencylocale), "currencydisplay" in c && r(27, D = c.currencydisplay), "maximumfractiondigits" in c && r(28, k = c.maximumfractiondigits), "minimumfractiondigits" in c && r(29, Y = c.minimumfractiondigits), "customdisplayformat" in c && r(30, ae = c.customdisplayformat), "alwaysshowdecimals" in c && r(31, me = c.alwaysshowdecimals);
5575
5579
  }, e.$$.update = () => {
5576
5580
  e.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
5577
- 12828672 && s && i && o && a && d && g && b(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5578
- 4308992 && s && i && o && d && Ie(), e.$$.dirty[0] & /*translationurl*/
5581
+ 12828672 && a && i && o && s && d && g && b(), e.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
5582
+ 4308992 && a && i && o && d && Ie(), e.$$.dirty[0] & /*translationurl*/
5579
5583
  2097152 && m && et(), e.$$.dirty[0] & /*balances*/
5580
5584
  4 && _.Total && p(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5581
5585
  524290 && u && ee && Qn(ee, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5582
5586
  1048578 && f && ee && Jn(ee, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5583
- 262146 && c && ee && Kn(ee, `${c}.Style`), e.$$.dirty[0] & /*primarybalancemode, balances*/
5587
+ 262146 && l && ee && Kn(ee, `${l}.Style`), e.$$.dirty[0] & /*primarybalancemode, balances*/
5584
5588
  16777220 && r(7, Re = (() => {
5585
5589
  switch (S) {
5586
5590
  case "Real":
@@ -5606,9 +5610,9 @@ function ha(e, t, r) {
5606
5610
  v,
5607
5611
  i,
5608
5612
  o,
5609
- s,
5610
5613
  a,
5611
- c,
5614
+ s,
5615
+ l,
5612
5616
  u,
5613
5617
  f,
5614
5618
  m,