@everymatrix/cashier-page 1.53.0 → 1.53.10

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 (33) hide show
  1. package/components/CashierConfirmModal-bl1anpXG.js +1015 -0
  2. package/components/{CashierError-B6UnQRtt.js → CashierError-CNghn61_.js} +413 -411
  3. package/components/{CashierHeader-CGdNSxx6.js → CashierHeader-Cukt_6q5.js} +48 -48
  4. package/components/{CashierIframeRedirect-BJdtHTt_.js → CashierIframeRedirect-CfOyb27d.js} +6 -6
  5. package/components/{CashierMethodDetails-DIPZabAn.js → CashierMethodDetails-BIl7Is4q.js} +1612 -1626
  6. package/components/{CashierMethodsList-CpSKdE1d.js → CashierMethodsList-sDyTLsi_.js} +164 -175
  7. package/components/{CashierModal-XEf2DPsH.js → CashierModal-BvsZYr3E.js} +1 -1
  8. package/components/{CashierNotifications-Dx7SHS2Y.js → CashierNotifications-DLiOLPVS.js} +1 -1
  9. package/components/{CashierPage-DGsaN6gU.js → CashierPage-ChYGXNFh.js} +497 -482
  10. package/components/{CashierReceiptPage-BL7r2W71.js → CashierReceiptPage-BnZNWRHD.js} +108 -109
  11. package/components/{CashierSessionExpirationModal-t_3kN-WR.js → CashierSessionExpirationModal-m8mfQG7I.js} +198 -198
  12. package/components/{CashierSpinner-CQi2Ol7j.js → CashierSpinner-BGK4UpXs.js} +1 -1
  13. package/components/{CashierVerifications-BP6u9Bu5.js → CashierVerifications-ghULlvRf.js} +169 -167
  14. package/components/{CashierVideoModal-CtEksV6T.js → CashierVideoModal-CIyp7q0i.js} +5 -5
  15. package/esnext/cashier-page.js +14 -0
  16. package/package.json +8 -18
  17. package/components/CashierConfirmModal-Bho8FqJK.js +0 -1052
  18. package/components/CashierConfirmModal-KmRU3Mgr.cjs +0 -4
  19. package/components/CashierError-Dj9dAyT_.cjs +0 -5
  20. package/components/CashierHeader-Ckcwhr6m.cjs +0 -1
  21. package/components/CashierIframeRedirect-C7zvMq6i.cjs +0 -1
  22. package/components/CashierMethodDetails-FKHP9Y43.cjs +0 -18
  23. package/components/CashierMethodsList-S5owZP56.cjs +0 -1
  24. package/components/CashierModal-FkJdngyj.cjs +0 -1
  25. package/components/CashierNotifications-BJzRxOV_.cjs +0 -1
  26. package/components/CashierPage-D6k1-9yt.cjs +0 -1
  27. package/components/CashierReceiptPage-BXUv7YCN.cjs +0 -1
  28. package/components/CashierSessionExpirationModal-DzBnaDEz.cjs +0 -2
  29. package/components/CashierSpinner-CySOWnIQ.cjs +0 -1
  30. package/components/CashierVerifications-BQZPYeJq.cjs +0 -1
  31. package/components/CashierVideoModal-CrU0Y0Mw.cjs +0 -1
  32. package/es2015/cashier-page.cjs +0 -1
  33. package/es2015/cashier-page.js +0 -16
@@ -1,7 +1,7 @@
1
- import { S as An, b as Cn, f as Y, c as On, a as Rn, d as xn, x as rn, k as le, t as re, p as me, q as ln, v as ce, w as Nn, G as Mn, V as kn, e as Fe, g as Z, y as Ve, h as Le, j as d, F as zt, l as R, T as vn, A as Ht, z as qe, u as Be, m as _e, o as Ge, B as cn, U as Zt, r as Dn, C as Wt, O as Ft, n as ct, D as ut } from "./CashierConfirmModal-Bho8FqJK.js";
2
- import { f as Bt } from "./CashierModal-XEf2DPsH.js";
3
- import { a as Ln, i as Pn, $ as In, b as Un } from "./CashierError-B6UnQRtt.js";
4
- import { d as _t, u as zn } from "./CashierMethodDetails-DIPZabAn.js";
1
+ import { S as An, b as Cn, f as Y, c as On, a as Rn, d as xn, x as rn, k as le, t as re, p as me, q as ln, v as ce, w as Nn, G as Mn, V as kn, e as Fe, g as z, y as Ve, h as Le, j as d, F as zt, l as R, T as vn, A as Ht, z as qe, u as Be, m as _e, o as Ge, B as cn, U as Zt, r as Dn, C as Wt, O as Ft, n as ct, D as ut } from "./CashierConfirmModal-bl1anpXG.js";
2
+ import { f as Bt } from "./CashierModal-BvsZYr3E.js";
3
+ import { a as Ln, i as Pn, $ as In, b as Un } from "./CashierError-CNghn61_.js";
4
+ import { d as _t, u as zn } from "./CashierMethodDetails-BIl7Is4q.js";
5
5
  function Gt(n, t) {
6
6
  Ln(n, t);
7
7
  }
@@ -42,14 +42,14 @@ const {
42
42
  getOwnPropertyDescriptor: Fn
43
43
  } = Object;
