@everymatrix/player-account-vault 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,14 +73,14 @@ function E(e) {
73
73
  function Xt(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function j(e) {
76
+ function $(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
79
  function R() {
80
- return j(" ");
80
+ return $(" ");
81
81
  }
82
82
  function _r() {
83
- return j("");
83
+ return $("");
84
84
  }
85
85
  function ee(e, t, r, n) {
86
86
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -118,7 +118,7 @@ function Zt(e) {
118
118
  const t = e.querySelector(":checked");
119
119
  return t && t.__value;
120
120
  }
121
- function k(e, t, r) {
121
+ function j(e, t, r) {
122
122
  e.classList.toggle(t, !!r);
123
123
  }
124
124
  function en(e) {
@@ -130,9 +130,9 @@ function en(e) {
130
130
  }
131
131
  ), t;
132
132
  }
133
- let $t;
133
+ let kt;
134
134
  function Ke(e) {
135
- $t = e;
135
+ kt = e;
136
136
  }
137
137
  const De = [], pt = [];
138
138
  let Ue = [];
@@ -149,7 +149,7 @@ let Le = 0;
149
149
  function le() {
150
150
  if (Le !== 0)
151
151
  return;
152
- const e = $t;
152
+ const e = kt;
153
153
  do {
154
154
  try {
155
155
  for (; Le < De.length; ) {
@@ -204,7 +204,7 @@ function cn(e, t) {
204
204
  e.$$.dirty[0] === -1 && (De.push(e), rn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
205
  }
206
206
  function hn(e, t, r, n, i, a, o = null, s = [-1]) {
207
- const c = $t;
207
+ const c = kt;
208
208
  Ke(e);
209
209
  const l = e.$$ = {
210
210
  fragment: null,
@@ -496,7 +496,7 @@ function bt(e, t = ae) {
496
496
  }
497
497
  return { set: i, update: a, subscribe: o };
498
498
  }
499
- function je(e, t, r) {
499
+ function $e(e, t, r) {
500
500
  const n = !Array.isArray(e), i = n ? [e] : e;
501
501
  if (!i.every(Boolean))
502
502
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -734,7 +734,7 @@ function Pr(e) {
734
734
  function Ir(e) {
735
735
  return e.type === S.plural;
736
736
  }
737
- function $n(e) {
737
+ function kn(e) {
738
738
  return e.type === S.pound;
739
739
  }
740
740
  function Nr(e) {
@@ -746,10 +746,10 @@ function Or(e) {
746
746
  function Nt(e) {
747
747
  return !!(e && typeof e == "object" && e.type === Ge.dateTime);
748
748
  }
749
- var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
750
- function jn(e) {
749
+ var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
750
+ function $n(e) {
751
751
  var t = {};
752
- return e.replace(kn, function(r) {
752
+ return e.replace(jn, function(r) {
753
753
  var n = r.length;
754
754
  switch (r[0]) {
755
755
  case "G":
@@ -2841,7 +2841,7 @@ var hi = (
2841
2841
  type: Ge.dateTime,
2842
2842
  pattern: I,
2843
2843
  location: l.styleLocation,
2844
- parsedOptions: this.shouldParseSkeletons ? jn(I) : {}
2844
+ parsedOptions: this.shouldParseSkeletons ? $n(I) : {}
2845
2845
  }, D = s === "date" ? S.date : S.time;
2846
2846
  return {
2847
2847
  val: { type: D, value: n, location: P, style: d },
@@ -3102,10 +3102,10 @@ function di(e, t) {
3102
3102
  }
3103
3103
  return t?.captureLocation || Dt(r.val), r.val;
3104
3104
  }
3105
- var $e;
3105
+ var ke;
3106
3106
  (function(e) {
3107
3107
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3108
- })($e || ($e = {}));
3108
+ })(ke || (ke = {}));
3109
3109
  var vt = (
3110
3110
  /** @class */
3111
3111
  function(e) {
@@ -3123,7 +3123,7 @@ var vt = (
3123
3123
  function(e) {
3124
3124
  yt(t, e);
3125
3125
  function t(r, n, i, a) {
3126
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), $e.INVALID_VALUE, a) || this;
3126
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ke.INVALID_VALUE, a) || this;
3127
3127
  }
3128
3128
  return t;
3129
3129
  }(vt)
@@ -3132,7 +3132,7 @@ var vt = (
3132
3132
  function(e) {
3133
3133
  yt(t, e);
3134
3134
  function t(r, n, i) {
3135
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), $e.INVALID_VALUE, i) || this;
3135
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ke.INVALID_VALUE, i) || this;
3136
3136
  }
3137
3137
  return t;
3138
3138
  }(vt)
@@ -3141,7 +3141,7 @@ var vt = (
3141
3141
  function(e) {
3142
3142
  yt(t, e);
3143
3143
  function t(r, n) {
3144
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), $e.MISSING_VALUE, n) || this;
3144
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ke.MISSING_VALUE, n) || this;
3145
3145
  }
3146
3146
  return t;
3147
3147
  }(vt)
@@ -3175,7 +3175,7 @@ function ct(e, t, r, n, i, a, o) {
3175
3175
  });
3176
3176
  continue;
3177
3177
  }
3178
- if ($n(u)) {
3178
+ if (kn(u)) {
3179
3179
  typeof a == "number" && s.push({
3180
3180
  type: X.literal,
3181
3181
  value: r.getNumberFormat(t).format(a)
@@ -3244,7 +3244,7 @@ function ct(e, t, r, n, i, a, o) {
3244
3244
  if (!Intl.PluralRules)
3245
3245
  throw new vt(`Intl.PluralRules is not available in this environment.
3246
3246
  Try polyfilling it using "@formatjs/intl-pluralrules"
3247
- `, $e.MISSING_INTL_API, o);
3247
+ `, ke.MISSING_INTL_API, o);
3248
3248
  var C = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3249
3249
  U = u.options[C] || u.options.other;
3250
3250
  }
@@ -3445,7 +3445,7 @@ function Ti(e, t) {
3445
3445
  n = void 0;
3446
3446
  return n;
3447
3447
  }
3448
- const Ee = {}, Hi = (e, t, r) => r && (t in Ee || (Ee[t] = {}), e in Ee[t] || (Ee[t][e] = r), r), $r = (e, t) => {
3448
+ const Ee = {}, Hi = (e, t, r) => r && (t in Ee || (Ee[t] = {}), e in Ee[t] || (Ee[t][e] = r), r), kr = (e, t) => {
3449
3449
  if (t == null)
3450
3450
  return;
3451
3451
  if (t in Ee && e in Ee[t])
@@ -3457,16 +3457,16 @@ const Ee = {}, Hi = (e, t, r) => r && (t in Ee || (Ee[t] = {}), e in Ee[t] || (E
3457
3457
  return Hi(e, t, a);
3458
3458
  }
3459
3459
  };
3460
- let kt;
3460
+ let jt;
3461
3461
  const Ve = bt({});
3462
3462
  function Ai(e) {
3463
- return kt[e] || null;
3463
+ return jt[e] || null;
3464
3464
  }
3465
- function kr(e) {
3466
- return e in kt;
3465
+ function jr(e) {
3466
+ return e in jt;
3467
3467
  }
3468
3468
  function Bi(e, t) {
3469
- if (!kr(e))
3469
+ if (!jr(e))
3470
3470
  return null;
3471
3471
  const r = Ai(e);
3472
3472
  return Ti(r, t);
@@ -3477,18 +3477,18 @@ function Si(e) {
3477
3477
  const t = xt(e);
3478
3478
  for (let r = 0; r < t.length; r++) {
3479
3479
  const n = t[r];
3480
- if (kr(n))
3480
+ if (jr(n))
3481
3481
  return n;
3482
3482
  }
3483
3483
  }
3484
- function jr(e, ...t) {
3484
+ function $r(e, ...t) {
3485
3485
  delete Ee[e], Ve.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
3486
3486
  }
3487
- je(
3487
+ $e(
3488
3488
  [Ve],
3489
3489
  ([e]) => Object.keys(e)
3490
3490
  );
3491
- Ve.subscribe((e) => kt = e);
3491
+ Ve.subscribe((e) => jt = e);
3492
3492
  const ht = {};
3493
3493
  function Ci(e, t) {
3494
3494
  ht[e].delete(t), ht[e].size === 0 && delete ht[e];
@@ -3513,7 +3513,7 @@ function Ut(e) {
3513
3513
  function Ii(e, t) {
3514
3514
  return Promise.all(
3515
3515
  t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
3516
- ).then((n) => jr(e, ...n));
3516
+ ).then((n) => $r(e, ...n));
3517
3517
  }
3518
3518
  const Ye = {};
3519
3519
  function zr(e) {
@@ -3567,7 +3567,7 @@ const Ni = {
3567
3567
  handleMissingMessage: void 0,
3568
3568
  ignoreTag: !0
3569
3569
  }, Li = Oi;
3570
- function ke() {
3570
+ function je() {
3571
3571
  return Li;
3572
3572
  }
3573
3573
  const Ct = bt(!1);
@@ -3578,13 +3578,13 @@ var Mi = Object.defineProperty, Ri = Object.defineProperties, Di = Object.getOwn
3578
3578
  for (var r of ar(t))
3579
3579
  Fi.call(t, r) && or(e, r, t[r]);
3580
3580
  return e;
3581
- }, $i = (e, t) => Ri(e, Di(t));
3581
+ }, ki = (e, t) => Ri(e, Di(t));
3582
3582
  let Ft;
3583
3583
  const dt = bt(null);
3584
3584
  function sr(e) {
3585
3585
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3586
3586
  }
3587
- function xt(e, t = ke().fallbackLocale) {
3587
+ function xt(e, t = je().fallbackLocale) {
3588
3588
  const r = sr(e);
3589
3589
  return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
3590
3590
  }
@@ -3594,9 +3594,9 @@ function Ae() {
3594
3594
  dt.subscribe((e) => {
3595
3595
  Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3596
3596
  });
3597
- const ki = (e) => {
3597
+ const ji = (e) => {
3598
3598
  if (e && Si(e) && Ut(e)) {
3599
- const { loadingDelay: t } = ke();
3599
+ const { loadingDelay: t } = je();
3600
3600
  let r;
3601
3601
  return typeof window < "u" && Ae() != null && t ? r = window.setTimeout(
3602
3602
  () => Ct.set(!0),
@@ -3608,8 +3608,8 @@ const ki = (e) => {
3608
3608
  });
3609
3609
  }
3610
3610
  return dt.set(e);
3611
- }, _e = $i(Gi({}, dt), {
3612
- set: ki
3611
+ }, _e = ki(Gi({}, dt), {
3612
+ set: ji
3613
3613
  }), Et = (e) => {
3614
3614
  const t = /* @__PURE__ */ Object.create(null);
3615
3615
  return (n) => {
@@ -3617,7 +3617,7 @@ const ki = (e) => {
3617
3617
  return i in t ? t[i] : t[i] = e(n);
3618
3618
  };
3619
3619
  };
3620
- var ji = Object.defineProperty, gt = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
3620
+ var $i = Object.defineProperty, gt = Object.getOwnPropertySymbols, Xr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
3621
3621
  for (var r in t || (t = {}))
3622
3622
  Xr.call(t, r) && ur(e, r, t[r]);
3623
3623
  if (gt)
@@ -3634,7 +3634,7 @@ var ji = Object.defineProperty, gt = Object.getOwnPropertySymbols, Xr = Object.p
3634
3634
  return r;
3635
3635
  };
3636
3636
  const rt = (e, t) => {
3637
- const { formats: r } = ke();
3637
+ const { formats: r } = je();
3638
3638
  if (e in r && t in r[e])
3639
3639
  return r[e][t];
3640
3640
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
@@ -3667,25 +3667,25 @@ const rt = (e, t) => {
3667
3667
  } = t, n = ze(t, [
3668
3668
  "locale"
3669
3669
  ]);
3670
- return Vi(jt({ locale: r }, n));
3670
+ return Vi($t({ locale: r }, n));
3671
3671
  }, Zi = (e = {}) => {
3672
3672
  var t = e, {
3673
3673
  locale: r = Ae()
3674
3674
  } = t, n = ze(t, [
3675
3675
  "locale"
3676
3676
  ]);
3677
- return zi(jt({ locale: r }, n));
3677
+ return zi($t({ locale: r }, n));
3678
3678
  }, qi = (e = {}) => {
3679
3679
  var t = e, {
3680
3680
  locale: r = Ae()
3681
3681
  } = t, n = ze(t, [
3682
3682
  "locale"
3683
3683
  ]);
3684
- return Xi(jt({ locale: r }, n));
3684
+ return Xi($t({ locale: r }, n));
3685
3685
  }, Ji = Et(
3686
3686
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3687
- (e, t = Ae()) => new wi(e, t, ke().formats, {
3688
- ignoreTag: ke().ignoreTag
3687
+ (e, t = Ae()) => new wi(e, t, je().formats, {
3688
+ ignoreTag: je().ignoreTag
3689
3689
  })
3690
3690
  ), Qi = (e, t = {}) => {
3691
3691
  var r, n, i, a;
@@ -3700,9 +3700,9 @@ const rt = (e, t) => {
3700
3700
  throw new Error(
3701
3701
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3702
3702
  );
3703
- let u = $r(e, c);
3703
+ let u = kr(e, c);
3704
3704
  if (!u)
3705
- u = (a = (i = (n = (r = ke()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3705
+ u = (a = (i = (n = (r = je()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3706
3706
  else if (typeof u != "string")
3707
3707
  return console.warn(
3708
3708
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3719,18 +3719,18 @@ const rt = (e, t) => {
3719
3719
  );
3720
3720
  }
3721
3721
  return h;
3722
- }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), ea = (e, t) => Wi(t).format(e), ta = (e, t = Ae()) => $r(e, t), ra = je([_e, Ve], () => Qi);
3723
- je([_e], () => Yi);
3724
- je([_e], () => Ki);
3725
- je([_e], () => ea);
3726
- je([_e, Ve], () => ta);
3722
+ }, Yi = (e, t) => qi(t).format(e), Ki = (e, t) => Zi(t).format(e), ea = (e, t) => Wi(t).format(e), ta = (e, t = Ae()) => kr(e, t), ra = $e([_e, Ve], () => Qi);
3723
+ $e([_e], () => Yi);
3724
+ $e([_e], () => Ki);
3725
+ $e([_e], () => ea);
3726
+ $e([_e, Ve], () => ta);
3727
3727
  function na({ withLocale: e, translations: t }) {
3728
3728
  _e.subscribe((r) => {
3729
3729
  r == null && (Ve.set(t), _e.set(e));
3730
3730
  });
3731
3731
  }
3732
3732
  function lr(e, t) {
3733
- jr(e, t);
3733
+ $r(e, t);
3734
3734
  }
3735
3735
  function ia(e) {
3736
3736
  _e.set(e);
@@ -3806,7 +3806,7 @@ function mr(e) {
3806
3806
  ), n, i, a;
3807
3807
  return {
3808
3808
  c() {
3809
- t = E("option"), n = j(r), i = R(), t.__value = a = /*balance*/
3809
+ t = E("option"), n = $(r), i = R(), t.__value = a = /*balance*/
3810
3810
  e[67].currency, xe(t, t.__value);
3811
3811
  },
3812
3812
  m(o, s) {
@@ -3852,7 +3852,7 @@ function gr(e) {
3852
3852
  ), n, i, a;
3853
3853
  return {
3854
3854
  c() {
3855
- t = E("option"), n = j(r), i = R(), t.__value = a = /*balance*/
3855
+ t = E("option"), n = $(r), i = R(), t.__value = a = /*balance*/
3856
3856
  e[67].currency, xe(t, t.__value);
3857
3857
  },
3858
3858
  m(o, s) {
@@ -3913,7 +3913,7 @@ function yr(e) {
3913
3913
  );
3914
3914
  return {
3915
3915
  c() {
3916
- t = E("div"), r = E("p"), i = j(n), a = R(), o = E("p"), c = j(s), l = R(), T(t, "class", "vaultItem");
3916
+ t = E("div"), r = E("p"), i = $(n), a = R(), o = E("p"), c = $(s), l = R(), T(t, "class", "vaultItem");
3917
3917
  },
3918
3918
  m(b, v) {
3919
3919
  Q(b, t, v), m(t, r), m(r, i), m(t, a), m(t, o), m(o, c), m(t, l), h();
@@ -3942,14 +3942,14 @@ function oa(e) {
3942
3942
  ), s, c, l;
3943
3943
  return {
3944
3944
  c() {
3945
- t = E("button"), n = j(r), i = R(), a = E("button"), s = j(o), t.disabled = /*exchangeDisabled*/
3946
- e[6], k(
3945
+ t = E("button"), n = $(r), i = R(), a = E("button"), s = $(o), t.disabled = /*exchangeDisabled*/
3946
+ e[6], j(
3947
3947
  t,
3948
3948
  "disabled",
3949
3949
  /*exchangeDisabled*/
3950
3950
  e[6]
3951
3951
  ), a.disabled = /*exchangeDisabled*/
3952
- e[6], k(
3952
+ e[6], j(
3953
3953
  a,
3954
3954
  "disabled",
3955
3955
  /*exchangeDisabled*/
@@ -3978,7 +3978,7 @@ function oa(e) {
3978
3978
  u[18]("Exchange") + "") && W(n, r), h[0] & /*exchangeDisabled*/
3979
3979
  64 && (t.disabled = /*exchangeDisabled*/
3980
3980
  u[6]), h[0] & /*exchangeDisabled*/
3981
- 64 && k(
3981
+ 64 && j(
3982
3982
  t,
3983
3983
  "disabled",
3984
3984
  /*exchangeDisabled*/
@@ -3988,7 +3988,7 @@ function oa(e) {
3988
3988
  u[18]("Reset") + "") && W(s, o), h[0] & /*exchangeDisabled*/
3989
3989
  64 && (a.disabled = /*exchangeDisabled*/
3990
3990
  u[6]), h[0] & /*exchangeDisabled*/
3991
- 64 && k(
3991
+ 64 && j(
3992
3992
  a,
3993
3993
  "disabled",
3994
3994
  /*exchangeDisabled*/
@@ -4010,7 +4010,7 @@ function sa(e) {
4010
4010
  ), s, c, l;
4011
4011
  return {
4012
4012
  c() {
4013
- t = E("button"), n = j(r), i = R(), a = E("button"), s = j(o);
4013
+ t = E("button"), n = $(r), i = R(), a = E("button"), s = $(o);
4014
4014
  },
4015
4015
  m(u, h) {
4016
4016
  Q(u, t, h), m(t, n), Q(u, i, h), Q(u, a, h), m(a, s), c || (l = [
@@ -4059,7 +4059,7 @@ function ua(e) {
4059
4059
  ), oe, Te, he, fe, V, J, pe, G, Be, Y, Xe, re, me, Se = (
4060
4060
  /*$_*/
4061
4061
  e[18]("exchangeTo") + ""
4062
- ), We, Ze, de, $, Ce, Pe, nt, ne, qe, be, ye, Je, Ie, Qe, M, ge, it, K, ie, Ne, Oe = (
4062
+ ), We, Ze, de, k, Ce, Pe, nt, ne, qe, be, ye, Je, Ie, Qe, M, ge, it, K, ie, Ne, Oe = (
4063
4063
  /*$_*/
4064
4064
  e[18](
4065
4065
  /*errorCode*/
@@ -4093,10 +4093,10 @@ function ua(e) {
4093
4093
  let ot = Vt(e), ue = ot(e);
4094
4094
  return {
4095
4095
  c() {
4096
- t = E("div"), r = E("div"), n = E("div"), i = E("h1"), o = j(a), s = R(), c = E("div"), l = E("p"), h = j(u), d = R(), b = E("p"), P = j(v), F = R(), D = j(I), U = R(), C = E("div"), O = E("div"), q = E("p"), oe = j(te), Te = R(), he = E("div"), fe = E("div"), V = E("input"), pe = R(), G = E("select");
4096
+ t = E("div"), r = E("div"), n = E("div"), i = E("h1"), o = $(a), s = R(), c = E("div"), l = E("p"), h = $(u), d = R(), b = E("p"), P = $(v), F = R(), D = $(I), U = R(), C = E("div"), O = E("div"), q = E("p"), oe = $(te), Te = R(), he = E("div"), fe = E("div"), V = E("input"), pe = R(), G = E("select");
4097
4097
  for (let f = 0; f < x.length; f += 1)
4098
4098
  x[f].c();
4099
- Be = R(), Y = E("div"), Y.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 5 20 20" class="iconExchange"><path d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"></path></svg>', Xe = R(), re = E("div"), me = E("p"), We = j(Se), Ze = R(), de = E("div"), $ = E("input"), nt = R(), ne = E("select");
4099
+ Be = R(), Y = E("div"), Y.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="6 5 20 20" class="iconExchange"><path d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"></path></svg>', Xe = R(), re = E("div"), me = E("p"), We = $(Se), Ze = R(), de = E("div"), k = E("input"), nt = R(), ne = E("select");
4100
4100
  for (let f = 0; f < L.length; f += 1)
4101
4101
  L[f].c();
4102
4102
  qe = R(), be = E("div"), ye = Xt("svg"), Je = Xt("path"), Qe = R(), M = E("div");
@@ -4107,9 +4107,9 @@ function ua(e) {
4107
4107
  e[1] === void 0 && et(() => (
4108
4108
  /*select0_change_handler*/
4109
4109
  e[33].call(G)
4110
- )), T(fe, "class", "containerInputSelect"), T(he, "class", "flexingContainerRow"), T(O, "class", "containerExchangeFrom"), T(Y, "class", "containerIconExchange"), T(me, "class", "exchangeHeader"), $.disabled = Ce = /*inputExchangeFrom*/
4111
- e[4] === 0, T($, "placeholder", Pe = /*$_*/
4112
- e[18]("creditPlaceHolder")), T($, "type", "number"), T($, "min", "0"), $.readOnly = !0, /*selectedCurrencyTo*/
4110
+ )), T(fe, "class", "containerInputSelect"), T(he, "class", "flexingContainerRow"), T(O, "class", "containerExchangeFrom"), T(Y, "class", "containerIconExchange"), T(me, "class", "exchangeHeader"), k.disabled = Ce = /*inputExchangeFrom*/
4111
+ e[4] === 0, T(k, "placeholder", Pe = /*$_*/
4112
+ e[18]("creditPlaceHolder")), T(k, "type", "number"), T(k, "min", "0"), k.readOnly = !0, /*selectedCurrencyTo*/
4113
4113
  e[2] === void 0 && et(() => (
4114
4114
  /*select1_change_handler*/
4115
4115
  e[35].call(ne)
@@ -4122,32 +4122,32 @@ function ua(e) {
4122
4122
  "height",
4123
4123
  /*calculateHeight*/
4124
4124
  e[0]
4125
- ), k(
4125
+ ), j(
4126
4126
  ie,
4127
4127
  "error",
4128
4128
  /*isError*/
4129
4129
  e[8]
4130
- ), k(
4130
+ ), j(
4131
4131
  ie,
4132
4132
  "success",
4133
4133
  /*isSuccess*/
4134
4134
  e[9]
4135
- ), k(
4135
+ ), j(
4136
4136
  ie,
4137
4137
  "action",
4138
4138
  /*isAction*/
4139
4139
  e[10]
4140
- ), T(K, "class", "notificationsContainer"), k(
4140
+ ), T(K, "class", "notificationsContainer"), j(
4141
4141
  K,
4142
4142
  "error",
4143
4143
  /*isError*/
4144
4144
  e[8]
4145
- ), k(
4145
+ ), j(
4146
4146
  K,
4147
4147
  "success",
4148
4148
  /*isSuccess*/
4149
4149
  e[9]
4150
- ), k(
4150
+ ), j(
4151
4151
  K,
4152
4152
  "action",
4153
4153
  /*isAction*/
@@ -4167,8 +4167,8 @@ function ua(e) {
4167
4167
  /*selectedCurrencyFrom*/
4168
4168
  e[1],
4169
4169
  !0
4170
- ), m(C, Be), m(C, Y), m(C, Xe), m(C, re), m(re, me), m(me, We), m(re, Ze), m(re, de), m(de, $), xe(
4171
- $,
4170
+ ), m(C, Be), m(C, Y), m(C, Xe), m(C, re), m(re, me), m(me, We), m(re, Ze), m(re, de), m(de, k), xe(
4171
+ k,
4172
4172
  /*inputExchangeTo*/
4173
4173
  e[5]
4174
4174
  ), m(de, nt), m(de, ne);
@@ -4208,7 +4208,7 @@ function ua(e) {
4208
4208
  e[20]
4209
4209
  ),
4210
4210
  ee(
4211
- $,
4211
+ k,
4212
4212
  "input",
4213
4213
  /*input1_input_handler*/
4214
4214
  e[34]
@@ -4276,12 +4276,12 @@ function ua(e) {
4276
4276
  262144 && Se !== (Se = /*$_*/
4277
4277
  f[18]("exchangeTo") + "") && W(We, Se), H[0] & /*inputExchangeFrom*/
4278
4278
  16 && Ce !== (Ce = /*inputExchangeFrom*/
4279
- f[4] === 0) && ($.disabled = Ce), H[0] & /*$_*/
4279
+ f[4] === 0) && (k.disabled = Ce), H[0] & /*$_*/
4280
4280
  262144 && Pe !== (Pe = /*$_*/
4281
- f[18]("creditPlaceHolder")) && T($, "placeholder", Pe), H[0] & /*inputExchangeTo*/
4282
- 32 && ft($.value) !== /*inputExchangeTo*/
4281
+ f[18]("creditPlaceHolder")) && T(k, "placeholder", Pe), H[0] & /*inputExchangeTo*/
4282
+ 32 && ft(k.value) !== /*inputExchangeTo*/
4283
4283
  f[5] && xe(
4284
- $,
4284
+ k,
4285
4285
  /*inputExchangeTo*/
4286
4286
  f[5]
4287
4287
  ), H[0] & /*playerFilteredBalances, selectedCurrencyFrom*/
@@ -4337,37 +4337,37 @@ function ua(e) {
4337
4337
  /*errorCode*/
4338
4338
  f[3]
4339
4339
  ) + "") && (Ne.innerHTML = Oe), H[0] & /*isError*/
4340
- 256 && k(
4340
+ 256 && j(
4341
4341
  ie,
4342
4342
  "error",
4343
4343
  /*isError*/
4344
4344
  f[8]
4345
4345
  ), H[0] & /*isSuccess*/
4346
- 512 && k(
4346
+ 512 && j(
4347
4347
  ie,
4348
4348
  "success",
4349
4349
  /*isSuccess*/
4350
4350
  f[9]
4351
4351
  ), H[0] & /*isAction*/
4352
- 1024 && k(
4352
+ 1024 && j(
4353
4353
  ie,
4354
4354
  "action",
4355
4355
  /*isAction*/
4356
4356
  f[10]
4357
4357
  ), H[0] & /*isError*/
4358
- 256 && k(
4358
+ 256 && j(
4359
4359
  K,
4360
4360
  "error",
4361
4361
  /*isError*/
4362
4362
  f[8]
4363
4363
  ), H[0] & /*isSuccess*/
4364
- 512 && k(
4364
+ 512 && j(
4365
4365
  K,
4366
4366
  "success",
4367
4367
  /*isSuccess*/
4368
4368
  f[9]
4369
4369
  ), H[0] & /*isAction*/
4370
- 1024 && k(
4370
+ 1024 && j(
4371
4371
  K,
4372
4372
  "action",
4373
4373
  /*isAction*/
@@ -4395,7 +4395,7 @@ function la(e, t) {
4395
4395
  function ca(e, t, r) {
4396
4396
  let n;
4397
4397
  qr(e, ra, (p) => r(18, n = p));
4398
- let { session: i = "", userid: a = "", endpoint: o = "", lang: s = "en" } = t, { clientstyling: c = "", clientstylingurl: l = "", translationurl: u = "" } = t, { playercurrency: h = "" } = t, d = "", b = "", v = "", P = "", F = "", I = 0, D = 0, U = 0, C = !0, O = !1, q = !1, te = !1, oe = !1, Te = !0, he = !1, fe = [], V = [], J = [], pe = [], G = [], Be = [], Y = {}, Xe = {}, re = null, me = [];
4398
+ let { session: i = "" } = t, { userid: a = "" } = t, { endpoint: o = "" } = t, { lang: s = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, d = "", b = "", v = "", P = "", F = "", I = 0, D = 0, U = 0, C = !0, O = !1, q = !1, te = !1, oe = !1, Te = !0, he = !1, fe = [], V = [], J = [], pe = [], G = [], Be = [], Y = {}, Xe = {}, re = null, me = [];
4399
4399
  const Se = () => {
4400
4400
  ia(s);
4401
4401
  };
@@ -4419,7 +4419,7 @@ function ca(e, t, r) {
4419
4419
  return r(0, d = "0px");
4420
4420
  const p = me[0]?.clientHeight, y = G.length, B = 30, x = parseFloat(getComputedStyle(re).getPropertyValue("gap"));
4421
4421
  return r(0, d = `${y * p + y * x + B}px`);
4422
- }, $ = () => new Promise((p, y) => {
4422
+ }, k = () => new Promise((p, y) => {
4423
4423
  let B = new URL(`${o}/v2/player/${a}/balance`);
4424
4424
  fetch(B, {
4425
4425
  method: "GET",
@@ -4524,7 +4524,7 @@ function ca(e, t, r) {
4524
4524
  })
4525
4525
  };
4526
4526
  fetch(p, B).then((x) => ge(x)).then((x) => {
4527
- x && (r(10, oe = !1), r(4, I = 0), r(5, D = 0), M("success", "exchangeSuccess"), $().then((A) => {
4527
+ x && (r(10, oe = !1), r(4, I = 0), r(5, D = 0), M("success", "exchangeSuccess"), k().then((A) => {
4528
4528
  !A || !O || de();
4529
4529
  }).catch((A) => {
4530
4530
  console.error("There was an error with fetching the players balance.", A);
@@ -4617,7 +4617,7 @@ function ca(e, t, r) {
4617
4617
  16777216, e.$$.dirty[0] & /*lang*/
4618
4618
  134217728 && s && Se(), e.$$.dirty[0] & /*session, userid, endpoint*/
4619
4619
  117440512 | e.$$.dirty[1] & /*playercurrency*/
4620
- 1 && i && a && o && h && $(), e.$$.dirty[0] & /*clientstyling*/
4620
+ 1 && i && a && o && h && k(), e.$$.dirty[0] & /*clientstyling*/
4621
4621
  268435456, e.$$.dirty[0] & /*clientstylingurl*/
4622
4622
  536870912, e.$$.dirty[0] & /*translationurl*/
4623
4623
  1073741824 && u && We();