@everymatrix/cashier-page 1.76.1 → 1.76.3
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/CashierError-BEeh6TaY.cjs +21 -0
- package/components/{CashierError-bO6xrjYl.js → CashierError-CyV-JySM.js} +474 -472
- package/components/{CashierError-DrApuR85.js → CashierError-Dc34a9CC.js} +471 -469
- package/components/{CashierHeader-DNaxJTUL.js → CashierHeader-BCdG7bez.js} +81 -81
- package/components/CashierHeader-DGEWiZlt.cjs +1 -0
- package/components/{CashierHeader-BbZGAnuG.js → CashierHeader-DLG8WfO6.js} +81 -81
- package/components/{CashierIframeRedirect-Blfr3pyV.cjs → CashierIframeRedirect-CkRri0IY.cjs} +1 -1
- package/components/{CashierIframeRedirect-C4vwtj8l.js → CashierIframeRedirect-CnEM1gDh.js} +19 -19
- package/components/{CashierIframeRedirect-CTxdepS4.js → CashierIframeRedirect-Dk2xegfN.js} +19 -19
- package/components/{CashierMethodDetails-DVo0cXMI.js → CashierMethodDetails-B7K0QBeJ.js} +668 -684
- package/components/{CashierMethodDetails-Baj2EjN-.js → CashierMethodDetails-BoS6MlUx.js} +654 -670
- package/components/{CashierMethodDetails-DdrzL7xr.cjs → CashierMethodDetails-bl4ScKF1.cjs} +5 -5
- package/components/{CashierMethodsList-DKbeO7Zb.js → CashierMethodsList-CRFPceug.js} +6 -6
- package/components/{CashierMethodsList-DPzaIMdg.cjs → CashierMethodsList-DY3MlNFY.cjs} +1 -1
- package/components/{CashierMethodsList-Dy8fB_k6.js → CashierMethodsList-DhR3GOR6.js} +6 -6
- package/components/{CashierModal-Bn0175Ok.cjs → CashierModal-Cd446Ova.cjs} +1 -1
- package/components/{CashierModal-CvFJoOmo.js → CashierModal-CzXlonwB.js} +14 -14
- package/components/{CashierModal-IDFc2AKX.js → CashierModal-DO7QbZLa.js} +14 -14
- package/components/{CashierNotifications-CN6iz8Le.js → CashierNotifications-BJvuSaMv.js} +1 -1
- package/components/{CashierNotifications-C8NH2amn.cjs → CashierNotifications-BdzVIY--.cjs} +1 -1
- package/components/{CashierNotifications-Ca26lmek.js → CashierNotifications-DVtcZTJB.js} +1 -1
- package/components/{CashierPage-CyTi5QHc.js → CashierPage-B0lu-4i9.js} +36 -36
- package/components/{CashierPage-D5aNp8Ge.js → CashierPage-BrEwgGiY.js} +36 -36
- package/components/{CashierPage-CfO-JUd0.cjs → CashierPage-Cuva9Y9y.cjs} +1 -1
- package/components/{CashierReceiptPage-Dpca_ujT.cjs → CashierReceiptPage-D0NlK-Nf.cjs} +1 -1
- package/components/{CashierReceiptPage-CihaXe7B.js → CashierReceiptPage-DZJjgSBw.js} +6 -6
- package/components/{CashierReceiptPage-0O5m5b_q.js → CashierReceiptPage-DvKEi_ba.js} +6 -6
- package/components/{CashierSessionExpirationModal-DBxlWcf6.js → CashierSessionExpirationModal-B_Y3Xi95.js} +191 -191
- package/components/{CashierSessionExpirationModal-Bzf6Fc1m.cjs → CashierSessionExpirationModal-CBFaRe-x.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-BLu4TNHt.js → CashierSessionExpirationModal-XdME6XUb.js} +191 -191
- package/components/{CashierSpinner-DFcKn5vy.js → CashierSpinner-DGvMA7TT.js} +8 -8
- package/components/{CashierSpinner-DDvJyQQW.cjs → CashierSpinner-DtxnAuCX.cjs} +1 -1
- package/components/{CashierSpinner-wbkrOsgH.js → CashierSpinner-nxLopx6S.js} +8 -8
- package/components/{CashierTransactionHistory-CCfgwGru.js → CashierTransactionHistory-Bv4k6sdm.js} +10 -10
- package/components/{CashierTransactionHistory-C-r7zjU6.js → CashierTransactionHistory-D9cuJwNg.js} +10 -10
- package/components/{CashierTransactionHistory-BtkRWtAp.cjs → CashierTransactionHistory-tuj8kYsP.cjs} +1 -1
- package/components/{CashierVerifications-C7CPpJhz.js → CashierVerifications-3sSSv6ir.js} +19 -19
- package/components/{CashierVerifications-Cwymmpvc.js → CashierVerifications-cWStjKKK.js} +18 -18
- package/components/{CashierVerifications-BnkVpYfm.cjs → CashierVerifications-lbOEU8Wv.cjs} +1 -1
- package/components/{TxnStatusIcon-CRrx95-L.cjs → TxnStatusIcon-BnYqfnba.cjs} +1 -1
- package/components/{TxnStatusIcon-CiKk-nYc.js → TxnStatusIcon-Cz9gvTZb.js} +5 -5
- package/components/{TxnStatusIcon-DXXsTrZP.js → TxnStatusIcon-_w4gDvXk.js} +5 -5
- package/components/{TxnTypeIcons-Cdt9fsws.js → TxnTypeIcons-BoTS7N4H.js} +1 -1
- package/components/{TxnTypeIcons-DmiRydbQ.cjs → TxnTypeIcons-BpU4tRqc.cjs} +1 -1
- package/components/{TxnTypeIcons-FNu8rfdT.js → TxnTypeIcons-UBC4VGlN.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
- package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
- package/stencil/index-b2193545-9IBTGq1X.cjs +1 -0
- package/stencil/{index-b2193545-Dfy4Cgny.js → index-b2193545-B5WVVmva.js} +176 -176
- package/stencil/{index-b2193545-DWKmtYUG.js → index-b2193545-CfiRkmy3.js} +169 -169
- package/stencil/{ui-image-CER01gdl.cjs → ui-image-CNNeJmP0.cjs} +1 -1
- package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DCPAt25-.js} +1 -1
- package/stencil/{ui-image-4dZyD9yF.js → ui-image-am9MgSQ8.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-D1L4lwNZ.js} +2 -2
- package/stencil/{ui-skeleton-C4Ir1ffm.cjs → ui-skeleton-D6had8uT.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-Biyf8F-y.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-CzSGP5Of.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-jcrjm-Kl.cjs → ui-skeleton-ae35c6f2-DSTcB-py.cjs} +1 -1
- package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-vQGsM2TX.js} +2 -2
- package/components/CashierError-BQyQ2QE7.cjs +0 -21
- package/components/CashierHeader-CCegZMC-.cjs +0 -1
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-ByMYc64n.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Cn, i as Rn, $ as xn, S as On, b as Mn, f as j, c as Ln, s as Nn, d as kn,
|
|
2
|
-
import { f as Bt } from "./CashierModal-
|
|
3
|
-
import { d as Yt, u as Hn, x as jt } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Cn, i as Rn, $ as xn, S as On, b as Mn, f as j, c as Ln, s as Nn, d as kn, v as cn, k as ce, t as le, o as pe, a0 as un, p as ue, q as Ut, r as vn, a4 as Dn, e as Be, g as P, w as qe, h as ve, j as h, N as zt, l as C, a1 as In, C as Ft, x as Ze, u as Ye, m as je, n as Ve, a3 as fn, a2 as Wt, V as Pn, y as Ht, z as Un, A as zn, B as Fn, X as Gt, D as ut, E as Wn, G as ft } from "./CashierError-CyV-JySM.js";
|
|
2
|
+
import { f as Bt } from "./CashierModal-CzXlonwB.js";
|
|
3
|
+
import { d as Yt, u as Hn, x as jt } from "./CashierMethodDetails-BoS6MlUx.js";
|
|
4
4
|
function Vt(n, t) {
|
|
5
5
|
Cn(n, t);
|
|
6
6
|
}
|
|
@@ -41,14 +41,14 @@ const {
|
|
|
41
41
|
getOwnPropertyDescriptor: jn
|
|
42
42
|
} = Object;
|
|
43
43
|
let {
|
|
44
|
-
freeze:
|
|
44
|
+
freeze: U,
|
|
45
45
|
seal: J,
|
|
46
46
|
create: pn
|
|
47
47
|
} = Object, {
|
|
48
48
|
apply: mt,
|
|
49
49
|
construct: pt
|
|
50
|
-
} = typeof Reflect
|
|
51
|
-
|
|
50
|
+
} = typeof Reflect != "undefined" && Reflect;
|
|
51
|
+
U || (U = function(t) {
|
|
52
52
|
return t;
|
|
53
53
|
});
|
|
54
54
|
J || (J = function(t) {
|
|
@@ -60,7 +60,7 @@ mt || (mt = function(t, i, o) {
|
|
|
60
60
|
pt || (pt = function(t, i) {
|
|
61
61
|
return new t(...i);
|
|
62
62
|
});
|
|
63
|
-
const He = V(Array.prototype.forEach), Zt = V(Array.prototype.pop), Oe = V(Array.prototype.push), Xe = V(String.prototype.toLowerCase), st = V(String.prototype.toString), Kt = V(String.prototype.match), Me = V(String.prototype.replace), Vn = V(String.prototype.indexOf), Xn = V(String.prototype.trim), te = V(Object.prototype.hasOwnProperty),
|
|
63
|
+
const He = V(Array.prototype.forEach), Zt = V(Array.prototype.pop), Oe = V(Array.prototype.push), Xe = V(String.prototype.toLowerCase), st = V(String.prototype.toString), Kt = V(String.prototype.match), Me = V(String.prototype.replace), Vn = V(String.prototype.indexOf), Xn = V(String.prototype.trim), te = V(Object.prototype.hasOwnProperty), I = V(RegExp.prototype.test), Le = qn(TypeError);
|
|
64
64
|
function V(n) {
|
|
65
65
|
return function(t) {
|
|
66
66
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
|
|
@@ -116,7 +116,7 @@ function Ne(n, t) {
|
|
|
116
116
|
}
|
|
117
117
|
return i;
|
|
118
118
|
}
|
|
119
|
-
const Jt =
|
|
119
|
+
const Jt = U(["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"]), rt = U(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), at = U(["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"]), Kn = U(["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"]), lt = U(["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"]), Jn = U(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = U(["#text"]), $t = U(["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"]), ct = U(["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 = U(["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"]), Ge = U(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Qn = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), $n = J(/<%[\w\W]*|[\w\W]*%>/gm), ei = J(/\${[\w\W]*}/gm), ti = J(/^data-[\-\w.\u00B7-\uFFFF]/), ni = J(/^aria-[\-\w]+$/), dn = J(
|
|
120
120
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
121
121
|
// eslint-disable-line no-useless-escape
|
|
122
122
|
), ii = J(/^(?:\w+script|data):/i), oi = J(
|
|
@@ -153,7 +153,7 @@ const ke = {
|
|
|
153
153
|
notation: 12
|
|
154
154
|
// Deprecated
|
|
155
155
|
}, ri = function() {
|
|
156
|
-
return typeof window
|
|
156
|
+
return typeof window == "undefined" ? null : window;
|
|
157
157
|
}, ai = function(t, i) {
|
|
158
158
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
159
159
|
return null;
|
|
@@ -170,7 +170,7 @@ const ke = {
|
|
|
170
170
|
return m;
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
|
-
} catch {
|
|
173
|
+
} catch (m) {
|
|
174
174
|
return console.warn("TrustedTypes policy " + l + " could not be created."), null;
|
|
175
175
|
}
|
|
176
176
|
};
|
|
@@ -185,33 +185,33 @@ function gn() {
|
|
|
185
185
|
const o = i, r = o.currentScript, {
|
|
186
186
|
DocumentFragment: l,
|
|
187
187
|
HTMLTemplateElement: m,
|
|
188
|
-
Node:
|
|
189
|
-
Element:
|
|
188
|
+
Node: N,
|
|
189
|
+
Element: k,
|
|
190
190
|
NodeFilter: w,
|
|
191
191
|
NamedNodeMap: R = n.NamedNodeMap || n.MozNamedAttrMap,
|
|
192
192
|
HTMLFormElement: de,
|
|
193
193
|
DOMParser: he,
|
|
194
194
|
trustedTypes: X
|
|
195
|
-
} = n, b =
|
|
195
|
+
} = n, b = k.prototype, x = Ne(b, "cloneNode"), M = Ne(b, "remove"), fe = Ne(b, "nextSibling"), z = Ne(b, "childNodes"), d = Ne(b, "parentNode");
|
|
196
196
|
if (typeof m == "function") {
|
|
197
197
|
const u = i.createElement("template");
|
|
198
198
|
u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
|
|
199
199
|
}
|
|
200
|
-
let p,
|
|
200
|
+
let p, G = "";
|
|
201
201
|
const {
|
|
202
202
|
implementation: q,
|
|
203
203
|
createNodeIterator: Z,
|
|
204
|
-
createDocumentFragment:
|
|
204
|
+
createDocumentFragment: F,
|
|
205
205
|
getElementsByTagName: Q
|
|
206
206
|
} = i, {
|
|
207
207
|
importNode: oe
|
|
208
208
|
} = o;
|
|
209
|
-
let
|
|
209
|
+
let A = {};
|
|
210
210
|
t.isSupported = typeof mn == "function" && typeof d == "function" && q && q.createHTMLDocument !== void 0;
|
|
211
211
|
const {
|
|
212
|
-
MUSTACHE_EXPR:
|
|
212
|
+
MUSTACHE_EXPR: B,
|
|
213
213
|
ERB_EXPR: $,
|
|
214
|
-
TMPLIT_EXPR:
|
|
214
|
+
TMPLIT_EXPR: Y,
|
|
215
215
|
DATA_ATTR: Ee,
|
|
216
216
|
ARIA_ATTR: K,
|
|
217
217
|
IS_SCRIPT_OR_DATA: se,
|
|
@@ -243,7 +243,7 @@ function gn() {
|
|
|
243
243
|
enumerable: !0,
|
|
244
244
|
value: !1
|
|
245
245
|
}
|
|
246
|
-
})),
|
|
246
|
+
})), E = null, ee = null, W = !0, Ke = !0, dt = !1, ht = !0, _e = !1, Je = !0, ge = !1, Qe = !1, $e = !1, Ae = !1, Pe = !1, Ue = !1, gt = !0, Tt = !1;
|
|
247
247
|
const Tn = "user-content-";
|
|
248
248
|
let et = !0, Ce = !1, be = {}, ye = null;
|
|
249
249
|
const Et = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -255,36 +255,36 @@ function gn() {
|
|
|
255
255
|
const En = f({}, [ze, Fe, re], st);
|
|
256
256
|
let Re = null;
|
|
257
257
|
const _n = ["application/xhtml+xml", "text/html"], An = "text/html";
|
|
258
|
-
let
|
|
258
|
+
let O = null, we = null;
|
|
259
259
|
const bn = i.createElement("form"), yt = function(e) {
|
|
260
260
|
return e instanceof RegExp || e instanceof Function;
|
|
261
261
|
}, ot = function() {
|
|
262
262
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
263
263
|
if (!(we && we === e)) {
|
|
264
264
|
if ((!e || typeof e != "object") && (e = {}), e = Te(e), Re = // eslint-disable-next-line unicorn/prefer-includes
|
|
265
|
-
_n.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE,
|
|
265
|
+
_n.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? An : e.PARSER_MEDIA_TYPE, O = Re === "application/xhtml+xml" ? st : Xe, y = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, O) : De, S = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, O) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : En, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
266
266
|
Te(bt),
|
|
267
267
|
// eslint-disable-line indent
|
|
268
268
|
e.ADD_URI_SAFE_ATTR,
|
|
269
269
|
// eslint-disable-line indent
|
|
270
|
-
|
|
270
|
+
O
|
|
271
271
|
// eslint-disable-line indent
|
|
272
272
|
) : bt, _t = te(e, "ADD_DATA_URI_TAGS") ? f(
|
|
273
273
|
Te(At),
|
|
274
274
|
// eslint-disable-line indent
|
|
275
275
|
e.ADD_DATA_URI_TAGS,
|
|
276
276
|
// eslint-disable-line indent
|
|
277
|
-
|
|
277
|
+
O
|
|
278
278
|
// eslint-disable-line indent
|
|
279
|
-
) : At, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS,
|
|
279
|
+
) : At, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, O) : Et, E = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, O) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, O) : {}, be = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, W = e.ALLOW_ARIA_ATTR !== !1, Ke = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, Je = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, Ae = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, me = e.ALLOWED_URI_REGEXP || dn, Se = e.NAMESPACE || re, a = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (a.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (a.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (a.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (Ke = !1), Pe && (Ae = !0), be && (y = f({}, Qt), S = [], be.html === !0 && (f(y, Jt), f(S, $t)), be.svg === !0 && (f(y, rt), f(S, ct), f(S, Ge)), be.svgFilters === !0 && (f(y, at), f(S, ct), f(S, Ge)), be.mathMl === !0 && (f(y, lt), f(S, en), f(S, Ge))), e.ADD_TAGS && (y === De && (y = Te(y)), f(y, e.ADD_TAGS, O)), e.ADD_ATTR && (S === Ie && (S = Te(S)), f(S, e.ADD_ATTR, O)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, O), e.FORBID_CONTENTS && (ye === Et && (ye = Te(ye)), f(ye, e.FORBID_CONTENTS, O)), et && (y["#text"] = !0), ge && f(y, ["html", "head", "body"]), y.table && (f(y, ["tbody"]), delete E.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
280
280
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
281
281
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
282
282
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
283
283
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
284
|
-
p = e.TRUSTED_TYPES_POLICY,
|
|
284
|
+
p = e.TRUSTED_TYPES_POLICY, G = p.createHTML("");
|
|
285
285
|
} else
|
|
286
|
-
p === void 0 && (p = ai(X, r)), p !== null && typeof
|
|
287
|
-
|
|
286
|
+
p === void 0 && (p = ai(X, r)), p !== null && typeof G == "string" && (G = p.createHTML(""));
|
|
287
|
+
U && U(e), we = e;
|
|
288
288
|
}
|
|
289
289
|
}, St = f({}, ["mi", "mo", "mn", "ms", "mtext"]), wt = f({}, ["foreignobject", "annotation-xml"]), yn = f({}, ["title", "style", "font", "a", "script"]), Ct = f({}, [...rt, ...at, ...Kn]), Rt = f({}, [...lt, ...Jn]), Sn = function(e) {
|
|
290
290
|
let s = d(e);
|
|
@@ -292,16 +292,16 @@ function gn() {
|
|
|
292
292
|
namespaceURI: Se,
|
|
293
293
|
tagName: "template"
|
|
294
294
|
});
|
|
295
|
-
const c = Xe(e.tagName),
|
|
296
|
-
return it[e.namespaceURI] ? e.namespaceURI === Fe ? s.namespaceURI === re ? c === "svg" : s.namespaceURI === ze ? c === "svg" && (
|
|
295
|
+
const c = Xe(e.tagName), T = Xe(s.tagName);
|
|
296
|
+
return it[e.namespaceURI] ? e.namespaceURI === Fe ? s.namespaceURI === re ? c === "svg" : s.namespaceURI === ze ? c === "svg" && (T === "annotation-xml" || St[T]) : !!Ct[c] : e.namespaceURI === ze ? s.namespaceURI === re ? c === "math" : s.namespaceURI === Fe ? c === "math" && wt[T] : !!Rt[c] : e.namespaceURI === re ? s.namespaceURI === Fe && !wt[T] || s.namespaceURI === ze && !St[T] ? !1 : !Rt[c] && (yn[c] || !Ct[c]) : !!(Re === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
297
297
|
}, ne = function(e) {
|
|
298
298
|
Oe(t.removed, {
|
|
299
299
|
element: e
|
|
300
300
|
});
|
|
301
301
|
try {
|
|
302
302
|
d(e).removeChild(e);
|
|
303
|
-
} catch {
|
|
304
|
-
|
|
303
|
+
} catch (s) {
|
|
304
|
+
M(e);
|
|
305
305
|
}
|
|
306
306
|
}, We = function(e, s) {
|
|
307
307
|
try {
|
|
@@ -309,7 +309,7 @@ function gn() {
|
|
|
309
309
|
attribute: s.getAttributeNode(e),
|
|
310
310
|
from: s
|
|
311
311
|
});
|
|
312
|
-
} catch {
|
|
312
|
+
} catch (c) {
|
|
313
313
|
Oe(t.removed, {
|
|
314
314
|
attribute: null,
|
|
315
315
|
from: s
|
|
@@ -319,37 +319,37 @@ function gn() {
|
|
|
319
319
|
if (Ae || Pe)
|
|
320
320
|
try {
|
|
321
321
|
ne(s);
|
|
322
|
-
} catch {
|
|
322
|
+
} catch (c) {
|
|
323
323
|
}
|
|
324
324
|
else
|
|
325
325
|
try {
|
|
326
326
|
s.setAttribute(e, "");
|
|
327
|
-
} catch {
|
|
327
|
+
} catch (c) {
|
|
328
328
|
}
|
|
329
329
|
}, xt = function(e) {
|
|
330
330
|
let s = null, c = null;
|
|
331
331
|
if ($e)
|
|
332
332
|
e = "<remove></remove>" + e;
|
|
333
333
|
else {
|
|
334
|
-
const
|
|
335
|
-
c =
|
|
334
|
+
const L = Kt(e, /^[\r\n\t ]+/);
|
|
335
|
+
c = L && L[0];
|
|
336
336
|
}
|
|
337
337
|
Re === "application/xhtml+xml" && Se === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
338
|
-
const
|
|
338
|
+
const T = p ? p.createHTML(e) : e;
|
|
339
339
|
if (Se === re)
|
|
340
340
|
try {
|
|
341
|
-
s = new he().parseFromString(
|
|
342
|
-
} catch {
|
|
341
|
+
s = new he().parseFromString(T, Re);
|
|
342
|
+
} catch (L) {
|
|
343
343
|
}
|
|
344
344
|
if (!s || !s.documentElement) {
|
|
345
345
|
s = q.createDocument(Se, "template", null);
|
|
346
346
|
try {
|
|
347
|
-
s.documentElement.innerHTML = nt ?
|
|
348
|
-
} catch {
|
|
347
|
+
s.documentElement.innerHTML = nt ? G : T;
|
|
348
|
+
} catch (L) {
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
const
|
|
352
|
-
return e && c &&
|
|
351
|
+
const v = s.body || s.documentElement;
|
|
352
|
+
return e && c && v.insertBefore(i.createTextNode(c), v.childNodes[0] || null), Se === re ? Q.call(s, ge ? "html" : "body")[0] : ge ? s.documentElement : v;
|
|
353
353
|
}, Ot = function(e) {
|
|
354
354
|
return Z.call(
|
|
355
355
|
e.ownerDocument || e,
|
|
@@ -361,60 +361,60 @@ function gn() {
|
|
|
361
361
|
}, Mt = function(e) {
|
|
362
362
|
return e instanceof de && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof R) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
363
363
|
}, Lt = function(e) {
|
|
364
|
-
return typeof
|
|
364
|
+
return typeof N == "function" && e instanceof N;
|
|
365
365
|
}, ae = function(e, s, c) {
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
A[e] && He(A[e], (T) => {
|
|
367
|
+
T.call(t, s, c, we);
|
|
368
368
|
});
|
|
369
369
|
}, Nt = function(e) {
|
|
370
370
|
let s = null;
|
|
371
371
|
if (ae("beforeSanitizeElements", e, null), Mt(e))
|
|
372
372
|
return ne(e), !0;
|
|
373
|
-
const c =
|
|
373
|
+
const c = O(e.nodeName);
|
|
374
374
|
if (ae("uponSanitizeElement", e, {
|
|
375
375
|
tagName: c,
|
|
376
376
|
allowedTags: y
|
|
377
|
-
}), e.hasChildNodes() && !Lt(e.firstElementChild) &&
|
|
377
|
+
}), e.hasChildNodes() && !Lt(e.firstElementChild) && I(/<[/\w]/g, e.innerHTML) && I(/<[/\w]/g, e.textContent) || e.nodeType === ke.progressingInstruction || Je && e.nodeType === ke.comment && I(/<[/\w]/g, e.data))
|
|
378
378
|
return ne(e), !0;
|
|
379
|
-
if (!y[c] ||
|
|
380
|
-
if (!
|
|
379
|
+
if (!y[c] || E[c]) {
|
|
380
|
+
if (!E[c] && vt(c) && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
381
381
|
return !1;
|
|
382
382
|
if (et && !ye[c]) {
|
|
383
|
-
const
|
|
384
|
-
if (
|
|
385
|
-
const
|
|
386
|
-
for (let
|
|
387
|
-
const ie = x(
|
|
388
|
-
ie.__removalCount = (e.__removalCount || 0) + 1,
|
|
383
|
+
const T = d(e) || e.parentNode, v = z(e) || e.childNodes;
|
|
384
|
+
if (v && T) {
|
|
385
|
+
const L = v.length;
|
|
386
|
+
for (let H = L - 1; H >= 0; --H) {
|
|
387
|
+
const ie = x(v[H], !0);
|
|
388
|
+
ie.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(ie, fe(e));
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
392
|
return ne(e), !0;
|
|
393
393
|
}
|
|
394
|
-
return e instanceof
|
|
395
|
-
s = Me(s,
|
|
394
|
+
return e instanceof k && !Sn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && I(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (_e && e.nodeType === ke.text && (s = e.textContent, He([B, $, Y], (T) => {
|
|
395
|
+
s = Me(s, T, " ");
|
|
396
396
|
}), e.textContent !== s && (Oe(t.removed, {
|
|
397
397
|
element: e.cloneNode()
|
|
398
398
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
399
399
|
}, kt = function(e, s, c) {
|
|
400
400
|
if (gt && (s === "id" || s === "name") && (c in i || c in bn))
|
|
401
401
|
return !1;
|
|
402
|
-
if (!(Ke && !ee[s] &&
|
|
403
|
-
if (!(
|
|
402
|
+
if (!(Ke && !ee[s] && I(Ee, s))) {
|
|
403
|
+
if (!(W && I(K, s))) {
|
|
404
404
|
if (!S[s] || ee[s]) {
|
|
405
405
|
if (
|
|
406
406
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
407
407
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
408
408
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
409
|
-
!(vt(e) && (a.tagNameCheck instanceof RegExp &&
|
|
409
|
+
!(vt(e) && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, e) || a.tagNameCheck instanceof Function && a.tagNameCheck(e)) && (a.attributeNameCheck instanceof RegExp && I(a.attributeNameCheck, s) || a.attributeNameCheck instanceof Function && a.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
410
410
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
411
|
-
s === "is" && a.allowCustomizedBuiltInElements && (a.tagNameCheck instanceof RegExp &&
|
|
411
|
+
s === "is" && a.allowCustomizedBuiltInElements && (a.tagNameCheck instanceof RegExp && I(a.tagNameCheck, c) || a.tagNameCheck instanceof Function && a.tagNameCheck(c)))
|
|
412
412
|
)
|
|
413
413
|
return !1;
|
|
414
414
|
} else if (!tt[s]) {
|
|
415
|
-
if (!
|
|
415
|
+
if (!I(me, Me(c, g, ""))) {
|
|
416
416
|
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Vn(c, "data:") === 0 && _t[e])) {
|
|
417
|
-
if (!(dt && !
|
|
417
|
+
if (!(dt && !I(se, Me(c, g, "")))) {
|
|
418
418
|
if (c)
|
|
419
419
|
return !1;
|
|
420
420
|
}
|
|
@@ -439,43 +439,43 @@ function gn() {
|
|
|
439
439
|
keepAttr: !0,
|
|
440
440
|
allowedAttributes: S
|
|
441
441
|
};
|
|
442
|
-
let
|
|
443
|
-
for (;
|
|
444
|
-
const
|
|
445
|
-
name:
|
|
446
|
-
namespaceURI:
|
|
442
|
+
let T = s.length;
|
|
443
|
+
for (; T--; ) {
|
|
444
|
+
const v = s[T], {
|
|
445
|
+
name: L,
|
|
446
|
+
namespaceURI: H,
|
|
447
447
|
value: ie
|
|
448
|
-
} =
|
|
449
|
-
let
|
|
450
|
-
if (c.attrName = xe, c.attrValue =
|
|
451
|
-
We(
|
|
448
|
+
} = v, xe = O(L);
|
|
449
|
+
let D = L === "value" ? ie : Xn(ie);
|
|
450
|
+
if (c.attrName = xe, c.attrValue = D, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), D = c.attrValue, Je && I(/((--!?|])>)|<\/(style|title)/i, D)) {
|
|
451
|
+
We(L, e);
|
|
452
452
|
continue;
|
|
453
453
|
}
|
|
454
|
-
if (c.forceKeepAttr || (We(
|
|
454
|
+
if (c.forceKeepAttr || (We(L, e), !c.keepAttr))
|
|
455
455
|
continue;
|
|
456
|
-
if (!ht &&
|
|
457
|
-
We(
|
|
456
|
+
if (!ht && I(/\/>/i, D)) {
|
|
457
|
+
We(L, e);
|
|
458
458
|
continue;
|
|
459
459
|
}
|
|
460
|
-
_e && He([
|
|
461
|
-
|
|
460
|
+
_e && He([B, $, Y], (Pt) => {
|
|
461
|
+
D = Me(D, Pt, " ");
|
|
462
462
|
});
|
|
463
|
-
const It =
|
|
464
|
-
if (kt(It, xe,
|
|
465
|
-
if (Tt && (xe === "id" || xe === "name") && (We(
|
|
463
|
+
const It = O(e.nodeName);
|
|
464
|
+
if (kt(It, xe, D)) {
|
|
465
|
+
if (Tt && (xe === "id" || xe === "name") && (We(L, e), D = Tn + D), p && typeof X == "object" && typeof X.getAttributeType == "function" && !H)
|
|
466
466
|
switch (X.getAttributeType(It, xe)) {
|
|
467
467
|
case "TrustedHTML": {
|
|
468
|
-
|
|
468
|
+
D = p.createHTML(D);
|
|
469
469
|
break;
|
|
470
470
|
}
|
|
471
471
|
case "TrustedScriptURL": {
|
|
472
|
-
|
|
472
|
+
D = p.createScriptURL(D);
|
|
473
473
|
break;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
try {
|
|
477
|
-
|
|
478
|
-
} catch {
|
|
477
|
+
H ? e.setAttributeNS(H, L, D) : e.setAttribute(L, D), Mt(e) ? ne(e) : Zt(t.removed);
|
|
478
|
+
} catch (Pt) {
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
}
|
|
@@ -488,7 +488,7 @@ function gn() {
|
|
|
488
488
|
ae("afterSanitizeShadowDOM", e, null);
|
|
489
489
|
};
|
|
490
490
|
return t.sanitize = function(u) {
|
|
491
|
-
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null,
|
|
491
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, v = null;
|
|
492
492
|
if (nt = !u, nt && (u = "<!-->"), typeof u != "string" && !Lt(u))
|
|
493
493
|
if (typeof u.toString == "function") {
|
|
494
494
|
if (u = u.toString(), typeof u != "string")
|
|
@@ -499,38 +499,38 @@ function gn() {
|
|
|
499
499
|
return u;
|
|
500
500
|
if (Qe || ot(e), t.removed = [], typeof u == "string" && (Ce = !1), Ce) {
|
|
501
501
|
if (u.nodeName) {
|
|
502
|
-
const ie =
|
|
503
|
-
if (!y[ie] ||
|
|
502
|
+
const ie = O(u.nodeName);
|
|
503
|
+
if (!y[ie] || E[ie])
|
|
504
504
|
throw Le("root node is forbidden and cannot be sanitized in-place");
|
|
505
505
|
}
|
|
506
|
-
} else if (u instanceof
|
|
506
|
+
} else if (u instanceof N)
|
|
507
507
|
s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === ke.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
|
|
508
508
|
else {
|
|
509
509
|
if (!Ae && !_e && !ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
510
510
|
u.indexOf("<") === -1)
|
|
511
511
|
return p && Ue ? p.createHTML(u) : u;
|
|
512
512
|
if (s = xt(u), !s)
|
|
513
|
-
return Ae ? null : Ue ?
|
|
513
|
+
return Ae ? null : Ue ? G : "";
|
|
514
514
|
}
|
|
515
515
|
s && $e && ne(s.firstChild);
|
|
516
|
-
const
|
|
517
|
-
for (;
|
|
518
|
-
Nt(
|
|
516
|
+
const L = Ot(Ce ? u : s);
|
|
517
|
+
for (; T = L.nextNode(); )
|
|
518
|
+
Nt(T) || (T.content instanceof l && wn(T.content), Dt(T));
|
|
519
519
|
if (Ce)
|
|
520
520
|
return u;
|
|
521
521
|
if (Ae) {
|
|
522
522
|
if (Pe)
|
|
523
|
-
for (
|
|
524
|
-
|
|
523
|
+
for (v = F.call(s.ownerDocument); s.firstChild; )
|
|
524
|
+
v.appendChild(s.firstChild);
|
|
525
525
|
else
|
|
526
|
-
|
|
527
|
-
return (S.shadowroot || S.shadowrootmode) && (
|
|
526
|
+
v = s;
|
|
527
|
+
return (S.shadowroot || S.shadowrootmode) && (v = oe.call(o, v, !0)), v;
|
|
528
528
|
}
|
|
529
|
-
let
|
|
530
|
-
return ge && y["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name &&
|
|
531
|
-
` +
|
|
532
|
-
|
|
533
|
-
}), p && Ue ? p.createHTML(
|
|
529
|
+
let H = ge ? s.outerHTML : s.innerHTML;
|
|
530
|
+
return ge && y["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && I(hn, s.ownerDocument.doctype.name) && (H = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
531
|
+
` + H), _e && He([B, $, Y], (ie) => {
|
|
532
|
+
H = Me(H, ie, " ");
|
|
533
|
+
}), p && Ue ? p.createHTML(H) : H;
|
|
534
534
|
}, t.setConfig = function() {
|
|
535
535
|
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
536
536
|
ot(u), Qe = !0;
|
|
@@ -538,17 +538,17 @@ function gn() {
|
|
|
538
538
|
we = null, Qe = !1;
|
|
539
539
|
}, t.isValidAttribute = function(u, e, s) {
|
|
540
540
|
we || ot({});
|
|
541
|
-
const c =
|
|
542
|
-
return kt(c,
|
|
541
|
+
const c = O(u), T = O(e);
|
|
542
|
+
return kt(c, T, s);
|
|
543
543
|
}, t.addHook = function(u, e) {
|
|
544
|
-
typeof e == "function" && (
|
|
544
|
+
typeof e == "function" && (A[u] = A[u] || [], Oe(A[u], e));
|
|
545
545
|
}, t.removeHook = function(u) {
|
|
546
|
-
if (
|
|
547
|
-
return Zt(
|
|
546
|
+
if (A[u])
|
|
547
|
+
return Zt(A[u]);
|
|
548
548
|
}, t.removeHooks = function(u) {
|
|
549
|
-
|
|
549
|
+
A[u] && (A[u] = []);
|
|
550
550
|
}, t.removeAllHooks = function() {
|
|
551
|
-
|
|
551
|
+
A = {};
|
|
552
552
|
}, t;
|
|
553
553
|
}
|
|
554
554
|
var nn = gn();
|
|
@@ -561,7 +561,7 @@ function ln(n) {
|
|
|
561
561
|
let t, i, o, r, l, m = (
|
|
562
562
|
/*$_*/
|
|
563
563
|
n[8]("sessionExpirationHeader") + ""
|
|
564
|
-
),
|
|
564
|
+
), N, k, w, R, de, he, X, b, x, M, fe, z, d, p, G;
|
|
565
565
|
const q = (
|
|
566
566
|
/*#slots*/
|
|
567
567
|
n[22].icon
|
|
@@ -571,7 +571,7 @@ function ln(n) {
|
|
|
571
571
|
/*$$scope*/
|
|
572
572
|
n[21],
|
|
573
573
|
an
|
|
574
|
-
),
|
|
574
|
+
), F = Z || gi(n), Q = (
|
|
575
575
|
/*#slots*/
|
|
576
576
|
n[22].title
|
|
577
577
|
), oe = Be(
|
|
@@ -580,36 +580,36 @@ function ln(n) {
|
|
|
580
580
|
/*$$scope*/
|
|
581
581
|
n[21],
|
|
582
582
|
rn
|
|
583
|
-
),
|
|
583
|
+
), A = oe || Ti(n), B = (
|
|
584
584
|
/*#slots*/
|
|
585
585
|
n[22].text
|
|
586
586
|
), $ = Be(
|
|
587
|
-
|
|
587
|
+
B,
|
|
588
588
|
n,
|
|
589
589
|
/*$$scope*/
|
|
590
590
|
n[21],
|
|
591
591
|
sn
|
|
592
|
-
),
|
|
592
|
+
), Y = $ || Ei(n), Ee = [Ai, _i], K = [];
|
|
593
593
|
function se(g, _) {
|
|
594
594
|
return (
|
|
595
595
|
/*showLoaderButton*/
|
|
596
596
|
g[6] ? 0 : 1
|
|
597
597
|
);
|
|
598
598
|
}
|
|
599
|
-
return x = se(n),
|
|
599
|
+
return x = se(n), M = K[x] = Ee[x](n), {
|
|
600
600
|
c() {
|
|
601
|
-
t =
|
|
601
|
+
t = P("div"), i = P("div"), o = P("div"), r = P("div"), l = P("div"), N = qe(m), k = ve(), w = P("div"), R = P("div"), F.c(), de = ve(), A.c(), he = ve(), Y.c(), X = ve(), b = P("button"), M.c(), h(l, "class", "CashierSessionExpirationModalHeaderTitle"), h(r, "class", "CashierSessionExpirationModalHeader"), h(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
602
602
|
n[6], h(b, "class", "CashierSessionExpirationButton"), h(R, "class", "CashierSessionExpiration"), h(w, "class", "CashierSessionExpirationModalContainer"), h(o, "class", "CashierSessionExpirationModalWrapper"), h(i, "class", "CashierSessionExpirationModalWindow"), h(i, "id", "CashierSessionExpirationModal"), zt(() => (
|
|
603
603
|
/*div5_elementresize_handler*/
|
|
604
604
|
n[24].call(i)
|
|
605
605
|
));
|
|
606
606
|
},
|
|
607
607
|
m(g, _) {
|
|
608
|
-
ce(g, t, _), C(t, i), C(i, o), C(o, r), C(r, l), C(l,
|
|
608
|
+
ce(g, t, _), C(t, i), C(i, o), C(o, r), C(r, l), C(l, N), C(o, k), C(o, w), C(w, R), F.m(R, null), C(R, de), A.m(R, null), C(R, he), Y.m(R, null), C(R, X), C(R, b), K[x].m(b, null), n[23](R), fe = In(
|
|
609
609
|
i,
|
|
610
610
|
/*div5_elementresize_handler*/
|
|
611
611
|
n[24].bind(i)
|
|
612
|
-
), n[25](t), d = !0, p || (
|
|
612
|
+
), n[25](t), d = !0, p || (G = [
|
|
613
613
|
Ft(
|
|
614
614
|
b,
|
|
615
615
|
"click",
|
|
@@ -627,7 +627,7 @@ function ln(n) {
|
|
|
627
627
|
p(g, _) {
|
|
628
628
|
n = g, (!d || _[0] & /*$_*/
|
|
629
629
|
256) && m !== (m = /*$_*/
|
|
630
|
-
n[8]("sessionExpirationHeader") + "") && Ze(
|
|
630
|
+
n[8]("sessionExpirationHeader") + "") && Ze(N, m), Z ? Z.p && (!d || _[0] & /*$$scope*/
|
|
631
631
|
2097152) && Ye(
|
|
632
632
|
Z,
|
|
633
633
|
q,
|
|
@@ -645,8 +645,8 @@ function ln(n) {
|
|
|
645
645
|
n[21]
|
|
646
646
|
),
|
|
647
647
|
an
|
|
648
|
-
) :
|
|
649
|
-
8) &&
|
|
648
|
+
) : F.p && (!d || _[0] & /*assetsurl*/
|
|
649
|
+
8) && F.p(n, d ? _ : [-1, -1]), oe ? oe.p && (!d || _[0] & /*$$scope*/
|
|
650
650
|
2097152) && Ye(
|
|
651
651
|
oe,
|
|
652
652
|
Q,
|
|
@@ -664,16 +664,16 @@ function ln(n) {
|
|
|
664
664
|
n[21]
|
|
665
665
|
),
|
|
666
666
|
rn
|
|
667
|
-
) :
|
|
668
|
-
256) &&
|
|
667
|
+
) : A.p && (!d || _[0] & /*$_*/
|
|
668
|
+
256) && A.p(n, d ? _ : [-1, -1]), $ ? $.p && (!d || _[0] & /*$$scope*/
|
|
669
669
|
2097152) && Ye(
|
|
670
670
|
$,
|
|
671
|
-
|
|
671
|
+
B,
|
|
672
672
|
n,
|
|
673
673
|
/*$$scope*/
|
|
674
674
|
n[21],
|
|
675
675
|
d ? Ve(
|
|
676
|
-
|
|
676
|
+
B,
|
|
677
677
|
/*$$scope*/
|
|
678
678
|
n[21],
|
|
679
679
|
_,
|
|
@@ -683,31 +683,31 @@ function ln(n) {
|
|
|
683
683
|
n[21]
|
|
684
684
|
),
|
|
685
685
|
sn
|
|
686
|
-
) :
|
|
687
|
-
384) &&
|
|
686
|
+
) : Y.p && (!d || _[0] & /*$_, timeLeft*/
|
|
687
|
+
384) && Y.p(n, d ? _ : [-1, -1]);
|
|
688
688
|
let me = x;
|
|
689
689
|
x = se(n), x === me ? K[x].p(n, _) : (fn(), pe(K[me], 1, 1, () => {
|
|
690
690
|
K[me] = null;
|
|
691
|
-
}), un(),
|
|
691
|
+
}), un(), M = K[x], M ? M.p(n, _) : (M = K[x] = Ee[x](n), M.c()), le(M, 1), M.m(b, null)), (!d || _[0] & /*showLoaderButton*/
|
|
692
692
|
64) && (b.disabled = /*showLoaderButton*/
|
|
693
693
|
n[6]);
|
|
694
694
|
},
|
|
695
695
|
i(g) {
|
|
696
|
-
d || (le(
|
|
697
|
-
d && (
|
|
696
|
+
d || (le(F, g), le(A, g), le(Y, g), le(M), g && zt(() => {
|
|
697
|
+
d && (z || (z = Wt(i, Bt, { duration: (
|
|
698
698
|
/*duration*/
|
|
699
699
|
n[2]
|
|
700
|
-
) }, !0)),
|
|
700
|
+
) }, !0)), z.run(1));
|
|
701
701
|
}), d = !0);
|
|
702
702
|
},
|
|
703
703
|
o(g) {
|
|
704
|
-
pe(
|
|
704
|
+
pe(F, g), pe(A, g), pe(Y, g), pe(M), g && (z || (z = Wt(i, Bt, { duration: (
|
|
705
705
|
/*duration*/
|
|
706
706
|
n[2]
|
|
707
|
-
) }, !1)),
|
|
707
|
+
) }, !1)), z.run(0)), d = !1;
|
|
708
708
|
},
|
|
709
709
|
d(g) {
|
|
710
|
-
g && ue(t),
|
|
710
|
+
g && ue(t), F.d(g), A.d(g), Y.d(g), K[x].d(), n[23](null), fe(), g && z && z.end(), n[25](null), p = !1, Pn(G);
|
|
711
711
|
}
|
|
712
712
|
};
|
|
713
713
|
}
|
|
@@ -715,7 +715,7 @@ function di(n) {
|
|
|
715
715
|
let t, i;
|
|
716
716
|
return {
|
|
717
717
|
c() {
|
|
718
|
-
t =
|
|
718
|
+
t = P("img"), ft(t.src, i = li) || h(t, "src", i), h(t, "width", "300px"), h(t, "alt", "error");
|
|
719
719
|
},
|
|
720
720
|
m(o, r) {
|
|
721
721
|
ce(o, t, r);
|
|
@@ -730,7 +730,7 @@ function hi(n) {
|
|
|
730
730
|
let t, i;
|
|
731
731
|
return {
|
|
732
732
|
c() {
|
|
733
|
-
t =
|
|
733
|
+
t = P("img"), ft(t.src, i = `${/*assetsurl*/
|
|
734
734
|
n[3]}/set-timeout-icon.png`) || h(t, "src", i), h(t, "width", "300px"), h(t, "alt", "error");
|
|
735
735
|
},
|
|
736
736
|
m(o, r) {
|
|
@@ -777,7 +777,7 @@ function Ti(n) {
|
|
|
777
777
|
), o;
|
|
778
778
|
return {
|
|
779
779
|
c() {
|
|
780
|
-
t =
|
|
780
|
+
t = P("span"), o = qe(i), h(t, "class", "CashierSessionExpirationTitle");
|
|
781
781
|
},
|
|
782
782
|
m(r, l) {
|
|
783
783
|
ce(r, t, l), C(t, o);
|
|
@@ -802,7 +802,7 @@ function Ei(n) {
|
|
|
802
802
|
) + "";
|
|
803
803
|
return {
|
|
804
804
|
c() {
|
|
805
|
-
t =
|
|
805
|
+
t = P("span"), h(t, "class", "CashierSessionExpirationText");
|
|
806
806
|
},
|
|
807
807
|
m(o, r) {
|
|
808
808
|
ce(o, t, r), t.innerHTML = i;
|
|
@@ -836,10 +836,10 @@ function _i(n) {
|
|
|
836
836
|
), r = o || bi(n);
|
|
837
837
|
return {
|
|
838
838
|
c() {
|
|
839
|
-
r
|
|
839
|
+
r.c();
|
|
840
840
|
},
|
|
841
841
|
m(l, m) {
|
|
842
|
-
r
|
|
842
|
+
r.m(l, m), t = !0;
|
|
843
843
|
},
|
|
844
844
|
p(l, m) {
|
|
845
845
|
o ? o.p && (!t || m[0] & /*$$scope*/
|
|
@@ -860,7 +860,7 @@ function _i(n) {
|
|
|
860
860
|
l[21]
|
|
861
861
|
),
|
|
862
862
|
on
|
|
863
|
-
) : r
|
|
863
|
+
) : r.p && (!t || m[0] & /*$_*/
|
|
864
864
|
256) && r.p(l, t ? m : [-1, -1]);
|
|
865
865
|
},
|
|
866
866
|
i(l) {
|
|
@@ -870,7 +870,7 @@ function _i(n) {
|
|
|
870
870
|
pe(r, l), t = !1;
|
|
871
871
|
},
|
|
872
872
|
d(l) {
|
|
873
|
-
r
|
|
873
|
+
r.d(l);
|
|
874
874
|
}
|
|
875
875
|
};
|
|
876
876
|
}
|
|
@@ -878,23 +878,23 @@ function Ai(n) {
|
|
|
878
878
|
let t, i, o, r, l, m = (
|
|
879
879
|
/*$_*/
|
|
880
880
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
881
|
-
),
|
|
881
|
+
), N;
|
|
882
882
|
return {
|
|
883
883
|
c() {
|
|
884
|
-
t =
|
|
884
|
+
t = P("div"), i = Gt("svg"), o = Gt("path"), r = ve(), l = P("span"), N = qe(m), h(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"), h(o, "fill", "white"), h(i, "class", "CashierSessionExpirationButtonSpinner"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(i, "width", "15"), h(i, "height", "14"), h(i, "viewBox", "0 0 15 14"), h(i, "fill", "none"), h(l, "class", "CashierSessionExpirationButtonText");
|
|
885
885
|
},
|
|
886
|
-
m(
|
|
887
|
-
ce(
|
|
886
|
+
m(k, w) {
|
|
887
|
+
ce(k, t, w), C(t, i), C(i, o), C(t, r), C(t, l), C(l, N);
|
|
888
888
|
},
|
|
889
|
-
p(
|
|
889
|
+
p(k, w) {
|
|
890
890
|
w[0] & /*$_*/
|
|
891
891
|
256 && m !== (m = /*$_*/
|
|
892
|
-
|
|
892
|
+
k[8]("sessionExpirationLoadingButton") + "") && Ze(N, m);
|
|
893
893
|
},
|
|
894
894
|
i: ut,
|
|
895
895
|
o: ut,
|
|
896
|
-
d(
|
|
897
|
-
|
|
896
|
+
d(k) {
|
|
897
|
+
k && ue(t);
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
900
|
}
|
|
@@ -905,7 +905,7 @@ function bi(n) {
|
|
|
905
905
|
), o;
|
|
906
906
|
return {
|
|
907
907
|
c() {
|
|
908
|
-
t =
|
|
908
|
+
t = P("span"), o = qe(i), h(t, "class", "CashierSessionExpirationButtonText");
|
|
909
909
|
},
|
|
910
910
|
m(r, l) {
|
|
911
911
|
ce(r, t, l), C(t, o);
|
|
@@ -956,85 +956,85 @@ function wi(n, t, i) {
|
|
|
956
956
|
Ut(n, jt, (a) => i(20, o = a)), Ut(n, Wn, (a) => i(8, r = a));
|
|
957
957
|
let { $$slots: l = {}, $$scope: m } = t;
|
|
958
958
|
Yt.extend(Hn);
|
|
959
|
-
let { clientstyling:
|
|
960
|
-
var
|
|
959
|
+
let { clientstyling: N = "" } = t, { clientstylingurl: k = "" } = t, { width: w } = t, { height: R } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: X = "en" } = t, { translationurl: b = "" } = t, { endpoint: x } = t, { currency: M } = t, { customerid: fe } = t, { selectedpaymentmethodname: z } = t, { mbsource: d = "" } = t, p, G = !1, q = !1, Z, F, Q, oe, A;
|
|
960
|
+
var B;
|
|
961
961
|
(function(a) {
|
|
962
962
|
a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
|
|
963
|
-
})(
|
|
963
|
+
})(B || (B = {}));
|
|
964
964
|
const $ = (a) => {
|
|
965
965
|
a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
|
|
966
|
-
},
|
|
966
|
+
}, Y = (a) => {
|
|
967
967
|
try {
|
|
968
968
|
return JSON.parse(atob(a.split(".")[1]));
|
|
969
|
-
} catch {
|
|
969
|
+
} catch (E) {
|
|
970
970
|
return null;
|
|
971
971
|
}
|
|
972
972
|
}, Ee = () => {
|
|
973
973
|
window.postMessage(
|
|
974
974
|
{
|
|
975
975
|
type: "ErrorResponseCode",
|
|
976
|
-
errorResponseCode:
|
|
976
|
+
errorResponseCode: A
|
|
977
977
|
},
|
|
978
978
|
window.location.href
|
|
979
979
|
);
|
|
980
980
|
}, K = (a) => {
|
|
981
|
-
i(5,
|
|
982
|
-
const
|
|
983
|
-
|
|
981
|
+
i(5, G = !1);
|
|
982
|
+
const E = Y(a);
|
|
983
|
+
E && (F = E == null ? void 0 : E.exp, i(7, Z = F), Q && clearInterval(Q), Q = setInterval(
|
|
984
984
|
() => {
|
|
985
985
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
986
|
-
i(7, Z =
|
|
986
|
+
i(7, Z = F - ee), Z <= Si && i(5, G = !0), ee >= F && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
987
987
|
},
|
|
988
988
|
1e3
|
|
989
989
|
));
|
|
990
990
|
}, se = () => {
|
|
991
|
-
i(7, Z = 0), i(5,
|
|
991
|
+
i(7, Z = 0), i(5, G = !1), clearInterval(Q);
|
|
992
992
|
}, g = () => {
|
|
993
993
|
if (q)
|
|
994
994
|
return;
|
|
995
|
-
const a = new URL(`${x}/v1/player/${fe}/payment/GetPaymentMethod`),
|
|
996
|
-
i(6, q = !0),
|
|
995
|
+
const a = new URL(`${x}/v1/player/${fe}/payment/GetPaymentMethod`), E = new Headers();
|
|
996
|
+
i(6, q = !0), E.append("accept", "application/json"), E.append("Content-Type", "application/json"), E.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
997
997
|
const ee = {
|
|
998
998
|
method: "POST",
|
|
999
999
|
mode: "cors",
|
|
1000
|
-
headers:
|
|
1000
|
+
headers: E,
|
|
1001
1001
|
body: JSON.stringify({
|
|
1002
|
-
PaymentMethodName: oe ||
|
|
1003
|
-
Currency:
|
|
1002
|
+
PaymentMethodName: oe || z,
|
|
1003
|
+
Currency: M,
|
|
1004
1004
|
XPaymentSessionToken: o
|
|
1005
1005
|
})
|
|
1006
1006
|
};
|
|
1007
|
-
fetch(a, ee).then((
|
|
1008
|
-
if (
|
|
1007
|
+
fetch(a, ee).then((W) => W.json()).then((W) => {
|
|
1008
|
+
if (W.error) {
|
|
1009
1009
|
window.postMessage(
|
|
1010
1010
|
{
|
|
1011
1011
|
type: "ShowSessionError",
|
|
1012
|
-
error:
|
|
1012
|
+
error: W.error
|
|
1013
1013
|
},
|
|
1014
1014
|
window.location.href
|
|
1015
1015
|
), se();
|
|
1016
1016
|
return;
|
|
1017
1017
|
}
|
|
1018
|
-
if (
|
|
1019
|
-
|
|
1018
|
+
if (W.ResponseCode === B.PlayerSessionIsNotValid || W.ResponseCode === B.JwtTokenError) {
|
|
1019
|
+
A = W.ResponseCode, se(), Ee();
|
|
1020
1020
|
return;
|
|
1021
1021
|
}
|
|
1022
|
-
if (
|
|
1023
|
-
|
|
1022
|
+
if (W.ResponseCode !== B.Success) {
|
|
1023
|
+
A = W.ResponseCode, se();
|
|
1024
1024
|
return;
|
|
1025
1025
|
}
|
|
1026
|
-
|
|
1026
|
+
W.XPaymentSessionToken && jt.set(W.XPaymentSessionToken);
|
|
1027
1027
|
}).finally(() => i(6, q = !1));
|
|
1028
1028
|
}, _ = (a) => {
|
|
1029
|
-
const
|
|
1030
|
-
a.target ===
|
|
1029
|
+
const E = a.currentTarget;
|
|
1030
|
+
a.target === E && g();
|
|
1031
1031
|
}, me = () => {
|
|
1032
|
-
fetch(b).then((
|
|
1033
|
-
Object.keys(
|
|
1034
|
-
Vt(ee,
|
|
1032
|
+
fetch(b).then((E) => E.json()).then((E) => {
|
|
1033
|
+
Object.keys(E).forEach((ee) => {
|
|
1034
|
+
Vt(ee, E[ee]);
|
|
1035
1035
|
});
|
|
1036
|
-
}).catch((
|
|
1037
|
-
console.log(
|
|
1036
|
+
}).catch((E) => {
|
|
1037
|
+
console.log(E);
|
|
1038
1038
|
});
|
|
1039
1039
|
};
|
|
1040
1040
|
Object.keys(Xt).forEach((a) => {
|
|
@@ -1062,14 +1062,14 @@ function wi(n, t, i) {
|
|
|
1062
1062
|
});
|
|
1063
1063
|
}
|
|
1064
1064
|
return n.$$set = (a) => {
|
|
1065
|
-
"clientstyling" in a && i(11,
|
|
1065
|
+
"clientstyling" in a && i(11, N = a.clientstyling), "clientstylingurl" in a && i(12, k = a.clientstylingurl), "width" in a && i(0, w = a.width), "height" in a && i(1, R = a.height), "duration" in a && i(2, de = a.duration), "assetsurl" in a && i(3, he = a.assetsurl), "lang" in a && i(13, X = a.lang), "translationurl" in a && i(14, b = a.translationurl), "endpoint" in a && i(15, x = a.endpoint), "currency" in a && i(16, M = a.currency), "customerid" in a && i(17, fe = a.customerid), "selectedpaymentmethodname" in a && i(18, z = a.selectedpaymentmethodname), "mbsource" in a && i(19, d = a.mbsource), "$$scope" in a && i(21, m = a.$$scope);
|
|
1066
1066
|
}, n.$$.update = () => {
|
|
1067
1067
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1068
1068
|
1048576 && K(o), n.$$.dirty[0] & /*lang*/
|
|
1069
1069
|
8192 && X && y(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1070
|
-
2064 &&
|
|
1071
|
-
4112 &&
|
|
1072
|
-
524304 && d && p &&
|
|
1070
|
+
2064 && N && p && Un(p, N), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1071
|
+
4112 && k && p && zn(p, k), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1072
|
+
524304 && d && p && Fn(p, `${d}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1073
1073
|
16384 && b && me();
|
|
1074
1074
|
}, [
|
|
1075
1075
|
w,
|
|
@@ -1077,20 +1077,20 @@ function wi(n, t, i) {
|
|
|
1077
1077
|
de,
|
|
1078
1078
|
he,
|
|
1079
1079
|
p,
|
|
1080
|
-
|
|
1080
|
+
G,
|
|
1081
1081
|
q,
|
|
1082
1082
|
Z,
|
|
1083
1083
|
r,
|
|
1084
1084
|
g,
|
|
1085
1085
|
_,
|
|
1086
|
-
|
|
1087
|
-
|
|
1086
|
+
N,
|
|
1087
|
+
k,
|
|
1088
1088
|
X,
|
|
1089
1089
|
b,
|
|
1090
1090
|
x,
|
|
1091
|
-
|
|
1091
|
+
M,
|
|
1092
1092
|
fe,
|
|
1093
|
-
|
|
1093
|
+
z,
|
|
1094
1094
|
d,
|
|
1095
1095
|
o,
|
|
1096
1096
|
m,
|