@everymatrix/cashier-page 1.94.20 → 1.94.21
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-CrZ0FI9g.js → CashierCarousel-BVmXQ9kB.js} +79 -79
- package/components/{CashierCarousel-ZCpoFR_r.js → CashierCarousel-D1ADcA0H.js} +64 -64
- package/components/{CashierError-D-0Yzizc.js → CashierError-CIDQ2YB-.js} +23 -23
- package/components/{CashierError-CQmfrVPP.js → CashierError-CLDBgPss.js} +22 -22
- package/components/{CashierHeader-D36dZuDE.js → CashierHeader-12-kNdqx.js} +37 -37
- package/components/{CashierHeader-o3JgGAyZ.js → CashierHeader-DLB-b0Aq.js} +37 -37
- package/components/{CashierIframeRedirect-BugT4s1t.js → CashierIframeRedirect-CgcTd1HO.js} +25 -25
- package/components/{CashierIframeRedirect-DLj8qmbG.js → CashierIframeRedirect-Dd8sAbeT.js} +21 -21
- package/components/{CashierMethodDetails-FagPTdMG.js → CashierMethodDetails-Bj94KCo4.js} +5 -5
- package/components/{CashierMethodDetails-CZ5GMKKS.js → CashierMethodDetails-CEiMwFLi.js} +5 -5
- package/components/{CashierMethodsList-D_pTu3SN.js → CashierMethodsList-ByXuMxUg.js} +68 -68
- package/components/{CashierMethodsList-BgIZGOBN.js → CashierMethodsList-DXeNmRFB.js} +38 -38
- package/components/{CashierModal-piYckZ14.js → CashierModal-CBMFqTn1.js} +43 -43
- package/components/{CashierModal-CJYYRGUw.js → CashierModal-YudzgpWu.js} +35 -35
- package/components/{CashierNotifications-B9MCvjeZ.js → CashierNotifications-B7-5A78j.js} +31 -31
- package/components/{CashierNotifications-DMwx6ACA.js → CashierNotifications-Br68hGYZ.js} +31 -31
- package/components/{CashierPage-BpXlJbUK.js → CashierPage-C28wB4Yx.js} +82 -82
- package/components/{CashierPage-DXWsj0rS.js → CashierPage-Dd8aLbzf.js} +82 -82
- package/components/{CashierReceiptPage-BDz55M1f.js → CashierReceiptPage-WgK2A3o2.js} +107 -107
- package/components/{CashierReceiptPage-CZeePZC9.js → CashierReceiptPage-jOvSgAwI.js} +120 -120
- package/components/{CashierSessionExpirationModal-BPldMBVE.js → CashierSessionExpirationModal-AuAN6pay.js} +101 -101
- package/components/{CashierSessionExpirationModal-Cz1afgS4.js → CashierSessionExpirationModal-CkW9fuJk.js} +126 -126
- package/components/{CashierSpinner-KjYxk-2u.js → CashierSpinner-CPHEajyJ.js} +10 -10
- package/components/{CashierSpinner-CgDvXALe.js → CashierSpinner-DzldbJli.js} +6 -6
- package/components/{CashierStepUp-B6BpFfdo.js → CashierStepUp-DpjWLNEu.js} +132 -132
- package/components/{CashierStepUp-cDHtd1oq.js → CashierStepUp-XUIof8gV.js} +49 -49
- package/components/{CashierTransactionHistory-BjzUPyax.js → CashierTransactionHistory-BhMVeP4U.js} +110 -110
- package/components/{CashierTransactionHistory-iZbHQci1.js → CashierTransactionHistory-FFXbkfUa.js} +110 -110
- package/components/{CashierVerifications-CrYjYgSf.js → CashierVerifications-CG9b_Uea.js} +43 -43
- package/components/{CashierVerifications-CIdvrs4W.js → CashierVerifications-DEOjz_us.js} +60 -60
- package/components/{TxnStatusIcon-CoWQkGDs.js → TxnStatusIcon-B6EI9tWy.js} +23 -23
- package/components/{TxnStatusIcon-Dg5tmppw.js → TxnStatusIcon-CFyjzJe_.js} +28 -28
- package/components/{TxnTypeIcons-DFh_jBgP.js → TxnTypeIcons-BHOLXQeh.js} +1 -1
- package/components/{TxnTypeIcons-DcPvLvK7.js → TxnTypeIcons-DEdkYlg3.js} +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as mt, a as ct, b as dt } from "./CashierHeader-
|
|
1
|
+
import { a as Ge, i as Je, $ as Ve, S as Ke, b as Ze, s as Qe, f as y, d as $e, z as ge, g as A, l as x, o as P, v as ze, q as pe, M as ye, N as et, r as tt, K as ot, m as a, n as f, p as h, w as D, O as N, x as T, C as st, y as nt, A as me, L as le, D as we, E as it, I as re, F as rt, J as Me, c as lt, B as at, R as be } from "./CashierPage-Dd8aLbzf.js";
|
|
2
|
+
import { s as mt, a as ct, b as dt } from "./CashierHeader-12-kNdqx.js";
|
|
3
3
|
function _e(t, e) {
|
|
4
4
|
Ge(t, e);
|
|
5
5
|
}
|
|
6
6
|
function ut(t) {
|
|
7
|
-
|
|
7
|
+
Je({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Ve.set(t);
|
|
10
10
|
}
|
|
11
11
|
const ve = {
|
|
12
12
|
en: {
|
|
@@ -264,11 +264,11 @@ function Te(t) {
|
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
266
|
function Se(t) {
|
|
267
|
-
let e, o, n, s, i, l, d, u, m, c, g,
|
|
267
|
+
let e, o, n, s, i, l, d, u, m, c, g, J = (
|
|
268
268
|
/*payMeth*/
|
|
269
269
|
(t[58].Label || /*payMeth*/
|
|
270
270
|
t[58].Name) + ""
|
|
271
|
-
),
|
|
271
|
+
), V, F, W, U, R, O, I = (
|
|
272
272
|
/*$_*/
|
|
273
273
|
t[17]("generalMin") + ""
|
|
274
274
|
), K, ee, q = re(
|
|
@@ -294,7 +294,7 @@ function Se(t) {
|
|
|
294
294
|
t[16]
|
|
295
295
|
)
|
|
296
296
|
}
|
|
297
|
-
) + "", te, B,
|
|
297
|
+
) + "", te, B, j, Z = (
|
|
298
298
|
/*$_*/
|
|
299
299
|
t[17]("generalMax") + ""
|
|
300
300
|
), S, ne, oe = re(
|
|
@@ -320,7 +320,7 @@ function Se(t) {
|
|
|
320
320
|
t[16]
|
|
321
321
|
)
|
|
322
322
|
}
|
|
323
|
-
) + "", E, Y, X, k,
|
|
323
|
+
) + "", E, Y, X, k, Q, M = (
|
|
324
324
|
/*payMeth*/
|
|
325
325
|
t[58].isMethodPromoted && Pe(t)
|
|
326
326
|
), b = !/*desktopView*/
|
|
@@ -339,7 +339,7 @@ function Se(t) {
|
|
|
339
339
|
}
|
|
340
340
|
return {
|
|
341
341
|
c() {
|
|
342
|
-
e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"),
|
|
342
|
+
e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), F = P(), b && b.c(), W = P(), U = f("div"), R = f("span"), O = f("p"), K = T(I), ee = P(), te = T(q), B = P(), j = f("p"), S = T(Z), ne = P(), E = T(oe), Y = P(), w && w.c(), X = P(), Me(n.src, s = /*payMeth*/
|
|
343
343
|
t[58].LogoRelativeUrl ? `${window.origin}payMeth.LogoRelativeUrl` : (
|
|
344
344
|
/*payMeth*/
|
|
345
345
|
t[58].LogoUrl
|
|
@@ -353,7 +353,7 @@ function Se(t) {
|
|
|
353
353
|
);
|
|
354
354
|
},
|
|
355
355
|
m(G, _) {
|
|
356
|
-
x(G, e, _), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g,
|
|
356
|
+
x(G, e, _), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, F), b && b.m(m, null), a(m, W), a(m, U), a(U, R), a(R, O), a(O, K), a(O, ee), a(O, te), a(R, B), a(R, j), a(j, S), a(j, ne), a(j, E), a(m, Y), w && w.m(m, null), a(e, X), k || (Q = [
|
|
357
357
|
me(e, "click", ie),
|
|
358
358
|
me(e, "keyup", wt)
|
|
359
359
|
], k = !0);
|
|
@@ -368,12 +368,12 @@ function Se(t) {
|
|
|
368
368
|
2048 && i !== (i = /*payMeth*/
|
|
369
369
|
t[58].Label) && h(n, "alt", i), /*payMeth*/
|
|
370
370
|
t[58].isMethodPromoted ? M ? M.p(t, _) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), _[0] & /*paymentMethodsToShow*/
|
|
371
|
-
2048 &&
|
|
371
|
+
2048 && J !== (J = /*payMeth*/
|
|
372
372
|
(t[58].Label || /*payMeth*/
|
|
373
|
-
t[58].Name) + "") && D(
|
|
373
|
+
t[58].Name) + "") && D(V, J), /*desktopView*/
|
|
374
374
|
t[13] ? b && (b.d(1), b = null) : b ? b.p(t, _) : (b = De(t), b.c(), b.m(m, W)), _[0] & /*$_*/
|
|
375
|
-
131072 &&
|
|
376
|
-
t[17]("generalMin") + "") && D(K,
|
|
375
|
+
131072 && I !== (I = /*$_*/
|
|
376
|
+
t[17]("generalMin") + "") && D(K, I), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
377
377
|
67840 && q !== (q = re(
|
|
378
378
|
/*payMeth*/
|
|
379
379
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -398,8 +398,8 @@ function Se(t) {
|
|
|
398
398
|
)
|
|
399
399
|
}
|
|
400
400
|
) + "") && D(te, q), _[0] & /*$_*/
|
|
401
|
-
131072 &&
|
|
402
|
-
t[17]("generalMax") + "") && D(S,
|
|
401
|
+
131072 && Z !== (Z = /*$_*/
|
|
402
|
+
t[17]("generalMax") + "") && D(S, Z), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
403
403
|
67840 && oe !== (oe = re(
|
|
404
404
|
/*payMeth*/
|
|
405
405
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
@@ -434,7 +434,7 @@ function Se(t) {
|
|
|
434
434
|
);
|
|
435
435
|
},
|
|
436
436
|
d(G) {
|
|
437
|
-
G && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(
|
|
437
|
+
G && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(Q);
|
|
438
438
|
}
|
|
439
439
|
};
|
|
440
440
|
}
|
|
@@ -591,7 +591,7 @@ const yt = "PaymentPromotion", wt = () => {
|
|
|
591
591
|
function Mt(t, e, o) {
|
|
592
592
|
let n, s, i;
|
|
593
593
|
pe(t, at, (r) => o(17, s = r)), pe(t, be, (r) => o(42, i = r)), ye.extend(et);
|
|
594
|
-
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl:
|
|
594
|
+
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: F } = e, { translationurl: W = "" } = e, { mbsource: U } = e, { clientstyling: R } = e, { clientstylingurl: O } = e, { currencydecimals: I = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, j, Z = {}, S, ne, oe = window.navigator.userAgent, E = [], Y, X = "", k = [], Q = [], M = "", b, w = !0, ie = !1, G = !1, _ = [];
|
|
595
595
|
var ae;
|
|
596
596
|
(function(r) {
|
|
597
597
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -615,8 +615,8 @@ function Mt(t, e, o) {
|
|
|
615
615
|
}, Re = (r) => {
|
|
616
616
|
i && Fe(r);
|
|
617
617
|
}, Fe = (r) => {
|
|
618
|
-
const { currency: p } = r, v =
|
|
619
|
-
|
|
618
|
+
const { currency: p } = r, v = j !== void 0 && j !== p ? "MetadataLoading" : "DataLoading";
|
|
619
|
+
j = p, window.postMessage({ type: v, isDataLoaded: !1 }, window.location.href);
|
|
620
620
|
const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), z = new Headers();
|
|
621
621
|
z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-Client-Request-Timestamp", ye.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), z.append("X-SessionId", `${c}`), z.append("X-Payment-Session-Token", `${m || i}`), _.indexOf("MM_CHANNEL_BETA") != -1 && z.append("MM_CHANNEL", "BETA");
|
|
622
622
|
const H = {
|
|
@@ -637,13 +637,13 @@ function Mt(t, e, o) {
|
|
|
637
637
|
return;
|
|
638
638
|
}
|
|
639
639
|
if (C.ResponseCode !== ae.Success) {
|
|
640
|
-
b = C.ResponseCode,
|
|
640
|
+
b = C.ResponseCode, Ie();
|
|
641
641
|
return;
|
|
642
642
|
}
|
|
643
643
|
E = C.PaymentMethods?.Ordering ? Oe(C) : Ue(C), window.postMessage(
|
|
644
644
|
{
|
|
645
645
|
type: "PromotedPaymentMethods",
|
|
646
|
-
promotedPaymentMethods:
|
|
646
|
+
promotedPaymentMethods: Q
|
|
647
647
|
},
|
|
648
648
|
window.location.href
|
|
649
649
|
), o(10, X = F && +F > 0 && E.length > +F ? s("showAll") : ""), o(11, k = X ? E.slice(0, +F) : E), q == "false" && o(11, k = k.sort((se, he) => se.isMethodPromoted && !he.isMethodPromoted ? -1 : !se.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), o(15, G = !k.length), window.postMessage(
|
|
@@ -658,11 +658,11 @@ function Mt(t, e, o) {
|
|
|
658
658
|
});
|
|
659
659
|
}, Oe = (r) => {
|
|
660
660
|
const p = [];
|
|
661
|
-
return
|
|
661
|
+
return Q = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
|
|
662
662
|
const v = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
|
|
663
663
|
if (v) {
|
|
664
664
|
const L = v?.Logos.find((C) => C.LogoType === "Desktop") || {}, z = v?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : z;
|
|
665
|
-
v.isMethodPromoted = ue(v.Tags), v.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", v.isMethodPromoted &&
|
|
665
|
+
v.isMethodPromoted = ue(v.Tags), v.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", v.isMethodPromoted && Q.push(v), p.push(v);
|
|
666
666
|
}
|
|
667
667
|
}), p;
|
|
668
668
|
}, Ue = (r) => {
|
|
@@ -674,7 +674,7 @@ function Mt(t, e, o) {
|
|
|
674
674
|
([L, z], H) => (H && H.isMethodPromoted ? L.push(H) : z.promo(H), [L, z]),
|
|
675
675
|
[[], []]
|
|
676
676
|
);
|
|
677
|
-
return
|
|
677
|
+
return Q = $, v;
|
|
678
678
|
}, ce = (r) => {
|
|
679
679
|
o(9, Y = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
|
|
680
680
|
"selectPayMeth",
|
|
@@ -685,7 +685,7 @@ function Mt(t, e, o) {
|
|
|
685
685
|
composed: !0
|
|
686
686
|
}
|
|
687
687
|
));
|
|
688
|
-
},
|
|
688
|
+
}, Ie = () => {
|
|
689
689
|
window.postMessage(
|
|
690
690
|
{
|
|
691
691
|
type: "ErrorResponseCode",
|
|
@@ -693,7 +693,7 @@ function Mt(t, e, o) {
|
|
|
693
693
|
},
|
|
694
694
|
window.location.href
|
|
695
695
|
);
|
|
696
|
-
},
|
|
696
|
+
}, je = () => {
|
|
697
697
|
o(13, w = !st(oe));
|
|
698
698
|
}, de = () => {
|
|
699
699
|
k == E ? We() : He();
|
|
@@ -705,14 +705,14 @@ function Mt(t, e, o) {
|
|
|
705
705
|
const { data: { type: p } = {} } = r || {};
|
|
706
706
|
switch (p) {
|
|
707
707
|
case "PrecisionCurrenciesMap": {
|
|
708
|
-
o(8,
|
|
708
|
+
o(8, Z = r?.data?.payload || {});
|
|
709
709
|
break;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
}, qe = () => {
|
|
713
713
|
B.length > 0 && (_ = B.split(","));
|
|
714
714
|
};
|
|
715
|
-
tt(() => (
|
|
715
|
+
tt(() => (je(), ot(d, K, ee, I), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
|
|
716
716
|
window.removeEventListener("message", fe);
|
|
717
717
|
}));
|
|
718
718
|
const Be = (r) => ce(r), Ye = () => de();
|
|
@@ -722,27 +722,27 @@ function Mt(t, e, o) {
|
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
return t.$$set = (r) => {
|
|
725
|
-
"lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1,
|
|
725
|
+
"lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1, J = r.assetsurl), "currency" in r && o(25, V = r.currency), "numberofmethodsshown" in r && o(26, F = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, U = r.mbsource), "clientstyling" in r && o(4, R = r.clientstyling), "clientstylingurl" in r && o(5, O = r.clientstylingurl), "currencydecimals" in r && o(27, I = r.currencydecimals), "currencysymbol" in r && o(28, K = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, q = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, B = r.userroles);
|
|
726
726
|
}, t.$$.update = () => {
|
|
727
727
|
t.$$.dirty[1] & /*userroles*/
|
|
728
728
|
1 && B && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
729
|
-
56623104 && u && !m && g && Re({ currency:
|
|
729
|
+
56623104 && u && !m && g && Re({ currency: V }), t.$$.dirty[0] & /*lang*/
|
|
730
730
|
1 && l && xe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
731
731
|
144 && R && S && mt(S, R), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
732
732
|
160 && O && S && ct(S, O), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
733
733
|
136 && U && S && dt(S, `${U}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
|
|
734
734
|
5 && l && W && Ae(), t.$$.dirty[0] & /*currencydecimals*/
|
|
735
|
-
134217728 && o(16, n = Number(
|
|
735
|
+
134217728 && o(16, n = Number(I));
|
|
736
736
|
}, [
|
|
737
737
|
l,
|
|
738
|
-
|
|
738
|
+
J,
|
|
739
739
|
W,
|
|
740
740
|
U,
|
|
741
741
|
R,
|
|
742
742
|
O,
|
|
743
743
|
te,
|
|
744
744
|
S,
|
|
745
|
-
|
|
745
|
+
Z,
|
|
746
746
|
Y,
|
|
747
747
|
X,
|
|
748
748
|
k,
|
|
@@ -759,9 +759,9 @@ function Mt(t, e, o) {
|
|
|
759
759
|
m,
|
|
760
760
|
c,
|
|
761
761
|
g,
|
|
762
|
-
|
|
762
|
+
V,
|
|
763
763
|
F,
|
|
764
|
-
|
|
764
|
+
I,
|
|
765
765
|
K,
|
|
766
766
|
ee,
|
|
767
767
|
q,
|
|
@@ -773,12 +773,12 @@ function Mt(t, e, o) {
|
|
|
773
773
|
}
|
|
774
774
|
class bt extends Ke {
|
|
775
775
|
constructor(e) {
|
|
776
|
-
super(),
|
|
776
|
+
super(), Ze(
|
|
777
777
|
this,
|
|
778
778
|
e,
|
|
779
779
|
Mt,
|
|
780
780
|
pt,
|
|
781
|
-
|
|
781
|
+
Qe,
|
|
782
782
|
{
|
|
783
783
|
lang: 0,
|
|
784
784
|
local: 20,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { S as te,
|
|
2
|
-
import { s as he, a as me, b as ge } from "./CashierHeader-
|
|
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, a7 as le, a8 as se, l as H, n as b, r as ae, a0 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, Q as R, c as ue } from "./CashierPage-Dd8aLbzf.js";
|
|
2
|
+
import { s as he, a as me, b as ge } from "./CashierHeader-12-kNdqx.js";
|
|
3
3
|
function pe(i) {
|
|
4
4
|
oe(i, "svelte-e2luo5", '*,*::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)}.Uppercase{text-transform:uppercase}.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}}');
|
|
5
5
|
}
|
|
6
6
|
const we = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), q = (i) => ({});
|
|
7
|
-
function
|
|
8
|
-
let e, t, n, a, f, m, v, T, k, y,
|
|
7
|
+
function A(i) {
|
|
8
|
+
let e, t, n, a, f, m, v, T, k, y, x, u, d = (
|
|
9
9
|
/*modaltype*/
|
|
10
10
|
(i[3] == "error" || /*modaltype*/
|
|
11
|
-
i[3] == "bonusDescription") &&
|
|
11
|
+
i[3] == "bonusDescription") && G()
|
|
12
12
|
);
|
|
13
13
|
const g = (
|
|
14
14
|
/*#slots*/
|
|
15
15
|
i[14].title
|
|
16
|
-
), p =
|
|
16
|
+
), p = B(
|
|
17
17
|
g,
|
|
18
18
|
i,
|
|
19
19
|
/*$$scope*/
|
|
@@ -22,15 +22,15 @@ function P(i) {
|
|
|
22
22
|
);
|
|
23
23
|
let r = (
|
|
24
24
|
/*modaltype*/
|
|
25
|
-
i[3] != "2fa-old" &&
|
|
25
|
+
i[3] != "2fa-old" && P(i)
|
|
26
26
|
), l = (
|
|
27
27
|
/*isloading*/
|
|
28
|
-
i[4] === "true" &&
|
|
28
|
+
i[4] === "true" && Q()
|
|
29
29
|
);
|
|
30
30
|
const M = (
|
|
31
31
|
/*#slots*/
|
|
32
32
|
i[14].content
|
|
33
|
-
), c =
|
|
33
|
+
), c = B(
|
|
34
34
|
M,
|
|
35
35
|
i,
|
|
36
36
|
/*$$scope*/
|
|
@@ -60,7 +60,7 @@ function P(i) {
|
|
|
60
60
|
));
|
|
61
61
|
},
|
|
62
62
|
m(s, w) {
|
|
63
|
-
H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e),
|
|
63
|
+
H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), x = re(
|
|
64
64
|
e,
|
|
65
65
|
/*div5_elementresize_handler*/
|
|
66
66
|
i[18].bind(e)
|
|
@@ -69,8 +69,8 @@ function P(i) {
|
|
|
69
69
|
p(s, w) {
|
|
70
70
|
/*modaltype*/
|
|
71
71
|
s[3] == "error" || /*modaltype*/
|
|
72
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
73
|
-
8192) &&
|
|
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*/
|
|
73
|
+
8192) && F(
|
|
74
74
|
p,
|
|
75
75
|
g,
|
|
76
76
|
s,
|
|
@@ -82,15 +82,15 @@ function P(i) {
|
|
|
82
82
|
s[13],
|
|
83
83
|
w,
|
|
84
84
|
ye
|
|
85
|
-
) :
|
|
85
|
+
) : Y(
|
|
86
86
|
/*$$scope*/
|
|
87
87
|
s[13]
|
|
88
88
|
),
|
|
89
89
|
q
|
|
90
90
|
), /*modaltype*/
|
|
91
|
-
s[3] != "2fa-old" ? r ? r.p(s, w) : (r =
|
|
92
|
-
s[4] === "true" ? l || (l =
|
|
93
|
-
8192) &&
|
|
91
|
+
s[3] != "2fa-old" ? r ? r.p(s, w) : (r = P(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
92
|
+
s[4] === "true" ? l || (l = Q(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
|
|
93
|
+
8192) && F(
|
|
94
94
|
c,
|
|
95
95
|
M,
|
|
96
96
|
s,
|
|
@@ -102,7 +102,7 @@ function P(i) {
|
|
|
102
102
|
s[13],
|
|
103
103
|
w,
|
|
104
104
|
we
|
|
105
|
-
) :
|
|
105
|
+
) : Y(
|
|
106
106
|
/*$$scope*/
|
|
107
107
|
s[13]
|
|
108
108
|
),
|
|
@@ -134,11 +134,11 @@ function P(i) {
|
|
|
134
134
|
O(p, s), O(c, s), u = !1;
|
|
135
135
|
},
|
|
136
136
|
d(s) {
|
|
137
|
-
s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null),
|
|
137
|
+
s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), x();
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function G(i) {
|
|
142
142
|
let e;
|
|
143
143
|
return {
|
|
144
144
|
c() {
|
|
@@ -152,7 +152,7 @@ function Q(i) {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function P(i) {
|
|
156
156
|
let e, t, n, a, f;
|
|
157
157
|
return {
|
|
158
158
|
c() {
|
|
@@ -172,7 +172,7 @@ function V(i) {
|
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Q(i) {
|
|
176
176
|
let e;
|
|
177
177
|
return {
|
|
178
178
|
c() {
|
|
@@ -189,7 +189,7 @@ function Z(i) {
|
|
|
189
189
|
function _e(i) {
|
|
190
190
|
let e, t, n = (
|
|
191
191
|
/*show*/
|
|
192
|
-
i[2] === "true" &&
|
|
192
|
+
i[2] === "true" && A(i)
|
|
193
193
|
);
|
|
194
194
|
return {
|
|
195
195
|
c() {
|
|
@@ -201,7 +201,7 @@ function _e(i) {
|
|
|
201
201
|
p(a, [f]) {
|
|
202
202
|
/*show*/
|
|
203
203
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
204
|
-
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, () => {
|
|
205
205
|
n = null;
|
|
206
206
|
}), se());
|
|
207
207
|
},
|
|
@@ -217,7 +217,7 @@ function _e(i) {
|
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
function be(i, e, t) {
|
|
220
|
-
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width:
|
|
220
|
+
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: x } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
|
|
221
221
|
const w = () => {
|
|
222
222
|
c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
|
|
223
223
|
() => {
|
|
@@ -254,31 +254,31 @@ function be(i, e, t) {
|
|
|
254
254
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
function
|
|
257
|
+
function Z(o) {
|
|
258
258
|
W[o ? "unshift" : "push"](() => {
|
|
259
259
|
r = o, t(7, r);
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function J(o) {
|
|
263
263
|
W[o ? "unshift" : "push"](() => {
|
|
264
264
|
l = o, t(8, l);
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function K(o) {
|
|
268
268
|
W[o ? "unshift" : "push"](() => {
|
|
269
269
|
d = o, t(6, d);
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
|
|
272
|
+
function N() {
|
|
273
|
+
x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function V(o) {
|
|
276
276
|
W[o ? "unshift" : "push"](() => {
|
|
277
277
|
g = o, t(5, g);
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
280
|
return i.$$set = (o) => {
|
|
281
|
-
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0,
|
|
281
|
+
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, x = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
282
282
|
}, i.$$.update = () => {
|
|
283
283
|
i.$$.dirty & /*isloading*/
|
|
284
284
|
16 && y && j().then(() => {
|
|
@@ -288,7 +288,7 @@ function be(i, e, t) {
|
|
|
288
288
|
4128 && v && g && me(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
289
289
|
1056 && f && g && ge(g, `${f}.Style`, p);
|
|
290
290
|
}, [
|
|
291
|
-
|
|
291
|
+
x,
|
|
292
292
|
u,
|
|
293
293
|
T,
|
|
294
294
|
k,
|
|
@@ -303,11 +303,11 @@ function be(i, e, t) {
|
|
|
303
303
|
v,
|
|
304
304
|
a,
|
|
305
305
|
n,
|
|
306
|
-
|
|
307
|
-
G,
|
|
306
|
+
Z,
|
|
308
307
|
J,
|
|
309
308
|
K,
|
|
310
|
-
N
|
|
309
|
+
N,
|
|
310
|
+
V
|
|
311
311
|
];
|
|
312
312
|
}
|
|
313
313
|
class ve extends te {
|
|
@@ -335,49 +335,49 @@ class ve extends te {
|
|
|
335
335
|
return this.$$.ctx[10];
|
|
336
336
|
}
|
|
337
337
|
set mbsource(e) {
|
|
338
|
-
this.$$set({ mbsource: e }),
|
|
338
|
+
this.$$set({ mbsource: e }), C();
|
|
339
339
|
}
|
|
340
340
|
get clientstyling() {
|
|
341
341
|
return this.$$.ctx[11];
|
|
342
342
|
}
|
|
343
343
|
set clientstyling(e) {
|
|
344
|
-
this.$$set({ clientstyling: e }),
|
|
344
|
+
this.$$set({ clientstyling: e }), C();
|
|
345
345
|
}
|
|
346
346
|
get clientstylingurl() {
|
|
347
347
|
return this.$$.ctx[12];
|
|
348
348
|
}
|
|
349
349
|
set clientstylingurl(e) {
|
|
350
|
-
this.$$set({ clientstylingurl: e }),
|
|
350
|
+
this.$$set({ clientstylingurl: e }), C();
|
|
351
351
|
}
|
|
352
352
|
get show() {
|
|
353
353
|
return this.$$.ctx[2];
|
|
354
354
|
}
|
|
355
355
|
set show(e) {
|
|
356
|
-
this.$$set({ show: e }),
|
|
356
|
+
this.$$set({ show: e }), C();
|
|
357
357
|
}
|
|
358
358
|
get modaltype() {
|
|
359
359
|
return this.$$.ctx[3];
|
|
360
360
|
}
|
|
361
361
|
set modaltype(e) {
|
|
362
|
-
this.$$set({ modaltype: e }),
|
|
362
|
+
this.$$set({ modaltype: e }), C();
|
|
363
363
|
}
|
|
364
364
|
get isloading() {
|
|
365
365
|
return this.$$.ctx[4];
|
|
366
366
|
}
|
|
367
367
|
set isloading(e) {
|
|
368
|
-
this.$$set({ isloading: e }),
|
|
368
|
+
this.$$set({ isloading: e }), C();
|
|
369
369
|
}
|
|
370
370
|
get width() {
|
|
371
371
|
return this.$$.ctx[0];
|
|
372
372
|
}
|
|
373
373
|
set width(e) {
|
|
374
|
-
this.$$set({ width: e }),
|
|
374
|
+
this.$$set({ width: e }), C();
|
|
375
375
|
}
|
|
376
376
|
get height() {
|
|
377
377
|
return this.$$.ctx[1];
|
|
378
378
|
}
|
|
379
379
|
set height(e) {
|
|
380
|
-
this.$$set({ height: e }),
|
|
380
|
+
this.$$set({ height: e }), C();
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
ue(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|