@everymatrix/cashier-page-nd 1.69.113 → 1.69.114
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/{CashierMethodDetails-BvIuXYaF.js → CashierMethodDetails-BMyX_gw1.js} +1494 -1486
- package/components/{CashierMethodDetails-CrNz38mk.js → CashierMethodDetails-C9XAxkXj.js} +1692 -1684
- package/components/{CashierMethodDetails-B9yThWJd.cjs → CashierMethodDetails-DrQFT21D.cjs} +4 -4
- package/components/{CashierMethodsList-DkmiAf3O.cjs → CashierMethodsList-B5iJmf2H.cjs} +1 -1
- package/components/{CashierMethodsList-BE8SmqSJ.js → CashierMethodsList-Bv_ibzLg.js} +1 -1
- package/components/{CashierMethodsList-BN2dT78W.js → CashierMethodsList-CMhStD-J.js} +1 -1
- package/components/CashierModal-CFRuObdk.cjs +1 -0
- package/components/CashierModal-DO8jl9S8.js +339 -0
- package/components/CashierModal-dqLBC6Mc.js +355 -0
- package/components/{CashierPage-BqLJ1Za1.js → CashierPage-B5dqjTcS.js} +6 -6
- package/components/{CashierPage-B0SFLnbl.js → CashierPage-CadLAMNb.js} +6 -6
- package/components/{CashierPage-DIrw7Ur0.cjs → CashierPage-n3VdHZHe.cjs} +1 -1
- package/components/{CashierReceiptPage-BqrdBMp3.cjs → CashierReceiptPage-BCMXUV5l.cjs} +1 -1
- package/components/{CashierReceiptPage-B1GE254E.js → CashierReceiptPage-BnGfC10y.js} +1 -1
- package/components/{CashierReceiptPage-OE7gpibk.js → CashierReceiptPage-DsQasqQ1.js} +1 -1
- package/components/{CashierSessionExpirationModal-BAZy0IPX.cjs → CashierSessionExpirationModal-B4dsElsz.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CNBDiaWq.js → CashierSessionExpirationModal-CteEgU2Q.js} +2 -2
- package/components/{CashierSessionExpirationModal-D1lAoUuI.js → CashierSessionExpirationModal-DQ-vdU5c.js} +2 -2
- package/components/{CashierTransactionHistory-Bod4CZm1.js → CashierTransactionHistory-DLSrBlg6.js} +2 -2
- package/components/{CashierTransactionHistory-CicwRm4P.cjs → CashierTransactionHistory-DTI4In7R.cjs} +1 -1
- package/components/{CashierTransactionHistory-Ck-a7FJf.js → CashierTransactionHistory-PawTwNsL.js} +2 -2
- package/components/{CashierVerifications-Cg5TE5jO.js → CashierVerifications-CykZe2Tk.js} +1 -1
- package/components/{CashierVerifications-66ej7eXN.js → CashierVerifications-DG3022Xn.js} +1 -1
- package/components/{CashierVerifications-D5bq7j2I.cjs → CashierVerifications-O-k0V3Ar.cjs} +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-BE_2P0FX.js +0 -336
- package/components/CashierModal-fcLWE2y3.cjs +0 -1
- package/components/CashierModal-whn0174R.js +0 -336
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-CadLAMNb.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,336 +0,0 @@
|
|
|
1
|
-
import { S as K, b as N, s as P, f as _, c as U, e as M, t as S, g as k, a0 as V, a1 as Z, k as L, r as A, q as J, a2 as O, d as Q, u as X, h as $, j as ee, V as C, l as w, a3 as te, m as v, n as I, o as g, K as ie, y as x, G as ne, x as oe, P as j, B as se, C as ae, D as le, E as re } from "./CashierCarousel-2AotVxhB.js";
|
|
2
|
-
function de(n) {
|
|
3
|
-
U(n, "svelte-1vi9jru", '*,*::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:scale(0.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(0.95) 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.3s ease-out}#Modal.closing{animation:modalFadeOut 0.3s ease-out}.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.4s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);animation:modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}#Modal.closing .ModalContainer{animation:modalSlideOut 0.3s ease-out}.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 ce = (n) => ({}), W = (n) => ({});
|
|
6
|
-
function E(n) {
|
|
7
|
-
let e, t, i, a, r, u, p, h, d = (
|
|
8
|
-
/*modaltype*/
|
|
9
|
-
n[3] !== "error" && /*modaltype*/
|
|
10
|
-
n[3] !== "bonusList" && /*modaltype*/
|
|
11
|
-
n[3] !== "2fa" && B(n)
|
|
12
|
-
), c = (
|
|
13
|
-
/*isloading*/
|
|
14
|
-
n[4] === "true" && F()
|
|
15
|
-
);
|
|
16
|
-
const b = (
|
|
17
|
-
/*#slots*/
|
|
18
|
-
n[14].content
|
|
19
|
-
), f = Q(
|
|
20
|
-
b,
|
|
21
|
-
n,
|
|
22
|
-
/*$$scope*/
|
|
23
|
-
n[13],
|
|
24
|
-
W
|
|
25
|
-
);
|
|
26
|
-
return {
|
|
27
|
-
c() {
|
|
28
|
-
e = v("div"), t = v("div"), i = v("div"), d && d.c(), a = I(), c && c.c(), r = I(), u = v("div"), f && f.c(), g(u, "class", "ModalContentWrapper"), C(
|
|
29
|
-
u,
|
|
30
|
-
"hidden",
|
|
31
|
-
/*isloading*/
|
|
32
|
-
n[4] === "true"
|
|
33
|
-
), g(i, "class", "ModalContainer"), C(
|
|
34
|
-
i,
|
|
35
|
-
"video-mode",
|
|
36
|
-
/*modaltype*/
|
|
37
|
-
n[3] === "video"
|
|
38
|
-
), C(
|
|
39
|
-
i,
|
|
40
|
-
"twofa-mode",
|
|
41
|
-
/*modaltype*/
|
|
42
|
-
n[3] === "2fa"
|
|
43
|
-
), g(t, "id", "Modal"), ie(() => (
|
|
44
|
-
/*div2_elementresize_handler*/
|
|
45
|
-
n[18].call(t)
|
|
46
|
-
));
|
|
47
|
-
},
|
|
48
|
-
m(s, l) {
|
|
49
|
-
L(s, e, l), w(e, t), w(t, i), d && d.m(i, null), w(i, a), c && c.m(i, null), w(i, r), w(i, u), f && f.m(u, null), n[15](u), n[16](i), n[17](t), p = te(
|
|
50
|
-
t,
|
|
51
|
-
/*div2_elementresize_handler*/
|
|
52
|
-
n[18].bind(t)
|
|
53
|
-
), n[19](e), h = !0;
|
|
54
|
-
},
|
|
55
|
-
p(s, l) {
|
|
56
|
-
/*modaltype*/
|
|
57
|
-
s[3] !== "error" && /*modaltype*/
|
|
58
|
-
s[3] !== "bonusList" && /*modaltype*/
|
|
59
|
-
s[3] !== "2fa" ? d ? d.p(s, l) : (d = B(s), d.c(), d.m(i, a)) : d && (d.d(1), d = null), /*isloading*/
|
|
60
|
-
s[4] === "true" ? c || (c = F(), c.c(), c.m(i, r)) : c && (c.d(1), c = null), f && f.p && (!h || l & /*$$scope*/
|
|
61
|
-
8192) && X(
|
|
62
|
-
f,
|
|
63
|
-
b,
|
|
64
|
-
s,
|
|
65
|
-
/*$$scope*/
|
|
66
|
-
s[13],
|
|
67
|
-
h ? ee(
|
|
68
|
-
b,
|
|
69
|
-
/*$$scope*/
|
|
70
|
-
s[13],
|
|
71
|
-
l,
|
|
72
|
-
ce
|
|
73
|
-
) : $(
|
|
74
|
-
/*$$scope*/
|
|
75
|
-
s[13]
|
|
76
|
-
),
|
|
77
|
-
W
|
|
78
|
-
), (!h || l & /*isloading*/
|
|
79
|
-
16) && C(
|
|
80
|
-
u,
|
|
81
|
-
"hidden",
|
|
82
|
-
/*isloading*/
|
|
83
|
-
s[4] === "true"
|
|
84
|
-
), (!h || l & /*modaltype*/
|
|
85
|
-
8) && C(
|
|
86
|
-
i,
|
|
87
|
-
"video-mode",
|
|
88
|
-
/*modaltype*/
|
|
89
|
-
s[3] === "video"
|
|
90
|
-
), (!h || l & /*modaltype*/
|
|
91
|
-
8) && C(
|
|
92
|
-
i,
|
|
93
|
-
"twofa-mode",
|
|
94
|
-
/*modaltype*/
|
|
95
|
-
s[3] === "2fa"
|
|
96
|
-
);
|
|
97
|
-
},
|
|
98
|
-
i(s) {
|
|
99
|
-
h || (k(f, s), h = !0);
|
|
100
|
-
},
|
|
101
|
-
o(s) {
|
|
102
|
-
S(f, s), h = !1;
|
|
103
|
-
},
|
|
104
|
-
d(s) {
|
|
105
|
-
s && M(e), d && d.d(), c && c.d(), f && f.d(s), n[15](null), n[16](null), n[17](null), p(), n[19](null);
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
function B(n) {
|
|
110
|
-
let e, t, i, a, r;
|
|
111
|
-
return {
|
|
112
|
-
c() {
|
|
113
|
-
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");
|
|
114
|
-
},
|
|
115
|
-
m(u, p) {
|
|
116
|
-
L(u, e, p), w(e, t), w(t, i), a || (r = oe(
|
|
117
|
-
t,
|
|
118
|
-
"click",
|
|
119
|
-
/*closeModal*/
|
|
120
|
-
n[9]
|
|
121
|
-
), a = !0);
|
|
122
|
-
},
|
|
123
|
-
p: ne,
|
|
124
|
-
d(u) {
|
|
125
|
-
u && M(e), a = !1, r();
|
|
126
|
-
}
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
function F(n) {
|
|
130
|
-
let e;
|
|
131
|
-
return {
|
|
132
|
-
c() {
|
|
133
|
-
e = v("div"), e.innerHTML = '<div class="ModalLoader"></div>', g(e, "class", "ModalLoadingOverlay");
|
|
134
|
-
},
|
|
135
|
-
m(t, i) {
|
|
136
|
-
L(t, e, i);
|
|
137
|
-
},
|
|
138
|
-
d(t) {
|
|
139
|
-
t && M(e);
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
function ue(n) {
|
|
144
|
-
let e, t, i = (
|
|
145
|
-
/*show*/
|
|
146
|
-
n[2] === "true" && E(n)
|
|
147
|
-
);
|
|
148
|
-
return {
|
|
149
|
-
c() {
|
|
150
|
-
i && i.c(), e = A();
|
|
151
|
-
},
|
|
152
|
-
m(a, r) {
|
|
153
|
-
i && i.m(a, r), L(a, e, r), t = !0;
|
|
154
|
-
},
|
|
155
|
-
p(a, [r]) {
|
|
156
|
-
/*show*/
|
|
157
|
-
a[2] === "true" ? i ? (i.p(a, r), r & /*show*/
|
|
158
|
-
4 && k(i, 1)) : (i = E(a), i.c(), k(i, 1), i.m(e.parentNode, e)) : i && (V(), S(i, 1, 1, () => {
|
|
159
|
-
i = null;
|
|
160
|
-
}), Z());
|
|
161
|
-
},
|
|
162
|
-
i(a) {
|
|
163
|
-
t || (k(i), t = !0);
|
|
164
|
-
},
|
|
165
|
-
o(a) {
|
|
166
|
-
S(i), t = !1;
|
|
167
|
-
},
|
|
168
|
-
d(a) {
|
|
169
|
-
a && M(e), i && i.d(a);
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
function fe(n, e, t) {
|
|
174
|
-
let { $$slots: i = {}, $$scope: a } = e, { mbsource: r } = e, { clientstyling: u } = e, { clientstylingurl: p } = e, { show: h } = e, { modaltype: d = "" } = e, { isloading: c = "false" } = e, { width: b } = e, { height: f } = e, s, l, y, m;
|
|
175
|
-
const H = () => {
|
|
176
|
-
s && (s.classList.add("closing"), setTimeout(
|
|
177
|
-
() => {
|
|
178
|
-
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
179
|
-
},
|
|
180
|
-
300
|
|
181
|
-
));
|
|
182
|
-
}, z = () => {
|
|
183
|
-
if (!m || !y)
|
|
184
|
-
return;
|
|
185
|
-
const o = y.scrollHeight, G = y.scrollWidth;
|
|
186
|
-
t(8, m.style.width = `${G}px`, m), t(8, m.style.height = `${o}px`, m), setTimeout(
|
|
187
|
-
() => {
|
|
188
|
-
t(8, m.style.width = "auto", m), t(8, m.style.height = "auto", m);
|
|
189
|
-
},
|
|
190
|
-
150
|
|
191
|
-
);
|
|
192
|
-
};
|
|
193
|
-
J(() => {
|
|
194
|
-
if (O().then(() => {
|
|
195
|
-
z();
|
|
196
|
-
}), y) {
|
|
197
|
-
const o = new ResizeObserver(() => {
|
|
198
|
-
z();
|
|
199
|
-
});
|
|
200
|
-
return o.observe(y), () => {
|
|
201
|
-
o.disconnect();
|
|
202
|
-
};
|
|
203
|
-
}
|
|
204
|
-
return () => {
|
|
205
|
-
};
|
|
206
|
-
});
|
|
207
|
-
function Y(o) {
|
|
208
|
-
x[o ? "unshift" : "push"](() => {
|
|
209
|
-
y = o, t(7, y);
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
function T(o) {
|
|
213
|
-
x[o ? "unshift" : "push"](() => {
|
|
214
|
-
m = o, t(8, m);
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
function q(o) {
|
|
218
|
-
x[o ? "unshift" : "push"](() => {
|
|
219
|
-
s = o, t(6, s);
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
function R() {
|
|
223
|
-
b = this.clientWidth, f = this.clientHeight, t(0, b), t(1, f);
|
|
224
|
-
}
|
|
225
|
-
function D(o) {
|
|
226
|
-
x[o ? "unshift" : "push"](() => {
|
|
227
|
-
l = o, t(5, l);
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
return n.$$set = (o) => {
|
|
231
|
-
"mbsource" in o && t(10, r = o.mbsource), "clientstyling" in o && t(11, u = o.clientstyling), "clientstylingurl" in o && t(12, p = o.clientstylingurl), "show" in o && t(2, h = o.show), "modaltype" in o && t(3, d = o.modaltype), "isloading" in o && t(4, c = o.isloading), "width" in o && t(0, b = o.width), "height" in o && t(1, f = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
232
|
-
}, n.$$.update = () => {
|
|
233
|
-
n.$$.dirty & /*isloading*/
|
|
234
|
-
16 && c && O().then(() => {
|
|
235
|
-
z();
|
|
236
|
-
}), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
237
|
-
2080 && u && l && se(l, u), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
238
|
-
4128 && p && l && ae(l, p), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
239
|
-
1056 && r && l && le(l, `${r}.Style`);
|
|
240
|
-
}, [
|
|
241
|
-
b,
|
|
242
|
-
f,
|
|
243
|
-
h,
|
|
244
|
-
d,
|
|
245
|
-
c,
|
|
246
|
-
l,
|
|
247
|
-
s,
|
|
248
|
-
y,
|
|
249
|
-
m,
|
|
250
|
-
H,
|
|
251
|
-
r,
|
|
252
|
-
u,
|
|
253
|
-
p,
|
|
254
|
-
a,
|
|
255
|
-
i,
|
|
256
|
-
Y,
|
|
257
|
-
T,
|
|
258
|
-
q,
|
|
259
|
-
R,
|
|
260
|
-
D
|
|
261
|
-
];
|
|
262
|
-
}
|
|
263
|
-
class he extends K {
|
|
264
|
-
constructor(e) {
|
|
265
|
-
super(), N(
|
|
266
|
-
this,
|
|
267
|
-
e,
|
|
268
|
-
fe,
|
|
269
|
-
ue,
|
|
270
|
-
P,
|
|
271
|
-
{
|
|
272
|
-
mbsource: 10,
|
|
273
|
-
clientstyling: 11,
|
|
274
|
-
clientstylingurl: 12,
|
|
275
|
-
show: 2,
|
|
276
|
-
modaltype: 3,
|
|
277
|
-
isloading: 4,
|
|
278
|
-
width: 0,
|
|
279
|
-
height: 1
|
|
280
|
-
},
|
|
281
|
-
de
|
|
282
|
-
);
|
|
283
|
-
}
|
|
284
|
-
get mbsource() {
|
|
285
|
-
return this.$$.ctx[10];
|
|
286
|
-
}
|
|
287
|
-
set mbsource(e) {
|
|
288
|
-
this.$$set({ mbsource: e }), _();
|
|
289
|
-
}
|
|
290
|
-
get clientstyling() {
|
|
291
|
-
return this.$$.ctx[11];
|
|
292
|
-
}
|
|
293
|
-
set clientstyling(e) {
|
|
294
|
-
this.$$set({ clientstyling: e }), _();
|
|
295
|
-
}
|
|
296
|
-
get clientstylingurl() {
|
|
297
|
-
return this.$$.ctx[12];
|
|
298
|
-
}
|
|
299
|
-
set clientstylingurl(e) {
|
|
300
|
-
this.$$set({ clientstylingurl: e }), _();
|
|
301
|
-
}
|
|
302
|
-
get show() {
|
|
303
|
-
return this.$$.ctx[2];
|
|
304
|
-
}
|
|
305
|
-
set show(e) {
|
|
306
|
-
this.$$set({ show: e }), _();
|
|
307
|
-
}
|
|
308
|
-
get modaltype() {
|
|
309
|
-
return this.$$.ctx[3];
|
|
310
|
-
}
|
|
311
|
-
set modaltype(e) {
|
|
312
|
-
this.$$set({ modaltype: e }), _();
|
|
313
|
-
}
|
|
314
|
-
get isloading() {
|
|
315
|
-
return this.$$.ctx[4];
|
|
316
|
-
}
|
|
317
|
-
set isloading(e) {
|
|
318
|
-
this.$$set({ isloading: e }), _();
|
|
319
|
-
}
|
|
320
|
-
get width() {
|
|
321
|
-
return this.$$.ctx[0];
|
|
322
|
-
}
|
|
323
|
-
set width(e) {
|
|
324
|
-
this.$$set({ width: e }), _();
|
|
325
|
-
}
|
|
326
|
-
get height() {
|
|
327
|
-
return this.$$.ctx[1];
|
|
328
|
-
}
|
|
329
|
-
set height(e) {
|
|
330
|
-
this.$$set({ height: e }), _();
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
re(he, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
|
|
334
|
-
export {
|
|
335
|
-
he as default
|
|
336
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-Bmkxhtnm.cjs");function W(o){e.append_styles(o,"svelte-1vi9jru",'*,*::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:scale(0.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(0.95) 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.3s ease-out}#Modal.closing{animation:modalFadeOut 0.3s ease-out}.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.4s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);animation:modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}#Modal.closing .ModalContainer{animation:modalSlideOut 0.3s ease-out}.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 E=o=>({}),w=o=>({});function C(o){let t,i,n,a,d,h,p,m,c=o[3]!=="error"&&o[3]!=="bonusList"&&o[3]!=="2fa"&&v(o),u=o[4]==="true"&&k();const b=o[14].content,f=e.create_slot(b,o,o[13],w);return{c(){t=e.element("div"),i=e.element("div"),n=e.element("div"),c&&c.c(),a=e.space(),u&&u.c(),d=e.space(),h=e.element("div"),f&&f.c(),e.attr(h,"class","ModalContentWrapper"),e.toggle_class(h,"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,r){e.insert(s,t,r),e.append(t,i),e.append(i,n),c&&c.m(n,null),e.append(n,a),u&&u.m(n,null),e.append(n,d),e.append(n,h),f&&f.m(h,null),o[15](h),o[16](n),o[17](i),p=e.add_iframe_resize_listener(i,o[18].bind(i)),o[19](t),m=!0},p(s,r){s[3]!=="error"&&s[3]!=="bonusList"&&s[3]!=="2fa"?c?c.p(s,r):(c=v(s),c.c(),c.m(n,a)):c&&(c.d(1),c=null),s[4]==="true"?u||(u=k(),u.c(),u.m(n,d)):u&&(u.d(1),u=null),f&&f.p&&(!m||r&8192)&&e.update_slot_base(f,b,s,s[13],m?e.get_slot_changes(b,s[13],r,E):e.get_all_dirty_from_scope(s[13]),w),(!m||r&16)&&e.toggle_class(h,"hidden",s[4]==="true"),(!m||r&8)&&e.toggle_class(n,"video-mode",s[3]==="video"),(!m||r&8)&&e.toggle_class(n,"twofa-mode",s[3]==="2fa")},i(s){m||(e.transition_in(f,s),m=!0)},o(s){e.transition_out(f,s),m=!1},d(s){s&&e.detach(t),c&&c.d(),u&&u.d(),f&&f.d(s),o[15](null),o[16](null),o[17](null),p(),o[19](null)}}}function v(o){let t,i,n,a,d;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(h,p){e.insert(h,t,p),e.append(t,i),e.append(i,n),a||(d=e.listen(i,"click",o[9]),a=!0)},p:e.noop,d(h){h&&e.detach(t),a=!1,d()}}}function k(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 F(o){let t,i,n=o[2]==="true"&&C(o);return{c(){n&&n.c(),t=e.empty()},m(a,d){n&&n.m(a,d),e.insert(a,t,d),i=!0},p(a,[d]){a[2]==="true"?n?(n.p(a,d),d&4&&e.transition_in(n,1)):(n=C(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 H(o,t,i){let{$$slots:n={},$$scope:a}=t,{mbsource:d}=t,{clientstyling:h}=t,{clientstylingurl:p}=t,{show:m}=t,{modaltype:c=""}=t,{isloading:u="false"}=t,{width:b}=t,{height:f}=t,s,r,_,g;const M=()=>{s&&(s.classList.add("closing"),setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},300))},y=()=>{if(!g||!_)return;const l=_.scrollHeight,j=_.scrollWidth;i(8,g.style.width=`${j}px`,g),i(8,g.style.height=`${l}px`,g),setTimeout(()=>{i(8,g.style.width="auto",g),i(8,g.style.height="auto",g)},150)};e.onMount(()=>{if(e.tick().then(()=>{y()}),_){const l=new ResizeObserver(()=>{y()});return l.observe(_),()=>{l.disconnect()}}return()=>{}});function L(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(7,_)})}function z(l){e.binding_callbacks[l?"unshift":"push"](()=>{g=l,i(8,g)})}function S(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(6,s)})}function O(){b=this.clientWidth,f=this.clientHeight,i(0,b),i(1,f)}function I(l){e.binding_callbacks[l?"unshift":"push"](()=>{r=l,i(5,r)})}return o.$$set=l=>{"mbsource"in l&&i(10,d=l.mbsource),"clientstyling"in l&&i(11,h=l.clientstyling),"clientstylingurl"in l&&i(12,p=l.clientstylingurl),"show"in l&&i(2,m=l.show),"modaltype"in l&&i(3,c=l.modaltype),"isloading"in l&&i(4,u=l.isloading),"width"in l&&i(0,b=l.width),"height"in l&&i(1,f=l.height),"$$scope"in l&&i(13,a=l.$$scope)},o.$$.update=()=>{o.$$.dirty&16&&u&&e.tick().then(()=>{y()}),o.$$.dirty&2080&&h&&r&&e.setClientStyling(r,h),o.$$.dirty&4128&&p&&r&&e.setClientStylingURL(r,p),o.$$.dirty&1056&&d&&r&&e.setStreamStyling(r,`${d}.Style`)},[b,f,m,c,u,r,s,_,g,M,d,h,p,a,n,L,z,S,O,I]}class x extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,H,F,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},W)}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(x,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["content"],[],!0);exports.default=x;
|