@everymatrix/cashier-page 1.94.4 → 1.94.5
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-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
- package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
- package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
- package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
- package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
- package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
- package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
- package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
- package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
- package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
- package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
- package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
- package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
- package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
- package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
- package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
- package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
- package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
- package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
- package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
- package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
- package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
- package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
- package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
- package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
- package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
- package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
- package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
- package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
- package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
- package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
- package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
- package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
- package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.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 Ze = Object.defineProperty, $e = Object.defineProperties;
|
|
2
2
|
var et = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Se = Object.getOwnPropertySymbols;
|
|
4
4
|
var tt = Object.prototype.hasOwnProperty, st = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ee = (t, e, s) => e in t ?
|
|
5
|
+
var Ee = (t, e, s) => e in t ? Ze(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, ke = (t, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
7
|
tt.call(e, s) && Ee(t, s, e[s]);
|
|
8
8
|
if (Se)
|
|
@@ -10,8 +10,8 @@ var Ee = (t, e, s) => e in t ? Qe(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
st.call(e, s) && Ee(t, s, e[s]);
|
|
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 { b as ot, N as nt, a as it, S as rt, O as lt, a1 as at, E as w, f as mt, V as Ne, x as A, Q as x, a6 as P, A as Ve, l as ze, t as Ae, ah as ct, Y as dt, P as ut, e as a, z as f, g as h, a3 as T, a2 as N, a9 as D, R as ft, h as ht, T as Pe, ac as Le, B as xe, w as gt, F as ve, _ as pt, a7 as Fe, o as yt, $ as wt, ai as Oe } from "./CashierPage-Yklnwu-d.js";
|
|
14
|
+
import { s as Mt, a as bt, b as _t } from "./CashierHeader-YhgwXeCk.js";
|
|
15
15
|
function Re(t, e) {
|
|
16
16
|
ot(t, e);
|
|
17
17
|
}
|
|
@@ -20,7 +20,7 @@ function vt(t) {
|
|
|
20
20
|
fallbackLocale: "en"
|
|
21
21
|
}), it.set(t);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const je = {
|
|
24
24
|
en: {
|
|
25
25
|
generalMin: "Min",
|
|
26
26
|
generalMax: "Max",
|
|
@@ -61,7 +61,7 @@ const Ie = {
|
|
|
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, s) {
|
|
65
65
|
const n = t.slice();
|
|
66
66
|
return n[58] = e[s], n[60] = s, n;
|
|
67
67
|
}
|
|
@@ -106,7 +106,7 @@ function He(t) {
|
|
|
106
106
|
), u;
|
|
107
107
|
return {
|
|
108
108
|
c() {
|
|
109
|
-
e = f("div"), s = f("h3"), o =
|
|
109
|
+
e = f("div"), s = f("h3"), o = D(n), r = P(), l = f("p"), u = D(d), h(e, "class", "MethodsListDescription");
|
|
110
110
|
},
|
|
111
111
|
m(m, c) {
|
|
112
112
|
x(m, e, c), a(e, s), a(s, o), 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") + "") && T(o, n), c[0] & /*$_*/
|
|
118
118
|
131072 && d !== (d = /*$_*/
|
|
119
|
-
m[17]("otherMethodsDescription") + "") &&
|
|
119
|
+
m[17]("otherMethodsDescription") + "") && T(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 o = 0; o < s.length; o += 1)
|
|
132
|
-
n[o] = Ye(
|
|
132
|
+
n[o] = Ye(Ie(t, s, o));
|
|
133
133
|
return {
|
|
134
134
|
c() {
|
|
135
135
|
for (let o = 0; o < n.length; o += 1)
|
|
136
136
|
n[o].c();
|
|
137
|
-
e =
|
|
137
|
+
e = Ve();
|
|
138
138
|
},
|
|
139
139
|
m(o, 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 < s.length; l += 1) {
|
|
153
|
-
const d =
|
|
153
|
+
const d = Ie(o, s, 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"), s = f("div"), n = f("p"), r =
|
|
176
|
+
e = f("div"), s = f("div"), n = f("p"), r = D(o), l = P(), d = f("p"), m = D(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(s, "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 && o !== (o = /*$_*/
|
|
189
|
-
c[17]("error") + "") &&
|
|
189
|
+
c[17]("error") + "") && T(r, o), g[0] & /*$_*/
|
|
190
190
|
131072 && u !== (u = /*$_*/
|
|
191
|
-
c[17]("noPaymentMethods") + "") &&
|
|
191
|
+
c[17]("noPaymentMethods") + "") && T(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 = D(s);
|
|
212
212
|
},
|
|
213
213
|
m(o, r) {
|
|
214
214
|
x(o, e, r), a(e, n);
|
|
@@ -216,7 +216,7 @@ function We(t) {
|
|
|
216
216
|
p(o, r) {
|
|
217
217
|
r[0] & /*$_*/
|
|
218
218
|
131072 && s !== (s = /*$_*/
|
|
219
|
-
o[17]("favorite") + "") &&
|
|
219
|
+
o[17]("favorite") + "") && T(n, s);
|
|
220
220
|
},
|
|
221
221
|
d(o) {
|
|
222
222
|
o && 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 = D(s), h(e, "class", "PaymentProcessing");
|
|
236
236
|
},
|
|
237
237
|
m(o, r) {
|
|
238
238
|
x(o, e, r), a(e, n);
|
|
@@ -242,7 +242,7 @@ function qe(t) {
|
|
|
242
242
|
133184 && s !== (s = /*$_*/
|
|
243
243
|
o[17](`${/*type*/
|
|
244
244
|
o[6]}${/*payMeth*/
|
|
245
|
-
o[58].ProcessingTime}`) + "") &&
|
|
245
|
+
o[58].ProcessingTime}`) + "") && T(n, s);
|
|
246
246
|
},
|
|
247
247
|
d(o) {
|
|
248
248
|
o && 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 = D(s), h(e, "class", "PaymentProcessing");
|
|
262
262
|
},
|
|
263
263
|
m(o, r) {
|
|
264
264
|
x(o, e, r), a(e, n);
|
|
@@ -268,7 +268,7 @@ function Be(t) {
|
|
|
268
268
|
133184 && s !== (s = /*$_*/
|
|
269
269
|
o[17](`${/*type*/
|
|
270
270
|
o[6]}${/*payMeth*/
|
|
271
|
-
o[58].ProcessingTime}`) + "") &&
|
|
271
|
+
o[58].ProcessingTime}`) + "") && T(n, s);
|
|
272
272
|
},
|
|
273
273
|
d(o) {
|
|
274
274
|
o && A(e);
|
|
@@ -277,11 +277,11 @@ function Be(t) {
|
|
|
277
277
|
}
|
|
278
278
|
function Ye(t) {
|
|
279
279
|
var ne, ie, oe, ue, fe, he, ge, pe;
|
|
280
|
-
let e, s, n, o, r, l, d, u, m, c, g,
|
|
280
|
+
let e, s, n, o, r, l, d, u, m, c, g, V = (
|
|
281
281
|
/*payMeth*/
|
|
282
282
|
(t[58].Label || /*payMeth*/
|
|
283
283
|
t[58].Name) + ""
|
|
284
|
-
),
|
|
284
|
+
), J, O, q, I, F, R, U = (
|
|
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, Q = (
|
|
311
311
|
/*$_*/
|
|
312
312
|
t[17]("generalMax") + ""
|
|
313
313
|
), S, ce, se = 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, Z, b = (
|
|
337
337
|
/*payMeth*/
|
|
338
338
|
t[58].isMethodPromoted && We(t)
|
|
339
339
|
), _ = !/*desktopView*/
|
|
@@ -352,9 +352,9 @@ function Ye(t) {
|
|
|
352
352
|
}
|
|
353
353
|
return {
|
|
354
354
|
c() {
|
|
355
|
-
e = f("div"), s = 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"), s = f("div"), n = f("img"), l = P(), d = f("div"), b && b.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), J = D(V), O = P(), _ && _.c(), q = P(), I = f("div"), F = f("span"), R = f("p"), K = D(U), ee = P(), te = D(B), Y = P(), H = f("p"), S = D(Q), ce = P(), E = D(se), X = P(), M && M.c(), G = P(), Fe(n.src, o = /*payMeth*/
|
|
356
356
|
t[58].LogoUrl) || h(n, "src", o), h(n, "alt", r = /*payMeth*/
|
|
357
|
-
t[58].Label), h(s, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(
|
|
357
|
+
t[58].Label), h(s, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(I, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), Le(
|
|
358
358
|
e,
|
|
359
359
|
"checked",
|
|
360
360
|
/*selectedPaymentMethod*/
|
|
@@ -363,9 +363,9 @@ function Ye(t) {
|
|
|
363
363
|
);
|
|
364
364
|
},
|
|
365
365
|
m($, v) {
|
|
366
|
-
x($, e, v), a(e, s), a(s, 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,
|
|
366
|
+
x($, e, v), a(e, s), a(s, 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, J), a(m, O), _ && _.m(m, null), a(m, q), a(m, I), a(I, F), a(F, R), a(R, K), a(R, ee), a(R, te), a(F, Y), a(F, H), a(H, S), a(H, ce), a(H, E), a(m, X), M && M.m(m, null), a(e, G), k || (Z = [
|
|
367
367
|
Pe(e, "click", de),
|
|
368
|
-
Pe(e, "keyup",
|
|
368
|
+
Pe(e, "keyup", Dt)
|
|
369
369
|
], k = !0);
|
|
370
370
|
},
|
|
371
371
|
p($, v) {
|
|
@@ -376,12 +376,12 @@ function Ye(t) {
|
|
|
376
376
|
2048 && r !== (r = /*payMeth*/
|
|
377
377
|
t[58].Label) && h(n, "alt", r), /*payMeth*/
|
|
378
378
|
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*/
|
|
379
|
-
2048 &&
|
|
379
|
+
2048 && V !== (V = /*payMeth*/
|
|
380
380
|
(t[58].Label || /*payMeth*/
|
|
381
|
-
t[58].Name) + "") &&
|
|
381
|
+
t[58].Name) + "") && T(J, V), /*desktopView*/
|
|
382
382
|
t[13] ? _ && (_.d(1), _ = null) : _ ? _.p(t, v) : (_ = qe(t), _.c(), _.m(m, q)), v[0] & /*$_*/
|
|
383
383
|
131072 && U !== (U = /*$_*/
|
|
384
|
-
t[17]("generalMin") + "") &&
|
|
384
|
+
t[17]("generalMin") + "") && T(K, U), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
385
385
|
67840 && B !== (B = ve(
|
|
386
386
|
/*payMeth*/
|
|
387
387
|
t[58].DisplayCurrency.MinAmountLimit,
|
|
@@ -405,9 +405,9 @@ function Ye(t) {
|
|
|
405
405
|
t[16]
|
|
406
406
|
)
|
|
407
407
|
}
|
|
408
|
-
) + "") &&
|
|
409
|
-
131072 &&
|
|
410
|
-
t[17]("generalMax") + "") &&
|
|
408
|
+
) + "") && T(te, B), v[0] & /*$_*/
|
|
409
|
+
131072 && Q !== (Q = /*$_*/
|
|
410
|
+
t[17]("generalMax") + "") && T(S, Q), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
|
|
411
411
|
67840 && se !== (se = ve(
|
|
412
412
|
/*payMeth*/
|
|
413
413
|
t[58].DisplayCurrency.MaxAmountLimit,
|
|
@@ -431,7 +431,7 @@ function Ye(t) {
|
|
|
431
431
|
t[16]
|
|
432
432
|
)
|
|
433
433
|
}
|
|
434
|
-
) + "") &&
|
|
434
|
+
) + "") && T(E, se), /*desktopView*/
|
|
435
435
|
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*/
|
|
436
436
|
2560 && Le(
|
|
437
437
|
e,
|
|
@@ -442,7 +442,7 @@ function Ye(t) {
|
|
|
442
442
|
);
|
|
443
443
|
},
|
|
444
444
|
d($) {
|
|
445
|
-
$ && A(e), b && b.d(), _ && _.d(), M && M.d(), k = !1, pt(
|
|
445
|
+
$ && A(e), b && b.d(), _ && _.d(), M && M.d(), k = !1, pt(Z);
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
448
|
}
|
|
@@ -450,7 +450,7 @@ function Xe(t) {
|
|
|
450
450
|
let e, s, n, o;
|
|
451
451
|
return {
|
|
452
452
|
c() {
|
|
453
|
-
e = f("div"), s =
|
|
453
|
+
e = f("div"), s = D(
|
|
454
454
|
/*methodsButtonToggleText*/
|
|
455
455
|
t[10]
|
|
456
456
|
), h(e, "class", "ShowAllButton");
|
|
@@ -465,7 +465,7 @@ function Xe(t) {
|
|
|
465
465
|
},
|
|
466
466
|
p(r, l) {
|
|
467
467
|
l[0] & /*methodsButtonToggleText*/
|
|
468
|
-
1024 &&
|
|
468
|
+
1024 && T(
|
|
469
469
|
s,
|
|
470
470
|
/*methodsButtonToggleText*/
|
|
471
471
|
r[10]
|
|
@@ -480,7 +480,7 @@ function Ge(t) {
|
|
|
480
480
|
let e, s, n;
|
|
481
481
|
return {
|
|
482
482
|
c() {
|
|
483
|
-
e = f("cashier-error"), s = f("span"), n =
|
|
483
|
+
e = f("cashier-error"), s = f("span"), n = D(
|
|
484
484
|
/*errorMessage*/
|
|
485
485
|
t[12]
|
|
486
486
|
), h(s, "class", "ErrorMessage"), h(s, "slot", "text"), N(
|
|
@@ -520,7 +520,7 @@ function Ge(t) {
|
|
|
520
520
|
},
|
|
521
521
|
p(o, r) {
|
|
522
522
|
r[0] & /*errorMessage*/
|
|
523
|
-
4096 &&
|
|
523
|
+
4096 && T(
|
|
524
524
|
n,
|
|
525
525
|
/*errorMessage*/
|
|
526
526
|
o[12]
|
|
@@ -577,7 +577,7 @@ function Pt(t) {
|
|
|
577
577
|
);
|
|
578
578
|
return {
|
|
579
579
|
c() {
|
|
580
|
-
n && n.c(), e = P(), o && o.c(), s =
|
|
580
|
+
n && n.c(), e = P(), o && o.c(), s = Ve();
|
|
581
581
|
},
|
|
582
582
|
m(r, l) {
|
|
583
583
|
n && n.m(r, l), x(r, e, l), o && o.m(r, l), x(r, s, l);
|
|
@@ -594,12 +594,12 @@ function Pt(t) {
|
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
|
-
const
|
|
597
|
+
const Tt = "PaymentPromotion", Dt = () => {
|
|
598
598
|
};
|
|
599
599
|
function St(t, e, s) {
|
|
600
600
|
let n, o, r;
|
|
601
601
|
ze(t, wt, (i) => s(17, o = i)), ze(t, Oe, (i) => s(42, r = i)), Ae.extend(ct);
|
|
602
|
-
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl:
|
|
602
|
+
let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: V } = e, { currency: J } = e, { numberofmethodsshown: O } = e, { translationurl: q = "" } = e, { mbsource: I } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals: U = "0" } = e, { currencysymbol: K = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: B = "false" } = e, { type: te } = e, { userroles: Y = "" } = e, H, Q = {}, S, ce, se = window.navigator.userAgent, E = [], X, G = "", k = [], Z = [], b = "", _, M = !0, de = !1, ne = !1, ie = [];
|
|
603
603
|
var oe;
|
|
604
604
|
(function(i) {
|
|
605
605
|
i.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", i.Success = "Success", i.JwtTokenError = "JwtTokenError";
|
|
@@ -608,15 +608,15 @@ function St(t, e, s) {
|
|
|
608
608
|
let i = q;
|
|
609
609
|
if (i)
|
|
610
610
|
return fetch(i).then((p) => p.json()).then((p) => {
|
|
611
|
-
Object.keys(p).forEach((
|
|
612
|
-
Re(
|
|
611
|
+
Object.keys(p).forEach((j) => {
|
|
612
|
+
Re(j, p[j]);
|
|
613
613
|
});
|
|
614
614
|
}).catch((p) => {
|
|
615
615
|
console.log(p);
|
|
616
616
|
});
|
|
617
617
|
};
|
|
618
|
-
Object.keys(
|
|
619
|
-
Re(i,
|
|
618
|
+
Object.keys(je).forEach((i) => {
|
|
619
|
+
Re(i, je[i]);
|
|
620
620
|
});
|
|
621
621
|
const fe = () => {
|
|
622
622
|
vt(l);
|
|
@@ -651,10 +651,10 @@ function St(t, e, s) {
|
|
|
651
651
|
E = (me = C.PaymentMethods) != null && me.Ordering ? pe(C) : $(C), window.postMessage(
|
|
652
652
|
{
|
|
653
653
|
type: "PromotedPaymentMethods",
|
|
654
|
-
promotedPaymentMethods:
|
|
654
|
+
promotedPaymentMethods: Z
|
|
655
655
|
},
|
|
656
656
|
window.location.href
|
|
657
|
-
), s(10, G = O && +O > 0 && E.length > +O ? o("showAll") : ""), s(11, k = G ? E.slice(0, +O) : E), B == "false" && s(11, k = k.sort((
|
|
657
|
+
), s(10, G = O && +O > 0 && E.length > +O ? o("showAll") : ""), s(11, k = G ? E.slice(0, +O) : E), B == "false" && s(11, k = k.sort((Te, De) => Te.isMethodPromoted && !De.isMethodPromoted ? -1 : !Te.isMethodPromoted && De.isMethodPromoted ? 1 : 0)), s(15, ne = !k.length), window.postMessage(
|
|
658
658
|
{
|
|
659
659
|
type: "StartSessionCountdown",
|
|
660
660
|
paymentMethodName: E[0].Name
|
|
@@ -666,22 +666,22 @@ function St(t, e, s) {
|
|
|
666
666
|
});
|
|
667
667
|
}, pe = (i) => {
|
|
668
668
|
const p = [];
|
|
669
|
-
return
|
|
670
|
-
const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name ===
|
|
669
|
+
return Z = [], i.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((j) => {
|
|
670
|
+
const y = i.PaymentMethods.PaymentMethods.find((L) => L.Name === j);
|
|
671
671
|
if (y) {
|
|
672
672
|
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;
|
|
673
|
-
y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted &&
|
|
673
|
+
y.isMethodPromoted = le(y.Tags), y.LogoUrl = W.LogoUrl ? `https:${W.LogoUrl}` : "", y.isMethodPromoted && Z.push(y), p.push(y);
|
|
674
674
|
}
|
|
675
675
|
}), p;
|
|
676
676
|
}, $ = (i) => {
|
|
677
677
|
const p = i.PaymentMethods.PaymentMethods.map((L) => Ce(ke({}, L), {
|
|
678
678
|
isMethodPromoted: le(L.Tags),
|
|
679
679
|
LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
|
|
680
|
-
})), [
|
|
680
|
+
})), [j, y] = p.reduce(
|
|
681
681
|
([L, z], W) => (W && W.isMethodPromoted ? L.push(W) : z.promo(W), [L, z]),
|
|
682
682
|
[[], []]
|
|
683
683
|
);
|
|
684
|
-
return
|
|
684
|
+
return Z = j, y;
|
|
685
685
|
}, v = (i) => {
|
|
686
686
|
s(9, X = i.Name), window.postMessage({ type: "SelectPayMeth", details: i }, window.location.href), dispatchEvent(new CustomEvent(
|
|
687
687
|
"selectPayMeth",
|
|
@@ -708,12 +708,12 @@ function St(t, e, s) {
|
|
|
708
708
|
s(11, k = E), s(10, G = o("showLess"));
|
|
709
709
|
}, be = () => {
|
|
710
710
|
s(11, k = E.slice(0, +O)), X && !k.find((i) => i.Name === X) && k.splice(0, 0, E.find((i) => i.Name === X)), s(10, G = o("showAll"));
|
|
711
|
-
}, le = (i) => i && i.split(",").some((p) => p ===
|
|
712
|
-
var
|
|
711
|
+
}, le = (i) => i && i.split(",").some((p) => p === Tt), ae = (i) => {
|
|
712
|
+
var j;
|
|
713
713
|
const { data: { type: p } = {} } = i || {};
|
|
714
714
|
switch (p) {
|
|
715
715
|
case "PrecisionCurrenciesMap": {
|
|
716
|
-
s(8,
|
|
716
|
+
s(8, Q = ((j = i == null ? void 0 : i.data) == null ? void 0 : j.payload) || {});
|
|
717
717
|
break;
|
|
718
718
|
}
|
|
719
719
|
}
|
|
@@ -723,34 +723,34 @@ function St(t, e, s) {
|
|
|
723
723
|
dt(() => (we(), ut(d, K, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", ae), () => {
|
|
724
724
|
window.removeEventListener("message", ae);
|
|
725
725
|
}));
|
|
726
|
-
const
|
|
727
|
-
function
|
|
726
|
+
const Je = (i) => v(i), Ke = () => re();
|
|
727
|
+
function Qe(i) {
|
|
728
728
|
ht[i ? "unshift" : "push"](() => {
|
|
729
729
|
S = i, s(7, S);
|
|
730
730
|
});
|
|
731
731
|
}
|
|
732
732
|
return t.$$set = (i) => {
|
|
733
|
-
"lang" in i && s(0, l = i.lang), "local" in i && s(20, d = i.local), "endpoint" in i && s(21, u = i.endpoint), "paymentsession" in i && s(22, m = i.paymentsession), "playersession" in i && s(23, c = i.playersession), "customerid" in i && s(24, g = i.customerid), "assetsurl" in i && s(1,
|
|
733
|
+
"lang" in i && s(0, l = i.lang), "local" in i && s(20, d = i.local), "endpoint" in i && s(21, u = i.endpoint), "paymentsession" in i && s(22, m = i.paymentsession), "playersession" in i && s(23, c = i.playersession), "customerid" in i && s(24, g = i.customerid), "assetsurl" in i && s(1, V = i.assetsurl), "currency" in i && s(25, J = i.currency), "numberofmethodsshown" in i && s(26, O = i.numberofmethodsshown), "translationurl" in i && s(2, q = i.translationurl), "mbsource" in i && s(3, I = i.mbsource), "clientstyling" in i && s(4, F = i.clientstyling), "clientstylingurl" in i && s(5, R = i.clientstylingurl), "currencydecimals" in i && s(27, U = i.currencydecimals), "currencysymbol" in i && s(28, K = i.currencysymbol), "currencyposition" in i && s(29, ee = i.currencyposition), "promotedmethods" in i && s(30, B = i.promotedmethods), "type" in i && s(6, te = i.type), "userroles" in i && s(31, Y = i.userroles);
|
|
734
734
|
}, t.$$.update = () => {
|
|
735
735
|
t.$$.dirty[1] & /*userroles*/
|
|
736
736
|
1 && Y && _e(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
|
|
737
|
-
56623104 && u && !m && g && he({ currency:
|
|
737
|
+
56623104 && u && !m && g && he({ currency: J }), t.$$.dirty[0] & /*lang*/
|
|
738
738
|
1 && l && fe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
739
739
|
144 && F && S && Mt(S, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
740
740
|
160 && R && S && bt(S, R), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
741
|
-
136 &&
|
|
741
|
+
136 && I && S && _t(S, `${I}.Style`, ce), t.$$.dirty[0] & /*lang, translationurl*/
|
|
742
742
|
5 && l && q && ue(), t.$$.dirty[0] & /*currencydecimals*/
|
|
743
743
|
134217728 && s(16, n = Number(U));
|
|
744
744
|
}, [
|
|
745
745
|
l,
|
|
746
|
-
|
|
746
|
+
V,
|
|
747
747
|
q,
|
|
748
|
-
|
|
748
|
+
I,
|
|
749
749
|
F,
|
|
750
750
|
R,
|
|
751
751
|
te,
|
|
752
752
|
S,
|
|
753
|
-
|
|
753
|
+
Q,
|
|
754
754
|
X,
|
|
755
755
|
G,
|
|
756
756
|
k,
|
|
@@ -767,16 +767,16 @@ function St(t, e, s) {
|
|
|
767
767
|
m,
|
|
768
768
|
c,
|
|
769
769
|
g,
|
|
770
|
-
|
|
770
|
+
J,
|
|
771
771
|
O,
|
|
772
772
|
U,
|
|
773
773
|
K,
|
|
774
774
|
ee,
|
|
775
775
|
B,
|
|
776
776
|
Y,
|
|
777
|
-
|
|
777
|
+
Je,
|
|
778
778
|
Ke,
|
|
779
|
-
|
|
779
|
+
Qe
|
|
780
780
|
];
|
|
781
781
|
}
|
|
782
782
|
class Et extends rt {
|