44
44
  let {
45
- freeze: W,
45
+ freeze: H,
46
46
  seal: j,
47
47
  create: fn
48
48
  } = Object, {
49
49
  apply: ft,
50
50
  construct: mt
51
- } = typeof Reflect != "undefined" && Reflect;
52
- W || (W = function(t) {
51
+ } = typeof Reflect < "u" && Reflect;
52
+ H || (H = function(t) {
53
53
  return t;
54
54
  });
55
55
  j || (j = function(t) {
@@ -61,8 +61,8 @@ ft || (ft = function(t, i, o) {
61
61
  mt || (mt = function(t, i) {
62
62
  return new t(...i);
63
63
  });
64
- const Ze = _(Array.prototype.forEach), qt = _(Array.prototype.pop), Ne = _(Array.prototype.push), Je = _(String.prototype.toLowerCase), ot = _(String.prototype.toString), Yt = _(String.prototype.match), Me = _(String.prototype.replace), Bn = _(String.prototype.indexOf), _n = _(String.prototype.trim), Q = _(Object.prototype.hasOwnProperty), H = _(RegExp.prototype.test), ke = Gn(TypeError);
65
- function _(n) {
64
+ const Ze = B(Array.prototype.forEach), qt = B(Array.prototype.pop), Ne = B(Array.prototype.push), Je = B(String.prototype.toLowerCase), ot = B(String.prototype.toString), Yt = B(String.prototype.match), Me = B(String.prototype.replace), Bn = B(String.prototype.indexOf), _n = B(String.prototype.trim), Q = B(Object.prototype.hasOwnProperty), U = B(RegExp.prototype.test), ke = Gn(TypeError);
65
+ function B(n) {
66
66
  return function(t) {
67
67
  for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
68
68
  o[a - 1] = arguments[a];
@@ -106,9 +106,9 @@ function ve(n, t) {
106
106
  const o = Fn(n, t);
107
107
  if (o) {
108
108
  if (o.get)
109
- return _(o.get);
109
+ return B(o.get);
110
110
  if (typeof o.value == "function")
111
- return _(o.value);
111
+ return B(o.value);
112
112
  }
113
113
  n = Wn(n);
114
114
  }
@@ -117,7 +117,7 @@ function ve(n, t) {
117
117
  }
118
118
  return i;
119
119
  }
120
- const jt = W(["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"]), st = W(["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 = W(["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"]), Vn = W(["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"]), rt = W(["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"]), qn = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xt = W(["#text"]), Kt = W(["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"]), lt = W(["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"]), Qt = W(["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"]), We = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Yn = j(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jn = j(/<%[\w\W]*|[\w\W]*%>/gm), Xn = j(/\${[\w\W]*}/gm), Kn = j(/^data-[\-\w.\u00B7-\uFFFF]/), Qn = j(/^aria-[\-\w]+$/), mn = j(
120
+ const jt = H(["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"]), st = H(["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 = H(["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"]), Vn = H(["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"]), rt = H(["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"]), qn = H(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xt = H(["#text"]), Kt = H(["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"]), lt = H(["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"]), Qt = H(["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"]), We = H(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Yn = j(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jn = j(/<%[\w\W]*|[\w\W]*%>/gm), Xn = j(/\${[\w\W]*}/gm), Kn = j(/^data-[\-\w.\u00B7-\uFFFF]/), Qn = j(/^aria-[\-\w]+$/), mn = j(
121
121
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
122
122
  // eslint-disable-line no-useless-escape
123
123
  ), $n = j(/^(?:\w+script|data):/i), ei = j(
@@ -154,7 +154,7 @@ const De = {
154
154
  notation: 12
155
155
  // Deprecated
156
156
  }, ni = function() {
157
- return typeof window == "undefined" ? null : window;
157
+ return typeof window > "u" ? null : window;
158
158
  }, ii = function(t, i) {
159
159
  if (typeof t != "object" || typeof t.createPolicy != "function")
160
160
  return null;
@@ -171,7 +171,7 @@ const De = {
171
171
  return p;
172
172
  }
173
173
  });
174
- } catch (p) {
174
+ } catch {
175
175
  return console.warn("TrustedTypes policy " + r + " could not be created."), null;
176
176
  }
177
177
  };
@@ -186,38 +186,38 @@ function dn() {
186
186
  const o = i, a = o.currentScript, {
187
187
  DocumentFragment: r,
188
188
  HTMLTemplateElement: p,
189
- Node: D,
190
- Element: L,
189
+ Node: v,
190
+ Element: D,
191
191
  NodeFilter: y,
192
- NamedNodeMap: P = n.NamedNodeMap || n.MozNamedAttrMap,
192
+ NamedNodeMap: L = n.NamedNodeMap || n.MozNamedAttrMap,
193
193
  HTMLFormElement: pe,
194
194
  DOMParser: ie,
195
- trustedTypes: G
196
- } = n, O = L.prototype, x = ve(O, "cloneNode"), M = ve(O, "remove"), ue = ve(O, "nextSibling"), A = ve(O, "childNodes"), h = ve(O, "parentNode");
195
+ trustedTypes: _
196
+ } = n, O = D.prototype, x = ve(O, "cloneNode"), M = ve(O, "remove"), ue = ve(O, "nextSibling"), b = ve(O, "childNodes"), h = ve(O, "parentNode");
197
197
  if (typeof p == "function") {
198
198
  const u = i.createElement("template");
199
199
  u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
200
200
  }
201
- let S, F = "";
201
+ let S, Z = "";
202
202
  const {
203
- implementation: J,
204
- createNodeIterator: V,
205
- createDocumentFragment: I,
203
+ implementation: G,
204
+ createNodeIterator: J,
205
+ createDocumentFragment: V,
206
206
  getElementsByTagName: $
207
207
  } = i, {
208
208
  importNode: oe
209
209
  } = o;
210
- let w = {};
211
- t.isSupported = typeof un == "function" && typeof h == "function" && J && J.createHTMLDocument !== void 0;
210
+ let A = {};
211
+ t.isSupported = typeof un == "function" && typeof h == "function" && G && G.createHTMLDocument !== void 0;
212
212
  const {
213
213
  MUSTACHE_EXPR: ee,
214
214
  ERB_EXPR: X,
215
- TMPLIT_EXPR: k,
215
+ TMPLIT_EXPR: F,
216
216
  DATA_ATTR: ge,
217
217
  ARIA_ATTR: q,
218
218
  IS_SCRIPT_OR_DATA: Te,
219
219
  ATTR_WHITESPACE: g,
220
- CUSTOM_ELEMENT: b
220
+ CUSTOM_ELEMENT: w
221
221
  } = $t;
222
222
  let {
223
223
  IS_ALLOWED_URI: fe
@@ -246,51 +246,51 @@ function dn() {
246
246
  }
247
247
  })), Ce = null, Ye = null, pt = !0, je = !0, dt = !1, ht = !0, Ee = !1, Xe = !0, de = !1, Ke = !1, Qe = !1, Se = !1, Pe = !1, Ie = !1, gt = !0, Tt = !1;
248
248
  const hn = "user-content-";
249
- let $e = !0, Oe = !1, we = {}, be = null;
249
+ let $e = !0, Oe = !1, we = {}, ye = null;
250
250
  const Et = m({}, ["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"]);
251
251
  let St = null;
252
252
  const wt = m({}, ["audio", "video", "img", "source", "image", "track"]);
253
253
  let et = null;
254
- const bt = m({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ue = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", se = "http://www.w3.org/1999/xhtml";
255
- let ye = se, tt = !1, nt = null;
254
+ const yt = m({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ue = "http://www.w3.org/1998/Math/MathML", ze = "http://www.w3.org/2000/svg", se = "http://www.w3.org/1999/xhtml";
255
+ let be = se, tt = !1, nt = null;
256
256
  const gn = m({}, [Ue, ze, se], ot);
257
257
  let Re = null;
258
258
  const Tn = ["application/xhtml+xml", "text/html"], En = "text/html";
259
259
  let N = null, Ae = null;
260
- const Sn = i.createElement("form"), yt = function(e) {
260
+ const Sn = i.createElement("form"), bt = function(e) {
261
261
  return e instanceof RegExp || e instanceof Function;
262
262
  }, it = function() {
263
263
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
264
264
  if (!(Ae && Ae === e)) {
265
265
  if ((!e || typeof e != "object") && (e = {}), e = he(e), Re = // eslint-disable-next-line unicorn/prefer-includes
266
266
  Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, N = Re === "application/xhtml+xml" ? ot : Je, C = Q(e, "ALLOWED_TAGS") ? m({}, e.ALLOWED_TAGS, N) : l, f = Q(e, "ALLOWED_ATTR") ? m({}, e.ALLOWED_ATTR, N) : K, nt = Q(e, "ALLOWED_NAMESPACES") ? m({}, e.ALLOWED_NAMESPACES, ot) : gn, et = Q(e, "ADD_URI_SAFE_ATTR") ? m(
267
- he(bt),
267
+ he(yt),
268
268
  // eslint-disable-line indent
269
269
  e.ADD_URI_SAFE_ATTR,
270
270
  // eslint-disable-line indent
271
271
  N
272
272
  // eslint-disable-line indent
273
- ) : bt, St = Q(e, "ADD_DATA_URI_TAGS") ? m(
273
+ ) : yt, St = Q(e, "ADD_DATA_URI_TAGS") ? m(
274
274
  he(wt),
275
275
  // eslint-disable-line indent
276
276
  e.ADD_DATA_URI_TAGS,
277
277
  // eslint-disable-line indent
278
278
  N
279
279
  // eslint-disable-line indent
280
- ) : wt, be = Q(e, "FORBID_CONTENTS") ? m({}, e.FORBID_CONTENTS, N) : Et, Ce = Q(e, "FORBID_TAGS") ? m({}, e.FORBID_TAGS, N) : {}, Ye = Q(e, "FORBID_ATTR") ? m({}, e.FORBID_ATTR, N) : {}, we = Q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pt = e.ALLOW_ARIA_ATTR !== !1, je = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, Xe = e.SAFE_FOR_XML !== !1, de = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ie = e.RETURN_TRUSTED_TYPE || !1, Qe = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, $e = e.KEEP_CONTENT !== !1, Oe = e.IN_PLACE || !1, fe = e.ALLOWED_URI_REGEXP || mn, ye = e.NAMESPACE || se, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (je = !1), Pe && (Se = !0), we && (C = m({}, Xt), f = [], we.html === !0 && (m(C, jt), m(f, Kt)), we.svg === !0 && (m(C, st), m(f, lt), m(f, We)), we.svgFilters === !0 && (m(C, at), m(f, lt), m(f, We)), we.mathMl === !0 && (m(C, rt), m(f, Qt), m(f, We))), e.ADD_TAGS && (C === l && (C = he(C)), m(C, e.ADD_TAGS, N)), e.ADD_ATTR && (f === K && (f = he(f)), m(f, e.ADD_ATTR, N)), e.ADD_URI_SAFE_ATTR && m(et, e.ADD_URI_SAFE_ATTR, N), e.FORBID_CONTENTS && (be === Et && (be = he(be)), m(be, e.FORBID_CONTENTS, N)), $e && (C["#text"] = !0), de && m(C, ["html", "head", "body"]), C.table && (m(C, ["tbody"]), delete Ce.tbody), e.TRUSTED_TYPES_POLICY) {
280
+ ) : wt, ye = Q(e, "FORBID_CONTENTS") ? m({}, e.FORBID_CONTENTS, N) : Et, Ce = Q(e, "FORBID_TAGS") ? m({}, e.FORBID_TAGS, N) : {}, Ye = Q(e, "FORBID_ATTR") ? m({}, e.FORBID_ATTR, N) : {}, we = Q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pt = e.ALLOW_ARIA_ATTR !== !1, je = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = e.SAFE_FOR_TEMPLATES || !1, Xe = e.SAFE_FOR_XML !== !1, de = e.WHOLE_DOCUMENT || !1, Se = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, Ie = e.RETURN_TRUSTED_TYPE || !1, Qe = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, $e = e.KEEP_CONTENT !== !1, Oe = e.IN_PLACE || !1, fe = e.ALLOWED_URI_REGEXP || mn, be = e.NAMESPACE || se, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (je = !1), Pe && (Se = !0), we && (C = m({}, Xt), f = [], we.html === !0 && (m(C, jt), m(f, Kt)), we.svg === !0 && (m(C, st), m(f, lt), m(f, We)), we.svgFilters === !0 && (m(C, at), m(f, lt), m(f, We)), we.mathMl === !0 && (m(C, rt), m(f, Qt), m(f, We))), e.ADD_TAGS && (C === l && (C = he(C)), m(C, e.ADD_TAGS, N)), e.ADD_ATTR && (f === K && (f = he(f)), m(f, e.ADD_ATTR, N)), e.ADD_URI_SAFE_ATTR && m(et, e.ADD_URI_SAFE_ATTR, N), e.FORBID_CONTENTS && (ye === Et && (ye = he(ye)), m(ye, e.FORBID_CONTENTS, N)), $e && (C["#text"] = !0), de && m(C, ["html", "head", "body"]), C.table && (m(C, ["tbody"]), delete Ce.tbody), e.TRUSTED_TYPES_POLICY) {
281
281
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
282
282
  throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
283
283
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
284
284
  throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
285
- S = e.TRUSTED_TYPES_POLICY, F = S.createHTML("");
285
+ S = e.TRUSTED_TYPES_POLICY, Z = S.createHTML("");
286
286
  } else
287
- S === void 0 && (S = ii(G, a)), S !== null && typeof F == "string" && (F = S.createHTML(""));
288
- W && W(e), Ae = e;
287
+ S === void 0 && (S = ii(_, a)), S !== null && typeof Z == "string" && (Z = S.createHTML(""));
288
+ H && H(e), Ae = e;
289
289
  }
290
- }, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]), wn = m({}, ["title", "style", "font", "a", "script"]), Ot = m({}, [...st, ...at, ...Vn]), Rt = m({}, [...rt, ...qn]), bn = function(e) {
290
+ }, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]), wn = m({}, ["title", "style", "font", "a", "script"]), Ot = m({}, [...st, ...at, ...Vn]), Rt = m({}, [...rt, ...qn]), yn = function(e) {
291
291
  let s = h(e);
292
292
  (!s || !s.tagName) && (s = {
293
- namespaceURI: ye,
293
+ namespaceURI: be,
294
294
  tagName: "template"
295
295
  });
296
296
  const c = Je(e.tagName), T = Je(s.tagName);
@@ -301,7 +301,7 @@ function dn() {
301
301
  });
302
302
  try {
303
303
  h(e).removeChild(e);
304
- } catch (s) {
304
+ } catch {
305
305
  M(e);
306
306
  }
307
307
  }, He = function(e, s) {
@@ -310,7 +310,7 @@ function dn() {
310
310
  attribute: s.getAttributeNode(e),
311
311
  from: s
312
312
  });
313
- } catch (c) {
313
+ } catch {
314
314
  Ne(t.removed, {
315
315
  attribute: null,
316
316
  from: s
@@ -320,39 +320,39 @@ function dn() {
320
320
  if (Se || Pe)
321
321
  try {
322
322
  te(s);
323
- } catch (c) {
323
+ } catch {
324
324
  }
325
325
  else
326
326
  try {
327
327
  s.setAttribute(e, "");
328
- } catch (c) {
328
+ } catch {
329
329
  }
330
330
  }, xt = function(e) {
331
331
  let s = null, c = null;
332
332
  if (Qe)
333
333
  e = "<remove></remove>" + e;
334
334
  else {
335
- const v = Yt(e, /^[\r\n\t ]+/);
336
- c = v && v[0];
335
+ const k = Yt(e, /^[\r\n\t ]+/);
336
+ c = k && k[0];
337
337
  }
338
- Re === "application/xhtml+xml" && ye === se && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
338
+ Re === "application/xhtml+xml" && be === se && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
339
339
  const T = S ? S.createHTML(e) : e;
340
- if (ye === se)
340
+ if (be === se)
341
341
  try {
342
342
  s = new ie().parseFromString(T, Re);
343
- } catch (v) {
343
+ } catch {
344
344
  }
345
345
  if (!s || !s.documentElement) {
346
- s = J.createDocument(ye, "template", null);
346
+ s = G.createDocument(be, "template", null);
347
347
  try {
348
- s.documentElement.innerHTML = tt ? F : T;
349
- } catch (v) {
348
+ s.documentElement.innerHTML = tt ? Z : T;
349
+ } catch {
350
350
  }
351
351
  }
352
- const U = s.body || s.documentElement;
353
- return e && c && U.insertBefore(i.createTextNode(c), U.childNodes[0] || null), ye === se ? $.call(s, de ? "html" : "body")[0] : de ? s.documentElement : U;
352
+ const P = s.body || s.documentElement;
353
+ return e && c && P.insertBefore(i.createTextNode(c), P.childNodes[0] || null), be === se ? $.call(s, de ? "html" : "body")[0] : de ? s.documentElement : P;
354
354
  }, Nt = function(e) {
355
- return V.call(
355
+ return J.call(
356
356
  e.ownerDocument || e,
357
357
  e,
358
358
  // eslint-disable-next-line no-bitwise
@@ -360,11 +360,11 @@ function dn() {
360
360
  null
361
361
  );
362
362
  }, Mt = function(e) {
363
- return e instanceof pe && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof P) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
363
+ return e instanceof pe && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof L) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
364
364
  }, kt = function(e) {
365
- return typeof D == "function" && e instanceof D;
365
+ return typeof v == "function" && e instanceof v;
366
366
  }, ae = function(e, s, c) {
367
- w[e] && Ze(w[e], (T) => {
367
+ A[e] && Ze(A[e], (T) => {
368
368
  T.call(t, s, c, Ae);
369
369
  });
370
370
  }, vt = function(e) {
@@ -375,24 +375,24 @@ function dn() {
375
375
  if (ae("uponSanitizeElement", e, {
376
376
  tagName: c,
377
377
  allowedTags: C
378
- }), e.hasChildNodes() && !kt(e.firstElementChild) && H(/<[/\w]/g, e.innerHTML) && H(/<[/\w]/g, e.textContent) || e.nodeType === De.progressingInstruction || Xe && e.nodeType === De.comment && H(/<[/\w]/g, e.data))
378
+ }), e.hasChildNodes() && !kt(e.firstElementChild) && U(/<[/\w]/g, e.innerHTML) && U(/<[/\w]/g, e.textContent) || e.nodeType === De.progressingInstruction || Xe && e.nodeType === De.comment && U(/<[/\w]/g, e.data))
379
379
  return te(e), !0;
380
380
  if (!C[c] || Ce[c]) {
381
- if (!Ce[c] && Lt(c) && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
381
+ if (!Ce[c] && Lt(c) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
382
382
  return !1;
383
- if ($e && !be[c]) {
384
- const T = h(e) || e.parentNode, U = A(e) || e.childNodes;
385
- if (U && T) {
386
- const v = U.length;
387
- for (let B = v - 1; B >= 0; --B) {
388
- const ne = x(U[B], !0);
383
+ if ($e && !ye[c]) {
384
+ const T = h(e) || e.parentNode, P = b(e) || e.childNodes;
385
+ if (P && T) {
386
+ const k = P.length;
387
+ for (let W = k - 1; W >= 0; --W) {
388
+ const ne = x(P[W], !0);
389
389
  ne.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(ne, ue(e));
390
390
  }
391
391
  }
392
392
  }
393
393
  return te(e), !0;
394
394
  }
395
- return e instanceof L && !bn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && H(/<\/no(script|embed|frames)/i, e.innerHTML) ? (te(e), !0) : (Ee && e.nodeType === De.text && (s = e.textContent, Ze([ee, X, k], (T) => {
395
+ return e instanceof D && !yn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && U(/<\/no(script|embed|frames)/i, e.innerHTML) ? (te(e), !0) : (Ee && e.nodeType === De.text && (s = e.textContent, Ze([ee, X, F], (T) => {
396
396
  s = Me(s, T, " ");
397
397
  }), e.textContent !== s && (Ne(t.removed, {
398
398
  element: e.cloneNode()
@@ -400,21 +400,21 @@ function dn() {
400
400
  }, Dt = function(e, s, c) {
401
401
  if (gt && (s === "id" || s === "name") && (c in i || c in Sn))
402
402
  return !1;
403
- if (!(je && !Ye[s] && H(ge, s))) {
404
- if (!(pt && H(q, s))) {
403
+ if (!(je && !Ye[s] && U(ge, s))) {
404
+ if (!(pt && U(q, s))) {
405
405
  if (!f[s] || Ye[s]) {
406
406
  if (
407
407
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
408
408
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
409
409
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
410
- !(Lt(e) && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && H(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
410
+ !(Lt(e) && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && U(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
411
411
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
412
- s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
412
+ s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && U(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
413
413
  ) return !1;
414
414
  } else if (!et[s]) {
415
- if (!H(fe, Me(c, g, ""))) {
415
+ if (!U(fe, Me(c, g, ""))) {
416
416
  if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Bn(c, "data:") === 0 && St[e])) {
417
- if (!(dt && !H(Te, Me(c, g, "")))) {
417
+ if (!(dt && !U(Te, Me(c, g, "")))) {
418
418
  if (c)
419
419
  return !1;
420
420
  }
@@ -425,7 +425,7 @@ function dn() {
425
425
  }
426
426
  return !0;
427
427
  }, Lt = function(e) {
428
- return e !== "annotation-xml" && Yt(e, b);
428
+ return e !== "annotation-xml" && Yt(e, w);
429
429
  }, Pt = function(e) {
430
430
  ae("beforeSanitizeAttributes", e, null);
431
431
  const {
@@ -441,46 +441,46 @@ function dn() {
441
441
  };
442
442
  let T = s.length;
443
443
  for (; T--; ) {
444
- const U = s[T], {
445
- name: v,
446
- namespaceURI: B,
444
+ const P = s[T], {
445
+ name: k,
446
+ namespaceURI: W,
447
447
  value: ne
448
- } = U, xe = N(v);
449
- let z = v === "value" ? ne : _n(ne);
450
- if (c.attrName = xe, c.attrValue = z, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), z = c.attrValue, Xe && H(/((--!?|])>)|<\/(style|title)/i, z)) {
451
- He(v, e);
448
+ } = P, xe = N(k);
449
+ let I = k === "value" ? ne : _n(ne);
450
+ if (c.attrName = xe, c.attrValue = I, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), I = c.attrValue, Xe && U(/((--!?|])>)|<\/(style|title)/i, I)) {
451
+ He(k, e);
452
452
  continue;
453
453
  }
454
- if (c.forceKeepAttr || (He(v, e), !c.keepAttr))
454
+ if (c.forceKeepAttr || (He(k, e), !c.keepAttr))
455
455
  continue;
456
- if (!ht && H(/\/>/i, z)) {
457
- He(v, e);
456
+ if (!ht && U(/\/>/i, I)) {
457
+ He(k, e);
458
458
  continue;
459
459
  }
460
- Ee && Ze([ee, X, k], (Ut) => {
461
- z = Me(z, Ut, " ");
460
+ Ee && Ze([ee, X, F], (Ut) => {
461
+ I = Me(I, Ut, " ");
462
462
  });
463
463
  const It = N(e.nodeName);
464
- if (Dt(It, xe, z)) {
465
- if (Tt && (xe === "id" || xe === "name") && (He(v, e), z = hn + z), S && typeof G == "object" && typeof G.getAttributeType == "function" && !B)
466
- switch (G.getAttributeType(It, xe)) {
464
+ if (Dt(It, xe, I)) {
465
+ if (Tt && (xe === "id" || xe === "name") && (He(k, e), I = hn + I), S && typeof _ == "object" && typeof _.getAttributeType == "function" && !W)
466
+ switch (_.getAttributeType(It, xe)) {
467
467
  case "TrustedHTML": {
468
- z = S.createHTML(z);
468
+ I = S.createHTML(I);
469
469
  break;
470
470
  }
471
471
  case "TrustedScriptURL": {
472
- z = S.createScriptURL(z);
472
+ I = S.createScriptURL(I);
473
473
  break;
474
474
  }
475
475
  }
476
476
  try {
477
- B ? e.setAttributeNS(B, v, z) : e.setAttribute(v, z), Mt(e) ? te(e) : qt(t.removed);
478
- } catch (Ut) {
477
+ W ? e.setAttributeNS(W, k, I) : e.setAttribute(k, I), Mt(e) ? te(e) : qt(t.removed);
478
+ } catch {
479
479
  }
480
480
  }
481
481
  }
482
482
  ae("afterSanitizeAttributes", e, null);
483
- }, yn = function u(e) {
483
+ }, bn = function u(e) {
484
484
  let s = null;
485
485
  const c = Nt(e);
486
486
  for (ae("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
@@ -488,7 +488,7 @@ function dn() {
488
488
  ae("afterSanitizeShadowDOM", e, null);
489
489
  };
490
490
  return t.sanitize = function(u) {
491
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, U = null;
491
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, P = null;
492
492
  if (tt = !u, tt && (u = "<!-->"), typeof u != "string" && !kt(u))
493
493
  if (typeof u.toString == "function") {
494
494
  if (u = u.toString(), typeof u != "string")
@@ -503,34 +503,34 @@ function dn() {
503
503
  if (!C[ne] || Ce[ne])
504
504
  throw ke("root node is forbidden and cannot be sanitized in-place");
505
505
  }
506
- } else if (u instanceof D)
506
+ } else if (u instanceof v)
507
507
  s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === De.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
508
508
  else {
509
509
  if (!Se && !Ee && !de && // eslint-disable-next-line unicorn/prefer-includes
510
510
  u.indexOf("<") === -1)
511
511
  return S && Ie ? S.createHTML(u) : u;
512
512
  if (s = xt(u), !s)
513
- return Se ? null : Ie ? F : "";
513
+ return Se ? null : Ie ? Z : "";
514
514
  }
515
515
  s && Qe && te(s.firstChild);
516
- const v = Nt(Oe ? u : s);
517
- for (; T = v.nextNode(); )
518
- vt(T) || (T.content instanceof r && yn(T.content), Pt(T));
516
+ const k = Nt(Oe ? u : s);
517
+ for (; T = k.nextNode(); )
518
+ vt(T) || (T.content instanceof r && bn(T.content), Pt(T));
519
519
  if (Oe)
520
520
  return u;
521
521
  if (Se) {
522
522
  if (Pe)
523
- for (U = I.call(s.ownerDocument); s.firstChild; )
524
- U.appendChild(s.firstChild);
523
+ for (P = V.call(s.ownerDocument); s.firstChild; )
524
+ P.appendChild(s.firstChild);
525
525
  else
526
- U = s;
527
- return (f.shadowroot || f.shadowrootmode) && (U = oe.call(o, U, !0)), U;
526
+ P = s;
527
+ return (f.shadowroot || f.shadowrootmode) && (P = oe.call(o, P, !0)), P;
528
528
  }
529
- let B = de ? s.outerHTML : s.innerHTML;
530
- return de && C["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && H(pn, s.ownerDocument.doctype.name) && (B = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
531
- ` + B), Ee && Ze([ee, X, k], (ne) => {
532
- B = Me(B, ne, " ");
533
- }), S && Ie ? S.createHTML(B) : B;
529
+ let W = de ? s.outerHTML : s.innerHTML;
530
+ return de && C["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && U(pn, s.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
531
+ ` + W), Ee && Ze([ee, X, F], (ne) => {
532
+ W = Me(W, ne, " ");
533
+ }), S && Ie ? S.createHTML(W) : W;
534
534
  }, t.setConfig = function() {
535
535
  let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
536
536
  it(u), Ke = !0;
@@ -541,14 +541,14 @@ function dn() {
541
541
  const c = N(u), T = N(e);
542
542
  return Dt(c, T, s);
543
543
  }, t.addHook = function(u, e) {
544
- typeof e == "function" && (w[u] = w[u] || [], Ne(w[u], e));
544
+ typeof e == "function" && (A[u] = A[u] || [], Ne(A[u], e));
545
545
  }, t.removeHook = function(u) {
546
- if (w[u])
547
- return qt(w[u]);
546
+ if (A[u])
547
+ return qt(A[u]);
548
548
  }, t.removeHooks = function(u) {
549
- w[u] && (w[u] = []);
549
+ A[u] && (A[u] = []);
550
550
  }, t.removeAllHooks = function() {
551
- w = {};
551
+ A = {};
552
552
  }, t;
553
553
  }
554
554
  var en = dn();
@@ -561,17 +561,17 @@ function an(n) {
561
561
  let t, i, o, a, r, p = (
562
562
  /*$_*/
563
563
  n[8]("sessionExpirationHeader") + ""
564
- ), D, L, y, P, pe, ie, G, O, x, M, ue, A, h, S, F;
565
- const J = (
564
+ ), v, D, y, L, pe, ie, _, O, x, M, ue, b, h, S, Z;
565
+ const G = (
566
566
  /*#slots*/
567
567
  n[20].icon
568
- ), V = Fe(
569
- J,
568
+ ), J = Fe(
569
+ G,
570
570
  n,
571
571
  /*$$scope*/
572
572
  n[19],
573
573
  sn
574
- ), I = V || mi(n), $ = (
574
+ ), V = J || mi(n), $ = (
575
575
  /*#slots*/
576
576
  n[20].title
577
577
  ), oe = Fe(
@@ -580,7 +580,7 @@ function an(n) {
580
580
  /*$$scope*/
581
581
  n[19],
582
582
  on
583
- ), w = oe || pi(n), ee = (
583
+ ), A = oe || pi(n), ee = (
584
584
  /*#slots*/
585
585
  n[20].text
586
586
  ), X = Fe(
@@ -589,8 +589,8 @@ function an(n) {
589
589
  /*$$scope*/
590
590
  n[19],
591
591
  nn
592
- ), k = X || di(n), ge = [gi, hi], q = [];
593
- function Te(g, b) {
592
+ ), F = X || di(n), ge = [gi, hi], q = [];
593
+ function Te(g, w) {
594
594
  return (
595
595
  /*showLoaderButton*/
596
596
  g[6] ? 0 : 1
@@ -598,18 +598,18 @@ function an(n) {
598
598
  }
599
599
  return x = Te(n), M = q[x] = ge[x](n), {
600
600
  c() {
601
- t = Z("div"), i = Z("div"), o = Z("div"), a = Z("div"), r = Z("div"), D = Ve(p), L = Le(), y = Z("div"), P = Z("div"), I && I.c(), pe = Le(), w && w.c(), ie = Le(), k && k.c(), G = Le(), O = Z("button"), M.c(), d(r, "class", "CashierSessionExpirationModalHeaderTitle"), d(a, "class", "CashierSessionExpirationModalHeader"), d(O, "type", "button"), O.disabled = /*showLoaderButton*/
602
- n[6], d(O, "class", "CashierSessionExpirationButton"), d(P, "class", "CashierSessionExpiration"), d(y, "class", "CashierSessionExpirationModalContainer"), d(y, "part", "CashierSessionExpirationModalContainer"), d(o, "class", "CashierSessionExpirationModalWrapper"), d(o, "part", "CashierSessionExpirationModalWrapper"), d(i, "class", "CashierSessionExpirationModalWindow"), d(i, "part", "CashierSessionExpirationModalWindow"), d(i, "id", "CashierSessionExpirationModal"), zt(() => (
601
+ t = z("div"), i = z("div"), o = z("div"), a = z("div"), r = z("div"), v = Ve(p), D = Le(), y = z("div"), L = z("div"), V.c(), pe = Le(), A.c(), ie = Le(), F.c(), _ = Le(), O = z("button"), M.c(), d(r, "class", "CashierSessionExpirationModalHeaderTitle"), d(a, "class", "CashierSessionExpirationModalHeader"), d(O, "type", "button"), O.disabled = /*showLoaderButton*/
602
+ n[6], d(O, "class", "CashierSessionExpirationButton"), d(L, "class", "CashierSessionExpiration"), d(y, "class", "CashierSessionExpirationModalContainer"), d(y, "part", "CashierSessionExpirationModalContainer"), d(o, "class", "CashierSessionExpirationModalWrapper"), d(o, "part", "CashierSessionExpirationModalWrapper"), d(i, "class", "CashierSessionExpirationModalWindow"), d(i, "part", "CashierSessionExpirationModalWindow"), d(i, "id", "CashierSessionExpirationModal"), zt(() => (
603
603
  /*div5_elementresize_handler*/
604
604
  n[22].call(i)
605
605
  )), d(t, "part", "CustomStylingContainer");
606
606
  },
607
- m(g, b) {
608
- le(g, t, b), R(t, i), R(i, o), R(o, a), R(a, r), R(r, D), R(o, L), R(o, y), R(y, P), I && I.m(P, null), R(P, pe), w && w.m(P, null), R(P, ie), k && k.m(P, null), R(P, G), R(P, O), q[x].m(O, null), n[21](P), ue = vn(
607
+ m(g, w) {
608
+ le(g, t, w), R(t, i), R(i, o), R(o, a), R(a, r), R(r, v), R(o, D), R(o, y), R(y, L), V.m(L, null), R(L, pe), A.m(L, null), R(L, ie), F.m(L, null), R(L, _), R(L, O), q[x].m(O, null), n[21](L), ue = vn(
609
609
  i,
610
610
  /*div5_elementresize_handler*/
611
611
  n[22].bind(i)
612
- ), n[23](t), h = !0, S || (F = [
612
+ ), n[23](t), h = !0, S || (Z = [
613
613
  Ht(
614
614
  O,
615
615
  "click",
@@ -624,29 +624,29 @@ function an(n) {
624
624
  )
625
625
  ], S = !0);
626
626
  },
627
- p(g, b) {
628
- n = g, (!h || b[0] & /*$_*/
627
+ p(g, w) {
628
+ n = g, (!h || w[0] & /*$_*/
629
629
  256) && p !== (p = /*$_*/
630
- n[8]("sessionExpirationHeader") + "") && qe(D, p), V ? V.p && (!h || b[0] & /*$$scope*/
630
+ n[8]("sessionExpirationHeader") + "") && qe(v, p), J ? J.p && (!h || w[0] & /*$$scope*/
631
631
  524288) && Be(
632
- V,
633
632
  J,
633
+ G,
634
634
  n,
635
635
  /*$$scope*/
636
636
  n[19],
637
637
  h ? Ge(
638
- J,
638
+ G,
639
639
  /*$$scope*/
640
640
  n[19],
641
- b,
641
+ w,
642
642
  ci
643
643
  ) : _e(
644
644
  /*$$scope*/
645
645
  n[19]
646
646
  ),
647
647
  sn
648
- ) : I && I.p && (!h || b[0] & /*assetsurl*/
649
- 8) && I.p(n, h ? b : [-1, -1]), oe ? oe.p && (!h || b[0] & /*$$scope*/
648
+ ) : V.p && (!h || w[0] & /*assetsurl*/
649
+ 8) && V.p(n, h ? w : [-1, -1]), oe ? oe.p && (!h || w[0] & /*$$scope*/
650
650
  524288) && Be(
651
651
  oe,
652
652
  $,
@@ -657,15 +657,15 @@ function an(n) {
657
657
  $,
658
658
  /*$$scope*/
659
659
  n[19],
660
- b,
660
+ w,
661
661
  li
662
662
  ) : _e(
663
663
  /*$$scope*/
664
664
  n[19]
665
665
  ),
666
666
  on
667
- ) : w && w.p && (!h || b[0] & /*$_*/
668
- 256) && w.p(n, h ? b : [-1, -1]), X ? X.p && (!h || b[0] & /*$$scope*/
667
+ ) : A.p && (!h || w[0] & /*$_*/
668
+ 256) && A.p(n, h ? w : [-1, -1]), X ? X.p && (!h || w[0] & /*$$scope*/
669
669
  524288) && Be(
670
670
  X,
671
671
  ee,
@@ -676,38 +676,38 @@ function an(n) {
676
676
  ee,
677
677
  /*$$scope*/
678
678
  n[19],
679
- b,
679
+ w,
680
680
  ri
681
681
  ) : _e(
682
682
  /*$$scope*/
683
683
  n[19]
684
684
  ),
685
685
  nn
686
- ) : k && k.p && (!h || b[0] & /*$_, timeLeft*/
687
- 384) && k.p(n, h ? b : [-1, -1]);
686
+ ) : F.p && (!h || w[0] & /*$_, timeLeft*/
687
+ 384) && F.p(n, h ? w : [-1, -1]);
688
688
  let fe = x;
689
- x = Te(n), x === fe ? q[x].p(n, b) : (cn(), me(q[fe], 1, 1, () => {
689
+ x = Te(n), x === fe ? q[x].p(n, w) : (cn(), me(q[fe], 1, 1, () => {
690
690
  q[fe] = null;
691
- }), ln(), M = q[x], M ? M.p(n, b) : (M = q[x] = ge[x](n), M.c()), re(M, 1), M.m(O, null)), (!h || b[0] & /*showLoaderButton*/
691
+ }), ln(), M = q[x], M ? M.p(n, w) : (M = q[x] = ge[x](n), M.c()), re(M, 1), M.m(O, null)), (!h || w[0] & /*showLoaderButton*/
692
692
  64) && (O.disabled = /*showLoaderButton*/
693
693
  n[6]);
694
694
  },
695
695
  i(g) {
696
- h || (re(I, g), re(w, g), re(k, g), re(M), g && zt(() => {
697
- h && (A || (A = Zt(i, Bt, { duration: (
696
+ h || (re(V, g), re(A, g), re(F, g), re(M), g && zt(() => {
697
+ h && (b || (b = Zt(i, Bt, { duration: (
698
698
  /*duration*/
699
699
  n[2]
700
- ) }, !0)), A.run(1));
700
+ ) }, !0)), b.run(1));
701
701
  }), h = !0);
702
702
  },
703
703
  o(g) {
704
- me(I, g), me(w, g), me(k, g), me(M), g && (A || (A = Zt(i, Bt, { duration: (
704
+ me(V, g), me(A, g), me(F, g), me(M), g && (b || (b = Zt(i, Bt, { duration: (
705
705
  /*duration*/
706
706
  n[2]
707
- ) }, !1)), A.run(0)), h = !1;
707
+ ) }, !1)), b.run(0)), h = !1;
708
708
  },
709
709
  d(g) {
710
- g && ce(t), I && I.d(g), w && w.d(g), k && k.d(g), q[x].d(), n[21](null), ue(), g && A && A.end(), n[23](null), S = !1, Dn(F);
710
+ g && ce(t), V.d(g), A.d(g), F.d(g), q[x].d(), n[21](null), ue(), g && b && b.end(), n[23](null), S = !1, Dn(Z);
711
711
  }
712
712
  };
713
713
  }
@@ -715,7 +715,7 @@ function ui(n) {
715
715
  let t, i;
716
716
  return {
717
717
  c() {
718
- t = Z("img"), ut(t.src, i = oi) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
718
+ t = z("img"), ut(t.src, i = oi) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
719
719
  },
720
720
  m(o, a) {
721
721
  le(o, t, a);
@@ -730,7 +730,7 @@ function fi(n) {
730
730
  let t, i;
731
731
  return {
732
732
  c() {
733
- t = Z("img"), ut(t.src, i = `${/*assetsurl*/
733
+ t = z("img"), ut(t.src, i = `${/*assetsurl*/
734
734
  n[3]}/set-timeout-icon.png`) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
735
735
  },
736
736
  m(o, a) {
@@ -777,7 +777,7 @@ function pi(n) {
777
777
  ), o;
778
778
  return {
779
779
  c() {
780
- t = Z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationTitle");
780
+ t = z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationTitle");
781
781
  },
782
782
  m(a, r) {
783
783
  le(a, t, r), R(t, o);
@@ -802,7 +802,7 @@ function di(n) {
802
802
  ) + "";
803
803
  return {
804
804
  c() {
805
- t = Z("span"), d(t, "class", "CashierSessionExpirationText");
805
+ t = z("span"), d(t, "class", "CashierSessionExpirationText");
806
806
  },
807
807
  m(o, a) {
808
808
  le(o, t, a), t.innerHTML = i;
@@ -836,10 +836,10 @@ function hi(n) {
836
836
  ), a = o || Ti(n);
837
837
  return {
838
838
  c() {
839
- a && a.c();
839
+ a.c();
840
840
  },
841
841
  m(r, p) {
842
- a && a.m(r, p), t = !0;
842
+ a.m(r, p), t = !0;
843
843
  },
844
844
  p(r, p) {
845
845
  o ? o.p && (!t || p[0] & /*$$scope*/
@@ -860,7 +860,7 @@ function hi(n) {
860
860
  r[19]
861
861
  ),
862
862
  tn
863
- ) : a && a.p && (!t || p[0] & /*$_*/
863
+ ) : a.p && (!t || p[0] & /*$_*/
864
864
  256) && a.p(r, t ? p : [-1, -1]);
865
865
  },
866
866
  i(r) {
@@ -870,7 +870,7 @@ function hi(n) {
870
870
  me(a, r), t = !1;
871
871
  },
872
872
  d(r) {
873
- a && a.d(r);
873
+ a.d(r);
874
874
  }
875
875
  };
876
876
  }
@@ -878,23 +878,23 @@ function gi(n) {
878
878
  let t, i, o, a, r, p = (
879
879
  /*$_*/
880
880
  n[8]("sessionExpirationLoadingButton") + ""
881
- ), D;
881
+ ), v;
882
882
  return {
883
883
  c() {
884
- t = Z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = Z("span"), D = Ve(p), d(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"), d(o, "fill", "white"), d(i, "class", "CashierSessionExpirationButtonSpinner"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "14"), d(i, "viewBox", "0 0 15 14"), d(i, "fill", "none"), d(r, "class", "CashierSessionExpirationButtonText");
884
+ t = z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = z("span"), v = Ve(p), d(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"), d(o, "fill", "white"), d(i, "class", "CashierSessionExpirationButtonSpinner"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "14"), d(i, "viewBox", "0 0 15 14"), d(i, "fill", "none"), d(r, "class", "CashierSessionExpirationButtonText");
885
885
  },
886
- m(L, y) {
887
- le(L, t, y), R(t, i), R(i, o), R(t, a), R(t, r), R(r, D);
886
+ m(D, y) {
887
+ le(D, t, y), R(t, i), R(i, o), R(t, a), R(t, r), R(r, v);
888
888
  },
889
- p(L, y) {
889
+ p(D, y) {
890
890
  y[0] & /*$_*/
891
891
  256 && p !== (p = /*$_*/
892
- L[8]("sessionExpirationLoadingButton") + "") && qe(D, p);
892
+ D[8]("sessionExpirationLoadingButton") + "") && qe(v, p);
893
893
  },
894
894
  i: ct,
895
895
  o: ct,
896
- d(L) {
897
- L && ce(t);
896
+ d(D) {
897
+ D && ce(t);
898
898
  }
899
899
  };
900
900
  }
@@ -905,7 +905,7 @@ function Ti(n) {
905
905
  ), o;
906
906
  return {
907
907
  c() {
908
- t = Z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationButtonText");
908
+ t = z("span"), o = Ve(i), d(t, "class", "CashierSessionExpirationButtonText");
909
909
  },
910
910
  m(a, r) {
911
911
  le(a, t, r), R(t, o);
@@ -956,22 +956,22 @@ function wi(n, t, i) {
956
956
  Nn(n, Un, (l) => i(8, o = l));
957
957
  let { $$slots: a = {}, $$scope: r } = t;
958
958
  _t.extend(zn);
959
- let { clientstyling: p = "" } = t, { clientstylingurl: D = "" } = t, { width: L } = t, { height: y } = t, { duration: P = 200 } = t, { assetsurl: pe = "" } = t, { lang: ie = "en" } = t, { translationurl: G = "" } = t, { endpoint: O } = t, { currency: x } = t, { customerid: M } = t, { selectedpaymentmethodname: ue } = t, A, h = !1, S = !1, F, J, V, I, $;
959
+ let { clientstyling: p = "" } = t, { clientstylingurl: v = "" } = t, { width: D } = t, { height: y } = t, { duration: L = 200 } = t, { assetsurl: pe = "" } = t, { lang: ie = "en" } = t, { translationurl: _ = "" } = t, { endpoint: O } = t, { currency: x } = t, { customerid: M } = t, { selectedpaymentmethodname: ue } = t, b, h = !1, S = !1, Z, G, J, V, $;
960
960
  const oe = (l) => {
961
- l.data.type === "StartSessionCountdown" && ($ = l.data.xPaymentSessionToken, I = l.data.paymentMethodName, ee());
962
- }, w = (l) => {
961
+ l.data.type === "StartSessionCountdown" && ($ = l.data.xPaymentSessionToken, V = l.data.paymentMethodName, ee());
962
+ }, A = (l) => {
963
963
  try {
964
964
  return JSON.parse(atob(l.split(".")[1]));
965
- } catch (f) {
965
+ } catch {
966
966
  return null;
967
967
  }
968
968
  }, ee = () => {
969
969
  i(5, h = !1);
970
- const l = w($);
971
- l && (J = l == null ? void 0 : l.exp, i(7, F = J), V && clearInterval(V), V = setInterval(
970
+ const l = A($);
971
+ l && (G = l?.exp, i(7, Z = G), J && clearInterval(J), J = setInterval(
972
972
  () => {
973
973
  const f = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
974
- i(7, F = J - f), F <= Si && i(5, h = !0), f >= J && (i(7, F = 0), i(5, h = !1), clearInterval(V), window.postMessage({ type: "SessionExpired" }, window.location.href));
974
+ i(7, Z = G - f), Z <= Si && i(5, h = !0), f >= G && (i(7, Z = 0), i(5, h = !1), clearInterval(J), window.postMessage({ type: "SessionExpired" }, window.location.href));
975
975
  },
976
976
  1e3
977
977
  ));
@@ -984,7 +984,7 @@ function wi(n, t, i) {
984
984
  mode: "cors",
985
985
  headers: f,
986
986
  body: JSON.stringify({
987
- PaymentMethodName: I || ue,
987
+ PaymentMethodName: V || ue,
988
988
  Currency: x,
989
989
  XPaymentSessionToken: $
990
990
  })
@@ -992,11 +992,11 @@ function wi(n, t, i) {
992
992
  fetch(l, K).then((E) => E.json()).then((E) => {
993
993
  $ = E.XPaymentSessionToken, ee();
994
994
  }).finally(() => i(6, S = !1));
995
- }, k = (l) => {
995
+ }, F = (l) => {
996
996
  const f = l.currentTarget;
997
997
  l.target === f && X();
998
998
  }, ge = () => {
999
- fetch(G).then((f) => f.json()).then((f) => {
999
+ fetch(_).then((f) => f.json()).then((f) => {
1000
1000
  Object.keys(f).forEach((K) => {
1001
1001
  Gt(K, f[K]);
1002
1002
  });
@@ -1011,13 +1011,13 @@ function wi(n, t, i) {
1011
1011
  Hn(ie);
1012
1012
  }, Te = () => {
1013
1013
  let l = document.createElement("style");
1014
- l.innerHTML = p, A.appendChild(l);
1014
+ l.innerHTML = p, b.appendChild(l);
1015
1015
  }, g = () => {
1016
- let l = new URL(D), f = document.createElement("style");
1016
+ let l = new URL(v), f = document.createElement("style");
1017
1017
  fetch(l.href).then((K) => K.text()).then((K) => {
1018
1018
  f.innerHTML = K, setTimeout(
1019
1019
  () => {
1020
- A.appendChild(f);
1020
+ b.appendChild(f);
1021
1021
  },
1022
1022
  1
1023
1023
  );
@@ -1026,57 +1026,57 @@ function wi(n, t, i) {
1026
1026
  Mn(() => (window.addEventListener("message", oe, !1), () => {
1027
1027
  window.removeEventListener("message", oe);
1028
1028
  })), kn(() => {
1029
- clearInterval(V);
1029
+ clearInterval(J);
1030
1030
  });
1031
- function b(l) {
1031
+ function w(l) {
1032
1032
  Wt[l ? "unshift" : "push"](() => {
1033
- A = l, i(4, A);
1033
+ b = l, i(4, b);
1034
1034
  });
1035
1035
  }
1036
1036
  function fe() {
1037
- L = this.clientWidth, y = this.clientHeight, i(0, L), i(1, y);
1037
+ D = this.clientWidth, y = this.clientHeight, i(0, D), i(1, y);
1038
1038
  }
1039
1039
  function C(l) {
1040
1040
  Wt[l ? "unshift" : "push"](() => {
1041
- A = l, i(4, A);
1041
+ b = l, i(4, b);
1042
1042
  });
1043
1043
  }
1044
1044
  return n.$$set = (l) => {
1045
- "clientstyling" in l && i(11, p = l.clientstyling), "clientstylingurl" in l && i(12, D = l.clientstylingurl), "width" in l && i(0, L = l.width), "height" in l && i(1, y = l.height), "duration" in l && i(2, P = l.duration), "assetsurl" in l && i(3, pe = l.assetsurl), "lang" in l && i(13, ie = l.lang), "translationurl" in l && i(14, G = l.translationurl), "endpoint" in l && i(15, O = l.endpoint), "currency" in l && i(16, x = l.currency), "customerid" in l && i(17, M = l.customerid), "selectedpaymentmethodname" in l && i(18, ue = l.selectedpaymentmethodname), "$$scope" in l && i(19, r = l.$$scope);
1045
+ "clientstyling" in l && i(11, p = l.clientstyling), "clientstylingurl" in l && i(12, v = l.clientstylingurl), "width" in l && i(0, D = l.width), "height" in l && i(1, y = l.height), "duration" in l && i(2, L = l.duration), "assetsurl" in l && i(3, pe = l.assetsurl), "lang" in l && i(13, ie = l.lang), "translationurl" in l && i(14, _ = l.translationurl), "endpoint" in l && i(15, O = l.endpoint), "currency" in l && i(16, x = l.currency), "customerid" in l && i(17, M = l.customerid), "selectedpaymentmethodname" in l && i(18, ue = l.selectedpaymentmethodname), "$$scope" in l && i(19, r = l.$$scope);
1046
1046
  }, n.$$.update = () => {
1047
1047
  n.$$.dirty[0] & /*lang*/
1048
1048
  8192 && ie && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1049
- 2064 && p && A && Te(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1050
- 4112 && D && A && g(), n.$$.dirty[0] & /*translationurl*/
1051
- 16384 && G && ge();
1049
+ 2064 && p && b && Te(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1050
+ 4112 && v && b && g(), n.$$.dirty[0] & /*translationurl*/
1051
+ 16384 && _ && ge();
1052
1052
  }, [
1053
- L,
1053
+ D,
1054
1054
  y,
1055
- P,
1055
+ L,
1056
1056
  pe,
1057
- A,
1057
+ b,
1058
1058
  h,
1059
1059
  S,
1060
- F,
1060
+ Z,
1061
1061
  o,
1062
1062
  X,
1063
- k,
1063
+ F,
1064
1064
  p,
1065
- D,
1065
+ v,
1066
1066
  ie,
1067
- G,
1067
+ _,
1068
1068
  O,
1069
1069
  x,
1070
1070
  M,
1071
1071
  ue,
1072
1072
  r,
1073
1073
  a,
1074
- b,
1074
+ w,
1075
1075
  fe,
1076
1076
  C
1077
1077
  ];
1078
1078
  }
1079
- class bi extends An {
1079
+ class yi extends An {
1080
1080
  constructor(t) {
1081
1081
  super(), Cn(
1082
1082
  this,
@@ -1175,7 +1175,7 @@ class bi extends An {
1175
1175
  this.$$set({ selectedpaymentmethodname: t }), Y();
1176
1176
  }
1177
1177
  }
1178
- On(bi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
1178
+ On(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
1179
1179
  export {
1180
- bi as default
1180
+ yi as default
1181
1181
  };