@everymatrix/player-account-vault 1.83.9 → 1.83.11

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.
@@ -6,7 +6,7 @@ function cr(e) {
6
6
  function Sn() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function xe(e) {
9
+ function we(e) {
10
10
  e.forEach(cr);
11
11
  }
12
12
  function gt(e) {
@@ -40,7 +40,7 @@ function v(e, t) {
40
40
  function En(e, t, n) {
41
41
  const r = jr(e);
42
42
  if (!r.getElementById(t)) {
43
- const i = w("style");
43
+ const i = x("style");
44
44
  i.id = t, i.textContent = n, Wr(r, i);
45
45
  }
46
46
  }
@@ -71,7 +71,7 @@ function fr(e, t) {
71
71
  for (let n = 0; n < e.length; n += 1)
72
72
  e[n] && e[n].d(t);
73
73
  }
74
- function w(e) {
74
+ function x(e) {
75
75
  return document.createElement(e);
76
76
  }
77
77
  function Bn(e) {
@@ -107,7 +107,7 @@ function ie(e, t) {
107
107
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
108
108
  t);
109
109
  }
110
- function xt(e, t) {
110
+ function wt(e, t) {
111
111
  e.value = t ?? "";
112
112
  }
113
113
  function le(e, t, n) {
@@ -179,7 +179,7 @@ function G() {
179
179
  }
180
180
  function Jr(e) {
181
181
  if (e.fragment !== null) {
182
- e.update(), xe(e.before_update);
182
+ e.update(), we(e.before_update);
183
183
  const t = e.dirty;
184
184
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rn);
185
185
  }
@@ -199,7 +199,7 @@ function Oe() {
199
199
  };
200
200
  }
201
201
  function Re() {
202
- Pe.r || xe(Pe.c), Pe = Pe.p;
202
+ Pe.r || we(Pe.c), Pe = Pe.p;
203
203
  }
204
204
  function $(e, t) {
205
205
  e && e.i && (Ct.delete(e), e.i(t));
@@ -228,12 +228,12 @@ function We(e, t, n) {
228
228
  const { fragment: r, after_update: i } = e.$$;
229
229
  r && r.m(t, n), rn(() => {
230
230
  const a = e.$$.on_mount.map(cr).filter(gt);
231
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : xe(a), e.$$.on_mount = [];
231
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : we(a), e.$$.on_mount = [];
232
232
  }), i.forEach(rn);
233
233
  }
234
234
  function Xe(e, t) {
235
235
  const n = e.$$;
236
- n.fragment !== null && (ei(n.after_update), xe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
236
+ n.fragment !== null && (ei(n.after_update), we(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
237
237
  }
238
238
  function ti(e, t) {
239
239
  e.$$.dirty[0] === -1 && (Ge.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
@@ -267,7 +267,7 @@ function _n(e, t, n, r, i, a, o = null, l = [-1]) {
267
267
  if (u.ctx = n ? n(e, t.props || {}, (f, c, ...g) => {
268
268
  const b = g.length ? g[0] : c;
269
269
  return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && ti(e, f)), c;
270
- }) : [], u.update(), h = !0, xe(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
270
+ }) : [], u.update(), h = !0, we(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
271
271
  if (t.hydrate) {
272
272
  const f = Zr(t.target);
273
273
  u.fragment && u.fragment.l(f), f.forEach(A);
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
320
320
  let a;
321
321
  return {
322
322
  c: function() {
323
- a = w("slot"), i !== "default" && m(a, "name", i);
323
+ a = x("slot"), i !== "default" && m(a, "name", i);
324
324
  },
325
325
  /**
326
326
  * @param {HTMLElement} target
@@ -424,7 +424,7 @@ function Tt(e, t, n, r) {
424
424
  return t;
425
425
  }
426
426
  }
427
- function xn(e, t, n, r, i, a) {
427
+ function wn(e, t, n, r, i, a) {
428
428
  let o = class extends dr {
429
429
  constructor() {
430
430
  super(e, n, i), this.$$p_d = t;
@@ -453,7 +453,7 @@ function xn(e, t, n, r, i, a) {
453
453
  }), e.element = /** @type {any} */
454
454
  o, o;
455
455
  }
456
- class wn {
456
+ class xn {
457
457
  /**
458
458
  * ### PRIVATE API
459
459
  *
@@ -850,7 +850,7 @@ function Qe(e, t, n) {
850
850
  )
851
851
  );
852
852
  return s = !0, c(), function() {
853
- xe(g), f(), s = !1;
853
+ we(g), f(), s = !1;
854
854
  };
855
855
  });
856
856
  }
@@ -955,7 +955,7 @@ var ge = function() {
955
955
  return t;
956
956
  }, ge.apply(this, arguments);
957
957
  };
958
- function xi(e, t) {
958
+ function wi(e, t) {
959
959
  var n = {};
960
960
  for (var r in e)
961
961
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -977,11 +977,11 @@ function Zt(e, t) {
977
977
  serializer: r
978
978
  });
979
979
  }
980
- function wi(e) {
980
+ function xi(e) {
981
981
  return e == null || typeof e == "number" || typeof e == "boolean";
982
982
  }
983
983
  function Ai(e, t, n, r) {
984
- var i = wi(r) ? r : n(r), a = t.get(i);
984
+ var i = xi(r) ? r : n(r), a = t.get(i);
985
985
  return typeof a > "u" && (a = e.call(this, r), t.set(i, a)), a;
986
986
  }
987
987
  function br(e, t, n) {
@@ -1052,10 +1052,10 @@ function Er(e) {
1052
1052
  function _r(e) {
1053
1053
  return e.type === D.date;
1054
1054
  }
1055
- function xr(e) {
1055
+ function wr(e) {
1056
1056
  return e.type === D.time;
1057
1057
  }
1058
- function wr(e) {
1058
+ function xr(e) {
1059
1059
  return e.type === D.select;
1060
1060
  }
1061
1061
  function Ar(e) {
@@ -1386,7 +1386,7 @@ function Fi(e) {
1386
1386
  }
1387
1387
  return t;
1388
1388
  }
1389
- var wt = {
1389
+ var xt = {
1390
1390
  "001": [
1391
1391
  "H",
1392
1392
  "h"
@@ -2836,7 +2836,7 @@ function Ui(e) {
2836
2836
  }
2837
2837
  var n = e.language, r;
2838
2838
  n !== "root" && (r = e.maximize().region);
2839
- var i = wt[r || ""] || wt[n || ""] || wt["".concat(n, "-001")] || wt["001"];
2839
+ var i = xt[r || ""] || xt[n || ""] || xt["".concat(n, "-001")] || xt["001"];
2840
2840
  return i[0];
2841
2841
  }
2842
2842
  var Kt, Gi = new RegExp("^".concat(Sr.source, "*")), $i = new RegExp("".concat(Sr.source, "*$"));
@@ -3413,11 +3413,11 @@ function ia(e) {
3413
3413
  }
3414
3414
  function mn(e) {
3415
3415
  e.forEach(function(t) {
3416
- if (delete t.location, wr(t) || Ar(t))
3416
+ if (delete t.location, xr(t) || Ar(t))
3417
3417
  for (var n in t.options)
3418
3418
  delete t.options[n].location, mn(t.options[n].value);
3419
3419
  else
3420
- Er(t) && Tr(t.style) || (_r(t) || xr(t)) && hn(t.style) ? delete t.style.location : Cr(t) && mn(t.children);
3420
+ Er(t) && Tr(t.style) || (_r(t) || wr(t)) && hn(t.style) ? delete t.style.location : Cr(t) && mn(t.children);
3421
3421
  });
3422
3422
  }
3423
3423
  function aa(e, t) {
@@ -3528,7 +3528,7 @@ function St(e, t, n, r, i, a, o) {
3528
3528
  });
3529
3529
  continue;
3530
3530
  }
3531
- if (xr(h)) {
3531
+ if (wr(h)) {
3532
3532
  var g = typeof h.style == "string" ? r.time[h.style] : hn(h.style) ? h.style.parsedOptions : r.time.medium;
3533
3533
  l.push({
3534
3534
  type: J.literal,
@@ -3558,7 +3558,7 @@ function St(e, t, n, r, i, a, o) {
3558
3558
  };
3559
3559
  }));
3560
3560
  }
3561
- if (wr(h)) {
3561
+ if (xr(h)) {
3562
3562
  var E = h.options[c] || h.options.other;
3563
3563
  if (!E)
3564
3564
  throw new jn(h.value, c, Object.keys(h.options), o);
@@ -3671,7 +3671,7 @@ var pa = (
3671
3671
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3672
3672
  var o = i || {};
3673
3673
  o.formatters;
3674
- var l = xi(o, ["formatters"]);
3674
+ var l = wi(o, ["formatters"]);
3675
3675
  this.ast = e.__parse(t, ge(ge({}, l), { locale: this.resolvedLocale }));
3676
3676
  } else
3677
3677
  this.ast = t;
@@ -3857,7 +3857,7 @@ function Mr(e) {
3857
3857
  delete st[e];
3858
3858
  }), st[e];
3859
3859
  }
3860
- const xa = {
3860
+ const wa = {
3861
3861
  number: {
3862
3862
  scientific: { notation: "scientific" },
3863
3863
  engineering: { notation: "engineering" },
@@ -3886,14 +3886,14 @@ const xa = {
3886
3886
  timeZoneName: "short"
3887
3887
  }
3888
3888
  }
3889
- }, wa = {
3889
+ }, xa = {
3890
3890
  fallbackLocale: null,
3891
3891
  loadingDelay: 200,
3892
- formats: xa,
3892
+ formats: wa,
3893
3893
  warnOnMissingMessages: !0,
3894
3894
  handleMissingMessage: void 0,
3895
3895
  ignoreTag: !0
3896
- }, Aa = wa;
3896
+ }, Aa = xa;
3897
3897
  function Ke() {
3898
3898
  return Aa;
3899
3899
  }
@@ -4519,7 +4519,7 @@ function nr(e) {
4519
4519
  ), r;
4520
4520
  return {
4521
4521
  c() {
4522
- t = w("span"), r = z(n), m(t, "class", "symbol svelte-1g9pqha");
4522
+ t = x("span"), r = z(n), m(t, "class", "symbol svelte-1g9pqha");
4523
4523
  },
4524
4524
  m(i, a) {
4525
4525
  T(i, t, a), v(t, r);
@@ -4543,7 +4543,7 @@ function rr(e) {
4543
4543
  i[a] = ir(tr(e, r, a));
4544
4544
  return {
4545
4545
  c() {
4546
- t = w("div"), n = w("ul");
4546
+ t = x("div"), n = x("ul");
4547
4547
  for (let a = 0; a < i.length; a += 1)
4548
4548
  i[a].c();
4549
4549
  m(n, "class", "selectDropdown svelte-1g9pqha"), m(t, "class", "selectDropdownWrapper svelte-1g9pqha");
@@ -4586,7 +4586,7 @@ function ir(e) {
4586
4586
  ), l, s, u, h, f;
4587
4587
  return {
4588
4588
  c() {
4589
- t = w("li"), n = w("span"), i = z(r), a = I(), l = z(o), s = I(), m(n, "class", "symbol svelte-1g9pqha"), m(t, "role", "option"), m(t, "aria-selected", u = /*option*/
4589
+ t = x("li"), n = x("span"), i = z(r), a = I(), l = z(o), s = I(), m(n, "class", "symbol svelte-1g9pqha"), m(t, "role", "option"), m(t, "aria-selected", u = /*option*/
4590
4590
  e[16]?.currency === /*selected*/
4591
4591
  e[0]?.currency || /*index*/
4592
4592
  e[18] === /*activeIndex*/
@@ -4643,7 +4643,7 @@ function ir(e) {
4643
4643
  );
4644
4644
  },
4645
4645
  d(c) {
4646
- c && A(t), h = !1, xe(f);
4646
+ c && A(t), h = !1, we(f);
4647
4647
  }
4648
4648
  };
4649
4649
  }
@@ -4662,7 +4662,7 @@ function no(e) {
4662
4662
  );
4663
4663
  return {
4664
4664
  c() {
4665
- t = w("div"), n = w("button"), r = w("span"), c && c.c(), i = I(), o = z(a), l = I(), s = w("span"), s.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 = I(), g && g.c(), m(r, "class", "label svelte-1g9pqha"), m(s, "class", "arrow"), le(
4665
+ t = x("div"), n = x("button"), r = x("span"), c && c.c(), i = I(), o = z(a), l = I(), s = x("span"), s.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 = I(), g && g.c(), m(r, "class", "label svelte-1g9pqha"), m(s, "class", "arrow"), le(
4666
4666
  s,
4667
4667
  "open",
4668
4668
  /*open*/
@@ -4722,7 +4722,7 @@ function no(e) {
4722
4722
  i: B,
4723
4723
  o: B,
4724
4724
  d(b) {
4725
- b && A(t), c && c.d(), g && g.d(), h = !1, xe(f);
4725
+ b && A(t), c && c.d(), g && g.d(), h = !1, we(f);
4726
4726
  }
4727
4727
  };
4728
4728
  }
@@ -4771,7 +4771,7 @@ function io(e, t, n) {
4771
4771
  O
4772
4772
  ];
4773
4773
  }
4774
- class vn extends wn {
4774
+ class vn extends xn {
4775
4775
  constructor(t) {
4776
4776
  super(), _n(
4777
4777
  this,
@@ -4834,7 +4834,7 @@ class vn extends wn {
4834
4834
  this.$$set({ onChange: t }), G();
4835
4835
  }
4836
4836
  }
4837
- xn(vn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4837
+ wn(vn, { options: {}, selected: {}, placeholder: {}, withSymbol: {}, id: {}, disabled: { type: "Boolean" }, onChange: {} }, [], [], !0);
4838
4838
  function ao(e) {
4839
4839
  En(e, "svelte-2fhtvy", ".warningIcon.svelte-2fhtvy{line-height:1;margin-right:0.4rem}");
4840
4840
  }
@@ -4842,7 +4842,7 @@ function oo(e) {
4842
4842
  let t, n, r = R("balanceUnavailable") + "", i;
4843
4843
  return {
4844
4844
  c() {
4845
- t = w("span"), t.innerHTML = '<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><g><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z" style="fill-rule:nonzero;"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z" style="fill-rule:nonzero;"></path></g></svg>', n = I(), i = z(r), m(t, "class", "warningIcon svelte-2fhtvy");
4845
+ t = x("span"), t.innerHTML = '<svg fill="currentColor" width="20px" height="20px" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><g><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z" style="fill-rule:nonzero;"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z" style="fill-rule:nonzero;"></path></g></svg>', n = I(), i = z(r), m(t, "class", "warningIcon svelte-2fhtvy");
4846
4846
  },
4847
4847
  m(a, o) {
4848
4848
  T(a, t, o), T(a, n, o), T(a, i, o);
@@ -4855,12 +4855,12 @@ function oo(e) {
4855
4855
  }
4856
4856
  };
4857
4857
  }
4858
- class Ut extends wn {
4858
+ class Ut extends xn {
4859
4859
  constructor(t) {
4860
4860
  super(), _n(this, t, null, oo, Rt, {}, ao);
4861
4861
  }
4862
4862
  }
4863
- xn(Ut, {}, [], [], !0);
4863
+ wn(Ut, {}, [], [], !0);
4864
4864
  function so(e) {
4865
4865
  En(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}');
4866
4866
  }
@@ -4872,7 +4872,7 @@ function or(e) {
4872
4872
  let t, n, r;
4873
4873
  return {
4874
4874
  c() {
4875
- t = w("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>', m(t, "type", "button"), m(t, "class", "closeButton");
4875
+ t = x("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>', m(t, "type", "button"), m(t, "class", "closeButton");
4876
4876
  },
4877
4877
  m(i, a) {
4878
4878
  T(i, t, a), n || (r = re(
@@ -4931,7 +4931,7 @@ function lo(e) {
4931
4931
  }
4932
4932
  return n = l(e), r = o[n] = a[n](e), {
4933
4933
  c() {
4934
- t = w("div"), r.c(), m(t, "class", "headerPlayerBalance amountContainer");
4934
+ t = x("div"), r.c(), m(t, "class", "headerPlayerBalance amountContainer");
4935
4935
  },
4936
4936
  m(s, u) {
4937
4937
  T(s, t, u), o[n].m(t, null), i = !0;
@@ -4957,7 +4957,7 @@ function uo(e) {
4957
4957
  let t;
4958
4958
  return {
4959
4959
  c() {
4960
- t = w("div"), m(t, "class", "skeleton");
4960
+ t = x("div"), m(t, "class", "skeleton");
4961
4961
  },
4962
4962
  m(n, r) {
4963
4963
  T(n, t, r);
@@ -4980,7 +4980,7 @@ function co(e) {
4980
4980
  ), l;
4981
4981
  return {
4982
4982
  c() {
4983
- t = w("span"), t.textContent = `${R("totalBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "totalAmount");
4983
+ t = x("span"), t.textContent = `${R("totalBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "totalAmount");
4984
4984
  },
4985
4985
  m(s, u) {
4986
4986
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5031,10 +5031,10 @@ function fo(e) {
5031
5031
  }
5032
5032
  return o = c(e), l = f[o] = h[o](e), {
5033
5033
  c() {
5034
- t = w("div"), n = w("p"), r = z(
5034
+ t = x("div"), n = x("p"), r = z(
5035
5035
  /*validationError*/
5036
5036
  e[13]
5037
- ), i = I(), a = w("div"), l.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
5037
+ ), i = I(), a = x("div"), l.c(), m(n, "class", "validationError"), m(a, "class", "playerBalance amountContainer"), m(t, "class", s = "balanceContainer " + /*validationError*/
5038
5038
  (e[13] ? "hasError" : ""));
5039
5039
  },
5040
5040
  m(g, b) {
@@ -5069,7 +5069,7 @@ function po(e) {
5069
5069
  let t;
5070
5070
  return {
5071
5071
  c() {
5072
- t = w("div"), m(t, "class", "skeleton");
5072
+ t = x("div"), m(t, "class", "skeleton");
5073
5073
  },
5074
5074
  m(n, r) {
5075
5075
  T(n, t, r);
@@ -5092,7 +5092,7 @@ function go(e) {
5092
5092
  ), l;
5093
5093
  return {
5094
5094
  c() {
5095
- t = w("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5095
+ t = x("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5096
5096
  },
5097
5097
  m(s, u) {
5098
5098
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5143,7 +5143,7 @@ function yo(e) {
5143
5143
  }
5144
5144
  return n = l(e), r = o[n] = a[n](e), {
5145
5145
  c() {
5146
- t = w("div"), r.c(), m(t, "class", "playerBalance amountContainer");
5146
+ t = x("div"), r.c(), m(t, "class", "playerBalance amountContainer");
5147
5147
  },
5148
5148
  m(s, u) {
5149
5149
  T(s, t, u), o[n].m(t, null), i = !0;
@@ -5169,7 +5169,7 @@ function bo(e) {
5169
5169
  let t;
5170
5170
  return {
5171
5171
  c() {
5172
- t = w("div"), m(t, "class", "skeleton");
5172
+ t = x("div"), m(t, "class", "skeleton");
5173
5173
  },
5174
5174
  m(n, r) {
5175
5175
  T(n, t, r);
@@ -5192,7 +5192,7 @@ function vo(e) {
5192
5192
  ), l;
5193
5193
  return {
5194
5194
  c() {
5195
- t = w("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5195
+ t = x("span"), t.textContent = `${R("currentBalance")}`, n = I(), i = z(r), a = I(), l = z(o), m(t, "class", "amount");
5196
5196
  },
5197
5197
  m(s, u) {
5198
5198
  T(s, t, u), T(s, n, u), T(s, i, u), T(s, a, u), T(s, l, u);
@@ -5241,7 +5241,7 @@ function lr(e) {
5241
5241
  c[g] = ur(ar(e, f, g));
5242
5242
  return {
5243
5243
  c() {
5244
- t = w("div"), n = w("button"), r = Bn("svg"), i = Bn("path"), o = I(), l = w("div");
5244
+ t = x("div"), n = x("button"), r = Bn("svg"), i = Bn("path"), o = I(), l = x("div");
5245
5245
  for (let g = 0; g < c.length; g += 1)
5246
5246
  c[g].c();
5247
5247
  m(i, "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"), m(i, "fill", "currentColor"), m(r, "class", "vaultToggleIcon"), m(r, "width", "12"), m(r, "height", "7"), m(r, "viewBox", "0 0 12 7"), m(r, "fill", "currentColor"), m(r, "xmlns", "http://www.w3.org/2000/svg"), m(n, "type", "button"), m(n, "class", a = "vaultToggleButton " + /*isVaultDropDownToggled*/
@@ -5300,7 +5300,7 @@ function ur(e) {
5300
5300
  ), s, u;
5301
5301
  return {
5302
5302
  c() {
5303
- t = w("div"), n = w("p"), i = z(r), a = I(), o = w("p"), s = z(l), u = I(), m(t, "class", "vaultItem");
5303
+ t = x("div"), n = x("p"), i = z(r), a = I(), o = x("p"), s = z(l), u = I(), m(t, "class", "vaultItem");
5304
5304
  },
5305
5305
  m(h, f) {
5306
5306
  T(h, t, f), v(t, n), v(n, i), v(t, a), v(t, o), v(o, s), v(t, u);
@@ -5339,7 +5339,7 @@ function _o(e) {
5339
5339
  }
5340
5340
  };
5341
5341
  }
5342
- function xo(e) {
5342
+ function wo(e) {
5343
5343
  let t = R("feesUnavailable") + "", n;
5344
5344
  return {
5345
5345
  c() {
@@ -5354,8 +5354,8 @@ function xo(e) {
5354
5354
  }
5355
5355
  };
5356
5356
  }
5357
- function wo(e) {
5358
- let t, n, r, i, a, o, l, s, u, h, f, c, g, b, y, N, P, O, E, j, k, K, de, ae, W, ue, me, se, ce, we, Q, ee, he, et, Ae, ke, dt, Me, tt, oe, ye = R(
5357
+ function xo(e) {
5358
+ let t, n, r, i, a, o, l, s, u, h, f, c, g, b, y, N, P, O, E, j, k, K, de, ae, W, ue, me, se, ce, xe, Q, ee, he, et, Ae, ke, dt, Me, tt, oe, ye = R(
5359
5359
  /*fetchResponse*/
5360
5360
  e[12]?.message || ""
5361
5361
  ) + "", Ce, be, ve, Fe, te, Te = R("exchange") + "", mt, Ee, ne, nt, rt, Y = (
@@ -5433,16 +5433,16 @@ function wo(e) {
5433
5433
  /*showvaults*/
5434
5434
  e[1] === Be.true && lr(e)
5435
5435
  );
5436
- function _(d, C) {
5436
+ function w(d, C) {
5437
5437
  return (
5438
5438
  /*fetchResponse*/
5439
- d[12]?.source === Z.CheckWalletExchangeError ? xo : _o
5439
+ d[12]?.source === Z.CheckWalletExchangeError ? wo : _o
5440
5440
  );
5441
5441
  }
5442
- let L = _(e), x = L(e);
5442
+ let L = w(e), _ = L(e);
5443
5443
  return {
5444
5444
  c() {
5445
- t = w("div"), Y && Y.c(), n = I(), r = w("div"), i = w("h1"), i.textContent = `${R("vaultExchange")}`, a = I(), U && U.c(), o = I(), l = w("div"), s = w("div"), u = w("p"), u.textContent = `${R("exchangeFrom")}`, h = I(), f = w("div"), c = w("input"), b = I(), ct(y.$$.fragment), P = I(), E.c(), j = I(), k = w("div"), K = w("p"), K.textContent = `${R("exchangeTo")}`, de = I(), ae = w("div"), W = w("input"), me = I(), ct(se.$$.fragment), we = I(), ee.c(), he = I(), p && p.c(), et = I(), Ae = w("div"), ke = w("span"), ke.textContent = `${R("feesIncluded")}`, dt = I(), Me = w("span"), x.c(), tt = I(), oe = w("div"), Ce = I(), be = w("div"), ve = w("button"), ve.textContent = `${R("reset")}`, Fe = I(), te = w("button"), mt = z(Te), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(u, "class", "exchangeHeader"), m(c, "id", "senderInput"), c.disabled = g = !/*session*/
5445
+ t = x("div"), Y && Y.c(), n = I(), r = x("div"), i = x("h1"), i.textContent = `${R("vaultExchange")}`, a = I(), U && U.c(), o = I(), l = x("div"), s = x("div"), u = x("p"), u.textContent = `${R("exchangeFrom")}`, h = I(), f = x("div"), c = x("input"), b = I(), ct(y.$$.fragment), P = I(), E.c(), j = I(), k = x("div"), K = x("p"), K.textContent = `${R("exchangeTo")}`, de = I(), ae = x("div"), W = x("input"), me = I(), ct(se.$$.fragment), xe = I(), ee.c(), he = I(), p && p.c(), et = I(), Ae = x("div"), ke = x("span"), ke.textContent = `${R("feesIncluded")}`, dt = I(), Me = x("span"), _.c(), tt = I(), oe = x("div"), Ce = I(), be = x("div"), ve = x("button"), ve.textContent = `${R("reset")}`, Fe = I(), te = x("button"), mt = z(Te), m(i, "class", "headerTitle"), m(r, "class", "headerContainer"), m(u, "class", "exchangeHeader"), m(c, "id", "senderInput"), c.disabled = g = !/*session*/
5446
5446
  e[0] || !/*isBalanceFetched*/
5447
5447
  e[16] || !/*isCurrenciesFetched*/
5448
5448
  e[17], m(c, "placeholder", R("debitPlaceHolder")), m(c, "class", "exchangeInput"), m(c, "type", "number"), m(c, "aria-label", "Enter exchange amount"), m(c, "inputmode", "decimal"), m(c, "step", "0.000000000000001"), m(c, "min", "0"), m(f, "class", "flexingContainerRow"), m(s, "class", "containerExchangeFrom exchangeContainer"), m(K, "class", "exchangeHeader"), m(W, "id", "destinationInput"), W.disabled = ue = !/*session*/
@@ -5476,15 +5476,15 @@ function wo(e) {
5476
5476
  ), m(be, "class", "actionsContainer"), m(t, "class", "playerAccountVault");
5477
5477
  },
5478
5478
  m(d, C) {
5479
- T(d, t, C), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), U && U.m(r, null), v(t, o), v(t, l), v(l, s), v(s, u), v(s, h), v(s, f), v(f, c), xt(
5479
+ T(d, t, C), Y && Y.m(t, null), v(t, n), v(t, r), v(r, i), v(r, a), U && U.m(r, null), v(t, o), v(t, l), v(l, s), v(s, u), v(s, h), v(s, f), v(f, c), wt(
5480
5480
  c,
5481
5481
  /*inputExchangeFrom*/
5482
5482
  e[8]
5483
- ), v(f, b), We(y, f, null), v(s, P), fe[O].m(s, null), v(l, j), v(l, k), v(k, K), v(k, de), v(k, ae), v(ae, W), xt(
5483
+ ), v(f, b), We(y, f, null), v(s, P), fe[O].m(s, null), v(l, j), v(l, k), v(k, K), v(k, de), v(k, ae), v(ae, W), wt(
5484
5484
  W,
5485
5485
  /*inputExchangeTo*/
5486
5486
  e[9]
5487
- ), v(ae, me), We(se, ae, null), v(k, we), pe[Q].m(k, null), v(t, he), p && p.m(t, null), v(t, et), v(t, Ae), v(Ae, ke), v(Ae, dt), v(Ae, Me), x.m(Me, null), v(t, tt), v(t, oe), oe.innerHTML = ye, v(t, Ce), v(t, be), v(be, ve), v(be, Fe), v(be, te), v(te, mt), e[42](t), ne = !0, nt || (rt = [
5487
+ ), v(ae, me), We(se, ae, null), v(k, xe), pe[Q].m(k, null), v(t, he), p && p.m(t, null), v(t, et), v(t, Ae), v(Ae, ke), v(Ae, dt), v(Ae, Me), _.m(Me, null), v(t, tt), v(t, oe), oe.innerHTML = ye, v(t, Ce), v(t, be), v(be, ve), v(be, Fe), v(be, te), v(te, mt), e[42](t), ne = !0, nt || (rt = [
5488
5488
  re(
5489
5489
  c,
5490
5490
  "input",
@@ -5541,7 +5541,7 @@ function wo(e) {
5541
5541
  d[16] || !/*isCurrenciesFetched*/
5542
5542
  d[17])) && (c.disabled = g), C[0] & /*inputExchangeFrom*/
5543
5543
  256 && Ht(c.value) !== /*inputExchangeFrom*/
5544
- d[8] && xt(
5544
+ d[8] && wt(
5545
5545
  c,
5546
5546
  /*inputExchangeFrom*/
5547
5547
  d[8]
@@ -5566,7 +5566,7 @@ function wo(e) {
5566
5566
  d[16] || !/*isCurrenciesFetched*/
5567
5567
  d[17])) && (W.disabled = ue), C[0] & /*inputExchangeTo*/
5568
5568
  512 && Ht(W.value) !== /*inputExchangeTo*/
5569
- d[9] && xt(
5569
+ d[9] && wt(
5570
5570
  W,
5571
5571
  /*inputExchangeTo*/
5572
5572
  d[9]
@@ -5588,7 +5588,7 @@ function wo(e) {
5588
5588
  Q = _t(d), Q === _e ? pe[Q].p(d, C) : (Oe(), X(pe[_e], 1, 1, () => {
5589
5589
  pe[_e] = null;
5590
5590
  }), Re(), ee = pe[Q], ee ? ee.p(d, C) : (ee = pe[Q] = Et[Q](d), ee.c()), $(ee, 1), ee.m(k, null)), /*showvaults*/
5591
- d[1] === Be.true ? p ? p.p(d, C) : (p = lr(d), p.c(), p.m(t, et)) : p && (p.d(1), p = null), L === (L = _(d)) && x ? x.p(d, C) : (x.d(1), x = L(d), x && (x.c(), x.m(Me, null))), (!ne || C[0] & /*fetchResponse*/
5591
+ d[1] === Be.true ? p ? p.p(d, C) : (p = lr(d), p.c(), p.m(t, et)) : p && (p.d(1), p = null), L === (L = w(d)) && _ ? _.p(d, C) : (_.d(1), _ = L(d), _ && (_.c(), _.m(Me, null))), (!ne || C[0] & /*fetchResponse*/
5592
5592
  4096) && ye !== (ye = R(
5593
5593
  /*fetchResponse*/
5594
5594
  d[12]?.message || ""
@@ -5631,12 +5631,12 @@ function wo(e) {
5631
5631
  X(U), X(y.$$.fragment, d), X(E), X(se.$$.fragment, d), X(ee), ne = !1;
5632
5632
  },
5633
5633
  d(d) {
5634
- d && A(t), Y && Y.d(), U && U.d(), Xe(y), fe[O].d(), Xe(se), pe[Q].d(), p && p.d(), x.d(), e[42](null), nt = !1, xe(rt);
5634
+ d && A(t), Y && Y.d(), U && U.d(), Xe(y), fe[O].d(), Xe(se), pe[Q].d(), p && p.d(), _.d(), e[42](null), nt = !1, we(rt);
5635
5635
  }
5636
5636
  };
5637
5637
  }
5638
5638
  function Ao(e, t, n) {
5639
- let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: c = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: b = "true" } = t, y = null, N = null, P = 0, O = 0, E = 0, j = null, k = null, K = null, de = "", ae = !0, W = !1, ue = !1, me = !1, se = !1, ce = [], we = [], Q = [], ee = [], he;
5639
+ let { session: r = "" } = t, { userid: i = "" } = t, { endpoint: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { playercurrency: h = "" } = t, { showvaults: f = "true" } = t, { showtotalbalance: c = "true" } = t, { showclosebutton: g = "true" } = t, { showcurrencysymbol: b = "true" } = t, y = null, N = null, P = 0, O = 0, E = 0, j = null, k = null, K = null, de = "", ae = !0, W = !1, ue = !1, me = !1, se = !1, ce = [], xe = [], Q = [], ee = [], he;
5640
5640
  za({ withLocale: "en", translations: {} }), Object.keys(Kn).forEach((p) => {
5641
5641
  qn(p, Kn[p]);
5642
5642
  });
@@ -5644,8 +5644,8 @@ function Ao(e, t, n) {
5644
5644
  Za(o);
5645
5645
  }, Ae = () => {
5646
5646
  fetch(u).then((p) => p.json()).then((p) => {
5647
- Object.keys(p).forEach((_) => {
5648
- qn(_, p[_]);
5647
+ Object.keys(p).forEach((w) => {
5648
+ qn(w, p[w]);
5649
5649
  });
5650
5650
  }).catch((p) => {
5651
5651
  console.error("There was a problem with the translations request.", p);
@@ -5654,9 +5654,9 @@ function Ao(e, t, n) {
5654
5654
  let p = document.createElement("style");
5655
5655
  p.innerHTML = l, he.appendChild(p);
5656
5656
  }, dt = () => {
5657
- let p, _ = new URL(s), L = document.createElement("style");
5658
- fetch(_.href).then((x) => x.text()).then((x) => {
5659
- L.innerHTML = x, p && clearTimeout(p), p = setTimeout(
5657
+ let p, w = new URL(s), L = document.createElement("style");
5658
+ fetch(w.href).then((_) => _.text()).then((_) => {
5659
+ L.innerHTML = _, p && clearTimeout(p), p = setTimeout(
5660
5660
  () => {
5661
5661
  he.appendChild(L);
5662
5662
  },
@@ -5664,7 +5664,7 @@ function Ao(e, t, n) {
5664
5664
  );
5665
5665
  });
5666
5666
  }, Me = () => {
5667
- we.length !== 0 && (n(15, W = !W), window.postMessage(
5667
+ xe.length !== 0 && (n(15, W = !W), window.postMessage(
5668
5668
  {
5669
5669
  type: Jt.VaultDropdownToggled,
5670
5670
  state: W
@@ -5692,14 +5692,14 @@ function Ao(e, t, n) {
5692
5692
  n(12, K = null);
5693
5693
  }, te = (p) => {
5694
5694
  p && n(13, de = p);
5695
- }, Te = ({ type: p, message: _, source: L = "" }) => {
5696
- let x;
5697
- switch (n(12, K = { message: _, source: L, type: p }), p) {
5695
+ }, Te = ({ type: p, message: w, source: L = "" }) => {
5696
+ let _;
5697
+ switch (n(12, K = { message: w, source: L, type: p }), p) {
5698
5698
  case Se.error:
5699
- n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: _ } }, window.location.href);
5699
+ n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: w } }, window.location.href);
5700
5700
  break;
5701
5701
  case Se.success:
5702
- n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: _ } }, window.location.href), x && clearTimeout(x), x = setTimeout(
5702
+ n(14, ae = !0), window.postMessage({ type: L, data: { type: p, message: w } }, window.location.href), _ && clearTimeout(_), _ = setTimeout(
5703
5703
  () => {
5704
5704
  Fe();
5705
5705
  },
@@ -5707,17 +5707,17 @@ function Ao(e, t, n) {
5707
5707
  );
5708
5708
  break;
5709
5709
  }
5710
- }, mt = () => new Promise((p, _) => {
5710
+ }, mt = () => new Promise((p, w) => {
5711
5711
  const L = K?.message.includes(Qa.InvalidSession);
5712
- L && _(), isNaN(Number(P)) && (ye(), Ce(), _(R("invalidValue"))), P > y?.amount && (ye(), Ce(), _(R("exceededValue"))), P === null && !L && (ye(), Ce(), _()), P === 0 && P === 0 && !L && (oe(), _()), (!y || !N) && !L && _(), ve(), p();
5713
- }), Ee = async (p, _) => {
5712
+ L && w(), isNaN(Number(P)) && (ye(), Ce(), w(R("invalidValue"))), P > y?.amount && (ye(), Ce(), w(R("exceededValue"))), P === null && !L && (ye(), Ce(), w()), P === 0 && P === 0 && !L && (oe(), w()), (!y || !N) && !L && w(), ve(), p();
5713
+ }), Ee = async (p, w) => {
5714
5714
  const L = await p.json();
5715
- return p?.status >= 200 && p?.status < 400 ? L : (_ === Z.CheckWalletExchangeError && ye(), !ue && _ === Z.BalanceError && (n(16, ue = !0), n(17, me = !0)), !me && _ === Z.CurrenciesError && n(17, me = !0), Te({
5715
+ return p?.status >= 200 && p?.status < 400 ? L : (w === Z.CheckWalletExchangeError && ye(), !ue && w === Z.BalanceError && (n(16, ue = !0), n(17, me = !0)), !me && w === Z.CurrenciesError && n(17, me = !0), Te({
5716
5716
  type: Se.error,
5717
5717
  message: R(L?.thirdPartyResponse?.code) || R(L?.thirdPartyResponse?.errorCode) || "generalError",
5718
- source: _
5718
+ source: w
5719
5719
  }));
5720
- }, ne = () => new Promise((p, _) => {
5720
+ }, ne = () => new Promise((p, w) => {
5721
5721
  const L = new URL(`${a}/v1/player/${i}/wallet-exchange/currencies`);
5722
5722
  fetch(L, {
5723
5723
  method: "GET",
@@ -5733,16 +5733,16 @@ function Ao(e, t, n) {
5733
5733
  type: Se.error,
5734
5734
  message: R("generalError"),
5735
5735
  source: Z.CurrenciesError
5736
- }), _();
5736
+ }), w();
5737
5737
  }).finally(() => {
5738
5738
  n(17, me = !0);
5739
5739
  });
5740
- }), nt = ({ data: p, shouldUpdateSelectedCurrencies: _, allowed: L = [] }) => {
5741
- const { items: x = [], totalAmount: d = {}, totalRealAmount: C } = p || {};
5740
+ }), nt = ({ data: p, shouldUpdateSelectedCurrencies: w, allowed: L = [] }) => {
5741
+ const { items: _ = [], totalAmount: d = {}, totalRealAmount: C } = p || {};
5742
5742
  n(10, j = Object.entries(C || d).map(([M = "", _e = 0]) => ({ currency: M, amount: _e }))[0]);
5743
5743
  let Ne = null;
5744
5744
  const at = new Map(L.map((M) => [M.code, M]));
5745
- for (const M of x)
5745
+ for (const M of _)
5746
5746
  if (M?.type === Yn.Real) {
5747
5747
  const _e = at.get(M?.currency);
5748
5748
  if (_e && _e.code === M?.currency) {
@@ -5751,28 +5751,28 @@ function Ao(e, t, n) {
5751
5751
  ..._e,
5752
5752
  symbol: qa[M?.currency]?.[0]
5753
5753
  };
5754
- n(37, ce = [...ce, ot]), M?.currency === j?.currency && n(10, j = { ...j, ...ot }), M?.currency !== j?.currency && M?.walletAccountType === Yn.Vault && n(19, we = [...we, ot]), _ && M?.amount > 0 && n(5, y = j?.currency ? j : Ne), y && y?.currency === M?.currency && n(5, y = ot), N && N?.currency === M?.currency && n(6, N = ot);
5754
+ n(37, ce = [...ce, ot]), M?.currency === j?.currency && n(10, j = { ...j, ...ot }), M?.currency !== j?.currency && M?.walletAccountType === Yn.Vault && n(19, xe = [...xe, ot]), w && M?.amount > 0 && n(5, y = j?.currency ? j : Ne), y && y?.currency === M?.currency && n(5, y = ot), N && N?.currency === M?.currency && n(6, N = ot);
5755
5755
  }
5756
5756
  }
5757
5757
  }, rt = (p = !0) => {
5758
- const _ = new URL(`${a}/v2/player/${i}/balance`);
5759
- fetch(_, {
5758
+ const w = new URL(`${a}/v2/player/${i}/balance`);
5759
+ fetch(w, {
5760
5760
  method: "GET",
5761
5761
  headers: {
5762
5762
  "X-SessionId": r,
5763
5763
  "Content-Type": "application/json",
5764
5764
  Accept: "application/json"
5765
5765
  }
5766
- }).then((x) => Ee(x, Z.BalanceError)).then((x) => {
5767
- x && ne().then((d) => {
5768
- n(37, ce = []), n(19, we = []), nt({
5769
- data: x,
5766
+ }).then((_) => Ee(_, Z.BalanceError)).then((_) => {
5767
+ _ && (ne().then((d) => {
5768
+ n(37, ce = []), n(19, xe = []), nt({
5769
+ data: _,
5770
5770
  shouldUpdateSelectedCurrencies: p,
5771
5771
  allowed: d
5772
5772
  });
5773
- });
5774
- }).catch((x) => {
5775
- n(16, ue = !0), console.error("There was an error with the player balance request.", x), Te({
5773
+ }), window.postMessage({ type: "playerBalanceInfo", balance: _ }, window.location.href));
5774
+ }).catch((_) => {
5775
+ n(16, ue = !0), console.error("There was an error with the player balance request.", _), Te({
5776
5776
  type: Se.error,
5777
5777
  message: R("generalError"),
5778
5778
  source: Z.BalanceError
@@ -5782,7 +5782,7 @@ function Ao(e, t, n) {
5782
5782
  });
5783
5783
  }, U = Ja(() => {
5784
5784
  mt().then(() => {
5785
- const p = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), _ = {
5785
+ const p = new URL(`${a}/v2/player/${i}/check/wallet-exchange`), w = {
5786
5786
  userId: i,
5787
5787
  amount: P,
5788
5788
  currency: y?.currency,
@@ -5796,38 +5796,38 @@ function Ao(e, t, n) {
5796
5796
  "Content-Type": "application/json",
5797
5797
  Accept: "application/json"
5798
5798
  },
5799
- body: er(_)
5799
+ body: er(w)
5800
5800
  };
5801
- fetch(p, L).then((x) => Ee(x, Z.CheckWalletExchangeError)).then((x) => {
5802
- if (x) {
5803
- if (K?.source === Z.CheckWalletExchangeError && Fe(), Array.isArray(x?.fees?.fees) && n(11, k = x.fees), Array.isArray(x?.walletActions)) {
5804
- const d = x.walletActions.find((C) => C?.directionName === Ya.Credit)?.amount || 0;
5801
+ fetch(p, L).then((_) => Ee(_, Z.CheckWalletExchangeError)).then((_) => {
5802
+ if (_) {
5803
+ if (K?.source === Z.CheckWalletExchangeError && Fe(), Array.isArray(_?.fees?.fees) && n(11, k = _.fees), Array.isArray(_?.walletActions)) {
5804
+ const d = _.walletActions.find((C) => C?.directionName === Ya.Credit)?.amount || 0;
5805
5805
  n(9, E = new ii(d)?.getValue());
5806
5806
  }
5807
5807
  P > 0 && E > 0 && y?.currency && N?.currency && h && n(14, ae = !1);
5808
5808
  }
5809
- }).catch((x) => {
5809
+ }).catch((_) => {
5810
5810
  Te({
5811
5811
  type: Se.error,
5812
5812
  message: R("generalError"),
5813
5813
  source: Z.CheckWalletExchangeError
5814
- }), console.error("There was a problem with the wallet exchange request.", x);
5814
+ }), console.error("There was a problem with the wallet exchange request.", _);
5815
5815
  });
5816
5816
  }).catch((p) => {
5817
5817
  te(p);
5818
5818
  });
5819
5819
  }, 500), Gt = (p) => {
5820
- const _ = p.target.value, [L, x] = _.split(".");
5821
- !x && _.length >= en && n(8, P = _.slice(0, en)), x && y?.type === Jn.Fiat && (x.length <= y?.precision ? (n(8, P = _), O = _) : n(8, P = O)), x && y?.type === Jn.CryptoCurrency && (_.length <= en ? (n(8, P = _), O = _) : n(8, P = O)), U();
5820
+ const w = p.target.value, [L, _] = w.split(".");
5821
+ !_ && w.length >= en && n(8, P = w.slice(0, en)), _ && y?.type === Jn.Fiat && (_.length <= y?.precision ? (n(8, P = w), O = w) : n(8, P = O)), _ && y?.type === Jn.CryptoCurrency && (w.length <= en ? (n(8, P = w), O = w) : n(8, P = O)), U();
5822
5822
  }, yt = (p) => {
5823
- const _ = p.data;
5824
- [">", "<", ","].includes(_) && p.preventDefault(), _ && !_.match(/[\d.]/) && p.preventDefault(), _ === "." && p.target.value.includes(".") && p.preventDefault();
5823
+ const w = p.data;
5824
+ [">", "<", ","].includes(w) && p.preventDefault(), w && !w.match(/[\d.]/) && p.preventDefault(), w === "." && p.target.value.includes(".") && p.preventDefault();
5825
5825
  }, bt = () => {
5826
5826
  P === 0 && n(8, P = null);
5827
5827
  }, fe = () => {
5828
5828
  const p = new URL(`${a}/v2/player/${i}/wallet-exchange`);
5829
5829
  n(18, se = !0);
5830
- const _ = {
5830
+ const w = {
5831
5831
  feeDetails: k,
5832
5832
  userId: i,
5833
5833
  amount: P,
@@ -5842,26 +5842,26 @@ function Ao(e, t, n) {
5842
5842
  "Content-Type": "application/json",
5843
5843
  Accept: "application/json"
5844
5844
  },
5845
- body: er(_)
5845
+ body: er(w)
5846
5846
  };
5847
- fetch(p, L).then((x) => Ee(x, Z.WalletExchangeError)).then((x) => {
5848
- x && (Te({
5847
+ fetch(p, L).then((_) => Ee(_, Z.WalletExchangeError)).then((_) => {
5848
+ _ && (Te({
5849
5849
  type: Se.success,
5850
5850
  message: R("exchangeSuccess"),
5851
5851
  source: "ExchangeSuccess"
5852
5852
  }), rt(!1));
5853
- }).catch((x) => {
5853
+ }).catch((_) => {
5854
5854
  Te({
5855
5855
  type: Se.error,
5856
5856
  message: R("generalError"),
5857
5857
  source: Z.WalletExchangeError
5858
- }), console.error("There was an error with the wallet exchange request.", x);
5858
+ }), console.error("There was an error with the wallet exchange request.", _);
5859
5859
  }).finally(() => {
5860
5860
  n(18, se = !1), be(), Ce();
5861
5861
  });
5862
5862
  }, it = (p) => {
5863
- const { data: { type: _ } = {} } = p || {};
5864
- switch (_) {
5863
+ const { data: { type: w } = {} } = p || {};
5864
+ switch (w) {
5865
5865
  case Qn.ResetVaultWidget:
5866
5866
  oe();
5867
5867
  break;
@@ -5926,7 +5926,7 @@ function Ao(e, t, n) {
5926
5926
  ue,
5927
5927
  me,
5928
5928
  se,
5929
- we,
5929
+ xe,
5930
5930
  Q,
5931
5931
  ee,
5932
5932
  Me,
@@ -5952,13 +5952,13 @@ function Ao(e, t, n) {
5952
5952
  _t
5953
5953
  ];
5954
5954
  }
5955
- class Co extends wn {
5955
+ class Co extends xn {
5956
5956
  constructor(t) {
5957
5957
  super(), _n(
5958
5958
  this,
5959
5959
  t,
5960
5960
  Ao,
5961
- wo,
5961
+ xo,
5962
5962
  Rt,
5963
5963
  {
5964
5964
  session: 0,
@@ -6051,7 +6051,7 @@ class Co extends wn {
6051
6051
  this.$$set({ showcurrencysymbol: t }), G();
6052
6052
  }
6053
6053
  }
6054
- xn(Co, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6054
+ wn(Co, { session: {}, userid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, showvaults: {}, showtotalbalance: {}, showclosebutton: {}, showcurrencysymbol: {} }, [], [], !0);
6055
6055
  export {
6056
6056
  Co as P
6057
6057
  };