@everymatrix/cashier-page 1.87.26 → 1.87.102
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-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
- package/components/CashierCarousel-BhLbwlL5.js +5736 -0
- package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
- package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
- package/components/CashierError-BN1XW0cs.cjs +1 -0
- package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
- package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
- package/components/CashierError-CXcO-Kju.js +415 -0
- package/components/CashierError-CXwvUOLy.js +415 -0
- package/components/CashierError-D4Au4WNB.cjs +1 -0
- package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
- package/components/CashierHeader-BhGRQhkm.cjs +1 -0
- package/components/CashierHeader-C_Mz7ISU.js +397 -0
- package/components/CashierHeader-CaV1gcjZ.js +397 -0
- package/components/CashierHeader-CmAjJv-w.cjs +1 -0
- package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
- package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
- package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
- package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
- package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
- package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
- package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
- package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
- package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
- package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
- package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
- package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
- package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
- package/components/CashierMethodsList-B6tMxcnh.js +794 -0
- package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
- package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
- package/components/CashierMethodsList-DSq72RRw.js +809 -0
- package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
- package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
- package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
- package/components/CashierModal-C845c3D0.cjs +1 -0
- package/components/CashierModal-CTYxaPKG.js +366 -0
- package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
- package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
- package/components/CashierModal-ndVMjksn.js +382 -0
- package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
- package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/CashierNotifications-D4fUbROm.js +129 -0
- package/components/CashierNotifications-JNstA5Yb.js +129 -0
- package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
- package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
- package/components/CashierPage-4nTfbT_j.js +3994 -0
- package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
- package/components/CashierPage-Bd71Nhaq.js +4020 -0
- package/components/CashierPage-CHtYMgc0.cjs +1 -0
- package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
- package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
- package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
- package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
- package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
- package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
- package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
- package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
- package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
- package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
- package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
- package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
- package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
- package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
- package/components/CashierSpinner-C0P8ZCtD.js +78 -0
- package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/CashierSpinner-CikMZBzw.cjs +1 -0
- package/components/CashierSpinner-DJTUb5NI.js +78 -0
- package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/CashierStepUp-5um8gbUX.js +1068 -0
- package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
- package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
- package/components/CashierStepUp-CxawlCYf.cjs +1 -0
- package/components/CashierStepUp-CyO7gmgP.js +1107 -0
- package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
- package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
- package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
- package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
- package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
- package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
- package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
- package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
- package/components/CashierVerifications-BmZYiJaN.js +578 -0
- package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
- package/components/CashierVerifications-DkayuISY.cjs +1 -0
- package/components/CashierVerifications-hID6hjDs.js +582 -0
- package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
- package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
- package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
- package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
- package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
- package/components/TxnStatusIcon-VvYGYLio.js +142 -0
- package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
- package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/TxnTypeIcons-lKki7AUK.js +101 -0
- package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
- package/components/TxnTypeIcons-zM86UKOx.js +101 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
- package/components/CashierError-BOmVvy3N.cjs +0 -1
- package/components/CashierHeader-B7XYr24D.cjs +0 -1
- package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
- package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
- package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
|
@@ -1,125 +1,141 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var B = (i, e, t) => new Promise((n, a) => {
|
|
2
|
+
var f = (p) => {
|
|
3
|
+
try {
|
|
4
|
+
g(t.next(p));
|
|
5
|
+
} catch (C) {
|
|
6
|
+
a(C);
|
|
7
|
+
}
|
|
8
|
+
}, h = (p) => {
|
|
9
|
+
try {
|
|
10
|
+
g(t.throw(p));
|
|
11
|
+
} catch (C) {
|
|
12
|
+
a(C);
|
|
13
|
+
}
|
|
14
|
+
}, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
|
|
15
|
+
g((t = t.apply(i, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { S as ie, b as ne, f as M, c as oe, s as le, d as se, g as x, k as S, t as z, o as O, a6 as ae, p as H, r as re, O as j, v as de, e as F, h as I, j as m, T, L as ce, l as v, a7 as fe, u as Y, m as D, n as R, R as q, z as ue, G as he, a8 as me, B as W, C as ge, D as pe } from "./CashierCarousel-BS_3salc.js";
|
|
18
|
+
function we(i) {
|
|
19
|
+
se(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
20
|
}
|
|
5
|
-
const
|
|
6
|
-
function
|
|
7
|
-
let e, t, n, a, f,
|
|
21
|
+
const ye = (i) => ({}), G = (i) => ({}), _e = (i) => ({}), P = (i) => ({});
|
|
22
|
+
function U(i) {
|
|
23
|
+
let e, t, n, a, f, h, g, p, C, b, k, u, d = (
|
|
8
24
|
/*modaltype*/
|
|
9
25
|
(i[3] == "error" || /*modaltype*/
|
|
10
|
-
i[3] == "bonusDescription") &&
|
|
26
|
+
i[3] == "bonusDescription") && Z()
|
|
11
27
|
);
|
|
12
28
|
const w = (
|
|
13
29
|
/*#slots*/
|
|
14
30
|
i[14].title
|
|
15
|
-
),
|
|
31
|
+
), y = F(
|
|
16
32
|
w,
|
|
17
33
|
i,
|
|
18
34
|
/*$$scope*/
|
|
19
35
|
i[13],
|
|
20
|
-
|
|
36
|
+
P
|
|
21
37
|
);
|
|
22
|
-
let
|
|
38
|
+
let r = (
|
|
23
39
|
/*modaltype*/
|
|
24
|
-
i[3] != "2fa-old" &&
|
|
25
|
-
),
|
|
40
|
+
i[3] != "2fa-old" && A(i)
|
|
41
|
+
), l = (
|
|
26
42
|
/*isloading*/
|
|
27
|
-
i[4] === "true" &&
|
|
43
|
+
i[4] === "true" && J()
|
|
28
44
|
);
|
|
29
|
-
const
|
|
45
|
+
const L = (
|
|
30
46
|
/*#slots*/
|
|
31
47
|
i[14].content
|
|
32
|
-
),
|
|
33
|
-
|
|
48
|
+
), c = F(
|
|
49
|
+
L,
|
|
34
50
|
i,
|
|
35
51
|
/*$$scope*/
|
|
36
52
|
i[13],
|
|
37
|
-
|
|
53
|
+
G
|
|
38
54
|
);
|
|
39
55
|
return {
|
|
40
56
|
c() {
|
|
41
|
-
e =
|
|
42
|
-
|
|
57
|
+
e = x("div"), t = x("div"), n = x("div"), a = x("div"), d && d.c(), f = I(), h = x("div"), y && y.c(), g = I(), r && r.c(), p = I(), l && l.c(), C = I(), b = x("div"), c && c.c(), m(h, "class", "TitleText"), m(a, "class", "ModalTitle"), m(n, "class", "ModalHeader"), m(b, "class", "ModalContentWrapper"), T(
|
|
58
|
+
b,
|
|
43
59
|
"hidden",
|
|
44
60
|
/*isloading*/
|
|
45
61
|
i[4] === "true"
|
|
46
|
-
),
|
|
62
|
+
), m(t, "class", "ModalContainer"), T(
|
|
47
63
|
t,
|
|
48
64
|
"video-mode",
|
|
49
65
|
/*modaltype*/
|
|
50
66
|
i[3] === "video"
|
|
51
|
-
),
|
|
67
|
+
), T(
|
|
52
68
|
t,
|
|
53
69
|
"twofa-mode",
|
|
54
70
|
/*modaltype*/
|
|
55
71
|
i[3] === "2fa"
|
|
56
|
-
),
|
|
72
|
+
), m(e, "id", "Modal"), ce(() => (
|
|
57
73
|
/*div5_elementresize_handler*/
|
|
58
74
|
i[18].call(e)
|
|
59
75
|
));
|
|
60
76
|
},
|
|
61
|
-
m(s,
|
|
62
|
-
|
|
77
|
+
m(s, _) {
|
|
78
|
+
S(s, e, _), v(e, t), v(t, n), v(n, a), d && d.m(a, null), v(a, f), v(a, h), y && y.m(h, null), v(n, g), r && r.m(n, null), v(t, p), l && l.m(t, null), v(t, C), v(t, b), c && c.m(b, null), i[15](b), i[16](t), i[17](e), k = fe(
|
|
63
79
|
e,
|
|
64
80
|
/*div5_elementresize_handler*/
|
|
65
81
|
i[18].bind(e)
|
|
66
82
|
), u = !0;
|
|
67
83
|
},
|
|
68
|
-
p(s,
|
|
84
|
+
p(s, _) {
|
|
69
85
|
/*modaltype*/
|
|
70
86
|
s[3] == "error" || /*modaltype*/
|
|
71
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
72
|
-
8192) &&
|
|
73
|
-
|
|
87
|
+
s[3] == "bonusDescription" ? d || (d = Z(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
|
|
88
|
+
8192) && Y(
|
|
89
|
+
y,
|
|
74
90
|
w,
|
|
75
91
|
s,
|
|
76
92
|
/*$$scope*/
|
|
77
93
|
s[13],
|
|
78
|
-
u ?
|
|
94
|
+
u ? R(
|
|
79
95
|
w,
|
|
80
96
|
/*$$scope*/
|
|
81
97
|
s[13],
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
) :
|
|
98
|
+
_,
|
|
99
|
+
_e
|
|
100
|
+
) : D(
|
|
85
101
|
/*$$scope*/
|
|
86
102
|
s[13]
|
|
87
103
|
),
|
|
88
|
-
|
|
104
|
+
P
|
|
89
105
|
), /*modaltype*/
|
|
90
|
-
s[3] != "2fa-old" ?
|
|
91
|
-
s[4] === "true" ?
|
|
92
|
-
8192) &&
|
|
93
|
-
|
|
94
|
-
|
|
106
|
+
s[3] != "2fa-old" ? r ? r.p(s, _) : (r = A(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
107
|
+
s[4] === "true" ? l || (l = J(), l.c(), l.m(t, C)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
108
|
+
8192) && Y(
|
|
109
|
+
c,
|
|
110
|
+
L,
|
|
95
111
|
s,
|
|
96
112
|
/*$$scope*/
|
|
97
113
|
s[13],
|
|
98
|
-
u ?
|
|
99
|
-
|
|
114
|
+
u ? R(
|
|
115
|
+
L,
|
|
100
116
|
/*$$scope*/
|
|
101
117
|
s[13],
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
) :
|
|
118
|
+
_,
|
|
119
|
+
ye
|
|
120
|
+
) : D(
|
|
105
121
|
/*$$scope*/
|
|
106
122
|
s[13]
|
|
107
123
|
),
|
|
108
|
-
|
|
109
|
-
), (!u ||
|
|
110
|
-
16) &&
|
|
111
|
-
|
|
124
|
+
G
|
|
125
|
+
), (!u || _ & /*isloading*/
|
|
126
|
+
16) && T(
|
|
127
|
+
b,
|
|
112
128
|
"hidden",
|
|
113
129
|
/*isloading*/
|
|
114
130
|
s[4] === "true"
|
|
115
|
-
), (!u ||
|
|
116
|
-
8) &&
|
|
131
|
+
), (!u || _ & /*modaltype*/
|
|
132
|
+
8) && T(
|
|
117
133
|
t,
|
|
118
134
|
"video-mode",
|
|
119
135
|
/*modaltype*/
|
|
120
136
|
s[3] === "video"
|
|
121
|
-
), (!u ||
|
|
122
|
-
8) &&
|
|
137
|
+
), (!u || _ & /*modaltype*/
|
|
138
|
+
8) && T(
|
|
123
139
|
t,
|
|
124
140
|
"twofa-mode",
|
|
125
141
|
/*modaltype*/
|
|
@@ -127,82 +143,82 @@ function G(i) {
|
|
|
127
143
|
);
|
|
128
144
|
},
|
|
129
145
|
i(s) {
|
|
130
|
-
u || (z(
|
|
146
|
+
u || (z(y, s), z(c, s), u = !0);
|
|
131
147
|
},
|
|
132
148
|
o(s) {
|
|
133
|
-
O(
|
|
149
|
+
O(y, s), O(c, s), u = !1;
|
|
134
150
|
},
|
|
135
151
|
d(s) {
|
|
136
|
-
s &&
|
|
152
|
+
s && H(e), d && d.d(), y && y.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), k();
|
|
137
153
|
}
|
|
138
154
|
};
|
|
139
155
|
}
|
|
140
|
-
function
|
|
156
|
+
function Z(i) {
|
|
141
157
|
let e;
|
|
142
158
|
return {
|
|
143
159
|
c() {
|
|
144
|
-
e =
|
|
160
|
+
e = x("div"), e.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>', m(e, "class", "WarningIcon");
|
|
145
161
|
},
|
|
146
162
|
m(t, n) {
|
|
147
|
-
|
|
163
|
+
S(t, e, n);
|
|
148
164
|
},
|
|
149
165
|
d(t) {
|
|
150
|
-
t &&
|
|
166
|
+
t && H(e);
|
|
151
167
|
}
|
|
152
168
|
};
|
|
153
169
|
}
|
|
154
|
-
function
|
|
170
|
+
function A(i) {
|
|
155
171
|
let e, t, n, a, f;
|
|
156
172
|
return {
|
|
157
173
|
c() {
|
|
158
|
-
e =
|
|
174
|
+
e = x("div"), t = q("svg"), n = q("path"), m(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"), m(t, "xmlns", "http://www.w3.org/2000/svg"), m(t, "viewBox", "0 0 13 13"), m(t, "fill", "none"), m(t, "class", "CloseButton"), m(e, "class", "ModalCloseIcon");
|
|
159
175
|
},
|
|
160
|
-
m(
|
|
161
|
-
|
|
176
|
+
m(h, g) {
|
|
177
|
+
S(h, e, g), v(e, t), v(t, n), a || (f = ue(
|
|
162
178
|
t,
|
|
163
179
|
"click",
|
|
164
180
|
/*closeModal*/
|
|
165
181
|
i[9]
|
|
166
182
|
), a = !0);
|
|
167
183
|
},
|
|
168
|
-
p:
|
|
169
|
-
d(
|
|
170
|
-
|
|
184
|
+
p: he,
|
|
185
|
+
d(h) {
|
|
186
|
+
h && H(e), a = !1, f();
|
|
171
187
|
}
|
|
172
188
|
};
|
|
173
189
|
}
|
|
174
|
-
function
|
|
190
|
+
function J(i) {
|
|
175
191
|
let e;
|
|
176
192
|
return {
|
|
177
193
|
c() {
|
|
178
|
-
e =
|
|
194
|
+
e = x("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
|
|
179
195
|
},
|
|
180
196
|
m(t, n) {
|
|
181
|
-
|
|
197
|
+
S(t, e, n);
|
|
182
198
|
},
|
|
183
199
|
d(t) {
|
|
184
|
-
t &&
|
|
200
|
+
t && H(e);
|
|
185
201
|
}
|
|
186
202
|
};
|
|
187
203
|
}
|
|
188
|
-
function
|
|
204
|
+
function be(i) {
|
|
189
205
|
let e, t, n = (
|
|
190
206
|
/*show*/
|
|
191
|
-
i[2] === "true" &&
|
|
207
|
+
i[2] === "true" && U(i)
|
|
192
208
|
);
|
|
193
209
|
return {
|
|
194
210
|
c() {
|
|
195
|
-
e =
|
|
211
|
+
e = x("div"), n && n.c();
|
|
196
212
|
},
|
|
197
213
|
m(a, f) {
|
|
198
|
-
|
|
214
|
+
S(a, e, f), n && n.m(e, null), i[19](e), t = !0;
|
|
199
215
|
},
|
|
200
216
|
p(a, [f]) {
|
|
201
217
|
/*show*/
|
|
202
218
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
203
|
-
4 && z(n, 1)) : (n =
|
|
219
|
+
4 && z(n, 1)) : (n = U(a), n.c(), z(n, 1), n.m(e, null)) : n && (me(), O(n, 1, 1, () => {
|
|
204
220
|
n = null;
|
|
205
|
-
}),
|
|
221
|
+
}), ae());
|
|
206
222
|
},
|
|
207
223
|
i(a) {
|
|
208
224
|
t || (z(n), t = !0);
|
|
@@ -211,112 +227,112 @@ function ye(i) {
|
|
|
211
227
|
O(n), t = !1;
|
|
212
228
|
},
|
|
213
229
|
d(a) {
|
|
214
|
-
a &&
|
|
230
|
+
a && H(e), n && n.d(), i[19](null);
|
|
215
231
|
}
|
|
216
232
|
};
|
|
217
233
|
}
|
|
218
|
-
function
|
|
219
|
-
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling:
|
|
220
|
-
const
|
|
221
|
-
|
|
234
|
+
function ve(i, e, t) {
|
|
235
|
+
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype: C = "" } = e, { isloading: b = "false" } = e, { width: k } = e, { height: u } = e, d, w, y, r, l, L = !1, c, s;
|
|
236
|
+
const _ = () => {
|
|
237
|
+
c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
|
|
222
238
|
() => {
|
|
223
239
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
224
240
|
},
|
|
225
241
|
200
|
|
226
242
|
));
|
|
227
|
-
},
|
|
228
|
-
if (!
|
|
243
|
+
}, E = () => B(this, null, function* () {
|
|
244
|
+
if (!l || !r || L)
|
|
229
245
|
return;
|
|
230
|
-
|
|
231
|
-
const
|
|
232
|
-
t(8,
|
|
233
|
-
const
|
|
234
|
-
t(8,
|
|
246
|
+
s && clearTimeout(c), L = !0;
|
|
247
|
+
const o = l.offsetWidth, $ = l.offsetHeight;
|
|
248
|
+
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${$}px`, l), l.offsetHeight, yield j();
|
|
249
|
+
const ee = r.scrollHeight, te = r.scrollWidth;
|
|
250
|
+
t(8, l.style.width = `${te}px`, l), t(8, l.style.height = `${ee}px`, l), s = setTimeout(
|
|
235
251
|
() => {
|
|
236
|
-
|
|
252
|
+
l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), L = !1;
|
|
237
253
|
},
|
|
238
254
|
300
|
|
239
255
|
);
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
if (
|
|
243
|
-
|
|
256
|
+
});
|
|
257
|
+
re(() => {
|
|
258
|
+
if (j().then(() => {
|
|
259
|
+
E();
|
|
244
260
|
}), r) {
|
|
245
|
-
const
|
|
246
|
-
|
|
261
|
+
const o = new ResizeObserver(() => {
|
|
262
|
+
E();
|
|
247
263
|
});
|
|
248
|
-
return
|
|
249
|
-
|
|
264
|
+
return o.observe(r), () => {
|
|
265
|
+
o.disconnect();
|
|
250
266
|
};
|
|
251
267
|
}
|
|
252
268
|
return () => {
|
|
253
|
-
|
|
269
|
+
c && clearTimeout(c), s && clearTimeout(c);
|
|
254
270
|
};
|
|
255
271
|
});
|
|
256
|
-
function
|
|
257
|
-
|
|
258
|
-
r =
|
|
272
|
+
function K(o) {
|
|
273
|
+
W[o ? "unshift" : "push"](() => {
|
|
274
|
+
r = o, t(7, r);
|
|
259
275
|
});
|
|
260
276
|
}
|
|
261
|
-
function
|
|
262
|
-
|
|
263
|
-
|
|
277
|
+
function N(o) {
|
|
278
|
+
W[o ? "unshift" : "push"](() => {
|
|
279
|
+
l = o, t(8, l);
|
|
264
280
|
});
|
|
265
281
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
268
|
-
d =
|
|
282
|
+
function Q(o) {
|
|
283
|
+
W[o ? "unshift" : "push"](() => {
|
|
284
|
+
d = o, t(6, d);
|
|
269
285
|
});
|
|
270
286
|
}
|
|
271
|
-
function
|
|
272
|
-
|
|
287
|
+
function V() {
|
|
288
|
+
k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
|
|
273
289
|
}
|
|
274
|
-
function
|
|
275
|
-
|
|
276
|
-
w =
|
|
290
|
+
function X(o) {
|
|
291
|
+
W[o ? "unshift" : "push"](() => {
|
|
292
|
+
w = o, t(5, w);
|
|
277
293
|
});
|
|
278
294
|
}
|
|
279
|
-
return i.$$set = (
|
|
280
|
-
"mbsource" in
|
|
295
|
+
return i.$$set = (o) => {
|
|
296
|
+
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, h = o.clientstyling), "clientstylingurl" in o && t(12, g = o.clientstylingurl), "show" in o && t(2, p = o.show), "modaltype" in o && t(3, C = o.modaltype), "isloading" in o && t(4, b = o.isloading), "width" in o && t(0, k = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
281
297
|
}, i.$$.update = () => {
|
|
282
298
|
i.$$.dirty & /*isloading*/
|
|
283
|
-
16 &&
|
|
284
|
-
|
|
299
|
+
16 && b && j().then(() => {
|
|
300
|
+
E();
|
|
285
301
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
286
|
-
2080 &&
|
|
287
|
-
4128 &&
|
|
288
|
-
1056 && f && w &&
|
|
302
|
+
2080 && h && w && ge(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
303
|
+
4128 && g && w && pe(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
304
|
+
1056 && f && w && de(w, `${f}.Style`, y);
|
|
289
305
|
}, [
|
|
290
|
-
M,
|
|
291
|
-
u,
|
|
292
|
-
T,
|
|
293
306
|
k,
|
|
294
|
-
|
|
307
|
+
u,
|
|
308
|
+
p,
|
|
309
|
+
C,
|
|
310
|
+
b,
|
|
295
311
|
w,
|
|
296
312
|
d,
|
|
297
313
|
r,
|
|
298
|
-
|
|
299
|
-
|
|
314
|
+
l,
|
|
315
|
+
_,
|
|
300
316
|
f,
|
|
301
|
-
|
|
302
|
-
|
|
317
|
+
h,
|
|
318
|
+
g,
|
|
303
319
|
a,
|
|
304
320
|
n,
|
|
305
|
-
Z,
|
|
306
|
-
A,
|
|
307
|
-
J,
|
|
308
321
|
K,
|
|
309
|
-
N
|
|
322
|
+
N,
|
|
323
|
+
Q,
|
|
324
|
+
V,
|
|
325
|
+
X
|
|
310
326
|
];
|
|
311
327
|
}
|
|
312
|
-
class
|
|
328
|
+
class Ce extends ie {
|
|
313
329
|
constructor(e) {
|
|
314
|
-
super(),
|
|
330
|
+
super(), ne(
|
|
315
331
|
this,
|
|
316
332
|
e,
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
333
|
+
ve,
|
|
334
|
+
be,
|
|
335
|
+
le,
|
|
320
336
|
{
|
|
321
337
|
mbsource: 10,
|
|
322
338
|
clientstyling: 11,
|
|
@@ -327,59 +343,59 @@ class be extends ee {
|
|
|
327
343
|
width: 0,
|
|
328
344
|
height: 1
|
|
329
345
|
},
|
|
330
|
-
|
|
346
|
+
we
|
|
331
347
|
);
|
|
332
348
|
}
|
|
333
349
|
get mbsource() {
|
|
334
350
|
return this.$$.ctx[10];
|
|
335
351
|
}
|
|
336
352
|
set mbsource(e) {
|
|
337
|
-
this.$$set({ mbsource: e }),
|
|
353
|
+
this.$$set({ mbsource: e }), M();
|
|
338
354
|
}
|
|
339
355
|
get clientstyling() {
|
|
340
356
|
return this.$$.ctx[11];
|
|
341
357
|
}
|
|
342
358
|
set clientstyling(e) {
|
|
343
|
-
this.$$set({ clientstyling: e }),
|
|
359
|
+
this.$$set({ clientstyling: e }), M();
|
|
344
360
|
}
|
|
345
361
|
get clientstylingurl() {
|
|
346
362
|
return this.$$.ctx[12];
|
|
347
363
|
}
|
|
348
364
|
set clientstylingurl(e) {
|
|
349
|
-
this.$$set({ clientstylingurl: e }),
|
|
365
|
+
this.$$set({ clientstylingurl: e }), M();
|
|
350
366
|
}
|
|
351
367
|
get show() {
|
|
352
368
|
return this.$$.ctx[2];
|
|
353
369
|
}
|
|
354
370
|
set show(e) {
|
|
355
|
-
this.$$set({ show: e }),
|
|
371
|
+
this.$$set({ show: e }), M();
|
|
356
372
|
}
|
|
357
373
|
get modaltype() {
|
|
358
374
|
return this.$$.ctx[3];
|
|
359
375
|
}
|
|
360
376
|
set modaltype(e) {
|
|
361
|
-
this.$$set({ modaltype: e }),
|
|
377
|
+
this.$$set({ modaltype: e }), M();
|
|
362
378
|
}
|
|
363
379
|
get isloading() {
|
|
364
380
|
return this.$$.ctx[4];
|
|
365
381
|
}
|
|
366
382
|
set isloading(e) {
|
|
367
|
-
this.$$set({ isloading: e }),
|
|
383
|
+
this.$$set({ isloading: e }), M();
|
|
368
384
|
}
|
|
369
385
|
get width() {
|
|
370
386
|
return this.$$.ctx[0];
|
|
371
387
|
}
|
|
372
388
|
set width(e) {
|
|
373
|
-
this.$$set({ width: e }),
|
|
389
|
+
this.$$set({ width: e }), M();
|
|
374
390
|
}
|
|
375
391
|
get height() {
|
|
376
392
|
return this.$$.ctx[1];
|
|
377
393
|
}
|
|
378
394
|
set height(e) {
|
|
379
|
-
this.$$set({ height: e }),
|
|
395
|
+
this.$$set({ height: e }), M();
|
|
380
396
|
}
|
|
381
397
|
}
|
|
382
|
-
|
|
398
|
+
oe(Ce, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
383
399
|
export {
|
|
384
|
-
|
|
400
|
+
Ce as default
|
|
385
401
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var z=(n,t,i)=>new Promise((l,r)=>{var h=u=>{try{b(i.next(u))}catch(m){r(m)}},y=u=>{try{b(i.throw(u))}catch(m){r(m)}},b=u=>u.done?l(u.value):Promise.resolve(u.value).then(h,y);b((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-CfPrrhkY.cjs");function q(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 D=n=>({}),S=n=>({}),R=n=>({}),H=n=>({});function I(n){let t,i,l,r,h,y,b,u,m,C,M,x,g,w,c,a,L,d=(n[3]=="error"||n[3]=="bonusDescription")&&W();const k=n[14].title,p=e.create_slot(k,n,n[13],H);let f=n[4]==="true"&&O();const T=n[14].content,_=e.create_slot(T,n,n[13],S);return{c(){t=e.element("div"),i=e.element("div"),l=e.element("div"),r=e.element("div"),d&&d.c(),h=e.space(),y=e.element("div"),p&&p.c(),b=e.space(),u=e.element("div"),m=e.svg_element("svg"),C=e.svg_element("path"),M=e.space(),f&&f.c(),x=e.space(),g=e.element("div"),_&&_.c(),e.attr(y,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(C,"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(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"viewBox","0 0 13 13"),e.attr(m,"fill","none"),e.attr(m,"class","CloseButton"),e.attr(u,"class","ModalCloseIcon"),e.attr(l,"class","ModalHeader"),e.attr(g,"class","ModalContentWrapper"),e.toggle_class(g,"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(s,v){e.insert(s,t,v),e.append(t,i),e.append(i,l),e.append(l,r),d&&d.m(r,null),e.append(r,h),e.append(r,y),p&&p.m(y,null),e.append(l,b),e.append(l,u),e.append(u,m),e.append(m,C),e.append(i,M),f&&f.m(i,null),e.append(i,x),e.append(i,g),_&&_.m(g,null),n[15](g),n[16](i),n[17](t),w=e.add_iframe_resize_listener(t,n[18].bind(t)),c=!0,a||(L=e.listen(m,"click",n[9]),a=!0)},p(s,v){s[3]=="error"||s[3]=="bonusDescription"?d||(d=W(),d.c(),d.m(r,h)):d&&(d.d(1),d=null),p&&p.p&&(!c||v&8192)&&e.update_slot_base(p,k,s,s[13],c?e.get_slot_changes(k,s[13],v,R):e.get_all_dirty_from_scope(s[13]),H),s[4]==="true"?f||(f=O(),f.c(),f.m(i,x)):f&&(f.d(1),f=null),_&&_.p&&(!c||v&8192)&&e.update_slot_base(_,T,s,s[13],c?e.get_slot_changes(T,s[13],v,D):e.get_all_dirty_from_scope(s[13]),S),(!c||v&16)&&e.toggle_class(g,"hidden",s[4]==="true"),(!c||v&8)&&e.toggle_class(i,"video-mode",s[3]==="video"),(!c||v&8)&&e.toggle_class(i,"twofa-mode",s[3]==="2fa")},i(s){c||(e.transition_in(p,s),e.transition_in(_,s),c=!0)},o(s){e.transition_out(p,s),e.transition_out(_,s),c=!1},d(s){s&&e.detach(t),d&&d.d(),p&&p.d(s),f&&f.d(),_&&_.d(s),n[15](null),n[16](null),n[17](null),w(),a=!1,L()}}}function W(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,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function O(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function P(n){let t,i,l=n[2]==="true"&&I(n);return{c(){t=e.element("div"),l&&l.c()},m(r,h){e.insert(r,t,h),l&&l.m(t,null),n[19](t),i=!0},p(r,[h]){r[2]==="true"?l?(l.p(r,h),h&4&&e.transition_in(l,1)):(l=I(r),l.c(),e.transition_in(l,1),l.m(t,null)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros())},i(r){i||(e.transition_in(l),i=!0)},o(r){e.transition_out(l),i=!1},d(r){r&&e.detach(t),l&&l.d(),n[19](null)}}}function U(n,t,i){let{$$slots:l={},$$scope:r}=t,{mbsource:h}=t,{clientstyling:y}=t,{clientstylingurl:b}=t,{show:u}=t,{modaltype:m=""}=t,{isloading:C="false"}=t,{width:M}=t,{height:x}=t,g,w,c,a,L=!1,d,k;const p=()=>{d&&clearTimeout(d),g&&(g.classList.add("closing"),d=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},f=()=>z(this,null,function*(){if(!a||!c||L)return;k&&clearTimeout(d),L=!0;const o=a.offsetWidth,E=a.offsetHeight;i(8,a.style.width=`${o}px`,a),i(8,a.style.height=`${E}px`,a),a.offsetHeight,yield e.tick();const F=c.scrollHeight,Y=c.scrollWidth;i(8,a.style.width=`${Y}px`,a),i(8,a.style.height=`${F}px`,a),k=setTimeout(()=>{a&&(i(8,a.style.width="auto",a),i(8,a.style.height="auto",a)),L=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{f()}),c){const o=new ResizeObserver(()=>{f()});return o.observe(c),()=>{o.disconnect()}}return()=>{d&&clearTimeout(d),k&&clearTimeout(d)}});function T(o){e.binding_callbacks[o?"unshift":"push"](()=>{c=o,i(7,c)})}function _(o){e.binding_callbacks[o?"unshift":"push"](()=>{a=o,i(8,a)})}function s(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,i(6,g)})}function v(){M=this.clientWidth,x=this.clientHeight,i(0,M),i(1,x)}function B(o){e.binding_callbacks[o?"unshift":"push"](()=>{w=o,i(5,w)})}return n.$$set=o=>{"mbsource"in o&&i(10,h=o.mbsource),"clientstyling"in o&&i(11,y=o.clientstyling),"clientstylingurl"in o&&i(12,b=o.clientstylingurl),"show"in o&&i(2,u=o.show),"modaltype"in o&&i(3,m=o.modaltype),"isloading"in o&&i(4,C=o.isloading),"width"in o&&i(0,M=o.width),"height"in o&&i(1,x=o.height),"$$scope"in o&&i(13,r=o.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&C&&e.tick().then(()=>{f()}),n.$$.dirty&2080&&y&&w&&e.setClientStyling(w,y),n.$$.dirty&4128&&b&&w&&e.setClientStylingURL(w,b),n.$$.dirty&1056&&h&&w&&e.setStreamStyling(w,`${h}.Style`)},[M,x,u,m,C,w,g,c,a,p,h,y,b,r,l,T,_,s,v,B]}class j extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,U,P,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},q)}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(j,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=j;
|