@everymatrix/cashier-page 1.98.7 → 1.98.9
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-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
- package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
- package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
- package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
- package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
- package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
- package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
- package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
- package/components/CashierHeader-DL7CeVPX.cjs +1 -0
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
- package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
- package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
- package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
- package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
- package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
- package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
- package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
- package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
- package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
- package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
- package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
- package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
- package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
- package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
- package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
- package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
- package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
- package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
- package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
- package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
- package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
- package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
- package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
- package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
- package/components/CashierVerifications-B-u47VhR.cjs +1 -0
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
- package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
- package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
- package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
- package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
- package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
- package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.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/CashierCarousel-Dh5Q3q4o.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-
|
|
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-Cyh00U_t.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-BGa8_twf.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
U(i, e);
|
|
5
5
|
}
|
|
@@ -8,7 +8,7 @@ function ee(i) {
|
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), J.set(i);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const z = {
|
|
12
12
|
en: {
|
|
13
13
|
redirectHeader: "Deposit redirect"
|
|
14
14
|
},
|
|
@@ -26,6 +26,12 @@ const F = {
|
|
|
26
26
|
},
|
|
27
27
|
nl: {
|
|
28
28
|
redirectHeader: "Stortingsomleiding"
|
|
29
|
+
},
|
|
30
|
+
ru: {
|
|
31
|
+
redirectHeader: "Перенаправление депозита"
|
|
32
|
+
},
|
|
33
|
+
az: {
|
|
34
|
+
redirectHeader: "Depozit yönləndirməsi"
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
if (typeof window != "undefined") {
|
|
@@ -40,14 +46,14 @@ if (typeof window != "undefined") {
|
|
|
40
46
|
}
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
49
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-DlmmgiCp.js").then(({ default: e }) => {
|
|
44
50
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
45
51
|
});
|
|
46
52
|
}
|
|
47
53
|
function te(i) {
|
|
48
54
|
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)}");
|
|
49
55
|
}
|
|
50
|
-
function
|
|
56
|
+
function F(i) {
|
|
51
57
|
let e, t, s;
|
|
52
58
|
return {
|
|
53
59
|
c() {
|
|
@@ -67,7 +73,7 @@ function I(i) {
|
|
|
67
73
|
}
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
|
-
function
|
|
76
|
+
function I(i) {
|
|
71
77
|
let e, t, s;
|
|
72
78
|
return {
|
|
73
79
|
c() {
|
|
@@ -87,7 +93,7 @@ function j(i) {
|
|
|
87
93
|
}
|
|
88
94
|
};
|
|
89
95
|
}
|
|
90
|
-
function
|
|
96
|
+
function j(i) {
|
|
91
97
|
let e;
|
|
92
98
|
return {
|
|
93
99
|
c() {
|
|
@@ -138,13 +144,13 @@ function z(i) {
|
|
|
138
144
|
};
|
|
139
145
|
}
|
|
140
146
|
function ie(i) {
|
|
141
|
-
let e, t, s, f, d, g, m, h,
|
|
147
|
+
let e, t, s, f, d, g, m, h, y, o = !!/*showbackbutton*/
|
|
142
148
|
i[3] && /*showbackbutton*/
|
|
143
|
-
i[3] !== "false" &&
|
|
149
|
+
i[3] !== "false" && F(i), r = (!/*showbackbutton*/
|
|
144
150
|
i[3] || /*showbackbutton*/
|
|
145
|
-
i[3] === "false") &&
|
|
151
|
+
i[3] === "false") && I(i), c = (
|
|
146
152
|
/*isLoading*/
|
|
147
|
-
i[9] &&
|
|
153
|
+
i[9] && j(i)
|
|
148
154
|
);
|
|
149
155
|
return {
|
|
150
156
|
c() {
|
|
@@ -187,7 +193,7 @@ function ie(i) {
|
|
|
187
193
|
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
188
194
|
},
|
|
189
195
|
m(l, u) {
|
|
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 || (
|
|
196
|
+
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 || (y = H(
|
|
191
197
|
g,
|
|
192
198
|
"load",
|
|
193
199
|
/*load_handler*/
|
|
@@ -197,9 +203,9 @@ function ie(i) {
|
|
|
197
203
|
p(l, [u]) {
|
|
198
204
|
/*showbackbutton*/
|
|
199
205
|
l[3] && /*showbackbutton*/
|
|
200
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
206
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
201
207
|
l[3] || /*showbackbutton*/
|
|
202
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
208
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
203
209
|
1 && a(
|
|
204
210
|
t,
|
|
205
211
|
"lang",
|
|
@@ -242,42 +248,42 @@ function ie(i) {
|
|
|
242
248
|
/*mbsource*/
|
|
243
249
|
l[4]
|
|
244
250
|
), /*isLoading*/
|
|
245
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
251
|
+
l[9] ? c ? c.p(l, u) : (c = j(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
252
|
2 && !B(g.src, m = /*iframeurl*/
|
|
247
253
|
l[1]) && w(g, "src", m);
|
|
248
254
|
},
|
|
249
255
|
i: L,
|
|
250
256
|
o: L,
|
|
251
257
|
d(l) {
|
|
252
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1,
|
|
258
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, y();
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
function ne(i, e, t) {
|
|
257
|
-
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl:
|
|
263
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
264
|
const u = () => {
|
|
259
265
|
let n = d;
|
|
260
266
|
if (n)
|
|
261
|
-
return fetch(n).then((
|
|
262
|
-
Object.keys(
|
|
263
|
-
R(M,
|
|
267
|
+
return fetch(n).then((C) => C.json()).then((C) => {
|
|
268
|
+
Object.keys(C).forEach((M) => {
|
|
269
|
+
R(M, C[M]);
|
|
264
270
|
});
|
|
265
|
-
}).catch((
|
|
266
|
-
console.log(
|
|
271
|
+
}).catch((C) => {
|
|
272
|
+
console.log(C);
|
|
267
273
|
});
|
|
268
274
|
};
|
|
269
|
-
Object.keys(
|
|
270
|
-
R(n,
|
|
275
|
+
Object.keys(z).forEach((n) => {
|
|
276
|
+
R(n, z[n]);
|
|
271
277
|
});
|
|
272
278
|
const A = () => {
|
|
273
279
|
ee(s);
|
|
274
|
-
},
|
|
280
|
+
}, D = () => {
|
|
275
281
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
276
282
|
}, E = (n) => {
|
|
277
283
|
n.target.src && t(9, l = !1);
|
|
278
|
-
},
|
|
279
|
-
V(() => (
|
|
280
|
-
|
|
284
|
+
}, O = () => window.postMessage({ type: "DisableScroll" }, window.location.href), T = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
285
|
+
V(() => (O(), () => {
|
|
286
|
+
T();
|
|
281
287
|
}));
|
|
282
288
|
const q = (n) => E(n);
|
|
283
289
|
function N(n) {
|
|
@@ -286,13 +292,13 @@ function ne(i, e, t) {
|
|
|
286
292
|
});
|
|
287
293
|
}
|
|
288
294
|
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,
|
|
295
|
+
"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, y = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
290
296
|
}, i.$$.update = () => {
|
|
291
297
|
i.$$.dirty & /*lang*/
|
|
292
298
|
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
299
|
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
300
|
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
-
320 &&
|
|
301
|
+
320 && y && r && x(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
302
|
272 && m && r && $(r, `${m}.Style`, c);
|
|
297
303
|
}, [
|
|
298
304
|
s,
|
|
@@ -301,11 +307,11 @@ function ne(i, e, t) {
|
|
|
301
307
|
g,
|
|
302
308
|
m,
|
|
303
309
|
h,
|
|
304
|
-
|
|
310
|
+
y,
|
|
305
311
|
o,
|
|
306
312
|
r,
|
|
307
313
|
l,
|
|
308
|
-
|
|
314
|
+
D,
|
|
309
315
|
E,
|
|
310
316
|
q,
|
|
311
317
|
N
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { s as Y, a as x, b as $ } from "./CashierHeader-
|
|
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-DmSMSwFD.js";
|
|
2
|
+
import { s as Y, a as x, b as $ } from "./CashierHeader-BoWdCzOy.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
U(i, e);
|
|
5
5
|
}
|
|
@@ -8,7 +8,7 @@ function ee(i) {
|
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), J.set(i);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const z = {
|
|
12
12
|
en: {
|
|
13
13
|
redirectHeader: "Deposit redirect"
|
|
14
14
|
},
|
|
@@ -26,6 +26,12 @@ const F = {
|
|
|
26
26
|
},
|
|
27
27
|
nl: {
|
|
28
28
|
redirectHeader: "Stortingsomleiding"
|
|
29
|
+
},
|
|
30
|
+
ru: {
|
|
31
|
+
redirectHeader: "Перенаправление депозита"
|
|
32
|
+
},
|
|
33
|
+
az: {
|
|
34
|
+
redirectHeader: "Depozit yönləndirməsi"
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
if (typeof window < "u") {
|
|
@@ -40,14 +46,14 @@ if (typeof window < "u") {
|
|
|
40
46
|
}
|
|
41
47
|
};
|
|
42
48
|
};
|
|
43
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
49
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-CfN6GP0k.js").then(({ default: e }) => {
|
|
44
50
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
45
51
|
});
|
|
46
52
|
}
|
|
47
53
|
function te(i) {
|
|
48
54
|
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)}");
|
|
49
55
|
}
|
|
50
|
-
function
|
|
56
|
+
function F(i) {
|
|
51
57
|
let e, t, s;
|
|
52
58
|
return {
|
|
53
59
|
c() {
|
|
@@ -67,7 +73,7 @@ function I(i) {
|
|
|
67
73
|
}
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
|
-
function
|
|
76
|
+
function I(i) {
|
|
71
77
|
let e, t, s;
|
|
72
78
|
return {
|
|
73
79
|
c() {
|
|
@@ -87,7 +93,7 @@ function j(i) {
|
|
|
87
93
|
}
|
|
88
94
|
};
|
|
89
95
|
}
|
|
90
|
-
function
|
|
96
|
+
function j(i) {
|
|
91
97
|
let e;
|
|
92
98
|
return {
|
|
93
99
|
c() {
|
|
@@ -138,13 +144,13 @@ function z(i) {
|
|
|
138
144
|
};
|
|
139
145
|
}
|
|
140
146
|
function ie(i) {
|
|
141
|
-
let e, t, s, f, d, g, m, h,
|
|
147
|
+
let e, t, s, f, d, g, m, h, y, o = !!/*showbackbutton*/
|
|
142
148
|
i[3] && /*showbackbutton*/
|
|
143
|
-
i[3] !== "false" &&
|
|
149
|
+
i[3] !== "false" && F(i), r = (!/*showbackbutton*/
|
|
144
150
|
i[3] || /*showbackbutton*/
|
|
145
|
-
i[3] === "false") &&
|
|
151
|
+
i[3] === "false") && I(i), c = (
|
|
146
152
|
/*isLoading*/
|
|
147
|
-
i[9] &&
|
|
153
|
+
i[9] && j(i)
|
|
148
154
|
);
|
|
149
155
|
return {
|
|
150
156
|
c() {
|
|
@@ -187,7 +193,7 @@ function ie(i) {
|
|
|
187
193
|
i[1]) || w(g, "src", m), w(g, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
188
194
|
},
|
|
189
195
|
m(l, u) {
|
|
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 || (
|
|
196
|
+
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 || (y = H(
|
|
191
197
|
g,
|
|
192
198
|
"load",
|
|
193
199
|
/*load_handler*/
|
|
@@ -197,9 +203,9 @@ function ie(i) {
|
|
|
197
203
|
p(l, [u]) {
|
|
198
204
|
/*showbackbutton*/
|
|
199
205
|
l[3] && /*showbackbutton*/
|
|
200
|
-
l[3] !== "false" ? o ? o.p(l, u) : (o =
|
|
206
|
+
l[3] !== "false" ? o ? o.p(l, u) : (o = F(l), o.c(), o.m(t, s)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
201
207
|
l[3] || /*showbackbutton*/
|
|
202
|
-
l[3] === "false" ? r ? r.p(l, u) : (r =
|
|
208
|
+
l[3] === "false" ? r ? r.p(l, u) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
|
|
203
209
|
1 && a(
|
|
204
210
|
t,
|
|
205
211
|
"lang",
|
|
@@ -242,42 +248,42 @@ function ie(i) {
|
|
|
242
248
|
/*mbsource*/
|
|
243
249
|
l[4]
|
|
244
250
|
), /*isLoading*/
|
|
245
|
-
l[9] ? c ? c.p(l, u) : (c =
|
|
251
|
+
l[9] ? c ? c.p(l, u) : (c = j(l), c.c(), c.m(e, d)) : c && (c.d(1), c = null), u & /*iframeurl*/
|
|
246
252
|
2 && !B(g.src, m = /*iframeurl*/
|
|
247
253
|
l[1]) && w(g, "src", m);
|
|
248
254
|
},
|
|
249
255
|
i: L,
|
|
250
256
|
o: L,
|
|
251
257
|
d(l) {
|
|
252
|
-
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1,
|
|
258
|
+
l && k(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), h = !1, y();
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
function ne(i, e, t) {
|
|
257
|
-
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl:
|
|
263
|
+
let { lang: s = "en" } = e, { iframeurl: f } = e, { translationurl: d = "" } = e, { showbackbutton: g = "" } = e, { mbsource: m } = e, { clientstyling: h } = e, { clientstylingurl: y } = e, { title: o = "" } = e, r, c, l = !0;
|
|
258
264
|
const u = () => {
|
|
259
265
|
let n = d;
|
|
260
266
|
if (n)
|
|
261
|
-
return fetch(n).then((
|
|
262
|
-
Object.keys(
|
|
263
|
-
R(M,
|
|
267
|
+
return fetch(n).then((C) => C.json()).then((C) => {
|
|
268
|
+
Object.keys(C).forEach((M) => {
|
|
269
|
+
R(M, C[M]);
|
|
264
270
|
});
|
|
265
|
-
}).catch((
|
|
266
|
-
console.log(
|
|
271
|
+
}).catch((C) => {
|
|
272
|
+
console.log(C);
|
|
267
273
|
});
|
|
268
274
|
};
|
|
269
|
-
Object.keys(
|
|
270
|
-
R(n,
|
|
275
|
+
Object.keys(z).forEach((n) => {
|
|
276
|
+
R(n, z[n]);
|
|
271
277
|
});
|
|
272
278
|
const A = () => {
|
|
273
279
|
ee(s);
|
|
274
|
-
},
|
|
280
|
+
}, D = () => {
|
|
275
281
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
276
282
|
}, E = (n) => {
|
|
277
283
|
n.target.src && t(9, l = !1);
|
|
278
|
-
},
|
|
279
|
-
V(() => (
|
|
280
|
-
|
|
284
|
+
}, O = () => window.postMessage({ type: "DisableScroll" }, window.location.href), T = () => window.postMessage({ type: "EnableScroll" }, window.location.href);
|
|
285
|
+
V(() => (O(), () => {
|
|
286
|
+
T();
|
|
281
287
|
}));
|
|
282
288
|
const N = (n) => E(n);
|
|
283
289
|
function q(n) {
|
|
@@ -286,13 +292,13 @@ function ne(i, e, t) {
|
|
|
286
292
|
});
|
|
287
293
|
}
|
|
288
294
|
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,
|
|
295
|
+
"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, y = n.clientstylingurl), "title" in n && t(7, o = n.title);
|
|
290
296
|
}, i.$$.update = () => {
|
|
291
297
|
i.$$.dirty & /*lang*/
|
|
292
298
|
1 && s && A(), i.$$.dirty & /*translationurl*/
|
|
293
299
|
4 && d && u(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
294
300
|
288 && h && r && Y(r, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
295
|
-
320 &&
|
|
301
|
+
320 && y && r && x(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
296
302
|
272 && m && r && $(r, `${m}.Style`, c);
|
|
297
303
|
}, [
|
|
298
304
|
s,
|
|
@@ -301,11 +307,11 @@ function ne(i, e, t) {
|
|
|
301
307
|
g,
|
|
302
308
|
m,
|
|
303
309
|
h,
|
|
304
|
-
|
|
310
|
+
y,
|
|
305
311
|
o,
|
|
306
312
|
r,
|
|
307
313
|
l,
|
|
308
|
-
|
|
314
|
+
D,
|
|
309
315
|
E,
|
|
310
316
|
N,
|
|
311
317
|
q
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-Datx6Ztd.cjs"),w=require("./CashierHeader-DL7CeVPX.cjs");function y(n,t){e.addMessages(n,t)}function q(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const v={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"},da:{redirectHeader:"Indbetaling omdirigering"},de:{redirectHeader:"Einzahlungsweiterleitung"},nl:{redirectHeader:"Stortingsomleiding"},ru:{redirectHeader:"Перенаправление депозита"},az:{redirectHeader:"Depozit yönləndirməsi"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-DK9MV_jW.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function z(n){e.append_styles(n,"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)}")}function L(n){let t,i,r;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(m,f){e.insert(m,t,f),i||(r=e.listen(t,"click",n[10]),i=!0)},p:e.noop,d(m){m&&e.detach(t),i=!1,r()}}}function k(n){let t,i,r;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(m,f){e.insert(m,t,f),i||(r=e.listen(t,"click",n[10]),i=!0)},p:e.noop,d(m){m&&e.detach(t),i=!1,r()}}}function S(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[6]),e.set_custom_element_data(t,"clientstyling",n[5]),e.set_custom_element_data(t,"mbsource",n[4])},m(i,r){e.insert(i,t,r)},p(i,r){r&64&&e.set_custom_element_data(t,"clientstylingurl",i[6]),r&32&&e.set_custom_element_data(t,"clientstyling",i[5]),r&16&&e.set_custom_element_data(t,"mbsource",i[4])},d(i){i&&e.detach(t)}}}function I(n){let t,i,r,m,f,d,h,g,_,o=!!n[3]&&n[3]!=="false"&&L(n),a=(!n[3]||n[3]==="false")&&k(n),c=n[9]&&S(n);return{c(){t=e.element("div"),i=e.element("cashier-header"),o&&o.c(),r=e.space(),a&&a.c(),m=e.space(),c&&c.c(),f=e.space(),d=e.element("iframe"),e.set_custom_element_data(i,"lang",n[0]),e.set_custom_element_data(i,"translationurl",n[2]),e.set_custom_element_data(i,"title",n[7]),e.set_custom_element_data(i,"showbackbutton",n[3]),e.set_custom_element_data(i,"clientstylingurl",n[6]),e.set_custom_element_data(i,"clientstyling",n[5]),e.set_custom_element_data(i,"mbsource",n[4]),e.src_url_equal(d.src,h=n[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(s,u){e.insert(s,t,u),e.append(t,i),o&&o.m(i,null),e.append(i,r),a&&a.m(i,null),e.append(t,m),c&&c.m(t,null),e.append(t,f),e.append(t,d),n[13](t),g||(_=e.listen(d,"load",n[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(i,r)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?a?a.p(s,u):(a=k(s),a.c(),a.m(i,null)):a&&(a.d(1),a=null),u&1&&e.set_custom_element_data(i,"lang",s[0]),u&4&&e.set_custom_element_data(i,"translationurl",s[2]),u&128&&e.set_custom_element_data(i,"title",s[7]),u&8&&e.set_custom_element_data(i,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(i,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(i,"clientstyling",s[5]),u&16&&e.set_custom_element_data(i,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,f)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),a&&a.d(),c&&c.d(),n[13](null),g=!1,_()}}}function T(n,t,i){let{lang:r="en"}=t,{iframeurl:m}=t,{translationurl:f=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,c,s=!0;const u=()=>{let l=f;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(C=>{y(C,b[C])})}).catch(b=>{console.log(b)})};Object.keys(v).forEach(l=>{y(l,v[l])});const E=()=>{q(r)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},p=l=>{l.target.src&&i(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>p(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,i(8,a)})}return n.$$set=l=>{"lang"in l&&i(0,r=l.lang),"iframeurl"in l&&i(1,m=l.iframeurl),"translationurl"in l&&i(2,f=l.translationurl),"showbackbutton"in l&&i(3,d=l.showbackbutton),"mbsource"in l&&i(4,h=l.mbsource),"clientstyling"in l&&i(5,g=l.clientstyling),"clientstylingurl"in l&&i(6,_=l.clientstylingurl),"title"in l&&i(7,o=l.title)},n.$$.update=()=>{n.$$.dirty&1&&r&&E(),n.$$.dirty&4&&f&&u(),n.$$.dirty&288&&g&&a&&w.setClientStyling(a,g),n.$$.dirty&320&&_&&a&&w.setClientStylingURL(a,_),n.$$.dirty&272&&h&&a&&w.setStreamStyling(a,`${h}.Style`,c)},[r,m,f,d,h,g,_,o,a,s,M,p,F,j]}class H extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,T,I,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},z)}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(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;
|