@everymatrix/player-account-vault 0.19.13 → 0.19.14

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.
@@ -15,14 +15,14 @@ var jt = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(n.next(l));
18
- } catch (u) {
19
- i(u);
18
+ } catch (c) {
19
+ i(c);
20
20
  }
21
21
  }, a = (l) => {
22
22
  try {
23
23
  s(n.throw(l));
24
- } catch (u) {
25
- i(u);
24
+ } catch (c) {
25
+ i(c);
26
26
  }
27
27
  }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
28
28
  s((n = n.apply(e, t)).next());
@@ -115,7 +115,7 @@ function O() {
115
115
  function Gr() {
116
116
  return Z("");
117
117
  }
118
- function ne(e, t, n, r) {
118
+ function re(e, t, n, r) {
119
119
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
120
120
  }
121
121
  function $r(e) {
@@ -132,7 +132,7 @@ function St(e) {
132
132
  function jr(e) {
133
133
  return Array.from(e.childNodes);
134
134
  }
135
- function re(e, t) {
135
+ function ie(e, t) {
136
136
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
137
137
  t);
138
138
  }
@@ -270,7 +270,7 @@ function Qr(e, t) {
270
270
  function mn(e, t, n, r, i, o, a = null, s = [-1]) {
271
271
  const l = ut;
272
272
  lt(e);
273
- const u = e.$$ = {
273
+ const c = e.$$ = {
274
274
  fragment: null,
275
275
  ctx: [],
276
276
  // state
@@ -291,17 +291,17 @@ function mn(e, t, n, r, i, o, a = null, s = [-1]) {
291
291
  skip_bound: !1,
292
292
  root: t.target || l.$$.root
293
293
  };
294
- a && a(u.root);
295
- let c = !1;
296
- if (u.ctx = n ? n(e, t.props || {}, (f, h, ...m) => {
294
+ a && a(c.root);
295
+ let u = !1;
296
+ if (c.ctx = n ? n(e, t.props || {}, (f, h, ...m) => {
297
297
  const _ = m.length ? m[0] : h;
298
- return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), c && Qr(e, f)), h;
299
- }) : [], u.update(), c = !0, we(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
298
+ return c.ctx && i(c.ctx[f], c.ctx[f] = _) && (!c.skip_bound && c.bound[f] && c.bound[f](_), u && Qr(e, f)), h;
299
+ }) : [], c.update(), u = !0, we(c.before_update), c.fragment = r ? r(c.ctx) : !1, t.target) {
300
300
  if (t.hydrate) {
301
301
  const f = jr(t.target);
302
- u.fragment && u.fragment.l(f), f.forEach(S);
302
+ c.fragment && c.fragment.l(f), f.forEach(S);
303
303
  } else
304
- u.fragment && u.fragment.c();
304
+ c.fragment && c.fragment.c();
305
305
  t.intro && $(e.$$.fragment), ze(e, t.target, t.anchor), G();
306
306
  }
307
307
  lt(l);
@@ -357,11 +357,11 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
357
357
  * @param {HTMLElement} target
358
358
  * @param {HTMLElement} [anchor]
359
359
  */
360
- m: function(u, c) {
361
- H(u, a, c);
360
+ m: function(c, u) {
361
+ H(c, a, u);
362
362
  },
363
- d: function(u) {
364
- u && S(a);
363
+ d: function(c) {
364
+ c && S(a);
365
365
  }
366
366
  };
367
367
  };
@@ -474,8 +474,8 @@ function gn(e, t, n, r, i, o) {
474
474
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
475
475
  },
476
476
  set(l) {
477
- var u;
478
- l = Ct(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
477
+ var c;
478
+ l = Ct(s, l, t), this.$$d[s] = l, (c = this.$$c) == null || c.$set({ [s]: l });
479
479
  }
480
480
  });
481
481
  }), r.forEach((s) => {
@@ -548,11 +548,11 @@ function Rt(e, t = L) {
548
548
  function i(s) {
549
549
  if (Nt(e, s) && (e = s, n)) {
550
550
  const l = !$e.length;
551
- for (const u of r)
552
- u[1](), $e.push(u, e);
551
+ for (const c of r)
552
+ c[1](), $e.push(c, e);
553
553
  if (l) {
554
- for (let u = 0; u < $e.length; u += 2)
555
- $e[u][0]($e[u + 1]);
554
+ for (let c = 0; c < $e.length; c += 2)
555
+ $e[c][0]($e[c + 1]);
556
556
  $e.length = 0;
557
557
  }
558
558
  }
@@ -561,9 +561,9 @@ function Rt(e, t = L) {
561
561
  i(s(e));
562
562
  }
563
563
  function a(s, l = L) {
564
- const u = [s, l];
565
- return r.add(u), r.size === 1 && (n = t(i, o) || L), s(e), () => {
566
- r.delete(u), r.size === 0 && n && (n(), n = null);
564
+ const c = [s, l];
565
+ return r.add(c), r.size === 1 && (n = t(i, o) || L), s(e), () => {
566
+ r.delete(c), r.size === 0 && n && (n(), n = null);
567
567
  };
568
568
  }
569
569
  return { set: i, update: o, subscribe: a };
@@ -575,22 +575,22 @@ function Je(e, t, n) {
575
575
  const o = t.length < 2;
576
576
  return Jr(n, (a, s) => {
577
577
  let l = !1;
578
- const u = [];
579
- let c = 0, f = L;
578
+ const c = [];
579
+ let u = 0, f = L;
580
580
  const h = () => {
581
- if (c)
581
+ if (u)
582
582
  return;
583
583
  f();
584
- const _ = t(r ? u[0] : u, a, s);
584
+ const _ = t(r ? c[0] : c, a, s);
585
585
  o ? a(_) : f = pt(_) ? _ : L;
586
586
  }, m = i.map(
587
587
  (_, d) => rr(
588
588
  _,
589
589
  (E) => {
590
- u[d] = E, c &= ~(1 << d), l && h();
590
+ c[d] = E, u &= ~(1 << d), l && h();
591
591
  },
592
592
  () => {
593
- c |= 1 << d;
593
+ u |= 1 << d;
594
594
  }
595
595
  )
596
596
  );
@@ -930,8 +930,8 @@ function Hi(e) {
930
930
  var o = i[r], a = o.split("/");
931
931
  if (a.length === 0)
932
932
  throw new Error("Invalid number skeleton");
933
- for (var s = a[0], l = a.slice(1), u = 0, c = l; u < c.length; u++) {
934
- var f = c[u];
933
+ for (var s = a[0], l = a.slice(1), c = 0, u = l; c < u.length; c++) {
934
+ var f = u[c];
935
935
  if (f.length === 0)
936
936
  throw new Error("Invalid number skeleton");
937
937
  }
@@ -1042,13 +1042,13 @@ function Ni(e) {
1042
1042
  t.notation = "compact", t.compactDisplay = "long";
1043
1043
  continue;
1044
1044
  case "scientific":
1045
- t = V(V(V({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1046
- return V(V({}, l), Ln(u));
1045
+ t = V(V(V({}, t), { notation: "scientific" }), i.options.reduce(function(l, c) {
1046
+ return V(V({}, l), Ln(c));
1047
1047
  }, {}));
1048
1048
  continue;
1049
1049
  case "engineering":
1050
- t = V(V(V({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1051
- return V(V({}, l), Ln(u));
1050
+ t = V(V(V({}, t), { notation: "engineering" }), i.options.reduce(function(l, c) {
1051
+ return V(V({}, l), Ln(c));
1052
1052
  }, {}));
1053
1053
  continue;
1054
1054
  case "notation-simple":
@@ -1093,9 +1093,9 @@ function Ni(e) {
1093
1093
  case "integer-width":
1094
1094
  if (i.options.length > 1)
1095
1095
  throw new RangeError("integer-width stems only accept a single optional option");
1096
- i.options[0].replace(Pi, function(l, u, c, f, h, m) {
1097
- if (u)
1098
- t.minimumIntegerDigits = c.length;
1096
+ i.options[0].replace(Pi, function(l, c, u, f, h, m) {
1097
+ if (c)
1098
+ t.minimumIntegerDigits = u.length;
1099
1099
  else {
1100
1100
  if (f && h)
1101
1101
  throw new Error("We currently do not support maximum integer digits");
@@ -1113,8 +1113,8 @@ function Ni(e) {
1113
1113
  if (In.test(i.stem)) {
1114
1114
  if (i.options.length > 1)
1115
1115
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1116
- i.stem.replace(In, function(l, u, c, f, h, m) {
1117
- return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1116
+ i.stem.replace(In, function(l, c, u, f, h, m) {
1117
+ return u === "*" ? t.minimumFractionDigits = c.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : h && m ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
1118
1118
  });
1119
1119
  var o = i.options[0];
1120
1120
  o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), Pn(o)));
@@ -2552,11 +2552,11 @@ function Ri(e, t) {
2552
2552
  if (i === "j") {
2553
2553
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2554
2554
  o++, r++;
2555
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Oi(t);
2556
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2555
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", c = Oi(t);
2556
+ for ((c == "H" || c == "k") && (s = 0); s-- > 0; )
2557
2557
  n += l;
2558
2558
  for (; a-- > 0; )
2559
- n = u + n;
2559
+ n = c + n;
2560
2560
  } else
2561
2561
  i === "J" ? n += "H" : n += i;
2562
2562
  }
@@ -2754,8 +2754,8 @@ var qi = (
2754
2754
  if (this.bumpIf("</")) {
2755
2755
  if (this.isEOF() || !un(this.char()))
2756
2756
  return this.error(P.INVALID_TAG, N(s, this.clonePosition()));
2757
- var l = this.clonePosition(), u = this.parseTagName();
2758
- return i !== u ? this.error(P.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2757
+ var l = this.clonePosition(), c = this.parseTagName();
2758
+ return i !== c ? this.error(P.UNMATCHED_CLOSING_TAG, N(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2759
2759
  val: {
2760
2760
  type: U.tag,
2761
2761
  value: i,
@@ -2880,26 +2880,26 @@ var qi = (
2880
2880
  case "date":
2881
2881
  case "time": {
2882
2882
  this.bumpSpace();
2883
- var u = null;
2883
+ var c = null;
2884
2884
  if (this.bumpIf(",")) {
2885
2885
  this.bumpSpace();
2886
- var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2886
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2887
2887
  if (f.err)
2888
2888
  return f;
2889
2889
  var h = Zi(f.val);
2890
2890
  if (h.length === 0)
2891
2891
  return this.error(P.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2892
- var m = N(c, this.clonePosition());
2893
- u = { style: h, styleLocation: m };
2892
+ var m = N(u, this.clonePosition());
2893
+ c = { style: h, styleLocation: m };
2894
2894
  }
2895
2895
  var _ = this.tryParseArgumentClose(i);
2896
2896
  if (_.err)
2897
2897
  return _;
2898
2898
  var d = N(i, this.clonePosition());
2899
- if (u && Nn(u == null ? void 0 : u.style, "::", 0)) {
2900
- var E = zi(u.style.slice(2));
2899
+ if (c && Nn(c == null ? void 0 : c.style, "::", 0)) {
2900
+ var E = zi(c.style.slice(2));
2901
2901
  if (s === "number") {
2902
- var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
2902
+ var f = this.parseNumberSkeletonFromString(E, c.styleLocation);
2903
2903
  return f.err ? f : {
2904
2904
  val: { type: U.number, value: r, location: d, style: f.val },
2905
2905
  err: null
@@ -2912,7 +2912,7 @@ var qi = (
2912
2912
  var h = {
2913
2913
  type: Ke.dateTime,
2914
2914
  pattern: C,
2915
- location: u.styleLocation,
2915
+ location: c.styleLocation,
2916
2916
  parsedOptions: this.shouldParseSkeletons ? Bi(C) : {}
2917
2917
  }, R = s === "date" ? U.date : U.time;
2918
2918
  return {
@@ -2926,7 +2926,7 @@ var qi = (
2926
2926
  type: s === "number" ? U.number : s === "date" ? U.date : U.time,
2927
2927
  value: r,
2928
2928
  location: d,
2929
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2929
+ style: (o = c == null ? void 0 : c.style) !== null && o !== void 0 ? o : null
2930
2930
  },
2931
2931
  err: null
2932
2932
  };
@@ -3032,20 +3032,20 @@ var qi = (
3032
3032
  err: null
3033
3033
  };
3034
3034
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3035
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3036
- if (u.length === 0) {
3035
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), c = i.value, u = i.location; ; ) {
3036
+ if (c.length === 0) {
3037
3037
  var f = this.clonePosition();
3038
3038
  if (n !== "select" && this.bumpIf("=")) {
3039
3039
  var h = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
3040
3040
  if (h.err)
3041
3041
  return h;
3042
- c = N(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3042
+ u = N(f, this.clonePosition()), c = this.message.slice(f.offset, this.offset());
3043
3043
  } else
3044
3044
  break;
3045
3045
  }
3046
- if (l.has(u))
3047
- return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3048
- u === "other" && (a = !0), this.bumpSpace();
3046
+ if (l.has(c))
3047
+ return this.error(n === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3048
+ c === "other" && (a = !0), this.bumpSpace();
3049
3049
  var m = this.clonePosition();
3050
3050
  if (!this.bumpIf("{"))
3051
3051
  return this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
@@ -3056,12 +3056,12 @@ var qi = (
3056
3056
  if (d.err)
3057
3057
  return d;
3058
3058
  s.push([
3059
- u,
3059
+ c,
3060
3060
  {
3061
3061
  value: _.val,
3062
3062
  location: N(m, this.clonePosition())
3063
3063
  }
3064
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3064
+ ]), l.add(c), this.bumpSpace(), o = this.parseIdentifierIfPossible(), c = o.value, u = o.location;
3065
3065
  }
3066
3066
  return s.length === 0 ? this.error(n === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(P.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3067
3067
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
@@ -3217,14 +3217,14 @@ var Dt = (
3217
3217
  }
3218
3218
  return t;
3219
3219
  }(Dt)
3220
- ), Y;
3220
+ ), J;
3221
3221
  (function(e) {
3222
3222
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3223
- })(Y || (Y = {}));
3223
+ })(J || (J = {}));
3224
3224
  function no(e) {
3225
3225
  return e.length < 2 ? e : e.reduce(function(t, n) {
3226
3226
  var r = t[t.length - 1];
3227
- return !r || r.type !== Y.literal || n.type !== Y.literal ? t.push(n) : r.value += n.value, t;
3227
+ return !r || r.type !== J.literal || n.type !== J.literal ? t.push(n) : r.value += n.value, t;
3228
3228
  }, []);
3229
3229
  }
3230
3230
  function ro(e) {
@@ -3234,63 +3234,63 @@ function Tt(e, t, n, r, i, o, a) {
3234
3234
  if (e.length === 1 && Hn(e[0]))
3235
3235
  return [
3236
3236
  {
3237
- type: Y.literal,
3237
+ type: J.literal,
3238
3238
  value: e[0].value
3239
3239
  }
3240
3240
  ];
3241
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3242
- var c = u[l];
3243
- if (Hn(c)) {
3241
+ for (var s = [], l = 0, c = e; l < c.length; l++) {
3242
+ var u = c[l];
3243
+ if (Hn(u)) {
3244
3244
  s.push({
3245
- type: Y.literal,
3246
- value: c.value
3245
+ type: J.literal,
3246
+ value: u.value
3247
3247
  });
3248
3248
  continue;
3249
3249
  }
3250
- if (Ci(c)) {
3250
+ if (Ci(u)) {
3251
3251
  typeof o == "number" && s.push({
3252
- type: Y.literal,
3252
+ type: J.literal,
3253
3253
  value: n.getNumberFormat(t).format(o)
3254
3254
  });
3255
3255
  continue;
3256
3256
  }
3257
- var f = c.value;
3257
+ var f = u.value;
3258
3258
  if (!(i && f in i))
3259
3259
  throw new to(f, a);
3260
3260
  var h = i[f];
3261
- if (Ai(c)) {
3261
+ if (Ai(u)) {
3262
3262
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), s.push({
3263
- type: typeof h == "string" ? Y.literal : Y.object,
3263
+ type: typeof h == "string" ? J.literal : J.object,
3264
3264
  value: h
3265
3265
  });
3266
3266
  continue;
3267
3267
  }
3268
- if (fr(c)) {
3269
- var m = typeof c.style == "string" ? r.date[c.style] : on(c.style) ? c.style.parsedOptions : void 0;
3268
+ if (fr(u)) {
3269
+ var m = typeof u.style == "string" ? r.date[u.style] : on(u.style) ? u.style.parsedOptions : void 0;
3270
3270
  s.push({
3271
- type: Y.literal,
3271
+ type: J.literal,
3272
3272
  value: n.getDateTimeFormat(t, m).format(h)
3273
3273
  });
3274
3274
  continue;
3275
3275
  }
3276
- if (pr(c)) {
3277
- var m = typeof c.style == "string" ? r.time[c.style] : on(c.style) ? c.style.parsedOptions : r.time.medium;
3276
+ if (pr(u)) {
3277
+ var m = typeof u.style == "string" ? r.time[u.style] : on(u.style) ? u.style.parsedOptions : r.time.medium;
3278
3278
  s.push({
3279
- type: Y.literal,
3279
+ type: J.literal,
3280
3280
  value: n.getDateTimeFormat(t, m).format(h)
3281
3281
  });
3282
3282
  continue;
3283
3283
  }
3284
- if (hr(c)) {
3285
- var m = typeof c.style == "string" ? r.number[c.style] : br(c.style) ? c.style.parsedOptions : void 0;
3284
+ if (hr(u)) {
3285
+ var m = typeof u.style == "string" ? r.number[u.style] : br(u.style) ? u.style.parsedOptions : void 0;
3286
3286
  m && m.scale && (h = h * (m.scale || 1)), s.push({
3287
- type: Y.literal,
3287
+ type: J.literal,
3288
3288
  value: n.getNumberFormat(t, m).format(h)
3289
3289
  });
3290
3290
  continue;
3291
3291
  }
3292
- if (gr(c)) {
3293
- var _ = c.children, d = c.value, E = i[d];
3292
+ if (gr(u)) {
3293
+ var _ = u.children, d = u.value, E = i[d];
3294
3294
  if (!ro(E))
3295
3295
  throw new eo(d, "function", a);
3296
3296
  var C = Tt(_, t, n, r, i, o), R = E(C.map(function(M) {
@@ -3298,31 +3298,31 @@ function Tt(e, t, n, r, i, o, a) {
3298
3298
  }));
3299
3299
  Array.isArray(R) || (R = [R]), s.push.apply(s, R.map(function(M) {
3300
3300
  return {
3301
- type: typeof M == "string" ? Y.literal : Y.object,
3301
+ type: typeof M == "string" ? J.literal : J.object,
3302
3302
  value: M
3303
3303
  };
3304
3304
  }));
3305
3305
  }
3306
- if (dr(c)) {
3307
- var y = c.options[h] || c.options.other;
3306
+ if (dr(u)) {
3307
+ var y = u.options[h] || u.options.other;
3308
3308
  if (!y)
3309
- throw new Dn(c.value, h, Object.keys(c.options), a);
3309
+ throw new Dn(u.value, h, Object.keys(u.options), a);
3310
3310
  s.push.apply(s, Tt(y.value, t, n, r, i));
3311
3311
  continue;
3312
3312
  }
3313
- if (mr(c)) {
3314
- var y = c.options["=".concat(h)];
3313
+ if (mr(u)) {
3314
+ var y = u.options["=".concat(h)];
3315
3315
  if (!y) {
3316
3316
  if (!Intl.PluralRules)
3317
3317
  throw new Dt(`Intl.PluralRules is not available in this environment.
3318
3318
  Try polyfilling it using "@formatjs/intl-pluralrules"
3319
3319
  `, Qe.MISSING_INTL_API, a);
3320
- var D = n.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3321
- y = c.options[D] || c.options.other;
3320
+ var D = n.getPluralRules(t, { type: u.pluralType }).select(h - (u.offset || 0));
3321
+ y = u.options[D] || u.options.other;
3322
3322
  }
3323
3323
  if (!y)
3324
- throw new Dn(c.value, h, Object.keys(c.options), a);
3325
- s.push.apply(s, Tt(y.value, t, n, r, i, h - (c.offset || 0)));
3324
+ throw new Dn(u.value, h, Object.keys(u.options), a);
3325
+ s.push.apply(s, Tt(y.value, t, n, r, i, h - (u.offset || 0)));
3326
3326
  continue;
3327
3327
  }
3328
3328
  }
@@ -3395,13 +3395,13 @@ var so = (
3395
3395
  dateTime: {},
3396
3396
  pluralRules: {}
3397
3397
  }, this.format = function(l) {
3398
- var u = o.formatToParts(l);
3399
- if (u.length === 1)
3400
- return u[0].value;
3401
- var c = u.reduce(function(f, h) {
3402
- return !f.length || h.type !== Y.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3398
+ var c = o.formatToParts(l);
3399
+ if (c.length === 1)
3400
+ return c[0].value;
3401
+ var u = c.reduce(function(f, h) {
3402
+ return !f.length || h.type !== J.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3403
3403
  }, []);
3404
- return c.length <= 1 ? c[0] || "" : c;
3404
+ return u.length <= 1 ? u[0] || "" : u;
3405
3405
  }, this.formatToParts = function(l) {
3406
3406
  return Tt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3407
3407
  }, this.resolvedOptions = function() {
@@ -3766,24 +3766,24 @@ const ft = (e, t) => {
3766
3766
  const {
3767
3767
  values: s,
3768
3768
  locale: l = De(),
3769
- default: u
3769
+ default: c
3770
3770
  } = a;
3771
3771
  if (l == null)
3772
3772
  throw new Error(
3773
3773
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3774
3774
  );
3775
- let c = Cr(e, l);
3776
- if (!c)
3777
- c = (o = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3778
- else if (typeof c != "string")
3775
+ let u = Cr(e, l);
3776
+ if (!u)
3777
+ u = (o = (i = (r = (n = Ye()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: c })) != null ? i : c) != null ? o : e;
3778
+ else if (typeof u != "string")
3779
3779
  return console.warn(
3780
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3781
- ), c;
3780
+ `[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.`
3781
+ ), u;
3782
3782
  if (!s)
3783
- return c;
3784
- let f = c;
3783
+ return u;
3784
+ let f = u;
3785
3785
  try {
3786
- f = Oo(c, l).format(s);
3786
+ f = Oo(u, l).format(s);
3787
3787
  } catch (h) {
3788
3788
  h instanceof Error && console.warn(
3789
3789
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4194,7 +4194,7 @@ const k = kr(Fo), Gn = {
4194
4194
  ZWD: "Z$"
4195
4195
  }, Xo = 6e3, Wo = {
4196
4196
  InvalidSession: "Invalid session"
4197
- }, q = {
4197
+ }, K = {
4198
4198
  BalanceError: "BalanceError",
4199
4199
  CheckWalletExchangeError: "CheckWalletExchangeError",
4200
4200
  WalletExchangeError: "WalletExchangeError",
@@ -4222,8 +4222,10 @@ const k = kr(Fo), Gn = {
4222
4222
  }, Xn = {
4223
4223
  Fiat: "Fiat",
4224
4224
  CryptoCurrency: "CryptoCurrency"
4225
+ }, zo = {
4226
+ Credit: "Credit"
4225
4227
  };
4226
- function zo(e, t) {
4228
+ function Zo(e, t) {
4227
4229
  let n;
4228
4230
  return function(...r) {
4229
4231
  n && clearTimeout(n), n = setTimeout(() => {
@@ -4238,7 +4240,7 @@ const Wn = (e, t = null, n = 2) => {
4238
4240
  return console.warn("Failed to stringify:", r), null;
4239
4241
  }
4240
4242
  };
4241
- function Zo(e) {
4243
+ function qo(e) {
4242
4244
  const t = (n) => {
4243
4245
  e.contains(n.target) || e.dispatchEvent(new CustomEvent("outclick"));
4244
4246
  };
@@ -4248,7 +4250,28 @@ function Zo(e) {
4248
4250
  }
4249
4251
  };
4250
4252
  }
4251
- function qo(e) {
4253
+ const Ko = (e) => {
4254
+ if (typeof e == "number" && !e.toString().includes("e") && !e.toString().includes("E"))
4255
+ return e.toString();
4256
+ const t = typeof e == "number" ? e.toExponential() : e, [n, r] = t.toLowerCase().split("e"), i = n.startsWith("-"), o = n.replace("-", ""), [a, s = ""] = o.split("."), l = parseInt(r, 10);
4257
+ let c;
4258
+ if (l === 0)
4259
+ c = o;
4260
+ else if (l > 0) {
4261
+ const u = a + s, f = l - s.length;
4262
+ if (f >= 0)
4263
+ c = u + "0".repeat(f);
4264
+ else {
4265
+ const h = a.length + l;
4266
+ c = u.slice(0, h) + "." + u.slice(h);
4267
+ }
4268
+ } else {
4269
+ const u = a + s, f = u.length + l;
4270
+ f > 0 ? c = u.slice(0, f) + "." + u.slice(f) : c = "0." + "0".repeat(Math.abs(f)) + u;
4271
+ }
4272
+ return i ? "-" + c : c;
4273
+ };
4274
+ function Qo(e) {
4252
4275
  dn(e, "svelte-1g9pqha", ".selectWrapper.svelte-1g9pqha.svelte-1g9pqha{position:relative;min-width:96px;font-family:inherit;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px)}.selectButton.svelte-1g9pqha.svelte-1g9pqha{width:100%;height:100%;cursor:pointer;text-align:left;border:unset;display:flex;align-items:center;justify-content:space-between;color:var(--emw--select-typography, #595959);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));padding:0 var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);border-radius:var(--emw--border-radius-small, 8px);font-family:inherit}.selectButton.svelte-1g9pqha.svelte-1g9pqha:focus-visible{outline:none}.label.svelte-1g9pqha.svelte-1g9pqha{display:flex;align-items:center}.selectDropdownWrapper.svelte-1g9pqha.svelte-1g9pqha{position:absolute;top:calc(100% + 2px);left:0;right:0;overflow:hidden;z-index:100;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px)}.selectDropdown.svelte-1g9pqha.svelte-1g9pqha{display:flex;flex-direction:column;gap:4px;max-height:150px;overflow-y:auto;scrollbar-width:thin}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha{height:24px;flex:0 0 24px;display:flex;align-items:center;;;padding:0 var(--emw--spacing-small, 10px);cursor:pointer;transition:all 0.3s ease}.selectDropdown.svelte-1g9pqha li.svelte-1g9pqha:hover,.selectDropdown.svelte-1g9pqha li.active.svelte-1g9pqha{background:var(--emw--selected-option, #f0f0f0)}.symbol.svelte-1g9pqha.svelte-1g9pqha{display:inline-flex;width:14px;height:14px;border-radius:50%;align-items:center;justify-content:center;line-height:0;margin-right:5px;overflow:hidden;background:var(--emw--symbol-background, #595959);font-size:var(--emw--font-size-small, 12px);color:var(--emw--symbol-typography, #fff)}");
4253
4276
  }
4254
4277
  function zn(e, t, n) {
@@ -4272,7 +4295,7 @@ function Zn(e) {
4272
4295
  var s;
4273
4296
  a & /*selected*/
4274
4297
  1 && n !== (n = /*selected*/
4275
- (((s = o[0]) == null ? void 0 : s.symbol) || "") + "") && re(r, n);
4298
+ (((s = o[0]) == null ? void 0 : s.symbol) || "") + "") && ie(r, n);
4276
4299
  },
4277
4300
  d(o) {
4278
4301
  o && S(t);
@@ -4329,11 +4352,11 @@ function Kn(e) {
4329
4352
  ), i, o, a = (
4330
4353
  /*option*/
4331
4354
  ((m = e[16]) == null ? void 0 : m.currency) + ""
4332
- ), s, l, u, c, f;
4355
+ ), s, l, c, u, f;
4333
4356
  return {
4334
4357
  c() {
4335
4358
  var _, d, E, C;
4336
- t = A("li"), n = A("span"), i = Z(r), o = O(), s = Z(a), l = O(), b(n, "class", "symbol svelte-1g9pqha"), b(t, "role", "option"), b(t, "aria-selected", u = /*option*/
4359
+ t = A("li"), n = A("span"), i = Z(r), o = O(), s = Z(a), l = O(), b(n, "class", "symbol svelte-1g9pqha"), b(t, "role", "option"), b(t, "aria-selected", c = /*option*/
4337
4360
  ((_ = e[16]) == null ? void 0 : _.currency) === /*selected*/
4338
4361
  ((d = e[0]) == null ? void 0 : d.currency) || /*index*/
4339
4362
  e[18] === /*activeIndex*/
@@ -4348,9 +4371,9 @@ function Kn(e) {
4348
4371
  );
4349
4372
  },
4350
4373
  m(_, d) {
4351
- H(_, t, d), v(t, n), v(n, i), v(t, o), v(t, s), v(t, l), c || (f = [
4352
- ne(t, "keydown", Qo),
4353
- ne(t, "click", function() {
4374
+ H(_, t, d), v(t, n), v(n, i), v(t, o), v(t, s), v(t, l), u || (f = [
4375
+ re(t, "keydown", Jo),
4376
+ re(t, "click", function() {
4354
4377
  pt(
4355
4378
  /*handleChange*/
4356
4379
  e[9](
@@ -4366,20 +4389,20 @@ function Kn(e) {
4366
4389
  e[18]
4367
4390
  ).apply(this, arguments);
4368
4391
  })
4369
- ], c = !0);
4392
+ ], u = !0);
4370
4393
  },
4371
4394
  p(_, d) {
4372
4395
  var E, C, R, y, D, M;
4373
4396
  e = _, d & /*options*/
4374
4397
  2 && r !== (r = /*option*/
4375
- ((E = e[16]) == null ? void 0 : E.symbol) + "") && re(i, r), d & /*options*/
4398
+ ((E = e[16]) == null ? void 0 : E.symbol) + "") && ie(i, r), d & /*options*/
4376
4399
  2 && a !== (a = /*option*/
4377
- ((C = e[16]) == null ? void 0 : C.currency) + "") && re(s, a), d & /*options, selected, activeIndex*/
4378
- 35 && u !== (u = /*option*/
4400
+ ((C = e[16]) == null ? void 0 : C.currency) + "") && ie(s, a), d & /*options, selected, activeIndex*/
4401
+ 35 && c !== (c = /*option*/
4379
4402
  ((R = e[16]) == null ? void 0 : R.currency) === /*selected*/
4380
4403
  ((y = e[0]) == null ? void 0 : y.currency) || /*index*/
4381
4404
  e[18] === /*activeIndex*/
4382
- e[5]) && b(t, "aria-selected", u), d & /*options, selected, activeIndex*/
4405
+ e[5]) && b(t, "aria-selected", c), d & /*options, selected, activeIndex*/
4383
4406
  35 && ue(
4384
4407
  t,
4385
4408
  "active",
@@ -4391,17 +4414,17 @@ function Kn(e) {
4391
4414
  );
4392
4415
  },
4393
4416
  d(_) {
4394
- _ && S(t), c = !1, we(f);
4417
+ _ && S(t), u = !1, we(f);
4395
4418
  }
4396
4419
  };
4397
4420
  }
4398
- function Ko(e) {
4421
+ function Yo(e) {
4399
4422
  var _, d;
4400
4423
  let t, n, r, i, o = (
4401
4424
  /*selected*/
4402
4425
  (((_ = e[0]) == null ? void 0 : _.currency) || /*placeholder*/
4403
4426
  e[2]) + ""
4404
- ), a, s, l, u, c, f, h = (
4427
+ ), a, s, l, c, u, f, h = (
4405
4428
  /*selected*/
4406
4429
  ((d = e[0]) == null ? void 0 : d.symbol) && /*withSymbol*/
4407
4430
  e[3] === Ie.true && Zn(e)
@@ -4411,7 +4434,7 @@ function Ko(e) {
4411
4434
  );
4412
4435
  return {
4413
4436
  c() {
4414
- t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = O(), a = Z(o), s = O(), l = A("span"), l.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', u = O(), m && m.c(), b(r, "class", "label svelte-1g9pqha"), b(l, "class", "arrow"), ue(
4437
+ t = A("div"), n = A("button"), r = A("span"), h && h.c(), i = O(), a = Z(o), s = O(), l = A("span"), l.innerHTML = '<svg width="12" height="7" viewBox="0 0 12 7" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M0.984228 0.664666C0.928537 0.612038 0.863025 0.570896 0.791433 0.543587C0.719842 0.516278 0.643572 0.503337 0.566979 0.505504C0.490386 0.50767 0.41497 0.524902 0.345037 0.556215C0.275103 0.587527 0.212022 0.632308 0.159395 0.687999C0.106768 0.74369 0.0656252 0.809203 0.0383161 0.880794C0.0110071 0.952386 -0.00193361 1.02866 0.000233093 1.10525C0.0023998 1.18184 0.0196314 1.25726 0.050944 1.32719C0.0822566 1.39712 0.127037 1.46021 0.182728 1.51283L5.43273 6.47117C5.54104 6.57356 5.68443 6.63061 5.83348 6.63061C5.98253 6.63061 6.12592 6.57356 6.23423 6.47117L11.4848 1.51283C11.5417 1.46055 11.5877 1.39748 11.62 1.32729C11.6523 1.2571 11.6704 1.18119 11.6731 1.10396C11.6759 1.02673 11.6633 0.949723 11.636 0.877415C11.6087 0.805107 11.5674 0.738937 11.5143 0.68275C11.4612 0.626563 11.3976 0.581479 11.3269 0.550115C11.2563 0.518751 11.1801 0.501734 11.1029 0.500051C11.0256 0.498369 10.9488 0.512054 10.8769 0.540313C10.8049 0.568572 10.7393 0.610841 10.6839 0.664665L5.83348 5.245L0.984228 0.664666Z" fill="currentColor"></path></svg>', c = O(), m && m.c(), b(r, "class", "label svelte-1g9pqha"), b(l, "class", "arrow"), ue(
4415
4438
  l,
4416
4439
  "open",
4417
4440
  /*open*/
@@ -4425,25 +4448,25 @@ function Ko(e) {
4425
4448
  e[4], b(t, "class", "selectWrapper svelte-1g9pqha");
4426
4449
  },
4427
4450
  m(E, C) {
4428
- H(E, t, C), v(t, n), v(n, r), h && h.m(r, null), v(r, i), v(r, a), v(n, s), v(n, l), v(t, u), m && m.m(t, null), c || (f = [
4429
- ne(
4451
+ H(E, t, C), v(t, n), v(n, r), h && h.m(r, null), v(r, i), v(r, a), v(n, s), v(n, l), v(t, c), m && m.m(t, null), u || (f = [
4452
+ re(
4430
4453
  n,
4431
4454
  "keydown",
4432
4455
  /*handleKeyDown*/
4433
4456
  e[11]
4434
4457
  ),
4435
- ne(n, "click", $r(
4458
+ re(n, "click", $r(
4436
4459
  /*handleToggleDropdown*/
4437
4460
  e[8]
4438
4461
  )),
4439
- Ur(Zo.call(null, t)),
4440
- ne(
4462
+ Ur(qo.call(null, t)),
4463
+ re(
4441
4464
  t,
4442
4465
  "outclick",
4443
4466
  /*handleOutClick*/
4444
4467
  e[10]
4445
4468
  )
4446
- ], c = !0);
4469
+ ], u = !0);
4447
4470
  },
4448
4471
  p(E, [C]) {
4449
4472
  var R, y;
@@ -4452,7 +4475,7 @@ function Ko(e) {
4452
4475
  E[3] === Ie.true ? h ? h.p(E, C) : (h = Zn(E), h.c(), h.m(r, i)) : h && (h.d(1), h = null), C & /*selected, placeholder*/
4453
4476
  5 && o !== (o = /*selected*/
4454
4477
  (((y = E[0]) == null ? void 0 : y.currency) || /*placeholder*/
4455
- E[2]) + "") && re(a, o), C & /*open*/
4478
+ E[2]) + "") && ie(a, o), C & /*open*/
4456
4479
  128 && ue(
4457
4480
  l,
4458
4481
  "open",
@@ -4472,24 +4495,24 @@ function Ko(e) {
4472
4495
  i: L,
4473
4496
  o: L,
4474
4497
  d(E) {
4475
- E && S(t), h && h.d(), m && m.d(), c = !1, we(f);
4498
+ E && S(t), h && h.d(), m && m.d(), u = !1, we(f);
4476
4499
  }
4477
4500
  };
4478
4501
  }
4479
- const Qo = (e) => e.preventDefault();
4480
- function Yo(e, t, n) {
4481
- let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = k("select") } = t, { withSymbol: a = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: u = () => {
4482
- } } = t, c = -1, f, h = !1;
4502
+ const Jo = (e) => e.preventDefault();
4503
+ function ea(e, t, n) {
4504
+ let { options: r = [] } = t, { selected: i = null } = t, { placeholder: o = k("select") } = t, { withSymbol: a = "true" } = t, { id: s } = t, { disabled: l = !1 } = t, { onChange: c = () => {
4505
+ } } = t, u = -1, f, h = !1;
4483
4506
  const m = () => {
4484
- r.length !== 0 && (n(7, h = !h), h && (n(5, c = r.findIndex((y) => (y == null ? void 0 : y.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => f == null ? void 0 : f.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: s }))));
4507
+ r.length !== 0 && (n(7, h = !h), h && (n(5, u = r.findIndex((y) => (y == null ? void 0 : y.currency) === (i == null ? void 0 : i.currency))), setTimeout(() => f == null ? void 0 : f.focus(), 0), window.dispatchEvent(new CustomEvent("dropdown-opened", { detail: s }))));
4485
4508
  }, _ = (y) => {
4486
4509
  y.detail !== s && h && n(7, h = !1);
4487
4510
  }, d = (y, D) => () => {
4488
- n(7, h = !1), n(0, i = y), u && typeof u == "function" && u(y, D);
4511
+ n(7, h = !1), n(0, i = y), c && typeof c == "function" && c(y, D);
4489
4512
  }, E = () => {
4490
4513
  n(7, h = !1);
4491
4514
  }, C = (y) => {
4492
- h && (y.key === wt.ArrowDown ? (y.preventDefault(), n(5, c = (c + 1) % r.length)) : y.key === wt.ArrowUp ? (y.preventDefault(), n(5, c = (c - 1 + r.length) % r.length)) : y.key === wt.Enter ? (y.preventDefault(), d(i, c)()) : y.key === wt.Escape && n(7, h = !1));
4515
+ h && (y.key === wt.ArrowDown ? (y.preventDefault(), n(5, u = (u + 1) % r.length)) : y.key === wt.ArrowUp ? (y.preventDefault(), n(5, u = (u - 1 + r.length) % r.length)) : y.key === wt.Enter ? (y.preventDefault(), d(i, u)()) : y.key === wt.Escape && n(7, h = !1));
4493
4516
  };
4494
4517
  ar(() => {
4495
4518
  window.addEventListener("dropdown-opened", _);
@@ -4502,14 +4525,14 @@ function Yo(e, t, n) {
4502
4525
  });
4503
4526
  }
4504
4527
  return e.$$set = (y) => {
4505
- "options" in y && n(1, r = y.options), "selected" in y && n(0, i = y.selected), "placeholder" in y && n(2, o = y.placeholder), "withSymbol" in y && n(3, a = y.withSymbol), "id" in y && n(12, s = y.id), "disabled" in y && n(4, l = y.disabled), "onChange" in y && n(13, u = y.onChange);
4528
+ "options" in y && n(1, r = y.options), "selected" in y && n(0, i = y.selected), "placeholder" in y && n(2, o = y.placeholder), "withSymbol" in y && n(3, a = y.withSymbol), "id" in y && n(12, s = y.id), "disabled" in y && n(4, l = y.disabled), "onChange" in y && n(13, c = y.onChange);
4506
4529
  }, [
4507
4530
  i,
4508
4531
  r,
4509
4532
  o,
4510
4533
  a,
4511
4534
  l,
4512
- c,
4535
+ u,
4513
4536
  f,
4514
4537
  h,
4515
4538
  m,
@@ -4517,7 +4540,7 @@ function Yo(e, t, n) {
4517
4540
  E,
4518
4541
  C,
4519
4542
  s,
4520
- u,
4543
+ c,
4521
4544
  R
4522
4545
  ];
4523
4546
  }
@@ -4526,8 +4549,8 @@ class pn extends bn {
4526
4549
  super(), mn(
4527
4550
  this,
4528
4551
  t,
4552
+ ea,
4529
4553
  Yo,
4530
- Ko,
4531
4554
  Nt,
4532
4555
  {
4533
4556
  options: 1,
@@ -4538,7 +4561,7 @@ class pn extends bn {
4538
4561
  disabled: 4,
4539
4562
  onChange: 13
4540
4563
  },
4541
- qo
4564
+ Qo
4542
4565
  );
4543
4566
  }
4544
4567
  get options() {
@@ -4585,10 +4608,10 @@ class pn extends bn {
4585
4608
  }
4586
4609
  }
4587
4610
  gn(pn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4588
- function Jo(e) {
4611
+ function ta(e) {
4589
4612
  dn(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4590
4613
  }
4591
- function ea(e) {
4614
+ function na(e) {
4592
4615
  let t, n, r = k("balanceUnavailable") + "", i;
4593
4616
  return {
4594
4617
  c() {
@@ -4607,11 +4630,11 @@ function ea(e) {
4607
4630
  }
4608
4631
  class Ut extends bn {
4609
4632
  constructor(t) {
4610
- super(), mn(this, t, null, ea, Nt, {}, Jo);
4633
+ super(), mn(this, t, null, na, Nt, {}, ta);
4611
4634
  }
4612
4635
  }
4613
4636
  gn(Ut, {}, [], [], !0);
4614
- function ta(e) {
4637
+ function ra(e) {
4615
4638
  dn(e, "svelte-1mw4zse", '@charset "UTF-8";*{margin:0;padding:0}.playerAccountVault{max-width:400px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:auto;font-family:inherit;overflow:hidden;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-small, 12px);background:var(--emw--widget-background, #F8F8F8);color:var(--emw--typography, #595959);padding:var(--emw--spacing-medium, 16px);position:relative}.playerAccountVault .closeButton{position:absolute;background:none;border:none;top:var(--emw--spacing-medium, 16px);right:var(--emw--spacing-small, 10px);line-height:0;cursor:pointer}.playerAccountVault .closeButton svg{fill:var(--emw--color-faded, #A0A29F)}.playerAccountVault .playerVaultContainer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-smaller, 5px);box-sizing:border-box}.playerAccountVault .amountContainer{display:flex;align-items:center}.playerAccountVault .headerContainer{display:flex;width:100%;gap:var(--emw--spacing-small, 10px);justify-content:space-between;flex-direction:column}.playerAccountVault .headerContainer .headerTitle{font-family:inherit;color:var(--emw--color-secondary, #24B04F);font-size:var(--emw--font-size-large, 16px);font-weight:var(--emw--font-weight-normal, 400)}.playerAccountVault .headerContainer .totalAmount{margin-right:4px;color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .exchangesContainer{width:100%;height:100%;box-sizing:border-box;position:relative;display:flex;flex-direction:column;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .exchangeHeader,.playerAccountVault .exchangesContainer .containerExchangeTo .exchangeHeader{font-size:inherit;font-family:inherit;font-family:inherit}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow{display:flex;align-items:center;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number]::-webkit-outer-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-inner-spin-button,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow input[type=number],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow input[type=number]{-moz-appearance:textfield}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput{flex:1;min-width:50px;border:unset;height:var(--emw--base-height, 36px);font-size:var(--emw--font-size-medium, 14px);padding:0 var(--emw--spacing-small, 10px);border-radius:var(--emw--border-radius-small, 8px);background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));font-family:inherit;color:var(--emw--input-typography, #000)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput[disabled],.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput[disabled]{color:var(--emw--input-disabled, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .exchangeInput::placeholder,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .exchangeInput::placeholder{color:var(--emw--input-placeholder, #a0a29f)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect{min-width:96px;border:unset;white-space:nowrap;height:var(--emw--base-height, 36px);padding:0 var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .flexingContainerRow .currenciesSelect:focus,.playerAccountVault .exchangesContainer .containerExchangeTo .flexingContainerRow .currenciesSelect:focus{outline:none}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer{display:flex;justify-content:space-between;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer.hasError span,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer.hasError span{color:var(--emw--color-error, #ed0909)}.playerAccountVault .exchangesContainer .containerExchangeFrom .balanceContainer .validationError,.playerAccountVault .exchangesContainer .containerExchangeTo .balanceContainer .validationError{flex:1}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance{white-space:nowrap;justify-content:flex-end}.playerAccountVault .exchangesContainer .containerExchangeFrom .playerBalance .amount,.playerAccountVault .exchangesContainer .containerExchangeTo .playerBalance .amount{color:var(--emw--color-faded, #A0A29F);margin-right:4px}.playerAccountVault .vaultsContainer{display:flex;flex-direction:column;width:100%}.playerAccountVault .vaultsContainer .vaultToggleButton{display:flex;align-items:center;justify-content:center;width:35px;height:35px;cursor:pointer;border:unset;align-self:flex-end;padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon{transform:rotateZ(0deg);transition:all 0.3s ease-in-out}.playerAccountVault .vaultsContainer .vaultToggleButton .vaultToggleIcon path{fill:var(--emw--color-white, #fff)}.playerAccountVault .vaultsContainer .vaultToggleButton.active .vaultToggleIcon{transform:rotateZ(180deg)}.playerAccountVault .vaultsContainer .vaultDropdown{width:80%;max-height:0;height:200px;margin:0 auto;display:flex;flex-direction:column;overflow:auto;opacity:0;scrollbar-width:thin;gap:var(--emw--spacing-small, 10px);font-size:var(--emw--font-size-medium, 14px);color:var(--emw--color-white, #fff);font-family:inherit;transition:max-height 0.4s ease-out, opacity 0.4s ease-out}.playerAccountVault .vaultsContainer .vaultDropdown .vaultItem{display:inherit;font-size:var(--emw--font-size-medium, 14px);justify-content:space-between;width:100%;margin:0 auto;box-sizing:border-box;height:var(--emw--base-height, 36px);padding:var(--emw--spacing-small, 10px);background:var(--emw--color-primary, #24B04F);border-radius:var(--emw--border-radius-small, 8px)}.playerAccountVault .vaultsContainer .vaultDropdown.expanded{transition:max-height 1s ease-in, opacity 0.4s ease-in;max-height:1000vh;opacity:1}.playerAccountVault .notificationsContainer{width:100%;min-height:var(--emw--base-height, 36px);padding:0px}.playerAccountVault .notificationsContainer.error{color:var(--emw--color-error, #FF2424)}.playerAccountVault .notificationsContainer.success{color:var(--emw--color-success, #24B04F)}.playerAccountVault .feesContainer{width:100%;height:var(--emw--base-height, 36px);display:flex;align-items:center;justify-content:space-between;background-color:rgba(255, 255, 255, var(--emw--background-opacity, 0.9));-webkit-backdrop-filter:blur(var(--emw--filter-blur, 31.5px));backdrop-filter:blur(var(--emw--filter-blur, 31.5px));border-radius:var(--emw--border-radius-small, 8px);padding:0 var(--emw--spacing-small, 10px);box-sizing:border-box}.playerAccountVault .feesContainer .feesLabel{color:var(--emw--color-faded, #A0A29F)}.playerAccountVault .actionsContainer{width:100%;height:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;gap:var(--emw--spacing-small, 10px)}.playerAccountVault .actionsContainer button{flex:1;height:var(--emw--base-height, 36px);border:none;cursor:pointer;font-family:inherit;font-size:var(--emw--button-font-size, 14px);border-radius:var(--emw--border-radius-small, 8px);font-weight:var(--emw--font-weight-bold, 500);transition:background 0.3s ease, color 0.3s ease, filter 0.3s ease}.playerAccountVault .actionsContainer .exchangeButton{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton:hover{filter:brightness(110%)}.playerAccountVault .actionsContainer .resetButton{background:transparent;color:var(--emw--color-primary, #24B04F);border:1px solid var(--emw--color-primary, #24B04F)}.playerAccountVault .actionsContainer .resetButton:hover{background:var(--emw--color-primary, #24B04F);color:var(--emw--button-typography, #fff)}.playerAccountVault .actionsContainer .exchangeButton.disabled{cursor:default;filter:none;background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled:hover{background:var(--emw--button-disabled, #595959)}.playerAccountVault .actionsContainer .exchangeButton.disabled.pending{background:var(--emw--color-primary, #24B04F);pointer-events:none;opacity:0.5}.playerAccountVault .skeleton{background-color:rgba(0, 0, 0, 0.11);height:auto;min-height:0.1rem;-webkit-animation:loading 1.5s ease-in-out 0.5s infinite;animation:loading 1.5s ease-in-out 0.5s infinite}.playerAccountVault .skeleton::before{content:" "}@keyframes loading{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.playerAccountVault .exchangeContainer{display:flex;flex-direction:column;gap:4px}');
4616
4639
  }
4617
4640
  function Qn(e, t, n) {
@@ -4625,7 +4648,7 @@ function Yn(e) {
4625
4648
  t = A("button"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.414 12l4.95-4.95-1.414-1.414-4.95 4.95-4.95-4.95L5.636 7.05l4.95 4.95-4.95 4.95 1.414 1.414 4.95-4.95 4.95 4.95 1.414-1.414-4.95-4.95z"></path></svg>', b(t, "type", "button"), b(t, "class", "closeButton");
4626
4649
  },
4627
4650
  m(i, o) {
4628
- H(i, t, o), n || (r = ne(
4651
+ H(i, t, o), n || (r = re(
4629
4652
  t,
4630
4653
  "click",
4631
4654
  /*handleCloseWidget*/
@@ -4640,8 +4663,8 @@ function Yn(e) {
4640
4663
  }
4641
4664
  function Jn(e) {
4642
4665
  let t, n, r, i;
4643
- const o = [ra, na], a = [];
4644
- function s(l, u) {
4666
+ const o = [oa, ia], a = [];
4667
+ function s(l, c) {
4645
4668
  return !/*isBalanceFetched*/
4646
4669
  l[16] || !/*isCurrenciesFetched*/
4647
4670
  l[17] ? 0 : 1;
@@ -4650,14 +4673,14 @@ function Jn(e) {
4650
4673
  c() {
4651
4674
  n.c(), r = Gr();
4652
4675
  },
4653
- m(l, u) {
4654
- a[t].m(l, u), H(l, r, u), i = !0;
4676
+ m(l, c) {
4677
+ a[t].m(l, c), H(l, r, c), i = !0;
4655
4678
  },
4656
- p(l, u) {
4657
- let c = t;
4658
- t = s(l), t === c ? a[t].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4659
- a[c] = null;
4660
- }), Oe(), n = a[t], n ? n.p(l, u) : (n = a[t] = o[t](l), n.c()), $(n, 1), n.m(r.parentNode, r));
4679
+ p(l, c) {
4680
+ let u = t;
4681
+ t = s(l), t === u ? a[t].p(l, c) : (Re(), z(a[u], 1, 1, () => {
4682
+ a[u] = null;
4683
+ }), Oe(), n = a[t], n ? n.p(l, c) : (n = a[t] = o[t](l), n.c()), $(n, 1), n.m(r.parentNode, r));
4661
4684
  },
4662
4685
  i(l) {
4663
4686
  i || ($(n), i = !0);
@@ -4670,28 +4693,28 @@ function Jn(e) {
4670
4693
  }
4671
4694
  };
4672
4695
  }
4673
- function na(e) {
4696
+ function ia(e) {
4674
4697
  let t, n, r, i;
4675
- const o = [oa, ia], a = [];
4676
- function s(l, u) {
4677
- var c;
4698
+ const o = [sa, aa], a = [];
4699
+ function s(l, c) {
4700
+ var u;
4678
4701
  return (
4679
4702
  /*fetchResponse*/
4680
- ((c = l[12]) == null ? void 0 : c.source) === q.BalanceError ? 0 : 1
4703
+ ((u = l[12]) == null ? void 0 : u.source) === K.BalanceError ? 0 : 1
4681
4704
  );
4682
4705
  }
4683
4706
  return n = s(e), r = a[n] = o[n](e), {
4684
4707
  c() {
4685
4708
  t = A("div"), r.c(), b(t, "class", "headerPlayerBalance amountContainer");
4686
4709
  },
4687
- m(l, u) {
4688
- H(l, t, u), a[n].m(t, null), i = !0;
4710
+ m(l, c) {
4711
+ H(l, t, c), a[n].m(t, null), i = !0;
4689
4712
  },
4690
- p(l, u) {
4691
- let c = n;
4692
- n = s(l), n === c ? a[n].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4693
- a[c] = null;
4694
- }), Oe(), r = a[n], r ? r.p(l, u) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4713
+ p(l, c) {
4714
+ let u = n;
4715
+ n = s(l), n === u ? a[n].p(l, c) : (Re(), z(a[u], 1, 1, () => {
4716
+ a[u] = null;
4717
+ }), Oe(), r = a[n], r ? r.p(l, c) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4695
4718
  },
4696
4719
  i(l) {
4697
4720
  i || ($(r), i = !0);
@@ -4704,7 +4727,7 @@ function na(e) {
4704
4727
  }
4705
4728
  };
4706
4729
  }
4707
- function ra(e) {
4730
+ function oa(e) {
4708
4731
  let t;
4709
4732
  return {
4710
4733
  c() {
@@ -4721,38 +4744,38 @@ function ra(e) {
4721
4744
  }
4722
4745
  };
4723
4746
  }
4724
- function ia(e) {
4725
- var l, u;
4747
+ function aa(e) {
4748
+ var l, c;
4726
4749
  let t, n, r = (
4727
4750
  /*playerBalance*/
4728
4751
  (((l = e[10]) == null ? void 0 : l.amount) || 0) + ""
4729
4752
  ), i, o, a = (
4730
4753
  /*playerBalance*/
4731
- (((u = e[10]) == null ? void 0 : u.currency) || "") + ""
4754
+ (((c = e[10]) == null ? void 0 : c.currency) || "") + ""
4732
4755
  ), s;
4733
4756
  return {
4734
4757
  c() {
4735
4758
  t = A("span"), t.textContent = `${k("totalBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "totalAmount");
4736
4759
  },
4737
- m(c, f) {
4738
- H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4760
+ m(u, f) {
4761
+ H(u, t, f), H(u, n, f), H(u, i, f), H(u, o, f), H(u, s, f);
4739
4762
  },
4740
- p(c, f) {
4763
+ p(u, f) {
4741
4764
  var h, m;
4742
4765
  f[0] & /*playerBalance*/
4743
4766
  1024 && r !== (r = /*playerBalance*/
4744
- (((h = c[10]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*playerBalance*/
4767
+ (((h = u[10]) == null ? void 0 : h.amount) || 0) + "") && ie(i, r), f[0] & /*playerBalance*/
4745
4768
  1024 && a !== (a = /*playerBalance*/
4746
- (((m = c[10]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4769
+ (((m = u[10]) == null ? void 0 : m.currency) || "") + "") && ie(s, a);
4747
4770
  },
4748
4771
  i: L,
4749
4772
  o: L,
4750
- d(c) {
4751
- c && (S(t), S(n), S(i), S(o), S(s));
4773
+ d(u) {
4774
+ u && (S(t), S(n), S(i), S(o), S(s));
4752
4775
  }
4753
4776
  };
4754
4777
  }
4755
- function oa(e) {
4778
+ function sa(e) {
4756
4779
  let t, n;
4757
4780
  return t = new Ut({}), {
4758
4781
  c() {
@@ -4773,17 +4796,17 @@ function oa(e) {
4773
4796
  }
4774
4797
  };
4775
4798
  }
4776
- function aa(e) {
4777
- let t, n, r, i, o, a, s, l, u;
4778
- const c = [ua, la], f = [];
4799
+ function la(e) {
4800
+ let t, n, r, i, o, a, s, l, c;
4801
+ const u = [ha, ca], f = [];
4779
4802
  function h(m, _) {
4780
4803
  var d;
4781
4804
  return (
4782
4805
  /*fetchResponse*/
4783
- ((d = m[12]) == null ? void 0 : d.source) === q.BalanceError ? 0 : 1
4806
+ ((d = m[12]) == null ? void 0 : d.source) === K.BalanceError ? 0 : 1
4784
4807
  );
4785
4808
  }
4786
- return a = h(e), s = f[a] = c[a](e), {
4809
+ return a = h(e), s = f[a] = u[a](e), {
4787
4810
  c() {
4788
4811
  t = A("div"), n = A("p"), r = Z(
4789
4812
  /*validationError*/
@@ -4792,11 +4815,11 @@ function aa(e) {
4792
4815
  (e[13] ? "hasError" : ""));
4793
4816
  },
4794
4817
  m(m, _) {
4795
- H(m, t, _), v(t, n), v(n, r), v(t, i), v(t, o), f[a].m(o, null), u = !0;
4818
+ H(m, t, _), v(t, n), v(n, r), v(t, i), v(t, o), f[a].m(o, null), c = !0;
4796
4819
  },
4797
4820
  p(m, _) {
4798
- (!u || _[0] & /*validationError*/
4799
- 8192) && re(
4821
+ (!c || _[0] & /*validationError*/
4822
+ 8192) && ie(
4800
4823
  r,
4801
4824
  /*validationError*/
4802
4825
  m[13]
@@ -4804,22 +4827,22 @@ function aa(e) {
4804
4827
  let d = a;
4805
4828
  a = h(m), a === d ? f[a].p(m, _) : (Re(), z(f[d], 1, 1, () => {
4806
4829
  f[d] = null;
4807
- }), Oe(), s = f[a], s ? s.p(m, _) : (s = f[a] = c[a](m), s.c()), $(s, 1), s.m(o, null)), (!u || _[0] & /*validationError*/
4830
+ }), Oe(), s = f[a], s ? s.p(m, _) : (s = f[a] = u[a](m), s.c()), $(s, 1), s.m(o, null)), (!c || _[0] & /*validationError*/
4808
4831
  8192 && l !== (l = "balanceContainer " + /*validationError*/
4809
4832
  (m[13] ? "hasError" : ""))) && b(t, "class", l);
4810
4833
  },
4811
4834
  i(m) {
4812
- u || ($(s), u = !0);
4835
+ c || ($(s), c = !0);
4813
4836
  },
4814
4837
  o(m) {
4815
- z(s), u = !1;
4838
+ z(s), c = !1;
4816
4839
  },
4817
4840
  d(m) {
4818
4841
  m && S(t), f[a].d();
4819
4842
  }
4820
4843
  };
4821
4844
  }
4822
- function sa(e) {
4845
+ function ua(e) {
4823
4846
  let t;
4824
4847
  return {
4825
4848
  c() {
@@ -4836,38 +4859,38 @@ function sa(e) {
4836
4859
  }
4837
4860
  };
4838
4861
  }
4839
- function la(e) {
4840
- var l, u;
4862
+ function ca(e) {
4863
+ var l, c;
4841
4864
  let t, n, r = (
4842
4865
  /*selectedCurrencyFrom*/
4843
4866
  (((l = e[5]) == null ? void 0 : l.amount) || 0) + ""
4844
4867
  ), i, o, a = (
4845
4868
  /*selectedCurrencyFrom*/
4846
- (((u = e[5]) == null ? void 0 : u.currency) || "") + ""
4869
+ (((c = e[5]) == null ? void 0 : c.currency) || "") + ""
4847
4870
  ), s;
4848
4871
  return {
4849
4872
  c() {
4850
4873
  t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4851
4874
  },
4852
- m(c, f) {
4853
- H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4875
+ m(u, f) {
4876
+ H(u, t, f), H(u, n, f), H(u, i, f), H(u, o, f), H(u, s, f);
4854
4877
  },
4855
- p(c, f) {
4878
+ p(u, f) {
4856
4879
  var h, m;
4857
4880
  f[0] & /*selectedCurrencyFrom*/
4858
4881
  32 && r !== (r = /*selectedCurrencyFrom*/
4859
- (((h = c[5]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyFrom*/
4882
+ (((h = u[5]) == null ? void 0 : h.amount) || 0) + "") && ie(i, r), f[0] & /*selectedCurrencyFrom*/
4860
4883
  32 && a !== (a = /*selectedCurrencyFrom*/
4861
- (((m = c[5]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4884
+ (((m = u[5]) == null ? void 0 : m.currency) || "") + "") && ie(s, a);
4862
4885
  },
4863
4886
  i: L,
4864
4887
  o: L,
4865
- d(c) {
4866
- c && (S(t), S(n), S(i), S(o), S(s));
4888
+ d(u) {
4889
+ u && (S(t), S(n), S(i), S(o), S(s));
4867
4890
  }
4868
4891
  };
4869
4892
  }
4870
- function ua(e) {
4893
+ function ha(e) {
4871
4894
  let t, n;
4872
4895
  return t = new Ut({}), {
4873
4896
  c() {
@@ -4888,28 +4911,28 @@ function ua(e) {
4888
4911
  }
4889
4912
  };
4890
4913
  }
4891
- function ca(e) {
4914
+ function fa(e) {
4892
4915
  let t, n, r, i;
4893
- const o = [pa, fa], a = [];
4894
- function s(l, u) {
4895
- var c;
4916
+ const o = [ma, da], a = [];
4917
+ function s(l, c) {
4918
+ var u;
4896
4919
  return (
4897
4920
  /*fetchResponse*/
4898
- ((c = l[12]) == null ? void 0 : c.source) === q.BalanceError ? 0 : 1
4921
+ ((u = l[12]) == null ? void 0 : u.source) === K.BalanceError ? 0 : 1
4899
4922
  );
4900
4923
  }
4901
4924
  return n = s(e), r = a[n] = o[n](e), {
4902
4925
  c() {
4903
4926
  t = A("div"), r.c(), b(t, "class", "playerBalance amountContainer");
4904
4927
  },
4905
- m(l, u) {
4906
- H(l, t, u), a[n].m(t, null), i = !0;
4928
+ m(l, c) {
4929
+ H(l, t, c), a[n].m(t, null), i = !0;
4907
4930
  },
4908
- p(l, u) {
4909
- let c = n;
4910
- n = s(l), n === c ? a[n].p(l, u) : (Re(), z(a[c], 1, 1, () => {
4911
- a[c] = null;
4912
- }), Oe(), r = a[n], r ? r.p(l, u) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4931
+ p(l, c) {
4932
+ let u = n;
4933
+ n = s(l), n === u ? a[n].p(l, c) : (Re(), z(a[u], 1, 1, () => {
4934
+ a[u] = null;
4935
+ }), Oe(), r = a[n], r ? r.p(l, c) : (r = a[n] = o[n](l), r.c()), $(r, 1), r.m(t, null));
4913
4936
  },
4914
4937
  i(l) {
4915
4938
  i || ($(r), i = !0);
@@ -4922,7 +4945,7 @@ function ca(e) {
4922
4945
  }
4923
4946
  };
4924
4947
  }
4925
- function ha(e) {
4948
+ function pa(e) {
4926
4949
  let t;
4927
4950
  return {
4928
4951
  c() {
@@ -4939,38 +4962,38 @@ function ha(e) {
4939
4962
  }
4940
4963
  };
4941
4964
  }
4942
- function fa(e) {
4943
- var l, u;
4965
+ function da(e) {
4966
+ var l, c;
4944
4967
  let t, n, r = (
4945
4968
  /*selectedCurrencyTo*/
4946
4969
  (((l = e[6]) == null ? void 0 : l.amount) || 0) + ""
4947
4970
  ), i, o, a = (
4948
4971
  /*selectedCurrencyTo*/
4949
- (((u = e[6]) == null ? void 0 : u.currency) || "") + ""
4972
+ (((c = e[6]) == null ? void 0 : c.currency) || "") + ""
4950
4973
  ), s;
4951
4974
  return {
4952
4975
  c() {
4953
4976
  t = A("span"), t.textContent = `${k("currentBalance")}`, n = O(), i = Z(r), o = O(), s = Z(a), b(t, "class", "amount");
4954
4977
  },
4955
- m(c, f) {
4956
- H(c, t, f), H(c, n, f), H(c, i, f), H(c, o, f), H(c, s, f);
4978
+ m(u, f) {
4979
+ H(u, t, f), H(u, n, f), H(u, i, f), H(u, o, f), H(u, s, f);
4957
4980
  },
4958
- p(c, f) {
4981
+ p(u, f) {
4959
4982
  var h, m;
4960
4983
  f[0] & /*selectedCurrencyTo*/
4961
4984
  64 && r !== (r = /*selectedCurrencyTo*/
4962
- (((h = c[6]) == null ? void 0 : h.amount) || 0) + "") && re(i, r), f[0] & /*selectedCurrencyTo*/
4985
+ (((h = u[6]) == null ? void 0 : h.amount) || 0) + "") && ie(i, r), f[0] & /*selectedCurrencyTo*/
4963
4986
  64 && a !== (a = /*selectedCurrencyTo*/
4964
- (((m = c[6]) == null ? void 0 : m.currency) || "") + "") && re(s, a);
4987
+ (((m = u[6]) == null ? void 0 : m.currency) || "") + "") && ie(s, a);
4965
4988
  },
4966
4989
  i: L,
4967
4990
  o: L,
4968
- d(c) {
4969
- c && (S(t), S(n), S(i), S(o), S(s));
4991
+ d(u) {
4992
+ u && (S(t), S(n), S(i), S(o), S(s));
4970
4993
  }
4971
4994
  };
4972
4995
  }
4973
- function pa(e) {
4996
+ function ma(e) {
4974
4997
  let t, n;
4975
4998
  return t = new Ut({}), {
4976
4999
  c() {
@@ -4992,7 +5015,7 @@ function pa(e) {
4992
5015
  };
4993
5016
  }
4994
5017
  function er(e) {
4995
- let t, n, r, i, o, a, s, l, u, c, f = Ht(
5018
+ let t, n, r, i, o, a, s, l, c, u, f = Ht(
4996
5019
  /*dropDownVaults*/
4997
5020
  e[19]
4998
5021
  ), h = [];
@@ -5013,12 +5036,12 @@ function er(e) {
5013
5036
  H(m, t, _), v(t, n), v(n, r), v(r, i), v(t, a), v(t, s);
5014
5037
  for (let d = 0; d < h.length; d += 1)
5015
5038
  h[d] && h[d].m(s, null);
5016
- u || (c = ne(
5039
+ c || (u = re(
5017
5040
  n,
5018
5041
  "click",
5019
5042
  /*handleToggleVaultDropdown*/
5020
5043
  e[22]
5021
- ), u = !0);
5044
+ ), c = !0);
5022
5045
  },
5023
5046
  p(m, _) {
5024
5047
  if (_[0] & /*isVaultDropDownToggled, dropDownVaults*/
@@ -5045,40 +5068,40 @@ function er(e) {
5045
5068
  m[19].length > 0 ? "expanded" : "")) && b(s, "class", l);
5046
5069
  },
5047
5070
  d(m) {
5048
- m && S(t), ir(h, m), u = !1, c();
5071
+ m && S(t), ir(h, m), c = !1, u();
5049
5072
  }
5050
5073
  };
5051
5074
  }
5052
5075
  function tr(e) {
5053
- var c, f;
5076
+ var u, f;
5054
5077
  let t, n, r = (
5055
5078
  /*vault*/
5056
- ((c = e[62]) == null ? void 0 : c.currency) + ""
5079
+ ((u = e[62]) == null ? void 0 : u.currency) + ""
5057
5080
  ), i, o, a, s = (
5058
5081
  /*vault*/
5059
5082
  ((f = e[62]) == null ? void 0 : f.amount) + ""
5060
- ), l, u;
5083
+ ), l, c;
5061
5084
  return {
5062
5085
  c() {
5063
- t = A("div"), n = A("p"), i = Z(r), o = O(), a = A("p"), l = Z(s), u = O(), b(t, "class", "vaultItem");
5086
+ t = A("div"), n = A("p"), i = Z(r), o = O(), a = A("p"), l = Z(s), c = O(), b(t, "class", "vaultItem");
5064
5087
  },
5065
5088
  m(h, m) {
5066
- H(h, t, m), v(t, n), v(n, i), v(t, o), v(t, a), v(a, l), v(t, u);
5089
+ H(h, t, m), v(t, n), v(n, i), v(t, o), v(t, a), v(a, l), v(t, c);
5067
5090
  },
5068
5091
  p(h, m) {
5069
5092
  var _, d;
5070
5093
  m[0] & /*dropDownVaults*/
5071
5094
  524288 && r !== (r = /*vault*/
5072
- ((_ = h[62]) == null ? void 0 : _.currency) + "") && re(i, r), m[0] & /*dropDownVaults*/
5095
+ ((_ = h[62]) == null ? void 0 : _.currency) + "") && ie(i, r), m[0] & /*dropDownVaults*/
5073
5096
  524288 && s !== (s = /*vault*/
5074
- ((d = h[62]) == null ? void 0 : d.amount) + "") && re(l, s);
5097
+ ((d = h[62]) == null ? void 0 : d.amount) + "") && ie(l, s);
5075
5098
  },
5076
5099
  d(h) {
5077
5100
  h && S(t);
5078
5101
  }
5079
5102
  };
5080
5103
  }
5081
- function da(e) {
5104
+ function ga(e) {
5082
5105
  var r, i, o, a;
5083
5106
  let t = `${/*currentFee*/
5084
5107
  ((i = (r = e[11]) == null ? void 0 : r.fees[0]) == null ? void 0 : i.amount) || 0} ${/*currentFee*/
@@ -5091,18 +5114,18 @@ function da(e) {
5091
5114
  H(s, n, l);
5092
5115
  },
5093
5116
  p(s, l) {
5094
- var u, c, f, h;
5117
+ var c, u, f, h;
5095
5118
  l[0] & /*currentFee*/
5096
5119
  2048 && t !== (t = `${/*currentFee*/
5097
- ((c = (u = s[11]) == null ? void 0 : u.fees[0]) == null ? void 0 : c.amount) || 0} ${/*currentFee*/
5098
- ((h = (f = s[11]) == null ? void 0 : f.fees[0]) == null ? void 0 : h.currency) || ""}`) && re(n, t);
5120
+ ((u = (c = s[11]) == null ? void 0 : c.fees[0]) == null ? void 0 : u.amount) || 0} ${/*currentFee*/
5121
+ ((h = (f = s[11]) == null ? void 0 : f.fees[0]) == null ? void 0 : h.currency) || ""}`) && ie(n, t);
5099
5122
  },
5100
5123
  d(s) {
5101
5124
  s && S(n);
5102
5125
  }
5103
5126
  };
5104
5127
  }
5105
- function ma(e) {
5128
+ function ba(e) {
5106
5129
  let t = k("feesUnavailable") + "", n;
5107
5130
  return {
5108
5131
  c() {
@@ -5117,12 +5140,12 @@ function ma(e) {
5117
5140
  }
5118
5141
  };
5119
5142
  }
5120
- function ga(e) {
5143
+ function ya(e) {
5121
5144
  var j;
5122
- let t, n, r, i, o, a, s, l, u, c, f, h, m, _, d, E, C, R, y, D, M, X, ge, ie, W, ce, be, se, he, Ae, K, J, fe, nt, Ce, Me, dt, ke, rt, oe, ye = k(
5145
+ let t, n, r, i, o, a, s, l, c, u, f, h, m, _, d, E, C, R, y, D, M, X, ge, oe, W, ce, be, se, he, Ae, Q, ee, fe, nt, Ce, Me, dt, ke, rt, ae, ye = k(
5123
5146
  /*fetchResponse*/
5124
5147
  ((j = e[12]) == null ? void 0 : j.message) || ""
5125
- ) + "", Te, ve, Ee, Ue, ee, Be = k("exchange") + "", mt, _e, te, it, ot, Q = (
5148
+ ) + "", Te, ve, Ee, Ue, te, Be = k("exchange") + "", mt, _e, ne, it, ot, Y = (
5126
5149
  /*showclosebutton*/
5127
5150
  e[3] === Ie.true && Yn(e)
5128
5151
  ), F = (
@@ -5153,7 +5176,7 @@ function ga(e) {
5153
5176
  /*selectedCurrencyFrom*/
5154
5177
  e[5] !== void 0 && (gt.selected = /*selectedCurrencyFrom*/
5155
5178
  e[5]), d = new pn({ props: gt }), We.push(() => Bn(d, "selected", Vt));
5156
- const bt = [sa, aa], pe = [];
5179
+ const bt = [ua, la], pe = [];
5157
5180
  function at(g, B) {
5158
5181
  return !/*isBalanceFetched*/
5159
5182
  g[16] || !/*isCurrenciesFetched*/
@@ -5186,109 +5209,109 @@ function ga(e) {
5186
5209
  /*selectedCurrencyTo*/
5187
5210
  e[6] !== void 0 && (yt.selected = /*selectedCurrencyTo*/
5188
5211
  e[6]), se = new pn({ props: yt }), We.push(() => Bn(se, "selected", Ft));
5189
- const vt = [ha, ca], de = [];
5212
+ const vt = [pa, fa], de = [];
5190
5213
  function Et(g, B) {
5191
5214
  return !/*isBalanceFetched*/
5192
5215
  g[16] || !/*isCurrenciesFetched*/
5193
5216
  g[17] ? 0 : 1;
5194
5217
  }
5195
- K = Et(e), J = de[K] = vt[K](e);
5218
+ Q = Et(e), ee = de[Q] = vt[Q](e);
5196
5219
  let p = (
5197
5220
  /*showvaults*/
5198
5221
  e[1] === Ie.true && er(e)
5199
5222
  );
5200
5223
  function w(g, B) {
5201
- var ae;
5224
+ var q;
5202
5225
  return (
5203
5226
  /*fetchResponse*/
5204
- ((ae = g[12]) == null ? void 0 : ae.source) === q.CheckWalletExchangeError ? ma : da
5227
+ ((q = g[12]) == null ? void 0 : q.source) === K.CheckWalletExchangeError ? ba : ga
5205
5228
  );
5206
5229
  }
5207
5230
  let I = w(e), x = I(e);
5208
5231
  return {
5209
5232
  c() {
5210
- var g, B, ae;
5211
- t = A("div"), Q && Q.c(), n = O(), r = A("div"), i = A("h1"), i.textContent = `${k("vaultExchange")}`, o = O(), F && F.c(), a = O(), s = A("div"), l = A("div"), u = A("p"), u.textContent = `${k("exchangeFrom")}`, c = O(), f = A("div"), h = A("input"), _ = O(), ct(d.$$.fragment), C = O(), y.c(), D = O(), M = A("div"), X = A("p"), X.textContent = `${k("exchangeTo")}`, ge = O(), ie = A("div"), W = A("input"), be = O(), ct(se.$$.fragment), Ae = O(), J.c(), fe = O(), p && p.c(), nt = O(), Ce = A("div"), Me = A("span"), Me.textContent = `${k("feesIncluded")}`, dt = O(), ke = A("span"), x.c(), rt = O(), oe = A("div"), Te = O(), ve = A("div"), Ee = A("button"), Ee.textContent = `${k("reset")}`, Ue = O(), ee = A("button"), mt = Z(Be), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(u, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5233
+ var g, B, q;
5234
+ t = A("div"), Y && Y.c(), n = O(), r = A("div"), i = A("h1"), i.textContent = `${k("vaultExchange")}`, o = O(), F && F.c(), a = O(), s = A("div"), l = A("div"), c = A("p"), c.textContent = `${k("exchangeFrom")}`, u = O(), f = A("div"), h = A("input"), _ = O(), ct(d.$$.fragment), C = O(), y.c(), D = O(), M = A("div"), X = A("p"), X.textContent = `${k("exchangeTo")}`, ge = O(), oe = A("div"), W = A("input"), be = O(), ct(se.$$.fragment), Ae = O(), ee.c(), fe = O(), p && p.c(), nt = O(), Ce = A("div"), Me = A("span"), Me.textContent = `${k("feesIncluded")}`, dt = O(), ke = A("span"), x.c(), rt = O(), ae = A("div"), Te = O(), ve = A("div"), Ee = A("button"), Ee.textContent = `${k("reset")}`, Ue = O(), te = A("button"), mt = Z(Be), b(i, "class", "headerTitle"), b(r, "class", "headerContainer"), b(c, "class", "exchangeHeader"), b(h, "id", "senderInput"), h.disabled = m = !/*session*/
5212
5235
  e[0] || !/*isBalanceFetched*/
5213
5236
  e[16] || !/*isCurrenciesFetched*/
5214
5237
  e[17], b(h, "placeholder", k("debitPlaceHolder")), b(h, "class", "exchangeInput"), b(h, "type", "number"), b(h, "aria-label", "Enter exchange amount"), b(h, "inputmode", "decimal"), b(h, "step", "0.000000000000001"), b(h, "min", "0"), b(f, "class", "flexingContainerRow"), b(l, "class", "containerExchangeFrom exchangeContainer"), b(X, "class", "exchangeHeader"), b(W, "id", "destinationInput"), W.disabled = ce = !/*session*/
5215
5238
  e[0] || !/*isBalanceFetched*/
5216
5239
  e[16] || !/*isCurrenciesFetched*/
5217
- e[17], b(W, "placeholder", k("creditPlaceHolder")), b(W, "class", "exchangeInput"), b(W, "type", "number"), W.readOnly = !0, b(W, "min", "0"), b(ie, "class", "flexingContainerRow"), b(M, "class", "containerExchangeTo exchangeContainer"), b(s, "class", "exchangesContainer"), b(Me, "class", "feesLabel"), b(Ce, "class", "feesContainer"), b(oe, "class", "notificationsContainer"), ue(
5218
- oe,
5240
+ e[17], b(W, "placeholder", k("creditPlaceHolder")), b(W, "class", "exchangeInput"), b(W, "type", "number"), W.readOnly = !0, b(W, "min", "0"), b(oe, "class", "flexingContainerRow"), b(M, "class", "containerExchangeTo exchangeContainer"), b(s, "class", "exchangesContainer"), b(Me, "class", "feesLabel"), b(Ce, "class", "feesContainer"), b(ae, "class", "notificationsContainer"), ue(
5241
+ ae,
5219
5242
  "error",
5220
5243
  /*fetchResponse*/
5221
5244
  ((g = e[12]) == null ? void 0 : g.type) === "error"
5222
5245
  ), ue(
5223
- oe,
5246
+ ae,
5224
5247
  "success",
5225
5248
  /*fetchResponse*/
5226
5249
  ((B = e[12]) == null ? void 0 : B.type) === "success"
5227
- ), b(Ee, "class", "resetButton"), b(Ee, "type", "button"), b(ee, "type", "button"), b(ee, "class", "exchangeButton"), ee.disabled = _e = /*isExchangeDisabled*/
5250
+ ), b(Ee, "class", "resetButton"), b(Ee, "type", "button"), b(te, "type", "button"), b(te, "class", "exchangeButton"), te.disabled = _e = /*isExchangeDisabled*/
5228
5251
  e[14] || /*isExchangePending*/
5229
5252
  e[18] || /*inputExchangeFrom*/
5230
5253
  e[8] === 0 && !/*selectedCurrencyFrom*/
5231
- ((ae = e[5]) != null && ae.amount), ue(
5232
- ee,
5254
+ ((q = e[5]) != null && q.amount), ue(
5255
+ te,
5233
5256
  "disabled",
5234
5257
  /*isExchangeDisabled*/
5235
5258
  e[14] || /*isExchangePending*/
5236
5259
  e[18]
5237
5260
  ), ue(
5238
- ee,
5261
+ te,
5239
5262
  "pending",
5240
5263
  /*isExchangePending*/
5241
5264
  e[18]
5242
5265
  ), b(ve, "class", "actionsContainer"), b(t, "class", "playerAccountVault");
5243
5266
  },
5244
5267
  m(g, B) {
5245
- H(g, t, B), Q && Q.m(t, null), v(t, n), v(t, r), v(r, i), v(r, o), F && F.m(r, null), v(t, a), v(t, s), v(s, l), v(l, u), v(l, c), v(l, f), v(f, h), _t(
5268
+ H(g, t, B), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, o), F && F.m(r, null), v(t, a), v(t, s), v(s, l), v(l, c), v(l, u), v(l, f), v(f, h), _t(
5246
5269
  h,
5247
5270
  /*inputExchangeFrom*/
5248
5271
  e[8]
5249
- ), v(f, _), ze(d, f, null), v(l, C), pe[R].m(l, null), v(s, D), v(s, M), v(M, X), v(M, ge), v(M, ie), v(ie, W), _t(
5272
+ ), v(f, _), ze(d, f, null), v(l, C), pe[R].m(l, null), v(s, D), v(s, M), v(M, X), v(M, ge), v(M, oe), v(oe, W), _t(
5250
5273
  W,
5251
5274
  /*inputExchangeTo*/
5252
5275
  e[9]
5253
- ), v(ie, be), ze(se, ie, null), v(M, Ae), de[K].m(M, null), v(t, fe), p && p.m(t, null), v(t, nt), v(t, Ce), v(Ce, Me), v(Ce, dt), v(Ce, ke), x.m(ke, null), v(t, rt), v(t, oe), oe.innerHTML = ye, v(t, Te), v(t, ve), v(ve, Ee), v(ve, Ue), v(ve, ee), v(ee, mt), e[42](t), te = !0, it || (ot = [
5254
- ne(
5276
+ ), v(oe, be), ze(se, oe, null), v(M, Ae), de[Q].m(M, null), v(t, fe), p && p.m(t, null), v(t, nt), v(t, Ce), v(Ce, Me), v(Ce, dt), v(Ce, ke), x.m(ke, null), v(t, rt), v(t, ae), ae.innerHTML = ye, v(t, Te), v(t, ve), v(ve, Ee), v(ve, Ue), v(ve, te), v(te, mt), e[42](t), ne = !0, it || (ot = [
5277
+ re(
5255
5278
  h,
5256
5279
  "input",
5257
5280
  /*input0_input_handler*/
5258
5281
  e[38]
5259
5282
  ),
5260
- ne(
5283
+ re(
5261
5284
  h,
5262
5285
  "input",
5263
5286
  /*handleInputChange*/
5264
5287
  e[26]
5265
5288
  ),
5266
- ne(
5289
+ re(
5267
5290
  h,
5268
5291
  "beforeinput",
5269
5292
  /*handleBeforeInput*/
5270
5293
  e[27]
5271
5294
  ),
5272
- ne(
5295
+ re(
5273
5296
  h,
5274
5297
  "focus",
5275
5298
  /*handleInputFocus*/
5276
5299
  e[28]
5277
5300
  ),
5278
- ne(
5301
+ re(
5279
5302
  W,
5280
5303
  "input",
5281
5304
  /*input1_input_handler*/
5282
5305
  e[40]
5283
5306
  ),
5284
- ne(
5307
+ re(
5285
5308
  Ee,
5286
5309
  "click",
5287
5310
  /*handleResetToDefault*/
5288
5311
  e[24]
5289
5312
  ),
5290
- ne(
5291
- ee,
5313
+ re(
5314
+ te,
5292
5315
  "click",
5293
5316
  /*handleExchange*/
5294
5317
  e[29]
@@ -5298,11 +5321,11 @@ function ga(e) {
5298
5321
  p(g, B) {
5299
5322
  var Se, En, _n, xn;
5300
5323
  /*showclosebutton*/
5301
- g[3] === Ie.true ? Q ? Q.p(g, B) : (Q = Yn(g), Q.c(), Q.m(t, n)) : Q && (Q.d(1), Q = null), /*showtotalbalance*/
5324
+ g[3] === Ie.true ? Y ? Y.p(g, B) : (Y = Yn(g), Y.c(), Y.m(t, n)) : Y && (Y.d(1), Y = null), /*showtotalbalance*/
5302
5325
  g[2] === Ie.true ? F ? (F.p(g, B), B[0] & /*showtotalbalance*/
5303
5326
  4 && $(F, 1)) : (F = Jn(g), F.c(), $(F, 1), F.m(r, null)) : F && (Re(), z(F, 1, 1, () => {
5304
5327
  F = null;
5305
- }), Oe()), (!te || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5328
+ }), Oe()), (!ne || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5306
5329
  196609 && m !== (m = !/*session*/
5307
5330
  g[0] || !/*isBalanceFetched*/
5308
5331
  g[16] || !/*isCurrenciesFetched*/
@@ -5313,21 +5336,21 @@ function ga(e) {
5313
5336
  /*inputExchangeFrom*/
5314
5337
  g[8]
5315
5338
  );
5316
- const ae = {};
5339
+ const q = {};
5317
5340
  B[0] & /*showcurrencysymbol*/
5318
- 16 && (ae.withSymbol = /*showcurrencysymbol*/
5341
+ 16 && (q.withSymbol = /*showcurrencysymbol*/
5319
5342
  g[4]), B[0] & /*isBalanceFetched, isCurrenciesFetched*/
5320
- 196608 && (ae.disabled = !/*isBalanceFetched*/
5343
+ 196608 && (q.disabled = !/*isBalanceFetched*/
5321
5344
  g[16] || !/*isCurrenciesFetched*/
5322
5345
  g[17]), B[0] & /*optionsFrom*/
5323
- 1048576 && (ae.options = /*optionsFrom*/
5346
+ 1048576 && (q.options = /*optionsFrom*/
5324
5347
  g[20]), !E && B[0] & /*selectedCurrencyFrom*/
5325
- 32 && (E = !0, ae.selected = /*selectedCurrencyFrom*/
5326
- g[5], Tn(() => E = !1)), d.$set(ae);
5348
+ 32 && (E = !0, q.selected = /*selectedCurrencyFrom*/
5349
+ g[5], Tn(() => E = !1)), d.$set(q);
5327
5350
  let Ve = R;
5328
5351
  R = at(g), R === Ve ? pe[R].p(g, B) : (Re(), z(pe[Ve], 1, 1, () => {
5329
5352
  pe[Ve] = null;
5330
- }), Oe(), y = pe[R], y ? y.p(g, B) : (y = pe[R] = bt[R](g), y.c()), $(y, 1), y.m(l, null)), (!te || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5353
+ }), Oe(), y = pe[R], y ? y.p(g, B) : (y = pe[R] = bt[R](g), y.c()), $(y, 1), y.m(l, null)), (!ne || B[0] & /*session, isBalanceFetched, isCurrenciesFetched*/
5331
5354
  196609 && ce !== (ce = !/*session*/
5332
5355
  g[0] || !/*isBalanceFetched*/
5333
5356
  g[16] || !/*isCurrenciesFetched*/
@@ -5351,66 +5374,66 @@ function ga(e) {
5351
5374
  g[21]), !he && B[0] & /*selectedCurrencyTo*/
5352
5375
  64 && (he = !0, T.selected = /*selectedCurrencyTo*/
5353
5376
  g[6], Tn(() => he = !1)), se.$set(T);
5354
- let xe = K;
5355
- K = Et(g), K === xe ? de[K].p(g, B) : (Re(), z(de[xe], 1, 1, () => {
5377
+ let xe = Q;
5378
+ Q = Et(g), Q === xe ? de[Q].p(g, B) : (Re(), z(de[xe], 1, 1, () => {
5356
5379
  de[xe] = null;
5357
- }), Oe(), J = de[K], J ? J.p(g, B) : (J = de[K] = vt[K](g), J.c()), $(J, 1), J.m(M, null)), /*showvaults*/
5358
- g[1] === Ie.true ? p ? p.p(g, B) : (p = er(g), p.c(), p.m(t, nt)) : p && (p.d(1), p = null), I === (I = w(g)) && x ? x.p(g, B) : (x.d(1), x = I(g), x && (x.c(), x.m(ke, null))), (!te || B[0] & /*fetchResponse*/
5380
+ }), Oe(), ee = de[Q], ee ? ee.p(g, B) : (ee = de[Q] = vt[Q](g), ee.c()), $(ee, 1), ee.m(M, null)), /*showvaults*/
5381
+ g[1] === Ie.true ? p ? p.p(g, B) : (p = er(g), p.c(), p.m(t, nt)) : p && (p.d(1), p = null), I === (I = w(g)) && x ? x.p(g, B) : (x.d(1), x = I(g), x && (x.c(), x.m(ke, null))), (!ne || B[0] & /*fetchResponse*/
5359
5382
  4096) && ye !== (ye = k(
5360
5383
  /*fetchResponse*/
5361
5384
  ((Se = g[12]) == null ? void 0 : Se.message) || ""
5362
- ) + "") && (oe.innerHTML = ye), (!te || B[0] & /*fetchResponse*/
5385
+ ) + "") && (ae.innerHTML = ye), (!ne || B[0] & /*fetchResponse*/
5363
5386
  4096) && ue(
5364
- oe,
5387
+ ae,
5365
5388
  "error",
5366
5389
  /*fetchResponse*/
5367
5390
  ((En = g[12]) == null ? void 0 : En.type) === "error"
5368
- ), (!te || B[0] & /*fetchResponse*/
5391
+ ), (!ne || B[0] & /*fetchResponse*/
5369
5392
  4096) && ue(
5370
- oe,
5393
+ ae,
5371
5394
  "success",
5372
5395
  /*fetchResponse*/
5373
5396
  ((_n = g[12]) == null ? void 0 : _n.type) === "success"
5374
- ), (!te || B[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5397
+ ), (!ne || B[0] & /*isExchangeDisabled, isExchangePending, inputExchangeFrom, selectedCurrencyFrom*/
5375
5398
  278816 && _e !== (_e = /*isExchangeDisabled*/
5376
5399
  g[14] || /*isExchangePending*/
5377
5400
  g[18] || /*inputExchangeFrom*/
5378
5401
  g[8] === 0 && !/*selectedCurrencyFrom*/
5379
- ((xn = g[5]) != null && xn.amount))) && (ee.disabled = _e), (!te || B[0] & /*isExchangeDisabled, isExchangePending*/
5402
+ ((xn = g[5]) != null && xn.amount))) && (te.disabled = _e), (!ne || B[0] & /*isExchangeDisabled, isExchangePending*/
5380
5403
  278528) && ue(
5381
- ee,
5404
+ te,
5382
5405
  "disabled",
5383
5406
  /*isExchangeDisabled*/
5384
5407
  g[14] || /*isExchangePending*/
5385
5408
  g[18]
5386
- ), (!te || B[0] & /*isExchangePending*/
5409
+ ), (!ne || B[0] & /*isExchangePending*/
5387
5410
  262144) && ue(
5388
- ee,
5411
+ te,
5389
5412
  "pending",
5390
5413
  /*isExchangePending*/
5391
5414
  g[18]
5392
5415
  );
5393
5416
  },
5394
5417
  i(g) {
5395
- te || ($(F), $(d.$$.fragment, g), $(y), $(se.$$.fragment, g), $(J), te = !0);
5418
+ ne || ($(F), $(d.$$.fragment, g), $(y), $(se.$$.fragment, g), $(ee), ne = !0);
5396
5419
  },
5397
5420
  o(g) {
5398
- z(F), z(d.$$.fragment, g), z(y), z(se.$$.fragment, g), z(J), te = !1;
5421
+ z(F), z(d.$$.fragment, g), z(y), z(se.$$.fragment, g), z(ee), ne = !1;
5399
5422
  },
5400
5423
  d(g) {
5401
- g && S(t), Q && Q.d(), F && F.d(), Ze(d), pe[R].d(), Ze(se), de[K].d(), p && p.d(), x.d(), e[42](null), it = !1, we(ot);
5424
+ g && S(t), Y && Y.d(), F && F.d(), Ze(d), pe[R].d(), Ze(se), de[Q].d(), p && p.d(), x.d(), e[42](null), it = !1, we(ot);
5402
5425
  }
5403
5426
  };
5404
5427
  }
5405
- function ba(e, t, n) {
5406
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: u = "" } = t, { playercurrency: c = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: _ = "true" } = t, d = null, E = null, C = 0, R = 0, y = 0, D = null, M = null, X = null, ge = "", ie = !0, W = !1, ce = !1, be = !1, se = !1, he = [], Ae = [], K = [], J = [], fe;
5428
+ function va(e, t, n) {
5429
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { playercurrency: u = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: h = "true" } = t, { showclosebutton: m = "true" } = t, { showcurrencysymbol: _ = "true" } = t, d = null, E = null, C = 0, R = 0, y = 0, D = null, M = null, X = null, ge = "", oe = !0, W = !1, ce = !1, be = !1, se = !1, he = [], Ae = [], Q = [], ee = [], fe;
5407
5430
  Go({ withLocale: "en", translations: {} }), Object.keys(Gn).forEach((p) => {
5408
5431
  Fn(p, Gn[p]);
5409
5432
  });
5410
5433
  const nt = () => {
5411
5434
  $o(a);
5412
5435
  }, Ce = () => {
5413
- fetch(u).then((p) => p.json()).then((p) => {
5436
+ fetch(c).then((p) => p.json()).then((p) => {
5414
5437
  Object.keys(p).forEach((w) => {
5415
5438
  Fn(w, p[w]);
5416
5439
  });
@@ -5445,10 +5468,10 @@ function ba(e, t, n) {
5445
5468
  },
5446
5469
  window.location.href
5447
5470
  );
5448
- }, oe = () => {
5449
- n(14, ie = !0), Te(), ve(), Ee(), Ue(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5471
+ }, ae = () => {
5472
+ n(14, oe = !0), Te(), ve(), Ee(), Ue(), window.postMessage({ type: Yt.VaultWidgetReset }, window.location.href);
5450
5473
  }, ye = () => {
5451
- n(14, ie = !0), n(9, y = 0);
5474
+ n(14, oe = !0), n(9, y = 0);
5452
5475
  }, Te = () => {
5453
5476
  n(11, M = null);
5454
5477
  }, ve = () => {
@@ -5457,16 +5480,16 @@ function ba(e, t, n) {
5457
5480
  n(13, ge = "");
5458
5481
  }, Ue = () => {
5459
5482
  n(12, X = null);
5460
- }, ee = (p) => {
5483
+ }, te = (p) => {
5461
5484
  p && n(13, ge = p);
5462
5485
  }, Be = ({ type: p, message: w, source: I = "" }) => {
5463
5486
  let x;
5464
5487
  switch (n(12, X = { message: w, source: I, type: p }), p) {
5465
5488
  case He.error:
5466
- n(14, ie = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href);
5489
+ n(14, oe = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href);
5467
5490
  break;
5468
5491
  case He.success:
5469
- n(14, ie = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5492
+ n(14, oe = !0), window.postMessage({ type: I, data: { type: p, message: w } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5470
5493
  () => {
5471
5494
  Ue();
5472
5495
  },
@@ -5476,16 +5499,16 @@ function ba(e, t, n) {
5476
5499
  }
5477
5500
  }, mt = () => new Promise((p, w) => {
5478
5501
  const I = X == null ? void 0 : X.message.includes(Wo.InvalidSession);
5479
- I && w(), isNaN(Number(C)) && (ye(), Te(), w(k("invalidValue"))), C > (d == null ? void 0 : d.amount) && (ye(), Te(), w(k("exceededValue"))), C === null && !I && (ye(), Te(), w()), C === 0 && C === 0 && !I && (oe(), w()), (!d || !E) && !I && w(), Ee(), p();
5502
+ I && w(), isNaN(Number(C)) && (ye(), Te(), w(k("invalidValue"))), C > (d == null ? void 0 : d.amount) && (ye(), Te(), w(k("exceededValue"))), C === null && !I && (ye(), Te(), w()), C === 0 && C === 0 && !I && (ae(), w()), (!d || !E) && !I && w(), Ee(), p();
5480
5503
  }), _e = (p, w) => jt(this, null, function* () {
5481
5504
  var x, j;
5482
5505
  const I = yield p.json();
5483
- return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === q.CheckWalletExchangeError && ye(), !ce && w === q.BalanceError && (n(16, ce = !0), n(17, be = !0)), !be && w === q.CurrenciesError && n(17, be = !0), Be({
5506
+ return (p == null ? void 0 : p.status) >= 200 && (p == null ? void 0 : p.status) < 400 ? I : (w === K.CheckWalletExchangeError && ye(), !ce && w === K.BalanceError && (n(16, ce = !0), n(17, be = !0)), !be && w === K.CurrenciesError && n(17, be = !0), Be({
5484
5507
  type: He.error,
5485
5508
  message: k((x = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : x.code) || k((j = I == null ? void 0 : I.thirdPartyResponse) == null ? void 0 : j.errorCode) || "generalError",
5486
5509
  source: w
5487
5510
  }));
5488
- }), te = () => new Promise((p, w) => {
5511
+ }), ne = () => new Promise((p, w) => {
5489
5512
  const I = new URL(`${o}/v1/player/${i}/wallet-exchange/currencies`);
5490
5513
  fetch(I, {
5491
5514
  method: "GET",
@@ -5494,13 +5517,13 @@ function ba(e, t, n) {
5494
5517
  "Content-Type": "application/json",
5495
5518
  Accept: "application/json"
5496
5519
  }
5497
- }).then((j) => _e(j, q.CurrenciesError)).then((j) => {
5520
+ }).then((j) => _e(j, K.CurrenciesError)).then((j) => {
5498
5521
  p(j == null ? void 0 : j.currencies);
5499
5522
  }).catch((j) => {
5500
5523
  n(17, be = !0), console.error("There was an error on the allowed currencies request.", j), Be({
5501
5524
  type: He.error,
5502
5525
  message: k("generalError"),
5503
- source: q.CurrenciesError
5526
+ source: K.CurrenciesError
5504
5527
  }), w();
5505
5528
  }).finally(() => {
5506
5529
  n(17, be = !0);
@@ -5510,10 +5533,10 @@ function ba(e, t, n) {
5510
5533
  const { items: x = [], totalAmount: j = {}, totalRealAmount: g } = p || {};
5511
5534
  n(10, D = Object.entries(g || j).map(([T = "", xe = 0]) => ({ currency: T, amount: xe }))[0]);
5512
5535
  let B = null;
5513
- const ae = new Map(I.map((T) => [T.code, T]));
5536
+ const q = new Map(I.map((T) => [T.code, T]));
5514
5537
  for (const T of x)
5515
5538
  if ((T == null ? void 0 : T.type) === jn.Real) {
5516
- const xe = ae.get(T == null ? void 0 : T.currency);
5539
+ const xe = q.get(T == null ? void 0 : T.currency);
5517
5540
  if (xe && xe.code === (T == null ? void 0 : T.currency)) {
5518
5541
  const Se = $t(Fe(Fe({}, T), xe), {
5519
5542
  symbol: (Ve = jo[T == null ? void 0 : T.currency]) == null ? void 0 : Ve[0]
@@ -5530,8 +5553,8 @@ function ba(e, t, n) {
5530
5553
  "Content-Type": "application/json",
5531
5554
  Accept: "application/json"
5532
5555
  }
5533
- }).then((x) => _e(x, q.BalanceError)).then((x) => {
5534
- x && te().then((j) => {
5556
+ }).then((x) => _e(x, K.BalanceError)).then((x) => {
5557
+ x && ne().then((j) => {
5535
5558
  n(37, he = []), n(19, Ae = []), it({
5536
5559
  data: x,
5537
5560
  shouldUpdateSelectedCurrencies: p,
@@ -5542,12 +5565,12 @@ function ba(e, t, n) {
5542
5565
  n(16, ce = !0), console.error("There was an error with the player balance request.", x), Be({
5543
5566
  type: He.error,
5544
5567
  message: k("generalError"),
5545
- source: q.BalanceError
5568
+ source: K.BalanceError
5546
5569
  });
5547
5570
  }).finally(() => {
5548
5571
  n(16, ce = !0);
5549
5572
  });
5550
- }, F = zo(() => {
5573
+ }, F = Zo(() => {
5551
5574
  mt().then(() => {
5552
5575
  const p = new URL(`${o}/v2/player/${i}/check/wallet-exchange`), w = {
5553
5576
  userId: i,
@@ -5555,7 +5578,7 @@ function ba(e, t, n) {
5555
5578
  currency: d == null ? void 0 : d.currency,
5556
5579
  fromCurrency: d == null ? void 0 : d.currency,
5557
5580
  toCurrency: E == null ? void 0 : E.currency,
5558
- payload: { PlayerCurrency: c }
5581
+ payload: { PlayerCurrency: u }
5559
5582
  }, I = {
5560
5583
  method: "POST",
5561
5584
  headers: {
@@ -5565,18 +5588,24 @@ function ba(e, t, n) {
5565
5588
  },
5566
5589
  body: Wn(w)
5567
5590
  };
5568
- fetch(p, I).then((x) => _e(x, q.CheckWalletExchangeError)).then((x) => {
5591
+ fetch(p, I).then((x) => _e(x, K.CheckWalletExchangeError)).then((x) => {
5569
5592
  var j, g;
5570
- x && ((X == null ? void 0 : X.source) === q.CheckWalletExchangeError && Ue(), Array.isArray((j = x == null ? void 0 : x.fees) == null ? void 0 : j.fees) && n(11, M = x.fees), Array.isArray(x == null ? void 0 : x.walletActions) && n(9, y = ((g = x.walletActions.find((B) => (B == null ? void 0 : B.directionName) === "Credit")) == null ? void 0 : g.amount) || 0), C > 0 && (d != null && d.currency) && (E != null && E.currency) && c && n(14, ie = !1));
5593
+ if (x) {
5594
+ if ((X == null ? void 0 : X.source) === K.CheckWalletExchangeError && Ue(), Array.isArray((j = x == null ? void 0 : x.fees) == null ? void 0 : j.fees) && n(11, M = x.fees), Array.isArray(x == null ? void 0 : x.walletActions)) {
5595
+ const B = ((g = x.walletActions.find((q) => (q == null ? void 0 : q.directionName) === zo.Credit)) == null ? void 0 : g.amount) || 0;
5596
+ n(9, y = Ko(B));
5597
+ }
5598
+ C > 0 && y > 0 && (d != null && d.currency) && (E != null && E.currency) && u && n(14, oe = !1);
5599
+ }
5571
5600
  }).catch((x) => {
5572
5601
  Be({
5573
5602
  type: He.error,
5574
5603
  message: k("generalError"),
5575
- source: q.CheckWalletExchangeError
5604
+ source: K.CheckWalletExchangeError
5576
5605
  }), console.error("There was a problem with the wallet exchange request.", x);
5577
5606
  });
5578
5607
  }).catch((p) => {
5579
- ee(p);
5608
+ te(p);
5580
5609
  });
5581
5610
  }, 500), Vt = (p) => {
5582
5611
  const w = p.target.value, [I, x] = w.split(".");
@@ -5596,7 +5625,7 @@ function ba(e, t, n) {
5596
5625
  currency: d == null ? void 0 : d.currency,
5597
5626
  fromCurrency: d == null ? void 0 : d.currency,
5598
5627
  toCurrency: E == null ? void 0 : E.currency,
5599
- payload: { PlayerCurrency: c }
5628
+ payload: { PlayerCurrency: u }
5600
5629
  }, I = {
5601
5630
  method: "PUT",
5602
5631
  headers: {
@@ -5606,7 +5635,7 @@ function ba(e, t, n) {
5606
5635
  },
5607
5636
  body: Wn(w)
5608
5637
  };
5609
- fetch(p, I).then((x) => _e(x, q.WalletExchangeError)).then((x) => {
5638
+ fetch(p, I).then((x) => _e(x, K.WalletExchangeError)).then((x) => {
5610
5639
  x && (Be({
5611
5640
  type: He.success,
5612
5641
  message: k("exchangeSuccess"),
@@ -5616,7 +5645,7 @@ function ba(e, t, n) {
5616
5645
  Be({
5617
5646
  type: He.error,
5618
5647
  message: k("generalError"),
5619
- source: q.WalletExchangeError
5648
+ source: K.WalletExchangeError
5620
5649
  }), console.error("There was an error with the wallet exchange request.", x);
5621
5650
  }).finally(() => {
5622
5651
  n(18, se = !1), ve(), Te();
@@ -5625,7 +5654,7 @@ function ba(e, t, n) {
5625
5654
  const { data: { type: w } = {} } = p || {};
5626
5655
  switch (w) {
5627
5656
  case $n.ResetVaultWidget:
5628
- oe();
5657
+ ae();
5629
5658
  break;
5630
5659
  case $n.CloseVaultWidget:
5631
5660
  rt();
@@ -5653,7 +5682,7 @@ function ba(e, t, n) {
5653
5682
  });
5654
5683
  }
5655
5684
  return e.$$set = (p) => {
5656
- "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, o = p.endpoint), "lang" in p && n(32, a = p.lang), "clientstyling" in p && n(33, s = p.clientstyling), "clientstylingurl" in p && n(34, l = p.clientstylingurl), "translationurl" in p && n(35, u = p.translationurl), "playercurrency" in p && n(36, c = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, h = p.showtotalbalance), "showclosebutton" in p && n(3, m = p.showclosebutton), "showcurrencysymbol" in p && n(4, _ = p.showcurrencysymbol);
5685
+ "session" in p && n(0, r = p.session), "userid" in p && n(30, i = p.userid), "endpoint" in p && n(31, o = p.endpoint), "lang" in p && n(32, a = p.lang), "clientstyling" in p && n(33, s = p.clientstyling), "clientstylingurl" in p && n(34, l = p.clientstylingurl), "translationurl" in p && n(35, c = p.translationurl), "playercurrency" in p && n(36, u = p.playercurrency), "showvaults" in p && n(1, f = p.showvaults), "showtotalbalance" in p && n(2, h = p.showtotalbalance), "showclosebutton" in p && n(3, m = p.showclosebutton), "showcurrencysymbol" in p && n(4, _ = p.showcurrencysymbol);
5657
5686
  }, e.$$.update = () => {
5658
5687
  e.$$.dirty[1] & /*lang*/
5659
5688
  2 && a && nt(), e.$$.dirty[0] & /*customStylingContainer*/
@@ -5661,13 +5690,13 @@ function ba(e, t, n) {
5661
5690
  4 && s && fe && Me(), e.$$.dirty[0] & /*customStylingContainer*/
5662
5691
  128 | e.$$.dirty[1] & /*clientstylingurl*/
5663
5692
  8 && l && fe && dt(), e.$$.dirty[1] & /*translationurl*/
5664
- 16 && u && Ce(), e.$$.dirty[0] & /*session, userid*/
5693
+ 16 && c && Ce(), e.$$.dirty[0] & /*session, userid*/
5665
5694
  1073741825 | e.$$.dirty[1] & /*endpoint, playercurrency*/
5666
- 33 && r && i && o && c && ot(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5695
+ 33 && r && i && o && u && ot(), e.$$.dirty[0] & /*selectedCurrencyTo*/
5667
5696
  64 | e.$$.dirty[1] & /*filteredBalances*/
5668
- 64 && n(20, K = he.filter((p) => (p == null ? void 0 : p.amount) > 0 && (p == null ? void 0 : p.currency) !== (E == null ? void 0 : E.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5697
+ 64 && n(20, Q = he.filter((p) => (p == null ? void 0 : p.amount) > 0 && (p == null ? void 0 : p.currency) !== (E == null ? void 0 : E.currency))), e.$$.dirty[0] & /*selectedCurrencyFrom*/
5669
5698
  32 | e.$$.dirty[1] & /*filteredBalances*/
5670
- 64 && n(21, J = he.filter((p) => (d == null ? void 0 : d.currency) !== (p == null ? void 0 : p.currency)));
5699
+ 64 && n(21, ee = he.filter((p) => (d == null ? void 0 : d.currency) !== (p == null ? void 0 : p.currency)));
5671
5700
  }, [
5672
5701
  r,
5673
5702
  f,
@@ -5683,17 +5712,17 @@ function ba(e, t, n) {
5683
5712
  M,
5684
5713
  X,
5685
5714
  ge,
5686
- ie,
5715
+ oe,
5687
5716
  W,
5688
5717
  ce,
5689
5718
  be,
5690
5719
  se,
5691
5720
  Ae,
5692
- K,
5693
- J,
5721
+ Q,
5722
+ ee,
5694
5723
  ke,
5695
5724
  rt,
5696
- oe,
5725
+ ae,
5697
5726
  F,
5698
5727
  Vt,
5699
5728
  gt,
@@ -5704,8 +5733,8 @@ function ba(e, t, n) {
5704
5733
  a,
5705
5734
  s,
5706
5735
  l,
5707
- u,
5708
5736
  c,
5737
+ u,
5709
5738
  he,
5710
5739
  Ft,
5711
5740
  yt,
@@ -5714,13 +5743,13 @@ function ba(e, t, n) {
5714
5743
  Et
5715
5744
  ];
5716
5745
  }
5717
- class ya extends bn {
5746
+ class Ea extends bn {
5718
5747
  constructor(t) {
5719
5748
  super(), mn(
5720
5749
  this,
5721
5750
  t,
5722
- ba,
5723
- ga,
5751
+ va,
5752
+ ya,
5724
5753
  Nt,
5725
5754
  {
5726
5755
  session: 0,
@@ -5736,7 +5765,7 @@ class ya extends bn {
5736
5765
  showclosebutton: 3,
5737
5766
  showcurrencysymbol: 4
5738
5767
  },
5739
- ta,
5768
+ ra,
5740
5769
  [-1, -1, -1]
5741
5770
  );
5742
5771
  }
@@ -5813,7 +5842,7 @@ class ya extends bn {
5813
5842
  this.$$set({ showcurrencysymbol: t }), G();
5814
5843
  }
5815
5844
  }
5816
- gn(ya, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
5845
+ gn(Ea, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
5817
5846
  export {
5818
- ya as default
5847
+ Ea as default
5819
5848
  };