@everymatrix/cashier-page 1.86.5 → 1.86.7
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-BNKjZ4dF.js → CashierCarousel-DKhPJU6b.js} +698 -698
- package/components/{CashierCarousel-CecQbbdW.cjs → CashierCarousel-Dl-eMerS.cjs} +6 -6
- package/components/{CashierCarousel-D8MiOwuE.js → CashierCarousel-VzauuRzd.js} +709 -709
- package/components/{CashierError-DZSJKCbW.js → CashierError-B0qTVRew.js} +1 -1
- package/components/{CashierError-BorUJmCn.cjs → CashierError-Bx19tshH.cjs} +1 -1
- package/components/{CashierError-7qg__v0Z.js → CashierError-ZnrYSdIJ.js} +1 -1
- package/components/{CashierHeader-CzpZDjFX.js → CashierHeader-Bg2nCWkL.js} +1 -1
- package/components/{CashierHeader-B3b8zbwP.cjs → CashierHeader-BgpMLlQl.cjs} +1 -1
- package/components/{CashierHeader-B9Y-DaUB.js → CashierHeader-Ob55c3V1.js} +1 -1
- package/components/{CashierIframeRedirect-YYamzRsf.cjs → CashierIframeRedirect-BRzP3u6o.cjs} +1 -1
- package/components/{CashierIframeRedirect-B_A79AFN.js → CashierIframeRedirect-CmCpwQNx.js} +3 -3
- package/components/{CashierIframeRedirect-aTaiu0hG.js → CashierIframeRedirect-uR7lUcI4.js} +3 -3
- package/components/{CashierMethodDetails-C1kjc4-Q.cjs → CashierMethodDetails-Bi3RswtE.cjs} +4 -4
- package/components/{CashierMethodDetails-BzVSr2on.js → CashierMethodDetails-ChdTDLVs.js} +957 -921
- package/components/{CashierMethodDetails-Bxh5WhVb.js → CashierMethodDetails-Cx2IVsNJ.js} +946 -910
- package/components/{CashierMethodsList-CBnuQYXc.js → CashierMethodsList-Bf5WVXfB.js} +149 -150
- package/components/{CashierMethodsList-D9ypDDJW.cjs → CashierMethodsList-D58KK82d.cjs} +1 -1
- package/components/{CashierMethodsList-CLQK5Xcn.js → CashierMethodsList-Wd2Tb0nx.js} +98 -99
- package/components/{CashierModal-Diij1t-w.cjs → CashierModal-CNfSMMrg.cjs} +1 -1
- package/components/{CashierModal-BE9c03E8.js → CashierModal-CeTxvGuv.js} +64 -64
- package/components/{CashierModal-R6fQk7sI.js → CashierModal-CzdREUu5.js} +81 -81
- package/components/{CashierNotifications-5EjGguMj.js → CashierNotifications-Atgdw6xY.js} +1 -1
- package/components/{CashierNotifications-kuNLTOB3.cjs → CashierNotifications-C7Mjn9aM.cjs} +1 -1
- package/components/{CashierNotifications-mhDeZtGd.js → CashierNotifications-DaXLtFPD.js} +1 -1
- package/components/{CashierPage-DcE7E_Wf.cjs → CashierPage-BJZIdTUM.cjs} +1 -1
- package/components/{CashierPage-BREFnfc1.js → CashierPage-Brtreu70.js} +11 -11
- package/components/{CashierPage-y5YsPxSa.js → CashierPage-BwHK_o5C.js} +70 -70
- package/components/{CashierReceiptPage-DGAjOoFe.cjs → CashierReceiptPage-CjWUvqnM.cjs} +2 -2
- package/components/{CashierReceiptPage-CNwhHWwV.js → CashierReceiptPage-CstOT6w8.js} +635 -642
- package/components/{CashierReceiptPage-BbHKdDra.js → CashierReceiptPage-DxExcFD2.js} +552 -583
- package/components/{CashierSessionExpirationModal-D6h6euRq.js → CashierSessionExpirationModal-BD6AaTfL.js} +38 -38
- package/components/{CashierSessionExpirationModal-33ygvBxj.cjs → CashierSessionExpirationModal-Ba45sFMo.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-BQujD7Vd.js → CashierSessionExpirationModal-CeUHj8Nu.js} +3 -3
- package/components/{CashierSpinner-DVLxgI0s.cjs → CashierSpinner-BUjnT9BW.cjs} +1 -1
- package/components/{CashierSpinner-CYSebSGZ.js → CashierSpinner-Cfc6C4df.js} +1 -1
- package/components/{CashierSpinner-DIyI0RD1.js → CashierSpinner-Dansuw_c.js} +1 -1
- package/components/{CashierStepUp-DEb05cBS.js → CashierStepUp-CXaxhy_1.js} +1 -1
- package/components/{CashierStepUp-DnvNxlcq.js → CashierStepUp-D6fTGz14.js} +1 -1
- package/components/{CashierStepUp-B9H7E8wY.cjs → CashierStepUp-gsICNfsv.cjs} +1 -1
- package/components/{CashierTransactionHistory-CX3RviXD.js → CashierTransactionHistory-B-MDFXYc.js} +43 -43
- package/components/{CashierTransactionHistory-ButX2_sB.js → CashierTransactionHistory-BOzr1llp.js} +5 -5
- package/components/{CashierTransactionHistory-D8cuhIj_.cjs → CashierTransactionHistory-DnDR3GCK.cjs} +1 -1
- package/components/{CashierVerifications-CPUhZGV4.js → CashierVerifications-CAoRzihg.js} +3 -3
- package/components/{CashierVerifications-DVccv6qc.js → CashierVerifications-CjxrWuWm.js} +10 -10
- package/components/CashierVerifications-Ydw99mD_.cjs +1 -0
- package/components/{TxnStatusIcon-Krgh5oF3.js → TxnStatusIcon-BBs7yerQ.js} +1 -1
- package/components/{TxnStatusIcon-DuWdYaRx.cjs → TxnStatusIcon-Bm2SDwwJ.cjs} +1 -1
- package/components/{TxnStatusIcon-CpJJHtXq.js → TxnStatusIcon-C1C42nXE.js} +1 -1
- package/components/{TxnTypeIcons-iU9VGsWs.cjs → TxnTypeIcons-BOWsICZk.cjs} +1 -1
- package/components/{TxnTypeIcons-Az6Gbxxw.js → TxnTypeIcons-CC0HOFvg.js} +1 -1
- package/components/{TxnTypeIcons-Bvy6NVGO.js → TxnTypeIcons-hQ7x8mMJ.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierVerifications-DPeQTcCN.cjs +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
var D = (i, e, t) => new Promise((o, a) => {
|
|
2
2
|
var f = (h) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
v(t.next(h));
|
|
5
5
|
} catch (u) {
|
|
6
6
|
a(u);
|
|
7
7
|
}
|
|
8
8
|
}, b = (h) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
v(t.throw(h));
|
|
11
11
|
} catch (u) {
|
|
12
12
|
a(u);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, v = (h) => h.done ? o(h.value) : Promise.resolve(h.value).then(f, b);
|
|
15
|
+
v((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as ee, b as te, s as ie, f as k, c as ne, e as
|
|
17
|
+
import { S as ee, b as te, s as ie, f as k, c as ne, e as B, t as j, g as I, a6 as oe, a7 as se, k as F, m as C, q as le, R as Y, d as R, u as q, h as P, j as U, W as H, l as _, a8 as ae, x as re, n as O, X, o as m, L as de, y as E, B as ce, C as fe, D as he, E as ue } from "./CashierCarousel-VzauuRzd.js";
|
|
18
18
|
function me(i) {
|
|
19
19
|
ne(i, "svelte-vlp16o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
20
20
|
}
|
|
21
|
-
const ge = (i) => ({}),
|
|
22
|
-
function
|
|
23
|
-
let e, t, o, a, f, b,
|
|
21
|
+
const ge = (i) => ({}), Z = (i) => ({}), pe = (i) => ({}), A = (i) => ({});
|
|
22
|
+
function G(i) {
|
|
23
|
+
let e, t, o, a, f, b, v, h, u, L, T, M, g, y, d, l, S, r = (
|
|
24
24
|
/*modaltype*/
|
|
25
25
|
(i[3] == "error" || /*modaltype*/
|
|
26
|
-
i[3] == "bonusDescription") &&
|
|
26
|
+
i[3] == "bonusDescription") && J()
|
|
27
27
|
);
|
|
28
28
|
const z = (
|
|
29
29
|
/*#slots*/
|
|
@@ -33,11 +33,11 @@ function J(i) {
|
|
|
33
33
|
i,
|
|
34
34
|
/*$$scope*/
|
|
35
35
|
i[13],
|
|
36
|
-
|
|
36
|
+
A
|
|
37
37
|
);
|
|
38
38
|
let c = (
|
|
39
39
|
/*isloading*/
|
|
40
|
-
i[4] === "true" &&
|
|
40
|
+
i[4] === "true" && K()
|
|
41
41
|
);
|
|
42
42
|
const W = (
|
|
43
43
|
/*#slots*/
|
|
@@ -47,11 +47,11 @@ function J(i) {
|
|
|
47
47
|
i,
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
i[13],
|
|
50
|
-
|
|
50
|
+
Z
|
|
51
51
|
);
|
|
52
52
|
return {
|
|
53
53
|
c() {
|
|
54
|
-
e = C("div"), t = C("div"), o = C("div"), a = C("div"), r && r.c(), f = O(), b = C("div"), p && p.c(),
|
|
54
|
+
e = C("div"), t = C("div"), o = C("div"), a = C("div"), r && r.c(), f = O(), b = C("div"), p && p.c(), v = O(), h = C("div"), u = X("svg"), L = X("path"), T = O(), c && c.c(), M = O(), g = C("div"), w && w.c(), m(b, "class", "TitleText"), m(a, "class", "ModalTitle"), m(L, "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(u, "xmlns", "http://www.w3.org/2000/svg"), m(u, "viewBox", "0 0 13 13"), m(u, "fill", "none"), m(u, "class", "CloseButton"), m(h, "class", "ModalCloseIcon"), m(o, "class", "ModalHeader"), m(g, "class", "ModalContentWrapper"), H(
|
|
55
55
|
g,
|
|
56
56
|
"hidden",
|
|
57
57
|
/*isloading*/
|
|
@@ -71,90 +71,90 @@ function J(i) {
|
|
|
71
71
|
i[18].call(e)
|
|
72
72
|
));
|
|
73
73
|
},
|
|
74
|
-
m(
|
|
75
|
-
F(
|
|
74
|
+
m(s, x) {
|
|
75
|
+
F(s, e, x), _(e, t), _(t, o), _(o, a), r && r.m(a, null), _(a, f), _(a, b), p && p.m(b, null), _(o, v), _(o, h), _(h, u), _(u, L), _(t, T), c && c.m(t, null), _(t, M), _(t, g), w && w.m(g, null), i[15](g), i[16](t), i[17](e), y = ae(
|
|
76
76
|
e,
|
|
77
77
|
/*div6_elementresize_handler*/
|
|
78
78
|
i[18].bind(e)
|
|
79
|
-
), d = !0,
|
|
79
|
+
), d = !0, l || (S = re(
|
|
80
80
|
u,
|
|
81
81
|
"click",
|
|
82
82
|
/*closeModal*/
|
|
83
83
|
i[9]
|
|
84
|
-
),
|
|
84
|
+
), l = !0);
|
|
85
85
|
},
|
|
86
|
-
p(
|
|
86
|
+
p(s, x) {
|
|
87
87
|
/*modaltype*/
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
s[3] == "error" || /*modaltype*/
|
|
89
|
+
s[3] == "bonusDescription" ? r || (r = J(), r.c(), r.m(a, f)) : r && (r.d(1), r = null), p && p.p && (!d || x & /*$$scope*/
|
|
90
90
|
8192) && q(
|
|
91
91
|
p,
|
|
92
92
|
z,
|
|
93
|
-
|
|
93
|
+
s,
|
|
94
94
|
/*$$scope*/
|
|
95
|
-
|
|
96
|
-
d ?
|
|
95
|
+
s[13],
|
|
96
|
+
d ? U(
|
|
97
97
|
z,
|
|
98
98
|
/*$$scope*/
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
s[13],
|
|
100
|
+
x,
|
|
101
101
|
pe
|
|
102
|
-
) :
|
|
102
|
+
) : P(
|
|
103
103
|
/*$$scope*/
|
|
104
|
-
|
|
104
|
+
s[13]
|
|
105
105
|
),
|
|
106
|
-
|
|
106
|
+
A
|
|
107
107
|
), /*isloading*/
|
|
108
|
-
|
|
108
|
+
s[4] === "true" ? c || (c = K(), c.c(), c.m(t, M)) : c && (c.d(1), c = null), w && w.p && (!d || x & /*$$scope*/
|
|
109
109
|
8192) && q(
|
|
110
110
|
w,
|
|
111
111
|
W,
|
|
112
|
-
|
|
112
|
+
s,
|
|
113
113
|
/*$$scope*/
|
|
114
|
-
|
|
115
|
-
d ?
|
|
114
|
+
s[13],
|
|
115
|
+
d ? U(
|
|
116
116
|
W,
|
|
117
117
|
/*$$scope*/
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
s[13],
|
|
119
|
+
x,
|
|
120
120
|
ge
|
|
121
|
-
) :
|
|
121
|
+
) : P(
|
|
122
122
|
/*$$scope*/
|
|
123
|
-
|
|
123
|
+
s[13]
|
|
124
124
|
),
|
|
125
|
-
|
|
126
|
-
), (!d ||
|
|
125
|
+
Z
|
|
126
|
+
), (!d || x & /*isloading*/
|
|
127
127
|
16) && H(
|
|
128
128
|
g,
|
|
129
129
|
"hidden",
|
|
130
130
|
/*isloading*/
|
|
131
|
-
|
|
132
|
-
), (!d ||
|
|
131
|
+
s[4] === "true"
|
|
132
|
+
), (!d || x & /*modaltype*/
|
|
133
133
|
8) && H(
|
|
134
134
|
t,
|
|
135
135
|
"video-mode",
|
|
136
136
|
/*modaltype*/
|
|
137
|
-
|
|
138
|
-
), (!d ||
|
|
137
|
+
s[3] === "video"
|
|
138
|
+
), (!d || x & /*modaltype*/
|
|
139
139
|
8) && H(
|
|
140
140
|
t,
|
|
141
141
|
"twofa-mode",
|
|
142
142
|
/*modaltype*/
|
|
143
|
-
|
|
143
|
+
s[3] === "2fa"
|
|
144
144
|
);
|
|
145
145
|
},
|
|
146
|
-
i(
|
|
147
|
-
d || (I(p,
|
|
146
|
+
i(s) {
|
|
147
|
+
d || (I(p, s), I(w, s), d = !0);
|
|
148
148
|
},
|
|
149
|
-
o(
|
|
150
|
-
|
|
149
|
+
o(s) {
|
|
150
|
+
j(p, s), j(w, s), d = !1;
|
|
151
151
|
},
|
|
152
|
-
d(
|
|
153
|
-
|
|
152
|
+
d(s) {
|
|
153
|
+
s && B(e), r && r.d(), p && p.d(s), c && c.d(), w && w.d(s), i[15](null), i[16](null), i[17](null), y(), l = !1, S();
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function J(i) {
|
|
158
158
|
let e;
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
@@ -164,11 +164,11 @@ function K(i) {
|
|
|
164
164
|
F(t, e, o);
|
|
165
165
|
},
|
|
166
166
|
d(t) {
|
|
167
|
-
t &&
|
|
167
|
+
t && B(e);
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function K(i) {
|
|
172
172
|
let e;
|
|
173
173
|
return {
|
|
174
174
|
c() {
|
|
@@ -178,14 +178,14 @@ function N(i) {
|
|
|
178
178
|
F(t, e, o);
|
|
179
179
|
},
|
|
180
180
|
d(t) {
|
|
181
|
-
t &&
|
|
181
|
+
t && B(e);
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
function we(i) {
|
|
186
186
|
let e, t, o = (
|
|
187
187
|
/*show*/
|
|
188
|
-
i[2] === "true" &&
|
|
188
|
+
i[2] === "true" && G(i)
|
|
189
189
|
);
|
|
190
190
|
return {
|
|
191
191
|
c() {
|
|
@@ -197,45 +197,45 @@ function we(i) {
|
|
|
197
197
|
p(a, [f]) {
|
|
198
198
|
/*show*/
|
|
199
199
|
a[2] === "true" ? o ? (o.p(a, f), f & /*show*/
|
|
200
|
-
4 && I(o, 1)) : (o =
|
|
200
|
+
4 && I(o, 1)) : (o = G(a), o.c(), I(o, 1), o.m(e, null)) : o && (oe(), j(o, 1, 1, () => {
|
|
201
201
|
o = null;
|
|
202
|
-
}),
|
|
202
|
+
}), se());
|
|
203
203
|
},
|
|
204
204
|
i(a) {
|
|
205
205
|
t || (I(o), t = !0);
|
|
206
206
|
},
|
|
207
207
|
o(a) {
|
|
208
|
-
|
|
208
|
+
j(o), t = !1;
|
|
209
209
|
},
|
|
210
210
|
d(a) {
|
|
211
|
-
a &&
|
|
211
|
+
a && B(e), o && o.d(), i[19](null);
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
215
|
function ye(i, e, t) {
|
|
216
|
-
let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl:
|
|
216
|
+
let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl: v } = e, { show: h } = e, { modaltype: u = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: M } = e, g, y, d, l, S = !1, r, z;
|
|
217
217
|
const p = () => {
|
|
218
|
-
r && clearTimeout(r), g && (g.classList.add("closing"), r = setTimeout(
|
|
218
|
+
r && clearTimeout(r), g && (g.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), r = setTimeout(
|
|
219
219
|
() => {
|
|
220
220
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
221
221
|
},
|
|
222
222
|
200
|
|
223
223
|
));
|
|
224
224
|
}, c = () => D(this, null, function* () {
|
|
225
|
-
if (!
|
|
225
|
+
if (!l || !d || S)
|
|
226
226
|
return;
|
|
227
227
|
z && clearTimeout(r), S = !0;
|
|
228
|
-
const n =
|
|
229
|
-
t(8,
|
|
228
|
+
const n = l.offsetWidth, Q = l.offsetHeight;
|
|
229
|
+
t(8, l.style.width = `${n}px`, l), t(8, l.style.height = `${Q}px`, l), l.offsetHeight, yield Y();
|
|
230
230
|
const V = d.scrollHeight, $ = d.scrollWidth;
|
|
231
|
-
t(8,
|
|
231
|
+
t(8, l.style.width = `${$}px`, l), t(8, l.style.height = `${V}px`, l), z = setTimeout(
|
|
232
232
|
() => {
|
|
233
|
-
|
|
233
|
+
l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), S = !1;
|
|
234
234
|
},
|
|
235
235
|
300
|
|
236
236
|
);
|
|
237
237
|
});
|
|
238
|
-
|
|
238
|
+
le(() => {
|
|
239
239
|
if (Y().then(() => {
|
|
240
240
|
c();
|
|
241
241
|
}), d) {
|
|
@@ -251,37 +251,37 @@ function ye(i, e, t) {
|
|
|
251
251
|
};
|
|
252
252
|
});
|
|
253
253
|
function W(n) {
|
|
254
|
-
|
|
254
|
+
E[n ? "unshift" : "push"](() => {
|
|
255
255
|
d = n, t(7, d);
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
258
|
function w(n) {
|
|
259
|
-
|
|
260
|
-
|
|
259
|
+
E[n ? "unshift" : "push"](() => {
|
|
260
|
+
l = n, t(8, l);
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
|
|
263
|
+
function s(n) {
|
|
264
|
+
E[n ? "unshift" : "push"](() => {
|
|
265
265
|
g = n, t(6, g);
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function x() {
|
|
269
269
|
T = this.clientWidth, M = this.clientHeight, t(0, T), t(1, M);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
|
|
271
|
+
function N(n) {
|
|
272
|
+
E[n ? "unshift" : "push"](() => {
|
|
273
273
|
y = n, t(5, y);
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
return i.$$set = (n) => {
|
|
277
|
-
"mbsource" in n && t(10, f = n.mbsource), "clientstyling" in n && t(11, b = n.clientstyling), "clientstylingurl" in n && t(12,
|
|
277
|
+
"mbsource" in n && t(10, f = n.mbsource), "clientstyling" in n && t(11, b = n.clientstyling), "clientstylingurl" in n && t(12, v = n.clientstylingurl), "show" in n && t(2, h = n.show), "modaltype" in n && t(3, u = n.modaltype), "isloading" in n && t(4, L = n.isloading), "width" in n && t(0, T = n.width), "height" in n && t(1, M = n.height), "$$scope" in n && t(13, a = n.$$scope);
|
|
278
278
|
}, i.$$.update = () => {
|
|
279
279
|
i.$$.dirty & /*isloading*/
|
|
280
280
|
16 && L && Y().then(() => {
|
|
281
281
|
c();
|
|
282
282
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
283
283
|
2080 && b && y && ce(y, b), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
284
|
-
4128 &&
|
|
284
|
+
4128 && v && y && fe(y, v), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
285
285
|
1056 && f && y && he(y, `${f}.Style`);
|
|
286
286
|
}, [
|
|
287
287
|
T,
|
|
@@ -292,18 +292,18 @@ function ye(i, e, t) {
|
|
|
292
292
|
y,
|
|
293
293
|
g,
|
|
294
294
|
d,
|
|
295
|
-
|
|
295
|
+
l,
|
|
296
296
|
p,
|
|
297
297
|
f,
|
|
298
298
|
b,
|
|
299
|
-
|
|
299
|
+
v,
|
|
300
300
|
a,
|
|
301
301
|
o,
|
|
302
302
|
W,
|
|
303
303
|
w,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
s,
|
|
305
|
+
x,
|
|
306
|
+
N
|
|
307
307
|
];
|
|
308
308
|
}
|
|
309
309
|
class _e extends ee {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-DKhPJU6b.js";
|
|
2
2
|
function H(n) {
|
|
3
3
|
k(n, "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
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-Dl-eMerS.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-VzauuRzd.js";
|
|
2
2
|
function H(n) {
|
|
3
3
|
k(n, "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
|
}
|