@everymatrix/cashier-page-nd 1.69.162 → 1.69.164
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-D8MiOwuE.js → CashierCarousel-BkxqQsTs.js} +1 -1
- package/components/{CashierCarousel-CecQbbdW.cjs → CashierCarousel-DLUbuwdu.cjs} +1 -1
- package/components/{CashierCarousel-BNKjZ4dF.js → CashierCarousel-Dae2rVRY.js} +1 -1
- package/components/{CashierError-DZSJKCbW.js → CashierError-BUXHzPpb.js} +1 -1
- package/components/{CashierError-7qg__v0Z.js → CashierError-BVvTAzXE.js} +1 -1
- package/components/{CashierError-BorUJmCn.cjs → CashierError-ChQkJUwy.cjs} +1 -1
- package/components/{CashierHeader-B3b8zbwP.cjs → CashierHeader-BxTgO9aM.cjs} +1 -1
- package/components/{CashierHeader-B9Y-DaUB.js → CashierHeader-CcCVj7t9.js} +1 -1
- package/components/{CashierHeader-CzpZDjFX.js → CashierHeader-DrtIIkBZ.js} +1 -1
- package/components/{CashierIframeRedirect-aTaiu0hG.js → CashierIframeRedirect-AaUCvP_d.js} +3 -3
- package/components/{CashierIframeRedirect-YYamzRsf.cjs → CashierIframeRedirect-BooO3zSl.cjs} +1 -1
- package/components/{CashierIframeRedirect-B_A79AFN.js → CashierIframeRedirect-qQQ2gBfQ.js} +3 -3
- package/components/{CashierMethodDetails-BzVSr2on.js → CashierMethodDetails-BaOZsofb.js} +417 -403
- package/components/{CashierMethodDetails-C1kjc4-Q.cjs → CashierMethodDetails-DZk4_JCm.cjs} +4 -4
- package/components/{CashierMethodDetails-Bxh5WhVb.js → CashierMethodDetails-Dxx1cpXs.js} +444 -430
- package/components/{CashierMethodsList-D9ypDDJW.cjs → CashierMethodsList-BySSv6nB.cjs} +1 -1
- package/components/{CashierMethodsList-CBnuQYXc.js → CashierMethodsList-CUv1cBcn.js} +123 -124
- package/components/{CashierMethodsList-CLQK5Xcn.js → CashierMethodsList-WMZ8vVoX.js} +98 -99
- package/components/{CashierModal-BE9c03E8.js → CashierModal-A1gXLpiV.js} +70 -70
- package/components/{CashierModal-Diij1t-w.cjs → CashierModal-Be16Q89a.cjs} +1 -1
- package/components/{CashierModal-R6fQk7sI.js → CashierModal-CktLUqlC.js} +81 -81
- package/components/{CashierNotifications-kuNLTOB3.cjs → CashierNotifications-Bj6zY8ZH.cjs} +1 -1
- package/components/{CashierNotifications-5EjGguMj.js → CashierNotifications-C1JBCLi7.js} +1 -1
- package/components/{CashierNotifications-mhDeZtGd.js → CashierNotifications-DT7ZSHhX.js} +1 -1
- package/components/{CashierPage-DcE7E_Wf.cjs → CashierPage-B_C5cSFv.cjs} +1 -1
- package/components/{CashierPage-BREFnfc1.js → CashierPage-Cd5eESH_.js} +11 -11
- package/components/{CashierPage-y5YsPxSa.js → CashierPage-NHUrGGhV.js} +11 -11
- package/components/CashierReceiptPage-D-W3fVNY.cjs +28 -0
- package/components/{CashierReceiptPage-CNwhHWwV.js → CashierReceiptPage-Doc0ECC3.js} +589 -553
- package/components/{CashierReceiptPage-BbHKdDra.js → CashierReceiptPage-Dvui5TTb.js} +569 -541
- package/components/{CashierSessionExpirationModal-33ygvBxj.cjs → CashierSessionExpirationModal-Bhht_vR9.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-D6h6euRq.js → CashierSessionExpirationModal-BqWiQ3F5.js} +3 -3
- package/components/{CashierSessionExpirationModal-BQujD7Vd.js → CashierSessionExpirationModal-BsZu87Zd.js} +3 -3
- package/components/{CashierSpinner-DVLxgI0s.cjs → CashierSpinner-BVe_nukD.cjs} +1 -1
- package/components/{CashierSpinner-CYSebSGZ.js → CashierSpinner-Chi54VTJ.js} +1 -1
- package/components/{CashierSpinner-DIyI0RD1.js → CashierSpinner-fnBFcFF2.js} +1 -1
- package/components/{CashierStepUp-DEb05cBS.js → CashierStepUp-C4ksl4oX.js} +1 -1
- package/components/{CashierStepUp-DnvNxlcq.js → CashierStepUp-CpOoj0xs.js} +1 -1
- package/components/{CashierStepUp-B9H7E8wY.cjs → CashierStepUp-UF98i2XC.cjs} +1 -1
- package/components/{CashierTransactionHistory-CX3RviXD.js → CashierTransactionHistory-Dbp4Yc9j.js} +5 -5
- package/components/{CashierTransactionHistory-D8cuhIj_.cjs → CashierTransactionHistory-Nkdsxuce.cjs} +1 -1
- package/components/{CashierTransactionHistory-ButX2_sB.js → CashierTransactionHistory-nvrNLFXe.js} +5 -5
- package/components/{CashierVerifications-DPeQTcCN.cjs → CashierVerifications-BsbY8Fbt.cjs} +1 -1
- package/components/{CashierVerifications-DVccv6qc.js → CashierVerifications-Cd8B0GI5.js} +2 -2
- package/components/{CashierVerifications-CPUhZGV4.js → CashierVerifications-Dss8infc.js} +2 -2
- package/components/{TxnStatusIcon-DuWdYaRx.cjs → TxnStatusIcon-CO60X-5r.cjs} +1 -1
- package/components/{TxnStatusIcon-Krgh5oF3.js → TxnStatusIcon-Djti4iLT.js} +1 -1
- package/components/{TxnStatusIcon-CpJJHtXq.js → TxnStatusIcon-j9opgsFM.js} +1 -1
- package/components/{TxnTypeIcons-iU9VGsWs.cjs → TxnTypeIcons-CIMP3n-o.cjs} +1 -1
- package/components/{TxnTypeIcons-Az6Gbxxw.js → TxnTypeIcons-wuQqG8WT.js} +1 -1
- package/components/{TxnTypeIcons-Bvy6NVGO.js → TxnTypeIcons-xSjtC2OD.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/CashierReceiptPage-DGAjOoFe.cjs +0 -28
|
@@ -10,8 +10,8 @@ var we = (t, e, s) => e in t ? Re(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Ye.call(e, s) && we(t, s, e[s]);
|
|
11
11
|
return t;
|
|
12
12
|
}, Me = (t, e) => We(t, Fe(e));
|
|
13
|
-
import { a as qe, i as Be, $ as Ge, S as Xe, b as Je, s as Ve, f as M, c as Ke, G as _e, e as
|
|
14
|
-
import { d as Ce, u as at, x as De } from "./CashierMethodDetails-
|
|
13
|
+
import { a as qe, i as Be, $ as Ge, S as Xe, b as Je, s as Ve, f as M, c as Ke, G as _e, e as z, k as A, n as P, r as Oe, p as Le, q as Ze, O as Qe, l as c, m as y, o as p, v as x, A as L, w as C, N as $e, y as et, x as he, W as ue, Y as ve, a4 as tt, U as de, a0 as st, z as ke, B as ot, C as nt, D as it, E as rt, F as lt } from "./CashierCarousel-BkxqQsTs.js";
|
|
14
|
+
import { d as Ce, u as at, x as De } from "./CashierMethodDetails-BaOZsofb.js";
|
|
15
15
|
function Se(t, e) {
|
|
16
16
|
qe(t, e);
|
|
17
17
|
}
|
|
@@ -54,7 +54,7 @@ function Pe(t, e, s) {
|
|
|
54
54
|
function Ee(t) {
|
|
55
55
|
let e, s, n, i, r = !/*noPaymentMethodsAvailable*/
|
|
56
56
|
t[14] && Te(t);
|
|
57
|
-
function l(a,
|
|
57
|
+
function l(a, g) {
|
|
58
58
|
return (
|
|
59
59
|
/*noPaymentMethodsAvailable*/
|
|
60
60
|
a[14] && /*isDataLoaded*/
|
|
@@ -69,16 +69,16 @@ function Ee(t) {
|
|
|
69
69
|
c() {
|
|
70
70
|
e = y("div"), r && r.c(), s = P(), n = y("div"), d.c(), i = P(), m && m.c(), p(n, "class", "CashierMethodList"), p(e, "class", "CashierMethodListWidget");
|
|
71
71
|
},
|
|
72
|
-
m(a,
|
|
73
|
-
|
|
72
|
+
m(a, g) {
|
|
73
|
+
A(a, e, g), r && r.m(e, null), c(e, s), c(e, n), d.m(n, null), c(e, i), m && m.m(e, null), t[31](e);
|
|
74
74
|
},
|
|
75
|
-
p(a,
|
|
75
|
+
p(a, g) {
|
|
76
76
|
/*noPaymentMethodsAvailable*/
|
|
77
|
-
a[14] ? r && (r.d(1), r = null) : r ? r.p(a,
|
|
78
|
-
a[9] ? m ? m.p(a,
|
|
77
|
+
a[14] ? r && (r.d(1), r = null) : r ? r.p(a, g) : (r = Te(a), r.c(), r.m(e, s)), u === (u = l(a)) && d ? d.p(a, g) : (d.d(1), d = u(a), d && (d.c(), d.m(n, null))), /*methodsButtonToggleText*/
|
|
78
|
+
a[9] ? m ? m.p(a, g) : (m = ze(a), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
|
|
79
79
|
},
|
|
80
80
|
d(a) {
|
|
81
|
-
a &&
|
|
81
|
+
a && z(e), r && r.d(), d.d(), m && m.d(), t[31](null);
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
@@ -95,7 +95,7 @@ function Te(t) {
|
|
|
95
95
|
e = y("div"), s = y("h3"), i = C(n), r = P(), l = y("p"), d = C(u), p(e, "class", "MethodsListDescription");
|
|
96
96
|
},
|
|
97
97
|
m(m, a) {
|
|
98
|
-
|
|
98
|
+
A(m, e, a), c(e, s), c(s, i), c(e, r), c(e, l), c(l, d);
|
|
99
99
|
},
|
|
100
100
|
p(m, a) {
|
|
101
101
|
a[0] & /*$_*/
|
|
@@ -105,7 +105,7 @@ function Te(t) {
|
|
|
105
105
|
m[16]("otherMethodsDescription") + "") && x(d, u);
|
|
106
106
|
},
|
|
107
107
|
d(m) {
|
|
108
|
-
m &&
|
|
108
|
+
m && z(e);
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -125,7 +125,7 @@ function dt(t) {
|
|
|
125
125
|
m(i, r) {
|
|
126
126
|
for (let l = 0; l < n.length; l += 1)
|
|
127
127
|
n[l] && n[l].m(i, r);
|
|
128
|
-
|
|
128
|
+
A(i, e, r);
|
|
129
129
|
},
|
|
130
130
|
p(i, r) {
|
|
131
131
|
if (r[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, precisionCurrenciesMap, numericCurrencyDecimals, $_*/
|
|
@@ -145,7 +145,7 @@ function dt(t) {
|
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
d(i) {
|
|
148
|
-
i &&
|
|
148
|
+
i && z(e), tt(n, i);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
}
|
|
@@ -166,15 +166,15 @@ function ut(t) {
|
|
|
166
166
|
t[12]
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
|
-
m(a,
|
|
170
|
-
|
|
169
|
+
m(a, g) {
|
|
170
|
+
A(a, e, g), c(e, s), c(s, n), c(n, r), c(s, l), c(s, u), c(u, m);
|
|
171
171
|
},
|
|
172
|
-
p(a,
|
|
173
|
-
|
|
172
|
+
p(a, g) {
|
|
173
|
+
g[0] & /*$_*/
|
|
174
174
|
65536 && i !== (i = /*$_*/
|
|
175
|
-
a[16]("error") + "") && x(r, i),
|
|
175
|
+
a[16]("error") + "") && x(r, i), g[0] & /*$_*/
|
|
176
176
|
65536 && d !== (d = /*$_*/
|
|
177
|
-
a[16]("noPaymentMethods") + "") && x(m, d),
|
|
177
|
+
a[16]("noPaymentMethods") + "") && x(m, d), g[0] & /*desktopView*/
|
|
178
178
|
4096 && ue(
|
|
179
179
|
e,
|
|
180
180
|
"EmptyContentMessageDesktop",
|
|
@@ -183,7 +183,7 @@ function ut(t) {
|
|
|
183
183
|
);
|
|
184
184
|
},
|
|
185
185
|
d(a) {
|
|
186
|
-
a &&
|
|
186
|
+
a && z(e);
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -193,10 +193,10 @@ function Ne(t) {
|
|
|
193
193
|
/*payMeth*/
|
|
194
194
|
(t[52].Label || /*payMeth*/
|
|
195
195
|
t[52].Name) + ""
|
|
196
|
-
),
|
|
196
|
+
), g, K, O, b, E = (
|
|
197
197
|
/*$_*/
|
|
198
198
|
t[16]("generalMin") + ""
|
|
199
|
-
), U, F,
|
|
199
|
+
), U, F, T = de(
|
|
200
200
|
/*payMeth*/
|
|
201
201
|
t[52].DisplayCurrency.MinAmountLimit,
|
|
202
202
|
/*payMeth*/
|
|
@@ -222,7 +222,7 @@ function Ne(t) {
|
|
|
222
222
|
) + "", I, q, j = (
|
|
223
223
|
/*$_*/
|
|
224
224
|
t[16]("generalMax") + ""
|
|
225
|
-
), B,
|
|
225
|
+
), B, v, G = de(
|
|
226
226
|
/*payMeth*/
|
|
227
227
|
t[52].DisplayCurrency.MaxAmountLimit,
|
|
228
228
|
/*payMeth*/
|
|
@@ -245,7 +245,7 @@ function Ne(t) {
|
|
|
245
245
|
t[15]
|
|
246
246
|
)
|
|
247
247
|
}
|
|
248
|
-
) + "", _, R,
|
|
248
|
+
) + "", _, R, N, D;
|
|
249
249
|
function X() {
|
|
250
250
|
return (
|
|
251
251
|
/*click_handler*/
|
|
@@ -257,9 +257,9 @@ function Ne(t) {
|
|
|
257
257
|
}
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
260
|
-
e = y("div"), s = y("div"), n = y("img"), l = P(), u = y("div"), d = y("div"), m = y("span"),
|
|
260
|
+
e = y("div"), s = y("div"), n = y("img"), l = P(), u = y("div"), d = y("div"), m = y("span"), g = C(a), K = P(), O = y("div"), b = y("span"), U = C(E), F = P(), I = C(T), q = C(" / "), B = C(j), v = P(), _ = C(G), R = P(), ke(n.src, i = /*payMeth*/
|
|
261
261
|
t[52].LogoUrl) || p(n, "src", i), p(n, "alt", r = /*payMeth*/
|
|
262
|
-
t[52].Label), p(s, "class", "MethodLogo"), p(d, "class", "MethodTitle"), p(b, "class", "Limits"), p(
|
|
262
|
+
t[52].Label), p(s, "class", "MethodLogo"), p(d, "class", "MethodTitle"), p(b, "class", "Limits"), p(O, "class", "MethodLimits"), p(u, "class", "MethodInfo"), p(e, "class", "SelectorWrapper"), ue(
|
|
263
263
|
e,
|
|
264
264
|
"checked",
|
|
265
265
|
/*selectedPaymentMethod*/
|
|
@@ -267,25 +267,25 @@ function Ne(t) {
|
|
|
267
267
|
t[52].Name
|
|
268
268
|
);
|
|
269
269
|
},
|
|
270
|
-
m(H,
|
|
271
|
-
|
|
270
|
+
m(H, k) {
|
|
271
|
+
A(H, e, k), c(e, s), c(s, n), c(e, l), c(e, u), c(u, d), c(d, m), c(m, g), c(u, K), c(u, O), c(O, b), c(b, U), c(b, F), c(b, I), c(b, q), c(b, B), c(b, v), c(b, _), c(e, R), N || (D = [
|
|
272
272
|
he(e, "click", X),
|
|
273
273
|
he(e, "keyup", gt)
|
|
274
|
-
],
|
|
274
|
+
], N = !0);
|
|
275
275
|
},
|
|
276
|
-
p(H,
|
|
276
|
+
p(H, k) {
|
|
277
277
|
var ne, ie, ee, re, le, te, ae, ce;
|
|
278
|
-
t = H,
|
|
278
|
+
t = H, k[0] & /*paymentMethodsToShow*/
|
|
279
279
|
1024 && !ke(n.src, i = /*payMeth*/
|
|
280
|
-
t[52].LogoUrl) && p(n, "src", i),
|
|
280
|
+
t[52].LogoUrl) && p(n, "src", i), k[0] & /*paymentMethodsToShow*/
|
|
281
281
|
1024 && r !== (r = /*payMeth*/
|
|
282
|
-
t[52].Label) && p(n, "alt", r),
|
|
282
|
+
t[52].Label) && p(n, "alt", r), k[0] & /*paymentMethodsToShow*/
|
|
283
283
|
1024 && a !== (a = /*payMeth*/
|
|
284
284
|
(t[52].Label || /*payMeth*/
|
|
285
|
-
t[52].Name) + "") && x(
|
|
286
|
-
65536 &&
|
|
287
|
-
t[16]("generalMin") + "") && x(U,
|
|
288
|
-
33920 &&
|
|
285
|
+
t[52].Name) + "") && x(g, a), k[0] & /*$_*/
|
|
286
|
+
65536 && E !== (E = /*$_*/
|
|
287
|
+
t[16]("generalMin") + "") && x(U, E), k[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
288
|
+
33920 && T !== (T = de(
|
|
289
289
|
/*payMeth*/
|
|
290
290
|
t[52].DisplayCurrency.MinAmountLimit,
|
|
291
291
|
/*payMeth*/
|
|
@@ -308,9 +308,9 @@ function Ne(t) {
|
|
|
308
308
|
t[15]
|
|
309
309
|
)
|
|
310
310
|
}
|
|
311
|
-
) + "") && x(I,
|
|
311
|
+
) + "") && x(I, T), k[0] & /*$_*/
|
|
312
312
|
65536 && j !== (j = /*$_*/
|
|
313
|
-
t[16]("generalMax") + "") && x(B, j),
|
|
313
|
+
t[16]("generalMax") + "") && x(B, j), k[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
314
314
|
33920 && G !== (G = de(
|
|
315
315
|
/*payMeth*/
|
|
316
316
|
t[52].DisplayCurrency.MaxAmountLimit,
|
|
@@ -334,7 +334,7 @@ function Ne(t) {
|
|
|
334
334
|
t[15]
|
|
335
335
|
)
|
|
336
336
|
}
|
|
337
|
-
) + "") && x(_, G),
|
|
337
|
+
) + "") && x(_, G), k[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
338
338
|
1280 && ue(
|
|
339
339
|
e,
|
|
340
340
|
"checked",
|
|
@@ -344,7 +344,7 @@ function Ne(t) {
|
|
|
344
344
|
);
|
|
345
345
|
},
|
|
346
346
|
d(H) {
|
|
347
|
-
H &&
|
|
347
|
+
H && z(e), N = !1, st(D);
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
}
|
|
@@ -358,7 +358,7 @@ function ze(t) {
|
|
|
358
358
|
), p(e, "class", "ShowAllButton");
|
|
359
359
|
},
|
|
360
360
|
m(r, l) {
|
|
361
|
-
|
|
361
|
+
A(r, e, l), c(e, s), n || (i = he(
|
|
362
362
|
e,
|
|
363
363
|
"click",
|
|
364
364
|
/*click_handler_1*/
|
|
@@ -374,7 +374,7 @@ function ze(t) {
|
|
|
374
374
|
);
|
|
375
375
|
},
|
|
376
376
|
d(r) {
|
|
377
|
-
r &&
|
|
377
|
+
r && z(e), n = !1, i();
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
380
|
}
|
|
@@ -385,40 +385,40 @@ function Ae(t) {
|
|
|
385
385
|
e = y("cashier-error"), s = y("span"), n = C(
|
|
386
386
|
/*errorMessage*/
|
|
387
387
|
t[11]
|
|
388
|
-
), p(s, "class", "ErrorMessage"), p(s, "slot", "text"),
|
|
388
|
+
), p(s, "class", "ErrorMessage"), p(s, "slot", "text"), L(
|
|
389
389
|
e,
|
|
390
390
|
"lang",
|
|
391
391
|
/*lang*/
|
|
392
392
|
t[0]
|
|
393
|
-
),
|
|
393
|
+
), L(
|
|
394
394
|
e,
|
|
395
395
|
"assetsurl",
|
|
396
396
|
/*assetsurl*/
|
|
397
397
|
t[1]
|
|
398
|
-
),
|
|
398
|
+
), L(
|
|
399
399
|
e,
|
|
400
400
|
"translationurl",
|
|
401
401
|
/*translationurl*/
|
|
402
402
|
t[2]
|
|
403
|
-
),
|
|
403
|
+
), L(
|
|
404
404
|
e,
|
|
405
405
|
"clientstylingurl",
|
|
406
406
|
/*clientstylingurl*/
|
|
407
407
|
t[5]
|
|
408
|
-
),
|
|
408
|
+
), L(
|
|
409
409
|
e,
|
|
410
410
|
"clientstyling",
|
|
411
411
|
/*clientstyling*/
|
|
412
412
|
t[4]
|
|
413
|
-
),
|
|
413
|
+
), L(
|
|
414
414
|
e,
|
|
415
415
|
"mbsource",
|
|
416
416
|
/*mbsource*/
|
|
417
417
|
t[3]
|
|
418
|
-
),
|
|
418
|
+
), L(e, "hidebuttons", "true");
|
|
419
419
|
},
|
|
420
420
|
m(i, r) {
|
|
421
|
-
|
|
421
|
+
A(i, e, r), c(e, s), c(s, n);
|
|
422
422
|
},
|
|
423
423
|
p(i, r) {
|
|
424
424
|
r[0] & /*errorMessage*/
|
|
@@ -427,37 +427,37 @@ function Ae(t) {
|
|
|
427
427
|
/*errorMessage*/
|
|
428
428
|
i[11]
|
|
429
429
|
), r[0] & /*lang*/
|
|
430
|
-
1 &&
|
|
430
|
+
1 && L(
|
|
431
431
|
e,
|
|
432
432
|
"lang",
|
|
433
433
|
/*lang*/
|
|
434
434
|
i[0]
|
|
435
435
|
), r[0] & /*assetsurl*/
|
|
436
|
-
2 &&
|
|
436
|
+
2 && L(
|
|
437
437
|
e,
|
|
438
438
|
"assetsurl",
|
|
439
439
|
/*assetsurl*/
|
|
440
440
|
i[1]
|
|
441
441
|
), r[0] & /*translationurl*/
|
|
442
|
-
4 &&
|
|
442
|
+
4 && L(
|
|
443
443
|
e,
|
|
444
444
|
"translationurl",
|
|
445
445
|
/*translationurl*/
|
|
446
446
|
i[2]
|
|
447
447
|
), r[0] & /*clientstylingurl*/
|
|
448
|
-
32 &&
|
|
448
|
+
32 && L(
|
|
449
449
|
e,
|
|
450
450
|
"clientstylingurl",
|
|
451
451
|
/*clientstylingurl*/
|
|
452
452
|
i[5]
|
|
453
453
|
), r[0] & /*clientstyling*/
|
|
454
|
-
16 &&
|
|
454
|
+
16 && L(
|
|
455
455
|
e,
|
|
456
456
|
"clientstyling",
|
|
457
457
|
/*clientstyling*/
|
|
458
458
|
i[4]
|
|
459
459
|
), r[0] & /*mbsource*/
|
|
460
|
-
8 &&
|
|
460
|
+
8 && L(
|
|
461
461
|
e,
|
|
462
462
|
"mbsource",
|
|
463
463
|
/*mbsource*/
|
|
@@ -465,7 +465,7 @@ function Ae(t) {
|
|
|
465
465
|
);
|
|
466
466
|
},
|
|
467
467
|
d(i) {
|
|
468
|
-
i &&
|
|
468
|
+
i && z(e);
|
|
469
469
|
}
|
|
470
470
|
};
|
|
471
471
|
}
|
|
@@ -482,7 +482,7 @@ function ft(t) {
|
|
|
482
482
|
n && n.c(), e = P(), i && i.c(), s = Oe();
|
|
483
483
|
},
|
|
484
484
|
m(r, l) {
|
|
485
|
-
n && n.m(r, l),
|
|
485
|
+
n && n.m(r, l), A(r, e, l), i && i.m(r, l), A(r, s, l);
|
|
486
486
|
},
|
|
487
487
|
p(r, l) {
|
|
488
488
|
/*isDataLoaded*/
|
|
@@ -492,7 +492,7 @@ function ft(t) {
|
|
|
492
492
|
i: _e,
|
|
493
493
|
o: _e,
|
|
494
494
|
d(r) {
|
|
495
|
-
r && (
|
|
495
|
+
r && (z(e), z(s)), n && n.d(r), i && i.d(r);
|
|
496
496
|
}
|
|
497
497
|
};
|
|
498
498
|
}
|
|
@@ -501,20 +501,20 @@ const ht = "PaymentPromotion", gt = () => {
|
|
|
501
501
|
function pt(t, e, s) {
|
|
502
502
|
let n, i, r;
|
|
503
503
|
Le(t, lt, (o) => s(16, i = o)), Le(t, De, (o) => s(37, r = o)), Ce.extend(at);
|
|
504
|
-
let { lang: l = "en" } = e, { local: u = "en-US" } = e, { endpoint: d } = e, { paymentsession: m } = e, { playersession: a } = e, { customerid:
|
|
504
|
+
let { lang: l = "en" } = e, { local: u = "en-US" } = e, { endpoint: d } = e, { paymentsession: m } = e, { playersession: a } = e, { customerid: g } = e, { assetsurl: K } = e, { currency: O } = e, { numberofmethodsshown: b } = e, { translationurl: E = "" } = e, { mbsource: U } = e, { clientstyling: F } = e, { clientstylingurl: T } = e, { currencydecimals: I = "0" } = e, { currencysymbol: q = "" } = e, { currencyposition: j = "" } = e, B = {}, v, G = window.navigator.userAgent, _ = [], R, N = "", D = [], X = [], Z = "", Q, J = !0, W = !1, $ = !1;
|
|
505
505
|
var V;
|
|
506
506
|
(function(o) {
|
|
507
507
|
o.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", o.Success = "Success", o.JwtTokenError = "JwtTokenError";
|
|
508
508
|
})(V || (V = {}));
|
|
509
509
|
const se = () => {
|
|
510
|
-
let o =
|
|
510
|
+
let o = E;
|
|
511
511
|
if (o)
|
|
512
|
-
return fetch(o).then((
|
|
513
|
-
Object.keys(
|
|
514
|
-
Se(S,
|
|
512
|
+
return fetch(o).then((h) => h.json()).then((h) => {
|
|
513
|
+
Object.keys(h).forEach((S) => {
|
|
514
|
+
Se(S, h[S]);
|
|
515
515
|
});
|
|
516
|
-
}).catch((
|
|
517
|
-
console.log(
|
|
516
|
+
}).catch((h) => {
|
|
517
|
+
console.log(h);
|
|
518
518
|
});
|
|
519
519
|
};
|
|
520
520
|
Object.keys(xe).forEach((o) => {
|
|
@@ -523,17 +523,17 @@ function pt(t, e, s) {
|
|
|
523
523
|
const oe = () => {
|
|
524
524
|
ct(l);
|
|
525
525
|
}, H = () => {
|
|
526
|
-
r &&
|
|
527
|
-
},
|
|
526
|
+
r && k();
|
|
527
|
+
}, k = () => {
|
|
528
528
|
window.postMessage({ type: "DataLoading", isDataLoaded: W });
|
|
529
|
-
const o = new URL(`${d}/v2/player/${
|
|
530
|
-
|
|
529
|
+
const o = new URL(`${d}/v2/player/${g}/payment/GetPaymentMetadata`), h = new Headers();
|
|
530
|
+
h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Ce.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), h.append("X-SessionId", `${a}`), h.append("X-Payment-Session-Token", `${m || r}`);
|
|
531
531
|
const S = {
|
|
532
532
|
method: "POST",
|
|
533
|
-
headers:
|
|
533
|
+
headers: h,
|
|
534
534
|
mode: "cors",
|
|
535
535
|
body: JSON.stringify({
|
|
536
|
-
Currency:
|
|
536
|
+
Currency: O,
|
|
537
537
|
Tags: { UserAgent: window.navigator.userAgent }
|
|
538
538
|
})
|
|
539
539
|
};
|
|
@@ -556,7 +556,7 @@ function pt(t, e, s) {
|
|
|
556
556
|
promotedPaymentMethods: X
|
|
557
557
|
},
|
|
558
558
|
window.location.href
|
|
559
|
-
), s(9,
|
|
559
|
+
), s(9, N = b && +b > 0 && _.length > +b ? i("showAll") : ""), s(10, D = N ? _.slice(0, +b) : _), s(14, $ = !D.length), window.postMessage(
|
|
560
560
|
{
|
|
561
561
|
type: "StartSessionCountdown",
|
|
562
562
|
paymentMethodName: _[0].Name
|
|
@@ -567,19 +567,19 @@ function pt(t, e, s) {
|
|
|
567
567
|
s(13, W = !0), window.postMessage({ type: "DataLoading", isDataLoaded: W });
|
|
568
568
|
});
|
|
569
569
|
}, ne = (o) => {
|
|
570
|
-
const
|
|
570
|
+
const h = [];
|
|
571
571
|
return X = [], o.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((S) => {
|
|
572
572
|
const f = o.PaymentMethods.PaymentMethods.find((w) => w.Name === S);
|
|
573
573
|
if (f) {
|
|
574
574
|
const w = (f == null ? void 0 : f.Logos.find((fe) => fe.LogoType === "Desktop")) || {}, me = (f == null ? void 0 : f.Logos.find((fe) => fe.LogoType === "Mobile")) || {}, Y = J ? w : me;
|
|
575
|
-
f.isMethodPromoted = ge(f.Tags), f.LogoUrl = Y.LogoUrl ? `https:${Y.LogoUrl}` : "", f.isMethodPromoted && X.push(f),
|
|
575
|
+
f.isMethodPromoted = ge(f.Tags), f.LogoUrl = Y.LogoUrl ? `https:${Y.LogoUrl}` : "", f.isMethodPromoted && X.push(f), h.push(f);
|
|
576
576
|
}
|
|
577
|
-
}),
|
|
577
|
+
}), h;
|
|
578
578
|
}, ie = (o) => {
|
|
579
|
-
const
|
|
579
|
+
const h = o.PaymentMethods.PaymentMethods.map((w) => Me(be({}, w), {
|
|
580
580
|
isMethodPromoted: ge(w.Tags),
|
|
581
581
|
LogoUrl: w.Logos && w.Logos.length && w.Logos[0].LogoUrl ? `https:${w.Logos[0].LogoUrl}` : ""
|
|
582
|
-
})), [S, f] =
|
|
582
|
+
})), [S, f] = h.reduce(
|
|
583
583
|
([w, me], Y) => (Y && Y.isMethodPromoted ? w.push(Y) : me.promo(Y), [w, me]),
|
|
584
584
|
[[], []]
|
|
585
585
|
);
|
|
@@ -607,13 +607,13 @@ function pt(t, e, s) {
|
|
|
607
607
|
}, te = () => {
|
|
608
608
|
D == _ ? ce() : ae();
|
|
609
609
|
}, ae = () => {
|
|
610
|
-
s(10, D = _), s(9,
|
|
610
|
+
s(10, D = _), s(9, N = i("showLess"));
|
|
611
611
|
}, ce = () => {
|
|
612
|
-
s(10, D = _.slice(0, +b)), R && !D.find((o) => o.Name === R) && D.splice(0, 0, _.find((o) => o.Name === R)), s(9,
|
|
613
|
-
}, ge = (o) => o && o.split(",").some((
|
|
612
|
+
s(10, D = _.slice(0, +b)), R && !D.find((o) => o.Name === R) && D.splice(0, 0, _.find((o) => o.Name === R)), s(9, N = i("showAll"));
|
|
613
|
+
}, ge = (o) => o && o.split(",").some((h) => h === ht), pe = (o) => {
|
|
614
614
|
var S;
|
|
615
|
-
const { data: { type:
|
|
616
|
-
switch (
|
|
615
|
+
const { data: { type: h } = {} } = o || {};
|
|
616
|
+
switch (h) {
|
|
617
617
|
case "PrecisionCurrenciesMap": {
|
|
618
618
|
s(7, B = ((S = o == null ? void 0 : o.data) == null ? void 0 : S.payload) || {});
|
|
619
619
|
break;
|
|
@@ -626,32 +626,31 @@ function pt(t, e, s) {
|
|
|
626
626
|
const Ue = (o) => ee(o), Ie = () => te();
|
|
627
627
|
function je(o) {
|
|
628
628
|
et[o ? "unshift" : "push"](() => {
|
|
629
|
-
|
|
629
|
+
v = o, s(6, v);
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
632
|
return t.$$set = (o) => {
|
|
633
|
-
"lang" in o && s(0, l = o.lang), "local" in o && s(19, u = o.local), "endpoint" in o && s(20, d = o.endpoint), "paymentsession" in o && s(21, m = o.paymentsession), "playersession" in o && s(22, a = o.playersession), "customerid" in o && s(23,
|
|
633
|
+
"lang" in o && s(0, l = o.lang), "local" in o && s(19, u = o.local), "endpoint" in o && s(20, d = o.endpoint), "paymentsession" in o && s(21, m = o.paymentsession), "playersession" in o && s(22, a = o.playersession), "customerid" in o && s(23, g = o.customerid), "assetsurl" in o && s(1, K = o.assetsurl), "currency" in o && s(24, O = o.currency), "numberofmethodsshown" in o && s(25, b = o.numberofmethodsshown), "translationurl" in o && s(2, E = o.translationurl), "mbsource" in o && s(3, U = o.mbsource), "clientstyling" in o && s(4, F = o.clientstyling), "clientstylingurl" in o && s(5, T = o.clientstylingurl), "currencydecimals" in o && s(26, I = o.currencydecimals), "currencysymbol" in o && s(27, q = o.currencysymbol), "currencyposition" in o && s(28, j = o.currencyposition);
|
|
634
634
|
}, t.$$.update = () => {
|
|
635
|
-
t.$$.dirty[0] & /*endpoint,
|
|
636
|
-
|
|
637
|
-
11534336 && d && !m && h && H(), t.$$.dirty[0] & /*lang*/
|
|
635
|
+
t.$$.dirty[0] & /*endpoint, paymentsession, customerid*/
|
|
636
|
+
11534336 && d && !m && g && H(), t.$$.dirty[0] & /*lang*/
|
|
638
637
|
1 && l && oe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
639
|
-
80 && F &&
|
|
640
|
-
96 &&
|
|
641
|
-
72 && U &&
|
|
642
|
-
5 && l &&
|
|
638
|
+
80 && F && v && ot(v, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
639
|
+
96 && T && v && nt(v, T), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
640
|
+
72 && U && v && it(v, `${U}.Style`), t.$$.dirty[0] & /*lang, translationurl*/
|
|
641
|
+
5 && l && E && se(), t.$$.dirty[0] & /*currencydecimals*/
|
|
643
642
|
67108864 && s(15, n = Number(I));
|
|
644
643
|
}, [
|
|
645
644
|
l,
|
|
646
645
|
K,
|
|
647
|
-
|
|
646
|
+
E,
|
|
648
647
|
U,
|
|
649
648
|
F,
|
|
650
|
-
|
|
651
|
-
|
|
649
|
+
T,
|
|
650
|
+
v,
|
|
652
651
|
B,
|
|
653
652
|
R,
|
|
654
|
-
|
|
653
|
+
N,
|
|
655
654
|
D,
|
|
656
655
|
Z,
|
|
657
656
|
J,
|
|
@@ -665,8 +664,8 @@ function pt(t, e, s) {
|
|
|
665
664
|
d,
|
|
666
665
|
m,
|
|
667
666
|
a,
|
|
668
|
-
|
|
669
|
-
|
|
667
|
+
g,
|
|
668
|
+
O,
|
|
670
669
|
b,
|
|
671
670
|
I,
|
|
672
671
|
q,
|