@everymatrix/cashier-page 1.86.1 → 1.86.3
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-BNKjZ4dF.js → CashierCarousel-BhLbwlL5.js} +1144 -1165
- package/components/{CashierCarousel-D8MiOwuE.js → CashierCarousel-Bwhda3Gl.js} +1311 -1332
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierError-DZSJKCbW.js → CashierError-CXcO-Kju.js} +40 -40
- package/components/{CashierError-7qg__v0Z.js → CashierError-CXwvUOLy.js} +40 -40
- package/components/{CashierError-BorUJmCn.cjs → CashierError-D4Au4WNB.cjs} +1 -1
- package/components/{CashierHeader-B9Y-DaUB.js → CashierHeader-BgAqvq1Q.js} +56 -56
- package/components/{CashierHeader-B3b8zbwP.cjs → CashierHeader-CmAjJv-w.cjs} +1 -1
- package/components/{CashierHeader-CzpZDjFX.js → CashierHeader-DRj1BUdj.js} +60 -60
- package/components/{CashierIframeRedirect-aTaiu0hG.js → CashierIframeRedirect-B76kjw0o.js} +24 -24
- package/components/{CashierIframeRedirect-YYamzRsf.cjs → CashierIframeRedirect-Ddt7NW02.cjs} +1 -1
- package/components/{CashierIframeRedirect-B_A79AFN.js → CashierIframeRedirect-DmvuwOL2.js} +24 -24
- package/components/{CashierMethodDetails-Bxh5WhVb.js → CashierMethodDetails-BX_W3rwH.js} +151 -151
- package/components/{CashierMethodDetails-C1kjc4-Q.cjs → CashierMethodDetails-DmvyMFjk.cjs} +2 -2
- package/components/{CashierMethodDetails-BzVSr2on.js → CashierMethodDetails-i7grZPp4.js} +305 -305
- package/components/{CashierMethodsList-CBnuQYXc.js → CashierMethodsList-B6tMxcnh.js} +48 -48
- package/components/{CashierMethodsList-CLQK5Xcn.js → CashierMethodsList-DSq72RRw.js} +80 -80
- package/components/{CashierMethodsList-D9ypDDJW.cjs → CashierMethodsList-LHoZgwVR.cjs} +1 -1
- package/components/{CashierModal-Diij1t-w.cjs → CashierModal-C845c3D0.cjs} +1 -1
- package/components/{CashierModal-BE9c03E8.js → CashierModal-CTYxaPKG.js} +56 -56
- package/components/{CashierModal-R6fQk7sI.js → CashierModal-ndVMjksn.js} +69 -69
- package/components/{CashierNotifications-5EjGguMj.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/{CashierNotifications-mhDeZtGd.js → CashierNotifications-JNstA5Yb.js} +34 -34
- package/components/{CashierNotifications-kuNLTOB3.cjs → CashierNotifications-tfTPEiSk.cjs} +1 -1
- package/components/{CashierPage-y5YsPxSa.js → CashierPage-4nTfbT_j.js} +142 -142
- package/components/{CashierPage-BREFnfc1.js → CashierPage-Bd71Nhaq.js} +89 -89
- package/components/{CashierPage-DcE7E_Wf.cjs → CashierPage-CHtYMgc0.cjs} +1 -1
- package/components/{CashierReceiptPage-BbHKdDra.js → CashierReceiptPage-CnyLmUmL.js} +97 -97
- package/components/{CashierReceiptPage-CNwhHWwV.js → CashierReceiptPage-DV7Iz4wR.js} +97 -97
- package/components/{CashierReceiptPage-DGAjOoFe.cjs → CashierReceiptPage-HRthn--H.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-33ygvBxj.cjs → CashierSessionExpirationModal-Ckhir3qN.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-D6h6euRq.js → CashierSessionExpirationModal-CvYI4jUg.js} +119 -110
- package/components/{CashierSessionExpirationModal-BQujD7Vd.js → CashierSessionExpirationModal-DM8-SPd3.js} +99 -90
- package/components/{CashierSpinner-CYSebSGZ.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/{CashierSpinner-DVLxgI0s.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-DIyI0RD1.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/{CashierStepUp-DEb05cBS.js → CashierStepUp-5um8gbUX.js} +66 -66
- package/components/{CashierStepUp-B9H7E8wY.cjs → CashierStepUp-CjnvqYJo.cjs} +1 -1
- package/components/{CashierStepUp-DnvNxlcq.js → CashierStepUp-CyO7gmgP.js} +83 -83
- package/components/{CashierTransactionHistory-CX3RviXD.js → CashierTransactionHistory-5JNtVHcj.js} +115 -115
- package/components/{CashierTransactionHistory-ButX2_sB.js → CashierTransactionHistory-Cm3ikVPK.js} +84 -84
- package/components/{CashierTransactionHistory-D8cuhIj_.cjs → CashierTransactionHistory-CmgO6bXN.cjs} +1 -1
- package/components/{CashierVerifications-DVccv6qc.js → CashierVerifications-BmZYiJaN.js} +40 -40
- package/components/{CashierVerifications-DPeQTcCN.cjs → CashierVerifications-DkayuISY.cjs} +1 -1
- package/components/{CashierVerifications-CPUhZGV4.js → CashierVerifications-hID6hjDs.js} +37 -37
- package/components/{TxnStatusIcon-Krgh5oF3.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-CpJJHtXq.js → TxnStatusIcon-HrmfQdAc.js} +19 -19
- package/components/{TxnStatusIcon-DuWdYaRx.cjs → TxnStatusIcon-Le-TBKNh.cjs} +1 -1
- package/components/{TxnTypeIcons-Az6Gbxxw.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Bvy6NVGO.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/{TxnTypeIcons-iU9VGsWs.cjs → TxnTypeIcons-sZUo9qa8.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/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-CecQbbdW.cjs +0 -23
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn,
|
|
2
|
-
import { f as
|
|
3
|
-
import { d as Yt, u as
|
|
1
|
+
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn, f as q, c as Rn, s as kn, d as On, g as R, k as ve, t as Te, o as Ae, a6 as un, p as Me, q as Ut, r as Nn, af as Dn, v as In, e as $e, R as oe, h as Ee, x as We, j as u, L as Ht, l as p, a7 as Pn, z as Je, y as Ye, u as et, m as tt, n as nt, a8 as fn, ag as Ft, a1 as Un, w as Hn, A as Fn, B as zt, C as zn, D as Bn, E as Bt, G as Gt } from "./CashierCarousel-BhLbwlL5.js";
|
|
2
|
+
import { f as Wt } from "./CashierReceiptPage-DV7Iz4wR.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-BX_W3rwH.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
xn(n, t);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Wn(n) {
|
|
8
8
|
Cn({
|
|
9
9
|
fallbackLocale: "en"
|
|
10
10
|
}), Ln.set(n);
|
|
@@ -131,13 +131,22 @@ var tn = /* @__PURE__ */ Object.freeze({
|
|
|
131
131
|
DOCTYPE_NAME: hn,
|
|
132
132
|
CUSTOM_ELEMENT: ro
|
|
133
133
|
});
|
|
134
|
-
const
|
|
134
|
+
const Ge = {
|
|
135
135
|
element: 1,
|
|
136
|
+
attribute: 2,
|
|
136
137
|
text: 3,
|
|
138
|
+
cdataSection: 4,
|
|
139
|
+
entityReference: 5,
|
|
140
|
+
// Deprecated
|
|
141
|
+
entityNode: 6,
|
|
137
142
|
// Deprecated
|
|
138
143
|
progressingInstruction: 7,
|
|
139
144
|
comment: 8,
|
|
140
|
-
document: 9
|
|
145
|
+
document: 9,
|
|
146
|
+
documentType: 10,
|
|
147
|
+
documentFragment: 11,
|
|
148
|
+
notation: 12
|
|
149
|
+
// Deprecated
|
|
141
150
|
}, ao = function() {
|
|
142
151
|
return typeof window > "u" ? null : window;
|
|
143
152
|
}, lo = function(t, o) {
|
|
@@ -163,7 +172,7 @@ const We = {
|
|
|
163
172
|
function gn() {
|
|
164
173
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ao();
|
|
165
174
|
const t = (c) => gn(c);
|
|
166
|
-
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !==
|
|
175
|
+
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
|
|
167
176
|
return t.isSupported = !1, t;
|
|
168
177
|
let {
|
|
169
178
|
document: o
|
|
@@ -188,18 +197,18 @@ function gn() {
|
|
|
188
197
|
implementation: te,
|
|
189
198
|
createNodeIterator: re,
|
|
190
199
|
createDocumentFragment: de,
|
|
191
|
-
getElementsByTagName:
|
|
200
|
+
getElementsByTagName: G
|
|
192
201
|
} = o, {
|
|
193
202
|
importNode: ne
|
|
194
203
|
} = i;
|
|
195
204
|
let v = {};
|
|
196
205
|
t.isSupported = typeof mn == "function" && typeof J == "function" && te && te.createHTMLDocument !== void 0;
|
|
197
206
|
const {
|
|
198
|
-
MUSTACHE_EXPR:
|
|
207
|
+
MUSTACHE_EXPR: W,
|
|
199
208
|
ERB_EXPR: ae,
|
|
200
209
|
TMPLIT_EXPR: we,
|
|
201
210
|
DATA_ATTR: K,
|
|
202
|
-
ARIA_ATTR:
|
|
211
|
+
ARIA_ATTR: D,
|
|
203
212
|
IS_SCRIPT_OR_DATA: k,
|
|
204
213
|
ATTR_WHITESPACE: le,
|
|
205
214
|
CUSTOM_ELEMENT: Re
|
|
@@ -237,16 +246,16 @@ function gn() {
|
|
|
237
246
|
const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
238
247
|
let st = null;
|
|
239
248
|
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", ge = "http://www.w3.org/1999/xhtml";
|
|
240
|
-
let
|
|
249
|
+
let Ne = ge, rt = !1, at = null;
|
|
241
250
|
const En = d({}, [Ve, qe, ge], ct);
|
|
242
251
|
let Pe = null;
|
|
243
252
|
const Tn = ["application/xhtml+xml", "text/html"], yn = "text/html";
|
|
244
|
-
let O = null,
|
|
253
|
+
let O = null, De = null;
|
|
245
254
|
const wn = o.createElement("form"), bt = function(e) {
|
|
246
255
|
return e instanceof RegExp || e instanceof Function;
|
|
247
256
|
}, lt = function() {
|
|
248
257
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
249
|
-
if (!(
|
|
258
|
+
if (!(De && De === e)) {
|
|
250
259
|
if ((!e || typeof e != "object") && (e = {}), e = Le(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
|
|
251
260
|
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, O = Pe === "application/xhtml+xml" ? ct : ot, m = ie(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, O) : be, x = ie(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, O) : Se, at = ie(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : En, st = ie(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
252
261
|
Le(wt),
|
|
@@ -262,7 +271,7 @@ function gn() {
|
|
|
262
271
|
// eslint-disable-line indent
|
|
263
272
|
O
|
|
264
273
|
// eslint-disable-line indent
|
|
265
|
-
) : yt, Oe = ie(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et, r = ie(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, O) : {}, w = ie(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, O) : {}, ke = ie(e, "USE_PROFILES") ? e.USE_PROFILES : !1, C = e.ALLOW_ARIA_ATTR !== !1, M = e.ALLOW_DATA_ATTR !== !1, Ce = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = e.SAFE_FOR_TEMPLATES || !1, Q = e.SAFE_FOR_XML !== !1, ce = e.WHOLE_DOCUMENT || !1, ue = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, L = 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, V = e.ALLOWED_URI_REGEXP || dn,
|
|
274
|
+
) : yt, Oe = ie(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et, r = ie(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, O) : {}, w = ie(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, O) : {}, ke = ie(e, "USE_PROFILES") ? e.USE_PROFILES : !1, C = e.ALLOW_ARIA_ATTR !== !1, M = e.ALLOW_DATA_ATTR !== !1, Ce = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = e.SAFE_FOR_TEMPLATES || !1, Q = e.SAFE_FOR_XML !== !1, ce = e.WHOLE_DOCUMENT || !1, ue = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, L = 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, V = e.ALLOWED_URI_REGEXP || dn, Ne = e.NAMESPACE || ge, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), he && (M = !1), je && (ue = !0), ke && (m = d({}, Qt), x = [], ke.html === !0 && (d(m, Kt), d(x, $t)), ke.svg === !0 && (d(m, ut), d(x, pt), d(x, Qe)), ke.svgFilters === !0 && (d(m, ft), d(x, pt), d(x, Qe)), ke.mathMl === !0 && (d(m, mt), d(x, en), d(x, Qe))), e.ADD_TAGS && (m === be && (m = Le(m)), d(m, e.ADD_TAGS, O)), e.ADD_ATTR && (x === Se && (x = Le(x)), d(x, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (Oe === Et && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, O)), it && (m["#text"] = !0), ce && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete r.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
266
275
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
267
276
|
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
268
277
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -270,12 +279,12 @@ function gn() {
|
|
|
270
279
|
h = e.TRUSTED_TYPES_POLICY, A = h.createHTML("");
|
|
271
280
|
} else
|
|
272
281
|
h === void 0 && (h = lo(F, a)), h !== null && typeof A == "string" && (A = h.createHTML(""));
|
|
273
|
-
H && H(e),
|
|
282
|
+
H && H(e), De = e;
|
|
274
283
|
}
|
|
275
284
|
}, 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) {
|
|
276
285
|
let s = J(e);
|
|
277
286
|
(!s || !s.tagName) && (s = {
|
|
278
|
-
namespaceURI:
|
|
287
|
+
namespaceURI: Ne,
|
|
279
288
|
tagName: "template"
|
|
280
289
|
});
|
|
281
290
|
const l = ot(e.tagName), y = ot(s.tagName);
|
|
@@ -317,25 +326,25 @@ function gn() {
|
|
|
317
326
|
if (L)
|
|
318
327
|
e = "<remove></remove>" + e;
|
|
319
328
|
else {
|
|
320
|
-
const
|
|
321
|
-
l =
|
|
329
|
+
const N = Jt(e, /^[\r\n\t ]+/);
|
|
330
|
+
l = N && N[0];
|
|
322
331
|
}
|
|
323
|
-
Pe === "application/xhtml+xml" &&
|
|
332
|
+
Pe === "application/xhtml+xml" && Ne === ge && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
324
333
|
const y = h ? h.createHTML(e) : e;
|
|
325
|
-
if (
|
|
334
|
+
if (Ne === ge)
|
|
326
335
|
try {
|
|
327
336
|
s = new xe().parseFromString(y, Pe);
|
|
328
337
|
} catch {
|
|
329
338
|
}
|
|
330
339
|
if (!s || !s.documentElement) {
|
|
331
|
-
s = te.createDocument(
|
|
340
|
+
s = te.createDocument(Ne, "template", null);
|
|
332
341
|
try {
|
|
333
342
|
s.documentElement.innerHTML = rt ? A : y;
|
|
334
343
|
} catch {
|
|
335
344
|
}
|
|
336
345
|
}
|
|
337
346
|
const I = s.body || s.documentElement;
|
|
338
|
-
return e && l && I.insertBefore(o.createTextNode(l), I.childNodes[0] || null),
|
|
347
|
+
return e && l && I.insertBefore(o.createTextNode(l), I.childNodes[0] || null), Ne === ge ? G.call(s, ce ? "html" : "body")[0] : ce ? s.documentElement : I;
|
|
339
348
|
}, vt = function(e) {
|
|
340
349
|
return re.call(
|
|
341
350
|
e.ownerDocument || e,
|
|
@@ -350,7 +359,7 @@ function gn() {
|
|
|
350
359
|
return typeof S == "function" && e instanceof S;
|
|
351
360
|
}, _e = function(e, s, l) {
|
|
352
361
|
v[e] && Ke(v[e], (y) => {
|
|
353
|
-
y.call(t, s, l,
|
|
362
|
+
y.call(t, s, l, De);
|
|
354
363
|
});
|
|
355
364
|
}, kt = function(e) {
|
|
356
365
|
let s = null;
|
|
@@ -360,16 +369,16 @@ function gn() {
|
|
|
360
369
|
if (_e("uponSanitizeElement", e, {
|
|
361
370
|
tagName: l,
|
|
362
371
|
allowedTags: m
|
|
363
|
-
}), e.hasChildNodes() && !Rt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType ===
|
|
372
|
+
}), e.hasChildNodes() && !Rt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || Q && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
|
|
364
373
|
return fe(e), !0;
|
|
365
374
|
if (!m[l] || r[l]) {
|
|
366
|
-
if (!r[l] &&
|
|
375
|
+
if (!r[l] && Nt(l) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, l) || E.tagNameCheck instanceof Function && E.tagNameCheck(l)))
|
|
367
376
|
return !1;
|
|
368
377
|
if (it && !Oe[l]) {
|
|
369
378
|
const y = J(e) || e.parentNode, I = pe(e) || e.childNodes;
|
|
370
379
|
if (I && y) {
|
|
371
|
-
const
|
|
372
|
-
for (let j =
|
|
380
|
+
const N = I.length;
|
|
381
|
+
for (let j = N - 1; j >= 0; --j) {
|
|
373
382
|
const me = ye(I[j], !0);
|
|
374
383
|
me.__removalCount = (e.__removalCount || 0) + 1, y.insertBefore(me, B(e));
|
|
375
384
|
}
|
|
@@ -377,7 +386,7 @@ function gn() {
|
|
|
377
386
|
}
|
|
378
387
|
return fe(e), !0;
|
|
379
388
|
}
|
|
380
|
-
return e instanceof T && !Sn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (fe(e), !0) : (he && e.nodeType ===
|
|
389
|
+
return e instanceof T && !Sn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (fe(e), !0) : (he && e.nodeType === Ge.text && (s = e.textContent, Ke([W, ae, we], (y) => {
|
|
381
390
|
s = Fe(s, y, " ");
|
|
382
391
|
}), e.textContent !== s && (He(t.removed, {
|
|
383
392
|
element: e.cloneNode()
|
|
@@ -386,13 +395,13 @@ function gn() {
|
|
|
386
395
|
if (gt && (s === "id" || s === "name") && (l in o || l in wn))
|
|
387
396
|
return !1;
|
|
388
397
|
if (!(M && !w[s] && U(K, s))) {
|
|
389
|
-
if (!(C && U(
|
|
398
|
+
if (!(C && U(D, s))) {
|
|
390
399
|
if (!x[s] || w[s]) {
|
|
391
400
|
if (
|
|
392
401
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
393
402
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
394
403
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
395
|
-
!(
|
|
404
|
+
!(Nt(e) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && U(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
396
405
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
397
406
|
s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, l) || E.tagNameCheck instanceof Function && E.tagNameCheck(l)))
|
|
398
407
|
)
|
|
@@ -410,9 +419,9 @@ function gn() {
|
|
|
410
419
|
}
|
|
411
420
|
}
|
|
412
421
|
return !0;
|
|
413
|
-
}, Dt = function(e) {
|
|
414
|
-
return e !== "annotation-xml" && Jt(e, Re);
|
|
415
422
|
}, Nt = function(e) {
|
|
423
|
+
return e !== "annotation-xml" && Jt(e, Re);
|
|
424
|
+
}, Dt = function(e) {
|
|
416
425
|
_e("beforeSanitizeAttributes", e, null);
|
|
417
426
|
const {
|
|
418
427
|
attributes: s
|
|
@@ -428,27 +437,27 @@ function gn() {
|
|
|
428
437
|
let y = s.length;
|
|
429
438
|
for (; y--; ) {
|
|
430
439
|
const I = s[y], {
|
|
431
|
-
name:
|
|
440
|
+
name: N,
|
|
432
441
|
namespaceURI: j,
|
|
433
442
|
value: me
|
|
434
|
-
} = I, Ue = O(
|
|
435
|
-
let P =
|
|
443
|
+
} = I, Ue = O(N);
|
|
444
|
+
let P = N === "value" ? me : qn(me);
|
|
436
445
|
if (l.attrName = Ue, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, _e("uponSanitizeAttribute", e, l), P = l.attrValue, Q && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
437
|
-
Ze(
|
|
446
|
+
Ze(N, e);
|
|
438
447
|
continue;
|
|
439
448
|
}
|
|
440
|
-
if (l.forceKeepAttr || (Ze(
|
|
449
|
+
if (l.forceKeepAttr || (Ze(N, e), !l.keepAttr))
|
|
441
450
|
continue;
|
|
442
451
|
if (!Y && U(/\/>/i, P)) {
|
|
443
|
-
Ze(
|
|
452
|
+
Ze(N, e);
|
|
444
453
|
continue;
|
|
445
454
|
}
|
|
446
|
-
he && Ke([
|
|
455
|
+
he && Ke([W, ae, we], (Pt) => {
|
|
447
456
|
P = Fe(P, Pt, " ");
|
|
448
457
|
});
|
|
449
458
|
const It = O(e.nodeName);
|
|
450
459
|
if (Ot(It, Ue, P)) {
|
|
451
|
-
if (_t && (Ue === "id" || Ue === "name") && (Ze(
|
|
460
|
+
if (_t && (Ue === "id" || Ue === "name") && (Ze(N, e), P = _n + P), h && typeof F == "object" && typeof F.getAttributeType == "function" && !j)
|
|
452
461
|
switch (F.getAttributeType(It, Ue)) {
|
|
453
462
|
case "TrustedHTML": {
|
|
454
463
|
P = h.createHTML(P);
|
|
@@ -460,7 +469,7 @@ function gn() {
|
|
|
460
469
|
}
|
|
461
470
|
}
|
|
462
471
|
try {
|
|
463
|
-
j ? e.setAttributeNS(j,
|
|
472
|
+
j ? e.setAttributeNS(j, N, P) : e.setAttribute(N, P), Mt(e) ? fe(e) : Zt(t.removed);
|
|
464
473
|
} catch {
|
|
465
474
|
}
|
|
466
475
|
}
|
|
@@ -470,7 +479,7 @@ function gn() {
|
|
|
470
479
|
let s = null;
|
|
471
480
|
const l = vt(e);
|
|
472
481
|
for (_e("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
473
|
-
_e("uponSanitizeShadowNode", s, null), !kt(s) && (s.content instanceof f && c(s.content),
|
|
482
|
+
_e("uponSanitizeShadowNode", s, null), !kt(s) && (s.content instanceof f && c(s.content), Dt(s));
|
|
474
483
|
_e("afterSanitizeShadowDOM", e, null);
|
|
475
484
|
};
|
|
476
485
|
return t.sanitize = function(c) {
|
|
@@ -490,7 +499,7 @@ function gn() {
|
|
|
490
499
|
throw ze("root node is forbidden and cannot be sanitized in-place");
|
|
491
500
|
}
|
|
492
501
|
} else if (c instanceof S)
|
|
493
|
-
s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType ===
|
|
502
|
+
s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
494
503
|
else {
|
|
495
504
|
if (!ue && !he && !ce && // eslint-disable-next-line unicorn/prefer-includes
|
|
496
505
|
c.indexOf("<") === -1)
|
|
@@ -499,9 +508,9 @@ function gn() {
|
|
|
499
508
|
return ue ? null : Xe ? A : "";
|
|
500
509
|
}
|
|
501
510
|
s && L && fe(s.firstChild);
|
|
502
|
-
const
|
|
503
|
-
for (; y =
|
|
504
|
-
kt(y) || (y.content instanceof f && An(y.content),
|
|
511
|
+
const N = vt(Ie ? c : s);
|
|
512
|
+
for (; y = N.nextNode(); )
|
|
513
|
+
kt(y) || (y.content instanceof f && An(y.content), Dt(y));
|
|
505
514
|
if (Ie)
|
|
506
515
|
return c;
|
|
507
516
|
if (ue) {
|
|
@@ -514,16 +523,16 @@ function gn() {
|
|
|
514
523
|
}
|
|
515
524
|
let j = ce ? s.outerHTML : s.innerHTML;
|
|
516
525
|
return ce && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(hn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
517
|
-
` + j), he && Ke([
|
|
526
|
+
` + j), he && Ke([W, ae, we], (me) => {
|
|
518
527
|
j = Fe(j, me, " ");
|
|
519
528
|
}), h && Xe ? h.createHTML(j) : j;
|
|
520
529
|
}, t.setConfig = function() {
|
|
521
530
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
522
531
|
lt(c), b = !0;
|
|
523
532
|
}, t.clearConfig = function() {
|
|
524
|
-
|
|
533
|
+
De = null, b = !1;
|
|
525
534
|
}, t.isValidAttribute = function(c, e, s) {
|
|
526
|
-
|
|
535
|
+
De || lt({});
|
|
527
536
|
const l = O(c), y = O(e);
|
|
528
537
|
return Ot(l, y, s);
|
|
529
538
|
}, t.addHook = function(c, e) {
|
|
@@ -539,17 +548,17 @@ function gn() {
|
|
|
539
548
|
}
|
|
540
549
|
var nn = gn();
|
|
541
550
|
function co(n) {
|
|
542
|
-
|
|
551
|
+
On(n, "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}');
|
|
543
552
|
}
|
|
544
553
|
const uo = (n) => ({}), on = (n) => ({}), fo = (n) => ({}), sn = (n) => ({}), mo = (n) => ({}), rn = (n) => ({}), po = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
545
554
|
function ln(n) {
|
|
546
555
|
let t, o, i, a, f, g, S, T, _, X, ee, xe, F = (
|
|
547
556
|
/*$_*/
|
|
548
557
|
n[8]("sessionExpirationHeader") + ""
|
|
549
|
-
), z, ye, se, B, pe, J, h, A, te, re, de,
|
|
558
|
+
), z, ye, se, B, pe, J, h, A, te, re, de, G, ne, v, W = (
|
|
550
559
|
/*$_*/
|
|
551
560
|
n[8]("sessionExpirationEnd") + ""
|
|
552
|
-
), ae, we, K,
|
|
561
|
+
), ae, we, K, D, k, le, Re, V, m, be, x;
|
|
553
562
|
const Se = (
|
|
554
563
|
/*#slots*/
|
|
555
564
|
n[23].icon
|
|
@@ -584,16 +593,16 @@ function ln(n) {
|
|
|
584
593
|
b[6] ? 0 : 1
|
|
585
594
|
);
|
|
586
595
|
}
|
|
587
|
-
return
|
|
596
|
+
return D = ce(n), k = Q[D] = he[D](n), {
|
|
588
597
|
c() {
|
|
589
|
-
t = R("div"), o = R("div"), i = R("div"), a = R("div"), f = oe("svg"), g = oe("defs"), S = oe("mask"), T = oe("circle"), _ = oe("rect"), X = oe("circle"), ee = oe("circle"), xe = Ee(), z =
|
|
590
|
-
(n[6] ? "Disabled" : "")), u(
|
|
598
|
+
t = R("div"), o = R("div"), i = R("div"), a = R("div"), f = oe("svg"), g = oe("defs"), S = oe("mask"), T = oe("circle"), _ = oe("rect"), X = oe("circle"), ee = oe("circle"), xe = Ee(), z = We(F), ye = Ee(), se = R("div"), B = oe("svg"), pe = oe("path"), J = Ee(), h = R("div"), A = R("div"), r && r.c(), te = Ee(), C && C.c(), re = Ee(), Y && Y.c(), de = Ee(), G = R("div"), ne = R("button"), v = R("span"), ae = We(W), we = Ee(), K = R("button"), k.c(), u(T, "cx", "100"), u(T, "cy", "100"), u(T, "r", "90"), u(_, "x", "88"), u(_, "y", "40"), u(_, "width", "24"), u(_, "height", "80"), u(_, "rx", "12"), u(_, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ee, "cx", "100"), u(ee, "cy", "100"), u(ee, "r", "90"), u(ee, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(a, "class", "CashierSessionExpirationModalHeaderTitle"), u(pe, "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(B, "xmlns", "http://www.w3.org/2000/svg"), u(B, "viewBox", "0 0 13 13"), u(B, "fill", "none"), u(B, "class", "CloseButton"), u(se, "class", "ModalCloseIcon"), u(i, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(ne, "type", "button"), u(ne, "class", "ModalButton Secondary"), u(K, "type", "button"), u(K, "class", le = "ModalButton Primary " + /*showLoaderButton*/
|
|
599
|
+
(n[6] ? "Disabled" : "")), u(G, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(h, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), Ht(() => (
|
|
591
600
|
/*div7_elementresize_handler*/
|
|
592
601
|
n[25].call(t)
|
|
593
602
|
));
|
|
594
603
|
},
|
|
595
604
|
m(b, L) {
|
|
596
|
-
|
|
605
|
+
ve(b, t, L), p(t, o), p(o, i), p(i, a), p(a, f), p(f, g), p(g, S), p(S, T), p(S, _), p(S, X), p(f, ee), p(a, xe), p(a, z), p(i, ye), p(i, se), p(se, B), p(B, pe), p(o, J), p(o, h), p(h, A), r && r.m(A, null), p(A, te), C && C.m(A, null), p(A, re), Y && Y.m(A, null), p(A, de), p(A, G), p(G, ne), p(ne, v), p(v, ae), p(G, we), p(G, K), Q[D].m(K, null), n[24](A), Re = Pn(
|
|
597
606
|
t,
|
|
598
607
|
/*div7_elementresize_handler*/
|
|
599
608
|
n[25].bind(t)
|
|
@@ -627,7 +636,7 @@ function ln(n) {
|
|
|
627
636
|
p(b, L) {
|
|
628
637
|
n = b, (!m || L[0] & /*$_*/
|
|
629
638
|
256) && F !== (F = /*$_*/
|
|
630
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
639
|
+
n[8]("sessionExpirationHeader") + "") && Ye(z, F), E ? E.p && (!m || L[0] & /*$$scope*/
|
|
631
640
|
4194304) && et(
|
|
632
641
|
E,
|
|
633
642
|
Se,
|
|
@@ -684,31 +693,31 @@ function ln(n) {
|
|
|
684
693
|
sn
|
|
685
694
|
) : Y && Y.p && (!m || L[0] & /*$_, timeLeft*/
|
|
686
695
|
384) && Y.p(n, m ? L : [-1, -1]), (!m || L[0] & /*$_*/
|
|
687
|
-
256) &&
|
|
688
|
-
n[8]("sessionExpirationEnd") + "") &&
|
|
689
|
-
let ue =
|
|
690
|
-
|
|
696
|
+
256) && W !== (W = /*$_*/
|
|
697
|
+
n[8]("sessionExpirationEnd") + "") && Ye(ae, W);
|
|
698
|
+
let ue = D;
|
|
699
|
+
D = ce(n), D === ue ? Q[D].p(n, L) : (fn(), Ae(Q[ue], 1, 1, () => {
|
|
691
700
|
Q[ue] = null;
|
|
692
|
-
}),
|
|
701
|
+
}), un(), k = Q[D], k ? k.p(n, L) : (k = Q[D] = he[D](n), k.c()), Te(k, 1), k.m(K, null)), (!m || L[0] & /*showLoaderButton*/
|
|
693
702
|
64 && le !== (le = "ModalButton Primary " + /*showLoaderButton*/
|
|
694
703
|
(n[6] ? "Disabled" : ""))) && u(K, "class", le);
|
|
695
704
|
},
|
|
696
705
|
i(b) {
|
|
697
|
-
m || (Te(r, b), Te(C, b), Te(Y, b), Te(k), b &&
|
|
698
|
-
m && (V || (V =
|
|
706
|
+
m || (Te(r, b), Te(C, b), Te(Y, b), Te(k), b && Ht(() => {
|
|
707
|
+
m && (V || (V = Ft(t, Wt, { duration: (
|
|
699
708
|
/*duration*/
|
|
700
709
|
n[2]
|
|
701
710
|
) }, !0)), V.run(1));
|
|
702
711
|
}), m = !0);
|
|
703
712
|
},
|
|
704
713
|
o(b) {
|
|
705
|
-
Ae(r, b), Ae(C, b), Ae(Y, b), Ae(k), b && (V || (V =
|
|
714
|
+
Ae(r, b), Ae(C, b), Ae(Y, b), Ae(k), b && (V || (V = Ft(t, Wt, { duration: (
|
|
706
715
|
/*duration*/
|
|
707
716
|
n[2]
|
|
708
717
|
) }, !1)), V.run(0)), m = !1;
|
|
709
718
|
},
|
|
710
719
|
d(b) {
|
|
711
|
-
b &&
|
|
720
|
+
b && Me(t), r && r.d(b), C && C.d(b), Y && Y.d(b), Q[D].d(), n[24](null), Re(), b && V && V.end(), be = !1, Un(x);
|
|
712
721
|
}
|
|
713
722
|
};
|
|
714
723
|
}
|
|
@@ -716,19 +725,19 @@ function cn(n) {
|
|
|
716
725
|
let t, o;
|
|
717
726
|
return {
|
|
718
727
|
c() {
|
|
719
|
-
t = R("img"),
|
|
728
|
+
t = R("img"), Bt(t.src, o = `${/*assetsurl*/
|
|
720
729
|
n[3]}/set-timeout-icon.png`) || u(t, "src", o), u(t, "width", "300px"), u(t, "alt", "error");
|
|
721
730
|
},
|
|
722
731
|
m(i, a) {
|
|
723
|
-
|
|
732
|
+
ve(i, t, a);
|
|
724
733
|
},
|
|
725
734
|
p(i, a) {
|
|
726
735
|
a[0] & /*assetsurl*/
|
|
727
|
-
8 && !
|
|
736
|
+
8 && !Bt(t.src, o = `${/*assetsurl*/
|
|
728
737
|
i[3]}/set-timeout-icon.png`) && u(t, "src", o);
|
|
729
738
|
},
|
|
730
739
|
d(i) {
|
|
731
|
-
i &&
|
|
740
|
+
i && Me(t);
|
|
732
741
|
}
|
|
733
742
|
};
|
|
734
743
|
}
|
|
@@ -739,17 +748,17 @@ function ho(n) {
|
|
|
739
748
|
);
|
|
740
749
|
return {
|
|
741
750
|
c() {
|
|
742
|
-
o && o.c(), t =
|
|
751
|
+
o && o.c(), t = Hn();
|
|
743
752
|
},
|
|
744
753
|
m(i, a) {
|
|
745
|
-
o && o.m(i, a),
|
|
754
|
+
o && o.m(i, a), ve(i, t, a);
|
|
746
755
|
},
|
|
747
756
|
p(i, a) {
|
|
748
757
|
/*assetsurl*/
|
|
749
758
|
i[3] ? o ? o.p(i, a) : (o = cn(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
750
759
|
},
|
|
751
760
|
d(i) {
|
|
752
|
-
i &&
|
|
761
|
+
i && Me(t), o && o.d(i);
|
|
753
762
|
}
|
|
754
763
|
};
|
|
755
764
|
}
|
|
@@ -766,15 +775,15 @@ function go(n) {
|
|
|
766
775
|
) + "";
|
|
767
776
|
return {
|
|
768
777
|
c() {
|
|
769
|
-
t = R("span"), o = R("p"), a =
|
|
778
|
+
t = R("span"), o = R("p"), a = We(i), f = Ee(), g = R("p"), u(t, "class", "CashierSessionExpirationText");
|
|
770
779
|
},
|
|
771
780
|
m(T, _) {
|
|
772
|
-
|
|
781
|
+
ve(T, t, _), p(t, o), p(o, a), p(t, f), p(t, g), g.innerHTML = S;
|
|
773
782
|
},
|
|
774
783
|
p(T, _) {
|
|
775
784
|
_[0] & /*$_*/
|
|
776
785
|
256 && i !== (i = /*$_*/
|
|
777
|
-
T[8]("sessionExpirationTitle") + "") &&
|
|
786
|
+
T[8]("sessionExpirationTitle") + "") && Ye(a, i), _[0] & /*$_, timeLeft*/
|
|
778
787
|
384 && S !== (S = nn.sanitize(
|
|
779
788
|
/*$_*/
|
|
780
789
|
T[8]("sessionExpirationGeneralText", { values: { second: (
|
|
@@ -784,7 +793,7 @@ function go(n) {
|
|
|
784
793
|
) + "") && (g.innerHTML = S);
|
|
785
794
|
},
|
|
786
795
|
d(T) {
|
|
787
|
-
T &&
|
|
796
|
+
T && Me(t);
|
|
788
797
|
}
|
|
789
798
|
};
|
|
790
799
|
}
|
|
@@ -847,20 +856,20 @@ function Eo(n) {
|
|
|
847
856
|
), S;
|
|
848
857
|
return {
|
|
849
858
|
c() {
|
|
850
|
-
t = R("div"), o = oe("svg"), i = oe("path"), a = Ee(), f = R("span"), S =
|
|
859
|
+
t = R("div"), o = oe("svg"), i = oe("path"), a = Ee(), f = R("span"), S = We(g), u(i, "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(i, "fill", "white"), u(o, "class", "CashierSessionExpirationButtonSpinner"), u(o, "xmlns", "http://www.w3.org/2000/svg"), u(o, "width", "15"), u(o, "height", "14"), u(o, "viewBox", "0 0 15 14"), u(o, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
|
|
851
860
|
},
|
|
852
861
|
m(T, _) {
|
|
853
|
-
|
|
862
|
+
ve(T, t, _), p(t, o), p(o, i), p(t, a), p(t, f), p(f, S);
|
|
854
863
|
},
|
|
855
864
|
p(T, _) {
|
|
856
865
|
_[0] & /*$_*/
|
|
857
866
|
256 && g !== (g = /*$_*/
|
|
858
|
-
T[8]("sessionExpirationLoadingButton") + "") &&
|
|
867
|
+
T[8]("sessionExpirationLoadingButton") + "") && Ye(S, g);
|
|
859
868
|
},
|
|
860
|
-
i:
|
|
861
|
-
o:
|
|
869
|
+
i: Gt,
|
|
870
|
+
o: Gt,
|
|
862
871
|
d(T) {
|
|
863
|
-
T &&
|
|
872
|
+
T && Me(t);
|
|
864
873
|
}
|
|
865
874
|
};
|
|
866
875
|
}
|
|
@@ -871,18 +880,18 @@ function To(n) {
|
|
|
871
880
|
), i;
|
|
872
881
|
return {
|
|
873
882
|
c() {
|
|
874
|
-
t = R("span"), i =
|
|
883
|
+
t = R("span"), i = We(o), u(t, "class", "CashierSessionExpirationButtonText");
|
|
875
884
|
},
|
|
876
885
|
m(a, f) {
|
|
877
|
-
|
|
886
|
+
ve(a, t, f), p(t, i);
|
|
878
887
|
},
|
|
879
888
|
p(a, f) {
|
|
880
889
|
f[0] & /*$_*/
|
|
881
890
|
256 && o !== (o = /*$_*/
|
|
882
|
-
a[8]("sessionExpirationGeneralButton") + "") &&
|
|
891
|
+
a[8]("sessionExpirationGeneralButton") + "") && Ye(i, o);
|
|
883
892
|
},
|
|
884
893
|
d(a) {
|
|
885
|
-
a &&
|
|
894
|
+
a && Me(t);
|
|
886
895
|
}
|
|
887
896
|
};
|
|
888
897
|
}
|
|
@@ -896,14 +905,14 @@ function yo(n) {
|
|
|
896
905
|
t = R("div"), i && i.c();
|
|
897
906
|
},
|
|
898
907
|
m(a, f) {
|
|
899
|
-
|
|
908
|
+
ve(a, t, f), i && i.m(t, null), n[26](t), o = !0;
|
|
900
909
|
},
|
|
901
910
|
p(a, f) {
|
|
902
911
|
/*show*/
|
|
903
912
|
a[5] ? i ? (i.p(a, f), f[0] & /*show*/
|
|
904
|
-
32 && Te(i, 1)) : (i = ln(a), i.c(), Te(i, 1), i.m(t, null)) : i && (
|
|
913
|
+
32 && Te(i, 1)) : (i = ln(a), i.c(), Te(i, 1), i.m(t, null)) : i && (fn(), Ae(i, 1, 1, () => {
|
|
905
914
|
i = null;
|
|
906
|
-
}),
|
|
915
|
+
}), un());
|
|
907
916
|
},
|
|
908
917
|
i(a) {
|
|
909
918
|
o || (Te(i), o = !0);
|
|
@@ -912,21 +921,21 @@ function yo(n) {
|
|
|
912
921
|
Ae(i), o = !1;
|
|
913
922
|
},
|
|
914
923
|
d(a) {
|
|
915
|
-
a &&
|
|
924
|
+
a && Me(t), i && i.d(), n[26](null);
|
|
916
925
|
}
|
|
917
926
|
};
|
|
918
927
|
}
|
|
919
928
|
const wo = 90;
|
|
920
929
|
function bo(n, t, o) {
|
|
921
930
|
let i, a;
|
|
922
|
-
Ut(n, jt, (r) => o(21, i = r)), Ut(n,
|
|
931
|
+
Ut(n, jt, (r) => o(21, i = r)), Ut(n, Fn, (r) => o(8, a = r));
|
|
923
932
|
let { $$slots: f = {}, $$scope: g } = t;
|
|
924
|
-
Yt.extend(
|
|
925
|
-
let { clientstyling: S = "" } = t, { clientstylingurl: T = "" } = t, { width: _ } = t, { height: X } = t, { duration: ee = 200 } = t, { assetsurl: xe = "" } = t, { lang: F = "en" } = t, { translationurl: z = "" } = t, { endpoint: ye } = t, { currency: se } = t, { customerid: B } = t, { selectedpaymentmethodname: pe } = t, { mbsource: J = "" } = t, h, A = !1, te = !1, re, de,
|
|
926
|
-
var
|
|
933
|
+
Yt.extend(Gn);
|
|
934
|
+
let { clientstyling: S = "" } = t, { clientstylingurl: T = "" } = t, { width: _ } = t, { height: X } = t, { duration: ee = 200 } = t, { assetsurl: xe = "" } = t, { lang: F = "en" } = t, { translationurl: z = "" } = t, { endpoint: ye } = t, { currency: se } = t, { customerid: B } = t, { selectedpaymentmethodname: pe } = t, { mbsource: J = "" } = t, h, A = !1, te = !1, re, de, G, ne, v;
|
|
935
|
+
var W;
|
|
927
936
|
(function(r) {
|
|
928
937
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
929
|
-
})(
|
|
938
|
+
})(W || (W = {}));
|
|
930
939
|
const ae = (r) => {
|
|
931
940
|
r.data.type === "StartSessionCountdown" && (ne = r.data.paymentMethodName);
|
|
932
941
|
}, we = (r) => {
|
|
@@ -943,10 +952,10 @@ function bo(n, t, o) {
|
|
|
943
952
|
},
|
|
944
953
|
window.location.href
|
|
945
954
|
);
|
|
946
|
-
},
|
|
955
|
+
}, D = (r) => {
|
|
947
956
|
o(5, A = !1);
|
|
948
957
|
const w = we(r);
|
|
949
|
-
w && (de = w?.exp, o(7, re = de),
|
|
958
|
+
w && (de = w?.exp, o(7, re = de), G && clearInterval(G), G = setInterval(
|
|
950
959
|
() => {
|
|
951
960
|
const C = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
952
961
|
o(7, re = de - C), re <= wo && o(5, A = !0), C >= de && (k(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
@@ -954,7 +963,7 @@ function bo(n, t, o) {
|
|
|
954
963
|
1e3
|
|
955
964
|
));
|
|
956
965
|
}, k = () => {
|
|
957
|
-
o(7, re = 0), o(5, A = !1), clearInterval(
|
|
966
|
+
o(7, re = 0), o(5, A = !1), clearInterval(G);
|
|
958
967
|
}, le = () => {
|
|
959
968
|
if (te)
|
|
960
969
|
return;
|
|
@@ -981,11 +990,11 @@ function bo(n, t, o) {
|
|
|
981
990
|
), k();
|
|
982
991
|
return;
|
|
983
992
|
}
|
|
984
|
-
if (M.ResponseCode ===
|
|
993
|
+
if (M.ResponseCode === W.PlayerSessionIsNotValid || M.ResponseCode === W.JwtTokenError) {
|
|
985
994
|
v = M.ResponseCode, k(), K();
|
|
986
995
|
return;
|
|
987
996
|
}
|
|
988
|
-
if (M.ResponseCode !==
|
|
997
|
+
if (M.ResponseCode !== W.Success) {
|
|
989
998
|
v = M.ResponseCode, k();
|
|
990
999
|
return;
|
|
991
1000
|
}
|
|
@@ -1009,12 +1018,12 @@ function bo(n, t, o) {
|
|
|
1009
1018
|
Xt(r, Vt[r]);
|
|
1010
1019
|
});
|
|
1011
1020
|
const be = () => {
|
|
1012
|
-
|
|
1021
|
+
Wn(F);
|
|
1013
1022
|
};
|
|
1014
|
-
|
|
1023
|
+
Nn(() => (window.addEventListener("message", ae, !1), () => {
|
|
1015
1024
|
window.removeEventListener("message", ae);
|
|
1016
1025
|
})), Dn(() => {
|
|
1017
|
-
clearInterval(
|
|
1026
|
+
clearInterval(G);
|
|
1018
1027
|
});
|
|
1019
1028
|
function x(r) {
|
|
1020
1029
|
zt[r ? "unshift" : "push"](() => {
|
|
@@ -1033,11 +1042,11 @@ function bo(n, t, o) {
|
|
|
1033
1042
|
"clientstyling" in r && o(12, S = r.clientstyling), "clientstylingurl" in r && o(13, T = r.clientstylingurl), "width" in r && o(0, _ = r.width), "height" in r && o(1, X = r.height), "duration" in r && o(2, ee = r.duration), "assetsurl" in r && o(3, xe = r.assetsurl), "lang" in r && o(14, F = r.lang), "translationurl" in r && o(15, z = r.translationurl), "endpoint" in r && o(16, ye = r.endpoint), "currency" in r && o(17, se = r.currency), "customerid" in r && o(18, B = r.customerid), "selectedpaymentmethodname" in r && o(19, pe = r.selectedpaymentmethodname), "mbsource" in r && o(20, J = r.mbsource), "$$scope" in r && o(22, g = r.$$scope);
|
|
1034
1043
|
}, n.$$.update = () => {
|
|
1035
1044
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1036
|
-
2097152 &&
|
|
1045
|
+
2097152 && D(i), n.$$.dirty[0] & /*lang*/
|
|
1037
1046
|
16384 && F && be(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1038
|
-
4112 && S && h &&
|
|
1039
|
-
8208 && T && h &&
|
|
1040
|
-
1048592 && J && h &&
|
|
1047
|
+
4112 && S && h && zn(h, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1048
|
+
8208 && T && h && Bn(h, T), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1049
|
+
1048592 && J && h && In(h, `${J}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1041
1050
|
32768 && z && V();
|
|
1042
1051
|
}, [
|
|
1043
1052
|
_,
|
|
@@ -1076,7 +1085,7 @@ class So extends vn {
|
|
|
1076
1085
|
t,
|
|
1077
1086
|
bo,
|
|
1078
1087
|
yo,
|
|
1079
|
-
|
|
1088
|
+
kn,
|
|
1080
1089
|
{
|
|
1081
1090
|
clientstyling: 12,
|
|
1082
1091
|
clientstylingurl: 13,
|
|
@@ -1175,7 +1184,7 @@ class So extends vn {
|
|
|
1175
1184
|
this.$$set({ mbsource: t }), q();
|
|
1176
1185
|
}
|
|
1177
1186
|
}
|
|
1178
|
-
|
|
1187
|
+
Rn(So, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1179
1188
|
export {
|
|
1180
1189
|
So as default
|
|
1181
1190
|
};
|