@everymatrix/cashier-page 1.77.26 → 1.77.27
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-CTAl631F.js → CashierCarousel-C-jIotRi.js} +1162 -1141
- package/components/{CashierCarousel-8hy7C-Hc.js → CashierCarousel-D9RhCULN.js} +991 -970
- package/components/CashierCarousel-DXPbv83E.cjs +23 -0
- package/components/{CashierError-BpvGGYHk.js → CashierError-DFUpmwPW.js} +29 -29
- package/components/{CashierError-DXU0vohJ.cjs → CashierError-am916cR_.cjs} +1 -1
- package/components/{CashierError-B-mGufxN.js → CashierError-gMoSUhpw.js} +32 -32
- package/components/{CashierHeader-Ch27ai33.cjs → CashierHeader-B3IckLiD.cjs} +1 -1
- package/components/{CashierHeader-BbPVdDSy.js → CashierHeader-CK_NVBvX.js} +50 -50
- package/components/{CashierHeader-Dt53rt72.js → CashierHeader-Z4vR_fbH.js} +49 -49
- package/components/{CashierIframeRedirect-DDwa62_J.js → CashierIframeRedirect-Cae_sEXq.js} +32 -32
- package/components/{CashierIframeRedirect-C_lzvCiQ.cjs → CashierIframeRedirect-CdQkuIPa.cjs} +1 -1
- package/components/{CashierIframeRedirect-DFqk8jV8.js → CashierIframeRedirect-Cs3dAZqE.js} +42 -42
- package/components/{CashierMethodDetails-CGu0vT5f.js → CashierMethodDetails-DWh8sNEJ.js} +180 -180
- package/components/{CashierMethodDetails-DEqy0Axp.cjs → CashierMethodDetails-f2nVnAEu.cjs} +2 -2
- package/components/{CashierMethodDetails-BswSN85a.js → CashierMethodDetails-khwdIxvu.js} +522 -522
- package/components/{CashierMethodsList-wKjHJTnI.js → CashierMethodsList-CZkxXZST.js} +38 -38
- package/components/{CashierMethodsList-D9pQQPn8.js → CashierMethodsList-DXkNlgio.js} +39 -39
- package/components/{CashierMethodsList-DfTNLel1.cjs → CashierMethodsList-DeCIPW3N.cjs} +1 -1
- package/components/{CashierModal-C4wQBswd.js → CashierModal-By3PyyVz.js} +36 -36
- package/components/{CashierModal-Nya61zKi.cjs → CashierModal-D2cxw8Kv.cjs} +1 -1
- package/components/{CashierModal-DJYOMvm6.js → CashierModal-pKGYmx2d.js} +37 -37
- package/components/{CashierNotifications-D3DnlGgu.js → CashierNotifications-64xrf21d.js} +34 -34
- package/components/{CashierNotifications-CuIRG1fU.js → CashierNotifications-Cot8tKyV.js} +33 -33
- package/components/{CashierNotifications-U6wVwYzB.cjs → CashierNotifications-o1UTpxCw.cjs} +1 -1
- package/components/{CashierPage-CeQNpD59.js → CashierPage-CDVatUXZ.js} +138 -138
- package/components/{CashierPage-Cntnp_3f.cjs → CashierPage-CJxWyfnl.cjs} +1 -1
- package/components/{CashierPage-BRGPiScz.js → CashierPage-D537sTlX.js} +115 -115
- package/components/{CashierReceiptPage-ClJPgidb.js → CashierReceiptPage-DJVOcSy_.js} +88 -88
- package/components/{CashierReceiptPage-BJ33QbnV.js → CashierReceiptPage-ZjlpnjxZ.js} +85 -85
- package/components/{CashierReceiptPage-KWljug_9.cjs → CashierReceiptPage-vffilP0r.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CvGVtyf5.js → CashierSessionExpirationModal-BCfqE6Qk.js} +109 -118
- package/components/{CashierSessionExpirationModal-BV2HUMWf.js → CashierSessionExpirationModal-BfRG-VY2.js} +50 -59
- package/components/{CashierSessionExpirationModal-DITljBPL.cjs → CashierSessionExpirationModal-BgZuMP6W.cjs} +2 -2
- package/components/{CashierSpinner-C175vtkA.js → CashierSpinner-CIpXwm9I.js} +16 -16
- package/components/{CashierSpinner-msj_XpO-.cjs → CashierSpinner-DOCzNsD8.cjs} +1 -1
- package/components/{CashierSpinner-BSlrvjni.js → CashierSpinner-fUvoz21a.js} +16 -16
- package/components/{CashierTransactionHistory-DFs4bnVj.js → CashierTransactionHistory-CHPwXvGA.js} +61 -61
- package/components/{CashierTransactionHistory-CfOZEGn-.cjs → CashierTransactionHistory-C_77nNRF.cjs} +1 -1
- package/components/{CashierTransactionHistory-Cv2FL_zi.js → CashierTransactionHistory-DLBclLcC.js} +104 -104
- package/components/{CashierVerifications-Bl-okfn_.js → CashierVerifications-B-e9bu7a.js} +75 -75
- package/components/{CashierVerifications-C7-keFiS.cjs → CashierVerifications-D1I7kgbX.cjs} +1 -1
- package/components/{CashierVerifications-DdisN2u9.js → CashierVerifications-DAfJTpBE.js} +36 -36
- package/components/{TxnStatusIcon-DLuaaRoA.js → TxnStatusIcon-C5YEVJGC.js} +19 -19
- package/components/{TxnStatusIcon-mzkkoROK.js → TxnStatusIcon-Cdbn57Qc.js} +19 -19
- package/components/{TxnStatusIcon-Dfxg1kzJ.cjs → TxnStatusIcon-Dx4SpBKR.cjs} +1 -1
- package/components/{TxnTypeIcons-DIvNxsdh.cjs → TxnTypeIcons-D-p9WLvQ.cjs} +1 -1
- package/components/{TxnTypeIcons-CHAbo_FI.js → TxnTypeIcons-DaYTcY0u.js} +14 -14
- package/components/{TxnTypeIcons-D3fc1OY6.js → TxnTypeIcons-Dl8aWDV4.js} +14 -14
- 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--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
- package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
- package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
- package/stencil/{ui-skeleton-gIFE_2eg.cjs → ui-skeleton-_yJvAdAL.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D-MGUxCy.cjs → ui-skeleton-ae35c6f2-CKgUXOQC.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
- package/components/CashierCarousel-CMHHOrjm.cjs +0 -23
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-BhpttWPO.cjs +0 -1
- package/stencil/index-b2193545-DWKmtYUG.js +0 -503
- package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as xn, i as Rn, $ as Ln, S as Mn, b as On,
|
|
2
|
-
import { f as Wt } from "./CashierModal-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as xn, i as Rn, $ as Ln, S as Mn, b as On, s as Nn, f as j, c as vn, e as me, t as fe, g as le, k as un, l as fn, m as pe, w as mn, r as It, v as Dn, a3 as kn, d as We, X as In, a1 as Pt, M as Ut, x as qe, u as Ye, h as je, j as Xe, n as C, a2 as Pn, C as Ft, o as G, y as Ze, p as De, q as T, z as Ht, I as zt, Z as Bt, A as Gt, D as Un, E as Fn, F as Hn, G as zn, H as Bn } from "./CashierCarousel-C-jIotRi.js";
|
|
2
|
+
import { f as Wt } from "./CashierModal-pKGYmx2d.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-DWh8sNEJ.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
xn(n, t);
|
|
6
6
|
}
|
|
@@ -138,20 +138,11 @@ var tn = /* @__PURE__ */ Object.freeze({
|
|
|
138
138
|
});
|
|
139
139
|
const ve = {
|
|
140
140
|
element: 1,
|
|
141
|
-
attribute: 2,
|
|
142
141
|
text: 3,
|
|
143
|
-
cdataSection: 4,
|
|
144
|
-
entityReference: 5,
|
|
145
|
-
// Deprecated
|
|
146
|
-
entityNode: 6,
|
|
147
142
|
// Deprecated
|
|
148
143
|
progressingInstruction: 7,
|
|
149
144
|
comment: 8,
|
|
150
|
-
document: 9
|
|
151
|
-
documentType: 10,
|
|
152
|
-
documentFragment: 11,
|
|
153
|
-
notation: 12
|
|
154
|
-
// Deprecated
|
|
145
|
+
document: 9
|
|
155
146
|
}, ai = function() {
|
|
156
147
|
return typeof window == "undefined" ? null : window;
|
|
157
148
|
}, li = function(t, i) {
|
|
@@ -187,12 +178,12 @@ function _n() {
|
|
|
187
178
|
HTMLTemplateElement: h,
|
|
188
179
|
Node: D,
|
|
189
180
|
Element: k,
|
|
190
|
-
NodeFilter:
|
|
181
|
+
NodeFilter: y,
|
|
191
182
|
NamedNodeMap: x = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
192
183
|
HTMLFormElement: de,
|
|
193
184
|
DOMParser: he,
|
|
194
185
|
trustedTypes: V
|
|
195
|
-
} = n,
|
|
186
|
+
} = n, A = k.prototype, R = Ne(A, "cloneNode"), O = Ne(A, "remove"), ce = Ne(A, "nextSibling"), H = Ne(A, "childNodes"), p = Ne(A, "parentNode");
|
|
196
187
|
if (typeof h == "function") {
|
|
197
188
|
const c = i.createElement("template");
|
|
198
189
|
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
@@ -220,9 +211,9 @@ function _n() {
|
|
|
220
211
|
} = tn;
|
|
221
212
|
let {
|
|
222
213
|
IS_ALLOWED_URI: ue
|
|
223
|
-
} = tn,
|
|
214
|
+
} = tn, b = null;
|
|
224
215
|
const ke = f({}, [...Kt, ...rt, ...at, ...lt, ...Qt]);
|
|
225
|
-
let
|
|
216
|
+
let w = null;
|
|
226
217
|
const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
|
|
227
218
|
let r = Object.seal(dn(null, {
|
|
228
219
|
tagNameCheck: {
|
|
@@ -245,24 +236,24 @@ function _n() {
|
|
|
245
236
|
}
|
|
246
237
|
})), E = null, ee = null, z = !0, Je = !0, mt = !1, pt = !0, Te = !1, Ke = !0, ge = !1, Qe = !1, $e = !1, Se = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
247
238
|
const En = "user-content-";
|
|
248
|
-
let et = !0, Ce = !1,
|
|
239
|
+
let et = !0, Ce = !1, Ae = {}, be = null;
|
|
249
240
|
const gt = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
250
241
|
let _t = null;
|
|
251
242
|
const Et = f({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
252
243
|
let tt = null;
|
|
253
244
|
const Tt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Fe = "http://www.w3.org/1998/Math/MathML", He = "http://www.w3.org/2000/svg", re = "http://www.w3.org/1999/xhtml";
|
|
254
|
-
let
|
|
245
|
+
let we = re, nt = !1, it = null;
|
|
255
246
|
const Tn = f({}, [Fe, He, re], st);
|
|
256
247
|
let xe = null;
|
|
257
|
-
const Sn = ["application/xhtml+xml", "text/html"],
|
|
258
|
-
let M = null,
|
|
259
|
-
const
|
|
248
|
+
const Sn = ["application/xhtml+xml", "text/html"], An = "text/html";
|
|
249
|
+
let M = null, ye = null;
|
|
250
|
+
const bn = i.createElement("form"), St = function(e) {
|
|
260
251
|
return e instanceof RegExp || e instanceof Function;
|
|
261
252
|
}, ot = function() {
|
|
262
253
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
263
|
-
if (!(
|
|
254
|
+
if (!(ye && ye === e)) {
|
|
264
255
|
if ((!e || typeof e != "object") && (e = {}), e = _e(e), xe = // eslint-disable-next-line unicorn/prefer-includes
|
|
265
|
-
Sn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ?
|
|
256
|
+
Sn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE, M = xe === "application/xhtml+xml" ? st : Ve, b = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, M) : ke, w = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, M) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : Tn, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
266
257
|
_e(Tt),
|
|
267
258
|
// eslint-disable-line indent
|
|
268
259
|
e.ADD_URI_SAFE_ATTR,
|
|
@@ -276,7 +267,7 @@ function _n() {
|
|
|
276
267
|
// eslint-disable-line indent
|
|
277
268
|
M
|
|
278
269
|
// eslint-disable-line indent
|
|
279
|
-
) : Et,
|
|
270
|
+
) : Et, be = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : gt, E = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, M) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, M) : {}, Ae = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, z = e.ALLOW_ARIA_ATTR !== !1, Je = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Ke = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, we = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Je = !1), Pe && (Se = !0), Ae && (b = f({}, Qt), w = [], Ae.html === !0 && (f(b, Kt), f(w, $t)), Ae.svg === !0 && (f(b, rt), f(w, ct), f(w, Ge)), Ae.svgFilters === !0 && (f(b, at), f(w, ct), f(w, Ge)), Ae.mathMl === !0 && (f(b, lt), f(w, en), f(w, Ge))), e.ADD_TAGS && (b === ke && (b = _e(b)), f(b, e.ADD_TAGS, M)), e.ADD_ATTR && (w === Ie && (w = _e(w)), f(w, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (be === gt && (be = _e(be)), f(be, e.FORBID_CONTENTS, M)), et && (b["#text"] = !0), ge && f(b, ["html", "head", "body"]), b.table && (f(b, ["tbody"]), delete E.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
280
271
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
281
272
|
throw Oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
282
273
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -284,16 +275,16 @@ function _n() {
|
|
|
284
275
|
m = e.TRUSTED_TYPES_POLICY, W = m.createHTML("");
|
|
285
276
|
} else
|
|
286
277
|
m === void 0 && (m = li(V, a)), m !== null && typeof W == "string" && (W = m.createHTML(""));
|
|
287
|
-
F && F(e),
|
|
278
|
+
F && F(e), ye = e;
|
|
288
279
|
}
|
|
289
|
-
},
|
|
280
|
+
}, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]), bt = f({}, ["foreignobject", "annotation-xml"]), wn = f({}, ["title", "style", "font", "a", "script"]), wt = f({}, [...rt, ...at, ...Kn]), yt = f({}, [...lt, ...Qn]), yn = function(e) {
|
|
290
281
|
let s = p(e);
|
|
291
282
|
(!s || !s.tagName) && (s = {
|
|
292
|
-
namespaceURI:
|
|
283
|
+
namespaceURI: we,
|
|
293
284
|
tagName: "template"
|
|
294
285
|
});
|
|
295
286
|
const l = Ve(e.tagName), _ = Ve(s.tagName);
|
|
296
|
-
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" ||
|
|
287
|
+
return it[e.namespaceURI] ? e.namespaceURI === He ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" || At[_]) : !!wt[l] : e.namespaceURI === Fe ? s.namespaceURI === re ? l === "math" : s.namespaceURI === He ? l === "math" && bt[_] : !!yt[l] : e.namespaceURI === re ? s.namespaceURI === He && !bt[_] || s.namespaceURI === Fe && !At[_] ? !1 : !yt[l] && (wn[l] || !wt[l]) : !!(xe === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
297
288
|
}, ne = function(e) {
|
|
298
289
|
Le(t.removed, {
|
|
299
290
|
element: e
|
|
@@ -315,7 +306,7 @@ function _n() {
|
|
|
315
306
|
from: s
|
|
316
307
|
});
|
|
317
308
|
}
|
|
318
|
-
if (s.removeAttribute(e), e === "is" && !
|
|
309
|
+
if (s.removeAttribute(e), e === "is" && !w[e])
|
|
319
310
|
if (Se || Pe)
|
|
320
311
|
try {
|
|
321
312
|
ne(s);
|
|
@@ -334,28 +325,28 @@ function _n() {
|
|
|
334
325
|
const v = Jt(e, /^[\r\n\t ]+/);
|
|
335
326
|
l = v && v[0];
|
|
336
327
|
}
|
|
337
|
-
xe === "application/xhtml+xml" &&
|
|
328
|
+
xe === "application/xhtml+xml" && we === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
338
329
|
const _ = m ? m.createHTML(e) : e;
|
|
339
|
-
if (
|
|
330
|
+
if (we === re)
|
|
340
331
|
try {
|
|
341
332
|
s = new he().parseFromString(_, xe);
|
|
342
333
|
} catch (v) {
|
|
343
334
|
}
|
|
344
335
|
if (!s || !s.documentElement) {
|
|
345
|
-
s = q.createDocument(
|
|
336
|
+
s = q.createDocument(we, "template", null);
|
|
346
337
|
try {
|
|
347
338
|
s.documentElement.innerHTML = nt ? W : _;
|
|
348
339
|
} catch (v) {
|
|
349
340
|
}
|
|
350
341
|
}
|
|
351
342
|
const I = s.body || s.documentElement;
|
|
352
|
-
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null),
|
|
343
|
+
return e && l && I.insertBefore(i.createTextNode(l), I.childNodes[0] || null), we === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : I;
|
|
353
344
|
}, xt = function(e) {
|
|
354
345
|
return Z.call(
|
|
355
346
|
e.ownerDocument || e,
|
|
356
347
|
e,
|
|
357
348
|
// eslint-disable-next-line no-bitwise
|
|
358
|
-
|
|
349
|
+
y.SHOW_ELEMENT | y.SHOW_COMMENT | y.SHOW_TEXT | y.SHOW_PROCESSING_INSTRUCTION | y.SHOW_CDATA_SECTION,
|
|
359
350
|
null
|
|
360
351
|
);
|
|
361
352
|
}, Rt = function(e) {
|
|
@@ -364,7 +355,7 @@ function _n() {
|
|
|
364
355
|
return typeof D == "function" && e instanceof D;
|
|
365
356
|
}, ae = function(e, s, l) {
|
|
366
357
|
g[e] && Be(g[e], (_) => {
|
|
367
|
-
_.call(t, s, l,
|
|
358
|
+
_.call(t, s, l, ye);
|
|
368
359
|
});
|
|
369
360
|
}, Mt = function(e) {
|
|
370
361
|
let s = null;
|
|
@@ -373,13 +364,13 @@ function _n() {
|
|
|
373
364
|
const l = M(e.nodeName);
|
|
374
365
|
if (ae("uponSanitizeElement", e, {
|
|
375
366
|
tagName: l,
|
|
376
|
-
allowedTags:
|
|
367
|
+
allowedTags: b
|
|
377
368
|
}), e.hasChildNodes() && !Lt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === ve.progressingInstruction || Ke && e.nodeType === ve.comment && U(/<[/\w]/g, e.data))
|
|
378
369
|
return ne(e), !0;
|
|
379
|
-
if (!
|
|
370
|
+
if (!b[l] || E[l]) {
|
|
380
371
|
if (!E[l] && Nt(l) && (r.tagNameCheck instanceof RegExp && U(r.tagNameCheck, l) || r.tagNameCheck instanceof Function && r.tagNameCheck(l)))
|
|
381
372
|
return !1;
|
|
382
|
-
if (et && !
|
|
373
|
+
if (et && !be[l]) {
|
|
383
374
|
const _ = p(e) || e.parentNode, I = H(e) || e.childNodes;
|
|
384
375
|
if (I && _) {
|
|
385
376
|
const v = I.length;
|
|
@@ -391,17 +382,17 @@ function _n() {
|
|
|
391
382
|
}
|
|
392
383
|
return ne(e), !0;
|
|
393
384
|
}
|
|
394
|
-
return e instanceof k && !
|
|
385
|
+
return e instanceof k && !yn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (Te && e.nodeType === ve.text && (s = e.textContent, Be([Y, $, N], (_) => {
|
|
395
386
|
s = Me(s, _, " ");
|
|
396
387
|
}), e.textContent !== s && (Le(t.removed, {
|
|
397
388
|
element: e.cloneNode()
|
|
398
389
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
399
390
|
}, Ot = function(e, s, l) {
|
|
400
|
-
if (dt && (s === "id" || s === "name") && (l in i || l in
|
|
391
|
+
if (dt && (s === "id" || s === "name") && (l in i || l in bn))
|
|
401
392
|
return !1;
|
|
402
393
|
if (!(Je && !ee[s] && U(Ee, s))) {
|
|
403
394
|
if (!(z && U(J, s))) {
|
|
404
|
-
if (!
|
|
395
|
+
if (!w[s] || ee[s]) {
|
|
405
396
|
if (
|
|
406
397
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
407
398
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -437,7 +428,7 @@ function _n() {
|
|
|
437
428
|
attrName: "",
|
|
438
429
|
attrValue: "",
|
|
439
430
|
keepAttr: !0,
|
|
440
|
-
allowedAttributes:
|
|
431
|
+
allowedAttributes: w
|
|
441
432
|
};
|
|
442
433
|
let _ = s.length;
|
|
443
434
|
for (; _--; ) {
|
|
@@ -500,7 +491,7 @@ function _n() {
|
|
|
500
491
|
if (Qe || ot(e), t.removed = [], typeof c == "string" && (Ce = !1), Ce) {
|
|
501
492
|
if (c.nodeName) {
|
|
502
493
|
const ie = M(c.nodeName);
|
|
503
|
-
if (!
|
|
494
|
+
if (!b[ie] || E[ie])
|
|
504
495
|
throw Oe("root node is forbidden and cannot be sanitized in-place");
|
|
505
496
|
}
|
|
506
497
|
} else if (c instanceof D)
|
|
@@ -524,10 +515,10 @@ function _n() {
|
|
|
524
515
|
I.appendChild(s.firstChild);
|
|
525
516
|
else
|
|
526
517
|
I = s;
|
|
527
|
-
return (
|
|
518
|
+
return (w.shadowroot || w.shadowrootmode) && (I = oe.call(o, I, !0)), I;
|
|
528
519
|
}
|
|
529
520
|
let B = ge ? s.outerHTML : s.innerHTML;
|
|
530
|
-
return ge &&
|
|
521
|
+
return ge && b["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
531
522
|
` + B), Te && Be([Y, $, N], (ie) => {
|
|
532
523
|
B = Me(B, ie, " ");
|
|
533
524
|
}), m && Ue ? m.createHTML(B) : B;
|
|
@@ -535,9 +526,9 @@ function _n() {
|
|
|
535
526
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
536
527
|
ot(c), Qe = !0;
|
|
537
528
|
}, t.clearConfig = function() {
|
|
538
|
-
|
|
529
|
+
ye = null, Qe = !1;
|
|
539
530
|
}, t.isValidAttribute = function(c, e, s) {
|
|
540
|
-
|
|
531
|
+
ye || ot({});
|
|
541
532
|
const l = M(c), _ = M(e);
|
|
542
533
|
return Ot(l, _, s);
|
|
543
534
|
}, t.addHook = function(c, e) {
|
|
@@ -553,14 +544,14 @@ function _n() {
|
|
|
553
544
|
}
|
|
554
545
|
var nn = _n();
|
|
555
546
|
function ci(n) {
|
|
556
|
-
|
|
547
|
+
vn(n, "svelte-878602", "*,*::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:15;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);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}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);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;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);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, #3854FF)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);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}}");
|
|
557
548
|
}
|
|
558
549
|
const ui = (n) => ({}), on = (n) => ({}), fi = (n) => ({}), sn = (n) => ({}), mi = (n) => ({}), rn = (n) => ({}), pi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
559
550
|
function ln(n) {
|
|
560
551
|
let t, i, o, a, u, h = (
|
|
561
552
|
/*$_*/
|
|
562
553
|
n[8]("sessionExpirationHeader") + ""
|
|
563
|
-
), D, k,
|
|
554
|
+
), D, k, y, x, de, he, V, A, R, O, ce, H, p, m, W;
|
|
564
555
|
const q = (
|
|
565
556
|
/*#slots*/
|
|
566
557
|
n[22].icon
|
|
@@ -597,25 +588,25 @@ function ln(n) {
|
|
|
597
588
|
}
|
|
598
589
|
return R = se(n), O = J[R] = Ee[R](n), {
|
|
599
590
|
c() {
|
|
600
|
-
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), D =
|
|
601
|
-
n[6], T(
|
|
591
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), D = Ze(h), k = De(), y = G("div"), x = G("div"), L && L.c(), de = De(), g && g.c(), he = De(), N && N.c(), V = De(), A = G("button"), O.c(), T(u, "class", "CashierSessionExpirationModalHeaderTitle"), T(a, "class", "CashierSessionExpirationModalHeader"), T(A, "type", "button"), A.disabled = /*showLoaderButton*/
|
|
592
|
+
n[6], T(A, "class", "CashierSessionExpirationButton"), T(x, "class", "CashierSessionExpiration"), T(y, "class", "CashierSessionExpirationModalContainer"), T(o, "class", "CashierSessionExpirationModalWrapper"), T(i, "class", "CashierSessionExpirationModalWindow"), T(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
602
593
|
/*div5_elementresize_handler*/
|
|
603
594
|
n[24].call(i)
|
|
604
595
|
));
|
|
605
596
|
},
|
|
606
597
|
m(d, S) {
|
|
607
|
-
|
|
598
|
+
pe(d, t, S), C(t, i), C(i, o), C(o, a), C(a, u), C(u, D), C(o, k), C(o, y), C(y, x), L && L.m(x, null), C(x, de), g && g.m(x, null), C(x, he), N && N.m(x, null), C(x, V), C(x, A), J[R].m(A, null), n[23](x), ce = Pn(
|
|
608
599
|
i,
|
|
609
600
|
/*div5_elementresize_handler*/
|
|
610
601
|
n[24].bind(i)
|
|
611
602
|
), n[25](t), p = !0, m || (W = [
|
|
612
|
-
|
|
613
|
-
|
|
603
|
+
Ft(
|
|
604
|
+
A,
|
|
614
605
|
"click",
|
|
615
606
|
/*renewSession*/
|
|
616
607
|
n[9]
|
|
617
608
|
),
|
|
618
|
-
|
|
609
|
+
Ft(
|
|
619
610
|
i,
|
|
620
611
|
"click",
|
|
621
612
|
/*outOfModalClick*/
|
|
@@ -626,7 +617,7 @@ function ln(n) {
|
|
|
626
617
|
p(d, S) {
|
|
627
618
|
n = d, (!p || S[0] & /*$_*/
|
|
628
619
|
256) && h !== (h = /*$_*/
|
|
629
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
620
|
+
n[8]("sessionExpirationHeader") + "") && qe(D, h), Z ? Z.p && (!p || S[0] & /*$$scope*/
|
|
630
621
|
2097152) && Ye(
|
|
631
622
|
Z,
|
|
632
623
|
q,
|
|
@@ -685,28 +676,28 @@ function ln(n) {
|
|
|
685
676
|
) : N && N.p && (!p || S[0] & /*$_, timeLeft*/
|
|
686
677
|
384) && N.p(n, p ? S : [-1, -1]);
|
|
687
678
|
let ue = R;
|
|
688
|
-
R = se(n), R === ue ? J[R].p(n, S) : (
|
|
679
|
+
R = se(n), R === ue ? J[R].p(n, S) : (un(), fe(J[ue], 1, 1, () => {
|
|
689
680
|
J[ue] = null;
|
|
690
|
-
}), fn(), O = J[R], O ? O.p(n, S) : (O = J[R] = Ee[R](n), O.c()), le(O, 1), O.m(
|
|
691
|
-
64) && (
|
|
681
|
+
}), fn(), O = J[R], O ? O.p(n, S) : (O = J[R] = Ee[R](n), O.c()), le(O, 1), O.m(A, null)), (!p || S[0] & /*showLoaderButton*/
|
|
682
|
+
64) && (A.disabled = /*showLoaderButton*/
|
|
692
683
|
n[6]);
|
|
693
684
|
},
|
|
694
685
|
i(d) {
|
|
695
|
-
p || (le(L, d), le(g, d), le(N, d), le(O), d &&
|
|
696
|
-
p && (H || (H =
|
|
686
|
+
p || (le(L, d), le(g, d), le(N, d), le(O), d && Ut(() => {
|
|
687
|
+
p && (H || (H = Pt(i, Wt, { duration: (
|
|
697
688
|
/*duration*/
|
|
698
689
|
n[2]
|
|
699
690
|
) }, !0)), H.run(1));
|
|
700
691
|
}), p = !0);
|
|
701
692
|
},
|
|
702
693
|
o(d) {
|
|
703
|
-
fe(L, d), fe(g, d), fe(N, d), fe(O), d && (H || (H =
|
|
694
|
+
fe(L, d), fe(g, d), fe(N, d), fe(O), d && (H || (H = Pt(i, Wt, { duration: (
|
|
704
695
|
/*duration*/
|
|
705
696
|
n[2]
|
|
706
697
|
) }, !1)), H.run(0)), p = !1;
|
|
707
698
|
},
|
|
708
699
|
d(d) {
|
|
709
|
-
d &&
|
|
700
|
+
d && me(t), L && L.d(d), g && g.d(d), N && N.d(d), J[R].d(), n[23](null), ce(), d && H && H.end(), n[25](null), m = !1, In(W);
|
|
710
701
|
}
|
|
711
702
|
};
|
|
712
703
|
}
|
|
@@ -714,19 +705,19 @@ function cn(n) {
|
|
|
714
705
|
let t, i;
|
|
715
706
|
return {
|
|
716
707
|
c() {
|
|
717
|
-
t = G("img"),
|
|
708
|
+
t = G("img"), Gt(t.src, i = `${/*assetsurl*/
|
|
718
709
|
n[3]}/set-timeout-icon.png`) || T(t, "src", i), T(t, "width", "300px"), T(t, "alt", "error");
|
|
719
710
|
},
|
|
720
711
|
m(o, a) {
|
|
721
|
-
|
|
712
|
+
pe(o, t, a);
|
|
722
713
|
},
|
|
723
714
|
p(o, a) {
|
|
724
715
|
a[0] & /*assetsurl*/
|
|
725
|
-
8 && !
|
|
716
|
+
8 && !Gt(t.src, i = `${/*assetsurl*/
|
|
726
717
|
o[3]}/set-timeout-icon.png`) && T(t, "src", i);
|
|
727
718
|
},
|
|
728
719
|
d(o) {
|
|
729
|
-
o &&
|
|
720
|
+
o && me(t);
|
|
730
721
|
}
|
|
731
722
|
};
|
|
732
723
|
}
|
|
@@ -737,17 +728,17 @@ function di(n) {
|
|
|
737
728
|
);
|
|
738
729
|
return {
|
|
739
730
|
c() {
|
|
740
|
-
i && i.c(), t =
|
|
731
|
+
i && i.c(), t = mn();
|
|
741
732
|
},
|
|
742
733
|
m(o, a) {
|
|
743
|
-
i && i.m(o, a),
|
|
734
|
+
i && i.m(o, a), pe(o, t, a);
|
|
744
735
|
},
|
|
745
736
|
p(o, a) {
|
|
746
737
|
/*assetsurl*/
|
|
747
738
|
o[3] ? i ? i.p(o, a) : (i = cn(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
|
|
748
739
|
},
|
|
749
740
|
d(o) {
|
|
750
|
-
o &&
|
|
741
|
+
o && me(t), i && i.d(o);
|
|
751
742
|
}
|
|
752
743
|
};
|
|
753
744
|
}
|
|
@@ -758,18 +749,18 @@ function hi(n) {
|
|
|
758
749
|
), o;
|
|
759
750
|
return {
|
|
760
751
|
c() {
|
|
761
|
-
t = G("span"), o =
|
|
752
|
+
t = G("span"), o = Ze(i), T(t, "class", "CashierSessionExpirationTitle");
|
|
762
753
|
},
|
|
763
754
|
m(a, u) {
|
|
764
|
-
|
|
755
|
+
pe(a, t, u), C(t, o);
|
|
765
756
|
},
|
|
766
757
|
p(a, u) {
|
|
767
758
|
u[0] & /*$_*/
|
|
768
759
|
256 && i !== (i = /*$_*/
|
|
769
|
-
a[8]("sessionExpirationTitle") + "") &&
|
|
760
|
+
a[8]("sessionExpirationTitle") + "") && qe(o, i);
|
|
770
761
|
},
|
|
771
762
|
d(a) {
|
|
772
|
-
a &&
|
|
763
|
+
a && me(t);
|
|
773
764
|
}
|
|
774
765
|
};
|
|
775
766
|
}
|
|
@@ -786,7 +777,7 @@ function gi(n) {
|
|
|
786
777
|
t = G("span"), T(t, "class", "CashierSessionExpirationText");
|
|
787
778
|
},
|
|
788
779
|
m(o, a) {
|
|
789
|
-
|
|
780
|
+
pe(o, t, a), t.innerHTML = i;
|
|
790
781
|
},
|
|
791
782
|
p(o, a) {
|
|
792
783
|
a[0] & /*$_, timeLeft*/
|
|
@@ -799,7 +790,7 @@ function gi(n) {
|
|
|
799
790
|
) + "") && (t.innerHTML = i);
|
|
800
791
|
},
|
|
801
792
|
d(o) {
|
|
802
|
-
o &&
|
|
793
|
+
o && me(t);
|
|
803
794
|
}
|
|
804
795
|
};
|
|
805
796
|
}
|
|
@@ -862,20 +853,20 @@ function Ei(n) {
|
|
|
862
853
|
), D;
|
|
863
854
|
return {
|
|
864
855
|
c() {
|
|
865
|
-
t = G("div"), i = Bt("svg"), o = Bt("path"), a = De(), u = G("span"), D =
|
|
856
|
+
t = G("div"), i = Bt("svg"), o = Bt("path"), a = De(), u = G("span"), D = Ze(h), T(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), T(o, "fill", "white"), T(i, "class", "CashierSessionExpirationButtonSpinner"), T(i, "xmlns", "http://www.w3.org/2000/svg"), T(i, "width", "15"), T(i, "height", "14"), T(i, "viewBox", "0 0 15 14"), T(i, "fill", "none"), T(u, "class", "CashierSessionExpirationButtonText");
|
|
866
857
|
},
|
|
867
|
-
m(k,
|
|
868
|
-
|
|
858
|
+
m(k, y) {
|
|
859
|
+
pe(k, t, y), C(t, i), C(i, o), C(t, a), C(t, u), C(u, D);
|
|
869
860
|
},
|
|
870
|
-
p(k,
|
|
871
|
-
|
|
861
|
+
p(k, y) {
|
|
862
|
+
y[0] & /*$_*/
|
|
872
863
|
256 && h !== (h = /*$_*/
|
|
873
|
-
k[8]("sessionExpirationLoadingButton") + "") &&
|
|
864
|
+
k[8]("sessionExpirationLoadingButton") + "") && qe(D, h);
|
|
874
865
|
},
|
|
875
|
-
i:
|
|
876
|
-
o:
|
|
866
|
+
i: zt,
|
|
867
|
+
o: zt,
|
|
877
868
|
d(k) {
|
|
878
|
-
k &&
|
|
869
|
+
k && me(t);
|
|
879
870
|
}
|
|
880
871
|
};
|
|
881
872
|
}
|
|
@@ -886,18 +877,18 @@ function Ti(n) {
|
|
|
886
877
|
), o;
|
|
887
878
|
return {
|
|
888
879
|
c() {
|
|
889
|
-
t = G("span"), o =
|
|
880
|
+
t = G("span"), o = Ze(i), T(t, "class", "CashierSessionExpirationButtonText");
|
|
890
881
|
},
|
|
891
882
|
m(a, u) {
|
|
892
|
-
|
|
883
|
+
pe(a, t, u), C(t, o);
|
|
893
884
|
},
|
|
894
885
|
p(a, u) {
|
|
895
886
|
u[0] & /*$_*/
|
|
896
887
|
256 && i !== (i = /*$_*/
|
|
897
|
-
a[8]("sessionExpirationGeneralButton") + "") &&
|
|
888
|
+
a[8]("sessionExpirationGeneralButton") + "") && qe(o, i);
|
|
898
889
|
},
|
|
899
890
|
d(a) {
|
|
900
|
-
a &&
|
|
891
|
+
a && me(t);
|
|
901
892
|
}
|
|
902
893
|
};
|
|
903
894
|
}
|
|
@@ -908,15 +899,15 @@ function Si(n) {
|
|
|
908
899
|
);
|
|
909
900
|
return {
|
|
910
901
|
c() {
|
|
911
|
-
o && o.c(), t =
|
|
902
|
+
o && o.c(), t = mn();
|
|
912
903
|
},
|
|
913
904
|
m(a, u) {
|
|
914
|
-
o && o.m(a, u),
|
|
905
|
+
o && o.m(a, u), pe(a, t, u), i = !0;
|
|
915
906
|
},
|
|
916
907
|
p(a, u) {
|
|
917
908
|
/*show*/
|
|
918
909
|
a[5] ? o ? (o.p(a, u), u[0] & /*show*/
|
|
919
|
-
32 && le(o, 1)) : (o = ln(a), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (
|
|
910
|
+
32 && le(o, 1)) : (o = ln(a), o.c(), le(o, 1), o.m(t.parentNode, t)) : o && (un(), fe(o, 1, 1, () => {
|
|
920
911
|
o = null;
|
|
921
912
|
}), fn());
|
|
922
913
|
},
|
|
@@ -927,17 +918,17 @@ function Si(n) {
|
|
|
927
918
|
fe(o), i = !1;
|
|
928
919
|
},
|
|
929
920
|
d(a) {
|
|
930
|
-
a &&
|
|
921
|
+
a && me(t), o && o.d(a);
|
|
931
922
|
}
|
|
932
923
|
};
|
|
933
924
|
}
|
|
934
|
-
const
|
|
935
|
-
function
|
|
925
|
+
const Ai = 90;
|
|
926
|
+
function bi(n, t, i) {
|
|
936
927
|
let o, a;
|
|
937
928
|
It(n, jt, (r) => i(20, o = r)), It(n, Bn, (r) => i(8, a = r));
|
|
938
929
|
let { $$slots: u = {}, $$scope: h } = t;
|
|
939
930
|
Yt.extend(Gn);
|
|
940
|
-
let { clientstyling: D = "" } = t, { clientstylingurl: k = "" } = t, { width:
|
|
931
|
+
let { clientstyling: D = "" } = t, { clientstylingurl: k = "" } = t, { width: y } = t, { height: x } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: A = "" } = t, { endpoint: R } = t, { currency: O } = t, { customerid: ce } = t, { selectedpaymentmethodname: H } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, Z, L, Q, oe, g;
|
|
941
932
|
var Y;
|
|
942
933
|
(function(r) {
|
|
943
934
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -964,7 +955,7 @@ function Ai(n, t, i) {
|
|
|
964
955
|
E && (L = E == null ? void 0 : E.exp, i(7, Z = L), Q && clearInterval(Q), Q = setInterval(
|
|
965
956
|
() => {
|
|
966
957
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
967
|
-
i(7, Z = L - ee), Z <=
|
|
958
|
+
i(7, Z = L - ee), Z <= Ai && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
968
959
|
},
|
|
969
960
|
1e3
|
|
970
961
|
));
|
|
@@ -1010,7 +1001,7 @@ function Ai(n, t, i) {
|
|
|
1010
1001
|
const E = r.currentTarget;
|
|
1011
1002
|
r.target === E && d();
|
|
1012
1003
|
}, ue = () => {
|
|
1013
|
-
fetch(
|
|
1004
|
+
fetch(A).then((E) => E.json()).then((E) => {
|
|
1014
1005
|
Object.keys(E).forEach((ee) => {
|
|
1015
1006
|
Xt(ee, E[ee]);
|
|
1016
1007
|
});
|
|
@@ -1021,12 +1012,12 @@ function Ai(n, t, i) {
|
|
|
1021
1012
|
Object.keys(Vt).forEach((r) => {
|
|
1022
1013
|
Xt(r, Vt[r]);
|
|
1023
1014
|
});
|
|
1024
|
-
const
|
|
1015
|
+
const b = () => {
|
|
1025
1016
|
Wn(V);
|
|
1026
1017
|
};
|
|
1027
|
-
|
|
1018
|
+
Dn(() => (window.addEventListener("message", $, !1), () => {
|
|
1028
1019
|
window.removeEventListener("message", $);
|
|
1029
|
-
})),
|
|
1020
|
+
})), kn(() => {
|
|
1030
1021
|
clearInterval(Q);
|
|
1031
1022
|
});
|
|
1032
1023
|
function ke(r) {
|
|
@@ -1034,8 +1025,8 @@ function Ai(n, t, i) {
|
|
|
1034
1025
|
m = r, i(4, m);
|
|
1035
1026
|
});
|
|
1036
1027
|
}
|
|
1037
|
-
function
|
|
1038
|
-
|
|
1028
|
+
function w() {
|
|
1029
|
+
y = this.clientWidth, x = this.clientHeight, i(0, y), i(1, x);
|
|
1039
1030
|
}
|
|
1040
1031
|
function Ie(r) {
|
|
1041
1032
|
Ht[r ? "unshift" : "push"](() => {
|
|
@@ -1043,17 +1034,17 @@ function Ai(n, t, i) {
|
|
|
1043
1034
|
});
|
|
1044
1035
|
}
|
|
1045
1036
|
return n.$$set = (r) => {
|
|
1046
|
-
"clientstyling" in r && i(11, D = r.clientstyling), "clientstylingurl" in r && i(12, k = r.clientstylingurl), "width" in r && i(0,
|
|
1037
|
+
"clientstyling" in r && i(11, D = r.clientstyling), "clientstylingurl" in r && i(12, k = r.clientstylingurl), "width" in r && i(0, y = r.width), "height" in r && i(1, x = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, A = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, O = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, H = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1047
1038
|
}, n.$$.update = () => {
|
|
1048
1039
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1049
1040
|
1048576 && J(o), n.$$.dirty[0] & /*lang*/
|
|
1050
|
-
8192 && V &&
|
|
1051
|
-
2064 && D && m &&
|
|
1052
|
-
4112 && k && m &&
|
|
1053
|
-
524304 && p && m &&
|
|
1054
|
-
16384 &&
|
|
1041
|
+
8192 && V && b(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
|
+
2064 && D && m && Un(m, D), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1043
|
+
4112 && k && m && Fn(m, k), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1044
|
+
524304 && p && m && Hn(m, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1045
|
+
16384 && A && ue();
|
|
1055
1046
|
}, [
|
|
1056
|
-
|
|
1047
|
+
y,
|
|
1057
1048
|
x,
|
|
1058
1049
|
de,
|
|
1059
1050
|
he,
|
|
@@ -1067,7 +1058,7 @@ function Ai(n, t, i) {
|
|
|
1067
1058
|
D,
|
|
1068
1059
|
k,
|
|
1069
1060
|
V,
|
|
1070
|
-
|
|
1061
|
+
A,
|
|
1071
1062
|
R,
|
|
1072
1063
|
O,
|
|
1073
1064
|
ce,
|
|
@@ -1077,18 +1068,18 @@ function Ai(n, t, i) {
|
|
|
1077
1068
|
h,
|
|
1078
1069
|
u,
|
|
1079
1070
|
ke,
|
|
1080
|
-
|
|
1071
|
+
w,
|
|
1081
1072
|
Ie
|
|
1082
1073
|
];
|
|
1083
1074
|
}
|
|
1084
|
-
class
|
|
1075
|
+
class wi extends Mn {
|
|
1085
1076
|
constructor(t) {
|
|
1086
1077
|
super(), On(
|
|
1087
1078
|
this,
|
|
1088
1079
|
t,
|
|
1089
|
-
|
|
1080
|
+
bi,
|
|
1090
1081
|
Si,
|
|
1091
|
-
|
|
1082
|
+
Nn,
|
|
1092
1083
|
{
|
|
1093
1084
|
clientstyling: 11,
|
|
1094
1085
|
clientstylingurl: 12,
|
|
@@ -1187,7 +1178,7 @@ class yi extends Mn {
|
|
|
1187
1178
|
this.$$set({ mbsource: t }), j();
|
|
1188
1179
|
}
|
|
1189
1180
|
}
|
|
1190
|
-
|
|
1181
|
+
zn(wi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1191
1182
|
export {
|
|
1192
|
-
|
|
1183
|
+
wi as default
|
|
1193
1184
|
};
|