@everymatrix/cashier-page 1.85.20 → 1.85.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CashierCarousel-Cf2c1vPp.js → CashierCarousel-BNKjZ4dF.js} +427 -441
- package/components/{CashierCarousel-DHmjrgBC.cjs → CashierCarousel-CecQbbdW.cjs} +6 -6
- package/components/{CashierCarousel-CsnmOP94.js → CashierCarousel-D8MiOwuE.js} +434 -448
- package/components/{CashierError-BDmChuIE.js → CashierError-BwZRYX5r.js} +1 -1
- package/components/{CashierError-CLWqWwfU.cjs → CashierError-DFQyDQHn.cjs} +1 -1
- package/components/{CashierError-BIiEXbdF.js → CashierError-kVdNczE9.js} +1 -1
- package/components/CashierHeader-B3b8zbwP.cjs +1 -0
- package/components/{CashierHeader-Dd5b4-yJ.js → CashierHeader-B9Y-DaUB.js} +40 -47
- package/components/{CashierHeader-Cecv5g56.js → CashierHeader-CzpZDjFX.js} +40 -47
- package/components/{CashierIframeRedirect-DMYVav-v.js → CashierIframeRedirect-B_A79AFN.js} +31 -40
- package/components/CashierIframeRedirect-YYamzRsf.cjs +1 -0
- package/components/{CashierIframeRedirect-reE-yTgQ.js → CashierIframeRedirect-aTaiu0hG.js} +31 -40
- package/components/{CashierMethodDetails-CmGkz8Gs.js → CashierMethodDetails--Ebwn4lg.js} +266 -278
- package/components/{CashierMethodDetails-a7w2Fpuk.cjs → CashierMethodDetails-D3OcsUSC.cjs} +4 -4
- package/components/{CashierMethodDetails-BUp0OXBg.js → CashierMethodDetails-E1XQT_gz.js} +320 -332
- package/components/CashierMethodsList-BCfPOiPQ.cjs +1 -0
- package/components/{CashierMethodsList-8-1C80wc.js → CashierMethodsList-ByGJLq8_.js} +168 -184
- package/components/{CashierMethodsList-CtDIeDD9.js → CashierMethodsList-D5p1ksRs.js} +133 -149
- package/components/CashierModal-BE9c03E8.js +366 -0
- package/components/CashierModal-Diij1t-w.cjs +1 -0
- package/components/CashierModal-R6fQk7sI.js +382 -0
- package/components/{CashierNotifications-BVUb_REU.js → CashierNotifications-5EjGguMj.js} +1 -1
- package/components/{CashierNotifications-DdrhkPqp.cjs → CashierNotifications-kuNLTOB3.cjs} +1 -1
- package/components/{CashierNotifications-COlT367w.js → CashierNotifications-mhDeZtGd.js} +1 -1
- package/components/CashierPage-BOXcdzek.js +3958 -0
- package/components/{CashierPage-BSaar2I5.js → CashierPage-DSBg3R7m.js} +1204 -1095
- package/components/CashierPage-DSwyNlUe.cjs +1 -0
- package/components/{CashierReceiptPage-C_ThGHj9.js → CashierReceiptPage-DLHbUzv0.js} +576 -727
- package/components/CashierReceiptPage-DW63yTeU.cjs +28 -0
- package/components/{CashierReceiptPage-Sbqf6VFD.js → CashierReceiptPage-DWJG1k-S.js} +593 -744
- package/components/CashierSessionExpirationModal-CeesVv0R.js +1181 -0
- package/components/CashierSessionExpirationModal-Di0jBCa7.cjs +2 -0
- package/components/CashierSessionExpirationModal-Dk8_yCxM.js +1181 -0
- package/components/{CashierSpinner-BQWOaYce.js → CashierSpinner-CYSebSGZ.js} +1 -1
- package/components/{CashierSpinner-DZSuVNPM.js → CashierSpinner-DIyI0RD1.js} +1 -1
- package/components/{CashierSpinner-D5McPkCt.cjs → CashierSpinner-DVLxgI0s.cjs} +1 -1
- package/components/{CashierStepUp-sBUhsV5t.js → CashierStepUp-BA2IK4WI.js} +1 -1
- package/components/{CashierStepUp-DyfuU9cc.js → CashierStepUp-CSkfphtu.js} +1 -1
- package/components/{CashierStepUp-DWd3cylJ.cjs → CashierStepUp-pkLhK-RI.cjs} +1 -1
- package/components/{CashierTransactionHistory-B9Jw119p.js → CashierTransactionHistory-DAieZJ7I.js} +5 -5
- package/components/{CashierTransactionHistory-C_hM5qDU.js → CashierTransactionHistory-DZS6p6Wq.js} +43 -43
- package/components/{CashierTransactionHistory-C6HNHDcy.cjs → CashierTransactionHistory-dL_Zbx6y.cjs} +1 -1
- package/components/{CashierVerifications-B-GmoVz-.js → CashierVerifications-63wvOw6D.js} +112 -131
- package/components/{CashierVerifications-D3ppfphF.js → CashierVerifications-B6QC6J6G.js} +109 -128
- package/components/CashierVerifications-BhbImoKx.cjs +1 -0
- package/components/{TxnStatusIcon-ty2g5_He.js → TxnStatusIcon-CpJJHtXq.js} +1 -1
- package/components/{TxnStatusIcon-BhtPQm1B.cjs → TxnStatusIcon-DuWdYaRx.cjs} +1 -1
- package/components/{TxnStatusIcon-DMKCkAXd.js → TxnStatusIcon-Krgh5oF3.js} +1 -1
- package/components/{TxnTypeIcons-B5CYl9NW.js → TxnTypeIcons-Az6Gbxxw.js} +1 -1
- package/components/{TxnTypeIcons-D_bSXM7r.js → TxnTypeIcons-Bvy6NVGO.js} +1 -1
- package/components/{TxnTypeIcons-CyHXLkXz.cjs → TxnTypeIcons-iU9VGsWs.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/CashierHeader-CP7RROYr.cjs +0 -1
- package/components/CashierIframeRedirect-BXrhvi-f.cjs +0 -1
- package/components/CashierMethodsList-C97If7sq.cjs +0 -1
- package/components/CashierModal-C-jze_SD.js +0 -342
- package/components/CashierModal-DVeVHCTj.cjs +0 -1
- package/components/CashierModal-Dclaqxyx.js +0 -358
- package/components/CashierPage-B0EP4g6U.cjs +0 -1
- package/components/CashierPage-Iwp2vIzz.js +0 -3849
- package/components/CashierReceiptPage-DKQ1TT5R.cjs +0 -26
- package/components/CashierSessionExpirationModal-BfNtR7tc.cjs +0 -2
- package/components/CashierSessionExpirationModal-BhIHw0Dn.js +0 -1184
- package/components/CashierSessionExpirationModal-Se0WGHHJ.js +0 -1184
- package/components/CashierVerifications-P5L5SY5e.cjs +0 -1
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
var D = (i, e, t) => new Promise((o, a) => {
|
|
2
|
+
var f = (h) => {
|
|
3
|
+
try {
|
|
4
|
+
x(t.next(h));
|
|
5
|
+
} catch (u) {
|
|
6
|
+
a(u);
|
|
7
|
+
}
|
|
8
|
+
}, b = (h) => {
|
|
9
|
+
try {
|
|
10
|
+
x(t.throw(h));
|
|
11
|
+
} catch (u) {
|
|
12
|
+
a(u);
|
|
13
|
+
}
|
|
14
|
+
}, x = (h) => h.done ? o(h.value) : Promise.resolve(h.value).then(f, b);
|
|
15
|
+
x((t = t.apply(i, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { S as ee, b as te, s as ie, f as k, c as ne, e as E, t as B, g as I, a6 as oe, a7 as le, k as F, m as C, q as se, R as Y, d as R, u as q, h as U, j as X, W as H, l as _, a8 as ae, x as re, n as O, X as Z, o as m, L as de, y as j, B as ce, C as fe, D as he, E as ue } from "./CashierCarousel-D8MiOwuE.js";
|
|
18
|
+
function me(i) {
|
|
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
|
+
}
|
|
21
|
+
const ge = (i) => ({}), A = (i) => ({}), pe = (i) => ({}), G = (i) => ({});
|
|
22
|
+
function J(i) {
|
|
23
|
+
let e, t, o, a, f, b, x, h, u, L, T, M, g, y, d, s, S, r = (
|
|
24
|
+
/*modaltype*/
|
|
25
|
+
(i[3] == "error" || /*modaltype*/
|
|
26
|
+
i[3] == "bonusDescription") && K()
|
|
27
|
+
);
|
|
28
|
+
const z = (
|
|
29
|
+
/*#slots*/
|
|
30
|
+
i[14].title
|
|
31
|
+
), p = R(
|
|
32
|
+
z,
|
|
33
|
+
i,
|
|
34
|
+
/*$$scope*/
|
|
35
|
+
i[13],
|
|
36
|
+
G
|
|
37
|
+
);
|
|
38
|
+
let c = (
|
|
39
|
+
/*isloading*/
|
|
40
|
+
i[4] === "true" && N()
|
|
41
|
+
);
|
|
42
|
+
const W = (
|
|
43
|
+
/*#slots*/
|
|
44
|
+
i[14].content
|
|
45
|
+
), w = R(
|
|
46
|
+
W,
|
|
47
|
+
i,
|
|
48
|
+
/*$$scope*/
|
|
49
|
+
i[13],
|
|
50
|
+
A
|
|
51
|
+
);
|
|
52
|
+
return {
|
|
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(), x = O(), h = C("div"), u = Z("svg"), L = Z("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
|
+
g,
|
|
56
|
+
"hidden",
|
|
57
|
+
/*isloading*/
|
|
58
|
+
i[4] === "true"
|
|
59
|
+
), m(t, "class", "ModalContainer"), H(
|
|
60
|
+
t,
|
|
61
|
+
"video-mode",
|
|
62
|
+
/*modaltype*/
|
|
63
|
+
i[3] === "video"
|
|
64
|
+
), H(
|
|
65
|
+
t,
|
|
66
|
+
"twofa-mode",
|
|
67
|
+
/*modaltype*/
|
|
68
|
+
i[3] === "2fa"
|
|
69
|
+
), m(e, "id", "Modal"), de(() => (
|
|
70
|
+
/*div6_elementresize_handler*/
|
|
71
|
+
i[18].call(e)
|
|
72
|
+
));
|
|
73
|
+
},
|
|
74
|
+
m(l, v) {
|
|
75
|
+
F(l, e, v), _(e, t), _(t, o), _(o, a), r && r.m(a, null), _(a, f), _(a, b), p && p.m(b, null), _(o, x), _(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
|
+
e,
|
|
77
|
+
/*div6_elementresize_handler*/
|
|
78
|
+
i[18].bind(e)
|
|
79
|
+
), d = !0, s || (S = re(
|
|
80
|
+
u,
|
|
81
|
+
"click",
|
|
82
|
+
/*closeModal*/
|
|
83
|
+
i[9]
|
|
84
|
+
), s = !0);
|
|
85
|
+
},
|
|
86
|
+
p(l, v) {
|
|
87
|
+
/*modaltype*/
|
|
88
|
+
l[3] == "error" || /*modaltype*/
|
|
89
|
+
l[3] == "bonusDescription" ? r || (r = K(), r.c(), r.m(a, f)) : r && (r.d(1), r = null), p && p.p && (!d || v & /*$$scope*/
|
|
90
|
+
8192) && q(
|
|
91
|
+
p,
|
|
92
|
+
z,
|
|
93
|
+
l,
|
|
94
|
+
/*$$scope*/
|
|
95
|
+
l[13],
|
|
96
|
+
d ? X(
|
|
97
|
+
z,
|
|
98
|
+
/*$$scope*/
|
|
99
|
+
l[13],
|
|
100
|
+
v,
|
|
101
|
+
pe
|
|
102
|
+
) : U(
|
|
103
|
+
/*$$scope*/
|
|
104
|
+
l[13]
|
|
105
|
+
),
|
|
106
|
+
G
|
|
107
|
+
), /*isloading*/
|
|
108
|
+
l[4] === "true" ? c || (c = N(), c.c(), c.m(t, M)) : c && (c.d(1), c = null), w && w.p && (!d || v & /*$$scope*/
|
|
109
|
+
8192) && q(
|
|
110
|
+
w,
|
|
111
|
+
W,
|
|
112
|
+
l,
|
|
113
|
+
/*$$scope*/
|
|
114
|
+
l[13],
|
|
115
|
+
d ? X(
|
|
116
|
+
W,
|
|
117
|
+
/*$$scope*/
|
|
118
|
+
l[13],
|
|
119
|
+
v,
|
|
120
|
+
ge
|
|
121
|
+
) : U(
|
|
122
|
+
/*$$scope*/
|
|
123
|
+
l[13]
|
|
124
|
+
),
|
|
125
|
+
A
|
|
126
|
+
), (!d || v & /*isloading*/
|
|
127
|
+
16) && H(
|
|
128
|
+
g,
|
|
129
|
+
"hidden",
|
|
130
|
+
/*isloading*/
|
|
131
|
+
l[4] === "true"
|
|
132
|
+
), (!d || v & /*modaltype*/
|
|
133
|
+
8) && H(
|
|
134
|
+
t,
|
|
135
|
+
"video-mode",
|
|
136
|
+
/*modaltype*/
|
|
137
|
+
l[3] === "video"
|
|
138
|
+
), (!d || v & /*modaltype*/
|
|
139
|
+
8) && H(
|
|
140
|
+
t,
|
|
141
|
+
"twofa-mode",
|
|
142
|
+
/*modaltype*/
|
|
143
|
+
l[3] === "2fa"
|
|
144
|
+
);
|
|
145
|
+
},
|
|
146
|
+
i(l) {
|
|
147
|
+
d || (I(p, l), I(w, l), d = !0);
|
|
148
|
+
},
|
|
149
|
+
o(l) {
|
|
150
|
+
B(p, l), B(w, l), d = !1;
|
|
151
|
+
},
|
|
152
|
+
d(l) {
|
|
153
|
+
l && E(e), r && r.d(), p && p.d(l), c && c.d(), w && w.d(l), i[15](null), i[16](null), i[17](null), y(), s = !1, S();
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
function K(i) {
|
|
158
|
+
let e;
|
|
159
|
+
return {
|
|
160
|
+
c() {
|
|
161
|
+
e = C("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
|
+
},
|
|
163
|
+
m(t, o) {
|
|
164
|
+
F(t, e, o);
|
|
165
|
+
},
|
|
166
|
+
d(t) {
|
|
167
|
+
t && E(e);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
function N(i) {
|
|
172
|
+
let e;
|
|
173
|
+
return {
|
|
174
|
+
c() {
|
|
175
|
+
e = C("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
|
|
176
|
+
},
|
|
177
|
+
m(t, o) {
|
|
178
|
+
F(t, e, o);
|
|
179
|
+
},
|
|
180
|
+
d(t) {
|
|
181
|
+
t && E(e);
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function we(i) {
|
|
186
|
+
let e, t, o = (
|
|
187
|
+
/*show*/
|
|
188
|
+
i[2] === "true" && J(i)
|
|
189
|
+
);
|
|
190
|
+
return {
|
|
191
|
+
c() {
|
|
192
|
+
e = C("div"), o && o.c();
|
|
193
|
+
},
|
|
194
|
+
m(a, f) {
|
|
195
|
+
F(a, e, f), o && o.m(e, null), i[19](e), t = !0;
|
|
196
|
+
},
|
|
197
|
+
p(a, [f]) {
|
|
198
|
+
/*show*/
|
|
199
|
+
a[2] === "true" ? o ? (o.p(a, f), f & /*show*/
|
|
200
|
+
4 && I(o, 1)) : (o = J(a), o.c(), I(o, 1), o.m(e, null)) : o && (oe(), B(o, 1, 1, () => {
|
|
201
|
+
o = null;
|
|
202
|
+
}), le());
|
|
203
|
+
},
|
|
204
|
+
i(a) {
|
|
205
|
+
t || (I(o), t = !0);
|
|
206
|
+
},
|
|
207
|
+
o(a) {
|
|
208
|
+
B(o), t = !1;
|
|
209
|
+
},
|
|
210
|
+
d(a) {
|
|
211
|
+
a && E(e), o && o.d(), i[19](null);
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
function ye(i, e, t) {
|
|
216
|
+
let { $$slots: o = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: b } = e, { clientstylingurl: x } = e, { show: h } = e, { modaltype: u = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: M } = e, g, y, d, s, S = !1, r, z;
|
|
217
|
+
const p = () => {
|
|
218
|
+
r && clearTimeout(r), g && (g.classList.add("closing"), r = setTimeout(
|
|
219
|
+
() => {
|
|
220
|
+
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
221
|
+
},
|
|
222
|
+
200
|
|
223
|
+
));
|
|
224
|
+
}, c = () => D(this, null, function* () {
|
|
225
|
+
if (!s || !d || S)
|
|
226
|
+
return;
|
|
227
|
+
z && clearTimeout(r), S = !0;
|
|
228
|
+
const n = s.offsetWidth, Q = s.offsetHeight;
|
|
229
|
+
t(8, s.style.width = `${n}px`, s), t(8, s.style.height = `${Q}px`, s), s.offsetHeight, yield Y();
|
|
230
|
+
const V = d.scrollHeight, $ = d.scrollWidth;
|
|
231
|
+
t(8, s.style.width = `${$}px`, s), t(8, s.style.height = `${V}px`, s), z = setTimeout(
|
|
232
|
+
() => {
|
|
233
|
+
s && (t(8, s.style.width = "auto", s), t(8, s.style.height = "auto", s)), S = !1;
|
|
234
|
+
},
|
|
235
|
+
300
|
|
236
|
+
);
|
|
237
|
+
});
|
|
238
|
+
se(() => {
|
|
239
|
+
if (Y().then(() => {
|
|
240
|
+
c();
|
|
241
|
+
}), d) {
|
|
242
|
+
const n = new ResizeObserver(() => {
|
|
243
|
+
c();
|
|
244
|
+
});
|
|
245
|
+
return n.observe(d), () => {
|
|
246
|
+
n.disconnect();
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
return () => {
|
|
250
|
+
r && clearTimeout(r), z && clearTimeout(r);
|
|
251
|
+
};
|
|
252
|
+
});
|
|
253
|
+
function W(n) {
|
|
254
|
+
j[n ? "unshift" : "push"](() => {
|
|
255
|
+
d = n, t(7, d);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
function w(n) {
|
|
259
|
+
j[n ? "unshift" : "push"](() => {
|
|
260
|
+
s = n, t(8, s);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
function l(n) {
|
|
264
|
+
j[n ? "unshift" : "push"](() => {
|
|
265
|
+
g = n, t(6, g);
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
function v() {
|
|
269
|
+
T = this.clientWidth, M = this.clientHeight, t(0, T), t(1, M);
|
|
270
|
+
}
|
|
271
|
+
function P(n) {
|
|
272
|
+
j[n ? "unshift" : "push"](() => {
|
|
273
|
+
y = n, t(5, y);
|
|
274
|
+
});
|
|
275
|
+
}
|
|
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, x = 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
|
+
}, i.$$.update = () => {
|
|
279
|
+
i.$$.dirty & /*isloading*/
|
|
280
|
+
16 && L && Y().then(() => {
|
|
281
|
+
c();
|
|
282
|
+
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
283
|
+
2080 && b && y && ce(y, b), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
284
|
+
4128 && x && y && fe(y, x), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
285
|
+
1056 && f && y && he(y, `${f}.Style`);
|
|
286
|
+
}, [
|
|
287
|
+
T,
|
|
288
|
+
M,
|
|
289
|
+
h,
|
|
290
|
+
u,
|
|
291
|
+
L,
|
|
292
|
+
y,
|
|
293
|
+
g,
|
|
294
|
+
d,
|
|
295
|
+
s,
|
|
296
|
+
p,
|
|
297
|
+
f,
|
|
298
|
+
b,
|
|
299
|
+
x,
|
|
300
|
+
a,
|
|
301
|
+
o,
|
|
302
|
+
W,
|
|
303
|
+
w,
|
|
304
|
+
l,
|
|
305
|
+
v,
|
|
306
|
+
P
|
|
307
|
+
];
|
|
308
|
+
}
|
|
309
|
+
class _e extends ee {
|
|
310
|
+
constructor(e) {
|
|
311
|
+
super(), te(
|
|
312
|
+
this,
|
|
313
|
+
e,
|
|
314
|
+
ye,
|
|
315
|
+
we,
|
|
316
|
+
ie,
|
|
317
|
+
{
|
|
318
|
+
mbsource: 10,
|
|
319
|
+
clientstyling: 11,
|
|
320
|
+
clientstylingurl: 12,
|
|
321
|
+
show: 2,
|
|
322
|
+
modaltype: 3,
|
|
323
|
+
isloading: 4,
|
|
324
|
+
width: 0,
|
|
325
|
+
height: 1
|
|
326
|
+
},
|
|
327
|
+
me
|
|
328
|
+
);
|
|
329
|
+
}
|
|
330
|
+
get mbsource() {
|
|
331
|
+
return this.$$.ctx[10];
|
|
332
|
+
}
|
|
333
|
+
set mbsource(e) {
|
|
334
|
+
this.$$set({ mbsource: e }), k();
|
|
335
|
+
}
|
|
336
|
+
get clientstyling() {
|
|
337
|
+
return this.$$.ctx[11];
|
|
338
|
+
}
|
|
339
|
+
set clientstyling(e) {
|
|
340
|
+
this.$$set({ clientstyling: e }), k();
|
|
341
|
+
}
|
|
342
|
+
get clientstylingurl() {
|
|
343
|
+
return this.$$.ctx[12];
|
|
344
|
+
}
|
|
345
|
+
set clientstylingurl(e) {
|
|
346
|
+
this.$$set({ clientstylingurl: e }), k();
|
|
347
|
+
}
|
|
348
|
+
get show() {
|
|
349
|
+
return this.$$.ctx[2];
|
|
350
|
+
}
|
|
351
|
+
set show(e) {
|
|
352
|
+
this.$$set({ show: e }), k();
|
|
353
|
+
}
|
|
354
|
+
get modaltype() {
|
|
355
|
+
return this.$$.ctx[3];
|
|
356
|
+
}
|
|
357
|
+
set modaltype(e) {
|
|
358
|
+
this.$$set({ modaltype: e }), k();
|
|
359
|
+
}
|
|
360
|
+
get isloading() {
|
|
361
|
+
return this.$$.ctx[4];
|
|
362
|
+
}
|
|
363
|
+
set isloading(e) {
|
|
364
|
+
this.$$set({ isloading: e }), k();
|
|
365
|
+
}
|
|
366
|
+
get width() {
|
|
367
|
+
return this.$$.ctx[0];
|
|
368
|
+
}
|
|
369
|
+
set width(e) {
|
|
370
|
+
this.$$set({ width: e }), k();
|
|
371
|
+
}
|
|
372
|
+
get height() {
|
|
373
|
+
return this.$$.ctx[1];
|
|
374
|
+
}
|
|
375
|
+
set height(e) {
|
|
376
|
+
this.$$set({ height: e }), k();
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
ue(_e, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
380
|
+
export {
|
|
381
|
+
_e as default
|
|
382
|
+
};
|
|
@@ -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-D8MiOwuE.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-CecQbbdW.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-BNKjZ4dF.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
|
}
|