@everymatrix/cashier-page 1.54.12 → 1.55.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/{CashierConfirmModal-T9FhMxP2.js → CashierConfirmModal-Bho8FqJK.js} +32 -32
- package/components/{CashierConfirmModal-Bop0eOiK.js → CashierConfirmModal-h87-4Uqk.js} +32 -32
- package/components/{CashierError-CXr1Ga3A.js → CashierError-B6UnQRtt.js} +342 -340
- package/components/{CashierError-pt2isP4C.cjs → CashierError-Dj9dAyT_.cjs} +3 -3
- package/components/{CashierError-D3O2fglb.js → CashierError-R8ZhIjyI.js} +342 -340
- package/components/{CashierHeader-CI7jIwvA.js → CashierHeader-CGdNSxx6.js} +42 -42
- package/components/{CashierHeader-CYvR5CZu.cjs → CashierHeader-Ckcwhr6m.cjs} +1 -1
- package/components/{CashierHeader-DXoV0-sU.js → CashierHeader-siQceHGX.js} +44 -44
- package/components/{CashierIframeRedirect-DZRW06O3.js → CashierIframeRedirect-BJdtHTt_.js} +32 -32
- package/components/{CashierIframeRedirect-DJX1MABE.cjs → CashierIframeRedirect-C7zvMq6i.cjs} +1 -1
- package/components/{CashierIframeRedirect-Bj6yzWbz.js → CashierIframeRedirect-Cf280zGs.js} +33 -33
- package/components/{CashierMethodDetails-WRu0moNB.js → CashierMethodDetails-0n7uERIs.js} +63 -63
- package/components/{CashierMethodDetails-BHM-R2f6.js → CashierMethodDetails-Bh0qCR4w.js} +63 -63
- package/components/{CashierMethodDetails-BL4YJCfG.cjs → CashierMethodDetails-Bs5PGaZC.cjs} +1 -1
- package/components/{CashierMethodsList-fL4dP0q6.cjs → CashierMethodsList-C8rrtr0q.cjs} +1 -1
- package/components/{CashierMethodsList-Bwo2B3ZI.js → CashierMethodsList-CNZycJM8.js} +68 -68
- package/components/{CashierMethodsList-DvJ5AeVH.js → CashierMethodsList-DIGc9AUv.js} +116 -116
- package/components/{CashierModal-DnFkgCZP.js → CashierModal-XEf2DPsH.js} +31 -31
- package/components/{CashierModal-CZ_PAOXO.js → CashierModal-_JYkOwJz.js} +37 -37
- package/components/{CashierNotifications-BCI1m1DC.js → CashierNotifications-Dx7SHS2Y.js} +18 -18
- package/components/{CashierNotifications-u0zBDLtX.js → CashierNotifications-n-WNsBs_.js} +19 -19
- package/components/{CashierPage-DZ_m9jSo.js → CashierPage-CUsOGi4E.js} +81 -77
- package/components/{CashierPage-DFljONz-.cjs → CashierPage-HjIA5R5P.cjs} +1 -1
- package/components/{CashierPage-r3LOURHg.js → CashierPage-Z3s-AE-W.js} +83 -79
- package/components/{CashierReceiptPage-CrsgQKKv.js → CashierReceiptPage-CS5M5RZ6.js} +76 -76
- package/components/{CashierReceiptPage-BkkEn2jf.cjs → CashierReceiptPage-DZyFyBqS.cjs} +1 -1
- package/components/{CashierReceiptPage-BpeCx1F0.js → CashierReceiptPage-DzQqg8nv.js} +76 -76
- package/components/{CashierSessionExpirationModal-eZ-ggsNl.js → CashierSessionExpirationModal-CBmx5SD7.js} +56 -47
- package/components/{CashierSessionExpirationModal-C1yl8YfD.js → CashierSessionExpirationModal-CXDh6poB.js} +56 -47
- package/components/{CashierSessionExpirationModal-DNA0exph.cjs → CashierSessionExpirationModal-CdyR3b34.cjs} +2 -2
- package/components/{CashierSpinner-C4PbqmeQ.js → CashierSpinner-CQi2Ol7j.js} +25 -25
- package/components/{CashierSpinner-BjkjegeG.js → CashierSpinner-CwTAvuPD.js} +26 -26
- package/components/{CashierVerifications-B-jBO3Nx.js → CashierVerifications-C1NppS_0.js} +26 -26
- package/components/{CashierVerifications-C8WlwUzI.js → CashierVerifications-Dj7MJocZ.js} +72 -72
- package/components/{CashierVerifications-BD1cym0W.cjs → CashierVerifications-oj-eHRhw.cjs} +1 -1
- package/components/{CashierVideoModal-CeguehvU.js → CashierVideoModal-C8etvcxP.js} +33 -33
- package/components/{CashierVideoModal-CEfQgtP6.js → CashierVideoModal-CgS8X4Od.js} +37 -37
- 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
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var Pe = Object.defineProperty, Ne = Object.defineProperties;
|
|
2
2
|
var ze = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var oe = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var De = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var re = (t, e, s) => e in t ? Pe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, ee = (t, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
De.call(e, s) && re(t, s, e[s]);
|
|
8
8
|
if (oe)
|
|
9
9
|
for (var s of oe(e))
|
|
10
|
-
|
|
10
|
+
Fe.call(e, s) && re(t, s, e[s]);
|
|
11
11
|
return t;
|
|
12
12
|
}, te = (t, e) => Ne(t, ze(e));
|
|
13
|
-
import { S as
|
|
14
|
-
import { a as
|
|
15
|
-
import { d as de, u as Ze } from "./CashierMethodDetails-
|
|
13
|
+
import { S as He, b as We, f as S, c as je, a as Oe, d as Ue, h as _, x as Re, k as z, n as ae, v as D, w as Be, Q as Ie, G as Ge, g as b, E as v, K as me, j as y, l as d, M as Ve, y as x, D as ce, I as Z, A as se, z as T, r as qe, C as Ye } from "./CashierConfirmModal-Bho8FqJK.js";
|
|
14
|
+
import { a as Je, i as Xe, $ as Ke, b as Qe } from "./CashierError-B6UnQRtt.js";
|
|
15
|
+
import { d as de, u as Ze } from "./CashierMethodDetails-Bh0qCR4w.js";
|
|
16
16
|
function ue(t, e) {
|
|
17
|
-
|
|
17
|
+
Je(t, e);
|
|
18
18
|
}
|
|
19
19
|
function $e(t) {
|
|
20
20
|
Xe({
|
|
@@ -79,7 +79,7 @@ function fe(t) {
|
|
|
79
79
|
);
|
|
80
80
|
},
|
|
81
81
|
m(s, r) {
|
|
82
|
-
|
|
82
|
+
z(s, e, r);
|
|
83
83
|
},
|
|
84
84
|
p(s, r) {
|
|
85
85
|
r[0] & /*clientstylingurl*/
|
|
@@ -97,7 +97,7 @@ function fe(t) {
|
|
|
97
97
|
);
|
|
98
98
|
},
|
|
99
99
|
d(s) {
|
|
100
|
-
s &&
|
|
100
|
+
s && D(e);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -124,7 +124,7 @@ function pe(t) {
|
|
|
124
124
|
r = _(), i && i.c(), a = _(), m && m.c(), y(s, "class", "CashierMethodList"), y(e, "class", "CashierMethodListWidget");
|
|
125
125
|
},
|
|
126
126
|
m(c, f) {
|
|
127
|
-
|
|
127
|
+
z(c, e, f), d(e, s);
|
|
128
128
|
for (let u = 0; u < o.length; u += 1)
|
|
129
129
|
o[u] && o[u].m(s, null);
|
|
130
130
|
d(s, r), i && i.m(s, null), d(e, a), m && m.m(e, null), t[27](e);
|
|
@@ -151,7 +151,7 @@ function pe(t) {
|
|
|
151
151
|
c[7] ? m ? m.p(c, f) : (m = be(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
|
|
152
152
|
},
|
|
153
153
|
d(c) {
|
|
154
|
-
c &&
|
|
154
|
+
c && D(e), Ve(o, c), i && i.d(), m && m.d(), t[27](null);
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
@@ -163,19 +163,19 @@ function we(t) {
|
|
|
163
163
|
), f, u, g, p, P = (
|
|
164
164
|
/*$_*/
|
|
165
165
|
t[14]("generalMin") + ""
|
|
166
|
-
),
|
|
166
|
+
), F, k, C = (
|
|
167
167
|
/*formatter*/
|
|
168
168
|
t[15].format(
|
|
169
169
|
/*payMeth*/
|
|
170
170
|
t[48].DisplayCurrency.MinAmountLimit
|
|
171
171
|
) + ""
|
|
172
|
-
), N,
|
|
172
|
+
), N, H, L = (
|
|
173
173
|
/*payMeth*/
|
|
174
174
|
t[48].DisplayCurrency.Name + ""
|
|
175
|
-
), W,
|
|
175
|
+
), W, J, E, j = (
|
|
176
176
|
/*$_*/
|
|
177
177
|
t[14]("generalMax") + ""
|
|
178
|
-
),
|
|
178
|
+
), O, I, U = (
|
|
179
179
|
/*formatter*/
|
|
180
180
|
t[15].format(
|
|
181
181
|
/*payMeth*/
|
|
@@ -184,7 +184,7 @@ function we(t) {
|
|
|
184
184
|
), R, X, G = (
|
|
185
185
|
/*payMeth*/
|
|
186
186
|
t[48].DisplayCurrency.Name + ""
|
|
187
|
-
), q,
|
|
187
|
+
), q, Y, K;
|
|
188
188
|
function Q() {
|
|
189
189
|
return (
|
|
190
190
|
/*click_handler*/
|
|
@@ -196,7 +196,7 @@ function we(t) {
|
|
|
196
196
|
}
|
|
197
197
|
return {
|
|
198
198
|
c() {
|
|
199
|
-
e = b("div"), s = b("div"), r = b("img"), o = _(), i = b("div"), m = b("span"), f =
|
|
199
|
+
e = b("div"), s = b("div"), r = b("img"), o = _(), i = b("div"), m = b("span"), f = x(c), u = _(), g = b("div"), p = b("span"), F = x(P), k = _(), N = x(C), H = _(), W = x(L), J = _(), E = b("span"), O = x(j), I = _(), R = x(U), X = _(), q = x(G), ce(r.src, a = /*payMeth*/
|
|
200
200
|
t[48].LogoUrl) || y(r, "src", a), y(r, "alt", l = /*payMeth*/
|
|
201
201
|
t[48].Label), y(s, "class", "MethodLogo"), y(i, "class", "MethodTitle"), y(p, "class", "Limits"), y(E, "class", "Limits"), y(g, "class", "MethodLimits"), y(e, "class", "SelectorWrapper"), Z(
|
|
202
202
|
e,
|
|
@@ -207,10 +207,10 @@ function we(t) {
|
|
|
207
207
|
);
|
|
208
208
|
},
|
|
209
209
|
m(B, M) {
|
|
210
|
-
|
|
210
|
+
z(B, e, M), d(e, s), d(s, r), d(e, o), d(e, i), d(i, m), d(m, f), d(e, u), d(e, g), d(g, p), d(p, F), d(p, k), d(p, N), d(p, H), d(p, W), d(g, J), d(g, E), d(E, O), d(E, I), d(E, R), d(E, X), d(E, q), Y || (K = [
|
|
211
211
|
se(e, "click", Q),
|
|
212
212
|
se(e, "keyup", st)
|
|
213
|
-
],
|
|
213
|
+
], Y = !0);
|
|
214
214
|
},
|
|
215
215
|
p(B, M) {
|
|
216
216
|
t = B, M[0] & /*paymentMethodsToShow*/
|
|
@@ -220,25 +220,25 @@ function we(t) {
|
|
|
220
220
|
t[48].Label) && y(r, "alt", l), M[0] & /*paymentMethodsToShow*/
|
|
221
221
|
256 && c !== (c = /*payMeth*/
|
|
222
222
|
(t[48].Label || /*payMeth*/
|
|
223
|
-
t[48].Name) + "") &&
|
|
223
|
+
t[48].Name) + "") && T(f, c), M[0] & /*$_*/
|
|
224
224
|
16384 && P !== (P = /*$_*/
|
|
225
|
-
t[14]("generalMin") + "") &&
|
|
225
|
+
t[14]("generalMin") + "") && T(F, P), M[0] & /*paymentMethodsToShow*/
|
|
226
226
|
256 && C !== (C = /*formatter*/
|
|
227
227
|
t[15].format(
|
|
228
228
|
/*payMeth*/
|
|
229
229
|
t[48].DisplayCurrency.MinAmountLimit
|
|
230
|
-
) + "") &&
|
|
230
|
+
) + "") && T(N, C), M[0] & /*paymentMethodsToShow*/
|
|
231
231
|
256 && L !== (L = /*payMeth*/
|
|
232
|
-
t[48].DisplayCurrency.Name + "") &&
|
|
233
|
-
16384 &&
|
|
234
|
-
t[14]("generalMax") + "") &&
|
|
235
|
-
256 &&
|
|
232
|
+
t[48].DisplayCurrency.Name + "") && T(W, L), M[0] & /*$_*/
|
|
233
|
+
16384 && j !== (j = /*$_*/
|
|
234
|
+
t[14]("generalMax") + "") && T(O, j), M[0] & /*paymentMethodsToShow*/
|
|
235
|
+
256 && U !== (U = /*formatter*/
|
|
236
236
|
t[15].format(
|
|
237
237
|
/*payMeth*/
|
|
238
238
|
t[48].DisplayCurrency.MaxAmountLimit
|
|
239
|
-
) + "") &&
|
|
239
|
+
) + "") && T(R, U), M[0] & /*paymentMethodsToShow*/
|
|
240
240
|
256 && G !== (G = /*payMeth*/
|
|
241
|
-
t[48].DisplayCurrency.Name + "") &&
|
|
241
|
+
t[48].DisplayCurrency.Name + "") && T(q, G), M[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
242
242
|
320 && Z(
|
|
243
243
|
e,
|
|
244
244
|
"checked",
|
|
@@ -248,7 +248,7 @@ function we(t) {
|
|
|
248
248
|
);
|
|
249
249
|
},
|
|
250
250
|
d(B) {
|
|
251
|
-
B &&
|
|
251
|
+
B && D(e), Y = !1, qe(K);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
@@ -262,7 +262,7 @@ function ye(t) {
|
|
|
262
262
|
), u;
|
|
263
263
|
return {
|
|
264
264
|
c() {
|
|
265
|
-
e = b("div"), s = b("div"), r = b("div"), r.innerHTML = '<svg fill="currentColor" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 294.995 294.995" xml:space="preserve" stroke="#fa9200"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><path d="M291.874,248.279L165.605,26.526c-4.007-7.037-10.776-11.26-18.107-11.26s-14.101,4.202-18.107,11.239L3.121,248.238 c-3.979,6.989-4.164,15.013-0.493,21.326c3.67,6.313,10.663,10.165,18.705,10.165h252.329c8.042,0,15.035-3.852,18.705-10.165 C296.038,263.251,295.854,255.268,291.874,248.279z M146.665,86.229c9.665,0,17.5,7.835,17.5,17.5v63c0,9.665-7.835,17.5-17.5,17.5 c-9.665,0-17.5-7.835-17.5-17.5v-63C129.165,94.064,137,86.229,146.665,86.229z M147.498,204.005c9.665,0,17.5,7.835,17.5,17.5 c0,9.665-7.835,17.5-17.5,17.5c-9.665,0-17.5-7.835-17.5-17.5C129.998,211.84,137.833,204.005,147.498,204.005z"></path></g></g></svg>', a = _(), l = b("p"), i =
|
|
265
|
+
e = b("div"), s = b("div"), r = b("div"), r.innerHTML = '<svg fill="currentColor" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 294.995 294.995" xml:space="preserve" stroke="#fa9200"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><path d="M291.874,248.279L165.605,26.526c-4.007-7.037-10.776-11.26-18.107-11.26s-14.101,4.202-18.107,11.239L3.121,248.238 c-3.979,6.989-4.164,15.013-0.493,21.326c3.67,6.313,10.663,10.165,18.705,10.165h252.329c8.042,0,15.035-3.852,18.705-10.165 C296.038,263.251,295.854,255.268,291.874,248.279z M146.665,86.229c9.665,0,17.5,7.835,17.5,17.5v63c0,9.665-7.835,17.5-17.5,17.5 c-9.665,0-17.5-7.835-17.5-17.5v-63C129.165,94.064,137,86.229,146.665,86.229z M147.498,204.005c9.665,0,17.5,7.835,17.5,17.5 c0,9.665-7.835,17.5-17.5,17.5c-9.665,0-17.5-7.835-17.5-17.5C129.998,211.84,137.833,204.005,147.498,204.005z"></path></g></g></svg>', a = _(), l = b("p"), i = x(o), m = _(), c = b("p"), u = x(f), y(r, "class", "IconWarning"), y(l, "class", "EmptyContentMessageTitle"), y(s, "class", "EmptyContentMessageHeader"), y(c, "class", "EmptyContentMessageText"), y(e, "class", "EmptyContentMessageWrapper"), Z(
|
|
266
266
|
e,
|
|
267
267
|
"EmptyContentMessageDesktop",
|
|
268
268
|
/*desktopView*/
|
|
@@ -270,14 +270,14 @@ function ye(t) {
|
|
|
270
270
|
);
|
|
271
271
|
},
|
|
272
272
|
m(g, p) {
|
|
273
|
-
|
|
273
|
+
z(g, e, p), d(e, s), d(s, r), d(s, a), d(s, l), d(l, i), d(e, m), d(e, c), d(c, u);
|
|
274
274
|
},
|
|
275
275
|
p(g, p) {
|
|
276
276
|
p[0] & /*$_*/
|
|
277
277
|
16384 && o !== (o = /*$_*/
|
|
278
|
-
g[14]("error") + "") &&
|
|
278
|
+
g[14]("error") + "") && T(i, o), p[0] & /*$_*/
|
|
279
279
|
16384 && f !== (f = /*$_*/
|
|
280
|
-
g[14]("noPaymentMethods") + "") &&
|
|
280
|
+
g[14]("noPaymentMethods") + "") && T(u, f), p[0] & /*desktopView*/
|
|
281
281
|
2048 && Z(
|
|
282
282
|
e,
|
|
283
283
|
"EmptyContentMessageDesktop",
|
|
@@ -286,7 +286,7 @@ function ye(t) {
|
|
|
286
286
|
);
|
|
287
287
|
},
|
|
288
288
|
d(g) {
|
|
289
|
-
g &&
|
|
289
|
+
g && D(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
@@ -294,13 +294,13 @@ function be(t) {
|
|
|
294
294
|
let e, s, r, a;
|
|
295
295
|
return {
|
|
296
296
|
c() {
|
|
297
|
-
e = b("div"), s =
|
|
297
|
+
e = b("div"), s = x(
|
|
298
298
|
/*methodsButtonToggleText*/
|
|
299
299
|
t[7]
|
|
300
300
|
), y(e, "class", "ShowAllButton");
|
|
301
301
|
},
|
|
302
302
|
m(l, o) {
|
|
303
|
-
|
|
303
|
+
z(l, e, o), d(e, s), r || (a = se(
|
|
304
304
|
e,
|
|
305
305
|
"click",
|
|
306
306
|
/*click_handler_1*/
|
|
@@ -309,14 +309,14 @@ function be(t) {
|
|
|
309
309
|
},
|
|
310
310
|
p(l, o) {
|
|
311
311
|
o[0] & /*methodsButtonToggleText*/
|
|
312
|
-
128 &&
|
|
312
|
+
128 && T(
|
|
313
313
|
s,
|
|
314
314
|
/*methodsButtonToggleText*/
|
|
315
315
|
l[7]
|
|
316
316
|
);
|
|
317
317
|
},
|
|
318
318
|
d(l) {
|
|
319
|
-
l &&
|
|
319
|
+
l && D(e), r = !1, a();
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
322
|
}
|
|
@@ -324,7 +324,7 @@ function ve(t) {
|
|
|
324
324
|
let e, s, r;
|
|
325
325
|
return {
|
|
326
326
|
c() {
|
|
327
|
-
e = b("cashier-error"), s = b("span"), r =
|
|
327
|
+
e = b("cashier-error"), s = b("span"), r = x(
|
|
328
328
|
/*errorMessage*/
|
|
329
329
|
t[10]
|
|
330
330
|
), y(s, "slot", "text"), v(
|
|
@@ -355,11 +355,11 @@ function ve(t) {
|
|
|
355
355
|
), v(e, "hidebuttons", "true");
|
|
356
356
|
},
|
|
357
357
|
m(a, l) {
|
|
358
|
-
|
|
358
|
+
z(a, e, l), d(e, s), d(s, r);
|
|
359
359
|
},
|
|
360
360
|
p(a, l) {
|
|
361
361
|
l[0] & /*errorMessage*/
|
|
362
|
-
1024 &&
|
|
362
|
+
1024 && T(
|
|
363
363
|
r,
|
|
364
364
|
/*errorMessage*/
|
|
365
365
|
a[10]
|
|
@@ -396,7 +396,7 @@ function ve(t) {
|
|
|
396
396
|
);
|
|
397
397
|
},
|
|
398
398
|
d(a) {
|
|
399
|
-
a &&
|
|
399
|
+
a && D(e);
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
402
|
}
|
|
@@ -414,10 +414,10 @@ function tt(t) {
|
|
|
414
414
|
);
|
|
415
415
|
return {
|
|
416
416
|
c() {
|
|
417
|
-
a && a.c(), e = _(), l && l.c(), s = _(), o && o.c(), r =
|
|
417
|
+
a && a.c(), e = _(), l && l.c(), s = _(), o && o.c(), r = Re();
|
|
418
418
|
},
|
|
419
419
|
m(i, m) {
|
|
420
|
-
a && a.m(i, m),
|
|
420
|
+
a && a.m(i, m), z(i, e, m), l && l.m(i, m), z(i, s, m), o && o.m(i, m), z(i, r, m);
|
|
421
421
|
},
|
|
422
422
|
p(i, m) {
|
|
423
423
|
/*showSpinner*/
|
|
@@ -429,7 +429,7 @@ function tt(t) {
|
|
|
429
429
|
i: ae,
|
|
430
430
|
o: ae,
|
|
431
431
|
d(i) {
|
|
432
|
-
i && (
|
|
432
|
+
i && (D(e), D(s), D(r)), a && a.d(i), l && l.d(i), o && o.d(i);
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
}
|
|
@@ -437,12 +437,12 @@ const st = () => {
|
|
|
437
437
|
};
|
|
438
438
|
function nt(t, e, s) {
|
|
439
439
|
let r;
|
|
440
|
-
|
|
441
|
-
let { lang: a = "en" } = e, { local: l = "en-US" } = e, { endpoint: o } = e, { session: i } = e, { customerid: m } = e, { assetsurl: c } = e, { currency: f } = e, { numberofmethodsshown: u } = e, { translationurl: g = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: P = "" } = e, { ismobileview:
|
|
440
|
+
Be(t, Qe, (n) => s(14, r = n)), de.extend(Ze);
|
|
441
|
+
let { lang: a = "en" } = e, { local: l = "en-US" } = e, { endpoint: o } = e, { session: i } = e, { customerid: m } = e, { assetsurl: c } = e, { currency: f } = e, { numberofmethodsshown: u } = e, { translationurl: g = "" } = e, { clientstyling: p = "" } = e, { clientstylingurl: P = "" } = e, { ismobileview: F } = e, k = [], C, N, H = "", L = [], W = !0, J = new Intl.NumberFormat(l, { minimumFractionDigits: 2 }), E = "", j, O = !0, I = !1, U = !1;
|
|
442
442
|
var R;
|
|
443
443
|
(function(n) {
|
|
444
444
|
n.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", n.Success = "Success", n.JwtTokenError = "JwtTokenError";
|
|
445
|
-
})(R || (R = {})),
|
|
445
|
+
})(R || (R = {})), Ie();
|
|
446
446
|
const X = () => {
|
|
447
447
|
let n = g;
|
|
448
448
|
if (n)
|
|
@@ -479,10 +479,10 @@ function nt(t, e, s) {
|
|
|
479
479
|
return;
|
|
480
480
|
}
|
|
481
481
|
if (w.ResponseCode !== R.Success) {
|
|
482
|
-
|
|
482
|
+
j = w.ResponseCode, B();
|
|
483
483
|
return;
|
|
484
484
|
}
|
|
485
|
-
k = (V = w.PaymentMethods) != null && V.Ordering ?
|
|
485
|
+
k = (V = w.PaymentMethods) != null && V.Ordering ? Y(w) : K(w), s(7, H = u && +u > 0 && k.length > +u ? r("showAll") : ""), s(8, L = H ? k.slice(0, +u) : k), window.postMessage(
|
|
486
486
|
{
|
|
487
487
|
type: "StartSessionCountdown",
|
|
488
488
|
paymentMethodName: k[0].Name,
|
|
@@ -491,14 +491,14 @@ function nt(t, e, s) {
|
|
|
491
491
|
window.location.href
|
|
492
492
|
);
|
|
493
493
|
}).finally(() => {
|
|
494
|
-
s(12, I = !1), s(13,
|
|
494
|
+
s(12, I = !1), s(13, U = !L.length);
|
|
495
495
|
});
|
|
496
|
-
},
|
|
496
|
+
}, Y = (n) => {
|
|
497
497
|
const h = [];
|
|
498
498
|
return n.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((A) => {
|
|
499
499
|
const w = n.PaymentMethods.PaymentMethods.find((V) => V.Name === A);
|
|
500
500
|
if (w) {
|
|
501
|
-
const V = (w == null ? void 0 : w.Logos.find(($) => $.LogoType === "Desktop")) || {}, Ae = (w == null ? void 0 : w.Logos.find(($) => $.LogoType === "Mobile")) || {}, le =
|
|
501
|
+
const V = (w == null ? void 0 : w.Logos.find(($) => $.LogoType === "Desktop")) || {}, Ae = (w == null ? void 0 : w.Logos.find(($) => $.LogoType === "Mobile")) || {}, le = O ? V : Ae;
|
|
502
502
|
h.push(te(ee({}, w), {
|
|
503
503
|
LogoUrl: le.LogoUrl ? `https:${le.LogoUrl}` : ""
|
|
504
504
|
}));
|
|
@@ -520,18 +520,18 @@ function nt(t, e, s) {
|
|
|
520
520
|
window.postMessage(
|
|
521
521
|
{
|
|
522
522
|
type: "ErrorResponseCode",
|
|
523
|
-
errorResponseCode:
|
|
523
|
+
errorResponseCode: j
|
|
524
524
|
},
|
|
525
525
|
window.location.href
|
|
526
526
|
);
|
|
527
527
|
}, M = () => {
|
|
528
|
-
s(11,
|
|
528
|
+
s(11, O = F === "false");
|
|
529
529
|
}, ne = () => {
|
|
530
530
|
L == k ? Le() : Me();
|
|
531
531
|
}, Me = () => {
|
|
532
|
-
s(8, L = k), s(7,
|
|
532
|
+
s(8, L = k), s(7, H = r("showLess"));
|
|
533
533
|
}, Le = () => {
|
|
534
|
-
s(8, L = k.slice(0, +u)), N && !L.find((n) => n.Name === N) && L.splice(0, 0, k.find((n) => n.Name === N)), s(7,
|
|
534
|
+
s(8, L = k.slice(0, +u)), N && !L.find((n) => n.Name === N) && L.splice(0, 0, k.find((n) => n.Name === N)), s(7, H = r("showAll"));
|
|
535
535
|
}, _e = () => {
|
|
536
536
|
s(9, W = !0);
|
|
537
537
|
}, ke = (n) => {
|
|
@@ -554,7 +554,7 @@ function nt(t, e, s) {
|
|
|
554
554
|
);
|
|
555
555
|
});
|
|
556
556
|
};
|
|
557
|
-
|
|
557
|
+
Ge(() => (window.addEventListener("message", ie, !1), () => {
|
|
558
558
|
window.removeEventListener("message", ie, !1);
|
|
559
559
|
}));
|
|
560
560
|
const ie = (n) => {
|
|
@@ -568,19 +568,19 @@ function nt(t, e, s) {
|
|
|
568
568
|
}
|
|
569
569
|
}, Ee = (n) => Q(n), xe = () => ne();
|
|
570
570
|
function Te(n) {
|
|
571
|
-
|
|
571
|
+
Ye[n ? "unshift" : "push"](() => {
|
|
572
572
|
C = n, s(5, C);
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
return t.$$set = (n) => {
|
|
576
|
-
"lang" in n && s(0, a = n.lang), "local" in n && s(18, l = n.local), "endpoint" in n && s(19, o = n.endpoint), "session" in n && s(20, i = n.session), "customerid" in n && s(21, m = n.customerid), "assetsurl" in n && s(1, c = n.assetsurl), "currency" in n && s(22, f = n.currency), "numberofmethodsshown" in n && s(23, u = n.numberofmethodsshown), "translationurl" in n && s(2, g = n.translationurl), "clientstyling" in n && s(3, p = n.clientstyling), "clientstylingurl" in n && s(4, P = n.clientstylingurl), "ismobileview" in n && s(24,
|
|
576
|
+
"lang" in n && s(0, a = n.lang), "local" in n && s(18, l = n.local), "endpoint" in n && s(19, o = n.endpoint), "session" in n && s(20, i = n.session), "customerid" in n && s(21, m = n.customerid), "assetsurl" in n && s(1, c = n.assetsurl), "currency" in n && s(22, f = n.currency), "numberofmethodsshown" in n && s(23, u = n.numberofmethodsshown), "translationurl" in n && s(2, g = n.translationurl), "clientstyling" in n && s(3, p = n.clientstyling), "clientstylingurl" in n && s(4, P = n.clientstylingurl), "ismobileview" in n && s(24, F = n.ismobileview);
|
|
577
577
|
}, t.$$.update = () => {
|
|
578
578
|
t.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
579
579
|
3670016 && o && i && m && q(), t.$$.dirty[0] & /*lang*/
|
|
580
580
|
1 && a && G(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
581
581
|
40 && p && C && Ce(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
582
582
|
48 && P && C && Se(), t.$$.dirty[0] & /*ismobileview*/
|
|
583
|
-
16777216 &&
|
|
583
|
+
16777216 && F && M(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
584
584
|
5 && a && g && X();
|
|
585
585
|
}, [
|
|
586
586
|
a,
|
|
@@ -590,15 +590,15 @@ function nt(t, e, s) {
|
|
|
590
590
|
P,
|
|
591
591
|
C,
|
|
592
592
|
N,
|
|
593
|
-
|
|
593
|
+
H,
|
|
594
594
|
L,
|
|
595
595
|
W,
|
|
596
596
|
E,
|
|
597
|
-
|
|
597
|
+
O,
|
|
598
598
|
I,
|
|
599
|
-
|
|
599
|
+
U,
|
|
600
600
|
r,
|
|
601
|
-
|
|
601
|
+
J,
|
|
602
602
|
Q,
|
|
603
603
|
ne,
|
|
604
604
|
l,
|
|
@@ -607,13 +607,13 @@ function nt(t, e, s) {
|
|
|
607
607
|
m,
|
|
608
608
|
f,
|
|
609
609
|
u,
|
|
610
|
-
|
|
610
|
+
F,
|
|
611
611
|
Ee,
|
|
612
612
|
xe,
|
|
613
613
|
Te
|
|
614
614
|
];
|
|
615
615
|
}
|
|
616
|
-
class it extends
|
|
616
|
+
class it extends He {
|
|
617
617
|
constructor(e) {
|
|
618
618
|
super(), We(
|
|
619
619
|
this,
|
|
@@ -712,7 +712,7 @@ class it extends Fe {
|
|
|
712
712
|
this.$$set({ ismobileview: e }), S();
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
|
-
|
|
715
|
+
je(it, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
|
|
716
716
|
export {
|
|
717
717
|
it as default
|
|
718
718
|
};
|