@everymatrix/cashier-page-nd 1.69.95 → 1.69.96
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-xeoHL478.js → CashierCarousel-BJBoHcOi.js} +606 -606
- package/components/{CashierCarousel-DAykqaK7.js → CashierCarousel-C-1lJxZx.js} +612 -612
- package/components/CashierCarousel-CnirEVww.cjs +23 -0
- package/components/{CashierError-BgmDWyZ2.js → CashierError-C-D4PFqm.js} +1 -1
- package/components/{CashierError-CC2chNNP.cjs → CashierError-C8U_KORa.cjs} +1 -1
- package/components/{CashierError-GK6LplyM.js → CashierError-DXtcdjdr.js} +1 -1
- package/components/{CashierHeader-D-WS4BCK.cjs → CashierHeader-B0zyFjC3.cjs} +1 -1
- package/components/{CashierHeader-BUTbV5ls.js → CashierHeader-BwAbSpJS.js} +1 -1
- package/components/{CashierHeader-jxw5REBs.js → CashierHeader-D_cWDFA7.js} +1 -1
- package/components/{CashierIframeRedirect-BFa8la1B.js → CashierIframeRedirect-B1BJpKCB.js} +3 -3
- package/components/{CashierIframeRedirect-DFHF2QxN.js → CashierIframeRedirect-BHjA770O.js} +3 -3
- package/components/{CashierIframeRedirect-CkF2udkG.cjs → CashierIframeRedirect-q6fWJWU-.cjs} +1 -1
- package/components/{CashierMethodDetails-C1JZ8Y7b.js → CashierMethodDetails-BOgl_IX1.js} +524 -524
- package/components/{CashierMethodDetails-CZUjywX6.js → CashierMethodDetails-CCf6IaU-.js} +504 -504
- package/components/{CashierMethodDetails-DrLQzFN-.cjs → CashierMethodDetails-Cq_ccC1E.cjs} +4 -4
- package/components/{CashierMethodsList-BsrYB5qD.js → CashierMethodsList-CZtLFkxq.js} +2 -2
- package/components/{CashierMethodsList-MCYslnJS.cjs → CashierMethodsList-hGTvnNKE.cjs} +1 -1
- package/components/{CashierMethodsList-PBswyJ2T.js → CashierMethodsList-pBTAlRCN.js} +2 -2
- package/components/CashierModal-BepKrwPc.cjs +1 -0
- package/components/CashierModal-Bezw_q_p.js +237 -0
- package/components/CashierModal-BkWWCFGy.js +237 -0
- package/components/{CashierNotifications-BabXSzpa.js → CashierNotifications-BKQ84v7D.js} +1 -1
- package/components/{CashierNotifications-c0R2lzkJ.js → CashierNotifications-BLOBfSE-.js} +1 -1
- package/components/{CashierNotifications-DzhVQr0v.cjs → CashierNotifications-BiaTO8zv.cjs} +1 -1
- package/components/{CashierPage-DL9PNUmp.js → CashierPage-BVogJQJz.js} +673 -610
- package/components/{CashierPage-wgMi88T4.js → CashierPage-C-qW-3WO.js} +672 -609
- package/components/CashierPage-_oClXFYx.cjs +1 -0
- package/components/{CashierReceiptPage-DPKnUdho.cjs → CashierReceiptPage-BY8iDo7k.cjs} +2 -2
- package/components/{CashierReceiptPage-BRyk7-x8.js → CashierReceiptPage-C4LnHWVS.js} +3 -3
- package/components/{CashierReceiptPage-Drubd_JK.js → CashierReceiptPage-pX5ZB8GS.js} +3 -3
- package/components/{CashierSessionExpirationModal--GStqbA0.js → CashierSessionExpirationModal-DCwaZyoe.js} +148 -135
- package/components/{CashierSessionExpirationModal-DbLYFUoI.js → CashierSessionExpirationModal-DROX_8ms.js} +173 -160
- package/components/CashierSessionExpirationModal-Diatc2g_.cjs +2 -0
- package/components/{CashierSpinner-BOv1Uv2R.js → CashierSpinner-B6hRv5UE.js} +1 -1
- package/components/{CashierSpinner-TZ4oRzbQ.js → CashierSpinner-D9V28sna.js} +1 -1
- package/components/{CashierSpinner-Bu3_RQVf.cjs → CashierSpinner-vepcrAEk.cjs} +1 -1
- package/components/CashierTransactionHistory-CkMYM-iN.cjs +1 -0
- package/components/{CashierTransactionHistory-CvNkQ1q9.js → CashierTransactionHistory-D8zsi5NJ.js} +27 -27
- package/components/{CashierTransactionHistory-D4lcvVf0.js → CashierTransactionHistory-DW8O1MRc.js} +27 -27
- package/components/CashierVerifications-Bk77XvWp.cjs +1 -0
- package/components/{CashierVerifications-BeZISELs.js → CashierVerifications-Clboalpm.js} +98 -98
- package/components/{CashierVerifications-CI7XZxhv.js → CashierVerifications-Ct9t3u-_.js} +128 -128
- package/components/{TxnStatusIcon-CSirdVWO.js → TxnStatusIcon-BbwRTWeF.js} +1 -1
- package/components/{TxnStatusIcon-pHNTYXan.cjs → TxnStatusIcon-DAT0GdaB.cjs} +1 -1
- package/components/{TxnStatusIcon-Dd3JJN8p.js → TxnStatusIcon-YMvAqmkU.js} +1 -1
- package/components/{TxnTypeIcons-B76CMssY.cjs → TxnTypeIcons-B9WBEMaU.cjs} +1 -1
- package/components/{TxnTypeIcons-BNxbLm76.js → TxnTypeIcons-CGI4ZYMR.js} +1 -1
- package/components/{TxnTypeIcons-DNPW1hkM.js → TxnTypeIcons-DaU-Md0s.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-Dw1AX3mG.cjs +0 -23
- package/components/CashierModal-CgMUCRZH.js +0 -268
- package/components/CashierModal-DJjBfX7P.cjs +0 -1
- package/components/CashierModal-HnINXcY0.js +0 -268
- package/components/CashierPage-19-mT4Vd.cjs +0 -1
- package/components/CashierSessionExpirationModal-Ry280vYg.cjs +0 -2
- package/components/CashierTransactionHistory-DjciY8rT.cjs +0 -1
- package/components/CashierVerifications-BMVKuTGH.cjs +0 -1
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { a1 as Rn, a as Ln, i as vn, $ as Mn, S as On, b as Nn, s as kn, f as j, c as Dn, e as me, t as fe, g as le, Z as un, _ as fn, k as pe, r as mn, p as It, q as In, a2 as Pn, d as We, W as Un, a3 as Pt, K as Ut, v as qe, u as Ye, h as je, j as Xe, l as C, a0 as Fn, x as Ft, m as G, w as Ke, n as ke, o as E, y as zt, G as Ht, P as Bt, z as Gt, B as zn, C as Hn, D as Bn, E as Gn, F as Wn } from "./CashierCarousel-BJBoHcOi.js";
|
|
2
|
+
import { d as Wt, u as Yn, x as Yt } from "./CashierMethodDetails-CCf6IaU-.js";
|
|
3
|
+
function jt(n, { delay: t = 0, duration: i = 400, easing: o = Rn } = {}) {
|
|
4
|
+
const a = +getComputedStyle(n).opacity;
|
|
5
|
+
return {
|
|
6
|
+
delay: t,
|
|
7
|
+
duration: i,
|
|
8
|
+
easing: o,
|
|
9
|
+
css: (u) => `opacity: ${u * a}`
|
|
10
|
+
};
|
|
11
|
+
}
|
|
4
12
|
function Xt(n, t) {
|
|
5
|
-
|
|
13
|
+
Ln(n, t);
|
|
6
14
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
15
|
+
function jn(n) {
|
|
16
|
+
vn({
|
|
9
17
|
fallbackLocale: "en"
|
|
10
|
-
}),
|
|
18
|
+
}), Mn.set(n);
|
|
11
19
|
}
|
|
12
20
|
const Vt = {
|
|
13
21
|
en: {
|
|
@@ -36,13 +44,13 @@ const Vt = {
|
|
|
36
44
|
const {
|
|
37
45
|
entries: pn,
|
|
38
46
|
setPrototypeOf: qt,
|
|
39
|
-
isFrozen:
|
|
40
|
-
getPrototypeOf:
|
|
41
|
-
getOwnPropertyDescriptor:
|
|
47
|
+
isFrozen: Xn,
|
|
48
|
+
getPrototypeOf: Vn,
|
|
49
|
+
getOwnPropertyDescriptor: qn
|
|
42
50
|
} = Object;
|
|
43
51
|
let {
|
|
44
52
|
freeze: F,
|
|
45
|
-
seal:
|
|
53
|
+
seal: J,
|
|
46
54
|
create: dn
|
|
47
55
|
} = Object, {
|
|
48
56
|
apply: ut,
|
|
@@ -51,7 +59,7 @@ let {
|
|
|
51
59
|
F || (F = function(t) {
|
|
52
60
|
return t;
|
|
53
61
|
});
|
|
54
|
-
|
|
62
|
+
J || (J = function(t) {
|
|
55
63
|
return t;
|
|
56
64
|
});
|
|
57
65
|
ut || (ut = function(t, i, o) {
|
|
@@ -60,7 +68,7 @@ ut || (ut = function(t, i, o) {
|
|
|
60
68
|
ft || (ft = function(t, i) {
|
|
61
69
|
return new t(...i);
|
|
62
70
|
});
|
|
63
|
-
const Be = X(Array.prototype.forEach), Kt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString),
|
|
71
|
+
const Be = X(Array.prototype.forEach), Kt = X(Array.prototype.pop), Le = X(Array.prototype.push), Ve = X(String.prototype.toLowerCase), st = X(String.prototype.toString), Zt = X(String.prototype.match), ve = X(String.prototype.replace), Kn = X(String.prototype.indexOf), Zn = X(String.prototype.trim), te = X(Object.prototype.hasOwnProperty), U = X(RegExp.prototype.test), Me = Jn(TypeError);
|
|
64
72
|
function X(n) {
|
|
65
73
|
return function(t) {
|
|
66
74
|
for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
|
|
@@ -68,7 +76,7 @@ function X(n) {
|
|
|
68
76
|
return ut(n, t, o);
|
|
69
77
|
};
|
|
70
78
|
}
|
|
71
|
-
function
|
|
79
|
+
function Jn(n) {
|
|
72
80
|
return function() {
|
|
73
81
|
for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
|
|
74
82
|
i[o] = arguments[o];
|
|
@@ -83,13 +91,13 @@ function f(n, t) {
|
|
|
83
91
|
let a = t[o];
|
|
84
92
|
if (typeof a == "string") {
|
|
85
93
|
const u = i(a);
|
|
86
|
-
u !== a && (
|
|
94
|
+
u !== a && (Xn(t) || (t[o] = u), a = u);
|
|
87
95
|
}
|
|
88
96
|
n[a] = !0;
|
|
89
97
|
}
|
|
90
98
|
return n;
|
|
91
99
|
}
|
|
92
|
-
function
|
|
100
|
+
function Qn(n) {
|
|
93
101
|
for (let t = 0; t < n.length; t++)
|
|
94
102
|
te(n, t) || (n[t] = null);
|
|
95
103
|
return n;
|
|
@@ -97,44 +105,44 @@ function Jn(n) {
|
|
|
97
105
|
function _e(n) {
|
|
98
106
|
const t = dn(null);
|
|
99
107
|
for (const [i, o] of pn(n))
|
|
100
|
-
te(n, i) && (Array.isArray(o) ? t[i] =
|
|
108
|
+
te(n, i) && (Array.isArray(o) ? t[i] = Qn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = _e(o) : t[i] = o);
|
|
101
109
|
return t;
|
|
102
110
|
}
|
|
103
111
|
function Oe(n, t) {
|
|
104
112
|
for (; n !== null; ) {
|
|
105
|
-
const o =
|
|
113
|
+
const o = qn(n, t);
|
|
106
114
|
if (o) {
|
|
107
115
|
if (o.get)
|
|
108
116
|
return X(o.get);
|
|
109
117
|
if (typeof o.value == "function")
|
|
110
118
|
return X(o.value);
|
|
111
119
|
}
|
|
112
|
-
n =
|
|
120
|
+
n = Vn(n);
|
|
113
121
|
}
|
|
114
122
|
function i() {
|
|
115
123
|
return null;
|
|
116
124
|
}
|
|
117
125
|
return i;
|
|
118
126
|
}
|
|
119
|
-
const
|
|
127
|
+
const Jt = F(["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 = F(["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 = F(["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 = F(["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 = F(["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"]), ei = F(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Qt = F(["#text"]), $t = F(["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 = F(["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 = F(["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 = F(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ti = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ni = J(/<%[\w\W]*|[\w\W]*%>/gm), ii = J(/\${[\w\W]*}/gm), oi = J(/^data-[\-\w.\u00B7-\uFFFF]/), si = J(/^aria-[\-\w]+$/), hn = J(
|
|
120
128
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
121
129
|
// eslint-disable-line no-useless-escape
|
|
122
|
-
),
|
|
130
|
+
), ri = J(/^(?:\w+script|data):/i), ai = J(
|
|
123
131
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
124
132
|
// eslint-disable-line no-control-regex
|
|
125
|
-
), gn =
|
|
133
|
+
), gn = J(/^html$/i), li = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
126
134
|
var tn = /* @__PURE__ */ Object.freeze({
|
|
127
135
|
__proto__: null,
|
|
128
|
-
MUSTACHE_EXPR:
|
|
129
|
-
ERB_EXPR:
|
|
130
|
-
TMPLIT_EXPR:
|
|
131
|
-
DATA_ATTR:
|
|
132
|
-
ARIA_ATTR:
|
|
136
|
+
MUSTACHE_EXPR: ti,
|
|
137
|
+
ERB_EXPR: ni,
|
|
138
|
+
TMPLIT_EXPR: ii,
|
|
139
|
+
DATA_ATTR: oi,
|
|
140
|
+
ARIA_ATTR: si,
|
|
133
141
|
IS_ALLOWED_URI: hn,
|
|
134
|
-
IS_SCRIPT_OR_DATA:
|
|
135
|
-
ATTR_WHITESPACE:
|
|
142
|
+
IS_SCRIPT_OR_DATA: ri,
|
|
143
|
+
ATTR_WHITESPACE: ai,
|
|
136
144
|
DOCTYPE_NAME: gn,
|
|
137
|
-
CUSTOM_ELEMENT:
|
|
145
|
+
CUSTOM_ELEMENT: li
|
|
138
146
|
});
|
|
139
147
|
const Ne = {
|
|
140
148
|
element: 1,
|
|
@@ -143,9 +151,9 @@ const Ne = {
|
|
|
143
151
|
progressingInstruction: 7,
|
|
144
152
|
comment: 8,
|
|
145
153
|
document: 9
|
|
146
|
-
},
|
|
154
|
+
}, ci = function() {
|
|
147
155
|
return typeof window > "u" ? null : window;
|
|
148
|
-
},
|
|
156
|
+
}, ui = function(t, i) {
|
|
149
157
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
150
158
|
return null;
|
|
151
159
|
let o = null;
|
|
@@ -166,7 +174,7 @@ const Ne = {
|
|
|
166
174
|
}
|
|
167
175
|
};
|
|
168
176
|
function _n() {
|
|
169
|
-
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
177
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ci();
|
|
170
178
|
const t = (c) => _n(c);
|
|
171
179
|
if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Ne.document)
|
|
172
180
|
return t.isSupported = !1, t;
|
|
@@ -183,7 +191,7 @@ function _n() {
|
|
|
183
191
|
HTMLFormElement: de,
|
|
184
192
|
DOMParser: he,
|
|
185
193
|
trustedTypes: V
|
|
186
|
-
} = n,
|
|
194
|
+
} = n, b = D.prototype, R = Oe(b, "cloneNode"), M = Oe(b, "remove"), ce = Oe(b, "nextSibling"), z = Oe(b, "childNodes"), p = Oe(b, "parentNode");
|
|
187
195
|
if (typeof h == "function") {
|
|
188
196
|
const c = i.createElement("template");
|
|
189
197
|
c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
|
|
@@ -204,7 +212,7 @@ function _n() {
|
|
|
204
212
|
ERB_EXPR: $,
|
|
205
213
|
TMPLIT_EXPR: O,
|
|
206
214
|
DATA_ATTR: Ee,
|
|
207
|
-
ARIA_ATTR:
|
|
215
|
+
ARIA_ATTR: Z,
|
|
208
216
|
IS_SCRIPT_OR_DATA: se,
|
|
209
217
|
ATTR_WHITESPACE: d,
|
|
210
218
|
CUSTOM_ELEMENT: T
|
|
@@ -212,7 +220,7 @@ function _n() {
|
|
|
212
220
|
let {
|
|
213
221
|
IS_ALLOWED_URI: ue
|
|
214
222
|
} = tn, y = null;
|
|
215
|
-
const De = f({}, [...
|
|
223
|
+
const De = f({}, [...Jt, ...rt, ...at, ...lt, ...Qt]);
|
|
216
224
|
let w = null;
|
|
217
225
|
const Ie = f({}, [...$t, ...ct, ...en, ...Ge]);
|
|
218
226
|
let r = Object.seal(dn(null, {
|
|
@@ -234,26 +242,26 @@ function _n() {
|
|
|
234
242
|
enumerable: !0,
|
|
235
243
|
value: !1
|
|
236
244
|
}
|
|
237
|
-
})),
|
|
238
|
-
const
|
|
239
|
-
let et = !0, Ce = !1,
|
|
245
|
+
})), S = null, ee = null, H = !0, Ze = !0, mt = !1, pt = !0, Te = !1, Je = !0, ge = !1, Qe = !1, $e = !1, Se = !1, Pe = !1, Ue = !1, dt = !0, ht = !1;
|
|
246
|
+
const Tn = "user-content-";
|
|
247
|
+
let et = !0, Ce = !1, be = {}, ye = null;
|
|
240
248
|
const gt = 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"]);
|
|
241
249
|
let _t = null;
|
|
242
250
|
const Et = f({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
243
251
|
let tt = null;
|
|
244
252
|
const Tt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Fe = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", re = "http://www.w3.org/1999/xhtml";
|
|
245
253
|
let we = re, nt = !1, it = null;
|
|
246
|
-
const
|
|
254
|
+
const Sn = f({}, [Fe, ze, re], st);
|
|
247
255
|
let xe = null;
|
|
248
|
-
const bn = ["application/xhtml+xml", "text/html"],
|
|
256
|
+
const bn = ["application/xhtml+xml", "text/html"], yn = "text/html";
|
|
249
257
|
let v = null, Ae = null;
|
|
250
|
-
const
|
|
258
|
+
const wn = i.createElement("form"), St = function(e) {
|
|
251
259
|
return e instanceof RegExp || e instanceof Function;
|
|
252
260
|
}, ot = function() {
|
|
253
261
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
254
262
|
if (!(Ae && Ae === e)) {
|
|
255
263
|
if ((!e || typeof e != "object") && (e = {}), e = _e(e), xe = // eslint-disable-next-line unicorn/prefer-includes
|
|
256
|
-
bn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ?
|
|
264
|
+
bn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, v = xe === "application/xhtml+xml" ? st : Ve, y = te(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, v) : De, w = te(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, v) : Ie, it = te(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : Sn, tt = te(e, "ADD_URI_SAFE_ATTR") ? f(
|
|
257
265
|
_e(Tt),
|
|
258
266
|
// eslint-disable-line indent
|
|
259
267
|
e.ADD_URI_SAFE_ATTR,
|
|
@@ -267,24 +275,24 @@ function _n() {
|
|
|
267
275
|
// eslint-disable-line indent
|
|
268
276
|
v
|
|
269
277
|
// eslint-disable-line indent
|
|
270
|
-
) : Et, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt,
|
|
278
|
+
) : Et, ye = te(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, v) : gt, S = te(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, v) : {}, ee = te(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, v) : {}, be = te(e, "USE_PROFILES") ? e.USE_PROFILES : !1, H = e.ALLOW_ARIA_ATTR !== !1, Ze = e.ALLOW_DATA_ATTR !== !1, mt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, pt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Te = e.SAFE_FOR_TEMPLATES || !1, Je = e.SAFE_FOR_XML !== !1, ge = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ue = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, dt = e.SANITIZE_DOM !== !1, ht = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Ce = e.IN_PLACE || !1, ue = e.ALLOWED_URI_REGEXP || hn, we = e.NAMESPACE || re, r = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (r.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (r.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (r.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Te && (Ze = !1), Pe && (Se = !0), be && (y = f({}, Qt), w = [], be.html === !0 && (f(y, Jt), f(w, $t)), be.svg === !0 && (f(y, rt), f(w, ct), f(w, Ge)), be.svgFilters === !0 && (f(y, at), f(w, ct), f(w, Ge)), be.mathMl === !0 && (f(y, lt), f(w, en), f(w, Ge))), e.ADD_TAGS && (y === De && (y = _e(y)), f(y, e.ADD_TAGS, v)), e.ADD_ATTR && (w === Ie && (w = _e(w)), f(w, e.ADD_ATTR, v)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, v), e.FORBID_CONTENTS && (ye === gt && (ye = _e(ye)), f(ye, e.FORBID_CONTENTS, v)), et && (y["#text"] = !0), ge && f(y, ["html", "head", "body"]), y.table && (f(y, ["tbody"]), delete S.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
271
279
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
272
280
|
throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
273
281
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
274
282
|
throw Me('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
275
283
|
m = e.TRUSTED_TYPES_POLICY, W = m.createHTML("");
|
|
276
284
|
} else
|
|
277
|
-
m === void 0 && (m =
|
|
285
|
+
m === void 0 && (m = ui(V, a)), m !== null && typeof W == "string" && (W = m.createHTML(""));
|
|
278
286
|
F && F(e), Ae = e;
|
|
279
287
|
}
|
|
280
|
-
},
|
|
288
|
+
}, bt = f({}, ["mi", "mo", "mn", "ms", "mtext"]), yt = f({}, ["foreignobject", "annotation-xml"]), An = f({}, ["title", "style", "font", "a", "script"]), wt = f({}, [...rt, ...at, ...$n]), At = f({}, [...lt, ...ei]), Cn = function(e) {
|
|
281
289
|
let s = p(e);
|
|
282
290
|
(!s || !s.tagName) && (s = {
|
|
283
291
|
namespaceURI: we,
|
|
284
292
|
tagName: "template"
|
|
285
293
|
});
|
|
286
294
|
const l = Ve(e.tagName), _ = Ve(s.tagName);
|
|
287
|
-
return it[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" ||
|
|
295
|
+
return it[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === re ? l === "svg" : s.namespaceURI === Fe ? l === "svg" && (_ === "annotation-xml" || bt[_]) : !!wt[l] : e.namespaceURI === Fe ? s.namespaceURI === re ? l === "math" : s.namespaceURI === ze ? l === "math" && yt[_] : !!At[l] : e.namespaceURI === re ? s.namespaceURI === ze && !yt[_] || s.namespaceURI === Fe && !bt[_] ? !1 : !At[l] && (An[l] || !wt[l]) : !!(xe === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
|
|
288
296
|
}, ne = function(e) {
|
|
289
297
|
Le(t.removed, {
|
|
290
298
|
element: e
|
|
@@ -307,7 +315,7 @@ function _n() {
|
|
|
307
315
|
});
|
|
308
316
|
}
|
|
309
317
|
if (s.removeAttribute(e), e === "is" && !w[e])
|
|
310
|
-
if (
|
|
318
|
+
if (Se || Pe)
|
|
311
319
|
try {
|
|
312
320
|
ne(s);
|
|
313
321
|
} catch {
|
|
@@ -322,7 +330,7 @@ function _n() {
|
|
|
322
330
|
if ($e)
|
|
323
331
|
e = "<remove></remove>" + e;
|
|
324
332
|
else {
|
|
325
|
-
const N =
|
|
333
|
+
const N = Zt(e, /^[\r\n\t ]+/);
|
|
326
334
|
l = N && N[0];
|
|
327
335
|
}
|
|
328
336
|
xe === "application/xhtml+xml" && we === re && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
@@ -365,10 +373,10 @@ function _n() {
|
|
|
365
373
|
if (ae("uponSanitizeElement", e, {
|
|
366
374
|
tagName: l,
|
|
367
375
|
allowedTags: y
|
|
368
|
-
}), e.hasChildNodes() && !Lt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ne.progressingInstruction ||
|
|
376
|
+
}), e.hasChildNodes() && !Lt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ne.progressingInstruction || Je && e.nodeType === Ne.comment && U(/<[/\w]/g, e.data))
|
|
369
377
|
return ne(e), !0;
|
|
370
|
-
if (!y[l] ||
|
|
371
|
-
if (!
|
|
378
|
+
if (!y[l] || S[l]) {
|
|
379
|
+
if (!S[l] && Ot(l) && (r.tagNameCheck instanceof RegExp && U(r.tagNameCheck, l) || r.tagNameCheck instanceof Function && r.tagNameCheck(l)))
|
|
372
380
|
return !1;
|
|
373
381
|
if (et && !ye[l]) {
|
|
374
382
|
const _ = p(e) || e.parentNode, I = z(e) || e.childNodes;
|
|
@@ -382,16 +390,16 @@ function _n() {
|
|
|
382
390
|
}
|
|
383
391
|
return ne(e), !0;
|
|
384
392
|
}
|
|
385
|
-
return e instanceof D && !
|
|
393
|
+
return e instanceof D && !Cn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ne(e), !0) : (Te && e.nodeType === Ne.text && (s = e.textContent, Be([Y, $, O], (_) => {
|
|
386
394
|
s = ve(s, _, " ");
|
|
387
395
|
}), e.textContent !== s && (Le(t.removed, {
|
|
388
396
|
element: e.cloneNode()
|
|
389
397
|
}), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
|
|
390
398
|
}, Mt = function(e, s, l) {
|
|
391
|
-
if (dt && (s === "id" || s === "name") && (l in i || l in
|
|
399
|
+
if (dt && (s === "id" || s === "name") && (l in i || l in wn))
|
|
392
400
|
return !1;
|
|
393
|
-
if (!(
|
|
394
|
-
if (!(H && U(
|
|
401
|
+
if (!(Ze && !ee[s] && U(Ee, s))) {
|
|
402
|
+
if (!(H && U(Z, s))) {
|
|
395
403
|
if (!w[s] || ee[s]) {
|
|
396
404
|
if (
|
|
397
405
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
@@ -404,7 +412,7 @@ function _n() {
|
|
|
404
412
|
return !1;
|
|
405
413
|
} else if (!tt[s]) {
|
|
406
414
|
if (!U(ue, ve(l, d, ""))) {
|
|
407
|
-
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" &&
|
|
415
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Kn(l, "data:") === 0 && _t[e])) {
|
|
408
416
|
if (!(mt && !U(se, ve(l, d, "")))) {
|
|
409
417
|
if (l)
|
|
410
418
|
return !1;
|
|
@@ -416,7 +424,7 @@ function _n() {
|
|
|
416
424
|
}
|
|
417
425
|
return !0;
|
|
418
426
|
}, Ot = function(e) {
|
|
419
|
-
return e !== "annotation-xml" &&
|
|
427
|
+
return e !== "annotation-xml" && Zt(e, T);
|
|
420
428
|
}, Nt = function(e) {
|
|
421
429
|
ae("beforeSanitizeAttributes", e, null);
|
|
422
430
|
const {
|
|
@@ -437,8 +445,8 @@ function _n() {
|
|
|
437
445
|
namespaceURI: B,
|
|
438
446
|
value: ie
|
|
439
447
|
} = I, Re = v(N);
|
|
440
|
-
let P = N === "value" ? ie :
|
|
441
|
-
if (l.attrName = Re, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, l), P = l.attrValue,
|
|
448
|
+
let P = N === "value" ? ie : Zn(ie);
|
|
449
|
+
if (l.attrName = Re, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, l), P = l.attrValue, Je && U(/((--!?|])>)|<\/(style|title)/i, P)) {
|
|
442
450
|
He(N, e);
|
|
443
451
|
continue;
|
|
444
452
|
}
|
|
@@ -453,7 +461,7 @@ function _n() {
|
|
|
453
461
|
});
|
|
454
462
|
const kt = v(e.nodeName);
|
|
455
463
|
if (Mt(kt, Re, P)) {
|
|
456
|
-
if (ht && (Re === "id" || Re === "name") && (He(N, e), P =
|
|
464
|
+
if (ht && (Re === "id" || Re === "name") && (He(N, e), P = Tn + P), m && typeof V == "object" && typeof V.getAttributeType == "function" && !B)
|
|
457
465
|
switch (V.getAttributeType(kt, Re)) {
|
|
458
466
|
case "TrustedHTML": {
|
|
459
467
|
P = m.createHTML(P);
|
|
@@ -471,7 +479,7 @@ function _n() {
|
|
|
471
479
|
}
|
|
472
480
|
}
|
|
473
481
|
ae("afterSanitizeAttributes", e, null);
|
|
474
|
-
},
|
|
482
|
+
}, xn = function c(e) {
|
|
475
483
|
let s = null;
|
|
476
484
|
const l = xt(e);
|
|
477
485
|
for (ae("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
|
|
@@ -491,25 +499,25 @@ function _n() {
|
|
|
491
499
|
if (Qe || ot(e), t.removed = [], typeof c == "string" && (Ce = !1), Ce) {
|
|
492
500
|
if (c.nodeName) {
|
|
493
501
|
const ie = v(c.nodeName);
|
|
494
|
-
if (!y[ie] ||
|
|
502
|
+
if (!y[ie] || S[ie])
|
|
495
503
|
throw Me("root node is forbidden and cannot be sanitized in-place");
|
|
496
504
|
}
|
|
497
505
|
} else if (c instanceof k)
|
|
498
506
|
s = Ct("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ne.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
|
|
499
507
|
else {
|
|
500
|
-
if (!
|
|
508
|
+
if (!Se && !Te && !ge && // eslint-disable-next-line unicorn/prefer-includes
|
|
501
509
|
c.indexOf("<") === -1)
|
|
502
510
|
return m && Ue ? m.createHTML(c) : c;
|
|
503
511
|
if (s = Ct(c), !s)
|
|
504
|
-
return
|
|
512
|
+
return Se ? null : Ue ? W : "";
|
|
505
513
|
}
|
|
506
514
|
s && $e && ne(s.firstChild);
|
|
507
515
|
const N = xt(Ce ? c : s);
|
|
508
516
|
for (; _ = N.nextNode(); )
|
|
509
|
-
vt(_) || (_.content instanceof u &&
|
|
517
|
+
vt(_) || (_.content instanceof u && xn(_.content), Nt(_));
|
|
510
518
|
if (Ce)
|
|
511
519
|
return c;
|
|
512
|
-
if (
|
|
520
|
+
if (Se) {
|
|
513
521
|
if (Pe)
|
|
514
522
|
for (I = L.call(s.ownerDocument); s.firstChild; )
|
|
515
523
|
I.appendChild(s.firstChild);
|
|
@@ -543,15 +551,15 @@ function _n() {
|
|
|
543
551
|
}, t;
|
|
544
552
|
}
|
|
545
553
|
var nn = _n();
|
|
546
|
-
function
|
|
547
|
-
|
|
554
|
+
function fi(n) {
|
|
555
|
+
Dn(n, "svelte-o1jkoy", '*,*::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:15;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);width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3)}.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%)}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);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}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align: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);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:20px}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 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;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);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%;text-align:center}.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);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);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}}');
|
|
548
556
|
}
|
|
549
|
-
const
|
|
557
|
+
const mi = (n) => ({}), on = (n) => ({}), pi = (n) => ({}), sn = (n) => ({}), di = (n) => ({}), rn = (n) => ({}), hi = (n) => ({}), an = (n) => ({ class: "CashierSessionExpirationIcon" });
|
|
550
558
|
function ln(n) {
|
|
551
559
|
let t, i, o, a, u, h = (
|
|
552
560
|
/*$_*/
|
|
553
561
|
n[8]("sessionExpirationHeader") + ""
|
|
554
|
-
), k, D, A, x, de, he, V,
|
|
562
|
+
), k, D, A, x, de, he, V, b, R, M, ce, z, p, m, W;
|
|
555
563
|
const q = (
|
|
556
564
|
/*#slots*/
|
|
557
565
|
n[22].icon
|
|
@@ -561,7 +569,7 @@ function ln(n) {
|
|
|
561
569
|
/*$$scope*/
|
|
562
570
|
n[21],
|
|
563
571
|
an
|
|
564
|
-
), L = K ||
|
|
572
|
+
), L = K || gi(n), Q = (
|
|
565
573
|
/*#slots*/
|
|
566
574
|
n[22].title
|
|
567
575
|
), oe = We(
|
|
@@ -570,7 +578,7 @@ function ln(n) {
|
|
|
570
578
|
/*$$scope*/
|
|
571
579
|
n[21],
|
|
572
580
|
rn
|
|
573
|
-
), g = oe ||
|
|
581
|
+
), g = oe || _i(n), Y = (
|
|
574
582
|
/*#slots*/
|
|
575
583
|
n[22].text
|
|
576
584
|
), $ = We(
|
|
@@ -579,29 +587,29 @@ function ln(n) {
|
|
|
579
587
|
/*$$scope*/
|
|
580
588
|
n[21],
|
|
581
589
|
sn
|
|
582
|
-
), O = $ ||
|
|
590
|
+
), O = $ || Ei(n), Ee = [Si, Ti], Z = [];
|
|
583
591
|
function se(d, T) {
|
|
584
592
|
return (
|
|
585
593
|
/*showLoaderButton*/
|
|
586
594
|
d[6] ? 0 : 1
|
|
587
595
|
);
|
|
588
596
|
}
|
|
589
|
-
return R = se(n), M =
|
|
597
|
+
return R = se(n), M = Z[R] = Ee[R](n), {
|
|
590
598
|
c() {
|
|
591
|
-
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k = Ke(h), D = ke(), A = G("div"), x = G("div"), L && L.c(), de = ke(), g && g.c(), he = ke(), O && O.c(), V = ke(),
|
|
592
|
-
n[6], E(
|
|
599
|
+
t = G("div"), i = G("div"), o = G("div"), a = G("div"), u = G("div"), k = Ke(h), D = ke(), A = G("div"), x = G("div"), L && L.c(), de = ke(), g && g.c(), he = ke(), O && O.c(), V = ke(), b = G("button"), M.c(), E(u, "class", "CashierSessionExpirationModalHeaderTitle"), E(a, "class", "CashierSessionExpirationModalHeader"), E(b, "type", "button"), b.disabled = /*showLoaderButton*/
|
|
600
|
+
n[6], E(b, "class", "CashierSessionExpirationButton"), E(x, "class", "CashierSessionExpiration"), E(A, "class", "CashierSessionExpirationModalContainer"), E(o, "class", "CashierSessionExpirationModalWrapper"), E(i, "class", "CashierSessionExpirationModalWindow"), E(i, "id", "CashierSessionExpirationModal"), Ut(() => (
|
|
593
601
|
/*div5_elementresize_handler*/
|
|
594
602
|
n[24].call(i)
|
|
595
603
|
));
|
|
596
604
|
},
|
|
597
605
|
m(d, T) {
|
|
598
|
-
pe(d, t, T), C(t, i), C(i, o), C(o, a), C(a, u), C(u, k), C(o, D), C(o, A), C(A, x), L && L.m(x, null), C(x, de), g && g.m(x, null), C(x, he), O && O.m(x, null), C(x, V), C(x,
|
|
606
|
+
pe(d, t, T), C(t, i), C(i, o), C(o, a), C(a, u), C(u, k), C(o, D), C(o, A), C(A, x), L && L.m(x, null), C(x, de), g && g.m(x, null), C(x, he), O && O.m(x, null), C(x, V), C(x, b), Z[R].m(b, null), n[23](x), ce = Fn(
|
|
599
607
|
i,
|
|
600
608
|
/*div5_elementresize_handler*/
|
|
601
609
|
n[24].bind(i)
|
|
602
610
|
), n[25](t), p = !0, m || (W = [
|
|
603
611
|
Ft(
|
|
604
|
-
|
|
612
|
+
b,
|
|
605
613
|
"click",
|
|
606
614
|
/*renewSession*/
|
|
607
615
|
n[9]
|
|
@@ -629,7 +637,7 @@ function ln(n) {
|
|
|
629
637
|
/*$$scope*/
|
|
630
638
|
n[21],
|
|
631
639
|
T,
|
|
632
|
-
|
|
640
|
+
hi
|
|
633
641
|
) : je(
|
|
634
642
|
/*$$scope*/
|
|
635
643
|
n[21]
|
|
@@ -648,7 +656,7 @@ function ln(n) {
|
|
|
648
656
|
/*$$scope*/
|
|
649
657
|
n[21],
|
|
650
658
|
T,
|
|
651
|
-
|
|
659
|
+
di
|
|
652
660
|
) : je(
|
|
653
661
|
/*$$scope*/
|
|
654
662
|
n[21]
|
|
@@ -667,7 +675,7 @@ function ln(n) {
|
|
|
667
675
|
/*$$scope*/
|
|
668
676
|
n[21],
|
|
669
677
|
T,
|
|
670
|
-
|
|
678
|
+
pi
|
|
671
679
|
) : je(
|
|
672
680
|
/*$$scope*/
|
|
673
681
|
n[21]
|
|
@@ -676,28 +684,28 @@ function ln(n) {
|
|
|
676
684
|
) : O && O.p && (!p || T[0] & /*$_, timeLeft*/
|
|
677
685
|
384) && O.p(n, p ? T : [-1, -1]);
|
|
678
686
|
let ue = R;
|
|
679
|
-
R = se(n), R === ue ?
|
|
680
|
-
|
|
681
|
-
}), fn(), M =
|
|
682
|
-
64) && (
|
|
687
|
+
R = se(n), R === ue ? Z[R].p(n, T) : (un(), fe(Z[ue], 1, 1, () => {
|
|
688
|
+
Z[ue] = null;
|
|
689
|
+
}), fn(), M = Z[R], M ? M.p(n, T) : (M = Z[R] = Ee[R](n), M.c()), le(M, 1), M.m(b, null)), (!p || T[0] & /*showLoaderButton*/
|
|
690
|
+
64) && (b.disabled = /*showLoaderButton*/
|
|
683
691
|
n[6]);
|
|
684
692
|
},
|
|
685
693
|
i(d) {
|
|
686
694
|
p || (le(L, d), le(g, d), le(O, d), le(M), d && Ut(() => {
|
|
687
|
-
p && (z || (z = Pt(i,
|
|
695
|
+
p && (z || (z = Pt(i, jt, { duration: (
|
|
688
696
|
/*duration*/
|
|
689
697
|
n[2]
|
|
690
698
|
) }, !0)), z.run(1));
|
|
691
699
|
}), p = !0);
|
|
692
700
|
},
|
|
693
701
|
o(d) {
|
|
694
|
-
fe(L, d), fe(g, d), fe(O, d), fe(M), d && (z || (z = Pt(i,
|
|
702
|
+
fe(L, d), fe(g, d), fe(O, d), fe(M), d && (z || (z = Pt(i, jt, { duration: (
|
|
695
703
|
/*duration*/
|
|
696
704
|
n[2]
|
|
697
705
|
) }, !1)), z.run(0)), p = !1;
|
|
698
706
|
},
|
|
699
707
|
d(d) {
|
|
700
|
-
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d),
|
|
708
|
+
d && me(t), L && L.d(d), g && g.d(d), O && O.d(d), Z[R].d(), n[23](null), ce(), d && z && z.end(), n[25](null), m = !1, Un(W);
|
|
701
709
|
}
|
|
702
710
|
};
|
|
703
711
|
}
|
|
@@ -721,7 +729,7 @@ function cn(n) {
|
|
|
721
729
|
}
|
|
722
730
|
};
|
|
723
731
|
}
|
|
724
|
-
function
|
|
732
|
+
function gi(n) {
|
|
725
733
|
let t, i = (
|
|
726
734
|
/*assetsurl*/
|
|
727
735
|
n[3] && cn(n)
|
|
@@ -742,7 +750,7 @@ function di(n) {
|
|
|
742
750
|
}
|
|
743
751
|
};
|
|
744
752
|
}
|
|
745
|
-
function
|
|
753
|
+
function _i(n) {
|
|
746
754
|
let t, i = (
|
|
747
755
|
/*$_*/
|
|
748
756
|
n[8]("sessionExpirationTitle") + ""
|
|
@@ -764,7 +772,7 @@ function hi(n) {
|
|
|
764
772
|
}
|
|
765
773
|
};
|
|
766
774
|
}
|
|
767
|
-
function
|
|
775
|
+
function Ei(n) {
|
|
768
776
|
let t, i = nn.sanitize(
|
|
769
777
|
/*$_*/
|
|
770
778
|
n[8]("sessionExpirationGeneralText", { values: { second: (
|
|
@@ -794,7 +802,7 @@ function gi(n) {
|
|
|
794
802
|
}
|
|
795
803
|
};
|
|
796
804
|
}
|
|
797
|
-
function
|
|
805
|
+
function Ti(n) {
|
|
798
806
|
let t;
|
|
799
807
|
const i = (
|
|
800
808
|
/*#slots*/
|
|
@@ -805,7 +813,7 @@ function _i(n) {
|
|
|
805
813
|
/*$$scope*/
|
|
806
814
|
n[21],
|
|
807
815
|
on
|
|
808
|
-
), a = o ||
|
|
816
|
+
), a = o || bi(n);
|
|
809
817
|
return {
|
|
810
818
|
c() {
|
|
811
819
|
a && a.c();
|
|
@@ -826,7 +834,7 @@ function _i(n) {
|
|
|
826
834
|
/*$$scope*/
|
|
827
835
|
u[21],
|
|
828
836
|
h,
|
|
829
|
-
|
|
837
|
+
mi
|
|
830
838
|
) : je(
|
|
831
839
|
/*$$scope*/
|
|
832
840
|
u[21]
|
|
@@ -846,7 +854,7 @@ function _i(n) {
|
|
|
846
854
|
}
|
|
847
855
|
};
|
|
848
856
|
}
|
|
849
|
-
function
|
|
857
|
+
function Si(n) {
|
|
850
858
|
let t, i, o, a, u, h = (
|
|
851
859
|
/*$_*/
|
|
852
860
|
n[8]("sessionExpirationLoadingButton") + ""
|
|
@@ -870,7 +878,7 @@ function Ei(n) {
|
|
|
870
878
|
}
|
|
871
879
|
};
|
|
872
880
|
}
|
|
873
|
-
function
|
|
881
|
+
function bi(n) {
|
|
874
882
|
let t, i = (
|
|
875
883
|
/*$_*/
|
|
876
884
|
n[8]("sessionExpirationGeneralButton") + ""
|
|
@@ -892,7 +900,7 @@ function Ti(n) {
|
|
|
892
900
|
}
|
|
893
901
|
};
|
|
894
902
|
}
|
|
895
|
-
function
|
|
903
|
+
function yi(n) {
|
|
896
904
|
let t, i, o = (
|
|
897
905
|
/*show*/
|
|
898
906
|
n[5] && ln(n)
|
|
@@ -922,13 +930,13 @@ function bi(n) {
|
|
|
922
930
|
}
|
|
923
931
|
};
|
|
924
932
|
}
|
|
925
|
-
const
|
|
926
|
-
function
|
|
933
|
+
const wi = 90;
|
|
934
|
+
function Ai(n, t, i) {
|
|
927
935
|
let o, a;
|
|
928
|
-
It(n,
|
|
936
|
+
It(n, Yt, (r) => i(20, o = r)), It(n, Wn, (r) => i(8, a = r));
|
|
929
937
|
let { $$slots: u = {}, $$scope: h } = t;
|
|
930
|
-
|
|
931
|
-
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: x } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl:
|
|
938
|
+
Wt.extend(Yn);
|
|
939
|
+
let { clientstyling: k = "" } = t, { clientstylingurl: D = "" } = t, { width: A } = t, { height: x } = t, { duration: de = 200 } = t, { assetsurl: he = "" } = t, { lang: V = "en" } = t, { translationurl: b = "" } = t, { endpoint: R } = t, { currency: M } = t, { customerid: ce } = t, { selectedpaymentmethodname: z } = t, { mbsource: p = "" } = t, m, W = !1, q = !1, K, L, Q, oe, g;
|
|
932
940
|
var Y;
|
|
933
941
|
(function(r) {
|
|
934
942
|
r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
|
|
@@ -949,13 +957,13 @@ function yi(n, t, i) {
|
|
|
949
957
|
},
|
|
950
958
|
window.location.href
|
|
951
959
|
);
|
|
952
|
-
},
|
|
960
|
+
}, Z = (r) => {
|
|
953
961
|
i(5, W = !1);
|
|
954
|
-
const
|
|
955
|
-
|
|
962
|
+
const S = O(r);
|
|
963
|
+
S && (L = S?.exp, i(7, K = L), Q && clearInterval(Q), Q = setInterval(
|
|
956
964
|
() => {
|
|
957
965
|
const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
|
|
958
|
-
i(7, K = L - ee), K <=
|
|
966
|
+
i(7, K = L - ee), K <= wi && i(5, W = !0), ee >= L && (se(), window.postMessage({ type: "SessionExpired" }, window.location.href));
|
|
959
967
|
},
|
|
960
968
|
1e3
|
|
961
969
|
));
|
|
@@ -964,12 +972,12 @@ function yi(n, t, i) {
|
|
|
964
972
|
}, d = () => {
|
|
965
973
|
if (q)
|
|
966
974
|
return;
|
|
967
|
-
const r = new URL(`${R}/v1/player/${ce}/payment/GetPaymentMethod`),
|
|
968
|
-
i(6, q = !0),
|
|
975
|
+
const r = new URL(`${R}/v1/player/${ce}/payment/GetPaymentMethod`), S = new Headers();
|
|
976
|
+
i(6, q = !0), S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-Client-Request-Timestamp", Wt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
969
977
|
const ee = {
|
|
970
978
|
method: "POST",
|
|
971
979
|
mode: "cors",
|
|
972
|
-
headers:
|
|
980
|
+
headers: S,
|
|
973
981
|
body: JSON.stringify({
|
|
974
982
|
PaymentMethodName: oe || z,
|
|
975
983
|
Currency: M,
|
|
@@ -995,29 +1003,29 @@ function yi(n, t, i) {
|
|
|
995
1003
|
g = H.ResponseCode, se();
|
|
996
1004
|
return;
|
|
997
1005
|
}
|
|
998
|
-
H.XPaymentSessionToken &&
|
|
1006
|
+
H.XPaymentSessionToken && Yt.set(H.XPaymentSessionToken);
|
|
999
1007
|
}).finally(() => i(6, q = !1));
|
|
1000
1008
|
}, T = (r) => {
|
|
1001
|
-
const
|
|
1002
|
-
r.target ===
|
|
1009
|
+
const S = r.currentTarget;
|
|
1010
|
+
r.target === S && d();
|
|
1003
1011
|
}, ue = () => {
|
|
1004
|
-
fetch(
|
|
1005
|
-
Object.keys(
|
|
1006
|
-
Xt(ee,
|
|
1012
|
+
fetch(b).then((S) => S.json()).then((S) => {
|
|
1013
|
+
Object.keys(S).forEach((ee) => {
|
|
1014
|
+
Xt(ee, S[ee]);
|
|
1007
1015
|
});
|
|
1008
|
-
}).catch((
|
|
1009
|
-
console.log(
|
|
1016
|
+
}).catch((S) => {
|
|
1017
|
+
console.log(S);
|
|
1010
1018
|
});
|
|
1011
1019
|
};
|
|
1012
1020
|
Object.keys(Vt).forEach((r) => {
|
|
1013
1021
|
Xt(r, Vt[r]);
|
|
1014
1022
|
});
|
|
1015
1023
|
const y = () => {
|
|
1016
|
-
|
|
1024
|
+
jn(V);
|
|
1017
1025
|
};
|
|
1018
|
-
|
|
1026
|
+
In(() => (window.addEventListener("message", $, !1), () => {
|
|
1019
1027
|
window.removeEventListener("message", $);
|
|
1020
|
-
})),
|
|
1028
|
+
})), Pn(() => {
|
|
1021
1029
|
clearInterval(Q);
|
|
1022
1030
|
});
|
|
1023
1031
|
function De(r) {
|
|
@@ -1034,15 +1042,15 @@ function yi(n, t, i) {
|
|
|
1034
1042
|
});
|
|
1035
1043
|
}
|
|
1036
1044
|
return n.$$set = (r) => {
|
|
1037
|
-
"clientstyling" in r && i(11, k = r.clientstyling), "clientstylingurl" in r && i(12, D = r.clientstylingurl), "width" in r && i(0, A = r.width), "height" in r && i(1, x = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14,
|
|
1045
|
+
"clientstyling" in r && i(11, k = r.clientstyling), "clientstylingurl" in r && i(12, D = r.clientstylingurl), "width" in r && i(0, A = r.width), "height" in r && i(1, x = r.height), "duration" in r && i(2, de = r.duration), "assetsurl" in r && i(3, he = r.assetsurl), "lang" in r && i(13, V = r.lang), "translationurl" in r && i(14, b = r.translationurl), "endpoint" in r && i(15, R = r.endpoint), "currency" in r && i(16, M = r.currency), "customerid" in r && i(17, ce = r.customerid), "selectedpaymentmethodname" in r && i(18, z = r.selectedpaymentmethodname), "mbsource" in r && i(19, p = r.mbsource), "$$scope" in r && i(21, h = r.$$scope);
|
|
1038
1046
|
}, n.$$.update = () => {
|
|
1039
1047
|
n.$$.dirty[0] & /*$xPaymentSessionToken*/
|
|
1040
|
-
1048576 &&
|
|
1048
|
+
1048576 && Z(o), n.$$.dirty[0] & /*lang*/
|
|
1041
1049
|
8192 && V && y(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1042
|
-
2064 && k && m &&
|
|
1043
|
-
4112 && D && m &&
|
|
1044
|
-
524304 && p && m &&
|
|
1045
|
-
16384 &&
|
|
1050
|
+
2064 && k && m && zn(m, k), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1051
|
+
4112 && D && m && Hn(m, D), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1052
|
+
524304 && p && m && Bn(m, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
|
|
1053
|
+
16384 && b && ue();
|
|
1046
1054
|
}, [
|
|
1047
1055
|
A,
|
|
1048
1056
|
x,
|
|
@@ -1058,7 +1066,7 @@ function yi(n, t, i) {
|
|
|
1058
1066
|
k,
|
|
1059
1067
|
D,
|
|
1060
1068
|
V,
|
|
1061
|
-
|
|
1069
|
+
b,
|
|
1062
1070
|
R,
|
|
1063
1071
|
M,
|
|
1064
1072
|
ce,
|
|
@@ -1072,14 +1080,14 @@ function yi(n, t, i) {
|
|
|
1072
1080
|
Ie
|
|
1073
1081
|
];
|
|
1074
1082
|
}
|
|
1075
|
-
class
|
|
1083
|
+
class En extends On {
|
|
1076
1084
|
constructor(t) {
|
|
1077
|
-
super(),
|
|
1085
|
+
super(), Nn(
|
|
1078
1086
|
this,
|
|
1079
1087
|
t,
|
|
1088
|
+
Ai,
|
|
1080
1089
|
yi,
|
|
1081
|
-
|
|
1082
|
-
On,
|
|
1090
|
+
kn,
|
|
1083
1091
|
{
|
|
1084
1092
|
clientstyling: 11,
|
|
1085
1093
|
clientstylingurl: 12,
|
|
@@ -1095,7 +1103,7 @@ class wi extends vn {
|
|
|
1095
1103
|
selectedpaymentmethodname: 18,
|
|
1096
1104
|
mbsource: 19
|
|
1097
1105
|
},
|
|
1098
|
-
|
|
1106
|
+
fi,
|
|
1099
1107
|
[-1, -1]
|
|
1100
1108
|
);
|
|
1101
1109
|
}
|
|
@@ -1178,7 +1186,12 @@ class wi extends vn {
|
|
|
1178
1186
|
this.$$set({ mbsource: t }), j();
|
|
1179
1187
|
}
|
|
1180
1188
|
}
|
|
1181
|
-
|
|
1189
|
+
Gn(En, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
1190
|
+
const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1191
|
+
__proto__: null,
|
|
1192
|
+
default: En
|
|
1193
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1182
1194
|
export {
|
|
1183
|
-
|
|
1195
|
+
Ri as C,
|
|
1196
|
+
jt as f
|
|
1184
1197
|
};
|