@everymatrix/cashier-page 1.90.38 → 1.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CashierCarousel-BNcnaN7U.js +672 -0
- package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
- package/components/CashierCarousel-tfVH51fj.js +675 -0
- package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
- package/components/CashierError-BqvEnGrr.cjs +1 -0
- package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
- package/components/CashierHeader-BGA-Qd-S.js +456 -0
- package/components/CashierHeader-BKL2lJFV.cjs +1 -0
- package/components/CashierHeader-Bt5aV48_.js +456 -0
- package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
- package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
- package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
- package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
- package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
- package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
- package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
- package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
- package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
- package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
- package/components/CashierModal-J_mZ6ODP.cjs +1 -0
- package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
- package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
- package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
- package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
- package/components/CashierPage-7d2gkNjC.js +9989 -0
- package/components/CashierPage-N8z4Zzox.js +9936 -0
- package/components/CashierPage-flG2gyRG.cjs +23 -0
- package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
- package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
- package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
- package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
- package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
- package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
- package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
- package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
- package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
- package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
- package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
- package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
- package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
- package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
- package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
- package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
- package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
- package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
- package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
- package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
- package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
- package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
- package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B-cM-nlR.js +0 -5797
- package/components/CashierCarousel-CXoovlrR.js +0 -5835
- package/components/CashierCarousel-DMrMmClP.cjs +0 -23
- package/components/CashierError-CHGdRh2_.cjs +0 -1
- package/components/CashierHeader-B7FnLv3f.js +0 -397
- package/components/CashierHeader-BbP0idUh.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
- package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
- package/components/CashierModal-DF8meLAZ.cjs +0 -1
- package/components/CashierNotifications-B8bRZMac.cjs +0 -1
- package/components/CashierPage-CrLOKCt7.js +0 -4485
- package/components/CashierPage-DDNG9YBM.cjs +0 -1
- package/components/CashierPage-Ra2kFFdS.js +0 -4455
- package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
- package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
- package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
- package/components/CashierVerifications-8c9sENE2.cjs +0 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { a7 as Cn, a as vn, i as Mn, $ as Ln, S as Rn, b as On, s as kn, f as J, c as Nn, e as Le, t as xe, g as be, a8 as un, a9 as fn, k as Re, m as R, p as Ut, M as Ht, N as Dn, q as In, aa as Pn, d as $e, F as Un, ab as Bt, H as zt, v as We, u as et, h as tt, j as nt, o as u, l as p, G as Hn, z as Ze, P as se, n as ye, w as Ye, Q as Ft, x as Gt, r as Bn, y as Wt, J as Yt, A as zn, B as Fn } from "./CashierPage-7d2gkNjC.js";
|
|
2
|
+
import { s as Gn, a as Wn, b as Yn } from "./CashierHeader-BGA-Qd-S.js";
|
|
3
|
+
function jt(n, { delay: t = 0, duration: o = 400, easing: i = Cn } = {}) {
|
|
4
|
+
const r = +getComputedStyle(n).opacity;
|
|
5
|
+
return {
|
|
6
|
+
delay: t,
|
|
7
|
+
duration: o,
|
|
8
|
+
easing: i,
|
|
9
|
+
css: (f) => `opacity: ${f * r}`
|
|
10
|
+
};
|
|
11
|
+
}
|
|
4
12
|
function Xt(n, t) {
|
|
5
|
-
|
|
13
|
+
vn(n, t);
|
|
6
14
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
15
|
+
function jn(n) {
|
|
16
|
+
Mn({
|
|
9
17
|
fallbackLocale: "en"
|
|
10
18
|
}), Ln.set(n);
|
|
11
19
|
}
|
|
@@ -39,9 +47,9 @@ const Vt = {
|
|
|
39
47
|
const {
|
|
40
48
|
entries: mn,
|
|
41
49
|
setPrototypeOf: qt,
|
|
42
|
-
isFrozen:
|
|
43
|
-
getPrototypeOf:
|
|
44
|
-
getOwnPropertyDescriptor:
|
|
50
|
+
isFrozen: Xn,
|
|
51
|
+
getPrototypeOf: Vn,
|
|
52
|
+
getOwnPropertyDescriptor: qn
|
|
45
53
|
} = Object;
|
|
46
54
|
let {
|
|
47
55
|
freeze: B,
|
|
@@ -63,15 +71,15 @@ dt || (dt = function(t, o, i) {
|
|
|
63
71
|
ht || (ht = function(t, o) {
|
|
64
72
|
return new t(...o);
|
|
65
73
|
});
|
|
66
|
-
const Ke =
|
|
67
|
-
function
|
|
74
|
+
const Ke = Z(Array.prototype.forEach), Jt = Z(Array.prototype.pop), He = Z(Array.prototype.push), ot = Z(String.prototype.toLowerCase), ct = Z(String.prototype.toString), Zt = Z(String.prototype.match), Be = Z(String.prototype.replace), Jn = Z(String.prototype.indexOf), Zn = Z(String.prototype.trim), re = Z(Object.prototype.hasOwnProperty), H = Z(RegExp.prototype.test), ze = Kn(TypeError);
|
|
75
|
+
function Z(n) {
|
|
68
76
|
return function(t) {
|
|
69
77
|
for (var o = arguments.length, i = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
|
|
70
78
|
i[r - 1] = arguments[r];
|
|
71
79
|
return dt(n, t, i);
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
|
-
function
|
|
82
|
+
function Kn(n) {
|
|
75
83
|
return function() {
|
|
76
84
|
for (var t = arguments.length, o = new Array(t), i = 0; i < t; i++)
|
|
77
85
|
o[i] = arguments[i];
|
|
@@ -86,58 +94,58 @@ function d(n, t) {
|
|
|
86
94
|
let r = t[i];
|
|
87
95
|
if (typeof r == "string") {
|
|
88
96
|
const f = o(r);
|
|
89
|
-
f !== r && (
|
|
97
|
+
f !== r && (Xn(t) || (t[i] = f), r = f);
|
|
90
98
|
}
|
|
91
99
|
n[r] = !0;
|
|
92
100
|
}
|
|
93
101
|
return n;
|
|
94
102
|
}
|
|
95
|
-
function
|
|
103
|
+
function Qn(n) {
|
|
96
104
|
for (let t = 0; t < n.length; t++)
|
|
97
105
|
re(n, t) || (n[t] = null);
|
|
98
106
|
return n;
|
|
99
107
|
}
|
|
100
|
-
function
|
|
108
|
+
function Me(n) {
|
|
101
109
|
const t = pn(null);
|
|
102
110
|
for (const [o, i] of mn(n))
|
|
103
|
-
re(n, o) && (Array.isArray(i) ? t[o] =
|
|
111
|
+
re(n, o) && (Array.isArray(i) ? t[o] = Qn(i) : i && typeof i == "object" && i.constructor === Object ? t[o] = Me(i) : t[o] = i);
|
|
104
112
|
return t;
|
|
105
113
|
}
|
|
106
|
-
function
|
|
114
|
+
function Fe(n, t) {
|
|
107
115
|
for (; n !== null; ) {
|
|
108
|
-
const i =
|
|
116
|
+
const i = qn(n, t);
|
|
109
117
|
if (i) {
|
|
110
118
|
if (i.get)
|
|
111
|
-
return
|
|
119
|
+
return Z(i.get);
|
|
112
120
|
if (typeof i.value == "function")
|
|
113
|
-
return
|
|
121
|
+
return Z(i.value);
|
|
114
122
|
}
|
|
115
|
-
n =
|
|
123
|
+
n = Vn(n);
|
|
116
124
|
}
|
|
117
125
|
function o() {
|
|
118
126
|
return null;
|
|
119
127
|
}
|
|
120
128
|
return o;
|
|
121
129
|
}
|
|
122
|
-
const Kt = 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"]), ut = 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"]), ft = 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"]),
|
|
130
|
+
const Kt = 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"]), ut = 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"]), ft = 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"]), $n = 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"]), mt = 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"]), eo = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = B(["#text"]), $t = 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"]), pt = 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"]), en = 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"]), Qe = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), to = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), no = te(/<%[\w\W]*|[\w\W]*%>/gm), oo = te(/\${[\w\W]*}/gm), io = te(/^data-[\-\w.\u00B7-\uFFFF]/), so = te(/^aria-[\-\w]+$/), dn = te(
|
|
123
131
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
124
132
|
// eslint-disable-line no-useless-escape
|
|
125
|
-
),
|
|
133
|
+
), ro = te(/^(?:\w+script|data):/i), ao = te(
|
|
126
134
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
127
135
|
// eslint-disable-line no-control-regex
|
|
128
|
-
), hn = te(/^html$/i),
|
|
136
|
+
), hn = te(/^html$/i), lo = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
129
137
|
var tn = /* @__PURE__ */ Object.freeze({
|
|
130
138
|
__proto__: null,
|
|
131
|
-
MUSTACHE_EXPR:
|
|
132
|
-
ERB_EXPR:
|
|
133
|
-
TMPLIT_EXPR:
|
|
134
|
-
DATA_ATTR:
|
|
135
|
-
ARIA_ATTR:
|
|
139
|
+
MUSTACHE_EXPR: to,
|
|
140
|
+
ERB_EXPR: no,
|
|
141
|
+
TMPLIT_EXPR: oo,
|
|
142
|
+
DATA_ATTR: io,
|
|
143
|
+
ARIA_ATTR: so,
|
|
136
144
|
IS_ALLOWED_URI: dn,
|
|
137
|
-
IS_SCRIPT_OR_DATA:
|
|
138
|
-
ATTR_WHITESPACE:
|
|
145
|
+
IS_SCRIPT_OR_DATA: ro,
|
|
146
|
+
ATTR_WHITESPACE: ao,
|
|
139
147
|
DOCTYPE_NAME: hn,
|
|
140
|
-
CUSTOM_ELEMENT:
|
|
148
|
+
CUSTOM_ELEMENT: lo
|
|
141
149
|
});
|
|
142
150
|
const Ge = {
|
|
143
151
|
element: 1,
|
|
@@ -146,9 +154,9 @@ const Ge = {
|
|
|
146
154
|
progressingInstruction: 7,
|
|
147
155
|
comment: 8,
|
|
148
156
|
document: 9
|
|
149
|
-
},
|
|
157
|
+
}, co = function() {
|
|
150
158
|
return typeof window == "undefined" ? null : window;
|
|
151
|
-
},
|
|
159
|
+
}, uo = function(t, o) {
|
|
152
160
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
153
161
|
return null;
|
|
154
162
|
let i = null;
|
|
@@ -169,7 +177,7 @@ const Ge = {
|
|
|
169
177
|
}
|
|
170
178
|
};
|
|
171
179
|
function gn() {
|
|
172
|
-
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
180
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : co();
|
|
173
181
|
const t = (c) => gn(c);
|
|
174
182
|
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ge.document)
|
|
175
183
|
return t.isSupported = !1, t;
|
|
@@ -185,8 +193,8 @@ function gn() {
|
|
|
185
193
|
NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
186
194
|
HTMLFormElement: ne,
|
|
187
195
|
DOMParser: Ce,
|
|
188
|
-
trustedTypes:
|
|
189
|
-
} = n,
|
|
196
|
+
trustedTypes: z
|
|
197
|
+
} = n, F = y.prototype, we = Fe(F, "cloneNode"), ae = Fe(F, "remove"), G = Fe(F, "nextSibling"), de = Fe(F, "childNodes"), K = Fe(F, "parentNode");
|
|
190
198
|
if (typeof _ == "function") {
|
|
191
199
|
const c = o.createElement("template");
|
|
192
200
|
c.content && c.content.ownerDocument && (o = c.content.ownerDocument);
|
|
@@ -200,17 +208,17 @@ function gn() {
|
|
|
200
208
|
} = o, {
|
|
201
209
|
importNode: ie
|
|
202
210
|
} = i;
|
|
203
|
-
let
|
|
211
|
+
let v = {};
|
|
204
212
|
t.isSupported = typeof mn == "function" && typeof K == "function" && oe && oe.createHTMLDocument !== void 0;
|
|
205
213
|
const {
|
|
206
214
|
MUSTACHE_EXPR: ce,
|
|
207
215
|
ERB_EXPR: V,
|
|
208
216
|
TMPLIT_EXPR: ge,
|
|
209
217
|
DATA_ATTR: Q,
|
|
210
|
-
ARIA_ATTR:
|
|
218
|
+
ARIA_ATTR: N,
|
|
211
219
|
IS_SCRIPT_OR_DATA: I,
|
|
212
220
|
ATTR_WHITESPACE: $,
|
|
213
|
-
CUSTOM_ELEMENT:
|
|
221
|
+
CUSTOM_ELEMENT: ve
|
|
214
222
|
} = tn;
|
|
215
223
|
let {
|
|
216
224
|
IS_ALLOWED_URI: q
|
|
@@ -237,57 +245,57 @@ function gn() {
|
|
|
237
245
|
enumerable: !0,
|
|
238
246
|
value: !1
|
|
239
247
|
}
|
|
240
|
-
})),
|
|
241
|
-
const
|
|
248
|
+
})), M = null, a = null, h = !0, P = !0, L = !1, Y = !0, _e = !1, ee = !0, ue = !1, w = !1, C = !1, fe = !1, je = !1, Xe = !1, gt = !0, _t = !1;
|
|
249
|
+
const En = "user-content-";
|
|
242
250
|
let it = !0, Ie = !1, Oe = {}, ke = null;
|
|
243
251
|
const Et = 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"]);
|
|
244
252
|
let Tt = null;
|
|
245
253
|
const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
246
254
|
let st = null;
|
|
247
|
-
const
|
|
248
|
-
let
|
|
249
|
-
const
|
|
255
|
+
const bt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ve = "http://www.w3.org/1998/Math/MathML", qe = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
|
|
256
|
+
let Ne = Ee, rt = !1, at = null;
|
|
257
|
+
const Tn = d({}, [Ve, qe, Ee], ct);
|
|
250
258
|
let Pe = null;
|
|
251
|
-
const
|
|
252
|
-
let O = null,
|
|
253
|
-
const wn = o.createElement("form"),
|
|
259
|
+
const yn = ["application/xhtml+xml", "text/html"], bn = "text/html";
|
|
260
|
+
let O = null, De = null;
|
|
261
|
+
const wn = o.createElement("form"), wt = function(e) {
|
|
254
262
|
return e instanceof RegExp || e instanceof Function;
|
|
255
263
|
}, lt = function() {
|
|
256
264
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
257
|
-
if (!(
|
|
258
|
-
if ((!e || typeof e != "object") && (e = {}), e =
|
|
259
|
-
|
|
260
|
-
|
|
265
|
+
if (!(De && De === e)) {
|
|
266
|
+
if ((!e || typeof e != "object") && (e = {}), e = Me(e), Pe = // eslint-disable-next-line unicorn/prefer-includes
|
|
267
|
+
yn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? bn : e.PARSER_MEDIA_TYPE, O = Pe === "application/xhtml+xml" ? ct : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, O) : Se, x = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, O) : Ae, at = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ct) : Tn, st = re(e, "ADD_URI_SAFE_ATTR") ? d(
|
|
268
|
+
Me(bt),
|
|
261
269
|
// eslint-disable-line indent
|
|
262
270
|
e.ADD_URI_SAFE_ATTR,
|
|
263
271
|
// eslint-disable-line indent
|
|
264
272
|
O
|
|
265
273
|
// eslint-disable-line indent
|
|
266
|
-
) :
|
|
267
|
-
|
|
274
|
+
) : bt, Tt = re(e, "ADD_DATA_URI_TAGS") ? d(
|
|
275
|
+
Me(yt),
|
|
268
276
|
// eslint-disable-line indent
|
|
269
277
|
e.ADD_DATA_URI_TAGS,
|
|
270
278
|
// eslint-disable-line indent
|
|
271
279
|
O
|
|
272
280
|
// eslint-disable-line indent
|
|
273
|
-
) : yt, ke = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et,
|
|
281
|
+
) : yt, ke = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, O) : Et, M = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, O) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, O) : {}, Oe = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, h = e.ALLOW_ARIA_ATTR !== !1, P = e.ALLOW_DATA_ATTR !== !1, L = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || dn, Ne = e.NAMESPACE || Ee, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && wt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && wt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (P = !1), je && (fe = !0), Oe && (m = d({}, Qt), x = [], Oe.html === !0 && (d(m, Kt), d(x, $t)), Oe.svg === !0 && (d(m, ut), d(x, pt), d(x, Qe)), Oe.svgFilters === !0 && (d(m, ft), d(x, pt), d(x, Qe)), Oe.mathMl === !0 && (d(m, mt), d(x, en), d(x, Qe))), e.ADD_TAGS && (m === Se && (m = Me(m)), d(m, e.ADD_TAGS, O)), e.ADD_ATTR && (x === Ae && (x = Me(x)), d(x, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && d(st, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ke === Et && (ke = Me(ke)), d(ke, e.FORBID_CONTENTS, O)), it && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete M.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
274
282
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
275
|
-
throw
|
|
283
|
+
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
276
284
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
277
|
-
throw
|
|
285
|
+
throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
278
286
|
g = e.TRUSTED_TYPES_POLICY, A = g.createHTML("");
|
|
279
287
|
} else
|
|
280
|
-
g === void 0 && (g =
|
|
281
|
-
B && B(e),
|
|
288
|
+
g === void 0 && (g = uo(z, r)), g !== null && typeof A == "string" && (A = g.createHTML(""));
|
|
289
|
+
B && B(e), De = e;
|
|
282
290
|
}
|
|
283
|
-
}, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]),
|
|
291
|
+
}, St = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), Sn = d({}, ["title", "style", "font", "a", "script"]), xt = d({}, [...ut, ...ft, ...$n]), Ct = d({}, [...mt, ...eo]), An = function(e) {
|
|
284
292
|
let s = K(e);
|
|
285
293
|
(!s || !s.tagName) && (s = {
|
|
286
|
-
namespaceURI:
|
|
294
|
+
namespaceURI: Ne,
|
|
287
295
|
tagName: "template"
|
|
288
296
|
});
|
|
289
|
-
const l = ot(e.tagName),
|
|
290
|
-
return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI === Ve ? l === "svg" && (
|
|
297
|
+
const l = ot(e.tagName), b = ot(s.tagName);
|
|
298
|
+
return at[e.namespaceURI] ? e.namespaceURI === qe ? s.namespaceURI === Ee ? l === "svg" : s.namespaceURI === Ve ? l === "svg" && (b === "annotation-xml" || St[b]) : !!xt[l] : e.namespaceURI === Ve ? s.namespaceURI === Ee ? l === "math" : s.namespaceURI === qe ? l === "math" && At[b] : !!Ct[l] : e.namespaceURI === Ee ? s.namespaceURI === qe && !At[b] || s.namespaceURI === Ve && !St[b] ? !1 : !Ct[l] && (Sn[l] || !xt[l]) : !!(Pe === "application/xhtml+xml" && at[e.namespaceURI]) : !1;
|
|
291
299
|
}, me = function(e) {
|
|
292
300
|
He(t.removed, {
|
|
293
301
|
element: e
|
|
@@ -297,7 +305,7 @@ function gn() {
|
|
|
297
305
|
} catch (s) {
|
|
298
306
|
ae(e);
|
|
299
307
|
}
|
|
300
|
-
},
|
|
308
|
+
}, Je = function(e, s) {
|
|
301
309
|
try {
|
|
302
310
|
He(t.removed, {
|
|
303
311
|
attribute: s.getAttributeNode(e),
|
|
@@ -320,31 +328,31 @@ function gn() {
|
|
|
320
328
|
s.setAttribute(e, "");
|
|
321
329
|
} catch (l) {
|
|
322
330
|
}
|
|
323
|
-
},
|
|
331
|
+
}, vt = function(e) {
|
|
324
332
|
let s = null, l = null;
|
|
325
333
|
if (C)
|
|
326
334
|
e = "<remove></remove>" + e;
|
|
327
335
|
else {
|
|
328
|
-
const k =
|
|
336
|
+
const k = Zt(e, /^[\r\n\t ]+/);
|
|
329
337
|
l = k && k[0];
|
|
330
338
|
}
|
|
331
|
-
Pe === "application/xhtml+xml" &&
|
|
332
|
-
const
|
|
333
|
-
if (
|
|
339
|
+
Pe === "application/xhtml+xml" && Ne === Ee && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
340
|
+
const b = g ? g.createHTML(e) : e;
|
|
341
|
+
if (Ne === Ee)
|
|
334
342
|
try {
|
|
335
|
-
s = new Ce().parseFromString(
|
|
343
|
+
s = new Ce().parseFromString(b, Pe);
|
|
336
344
|
} catch (k) {
|
|
337
345
|
}
|
|
338
346
|
if (!s || !s.documentElement) {
|
|
339
|
-
s = oe.createDocument(
|
|
347
|
+
s = oe.createDocument(Ne, "template", null);
|
|
340
348
|
try {
|
|
341
|
-
s.documentElement.innerHTML = rt ? A :
|
|
349
|
+
s.documentElement.innerHTML = rt ? A : b;
|
|
342
350
|
} catch (k) {
|
|
343
351
|
}
|
|
344
352
|
}
|
|
345
|
-
const
|
|
346
|
-
return e && l &&
|
|
347
|
-
},
|
|
353
|
+
const D = s.body || s.documentElement;
|
|
354
|
+
return e && l && D.insertBefore(o.createTextNode(l), D.childNodes[0] || null), Ne === Ee ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : D;
|
|
355
|
+
}, Mt = function(e) {
|
|
348
356
|
return le.call(
|
|
349
357
|
e.ownerDocument || e,
|
|
350
358
|
e,
|
|
@@ -352,17 +360,17 @@ function gn() {
|
|
|
352
360
|
E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
|
|
353
361
|
null
|
|
354
362
|
);
|
|
355
|
-
},
|
|
363
|
+
}, Lt = function(e) {
|
|
356
364
|
return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof X) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
357
365
|
}, Rt = function(e) {
|
|
358
366
|
return typeof S == "function" && e instanceof S;
|
|
359
367
|
}, Te = function(e, s, l) {
|
|
360
|
-
|
|
361
|
-
|
|
368
|
+
v[e] && Ke(v[e], (b) => {
|
|
369
|
+
b.call(t, s, l, De);
|
|
362
370
|
});
|
|
363
371
|
}, Ot = function(e) {
|
|
364
372
|
let s = null;
|
|
365
|
-
if (Te("beforeSanitizeElements", e, null),
|
|
373
|
+
if (Te("beforeSanitizeElements", e, null), Lt(e))
|
|
366
374
|
return me(e), !0;
|
|
367
375
|
const l = O(e.nodeName);
|
|
368
376
|
if (Te("uponSanitizeElement", e, {
|
|
@@ -370,23 +378,23 @@ function gn() {
|
|
|
370
378
|
allowedTags: m
|
|
371
379
|
}), e.hasChildNodes() && !Rt(e.firstElementChild) && H(/<[/\w]/g, e.innerHTML) && H(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && H(/<[/\w]/g, e.data))
|
|
372
380
|
return me(e), !0;
|
|
373
|
-
if (!m[l] ||
|
|
374
|
-
if (!
|
|
381
|
+
if (!m[l] || M[l]) {
|
|
382
|
+
if (!M[l] && Nt(l) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
375
383
|
return !1;
|
|
376
384
|
if (it && !ke[l]) {
|
|
377
|
-
const
|
|
378
|
-
if (
|
|
379
|
-
const k =
|
|
385
|
+
const b = K(e) || e.parentNode, D = de(e) || e.childNodes;
|
|
386
|
+
if (D && b) {
|
|
387
|
+
const k = D.length;
|
|
380
388
|
for (let j = k - 1; j >= 0; --j) {
|
|
381
|
-
const pe =
|
|
382
|
-
pe.__removalCount = (e.__removalCount || 0) + 1,
|
|
389
|
+
const pe = we(D[j], !0);
|
|
390
|
+
pe.__removalCount = (e.__removalCount || 0) + 1, b.insertBefore(pe, G(e));
|
|
383
391
|
}
|
|
384
392
|
}
|
|
385
393
|
}
|
|
386
394
|
return me(e), !0;
|
|
387
395
|
}
|
|
388
|
-
return e instanceof y && !
|
|
389
|
-
s = Be(s,
|
|
396
|
+
return e instanceof y && !An(e) || (l === "noscript" || l === "noembed" || l === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Ke([ce, V, ge], (b) => {
|
|
397
|
+
s = Be(s, b, " ");
|
|
390
398
|
}), e.textContent !== s && (He(t.removed, {
|
|
391
399
|
element: e.cloneNode()
|
|
392
400
|
}), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
|
|
@@ -394,21 +402,21 @@ function gn() {
|
|
|
394
402
|
if (gt && (s === "id" || s === "name") && (l in o || l in wn))
|
|
395
403
|
return !1;
|
|
396
404
|
if (!(P && !a[s] && H(Q, s))) {
|
|
397
|
-
if (!(h && H(
|
|
405
|
+
if (!(h && H(N, s))) {
|
|
398
406
|
if (!x[s] || a[s]) {
|
|
399
407
|
if (
|
|
400
408
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
401
409
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
402
410
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
403
|
-
!(
|
|
411
|
+
!(Nt(e) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && H(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
404
412
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
405
413
|
s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
|
|
406
414
|
)
|
|
407
415
|
return !1;
|
|
408
416
|
} else if (!st[s]) {
|
|
409
417
|
if (!H(q, Be(l, $, ""))) {
|
|
410
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" &&
|
|
411
|
-
if (!(
|
|
418
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Jn(l, "data:") === 0 && Tt[e])) {
|
|
419
|
+
if (!(L && !H(I, Be(l, $, "")))) {
|
|
412
420
|
if (l)
|
|
413
421
|
return !1;
|
|
414
422
|
}
|
|
@@ -418,9 +426,9 @@ function gn() {
|
|
|
418
426
|
}
|
|
419
427
|
}
|
|
420
428
|
return !0;
|
|
421
|
-
}, Dt = function(e) {
|
|
422
|
-
return e !== "annotation-xml" && Jt(e, Le);
|
|
423
429
|
}, Nt = function(e) {
|
|
430
|
+
return e !== "annotation-xml" && Zt(e, ve);
|
|
431
|
+
}, Dt = function(e) {
|
|
424
432
|
Te("beforeSanitizeAttributes", e, null);
|
|
425
433
|
const {
|
|
426
434
|
attributes: s
|
|
@@ -433,22 +441,22 @@ function gn() {
|
|
|
433
441
|
keepAttr: !0,
|
|
434
442
|
allowedAttributes: x
|
|
435
443
|
};
|
|
436
|
-
let
|
|
437
|
-
for (;
|
|
438
|
-
const
|
|
444
|
+
let b = s.length;
|
|
445
|
+
for (; b--; ) {
|
|
446
|
+
const D = s[b], {
|
|
439
447
|
name: k,
|
|
440
448
|
namespaceURI: j,
|
|
441
449
|
value: pe
|
|
442
|
-
} =
|
|
443
|
-
let U = k === "value" ? pe :
|
|
450
|
+
} = D, Ue = O(k);
|
|
451
|
+
let U = k === "value" ? pe : Zn(pe);
|
|
444
452
|
if (l.attrName = Ue, l.attrValue = U, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), U = l.attrValue, ee && H(/((--!?|])>)|<\/(style|title)/i, U)) {
|
|
445
|
-
|
|
453
|
+
Je(k, e);
|
|
446
454
|
continue;
|
|
447
455
|
}
|
|
448
|
-
if (l.forceKeepAttr || (
|
|
456
|
+
if (l.forceKeepAttr || (Je(k, e), !l.keepAttr))
|
|
449
457
|
continue;
|
|
450
458
|
if (!Y && H(/\/>/i, U)) {
|
|
451
|
-
|
|
459
|
+
Je(k, e);
|
|
452
460
|
continue;
|
|
453
461
|
}
|
|
454
462
|
_e && Ke([ce, V, ge], (Pt) => {
|
|
@@ -456,8 +464,8 @@ function gn() {
|
|
|
456
464
|
});
|
|
457
465
|
const It = O(e.nodeName);
|
|
458
466
|
if (kt(It, Ue, U)) {
|
|
459
|
-
if (_t && (Ue === "id" || Ue === "name") && (
|
|
460
|
-
switch (
|
|
467
|
+
if (_t && (Ue === "id" || Ue === "name") && (Je(k, e), U = En + U), g && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
|
|
468
|
+
switch (z.getAttributeType(It, Ue)) {
|
|
461
469
|
case "TrustedHTML": {
|
|
462
470
|
U = g.createHTML(U);
|
|
463
471
|
break;
|
|
@@ -468,57 +476,57 @@ function gn() {
|
|
|
468
476
|
}
|
|
469
477
|
}
|
|
470
478
|
try {
|
|
471
|
-
j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U),
|
|
479
|
+
j ? e.setAttributeNS(j, k, U) : e.setAttribute(k, U), Lt(e) ? me(e) : Jt(t.removed);
|
|
472
480
|
} catch (Pt) {
|
|
473
481
|
}
|
|
474
482
|
}
|
|
475
483
|
}
|
|
476
484
|
Te("afterSanitizeAttributes", e, null);
|
|
477
|
-
},
|
|
485
|
+
}, xn = function c(e) {
|
|
478
486
|
let s = null;
|
|
479
|
-
const l =
|
|
487
|
+
const l = Mt(e);
|
|
480
488
|
for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
481
|
-
Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content),
|
|
489
|
+
Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), Dt(s));
|
|
482
490
|
Te("afterSanitizeShadowDOM", e, null);
|
|
483
491
|
};
|
|
484
492
|
return t.sanitize = function(c) {
|
|
485
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null,
|
|
493
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, b = null, D = null;
|
|
486
494
|
if (rt = !c, rt && (c = "<!-->"), typeof c != "string" && !Rt(c))
|
|
487
495
|
if (typeof c.toString == "function") {
|
|
488
496
|
if (c = c.toString(), typeof c != "string")
|
|
489
|
-
throw
|
|
497
|
+
throw ze("dirty is not a string, aborting");
|
|
490
498
|
} else
|
|
491
|
-
throw
|
|
499
|
+
throw ze("toString is not a function");
|
|
492
500
|
if (!t.isSupported)
|
|
493
501
|
return c;
|
|
494
|
-
if (
|
|
502
|
+
if (w || lt(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
|
|
495
503
|
if (c.nodeName) {
|
|
496
504
|
const pe = O(c.nodeName);
|
|
497
|
-
if (!m[pe] ||
|
|
498
|
-
throw
|
|
505
|
+
if (!m[pe] || M[pe])
|
|
506
|
+
throw ze("root node is forbidden and cannot be sanitized in-place");
|
|
499
507
|
}
|
|
500
508
|
} else if (c instanceof S)
|
|
501
|
-
s =
|
|
509
|
+
s = vt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
502
510
|
else {
|
|
503
511
|
if (!fe && !_e && !ue && // eslint-disable-next-line unicorn/prefer-includes
|
|
504
512
|
c.indexOf("<") === -1)
|
|
505
513
|
return g && Xe ? g.createHTML(c) : c;
|
|
506
|
-
if (s =
|
|
514
|
+
if (s = vt(c), !s)
|
|
507
515
|
return fe ? null : Xe ? A : "";
|
|
508
516
|
}
|
|
509
517
|
s && C && me(s.firstChild);
|
|
510
|
-
const k =
|
|
511
|
-
for (;
|
|
512
|
-
Ot(
|
|
518
|
+
const k = Mt(Ie ? c : s);
|
|
519
|
+
for (; b = k.nextNode(); )
|
|
520
|
+
Ot(b) || (b.content instanceof f && xn(b.content), Dt(b));
|
|
513
521
|
if (Ie)
|
|
514
522
|
return c;
|
|
515
523
|
if (fe) {
|
|
516
524
|
if (je)
|
|
517
|
-
for (
|
|
518
|
-
|
|
525
|
+
for (D = he.call(s.ownerDocument); s.firstChild; )
|
|
526
|
+
D.appendChild(s.firstChild);
|
|
519
527
|
else
|
|
520
|
-
|
|
521
|
-
return (x.shadowroot || x.shadowrootmode) && (
|
|
528
|
+
D = s;
|
|
529
|
+
return (x.shadowroot || x.shadowrootmode) && (D = ie.call(i, D, !0)), D;
|
|
522
530
|
}
|
|
523
531
|
let j = ue ? s.outerHTML : s.innerHTML;
|
|
524
532
|
return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(hn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
@@ -527,37 +535,37 @@ function gn() {
|
|
|
527
535
|
}), g && Xe ? g.createHTML(j) : j;
|
|
528
536
|
}, t.setConfig = function() {
|
|
529
537
|
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
530
|
-
lt(c),
|
|
538
|
+
lt(c), w = !0;
|
|
531
539
|
}, t.clearConfig = function() {
|
|
532
|
-
|
|
540
|
+
De = null, w = !1;
|
|
533
541
|
}, t.isValidAttribute = function(c, e, s) {
|
|
534
|
-
|
|
535
|
-
const l = O(c),
|
|
536
|
-
return kt(l,
|
|
542
|
+
De || lt({});
|
|
543
|
+
const l = O(c), b = O(e);
|
|
544
|
+
return kt(l, b, s);
|
|
537
545
|
}, t.addHook = function(c, e) {
|
|
538
|
-
typeof e == "function" && (
|
|
546
|
+
typeof e == "function" && (v[c] = v[c] || [], He(v[c], e));
|
|
539
547
|
}, t.removeHook = function(c) {
|
|
540
|
-
if (
|
|
541
|
-
return
|
|
548
|
+
if (v[c])
|
|
549
|
+
return Jt(v[c]);
|
|
542
550
|
}, t.removeHooks = function(c) {
|
|
543
|
-
|
|
551
|
+
v[c] && (v[c] = []);
|
|
544
552
|
}, t.removeAllHooks = function() {
|
|
545
|
-
|
|
553
|
+
v = {};
|
|
546
554
|
}, t;
|
|
547
555
|
}
|
|
548
556
|
var nn = gn();
|
|
549
|
-
function
|
|
550
|
-
|
|
557
|
+
function fo(n) {
|
|
558
|
+
Nn(n, "svelte-1kjup2o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
|
|
551
559
|
}
|
|
552
|
-
const
|
|
560
|
+
const mo = (n) => ({}), on = (n) => ({}), po = (n) => ({}), sn = (n) => ({}), ho = (n) => ({}), rn = (n) => ({}), go = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
553
561
|
function ln(n) {
|
|
554
|
-
let t, o, i, r, f, _, S, y, E, X, ne, Ce,
|
|
562
|
+
let t, o, i, r, f, _, S, y, E, X, ne, Ce, z = (
|
|
555
563
|
/*$_*/
|
|
556
564
|
n[8]("sessionExpirationHeader") + ""
|
|
557
|
-
),
|
|
565
|
+
), F, we, ae, G, de, K, g, A, oe, le, he, W, ie, v, ce = (
|
|
558
566
|
/*$_*/
|
|
559
567
|
n[8]("sessionExpirationEnd") + ""
|
|
560
|
-
), V, ge, Q,
|
|
568
|
+
), V, ge, Q, N, I, $, ve, q, m, Se, x;
|
|
561
569
|
const Ae = (
|
|
562
570
|
/*#slots*/
|
|
563
571
|
n[23].icon
|
|
@@ -567,7 +575,7 @@ function ln(n) {
|
|
|
567
575
|
/*$$scope*/
|
|
568
576
|
n[22],
|
|
569
577
|
an
|
|
570
|
-
),
|
|
578
|
+
), M = T || _o(n), a = (
|
|
571
579
|
/*#slots*/
|
|
572
580
|
n[23].title
|
|
573
581
|
), h = $e(
|
|
@@ -579,52 +587,52 @@ function ln(n) {
|
|
|
579
587
|
), P = (
|
|
580
588
|
/*#slots*/
|
|
581
589
|
n[23].text
|
|
582
|
-
),
|
|
590
|
+
), L = $e(
|
|
583
591
|
P,
|
|
584
592
|
n,
|
|
585
593
|
/*$$scope*/
|
|
586
594
|
n[22],
|
|
587
595
|
sn
|
|
588
|
-
), Y =
|
|
589
|
-
function ue(
|
|
596
|
+
), Y = L || Eo(n), _e = [yo, To], ee = [];
|
|
597
|
+
function ue(w, C) {
|
|
590
598
|
return (
|
|
591
599
|
/*showLoaderButton*/
|
|
592
|
-
|
|
600
|
+
w[6] ? 0 : 1
|
|
593
601
|
);
|
|
594
602
|
}
|
|
595
|
-
return
|
|
603
|
+
return N = ue(n), I = ee[N] = _e[N](n), {
|
|
596
604
|
c() {
|
|
597
|
-
t = R("div"), o = R("div"), i = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), y = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = ye(),
|
|
598
|
-
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"),
|
|
605
|
+
t = R("div"), o = R("div"), i = R("div"), r = R("div"), f = se("svg"), _ = se("defs"), S = se("mask"), y = se("circle"), E = se("rect"), X = se("circle"), ne = se("circle"), Ce = ye(), F = Ye(z), we = ye(), ae = R("div"), G = se("svg"), de = se("path"), K = ye(), g = R("div"), A = R("div"), M && M.c(), oe = ye(), h && h.c(), le = ye(), Y && Y.c(), he = ye(), W = R("div"), ie = R("button"), v = R("span"), V = Ye(ce), ge = ye(), Q = R("button"), I.c(), u(y, "cx", "100"), u(y, "cy", "100"), u(y, "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(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "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(ae, "class", "ModalCloseIcon"), u(i, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(ie, "type", "button"), u(ie, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
|
|
606
|
+
(n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(A, "class", "CashierSessionExpiration"), u(g, "class", "CashierSessionExpirationModalContainer"), u(o, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
599
607
|
/*div7_elementresize_handler*/
|
|
600
608
|
n[25].call(t)
|
|
601
609
|
));
|
|
602
610
|
},
|
|
603
|
-
m(
|
|
604
|
-
Re(
|
|
611
|
+
m(w, C) {
|
|
612
|
+
Re(w, t, C), p(t, o), p(o, i), p(i, r), p(r, f), p(f, _), p(_, S), p(S, y), p(S, E), p(S, X), p(f, ne), p(r, Ce), p(r, F), p(i, we), p(i, ae), p(ae, G), p(G, de), p(o, K), p(o, g), p(g, A), M && M.m(A, null), p(A, oe), h && h.m(A, null), p(A, le), Y && Y.m(A, null), p(A, he), p(A, W), p(W, ie), p(ie, v), p(v, V), p(W, ge), p(W, Q), ee[N].m(Q, null), n[24](A), ve = Hn(
|
|
605
613
|
t,
|
|
606
614
|
/*div7_elementresize_handler*/
|
|
607
615
|
n[25].bind(t)
|
|
608
616
|
), m = !0, Se || (x = [
|
|
609
|
-
|
|
617
|
+
Ze(
|
|
610
618
|
G,
|
|
611
619
|
"click",
|
|
612
620
|
/*goToHome*/
|
|
613
621
|
n[11]
|
|
614
622
|
),
|
|
615
|
-
|
|
623
|
+
Ze(
|
|
616
624
|
ie,
|
|
617
625
|
"click",
|
|
618
626
|
/*goToHome*/
|
|
619
627
|
n[11]
|
|
620
628
|
),
|
|
621
|
-
|
|
629
|
+
Ze(
|
|
622
630
|
Q,
|
|
623
631
|
"click",
|
|
624
632
|
/*renewSession*/
|
|
625
633
|
n[9]
|
|
626
634
|
),
|
|
627
|
-
|
|
635
|
+
Ze(
|
|
628
636
|
t,
|
|
629
637
|
"click",
|
|
630
638
|
/*outOfModalClick*/
|
|
@@ -632,10 +640,10 @@ function ln(n) {
|
|
|
632
640
|
)
|
|
633
641
|
], Se = !0);
|
|
634
642
|
},
|
|
635
|
-
p(
|
|
636
|
-
n =
|
|
637
|
-
256) &&
|
|
638
|
-
n[8]("sessionExpirationHeader") + "") && We(
|
|
643
|
+
p(w, C) {
|
|
644
|
+
n = w, (!m || C[0] & /*$_*/
|
|
645
|
+
256) && z !== (z = /*$_*/
|
|
646
|
+
n[8]("sessionExpirationHeader") + "") && We(F, z), T ? T.p && (!m || C[0] & /*$$scope*/
|
|
639
647
|
4194304) && et(
|
|
640
648
|
T,
|
|
641
649
|
Ae,
|
|
@@ -647,14 +655,14 @@ function ln(n) {
|
|
|
647
655
|
/*$$scope*/
|
|
648
656
|
n[22],
|
|
649
657
|
C,
|
|
650
|
-
|
|
658
|
+
go
|
|
651
659
|
) : tt(
|
|
652
660
|
/*$$scope*/
|
|
653
661
|
n[22]
|
|
654
662
|
),
|
|
655
663
|
an
|
|
656
|
-
) :
|
|
657
|
-
8) &&
|
|
664
|
+
) : M && M.p && (!m || C[0] & /*assetsurl*/
|
|
665
|
+
8) && M.p(n, m ? C : [-1, -1]), h && h.p && (!m || C[0] & /*$$scope*/
|
|
658
666
|
4194304) && et(
|
|
659
667
|
h,
|
|
660
668
|
a,
|
|
@@ -666,15 +674,15 @@ function ln(n) {
|
|
|
666
674
|
/*$$scope*/
|
|
667
675
|
n[22],
|
|
668
676
|
C,
|
|
669
|
-
|
|
677
|
+
ho
|
|
670
678
|
) : tt(
|
|
671
679
|
/*$$scope*/
|
|
672
680
|
n[22]
|
|
673
681
|
),
|
|
674
682
|
rn
|
|
675
|
-
),
|
|
683
|
+
), L ? L.p && (!m || C[0] & /*$$scope*/
|
|
676
684
|
4194304) && et(
|
|
677
|
-
|
|
685
|
+
L,
|
|
678
686
|
P,
|
|
679
687
|
n,
|
|
680
688
|
/*$$scope*/
|
|
@@ -684,7 +692,7 @@ function ln(n) {
|
|
|
684
692
|
/*$$scope*/
|
|
685
693
|
n[22],
|
|
686
694
|
C,
|
|
687
|
-
|
|
695
|
+
po
|
|
688
696
|
) : tt(
|
|
689
697
|
/*$$scope*/
|
|
690
698
|
n[22]
|
|
@@ -694,29 +702,29 @@ function ln(n) {
|
|
|
694
702
|
384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
|
|
695
703
|
256) && ce !== (ce = /*$_*/
|
|
696
704
|
n[8]("sessionExpirationEnd") + "") && We(V, ce);
|
|
697
|
-
let fe =
|
|
698
|
-
|
|
705
|
+
let fe = N;
|
|
706
|
+
N = ue(n), N === fe ? ee[N].p(n, C) : (un(), xe(ee[fe], 1, 1, () => {
|
|
699
707
|
ee[fe] = null;
|
|
700
|
-
}), fn(), I = ee[
|
|
708
|
+
}), fn(), I = ee[N], I ? I.p(n, C) : (I = ee[N] = _e[N](n), I.c()), be(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
|
|
701
709
|
64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
|
|
702
710
|
(n[6] ? "Disabled" : ""))) && u(Q, "class", $);
|
|
703
711
|
},
|
|
704
|
-
i(
|
|
705
|
-
m || (
|
|
706
|
-
m && (q || (q =
|
|
712
|
+
i(w) {
|
|
713
|
+
m || (be(M, w), be(h, w), be(Y, w), be(I), w && zt(() => {
|
|
714
|
+
m && (q || (q = Bt(t, jt, { duration: (
|
|
707
715
|
/*duration*/
|
|
708
716
|
n[2]
|
|
709
717
|
) }, !0)), q.run(1));
|
|
710
718
|
}), m = !0);
|
|
711
719
|
},
|
|
712
|
-
o(
|
|
713
|
-
xe(
|
|
720
|
+
o(w) {
|
|
721
|
+
xe(M, w), xe(h, w), xe(Y, w), xe(I), w && (q || (q = Bt(t, jt, { duration: (
|
|
714
722
|
/*duration*/
|
|
715
723
|
n[2]
|
|
716
724
|
) }, !1)), q.run(0)), m = !1;
|
|
717
725
|
},
|
|
718
|
-
d(
|
|
719
|
-
|
|
726
|
+
d(w) {
|
|
727
|
+
w && Le(t), M && M.d(w), h && h.d(w), Y && Y.d(w), ee[N].d(), n[24](null), ve(), w && q && q.end(), Se = !1, Un(x);
|
|
720
728
|
}
|
|
721
729
|
};
|
|
722
730
|
}
|
|
@@ -724,7 +732,7 @@ function cn(n) {
|
|
|
724
732
|
let t, o;
|
|
725
733
|
return {
|
|
726
734
|
c() {
|
|
727
|
-
t = R("img"),
|
|
735
|
+
t = R("img"), Yt(t.src, o = `${/*assetsurl*/
|
|
728
736
|
n[3]}/set-timeout-icon.png`) || u(t, "src", o), u(t, "width", "300px"), u(t, "alt", "error");
|
|
729
737
|
},
|
|
730
738
|
m(i, r) {
|
|
@@ -732,22 +740,22 @@ function cn(n) {
|
|
|
732
740
|
},
|
|
733
741
|
p(i, r) {
|
|
734
742
|
r[0] & /*assetsurl*/
|
|
735
|
-
8 && !
|
|
743
|
+
8 && !Yt(t.src, o = `${/*assetsurl*/
|
|
736
744
|
i[3]}/set-timeout-icon.png`) && u(t, "src", o);
|
|
737
745
|
},
|
|
738
746
|
d(i) {
|
|
739
|
-
i &&
|
|
747
|
+
i && Le(t);
|
|
740
748
|
}
|
|
741
749
|
};
|
|
742
750
|
}
|
|
743
|
-
function
|
|
751
|
+
function _o(n) {
|
|
744
752
|
let t, o = (
|
|
745
753
|
/*assetsurl*/
|
|
746
754
|
n[3] && cn(n)
|
|
747
755
|
);
|
|
748
756
|
return {
|
|
749
757
|
c() {
|
|
750
|
-
o && o.c(), t =
|
|
758
|
+
o && o.c(), t = Bn();
|
|
751
759
|
},
|
|
752
760
|
m(i, r) {
|
|
753
761
|
o && o.m(i, r), Re(i, t, r);
|
|
@@ -757,11 +765,11 @@ function ho(n) {
|
|
|
757
765
|
i[3] ? o ? o.p(i, r) : (o = cn(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
758
766
|
},
|
|
759
767
|
d(i) {
|
|
760
|
-
i &&
|
|
768
|
+
i && Le(t), o && o.d(i);
|
|
761
769
|
}
|
|
762
770
|
};
|
|
763
771
|
}
|
|
764
|
-
function
|
|
772
|
+
function Eo(n) {
|
|
765
773
|
let t, o, i = (
|
|
766
774
|
/*$_*/
|
|
767
775
|
n[8]("sessionExpirationTitle") + ""
|
|
@@ -792,11 +800,11 @@ function go(n) {
|
|
|
792
800
|
) + "") && (_.innerHTML = S);
|
|
793
801
|
},
|
|
794
802
|
d(y) {
|
|
795
|
-
y &&
|
|
803
|
+
y && Le(t);
|
|
796
804
|
}
|
|
797
805
|
};
|
|
798
806
|
}
|
|
799
|
-
function
|
|
807
|
+
function To(n) {
|
|
800
808
|
let t;
|
|
801
809
|
const o = (
|
|
802
810
|
/*#slots*/
|
|
@@ -807,7 +815,7 @@ function _o(n) {
|
|
|
807
815
|
/*$$scope*/
|
|
808
816
|
n[22],
|
|
809
817
|
on
|
|
810
|
-
), r = i ||
|
|
818
|
+
), r = i || bo(n);
|
|
811
819
|
return {
|
|
812
820
|
c() {
|
|
813
821
|
r && r.c();
|
|
@@ -828,7 +836,7 @@ function _o(n) {
|
|
|
828
836
|
/*$$scope*/
|
|
829
837
|
f[22],
|
|
830
838
|
_,
|
|
831
|
-
|
|
839
|
+
mo
|
|
832
840
|
) : tt(
|
|
833
841
|
/*$$scope*/
|
|
834
842
|
f[22]
|
|
@@ -838,7 +846,7 @@ function _o(n) {
|
|
|
838
846
|
256) && r.p(f, t ? _ : [-1, -1]);
|
|
839
847
|
},
|
|
840
848
|
i(f) {
|
|
841
|
-
t || (
|
|
849
|
+
t || (be(r, f), t = !0);
|
|
842
850
|
},
|
|
843
851
|
o(f) {
|
|
844
852
|
xe(r, f), t = !1;
|
|
@@ -848,7 +856,7 @@ function _o(n) {
|
|
|
848
856
|
}
|
|
849
857
|
};
|
|
850
858
|
}
|
|
851
|
-
function
|
|
859
|
+
function yo(n) {
|
|
852
860
|
let t, o, i, r, f, _ = (
|
|
853
861
|
/*$_*/
|
|
854
862
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
@@ -865,14 +873,14 @@ function Eo(n) {
|
|
|
865
873
|
256 && _ !== (_ = /*$_*/
|
|
866
874
|
y[8]("sessionExpirationLoadingButton") + "") && We(S, _);
|
|
867
875
|
},
|
|
868
|
-
i:
|
|
869
|
-
o:
|
|
876
|
+
i: Wt,
|
|
877
|
+
o: Wt,
|
|
870
878
|
d(y) {
|
|
871
|
-
y &&
|
|
879
|
+
y && Le(t);
|
|
872
880
|
}
|
|
873
881
|
};
|
|
874
882
|
}
|
|
875
|
-
function
|
|
883
|
+
function bo(n) {
|
|
876
884
|
let t, o = (
|
|
877
885
|
/*$_*/
|
|
878
886
|
n[8]("sessionExpirationGeneralButton") + ""
|
|
@@ -890,11 +898,11 @@ function To(n) {
|
|
|
890
898
|
r[8]("sessionExpirationGeneralButton") + "") && We(i, o);
|
|
891
899
|
},
|
|
892
900
|
d(r) {
|
|
893
|
-
r &&
|
|
901
|
+
r && Le(t);
|
|
894
902
|
}
|
|
895
903
|
};
|
|
896
904
|
}
|
|
897
|
-
function
|
|
905
|
+
function wo(n) {
|
|
898
906
|
let t, o, i = (
|
|
899
907
|
/*show*/
|
|
900
908
|
n[5] && ln(n)
|
|
@@ -909,28 +917,28 @@ function yo(n) {
|
|
|
909
917
|
p(r, f) {
|
|
910
918
|
/*show*/
|
|
911
919
|
r[5] ? i ? (i.p(r, f), f[0] & /*show*/
|
|
912
|
-
32 &&
|
|
920
|
+
32 && be(i, 1)) : (i = ln(r), i.c(), be(i, 1), i.m(t, null)) : i && (un(), xe(i, 1, 1, () => {
|
|
913
921
|
i = null;
|
|
914
922
|
}), fn());
|
|
915
923
|
},
|
|
916
924
|
i(r) {
|
|
917
|
-
o || (
|
|
925
|
+
o || (be(i), o = !0);
|
|
918
926
|
},
|
|
919
927
|
o(r) {
|
|
920
928
|
xe(i), o = !1;
|
|
921
929
|
},
|
|
922
930
|
d(r) {
|
|
923
|
-
r &&
|
|
931
|
+
r && Le(t), i && i.d(), n[26](null);
|
|
924
932
|
}
|
|
925
933
|
};
|
|
926
934
|
}
|
|
927
|
-
const
|
|
928
|
-
function
|
|
935
|
+
const So = 90;
|
|
936
|
+
function Ao(n, t, o) {
|
|
929
937
|
let i, r;
|
|
930
|
-
Ut(n,
|
|
938
|
+
Ut(n, Ft, (a) => o(21, i = a)), Ut(n, Fn, (a) => o(8, r = a));
|
|
931
939
|
let { $$slots: f = {}, $$scope: _ } = t;
|
|
932
|
-
|
|
933
|
-
let { clientstyling: S = "" } = t, { clientstylingurl: y = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang:
|
|
940
|
+
Ht.extend(Dn);
|
|
941
|
+
let { clientstyling: S = "" } = t, { clientstylingurl: y = "" } = t, { width: E } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: z = "en" } = t, { translationurl: F = "" } = t, { endpoint: we } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, g, A = !1, oe = !1, le, he, W, ie, v, ce;
|
|
934
942
|
var V;
|
|
935
943
|
(function(a) {
|
|
936
944
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
@@ -943,11 +951,11 @@ function bo(n, t, o) {
|
|
|
943
951
|
} catch (h) {
|
|
944
952
|
return null;
|
|
945
953
|
}
|
|
946
|
-
},
|
|
954
|
+
}, N = () => {
|
|
947
955
|
window.postMessage(
|
|
948
956
|
{
|
|
949
957
|
type: "ErrorResponseCode",
|
|
950
|
-
errorResponseCode:
|
|
958
|
+
errorResponseCode: v
|
|
951
959
|
},
|
|
952
960
|
window.location.href
|
|
953
961
|
);
|
|
@@ -957,17 +965,17 @@ function bo(n, t, o) {
|
|
|
957
965
|
h && (he = h == null ? void 0 : h.exp, o(7, le = he), W && clearInterval(W), W = setInterval(
|
|
958
966
|
() => {
|
|
959
967
|
const P = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
960
|
-
o(7, le = he - P), le <=
|
|
968
|
+
o(7, le = he - P), le <= So && o(5, A = !0), P >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
961
969
|
},
|
|
962
970
|
1e3
|
|
963
971
|
));
|
|
964
972
|
}, $ = () => {
|
|
965
973
|
o(7, le = 0), o(5, A = !1), clearInterval(W);
|
|
966
|
-
},
|
|
974
|
+
}, ve = () => {
|
|
967
975
|
if (oe)
|
|
968
976
|
return;
|
|
969
|
-
const a = new URL(`${
|
|
970
|
-
o(6, oe = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp",
|
|
977
|
+
const a = new URL(`${we}/v1/player/${G}/payment/GetPaymentMethod`), h = new Headers();
|
|
978
|
+
o(6, oe = !0), h.append("accept", "application/json"), h.append("Content-Type", "application/json"), h.append("X-Client-Request-Timestamp", Ht.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
971
979
|
const P = {
|
|
972
980
|
method: "POST",
|
|
973
981
|
mode: "cors",
|
|
@@ -978,32 +986,32 @@ function bo(n, t, o) {
|
|
|
978
986
|
XPaymentSessionToken: i
|
|
979
987
|
})
|
|
980
988
|
};
|
|
981
|
-
fetch(a, P).then((
|
|
982
|
-
if (
|
|
989
|
+
fetch(a, P).then((L) => L.json()).then((L) => {
|
|
990
|
+
if (L.error) {
|
|
983
991
|
window.postMessage(
|
|
984
992
|
{
|
|
985
993
|
type: "ShowSessionError",
|
|
986
|
-
error:
|
|
994
|
+
error: L.error
|
|
987
995
|
},
|
|
988
996
|
window.location.href
|
|
989
997
|
), $();
|
|
990
998
|
return;
|
|
991
999
|
}
|
|
992
|
-
if (
|
|
993
|
-
|
|
1000
|
+
if (L.ResponseCode === V.PlayerSessionIsNotValid || L.ResponseCode === V.JwtTokenError) {
|
|
1001
|
+
v = L.ResponseCode, $(), N();
|
|
994
1002
|
return;
|
|
995
1003
|
}
|
|
996
|
-
if (
|
|
997
|
-
|
|
1004
|
+
if (L.ResponseCode !== V.Success) {
|
|
1005
|
+
v = L.ResponseCode, $();
|
|
998
1006
|
return;
|
|
999
1007
|
}
|
|
1000
|
-
|
|
1008
|
+
L.XPaymentSessionToken && Ft.set(L.XPaymentSessionToken);
|
|
1001
1009
|
}).finally(() => o(6, oe = !1));
|
|
1002
1010
|
}, q = (a) => {
|
|
1003
1011
|
const h = a.currentTarget;
|
|
1004
|
-
a.target === h &&
|
|
1012
|
+
a.target === h && ve();
|
|
1005
1013
|
}, m = () => {
|
|
1006
|
-
fetch(
|
|
1014
|
+
fetch(F).then((h) => h.json()).then((h) => {
|
|
1007
1015
|
Object.keys(h).forEach((P) => {
|
|
1008
1016
|
Xt(P, h[P]);
|
|
1009
1017
|
});
|
|
@@ -1017,36 +1025,36 @@ function bo(n, t, o) {
|
|
|
1017
1025
|
Xt(a, Vt[a]);
|
|
1018
1026
|
});
|
|
1019
1027
|
const x = () => {
|
|
1020
|
-
|
|
1028
|
+
jn(z);
|
|
1021
1029
|
};
|
|
1022
|
-
|
|
1030
|
+
In(() => (window.addEventListener("message", ge, !1), () => {
|
|
1023
1031
|
window.removeEventListener("message", ge);
|
|
1024
|
-
})),
|
|
1032
|
+
})), Pn(() => {
|
|
1025
1033
|
clearInterval(W);
|
|
1026
1034
|
});
|
|
1027
1035
|
function Ae(a) {
|
|
1028
|
-
|
|
1036
|
+
Gt[a ? "unshift" : "push"](() => {
|
|
1029
1037
|
g = a, o(4, g);
|
|
1030
1038
|
});
|
|
1031
1039
|
}
|
|
1032
1040
|
function T() {
|
|
1033
1041
|
E = this.clientWidth, X = this.clientHeight, o(0, E), o(1, X);
|
|
1034
1042
|
}
|
|
1035
|
-
function
|
|
1036
|
-
|
|
1043
|
+
function M(a) {
|
|
1044
|
+
Gt[a ? "unshift" : "push"](() => {
|
|
1037
1045
|
g = a, o(4, g);
|
|
1038
1046
|
});
|
|
1039
1047
|
}
|
|
1040
1048
|
return n.$$set = (a) => {
|
|
1041
|
-
"clientstyling" in a && o(12, S = a.clientstyling), "clientstylingurl" in a && o(13, y = a.clientstylingurl), "width" in a && o(0, E = a.width), "height" in a && o(1, X = a.height), "duration" in a && o(2, ne = a.duration), "assetsurl" in a && o(3, Ce = a.assetsurl), "lang" in a && o(14,
|
|
1049
|
+
"clientstyling" in a && o(12, S = a.clientstyling), "clientstylingurl" in a && o(13, y = a.clientstylingurl), "width" in a && o(0, E = a.width), "height" in a && o(1, X = a.height), "duration" in a && o(2, ne = a.duration), "assetsurl" in a && o(3, Ce = a.assetsurl), "lang" in a && o(14, z = a.lang), "translationurl" in a && o(15, F = a.translationurl), "endpoint" in a && o(16, we = a.endpoint), "currency" in a && o(17, ae = a.currency), "customerid" in a && o(18, G = a.customerid), "selectedpaymentmethodname" in a && o(19, de = a.selectedpaymentmethodname), "mbsource" in a && o(20, K = a.mbsource), "$$scope" in a && o(22, _ = a.$$scope);
|
|
1042
1050
|
}, n.$$.update = () => {
|
|
1043
1051
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1044
1052
|
2097152 && I(i), n.$$.dirty[0] & /*lang*/
|
|
1045
|
-
16384 &&
|
|
1046
|
-
4112 && S && g &&
|
|
1047
|
-
8208 && y && g &&
|
|
1048
|
-
1048592 && K && g &&
|
|
1049
|
-
32768 &&
|
|
1053
|
+
16384 && z && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1054
|
+
4112 && S && g && Gn(g, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1055
|
+
8208 && y && g && Wn(g, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1056
|
+
1048592 && K && g && Yn(g, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
|
|
1057
|
+
32768 && F && m();
|
|
1050
1058
|
}, [
|
|
1051
1059
|
E,
|
|
1052
1060
|
X,
|
|
@@ -1057,14 +1065,14 @@ function bo(n, t, o) {
|
|
|
1057
1065
|
oe,
|
|
1058
1066
|
le,
|
|
1059
1067
|
r,
|
|
1060
|
-
|
|
1068
|
+
ve,
|
|
1061
1069
|
q,
|
|
1062
1070
|
Se,
|
|
1063
1071
|
S,
|
|
1064
1072
|
y,
|
|
1065
|
-
F,
|
|
1066
1073
|
z,
|
|
1067
|
-
|
|
1074
|
+
F,
|
|
1075
|
+
we,
|
|
1068
1076
|
ae,
|
|
1069
1077
|
G,
|
|
1070
1078
|
de,
|
|
@@ -1074,17 +1082,17 @@ function bo(n, t, o) {
|
|
|
1074
1082
|
f,
|
|
1075
1083
|
Ae,
|
|
1076
1084
|
T,
|
|
1077
|
-
|
|
1085
|
+
M
|
|
1078
1086
|
];
|
|
1079
1087
|
}
|
|
1080
|
-
class
|
|
1088
|
+
class _n extends Rn {
|
|
1081
1089
|
constructor(t) {
|
|
1082
|
-
super(),
|
|
1090
|
+
super(), On(
|
|
1083
1091
|
this,
|
|
1084
1092
|
t,
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1093
|
+
Ao,
|
|
1094
|
+
wo,
|
|
1095
|
+
kn,
|
|
1088
1096
|
{
|
|
1089
1097
|
clientstyling: 12,
|
|
1090
1098
|
clientstylingurl: 13,
|
|
@@ -1100,7 +1108,7 @@ class So extends vn {
|
|
|
1100
1108
|
selectedpaymentmethodname: 19,
|
|
1101
1109
|
mbsource: 20
|
|
1102
1110
|
},
|
|
1103
|
-
|
|
1111
|
+
fo,
|
|
1104
1112
|
[-1, -1]
|
|
1105
1113
|
);
|
|
1106
1114
|
}
|
|
@@ -1108,82 +1116,87 @@ class So extends vn {
|
|
|
1108
1116
|
return this.$$.ctx[12];
|
|
1109
1117
|
}
|
|
1110
1118
|
set clientstyling(t) {
|
|
1111
|
-
this.$$set({ clientstyling: t }),
|
|
1119
|
+
this.$$set({ clientstyling: t }), J();
|
|
1112
1120
|
}
|
|
1113
1121
|
get clientstylingurl() {
|
|
1114
1122
|
return this.$$.ctx[13];
|
|
1115
1123
|
}
|
|
1116
1124
|
set clientstylingurl(t) {
|
|
1117
|
-
this.$$set({ clientstylingurl: t }),
|
|
1125
|
+
this.$$set({ clientstylingurl: t }), J();
|
|
1118
1126
|
}
|
|
1119
1127
|
get width() {
|
|
1120
1128
|
return this.$$.ctx[0];
|
|
1121
1129
|
}
|
|
1122
1130
|
set width(t) {
|
|
1123
|
-
this.$$set({ width: t }),
|
|
1131
|
+
this.$$set({ width: t }), J();
|
|
1124
1132
|
}
|
|
1125
1133
|
get height() {
|
|
1126
1134
|
return this.$$.ctx[1];
|
|
1127
1135
|
}
|
|
1128
1136
|
set height(t) {
|
|
1129
|
-
this.$$set({ height: t }),
|
|
1137
|
+
this.$$set({ height: t }), J();
|
|
1130
1138
|
}
|
|
1131
1139
|
get duration() {
|
|
1132
1140
|
return this.$$.ctx[2];
|
|
1133
1141
|
}
|
|
1134
1142
|
set duration(t) {
|
|
1135
|
-
this.$$set({ duration: t }),
|
|
1143
|
+
this.$$set({ duration: t }), J();
|
|
1136
1144
|
}
|
|
1137
1145
|
get assetsurl() {
|
|
1138
1146
|
return this.$$.ctx[3];
|
|
1139
1147
|
}
|
|
1140
1148
|
set assetsurl(t) {
|
|
1141
|
-
this.$$set({ assetsurl: t }),
|
|
1149
|
+
this.$$set({ assetsurl: t }), J();
|
|
1142
1150
|
}
|
|
1143
1151
|
get lang() {
|
|
1144
1152
|
return this.$$.ctx[14];
|
|
1145
1153
|
}
|
|
1146
1154
|
set lang(t) {
|
|
1147
|
-
this.$$set({ lang: t }),
|
|
1155
|
+
this.$$set({ lang: t }), J();
|
|
1148
1156
|
}
|
|
1149
1157
|
get translationurl() {
|
|
1150
1158
|
return this.$$.ctx[15];
|
|
1151
1159
|
}
|
|
1152
1160
|
set translationurl(t) {
|
|
1153
|
-
this.$$set({ translationurl: t }),
|
|
1161
|
+
this.$$set({ translationurl: t }), J();
|
|
1154
1162
|
}
|
|
1155
1163
|
get endpoint() {
|
|
1156
1164
|
return this.$$.ctx[16];
|
|
1157
1165
|
}
|
|
1158
1166
|
set endpoint(t) {
|
|
1159
|
-
this.$$set({ endpoint: t }),
|
|
1167
|
+
this.$$set({ endpoint: t }), J();
|
|
1160
1168
|
}
|
|
1161
1169
|
get currency() {
|
|
1162
1170
|
return this.$$.ctx[17];
|
|
1163
1171
|
}
|
|
1164
1172
|
set currency(t) {
|
|
1165
|
-
this.$$set({ currency: t }),
|
|
1173
|
+
this.$$set({ currency: t }), J();
|
|
1166
1174
|
}
|
|
1167
1175
|
get customerid() {
|
|
1168
1176
|
return this.$$.ctx[18];
|
|
1169
1177
|
}
|
|
1170
1178
|
set customerid(t) {
|
|
1171
|
-
this.$$set({ customerid: t }),
|
|
1179
|
+
this.$$set({ customerid: t }), J();
|
|
1172
1180
|
}
|
|
1173
1181
|
get selectedpaymentmethodname() {
|
|
1174
1182
|
return this.$$.ctx[19];
|
|
1175
1183
|
}
|
|
1176
1184
|
set selectedpaymentmethodname(t) {
|
|
1177
|
-
this.$$set({ selectedpaymentmethodname: t }),
|
|
1185
|
+
this.$$set({ selectedpaymentmethodname: t }), J();
|
|
1178
1186
|
}
|
|
1179
1187
|
get mbsource() {
|
|
1180
1188
|
return this.$$.ctx[20];
|
|
1181
1189
|
}
|
|
1182
1190
|
set mbsource(t) {
|
|
1183
|
-
this.$$set({ mbsource: t }),
|
|
1191
|
+
this.$$set({ mbsource: t }), J();
|
|
1184
1192
|
}
|
|
1185
1193
|
}
|
|
1186
|
-
|
|
1194
|
+
zn(_n, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1195
|
+
const vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1196
|
+
__proto__: null,
|
|
1197
|
+
default: _n
|
|
1198
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1187
1199
|
export {
|
|
1188
|
-
|
|
1200
|
+
vo as C,
|
|
1201
|
+
jt as f
|
|
1189
1202
|
};
|