@everymatrix/cashier-page-nd 1.69.151 → 1.69.152
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-DuDjKitQ.js → CashierCarousel-BTxUaLd7.js} +1694 -1444
- package/components/{CashierCarousel-DX_1kfHA.js → CashierCarousel-Bgq1WDGU.js} +1608 -1358
- package/components/CashierCarousel-BhvSzaOX.cjs +23 -0
- package/components/{CashierError-DIzfHVwt.js → CashierError-B9NfoUAi.js} +1 -1
- package/components/{CashierError-Dj5pdnbH.js → CashierError-Bx2_q1TO.js} +1 -1
- package/components/{CashierError-BsqfacSj.cjs → CashierError-CYzF-3cb.cjs} +1 -1
- package/components/{CashierHeader-CY4-An7M.cjs → CashierHeader-D3GpPPeM.cjs} +1 -1
- package/components/{CashierHeader-DaXYR76f.js → CashierHeader-DP32NGGa.js} +1 -1
- package/components/{CashierHeader-Dd8FU_0m.js → CashierHeader-DlJ19rb5.js} +1 -1
- package/components/{CashierIframeRedirect-BEgb4xvK.js → CashierIframeRedirect-BzDP-bWe.js} +3 -3
- package/components/{CashierIframeRedirect-5JrTRMGd.js → CashierIframeRedirect-CwcYsN9s.js} +3 -3
- package/components/{CashierIframeRedirect-ClbPIVvz.cjs → CashierIframeRedirect-DuFSKTft.cjs} +1 -1
- package/components/CashierMethodDetails-5T6EAzyg.cjs +85 -0
- package/components/CashierMethodDetails-gbr4S4TG.js +9876 -0
- package/components/CashierMethodDetails-rTqmsVpv.js +9916 -0
- package/components/{CashierMethodsList-pNUYzgU6.js → CashierMethodsList-CGfG8qfG.js} +211 -201
- package/components/CashierMethodsList-CKbz7q56.cjs +1 -0
- package/components/{CashierMethodsList-6iUrqPDI.js → CashierMethodsList-D_J2ddT8.js} +214 -204
- package/components/{CashierModal-1XZhW-QH.js → CashierModal-3_dhlwdD.js} +11 -11
- package/components/{CashierModal-DsYJUTP3.cjs → CashierModal-B5itoe-4.cjs} +1 -1
- package/components/{CashierModal-DgwBIcQT.js → CashierModal-BeairN-j.js} +9 -9
- package/components/{CashierNotifications-C1skb8Vn.js → CashierNotifications-BHx0s7qr.js} +1 -1
- package/components/{CashierNotifications-gVlDH9gi.cjs → CashierNotifications-C80Nj7ut.cjs} +1 -1
- package/components/{CashierNotifications-DVhKuaML.js → CashierNotifications-ZPVuQtvF.js} +1 -1
- package/components/CashierPage-BZJ0SjkW.cjs +1 -0
- package/components/CashierPage-Bd1bJBOx.js +3823 -0
- package/components/CashierPage-ClPy9v8d.js +3849 -0
- package/components/CashierReceiptPage-BXxKVs-c.cjs +26 -0
- package/components/{CashierReceiptPage-dW6G8UgH.js → CashierReceiptPage-CGPxr1tM.js} +586 -572
- package/components/{CashierReceiptPage-rEA-raJj.js → CashierReceiptPage-dgvFBbs8.js} +613 -583
- package/components/{CashierSessionExpirationModal-Bbe2Jpvz.js → CashierSessionExpirationModal-Cef4HAT7.js} +40 -40
- package/components/{CashierSessionExpirationModal-DDoD-Bbn.js → CashierSessionExpirationModal-DdfqGx2U.js} +40 -40
- package/components/{CashierSessionExpirationModal-CHK-f59-.cjs → CashierSessionExpirationModal-OfDuSlF9.cjs} +1 -1
- package/components/{CashierSpinner-BURxCyak.js → CashierSpinner-Cy0PzOYE.js} +1 -1
- package/components/{CashierSpinner-DUpqDFsE.js → CashierSpinner-cCY2xkeQ.js} +1 -1
- package/components/{CashierSpinner-BHMYILka.cjs → CashierSpinner-cF3ogJPb.cjs} +1 -1
- package/components/{CashierStepUp-CaBwgsy_.js → CashierStepUp-CZBuTZjb.js} +1 -1
- package/components/{CashierStepUp-232UWyBa.js → CashierStepUp-CrehM00S.js} +1 -1
- package/components/{CashierStepUp-BLXB3sLJ.cjs → CashierStepUp-DY16-lgX.cjs} +1 -1
- package/components/{CashierTransactionHistory-CbVFavJI.cjs → CashierTransactionHistory-C4zYZi4B.cjs} +1 -1
- package/components/{CashierTransactionHistory-BlfxmnQ4.js → CashierTransactionHistory-D-CPc9ir.js} +106 -106
- package/components/{CashierTransactionHistory-MOjWYwaU.js → CashierTransactionHistory-DuPT0n7K.js} +95 -95
- package/components/{CashierVerifications-CFpWClML.js → CashierVerifications-CMl70lXH.js} +16 -16
- package/components/{CashierVerifications-DCNYJqjo.js → CashierVerifications-Rk6X7RVq.js} +13 -13
- package/components/{CashierVerifications-7E1iKqlY.cjs → CashierVerifications-n6M_BOo7.cjs} +1 -1
- package/components/{TxnStatusIcon-BoQKsXYb.js → TxnStatusIcon-Bdza1shy.js} +1 -1
- package/components/{TxnStatusIcon-CByIE77U.js → TxnStatusIcon-CdlSy960.js} +1 -1
- package/components/{TxnStatusIcon-2fCCJ3vA.cjs → TxnStatusIcon-DI3nuEnF.cjs} +1 -1
- package/components/{TxnTypeIcons-Be-sko7l.cjs → TxnTypeIcons-2RX9ugB9.cjs} +1 -1
- package/components/{TxnTypeIcons-9fEDZE-r.js → TxnTypeIcons-BAaNXMO8.js} +1 -1
- package/components/{TxnTypeIcons-Dol58W4_.js → TxnTypeIcons-DL0xRj4u.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-CoOQIH2R.cjs +0 -23
- package/components/CashierMethodDetails-C_IE1JPV.js +0 -9656
- package/components/CashierMethodDetails-C_pwSAOD.cjs +0 -85
- package/components/CashierMethodDetails-Dmb35LVn.js +0 -9696
- package/components/CashierMethodsList-CJHTdfiB.cjs +0 -1
- package/components/CashierPage-BGoNSnGO.js +0 -3281
- package/components/CashierPage-CZ3SgGIA.cjs +0 -1
- package/components/CashierPage-CaLazPmf.js +0 -3281
- package/components/CashierReceiptPage-CtS6WRaa.cjs +0 -26
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Cn, i as Rn, $ as Ln, S as vn, b as Mn, s as On, f as j, c as Nn, e as me, t as fe, g as le,
|
|
2
|
-
import { f as Wt } from "./CashierReceiptPage-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Cn, i as Rn, $ as Ln, S as vn, b as Mn, s as On, f as j, c as Nn, e as me, t as fe, g as le, a6 as un, a7 as fn, k as pe, r as mn, p as It, q as kn, af as Dn, d as We, a0 as In, ag as Pt, L as Ut, v as qe, u as Ye, h as je, j as Xe, l as x, a8 as Pn, x as Ft, m as G, w as Je, n as ke, o as T, y as zt, G as Ht, X as Bt, z as Gt, B as Un, C as Fn, D as zn, E as Hn, F as Bn } from "./CashierCarousel-BTxUaLd7.js";
|
|
2
|
+
import { f as Wt } from "./CashierReceiptPage-CGPxr1tM.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-rTqmsVpv.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
Cn(n, t);
|
|
6
6
|
}
|
|
@@ -60,7 +60,7 @@ ut || (ut = function(t, i, o) {
|
|
|
60
60
|
ft || (ft = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
63
|
-
const Be = X(Array.prototype.forEach),
|
|
63
|
+
const Be = X(Array.prototype.forEach), Jt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString), Kt = X(String.prototype.match), ve = X(String.prototype.replace), Vn = X(String.prototype.indexOf), qn = X(String.prototype.trim), te = X(Object.prototype.hasOwnProperty), U = X(RegExp.prototype.test), Me = Jn(TypeError);
|
|
64
64
|
function X(n) {
|
|
65
65
|
return function(t) {
|
|
66
66
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
@@ -68,7 +68,7 @@ function X(n) {
|
|
|
68
68
|
return ut(n, t, o);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Jn(n) {
|
|
72
72
|
return function() {
|
|
73
73
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
74
74
|
i[o] = arguments[o];
|
|
@@ -89,7 +89,7 @@ function f(n, t) {
|
|
|
89
89
|
}
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Kn(n) {
|
|
93
93
|
for (let t = 0; t < n.length; t++)
|
|
94
94
|
te(n, t) || (n[t] = null);
|
|
95
95
|
return n;
|
|
@@ -97,7 +97,7 @@ function Jn(n) {
|
|
|
97
97
|
function _e(n) {
|
|
98
98
|
const t = dn(null);
|
|
99
99
|
for (const [i, o] of pn(n))
|
|
100
|
-
te(n, i) && (Array.isArray(o) ? t[i] =
|
|
100
|
+
te(n, i) && (Array.isArray(o) ? t[i] = Kn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = _e(o) : t[i] = o);
|
|
101
101
|
return t;
|
|
102
102
|
}
|
|
103
103
|
function Oe(n, t) {
|
|
@@ -191,7 +191,7 @@ function _n() {
|
|
|
191
191
|
let m, W = "";
|
|
192
192
|
const {
|
|
193
193
|
implementation: q,
|
|
194
|
-
createNodeIterator:
|
|
194
|
+
createNodeIterator: J,
|
|
195
195
|
createDocumentFragment: L,
|
|
196
196
|
getElementsByTagName: Q
|
|
197
197
|
} = i, {
|
|
@@ -204,7 +204,7 @@ function _n() {
|
|
|
204
204
|
ERB_EXPR: $,
|
|
205
205
|
TMPLIT_EXPR: O,
|
|
206
206
|
DATA_ATTR: Ee,
|
|
207
|
-
ARIA_ATTR:
|
|
207
|
+
ARIA_ATTR: K,
|
|
208
208
|
IS_SCRIPT_OR_DATA: se,
|
|
209
209
|
ATTR_WHITESPACE: d,
|
|
210
210
|
CUSTOM_ELEMENT: b
|
|
@@ -234,7 +234,7 @@ function _n() {
|
|
|
234
234
|
enumerable: !0,
|
|
235
235
|
value: !1
|
|
236
236
|
}
|
|
237
|
-
})), E = null, ee = null, H = !0,
|
|
237
|
+
})), E = null, ee = null, H = !0, Ke = !0, mt = !1, pt = !0, Te = !1, Ze = !0, ge = !1, Qe = !1, $e = !1, be = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
238
238
|
const En = "user-content-";
|
|
239
239
|
let et = !0, xe = !1, Se = {}, we = null;
|
|
240
240
|
const gt = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -267,7 +267,7 @@ function _n() {
|
|
|
267
267
|
// eslint-disable-line indent
|
|
268
268
|
v
|
|
269
269
|
// eslint-disable-line indent
|
|
270
|
-
) : Et, we = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, E = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, Se = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1,
|
|
270
|
+
) : Et, we = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, E = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, Se = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ze = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, be = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, xe = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, ye = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Ke = !1), Pe && (be = !0), Se && (w = f({}, Qt), y = [], Se.html === !0 && (f(w, Zt), f(y, $t)), Se.svg === !0 && (f(w, rt), f(y, ct), f(y, Ge)), Se.svgFilters === !0 && (f(w, at), f(y, ct), f(y, Ge)), Se.mathMl === !0 && (f(w, lt), f(y, en), f(y, Ge))), e.ADD_TAGS && (w === De && (w = _e(w)), f(w, e.ADD_TAGS, v)), e.ADD_ATTR && (y === Ie && (y = _e(y)), f(y, e.ADD_ATTR, v)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, v), e.FORBID_CONTENTS && (we === gt && (we = _e(we)), f(we, e.FORBID_CONTENTS, v)), et && (w["#text"] = !0), ge && f(w, ["html", "head", "body"]), w.table && (f(w, ["tbody"]), delete E.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
271
271
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
272
272
|
throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
273
273
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -322,7 +322,7 @@ function _n() {
|
|
|
322
322
|
if ($e)
|
|
323
323
|
e = "<remove></remove>" + e;
|
|
324
324
|
else {
|
|
325
|
-
const N =
|
|
325
|
+
const N = Kt(e, /^[\r\n\t ]+/);
|
|
326
326
|
l = N && N[0];
|
|
327
327
|
}
|
|
328
328
|
Ce === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -342,7 +342,7 @@ function _n() {
|
|
|
342
342
|
const I = s.body || s.documentElement;
|
|
343
343
|
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), ye === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
344
344
|
}, Ct = function(e) {
|
|
345
|
-
return
|
|
345
|
+
return J.call(
|
|
346
346
|
e.ownerDocument || e,
|
|
347
347
|
e,
|
|
348
348
|
// eslint-disable-next-line no-bitwise
|
|
@@ -390,8 +390,8 @@ function _n() {
|
|
|
390
390
|
}, Mt = function(e, s, l) {
|
|
391
391
|
if (dt && (s === "id" || s === "name") && (l in i || l in wn))
|
|
392
392
|
return !1;
|
|
393
|
-
if (!(
|
|
394
|
-
if (!(H && U(
|
|
393
|
+
if (!(Ke && !ee[s] && U(Ee, s))) {
|
|
394
|
+
if (!(H && U(K, s))) {
|
|
395
395
|
if (!y[s] || ee[s]) {
|
|
396
396
|
if (
|
|
397
397
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
@@ -416,7 +416,7 @@ function _n() {
|
|
|
416
416
|
}
|
|
417
417
|
return !0;
|
|
418
418
|
}, Ot = function(e) {
|
|
419
|
-
return e !== "annotation-xml" &&
|
|
419
|
+
return e !== "annotation-xml" && Kt(e, b);
|
|
420
420
|
}, Nt = function(e) {
|
|
421
421
|
ae("beforeSanitizeAttributes", e, null);
|
|
422
422
|
const {
|
|
@@ -465,7 +465,7 @@ function _n() {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
try {
|
|
468
|
-
B ? e.setAttributeNS(B, N, P) : e.setAttribute(N, P), Rt(e) ? ne(e) :
|
|
468
|
+
B ? e.setAttributeNS(B, N, P) : e.setAttribute(N, P), Rt(e) ? ne(e) : Jt(t.removed);
|
|
469
469
|
} catch (Dt) {
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -535,7 +535,7 @@ function _n() {
|
|
|
535
535
|
typeof e == "function" && (g[c] = g[c] || [], Le(g[c], e));
|
|
536
536
|
}, t.removeHook = function(c) {
|
|
537
537
|
if (g[c])
|
|
538
|
-
return
|
|
538
|
+
return Jt(g[c]);
|
|
539
539
|
}, t.removeHooks = function(c) {
|
|
540
540
|
g[c] && (g[c] = []);
|
|
541
541
|
}, t.removeAllHooks = function() {
|
|
@@ -555,13 +555,13 @@ function ln(n) {
|
|
|
555
555
|
const q = (
|
|
556
556
|
/*#slots*/
|
|
557
557
|
n[22].icon
|
|
558
|
-
),
|
|
558
|
+
), J = We(
|
|
559
559
|
q,
|
|
560
560
|
n,
|
|
561
561
|
/*$$scope*/
|
|
562
562
|
n[21],
|
|
563
563
|
an
|
|
564
|
-
), L =
|
|
564
|
+
), L = J || di(n), Q = (
|
|
565
565
|
/*#slots*/
|
|
566
566
|
n[22].title
|
|
567
567
|
), oe = We(
|
|
@@ -579,23 +579,23 @@ function ln(n) {
|
|
|
579
579
|
/*$$scope*/
|
|
580
580
|
n[21],
|
|
581
581
|
sn
|
|
582
|
-
), O = $ || gi(n), Ee = [Ei, _i],
|
|
582
|
+
), O = $ || gi(n), Ee = [Ei, _i], K = [];
|
|
583
583
|
function se(d, b) {
|
|
584
584
|
return (
|
|
585
585
|
/*showLoaderButton*/
|
|
586
586
|
d[6] ? 0 : 1
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
|
-
return R = se(n), M =
|
|
589
|
+
return R = se(n), M = K[R] = Ee[R](n), {
|
|
590
590
|
c() {
|
|
591
|
-
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k =
|
|
591
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k = Je(h), D = ke(), A = G("div"), C = G("div"), L && L.c(), de = ke(), g && g.c(), he = ke(), O && O.c(), V = ke(), S = G("button"), M.c(), T(u, "class", "CashierSessionExpirationModalHeaderTitle"), T(a, "class", "CashierSessionExpirationModalHeader"), T(S, "type", "button"), S.disabled = /*showLoaderButton*/
|
|
592
592
|
n[6], T(S, "class", "CashierSessionExpirationButton"), T(C, "class", "CashierSessionExpiration"), T(A, "class", "CashierSessionExpirationModalContainer"), T(o, "class", "CashierSessionExpirationModalWrapper"), T(i, "class", "CashierSessionExpirationModalWindow"), T(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
593
593
|
/*div5_elementresize_handler*/
|
|
594
594
|
n[24].call(i)
|
|
595
595
|
));
|
|
596
596
|
},
|
|
597
597
|
m(d, b) {
|
|
598
|
-
pe(d, t, b), x(t, i), x(i, o), x(o, a), x(a, u), x(u, k), x(o, D), x(o, A), x(A, C), L && L.m(C, null), x(C, de), g && g.m(C, null), x(C, he), O && O.m(C, null), x(C, V), x(C, S),
|
|
598
|
+
pe(d, t, b), x(t, i), x(i, o), x(o, a), x(a, u), x(u, k), x(o, D), x(o, A), x(A, C), L && L.m(C, null), x(C, de), g && g.m(C, null), x(C, he), O && O.m(C, null), x(C, V), x(C, S), K[R].m(S, null), n[23](C), ce = Pn(
|
|
599
599
|
i,
|
|
600
600
|
/*div5_elementresize_handler*/
|
|
601
601
|
n[24].bind(i)
|
|
@@ -617,9 +617,9 @@ function ln(n) {
|
|
|
617
617
|
p(d, b) {
|
|
618
618
|
n = d, (!p || b[0] & /*$_*/
|
|
619
619
|
256) && h !== (h = /*$_*/
|
|
620
|
-
n[8]("sessionExpirationHeader") + "") && qe(k, h),
|
|
620
|
+
n[8]("sessionExpirationHeader") + "") && qe(k, h), J ? J.p && (!p || b[0] & /*$$scope*/
|
|
621
621
|
2097152) && Ye(
|
|
622
|
-
|
|
622
|
+
J,
|
|
623
623
|
q,
|
|
624
624
|
n,
|
|
625
625
|
/*$$scope*/
|
|
@@ -676,9 +676,9 @@ function ln(n) {
|
|
|
676
676
|
) : O && O.p && (!p || b[0] & /*$_, timeLeft*/
|
|
677
677
|
384) && O.p(n, p ? b : [-1, -1]);
|
|
678
678
|
let ue = R;
|
|
679
|
-
R = se(n), R === ue ?
|
|
680
|
-
|
|
681
|
-
}), fn(), M =
|
|
679
|
+
R = se(n), R === ue ? K[R].p(n, b) : (un(), fe(K[ue], 1, 1, () => {
|
|
680
|
+
K[ue] = null;
|
|
681
|
+
}), fn(), M = K[R], M ? M.p(n, b) : (M = K[R] = Ee[R](n), M.c()), le(M, 1), M.m(S, null)), (!p || b[0] & /*showLoaderButton*/
|
|
682
682
|
64) && (S.disabled = /*showLoaderButton*/
|
|
683
683
|
n[6]);
|
|
684
684
|
},
|
|
@@ -697,7 +697,7 @@ function ln(n) {
|
|
|
697
697
|
) }, !1)), z.run(0)), p = !1;
|
|
698
698
|
},
|
|
699
699
|
d(d) {
|
|
700
|
-
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d),
|
|
700
|
+
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d), K[R].d(), n[23](null), ce(), d && z && z.end(), n[25](null), m = !1, In(W);
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
703
|
}
|
|
@@ -749,7 +749,7 @@ function hi(n) {
|
|
|
749
749
|
), o;
|
|
750
750
|
return {
|
|
751
751
|
c() {
|
|
752
|
-
t = G("span"), o =
|
|
752
|
+
t = G("span"), o = Je(i), T(t, "class", "CashierSessionExpirationTitle");
|
|
753
753
|
},
|
|
754
754
|
m(a, u) {
|
|
755
755
|
pe(a, t, u), x(t, o);
|
|
@@ -853,7 +853,7 @@ function Ei(n) {
|
|
|
853
853
|
), k;
|
|
854
854
|
return {
|
|
855
855
|
c() {
|
|
856
|
-
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k =
|
|
856
|
+
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k = Je(h), T(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), T(o, "fill", "white"), T(i, "class", "CashierSessionExpirationButtonSpinner"), T(i, "xmlns", "http://www.w3.org/2000/svg"), T(i, "width", "15"), T(i, "height", "14"), T(i, "viewBox", "0 0 15 14"), T(i, "fill", "none"), T(u, "class", "CashierSessionExpirationButtonText");
|
|
857
857
|
},
|
|
858
858
|
m(D, A) {
|
|
859
859
|
pe(D, t, A), x(t, i), x(i, o), x(t, a), x(t, u), x(u, k);
|
|
@@ -877,7 +877,7 @@ function Ti(n) {
|
|
|
877
877
|
), o;
|
|
878
878
|
return {
|
|
879
879
|
c() {
|
|
880
|
-
t = G("span"), o =
|
|
880
|
+
t = G("span"), o = Je(i), T(t, "class", "CashierSessionExpirationButtonText");
|
|
881
881
|
},
|
|
882
882
|
m(a, u) {
|
|
883
883
|
pe(a, t, u), x(t, o);
|
|
@@ -928,7 +928,7 @@ function wi(n, t, i) {
|
|
|
928
928
|
It(n, jt, (r) => i(20, o = r)), It(n, Bn, (r) => i(8, a = r));
|
|
929
929
|
let { $$slots: u = {}, $$scope: h } = t;
|
|
930
930
|
Yt.extend(Gn);
|
|
931
|
-
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: C } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: S = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1,
|
|
931
|
+
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: C } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: S = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, J, L, Q, oe, g;
|
|
932
932
|
var Y;
|
|
933
933
|
(function(r) {
|
|
934
934
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -949,18 +949,18 @@ function wi(n, t, i) {
|
|
|
949
949
|
},
|
|
950
950
|
window.location.href
|
|
951
951
|
);
|
|
952
|
-
},
|
|
952
|
+
}, K = (r) => {
|
|
953
953
|
i(5, W = !1);
|
|
954
954
|
const E = O(r);
|
|
955
|
-
E && (L = E == null ? void 0 : E.exp, i(7,
|
|
955
|
+
E && (L = E == null ? void 0 : E.exp, i(7, J = L), Q && clearInterval(Q), Q = setInterval(
|
|
956
956
|
() => {
|
|
957
957
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
958
|
-
i(7,
|
|
958
|
+
i(7, J = L - ee), J <= Si && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
959
959
|
},
|
|
960
960
|
1e3
|
|
961
961
|
));
|
|
962
962
|
}, se = () => {
|
|
963
|
-
i(7,
|
|
963
|
+
i(7, J = 0), i(5, W = !1), clearInterval(Q);
|
|
964
964
|
}, d = () => {
|
|
965
965
|
if (q)
|
|
966
966
|
return;
|
|
@@ -1037,7 +1037,7 @@ function wi(n, t, i) {
|
|
|
1037
1037
|
"clientstyling" in r && i(11, k = r.clientstyling), "clientstylingurl" in r && i(12, D = r.clientstylingurl), "width" in r && i(0, A = r.width), "height" in r && i(1, C = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, S = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, M = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, z = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1038
1038
|
}, n.$$.update = () => {
|
|
1039
1039
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1040
|
-
1048576 &&
|
|
1040
|
+
1048576 && K(o), n.$$.dirty[0] & /*lang*/
|
|
1041
1041
|
8192 && V && w(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
1042
|
2064 && k && m && Un(m, k), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1043
1043
|
4112 && D && m && Fn(m, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1051,7 +1051,7 @@ function wi(n, t, i) {
|
|
|
1051
1051
|
m,
|
|
1052
1052
|
W,
|
|
1053
1053
|
q,
|
|
1054
|
-
|
|
1054
|
+
J,
|
|
1055
1055
|
a,
|
|
1056
1056
|
d,
|
|
1057
1057
|
b,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Cn, i as Rn, $ as Ln, S as vn, b as Mn, s as On, f as j, c as Nn, e as me, t as fe, g as le,
|
|
2
|
-
import { f as Wt } from "./CashierReceiptPage-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Cn, i as Rn, $ as Ln, S as vn, b as Mn, s as On, f as j, c as Nn, e as me, t as fe, g as le, a6 as un, a7 as fn, k as pe, r as mn, p as It, q as kn, af as Dn, d as We, a0 as In, ag as Pt, L as Ut, v as qe, u as Ye, h as je, j as Xe, l as x, a8 as Pn, x as Ft, m as G, w as Je, n as ke, o as E, y as zt, G as Ht, X as Bt, z as Gt, B as Un, C as Fn, D as zn, E as Hn, F as Bn } from "./CashierCarousel-Bgq1WDGU.js";
|
|
2
|
+
import { f as Wt } from "./CashierReceiptPage-dgvFBbs8.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-gbr4S4TG.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
Cn(n, t);
|
|
6
6
|
}
|
|
@@ -60,7 +60,7 @@ ut || (ut = function(t, i, o) {
|
|
|
60
60
|
ft || (ft = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
63
|
-
const Be = X(Array.prototype.forEach),
|
|
63
|
+
const Be = X(Array.prototype.forEach), Jt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString), Kt = X(String.prototype.match), ve = X(String.prototype.replace), Vn = X(String.prototype.indexOf), qn = X(String.prototype.trim), te = X(Object.prototype.hasOwnProperty), U = X(RegExp.prototype.test), Me = Jn(TypeError);
|
|
64
64
|
function X(n) {
|
|
65
65
|
return function(t) {
|
|
66
66
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
@@ -68,7 +68,7 @@ function X(n) {
|
|
|
68
68
|
return ut(n, t, o);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Jn(n) {
|
|
72
72
|
return function() {
|
|
73
73
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
74
74
|
i[o] = arguments[o];
|
|
@@ -89,7 +89,7 @@ function f(n, t) {
|
|
|
89
89
|
}
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Kn(n) {
|
|
93
93
|
for (let t = 0; t < n.length; t++)
|
|
94
94
|
te(n, t) || (n[t] = null);
|
|
95
95
|
return n;
|
|
@@ -97,7 +97,7 @@ function Jn(n) {
|
|
|
97
97
|
function _e(n) {
|
|
98
98
|
const t = dn(null);
|
|
99
99
|
for (const [i, o] of pn(n))
|
|
100
|
-
te(n, i) && (Array.isArray(o) ? t[i] =
|
|
100
|
+
te(n, i) && (Array.isArray(o) ? t[i] = Kn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = _e(o) : t[i] = o);
|
|
101
101
|
return t;
|
|
102
102
|
}
|
|
103
103
|
function Oe(n, t) {
|
|
@@ -191,7 +191,7 @@ function _n() {
|
|
|
191
191
|
let m, W = "";
|
|
192
192
|
const {
|
|
193
193
|
implementation: q,
|
|
194
|
-
createNodeIterator:
|
|
194
|
+
createNodeIterator: J,
|
|
195
195
|
createDocumentFragment: L,
|
|
196
196
|
getElementsByTagName: Q
|
|
197
197
|
} = i, {
|
|
@@ -204,7 +204,7 @@ function _n() {
|
|
|
204
204
|
ERB_EXPR: $,
|
|
205
205
|
TMPLIT_EXPR: O,
|
|
206
206
|
DATA_ATTR: Ee,
|
|
207
|
-
ARIA_ATTR:
|
|
207
|
+
ARIA_ATTR: K,
|
|
208
208
|
IS_SCRIPT_OR_DATA: se,
|
|
209
209
|
ATTR_WHITESPACE: d,
|
|
210
210
|
CUSTOM_ELEMENT: T
|
|
@@ -234,7 +234,7 @@ function _n() {
|
|
|
234
234
|
enumerable: !0,
|
|
235
235
|
value: !1
|
|
236
236
|
}
|
|
237
|
-
})), b = null, ee = null, H = !0,
|
|
237
|
+
})), b = null, ee = null, H = !0, Ke = !0, mt = !1, pt = !0, Te = !1, Ze = !0, ge = !1, Qe = !1, $e = !1, be = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
238
238
|
const En = "user-content-";
|
|
239
239
|
let et = !0, xe = !1, Se = {}, we = null;
|
|
240
240
|
const gt = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -267,7 +267,7 @@ function _n() {
|
|
|
267
267
|
// eslint-disable-line indent
|
|
268
268
|
v
|
|
269
269
|
// eslint-disable-line indent
|
|
270
|
-
) : Et, we = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, b = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, Se = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1,
|
|
270
|
+
) : Et, we = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, b = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, Se = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ze = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, be = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, xe = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, ye = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Ke = !1), Pe && (be = !0), Se && (w = f({}, Qt), y = [], Se.html === !0 && (f(w, Zt), f(y, $t)), Se.svg === !0 && (f(w, rt), f(y, ct), f(y, Ge)), Se.svgFilters === !0 && (f(w, at), f(y, ct), f(y, Ge)), Se.mathMl === !0 && (f(w, lt), f(y, en), f(y, Ge))), e.ADD_TAGS && (w === De && (w = _e(w)), f(w, e.ADD_TAGS, v)), e.ADD_ATTR && (y === Ie && (y = _e(y)), f(y, e.ADD_ATTR, v)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, v), e.FORBID_CONTENTS && (we === gt && (we = _e(we)), f(we, e.FORBID_CONTENTS, v)), et && (w["#text"] = !0), ge && f(w, ["html", "head", "body"]), w.table && (f(w, ["tbody"]), delete b.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
271
271
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
272
272
|
throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
273
273
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -322,7 +322,7 @@ function _n() {
|
|
|
322
322
|
if ($e)
|
|
323
323
|
e = "<remove></remove>" + e;
|
|
324
324
|
else {
|
|
325
|
-
const N =
|
|
325
|
+
const N = Kt(e, /^[\r\n\t ]+/);
|
|
326
326
|
l = N && N[0];
|
|
327
327
|
}
|
|
328
328
|
Ce === "application/xhtml+xml" && ye === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -342,7 +342,7 @@ function _n() {
|
|
|
342
342
|
const I = s.body || s.documentElement;
|
|
343
343
|
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), ye === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
344
344
|
}, Ct = function(e) {
|
|
345
|
-
return
|
|
345
|
+
return J.call(
|
|
346
346
|
e.ownerDocument || e,
|
|
347
347
|
e,
|
|
348
348
|
// eslint-disable-next-line no-bitwise
|
|
@@ -390,8 +390,8 @@ function _n() {
|
|
|
390
390
|
}, Mt = function(e, s, l) {
|
|
391
391
|
if (dt && (s === "id" || s === "name") && (l in i || l in wn))
|
|
392
392
|
return !1;
|
|
393
|
-
if (!(
|
|
394
|
-
if (!(H && U(
|
|
393
|
+
if (!(Ke && !ee[s] && U(Ee, s))) {
|
|
394
|
+
if (!(H && U(K, s))) {
|
|
395
395
|
if (!y[s] || ee[s]) {
|
|
396
396
|
if (
|
|
397
397
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
@@ -416,7 +416,7 @@ function _n() {
|
|
|
416
416
|
}
|
|
417
417
|
return !0;
|
|
418
418
|
}, Ot = function(e) {
|
|
419
|
-
return e !== "annotation-xml" &&
|
|
419
|
+
return e !== "annotation-xml" && Kt(e, T);
|
|
420
420
|
}, Nt = function(e) {
|
|
421
421
|
ae("beforeSanitizeAttributes", e, null);
|
|
422
422
|
const {
|
|
@@ -465,7 +465,7 @@ function _n() {
|
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
try {
|
|
468
|
-
B ? e.setAttributeNS(B, N, P) : e.setAttribute(N, P), Rt(e) ? ne(e) :
|
|
468
|
+
B ? e.setAttributeNS(B, N, P) : e.setAttribute(N, P), Rt(e) ? ne(e) : Jt(t.removed);
|
|
469
469
|
} catch {
|
|
470
470
|
}
|
|
471
471
|
}
|
|
@@ -535,7 +535,7 @@ function _n() {
|
|
|
535
535
|
typeof e == "function" && (g[c] = g[c] || [], Le(g[c], e));
|
|
536
536
|
}, t.removeHook = function(c) {
|
|
537
537
|
if (g[c])
|
|
538
|
-
return
|
|
538
|
+
return Jt(g[c]);
|
|
539
539
|
}, t.removeHooks = function(c) {
|
|
540
540
|
g[c] && (g[c] = []);
|
|
541
541
|
}, t.removeAllHooks = function() {
|
|
@@ -555,13 +555,13 @@ function ln(n) {
|
|
|
555
555
|
const q = (
|
|
556
556
|
/*#slots*/
|
|
557
557
|
n[22].icon
|
|
558
|
-
),
|
|
558
|
+
), J = We(
|
|
559
559
|
q,
|
|
560
560
|
n,
|
|
561
561
|
/*$$scope*/
|
|
562
562
|
n[21],
|
|
563
563
|
an
|
|
564
|
-
), L =
|
|
564
|
+
), L = J || di(n), Q = (
|
|
565
565
|
/*#slots*/
|
|
566
566
|
n[22].title
|
|
567
567
|
), oe = We(
|
|
@@ -579,23 +579,23 @@ function ln(n) {
|
|
|
579
579
|
/*$$scope*/
|
|
580
580
|
n[21],
|
|
581
581
|
sn
|
|
582
|
-
), O = $ || gi(n), Ee = [Ei, _i],
|
|
582
|
+
), O = $ || gi(n), Ee = [Ei, _i], K = [];
|
|
583
583
|
function se(d, T) {
|
|
584
584
|
return (
|
|
585
585
|
/*showLoaderButton*/
|
|
586
586
|
d[6] ? 0 : 1
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
|
-
return R = se(n), M =
|
|
589
|
+
return R = se(n), M = K[R] = Ee[R](n), {
|
|
590
590
|
c() {
|
|
591
|
-
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k =
|
|
591
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k = Je(h), D = ke(), A = G("div"), C = G("div"), L && L.c(), de = ke(), g && g.c(), he = ke(), O && O.c(), V = ke(), S = G("button"), M.c(), E(u, "class", "CashierSessionExpirationModalHeaderTitle"), E(a, "class", "CashierSessionExpirationModalHeader"), E(S, "type", "button"), S.disabled = /*showLoaderButton*/
|
|
592
592
|
n[6], E(S, "class", "CashierSessionExpirationButton"), E(C, "class", "CashierSessionExpiration"), E(A, "class", "CashierSessionExpirationModalContainer"), E(o, "class", "CashierSessionExpirationModalWrapper"), E(i, "class", "CashierSessionExpirationModalWindow"), E(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
593
593
|
/*div5_elementresize_handler*/
|
|
594
594
|
n[24].call(i)
|
|
595
595
|
));
|
|
596
596
|
},
|
|
597
597
|
m(d, T) {
|
|
598
|
-
pe(d, t, T), x(t, i), x(i, o), x(o, a), x(a, u), x(u, k), x(o, D), x(o, A), x(A, C), L && L.m(C, null), x(C, de), g && g.m(C, null), x(C, he), O && O.m(C, null), x(C, V), x(C, S),
|
|
598
|
+
pe(d, t, T), x(t, i), x(i, o), x(o, a), x(a, u), x(u, k), x(o, D), x(o, A), x(A, C), L && L.m(C, null), x(C, de), g && g.m(C, null), x(C, he), O && O.m(C, null), x(C, V), x(C, S), K[R].m(S, null), n[23](C), ce = Pn(
|
|
599
599
|
i,
|
|
600
600
|
/*div5_elementresize_handler*/
|
|
601
601
|
n[24].bind(i)
|
|
@@ -617,9 +617,9 @@ function ln(n) {
|
|
|
617
617
|
p(d, T) {
|
|
618
618
|
n = d, (!p || T[0] & /*$_*/
|
|
619
619
|
256) && h !== (h = /*$_*/
|
|
620
|
-
n[8]("sessionExpirationHeader") + "") && qe(k, h),
|
|
620
|
+
n[8]("sessionExpirationHeader") + "") && qe(k, h), J ? J.p && (!p || T[0] & /*$$scope*/
|
|
621
621
|
2097152) && Ye(
|
|
622
|
-
|
|
622
|
+
J,
|
|
623
623
|
q,
|
|
624
624
|
n,
|
|
625
625
|
/*$$scope*/
|
|
@@ -676,9 +676,9 @@ function ln(n) {
|
|
|
676
676
|
) : O && O.p && (!p || T[0] & /*$_, timeLeft*/
|
|
677
677
|
384) && O.p(n, p ? T : [-1, -1]);
|
|
678
678
|
let ue = R;
|
|
679
|
-
R = se(n), R === ue ?
|
|
680
|
-
|
|
681
|
-
}), fn(), M =
|
|
679
|
+
R = se(n), R === ue ? K[R].p(n, T) : (un(), fe(K[ue], 1, 1, () => {
|
|
680
|
+
K[ue] = null;
|
|
681
|
+
}), fn(), M = K[R], M ? M.p(n, T) : (M = K[R] = Ee[R](n), M.c()), le(M, 1), M.m(S, null)), (!p || T[0] & /*showLoaderButton*/
|
|
682
682
|
64) && (S.disabled = /*showLoaderButton*/
|
|
683
683
|
n[6]);
|
|
684
684
|
},
|
|
@@ -697,7 +697,7 @@ function ln(n) {
|
|
|
697
697
|
) }, !1)), z.run(0)), p = !1;
|
|
698
698
|
},
|
|
699
699
|
d(d) {
|
|
700
|
-
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d),
|
|
700
|
+
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d), K[R].d(), n[23](null), ce(), d && z && z.end(), n[25](null), m = !1, In(W);
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
703
|
}
|
|
@@ -749,7 +749,7 @@ function hi(n) {
|
|
|
749
749
|
), o;
|
|
750
750
|
return {
|
|
751
751
|
c() {
|
|
752
|
-
t = G("span"), o =
|
|
752
|
+
t = G("span"), o = Je(i), E(t, "class", "CashierSessionExpirationTitle");
|
|
753
753
|
},
|
|
754
754
|
m(a, u) {
|
|
755
755
|
pe(a, t, u), x(t, o);
|
|
@@ -853,7 +853,7 @@ function Ei(n) {
|
|
|
853
853
|
), k;
|
|
854
854
|
return {
|
|
855
855
|
c() {
|
|
856
|
-
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k =
|
|
856
|
+
t = G("div"), i = Bt("svg"), o = Bt("path"), a = ke(), u = G("span"), k = Je(h), E(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), E(o, "fill", "white"), E(i, "class", "CashierSessionExpirationButtonSpinner"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "width", "15"), E(i, "height", "14"), E(i, "viewBox", "0 0 15 14"), E(i, "fill", "none"), E(u, "class", "CashierSessionExpirationButtonText");
|
|
857
857
|
},
|
|
858
858
|
m(D, A) {
|
|
859
859
|
pe(D, t, A), x(t, i), x(i, o), x(t, a), x(t, u), x(u, k);
|
|
@@ -877,7 +877,7 @@ function Ti(n) {
|
|
|
877
877
|
), o;
|
|
878
878
|
return {
|
|
879
879
|
c() {
|
|
880
|
-
t = G("span"), o =
|
|
880
|
+
t = G("span"), o = Je(i), E(t, "class", "CashierSessionExpirationButtonText");
|
|
881
881
|
},
|
|
882
882
|
m(a, u) {
|
|
883
883
|
pe(a, t, u), x(t, o);
|
|
@@ -928,7 +928,7 @@ function wi(n, t, i) {
|
|
|
928
928
|
It(n, jt, (r) => i(20, o = r)), It(n, Bn, (r) => i(8, a = r));
|
|
929
929
|
let { $$slots: u = {}, $$scope: h } = t;
|
|
930
930
|
Yt.extend(Gn);
|
|
931
|
-
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: C } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: S = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1,
|
|
931
|
+
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: C } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: S = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, J, L, Q, oe, g;
|
|
932
932
|
var Y;
|
|
933
933
|
(function(r) {
|
|
934
934
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -949,18 +949,18 @@ function wi(n, t, i) {
|
|
|
949
949
|
},
|
|
950
950
|
window.location.href
|
|
951
951
|
);
|
|
952
|
-
},
|
|
952
|
+
}, K = (r) => {
|
|
953
953
|
i(5, W = !1);
|
|
954
954
|
const b = O(r);
|
|
955
|
-
b && (L = b?.exp, i(7,
|
|
955
|
+
b && (L = b?.exp, i(7, J = L), Q && clearInterval(Q), Q = setInterval(
|
|
956
956
|
() => {
|
|
957
957
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
958
|
-
i(7,
|
|
958
|
+
i(7, J = L - ee), J <= Si && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
959
959
|
},
|
|
960
960
|
1e3
|
|
961
961
|
));
|
|
962
962
|
}, se = () => {
|
|
963
|
-
i(7,
|
|
963
|
+
i(7, J = 0), i(5, W = !1), clearInterval(Q);
|
|
964
964
|
}, d = () => {
|
|
965
965
|
if (q)
|
|
966
966
|
return;
|
|
@@ -1037,7 +1037,7 @@ function wi(n, t, i) {
|
|
|
1037
1037
|
"clientstyling" in r && i(11, k = r.clientstyling), "clientstylingurl" in r && i(12, D = r.clientstylingurl), "width" in r && i(0, A = r.width), "height" in r && i(1, C = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, S = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, M = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, z = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1038
1038
|
}, n.$$.update = () => {
|
|
1039
1039
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1040
|
-
1048576 &&
|
|
1040
|
+
1048576 && K(o), n.$$.dirty[0] & /*lang*/
|
|
1041
1041
|
8192 && V && w(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
1042
|
2064 && k && m && Un(m, k), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1043
1043
|
4112 && D && m && Fn(m, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
@@ -1051,7 +1051,7 @@ function wi(n, t, i) {
|
|
|
1051
1051
|
m,
|
|
1052
1052
|
W,
|
|
1053
1053
|
q,
|
|
1054
|
-
|
|
1054
|
+
J,
|
|
1055
1055
|
a,
|
|
1056
1056
|
d,
|
|
1057
1057
|
T,
|