@everymatrix/cashier-page 1.69.75 → 1.69.104

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 (69) hide show
  1. package/components/{CashierCarousel-DIW7ewty.js → CashierCarousel-6PpXL5Qp.js} +1387 -1339
  2. package/components/CashierCarousel-Cd1TzgE8.cjs +23 -0
  3. package/components/{CashierCarousel-BRCPA28j.js → CashierCarousel-CukH4aEC.js} +1325 -1277
  4. package/components/{CashierError-CDQHYcyq.cjs → CashierError-BbxnJqdU.cjs} +1 -1
  5. package/components/{CashierError-2l9bXeE4.js → CashierError-CfHBjTAV.js} +1 -1
  6. package/components/{CashierError-CaZfsv_b.js → CashierError-DUp1jL7u.js} +1 -1
  7. package/components/CashierHeader-BAQT942H.cjs +1 -0
  8. package/components/{CashierHeader-CRdaTXXF.js → CashierHeader-DppgdJvh.js} +4 -4
  9. package/components/{CashierHeader-BIvpeMbT.js → CashierHeader-mNIfX_8X.js} +4 -4
  10. package/components/{CashierIframeRedirect-Cdt_4X-f.js → CashierIframeRedirect-CUNGOWqF.js} +29 -29
  11. package/components/CashierIframeRedirect-D16g3FOL.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CYbcbdD6.js → CashierIframeRedirect-OFn0nnKy.js} +29 -29
  13. package/components/{CashierMethodDetails-Crc38ib5.js → CashierMethodDetails-BYNgkyXG.js} +1566 -1537
  14. package/components/CashierMethodDetails-D6dPCYFG.cjs +85 -0
  15. package/components/{CashierMethodDetails-CmHvEe-1.js → CashierMethodDetails-DfoHgNtY.js} +1713 -1684
  16. package/components/CashierMethodsList-CuMP4TC9.cjs +1 -0
  17. package/components/CashierMethodsList-Di9Oe4JI.js +691 -0
  18. package/components/CashierMethodsList-mN4PR-DW.js +703 -0
  19. package/components/CashierModal-C19ykcBp.js +237 -0
  20. package/components/CashierModal-fzrJshmv.cjs +1 -0
  21. package/components/CashierModal-tHIgxmTG.js +237 -0
  22. package/components/{CashierNotifications-BW_5BkiD.js → CashierNotifications-B4mMHPzM.js} +1 -1
  23. package/components/{CashierNotifications-C3_w1GoO.js → CashierNotifications-C9N_cyjp.js} +1 -1
  24. package/components/{CashierNotifications-DPPdTfhe.cjs → CashierNotifications-TCeibGW7.cjs} +1 -1
  25. package/components/CashierPage-Bz-x5NYC.js +2832 -0
  26. package/components/CashierPage-CKSxChJM.cjs +1 -0
  27. package/components/CashierPage-CS_ZG6Xb.js +2832 -0
  28. package/components/CashierReceiptPage-CiPr9s04.cjs +26 -0
  29. package/components/{CashierReceiptPage-DcrR4cFI.js → CashierReceiptPage-D3bSdrMR.js} +690 -652
  30. package/components/{CashierReceiptPage-Cdpi_dhQ.js → CashierReceiptPage-nV_QGl-h.js} +735 -673
  31. package/components/{CashierSessionExpirationModal-BuRX5Ibg.js → CashierSessionExpirationModal-DPlehL-t.js} +31 -31
  32. package/components/CashierSessionExpirationModal-Dex-iDiX.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DbZJRvvF.js → CashierSessionExpirationModal-XOwOZhfl.js} +31 -31
  34. package/components/{CashierSpinner-DTePmdlJ.js → CashierSpinner-BQgydcZ_.js} +1 -1
  35. package/components/{CashierSpinner-DsjTlCAT.js → CashierSpinner-CzYDxJhX.js} +1 -1
  36. package/components/{CashierSpinner-CmkhBExd.cjs → CashierSpinner-DxJ8w6Oz.cjs} +1 -1
  37. package/components/{CashierTransactionHistory-DGxSVtrZ.js → CashierTransactionHistory-BE1joO9K.js} +27 -27
  38. package/components/{CashierTransactionHistory-BW7qdJ8o.js → CashierTransactionHistory-BWy9gkLT.js} +27 -27
  39. package/components/CashierTransactionHistory-TKDNzqMX.cjs +1 -0
  40. package/components/{CashierVerifications-BPvYz1I1.js → CashierVerifications-AUHQ5YBD.js} +106 -106
  41. package/components/CashierVerifications-BC3_kyP4.cjs +1 -0
  42. package/components/{CashierVerifications-Dzg3GMUR.js → CashierVerifications-Cz6thwea.js} +126 -126
  43. package/components/{TxnStatusIcon-CluG8nB2.cjs → TxnStatusIcon-BhLc40xR.cjs} +1 -1
  44. package/components/{TxnStatusIcon-CacWIjyU.js → TxnStatusIcon-C9Qf16Sv.js} +1 -1
  45. package/components/{TxnStatusIcon-DEE4mf59.js → TxnStatusIcon-CllgBQ_-.js} +1 -1
  46. package/components/{TxnTypeIcons-CCHGRfM4.js → TxnTypeIcons-D5s1NIcq.js} +1 -1
  47. package/components/{TxnTypeIcons-DzkNiw5U.cjs → TxnTypeIcons-DTmlDMr_.cjs} +1 -1
  48. package/components/{TxnTypeIcons-Dwq4VQE8.js → TxnTypeIcons-lLjMKCFg.js} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +2 -2
  51. package/esnext/cashier-page.js +2 -2
  52. package/package.json +1 -1
  53. package/components/CashierCarousel-BrO7Jjq7.cjs +0 -23
  54. package/components/CashierHeader-CYloyBeJ.cjs +0 -1
  55. package/components/CashierIframeRedirect-DHwRIV5D.cjs +0 -1
  56. package/components/CashierMethodDetails-DdksHLNn.cjs +0 -85
  57. package/components/CashierMethodsList-BXhWqHwQ.js +0 -733
  58. package/components/CashierMethodsList-CXLOO8AC.cjs +0 -1
  59. package/components/CashierMethodsList-CiYrKrpc.js +0 -745
  60. package/components/CashierModal-8fVxVksu.cjs +0 -1
  61. package/components/CashierModal-Bf-5kofx.js +0 -268
  62. package/components/CashierModal-DYVVV-kg.js +0 -268
  63. package/components/CashierPage-CD1jfPWY.js +0 -2724
  64. package/components/CashierPage-CwhswjBN.cjs +0 -1
  65. package/components/CashierPage-EE5oS0EE.js +0 -2724
  66. package/components/CashierReceiptPage-CtcB2_3R.cjs +0 -26
  67. package/components/CashierSessionExpirationModal-BAazKpCR.cjs +0 -2
  68. package/components/CashierTransactionHistory-Dz-EIYCr.cjs +0 -1
  69. package/components/CashierVerifications-CkX6-wMt.cjs +0 -1
