@everymatrix/cashier-page 1.93.14 → 1.93.20
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-DJXsZKF9.js +5797 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/CashierCarousel-DwrGzk7c.js +5835 -0
- package/components/CashierError-BL_rmfvV.cjs +1 -0
- package/components/{CashierError-CmQqKE96.js → CashierError-Bqtyy8-q.js} +11 -12
- package/components/{CashierError-lww0Xhhd.js → CashierError-D054pa3k.js} +12 -13
- package/components/CashierHeader-BNDmkX5f.js +397 -0
- package/components/CashierHeader-DJYOdmdi.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-Cp8i9DwX.js → CashierIframeRedirect-CF8dL6ee.js} +106 -91
- package/components/{CashierIframeRedirect-D8w_XK4C.js → CashierIframeRedirect-CbC9sVb1.js} +108 -93
- package/components/{CashierMethodDetails-xNqhPyCs.js → CashierMethodDetails-C4LO5ZmR.js} +3063 -2638
- package/components/{CashierMethodDetails-D1X3MbmW.js → CashierMethodDetails-DPSHfVSK.js} +3281 -2856
- package/components/CashierMethodDetails-Zu0mfsD3.cjs +85 -0
- package/components/{CashierMethodsList-Cj6o2dtI.js → CashierMethodsList-Cab5da83.js} +51 -51
- package/components/CashierMethodsList-D1hypwra.cjs +1 -0
- package/components/{CashierMethodsList-COnGq2tb.js → CashierMethodsList-a7jjIZJf.js} +61 -61
- package/components/CashierModal-BLrymidc.cjs +1 -0
- package/components/{CashierModal-DYVHfktP.js → CashierModal-CV1Fn4BP.js} +34 -35
- package/components/{CashierModal-DANMfzKu.js → CashierModal-ZV_9oeml.js} +48 -49
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-IhAYYFLY.js → CashierNotifications-C_xReVni.js} +3 -3
- package/components/{CashierNotifications-Yvo_vvrp.js → CashierNotifications-DHKh64xU.js} +5 -5
- package/components/CashierPage-BRIKDWtS.cjs +1 -0
- package/components/CashierPage-CP9Cqpxc.js +4531 -0
- package/components/CashierPage-CvryQjo1.js +4565 -0
- package/components/{CashierReceiptPage-BtK09hHe.js → CashierReceiptPage-AZUU23Gj.js} +79 -78
- package/components/{CashierReceiptPage-CYUSXFbL.js → CashierReceiptPage-DLR6eK_m.js} +80 -79
- package/components/CashierReceiptPage-uOjbYrPM.cjs +26 -0
- package/components/{CashierSessionExpirationModal-YLys2PDl.js → CashierSessionExpirationModal-C9Tx9XKH.js} +132 -131
- package/components/CashierSessionExpirationModal-Ce2YoO0w.cjs +2 -0
- package/components/{CashierSessionExpirationModal-C5gv5Kex.js → CashierSessionExpirationModal-DXHf3_kf.js} +132 -131
- package/components/{CashierSpinner-DEY3bxsG.js → CashierSpinner-D3HhhmOb.js} +10 -11
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-C_YWOPLu.js → CashierSpinner-DyemUXs_.js} +12 -13
- package/components/{CashierStepUp-C-C7MzQF.js → CashierStepUp-CSZd5C7z.js} +245 -246
- package/components/{CashierStepUp-OocwQDO8.js → CashierStepUp-CmTcFbG9.js} +168 -169
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-uR3LgcWt.js → CashierTransactionHistory-BEGYEMBh.js} +53 -52
- package/components/CashierTransactionHistory-Bo-v22P3.cjs +1 -0
- package/components/{CashierTransactionHistory-Cr0MttRX.js → CashierTransactionHistory-DlyX-frZ.js} +53 -52
- package/components/{CashierVerifications-CZkslVbR.js → CashierVerifications-C9vycMOx.js} +140 -156
- package/components/{CashierVerifications-k6yPLmW_.js → CashierVerifications-YwLouGLa.js} +151 -167
- package/components/CashierVerifications-xB9Sk0Qp.cjs +1 -0
- package/components/{TxnStatusIcon-Diii3Es2.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-Dgm2t94G.js → TxnStatusIcon-ssLhQR5N.js} +8 -8
- package/components/{TxnTypeIcons-BpmVN0J8.js → TxnTypeIcons-B84nFRMh.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-DXpOeTfk.js → TxnTypeIcons-DhwUYw-o.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-2Y_QFlk8.js +0 -675
- package/components/CashierCarousel-LFH0uftr.js +0 -672
- package/components/CashierCarousel-Njl1VM8D.cjs +0 -1
- package/components/CashierError-zaQMVBwa.cjs +0 -1
- package/components/CashierHeader-BRtZK3Yj.cjs +0 -1
- package/components/CashierHeader-BXQCcYBU.js +0 -456
- package/components/CashierHeader-CV1mrRsd.js +0 -456
- package/components/CashierIframeRedirect-CYEQyHaS.cjs +0 -1
- package/components/CashierMethodDetails-BvSDCKZN.cjs +0 -85
- package/components/CashierMethodsList-BOpP96gM.cjs +0 -1
- package/components/CashierModal--1fztdGJ.cjs +0 -1
- package/components/CashierNotifications-CHbG6OoC.cjs +0 -1
- package/components/CashierPage-Bl4ava_U.js +0 -10064
- package/components/CashierPage-C7hbc8P5.cjs +0 -23
- package/components/CashierPage-DY5ngRhg.js +0 -10011
- package/components/CashierReceiptPage-DAfRN8k6.cjs +0 -26
- package/components/CashierSessionExpirationModal-Cd-Gd4Ir.cjs +0 -2
- package/components/CashierSpinner-Bvspj0cH.cjs +0 -1
- package/components/CashierStepUp-4B7szI7i.cjs +0 -1
- package/components/CashierTransactionHistory-Cpr3zr_V.cjs +0 -1
- package/components/CashierVerifications-Ddf15TF_.cjs +0 -1
- package/components/TxnStatusIcon-_lk_AnRy.cjs +0 -1
- package/components/TxnTypeIcons-CmilEOnE.cjs +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { a as xn, i as Cn, $ as
|
|
2
|
-
import {
|
|
1
|
+
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn, s as Rn, f as Z, c as On, e as Me, t as xe, g as we, a6 as un, a7 as fn, k as Re, m as R, p as Ut, q as kn, ag as Dn, d as $e, a2 as Nn, aa as Ht, L as Bt, v as We, u as et, h as tt, j as nt, o as u, l as p, a8 as In, x as Je, X as se, n as ye, w as Ye, y as Ft, r as Pn, G as zt, z as Gt, B as Un, C as Hn, D as Bn, E as Fn, F as zn } from "./CashierCarousel-DwrGzk7c.js";
|
|
2
|
+
import { f as Wt } from "./CashierPage-CvryQjo1.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-DPSHfVSK.js";
|
|
3
4
|
function Xt(n, t) {
|
|
4
5
|
xn(n, t);
|
|
5
6
|
}
|
|
6
7
|
function Wn(n) {
|
|
7
8
|
Cn({
|
|
8
9
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
10
|
+
}), Ln.set(n);
|
|
10
11
|
}
|
|
11
12
|
const Vt = {
|
|
12
13
|
en: {
|
|
@@ -62,15 +63,15 @@ dt || (dt = function(t, o, i) {
|
|
|
62
63
|
ht || (ht = function(t, o) {
|
|
63
64
|
return new t(...o);
|
|
64
65
|
});
|
|
65
|
-
const Ke =
|
|
66
|
-
function
|
|
66
|
+
const Ke = J(Array.prototype.forEach), Zt = J(Array.prototype.pop), He = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ct = J(String.prototype.toString), Jt = J(String.prototype.match), Be = J(String.prototype.replace), Vn = J(String.prototype.indexOf), qn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), H = J(RegExp.prototype.test), Fe = Zn(TypeError);
|
|
67
|
+
function J(n) {
|
|
67
68
|
return function(t) {
|
|
68
69
|
for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
|
|
69
70
|
i[r - 1] = arguments[r];
|
|
70
71
|
return dt(n, t, i);
|
|
71
72
|
};
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
+
function Zn(n) {
|
|
74
75
|
return function() {
|
|
75
76
|
for (var t = arguments.length, o = new Array(t), i = 0; i < t; i++)
|
|
76
77
|
o[i] = arguments[i];
|
|
@@ -91,15 +92,15 @@ function d(n, t) {
|
|
|
91
92
|
}
|
|
92
93
|
return n;
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function Jn(n) {
|
|
95
96
|
for (let t = 0; t < n.length; t++)
|
|
96
97
|
re(n, t) || (n[t] = null);
|
|
97
98
|
return n;
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function ve(n) {
|
|
100
101
|
const t = pn(null);
|
|
101
102
|
for (const [o, i] of mn(n))
|
|
102
|
-
re(n, o) && (Array.isArray(i) ? t[o] =
|
|
103
|
+
re(n, o) && (Array.isArray(i) ? t[o] = Jn(i) : i && typeof i == "object" && i.constructor === Object ? t[o] = ve(i) : t[o] = i);
|
|
103
104
|
return t;
|
|
104
105
|
}
|
|
105
106
|
function ze(n, t) {
|
|
@@ -107,9 +108,9 @@ function ze(n, t) {
|
|
|
107
108
|
const i = Xn(n, t);
|
|
108
109
|
if (i) {
|
|
109
110
|
if (i.get)
|
|
110
|
-
return
|
|
111
|
+
return J(i.get);
|
|
111
112
|
if (typeof i.value == "function")
|
|
112
|
-
return
|
|
113
|
+
return J(i.value);
|
|
113
114
|
}
|
|
114
115
|
n = jn(n);
|
|
115
116
|
}
|
|
@@ -199,17 +200,17 @@ function gn() {
|
|
|
199
200
|
} = o, {
|
|
200
201
|
importNode: ie
|
|
201
202
|
} = i;
|
|
202
|
-
let
|
|
203
|
+
let L = {};
|
|
203
204
|
t.isSupported = typeof mn == "function" && typeof K == "function" && oe && oe.createHTMLDocument !== void 0;
|
|
204
205
|
const {
|
|
205
206
|
MUSTACHE_EXPR: ce,
|
|
206
207
|
ERB_EXPR: V,
|
|
207
208
|
TMPLIT_EXPR: ge,
|
|
208
209
|
DATA_ATTR: Q,
|
|
209
|
-
ARIA_ATTR:
|
|
210
|
+
ARIA_ATTR: D,
|
|
210
211
|
IS_SCRIPT_OR_DATA: I,
|
|
211
212
|
ATTR_WHITESPACE: $,
|
|
212
|
-
CUSTOM_ELEMENT:
|
|
213
|
+
CUSTOM_ELEMENT: Le
|
|
213
214
|
} = tn;
|
|
214
215
|
let {
|
|
215
216
|
IS_ALLOWED_URI: q
|
|
@@ -236,7 +237,7 @@ function gn() {
|
|
|
236
237
|
enumerable: !0,
|
|
237
238
|
value: !1
|
|
238
239
|
}
|
|
239
|
-
})),
|
|
240
|
+
})), v = null, a = null, h = !0, P = !0, M = !1, Y = !0, _e = !1, ee = !0, ue = !1, b = !1, C = !1, fe = !1, je = !1, Xe = !1, gt = !0, _t = !1;
|
|
240
241
|
const _n = "user-content-";
|
|
241
242
|
let it = !0, Ie = !1, Oe = {}, ke = null;
|
|
242
243
|
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"]);
|
|
@@ -244,32 +245,32 @@ function gn() {
|
|
|
244
245
|
const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
245
246
|
let st = null;
|
|
246
247
|
const wt = 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";
|
|
247
|
-
let
|
|
248
|
+
let De = Ee, rt = !1, at = null;
|
|
248
249
|
const En = d({}, [Ve, qe, Ee], ct);
|
|
249
250
|
let Pe = null;
|
|
250
251
|
const Tn = ["application/xhtml+xml", "text/html"], yn = "text/html";
|
|
251
|
-
let O = null,
|
|
252
|
+
let O = null, Ne = null;
|
|
252
253
|
const wn = o.createElement("form"), bt = function(e) {
|
|
253
254
|
return e instanceof RegExp || e instanceof Function;
|
|
254
255
|
}, lt = function() {
|
|
255
256
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
256
|
-
if (!(
|
|
257
|
-
if ((!e || typeof e != "object") && (e = {}), e =
|
|
257
|
+
if (!(Ne && Ne === e)) {
|
|
258
|
+
if ((!e || typeof e != "object") && (e = {}), e = ve(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
|
|
258
259
|
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, O = Pe === "application/xhtml+xml" ? ct : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, O) : Se, x = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, O) : Ae, at = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : En, st = re(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
259
|
-
|
|
260
|
+
ve(wt),
|
|
260
261
|
// eslint-disable-line indent
|
|
261
262
|
e.ADD_URI_SAFE_ATTR,
|
|
262
263
|
// eslint-disable-line indent
|
|
263
264
|
O
|
|
264
265
|
// eslint-disable-line indent
|
|
265
266
|
) : wt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
|
|
266
|
-
|
|
267
|
+
ve(yt),
|
|
267
268
|
// eslint-disable-line indent
|
|
268
269
|
e.ADD_DATA_URI_TAGS,
|
|
269
270
|
// eslint-disable-line indent
|
|
270
271
|
O
|
|
271
272
|
// eslint-disable-line indent
|
|
272
|
-
) : yt, ke = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et,
|
|
273
|
+
) : yt, ke = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et, v = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, O) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, O) : {}, Oe = 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, it = 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 && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(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), Oe && (m = d({}, Qt), x = [], Oe.html === !0 && (d(m, Kt), d(x, $t)), Oe.svg === !0 && (d(m, ut), d(x, pt), d(x, Qe)), Oe.svgFilters === !0 && (d(m, ft), d(x, pt), d(x, Qe)), Oe.mathMl === !0 && (d(m, mt), d(x, en), d(x, Qe))), e.ADD_TAGS && (m === Se && (m = ve(m)), d(m, e.ADD_TAGS, O)), e.ADD_ATTR && (x === Ae && (x = ve(x)), d(x, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ke === Et && (ke = ve(ke)), d(ke, e.FORBID_CONTENTS, O)), it && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete v.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
273
274
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
274
275
|
throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
275
276
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -277,12 +278,12 @@ function gn() {
|
|
|
277
278
|
g = e.TRUSTED_TYPES_POLICY, A = g.createHTML("");
|
|
278
279
|
} else
|
|
279
280
|
g === void 0 && (g = lo(F, r)), g !== null && typeof A == "string" && (A = g.createHTML(""));
|
|
280
|
-
B && B(e),
|
|
281
|
+
B && B(e), Ne = e;
|
|
281
282
|
}
|
|
282
283
|
}, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), bn = d({}, ["title", "style", "font", "a", "script"]), xt = d({}, [...ut, ...ft, ...Kn]), Ct = d({}, [...mt, ...Qn]), Sn = function(e) {
|
|
283
284
|
let s = K(e);
|
|
284
285
|
(!s || !s.tagName) && (s = {
|
|
285
|
-
namespaceURI:
|
|
286
|
+
namespaceURI: De,
|
|
286
287
|
tagName: "template"
|
|
287
288
|
});
|
|
288
289
|
const l = ot(e.tagName), w = ot(s.tagName);
|
|
@@ -296,7 +297,7 @@ function gn() {
|
|
|
296
297
|
} catch (s) {
|
|
297
298
|
ae(e);
|
|
298
299
|
}
|
|
299
|
-
},
|
|
300
|
+
}, Ze = function(e, s) {
|
|
300
301
|
try {
|
|
301
302
|
He(t.removed, {
|
|
302
303
|
attribute: s.getAttributeNode(e),
|
|
@@ -319,31 +320,31 @@ function gn() {
|
|
|
319
320
|
s.setAttribute(e, "");
|
|
320
321
|
} catch (l) {
|
|
321
322
|
}
|
|
322
|
-
},
|
|
323
|
+
}, Lt = function(e) {
|
|
323
324
|
let s = null, l = null;
|
|
324
325
|
if (C)
|
|
325
326
|
e = "<remove></remove>" + e;
|
|
326
327
|
else {
|
|
327
|
-
const k =
|
|
328
|
+
const k = Jt(e, /^[\r\n\t ]+/);
|
|
328
329
|
l = k && k[0];
|
|
329
330
|
}
|
|
330
|
-
Pe === "application/xhtml+xml" &&
|
|
331
|
+
Pe === "application/xhtml+xml" && De === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
331
332
|
const w = g ? g.createHTML(e) : e;
|
|
332
|
-
if (
|
|
333
|
+
if (De === Ee)
|
|
333
334
|
try {
|
|
334
335
|
s = new Ce().parseFromString(w, Pe);
|
|
335
336
|
} catch (k) {
|
|
336
337
|
}
|
|
337
338
|
if (!s || !s.documentElement) {
|
|
338
|
-
s = oe.createDocument(
|
|
339
|
+
s = oe.createDocument(De, "template", null);
|
|
339
340
|
try {
|
|
340
341
|
s.documentElement.innerHTML = rt ? A : w;
|
|
341
342
|
} catch (k) {
|
|
342
343
|
}
|
|
343
344
|
}
|
|
344
|
-
const
|
|
345
|
-
return e && l &&
|
|
346
|
-
},
|
|
345
|
+
const N = s.body || s.documentElement;
|
|
346
|
+
return e && l && N.insertBefore(o.createTextNode(l), N.childNodes[0] || null), De === Ee ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : N;
|
|
347
|
+
}, vt = function(e) {
|
|
347
348
|
return le.call(
|
|
348
349
|
e.ownerDocument || e,
|
|
349
350
|
e,
|
|
@@ -356,8 +357,8 @@ function gn() {
|
|
|
356
357
|
}, Rt = function(e) {
|
|
357
358
|
return typeof S == "function" && e instanceof S;
|
|
358
359
|
}, Te = function(e, s, l) {
|
|
359
|
-
|
|
360
|
-
w.call(t, s, l,
|
|
360
|
+
L[e] && Ke(L[e], (w) => {
|
|
361
|
+
w.call(t, s, l, Ne);
|
|
361
362
|
});
|
|
362
363
|
}, Ot = function(e) {
|
|
363
364
|
let s = null;
|
|
@@ -369,15 +370,15 @@ function gn() {
|
|
|
369
370
|
allowedTags: m
|
|
370
371
|
}), e.hasChildNodes() && !Rt(e.firstElementChild) && H(/<[/\w]/g, e.innerHTML) && H(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && H(/<[/\w]/g, e.data))
|
|
371
372
|
return me(e), !0;
|
|
372
|
-
if (!m[l] ||
|
|
373
|
-
if (!
|
|
373
|
+
if (!m[l] || v[l]) {
|
|
374
|
+
if (!v[l] && Dt(l) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
374
375
|
return !1;
|
|
375
376
|
if (it && !ke[l]) {
|
|
376
|
-
const w = K(e) || e.parentNode,
|
|
377
|
-
if (
|
|
378
|
-
const k =
|
|
377
|
+
const w = K(e) || e.parentNode, N = de(e) || e.childNodes;
|
|
378
|
+
if (N && w) {
|
|
379
|
+
const k = N.length;
|
|
379
380
|
for (let j = k - 1; j >= 0; --j) {
|
|
380
|
-
const pe = be(
|
|
381
|
+
const pe = be(N[j], !0);
|
|
381
382
|
pe.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(pe, G(e));
|
|
382
383
|
}
|
|
383
384
|
}
|
|
@@ -393,13 +394,13 @@ function gn() {
|
|
|
393
394
|
if (gt && (s === "id" || s === "name") && (l in o || l in wn))
|
|
394
395
|
return !1;
|
|
395
396
|
if (!(P && !a[s] && H(Q, s))) {
|
|
396
|
-
if (!(h && H(
|
|
397
|
+
if (!(h && H(D, s))) {
|
|
397
398
|
if (!x[s] || a[s]) {
|
|
398
399
|
if (
|
|
399
400
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
400
401
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
401
402
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
402
|
-
!(
|
|
403
|
+
!(Dt(e) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && H(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
403
404
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
404
405
|
s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
405
406
|
)
|
|
@@ -417,9 +418,9 @@ function gn() {
|
|
|
417
418
|
}
|
|
418
419
|
}
|
|
419
420
|
return !0;
|
|
420
|
-
}, Nt = function(e) {
|
|
421
|
-
return e !== "annotation-xml" && Zt(e, ve);
|
|
422
421
|
}, Dt = function(e) {
|
|
422
|
+
return e !== "annotation-xml" && Jt(e, Le);
|
|
423
|
+
}, Nt = function(e) {
|
|
423
424
|
Te("beforeSanitizeAttributes", e, null);
|
|
424
425
|
const {
|
|
425
426
|
attributes: s
|
|
@@ -434,20 +435,20 @@ function gn() {
|
|
|
434
435
|
};
|
|
435
436
|
let w = s.length;
|
|
436
437
|
for (; w--; ) {
|
|
437
|
-
const
|
|
438
|
+
const N = s[w], {
|
|
438
439
|
name: k,
|
|
439
440
|
namespaceURI: j,
|
|
440
441
|
value: pe
|
|
441
|
-
} =
|
|
442
|
+
} = N, Ue = O(k);
|
|
442
443
|
let U = k === "value" ? pe : qn(pe);
|
|
443
444
|
if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && H(/((--!?|])>)|<\/(style|title)/i, U)) {
|
|
444
|
-
|
|
445
|
+
Ze(k, e);
|
|
445
446
|
continue;
|
|
446
447
|
}
|
|
447
|
-
if (l.forceKeepAttr || (
|
|
448
|
+
if (l.forceKeepAttr || (Ze(k, e), !l.keepAttr))
|
|
448
449
|
continue;
|
|
449
450
|
if (!Y && H(/\/>/i, U)) {
|
|
450
|
-
|
|
451
|
+
Ze(k, e);
|
|
451
452
|
continue;
|
|
452
453
|
}
|
|
453
454
|
_e && Ke([ce, V, ge], (Pt) => {
|
|
@@ -455,7 +456,7 @@ function gn() {
|
|
|
455
456
|
});
|
|
456
457
|
const It = O(e.nodeName);
|
|
457
458
|
if (kt(It, Ue, U)) {
|
|
458
|
-
if (_t && (Ue === "id" || Ue === "name") && (
|
|
459
|
+
if (_t && (Ue === "id" || Ue === "name") && (Ze(k, e), U = _n + U), g && typeof F == "object" && typeof F.getAttributeType == "function" && !j)
|
|
459
460
|
switch (F.getAttributeType(It, Ue)) {
|
|
460
461
|
case "TrustedHTML": {
|
|
461
462
|
U = g.createHTML(U);
|
|
@@ -467,7 +468,7 @@ function gn() {
|
|
|
467
468
|
}
|
|
468
469
|
}
|
|
469
470
|
try {
|
|
470
|
-
j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U), Mt(e) ? me(e) :
|
|
471
|
+
j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U), Mt(e) ? me(e) : Zt(t.removed);
|
|
471
472
|
} catch (Pt) {
|
|
472
473
|
}
|
|
473
474
|
}
|
|
@@ -475,13 +476,13 @@ function gn() {
|
|
|
475
476
|
Te("afterSanitizeAttributes", e, null);
|
|
476
477
|
}, An = function c(e) {
|
|
477
478
|
let s = null;
|
|
478
|
-
const l =
|
|
479
|
+
const l = vt(e);
|
|
479
480
|
for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
480
|
-
Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content),
|
|
481
|
+
Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), Nt(s));
|
|
481
482
|
Te("afterSanitizeShadowDOM", e, null);
|
|
482
483
|
};
|
|
483
484
|
return t.sanitize = function(c) {
|
|
484
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, w = null,
|
|
485
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, w = null, N = null;
|
|
485
486
|
if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
|
|
486
487
|
if (typeof c.toString == "function") {
|
|
487
488
|
if (c = c.toString(), typeof c != "string")
|
|
@@ -493,31 +494,31 @@ function gn() {
|
|
|
493
494
|
if (b || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
494
495
|
if (c.nodeName) {
|
|
495
496
|
const pe = O(c.nodeName);
|
|
496
|
-
if (!m[pe] ||
|
|
497
|
+
if (!m[pe] || v[pe])
|
|
497
498
|
throw Fe("root node is forbidden and cannot be sanitized in-place");
|
|
498
499
|
}
|
|
499
500
|
} else if (c instanceof S)
|
|
500
|
-
s =
|
|
501
|
+
s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
501
502
|
else {
|
|
502
503
|
if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
|
|
503
504
|
c.indexOf("<") === -1)
|
|
504
505
|
return g && Xe ? g.createHTML(c) : c;
|
|
505
|
-
if (s =
|
|
506
|
+
if (s = Lt(c), !s)
|
|
506
507
|
return fe ? null : Xe ? A : "";
|
|
507
508
|
}
|
|
508
509
|
s && C && me(s.firstChild);
|
|
509
|
-
const k =
|
|
510
|
+
const k = vt(Ie ? c : s);
|
|
510
511
|
for (; w = k.nextNode(); )
|
|
511
|
-
Ot(w) || (w.content instanceof f && An(w.content),
|
|
512
|
+
Ot(w) || (w.content instanceof f && An(w.content), Nt(w));
|
|
512
513
|
if (Ie)
|
|
513
514
|
return c;
|
|
514
515
|
if (fe) {
|
|
515
516
|
if (je)
|
|
516
|
-
for (
|
|
517
|
-
|
|
517
|
+
for (N = he.call(s.ownerDocument); s.firstChild; )
|
|
518
|
+
N.appendChild(s.firstChild);
|
|
518
519
|
else
|
|
519
|
-
|
|
520
|
-
return (x.shadowroot || x.shadowrootmode) && (
|
|
520
|
+
N = s;
|
|
521
|
+
return (x.shadowroot || x.shadowrootmode) && (N = ie.call(i, N, !0)), N;
|
|
521
522
|
}
|
|
522
523
|
let j = ue ? s.outerHTML : s.innerHTML;
|
|
523
524
|
return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(hn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
@@ -528,20 +529,20 @@ function gn() {
|
|
|
528
529
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
529
530
|
lt(c), b = !0;
|
|
530
531
|
}, t.clearConfig = function() {
|
|
531
|
-
|
|
532
|
+
Ne = null, b = !1;
|
|
532
533
|
}, t.isValidAttribute = function(c, e, s) {
|
|
533
|
-
|
|
534
|
+
Ne || lt({});
|
|
534
535
|
const l = O(c), w = O(e);
|
|
535
536
|
return kt(l, w, s);
|
|
536
537
|
}, t.addHook = function(c, e) {
|
|
537
|
-
typeof e == "function" && (
|
|
538
|
+
typeof e == "function" && (L[c] = L[c] || [], He(L[c], e));
|
|
538
539
|
}, t.removeHook = function(c) {
|
|
539
|
-
if (
|
|
540
|
-
return
|
|
540
|
+
if (L[c])
|
|
541
|
+
return Zt(L[c]);
|
|
541
542
|
}, t.removeHooks = function(c) {
|
|
542
|
-
|
|
543
|
+
L[c] && (L[c] = []);
|
|
543
544
|
}, t.removeAllHooks = function() {
|
|
544
|
-
|
|
545
|
+
L = {};
|
|
545
546
|
}, t;
|
|
546
547
|
}
|
|
547
548
|
var nn = gn();
|
|
@@ -553,10 +554,10 @@ function ln(n) {
|
|
|
553
554
|
let t, o, i, r, f, _, S, y, E, X, ne, Ce, F = (
|
|
554
555
|
/*$_*/
|
|
555
556
|
n[8]("sessionExpirationHeader") + ""
|
|
556
|
-
), z, be, ae, G, de, K, g, A, oe, le, he, W, ie,
|
|
557
|
+
), z, be, ae, G, de, K, g, A, oe, le, he, W, ie, L, ce = (
|
|
557
558
|
/*$_*/
|
|
558
559
|
n[8]("sessionExpirationEnd") + ""
|
|
559
|
-
), V, ge, Q,
|
|
560
|
+
), V, ge, Q, D, I, $, Le, q, m, Se, x;
|
|
560
561
|
const Ae = (
|
|
561
562
|
/*#slots*/
|
|
562
563
|
n[23].icon
|
|
@@ -566,7 +567,7 @@ function ln(n) {
|
|
|
566
567
|
/*$$scope*/
|
|
567
568
|
n[22],
|
|
568
569
|
an
|
|
569
|
-
),
|
|
570
|
+
), v = T || ho(n), a = (
|
|
570
571
|
/*#slots*/
|
|
571
572
|
n[23].title
|
|
572
573
|
), h = $e(
|
|
@@ -591,39 +592,39 @@ function ln(n) {
|
|
|
591
592
|
b[6] ? 0 : 1
|
|
592
593
|
);
|
|
593
594
|
}
|
|
594
|
-
return
|
|
595
|
+
return D = ue(n), I = ee[D] = _e[D](n), {
|
|
595
596
|
c() {
|
|
596
|
-
t = R("div"), o = R("div"), i = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), y = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = ye(), z = Ye(F), be = ye(), ae = R("div"), G = se("svg"), de = se("path"), K = ye(), g = R("div"), A = R("div"),
|
|
597
|
-
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"),
|
|
597
|
+
t = R("div"), o = R("div"), i = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), y = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = ye(), z = Ye(F), be = ye(), ae = R("div"), G = se("svg"), de = se("path"), K = ye(), g = R("div"), A = R("div"), v && v.c(), oe = ye(), h && h.c(), le = ye(), Y && Y.c(), he = ye(), W = R("div"), ie = R("button"), L = R("span"), V = Ye(ce), ge = ye(), Q = R("button"), I.c(), u(y, "cx", "100"), u(y, "cy", "100"), u(y, "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(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(i, "class", "CashierSessionExpirationModalHeader"), u(L, "class", "CashierSessionExpirationButtonText"), u(ie, "type", "button"), u(ie, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
|
|
598
|
+
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Bt(() => (
|
|
598
599
|
/*div7_elementresize_handler*/
|
|
599
600
|
n[25].call(t)
|
|
600
601
|
));
|
|
601
602
|
},
|
|
602
603
|
m(b, C) {
|
|
603
|
-
Re(b, t, C), p(t, o), p(o, i), p(i, r), p(r, f), p(f, _), p(_, S), p(S, y), p(S, E), p(S, X), p(f, ne), p(r, Ce), p(r, z), p(i, be), p(i, ae), p(ae, G), p(G, de), p(o, K), p(o, g), p(g, A),
|
|
604
|
+
Re(b, t, C), p(t, o), p(o, i), p(i, r), p(r, f), p(f, _), p(_, S), p(S, y), p(S, E), p(S, X), p(f, ne), p(r, Ce), p(r, z), p(i, be), p(i, ae), p(ae, G), p(G, de), p(o, K), p(o, g), p(g, A), v && v.m(A, null), p(A, oe), h && h.m(A, null), p(A, le), Y && Y.m(A, null), p(A, he), p(A, W), p(W, ie), p(ie, L), p(L, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](A), Le = In(
|
|
604
605
|
t,
|
|
605
606
|
/*div7_elementresize_handler*/
|
|
606
607
|
n[25].bind(t)
|
|
607
608
|
), m = !0, Se || (x = [
|
|
608
|
-
|
|
609
|
+
Je(
|
|
609
610
|
G,
|
|
610
611
|
"click",
|
|
611
612
|
/*goToHome*/
|
|
612
613
|
n[11]
|
|
613
614
|
),
|
|
614
|
-
|
|
615
|
+
Je(
|
|
615
616
|
ie,
|
|
616
617
|
"click",
|
|
617
618
|
/*goToHome*/
|
|
618
619
|
n[11]
|
|
619
620
|
),
|
|
620
|
-
|
|
621
|
+
Je(
|
|
621
622
|
Q,
|
|
622
623
|
"click",
|
|
623
624
|
/*renewSession*/
|
|
624
625
|
n[9]
|
|
625
626
|
),
|
|
626
|
-
|
|
627
|
+
Je(
|
|
627
628
|
t,
|
|
628
629
|
"click",
|
|
629
630
|
/*outOfModalClick*/
|
|
@@ -652,8 +653,8 @@ function ln(n) {
|
|
|
652
653
|
n[22]
|
|
653
654
|
),
|
|
654
655
|
an
|
|
655
|
-
) :
|
|
656
|
-
8) &&
|
|
656
|
+
) : v && v.p && (!m || C[0] & /*assetsurl*/
|
|
657
|
+
8) && v.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
|
|
657
658
|
4194304) && et(
|
|
658
659
|
h,
|
|
659
660
|
a,
|
|
@@ -693,29 +694,29 @@ function ln(n) {
|
|
|
693
694
|
384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
|
|
694
695
|
256) && ce !== (ce = /*$_*/
|
|
695
696
|
n[8]("sessionExpirationEnd") + "") && We(V, ce);
|
|
696
|
-
let fe =
|
|
697
|
-
|
|
697
|
+
let fe = D;
|
|
698
|
+
D = ue(n), D === fe ? ee[D].p(n, C) : (un(), xe(ee[fe], 1, 1, () => {
|
|
698
699
|
ee[fe] = null;
|
|
699
|
-
}), fn(), I = ee[
|
|
700
|
+
}), fn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = _e[D](n), I.c()), we(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
|
|
700
701
|
64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
|
|
701
702
|
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
702
703
|
},
|
|
703
704
|
i(b) {
|
|
704
|
-
m || (we(
|
|
705
|
-
m && (q || (q =
|
|
705
|
+
m || (we(v, b), we(h, b), we(Y, b), we(I), b && Bt(() => {
|
|
706
|
+
m && (q || (q = Ht(t, Wt, { duration: (
|
|
706
707
|
/*duration*/
|
|
707
708
|
n[2]
|
|
708
709
|
) }, !0)), q.run(1));
|
|
709
710
|
}), m = !0);
|
|
710
711
|
},
|
|
711
712
|
o(b) {
|
|
712
|
-
xe(
|
|
713
|
+
xe(v, b), xe(h, b), xe(Y, b), xe(I), b && (q || (q = Ht(t, Wt, { duration: (
|
|
713
714
|
/*duration*/
|
|
714
715
|
n[2]
|
|
715
716
|
) }, !1)), q.run(0)), m = !1;
|
|
716
717
|
},
|
|
717
718
|
d(b) {
|
|
718
|
-
b && Me(t),
|
|
719
|
+
b && Me(t), v && v.d(b), h && h.d(b), Y && Y.d(b), ee[D].d(), n[24](null), Le(), b && q && q.end(), Se = !1, Nn(x);
|
|
719
720
|
}
|
|
720
721
|
};
|
|
721
722
|
}
|
|
@@ -723,7 +724,7 @@ function cn(n) {
|
|
|
723
724
|
let t, o;
|
|
724
725
|
return {
|
|
725
726
|
c() {
|
|
726
|
-
t = R("img"),
|
|
727
|
+
t = R("img"), Gt(t.src, o = `${/*assetsurl*/
|
|
727
728
|
n[3]}/set-timeout-icon.png`) || u(t, "src", o), u(t, "width", "300px"), u(t, "alt", "error");
|
|
728
729
|
},
|
|
729
730
|
m(i, r) {
|
|
@@ -731,7 +732,7 @@ function cn(n) {
|
|
|
731
732
|
},
|
|
732
733
|
p(i, r) {
|
|
733
734
|
r[0] & /*assetsurl*/
|
|
734
|
-
8 && !
|
|
735
|
+
8 && !Gt(t.src, o = `${/*assetsurl*/
|
|
735
736
|
i[3]}/set-timeout-icon.png`) && u(t, "src", o);
|
|
736
737
|
},
|
|
737
738
|
d(i) {
|
|
@@ -746,7 +747,7 @@ function ho(n) {
|
|
|
746
747
|
);
|
|
747
748
|
return {
|
|
748
749
|
c() {
|
|
749
|
-
o && o.c(), t =
|
|
750
|
+
o && o.c(), t = Pn();
|
|
750
751
|
},
|
|
751
752
|
m(i, r) {
|
|
752
753
|
o && o.m(i, r), Re(i, t, r);
|
|
@@ -864,8 +865,8 @@ function Eo(n) {
|
|
|
864
865
|
256 && _ !== (_ = /*$_*/
|
|
865
866
|
y[8]("sessionExpirationLoadingButton") + "") && We(S, _);
|
|
866
867
|
},
|
|
867
|
-
i:
|
|
868
|
-
o:
|
|
868
|
+
i: zt,
|
|
869
|
+
o: zt,
|
|
869
870
|
d(y) {
|
|
870
871
|
y && Me(t);
|
|
871
872
|
}
|
|
@@ -926,10 +927,10 @@ function yo(n) {
|
|
|
926
927
|
const wo = 90;
|
|
927
928
|
function bo(n, t, o) {
|
|
928
929
|
let i, r;
|
|
929
|
-
Ut(n,
|
|
930
|
+
Ut(n, jt, (a) => o(21, i = a)), Ut(n, zn, (a) => o(8, r = a));
|
|
930
931
|
let { $$slots: f = {}, $$scope: _ } = t;
|
|
931
|
-
|
|
932
|
-
let { clientstyling: S = "" } = t, { clientstylingurl: y = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: F = "en" } = t, { translationurl: z = "" } = t, { endpoint: be } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, A = !1, oe = !1, le, he, W, ie,
|
|
932
|
+
Yt.extend(Gn);
|
|
933
|
+
let { clientstyling: S = "" } = t, { clientstylingurl: y = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: F = "en" } = t, { translationurl: z = "" } = t, { endpoint: be } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, A = !1, oe = !1, le, he, W, ie, L, ce;
|
|
933
934
|
var V;
|
|
934
935
|
(function(a) {
|
|
935
936
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
@@ -942,11 +943,11 @@ function bo(n, t, o) {
|
|
|
942
943
|
} catch (h) {
|
|
943
944
|
return null;
|
|
944
945
|
}
|
|
945
|
-
},
|
|
946
|
+
}, D = () => {
|
|
946
947
|
window.postMessage(
|
|
947
948
|
{
|
|
948
949
|
type: "ErrorResponseCode",
|
|
949
|
-
errorResponseCode:
|
|
950
|
+
errorResponseCode: L
|
|
950
951
|
},
|
|
951
952
|
window.location.href
|
|
952
953
|
);
|
|
@@ -962,11 +963,11 @@ function bo(n, t, o) {
|
|
|
962
963
|
));
|
|
963
964
|
}, $ = () => {
|
|
964
965
|
o(7, le = 0), o(5, A = !1), clearInterval(W);
|
|
965
|
-
},
|
|
966
|
+
}, Le = () => {
|
|
966
967
|
if (oe)
|
|
967
968
|
return;
|
|
968
969
|
const a = new URL(`${be}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
|
|
969
|
-
o(6, oe = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp",
|
|
970
|
+
o(6, oe = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
970
971
|
const P = {
|
|
971
972
|
method: "POST",
|
|
972
973
|
mode: "cors",
|
|
@@ -989,18 +990,18 @@ function bo(n, t, o) {
|
|
|
989
990
|
return;
|
|
990
991
|
}
|
|
991
992
|
if (M.ResponseCode === V.PlayerSessionIsNotValid || M.ResponseCode === V.JwtTokenError) {
|
|
992
|
-
|
|
993
|
+
L = M.ResponseCode, $(), D();
|
|
993
994
|
return;
|
|
994
995
|
}
|
|
995
996
|
if (M.ResponseCode !== V.Success) {
|
|
996
|
-
|
|
997
|
+
L = M.ResponseCode, $();
|
|
997
998
|
return;
|
|
998
999
|
}
|
|
999
|
-
M.XPaymentSessionToken &&
|
|
1000
|
+
M.XPaymentSessionToken && jt.set(M.XPaymentSessionToken);
|
|
1000
1001
|
}).finally(() => o(6, oe = !1));
|
|
1001
1002
|
}, q = (a) => {
|
|
1002
1003
|
const h = a.currentTarget;
|
|
1003
|
-
a.target === h &&
|
|
1004
|
+
a.target === h && Le();
|
|
1004
1005
|
}, m = () => {
|
|
1005
1006
|
fetch(z).then((h) => h.json()).then((h) => {
|
|
1006
1007
|
Object.keys(h).forEach((P) => {
|
|
@@ -1018,21 +1019,21 @@ function bo(n, t, o) {
|
|
|
1018
1019
|
const x = () => {
|
|
1019
1020
|
Wn(F);
|
|
1020
1021
|
};
|
|
1021
|
-
|
|
1022
|
+
kn(() => (window.addEventListener("message", ge, !1), () => {
|
|
1022
1023
|
window.removeEventListener("message", ge);
|
|
1023
1024
|
})), Dn(() => {
|
|
1024
1025
|
clearInterval(W);
|
|
1025
1026
|
});
|
|
1026
1027
|
function Ae(a) {
|
|
1027
|
-
|
|
1028
|
+
Ft[a ? "unshift" : "push"](() => {
|
|
1028
1029
|
g = a, o(4, g);
|
|
1029
1030
|
});
|
|
1030
1031
|
}
|
|
1031
1032
|
function T() {
|
|
1032
1033
|
E = this.clientWidth, X = this.clientHeight, o(0, E), o(1, X);
|
|
1033
1034
|
}
|
|
1034
|
-
function
|
|
1035
|
-
|
|
1035
|
+
function v(a) {
|
|
1036
|
+
Ft[a ? "unshift" : "push"](() => {
|
|
1036
1037
|
g = a, o(4, g);
|
|
1037
1038
|
});
|
|
1038
1039
|
}
|
|
@@ -1042,9 +1043,9 @@ function bo(n, t, o) {
|
|
|
1042
1043
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1043
1044
|
2097152 && I(i), n.$$.dirty[0] & /*lang*/
|
|
1044
1045
|
16384 && F && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1045
|
-
4112 && S && g &&
|
|
1046
|
-
8208 && y && g &&
|
|
1047
|
-
1048592 && K && g &&
|
|
1046
|
+
4112 && S && g && Un(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1047
|
+
8208 && y && g && Hn(g, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1048
|
+
1048592 && K && g && Bn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1048
1049
|
32768 && z && m();
|
|
1049
1050
|
}, [
|
|
1050
1051
|
E,
|
|
@@ -1056,7 +1057,7 @@ function bo(n, t, o) {
|
|
|
1056
1057
|
oe,
|
|
1057
1058
|
le,
|
|
1058
1059
|
r,
|
|
1059
|
-
|
|
1060
|
+
Le,
|
|
1060
1061
|
q,
|
|
1061
1062
|
Se,
|
|
1062
1063
|
S,
|
|
@@ -1073,10 +1074,10 @@ function bo(n, t, o) {
|
|
|
1073
1074
|
f,
|
|
1074
1075
|
Ae,
|
|
1075
1076
|
T,
|
|
1076
|
-
|
|
1077
|
+
v
|
|
1077
1078
|
];
|
|
1078
1079
|
}
|
|
1079
|
-
class So extends
|
|
1080
|
+
class So extends vn {
|
|
1080
1081
|
constructor(t) {
|
|
1081
1082
|
super(), Mn(
|
|
1082
1083
|
this,
|
|
@@ -1107,82 +1108,82 @@ class So extends Ln {
|
|
|
1107
1108
|
return this.$$.ctx[12];
|
|
1108
1109
|
}
|
|
1109
1110
|
set clientstyling(t) {
|
|
1110
|
-
this.$$set({ clientstyling: t }),
|
|
1111
|
+
this.$$set({ clientstyling: t }), Z();
|
|
1111
1112
|
}
|
|
1112
1113
|
get clientstylingurl() {
|
|
1113
1114
|
return this.$$.ctx[13];
|
|
1114
1115
|
}
|
|
1115
1116
|
set clientstylingurl(t) {
|
|
1116
|
-
this.$$set({ clientstylingurl: t }),
|
|
1117
|
+
this.$$set({ clientstylingurl: t }), Z();
|
|
1117
1118
|
}
|
|
1118
1119
|
get width() {
|
|
1119
1120
|
return this.$$.ctx[0];
|
|
1120
1121
|
}
|
|
1121
1122
|
set width(t) {
|
|
1122
|
-
this.$$set({ width: t }),
|
|
1123
|
+
this.$$set({ width: t }), Z();
|
|
1123
1124
|
}
|
|
1124
1125
|
get height() {
|
|
1125
1126
|
return this.$$.ctx[1];
|
|
1126
1127
|
}
|
|
1127
1128
|
set height(t) {
|
|
1128
|
-
this.$$set({ height: t }),
|
|
1129
|
+
this.$$set({ height: t }), Z();
|
|
1129
1130
|
}
|
|
1130
1131
|
get duration() {
|
|
1131
1132
|
return this.$$.ctx[2];
|
|
1132
1133
|
}
|
|
1133
1134
|
set duration(t) {
|
|
1134
|
-
this.$$set({ duration: t }),
|
|
1135
|
+
this.$$set({ duration: t }), Z();
|
|
1135
1136
|
}
|
|
1136
1137
|
get assetsurl() {
|
|
1137
1138
|
return this.$$.ctx[3];
|
|
1138
1139
|
}
|
|
1139
1140
|
set assetsurl(t) {
|
|
1140
|
-
this.$$set({ assetsurl: t }),
|
|
1141
|
+
this.$$set({ assetsurl: t }), Z();
|
|
1141
1142
|
}
|
|
1142
1143
|
get lang() {
|
|
1143
1144
|
return this.$$.ctx[14];
|
|
1144
1145
|
}
|
|
1145
1146
|
set lang(t) {
|
|
1146
|
-
this.$$set({ lang: t }),
|
|
1147
|
+
this.$$set({ lang: t }), Z();
|
|
1147
1148
|
}
|
|
1148
1149
|
get translationurl() {
|
|
1149
1150
|
return this.$$.ctx[15];
|
|
1150
1151
|
}
|
|
1151
1152
|
set translationurl(t) {
|
|
1152
|
-
this.$$set({ translationurl: t }),
|
|
1153
|
+
this.$$set({ translationurl: t }), Z();
|
|
1153
1154
|
}
|
|
1154
1155
|
get endpoint() {
|
|
1155
1156
|
return this.$$.ctx[16];
|
|
1156
1157
|
}
|
|
1157
1158
|
set endpoint(t) {
|
|
1158
|
-
this.$$set({ endpoint: t }),
|
|
1159
|
+
this.$$set({ endpoint: t }), Z();
|
|
1159
1160
|
}
|
|
1160
1161
|
get currency() {
|
|
1161
1162
|
return this.$$.ctx[17];
|
|
1162
1163
|
}
|
|
1163
1164
|
set currency(t) {
|
|
1164
|
-
this.$$set({ currency: t }),
|
|
1165
|
+
this.$$set({ currency: t }), Z();
|
|
1165
1166
|
}
|
|
1166
1167
|
get customerid() {
|
|
1167
1168
|
return this.$$.ctx[18];
|
|
1168
1169
|
}
|
|
1169
1170
|
set customerid(t) {
|
|
1170
|
-
this.$$set({ customerid: t }),
|
|
1171
|
+
this.$$set({ customerid: t }), Z();
|
|
1171
1172
|
}
|
|
1172
1173
|
get selectedpaymentmethodname() {
|
|
1173
1174
|
return this.$$.ctx[19];
|
|
1174
1175
|
}
|
|
1175
1176
|
set selectedpaymentmethodname(t) {
|
|
1176
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
1177
|
+
this.$$set({ selectedpaymentmethodname: t }), Z();
|
|
1177
1178
|
}
|
|
1178
1179
|
get mbsource() {
|
|
1179
1180
|
return this.$$.ctx[20];
|
|
1180
1181
|
}
|
|
1181
1182
|
set mbsource(t) {
|
|
1182
|
-
this.$$set({ mbsource: t }),
|
|
1183
|
+
this.$$set({ mbsource: t }), Z();
|
|
1183
1184
|
}
|
|
1184
1185
|
}
|
|
1185
|
-
|
|
1186
|
+
Fn(So, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1186
1187
|
export {
|
|
1187
1188
|
So as default
|
|
1188
1189
|
};
|