@everymatrix/cashier-iframe-redirect 1.73.1 → 1.74.0
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/{CashierHeader-CoqGcXA4.js → CashierHeader-BEUVhLlY.js} +840 -817
- package/components/CashierHeader-C4g3EugX.cjs +5 -0
- package/components/{CashierHeader-B7Cx4dkg.js → CashierHeader-C9SV7Lec.js} +833 -810
- package/components/CashierIframeRedirect-D2g4LpDZ.cjs +1 -0
- package/components/{CashierIframeRedirect-CXHDllYf.js → CashierIframeRedirect-DGnGEphO.js} +73 -99
- package/components/{CashierIframeRedirect-CdmcyFk8.js → CashierIframeRedirect-gnpyQW9X.js} +79 -109
- package/components/{CashierSpinner-CoVRmmDc.js → CashierSpinner-C1vsS0r_.js} +9 -10
- package/components/{CashierSpinner-D-aDesBN.js → CashierSpinner-DAYJJPhO.js} +9 -10
- package/components/CashierSpinner-DOg7wLjc.cjs +1 -0
- package/es2015/cashier-iframe-redirect.cjs +1 -1
- package/es2015/cashier-iframe-redirect.js +7 -7
- package/esnext/cashier-iframe-redirect.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-zYg0g9Kz.cjs +0 -5
- package/components/CashierIframeRedirect-WBjMe8cc.cjs +0 -1
- package/components/CashierSpinner-Br8xZsdZ.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as A, i as N, $ as
|
|
2
|
-
function
|
|
1
|
+
import { a as A, i as N, $ as U, S as Z, b as P, f as b, s as F, c as G, d as J, n as L, e as v, g as a, h as S, j as w, k, l as _, m as H, o as p, p as E, q as K, r as Q, t as V, u as W, v as X } from "./CashierHeader-BEUVhLlY.js";
|
|
2
|
+
function R(i, e) {
|
|
3
3
|
A(i, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Y(i) {
|
|
6
6
|
N({
|
|
7
7
|
fallbackLocale: "en"
|
|
8
|
-
}),
|
|
8
|
+
}), U.set(i);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const D = {
|
|
11
11
|
en: {
|
|
12
12
|
redirectHeader: "Deposit redirect"
|
|
13
13
|
},
|
|
@@ -24,29 +24,6 @@ const T = {
|
|
|
24
24
|
redirectHeader: "Deposit redirect"
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
function X(i, e) {
|
|
28
|
-
if (i) {
|
|
29
|
-
const t = document.createElement("style");
|
|
30
|
-
t.innerHTML = e, i.appendChild(t);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function Y(i, e) {
|
|
34
|
-
const t = new URL(e);
|
|
35
|
-
fetch(t.href).then((n) => n.text()).then((n) => {
|
|
36
|
-
const o = document.createElement("style");
|
|
37
|
-
o.innerHTML = n, i && i.appendChild(o);
|
|
38
|
-
}).catch((n) => {
|
|
39
|
-
console.error("There was an error while trying to load client styling from URL", n);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function x(i, e, t) {
|
|
43
|
-
if (window.emMessageBus) {
|
|
44
|
-
const n = document.createElement("style");
|
|
45
|
-
window.emMessageBus.subscribe(e, (o) => {
|
|
46
|
-
n.innerHTML = o, i && i.appendChild(n);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
27
|
if (typeof window != "undefined") {
|
|
51
28
|
let i = function(e) {
|
|
52
29
|
return function(...t) {
|
|
@@ -59,7 +36,7 @@ if (typeof window != "undefined") {
|
|
|
59
36
|
}
|
|
60
37
|
};
|
|
61
38
|
};
|
|
62
|
-
customElements.define = i(customElements.define), import("./CashierHeader-
|
|
39
|
+
customElements.define = i(customElements.define), import("./CashierHeader-BEUVhLlY.js").then((e) => e.C).then(({ default: e }) => {
|
|
63
40
|
!customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
|
|
64
41
|
});
|
|
65
42
|
}
|
|
@@ -75,12 +52,12 @@ if (typeof window != "undefined") {
|
|
|
75
52
|
}
|
|
76
53
|
};
|
|
77
54
|
};
|
|
78
|
-
customElements.define = i(customElements.define), import("./CashierSpinner-
|
|
55
|
+
customElements.define = i(customElements.define), import("./CashierSpinner-C1vsS0r_.js").then(({ default: e }) => {
|
|
79
56
|
!customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
|
|
80
57
|
});
|
|
81
58
|
}
|
|
82
|
-
function
|
|
83
|
-
|
|
59
|
+
function x(i) {
|
|
60
|
+
J(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}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}.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}");
|
|
84
61
|
}
|
|
85
62
|
function j(i) {
|
|
86
63
|
let e, t, n;
|
|
@@ -88,8 +65,8 @@ function j(i) {
|
|
|
88
65
|
c() {
|
|
89
66
|
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><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" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
|
|
90
67
|
},
|
|
91
|
-
m(
|
|
92
|
-
k(
|
|
68
|
+
m(f, h) {
|
|
69
|
+
k(f, e, h), t || (n = H(
|
|
93
70
|
e,
|
|
94
71
|
"click",
|
|
95
72
|
/*close*/
|
|
@@ -97,19 +74,19 @@ function j(i) {
|
|
|
97
74
|
), t = !0);
|
|
98
75
|
},
|
|
99
76
|
p: L,
|
|
100
|
-
d(
|
|
101
|
-
|
|
77
|
+
d(f) {
|
|
78
|
+
f && v(e), t = !1, n();
|
|
102
79
|
}
|
|
103
80
|
};
|
|
104
81
|
}
|
|
105
|
-
function
|
|
82
|
+
function I(i) {
|
|
106
83
|
let e, t, n;
|
|
107
84
|
return {
|
|
108
85
|
c() {
|
|
109
86
|
e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><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" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
|
|
110
87
|
},
|
|
111
|
-
m(
|
|
112
|
-
k(
|
|
88
|
+
m(f, h) {
|
|
89
|
+
k(f, e, h), t || (n = H(
|
|
113
90
|
e,
|
|
114
91
|
"click",
|
|
115
92
|
/*close*/
|
|
@@ -117,12 +94,12 @@ function O(i) {
|
|
|
117
94
|
), t = !0);
|
|
118
95
|
},
|
|
119
96
|
p: L,
|
|
120
|
-
d(
|
|
121
|
-
|
|
97
|
+
d(f) {
|
|
98
|
+
f && v(e), t = !1, n();
|
|
122
99
|
}
|
|
123
100
|
};
|
|
124
101
|
}
|
|
125
|
-
function
|
|
102
|
+
function O(i) {
|
|
126
103
|
let e;
|
|
127
104
|
return {
|
|
128
105
|
c() {
|
|
@@ -172,18 +149,18 @@ function D(i) {
|
|
|
172
149
|
}
|
|
173
150
|
};
|
|
174
151
|
}
|
|
175
|
-
function
|
|
176
|
-
let e, t, n,
|
|
152
|
+
function $(i) {
|
|
153
|
+
let e, t, n, f, h, m, d, g, C, o = !!/*showbackbutton*/
|
|
177
154
|
i[3] && /*showbackbutton*/
|
|
178
155
|
i[3] !== "false" && j(i), r = (!/*showbackbutton*/
|
|
179
156
|
i[3] || /*showbackbutton*/
|
|
180
|
-
i[3] === "false") &&
|
|
157
|
+
i[3] === "false") && I(i), u = (
|
|
181
158
|
/*isLoading*/
|
|
182
|
-
i[9] &&
|
|
159
|
+
i[9] && O(i)
|
|
183
160
|
);
|
|
184
161
|
return {
|
|
185
162
|
c() {
|
|
186
|
-
e = p("div"), t = p("cashier-header"),
|
|
163
|
+
e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), u && u.c(), h = E(), m = p("iframe"), a(
|
|
187
164
|
t,
|
|
188
165
|
"lang",
|
|
189
166
|
/*lang*/
|
|
@@ -218,141 +195,141 @@ function ee(i) {
|
|
|
218
195
|
"mbsource",
|
|
219
196
|
/*mbsource*/
|
|
220
197
|
i[4]
|
|
221
|
-
),
|
|
222
|
-
i[1]) || w(
|
|
198
|
+
), S(m.src, d = /*iframeurl*/
|
|
199
|
+
i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
|
|
223
200
|
},
|
|
224
|
-
m(l,
|
|
225
|
-
k(l, e,
|
|
226
|
-
|
|
201
|
+
m(l, c) {
|
|
202
|
+
k(l, e, c), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), u && u.m(e, null), _(e, h), _(e, m), i[13](e), g || (C = H(
|
|
203
|
+
m,
|
|
227
204
|
"load",
|
|
228
205
|
/*load_handler*/
|
|
229
206
|
i[12]
|
|
230
207
|
), g = !0);
|
|
231
208
|
},
|
|
232
|
-
p(l, [
|
|
209
|
+
p(l, [c]) {
|
|
233
210
|
/*showbackbutton*/
|
|
234
211
|
l[3] && /*showbackbutton*/
|
|
235
|
-
l[3] !== "false" ?
|
|
212
|
+
l[3] !== "false" ? o ? o.p(l, c) : (o = j(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
|
|
236
213
|
l[3] || /*showbackbutton*/
|
|
237
|
-
l[3] === "false" ? r ? r.p(l,
|
|
214
|
+
l[3] === "false" ? r ? r.p(l, c) : (r = I(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), c & /*lang*/
|
|
238
215
|
1 && a(
|
|
239
216
|
t,
|
|
240
217
|
"lang",
|
|
241
218
|
/*lang*/
|
|
242
219
|
l[0]
|
|
243
|
-
),
|
|
220
|
+
), c & /*translationurl*/
|
|
244
221
|
4 && a(
|
|
245
222
|
t,
|
|
246
223
|
"translationurl",
|
|
247
224
|
/*translationurl*/
|
|
248
225
|
l[2]
|
|
249
|
-
),
|
|
226
|
+
), c & /*title*/
|
|
250
227
|
128 && a(
|
|
251
228
|
t,
|
|
252
229
|
"title",
|
|
253
230
|
/*title*/
|
|
254
231
|
l[7]
|
|
255
|
-
),
|
|
232
|
+
), c & /*showbackbutton*/
|
|
256
233
|
8 && a(
|
|
257
234
|
t,
|
|
258
235
|
"showbackbutton",
|
|
259
236
|
/*showbackbutton*/
|
|
260
237
|
l[3]
|
|
261
|
-
),
|
|
238
|
+
), c & /*clientstylingurl*/
|
|
262
239
|
64 && a(
|
|
263
240
|
t,
|
|
264
241
|
"clientstylingurl",
|
|
265
242
|
/*clientstylingurl*/
|
|
266
243
|
l[6]
|
|
267
|
-
),
|
|
244
|
+
), c & /*clientstyling*/
|
|
268
245
|
32 && a(
|
|
269
246
|
t,
|
|
270
247
|
"clientstyling",
|
|
271
248
|
/*clientstyling*/
|
|
272
249
|
l[5]
|
|
273
|
-
),
|
|
250
|
+
), c & /*mbsource*/
|
|
274
251
|
16 && a(
|
|
275
252
|
t,
|
|
276
253
|
"mbsource",
|
|
277
254
|
/*mbsource*/
|
|
278
255
|
l[4]
|
|
279
256
|
), /*isLoading*/
|
|
280
|
-
l[9] ? u ? u.p(l,
|
|
281
|
-
2 && !
|
|
282
|
-
l[1]) && w(
|
|
257
|
+
l[9] ? u ? u.p(l, c) : (u = O(l), u.c(), u.m(e, h)) : u && (u.d(1), u = null), c & /*iframeurl*/
|
|
258
|
+
2 && !S(m.src, d = /*iframeurl*/
|
|
259
|
+
l[1]) && w(m, "src", d);
|
|
283
260
|
},
|
|
284
261
|
i: L,
|
|
285
262
|
o: L,
|
|
286
263
|
d(l) {
|
|
287
|
-
l && v(e),
|
|
264
|
+
l && v(e), o && o.d(), r && r.d(), u && u.d(), i[13](null), g = !1, C();
|
|
288
265
|
}
|
|
289
266
|
};
|
|
290
267
|
}
|
|
291
|
-
function
|
|
292
|
-
let { lang: n = "en" } = e, { iframeurl:
|
|
268
|
+
function ee(i, e, t) {
|
|
269
|
+
let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, u = !0;
|
|
293
270
|
const l = () => {
|
|
294
271
|
let s = h;
|
|
295
272
|
if (s)
|
|
296
|
-
return fetch(s).then((
|
|
297
|
-
Object.keys(
|
|
298
|
-
|
|
273
|
+
return fetch(s).then((y) => y.json()).then((y) => {
|
|
274
|
+
Object.keys(y).forEach((M) => {
|
|
275
|
+
R(M, y[M]);
|
|
299
276
|
});
|
|
300
|
-
}).catch((
|
|
301
|
-
console.log(
|
|
277
|
+
}).catch((y) => {
|
|
278
|
+
console.log(y);
|
|
302
279
|
});
|
|
303
280
|
};
|
|
304
|
-
Object.keys(
|
|
305
|
-
|
|
281
|
+
Object.keys(D).forEach((s) => {
|
|
282
|
+
R(s, D[s]);
|
|
306
283
|
});
|
|
307
|
-
const
|
|
308
|
-
|
|
309
|
-
},
|
|
284
|
+
const c = () => {
|
|
285
|
+
Y(n);
|
|
286
|
+
}, T = () => {
|
|
310
287
|
window.postMessage({ type: "CloseIframe" }, window.location.href);
|
|
311
|
-
},
|
|
288
|
+
}, B = (s) => {
|
|
312
289
|
s.target.src && t(9, u = !1);
|
|
313
290
|
};
|
|
314
|
-
|
|
291
|
+
K(() => () => {
|
|
315
292
|
});
|
|
316
|
-
const
|
|
317
|
-
function
|
|
318
|
-
|
|
293
|
+
const q = (s) => B(s);
|
|
294
|
+
function z(s) {
|
|
295
|
+
Q[s ? "unshift" : "push"](() => {
|
|
319
296
|
r = s, t(8, r);
|
|
320
297
|
});
|
|
321
298
|
}
|
|
322
299
|
return i.$$set = (s) => {
|
|
323
|
-
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1,
|
|
300
|
+
"lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, C = s.clientstylingurl), "title" in s && t(7, o = s.title);
|
|
324
301
|
}, i.$$.update = () => {
|
|
325
302
|
i.$$.dirty & /*lang*/
|
|
326
|
-
1 && n &&
|
|
303
|
+
1 && n && c(), i.$$.dirty & /*translationurl*/
|
|
327
304
|
4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
328
|
-
288 && g && r &&
|
|
329
|
-
320 &&
|
|
330
|
-
272 &&
|
|
305
|
+
288 && g && r && V(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
306
|
+
320 && C && r && W(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
307
|
+
272 && d && r && X(r, `${d}.Style`);
|
|
331
308
|
}, [
|
|
332
309
|
n,
|
|
333
|
-
|
|
310
|
+
f,
|
|
334
311
|
h,
|
|
335
|
-
d,
|
|
336
312
|
m,
|
|
313
|
+
d,
|
|
337
314
|
g,
|
|
338
|
-
|
|
339
|
-
|
|
315
|
+
C,
|
|
316
|
+
o,
|
|
340
317
|
r,
|
|
341
318
|
u,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
319
|
+
T,
|
|
320
|
+
B,
|
|
321
|
+
q,
|
|
322
|
+
z
|
|
346
323
|
];
|
|
347
324
|
}
|
|
348
|
-
class
|
|
325
|
+
class te extends Z {
|
|
349
326
|
constructor(e) {
|
|
350
|
-
super(),
|
|
327
|
+
super(), P(
|
|
351
328
|
this,
|
|
352
329
|
e,
|
|
353
|
-
te,
|
|
354
330
|
ee,
|
|
355
|
-
|
|
331
|
+
$,
|
|
332
|
+
F,
|
|
356
333
|
{
|
|
357
334
|
lang: 0,
|
|
358
335
|
iframeurl: 1,
|
|
@@ -363,7 +340,7 @@ class I extends Z {
|
|
|
363
340
|
clientstylingurl: 6,
|
|
364
341
|
title: 7
|
|
365
342
|
},
|
|
366
|
-
|
|
343
|
+
x
|
|
367
344
|
);
|
|
368
345
|
}
|
|
369
346
|
get lang() {
|
|
@@ -415,14 +392,7 @@ class I extends Z {
|
|
|
415
392
|
this.$$set({ title: e }), b();
|
|
416
393
|
}
|
|
417
394
|
}
|
|
418
|
-
|
|
419
|
-
const ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
420
|
-
__proto__: null,
|
|
421
|
-
default: I
|
|
422
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
395
|
+
G(te, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
|
|
423
396
|
export {
|
|
424
|
-
|
|
425
|
-
Y as a,
|
|
426
|
-
x as b,
|
|
427
|
-
X as s
|
|
397
|
+
te as default
|
|
428
398
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { s as v, a as w, b as _ } from "./CashierIframeRedirect-CdmcyFk8.js";
|
|
1
|
+
import { S as h, b as d, s as f, f as o, d as m, n as c, e as y, k as g, o as p, j as k, q as b, r as S, t as x, u as v, v as w, c as _ } from "./CashierHeader-BEUVhLlY.js";
|
|
3
2
|
function C(e) {
|
|
4
|
-
|
|
3
|
+
m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
5
4
|
}
|
|
6
5
|
function j(e) {
|
|
7
6
|
let t;
|
|
@@ -33,19 +32,19 @@ function z(e, t, i) {
|
|
|
33
32
|
"clientstyling" in n && i(1, r = n.clientstyling), "clientstylingurl" in n && i(2, a = n.clientstylingurl), "mbsource" in n && i(3, l = n.mbsource);
|
|
34
33
|
}, e.$$.update = () => {
|
|
35
34
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
36
|
-
3 && r && s &&
|
|
37
|
-
5 && a && s &&
|
|
38
|
-
9 && l && s &&
|
|
35
|
+
3 && r && s && x(s, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
36
|
+
5 && a && s && v(s, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
37
|
+
9 && l && s && w(s, `${l}.Style`);
|
|
39
38
|
}, [s, r, a, l, u];
|
|
40
39
|
}
|
|
41
|
-
class q extends
|
|
40
|
+
class q extends h {
|
|
42
41
|
constructor(t) {
|
|
43
|
-
super(),
|
|
42
|
+
super(), d(
|
|
44
43
|
this,
|
|
45
44
|
t,
|
|
46
45
|
z,
|
|
47
46
|
j,
|
|
48
|
-
|
|
47
|
+
f,
|
|
49
48
|
{
|
|
50
49
|
clientstyling: 1,
|
|
51
50
|
clientstylingurl: 2,
|
|
@@ -73,7 +72,7 @@ class q extends m {
|
|
|
73
72
|
this.$$set({ mbsource: t }), o();
|
|
74
73
|
}
|
|
75
74
|
}
|
|
76
|
-
|
|
75
|
+
_(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
77
76
|
export {
|
|
78
77
|
q as default
|
|
79
78
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { s as v, a as w, b as _ } from "./CashierIframeRedirect-CXHDllYf.js";
|
|
1
|
+
import { S as h, b as d, s as f, f as o, d as m, n as c, e as y, k as g, o as p, j as k, q as b, r as S, t as x, u as v, v as w, c as _ } from "./CashierHeader-C9SV7Lec.js";
|
|
3
2
|
function C(e) {
|
|
4
|
-
|
|
3
|
+
m(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
5
4
|
}
|
|
6
5
|
function j(e) {
|
|
7
6
|
let t;
|
|
@@ -33,19 +32,19 @@ function z(e, t, i) {
|
|
|
33
32
|
"clientstyling" in n && i(1, r = n.clientstyling), "clientstylingurl" in n && i(2, a = n.clientstylingurl), "mbsource" in n && i(3, l = n.mbsource);
|
|
34
33
|
}, e.$$.update = () => {
|
|
35
34
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
36
|
-
3 && r && s &&
|
|
37
|
-
5 && a && s &&
|
|
38
|
-
9 && l && s &&
|
|
35
|
+
3 && r && s && x(s, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
36
|
+
5 && a && s && v(s, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
37
|
+
9 && l && s && w(s, `${l}.Style`);
|
|
39
38
|
}, [s, r, a, l, u];
|
|
40
39
|
}
|
|
41
|
-
class q extends
|
|
40
|
+
class q extends h {
|
|
42
41
|
constructor(t) {
|
|
43
|
-
super(),
|
|
42
|
+
super(), d(
|
|
44
43
|
this,
|
|
45
44
|
t,
|
|
46
45
|
z,
|
|
47
46
|
j,
|
|
48
|
-
|
|
47
|
+
f,
|
|
49
48
|
{
|
|
50
49
|
clientstyling: 1,
|
|
51
50
|
clientstylingurl: 2,
|
|
@@ -73,7 +72,7 @@ class q extends m {
|
|
|
73
72
|
this.$$set({ mbsource: t }), o();
|
|
74
73
|
}
|
|
75
74
|
}
|
|
76
|
-
|
|
75
|
+
_(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
77
76
|
export {
|
|
78
77
|
q as default
|
|
79
78
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierHeader-C4g3EugX.cjs");function h(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function d(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function f(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i;t.onMount(()=>()=>{});function u(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&t.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&t.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&t.setStreamStyling(i,`${a}.Style`)},[i,l,o,a,u]}class c extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,d,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(c,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierIframeRedirect-D2g4LpDZ.cjs")).then(({default:t})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",t.element)})}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
if (typeof window != "undefined") {
|
|
2
|
-
let n = function(
|
|
2
|
+
let n = function(t) {
|
|
3
3
|
return function(...i) {
|
|
4
4
|
try {
|
|
5
|
-
return
|
|
6
|
-
} catch (
|
|
7
|
-
if (
|
|
5
|
+
return t.apply(this, i);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
8
8
|
return !1;
|
|
9
|
-
throw
|
|
9
|
+
throw e;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-
|
|
14
|
-
!customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect",
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierIframeRedirect-gnpyQW9X.js").then(({ default: t }) => {
|
|
14
|
+
!customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|