@everymatrix/cashier-page 1.90.38 → 1.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierCarousel-BNcnaN7U.js +672 -0
- package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
- package/components/CashierCarousel-tfVH51fj.js +675 -0
- package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
- package/components/CashierError-BqvEnGrr.cjs +1 -0
- package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
- package/components/CashierHeader-BGA-Qd-S.js +456 -0
- package/components/CashierHeader-BKL2lJFV.cjs +1 -0
- package/components/CashierHeader-Bt5aV48_.js +456 -0
- package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
- package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
- package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
- package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
- package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
- package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
- package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
- package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
- package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
- package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
- package/components/CashierModal-J_mZ6ODP.cjs +1 -0
- package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
- package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
- package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
- package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
- package/components/CashierPage-7d2gkNjC.js +9989 -0
- package/components/CashierPage-N8z4Zzox.js +9936 -0
- package/components/CashierPage-flG2gyRG.cjs +23 -0
- package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
- package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
- package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
- package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
- package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
- package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
- package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
- package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
- package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
- package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
- package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
- package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
- package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
- package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
- package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
- package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
- package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
- package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
- package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
- package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
- package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
- package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
- package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B-cM-nlR.js +0 -5797
- package/components/CashierCarousel-CXoovlrR.js +0 -5835
- package/components/CashierCarousel-DMrMmClP.cjs +0 -23
- package/components/CashierError-CHGdRh2_.cjs +0 -1
- package/components/CashierHeader-B7FnLv3f.js +0 -397
- package/components/CashierHeader-BbP0idUh.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
- package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
- package/components/CashierModal-DF8meLAZ.cjs +0 -1
- package/components/CashierNotifications-B8bRZMac.cjs +0 -1
- package/components/CashierPage-CrLOKCt7.js +0 -4485
- package/components/CashierPage-DDNG9YBM.cjs +0 -1
- package/components/CashierPage-Ra2kFFdS.js +0 -4455
- package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
- package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
- package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
- package/components/CashierVerifications-8c9sENE2.cjs +0 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ze = Object.defineProperty, $e = Object.defineProperties;
|
|
2
2
|
var et = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Se = Object.getOwnPropertySymbols;
|
|
4
4
|
var tt = Object.prototype.hasOwnProperty, st = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ee = (t, e, s) => e in t ?
|
|
5
|
+
var Ee = (t, e, s) => e in t ? Ze(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, ke = (t, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
7
|
tt.call(e, s) && Ee(t, s, e[s]);
|
|
8
8
|
if (Se)
|
|
@@ -10,8 +10,8 @@ var Ee = (t, e, s) => e in t ? Qe(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
st.call(e, s) && Ee(t, s, e[s]);
|
|
11
11
|
return t;
|
|
12
12
|
}, Ce = (t, e) => $e(t, et(e));
|
|
13
|
-
import { a as ot, i as nt, $ as it, S as rt, b as lt, s as at, f as w, c as mt,
|
|
14
|
-
import {
|
|
13
|
+
import { a as ot, i as nt, $ as it, S as rt, b as lt, s as at, f as w, c as mt, y as Ne, e as A, k as x, n as P, r as Je, p as ze, M as Ae, N as ct, q as dt, K as ut, l as a, m as f, o as h, v as D, O as N, w as T, C as ft, x as ht, z as Pe, L as Le, D as xe, E as gt, I as ve, F as pt, J as Fe, A as yt, B as wt, Q as Oe } from "./CashierPage-7d2gkNjC.js";
|
|
14
|
+
import { s as Mt, a as bt, b as _t } from "./CashierHeader-BGA-Qd-S.js";
|
|
15
15
|
function Re(t, e) {
|
|
16
16
|
ot(t, e);
|
|
17
17
|
}
|
|
@@ -20,7 +20,7 @@ function vt(t) {
|
|
|
20
20
|
fallbackLocale: "en"
|
|
21
21
|
}), it.set(t);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const Ie = {
|
|
24
24
|
en: {
|
|
25
25
|
generalMin: "Min",
|
|
26
26
|
generalMax: "Max",
|
|
@@ -65,7 +65,7 @@ function je(t, e, s) {
|
|
|
65
65
|
const n = t.slice();
|
|
66
66
|
return n[58] = e[s], n[60] = s, n;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Ue(t) {
|
|
69
69
|
let e, s, n, o, r = !/*noPaymentMethodsAvailable*/
|
|
70
70
|
t[15] && He(t);
|
|
71
71
|
function l(c, g) {
|
|
@@ -77,7 +77,7 @@ function Ie(t) {
|
|
|
77
77
|
}
|
|
78
78
|
let d = l(t), u = d(t), m = (
|
|
79
79
|
/*methodsButtonToggleText*/
|
|
80
|
-
t[10] &&
|
|
80
|
+
t[10] && Xe(t)
|
|
81
81
|
);
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
@@ -89,7 +89,7 @@ function Ie(t) {
|
|
|
89
89
|
p(c, g) {
|
|
90
90
|
/*noPaymentMethodsAvailable*/
|
|
91
91
|
c[15] ? r && (r.d(1), r = null) : r ? r.p(c, g) : (r = He(c), r.c(), r.m(e, s)), d === (d = l(c)) && u ? u.p(c, g) : (u.d(1), u = d(c), u && (u.c(), u.m(n, null))), /*methodsButtonToggleText*/
|
|
92
|
-
c[10] ? m ? m.p(c, g) : (m =
|
|
92
|
+
c[10] ? m ? m.p(c, g) : (m = Xe(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
|
|
93
93
|
},
|
|
94
94
|
d(c) {
|
|
95
95
|
c && A(e), r && r.d(), u.d(), m && m.d(), t[34](null);
|
|
@@ -124,7 +124,7 @@ function He(t) {
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
function kt(t) {
|
|
127
|
-
let e, s =
|
|
127
|
+
let e, s = xe(
|
|
128
128
|
/*paymentMethodsToShow*/
|
|
129
129
|
t[11]
|
|
130
130
|
), n = [];
|
|
@@ -144,7 +144,7 @@ function kt(t) {
|
|
|
144
144
|
p(o, r) {
|
|
145
145
|
if (r[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, $_, type, desktopView, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
146
146
|
469824) {
|
|
147
|
-
s =
|
|
147
|
+
s = xe(
|
|
148
148
|
/*paymentMethodsToShow*/
|
|
149
149
|
o[11]
|
|
150
150
|
);
|
|
@@ -159,7 +159,7 @@ function kt(t) {
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
d(o) {
|
|
162
|
-
o && A(e),
|
|
162
|
+
o && A(e), gt(n, o);
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
}
|
|
@@ -281,10 +281,10 @@ function Ye(t) {
|
|
|
281
281
|
/*payMeth*/
|
|
282
282
|
(t[58].Label || /*payMeth*/
|
|
283
283
|
t[58].Name) + ""
|
|
284
|
-
), V, O, q, j, F, R,
|
|
284
|
+
), V, O, q, j, F, R, U = (
|
|
285
285
|
/*$_*/
|
|
286
286
|
t[17]("generalMin") + ""
|
|
287
|
-
),
|
|
287
|
+
), K, ee, B = ve(
|
|
288
288
|
/*payMeth*/
|
|
289
289
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
290
290
|
/*payMeth*/
|
|
@@ -307,7 +307,7 @@ function Ye(t) {
|
|
|
307
307
|
t[16]
|
|
308
308
|
)
|
|
309
309
|
}
|
|
310
|
-
) + "", te, Y, H,
|
|
310
|
+
) + "", te, Y, H, Q = (
|
|
311
311
|
/*$_*/
|
|
312
312
|
t[17]("generalMax") + ""
|
|
313
313
|
), S, ce, se = ve(
|
|
@@ -333,7 +333,7 @@ function Ye(t) {
|
|
|
333
333
|
t[16]
|
|
334
334
|
)
|
|
335
335
|
}
|
|
336
|
-
) + "", E,
|
|
336
|
+
) + "", E, X, G, k, Z, b = (
|
|
337
337
|
/*payMeth*/
|
|
338
338
|
t[58].isMethodPromoted && We(t)
|
|
339
339
|
), _ = !/*desktopView*/
|
|
@@ -352,7 +352,7 @@ function Ye(t) {
|
|
|
352
352
|
}
|
|
353
353
|
return {
|
|
354
354
|
c() {
|
|
355
|
-
e = f("div"), s = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), O = P(), _ && _.c(), q = P(), j = f("div"), F = f("span"), R = f("p"),
|
|
355
|
+
e = f("div"), s = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), O = P(), _ && _.c(), q = P(), j = f("div"), F = f("span"), R = f("p"), K = T(U), ee = P(), te = T(B), Y = P(), H = f("p"), S = T(Q), ce = P(), E = T(se), X = P(), M && M.c(), G = P(), Fe(n.src, o = /*payMeth*/
|
|
356
356
|
t[58].LogoUrl) || h(n, "src", o), h(n, "alt", r = /*payMeth*/
|
|
357
357
|
t[58].Label), h(s, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(j, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), Le(
|
|
358
358
|
e,
|
|
@@ -363,7 +363,7 @@ function Ye(t) {
|
|
|
363
363
|
);
|
|
364
364
|
},
|
|
365
365
|
m($, v) {
|
|
366
|
-
x($, e, v), a(e, s), a(s, n), a(e, l), a(e, d), b && b.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, O), _ && _.m(m, null), a(m, q), a(m, j), a(j, F), a(F, R), a(R,
|
|
366
|
+
x($, e, v), a(e, s), a(s, n), a(e, l), a(e, d), b && b.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, O), _ && _.m(m, null), a(m, q), a(m, j), a(j, F), a(F, R), a(R, K), a(R, ee), a(R, te), a(F, Y), a(F, H), a(H, S), a(H, ce), a(H, E), a(m, X), M && M.m(m, null), a(e, G), k || (Z = [
|
|
367
367
|
Pe(e, "click", de),
|
|
368
368
|
Pe(e, "keyup", Tt)
|
|
369
369
|
], k = !0);
|
|
@@ -371,7 +371,7 @@ function Ye(t) {
|
|
|
371
371
|
p($, v) {
|
|
372
372
|
var ye, we, re, Me, be, le, ae, _e;
|
|
373
373
|
t = $, v[0] & /*paymentMethodsToShow*/
|
|
374
|
-
2048 && !
|
|
374
|
+
2048 && !Fe(n.src, o = /*payMeth*/
|
|
375
375
|
t[58].LogoUrl) && h(n, "src", o), v[0] & /*paymentMethodsToShow*/
|
|
376
376
|
2048 && r !== (r = /*payMeth*/
|
|
377
377
|
t[58].Label) && h(n, "alt", r), /*payMeth*/
|
|
@@ -380,8 +380,8 @@ function Ye(t) {
|
|
|
380
380
|
(t[58].Label || /*payMeth*/
|
|
381
381
|
t[58].Name) + "") && D(V, J), /*desktopView*/
|
|
382
382
|
t[13] ? _ && (_.d(1), _ = null) : _ ? _.p(t, v) : (_ = qe(t), _.c(), _.m(m, q)), v[0] & /*$_*/
|
|
383
|
-
131072 &&
|
|
384
|
-
t[17]("generalMin") + "") && D(
|
|
383
|
+
131072 && U !== (U = /*$_*/
|
|
384
|
+
t[17]("generalMin") + "") && D(K, U), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
385
385
|
67840 && B !== (B = ve(
|
|
386
386
|
/*payMeth*/
|
|
387
387
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -406,8 +406,8 @@ function Ye(t) {
|
|
|
406
406
|
)
|
|
407
407
|
}
|
|
408
408
|
) + "") && D(te, B), v[0] & /*$_*/
|
|
409
|
-
131072 &&
|
|
410
|
-
t[17]("generalMax") + "") && D(S,
|
|
409
|
+
131072 && Q !== (Q = /*$_*/
|
|
410
|
+
t[17]("generalMax") + "") && D(S, Q), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
411
411
|
67840 && se !== (se = ve(
|
|
412
412
|
/*payMeth*/
|
|
413
413
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
@@ -442,11 +442,11 @@ function Ye(t) {
|
|
|
442
442
|
);
|
|
443
443
|
},
|
|
444
444
|
d($) {
|
|
445
|
-
$ && A(e), b && b.d(), _ && _.d(), M && M.d(), k = !1,
|
|
445
|
+
$ && A(e), b && b.d(), _ && _.d(), M && M.d(), k = !1, pt(Z);
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Xe(t) {
|
|
450
450
|
let e, s, n, o;
|
|
451
451
|
return {
|
|
452
452
|
c() {
|
|
@@ -476,7 +476,7 @@ function Ge(t) {
|
|
|
476
476
|
}
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function Ge(t) {
|
|
480
480
|
let e, s, n;
|
|
481
481
|
return {
|
|
482
482
|
c() {
|
|
@@ -570,10 +570,10 @@ function Xe(t) {
|
|
|
570
570
|
function Pt(t) {
|
|
571
571
|
let e, s, n = (
|
|
572
572
|
/*isDataLoaded*/
|
|
573
|
-
t[14] &&
|
|
573
|
+
t[14] && Ue(t)
|
|
574
574
|
), o = (
|
|
575
575
|
/*errorMessage*/
|
|
576
|
-
t[12] &&
|
|
576
|
+
t[12] && Ge(t)
|
|
577
577
|
);
|
|
578
578
|
return {
|
|
579
579
|
c() {
|
|
@@ -584,8 +584,8 @@ function Pt(t) {
|
|
|
584
584
|
},
|
|
585
585
|
p(r, l) {
|
|
586
586
|
/*isDataLoaded*/
|
|
587
|
-
r[14] ? n ? n.p(r, l) : (n =
|
|
588
|
-
r[12] ? o ? o.p(r, l) : (o =
|
|
587
|
+
r[14] ? n ? n.p(r, l) : (n = Ue(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*errorMessage*/
|
|
588
|
+
r[12] ? o ? o.p(r, l) : (o = Ge(r), o.c(), o.m(s.parentNode, s)) : o && (o.d(1), o = null);
|
|
589
589
|
},
|
|
590
590
|
i: Ne,
|
|
591
591
|
o: Ne,
|
|
@@ -598,8 +598,8 @@ const Dt = "PaymentPromotion", Tt = () => {
|
|
|
598
598
|
};
|
|
599
599
|
function St(t, e, s) {
|
|
600
600
|
let n, o, r;
|
|
601
|
-
ze(t,
|
|
602
|
-
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: J } = e, { currency: V } = e, { numberofmethodsshown: O } = e, { translationurl: q = "" } = e, { mbsource: j } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals:
|
|
601
|
+
ze(t, wt, (i) => s(17, o = i)), ze(t, Oe, (i) => s(42, r = i)), Ae.extend(ct);
|
|
602
|
+
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: J } = e, { currency: V } = e, { numberofmethodsshown: O } = e, { translationurl: q = "" } = e, { mbsource: j } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals: U = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: B = "false" } = e, { type: te } = e, { userroles: Y = "" } = e, H, Q = {}, S, ce, se = window.navigator.userAgent, E = [], X, G = "", k = [], Z = [], b = "", _, M = !0, de = !1, ne = !1, ie = [];
|
|
603
603
|
var oe;
|
|
604
604
|
(function(i) {
|
|
605
605
|
i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError";
|
|
@@ -608,15 +608,15 @@ function St(t, e, s) {
|
|
|
608
608
|
let i = q;
|
|
609
609
|
if (i)
|
|
610
610
|
return fetch(i).then((p) => p.json()).then((p) => {
|
|
611
|
-
Object.keys(p).forEach((
|
|
612
|
-
Re(
|
|
611
|
+
Object.keys(p).forEach((I) => {
|
|
612
|
+
Re(I, p[I]);
|
|
613
613
|
});
|
|
614
614
|
}).catch((p) => {
|
|
615
615
|
console.log(p);
|
|
616
616
|
});
|
|
617
617
|
};
|
|
618
|
-
Object.keys(
|
|
619
|
-
Re(i,
|
|
618
|
+
Object.keys(Ie).forEach((i) => {
|
|
619
|
+
Re(i, Ie[i]);
|
|
620
620
|
});
|
|
621
621
|
const fe = () => {
|
|
622
622
|
vt(l);
|
|
@@ -626,7 +626,7 @@ function St(t, e, s) {
|
|
|
626
626
|
const { currency: p } = i, y = H !== void 0 && H !== p ? "MetadataLoading" : "DataLoading";
|
|
627
627
|
H = p, window.postMessage({ type: y, isDataLoaded: !1 }, window.location.href);
|
|
628
628
|
const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), z = new Headers();
|
|
629
|
-
z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-Client-Request-Timestamp",
|
|
629
|
+
z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-Client-Request-Timestamp", Ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), z.append("X-SessionId", `${c}`), z.append("X-Payment-Session-Token", `${m || r}`), ie.indexOf("MM_CHANNEL_BETA") != -1 && z.append("MM_CHANNEL", "BETA");
|
|
630
630
|
const W = {
|
|
631
631
|
method: "POST",
|
|
632
632
|
headers: z,
|
|
@@ -651,10 +651,10 @@ function St(t, e, s) {
|
|
|
651
651
|
E = (me = C.PaymentMethods) != null && me.Ordering ? pe(C) : $(C), window.postMessage(
|
|
652
652
|
{
|
|
653
653
|
type: "PromotedPaymentMethods",
|
|
654
|
-
promotedPaymentMethods:
|
|
654
|
+
promotedPaymentMethods: Z
|
|
655
655
|
},
|
|
656
656
|
window.location.href
|
|
657
|
-
), s(10,
|
|
657
|
+
), s(10, G = O && +O > 0 && E.length > +O ? o("showAll") : ""), s(11, k = G ? E.slice(0, +O) : E), B == "false" && s(11, k = k.sort((De, Te) => De.isMethodPromoted && !Te.isMethodPromoted ? -1 : !De.isMethodPromoted && Te.isMethodPromoted ? 1 : 0)), s(15, ne = !k.length), window.postMessage(
|
|
658
658
|
{
|
|
659
659
|
type: "StartSessionCountdown",
|
|
660
660
|
paymentMethodName: E[0].Name
|
|
@@ -666,24 +666,24 @@ function St(t, e, s) {
|
|
|
666
666
|
});
|
|
667
667
|
}, pe = (i) => {
|
|
668
668
|
const p = [];
|
|
669
|
-
return
|
|
670
|
-
const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name ===
|
|
669
|
+
return Z = [], i.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((I) => {
|
|
670
|
+
const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name === I);
|
|
671
671
|
if (y) {
|
|
672
672
|
const L = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Desktop")) || {}, z = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Mobile")) || {}, W = M ? L : z;
|
|
673
|
-
y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted &&
|
|
673
|
+
y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted && Z.push(y), p.push(y);
|
|
674
674
|
}
|
|
675
675
|
}), p;
|
|
676
676
|
}, $ = (i) => {
|
|
677
677
|
const p = i.PaymentMethods.PaymentMethods.map((L) => Ce(ke({}, L), {
|
|
678
678
|
isMethodPromoted: le(L.Tags),
|
|
679
679
|
LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
|
|
680
|
-
})), [
|
|
680
|
+
})), [I, y] = p.reduce(
|
|
681
681
|
([L, z], W) => (W && W.isMethodPromoted ? L.push(W) : z.promo(W), [L, z]),
|
|
682
682
|
[[], []]
|
|
683
683
|
);
|
|
684
|
-
return
|
|
684
|
+
return Z = I, y;
|
|
685
685
|
}, v = (i) => {
|
|
686
|
-
s(9,
|
|
686
|
+
s(9, X = i.Name), window.postMessage({ type: "SelectPayMeth", details: i }, window.location.href), dispatchEvent(new CustomEvent(
|
|
687
687
|
"selectPayMeth",
|
|
688
688
|
{
|
|
689
689
|
detail: i,
|
|
@@ -701,46 +701,46 @@ function St(t, e, s) {
|
|
|
701
701
|
window.location.href
|
|
702
702
|
);
|
|
703
703
|
}, we = () => {
|
|
704
|
-
s(13, M = !
|
|
704
|
+
s(13, M = !ft(se));
|
|
705
705
|
}, re = () => {
|
|
706
706
|
k == E ? be() : Me();
|
|
707
707
|
}, Me = () => {
|
|
708
|
-
s(11, k = E), s(10,
|
|
708
|
+
s(11, k = E), s(10, G = o("showLess"));
|
|
709
709
|
}, be = () => {
|
|
710
|
-
s(11, k = E.slice(0, +O)),
|
|
710
|
+
s(11, k = E.slice(0, +O)), X && !k.find((i) => i.Name === X) && k.splice(0, 0, E.find((i) => i.Name === X)), s(10, G = o("showAll"));
|
|
711
711
|
}, le = (i) => i && i.split(",").some((p) => p === Dt), ae = (i) => {
|
|
712
|
-
var
|
|
712
|
+
var I;
|
|
713
713
|
const { data: { type: p } = {} } = i || {};
|
|
714
714
|
switch (p) {
|
|
715
715
|
case "PrecisionCurrenciesMap": {
|
|
716
|
-
s(8,
|
|
716
|
+
s(8, Q = ((I = i == null ? void 0 : i.data) == null ? void 0 : I.payload) || {});
|
|
717
717
|
break;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
}, _e = () => {
|
|
721
721
|
Y.length > 0 && (ie = Y.split(","));
|
|
722
722
|
};
|
|
723
|
-
|
|
723
|
+
dt(() => (we(), ut(d, K, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", ae), () => {
|
|
724
724
|
window.removeEventListener("message", ae);
|
|
725
725
|
}));
|
|
726
|
-
const Ve = (i) => v(i),
|
|
727
|
-
function
|
|
728
|
-
|
|
726
|
+
const Ve = (i) => v(i), Ke = () => re();
|
|
727
|
+
function Qe(i) {
|
|
728
|
+
ht[i ? "unshift" : "push"](() => {
|
|
729
729
|
S = i, s(7, S);
|
|
730
730
|
});
|
|
731
731
|
}
|
|
732
732
|
return t.$$set = (i) => {
|
|
733
|
-
"lang" in i && s(0, l = i.lang), "local" in i && s(20, d = i.local), "endpoint" in i && s(21, u = i.endpoint), "paymentsession" in i && s(22, m = i.paymentsession), "playersession" in i && s(23, c = i.playersession), "customerid" in i && s(24, g = i.customerid), "assetsurl" in i && s(1, J = i.assetsurl), "currency" in i && s(25, V = i.currency), "numberofmethodsshown" in i && s(26, O = i.numberofmethodsshown), "translationurl" in i && s(2, q = i.translationurl), "mbsource" in i && s(3, j = i.mbsource), "clientstyling" in i && s(4, F = i.clientstyling), "clientstylingurl" in i && s(5, R = i.clientstylingurl), "currencydecimals" in i && s(27,
|
|
733
|
+
"lang" in i && s(0, l = i.lang), "local" in i && s(20, d = i.local), "endpoint" in i && s(21, u = i.endpoint), "paymentsession" in i && s(22, m = i.paymentsession), "playersession" in i && s(23, c = i.playersession), "customerid" in i && s(24, g = i.customerid), "assetsurl" in i && s(1, J = i.assetsurl), "currency" in i && s(25, V = i.currency), "numberofmethodsshown" in i && s(26, O = i.numberofmethodsshown), "translationurl" in i && s(2, q = i.translationurl), "mbsource" in i && s(3, j = i.mbsource), "clientstyling" in i && s(4, F = i.clientstyling), "clientstylingurl" in i && s(5, R = i.clientstylingurl), "currencydecimals" in i && s(27, U = i.currencydecimals), "currencysymbol" in i && s(28, K = i.currencysymbol), "currencyposition" in i && s(29, ee = i.currencyposition), "promotedmethods" in i && s(30, B = i.promotedmethods), "type" in i && s(6, te = i.type), "userroles" in i && s(31, Y = i.userroles);
|
|
734
734
|
}, t.$$.update = () => {
|
|
735
735
|
t.$$.dirty[1] & /*userroles*/
|
|
736
736
|
1 && Y && _e(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
737
737
|
56623104 && u && !m && g && he({ currency: V }), t.$$.dirty[0] & /*lang*/
|
|
738
738
|
1 && l && fe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
739
|
-
144 && F && S &&
|
|
740
|
-
160 && R && S &&
|
|
741
|
-
136 && j && S &&
|
|
739
|
+
144 && F && S && Mt(S, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
740
|
+
160 && R && S && bt(S, R), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
741
|
+
136 && j && S && _t(S, `${j}.Style`, ce), t.$$.dirty[0] & /*lang, translationurl*/
|
|
742
742
|
5 && l && q && ue(), t.$$.dirty[0] & /*currencydecimals*/
|
|
743
|
-
134217728 && s(16, n = Number(
|
|
743
|
+
134217728 && s(16, n = Number(U));
|
|
744
744
|
}, [
|
|
745
745
|
l,
|
|
746
746
|
J,
|
|
@@ -750,9 +750,9 @@ function St(t, e, s) {
|
|
|
750
750
|
R,
|
|
751
751
|
te,
|
|
752
752
|
S,
|
|
753
|
-
|
|
754
|
-
G,
|
|
753
|
+
Q,
|
|
755
754
|
X,
|
|
755
|
+
G,
|
|
756
756
|
k,
|
|
757
757
|
b,
|
|
758
758
|
M,
|
|
@@ -769,14 +769,14 @@ function St(t, e, s) {
|
|
|
769
769
|
g,
|
|
770
770
|
V,
|
|
771
771
|
O,
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
U,
|
|
773
|
+
K,
|
|
774
774
|
ee,
|
|
775
775
|
B,
|
|
776
776
|
Y,
|
|
777
777
|
Ve,
|
|
778
|
-
|
|
779
|
-
|
|
778
|
+
Ke,
|
|
779
|
+
Qe
|
|
780
780
|
];
|
|
781
781
|
}
|
|
782
782
|
class Et extends rt {
|
|
@@ -927,7 +927,7 @@ class Et extends rt {
|
|
|
927
927
|
this.$$set({ userroles: e }), w();
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
|
-
|
|
930
|
+
yt(Et, { lang: {}, local: {}, endpoint: {}, paymentsession: {}, playersession: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, currencydecimals: {}, currencysymbol: {}, currencyposition: {}, promotedmethods: {}, type: {}, userroles: {} }, [], [], !0);
|
|
931
931
|
export {
|
|
932
932
|
Et as default
|
|
933
933
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { S as te, b as ie, s as ne, f as C,
|
|
1
|
+
import { S as te, b as ie, s as ne, f as C, d as oe, g as S, t as O, h as z, a8 as le, a9 as se, l as H, n as b, r as ae, _ as j, e as B, u as F, j as Y, k as D, L, m as _, G as re, o as I, p as h, H as de, y as W, z as ce, A as fe, P, c as ue } from "./CashierPage-N8z4Zzox.js";
|
|
2
|
+
import { s as he, a as me, b as ge } from "./CashierHeader-Bt5aV48_.js";
|
|
2
3
|
function pe(i) {
|
|
3
4
|
oe(i, "svelte-vlp16o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
4
5
|
}
|
|
5
|
-
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}),
|
|
6
|
-
function
|
|
6
|
+
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}), q = (i) => ({});
|
|
7
|
+
function A(i) {
|
|
7
8
|
let e, t, n, a, f, m, v, T, k, y, x, u, d = (
|
|
8
9
|
/*modaltype*/
|
|
9
10
|
(i[3] == "error" || /*modaltype*/
|
|
10
|
-
i[3] == "bonusDescription") &&
|
|
11
|
+
i[3] == "bonusDescription") && G()
|
|
11
12
|
);
|
|
12
13
|
const g = (
|
|
13
14
|
/*#slots*/
|
|
@@ -17,11 +18,11 @@ function P(i) {
|
|
|
17
18
|
i,
|
|
18
19
|
/*$$scope*/
|
|
19
20
|
i[13],
|
|
20
|
-
|
|
21
|
+
q
|
|
21
22
|
);
|
|
22
23
|
let r = (
|
|
23
24
|
/*modaltype*/
|
|
24
|
-
i[3] != "2fa-old" &&
|
|
25
|
+
i[3] != "2fa-old" && U(i)
|
|
25
26
|
), l = (
|
|
26
27
|
/*isloading*/
|
|
27
28
|
i[4] === "true" && Z()
|
|
@@ -38,7 +39,7 @@ function P(i) {
|
|
|
38
39
|
);
|
|
39
40
|
return {
|
|
40
41
|
c() {
|
|
41
|
-
e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f =
|
|
42
|
+
e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f = I(), m = b("div"), p && p.c(), v = I(), r && r.c(), T = I(), l && l.c(), k = I(), y = b("div"), c && c.c(), h(m, "class", "TitleText"), h(a, "class", "ModalTitle"), h(n, "class", "ModalHeader"), h(y, "class", "ModalContentWrapper"), L(
|
|
42
43
|
y,
|
|
43
44
|
"hidden",
|
|
44
45
|
/*isloading*/
|
|
@@ -68,7 +69,7 @@ function P(i) {
|
|
|
68
69
|
p(s, w) {
|
|
69
70
|
/*modaltype*/
|
|
70
71
|
s[3] == "error" || /*modaltype*/
|
|
71
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
72
|
+
s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
|
|
72
73
|
8192) && F(
|
|
73
74
|
p,
|
|
74
75
|
g,
|
|
@@ -85,9 +86,9 @@ function P(i) {
|
|
|
85
86
|
/*$$scope*/
|
|
86
87
|
s[13]
|
|
87
88
|
),
|
|
88
|
-
|
|
89
|
+
q
|
|
89
90
|
), /*modaltype*/
|
|
90
|
-
s[3] != "2fa-old" ? r ? r.p(s, w) : (r =
|
|
91
|
+
s[3] != "2fa-old" ? r ? r.p(s, w) : (r = U(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
91
92
|
s[4] === "true" ? l || (l = Z(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
|
|
92
93
|
8192) && F(
|
|
93
94
|
c,
|
|
@@ -137,7 +138,7 @@ function P(i) {
|
|
|
137
138
|
}
|
|
138
139
|
};
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
+
function G(i) {
|
|
141
142
|
let e;
|
|
142
143
|
return {
|
|
143
144
|
c() {
|
|
@@ -151,11 +152,11 @@ function U(i) {
|
|
|
151
152
|
}
|
|
152
153
|
};
|
|
153
154
|
}
|
|
154
|
-
function
|
|
155
|
+
function U(i) {
|
|
155
156
|
let e, t, n, a, f;
|
|
156
157
|
return {
|
|
157
158
|
c() {
|
|
158
|
-
e = b("div"), t =
|
|
159
|
+
e = b("div"), t = P("svg"), n = P("path"), h(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
|
|
159
160
|
},
|
|
160
161
|
m(m, v) {
|
|
161
162
|
H(m, e, v), _(e, t), _(t, n), a || (f = fe(
|
|
@@ -188,7 +189,7 @@ function Z(i) {
|
|
|
188
189
|
function _e(i) {
|
|
189
190
|
let e, t, n = (
|
|
190
191
|
/*show*/
|
|
191
|
-
i[2] === "true" &&
|
|
192
|
+
i[2] === "true" && A(i)
|
|
192
193
|
);
|
|
193
194
|
return {
|
|
194
195
|
c() {
|
|
@@ -200,7 +201,7 @@ function _e(i) {
|
|
|
200
201
|
p(a, [f]) {
|
|
201
202
|
/*show*/
|
|
202
203
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
203
|
-
4 && z(n, 1)) : (n =
|
|
204
|
+
4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
|
|
204
205
|
n = null;
|
|
205
206
|
}), se());
|
|
206
207
|
},
|
|
@@ -228,8 +229,8 @@ function be(i, e, t) {
|
|
|
228
229
|
if (!l || !r || M)
|
|
229
230
|
return;
|
|
230
231
|
s && clearTimeout(c), M = !0;
|
|
231
|
-
const o = l.offsetWidth,
|
|
232
|
-
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${
|
|
232
|
+
const o = l.offsetWidth, X = l.offsetHeight;
|
|
233
|
+
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${X}px`, l), l.offsetHeight, await j();
|
|
233
234
|
const $ = r.scrollHeight, ee = r.scrollWidth;
|
|
234
235
|
t(8, l.style.width = `${ee}px`, l), t(8, l.style.height = `${$}px`, l), s = setTimeout(
|
|
235
236
|
() => {
|
|
@@ -253,26 +254,26 @@ function be(i, e, t) {
|
|
|
253
254
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
254
255
|
};
|
|
255
256
|
});
|
|
256
|
-
function
|
|
257
|
-
|
|
257
|
+
function J(o) {
|
|
258
|
+
W[o ? "unshift" : "push"](() => {
|
|
258
259
|
r = o, t(7, r);
|
|
259
260
|
});
|
|
260
261
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
262
|
+
function K(o) {
|
|
263
|
+
W[o ? "unshift" : "push"](() => {
|
|
263
264
|
l = o, t(8, l);
|
|
264
265
|
});
|
|
265
266
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
267
|
+
function N(o) {
|
|
268
|
+
W[o ? "unshift" : "push"](() => {
|
|
268
269
|
d = o, t(6, d);
|
|
269
270
|
});
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
+
function Q() {
|
|
272
273
|
x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
|
|
273
274
|
}
|
|
274
|
-
function
|
|
275
|
-
|
|
275
|
+
function V(o) {
|
|
276
|
+
W[o ? "unshift" : "push"](() => {
|
|
276
277
|
g = o, t(5, g);
|
|
277
278
|
});
|
|
278
279
|
}
|
|
@@ -283,9 +284,9 @@ function be(i, e, t) {
|
|
|
283
284
|
16 && y && j().then(() => {
|
|
284
285
|
E();
|
|
285
286
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
286
|
-
2080 && m && g &&
|
|
287
|
-
4128 && v && g &&
|
|
288
|
-
1056 && f && g &&
|
|
287
|
+
2080 && m && g && he(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
288
|
+
4128 && v && g && me(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
289
|
+
1056 && f && g && ge(g, `${f}.Style`, p);
|
|
289
290
|
}, [
|
|
290
291
|
x,
|
|
291
292
|
u,
|
|
@@ -302,11 +303,11 @@ function be(i, e, t) {
|
|
|
302
303
|
v,
|
|
303
304
|
a,
|
|
304
305
|
n,
|
|
305
|
-
A,
|
|
306
306
|
J,
|
|
307
307
|
K,
|
|
308
308
|
N,
|
|
309
|
-
Q
|
|
309
|
+
Q,
|
|
310
|
+
V
|
|
310
311
|
];
|
|
311
312
|
}
|
|
312
313
|
class ve extends te {
|
|
@@ -379,7 +380,7 @@ class ve extends te {
|
|
|
379
380
|
this.$$set({ height: e }), C();
|
|
380
381
|
}
|
|
381
382
|
}
|
|
382
|
-
|
|
383
|
+
ue(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
383
384
|
export {
|
|
384
385
|
ve as default
|
|
385
386
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var L=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-flG2gyRG.cjs"),M=require("./CashierHeader-BKL2lJFV.cjs");function R(n){e.append_styles(n,"svelte-vlp16o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const U=n=>({}),T=n=>({}),Z=n=>({}),S=n=>({});function z(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&H();const _=n[14].title,w=e.create_slot(_,n,n[13],S);let d=n[3]!="2fa-old"&&I(n),s=n[4]==="true"&&W();const x=n[14].content,f=e.create_slot(x,n,n[13],T);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=H(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,Z):e.get_all_dirty_from_scope(a[13]),S),a[3]!="2fa-old"?d?d.p(a,y):(d=I(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=W(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function H(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function I(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function W(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function A(n){let t,i,o=n[2]==="true"&&z(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=z(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function G(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>L(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,q=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${q}px`,s),s.offsetHeight,yield e.tick();const P=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${P}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function F(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&M.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&M.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&M.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,E,j,B,F,Y]}class O extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,G,A,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},R)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(O,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=O;
|