@everymatrix/cashier-page 1.85.17 → 1.85.18
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-D9RhCULN.js → CashierCarousel-Cf2c1vPp.js} +1938 -1376
- package/components/{CashierCarousel-C-jIotRi.js → CashierCarousel-CsnmOP94.js} +1961 -1398
- package/components/CashierCarousel-DHmjrgBC.cjs +23 -0
- package/components/CashierError-BDmChuIE.js +438 -0
- package/components/CashierError-BIiEXbdF.js +438 -0
- package/components/CashierError-CLWqWwfU.cjs +1 -0
- package/components/CashierHeader-CP7RROYr.cjs +1 -0
- package/components/{CashierHeader-CK_NVBvX.js → CashierHeader-Cecv5g56.js} +51 -51
- package/components/{CashierHeader-Z4vR_fbH.js → CashierHeader-Dd5b4-yJ.js} +47 -47
- package/components/CashierIframeRedirect-BXrhvi-f.cjs +1 -0
- package/components/{CashierIframeRedirect-Cae_sEXq.js → CashierIframeRedirect-DMYVav-v.js} +51 -51
- package/components/{CashierIframeRedirect-Cs3dAZqE.js → CashierIframeRedirect-reE-yTgQ.js} +45 -45
- package/components/CashierMethodDetails-DMWm-2jm.js +9918 -0
- package/components/CashierMethodDetails-Dqye22rm.cjs +85 -0
- package/components/CashierMethodDetails-wpPiw7iF.js +9878 -0
- package/components/CashierMethodsList-3cUFLT6G.js +825 -0
- package/components/CashierMethodsList-Cu_kh22f.cjs +1 -0
- package/components/CashierMethodsList-DLD2m0bS.js +810 -0
- package/components/CashierModal-C-jze_SD.js +342 -0
- package/components/CashierModal-DVeVHCTj.cjs +1 -0
- package/components/CashierModal-Dclaqxyx.js +358 -0
- package/components/{CashierNotifications-64xrf21d.js → CashierNotifications-BVUb_REU.js} +13 -13
- package/components/{CashierNotifications-Cot8tKyV.js → CashierNotifications-COlT367w.js} +13 -13
- package/components/{CashierNotifications-o1UTpxCw.cjs → CashierNotifications-DdrhkPqp.cjs} +1 -1
- package/components/CashierPage-BZrMKgWP.js +3848 -0
- package/components/CashierPage-CNxxSYGB.cjs +1 -0
- package/components/CashierPage-DXq4FlWN.js +3822 -0
- package/components/{CashierReceiptPage-ctSAsYol.js → CashierReceiptPage-BDZFgJSl.js} +894 -744
- package/components/{CashierReceiptPage-xNlmU_u-.js → CashierReceiptPage-aqMEl6Er.js} +887 -737
- package/components/CashierReceiptPage-fKiQGusu.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DbkIQJ-J.js → CashierSessionExpirationModal-BqgXO3EK.js} +238 -238
- package/components/CashierSessionExpirationModal-UM35srIk.cjs +2 -0
- package/components/{CashierSessionExpirationModal-DJxx7PT2.js → CashierSessionExpirationModal-lONAKt8s.js} +202 -202
- package/components/{CashierSpinner-fUvoz21a.js → CashierSpinner-BQWOaYce.js} +8 -8
- package/components/{CashierSpinner-DOCzNsD8.cjs → CashierSpinner-D5McPkCt.cjs} +1 -1
- package/components/{CashierSpinner-CIpXwm9I.js → CashierSpinner-DZSuVNPM.js} +6 -6
- package/components/CashierStepUp-DWd3cylJ.cjs +1 -0
- package/components/CashierStepUp-DyfuU9cc.js +1109 -0
- package/components/CashierStepUp-sBUhsV5t.js +1070 -0
- package/components/CashierTransactionHistory-DG7eCAHQ.js +1305 -0
- package/components/CashierTransactionHistory-EZ0xgsVJ.js +1305 -0
- package/components/CashierTransactionHistory-MUYg9ooO.cjs +1 -0
- package/components/CashierVerifications-BbUQaFnO.cjs +1 -0
- package/components/{CashierVerifications-DyEtjk9T.js → CashierVerifications-Cz6b5MUe.js} +159 -159
- package/components/{CashierVerifications-OqNAPlvP.js → CashierVerifications-kIOoUzVh.js} +144 -144
- package/components/{TxnStatusIcon-Dx4SpBKR.cjs → TxnStatusIcon-BhtPQm1B.cjs} +1 -1
- package/components/{TxnStatusIcon-C5YEVJGC.js → TxnStatusIcon-DMKCkAXd.js} +1 -1
- package/components/{TxnStatusIcon-Cdbn57Qc.js → TxnStatusIcon-ty2g5_He.js} +1 -1
- package/components/{TxnTypeIcons-DaYTcY0u.js → TxnTypeIcons-B5CYl9NW.js} +1 -1
- package/components/{TxnTypeIcons-D-p9WLvQ.cjs → TxnTypeIcons-CyHXLkXz.cjs} +1 -1
- package/components/{TxnTypeIcons-Dl8aWDV4.js → TxnTypeIcons-D_bSXM7r.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +2 -2
- package/esnext/cashier-page.js +2 -2
- package/package.json +1 -1
- package/stencil/{index-b2193545-CEVSYa3a.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
- package/stencil/{ui-skeleton-CjyC3-3H.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Cb3lsf1V.cjs → ui-skeleton-ed169f8f-BEwquWmd.cjs} +1 -1
- package/components/CashierCarousel-DXPbv83E.cjs +0 -23
- package/components/CashierError-BrNzlEVN.js +0 -478
- package/components/CashierError-C8pJvoqH.cjs +0 -1
- package/components/CashierError-eoaZt-lY.js +0 -478
- package/components/CashierHeader-B3IckLiD.cjs +0 -1
- package/components/CashierIframeRedirect-CdQkuIPa.cjs +0 -1
- package/components/CashierMethodDetails-C-vMOTBK.cjs +0 -85
- package/components/CashierMethodDetails-CHTQD5q8.js +0 -9014
- package/components/CashierMethodDetails-nseWnQWW.js +0 -8995
- package/components/CashierMethodsList-Bk6wZ8bj.js +0 -733
- package/components/CashierMethodsList-CDXei8fp.cjs +0 -1
- package/components/CashierMethodsList-DmYBXQ0H.js +0 -745
- package/components/CashierModal-By3PyyVz.js +0 -268
- package/components/CashierModal-D2cxw8Kv.cjs +0 -1
- package/components/CashierModal-pKGYmx2d.js +0 -268
- package/components/CashierPage-Bvp8N4fC.cjs +0 -1
- package/components/CashierPage-DYIYpRj6.js +0 -2619
- package/components/CashierPage-Ddeo-vHf.js +0 -2619
- package/components/CashierReceiptPage-C0VpFZGT.cjs +0 -26
- package/components/CashierSessionExpirationModal-DgpP9ZIj.cjs +0 -2
- package/components/CashierTransactionHistory-8T01T0tU.js +0 -1305
- package/components/CashierTransactionHistory-CIy5cCml.cjs +0 -1
- package/components/CashierTransactionHistory-Cd8u6Bhf.js +0 -1305
- package/components/CashierVerifications-5x8_YW9j.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as V, i as X, $, S as tt, b as et, s as st, f as w, c as nt, d as y, e as b, t as B, g as
|
|
2
|
-
function
|
|
1
|
+
import { a as V, i as X, $, S as tt, b as et, s as st, f as w, c as nt, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as F, m as p, n as N, o as k, p as it, q as lt, r as q, v as ot, w as at, y as rt, G as U, x as W, B as ct, C as ut, D as ft, E as ht, F as gt } from "./CashierCarousel-CsnmOP94.js";
|
|
2
|
+
function x(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
5
5
|
function dt(s) {
|
|
@@ -7,7 +7,7 @@ function dt(s) {
|
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), $.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const z = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -31,24 +31,24 @@ const x = {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
function _t(s) {
|
|
34
|
-
nt(s, "svelte-
|
|
34
|
+
nt(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
35
35
|
}
|
|
36
36
|
const mt = (s) => ({}), A = (s) => ({}), wt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
37
|
function E(s) {
|
|
38
38
|
let t, e, l;
|
|
39
39
|
return {
|
|
40
40
|
c() {
|
|
41
|
-
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
|
|
41
|
+
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
42
|
},
|
|
43
|
-
m(n,
|
|
44
|
-
C(n, t,
|
|
43
|
+
m(n, f) {
|
|
44
|
+
C(n, t, f), e || (l = W(
|
|
45
45
|
t,
|
|
46
46
|
"click",
|
|
47
47
|
/*back*/
|
|
48
48
|
s[6]
|
|
49
49
|
), e = !0);
|
|
50
50
|
},
|
|
51
|
-
p:
|
|
51
|
+
p: U,
|
|
52
52
|
d(n) {
|
|
53
53
|
n && b(t), e = !1, l();
|
|
54
54
|
}
|
|
@@ -87,11 +87,11 @@ function pt(s) {
|
|
|
87
87
|
c() {
|
|
88
88
|
t = p("span"), l = at(e), k(t, "class", "CashierHeaderTitle");
|
|
89
89
|
},
|
|
90
|
-
m(n,
|
|
91
|
-
C(n, t,
|
|
90
|
+
m(n, f) {
|
|
91
|
+
C(n, t, f), F(t, l);
|
|
92
92
|
},
|
|
93
|
-
p(n,
|
|
94
|
-
|
|
93
|
+
p(n, f) {
|
|
94
|
+
f & /*$_, titleText*/
|
|
95
95
|
20 && e !== (e = /*$_*/
|
|
96
96
|
n[4](
|
|
97
97
|
/*titleText*/
|
|
@@ -107,17 +107,17 @@ function O(s) {
|
|
|
107
107
|
let t, e, l;
|
|
108
108
|
return {
|
|
109
109
|
c() {
|
|
110
|
-
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"
|
|
110
|
+
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
111
111
|
},
|
|
112
|
-
m(n,
|
|
113
|
-
C(n, t,
|
|
112
|
+
m(n, f) {
|
|
113
|
+
C(n, t, f), e || (l = W(
|
|
114
114
|
t,
|
|
115
115
|
"click",
|
|
116
116
|
/*close*/
|
|
117
117
|
s[5]
|
|
118
118
|
), e = !0);
|
|
119
119
|
},
|
|
120
|
-
p:
|
|
120
|
+
p: U,
|
|
121
121
|
d(n) {
|
|
122
122
|
n && b(t), e = !1, l();
|
|
123
123
|
}
|
|
@@ -146,11 +146,11 @@ function kt(s) {
|
|
|
146
146
|
}
|
|
147
147
|
function yt(s) {
|
|
148
148
|
let t, e, l, n;
|
|
149
|
-
const
|
|
149
|
+
const f = (
|
|
150
150
|
/*#slots*/
|
|
151
151
|
s[16].leftButton
|
|
152
152
|
), _ = y(
|
|
153
|
-
|
|
153
|
+
f,
|
|
154
154
|
s,
|
|
155
155
|
/*$$scope*/
|
|
156
156
|
s[15],
|
|
@@ -173,24 +173,24 @@ function yt(s) {
|
|
|
173
173
|
/*$$scope*/
|
|
174
174
|
s[15],
|
|
175
175
|
A
|
|
176
|
-
),
|
|
176
|
+
), u = d || kt(s);
|
|
177
177
|
return {
|
|
178
178
|
c() {
|
|
179
|
-
t = p("div"), r && r.c(), e =
|
|
179
|
+
t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(), u && u.c(), k(t, "class", "CashierHeader");
|
|
180
180
|
},
|
|
181
181
|
m(i, a) {
|
|
182
|
-
C(i, t, a), r && r.m(t, null),
|
|
182
|
+
C(i, t, a), r && r.m(t, null), F(t, e), c && c.m(t, null), F(t, l), u && u.m(t, null), s[17](t), n = !0;
|
|
183
183
|
},
|
|
184
184
|
p(i, [a]) {
|
|
185
185
|
_ ? _.p && (!n || a & /*$$scope*/
|
|
186
|
-
32768) &&
|
|
186
|
+
32768) && L(
|
|
187
187
|
_,
|
|
188
|
-
|
|
188
|
+
f,
|
|
189
189
|
i,
|
|
190
190
|
/*$$scope*/
|
|
191
191
|
i[15],
|
|
192
|
-
n ?
|
|
193
|
-
|
|
192
|
+
n ? S(
|
|
193
|
+
f,
|
|
194
194
|
/*$$scope*/
|
|
195
195
|
i[15],
|
|
196
196
|
a,
|
|
@@ -202,13 +202,13 @@ function yt(s) {
|
|
|
202
202
|
D
|
|
203
203
|
) : r && r.p && (!n || a & /*backButton*/
|
|
204
204
|
2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
|
|
205
|
-
32768) &&
|
|
205
|
+
32768) && L(
|
|
206
206
|
h,
|
|
207
207
|
m,
|
|
208
208
|
i,
|
|
209
209
|
/*$$scope*/
|
|
210
210
|
i[15],
|
|
211
|
-
n ?
|
|
211
|
+
n ? S(
|
|
212
212
|
m,
|
|
213
213
|
/*$$scope*/
|
|
214
214
|
i[15],
|
|
@@ -221,13 +221,13 @@ function yt(s) {
|
|
|
221
221
|
R
|
|
222
222
|
) : c && c.p && (!n || a & /*$_, titleText*/
|
|
223
223
|
20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
|
|
224
|
-
32768) &&
|
|
224
|
+
32768) && L(
|
|
225
225
|
d,
|
|
226
226
|
g,
|
|
227
227
|
i,
|
|
228
228
|
/*$$scope*/
|
|
229
229
|
i[15],
|
|
230
|
-
n ?
|
|
230
|
+
n ? S(
|
|
231
231
|
g,
|
|
232
232
|
/*$$scope*/
|
|
233
233
|
i[15],
|
|
@@ -238,39 +238,39 @@ function yt(s) {
|
|
|
238
238
|
i[15]
|
|
239
239
|
),
|
|
240
240
|
A
|
|
241
|
-
) :
|
|
242
|
-
8) &&
|
|
241
|
+
) : u && u.p && (!n || a & /*closeButton*/
|
|
242
|
+
8) && u.p(i, n ? a : -1);
|
|
243
243
|
},
|
|
244
244
|
i(i) {
|
|
245
|
-
n || (
|
|
245
|
+
n || (v(r, i), v(c, i), v(u, i), n = !0);
|
|
246
246
|
},
|
|
247
247
|
o(i) {
|
|
248
|
-
B(r, i), B(c, i), B(
|
|
248
|
+
B(r, i), B(c, i), B(u, i), n = !1;
|
|
249
249
|
},
|
|
250
250
|
d(i) {
|
|
251
|
-
i && b(t), r && r.d(i), c && c.d(i),
|
|
251
|
+
i && b(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function Bt(s, t, e) {
|
|
256
256
|
let l;
|
|
257
257
|
it(s, gt, (o) => e(4, l = o));
|
|
258
|
-
let { $$slots: n = {}, $$scope:
|
|
259
|
-
const
|
|
258
|
+
let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: u = "" } = t, i, a = !1, M, T = !1;
|
|
259
|
+
const Z = () => {
|
|
260
260
|
fetch(m).then((o) => o.json()).then((o) => {
|
|
261
261
|
Object.keys(o).forEach((j) => {
|
|
262
|
-
|
|
262
|
+
x(j, o[j]);
|
|
263
263
|
});
|
|
264
264
|
}).catch((o) => {
|
|
265
265
|
console.log(o);
|
|
266
266
|
});
|
|
267
267
|
};
|
|
268
|
-
Object.keys(
|
|
269
|
-
|
|
268
|
+
Object.keys(z).forEach((o) => {
|
|
269
|
+
x(o, z[o]);
|
|
270
270
|
});
|
|
271
|
-
const
|
|
271
|
+
const G = () => {
|
|
272
272
|
dt(g);
|
|
273
|
-
},
|
|
273
|
+
}, I = () => {
|
|
274
274
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
275
|
}, P = () => {
|
|
276
276
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
@@ -289,15 +289,15 @@ function Bt(s, t, e) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
return s.$$set = (o) => {
|
|
292
|
-
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14,
|
|
292
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
|
|
293
293
|
}, s.$$.update = () => {
|
|
294
294
|
s.$$.dirty & /*lang*/
|
|
295
|
-
4096 && g &&
|
|
295
|
+
4096 && g && G(), s.$$.dirty & /*lang, title*/
|
|
296
296
|
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
297
|
129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
298
|
-
257 && r && i &&
|
|
299
|
-
16385 &&
|
|
300
|
-
4608 && g && m &&
|
|
298
|
+
257 && r && i && ut(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
299
|
+
16385 && u && i && ft(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
300
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
301
301
|
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
302
302
|
8192 && d && J();
|
|
303
303
|
}, [
|
|
@@ -306,7 +306,7 @@ function Bt(s, t, e) {
|
|
|
306
306
|
M,
|
|
307
307
|
T,
|
|
308
308
|
l,
|
|
309
|
-
|
|
309
|
+
I,
|
|
310
310
|
P,
|
|
311
311
|
_,
|
|
312
312
|
r,
|
|
@@ -315,13 +315,13 @@ function Bt(s, t, e) {
|
|
|
315
315
|
c,
|
|
316
316
|
g,
|
|
317
317
|
d,
|
|
318
|
-
f,
|
|
319
318
|
u,
|
|
319
|
+
f,
|
|
320
320
|
n,
|
|
321
321
|
Q
|
|
322
322
|
];
|
|
323
323
|
}
|
|
324
|
-
class
|
|
324
|
+
class vt extends tt {
|
|
325
325
|
constructor(t) {
|
|
326
326
|
super(), et(
|
|
327
327
|
this,
|
|
@@ -391,7 +391,7 @@ class Lt extends tt {
|
|
|
391
391
|
this.$$set({ mbsource: t }), w();
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
ht(
|
|
394
|
+
ht(vt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
395
|
export {
|
|
396
|
-
|
|
396
|
+
vt as default
|
|
397
397
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as V, i as X, $, S as tt, b as et, f as w, s as st,
|
|
1
|
+
import { a as V, i as X, $, S as tt, b as et, f as w, s as st, E as nt, c as it, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as F, m as p, n as N, o as k, p as lt, q as ot, r as q, v as at, w as rt, y as ct, G as U, x as W, F as ut, B as ft, C as ht, D as gt } from "./CashierCarousel-Cf2c1vPp.js";
|
|
2
2
|
function x(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
@@ -31,24 +31,24 @@ const z = {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
function _t(s) {
|
|
34
|
-
it(s, "svelte-
|
|
34
|
+
it(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
35
35
|
}
|
|
36
36
|
const mt = (s) => ({}), A = (s) => ({}), wt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
37
|
function E(s) {
|
|
38
38
|
let t, e, l;
|
|
39
39
|
return {
|
|
40
40
|
c() {
|
|
41
|
-
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
|
|
41
|
+
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
42
|
},
|
|
43
|
-
m(n,
|
|
44
|
-
C(n, t,
|
|
43
|
+
m(n, f) {
|
|
44
|
+
C(n, t, f), e || (l = W(
|
|
45
45
|
t,
|
|
46
46
|
"click",
|
|
47
47
|
/*back*/
|
|
48
48
|
s[6]
|
|
49
49
|
), e = !0);
|
|
50
50
|
},
|
|
51
|
-
p:
|
|
51
|
+
p: U,
|
|
52
52
|
d(n) {
|
|
53
53
|
n && b(t), e = !1, l();
|
|
54
54
|
}
|
|
@@ -87,11 +87,11 @@ function pt(s) {
|
|
|
87
87
|
c() {
|
|
88
88
|
t = p("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
|
|
89
89
|
},
|
|
90
|
-
m(n,
|
|
91
|
-
C(n, t,
|
|
90
|
+
m(n, f) {
|
|
91
|
+
C(n, t, f), F(t, l);
|
|
92
92
|
},
|
|
93
|
-
p(n,
|
|
94
|
-
|
|
93
|
+
p(n, f) {
|
|
94
|
+
f & /*$_, titleText*/
|
|
95
95
|
20 && e !== (e = /*$_*/
|
|
96
96
|
n[4](
|
|
97
97
|
/*titleText*/
|
|
@@ -107,17 +107,17 @@ function O(s) {
|
|
|
107
107
|
let t, e, l;
|
|
108
108
|
return {
|
|
109
109
|
c() {
|
|
110
|
-
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"
|
|
110
|
+
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
111
111
|
},
|
|
112
|
-
m(n,
|
|
113
|
-
C(n, t,
|
|
112
|
+
m(n, f) {
|
|
113
|
+
C(n, t, f), e || (l = W(
|
|
114
114
|
t,
|
|
115
115
|
"click",
|
|
116
116
|
/*close*/
|
|
117
117
|
s[5]
|
|
118
118
|
), e = !0);
|
|
119
119
|
},
|
|
120
|
-
p:
|
|
120
|
+
p: U,
|
|
121
121
|
d(n) {
|
|
122
122
|
n && b(t), e = !1, l();
|
|
123
123
|
}
|
|
@@ -146,11 +146,11 @@ function kt(s) {
|
|
|
146
146
|
}
|
|
147
147
|
function yt(s) {
|
|
148
148
|
let t, e, l, n;
|
|
149
|
-
const
|
|
149
|
+
const f = (
|
|
150
150
|
/*#slots*/
|
|
151
151
|
s[16].leftButton
|
|
152
152
|
), _ = y(
|
|
153
|
-
|
|
153
|
+
f,
|
|
154
154
|
s,
|
|
155
155
|
/*$$scope*/
|
|
156
156
|
s[15],
|
|
@@ -173,24 +173,24 @@ function yt(s) {
|
|
|
173
173
|
/*$$scope*/
|
|
174
174
|
s[15],
|
|
175
175
|
A
|
|
176
|
-
),
|
|
176
|
+
), u = d || kt(s);
|
|
177
177
|
return {
|
|
178
178
|
c() {
|
|
179
|
-
t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(),
|
|
179
|
+
t = p("div"), r && r.c(), e = N(), c && c.c(), l = N(), u && u.c(), k(t, "class", "CashierHeader");
|
|
180
180
|
},
|
|
181
181
|
m(i, a) {
|
|
182
|
-
C(i, t, a), r && r.m(t, null),
|
|
182
|
+
C(i, t, a), r && r.m(t, null), F(t, e), c && c.m(t, null), F(t, l), u && u.m(t, null), s[17](t), n = !0;
|
|
183
183
|
},
|
|
184
184
|
p(i, [a]) {
|
|
185
185
|
_ ? _.p && (!n || a & /*$$scope*/
|
|
186
|
-
32768) &&
|
|
186
|
+
32768) && L(
|
|
187
187
|
_,
|
|
188
|
-
|
|
188
|
+
f,
|
|
189
189
|
i,
|
|
190
190
|
/*$$scope*/
|
|
191
191
|
i[15],
|
|
192
|
-
n ?
|
|
193
|
-
|
|
192
|
+
n ? S(
|
|
193
|
+
f,
|
|
194
194
|
/*$$scope*/
|
|
195
195
|
i[15],
|
|
196
196
|
a,
|
|
@@ -202,13 +202,13 @@ function yt(s) {
|
|
|
202
202
|
D
|
|
203
203
|
) : r && r.p && (!n || a & /*backButton*/
|
|
204
204
|
2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
|
|
205
|
-
32768) &&
|
|
205
|
+
32768) && L(
|
|
206
206
|
h,
|
|
207
207
|
m,
|
|
208
208
|
i,
|
|
209
209
|
/*$$scope*/
|
|
210
210
|
i[15],
|
|
211
|
-
n ?
|
|
211
|
+
n ? S(
|
|
212
212
|
m,
|
|
213
213
|
/*$$scope*/
|
|
214
214
|
i[15],
|
|
@@ -221,13 +221,13 @@ function yt(s) {
|
|
|
221
221
|
R
|
|
222
222
|
) : c && c.p && (!n || a & /*$_, titleText*/
|
|
223
223
|
20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
|
|
224
|
-
32768) &&
|
|
224
|
+
32768) && L(
|
|
225
225
|
d,
|
|
226
226
|
g,
|
|
227
227
|
i,
|
|
228
228
|
/*$$scope*/
|
|
229
229
|
i[15],
|
|
230
|
-
n ?
|
|
230
|
+
n ? S(
|
|
231
231
|
g,
|
|
232
232
|
/*$$scope*/
|
|
233
233
|
i[15],
|
|
@@ -238,25 +238,25 @@ function yt(s) {
|
|
|
238
238
|
i[15]
|
|
239
239
|
),
|
|
240
240
|
A
|
|
241
|
-
) :
|
|
242
|
-
8) &&
|
|
241
|
+
) : u && u.p && (!n || a & /*closeButton*/
|
|
242
|
+
8) && u.p(i, n ? a : -1);
|
|
243
243
|
},
|
|
244
244
|
i(i) {
|
|
245
|
-
n || (
|
|
245
|
+
n || (v(r, i), v(c, i), v(u, i), n = !0);
|
|
246
246
|
},
|
|
247
247
|
o(i) {
|
|
248
|
-
B(r, i), B(c, i), B(
|
|
248
|
+
B(r, i), B(c, i), B(u, i), n = !1;
|
|
249
249
|
},
|
|
250
250
|
d(i) {
|
|
251
|
-
i && b(t), r && r.d(i), c && c.d(i),
|
|
251
|
+
i && b(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function Bt(s, t, e) {
|
|
256
256
|
let l;
|
|
257
|
-
lt(s,
|
|
258
|
-
let { $$slots: n = {}, $$scope:
|
|
259
|
-
const
|
|
257
|
+
lt(s, ut, (o) => e(4, l = o));
|
|
258
|
+
let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: u = "" } = t, i, a = !1, M, T = !1;
|
|
259
|
+
const Z = () => {
|
|
260
260
|
fetch(m).then((o) => o.json()).then((o) => {
|
|
261
261
|
Object.keys(o).forEach((j) => {
|
|
262
262
|
x(j, o[j]);
|
|
@@ -268,9 +268,9 @@ function Bt(s, t, e) {
|
|
|
268
268
|
Object.keys(z).forEach((o) => {
|
|
269
269
|
x(o, z[o]);
|
|
270
270
|
});
|
|
271
|
-
const
|
|
271
|
+
const G = () => {
|
|
272
272
|
dt(g);
|
|
273
|
-
},
|
|
273
|
+
}, I = () => {
|
|
274
274
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
275
|
}, P = () => {
|
|
276
276
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
@@ -289,15 +289,15 @@ function Bt(s, t, e) {
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
return s.$$set = (o) => {
|
|
292
|
-
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14,
|
|
292
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
|
|
293
293
|
}, s.$$.update = () => {
|
|
294
294
|
s.$$.dirty & /*lang*/
|
|
295
|
-
4096 && g &&
|
|
295
|
+
4096 && g && G(), s.$$.dirty & /*lang, title*/
|
|
296
296
|
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
-
129 && _ && i &&
|
|
297
|
+
129 && _ && i && ft(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
298
298
|
257 && r && i && ht(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
299
|
-
16385 &&
|
|
300
|
-
4608 && g && m &&
|
|
299
|
+
16385 && u && i && gt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
300
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
301
301
|
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
302
302
|
8192 && d && J();
|
|
303
303
|
}, [
|
|
@@ -306,7 +306,7 @@ function Bt(s, t, e) {
|
|
|
306
306
|
M,
|
|
307
307
|
T,
|
|
308
308
|
l,
|
|
309
|
-
|
|
309
|
+
I,
|
|
310
310
|
P,
|
|
311
311
|
_,
|
|
312
312
|
r,
|
|
@@ -315,13 +315,13 @@ function Bt(s, t, e) {
|
|
|
315
315
|
c,
|
|
316
316
|
g,
|
|
317
317
|
d,
|
|
318
|
-
f,
|
|
319
318
|
u,
|
|
319
|
+
f,
|
|
320
320
|
n,
|
|
321
321
|
Q
|
|
322
322
|
];
|
|
323
323
|
}
|
|
324
|
-
class
|
|
324
|
+
class vt extends tt {
|
|
325
325
|
constructor(t) {
|
|
326
326
|
super(), et(
|
|
327
327
|
this,
|
|
@@ -391,7 +391,7 @@ class Lt extends tt {
|
|
|
391
391
|
this.$$set({ mbsource: t }), w();
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
nt(
|
|
394
|
+
nt(vt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
395
|
export {
|
|
396
|
-
|
|
396
|
+
vt as default
|
|
397
397
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DHmjrgBC.cjs");if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-CP7RROYr.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}function y(i,t){e.addMessages(i,t)}function B(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const C={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-D5McPkCt.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function R(i){e.append_styles(i,"svelte-1ex0q4o",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box;width:100%;height:100%}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}function L(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function v(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function q(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),a=(!i[3]||i[3]==="false")&&v(i),u=i[9]&&k(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),u&&u.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,c){e.insert(r,t,c),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),u&&u.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[c]){r[3]&&r[3]!=="false"?o?o.p(r,c):(o=L(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,c):(a=v(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c&1&&e.set_custom_element_data(n,"lang",r[0]),c&4&&e.set_custom_element_data(n,"translationurl",r[2]),c&128&&e.set_custom_element_data(n,"title",r[7]),c&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),c&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),c&32&&e.set_custom_element_data(n,"clientstyling",r[5]),c&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?u?u.p(r,c):(u=k(r),u.c(),u.m(t,m)):u&&(u.d(1),u=null),c&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),u&&u.d(),i[13](null),g=!1,_()}}}function j(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,u=!0;const r=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(C).forEach(l=>{y(l,C[l])});const c=()=>{B(s)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},w=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const M=l=>w(l);function S(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&c(),i.$$.dirty&4&&m&&r(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`)},[s,f,m,d,h,g,_,o,a,u,H,w,M,S]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,j,q,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},R)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(E,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=E;
|