@everymatrix/cashier-page 1.98.7 → 1.98.9
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-CLl1dEO0.js → CashierCarousel-BzdUV7XF.js} +160 -136
- package/components/{CashierCarousel-jiScaw1m.js → CashierCarousel-FFsdS-lS.js} +166 -142
- package/components/CashierCarousel-zmZZjXPR.cjs +1 -0
- package/components/{CashierError-BgzGU74G.js → CashierError-DM9cHWYk.js} +282 -178
- package/components/{CashierError-nb2MHtLH.cjs → CashierError-DtmAFp4L.cjs} +1 -1
- package/components/{CashierError-ulLnVgQF.js → CashierError-R9QTGjHi.js} +282 -178
- package/components/{CashierHeader-DEksQqYQ.js → CashierHeader-BGa8_twf.js} +144 -130
- package/components/{CashierHeader-jQ2-E617.js → CashierHeader-BoWdCzOy.js} +144 -130
- package/components/CashierHeader-DL7CeVPX.cjs +1 -0
- package/components/{CashierIframeRedirect-BUy5m6fN.js → CashierIframeRedirect-BGDgKj5q.js} +38 -32
- package/components/{CashierIframeRedirect-CyY79191.js → CashierIframeRedirect-ByL4GN6L.js} +38 -32
- package/components/CashierIframeRedirect-DwOnILP1.cjs +1 -0
- package/components/{CashierMethodDetails-DmHKHr2M.cjs → CashierMethodDetails-CMadBp5s.cjs} +4 -4
- package/components/{CashierMethodDetails-BHGrCcE3.js → CashierMethodDetails-DgFi6GOg.js} +1345 -1149
- package/components/{CashierMethodDetails-B-klrcoA.js → CashierMethodDetails-DwAKidqM.js} +1500 -1304
- package/components/{CashierMethodsList-u11i0SYf.js → CashierMethodsList-B0Y7Ov2y.js} +136 -112
- package/components/CashierMethodsList-BKSWzfhx.cjs +1 -0
- package/components/{CashierMethodsList-KXr3hScy.js → CashierMethodsList-BttlgP8I.js} +152 -128
- package/components/{CashierModal-Ke9TZX5s.js → CashierModal-BAqyZ3yN.js} +2 -2
- package/components/{CashierModal-4iF9ylQT.js → CashierModal-CTEreymk.js} +2 -2
- package/components/{CashierModal-CcawnfUI.cjs → CashierModal-DYiiDdjF.cjs} +1 -1
- package/components/{CashierNotifications-DquKOU8w.js → CashierNotifications-5vMGexnB.js} +1 -1
- package/components/{CashierNotifications-CY2B13Wf.js → CashierNotifications-C9DAtUCd.js} +1 -1
- package/components/{CashierNotifications-wQG099OX.cjs → CashierNotifications-DeciL3hL.cjs} +1 -1
- package/components/{CashierPage-895aolw0.js → CashierPage-Cyh00U_t.js} +1216 -1118
- package/components/{CashierPage-DEYpTaJv.cjs → CashierPage-Datx6Ztd.cjs} +6 -6
- package/components/{CashierPage-Bz6JgmrH.js → CashierPage-DmSMSwFD.js} +712 -614
- package/components/{CashierReceiptPage-CGcmTBRp.js → CashierReceiptPage-2QLgzHKu.js} +486 -302
- package/components/{CashierReceiptPage-BCh5OfiT.cjs → CashierReceiptPage-CljAf_RX.cjs} +2 -2
- package/components/{CashierReceiptPage-DNsdCwQQ.js → CashierReceiptPage-zipsq7HA.js} +483 -299
- package/components/{CashierSessionExpirationModal-i5NfYzNE.js → CashierSessionExpirationModal-BHUuaz3G.js} +141 -125
- package/components/CashierSessionExpirationModal-BhdcM6-i.cjs +2 -0
- package/components/{CashierSessionExpirationModal-IfrOHdOp.js → CashierSessionExpirationModal-CPiyWnR6.js} +141 -125
- package/components/{CashierSpinner-bOYmQpsr.js → CashierSpinner-CfN6GP0k.js} +2 -2
- package/components/{CashierSpinner-CKdmXXKt.cjs → CashierSpinner-DK9MV_jW.cjs} +1 -1
- package/components/{CashierSpinner-C9Ra-0IT.js → CashierSpinner-DlmmgiCp.js} +2 -2
- package/components/{CashierStepUp-B3Ph1OSf.js → CashierStepUp-D4IutqnI.js} +397 -351
- package/components/{CashierStepUp-CKae09kD.js → CashierStepUp-DBkCHzU6.js} +371 -325
- package/components/CashierStepUp-f6d-L0Pv.cjs +1 -0
- package/components/{CashierTransactionHistory-_uQpfmaM.js → CashierTransactionHistory-Bfx6cEFg.js} +522 -472
- package/components/{CashierTransactionHistory-DkPMVofl.js → CashierTransactionHistory-BmgU4GU7.js} +494 -444
- package/components/CashierTransactionHistory-Bxd87eQt.cjs +1 -0
- package/components/CashierVerifications-B-u47VhR.cjs +1 -0
- package/components/{CashierVerifications-CA42knBf.js → CashierVerifications-Bi_7cW9r.js} +256 -210
- package/components/{CashierVerifications-C3vBxGTw.js → CashierVerifications-UTO3n0Ei.js} +245 -199
- package/components/{TxnStatusIcon-T3_oGTiJ.js → TxnStatusIcon-CDynHfdT.js} +1 -1
- package/components/{TxnStatusIcon-_ohfqibs.js → TxnStatusIcon-XWXNjZi6.js} +1 -1
- package/components/{TxnStatusIcon-ObLzHWKw.cjs → TxnStatusIcon-xNz_TX3o.cjs} +1 -1
- package/components/{TxnTypeIcons-DhQNGQt2.js → TxnTypeIcons-Bui9VGqk.js} +1 -1
- package/components/{TxnTypeIcons-gD4j8VCB.js → TxnTypeIcons-D0YhmAk8.js} +1 -1
- package/components/{TxnTypeIcons-mX1zqVBL.cjs → TxnTypeIcons-D3xjja9q.cjs} +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-Dh5Q3q4o.cjs +0 -1
- package/components/CashierHeader-DA_ReO25.cjs +0 -1
- package/components/CashierIframeRedirect-CB1_eaMN.cjs +0 -1
- package/components/CashierMethodsList-BvOniQPF.cjs +0 -1
- package/components/CashierSessionExpirationModal-CIrMZkSD.cjs +0 -2
- package/components/CashierStepUp-DIQ9DrxX.cjs +0 -1
- package/components/CashierTransactionHistory-Bkqw8dMT.cjs +0 -1
- package/components/CashierVerifications-BZPBsrmc.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as
|
|
2
|
-
import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-
|
|
3
|
-
function
|
|
1
|
+
import { a as An, i as Cn, $ as vn, S as Ln, b as Mn, s as Rn, f as J, c as kn, e as Me, t as Ae, g as ye, a7 as un, a8 as fn, k as Re, m as R, p as Ut, M as Bt, N as On, q as Dn, a9 as Nn, d as $e, F as In, aa as zt, ab as Ht, H as Ft, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Pn, z as Ze, Q as se, n as be, w as Ye, R as Gt, x as Wt, r as Un, y as Yt, J as jt, A as Bn, B as zn } from "./CashierPage-Cyh00U_t.js";
|
|
2
|
+
import { s as Hn, a as Fn, b as Gn } from "./CashierHeader-BGa8_twf.js";
|
|
3
|
+
function Xt(n, t) {
|
|
4
4
|
An(n, t);
|
|
5
5
|
}
|
|
6
6
|
function Wn(n) {
|
|
@@ -8,7 +8,7 @@ function Wn(n) {
|
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), vn.set(n);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const Vt = {
|
|
12
12
|
en: {
|
|
13
13
|
sessionExpirationHeader: "Session Warning",
|
|
14
14
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -56,6 +56,22 @@ const Xt = {
|
|
|
56
56
|
sessionExpirationGeneralButton: "Sessie voortzetten",
|
|
57
57
|
sessionExpirationLoadingButton: "Verwerken...",
|
|
58
58
|
sessionExpirationEnd: "Sessie beëindigen"
|
|
59
|
+
},
|
|
60
|
+
ru: {
|
|
61
|
+
sessionExpirationHeader: "Предупреждение о сессии",
|
|
62
|
+
sessionExpirationTitle: "Ваша сессия скоро завершится!",
|
|
63
|
+
sessionExpirationGeneralText: "Ваша сессия автоматически завершится через <b>{second} секунд</b>.",
|
|
64
|
+
sessionExpirationGeneralButton: "Продолжить сессию",
|
|
65
|
+
sessionExpirationLoadingButton: "Обработка...",
|
|
66
|
+
sessionExpirationEnd: "Завершить сессию"
|
|
67
|
+
},
|
|
68
|
+
az: {
|
|
69
|
+
sessionExpirationHeader: "Sessiya Xəbərdarlığı",
|
|
70
|
+
sessionExpirationTitle: "Sessiyanızın müddəti bitmək üzrədir!",
|
|
71
|
+
sessionExpirationGeneralText: "Sessiyanız <b>{second} saniyə</b> ərzində avtomatik olaraq sona çatacaq.",
|
|
72
|
+
sessionExpirationGeneralButton: "Sessiyaya davam et",
|
|
73
|
+
sessionExpirationLoadingButton: "İcra olunur...",
|
|
74
|
+
sessionExpirationEnd: "Sessiyanı sonlandır"
|
|
59
75
|
}
|
|
60
76
|
};
|
|
61
77
|
/*! @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 */
|
|
@@ -64,7 +80,7 @@ const {
|
|
|
64
80
|
setPrototypeOf: qt,
|
|
65
81
|
isFrozen: Yn,
|
|
66
82
|
getPrototypeOf: jn,
|
|
67
|
-
getOwnPropertyDescriptor:
|
|
83
|
+
getOwnPropertyDescriptor: Xn
|
|
68
84
|
} = Object;
|
|
69
85
|
let {
|
|
70
86
|
freeze: z,
|
|
@@ -86,7 +102,7 @@ dt || (dt = function(t, i, o) {
|
|
|
86
102
|
ht || (ht = function(t, i) {
|
|
87
103
|
return new t(...i);
|
|
88
104
|
});
|
|
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),
|
|
105
|
+
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), Vn = Z(String.prototype.indexOf), qn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), B = Z(RegExp.prototype.test), He = Jn(TypeError);
|
|
90
106
|
function Z(n) {
|
|
91
107
|
return function(t) {
|
|
92
108
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
@@ -128,7 +144,7 @@ function Le(n) {
|
|
|
128
144
|
}
|
|
129
145
|
function Fe(n, t) {
|
|
130
146
|
for (; n !== null; ) {
|
|
131
|
-
const o =
|
|
147
|
+
const o = Xn(n, t);
|
|
132
148
|
if (o) {
|
|
133
149
|
if (o.get)
|
|
134
150
|
return Z(o.get);
|
|
@@ -202,19 +218,19 @@ function gn() {
|
|
|
202
218
|
const o = i, r = o.currentScript, {
|
|
203
219
|
DocumentFragment: f,
|
|
204
220
|
HTMLTemplateElement: _,
|
|
205
|
-
Node:
|
|
221
|
+
Node: x,
|
|
206
222
|
Element: b,
|
|
207
223
|
NodeFilter: E,
|
|
208
|
-
NamedNodeMap:
|
|
224
|
+
NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
209
225
|
HTMLFormElement: ne,
|
|
210
226
|
DOMParser: Ce,
|
|
211
227
|
trustedTypes: H
|
|
212
|
-
} = n, F = b.prototype,
|
|
228
|
+
} = n, F = b.prototype, we = Fe(F, "cloneNode"), ae = Fe(F, "remove"), G = Fe(F, "nextSibling"), de = Fe(F, "childNodes"), K = Fe(F, "parentNode");
|
|
213
229
|
if (typeof _ == "function") {
|
|
214
230
|
const c = i.createElement("template");
|
|
215
231
|
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
216
232
|
}
|
|
217
|
-
let g,
|
|
233
|
+
let g, S = "";
|
|
218
234
|
const {
|
|
219
235
|
implementation: ie,
|
|
220
236
|
createNodeIterator: le,
|
|
@@ -227,7 +243,7 @@ function gn() {
|
|
|
227
243
|
t.isSupported = typeof mn == "function" && typeof K == "function" && ie && ie.createHTMLDocument !== void 0;
|
|
228
244
|
const {
|
|
229
245
|
MUSTACHE_EXPR: ce,
|
|
230
|
-
ERB_EXPR:
|
|
246
|
+
ERB_EXPR: V,
|
|
231
247
|
TMPLIT_EXPR: ge,
|
|
232
248
|
DATA_ATTR: Q,
|
|
233
249
|
ARIA_ATTR: D,
|
|
@@ -238,9 +254,9 @@ function gn() {
|
|
|
238
254
|
let {
|
|
239
255
|
IS_ALLOWED_URI: q
|
|
240
256
|
} = tn, m = null;
|
|
241
|
-
const
|
|
257
|
+
const xe = d({}, [...Kt, ...ut, ...ft, ...mt, ...Qt]);
|
|
242
258
|
let A = null;
|
|
243
|
-
const
|
|
259
|
+
const Se = d({}, [...$t, ...pt, ...en, ...Qe]);
|
|
244
260
|
let T = Object.seal(pn(null, {
|
|
245
261
|
tagNameCheck: {
|
|
246
262
|
writable: !0,
|
|
@@ -260,57 +276,57 @@ function gn() {
|
|
|
260
276
|
enumerable: !0,
|
|
261
277
|
value: !1
|
|
262
278
|
}
|
|
263
|
-
})), L = null, a = null, h = !0, P = !0, M = !1, Y = !0, _e = !1, ee = !0, ue = !1,
|
|
279
|
+
})), L = null, a = null, h = !0, P = !0, M = !1, Y = !0, _e = !1, ee = !0, ue = !1, w = !1, C = !1, fe = !1, je = !1, Xe = !1, gt = !0, _t = !1;
|
|
264
280
|
const _n = "user-content-";
|
|
265
281
|
let ot = !0, Ie = !1, ke = {}, Oe = null;
|
|
266
282
|
const Et = d({}, ["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
283
|
let Tt = null;
|
|
268
284
|
const bt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
269
285
|
let st = null;
|
|
270
|
-
const
|
|
286
|
+
const yt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
|
|
271
287
|
let De = Ee, rt = !1, at = null;
|
|
272
|
-
const En = d({}, [
|
|
288
|
+
const En = d({}, [Ve, qe, Ee], ct);
|
|
273
289
|
let Pe = null;
|
|
274
290
|
const Tn = ["application/xhtml+xml", "text/html"], bn = "text/html";
|
|
275
291
|
let k = null, Ne = null;
|
|
276
|
-
const
|
|
292
|
+
const yn = i.createElement("form"), wt = function(e) {
|
|
277
293
|
return e instanceof RegExp || e instanceof Function;
|
|
278
294
|
}, lt = function() {
|
|
279
295
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
280
296
|
if (!(Ne && Ne === e)) {
|
|
281
297
|
if ((!e || typeof e != "object") && (e = {}), e = Le(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
|
|
282
|
-
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Pe === "application/xhtml+xml" ? ct : it, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) :
|
|
283
|
-
Le(
|
|
298
|
+
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Pe === "application/xhtml+xml" ? ct : it, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : xe, A = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : Se, at = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : En, st = re(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
299
|
+
Le(yt),
|
|
284
300
|
// eslint-disable-line indent
|
|
285
301
|
e.ADD_URI_SAFE_ATTR,
|
|
286
302
|
// eslint-disable-line indent
|
|
287
303
|
k
|
|
288
304
|
// eslint-disable-line indent
|
|
289
|
-
) :
|
|
305
|
+
) : yt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
|
|
290
306
|
Le(bt),
|
|
291
307
|
// eslint-disable-line indent
|
|
292
308
|
e.ADD_DATA_URI_TAGS,
|
|
293
309
|
// eslint-disable-line indent
|
|
294
310
|
k
|
|
295
311
|
// eslint-disable-line indent
|
|
296
|
-
) : bt, Oe = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Et, L = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, P = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1,
|
|
312
|
+
) : bt, Oe = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Et, L = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, P = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, ot = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || dn, De = e.NAMESPACE || Ee, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && wt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && wt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (P = !1), je && (fe = !0), ke && (m = d({}, Qt), A = [], ke.html === !0 && (d(m, Kt), d(A, $t)), ke.svg === !0 && (d(m, ut), d(A, pt), d(A, Qe)), ke.svgFilters === !0 && (d(m, ft), d(A, pt), d(A, Qe)), ke.mathMl === !0 && (d(m, mt), d(A, en), d(A, Qe))), e.ADD_TAGS && (m === xe && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (A === Se && (A = Le(A)), d(A, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Et && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), ot && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
297
313
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
298
314
|
throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
299
315
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
300
316
|
throw He('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
301
|
-
g = e.TRUSTED_TYPES_POLICY,
|
|
317
|
+
g = e.TRUSTED_TYPES_POLICY, S = g.createHTML("");
|
|
302
318
|
} else
|
|
303
|
-
g === void 0 && (g = li(H, r)), g !== null && typeof
|
|
319
|
+
g === void 0 && (g = li(H, r)), g !== null && typeof S == "string" && (S = g.createHTML(""));
|
|
304
320
|
z && z(e), Ne = e;
|
|
305
321
|
}
|
|
306
|
-
},
|
|
322
|
+
}, xt = d({}, ["mi", "mo", "mn", "ms", "mtext"]), St = d({}, ["foreignobject", "annotation-xml"]), wn = d({}, ["title", "style", "font", "a", "script"]), At = d({}, [...ut, ...ft, ...Kn]), Ct = d({}, [...mt, ...Qn]), xn = function(e) {
|
|
307
323
|
let s = K(e);
|
|
308
324
|
(!s || !s.tagName) && (s = {
|
|
309
325
|
namespaceURI: De,
|
|
310
326
|
tagName: "template"
|
|
311
327
|
});
|
|
312
|
-
const l = it(e.tagName),
|
|
313
|
-
return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI ===
|
|
328
|
+
const l = it(e.tagName), y = it(s.tagName);
|
|
329
|
+
return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI === Ve ? l === "svg" && (y === "annotation-xml" || xt[y]) : !!At[l] : e.namespaceURI === Ve ? s.namespaceURI === Ee ? l === "math" : s.namespaceURI === qe ? l === "math" && St[y] : !!Ct[l] : e.namespaceURI === Ee ? s.namespaceURI === qe && !St[y] || s.namespaceURI === Ve && !xt[y] ? !1 : !Ct[l] && (wn[l] || !At[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
|
|
314
330
|
}, me = function(e) {
|
|
315
331
|
Be(t.removed, {
|
|
316
332
|
element: e
|
|
@@ -352,16 +368,16 @@ function gn() {
|
|
|
352
368
|
l = O && O[0];
|
|
353
369
|
}
|
|
354
370
|
Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
355
|
-
const
|
|
371
|
+
const y = g ? g.createHTML(e) : e;
|
|
356
372
|
if (De === Ee)
|
|
357
373
|
try {
|
|
358
|
-
s = new Ce().parseFromString(
|
|
374
|
+
s = new Ce().parseFromString(y, Pe);
|
|
359
375
|
} catch (O) {
|
|
360
376
|
}
|
|
361
377
|
if (!s || !s.documentElement) {
|
|
362
378
|
s = ie.createDocument(De, "template", null);
|
|
363
379
|
try {
|
|
364
|
-
s.documentElement.innerHTML = rt ?
|
|
380
|
+
s.documentElement.innerHTML = rt ? S : y;
|
|
365
381
|
} catch (O) {
|
|
366
382
|
}
|
|
367
383
|
}
|
|
@@ -376,12 +392,12 @@ function gn() {
|
|
|
376
392
|
null
|
|
377
393
|
);
|
|
378
394
|
}, Mt = function(e) {
|
|
379
|
-
return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof
|
|
395
|
+
return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof X) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
380
396
|
}, Rt = function(e) {
|
|
381
|
-
return typeof
|
|
397
|
+
return typeof x == "function" && e instanceof x;
|
|
382
398
|
}, Te = function(e, s, l) {
|
|
383
|
-
v[e] && Ke(v[e], (
|
|
384
|
-
|
|
399
|
+
v[e] && Ke(v[e], (y) => {
|
|
400
|
+
y.call(t, s, l, Ne);
|
|
385
401
|
});
|
|
386
402
|
}, kt = function(e) {
|
|
387
403
|
let s = null;
|
|
@@ -397,24 +413,24 @@ function gn() {
|
|
|
397
413
|
if (!L[l] && Dt(l) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
398
414
|
return !1;
|
|
399
415
|
if (ot && !Oe[l]) {
|
|
400
|
-
const
|
|
401
|
-
if (N &&
|
|
416
|
+
const y = K(e) || e.parentNode, N = de(e) || e.childNodes;
|
|
417
|
+
if (N && y) {
|
|
402
418
|
const O = N.length;
|
|
403
419
|
for (let j = O - 1; j >= 0; --j) {
|
|
404
|
-
const pe =
|
|
405
|
-
pe.__removalCount = (e.__removalCount || 0) + 1,
|
|
420
|
+
const pe = we(N[j], !0);
|
|
421
|
+
pe.__removalCount = (e.__removalCount || 0) + 1, y.insertBefore(pe, G(e));
|
|
406
422
|
}
|
|
407
423
|
}
|
|
408
424
|
}
|
|
409
425
|
return me(e), !0;
|
|
410
426
|
}
|
|
411
|
-
return e instanceof b && !
|
|
412
|
-
s = ze(s,
|
|
427
|
+
return e instanceof b && !xn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && B(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Ke([ce, V, ge], (y) => {
|
|
428
|
+
s = ze(s, y, " ");
|
|
413
429
|
}), e.textContent !== s && (Be(t.removed, {
|
|
414
430
|
element: e.cloneNode()
|
|
415
431
|
}), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
|
|
416
432
|
}, Ot = function(e, s, l) {
|
|
417
|
-
if (gt && (s === "id" || s === "name") && (l in i || l in
|
|
433
|
+
if (gt && (s === "id" || s === "name") && (l in i || l in yn))
|
|
418
434
|
return !1;
|
|
419
435
|
if (!(P && !a[s] && B(Q, s))) {
|
|
420
436
|
if (!(h && B(D, s))) {
|
|
@@ -430,7 +446,7 @@ function gn() {
|
|
|
430
446
|
return !1;
|
|
431
447
|
} else if (!st[s]) {
|
|
432
448
|
if (!B(q, ze(l, $, ""))) {
|
|
433
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" &&
|
|
449
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(l, "data:") === 0 && Tt[e])) {
|
|
434
450
|
if (!(M && !B(I, ze(l, $, "")))) {
|
|
435
451
|
if (l)
|
|
436
452
|
return !1;
|
|
@@ -456,9 +472,9 @@ function gn() {
|
|
|
456
472
|
keepAttr: !0,
|
|
457
473
|
allowedAttributes: A
|
|
458
474
|
};
|
|
459
|
-
let
|
|
460
|
-
for (;
|
|
461
|
-
const N = s[
|
|
475
|
+
let y = s.length;
|
|
476
|
+
for (; y--; ) {
|
|
477
|
+
const N = s[y], {
|
|
462
478
|
name: O,
|
|
463
479
|
namespaceURI: j,
|
|
464
480
|
value: pe
|
|
@@ -474,7 +490,7 @@ function gn() {
|
|
|
474
490
|
Je(O, e);
|
|
475
491
|
continue;
|
|
476
492
|
}
|
|
477
|
-
_e && Ke([ce,
|
|
493
|
+
_e && Ke([ce, V, ge], (Pt) => {
|
|
478
494
|
U = ze(U, Pt, " ");
|
|
479
495
|
});
|
|
480
496
|
const It = k(e.nodeName);
|
|
@@ -497,7 +513,7 @@ function gn() {
|
|
|
497
513
|
}
|
|
498
514
|
}
|
|
499
515
|
Te("afterSanitizeAttributes", e, null);
|
|
500
|
-
},
|
|
516
|
+
}, Sn = function c(e) {
|
|
501
517
|
let s = null;
|
|
502
518
|
const l = Lt(e);
|
|
503
519
|
for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
@@ -505,7 +521,7 @@ function gn() {
|
|
|
505
521
|
Te("afterSanitizeShadowDOM", e, null);
|
|
506
522
|
};
|
|
507
523
|
return t.sanitize = function(c) {
|
|
508
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null,
|
|
524
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, y = null, N = null;
|
|
509
525
|
if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
|
|
510
526
|
if (typeof c.toString == "function") {
|
|
511
527
|
if (c = c.toString(), typeof c != "string")
|
|
@@ -514,25 +530,25 @@ function gn() {
|
|
|
514
530
|
throw He("toString is not a function");
|
|
515
531
|
if (!t.isSupported)
|
|
516
532
|
return c;
|
|
517
|
-
if (
|
|
533
|
+
if (w || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
518
534
|
if (c.nodeName) {
|
|
519
535
|
const pe = k(c.nodeName);
|
|
520
536
|
if (!m[pe] || L[pe])
|
|
521
537
|
throw He("root node is forbidden and cannot be sanitized in-place");
|
|
522
538
|
}
|
|
523
|
-
} else if (c instanceof
|
|
539
|
+
} else if (c instanceof x)
|
|
524
540
|
s = vt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
525
541
|
else {
|
|
526
542
|
if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
|
|
527
543
|
c.indexOf("<") === -1)
|
|
528
|
-
return g &&
|
|
544
|
+
return g && Xe ? g.createHTML(c) : c;
|
|
529
545
|
if (s = vt(c), !s)
|
|
530
|
-
return fe ? null :
|
|
546
|
+
return fe ? null : Xe ? S : "";
|
|
531
547
|
}
|
|
532
548
|
s && C && me(s.firstChild);
|
|
533
549
|
const O = Lt(Ie ? c : s);
|
|
534
|
-
for (;
|
|
535
|
-
kt(
|
|
550
|
+
for (; y = O.nextNode(); )
|
|
551
|
+
kt(y) || (y.content instanceof f && Sn(y.content), Nt(y));
|
|
536
552
|
if (Ie)
|
|
537
553
|
return c;
|
|
538
554
|
if (fe) {
|
|
@@ -545,18 +561,18 @@ function gn() {
|
|
|
545
561
|
}
|
|
546
562
|
let j = ue ? s.outerHTML : s.innerHTML;
|
|
547
563
|
return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && B(hn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
548
|
-
` + j), _e && Ke([ce,
|
|
564
|
+
` + j), _e && Ke([ce, V, ge], (pe) => {
|
|
549
565
|
j = ze(j, pe, " ");
|
|
550
|
-
}), g &&
|
|
566
|
+
}), g && Xe ? g.createHTML(j) : j;
|
|
551
567
|
}, t.setConfig = function() {
|
|
552
568
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
553
|
-
lt(c),
|
|
569
|
+
lt(c), w = !0;
|
|
554
570
|
}, t.clearConfig = function() {
|
|
555
|
-
Ne = null,
|
|
571
|
+
Ne = null, w = !1;
|
|
556
572
|
}, t.isValidAttribute = function(c, e, s) {
|
|
557
573
|
Ne || lt({});
|
|
558
|
-
const l = k(c),
|
|
559
|
-
return Ot(l,
|
|
574
|
+
const l = k(c), y = k(e);
|
|
575
|
+
return Ot(l, y, s);
|
|
560
576
|
}, t.addHook = function(c, e) {
|
|
561
577
|
typeof e == "function" && (v[c] = v[c] || [], Be(v[c], e));
|
|
562
578
|
}, t.removeHook = function(c) {
|
|
@@ -574,18 +590,18 @@ function ci(n) {
|
|
|
574
590
|
}
|
|
575
591
|
const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
576
592
|
function ln(n) {
|
|
577
|
-
let t, i, o, r, f, _,
|
|
593
|
+
let t, i, o, r, f, _, x, b, E, X, ne, Ce, H = (
|
|
578
594
|
/*$_*/
|
|
579
595
|
n[8]("sessionExpirationHeader") + ""
|
|
580
|
-
), F,
|
|
596
|
+
), F, we, ae, G, de, K, g, S, ie, le, he, W, oe, v, ce = (
|
|
581
597
|
/*$_*/
|
|
582
598
|
n[8]("sessionExpirationEnd") + ""
|
|
583
|
-
),
|
|
584
|
-
const
|
|
599
|
+
), V, ge, Q, D, I, $, ve, q, m, xe, A;
|
|
600
|
+
const Se = (
|
|
585
601
|
/*#slots*/
|
|
586
602
|
n[23].icon
|
|
587
603
|
), T = $e(
|
|
588
|
-
|
|
604
|
+
Se,
|
|
589
605
|
n,
|
|
590
606
|
/*$$scope*/
|
|
591
607
|
n[22],
|
|
@@ -609,26 +625,26 @@ function ln(n) {
|
|
|
609
625
|
n[22],
|
|
610
626
|
sn
|
|
611
627
|
), Y = M || hi(n), _e = [_i, gi], ee = [];
|
|
612
|
-
function ue(
|
|
628
|
+
function ue(w, C) {
|
|
613
629
|
return (
|
|
614
630
|
/*showLoaderButton*/
|
|
615
|
-
|
|
631
|
+
w[6] ? 0 : 1
|
|
616
632
|
);
|
|
617
633
|
}
|
|
618
634
|
return D = ue(n), I = ee[D] = _e[D](n), {
|
|
619
635
|
c() {
|
|
620
|
-
t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), _ = se("defs"),
|
|
621
|
-
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(
|
|
636
|
+
t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), x = se("mask"), b = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = be(), F = Ye(H), we = be(), ae = R("div"), G = se("svg"), de = se("path"), K = be(), g = R("div"), S = R("div"), L && L.c(), ie = be(), h && h.c(), le = be(), Y && Y.c(), he = be(), W = R("div"), oe = R("button"), v = R("span"), V = 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(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(x, "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*/
|
|
637
|
+
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(S, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ft(() => (
|
|
622
638
|
/*div7_elementresize_handler*/
|
|
623
639
|
n[25].call(t)
|
|
624
640
|
));
|
|
625
641
|
},
|
|
626
|
-
m(
|
|
627
|
-
Re(
|
|
642
|
+
m(w, C) {
|
|
643
|
+
Re(w, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, _), p(_, x), p(x, b), p(x, E), p(x, X), p(f, ne), p(r, Ce), p(r, F), p(o, we), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, g), p(g, S), L && L.m(S, null), p(S, ie), h && h.m(S, null), p(S, le), Y && Y.m(S, null), p(S, he), p(S, W), p(W, oe), p(oe, v), p(v, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](S), ve = Pn(
|
|
628
644
|
t,
|
|
629
645
|
/*div7_elementresize_handler*/
|
|
630
646
|
n[25].bind(t)
|
|
631
|
-
), m = !0,
|
|
647
|
+
), m = !0, xe || (A = [
|
|
632
648
|
Ze(
|
|
633
649
|
G,
|
|
634
650
|
"click",
|
|
@@ -653,20 +669,20 @@ function ln(n) {
|
|
|
653
669
|
/*outOfModalClick*/
|
|
654
670
|
n[10]
|
|
655
671
|
)
|
|
656
|
-
],
|
|
672
|
+
], xe = !0);
|
|
657
673
|
},
|
|
658
|
-
p(
|
|
659
|
-
n =
|
|
674
|
+
p(w, C) {
|
|
675
|
+
n = w, (!m || C[0] & /*$_*/
|
|
660
676
|
256) && H !== (H = /*$_*/
|
|
661
677
|
n[8]("sessionExpirationHeader") + "") && We(F, H), T ? T.p && (!m || C[0] & /*$$scope*/
|
|
662
678
|
4194304) && et(
|
|
663
679
|
T,
|
|
664
|
-
|
|
680
|
+
Se,
|
|
665
681
|
n,
|
|
666
682
|
/*$$scope*/
|
|
667
683
|
n[22],
|
|
668
684
|
m ? nt(
|
|
669
|
-
|
|
685
|
+
Se,
|
|
670
686
|
/*$$scope*/
|
|
671
687
|
n[22],
|
|
672
688
|
C,
|
|
@@ -716,30 +732,30 @@ function ln(n) {
|
|
|
716
732
|
) : Y && Y.p && (!m || C[0] & /*$_, timeLeft*/
|
|
717
733
|
384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
|
|
718
734
|
256) && ce !== (ce = /*$_*/
|
|
719
|
-
n[8]("sessionExpirationEnd") + "") && We(
|
|
735
|
+
n[8]("sessionExpirationEnd") + "") && We(V, ce);
|
|
720
736
|
let fe = D;
|
|
721
737
|
D = ue(n), D === fe ? ee[D].p(n, C) : (un(), Ae(ee[fe], 1, 1, () => {
|
|
722
738
|
ee[fe] = null;
|
|
723
|
-
}), fn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = _e[D](n), I.c()),
|
|
739
|
+
}), fn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = _e[D](n), I.c()), ye(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
|
|
724
740
|
64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
|
|
725
741
|
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
726
742
|
},
|
|
727
|
-
i(
|
|
728
|
-
m || (
|
|
743
|
+
i(w) {
|
|
744
|
+
m || (ye(L, w), ye(h, w), ye(Y, w), ye(I), w && Ft(() => {
|
|
729
745
|
m && (q || (q = zt(t, Ht, { duration: (
|
|
730
746
|
/*duration*/
|
|
731
747
|
n[2]
|
|
732
748
|
) }, !0)), q.run(1));
|
|
733
749
|
}), m = !0);
|
|
734
750
|
},
|
|
735
|
-
o(
|
|
736
|
-
Ae(L,
|
|
751
|
+
o(w) {
|
|
752
|
+
Ae(L, w), Ae(h, w), Ae(Y, w), Ae(I), w && (q || (q = zt(t, Ht, { duration: (
|
|
737
753
|
/*duration*/
|
|
738
754
|
n[2]
|
|
739
755
|
) }, !1)), q.run(0)), m = !1;
|
|
740
756
|
},
|
|
741
|
-
d(
|
|
742
|
-
|
|
757
|
+
d(w) {
|
|
758
|
+
w && Me(t), L && L.d(w), h && h.d(w), Y && Y.d(w), ee[D].d(), n[24](null), ve(), w && q && q.end(), xe = !1, In(A);
|
|
743
759
|
}
|
|
744
760
|
};
|
|
745
761
|
}
|
|
@@ -788,7 +804,7 @@ function hi(n) {
|
|
|
788
804
|
let t, i, o = (
|
|
789
805
|
/*$_*/
|
|
790
806
|
n[8]("sessionExpirationTitle") + ""
|
|
791
|
-
), r, f, _,
|
|
807
|
+
), r, f, _, x = nn.sanitize(
|
|
792
808
|
/*$_*/
|
|
793
809
|
n[8]("sessionExpirationGeneralText", { values: { second: (
|
|
794
810
|
/*timeLeft*/
|
|
@@ -800,19 +816,19 @@ function hi(n) {
|
|
|
800
816
|
t = R("span"), i = R("p"), r = Ye(o), f = be(), _ = R("p"), u(t, "class", "CashierSessionExpirationText");
|
|
801
817
|
},
|
|
802
818
|
m(b, E) {
|
|
803
|
-
Re(b, t, E), p(t, i), p(i, r), p(t, f), p(t, _), _.innerHTML =
|
|
819
|
+
Re(b, t, E), p(t, i), p(i, r), p(t, f), p(t, _), _.innerHTML = x;
|
|
804
820
|
},
|
|
805
821
|
p(b, E) {
|
|
806
822
|
E[0] & /*$_*/
|
|
807
823
|
256 && o !== (o = /*$_*/
|
|
808
824
|
b[8]("sessionExpirationTitle") + "") && We(r, o), E[0] & /*$_, timeLeft*/
|
|
809
|
-
384 &&
|
|
825
|
+
384 && x !== (x = nn.sanitize(
|
|
810
826
|
/*$_*/
|
|
811
827
|
b[8]("sessionExpirationGeneralText", { values: { second: (
|
|
812
828
|
/*timeLeft*/
|
|
813
829
|
b[7]
|
|
814
830
|
) } })
|
|
815
|
-
) + "") && (_.innerHTML =
|
|
831
|
+
) + "") && (_.innerHTML = x);
|
|
816
832
|
},
|
|
817
833
|
d(b) {
|
|
818
834
|
b && Me(t);
|
|
@@ -861,7 +877,7 @@ function gi(n) {
|
|
|
861
877
|
256) && r.p(f, t ? _ : [-1, -1]);
|
|
862
878
|
},
|
|
863
879
|
i(f) {
|
|
864
|
-
t || (
|
|
880
|
+
t || (ye(r, f), t = !0);
|
|
865
881
|
},
|
|
866
882
|
o(f) {
|
|
867
883
|
Ae(r, f), t = !1;
|
|
@@ -875,18 +891,18 @@ function _i(n) {
|
|
|
875
891
|
let t, i, o, r, f, _ = (
|
|
876
892
|
/*$_*/
|
|
877
893
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
878
|
-
),
|
|
894
|
+
), x;
|
|
879
895
|
return {
|
|
880
896
|
c() {
|
|
881
|
-
t = R("div"), i = se("svg"), o = se("path"), r = be(), f = R("span"),
|
|
897
|
+
t = R("div"), i = se("svg"), o = se("path"), r = be(), f = R("span"), x = Ye(_), u(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"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
|
|
882
898
|
},
|
|
883
899
|
m(b, E) {
|
|
884
|
-
Re(b, t, E), p(t, i), p(i, o), p(t, r), p(t, f), p(f,
|
|
900
|
+
Re(b, t, E), p(t, i), p(i, o), p(t, r), p(t, f), p(f, x);
|
|
885
901
|
},
|
|
886
902
|
p(b, E) {
|
|
887
903
|
E[0] & /*$_*/
|
|
888
904
|
256 && _ !== (_ = /*$_*/
|
|
889
|
-
b[8]("sessionExpirationLoadingButton") + "") && We(
|
|
905
|
+
b[8]("sessionExpirationLoadingButton") + "") && We(x, _);
|
|
890
906
|
},
|
|
891
907
|
i: Yt,
|
|
892
908
|
o: Yt,
|
|
@@ -932,12 +948,12 @@ function Ti(n) {
|
|
|
932
948
|
p(r, f) {
|
|
933
949
|
/*show*/
|
|
934
950
|
r[5] ? o ? (o.p(r, f), f[0] & /*show*/
|
|
935
|
-
32 &&
|
|
951
|
+
32 && ye(o, 1)) : (o = ln(r), o.c(), ye(o, 1), o.m(t, null)) : o && (un(), Ae(o, 1, 1, () => {
|
|
936
952
|
o = null;
|
|
937
953
|
}), fn());
|
|
938
954
|
},
|
|
939
955
|
i(r) {
|
|
940
|
-
i || (
|
|
956
|
+
i || (ye(o), i = !0);
|
|
941
957
|
},
|
|
942
958
|
o(r) {
|
|
943
959
|
Ae(o), i = !1;
|
|
@@ -948,16 +964,16 @@ function Ti(n) {
|
|
|
948
964
|
};
|
|
949
965
|
}
|
|
950
966
|
const bi = 90;
|
|
951
|
-
function
|
|
967
|
+
function yi(n, t, i) {
|
|
952
968
|
let o, r;
|
|
953
969
|
Ut(n, Gt, (a) => i(21, o = a)), Ut(n, zn, (a) => i(8, r = a));
|
|
954
970
|
let { $$slots: f = {}, $$scope: _ } = t;
|
|
955
971
|
Bt.extend(On);
|
|
956
|
-
let { clientstyling:
|
|
957
|
-
var
|
|
972
|
+
let { clientstyling: x = "" } = t, { clientstylingurl: b = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: H = "en" } = t, { translationurl: F = "" } = t, { endpoint: we } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, S = !1, ie = !1, le, he, W, oe, v, ce;
|
|
973
|
+
var V;
|
|
958
974
|
(function(a) {
|
|
959
975
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
960
|
-
})(
|
|
976
|
+
})(V || (V = {}));
|
|
961
977
|
const ge = (a) => {
|
|
962
978
|
a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
|
|
963
979
|
}, Q = (a) => {
|
|
@@ -975,21 +991,21 @@ function wi(n, t, i) {
|
|
|
975
991
|
window.location.href
|
|
976
992
|
);
|
|
977
993
|
}, I = (a) => {
|
|
978
|
-
i(5,
|
|
994
|
+
i(5, S = !1);
|
|
979
995
|
const h = Q(a);
|
|
980
996
|
h && (he = h == null ? void 0 : h.exp, i(7, le = he), W && clearInterval(W), W = setInterval(
|
|
981
997
|
() => {
|
|
982
998
|
const P = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
983
|
-
i(7, le = he - P), le <= bi && i(5,
|
|
999
|
+
i(7, le = he - P), le <= bi && i(5, S = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
984
1000
|
},
|
|
985
1001
|
1e3
|
|
986
1002
|
));
|
|
987
1003
|
}, $ = () => {
|
|
988
|
-
i(7, le = 0), i(5,
|
|
1004
|
+
i(7, le = 0), i(5, S = !1), clearInterval(W);
|
|
989
1005
|
}, ve = () => {
|
|
990
1006
|
if (ie)
|
|
991
1007
|
return;
|
|
992
|
-
const a = new URL(`${
|
|
1008
|
+
const a = new URL(`${we}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
|
|
993
1009
|
i(6, ie = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Bt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
994
1010
|
const P = {
|
|
995
1011
|
method: "POST",
|
|
@@ -1012,11 +1028,11 @@ function wi(n, t, i) {
|
|
|
1012
1028
|
), $();
|
|
1013
1029
|
return;
|
|
1014
1030
|
}
|
|
1015
|
-
if (M.ResponseCode ===
|
|
1031
|
+
if (M.ResponseCode === V.PlayerSessionIsNotValid || M.ResponseCode === V.JwtTokenError) {
|
|
1016
1032
|
v = M.ResponseCode, $(), D();
|
|
1017
1033
|
return;
|
|
1018
1034
|
}
|
|
1019
|
-
if (M.ResponseCode !==
|
|
1035
|
+
if (M.ResponseCode !== V.Success) {
|
|
1020
1036
|
v = M.ResponseCode, $();
|
|
1021
1037
|
return;
|
|
1022
1038
|
}
|
|
@@ -1028,16 +1044,16 @@ function wi(n, t, i) {
|
|
|
1028
1044
|
}, m = () => {
|
|
1029
1045
|
fetch(F).then((h) => h.json()).then((h) => {
|
|
1030
1046
|
Object.keys(h).forEach((P) => {
|
|
1031
|
-
|
|
1047
|
+
Xt(P, h[P]);
|
|
1032
1048
|
});
|
|
1033
1049
|
}).catch((h) => {
|
|
1034
1050
|
console.log(h);
|
|
1035
1051
|
});
|
|
1036
|
-
},
|
|
1037
|
-
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5,
|
|
1052
|
+
}, xe = () => {
|
|
1053
|
+
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, S = !1);
|
|
1038
1054
|
};
|
|
1039
|
-
Object.keys(
|
|
1040
|
-
|
|
1055
|
+
Object.keys(Vt).forEach((a) => {
|
|
1056
|
+
Xt(a, Vt[a]);
|
|
1041
1057
|
});
|
|
1042
1058
|
const A = () => {
|
|
1043
1059
|
Wn(H);
|
|
@@ -1047,13 +1063,13 @@ function wi(n, t, i) {
|
|
|
1047
1063
|
})), Nn(() => {
|
|
1048
1064
|
clearInterval(W);
|
|
1049
1065
|
});
|
|
1050
|
-
function
|
|
1066
|
+
function Se(a) {
|
|
1051
1067
|
Wt[a ? "unshift" : "push"](() => {
|
|
1052
1068
|
g = a, i(4, g);
|
|
1053
1069
|
});
|
|
1054
1070
|
}
|
|
1055
1071
|
function T() {
|
|
1056
|
-
E = this.clientWidth,
|
|
1072
|
+
E = this.clientWidth, X = this.clientHeight, i(0, E), i(1, X);
|
|
1057
1073
|
}
|
|
1058
1074
|
function L(a) {
|
|
1059
1075
|
Wt[a ? "unshift" : "push"](() => {
|
|
@@ -1061,33 +1077,33 @@ function wi(n, t, i) {
|
|
|
1061
1077
|
});
|
|
1062
1078
|
}
|
|
1063
1079
|
return n.$$set = (a) => {
|
|
1064
|
-
"clientstyling" in a && i(12,
|
|
1080
|
+
"clientstyling" in a && i(12, x = a.clientstyling), "clientstylingurl" in a && i(13, b = a.clientstylingurl), "width" in a && i(0, E = a.width), "height" in a && i(1, X = a.height), "duration" in a && i(2, ne = a.duration), "assetsurl" in a && i(3, Ce = a.assetsurl), "lang" in a && i(14, H = a.lang), "translationurl" in a && i(15, F = a.translationurl), "endpoint" in a && i(16, we = a.endpoint), "currency" in a && i(17, ae = a.currency), "customerid" in a && i(18, G = a.customerid), "selectedpaymentmethodname" in a && i(19, de = a.selectedpaymentmethodname), "mbsource" in a && i(20, K = a.mbsource), "$$scope" in a && i(22, _ = a.$$scope);
|
|
1065
1081
|
}, n.$$.update = () => {
|
|
1066
1082
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1067
1083
|
2097152 && I(o), n.$$.dirty[0] & /*lang*/
|
|
1068
1084
|
16384 && H && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1069
|
-
4112 &&
|
|
1085
|
+
4112 && x && g && Hn(g, x), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1070
1086
|
8208 && b && g && Fn(g, b), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1071
1087
|
1048592 && K && g && Gn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1072
1088
|
32768 && F && m();
|
|
1073
1089
|
}, [
|
|
1074
1090
|
E,
|
|
1075
|
-
|
|
1091
|
+
X,
|
|
1076
1092
|
ne,
|
|
1077
1093
|
Ce,
|
|
1078
1094
|
g,
|
|
1079
|
-
|
|
1095
|
+
S,
|
|
1080
1096
|
ie,
|
|
1081
1097
|
le,
|
|
1082
1098
|
r,
|
|
1083
1099
|
ve,
|
|
1084
1100
|
q,
|
|
1085
|
-
|
|
1086
|
-
|
|
1101
|
+
xe,
|
|
1102
|
+
x,
|
|
1087
1103
|
b,
|
|
1088
1104
|
H,
|
|
1089
1105
|
F,
|
|
1090
|
-
|
|
1106
|
+
we,
|
|
1091
1107
|
ae,
|
|
1092
1108
|
G,
|
|
1093
1109
|
de,
|
|
@@ -1095,17 +1111,17 @@ function wi(n, t, i) {
|
|
|
1095
1111
|
o,
|
|
1096
1112
|
_,
|
|
1097
1113
|
f,
|
|
1098
|
-
|
|
1114
|
+
Se,
|
|
1099
1115
|
T,
|
|
1100
1116
|
L
|
|
1101
1117
|
];
|
|
1102
1118
|
}
|
|
1103
|
-
class
|
|
1119
|
+
class wi extends Ln {
|
|
1104
1120
|
constructor(t) {
|
|
1105
1121
|
super(), Mn(
|
|
1106
1122
|
this,
|
|
1107
1123
|
t,
|
|
1108
|
-
|
|
1124
|
+
yi,
|
|
1109
1125
|
Ti,
|
|
1110
1126
|
Rn,
|
|
1111
1127
|
{
|
|
@@ -1206,7 +1222,7 @@ class yi extends Ln {
|
|
|
1206
1222
|
this.$$set({ mbsource: t }), J();
|
|
1207
1223
|
}
|
|
1208
1224
|
}
|
|
1209
|
-
Bn(
|
|
1225
|
+
Bn(wi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1210
1226
|
export {
|
|
1211
|
-
|
|
1227
|
+
wi as default
|
|
1212
1228
|
};
|