@everymatrix/cashier-page 1.50.1 → 1.52.0
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/{CashierHeader-D_5W3qac.js → CashierHeader-CGdNSxx6.js} +23 -16
- package/components/CashierHeader-Ckcwhr6m.cjs +1 -0
- package/components/{CashierIframeRedirect-AfYctO93.js → CashierIframeRedirect-BJdtHTt_.js} +19 -16
- package/components/CashierIframeRedirect-C7zvMq6i.cjs +1 -0
- package/components/{CashierMethodDetails-DmHFfFH5.cjs → CashierMethodDetails-BC3mVaSl.cjs} +2 -2
- package/components/{CashierMethodDetails-CaayB8Ta.js → CashierMethodDetails-DL_tl1uy.js} +139 -139
- package/components/{CashierMethodsList-COmRGzya.js → CashierMethodsList-33dhTMJI.js} +52 -46
- package/components/CashierMethodsList-BRCp8G8I.cjs +1 -0
- package/components/{CashierPage-9uZbyjKm.js → CashierPage-BcC2DuWX.js} +10 -7
- package/components/{CashierPage-B4HjN4Bk.cjs → CashierPage-JC7rmF7L.cjs} +1 -1
- package/components/{CashierReceiptPage-C5JK2JOI.js → CashierReceiptPage-DfqSz2ui.js} +224 -160
- package/components/CashierReceiptPage-bNFGBNgN.cjs +1 -0
- package/components/{CashierSessionExpirationModal-CLyCURw1.js → CashierSessionExpirationModal-AffzswDg.js} +178 -171
- package/components/{CashierSessionExpirationModal-ToViCtAl.cjs → CashierSessionExpirationModal-C0lsBgGc.cjs} +2 -2
- package/components/{CashierVerifications-B43LfrCs.cjs → CashierVerifications-DVaTZuWL.cjs} +1 -1
- package/components/{CashierVerifications-B82QHoUu.js → CashierVerifications-DZULgrQD.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-PU4xmDh7.cjs +0 -1
- package/components/CashierIframeRedirect-DPigb3i8.cjs +0 -1
- package/components/CashierMethodsList-jXH4wahr.cjs +0 -1
- package/components/CashierReceiptPage-H9Qapwm1.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as An, b as Cn, f as
|
|
1
|
+
import { S as An, b as Cn, f as Y, c as On, a as Rn, d as xn, x as rn, k as le, t as re, p as me, q as ln, v as ce, w as Nn, G as Mn, V as kn, e as Fe, g as Z, y as Ve, h as Le, j as d, F as zt, l as R, T as vn, A as Ht, z as qe, u as Be, m as _e, o as Ge, B as cn, U as Zt, r as Dn, C as Wt, O as Ft, n as ct, D as ut } from "./CashierConfirmModal-Bho8FqJK.js";
|
|
2
2
|
import { f as Bt } from "./CashierModal-XEf2DPsH.js";
|
|
3
3
|
import { a as Ln, i as Pn, $ as In, b as Un } from "./CashierError-B6UnQRtt.js";
|
|
4
|
-
import { d as _t, u as zn } from "./CashierMethodDetails-
|
|
5
|
-
function
|
|
4
|
+
import { d as _t, u as zn } from "./CashierMethodDetails-DL_tl1uy.js";
|
|
5
|
+
function Gt(n, t) {
|
|
6
6
|
Ln(n, t);
|
|
7
7
|
}
|
|
8
8
|
function Hn(n) {
|
|
@@ -10,7 +10,7 @@ function Hn(n) {
|
|
|
10
10
|
fallbackLocale: "en"
|
|
11
11
|
}), In.set(n);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Jt = {
|
|
14
14
|
en: {
|
|
15
15
|
sessionExpirationHeader: "Session Warning",
|
|
16
16
|
sessionExpirationTitle: "Your session is about to expire!",
|
|
@@ -24,19 +24,26 @@ const Vt = {
|
|
|
24
24
|
sessionExpirationGeneralText: "Oyun seansınız <b>{second} saniye</b> içinde otomatik olarak sonuçlandırılacaktır",
|
|
25
25
|
sessionExpirationGeneralButton: "DEVAM ET",
|
|
26
26
|
sessionExpirationLoadingButton: "İŞLEME..."
|
|
27
|
+
},
|
|
28
|
+
"en-us": {
|
|
29
|
+
sessionExpirationHeader: "Session Warning",
|
|
30
|
+
sessionExpirationTitle: "Your session is about to expire!",
|
|
31
|
+
sessionExpirationGeneralText: "Your session will automatically terminate in <b>{second} seconds</b>.",
|
|
32
|
+
sessionExpirationGeneralButton: "CONTINUE",
|
|
33
|
+
sessionExpirationLoadingButton: "PROCESSING..."
|
|
27
34
|
}
|
|
28
35
|
};
|
|
29
36
|
/*! @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 */
|
|
30
37
|
const {
|
|
31
38
|
entries: un,
|
|
32
|
-
setPrototypeOf:
|
|
39
|
+
setPrototypeOf: Vt,
|
|
33
40
|
isFrozen: Zn,
|
|
34
41
|
getPrototypeOf: Wn,
|
|
35
42
|
getOwnPropertyDescriptor: Fn
|
|
36
43
|
} = Object;
|
|
37
44
|
let {
|
|
38
45
|
freeze: W,
|
|
39
|
-
seal:
|
|
46
|
+
seal: j,
|
|
40
47
|
create: fn
|
|
41
48
|
} = Object, {
|
|
42
49
|
apply: ft,
|
|
@@ -45,7 +52,7 @@ let {
|
|
|
45
52
|
W || (W = function(t) {
|
|
46
53
|
return t;
|
|
47
54
|
});
|
|
48
|
-
|
|
55
|
+
j || (j = function(t) {
|
|
49
56
|
return t;
|
|
50
57
|
});
|
|
51
58
|
ft || (ft = function(t, i, o) {
|
|
@@ -54,7 +61,7 @@ ft || (ft = function(t, i, o) {
|
|
|
54
61
|
mt || (mt = function(t, i) {
|
|
55
62
|
return new t(...i);
|
|
56
63
|
});
|
|
57
|
-
const Ze = _(Array.prototype.forEach),
|
|
64
|
+
const Ze = _(Array.prototype.forEach), qt = _(Array.prototype.pop), Ne = _(Array.prototype.push), Je = _(String.prototype.toLowerCase), ot = _(String.prototype.toString), Yt = _(String.prototype.match), Me = _(String.prototype.replace), Bn = _(String.prototype.indexOf), _n = _(String.prototype.trim), Q = _(Object.prototype.hasOwnProperty), H = _(RegExp.prototype.test), ke = Gn(TypeError);
|
|
58
65
|
function _(n) {
|
|
59
66
|
return function(t) {
|
|
60
67
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
@@ -62,7 +69,7 @@ function _(n) {
|
|
|
62
69
|
return ft(n, t, o);
|
|
63
70
|
};
|
|
64
71
|
}
|
|
65
|
-
function
|
|
72
|
+
function Gn(n) {
|
|
66
73
|
return function() {
|
|
67
74
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
68
75
|
i[o] = arguments[o];
|
|
@@ -70,8 +77,8 @@ function Jn(n) {
|
|
|
70
77
|
};
|
|
71
78
|
}
|
|
72
79
|
function m(n, t) {
|
|
73
|
-
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
74
|
-
|
|
80
|
+
let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Je;
|
|
81
|
+
Vt && Vt(n, null);
|
|
75
82
|
let o = t.length;
|
|
76
83
|
for (; o--; ) {
|
|
77
84
|
let a = t[o];
|
|
@@ -83,7 +90,7 @@ function m(n, t) {
|
|
|
83
90
|
}
|
|
84
91
|
return n;
|
|
85
92
|
}
|
|
86
|
-
function
|
|
93
|
+
function Jn(n) {
|
|
87
94
|
for (let t = 0; t < n.length; t++)
|
|
88
95
|
Q(n, t) || (n[t] = null);
|
|
89
96
|
return n;
|
|
@@ -91,7 +98,7 @@ function Vn(n) {
|
|
|
91
98
|
function he(n) {
|
|
92
99
|
const t = fn(null);
|
|
93
100
|
for (const [i, o] of un(n))
|
|
94
|
-
Q(n, i) && (Array.isArray(o) ? t[i] =
|
|
101
|
+
Q(n, i) && (Array.isArray(o) ? t[i] = Jn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = he(o) : t[i] = o);
|
|
95
102
|
return t;
|
|
96
103
|
}
|
|
97
104
|
function ve(n, t) {
|
|
@@ -110,17 +117,17 @@ function ve(n, t) {
|
|
|
110
117
|
}
|
|
111
118
|
return i;
|
|
112
119
|
}
|
|
113
|
-
const
|
|
120
|
+
const jt = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), st = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), at = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vn = W(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), rt = W(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), qn = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xt = W(["#text"]), Kt = W(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), lt = W(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Qt = W(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), We = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Yn = j(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jn = j(/<%[\w\W]*|[\w\W]*%>/gm), Xn = j(/\${[\w\W]*}/gm), Kn = j(/^data-[\-\w.\u00B7-\uFFFF]/), Qn = j(/^aria-[\-\w]+$/), mn = j(
|
|
114
121
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
115
122
|
// eslint-disable-line no-useless-escape
|
|
116
|
-
), $n =
|
|
123
|
+
), $n = j(/^(?:\w+script|data):/i), ei = j(
|
|
117
124
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
118
125
|
// eslint-disable-line no-control-regex
|
|
119
|
-
), pn =
|
|
126
|
+
), pn = j(/^html$/i), ti = j(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
120
127
|
var $t = /* @__PURE__ */ Object.freeze({
|
|
121
128
|
__proto__: null,
|
|
122
|
-
MUSTACHE_EXPR:
|
|
123
|
-
ERB_EXPR:
|
|
129
|
+
MUSTACHE_EXPR: Yn,
|
|
130
|
+
ERB_EXPR: jn,
|
|
124
131
|
TMPLIT_EXPR: Xn,
|
|
125
132
|
DATA_ATTR: Kn,
|
|
126
133
|
ARIA_ATTR: Qn,
|
|
@@ -181,41 +188,41 @@ function dn() {
|
|
|
181
188
|
HTMLTemplateElement: p,
|
|
182
189
|
Node: D,
|
|
183
190
|
Element: L,
|
|
184
|
-
NodeFilter:
|
|
191
|
+
NodeFilter: y,
|
|
185
192
|
NamedNodeMap: P = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
186
193
|
HTMLFormElement: pe,
|
|
187
194
|
DOMParser: ie,
|
|
188
|
-
trustedTypes:
|
|
195
|
+
trustedTypes: G
|
|
189
196
|
} = n, O = L.prototype, x = ve(O, "cloneNode"), M = ve(O, "remove"), ue = ve(O, "nextSibling"), A = ve(O, "childNodes"), h = ve(O, "parentNode");
|
|
190
197
|
if (typeof p == "function") {
|
|
191
198
|
const u = i.createElement("template");
|
|
192
199
|
u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
|
|
193
200
|
}
|
|
194
|
-
let
|
|
201
|
+
let S, F = "";
|
|
195
202
|
const {
|
|
196
|
-
implementation:
|
|
197
|
-
createNodeIterator:
|
|
203
|
+
implementation: J,
|
|
204
|
+
createNodeIterator: V,
|
|
198
205
|
createDocumentFragment: I,
|
|
199
206
|
getElementsByTagName: $
|
|
200
207
|
} = i, {
|
|
201
208
|
importNode: oe
|
|
202
209
|
} = o;
|
|
203
|
-
let
|
|
204
|
-
t.isSupported = typeof un == "function" && typeof h == "function" &&
|
|
210
|
+
let w = {};
|
|
211
|
+
t.isSupported = typeof un == "function" && typeof h == "function" && J && J.createHTMLDocument !== void 0;
|
|
205
212
|
const {
|
|
206
213
|
MUSTACHE_EXPR: ee,
|
|
207
214
|
ERB_EXPR: X,
|
|
208
215
|
TMPLIT_EXPR: k,
|
|
209
216
|
DATA_ATTR: ge,
|
|
210
|
-
ARIA_ATTR:
|
|
217
|
+
ARIA_ATTR: q,
|
|
211
218
|
IS_SCRIPT_OR_DATA: Te,
|
|
212
219
|
ATTR_WHITESPACE: g,
|
|
213
|
-
CUSTOM_ELEMENT:
|
|
220
|
+
CUSTOM_ELEMENT: b
|
|
214
221
|
} = $t;
|
|
215
222
|
let {
|
|
216
223
|
IS_ALLOWED_URI: fe
|
|
217
224
|
} = $t, C = null;
|
|
218
|
-
const l = m({}, [...
|
|
225
|
+
const l = m({}, [...jt, ...st, ...at, ...rt, ...Xt]);
|
|
219
226
|
let f = null;
|
|
220
227
|
const K = m({}, [...Kt, ...lt, ...Qt, ...We]);
|
|
221
228
|
let E = Object.seal(fn(null, {
|
|
@@ -237,57 +244,57 @@ function dn() {
|
|
|
237
244
|
enumerable: !0,
|
|
238
245
|
value: !1
|
|
239
246
|
}
|
|
240
|
-
})), Ce = null,
|
|
247
|
+
})), Ce = null, Ye = null, pt = !0, je = !0, dt = !1, ht = !0, Ee = !1, Xe = !0, de = !1, Ke = !1, Qe = !1, Se = !1, Pe = !1, Ie = !1, gt = !0, Tt = !1;
|
|
241
248
|
const hn = "user-content-";
|
|
242
|
-
let $e = !0, Oe = !1,
|
|
249
|
+
let $e = !0, Oe = !1, we = {}, be = null;
|
|
243
250
|
const Et = m({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
244
|
-
let
|
|
245
|
-
const
|
|
251
|
+
let St = null;
|
|
252
|
+
const wt = m({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
246
253
|
let et = null;
|
|
247
|
-
const
|
|
248
|
-
let
|
|
254
|
+
const bt = m({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ue = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", se = "http://www.w3.org/1999/xhtml";
|
|
255
|
+
let ye = se, tt = !1, nt = null;
|
|
249
256
|
const gn = m({}, [Ue, ze, se], ot);
|
|
250
257
|
let Re = null;
|
|
251
258
|
const Tn = ["application/xhtml+xml", "text/html"], En = "text/html";
|
|
252
259
|
let N = null, Ae = null;
|
|
253
|
-
const
|
|
260
|
+
const Sn = i.createElement("form"), yt = function(e) {
|
|
254
261
|
return e instanceof RegExp || e instanceof Function;
|
|
255
262
|
}, it = function() {
|
|
256
263
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
257
264
|
if (!(Ae && Ae === e)) {
|
|
258
265
|
if ((!e || typeof e != "object") && (e = {}), e = he(e), Re = // eslint-disable-next-line unicorn/prefer-includes
|
|
259
|
-
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, N = Re === "application/xhtml+xml" ? ot :
|
|
260
|
-
he(
|
|
266
|
+
Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, N = Re === "application/xhtml+xml" ? ot : Je, C = Q(e, "ALLOWED_TAGS") ? m({}, e.ALLOWED_TAGS, N) : l, f = Q(e, "ALLOWED_ATTR") ? m({}, e.ALLOWED_ATTR, N) : K, nt = Q(e, "ALLOWED_NAMESPACES") ? m({}, e.ALLOWED_NAMESPACES, ot) : gn, et = Q(e, "ADD_URI_SAFE_ATTR") ? m(
|
|
267
|
+
he(bt),
|
|
261
268
|
// eslint-disable-line indent
|
|
262
269
|
e.ADD_URI_SAFE_ATTR,
|
|
263
270
|
// eslint-disable-line indent
|
|
264
271
|
N
|
|
265
272
|
// eslint-disable-line indent
|
|
266
|
-
) :
|
|
267
|
-
he(
|
|
273
|
+
) : bt, St = Q(e, "ADD_DATA_URI_TAGS") ? m(
|
|
274
|
+
he(wt),
|
|
268
275
|
// eslint-disable-line indent
|
|
269
276
|
e.ADD_DATA_URI_TAGS,
|
|
270
277
|
// eslint-disable-line indent
|
|
271
278
|
N
|
|
272
279
|
// eslint-disable-line indent
|
|
273
|
-
) :
|
|
280
|
+
) : wt, be = Q(e, "FORBID_CONTENTS") ? m({}, e.FORBID_CONTENTS, N) : Et, Ce = Q(e, "FORBID_TAGS") ? m({}, e.FORBID_TAGS, N) : {}, Ye = Q(e, "FORBID_ATTR") ? m({}, e.FORBID_ATTR, N) : {}, we = Q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pt = e.ALLOW_ARIA_ATTR !== !1, je = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, Xe = e.SAFE_FOR_XML !== !1, de = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ie = e.RETURN_TRUSTED_TYPE || !1, Qe = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, $e = e.KEEP_CONTENT !== !1, Oe = e.IN_PLACE || !1, fe = e.ALLOWED_URI_REGEXP || mn, ye = e.NAMESPACE || se, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(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), Ee && (je = !1), Pe && (Se = !0), we && (C = m({}, Xt), f = [], we.html === !0 && (m(C, jt), m(f, Kt)), we.svg === !0 && (m(C, st), m(f, lt), m(f, We)), we.svgFilters === !0 && (m(C, at), m(f, lt), m(f, We)), we.mathMl === !0 && (m(C, rt), m(f, Qt), m(f, We))), e.ADD_TAGS && (C === l && (C = he(C)), m(C, e.ADD_TAGS, N)), e.ADD_ATTR && (f === K && (f = he(f)), m(f, e.ADD_ATTR, N)), e.ADD_URI_SAFE_ATTR && m(et, e.ADD_URI_SAFE_ATTR, N), e.FORBID_CONTENTS && (be === Et && (be = he(be)), m(be, e.FORBID_CONTENTS, N)), $e && (C["#text"] = !0), de && m(C, ["html", "head", "body"]), C.table && (m(C, ["tbody"]), delete Ce.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
274
281
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
275
282
|
throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
276
283
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
277
284
|
throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
278
|
-
|
|
285
|
+
S = e.TRUSTED_TYPES_POLICY, F = S.createHTML("");
|
|
279
286
|
} else
|
|
280
|
-
|
|
287
|
+
S === void 0 && (S = ii(G, a)), S !== null && typeof F == "string" && (F = S.createHTML(""));
|
|
281
288
|
W && W(e), Ae = e;
|
|
282
289
|
}
|
|
283
|
-
}, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]),
|
|
290
|
+
}, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]), wn = m({}, ["title", "style", "font", "a", "script"]), Ot = m({}, [...st, ...at, ...Vn]), Rt = m({}, [...rt, ...qn]), bn = function(e) {
|
|
284
291
|
let s = h(e);
|
|
285
292
|
(!s || !s.tagName) && (s = {
|
|
286
|
-
namespaceURI:
|
|
293
|
+
namespaceURI: ye,
|
|
287
294
|
tagName: "template"
|
|
288
295
|
});
|
|
289
|
-
const c =
|
|
290
|
-
return nt[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === se ? c === "svg" : s.namespaceURI === Ue ? c === "svg" && (T === "annotation-xml" || At[T]) : !!Ot[c] : e.namespaceURI === Ue ? s.namespaceURI === se ? c === "math" : s.namespaceURI === ze ? c === "math" && Ct[T] : !!Rt[c] : e.namespaceURI === se ? s.namespaceURI === ze && !Ct[T] || s.namespaceURI === Ue && !At[T] ? !1 : !Rt[c] && (
|
|
296
|
+
const c = Je(e.tagName), T = Je(s.tagName);
|
|
297
|
+
return nt[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === se ? c === "svg" : s.namespaceURI === Ue ? c === "svg" && (T === "annotation-xml" || At[T]) : !!Ot[c] : e.namespaceURI === Ue ? s.namespaceURI === se ? c === "math" : s.namespaceURI === ze ? c === "math" && Ct[T] : !!Rt[c] : e.namespaceURI === se ? s.namespaceURI === ze && !Ct[T] || s.namespaceURI === Ue && !At[T] ? !1 : !Rt[c] && (wn[c] || !Ot[c]) : !!(Re === "application/xhtml+xml" && nt[e.namespaceURI]) : !1;
|
|
291
298
|
}, te = function(e) {
|
|
292
299
|
Ne(t.removed, {
|
|
293
300
|
element: e
|
|
@@ -310,7 +317,7 @@ function dn() {
|
|
|
310
317
|
});
|
|
311
318
|
}
|
|
312
319
|
if (s.removeAttribute(e), e === "is" && !f[e])
|
|
313
|
-
if (
|
|
320
|
+
if (Se || Pe)
|
|
314
321
|
try {
|
|
315
322
|
te(s);
|
|
316
323
|
} catch (c) {
|
|
@@ -325,31 +332,31 @@ function dn() {
|
|
|
325
332
|
if (Qe)
|
|
326
333
|
e = "<remove></remove>" + e;
|
|
327
334
|
else {
|
|
328
|
-
const v =
|
|
335
|
+
const v = Yt(e, /^[\r\n\t ]+/);
|
|
329
336
|
c = v && v[0];
|
|
330
337
|
}
|
|
331
|
-
Re === "application/xhtml+xml" &&
|
|
332
|
-
const T =
|
|
333
|
-
if (
|
|
338
|
+
Re === "application/xhtml+xml" && ye === se && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
339
|
+
const T = S ? S.createHTML(e) : e;
|
|
340
|
+
if (ye === se)
|
|
334
341
|
try {
|
|
335
342
|
s = new ie().parseFromString(T, Re);
|
|
336
343
|
} catch (v) {
|
|
337
344
|
}
|
|
338
345
|
if (!s || !s.documentElement) {
|
|
339
|
-
s =
|
|
346
|
+
s = J.createDocument(ye, "template", null);
|
|
340
347
|
try {
|
|
341
348
|
s.documentElement.innerHTML = tt ? F : T;
|
|
342
349
|
} catch (v) {
|
|
343
350
|
}
|
|
344
351
|
}
|
|
345
352
|
const U = s.body || s.documentElement;
|
|
346
|
-
return e && c && U.insertBefore(i.createTextNode(c), U.childNodes[0] || null),
|
|
353
|
+
return e && c && U.insertBefore(i.createTextNode(c), U.childNodes[0] || null), ye === se ? $.call(s, de ? "html" : "body")[0] : de ? s.documentElement : U;
|
|
347
354
|
}, Nt = function(e) {
|
|
348
|
-
return
|
|
355
|
+
return V.call(
|
|
349
356
|
e.ownerDocument || e,
|
|
350
357
|
e,
|
|
351
358
|
// eslint-disable-next-line no-bitwise
|
|
352
|
-
|
|
359
|
+
y.SHOW_ELEMENT | y.SHOW_COMMENT | y.SHOW_TEXT | y.SHOW_PROCESSING_INSTRUCTION | y.SHOW_CDATA_SECTION,
|
|
353
360
|
null
|
|
354
361
|
);
|
|
355
362
|
}, Mt = function(e) {
|
|
@@ -357,7 +364,7 @@ function dn() {
|
|
|
357
364
|
}, kt = function(e) {
|
|
358
365
|
return typeof D == "function" && e instanceof D;
|
|
359
366
|
}, ae = function(e, s, c) {
|
|
360
|
-
|
|
367
|
+
w[e] && Ze(w[e], (T) => {
|
|
361
368
|
T.call(t, s, c, Ae);
|
|
362
369
|
});
|
|
363
370
|
}, vt = function(e) {
|
|
@@ -373,7 +380,7 @@ function dn() {
|
|
|
373
380
|
if (!C[c] || Ce[c]) {
|
|
374
381
|
if (!Ce[c] && Lt(c) && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
|
|
375
382
|
return !1;
|
|
376
|
-
if ($e && !
|
|
383
|
+
if ($e && !be[c]) {
|
|
377
384
|
const T = h(e) || e.parentNode, U = A(e) || e.childNodes;
|
|
378
385
|
if (U && T) {
|
|
379
386
|
const v = U.length;
|
|
@@ -385,17 +392,17 @@ function dn() {
|
|
|
385
392
|
}
|
|
386
393
|
return te(e), !0;
|
|
387
394
|
}
|
|
388
|
-
return e instanceof L && !
|
|
395
|
+
return e instanceof L && !bn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (te(e), !0) : (Ee && e.nodeType === De.text && (s = e.textContent, Ze([ee, X, k], (T) => {
|
|
389
396
|
s = Me(s, T, " ");
|
|
390
397
|
}), e.textContent !== s && (Ne(t.removed, {
|
|
391
398
|
element: e.cloneNode()
|
|
392
399
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
393
400
|
}, Dt = function(e, s, c) {
|
|
394
|
-
if (gt && (s === "id" || s === "name") && (c in i || c in
|
|
401
|
+
if (gt && (s === "id" || s === "name") && (c in i || c in Sn))
|
|
395
402
|
return !1;
|
|
396
|
-
if (!(
|
|
397
|
-
if (!(pt && H(
|
|
398
|
-
if (!f[s] ||
|
|
403
|
+
if (!(je && !Ye[s] && H(ge, s))) {
|
|
404
|
+
if (!(pt && H(q, s))) {
|
|
405
|
+
if (!f[s] || Ye[s]) {
|
|
399
406
|
if (
|
|
400
407
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
401
408
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -406,7 +413,7 @@ function dn() {
|
|
|
406
413
|
) return !1;
|
|
407
414
|
} else if (!et[s]) {
|
|
408
415
|
if (!H(fe, Me(c, g, ""))) {
|
|
409
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Bn(c, "data:") === 0 &&
|
|
416
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Bn(c, "data:") === 0 && St[e])) {
|
|
410
417
|
if (!(dt && !H(Te, Me(c, g, "")))) {
|
|
411
418
|
if (c)
|
|
412
419
|
return !1;
|
|
@@ -418,7 +425,7 @@ function dn() {
|
|
|
418
425
|
}
|
|
419
426
|
return !0;
|
|
420
427
|
}, Lt = function(e) {
|
|
421
|
-
return e !== "annotation-xml" &&
|
|
428
|
+
return e !== "annotation-xml" && Yt(e, b);
|
|
422
429
|
}, Pt = function(e) {
|
|
423
430
|
ae("beforeSanitizeAttributes", e, null);
|
|
424
431
|
const {
|
|
@@ -455,25 +462,25 @@ function dn() {
|
|
|
455
462
|
});
|
|
456
463
|
const It = N(e.nodeName);
|
|
457
464
|
if (Dt(It, xe, z)) {
|
|
458
|
-
if (Tt && (xe === "id" || xe === "name") && (He(v, e), z = hn + z),
|
|
459
|
-
switch (
|
|
465
|
+
if (Tt && (xe === "id" || xe === "name") && (He(v, e), z = hn + z), S && typeof G == "object" && typeof G.getAttributeType == "function" && !B)
|
|
466
|
+
switch (G.getAttributeType(It, xe)) {
|
|
460
467
|
case "TrustedHTML": {
|
|
461
|
-
z =
|
|
468
|
+
z = S.createHTML(z);
|
|
462
469
|
break;
|
|
463
470
|
}
|
|
464
471
|
case "TrustedScriptURL": {
|
|
465
|
-
z =
|
|
472
|
+
z = S.createScriptURL(z);
|
|
466
473
|
break;
|
|
467
474
|
}
|
|
468
475
|
}
|
|
469
476
|
try {
|
|
470
|
-
B ? e.setAttributeNS(B, v, z) : e.setAttribute(v, z), Mt(e) ? te(e) :
|
|
477
|
+
B ? e.setAttributeNS(B, v, z) : e.setAttribute(v, z), Mt(e) ? te(e) : qt(t.removed);
|
|
471
478
|
} catch (Ut) {
|
|
472
479
|
}
|
|
473
480
|
}
|
|
474
481
|
}
|
|
475
482
|
ae("afterSanitizeAttributes", e, null);
|
|
476
|
-
},
|
|
483
|
+
}, yn = function u(e) {
|
|
477
484
|
let s = null;
|
|
478
485
|
const c = Nt(e);
|
|
479
486
|
for (ae("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
|
|
@@ -499,19 +506,19 @@ function dn() {
|
|
|
499
506
|
} else if (u instanceof D)
|
|
500
507
|
s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === De.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
|
|
501
508
|
else {
|
|
502
|
-
if (!
|
|
509
|
+
if (!Se && !Ee && !de && // eslint-disable-next-line unicorn/prefer-includes
|
|
503
510
|
u.indexOf("<") === -1)
|
|
504
|
-
return
|
|
511
|
+
return S && Ie ? S.createHTML(u) : u;
|
|
505
512
|
if (s = xt(u), !s)
|
|
506
|
-
return
|
|
513
|
+
return Se ? null : Ie ? F : "";
|
|
507
514
|
}
|
|
508
515
|
s && Qe && te(s.firstChild);
|
|
509
516
|
const v = Nt(Oe ? u : s);
|
|
510
517
|
for (; T = v.nextNode(); )
|
|
511
|
-
vt(T) || (T.content instanceof r &&
|
|
518
|
+
vt(T) || (T.content instanceof r && yn(T.content), Pt(T));
|
|
512
519
|
if (Oe)
|
|
513
520
|
return u;
|
|
514
|
-
if (
|
|
521
|
+
if (Se) {
|
|
515
522
|
if (Pe)
|
|
516
523
|
for (U = I.call(s.ownerDocument); s.firstChild; )
|
|
517
524
|
U.appendChild(s.firstChild);
|
|
@@ -523,7 +530,7 @@ function dn() {
|
|
|
523
530
|
return de && C["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(pn, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
524
531
|
` + B), Ee && Ze([ee, X, k], (ne) => {
|
|
525
532
|
B = Me(B, ne, " ");
|
|
526
|
-
}),
|
|
533
|
+
}), S && Ie ? S.createHTML(B) : B;
|
|
527
534
|
}, t.setConfig = function() {
|
|
528
535
|
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
529
536
|
it(u), Ke = !0;
|
|
@@ -534,14 +541,14 @@ function dn() {
|
|
|
534
541
|
const c = N(u), T = N(e);
|
|
535
542
|
return Dt(c, T, s);
|
|
536
543
|
}, t.addHook = function(u, e) {
|
|
537
|
-
typeof e == "function" && (
|
|
544
|
+
typeof e == "function" && (w[u] = w[u] || [], Ne(w[u], e));
|
|
538
545
|
}, t.removeHook = function(u) {
|
|
539
|
-
if (
|
|
540
|
-
return
|
|
546
|
+
if (w[u])
|
|
547
|
+
return qt(w[u]);
|
|
541
548
|
}, t.removeHooks = function(u) {
|
|
542
|
-
|
|
549
|
+
w[u] && (w[u] = []);
|
|
543
550
|
}, t.removeAllHooks = function() {
|
|
544
|
-
|
|
551
|
+
w = {};
|
|
545
552
|
}, t;
|
|
546
553
|
}
|
|
547
554
|
var en = dn();
|
|
@@ -554,17 +561,17 @@ function an(n) {
|
|
|
554
561
|
let t, i, o, a, r, p = (
|
|
555
562
|
/*$_*/
|
|
556
563
|
n[8]("sessionExpirationHeader") + ""
|
|
557
|
-
), D, L,
|
|
558
|
-
const
|
|
564
|
+
), D, L, y, P, pe, ie, G, O, x, M, ue, A, h, S, F;
|
|
565
|
+
const J = (
|
|
559
566
|
/*#slots*/
|
|
560
567
|
n[20].icon
|
|
561
|
-
),
|
|
562
|
-
|
|
568
|
+
), V = Fe(
|
|
569
|
+
J,
|
|
563
570
|
n,
|
|
564
571
|
/*$$scope*/
|
|
565
572
|
n[19],
|
|
566
573
|
sn
|
|
567
|
-
), I =
|
|
574
|
+
), I = V || mi(n), $ = (
|
|
568
575
|
/*#slots*/
|
|
569
576
|
n[20].title
|
|
570
577
|
), oe = Fe(
|
|
@@ -573,7 +580,7 @@ function an(n) {
|
|
|
573
580
|
/*$$scope*/
|
|
574
581
|
n[19],
|
|
575
582
|
on
|
|
576
|
-
),
|
|
583
|
+
), w = oe || pi(n), ee = (
|
|
577
584
|
/*#slots*/
|
|
578
585
|
n[20].text
|
|
579
586
|
), X = Fe(
|
|
@@ -582,27 +589,27 @@ function an(n) {
|
|
|
582
589
|
/*$$scope*/
|
|
583
590
|
n[19],
|
|
584
591
|
nn
|
|
585
|
-
), k = X || di(n), ge = [gi, hi],
|
|
586
|
-
function Te(g,
|
|
592
|
+
), k = X || di(n), ge = [gi, hi], q = [];
|
|
593
|
+
function Te(g, b) {
|
|
587
594
|
return (
|
|
588
595
|
/*showLoaderButton*/
|
|
589
596
|
g[6] ? 0 : 1
|
|
590
597
|
);
|
|
591
598
|
}
|
|
592
|
-
return x = Te(n), M =
|
|
599
|
+
return x = Te(n), M = q[x] = ge[x](n), {
|
|
593
600
|
c() {
|
|
594
|
-
t = Z("div"), i = Z("div"), o = Z("div"), a = Z("div"), r = Z("div"), D =
|
|
595
|
-
n[6], d(O, "class", "CashierSessionExpirationButton"), d(P, "class", "CashierSessionExpiration"), d(
|
|
601
|
+
t = Z("div"), i = Z("div"), o = Z("div"), a = Z("div"), r = Z("div"), D = Ve(p), L = Le(), y = Z("div"), P = Z("div"), I && I.c(), pe = Le(), w && w.c(), ie = Le(), k && k.c(), G = Le(), O = Z("button"), M.c(), d(r, "class", "CashierSessionExpirationModalHeaderTitle"), d(a, "class", "CashierSessionExpirationModalHeader"), d(O, "type", "button"), O.disabled = /*showLoaderButton*/
|
|
602
|
+
n[6], d(O, "class", "CashierSessionExpirationButton"), d(P, "class", "CashierSessionExpiration"), d(y, "class", "CashierSessionExpirationModalContainer"), d(y, "part", "CashierSessionExpirationModalContainer"), d(o, "class", "CashierSessionExpirationModalWrapper"), d(o, "part", "CashierSessionExpirationModalWrapper"), d(i, "class", "CashierSessionExpirationModalWindow"), d(i, "part", "CashierSessionExpirationModalWindow"), d(i, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
596
603
|
/*div5_elementresize_handler*/
|
|
597
604
|
n[22].call(i)
|
|
598
605
|
)), d(t, "part", "CustomStylingContainer");
|
|
599
606
|
},
|
|
600
|
-
m(g,
|
|
601
|
-
le(g, t,
|
|
607
|
+
m(g, b) {
|
|
608
|
+
le(g, t, b), R(t, i), R(i, o), R(o, a), R(a, r), R(r, D), R(o, L), R(o, y), R(y, P), I && I.m(P, null), R(P, pe), w && w.m(P, null), R(P, ie), k && k.m(P, null), R(P, G), R(P, O), q[x].m(O, null), n[21](P), ue = vn(
|
|
602
609
|
i,
|
|
603
610
|
/*div5_elementresize_handler*/
|
|
604
611
|
n[22].bind(i)
|
|
605
|
-
), n[23](t), h = !0,
|
|
612
|
+
), n[23](t), h = !0, S || (F = [
|
|
606
613
|
Ht(
|
|
607
614
|
O,
|
|
608
615
|
"click",
|
|
@@ -615,78 +622,78 @@ function an(n) {
|
|
|
615
622
|
/*outOfModalClick*/
|
|
616
623
|
n[10]
|
|
617
624
|
)
|
|
618
|
-
],
|
|
625
|
+
], S = !0);
|
|
619
626
|
},
|
|
620
|
-
p(g,
|
|
621
|
-
n = g, (!h ||
|
|
627
|
+
p(g, b) {
|
|
628
|
+
n = g, (!h || b[0] & /*$_*/
|
|
622
629
|
256) && p !== (p = /*$_*/
|
|
623
|
-
n[8]("sessionExpirationHeader") + "") &&
|
|
630
|
+
n[8]("sessionExpirationHeader") + "") && qe(D, p), V ? V.p && (!h || b[0] & /*$$scope*/
|
|
624
631
|
524288) && Be(
|
|
625
|
-
q,
|
|
626
632
|
V,
|
|
633
|
+
J,
|
|
627
634
|
n,
|
|
628
635
|
/*$$scope*/
|
|
629
636
|
n[19],
|
|
630
|
-
h ?
|
|
631
|
-
|
|
637
|
+
h ? Ge(
|
|
638
|
+
J,
|
|
632
639
|
/*$$scope*/
|
|
633
640
|
n[19],
|
|
634
|
-
|
|
641
|
+
b,
|
|
635
642
|
ci
|
|
636
643
|
) : _e(
|
|
637
644
|
/*$$scope*/
|
|
638
645
|
n[19]
|
|
639
646
|
),
|
|
640
647
|
sn
|
|
641
|
-
) : I && I.p && (!h ||
|
|
642
|
-
8) && I.p(n, h ?
|
|
648
|
+
) : I && I.p && (!h || b[0] & /*assetsurl*/
|
|
649
|
+
8) && I.p(n, h ? b : [-1, -1]), oe ? oe.p && (!h || b[0] & /*$$scope*/
|
|
643
650
|
524288) && Be(
|
|
644
651
|
oe,
|
|
645
652
|
$,
|
|
646
653
|
n,
|
|
647
654
|
/*$$scope*/
|
|
648
655
|
n[19],
|
|
649
|
-
h ?
|
|
656
|
+
h ? Ge(
|
|
650
657
|
$,
|
|
651
658
|
/*$$scope*/
|
|
652
659
|
n[19],
|
|
653
|
-
|
|
660
|
+
b,
|
|
654
661
|
li
|
|
655
662
|
) : _e(
|
|
656
663
|
/*$$scope*/
|
|
657
664
|
n[19]
|
|
658
665
|
),
|
|
659
666
|
on
|
|
660
|
-
) :
|
|
661
|
-
256) &&
|
|
667
|
+
) : w && w.p && (!h || b[0] & /*$_*/
|
|
668
|
+
256) && w.p(n, h ? b : [-1, -1]), X ? X.p && (!h || b[0] & /*$$scope*/
|
|
662
669
|
524288) && Be(
|
|
663
670
|
X,
|
|
664
671
|
ee,
|
|
665
672
|
n,
|
|
666
673
|
/*$$scope*/
|
|
667
674
|
n[19],
|
|
668
|
-
h ?
|
|
675
|
+
h ? Ge(
|
|
669
676
|
ee,
|
|
670
677
|
/*$$scope*/
|
|
671
678
|
n[19],
|
|
672
|
-
|
|
679
|
+
b,
|
|
673
680
|
ri
|
|
674
681
|
) : _e(
|
|
675
682
|
/*$$scope*/
|
|
676
683
|
n[19]
|
|
677
684
|
),
|
|
678
685
|
nn
|
|
679
|
-
) : k && k.p && (!h ||
|
|
680
|
-
384) && k.p(n, h ?
|
|
686
|
+
) : k && k.p && (!h || b[0] & /*$_, timeLeft*/
|
|
687
|
+
384) && k.p(n, h ? b : [-1, -1]);
|
|
681
688
|
let fe = x;
|
|
682
|
-
x = Te(n), x === fe ?
|
|
683
|
-
|
|
684
|
-
}), ln(), M =
|
|
689
|
+
x = Te(n), x === fe ? q[x].p(n, b) : (cn(), me(q[fe], 1, 1, () => {
|
|
690
|
+
q[fe] = null;
|
|
691
|
+
}), ln(), M = q[x], M ? M.p(n, b) : (M = q[x] = ge[x](n), M.c()), re(M, 1), M.m(O, null)), (!h || b[0] & /*showLoaderButton*/
|
|
685
692
|
64) && (O.disabled = /*showLoaderButton*/
|
|
686
693
|
n[6]);
|
|
687
694
|
},
|
|
688
695
|
i(g) {
|
|
689
|
-
h || (re(I, g), re(
|
|
696
|
+
h || (re(I, g), re(w, g), re(k, g), re(M), g && zt(() => {
|
|
690
697
|
h && (A || (A = Zt(i, Bt, { duration: (
|
|
691
698
|
/*duration*/
|
|
692
699
|
n[2]
|
|
@@ -694,13 +701,13 @@ function an(n) {
|
|
|
694
701
|
}), h = !0);
|
|
695
702
|
},
|
|
696
703
|
o(g) {
|
|
697
|
-
me(I, g), me(
|
|
704
|
+
me(I, g), me(w, g), me(k, g), me(M), g && (A || (A = Zt(i, Bt, { duration: (
|
|
698
705
|
/*duration*/
|
|
699
706
|
n[2]
|
|
700
707
|
) }, !1)), A.run(0)), h = !1;
|
|
701
708
|
},
|
|
702
709
|
d(g) {
|
|
703
|
-
g && ce(t), I && I.d(g),
|
|
710
|
+
g && ce(t), I && I.d(g), w && w.d(g), k && k.d(g), q[x].d(), n[21](null), ue(), g && A && A.end(), n[23](null), S = !1, Dn(F);
|
|
704
711
|
}
|
|
705
712
|
};
|
|
706
713
|
}
|
|
@@ -770,7 +777,7 @@ function pi(n) {
|
|
|
770
777
|
), o;
|
|
771
778
|
return {
|
|
772
779
|
c() {
|
|
773
|
-
t = Z("span"), o =
|
|
780
|
+
t = Z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationTitle");
|
|
774
781
|
},
|
|
775
782
|
m(a, r) {
|
|
776
783
|
le(a, t, r), R(t, o);
|
|
@@ -778,7 +785,7 @@ function pi(n) {
|
|
|
778
785
|
p(a, r) {
|
|
779
786
|
r[0] & /*$_*/
|
|
780
787
|
256 && i !== (i = /*$_*/
|
|
781
|
-
a[8]("sessionExpirationTitle") + "") &&
|
|
788
|
+
a[8]("sessionExpirationTitle") + "") && qe(o, i);
|
|
782
789
|
},
|
|
783
790
|
d(a) {
|
|
784
791
|
a && ce(t);
|
|
@@ -842,7 +849,7 @@ function hi(n) {
|
|
|
842
849
|
r,
|
|
843
850
|
/*$$scope*/
|
|
844
851
|
r[19],
|
|
845
|
-
t ?
|
|
852
|
+
t ? Ge(
|
|
846
853
|
i,
|
|
847
854
|
/*$$scope*/
|
|
848
855
|
r[19],
|
|
@@ -874,15 +881,15 @@ function gi(n) {
|
|
|
874
881
|
), D;
|
|
875
882
|
return {
|
|
876
883
|
c() {
|
|
877
|
-
t = Z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = Z("span"), D =
|
|
884
|
+
t = Z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = Z("span"), D = Ve(p), d(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"), d(o, "fill", "white"), d(i, "class", "CashierSessionExpirationButtonSpinner"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "14"), d(i, "viewBox", "0 0 15 14"), d(i, "fill", "none"), d(r, "class", "CashierSessionExpirationButtonText");
|
|
878
885
|
},
|
|
879
|
-
m(L,
|
|
880
|
-
le(L, t,
|
|
886
|
+
m(L, y) {
|
|
887
|
+
le(L, t, y), R(t, i), R(i, o), R(t, a), R(t, r), R(r, D);
|
|
881
888
|
},
|
|
882
|
-
p(L,
|
|
883
|
-
|
|
889
|
+
p(L, y) {
|
|
890
|
+
y[0] & /*$_*/
|
|
884
891
|
256 && p !== (p = /*$_*/
|
|
885
|
-
L[8]("sessionExpirationLoadingButton") + "") &&
|
|
892
|
+
L[8]("sessionExpirationLoadingButton") + "") && qe(D, p);
|
|
886
893
|
},
|
|
887
894
|
i: ct,
|
|
888
895
|
o: ct,
|
|
@@ -898,7 +905,7 @@ function Ti(n) {
|
|
|
898
905
|
), o;
|
|
899
906
|
return {
|
|
900
907
|
c() {
|
|
901
|
-
t = Z("span"), o =
|
|
908
|
+
t = Z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationButtonText");
|
|
902
909
|
},
|
|
903
910
|
m(a, r) {
|
|
904
911
|
le(a, t, r), R(t, o);
|
|
@@ -906,7 +913,7 @@ function Ti(n) {
|
|
|
906
913
|
p(a, r) {
|
|
907
914
|
r[0] & /*$_*/
|
|
908
915
|
256 && i !== (i = /*$_*/
|
|
909
|
-
a[8]("sessionExpirationGeneralButton") + "") &&
|
|
916
|
+
a[8]("sessionExpirationGeneralButton") + "") && qe(o, i);
|
|
910
917
|
},
|
|
911
918
|
d(a) {
|
|
912
919
|
a && ce(t);
|
|
@@ -943,16 +950,16 @@ function Ei(n) {
|
|
|
943
950
|
}
|
|
944
951
|
};
|
|
945
952
|
}
|
|
946
|
-
const
|
|
947
|
-
function
|
|
953
|
+
const Si = 90;
|
|
954
|
+
function wi(n, t, i) {
|
|
948
955
|
let o;
|
|
949
956
|
Nn(n, Un, (l) => i(8, o = l));
|
|
950
957
|
let { $$slots: a = {}, $$scope: r } = t;
|
|
951
958
|
_t.extend(zn);
|
|
952
|
-
let { clientstyling: p = "" } = t, { clientstylingurl: D = "" } = t, { width: L } = t, { height:
|
|
959
|
+
let { clientstyling: p = "" } = t, { clientstylingurl: D = "" } = t, { width: L } = t, { height: y } = t, { duration: P = 200 } = t, { assetsurl: pe = "" } = t, { lang: ie = "en" } = t, { translationurl: G = "" } = t, { endpoint: O } = t, { currency: x } = t, { customerid: M } = t, { selectedpaymentmethodname: ue } = t, A, h = !1, S = !1, F, J, V, I, $;
|
|
953
960
|
const oe = (l) => {
|
|
954
961
|
l.data.type === "StartSessionCountdown" && ($ = l.data.xPaymentSessionToken, I = l.data.paymentMethodName, ee());
|
|
955
|
-
},
|
|
962
|
+
}, w = (l) => {
|
|
956
963
|
try {
|
|
957
964
|
return JSON.parse(atob(l.split(".")[1]));
|
|
958
965
|
} catch (f) {
|
|
@@ -960,18 +967,18 @@ function Si(n, t, i) {
|
|
|
960
967
|
}
|
|
961
968
|
}, ee = () => {
|
|
962
969
|
i(5, h = !1);
|
|
963
|
-
const l =
|
|
964
|
-
l && (
|
|
970
|
+
const l = w($);
|
|
971
|
+
l && (J = l == null ? void 0 : l.exp, i(7, F = J), V && clearInterval(V), V = setInterval(
|
|
965
972
|
() => {
|
|
966
973
|
const f = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
967
|
-
i(7, F =
|
|
974
|
+
i(7, F = J - f), F <= Si && i(5, h = !0), f >= J && (i(7, F = 0), i(5, h = !1), clearInterval(V), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
968
975
|
},
|
|
969
976
|
1e3
|
|
970
977
|
));
|
|
971
978
|
}, X = () => {
|
|
972
|
-
if (
|
|
979
|
+
if (S) return;
|
|
973
980
|
const l = new URL(`${O}/v1/player/${M}/payment/GetPaymentMethod`), f = new Headers();
|
|
974
|
-
i(6,
|
|
981
|
+
i(6, S = !0), f.append("accept", "application/json"), f.append("Content-Type", "application/json"), f.append("X-Client-Request-Timestamp", _t.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
975
982
|
const K = {
|
|
976
983
|
method: "POST",
|
|
977
984
|
mode: "cors",
|
|
@@ -984,23 +991,23 @@ function Si(n, t, i) {
|
|
|
984
991
|
};
|
|
985
992
|
fetch(l, K).then((E) => E.json()).then((E) => {
|
|
986
993
|
$ = E.XPaymentSessionToken, ee();
|
|
987
|
-
}).finally(() => i(6,
|
|
994
|
+
}).finally(() => i(6, S = !1));
|
|
988
995
|
}, k = (l) => {
|
|
989
996
|
const f = l.currentTarget;
|
|
990
997
|
l.target === f && X();
|
|
991
998
|
}, ge = () => {
|
|
992
|
-
fetch(
|
|
999
|
+
fetch(G).then((f) => f.json()).then((f) => {
|
|
993
1000
|
Object.keys(f).forEach((K) => {
|
|
994
|
-
|
|
1001
|
+
Gt(K, f[K]);
|
|
995
1002
|
});
|
|
996
1003
|
}).catch((f) => {
|
|
997
1004
|
console.log(f);
|
|
998
1005
|
});
|
|
999
1006
|
};
|
|
1000
|
-
Object.keys(
|
|
1001
|
-
|
|
1007
|
+
Object.keys(Jt).forEach((l) => {
|
|
1008
|
+
Gt(l, Jt[l]);
|
|
1002
1009
|
});
|
|
1003
|
-
const
|
|
1010
|
+
const q = () => {
|
|
1004
1011
|
Hn(ie);
|
|
1005
1012
|
}, Te = () => {
|
|
1006
1013
|
let l = document.createElement("style");
|
|
@@ -1019,15 +1026,15 @@ function Si(n, t, i) {
|
|
|
1019
1026
|
Mn(() => (window.addEventListener("message", oe, !1), () => {
|
|
1020
1027
|
window.removeEventListener("message", oe);
|
|
1021
1028
|
})), kn(() => {
|
|
1022
|
-
clearInterval(
|
|
1029
|
+
clearInterval(V);
|
|
1023
1030
|
});
|
|
1024
|
-
function
|
|
1031
|
+
function b(l) {
|
|
1025
1032
|
Wt[l ? "unshift" : "push"](() => {
|
|
1026
1033
|
A = l, i(4, A);
|
|
1027
1034
|
});
|
|
1028
1035
|
}
|
|
1029
1036
|
function fe() {
|
|
1030
|
-
L = this.clientWidth,
|
|
1037
|
+
L = this.clientWidth, y = this.clientHeight, i(0, L), i(1, y);
|
|
1031
1038
|
}
|
|
1032
1039
|
function C(l) {
|
|
1033
1040
|
Wt[l ? "unshift" : "push"](() => {
|
|
@@ -1035,21 +1042,21 @@ function Si(n, t, i) {
|
|
|
1035
1042
|
});
|
|
1036
1043
|
}
|
|
1037
1044
|
return n.$$set = (l) => {
|
|
1038
|
-
"clientstyling" in l && i(11, p = l.clientstyling), "clientstylingurl" in l && i(12, D = l.clientstylingurl), "width" in l && i(0, L = l.width), "height" in l && i(1,
|
|
1045
|
+
"clientstyling" in l && i(11, p = l.clientstyling), "clientstylingurl" in l && i(12, D = l.clientstylingurl), "width" in l && i(0, L = l.width), "height" in l && i(1, y = l.height), "duration" in l && i(2, P = l.duration), "assetsurl" in l && i(3, pe = l.assetsurl), "lang" in l && i(13, ie = l.lang), "translationurl" in l && i(14, G = l.translationurl), "endpoint" in l && i(15, O = l.endpoint), "currency" in l && i(16, x = l.currency), "customerid" in l && i(17, M = l.customerid), "selectedpaymentmethodname" in l && i(18, ue = l.selectedpaymentmethodname), "$$scope" in l && i(19, r = l.$$scope);
|
|
1039
1046
|
}, n.$$.update = () => {
|
|
1040
1047
|
n.$$.dirty[0] & /*lang*/
|
|
1041
|
-
8192 && ie &&
|
|
1048
|
+
8192 && ie && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
1049
|
2064 && p && A && Te(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1043
1050
|
4112 && D && A && g(), n.$$.dirty[0] & /*translationurl*/
|
|
1044
|
-
16384 &&
|
|
1051
|
+
16384 && G && ge();
|
|
1045
1052
|
}, [
|
|
1046
1053
|
L,
|
|
1047
|
-
|
|
1054
|
+
y,
|
|
1048
1055
|
P,
|
|
1049
1056
|
pe,
|
|
1050
1057
|
A,
|
|
1051
1058
|
h,
|
|
1052
|
-
|
|
1059
|
+
S,
|
|
1053
1060
|
F,
|
|
1054
1061
|
o,
|
|
1055
1062
|
X,
|
|
@@ -1057,24 +1064,24 @@ function Si(n, t, i) {
|
|
|
1057
1064
|
p,
|
|
1058
1065
|
D,
|
|
1059
1066
|
ie,
|
|
1060
|
-
|
|
1067
|
+
G,
|
|
1061
1068
|
O,
|
|
1062
1069
|
x,
|
|
1063
1070
|
M,
|
|
1064
1071
|
ue,
|
|
1065
1072
|
r,
|
|
1066
1073
|
a,
|
|
1067
|
-
|
|
1074
|
+
b,
|
|
1068
1075
|
fe,
|
|
1069
1076
|
C
|
|
1070
1077
|
];
|
|
1071
1078
|
}
|
|
1072
|
-
class
|
|
1079
|
+
class bi extends An {
|
|
1073
1080
|
constructor(t) {
|
|
1074
1081
|
super(), Cn(
|
|
1075
1082
|
this,
|
|
1076
1083
|
t,
|
|
1077
|
-
|
|
1084
|
+
wi,
|
|
1078
1085
|
Ei,
|
|
1079
1086
|
Rn,
|
|
1080
1087
|
{
|
|
@@ -1099,76 +1106,76 @@ class yi extends An {
|
|
|
1099
1106
|
return this.$$.ctx[11];
|
|
1100
1107
|
}
|
|
1101
1108
|
set clientstyling(t) {
|
|
1102
|
-
this.$$set({ clientstyling: t }),
|
|
1109
|
+
this.$$set({ clientstyling: t }), Y();
|
|
1103
1110
|
}
|
|
1104
1111
|
get clientstylingurl() {
|
|
1105
1112
|
return this.$$.ctx[12];
|
|
1106
1113
|
}
|
|
1107
1114
|
set clientstylingurl(t) {
|
|
1108
|
-
this.$$set({ clientstylingurl: t }),
|
|
1115
|
+
this.$$set({ clientstylingurl: t }), Y();
|
|
1109
1116
|
}
|
|
1110
1117
|
get width() {
|
|
1111
1118
|
return this.$$.ctx[0];
|
|
1112
1119
|
}
|
|
1113
1120
|
set width(t) {
|
|
1114
|
-
this.$$set({ width: t }),
|
|
1121
|
+
this.$$set({ width: t }), Y();
|
|
1115
1122
|
}
|
|
1116
1123
|
get height() {
|
|
1117
1124
|
return this.$$.ctx[1];
|
|
1118
1125
|
}
|
|
1119
1126
|
set height(t) {
|
|
1120
|
-
this.$$set({ height: t }),
|
|
1127
|
+
this.$$set({ height: t }), Y();
|
|
1121
1128
|
}
|
|
1122
1129
|
get duration() {
|
|
1123
1130
|
return this.$$.ctx[2];
|
|
1124
1131
|
}
|
|
1125
1132
|
set duration(t) {
|
|
1126
|
-
this.$$set({ duration: t }),
|
|
1133
|
+
this.$$set({ duration: t }), Y();
|
|
1127
1134
|
}
|
|
1128
1135
|
get assetsurl() {
|
|
1129
1136
|
return this.$$.ctx[3];
|
|
1130
1137
|
}
|
|
1131
1138
|
set assetsurl(t) {
|
|
1132
|
-
this.$$set({ assetsurl: t }),
|
|
1139
|
+
this.$$set({ assetsurl: t }), Y();
|
|
1133
1140
|
}
|
|
1134
1141
|
get lang() {
|
|
1135
1142
|
return this.$$.ctx[13];
|
|
1136
1143
|
}
|
|
1137
1144
|
set lang(t) {
|
|
1138
|
-
this.$$set({ lang: t }),
|
|
1145
|
+
this.$$set({ lang: t }), Y();
|
|
1139
1146
|
}
|
|
1140
1147
|
get translationurl() {
|
|
1141
1148
|
return this.$$.ctx[14];
|
|
1142
1149
|
}
|
|
1143
1150
|
set translationurl(t) {
|
|
1144
|
-
this.$$set({ translationurl: t }),
|
|
1151
|
+
this.$$set({ translationurl: t }), Y();
|
|
1145
1152
|
}
|
|
1146
1153
|
get endpoint() {
|
|
1147
1154
|
return this.$$.ctx[15];
|
|
1148
1155
|
}
|
|
1149
1156
|
set endpoint(t) {
|
|
1150
|
-
this.$$set({ endpoint: t }),
|
|
1157
|
+
this.$$set({ endpoint: t }), Y();
|
|
1151
1158
|
}
|
|
1152
1159
|
get currency() {
|
|
1153
1160
|
return this.$$.ctx[16];
|
|
1154
1161
|
}
|
|
1155
1162
|
set currency(t) {
|
|
1156
|
-
this.$$set({ currency: t }),
|
|
1163
|
+
this.$$set({ currency: t }), Y();
|
|
1157
1164
|
}
|
|
1158
1165
|
get customerid() {
|
|
1159
1166
|
return this.$$.ctx[17];
|
|
1160
1167
|
}
|
|
1161
1168
|
set customerid(t) {
|
|
1162
|
-
this.$$set({ customerid: t }),
|
|
1169
|
+
this.$$set({ customerid: t }), Y();
|
|
1163
1170
|
}
|
|
1164
1171
|
get selectedpaymentmethodname() {
|
|
1165
1172
|
return this.$$.ctx[18];
|
|
1166
1173
|
}
|
|
1167
1174
|
set selectedpaymentmethodname(t) {
|
|
1168
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
1175
|
+
this.$$set({ selectedpaymentmethodname: t }), Y();
|
|
1169
1176
|
}
|
|
1170
1177
|
}
|
|
1171
|
-
On(
|
|
1178
|
+
On(bi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1172
1179
|
export {
|
|
1173
|
-
|
|
1180
|
+
bi as default
|
|
1174
1181
|
};
|