@everymatrix/cashier-page 1.93.65 → 1.93.75
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/{CashierMethodDetails-CyiT2xsa.js → CashierMethodDetails-B80VNj_D.js} +652 -632
- package/components/{CashierMethodDetails-p9l4Iluu.cjs → CashierMethodDetails-DL0E2K7D.cjs} +4 -4
- package/components/{CashierMethodDetails-vTXZEUgh.js → CashierMethodDetails-DOxjgBPP.js} +468 -448
- package/components/{CashierMethodsList-By3SBa7K.js → CashierMethodsList-AGyi-1WS.js} +378 -355
- package/components/{CashierMethodsList-CZdQjuPQ.js → CashierMethodsList-BMD1_XUn.js} +303 -308
- package/components/CashierMethodsList-DhXCE9bn.cjs +1 -0
- package/components/{CashierPage-CBLhCGtM.js → CashierPage-Cl1B-pXl.js} +39 -6
- package/components/{CashierPage-ChksZ7x2.js → CashierPage-wnVVxtWE.js} +39 -6
- package/components/CashierPage-z3O2UFl5.cjs +1 -0
- package/components/{CashierReceiptPage-C9vc8Tdq.js → CashierReceiptPage-DIbzZT8o.js} +2 -2
- package/components/{CashierReceiptPage-D7uA7grn.cjs → CashierReceiptPage-DjD6wuB3.cjs} +1 -1
- package/components/{CashierReceiptPage-DiyMd0oq.js → CashierReceiptPage-HK4kGpqY.js} +2 -2
- package/components/{CashierSessionExpirationModal-DsVCou9W.js → CashierSessionExpirationModal-BI0TSNVV.js} +416 -408
- package/components/{CashierSessionExpirationModal-u83AoXvo.js → CashierSessionExpirationModal-C6eNs52S.js} +402 -394
- package/components/CashierSessionExpirationModal-kmyaKGHm.cjs +2 -0
- package/components/{CashierTransactionHistory-Dx7mVKOh.cjs → CashierTransactionHistory-CXBAT5C2.cjs} +1 -1
- package/components/{CashierTransactionHistory-Dd5ydbYM.js → CashierTransactionHistory-CXUPvjmQ.js} +2 -2
- package/components/{CashierTransactionHistory-JR1DrsVh.js → CashierTransactionHistory-CnmFGuup.js} +2 -2
- package/components/{CashierVerifications-C_73oFvm.cjs → CashierVerifications-C_dhaXxc.cjs} +1 -1
- package/components/{CashierVerifications-clMzLemr.js → CashierVerifications-DqJGumEc.js} +166 -158
- package/components/{CashierVerifications-0enYZZLD.js → CashierVerifications-fkBvQqBz.js} +164 -156
- 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/CashierMethodsList-CUErZLfD.cjs +0 -1
- package/components/CashierPage-9HFOkmPt.cjs +0 -1
- package/components/CashierSessionExpirationModal-TeGdT9SY.cjs +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Cn, $ as vn, i as Ln, b as Mn, c as Rn, S as kn, d as On, s as Dn, f as
|
|
2
|
-
import { a as Yt } from "./CashierPage-
|
|
3
|
-
import { d as jt, u as Yn, x as Xt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Cn, $ as vn, i as Ln, b as Mn, c as Rn, S as kn, d as On, s as Dn, f as X, e as Nn, h as Me, t as Ce, j as ye, a6 as fn, a7 as mn, m as Re, o as M, r as Ut, v as In, ag as Fn, g as et, a2 as Pn, aa as Bt, L as zt, x as We, u as tt, k as nt, l as it, q as u, n as p, a8 as Un, z as Ke, X as oe, p as be, y as Ye, A as Ht, w as Bn, H as Gt, B as Wt, D as zn, E as Hn, F as Gn, G as Wn } from "./CashierCarousel-CwYg_hFh.js";
|
|
2
|
+
import { a as Yt } from "./CashierPage-Cl1B-pXl.js";
|
|
3
|
+
import { d as jt, u as Yn, x as Xt } from "./CashierMethodDetails-B80VNj_D.js";
|
|
4
4
|
const je = typeof window != "undefined" && window.__EMWCashierI18n || { dictionary: Rn, locale: Mn, init: Ln, addMessages: Cn, format: vn };
|
|
5
5
|
typeof window != "undefined" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = je);
|
|
6
6
|
const jn = je.format;
|
|
@@ -72,7 +72,7 @@ const {
|
|
|
72
72
|
} = Object;
|
|
73
73
|
let {
|
|
74
74
|
freeze: B,
|
|
75
|
-
seal:
|
|
75
|
+
seal: ne,
|
|
76
76
|
create: dn
|
|
77
77
|
} = Object, {
|
|
78
78
|
apply: ht,
|
|
@@ -81,7 +81,7 @@ let {
|
|
|
81
81
|
B || (B = function(t) {
|
|
82
82
|
return t;
|
|
83
83
|
});
|
|
84
|
-
|
|
84
|
+
ne || (ne = function(t) {
|
|
85
85
|
return t;
|
|
86
86
|
});
|
|
87
87
|
ht || (ht = function(t, i, o) {
|
|
@@ -90,11 +90,11 @@ ht || (ht = function(t, i, o) {
|
|
|
90
90
|
gt || (gt = function(t, i) {
|
|
91
91
|
return new t(...i);
|
|
92
92
|
});
|
|
93
|
-
const Qe = J(Array.prototype.forEach), Jt = J(Array.prototype.pop), Ue = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ut = J(String.prototype.toString), Kt = J(String.prototype.match), Be = J(String.prototype.replace), Jn = J(String.prototype.indexOf), Kn = J(String.prototype.trim),
|
|
93
|
+
const Qe = J(Array.prototype.forEach), Jt = J(Array.prototype.pop), Ue = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ut = J(String.prototype.toString), Kt = J(String.prototype.match), Be = J(String.prototype.replace), Jn = J(String.prototype.indexOf), Kn = J(String.prototype.trim), se = J(Object.prototype.hasOwnProperty), U = J(RegExp.prototype.test), ze = Qn(TypeError);
|
|
94
94
|
function J(n) {
|
|
95
95
|
return function(t) {
|
|
96
|
-
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0),
|
|
97
|
-
o[
|
|
96
|
+
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
97
|
+
o[a - 1] = arguments[a];
|
|
98
98
|
return ht(n, t, o);
|
|
99
99
|
};
|
|
100
100
|
}
|
|
@@ -110,24 +110,24 @@ function d(n, t) {
|
|
|
110
110
|
Zt && Zt(n, null);
|
|
111
111
|
let o = t.length;
|
|
112
112
|
for (; o--; ) {
|
|
113
|
-
let
|
|
114
|
-
if (typeof
|
|
115
|
-
const f = i(
|
|
116
|
-
f !==
|
|
113
|
+
let a = t[o];
|
|
114
|
+
if (typeof a == "string") {
|
|
115
|
+
const f = i(a);
|
|
116
|
+
f !== a && (Vn(t) || (t[o] = f), a = f);
|
|
117
117
|
}
|
|
118
|
-
n[
|
|
118
|
+
n[a] = !0;
|
|
119
119
|
}
|
|
120
120
|
return n;
|
|
121
121
|
}
|
|
122
122
|
function $n(n) {
|
|
123
123
|
for (let t = 0; t < n.length; t++)
|
|
124
|
-
|
|
124
|
+
se(n, t) || (n[t] = null);
|
|
125
125
|
return n;
|
|
126
126
|
}
|
|
127
127
|
function Le(n) {
|
|
128
128
|
const t = dn(null);
|
|
129
129
|
for (const [i, o] of pn(n))
|
|
130
|
-
|
|
130
|
+
se(n, i) && (Array.isArray(o) ? t[i] = $n(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
|
|
131
131
|
return t;
|
|
132
132
|
}
|
|
133
133
|
function He(n, t) {
|
|
@@ -146,13 +146,13 @@ function He(n, t) {
|
|
|
146
146
|
}
|
|
147
147
|
return i;
|
|
148
148
|
}
|
|
149
|
-
const Qt = B(["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"]), ft = B(["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"]), mt = B(["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"]), ei = B(["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"]), pt = B(["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"]), ti = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $t = B(["#text"]), en = B(["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"]), dt = B(["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"]), tn = B(["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"]), $e = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ni =
|
|
149
|
+
const Qt = B(["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"]), ft = B(["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"]), mt = B(["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"]), ei = B(["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"]), pt = B(["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"]), ti = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $t = B(["#text"]), en = B(["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"]), dt = B(["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"]), tn = B(["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"]), $e = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ni = ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ii = ne(/<%[\w\W]*|[\w\W]*%>/gm), oi = ne(/\${[\w\W]*}/gm), si = ne(/^data-[\-\w.\u00B7-\uFFFF]/), ri = ne(/^aria-[\-\w]+$/), hn = ne(
|
|
150
150
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
151
151
|
// eslint-disable-line no-useless-escape
|
|
152
|
-
), ai =
|
|
152
|
+
), ai = ne(/^(?:\w+script|data):/i), li = ne(
|
|
153
153
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
154
154
|
// eslint-disable-line no-control-regex
|
|
155
|
-
), gn =
|
|
155
|
+
), gn = ne(/^html$/i), ci = ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
156
156
|
var nn = /* @__PURE__ */ Object.freeze({
|
|
157
157
|
__proto__: null,
|
|
158
158
|
MUSTACHE_EXPR: ni,
|
|
@@ -179,19 +179,19 @@ const Ge = {
|
|
|
179
179
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
180
180
|
return null;
|
|
181
181
|
let o = null;
|
|
182
|
-
const
|
|
183
|
-
i && i.hasAttribute(
|
|
182
|
+
const a = "data-tt-policy-suffix";
|
|
183
|
+
i && i.hasAttribute(a) && (o = i.getAttribute(a));
|
|
184
184
|
const f = "dompurify" + (o ? "#" + o : "");
|
|
185
185
|
try {
|
|
186
186
|
return t.createPolicy(f, {
|
|
187
|
-
createHTML(
|
|
188
|
-
return
|
|
187
|
+
createHTML(h) {
|
|
188
|
+
return h;
|
|
189
189
|
},
|
|
190
|
-
createScriptURL(
|
|
191
|
-
return
|
|
190
|
+
createScriptURL(h) {
|
|
191
|
+
return h;
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
|
-
} catch (
|
|
194
|
+
} catch (h) {
|
|
195
195
|
return console.warn("TrustedTypes policy " + f + " could not be created."), null;
|
|
196
196
|
}
|
|
197
197
|
};
|
|
@@ -203,49 +203,49 @@ function En() {
|
|
|
203
203
|
let {
|
|
204
204
|
document: i
|
|
205
205
|
} = n;
|
|
206
|
-
const o = i,
|
|
206
|
+
const o = i, a = o.currentScript, {
|
|
207
207
|
DocumentFragment: f,
|
|
208
|
-
HTMLTemplateElement:
|
|
209
|
-
Node:
|
|
210
|
-
Element:
|
|
211
|
-
NodeFilter:
|
|
212
|
-
NamedNodeMap:
|
|
213
|
-
HTMLFormElement:
|
|
214
|
-
DOMParser:
|
|
208
|
+
HTMLTemplateElement: h,
|
|
209
|
+
Node: A,
|
|
210
|
+
Element: T,
|
|
211
|
+
NodeFilter: E,
|
|
212
|
+
NamedNodeMap: V = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
213
|
+
HTMLFormElement: ie,
|
|
214
|
+
DOMParser: ve,
|
|
215
215
|
trustedTypes: z
|
|
216
|
-
} = n, H =
|
|
217
|
-
if (typeof
|
|
216
|
+
} = n, H = T.prototype, Se = He(H, "cloneNode"), re = He(H, "remove"), G = He(H, "nextSibling"), me = He(H, "childNodes"), K = He(H, "parentNode");
|
|
217
|
+
if (typeof h == "function") {
|
|
218
218
|
const c = i.createElement("template");
|
|
219
219
|
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
220
220
|
}
|
|
221
|
-
let
|
|
221
|
+
let S, g = "";
|
|
222
222
|
const {
|
|
223
|
-
implementation:
|
|
224
|
-
createNodeIterator:
|
|
225
|
-
createDocumentFragment:
|
|
226
|
-
getElementsByTagName:
|
|
223
|
+
implementation: Q,
|
|
224
|
+
createNodeIterator: pe,
|
|
225
|
+
createDocumentFragment: ae,
|
|
226
|
+
getElementsByTagName: q
|
|
227
227
|
} = i, {
|
|
228
|
-
importNode:
|
|
228
|
+
importNode: W
|
|
229
229
|
} = o;
|
|
230
|
-
let
|
|
231
|
-
t.isSupported = typeof pn == "function" && typeof K == "function" &&
|
|
230
|
+
let R = {};
|
|
231
|
+
t.isSupported = typeof pn == "function" && typeof K == "function" && Q && Q.createHTMLDocument !== void 0;
|
|
232
232
|
const {
|
|
233
|
-
MUSTACHE_EXPR:
|
|
234
|
-
ERB_EXPR:
|
|
235
|
-
TMPLIT_EXPR:
|
|
236
|
-
DATA_ATTR:
|
|
233
|
+
MUSTACHE_EXPR: $,
|
|
234
|
+
ERB_EXPR: de,
|
|
235
|
+
TMPLIT_EXPR: ee,
|
|
236
|
+
DATA_ATTR: Z,
|
|
237
237
|
ARIA_ATTR: D,
|
|
238
238
|
IS_SCRIPT_OR_DATA: I,
|
|
239
|
-
ATTR_WHITESPACE:
|
|
240
|
-
CUSTOM_ELEMENT:
|
|
239
|
+
ATTR_WHITESPACE: he,
|
|
240
|
+
CUSTOM_ELEMENT: ge
|
|
241
241
|
} = nn;
|
|
242
242
|
let {
|
|
243
|
-
IS_ALLOWED_URI:
|
|
243
|
+
IS_ALLOWED_URI: Y
|
|
244
244
|
} = nn, m = null;
|
|
245
|
-
const
|
|
246
|
-
let
|
|
247
|
-
const
|
|
248
|
-
let
|
|
245
|
+
const xe = d({}, [...Qt, ...ft, ...mt, ...pt, ...$t]);
|
|
246
|
+
let C = null;
|
|
247
|
+
const Ae = d({}, [...en, ...dt, ...tn, ...$e]);
|
|
248
|
+
let _ = Object.seal(dn(null, {
|
|
249
249
|
tagNameCheck: {
|
|
250
250
|
writable: !0,
|
|
251
251
|
configurable: !1,
|
|
@@ -264,16 +264,16 @@ function En() {
|
|
|
264
264
|
enumerable: !0,
|
|
265
265
|
value: !1
|
|
266
266
|
}
|
|
267
|
-
})), L = null,
|
|
267
|
+
})), L = null, Ee = null, r = !0, w = !0, F = !1, b = !0, _e = !1, te = !0, le = !1, x = !1, v = !1, ce = !1, Xe = !1, Ve = !1, Et = !0, _t = !1;
|
|
268
268
|
const _n = "user-content-";
|
|
269
269
|
let st = !0, Ie = !1, ke = {}, Oe = null;
|
|
270
270
|
const Tt = d({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
271
271
|
let wt = null;
|
|
272
272
|
const bt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
273
273
|
let rt = null;
|
|
274
|
-
const yt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), qe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg",
|
|
275
|
-
let De =
|
|
276
|
-
const Tn = d({}, [qe, Ze,
|
|
274
|
+
const yt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), qe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml";
|
|
275
|
+
let De = Te, at = !1, lt = null;
|
|
276
|
+
const Tn = d({}, [qe, Ze, Te], ut);
|
|
277
277
|
let Fe = null;
|
|
278
278
|
const wn = ["application/xhtml+xml", "text/html"], bn = "text/html";
|
|
279
279
|
let k = null, Ne = null;
|
|
@@ -283,28 +283,28 @@ function En() {
|
|
|
283
283
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
284
284
|
if (!(Ne && Ne === e)) {
|
|
285
285
|
if ((!e || typeof e != "object") && (e = {}), e = Le(e), Fe = // eslint-disable-next-line unicorn/prefer-includes
|
|
286
|
-
wn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Fe === "application/xhtml+xml" ? ut : ot, m =
|
|
286
|
+
wn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, k = Fe === "application/xhtml+xml" ? ut : ot, m = se(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : xe, C = se(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : Ae, lt = se(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ut) : Tn, rt = se(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
287
287
|
Le(yt),
|
|
288
288
|
// eslint-disable-line indent
|
|
289
289
|
e.ADD_URI_SAFE_ATTR,
|
|
290
290
|
// eslint-disable-line indent
|
|
291
291
|
k
|
|
292
292
|
// eslint-disable-line indent
|
|
293
|
-
) : yt, wt =
|
|
293
|
+
) : yt, wt = se(e, "ADD_DATA_URI_TAGS") ? d(
|
|
294
294
|
Le(bt),
|
|
295
295
|
// eslint-disable-line indent
|
|
296
296
|
e.ADD_DATA_URI_TAGS,
|
|
297
297
|
// eslint-disable-line indent
|
|
298
298
|
k
|
|
299
299
|
// eslint-disable-line indent
|
|
300
|
-
) : bt, Oe =
|
|
300
|
+
) : bt, Oe = se(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Tt, L = se(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, Ee = se(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = se(e, "USE_PROFILES") ? e.USE_PROFILES : !1, r = e.ALLOW_ARIA_ATTR !== !1, w = e.ALLOW_DATA_ATTR !== !1, F = e.ALLOW_UNKNOWN_PROTOCOLS || !1, b = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, te = e.SAFE_FOR_XML !== !1, le = e.WHOLE_DOCUMENT || !1, ce = e.RETURN_DOM || !1, Xe = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, v = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, st = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, Y = e.ALLOWED_URI_REGEXP || hn, De = e.NAMESPACE || Te, _ = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (_.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (_.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (_.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (w = !1), Xe && (ce = !0), ke && (m = d({}, $t), C = [], ke.html === !0 && (d(m, Qt), d(C, en)), ke.svg === !0 && (d(m, ft), d(C, dt), d(C, $e)), ke.svgFilters === !0 && (d(m, mt), d(C, dt), d(C, $e)), ke.mathMl === !0 && (d(m, pt), d(C, tn), d(C, $e))), e.ADD_TAGS && (m === xe && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (C === Ae && (C = Le(C)), d(C, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(rt, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Tt && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), st && (m["#text"] = !0), le && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
301
301
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
302
302
|
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
303
303
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
304
304
|
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
305
|
-
|
|
305
|
+
S = e.TRUSTED_TYPES_POLICY, g = S.createHTML("");
|
|
306
306
|
} else
|
|
307
|
-
|
|
307
|
+
S === void 0 && (S = fi(z, a)), S !== null && typeof g == "string" && (g = S.createHTML(""));
|
|
308
308
|
B && B(e), Ne = e;
|
|
309
309
|
}
|
|
310
310
|
}, xt = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), Sn = d({}, ["title", "style", "font", "a", "script"]), Ct = d({}, [...ft, ...mt, ...ei]), vt = d({}, [...pt, ...ti]), xn = function(e) {
|
|
@@ -313,16 +313,16 @@ function En() {
|
|
|
313
313
|
namespaceURI: De,
|
|
314
314
|
tagName: "template"
|
|
315
315
|
});
|
|
316
|
-
const l = ot(e.tagName),
|
|
317
|
-
return lt[e.namespaceURI] ? e.namespaceURI === Ze ? s.namespaceURI ===
|
|
318
|
-
},
|
|
316
|
+
const l = ot(e.tagName), y = ot(s.tagName);
|
|
317
|
+
return lt[e.namespaceURI] ? e.namespaceURI === Ze ? s.namespaceURI === Te ? l === "svg" : s.namespaceURI === qe ? l === "svg" && (y === "annotation-xml" || xt[y]) : !!Ct[l] : e.namespaceURI === qe ? s.namespaceURI === Te ? l === "math" : s.namespaceURI === Ze ? l === "math" && At[y] : !!vt[l] : e.namespaceURI === Te ? s.namespaceURI === Ze && !At[y] || s.namespaceURI === qe && !xt[y] ? !1 : !vt[l] && (Sn[l] || !Ct[l]) : !!(Fe === "application/xhtml+xml" && lt[e.namespaceURI]) : !1;
|
|
318
|
+
}, ue = function(e) {
|
|
319
319
|
Ue(t.removed, {
|
|
320
320
|
element: e
|
|
321
321
|
});
|
|
322
322
|
try {
|
|
323
323
|
K(e).removeChild(e);
|
|
324
324
|
} catch (s) {
|
|
325
|
-
|
|
325
|
+
re(e);
|
|
326
326
|
}
|
|
327
327
|
}, Je = function(e, s) {
|
|
328
328
|
try {
|
|
@@ -336,10 +336,10 @@ function En() {
|
|
|
336
336
|
from: s
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
if (s.removeAttribute(e), e === "is" && !
|
|
340
|
-
if (
|
|
339
|
+
if (s.removeAttribute(e), e === "is" && !C[e])
|
|
340
|
+
if (ce || Xe)
|
|
341
341
|
try {
|
|
342
|
-
|
|
342
|
+
ue(s);
|
|
343
343
|
} catch (l) {
|
|
344
344
|
}
|
|
345
345
|
else
|
|
@@ -349,93 +349,93 @@ function En() {
|
|
|
349
349
|
}
|
|
350
350
|
}, Lt = function(e) {
|
|
351
351
|
let s = null, l = null;
|
|
352
|
-
if (
|
|
352
|
+
if (v)
|
|
353
353
|
e = "<remove></remove>" + e;
|
|
354
354
|
else {
|
|
355
355
|
const O = Kt(e, /^[\r\n\t ]+/);
|
|
356
356
|
l = O && O[0];
|
|
357
357
|
}
|
|
358
|
-
Fe === "application/xhtml+xml" && De ===
|
|
359
|
-
const
|
|
360
|
-
if (De ===
|
|
358
|
+
Fe === "application/xhtml+xml" && De === Te && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
359
|
+
const y = S ? S.createHTML(e) : e;
|
|
360
|
+
if (De === Te)
|
|
361
361
|
try {
|
|
362
|
-
s = new
|
|
362
|
+
s = new ve().parseFromString(y, Fe);
|
|
363
363
|
} catch (O) {
|
|
364
364
|
}
|
|
365
365
|
if (!s || !s.documentElement) {
|
|
366
|
-
s =
|
|
366
|
+
s = Q.createDocument(De, "template", null);
|
|
367
367
|
try {
|
|
368
|
-
s.documentElement.innerHTML = at ?
|
|
368
|
+
s.documentElement.innerHTML = at ? g : y;
|
|
369
369
|
} catch (O) {
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
const N = s.body || s.documentElement;
|
|
373
|
-
return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De ===
|
|
373
|
+
return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De === Te ? q.call(s, le ? "html" : "body")[0] : le ? s.documentElement : N;
|
|
374
374
|
}, Mt = function(e) {
|
|
375
|
-
return
|
|
375
|
+
return pe.call(
|
|
376
376
|
e.ownerDocument || e,
|
|
377
377
|
e,
|
|
378
378
|
// eslint-disable-next-line no-bitwise
|
|
379
|
-
|
|
379
|
+
E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
|
|
380
380
|
null
|
|
381
381
|
);
|
|
382
382
|
}, Rt = function(e) {
|
|
383
|
-
return e instanceof
|
|
383
|
+
return e instanceof ie && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof V) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
384
384
|
}, kt = function(e) {
|
|
385
|
-
return typeof
|
|
386
|
-
},
|
|
387
|
-
|
|
388
|
-
|
|
385
|
+
return typeof A == "function" && e instanceof A;
|
|
386
|
+
}, we = function(e, s, l) {
|
|
387
|
+
R[e] && Qe(R[e], (y) => {
|
|
388
|
+
y.call(t, s, l, Ne);
|
|
389
389
|
});
|
|
390
390
|
}, Ot = function(e) {
|
|
391
391
|
let s = null;
|
|
392
|
-
if (
|
|
393
|
-
return
|
|
392
|
+
if (we("beforeSanitizeElements", e, null), Rt(e))
|
|
393
|
+
return ue(e), !0;
|
|
394
394
|
const l = k(e.nodeName);
|
|
395
|
-
if (
|
|
395
|
+
if (we("uponSanitizeElement", e, {
|
|
396
396
|
tagName: l,
|
|
397
397
|
allowedTags: m
|
|
398
|
-
}), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction ||
|
|
399
|
-
return
|
|
398
|
+
}), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || te && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
|
|
399
|
+
return ue(e), !0;
|
|
400
400
|
if (!m[l] || L[l]) {
|
|
401
|
-
if (!L[l] && Nt(l) && (
|
|
401
|
+
if (!L[l] && Nt(l) && (_.tagNameCheck instanceof RegExp && U(_.tagNameCheck, l) || _.tagNameCheck instanceof Function && _.tagNameCheck(l)))
|
|
402
402
|
return !1;
|
|
403
403
|
if (st && !Oe[l]) {
|
|
404
|
-
const
|
|
405
|
-
if (N &&
|
|
404
|
+
const y = K(e) || e.parentNode, N = me(e) || e.childNodes;
|
|
405
|
+
if (N && y) {
|
|
406
406
|
const O = N.length;
|
|
407
407
|
for (let j = O - 1; j >= 0; --j) {
|
|
408
|
-
const
|
|
409
|
-
|
|
408
|
+
const fe = Se(N[j], !0);
|
|
409
|
+
fe.__removalCount = (e.__removalCount || 0) + 1, y.insertBefore(fe, G(e));
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
return
|
|
413
|
+
return ue(e), !0;
|
|
414
414
|
}
|
|
415
|
-
return e instanceof
|
|
416
|
-
s = Be(s,
|
|
415
|
+
return e instanceof T && !xn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ue(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Qe([$, de, ee], (y) => {
|
|
416
|
+
s = Be(s, y, " ");
|
|
417
417
|
}), e.textContent !== s && (Ue(t.removed, {
|
|
418
418
|
element: e.cloneNode()
|
|
419
|
-
}), e.textContent = s)),
|
|
419
|
+
}), e.textContent = s)), we("afterSanitizeElements", e, null), !1);
|
|
420
420
|
}, Dt = function(e, s, l) {
|
|
421
421
|
if (Et && (s === "id" || s === "name") && (l in i || l in yn))
|
|
422
422
|
return !1;
|
|
423
|
-
if (!(
|
|
424
|
-
if (!(
|
|
425
|
-
if (!
|
|
423
|
+
if (!(w && !Ee[s] && U(Z, s))) {
|
|
424
|
+
if (!(r && U(D, s))) {
|
|
425
|
+
if (!C[s] || Ee[s]) {
|
|
426
426
|
if (
|
|
427
427
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
428
428
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
429
429
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
430
|
-
!(Nt(e) && (
|
|
430
|
+
!(Nt(e) && (_.tagNameCheck instanceof RegExp && U(_.tagNameCheck, e) || _.tagNameCheck instanceof Function && _.tagNameCheck(e)) && (_.attributeNameCheck instanceof RegExp && U(_.attributeNameCheck, s) || _.attributeNameCheck instanceof Function && _.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
431
431
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
432
|
-
s === "is" &&
|
|
432
|
+
s === "is" && _.allowCustomizedBuiltInElements && (_.tagNameCheck instanceof RegExp && U(_.tagNameCheck, l) || _.tagNameCheck instanceof Function && _.tagNameCheck(l)))
|
|
433
433
|
)
|
|
434
434
|
return !1;
|
|
435
435
|
} else if (!rt[s]) {
|
|
436
|
-
if (!U(
|
|
436
|
+
if (!U(Y, Be(l, he, ""))) {
|
|
437
437
|
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Jn(l, "data:") === 0 && wt[e])) {
|
|
438
|
-
if (!(
|
|
438
|
+
if (!(F && !U(I, Be(l, he, "")))) {
|
|
439
439
|
if (l)
|
|
440
440
|
return !1;
|
|
441
441
|
}
|
|
@@ -446,9 +446,9 @@ function En() {
|
|
|
446
446
|
}
|
|
447
447
|
return !0;
|
|
448
448
|
}, Nt = function(e) {
|
|
449
|
-
return e !== "annotation-xml" && Kt(e,
|
|
449
|
+
return e !== "annotation-xml" && Kt(e, ge);
|
|
450
450
|
}, It = function(e) {
|
|
451
|
-
|
|
451
|
+
we("beforeSanitizeAttributes", e, null);
|
|
452
452
|
const {
|
|
453
453
|
attributes: s
|
|
454
454
|
} = e;
|
|
@@ -458,58 +458,58 @@ function En() {
|
|
|
458
458
|
attrName: "",
|
|
459
459
|
attrValue: "",
|
|
460
460
|
keepAttr: !0,
|
|
461
|
-
allowedAttributes:
|
|
461
|
+
allowedAttributes: C
|
|
462
462
|
};
|
|
463
|
-
let
|
|
464
|
-
for (;
|
|
465
|
-
const N = s[
|
|
463
|
+
let y = s.length;
|
|
464
|
+
for (; y--; ) {
|
|
465
|
+
const N = s[y], {
|
|
466
466
|
name: O,
|
|
467
467
|
namespaceURI: j,
|
|
468
|
-
value:
|
|
468
|
+
value: fe
|
|
469
469
|
} = N, Pe = k(O);
|
|
470
|
-
let P = O === "value" ?
|
|
471
|
-
if (l.attrName = Pe, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0,
|
|
470
|
+
let P = O === "value" ? fe : Kn(fe);
|
|
471
|
+
if (l.attrName = Pe, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, we("uponSanitizeAttribute", e, l), P = l.attrValue, te && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
472
472
|
Je(O, e);
|
|
473
473
|
continue;
|
|
474
474
|
}
|
|
475
475
|
if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
|
|
476
476
|
continue;
|
|
477
|
-
if (!
|
|
477
|
+
if (!b && U(/\/>/i, P)) {
|
|
478
478
|
Je(O, e);
|
|
479
479
|
continue;
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
_e && Qe([$, de, ee], (Pt) => {
|
|
482
482
|
P = Be(P, Pt, " ");
|
|
483
483
|
});
|
|
484
484
|
const Ft = k(e.nodeName);
|
|
485
485
|
if (Dt(Ft, Pe, P)) {
|
|
486
|
-
if (_t && (Pe === "id" || Pe === "name") && (Je(O, e), P = _n + P),
|
|
486
|
+
if (_t && (Pe === "id" || Pe === "name") && (Je(O, e), P = _n + P), S && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
|
|
487
487
|
switch (z.getAttributeType(Ft, Pe)) {
|
|
488
488
|
case "TrustedHTML": {
|
|
489
|
-
P =
|
|
489
|
+
P = S.createHTML(P);
|
|
490
490
|
break;
|
|
491
491
|
}
|
|
492
492
|
case "TrustedScriptURL": {
|
|
493
|
-
P =
|
|
493
|
+
P = S.createScriptURL(P);
|
|
494
494
|
break;
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
try {
|
|
498
|
-
j ? e.setAttributeNS(j, O, P) : e.setAttribute(O, P), Rt(e) ?
|
|
498
|
+
j ? e.setAttributeNS(j, O, P) : e.setAttribute(O, P), Rt(e) ? ue(e) : Jt(t.removed);
|
|
499
499
|
} catch (Pt) {
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
|
|
503
|
+
we("afterSanitizeAttributes", e, null);
|
|
504
504
|
}, An = function c(e) {
|
|
505
505
|
let s = null;
|
|
506
506
|
const l = Mt(e);
|
|
507
|
-
for (
|
|
508
|
-
|
|
509
|
-
|
|
507
|
+
for (we("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
508
|
+
we("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), It(s));
|
|
509
|
+
we("afterSanitizeShadowDOM", e, null);
|
|
510
510
|
};
|
|
511
511
|
return t.sanitize = function(c) {
|
|
512
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null,
|
|
512
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, y = null, N = null;
|
|
513
513
|
if (at = !c, at && (c = "<!-->"), typeof c != "string" && !kt(c))
|
|
514
514
|
if (typeof c.toString == "function") {
|
|
515
515
|
if (c = c.toString(), typeof c != "string")
|
|
@@ -518,58 +518,58 @@ function En() {
|
|
|
518
518
|
throw ze("toString is not a function");
|
|
519
519
|
if (!t.isSupported)
|
|
520
520
|
return c;
|
|
521
|
-
if (
|
|
521
|
+
if (x || ct(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
522
522
|
if (c.nodeName) {
|
|
523
|
-
const
|
|
524
|
-
if (!m[
|
|
523
|
+
const fe = k(c.nodeName);
|
|
524
|
+
if (!m[fe] || L[fe])
|
|
525
525
|
throw ze("root node is forbidden and cannot be sanitized in-place");
|
|
526
526
|
}
|
|
527
|
-
} else if (c instanceof
|
|
527
|
+
} else if (c instanceof A)
|
|
528
528
|
s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
529
529
|
else {
|
|
530
|
-
if (!
|
|
530
|
+
if (!ce && !_e && !le && // eslint-disable-next-line unicorn/prefer-includes
|
|
531
531
|
c.indexOf("<") === -1)
|
|
532
|
-
return
|
|
532
|
+
return S && Ve ? S.createHTML(c) : c;
|
|
533
533
|
if (s = Lt(c), !s)
|
|
534
|
-
return
|
|
534
|
+
return ce ? null : Ve ? g : "";
|
|
535
535
|
}
|
|
536
|
-
s &&
|
|
536
|
+
s && v && ue(s.firstChild);
|
|
537
537
|
const O = Mt(Ie ? c : s);
|
|
538
|
-
for (;
|
|
539
|
-
Ot(
|
|
538
|
+
for (; y = O.nextNode(); )
|
|
539
|
+
Ot(y) || (y.content instanceof f && An(y.content), It(y));
|
|
540
540
|
if (Ie)
|
|
541
541
|
return c;
|
|
542
|
-
if (
|
|
542
|
+
if (ce) {
|
|
543
543
|
if (Xe)
|
|
544
|
-
for (N =
|
|
544
|
+
for (N = ae.call(s.ownerDocument); s.firstChild; )
|
|
545
545
|
N.appendChild(s.firstChild);
|
|
546
546
|
else
|
|
547
547
|
N = s;
|
|
548
|
-
return (
|
|
548
|
+
return (C.shadowroot || C.shadowrootmode) && (N = W.call(o, N, !0)), N;
|
|
549
549
|
}
|
|
550
|
-
let j =
|
|
551
|
-
return
|
|
552
|
-
` + j),
|
|
553
|
-
j = Be(j,
|
|
554
|
-
}),
|
|
550
|
+
let j = le ? s.outerHTML : s.innerHTML;
|
|
551
|
+
return le && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
552
|
+
` + j), _e && Qe([$, de, ee], (fe) => {
|
|
553
|
+
j = Be(j, fe, " ");
|
|
554
|
+
}), S && Ve ? S.createHTML(j) : j;
|
|
555
555
|
}, t.setConfig = function() {
|
|
556
556
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
557
|
-
ct(c),
|
|
557
|
+
ct(c), x = !0;
|
|
558
558
|
}, t.clearConfig = function() {
|
|
559
|
-
Ne = null,
|
|
559
|
+
Ne = null, x = !1;
|
|
560
560
|
}, t.isValidAttribute = function(c, e, s) {
|
|
561
561
|
Ne || ct({});
|
|
562
|
-
const l = k(c),
|
|
563
|
-
return Dt(l,
|
|
562
|
+
const l = k(c), y = k(e);
|
|
563
|
+
return Dt(l, y, s);
|
|
564
564
|
}, t.addHook = function(c, e) {
|
|
565
|
-
typeof e == "function" && (
|
|
565
|
+
typeof e == "function" && (R[c] = R[c] || [], Ue(R[c], e));
|
|
566
566
|
}, t.removeHook = function(c) {
|
|
567
|
-
if (
|
|
568
|
-
return Jt(
|
|
567
|
+
if (R[c])
|
|
568
|
+
return Jt(R[c]);
|
|
569
569
|
}, t.removeHooks = function(c) {
|
|
570
|
-
|
|
570
|
+
R[c] && (R[c] = []);
|
|
571
571
|
}, t.removeAllHooks = function() {
|
|
572
|
-
|
|
572
|
+
R = {};
|
|
573
573
|
}, t;
|
|
574
574
|
}
|
|
575
575
|
var on = En();
|
|
@@ -578,61 +578,61 @@ function mi(n) {
|
|
|
578
578
|
}
|
|
579
579
|
const pi = (n) => ({}), sn = (n) => ({}), di = (n) => ({}), rn = (n) => ({}), hi = (n) => ({}), an = (n) => ({}), gi = (n) => ({}), ln = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
580
580
|
function cn(n) {
|
|
581
|
-
let t, i, o,
|
|
581
|
+
let t, i, o, a, f, h, A, T, E, V, ie, ve, z = (
|
|
582
582
|
/*$_*/
|
|
583
583
|
n[8]("FE.sessionExpirationHeader") + ""
|
|
584
|
-
), H,
|
|
584
|
+
), H, Se, re, G, me, K, S, g, Q, pe, ae, q, W, R, $ = (
|
|
585
585
|
/*$_*/
|
|
586
586
|
n[8]("FE.sessionExpirationEnd") + ""
|
|
587
|
-
),
|
|
588
|
-
const
|
|
587
|
+
), de, ee, Z, D, I, he, ge, Y, m, xe, C;
|
|
588
|
+
const Ae = (
|
|
589
589
|
/*#slots*/
|
|
590
|
-
n[
|
|
591
|
-
),
|
|
592
|
-
|
|
590
|
+
n[24].icon
|
|
591
|
+
), _ = et(
|
|
592
|
+
Ae,
|
|
593
593
|
n,
|
|
594
594
|
/*$$scope*/
|
|
595
|
-
n[
|
|
595
|
+
n[23],
|
|
596
596
|
ln
|
|
597
|
-
), L =
|
|
597
|
+
), L = _ || Ei(n), Ee = (
|
|
598
598
|
/*#slots*/
|
|
599
|
-
n[
|
|
600
|
-
),
|
|
601
|
-
|
|
599
|
+
n[24].title
|
|
600
|
+
), r = et(
|
|
601
|
+
Ee,
|
|
602
602
|
n,
|
|
603
603
|
/*$$scope*/
|
|
604
|
-
n[
|
|
604
|
+
n[23],
|
|
605
605
|
an
|
|
606
|
-
),
|
|
606
|
+
), w = (
|
|
607
607
|
/*#slots*/
|
|
608
|
-
n[
|
|
609
|
-
),
|
|
610
|
-
|
|
608
|
+
n[24].text
|
|
609
|
+
), F = et(
|
|
610
|
+
w,
|
|
611
611
|
n,
|
|
612
612
|
/*$$scope*/
|
|
613
|
-
n[
|
|
613
|
+
n[23],
|
|
614
614
|
rn
|
|
615
|
-
),
|
|
616
|
-
function
|
|
615
|
+
), b = F || _i(n), _e = [wi, Ti], te = [];
|
|
616
|
+
function le(x, v) {
|
|
617
617
|
return (
|
|
618
618
|
/*showLoaderButton*/
|
|
619
|
-
|
|
619
|
+
x[6] ? 0 : 1
|
|
620
620
|
);
|
|
621
621
|
}
|
|
622
|
-
return D =
|
|
622
|
+
return D = le(n), I = te[D] = _e[D](n), {
|
|
623
623
|
c() {
|
|
624
|
-
t =
|
|
625
|
-
(n[6] ? "Disabled" : "")), u(
|
|
624
|
+
t = M("div"), i = M("div"), o = M("div"), a = M("div"), f = oe("svg"), h = oe("defs"), A = oe("mask"), T = oe("circle"), E = oe("rect"), V = oe("circle"), ie = oe("circle"), ve = be(), H = Ye(z), Se = be(), re = M("div"), G = oe("svg"), me = oe("path"), K = be(), S = M("div"), g = M("div"), L && L.c(), Q = be(), r && r.c(), pe = be(), b && b.c(), ae = be(), q = M("div"), W = M("button"), R = M("span"), de = Ye($), ee = be(), Z = M("button"), I.c(), u(T, "cx", "100"), u(T, "cy", "100"), u(T, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(V, "cx", "100"), u(V, "cy", "150"), u(V, "r", "14"), u(V, "fill", "black"), u(A, "id", "exclamation-mask"), u(ie, "cx", "100"), u(ie, "cy", "100"), u(ie, "r", "90"), u(ie, "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(me, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(re, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(R, "class", "CashierSessionExpirationButtonText"), u(W, "type", "button"), u(W, "class", "ModalButton Secondary"), u(Z, "type", "button"), u(Z, "class", he = "ModalButton Primary " + /*showLoaderButton*/
|
|
625
|
+
(n[6] ? "Disabled" : "")), u(q, "class", "ButtonsContainer"), u(g, "class", "CashierSessionExpiration"), u(S, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
626
626
|
/*div7_elementresize_handler*/
|
|
627
|
-
n[
|
|
627
|
+
n[26].call(t)
|
|
628
628
|
));
|
|
629
629
|
},
|
|
630
|
-
m(
|
|
631
|
-
Re(
|
|
630
|
+
m(x, v) {
|
|
631
|
+
Re(x, t, v), p(t, i), p(i, o), p(o, a), p(a, f), p(f, h), p(h, A), p(A, T), p(A, E), p(A, V), p(f, ie), p(a, ve), p(a, H), p(o, Se), p(o, re), p(re, G), p(G, me), p(i, K), p(i, S), p(S, g), L && L.m(g, null), p(g, Q), r && r.m(g, null), p(g, pe), b && b.m(g, null), p(g, ae), p(g, q), p(q, W), p(W, R), p(R, de), p(q, ee), p(q, Z), te[D].m(Z, null), n[25](g), ge = Un(
|
|
632
632
|
t,
|
|
633
633
|
/*div7_elementresize_handler*/
|
|
634
|
-
n[
|
|
635
|
-
), m = !0,
|
|
634
|
+
n[26].bind(t)
|
|
635
|
+
), m = !0, xe || (C = [
|
|
636
636
|
Ke(
|
|
637
637
|
G,
|
|
638
638
|
"click",
|
|
@@ -640,13 +640,13 @@ function cn(n) {
|
|
|
640
640
|
n[11]
|
|
641
641
|
),
|
|
642
642
|
Ke(
|
|
643
|
-
|
|
643
|
+
W,
|
|
644
644
|
"click",
|
|
645
645
|
/*goToHome*/
|
|
646
646
|
n[11]
|
|
647
647
|
),
|
|
648
648
|
Ke(
|
|
649
|
-
|
|
649
|
+
Z,
|
|
650
650
|
"click",
|
|
651
651
|
/*renewSession*/
|
|
652
652
|
n[9]
|
|
@@ -657,93 +657,93 @@ function cn(n) {
|
|
|
657
657
|
/*outOfModalClick*/
|
|
658
658
|
n[10]
|
|
659
659
|
)
|
|
660
|
-
],
|
|
660
|
+
], xe = !0);
|
|
661
661
|
},
|
|
662
|
-
p(
|
|
663
|
-
n =
|
|
662
|
+
p(x, v) {
|
|
663
|
+
n = x, (!m || v[0] & /*$_*/
|
|
664
664
|
256) && z !== (z = /*$_*/
|
|
665
|
-
n[8]("FE.sessionExpirationHeader") + "") && We(H, z),
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
665
|
+
n[8]("FE.sessionExpirationHeader") + "") && We(H, z), _ ? _.p && (!m || v[0] & /*$$scope*/
|
|
666
|
+
8388608) && tt(
|
|
667
|
+
_,
|
|
668
|
+
Ae,
|
|
669
669
|
n,
|
|
670
670
|
/*$$scope*/
|
|
671
|
-
n[
|
|
671
|
+
n[23],
|
|
672
672
|
m ? it(
|
|
673
|
-
|
|
673
|
+
Ae,
|
|
674
674
|
/*$$scope*/
|
|
675
|
-
n[
|
|
676
|
-
|
|
675
|
+
n[23],
|
|
676
|
+
v,
|
|
677
677
|
gi
|
|
678
678
|
) : nt(
|
|
679
679
|
/*$$scope*/
|
|
680
|
-
n[
|
|
680
|
+
n[23]
|
|
681
681
|
),
|
|
682
682
|
ln
|
|
683
|
-
) : L && L.p && (!m ||
|
|
684
|
-
8) && L.p(n, m ?
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
683
|
+
) : L && L.p && (!m || v[0] & /*assetsurl*/
|
|
684
|
+
8) && L.p(n, m ? v : [-1, -1]), r && r.p && (!m || v[0] & /*$$scope*/
|
|
685
|
+
8388608) && tt(
|
|
686
|
+
r,
|
|
687
|
+
Ee,
|
|
688
688
|
n,
|
|
689
689
|
/*$$scope*/
|
|
690
|
-
n[
|
|
690
|
+
n[23],
|
|
691
691
|
m ? it(
|
|
692
|
-
|
|
692
|
+
Ee,
|
|
693
693
|
/*$$scope*/
|
|
694
|
-
n[
|
|
695
|
-
|
|
694
|
+
n[23],
|
|
695
|
+
v,
|
|
696
696
|
hi
|
|
697
697
|
) : nt(
|
|
698
698
|
/*$$scope*/
|
|
699
|
-
n[
|
|
699
|
+
n[23]
|
|
700
700
|
),
|
|
701
701
|
an
|
|
702
|
-
),
|
|
703
|
-
|
|
704
|
-
M,
|
|
702
|
+
), F ? F.p && (!m || v[0] & /*$$scope*/
|
|
703
|
+
8388608) && tt(
|
|
705
704
|
F,
|
|
705
|
+
w,
|
|
706
706
|
n,
|
|
707
707
|
/*$$scope*/
|
|
708
|
-
n[
|
|
708
|
+
n[23],
|
|
709
709
|
m ? it(
|
|
710
|
-
|
|
710
|
+
w,
|
|
711
711
|
/*$$scope*/
|
|
712
|
-
n[
|
|
713
|
-
|
|
712
|
+
n[23],
|
|
713
|
+
v,
|
|
714
714
|
di
|
|
715
715
|
) : nt(
|
|
716
716
|
/*$$scope*/
|
|
717
|
-
n[
|
|
717
|
+
n[23]
|
|
718
718
|
),
|
|
719
719
|
rn
|
|
720
|
-
) :
|
|
721
|
-
384) &&
|
|
722
|
-
256) &&
|
|
723
|
-
n[8]("FE.sessionExpirationEnd") + "") && We(
|
|
724
|
-
let
|
|
725
|
-
D =
|
|
726
|
-
|
|
727
|
-
}), mn(), I =
|
|
728
|
-
64 &&
|
|
729
|
-
(n[6] ? "Disabled" : ""))) && u(
|
|
720
|
+
) : b && b.p && (!m || v[0] & /*$_, timeLeft*/
|
|
721
|
+
384) && b.p(n, m ? v : [-1, -1]), (!m || v[0] & /*$_*/
|
|
722
|
+
256) && $ !== ($ = /*$_*/
|
|
723
|
+
n[8]("FE.sessionExpirationEnd") + "") && We(de, $);
|
|
724
|
+
let ce = D;
|
|
725
|
+
D = le(n), D === ce ? te[D].p(n, v) : (fn(), Ce(te[ce], 1, 1, () => {
|
|
726
|
+
te[ce] = null;
|
|
727
|
+
}), mn(), I = te[D], I ? I.p(n, v) : (I = te[D] = _e[D](n), I.c()), ye(I, 1), I.m(Z, null)), (!m || v[0] & /*showLoaderButton*/
|
|
728
|
+
64 && he !== (he = "ModalButton Primary " + /*showLoaderButton*/
|
|
729
|
+
(n[6] ? "Disabled" : ""))) && u(Z, "class", he);
|
|
730
730
|
},
|
|
731
|
-
i(
|
|
732
|
-
m || (
|
|
733
|
-
m && (
|
|
731
|
+
i(x) {
|
|
732
|
+
m || (ye(L, x), ye(r, x), ye(b, x), ye(I), x && zt(() => {
|
|
733
|
+
m && (Y || (Y = Bt(t, Yt, { duration: (
|
|
734
734
|
/*duration*/
|
|
735
735
|
n[2]
|
|
736
|
-
) }, !0)),
|
|
736
|
+
) }, !0)), Y.run(1));
|
|
737
737
|
}), m = !0);
|
|
738
738
|
},
|
|
739
|
-
o(
|
|
740
|
-
|
|
739
|
+
o(x) {
|
|
740
|
+
Ce(L, x), Ce(r, x), Ce(b, x), Ce(I), x && (Y || (Y = Bt(t, Yt, { duration: (
|
|
741
741
|
/*duration*/
|
|
742
742
|
n[2]
|
|
743
|
-
) }, !1)),
|
|
743
|
+
) }, !1)), Y.run(0)), m = !1;
|
|
744
744
|
},
|
|
745
|
-
d(
|
|
746
|
-
|
|
745
|
+
d(x) {
|
|
746
|
+
x && Me(t), L && L.d(x), r && r.d(x), b && b.d(x), te[D].d(), n[25](null), ge(), x && Y && Y.end(), xe = !1, Pn(C);
|
|
747
747
|
}
|
|
748
748
|
};
|
|
749
749
|
}
|
|
@@ -751,14 +751,14 @@ function un(n) {
|
|
|
751
751
|
let t, i;
|
|
752
752
|
return {
|
|
753
753
|
c() {
|
|
754
|
-
t =
|
|
754
|
+
t = M("img"), Wt(t.src, i = `${/*assetsurl*/
|
|
755
755
|
n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
|
|
756
756
|
},
|
|
757
|
-
m(o,
|
|
758
|
-
Re(o, t,
|
|
757
|
+
m(o, a) {
|
|
758
|
+
Re(o, t, a);
|
|
759
759
|
},
|
|
760
|
-
p(o,
|
|
761
|
-
|
|
760
|
+
p(o, a) {
|
|
761
|
+
a[0] & /*assetsurl*/
|
|
762
762
|
8 && !Wt(t.src, i = `${/*assetsurl*/
|
|
763
763
|
o[3]}/set-timeout-icon.png`) && u(t, "src", i);
|
|
764
764
|
},
|
|
@@ -776,12 +776,12 @@ function Ei(n) {
|
|
|
776
776
|
c() {
|
|
777
777
|
i && i.c(), t = Bn();
|
|
778
778
|
},
|
|
779
|
-
m(o,
|
|
780
|
-
i && i.m(o,
|
|
779
|
+
m(o, a) {
|
|
780
|
+
i && i.m(o, a), Re(o, t, a);
|
|
781
781
|
},
|
|
782
|
-
p(o,
|
|
782
|
+
p(o, a) {
|
|
783
783
|
/*assetsurl*/
|
|
784
|
-
o[3] ? i ? i.p(o,
|
|
784
|
+
o[3] ? i ? i.p(o, a) : (i = un(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
|
|
785
785
|
},
|
|
786
786
|
d(o) {
|
|
787
787
|
o && Me(t), i && i.d(o);
|
|
@@ -792,7 +792,7 @@ function _i(n) {
|
|
|
792
792
|
let t, i, o = (
|
|
793
793
|
/*$_*/
|
|
794
794
|
n[8]("FE.sessionExpirationTitle") + ""
|
|
795
|
-
),
|
|
795
|
+
), a, f, h, A = on.sanitize(
|
|
796
796
|
/*$_*/
|
|
797
797
|
n[8]("FE.sessionExpirationGeneralText", { values: { second: (
|
|
798
798
|
/*timeLeft*/
|
|
@@ -801,25 +801,25 @@ function _i(n) {
|
|
|
801
801
|
) + "";
|
|
802
802
|
return {
|
|
803
803
|
c() {
|
|
804
|
-
t =
|
|
804
|
+
t = M("span"), i = M("p"), a = Ye(o), f = be(), h = M("p"), u(t, "class", "CashierSessionExpirationText");
|
|
805
805
|
},
|
|
806
|
-
m(
|
|
807
|
-
Re(
|
|
806
|
+
m(T, E) {
|
|
807
|
+
Re(T, t, E), p(t, i), p(i, a), p(t, f), p(t, h), h.innerHTML = A;
|
|
808
808
|
},
|
|
809
|
-
p(
|
|
810
|
-
|
|
809
|
+
p(T, E) {
|
|
810
|
+
E[0] & /*$_*/
|
|
811
811
|
256 && o !== (o = /*$_*/
|
|
812
|
-
|
|
813
|
-
384 &&
|
|
812
|
+
T[8]("FE.sessionExpirationTitle") + "") && We(a, o), E[0] & /*$_, timeLeft*/
|
|
813
|
+
384 && A !== (A = on.sanitize(
|
|
814
814
|
/*$_*/
|
|
815
|
-
|
|
815
|
+
T[8]("FE.sessionExpirationGeneralText", { values: { second: (
|
|
816
816
|
/*timeLeft*/
|
|
817
|
-
|
|
817
|
+
T[7]
|
|
818
818
|
) } })
|
|
819
|
-
) + "") && (
|
|
819
|
+
) + "") && (h.innerHTML = A);
|
|
820
820
|
},
|
|
821
|
-
d(
|
|
822
|
-
|
|
821
|
+
d(T) {
|
|
822
|
+
T && Me(t);
|
|
823
823
|
}
|
|
824
824
|
};
|
|
825
825
|
}
|
|
@@ -827,75 +827,75 @@ function Ti(n) {
|
|
|
827
827
|
let t;
|
|
828
828
|
const i = (
|
|
829
829
|
/*#slots*/
|
|
830
|
-
n[
|
|
830
|
+
n[24].button
|
|
831
831
|
), o = et(
|
|
832
832
|
i,
|
|
833
833
|
n,
|
|
834
834
|
/*$$scope*/
|
|
835
|
-
n[
|
|
835
|
+
n[23],
|
|
836
836
|
sn
|
|
837
|
-
),
|
|
837
|
+
), a = o || bi(n);
|
|
838
838
|
return {
|
|
839
839
|
c() {
|
|
840
|
-
|
|
840
|
+
a && a.c();
|
|
841
841
|
},
|
|
842
|
-
m(f,
|
|
843
|
-
|
|
842
|
+
m(f, h) {
|
|
843
|
+
a && a.m(f, h), t = !0;
|
|
844
844
|
},
|
|
845
|
-
p(f,
|
|
846
|
-
o ? o.p && (!t ||
|
|
847
|
-
|
|
845
|
+
p(f, h) {
|
|
846
|
+
o ? o.p && (!t || h[0] & /*$$scope*/
|
|
847
|
+
8388608) && tt(
|
|
848
848
|
o,
|
|
849
849
|
i,
|
|
850
850
|
f,
|
|
851
851
|
/*$$scope*/
|
|
852
|
-
f[
|
|
852
|
+
f[23],
|
|
853
853
|
t ? it(
|
|
854
854
|
i,
|
|
855
855
|
/*$$scope*/
|
|
856
|
-
f[
|
|
857
|
-
|
|
856
|
+
f[23],
|
|
857
|
+
h,
|
|
858
858
|
pi
|
|
859
859
|
) : nt(
|
|
860
860
|
/*$$scope*/
|
|
861
|
-
f[
|
|
861
|
+
f[23]
|
|
862
862
|
),
|
|
863
863
|
sn
|
|
864
|
-
) :
|
|
865
|
-
256) &&
|
|
864
|
+
) : a && a.p && (!t || h[0] & /*$_*/
|
|
865
|
+
256) && a.p(f, t ? h : [-1, -1]);
|
|
866
866
|
},
|
|
867
867
|
i(f) {
|
|
868
|
-
t || (
|
|
868
|
+
t || (ye(a, f), t = !0);
|
|
869
869
|
},
|
|
870
870
|
o(f) {
|
|
871
|
-
|
|
871
|
+
Ce(a, f), t = !1;
|
|
872
872
|
},
|
|
873
873
|
d(f) {
|
|
874
|
-
|
|
874
|
+
a && a.d(f);
|
|
875
875
|
}
|
|
876
876
|
};
|
|
877
877
|
}
|
|
878
878
|
function wi(n) {
|
|
879
|
-
let t, i, o,
|
|
879
|
+
let t, i, o, a, f, h = (
|
|
880
880
|
/*$_*/
|
|
881
881
|
n[8]("FE.sessionExpirationLoadingButton") + ""
|
|
882
|
-
),
|
|
882
|
+
), A;
|
|
883
883
|
return {
|
|
884
884
|
c() {
|
|
885
|
-
t =
|
|
885
|
+
t = M("div"), i = oe("svg"), o = oe("path"), a = be(), f = M("span"), A = Ye(h), u(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"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
|
|
886
886
|
},
|
|
887
|
-
m(
|
|
888
|
-
Re(
|
|
887
|
+
m(T, E) {
|
|
888
|
+
Re(T, t, E), p(t, i), p(i, o), p(t, a), p(t, f), p(f, A);
|
|
889
889
|
},
|
|
890
|
-
p(
|
|
891
|
-
|
|
892
|
-
256 &&
|
|
893
|
-
|
|
890
|
+
p(T, E) {
|
|
891
|
+
E[0] & /*$_*/
|
|
892
|
+
256 && h !== (h = /*$_*/
|
|
893
|
+
T[8]("FE.sessionExpirationLoadingButton") + "") && We(A, h);
|
|
894
894
|
},
|
|
895
895
|
i: Gt,
|
|
896
896
|
o: Gt,
|
|
897
|
-
d(
|
|
898
|
-
|
|
897
|
+
d(T) {
|
|
898
|
+
T && Me(t);
|
|
899
899
|
}
|
|
900
900
|
};
|
|
901
901
|
}
|
|
@@ -906,18 +906,18 @@ function bi(n) {
|
|
|
906
906
|
), o;
|
|
907
907
|
return {
|
|
908
908
|
c() {
|
|
909
|
-
t =
|
|
909
|
+
t = M("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
|
|
910
910
|
},
|
|
911
|
-
m(
|
|
912
|
-
Re(
|
|
911
|
+
m(a, f) {
|
|
912
|
+
Re(a, t, f), p(t, o);
|
|
913
913
|
},
|
|
914
|
-
p(
|
|
914
|
+
p(a, f) {
|
|
915
915
|
f[0] & /*$_*/
|
|
916
916
|
256 && i !== (i = /*$_*/
|
|
917
|
-
|
|
917
|
+
a[8]("FE.sessionExpirationGeneralButton") + "") && We(o, i);
|
|
918
918
|
},
|
|
919
|
-
d(
|
|
920
|
-
|
|
919
|
+
d(a) {
|
|
920
|
+
a && Me(t);
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
923
|
}
|
|
@@ -928,180 +928,181 @@ function yi(n) {
|
|
|
928
928
|
);
|
|
929
929
|
return {
|
|
930
930
|
c() {
|
|
931
|
-
t =
|
|
931
|
+
t = M("div"), o && o.c();
|
|
932
932
|
},
|
|
933
|
-
m(
|
|
934
|
-
Re(
|
|
933
|
+
m(a, f) {
|
|
934
|
+
Re(a, t, f), o && o.m(t, null), n[27](t), i = !0;
|
|
935
935
|
},
|
|
936
|
-
p(
|
|
936
|
+
p(a, f) {
|
|
937
937
|
/*show*/
|
|
938
|
-
|
|
939
|
-
32 &&
|
|
938
|
+
a[5] ? o ? (o.p(a, f), f[0] & /*show*/
|
|
939
|
+
32 && ye(o, 1)) : (o = cn(a), o.c(), ye(o, 1), o.m(t, null)) : o && (fn(), Ce(o, 1, 1, () => {
|
|
940
940
|
o = null;
|
|
941
941
|
}), mn());
|
|
942
942
|
},
|
|
943
|
-
i(
|
|
944
|
-
i || (
|
|
943
|
+
i(a) {
|
|
944
|
+
i || (ye(o), i = !0);
|
|
945
945
|
},
|
|
946
|
-
o(
|
|
947
|
-
|
|
946
|
+
o(a) {
|
|
947
|
+
Ce(o), i = !1;
|
|
948
948
|
},
|
|
949
|
-
d(
|
|
950
|
-
|
|
949
|
+
d(a) {
|
|
950
|
+
a && Me(t), o && o.d(), n[27](null);
|
|
951
951
|
}
|
|
952
952
|
};
|
|
953
953
|
}
|
|
954
954
|
const Si = 90;
|
|
955
955
|
function xi(n, t, i) {
|
|
956
|
-
let o,
|
|
957
|
-
Ut(n, Xt, (
|
|
958
|
-
let { $$slots: f = {}, $$scope:
|
|
956
|
+
let o, a;
|
|
957
|
+
Ut(n, Xt, (r) => i(22, o = r)), Ut(n, jn, (r) => i(8, a = r));
|
|
958
|
+
let { $$slots: f = {}, $$scope: h } = t;
|
|
959
959
|
jt.extend(Yn);
|
|
960
|
-
let { clientstyling:
|
|
961
|
-
var
|
|
962
|
-
(function(
|
|
963
|
-
|
|
964
|
-
})(
|
|
965
|
-
const
|
|
966
|
-
|
|
967
|
-
},
|
|
960
|
+
let { clientstyling: A = "" } = t, { clientstylingurl: T = "" } = t, { width: E } = t, { height: V } = t, { duration: ie = 200 } = t, { assetsurl: ve = "" } = t, { lang: z = "en" } = t, { translationurl: H = "" } = t, { endpoint: Se } = t, { currency: re } = t, { customerid: G } = t, { selectedpaymentmethodname: me } = t, { mbsource: K = "" } = t, { usecashiertranslations: S = "false" } = t, g, Q = !1, pe = !1, ae, q, W, R, $, de;
|
|
961
|
+
var ee;
|
|
962
|
+
(function(r) {
|
|
963
|
+
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
964
|
+
})(ee || (ee = {}));
|
|
965
|
+
const Z = (r) => {
|
|
966
|
+
r.data.type === "StartSessionCountdown" && (R = r.data.paymentMethodName);
|
|
967
|
+
}, D = (r) => {
|
|
968
968
|
try {
|
|
969
|
-
return JSON.parse(atob(
|
|
970
|
-
} catch (
|
|
969
|
+
return JSON.parse(atob(r.split(".")[1]));
|
|
970
|
+
} catch (w) {
|
|
971
971
|
return null;
|
|
972
972
|
}
|
|
973
|
-
},
|
|
973
|
+
}, I = () => {
|
|
974
974
|
window.postMessage(
|
|
975
975
|
{
|
|
976
976
|
type: "ErrorResponseCode",
|
|
977
|
-
errorResponseCode:
|
|
977
|
+
errorResponseCode: $
|
|
978
978
|
},
|
|
979
979
|
window.location.href
|
|
980
980
|
);
|
|
981
|
-
},
|
|
982
|
-
i(5,
|
|
983
|
-
const
|
|
984
|
-
|
|
981
|
+
}, he = (r) => {
|
|
982
|
+
i(5, Q = !1);
|
|
983
|
+
const w = D(r);
|
|
984
|
+
w && (q = w == null ? void 0 : w.exp, i(7, ae = q), W && clearInterval(W), W = setInterval(
|
|
985
985
|
() => {
|
|
986
986
|
const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
987
|
-
i(7,
|
|
987
|
+
i(7, ae = q - F), ae <= Si && i(5, Q = !0), F >= q && (ge(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
988
988
|
},
|
|
989
989
|
1e3
|
|
990
990
|
));
|
|
991
|
-
},
|
|
992
|
-
i(7,
|
|
993
|
-
},
|
|
994
|
-
if (
|
|
991
|
+
}, ge = () => {
|
|
992
|
+
i(7, ae = 0), i(5, Q = !1), clearInterval(W);
|
|
993
|
+
}, Y = () => {
|
|
994
|
+
if (pe)
|
|
995
995
|
return;
|
|
996
|
-
const
|
|
997
|
-
i(6,
|
|
996
|
+
const r = new URL(`${Se}/v1/player/${G}/payment/GetPaymentMethod`), w = new Headers();
|
|
997
|
+
i(6, pe = !0), w.append("accept", "application/json"), w.append("Content-Type", "application/json"), w.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
998
998
|
const F = {
|
|
999
999
|
method: "POST",
|
|
1000
1000
|
mode: "cors",
|
|
1001
|
-
headers:
|
|
1001
|
+
headers: w,
|
|
1002
1002
|
body: JSON.stringify({
|
|
1003
|
-
PaymentMethodName:
|
|
1004
|
-
Currency:
|
|
1003
|
+
PaymentMethodName: R || me,
|
|
1004
|
+
Currency: re,
|
|
1005
1005
|
XPaymentSessionToken: o
|
|
1006
1006
|
})
|
|
1007
1007
|
};
|
|
1008
|
-
fetch(
|
|
1009
|
-
if (
|
|
1008
|
+
fetch(r, F).then((b) => b.json()).then((b) => {
|
|
1009
|
+
if (b.error) {
|
|
1010
1010
|
window.postMessage(
|
|
1011
1011
|
{
|
|
1012
1012
|
type: "ShowSessionError",
|
|
1013
|
-
error:
|
|
1013
|
+
error: b.error
|
|
1014
1014
|
},
|
|
1015
1015
|
window.location.href
|
|
1016
|
-
),
|
|
1016
|
+
), ge();
|
|
1017
1017
|
return;
|
|
1018
1018
|
}
|
|
1019
|
-
if (
|
|
1020
|
-
|
|
1019
|
+
if (b.ResponseCode === ee.PlayerSessionIsNotValid || b.ResponseCode === ee.JwtTokenError) {
|
|
1020
|
+
$ = b.ResponseCode, ge(), I();
|
|
1021
1021
|
return;
|
|
1022
1022
|
}
|
|
1023
|
-
if (
|
|
1024
|
-
|
|
1023
|
+
if (b.ResponseCode !== ee.Success) {
|
|
1024
|
+
$ = b.ResponseCode, ge();
|
|
1025
1025
|
return;
|
|
1026
1026
|
}
|
|
1027
|
-
|
|
1028
|
-
}).finally(() => i(6,
|
|
1029
|
-
},
|
|
1030
|
-
const
|
|
1031
|
-
|
|
1032
|
-
},
|
|
1033
|
-
fetch(H).then((
|
|
1034
|
-
Object.keys(
|
|
1035
|
-
Vt(F,
|
|
1027
|
+
b.XPaymentSessionToken && Xt.set(b.XPaymentSessionToken);
|
|
1028
|
+
}).finally(() => i(6, pe = !1));
|
|
1029
|
+
}, m = (r) => {
|
|
1030
|
+
const w = r.currentTarget;
|
|
1031
|
+
r.target === w && Y();
|
|
1032
|
+
}, xe = () => {
|
|
1033
|
+
fetch(H).then((w) => w.json()).then((w) => {
|
|
1034
|
+
Object.keys(w).forEach((F) => {
|
|
1035
|
+
Vt(F, w[F]);
|
|
1036
1036
|
});
|
|
1037
|
-
}).catch((
|
|
1038
|
-
console.log(
|
|
1037
|
+
}).catch((w) => {
|
|
1038
|
+
console.log(w);
|
|
1039
1039
|
});
|
|
1040
|
-
},
|
|
1041
|
-
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5,
|
|
1040
|
+
}, C = () => {
|
|
1041
|
+
window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, Q = !1);
|
|
1042
1042
|
};
|
|
1043
|
-
Object.keys(qt).forEach((
|
|
1044
|
-
Vt(
|
|
1043
|
+
S == "false" && Object.keys(qt).forEach((r) => {
|
|
1044
|
+
Vt(r, qt[r]);
|
|
1045
1045
|
});
|
|
1046
|
-
const
|
|
1046
|
+
const Ae = () => {
|
|
1047
1047
|
Xn(z);
|
|
1048
1048
|
};
|
|
1049
|
-
In(() => (window.addEventListener("message",
|
|
1050
|
-
window.removeEventListener("message",
|
|
1049
|
+
In(() => (window.addEventListener("message", Z, !1), () => {
|
|
1050
|
+
window.removeEventListener("message", Z);
|
|
1051
1051
|
})), Fn(() => {
|
|
1052
1052
|
clearInterval(W);
|
|
1053
1053
|
});
|
|
1054
|
-
function
|
|
1055
|
-
Ht[
|
|
1056
|
-
g =
|
|
1054
|
+
function _(r) {
|
|
1055
|
+
Ht[r ? "unshift" : "push"](() => {
|
|
1056
|
+
g = r, i(4, g);
|
|
1057
1057
|
});
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1060
|
-
|
|
1059
|
+
function L() {
|
|
1060
|
+
E = this.clientWidth, V = this.clientHeight, i(0, E), i(1, V);
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1063
|
-
Ht[
|
|
1064
|
-
g =
|
|
1062
|
+
function Ee(r) {
|
|
1063
|
+
Ht[r ? "unshift" : "push"](() => {
|
|
1064
|
+
g = r, i(4, g);
|
|
1065
1065
|
});
|
|
1066
1066
|
}
|
|
1067
|
-
return n.$$set = (
|
|
1068
|
-
"clientstyling" in
|
|
1067
|
+
return n.$$set = (r) => {
|
|
1068
|
+
"clientstyling" in r && i(12, A = r.clientstyling), "clientstylingurl" in r && i(13, T = r.clientstylingurl), "width" in r && i(0, E = r.width), "height" in r && i(1, V = r.height), "duration" in r && i(2, ie = r.duration), "assetsurl" in r && i(3, ve = r.assetsurl), "lang" in r && i(14, z = r.lang), "translationurl" in r && i(15, H = r.translationurl), "endpoint" in r && i(16, Se = r.endpoint), "currency" in r && i(17, re = r.currency), "customerid" in r && i(18, G = r.customerid), "selectedpaymentmethodname" in r && i(19, me = r.selectedpaymentmethodname), "mbsource" in r && i(20, K = r.mbsource), "usecashiertranslations" in r && i(21, S = r.usecashiertranslations), "$$scope" in r && i(23, h = r.$$scope);
|
|
1069
1069
|
}, n.$$.update = () => {
|
|
1070
1070
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1071
|
-
|
|
1072
|
-
16384 && z &&
|
|
1073
|
-
4112 &&
|
|
1074
|
-
8208 &&
|
|
1075
|
-
1048592 && K && g && Gn(g, `${K}.Style`,
|
|
1076
|
-
|
|
1071
|
+
4194304 && he(o), n.$$.dirty[0] & /*lang*/
|
|
1072
|
+
16384 && z && Ae(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1073
|
+
4112 && A && g && zn(g, A), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1074
|
+
8208 && T && g && Hn(g, T), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1075
|
+
1048592 && K && g && Gn(g, `${K}.Style`, de), n.$$.dirty[0] & /*usecashiertranslations, translationurl*/
|
|
1076
|
+
2129920 && S == "false" && H && xe();
|
|
1077
1077
|
}, [
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
ne,
|
|
1081
|
-
Ce,
|
|
1082
|
-
g,
|
|
1083
|
-
x,
|
|
1078
|
+
E,
|
|
1079
|
+
V,
|
|
1084
1080
|
ie,
|
|
1085
|
-
le,
|
|
1086
|
-
r,
|
|
1087
1081
|
ve,
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1082
|
+
g,
|
|
1083
|
+
Q,
|
|
1084
|
+
pe,
|
|
1085
|
+
ae,
|
|
1086
|
+
a,
|
|
1087
|
+
Y,
|
|
1088
|
+
m,
|
|
1089
|
+
C,
|
|
1090
|
+
A,
|
|
1091
|
+
T,
|
|
1092
1092
|
z,
|
|
1093
1093
|
H,
|
|
1094
|
-
|
|
1095
|
-
|
|
1094
|
+
Se,
|
|
1095
|
+
re,
|
|
1096
1096
|
G,
|
|
1097
|
-
|
|
1097
|
+
me,
|
|
1098
1098
|
K,
|
|
1099
|
+
S,
|
|
1099
1100
|
o,
|
|
1100
|
-
|
|
1101
|
+
h,
|
|
1101
1102
|
f,
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1103
|
+
_,
|
|
1104
|
+
L,
|
|
1105
|
+
Ee
|
|
1105
1106
|
];
|
|
1106
1107
|
}
|
|
1107
1108
|
class Ai extends kn {
|
|
@@ -1125,7 +1126,8 @@ class Ai extends kn {
|
|
|
1125
1126
|
currency: 17,
|
|
1126
1127
|
customerid: 18,
|
|
1127
1128
|
selectedpaymentmethodname: 19,
|
|
1128
|
-
mbsource: 20
|
|
1129
|
+
mbsource: 20,
|
|
1130
|
+
usecashiertranslations: 21
|
|
1129
1131
|
},
|
|
1130
1132
|
mi,
|
|
1131
1133
|
[-1, -1]
|
|
@@ -1135,82 +1137,88 @@ class Ai extends kn {
|
|
|
1135
1137
|
return this.$$.ctx[12];
|
|
1136
1138
|
}
|
|
1137
1139
|
set clientstyling(t) {
|
|
1138
|
-
this.$$set({ clientstyling: t }),
|
|
1140
|
+
this.$$set({ clientstyling: t }), X();
|
|
1139
1141
|
}
|
|
1140
1142
|
get clientstylingurl() {
|
|
1141
1143
|
return this.$$.ctx[13];
|
|
1142
1144
|
}
|
|
1143
1145
|
set clientstylingurl(t) {
|
|
1144
|
-
this.$$set({ clientstylingurl: t }),
|
|
1146
|
+
this.$$set({ clientstylingurl: t }), X();
|
|
1145
1147
|
}
|
|
1146
1148
|
get width() {
|
|
1147
1149
|
return this.$$.ctx[0];
|
|
1148
1150
|
}
|
|
1149
1151
|
set width(t) {
|
|
1150
|
-
this.$$set({ width: t }),
|
|
1152
|
+
this.$$set({ width: t }), X();
|
|
1151
1153
|
}
|
|
1152
1154
|
get height() {
|
|
1153
1155
|
return this.$$.ctx[1];
|
|
1154
1156
|
}
|
|
1155
1157
|
set height(t) {
|
|
1156
|
-
this.$$set({ height: t }),
|
|
1158
|
+
this.$$set({ height: t }), X();
|
|
1157
1159
|
}
|
|
1158
1160
|
get duration() {
|
|
1159
1161
|
return this.$$.ctx[2];
|
|
1160
1162
|
}
|
|
1161
1163
|
set duration(t) {
|
|
1162
|
-
this.$$set({ duration: t }),
|
|
1164
|
+
this.$$set({ duration: t }), X();
|
|
1163
1165
|
}
|
|
1164
1166
|
get assetsurl() {
|
|
1165
1167
|
return this.$$.ctx[3];
|
|
1166
1168
|
}
|
|
1167
1169
|
set assetsurl(t) {
|
|
1168
|
-
this.$$set({ assetsurl: t }),
|
|
1170
|
+
this.$$set({ assetsurl: t }), X();
|
|
1169
1171
|
}
|
|
1170
1172
|
get lang() {
|
|
1171
1173
|
return this.$$.ctx[14];
|
|
1172
1174
|
}
|
|
1173
1175
|
set lang(t) {
|
|
1174
|
-
this.$$set({ lang: t }),
|
|
1176
|
+
this.$$set({ lang: t }), X();
|
|
1175
1177
|
}
|
|
1176
1178
|
get translationurl() {
|
|
1177
1179
|
return this.$$.ctx[15];
|
|
1178
1180
|
}
|
|
1179
1181
|
set translationurl(t) {
|
|
1180
|
-
this.$$set({ translationurl: t }),
|
|
1182
|
+
this.$$set({ translationurl: t }), X();
|
|
1181
1183
|
}
|
|
1182
1184
|
get endpoint() {
|
|
1183
1185
|
return this.$$.ctx[16];
|
|
1184
1186
|
}
|
|
1185
1187
|
set endpoint(t) {
|
|
1186
|
-
this.$$set({ endpoint: t }),
|
|
1188
|
+
this.$$set({ endpoint: t }), X();
|
|
1187
1189
|
}
|
|
1188
1190
|
get currency() {
|
|
1189
1191
|
return this.$$.ctx[17];
|
|
1190
1192
|
}
|
|
1191
1193
|
set currency(t) {
|
|
1192
|
-
this.$$set({ currency: t }),
|
|
1194
|
+
this.$$set({ currency: t }), X();
|
|
1193
1195
|
}
|
|
1194
1196
|
get customerid() {
|
|
1195
1197
|
return this.$$.ctx[18];
|
|
1196
1198
|
}
|
|
1197
1199
|
set customerid(t) {
|
|
1198
|
-
this.$$set({ customerid: t }),
|
|
1200
|
+
this.$$set({ customerid: t }), X();
|
|
1199
1201
|
}
|
|
1200
1202
|
get selectedpaymentmethodname() {
|
|
1201
1203
|
return this.$$.ctx[19];
|
|
1202
1204
|
}
|
|
1203
1205
|
set selectedpaymentmethodname(t) {
|
|
1204
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
1206
|
+
this.$$set({ selectedpaymentmethodname: t }), X();
|
|
1205
1207
|
}
|
|
1206
1208
|
get mbsource() {
|
|
1207
1209
|
return this.$$.ctx[20];
|
|
1208
1210
|
}
|
|
1209
1211
|
set mbsource(t) {
|
|
1210
|
-
this.$$set({ mbsource: t }),
|
|
1212
|
+
this.$$set({ mbsource: t }), X();
|
|
1213
|
+
}
|
|
1214
|
+
get usecashiertranslations() {
|
|
1215
|
+
return this.$$.ctx[21];
|
|
1216
|
+
}
|
|
1217
|
+
set usecashiertranslations(t) {
|
|
1218
|
+
this.$$set({ usecashiertranslations: t }), X();
|
|
1211
1219
|
}
|
|
1212
1220
|
}
|
|
1213
|
-
Wn(Ai, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1221
|
+
Wn(Ai, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {}, usecashiertranslations: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1214
1222
|
export {
|
|
1215
1223
|
Ai as default
|
|
1216
1224
|
};
|