@everymatrix/cashier-page 1.93.65 → 1.93.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/components/{CashierMethodDetails-CyiT2xsa.js → CashierMethodDetails-B80VNj_D.js} +652 -632
  2. package/components/{CashierMethodDetails-p9l4Iluu.cjs → CashierMethodDetails-DL0E2K7D.cjs} +4 -4
  3. package/components/{CashierMethodDetails-vTXZEUgh.js → CashierMethodDetails-DOxjgBPP.js} +468 -448
  4. package/components/{CashierMethodsList-By3SBa7K.js → CashierMethodsList-AGyi-1WS.js} +378 -355
  5. package/components/{CashierMethodsList-CZdQjuPQ.js → CashierMethodsList-BMD1_XUn.js} +303 -308
  6. package/components/CashierMethodsList-DhXCE9bn.cjs +1 -0
  7. package/components/{CashierPage-CBLhCGtM.js → CashierPage-Cl1B-pXl.js} +39 -6
  8. package/components/{CashierPage-ChksZ7x2.js → CashierPage-wnVVxtWE.js} +39 -6
  9. package/components/CashierPage-z3O2UFl5.cjs +1 -0
  10. package/components/{CashierReceiptPage-C9vc8Tdq.js → CashierReceiptPage-DIbzZT8o.js} +2 -2
  11. package/components/{CashierReceiptPage-D7uA7grn.cjs → CashierReceiptPage-DjD6wuB3.cjs} +1 -1
  12. package/components/{CashierReceiptPage-DiyMd0oq.js → CashierReceiptPage-HK4kGpqY.js} +2 -2
  13. package/components/{CashierSessionExpirationModal-DsVCou9W.js → CashierSessionExpirationModal-BI0TSNVV.js} +416 -408
  14. package/components/{CashierSessionExpirationModal-u83AoXvo.js → CashierSessionExpirationModal-C6eNs52S.js} +402 -394
  15. package/components/CashierSessionExpirationModal-kmyaKGHm.cjs +2 -0
  16. package/components/{CashierTransactionHistory-Dx7mVKOh.cjs → CashierTransactionHistory-CXBAT5C2.cjs} +1 -1
  17. package/components/{CashierTransactionHistory-Dd5ydbYM.js → CashierTransactionHistory-CXUPvjmQ.js} +2 -2
  18. package/components/{CashierTransactionHistory-JR1DrsVh.js → CashierTransactionHistory-CnmFGuup.js} +2 -2
  19. package/components/{CashierVerifications-C_73oFvm.cjs → CashierVerifications-C_dhaXxc.cjs} +1 -1
  20. package/components/{CashierVerifications-clMzLemr.js → CashierVerifications-DqJGumEc.js} +166 -158
  21. package/components/{CashierVerifications-0enYZZLD.js → CashierVerifications-fkBvQqBz.js} +164 -156
  22. package/es2015/cashier-page.cjs +1 -1
  23. package/es2015/cashier-page.js +1 -1
  24. package/esnext/cashier-page.js +1 -1
  25. package/package.json +1 -1
  26. package/components/CashierMethodsList-CUErZLfD.cjs +0 -1
  27. package/components/CashierPage-9HFOkmPt.cjs +0 -1
  28. package/components/CashierSessionExpirationModal-TeGdT9SY.cjs +0 -2
@@ -1,6 +1,6 @@
1
- import { a as Cn, $ as vn, i as Ln, b as Mn, c as Rn, S as kn, d as On, s as Dn, f as Z, e as Nn, h as Me, t as Ae, j as ye, a6 as fn, a7 as mn, m as Re, o as R, r as Ut, v as In, ag as Fn, g as et, a2 as Pn, aa as Bt, L as zt, x as We, u as tt, k as nt, l as it, q as u, n as p, a8 as Un, z as Ke, X as se, p as we, y as Ye, A as Ht, w as Bn, H as Gt, B as Wt, D as zn, E as Hn, F as Gn, G as Wn } from "./CashierCarousel-DcUyAcwc.js";
2
- import { a as Yt } from "./CashierPage-ChksZ7x2.js";
3
- import { d as jt, u as Yn, x as Xt } from "./CashierMethodDetails-vTXZEUgh.js";
1
+ import { a as Cn, $ as vn, i as Ln, b as Mn, c as Rn, S as kn, d as On, s as Dn, f as X, e as Nn, h as Me, t as Ce, j as be, a6 as fn, a7 as mn, m as Re, o as M, r as Ut, v as In, ag as Fn, g as et, a2 as Pn, aa as Bt, L as zt, x as We, u as tt, k as nt, l as it, q as u, n as p, a8 as Un, z as Ke, X as oe, p as ye, y as Ye, A as Ht, w as Bn, H as Gt, B as Wt, D as zn, E as Hn, F as Gn, G as Wn } from "./CashierCarousel-DcUyAcwc.js";
2
+ import { a as Yt } from "./CashierPage-wnVVxtWE.js";
3
+ import { d as jt, u as Yn, x as Xt } from "./CashierMethodDetails-DOxjgBPP.js";
4
4
  const je = typeof window < "u" && window.__EMWCashierI18n || { dictionary: Rn, locale: Mn, init: Ln, addMessages: Cn, format: vn };
5
5
  typeof window < "u" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = je);
6
6
  const jn = je.format;
@@ -72,7 +72,7 @@ const {
72
72
  } = Object;
