@everymatrix/cashier-page 1.56.0 → 1.56.2
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-DjJI47WY.js → CashierConfirmModal-B0WZGuf5.js} +48 -41
- package/components/{CashierConfirmModal-CnmhfysD.js → CashierConfirmModal-BErwh2fQ.js} +49 -42
- package/components/{CashierConfirmModal-B_XfWSC2.cjs → CashierConfirmModal-BVT51ZOp.cjs} +1 -1
- package/components/{CashierError-CcFXZ705.js → CashierError-DoHJAf67.js} +524 -502
- package/components/{CashierError-BhW9Bd5u.js → CashierError-Dyf5BWS1.js} +523 -501
- package/components/{CashierError-wHAQP3_C.cjs → CashierError-YmV_PQP8.cjs} +16 -3
- package/components/{CashierHeader-BKrGT2Ae.cjs → CashierHeader-B-wIMGOV.cjs} +1 -1
- package/components/{CashierHeader-B_qUwnRz.js → CashierHeader-C8XVzyv9.js} +42 -42
- package/components/{CashierHeader-BUMem-fU.js → CashierHeader-Dm79zFE4.js} +44 -44
- package/components/{CashierIframeRedirect-DK3-V6GJ.js → CashierIframeRedirect-B_5Lg8hb.js} +33 -33
- package/components/{CashierIframeRedirect-BDIr-k4X.cjs → CashierIframeRedirect-CXErmVjw.cjs} +1 -1
- package/components/{CashierIframeRedirect-DiWIODGM.js → CashierIframeRedirect-D7qTJ1C9.js} +32 -32
- package/components/CashierMethodDetails-Ba0LNaer.cjs +18 -0
- package/components/{CashierMethodDetails-B5Y9sYOg.js → CashierMethodDetails-C6upoqd2.js} +1810 -1773
- package/components/{CashierMethodDetails-C-KT1A-h.js → CashierMethodDetails-T4mbzimW.js} +1870 -1833
- package/components/{CashierMethodsList-CbNajSX5.js → CashierMethodsList-6aZ0rauJ.js} +92 -92
- package/components/{CashierMethodsList-DCPVijk5.cjs → CashierMethodsList-Ds7TEIYj.cjs} +1 -1
- package/components/{CashierMethodsList-Q3OYWKGV.js → CashierMethodsList-K1Zqnlt7.js} +67 -67
- package/components/{CashierModal-B9SMcvPJ.cjs → CashierModal-BhCdxWcE.cjs} +1 -1
- package/components/{CashierModal-DoTNxAOf.js → CashierModal-CpN2LT2L.js} +31 -31
- package/components/{CashierModal-BQ75P20m.js → CashierModal-DB1wg0l3.js} +37 -37
- package/components/{CashierNotifications-BdcWgN-t.js → CashierNotifications-B5qfr68o.js} +18 -18
- package/components/{CashierNotifications-C5qqk3s5.cjs → CashierNotifications-BVAanyOB.cjs} +1 -1
- package/components/{CashierNotifications-DVCfwUo9.js → CashierNotifications-BmAkkuzD.js} +19 -19
- package/components/{CashierPage-BGaDrX6p.js → CashierPage-CJg_L4B4.js} +68 -68
- package/components/{CashierPage-C67H_0uR.cjs → CashierPage-C_as9ye4.cjs} +1 -1
- package/components/{CashierPage-Ckv_ecQa.js → CashierPage-TC37oBbP.js} +66 -66
- package/components/{CashierReceiptPage-bBNHsfW5.cjs → CashierReceiptPage-BH5T05dg.cjs} +1 -1
- package/components/{CashierReceiptPage-Cjz4isz4.js → CashierReceiptPage-BOTRblW6.js} +215 -202
- package/components/{CashierReceiptPage-B6Ot4u-u.js → CashierReceiptPage-BsbiLGZK.js} +191 -179
- package/components/{CashierSessionExpirationModal-CWKlvhPF.cjs → CashierSessionExpirationModal-CxpesQtf.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-CbrAJQvx.js → CashierSessionExpirationModal-DZgsGvVp.js} +60 -49
- package/components/{CashierSessionExpirationModal-8p7dxVmt.js → CashierSessionExpirationModal-V8MYd-oY.js} +60 -49
- package/components/{CashierSpinner-Y3YCsQEf.js → CashierSpinner-BI29nSq_.js} +25 -25
- package/components/{CashierSpinner-Cv-DKF1H.js → CashierSpinner-FzCMnj7X.js} +26 -26
- package/components/{CashierSpinner-CxYzgF3b.cjs → CashierSpinner-H763izjz.cjs} +1 -1
- package/components/{CashierTransactionHistory-DRX91Hoc.cjs → CashierTransactionHistory-8gcj3WQW.cjs} +1 -1
- package/components/{CashierTransactionHistory-DmVVMYYd.js → CashierTransactionHistory-BfGfxyd8.js} +92 -87
- package/components/{CashierTransactionHistory-SjIsxvK5.js → CashierTransactionHistory-CN06GWPY.js} +111 -106
- package/components/{CashierVerifications-Cqc-k576.js → CashierVerifications-BOYrzIos.js} +72 -72
- package/components/{CashierVerifications-D-3Ycigl.cjs → CashierVerifications-BXTVbpjh.cjs} +1 -1
- package/components/{CashierVerifications-DL2hsNCJ.js → CashierVerifications-qhXfC9Fa.js} +26 -26
- package/components/{CashierVideoModal-CBBnFyqd.cjs → CashierVideoModal-CjR0Fzuu.cjs} +1 -1
- package/components/{CashierVideoModal-DkujQ3WY.js → CashierVideoModal-DGBQZz-C.js} +33 -33
- package/components/{CashierVideoModal-YsTJSZa7.js → CashierVideoModal-DPG12DK0.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
- package/components/CashierMethodDetails-D8AGMiCO.cjs +0 -18
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as Ee, b as xe,
|
|
2
|
-
import { a as
|
|
3
|
-
import { d as re, u as Ie } from "./CashierMethodDetails-
|
|
1
|
+
import { S as Ee, b as xe, f as S, c as Te, a as Ae, d as Pe, h as _, x as De, k as N, n as ie, v as z, w as Ne, Q as ze, G as Fe, g as y, E as M, K as le, j as w, l as d, M as He, y as x, D as oe, I as Q, A as ee, z as T, r as We, C as je } from "./CashierConfirmModal-B0WZGuf5.js";
|
|
2
|
+
import { a as Oe, i as Ue, $ as Re, b as Be } from "./CashierError-Dyf5BWS1.js";
|
|
3
|
+
import { d as re, u as Ie } from "./CashierMethodDetails-C6upoqd2.js";
|
|
4
4
|
function ae(t, e) {
|
|
5
|
-
|
|
5
|
+
Oe(t, e);
|
|
6
6
|
}
|
|
7
7
|
function Ge(t) {
|
|
8
|
-
|
|
8
|
+
Ue({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
10
|
}), Re.set(t);
|
|
11
11
|
}
|
|
@@ -44,7 +44,7 @@ const me = {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
function Ve(t) {
|
|
47
|
-
|
|
47
|
+
Pe(t, "svelte-1wlv0rl", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.EmptyContentMessageWrapper{display:flex;flex-direction:column;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:var(--emw--spacing-small, 12px);max-height:500px}.EmptyContentMessageHeader{display:flex;gap:4px;align-items:end}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--emw--color-warning, rgb(250, 146, 0))}.EmptyContentMessageText{word-break:break-word;padding:var(--emw--spacing-small, 12px) calc(var(--emw--spacing-small, 12px) / 2);font-size:var(--emw--font-size-small, 14px)}.EmptyContentMessageDesktop p{font-size:var(--emw--font-size-medium, 16px)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--mmw--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(--mmw--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)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
|
|
48
48
|
}
|
|
49
49
|
function ce(t, e, s) {
|
|
50
50
|
const r = t.slice();
|
|
@@ -67,7 +67,7 @@ function de(t) {
|
|
|
67
67
|
);
|
|
68
68
|
},
|
|
69
69
|
m(s, r) {
|
|
70
|
-
|
|
70
|
+
N(s, e, r);
|
|
71
71
|
},
|
|
72
72
|
p(s, r) {
|
|
73
73
|
r[0] & /*clientstylingurl*/
|
|
@@ -85,7 +85,7 @@ function de(t) {
|
|
|
85
85
|
);
|
|
86
86
|
},
|
|
87
87
|
d(s) {
|
|
88
|
-
s &&
|
|
88
|
+
s && z(e);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
}
|
|
@@ -112,7 +112,7 @@ function ue(t) {
|
|
|
112
112
|
r = _(), i && i.c(), a = _(), m && m.c(), w(s, "class", "CashierMethodList"), w(e, "class", "CashierMethodListWidget");
|
|
113
113
|
},
|
|
114
114
|
m(c, f) {
|
|
115
|
-
|
|
115
|
+
N(c, e, f), d(e, s);
|
|
116
116
|
for (let u = 0; u < o.length; u += 1)
|
|
117
117
|
o[u] && o[u].m(s, null);
|
|
118
118
|
d(s, r), i && i.m(s, null), d(e, a), m && m.m(e, null), t[27](e);
|
|
@@ -139,7 +139,7 @@ function ue(t) {
|
|
|
139
139
|
c[7] ? m ? m.p(c, f) : (m = fe(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
|
|
140
140
|
},
|
|
141
141
|
d(c) {
|
|
142
|
-
c &&
|
|
142
|
+
c && z(e), He(o, c), i && i.d(), m && m.d(), t[27](null);
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
}
|
|
@@ -151,25 +151,25 @@ function he(t) {
|
|
|
151
151
|
), f, u, g, p, P = (
|
|
152
152
|
/*$_*/
|
|
153
153
|
t[14]("generalMin") + ""
|
|
154
|
-
),
|
|
154
|
+
), F, k, C = (
|
|
155
155
|
/*formatter*/
|
|
156
156
|
t[15].format(
|
|
157
157
|
/*payMeth*/
|
|
158
158
|
t[48].DisplayCurrency.MinAmountLimit
|
|
159
159
|
) + ""
|
|
160
|
-
), D,
|
|
160
|
+
), D, H, L = (
|
|
161
161
|
/*payMeth*/
|
|
162
162
|
t[48].DisplayCurrency.Name + ""
|
|
163
|
-
), W,
|
|
163
|
+
), W, Y, E, j = (
|
|
164
164
|
/*$_*/
|
|
165
165
|
t[14]("generalMax") + ""
|
|
166
|
-
),
|
|
166
|
+
), O, I, U = (
|
|
167
167
|
/*formatter*/
|
|
168
168
|
t[15].format(
|
|
169
169
|
/*payMeth*/
|
|
170
170
|
t[48].DisplayCurrency.MaxAmountLimit
|
|
171
171
|
) + ""
|
|
172
|
-
), R,
|
|
172
|
+
), R, J, G = (
|
|
173
173
|
/*payMeth*/
|
|
174
174
|
t[48].DisplayCurrency.Name + ""
|
|
175
175
|
), V, q, X;
|
|
@@ -184,7 +184,7 @@ function he(t) {
|
|
|
184
184
|
}
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
|
-
e = y("div"), s = y("div"), r = y("img"), o = _(), i = y("div"), m = y("span"), f =
|
|
187
|
+
e = y("div"), s = y("div"), r = y("img"), o = _(), i = y("div"), m = y("span"), f = x(c), u = _(), g = y("div"), p = y("span"), F = x(P), k = _(), D = x(C), H = _(), W = x(L), Y = _(), E = y("span"), O = x(j), I = _(), R = x(U), J = _(), V = x(G), oe(r.src, a = /*payMeth*/
|
|
188
188
|
t[48].LogoUrl) || w(r, "src", a), w(r, "alt", l = /*payMeth*/
|
|
189
189
|
t[48].Label), w(s, "class", "MethodLogo"), w(i, "class", "MethodTitle"), w(p, "class", "Limits"), w(E, "class", "Limits"), w(g, "class", "MethodLimits"), w(e, "class", "SelectorWrapper"), Q(
|
|
190
190
|
e,
|
|
@@ -195,9 +195,9 @@ function he(t) {
|
|
|
195
195
|
);
|
|
196
196
|
},
|
|
197
197
|
m(B, v) {
|
|
198
|
-
|
|
198
|
+
N(B, e, v), 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, D), d(p, H), d(p, W), d(g, Y), d(g, E), d(E, O), d(E, I), d(E, R), d(E, J), d(E, V), q || (X = [
|
|
199
199
|
ee(e, "click", K),
|
|
200
|
-
ee(e, "keyup",
|
|
200
|
+
ee(e, "keyup", Ye)
|
|
201
201
|
], q = !0);
|
|
202
202
|
},
|
|
203
203
|
p(B, v) {
|
|
@@ -208,25 +208,25 @@ function he(t) {
|
|
|
208
208
|
t[48].Label) && w(r, "alt", l), v[0] & /*paymentMethodsToShow*/
|
|
209
209
|
256 && c !== (c = /*payMeth*/
|
|
210
210
|
(t[48].Label || /*payMeth*/
|
|
211
|
-
t[48].Name) + "") &&
|
|
211
|
+
t[48].Name) + "") && T(f, c), v[0] & /*$_*/
|
|
212
212
|
16384 && P !== (P = /*$_*/
|
|
213
|
-
t[14]("generalMin") + "") &&
|
|
214
|
-
256 &&
|
|
213
|
+
t[14]("generalMin") + "") && T(F, P), v[0] & /*paymentMethodsToShow*/
|
|
214
|
+
256 && C !== (C = /*formatter*/
|
|
215
215
|
t[15].format(
|
|
216
216
|
/*payMeth*/
|
|
217
217
|
t[48].DisplayCurrency.MinAmountLimit
|
|
218
|
-
) + "") &&
|
|
218
|
+
) + "") && T(D, C), v[0] & /*paymentMethodsToShow*/
|
|
219
219
|
256 && L !== (L = /*payMeth*/
|
|
220
|
-
t[48].DisplayCurrency.Name + "") &&
|
|
221
|
-
16384 &&
|
|
222
|
-
t[14]("generalMax") + "") &&
|
|
223
|
-
256 &&
|
|
220
|
+
t[48].DisplayCurrency.Name + "") && T(W, L), v[0] & /*$_*/
|
|
221
|
+
16384 && j !== (j = /*$_*/
|
|
222
|
+
t[14]("generalMax") + "") && T(O, j), v[0] & /*paymentMethodsToShow*/
|
|
223
|
+
256 && U !== (U = /*formatter*/
|
|
224
224
|
t[15].format(
|
|
225
225
|
/*payMeth*/
|
|
226
226
|
t[48].DisplayCurrency.MaxAmountLimit
|
|
227
|
-
) + "") &&
|
|
227
|
+
) + "") && T(R, U), v[0] & /*paymentMethodsToShow*/
|
|
228
228
|
256 && G !== (G = /*payMeth*/
|
|
229
|
-
t[48].DisplayCurrency.Name + "") &&
|
|
229
|
+
t[48].DisplayCurrency.Name + "") && T(V, G), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
|
|
230
230
|
320 && Q(
|
|
231
231
|
e,
|
|
232
232
|
"checked",
|
|
@@ -236,7 +236,7 @@ function he(t) {
|
|
|
236
236
|
);
|
|
237
237
|
},
|
|
238
238
|
d(B) {
|
|
239
|
-
B &&
|
|
239
|
+
B && z(e), q = !1, We(X);
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
}
|
|
@@ -250,7 +250,7 @@ function ge(t) {
|
|
|
250
250
|
), u;
|
|
251
251
|
return {
|
|
252
252
|
c() {
|
|
253
|
-
e = y("div"), s = y("div"), r = y("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 = y("p"), i =
|
|
253
|
+
e = y("div"), s = y("div"), r = y("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 = y("p"), i = x(o), m = _(), c = y("p"), u = x(f), w(r, "class", "IconWarning"), w(l, "class", "EmptyContentMessageTitle"), w(s, "class", "EmptyContentMessageHeader"), w(c, "class", "EmptyContentMessageText"), w(e, "class", "EmptyContentMessageWrapper"), Q(
|
|
254
254
|
e,
|
|
255
255
|
"EmptyContentMessageDesktop",
|
|
256
256
|
/*desktopView*/
|
|
@@ -258,14 +258,14 @@ function ge(t) {
|
|
|
258
258
|
);
|
|
259
259
|
},
|
|
260
260
|
m(g, p) {
|
|
261
|
-
|
|
261
|
+
N(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);
|
|
262
262
|
},
|
|
263
263
|
p(g, p) {
|
|
264
264
|
p[0] & /*$_*/
|
|
265
265
|
16384 && o !== (o = /*$_*/
|
|
266
|
-
g[14]("error") + "") &&
|
|
266
|
+
g[14]("error") + "") && T(i, o), p[0] & /*$_*/
|
|
267
267
|
16384 && f !== (f = /*$_*/
|
|
268
|
-
g[14]("noPaymentMethods") + "") &&
|
|
268
|
+
g[14]("noPaymentMethods") + "") && T(u, f), p[0] & /*desktopView*/
|
|
269
269
|
2048 && Q(
|
|
270
270
|
e,
|
|
271
271
|
"EmptyContentMessageDesktop",
|
|
@@ -274,7 +274,7 @@ function ge(t) {
|
|
|
274
274
|
);
|
|
275
275
|
},
|
|
276
276
|
d(g) {
|
|
277
|
-
g &&
|
|
277
|
+
g && z(e);
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
}
|
|
@@ -282,13 +282,13 @@ function fe(t) {
|
|
|
282
282
|
let e, s, r, a;
|
|
283
283
|
return {
|
|
284
284
|
c() {
|
|
285
|
-
e = y("div"), s =
|
|
285
|
+
e = y("div"), s = x(
|
|
286
286
|
/*methodsButtonToggleText*/
|
|
287
287
|
t[7]
|
|
288
288
|
), w(e, "class", "ShowAllButton");
|
|
289
289
|
},
|
|
290
290
|
m(l, o) {
|
|
291
|
-
|
|
291
|
+
N(l, e, o), d(e, s), r || (a = ee(
|
|
292
292
|
e,
|
|
293
293
|
"click",
|
|
294
294
|
/*click_handler_1*/
|
|
@@ -297,14 +297,14 @@ function fe(t) {
|
|
|
297
297
|
},
|
|
298
298
|
p(l, o) {
|
|
299
299
|
o[0] & /*methodsButtonToggleText*/
|
|
300
|
-
128 &&
|
|
300
|
+
128 && T(
|
|
301
301
|
s,
|
|
302
302
|
/*methodsButtonToggleText*/
|
|
303
303
|
l[7]
|
|
304
304
|
);
|
|
305
305
|
},
|
|
306
306
|
d(l) {
|
|
307
|
-
l &&
|
|
307
|
+
l && z(e), r = !1, a();
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
}
|
|
@@ -312,7 +312,7 @@ function pe(t) {
|
|
|
312
312
|
let e, s, r;
|
|
313
313
|
return {
|
|
314
314
|
c() {
|
|
315
|
-
e = y("cashier-error"), s = y("span"), r =
|
|
315
|
+
e = y("cashier-error"), s = y("span"), r = x(
|
|
316
316
|
/*errorMessage*/
|
|
317
317
|
t[10]
|
|
318
318
|
), w(s, "slot", "text"), M(
|
|
@@ -343,11 +343,11 @@ function pe(t) {
|
|
|
343
343
|
), M(e, "hidebuttons", "true");
|
|
344
344
|
},
|
|
345
345
|
m(a, l) {
|
|
346
|
-
|
|
346
|
+
N(a, e, l), d(e, s), d(s, r);
|
|
347
347
|
},
|
|
348
348
|
p(a, l) {
|
|
349
349
|
l[0] & /*errorMessage*/
|
|
350
|
-
1024 &&
|
|
350
|
+
1024 && T(
|
|
351
351
|
r,
|
|
352
352
|
/*errorMessage*/
|
|
353
353
|
a[10]
|
|
@@ -384,7 +384,7 @@ function pe(t) {
|
|
|
384
384
|
);
|
|
385
385
|
},
|
|
386
386
|
d(a) {
|
|
387
|
-
a &&
|
|
387
|
+
a && z(e);
|
|
388
388
|
}
|
|
389
389
|
};
|
|
390
390
|
}
|
|
@@ -402,10 +402,10 @@ function qe(t) {
|
|
|
402
402
|
);
|
|
403
403
|
return {
|
|
404
404
|
c() {
|
|
405
|
-
a && a.c(), e = _(), l && l.c(), s = _(), o && o.c(), r =
|
|
405
|
+
a && a.c(), e = _(), l && l.c(), s = _(), o && o.c(), r = De();
|
|
406
406
|
},
|
|
407
407
|
m(i, m) {
|
|
408
|
-
a && a.m(i, m),
|
|
408
|
+
a && a.m(i, m), N(i, e, m), l && l.m(i, m), N(i, s, m), o && o.m(i, m), N(i, r, m);
|
|
409
409
|
},
|
|
410
410
|
p(i, m) {
|
|
411
411
|
/*showSpinner*/
|
|
@@ -417,21 +417,21 @@ function qe(t) {
|
|
|
417
417
|
i: ie,
|
|
418
418
|
o: ie,
|
|
419
419
|
d(i) {
|
|
420
|
-
i && (
|
|
420
|
+
i && (z(e), z(s), z(r)), a && a.d(i), l && l.d(i), o && o.d(i);
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
}
|
|
424
|
-
const
|
|
424
|
+
const Ye = () => {
|
|
425
425
|
};
|
|
426
|
-
function
|
|
426
|
+
function Je(t, e, s) {
|
|
427
427
|
let r;
|
|
428
|
-
|
|
429
|
-
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:
|
|
428
|
+
Ne(t, Be, (n) => s(14, r = n)), re.extend(Ie);
|
|
429
|
+
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, D, H = "", L = [], W = !0, Y = new Intl.NumberFormat(l, { minimumFractionDigits: 2 }), E = "", j, O = !0, I = !1, U = !1;
|
|
430
430
|
var R;
|
|
431
431
|
(function(n) {
|
|
432
432
|
n.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", n.Success = "Success", n.JwtTokenError = "JwtTokenError";
|
|
433
|
-
})(R || (R = {})),
|
|
434
|
-
const
|
|
433
|
+
})(R || (R = {})), ze();
|
|
434
|
+
const J = () => {
|
|
435
435
|
let n = g;
|
|
436
436
|
if (n)
|
|
437
437
|
return fetch(n).then((h) => h.json()).then((h) => {
|
|
@@ -466,10 +466,10 @@ function Ye(t, e, s) {
|
|
|
466
466
|
return;
|
|
467
467
|
}
|
|
468
468
|
if (b.ResponseCode !== R.Success) {
|
|
469
|
-
|
|
469
|
+
j = b.ResponseCode, B();
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
|
-
k = b.PaymentMethods?.Ordering ? q(b) : X(b), s(7,
|
|
472
|
+
k = b.PaymentMethods?.Ordering ? q(b) : X(b), s(7, H = u && +u > 0 && k.length > +u ? r("showAll") : ""), s(8, L = H ? k.slice(0, +u) : k), window.postMessage(
|
|
473
473
|
{
|
|
474
474
|
type: "StartSessionCountdown",
|
|
475
475
|
paymentMethodName: k[0].Name,
|
|
@@ -478,14 +478,14 @@ function Ye(t, e, s) {
|
|
|
478
478
|
window.location.href
|
|
479
479
|
), window.postMessage({ type: "DataLoading", isDataLoaded: !1 });
|
|
480
480
|
}).finally(() => {
|
|
481
|
-
s(12, I = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), s(13,
|
|
481
|
+
s(12, I = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), s(13, U = !L.length);
|
|
482
482
|
});
|
|
483
483
|
}, q = (n) => {
|
|
484
484
|
const h = [];
|
|
485
485
|
return n.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((A) => {
|
|
486
486
|
const b = n.PaymentMethods.PaymentMethods.find((Z) => Z.Name === A);
|
|
487
487
|
if (b) {
|
|
488
|
-
const Z = b?.Logos.find(($) => $.LogoType === "Desktop") || {},
|
|
488
|
+
const Z = b?.Logos.find(($) => $.LogoType === "Desktop") || {}, Se = b?.Logos.find(($) => $.LogoType === "Mobile") || {}, ne = O ? Z : Se;
|
|
489
489
|
h.push({
|
|
490
490
|
...b,
|
|
491
491
|
LogoUrl: ne.LogoUrl ? `https:${ne.LogoUrl}` : ""
|
|
@@ -509,31 +509,31 @@ function Ye(t, e, s) {
|
|
|
509
509
|
window.postMessage(
|
|
510
510
|
{
|
|
511
511
|
type: "ErrorResponseCode",
|
|
512
|
-
errorResponseCode:
|
|
512
|
+
errorResponseCode: j
|
|
513
513
|
},
|
|
514
514
|
window.location.href
|
|
515
515
|
);
|
|
516
516
|
}, v = () => {
|
|
517
|
-
s(11,
|
|
517
|
+
s(11, O = F === "false");
|
|
518
518
|
}, te = () => {
|
|
519
519
|
L == k ? ye() : we();
|
|
520
520
|
}, we = () => {
|
|
521
|
-
s(8, L = k), s(7,
|
|
521
|
+
s(8, L = k), s(7, H = r("showLess"));
|
|
522
522
|
}, ye = () => {
|
|
523
|
-
s(8, L = k.slice(0, +u)), D && !L.find((n) => n.Name === D) && L.splice(0, 0, k.find((n) => n.Name === D)), s(7,
|
|
523
|
+
s(8, L = k.slice(0, +u)), D && !L.find((n) => n.Name === D) && L.splice(0, 0, k.find((n) => n.Name === D)), s(7, H = r("showAll"));
|
|
524
524
|
}, be = () => {
|
|
525
525
|
s(9, W = !0);
|
|
526
526
|
}, Me = (n) => {
|
|
527
527
|
s(9, W = !n.hideMethodsList);
|
|
528
528
|
}, ve = () => {
|
|
529
529
|
let n = document.createElement("style");
|
|
530
|
-
n.innerHTML = p,
|
|
530
|
+
n.innerHTML = p, C.appendChild(n);
|
|
531
531
|
}, Le = () => {
|
|
532
532
|
let n = new URL(P), h = document.createElement("style");
|
|
533
533
|
fetch(n.href).then((A) => A.text()).then((A) => {
|
|
534
534
|
h.innerHTML = A, setTimeout(
|
|
535
535
|
() => {
|
|
536
|
-
|
|
536
|
+
C.appendChild(h);
|
|
537
537
|
},
|
|
538
538
|
1
|
|
539
539
|
), setTimeout(
|
|
@@ -543,7 +543,7 @@ function Ye(t, e, s) {
|
|
|
543
543
|
);
|
|
544
544
|
});
|
|
545
545
|
};
|
|
546
|
-
|
|
546
|
+
Fe(() => (window.addEventListener("message", se, !1), () => {
|
|
547
547
|
window.removeEventListener("message", se, !1);
|
|
548
548
|
}));
|
|
549
549
|
const se = (n) => {
|
|
@@ -556,38 +556,38 @@ function Ye(t, e, s) {
|
|
|
556
556
|
break;
|
|
557
557
|
}
|
|
558
558
|
}, _e = (n) => K(n), ke = () => te();
|
|
559
|
-
function
|
|
560
|
-
|
|
561
|
-
|
|
559
|
+
function Ce(n) {
|
|
560
|
+
je[n ? "unshift" : "push"](() => {
|
|
561
|
+
C = n, s(5, C);
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
return t.$$set = (n) => {
|
|
565
|
-
"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,
|
|
565
|
+
"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);
|
|
566
566
|
}, t.$$.update = () => {
|
|
567
567
|
t.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
568
568
|
3670016 && o && i && m && V(), t.$$.dirty[0] & /*lang*/
|
|
569
569
|
1 && a && G(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
570
|
-
40 && p &&
|
|
571
|
-
48 && P &&
|
|
572
|
-
16777216 &&
|
|
573
|
-
5 && a && g &&
|
|
570
|
+
40 && p && C && ve(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
571
|
+
48 && P && C && Le(), t.$$.dirty[0] & /*ismobileview*/
|
|
572
|
+
16777216 && F && v(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
573
|
+
5 && a && g && J();
|
|
574
574
|
}, [
|
|
575
575
|
a,
|
|
576
576
|
c,
|
|
577
577
|
g,
|
|
578
578
|
p,
|
|
579
579
|
P,
|
|
580
|
-
|
|
580
|
+
C,
|
|
581
581
|
D,
|
|
582
|
-
|
|
582
|
+
H,
|
|
583
583
|
L,
|
|
584
584
|
W,
|
|
585
585
|
E,
|
|
586
|
-
|
|
586
|
+
O,
|
|
587
587
|
I,
|
|
588
|
-
|
|
588
|
+
U,
|
|
589
589
|
r,
|
|
590
|
-
|
|
590
|
+
Y,
|
|
591
591
|
K,
|
|
592
592
|
te,
|
|
593
593
|
l,
|
|
@@ -596,10 +596,10 @@ function Ye(t, e, s) {
|
|
|
596
596
|
m,
|
|
597
597
|
f,
|
|
598
598
|
u,
|
|
599
|
-
|
|
599
|
+
F,
|
|
600
600
|
_e,
|
|
601
601
|
ke,
|
|
602
|
-
|
|
602
|
+
Ce
|
|
603
603
|
];
|
|
604
604
|
}
|
|
605
605
|
class Xe extends Ee {
|
|
@@ -607,9 +607,9 @@ class Xe extends Ee {
|
|
|
607
607
|
super(), xe(
|
|
608
608
|
this,
|
|
609
609
|
e,
|
|
610
|
-
|
|
610
|
+
Je,
|
|
611
611
|
qe,
|
|
612
|
-
|
|
612
|
+
Ae,
|
|
613
613
|
{
|
|
614
614
|
lang: 0,
|
|
615
615
|
local: 18,
|
|
@@ -632,76 +632,76 @@ class Xe extends Ee {
|
|
|
632
632
|
return this.$$.ctx[0];
|
|
633
633
|
}
|
|
634
634
|
set lang(e) {
|
|
635
|
-
this.$$set({ lang: e }),
|
|
635
|
+
this.$$set({ lang: e }), S();
|
|
636
636
|
}
|
|
637
637
|
get local() {
|
|
638
638
|
return this.$$.ctx[18];
|
|
639
639
|
}
|
|
640
640
|
set local(e) {
|
|
641
|
-
this.$$set({ local: e }),
|
|
641
|
+
this.$$set({ local: e }), S();
|
|
642
642
|
}
|
|
643
643
|
get endpoint() {
|
|
644
644
|
return this.$$.ctx[19];
|
|
645
645
|
}
|
|
646
646
|
set endpoint(e) {
|
|
647
|
-
this.$$set({ endpoint: e }),
|
|
647
|
+
this.$$set({ endpoint: e }), S();
|
|
648
648
|
}
|
|
649
649
|
get session() {
|
|
650
650
|
return this.$$.ctx[20];
|
|
651
651
|
}
|
|
652
652
|
set session(e) {
|
|
653
|
-
this.$$set({ session: e }),
|
|
653
|
+
this.$$set({ session: e }), S();
|
|
654
654
|
}
|
|
655
655
|
get customerid() {
|
|
656
656
|
return this.$$.ctx[21];
|
|
657
657
|
}
|
|
658
658
|
set customerid(e) {
|
|
659
|
-
this.$$set({ customerid: e }),
|
|
659
|
+
this.$$set({ customerid: e }), S();
|
|
660
660
|
}
|
|
661
661
|
get assetsurl() {
|
|
662
662
|
return this.$$.ctx[1];
|
|
663
663
|
}
|
|
664
664
|
set assetsurl(e) {
|
|
665
|
-
this.$$set({ assetsurl: e }),
|
|
665
|
+
this.$$set({ assetsurl: e }), S();
|
|
666
666
|
}
|
|
667
667
|
get currency() {
|
|
668
668
|
return this.$$.ctx[22];
|
|
669
669
|
}
|
|
670
670
|
set currency(e) {
|
|
671
|
-
this.$$set({ currency: e }),
|
|
671
|
+
this.$$set({ currency: e }), S();
|
|
672
672
|
}
|
|
673
673
|
get numberofmethodsshown() {
|
|
674
674
|
return this.$$.ctx[23];
|
|
675
675
|
}
|
|
676
676
|
set numberofmethodsshown(e) {
|
|
677
|
-
this.$$set({ numberofmethodsshown: e }),
|
|
677
|
+
this.$$set({ numberofmethodsshown: e }), S();
|
|
678
678
|
}
|
|
679
679
|
get translationurl() {
|
|
680
680
|
return this.$$.ctx[2];
|
|
681
681
|
}
|
|
682
682
|
set translationurl(e) {
|
|
683
|
-
this.$$set({ translationurl: e }),
|
|
683
|
+
this.$$set({ translationurl: e }), S();
|
|
684
684
|
}
|
|
685
685
|
get clientstyling() {
|
|
686
686
|
return this.$$.ctx[3];
|
|
687
687
|
}
|
|
688
688
|
set clientstyling(e) {
|
|
689
|
-
this.$$set({ clientstyling: e }),
|
|
689
|
+
this.$$set({ clientstyling: e }), S();
|
|
690
690
|
}
|
|
691
691
|
get clientstylingurl() {
|
|
692
692
|
return this.$$.ctx[4];
|
|
693
693
|
}
|
|
694
694
|
set clientstylingurl(e) {
|
|
695
|
-
this.$$set({ clientstylingurl: e }),
|
|
695
|
+
this.$$set({ clientstylingurl: e }), S();
|
|
696
696
|
}
|
|
697
697
|
get ismobileview() {
|
|
698
698
|
return this.$$.ctx[24];
|
|
699
699
|
}
|
|
700
700
|
set ismobileview(e) {
|
|
701
|
-
this.$$set({ ismobileview: e }),
|
|
701
|
+
this.$$set({ ismobileview: e }), S();
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
|
|
704
|
+
Te(Xe, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
|
|
705
705
|
export {
|
|
706
706
|
Xe as default
|
|
707
707
|
};
|