@everymatrix/cashier-page 1.93.82 → 1.93.151
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-BSxG-xai.cjs +1 -0
- package/components/CashierCarousel-CaSLwSQZ.js +711 -0
- package/components/CashierCarousel-hhzygSIh.js +708 -0
- package/components/CashierError-8nBQ12Ro.cjs +1 -0
- package/components/{CashierError-Dl1PsAvl.js → CashierError-CUmyB5lN.js} +15 -14
- package/components/{CashierError-BtMqsFpr.js → CashierError-ChfgU3dy.js} +15 -14
- package/components/CashierHeader-Cxg2Bbwv.cjs +1 -0
- package/components/CashierHeader-CztzLdMZ.js +477 -0
- package/components/CashierHeader-LzICktCn.js +477 -0
- package/components/{CashierIframeRedirect-B_XLllRU.js → CashierIframeRedirect-Cmjb6V8k.js} +79 -94
- package/components/{CashierIframeRedirect-wYvtOAcP.js → CashierIframeRedirect-DPrxcEUI.js} +75 -90
- package/components/CashierIframeRedirect-DhxaD3C-.cjs +1 -0
- package/components/CashierMethodDetails-BtSiMmg9.cjs +85 -0
- package/components/{CashierMethodDetails-wGMBuOxy.js → CashierMethodDetails-DSPP4Q1p.js} +3188 -3495
- package/components/{CashierMethodDetails-DaD697V7.js → CashierMethodDetails-JcREkr2L.js} +3455 -3770
- package/components/{CashierMethodsList-B4UpzKsn.js → CashierMethodsList-0LyVXgQ0.js} +80 -88
- package/components/{CashierMethodsList-B_aSe6bW.js → CashierMethodsList-Cw44onHK.js} +89 -97
- package/components/CashierMethodsList-DDdnWCVs.cjs +1 -0
- package/components/{CashierModal-DmFWYYBv.js → CashierModal-BWJqiuUm.js} +35 -34
- package/components/CashierModal-CbW-aJRp.cjs +1 -0
- package/components/{CashierModal-Dbo2y6I0.js → CashierModal-Cx16xGm6.js} +53 -52
- package/components/{CashierNotifications-CCfHWtui.js → CashierNotifications-BNacIn3G.js} +27 -27
- package/components/{CashierNotifications-BF72AddE.js → CashierNotifications-CGPpJwPT.js} +29 -29
- package/components/CashierNotifications-COhg-R-t.cjs +1 -0
- package/components/CashierPage-BHPTJcjL.js +10233 -0
- package/components/CashierPage-CYk7P-lY.js +10286 -0
- package/components/CashierPage-DoQEkSE2.cjs +23 -0
- package/components/CashierReceiptPage-DQlDMGoG.cjs +29 -0
- package/components/{CashierReceiptPage-Dv62xfX7.js → CashierReceiptPage-DnxAMr9D.js} +56 -57
- package/components/{CashierReceiptPage-BrGb_Hvr.js → CashierReceiptPage-IKLG5tQV.js} +49 -50
- package/components/{CashierSessionExpirationModal-BGyMfsOA.js → CashierSessionExpirationModal-BubeLoKh.js} +58 -59
- package/components/{CashierSessionExpirationModal-93K5YDe6.js → CashierSessionExpirationModal-C_2xlICF.js} +58 -59
- package/components/CashierSessionExpirationModal-DmrmH2xx.cjs +2 -0
- package/components/{CashierSpinner-BJI9qezE.js → CashierSpinner-B_Ey78yx.js} +15 -14
- package/components/CashierSpinner-BlRqsMug.cjs +1 -0
- package/components/{CashierSpinner-DOUYOomg.js → CashierSpinner-CwcwkjeV.js} +19 -18
- package/components/{CashierStepUp-C3MjcoUT.js → CashierStepUp-CSBqoOrt.js} +7 -6
- package/components/CashierStepUp-DVXV10Vd.cjs +1 -0
- package/components/{CashierStepUp-NMJhP_y_.js → CashierStepUp-f4sFTU4l.js} +48 -47
- package/components/{CashierTransactionHistory-D-ILp63Z.js → CashierTransactionHistory-1SskkrpF.js} +53 -54
- package/components/{CashierTransactionHistory-CgTMpzNV.js → CashierTransactionHistory-BMYFeuL5.js} +53 -54
- package/components/CashierTransactionHistory-DlID7rkA.cjs +1 -0
- package/components/{CashierVerifications-G7kq70X5.js → CashierVerifications-BjpOrTTp.js} +148 -132
- package/components/{CashierVerifications-C0epXYG7.js → CashierVerifications-Dp5nS2oy.js} +155 -139
- package/components/CashierVerifications-truLPmcH.cjs +1 -0
- package/components/{TxnStatusIcon-DbrDCliI.js → TxnStatusIcon-BNxmTC8i.js} +12 -12
- package/components/TxnStatusIcon-CNarrbiO.cjs +1 -0
- package/components/{TxnStatusIcon-z17R4Qdy.js → TxnStatusIcon-DyCxSWXD.js} +1 -1
- package/components/{TxnTypeIcons-DA4xjdSc.js → TxnTypeIcons-D0Vb7S38.js} +1 -1
- package/components/TxnTypeIcons-DFWcjK5-.cjs +1 -0
- package/components/{TxnTypeIcons-_jm1frsR.js → TxnTypeIcons-Dtk3rc1Y.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-B0fVKMjP.js +0 -5871
- package/components/CashierCarousel-BekweMPA.cjs +0 -23
- package/components/CashierCarousel-BtKQtzdv.js +0 -5833
- package/components/CashierError-Co7r_Zm9.cjs +0 -1
- package/components/CashierHeader-BPxfHV7O.js +0 -418
- package/components/CashierHeader-BfBH2bp5.js +0 -418
- package/components/CashierHeader-CCqfqjfy.cjs +0 -1
- package/components/CashierIframeRedirect-BjtL1epU.cjs +0 -1
- package/components/CashierMethodDetails-Ctclpkim.cjs +0 -85
- package/components/CashierMethodsList-DW2EatO7.cjs +0 -1
- package/components/CashierModal-D_cTbvqs.cjs +0 -1
- package/components/CashierNotifications-O-t5pi8m.cjs +0 -1
- package/components/CashierPage-B6cpE8nZ.js +0 -4753
- package/components/CashierPage-Bt3cVEtH.js +0 -4787
- package/components/CashierPage-BySSrDh5.cjs +0 -1
- package/components/CashierReceiptPage-tMafTG-d.cjs +0 -29
- package/components/CashierSessionExpirationModal-VHFllEY0.cjs +0 -2
- package/components/CashierSpinner-BNkBVuft.cjs +0 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +0 -1
- package/components/CashierTransactionHistory-D0_sooBa.cjs +0 -1
- package/components/CashierVerifications-BnMMvMfo.cjs +0 -1
- package/components/TxnStatusIcon-BcQgw6kQ.cjs +0 -1
- package/components/TxnTypeIcons-keA0IcNM.cjs +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as
|
|
2
|
-
import {
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-DaD697V7.js";
|
|
1
|
+
import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, d as kn, g as Me, t as Ae, h as we, a8 as un, a7 as fn, l as Re, n as R, q as Ut, M as Bt, N as On, r as Dn, a9 as Nn, e as $e, F as In, aa as zt, ab as Ht, H as Ft, w as We, u as et, j as tt, k as nt, p as u, m as p, G as Pn, A as Ze, Q as se, o as be, x as Ye, R as Gt, y as Wt, v as Un, z as Yt, J as jt, c as Bn, B as zn } from "./CashierPage-BHPTJcjL.js";
|
|
2
|
+
import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-LzICktCn.js";
|
|
4
3
|
function Vt(n, t) {
|
|
5
4
|
An(n, t);
|
|
6
5
|
}
|
|
@@ -87,15 +86,15 @@ dt || (dt = function(t, i, o) {
|
|
|
87
86
|
ht || (ht = function(t, i) {
|
|
88
87
|
return new t(...i);
|
|
89
88
|
});
|
|
90
|
-
const Ke =
|
|
91
|
-
function
|
|
89
|
+
const Ke = Z(Array.prototype.forEach), Jt = Z(Array.prototype.pop), Be = Z(Array.prototype.push), it = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Zt = Z(String.prototype.match), ze = Z(String.prototype.replace), Xn = Z(String.prototype.indexOf), qn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), B = Z(RegExp.prototype.test), He = Jn(TypeError);
|
|
90
|
+
function Z(n) {
|
|
92
91
|
return function(t) {
|
|
93
92
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
94
93
|
o[r - 1] = arguments[r];
|
|
95
94
|
return dt(n, t, o);
|
|
96
95
|
};
|
|
97
96
|
}
|
|
98
|
-
function
|
|
97
|
+
function Jn(n) {
|
|
99
98
|
return function() {
|
|
100
99
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
101
100
|
i[o] = arguments[o];
|
|
@@ -116,7 +115,7 @@ function d(n, t) {
|
|
|
116
115
|
}
|
|
117
116
|
return n;
|
|
118
117
|
}
|
|
119
|
-
function
|
|
118
|
+
function Zn(n) {
|
|
120
119
|
for (let t = 0; t < n.length; t++)
|
|
121
120
|
re(n, t) || (n[t] = null);
|
|
122
121
|
return n;
|
|
@@ -124,7 +123,7 @@ function Jn(n) {
|
|
|
124
123
|
function Le(n) {
|
|
125
124
|
const t = pn(null);
|
|
126
125
|
for (const [i, o] of mn(n))
|
|
127
|
-
re(n, i) && (Array.isArray(o) ? t[i] =
|
|
126
|
+
re(n, i) && (Array.isArray(o) ? t[i] = Zn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
|
|
128
127
|
return t;
|
|
129
128
|
}
|
|
130
129
|
function Fe(n, t) {
|
|
@@ -132,9 +131,9 @@ function Fe(n, t) {
|
|
|
132
131
|
const o = Vn(n, t);
|
|
133
132
|
if (o) {
|
|
134
133
|
if (o.get)
|
|
135
|
-
return
|
|
134
|
+
return Z(o.get);
|
|
136
135
|
if (typeof o.value == "function")
|
|
137
|
-
return
|
|
136
|
+
return Z(o.value);
|
|
138
137
|
}
|
|
139
138
|
n = jn(n);
|
|
140
139
|
}
|
|
@@ -321,7 +320,7 @@ function gn() {
|
|
|
321
320
|
} catch {
|
|
322
321
|
ae(e);
|
|
323
322
|
}
|
|
324
|
-
},
|
|
323
|
+
}, Je = function(e, s) {
|
|
325
324
|
try {
|
|
326
325
|
Be(t.removed, {
|
|
327
326
|
attribute: s.getAttributeNode(e),
|
|
@@ -349,7 +348,7 @@ function gn() {
|
|
|
349
348
|
if (C)
|
|
350
349
|
e = "<remove></remove>" + e;
|
|
351
350
|
else {
|
|
352
|
-
const O =
|
|
351
|
+
const O = Zt(e, /^[\r\n\t ]+/);
|
|
353
352
|
l = O && O[0];
|
|
354
353
|
}
|
|
355
354
|
Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -443,7 +442,7 @@ function gn() {
|
|
|
443
442
|
}
|
|
444
443
|
return !0;
|
|
445
444
|
}, Dt = function(e) {
|
|
446
|
-
return e !== "annotation-xml" &&
|
|
445
|
+
return e !== "annotation-xml" && Zt(e, ve);
|
|
447
446
|
}, Nt = function(e) {
|
|
448
447
|
Te("beforeSanitizeAttributes", e, null);
|
|
449
448
|
const {
|
|
@@ -466,13 +465,13 @@ function gn() {
|
|
|
466
465
|
} = N, Ue = k(O);
|
|
467
466
|
let U = O === "value" ? pe : qn(pe);
|
|
468
467
|
if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && B(/((--!?|])>)|<\/(style|title)/i, U)) {
|
|
469
|
-
|
|
468
|
+
Je(O, e);
|
|
470
469
|
continue;
|
|
471
470
|
}
|
|
472
|
-
if (l.forceKeepAttr || (
|
|
471
|
+
if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
|
|
473
472
|
continue;
|
|
474
473
|
if (!Y && B(/\/>/i, U)) {
|
|
475
|
-
|
|
474
|
+
Je(O, e);
|
|
476
475
|
continue;
|
|
477
476
|
}
|
|
478
477
|
_e && Ke([ce, X, ge], (Pt) => {
|
|
@@ -480,7 +479,7 @@ function gn() {
|
|
|
480
479
|
});
|
|
481
480
|
const It = k(e.nodeName);
|
|
482
481
|
if (Ot(It, Ue, U)) {
|
|
483
|
-
if (_t && (Ue === "id" || Ue === "name") && (
|
|
482
|
+
if (_t && (Ue === "id" || Ue === "name") && (Je(O, e), U = _n + U), h && typeof H == "object" && typeof H.getAttributeType == "function" && !j)
|
|
484
483
|
switch (H.getAttributeType(It, Ue)) {
|
|
485
484
|
case "TrustedHTML": {
|
|
486
485
|
U = h.createHTML(U);
|
|
@@ -492,7 +491,7 @@ function gn() {
|
|
|
492
491
|
}
|
|
493
492
|
}
|
|
494
493
|
try {
|
|
495
|
-
j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) :
|
|
494
|
+
j ? e.setAttributeNS(j, O, U) : e.setAttribute(O, U), Mt(e) ? me(e) : Jt(t.removed);
|
|
496
495
|
} catch {
|
|
497
496
|
}
|
|
498
497
|
}
|
|
@@ -562,7 +561,7 @@ function gn() {
|
|
|
562
561
|
typeof e == "function" && (v[c] = v[c] || [], Be(v[c], e));
|
|
563
562
|
}, t.removeHook = function(c) {
|
|
564
563
|
if (v[c])
|
|
565
|
-
return
|
|
564
|
+
return Jt(v[c]);
|
|
566
565
|
}, t.removeHooks = function(c) {
|
|
567
566
|
v[c] && (v[c] = []);
|
|
568
567
|
}, t.removeAllHooks = function() {
|
|
@@ -619,36 +618,36 @@ function ln(n) {
|
|
|
619
618
|
return D = ue(n), I = ee[D] = _e[D](n), {
|
|
620
619
|
c() {
|
|
621
620
|
t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), b = se("circle"), E = se("rect"), V = se("circle"), ne = se("circle"), Ce = be(), F = Ye(H), ye = be(), ae = R("div"), G = se("svg"), de = se("path"), K = be(), h = R("div"), x = R("div"), L && L.c(), ie = be(), g && g.c(), le = be(), Y && Y.c(), he = be(), W = R("div"), oe = R("button"), v = R("span"), X = Ye(ce), ge = be(), Q = R("button"), I.c(), u(b, "cx", "100"), u(b, "cy", "100"), u(b, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(V, "cx", "100"), u(V, "cy", "150"), u(V, "r", "14"), u(V, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
|
|
622
|
-
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(h, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"),
|
|
621
|
+
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(h, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ft(() => (
|
|
623
622
|
/*div7_elementresize_handler*/
|
|
624
623
|
n[25].call(t)
|
|
625
624
|
));
|
|
626
625
|
},
|
|
627
626
|
m(y, C) {
|
|
628
|
-
Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, S), p(S, b), p(S, E), p(S, V), p(f, ne), p(r, Ce), p(r, F), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, h), p(h, x), L && L.m(x, null), p(x, ie), g && g.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, X), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve =
|
|
627
|
+
Re(y, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, S), p(S, b), p(S, E), p(S, V), p(f, ne), p(r, Ce), p(r, F), p(o, ye), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, h), p(h, x), L && L.m(x, null), p(x, ie), g && g.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, X), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = Pn(
|
|
629
628
|
t,
|
|
630
629
|
/*div7_elementresize_handler*/
|
|
631
630
|
n[25].bind(t)
|
|
632
631
|
), m = !0, Se || (A = [
|
|
633
|
-
|
|
632
|
+
Ze(
|
|
634
633
|
G,
|
|
635
634
|
"click",
|
|
636
635
|
/*goToHome*/
|
|
637
636
|
n[11]
|
|
638
637
|
),
|
|
639
|
-
|
|
638
|
+
Ze(
|
|
640
639
|
oe,
|
|
641
640
|
"click",
|
|
642
641
|
/*goToHome*/
|
|
643
642
|
n[11]
|
|
644
643
|
),
|
|
645
|
-
|
|
644
|
+
Ze(
|
|
646
645
|
Q,
|
|
647
646
|
"click",
|
|
648
647
|
/*renewSession*/
|
|
649
648
|
n[9]
|
|
650
649
|
),
|
|
651
|
-
|
|
650
|
+
Ze(
|
|
652
651
|
t,
|
|
653
652
|
"click",
|
|
654
653
|
/*outOfModalClick*/
|
|
@@ -726,21 +725,21 @@ function ln(n) {
|
|
|
726
725
|
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
727
726
|
},
|
|
728
727
|
i(y) {
|
|
729
|
-
m || (we(L, y), we(g, y), we(Y, y), we(I), y &&
|
|
730
|
-
m && (q || (q =
|
|
728
|
+
m || (we(L, y), we(g, y), we(Y, y), we(I), y && Ft(() => {
|
|
729
|
+
m && (q || (q = zt(t, Ht, { duration: (
|
|
731
730
|
/*duration*/
|
|
732
731
|
n[2]
|
|
733
732
|
) }, !0)), q.run(1));
|
|
734
733
|
}), m = !0);
|
|
735
734
|
},
|
|
736
735
|
o(y) {
|
|
737
|
-
Ae(L, y), Ae(g, y), Ae(Y, y), Ae(I), y && (q || (q =
|
|
736
|
+
Ae(L, y), Ae(g, y), Ae(Y, y), Ae(I), y && (q || (q = zt(t, Ht, { duration: (
|
|
738
737
|
/*duration*/
|
|
739
738
|
n[2]
|
|
740
739
|
) }, !1)), q.run(0)), m = !1;
|
|
741
740
|
},
|
|
742
741
|
d(y) {
|
|
743
|
-
y && Me(t), L && L.d(y), g && g.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1,
|
|
742
|
+
y && Me(t), L && L.d(y), g && g.d(y), Y && Y.d(y), ee[D].d(), n[24](null), ve(), y && q && q.end(), Se = !1, In(A);
|
|
744
743
|
}
|
|
745
744
|
};
|
|
746
745
|
}
|
|
@@ -748,7 +747,7 @@ function cn(n) {
|
|
|
748
747
|
let t, i;
|
|
749
748
|
return {
|
|
750
749
|
c() {
|
|
751
|
-
t = R("img"),
|
|
750
|
+
t = R("img"), jt(t.src, i = `${/*assetsurl*/
|
|
752
751
|
n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
|
|
753
752
|
},
|
|
754
753
|
m(o, r) {
|
|
@@ -756,7 +755,7 @@ function cn(n) {
|
|
|
756
755
|
},
|
|
757
756
|
p(o, r) {
|
|
758
757
|
r[0] & /*assetsurl*/
|
|
759
|
-
8 && !
|
|
758
|
+
8 && !jt(t.src, i = `${/*assetsurl*/
|
|
760
759
|
o[3]}/set-timeout-icon.png`) && u(t, "src", i);
|
|
761
760
|
},
|
|
762
761
|
d(o) {
|
|
@@ -771,7 +770,7 @@ function di(n) {
|
|
|
771
770
|
);
|
|
772
771
|
return {
|
|
773
772
|
c() {
|
|
774
|
-
i && i.c(), t =
|
|
773
|
+
i && i.c(), t = Un();
|
|
775
774
|
},
|
|
776
775
|
m(o, r) {
|
|
777
776
|
i && i.m(o, r), Re(o, t, r);
|
|
@@ -889,8 +888,8 @@ function _i(n) {
|
|
|
889
888
|
256 && _ !== (_ = /*$_*/
|
|
890
889
|
b[8]("sessionExpirationLoadingButton") + "") && We(S, _);
|
|
891
890
|
},
|
|
892
|
-
i:
|
|
893
|
-
o:
|
|
891
|
+
i: Yt,
|
|
892
|
+
o: Yt,
|
|
894
893
|
d(b) {
|
|
895
894
|
b && Me(t);
|
|
896
895
|
}
|
|
@@ -951,9 +950,9 @@ function Ti(n) {
|
|
|
951
950
|
const bi = 90;
|
|
952
951
|
function wi(n, t, i) {
|
|
953
952
|
let o, r;
|
|
954
|
-
Ut(n,
|
|
953
|
+
Ut(n, Gt, (a) => i(21, o = a)), Ut(n, zn, (a) => i(8, r = a));
|
|
955
954
|
let { $$slots: f = {}, $$scope: _ } = t;
|
|
956
|
-
|
|
955
|
+
Bt.extend(On);
|
|
957
956
|
let { clientstyling: S = "" } = t, { clientstylingurl: b = "" } = t, { width: E } = t, { height: V } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: H = "en" } = t, { translationurl: F = "" } = t, { endpoint: ye } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, h, x = !1, ie = !1, le, he, W, oe, v, ce;
|
|
958
957
|
var X;
|
|
959
958
|
(function(a) {
|
|
@@ -991,7 +990,7 @@ function wi(n, t, i) {
|
|
|
991
990
|
if (ie)
|
|
992
991
|
return;
|
|
993
992
|
const a = new URL(`${ye}/v1/player/${G}/payment/GetPaymentMethod`), g = new Headers();
|
|
994
|
-
i(6, ie = !0), g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp",
|
|
993
|
+
i(6, ie = !0), g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp", Bt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
995
994
|
const P = {
|
|
996
995
|
method: "POST",
|
|
997
996
|
mode: "cors",
|
|
@@ -1021,7 +1020,7 @@ function wi(n, t, i) {
|
|
|
1021
1020
|
v = M.ResponseCode, $();
|
|
1022
1021
|
return;
|
|
1023
1022
|
}
|
|
1024
|
-
M.XPaymentSessionToken &&
|
|
1023
|
+
M.XPaymentSessionToken && Gt.set(M.XPaymentSessionToken);
|
|
1025
1024
|
}).finally(() => i(6, ie = !1));
|
|
1026
1025
|
}, q = (a) => {
|
|
1027
1026
|
const g = a.currentTarget;
|
|
@@ -1043,13 +1042,13 @@ function wi(n, t, i) {
|
|
|
1043
1042
|
const A = () => {
|
|
1044
1043
|
Wn(H);
|
|
1045
1044
|
};
|
|
1046
|
-
|
|
1045
|
+
Dn(() => (window.addEventListener("message", ge, !1), () => {
|
|
1047
1046
|
window.removeEventListener("message", ge);
|
|
1048
|
-
})),
|
|
1047
|
+
})), Nn(() => {
|
|
1049
1048
|
clearInterval(W);
|
|
1050
1049
|
});
|
|
1051
1050
|
function xe(a) {
|
|
1052
|
-
|
|
1051
|
+
Wt[a ? "unshift" : "push"](() => {
|
|
1053
1052
|
h = a, i(4, h);
|
|
1054
1053
|
});
|
|
1055
1054
|
}
|
|
@@ -1057,7 +1056,7 @@ function wi(n, t, i) {
|
|
|
1057
1056
|
E = this.clientWidth, V = this.clientHeight, i(0, E), i(1, V);
|
|
1058
1057
|
}
|
|
1059
1058
|
function L(a) {
|
|
1060
|
-
|
|
1059
|
+
Wt[a ? "unshift" : "push"](() => {
|
|
1061
1060
|
h = a, i(4, h);
|
|
1062
1061
|
});
|
|
1063
1062
|
}
|
|
@@ -1067,9 +1066,9 @@ function wi(n, t, i) {
|
|
|
1067
1066
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1068
1067
|
2097152 && I(o), n.$$.dirty[0] & /*lang*/
|
|
1069
1068
|
16384 && H && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1070
|
-
4112 && S && h &&
|
|
1071
|
-
8208 && b && h &&
|
|
1072
|
-
1048592 && K && h &&
|
|
1069
|
+
4112 && S && h && Hn(h, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1070
|
+
8208 && b && h && Fn(h, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1071
|
+
1048592 && K && h && Gn(h, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1073
1072
|
32768 && F && m();
|
|
1074
1073
|
}, [
|
|
1075
1074
|
E,
|
|
@@ -1132,82 +1131,82 @@ class yi extends Ln {
|
|
|
1132
1131
|
return this.$$.ctx[12];
|
|
1133
1132
|
}
|
|
1134
1133
|
set clientstyling(t) {
|
|
1135
|
-
this.$$set({ clientstyling: t }),
|
|
1134
|
+
this.$$set({ clientstyling: t }), J();
|
|
1136
1135
|
}
|
|
1137
1136
|
get clientstylingurl() {
|
|
1138
1137
|
return this.$$.ctx[13];
|
|
1139
1138
|
}
|
|
1140
1139
|
set clientstylingurl(t) {
|
|
1141
|
-
this.$$set({ clientstylingurl: t }),
|
|
1140
|
+
this.$$set({ clientstylingurl: t }), J();
|
|
1142
1141
|
}
|
|
1143
1142
|
get width() {
|
|
1144
1143
|
return this.$$.ctx[0];
|
|
1145
1144
|
}
|
|
1146
1145
|
set width(t) {
|
|
1147
|
-
this.$$set({ width: t }),
|
|
1146
|
+
this.$$set({ width: t }), J();
|
|
1148
1147
|
}
|
|
1149
1148
|
get height() {
|
|
1150
1149
|
return this.$$.ctx[1];
|
|
1151
1150
|
}
|
|
1152
1151
|
set height(t) {
|
|
1153
|
-
this.$$set({ height: t }),
|
|
1152
|
+
this.$$set({ height: t }), J();
|
|
1154
1153
|
}
|
|
1155
1154
|
get duration() {
|
|
1156
1155
|
return this.$$.ctx[2];
|
|
1157
1156
|
}
|
|
1158
1157
|
set duration(t) {
|
|
1159
|
-
this.$$set({ duration: t }),
|
|
1158
|
+
this.$$set({ duration: t }), J();
|
|
1160
1159
|
}
|
|
1161
1160
|
get assetsurl() {
|
|
1162
1161
|
return this.$$.ctx[3];
|
|
1163
1162
|
}
|
|
1164
1163
|
set assetsurl(t) {
|
|
1165
|
-
this.$$set({ assetsurl: t }),
|
|
1164
|
+
this.$$set({ assetsurl: t }), J();
|
|
1166
1165
|
}
|
|
1167
1166
|
get lang() {
|
|
1168
1167
|
return this.$$.ctx[14];
|
|
1169
1168
|
}
|
|
1170
1169
|
set lang(t) {
|
|
1171
|
-
this.$$set({ lang: t }),
|
|
1170
|
+
this.$$set({ lang: t }), J();
|
|
1172
1171
|
}
|
|
1173
1172
|
get translationurl() {
|
|
1174
1173
|
return this.$$.ctx[15];
|
|
1175
1174
|
}
|
|
1176
1175
|
set translationurl(t) {
|
|
1177
|
-
this.$$set({ translationurl: t }),
|
|
1176
|
+
this.$$set({ translationurl: t }), J();
|
|
1178
1177
|
}
|
|
1179
1178
|
get endpoint() {
|
|
1180
1179
|
return this.$$.ctx[16];
|
|
1181
1180
|
}
|
|
1182
1181
|
set endpoint(t) {
|
|
1183
|
-
this.$$set({ endpoint: t }),
|
|
1182
|
+
this.$$set({ endpoint: t }), J();
|
|
1184
1183
|
}
|
|
1185
1184
|
get currency() {
|
|
1186
1185
|
return this.$$.ctx[17];
|
|
1187
1186
|
}
|
|
1188
1187
|
set currency(t) {
|
|
1189
|
-
this.$$set({ currency: t }),
|
|
1188
|
+
this.$$set({ currency: t }), J();
|
|
1190
1189
|
}
|
|
1191
1190
|
get customerid() {
|
|
1192
1191
|
return this.$$.ctx[18];
|
|
1193
1192
|
}
|
|
1194
1193
|
set customerid(t) {
|
|
1195
|
-
this.$$set({ customerid: t }),
|
|
1194
|
+
this.$$set({ customerid: t }), J();
|
|
1196
1195
|
}
|
|
1197
1196
|
get selectedpaymentmethodname() {
|
|
1198
1197
|
return this.$$.ctx[19];
|
|
1199
1198
|
}
|
|
1200
1199
|
set selectedpaymentmethodname(t) {
|
|
1201
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
1200
|
+
this.$$set({ selectedpaymentmethodname: t }), J();
|
|
1202
1201
|
}
|
|
1203
1202
|
get mbsource() {
|
|
1204
1203
|
return this.$$.ctx[20];
|
|
1205
1204
|
}
|
|
1206
1205
|
set mbsource(t) {
|
|
1207
|
-
this.$$set({ mbsource: t }),
|
|
1206
|
+
this.$$set({ mbsource: t }), J();
|
|
1208
1207
|
}
|
|
1209
1208
|
}
|
|
1210
|
-
|
|
1209
|
+
Bn(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1211
1210
|
export {
|
|
1212
1211
|
yi as default
|
|
1213
1212
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-DoQEkSE2.cjs"),Xe=require("./CashierHeader-Cxg2Bbwv.cjs");function wt(i,n){e.addMessages(i,n)}function $t(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const St={en:{sessionExpirationHeader:"Session Warning",sessionExpirationTitle:"Your session is about to expire!",sessionExpirationGeneralText:"Your session will automatically terminate in <b>{second} seconds</b>.",sessionExpirationGeneralButton:"Continue session",sessionExpirationLoadingButton:"Processing...",sessionExpirationEnd:"End session"},tr:{sessionExpirationHeader:"Oturum Uyarısı",sessionExpirationTitle:"Oturumunuzun süresi dolmak üzere!",sessionExpirationGeneralText:"Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",sessionExpirationGeneralButton:"DEVAM ET",sessionExpirationLoadingButton:"İŞLEME...",sessionExpirationEnd:"Oturumu sonlandır"},fr:{sessionExpirationHeader:"Avertissement de session",sessionExpirationTitle:"Votre session est sur le point d'expirer !",sessionExpirationGeneralText:"Votre session se terminera automatiquement dans <b>{second} secondes</b>.",sessionExpirationGeneralButton:"Continuer la session",sessionExpirationLoadingButton:"Traitement en cours...",sessionExpirationEnd:"Terminer la session"},da:{sessionExpirationHeader:"Sessionsadvarsel",sessionExpirationTitle:"Din session er ved at udløbe!",sessionExpirationGeneralText:"Din session afsluttes automatisk om <b>{second} sekunder</b>.",sessionExpirationGeneralButton:"Fortsæt session",sessionExpirationLoadingButton:"Behandler...",sessionExpirationEnd:"Afslut session"},de:{sessionExpirationHeader:"Sitzungswarnung",sessionExpirationTitle:"Ihre Sitzung läuft bald ab!",sessionExpirationGeneralText:"Ihre Sitzung wird automatisch in <b>{second} Sekunden</b> beendet.",sessionExpirationGeneralButton:"Sitzung fortsetzen",sessionExpirationLoadingButton:"Verarbeitung...",sessionExpirationEnd:"Sitzung beenden"},nl:{sessionExpirationHeader:"Sessiewaarschuwing",sessionExpirationTitle:"Uw sessie staat op het punt te verlopen!",sessionExpirationGeneralText:"Uw sessie wordt automatisch beëindigd over <b>{second} seconden</b>.",sessionExpirationGeneralButton:"Sessie voortzetten",sessionExpirationLoadingButton:"Verwerken...",sessionExpirationEnd:"Sessie beëindigen"}};/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */const{entries:Ht,setPrototypeOf:xt,isFrozen:en,getPrototypeOf:tn,getOwnPropertyDescriptor:nn}=Object;let{freeze:U,seal:Q,create:zt}=Object,{apply:$e,construct:et}=typeof Reflect!="undefined"&&Reflect;U||(U=function(n){return n});Q||(Q=function(n){return n});$e||($e=function(n,o,s){return n.apply(o,s)});et||(et=function(n,o){return new n(...o)});const He=X(Array.prototype.forEach),At=X(Array.prototype.pop),Me=X(Array.prototype.push),Fe=X(String.prototype.toLowerCase),qe=X(String.prototype.toString),Ct=X(String.prototype.match),Re=X(String.prototype.replace),on=X(String.prototype.indexOf),sn=X(String.prototype.trim),ne=X(Object.prototype.hasOwnProperty),P=X(RegExp.prototype.test),ke=rn(TypeError);function X(i){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];return $e(i,n,s)}}function rn(i){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return et(i,o)}}function m(i,n){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Fe;xt&&xt(i,null);let s=n.length;for(;s--;){let a=n[s];if(typeof a=="string"){const f=o(a);f!==a&&(en(n)||(n[s]=f),a=f)}i[a]=!0}return i}function an(i){for(let n=0;n<i.length;n++)ne(i,n)||(i[n]=null);return i}function ye(i){const n=zt(null);for(const[o,s]of Ht(i))ne(i,o)&&(Array.isArray(s)?n[o]=an(s):s&&typeof s=="object"&&s.constructor===Object?n[o]=ye(s):n[o]=s);return n}function Oe(i,n){for(;i!==null;){const s=nn(i,n);if(s){if(s.get)return X(s.get);if(typeof s.value=="function")return X(s.value)}i=tn(i)}function o(){return null}return o}const vt=U(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ze=U(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Je=U(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),ln=U(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ke=U(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cn=U(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lt=U(["#text"]),Mt=U(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Qe=U(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Rt=U(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ze=U(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),un=Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fn=Q(/<%[\w\W]*|[\w\W]*%>/gm),pn=Q(/\${[\w\W]*}/gm),mn=Q(/^data-[\-\w.\u00B7-\uFFFF]/),dn=Q(/^aria-[\-\w]+$/),Ft=Q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),hn=Q(/^(?:\w+script|data):/i),gn=Q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gt=Q(/^html$/i),_n=Q(/^[a-z][.\w]*(-[.\w]+)+$/i);var kt=Object.freeze({__proto__:null,MUSTACHE_EXPR:un,ERB_EXPR:fn,TMPLIT_EXPR:pn,DATA_ATTR:mn,ARIA_ATTR:dn,IS_ALLOWED_URI:Ft,IS_SCRIPT_OR_DATA:hn,ATTR_WHITESPACE:gn,DOCTYPE_NAME:Gt,CUSTOM_ELEMENT:_n});const De={element:1,text:3,progressingInstruction:7,comment:8,document:9},En=function(){return typeof window=="undefined"?null:window},Tn=function(n,o){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const a="data-tt-policy-suffix";o&&o.hasAttribute(a)&&(s=o.getAttribute(a));const f="dompurify"+(s?"#"+s:"");try{return n.createPolicy(f,{createHTML(g){return g},createScriptURL(g){return g}})}catch(g){return console.warn("TrustedTypes policy "+f+" could not be created."),null}};function Wt(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:En();const n=u=>Wt(u);if(n.version="3.1.6",n.removed=[],!i||!i.document||i.document.nodeType!==De.document)return n.isSupported=!1,n;let{document:o}=i;const s=o,a=s.currentScript,{DocumentFragment:f,HTMLTemplateElement:g,Node:w,Element:T,NodeFilter:_,NamedNodeMap:Y=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:$,DOMParser:Te,trustedTypes:B}=i,H=T.prototype,ge=Oe(H,"cloneNode"),ie=Oe(H,"remove"),z=Oe(H,"nextSibling"),ue=Oe(H,"childNodes"),q=Oe(H,"parentNode");if(typeof g=="function"){const u=o.createElement("template");u.content&&u.content.ownerDocument&&(o=u.content.ownerDocument)}let h,S="";const{implementation:ee,createNodeIterator:oe,createDocumentFragment:fe,getElementsByTagName:F}=o,{importNode:te}=s;let C={};n.isSupported=typeof Ht=="function"&&typeof q=="function"&&ee&&ee.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:se,ERB_EXPR:j,TMPLIT_EXPR:pe,DATA_ATTR:Z,ARIA_ATTR:k,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:be}=kt;let{IS_ALLOWED_URI:V}=kt,p=null;const _e=m({},[...vt,...Ze,...Je,...Ke,...Lt]);let x=null;const Ee=m({},[...Mt,...Qe,...Rt,...ze]);let E=Object.seal(zt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),v=null,l=null,d=!0,N=!0,L=!1,G=!0,me=!1,K=!0,re=!1,y=!1,A=!1,ae=!1,Ne=!1,Ie=!1,tt=!0,nt=!1;const jt="user-content-";let Ge=!0,Ce=!1,we={},Se=null;const it=m({},["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"]);let ot=null;const st=m({},["audio","video","img","source","image","track"]);let We=null;const rt=m({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",Ue="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml";let xe=de,Ye=!1,je=null;const Vt=m({},[Pe,Ue,de],qe);let ve=null;const Xt=["application/xhtml+xml","text/html"],qt="text/html";let M=null,Ae=null;const Zt=o.createElement("form"),at=function(t){return t instanceof RegExp||t instanceof Function},Ve=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ae&&Ae===t)){if((!t||typeof t!="object")&&(t={}),t=ye(t),ve=Xt.indexOf(t.PARSER_MEDIA_TYPE)===-1?qt:t.PARSER_MEDIA_TYPE,M=ve==="application/xhtml+xml"?qe:Fe,p=ne(t,"ALLOWED_TAGS")?m({},t.ALLOWED_TAGS,M):_e,x=ne(t,"ALLOWED_ATTR")?m({},t.ALLOWED_ATTR,M):Ee,je=ne(t,"ALLOWED_NAMESPACES")?m({},t.ALLOWED_NAMESPACES,qe):Vt,We=ne(t,"ADD_URI_SAFE_ATTR")?m(ye(rt),t.ADD_URI_SAFE_ATTR,M):rt,ot=ne(t,"ADD_DATA_URI_TAGS")?m(ye(st),t.ADD_DATA_URI_TAGS,M):st,Se=ne(t,"FORBID_CONTENTS")?m({},t.FORBID_CONTENTS,M):it,v=ne(t,"FORBID_TAGS")?m({},t.FORBID_TAGS,M):{},l=ne(t,"FORBID_ATTR")?m({},t.FORBID_ATTR,M):{},we=ne(t,"USE_PROFILES")?t.USE_PROFILES:!1,d=t.ALLOW_ARIA_ATTR!==!1,N=t.ALLOW_DATA_ATTR!==!1,L=t.ALLOW_UNKNOWN_PROTOCOLS||!1,G=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,me=t.SAFE_FOR_TEMPLATES||!1,K=t.SAFE_FOR_XML!==!1,re=t.WHOLE_DOCUMENT||!1,ae=t.RETURN_DOM||!1,Ne=t.RETURN_DOM_FRAGMENT||!1,Ie=t.RETURN_TRUSTED_TYPE||!1,A=t.FORCE_BODY||!1,tt=t.SANITIZE_DOM!==!1,nt=t.SANITIZE_NAMED_PROPS||!1,Ge=t.KEEP_CONTENT!==!1,Ce=t.IN_PLACE||!1,V=t.ALLOWED_URI_REGEXP||Ft,xe=t.NAMESPACE||de,E=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&at(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),me&&(N=!1),Ne&&(ae=!0),we&&(p=m({},Lt),x=[],we.html===!0&&(m(p,vt),m(x,Mt)),we.svg===!0&&(m(p,Ze),m(x,Qe),m(x,ze)),we.svgFilters===!0&&(m(p,Je),m(x,Qe),m(x,ze)),we.mathMl===!0&&(m(p,Ke),m(x,Rt),m(x,ze))),t.ADD_TAGS&&(p===_e&&(p=ye(p)),m(p,t.ADD_TAGS,M)),t.ADD_ATTR&&(x===Ee&&(x=ye(x)),m(x,t.ADD_ATTR,M)),t.ADD_URI_SAFE_ATTR&&m(We,t.ADD_URI_SAFE_ATTR,M),t.FORBID_CONTENTS&&(Se===it&&(Se=ye(Se)),m(Se,t.FORBID_CONTENTS,M)),Ge&&(p["#text"]=!0),re&&m(p,["html","head","body"]),p.table&&(m(p,["tbody"]),delete v.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=t.TRUSTED_TYPES_POLICY,S=h.createHTML("")}else h===void 0&&(h=Tn(B,a)),h!==null&&typeof S=="string"&&(S=h.createHTML(""));U&&U(t),Ae=t}},lt=m({},["mi","mo","mn","ms","mtext"]),ct=m({},["foreignobject","annotation-xml"]),Jt=m({},["title","style","font","a","script"]),ut=m({},[...Ze,...Je,...ln]),ft=m({},[...Ke,...cn]),Kt=function(t){let r=q(t);(!r||!r.tagName)&&(r={namespaceURI:xe,tagName:"template"});const c=Fe(t.tagName),b=Fe(r.tagName);return je[t.namespaceURI]?t.namespaceURI===Ue?r.namespaceURI===de?c==="svg":r.namespaceURI===Pe?c==="svg"&&(b==="annotation-xml"||lt[b]):!!ut[c]:t.namespaceURI===Pe?r.namespaceURI===de?c==="math":r.namespaceURI===Ue?c==="math"&&ct[b]:!!ft[c]:t.namespaceURI===de?r.namespaceURI===Ue&&!ct[b]||r.namespaceURI===Pe&&!lt[b]?!1:!ft[c]&&(Jt[c]||!ut[c]):!!(ve==="application/xhtml+xml"&&je[t.namespaceURI]):!1},le=function(t){Me(n.removed,{element:t});try{q(t).removeChild(t)}catch(r){ie(t)}},Be=function(t,r){try{Me(n.removed,{attribute:r.getAttributeNode(t),from:r})}catch(c){Me(n.removed,{attribute:null,from:r})}if(r.removeAttribute(t),t==="is"&&!x[t])if(ae||Ne)try{le(r)}catch(c){}else try{r.setAttribute(t,"")}catch(c){}},pt=function(t){let r=null,c=null;if(A)t="<remove></remove>"+t;else{const R=Ct(t,/^[\r\n\t ]+/);c=R&&R[0]}ve==="application/xhtml+xml"&&xe===de&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const b=h?h.createHTML(t):t;if(xe===de)try{r=new Te().parseFromString(b,ve)}catch(R){}if(!r||!r.documentElement){r=ee.createDocument(xe,"template",null);try{r.documentElement.innerHTML=Ye?S:b}catch(R){}}const O=r.body||r.documentElement;return t&&c&&O.insertBefore(o.createTextNode(c),O.childNodes[0]||null),xe===de?F.call(r,re?"html":"body")[0]:re?r.documentElement:O},mt=function(t){return oe.call(t.ownerDocument||t,t,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},dt=function(t){return t instanceof $&&(typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||!(t.attributes instanceof Y)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function")},ht=function(t){return typeof w=="function"&&t instanceof w},he=function(t,r,c){C[t]&&He(C[t],b=>{b.call(n,r,c,Ae)})},gt=function(t){let r=null;if(he("beforeSanitizeElements",t,null),dt(t))return le(t),!0;const c=M(t.nodeName);if(he("uponSanitizeElement",t,{tagName:c,allowedTags:p}),t.hasChildNodes()&&!ht(t.firstElementChild)&&P(/<[/\w]/g,t.innerHTML)&&P(/<[/\w]/g,t.textContent)||t.nodeType===De.progressingInstruction||K&&t.nodeType===De.comment&&P(/<[/\w]/g,t.data))return le(t),!0;if(!p[c]||v[c]){if(!v[c]&&Et(c)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c)))return!1;if(Ge&&!Se[c]){const b=q(t)||t.parentNode,O=ue(t)||t.childNodes;if(O&&b){const R=O.length;for(let W=R-1;W>=0;--W){const ce=ge(O[W],!0);ce.__removalCount=(t.__removalCount||0)+1,b.insertBefore(ce,z(t))}}}return le(t),!0}return t instanceof T&&!Kt(t)||(c==="noscript"||c==="noembed"||c==="noframes")&&P(/<\/no(script|embed|frames)/i,t.innerHTML)?(le(t),!0):(me&&t.nodeType===De.text&&(r=t.textContent,He([se,j,pe],b=>{r=Re(r,b," ")}),t.textContent!==r&&(Me(n.removed,{element:t.cloneNode()}),t.textContent=r)),he("afterSanitizeElements",t,null),!1)},_t=function(t,r,c){if(tt&&(r==="id"||r==="name")&&(c in o||c in Zt))return!1;if(!(N&&!l[r]&&P(Z,r))){if(!(d&&P(k,r))){if(!x[r]||l[r]){if(!(Et(t)&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,t)||E.tagNameCheck instanceof Function&&E.tagNameCheck(t))&&(E.attributeNameCheck instanceof RegExp&&P(E.attributeNameCheck,r)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(r))||r==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&P(E.tagNameCheck,c)||E.tagNameCheck instanceof Function&&E.tagNameCheck(c))))return!1}else if(!We[r]){if(!P(V,Re(c,J,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&t!=="script"&&on(c,"data:")===0&&ot[t])){if(!(L&&!P(D,Re(c,J,"")))){if(c)return!1}}}}}}return!0},Et=function(t){return t!=="annotation-xml"&&Ct(t,be)},Tt=function(t){he("beforeSanitizeAttributes",t,null);const{attributes:r}=t;if(!r)return;const c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:x};let b=r.length;for(;b--;){const O=r[b],{name:R,namespaceURI:W,value:ce}=O,Le=M(R);let I=R==="value"?ce:sn(ce);if(c.attrName=Le,c.attrValue=I,c.keepAttr=!0,c.forceKeepAttr=void 0,he("uponSanitizeAttribute",t,c),I=c.attrValue,K&&P(/((--!?|])>)|<\/(style|title)/i,I)){Be(R,t);continue}if(c.forceKeepAttr||(Be(R,t),!c.keepAttr))continue;if(!G&&P(/\/>/i,I)){Be(R,t);continue}me&&He([se,j,pe],yt=>{I=Re(I,yt," ")});const bt=M(t.nodeName);if(_t(bt,Le,I)){if(nt&&(Le==="id"||Le==="name")&&(Be(R,t),I=jt+I),h&&typeof B=="object"&&typeof B.getAttributeType=="function"&&!W)switch(B.getAttributeType(bt,Le)){case"TrustedHTML":{I=h.createHTML(I);break}case"TrustedScriptURL":{I=h.createScriptURL(I);break}}try{W?t.setAttributeNS(W,R,I):t.setAttribute(R,I),dt(t)?le(t):At(n.removed)}catch(yt){}}}he("afterSanitizeAttributes",t,null)},Qt=function u(t){let r=null;const c=mt(t);for(he("beforeSanitizeShadowDOM",t,null);r=c.nextNode();)he("uponSanitizeShadowNode",r,null),!gt(r)&&(r.content instanceof f&&u(r.content),Tt(r));he("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(u){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=null,c=null,b=null,O=null;if(Ye=!u,Ye&&(u="<!-->"),typeof u!="string"&&!ht(u))if(typeof u.toString=="function"){if(u=u.toString(),typeof u!="string")throw ke("dirty is not a string, aborting")}else throw ke("toString is not a function");if(!n.isSupported)return u;if(y||Ve(t),n.removed=[],typeof u=="string"&&(Ce=!1),Ce){if(u.nodeName){const ce=M(u.nodeName);if(!p[ce]||v[ce])throw ke("root node is forbidden and cannot be sanitized in-place")}}else if(u instanceof w)r=pt("<!---->"),c=r.ownerDocument.importNode(u,!0),c.nodeType===De.element&&c.nodeName==="BODY"||c.nodeName==="HTML"?r=c:r.appendChild(c);else{if(!ae&&!me&&!re&&u.indexOf("<")===-1)return h&&Ie?h.createHTML(u):u;if(r=pt(u),!r)return ae?null:Ie?S:""}r&&A&&le(r.firstChild);const R=mt(Ce?u:r);for(;b=R.nextNode();)gt(b)||(b.content instanceof f&&Qt(b.content),Tt(b));if(Ce)return u;if(ae){if(Ne)for(O=fe.call(r.ownerDocument);r.firstChild;)O.appendChild(r.firstChild);else O=r;return(x.shadowroot||x.shadowrootmode)&&(O=te.call(s,O,!0)),O}let W=re?r.outerHTML:r.innerHTML;return re&&p["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&P(Gt,r.ownerDocument.doctype.name)&&(W="<!DOCTYPE "+r.ownerDocument.doctype.name+`>
|
|
2
|
+
`+W),me&&He([se,j,pe],ce=>{W=Re(W,ce," ")}),h&&Ie?h.createHTML(W):W},n.setConfig=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ve(u),y=!0},n.clearConfig=function(){Ae=null,y=!1},n.isValidAttribute=function(u,t,r){Ae||Ve({});const c=M(u),b=M(t);return _t(c,b,r)},n.addHook=function(u,t){typeof t=="function"&&(C[u]=C[u]||[],Me(C[u],t))},n.removeHook=function(u){if(C[u])return At(C[u])},n.removeHooks=function(u){C[u]&&(C[u]=[])},n.removeAllHooks=function(){C={}},n}var Ot=Wt();function bn(i){e.append_styles(i,"svelte-1kjup2o",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}')}const yn=i=>({}),Dt=i=>({}),wn=i=>({}),Nt=i=>({}),Sn=i=>({}),It=i=>({}),xn=i=>({}),Pt=i=>({class:"CashierSessionExpirationIcon"});function Ut(i){let n,o,s,a,f,g,w,T,_,Y,$,Te,B=i[8]("sessionExpirationHeader")+"",H,ge,ie,z,ue,q,h,S,ee,oe,fe,F,te,C,se=i[8]("sessionExpirationEnd")+"",j,pe,Z,k,D,J,be,V,p,_e,x;const Ee=i[23].icon,E=e.create_slot(Ee,i,i[22],Pt),v=E||An(i),l=i[23].title,d=e.create_slot(l,i,i[22],It),N=i[23].text,L=e.create_slot(N,i,i[22],Nt),G=L||Cn(i),me=[Ln,vn],K=[];function re(y,A){return y[6]?0:1}return k=re(i),D=K[k]=me[k](i),{c(){n=e.element("div"),o=e.element("div"),s=e.element("div"),a=e.element("div"),f=e.svg_element("svg"),g=e.svg_element("defs"),w=e.svg_element("mask"),T=e.svg_element("circle"),_=e.svg_element("rect"),Y=e.svg_element("circle"),$=e.svg_element("circle"),Te=e.space(),H=e.text(B),ge=e.space(),ie=e.element("div"),z=e.svg_element("svg"),ue=e.svg_element("path"),q=e.space(),h=e.element("div"),S=e.element("div"),v&&v.c(),ee=e.space(),d&&d.c(),oe=e.space(),G&&G.c(),fe=e.space(),F=e.element("div"),te=e.element("button"),C=e.element("span"),j=e.text(se),pe=e.space(),Z=e.element("button"),D.c(),e.attr(T,"cx","100"),e.attr(T,"cy","100"),e.attr(T,"r","90"),e.attr(_,"x","88"),e.attr(_,"y","40"),e.attr(_,"width","24"),e.attr(_,"height","80"),e.attr(_,"rx","12"),e.attr(_,"fill","black"),e.attr(Y,"cx","100"),e.attr(Y,"cy","150"),e.attr(Y,"r","14"),e.attr(Y,"fill","black"),e.attr(w,"id","exclamation-mask"),e.attr($,"cx","100"),e.attr($,"cy","100"),e.attr($,"r","90"),e.attr($,"mask","url(#exclamation-mask)"),e.attr(f,"viewBox","0 0 200 200"),e.attr(f,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"class","CashierSessionExpirationModalHeaderTitle"),e.attr(ue,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),e.attr(z,"xmlns","http://www.w3.org/2000/svg"),e.attr(z,"viewBox","0 0 13 13"),e.attr(z,"fill","none"),e.attr(z,"class","CloseButton"),e.attr(ie,"class","ModalCloseIcon"),e.attr(s,"class","CashierSessionExpirationModalHeader"),e.attr(C,"class","CashierSessionExpirationButtonText"),e.attr(te,"type","button"),e.attr(te,"class","ModalButton Secondary"),e.attr(Z,"type","button"),e.attr(Z,"class",J="ModalButton Primary "+(i[6]?"Disabled":"")),e.attr(F,"class","ButtonsContainer"),e.attr(S,"class","CashierSessionExpiration"),e.attr(h,"class","CashierSessionExpirationModalContainer"),e.attr(o,"class","CashierSessionExpirationModalWrapper"),e.attr(n,"class","CashierSessionExpirationModalWindow"),e.attr(n,"id","CashierSessionExpirationModal"),e.add_render_callback(()=>i[25].call(n))},m(y,A){e.insert(y,n,A),e.append(n,o),e.append(o,s),e.append(s,a),e.append(a,f),e.append(f,g),e.append(g,w),e.append(w,T),e.append(w,_),e.append(w,Y),e.append(f,$),e.append(a,Te),e.append(a,H),e.append(s,ge),e.append(s,ie),e.append(ie,z),e.append(z,ue),e.append(o,q),e.append(o,h),e.append(h,S),v&&v.m(S,null),e.append(S,ee),d&&d.m(S,null),e.append(S,oe),G&&G.m(S,null),e.append(S,fe),e.append(S,F),e.append(F,te),e.append(te,C),e.append(C,j),e.append(F,pe),e.append(F,Z),K[k].m(Z,null),i[24](S),be=e.add_iframe_resize_listener(n,i[25].bind(n)),p=!0,_e||(x=[e.listen(z,"click",i[11]),e.listen(te,"click",i[11]),e.listen(Z,"click",i[9]),e.listen(n,"click",i[10])],_e=!0)},p(y,A){i=y,(!p||A[0]&256)&&B!==(B=i[8]("sessionExpirationHeader")+"")&&e.set_data(H,B),E?E.p&&(!p||A[0]&4194304)&&e.update_slot_base(E,Ee,i,i[22],p?e.get_slot_changes(Ee,i[22],A,xn):e.get_all_dirty_from_scope(i[22]),Pt):v&&v.p&&(!p||A[0]&8)&&v.p(i,p?A:[-1,-1]),d&&d.p&&(!p||A[0]&4194304)&&e.update_slot_base(d,l,i,i[22],p?e.get_slot_changes(l,i[22],A,Sn):e.get_all_dirty_from_scope(i[22]),It),L?L.p&&(!p||A[0]&4194304)&&e.update_slot_base(L,N,i,i[22],p?e.get_slot_changes(N,i[22],A,wn):e.get_all_dirty_from_scope(i[22]),Nt):G&&G.p&&(!p||A[0]&384)&&G.p(i,p?A:[-1,-1]),(!p||A[0]&256)&&se!==(se=i[8]("sessionExpirationEnd")+"")&&e.set_data(j,se);let ae=k;k=re(i),k===ae?K[k].p(i,A):(e.group_outros(),e.transition_out(K[ae],1,1,()=>{K[ae]=null}),e.check_outros(),D=K[k],D?D.p(i,A):(D=K[k]=me[k](i),D.c()),e.transition_in(D,1),D.m(Z,null)),(!p||A[0]&64&&J!==(J="ModalButton Primary "+(i[6]?"Disabled":"")))&&e.attr(Z,"class",J)},i(y){p||(e.transition_in(v,y),e.transition_in(d,y),e.transition_in(G,y),e.transition_in(D),y&&e.add_render_callback(()=>{p&&(V||(V=e.create_bidirectional_transition(n,e.fade,{duration:i[2]},!0)),V.run(1))}),p=!0)},o(y){e.transition_out(v,y),e.transition_out(d,y),e.transition_out(G,y),e.transition_out(D),y&&(V||(V=e.create_bidirectional_transition(n,e.fade,{duration:i[2]},!1)),V.run(0)),p=!1},d(y){y&&e.detach(n),v&&v.d(y),d&&d.d(y),G&&G.d(y),K[k].d(),i[24](null),be(),y&&V&&V.end(),_e=!1,e.run_all(x)}}}function Bt(i){let n,o;return{c(){n=e.element("img"),e.src_url_equal(n.src,o=`${i[3]}/set-timeout-icon.png`)||e.attr(n,"src",o),e.attr(n,"width","300px"),e.attr(n,"alt","error")},m(s,a){e.insert(s,n,a)},p(s,a){a[0]&8&&!e.src_url_equal(n.src,o=`${s[3]}/set-timeout-icon.png`)&&e.attr(n,"src",o)},d(s){s&&e.detach(n)}}}function An(i){let n,o=i[3]&&Bt(i);return{c(){o&&o.c(),n=e.empty()},m(s,a){o&&o.m(s,a),e.insert(s,n,a)},p(s,a){s[3]?o?o.p(s,a):(o=Bt(s),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(s){s&&e.detach(n),o&&o.d(s)}}}function Cn(i){let n,o,s=i[8]("sessionExpirationTitle")+"",a,f,g,w=Ot.sanitize(i[8]("sessionExpirationGeneralText",{values:{second:i[7]}}))+"";return{c(){n=e.element("span"),o=e.element("p"),a=e.text(s),f=e.space(),g=e.element("p"),e.attr(n,"class","CashierSessionExpirationText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,a),e.append(n,f),e.append(n,g),g.innerHTML=w},p(T,_){_[0]&256&&s!==(s=T[8]("sessionExpirationTitle")+"")&&e.set_data(a,s),_[0]&384&&w!==(w=Ot.sanitize(T[8]("sessionExpirationGeneralText",{values:{second:T[7]}}))+"")&&(g.innerHTML=w)},d(T){T&&e.detach(n)}}}function vn(i){let n;const o=i[23].button,s=e.create_slot(o,i,i[22],Dt),a=s||Mn(i);return{c(){a&&a.c()},m(f,g){a&&a.m(f,g),n=!0},p(f,g){s?s.p&&(!n||g[0]&4194304)&&e.update_slot_base(s,o,f,f[22],n?e.get_slot_changes(o,f[22],g,yn):e.get_all_dirty_from_scope(f[22]),Dt):a&&a.p&&(!n||g[0]&256)&&a.p(f,n?g:[-1,-1])},i(f){n||(e.transition_in(a,f),n=!0)},o(f){e.transition_out(a,f),n=!1},d(f){a&&a.d(f)}}}function Ln(i){let n,o,s,a,f,g=i[8]("sessionExpirationLoadingButton")+"",w;return{c(){n=e.element("div"),o=e.svg_element("svg"),s=e.svg_element("path"),a=e.space(),f=e.element("span"),w=e.text(g),e.attr(s,"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.attr(s,"fill","white"),e.attr(o,"class","CashierSessionExpirationButtonSpinner"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","15"),e.attr(o,"height","14"),e.attr(o,"viewBox","0 0 15 14"),e.attr(o,"fill","none"),e.attr(f,"class","CashierSessionExpirationButtonText")},m(T,_){e.insert(T,n,_),e.append(n,o),e.append(o,s),e.append(n,a),e.append(n,f),e.append(f,w)},p(T,_){_[0]&256&&g!==(g=T[8]("sessionExpirationLoadingButton")+"")&&e.set_data(w,g)},i:e.noop,o:e.noop,d(T){T&&e.detach(n)}}}function Mn(i){let n,o=i[8]("sessionExpirationGeneralButton")+"",s;return{c(){n=e.element("span"),s=e.text(o),e.attr(n,"class","CashierSessionExpirationButtonText")},m(a,f){e.insert(a,n,f),e.append(n,s)},p(a,f){f[0]&256&&o!==(o=a[8]("sessionExpirationGeneralButton")+"")&&e.set_data(s,o)},d(a){a&&e.detach(n)}}}function Rn(i){let n,o,s=i[5]&&Ut(i);return{c(){n=e.element("div"),s&&s.c()},m(a,f){e.insert(a,n,f),s&&s.m(n,null),i[26](n),o=!0},p(a,f){a[5]?s?(s.p(a,f),f[0]&32&&e.transition_in(s,1)):(s=Ut(a),s.c(),e.transition_in(s,1),s.m(n,null)):s&&(e.group_outros(),e.transition_out(s,1,1,()=>{s=null}),e.check_outros())},i(a){o||(e.transition_in(s),o=!0)},o(a){e.transition_out(s),o=!1},d(a){a&&e.detach(n),s&&s.d(),i[26](null)}}}const kn=90;function On(i,n,o){let s,a;e.component_subscribe(i,e.xPaymentSessionToken,l=>o(21,s=l)),e.component_subscribe(i,e.$format,l=>o(8,a=l));let{$$slots:f={},$$scope:g}=n;e.dayjs.extend(e.utc);let{clientstyling:w=""}=n,{clientstylingurl:T=""}=n,{width:_}=n,{height:Y}=n,{duration:$=200}=n,{assetsurl:Te=""}=n,{lang:B="en"}=n,{translationurl:H=""}=n,{endpoint:ge}=n,{currency:ie}=n,{customerid:z}=n,{selectedpaymentmethodname:ue}=n,{mbsource:q=""}=n,h,S=!1,ee=!1,oe,fe,F,te,C,se;var j;(function(l){l.PlayerSessionIsNotValid="PlayerSessionIsNotValid",l.Success="Success",l.JwtTokenError="JwtTokenError"})(j||(j={}));const pe=l=>{l.data.type==="StartSessionCountdown"&&(te=l.data.paymentMethodName)},Z=l=>{try{return JSON.parse(atob(l.split(".")[1]))}catch(d){return null}},k=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:C},window.location.href)},D=l=>{o(5,S=!1);const d=Z(l);d&&(fe=d==null?void 0:d.exp,o(7,oe=fe),F&&clearInterval(F),F=setInterval(()=>{const N=Math.floor(new Date().getTime()/1e3);o(7,oe=fe-N),oe<=kn&&o(5,S=!0),N>=fe&&(J(),window.postMessage({type:"SessionExpired"},window.location.href))},1e3))},J=()=>{o(7,oe=0),o(5,S=!1),clearInterval(F)},be=()=>{if(ee)return;const l=new URL(`${ge}/v1/player/${z}/payment/GetPaymentMethod`),d=new Headers;o(6,ee=!0),d.append("accept","application/json"),d.append("Content-Type","application/json"),d.append("X-Client-Request-Timestamp",e.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const N={method:"POST",mode:"cors",headers:d,body:JSON.stringify({PaymentMethodName:te||ue,Currency:ie,XPaymentSessionToken:s})};fetch(l,N).then(L=>L.json()).then(L=>{if(L.error){window.postMessage({type:"ShowSessionError",error:L.error},window.location.href),J();return}if(L.ResponseCode===j.PlayerSessionIsNotValid||L.ResponseCode===j.JwtTokenError){C=L.ResponseCode,J(),k();return}if(L.ResponseCode!==j.Success){C=L.ResponseCode,J();return}L.XPaymentSessionToken&&e.xPaymentSessionToken.set(L.XPaymentSessionToken)}).finally(()=>o(6,ee=!1))},V=l=>{const d=l.currentTarget;l.target===d&&be()},p=()=>{fetch(H).then(d=>d.json()).then(d=>{Object.keys(d).forEach(N=>{wt(N,d[N])})}).catch(d=>{console.log(d)})},_e=()=>{window.postMessage({type:"Cashier:goToHome"},window.location.href),o(5,S=!1)};Object.keys(St).forEach(l=>{wt(l,St[l])});const x=()=>{$t(B)};e.onMount(()=>(window.addEventListener("message",pe,!1),()=>{window.removeEventListener("message",pe)})),e.onDestroy(()=>{clearInterval(F)});function Ee(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}function E(){_=this.clientWidth,Y=this.clientHeight,o(0,_),o(1,Y)}function v(l){e.binding_callbacks[l?"unshift":"push"](()=>{h=l,o(4,h)})}return i.$$set=l=>{"clientstyling"in l&&o(12,w=l.clientstyling),"clientstylingurl"in l&&o(13,T=l.clientstylingurl),"width"in l&&o(0,_=l.width),"height"in l&&o(1,Y=l.height),"duration"in l&&o(2,$=l.duration),"assetsurl"in l&&o(3,Te=l.assetsurl),"lang"in l&&o(14,B=l.lang),"translationurl"in l&&o(15,H=l.translationurl),"endpoint"in l&&o(16,ge=l.endpoint),"currency"in l&&o(17,ie=l.currency),"customerid"in l&&o(18,z=l.customerid),"selectedpaymentmethodname"in l&&o(19,ue=l.selectedpaymentmethodname),"mbsource"in l&&o(20,q=l.mbsource),"$$scope"in l&&o(22,g=l.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&2097152&&D(s),i.$$.dirty[0]&16384&&B&&x(),i.$$.dirty[0]&4112&&w&&h&&Xe.setClientStyling(h,w),i.$$.dirty[0]&8208&&T&&h&&Xe.setClientStylingURL(h,T),i.$$.dirty[0]&1048592&&q&&h&&Xe.setStreamStyling(h,`${q}.Style`,se),i.$$.dirty[0]&32768&&H&&p()},[_,Y,$,Te,h,S,ee,oe,a,be,V,_e,w,T,B,H,ge,ie,z,ue,q,s,g,f,Ee,E,v]}class Yt extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,On,Rn,e.safe_not_equal,{clientstyling:12,clientstylingurl:13,width:0,height:1,duration:2,assetsurl:3,lang:14,translationurl:15,endpoint:16,currency:17,customerid:18,selectedpaymentmethodname:19,mbsource:20},bn,[-1,-1])}get clientstyling(){return this.$$.ctx[12]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get width(){return this.$$.ctx[0]}set width(n){this.$$set({width:n}),e.flush()}get height(){return this.$$.ctx[1]}set height(n){this.$$set({height:n}),e.flush()}get duration(){return this.$$.ctx[2]}set duration(n){this.$$set({duration:n}),e.flush()}get assetsurl(){return this.$$.ctx[3]}set assetsurl(n){this.$$set({assetsurl:n}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(n){this.$$set({lang:n}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get endpoint(){return this.$$.ctx[16]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get currency(){return this.$$.ctx[17]}set currency(n){this.$$set({currency:n}),e.flush()}get customerid(){return this.$$.ctx[18]}set customerid(n){this.$$set({customerid:n}),e.flush()}get selectedpaymentmethodname(){return this.$$.ctx[19]}set selectedpaymentmethodname(n){this.$$set({selectedpaymentmethodname:n}),e.flush()}get mbsource(){return this.$$.ctx[20]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}}e.create_custom_element(Yt,{clientstyling:{},clientstylingurl:{},width:{},height:{},duration:{},assetsurl:{},lang:{},translationurl:{},endpoint:{},currency:{},customerid:{},selectedpaymentmethodname:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=Yt;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
|
|
3
|
-
y(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
4
|
-
}
|
|
1
|
+
import { S as f, b as h, s as y, f as o, d, z as c, g, l as p, n as k, p as b, r as S, y as x, c as v } from "./CashierPage-BHPTJcjL.js";
|
|
2
|
+
import { s as w, a as _, b as C } from "./CashierHeader-LzICktCn.js";
|
|
5
3
|
function z(e) {
|
|
4
|
+
d(e, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
|
|
5
|
+
}
|
|
6
|
+
function j(e) {
|
|
6
7
|
let t;
|
|
7
8
|
return {
|
|
8
9
|
c() {
|
|
@@ -23,7 +24,7 @@ function L(e, t, i) {
|
|
|
23
24
|
let { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l = "" } = t, s, u;
|
|
24
25
|
S(() => () => {
|
|
25
26
|
});
|
|
26
|
-
function
|
|
27
|
+
function m(n) {
|
|
27
28
|
x[n ? "unshift" : "push"](() => {
|
|
28
29
|
s = n, i(0, s);
|
|
29
30
|
});
|
|
@@ -33,24 +34,24 @@ function L(e, t, i) {
|
|
|
33
34
|
}, e.$$.update = () => {
|
|
34
35
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
35
36
|
3 && r && s && w(s, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
36
|
-
5 && a && s &&
|
|
37
|
-
9 && l && s &&
|
|
38
|
-
}, [s, r, a, l,
|
|
37
|
+
5 && a && s && _(s, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
38
|
+
9 && l && s && C(s, `${l}.Style`, u);
|
|
39
|
+
}, [s, r, a, l, m];
|
|
39
40
|
}
|
|
40
|
-
class M extends
|
|
41
|
+
class M extends f {
|
|
41
42
|
constructor(t) {
|
|
42
|
-
super(),
|
|
43
|
+
super(), h(
|
|
43
44
|
this,
|
|
44
45
|
t,
|
|
45
46
|
L,
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
j,
|
|
48
|
+
y,
|
|
48
49
|
{
|
|
49
50
|
clientstyling: 1,
|
|
50
51
|
clientstylingurl: 2,
|
|
51
52
|
mbsource: 3
|
|
52
53
|
},
|
|
53
|
-
|
|
54
|
+
z
|
|
54
55
|
);
|
|
55
56
|
}
|
|
56
57
|
get clientstyling() {
|
|
@@ -72,7 +73,7 @@ class M extends d {
|
|
|
72
73
|
this.$$set({ mbsource: t }), o();
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
|
-
|
|
76
|
+
v(M, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
76
77
|
export {
|
|
77
78
|
M as default
|
|
78
79
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-DoQEkSE2.cjs"),c=require("./CashierHeader-Cxg2Bbwv.cjs");function y(n){t.append_styles(n,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function f(n){let e;return{c(){e=t.element("div"),e.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',t.attr(e,"class","CashierSpinner")},m(r,l){t.insert(r,e,l),n[4](e)},p:t.noop,i:t.noop,o:t.noop,d(r){r&&t.detach(e),n[4](null)}}}function m(n,e,r){let{clientstyling:l=""}=e,{clientstylingurl:o=""}=e,{mbsource:a=""}=e,i,h;t.onMount(()=>()=>{});function d(s){t.binding_callbacks[s?"unshift":"push"](()=>{i=s,r(0,i)})}return n.$$set=s=>{"clientstyling"in s&&r(1,l=s.clientstyling),"clientstylingurl"in s&&r(2,o=s.clientstylingurl),"mbsource"in s&&r(3,a=s.mbsource)},n.$$.update=()=>{n.$$.dirty&3&&l&&i&&c.setClientStyling(i,l),n.$$.dirty&5&&o&&i&&c.setClientStylingURL(i,o),n.$$.dirty&9&&a&&i&&c.setStreamStyling(i,`${a}.Style`,h)},[i,l,o,a,d]}class u extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,m,f,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},y)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(u,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=u;
|