73
73
  let {
74
74
  freeze: B,
75
- seal: te,
75
+ seal: ne,
76
76
  create: dn
77
77
  } = Object, {
78
78
  apply: ht,
@@ -81,7 +81,7 @@ let {
81
81
  B || (B = function(t) {
82
82
  return t;
83
83
  });
84
- te || (te = function(t) {
84
+ ne || (ne = function(t) {
85
85
  return t;
86
86
  });
87
87
  ht || (ht = function(t, i, o) {
@@ -90,11 +90,11 @@ ht || (ht = function(t, i, o) {
90
90
  gt || (gt = function(t, i) {
91
91
  return new t(...i);
92
92
  });
93
- const Qe = J(Array.prototype.forEach), Jt = J(Array.prototype.pop), Ue = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ut = J(String.prototype.toString), Kt = J(String.prototype.match), Be = J(String.prototype.replace), Jn = J(String.prototype.indexOf), Kn = J(String.prototype.trim), re = J(Object.prototype.hasOwnProperty), U = J(RegExp.prototype.test), ze = Qn(TypeError);
93
+ const Qe = J(Array.prototype.forEach), Jt = J(Array.prototype.pop), Ue = J(Array.prototype.push), ot = J(String.prototype.toLowerCase), ut = J(String.prototype.toString), Kt = J(String.prototype.match), Be = J(String.prototype.replace), Jn = J(String.prototype.indexOf), Kn = J(String.prototype.trim), se = J(Object.prototype.hasOwnProperty), U = J(RegExp.prototype.test), ze = Qn(TypeError);
94
94
  function J(n) {
95
95
  return function(t) {
96
- for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
97
- o[r - 1] = arguments[r];
96
+ for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
97
+ o[a - 1] = arguments[a];
98
98
  return ht(n, t, o);
99
99
  };
100
100
  }
@@ -110,24 +110,24 @@ function d(n, t) {
110
110
  Zt && Zt(n, null);
111
111
  let o = t.length;
112
112
  for (; o--; ) {
113
- let r = t[o];
114
- if (typeof r == "string") {
115
- const f = i(r);
116
- f !== r && (Vn(t) || (t[o] = f), r = f);
113
+ let a = t[o];
114
+ if (typeof a == "string") {
115
+ const f = i(a);
116
+ f !== a && (Vn(t) || (t[o] = f), a = f);
117
117
  }
118
- n[r] = !0;
118
+ n[a] = !0;
119
119
  }
120
120
  return n;
121
121
  }
122
122
  function $n(n) {
123
123
  for (let t = 0; t < n.length; t++)
124
- re(n, t) || (n[t] = null);
124
+ se(n, t) || (n[t] = null);
125
125
  return n;
126
126
  }
127
127
  function Le(n) {
128
128
  const t = dn(null);
129
129
  for (const [i, o] of pn(n))
130
- re(n, i) && (Array.isArray(o) ? t[i] = $n(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
130
+ se(n, i) && (Array.isArray(o) ? t[i] = $n(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = Le(o) : t[i] = o);
131
131
  return t;
132
132
  }
133
133
  function He(n, t) {
@@ -146,13 +146,13 @@ function He(n, t) {
146
146
  }
147
147
  return i;
148
148
  }
149
- const Qt = B(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ft = B(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), mt = B(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ei = B(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), pt = B(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ti = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $t = B(["#text"]), en = B(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), dt = B(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), tn = B(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), $e = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ni = te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ii = te(/<%[\w\W]*|[\w\W]*%>/gm), oi = te(/\${[\w\W]*}/gm), si = te(/^data-[\-\w.\u00B7-\uFFFF]/), ri = te(/^aria-[\-\w]+$/), hn = te(
149
+ const Qt = B(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ft = B(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), mt = B(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ei = B(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), pt = B(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ti = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $t = B(["#text"]), en = B(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), dt = B(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), tn = B(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), $e = B(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ni = ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ii = ne(/<%[\w\W]*|[\w\W]*%>/gm), oi = ne(/\${[\w\W]*}/gm), si = ne(/^data-[\-\w.\u00B7-\uFFFF]/), ri = ne(/^aria-[\-\w]+$/), hn = ne(
150
150
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
151
151
  // eslint-disable-line no-useless-escape
152
- ), ai = te(/^(?:\w+script|data):/i), li = te(
152
+ ), ai = ne(/^(?:\w+script|data):/i), li = ne(
153
153
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
154
154
  // eslint-disable-line no-control-regex
155
- ), gn = te(/^html$/i), ci = te(/^[a-z][.\w]*(-[.\w]+)+$/i);
155
+ ), gn = ne(/^html$/i), ci = ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
156
156
  var nn = /* @__PURE__ */ Object.freeze({
157
157
  __proto__: null,
158
158
  MUSTACHE_EXPR: ni,
@@ -179,16 +179,16 @@ const Ge = {
179
179
  if (typeof t != "object" || typeof t.createPolicy != "function")
180
180
  return null;
181
181
  let o = null;
182
- const r = "data-tt-policy-suffix";
183
- i && i.hasAttribute(r) && (o = i.getAttribute(r));
182
+ const a = "data-tt-policy-suffix";
183
+ i && i.hasAttribute(a) && (o = i.getAttribute(a));
184
184
  const f = "dompurify" + (o ? "#" + o : "");
185
185
  try {
186
186
  return t.createPolicy(f, {
187
- createHTML(E) {
188
- return E;
187
+ createHTML(h) {
188
+ return h;
189
189
  },
190
- createScriptURL(E) {
191
- return E;
190
+ createScriptURL(h) {
191
+ return h;
192
192
  }
193
193
  });
194
194
  } catch {
@@ -203,49 +203,49 @@ function En() {
203
203
  let {
204
204
  document: i
205
205
  } = n;
206
- const o = i, r = o.currentScript, {
206
+ const o = i, a = o.currentScript, {
207
207
  DocumentFragment: f,
208
- HTMLTemplateElement: E,
209
- Node: S,
210
- Element: w,
211
- NodeFilter: _,
212
- NamedNodeMap: X = n.NamedNodeMap || n.MozNamedAttrMap,
213
- HTMLFormElement: ne,
214
- DOMParser: Ce,
208
+ HTMLTemplateElement: h,
209
+ Node: A,
210
+ Element: T,
211
+ NodeFilter: E,
212
+ NamedNodeMap: V = n.NamedNodeMap || n.MozNamedAttrMap,
213
+ HTMLFormElement: ie,
214
+ DOMParser: ve,
215
215
  trustedTypes: z
216
- } = n, H = w.prototype, be = He(H, "cloneNode"), ae = He(H, "remove"), G = He(H, "nextSibling"), de = He(H, "childNodes"), K = He(H, "parentNode");
217
- if (typeof E == "function") {
216
+ } = n, H = T.prototype, Se = He(H, "cloneNode"), re = He(H, "remove"), G = He(H, "nextSibling"), me = He(H, "childNodes"), K = He(H, "parentNode");
217
+ if (typeof h == "function") {
218
218
  const c = i.createElement("template");
219
219
  c.content && c.content.ownerDocument && (i = c.content.ownerDocument);
220
220
  }
221
- let h, x = "";
221
+ let b, g = "";
222
222
  const {
223
- implementation: ie,
224
- createNodeIterator: le,
225
- createDocumentFragment: he,
226
- getElementsByTagName: W
223
+ implementation: Q,
224
+ createNodeIterator: pe,
225
+ createDocumentFragment: ae,
226
+ getElementsByTagName: q
227
227
  } = i, {
228
- importNode: oe
228
+ importNode: W
229
229
  } = o;
230
- let v = {};
231
- t.isSupported = typeof pn == "function" && typeof K == "function" && ie && ie.createHTMLDocument !== void 0;
230
+ let R = {};
231
+ t.isSupported = typeof pn == "function" && typeof K == "function" && Q && Q.createHTMLDocument !== void 0;
232
232
  const {
233
- MUSTACHE_EXPR: ce,
234
- ERB_EXPR: V,
235
- TMPLIT_EXPR: ge,
236
- DATA_ATTR: Q,
233
+ MUSTACHE_EXPR: $,
234
+ ERB_EXPR: de,
235
+ TMPLIT_EXPR: ee,
236
+ DATA_ATTR: Z,
237
237
  ARIA_ATTR: D,
238
238
  IS_SCRIPT_OR_DATA: I,
239
- ATTR_WHITESPACE: $,
240
- CUSTOM_ELEMENT: ve
239
+ ATTR_WHITESPACE: he,
240
+ CUSTOM_ELEMENT: ge
241
241
  } = nn;
242
242
  let {
243
- IS_ALLOWED_URI: q
243
+ IS_ALLOWED_URI: Y
244
244
  } = nn, m = null;
245
- const Se = d({}, [...Qt, ...ft, ...mt, ...pt, ...$t]);
246
- let A = null;
247
- const xe = d({}, [...en, ...dt, ...tn, ...$e]);
248
- let T = Object.seal(dn(null, {
245
+ const xe = d({}, [...Qt, ...ft, ...mt, ...pt, ...$t]);
246
+ let C = null;
247
+ const Ae = d({}, [...en, ...dt, ...tn, ...$e]);
248
+ let _ = Object.seal(dn(null, {
249
249
  tagNameCheck: {
250
250
  writable: !0,
251
251
  configurable: !1,
@@ -264,16 +264,16 @@ function En() {
264
264
  enumerable: !0,
265
265
  value: !1
266
266
  }
267
- })), L = null, a = null, g = !0, F = !0, M = !1, Y = !0, Ee = !1, ee = !0, ue = !1, b = !1, C = !1, fe = !1, Xe = !1, Ve = !1, Et = !0, _t = !1;
267
+ })), L = null, Ee = null, r = !0, S = !0, F = !1, w = !0, _e = !1, te = !0, le = !1, x = !1, v = !1, ce = !1, Xe = !1, Ve = !1, Et = !0, _t = !1;
268
268
  const _n = "user-content-";
269
269
  let st = !0, Ie = !1, ke = {}, Oe = null;
270
270
  const Tt = d({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
271
271
  let wt = null;
272
272
  const yt = d({}, ["audio", "video", "img", "source", "image", "track"]);
273
273
  let rt = null;
274
- const bt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), qe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", _e = "http://www.w3.org/1999/xhtml";
275
- let De = _e, at = !1, lt = null;
276
- const Tn = d({}, [qe, Ze, _e], ut);
274
+ const bt = d({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), qe = "http://www.w3.org/1998/Math/MathML", Ze = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml";
275
+ let De = Te, at = !1, lt = null;
276
+ const Tn = d({}, [qe, Ze, Te], ut);
277
277
  let Fe = null;
278
278
  const wn = ["application/xhtml+xml", "text/html"], yn = "text/html";
279
279
  let k = null, Ne = null;
@@ -283,28 +283,28 @@ function En() {
283
283
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
284
284
  if (!(Ne && Ne === e)) {
285
285
  if ((!e || typeof e != "object") && (e = {}), e = Le(e), Fe = // eslint-disable-next-line unicorn/prefer-includes
286
- wn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, k = Fe === "application/xhtml+xml" ? ut : ot, m = re(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : Se, A = re(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : xe, lt = re(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ut) : Tn, rt = re(e, "ADD_URI_SAFE_ATTR") ? d(
286
+ wn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? yn : e.PARSER_MEDIA_TYPE, k = Fe === "application/xhtml+xml" ? ut : ot, m = se(e, "ALLOWED_TAGS") ? d({}, e.ALLOWED_TAGS, k) : xe, C = se(e, "ALLOWED_ATTR") ? d({}, e.ALLOWED_ATTR, k) : Ae, lt = se(e, "ALLOWED_NAMESPACES") ? d({}, e.ALLOWED_NAMESPACES, ut) : Tn, rt = se(e, "ADD_URI_SAFE_ATTR") ? d(
287
287
  Le(bt),
288
288
  // eslint-disable-line indent
289
289
  e.ADD_URI_SAFE_ATTR,
290
290
  // eslint-disable-line indent
291
291
  k
292
292
  // eslint-disable-line indent
293
- ) : bt, wt = re(e, "ADD_DATA_URI_TAGS") ? d(
293
+ ) : bt, wt = se(e, "ADD_DATA_URI_TAGS") ? d(
294
294
  Le(yt),
295
295
  // eslint-disable-line indent
296
296
  e.ADD_DATA_URI_TAGS,
297
297
  // eslint-disable-line indent
298
298
  k
299
299
  // eslint-disable-line indent
300
- ) : yt, Oe = re(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Tt, L = re(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, a = re(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = re(e, "USE_PROFILES") ? e.USE_PROFILES : !1, g = e.ALLOW_ARIA_ATTR !== !1, F = e.ALLOW_DATA_ATTR !== !1, M = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, ee = e.SAFE_FOR_XML !== !1, ue = e.WHOLE_DOCUMENT || !1, fe = e.RETURN_DOM || !1, Xe = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, C = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, st = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, q = e.ALLOWED_URI_REGEXP || hn, De = e.NAMESPACE || _e, T = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (F = !1), Xe && (fe = !0), ke && (m = d({}, $t), A = [], ke.html === !0 && (d(m, Qt), d(A, en)), ke.svg === !0 && (d(m, ft), d(A, dt), d(A, $e)), ke.svgFilters === !0 && (d(m, mt), d(A, dt), d(A, $e)), ke.mathMl === !0 && (d(m, pt), d(A, tn), d(A, $e))), e.ADD_TAGS && (m === Se && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (A === xe && (A = Le(A)), d(A, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(rt, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Tt && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), st && (m["#text"] = !0), ue && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
300
+ ) : yt, Oe = se(e, "FORBID_CONTENTS") ? d({}, e.FORBID_CONTENTS, k) : Tt, L = se(e, "FORBID_TAGS") ? d({}, e.FORBID_TAGS, k) : {}, Ee = se(e, "FORBID_ATTR") ? d({}, e.FORBID_ATTR, k) : {}, ke = se(e, "USE_PROFILES") ? e.USE_PROFILES : !1, r = e.ALLOW_ARIA_ATTR !== !1, S = e.ALLOW_DATA_ATTR !== !1, F = e.ALLOW_UNKNOWN_PROTOCOLS || !1, w = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, te = e.SAFE_FOR_XML !== !1, le = e.WHOLE_DOCUMENT || !1, ce = e.RETURN_DOM || !1, Xe = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, v = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, _t = e.SANITIZE_NAMED_PROPS || !1, st = e.KEEP_CONTENT !== !1, Ie = e.IN_PLACE || !1, Y = e.ALLOWED_URI_REGEXP || hn, De = e.NAMESPACE || Te, _ = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (_.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && St(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (_.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (_.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (S = !1), Xe && (ce = !0), ke && (m = d({}, $t), C = [], ke.html === !0 && (d(m, Qt), d(C, en)), ke.svg === !0 && (d(m, ft), d(C, dt), d(C, $e)), ke.svgFilters === !0 && (d(m, mt), d(C, dt), d(C, $e)), ke.mathMl === !0 && (d(m, pt), d(C, tn), d(C, $e))), e.ADD_TAGS && (m === xe && (m = Le(m)), d(m, e.ADD_TAGS, k)), e.ADD_ATTR && (C === Ae && (C = Le(C)), d(C, e.ADD_ATTR, k)), e.ADD_URI_SAFE_ATTR && d(rt, e.ADD_URI_SAFE_ATTR, k), e.FORBID_CONTENTS && (Oe === Tt && (Oe = Le(Oe)), d(Oe, e.FORBID_CONTENTS, k)), st && (m["#text"] = !0), le && d(m, ["html", "head", "body"]), m.table && (d(m, ["tbody"]), delete L.tbody), e.TRUSTED_TYPES_POLICY) {
301
301
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
302
302
  throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
303
303
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
304
304
  throw ze('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
305
- h = e.TRUSTED_TYPES_POLICY, x = h.createHTML("");
305
+ b = e.TRUSTED_TYPES_POLICY, g = b.createHTML("");
306
306
  } else
307
- h === void 0 && (h = fi(z, r)), h !== null && typeof x == "string" && (x = h.createHTML(""));
307
+ b === void 0 && (b = fi(z, a)), b !== null && typeof g == "string" && (g = b.createHTML(""));
308
308
  B && B(e), Ne = e;
309
309
  }
310
310
  }, xt = d({}, ["mi", "mo", "mn", "ms", "mtext"]), At = d({}, ["foreignobject", "annotation-xml"]), Sn = d({}, ["title", "style", "font", "a", "script"]), Ct = d({}, [...ft, ...mt, ...ei]), vt = d({}, [...pt, ...ti]), xn = function(e) {
@@ -314,15 +314,15 @@ function En() {
314
314
  tagName: "template"
315
315
  });
316
316
  const l = ot(e.tagName), y = ot(s.tagName);
317
- return lt[e.namespaceURI] ? e.namespaceURI === Ze ? s.namespaceURI === _e ? l === "svg" : s.namespaceURI === qe ? l === "svg" && (y === "annotation-xml" || xt[y]) : !!Ct[l] : e.namespaceURI === qe ? s.namespaceURI === _e ? l === "math" : s.namespaceURI === Ze ? l === "math" && At[y] : !!vt[l] : e.namespaceURI === _e ? s.namespaceURI === Ze && !At[y] || s.namespaceURI === qe && !xt[y] ? !1 : !vt[l] && (Sn[l] || !Ct[l]) : !!(Fe === "application/xhtml+xml" && lt[e.namespaceURI]) : !1;
318
- }, me = function(e) {
317
+ return lt[e.namespaceURI] ? e.namespaceURI === Ze ? s.namespaceURI === Te ? l === "svg" : s.namespaceURI === qe ? l === "svg" && (y === "annotation-xml" || xt[y]) : !!Ct[l] : e.namespaceURI === qe ? s.namespaceURI === Te ? l === "math" : s.namespaceURI === Ze ? l === "math" && At[y] : !!vt[l] : e.namespaceURI === Te ? s.namespaceURI === Ze && !At[y] || s.namespaceURI === qe && !xt[y] ? !1 : !vt[l] && (Sn[l] || !Ct[l]) : !!(Fe === "application/xhtml+xml" && lt[e.namespaceURI]) : !1;
318
+ }, ue = function(e) {
319
319
  Ue(t.removed, {
320
320
  element: e
321
321
  });
322
322
  try {
323
323
  K(e).removeChild(e);
324
324
  } catch {
325
- ae(e);
325
+ re(e);
326
326
  }
327
327
  }, Je = function(e, s) {
328
328
  try {
@@ -336,10 +336,10 @@ function En() {
336
336
  from: s
337
337
  });
338
338
  }
339
- if (s.removeAttribute(e), e === "is" && !A[e])
340
- if (fe || Xe)
339
+ if (s.removeAttribute(e), e === "is" && !C[e])
340
+ if (ce || Xe)
341
341
  try {
342
- me(s);
342
+ ue(s);
343
343
  } catch {
344
344
  }
345
345
  else
@@ -349,93 +349,93 @@ function En() {
349
349
  }
350
350
  }, Lt = function(e) {
351
351
  let s = null, l = null;
352
- if (C)
352
+ if (v)
353
353
  e = "<remove></remove>" + e;
354
354
  else {
355
355
  const O = Kt(e, /^[\r\n\t ]+/);
356
356
  l = O && O[0];
357
357
  }
358
- Fe === "application/xhtml+xml" && De === _e && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
359
- const y = h ? h.createHTML(e) : e;
360
- if (De === _e)
358
+ Fe === "application/xhtml+xml" && De === Te && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
359
+ const y = b ? b.createHTML(e) : e;
360
+ if (De === Te)
361
361
  try {
362
- s = new Ce().parseFromString(y, Fe);
362
+ s = new ve().parseFromString(y, Fe);
363
363
  } catch {
364
364
  }
365
365
  if (!s || !s.documentElement) {
366
- s = ie.createDocument(De, "template", null);
366
+ s = Q.createDocument(De, "template", null);
367
367
  try {
368
- s.documentElement.innerHTML = at ? x : y;
368
+ s.documentElement.innerHTML = at ? g : y;
369
369
  } catch {
370
370
  }
371
371
  }
372
372
  const N = s.body || s.documentElement;
373
- return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De === _e ? W.call(s, ue ? "html" : "body")[0] : ue ? s.documentElement : N;
373
+ return e && l && N.insertBefore(i.createTextNode(l), N.childNodes[0] || null), De === Te ? q.call(s, le ? "html" : "body")[0] : le ? s.documentElement : N;
374
374
  }, Mt = function(e) {
375
- return le.call(
375
+ return pe.call(
376
376
  e.ownerDocument || e,
377
377
  e,
378
378
  // eslint-disable-next-line no-bitwise
379
- _.SHOW_ELEMENT | _.SHOW_COMMENT | _.SHOW_TEXT | _.SHOW_PROCESSING_INSTRUCTION | _.SHOW_CDATA_SECTION,
379
+ E.SHOW_ELEMENT | E.SHOW_COMMENT | E.SHOW_TEXT | E.SHOW_PROCESSING_INSTRUCTION | E.SHOW_CDATA_SECTION,
380
380
  null
381
381
  );
382
382
  }, Rt = function(e) {
383
- return e instanceof ne && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof X) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
383
+ return e instanceof ie && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof V) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
384
384
  }, kt = function(e) {
385
- return typeof S == "function" && e instanceof S;
386
- }, Te = function(e, s, l) {
387
- v[e] && Qe(v[e], (y) => {
385
+ return typeof A == "function" && e instanceof A;
386
+ }, we = function(e, s, l) {
387
+ R[e] && Qe(R[e], (y) => {
388
388
  y.call(t, s, l, Ne);
389
389
  });
390
390
  }, Ot = function(e) {
391
391
  let s = null;
392
- if (Te("beforeSanitizeElements", e, null), Rt(e))
393
- return me(e), !0;
392
+ if (we("beforeSanitizeElements", e, null), Rt(e))
393
+ return ue(e), !0;
394
394
  const l = k(e.nodeName);
395
- if (Te("uponSanitizeElement", e, {
395
+ if (we("uponSanitizeElement", e, {
396
396
  tagName: l,
397
397
  allowedTags: m
398
- }), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || ee && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
399
- return me(e), !0;
398
+ }), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || te && e.nodeType === Ge.comment && U(/<[/\w]/g, e.data))
399
+ return ue(e), !0;
400
400
  if (!m[l] || L[l]) {
401
- if (!L[l] && Nt(l) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
401
+ if (!L[l] && Nt(l) && (_.tagNameCheck instanceof RegExp && U(_.tagNameCheck, l) || _.tagNameCheck instanceof Function && _.tagNameCheck(l)))
402
402
  return !1;
403
403
  if (st && !Oe[l]) {
404
- const y = K(e) || e.parentNode, N = de(e) || e.childNodes;
404
+ const y = K(e) || e.parentNode, N = me(e) || e.childNodes;
405
405
  if (N && y) {
406
406
  const O = N.length;
407
407
  for (let j = O - 1; j >= 0; --j) {
408
- const pe = be(N[j], !0);
409
- pe.__removalCount = (e.__removalCount || 0) + 1, y.insertBefore(pe, G(e));
408
+ const fe = Se(N[j], !0);
409
+ fe.__removalCount = (e.__removalCount || 0) + 1, y.insertBefore(fe, G(e));
410
410
  }
411
411
  }
412
412
  }
413
- return me(e), !0;
413
+ return ue(e), !0;
414
414
  }
415
- return e instanceof w && !xn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (me(e), !0) : (Ee && e.nodeType === Ge.text && (s = e.textContent, Qe([ce, V, ge], (y) => {
415
+ return e instanceof T && !xn(e) || (l === "noscript" || l === "noembed" || l === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (ue(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Qe([$, de, ee], (y) => {
416
416
  s = Be(s, y, " ");
417
417
  }), e.textContent !== s && (Ue(t.removed, {
418
418
  element: e.cloneNode()
419
- }), e.textContent = s)), Te("afterSanitizeElements", e, null), !1);
419
+ }), e.textContent = s)), we("afterSanitizeElements", e, null), !1);
420
420
  }, Dt = function(e, s, l) {
421
421
  if (Et && (s === "id" || s === "name") && (l in i || l in bn))
422
422
  return !1;
423
- if (!(F && !a[s] && U(Q, s))) {
424
- if (!(g && U(D, s))) {
425
- if (!A[s] || a[s]) {
423
+ if (!(S && !Ee[s] && U(Z, s))) {
424
+ if (!(r && U(D, s))) {
425
+ if (!C[s] || Ee[s]) {
426
426
  if (
427
427
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
428
428
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
429
429
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
430
- !(Nt(e) && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, e) || T.tagNameCheck instanceof Function && T.tagNameCheck(e)) && (T.attributeNameCheck instanceof RegExp && U(T.attributeNameCheck, s) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
430
+ !(Nt(e) && (_.tagNameCheck instanceof RegExp && U(_.tagNameCheck, e) || _.tagNameCheck instanceof Function && _.tagNameCheck(e)) && (_.attributeNameCheck instanceof RegExp && U(_.attributeNameCheck, s) || _.attributeNameCheck instanceof Function && _.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
431
431
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
432
- s === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && U(T.tagNameCheck, l) || T.tagNameCheck instanceof Function && T.tagNameCheck(l)))
432
+ s === "is" && _.allowCustomizedBuiltInElements && (_.tagNameCheck instanceof RegExp && U(_.tagNameCheck, l) || _.tagNameCheck instanceof Function && _.tagNameCheck(l)))
433
433
  )
434
434
  return !1;
435
435
  } else if (!rt[s]) {
436
- if (!U(q, Be(l, $, ""))) {
436
+ if (!U(Y, Be(l, he, ""))) {
437
437
  if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Jn(l, "data:") === 0 && wt[e])) {
438
- if (!(M && !U(I, Be(l, $, "")))) {
438
+ if (!(F && !U(I, Be(l, he, "")))) {
439
439
  if (l)
440
440
  return !1;
441
441
  }
@@ -446,9 +446,9 @@ function En() {
446
446
  }
447
447
  return !0;
448
448
  }, Nt = function(e) {
449
- return e !== "annotation-xml" && Kt(e, ve);
449
+ return e !== "annotation-xml" && Kt(e, ge);
450
450
  }, It = function(e) {
451
- Te("beforeSanitizeAttributes", e, null);
451
+ we("beforeSanitizeAttributes", e, null);
452
452
  const {
453
453
  attributes: s
454
454
  } = e;
@@ -458,55 +458,55 @@ function En() {
458
458
  attrName: "",
459
459
  attrValue: "",
460
460
  keepAttr: !0,
461
- allowedAttributes: A
461
+ allowedAttributes: C
462
462
  };
463
463
  let y = s.length;
464
464
  for (; y--; ) {
465
465
  const N = s[y], {
466
466
  name: O,
467
467
  namespaceURI: j,
468
- value: pe
468
+ value: fe
469
469
  } = N, Pe = k(O);
470
- let P = O === "value" ? pe : Kn(pe);
471
- if (l.attrName = Pe, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, Te("uponSanitizeAttribute", e, l), P = l.attrValue, ee && U(/((--!?|])>)|<\/(style|title)/i, P)) {
470
+ let P = O === "value" ? fe : Kn(fe);
471
+ if (l.attrName = Pe, l.attrValue = P, l.keepAttr = !0, l.forceKeepAttr = void 0, we("uponSanitizeAttribute", e, l), P = l.attrValue, te && U(/((--!?|])>)|<\/(style|title)/i, P)) {
472
472
  Je(O, e);
473
473
  continue;
474
474
  }
475
475
  if (l.forceKeepAttr || (Je(O, e), !l.keepAttr))
476
476
  continue;
477
- if (!Y && U(/\/>/i, P)) {
477
+ if (!w && U(/\/>/i, P)) {
478
478
  Je(O, e);
479
479
  continue;
480
480
  }
481
- Ee && Qe([ce, V, ge], (Pt) => {
481
+ _e && Qe([$, de, ee], (Pt) => {
482
482
  P = Be(P, Pt, " ");
483
483
  });
484
484
  const Ft = k(e.nodeName);
485
485
  if (Dt(Ft, Pe, P)) {
486
- if (_t && (Pe === "id" || Pe === "name") && (Je(O, e), P = _n + P), h && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
486
+ if (_t && (Pe === "id" || Pe === "name") && (Je(O, e), P = _n + P), b && typeof z == "object" && typeof z.getAttributeType == "function" && !j)
487
487
  switch (z.getAttributeType(Ft, Pe)) {
488
488
  case "TrustedHTML": {
489
- P = h.createHTML(P);
489
+ P = b.createHTML(P);
490
490
  break;
491
491
  }
492
492
  case "TrustedScriptURL": {
493
- P = h.createScriptURL(P);
493
+ P = b.createScriptURL(P);
494
494
  break;
495
495
  }
496
496
  }
497
497
  try {
498
- j ? e.setAttributeNS(j, O, P) : e.setAttribute(O, P), Rt(e) ? me(e) : Jt(t.removed);
498
+ j ? e.setAttributeNS(j, O, P) : e.setAttribute(O, P), Rt(e) ? ue(e) : Jt(t.removed);
499
499
  } catch {
500
500
  }
501
501
  }
502
502
  }
503
- Te("afterSanitizeAttributes", e, null);
503
+ we("afterSanitizeAttributes", e, null);
504
504
  }, An = function c(e) {
505
505
  let s = null;
506
506
  const l = Mt(e);
507
- for (Te("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
508
- Te("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), It(s));
509
- Te("afterSanitizeShadowDOM", e, null);
507
+ for (we("beforeSanitizeShadowDOM", e, null); s = l.nextNode(); )
508
+ we("uponSanitizeShadowNode", s, null), !Ot(s) && (s.content instanceof f && c(s.content), It(s));
509
+ we("afterSanitizeShadowDOM", e, null);
510
510
  };
511
511
  return t.sanitize = function(c) {
512
512
  let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, l = null, y = null, N = null;
@@ -518,58 +518,58 @@ function En() {
518
518
  throw ze("toString is not a function");
519
519
  if (!t.isSupported)
520
520
  return c;
521
- if (b || ct(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
521
+ if (x || ct(e), t.removed = [], typeof c == "string" && (Ie = !1), Ie) {
522
522
  if (c.nodeName) {
523
- const pe = k(c.nodeName);
524
- if (!m[pe] || L[pe])
523
+ const fe = k(c.nodeName);
524
+ if (!m[fe] || L[fe])
525
525
  throw ze("root node is forbidden and cannot be sanitized in-place");
526
526
  }
527
- } else if (c instanceof S)
527
+ } else if (c instanceof A)
528
528
  s = Lt("<!---->"), l = s.ownerDocument.importNode(c, !0), l.nodeType === Ge.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? s = l : s.appendChild(l);
529
529
  else {
530
- if (!fe && !Ee && !ue && // eslint-disable-next-line unicorn/prefer-includes
530
+ if (!ce && !_e && !le && // eslint-disable-next-line unicorn/prefer-includes
531
531
  c.indexOf("<") === -1)
532
- return h && Ve ? h.createHTML(c) : c;
532
+ return b && Ve ? b.createHTML(c) : c;
533
533
  if (s = Lt(c), !s)
534
- return fe ? null : Ve ? x : "";
534
+ return ce ? null : Ve ? g : "";
535
535
  }
536
- s && C && me(s.firstChild);
536
+ s && v && ue(s.firstChild);
537
537
  const O = Mt(Ie ? c : s);
538
538
  for (; y = O.nextNode(); )
539
539
  Ot(y) || (y.content instanceof f && An(y.content), It(y));
540
540
  if (Ie)
541
541
  return c;
542
- if (fe) {
542
+ if (ce) {
543
543
  if (Xe)
544
- for (N = he.call(s.ownerDocument); s.firstChild; )
544
+ for (N = ae.call(s.ownerDocument); s.firstChild; )
545
545
  N.appendChild(s.firstChild);
546
546
  else
547
547
  N = s;
548
- return (A.shadowroot || A.shadowrootmode) && (N = oe.call(o, N, !0)), N;
548
+ return (C.shadowroot || C.shadowrootmode) && (N = W.call(o, N, !0)), N;
549
549
  }
550
- let j = ue ? s.outerHTML : s.innerHTML;
551
- return ue && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
552
- ` + j), Ee && Qe([ce, V, ge], (pe) => {
553
- j = Be(j, pe, " ");
554
- }), h && Ve ? h.createHTML(j) : j;
550
+ let j = le ? s.outerHTML : s.innerHTML;
551
+ return le && m["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(gn, s.ownerDocument.doctype.name) && (j = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
552
+ ` + j), _e && Qe([$, de, ee], (fe) => {
553
+ j = Be(j, fe, " ");
554
+ }), b && Ve ? b.createHTML(j) : j;
555
555
  }, t.setConfig = function() {
556
556
  let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
557
- ct(c), b = !0;
557
+ ct(c), x = !0;
558
558
  }, t.clearConfig = function() {
559
- Ne = null, b = !1;
559
+ Ne = null, x = !1;
560
560
  }, t.isValidAttribute = function(c, e, s) {
561
561
  Ne || ct({});
562
562
  const l = k(c), y = k(e);
563
563
  return Dt(l, y, s);
564
564
  }, t.addHook = function(c, e) {
565
- typeof e == "function" && (v[c] = v[c] || [], Ue(v[c], e));
565
+ typeof e == "function" && (R[c] = R[c] || [], Ue(R[c], e));
566
566
  }, t.removeHook = function(c) {
567
- if (v[c])
568
- return Jt(v[c]);
567
+ if (R[c])
568
+ return Jt(R[c]);
569
569
  }, t.removeHooks = function(c) {
570
- v[c] && (v[c] = []);
570
+ R[c] && (R[c] = []);
571
571
  }, t.removeAllHooks = function() {
572
- v = {};
572
+ R = {};
573
573
  }, t;
574
574
  }
575
575
  var on = En();
@@ -578,61 +578,61 @@ function mi(n) {
578
578
  }
579
579
  const pi = (n) => ({}), sn = (n) => ({}), di = (n) => ({}), rn = (n) => ({}), hi = (n) => ({}), an = (n) => ({}), gi = (n) => ({}), ln = (n) => ({ class: "CashierSessionExpirationIcon" });
580
580
  function cn(n) {
581
- let t, i, o, r, f, E, S, w, _, X, ne, Ce, z = (
581
+ let t, i, o, a, f, h, A, T, E, V, ie, ve, z = (
582
582
  /*$_*/
583
583
  n[8]("FE.sessionExpirationHeader") + ""
584
- ), H, be, ae, G, de, K, h, x, ie, le, he, W, oe, v, ce = (
584
+ ), H, Se, re, G, me, K, b, g, Q, pe, ae, q, W, R, $ = (
585
585
  /*$_*/
586
586
  n[8]("FE.sessionExpirationEnd") + ""
587
- ), V, ge, Q, D, I, $, ve, q, m, Se, A;
588
- const xe = (
587
+ ), de, ee, Z, D, I, he, ge, Y, m, xe, C;
588
+ const Ae = (
589
589
  /*#slots*/
590
- n[23].icon
591
- ), T = et(
592
- xe,
590
+ n[24].icon
591
+ ), _ = et(
592
+ Ae,
593
593
  n,
594
594
  /*$$scope*/
595
- n[22],
595
+ n[23],
596
596
  ln
597
- ), L = T || Ei(n), a = (
597
+ ), L = _ || Ei(n), Ee = (
598
598
  /*#slots*/
599
- n[23].title
600
- ), g = et(
601
- a,
599
+ n[24].title
600
+ ), r = et(
601
+ Ee,
602
602
  n,
603
603
  /*$$scope*/
604
- n[22],
604
+ n[23],
605
605
  an
606
- ), F = (
606
+ ), S = (
607
607
  /*#slots*/
608
- n[23].text
609
- ), M = et(
610
- F,
608
+ n[24].text
609
+ ), F = et(
610
+ S,
611
611
  n,
612
612
  /*$$scope*/
613
- n[22],
613
+ n[23],
614
614
  rn
615
- ), Y = M || _i(n), Ee = [wi, Ti], ee = [];
616
- function ue(b, C) {
615
+ ), w = F || _i(n), _e = [wi, Ti], te = [];
616
+ function le(x, v) {
617
617
  return (
618
618
  /*showLoaderButton*/
619
- b[6] ? 0 : 1
619
+ x[6] ? 0 : 1
620
620
  );
621
621
  }
622
- return D = ue(n), I = ee[D] = Ee[D](n), {
622
+ return D = le(n), I = te[D] = _e[D](n), {
623
623
  c() {
624
- t = R("div"), i = R("div"), o = R("div"), r = R("div"), f = se("svg"), E = se("defs"), S = se("mask"), w = se("circle"), _ = se("rect"), X = se("circle"), ne = se("circle"), Ce = we(), H = Ye(z), be = we(), ae = R("div"), G = se("svg"), de = se("path"), K = we(), h = R("div"), x = R("div"), L && L.c(), ie = we(), g && g.c(), le = we(), Y && Y.c(), he = we(), W = R("div"), oe = R("button"), v = R("span"), V = Ye(ce), ge = we(), Q = R("button"), I.c(), u(w, "cx", "100"), u(w, "cy", "100"), u(w, "r", "90"), u(_, "x", "88"), u(_, "y", "40"), u(_, "width", "24"), u(_, "height", "80"), u(_, "rx", "12"), u(_, "fill", "black"), u(X, "cx", "100"), u(X, "cy", "150"), u(X, "r", "14"), u(X, "fill", "black"), u(S, "id", "exclamation-mask"), u(ne, "cx", "100"), u(ne, "cy", "100"), u(ne, "r", "90"), u(ne, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(r, "class", "CashierSessionExpirationModalHeaderTitle"), u(de, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(ae, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(v, "class", "CashierSessionExpirationButtonText"), u(oe, "type", "button"), u(oe, "class", "ModalButton Secondary"), u(Q, "type", "button"), u(Q, "class", $ = "ModalButton Primary " + /*showLoaderButton*/
625
- (n[6] ? "Disabled" : "")), u(W, "class", "ButtonsContainer"), u(x, "class", "CashierSessionExpiration"), u(h, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
624
+ t = M("div"), i = M("div"), o = M("div"), a = M("div"), f = oe("svg"), h = oe("defs"), A = oe("mask"), T = oe("circle"), E = oe("rect"), V = oe("circle"), ie = oe("circle"), ve = ye(), H = Ye(z), Se = ye(), re = M("div"), G = oe("svg"), me = oe("path"), K = ye(), b = M("div"), g = M("div"), L && L.c(), Q = ye(), r && r.c(), pe = ye(), w && w.c(), ae = ye(), q = M("div"), W = M("button"), R = M("span"), de = Ye($), ee = ye(), Z = M("button"), I.c(), u(T, "cx", "100"), u(T, "cy", "100"), u(T, "r", "90"), u(E, "x", "88"), u(E, "y", "40"), u(E, "width", "24"), u(E, "height", "80"), u(E, "rx", "12"), u(E, "fill", "black"), u(V, "cx", "100"), u(V, "cy", "150"), u(V, "r", "14"), u(V, "fill", "black"), u(A, "id", "exclamation-mask"), u(ie, "cx", "100"), u(ie, "cy", "100"), u(ie, "r", "90"), u(ie, "mask", "url(#exclamation-mask)"), u(f, "viewBox", "0 0 200 200"), u(f, "xmlns", "http://www.w3.org/2000/svg"), u(a, "class", "CashierSessionExpirationModalHeaderTitle"), u(me, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), u(G, "xmlns", "http://www.w3.org/2000/svg"), u(G, "viewBox", "0 0 13 13"), u(G, "fill", "none"), u(G, "class", "CloseButton"), u(re, "class", "ModalCloseIcon"), u(o, "class", "CashierSessionExpirationModalHeader"), u(R, "class", "CashierSessionExpirationButtonText"), u(W, "type", "button"), u(W, "class", "ModalButton Secondary"), u(Z, "type", "button"), u(Z, "class", he = "ModalButton Primary " + /*showLoaderButton*/
625
+ (n[6] ? "Disabled" : "")), u(q, "class", "ButtonsContainer"), u(g, "class", "CashierSessionExpiration"), u(b, "class", "CashierSessionExpirationModalContainer"), u(i, "class", "CashierSessionExpirationModalWrapper"), u(t, "class", "CashierSessionExpirationModalWindow"), u(t, "id", "CashierSessionExpirationModal"), zt(() => (
626
626
  /*div7_elementresize_handler*/
627
- n[25].call(t)
627
+ n[26].call(t)
628
628
  ));
629
629
  },
630
- m(b, C) {
631
- Re(b, t, C), p(t, i), p(i, o), p(o, r), p(r, f), p(f, E), p(E, S), p(S, w), p(S, _), p(S, X), p(f, ne), p(r, Ce), p(r, H), p(o, be), p(o, ae), p(ae, G), p(G, de), p(i, K), p(i, h), p(h, x), L && L.m(x, null), p(x, ie), g && g.m(x, null), p(x, le), Y && Y.m(x, null), p(x, he), p(x, W), p(W, oe), p(oe, v), p(v, V), p(W, ge), p(W, Q), ee[D].m(Q, null), n[24](x), ve = Un(
630
+ m(x, v) {
631
+ Re(x, t, v), p(t, i), p(i, o), p(o, a), p(a, f), p(f, h), p(h, A), p(A, T), p(A, E), p(A, V), p(f, ie), p(a, ve), p(a, H), p(o, Se), p(o, re), p(re, G), p(G, me), p(i, K), p(i, b), p(b, g), L && L.m(g, null), p(g, Q), r && r.m(g, null), p(g, pe), w && w.m(g, null), p(g, ae), p(g, q), p(q, W), p(W, R), p(R, de), p(q, ee), p(q, Z), te[D].m(Z, null), n[25](g), ge = Un(
632
632
  t,
633
633
  /*div7_elementresize_handler*/
634
- n[25].bind(t)
635
- ), m = !0, Se || (A = [
634
+ n[26].bind(t)
635
+ ), m = !0, xe || (C = [
636
636
  Ke(
637
637
  G,
638
638
  "click",
@@ -640,13 +640,13 @@ function cn(n) {
640
640
  n[11]
641
641
  ),
642
642
  Ke(
643
- oe,
643
+ W,
644
644
  "click",
645
645
  /*goToHome*/
646
646
  n[11]
647
647
  ),
648
648
  Ke(
649
- Q,
649
+ Z,
650
650
  "click",
651
651
  /*renewSession*/
652
652
  n[9]
@@ -657,93 +657,93 @@ function cn(n) {
657
657
  /*outOfModalClick*/
658
658
  n[10]
659
659
  )
660
- ], Se = !0);
660
+ ], xe = !0);
661
661
  },
662
- p(b, C) {
663
- n = b, (!m || C[0] & /*$_*/
662
+ p(x, v) {
663
+ n = x, (!m || v[0] & /*$_*/
664
664
  256) && z !== (z = /*$_*/
665
- n[8]("FE.sessionExpirationHeader") + "") && We(H, z), T ? T.p && (!m || C[0] & /*$$scope*/
666
- 4194304) && tt(
667
- T,
668
- xe,
665
+ n[8]("FE.sessionExpirationHeader") + "") && We(H, z), _ ? _.p && (!m || v[0] & /*$$scope*/
666
+ 8388608) && tt(
667
+ _,
668
+ Ae,
669
669
  n,
670
670
  /*$$scope*/
671
- n[22],
671
+ n[23],
672
672
  m ? it(
673
- xe,
673
+ Ae,
674
674
  /*$$scope*/
675
- n[22],
676
- C,
675
+ n[23],
676
+ v,
677
677
  gi
678
678
  ) : nt(
679
679
  /*$$scope*/
680
- n[22]
680
+ n[23]
681
681
  ),
682
682
  ln
683
- ) : L && L.p && (!m || C[0] & /*assetsurl*/
684
- 8) && L.p(n, m ? C : [-1, -1]), g && g.p && (!m || C[0] & /*$$scope*/
685
- 4194304) && tt(
686
- g,
687
- a,
683
+ ) : L && L.p && (!m || v[0] & /*assetsurl*/
684
+ 8) && L.p(n, m ? v : [-1, -1]), r && r.p && (!m || v[0] & /*$$scope*/
685
+ 8388608) && tt(
686
+ r,
687
+ Ee,
688
688
  n,
689
689
  /*$$scope*/
690
- n[22],
690
+ n[23],
691
691
  m ? it(
692
- a,
692
+ Ee,
693
693
  /*$$scope*/
694
- n[22],
695
- C,
694
+ n[23],
695
+ v,
696
696
  hi
697
697
  ) : nt(
698
698
  /*$$scope*/
699
- n[22]
699
+ n[23]
700
700
  ),
701
701
  an
702
- ), M ? M.p && (!m || C[0] & /*$$scope*/
703
- 4194304) && tt(
704
- M,
702
+ ), F ? F.p && (!m || v[0] & /*$$scope*/
703
+ 8388608) && tt(
705
704
  F,
705
+ S,
706
706
  n,
707
707
  /*$$scope*/
708
- n[22],
708
+ n[23],
709
709
  m ? it(
710
- F,
710
+ S,
711
711
  /*$$scope*/
712
- n[22],
713
- C,
712
+ n[23],
713
+ v,
714
714
  di
715
715
  ) : nt(
716
716
  /*$$scope*/
717
- n[22]
717
+ n[23]
718
718
  ),
719
719
  rn
720
- ) : Y && Y.p && (!m || C[0] & /*$_, timeLeft*/
721
- 384) && Y.p(n, m ? C : [-1, -1]), (!m || C[0] & /*$_*/
722
- 256) && ce !== (ce = /*$_*/
723
- n[8]("FE.sessionExpirationEnd") + "") && We(V, ce);
724
- let fe = D;
725
- D = ue(n), D === fe ? ee[D].p(n, C) : (fn(), Ae(ee[fe], 1, 1, () => {
726
- ee[fe] = null;
727
- }), mn(), I = ee[D], I ? I.p(n, C) : (I = ee[D] = Ee[D](n), I.c()), ye(I, 1), I.m(Q, null)), (!m || C[0] & /*showLoaderButton*/
728
- 64 && $ !== ($ = "ModalButton Primary " + /*showLoaderButton*/
729
- (n[6] ? "Disabled" : ""))) && u(Q, "class", $);
720
+ ) : w && w.p && (!m || v[0] & /*$_, timeLeft*/
721
+ 384) && w.p(n, m ? v : [-1, -1]), (!m || v[0] & /*$_*/
722
+ 256) && $ !== ($ = /*$_*/
723
+ n[8]("FE.sessionExpirationEnd") + "") && We(de, $);
724
+ let ce = D;
725
+ D = le(n), D === ce ? te[D].p(n, v) : (fn(), Ce(te[ce], 1, 1, () => {
726
+ te[ce] = null;
727
+ }), mn(), I = te[D], I ? I.p(n, v) : (I = te[D] = _e[D](n), I.c()), be(I, 1), I.m(Z, null)), (!m || v[0] & /*showLoaderButton*/
728
+ 64 && he !== (he = "ModalButton Primary " + /*showLoaderButton*/
729
+ (n[6] ? "Disabled" : ""))) && u(Z, "class", he);
730
730
  },
731
- i(b) {
732
- m || (ye(L, b), ye(g, b), ye(Y, b), ye(I), b && zt(() => {
733
- m && (q || (q = Bt(t, Yt, { duration: (
731
+ i(x) {
732
+ m || (be(L, x), be(r, x), be(w, x), be(I), x && zt(() => {
733
+ m && (Y || (Y = Bt(t, Yt, { duration: (
734
734
  /*duration*/
735
735
  n[2]
736
- ) }, !0)), q.run(1));
736
+ ) }, !0)), Y.run(1));
737
737
  }), m = !0);
738
738
  },
739
- o(b) {
740
- Ae(L, b), Ae(g, b), Ae(Y, b), Ae(I), b && (q || (q = Bt(t, Yt, { duration: (
739
+ o(x) {
740
+ Ce(L, x), Ce(r, x), Ce(w, x), Ce(I), x && (Y || (Y = Bt(t, Yt, { duration: (
741
741
  /*duration*/
742
742
  n[2]
743
- ) }, !1)), q.run(0)), m = !1;
743
+ ) }, !1)), Y.run(0)), m = !1;
744
744
  },
745
- d(b) {
746
- b && Me(t), L && L.d(b), g && g.d(b), Y && Y.d(b), ee[D].d(), n[24](null), ve(), b && q && q.end(), Se = !1, Pn(A);
745
+ d(x) {
746
+ x && Me(t), L && L.d(x), r && r.d(x), w && w.d(x), te[D].d(), n[25](null), ge(), x && Y && Y.end(), xe = !1, Pn(C);
747
747
  }
748
748
  };
749
749
  }
@@ -751,14 +751,14 @@ function un(n) {
751
751
  let t, i;
752
752
  return {
753
753
  c() {
754
- t = R("img"), Wt(t.src, i = `${/*assetsurl*/
754
+ t = M("img"), Wt(t.src, i = `${/*assetsurl*/
755
755
  n[3]}/set-timeout-icon.png`) || u(t, "src", i), u(t, "width", "300px"), u(t, "alt", "error");
756
756
  },
757
- m(o, r) {
758
- Re(o, t, r);
757
+ m(o, a) {
758
+ Re(o, t, a);
759
759
  },
760
- p(o, r) {
761
- r[0] & /*assetsurl*/
760
+ p(o, a) {
761
+ a[0] & /*assetsurl*/
762
762
  8 && !Wt(t.src, i = `${/*assetsurl*/
763
763
  o[3]}/set-timeout-icon.png`) && u(t, "src", i);
764
764
  },
@@ -776,12 +776,12 @@ function Ei(n) {
776
776
  c() {
777
777
  i && i.c(), t = Bn();
778
778
  },
779
- m(o, r) {
780
- i && i.m(o, r), Re(o, t, r);
779
+ m(o, a) {
780
+ i && i.m(o, a), Re(o, t, a);
781
781
  },
782
- p(o, r) {
782
+ p(o, a) {
783
783
  /*assetsurl*/
784
- o[3] ? i ? i.p(o, r) : (i = un(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
784
+ o[3] ? i ? i.p(o, a) : (i = un(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null);
785
785
  },
786
786
  d(o) {
787
787
  o && Me(t), i && i.d(o);
@@ -792,7 +792,7 @@ function _i(n) {
792
792
  let t, i, o = (
793
793
  /*$_*/
794
794
  n[8]("FE.sessionExpirationTitle") + ""
795
- ), r, f, E, S = on.sanitize(
795
+ ), a, f, h, A = on.sanitize(
796
796
  /*$_*/
797
797
  n[8]("FE.sessionExpirationGeneralText", { values: { second: (
798
798
  /*timeLeft*/
@@ -801,25 +801,25 @@ function _i(n) {
801
801
  ) + "";
802
802
  return {
803
803
  c() {
804
- t = R("span"), i = R("p"), r = Ye(o), f = we(), E = R("p"), u(t, "class", "CashierSessionExpirationText");
804
+ t = M("span"), i = M("p"), a = Ye(o), f = ye(), h = M("p"), u(t, "class", "CashierSessionExpirationText");
805
805
  },
806
- m(w, _) {
807
- Re(w, t, _), p(t, i), p(i, r), p(t, f), p(t, E), E.innerHTML = S;
806
+ m(T, E) {
807
+ Re(T, t, E), p(t, i), p(i, a), p(t, f), p(t, h), h.innerHTML = A;
808
808
  },
809
- p(w, _) {
810
- _[0] & /*$_*/
809
+ p(T, E) {
810
+ E[0] & /*$_*/
811
811
  256 && o !== (o = /*$_*/
812
- w[8]("FE.sessionExpirationTitle") + "") && We(r, o), _[0] & /*$_, timeLeft*/
813
- 384 && S !== (S = on.sanitize(
812
+ T[8]("FE.sessionExpirationTitle") + "") && We(a, o), E[0] & /*$_, timeLeft*/
813
+ 384 && A !== (A = on.sanitize(
814
814
  /*$_*/
815
- w[8]("FE.sessionExpirationGeneralText", { values: { second: (
815
+ T[8]("FE.sessionExpirationGeneralText", { values: { second: (
816
816
  /*timeLeft*/
817
- w[7]
817
+ T[7]
818
818
  ) } })
819
- ) + "") && (E.innerHTML = S);
819
+ ) + "") && (h.innerHTML = A);
820
820
  },
821
- d(w) {
822
- w && Me(t);
821
+ d(T) {
822
+ T && Me(t);
823
823
  }
824
824
  };
825
825
  }
@@ -827,75 +827,75 @@ function Ti(n) {
827
827
  let t;
828
828
  const i = (
829
829
  /*#slots*/
830
- n[23].button
830
+ n[24].button
831
831
  ), o = et(
832
832
  i,
833
833
  n,
834
834
  /*$$scope*/
835
- n[22],
835
+ n[23],
836
836
  sn
837
- ), r = o || yi(n);
837
+ ), a = o || yi(n);
838
838
  return {
839
839
  c() {
840
- r && r.c();
840
+ a && a.c();
841
841
  },
842
- m(f, E) {
843
- r && r.m(f, E), t = !0;
842
+ m(f, h) {
843
+ a && a.m(f, h), t = !0;
844
844
  },
845
- p(f, E) {
846
- o ? o.p && (!t || E[0] & /*$$scope*/
847
- 4194304) && tt(
845
+ p(f, h) {
846
+ o ? o.p && (!t || h[0] & /*$$scope*/
847
+ 8388608) && tt(
848
848
  o,
849
849
  i,
850
850
  f,
851
851
  /*$$scope*/
852
- f[22],
852
+ f[23],
853
853
  t ? it(
854
854
  i,
855
855
  /*$$scope*/
856
- f[22],
857
- E,
856
+ f[23],
857
+ h,
858
858
  pi
859
859
  ) : nt(
860
860
  /*$$scope*/
861
- f[22]
861
+ f[23]
862
862
  ),
863
863
  sn
864
- ) : r && r.p && (!t || E[0] & /*$_*/
865
- 256) && r.p(f, t ? E : [-1, -1]);
864
+ ) : a && a.p && (!t || h[0] & /*$_*/
865
+ 256) && a.p(f, t ? h : [-1, -1]);
866
866
  },
867
867
  i(f) {
868
- t || (ye(r, f), t = !0);
868
+ t || (be(a, f), t = !0);
869
869
  },
870
870
  o(f) {
871
- Ae(r, f), t = !1;
871
+ Ce(a, f), t = !1;
872
872
  },
873
873
  d(f) {
874
- r && r.d(f);
874
+ a && a.d(f);
875
875
  }
876
876
  };
877
877
  }
878
878
  function wi(n) {
879
- let t, i, o, r, f, E = (
879
+ let t, i, o, a, f, h = (
880
880
  /*$_*/
881
881
  n[8]("FE.sessionExpirationLoadingButton") + ""
882
- ), S;
882
+ ), A;
883
883
  return {
884
884
  c() {
885
- t = R("div"), i = se("svg"), o = se("path"), r = we(), f = R("span"), S = Ye(E), u(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
885
+ t = M("div"), i = oe("svg"), o = oe("path"), a = ye(), f = M("span"), A = Ye(h), u(o, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), u(o, "fill", "white"), u(i, "class", "CashierSessionExpirationButtonSpinner"), u(i, "xmlns", "http://www.w3.org/2000/svg"), u(i, "width", "15"), u(i, "height", "14"), u(i, "viewBox", "0 0 15 14"), u(i, "fill", "none"), u(f, "class", "CashierSessionExpirationButtonText");
886
886
  },
887
- m(w, _) {
888
- Re(w, t, _), p(t, i), p(i, o), p(t, r), p(t, f), p(f, S);
887
+ m(T, E) {
888
+ Re(T, t, E), p(t, i), p(i, o), p(t, a), p(t, f), p(f, A);
889
889
  },
890
- p(w, _) {
891
- _[0] & /*$_*/
892
- 256 && E !== (E = /*$_*/
893
- w[8]("FE.sessionExpirationLoadingButton") + "") && We(S, E);
890
+ p(T, E) {
891
+ E[0] & /*$_*/
892
+ 256 && h !== (h = /*$_*/
893
+ T[8]("FE.sessionExpirationLoadingButton") + "") && We(A, h);
894
894
  },
895
895
  i: Gt,
896
896
  o: Gt,
897
- d(w) {
898
- w && Me(t);
897
+ d(T) {
898
+ T && Me(t);
899
899
  }
900
900
  };
901
901
  }
@@ -906,18 +906,18 @@ function yi(n) {
906
906
  ), o;
907
907
  return {
908
908
  c() {
909
- t = R("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
909
+ t = M("span"), o = Ye(i), u(t, "class", "CashierSessionExpirationButtonText");
910
910
  },
911
- m(r, f) {
912
- Re(r, t, f), p(t, o);
911
+ m(a, f) {
912
+ Re(a, t, f), p(t, o);
913
913
  },
914
- p(r, f) {
914
+ p(a, f) {
915
915
  f[0] & /*$_*/
916
916
  256 && i !== (i = /*$_*/
917
- r[8]("FE.sessionExpirationGeneralButton") + "") && We(o, i);
917
+ a[8]("FE.sessionExpirationGeneralButton") + "") && We(o, i);
918
918
  },
919
- d(r) {
920
- r && Me(t);
919
+ d(a) {
920
+ a && Me(t);
921
921
  }
922
922
  };
923
923
  }
@@ -928,180 +928,181 @@ function bi(n) {
928
928
  );
929
929
  return {
930
930
  c() {
931
- t = R("div"), o && o.c();
931
+ t = M("div"), o && o.c();
932
932
  },
933
- m(r, f) {
934
- Re(r, t, f), o && o.m(t, null), n[26](t), i = !0;
933
+ m(a, f) {
934
+ Re(a, t, f), o && o.m(t, null), n[27](t), i = !0;
935
935
  },
936
- p(r, f) {
936
+ p(a, f) {
937
937
  /*show*/
938
- r[5] ? o ? (o.p(r, f), f[0] & /*show*/
939
- 32 && ye(o, 1)) : (o = cn(r), o.c(), ye(o, 1), o.m(t, null)) : o && (fn(), Ae(o, 1, 1, () => {
938
+ a[5] ? o ? (o.p(a, f), f[0] & /*show*/
939
+ 32 && be(o, 1)) : (o = cn(a), o.c(), be(o, 1), o.m(t, null)) : o && (fn(), Ce(o, 1, 1, () => {
940
940
  o = null;
941
941
  }), mn());
942
942
  },
943
- i(r) {
944
- i || (ye(o), i = !0);
943
+ i(a) {
944
+ i || (be(o), i = !0);
945
945
  },
946
- o(r) {
947
- Ae(o), i = !1;
946
+ o(a) {
947
+ Ce(o), i = !1;
948
948
  },
949
- d(r) {
950
- r && Me(t), o && o.d(), n[26](null);
949
+ d(a) {
950
+ a && Me(t), o && o.d(), n[27](null);
951
951
  }
952
952
  };
953
953
  }
954
954
  const Si = 90;
955
955
  function xi(n, t, i) {
956
- let o, r;
957
- Ut(n, Xt, (a) => i(21, o = a)), Ut(n, jn, (a) => i(8, r = a));
958
- let { $$slots: f = {}, $$scope: E } = t;
956
+ let o, a;
957
+ Ut(n, Xt, (r) => i(22, o = r)), Ut(n, jn, (r) => i(8, a = r));
958
+ let { $$slots: f = {}, $$scope: h } = t;
959
959
  jt.extend(Yn);
960
- let { clientstyling: S = "" } = t, { clientstylingurl: w = "" } = t, { width: _ } = t, { height: X } = t, { duration: ne = 200 } = t, { assetsurl: Ce = "" } = t, { lang: z = "en" } = t, { translationurl: H = "" } = t, { endpoint: be } = t, { currency: ae } = t, { customerid: G } = t, { selectedpaymentmethodname: de } = t, { mbsource: K = "" } = t, h, x = !1, ie = !1, le, he, W, oe, v, ce;
961
- var V;
962
- (function(a) {
963
- a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
964
- })(V || (V = {}));
965
- const ge = (a) => {
966
- a.data.type === "StartSessionCountdown" && (oe = a.data.paymentMethodName);
967
- }, Q = (a) => {
960
+ let { clientstyling: A = "" } = t, { clientstylingurl: T = "" } = t, { width: E } = t, { height: V } = t, { duration: ie = 200 } = t, { assetsurl: ve = "" } = t, { lang: z = "en" } = t, { translationurl: H = "" } = t, { endpoint: Se } = t, { currency: re } = t, { customerid: G } = t, { selectedpaymentmethodname: me } = t, { mbsource: K = "" } = t, { usecashiertranslations: b = "false" } = t, g, Q = !1, pe = !1, ae, q, W, R, $, de;
961
+ var ee;
962
+ (function(r) {
963
+ r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
964
+ })(ee || (ee = {}));
965
+ const Z = (r) => {
966
+ r.data.type === "StartSessionCountdown" && (R = r.data.paymentMethodName);
967
+ }, D = (r) => {
968
968
  try {
969
- return JSON.parse(atob(a.split(".")[1]));
969
+ return JSON.parse(atob(r.split(".")[1]));
970
970
  } catch {
971
971
  return null;
972
972
  }
973
- }, D = () => {
973
+ }, I = () => {
974
974
  window.postMessage(
975
975
  {
976
976
  type: "ErrorResponseCode",
977
- errorResponseCode: v
977
+ errorResponseCode: $
978
978
  },
979
979
  window.location.href
980
980
  );
981
- }, I = (a) => {
982
- i(5, x = !1);
983
- const g = Q(a);
984
- g && (he = g?.exp, i(7, le = he), W && clearInterval(W), W = setInterval(
981
+ }, he = (r) => {
982
+ i(5, Q = !1);
983
+ const S = D(r);
984
+ S && (q = S?.exp, i(7, ae = q), W && clearInterval(W), W = setInterval(
985
985
  () => {
986
986
  const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
987
- i(7, le = he - F), le <= Si && i(5, x = !0), F >= he && ($(), window.postMessage({ type: "SessionExpired" }, window.location.href));
987
+ i(7, ae = q - F), ae <= Si && i(5, Q = !0), F >= q && (ge(), window.postMessage({ type: "SessionExpired" }, window.location.href));
988
988
  },
989
989
  1e3
990
990
  ));
991
- }, $ = () => {
992
- i(7, le = 0), i(5, x = !1), clearInterval(W);
993
- }, ve = () => {
994
- if (ie)
991
+ }, ge = () => {
992
+ i(7, ae = 0), i(5, Q = !1), clearInterval(W);
993
+ }, Y = () => {
994
+ if (pe)
995
995
  return;
996
- const a = new URL(`${be}/v1/player/${G}/payment/GetPaymentMethod`), g = new Headers();
997
- i(6, ie = !0), g.append("accept", "application/json"), g.append("Content-Type", "application/json"), g.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
996
+ const r = new URL(`${Se}/v1/player/${G}/payment/GetPaymentMethod`), S = new Headers();
997
+ i(6, pe = !0), S.append("accept", "application/json"), S.append("Content-Type", "application/json"), S.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
998
998
  const F = {
999
999
  method: "POST",
1000
1000
  mode: "cors",
1001
- headers: g,
1001
+ headers: S,
1002
1002
  body: JSON.stringify({
1003
- PaymentMethodName: oe || de,
1004
- Currency: ae,
1003
+ PaymentMethodName: R || me,
1004
+ Currency: re,
1005
1005
  XPaymentSessionToken: o
1006
1006
  })
1007
1007
  };
1008
- fetch(a, F).then((M) => M.json()).then((M) => {
1009
- if (M.error) {
1008
+ fetch(r, F).then((w) => w.json()).then((w) => {
1009
+ if (w.error) {
1010
1010
  window.postMessage(
1011
1011
  {
1012
1012
  type: "ShowSessionError",
1013
- error: M.error
1013
+ error: w.error
1014
1014
  },
1015
1015
  window.location.href
1016
- ), $();
1016
+ ), ge();
1017
1017
  return;
1018
1018
  }
1019
- if (M.ResponseCode === V.PlayerSessionIsNotValid || M.ResponseCode === V.JwtTokenError) {
1020
- v = M.ResponseCode, $(), D();
1019
+ if (w.ResponseCode === ee.PlayerSessionIsNotValid || w.ResponseCode === ee.JwtTokenError) {
1020
+ $ = w.ResponseCode, ge(), I();
1021
1021
  return;
1022
1022
  }
1023
- if (M.ResponseCode !== V.Success) {
1024
- v = M.ResponseCode, $();
1023
+ if (w.ResponseCode !== ee.Success) {
1024
+ $ = w.ResponseCode, ge();
1025
1025
  return;
1026
1026
  }
1027
- M.XPaymentSessionToken && Xt.set(M.XPaymentSessionToken);
1028
- }).finally(() => i(6, ie = !1));
1029
- }, q = (a) => {
1030
- const g = a.currentTarget;
1031
- a.target === g && ve();
1032
- }, m = () => {
1033
- fetch(H).then((g) => g.json()).then((g) => {
1034
- Object.keys(g).forEach((F) => {
1035
- Vt(F, g[F]);
1027
+ w.XPaymentSessionToken && Xt.set(w.XPaymentSessionToken);
1028
+ }).finally(() => i(6, pe = !1));
1029
+ }, m = (r) => {
1030
+ const S = r.currentTarget;
1031
+ r.target === S && Y();
1032
+ }, xe = () => {
1033
+ fetch(H).then((S) => S.json()).then((S) => {
1034
+ Object.keys(S).forEach((F) => {
1035
+ Vt(F, S[F]);
1036
1036
  });
1037
- }).catch((g) => {
1038
- console.log(g);
1037
+ }).catch((S) => {
1038
+ console.log(S);
1039
1039
  });
1040
- }, Se = () => {
1041
- window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, x = !1);
1040
+ }, C = () => {
1041
+ window.postMessage({ type: "Cashier:goToHome" }, window.location.href), i(5, Q = !1);
1042
1042
  };
1043
- Object.keys(qt).forEach((a) => {
1044
- Vt(a, qt[a]);
1043
+ b == "false" && Object.keys(qt).forEach((r) => {
1044
+ Vt(r, qt[r]);
1045
1045
  });
1046
- const A = () => {
1046
+ const Ae = () => {
1047
1047
  Xn(z);
1048
1048
  };
1049
- In(() => (window.addEventListener("message", ge, !1), () => {
1050
- window.removeEventListener("message", ge);
1049
+ In(() => (window.addEventListener("message", Z, !1), () => {
1050
+ window.removeEventListener("message", Z);
1051
1051
  })), Fn(() => {
1052
1052
  clearInterval(W);
1053
1053
  });
1054
- function xe(a) {
1055
- Ht[a ? "unshift" : "push"](() => {
1056
- h = a, i(4, h);
1054
+ function _(r) {
1055
+ Ht[r ? "unshift" : "push"](() => {
1056
+ g = r, i(4, g);
1057
1057
  });
1058
1058
  }
1059
- function T() {
1060
- _ = this.clientWidth, X = this.clientHeight, i(0, _), i(1, X);
1059
+ function L() {
1060
+ E = this.clientWidth, V = this.clientHeight, i(0, E), i(1, V);
1061
1061
  }
1062
- function L(a) {
1063
- Ht[a ? "unshift" : "push"](() => {
1064
- h = a, i(4, h);
1062
+ function Ee(r) {
1063
+ Ht[r ? "unshift" : "push"](() => {
1064
+ g = r, i(4, g);
1065
1065
  });
1066
1066
  }
1067
- return n.$$set = (a) => {
1068
- "clientstyling" in a && i(12, S = a.clientstyling), "clientstylingurl" in a && i(13, w = a.clientstylingurl), "width" in a && i(0, _ = a.width), "height" in a && i(1, X = a.height), "duration" in a && i(2, ne = a.duration), "assetsurl" in a && i(3, Ce = a.assetsurl), "lang" in a && i(14, z = a.lang), "translationurl" in a && i(15, H = a.translationurl), "endpoint" in a && i(16, be = a.endpoint), "currency" in a && i(17, ae = a.currency), "customerid" in a && i(18, G = a.customerid), "selectedpaymentmethodname" in a && i(19, de = a.selectedpaymentmethodname), "mbsource" in a && i(20, K = a.mbsource), "$$scope" in a && i(22, E = a.$$scope);
1067
+ return n.$$set = (r) => {
1068
+ "clientstyling" in r && i(12, A = r.clientstyling), "clientstylingurl" in r && i(13, T = r.clientstylingurl), "width" in r && i(0, E = r.width), "height" in r && i(1, V = r.height), "duration" in r && i(2, ie = r.duration), "assetsurl" in r && i(3, ve = r.assetsurl), "lang" in r && i(14, z = r.lang), "translationurl" in r && i(15, H = r.translationurl), "endpoint" in r && i(16, Se = r.endpoint), "currency" in r && i(17, re = r.currency), "customerid" in r && i(18, G = r.customerid), "selectedpaymentmethodname" in r && i(19, me = r.selectedpaymentmethodname), "mbsource" in r && i(20, K = r.mbsource), "usecashiertranslations" in r && i(21, b = r.usecashiertranslations), "$$scope" in r && i(23, h = r.$$scope);
1069
1069
  }, n.$$.update = () => {
1070
1070
  n.$$.dirty[0] & /*$xPaymentSessionToken*/
1071
- 2097152 && I(o), n.$$.dirty[0] & /*lang*/
1072
- 16384 && z && A(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1073
- 4112 && S && h && zn(h, S), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1074
- 8208 && w && h && Hn(h, w), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1075
- 1048592 && K && h && Gn(h, `${K}.Style`, ce), n.$$.dirty[0] & /*translationurl*/
1076
- 32768 && H && m();
1071
+ 4194304 && he(o), n.$$.dirty[0] & /*lang*/
1072
+ 16384 && z && Ae(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1073
+ 4112 && A && g && zn(g, A), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1074
+ 8208 && T && g && Hn(g, T), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1075
+ 1048592 && K && g && Gn(g, `${K}.Style`, de), n.$$.dirty[0] & /*usecashiertranslations, translationurl*/
1076
+ 2129920 && b == "false" && H && xe();
1077
1077
  }, [
1078
- _,
1079
- X,
1080
- ne,
1081
- Ce,
1082
- h,
1083
- x,
1078
+ E,
1079
+ V,
1084
1080
  ie,
1085
- le,
1086
- r,
1087
1081
  ve,
1088
- q,
1089
- Se,
1090
- S,
1091
- w,
1082
+ g,
1083
+ Q,
1084
+ pe,
1085
+ ae,
1086
+ a,
1087
+ Y,
1088
+ m,
1089
+ C,
1090
+ A,
1091
+ T,
1092
1092
  z,
1093
1093
  H,
1094
- be,
1095
- ae,
1094
+ Se,
1095
+ re,
1096
1096
  G,
1097
- de,
1097
+ me,
1098
1098
  K,
1099
+ b,
1099
1100
  o,
1100
- E,
1101
+ h,
1101
1102
  f,
1102
- xe,
1103
- T,
1104
- L
1103
+ _,
1104
+ L,
1105
+ Ee
1105
1106
  ];
1106
1107
  }
1107
1108
  class Ai extends kn {
@@ -1125,7 +1126,8 @@ class Ai extends kn {
1125
1126
  currency: 17,
1126
1127
  customerid: 18,
1127
1128
  selectedpaymentmethodname: 19,
1128
- mbsource: 20
1129
+ mbsource: 20,
1130
+ usecashiertranslations: 21
1129
1131
  },
1130
1132
  mi,
1131
1133
  [-1, -1]
@@ -1135,82 +1137,88 @@ class Ai extends kn {
1135
1137
  return this.$$.ctx[12];
1136
1138
  }
1137
1139
  set clientstyling(t) {
1138
- this.$$set({ clientstyling: t }), Z();
1140
+ this.$$set({ clientstyling: t }), X();
1139
1141
  }
1140
1142
  get clientstylingurl() {
1141
1143
  return this.$$.ctx[13];
1142
1144
  }
1143
1145
  set clientstylingurl(t) {
1144
- this.$$set({ clientstylingurl: t }), Z();
1146
+ this.$$set({ clientstylingurl: t }), X();
1145
1147
  }
1146
1148
  get width() {
1147
1149
  return this.$$.ctx[0];
1148
1150
  }
1149
1151
  set width(t) {
1150
- this.$$set({ width: t }), Z();
1152
+ this.$$set({ width: t }), X();
1151
1153
  }
1152
1154
  get height() {
1153
1155
  return this.$$.ctx[1];
1154
1156
  }
1155
1157
  set height(t) {
1156
- this.$$set({ height: t }), Z();
1158
+ this.$$set({ height: t }), X();
1157
1159
  }
1158
1160
  get duration() {
1159
1161
  return this.$$.ctx[2];
1160
1162
  }
1161
1163
  set duration(t) {
1162
- this.$$set({ duration: t }), Z();
1164
+ this.$$set({ duration: t }), X();
1163
1165
  }
1164
1166
  get assetsurl() {
1165
1167
  return this.$$.ctx[3];
1166
1168
  }
1167
1169
  set assetsurl(t) {
1168
- this.$$set({ assetsurl: t }), Z();
1170
+ this.$$set({ assetsurl: t }), X();
1169
1171
  }
1170
1172
  get lang() {
1171
1173
  return this.$$.ctx[14];
1172
1174
  }
1173
1175
  set lang(t) {
1174
- this.$$set({ lang: t }), Z();
1176
+ this.$$set({ lang: t }), X();
1175
1177
  }
1176
1178
  get translationurl() {
1177
1179
  return this.$$.ctx[15];
1178
1180
  }
1179
1181
  set translationurl(t) {
1180
- this.$$set({ translationurl: t }), Z();
1182
+ this.$$set({ translationurl: t }), X();
1181
1183
  }
1182
1184
  get endpoint() {
1183
1185
  return this.$$.ctx[16];
1184
1186
  }
1185
1187
  set endpoint(t) {
1186
- this.$$set({ endpoint: t }), Z();
1188
+ this.$$set({ endpoint: t }), X();
1187
1189
  }
1188
1190
  get currency() {
1189
1191
  return this.$$.ctx[17];
1190
1192
  }
1191
1193
  set currency(t) {
1192
- this.$$set({ currency: t }), Z();
1194
+ this.$$set({ currency: t }), X();
1193
1195
  }
1194
1196
  get customerid() {
1195
1197
  return this.$$.ctx[18];
1196
1198
  }
1197
1199
  set customerid(t) {
1198
- this.$$set({ customerid: t }), Z();
1200
+ this.$$set({ customerid: t }), X();
1199
1201
  }
1200
1202
  get selectedpaymentmethodname() {
1201
1203
  return this.$$.ctx[19];
1202
1204
  }
1203
1205
  set selectedpaymentmethodname(t) {
1204
- this.$$set({ selectedpaymentmethodname: t }), Z();
1206
+ this.$$set({ selectedpaymentmethodname: t }), X();
1205
1207
  }
1206
1208
  get mbsource() {
1207
1209
  return this.$$.ctx[20];
1208
1210
  }
1209
1211
  set mbsource(t) {
1210
- this.$$set({ mbsource: t }), Z();
1212
+ this.$$set({ mbsource: t }), X();
1213
+ }
1214
+ get usecashiertranslations() {
1215
+ return this.$$.ctx[21];
1216
+ }
1217
+ set usecashiertranslations(t) {
1218
+ this.$$set({ usecashiertranslations: t }), X();
1211
1219
  }
1212
1220
  }
1213
- Wn(Ai, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
1221
+ Wn(Ai, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {}, usecashiertranslations: {} }, ["icon", "title", "text", "button"], [], !0);
1214
1222
  export {
1215
1223
  Ai as default
1216
1224
  };