@everymatrix/cashier-page 1.94.35 → 1.94.37
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-CWqhxf1D.cjs +1 -0
- package/components/{CashierCarousel-Z8XQiZtX.js → CashierCarousel-DFK922WR.js} +214 -178
- package/components/{CashierCarousel-BGfNxDz0.js → CashierCarousel-k7Y3Z9n1.js} +214 -178
- package/components/CashierError-C1W-9X8J.cjs +1 -0
- package/components/CashierError-C9gnnAyr.js +814 -0
- package/components/CashierError-WkiOBVs-.js +798 -0
- package/components/CashierHeader-BK500Xjw.cjs +1 -0
- package/components/{CashierHeader-DR5CIeYH.js → CashierHeader-Byz_chFz.js} +53 -32
- package/components/{CashierHeader-B0I8Hm9N.js → CashierHeader-COwiXVNs.js} +53 -32
- package/components/CashierIframeRedirect-BDGjUNum.cjs +1 -0
- package/components/{CashierIframeRedirect-Kfujv5Tu.js → CashierIframeRedirect-BoyUKotK.js} +69 -60
- package/components/{CashierIframeRedirect-noBV2Gno.js → CashierIframeRedirect-rUhN76X2.js} +69 -60
- package/components/{CashierMethodDetails-DU9_SyL9.js → CashierMethodDetails-CGdI_qop.js} +2487 -2190
- package/components/{CashierMethodDetails-DVwdpgu7.js → CashierMethodDetails-UYwG3pD4.js} +2327 -2030
- package/components/CashierMethodDetails-rXDr1XNZ.cjs +85 -0
- package/components/{CashierMethodsList-lymtCECM.js → CashierMethodsList-BJOLHbcD.js} +169 -133
- package/components/{CashierMethodsList-DV2mPScV.js → CashierMethodsList-BL0sUyuY.js} +182 -146
- package/components/CashierMethodsList-CZV52Zob.cjs +1 -0
- package/components/{CashierModal-4NvydeSM.js → CashierModal-B_7Q4iwq.js} +2 -2
- package/components/{CashierModal-DsSB35zK.cjs → CashierModal-BxI26VGr.cjs} +1 -1
- package/components/{CashierModal-D8XP3k-9.js → CashierModal-Dl0z5NVU.js} +2 -2
- package/components/{CashierNotifications-CWHWRGor.js → CashierNotifications-0c5qC2wE.js} +1 -1
- package/components/{CashierNotifications-70FEIrYI.js → CashierNotifications-BELBGieS.js} +1 -1
- package/components/{CashierNotifications-zBdBB9R9.cjs → CashierNotifications-IlgXqW4M.cjs} +1 -1
- package/components/CashierPage-56J3O0u0.cjs +23 -0
- package/components/{CashierPage-CbgFZrDS.js → CashierPage-D9p8Vv64.js} +1159 -1018
- package/components/{CashierPage-B-Pr7AZy.js → CashierPage-f3Bp0yQu.js} +1058 -917
- package/components/{CashierReceiptPage-j4UIA3mG.cjs → CashierReceiptPage-CiR_vfro.cjs} +2 -2
- package/components/{CashierReceiptPage-Crz_yaNo.js → CashierReceiptPage-D2QaqABB.js} +800 -524
- package/components/{CashierReceiptPage-BwOTRhHh.js → CashierReceiptPage-HHsf22Go.js} +759 -483
- package/components/CashierSessionExpirationModal-BGSdk_Mj.cjs +2 -0
- package/components/{CashierSessionExpirationModal-tMsnWVOO.js → CashierSessionExpirationModal-BgA16ICX.js} +366 -342
- package/components/{CashierSessionExpirationModal-D00ms5oV.js → CashierSessionExpirationModal-YD2SyMu-.js} +342 -318
- package/components/{CashierSpinner-Cwaz-whk.js → CashierSpinner-B1exigYR.js} +2 -2
- package/components/{CashierSpinner-CTU40q6c.js → CashierSpinner-WMxJlzPU.js} +2 -2
- package/components/{CashierSpinner-Bg78eSic.cjs → CashierSpinner-xDUg2Ia3.cjs} +1 -1
- package/components/CashierStepUp-BJcULKh3.cjs +1 -0
- package/components/CashierStepUp-BX4oMHdc.js +1200 -0
- package/components/CashierStepUp-C_ptl1y7.js +1161 -0
- package/components/{CashierTransactionHistory-Bx6vKU6C.js → CashierTransactionHistory-CHZesJO5.js} +563 -488
- package/components/{CashierTransactionHistory-DIIRHvDL.js → CashierTransactionHistory-CrflKpwN.js} +550 -475
- package/components/CashierTransactionHistory-TDbLeWcJ.cjs +1 -0
- package/components/{CashierVerifications-CnE6LY7Z.js → CashierVerifications-BDZn88UR.js} +310 -249
- package/components/{CashierVerifications-BY8szmZd.js → CashierVerifications-CoqfO6l6.js} +309 -256
- package/components/CashierVerifications-QKE-9H4t.cjs +1 -0
- package/components/{TxnStatusIcon-BDHXtxcG.cjs → TxnStatusIcon-BOdjGqDN.cjs} +1 -1
- package/components/{TxnStatusIcon-R_hiKqjU.js → TxnStatusIcon-CXbH_076.js} +1 -1
- package/components/{TxnStatusIcon-fhrjpTWy.js → TxnStatusIcon-Cvq52nxs.js} +1 -1
- package/components/{TxnTypeIcons-BPO0fSnO.js → TxnTypeIcons-BZnwBNqe.js} +1 -1
- package/components/{TxnTypeIcons-CE_BRkD7.js → TxnTypeIcons-D-qWVgkw.js} +1 -1
- package/components/{TxnTypeIcons-K5uY_QVF.cjs → TxnTypeIcons-DuRqxFjm.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-D9Zltcjf.cjs +0 -1
- package/components/CashierError-CcmTsh3c.js +0 -655
- package/components/CashierError-DUP__3RW.js +0 -639
- package/components/CashierError-DkictxN-.cjs +0 -1
- package/components/CashierHeader-CObNnavj.cjs +0 -1
- package/components/CashierIframeRedirect-BStzG_d5.cjs +0 -1
- package/components/CashierMethodDetails-DYvi8y1l.cjs +0 -85
- package/components/CashierMethodsList-hLtYtrwU.cjs +0 -1
- package/components/CashierPage-5r3a_HdD.cjs +0 -23
- package/components/CashierSessionExpirationModal-DxniesoC.cjs +0 -2
- package/components/CashierStepUp-B00j5Tes.js +0 -1092
- package/components/CashierStepUp-COmbMPwk.js +0 -1131
- package/components/CashierStepUp-eD1Dg1eX.cjs +0 -1
- package/components/CashierTransactionHistory-BbFTZ24M.cjs +0 -1
- package/components/CashierVerifications-BeAwmtS5.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { s as mt, a as ct, b as dt } from "./CashierHeader-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as Ve, i as Xe, $ as Je, S as Ze, b as Ke, s as Qe, f as y, d as $e, z as ge, g as z, l as x, o as P, v as Ae, q as pe, M as ye, N as et, r as tt, K as ot, m as a, n as f, p as h, w as E, O as N, x as D, C as st, y as nt, A as me, L as le, D as we, E as it, I as re, F as rt, J as Me, c as lt, B as at, R as be } from "./CashierPage-f3Bp0yQu.js";
|
|
2
|
+
import { s as mt, a as ct, b as dt } from "./CashierHeader-COwiXVNs.js";
|
|
3
|
+
function ve(t, e) {
|
|
4
|
+
Ve(t, e);
|
|
5
5
|
}
|
|
6
6
|
function ut(t) {
|
|
7
|
-
|
|
7
|
+
Xe({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Je.set(t);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const _e = {
|
|
12
12
|
en: {
|
|
13
13
|
generalMin: "Min",
|
|
14
14
|
generalMax: "Max",
|
|
@@ -44,6 +44,42 @@ const ve = {
|
|
|
44
44
|
promoLabel: "Recommandé",
|
|
45
45
|
otherMethodsTitle: "Toutes les méthodes",
|
|
46
46
|
otherMethodsDescription: "Découvrez notre incroyable sélection de produits uniques à ne pas manquer !"
|
|
47
|
+
},
|
|
48
|
+
da: {
|
|
49
|
+
generalMin: "Min",
|
|
50
|
+
generalMax: "Maks",
|
|
51
|
+
showAll: "VIS ALLE",
|
|
52
|
+
showLess: "VIS FÆRRE",
|
|
53
|
+
error: "Fejl",
|
|
54
|
+
noPaymentMethods: "Ingen betalingsmetoder tilgængelige",
|
|
55
|
+
favorite: "Favorit",
|
|
56
|
+
promoLabel: "Anbefalet",
|
|
57
|
+
otherMethodsTitle: "Alle metoder",
|
|
58
|
+
otherMethodsDescription: "Oplev vores utrolige udvalg af unikke produkter, som du ikke vil gå glip af!"
|
|
59
|
+
},
|
|
60
|
+
de: {
|
|
61
|
+
generalMin: "Min",
|
|
62
|
+
generalMax: "Max",
|
|
63
|
+
showAll: "ALLE ANZEIGEN",
|
|
64
|
+
showLess: "WENIGER ANZEIGEN",
|
|
65
|
+
error: "Fehler",
|
|
66
|
+
noPaymentMethods: "Keine Zahlungsmethoden verfügbar",
|
|
67
|
+
favorite: "Favorit",
|
|
68
|
+
promoLabel: "Empfohlen",
|
|
69
|
+
otherMethodsTitle: "Alle Methoden",
|
|
70
|
+
otherMethodsDescription: "Entdecken Sie unsere unglaubliche Auswahl an einzigartigen Produkten, die Sie nicht verpassen möchten!"
|
|
71
|
+
},
|
|
72
|
+
nl: {
|
|
73
|
+
generalMin: "Min",
|
|
74
|
+
generalMax: "Max",
|
|
75
|
+
showAll: "ALLES TONEN",
|
|
76
|
+
showLess: "MINDER TONEN",
|
|
77
|
+
error: "Fout",
|
|
78
|
+
noPaymentMethods: "Geen betaalmethoden beschikbaar",
|
|
79
|
+
favorite: "Favoriet",
|
|
80
|
+
promoLabel: "Aanbevolen",
|
|
81
|
+
otherMethodsTitle: "Alle methoden",
|
|
82
|
+
otherMethodsDescription: "Ontdek onze ongelooflijke selectie van unieke producten die u niet wilt missen!"
|
|
47
83
|
}
|
|
48
84
|
};
|
|
49
85
|
function ft(t) {
|
|
@@ -65,7 +101,7 @@ function ke(t) {
|
|
|
65
101
|
}
|
|
66
102
|
let d = l(t), u = d(t), m = (
|
|
67
103
|
/*methodsButtonToggleText*/
|
|
68
|
-
t[10] &&
|
|
104
|
+
t[10] && Se(t)
|
|
69
105
|
);
|
|
70
106
|
return {
|
|
71
107
|
c() {
|
|
@@ -77,10 +113,10 @@ function ke(t) {
|
|
|
77
113
|
p(c, g) {
|
|
78
114
|
/*noPaymentMethodsAvailable*/
|
|
79
115
|
c[15] ? i && (i.d(1), i = null) : i ? i.p(c, g) : (i = Ce(c), i.c(), i.m(e, o)), d === (d = l(c)) && u ? u.p(c, g) : (u.d(1), u = d(c), u && (u.c(), u.m(n, null))), /*methodsButtonToggleText*/
|
|
80
|
-
c[10] ? m ? m.p(c, g) : (m =
|
|
116
|
+
c[10] ? m ? m.p(c, g) : (m = Se(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
|
|
81
117
|
},
|
|
82
118
|
d(c) {
|
|
83
|
-
c &&
|
|
119
|
+
c && z(e), i && i.d(), u.d(), m && m.d(), t[34](null);
|
|
84
120
|
}
|
|
85
121
|
};
|
|
86
122
|
}
|
|
@@ -94,7 +130,7 @@ function Ce(t) {
|
|
|
94
130
|
), u;
|
|
95
131
|
return {
|
|
96
132
|
c() {
|
|
97
|
-
e = f("div"), o = f("h3"), s =
|
|
133
|
+
e = f("div"), o = f("h3"), s = D(n), i = P(), l = f("p"), u = D(d), h(e, "class", "MethodsListDescription");
|
|
98
134
|
},
|
|
99
135
|
m(m, c) {
|
|
100
136
|
x(m, e, c), a(e, o), a(o, s), a(e, i), a(e, l), a(l, u);
|
|
@@ -102,12 +138,12 @@ function Ce(t) {
|
|
|
102
138
|
p(m, c) {
|
|
103
139
|
c[0] & /*$_*/
|
|
104
140
|
131072 && n !== (n = /*$_*/
|
|
105
|
-
m[17]("otherMethodsTitle") + "") &&
|
|
141
|
+
m[17]("otherMethodsTitle") + "") && E(s, n), c[0] & /*$_*/
|
|
106
142
|
131072 && d !== (d = /*$_*/
|
|
107
|
-
m[17]("otherMethodsDescription") + "") &&
|
|
143
|
+
m[17]("otherMethodsDescription") + "") && E(u, d);
|
|
108
144
|
},
|
|
109
145
|
d(m) {
|
|
110
|
-
m &&
|
|
146
|
+
m && z(e);
|
|
111
147
|
}
|
|
112
148
|
};
|
|
113
149
|
}
|
|
@@ -117,12 +153,12 @@ function ht(t) {
|
|
|
117
153
|
t[11]
|
|
118
154
|
), n = [];
|
|
119
155
|
for (let s = 0; s < o.length; s += 1)
|
|
120
|
-
n[s] =
|
|
156
|
+
n[s] = Te(Le(t, o, s));
|
|
121
157
|
return {
|
|
122
158
|
c() {
|
|
123
159
|
for (let s = 0; s < n.length; s += 1)
|
|
124
160
|
n[s].c();
|
|
125
|
-
e =
|
|
161
|
+
e = Ae();
|
|
126
162
|
},
|
|
127
163
|
m(s, i) {
|
|
128
164
|
for (let l = 0; l < n.length; l += 1)
|
|
@@ -139,7 +175,7 @@ function ht(t) {
|
|
|
139
175
|
let l;
|
|
140
176
|
for (l = 0; l < o.length; l += 1) {
|
|
141
177
|
const d = Le(s, o, l);
|
|
142
|
-
n[l] ? n[l].p(d, i) : (n[l] =
|
|
178
|
+
n[l] ? n[l].p(d, i) : (n[l] = Te(d), n[l].c(), n[l].m(e.parentNode, e));
|
|
143
179
|
}
|
|
144
180
|
for (; l < n.length; l += 1)
|
|
145
181
|
n[l].d(1);
|
|
@@ -147,7 +183,7 @@ function ht(t) {
|
|
|
147
183
|
}
|
|
148
184
|
},
|
|
149
185
|
d(s) {
|
|
150
|
-
s &&
|
|
186
|
+
s && z(e), it(n, s);
|
|
151
187
|
}
|
|
152
188
|
};
|
|
153
189
|
}
|
|
@@ -161,7 +197,7 @@ function gt(t) {
|
|
|
161
197
|
), m;
|
|
162
198
|
return {
|
|
163
199
|
c() {
|
|
164
|
-
e = f("div"), o = f("div"), n = f("p"), i =
|
|
200
|
+
e = f("div"), o = f("div"), n = f("p"), i = D(s), l = P(), d = f("p"), m = D(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(o, "class", "EmptyContentMessageContent"), h(e, "class", "EmptyContentMessageWrapper"), le(
|
|
165
201
|
e,
|
|
166
202
|
"EmptyContentMessageDesktop",
|
|
167
203
|
/*desktopView*/
|
|
@@ -174,9 +210,9 @@ function gt(t) {
|
|
|
174
210
|
p(c, g) {
|
|
175
211
|
g[0] & /*$_*/
|
|
176
212
|
131072 && s !== (s = /*$_*/
|
|
177
|
-
c[17]("error") + "") &&
|
|
213
|
+
c[17]("error") + "") && E(i, s), g[0] & /*$_*/
|
|
178
214
|
131072 && u !== (u = /*$_*/
|
|
179
|
-
c[17]("noPaymentMethods") + "") &&
|
|
215
|
+
c[17]("noPaymentMethods") + "") && E(m, u), g[0] & /*desktopView*/
|
|
180
216
|
8192 && le(
|
|
181
217
|
e,
|
|
182
218
|
"EmptyContentMessageDesktop",
|
|
@@ -185,7 +221,7 @@ function gt(t) {
|
|
|
185
221
|
);
|
|
186
222
|
},
|
|
187
223
|
d(c) {
|
|
188
|
-
c &&
|
|
224
|
+
c && z(e);
|
|
189
225
|
}
|
|
190
226
|
};
|
|
191
227
|
}
|
|
@@ -196,7 +232,7 @@ function Pe(t) {
|
|
|
196
232
|
), n;
|
|
197
233
|
return {
|
|
198
234
|
c() {
|
|
199
|
-
e = f("p"), n =
|
|
235
|
+
e = f("p"), n = D(o);
|
|
200
236
|
},
|
|
201
237
|
m(s, i) {
|
|
202
238
|
x(s, e, i), a(e, n);
|
|
@@ -204,14 +240,14 @@ function Pe(t) {
|
|
|
204
240
|
p(s, i) {
|
|
205
241
|
i[0] & /*$_*/
|
|
206
242
|
131072 && o !== (o = /*$_*/
|
|
207
|
-
s[17]("favorite") + "") &&
|
|
243
|
+
s[17]("favorite") + "") && E(n, o);
|
|
208
244
|
},
|
|
209
245
|
d(s) {
|
|
210
|
-
s &&
|
|
246
|
+
s && z(e);
|
|
211
247
|
}
|
|
212
248
|
};
|
|
213
249
|
}
|
|
214
|
-
function
|
|
250
|
+
function Ee(t) {
|
|
215
251
|
let e, o = (
|
|
216
252
|
/*$_*/
|
|
217
253
|
t[17](`${/*type*/
|
|
@@ -220,7 +256,7 @@ function De(t) {
|
|
|
220
256
|
), n;
|
|
221
257
|
return {
|
|
222
258
|
c() {
|
|
223
|
-
e = f("span"), n =
|
|
259
|
+
e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
|
|
224
260
|
},
|
|
225
261
|
m(s, i) {
|
|
226
262
|
x(s, e, i), a(e, n);
|
|
@@ -230,14 +266,14 @@ function De(t) {
|
|
|
230
266
|
133184 && o !== (o = /*$_*/
|
|
231
267
|
s[17](`${/*type*/
|
|
232
268
|
s[6]}${/*payMeth*/
|
|
233
|
-
s[58].ProcessingTime}`) + "") &&
|
|
269
|
+
s[58].ProcessingTime}`) + "") && E(n, o);
|
|
234
270
|
},
|
|
235
271
|
d(s) {
|
|
236
|
-
s &&
|
|
272
|
+
s && z(e);
|
|
237
273
|
}
|
|
238
274
|
};
|
|
239
275
|
}
|
|
240
|
-
function
|
|
276
|
+
function De(t) {
|
|
241
277
|
let e, o = (
|
|
242
278
|
/*$_*/
|
|
243
279
|
t[17](`${/*type*/
|
|
@@ -246,7 +282,7 @@ function Te(t) {
|
|
|
246
282
|
), n;
|
|
247
283
|
return {
|
|
248
284
|
c() {
|
|
249
|
-
e = f("span"), n =
|
|
285
|
+
e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
|
|
250
286
|
},
|
|
251
287
|
m(s, i) {
|
|
252
288
|
x(s, e, i), a(e, n);
|
|
@@ -256,22 +292,22 @@ function Te(t) {
|
|
|
256
292
|
133184 && o !== (o = /*$_*/
|
|
257
293
|
s[17](`${/*type*/
|
|
258
294
|
s[6]}${/*payMeth*/
|
|
259
|
-
s[58].ProcessingTime}`) + "") &&
|
|
295
|
+
s[58].ProcessingTime}`) + "") && E(n, o);
|
|
260
296
|
},
|
|
261
297
|
d(s) {
|
|
262
|
-
s &&
|
|
298
|
+
s && z(e);
|
|
263
299
|
}
|
|
264
300
|
};
|
|
265
301
|
}
|
|
266
|
-
function
|
|
267
|
-
let e, o, n, s, i, l, d, u, m, c, g,
|
|
302
|
+
function Te(t) {
|
|
303
|
+
let e, o, n, s, i, l, d, u, m, c, g, X = (
|
|
268
304
|
/*payMeth*/
|
|
269
305
|
(t[58].Label || /*payMeth*/
|
|
270
306
|
t[58].Name) + ""
|
|
271
|
-
),
|
|
307
|
+
), J, R, W, O, F, I, U = (
|
|
272
308
|
/*$_*/
|
|
273
309
|
t[17]("generalMin") + ""
|
|
274
|
-
),
|
|
310
|
+
), Z, ee, q = re(
|
|
275
311
|
/*payMeth*/
|
|
276
312
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
277
313
|
/*payMeth*/
|
|
@@ -294,10 +330,10 @@ function Se(t) {
|
|
|
294
330
|
t[16]
|
|
295
331
|
)
|
|
296
332
|
}
|
|
297
|
-
) + "", te,
|
|
333
|
+
) + "", te, G, j, K = (
|
|
298
334
|
/*$_*/
|
|
299
335
|
t[17]("generalMax") + ""
|
|
300
|
-
),
|
|
336
|
+
), T, ne, oe = re(
|
|
301
337
|
/*payMeth*/
|
|
302
338
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
303
339
|
/*payMeth*/
|
|
@@ -320,13 +356,13 @@ function Se(t) {
|
|
|
320
356
|
t[16]
|
|
321
357
|
)
|
|
322
358
|
}
|
|
323
|
-
) + "",
|
|
359
|
+
) + "", S, B, Y, k, Q, M = (
|
|
324
360
|
/*payMeth*/
|
|
325
361
|
t[58].isMethodPromoted && Pe(t)
|
|
326
362
|
), b = !/*desktopView*/
|
|
327
|
-
t[13] &&
|
|
363
|
+
t[13] && Ee(t), w = (
|
|
328
364
|
/*desktopView*/
|
|
329
|
-
t[13] &&
|
|
365
|
+
t[13] && De(t)
|
|
330
366
|
);
|
|
331
367
|
function ie() {
|
|
332
368
|
return (
|
|
@@ -339,13 +375,13 @@ function Se(t) {
|
|
|
339
375
|
}
|
|
340
376
|
return {
|
|
341
377
|
c() {
|
|
342
|
-
e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"),
|
|
378
|
+
e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), J = D(X), R = P(), b && b.c(), W = P(), O = f("div"), F = f("span"), I = f("p"), Z = D(U), ee = P(), te = D(q), G = P(), j = f("p"), T = D(K), ne = P(), S = D(oe), B = P(), w && w.c(), Y = P(), Me(n.src, s = /*payMeth*/
|
|
343
379
|
t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
|
|
344
380
|
t[58].LogoRelativeUrl}` : (
|
|
345
381
|
/*payMeth*/
|
|
346
382
|
t[58].LogoUrl
|
|
347
383
|
)) || h(n, "src", s), h(n, "alt", i = /*payMeth*/
|
|
348
|
-
t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(
|
|
384
|
+
t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(O, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
|
|
349
385
|
e,
|
|
350
386
|
"checked",
|
|
351
387
|
/*selectedPaymentMethod*/
|
|
@@ -353,29 +389,29 @@ function Se(t) {
|
|
|
353
389
|
t[58].Name
|
|
354
390
|
);
|
|
355
391
|
},
|
|
356
|
-
m(
|
|
357
|
-
x(
|
|
392
|
+
m(V, v) {
|
|
393
|
+
x(V, e, v), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, J), a(m, R), b && b.m(m, null), a(m, W), a(m, O), a(O, F), a(F, I), a(I, Z), a(I, ee), a(I, te), a(F, G), a(F, j), a(j, T), a(j, ne), a(j, S), a(m, B), w && w.m(m, null), a(e, Y), k || (Q = [
|
|
358
394
|
me(e, "click", ie),
|
|
359
395
|
me(e, "keyup", wt)
|
|
360
396
|
], k = !0);
|
|
361
397
|
},
|
|
362
|
-
p(
|
|
363
|
-
t =
|
|
398
|
+
p(V, v) {
|
|
399
|
+
t = V, v[0] & /*paymentMethodsToShow*/
|
|
364
400
|
2048 && !Me(n.src, s = /*payMeth*/
|
|
365
401
|
t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
|
|
366
402
|
t[58].LogoRelativeUrl}` : (
|
|
367
403
|
/*payMeth*/
|
|
368
404
|
t[58].LogoUrl
|
|
369
|
-
)) && h(n, "src", s),
|
|
405
|
+
)) && h(n, "src", s), v[0] & /*paymentMethodsToShow*/
|
|
370
406
|
2048 && i !== (i = /*payMeth*/
|
|
371
407
|
t[58].Label) && h(n, "alt", i), /*payMeth*/
|
|
372
|
-
t[58].isMethodPromoted ? M ? M.p(t,
|
|
373
|
-
2048 &&
|
|
408
|
+
t[58].isMethodPromoted ? M ? M.p(t, v) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), v[0] & /*paymentMethodsToShow*/
|
|
409
|
+
2048 && X !== (X = /*payMeth*/
|
|
374
410
|
(t[58].Label || /*payMeth*/
|
|
375
|
-
t[58].Name) + "") &&
|
|
376
|
-
t[13] ? b && (b.d(1), b = null) : b ? b.p(t,
|
|
377
|
-
131072 &&
|
|
378
|
-
t[17]("generalMin") + "") &&
|
|
411
|
+
t[58].Name) + "") && E(J, X), /*desktopView*/
|
|
412
|
+
t[13] ? b && (b.d(1), b = null) : b ? b.p(t, v) : (b = Ee(t), b.c(), b.m(m, W)), v[0] & /*$_*/
|
|
413
|
+
131072 && U !== (U = /*$_*/
|
|
414
|
+
t[17]("generalMin") + "") && E(Z, U), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
379
415
|
67840 && q !== (q = re(
|
|
380
416
|
/*payMeth*/
|
|
381
417
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -399,9 +435,9 @@ function Se(t) {
|
|
|
399
435
|
t[16]
|
|
400
436
|
)
|
|
401
437
|
}
|
|
402
|
-
) + "") &&
|
|
403
|
-
131072 &&
|
|
404
|
-
t[17]("generalMax") + "") &&
|
|
438
|
+
) + "") && E(te, q), v[0] & /*$_*/
|
|
439
|
+
131072 && K !== (K = /*$_*/
|
|
440
|
+
t[17]("generalMax") + "") && E(T, K), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
405
441
|
67840 && oe !== (oe = re(
|
|
406
442
|
/*payMeth*/
|
|
407
443
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
@@ -425,8 +461,8 @@ function Se(t) {
|
|
|
425
461
|
t[16]
|
|
426
462
|
)
|
|
427
463
|
}
|
|
428
|
-
) + "") &&
|
|
429
|
-
t[13] ? w ? w.p(t,
|
|
464
|
+
) + "") && E(S, oe), /*desktopView*/
|
|
465
|
+
t[13] ? w ? w.p(t, v) : (w = De(t), w.c(), w.m(m, null)) : w && (w.d(1), w = null), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
430
466
|
2560 && le(
|
|
431
467
|
e,
|
|
432
468
|
"checked",
|
|
@@ -435,16 +471,16 @@ function Se(t) {
|
|
|
435
471
|
t[58].Name
|
|
436
472
|
);
|
|
437
473
|
},
|
|
438
|
-
d(
|
|
439
|
-
|
|
474
|
+
d(V) {
|
|
475
|
+
V && z(e), M && M.d(), b && b.d(), w && w.d(), k = !1, rt(Q);
|
|
440
476
|
}
|
|
441
477
|
};
|
|
442
478
|
}
|
|
443
|
-
function
|
|
479
|
+
function Se(t) {
|
|
444
480
|
let e, o, n, s;
|
|
445
481
|
return {
|
|
446
482
|
c() {
|
|
447
|
-
e = f("div"), o =
|
|
483
|
+
e = f("div"), o = D(
|
|
448
484
|
/*methodsButtonToggleText*/
|
|
449
485
|
t[10]
|
|
450
486
|
), h(e, "class", "ShowAllButton");
|
|
@@ -459,14 +495,14 @@ function Ee(t) {
|
|
|
459
495
|
},
|
|
460
496
|
p(i, l) {
|
|
461
497
|
l[0] & /*methodsButtonToggleText*/
|
|
462
|
-
1024 &&
|
|
498
|
+
1024 && E(
|
|
463
499
|
o,
|
|
464
500
|
/*methodsButtonToggleText*/
|
|
465
501
|
i[10]
|
|
466
502
|
);
|
|
467
503
|
},
|
|
468
504
|
d(i) {
|
|
469
|
-
i &&
|
|
505
|
+
i && z(e), n = !1, s();
|
|
470
506
|
}
|
|
471
507
|
};
|
|
472
508
|
}
|
|
@@ -474,7 +510,7 @@ function Ne(t) {
|
|
|
474
510
|
let e, o, n;
|
|
475
511
|
return {
|
|
476
512
|
c() {
|
|
477
|
-
e = f("cashier-error"), o = f("span"), n =
|
|
513
|
+
e = f("cashier-error"), o = f("span"), n = D(
|
|
478
514
|
/*errorMessage*/
|
|
479
515
|
t[12]
|
|
480
516
|
), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), N(
|
|
@@ -514,7 +550,7 @@ function Ne(t) {
|
|
|
514
550
|
},
|
|
515
551
|
p(s, i) {
|
|
516
552
|
i[0] & /*errorMessage*/
|
|
517
|
-
4096 &&
|
|
553
|
+
4096 && E(
|
|
518
554
|
n,
|
|
519
555
|
/*errorMessage*/
|
|
520
556
|
s[12]
|
|
@@ -557,7 +593,7 @@ function Ne(t) {
|
|
|
557
593
|
);
|
|
558
594
|
},
|
|
559
595
|
d(s) {
|
|
560
|
-
s &&
|
|
596
|
+
s && z(e);
|
|
561
597
|
}
|
|
562
598
|
};
|
|
563
599
|
}
|
|
@@ -571,7 +607,7 @@ function pt(t) {
|
|
|
571
607
|
);
|
|
572
608
|
return {
|
|
573
609
|
c() {
|
|
574
|
-
n && n.c(), e = P(), s && s.c(), o =
|
|
610
|
+
n && n.c(), e = P(), s && s.c(), o = Ae();
|
|
575
611
|
},
|
|
576
612
|
m(i, l) {
|
|
577
613
|
n && n.m(i, l), x(i, e, l), s && s.m(i, l), x(i, o, l);
|
|
@@ -584,7 +620,7 @@ function pt(t) {
|
|
|
584
620
|
i: ge,
|
|
585
621
|
o: ge,
|
|
586
622
|
d(i) {
|
|
587
|
-
i && (
|
|
623
|
+
i && (z(e), z(o)), n && n.d(i), s && s.d(i);
|
|
588
624
|
}
|
|
589
625
|
};
|
|
590
626
|
}
|
|
@@ -593,37 +629,37 @@ const yt = "PaymentPromotion", wt = () => {
|
|
|
593
629
|
function Mt(t, e, o) {
|
|
594
630
|
let n, s, i;
|
|
595
631
|
pe(t, at, (r) => o(17, s = r)), pe(t, be, (r) => o(42, i = r)), ye.extend(et);
|
|
596
|
-
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl:
|
|
632
|
+
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: X } = e, { currency: J } = e, { numberofmethodsshown: R } = e, { translationurl: W = "" } = e, { mbsource: O } = e, { clientstyling: F } = e, { clientstylingurl: I } = e, { currencydecimals: U = "0" } = e, { currencysymbol: Z = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: G = "" } = e, j, K = {}, T, ne, oe = window.navigator.userAgent, S = [], B, Y = "", k = [], Q = [], M = "", b, w = !0, ie = !1, V = !1, v = [];
|
|
597
633
|
var ae;
|
|
598
634
|
(function(r) {
|
|
599
635
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
600
636
|
})(ae || (ae = {}));
|
|
601
|
-
const
|
|
637
|
+
const ze = () => {
|
|
602
638
|
let r = W;
|
|
603
639
|
if (r)
|
|
604
640
|
return fetch(r).then((p) => p.json()).then((p) => {
|
|
605
641
|
Object.keys(p).forEach(($) => {
|
|
606
|
-
|
|
642
|
+
ve($, p[$]);
|
|
607
643
|
});
|
|
608
644
|
}).catch((p) => {
|
|
609
645
|
console.log(p);
|
|
610
646
|
});
|
|
611
647
|
};
|
|
612
|
-
Object.keys(
|
|
613
|
-
|
|
648
|
+
Object.keys(_e).forEach((r) => {
|
|
649
|
+
ve(r, _e[r]);
|
|
614
650
|
});
|
|
615
651
|
const xe = () => {
|
|
616
652
|
ut(l);
|
|
617
|
-
}, Re = (r) => {
|
|
618
|
-
i && Fe(r);
|
|
619
653
|
}, Fe = (r) => {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
const
|
|
623
|
-
|
|
654
|
+
i && Re(r);
|
|
655
|
+
}, Re = (r) => {
|
|
656
|
+
const { currency: p } = r, _ = j !== void 0 && j !== p ? "MetadataLoading" : "DataLoading";
|
|
657
|
+
j = p, window.postMessage({ type: _, isDataLoaded: !1 }, window.location.href);
|
|
658
|
+
const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), A = new Headers();
|
|
659
|
+
A.append("accept", "application/json"), A.append("Content-Type", "application/json"), A.append("X-Client-Request-Timestamp", ye.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), A.append("X-SessionId", `${c}`), A.append("X-Payment-Session-Token", `${m || i}`), v.indexOf("MM_CHANNEL_BETA") != -1 && A.append("MM_CHANNEL", "BETA");
|
|
624
660
|
const H = {
|
|
625
661
|
method: "POST",
|
|
626
|
-
headers:
|
|
662
|
+
headers: A,
|
|
627
663
|
mode: "cors",
|
|
628
664
|
body: JSON.stringify({
|
|
629
665
|
...p && { Currency: p },
|
|
@@ -639,46 +675,46 @@ function Mt(t, e, o) {
|
|
|
639
675
|
return;
|
|
640
676
|
}
|
|
641
677
|
if (C.ResponseCode !== ae.Success) {
|
|
642
|
-
b = C.ResponseCode,
|
|
678
|
+
b = C.ResponseCode, Ue();
|
|
643
679
|
return;
|
|
644
680
|
}
|
|
645
|
-
|
|
681
|
+
S = C.PaymentMethods?.Ordering ? Ie(C) : Oe(C), window.postMessage(
|
|
646
682
|
{
|
|
647
683
|
type: "PromotedPaymentMethods",
|
|
648
684
|
promotedPaymentMethods: Q
|
|
649
685
|
},
|
|
650
686
|
window.location.href
|
|
651
|
-
), o(10,
|
|
687
|
+
), o(10, Y = R && +R > 0 && S.length > +R ? s("showAll") : ""), o(11, k = Y ? S.slice(0, +R) : S), q == "false" && o(11, k = k.sort((se, he) => se.isMethodPromoted && !he.isMethodPromoted ? -1 : !se.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), o(15, V = !k.length), window.postMessage(
|
|
652
688
|
{
|
|
653
689
|
type: "StartSessionCountdown",
|
|
654
|
-
paymentMethodName:
|
|
690
|
+
paymentMethodName: S[0].Name
|
|
655
691
|
},
|
|
656
692
|
window.location.href
|
|
657
|
-
), window.postMessage({ type:
|
|
693
|
+
), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
|
|
658
694
|
}).finally(() => {
|
|
659
|
-
o(14, ie = !0), window.postMessage({ type:
|
|
695
|
+
o(14, ie = !0), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
|
|
660
696
|
});
|
|
661
|
-
},
|
|
697
|
+
}, Ie = (r) => {
|
|
662
698
|
const p = [];
|
|
663
699
|
return Q = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
|
|
664
|
-
const
|
|
665
|
-
if (
|
|
666
|
-
const L =
|
|
667
|
-
|
|
700
|
+
const _ = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
|
|
701
|
+
if (_) {
|
|
702
|
+
const L = _?.Logos.find((C) => C.LogoType === "Desktop") || {}, A = _?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : A;
|
|
703
|
+
_.isMethodPromoted = ue(_.Tags), _.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", _.isMethodPromoted && Q.push(_), p.push(_);
|
|
668
704
|
}
|
|
669
705
|
}), p;
|
|
670
|
-
},
|
|
706
|
+
}, Oe = (r) => {
|
|
671
707
|
const p = r.PaymentMethods.PaymentMethods.map((L) => ({
|
|
672
708
|
...L,
|
|
673
709
|
isMethodPromoted: ue(L.Tags),
|
|
674
710
|
LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
|
|
675
|
-
})), [$,
|
|
676
|
-
([L,
|
|
711
|
+
})), [$, _] = p.reduce(
|
|
712
|
+
([L, A], H) => (H && H.isMethodPromoted ? L.push(H) : A.promo(H), [L, A]),
|
|
677
713
|
[[], []]
|
|
678
714
|
);
|
|
679
|
-
return Q = $,
|
|
715
|
+
return Q = $, _;
|
|
680
716
|
}, ce = (r) => {
|
|
681
|
-
o(9,
|
|
717
|
+
o(9, B = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
|
|
682
718
|
"selectPayMeth",
|
|
683
719
|
{
|
|
684
720
|
detail: r,
|
|
@@ -687,7 +723,7 @@ function Mt(t, e, o) {
|
|
|
687
723
|
composed: !0
|
|
688
724
|
}
|
|
689
725
|
));
|
|
690
|
-
},
|
|
726
|
+
}, Ue = () => {
|
|
691
727
|
window.postMessage(
|
|
692
728
|
{
|
|
693
729
|
type: "ErrorResponseCode",
|
|
@@ -698,60 +734,60 @@ function Mt(t, e, o) {
|
|
|
698
734
|
}, je = () => {
|
|
699
735
|
o(13, w = !st(oe));
|
|
700
736
|
}, de = () => {
|
|
701
|
-
k ==
|
|
737
|
+
k == S ? We() : He();
|
|
702
738
|
}, He = () => {
|
|
703
|
-
o(11, k =
|
|
739
|
+
o(11, k = S), o(10, Y = s("showLess"));
|
|
704
740
|
}, We = () => {
|
|
705
|
-
o(11, k =
|
|
741
|
+
o(11, k = S.slice(0, +R)), B && !k.find((r) => r.Name === B) && k.splice(0, 0, S.find((r) => r.Name === B)), o(10, Y = s("showAll"));
|
|
706
742
|
}, ue = (r) => r && r.split(",").some((p) => p === yt), fe = (r) => {
|
|
707
743
|
const { data: { type: p } = {} } = r || {};
|
|
708
744
|
switch (p) {
|
|
709
745
|
case "PrecisionCurrenciesMap": {
|
|
710
|
-
o(8,
|
|
746
|
+
o(8, K = r?.data?.payload || {});
|
|
711
747
|
break;
|
|
712
748
|
}
|
|
713
749
|
}
|
|
714
750
|
}, qe = () => {
|
|
715
|
-
|
|
751
|
+
G.length > 0 && (v = G.split(","));
|
|
716
752
|
};
|
|
717
|
-
tt(() => (je(), ot(d,
|
|
753
|
+
tt(() => (je(), ot(d, Z, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
|
|
718
754
|
window.removeEventListener("message", fe);
|
|
719
755
|
}));
|
|
720
|
-
const
|
|
721
|
-
function
|
|
756
|
+
const Ge = (r) => ce(r), Be = () => de();
|
|
757
|
+
function Ye(r) {
|
|
722
758
|
nt[r ? "unshift" : "push"](() => {
|
|
723
|
-
|
|
759
|
+
T = r, o(7, T);
|
|
724
760
|
});
|
|
725
761
|
}
|
|
726
762
|
return t.$$set = (r) => {
|
|
727
|
-
"lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1,
|
|
763
|
+
"lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1, X = r.assetsurl), "currency" in r && o(25, J = r.currency), "numberofmethodsshown" in r && o(26, R = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, O = r.mbsource), "clientstyling" in r && o(4, F = r.clientstyling), "clientstylingurl" in r && o(5, I = r.clientstylingurl), "currencydecimals" in r && o(27, U = r.currencydecimals), "currencysymbol" in r && o(28, Z = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, q = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, G = r.userroles);
|
|
728
764
|
}, t.$$.update = () => {
|
|
729
765
|
t.$$.dirty[1] & /*userroles*/
|
|
730
|
-
1 &&
|
|
731
|
-
56623104 && u && !m && g &&
|
|
766
|
+
1 && G && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
767
|
+
56623104 && u && !m && g && Fe({ currency: J }), t.$$.dirty[0] & /*lang*/
|
|
732
768
|
1 && l && xe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
733
|
-
144 &&
|
|
734
|
-
160 &&
|
|
735
|
-
136 &&
|
|
736
|
-
5 && l && W &&
|
|
737
|
-
134217728 && o(16, n = Number(
|
|
769
|
+
144 && F && T && mt(T, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
770
|
+
160 && I && T && ct(T, I), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
771
|
+
136 && O && T && dt(T, `${O}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
|
|
772
|
+
5 && l && W && ze(), t.$$.dirty[0] & /*currencydecimals*/
|
|
773
|
+
134217728 && o(16, n = Number(U));
|
|
738
774
|
}, [
|
|
739
775
|
l,
|
|
740
|
-
|
|
776
|
+
X,
|
|
741
777
|
W,
|
|
742
|
-
U,
|
|
743
|
-
R,
|
|
744
778
|
O,
|
|
779
|
+
F,
|
|
780
|
+
I,
|
|
745
781
|
te,
|
|
746
|
-
|
|
747
|
-
|
|
782
|
+
T,
|
|
783
|
+
K,
|
|
784
|
+
B,
|
|
748
785
|
Y,
|
|
749
|
-
X,
|
|
750
786
|
k,
|
|
751
787
|
M,
|
|
752
788
|
w,
|
|
753
789
|
ie,
|
|
754
|
-
|
|
790
|
+
V,
|
|
755
791
|
n,
|
|
756
792
|
s,
|
|
757
793
|
ce,
|
|
@@ -761,21 +797,21 @@ function Mt(t, e, o) {
|
|
|
761
797
|
m,
|
|
762
798
|
c,
|
|
763
799
|
g,
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
800
|
+
J,
|
|
801
|
+
R,
|
|
802
|
+
U,
|
|
803
|
+
Z,
|
|
768
804
|
ee,
|
|
769
805
|
q,
|
|
770
|
-
|
|
806
|
+
G,
|
|
807
|
+
Ge,
|
|
771
808
|
Be,
|
|
772
|
-
Ye
|
|
773
|
-
Xe
|
|
809
|
+
Ye
|
|
774
810
|
];
|
|
775
811
|
}
|
|
776
|
-
class bt extends
|
|
812
|
+
class bt extends Ze {
|
|
777
813
|
constructor(e) {
|
|
778
|
-
super(),
|
|
814
|
+
super(), Ke(
|
|
779
815
|
this,
|
|
780
816
|
e,
|
|
781
817
|
Mt,
|