@everymatrix/cashier-page 1.99.18 → 1.99.19
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-CUtNMhZV.js +5858 -0
- package/components/CashierCarousel-MBtvTbcb.cjs +23 -0
- package/components/CashierCarousel-Tx0f5-LG.js +5896 -0
- package/components/CashierError-C7eQzwUP.cjs +1 -0
- package/components/{CashierError-GsEDSXtA.js → CashierError-Dyxg1sq3.js} +6 -7
- package/components/{CashierError-4dP13hBI.js → CashierError-kl-Hjy3m.js} +6 -7
- package/components/CashierHeader-BKcZqENP.js +432 -0
- package/components/CashierHeader-ByWJ_k92.cjs +1 -0
- package/components/CashierHeader-WI5T8myo.js +432 -0
- package/components/{CashierIframeRedirect-CKNMtdwW.js → CashierIframeRedirect-C_1-xORQ.js} +87 -72
- package/components/{CashierIframeRedirect-BEsPx_Z8.js → CashierIframeRedirect-D5wLT4Ip.js} +81 -66
- package/components/CashierIframeRedirect-EU2aPm8u.cjs +1 -0
- package/components/{CashierMethodDetails-6gecWa6-.js → CashierMethodDetails-BREpDnlu.js} +3270 -2845
- package/components/CashierMethodDetails-CYwLk7rR.cjs +287 -0
- package/components/{CashierMethodDetails-Di4M7A7s.js → CashierMethodDetails-Cob_AEyz.js} +3407 -2982
- package/components/{CashierMethodsList-CJqErGs4.js → CashierMethodsList-C1JyivW4.js} +31 -31
- package/components/CashierMethodsList-CcO-EerQ.cjs +1 -0
- package/components/{CashierMethodsList-DxTcwp9y.js → CashierMethodsList-DU64oEyD.js} +32 -32
- package/components/CashierModal-BHWX0DmT.cjs +1 -0
- package/components/{CashierModal-jptr1BjB.js → CashierModal-C4PU5_PU.js} +34 -35
- package/components/{CashierModal-BmXXJZSw.js → CashierModal-Cpxd5bJQ.js} +52 -53
- package/components/{CashierNotifications-DpUJKBKY.js → CashierNotifications-B-OQoaFK.js} +27 -27
- package/components/CashierNotifications-BRQYroR0.cjs +1 -0
- package/components/{CashierNotifications-slqy0GL5.js → CashierNotifications-Bedwtk72.js} +29 -29
- package/components/CashierPage-BgoraPRn.js +4853 -0
- package/components/CashierPage-BsAuSvEP.cjs +1 -0
- package/components/CashierPage-D9Eoq0xv.js +4887 -0
- package/components/{CashierReceiptPage-Bmki8Rgo.js → CashierReceiptPage-Bs1-A5oO.js} +88 -87
- package/components/{CashierReceiptPage-CxEoywyO.js → CashierReceiptPage-CKEro91e.js} +105 -104
- package/components/CashierReceiptPage-DJG1aNbY.cjs +29 -0
- package/components/{CashierSessionExpirationModal-DLzJHllv.js → CashierSessionExpirationModal-CdSUe7hK.js} +59 -58
- package/components/{CashierSessionExpirationModal-0ZABOlrt.js → CashierSessionExpirationModal-CePqbW5W.js} +83 -82
- package/components/CashierSessionExpirationModal-ChfT0Imk.cjs +2 -0
- package/components/CashierSpinner-C1fzGsEh.cjs +1 -0
- package/components/{CashierSpinner-jlh3kLrw.js → CashierSpinner-D1qQLxEW.js} +18 -19
- package/components/{CashierSpinner-Bic1yXPY.js → CashierSpinner-wvDbhkcq.js} +14 -15
- package/components/{CashierStepUp-g-G22Lc4.js → CashierStepUp-8viDm0qd.js} +104 -105
- package/components/{CashierStepUp-srh84KwL.js → CashierStepUp-BJ3ojmDK.js} +6 -7
- package/components/CashierStepUp-V1DZKhrx.cjs +1 -0
- package/components/CashierTransactionHistory-Blt88-F-.cjs +1 -0
- package/components/{CashierTransactionHistory-yI8ncB6o.js → CashierTransactionHistory-C_HP2wr2.js} +61 -60
- package/components/{CashierTransactionHistory-CxMz_ono.js → CashierTransactionHistory-c3jwP7YJ.js} +61 -60
- package/components/{CashierVerifications-DJsdsHJU.js → CashierVerifications-B8AtaT5B.js} +125 -141
- package/components/CashierVerifications-CMRN3aAD.cjs +1 -0
- package/components/{CashierVerifications-CxFzWKAg.js → CashierVerifications-PeSLRi-g.js} +121 -137
- package/components/TxnStatusIcon-CL30ATPa.cjs +1 -0
- package/components/{TxnStatusIcon-THzMx_aQ.js → TxnStatusIcon-CUxVvL_p.js} +12 -12
- package/components/{TxnStatusIcon-B52lfQx_.js → TxnStatusIcon-ipRjsjNx.js} +1 -1
- package/components/{TxnTypeIcons-BHrNWU9Q.js → TxnTypeIcons-B6Ue3pUq.js} +1 -1
- package/components/TxnTypeIcons-Cksp3nqd.cjs +1 -0
- package/components/{TxnTypeIcons-DXAaJnwf.js → TxnTypeIcons-CufWq1r7.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/esnext/ssr.js +1 -0
- package/package.json +20 -4
- package/types/index.d.ts +69 -0
- package/types/react.d.ts +14 -0
- package/components/CashierCarousel-BZ-i1EsX.js +0 -732
- package/components/CashierCarousel-CJAaHXXD.js +0 -735
- package/components/CashierCarousel-Cu_RNUHY.cjs +0 -1
- package/components/CashierError-D0mOIAnU.cjs +0 -1
- package/components/CashierHeader-CK33wmWw.js +0 -491
- package/components/CashierHeader-DaUYq9lj.cjs +0 -1
- package/components/CashierHeader-gQMHuTqw.js +0 -491
- package/components/CashierIframeRedirect-D6UXTJnb.cjs +0 -1
- package/components/CashierMethodDetails-CSedTA6S.cjs +0 -287
- package/components/CashierMethodsList-Dd2UiVhS.cjs +0 -1
- package/components/CashierModal-BAldCDjj.cjs +0 -1
- package/components/CashierNotifications-BCksCjnd.cjs +0 -1
- package/components/CashierPage-9TlSv0Ys.js +0 -10387
- package/components/CashierPage-CRTe3srS.js +0 -10334
- package/components/CashierPage-GUVKpACj.cjs +0 -23
- package/components/CashierReceiptPage-DU78zOm2.cjs +0 -29
- package/components/CashierSessionExpirationModal-ZVuwRFF3.cjs +0 -2
- package/components/CashierSpinner-D5xvgSGR.cjs +0 -1
- package/components/CashierStepUp-CitQkE0i.cjs +0 -1
- package/components/CashierTransactionHistory-CxxqOj18.cjs +0 -1
- package/components/CashierVerifications-BJloPP6f.cjs +0 -1
- package/components/TxnStatusIcon-B_aOthN3.cjs +0 -1
- package/components/TxnTypeIcons-NnRP_P64.cjs +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { S as te, b as ie, s as ne, f as C,
|
|
2
|
-
import { s as he, a as me, b as ge } from "./CashierHeader-CK33wmWw.js";
|
|
1
|
+
import { S as te, b as ie, s as ne, f as C, c as oe, d as S, t as O, e as z, C as le, g as se, h as H, j as b, o as ae, V as j, m as F, u as Y, n as B, p as D, Y as L, q as _, a8 as re, r as I, k as h, N as de, v as W, I as ce, z as fe, Z as q, D as ue, E as he, F as me, G as ge } from "./CashierCarousel-CUtNMhZV.js";
|
|
3
2
|
function pe(i) {
|
|
4
3
|
oe(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
5
4
|
}
|
|
6
|
-
const we = (i) => ({}),
|
|
7
|
-
function
|
|
5
|
+
const we = (i) => ({}), R = (i) => ({}), ye = (i) => ({}), U = (i) => ({});
|
|
6
|
+
function Z(i) {
|
|
8
7
|
let e, t, n, a, f, m, v, T, k, y, x, u, d = (
|
|
9
8
|
/*modaltype*/
|
|
10
9
|
(i[3] == "error" || /*modaltype*/
|
|
@@ -13,29 +12,29 @@ function A(i) {
|
|
|
13
12
|
const g = (
|
|
14
13
|
/*#slots*/
|
|
15
14
|
i[14].title
|
|
16
|
-
), p =
|
|
15
|
+
), p = F(
|
|
17
16
|
g,
|
|
18
17
|
i,
|
|
19
18
|
/*$$scope*/
|
|
20
19
|
i[13],
|
|
21
|
-
|
|
20
|
+
U
|
|
22
21
|
);
|
|
23
22
|
let r = (
|
|
24
23
|
/*modaltype*/
|
|
25
|
-
i[3] != "2fa-old" &&
|
|
24
|
+
i[3] != "2fa-old" && N(i)
|
|
26
25
|
), l = (
|
|
27
26
|
/*isloading*/
|
|
28
|
-
i[4] === "true" &&
|
|
27
|
+
i[4] === "true" && P()
|
|
29
28
|
);
|
|
30
29
|
const M = (
|
|
31
30
|
/*#slots*/
|
|
32
31
|
i[14].content
|
|
33
|
-
), c =
|
|
32
|
+
), c = F(
|
|
34
33
|
M,
|
|
35
34
|
i,
|
|
36
35
|
/*$$scope*/
|
|
37
36
|
i[13],
|
|
38
|
-
|
|
37
|
+
R
|
|
39
38
|
);
|
|
40
39
|
return {
|
|
41
40
|
c() {
|
|
@@ -70,7 +69,7 @@ function A(i) {
|
|
|
70
69
|
/*modaltype*/
|
|
71
70
|
s[3] == "error" || /*modaltype*/
|
|
72
71
|
s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
|
|
73
|
-
8192) &&
|
|
72
|
+
8192) && Y(
|
|
74
73
|
p,
|
|
75
74
|
g,
|
|
76
75
|
s,
|
|
@@ -82,15 +81,15 @@ function A(i) {
|
|
|
82
81
|
s[13],
|
|
83
82
|
w,
|
|
84
83
|
ye
|
|
85
|
-
) :
|
|
84
|
+
) : B(
|
|
86
85
|
/*$$scope*/
|
|
87
86
|
s[13]
|
|
88
87
|
),
|
|
89
|
-
|
|
88
|
+
U
|
|
90
89
|
), /*modaltype*/
|
|
91
|
-
s[3] != "2fa-old" ? r ? r.p(s, w) : (r =
|
|
92
|
-
s[4] === "true" ? l || (l =
|
|
93
|
-
8192) &&
|
|
90
|
+
s[3] != "2fa-old" ? r ? r.p(s, w) : (r = N(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
91
|
+
s[4] === "true" ? l || (l = P(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
|
|
92
|
+
8192) && Y(
|
|
94
93
|
c,
|
|
95
94
|
M,
|
|
96
95
|
s,
|
|
@@ -102,11 +101,11 @@ function A(i) {
|
|
|
102
101
|
s[13],
|
|
103
102
|
w,
|
|
104
103
|
we
|
|
105
|
-
) :
|
|
104
|
+
) : B(
|
|
106
105
|
/*$$scope*/
|
|
107
106
|
s[13]
|
|
108
107
|
),
|
|
109
|
-
|
|
108
|
+
R
|
|
110
109
|
), (!u || w & /*isloading*/
|
|
111
110
|
16) && L(
|
|
112
111
|
y,
|
|
@@ -152,11 +151,11 @@ function G(i) {
|
|
|
152
151
|
}
|
|
153
152
|
};
|
|
154
153
|
}
|
|
155
|
-
function
|
|
154
|
+
function N(i) {
|
|
156
155
|
let e, t, n, a, f;
|
|
157
156
|
return {
|
|
158
157
|
c() {
|
|
159
|
-
e = b("div"), t =
|
|
158
|
+
e = b("div"), t = q("svg"), n = q("path"), h(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
|
|
160
159
|
},
|
|
161
160
|
m(m, v) {
|
|
162
161
|
H(m, e, v), _(e, t), _(t, n), a || (f = fe(
|
|
@@ -172,7 +171,7 @@ function P(i) {
|
|
|
172
171
|
}
|
|
173
172
|
};
|
|
174
173
|
}
|
|
175
|
-
function
|
|
174
|
+
function P(i) {
|
|
176
175
|
let e;
|
|
177
176
|
return {
|
|
178
177
|
c() {
|
|
@@ -189,7 +188,7 @@ function Q(i) {
|
|
|
189
188
|
function _e(i) {
|
|
190
189
|
let e, t, n = (
|
|
191
190
|
/*show*/
|
|
192
|
-
i[2] === "true" &&
|
|
191
|
+
i[2] === "true" && Z(i)
|
|
193
192
|
);
|
|
194
193
|
return {
|
|
195
194
|
c() {
|
|
@@ -201,7 +200,7 @@ function _e(i) {
|
|
|
201
200
|
p(a, [f]) {
|
|
202
201
|
/*show*/
|
|
203
202
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
204
|
-
4 && z(n, 1)) : (n =
|
|
203
|
+
4 && z(n, 1)) : (n = Z(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
|
|
205
204
|
n = null;
|
|
206
205
|
}), se());
|
|
207
206
|
},
|
|
@@ -254,25 +253,25 @@ function be(i, e, t) {
|
|
|
254
253
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
255
254
|
};
|
|
256
255
|
});
|
|
257
|
-
function
|
|
256
|
+
function V(o) {
|
|
258
257
|
W[o ? "unshift" : "push"](() => {
|
|
259
258
|
r = o, t(7, r);
|
|
260
259
|
});
|
|
261
260
|
}
|
|
262
|
-
function
|
|
261
|
+
function A(o) {
|
|
263
262
|
W[o ? "unshift" : "push"](() => {
|
|
264
263
|
l = o, t(8, l);
|
|
265
264
|
});
|
|
266
265
|
}
|
|
267
|
-
function
|
|
266
|
+
function J(o) {
|
|
268
267
|
W[o ? "unshift" : "push"](() => {
|
|
269
268
|
d = o, t(6, d);
|
|
270
269
|
});
|
|
271
270
|
}
|
|
272
|
-
function
|
|
271
|
+
function K() {
|
|
273
272
|
x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
|
|
274
273
|
}
|
|
275
|
-
function
|
|
274
|
+
function Q(o) {
|
|
276
275
|
W[o ? "unshift" : "push"](() => {
|
|
277
276
|
g = o, t(5, g);
|
|
278
277
|
});
|
|
@@ -284,9 +283,9 @@ function be(i, e, t) {
|
|
|
284
283
|
16 && y && j().then(() => {
|
|
285
284
|
E();
|
|
286
285
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
287
|
-
2080 && m && g &&
|
|
288
|
-
4128 && v && g &&
|
|
289
|
-
1056 && f && g &&
|
|
286
|
+
2080 && m && g && ue(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
287
|
+
4128 && v && g && he(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
288
|
+
1056 && f && g && me(g, `${f}.Style`, p);
|
|
290
289
|
}, [
|
|
291
290
|
x,
|
|
292
291
|
u,
|
|
@@ -303,11 +302,11 @@ function be(i, e, t) {
|
|
|
303
302
|
v,
|
|
304
303
|
a,
|
|
305
304
|
n,
|
|
306
|
-
|
|
305
|
+
V,
|
|
306
|
+
A,
|
|
307
307
|
J,
|
|
308
308
|
K,
|
|
309
|
-
|
|
310
|
-
V
|
|
309
|
+
Q
|
|
311
310
|
];
|
|
312
311
|
}
|
|
313
312
|
class ve extends te {
|
|
@@ -380,7 +379,7 @@ class ve extends te {
|
|
|
380
379
|
this.$$set({ height: e }), C();
|
|
381
380
|
}
|
|
382
381
|
}
|
|
383
|
-
|
|
382
|
+
ge(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
384
383
|
export {
|
|
385
384
|
ve as default
|
|
386
385
|
};
|
|
@@ -1,52 +1,51 @@
|
|
|
1
|
-
var
|
|
1
|
+
var F = (i, e, t) => new Promise((n, a) => {
|
|
2
2
|
var f = (p) => {
|
|
3
3
|
try {
|
|
4
4
|
g(t.next(p));
|
|
5
|
-
} catch (
|
|
6
|
-
a(
|
|
5
|
+
} catch (C) {
|
|
6
|
+
a(C);
|
|
7
7
|
}
|
|
8
8
|
}, h = (p) => {
|
|
9
9
|
try {
|
|
10
10
|
g(t.throw(p));
|
|
11
|
-
} catch (
|
|
12
|
-
a(
|
|
11
|
+
} catch (C) {
|
|
12
|
+
a(C);
|
|
13
13
|
}
|
|
14
14
|
}, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
|
|
15
15
|
g((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as ie, b as ne, s as oe, f as M, c as le,
|
|
18
|
-
import { s as me, a as ge, b as pe } from "./CashierHeader-gQMHuTqw.js";
|
|
17
|
+
import { S as ie, b as ne, s as oe, f as M, c as le, d as S, t as O, e as z, g as se, h as ae, j as H, k as x, o as re, V as j, n as Y, u as B, p as D, q, Y as T, r as v, a8 as de, v as I, l as m, N as ce, w as W, I as fe, A as ue, Z as R, D as he, E as me, F as ge, G as pe } from "./CashierCarousel-Tx0f5-LG.js";
|
|
19
18
|
function we(i) {
|
|
20
19
|
le(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
21
20
|
}
|
|
22
|
-
const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}),
|
|
23
|
-
function
|
|
24
|
-
let e, t, n, a, f, h, g, p,
|
|
21
|
+
const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}), Z = (i) => ({});
|
|
22
|
+
function A(i) {
|
|
23
|
+
let e, t, n, a, f, h, g, p, C, b, k, u, d = (
|
|
25
24
|
/*modaltype*/
|
|
26
25
|
(i[3] == "error" || /*modaltype*/
|
|
27
|
-
i[3] == "bonusDescription") &&
|
|
26
|
+
i[3] == "bonusDescription") && G()
|
|
28
27
|
);
|
|
29
28
|
const w = (
|
|
30
29
|
/*#slots*/
|
|
31
30
|
i[14].title
|
|
32
|
-
), y =
|
|
31
|
+
), y = Y(
|
|
33
32
|
w,
|
|
34
33
|
i,
|
|
35
34
|
/*$$scope*/
|
|
36
35
|
i[13],
|
|
37
|
-
|
|
36
|
+
Z
|
|
38
37
|
);
|
|
39
38
|
let r = (
|
|
40
39
|
/*modaltype*/
|
|
41
|
-
i[3] != "2fa-old" &&
|
|
40
|
+
i[3] != "2fa-old" && N(i)
|
|
42
41
|
), l = (
|
|
43
42
|
/*isloading*/
|
|
44
|
-
i[4] === "true" &&
|
|
43
|
+
i[4] === "true" && P()
|
|
45
44
|
);
|
|
46
45
|
const L = (
|
|
47
46
|
/*#slots*/
|
|
48
47
|
i[14].content
|
|
49
|
-
), c =
|
|
48
|
+
), c = Y(
|
|
50
49
|
L,
|
|
51
50
|
i,
|
|
52
51
|
/*$$scope*/
|
|
@@ -55,7 +54,7 @@ function G(i) {
|
|
|
55
54
|
);
|
|
56
55
|
return {
|
|
57
56
|
c() {
|
|
58
|
-
e =
|
|
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(
|
|
59
58
|
b,
|
|
60
59
|
"hidden",
|
|
61
60
|
/*isloading*/
|
|
@@ -76,7 +75,7 @@ function G(i) {
|
|
|
76
75
|
));
|
|
77
76
|
},
|
|
78
77
|
m(s, _) {
|
|
79
|
-
H(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,
|
|
78
|
+
H(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 = de(
|
|
80
79
|
e,
|
|
81
80
|
/*div5_elementresize_handler*/
|
|
82
81
|
i[18].bind(e)
|
|
@@ -85,40 +84,40 @@ function G(i) {
|
|
|
85
84
|
p(s, _) {
|
|
86
85
|
/*modaltype*/
|
|
87
86
|
s[3] == "error" || /*modaltype*/
|
|
88
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
89
|
-
8192) &&
|
|
87
|
+
s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
|
|
88
|
+
8192) && B(
|
|
90
89
|
y,
|
|
91
90
|
w,
|
|
92
91
|
s,
|
|
93
92
|
/*$$scope*/
|
|
94
93
|
s[13],
|
|
95
|
-
u ?
|
|
94
|
+
u ? q(
|
|
96
95
|
w,
|
|
97
96
|
/*$$scope*/
|
|
98
97
|
s[13],
|
|
99
98
|
_,
|
|
100
99
|
_e
|
|
101
|
-
) :
|
|
100
|
+
) : D(
|
|
102
101
|
/*$$scope*/
|
|
103
102
|
s[13]
|
|
104
103
|
),
|
|
105
|
-
|
|
104
|
+
Z
|
|
106
105
|
), /*modaltype*/
|
|
107
|
-
s[3] != "2fa-old" ? r ? r.p(s, _) : (r =
|
|
108
|
-
s[4] === "true" ? l || (l =
|
|
109
|
-
8192) &&
|
|
106
|
+
s[3] != "2fa-old" ? r ? r.p(s, _) : (r = N(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
107
|
+
s[4] === "true" ? l || (l = P(), l.c(), l.m(t, C)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
108
|
+
8192) && B(
|
|
110
109
|
c,
|
|
111
110
|
L,
|
|
112
111
|
s,
|
|
113
112
|
/*$$scope*/
|
|
114
113
|
s[13],
|
|
115
|
-
u ?
|
|
114
|
+
u ? q(
|
|
116
115
|
L,
|
|
117
116
|
/*$$scope*/
|
|
118
117
|
s[13],
|
|
119
118
|
_,
|
|
120
119
|
ye
|
|
121
|
-
) :
|
|
120
|
+
) : D(
|
|
122
121
|
/*$$scope*/
|
|
123
122
|
s[13]
|
|
124
123
|
),
|
|
@@ -154,11 +153,11 @@ function G(i) {
|
|
|
154
153
|
}
|
|
155
154
|
};
|
|
156
155
|
}
|
|
157
|
-
function
|
|
156
|
+
function G(i) {
|
|
158
157
|
let e;
|
|
159
158
|
return {
|
|
160
159
|
c() {
|
|
161
|
-
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");
|
|
162
161
|
},
|
|
163
162
|
m(t, n) {
|
|
164
163
|
H(t, e, n);
|
|
@@ -168,11 +167,11 @@ function P(i) {
|
|
|
168
167
|
}
|
|
169
168
|
};
|
|
170
169
|
}
|
|
171
|
-
function
|
|
170
|
+
function N(i) {
|
|
172
171
|
let e, t, n, a, f;
|
|
173
172
|
return {
|
|
174
173
|
c() {
|
|
175
|
-
e =
|
|
174
|
+
e = x("div"), t = R("svg"), n = R("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");
|
|
176
175
|
},
|
|
177
176
|
m(h, g) {
|
|
178
177
|
H(h, e, g), v(e, t), v(t, n), a || (f = ue(
|
|
@@ -188,11 +187,11 @@ function Q(i) {
|
|
|
188
187
|
}
|
|
189
188
|
};
|
|
190
189
|
}
|
|
191
|
-
function
|
|
190
|
+
function P(i) {
|
|
192
191
|
let e;
|
|
193
192
|
return {
|
|
194
193
|
c() {
|
|
195
|
-
e =
|
|
194
|
+
e = x("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
|
|
196
195
|
},
|
|
197
196
|
m(t, n) {
|
|
198
197
|
H(t, e, n);
|
|
@@ -205,11 +204,11 @@ function Z(i) {
|
|
|
205
204
|
function be(i) {
|
|
206
205
|
let e, t, n = (
|
|
207
206
|
/*show*/
|
|
208
|
-
i[2] === "true" &&
|
|
207
|
+
i[2] === "true" && A(i)
|
|
209
208
|
);
|
|
210
209
|
return {
|
|
211
210
|
c() {
|
|
212
|
-
e =
|
|
211
|
+
e = x("div"), n && n.c();
|
|
213
212
|
},
|
|
214
213
|
m(a, f) {
|
|
215
214
|
H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
|
|
@@ -217,7 +216,7 @@ function be(i) {
|
|
|
217
216
|
p(a, [f]) {
|
|
218
217
|
/*show*/
|
|
219
218
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
220
|
-
4 && z(n, 1)) : (n =
|
|
219
|
+
4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
|
|
221
220
|
n = null;
|
|
222
221
|
}), ae());
|
|
223
222
|
},
|
|
@@ -233,7 +232,7 @@ function be(i) {
|
|
|
233
232
|
};
|
|
234
233
|
}
|
|
235
234
|
function ve(i, e, t) {
|
|
236
|
-
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype:
|
|
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;
|
|
237
236
|
const _ = () => {
|
|
238
237
|
c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
|
|
239
238
|
() => {
|
|
@@ -241,7 +240,7 @@ function ve(i, e, t) {
|
|
|
241
240
|
},
|
|
242
241
|
200
|
|
243
242
|
));
|
|
244
|
-
}, E = () =>
|
|
243
|
+
}, E = () => F(this, null, function* () {
|
|
245
244
|
if (!l || !r || L)
|
|
246
245
|
return;
|
|
247
246
|
s && clearTimeout(c), L = !0;
|
|
@@ -270,22 +269,22 @@ function ve(i, e, t) {
|
|
|
270
269
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
271
270
|
};
|
|
272
271
|
});
|
|
273
|
-
function
|
|
272
|
+
function V(o) {
|
|
274
273
|
W[o ? "unshift" : "push"](() => {
|
|
275
274
|
r = o, t(7, r);
|
|
276
275
|
});
|
|
277
276
|
}
|
|
278
|
-
function
|
|
277
|
+
function J(o) {
|
|
279
278
|
W[o ? "unshift" : "push"](() => {
|
|
280
279
|
l = o, t(8, l);
|
|
281
280
|
});
|
|
282
281
|
}
|
|
283
|
-
function
|
|
282
|
+
function K(o) {
|
|
284
283
|
W[o ? "unshift" : "push"](() => {
|
|
285
284
|
d = o, t(6, d);
|
|
286
285
|
});
|
|
287
286
|
}
|
|
288
|
-
function
|
|
287
|
+
function Q() {
|
|
289
288
|
k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
|
|
290
289
|
}
|
|
291
290
|
function X(o) {
|
|
@@ -294,20 +293,20 @@ function ve(i, e, t) {
|
|
|
294
293
|
});
|
|
295
294
|
}
|
|
296
295
|
return i.$$set = (o) => {
|
|
297
|
-
"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,
|
|
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);
|
|
298
297
|
}, i.$$.update = () => {
|
|
299
298
|
i.$$.dirty & /*isloading*/
|
|
300
299
|
16 && b && j().then(() => {
|
|
301
300
|
E();
|
|
302
301
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
303
|
-
2080 && h && w &&
|
|
304
|
-
4128 && g && w &&
|
|
305
|
-
1056 && f && w &&
|
|
302
|
+
2080 && h && w && he(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
303
|
+
4128 && g && w && me(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
304
|
+
1056 && f && w && ge(w, `${f}.Style`, y);
|
|
306
305
|
}, [
|
|
307
306
|
k,
|
|
308
307
|
u,
|
|
309
308
|
p,
|
|
310
|
-
|
|
309
|
+
C,
|
|
311
310
|
b,
|
|
312
311
|
w,
|
|
313
312
|
d,
|
|
@@ -319,14 +318,14 @@ function ve(i, e, t) {
|
|
|
319
318
|
g,
|
|
320
319
|
a,
|
|
321
320
|
n,
|
|
321
|
+
V,
|
|
322
322
|
J,
|
|
323
323
|
K,
|
|
324
|
-
|
|
325
|
-
V,
|
|
324
|
+
Q,
|
|
326
325
|
X
|
|
327
326
|
];
|
|
328
327
|
}
|
|
329
|
-
class
|
|
328
|
+
class Ce extends ie {
|
|
330
329
|
constructor(e) {
|
|
331
330
|
super(), ne(
|
|
332
331
|
this,
|
|
@@ -396,7 +395,7 @@ class xe extends ie {
|
|
|
396
395
|
this.$$set({ height: e }), M();
|
|
397
396
|
}
|
|
398
397
|
}
|
|
399
|
-
|
|
398
|
+
pe(Ce, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
400
399
|
export {
|
|
401
|
-
|
|
400
|
+
Ce as default
|
|
402
401
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k,
|
|
2
|
-
function
|
|
3
|
-
k(
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, I as b, d as N, x as p, h as z, q as f, z as S, j as h, y as x, r as E, k as L, v as M, G as T } from "./CashierCarousel-CUtNMhZV.js";
|
|
2
|
+
function q(i) {
|
|
3
|
+
k(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function H(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
11
|
+
i[0]
|
|
12
12
|
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
i[1]
|
|
15
15
|
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a),
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -38,23 +38,23 @@ function R(n) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o && N(t),
|
|
41
|
+
o && N(t), i[6](null), n = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function R(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
54
|
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
55
|
y.innerHTML = g, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
n.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
@@ -62,32 +62,32 @@ function U(n, t, s) {
|
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
64
|
M[e ? "unshift" : "push"](() => {
|
|
65
|
-
|
|
65
|
+
n = e, s(2, n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
69
|
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
n,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class U extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
-
U,
|
|
90
89
|
R,
|
|
90
|
+
H,
|
|
91
91
|
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
@@ -95,7 +95,7 @@ class q extends C {
|
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
q
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class q extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
T(
|
|
126
|
+
T(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
U as default
|
|
129
129
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-MBtvTbcb.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|