@everymatrix/casino-header-controller-nd 1.63.3 → 1.64.1

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.
Files changed (43) hide show
  1. package/components/{CasinoHamburgerMenuNd-C4zQY1Rz.js → CasinoHamburgerMenuNd-BxWLDWZ5.js} +49 -49
  2. package/components/{CasinoHamburgerMenuNd-DnRgxoEm.js → CasinoHamburgerMenuNd-CeWCMWYl.js} +44 -44
  3. package/components/{CasinoHamburgerMenuNd-C2U2lDM0.cjs → CasinoHamburgerMenuNd-O-PRlnMz.cjs} +1 -1
  4. package/components/CasinoHeaderControllerNd-CTyMPgc8.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-D9_tF2bZ.js → CasinoHeaderControllerNd-D6NhFxiN.js} +264 -264
  6. package/components/{CasinoHeaderControllerNd-DIGHkFBp.js → CasinoHeaderControllerNd-aUO-S_lK.js} +236 -236
  7. package/components/{PlayerAccountBalanceModalNd-C5oBU2Bt.js → PlayerAccountBalanceModalNd-DbcCF918.js} +324 -324
  8. package/components/PlayerAccountBalanceModalNd-HF9Pz73L.cjs +13 -0
  9. package/components/{PlayerAccountBalanceModalNd-L1Wi3gul.js → PlayerAccountBalanceModalNd-rfc81TO2.js} +295 -295
  10. package/components/{PlayerDeposit-BM41EGHl.js → PlayerDeposit-BuNxS4QP.js} +22 -22
  11. package/components/PlayerDeposit-D44C3eN3.cjs +1 -0
  12. package/components/{PlayerDeposit-B_HRtE2U.js → PlayerDeposit-DM587AOh.js} +22 -22
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{gamification-dropdown-8eb8a896-B5TUPoPs.js → gamification-dropdown-8eb8a896-B80HjrXs.js} +1 -1
  18. package/stencil/{gamification-dropdown-8eb8a896-CNDebAQo.js → gamification-dropdown-8eb8a896-Dpy7kYRl.js} +1 -1
  19. package/stencil/{gamification-dropdown-8eb8a896-B8CcqKs3.cjs → gamification-dropdown-8eb8a896-wUq7QkNM.cjs} +1 -1
  20. package/stencil/{gamification-dropdown-DXlyb6GA.js → gamification-dropdown-DJjY7-I6.js} +1 -1
  21. package/stencil/{gamification-dropdown-Bg0tW7ha.cjs → gamification-dropdown-DkDy6E4e.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-7bHznlgt.js → gamification-dropdown-N2ywJkem.js} +1 -1
  23. package/stencil/{gamification-dropdown_4-Blt8-SSN.cjs → gamification-dropdown_4-B2a2BjCo.cjs} +2 -2
  24. package/stencil/{gamification-dropdown_4-C304wJye.js → gamification-dropdown_4-CcWOoutw.js} +4 -4
  25. package/stencil/{gamification-dropdown_4-BskNa0nU.js → gamification-dropdown_4-CmDM3hBS.js} +4 -4
  26. package/stencil/{index-71b1bdfa-BcIWqICi.js → index-71b1bdfa-BWeAgaw2.js} +4 -4
  27. package/stencil/{index-71b1bdfa-DJwBo2rv.cjs → index-71b1bdfa-BeszNvNP.cjs} +1 -1
  28. package/stencil/{index-71b1bdfa-BNR9dJmZ.js → index-71b1bdfa-DBUT8z-D.js} +4 -4
  29. package/stencil/{player-elevate-card-D_EV-YVW.js → player-elevate-card-B70rn287.js} +2 -2
  30. package/stencil/{player-elevate-card-WtXwQ6BK.js → player-elevate-card-DqZR4w--.js} +2 -2
  31. package/stencil/{player-elevate-card-Da18eACv.cjs → player-elevate-card-W6LcGGe8.cjs} +1 -1
  32. package/stencil/{player-elevate-card-items-66be34fb-C8y5xd3m.js → player-elevate-card-items-66be34fb-D7zHppoa.js} +1 -1
  33. package/stencil/{player-elevate-card-items-66be34fb-DARKYMdQ.cjs → player-elevate-card-items-66be34fb-DBIZuvGZ.cjs} +1 -1
  34. package/stencil/{player-elevate-card-items-66be34fb-Bl4Mdtm2.js → player-elevate-card-items-66be34fb-aPLlnN0e.js} +1 -1
  35. package/stencil/{player-elevate-pointcard-DEGlZBo6.js → player-elevate-pointcard-CBapQeNI.js} +2 -2
  36. package/stencil/{player-elevate-pointcard-DGdQLOFe.js → player-elevate-pointcard-DREgIjCm.js} +2 -2
  37. package/stencil/{player-elevate-pointcard-Akuofz_v.cjs → player-elevate-pointcard-DwDhlXwq.cjs} +1 -1
  38. package/stencil/{player-rakeback-card-CNHOtnA1.cjs → player-rakeback-card-B0P7gHIA.cjs} +1 -1
  39. package/stencil/{player-rakeback-card-CMKK-24q.js → player-rakeback-card-tP823Fs8.js} +1 -1
  40. package/stencil/{player-rakeback-card-CHzbUYFI.js → player-rakeback-card-z_ugBu0q.js} +1 -1
  41. package/components/CasinoHeaderControllerNd-BkrJSdpA.cjs +0 -1
  42. package/components/PlayerAccountBalanceModalNd-DfYDbSNy.cjs +0 -13
  43. package/components/PlayerDeposit-ClC_cCaC.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { b as dt, $ as ut, N as ft, S as pt, i as ht, s as mt, f as W, d as gt, z as qe, g as pe, m as he, n as B, p as H, q as oe, r as _, v as yt, w as vt, o as Ve, A as wt, D as ue, E as fe, F as Qe, y as bt, G as je, H as it, C as Bt, K as Tt, L as St, M as Ct, c as _t, J as At } from "./CasinoHamburgerMenuNd-C4zQY1Rz.js";
1
+ import { b as ut, $ as dt, N as ft, S as pt, i as ht, s as gt, f as W, d as mt, z as qe, g as pe, m as he, n as B, p as j, q as oe, r as C, v as yt, w as vt, o as Ve, A as wt, D as de, E as fe, F as Qe, y as bt, G as je, H as it, C as Bt, K as Tt, L as St, M as Ct, c as _t, J as At } from "./CasinoHamburgerMenuNd-BxWLDWZ5.js";
2
2
  function Ze(r, t) {
3
- dt(r, t);
3
+ ut(r, t);
4
4
  }
5
5
  function Rt(r) {
6
- ut.set(r);
6
+ dt.set(r);
7
7
  }
