@everymatrix/cashier-page 1.72.30 → 1.72.32

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.
@@ -1,13 +1,13 @@
1
- import { a as Fi, i as Di, $ as Pi, b as Ki } from "./CashierError-XLiq37Gb.js";
2
- import { E as qi, S as Ui, b as Gi, s as ji, f as T, c as Ai, n as ne, e as b, q as v, J as $, l as y, m as M, T as Vi, p as O, o as g, F as Xi, v as Fe, H as Qi, C as r, w as xi, z as _i, B, x as I, y as R, A as di } from "./CashierConfirmModal-B74OQHQ9.js";
3
- import { d as De, u as $i, x as ee } from "./CashierMethodDetails-D9YQ9gDJ.js";
1
+ import { a as Di, i as Fi, $ as Pi, b as Ki } from "./CashierError-XLiq37Gb.js";
2
+ import { E as qi, S as Ui, b as Gi, s as ji, f as T, c as Ai, n as ne, e as b, q as v, J as $, l as y, m as E, T as Vi, p as O, o as g, F as Xi, v as De, H as Qi, C as r, w as xi, z as _i, B, x as I, y as R, A as di } from "./CashierConfirmModal-B74OQHQ9.js";
3
+ import { d as Fe, u as $i, x as ee } from "./CashierMethodDetails-D9YQ9gDJ.js";
4
4
  import "./CashierIframeRedirect-CWlqlioy.js";
5
5
  import "../stencil/ui-image-CHeV8e9p.js";
6
6
  function Pe(t, e) {
7
- Fi(t, e);
7
+ Di(t, e);
8
8
  }
