@everymatrix/cashier-page 1.87.13 → 1.87.15
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-1mMP8tyv.cjs → CashierCarousel-BM7TbAtM.cjs} +5 -5
- package/components/{CashierCarousel-C-ucwZi1.js → CashierCarousel-DtU6jArX.js} +87 -75
- package/components/{CashierCarousel-D-vvfyMH.js → CashierCarousel-FPkYM4AF.js} +85 -73
- package/components/CashierError-BQKbDvjD.cjs +1 -0
- package/components/{CashierError-B7A15YvS.js → CashierError-DXQuKMKj.js} +187 -158
- package/components/{CashierError-D0BJZtGN.js → CashierError-pya-_1QH.js} +187 -158
- package/components/{CashierHeader-BV2xXjmR.js → CashierHeader-BqCFd2jK.js} +47 -40
- package/components/{CashierHeader-soZetsFk.js → CashierHeader-DeE3EM4e.js} +47 -40
- package/components/CashierHeader-uUKKCJPK.cjs +1 -0
- package/components/{CashierIframeRedirect-Bz-JLb_U.js → CashierIframeRedirect-BflFh-0a.js} +14 -11
- package/components/CashierIframeRedirect-DJYgCtzR.cjs +1 -0
- package/components/{CashierIframeRedirect-DWYFdGdL.js → CashierIframeRedirect-v81EcZ5X.js} +14 -11
- package/components/{CashierMethodDetails-CnWc6Jl5.js → CashierMethodDetails-0KCeREdt.js} +704 -620
- package/components/{CashierMethodDetails-BdlHR1PC.js → CashierMethodDetails-CnUzvRwp.js} +744 -660
- package/components/CashierMethodDetails-lolLnwRx.cjs +85 -0
- package/components/{CashierMethodsList-DjbJRqd4.js → CashierMethodsList-2SUSPsQ9.js} +91 -79
- package/components/CashierMethodsList-CnKPCn1q.cjs +1 -0
- package/components/{CashierMethodsList-Bt8EUCAN.js → CashierMethodsList-DfgnHHlo.js} +126 -114
- package/components/{CashierModal-BFn5q8yd.js → CashierModal-Bif-o7_I.js} +1 -1
- package/components/{CashierModal-7G3Hf7yF.js → CashierModal-Bpk12PZh.js} +1 -1
- package/components/{CashierModal-Rg_q9zr6.cjs → CashierModal-CrOigLnu.cjs} +1 -1
- package/components/{CashierNotifications-BK1Gy3Hy.js → CashierNotifications-Cl3TvZ5Q.js} +1 -1
- package/components/{CashierNotifications-DJjkliEL.cjs → CashierNotifications-DX95fLsU.cjs} +1 -1
- package/components/{CashierNotifications-DyaOquWi.js → CashierNotifications-Dca8MDi4.js} +1 -1
- package/components/{CashierPage-BW0dTggU.js → CashierPage-BxL4rgo3.js} +1183 -1131
- package/components/{CashierPage-Cj-JwUP8.js → CashierPage-CL-F3a-g.js} +711 -659
- package/components/CashierPage-Cm5BWzbc.cjs +1 -0
- package/components/{CashierReceiptPage-DWg3cN1R.cjs → CashierReceiptPage-BVPNCJFD.cjs} +2 -2
- package/components/{CashierReceiptPage-CK3MwTyw.js → CashierReceiptPage-DpUQHCgh.js} +553 -461
- package/components/{CashierReceiptPage-CCi_X5vb.js → CashierReceiptPage-W9UaeNqI.js} +562 -470
- package/components/{CashierSessionExpirationModal-CFRMQOsS.js → CashierSessionExpirationModal-CpUIvUTh.js} +54 -46
- package/components/{CashierSessionExpirationModal-ByMDJhaE.js → CashierSessionExpirationModal-D4cIYZkD.js} +54 -46
- package/components/{CashierSessionExpirationModal-k_a6y_b-.cjs → CashierSessionExpirationModal-DuG3MLdQ.cjs} +2 -2
- package/components/{CashierSpinner-DhHAyFN5.cjs → CashierSpinner-Bq4laDIQ.cjs} +1 -1
- package/components/{CashierSpinner-DhNiwwG8.js → CashierSpinner-CrvdKbSF.js} +1 -1
- package/components/{CashierSpinner-VyYLuEkP.js → CashierSpinner-DUlwpFvB.js} +1 -1
- package/components/{CashierStepUp-CJPD6aTJ.js → CashierStepUp-B9TiO612.js} +354 -331
- package/components/{CashierStepUp-BLfjsWQ6.js → CashierStepUp-BkZ7FxUg.js} +346 -323
- package/components/CashierStepUp-DCWLJDbh.cjs +1 -0
- package/components/{CashierTransactionHistory-CU8DuAJC.js → CashierTransactionHistory-9FhtIHtk.js} +350 -325
- package/components/CashierTransactionHistory-Di9cvoVg.cjs +1 -0
- package/components/{CashierTransactionHistory-D8BLMoXS.js → CashierTransactionHistory-Y5PZzBeB.js} +450 -425
- package/components/{CashierVerifications-DOSd5kn7.js → CashierVerifications-BuX19TRF.js} +173 -154
- package/components/CashierVerifications-Cu-qQMx5.cjs +1 -0
- package/components/{CashierVerifications-DkGXFNAT.js → CashierVerifications-Df_XWaiL.js} +165 -146
- package/components/{TxnStatusIcon-CQ5vZzXs.js → TxnStatusIcon-Cs1do2tU.js} +1 -1
- package/components/{TxnStatusIcon-CsGhPGXz.js → TxnStatusIcon-D9sIZDN_.js} +1 -1
- package/components/{TxnStatusIcon-CWiSCMgS.cjs → TxnStatusIcon-DyRurIBj.cjs} +1 -1
- package/components/{TxnTypeIcons-C537E5bY.cjs → TxnTypeIcons-D6VXCUVX.cjs} +1 -1
- package/components/{TxnTypeIcons-CKeLNGyz.js → TxnTypeIcons-l2hb_98H.js} +1 -1
- package/components/{TxnTypeIcons-MnBmprHO.js → TxnTypeIcons-t4xEoQXc.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/CashierError-BvD7radj.cjs +0 -1
- package/components/CashierHeader-C8evLxKj.cjs +0 -1
- package/components/CashierIframeRedirect-St1aQxMq.cjs +0 -1
- package/components/CashierMethodDetails-CjL5-po_.cjs +0 -85
- package/components/CashierMethodsList-Bkhyrkpj.cjs +0 -1
- package/components/CashierPage-hOVFrtIF.cjs +0 -1
- package/components/CashierStepUp-B0J7ai_K.cjs +0 -1
- package/components/CashierTransactionHistory-BNiGA4I-.cjs +0 -1
- package/components/CashierVerifications-Ddy4p3B5.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn, s as Rn, f as q, c as On, e as ve, t as Ae, g as Te, a6 as un, a7 as fn, k as Me, m as R, p as Ut, q as kn, af as Dn, d as $e, a0 as Nn, ag as Ht, L as
|
|
2
|
-
import { f as Wt } from "./CashierReceiptPage-
|
|
3
|
-
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as xn, i as Cn, $ as Ln, S as vn, b as Mn, s as Rn, f as q, c as On, e as ve, t as Ae, g as Te, a6 as un, a7 as fn, k as Me, m as R, p as Ut, q as kn, af as Dn, d as $e, a0 as Nn, ag 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 oe, n as Ee, 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-DtU6jArX.js";
|
|
2
|
+
import { f as Wt } from "./CashierReceiptPage-W9UaeNqI.js";
|
|
3
|
+
import { d as Yt, u as Gn, x as jt } from "./CashierMethodDetails-0KCeREdt.js";
|
|
4
4
|
function Xt(n, t) {
|
|
5
5
|
xn(n, t);
|
|
6
6
|
}
|
|
@@ -25,6 +25,14 @@ const Vt = {
|
|
|
25
25
|
sessionExpirationGeneralButton: "DEVAM ET",
|
|
26
26
|
sessionExpirationLoadingButton: "İŞLEME...",
|
|
27
27
|
sessionExpirationEnd: "Oturumu sonlandır"
|
|
28
|
+
},
|
|
29
|
+
fr: {
|
|
30
|
+
sessionExpirationHeader: "Avertissement de session",
|
|
31
|
+
sessionExpirationTitle: "Votre session est sur le point d’expirer !",
|
|
32
|
+
sessionExpirationGeneralText: "Votre session se terminera automatiquement dans <b>{second} secondes</b>.",
|
|
33
|
+
sessionExpirationGeneralButton: "Continuer la session",
|
|
34
|
+
sessionExpirationLoadingButton: "Traitement en cours...",
|
|
35
|
+
sessionExpirationEnd: "Terminer la session"
|
|
28
36
|
}
|
|
29
37
|
};
|
|
30
38
|
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
|
|
@@ -55,7 +63,7 @@ dt || (dt = function(t, o, i) {
|
|
|
55
63
|
ht || (ht = function(t, o) {
|
|
56
64
|
return new t(...o);
|
|
57
65
|
});
|
|
58
|
-
const Ke = Z(Array.prototype.forEach), Zt = Z(Array.prototype.pop), He = Z(Array.prototype.push), ot = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Jt = Z(String.prototype.match),
|
|
66
|
+
const Ke = Z(Array.prototype.forEach), Zt = Z(Array.prototype.pop), He = Z(Array.prototype.push), ot = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Jt = Z(String.prototype.match), Be = Z(String.prototype.replace), Vn = Z(String.prototype.indexOf), qn = Z(String.prototype.trim), ie = Z(Object.prototype.hasOwnProperty), U = Z(RegExp.prototype.test), Fe = Zn(TypeError);
|
|
59
67
|
function Z(n) {
|
|
60
68
|
return function(t) {
|
|
61
69
|
for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), a = 1; a < o; a++)
|
|
@@ -95,7 +103,7 @@ function Le(n) {
|
|
|
95
103
|
ie(n, o) && (Array.isArray(i) ? t[o] = Jn(i) : i && typeof i == "object" && i.constructor === Object ? t[o] = Le(i) : t[o] = i);
|
|
96
104
|
return t;
|
|
97
105
|
}
|
|
98
|
-
function
|
|
106
|
+
function ze(n, t) {
|
|
99
107
|
for (; n !== null; ) {
|
|
100
108
|
const i = Xn(n, t);
|
|
101
109
|
if (i) {
|
|
@@ -177,8 +185,8 @@ function gn() {
|
|
|
177
185
|
NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
178
186
|
HTMLFormElement: ee,
|
|
179
187
|
DOMParser: xe,
|
|
180
|
-
trustedTypes:
|
|
181
|
-
} = n,
|
|
188
|
+
trustedTypes: B
|
|
189
|
+
} = n, F = T.prototype, ye = ze(F, "cloneNode"), se = ze(F, "remove"), z = ze(F, "nextSibling"), pe = ze(F, "childNodes"), J = ze(F, "parentNode");
|
|
182
190
|
if (typeof g == "function") {
|
|
183
191
|
const c = o.createElement("template");
|
|
184
192
|
c.content && c.content.ownerDocument && (o = c.content.ownerDocument);
|
|
@@ -264,12 +272,12 @@ function gn() {
|
|
|
264
272
|
// eslint-disable-line indent
|
|
265
273
|
) : yt, ke = ie(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Et, r = ie(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, y = ie(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, Oe = 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, De = 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), 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 === be && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (x === Se && (x = Le(x)), d(x, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (ke === Et && (ke = Le(ke)), d(ke, e.FORBID_CONTENTS, k)), it && (m["#text"] = !0), ce && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete r.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
266
274
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
267
|
-
throw
|
|
275
|
+
throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
268
276
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
269
|
-
throw
|
|
277
|
+
throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
270
278
|
h = e.TRUSTED_TYPES_POLICY, A = h.createHTML("");
|
|
271
279
|
} else
|
|
272
|
-
h === void 0 && (h = lo(
|
|
280
|
+
h === void 0 && (h = lo(B, a)), h !== null && typeof A == "string" && (A = h.createHTML(""));
|
|
273
281
|
H && H(e), Ne = e;
|
|
274
282
|
}
|
|
275
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) {
|
|
@@ -371,14 +379,14 @@ function gn() {
|
|
|
371
379
|
const D = I.length;
|
|
372
380
|
for (let j = D - 1; j >= 0; --j) {
|
|
373
381
|
const me = ye(I[j], !0);
|
|
374
|
-
me.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(me,
|
|
382
|
+
me.__removalCount = (e.__removalCount || 0) + 1, w.insertBefore(me, z(e));
|
|
375
383
|
}
|
|
376
384
|
}
|
|
377
385
|
}
|
|
378
386
|
return fe(e), !0;
|
|
379
387
|
}
|
|
380
388
|
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], (w) => {
|
|
381
|
-
s =
|
|
389
|
+
s = Be(s, w, " ");
|
|
382
390
|
}), e.textContent !== s && (He(t.removed, {
|
|
383
391
|
element: e.cloneNode()
|
|
384
392
|
}), e.textContent = s)), _e("afterSanitizeElements", e, null), !1);
|
|
@@ -398,9 +406,9 @@ function gn() {
|
|
|
398
406
|
)
|
|
399
407
|
return !1;
|
|
400
408
|
} else if (!st[s]) {
|
|
401
|
-
if (!U(V,
|
|
409
|
+
if (!U(V, Be(l, le, ""))) {
|
|
402
410
|
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(l, "data:") === 0 && Tt[e])) {
|
|
403
|
-
if (!(Ce && !U(O,
|
|
411
|
+
if (!(Ce && !U(O, Be(l, le, "")))) {
|
|
404
412
|
if (l)
|
|
405
413
|
return !1;
|
|
406
414
|
}
|
|
@@ -444,12 +452,12 @@ function gn() {
|
|
|
444
452
|
continue;
|
|
445
453
|
}
|
|
446
454
|
he && Ke([W, ae, we], (Pt) => {
|
|
447
|
-
P =
|
|
455
|
+
P = Be(P, Pt, " ");
|
|
448
456
|
});
|
|
449
457
|
const It = k(e.nodeName);
|
|
450
458
|
if (kt(It, Ue, P)) {
|
|
451
|
-
if (_t && (Ue === "id" || Ue === "name") && (Ze(D, e), P = _n + P), h && typeof
|
|
452
|
-
switch (
|
|
459
|
+
if (_t && (Ue === "id" || Ue === "name") && (Ze(D, e), P = _n + P), h && typeof B == "object" && typeof B.getAttributeType == "function" && !j)
|
|
460
|
+
switch (B.getAttributeType(It, Ue)) {
|
|
453
461
|
case "TrustedHTML": {
|
|
454
462
|
P = h.createHTML(P);
|
|
455
463
|
break;
|
|
@@ -478,16 +486,16 @@ function gn() {
|
|
|
478
486
|
if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
|
|
479
487
|
if (typeof c.toString == "function") {
|
|
480
488
|
if (c = c.toString(), typeof c != "string")
|
|
481
|
-
throw
|
|
489
|
+
throw Fe("dirty is not a string, aborting");
|
|
482
490
|
} else
|
|
483
|
-
throw
|
|
491
|
+
throw Fe("toString is not a function");
|
|
484
492
|
if (!t.isSupported)
|
|
485
493
|
return c;
|
|
486
494
|
if (b || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
487
495
|
if (c.nodeName) {
|
|
488
496
|
const me = k(c.nodeName);
|
|
489
497
|
if (!m[me] || r[me])
|
|
490
|
-
throw
|
|
498
|
+
throw Fe("root node is forbidden and cannot be sanitized in-place");
|
|
491
499
|
}
|
|
492
500
|
} else if (c instanceof S)
|
|
493
501
|
s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
@@ -515,7 +523,7 @@ function gn() {
|
|
|
515
523
|
let j = ce ? s.outerHTML : s.innerHTML;
|
|
516
524
|
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
525
|
` + j), he && Ke([W, ae, we], (me) => {
|
|
518
|
-
j =
|
|
526
|
+
j = Be(j, me, " ");
|
|
519
527
|
}), h && Xe ? h.createHTML(j) : j;
|
|
520
528
|
}, t.setConfig = function() {
|
|
521
529
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -543,10 +551,10 @@ function co(n) {
|
|
|
543
551
|
}
|
|
544
552
|
const uo = (n) => ({}), on = (n) => ({}), fo = (n) => ({}), sn = (n) => ({}), mo = (n) => ({}), rn = (n) => ({}), po = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
545
553
|
function ln(n) {
|
|
546
|
-
let t, o, i, a, f, g, S, T, _, X, ee, xe,
|
|
554
|
+
let t, o, i, a, f, g, S, T, _, X, ee, xe, B = (
|
|
547
555
|
/*$_*/
|
|
548
556
|
n[8]("sessionExpirationHeader") + ""
|
|
549
|
-
),
|
|
557
|
+
), F, ye, se, z, pe, J, h, A, te, re, de, G, ne, v, W = (
|
|
550
558
|
/*$_*/
|
|
551
559
|
n[8]("sessionExpirationEnd") + ""
|
|
552
560
|
), ae, we, K, N, O, le, Re, V, m, be, x;
|
|
@@ -586,20 +594,20 @@ function ln(n) {
|
|
|
586
594
|
}
|
|
587
595
|
return N = ce(n), O = Q[N] = he[N](n), {
|
|
588
596
|
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(),
|
|
590
|
-
(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"),
|
|
597
|
+
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(), F = Ye(B), ye = Ee(), se = R("div"), z = 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 = Ye(W), we = Ee(), K = R("button"), O.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(z, "xmlns", "http://www.w3.org/2000/svg"), u(z, "viewBox", "0 0 13 13"), u(z, "fill", "none"), u(z, "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*/
|
|
598
|
+
(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"), Bt(() => (
|
|
591
599
|
/*div7_elementresize_handler*/
|
|
592
600
|
n[25].call(t)
|
|
593
601
|
));
|
|
594
602
|
},
|
|
595
603
|
m(b, L) {
|
|
596
|
-
Me(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,
|
|
604
|
+
Me(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, F), p(i, ye), p(i, se), p(se, z), p(z, 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[N].m(K, null), n[24](A), Re = In(
|
|
597
605
|
t,
|
|
598
606
|
/*div7_elementresize_handler*/
|
|
599
607
|
n[25].bind(t)
|
|
600
608
|
), m = !0, be || (x = [
|
|
601
609
|
Je(
|
|
602
|
-
|
|
610
|
+
z,
|
|
603
611
|
"click",
|
|
604
612
|
/*goToHome*/
|
|
605
613
|
n[11]
|
|
@@ -626,8 +634,8 @@ function ln(n) {
|
|
|
626
634
|
},
|
|
627
635
|
p(b, L) {
|
|
628
636
|
n = b, (!m || L[0] & /*$_*/
|
|
629
|
-
256) &&
|
|
630
|
-
n[8]("sessionExpirationHeader") + "") && We(
|
|
637
|
+
256) && B !== (B = /*$_*/
|
|
638
|
+
n[8]("sessionExpirationHeader") + "") && We(F, B), E ? E.p && (!m || L[0] & /*$$scope*/
|
|
631
639
|
4194304) && et(
|
|
632
640
|
E,
|
|
633
641
|
Se,
|
|
@@ -694,7 +702,7 @@ function ln(n) {
|
|
|
694
702
|
(n[6] ? "Disabled" : ""))) && u(K, "class", le);
|
|
695
703
|
},
|
|
696
704
|
i(b) {
|
|
697
|
-
m || (Te(r, b), Te(C, b), Te(Y, b), Te(O), b &&
|
|
705
|
+
m || (Te(r, b), Te(C, b), Te(Y, b), Te(O), b && Bt(() => {
|
|
698
706
|
m && (V || (V = Ht(t, Wt, { duration: (
|
|
699
707
|
/*duration*/
|
|
700
708
|
n[2]
|
|
@@ -857,8 +865,8 @@ function Eo(n) {
|
|
|
857
865
|
256 && g !== (g = /*$_*/
|
|
858
866
|
T[8]("sessionExpirationLoadingButton") + "") && We(S, g);
|
|
859
867
|
},
|
|
860
|
-
i:
|
|
861
|
-
o:
|
|
868
|
+
i: zt,
|
|
869
|
+
o: zt,
|
|
862
870
|
d(T) {
|
|
863
871
|
T && ve(t);
|
|
864
872
|
}
|
|
@@ -919,10 +927,10 @@ function yo(n) {
|
|
|
919
927
|
const wo = 90;
|
|
920
928
|
function bo(n, t, o) {
|
|
921
929
|
let i, a;
|
|
922
|
-
Ut(n, jt, (r) => o(21, i = r)), Ut(n,
|
|
930
|
+
Ut(n, jt, (r) => o(21, i = r)), Ut(n, zn, (r) => o(8, a = r));
|
|
923
931
|
let { $$slots: f = {}, $$scope: g } = t;
|
|
924
932
|
Yt.extend(Gn);
|
|
925
|
-
let { clientstyling: S = "" } = t, { clientstylingurl: T = "" } = t, { width: _ } = t, { height: X } = t, { duration: ee = 200 } = t, { assetsurl: xe = "" } = t, { lang:
|
|
933
|
+
let { clientstyling: S = "" } = t, { clientstylingurl: T = "" } = t, { width: _ } = t, { height: X } = t, { duration: ee = 200 } = t, { assetsurl: xe = "" } = t, { lang: B = "en" } = t, { translationurl: F = "" } = t, { endpoint: ye } = t, { currency: se } = t, { customerid: z } = t, { selectedpaymentmethodname: pe } = t, { mbsource: J = "" } = t, h, A = !1, te = !1, re, de, G, ne, v;
|
|
926
934
|
var W;
|
|
927
935
|
(function(r) {
|
|
928
936
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -958,7 +966,7 @@ function bo(n, t, o) {
|
|
|
958
966
|
}, le = () => {
|
|
959
967
|
if (te)
|
|
960
968
|
return;
|
|
961
|
-
const r = new URL(`${ye}/v1/player/${
|
|
969
|
+
const r = new URL(`${ye}/v1/player/${z}/payment/GetPaymentMethod`), y = new Headers();
|
|
962
970
|
o(6, te = !0), y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
963
971
|
const C = {
|
|
964
972
|
method: "POST",
|
|
@@ -995,7 +1003,7 @@ function bo(n, t, o) {
|
|
|
995
1003
|
const y = r.currentTarget;
|
|
996
1004
|
r.target === y && le();
|
|
997
1005
|
}, V = () => {
|
|
998
|
-
fetch(
|
|
1006
|
+
fetch(F).then((y) => y.json()).then((y) => {
|
|
999
1007
|
Object.keys(y).forEach((C) => {
|
|
1000
1008
|
Xt(C, y[C]);
|
|
1001
1009
|
});
|
|
@@ -1009,7 +1017,7 @@ function bo(n, t, o) {
|
|
|
1009
1017
|
Xt(r, Vt[r]);
|
|
1010
1018
|
});
|
|
1011
1019
|
const be = () => {
|
|
1012
|
-
Wn(
|
|
1020
|
+
Wn(B);
|
|
1013
1021
|
};
|
|
1014
1022
|
kn(() => (window.addEventListener("message", ae, !1), () => {
|
|
1015
1023
|
window.removeEventListener("message", ae);
|
|
@@ -1017,7 +1025,7 @@ function bo(n, t, o) {
|
|
|
1017
1025
|
clearInterval(G);
|
|
1018
1026
|
});
|
|
1019
1027
|
function x(r) {
|
|
1020
|
-
|
|
1028
|
+
Ft[r ? "unshift" : "push"](() => {
|
|
1021
1029
|
h = r, o(4, h);
|
|
1022
1030
|
});
|
|
1023
1031
|
}
|
|
@@ -1025,20 +1033,20 @@ function bo(n, t, o) {
|
|
|
1025
1033
|
_ = this.clientWidth, X = this.clientHeight, o(0, _), o(1, X);
|
|
1026
1034
|
}
|
|
1027
1035
|
function E(r) {
|
|
1028
|
-
|
|
1036
|
+
Ft[r ? "unshift" : "push"](() => {
|
|
1029
1037
|
h = r, o(4, h);
|
|
1030
1038
|
});
|
|
1031
1039
|
}
|
|
1032
1040
|
return n.$$set = (r) => {
|
|
1033
|
-
"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,
|
|
1041
|
+
"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, B = r.lang), "translationurl" in r && o(15, F = r.translationurl), "endpoint" in r && o(16, ye = r.endpoint), "currency" in r && o(17, se = r.currency), "customerid" in r && o(18, z = 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
1042
|
}, n.$$.update = () => {
|
|
1035
1043
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1036
1044
|
2097152 && N(i), n.$$.dirty[0] & /*lang*/
|
|
1037
|
-
16384 &&
|
|
1045
|
+
16384 && B && be(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1038
1046
|
4112 && S && h && Un(h, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1039
1047
|
8208 && T && h && Hn(h, T), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1040
|
-
1048592 && J && h &&
|
|
1041
|
-
32768 &&
|
|
1048
|
+
1048592 && J && h && Bn(h, `${J}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1049
|
+
32768 && F && V();
|
|
1042
1050
|
}, [
|
|
1043
1051
|
_,
|
|
1044
1052
|
X,
|
|
@@ -1054,11 +1062,11 @@ function bo(n, t, o) {
|
|
|
1054
1062
|
m,
|
|
1055
1063
|
S,
|
|
1056
1064
|
T,
|
|
1065
|
+
B,
|
|
1057
1066
|
F,
|
|
1058
|
-
z,
|
|
1059
1067
|
ye,
|
|
1060
1068
|
se,
|
|
1061
|
-
|
|
1069
|
+
z,
|
|
1062
1070
|
pe,
|
|
1063
1071
|
J,
|
|
1064
1072
|
i,
|
|
@@ -1175,7 +1183,7 @@ class So extends vn {
|
|
|
1175
1183
|
this.$$set({ mbsource: t }), q();
|
|
1176
1184
|
}
|
|
1177
1185
|
}
|
|
1178
|
-
|
|
1186
|
+
Fn(So, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1179
1187
|
export {
|
|
1180
1188
|
So as default
|
|
1181
1189
|
};
|