@everymatrix/cashier-page 1.85.19 → 1.85.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-Cf2c1vPp.js → CashierCarousel-C5QNf4lE.js} +376 -378
- package/components/{CashierCarousel-DHmjrgBC.cjs → CashierCarousel-Jl2aqYfe.cjs} +6 -6
- package/components/{CashierCarousel-CsnmOP94.js → CashierCarousel-SDse7_hX.js} +372 -374
- package/components/{CashierError-CLWqWwfU.cjs → CashierError-Bwwq1pwM.cjs} +1 -1
- package/components/{CashierError-BIiEXbdF.js → CashierError-DkeWHxFp.js} +1 -1
- package/components/{CashierError-BDmChuIE.js → CashierError-Jdj_uZ4I.js} +1 -1
- package/components/{CashierHeader-Dd5b4-yJ.js → CashierHeader-Bfh3U7q4.js} +1 -1
- package/components/{CashierHeader-CP7RROYr.cjs → CashierHeader-CMbldu41.cjs} +1 -1
- package/components/{CashierHeader-Cecv5g56.js → CashierHeader-Cee3k8wZ.js} +1 -1
- package/components/{CashierIframeRedirect-reE-yTgQ.js → CashierIframeRedirect-BrbS0BDH.js} +3 -3
- package/components/{CashierIframeRedirect-BXrhvi-f.cjs → CashierIframeRedirect-C913Adzi.cjs} +1 -1
- package/components/{CashierIframeRedirect-DMYVav-v.js → CashierIframeRedirect-aSqRnHR6.js} +3 -3
- package/components/{CashierMethodDetails-Dqye22rm.cjs → CashierMethodDetails-CkmKFn6o.cjs} +4 -4
- package/components/{CashierMethodDetails-DMWm-2jm.js → CashierMethodDetails-DX-z6Jjw.js} +321 -333
- package/components/{CashierMethodDetails-wpPiw7iF.js → CashierMethodDetails-i-RQQsra.js} +267 -279
- package/components/{CashierMethodsList-DLD2m0bS.js → CashierMethodsList-BGudjIvl.js} +56 -56
- package/components/{CashierMethodsList-3cUFLT6G.js → CashierMethodsList-BHs-wwYk.js} +3 -3
- package/components/{CashierMethodsList-Cu_kh22f.cjs → CashierMethodsList-Bi3djwQ1.cjs} +1 -1
- package/components/CashierModal-BNtmC5_L.cjs +1 -0
- package/components/CashierModal-CwsfMVcW.js +380 -0
- package/components/CashierModal-yJBbNL81.js +364 -0
- package/components/{CashierNotifications-BVUb_REU.js → CashierNotifications-CFvZHX_b.js} +1 -1
- package/components/{CashierNotifications-COlT367w.js → CashierNotifications-DMZuy8M1.js} +1 -1
- package/components/{CashierNotifications-DdrhkPqp.cjs → CashierNotifications-hmcOuIJT.cjs} +1 -1
- package/components/{CashierPage-DXq4FlWN.js → CashierPage-Ce2US2_i.js} +1687 -1558
- package/components/CashierPage-Dd9JdidT.cjs +1 -0
- package/components/{CashierPage-BZrMKgWP.js → CashierPage-g4TEdHpC.js} +1583 -1454
- package/components/{CashierReceiptPage-BDZFgJSl.js → CashierReceiptPage-B9a7gDY-.js} +218 -208
- package/components/CashierReceiptPage-C3EVhPo1.cjs +28 -0
- package/components/{CashierReceiptPage-aqMEl6Er.js → CashierReceiptPage-DuEiUyJc.js} +262 -252
- package/components/CashierSessionExpirationModal-BCXqjFP1.cjs +2 -0
- package/components/CashierSessionExpirationModal-CUZEUmS8.js +1187 -0
- package/components/CashierSessionExpirationModal-VNg9En5U.js +1187 -0
- package/components/{CashierSpinner-BQWOaYce.js → CashierSpinner-CXXRwfkL.js} +1 -1
- package/components/{CashierSpinner-D5McPkCt.cjs → CashierSpinner-DHf6UHDV.cjs} +1 -1
- package/components/{CashierSpinner-DZSuVNPM.js → CashierSpinner-XWfResBK.js} +1 -1
- package/components/{CashierStepUp-DyfuU9cc.js → CashierStepUp-BUkCs2Td.js} +1 -1
- package/components/{CashierStepUp-sBUhsV5t.js → CashierStepUp-BkNgRDll.js} +1 -1
- package/components/{CashierStepUp-DWd3cylJ.cjs → CashierStepUp-Cbk0-AbY.cjs} +1 -1
- package/components/{CashierTransactionHistory-EZ0xgsVJ.js → CashierTransactionHistory-B8cH2q8D.js} +5 -5
- package/components/{CashierTransactionHistory-MUYg9ooO.cjs → CashierTransactionHistory-DK5N-xDu.cjs} +1 -1
- package/components/{CashierTransactionHistory-DG7eCAHQ.js → CashierTransactionHistory-wILVLaBk.js} +43 -43
- package/components/{CashierVerifications-BbUQaFnO.cjs → CashierVerifications-BvCSSDjh.cjs} +1 -1
- package/components/{CashierVerifications-Cz6b5MUe.js → CashierVerifications-DEAJcpkR.js} +2 -2
- package/components/{CashierVerifications-kIOoUzVh.js → CashierVerifications-jxiTTMUn.js} +9 -9
- package/components/{TxnStatusIcon-DMKCkAXd.js → TxnStatusIcon-B7vs3WN_.js} +1 -1
- package/components/{TxnStatusIcon-ty2g5_He.js → TxnStatusIcon-BRmGPXeu.js} +1 -1
- package/components/{TxnStatusIcon-BhtPQm1B.cjs → TxnStatusIcon-BorUmEdf.cjs} +1 -1
- package/components/{TxnTypeIcons-CyHXLkXz.cjs → TxnTypeIcons-CDAmP_Qb.cjs} +1 -1
- package/components/{TxnTypeIcons-D_bSXM7r.js → TxnTypeIcons-C_PpXN7w.js} +1 -1
- package/components/{TxnTypeIcons-B5CYl9NW.js → TxnTypeIcons-DvPoXWdX.js} +1 -1
- 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/components/CashierModal-C-jze_SD.js +0 -342
- package/components/CashierModal-DVeVHCTj.cjs +0 -1
- package/components/CashierModal-Dclaqxyx.js +0 -358
- package/components/CashierPage-CNxxSYGB.cjs +0 -1
- package/components/CashierReceiptPage-fKiQGusu.cjs +0 -26
- package/components/CashierSessionExpirationModal-BqgXO3EK.js +0 -1184
- package/components/CashierSessionExpirationModal-UM35srIk.cjs +0 -2
- package/components/CashierSessionExpirationModal-lONAKt8s.js +0 -1184
package/es2015/cashier-page.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierPage-g4TEdHpC.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-page-nd") && customElements.define("cashier-page-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/cashier-page.js
CHANGED
package/package.json
CHANGED
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
import { S as J, b as K, s as P, f as _, c as Q, e as L, t as H, g as M, a6 as V, a7 as $, k as S, r as ee, q as te, R as O, d as ie, u as ne, h as oe, j as se, W as x, l as C, a8 as ae, m as v, n as I, o as g, L as le, y as k, G as re, x as de, X as j, B as ce, C as ue, D as fe, E as he } from "./CashierCarousel-Cf2c1vPp.js";
|
|
2
|
-
function me(n) {
|
|
3
|
-
Q(n, "svelte-10nykxd", '*,*::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}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);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
|
-
const ge = (n) => ({}), E = (n) => ({});
|
|
6
|
-
function B(n) {
|
|
7
|
-
let e, t, i, a, d, f, p, m, c = (
|
|
8
|
-
/*modaltype*/
|
|
9
|
-
n[3] !== "error" && /*modaltype*/
|
|
10
|
-
n[3] !== "bonusList" && /*modaltype*/
|
|
11
|
-
n[3] !== "2fa" && /*modaltype*/
|
|
12
|
-
n[3] !== "2fa-old" && F(n)
|
|
13
|
-
), u = (
|
|
14
|
-
/*isloading*/
|
|
15
|
-
n[4] === "true" && Y()
|
|
16
|
-
);
|
|
17
|
-
const y = (
|
|
18
|
-
/*#slots*/
|
|
19
|
-
n[14].content
|
|
20
|
-
), h = ie(
|
|
21
|
-
y,
|
|
22
|
-
n,
|
|
23
|
-
/*$$scope*/
|
|
24
|
-
n[13],
|
|
25
|
-
E
|
|
26
|
-
);
|
|
27
|
-
return {
|
|
28
|
-
c() {
|
|
29
|
-
e = v("div"), t = v("div"), i = v("div"), c && c.c(), a = I(), u && u.c(), d = I(), f = v("div"), h && h.c(), g(f, "class", "ModalContentWrapper"), x(
|
|
30
|
-
f,
|
|
31
|
-
"hidden",
|
|
32
|
-
/*isloading*/
|
|
33
|
-
n[4] === "true"
|
|
34
|
-
), g(i, "class", "ModalContainer"), x(
|
|
35
|
-
i,
|
|
36
|
-
"video-mode",
|
|
37
|
-
/*modaltype*/
|
|
38
|
-
n[3] === "video"
|
|
39
|
-
), x(
|
|
40
|
-
i,
|
|
41
|
-
"twofa-mode",
|
|
42
|
-
/*modaltype*/
|
|
43
|
-
n[3] === "2fa"
|
|
44
|
-
), g(t, "id", "Modal"), le(() => (
|
|
45
|
-
/*div2_elementresize_handler*/
|
|
46
|
-
n[18].call(t)
|
|
47
|
-
));
|
|
48
|
-
},
|
|
49
|
-
m(s, r) {
|
|
50
|
-
S(s, e, r), C(e, t), C(t, i), c && c.m(i, null), C(i, a), u && u.m(i, null), C(i, d), C(i, f), h && h.m(f, null), n[15](f), n[16](i), n[17](t), p = ae(
|
|
51
|
-
t,
|
|
52
|
-
/*div2_elementresize_handler*/
|
|
53
|
-
n[18].bind(t)
|
|
54
|
-
), n[19](e), m = !0;
|
|
55
|
-
},
|
|
56
|
-
p(s, r) {
|
|
57
|
-
/*modaltype*/
|
|
58
|
-
s[3] !== "error" && /*modaltype*/
|
|
59
|
-
s[3] !== "bonusList" && /*modaltype*/
|
|
60
|
-
s[3] !== "2fa" && /*modaltype*/
|
|
61
|
-
s[3] !== "2fa-old" ? c ? c.p(s, r) : (c = F(s), c.c(), c.m(i, a)) : c && (c.d(1), c = null), /*isloading*/
|
|
62
|
-
s[4] === "true" ? u || (u = Y(), u.c(), u.m(i, d)) : u && (u.d(1), u = null), h && h.p && (!m || r & /*$$scope*/
|
|
63
|
-
8192) && ne(
|
|
64
|
-
h,
|
|
65
|
-
y,
|
|
66
|
-
s,
|
|
67
|
-
/*$$scope*/
|
|
68
|
-
s[13],
|
|
69
|
-
m ? se(
|
|
70
|
-
y,
|
|
71
|
-
/*$$scope*/
|
|
72
|
-
s[13],
|
|
73
|
-
r,
|
|
74
|
-
ge
|
|
75
|
-
) : oe(
|
|
76
|
-
/*$$scope*/
|
|
77
|
-
s[13]
|
|
78
|
-
),
|
|
79
|
-
E
|
|
80
|
-
), (!m || r & /*isloading*/
|
|
81
|
-
16) && x(
|
|
82
|
-
f,
|
|
83
|
-
"hidden",
|
|
84
|
-
/*isloading*/
|
|
85
|
-
s[4] === "true"
|
|
86
|
-
), (!m || r & /*modaltype*/
|
|
87
|
-
8) && x(
|
|
88
|
-
i,
|
|
89
|
-
"video-mode",
|
|
90
|
-
/*modaltype*/
|
|
91
|
-
s[3] === "video"
|
|
92
|
-
), (!m || r & /*modaltype*/
|
|
93
|
-
8) && x(
|
|
94
|
-
i,
|
|
95
|
-
"twofa-mode",
|
|
96
|
-
/*modaltype*/
|
|
97
|
-
s[3] === "2fa"
|
|
98
|
-
);
|
|
99
|
-
},
|
|
100
|
-
i(s) {
|
|
101
|
-
m || (M(h, s), m = !0);
|
|
102
|
-
},
|
|
103
|
-
o(s) {
|
|
104
|
-
H(h, s), m = !1;
|
|
105
|
-
},
|
|
106
|
-
d(s) {
|
|
107
|
-
s && L(e), c && c.d(), u && u.d(), h && h.d(s), n[15](null), n[16](null), n[17](null), p(), n[19](null);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function F(n) {
|
|
112
|
-
let e, t, i, a, d;
|
|
113
|
-
return {
|
|
114
|
-
c() {
|
|
115
|
-
e = v("div"), t = j("svg"), i = j("path"), g(i, "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"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "viewBox", "0 0 13 13"), g(t, "fill", "none"), g(t, "class", "CloseButton"), g(e, "class", "ModalCloseIcon");
|
|
116
|
-
},
|
|
117
|
-
m(f, p) {
|
|
118
|
-
S(f, e, p), C(e, t), C(t, i), a || (d = de(
|
|
119
|
-
t,
|
|
120
|
-
"click",
|
|
121
|
-
/*closeModal*/
|
|
122
|
-
n[9]
|
|
123
|
-
), a = !0);
|
|
124
|
-
},
|
|
125
|
-
p: re,
|
|
126
|
-
d(f) {
|
|
127
|
-
f && L(e), a = !1, d();
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
function Y(n) {
|
|
132
|
-
let e;
|
|
133
|
-
return {
|
|
134
|
-
c() {
|
|
135
|
-
e = v("div"), e.innerHTML = '<div class="ModalLoader"></div>', g(e, "class", "ModalLoadingOverlay");
|
|
136
|
-
},
|
|
137
|
-
m(t, i) {
|
|
138
|
-
S(t, e, i);
|
|
139
|
-
},
|
|
140
|
-
d(t) {
|
|
141
|
-
t && L(e);
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
function pe(n) {
|
|
146
|
-
let e, t, i = (
|
|
147
|
-
/*show*/
|
|
148
|
-
n[2] === "true" && B(n)
|
|
149
|
-
);
|
|
150
|
-
return {
|
|
151
|
-
c() {
|
|
152
|
-
i && i.c(), e = ee();
|
|
153
|
-
},
|
|
154
|
-
m(a, d) {
|
|
155
|
-
i && i.m(a, d), S(a, e, d), t = !0;
|
|
156
|
-
},
|
|
157
|
-
p(a, [d]) {
|
|
158
|
-
/*show*/
|
|
159
|
-
a[2] === "true" ? i ? (i.p(a, d), d & /*show*/
|
|
160
|
-
4 && M(i, 1)) : (i = B(a), i.c(), M(i, 1), i.m(e.parentNode, e)) : i && (V(), H(i, 1, 1, () => {
|
|
161
|
-
i = null;
|
|
162
|
-
}), $());
|
|
163
|
-
},
|
|
164
|
-
i(a) {
|
|
165
|
-
t || (M(i), t = !0);
|
|
166
|
-
},
|
|
167
|
-
o(a) {
|
|
168
|
-
H(i), t = !1;
|
|
169
|
-
},
|
|
170
|
-
d(a) {
|
|
171
|
-
a && L(e), i && i.d(a);
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
function ye(n, e, t) {
|
|
176
|
-
let { $$slots: i = {}, $$scope: a } = e, { mbsource: d } = e, { clientstyling: f } = e, { clientstylingurl: p } = e, { show: m } = e, { modaltype: c = "" } = e, { isloading: u = "false" } = e, { width: y } = e, { height: h } = e, s, r, b, l, z = !1, w, T;
|
|
177
|
-
const R = () => {
|
|
178
|
-
w && clearTimeout(w), s && (s.classList.add("closing"), w = setTimeout(
|
|
179
|
-
() => {
|
|
180
|
-
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
181
|
-
},
|
|
182
|
-
200
|
|
183
|
-
));
|
|
184
|
-
}, W = async () => {
|
|
185
|
-
if (!l || !b || z)
|
|
186
|
-
return;
|
|
187
|
-
T && clearTimeout(w), z = !0;
|
|
188
|
-
const o = l.offsetWidth, X = l.offsetHeight;
|
|
189
|
-
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${X}px`, l), l.offsetHeight, await O();
|
|
190
|
-
const Z = b.scrollHeight, A = b.scrollWidth;
|
|
191
|
-
t(8, l.style.width = `${A}px`, l), t(8, l.style.height = `${Z}px`, l), T = setTimeout(
|
|
192
|
-
() => {
|
|
193
|
-
l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), z = !1;
|
|
194
|
-
},
|
|
195
|
-
300
|
|
196
|
-
);
|
|
197
|
-
};
|
|
198
|
-
te(() => {
|
|
199
|
-
if (O().then(() => {
|
|
200
|
-
W();
|
|
201
|
-
}), b) {
|
|
202
|
-
const o = new ResizeObserver(() => {
|
|
203
|
-
W();
|
|
204
|
-
});
|
|
205
|
-
return o.observe(b), () => {
|
|
206
|
-
o.disconnect();
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
return () => {
|
|
210
|
-
w && clearTimeout(w), T && clearTimeout(w);
|
|
211
|
-
};
|
|
212
|
-
});
|
|
213
|
-
function q(o) {
|
|
214
|
-
k[o ? "unshift" : "push"](() => {
|
|
215
|
-
b = o, t(7, b);
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
function D(o) {
|
|
219
|
-
k[o ? "unshift" : "push"](() => {
|
|
220
|
-
l = o, t(8, l);
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
function G(o) {
|
|
224
|
-
k[o ? "unshift" : "push"](() => {
|
|
225
|
-
s = o, t(6, s);
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
function N() {
|
|
229
|
-
y = this.clientWidth, h = this.clientHeight, t(0, y), t(1, h);
|
|
230
|
-
}
|
|
231
|
-
function U(o) {
|
|
232
|
-
k[o ? "unshift" : "push"](() => {
|
|
233
|
-
r = o, t(5, r);
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
return n.$$set = (o) => {
|
|
237
|
-
"mbsource" in o && t(10, d = o.mbsource), "clientstyling" in o && t(11, f = o.clientstyling), "clientstylingurl" in o && t(12, p = o.clientstylingurl), "show" in o && t(2, m = o.show), "modaltype" in o && t(3, c = o.modaltype), "isloading" in o && t(4, u = o.isloading), "width" in o && t(0, y = o.width), "height" in o && t(1, h = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
238
|
-
}, n.$$.update = () => {
|
|
239
|
-
n.$$.dirty & /*isloading*/
|
|
240
|
-
16 && u && O().then(() => {
|
|
241
|
-
W();
|
|
242
|
-
}), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
243
|
-
2080 && f && r && ce(r, f), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
244
|
-
4128 && p && r && ue(r, p), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
245
|
-
1056 && d && r && fe(r, `${d}.Style`);
|
|
246
|
-
}, [
|
|
247
|
-
y,
|
|
248
|
-
h,
|
|
249
|
-
m,
|
|
250
|
-
c,
|
|
251
|
-
u,
|
|
252
|
-
r,
|
|
253
|
-
s,
|
|
254
|
-
b,
|
|
255
|
-
l,
|
|
256
|
-
R,
|
|
257
|
-
d,
|
|
258
|
-
f,
|
|
259
|
-
p,
|
|
260
|
-
a,
|
|
261
|
-
i,
|
|
262
|
-
q,
|
|
263
|
-
D,
|
|
264
|
-
G,
|
|
265
|
-
N,
|
|
266
|
-
U
|
|
267
|
-
];
|
|
268
|
-
}
|
|
269
|
-
class be extends J {
|
|
270
|
-
constructor(e) {
|
|
271
|
-
super(), K(
|
|
272
|
-
this,
|
|
273
|
-
e,
|
|
274
|
-
ye,
|
|
275
|
-
pe,
|
|
276
|
-
P,
|
|
277
|
-
{
|
|
278
|
-
mbsource: 10,
|
|
279
|
-
clientstyling: 11,
|
|
280
|
-
clientstylingurl: 12,
|
|
281
|
-
show: 2,
|
|
282
|
-
modaltype: 3,
|
|
283
|
-
isloading: 4,
|
|
284
|
-
width: 0,
|
|
285
|
-
height: 1
|
|
286
|
-
},
|
|
287
|
-
me
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
get mbsource() {
|
|
291
|
-
return this.$$.ctx[10];
|
|
292
|
-
}
|
|
293
|
-
set mbsource(e) {
|
|
294
|
-
this.$$set({ mbsource: e }), _();
|
|
295
|
-
}
|
|
296
|
-
get clientstyling() {
|
|
297
|
-
return this.$$.ctx[11];
|
|
298
|
-
}
|
|
299
|
-
set clientstyling(e) {
|
|
300
|
-
this.$$set({ clientstyling: e }), _();
|
|
301
|
-
}
|
|
302
|
-
get clientstylingurl() {
|
|
303
|
-
return this.$$.ctx[12];
|
|
304
|
-
}
|
|
305
|
-
set clientstylingurl(e) {
|
|
306
|
-
this.$$set({ clientstylingurl: e }), _();
|
|
307
|
-
}
|
|
308
|
-
get show() {
|
|
309
|
-
return this.$$.ctx[2];
|
|
310
|
-
}
|
|
311
|
-
set show(e) {
|
|
312
|
-
this.$$set({ show: e }), _();
|
|
313
|
-
}
|
|
314
|
-
get modaltype() {
|
|
315
|
-
return this.$$.ctx[3];
|
|
316
|
-
}
|
|
317
|
-
set modaltype(e) {
|
|
318
|
-
this.$$set({ modaltype: e }), _();
|
|
319
|
-
}
|
|
320
|
-
get isloading() {
|
|
321
|
-
return this.$$.ctx[4];
|
|
322
|
-
}
|
|
323
|
-
set isloading(e) {
|
|
324
|
-
this.$$set({ isloading: e }), _();
|
|
325
|
-
}
|
|
326
|
-
get width() {
|
|
327
|
-
return this.$$.ctx[0];
|
|
328
|
-
}
|
|
329
|
-
set width(e) {
|
|
330
|
-
this.$$set({ width: e }), _();
|
|
331
|
-
}
|
|
332
|
-
get height() {
|
|
333
|
-
return this.$$.ctx[1];
|
|
334
|
-
}
|
|
335
|
-
set height(e) {
|
|
336
|
-
this.$$set({ height: e }), _();
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
he(be, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
340
|
-
export {
|
|
341
|
-
be as default
|
|
342
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var v=(o,t,i)=>new Promise((n,a)=>{var u=d=>{try{p(i.next(d))}catch(r){a(r)}},f=d=>{try{p(i.throw(d))}catch(r){a(r)}},p=d=>d.done?n(d.value):Promise.resolve(d.value).then(u,f);p((i=i.apply(o,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DHmjrgBC.cjs");function B(o){e.append_styles(o,"svelte-10nykxd",'*,*::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}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);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 q=o=>({}),x=o=>({});function M(o){let t,i,n,a,u,f,p,d,r=o[3]!=="error"&&o[3]!=="bonusList"&&o[3]!=="2fa"&&o[3]!=="2fa-old"&&L(o),m=o[4]==="true"&&S();const _=o[14].content,g=e.create_slot(_,o,o[13],x);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),r&&r.c(),a=e.space(),m&&m.c(),u=e.space(),f=e.element("div"),g&&g.c(),e.attr(f,"class","ModalContentWrapper"),e.toggle_class(f,"hidden",o[4]==="true"),e.attr(n,"class","ModalContainer"),e.toggle_class(n,"video-mode",o[3]==="video"),e.toggle_class(n,"twofa-mode",o[3]==="2fa"),e.attr(i,"id","Modal"),e.add_render_callback(()=>o[18].call(i))},m(s,h){e.insert(s,t,h),e.append(t,i),e.append(i,n),r&&r.m(n,null),e.append(n,a),m&&m.m(n,null),e.append(n,u),e.append(n,f),g&&g.m(f,null),o[15](f),o[16](n),o[17](i),p=e.add_iframe_resize_listener(i,o[18].bind(i)),o[19](t),d=!0},p(s,h){s[3]!=="error"&&s[3]!=="bonusList"&&s[3]!=="2fa"&&s[3]!=="2fa-old"?r?r.p(s,h):(r=L(s),r.c(),r.m(n,a)):r&&(r.d(1),r=null),s[4]==="true"?m||(m=S(),m.c(),m.m(n,u)):m&&(m.d(1),m=null),g&&g.p&&(!d||h&8192)&&e.update_slot_base(g,_,s,s[13],d?e.get_slot_changes(_,s[13],h,q):e.get_all_dirty_from_scope(s[13]),x),(!d||h&16)&&e.toggle_class(f,"hidden",s[4]==="true"),(!d||h&8)&&e.toggle_class(n,"video-mode",s[3]==="video"),(!d||h&8)&&e.toggle_class(n,"twofa-mode",s[3]==="2fa")},i(s){d||(e.transition_in(g,s),d=!0)},o(s){e.transition_out(g,s),d=!1},d(s){s&&e.detach(t),r&&r.d(),m&&m.d(),g&&g.d(s),o[15](null),o[16](null),o[17](null),p(),o[19](null)}}}function L(o){let t,i,n,a,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),n=e.svg_element("path"),e.attr(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"),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(f,p){e.insert(f,t,p),e.append(t,i),e.append(i,n),a||(u=e.listen(i,"click",o[9]),a=!0)},p:e.noop,d(f){f&&e.detach(t),a=!1,u()}}}function S(o){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,n){e.insert(i,t,n)},d(i){i&&e.detach(t)}}}function R(o){let t,i,n=o[2]==="true"&&M(o);return{c(){n&&n.c(),t=e.empty()},m(a,u){n&&n.m(a,u),e.insert(a,t,u),i=!0},p(a,[u]){a[2]==="true"?n?(n.p(a,u),u&4&&e.transition_in(n,1)):(n=M(a),n.c(),e.transition_in(n,1),n.m(t.parentNode,t)):n&&(e.group_outros(),e.transition_out(n,1,1,()=>{n=null}),e.check_outros())},i(a){i||(e.transition_in(n),i=!0)},o(a){e.transition_out(n),i=!1},d(a){a&&e.detach(t),n&&n.d(a)}}}function N(o,t,i){let{$$slots:n={},$$scope:a}=t,{mbsource:u}=t,{clientstyling:f}=t,{clientstylingurl:p}=t,{show:d}=t,{modaltype:r=""}=t,{isloading:m="false"}=t,{width:_}=t,{height:g}=t,s,h,b,c,w=!1,y,C;const T=()=>{y&&clearTimeout(y),s&&(s.classList.add("closing"),y=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>v(this,null,function*(){if(!c||!b||w)return;C&&clearTimeout(y),w=!0;const l=c.offsetWidth,E=c.offsetHeight;i(8,c.style.width=`${l}px`,c),i(8,c.style.height=`${E}px`,c),c.offsetHeight,yield e.tick();const F=b.scrollHeight,Y=b.scrollWidth;i(8,c.style.width=`${Y}px`,c),i(8,c.style.height=`${F}px`,c),C=setTimeout(()=>{c&&(i(8,c.style.width="auto",c),i(8,c.style.height="auto",c)),w=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),b){const l=new ResizeObserver(()=>{k()});return l.observe(b),()=>{l.disconnect()}}return()=>{y&&clearTimeout(y),C&&clearTimeout(y)}});function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{b=l,i(7,b)})}function W(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(8,c)})}function H(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(6,s)})}function I(){_=this.clientWidth,g=this.clientHeight,i(0,_),i(1,g)}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,i(5,h)})}return o.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,f=l.clientstyling),"clientstylingurl"in l&&i(12,p=l.clientstylingurl),"show"in l&&i(2,d=l.show),"modaltype"in l&&i(3,r=l.modaltype),"isloading"in l&&i(4,m=l.isloading),"width"in l&&i(0,_=l.width),"height"in l&&i(1,g=l.height),"$$scope"in l&&i(13,a=l.$$scope)},o.$$.update=()=>{o.$$.dirty&16&&m&&e.tick().then(()=>{k()}),o.$$.dirty&2080&&f&&h&&e.setClientStyling(h,f),o.$$.dirty&4128&&p&&h&&e.setClientStylingURL(h,p),o.$$.dirty&1056&&u&&h&&e.setStreamStyling(h,`${u}.Style`)},[_,g,d,r,m,h,s,b,c,T,u,f,p,a,n,O,W,H,I,j]}class z extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,N,R,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},B)}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(z,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["content"],[],!0);exports.default=z;
|