8
8
  const $e = {
9
9
  en: {
@@ -213,7 +213,7 @@ var We = { exports: {} };
213
213
  */
214
214
  (function(r, t) {
215
215
  (function(n) {
216
- var i = n.setTimeout, c = n.clearTimeout, l = n.XMLHttpRequest, m = n.XDomainRequest, p = n.ActiveXObject, g = n.EventSource, y = n.document, A = n.Promise, M = n.fetch, L = n.Response, O = n.TextDecoder, N = n.TextEncoder, E = n.AbortController;
216
+ var i = n.setTimeout, c = n.clearTimeout, l = n.XMLHttpRequest, g = n.XDomainRequest, p = n.ActiveXObject, m = n.EventSource, y = n.document, A = n.Promise, k = n.fetch, F = n.Response, I = n.TextDecoder, N = n.TextEncoder, E = n.AbortController;
217
217
  if (typeof window < "u" && typeof y < "u" && !("readyState" in y) && y.body == null && (y.readyState = "loading", window.addEventListener("load", function(e) {
218
218
  y.readyState = "complete";
219
219
  }, !1)), l == null && p != null && (l = function() {
@@ -225,8 +225,8 @@ var We = { exports: {} };
225
225
  }), Date.now || (Date.now = function() {
226
226
  return (/* @__PURE__ */ new Date()).getTime();
227
227
  }), E == null) {
228
- var w = M;
229
- M = function(e, o) {
228
+ var w = k;
229
+ k = function(e, o) {
230
230
  var s = o.signal;
231
231
  return w(e, { headers: o.headers, credentials: o.credentials, cache: o.cache }).then(function(a) {
232
232
  var f = a.body.getReader();
@@ -272,47 +272,47 @@ var We = { exports: {} };
272
272
  return 3;
273
273
  throw new Error();
274
274
  }
275
- for (var a = 65533, f = "", h = this.bitsNeeded, u = this.codePoint, C = 0; C < e.length; C += 1) {
276
- var b = e[C];
277
- h !== 0 && (b < 128 || b > 191 || !o(u << 6 | b & 63, h - 6, s(h, u))) && (h = 0, u = a, f += String.fromCharCode(u)), h === 0 ? (b >= 0 && b <= 127 ? (h = 0, u = b) : b >= 192 && b <= 223 ? (h = 6 * 1, u = b & 31) : b >= 224 && b <= 239 ? (h = 6 * 2, u = b & 15) : b >= 240 && b <= 247 ? (h = 6 * 3, u = b & 7) : (h = 0, u = a), h !== 0 && !o(u, h, s(h, u)) && (h = 0, u = a)) : (h -= 6, u = u << 6 | b & 63), h === 0 && (u <= 65535 ? f += String.fromCharCode(u) : (f += String.fromCharCode(55296 + (u - 65535 - 1 >> 10)), f += String.fromCharCode(56320 + (u - 65535 - 1 & 1023))));
275
+ for (var a = 65533, f = "", h = this.bitsNeeded, d = this.codePoint, S = 0; S < e.length; S += 1) {
276
+ var b = e[S];
277
+ h !== 0 && (b < 128 || b > 191 || !o(d << 6 | b & 63, h - 6, s(h, d))) && (h = 0, d = a, f += String.fromCharCode(d)), h === 0 ? (b >= 0 && b <= 127 ? (h = 0, d = b) : b >= 192 && b <= 223 ? (h = 6 * 1, d = b & 31) : b >= 224 && b <= 239 ? (h = 6 * 2, d = b & 15) : b >= 240 && b <= 247 ? (h = 6 * 3, d = b & 7) : (h = 0, d = a), h !== 0 && !o(d, h, s(h, d)) && (h = 0, d = a)) : (h -= 6, d = d << 6 | b & 63), h === 0 && (d <= 65535 ? f += String.fromCharCode(d) : (f += String.fromCharCode(55296 + (d - 65535 - 1 >> 10)), f += String.fromCharCode(56320 + (d - 65535 - 1 & 1023))));
278
278
  }
279
- return this.bitsNeeded = h, this.codePoint = u, f;
279
+ return this.bitsNeeded = h, this.codePoint = d, f;
280
280
  };
281
- var z = function() {
281
+ var H = function() {
282
282
  try {
283
- return new O().decode(new N().encode("test"), { stream: !0 }) === "test";
283
+ return new I().decode(new N().encode("test"), { stream: !0 }) === "test";
284
284
  } catch (e) {
285
285
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + e);
286
286
  }
287
287
  return !1;
288
288
  };
289
- (O == null || N == null || !z()) && (O = T);
290
- var k = function() {
289
+ (I == null || N == null || !H()) && (I = T);
290
+ var x = function() {
291
291
  };
292
- function V(e) {
293
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = k, this.onload = k, this.onerror = k, this.onreadystatechange = k, this._contentType = "", this._xhr = e, this._sendTimeout = 0, this._abort = k;
292
+ function z(e) {
293
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = x, this.onload = x, this.onerror = x, this.onreadystatechange = x, this._contentType = "", this._xhr = e, this._sendTimeout = 0, this._abort = x;
294
294
  }
295
- V.prototype.open = function(e, o) {
295
+ z.prototype.open = function(e, o) {
296
296
  this._abort(!0);
297
297
  var s = this, a = this._xhr, f = 1, h = 0;
298
298
  this._abort = function(v) {
299
- s._sendTimeout !== 0 && (c(s._sendTimeout), s._sendTimeout = 0), (f === 1 || f === 2 || f === 3) && (f = 4, a.onload = k, a.onerror = k, a.onabort = k, a.onprogress = k, a.onreadystatechange = k, a.abort(), h !== 0 && (c(h), h = 0), v || (s.readyState = 4, s.onabort(null), s.onreadystatechange())), f = 0;
299
+ s._sendTimeout !== 0 && (c(s._sendTimeout), s._sendTimeout = 0), (f === 1 || f === 2 || f === 3) && (f = 4, a.onload = x, a.onerror = x, a.onabort = x, a.onprogress = x, a.onreadystatechange = x, a.abort(), h !== 0 && (c(h), h = 0), v || (s.readyState = 4, s.onabort(null), s.onreadystatechange())), f = 0;
300
300
  };
301
- var u = function() {
301
+ var d = function() {
302
302
  if (f === 1) {
303
- var v = 0, I = "", se = void 0;
303
+ var v = 0, V = "", se = void 0;
304
304
  if ("contentType" in a)
305
- v = 200, I = "OK", se = a.contentType;
305
+ v = 200, V = "OK", se = a.contentType;
306
306
  else
307
307
  try {
308
- v = a.status, I = a.statusText, se = a.getResponseHeader("Content-Type");
308
+ v = a.status, V = a.statusText, se = a.getResponseHeader("Content-Type");
309
309
  } catch {
310
- v = 0, I = "", se = void 0;
310
+ v = 0, V = "", se = void 0;
311
311
  }
312
- v !== 0 && (f = 2, s.readyState = 2, s.status = v, s.statusText = I, s._contentType = se, s.onreadystatechange());
312
+ v !== 0 && (f = 2, s.readyState = 2, s.status = v, s.statusText = V, s._contentType = se, s.onreadystatechange());
313
313
  }
314
- }, C = function() {
315
- if (u(), f === 2 || f === 3) {
314
+ }, S = function() {
315
+ if (d(), f === 2 || f === 3) {
316
316
  f = 3;
317
317
  var v = "";
318
318
  try {
@@ -321,26 +321,26 @@ var We = { exports: {} };
321
321
  }
322
322
  s.readyState = 3, s.responseText = v, s.onprogress();
323
323
  }
324
- }, b = function(v, I) {
325
- if ((I == null || I.preventDefault == null) && (I = {
326
- preventDefault: k
327
- }), C(), f === 1 || f === 2 || f === 3) {
324
+ }, b = function(v, V) {
325
+ if ((V == null || V.preventDefault == null) && (V = {
326
+ preventDefault: x
327
+ }), S(), f === 1 || f === 2 || f === 3) {
328
328
  if (f = 4, h !== 0 && (c(h), h = 0), s.readyState = 4, v === "load")
329
- s.onload(I);
329
+ s.onload(V);
330
330
  else if (v === "error")
331
- s.onerror(I);
331
+ s.onerror(V);
332
332
  else if (v === "abort")
333
- s.onabort(I);
333
+ s.onabort(V);
334
334
  else
335
335
  throw new TypeError();
336
336
  s.onreadystatechange();
337
337
  }
338
338
  }, R = function(v) {
339
- a != null && (a.readyState === 4 ? (!("onload" in a) || !("onerror" in a) || !("onabort" in a)) && b(a.responseText === "" ? "error" : "load", v) : a.readyState === 3 ? "onprogress" in a || C() : a.readyState === 2 && u());
339
+ a != null && (a.readyState === 4 ? (!("onload" in a) || !("onerror" in a) || !("onabort" in a)) && b(a.responseText === "" ? "error" : "load", v) : a.readyState === 3 ? "onprogress" in a || S() : a.readyState === 2 && d());
340
340
  }, D = function() {
341
341
  h = i(function() {
342
342
  D();
343
- }, 500), a.readyState === 3 && C();
343
+ }, 500), a.readyState === 3 && S();
344
344
  };
345
345
  "onload" in a && (a.onload = function(v) {
346
346
  b("load", v);
@@ -348,21 +348,21 @@ var We = { exports: {} };
348
348
  b("error", v);
349
349
  }), "onabort" in a && (a.onabort = function(v) {
350
350
  b("abort", v);
351
- }), "onprogress" in a && (a.onprogress = C), "onreadystatechange" in a && (a.onreadystatechange = function(v) {
351
+ }), "onprogress" in a && (a.onprogress = S), "onreadystatechange" in a && (a.onreadystatechange = function(v) {
352
352
  R(v);
353
353
  }), ("contentType" in a || !("ontimeout" in l.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), a.open(e, o, !0), "readyState" in a && (h = i(function() {
354
354
  D();
355
355
  }, 0));
356
- }, V.prototype.abort = function() {
356
+ }, z.prototype.abort = function() {
357
357
  this._abort(!1);
358
- }, V.prototype.getResponseHeader = function(e) {
358
+ }, z.prototype.getResponseHeader = function(e) {
359
359
  return this._contentType;
360
- }, V.prototype.setRequestHeader = function(e, o) {
360
+ }, z.prototype.setRequestHeader = function(e, o) {
361
361
  var s = this._xhr;
362
362
  "setRequestHeader" in s && s.setRequestHeader(e, o);
363
- }, V.prototype.getAllResponseHeaders = function() {
363
+ }, z.prototype.getAllResponseHeaders = function() {
364
364
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
365
- }, V.prototype.send = function() {
365
+ }, z.prototype.send = function() {
366
366
  if ((!("ontimeout" in l.prototype) || !("sendAsBinary" in l.prototype) && !("mozAnon" in l.prototype)) && y != null && y.readyState != null && y.readyState !== "complete") {
367
367
  var e = this;
368
368
  e._sendTimeout = i(function() {
@@ -386,8 +386,8 @@ var We = { exports: {} };
386
386
  function ee(e) {
387
387
  for (var o = /* @__PURE__ */ Object.create(null), s = e.split(`\r
388
388
  `), a = 0; a < s.length; a += 1) {
389
- var f = s[a], h = f.split(": "), u = h.shift(), C = h.join(": ");
390
- o[re(u)] = C;
389
+ var f = s[a], h = f.split(": "), d = h.shift(), S = h.join(": ");
390
+ o[re(d)] = S;
391
391
  }
392
392
  this._map = o;
393
393
  }
@@ -396,12 +396,12 @@ var We = { exports: {} };
396
396
  }, l != null && l.HEADERS_RECEIVED == null && (l.HEADERS_RECEIVED = 2);
397
397
  function Y() {
398
398
  }
399
- Y.prototype.open = function(e, o, s, a, f, h, u) {
399
+ Y.prototype.open = function(e, o, s, a, f, h, d) {
400
400
  e.open("GET", f);
401
- var C = 0;
401
+ var S = 0;
402
402
  e.onprogress = function() {
403
- var R = e.responseText, D = R.slice(C);
404
- C += D.length, s(D);
403
+ var R = e.responseText, D = R.slice(S);
404
+ S += D.length, s(D);
405
405
  }, e.onerror = function(R) {
406
406
  R.preventDefault(), a(new Error("NetworkError"));
407
407
  }, e.onload = function() {
@@ -410,44 +410,44 @@ var We = { exports: {} };
410
410
  a(null);
411
411
  }, e.onreadystatechange = function() {
412
412
  if (e.readyState === l.HEADERS_RECEIVED) {
413
- var R = e.status, D = e.statusText, v = e.getResponseHeader("Content-Type"), I = e.getAllResponseHeaders();
414
- o(R, D, v, new ee(I));
413
+ var R = e.status, D = e.statusText, v = e.getResponseHeader("Content-Type"), V = e.getAllResponseHeaders();
414
+ o(R, D, v, new ee(V));
415
415
  }
416
416
  }, e.withCredentials = h;
417
- for (var b in u)
418
- Object.prototype.hasOwnProperty.call(u, b) && e.setRequestHeader(b, u[b]);
417
+ for (var b in d)
418
+ Object.prototype.hasOwnProperty.call(d, b) && e.setRequestHeader(b, d[b]);
419
419
  return e.send(), e;
420
420
  };
421
- function F(e) {
421
+ function L(e) {
422
422
  this._headers = e;
423
423
  }
424
- F.prototype.get = function(e) {
424
+ L.prototype.get = function(e) {
425
425
  return this._headers.get(e);
426
426
  };
427
- function S() {
427
+ function _() {
428
428
  }
429
- S.prototype.open = function(e, o, s, a, f, h, u) {
430
- var C = null, b = new E(), R = b.signal, D = new O();
431
- return M(f, {
432
- headers: u,
429
+ _.prototype.open = function(e, o, s, a, f, h, d) {
430
+ var S = null, b = new E(), R = b.signal, D = new I();
431
+ return k(f, {
432
+ headers: d,
433
433
  credentials: h ? "include" : "same-origin",
434
434
  signal: R,
435
435
  cache: "no-store"
436
436
  }).then(function(v) {
437
- return C = v.body.getReader(), o(v.status, v.statusText, v.headers.get("Content-Type"), new F(v.headers)), new A(function(I, se) {
438
- var De = function() {
439
- C.read().then(function(Q) {
437
+ return S = v.body.getReader(), o(v.status, v.statusText, v.headers.get("Content-Type"), new L(v.headers)), new A(function(V, se) {
438
+ var Me = function() {
439
+ S.read().then(function(Q) {
440
440
  if (Q.done)
441
- I(void 0);
441
+ V(void 0);
442
442
  else {
443
443
  var X = D.decode(Q.value, { stream: !0 });
444
- s(X), De();
444
+ s(X), Me();
445
445
  }
446
446
  }).catch(function(Q) {
447
447
  se(Q);
448
448
  });
449
449
  };
450
- De();
450
+ Me();
451
451
  });
452
452
  }).catch(function(v) {
453
453
  if (v.name !== "AbortError")
@@ -456,19 +456,19 @@ var We = { exports: {} };
456
456
  a(v);
457
457
  }), {
458
458
  abort: function() {
459
- C?.cancel(), b.abort();
459
+ S?.cancel(), b.abort();
460
460
  }
461
461
  };
462
462
  };
463
- function j() {
463
+ function O() {
464
464
  this._listeners = /* @__PURE__ */ Object.create(null);
465
465
  }
466
- function x(e) {
466
+ function M(e) {
467
467
  i(function() {
468
468
  throw e;
469
469
  }, 0);
470
470
  }
471
- j.prototype.dispatchEvent = function(e) {
471
+ O.prototype.dispatchEvent = function(e) {
472
472
  e.target = this;
473
473
  var o = this._listeners[e.type];
474
474
  if (o != null)
@@ -477,17 +477,17 @@ var We = { exports: {} };
477
477
  try {
478
478
  typeof f.handleEvent == "function" ? f.handleEvent(e) : f.call(this, e);
479
479
  } catch (h) {
480
- x(h);
480
+ M(h);
481
481
  }
482
482
  }
483
- }, j.prototype.addEventListener = function(e, o) {
483
+ }, O.prototype.addEventListener = function(e, o) {
484
484
  e = String(e);
485
485
  var s = this._listeners, a = s[e];
486
486
  a == null && (a = [], s[e] = a);
487
487
  for (var f = !1, h = 0; h < a.length; h += 1)
488
488
  a[h] === o && (f = !0);
489
489
  f || a.push(o);
490
- }, j.prototype.removeEventListener = function(e, o) {
490
+ }, O.prototype.removeEventListener = function(e, o) {
491
491
  e = String(e);
492
492
  var s = this._listeners, a = s[e];
493
493
  if (a != null) {
@@ -496,21 +496,21 @@ var We = { exports: {} };
496
496
  f.length === 0 ? delete s[e] : s[e] = f;
497
497
  }
498
498
  };
499
- function d(e) {
499
+ function u(e) {
500
500
  this.type = e, this.target = void 0;
501
501
  }
502
- function me(e, o) {
503
- d.call(this, e), this.data = o.data, this.lastEventId = o.lastEventId;
502
+ function ge(e, o) {
503
+ u.call(this, e), this.data = o.data, this.lastEventId = o.lastEventId;
504
504
  }
505
- me.prototype = Object.create(d.prototype);
505
+ ge.prototype = Object.create(u.prototype);
506
506
  function Re(e, o) {
507
- d.call(this, e), this.status = o.status, this.statusText = o.statusText, this.headers = o.headers;
507
+ u.call(this, e), this.status = o.status, this.statusText = o.statusText, this.headers = o.headers;
508
508
  }
509
- Re.prototype = Object.create(d.prototype);
510
- function ge(e, o) {
511
- d.call(this, e), this.error = o.error;
509
+ Re.prototype = Object.create(u.prototype);
510
+ function me(e, o) {
511
+ u.call(this, e), this.error = o.error;
512
512
  }
513
- ge.prototype = Object.create(d.prototype);
513
+ me.prototype = Object.create(u.prototype);
514
514
  var Te = -1, ie = 0, ye = 1, we = 2, be = -1, te = 0, Ee = 1, Se = 2, Le = 3, He = /^text\/event\-stream(;.*)?$/i, Oe = 1e3, ze = 18e6, xe = function(e, o) {
515
515
  var s = e == null ? o : parseInt(e, 10);
516
516
  return s !== s && (s = o), Ce(s);
@@ -520,19 +520,19 @@ var We = { exports: {} };
520
520
  try {
521
521
  typeof o == "function" && o.call(e, s);
522
522
  } catch (a) {
523
- x(a);
523
+ M(a);
524
524
  }
525
525
  };
526
526
  function J(e, o) {
527
- j.call(this), o = o || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ge(this, e, o);
527
+ O.call(this), o = o || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ge(this, e, o);
528
528
  }
529
529
  function Ue() {
530
- return l != null && "withCredentials" in l.prototype || m == null ? new l() : new m();
530
+ return l != null && "withCredentials" in l.prototype || g == null ? new l() : new g();
531
531
  }
532
- var Pe = M != null && L != null && "body" in L.prototype;
532
+ var Pe = k != null && F != null && "body" in F.prototype;
533
533
  function Ge(e, o, s) {
534
534
  o = String(o);
535
- var a = !!s.withCredentials, f = s.lastEventIdQueryParameterName || "lastEventId", h = Ce(1e3), u = xe(s.heartbeatTimeout, 45e3), C = "", b = h, R = !1, D = 0, v = s.headers || {}, I = s.Transport, se = Pe && I == null ? void 0 : new V(I != null ? new I() : Ue()), De = I != null && typeof I != "string" ? new I() : se == null ? new S() : new Y(), Q = void 0, X = 0, ne = Te, _e = "", Fe = "", le = "", Ne = "", K = te, Xe = 0, Be = 0, lt = function(P, U, Z, $) {
535
+ var a = !!s.withCredentials, f = s.lastEventIdQueryParameterName || "lastEventId", h = Ce(1e3), d = xe(s.heartbeatTimeout, 45e3), S = "", b = h, R = !1, D = 0, v = s.headers || {}, V = s.Transport, se = Pe && V == null ? void 0 : new z(V != null ? new V() : Ue()), Me = V != null && typeof V != "string" ? new V() : se == null ? new _() : new Y(), Q = void 0, X = 0, ne = Te, _e = "", Fe = "", le = "", Ie = "", K = te, Xe = 0, Be = 0, lt = function(P, U, Z, $) {
536
536
  if (ne === ie)
537
537
  if (P === 200 && Z != null && He.test(Z)) {
538
538
  ne = ye, R = Date.now(), b = h, e.readyState = ye;
@@ -558,8 +558,8 @@ var We = { exports: {} };
558
558
  var $ = P.charCodeAt(Z);
559
559
  ($ === 10 || $ === 13) && (U = Z);
560
560
  }
561
- var q = (U !== -1 ? Ne : "") + P.slice(0, U + 1);
562
- Ne = (U === -1 ? Ne : "") + P.slice(U + 1), P !== "" && (R = Date.now(), D += P.length);
561
+ var q = (U !== -1 ? Ie : "") + P.slice(0, U + 1);
562
+ Ie = (U === -1 ? Ie : "") + P.slice(U + 1), P !== "" && (R = Date.now(), D += P.length);
563
563
  for (var G = 0; G < q.length; G += 1) {
564
564
  var $ = q.charCodeAt(G);
565
565
  if (K === be && $ === 10)
@@ -567,16 +567,16 @@ var We = { exports: {} };
567
567
  else if (K === be && (K = te), $ === 13 || $ === 10) {
568
568
  if (K !== te) {
569
569
  K === Ee && (Be = G + 1);
570
- var ce = q.slice(Xe, Be - 1), de = q.slice(Be + (Be < G && q.charCodeAt(Be) === 32 ? 1 : 0), G);
570
+ var ce = q.slice(Xe, Be - 1), ue = q.slice(Be + (Be < G && q.charCodeAt(Be) === 32 ? 1 : 0), G);
571
571
  ce === "data" ? (_e += `
572
- `, _e += de) : ce === "id" ? Fe = de : ce === "event" ? le = de : ce === "retry" ? (h = xe(de, h), b = h) : ce === "heartbeatTimeout" && (u = xe(de, u), X !== 0 && (c(X), X = i(function() {
573
- Me();
574
- }, u)));
572
+ `, _e += ue) : ce === "id" ? Fe = ue : ce === "event" ? le = ue : ce === "retry" ? (h = xe(ue, h), b = h) : ce === "heartbeatTimeout" && (d = xe(ue, d), X !== 0 && (c(X), X = i(function() {
573
+ De();
574
+ }, d)));
575
575
  }
576
576
  if (K === te) {
577
577
  if (_e !== "") {
578
- C = Fe, le === "" && (le = "message");
579
- var Ae = new me(le, {
578
+ S = Fe, le === "" && (le = "message");
579
+ var Ae = new ge(le, {
580
580
  data: _e.slice(1),
581
581
  lastEventId: Fe
582
582
  });
@@ -593,34 +593,34 @@ var We = { exports: {} };
593
593
  }, Je = function(P) {
594
594
  if (ne === ye || ne === ie) {
595
595
  ne = Te, X !== 0 && (c(X), X = 0), X = i(function() {
596
- Me();
596
+ De();
597
597
  }, b), b = Ce(Math.min(h * 16, b * 2)), e.readyState = ie;
598
- var U = new ge("error", { error: P });
598
+ var U = new me("error", { error: P });
599
599
  e.dispatchEvent(U), ve(e, e.onerror, U), P != null && console.error(P);
600
600
  }
601
601
  }, Ke = function() {
602
602
  ne = we, Q != null && (Q.abort(), Q = void 0), X !== 0 && (c(X), X = 0), e.readyState = we;
603
- }, Me = function() {
603
+ }, De = function() {
604
604
  if (X = 0, ne !== Te) {
605
605
  if (!R && Q != null)
606
- Je(new Error("No activity within " + u + " milliseconds. " + (ne === ie ? "No response received." : D + " chars received.") + " Reconnecting.")), Q != null && (Q.abort(), Q = void 0);
606
+ Je(new Error("No activity within " + d + " milliseconds. " + (ne === ie ? "No response received." : D + " chars received.") + " Reconnecting.")), Q != null && (Q.abort(), Q = void 0);
607
607
  else {
608
- var P = Math.max((R || Date.now()) + u - Date.now(), 1);
608
+ var P = Math.max((R || Date.now()) + d - Date.now(), 1);
609
609
  R = !1, X = i(function() {
610
- Me();
610
+ De();
611
611
  }, P);
612
612
  }
613
613
  return;
614
614
  }
615
615
  R = !1, D = 0, X = i(function() {
616
- Me();
617
- }, u), ne = ie, _e = "", le = "", Fe = C, Ne = "", Xe = 0, Be = 0, K = te;
616
+ De();
617
+ }, d), ne = ie, _e = "", le = "", Fe = S, Ie = "", Xe = 0, Be = 0, K = te;
618
618
  var U = o;
619
- if (o.slice(0, 5) !== "data:" && o.slice(0, 5) !== "blob:" && C !== "") {
619
+ if (o.slice(0, 5) !== "data:" && o.slice(0, 5) !== "blob:" && S !== "") {
620
620
  var Z = o.indexOf("?");
621
- U = Z === -1 ? o : o.slice(0, Z + 1) + o.slice(Z + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(de, Ae) {
622
- return Ae === f ? "" : de;
623
- }), U += (o.indexOf("?") === -1 ? "?" : "&") + f + "=" + encodeURIComponent(C);
621
+ U = Z === -1 ? o : o.slice(0, Z + 1) + o.slice(Z + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(ue, Ae) {
622
+ return Ae === f ? "" : ue;
623
+ }), U += (o.indexOf("?") === -1 ? "?" : "&") + f + "=" + encodeURIComponent(S);
624
624
  }
625
625
  var $ = e.withCredentials, q = {};
626
626
  q.Accept = "text/event-stream";
@@ -629,24 +629,24 @@ var We = { exports: {} };
629
629
  for (var ce in G)
630
630
  Object.prototype.hasOwnProperty.call(G, ce) && (q[ce] = G[ce]);
631
631
  try {
632
- Q = De.open(se, lt, ct, Je, U, $, q);
633
- } catch (de) {
634
- throw Ke(), de;
632
+ Q = Me.open(se, lt, ct, Je, U, $, q);
633
+ } catch (ue) {
634
+ throw Ke(), ue;
635
635
  }
636
636
  };
637
- e.url = o, e.readyState = ie, e.withCredentials = a, e.headers = v, e._close = Ke, Me();
637
+ e.url = o, e.readyState = ie, e.withCredentials = a, e.headers = v, e._close = Ke, De();
638
638
  }
639
- J.prototype = Object.create(j.prototype), J.prototype.CONNECTING = ie, J.prototype.OPEN = ye, J.prototype.CLOSED = we, J.prototype.close = function() {
639
+ J.prototype = Object.create(O.prototype), J.prototype.CONNECTING = ie, J.prototype.OPEN = ye, J.prototype.CLOSED = we, J.prototype.close = function() {
640
640
  this._close();
641
641
  }, J.CONNECTING = ie, J.OPEN = ye, J.CLOSED = we, J.prototype.withCredentials = void 0;
642
- var ke = g;
643
- l != null && (g == null || !("withCredentials" in g.prototype)) && (ke = J), function(e) {
642
+ var ke = m;
643
+ l != null && (m == null || !("withCredentials" in m.prototype)) && (ke = J), function(e) {
644
644
  {
645
645
  var o = e(t);
646
646
  o !== void 0 && (r.exports = o);
647
647
  }
648
648
  }(function(e) {
649
- e.EventSourcePolyfill = J, e.NativeEventSource = g, e.EventSource = ke;
649
+ e.EventSourcePolyfill = J, e.NativeEventSource = m, e.EventSource = ke;
650
650
  });
651
651
  })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ft : globalThis);
652
652
  })(We, We.exports);
@@ -672,35 +672,35 @@ var xt = {
672
672
  return Math.round(t);
673
673
  }, Ye = function(t) {
674
674
  return Math.pow(10, t);
675
- }, Dt = function(t, n) {
675
+ }, Mt = function(t, n) {
676
676
  return st(t / n) * n;
677
- }, Mt = /(\d)(?=(\d{3})+\b)/g, Lt = /(\d)(?=(\d\d)+\d\b)/g;
677
+ }, Dt = /(\d)(?=(\d{3})+\b)/g, Lt = /(\d)(?=(\d\d)+\d\b)/g;
678
678
  function ae(r, t) {
679
679
  var n = this;
680
680
  if (!(n instanceof ae))
681
681
  return new ae(r, t);
682
- var i = Object.assign({}, xt, t), c = Ye(i.precision), l = Ie(r, i);
683
- n.intValue = l, n.value = l / c, i.increment = i.increment || 1 / c, i.useVedic ? i.groups = Lt : i.groups = Mt, this.s = i, this.p = c;
682
+ var i = Object.assign({}, xt, t), c = Ye(i.precision), l = Ne(r, i);
683
+ n.intValue = l, n.value = l / c, i.increment = i.increment || 1 / c, i.useVedic ? i.groups = Lt : i.groups = Dt, this.s = i, this.p = c;
684
684
  }
685
- function Ie(r, t) {
686
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, i = 0, c = t.decimal, l = t.errorOnInvalid, m = t.precision, p = t.fromCents, g = Ye(m), y = typeof r == "number", A = r instanceof ae;
685
+ function Ne(r, t) {
686
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, i = 0, c = t.decimal, l = t.errorOnInvalid, g = t.precision, p = t.fromCents, m = Ye(g), y = typeof r == "number", A = r instanceof ae;
687
687
  if (A && p)
688
688
  return r.intValue;
689
689
  if (y || A)
690
690
  i = A ? r.value : r;
691
691
  else if (typeof r == "string") {
692
- var M = new RegExp("[^-\\d" + c + "]", "g"), L = new RegExp("\\" + c, "g");
693
- i = r.replace(/\((.*)\)/, "-$1").replace(M, "").replace(L, "."), i = i || 0;
692
+ var k = new RegExp("[^-\\d" + c + "]", "g"), F = new RegExp("\\" + c, "g");
693
+ i = r.replace(/\((.*)\)/, "-$1").replace(k, "").replace(F, "."), i = i || 0;
694
694
  } else {
695
695
  if (l)
696
696
  throw Error("Invalid Input");
697
697
  i = 0;
698
698
  }
699
- return p || (i *= g, i = i.toFixed(4)), n ? st(i) : i;
699
+ return p || (i *= m, i = i.toFixed(4)), n ? st(i) : i;
700
700
  }
701
701
  function Ot(r, t) {
702
- var n = t.pattern, i = t.negativePattern, c = t.symbol, l = t.separator, m = t.decimal, p = t.groups, g = ("" + r).replace(/^-/, "").split("."), y = g[0], A = g[1];
703
- return (r.value >= 0 ? n : i).replace("!", c).replace("#", y.replace(p, "$1" + l) + (A ? m + A : ""));
702
+ var n = t.pattern, i = t.negativePattern, c = t.symbol, l = t.separator, g = t.decimal, p = t.groups, m = ("" + r).replace(/^-/, "").split("."), y = m[0], A = m[1];
703
+ return (r.value >= 0 ? n : i).replace("!", c).replace("#", y.replace(p, "$1" + l) + (A ? g + A : ""));
704
704
  }
705
705
  ae.prototype = {
706
706
  /**
@@ -710,7 +710,7 @@ ae.prototype = {
710
710
  */
711
711
  add: function(t) {
712
712
  var n = this.intValue, i = this.s, c = this.p;
713
- return ae((n += Ie(t, i)) / (i.fromCents ? 1 : c), i);
713
+ return ae((n += Ne(t, i)) / (i.fromCents ? 1 : c), i);
714
714
  },
715
715
  /**
716
716
  * Subtracts value.
@@ -719,7 +719,7 @@ ae.prototype = {
719
719
  */
720
720
  subtract: function(t) {
721
721
  var n = this.intValue, i = this.s, c = this.p;
722
- return ae((n -= Ie(t, i)) / (i.fromCents ? 1 : c), i);
722
+ return ae((n -= Ne(t, i)) / (i.fromCents ? 1 : c), i);
723
723
  },
724
724
  /**
725
725
  * Multiplies values.
@@ -737,7 +737,7 @@ ae.prototype = {
737
737
  */
738
738
  divide: function(t) {
739
739
  var n = this.intValue, i = this.s;
740
- return ae(n /= Ie(t, i, !1), i);
740
+ return ae(n /= Ne(t, i, !1), i);
741
741
  },
742
742
  /**
743
743
  * Takes the currency amount and distributes the values evenly. Any extra pennies
@@ -746,9 +746,9 @@ ae.prototype = {
746
746
  * @returns {array}
747
747
  */
748
748
  distribute: function(t) {
749
- for (var n = this.intValue, i = this.p, c = this.s, l = [], m = Math[n >= 0 ? "floor" : "ceil"](n / t), p = Math.abs(n - m * t), g = c.fromCents ? 1 : i; t !== 0; t--) {
750
- var y = ae(m / g, c);
751
- p-- > 0 && (y = y[n >= 0 ? "add" : "subtract"](1 / g)), l.push(y);
749
+ for (var n = this.intValue, i = this.p, c = this.s, l = [], g = Math[n >= 0 ? "floor" : "ceil"](n / t), p = Math.abs(n - g * t), m = c.fromCents ? 1 : i; t !== 0; t--) {
750
+ var y = ae(g / m, c);
751
+ p-- > 0 && (y = y[n >= 0 ? "add" : "subtract"](1 / m)), l.push(y);
752
752
  }
753
753
  return l;
754
754
  },
@@ -782,7 +782,7 @@ ae.prototype = {
782
782
  */
783
783
  toString: function() {
784
784
  var t = this.intValue, n = this.p, i = this.s;
785
- return Dt(t / n, i.increment).toFixed(i.precision);
785
+ return Mt(t / n, i.increment).toFixed(i.precision);
786
786
  },
787
787
  /**
788
788
  * Value for JSON serialization.
@@ -793,7 +793,7 @@ ae.prototype = {
793
793
  }
794
794
  };
795
795
  function kt(r) {
796
- gt(r, "svelte-1tsugyl", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
796
+ mt(r, "svelte-lfsn3o", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
797
797
  }
798
798
  function et(r, t, n) {
799
799
  const i = r.slice();
@@ -813,28 +813,28 @@ function Ft(r) {
813
813
  r[1].Total[0].amount
814
814
  )
815
815
  ) : "0") + ""
816
- ), c, l, m, p, g, y, A, M, L, O, N, E, w = (
816
+ ), c, l, g, p, m, y, A, k, F, I, N, E, w = (
817
817
  /*showBalance*/
818
818
  r[4] && nt(r)
819
819
  );
820
820
  return {
821
821
  c() {
822
- t = H("div"), n = H("p"), c = fe(i), l = oe(), m = fe(
822
+ t = j("button"), n = j("p"), c = fe(i), l = oe(), g = fe(
823
823
  /*currency*/
824
824
  r[5]
825
- ), p = oe(), g = H("span"), y = Qe("svg"), A = Qe("path"), L = oe(), w && w.c(), O = bt(), _(A, "id", "arrow"), _(A, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), _(A, "transform", "translate(-274.511 -441.088)"), _(A, "fill", "#d1d1d1"), _(y, "xmlns", "http://www.w3.org/2000/svg"), _(y, "width", "14"), _(y, "height", "6.835"), _(y, "viewBox", "0 0 14 6.835"), _(g, "class", M = /*modalOpened*/
826
- r[3] ? "TriangleActive" : "TriangleInactive"), _(t, "class", "BalanceValue");
825
+ ), p = oe(), m = j("span"), y = Qe("svg"), A = Qe("path"), F = oe(), w && w.c(), I = bt(), C(A, "id", "arrow"), C(A, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), C(A, "transform", "translate(-274.511 -441.088)"), C(A, "fill", "#d1d1d1"), C(y, "xmlns", "http://www.w3.org/2000/svg"), C(y, "width", "14"), C(y, "height", "6.835"), C(y, "viewBox", "0 0 14 6.835"), C(m, "class", k = /*isModalDisplayed*/
826
+ r[3] ? "TriangleActive" : "TriangleInactive"), C(t, "class", "BalanceValue");
827
827
  },
828
- m(T, z) {
829
- he(T, t, z), B(t, n), B(n, c), B(n, l), B(n, m), B(t, p), B(t, g), B(g, y), B(y, A), he(T, L, z), w && w.m(T, z), he(T, O, z), N || (E = Ve(
828
+ m(T, H) {
829
+ he(T, t, H), B(t, n), B(n, c), B(n, l), B(n, g), B(t, p), B(t, m), B(m, y), B(y, A), he(T, F, H), w && w.m(T, H), he(T, I, H), N || (E = Ve(
830
830
  t,
831
831
  "click",
832
832
  /*click_handler*/
833
833
  r[25]
834
834
  ), N = !0);
835
835
  },
836
- p(T, z) {
837
- z[0] & /*balances*/
836
+ p(T, H) {
837
+ H[0] & /*balances*/
838
838
  2 && i !== (i = /*balances*/
839
839
  (T[1].Total ? (
840
840
  /*formatBalance*/
@@ -842,29 +842,29 @@ function Ft(r) {
842
842
  /*balances*/
843
843
  T[1].Total[0].amount
844
844
  )
845
- ) : "0") + "") && ue(c, i), z[0] & /*currency*/
846
- 32 && ue(
847
- m,
845
+ ) : "0") + "") && de(c, i), H[0] & /*currency*/
846
+ 32 && de(
847
+ g,
848
848
  /*currency*/
849
849
  T[5]
850
- ), z[0] & /*modalOpened*/
851
- 8 && M !== (M = /*modalOpened*/
852
- T[3] ? "TriangleActive" : "TriangleInactive") && _(g, "class", M), /*showBalance*/
853
- T[4] ? w ? w.p(T, z) : (w = nt(T), w.c(), w.m(O.parentNode, O)) : w && (w.d(1), w = null);
850
+ ), H[0] & /*isModalDisplayed*/
851
+ 8 && k !== (k = /*isModalDisplayed*/
852
+ T[3] ? "TriangleActive" : "TriangleInactive") && C(m, "class", k), /*showBalance*/
853
+ T[4] ? w ? w.p(T, H) : (w = nt(T), w.c(), w.m(I.parentNode, I)) : w && (w.d(1), w = null);
854
854
  },
855
855
  d(T) {
856
- T && (pe(t), pe(L), pe(O)), w && w.d(T), N = !1, E();
856
+ T && (pe(t), pe(F), pe(I)), w && w.d(T), N = !1, E();
857
857
  }
858
858
  };
859
859
  }
860
- function Nt(r) {
860
+ function It(r) {
861
861
  let t, n = (
862
862
  /*$_*/
863
863
  r[6]("Loading") + ""
864
864
  ), i;
865
865
  return {
866
866
  c() {
867
- t = H("p"), i = fe(n), _(t, "class", "Loading");
867
+ t = j("p"), i = fe(n), C(t, "class", "Loading");
868
868
  },
869
869
  m(c, l) {
870
870
  he(c, t, l), B(t, i);
@@ -872,7 +872,7 @@ function Nt(r) {
872
872
  p(c, l) {
873
873
  l[0] & /*$_*/
874
874
  64 && n !== (n = /*$_*/
875
- c[6]("Loading") + "") && ue(i, n);
875
+ c[6]("Loading") + "") && de(i, n);
876
876
  },
877
877
  d(c) {
878
878
  c && pe(t);
@@ -880,34 +880,34 @@ function Nt(r) {
880
880
  };
881
881
  }
882
882
  function nt(r) {
883
- let t, n, i, c, l, m, p, g, y = (
883
+ let t, n, i, c, l, g, p, m, y = (
884
884
  /*$_*/
885
885
  r[6]("Title") + ""
886
- ), A, M, L, O, N, E, w = (
886
+ ), A, k, F, I, N, E, w = (
887
887
  /*$_*/
888
888
  r[6]("DepositButton") + ""
889
- ), T, z, k, V, re, ee, Y = je(Object.keys(
889
+ ), T, H, x, z, re, ee, Y = je(Object.keys(
890
890
  /*balances*/
891
891
  r[1]
892
- )), F = [];
893
- for (let S = 0; S < Y.length; S += 1)
894
- F[S] = ot(et(r, Y, S));
892
+ )), L = [];
893
+ for (let _ = 0; _ < Y.length; _ += 1)
894
+ L[_] = ot(et(r, Y, _));
895
895
  return {
896
896
  c() {
897
- t = H("div"), n = H("div"), c = oe(), l = H("div"), m = H("div"), p = H("div"), g = H("p"), A = fe(y), M = oe(), L = H("div");
898
- for (let S = 0; S < F.length; S += 1)
899
- F[S].c();
900
- O = oe(), N = H("div"), E = H("button"), T = fe(w), _(n, "class", i = "BalanceModalClose " + /*modalOpened*/
901
- (r[3] ? "Open" : "")), _(g, "class", "BalanceModalTitle"), _(p, "class", "BalanceModalHeader"), _(L, "class", "BalanceModalBody"), _(E, "class", "BalanceModalAction"), _(N, "class", "BalanceModalFooter"), _(m, "class", z = "ModalContent " + /*modalOpened*/
902
- (r[3] ? "Open" : "")), _(l, "class", k = "BalanceModal " + /*modalOpened*/
903
- (r[3] ? "Open" : "")), _(t, "class", V = "BalanceModalWrapper " + /*modalOpened*/
897
+ t = j("div"), n = j("button"), c = oe(), l = j("div"), g = j("div"), p = j("div"), m = j("p"), A = fe(y), k = oe(), F = j("div");
898
+ for (let _ = 0; _ < L.length; _ += 1)
899
+ L[_].c();
900
+ I = oe(), N = j("div"), E = j("button"), T = fe(w), C(n, "class", i = "BalanceModalClose " + /*isModalDisplayed*/
901
+ (r[3] ? "Open" : "")), C(m, "class", "BalanceModalTitle"), C(p, "class", "BalanceModalHeader"), C(F, "class", "BalanceModalBody"), C(E, "class", "BalanceModalAction"), C(N, "class", "BalanceModalFooter"), C(g, "class", H = "ModalContent " + /*isModalDisplayed*/
902
+ (r[3] ? "Open" : "")), C(l, "class", x = "BalanceModal " + /*isModalDisplayed*/
903
+ (r[3] ? "Open" : "")), C(t, "class", z = "BalanceModalWrapper " + /*isModalDisplayed*/
904
904
  (r[3] ? "Open" : ""));
905
905
  },
906
- m(S, j) {
907
- he(S, t, j), B(t, n), B(t, c), B(t, l), B(l, m), B(m, p), B(p, g), B(g, A), B(m, M), B(m, L);
908
- for (let x = 0; x < F.length; x += 1)
909
- F[x] && F[x].m(L, null);
910
- B(m, O), B(m, N), B(N, E), B(E, T), re || (ee = [
906
+ m(_, O) {
907
+ he(_, t, O), B(t, n), B(t, c), B(t, l), B(l, g), B(g, p), B(p, m), B(m, A), B(g, k), B(g, F);
908
+ for (let M = 0; M < L.length; M += 1)
909
+ L[M] && L[M].m(F, null);
910
+ B(g, I), B(g, N), B(N, E), B(E, T), re || (ee = [
911
911
  Ve(
912
912
  n,
913
913
  "click",
@@ -922,38 +922,38 @@ function nt(r) {
922
922
  )
923
923
  ], re = !0);
924
924
  },
925
- p(S, j) {
926
- if (j[0] & /*modalOpened*/
927
- 8 && i !== (i = "BalanceModalClose " + /*modalOpened*/
928
- (S[3] ? "Open" : "")) && _(n, "class", i), j[0] & /*$_*/
925
+ p(_, O) {
926
+ if (O[0] & /*isModalDisplayed*/
927
+ 8 && i !== (i = "BalanceModalClose " + /*isModalDisplayed*/
928
+ (_[3] ? "Open" : "")) && C(n, "class", i), O[0] & /*$_*/
929
929
  64 && y !== (y = /*$_*/
930
- S[6]("Title") + "") && ue(A, y), j[0] & /*balances, currency, formatBalance, $_*/
930
+ _[6]("Title") + "") && de(A, y), O[0] & /*balances, currency, formatBalance, $_*/
931
931
  354) {
932
932
  Y = je(Object.keys(
933
933
  /*balances*/
934
- S[1]
934
+ _[1]
935
935
  ));
936
- let x;
937
- for (x = 0; x < Y.length; x += 1) {
938
- const d = et(S, Y, x);
939
- F[x] ? F[x].p(d, j) : (F[x] = ot(d), F[x].c(), F[x].m(L, null));
936
+ let M;
937
+ for (M = 0; M < Y.length; M += 1) {
938
+ const u = et(_, Y, M);
939
+ L[M] ? L[M].p(u, O) : (L[M] = ot(u), L[M].c(), L[M].m(F, null));
940
940
  }
941
- for (; x < F.length; x += 1)
942
- F[x].d(1);
943
- F.length = Y.length;
941
+ for (; M < L.length; M += 1)
942
+ L[M].d(1);
943
+ L.length = Y.length;
944
944
  }
945
- j[0] & /*$_*/
945
+ O[0] & /*$_*/
946
946
  64 && w !== (w = /*$_*/
947
- S[6]("DepositButton") + "") && ue(T, w), j[0] & /*modalOpened*/
948
- 8 && z !== (z = "ModalContent " + /*modalOpened*/
949
- (S[3] ? "Open" : "")) && _(m, "class", z), j[0] & /*modalOpened*/
950
- 8 && k !== (k = "BalanceModal " + /*modalOpened*/
951
- (S[3] ? "Open" : "")) && _(l, "class", k), j[0] & /*modalOpened*/
952
- 8 && V !== (V = "BalanceModalWrapper " + /*modalOpened*/
953
- (S[3] ? "Open" : "")) && _(t, "class", V);
947
+ _[6]("DepositButton") + "") && de(T, w), O[0] & /*isModalDisplayed*/
948
+ 8 && H !== (H = "ModalContent " + /*isModalDisplayed*/
949
+ (_[3] ? "Open" : "")) && C(g, "class", H), O[0] & /*isModalDisplayed*/
950
+ 8 && x !== (x = "BalanceModal " + /*isModalDisplayed*/
951
+ (_[3] ? "Open" : "")) && C(l, "class", x), O[0] & /*isModalDisplayed*/
952
+ 8 && z !== (z = "BalanceModalWrapper " + /*isModalDisplayed*/
953
+ (_[3] ? "Open" : "")) && C(t, "class", z);
954
954
  },
955
- d(S) {
956
- S && pe(t), it(F, S), re = !1, Bt(ee);
955
+ d(_) {
956
+ _ && pe(t), it(L, _), re = !1, Bt(ee);
957
957
  }
958
958
  };
959
959
  }
@@ -964,7 +964,7 @@ function at(r) {
964
964
  /*k*/
965
965
  r[50]
966
966
  ) + ""
967
- ), c, l, m = (
967
+ ), c, l, g = (
968
968
  /*b*/
969
969
  (r[53].productType ? (
970
970
  /*$_*/
@@ -973,7 +973,7 @@ function at(r) {
973
973
  r[53].productType
974
974
  )
975
975
  ) : "") + ""
976
- ), p, g, y, A, M = (
976
+ ), p, m, y, A, k = (
977
977
  /*b*/
978
978
  (r[53].amount ? (
979
979
  /*formatBalance*/
@@ -982,16 +982,16 @@ function at(r) {
982
982
  r[53].amount
983
983
  )
984
984
  ) : "0") + ""
985
- ), L, O, N, E;
985
+ ), F, I, N, E;
986
986
  return {
987
987
  c() {
988
- t = H("div"), n = H("p"), c = fe(i), l = oe(), p = fe(m), g = oe(), y = H("p"), A = H("span"), L = fe(M), O = oe(), N = H("span"), E = fe(
988
+ t = j("div"), n = j("p"), c = fe(i), l = oe(), p = fe(g), m = oe(), y = j("p"), A = j("span"), F = fe(k), I = oe(), N = j("span"), E = fe(
989
989
  /*currency*/
990
990
  r[5]
991
- ), _(n, "class", "BalanceModalText"), _(A, "class", "BalanceModalAmount"), _(N, "class", "BalanceModalCurrency"), _(y, "class", "BalanceModalValue"), _(t, "class", "BalanceModalRowLine");
991
+ ), C(n, "class", "BalanceModalText"), C(A, "class", "BalanceModalAmount"), C(N, "class", "BalanceModalCurrency"), C(y, "class", "BalanceModalValue"), C(t, "class", "BalanceModalRowLine");
992
992
  },
993
993
  m(w, T) {
994
- he(w, t, T), B(t, n), B(n, c), B(n, l), B(n, p), B(t, g), B(t, y), B(y, A), B(A, L), B(y, O), B(y, N), B(N, E);
994
+ he(w, t, T), B(t, n), B(n, c), B(n, l), B(n, p), B(t, m), B(t, y), B(y, A), B(A, F), B(y, I), B(y, N), B(N, E);
995
995
  },
996
996
  p(w, T) {
997
997
  T[0] & /*$_, balances*/
@@ -999,24 +999,24 @@ function at(r) {
999
999
  w[6](
1000
1000
  /*k*/
1001
1001
  w[50]
1002
- ) + "") && ue(c, i), T[0] & /*balances, $_*/
1003
- 66 && m !== (m = /*b*/
1002
+ ) + "") && de(c, i), T[0] & /*balances, $_*/
1003
+ 66 && g !== (g = /*b*/
1004
1004
  (w[53].productType ? (
1005
1005
  /*$_*/
1006
1006
  w[6](
1007
1007
  /*b*/
1008
1008
  w[53].productType
1009
1009
  )
1010
- ) : "") + "") && ue(p, m), T[0] & /*balances*/
1011
- 2 && M !== (M = /*b*/
1010
+ ) : "") + "") && de(p, g), T[0] & /*balances*/
1011
+ 2 && k !== (k = /*b*/
1012
1012
  (w[53].amount ? (
1013
1013
  /*formatBalance*/
1014
1014
  w[8](
1015
1015
  /*b*/
1016
1016
  w[53].amount
1017
1017
  )
1018
- ) : "0") + "") && ue(L, M), T[0] & /*currency*/
1019
- 32 && ue(
1018
+ ) : "0") + "") && de(F, k), T[0] & /*currency*/
1019
+ 32 && de(
1020
1020
  E,
1021
1021
  /*currency*/
1022
1022
  w[5]
@@ -1039,19 +1039,19 @@ function ot(r) {
1039
1039
  c[l] = at(tt(r, i, l));
1040
1040
  return {
1041
1041
  c() {
1042
- t = H("div");
1042
+ t = j("div");
1043
1043
  for (let l = 0; l < c.length; l += 1)
1044
1044
  c[l].c();
1045
- n = oe(), _(t, "class", "BalanceModalRowBoth");
1045
+ n = oe(), C(t, "class", "BalanceModalRowBoth");
1046
1046
  },
1047
- m(l, m) {
1048
- he(l, t, m);
1047
+ m(l, g) {
1048
+ he(l, t, g);
1049
1049
  for (let p = 0; p < c.length; p += 1)
1050
1050
  c[p] && c[p].m(t, null);
1051
1051
  B(t, n);
1052
1052
  },
1053
- p(l, m) {
1054
- if (m[0] & /*currency, balances, formatBalance, $_*/
1053
+ p(l, g) {
1054
+ if (g[0] & /*currency, balances, formatBalance, $_*/
1055
1055
  354) {
1056
1056
  i = je(
1057
1057
  /*balances*/
@@ -1062,8 +1062,8 @@ function ot(r) {
1062
1062
  );
1063
1063
  let p;
1064
1064
  for (p = 0; p < i.length; p += 1) {
1065
- const g = tt(l, i, p);
1066
- c[p] ? c[p].p(g, m) : (c[p] = at(g), c[p].c(), c[p].m(t, n));
1065
+ const m = tt(l, i, p);
1066
+ c[p] ? c[p].p(m, g) : (c[p] = at(m), c[p].c(), c[p].m(t, n));
1067
1067
  }
1068
1068
  for (; p < c.length; p += 1)
1069
1069
  c[p].d(1);
@@ -1079,7 +1079,7 @@ function rt(r) {
1079
1079
  let t, n, i;
1080
1080
  return {
1081
1081
  c() {
1082
- t = H("div"), _(t, "class", "ShowBalanceModalOverlay");
1082
+ t = j("button"), C(t, "class", "ShowBalanceModalOverlay");
1083
1083
  },
1084
1084
  m(c, l) {
1085
1085
  he(c, t, l), n || (i = Ve(
@@ -1095,45 +1095,45 @@ function rt(r) {
1095
1095
  }
1096
1096
  };
1097
1097
  }
1098
- function It(r) {
1098
+ function Nt(r) {
1099
1099
  let t, n, i;
1100
- function c(g, y) {
1100
+ function c(m, y) {
1101
1101
  return (
1102
1102
  /*isLoading*/
1103
- g[2] ? Nt : Ft
1103
+ m[2] ? It : Ft
1104
1104
  );
1105
1105
  }
1106
- let l = c(r), m = l(r), p = (
1106
+ let l = c(r), g = l(r), p = (
1107
1107
  /*showBalance*/
1108
1108
  r[4] && rt(r)
1109
1109
  );
1110
1110
  return {
1111
1111
  c() {
1112
- t = H("div"), n = H("div"), m.c(), i = oe(), p && p.c(), _(n, "class", "ShowBalance");
1112
+ t = j("div"), n = j("div"), g.c(), i = oe(), p && p.c(), C(n, "class", "ShowBalance");
1113
1113
  },
1114
- m(g, y) {
1115
- he(g, t, y), B(t, n), m.m(n, null), B(t, i), p && p.m(t, null), r[29](t);
1114
+ m(m, y) {
1115
+ he(m, t, y), B(t, n), g.m(n, null), B(t, i), p && p.m(t, null), r[29](t);
1116
1116
  },
1117
- p(g, y) {
1118
- l === (l = c(g)) && m ? m.p(g, y) : (m.d(1), m = l(g), m && (m.c(), m.m(n, null))), /*showBalance*/
1119
- g[4] ? p ? p.p(g, y) : (p = rt(g), p.c(), p.m(t, null)) : p && (p.d(1), p = null);
1117
+ p(m, y) {
1118
+ l === (l = c(m)) && g ? g.p(m, y) : (g.d(1), g = l(m), g && (g.c(), g.m(n, null))), /*showBalance*/
1119
+ m[4] ? p ? p.p(m, y) : (p = rt(m), p.c(), p.m(t, null)) : p && (p.d(1), p = null);
1120
1120
  },
1121
1121
  i: qe,
1122
1122
  o: qe,
1123
- d(g) {
1124
- g && pe(t), m.d(), p && p.d(), r[29](null);
1123
+ d(m) {
1124
+ m && pe(t), g.d(), p && p.d(), r[29](null);
1125
1125
  }
1126
1126
  };
1127
1127
  }
1128
1128
  function Vt(r, t, n) {
1129
1129
  let i;
1130
1130
  yt(r, At, (e) => n(6, i = e));
1131
- let { userid: c = "" } = t, { session: l = "" } = t, { endpoint: m = "" } = t, { lang: p = "en" } = t, { mbsource: g } = t, { clientstyling: y = "" } = t, { clientstylingurl: A = "" } = t, { translationurl: M = "" } = t, { customlocaleidentifier: L = "" } = t, { gmversion: O = "gm16" } = t, { displaybalanceoption: N = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { currencyseparator: w = "" } = t, { currencydecimal: T = "" } = t, { currencyprecision: z = "" } = t, k, V, re, ee, Y = !1, F = "", S = [], j, x = !1;
1132
- const d = {}, me = ["totalCashAmount", "totalRealAmount"], Re = () => {
1133
- fetch(M).then((e) => e.json()).then((e) => Object.keys(e).forEach((o) => Ze(o, e[o]))).catch((e) => console.log(e));
1131
+ let { userid: c = "" } = t, { session: l = "" } = t, { endpoint: g = "" } = t, { lang: p = "en" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: A = "" } = t, { translationurl: k = "" } = t, { customlocaleidentifier: F = "" } = t, { gmversion: I = "gm16" } = t, { displaybalanceoption: N = "All" } = t, { totalcalculationmode: E = "totalCashAmount" } = t, { currencyseparator: w = "" } = t, { currencydecimal: T = "" } = t, { currencyprecision: H = "" } = t, x, z = !0, re = !1, ee = !1, Y = !1, L, _ = "", O = [], M;
1132
+ const u = {}, ge = ["totalCashAmount", "totalRealAmount"], Re = () => {
1133
+ fetch(k).then((e) => e.json()).then((e) => Object.keys(e).forEach((o) => Ze(o, e[o]))).catch((e) => console.log(e));
1134
1134
  };
1135
1135
  Object.keys($e).forEach((e) => Ze(e, $e[e]));
1136
- const ge = (e) => {
1136
+ const me = (e) => {
1137
1137
  switch (e) {
1138
1138
  case "balance":
1139
1139
  window.postMessage(
@@ -1160,79 +1160,79 @@ function Vt(r, t, n) {
1160
1160
  break;
1161
1161
  }
1162
1162
  }, Te = () => {
1163
- if (L.includes(p))
1164
- return L;
1165
- }, ie = (e) => L ? new Intl.NumberFormat(Te(), { useGrouping: !0 }).format(e) : w && T ? ae(e, {
1163
+ if (F.includes(p))
1164
+ return F;
1165
+ }, ie = (e) => F ? new Intl.NumberFormat(Te(), { useGrouping: !0 }).format(e) : w && T ? ae(e, {
1166
1166
  separator: w,
1167
1167
  decimal: T,
1168
1168
  symbol: "",
1169
- precision: parseInt(z || "2", 10)
1169
+ precision: parseInt(H || "2", 10)
1170
1170
  }).format() : ae(e, {
1171
1171
  separator: ".",
1172
1172
  decimal: ",",
1173
1173
  symbol: "",
1174
- precision: parseInt(z || "2", 10)
1174
+ precision: parseInt(H || "2", 10)
1175
1175
  }).format(), ye = async () => {
1176
- n(2, k = !0);
1177
- const e = new URL(`${m}/v1/player/${c}/account`);
1176
+ n(2, z = !0);
1177
+ const e = new URL(`${g}/v1/player/${c}/account`);
1178
1178
  try {
1179
1179
  const o = await fetch(e, {
1180
1180
  method: "GET",
1181
1181
  headers: { "X-SessionID": l }
1182
1182
  }), s = await o.json();
1183
1183
  if (o.ok)
1184
- window.postMessage({ type: "BalancedFetched" }, window.location.href), S = s.items, n(5, F = S.find((a) => a.displayName === "Casino")?.currency), n(1, d.Total = [{ amount: s.totalAmount[F] }], d), n(
1184
+ window.postMessage({ type: "BalancedFetched" }, window.location.href), O = s.items, n(5, _ = O.find((a) => a.displayName === "Casino")?.currency), n(1, u.Total = [{ amount: s.totalAmount[_] }], u), n(
1185
1185
  1,
1186
- d.Real = [
1186
+ u.Real = [
1187
1187
  {
1188
- amount: S.find((a) => a.displayName === "Casino")?.balanceAmount
1188
+ amount: O.find((a) => a.displayName === "Casino")?.balanceAmount
1189
1189
  }
1190
1190
  ],
1191
- d
1191
+ u
1192
1192
  ), n(
1193
1193
  1,
1194
- d.Bonus = [
1194
+ u.Bonus = [
1195
1195
  {
1196
- amount: S.find((a) => a.displayName === "UBS")?.balanceAmount
1196
+ amount: O.find((a) => a.displayName === "UBS")?.balanceAmount
1197
1197
  }
1198
1198
  ],
1199
- d
1199
+ u
1200
1200
  );
1201
1201
  else
1202
1202
  throw new Error("Failed to fetch balance data !");
1203
1203
  } catch (o) {
1204
1204
  console.log("Balance error: ", o);
1205
1205
  } finally {
1206
- n(2, k = !1);
1206
+ n(2, z = !1);
1207
1207
  }
1208
1208
  }, we = () => {
1209
- n(2, k = !0);
1210
- const e = new URL(`${m}/v2/player/${c}/balance`), o = new Headers();
1209
+ n(2, z = !0);
1210
+ const e = new URL(`${g}/v2/player/${c}/balance`), o = new Headers();
1211
1211
  o.append("X-SessionID", l), fetch(e, { method: "GET", headers: o }).then((a) => a.json()).then((a) => {
1212
- a[E] || n(10, E = me[0]);
1213
- const f = a.items.find((u) => u.type === "Real" && u.walletAccountType === "Ordinary");
1214
- if (n(5, F = f.currency), x = !!f.productType, n(1, d.Total = [{ amount: 0 }], d), n(1, d.Real = [], d), n(1, d.Bonus = [], d), n(1, d.Credit = [], d), !x) {
1215
- j = {
1212
+ a[E] || n(10, E = ge[0]);
1213
+ const f = a.items.find((d) => d.type === "Real" && d.walletAccountType === "Ordinary");
1214
+ if (n(5, _ = f.currency), ee = !!f.productType, n(1, u.Total = [{ amount: 0 }], u), n(1, u.Real = [], u), n(1, u.Bonus = [], u), n(1, u.Credit = [], u), !ee) {
1215
+ M = {
1216
1216
  lastOrdinaryAfterAmount: 0,
1217
1217
  showCreditLineAfterAmount: !1
1218
- }, n(1, d.Total[0].amount = a[E][F], d);
1219
- for (const u of a.items)
1220
- switch (u.type) {
1218
+ }, n(1, u.Total[0].amount = a[E][_], u);
1219
+ for (const d of a.items)
1220
+ switch (d.type) {
1221
1221
  case "Bonus":
1222
- d.Bonus.length === 0 ? d.Bonus.push({ amount: u.amount }) : n(1, d.Bonus[0].amount += u.amount, d);
1222
+ u.Bonus.length === 0 ? u.Bonus.push({ amount: d.amount }) : n(1, u.Bonus[0].amount += d.amount, u);
1223
1223
  break;
1224
1224
  case "Real":
1225
- if (u.creditLine && d.Credit.length === 0 && d.Credit.push({ amount: u.creditLine }), E === "totalRealAmount")
1225
+ if (d.creditLine && u.Credit.length === 0 && u.Credit.push({ amount: d.creditLine }), E === "totalRealAmount")
1226
1226
  continue;
1227
- d.Real.length === 0 ? d.Real.push({ amount: u.amount }) : n(1, d.Real[0].amount += u.amount, d);
1227
+ u.Real.length === 0 ? u.Real.push({ amount: d.amount }) : n(1, u.Real[0].amount += d.amount, u);
1228
1228
  break;
1229
1229
  }
1230
- for (const [u, C] of Object.entries(d))
1231
- C.length < 1 && delete d[u];
1232
- n(2, k = !1);
1230
+ for (const [d, S] of Object.entries(u))
1231
+ S.length < 1 && delete u[d];
1232
+ n(2, z = !1);
1233
1233
  return;
1234
1234
  }
1235
- j = {
1235
+ M = {
1236
1236
  Casino: {
1237
1237
  lastOrdinaryAfterAmount: 0,
1238
1238
  showCreditLineAfterAmount: !1
@@ -1243,51 +1243,51 @@ function Vt(r, t, n) {
1243
1243
  }
1244
1244
  };
1245
1245
  let h = a.items;
1246
- N && N !== "All" && (h = a.items.filter((u) => u.productType === N));
1247
- for (const u of h) {
1248
- let C;
1249
- switch (u.type) {
1246
+ N && N !== "All" && (h = a.items.filter((d) => d.productType === N));
1247
+ for (const d of h) {
1248
+ let S;
1249
+ switch (d.type) {
1250
1250
  case "Bonus":
1251
- C = d.Bonus.findIndex((b) => b.productType === u.productType), C > 0 ? n(1, d.Bonus[C].amount += u.amount, d) : d.Bonus.push({
1252
- amount: u.amount,
1253
- productType: u.productType
1251
+ S = u.Bonus.findIndex((b) => b.productType === d.productType), S > 0 ? n(1, u.Bonus[S].amount += d.amount, u) : u.Bonus.push({
1252
+ amount: d.amount,
1253
+ productType: d.productType
1254
1254
  });
1255
1255
  break;
1256
1256
  case "Real":
1257
- u.creditLine && d.Credit.push({
1258
- amount: u.creditLine,
1259
- productType: u.productType
1260
- }), C = d.Real.findIndex((b) => b.productType === u.productType), C > 0 ? n(1, d.Real[C].amount += u.amount, d) : d.Real.push({
1261
- amount: u.amount,
1262
- productType: u.productType
1257
+ d.creditLine && u.Credit.push({
1258
+ amount: d.creditLine,
1259
+ productType: d.productType
1260
+ }), S = u.Real.findIndex((b) => b.productType === d.productType), S > 0 ? n(1, u.Real[S].amount += d.amount, u) : u.Real.push({
1261
+ amount: d.amount,
1262
+ productType: d.productType
1263
1263
  });
1264
1264
  break;
1265
1265
  }
1266
1266
  }
1267
1267
  Le();
1268
- for (const [u, C] of Object.entries(d))
1269
- C.length < 1 && delete d[u];
1270
- n(2, k = !1);
1268
+ for (const [d, S] of Object.entries(u))
1269
+ S.length < 1 && delete u[d];
1270
+ n(2, z = !1);
1271
1271
  }).catch((a) => {
1272
- throw n(2, k = !1), new Error("Failed to fetch balance data !");
1272
+ throw n(2, z = !1), console.log("Balance fetch error", a), new Error("Failed to fetch balance data!");
1273
1273
  });
1274
1274
  }, be = () => {
1275
- if (ee && ee.close(), l.length < 1)
1275
+ if (L && L.close(), l.length < 1)
1276
1276
  return;
1277
1277
  let e, o;
1278
- switch (O) {
1278
+ switch (I) {
1279
1279
  case "gm16":
1280
- e = new URL(`${m}/v2/player/${c}/information/updates`), o = (f) => He(f);
1280
+ e = new URL(`${g}/v2/player/${c}/information/updates`), o = (f) => He(f);
1281
1281
  break;
1282
1282
  case "gmcore":
1283
- e = new URL(`${m}/v1/player/${c}/balance/updates`), o = (f) => Ee(f);
1283
+ e = new URL(`${g}/v1/player/${c}/balance/updates`), o = (f) => Ee(f);
1284
1284
  break;
1285
1285
  }
1286
1286
  const s = {
1287
1287
  accept: "text/event-stream",
1288
1288
  "X-SessionId": l
1289
1289
  }, a = new Et.EventSourcePolyfill(e, { headers: s });
1290
- ee = a, a.addEventListener("message", o);
1290
+ L = a, a.addEventListener("message", o);
1291
1291
  }, te = (e) => {
1292
1292
  let o;
1293
1293
  try {
@@ -1305,15 +1305,15 @@ function Vt(r, t, n) {
1305
1305
  }
1306
1306
  let s = "0";
1307
1307
  const a = o.balanceChange;
1308
- S = S.map((f) => (a && a[f.id] && (f = {
1308
+ O = O.map((f) => (a && a[f.id] && (f = {
1309
1309
  ...f,
1310
1310
  balanceAmount: a[f.id].afterAmount
1311
- }), s = (parseFloat(f?.balanceAmount) + parseFloat(s)).toString(), f)), n(1, d.Real = [{ amount: S[0]?.balanceAmount }], d), n(1, d.Bonus = [{ amount: S[1]?.balanceAmount }], d), n(1, d.Total = [{ amount: Number(s) }], d);
1311
+ }), s = (parseFloat(f?.balanceAmount) + parseFloat(s)).toString(), f)), n(1, u.Real = [{ amount: O[0]?.balanceAmount }], u), n(1, u.Bonus = [{ amount: O[1]?.balanceAmount }], u), n(1, u.Total = [{ amount: Number(s) }], u);
1312
1312
  }, Se = (e, o, s) => {
1313
1313
  let a = null;
1314
1314
  switch (s.walletAccountType) {
1315
1315
  case "Ordinary":
1316
- s.afterAmount !== s.affectedAmount && (o.lastOrdinaryAfterAmount = s.afterAmount, o.showCreditLineAfterAmount || (a = s.afterAmount));
1316
+ (s.afterAmount !== s.affectedAmount || o.lastOrdinaryAfterAmount === 0) && (o.lastOrdinaryAfterAmount = s.afterAmount, o.showCreditLineAfterAmount || (a = s.afterAmount));
1317
1317
  break;
1318
1318
  case "CreditLine":
1319
1319
  s.afterAmount !== 0 ? (a = s.afterAmount, o.showCreditLineAfterAmount = !0) : (a = o.lastOrdinaryAfterAmount, o.showCreditLineAfterAmount = !1);
@@ -1327,17 +1327,17 @@ function Vt(r, t, n) {
1327
1327
  case "totalCashAmount":
1328
1328
  let e = 0;
1329
1329
  for (const s of ["Real", "Bonus"])
1330
- for (const a of d[s])
1330
+ for (const a of u[s])
1331
1331
  e += Math.max(a.amount, 0);
1332
- n(1, d.Total[0].amount = e, d);
1332
+ n(1, u.Total[0].amount = e, u);
1333
1333
  break;
1334
1334
  case "totalRealAmount":
1335
- if (!x)
1335
+ if (!ee)
1336
1336
  return;
1337
1337
  let o = 0;
1338
- for (const s of d.Real)
1338
+ for (const s of u.Real)
1339
1339
  o += s.amount;
1340
- n(1, d.Total[0].amount = o, d);
1340
+ n(1, u.Total[0].amount = o, u);
1341
1341
  }
1342
1342
  }, He = (e) => {
1343
1343
  const o = te(e.data);
@@ -1349,21 +1349,21 @@ function Vt(r, t, n) {
1349
1349
  return;
1350
1350
  const s = o.body.balanceChange;
1351
1351
  for (const [a, f] of Object.entries(s))
1352
- if (E === "totalRealAmount" && a === "Real" && !x && n(1, d.Total[0].amount = Se(d.Total[0].amount, j, f), d), !!d[a])
1353
- for (const h of d[a]) {
1354
- if (!x) {
1355
- h.amount = a === "Real" ? Se(h.amount, j, f) : f.afterAmount;
1352
+ if (E === "totalRealAmount" && a === "Real" && !ee && n(1, u.Total[0].amount = Se(u.Total[0].amount, M, f), u), !!u[a])
1353
+ for (const h of u[a]) {
1354
+ if (!ee) {
1355
+ h.amount = a === "Real" ? Se(h.amount, M, f) : f.afterAmount;
1356
1356
  continue;
1357
1357
  }
1358
- f.productType === h.productType && (h.amount = a === "Real" ? Se(h.amount, j[h.productType], f) : f.afterAmount);
1358
+ f.productType === h.productType && (h.amount = a === "Real" ? Se(h.amount, M[h.productType], f) : f.afterAmount);
1359
1359
  }
1360
1360
  Le();
1361
1361
  }, Oe = () => {
1362
- ge("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1362
+ me("closebalance"), window.postMessage({ type: "GoToDeposit" }, window.location.href), typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
1363
1363
  }, ze = () => {
1364
- me.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${me}. Using default value ('${me[0]}').`), n(10, E = me[0]));
1364
+ ge.includes(E) || (console.error(`Unsupported value ('${E}') for totalcalculationmode parameter. Only the following values are supported ${ge}. Using default value ('${ge[0]}').`), n(10, E = ge[0]));
1365
1365
  }, xe = () => {
1366
- switch (Rt(p), ze(), O) {
1366
+ switch (Rt(p), ze(), I) {
1367
1367
  case "gmcore":
1368
1368
  ye();
1369
1369
  break;
@@ -1371,58 +1371,58 @@ function Vt(r, t, n) {
1371
1371
  we();
1372
1372
  break;
1373
1373
  default:
1374
- throw Error(`Invalid apiversion attribute: ${O}`);
1374
+ throw Error(`Invalid apiversion attribute: ${I}`);
1375
1375
  }
1376
- }, Ce = (e) => e.data && e.data.type === "LogoutSuccessfull" && ee.close(), ve = () => {
1376
+ }, Ce = (e) => e.data && e.data.type === "LogoutSuccessfull" && L.close(), ve = () => {
1377
1377
  window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
1378
1378
  };
1379
1379
  vt(() => (window.addEventListener("message", Ce, !1), () => {
1380
- window.removeEventListener("message", Ce), ee && ee.close();
1380
+ window.removeEventListener("message", Ce), L && L.close();
1381
1381
  }));
1382
- const J = () => ge("balance"), Ue = () => ge("closebalance"), Pe = () => Oe(), Ge = () => ge("closeBalance");
1382
+ const J = () => me("balance"), Ue = () => me("closebalance"), Pe = () => Oe(), Ge = () => me("closeBalance");
1383
1383
  function ke(e) {
1384
1384
  wt[e ? "unshift" : "push"](() => {
1385
- V = e, n(0, V);
1385
+ x = e, n(0, x);
1386
1386
  });
1387
1387
  }
1388
1388
  return r.$$set = (e) => {
1389
- "userid" in e && n(11, c = e.userid), "session" in e && n(12, l = e.session), "endpoint" in e && n(13, m = e.endpoint), "lang" in e && n(14, p = e.lang), "mbsource" in e && n(15, g = e.mbsource), "clientstyling" in e && n(16, y = e.clientstyling), "clientstylingurl" in e && n(17, A = e.clientstylingurl), "translationurl" in e && n(18, M = e.translationurl), "customlocaleidentifier" in e && n(19, L = e.customlocaleidentifier), "gmversion" in e && n(20, O = e.gmversion), "displaybalanceoption" in e && n(21, N = e.displaybalanceoption), "totalcalculationmode" in e && n(10, E = e.totalcalculationmode), "currencyseparator" in e && n(22, w = e.currencyseparator), "currencydecimal" in e && n(23, T = e.currencydecimal), "currencyprecision" in e && n(24, z = e.currencyprecision);
1389
+ "userid" in e && n(11, c = e.userid), "session" in e && n(12, l = e.session), "endpoint" in e && n(13, g = e.endpoint), "lang" in e && n(14, p = e.lang), "mbsource" in e && n(15, m = e.mbsource), "clientstyling" in e && n(16, y = e.clientstyling), "clientstylingurl" in e && n(17, A = e.clientstylingurl), "translationurl" in e && n(18, k = e.translationurl), "customlocaleidentifier" in e && n(19, F = e.customlocaleidentifier), "gmversion" in e && n(20, I = e.gmversion), "displaybalanceoption" in e && n(21, N = e.displaybalanceoption), "totalcalculationmode" in e && n(10, E = e.totalcalculationmode), "currencyseparator" in e && n(22, w = e.currencyseparator), "currencydecimal" in e && n(23, T = e.currencydecimal), "currencyprecision" in e && n(24, H = e.currencyprecision);
1390
1390
  }, r.$$.update = () => {
1391
1391
  r.$$.dirty[0] & /*lang*/
1392
1392
  16384 && p && Te(), r.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
1393
- 3176448 && m && c && l && p && O && N && xe(), r.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1394
- 1062912 && m && c && l && O && be(), r.$$.dirty[0] & /*translationurl*/
1395
- 262144 && M && Re(), r.$$.dirty[0] & /*balances*/
1396
- 2 && d.Total && ve(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1397
- 65537 && y && V && Tt(V, y), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1398
- 131073 && A && V && St(V, A), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1399
- 32769 && g && V && Ct(V, `${g}.Style`);
1393
+ 3176448 && g && c && l && p && I && N && xe(), r.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
1394
+ 1062912 && g && c && l && I && be(), r.$$.dirty[0] & /*translationurl*/
1395
+ 262144 && k && Re(), r.$$.dirty[0] & /*balances*/
1396
+ 2 && u.Total && ve(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1397
+ 65537 && y && x && Tt(x, y), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1398
+ 131073 && A && x && St(x, A), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1399
+ 32769 && m && x && Ct(x, `${m}.Style`);
1400
1400
  }, [
1401
- V,
1402
- d,
1403
- k,
1401
+ x,
1402
+ u,
1403
+ z,
1404
1404
  re,
1405
1405
  Y,
1406
- F,
1406
+ _,
1407
1407
  i,
1408
- ge,
1408
+ me,
1409
1409
  ie,
1410
1410
  Oe,
1411
1411
  E,
1412
1412
  c,
1413
1413
  l,
1414
- m,
1415
- p,
1416
1414
  g,
1415
+ p,
1416
+ m,
1417
1417
  y,
1418
1418
  A,
1419
- M,
1420
- L,
1421
- O,
1419
+ k,
1420
+ F,
1421
+ I,
1422
1422
  N,
1423
1423
  w,
1424
1424
  T,
1425
- z,
1425
+ H,
1426
1426
  J,
1427
1427
  Ue,
1428
1428
  Pe,
@@ -1436,8 +1436,8 @@ class jt extends pt {
1436
1436
  this,
1437
1437
  t,
1438
1438
  Vt,
1439
- It,
1440
- mt,
1439
+ Nt,
1440
+ gt,
1441
1441
  {
1442
1442
  userid: 11,
1443
1443
  session: 12,