@@ -1,2724 +0,0 @@
1
- import { a as jt, i as Ut, $ as Gt, E as Kt, S as Xt, b as qt, s as Jt, f as S, c as Qt, G as Le, e as v, o as m, V as me, k as _, l as w, a2 as Zt, m as h, n as O, K as xt, p as it, q as $t, N as ei, r as ti, M as Te, y as he, A as n, v as H, w as z, x as te, Q as st, z as Y, F as ii } from "./CashierCarousel-DIW7ewty.js";
2
- import { d as nt, u as si, x as fe, a as ni } from "./CashierMethodDetails-Crc38ib5.js";
3
- import "./CashierIframeRedirect-Cdt_4X-f.js";
4
- import "../stencil/ui-image-DIEeZy5u.js";
5
- import "../stencil/ui-skeleton-4-zrLsIW.js";
6
- function ot(i, e) {
7
- jt(i, e);
8
- }
9
- function oi(i) {
10
- Ut({
11
- fallbackLocale: "en"
12
- }), Gt.set(i);
13
- }
14
- const rt = {
15
- en: {
16
- loading: "Loading...",
17
- closeModal: "CLOSE",
18
- continueSession: "CONTINUE",
19
- refreshPage: "Try Again",
20
- sessionExpiredTitle: "Session Expired!",
21
- sessionExpiredText: "Your session has ended. We apologize for any inconvenience. Please click the button to continue.",
22
- maintenanceText: "Payment Methods are currently closed for scheduled maintenance.",
23
- maintenanceTitle: "We’ll Be Back Soon",
24
- setDepositLimit: "SET A DEPOSIT LIMIT",
25
- header: {
26
- deposit: "Deposit",
27
- withdraw: "Withdrawal"
28
- },
29
- deposit: {
30
- makeTxnButton: "DEPOSIT",
31
- confirmText: "You're going to deposit to your account",
32
- confirmTextWithAmount: "You're going to deposit {amount} to your account",
33
- confirmButton: "OK"
34
- },
35
- withdraw: {
36
- makeTxnButton: "WITHDRAW",
37
- confirmText: "You're going to withdraw from your account",
38
- confirmTextWithAmount: "You're going to withdraw {amount} from your account",
39
- confirmButton: "OK"
40
- }
41
- },
42
- hr: {
43
- loading: "Učitavanje",
44
- closeModal: "CLOSE",
45
- continueSession: "CONTINUE",
46
- sessionExpiredTitle: "Session Expired!",
47
- sessionExpiredText: "Your session has ended. We apologize for any inconvenience. Please click the button to continue.",
48
- maintenanceText: "We are down for a scheduled maintenance and expect to be back online in a few minutes",
49
- maintenanceTitle: "We’ll Be Back Soon",
50
- setDepositLimit: "POSTAVI OGRANIČENJE DEPOZITA",
51
- header: {
52
- deposit: "Uplata",
53
- withdraw: "Povlačenje"
54
- },
55
- deposit: {
56
- makeTxnButton: "DEPOSIT",
57
- confirmText: "You're going to deposit to your account",
58
- confirmTextWithAmount: "You're going to deposit {amount} to your account",
59
- confirmButton: "OK"
60
- },
61
- withdraw: {
62
- makeTxnButton: "WITHDRAW",
63
- confirmText: "You're going to withdraw from your account",
64
- confirmTextWithAmount: "You're going to withdraw {amount} from your account",
65
- confirmButton: "OK"
66
- }
67
- },
68
- tr: {
69
- loading: "Yükleniyor...",
70
- closeModal: "KAPAT",
71
- continueSession: "DEVAM ET",
72
- refreshPage: "Tekrar deneyin",
73
- sessionExpiredTitle: "Oturumun Süresi Doldu!",
74
- sessionExpiredText: "Oturumunuz sona erdi. Herhangi bir rahatsızlıktan dolayı özür dileriz. Devam etmek için lütfen butona tıklayın.",
75
- maintenanceText: "Ödeme Yöntemleri planlanmış bakım nedeniyle şu anda kapalı.",
76
- maintenanceTitle: "Yakında Geri Döneceğiz",
77
- setDepositLimit: "BİR PARA YATIRMA LİMİTİ AYARLA",
78
- header: {
79
- deposit: "Para Yatır",
80
- withdraw: "Çekim"
81
- },
82
- deposit: {
83
- makeTxnButton: "PARA YATIR",
84
- confirmText: "Hesabınıza yatırıyorsunuz",
85
- confirmTextWithAmount: "Hesabınıza {amount} yatırıyorsunuz",
86
- confirmButton: "PARA YATIRMAYI ONAYLA"
87
- },
88
- withdraw: {
89
- makeTxnButton: "ÇEKIM",
90
- confirmText: "Hesabınızdan çekiyorsunuz",
91
- confirmTextWithAmount: "Hesabınıza {amount} yatırıyorsunuz",
92
- confirmButton: "PARA ÇEKIMINI ONAYLA"
93
- }
94
- }
95
- };
96
- var _t = /* @__PURE__ */ ((i) => (i.Deposit = "Deposit", i.Withdraw = "Withdraw", i))(_t || {}), Mt = /* @__PURE__ */ ((i) => (i.Desktop = "Desktop", i.Mobile = "Mobile", i.NativeApp = "NativeApp", i))(Mt || {}), Z = /* @__PURE__ */ ((i) => (i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError", i.Maintenance = "Maintenance", i.InvalidSession = "InvalidSession", i))(Z || {}), Ct = /* @__PURE__ */ ((i) => (i[i.InvalidSession = 1] = "InvalidSession", i))(Ct || {});
97
- let re = 0, ae = 0, ge = !1, ri = 50, X = window.innerWidth, F, L, pe, J = !1, x = null;
98
- const ai = () => pe?.clientWidth || document.documentElement.clientWidth || window.innerWidth, De = () => {
99
- X = ai();
100
- }, li = (i, e, t, s) => {
101
- F = i, L = e, pe = t, J = s, F.addEventListener("resize", De), De();
102
- }, $ = (i) => `${Math.round(i)}px`, ci = () => {
103
- St(), J ? (F.style.transition = "transform 0.3s ease", L.style.transition = "transform 0.3s ease", F.style.transform = "translate3d(0,0,0)", L.style.transform = `translate3d(${$(X)},0,0)`, L.classList.add("Visible"), F.classList.add("DetailsOpen"), L.offsetHeight, requestAnimationFrame(() => {
104
- F.style.transform = `translate3d(${$(-X)},0,0)`, L.style.transform = "translate3d(0,0,0)";
105
- }), setTimeout(() => {
106
- di();
107
- }, 300)) : (L.classList.add("Visible"), F.classList.add("Shrink"), L.style.transition = "transform 0.8s");
108
- }, Pe = () => {
109
- St(), J ? (F.style.transition = "transform 0.3s ease", L.style.transition = "transform 0.3s ease", F.style.transform = "translate3d(0,0,0)", L.style.transform = `translate3d(${$(X)},0,0)`, setTimeout(() => {
110
- L.classList.remove("Visible"), F.classList.remove("DetailsOpen"), L.style.transition = "none", F.style.transition = "none", L.removeAttribute("style"), F.removeAttribute("style");
111
- }, 300)) : (L.classList.remove("Visible"), L.style.transition = "none", F.style.transition = "none", L.removeAttribute("style"), F.removeAttribute("style"), F.classList.remove("Shrink")), window.postMessage({ type: "BackCashier" }, window.location.href), ui();
112
- }, St = () => {
113
- pe && (pe.scrollTop = 0), document.body.scrollTop = 0, document.documentElement.scrollTop = 0;
114
- }, di = () => {
115
- J && (L.addEventListener("touchstart", Et, { passive: !1 }), L.addEventListener("touchmove", Tt, { passive: !1 }), L.addEventListener("touchend", Lt, { passive: !1 }));
116
- }, ui = () => {
117
- L.removeEventListener("touchstart", Et), L.removeEventListener("touchmove", Tt), L.removeEventListener("touchend", Lt), x && (clearTimeout(x), x = null);
118
- }, Et = (i) => {
119
- J && (De(), re = i.touches[0].clientX, ae = re, ge = !1, F.style.transition = "none", L.style.transition = "none");
120
- }, Tt = (i) => {
121
- if (!J)
122
- return;
123
- ae = i.touches[0].clientX;
124
- const e = ae - re;
125
- if (e > 0) {
126
- ge = !0, i.preventDefault();
127
- const s = Math.min(e, X), o = -X + s;
128
- F.style.transform = `translate3d(${$(o)},0,0)`, L.style.transform = `translate3d(${$(s)},0,0)`;
129
- }
130
- }, Lt = () => {
131
- if (!J)
132
- return;
133
- const i = ae - re, e = Math.abs(i) / 300;
134
- F.style.transition = "transform 0.3s ease", L.style.transition = "transform 0.3s ease";
135
- const t = i > ri || i > X * 0.3 || e > 0.5;
136
- ge && (t ? Pe() : (F.style.transform = `translate3d(${$(-X)},0,0)`, L.style.transform = "translate3d(0,0,0)")), ge = !1, re = 0, ae = 0, x && clearTimeout(x), x = setTimeout(() => {
137
- L.classList.contains("Visible") || (F.style.transform = "", L.style.transform = "");
138
- }, 300);
139
- };
140
- if (typeof window < "u") {
141
- let i = function(e) {
142
- return function(...t) {
143
- try {
144
- return e.apply(this, t);
145
- } catch (s) {
146
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
147
- return !1;
148
- throw s;
149
- }
150
- };
151
- };
152
- customElements.define = i(customElements.define), import("./CashierCarousel-DIW7ewty.js").then((e) => e.aa).then(({ default: e }) => {
153
- !customElements.get("cashier-carousel") && customElements.define("cashier-carousel", e.element);
154
- });
155
- }
156
- if (typeof window < "u") {
157
- let i = function(e) {
158
- return function(...t) {
159
- try {
160
- return e.apply(this, t);
161
- } catch (s) {
162
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
163
- return !1;
164
- throw s;
165
- }
166
- };
167
- };
168
- customElements.define = i(customElements.define), import("./CashierVerifications-BPvYz1I1.js").then(({ default: e }) => {
169
- !customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
170
- });
171
- }
172
- if (typeof window < "u") {
173
- let i = function(e) {
174
- return function(...t) {
175
- try {
176
- return e.apply(this, t);
177
- } catch (s) {
178
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
179
- return !1;
180
- throw s;
181
- }
182
- };
183
- };
184
- customElements.define = i(customElements.define), import("./CashierMethodsList-BXhWqHwQ.js").then(({ default: e }) => {
185
- !customElements.get("cashier-methods-list") && customElements.define("cashier-methods-list", e.element);
186
- });
187
- }
188
- if (typeof window < "u") {
189
- let i = function(e) {
190
- return function(...t) {
191
- try {
192
- return e.apply(this, t);
193
- } catch (s) {
194
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
195
- return !1;
196
- throw s;
197
- }
198
- };
199
- };
200
- customElements.define = i(customElements.define), import("./CashierMethodDetails-Crc38ib5.js").then((e) => e.C).then(({ default: e }) => {
201
- !customElements.get("cashier-method-details") && customElements.define("cashier-method-details", e.element);
202
- });
203
- }
204
- if (typeof window < "u") {
205
- let i = function(e) {
206
- return function(...t) {
207
- try {
208
- return e.apply(this, t);
209
- } catch (s) {
210
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
211
- return !1;
212
- throw s;
213
- }
214
- };
215
- };
216
- customElements.define = i(customElements.define), import("./CashierIframeRedirect-Cdt_4X-f.js").then(({ default: e }) => {
217
- !customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", e.element);
218
- });
219
- }
220
- if (typeof window < "u") {
221
- let i = function(e) {
222
- return function(...t) {
223
- try {
224
- return e.apply(this, t);
225
- } catch (s) {
226
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
227
- return !1;
228
- throw s;
229
- }
230
- };
231
- };
232
- customElements.define = i(customElements.define), import("./CashierSessionExpirationModal-BuRX5Ibg.js").then(({ default: e }) => {
233
- !customElements.get("cashier-session-expiration-modal") && customElements.define("cashier-session-expiration-modal", e.element);
234
- });
235
- }
236
- if (typeof window < "u") {
237
- let i = function(e) {
238
- return function(...t) {
239
- try {
240
- return e.apply(this, t);
241
- } catch (s) {
242
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
243
- return !1;
244
- throw s;
245
- }
246
- };
247
- };
248
- customElements.define = i(customElements.define), import("./CashierTransactionHistory-DGxSVtrZ.js").then(({ default: e }) => {
249
- !customElements.get("cashier-transaction-history") && customElements.define("cashier-transaction-history", e.element);
250
- });
251
- }
252
- function mi(i) {
253
- Qt(i, "svelte-1k0q92g", ":host{display:block;height:100%}.Iframe2FA{width:100%;min-width:300px;border:0px;display:flex;align-items:center}.CashierMethodDetailsWrapper{will-change:transform;touch-action:pan-y}.CashierMethodListWrapper{will-change:transform}.PaymentMethodsSkeleton{margin:0 auto;background:var(--emw--color-background, #23281F);position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;overflow:hidden}.SkeletonTitle{height:18px;width:60%;border-radius:6px;margin:20px auto 12px}.SkeletonSubtitle{height:12px;width:80%;border-radius:4px;margin:0 auto 20px}.SkeletonFavoriteSection{margin-bottom:20px}.SkeletonSectionTitle{height:16px;width:45%;border-radius:4px;margin-bottom:6px}.SkeletonSectionSubtitle{height:12px;width:70%;border-radius:4px;margin-bottom:16px}.SkeletonMethodsGrid{display:flex;overflow:hidden;gap:12px;margin-bottom:16px;justify-content:center;align-items:center}.SkeletonMethodCard{background:linear-gradient(165deg, color-mix(in srgb, var(--emw--color-primary, #FFCE00) 30%, transparent) 5%, color-mix(in srgb, var(--emw--color-background) 90%, transparent) 60%);box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:10px;height:190px;min-width:100px}.SkeletonMethodCard.Main{height:220px;min-width:130px}.SkeletonMethodIcon{width:32px;height:32px;border-radius:6px;margin-bottom:4px}.SkeletonMethodName{height:16px;width:75%;border-radius:4px}.SkeletonMethodType{height:12px;width:60%;border-radius:3px}.SkeletonMethodLimits{height:10px;width:85%;border-radius:3px;margin-top:auto}.SkeletonPagination{display:flex;justify-content:center;gap:6px;margin-bottom:20px}.SkeletonDot{width:8px;height:8px;border-radius:50%}.SkeletonOtherMethodsGrid{display:grid;grid-template-columns:repeat(3, 1fr);gap:12px}.SkeletonOtherMethodCard{background:linear-gradient(165deg, color-mix(in srgb, var(--emw--color-white, #ffffff) 30%, transparent) 5%, color-mix(in srgb, var(--emw--color-background) 90%, transparent) 60%);border-radius:8px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05);height:135px}.SkeletonOtherMethodIcon{width:24px;height:24px;border-radius:4px}.SkeletonOtherMethodName{height:14px;width:70%;border-radius:3px}.SkeletonOtherMethodLimits{height:10px;width:85%;border-radius:3px}.SkeletonBadge{height:16px;width:40px;border-radius:8px;margin-top:auto}.shimmer{background:linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}.BlockFormattingContext{width:100%;height:100%;position:relative;background:var(--emw--color-background, #23281F)}.ImagePlaceholder{width:auto;height:300px;background:#E6E6E6}.DepositLimitButton{font-size:12px;width:100%;display:flex;justify-content:center;align-items:center;margin:10px auto}.DepositLimitButton img{height:16px;width:16px;margin:0 10px}.DepositLimitButton button{padding:10px 0;width:100%;background-color:transparent;color:var(--emw--color-primary, #F9C405);border-radius:10px;border:2px solid var(--emw--color-primary, #F9C405)}.ListAndDetailsContainer{position:relative;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none}.ListAndDetailsContainer::-webkit-scrollbar{display:none}@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}.BonusModalContent{display:flex;flex-direction:column;margin:20px 0;color:var(--emw--color-typography, #fff)}.BonusModalContent .CashierBonusModalTitle{font-weight:bold}.BonusModalContent .CashierBonusModalText{padding-top:10px}.BonusModalContent .CashierBonusModalURL{padding-top:10px}.BonusModalContent .CashierBonusModalURL a{text-decoration:none;color:var(--emw--color-primary, #c3c3c3)}.CashierPageWidget{container-type:inline-size;container-name:deposit-page;height:var(--emw-cashier-page-height, var(--emw-cashier-page-height, 100%));position:relative;box-sizing:border-box;background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F))}.CashierPageWidget:has(.Header){background-color:var(--emw--color-background, #F9FAFF);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(--emw--header-height, 40px))}.CashierPageWidget:has(.Header) .DisablePage{top:var(--emw--header-height, 40px)}.CashierPageWidget:has(.Header) cashier-error{display:block;overflow-y:auto;scrollbar-gutter:stable both-edges;height:calc(100% - var(--emw--header-height, 40px))}.CashierVerificationsMobile{display:none}.CashierVerificationsMethodList{display:block;border-radius:var(--emw--border-radius-medium-plus, 6px)}.Content{height:100%;position:relative}.CashierMethodListWrapper{height:100%;box-sizing:border-box;scrollbar-gutter:stable both-edges;display:flex;flex-direction:column}.CashierMethodListWrapper::-webkit-scrollbar{border-right:none}.CashierMethodListWrapper.WithoutScroll{overflow:hidden}.BothSections .CashierMethodDetailsWrapper{height:100%;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:10px;justify-content:center;background-color:var(--emw--color-background, #F9FAFF)}.BothSections .CashierMethodDetailsWrapper.Visible{transform:translate3d(0, 0, 0)}.BothSections .CashierMethodListWrapper::-webkit-scrollbar{border-right:1px solid var(--emw--color-gray-100, #E0E0E0)}.CashierPage{position:relative;display:flex;flex-direction:column;background-color:var(--emw--color-background, #F9FAFF)}.CashierPage::-webkit-scrollbar{display:none}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)}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));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-typography-button, #000000);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, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img,.CashierErrorIcon ui-image img{width:300px}.CashierMethodListWrapper{flex:1;max-width:100%}.CashierMethodListWrapper.Shrink{flex:0.5;padding:0 10px}.CashierMethodDetailsWrapper{flex:0;display:none}.CashierMethodDetailsWrapper.Visible{flex:0.5;display:block}.MobileView .CashierVerificationsMobile{display:block}.MobileView .CashierVerificationsMethodList{display:none}@media(min-width: 750px){.CashierMethodListWrapper,.PaymentMethodsSkeleton{max-width:60%}.PaymentMethodsSkeleton{left:20%}}@media(min-width: 1500px){.CashierMethodListWrapper,.CashierMethodDetailsWrapper.Visible,.PaymentMethodsSkeleton{max-width:40%}.PaymentMethodsSkeleton{left:30%}}@container deposit-page (max-width:750px){.CashierPage,.BothSections .CashierPage{flex-direction:column;justify-content:flex-start;gap:0;position:relative;height:100%}.CashierPage ::-webkit-scrollbar,.BothSections .CashierPage ::-webkit-scrollbar{display:none}.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:max-content}.CashierPageWidget.FixedHeight{--emw-cashier-page-height-padding:65px;height:var(--emw-cashier-page-height, calc(var(--emw-cashier-page-height, 100%) - var(--emw-cashier-page-height-padding)))}.CashierMethodListWrapper.DetailsOpen{flex:1}.CashierMethodDetailsWrapper{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-background, var(--emw--color-white, #ffffff))}.CashierMethodListWrapper.Shrink{display:none}}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalOkButton{color:var(--emw--color-black, #000000);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:10px;line-height:125%;text-transform:capitalize;background-color:var(--emw--color-primary, #F9C405);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalOkButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}.ModalOkButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.CashierConfirmModalText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);align-self:center}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column;gap:20px;margin-top:20px}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}@container (max-width: 475px){.CashierVideo{position:relative;top:10px}}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--emw--color-grey-105, #E8E9EB)}::-webkit-scrollbar-thumb:hover{background:var(--emw--color-grey-290, #666)}");
254
- }
255
- function at(i) {
256
- let e;
257
- return {
258
- c() {
259
- e = h("div"), e.innerHTML = '<div class="SkeletonTitle shimmer"></div> <div class="SkeletonSubtitle shimmer"></div> <div class="SkeletonFavoriteSection"><div class="SkeletonMethodsGrid"><div class="SkeletonMethodCard"><div class="SkeletonMethodIcon shimmer"></div> <div class="SkeletonMethodName shimmer"></div> <div class="SkeletonMethodType shimmer"></div> <div class="SkeletonMethodLimits shimmer"></div></div> <div class="SkeletonMethodCard Main"><div class="SkeletonMethodIcon shimmer"></div> <div class="SkeletonMethodName shimmer"></div> <div class="SkeletonMethodType shimmer"></div> <div class="SkeletonMethodLimits shimmer"></div></div> <div class="SkeletonMethodCard"><div class="SkeletonMethodIcon shimmer"></div> <div class="SkeletonMethodName shimmer"></div> <div class="SkeletonMethodType shimmer"></div> <div class="SkeletonMethodLimits shimmer"></div></div></div> <div class="SkeletonPagination"><div class="SkeletonDot shimmer"></div> <div class="SkeletonDot shimmer"></div> <div class="SkeletonDot shimmer"></div></div></div> <div class="SkeletonSectionTitle shimmer"></div> <div class="SkeletonSectionSubtitle shimmer"></div> <div class="SkeletonOtherMethodsGrid"><div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div></div>', m(e, "class", "PaymentMethodsSkeleton");
260
- },
261
- m(t, s) {
262
- _(t, e, s);
263
- },
264
- d(t) {
265
- t && v(e);
266
- }
267
- };
268
- }
269
- function lt(i) {
270
- let e;
271
- return {
272
- c() {
273
- e = h("div"), m(e, "class", "DisablePage");
274
- },
275
- m(t, s) {
276
- _(t, e, s);
277
- },
278
- d(t) {
279
- t && v(e);
280
- }
281
- };
282
- }
283
- function ct(i) {
284
- let e, t, s, o = !!/*showheader*/
285
- i[10] && /*showheader*/
286
- i[10] !== "false" && dt(i), a = (
287
- /*redirectUrl*/
288
- i[42] && /*redirectMode*/
289
- i[46] === /*RedirectionModeStringEnum*/
290
- i[39].Default && !/*errorMessage*/
291
- i[34] && !/*errorResponseCode*/
292
- i[35] && ut(i)
293
- ), c = !!/*showsessionexpirationmodal*/
294
- i[15] && /*showsessionexpirationmodal*/
295
- i[15] !== "false" && mt(i);
296
- return {
297
- c() {
298
- o && o.c(), e = O(), a && a.c(), t = O(), c && c.c(), s = ti();
299
- },
300
- m(l, d) {
301
- o && o.m(l, d), _(l, e, d), a && a.m(l, d), _(l, t, d), c && c.m(l, d), _(l, s, d);
302
- },
303
- p(l, d) {
304
- /*showheader*/
305
- l[10] && /*showheader*/
306
- l[10] !== "false" ? o ? o.p(l, d) : (o = dt(l), o.c(), o.m(e.parentNode, e)) : o && (o.d(1), o = null), /*redirectUrl*/
307
- l[42] && /*redirectMode*/
308
- l[46] === /*RedirectionModeStringEnum*/
309
- l[39].Default && !/*errorMessage*/
310
- l[34] && !/*errorResponseCode*/
311
- l[35] ? a ? a.p(l, d) : (a = ut(l), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null), /*showsessionexpirationmodal*/
312
- l[15] && /*showsessionexpirationmodal*/
313
- l[15] !== "false" ? c ? c.p(l, d) : (c = mt(l), c.c(), c.m(s.parentNode, s)) : c && (c.d(1), c = null);
314
- },
315
- d(l) {
316
- l && (v(e), v(t), v(s)), o && o.d(l), a && a.d(l), c && c.d(l);
317
- }
318
- };
319
- }
320
- function dt(i) {
321
- let e;
322
- return {
323
- c() {
324
- e = h("cashier-header"), n(e, "class", "Header"), n(
325
- e,
326
- "lang",
327
- /*lang*/
328
- i[2]
329
- ), n(
330
- e,
331
- "translationurl",
332
- /*translationurl*/
333
- i[4]
334
- ), n(
335
- e,
336
- "clientstylingurl",
337
- /*clientstylingurl*/
338
- i[13]
339
- ), n(
340
- e,
341
- "title",
342
- /*title*/
343
- i[47]
344
- ), n(
345
- e,
346
- "clientstyling",
347
- /*clientstyling*/
348
- i[12]
349
- ), n(
350
- e,
351
- "showbackbutton",
352
- /*showHeaderBack*/
353
- i[48]
354
- ), n(
355
- e,
356
- "showclosebutton",
357
- /*showclosebutton*/
358
- i[18]
359
- );
360
- },
361
- m(t, s) {
362
- _(t, e, s);
363
- },
364
- p(t, s) {
365
- s[0] & /*lang*/
366
- 4 && n(
367
- e,
368
- "lang",
369
- /*lang*/
370
- t[2]
371
- ), s[0] & /*translationurl*/
372
- 16 && n(
373
- e,
374
- "translationurl",
375
- /*translationurl*/
376
- t[4]
377
- ), s[0] & /*clientstylingurl*/
378
- 8192 && n(
379
- e,
380
- "clientstylingurl",
381
- /*clientstylingurl*/
382
- t[13]
383
- ), s[1] & /*title*/
384
- 65536 && n(
385
- e,
386
- "title",
387
- /*title*/
388
- t[47]
389
- ), s[0] & /*clientstyling*/
390
- 4096 && n(
391
- e,
392
- "clientstyling",
393
- /*clientstyling*/
394
- t[12]
395
- ), s[1] & /*showHeaderBack*/
396
- 131072 && n(
397
- e,
398
- "showbackbutton",
399
- /*showHeaderBack*/
400
- t[48]
401
- ), s[0] & /*showclosebutton*/
402
- 262144 && n(
403
- e,
404
- "showclosebutton",
405
- /*showclosebutton*/
406
- t[18]
407
- );
408
- },
409
- d(t) {
410
- t && v(e);
411
- }
412
- };
413
- }
414
- function ut(i) {
415
- let e, t;
416
- return {
417
- c() {
418
- e = h("div"), t = h("cashier-iframe-redirect"), n(
419
- t,
420
- "lang",
421
- /*lang*/
422
- i[2]
423
- ), n(
424
- t,
425
- "translationurl",
426
- /*translationurl*/
427
- i[4]
428
- ), n(
429
- t,
430
- "title",
431
- /*title*/
432
- i[47]
433
- ), n(
434
- t,
435
- "clientstylingurl",
436
- /*clientstylingurl*/
437
- i[13]
438
- ), n(
439
- t,
440
- "clientstyling",
441
- /*clientstyling*/
442
- i[12]
443
- ), n(
444
- t,
445
- "showbackbutton",
446
- /*showheader*/
447
- i[10]
448
- ), n(
449
- t,
450
- "iframeurl",
451
- /*redirectUrl*/
452
- i[42]
453
- ), m(e, "class", "IframeRedirect");
454
- },
455
- m(s, o) {
456
- _(s, e, o), w(e, t);
457
- },
458
- p(s, o) {
459
- o[0] & /*lang*/
460
- 4 && n(
461
- t,
462
- "lang",
463
- /*lang*/
464
- s[2]
465
- ), o[0] & /*translationurl*/
466
- 16 && n(
467
- t,
468
- "translationurl",
469
- /*translationurl*/
470
- s[4]
471
- ), o[1] & /*title*/
472
- 65536 && n(
473
- t,
474
- "title",
475
- /*title*/
476
- s[47]
477
- ), o[0] & /*clientstylingurl*/
478
- 8192 && n(
479
- t,
480
- "clientstylingurl",
481
- /*clientstylingurl*/
482
- s[13]
483
- ), o[0] & /*clientstyling*/
484
- 4096 && n(
485
- t,
486
- "clientstyling",
487
- /*clientstyling*/
488
- s[12]
489
- ), o[0] & /*showheader*/
490
- 1024 && n(
491
- t,
492
- "showbackbutton",
493
- /*showheader*/
494
- s[10]
495
- ), o[1] & /*redirectUrl*/
496
- 2048 && n(
497
- t,
498
- "iframeurl",
499
- /*redirectUrl*/
500
- s[42]
501
- );
502
- },
503
- d(s) {
504
- s && v(e);
505
- }
506
- };
507
- }
508
- function mt(i) {
509
- let e, t;
510
- return {
511
- c() {
512
- e = h("cashier-session-expiration-modal"), n(
513
- e,
514
- "assetsurl",
515
- /*assetsurl*/
516
- i[8]
517
- ), n(
518
- e,
519
- "translationurl",
520
- /*translationurl*/
521
- i[4]
522
- ), n(
523
- e,
524
- "clientstylingurl",
525
- /*clientstylingurl*/
526
- i[13]
527
- ), n(
528
- e,
529
- "clientstyling",
530
- /*clientstyling*/
531
- i[12]
532
- ), n(
533
- e,
534
- "lang",
535
- /*lang*/
536
- i[2]
537
- ), n(
538
- e,
539
- "local",
540
- /*local*/
541
- i[3]
542
- ), n(
543
- e,
544
- "endpoint",
545
- /*endpoint*/
546
- i[0]
547
- ), n(
548
- e,
549
- "currency",
550
- /*currency*/
551
- i[6]
552
- ), n(
553
- e,
554
- "customerid",
555
- /*customerid*/
556
- i[5]
557
- ), n(e, "selectedpaymentmethodname", t = /*selectedPaymentMethod*/
558
- i[40].Name);
559
- },
560
- m(s, o) {
561
- _(s, e, o);
562
- },
563
- p(s, o) {
564
- o[0] & /*assetsurl*/
565
- 256 && n(
566
- e,
567
- "assetsurl",
568
- /*assetsurl*/
569
- s[8]
570
- ), o[0] & /*translationurl*/
571
- 16 && n(
572
- e,
573
- "translationurl",
574
- /*translationurl*/
575
- s[4]
576
- ), o[0] & /*clientstylingurl*/
577
- 8192 && n(
578
- e,
579
- "clientstylingurl",
580
- /*clientstylingurl*/
581
- s[13]
582
- ), o[0] & /*clientstyling*/
583
- 4096 && n(
584
- e,
585
- "clientstyling",
586
- /*clientstyling*/
587
- s[12]
588
- ), o[0] & /*lang*/
589
- 4 && n(
590
- e,
591
- "lang",
592
- /*lang*/
593
- s[2]
594
- ), o[0] & /*local*/
595
- 8 && n(
596
- e,
597
- "local",
598
- /*local*/
599
- s[3]
600
- ), o[0] & /*endpoint*/
601
- 1 && n(
602
- e,
603
- "endpoint",
604
- /*endpoint*/
605
- s[0]
606
- ), o[0] & /*currency*/
607
- 64 && n(
608
- e,
609
- "currency",
610
- /*currency*/
611
- s[6]
612
- ), o[0] & /*customerid*/
613
- 32 && n(
614
- e,
615
- "customerid",
616
- /*customerid*/
617
- s[5]
618
- ), o[1] & /*selectedPaymentMethod*/
619
- 512 && t !== (t = /*selectedPaymentMethod*/
620
- s[40].Name) && n(e, "selectedpaymentmethodname", t);
621
- },
622
- d(s) {
623
- s && v(e);
624
- }
625
- };
626
- }
627
- function hi(i) {
628
- let e, t, s = !/*errorResponseCode*/
629
- i[35] && ht(i);
630
- function o(l, d) {
631
- return (
632
- /*errorResponseCode*/
633
- l[35] === Z.JwtTokenError ? bi : (
634
- /*errorResponseCode*/
635
- l[35] === Z.Maintenance ? pi : gi
636
- )
637
- );
638
- }
639
- let a = o(i), c = a(i);
640
- return {
641
- c() {
642
- e = h("cashier-error"), s && s.c(), t = O(), c.c(), n(
643
- e,
644
- "lang",
645
- /*lang*/
646
- i[2]
647
- ), n(
648
- e,
649
- "assetsurl",
650
- /*assetsurl*/
651
- i[8]
652
- ), n(
653
- e,
654
- "translationurl",
655
- /*translationurl*/
656
- i[4]
657
- ), n(
658
- e,
659
- "clientstylingurl",
660
- /*clientstylingurl*/
661
- i[13]
662
- ), n(
663
- e,
664
- "clientstyling",
665
- /*clientstyling*/
666
- i[12]
667
- ), n(
668
- e,
669
- "errorcode",
670
- /*errorResponseCode*/
671
- i[35]
672
- );
673
- },
674
- m(l, d) {
675
- _(l, e, d), s && s.m(e, null), w(e, t), c.m(e, null);
676
- },
677
- p(l, d) {
678
- /*errorResponseCode*/
679
- l[35] ? s && (s.d(1), s = null) : s ? s.p(l, d) : (s = ht(l), s.c(), s.m(e, t)), a === (a = o(l)) && c ? c.p(l, d) : (c.d(1), c = a(l), c && (c.c(), c.m(e, null))), d[0] & /*lang*/
680
- 4 && n(
681
- e,
682
- "lang",
683
- /*lang*/
684
- l[2]
685
- ), d[0] & /*assetsurl*/
686
- 256 && n(
687
- e,
688
- "assetsurl",
689
- /*assetsurl*/
690
- l[8]
691
- ), d[0] & /*translationurl*/
692
- 16 && n(
693
- e,
694
- "translationurl",
695
- /*translationurl*/
696
- l[4]
697
- ), d[0] & /*clientstylingurl*/
698
- 8192 && n(
699
- e,
700
- "clientstylingurl",
701
- /*clientstylingurl*/
702
- l[13]
703
- ), d[0] & /*clientstyling*/
704
- 4096 && n(
705
- e,
706
- "clientstyling",
707
- /*clientstyling*/
708
- l[12]
709
- ), d[1] & /*errorResponseCode*/
710
- 16 && n(
711
- e,
712
- "errorcode",
713
- /*errorResponseCode*/
714
- l[35]
715
- );
716
- },
717
- d(l) {
718
- l && v(e), s && s.d(), c.d();
719
- }
720
- };
721
- }
722
- function fi(i) {
723
- let e, t, s, o, a, c, l, d, u, g, b, f, y, p, D, M = (
724
- /*$xPaymentSessionToken*/
725
- i[55] && gt(i)
726
- ), C = !!/*showverifications*/
727
- i[16] && /*showverifications*/
728
- i[16] !== "false" && /*$xPaymentSessionToken*/
729
- i[55] && /*session*/
730
- i[1] && pt(i), E = !!/*showtransactionhistory*/
731
- i[17] && /*showtransactionhistory*/
732
- i[17] !== "false" && bt(i), P = (
733
- /*$xPaymentSessionToken*/
734
- i[55] && wt(i)
735
- ), W = (
736
- /*$xPaymentSessionToken*/
737
- i[55] && vt(i)
738
- );
739
- function j(k, I) {
740
- if (
741
- /*modalState*/
742
- k[51] === "confirm"
743
- )
744
- return Ci;
745
- if (
746
- /*modalState*/
747
- k[51] === "error"
748
- )
749
- return Mi;
750
- if (
751
- /*modalState*/
752
- k[51] === "video"
753
- )
754
- return _i;
755
- if (
756
- /*modalState*/
757
- k[51] === "bonusDescription"
758
- )
759
- return vi;
760
- if (
761
- /*modalState*/
762
- k[51] === "2fa"
763
- )
764
- return ki;
765
- }
766
- let B = j(i), T = B && B(i);
767
- return {
768
- c() {
769
- e = h("div"), t = h("div"), s = h("div"), M && M.c(), o = O(), C && C.c(), a = O(), E && E.c(), c = O(), P && P.c(), d = O(), u = h("div"), W && W.c(), b = O(), f = h("cashier-modal"), y = h("div"), T && T.c(), m(s, "class", l = /*dynamicHeight*/
770
- i[50] !== ee ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper"), m(u, "class", "CashierMethodDetailsWrapper"), m(t, "class", "ListAndDetailsContainer"), m(e, "class", "CashierPage"), m(e, "style", g = /*isLoading*/
771
- i[49] ? "display: none;" : ""), m(y, "slot", "content"), m(y, "class", "ModalContentContainer"), n(f, "show", p = `${/*modalState*/
772
- i[51] !== "closed"}`), n(f, "modaltype", D = `${/*modalState*/
773
- i[51]}`), n(
774
- f,
775
- "clientstylingurl",
776
- /*clientstylingurl*/
777
- i[13]
778
- ), n(
779
- f,
780
- "clientstyling",
781
- /*clientstyling*/
782
- i[12]
783
- ), n(
784
- f,
785
- "mbsource",
786
- /*mbsource*/
787
- i[14]
788
- );
789
- },
790
- m(k, I) {
791
- _(k, e, I), w(e, t), w(t, s), M && M.m(s, null), w(s, o), C && C.m(s, null), w(s, a), E && E.m(s, null), w(s, c), P && P.m(s, null), i[65](s), w(t, d), w(t, u), W && W.m(u, null), i[66](u), i[67](e), _(k, b, I), _(k, f, I), w(f, y), T && T.m(y, null);
792
- },
793
- p(k, I) {
794
- /*$xPaymentSessionToken*/
795
- k[55] ? M ? M.p(k, I) : (M = gt(k), M.c(), M.m(s, o)) : M && (M.d(1), M = null), /*showverifications*/
796
- k[16] && /*showverifications*/
797
- k[16] !== "false" && /*$xPaymentSessionToken*/
798
- k[55] && /*session*/
799
- k[1] ? C ? C.p(k, I) : (C = pt(k), C.c(), C.m(s, a)) : C && (C.d(1), C = null), /*showtransactionhistory*/
800
- k[17] && /*showtransactionhistory*/
801
- k[17] !== "false" ? E ? E.p(k, I) : (E = bt(k), E.c(), E.m(s, c)) : E && (E.d(1), E = null), /*$xPaymentSessionToken*/
802
- k[55] ? P ? P.p(k, I) : (P = wt(k), P.c(), P.m(s, null)) : P && (P.d(1), P = null), I[1] & /*dynamicHeight*/
803
- 524288 && l !== (l = /*dynamicHeight*/
804
- k[50] !== ee ? "WithoutScroll CashierMethodListWrapper" : "CashierMethodListWrapper") && m(s, "class", l), /*$xPaymentSessionToken*/
805
- k[55] ? W ? W.p(k, I) : (W = vt(k), W.c(), W.m(u, null)) : W && (W.d(1), W = null), I[1] & /*isLoading*/
806
- 262144 && g !== (g = /*isLoading*/
807
- k[49] ? "display: none;" : "") && m(e, "style", g), B === (B = j(k)) && T ? T.p(k, I) : (T && T.d(1), T = B && B(k), T && (T.c(), T.m(y, null))), I[1] & /*modalState*/
808
- 1048576 && p !== (p = `${/*modalState*/
809
- k[51] !== "closed"}`) && n(f, "show", p), I[1] & /*modalState*/
810
- 1048576 && D !== (D = `${/*modalState*/
811
- k[51]}`) && n(f, "modaltype", D), I[0] & /*clientstylingurl*/
812
- 8192 && n(
813
- f,
814
- "clientstylingurl",
815
- /*clientstylingurl*/
816
- k[13]
817
- ), I[0] & /*clientstyling*/
818
- 4096 && n(
819
- f,
820
- "clientstyling",
821
- /*clientstyling*/
822
- k[12]
823
- ), I[0] & /*mbsource*/
824
- 16384 && n(
825
- f,
826
- "mbsource",
827
- /*mbsource*/
828
- k[14]
829
- );
830
- },
831
- d(k) {
832
- k && (v(e), v(b), v(f)), M && M.d(), C && C.d(), E && E.d(), P && P.d(), i[65](null), W && W.d(), i[66](null), i[67](null), T && T.d();
833
- }
834
- };
835
- }
836
- function ht(i) {
837
- let e, t;
838
- return {
839
- c() {
840
- e = h("span"), t = z(
841
- /*errorMessage*/
842
- i[34]
843
- ), m(e, "class", "CashierErrorText"), m(e, "slot", "text");
844
- },
845
- m(s, o) {
846
- _(s, e, o), w(e, t);
847
- },
848
- p(s, o) {
849
- o[1] & /*errorMessage*/
850
- 8 && H(
851
- t,
852
- /*errorMessage*/
853
- s[34]
854
- );
855
- },
856
- d(s) {
857
- s && v(e);
858
- }
859
- };
860
- }
861
- function gi(i) {
862
- let e, t = (
863
- /*$_*/
864
- i[56]("refreshPage") + ""
865
- ), s, o, a;
866
- return {
867
- c() {
868
- e = h("button"), s = z(t), m(e, "slot", "button"), m(e, "class", "CashierErrorButton");
869
- },
870
- m(c, l) {
871
- _(c, e, l), w(e, s), o || (a = te(
872
- e,
873
- "click",
874
- /*renewSession*/
875
- i[57]
876
- ), o = !0);
877
- },
878
- p(c, l) {
879
- l[1] & /*$_*/
880
- 33554432 && t !== (t = /*$_*/
881
- c[56]("refreshPage") + "") && H(s, t);
882
- },
883
- d(c) {
884
- c && v(e), o = !1, a();
885
- }
886
- };
887
- }
888
- function pi(i) {
889
- let e, t, s, o = (
890
- /*$_*/
891
- i[56]("maintenanceTitle") + ""
892
- ), a, c, l, d = (
893
- /*$_*/
894
- i[56]("maintenanceText") + ""
895
- ), u;
896
- function g(y, p) {
897
- return (
898
- /*assetsurl*/
899
- y[8] ? yi : wi
900
- );
901
- }
902
- let b = g(i), f = b(i);
903
- return {
904
- c() {
905
- e = h("div"), f.c(), t = O(), s = h("span"), a = z(o), c = O(), l = h("span"), u = z(d), m(e, "slot", "icon"), m(e, "class", "CashierErrorIcon"), m(s, "slot", "title"), m(s, "class", "CashierErrorTitle"), m(l, "slot", "text"), m(l, "class", "CashierErrorText");
906
- },
907
- m(y, p) {
908
- _(y, e, p), f.m(e, null), _(y, t, p), _(y, s, p), w(s, a), _(y, c, p), _(y, l, p), w(l, u);
909
- },
910
- p(y, p) {
911
- b === (b = g(y)) && f ? f.p(y, p) : (f.d(1), f = b(y), f && (f.c(), f.m(e, null))), p[1] & /*$_*/
912
- 33554432 && o !== (o = /*$_*/
913
- y[56]("maintenanceTitle") + "") && H(a, o), p[1] & /*$_*/
914
- 33554432 && d !== (d = /*$_*/
915
- y[56]("maintenanceText") + "") && H(u, d);
916
- },
917
- d(y) {
918
- y && (v(e), v(t), v(s), v(c), v(l)), f.d();
919
- }
920
- };
921
- }
922
- function bi(i) {
923
- let e, t, s, o = (
924
- /*$_*/
925
- i[56]("sessionExpiredTitle") + ""
926
- ), a, c, l, d = (
927
- /*$_*/
928
- i[56]("sessionExpiredText") + ""
929
- ), u, g, b, f = (
930
- /*$_*/
931
- i[56]("continueSession") + ""
932
- ), y, p, D, M = (
933
- /*assetsurl*/
934
- i[8] && ft(i)
935
- );
936
- return {
937
- c() {
938
- e = h("div"), M && M.c(), t = O(), s = h("span"), a = z(o), c = O(), l = h("span"), u = z(d), g = O(), b = h("button"), y = z(f), m(e, "slot", "icon"), m(e, "class", "CashierErrorIcon"), m(s, "slot", "title"), m(s, "class", "CashierErrorTitle"), m(l, "slot", "text"), m(l, "class", "CashierErrorText"), m(b, "slot", "button"), m(b, "class", "CashierErrorButton");
939
- },
940
- m(C, E) {
941
- _(C, e, E), M && M.m(e, null), _(C, t, E), _(C, s, E), w(s, a), _(C, c, E), _(C, l, E), w(l, u), _(C, g, E), _(C, b, E), w(b, y), p || (D = te(
942
- b,
943
- "click",
944
- /*renewSession*/
945
- i[57]
946
- ), p = !0);
947
- },
948
- p(C, E) {
949
- /*assetsurl*/
950
- C[8] ? M ? M.p(C, E) : (M = ft(C), M.c(), M.m(e, null)) : M && (M.d(1), M = null), E[1] & /*$_*/
951
- 33554432 && o !== (o = /*$_*/
952
- C[56]("sessionExpiredTitle") + "") && H(a, o), E[1] & /*$_*/
953
- 33554432 && d !== (d = /*$_*/
954
- C[56]("sessionExpiredText") + "") && H(u, d), E[1] & /*$_*/
955
- 33554432 && f !== (f = /*$_*/
956
- C[56]("continueSession") + "") && H(y, f);
957
- },
958
- d(C) {
959
- C && (v(e), v(t), v(s), v(c), v(l), v(g), v(b)), M && M.d(), p = !1, D();
960
- }
961
- };
962
- }
963
- function wi(i) {
964
- let e;
965
- return {
966
- c() {
967
- e = h("div"), m(e, "class", "ImagePlaceholder Maintenance");
968
- },
969
- m(t, s) {
970
- _(t, e, s);
971
- },
972
- p: Le,
973
- d(t) {
974
- t && v(e);
975
- }
976
- };
977
- }
978
- function yi(i) {
979
- let e, t;
980
- return {
981
- c() {
982
- e = h("ui-image"), Y(e.src, t = `${/*assetsurl*/
983
- i[8]}/maintenance.png`) || n(e, "src", t), n(e, "width", "300px"), n(e, "alt", "error");
984
- },
985
- m(s, o) {
986
- _(s, e, o);
987
- },
988
- p(s, o) {
989
- o[0] & /*assetsurl*/
990
- 256 && !Y(e.src, t = `${/*assetsurl*/
991
- s[8]}/maintenance.png`) && n(e, "src", t);
992
- },
993
- d(s) {
994
- s && v(e);
995
- }
996
- };
997
- }
998
- function ft(i) {
999
- let e, t;
1000
- return {
1001
- c() {
1002
- e = h("ui-image"), Y(e.src, t = `${/*assetsurl*/
1003
- i[8]}/session-expired-icon.png`) || n(e, "src", t), n(e, "width", "300px"), n(e, "alt", "error");
1004
- },
1005
- m(s, o) {
1006
- _(s, e, o);
1007
- },
1008
- p(s, o) {
1009
- o[0] & /*assetsurl*/
1010
- 256 && !Y(e.src, t = `${/*assetsurl*/
1011
- s[8]}/session-expired-icon.png`) && n(e, "src", t);
1012
- },
1013
- d(s) {
1014
- s && v(e);
1015
- }
1016
- };
1017
- }
1018
- function gt(i) {
1019
- let e;
1020
- return {
1021
- c() {
1022
- e = h("cashier-carousel"), n(
1023
- e,
1024
- "lang",
1025
- /*lang*/
1026
- i[2]
1027
- ), n(
1028
- e,
1029
- "local",
1030
- /*local*/
1031
- i[3]
1032
- ), n(
1033
- e,
1034
- "currency",
1035
- /*currency*/
1036
- i[6]
1037
- ), n(
1038
- e,
1039
- "currencydecimals",
1040
- /*currencydecimals*/
1041
- i[21]
1042
- ), n(
1043
- e,
1044
- "currencysymbol",
1045
- /*currencysymbol*/
1046
- i[29]
1047
- ), n(
1048
- e,
1049
- "currencyposition",
1050
- /*currencyposition*/
1051
- i[30]
1052
- );
1053
- },
1054
- m(t, s) {
1055
- _(t, e, s);
1056
- },
1057
- p(t, s) {
1058
- s[0] & /*lang*/
1059
- 4 && n(
1060
- e,
1061
- "lang",
1062
- /*lang*/
1063
- t[2]
1064
- ), s[0] & /*local*/
1065
- 8 && n(
1066
- e,
1067
- "local",
1068
- /*local*/
1069
- t[3]
1070
- ), s[0] & /*currency*/
1071
- 64 && n(
1072
- e,
1073
- "currency",
1074
- /*currency*/
1075
- t[6]
1076
- ), s[0] & /*currencydecimals*/
1077
- 2097152 && n(
1078
- e,
1079
- "currencydecimals",
1080
- /*currencydecimals*/
1081
- t[21]
1082
- ), s[0] & /*currencysymbol*/
1083
- 536870912 && n(
1084
- e,
1085
- "currencysymbol",
1086
- /*currencysymbol*/
1087
- t[29]
1088
- ), s[0] & /*currencyposition*/
1089
- 1073741824 && n(
1090
- e,
1091
- "currencyposition",
1092
- /*currencyposition*/
1093
- t[30]
1094
- );
1095
- },
1096
- d(t) {
1097
- t && v(e);
1098
- }
1099
- };
1100
- }
1101
- function pt(i) {
1102
- let e;
1103
- return {
1104
- c() {
1105
- e = h("cashier-verifications"), n(e, "class", "CashierVerificationsMethodList"), n(
1106
- e,
1107
- "lang",
1108
- /*lang*/
1109
- i[2]
1110
- ), n(
1111
- e,
1112
- "translationurl",
1113
- /*translationurl*/
1114
- i[4]
1115
- ), n(
1116
- e,
1117
- "endpoint",
1118
- /*endpoint*/
1119
- i[0]
1120
- ), n(
1121
- e,
1122
- "clientstylingurl",
1123
- /*clientstylingurl*/
1124
- i[13]
1125
- ), n(
1126
- e,
1127
- "clientstyling",
1128
- /*clientstyling*/
1129
- i[12]
1130
- ), n(
1131
- e,
1132
- "customerid",
1133
- /*customerid*/
1134
- i[5]
1135
- ), n(
1136
- e,
1137
- "playersession",
1138
- /*session*/
1139
- i[1]
1140
- );
1141
- },
1142
- m(t, s) {
1143
- _(t, e, s);
1144
- },
1145
- p(t, s) {
1146
- s[0] & /*lang*/
1147
- 4 && n(
1148
- e,
1149
- "lang",
1150
- /*lang*/
1151
- t[2]
1152
- ), s[0] & /*translationurl*/
1153
- 16 && n(
1154
- e,
1155
- "translationurl",
1156
- /*translationurl*/
1157
- t[4]
1158
- ), s[0] & /*endpoint*/
1159
- 1 && n(
1160
- e,
1161
- "endpoint",
1162
- /*endpoint*/
1163
- t[0]
1164
- ), s[0] & /*clientstylingurl*/
1165
- 8192 && n(
1166
- e,
1167
- "clientstylingurl",
1168
- /*clientstylingurl*/
1169
- t[13]
1170
- ), s[0] & /*clientstyling*/
1171
- 4096 && n(
1172
- e,
1173
- "clientstyling",
1174
- /*clientstyling*/
1175
- t[12]
1176
- ), s[0] & /*customerid*/
1177
- 32 && n(
1178
- e,
1179
- "customerid",
1180
- /*customerid*/
1181
- t[5]
1182
- ), s[0] & /*session*/
1183
- 2 && n(
1184
- e,
1185
- "playersession",
1186
- /*session*/
1187
- t[1]
1188
- );
1189
- },
1190
- d(t) {
1191
- t && v(e);
1192
- }
1193
- };
1194
- }
1195
- function bt(i) {
1196
- let e, t;
1197
- return {
1198
- c() {
1199
- e = h("div"), t = h("cashier-transaction-history"), n(
1200
- t,
1201
- "lang",
1202
- /*lang*/
1203
- i[2]
1204
- ), n(
1205
- t,
1206
- "translationurl",
1207
- /*translationurl*/
1208
- i[4]
1209
- ), n(
1210
- t,
1211
- "endpoint",
1212
- /*endpoint*/
1213
- i[0]
1214
- ), n(
1215
- t,
1216
- "customerid",
1217
- /*customerid*/
1218
- i[5]
1219
- ), n(
1220
- t,
1221
- "clientstylingurl",
1222
- /*clientstylingurl*/
1223
- i[13]
1224
- ), n(
1225
- t,
1226
- "clientstyling",
1227
- /*clientstyling*/
1228
- i[12]
1229
- ), n(
1230
- t,
1231
- "txncount",
1232
- /*txncount*/
1233
- i[19]
1234
- ), n(
1235
- t,
1236
- "session",
1237
- /*session*/
1238
- i[1]
1239
- ), n(
1240
- t,
1241
- "dateformat",
1242
- /*dateformat*/
1243
- i[23]
1244
- ), n(
1245
- t,
1246
- "datetimeformat",
1247
- /*datetimeformat*/
1248
- i[24]
1249
- ), n(
1250
- t,
1251
- "columns",
1252
- /*transactionhistorycolumns*/
1253
- i[22]
1254
- ), n(t, "isshorttransactionhistory", "true"), m(e, "class", "TransactionHistoryWrapper");
1255
- },
1256
- m(s, o) {
1257
- _(s, e, o), w(e, t);
1258
- },
1259
- p(s, o) {
1260
- o[0] & /*lang*/
1261
- 4 && n(
1262
- t,
1263
- "lang",
1264
- /*lang*/
1265
- s[2]
1266
- ), o[0] & /*translationurl*/
1267
- 16 && n(
1268
- t,
1269
- "translationurl",
1270
- /*translationurl*/
1271
- s[4]
1272
- ), o[0] & /*endpoint*/
1273
- 1 && n(
1274
- t,
1275
- "endpoint",
1276
- /*endpoint*/
1277
- s[0]
1278
- ), o[0] & /*customerid*/
1279
- 32 && n(
1280
- t,
1281
- "customerid",
1282
- /*customerid*/
1283
- s[5]
1284
- ), o[0] & /*clientstylingurl*/
1285
- 8192 && n(
1286
- t,
1287
- "clientstylingurl",
1288
- /*clientstylingurl*/
1289
- s[13]
1290
- ), o[0] & /*clientstyling*/
1291
- 4096 && n(
1292
- t,
1293
- "clientstyling",
1294
- /*clientstyling*/
1295
- s[12]
1296
- ), o[0] & /*txncount*/
1297
- 524288 && n(
1298
- t,
1299
- "txncount",
1300
- /*txncount*/
1301
- s[19]
1302
- ), o[0] & /*session*/
1303
- 2 && n(
1304
- t,
1305
- "session",
1306
- /*session*/
1307
- s[1]
1308
- ), o[0] & /*dateformat*/
1309
- 8388608 && n(
1310
- t,
1311
- "dateformat",
1312
- /*dateformat*/
1313
- s[23]
1314
- ), o[0] & /*datetimeformat*/
1315
- 16777216 && n(
1316
- t,
1317
- "datetimeformat",
1318
- /*datetimeformat*/
1319
- s[24]
1320
- ), o[0] & /*transactionhistorycolumns*/
1321
- 4194304 && n(
1322
- t,
1323
- "columns",
1324
- /*transactionhistorycolumns*/
1325
- s[22]
1326
- );
1327
- },
1328
- d(s) {
1329
- s && v(e);
1330
- }
1331
- };
1332
- }
1333
- function wt(i) {
1334
- let e, t, s, o = (
1335
- /*type*/
1336
- i[9] === "Deposit" && /*depositlimitbutton*/
1337
- i[20] === "true" && (!/*showMethodDetailsPage*/
1338
- i[45] || !/*mobileView*/
1339
- i[41]) && yt(i)
1340
- );
1341
- return {
1342
- c() {
1343
- e = h("div"), t = h("cashier-methods-list"), s = O(), o && o.c(), n(
1344
- t,
1345
- "lang",
1346
- /*lang*/
1347
- i[2]
1348
- ), n(
1349
- t,
1350
- "local",
1351
- /*local*/
1352
- i[3]
1353
- ), n(
1354
- t,
1355
- "translationurl",
1356
- /*translationurl*/
1357
- i[4]
1358
- ), n(
1359
- t,
1360
- "endpoint",
1361
- /*endpoint*/
1362
- i[0]
1363
- ), n(
1364
- t,
1365
- "customerid",
1366
- /*customerid*/
1367
- i[5]
1368
- ), n(
1369
- t,
1370
- "currency",
1371
- /*currency*/
1372
- i[6]
1373
- ), n(
1374
- t,
1375
- "assetsurl",
1376
- /*assetsurl*/
1377
- i[8]
1378
- ), n(
1379
- t,
1380
- "ismobileview",
1381
- /*mobileView*/
1382
- i[41]
1383
- ), n(
1384
- t,
1385
- "clientstylingurl",
1386
- /*clientstylingurl*/
1387
- i[13]
1388
- ), n(
1389
- t,
1390
- "clientstyling",
1391
- /*clientstyling*/
1392
- i[12]
1393
- ), n(
1394
- t,
1395
- "currencydecimals",
1396
- /*currencydecimals*/
1397
- i[21]
1398
- ), n(
1399
- t,
1400
- "currencysymbol",
1401
- /*currencysymbol*/
1402
- i[29]
1403
- ), n(
1404
- t,
1405
- "currencyposition",
1406
- /*currencyposition*/
1407
- i[30]
1408
- ), n(
1409
- t,
1410
- "numberofmethodsshown",
1411
- /*numberofmethodsshown*/
1412
- i[11]
1413
- ), n(
1414
- t,
1415
- "playersession",
1416
- /*session*/
1417
- i[1]
1418
- ), m(e, "class", "MethodListWrapper");
1419
- },
1420
- m(a, c) {
1421
- _(a, e, c), w(e, t), w(e, s), o && o.m(e, null);
1422
- },
1423
- p(a, c) {
1424
- c[0] & /*lang*/
1425
- 4 && n(
1426
- t,
1427
- "lang",
1428
- /*lang*/
1429
- a[2]
1430
- ), c[0] & /*local*/
1431
- 8 && n(
1432
- t,
1433
- "local",
1434
- /*local*/
1435
- a[3]
1436
- ), c[0] & /*translationurl*/
1437
- 16 && n(
1438
- t,
1439
- "translationurl",
1440
- /*translationurl*/
1441
- a[4]
1442
- ), c[0] & /*endpoint*/
1443
- 1 && n(
1444
- t,
1445
- "endpoint",
1446
- /*endpoint*/
1447
- a[0]
1448
- ), c[0] & /*customerid*/
1449
- 32 && n(
1450
- t,
1451
- "customerid",
1452
- /*customerid*/
1453
- a[5]
1454
- ), c[0] & /*currency*/
1455
- 64 && n(
1456
- t,
1457
- "currency",
1458
- /*currency*/
1459
- a[6]
1460
- ), c[0] & /*assetsurl*/
1461
- 256 && n(
1462
- t,
1463
- "assetsurl",
1464
- /*assetsurl*/
1465
- a[8]
1466
- ), c[1] & /*mobileView*/
1467
- 1024 && n(
1468
- t,
1469
- "ismobileview",
1470
- /*mobileView*/
1471
- a[41]
1472
- ), c[0] & /*clientstylingurl*/
1473
- 8192 && n(
1474
- t,
1475
- "clientstylingurl",
1476
- /*clientstylingurl*/
1477
- a[13]
1478
- ), c[0] & /*clientstyling*/
1479
- 4096 && n(
1480
- t,
1481
- "clientstyling",
1482
- /*clientstyling*/
1483
- a[12]
1484
- ), c[0] & /*currencydecimals*/
1485
- 2097152 && n(
1486
- t,
1487
- "currencydecimals",
1488
- /*currencydecimals*/
1489
- a[21]
1490
- ), c[0] & /*currencysymbol*/
1491
- 536870912 && n(
1492
- t,
1493
- "currencysymbol",
1494
- /*currencysymbol*/
1495
- a[29]
1496
- ), c[0] & /*currencyposition*/
1497
- 1073741824 && n(
1498
- t,
1499
- "currencyposition",
1500
- /*currencyposition*/
1501
- a[30]
1502
- ), c[0] & /*numberofmethodsshown*/
1503
- 2048 && n(
1504
- t,
1505
- "numberofmethodsshown",
1506
- /*numberofmethodsshown*/
1507
- a[11]
1508
- ), c[0] & /*session*/
1509
- 2 && n(
1510
- t,
1511
- "playersession",
1512
- /*session*/
1513
- a[1]
1514
- ), /*type*/
1515
- a[9] === "Deposit" && /*depositlimitbutton*/
1516
- a[20] === "true" && (!/*showMethodDetailsPage*/
1517
- a[45] || !/*mobileView*/
1518
- a[41]) ? o ? o.p(a, c) : (o = yt(a), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
1519
- },
1520
- d(a) {
1521
- a && v(e), o && o.d();
1522
- }
1523
- };
1524
- }
1525
- function yt(i) {
1526
- let e, t, s, o = (
1527
- /*$_*/
1528
- i[56]("setDepositLimit") + ""
1529
- ), a, c, l, d = (
1530
- /*assetsurl*/
1531
- i[8] && kt(i)
1532
- );
1533
- return {
1534
- c() {
1535
- e = h("div"), d && d.c(), t = O(), s = h("button"), a = z(o), m(e, "class", "DepositLimitButton");
1536
- },
1537
- m(u, g) {
1538
- _(u, e, g), d && d.m(e, null), w(e, t), w(e, s), w(s, a), c || (l = te(
1539
- s,
1540
- "click",
1541
- /*handleDepositLimitClick*/
1542
- i[58]
1543
- ), c = !0);
1544
- },
1545
- p(u, g) {
1546
- /*assetsurl*/
1547
- u[8] ? d ? d.p(u, g) : (d = kt(u), d.c(), d.m(e, t)) : d && (d.d(1), d = null), g[1] & /*$_*/
1548
- 33554432 && o !== (o = /*$_*/
1549
- u[56]("setDepositLimit") + "") && H(a, o);
1550
- },
1551
- d(u) {
1552
- u && v(e), d && d.d(), c = !1, l();
1553
- }
1554
- };
1555
- }
1556
- function kt(i) {
1557
- let e, t;
1558
- return {
1559
- c() {
1560
- e = h("ui-image"), Y(e.src, t = `${/*assetsurl*/
1561
- i[8]}/set-limit-icon.svg`) || n(e, "src", t), n(e, "width", "16px"), n(e, "alt", "");
1562
- },
1563
- m(s, o) {
1564
- _(s, e, o);
1565
- },
1566
- p(s, o) {
1567
- o[0] & /*assetsurl*/
1568
- 256 && !Y(e.src, t = `${/*assetsurl*/
1569
- s[8]}/set-limit-icon.svg`) && n(e, "src", t);
1570
- },
1571
- d(s) {
1572
- s && v(e);
1573
- }
1574
- };
1575
- }
1576
- function vt(i) {
1577
- let e, t;
1578
- return {
1579
- c() {
1580
- e = h("cashier-method-details"), n(
1581
- e,
1582
- "lang",
1583
- /*lang*/
1584
- i[2]
1585
- ), n(
1586
- e,
1587
- "local",
1588
- /*local*/
1589
- i[3]
1590
- ), n(
1591
- e,
1592
- "translationurl",
1593
- /*translationurl*/
1594
- i[4]
1595
- ), n(
1596
- e,
1597
- "endpoint",
1598
- /*endpoint*/
1599
- i[0]
1600
- ), n(
1601
- e,
1602
- "customerid",
1603
- /*customerid*/
1604
- i[5]
1605
- ), n(
1606
- e,
1607
- "currency",
1608
- /*currency*/
1609
- i[6]
1610
- ), n(
1611
- e,
1612
- "amount",
1613
- /*amount*/
1614
- i[7]
1615
- ), n(
1616
- e,
1617
- "assetsurl",
1618
- /*assetsurl*/
1619
- i[8]
1620
- ), n(
1621
- e,
1622
- "type",
1623
- /*type*/
1624
- i[9]
1625
- ), n(
1626
- e,
1627
- "clientstylingurl",
1628
- /*clientstylingurl*/
1629
- i[13]
1630
- ), n(
1631
- e,
1632
- "clientstyling",
1633
- /*clientstyling*/
1634
- i[12]
1635
- ), n(
1636
- e,
1637
- "currencydecimals",
1638
- /*currencydecimals*/
1639
- i[21]
1640
- ), n(
1641
- e,
1642
- "currencysymbol",
1643
- /*currencysymbol*/
1644
- i[29]
1645
- ), n(
1646
- e,
1647
- "currencyposition",
1648
- /*currencyposition*/
1649
- i[30]
1650
- ), n(
1651
- e,
1652
- "customsucceessbuttons",
1653
- /*customsucceessbuttons*/
1654
- i[25]
1655
- ), n(
1656
- e,
1657
- "customfailedbuttons",
1658
- /*customfailedbuttons*/
1659
- i[27]
1660
- ), n(
1661
- e,
1662
- "custompendingbuttons",
1663
- /*custompendingbuttons*/
1664
- i[26]
1665
- ), n(
1666
- e,
1667
- "skipconfirmation",
1668
- /*skipconfirmation*/
1669
- i[28]
1670
- ), n(
1671
- e,
1672
- "depositlimitbutton",
1673
- /*depositlimitbutton*/
1674
- i[20]
1675
- ), n(
1676
- e,
1677
- "showbonuses",
1678
- /*showbonuses*/
1679
- i[31]
1680
- ), n(
1681
- e,
1682
- "ismobileview",
1683
- /*mobileView*/
1684
- i[41]
1685
- ), n(e, "selectedpaymentmethodname", t = /*selectedPaymentMethod*/
1686
- i[40].Name), n(
1687
- e,
1688
- "playersession",
1689
- /*session*/
1690
- i[1]
1691
- );
1692
- },
1693
- m(s, o) {
1694
- _(s, e, o);
1695
- },
1696
- p(s, o) {
1697
- o[0] & /*lang*/
1698
- 4 && n(
1699
- e,
1700
- "lang",
1701
- /*lang*/
1702
- s[2]
1703
- ), o[0] & /*local*/
1704
- 8 && n(
1705
- e,
1706
- "local",
1707
- /*local*/
1708
- s[3]
1709
- ), o[0] & /*translationurl*/
1710
- 16 && n(
1711
- e,
1712
- "translationurl",
1713
- /*translationurl*/
1714
- s[4]
1715
- ), o[0] & /*endpoint*/
1716
- 1 && n(
1717
- e,
1718
- "endpoint",
1719
- /*endpoint*/
1720
- s[0]
1721
- ), o[0] & /*customerid*/
1722
- 32 && n(
1723
- e,
1724
- "customerid",
1725
- /*customerid*/
1726
- s[5]
1727
- ), o[0] & /*currency*/
1728
- 64 && n(
1729
- e,
1730
- "currency",
1731
- /*currency*/
1732
- s[6]
1733
- ), o[0] & /*amount*/
1734
- 128 && n(
1735
- e,
1736
- "amount",
1737
- /*amount*/
1738
- s[7]
1739
- ), o[0] & /*assetsurl*/
1740
- 256 && n(
1741
- e,
1742
- "assetsurl",
1743
- /*assetsurl*/
1744
- s[8]
1745
- ), o[0] & /*type*/
1746
- 512 && n(
1747
- e,
1748
- "type",
1749
- /*type*/
1750
- s[9]
1751
- ), o[0] & /*clientstylingurl*/
1752
- 8192 && n(
1753
- e,
1754
- "clientstylingurl",
1755
- /*clientstylingurl*/
1756
- s[13]
1757
- ), o[0] & /*clientstyling*/
1758
- 4096 && n(
1759
- e,
1760
- "clientstyling",
1761
- /*clientstyling*/
1762
- s[12]
1763
- ), o[0] & /*currencydecimals*/
1764
- 2097152 && n(
1765
- e,
1766
- "currencydecimals",
1767
- /*currencydecimals*/
1768
- s[21]
1769
- ), o[0] & /*currencysymbol*/
1770
- 536870912 && n(
1771
- e,
1772
- "currencysymbol",
1773
- /*currencysymbol*/
1774
- s[29]
1775
- ), o[0] & /*currencyposition*/
1776
- 1073741824 && n(
1777
- e,
1778
- "currencyposition",
1779
- /*currencyposition*/
1780
- s[30]
1781
- ), o[0] & /*customsucceessbuttons*/
1782
- 33554432 && n(
1783
- e,
1784
- "customsucceessbuttons",
1785
- /*customsucceessbuttons*/
1786
- s[25]
1787
- ), o[0] & /*customfailedbuttons*/
1788
- 134217728 && n(
1789
- e,
1790
- "customfailedbuttons",
1791
- /*customfailedbuttons*/
1792
- s[27]
1793
- ), o[0] & /*custompendingbuttons*/
1794
- 67108864 && n(
1795
- e,
1796
- "custompendingbuttons",
1797
- /*custompendingbuttons*/
1798
- s[26]
1799
- ), o[0] & /*skipconfirmation*/
1800
- 268435456 && n(
1801
- e,
1802
- "skipconfirmation",
1803
- /*skipconfirmation*/
1804
- s[28]
1805
- ), o[0] & /*depositlimitbutton*/
1806
- 1048576 && n(
1807
- e,
1808
- "depositlimitbutton",
1809
- /*depositlimitbutton*/
1810
- s[20]
1811
- ), o[1] & /*showbonuses*/
1812
- 1 && n(
1813
- e,
1814
- "showbonuses",
1815
- /*showbonuses*/
1816
- s[31]
1817
- ), o[1] & /*mobileView*/
1818
- 1024 && n(
1819
- e,
1820
- "ismobileview",
1821
- /*mobileView*/
1822
- s[41]
1823
- ), o[1] & /*selectedPaymentMethod*/
1824
- 512 && t !== (t = /*selectedPaymentMethod*/
1825
- s[40].Name) && n(e, "selectedpaymentmethodname", t), o[0] & /*session*/
1826
- 2 && n(
1827
- e,
1828
- "playersession",
1829
- /*session*/
1830
- s[1]
1831
- );
1832
- },
1833
- d(s) {
1834
- s && v(e);
1835
- }
1836
- };
1837
- }
1838
- function ki(i) {
1839
- let e, t, s;
1840
- return {
1841
- c() {
1842
- e = h("div"), t = h("iframe"), m(
1843
- t,
1844
- "height",
1845
- /*iframeHeight*/
1846
- i[54]
1847
- ), m(t, "class", "Iframe2FA"), m(t, "title", "2FAiframe"), Y(t.src, s = /*url2FA*/
1848
- i[53]) || m(t, "src", s), m(e, "class", "BonusModalContent");
1849
- },
1850
- m(o, a) {
1851
- _(o, e, a), w(e, t);
1852
- },
1853
- p(o, a) {
1854
- a[1] & /*iframeHeight*/
1855
- 8388608 && m(
1856
- t,
1857
- "height",
1858
- /*iframeHeight*/
1859
- o[54]
1860
- ), a[1] & /*url2FA*/
1861
- 4194304 && !Y(t.src, s = /*url2FA*/
1862
- o[53]) && m(t, "src", s);
1863
- },
1864
- d(o) {
1865
- o && v(e);
1866
- }
1867
- };
1868
- }
1869
- function vi(i) {
1870
- let e, t, s = (
1871
- /*modalData*/
1872
- i[52].bonus.code + ""
1873
- ), o, a, c, l = (
1874
- /*modalData*/
1875
- i[52].bonus.description + ""
1876
- ), d, u, g, b, f = (
1877
- /*modalData*/
1878
- i[52].bonus.url + ""
1879
- ), y, p, D, M, C, E = (
1880
- /*$_*/
1881
- i[56](`${/*type*/
1882
- i[9].toLowerCase()}.confirmButton`) + ""
1883
- ), P, W, j;
1884
- return {
1885
- c() {
1886
- e = h("div"), t = h("span"), o = z(s), a = O(), c = h("span"), d = z(l), u = O(), g = h("span"), b = h("a"), y = z(f), D = O(), M = h("span"), C = h("button"), P = z(E), m(t, "class", "CashierBonusModalTitle"), m(c, "class", "CashierBonusModalText"), m(b, "href", p = /*modalData*/
1887
- i[52].bonus.url), m(g, "class", "CashierBonusModalURL"), m(e, "class", "BonusModalContent"), m(C, "class", "ModalOkButton"), m(M, "role", "button");
1888
- },
1889
- m(B, T) {
1890
- _(B, e, T), w(e, t), w(t, o), w(e, a), w(e, c), w(c, d), w(e, u), w(e, g), w(g, b), w(b, y), _(B, D, T), _(B, M, T), w(M, C), w(C, P), W || (j = te(
1891
- M,
1892
- "click",
1893
- /*closeModal*/
1894
- i[59]
1895
- ), W = !0);
1896
- },
1897
- p(B, T) {
1898
- T[1] & /*modalData*/
1899
- 2097152 && s !== (s = /*modalData*/
1900
- B[52].bonus.code + "") && H(o, s), T[1] & /*modalData*/
1901
- 2097152 && l !== (l = /*modalData*/
1902
- B[52].bonus.description + "") && H(d, l), T[1] & /*modalData*/
1903
- 2097152 && f !== (f = /*modalData*/
1904
- B[52].bonus.url + "") && H(y, f), T[1] & /*modalData*/
1905
- 2097152 && p !== (p = /*modalData*/
1906
- B[52].bonus.url) && m(b, "href", p), T[0] & /*type*/
1907
- 512 | T[1] & /*$_*/
1908
- 33554432 && E !== (E = /*$_*/
1909
- B[56](`${/*type*/
1910
- B[9].toLowerCase()}.confirmButton`) + "") && H(P, E);
1911
- },
1912
- d(B) {
1913
- B && (v(e), v(D), v(M)), W = !1, j();
1914
- }
1915
- };
1916
- }
1917
- function _i(i) {
1918
- let e, t, s, o;
1919
- return {
1920
- c() {
1921
- e = h("div"), t = h("video"), s = h("source"), Y(s.src, o = `${/*modalData*/
1922
- i[52].videoSrc}`) || m(s, "src", o), t.controls = !0, m(t, "controlslist", "nodownload"), m(t, "disablepictureinpicture", ""), m(e, "class", "CashierVideo");
1923
- },
1924
- m(a, c) {
1925
- _(a, e, c), w(e, t), w(t, s);
1926
- },
1927
- p(a, c) {
1928
- c[1] & /*modalData*/
1929
- 2097152 && !Y(s.src, o = `${/*modalData*/
1930
- a[52].videoSrc}`) && m(s, "src", o);
1931
- },
1932
- d(a) {
1933
- a && v(e);
1934
- }
1935
- };
1936
- }
1937
- function Mi(i) {
1938
- let e, t, s, o = (
1939
- /*$_*/
1940
- i[56]("closeModal") + ""
1941
- ), a, c, l, d;
1942
- return {
1943
- c() {
1944
- e = h("cashier-error"), t = h("div"), s = h("button"), a = z(o), m(s, "class", "CashierErrorButton"), m(t, "slot", "button"), m(t, "class", "CashierErrorButtonWrapper"), n(
1945
- e,
1946
- "assetsurl",
1947
- /*assetsurl*/
1948
- i[8]
1949
- ), n(
1950
- e,
1951
- "translationurl",
1952
- /*translationurl*/
1953
- i[4]
1954
- ), n(
1955
- e,
1956
- "clientstylingurl",
1957
- /*clientstylingurl*/
1958
- i[13]
1959
- ), n(
1960
- e,
1961
- "clientstyling",
1962
- /*clientstyling*/
1963
- i[12]
1964
- ), n(
1965
- e,
1966
- "lang",
1967
- /*lang*/
1968
- i[2]
1969
- ), n(e, "errorcode", c = /*modalData*/
1970
- i[52].error);
1971
- },
1972
- m(u, g) {
1973
- _(u, e, g), w(e, t), w(t, s), w(s, a), l || (d = te(
1974
- t,
1975
- "click",
1976
- /*closeModal*/
1977
- i[59]
1978
- ), l = !0);
1979
- },
1980
- p(u, g) {
1981
- g[1] & /*$_*/
1982
- 33554432 && o !== (o = /*$_*/
1983
- u[56]("closeModal") + "") && H(a, o), g[0] & /*assetsurl*/
1984
- 256 && n(
1985
- e,
1986
- "assetsurl",
1987
- /*assetsurl*/
1988
- u[8]
1989
- ), g[0] & /*translationurl*/
1990
- 16 && n(
1991
- e,
1992
- "translationurl",
1993
- /*translationurl*/
1994
- u[4]
1995
- ), g[0] & /*clientstylingurl*/
1996
- 8192 && n(
1997
- e,
1998
- "clientstylingurl",
1999
- /*clientstylingurl*/
2000
- u[13]
2001
- ), g[0] & /*clientstyling*/
2002
- 4096 && n(
2003
- e,
2004
- "clientstyling",
2005
- /*clientstyling*/
2006
- u[12]
2007
- ), g[0] & /*lang*/
2008
- 4 && n(
2009
- e,
2010
- "lang",
2011
- /*lang*/
2012
- u[2]
2013
- ), g[1] & /*modalData*/
2014
- 2097152 && c !== (c = /*modalData*/
2015
- u[52].error) && n(e, "errorcode", c);
2016
- },
2017
- d(u) {
2018
- u && v(e), l = !1, d();
2019
- }
2020
- };
2021
- }
2022
- function Ci(i) {
2023
- let e, t = (
2024
- /*modalData*/
2025
- (i[52].editedAmount && !/*selectedPaymentMethod*/
2026
- i[40].HideAmountField ? (
2027
- /*$_*/
2028
- i[56](`${/*type*/
2029
- i[9].toLowerCase()}.confirmTextWithAmount`, {
2030
- values: {
2031
- amount: st(
2032
- /*modalData*/
2033
- i[52].editedAmount,
2034
- /*currency*/
2035
- i[6]
2036
- )
2037
- }
2038
- })
2039
- ) : (
2040
- /*$_*/
2041
- i[56](`${/*type*/
2042
- i[9].toLowerCase()}.confirmText`)
2043
- )) + ""
2044
- ), s, o, a, c, l = (
2045
- /*$_*/
2046
- i[56](`${/*type*/
2047
- i[9].toLowerCase()}.confirmButton`) + ""
2048
- ), d, u, g;
2049
- return {
2050
- c() {
2051
- e = h("span"), s = z(t), o = O(), a = h("span"), c = h("button"), d = z(l), m(e, "class", "CashierConfirmModalText"), m(c, "class", "ModalOkButton"), m(a, "role", "button");
2052
- },
2053
- m(b, f) {
2054
- _(b, e, f), w(e, s), _(b, o, f), _(b, a, f), w(a, c), w(c, d), u || (g = te(
2055
- a,
2056
- "click",
2057
- /*handleConfirm*/
2058
- i[60]
2059
- ), u = !0);
2060
- },
2061
- p(b, f) {
2062
- f[0] & /*type, currency*/
2063
- 576 | f[1] & /*modalData, selectedPaymentMethod, $_*/
2064
- 35652096 && t !== (t = /*modalData*/
2065
- (b[52].editedAmount && !/*selectedPaymentMethod*/
2066
- b[40].HideAmountField ? (
2067
- /*$_*/
2068
- b[56](`${/*type*/
2069
- b[9].toLowerCase()}.confirmTextWithAmount`, {
2070
- values: {
2071
- amount: st(
2072
- /*modalData*/
2073
- b[52].editedAmount,
2074
- /*currency*/
2075
- b[6]
2076
- )
2077
- }
2078
- })
2079
- ) : (
2080
- /*$_*/
2081
- b[56](`${/*type*/
2082
- b[9].toLowerCase()}.confirmText`)
2083
- )) + "") && H(s, t), f[0] & /*type*/
2084
- 512 | f[1] & /*$_*/
2085
- 33554432 && l !== (l = /*$_*/
2086
- b[56](`${/*type*/
2087
- b[9].toLowerCase()}.confirmButton`) + "") && H(d, l);
2088
- },
2089
- d(b) {
2090
- b && (v(e), v(o), v(a)), u = !1, g();
2091
- }
2092
- };
2093
- }
2094
- function Si(i) {
2095
- let e, t, s, o, a, c, l, d = (
2096
- /*isLoading*/
2097
- i[49] && at()
2098
- ), u = (
2099
- /*isProcessingTxn*/
2100
- i[43] && lt()
2101
- ), g = (
2102
- /*lang*/
2103
- i[2] && /*isTranslationLoaded*/
2104
- i[44] && ct(i)
2105
- );
2106
- function b(p, D) {
2107
- return !/*errorMessage*/
2108
- p[34] && !/*errorResponseCode*/
2109
- p[35] ? fi : hi;
2110
- }
2111
- let f = b(i), y = f(i);
2112
- return {
2113
- c() {
2114
- e = h("div"), d && d.c(), t = O(), s = h("div"), u && u.c(), o = O(), g && g.c(), a = O(), y.c(), m(s, "class", c = /*showMethodDetailsPage*/
2115
- i[45] ? "CashierPageWidget BothSections" : "CashierPageWidget"), xt(() => (
2116
- /*div0_elementresize_handler*/
2117
- i[68].call(s)
2118
- )), me(
2119
- s,
2120
- "MobileView",
2121
- /*mobileView*/
2122
- i[41] === "true"
2123
- ), me(
2124
- s,
2125
- "FixedHeight",
2126
- /*dynamicHeight*/
2127
- i[50] !== ee
2128
- ), m(e, "class", "BlockFormattingContext");
2129
- },
2130
- m(p, D) {
2131
- _(p, e, D), d && d.m(e, null), w(e, t), w(e, s), u && u.m(s, null), w(s, o), g && g.m(s, null), w(s, a), y.m(s, null), l = Zt(
2132
- s,
2133
- /*div0_elementresize_handler*/
2134
- i[68].bind(s)
2135
- ), i[69](e);
2136
- },
2137
- p(p, D) {
2138
- /*isLoading*/
2139
- p[49] ? d || (d = at(), d.c(), d.m(e, t)) : d && (d.d(1), d = null), /*isProcessingTxn*/
2140
- p[43] ? u || (u = lt(), u.c(), u.m(s, o)) : u && (u.d(1), u = null), /*lang*/
2141
- p[2] && /*isTranslationLoaded*/
2142
- p[44] ? g ? g.p(p, D) : (g = ct(p), g.c(), g.m(s, a)) : g && (g.d(1), g = null), f === (f = b(p)) && y ? y.p(p, D) : (y.d(1), y = f(p), y && (y.c(), y.m(s, null))), D[1] & /*showMethodDetailsPage*/
2143
- 16384 && c !== (c = /*showMethodDetailsPage*/
2144
- p[45] ? "CashierPageWidget BothSections" : "CashierPageWidget") && m(s, "class", c), D[1] & /*showMethodDetailsPage, mobileView*/
2145
- 17408 && me(
2146
- s,
2147
- "MobileView",
2148
- /*mobileView*/
2149
- p[41] === "true"
2150
- ), D[1] & /*showMethodDetailsPage, dynamicHeight*/
2151
- 540672 && me(
2152
- s,
2153
- "FixedHeight",
2154
- /*dynamicHeight*/
2155
- p[50] !== ee
2156
- );
2157
- },
2158
- i: Le,
2159
- o: Le,
2160
- d(p) {
2161
- p && v(e), d && d.d(), u && u.d(), g && g.d(), y.d(), l(), i[69](null);
2162
- }
2163
- };
2164
- }
2165
- const ee = "100%";
2166
- function Ei(i, e, t) {
2167
- let s, o;
2168
- it(i, fe, (r) => t(55, s = r)), it(i, ii, (r) => t(56, o = r)), nt.extend(si);
2169
- var a;
2170
- (function(r) {
2171
- r.Default = "Default", r.RedirectWithRetry = "Redirect";
2172
- })(a || (a = {}));
2173
- const c = (r, [A, N]) => [
2174
- ...r,
2175
- ...Array.isArray(A) ? [...A.map((R) => [R, N])] : [[A, N]]
2176
- ];
2177
- new Map([
2178
- [["Default", 0], a.Default],
2179
- [["Redirect", 1], a.RedirectWithRetry]
2180
- ].reduce(c, []));
2181
- let { endpoint: l } = e, { session: d } = e, { lang: u = "en" } = e, { local: g = "en-US" } = e, { translationurl: b } = e, { successurl: f } = e, { failurl: y } = e, { cancelurl: p } = e, { customerid: D } = e, { currency: M } = e, { amount: C } = e, { assetsurl: E } = e, { type: P = _t.Deposit } = e, { channel: W = Mt.Desktop } = e, { showheader: j = "true" } = e, { numberofmethodsshown: B } = e, { clientstyling: T = "" } = e, { clientstylingurl: k = "" } = e, { mbsource: I = "" } = e, { showsessionexpirationmodal: We = "true" } = e, { showverifications: Ae = "true" } = e, { showtransactionhistory: Be = "false" } = e, { showclosebutton: Oe = "false" } = e, { txncount: Ie = "3" } = e, { depositlimitbutton: Fe = "false" } = e, { currencydecimals: be = "2" } = e, { transactionhistorycolumns: He = "Code,Date,Type,StatusIcon" } = e, { dateformat: ze = "DD.MM.YYYY" } = e, { datetimeformat: Ne = "DD.MM.YYYY HH:mm:ss" } = e, { customsucceessbuttons: Re = "" } = e, { custompendingbuttons: Ve = "" } = e, { customfailedbuttons: Ye = "" } = e, { skipconfirmation: je = "" } = e, { currencysymbol: we = "true" } = e, { currencyposition: ye = "" } = e, { showbonuses: Ue = "false" } = e, U = {}, G, le, Ge, ke, ce, de, Q = !1, ie, V, Ke, ve, _e, Xe = !0, Me = ee, se, ne, oe, Ce = window.navigator.userAgent, K = "closed", qe = {}, Je = "";
2182
- const Dt = () => {
2183
- oi(u);
2184
- };
2185
- Object.keys(rt).forEach((r) => {
2186
- ot(r, rt[r]);
2187
- }), b || (de = !0);
2188
- const Pt = () => {
2189
- let r = b;
2190
- if (r)
2191
- return fetch(r).then((A) => A.json()).then((A) => {
2192
- Object.keys(A).forEach((N) => {
2193
- ot(N, A[N]), t(44, de = !0);
2194
- });
2195
- }).catch((A) => {
2196
- t(44, de = !0), console.log(A);
2197
- });
2198
- }, Se = () => {
2199
- t(45, Q = !1), t(40, U = {}), t(35, V = ""), q();
2200
- }, Qe = () => {
2201
- fe.set(null);
2202
- const r = new URL(`${l}/v2/player/${D}/payment/GetPaymentSession`), A = new Headers();
2203
- A.append("accept", "application/json"), A.append("Content-Type", "application/json"), A.append("X-SessionId", `${d}`), A.append("X-Client-Request-Timestamp", nt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
2204
- const N = {
2205
- method: "POST",
2206
- mode: "cors",
2207
- headers: A,
2208
- body: JSON.stringify({
2209
- Channel: W,
2210
- Type: P,
2211
- SuccessUrl: f,
2212
- CancelUrl: p,
2213
- FailUrl: y,
2214
- Language: u,
2215
- Tags: {
2216
- UserAgent: window.navigator.userAgent,
2217
- ProductType: "CashierWidget"
2218
- }
2219
- })
2220
- };
2221
- fetch(r, N).then((R) => R.json()).then((R) => {
2222
- if (R.errorCode === Ct.InvalidSession) {
2223
- t(35, V = Z.InvalidSession), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), ue();
2224
- return;
2225
- }
2226
- if (R.error) {
2227
- t(34, ie = R.error), window.postMessage({ type: "DataLoading", isDataLoaded: !0 });
2228
- return;
2229
- }
2230
- if (R.ResponseCode !== Z.Success) {
2231
- t(35, V = R.ResponseCode), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), ue();
2232
- return;
2233
- }
2234
- R.XPaymentSessionToken && fe.set(R.XPaymentSessionToken), ni(
2235
- P === "Deposit" ? "deposit_started" : "withdrawal_started",
2236
- {
2237
- userID: D,
2238
- currency: M,
2239
- time: (/* @__PURE__ */ new Date()).toISOString()
2240
- }
2241
- );
2242
- }).catch((R) => {
2243
- window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), console.log(R);
2244
- });
2245
- }, q = () => {
2246
- Q && Te(Ce) && !V ? (t(47, ve = U.Label || U.Name), t(48, _e = "true")) : (t(47, ve = `header.${P.toLowerCase()}`), t(48, _e = "false"));
2247
- }, Wt = () => {
2248
- t(41, Ge = Te(Ce)), q();
2249
- }, Ze = (r) => {
2250
- xe({
2251
- Name: r.detail.Name,
2252
- Label: r.detail.Label
2253
- });
2254
- }, xe = (r) => {
2255
- ci(), t(40, U.Name = r.Name, U), t(40, U.Label = r.Label, U), t(45, Q = !0), q();
2256
- }, ue = () => {
2257
- window.postMessage(
2258
- {
2259
- type: "ErrorResponseCode",
2260
- errorResponseCode: V
2261
- },
2262
- window.location.href
2263
- );
2264
- }, At = () => {
2265
- let r = document.createElement("style");
2266
- r.innerHTML = T, G.appendChild(r);
2267
- }, Bt = () => {
2268
- let r = new URL(k), A = document.createElement("style");
2269
- fetch(r.href).then((N) => N.text()).then((N) => {
2270
- A.innerHTML = N, setTimeout(
2271
- () => {
2272
- G.appendChild(A);
2273
- },
2274
- 1
2275
- ), setTimeout(
2276
- () => {
2277
- },
2278
- 500
2279
- );
2280
- });
2281
- };
2282
- $t(() => (ei(g, we, ye, be), window.addEventListener("selectPayMeth", Ze, !1), window.addEventListener("message", $e, !1), window.addEventListener("modal-update", et), () => {
2283
- window.removeEventListener("selectPayMeth", Ze), window.removeEventListener("message", $e), window.removeEventListener("modal-update", et);
2284
- }));
2285
- const Ot = () => {
2286
- t(35, V = null), t(34, ie = ""), t(42, ke = null), fe.set(null), Se(), ue(), Qe();
2287
- }, It = () => {
2288
- window.postMessage({ type: "Cashier:setDepositLimit" }, window.location.href);
2289
- };
2290
- let Ee = 450;
2291
- const $e = (r) => {
2292
- let A;
2293
- try {
2294
- A = JSON.parse(r.data), A.type == "MMHCW:2FA:HeightChange" && t(54, Ee = A.height);
2295
- } catch {
2296
- }
2297
- if (r.data.type === "MMHCW:2FA:HeightChange" && t(54, Ee = r.data.height), r.data.ResponseCode === "Success" && r.data.ValidationNonce && (window.postMessage({
2298
- type: "2FAResponse",
2299
- code: r.data.ValidationNonce
2300
- }), t(51, K = "2fa")), r.data.ResponseCode === "CancelledByCustomer" && (t(51, K = "closed"), t(43, ce = !1), window.postMessage({ type: "2FACancel" }), window.postMessage({ type: "EnableScroll" })), r.data.ResponseCode === "AuthenticationFailed" && (t(51, K = "closed"), t(43, ce = !1), window.postMessage({ type: "2FAAuthFailed" })), r.data)
2301
- switch (r.data.type) {
2302
- case "ShowSessionError":
2303
- t(34, ie = r.data.error);
2304
- break;
2305
- case "ToggleDisableActionOnPage":
2306
- t(43, ce = r.data.disable);
2307
- break;
2308
- case "ErrorResponseCode":
2309
- t(35, V = r.data.errorResponseCode), q();
2310
- break;
2311
- case "RedirectInfo":
2312
- t(42, ke = r.data.redirectUrl), t(46, Ke = r.data.redirectMode), q();
2313
- break;
2314
- case "SessionExpired":
2315
- t(35, V = Z.JwtTokenError), Ht(), ue();
2316
- break;
2317
- case "BackCashier":
2318
- case "HidePaymentDetails":
2319
- Q && (t(45, Q = !1), Pe(), Se()), q();
2320
- break;
2321
- case "SelectPayMeth":
2322
- xe(r.data.details);
2323
- break;
2324
- case "DataLoading":
2325
- const N = setTimeout(
2326
- () => {
2327
- t(49, Xe = !r.data.isDataLoaded), clearTimeout(N);
2328
- },
2329
- 200
2330
- );
2331
- break;
2332
- }
2333
- }, et = (r) => {
2334
- t(51, K = r.detail.type), K == "2fa" ? t(53, Je = r.detail.data) : t(52, qe = r.detail.data);
2335
- }, tt = () => {
2336
- K == "error" && (Pe(), Se()), t(51, K = "closed"), t(35, V = "");
2337
- }, Ft = () => {
2338
- window.postMessage({ type: "ConfirmPayment" }, window.location.href), tt();
2339
- }, Ht = (r = ee) => {
2340
- t(50, Me = r), G.style.setProperty("--emw-cashier-page-height", Me);
2341
- };
2342
- function zt(r) {
2343
- he[r ? "unshift" : "push"](() => {
2344
- se = r, t(36, se);
2345
- });
2346
- }
2347
- function Nt(r) {
2348
- he[r ? "unshift" : "push"](() => {
2349
- ne = r, t(37, ne);
2350
- });
2351
- }
2352
- function Rt(r) {
2353
- he[r ? "unshift" : "push"](() => {
2354
- oe = r, t(38, oe);
2355
- });
2356
- }
2357
- function Vt() {
2358
- le = this.clientWidth, t(33, le);
2359
- }
2360
- function Yt(r) {
2361
- he[r ? "unshift" : "push"](() => {
2362
- G = r, t(32, G);
2363
- });
2364
- }
2365
- return i.$$set = (r) => {
2366
- "endpoint" in r && t(0, l = r.endpoint), "session" in r && t(1, d = r.session), "lang" in r && t(2, u = r.lang), "local" in r && t(3, g = r.local), "translationurl" in r && t(4, b = r.translationurl), "successurl" in r && t(61, f = r.successurl), "failurl" in r && t(62, y = r.failurl), "cancelurl" in r && t(63, p = r.cancelurl), "customerid" in r && t(5, D = r.customerid), "currency" in r && t(6, M = r.currency), "amount" in r && t(7, C = r.amount), "assetsurl" in r && t(8, E = r.assetsurl), "type" in r && t(9, P = r.type), "channel" in r && t(64, W = r.channel), "showheader" in r && t(10, j = r.showheader), "numberofmethodsshown" in r && t(11, B = r.numberofmethodsshown), "clientstyling" in r && t(12, T = r.clientstyling), "clientstylingurl" in r && t(13, k = r.clientstylingurl), "mbsource" in r && t(14, I = r.mbsource), "showsessionexpirationmodal" in r && t(15, We = r.showsessionexpirationmodal), "showverifications" in r && t(16, Ae = r.showverifications), "showtransactionhistory" in r && t(17, Be = r.showtransactionhistory), "showclosebutton" in r && t(18, Oe = r.showclosebutton), "txncount" in r && t(19, Ie = r.txncount), "depositlimitbutton" in r && t(20, Fe = r.depositlimitbutton), "currencydecimals" in r && t(21, be = r.currencydecimals), "transactionhistorycolumns" in r && t(22, He = r.transactionhistorycolumns), "dateformat" in r && t(23, ze = r.dateformat), "datetimeformat" in r && t(24, Ne = r.datetimeformat), "customsucceessbuttons" in r && t(25, Re = r.customsucceessbuttons), "custompendingbuttons" in r && t(26, Ve = r.custompendingbuttons), "customfailedbuttons" in r && t(27, Ye = r.customfailedbuttons), "skipconfirmation" in r && t(28, je = r.skipconfirmation), "currencysymbol" in r && t(29, we = r.currencysymbol), "currencyposition" in r && t(30, ye = r.currencyposition), "showbonuses" in r && t(31, Ue = r.showbonuses);
2367
- }, i.$$.update = () => {
2368
- i.$$.dirty[0] & /*endpoint, session, customerid, lang, type*/
2369
- 551 | i.$$.dirty[1] & /*successurl*/
2370
- 1073741824 | i.$$.dirty[2] & /*channel, failurl, cancelurl*/
2371
- 7 && l && d && D && u && W && P && f && y && p && Qe(), i.$$.dirty[0] & /*clientstyling*/
2372
- 4096 | i.$$.dirty[1] & /*customStylingContainer*/
2373
- 2 && T && G && At(), i.$$.dirty[0] & /*clientstylingurl*/
2374
- 8192 | i.$$.dirty[1] & /*customStylingContainer*/
2375
- 2 && k && G && Bt(), i.$$.dirty[0] & /*lang*/
2376
- 4 && u && Dt(), i.$$.dirty[0] & /*lang*/
2377
- 4 && u && q(), i.$$.dirty[0] & /*lang, translationurl*/
2378
- 20 && u && b && Pt(), i.$$.dirty[1] & /*widgetWidth*/
2379
- 4 && le && Wt(), i.$$.dirty[1] & /*methodsListWarpper, methodDetailsWarpper, scrollContainer, errorMessage, errorResponseCode*/
2380
- 248 && se && ne && oe && !ie && !V && li(se, ne, oe, Te(Ce));
2381
- }, [
2382
- l,
2383
- d,
2384
- u,
2385
- g,
2386
- b,
2387
- D,
2388
- M,
2389
- C,
2390
- E,
2391
- P,
2392
- j,
2393
- B,
2394
- T,
2395
- k,
2396
- I,
2397
- We,
2398
- Ae,
2399
- Be,
2400
- Oe,
2401
- Ie,
2402
- Fe,
2403
- be,
2404
- He,
2405
- ze,
2406
- Ne,
2407
- Re,
2408
- Ve,
2409
- Ye,
2410
- je,
2411
- we,
2412
- ye,
2413
- Ue,
2414
- G,
2415
- le,
2416
- ie,
2417
- V,
2418
- se,
2419
- ne,
2420
- oe,
2421
- a,
2422
- U,
2423
- Ge,
2424
- ke,
2425
- ce,
2426
- de,
2427
- Q,
2428
- Ke,
2429
- ve,
2430
- _e,
2431
- Xe,
2432
- Me,
2433
- K,
2434
- qe,
2435
- Je,
2436
- Ee,
2437
- s,
2438
- o,
2439
- Ot,
2440
- It,
2441
- tt,
2442
- Ft,
2443
- f,
2444
- y,
2445
- p,
2446
- W,
2447
- zt,
2448
- Nt,
2449
- Rt,
2450
- Vt,
2451
- Yt
2452
- ];
2453
- }
2454
- class Ti extends Xt {
2455
- constructor(e) {
2456
- super(), qt(
2457
- this,
2458
- e,
2459
- Ei,
2460
- Si,
2461
- Jt,
2462
- {
2463
- endpoint: 0,
2464
- session: 1,
2465
- lang: 2,
2466
- local: 3,
2467
- translationurl: 4,
2468
- successurl: 61,
2469
- failurl: 62,
2470
- cancelurl: 63,
2471
- customerid: 5,
2472
- currency: 6,
2473
- amount: 7,
2474
- assetsurl: 8,
2475
- type: 9,
2476
- channel: 64,
2477
- showheader: 10,
2478
- numberofmethodsshown: 11,
2479
- clientstyling: 12,
2480
- clientstylingurl: 13,
2481
- mbsource: 14,
2482
- showsessionexpirationmodal: 15,
2483
- showverifications: 16,
2484
- showtransactionhistory: 17,
2485
- showclosebutton: 18,
2486
- txncount: 19,
2487
- depositlimitbutton: 20,
2488
- currencydecimals: 21,
2489
- transactionhistorycolumns: 22,
2490
- dateformat: 23,
2491
- datetimeformat: 24,
2492
- customsucceessbuttons: 25,
2493
- custompendingbuttons: 26,
2494
- customfailedbuttons: 27,
2495
- skipconfirmation: 28,
2496
- currencysymbol: 29,
2497
- currencyposition: 30,
2498
- showbonuses: 31
2499
- },
2500
- mi,
2501
- [-1, -1, -1]
2502
- );
2503
- }
2504
- get endpoint() {
2505
- return this.$$.ctx[0];
2506
- }
2507
- set endpoint(e) {
2508
- this.$$set({ endpoint: e }), S();
2509
- }
2510
- get session() {
2511
- return this.$$.ctx[1];
2512
- }
2513
- set session(e) {
2514
- this.$$set({ session: e }), S();
2515
- }
2516
- get lang() {
2517
- return this.$$.ctx[2];
2518
- }
2519
- set lang(e) {
2520
- this.$$set({ lang: e }), S();
2521
- }
2522
- get local() {
2523
- return this.$$.ctx[3];
2524
- }
2525
- set local(e) {
2526
- this.$$set({ local: e }), S();
2527
- }
2528
- get translationurl() {
2529
- return this.$$.ctx[4];
2530
- }
2531
- set translationurl(e) {
2532
- this.$$set({ translationurl: e }), S();
2533
- }
2534
- get successurl() {
2535
- return this.$$.ctx[61];
2536
- }
2537
- set successurl(e) {
2538
- this.$$set({ successurl: e }), S();
2539
- }
2540
- get failurl() {
2541
- return this.$$.ctx[62];
2542
- }
2543
- set failurl(e) {
2544
- this.$$set({ failurl: e }), S();
2545
- }
2546
- get cancelurl() {
2547
- return this.$$.ctx[63];
2548
- }
2549
- set cancelurl(e) {
2550
- this.$$set({ cancelurl: e }), S();
2551
- }
2552
- get customerid() {
2553
- return this.$$.ctx[5];
2554
- }
2555
- set customerid(e) {
2556
- this.$$set({ customerid: e }), S();
2557
- }
2558
- get currency() {
2559
- return this.$$.ctx[6];
2560
- }
2561
- set currency(e) {
2562
- this.$$set({ currency: e }), S();
2563
- }
2564
- get amount() {
2565
- return this.$$.ctx[7];
2566
- }
2567
- set amount(e) {
2568
- this.$$set({ amount: e }), S();
2569
- }
2570
- get assetsurl() {
2571
- return this.$$.ctx[8];
2572
- }
2573
- set assetsurl(e) {
2574
- this.$$set({ assetsurl: e }), S();
2575
- }
2576
- get type() {
2577
- return this.$$.ctx[9];
2578
- }
2579
- set type(e) {
2580
- this.$$set({ type: e }), S();
2581
- }
2582
- get channel() {
2583
- return this.$$.ctx[64];
2584
- }
2585
- set channel(e) {
2586
- this.$$set({ channel: e }), S();
2587
- }
2588
- get showheader() {
2589
- return this.$$.ctx[10];
2590
- }
2591
- set showheader(e) {
2592
- this.$$set({ showheader: e }), S();
2593
- }
2594
- get numberofmethodsshown() {
2595
- return this.$$.ctx[11];
2596
- }
2597
- set numberofmethodsshown(e) {
2598
- this.$$set({ numberofmethodsshown: e }), S();
2599
- }
2600
- get clientstyling() {
2601
- return this.$$.ctx[12];
2602
- }
2603
- set clientstyling(e) {
2604
- this.$$set({ clientstyling: e }), S();
2605
- }
2606
- get clientstylingurl() {
2607
- return this.$$.ctx[13];
2608
- }
2609
- set clientstylingurl(e) {
2610
- this.$$set({ clientstylingurl: e }), S();
2611
- }
2612
- get mbsource() {
2613
- return this.$$.ctx[14];
2614
- }
2615
- set mbsource(e) {
2616
- this.$$set({ mbsource: e }), S();
2617
- }
2618
- get showsessionexpirationmodal() {
2619
- return this.$$.ctx[15];
2620
- }
2621
- set showsessionexpirationmodal(e) {
2622
- this.$$set({ showsessionexpirationmodal: e }), S();
2623
- }
2624
- get showverifications() {
2625
- return this.$$.ctx[16];
2626
- }
2627
- set showverifications(e) {
2628
- this.$$set({ showverifications: e }), S();
2629
- }
2630
- get showtransactionhistory() {
2631
- return this.$$.ctx[17];
2632
- }
2633
- set showtransactionhistory(e) {
2634
- this.$$set({ showtransactionhistory: e }), S();
2635
- }
2636
- get showclosebutton() {
2637
- return this.$$.ctx[18];
2638
- }
2639
- set showclosebutton(e) {
2640
- this.$$set({ showclosebutton: e }), S();
2641
- }
2642
- get txncount() {
2643
- return this.$$.ctx[19];
2644
- }
2645
- set txncount(e) {
2646
- this.$$set({ txncount: e }), S();
2647
- }
2648
- get depositlimitbutton() {
2649
- return this.$$.ctx[20];
2650
- }
2651
- set depositlimitbutton(e) {
2652
- this.$$set({ depositlimitbutton: e }), S();
2653
- }
2654
- get currencydecimals() {
2655
- return this.$$.ctx[21];
2656
- }
2657
- set currencydecimals(e) {
2658
- this.$$set({ currencydecimals: e }), S();
2659
- }
2660
- get transactionhistorycolumns() {
2661
- return this.$$.ctx[22];
2662
- }
2663
- set transactionhistorycolumns(e) {
2664
- this.$$set({ transactionhistorycolumns: e }), S();
2665
- }
2666
- get dateformat() {
2667
- return this.$$.ctx[23];
2668
- }
2669
- set dateformat(e) {
2670
- this.$$set({ dateformat: e }), S();
2671
- }
2672
- get datetimeformat() {
2673
- return this.$$.ctx[24];
2674
- }
2675
- set datetimeformat(e) {
2676
- this.$$set({ datetimeformat: e }), S();
2677
- }
2678
- get customsucceessbuttons() {
2679
- return this.$$.ctx[25];
2680
- }
2681
- set customsucceessbuttons(e) {
2682
- this.$$set({ customsucceessbuttons: e }), S();
2683
- }
2684
- get custompendingbuttons() {
2685
- return this.$$.ctx[26];
2686
- }
2687
- set custompendingbuttons(e) {
2688
- this.$$set({ custompendingbuttons: e }), S();
2689
- }
2690
- get customfailedbuttons() {
2691
- return this.$$.ctx[27];
2692
- }
2693
- set customfailedbuttons(e) {
2694
- this.$$set({ customfailedbuttons: e }), S();
2695
- }
2696
- get skipconfirmation() {
2697
- return this.$$.ctx[28];
2698
- }
2699
- set skipconfirmation(e) {
2700
- this.$$set({ skipconfirmation: e }), S();
2701
- }
2702
- get currencysymbol() {
2703
- return this.$$.ctx[29];
2704
- }
2705
- set currencysymbol(e) {
2706
- this.$$set({ currencysymbol: e }), S();
2707
- }
2708
- get currencyposition() {
2709
- return this.$$.ctx[30];
2710
- }
2711
- set currencyposition(e) {
2712
- this.$$set({ currencyposition: e }), S();
2713
- }
2714
- get showbonuses() {
2715
- return this.$$.ctx[31];
2716
- }
2717
- set showbonuses(e) {
2718
- this.$$set({ showbonuses: e }), S();
2719
- }
2720
- }
2721
- Kt(Ti, { endpoint: {}, session: {}, lang: {}, local: {}, translationurl: {}, successurl: {}, failurl: {}, cancelurl: {}, customerid: {}, currency: {}, amount: {}, assetsurl: {}, type: {}, channel: {}, showheader: {}, numberofmethodsshown: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showsessionexpirationmodal: {}, showverifications: {}, showtransactionhistory: {}, showclosebutton: {}, txncount: {}, depositlimitbutton: {}, currencydecimals: {}, transactionhistorycolumns: {}, dateformat: {}, datetimeformat: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, skipconfirmation: {}, currencysymbol: {}, currencyposition: {}, showbonuses: {} }, [], [], !0);
2722
- export {
2723
- Ti as C
2724
- };