@everymatrix/cashier-page 1.93.77 → 1.93.151
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-BSxG-xai.cjs +1 -0
- package/components/CashierCarousel-CaSLwSQZ.js +711 -0
- package/components/CashierCarousel-hhzygSIh.js +708 -0
- package/components/CashierError-8nBQ12Ro.cjs +1 -0
- package/components/{CashierError-Dl1PsAvl.js → CashierError-CUmyB5lN.js} +15 -14
- package/components/{CashierError-BtMqsFpr.js → CashierError-ChfgU3dy.js} +15 -14
- package/components/CashierHeader-Cxg2Bbwv.cjs +1 -0
- package/components/CashierHeader-CztzLdMZ.js +477 -0
- package/components/CashierHeader-LzICktCn.js +477 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-Cmjb6V8k.js} +79 -94
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-DPrxcEUI.js} +75 -90
- package/components/CashierIframeRedirect-DhxaD3C-.cjs +1 -0
- package/components/CashierMethodDetails-BtSiMmg9.cjs +85 -0
- package/components/{CashierMethodDetails-CoECDT3U.js → CashierMethodDetails-DSPP4Q1p.js} +3236 -3540
- package/components/{CashierMethodDetails-B-zfLkW5.js → CashierMethodDetails-JcREkr2L.js} +3469 -3781
- package/components/{CashierMethodsList-dTReweV9.js → CashierMethodsList-0LyVXgQ0.js} +80 -88
- package/components/{CashierMethodsList-Do9Fh3F4.js → CashierMethodsList-Cw44onHK.js} +89 -97
- package/components/CashierMethodsList-DDdnWCVs.cjs +1 -0
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-BWJqiuUm.js} +35 -34
- package/components/CashierModal-CbW-aJRp.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-Cx16xGm6.js} +53 -52
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-BNacIn3G.js} +27 -27
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CGPpJwPT.js} +29 -29
- package/components/CashierNotifications-COhg-R-t.cjs +1 -0
- package/components/CashierPage-BHPTJcjL.js +10233 -0
- package/components/CashierPage-CYk7P-lY.js +10286 -0
- package/components/CashierPage-DoQEkSE2.cjs +23 -0
- package/components/CashierReceiptPage-DQlDMGoG.cjs +29 -0
- package/components/{CashierReceiptPage-Bjp-HwnC.js → CashierReceiptPage-DnxAMr9D.js} +124 -121
- package/components/{CashierReceiptPage-BLiZ7mNE.js → CashierReceiptPage-IKLG5tQV.js} +84 -81
- package/components/{CashierSessionExpirationModal-CVdrjw0I.js → CashierSessionExpirationModal-BubeLoKh.js} +58 -59
- package/components/{CashierSessionExpirationModal-Do7XOOpQ.js → CashierSessionExpirationModal-C_2xlICF.js} +58 -59
- package/components/CashierSessionExpirationModal-DmrmH2xx.cjs +2 -0
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-B_Ey78yx.js} +15 -14
- package/components/CashierSpinner-BlRqsMug.cjs +1 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CwcwkjeV.js} +19 -18
- package/components/{CashierStepUp-C3MjcoUT.js → CashierStepUp-CSBqoOrt.js} +7 -6
- package/components/CashierStepUp-DVXV10Vd.cjs +1 -0
- package/components/{CashierStepUp-NMJhP_y_.js → CashierStepUp-f4sFTU4l.js} +48 -47
- package/components/{CashierTransactionHistory-BRaDPWFB.js → CashierTransactionHistory-1SskkrpF.js} +53 -54
- package/components/{CashierTransactionHistory-CABio3EJ.js → CashierTransactionHistory-BMYFeuL5.js} +53 -54
- package/components/CashierTransactionHistory-DlID7rkA.cjs +1 -0
- package/components/{CashierVerifications-C8e8v7qQ.js → CashierVerifications-BjpOrTTp.js} +148 -132
- package/components/{CashierVerifications-CszR8nAF.js → CashierVerifications-Dp5nS2oy.js} +155 -139
- package/components/CashierVerifications-truLPmcH.cjs +1 -0
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-BNxmTC8i.js} +12 -12
- package/components/TxnStatusIcon-CNarrbiO.cjs +1 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-DyCxSWXD.js} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-D0Vb7S38.js} +1 -1
- package/components/TxnTypeIcons-DFWcjK5-.cjs +1 -0
- package/components/{TxnTypeIcons-_jm1frsR.js → TxnTypeIcons-Dtk3rc1Y.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B0fVKMjP.js +0 -5871
- package/components/CashierCarousel-BekweMPA.cjs +0 -23
- package/components/CashierCarousel-BtKQtzdv.js +0 -5833
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierHeader-BPxfHV7O.js +0 -418
- package/components/CashierHeader-BfBH2bp5.js +0 -418
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-ClsKYPK5.cjs +0 -85
- package/components/CashierMethodsList-CX1RHQKw.cjs +0 -1
- package/components/CashierModal-D_cTbvqs.cjs +0 -1
- package/components/CashierNotifications-O-t5pi8m.cjs +0 -1
- package/components/CashierPage-CVtPx9LE.js +0 -4787
- package/components/CashierPage-CdNfJQft.cjs +0 -1
- package/components/CashierPage-D00hk2xv.js +0 -4753
- package/components/CashierReceiptPage-CAEjh0Hb.cjs +0 -26
- package/components/CashierSessionExpirationModal-ChfyO8Ae.cjs +0 -2
- package/components/CashierSpinner-BNkBVuft.cjs +0 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierTransactionHistory-BSW2OhH0.cjs +0 -1
- package/components/CashierVerifications-C8Gar_7s.cjs +0 -1
- package/components/TxnStatusIcon-BcQgw6kQ.cjs +0 -1
- package/components/TxnTypeIcons-keA0IcNM.cjs +0 -1
|
@@ -1,29 +1,14 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return function(...t) {
|
|
5
|
-
try {
|
|
6
|
-
return e.apply(this, t);
|
|
7
|
-
} catch (n) {
|
|
8
|
-
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
9
|
-
return !1;
|
|
10
|
-
throw n;
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
customElements.define = i(customElements.define), import("./CashierHeader-BPxfHV7O.js").then(({ default: e }) => {
|
|
15
|
-
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function F(i, e) {
|
|
1
|
+
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as B, p as w, l as v, m as _, A as H, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-BHPTJcjL.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-LzICktCn.js";
|
|
3
|
+
function R(i, e) {
|
|
19
4
|
U(i, e);
|
|
20
5
|
}
|
|
21
6
|
function ee(i) {
|
|
22
7
|
Z({
|
|
23
8
|
fallbackLocale: "en"
|
|
24
|
-
}),
|
|
9
|
+
}), J.set(i);
|
|
25
10
|
}
|
|
26
|
-
const
|
|
11
|
+
const F = {
|
|
27
12
|
en: {
|
|
28
13
|
redirectHeader: "Deposit redirect"
|
|
29
14
|
},
|
|
@@ -48,28 +33,28 @@ if (typeof window < "u") {
|
|
|
48
33
|
return function(...t) {
|
|
49
34
|
try {
|
|
50
35
|
return e.apply(this, t);
|
|
51
|
-
} catch (
|
|
52
|
-
if (
|
|
36
|
+
} catch (s) {
|
|
37
|
+
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"))
|
|
53
38
|
return !1;
|
|
54
|
-
throw
|
|
39
|
+
throw s;
|
|
55
40
|
}
|
|
56
41
|
};
|
|
57
42
|
};
|
|
58
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
43
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-B_Ey78yx.js").then(({ default: e }) => {
|
|
59
44
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
60
45
|
});
|
|
61
46
|
}
|
|
62
47
|
function te(i) {
|
|
63
48
|
Q(i, "svelte-14e65vo", ".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%;background-color:var(--emw--color-background, #F9FAFF)}.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)}.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)}");
|
|
64
49
|
}
|
|
65
|
-
function
|
|
66
|
-
let e, t,
|
|
50
|
+
function I(i) {
|
|
51
|
+
let e, t, s;
|
|
67
52
|
return {
|
|
68
53
|
c() {
|
|
69
54
|
e = p("div"), e.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>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
70
55
|
},
|
|
71
56
|
m(f, d) {
|
|
72
|
-
v(f, e, d), t || (
|
|
57
|
+
v(f, e, d), t || (s = H(
|
|
73
58
|
e,
|
|
74
59
|
"click",
|
|
75
60
|
/*close*/
|
|
@@ -78,18 +63,18 @@ function D(i) {
|
|
|
78
63
|
},
|
|
79
64
|
p: L,
|
|
80
65
|
d(f) {
|
|
81
|
-
f && k(e), t = !1,
|
|
66
|
+
f && k(e), t = !1, s();
|
|
82
67
|
}
|
|
83
68
|
};
|
|
84
69
|
}
|
|
85
|
-
function
|
|
86
|
-
let e, t,
|
|
70
|
+
function j(i) {
|
|
71
|
+
let e, t, s;
|
|
87
72
|
return {
|
|
88
73
|
c() {
|
|
89
74
|
e = p("div"), e.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>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
90
75
|
},
|
|
91
76
|
m(f, d) {
|
|
92
|
-
v(f, e, d), t || (
|
|
77
|
+
v(f, e, d), t || (s = H(
|
|
93
78
|
e,
|
|
94
79
|
"click",
|
|
95
80
|
/*close*/
|
|
@@ -98,11 +83,11 @@ function I(i) {
|
|
|
98
83
|
},
|
|
99
84
|
p: L,
|
|
100
85
|
d(f) {
|
|
101
|
-
f && k(e), t = !1,
|
|
86
|
+
f && k(e), t = !1, s();
|
|
102
87
|
}
|
|
103
88
|
};
|
|
104
89
|
}
|
|
105
|
-
function
|
|
90
|
+
function z(i) {
|
|
106
91
|
let e;
|
|
107
92
|
return {
|
|
108
93
|
c() {
|
|
@@ -123,23 +108,23 @@ function j(i) {
|
|
|
123
108
|
i[4]
|
|
124
109
|
);
|
|
125
110
|
},
|
|
126
|
-
m(t,
|
|
127
|
-
v(t, e,
|
|
111
|
+
m(t, s) {
|
|
112
|
+
v(t, e, s);
|
|
128
113
|
},
|
|
129
|
-
p(t,
|
|
130
|
-
|
|
114
|
+
p(t, s) {
|
|
115
|
+
s & /*clientstylingurl*/
|
|
131
116
|
64 && a(
|
|
132
117
|
e,
|
|
133
118
|
"clientstylingurl",
|
|
134
119
|
/*clientstylingurl*/
|
|
135
120
|
t[6]
|
|
136
|
-
),
|
|
121
|
+
), s & /*clientstyling*/
|
|
137
122
|
32 && a(
|
|
138
123
|
e,
|
|
139
124
|
"clientstyling",
|
|
140
125
|
/*clientstyling*/
|
|
141
126
|
t[5]
|
|
142
|
-
),
|
|
127
|
+
), s & /*mbsource*/
|
|
143
128
|
16 && a(
|
|
144
129
|
e,
|
|
145
130
|
"mbsource",
|
|
@@ -153,17 +138,17 @@ function j(i) {
|
|
|
153
138
|
};
|
|
154
139
|
}
|
|
155
140
|
function ie(i) {
|
|
156
|
-
let e, t,
|
|
141
|
+
let e, t, s, f, d, g, m, h, C, o = !!/*showbackbutton*/
|
|
157
142
|
i[3] && /*showbackbutton*/
|
|
158
|
-
i[3] !== "false" &&
|
|
143
|
+
i[3] !== "false" && I(i), r = (!/*showbackbutton*/
|
|
159
144
|
i[3] || /*showbackbutton*/
|
|
160
|
-
i[3] === "false") &&
|
|
145
|
+
i[3] === "false") && j(i), c = (
|
|
161
146
|
/*isLoading*/
|
|
162
|
-
i[9] &&
|
|
147
|
+
i[9] && z(i)
|
|
163
148
|
);
|
|
164
149
|
return {
|
|
165
150
|
c() {
|
|
166
|
-
e = p("div"), t = p("cashier-header"), o && o.c(),
|
|
151
|
+
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
|
|
167
152
|
t,
|
|
168
153
|
"lang",
|
|
169
154
|
/*lang*/
|
|
@@ -198,23 +183,23 @@ function ie(i) {
|
|
|
198
183
|
"mbsource",
|
|
199
184
|
/*mbsource*/
|
|
200
185
|
i[4]
|
|
201
|
-
), B(
|
|
202
|
-
i[1]) || w(
|
|
186
|
+
), B(g.src, m = /*iframeurl*/
|
|
187
|
+
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
203
188
|
},
|
|
204
189
|
m(l, u) {
|
|
205
|
-
v(l, e, u), _(e, t), o && o.m(t, null), _(t,
|
|
206
|
-
|
|
190
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (C = H(
|
|
191
|
+
g,
|
|
207
192
|
"load",
|
|
208
193
|
/*load_handler*/
|
|
209
194
|
i[12]
|
|
210
|
-
),
|
|
195
|
+
), h = !0);
|
|
211
196
|
},
|
|
212
197
|
p(l, [u]) {
|
|
213
198
|
/*showbackbutton*/
|
|
214
199
|
l[3] && /*showbackbutton*/
|
|
215
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
200
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
216
201
|
l[3] || /*showbackbutton*/
|
|
217
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
202
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
218
203
|
1 && a(
|
|
219
204
|
t,
|
|
220
205
|
"lang",
|
|
@@ -257,78 +242,78 @@ function ie(i) {
|
|
|
257
242
|
/*mbsource*/
|
|
258
243
|
l[4]
|
|
259
244
|
), /*isLoading*/
|
|
260
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
261
|
-
2 && !B(
|
|
262
|
-
l[1]) && w(
|
|
245
|
+
l[9] ? c ? c.p(l, u) : (c = z(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
|
+
2 && !B(g.src, m = /*iframeurl*/
|
|
247
|
+
l[1]) && w(g, "src", m);
|
|
263
248
|
},
|
|
264
249
|
i: L,
|
|
265
250
|
o: L,
|
|
266
251
|
d(l) {
|
|
267
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null),
|
|
252
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, C();
|
|
268
253
|
}
|
|
269
254
|
};
|
|
270
255
|
}
|
|
271
256
|
function ne(i, e, t) {
|
|
272
|
-
let { lang:
|
|
257
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c, l = !0;
|
|
273
258
|
const u = () => {
|
|
274
|
-
let
|
|
275
|
-
if (
|
|
276
|
-
return fetch(
|
|
277
|
-
Object.keys(
|
|
278
|
-
|
|
259
|
+
let n = d;
|
|
260
|
+
if (n)
|
|
261
|
+
return fetch(n).then((y) => y.json()).then((y) => {
|
|
262
|
+
Object.keys(y).forEach((M) => {
|
|
263
|
+
R(M, y[M]);
|
|
279
264
|
});
|
|
280
|
-
}).catch((
|
|
281
|
-
console.log(
|
|
265
|
+
}).catch((y) => {
|
|
266
|
+
console.log(y);
|
|
282
267
|
});
|
|
283
268
|
};
|
|
284
|
-
Object.keys(
|
|
285
|
-
|
|
269
|
+
Object.keys(F).forEach((n) => {
|
|
270
|
+
R(n, F[n]);
|
|
286
271
|
});
|
|
287
|
-
const
|
|
288
|
-
ee(
|
|
289
|
-
},
|
|
272
|
+
const A = () => {
|
|
273
|
+
ee(s);
|
|
274
|
+
}, O = () => {
|
|
290
275
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
291
|
-
},
|
|
292
|
-
|
|
293
|
-
},
|
|
294
|
-
V(() => (
|
|
295
|
-
|
|
276
|
+
}, E = (n) => {
|
|
277
|
+
n.target.src && t(9, l = !1);
|
|
278
|
+
}, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href), D = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
279
|
+
V(() => (T(), () => {
|
|
280
|
+
D();
|
|
296
281
|
}));
|
|
297
|
-
const
|
|
298
|
-
function
|
|
299
|
-
W[
|
|
300
|
-
r =
|
|
282
|
+
const N = (n) => E(n);
|
|
283
|
+
function q(n) {
|
|
284
|
+
W[n ? "unshift" : "push"](() => {
|
|
285
|
+
r = n, t(8, r);
|
|
301
286
|
});
|
|
302
287
|
}
|
|
303
|
-
return i.$$set = (
|
|
304
|
-
"lang" in
|
|
288
|
+
return i.$$set = (n) => {
|
|
289
|
+
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, C = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
305
290
|
}, i.$$.update = () => {
|
|
306
291
|
i.$$.dirty & /*lang*/
|
|
307
|
-
1 &&
|
|
292
|
+
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
308
293
|
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
309
|
-
288 &&
|
|
310
|
-
320 &&
|
|
311
|
-
272 &&
|
|
294
|
+
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
+
320 && C && r && x(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
|
+
272 && m && r && $(r, `${m}.Style`, c);
|
|
312
297
|
}, [
|
|
313
|
-
|
|
298
|
+
s,
|
|
314
299
|
f,
|
|
315
300
|
d,
|
|
301
|
+
g,
|
|
316
302
|
m,
|
|
317
303
|
h,
|
|
318
|
-
|
|
319
|
-
y,
|
|
304
|
+
C,
|
|
320
305
|
o,
|
|
321
306
|
r,
|
|
322
307
|
l,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
308
|
+
O,
|
|
309
|
+
E,
|
|
310
|
+
N,
|
|
311
|
+
q
|
|
327
312
|
];
|
|
328
313
|
}
|
|
329
|
-
class
|
|
314
|
+
class le extends P {
|
|
330
315
|
constructor(e) {
|
|
331
|
-
super(),
|
|
316
|
+
super(), G(
|
|
332
317
|
this,
|
|
333
318
|
e,
|
|
334
319
|
ne,
|
|
@@ -396,7 +381,7 @@ class se extends P {
|
|
|
396
381
|
this.$$set({ title: e }), b();
|
|
397
382
|
}
|
|
398
383
|
}
|
|
399
|
-
|
|
384
|
+
X(le, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
400
385
|
export {
|
|
401
|
-
|
|
386
|
+
le as default
|
|
402
387
|
};
|
|
@@ -1,29 +1,14 @@
|
|
|
1
|
-
import { a as U, i as Z, $ as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return function(...t) {
|
|
5
|
-
try {
|
|
6
|
-
return e.apply(this, t);
|
|
7
|
-
} catch (n) {
|
|
8
|
-
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
9
|
-
return !1;
|
|
10
|
-
throw n;
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
customElements.define = i(customElements.define), import("./CashierHeader-BfBH2bp5.js").then(({ default: e }) => {
|
|
15
|
-
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function F(i, e) {
|
|
1
|
+
import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as B, o as w, k as v, l as _, z as H, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-CYk7P-lY.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-CztzLdMZ.js";
|
|
3
|
+
function R(i, e) {
|
|
19
4
|
U(i, e);
|
|
20
5
|
}
|
|
21
6
|
function ee(i) {
|
|
22
7
|
Z({
|
|
23
8
|
fallbackLocale: "en"
|
|
24
|
-
}),
|
|
9
|
+
}), J.set(i);
|
|
25
10
|
}
|
|
26
|
-
const
|
|
11
|
+
const F = {
|
|
27
12
|
en: {
|
|
28
13
|
redirectHeader: "Deposit redirect"
|
|
29
14
|
},
|
|
@@ -48,28 +33,28 @@ if (typeof window != "undefined") {
|
|
|
48
33
|
return function(...t) {
|
|
49
34
|
try {
|
|
50
35
|
return e.apply(this, t);
|
|
51
|
-
} catch (
|
|
52
|
-
if (
|
|
36
|
+
} catch (s) {
|
|
37
|
+
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"))
|
|
53
38
|
return !1;
|
|
54
|
-
throw
|
|
39
|
+
throw s;
|
|
55
40
|
}
|
|
56
41
|
};
|
|
57
42
|
};
|
|
58
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
43
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-CwcwkjeV.js").then(({ default: e }) => {
|
|
59
44
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
60
45
|
});
|
|
61
46
|
}
|
|
62
47
|
function te(i) {
|
|
63
48
|
Q(i, "svelte-14e65vo", ".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%;background-color:var(--emw--color-background, #F9FAFF)}.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)}.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)}");
|
|
64
49
|
}
|
|
65
|
-
function
|
|
66
|
-
let e, t,
|
|
50
|
+
function I(i) {
|
|
51
|
+
let e, t, s;
|
|
67
52
|
return {
|
|
68
53
|
c() {
|
|
69
54
|
e = p("div"), e.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>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
70
55
|
},
|
|
71
56
|
m(f, d) {
|
|
72
|
-
v(f, e, d), t || (
|
|
57
|
+
v(f, e, d), t || (s = H(
|
|
73
58
|
e,
|
|
74
59
|
"click",
|
|
75
60
|
/*close*/
|
|
@@ -78,18 +63,18 @@ function D(i) {
|
|
|
78
63
|
},
|
|
79
64
|
p: L,
|
|
80
65
|
d(f) {
|
|
81
|
-
f && k(e), t = !1,
|
|
66
|
+
f && k(e), t = !1, s();
|
|
82
67
|
}
|
|
83
68
|
};
|
|
84
69
|
}
|
|
85
|
-
function
|
|
86
|
-
let e, t,
|
|
70
|
+
function j(i) {
|
|
71
|
+
let e, t, s;
|
|
87
72
|
return {
|
|
88
73
|
c() {
|
|
89
74
|
e = p("div"), e.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>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
90
75
|
},
|
|
91
76
|
m(f, d) {
|
|
92
|
-
v(f, e, d), t || (
|
|
77
|
+
v(f, e, d), t || (s = H(
|
|
93
78
|
e,
|
|
94
79
|
"click",
|
|
95
80
|
/*close*/
|
|
@@ -98,11 +83,11 @@ function I(i) {
|
|
|
98
83
|
},
|
|
99
84
|
p: L,
|
|
100
85
|
d(f) {
|
|
101
|
-
f && k(e), t = !1,
|
|
86
|
+
f && k(e), t = !1, s();
|
|
102
87
|
}
|
|
103
88
|
};
|
|
104
89
|
}
|
|
105
|
-
function
|
|
90
|
+
function z(i) {
|
|
106
91
|
let e;
|
|
107
92
|
return {
|
|
108
93
|
c() {
|
|
@@ -123,23 +108,23 @@ function j(i) {
|
|
|
123
108
|
i[4]
|
|
124
109
|
);
|
|
125
110
|
},
|
|
126
|
-
m(t,
|
|
127
|
-
v(t, e,
|
|
111
|
+
m(t, s) {
|
|
112
|
+
v(t, e, s);
|
|
128
113
|
},
|
|
129
|
-
p(t,
|
|
130
|
-
|
|
114
|
+
p(t, s) {
|
|
115
|
+
s & /*clientstylingurl*/
|
|
131
116
|
64 && a(
|
|
132
117
|
e,
|
|
133
118
|
"clientstylingurl",
|
|
134
119
|
/*clientstylingurl*/
|
|
135
120
|
t[6]
|
|
136
|
-
),
|
|
121
|
+
), s & /*clientstyling*/
|
|
137
122
|
32 && a(
|
|
138
123
|
e,
|
|
139
124
|
"clientstyling",
|
|
140
125
|
/*clientstyling*/
|
|
141
126
|
t[5]
|
|
142
|
-
),
|
|
127
|
+
), s & /*mbsource*/
|
|
143
128
|
16 && a(
|
|
144
129
|
e,
|
|
145
130
|
"mbsource",
|
|
@@ -153,17 +138,17 @@ function j(i) {
|
|
|
153
138
|
};
|
|
154
139
|
}
|
|
155
140
|
function ie(i) {
|
|
156
|
-
let e, t,
|
|
141
|
+
let e, t, s, f, d, g, m, h, C, o = !!/*showbackbutton*/
|
|
157
142
|
i[3] && /*showbackbutton*/
|
|
158
|
-
i[3] !== "false" &&
|
|
143
|
+
i[3] !== "false" && I(i), r = (!/*showbackbutton*/
|
|
159
144
|
i[3] || /*showbackbutton*/
|
|
160
|
-
i[3] === "false") &&
|
|
145
|
+
i[3] === "false") && j(i), c = (
|
|
161
146
|
/*isLoading*/
|
|
162
|
-
i[9] &&
|
|
147
|
+
i[9] && z(i)
|
|
163
148
|
);
|
|
164
149
|
return {
|
|
165
150
|
c() {
|
|
166
|
-
e = p("div"), t = p("cashier-header"), o && o.c(),
|
|
151
|
+
e = p("div"), t = p("cashier-header"), o && o.c(), s = S(), r && r.c(), f = S(), c && c.c(), d = S(), g = p("iframe"), a(
|
|
167
152
|
t,
|
|
168
153
|
"lang",
|
|
169
154
|
/*lang*/
|
|
@@ -198,23 +183,23 @@ function ie(i) {
|
|
|
198
183
|
"mbsource",
|
|
199
184
|
/*mbsource*/
|
|
200
185
|
i[4]
|
|
201
|
-
), B(
|
|
202
|
-
i[1]) || w(
|
|
186
|
+
), B(g.src, m = /*iframeurl*/
|
|
187
|
+
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
203
188
|
},
|
|
204
189
|
m(l, u) {
|
|
205
|
-
v(l, e, u), _(e, t), o && o.m(t, null), _(t,
|
|
206
|
-
|
|
190
|
+
v(l, e, u), _(e, t), o && o.m(t, null), _(t, s), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, d), _(e, g), i[13](e), h || (C = H(
|
|
191
|
+
g,
|
|
207
192
|
"load",
|
|
208
193
|
/*load_handler*/
|
|
209
194
|
i[12]
|
|
210
|
-
),
|
|
195
|
+
), h = !0);
|
|
211
196
|
},
|
|
212
197
|
p(l, [u]) {
|
|
213
198
|
/*showbackbutton*/
|
|
214
199
|
l[3] && /*showbackbutton*/
|
|
215
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
200
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
216
201
|
l[3] || /*showbackbutton*/
|
|
217
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
202
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
218
203
|
1 && a(
|
|
219
204
|
t,
|
|
220
205
|
"lang",
|
|
@@ -257,78 +242,78 @@ function ie(i) {
|
|
|
257
242
|
/*mbsource*/
|
|
258
243
|
l[4]
|
|
259
244
|
), /*isLoading*/
|
|
260
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
261
|
-
2 && !B(
|
|
262
|
-
l[1]) && w(
|
|
245
|
+
l[9] ? c ? c.p(l, u) : (c = z(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
|
+
2 && !B(g.src, m = /*iframeurl*/
|
|
247
|
+
l[1]) && w(g, "src", m);
|
|
263
248
|
},
|
|
264
249
|
i: L,
|
|
265
250
|
o: L,
|
|
266
251
|
d(l) {
|
|
267
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null),
|
|
252
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, C();
|
|
268
253
|
}
|
|
269
254
|
};
|
|
270
255
|
}
|
|
271
256
|
function ne(i, e, t) {
|
|
272
|
-
let { lang:
|
|
257
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c, l = !0;
|
|
273
258
|
const u = () => {
|
|
274
|
-
let
|
|
275
|
-
if (
|
|
276
|
-
return fetch(
|
|
277
|
-
Object.keys(
|
|
278
|
-
|
|
259
|
+
let n = d;
|
|
260
|
+
if (n)
|
|
261
|
+
return fetch(n).then((y) => y.json()).then((y) => {
|
|
262
|
+
Object.keys(y).forEach((M) => {
|
|
263
|
+
R(M, y[M]);
|
|
279
264
|
});
|
|
280
|
-
}).catch((
|
|
281
|
-
console.log(
|
|
265
|
+
}).catch((y) => {
|
|
266
|
+
console.log(y);
|
|
282
267
|
});
|
|
283
268
|
};
|
|
284
|
-
Object.keys(
|
|
285
|
-
|
|
269
|
+
Object.keys(F).forEach((n) => {
|
|
270
|
+
R(n, F[n]);
|
|
286
271
|
});
|
|
287
272
|
const A = () => {
|
|
288
|
-
ee(
|
|
273
|
+
ee(s);
|
|
289
274
|
}, O = () => {
|
|
290
275
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
291
|
-
},
|
|
292
|
-
|
|
293
|
-
}, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href),
|
|
276
|
+
}, E = (n) => {
|
|
277
|
+
n.target.src && t(9, l = !1);
|
|
278
|
+
}, T = () => window.postMessage({ type: "DisableScroll" }, window.location.href), D = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
294
279
|
V(() => (T(), () => {
|
|
295
|
-
|
|
280
|
+
D();
|
|
296
281
|
}));
|
|
297
|
-
const
|
|
298
|
-
function
|
|
299
|
-
W[
|
|
300
|
-
r =
|
|
282
|
+
const q = (n) => E(n);
|
|
283
|
+
function N(n) {
|
|
284
|
+
W[n ? "unshift" : "push"](() => {
|
|
285
|
+
r = n, t(8, r);
|
|
301
286
|
});
|
|
302
287
|
}
|
|
303
|
-
return i.$$set = (
|
|
304
|
-
"lang" in
|
|
288
|
+
return i.$$set = (n) => {
|
|
289
|
+
"lang" in n && t(0, s = n.lang), "iframeurl" in n && t(1, f = n.iframeurl), "translationurl" in n && t(2, d = n.translationurl), "showbackbutton" in n && t(3, g = n.showbackbutton), "mbsource" in n && t(4, m = n.mbsource), "clientstyling" in n && t(5, h = n.clientstyling), "clientstylingurl" in n && t(6, C = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
305
290
|
}, i.$$.update = () => {
|
|
306
291
|
i.$$.dirty & /*lang*/
|
|
307
|
-
1 &&
|
|
292
|
+
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
308
293
|
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
309
|
-
288 &&
|
|
310
|
-
320 &&
|
|
311
|
-
272 &&
|
|
294
|
+
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
+
320 && C && r && x(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
|
+
272 && m && r && $(r, `${m}.Style`, c);
|
|
312
297
|
}, [
|
|
313
|
-
|
|
298
|
+
s,
|
|
314
299
|
f,
|
|
315
300
|
d,
|
|
301
|
+
g,
|
|
316
302
|
m,
|
|
317
303
|
h,
|
|
318
|
-
|
|
319
|
-
y,
|
|
304
|
+
C,
|
|
320
305
|
o,
|
|
321
306
|
r,
|
|
322
307
|
l,
|
|
323
308
|
O,
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
309
|
+
E,
|
|
310
|
+
q,
|
|
311
|
+
N
|
|
327
312
|
];
|
|
328
313
|
}
|
|
329
|
-
class
|
|
314
|
+
class le extends P {
|
|
330
315
|
constructor(e) {
|
|
331
|
-
super(),
|
|
316
|
+
super(), G(
|
|
332
317
|
this,
|
|
333
318
|
e,
|
|
334
319
|
ne,
|
|
@@ -396,7 +381,7 @@ class se extends P {
|
|
|
396
381
|
this.$$set({ title: e }), b();
|
|
397
382
|
}
|
|
398
383
|
}
|
|
399
|
-
|
|
384
|
+
X(le, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
400
385
|
export {
|
|
401
|
-
|
|
386
|
+
le as default
|
|
402
387
|
};
|