@everymatrix/cashier-page 1.94.20 → 1.94.21
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-CrZ0FI9g.js → CashierCarousel-BVmXQ9kB.js} +79 -79
- package/components/{CashierCarousel-ZCpoFR_r.js → CashierCarousel-D1ADcA0H.js} +64 -64
- package/components/{CashierError-D-0Yzizc.js → CashierError-CIDQ2YB-.js} +23 -23
- package/components/{CashierError-CQmfrVPP.js → CashierError-CLDBgPss.js} +22 -22
- package/components/{CashierHeader-D36dZuDE.js → CashierHeader-12-kNdqx.js} +37 -37
- package/components/{CashierHeader-o3JgGAyZ.js → CashierHeader-DLB-b0Aq.js} +37 -37
- package/components/{CashierIframeRedirect-BugT4s1t.js → CashierIframeRedirect-CgcTd1HO.js} +25 -25
- package/components/{CashierIframeRedirect-DLj8qmbG.js → CashierIframeRedirect-Dd8sAbeT.js} +21 -21
- package/components/{CashierMethodDetails-FagPTdMG.js → CashierMethodDetails-Bj94KCo4.js} +5 -5
- package/components/{CashierMethodDetails-CZ5GMKKS.js → CashierMethodDetails-CEiMwFLi.js} +5 -5
- package/components/{CashierMethodsList-D_pTu3SN.js → CashierMethodsList-ByXuMxUg.js} +68 -68
- package/components/{CashierMethodsList-BgIZGOBN.js → CashierMethodsList-DXeNmRFB.js} +38 -38
- package/components/{CashierModal-piYckZ14.js → CashierModal-CBMFqTn1.js} +43 -43
- package/components/{CashierModal-CJYYRGUw.js → CashierModal-YudzgpWu.js} +35 -35
- package/components/{CashierNotifications-B9MCvjeZ.js → CashierNotifications-B7-5A78j.js} +31 -31
- package/components/{CashierNotifications-DMwx6ACA.js → CashierNotifications-Br68hGYZ.js} +31 -31
- package/components/{CashierPage-BpXlJbUK.js → CashierPage-C28wB4Yx.js} +82 -82
- package/components/{CashierPage-DXWsj0rS.js → CashierPage-Dd8aLbzf.js} +82 -82
- package/components/{CashierReceiptPage-BDz55M1f.js → CashierReceiptPage-WgK2A3o2.js} +107 -107
- package/components/{CashierReceiptPage-CZeePZC9.js → CashierReceiptPage-jOvSgAwI.js} +120 -120
- package/components/{CashierSessionExpirationModal-BPldMBVE.js → CashierSessionExpirationModal-AuAN6pay.js} +101 -101
- package/components/{CashierSessionExpirationModal-Cz1afgS4.js → CashierSessionExpirationModal-CkW9fuJk.js} +126 -126
- package/components/{CashierSpinner-KjYxk-2u.js → CashierSpinner-CPHEajyJ.js} +10 -10
- package/components/{CashierSpinner-CgDvXALe.js → CashierSpinner-DzldbJli.js} +6 -6
- package/components/{CashierStepUp-B6BpFfdo.js → CashierStepUp-DpjWLNEu.js} +132 -132
- package/components/{CashierStepUp-cDHtd1oq.js → CashierStepUp-XUIof8gV.js} +49 -49
- package/components/{CashierTransactionHistory-BjzUPyax.js → CashierTransactionHistory-BhMVeP4U.js} +110 -110
- package/components/{CashierTransactionHistory-iZbHQci1.js → CashierTransactionHistory-FFXbkfUa.js} +110 -110
- package/components/{CashierVerifications-CrYjYgSf.js → CashierVerifications-CG9b_Uea.js} +43 -43
- package/components/{CashierVerifications-CIdvrs4W.js → CashierVerifications-DEOjz_us.js} +60 -60
- package/components/{TxnStatusIcon-CoWQkGDs.js → TxnStatusIcon-B6EI9tWy.js} +23 -23
- package/components/{TxnStatusIcon-Dg5tmppw.js → TxnStatusIcon-CFyjzJe_.js} +28 -28
- package/components/{TxnTypeIcons-DFh_jBgP.js → TxnTypeIcons-BHOLXQeh.js} +1 -1
- package/components/{TxnTypeIcons-DcPvLvK7.js → TxnTypeIcons-DEdkYlg3.js} +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as
|
|
1
|
+
import { a as Ce, i as _e, $ as Me, S as ke, b as De, s as Le, f as A, d as Ne, z as te, g as R, w as I, l as E, m as c, n as g, x as V, o as S, p, q as Te, r as Se, y as re, C as Q, D as $, E as le, F as Pe, G as We, A as q, H as Ae, I as ee, J as ne, K as Fe, c as ze, B as Ie } from "./CashierPage-Dd8aLbzf.js";
|
|
2
|
+
import { s as Ve, a as Re, b as Ee } from "./CashierHeader-12-kNdqx.js";
|
|
3
3
|
function se(e, t) {
|
|
4
4
|
Ce(e, t);
|
|
5
5
|
}
|
|
@@ -64,7 +64,7 @@ function je(e) {
|
|
|
64
64
|
), l;
|
|
65
65
|
return {
|
|
66
66
|
c() {
|
|
67
|
-
t = g("p"), l =
|
|
67
|
+
t = g("p"), l = V(a), p(t, "class", "NoFavoritePaymentMethods");
|
|
68
68
|
},
|
|
69
69
|
m(s, f) {
|
|
70
70
|
E(s, t, f), c(t, l);
|
|
@@ -72,7 +72,7 @@ function je(e) {
|
|
|
72
72
|
p(s, f) {
|
|
73
73
|
f[0] & /*$_*/
|
|
74
74
|
512 && a !== (a = /*$_*/
|
|
75
|
-
s[9]("noFavoritePaymentMethods") + "") &&
|
|
75
|
+
s[9]("noFavoritePaymentMethods") + "") && I(l, a);
|
|
76
76
|
},
|
|
77
77
|
d(s) {
|
|
78
78
|
s && R(t);
|
|
@@ -80,11 +80,11 @@ function je(e) {
|
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
function Ze(e) {
|
|
83
|
-
let t, a = !
|
|
83
|
+
let t, a = !Q(
|
|
84
84
|
/*userAgent*/
|
|
85
85
|
e[10]
|
|
86
86
|
) && /*promotedPaymentMethods*/
|
|
87
|
-
e[5].length > 1, l, s, f, D = !
|
|
87
|
+
e[5].length > 1, l, s, f, D = !Q(
|
|
88
88
|
/*userAgent*/
|
|
89
89
|
e[10]
|
|
90
90
|
) && /*promotedPaymentMethods*/
|
|
@@ -102,13 +102,13 @@ function Ze(e) {
|
|
|
102
102
|
b[i] = he(ce(e, m, i));
|
|
103
103
|
return {
|
|
104
104
|
c() {
|
|
105
|
-
t = g("div"), h && h.c(), l =
|
|
105
|
+
t = g("div"), h && h.c(), l = S(), s = g("div");
|
|
106
106
|
for (let i = 0; i < u.length; i += 1)
|
|
107
107
|
u[i].c();
|
|
108
|
-
f =
|
|
108
|
+
f = S(), d && d.c(), M = S(), v = g("div");
|
|
109
109
|
for (let i = 0; i < b.length; i += 1)
|
|
110
110
|
b[i].c();
|
|
111
|
-
p(s, "class", "Carousel"), p(t, "class", "CarouselCardsContainer"),
|
|
111
|
+
p(s, "class", "Carousel"), p(t, "class", "CarouselCardsContainer"), Ae(() => (
|
|
112
112
|
/*div1_elementresize_handler*/
|
|
113
113
|
e[30].call(t)
|
|
114
114
|
)), p(v, "class", "VisualDotIndicator");
|
|
@@ -125,19 +125,19 @@ function Ze(e) {
|
|
|
125
125
|
for (let n = 0; n < b.length; n += 1)
|
|
126
126
|
b[n] && b[n].m(v, null);
|
|
127
127
|
k || (L = [
|
|
128
|
-
|
|
128
|
+
q(
|
|
129
129
|
s,
|
|
130
130
|
"touchstart",
|
|
131
131
|
/*handleTouchStart*/
|
|
132
132
|
e[12]
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
q(
|
|
135
135
|
s,
|
|
136
136
|
"touchmove",
|
|
137
137
|
/*handleTouchMove*/
|
|
138
138
|
e[13]
|
|
139
139
|
),
|
|
140
|
-
|
|
140
|
+
q(
|
|
141
141
|
s,
|
|
142
142
|
"touchend",
|
|
143
143
|
/*handleTouchEnd*/
|
|
@@ -147,7 +147,7 @@ function Ze(e) {
|
|
|
147
147
|
},
|
|
148
148
|
p(i, o) {
|
|
149
149
|
if (o[0] & /*promotedPaymentMethods*/
|
|
150
|
-
32 && (a = !
|
|
150
|
+
32 && (a = !Q(
|
|
151
151
|
/*userAgent*/
|
|
152
152
|
i[10]
|
|
153
153
|
) && /*promotedPaymentMethods*/
|
|
@@ -167,7 +167,7 @@ function Ze(e) {
|
|
|
167
167
|
u.length = y.length;
|
|
168
168
|
}
|
|
169
169
|
if (o[0] & /*promotedPaymentMethods*/
|
|
170
|
-
32 && (D = !
|
|
170
|
+
32 && (D = !Q(
|
|
171
171
|
/*userAgent*/
|
|
172
172
|
i[10]
|
|
173
173
|
) && /*promotedPaymentMethods*/
|
|
@@ -188,7 +188,7 @@ function Ze(e) {
|
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
d(i) {
|
|
191
|
-
i && (R(t), R(M), R(v)), h && h.d(), le(u, i), e[28](null), d && d.d(), C(), le(b, i), k = !1,
|
|
191
|
+
i && (R(t), R(M), R(v)), h && h.d(), le(u, i), e[28](null), d && d.d(), C(), le(b, i), k = !1, Pe(L);
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
}
|
|
@@ -199,7 +199,7 @@ function de(e) {
|
|
|
199
199
|
t = g("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', p(t, "class", "NavigationArrow Left");
|
|
200
200
|
},
|
|
201
201
|
m(s, f) {
|
|
202
|
-
E(s, t, f), a || (l =
|
|
202
|
+
E(s, t, f), a || (l = q(
|
|
203
203
|
t,
|
|
204
204
|
"click",
|
|
205
205
|
/*click_handler*/
|
|
@@ -225,7 +225,7 @@ function me(e) {
|
|
|
225
225
|
), m, b, i, o, n, N = (
|
|
226
226
|
/*$_*/
|
|
227
227
|
e[9]("generalMin") + ""
|
|
228
|
-
), X, w,
|
|
228
|
+
), X, w, P = ee(
|
|
229
229
|
/*method*/
|
|
230
230
|
e[45].DisplayCurrency.MinAmountLimit,
|
|
231
231
|
/*method*/
|
|
@@ -248,10 +248,10 @@ function me(e) {
|
|
|
248
248
|
e[8]
|
|
249
249
|
)
|
|
250
250
|
}
|
|
251
|
-
) + "",
|
|
251
|
+
) + "", F, K, H, Z = (
|
|
252
252
|
/*$_*/
|
|
253
253
|
e[9]("generalMax") + ""
|
|
254
|
-
), B,
|
|
254
|
+
), B, O, W = ee(
|
|
255
255
|
/*method*/
|
|
256
256
|
e[45].DisplayCurrency.MaxAmountLimit,
|
|
257
257
|
/*method*/
|
|
@@ -274,7 +274,7 @@ function me(e) {
|
|
|
274
274
|
e[8]
|
|
275
275
|
)
|
|
276
276
|
}
|
|
277
|
-
) + "",
|
|
277
|
+
) + "", G, Y, U, J, x;
|
|
278
278
|
function ae() {
|
|
279
279
|
return (
|
|
280
280
|
/*click_handler_1*/
|
|
@@ -288,14 +288,14 @@ function me(e) {
|
|
|
288
288
|
}
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
|
-
t = g("div"), a = g("div"), l = g("img"), D =
|
|
291
|
+
t = g("div"), a = g("div"), l = g("img"), D = S(), C = g("div"), M = g("div"), v = g("span"), L = V(k), h = S(), y = g("div"), u = g("span"), m = V(d), b = S(), i = g("div"), o = g("span"), n = g("span"), X = V(N), w = S(), F = V(P), K = S(), H = g("span"), B = V(Z), O = S(), G = V(W), Y = S(), ne(l.src, s = /*method*/
|
|
292
292
|
e[45].LogoUrl) || p(l, "src", s), p(l, "alt", f = /*method*/
|
|
293
293
|
e[45].Label), p(a, "class", "MethodLogo"), p(M, "class", "MethodTitle"), p(y, "class", "MethodProcessingTime"), p(o, "class", "Limits"), p(i, "class", "MethodLimits"), p(C, "class", "MethodInfo"), p(t, "class", U = `CarouselCardWrapper ${/*index*/
|
|
294
294
|
e[44] === /*activeIndex*/
|
|
295
295
|
e[6] ? "active" : ""}`);
|
|
296
296
|
},
|
|
297
297
|
m(j, T) {
|
|
298
|
-
E(j, t, T), c(t, a), c(a, l), c(t, D), c(t, C), c(C, M), c(M, v), c(v, L), c(C, h), c(C, y), c(y, u), c(u, m), c(C, b), c(C, i), c(i, o), c(o, n), c(n, X), c(n, w), c(n,
|
|
298
|
+
E(j, t, T), c(t, a), c(a, l), c(t, D), c(t, C), c(C, M), c(M, v), c(v, L), c(C, h), c(C, y), c(y, u), c(u, m), c(C, b), c(C, i), c(i, o), c(o, n), c(n, X), c(n, w), c(n, F), c(o, K), c(o, H), c(H, B), c(H, O), c(H, G), c(t, Y), e[27](t), J || (x = q(t, "click", ae), J = !0);
|
|
299
299
|
},
|
|
300
300
|
p(j, T) {
|
|
301
301
|
e = j, T[0] & /*promotedPaymentMethods*/
|
|
@@ -305,14 +305,14 @@ function me(e) {
|
|
|
305
305
|
e[45].Label) && p(l, "alt", f), T[0] & /*promotedPaymentMethods*/
|
|
306
306
|
32 && k !== (k = /*method*/
|
|
307
307
|
(e[45].Label || /*method*/
|
|
308
|
-
e[45].Name) + "") &&
|
|
308
|
+
e[45].Name) + "") && I(L, k), T[0] & /*$_, methodtype, promotedPaymentMethods*/
|
|
309
309
|
545 && d !== (d = /*$_*/
|
|
310
310
|
e[9](`${/*methodtype*/
|
|
311
311
|
e[0]}${/*method*/
|
|
312
|
-
e[45].ProcessingTime}`) + "") &&
|
|
312
|
+
e[45].ProcessingTime}`) + "") && I(m, d), T[0] & /*$_*/
|
|
313
313
|
512 && N !== (N = /*$_*/
|
|
314
|
-
e[9]("generalMin") + "") &&
|
|
315
|
-
304 &&
|
|
314
|
+
e[9]("generalMin") + "") && I(X, N), T[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
315
|
+
304 && P !== (P = ee(
|
|
316
316
|
/*method*/
|
|
317
317
|
e[45].DisplayCurrency.MinAmountLimit,
|
|
318
318
|
/*method*/
|
|
@@ -335,9 +335,9 @@ function me(e) {
|
|
|
335
335
|
e[8]
|
|
336
336
|
)
|
|
337
337
|
}
|
|
338
|
-
) + "") &&
|
|
338
|
+
) + "") && I(F, P), T[0] & /*$_*/
|
|
339
339
|
512 && Z !== (Z = /*$_*/
|
|
340
|
-
e[9]("generalMax") + "") &&
|
|
340
|
+
e[9]("generalMax") + "") && I(B, Z), T[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
341
341
|
304 && W !== (W = ee(
|
|
342
342
|
/*method*/
|
|
343
343
|
e[45].DisplayCurrency.MaxAmountLimit,
|
|
@@ -361,13 +361,13 @@ function me(e) {
|
|
|
361
361
|
e[8]
|
|
362
362
|
)
|
|
363
363
|
}
|
|
364
|
-
) + "") &&
|
|
364
|
+
) + "") && I(G, W), T[0] & /*activeIndex*/
|
|
365
365
|
64 && U !== (U = `CarouselCardWrapper ${/*index*/
|
|
366
366
|
e[44] === /*activeIndex*/
|
|
367
367
|
e[6] ? "active" : ""}`) && p(t, "class", U);
|
|
368
368
|
},
|
|
369
369
|
d(j) {
|
|
370
|
-
j && R(t), e[27](null),
|
|
370
|
+
j && R(t), e[27](null), J = !1, x();
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
373
|
}
|
|
@@ -378,7 +378,7 @@ function fe(e) {
|
|
|
378
378
|
t = g("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', p(t, "class", "NavigationArrow Right");
|
|
379
379
|
},
|
|
380
380
|
m(s, f) {
|
|
381
|
-
E(s, t, f), a || (l =
|
|
381
|
+
E(s, t, f), a || (l = q(
|
|
382
382
|
t,
|
|
383
383
|
"click",
|
|
384
384
|
/*click_handler_2*/
|
|
@@ -430,7 +430,7 @@ function Ue(e) {
|
|
|
430
430
|
let y = h(e), u = y(e);
|
|
431
431
|
return {
|
|
432
432
|
c() {
|
|
433
|
-
t = g("div"), a = g("div"), l = g("div"), s = g("h4"), D =
|
|
433
|
+
t = g("div"), a = g("div"), l = g("div"), s = g("h4"), D = V(f), C = S(), M = g("p"), k = V(v), L = S(), u.c(), p(l, "class", "CarouselHeader"), p(a, "class", "CashierCarouselWarpper");
|
|
434
434
|
},
|
|
435
435
|
m(d, m) {
|
|
436
436
|
E(d, t, m), c(t, a), c(a, l), c(l, s), c(s, D), c(l, C), c(l, M), c(M, k), c(a, L), u.m(a, null), e[31](t);
|
|
@@ -438,9 +438,9 @@ function Ue(e) {
|
|
|
438
438
|
p(d, m) {
|
|
439
439
|
m[0] & /*$_*/
|
|
440
440
|
512 && f !== (f = /*$_*/
|
|
441
|
-
d[9]("carouselTitle") + "") &&
|
|
441
|
+
d[9]("carouselTitle") + "") && I(D, f), m[0] & /*$_*/
|
|
442
442
|
512 && v !== (v = /*$_*/
|
|
443
|
-
d[9]("carouselSubtitle") + "") &&
|
|
443
|
+
d[9]("carouselSubtitle") + "") && I(k, v), y === (y = h(d)) && u ? u.p(d, m) : (u.d(1), u = y(d), u && (u.c(), u.m(a, null)));
|
|
444
444
|
},
|
|
445
445
|
i: te,
|
|
446
446
|
o: te,
|
|
@@ -451,8 +451,8 @@ function Ue(e) {
|
|
|
451
451
|
}
|
|
452
452
|
function xe(e, t, a) {
|
|
453
453
|
let l, s;
|
|
454
|
-
Te(e,
|
|
455
|
-
let { lang: f = "en" } = t, { local: D = "en-US" } = t, { currencysymbol: C = "true" } = t, { currencyposition: M = "" } = t, { currencydecimals: v = "0" } = t, { methodtype: k = "" } = t, { clientstyling: L = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: y = "" } = t, { translationurl: u = "" } = t, d = {}, m, b, i = [], o = 0, n = !0, N = 0, X = !1, w,
|
|
454
|
+
Te(e, Ie, (r) => a(9, s = r));
|
|
455
|
+
let { lang: f = "en" } = t, { local: D = "en-US" } = t, { currencysymbol: C = "true" } = t, { currencyposition: M = "" } = t, { currencydecimals: v = "0" } = t, { methodtype: k = "" } = t, { clientstyling: L = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: y = "" } = t, { translationurl: u = "" } = t, d = {}, m, b, i = [], o = 0, n = !0, N = 0, X = !1, w, P, F, K = window.navigator.userAgent;
|
|
456
456
|
const H = (r) => {
|
|
457
457
|
const { data: { type: _ } = {} } = r || {};
|
|
458
458
|
switch (_) {
|
|
@@ -481,7 +481,7 @@ function xe(e, t, a) {
|
|
|
481
481
|
});
|
|
482
482
|
}, B = () => {
|
|
483
483
|
Xe(f);
|
|
484
|
-
},
|
|
484
|
+
}, O = (r, _) => {
|
|
485
485
|
a(6, o = _), a(2, w.style.transform = W(), w), r.Name, window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
|
|
486
486
|
"selectPayMeth",
|
|
487
487
|
{
|
|
@@ -492,11 +492,11 @@ function xe(e, t, a) {
|
|
|
492
492
|
}
|
|
493
493
|
));
|
|
494
494
|
}, W = () => {
|
|
495
|
-
const r = parseFloat(getComputedStyle(
|
|
495
|
+
const r = parseFloat(getComputedStyle(F).getPropertyValue("--emw-cashier-card-width")) || 78, _ = parseFloat(getComputedStyle(w).getPropertyValue("--emw-cashier-card-gap")) || 10, z = parseFloat(getComputedStyle(F).getPropertyValue("--emw-cashier-card-width-active")) || 100, ie = r + _, be = P / 2, we = o * ie + z / 2;
|
|
496
496
|
return `translateX(${be - we}px)`;
|
|
497
|
-
},
|
|
497
|
+
}, G = (r) => {
|
|
498
498
|
N = r.touches[0].clientX, X = !0, w.classList.add("dragging");
|
|
499
|
-
},
|
|
499
|
+
}, Y = (r) => {
|
|
500
500
|
if (!X)
|
|
501
501
|
return;
|
|
502
502
|
const _ = r.touches[0].clientX;
|
|
@@ -507,18 +507,18 @@ function xe(e, t, a) {
|
|
|
507
507
|
X = !1, w.classList.remove("dragging");
|
|
508
508
|
const _ = r.changedTouches[0].clientX, z = N - _;
|
|
509
509
|
Math.abs(z) > 50 && (z > 0 && o < i.length - 1 ? a(6, o++, o) : z < 0 && o > 0 && a(6, o--, o), a(2, w.style.transform = W(), w));
|
|
510
|
-
},
|
|
510
|
+
}, J = () => {
|
|
511
511
|
n && (a(2, w.style.transform = W(), w), n = !1);
|
|
512
512
|
}, x = (r) => {
|
|
513
513
|
r === "next" && o < i.length - 1 ? a(6, o++, o) : r === "prev" && o > 0 && a(6, o--, o), a(2, w.style.transform = W(), w);
|
|
514
514
|
};
|
|
515
|
-
|
|
515
|
+
Se(() => (Fe(D, C, M, v), window.addEventListener("message", H), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), w && W(), () => {
|
|
516
516
|
window.removeEventListener("message", H);
|
|
517
517
|
}));
|
|
518
|
-
const ae = () => x("prev"), j = (r, _) =>
|
|
518
|
+
const ae = () => x("prev"), j = (r, _) => O(r, _);
|
|
519
519
|
function T(r) {
|
|
520
520
|
re[r ? "unshift" : "push"](() => {
|
|
521
|
-
|
|
521
|
+
F = r, a(7, F);
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
524
|
function ge(r) {
|
|
@@ -528,7 +528,7 @@ function xe(e, t, a) {
|
|
|
528
528
|
}
|
|
529
529
|
const pe = () => x("next");
|
|
530
530
|
function ye() {
|
|
531
|
-
|
|
531
|
+
P = this.clientWidth, a(3, P);
|
|
532
532
|
}
|
|
533
533
|
function ve(r) {
|
|
534
534
|
re[r ? "unshift" : "push"](() => {
|
|
@@ -541,8 +541,8 @@ function xe(e, t, a) {
|
|
|
541
541
|
e.$$.dirty[0] & /*lang*/
|
|
542
542
|
65536 && f && B(), e.$$.dirty[0] & /*lang, translationurl*/
|
|
543
543
|
16842752 && f && u && Z(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
|
|
544
|
-
12 && w &&
|
|
545
|
-
2097154 && L && m &&
|
|
544
|
+
12 && w && P && J(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
545
|
+
2097154 && L && m && Ve(m, L), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
546
546
|
4194306 && h && m && Re(m, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
547
547
|
8388610 && y && m && Ee(m, `${y}.Style`, b), e.$$.dirty[0] & /*currencydecimals*/
|
|
548
548
|
1048576 && a(8, l = Number(v));
|
|
@@ -550,17 +550,17 @@ function xe(e, t, a) {
|
|
|
550
550
|
k,
|
|
551
551
|
m,
|
|
552
552
|
w,
|
|
553
|
-
|
|
553
|
+
P,
|
|
554
554
|
d,
|
|
555
555
|
i,
|
|
556
556
|
o,
|
|
557
|
-
|
|
557
|
+
F,
|
|
558
558
|
l,
|
|
559
559
|
s,
|
|
560
|
+
K,
|
|
561
|
+
O,
|
|
560
562
|
G,
|
|
561
|
-
q,
|
|
562
563
|
Y,
|
|
563
|
-
J,
|
|
564
564
|
U,
|
|
565
565
|
x,
|
|
566
566
|
f,
|
|
@@ -581,7 +581,7 @@ function xe(e, t, a) {
|
|
|
581
581
|
ve
|
|
582
582
|
];
|
|
583
583
|
}
|
|
584
|
-
class
|
|
584
|
+
class qe extends ke {
|
|
585
585
|
constructor(t) {
|
|
586
586
|
super(), De(
|
|
587
587
|
this,
|
|
@@ -609,64 +609,64 @@ class Oe extends ke {
|
|
|
609
609
|
return this.$$.ctx[16];
|
|
610
610
|
}
|
|
611
611
|
set lang(t) {
|
|
612
|
-
this.$$set({ lang: t }),
|
|
612
|
+
this.$$set({ lang: t }), A();
|
|
613
613
|
}
|
|
614
614
|
get local() {
|
|
615
615
|
return this.$$.ctx[17];
|
|
616
616
|
}
|
|
617
617
|
set local(t) {
|
|
618
|
-
this.$$set({ local: t }),
|
|
618
|
+
this.$$set({ local: t }), A();
|
|
619
619
|
}
|
|
620
620
|
get currencysymbol() {
|
|
621
621
|
return this.$$.ctx[18];
|
|
622
622
|
}
|
|
623
623
|
set currencysymbol(t) {
|
|
624
|
-
this.$$set({ currencysymbol: t }),
|
|
624
|
+
this.$$set({ currencysymbol: t }), A();
|
|
625
625
|
}
|
|
626
626
|
get currencyposition() {
|
|
627
627
|
return this.$$.ctx[19];
|
|
628
628
|
}
|
|
629
629
|
set currencyposition(t) {
|
|
630
|
-
this.$$set({ currencyposition: t }),
|
|
630
|
+
this.$$set({ currencyposition: t }), A();
|
|
631
631
|
}
|
|
632
632
|
get currencydecimals() {
|
|
633
633
|
return this.$$.ctx[20];
|
|
634
634
|
}
|
|
635
635
|
set currencydecimals(t) {
|
|
636
|
-
this.$$set({ currencydecimals: t }),
|
|
636
|
+
this.$$set({ currencydecimals: t }), A();
|
|
637
637
|
}
|
|
638
638
|
get methodtype() {
|
|
639
639
|
return this.$$.ctx[0];
|
|
640
640
|
}
|
|
641
641
|
set methodtype(t) {
|
|
642
|
-
this.$$set({ methodtype: t }),
|
|
642
|
+
this.$$set({ methodtype: t }), A();
|
|
643
643
|
}
|
|
644
644
|
get clientstyling() {
|
|
645
645
|
return this.$$.ctx[21];
|
|
646
646
|
}
|
|
647
647
|
set clientstyling(t) {
|
|
648
|
-
this.$$set({ clientstyling: t }),
|
|
648
|
+
this.$$set({ clientstyling: t }), A();
|
|
649
649
|
}
|
|
650
650
|
get clientstylingurl() {
|
|
651
651
|
return this.$$.ctx[22];
|
|
652
652
|
}
|
|
653
653
|
set clientstylingurl(t) {
|
|
654
|
-
this.$$set({ clientstylingurl: t }),
|
|
654
|
+
this.$$set({ clientstylingurl: t }), A();
|
|
655
655
|
}
|
|
656
656
|
get mbsource() {
|
|
657
657
|
return this.$$.ctx[23];
|
|
658
658
|
}
|
|
659
659
|
set mbsource(t) {
|
|
660
|
-
this.$$set({ mbsource: t }),
|
|
660
|
+
this.$$set({ mbsource: t }), A();
|
|
661
661
|
}
|
|
662
662
|
get translationurl() {
|
|
663
663
|
return this.$$.ctx[24];
|
|
664
664
|
}
|
|
665
665
|
set translationurl(t) {
|
|
666
|
-
this.$$set({ translationurl: t }),
|
|
666
|
+
this.$$set({ translationurl: t }), A();
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
ze(
|
|
669
|
+
ze(qe, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
670
670
|
export {
|
|
671
|
-
|
|
671
|
+
qe as default
|
|
672
672
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var R = (i, e, t) => new Promise((r, o) => {
|
|
2
2
|
var a = (d) => {
|
|
3
3
|
try {
|
|
4
4
|
l(t.next(d));
|
|
@@ -14,10 +14,10 @@ var N = (i, e, t) => new Promise((r, o) => {
|
|
|
14
14
|
}, l = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(a, n);
|
|
15
15
|
l((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { s as fe, a as pe, b as ye } from "./CashierHeader-
|
|
17
|
+
import { a as ee, i as te, $ as ie, S as ne, b as ae, s as re, f as T, c as oe, d as M, e as h, t as A, g as P, u as W, h as x, j as O, k as v, l as k, m as b, n as L, o as E, p as se, q as le, r as B, v as D, w as I, z as ue, x as de, J as N, O as V, A as ce, B as me } from "./CashierPage-C28wB4Yx.js";
|
|
18
|
+
import { s as fe, a as pe, b as ye } from "./CashierHeader-DLB-b0Aq.js";
|
|
19
19
|
import "../stencil/ui-image-CNaRr0ax.js";
|
|
20
|
-
function
|
|
20
|
+
function q(i, e) {
|
|
21
21
|
ee(i, e);
|
|
22
22
|
}
|
|
23
23
|
function ge(i) {
|
|
@@ -25,7 +25,7 @@ function ge(i) {
|
|
|
25
25
|
fallbackLocale: "en"
|
|
26
26
|
}), ie.set(i);
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const F = {
|
|
29
29
|
en: {
|
|
30
30
|
VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
|
|
31
31
|
CustomerDocumentIdMissing: "The document ID is missing",
|
|
@@ -181,12 +181,12 @@ const q = {
|
|
|
181
181
|
function he(i) {
|
|
182
182
|
oe(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
|
|
183
183
|
}
|
|
184
|
-
const ve = (i) => ({}),
|
|
185
|
-
function
|
|
184
|
+
const ve = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({}), _e = (i) => ({}), G = (i) => ({ class: "CashierErrorIcon" });
|
|
185
|
+
function j(i) {
|
|
186
186
|
let e, t;
|
|
187
187
|
return {
|
|
188
188
|
c() {
|
|
189
|
-
e = b("ui-image"),
|
|
189
|
+
e = b("ui-image"), N(e.src, t = `${/*assetsurl*/
|
|
190
190
|
i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
|
|
191
191
|
},
|
|
192
192
|
m(r, o) {
|
|
@@ -194,7 +194,7 @@ function Y(i) {
|
|
|
194
194
|
},
|
|
195
195
|
p(r, o) {
|
|
196
196
|
o & /*assetsurl*/
|
|
197
|
-
1 && !
|
|
197
|
+
1 && !N(e.src, t = `${/*assetsurl*/
|
|
198
198
|
r[0]}/error-general-icon.png`) && V(e, "src", t);
|
|
199
199
|
},
|
|
200
200
|
d(r) {
|
|
@@ -205,7 +205,7 @@ function Y(i) {
|
|
|
205
205
|
function ze(i) {
|
|
206
206
|
let e, t = (
|
|
207
207
|
/*assetsurl*/
|
|
208
|
-
i[0] &&
|
|
208
|
+
i[0] && j(i)
|
|
209
209
|
);
|
|
210
210
|
return {
|
|
211
211
|
c() {
|
|
@@ -216,14 +216,14 @@ function ze(i) {
|
|
|
216
216
|
},
|
|
217
217
|
p(r, o) {
|
|
218
218
|
/*assetsurl*/
|
|
219
|
-
r[0] ? t ? t.p(r, o) : (t =
|
|
219
|
+
r[0] ? t ? t.p(r, o) : (t = j(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
220
220
|
},
|
|
221
221
|
d(r) {
|
|
222
222
|
r && h(e), t && t.d(r);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function J(i) {
|
|
227
227
|
let e;
|
|
228
228
|
function t(a, n) {
|
|
229
229
|
return (
|
|
@@ -253,7 +253,7 @@ function Ce(i) {
|
|
|
253
253
|
i[5]("DepositWageringLimitText") + ""
|
|
254
254
|
), r, o, a = (
|
|
255
255
|
/*depositWageringAmount*/
|
|
256
|
-
i[3] > 0 &&
|
|
256
|
+
i[3] > 0 && Y(i)
|
|
257
257
|
);
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
@@ -266,7 +266,7 @@ function Ce(i) {
|
|
|
266
266
|
l & /*$_*/
|
|
267
267
|
32 && t !== (t = /*$_*/
|
|
268
268
|
n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
|
|
269
|
-
n[3] > 0 ? a ? a.p(n, l) : (a =
|
|
269
|
+
n[3] > 0 ? a ? a.p(n, l) : (a = Y(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
|
|
270
270
|
},
|
|
271
271
|
d(n) {
|
|
272
272
|
n && h(e), a && a.d();
|
|
@@ -295,7 +295,7 @@ function Te(i) {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Y(i) {
|
|
299
299
|
let e, t, r;
|
|
300
300
|
return {
|
|
301
301
|
c() {
|
|
@@ -335,7 +335,7 @@ function Ee(i) {
|
|
|
335
335
|
i[1] || "errorGeneralText"}`) + ""
|
|
336
336
|
), r, o, a, n = (
|
|
337
337
|
/*errorcode*/
|
|
338
|
-
i[1] == "DepositWageringLimit" &&
|
|
338
|
+
i[1] == "DepositWageringLimit" && J(i)
|
|
339
339
|
);
|
|
340
340
|
return {
|
|
341
341
|
c() {
|
|
@@ -349,7 +349,7 @@ function Ee(i) {
|
|
|
349
349
|
34 && t !== (t = /*$_*/
|
|
350
350
|
l[5](`${/*errorcode*/
|
|
351
351
|
l[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
|
|
352
|
-
l[1] == "DepositWageringLimit" ? n ? n.p(l, d) : (n =
|
|
352
|
+
l[1] == "DepositWageringLimit" ? n ? n.p(l, d) : (n = J(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
|
|
353
353
|
},
|
|
354
354
|
d(l) {
|
|
355
355
|
l && (h(e), h(o), h(a)), n && n.d(l);
|
|
@@ -420,7 +420,7 @@ function Le(i) {
|
|
|
420
420
|
i,
|
|
421
421
|
/*$$scope*/
|
|
422
422
|
i[12],
|
|
423
|
-
|
|
423
|
+
H
|
|
424
424
|
), g = C || we(i);
|
|
425
425
|
return {
|
|
426
426
|
c() {
|
|
@@ -503,7 +503,7 @@ function Le(i) {
|
|
|
503
503
|
/*$$scope*/
|
|
504
504
|
s[12]
|
|
505
505
|
),
|
|
506
|
-
|
|
506
|
+
H
|
|
507
507
|
) : g && g.p && (!n || m & /*$_*/
|
|
508
508
|
32) && g.p(s, n ? m : -1);
|
|
509
509
|
},
|
|
@@ -524,7 +524,7 @@ function De(i, e, t) {
|
|
|
524
524
|
let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: d = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, C;
|
|
525
525
|
const g = () => {
|
|
526
526
|
ge(l);
|
|
527
|
-
}, s = () =>
|
|
527
|
+
}, s = () => R(this, null, function* () {
|
|
528
528
|
if (f)
|
|
529
529
|
try {
|
|
530
530
|
const u = yield fetch(f);
|
|
@@ -532,14 +532,14 @@ function De(i, e, t) {
|
|
|
532
532
|
throw new Error(`HTTP error! status: ${u.status}`);
|
|
533
533
|
const Q = yield u.json();
|
|
534
534
|
Object.entries(Q).forEach(([Z, $]) => {
|
|
535
|
-
|
|
535
|
+
q(Z, $);
|
|
536
536
|
});
|
|
537
537
|
} catch (u) {
|
|
538
538
|
console.error(u);
|
|
539
539
|
}
|
|
540
540
|
});
|
|
541
|
-
Object.keys(
|
|
542
|
-
|
|
541
|
+
Object.keys(F).forEach((u) => {
|
|
542
|
+
q(u, F[u]);
|
|
543
543
|
});
|
|
544
544
|
const m = () => {
|
|
545
545
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|