9
9
  function et(t) {
10
- Di({
10
+ Fi({
11
11
  fallbackLocale: "en"
12
12
  }), Pi.set(t);
13
13
  }
@@ -20,6 +20,7 @@ const Ke = {
20
20
  sessionExpiredText: "Your session has ended. We apologize for any inconvenience. Please click the button to continue.",
21
21
  maintenanceText: "Payment Methods are currently closed for scheduled maintenance.",
22
22
  maintenanceTitle: "We’ll Be Back Soon",
23
+ backToMethodList: "BACK TO PAYMENT METHODS",
23
24
  deposit: {
24
25
  makeTxnButton: "DEPOSIT",
25
26
  confirmText: "You're going to deposit to your account",
@@ -66,6 +67,7 @@ const Ke = {
66
67
  sessionExpiredText: "Oturumunuz sona erdi. Herhangi bir rahatsızlıktan dolayı özür dileriz. Devam etmek için lütfen butona tıklayın.",
67
68
  maintenanceText: "Ödeme Yöntemleri planlanmış bakım nedeniyle şu anda kapalı.",
68
69
  maintenanceTitle: "Yakında Geri Döneceğiz",
70
+ backToMethodList: "ÖDEME YÖNTEMLERİNE GERİ DÖN",
69
71
  header: {
70
72
  deposit: "Para Yatır",
71
73
  withdraw: "Çekim"
@@ -193,8 +195,8 @@ var re = function() {
193
195
  var f = h.value;
194
196
  f.remove(this);
195
197
  }
196
- } catch (E) {
197
- e = { error: E };
198
+ } catch (M) {
199
+ e = { error: M };
198
200
  } finally {
199
201
  try {
200
202
  h && !h.done && (i = l.return) && i.call(l);
@@ -209,8 +211,8 @@ var re = function() {
209
211
  if (z(p))
210
212
  try {
211
213
  p();
212
- } catch (E) {
213
- o = E instanceof me ? E.errors : [E];
214
+ } catch (M) {
215
+ o = M instanceof me ? M.errors : [M];
214
216
  }
215
217
  var w = this._finalizers;
216
218
  if (w) {
@@ -220,12 +222,12 @@ var re = function() {
220
222
  var m = a.value;
221
223
  try {
222
224
  qe(m);
223
- } catch (E) {
224
- o = o ?? [], E instanceof me ? o = be(be([], we(o)), we(E.errors)) : o.push(E);
225
+ } catch (M) {
226
+ o = o ?? [], M instanceof me ? o = be(be([], we(o)), we(M.errors)) : o.push(M);
225
227
  }
226
228
  }
227
- } catch (E) {
228
- n = { error: E };
229
+ } catch (M) {
230
+ n = { error: M };
229
231
  } finally {
230
232
  try {
231
233
  a && !a.done && (s = d.return) && s.call(d);
@@ -689,7 +691,7 @@ if (typeof window < "u") {
689
691
  });
690
692
  }
691
693
  function yt(t) {
692
- Ai(t, "svelte-io1b9g", ":host{display:block;height:100%}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.DisablePage{container-type:inline-size;container-name:confirm-modal;position:absolute;width:100%;height:100%;z-index:4;top:0;left:0;background-color:transparent}.CashierPageWidget{container-type:inline-size;container-name:deposit-page;height:var(--emw-cashier-page-height, var(--mmw-cashier-page-height, 100%));position:relative;box-sizing:border-box}.CashierPageWidget .CashierMethodDetailsWrapper{display:none}.CashierPageWidget:has(.Header){border-radius:6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);box-sizing:border-box}.CashierPageWidget:has(.Header) .IframeRedirect{border-radius:6px}.CashierPageWidget:has(.Header) .Content,.CashierPageWidget:has(.Header) .CashierPage,.CashierPageWidget:has(.Header) .DisablePage{height:calc(100% - var(--mmw--header-height, 40px))}.CashierPageWidget:has(.Header) .DisablePage{top:var(--mmw--header-height, 40px)}.CashierPageWidget:has(.Header) cashier-error{display:block;overflow-y:auto;scrollbar-gutter:stable both-edges;height:calc(100% - var(--mmw--header-height, 40px))}.CashierVerificationsMobile{display:none}.CashierVerificationsMethodList{display:block;border-radius:var(--mmw--border-radius-medium-plus, 6px)}.Content{height:100%;position:relative}.CashierMethodListWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);width:50%;display:flex;flex-direction:column}.CashierMethodListWrapper::-webkit-scrollbar{border-right:none}.CashierMethodListWrapper.WithoutScroll{overflow:hidden}.BothSections .CashierMethodDetailsWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);display:block;transition:all 1s;width:50%;justify-content:center;position:relative}.BothSections .CashierMethodListWrapper::-webkit-scrollbar{border-right:1px solid var(--emw--color-gray-100, #E0E0E0)}.CashierPage{position:relative;display:flex;flex-direction:row;justify-content:center;height:inherit}cashier-iframe-redirect{height:inherit;width:inherit}cashier-error{height:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-white, #FFF)}.CashierConfirmModalText{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px)}.CashierErrorText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorButtonWrapper{width:100%}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img,.CashierErrorIcon ui-image img{width:300px}.MobileView .CashierVerificationsMobile{display:block}.MobileView .CashierVerificationsMethodList{display:none}.MobileView.BothSections .CashierMethodListWrapper{display:none}@container deposit-page (max-width:750px){.CashierPage,.BothSections .CashierPage{flex-direction:column;justify-content:flex-start;gap:0}.CashierPage cashier-methods-list,.CashierPage cashier-method-details,.CashierPage .CashierMethodDetailsWrapper,.BothSections .CashierPage cashier-methods-list,.BothSections .CashierPage cashier-method-details,.BothSections .CashierPage .CashierMethodDetailsWrapper{width:100%;height:100%}.CashierPageWidget.FixedHeight{--mmw-cashier-page-height-padding:65px;height:var(--emw-cashier-page-height, calc(var(--mmw-cashier-page-height, 100%) - var(--mmw-cashier-page-height-padding)))}cashier-method-details{display:none}.BothSections cashier-method-details{display:flex}.BothSections .CashierMethodListWrapper{display:none}.CashierMethodListWrapper{width:100%}}.Iframe2FA{width:350px;height:450px;border:0px;display:flex;align-items:center}.Iframe2FAMobile{top:0;left:0;position:fixed;width:100%;height:100%;display:flex;align-items:center;justify-content:center}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--mmw--color-grey-105, #E8E9EB)}::-webkit-scrollbar-thumb:hover{background:var(--mmw--color-grey-290, #666)}");
694
+ Ai(t, "svelte-ad6pkf", ":host{display:block;height:100%}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.DisablePage{container-type:inline-size;container-name:confirm-modal;position:absolute;width:100%;height:100%;z-index:4;top:0;left:0;background-color:transparent}.CashierPageWidget{container-type:inline-size;container-name:deposit-page;height:var(--emw-cashier-page-height, var(--mmw-cashier-page-height, 100%));position:relative;box-sizing:border-box}.CashierPageWidget .CashierMethodDetailsWrapper{display:none}.CashierPageWidget:has(.Header){border-radius:6px;border:1px solid var(--mmw--color-grey-105, #E8E9EB);box-sizing:border-box}.CashierPageWidget:has(.Header) .IframeRedirect{border-radius:6px}.CashierPageWidget:has(.Header) .Content,.CashierPageWidget:has(.Header) .CashierPage,.CashierPageWidget:has(.Header) .DisablePage{height:calc(100% - var(--mmw--header-height, 40px))}.CashierPageWidget:has(.Header) .DisablePage{top:var(--mmw--header-height, 40px)}.CashierPageWidget:has(.Header) cashier-error{display:block;overflow-y:auto;scrollbar-gutter:stable both-edges;height:calc(100% - var(--mmw--header-height, 40px))}.CashierVerificationsMobile{display:none}.CashierVerificationsMethodList{display:block;border-radius:var(--mmw--border-radius-medium-plus, 6px)}.Content{height:100%;position:relative}.CashierMethodListWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);width:50%;display:flex;flex-direction:column}.CashierMethodListWrapper::-webkit-scrollbar{border-right:none}.CashierMethodListWrapper.WithoutScroll{overflow:hidden}.BothSections .CashierMethodDetailsWrapper{height:100%;overflow:auto;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:var(--emw--spacing-large, 20px) var(--emw--spacing-x-small, 10px) var(--emw--spacing-small, 12px) var(--emw--spacing-x-small, 10px);display:block;transition:all 1s;width:50%;justify-content:center;position:relative}.BothSections .CashierMethodListWrapper::-webkit-scrollbar{border-right:1px solid var(--emw--color-gray-100, #E0E0E0)}.CashierPage{position:relative;display:flex;flex-direction:row;justify-content:center;height:inherit}cashier-iframe-redirect{height:inherit;width:inherit}cashier-error{height:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-white, #FFF)}.CashierConfirmModalText{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px)}.CashierErrorText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorButtonWrapper{width:100%}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img,.CashierErrorIcon ui-image img{width:300px}.MobileView .CashierVerificationsMobile{display:block}.MobileView .CashierVerificationsMethodList{display:none}.MobileView.BothSections .CashierMethodListWrapper{display:none}@container deposit-page (max-width:750px){.CashierPage,.BothSections .CashierPage{flex-direction:column;justify-content:flex-start;gap:0}.CashierPage cashier-methods-list,.CashierPage cashier-method-details,.CashierPage .CashierMethodDetailsWrapper,.BothSections .CashierPage cashier-methods-list,.BothSections .CashierPage cashier-method-details,.BothSections .CashierPage .CashierMethodDetailsWrapper{width:100%;height:100%}.CashierPageWidget.FixedHeight{--mmw-cashier-page-height-padding:65px;height:var(--emw-cashier-page-height, calc(var(--mmw-cashier-page-height, 100%) - var(--mmw-cashier-page-height-padding)))}cashier-method-details{display:none}.BothSections cashier-method-details{display:flex}.BothSections .CashierMethodListWrapper{display:none}.CashierMethodListWrapper{width:100%}}.Iframe2FA{width:350px;height:450px;border:0px;display:flex;align-items:center}.Iframe2FAMobile{top:0;left:0;position:absolute;width:100%;height:100%;border:0;z-index:10}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--mmw--color-grey-105, #E8E9EB)}::-webkit-scrollbar-thumb:hover{background:var(--mmw--color-grey-290, #666)}");
693
695
  }
694
696
  function Qe(t) {
695
697
  let e;
@@ -927,7 +929,7 @@ function ei(t) {
927
929
  ), v(e, "class", "IframeRedirect");
928
930
  },
929
931
  m(n, s) {
930
- y(n, e, s), M(e, i);
932
+ y(n, e, s), E(e, i);
931
933
  },
932
934
  p(n, s) {
933
935
  s[0] & /*lang*/
@@ -980,10 +982,10 @@ function ei(t) {
980
982
  };
981
983
  }
982
984
  function ii(t) {
983
- let e, i, n, s, o;
985
+ let e, i, n, s, o, u, l;
984
986
  return {
985
987
  c() {
986
- e = g("cashier-modal"), i = g("div"), n = g("iframe"), v(n, "class", s = /*mobileView*/
988
+ e = g("cashier-modal"), i = g("div"), n = g("iframe"), u = O(), l = g("cashier-spinner"), v(n, "class", s = /*mobileView*/
987
989
  t[23] == "true" ? "Iframe2FAMobile" : "Iframe2FA"), v(n, "title", "2FAiframe"), B(n.src, o = /*url2FA*/
988
990
  t[41]) || v(n, "src", o), v(i, "slot", "content"), r(
989
991
  e,
@@ -997,30 +999,30 @@ function ii(t) {
997
999
  t[12]
998
1000
  );
999
1001
  },
1000
- m(u, l) {
1001
- y(u, e, l), M(e, i), M(i, n);
1002
+ m(h, f) {
1003
+ y(h, e, f), E(e, i), E(i, n), E(i, u), E(i, l);
1002
1004
  },
1003
- p(u, l) {
1004
- l[0] & /*mobileView*/
1005
+ p(h, f) {
1006
+ f[0] & /*mobileView*/
1005
1007
  8388608 && s !== (s = /*mobileView*/
1006
- u[23] == "true" ? "Iframe2FAMobile" : "Iframe2FA") && v(n, "class", s), l[1] & /*url2FA*/
1008
+ h[23] == "true" ? "Iframe2FAMobile" : "Iframe2FA") && v(n, "class", s), f[1] & /*url2FA*/
1007
1009
  1024 && !B(n.src, o = /*url2FA*/
1008
- u[41]) && v(n, "src", o), l[0] & /*clientstylingurl*/
1010
+ h[41]) && v(n, "src", o), f[0] & /*clientstylingurl*/
1009
1011
  8192 && r(
1010
1012
  e,
1011
1013
  "clientstylingurl",
1012
1014
  /*clientstylingurl*/
1013
- u[13]
1014
- ), l[0] & /*clientstyling*/
1015
+ h[13]
1016
+ ), f[0] & /*clientstyling*/
1015
1017
  4096 && r(
1016
1018
  e,
1017
1019
  "clientstyling",
1018
1020
  /*clientstyling*/
1019
- u[12]
1021
+ h[12]
1020
1022
  );
1021
1023
  },
1022
- d(u) {
1023
- u && b(e);
1024
+ d(h) {
1025
+ h && b(e);
1024
1026
  }
1025
1027
  };
1026
1028
  }
@@ -1074,7 +1076,7 @@ function ti(t) {
1074
1076
  );
1075
1077
  },
1076
1078
  m(u, l) {
1077
- y(u, e, l), M(e, i), M(i, n), M(n, s), o && o.m(s, null);
1079
+ y(u, e, l), E(e, i), E(i, n), E(n, s), o && o.m(s, null);
1078
1080
  },
1079
1081
  p(u, l) {
1080
1082
  /*modalErrorMessage*/
@@ -1143,7 +1145,7 @@ function ni(t) {
1143
1145
  e = g("button"), n = R(i), v(e, "class", "CashierErrorButton");
1144
1146
  },
1145
1147
  m(u, l) {
1146
- y(u, e, l), M(e, n), s || (o = di(
1148
+ y(u, e, l), E(e, n), s || (o = di(
1147
1149
  e,
1148
1150
  "click",
1149
1151
  /*hideModal*/
@@ -1326,7 +1328,7 @@ function si(t) {
1326
1328
  );
1327
1329
  },
1328
1330
  m(f, p) {
1329
- y(f, e, p), M(e, i), M(i, s), M(e, o), M(e, u), M(u, h);
1331
+ y(f, e, p), E(e, i), E(i, s), E(e, o), E(e, u), E(u, h);
1330
1332
  },
1331
1333
  p(f, p) {
1332
1334
  p[0] & /*type, currency*/
@@ -1423,7 +1425,7 @@ function gt(t) {
1423
1425
  );
1424
1426
  },
1425
1427
  m(h, f) {
1426
- y(h, e, f), o && o.m(e, null), M(e, i), u && u.m(e, null), M(e, n), l && l.m(e, null);
1428
+ y(h, e, f), o && o.m(e, null), E(e, i), u && u.m(e, null), E(e, n), l && l.m(e, null);
1427
1429
  },
1428
1430
  p(h, f) {
1429
1431
  /*errorResponseCode*/
@@ -1497,29 +1499,29 @@ function vt(t) {
1497
1499
  return {
1498
1500
  c() {
1499
1501
  e = g("div"), f && f.c(), i = O(), n = g("div"), p && p.c(), s = O(), w && w.c(), o = O(), d && d.c(), l = O(), h = g("div"), a && a.c(), v(n, "class", u = /*dynamicHeight*/
1500
- t[38] !== K ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper"), v(h, "class", "CashierMethodDetailsWrapper"), v(e, "class", "CashierPage");
1502
+ t[38] !== q ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper"), v(h, "class", "CashierMethodDetailsWrapper"), v(e, "class", "CashierPage");
1501
1503
  },
1502
- m(m, E) {
1503
- y(m, e, E), f && f.m(e, null), M(e, i), M(e, n), p && p.m(n, null), M(n, s), w && w.m(n, null), M(n, o), d && d.m(n, null), M(e, l), M(e, h), a && a.m(h, null);
1504
+ m(m, M) {
1505
+ y(m, e, M), f && f.m(e, null), E(e, i), E(e, n), p && p.m(n, null), E(n, s), w && w.m(n, null), E(n, o), d && d.m(n, null), E(e, l), E(e, h), a && a.m(h, null);
1504
1506
  },
1505
- p(m, E) {
1507
+ p(m, M) {
1506
1508
  /*showverifications*/
1507
1509
  m[15] && /*showverifications*/
1508
1510
  m[15] !== "false" && /*mobileView*/
1509
1511
  m[23] === "true" && /*$xPaymentSessionToken*/
1510
1512
  m[43] && /*session*/
1511
- m[1] ? f ? f.p(m, E) : (f = ci(m), f.c(), f.m(e, i)) : f && (f.d(1), f = null), /*showverifications*/
1513
+ m[1] ? f ? f.p(m, M) : (f = ci(m), f.c(), f.m(e, i)) : f && (f.d(1), f = null), /*showverifications*/
1512
1514
  m[15] && /*showverifications*/
1513
1515
  m[15] !== "false" && /*mobileView*/
1514
1516
  m[23] !== "true" && /*$xPaymentSessionToken*/
1515
1517
  m[43] && /*session*/
1516
- m[1] ? p ? p.p(m, E) : (p = ui(m), p.c(), p.m(n, s)) : p && (p.d(1), p = null), /*showtransactionhistory*/
1518
+ m[1] ? p ? p.p(m, M) : (p = ui(m), p.c(), p.m(n, s)) : p && (p.d(1), p = null), /*showtransactionhistory*/
1517
1519
  m[16] && /*showtransactionhistory*/
1518
- m[16] !== "false" ? w ? w.p(m, E) : (w = fi(m), w.c(), w.m(n, o)) : w && (w.d(1), w = null), /*$xPaymentSessionToken*/
1519
- m[43] ? d ? d.p(m, E) : (d = hi(m), d.c(), d.m(n, null)) : d && (d.d(1), d = null), E[1] & /*dynamicHeight*/
1520
+ m[16] !== "false" ? w ? w.p(m, M) : (w = fi(m), w.c(), w.m(n, o)) : w && (w.d(1), w = null), /*$xPaymentSessionToken*/
1521
+ m[43] ? d ? d.p(m, M) : (d = hi(m), d.c(), d.m(n, null)) : d && (d.d(1), d = null), M[1] & /*dynamicHeight*/
1520
1522
  128 && u !== (u = /*dynamicHeight*/
1521
- m[38] !== K ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && v(n, "class", u), /*$xPaymentSessionToken*/
1522
- m[43] ? a ? a.p(m, E) : (a = mi(m), a.c(), a.m(h, null)) : a && (a.d(1), a = null);
1523
+ m[38] !== q ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && v(n, "class", u), /*$xPaymentSessionToken*/
1524
+ m[43] ? a ? a.p(m, M) : (a = mi(m), a.c(), a.m(h, null)) : a && (a.d(1), a = null);
1523
1525
  },
1524
1526
  d(m) {
1525
1527
  m && b(e), f && f.d(), p && p.d(), w && w.d(), d && d.d(), a && a.d();
@@ -1536,7 +1538,7 @@ function oi(t) {
1536
1538
  ), v(e, "class", "CashierErrorText"), v(e, "slot", "text");
1537
1539
  },
1538
1540
  m(n, s) {
1539
- y(n, e, s), M(e, i);
1541
+ y(n, e, s), E(e, i);
1540
1542
  },
1541
1543
  p(n, s) {
1542
1544
  s[0] & /*errorMessage*/
@@ -1561,20 +1563,20 @@ function li(t) {
1561
1563
  ), f, p, w, d = (
1562
1564
  /*$_*/
1563
1565
  t[42]("continueSession") + ""
1564
- ), a, m, E;
1565
- function q(k, H) {
1566
+ ), a, m, M;
1567
+ function U(k, H) {
1566
1568
  return (
1567
1569
  /*assetsurl*/
1568
1570
  k[8] ? Mt : Et
1569
1571
  );
1570
1572
  }
1571
- let F = q(t), N = F(t);
1573
+ let D = U(t), N = D(t);
1572
1574
  return {
1573
1575
  c() {
1574
1576
  e = g("div"), N.c(), i = O(), n = g("span"), o = R(s), u = O(), l = g("span"), f = R(h), p = O(), w = g("button"), a = R(d), v(e, "slot", "icon"), v(e, "class", "CashierErrorIcon"), v(n, "slot", "title"), v(n, "class", "CashierErrorTitle"), v(l, "slot", "text"), v(l, "class", "CashierErrorText"), v(w, "slot", "button"), v(w, "class", "CashierErrorButton");
1575
1577
  },
1576
1578
  m(k, H) {
1577
- y(k, e, H), N.m(e, null), y(k, i, H), y(k, n, H), M(n, o), y(k, u, H), y(k, l, H), M(l, f), y(k, p, H), y(k, w, H), M(w, a), m || (E = di(
1579
+ y(k, e, H), N.m(e, null), y(k, i, H), y(k, n, H), E(n, o), y(k, u, H), y(k, l, H), E(l, f), y(k, p, H), y(k, w, H), E(w, a), m || (M = di(
1578
1580
  w,
1579
1581
  "click",
1580
1582
  /*renewSession*/
@@ -1582,7 +1584,7 @@ function li(t) {
1582
1584
  ), m = !0);
1583
1585
  },
1584
1586
  p(k, H) {
1585
- F === (F = q(k)) && N ? N.p(k, H) : (N.d(1), N = F(k), N && (N.c(), N.m(e, null))), H[1] & /*$_*/
1587
+ D === (D = U(k)) && N ? N.p(k, H) : (N.d(1), N = D(k), N && (N.c(), N.m(e, null))), H[1] & /*$_*/
1586
1588
  2048 && s !== (s = /*$_*/
1587
1589
  k[42]("sessionExpiredTitle") + "") && I(o, s), H[1] & /*$_*/
1588
1590
  2048 && h !== (h = /*$_*/
@@ -1591,7 +1593,7 @@ function li(t) {
1591
1593
  k[42]("continueSession") + "") && I(a, d);
1592
1594
  },
1593
1595
  d(k) {
1594
- k && (b(e), b(i), b(n), b(u), b(l), b(p), b(w)), N.d(), m = !1, E();
1596
+ k && (b(e), b(i), b(n), b(u), b(l), b(p), b(w)), N.d(), m = !1, M();
1595
1597
  }
1596
1598
  };
1597
1599
  }
@@ -1650,7 +1652,7 @@ function ai(t) {
1650
1652
  e = g("div"), d.c(), i = O(), n = g("span"), o = R(s), u = O(), l = g("span"), f = R(h), v(e, "slot", "icon"), v(e, "class", "CashierErrorIcon"), v(n, "slot", "title"), v(n, "class", "CashierErrorTitle"), v(l, "slot", "text"), v(l, "class", "CashierErrorText");
1651
1653
  },
1652
1654
  m(a, m) {
1653
- y(a, e, m), d.m(e, null), y(a, i, m), y(a, n, m), M(n, o), y(a, u, m), y(a, l, m), M(l, f);
1655
+ y(a, e, m), d.m(e, null), y(a, i, m), y(a, n, m), E(n, o), y(a, u, m), y(a, l, m), E(l, f);
1654
1656
  },
1655
1657
  p(a, m) {
1656
1658
  w === (w = p(a)) && d ? d.p(a, m) : (d.d(1), d = w(a), d && (d.c(), d.m(e, null))), m[1] & /*$_*/
@@ -2348,11 +2350,11 @@ function St(t) {
2348
2350
  i,
2349
2351
  "FixedHeight",
2350
2352
  /*dynamicHeight*/
2351
- t[38] !== K
2353
+ t[38] !== q
2352
2354
  );
2353
2355
  },
2354
2356
  m(a, m) {
2355
- l && l.m(a, m), y(a, e, m), y(a, i, m), h && h.m(i, null), M(i, n), f && f.m(i, null), M(i, s), d.m(i, null), t[51](i), u = Vi(
2357
+ l && l.m(a, m), y(a, e, m), y(a, i, m), h && h.m(i, null), E(i, n), f && f.m(i, null), E(i, s), d.m(i, null), t[51](i), u = Vi(
2356
2358
  i,
2357
2359
  /*div_elementresize_handler*/
2358
2360
  t[52].bind(i)
@@ -2377,7 +2379,7 @@ function St(t) {
2377
2379
  i,
2378
2380
  "FixedHeight",
2379
2381
  /*dynamicHeight*/
2380
- a[38] !== K
2382
+ a[38] !== q
2381
2383
  );
2382
2384
  },
2383
2385
  i: ne,
@@ -2387,10 +2389,10 @@ function St(t) {
2387
2389
  }
2388
2390
  };
2389
2391
  }
2390
- const K = "100%";
2392
+ const q = "100%";
2391
2393
  function Ot(t, e, i) {
2392
2394
  let n, s;
2393
- Fe(t, Ki, (c) => i(42, n = c)), Fe(t, ee, (c) => i(43, s = c)), De.extend($i);
2395
+ De(t, Ki, (c) => i(42, n = c)), De(t, ee, (c) => i(43, s = c)), Fe.extend($i);
2394
2396
  var o;
2395
2397
  (function(c) {
2396
2398
  c.Default = "Default", c.RedirectWithRetry = "Redirect";
@@ -2403,7 +2405,7 @@ function Ot(t, e, i) {
2403
2405
  [["Default", 0], o.Default],
2404
2406
  [["Redirect", 1], o.RedirectWithRetry]
2405
2407
  ].reduce(u, []));
2406
- let { endpoint: l } = e, { session: h } = e, { lang: f = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: a } = e, { cancelurl: m } = e, { customerid: E } = e, { currency: q } = e, { amount: F } = e, { assetsurl: N } = e, { type: k = Ei.Deposit } = e, { channel: H = Mi.Desktop } = e, { showheader: ve = "true" } = e, { numberofmethodsshown: Ee } = e, { clientstyling: V = "" } = e, { clientstylingurl: X = "" } = e, { showsessionexpirationmodal: Me = "true" } = e, { showverifications: ke = "true" } = e, { showtransactionhistory: Te = "true" } = e, { showclosebutton: Se = "false" } = e, { txncount: Oe } = e, Y = {}, Ti = new Intl.NumberFormat(p, { minimumFractionDigits: 2 }), J, U, se, oe = !1, le, Q, x, G = !1, ae, L, He, Ce, Ne, We, ce, ue, Ze = !0, fe = K, D = !1, j = !1, Je = "", Si = window.navigator.userAgent;
2408
+ let { endpoint: l } = e, { session: h } = e, { lang: f = "en" } = e, { local: p = "en-US" } = e, { translationurl: w } = e, { successurl: d } = e, { failurl: a } = e, { cancelurl: m } = e, { customerid: M } = e, { currency: U } = e, { amount: D } = e, { assetsurl: N } = e, { type: k = Ei.Deposit } = e, { channel: H = Mi.Desktop } = e, { showheader: ve = "true" } = e, { numberofmethodsshown: Ee } = e, { clientstyling: V = "" } = e, { clientstylingurl: X = "" } = e, { showsessionexpirationmodal: Me = "true" } = e, { showverifications: ke = "true" } = e, { showtransactionhistory: Te = "true" } = e, { showclosebutton: Se = "false" } = e, { txncount: Oe } = e, L = {}, Ti = new Intl.NumberFormat(p, { minimumFractionDigits: 2 }), J, G, se, oe = !1, le, Q, x, j = !1, ae, Y, He, Ce, Ne, We, ce, ue, Ze = !0, fe = q, F = !1, K = !1, Je = "", Si = window.navigator.userAgent;
2407
2409
  const Oi = () => {
2408
2410
  et(f);
2409
2411
  };
@@ -2421,11 +2423,11 @@ function Ot(t, e, i) {
2421
2423
  i(27, x = !0), console.log(S);
2422
2424
  });
2423
2425
  }, Ci = () => {
2424
- i(28, G = !1), i(22, Y = {}), P();
2426
+ i(28, j = !1), i(22, L = {}), P();
2425
2427
  }, Ie = () => {
2426
2428
  ee.set(null);
2427
- const c = new URL(`${l}/v2/player/${E}/payment/GetPaymentSession`), S = new Headers();
2428
- S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-SessionId", `${h}`), S.append("X-Client-Request-Timestamp", De.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2429
+ const c = new URL(`${l}/v2/player/${M}/payment/GetPaymentSession`), S = new Headers();
2430
+ S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-SessionId", `${h}`), S.append("X-Client-Request-Timestamp", Fe.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2429
2431
  const W = {
2430
2432
  method: "POST",
2431
2433
  mode: "cors",
@@ -2445,7 +2447,7 @@ function Ot(t, e, i) {
2445
2447
  };
2446
2448
  fetch(c, W).then((C) => C.json()).then((C) => {
2447
2449
  if (C.errorCode === ki.InvalidSession) {
2448
- i(30, L = Z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), _();
2450
+ i(30, Y = Z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), _();
2449
2451
  return;
2450
2452
  }
2451
2453
  if (C.error) {
@@ -2453,7 +2455,7 @@ function Ot(t, e, i) {
2453
2455
  return;
2454
2456
  }
2455
2457
  if (C.ResponseCode !== Z.Success) {
2456
- i(30, L = C.ResponseCode), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), _();
2458
+ i(30, Y = C.ResponseCode), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), _();
2457
2459
  return;
2458
2460
  }
2459
2461
  C.XPaymentSessionToken && ee.set(C.XPaymentSessionToken);
@@ -2461,21 +2463,21 @@ function Ot(t, e, i) {
2461
2463
  window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), console.log(C);
2462
2464
  });
2463
2465
  }, P = () => {
2464
- G && Re() && !L ? (i(35, ce = Y.Label || Y.Name), i(36, ue = "true")) : (i(35, ce = `header.${k.toLowerCase()}`), i(36, ue = "false"));
2466
+ j && Re() && !Y ? (i(35, ce = L.Label || L.Name), i(36, ue = "true")) : (i(35, ce = `header.${k.toLowerCase()}`), i(36, ue = "false"));
2465
2467
  }, Ni = () => {
2466
2468
  i(23, se = Re().toString()), P();
2467
- }, Re = () => U < 750, ze = (c) => {
2468
- Ye({
2469
+ }, Re = () => G < 750, ze = (c) => {
2470
+ Le({
2469
2471
  Name: c.detail.Name,
2470
2472
  Label: c.detail.Label
2471
2473
  });
2472
- }, Ye = (c) => {
2473
- i(22, Y.Name = c.Name, Y), i(22, Y.Label = c.Label, Y), i(28, G = !0), P();
2474
+ }, Le = (c) => {
2475
+ i(22, L.Name = c.Name, L), i(22, L.Label = c.Label, L), i(28, j = !0), P();
2474
2476
  }, _ = () => {
2475
2477
  window.postMessage(
2476
2478
  {
2477
2479
  type: "ErrorResponseCode",
2478
- errorResponseCode: L
2480
+ errorResponseCode: Y
2479
2481
  },
2480
2482
  window.location.href
2481
2483
  );
@@ -2497,7 +2499,7 @@ function Ot(t, e, i) {
2497
2499
  );
2498
2500
  });
2499
2501
  }, Ji = (c) => {
2500
- i(28, G = !c.hideMethodDetails), P();
2502
+ i(28, j = !c.hideMethodDetails), P();
2501
2503
  };
2502
2504
  Qi(() => (pt(Si) && i(23, se = "true"), window.addEventListener("selectPayMeth", ze, !1), window.addEventListener("message", Be, !1), () => {
2503
2505
  window.removeEventListener("selectPayMeth", ze), window.removeEventListener("message", Be);
@@ -2505,19 +2507,19 @@ function Ot(t, e, i) {
2505
2507
  const Ii = () => {
2506
2508
  window.postMessage({ type: "HideCashierModal" }, window.location.href);
2507
2509
  }, Ri = () => {
2508
- i(30, L = null), i(25, le = null), ee.set(null), Ci(), i(39, D = !1), _(), Ie();
2509
- }, Le = () => {
2510
- i(24, oe = !1);
2510
+ i(30, Y = null), i(25, le = null), ee.set(null), Ci(), i(39, F = !1), _(), Ie();
2511
+ }, Ye = () => {
2512
+ i(24, oe = !1), i(40, K = !1);
2511
2513
  }, Be = (c) => {
2512
- if (c.data.type === "ShowSessionError" && i(29, ae = c.data.error), c.data.type === "ToggleDisableActionOnPage" && i(26, Q = c.data.disable), c.data.type === "ErrorResponseCode" && (i(30, L = c.data.errorResponseCode), P()), c.data.type === "ShowConfirmModal" && (i(24, oe = c.data.showConfirmModal), i(31, He = c.data.editedAmount), i(32, Ce = c.data.hideAmountField)), c.data.type === "RedirectInfo" && (i(25, le = c.data.redirectUrl), i(33, Ne = c.data.redirectMode), P()), c.data.type === "ShowCashierModal" && i(34, We = c.data.modalErrorMessage), c.data.type === "SessionExpired" && (i(30, L = Z.JwtTokenError), i(39, D = !0), Le(), he(), _()), c.data.type === "HidePaymentDetails" && Ji(c.data.details), c.data.type === "CloseModal" && Le(), c.data.type === "SelectPayMeth" && Ye(c.data.details), c.data.type === "Show2FAModal" && (i(39, D = !0), i(41, Je = c.data.RedirectUrl), i(40, j = !0), window.postMessage({ type: "ShowCashierModal" })), c.data.type === "DataLoading" && i(37, Ze = !c.data.isDataLoaded), c.data.type === "ShowCashierVideoModal") {
2513
- const S = J.getBoundingClientRect(), W = window.innerHeight || document.documentElement.clientHeight, C = Math.max(S.top, 0), Li = Math.min(S.bottom, W), Bi = Math.max(0, Li - C);
2514
+ if (c.data.type === "ShowSessionError" && i(29, ae = c.data.error), c.data.type === "ToggleDisableActionOnPage" && i(26, Q = c.data.disable), c.data.type === "ErrorResponseCode" && (i(30, Y = c.data.errorResponseCode), P()), c.data.type === "ShowConfirmModal" && (i(24, oe = c.data.showConfirmModal), i(31, He = c.data.editedAmount), i(32, Ce = c.data.hideAmountField)), c.data.type === "RedirectInfo" && (i(25, le = c.data.redirectUrl), i(33, Ne = c.data.redirectMode), P()), c.data.type === "ShowCashierModal" && i(34, We = c.data.modalErrorMessage), c.data.type === "SessionExpired" && (i(30, Y = Z.JwtTokenError), i(39, F = !0), Ye(), he(), _()), c.data.type === "HidePaymentDetails" && Ji(c.data.details), c.data.type === "CloseModal" && (Ye(), window.postMessage({ type: "EnableScroll" }, window.location.href)), c.data.type === "SelectPayMeth" && Le(c.data.details), c.data.type === "Show2FAModal" && (i(39, F = !0), i(41, Je = c.data.RedirectUrl), i(40, K = !0), window.postMessage({ type: "ShowCashierModal" }), window.postMessage({ type: "DisableScroll" }, window.location.href)), c.data.type === "DataLoading" && i(37, Ze = !c.data.isDataLoaded), c.data.type === "ShowCashierVideoModal") {
2515
+ const S = J.getBoundingClientRect(), W = window.innerHeight || document.documentElement.clientHeight, C = Math.max(S.top, 0), Yi = Math.min(S.bottom, W), Bi = Math.max(0, Yi - C);
2514
2516
  he(`${Bi}px`);
2515
2517
  }
2516
2518
  c.data.type === "ClosedCashierVideoModal" && he(), c.data.ResponseCode === "Success" && c.data.ValidationNonce && (window.postMessage({
2517
2519
  type: "2FAResponse",
2518
2520
  code: c.data.ValidationNonce
2519
- }), i(40, j = !1), i(39, D = !1)), c.data.ResponseCode === "CancelledByCustomer" && (i(40, j = !1), i(39, D = !1), i(26, Q = !1), window.postMessage({ type: "2FACancel" })), c.data.ResponseCode === "AuthenticationFailed" && (i(40, j = !1), i(39, D = !1), i(26, Q = !1), window.postMessage({ type: "2FAAuthFailed" }));
2520
- }, he = (c = K) => {
2521
+ }), i(40, K = !1), i(39, F = !1)), c.data.ResponseCode === "CancelledByCustomer" && (i(40, K = !1), i(39, F = !1), i(26, Q = !1), window.postMessage({ type: "2FACancel" })), c.data.ResponseCode === "AuthenticationFailed" && (i(40, K = !1), i(39, F = !1), i(26, Q = !1), window.postMessage({ type: "2FAAuthFailed" }));
2522
+ }, he = (c = q) => {
2521
2523
  i(38, fe = c), J.style.setProperty("--mmw-cashier-page-height", fe);
2522
2524
  };
2523
2525
  function zi(c) {
@@ -2525,30 +2527,30 @@ function Ot(t, e, i) {
2525
2527
  J = c, i(19, J);
2526
2528
  });
2527
2529
  }
2528
- function Yi() {
2529
- U = this.clientWidth, i(20, U);
2530
+ function Li() {
2531
+ G = this.clientWidth, i(20, G);
2530
2532
  }
2531
2533
  return t.$$set = (c) => {
2532
- "endpoint" in c && i(0, l = c.endpoint), "session" in c && i(1, h = c.session), "lang" in c && i(2, f = c.lang), "local" in c && i(3, p = c.local), "translationurl" in c && i(4, w = c.translationurl), "successurl" in c && i(47, d = c.successurl), "failurl" in c && i(48, a = c.failurl), "cancelurl" in c && i(49, m = c.cancelurl), "customerid" in c && i(5, E = c.customerid), "currency" in c && i(6, q = c.currency), "amount" in c && i(7, F = c.amount), "assetsurl" in c && i(8, N = c.assetsurl), "type" in c && i(9, k = c.type), "channel" in c && i(50, H = c.channel), "showheader" in c && i(10, ve = c.showheader), "numberofmethodsshown" in c && i(11, Ee = c.numberofmethodsshown), "clientstyling" in c && i(12, V = c.clientstyling), "clientstylingurl" in c && i(13, X = c.clientstylingurl), "showsessionexpirationmodal" in c && i(14, Me = c.showsessionexpirationmodal), "showverifications" in c && i(15, ke = c.showverifications), "showtransactionhistory" in c && i(16, Te = c.showtransactionhistory), "showclosebutton" in c && i(17, Se = c.showclosebutton), "txncount" in c && i(18, Oe = c.txncount);
2534
+ "endpoint" in c && i(0, l = c.endpoint), "session" in c && i(1, h = c.session), "lang" in c && i(2, f = c.lang), "local" in c && i(3, p = c.local), "translationurl" in c && i(4, w = c.translationurl), "successurl" in c && i(47, d = c.successurl), "failurl" in c && i(48, a = c.failurl), "cancelurl" in c && i(49, m = c.cancelurl), "customerid" in c && i(5, M = c.customerid), "currency" in c && i(6, U = c.currency), "amount" in c && i(7, D = c.amount), "assetsurl" in c && i(8, N = c.assetsurl), "type" in c && i(9, k = c.type), "channel" in c && i(50, H = c.channel), "showheader" in c && i(10, ve = c.showheader), "numberofmethodsshown" in c && i(11, Ee = c.numberofmethodsshown), "clientstyling" in c && i(12, V = c.clientstyling), "clientstylingurl" in c && i(13, X = c.clientstylingurl), "showsessionexpirationmodal" in c && i(14, Me = c.showsessionexpirationmodal), "showverifications" in c && i(15, ke = c.showverifications), "showtransactionhistory" in c && i(16, Te = c.showtransactionhistory), "showclosebutton" in c && i(17, Se = c.showclosebutton), "txncount" in c && i(18, Oe = c.txncount);
2533
2535
  }, t.$$.update = () => {
2534
2536
  t.$$.dirty[0] & /*endpoint, session, customerid, lang, type*/
2535
2537
  551 | t.$$.dirty[1] & /*channel, successurl, failurl, cancelurl*/
2536
- 983040 && l && h && E && f && H && k && d && a && m && Ie(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2538
+ 983040 && l && h && M && f && H && k && d && a && m && Ie(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2537
2539
  528384 && V && J && Wi(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2538
2540
  532480 && X && J && Zi(), t.$$.dirty[0] & /*lang*/
2539
2541
  4 && f && Oi(), t.$$.dirty[0] & /*lang*/
2540
2542
  4 && f && P(), t.$$.dirty[0] & /*lang, translationurl*/
2541
2543
  20 && f && w && Hi(), t.$$.dirty[0] & /*widgetWidth*/
2542
- 1048576 && U && Ni();
2544
+ 1048576 && G && Ni();
2543
2545
  }, [
2544
2546
  l,
2545
2547
  h,
2546
2548
  f,
2547
2549
  p,
2548
2550
  w,
2549
- E,
2550
- q,
2551
- F,
2551
+ M,
2552
+ U,
2553
+ D,
2552
2554
  N,
2553
2555
  k,
2554
2556
  ve,
@@ -2561,17 +2563,17 @@ function Ot(t, e, i) {
2561
2563
  Se,
2562
2564
  Oe,
2563
2565
  J,
2564
- U,
2566
+ G,
2565
2567
  o,
2566
- Y,
2568
+ L,
2567
2569
  se,
2568
2570
  oe,
2569
2571
  le,
2570
2572
  Q,
2571
2573
  x,
2572
- G,
2574
+ j,
2573
2575
  ae,
2574
- L,
2576
+ Y,
2575
2577
  He,
2576
2578
  Ce,
2577
2579
  Ne,
@@ -2580,8 +2582,8 @@ function Ot(t, e, i) {
2580
2582
  ue,
2581
2583
  Ze,
2582
2584
  fe,
2583
- D,
2584
- j,
2585
+ F,
2586
+ K,
2585
2587
  Je,
2586
2588
  n,
2587
2589
  s,
@@ -2593,7 +2595,7 @@ function Ot(t, e, i) {
2593
2595
  m,
2594
2596
  H,
2595
2597
  zi,
2596
- Yi
2598
+ Li
2597
2599
  ];
2598
2600
  }
2599
2601
  class Ht extends Ui {