@everymatrix/cashier-page 1.94.19 → 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,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Qe = Object.defineProperty, $e = Object.defineProperties;
|
|
2
2
|
var et = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Se = Object.getOwnPropertySymbols;
|
|
4
4
|
var tt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ee = (t, e, o) => e in t ?
|
|
5
|
+
var Ee = (t, e, o) => e in t ? Qe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, ke = (t, e) => {
|
|
6
6
|
for (var o in e || (e = {}))
|
|
7
7
|
tt.call(e, o) && Ee(t, o, e[o]);
|
|
8
8
|
if (Se)
|
|
@@ -10,8 +10,8 @@ var Ee = (t, e, o) => e in t ? Ze(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
ot.call(e, o) && Ee(t, o, e[o]);
|
|
11
11
|
return t;
|
|
12
12
|
}, Ce = (t, e) => $e(t, et(e));
|
|
13
|
-
import {
|
|
14
|
-
import { s as Mt, a as bt, b as _t } from "./CashierHeader-
|
|
13
|
+
import { a as st, i as nt, $ as it, S as rt, b as lt, s as at, f as w, c as mt, y as Ne, e as A, k as x, n as P, r as Je, p as ze, M as Ae, N as ct, q as dt, K as ut, l as a, m as f, o as h, v as D, O as N, w as T, C as ft, x as ht, z as Pe, L as Le, D as xe, E as gt, I as ve, F as pt, J as Re, A as yt, B as wt, R as Fe } from "./CashierPage-C28wB4Yx.js";
|
|
14
|
+
import { s as Mt, a as bt, b as _t } from "./CashierHeader-DLB-b0Aq.js";
|
|
15
15
|
function Oe(t, e) {
|
|
16
16
|
st(t, e);
|
|
17
17
|
}
|
|
@@ -61,11 +61,11 @@ const Ue = {
|
|
|
61
61
|
function Lt(t) {
|
|
62
62
|
mt(t, "svelte-njj9wo", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;max-width:100%;gap:5px;margin:10px}.SelectorWrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;cursor:pointer;position:relative;box-sizing:border-box;padding:5px 0;border-radius:10px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);overflow:hidden;z-index:1;transition:transform 0.3s ease-in-out}.SelectorWrapper:hover{box-shadow:inset 0px 0px 7px var(--emw--color-primary);transform:scale(1.02)}.SelectorWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CashierMethodListWidget{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));height:100%;padding-bottom:20px}.MethodsListDescription{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:10px}.MethodsListDescription h3{font-size:12px;text-transform:uppercase;margin:10px 0}.MethodsListDescription p{color:white;opacity:0.55;font-size:12px}.MethodLogo{margin:5px}.MethodLogo img{width:100%;height:100%;max-height:22px}.MethodPromoLabel{background:var(--emw--color-button-background, #f1f3ff);color:var(--emw--color-primary, #f9c405);font-size:14px;font-weight:700;text-transform:uppercase;padding:5px 10px;min-width:100px;border-radius:10px;margin:10px;text-align:center}.MethodInfo{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.MethodTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));margin:5px;word-break:break-word;font-weight:var(--emw--font-weight-bold, 700);line-height:10px}.MethodLimits{word-break:break-word;margin:5px}.Limits{max-width:100%;font-weight:var(--emw--font-weight-normal, 300);font-style:normal;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.7}.MethodFavorite{font-size:var(--emw--font-size-x-small, 8px);color:var(--emw--color-typography, #fff);background-color:var(--emw--color-red, red);border-radius:15px;margin:0 5px;line-height:10px;height:16px}.MethodFavorite p{padding:3px}.PaymentProcessing{padding:5px;color:var(--emw--color-primary, #ffce00);font-style:italic;font-size:var(--emw--font-size-small, 12px)}@media(min-width: 499px){.MethodLogo{margin:5px}.MethodLogo img{width:100%;height:100%;max-height:36px}.SelectorWrapper{padding:10px}.MethodTitle{font-size:var(--emw--font-size-medium, 12px)}.Limits{font-size:var(--emw--font-size-small, 10px)}}@media(max-width: 500px){.PaymentProcessing{font-size:var(--emw--font-size-x-small, 8px)}.MethodTitle{font-size:var(--emw--font-size-small, 10px)}.Limits{font-size:var(--emw--font-size-x-small, 8px)}}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);bottom:10%}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--emw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-bold, 800);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-primary);text-transform:uppercase}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-typography, #fff)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{bottom:auto;margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--emw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #f7f8fa);line-height:normal;border:1px solid var(--emw--color-grey-105, #e8e9eb);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}.ErrorMessage{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}');
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Ie(t, e, o) {
|
|
65
65
|
const n = t.slice();
|
|
66
66
|
return n[58] = e[o], n[60] = o, n;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function je(t) {
|
|
69
69
|
let e, o, n, s, r = !/*noPaymentMethodsAvailable*/
|
|
70
70
|
t[15] && He(t);
|
|
71
71
|
function l(c, g) {
|
|
@@ -106,7 +106,7 @@ function He(t) {
|
|
|
106
106
|
), u;
|
|
107
107
|
return {
|
|
108
108
|
c() {
|
|
109
|
-
e = f("div"), o = f("h3"), s =
|
|
109
|
+
e = f("div"), o = f("h3"), s = T(n), r = P(), l = f("p"), u = T(d), h(e, "class", "MethodsListDescription");
|
|
110
110
|
},
|
|
111
111
|
m(m, c) {
|
|
112
112
|
x(m, e, c), a(e, o), a(o, s), a(e, r), a(e, l), a(l, u);
|
|
@@ -114,9 +114,9 @@ function He(t) {
|
|
|
114
114
|
p(m, c) {
|
|
115
115
|
c[0] & /*$_*/
|
|
116
116
|
131072 && n !== (n = /*$_*/
|
|
117
|
-
m[17]("otherMethodsTitle") + "") &&
|
|
117
|
+
m[17]("otherMethodsTitle") + "") && D(s, n), c[0] & /*$_*/
|
|
118
118
|
131072 && d !== (d = /*$_*/
|
|
119
|
-
m[17]("otherMethodsDescription") + "") &&
|
|
119
|
+
m[17]("otherMethodsDescription") + "") && D(u, d);
|
|
120
120
|
},
|
|
121
121
|
d(m) {
|
|
122
122
|
m && A(e);
|
|
@@ -129,12 +129,12 @@ function kt(t) {
|
|
|
129
129
|
t[11]
|
|
130
130
|
), n = [];
|
|
131
131
|
for (let s = 0; s < o.length; s += 1)
|
|
132
|
-
n[s] = Ye(
|
|
132
|
+
n[s] = Ye(Ie(t, o, s));
|
|
133
133
|
return {
|
|
134
134
|
c() {
|
|
135
135
|
for (let s = 0; s < n.length; s += 1)
|
|
136
136
|
n[s].c();
|
|
137
|
-
e =
|
|
137
|
+
e = Je();
|
|
138
138
|
},
|
|
139
139
|
m(s, r) {
|
|
140
140
|
for (let l = 0; l < n.length; l += 1)
|
|
@@ -150,7 +150,7 @@ function kt(t) {
|
|
|
150
150
|
);
|
|
151
151
|
let l;
|
|
152
152
|
for (l = 0; l < o.length; l += 1) {
|
|
153
|
-
const d =
|
|
153
|
+
const d = Ie(s, o, l);
|
|
154
154
|
n[l] ? n[l].p(d, r) : (n[l] = Ye(d), n[l].c(), n[l].m(e.parentNode, e));
|
|
155
155
|
}
|
|
156
156
|
for (; l < n.length; l += 1)
|
|
@@ -173,7 +173,7 @@ function Ct(t) {
|
|
|
173
173
|
), m;
|
|
174
174
|
return {
|
|
175
175
|
c() {
|
|
176
|
-
e = f("div"), o = f("div"), n = f("p"), r =
|
|
176
|
+
e = f("div"), o = f("div"), n = f("p"), r = T(s), l = P(), d = f("p"), m = T(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(o, "class", "EmptyContentMessageContent"), h(e, "class", "EmptyContentMessageWrapper"), Le(
|
|
177
177
|
e,
|
|
178
178
|
"EmptyContentMessageDesktop",
|
|
179
179
|
/*desktopView*/
|
|
@@ -186,9 +186,9 @@ function Ct(t) {
|
|
|
186
186
|
p(c, g) {
|
|
187
187
|
g[0] & /*$_*/
|
|
188
188
|
131072 && s !== (s = /*$_*/
|
|
189
|
-
c[17]("error") + "") &&
|
|
189
|
+
c[17]("error") + "") && D(r, s), g[0] & /*$_*/
|
|
190
190
|
131072 && u !== (u = /*$_*/
|
|
191
|
-
c[17]("noPaymentMethods") + "") &&
|
|
191
|
+
c[17]("noPaymentMethods") + "") && D(m, u), g[0] & /*desktopView*/
|
|
192
192
|
8192 && Le(
|
|
193
193
|
e,
|
|
194
194
|
"EmptyContentMessageDesktop",
|
|
@@ -208,7 +208,7 @@ function We(t) {
|
|
|
208
208
|
), n;
|
|
209
209
|
return {
|
|
210
210
|
c() {
|
|
211
|
-
e = f("p"), n =
|
|
211
|
+
e = f("p"), n = T(o);
|
|
212
212
|
},
|
|
213
213
|
m(s, r) {
|
|
214
214
|
x(s, e, r), a(e, n);
|
|
@@ -216,7 +216,7 @@ function We(t) {
|
|
|
216
216
|
p(s, r) {
|
|
217
217
|
r[0] & /*$_*/
|
|
218
218
|
131072 && o !== (o = /*$_*/
|
|
219
|
-
s[17]("favorite") + "") &&
|
|
219
|
+
s[17]("favorite") + "") && D(n, o);
|
|
220
220
|
},
|
|
221
221
|
d(s) {
|
|
222
222
|
s && A(e);
|
|
@@ -232,7 +232,7 @@ function qe(t) {
|
|
|
232
232
|
), n;
|
|
233
233
|
return {
|
|
234
234
|
c() {
|
|
235
|
-
e = f("span"), n =
|
|
235
|
+
e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
|
|
236
236
|
},
|
|
237
237
|
m(s, r) {
|
|
238
238
|
x(s, e, r), a(e, n);
|
|
@@ -242,7 +242,7 @@ function qe(t) {
|
|
|
242
242
|
133184 && o !== (o = /*$_*/
|
|
243
243
|
s[17](`${/*type*/
|
|
244
244
|
s[6]}${/*payMeth*/
|
|
245
|
-
s[58].ProcessingTime}`) + "") &&
|
|
245
|
+
s[58].ProcessingTime}`) + "") && D(n, o);
|
|
246
246
|
},
|
|
247
247
|
d(s) {
|
|
248
248
|
s && A(e);
|
|
@@ -258,7 +258,7 @@ function Be(t) {
|
|
|
258
258
|
), n;
|
|
259
259
|
return {
|
|
260
260
|
c() {
|
|
261
|
-
e = f("span"), n =
|
|
261
|
+
e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
|
|
262
262
|
},
|
|
263
263
|
m(s, r) {
|
|
264
264
|
x(s, e, r), a(e, n);
|
|
@@ -268,7 +268,7 @@ function Be(t) {
|
|
|
268
268
|
133184 && o !== (o = /*$_*/
|
|
269
269
|
s[17](`${/*type*/
|
|
270
270
|
s[6]}${/*payMeth*/
|
|
271
|
-
s[58].ProcessingTime}`) + "") &&
|
|
271
|
+
s[58].ProcessingTime}`) + "") && D(n, o);
|
|
272
272
|
},
|
|
273
273
|
d(s) {
|
|
274
274
|
s && A(e);
|
|
@@ -277,11 +277,11 @@ function Be(t) {
|
|
|
277
277
|
}
|
|
278
278
|
function Ye(t) {
|
|
279
279
|
var ne, ie, se, ue, fe, he, ge, pe;
|
|
280
|
-
let e, o, n, s, r, l, d, u, m, c, g,
|
|
280
|
+
let e, o, n, s, r, l, d, u, m, c, g, J = (
|
|
281
281
|
/*payMeth*/
|
|
282
282
|
(t[58].Label || /*payMeth*/
|
|
283
283
|
t[58].Name) + ""
|
|
284
|
-
),
|
|
284
|
+
), V, F, q, I, R, O, j = (
|
|
285
285
|
/*$_*/
|
|
286
286
|
t[17]("generalMin") + ""
|
|
287
287
|
), K, ee, B = ve(
|
|
@@ -307,7 +307,7 @@ function Ye(t) {
|
|
|
307
307
|
t[16]
|
|
308
308
|
)
|
|
309
309
|
}
|
|
310
|
-
) + "", te, Y, H,
|
|
310
|
+
) + "", te, Y, H, Z = (
|
|
311
311
|
/*$_*/
|
|
312
312
|
t[17]("generalMax") + ""
|
|
313
313
|
), S, ce, oe = ve(
|
|
@@ -333,7 +333,7 @@ function Ye(t) {
|
|
|
333
333
|
t[16]
|
|
334
334
|
)
|
|
335
335
|
}
|
|
336
|
-
) + "", E, X, G, k,
|
|
336
|
+
) + "", E, X, G, k, Q, b = (
|
|
337
337
|
/*payMeth*/
|
|
338
338
|
t[58].isMethodPromoted && We(t)
|
|
339
339
|
), _ = !/*desktopView*/
|
|
@@ -352,12 +352,12 @@ function Ye(t) {
|
|
|
352
352
|
}
|
|
353
353
|
return {
|
|
354
354
|
c() {
|
|
355
|
-
e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"),
|
|
355
|
+
e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), F = P(), _ && _.c(), q = P(), I = f("div"), R = f("span"), O = f("p"), K = T(j), ee = P(), te = T(B), Y = P(), H = f("p"), S = T(Z), ce = P(), E = T(oe), X = P(), M && M.c(), G = P(), Re(n.src, s = /*payMeth*/
|
|
356
356
|
t[58].LogoRelativeUrl ? `${window.origin}payMeth.LogoRelativeUrl` : (
|
|
357
357
|
/*payMeth*/
|
|
358
358
|
t[58].LogoUrl
|
|
359
359
|
)) || h(n, "src", s), h(n, "alt", r = /*payMeth*/
|
|
360
|
-
t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(R, "class", "Limits"), h(
|
|
360
|
+
t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(R, "class", "Limits"), h(I, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), Le(
|
|
361
361
|
e,
|
|
362
362
|
"checked",
|
|
363
363
|
/*selectedPaymentMethod*/
|
|
@@ -366,9 +366,9 @@ function Ye(t) {
|
|
|
366
366
|
);
|
|
367
367
|
},
|
|
368
368
|
m($, v) {
|
|
369
|
-
x($, e, v), a(e, o), a(o, n), a(e, l), a(e, d), b && b.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g,
|
|
369
|
+
x($, e, v), a(e, o), a(o, n), a(e, l), a(e, d), b && b.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, F), _ && _.m(m, null), a(m, q), a(m, I), a(I, R), a(R, O), a(O, K), a(O, ee), a(O, te), a(R, Y), a(R, H), a(H, S), a(H, ce), a(H, E), a(m, X), M && M.m(m, null), a(e, G), k || (Q = [
|
|
370
370
|
Pe(e, "click", de),
|
|
371
|
-
Pe(e, "keyup",
|
|
371
|
+
Pe(e, "keyup", Tt)
|
|
372
372
|
], k = !0);
|
|
373
373
|
},
|
|
374
374
|
p($, v) {
|
|
@@ -382,12 +382,12 @@ function Ye(t) {
|
|
|
382
382
|
2048 && r !== (r = /*payMeth*/
|
|
383
383
|
t[58].Label) && h(n, "alt", r), /*payMeth*/
|
|
384
384
|
t[58].isMethodPromoted ? b ? b.p(t, v) : (b = We(t), b.c(), b.m(d, null)) : b && (b.d(1), b = null), v[0] & /*paymentMethodsToShow*/
|
|
385
|
-
2048 &&
|
|
385
|
+
2048 && J !== (J = /*payMeth*/
|
|
386
386
|
(t[58].Label || /*payMeth*/
|
|
387
|
-
t[58].Name) + "") &&
|
|
387
|
+
t[58].Name) + "") && D(V, J), /*desktopView*/
|
|
388
388
|
t[13] ? _ && (_.d(1), _ = null) : _ ? _.p(t, v) : (_ = qe(t), _.c(), _.m(m, q)), v[0] & /*$_*/
|
|
389
|
-
131072 &&
|
|
390
|
-
t[17]("generalMin") + "") &&
|
|
389
|
+
131072 && j !== (j = /*$_*/
|
|
390
|
+
t[17]("generalMin") + "") && D(K, j), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
391
391
|
67840 && B !== (B = ve(
|
|
392
392
|
/*payMeth*/
|
|
393
393
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -411,9 +411,9 @@ function Ye(t) {
|
|
|
411
411
|
t[16]
|
|
412
412
|
)
|
|
413
413
|
}
|
|
414
|
-
) + "") &&
|
|
415
|
-
131072 &&
|
|
416
|
-
t[17]("generalMax") + "") &&
|
|
414
|
+
) + "") && D(te, B), v[0] & /*$_*/
|
|
415
|
+
131072 && Z !== (Z = /*$_*/
|
|
416
|
+
t[17]("generalMax") + "") && D(S, Z), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
417
417
|
67840 && oe !== (oe = ve(
|
|
418
418
|
/*payMeth*/
|
|
419
419
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
@@ -437,7 +437,7 @@ function Ye(t) {
|
|
|
437
437
|
t[16]
|
|
438
438
|
)
|
|
439
439
|
}
|
|
440
|
-
) + "") &&
|
|
440
|
+
) + "") && D(E, oe), /*desktopView*/
|
|
441
441
|
t[13] ? M ? M.p(t, v) : (M = Be(t), M.c(), M.m(m, null)) : M && (M.d(1), M = null), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
442
442
|
2560 && Le(
|
|
443
443
|
e,
|
|
@@ -448,7 +448,7 @@ function Ye(t) {
|
|
|
448
448
|
);
|
|
449
449
|
},
|
|
450
450
|
d($) {
|
|
451
|
-
$ && A(e), b && b.d(), _ && _.d(), M && M.d(), k = !1, pt(
|
|
451
|
+
$ && A(e), b && b.d(), _ && _.d(), M && M.d(), k = !1, pt(Q);
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
454
|
}
|
|
@@ -456,7 +456,7 @@ function Xe(t) {
|
|
|
456
456
|
let e, o, n, s;
|
|
457
457
|
return {
|
|
458
458
|
c() {
|
|
459
|
-
e = f("div"), o =
|
|
459
|
+
e = f("div"), o = T(
|
|
460
460
|
/*methodsButtonToggleText*/
|
|
461
461
|
t[10]
|
|
462
462
|
), h(e, "class", "ShowAllButton");
|
|
@@ -471,7 +471,7 @@ function Xe(t) {
|
|
|
471
471
|
},
|
|
472
472
|
p(r, l) {
|
|
473
473
|
l[0] & /*methodsButtonToggleText*/
|
|
474
|
-
1024 &&
|
|
474
|
+
1024 && D(
|
|
475
475
|
o,
|
|
476
476
|
/*methodsButtonToggleText*/
|
|
477
477
|
r[10]
|
|
@@ -486,7 +486,7 @@ function Ge(t) {
|
|
|
486
486
|
let e, o, n;
|
|
487
487
|
return {
|
|
488
488
|
c() {
|
|
489
|
-
e = f("cashier-error"), o = f("span"), n =
|
|
489
|
+
e = f("cashier-error"), o = f("span"), n = T(
|
|
490
490
|
/*errorMessage*/
|
|
491
491
|
t[12]
|
|
492
492
|
), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), N(
|
|
@@ -526,7 +526,7 @@ function Ge(t) {
|
|
|
526
526
|
},
|
|
527
527
|
p(s, r) {
|
|
528
528
|
r[0] & /*errorMessage*/
|
|
529
|
-
4096 &&
|
|
529
|
+
4096 && D(
|
|
530
530
|
n,
|
|
531
531
|
/*errorMessage*/
|
|
532
532
|
s[12]
|
|
@@ -576,21 +576,21 @@ function Ge(t) {
|
|
|
576
576
|
function Pt(t) {
|
|
577
577
|
let e, o, n = (
|
|
578
578
|
/*isDataLoaded*/
|
|
579
|
-
t[14] &&
|
|
579
|
+
t[14] && je(t)
|
|
580
580
|
), s = (
|
|
581
581
|
/*errorMessage*/
|
|
582
582
|
t[12] && Ge(t)
|
|
583
583
|
);
|
|
584
584
|
return {
|
|
585
585
|
c() {
|
|
586
|
-
n && n.c(), e = P(), s && s.c(), o =
|
|
586
|
+
n && n.c(), e = P(), s && s.c(), o = Je();
|
|
587
587
|
},
|
|
588
588
|
m(r, l) {
|
|
589
589
|
n && n.m(r, l), x(r, e, l), s && s.m(r, l), x(r, o, l);
|
|
590
590
|
},
|
|
591
591
|
p(r, l) {
|
|
592
592
|
/*isDataLoaded*/
|
|
593
|
-
r[14] ? n ? n.p(r, l) : (n =
|
|
593
|
+
r[14] ? n ? n.p(r, l) : (n = je(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*errorMessage*/
|
|
594
594
|
r[12] ? s ? s.p(r, l) : (s = Ge(r), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
595
595
|
},
|
|
596
596
|
i: Ne,
|
|
@@ -600,12 +600,12 @@ function Pt(t) {
|
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
|
-
const
|
|
603
|
+
const Dt = "PaymentPromotion", Tt = () => {
|
|
604
604
|
};
|
|
605
605
|
function St(t, e, o) {
|
|
606
606
|
let n, s, r;
|
|
607
607
|
ze(t, wt, (i) => o(17, s = i)), ze(t, Fe, (i) => o(42, r = i)), Ae.extend(ct);
|
|
608
|
-
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl:
|
|
608
|
+
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: J } = e, { currency: V } = e, { numberofmethodsshown: F } = e, { translationurl: q = "" } = e, { mbsource: I } = e, { clientstyling: R } = e, { clientstylingurl: O } = e, { currencydecimals: j = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: B = "false" } = e, { type: te } = e, { userroles: Y = "" } = e, H, Z = {}, S, ce, oe = window.navigator.userAgent, E = [], X, G = "", k = [], Q = [], b = "", _, M = !0, de = !1, ne = !1, ie = [];
|
|
609
609
|
var se;
|
|
610
610
|
(function(i) {
|
|
611
611
|
i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError";
|
|
@@ -657,10 +657,10 @@ function St(t, e, o) {
|
|
|
657
657
|
E = (me = C.PaymentMethods) != null && me.Ordering ? pe(C) : $(C), window.postMessage(
|
|
658
658
|
{
|
|
659
659
|
type: "PromotedPaymentMethods",
|
|
660
|
-
promotedPaymentMethods:
|
|
660
|
+
promotedPaymentMethods: Q
|
|
661
661
|
},
|
|
662
662
|
window.location.href
|
|
663
|
-
), o(10, G = F && +F > 0 && E.length > +F ? s("showAll") : ""), o(11, k = G ? E.slice(0, +F) : E), B == "false" && o(11, k = k.sort((
|
|
663
|
+
), o(10, G = F && +F > 0 && E.length > +F ? s("showAll") : ""), o(11, k = G ? E.slice(0, +F) : E), B == "false" && o(11, k = k.sort((De, Te) => De.isMethodPromoted && !Te.isMethodPromoted ? -1 : !De.isMethodPromoted && Te.isMethodPromoted ? 1 : 0)), o(15, ne = !k.length), window.postMessage(
|
|
664
664
|
{
|
|
665
665
|
type: "StartSessionCountdown",
|
|
666
666
|
paymentMethodName: E[0].Name
|
|
@@ -672,11 +672,11 @@ function St(t, e, o) {
|
|
|
672
672
|
});
|
|
673
673
|
}, pe = (i) => {
|
|
674
674
|
const p = [];
|
|
675
|
-
return
|
|
675
|
+
return Q = [], i.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((U) => {
|
|
676
676
|
const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name === U);
|
|
677
677
|
if (y) {
|
|
678
678
|
const L = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Desktop")) || {}, z = (y == null ? void 0 : y.Logos.find((C) => C.LogoType === "Mobile")) || {}, W = M ? L : z;
|
|
679
|
-
y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted &&
|
|
679
|
+
y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted && Q.push(y), p.push(y);
|
|
680
680
|
}
|
|
681
681
|
}), p;
|
|
682
682
|
}, $ = (i) => {
|
|
@@ -687,7 +687,7 @@ function St(t, e, o) {
|
|
|
687
687
|
([L, z], W) => (W && W.isMethodPromoted ? L.push(W) : z.promo(W), [L, z]),
|
|
688
688
|
[[], []]
|
|
689
689
|
);
|
|
690
|
-
return
|
|
690
|
+
return Q = U, y;
|
|
691
691
|
}, v = (i) => {
|
|
692
692
|
o(9, X = i.Name), window.postMessage({ type: "SelectPayMeth", details: i }, window.location.href), dispatchEvent(new CustomEvent(
|
|
693
693
|
"selectPayMeth",
|
|
@@ -714,49 +714,49 @@ function St(t, e, o) {
|
|
|
714
714
|
o(11, k = E), o(10, G = s("showLess"));
|
|
715
715
|
}, be = () => {
|
|
716
716
|
o(11, k = E.slice(0, +F)), X && !k.find((i) => i.Name === X) && k.splice(0, 0, E.find((i) => i.Name === X)), o(10, G = s("showAll"));
|
|
717
|
-
}, le = (i) => i && i.split(",").some((p) => p ===
|
|
717
|
+
}, le = (i) => i && i.split(",").some((p) => p === Dt), ae = (i) => {
|
|
718
718
|
var U;
|
|
719
719
|
const { data: { type: p } = {} } = i || {};
|
|
720
720
|
switch (p) {
|
|
721
721
|
case "PrecisionCurrenciesMap": {
|
|
722
|
-
o(8,
|
|
722
|
+
o(8, Z = ((U = i == null ? void 0 : i.data) == null ? void 0 : U.payload) || {});
|
|
723
723
|
break;
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
}, _e = () => {
|
|
727
727
|
Y.length > 0 && (ie = Y.split(","));
|
|
728
728
|
};
|
|
729
|
-
dt(() => (we(), ut(d, K, ee,
|
|
729
|
+
dt(() => (we(), ut(d, K, ee, j), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", ae), () => {
|
|
730
730
|
window.removeEventListener("message", ae);
|
|
731
731
|
}));
|
|
732
|
-
const
|
|
733
|
-
function
|
|
732
|
+
const Ve = (i) => v(i), Ke = () => re();
|
|
733
|
+
function Ze(i) {
|
|
734
734
|
ht[i ? "unshift" : "push"](() => {
|
|
735
735
|
S = i, o(7, S);
|
|
736
736
|
});
|
|
737
737
|
}
|
|
738
738
|
return t.$$set = (i) => {
|
|
739
|
-
"lang" in i && o(0, l = i.lang), "local" in i && o(20, d = i.local), "endpoint" in i && o(21, u = i.endpoint), "paymentsession" in i && o(22, m = i.paymentsession), "playersession" in i && o(23, c = i.playersession), "customerid" in i && o(24, g = i.customerid), "assetsurl" in i && o(1,
|
|
739
|
+
"lang" in i && o(0, l = i.lang), "local" in i && o(20, d = i.local), "endpoint" in i && o(21, u = i.endpoint), "paymentsession" in i && o(22, m = i.paymentsession), "playersession" in i && o(23, c = i.playersession), "customerid" in i && o(24, g = i.customerid), "assetsurl" in i && o(1, J = i.assetsurl), "currency" in i && o(25, V = i.currency), "numberofmethodsshown" in i && o(26, F = i.numberofmethodsshown), "translationurl" in i && o(2, q = i.translationurl), "mbsource" in i && o(3, I = i.mbsource), "clientstyling" in i && o(4, R = i.clientstyling), "clientstylingurl" in i && o(5, O = i.clientstylingurl), "currencydecimals" in i && o(27, j = i.currencydecimals), "currencysymbol" in i && o(28, K = i.currencysymbol), "currencyposition" in i && o(29, ee = i.currencyposition), "promotedmethods" in i && o(30, B = i.promotedmethods), "type" in i && o(6, te = i.type), "userroles" in i && o(31, Y = i.userroles);
|
|
740
740
|
}, t.$$.update = () => {
|
|
741
741
|
t.$$.dirty[1] & /*userroles*/
|
|
742
742
|
1 && Y && _e(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
743
|
-
56623104 && u && !m && g && he({ currency:
|
|
743
|
+
56623104 && u && !m && g && he({ currency: V }), t.$$.dirty[0] & /*lang*/
|
|
744
744
|
1 && l && fe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
745
745
|
144 && R && S && Mt(S, R), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
746
746
|
160 && O && S && bt(S, O), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
747
|
-
136 &&
|
|
747
|
+
136 && I && S && _t(S, `${I}.Style`, ce), t.$$.dirty[0] & /*lang, translationurl*/
|
|
748
748
|
5 && l && q && ue(), t.$$.dirty[0] & /*currencydecimals*/
|
|
749
|
-
134217728 && o(16, n = Number(
|
|
749
|
+
134217728 && o(16, n = Number(j));
|
|
750
750
|
}, [
|
|
751
751
|
l,
|
|
752
|
-
|
|
752
|
+
J,
|
|
753
753
|
q,
|
|
754
|
-
|
|
754
|
+
I,
|
|
755
755
|
R,
|
|
756
756
|
O,
|
|
757
757
|
te,
|
|
758
758
|
S,
|
|
759
|
-
|
|
759
|
+
Z,
|
|
760
760
|
X,
|
|
761
761
|
G,
|
|
762
762
|
k,
|
|
@@ -773,16 +773,16 @@ function St(t, e, o) {
|
|
|
773
773
|
m,
|
|
774
774
|
c,
|
|
775
775
|
g,
|
|
776
|
-
|
|
776
|
+
V,
|
|
777
777
|
F,
|
|
778
|
-
|
|
778
|
+
j,
|
|
779
779
|
K,
|
|
780
780
|
ee,
|
|
781
781
|
B,
|
|
782
782
|
Y,
|
|
783
|
-
|
|
783
|
+
Ve,
|
|
784
784
|
Ke,
|
|
785
|
-
|
|
785
|
+
Ze
|
|
786
786
|
];
|
|
787
787
|
}
|
|
788
788
|
class Et extends rt {
|