@everymatrix/cashier-page 1.54.11 → 1.55.0

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 (45) hide show
  1. package/components/{CashierConfirmModal-T9FhMxP2.js → CashierConfirmModal-Bho8FqJK.js} +32 -32
  2. package/components/{CashierConfirmModal-Bop0eOiK.js → CashierConfirmModal-h87-4Uqk.js} +32 -32
  3. package/components/{CashierError-CXr1Ga3A.js → CashierError-B6UnQRtt.js} +342 -340
  4. package/components/{CashierError-pt2isP4C.cjs → CashierError-Dj9dAyT_.cjs} +3 -3
  5. package/components/{CashierError-D3O2fglb.js → CashierError-R8ZhIjyI.js} +342 -340
  6. package/components/{CashierHeader-CI7jIwvA.js → CashierHeader-CGdNSxx6.js} +42 -42
  7. package/components/{CashierHeader-CYvR5CZu.cjs → CashierHeader-Ckcwhr6m.cjs} +1 -1
  8. package/components/{CashierHeader-DXoV0-sU.js → CashierHeader-siQceHGX.js} +44 -44
  9. package/components/{CashierIframeRedirect-DZRW06O3.js → CashierIframeRedirect-BJdtHTt_.js} +32 -32
  10. package/components/{CashierIframeRedirect-DJX1MABE.cjs → CashierIframeRedirect-C7zvMq6i.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-Bj6yzWbz.js → CashierIframeRedirect-Cf280zGs.js} +33 -33
  12. package/components/{CashierMethodDetails-WRu0moNB.js → CashierMethodDetails-0n7uERIs.js} +63 -63
  13. package/components/{CashierMethodDetails-BHM-R2f6.js → CashierMethodDetails-Bh0qCR4w.js} +63 -63
  14. package/components/{CashierMethodDetails-BL4YJCfG.cjs → CashierMethodDetails-Bs5PGaZC.cjs} +1 -1
  15. package/components/CashierMethodsList-C8rrtr0q.cjs +1 -0
  16. package/components/CashierMethodsList-CNZycJM8.js +718 -0
  17. package/components/CashierMethodsList-DIGc9AUv.js +707 -0
  18. package/components/{CashierModal-DnFkgCZP.js → CashierModal-XEf2DPsH.js} +31 -31
  19. package/components/{CashierModal-CZ_PAOXO.js → CashierModal-_JYkOwJz.js} +37 -37
  20. package/components/{CashierNotifications-BCI1m1DC.js → CashierNotifications-Dx7SHS2Y.js} +18 -18
  21. package/components/{CashierNotifications-u0zBDLtX.js → CashierNotifications-n-WNsBs_.js} +19 -19
  22. package/components/{CashierPage-SzTvnTYs.js → CashierPage-CUsOGi4E.js} +81 -77
  23. package/components/{CashierPage-CQnO9X1E.cjs → CashierPage-HjIA5R5P.cjs} +1 -1
  24. package/components/{CashierPage-CEppzuGk.js → CashierPage-Z3s-AE-W.js} +83 -79
  25. package/components/{CashierReceiptPage-CrsgQKKv.js → CashierReceiptPage-CS5M5RZ6.js} +76 -76
  26. package/components/{CashierReceiptPage-BkkEn2jf.cjs → CashierReceiptPage-DZyFyBqS.cjs} +1 -1
  27. package/components/{CashierReceiptPage-BpeCx1F0.js → CashierReceiptPage-DzQqg8nv.js} +76 -76
  28. package/components/{CashierSessionExpirationModal-BVxXNQGd.js → CashierSessionExpirationModal-CBmx5SD7.js} +549 -508
  29. package/components/{CashierSessionExpirationModal-Chn_bWCV.js → CashierSessionExpirationModal-CXDh6poB.js} +545 -504
  30. package/components/CashierSessionExpirationModal-CdyR3b34.cjs +2 -0
  31. package/components/{CashierSpinner-C4PbqmeQ.js → CashierSpinner-CQi2Ol7j.js} +25 -25
  32. package/components/{CashierSpinner-BjkjegeG.js → CashierSpinner-CwTAvuPD.js} +26 -26
  33. package/components/{CashierVerifications-B-jBO3Nx.js → CashierVerifications-C1NppS_0.js} +26 -26
  34. package/components/{CashierVerifications-C8WlwUzI.js → CashierVerifications-Dj7MJocZ.js} +72 -72
  35. package/components/{CashierVerifications-BD1cym0W.cjs → CashierVerifications-oj-eHRhw.cjs} +1 -1
  36. package/components/{CashierVideoModal-CeguehvU.js → CashierVideoModal-C8etvcxP.js} +33 -33
  37. package/components/{CashierVideoModal-CEfQgtP6.js → CashierVideoModal-CgS8X4Od.js} +37 -37
  38. package/es2015/cashier-page.cjs +1 -1
  39. package/es2015/cashier-page.js +1 -1
  40. package/esnext/cashier-page.js +1 -1
  41. package/package.json +1 -1
  42. package/components/CashierMethodsList-CZB8pJTu.cjs +0 -1
  43. package/components/CashierMethodsList-DaQJXx57.js +0 -656
  44. package/components/CashierMethodsList-YiD-AEvx.js +0 -667
  45. package/components/CashierSessionExpirationModal-Wrh9-b3V.cjs +0 -2
@@ -1,7 +1,7 @@
1
- import { S as An, b as Cn, s as On, f as Y, c as xn, e as le, t as me, g as re, k as rn, l as ln, m as ce, x as cn, w as Rn, H as Nn, V as Mn, d as Fe, r as kn, T as zt, F as Ht, y as Ve, u as Be, h as _e, j as Je, o as x, U as vn, B as Zt, p as Z, z as qe, q as Le, v as d, A as Wt, n as ct, N as Ft, C as ut, D as Dn } from "./CashierConfirmModal-T9FhMxP2.js";
2
- import { f as Bt } from "./CashierModal-CZ_PAOXO.js";
3
- import { a as Ln, i as Pn, $ as In, b as Un } from "./CashierError-CXr1Ga3A.js";
4
- import { d as _t, u as zn } from "./CashierMethodDetails-BHM-R2f6.js";
1
+ import { S as An, b as Cn, f as X, c as On, a as Rn, d as xn, x as an, k as ue, t as ce, p as de, q as ln, v as fe, w as Nn, G as Mn, V as kn, e as Je, g as F, y as je, h as Pe, j as p, F as zt, l as x, T as vn, A as Ht, z as Xe, u as Ve, m as Ge, o as qe, B as cn, U as Zt, r as Dn, C as Wt, O as Ft, n as ut, D as ft } 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-Bh0qCR4w.js";
5
5
  function Jt(n, t) {
6
6
  Ln(n, t);
7
7
  }
@@ -10,7 +10,7 @@ function Hn(n) {
10
10
  fallbackLocale: "en"
11
11
  }), In.set(n);
12
12
  }
13
- const Gt = {
13
+ const Vt = {
14
14
  en: {
15
15
  sessionExpirationHeader: "Session Warning",
16
16
  sessionExpirationTitle: "Your session is about to expire!",
@@ -36,79 +36,79 @@ const Gt = {
36
36
  /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
37
37
  const {
38
38
  entries: un,
39
- setPrototypeOf: Vt,
39
+ setPrototypeOf: Gt,
40
40
  isFrozen: Zn,
41
41
  getPrototypeOf: Wn,
42
42
  getOwnPropertyDescriptor: Fn
43
43
  } = Object;
44
44
  let {
45
- freeze: W,
46
- seal: j,
45
+ freeze: B,
46
+ seal: K,
47
47
  create: fn
48
48
  } = Object, {
49
- apply: ft,
50
- construct: mt
49
+ apply: mt,
50
+ construct: pt
51
51
  } = typeof Reflect != "undefined" && Reflect;
52
- W || (W = function(t) {
52
+ B || (B = function(t) {
53
53
  return t;
54
54
  });
55
- j || (j = function(t) {
55
+ K || (K = function(t) {
56
56
  return t;
57
57
  });
58
- ft || (ft = function(t, i, o) {
58
+ mt || (mt = function(t, i, o) {
59
59
  return t.apply(i, o);
60
60
  });
61
- mt || (mt = function(t, i) {
61
+ pt || (pt = 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), Ge = _(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 = Jn(TypeError);
65
- function _(n) {
64
+ const Be = G(Array.prototype.forEach), qt = G(Array.prototype.pop), Me = G(Array.prototype.push), Ye = G(String.prototype.toLowerCase), st = G(String.prototype.toString), Yt = G(String.prototype.match), ke = G(String.prototype.replace), Bn = G(String.prototype.indexOf), _n = G(String.prototype.trim), $ = G(Object.prototype.hasOwnProperty), W = G(RegExp.prototype.test), ve = Jn(TypeError);
65
+ function G(n) {
66
66
  return function(t) {
67
- for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), a = 1; a < i; a++)
68
- o[a - 1] = arguments[a];
69
- return ft(n, t, o);
67
+ for (var i = arguments.length, o = new Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++)
68
+ o[r - 1] = arguments[r];
69
+ return mt(n, t, o);
70
70
  };
71
71
  }
72
72
  function Jn(n) {
73
73
  return function() {
74
74
  for (var t = arguments.length, i = new Array(t), o = 0; o < t; o++)
75
75
  i[o] = arguments[o];
76
- return mt(n, i);
76
+ return pt(n, i);
77
77
  };
78
78
  }
79
- function m(n, t) {
80
- let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ge;
81
- Vt && Vt(n, null);
79
+ function f(n, t) {
80
+ let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ye;
81
+ Gt && Gt(n, null);
82
82
  let o = t.length;
83
83
  for (; o--; ) {
84
- let a = t[o];
85
- if (typeof a == "string") {
86
- const r = i(a);
87
- r !== a && (Zn(t) || (t[o] = r), a = r);
84
+ let r = t[o];
85
+ if (typeof r == "string") {
86
+ const l = i(r);
87
+ l !== r && (Zn(t) || (t[o] = l), r = l);
88
88
  }
89
- n[a] = !0;
89
+ n[r] = !0;
90
90
  }
91
91
  return n;
92
92
  }
93
- function Gn(n) {
93
+ function Vn(n) {
94
94
  for (let t = 0; t < n.length; t++)
95
- Q(n, t) || (n[t] = null);
95
+ $(n, t) || (n[t] = null);
96
96
  return n;
97
97
  }
98
- function he(n) {
98
+ function we(n) {
99
99
  const t = fn(null);
100
100
  for (const [i, o] of un(n))
101
- Q(n, i) && (Array.isArray(o) ? t[i] = Gn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = he(o) : t[i] = o);
101
+ $(n, i) && (Array.isArray(o) ? t[i] = Vn(o) : o && typeof o == "object" && o.constructor === Object ? t[i] = we(o) : t[i] = o);
102
102
  return t;
103
103
  }
104
- function ve(n, t) {
104
+ function De(n, t) {
105
105
  for (; n !== null; ) {
106
106
  const o = Fn(n, t);
107
107
  if (o) {
108
108
  if (o.get)
109
- return _(o.get);
109
+ return G(o.get);
110
110
  if (typeof o.value == "function")
111
- return _(o.value);
111
+ return G(o.value);
112
112
  }
113
113
  n = Wn(n);
114
114
  }
@@ -117,13 +117,13 @@ 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 = 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"]), rt = 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"]), at = 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"]), Gn = 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"]), lt = 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"]), qn = B(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xt = B(["#text"]), Kt = 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"]), ct = 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"]), Qt = 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"]), Yn = K(/\{\{[\w\W]*|[\w\W]*\}\}/gm), jn = K(/<%[\w\W]*|[\w\W]*%>/gm), Xn = K(/\${[\w\W]*}/gm), Kn = K(/^data-[\-\w.\u00B7-\uFFFF]/), Qn = K(/^aria-[\-\w]+$/), mn = K(
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
- ), $n = j(/^(?:\w+script|data):/i), ei = j(
123
+ ), $n = K(/^(?:\w+script|data):/i), ei = K(
124
124
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
125
125
  // eslint-disable-line no-control-regex
126
- ), pn = j(/^html$/i), ti = j(/^[a-z][.\w]*(-[.\w]+)+$/i);
126
+ ), pn = K(/^html$/i), ti = K(/^[a-z][.\w]*(-[.\w]+)+$/i);
127
127
  var $t = /* @__PURE__ */ Object.freeze({
128
128
  __proto__: null,
129
129
  MUSTACHE_EXPR: Yn,
@@ -137,86 +137,95 @@ var $t = /* @__PURE__ */ Object.freeze({
137
137
  DOCTYPE_NAME: pn,
138
138
  CUSTOM_ELEMENT: ti
139
139
  });
140
- const De = {
140
+ const Le = {
141
141
  element: 1,
142
+ attribute: 2,
142
143
  text: 3,
144
+ cdataSection: 4,
145
+ entityReference: 5,
146
+ // Deprecated
147
+ entityNode: 6,
143
148
  // Deprecated
144
149
  progressingInstruction: 7,
145
150
  comment: 8,
146
- document: 9
151
+ document: 9,
152
+ documentType: 10,
153
+ documentFragment: 11,
154
+ notation: 12
155
+ // Deprecated
147
156
  }, ni = function() {
148
157
  return typeof window == "undefined" ? null : window;
149
158
  }, ii = function(t, i) {
150
159
  if (typeof t != "object" || typeof t.createPolicy != "function")
151
160
  return null;
152
161
  let o = null;
153
- const a = "data-tt-policy-suffix";
154
- i && i.hasAttribute(a) && (o = i.getAttribute(a));
155
- const r = "dompurify" + (o ? "#" + o : "");
162
+ const r = "data-tt-policy-suffix";
163
+ i && i.hasAttribute(r) && (o = i.getAttribute(r));
164
+ const l = "dompurify" + (o ? "#" + o : "");
156
165
  try {
157
- return t.createPolicy(r, {
158
- createHTML(p) {
159
- return p;
166
+ return t.createPolicy(l, {
167
+ createHTML(m) {
168
+ return m;
160
169
  },
161
- createScriptURL(p) {
162
- return p;
170
+ createScriptURL(m) {
171
+ return m;
163
172
  }
164
173
  });
165
- } catch (p) {
166
- return console.warn("TrustedTypes policy " + r + " could not be created."), null;
174
+ } catch (m) {
175
+ return console.warn("TrustedTypes policy " + l + " could not be created."), null;
167
176
  }
168
177
  };
169
178
  function dn() {
170
179
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ni();
171
180
  const t = (u) => dn(u);
172
- if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== De.document)
181
+ if (t.version = "3.1.6", t.removed = [], !n || !n.document || n.document.nodeType !== Le.document)
173
182
  return t.isSupported = !1, t;
174
183
  let {
175
184
  document: i
176
185
  } = n;
177
- const o = i, a = o.currentScript, {
178
- DocumentFragment: r,
179
- HTMLTemplateElement: p,
180
- Node: D,
181
- Element: L,
182
- NodeFilter: y,
183
- NamedNodeMap: P = n.NamedNodeMap || n.MozNamedAttrMap,
184
- HTMLFormElement: pe,
185
- DOMParser: ie,
186
- trustedTypes: J
187
- } = n, O = L.prototype, R = ve(O, "cloneNode"), M = ve(O, "remove"), ue = ve(O, "nextSibling"), A = ve(O, "childNodes"), h = ve(O, "parentNode");
188
- if (typeof p == "function") {
186
+ const o = i, r = o.currentScript, {
187
+ DocumentFragment: l,
188
+ HTMLTemplateElement: m,
189
+ Node: L,
190
+ Element: P,
191
+ NodeFilter: b,
192
+ NamedNodeMap: I = n.NamedNodeMap || n.MozNamedAttrMap,
193
+ HTMLFormElement: he,
194
+ DOMParser: re,
195
+ trustedTypes: q
196
+ } = n, R = P.prototype, N = De(R, "cloneNode"), k = De(R, "remove"), me = De(R, "nextSibling"), A = De(R, "childNodes"), d = De(R, "parentNode");
197
+ if (typeof m == "function") {
189
198
  const u = i.createElement("template");
190
199
  u.content && u.content.ownerDocument && (i = u.content.ownerDocument);
191
200
  }
192
- let S, F = "";
201
+ let E, _ = "";
193
202
  const {
194
- implementation: G,
195
- createNodeIterator: V,
196
- createDocumentFragment: I,
197
- getElementsByTagName: $
203
+ implementation: Y,
204
+ createNodeIterator: j,
205
+ createDocumentFragment: U,
206
+ getElementsByTagName: ee
198
207
  } = i, {
199
- importNode: oe
208
+ importNode: te
200
209
  } = o;
201
- let w = {};
202
- t.isSupported = typeof un == "function" && typeof h == "function" && G && G.createHTMLDocument !== void 0;
210
+ let h = {};
211
+ t.isSupported = typeof un == "function" && typeof d == "function" && Y && Y.createHTMLDocument !== void 0;
203
212
  const {
204
- MUSTACHE_EXPR: ee,
205
- ERB_EXPR: X,
206
- TMPLIT_EXPR: k,
213
+ MUSTACHE_EXPR: ne,
214
+ ERB_EXPR: ie,
215
+ TMPLIT_EXPR: v,
207
216
  DATA_ATTR: ge,
208
- ARIA_ATTR: q,
217
+ ARIA_ATTR: H,
209
218
  IS_SCRIPT_OR_DATA: Te,
210
219
  ATTR_WHITESPACE: g,
211
- CUSTOM_ELEMENT: b
220
+ CUSTOM_ELEMENT: S
212
221
  } = $t;
213
222
  let {
214
- IS_ALLOWED_URI: fe
223
+ IS_ALLOWED_URI: pe
215
224
  } = $t, C = null;
216
- const l = m({}, [...jt, ...st, ...at, ...rt, ...Xt]);
217
- let f = null;
218
- const K = m({}, [...Kt, ...lt, ...Qt, ...We]);
219
- let E = Object.seal(fn(null, {
225
+ const Ie = f({}, [...jt, ...rt, ...at, ...lt, ...Xt]);
226
+ let O = null;
227
+ const Ue = f({}, [...Kt, ...ct, ...Qt, ..._e]);
228
+ let y = Object.seal(fn(null, {
220
229
  tagNameCheck: {
221
230
  writable: !0,
222
231
  configurable: !1,
@@ -235,82 +244,82 @@ function dn() {
235
244
  enumerable: !0,
236
245
  value: !1
237
246
  }
238
- })), 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;
247
+ })), a = null, w = null, Q = !0, J = !0, dt = !1, ht = !0, Se = !1, Ke = !0, Ee = !1, Qe = !1, $e = !1, ye = !1, ze = !1, He = !1, gt = !0, Tt = !1;
239
248
  const hn = "user-content-";
240
- let $e = !0, Oe = !1, we = {}, be = null;
241
- 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"]);
242
- let St = null;
243
- const wt = m({}, ["audio", "video", "img", "source", "image", "track"]);
244
- let et = null;
245
- 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";
246
- let ye = se, tt = !1, nt = null;
247
- const gn = m({}, [Ue, ze, se], ot);
249
+ let et = !0, Re = !1, be = {}, Ae = null;
250
+ const Et = f({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
251
+ let wt = null;
252
+ const St = f({}, ["audio", "video", "img", "source", "image", "track"]);
253
+ let tt = null;
254
+ const yt = f({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ze = "http://www.w3.org/1998/Math/MathML", We = "http://www.w3.org/2000/svg", ae = "http://www.w3.org/1999/xhtml";
255
+ let Ce = ae, nt = !1, it = null;
256
+ const gn = f({}, [Ze, We, ae], st);
248
257
  let xe = null;
249
258
  const Tn = ["application/xhtml+xml", "text/html"], En = "text/html";
250
- let N = null, Ae = null;
251
- const Sn = i.createElement("form"), yt = function(e) {
259
+ let M = null, Oe = null;
260
+ const wn = i.createElement("form"), bt = function(e) {
252
261
  return e instanceof RegExp || e instanceof Function;
253
- }, it = function() {
262
+ }, ot = function() {
254
263
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
255
- if (!(Ae && Ae === e)) {
256
- if ((!e || typeof e != "object") && (e = {}), e = he(e), xe = // eslint-disable-next-line unicorn/prefer-includes
257
- Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, N = xe === "application/xhtml+xml" ? ot : Ge, 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(
258
- he(bt),
264
+ if (!(Oe && Oe === e)) {
265
+ if ((!e || typeof e != "object") && (e = {}), e = we(e), xe = // eslint-disable-next-line unicorn/prefer-includes
266
+ Tn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? En : e.PARSER_MEDIA_TYPE, M = xe === "application/xhtml+xml" ? st : Ye, C = $(e, "ALLOWED_TAGS") ? f({}, e.ALLOWED_TAGS, M) : Ie, O = $(e, "ALLOWED_ATTR") ? f({}, e.ALLOWED_ATTR, M) : Ue, it = $(e, "ALLOWED_NAMESPACES") ? f({}, e.ALLOWED_NAMESPACES, st) : gn, tt = $(e, "ADD_URI_SAFE_ATTR") ? f(
267
+ we(yt),
259
268
  // eslint-disable-line indent
260
269
  e.ADD_URI_SAFE_ATTR,
261
270
  // eslint-disable-line indent
262
- N
271
+ M
263
272
  // eslint-disable-line indent
264
- ) : bt, St = Q(e, "ADD_DATA_URI_TAGS") ? m(
265
- he(wt),
273
+ ) : yt, wt = $(e, "ADD_DATA_URI_TAGS") ? f(
274
+ we(St),
266
275
  // eslint-disable-line indent
267
276
  e.ADD_DATA_URI_TAGS,
268
277
  // eslint-disable-line indent
269
- N
278
+ M
270
279
  // eslint-disable-line indent
271
- ) : 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
+ ) : St, Ae = $(e, "FORBID_CONTENTS") ? f({}, e.FORBID_CONTENTS, M) : Et, a = $(e, "FORBID_TAGS") ? f({}, e.FORBID_TAGS, M) : {}, w = $(e, "FORBID_ATTR") ? f({}, e.FORBID_ATTR, M) : {}, be = $(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Q = e.ALLOW_ARIA_ATTR !== !1, J = e.ALLOW_DATA_ATTR !== !1, dt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Se = e.SAFE_FOR_TEMPLATES || !1, Ke = e.SAFE_FOR_XML !== !1, Ee = e.WHOLE_DOCUMENT || !1, ye = e.RETURN_DOM || !1, ze = e.RETURN_DOM_FRAGMENT || !1, He = e.RETURN_TRUSTED_TYPE || !1, $e = e.FORCE_BODY || !1, gt = e.SANITIZE_DOM !== !1, Tt = e.SANITIZE_NAMED_PROPS || !1, et = e.KEEP_CONTENT !== !1, Re = e.IN_PLACE || !1, pe = e.ALLOWED_URI_REGEXP || mn, Ce = e.NAMESPACE || ae, y = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (y.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && bt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (y.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Se && (J = !1), ze && (ye = !0), be && (C = f({}, Xt), O = [], be.html === !0 && (f(C, jt), f(O, Kt)), be.svg === !0 && (f(C, rt), f(O, ct), f(O, _e)), be.svgFilters === !0 && (f(C, at), f(O, ct), f(O, _e)), be.mathMl === !0 && (f(C, lt), f(O, Qt), f(O, _e))), e.ADD_TAGS && (C === Ie && (C = we(C)), f(C, e.ADD_TAGS, M)), e.ADD_ATTR && (O === Ue && (O = we(O)), f(O, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && f(tt, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (Ae === Et && (Ae = we(Ae)), f(Ae, e.FORBID_CONTENTS, M)), et && (C["#text"] = !0), Ee && f(C, ["html", "head", "body"]), C.table && (f(C, ["tbody"]), delete a.tbody), e.TRUSTED_TYPES_POLICY) {
272
281
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
273
- throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
282
+ throw ve('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
274
283
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
275
- throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
276
- S = e.TRUSTED_TYPES_POLICY, F = S.createHTML("");
284
+ throw ve('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
285
+ E = e.TRUSTED_TYPES_POLICY, _ = E.createHTML("");
277
286
  } else
278
- S === void 0 && (S = ii(J, a)), S !== null && typeof F == "string" && (F = S.createHTML(""));
279
- W && W(e), Ae = e;
287
+ E === void 0 && (E = ii(q, r)), E !== null && typeof _ == "string" && (_ = E.createHTML(""));
288
+ B && B(e), Oe = e;
280
289
  }
281
- }, At = m({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = m({}, ["foreignobject", "annotation-xml"]), wn = m({}, ["title", "style", "font", "a", "script"]), Ot = m({}, [...st, ...at, ...Vn]), xt = m({}, [...rt, ...qn]), bn = function(e) {
282
- let s = h(e);
290
+ }, At = f({}, ["mi", "mo", "mn", "ms", "mtext"]), Ct = f({}, ["foreignobject", "annotation-xml"]), Sn = f({}, ["title", "style", "font", "a", "script"]), Ot = f({}, [...rt, ...at, ...Gn]), Rt = f({}, [...lt, ...qn]), yn = function(e) {
291
+ let s = d(e);
283
292
  (!s || !s.tagName) && (s = {
284
- namespaceURI: ye,
293
+ namespaceURI: Ce,
285
294
  tagName: "template"
286
295
  });
287
- const c = Ge(e.tagName), T = Ge(s.tagName);
288
- return nt[e.namespaceURI] ? e.namespaceURI === ze ? s.namespaceURI === se ? c === "svg" : s.namespaceURI === Ue ? c === "svg" && (T === "annotation-xml" || At[T]) : !!Ot[c] : e.namespaceURI === Ue ? s.namespaceURI === se ? c === "math" : s.namespaceURI === ze ? c === "math" && Ct[T] : !!xt[c] : e.namespaceURI === se ? s.namespaceURI === ze && !Ct[T] || s.namespaceURI === Ue && !At[T] ? !1 : !xt[c] && (wn[c] || !Ot[c]) : !!(xe === "application/xhtml+xml" && nt[e.namespaceURI]) : !1;
289
- }, te = function(e) {
290
- Ne(t.removed, {
296
+ const c = Ye(e.tagName), T = Ye(s.tagName);
297
+ return it[e.namespaceURI] ? e.namespaceURI === We ? s.namespaceURI === ae ? c === "svg" : s.namespaceURI === Ze ? c === "svg" && (T === "annotation-xml" || At[T]) : !!Ot[c] : e.namespaceURI === Ze ? s.namespaceURI === ae ? c === "math" : s.namespaceURI === We ? c === "math" && Ct[T] : !!Rt[c] : e.namespaceURI === ae ? s.namespaceURI === We && !Ct[T] || s.namespaceURI === Ze && !At[T] ? !1 : !Rt[c] && (Sn[c] || !Ot[c]) : !!(xe === "application/xhtml+xml" && it[e.namespaceURI]) : !1;
298
+ }, oe = function(e) {
299
+ Me(t.removed, {
291
300
  element: e
292
301
  });
293
302
  try {
294
- h(e).removeChild(e);
303
+ d(e).removeChild(e);
295
304
  } catch (s) {
296
- M(e);
305
+ k(e);
297
306
  }
298
- }, He = function(e, s) {
307
+ }, Fe = function(e, s) {
299
308
  try {
300
- Ne(t.removed, {
309
+ Me(t.removed, {
301
310
  attribute: s.getAttributeNode(e),
302
311
  from: s
303
312
  });
304
313
  } catch (c) {
305
- Ne(t.removed, {
314
+ Me(t.removed, {
306
315
  attribute: null,
307
316
  from: s
308
317
  });
309
318
  }
310
- if (s.removeAttribute(e), e === "is" && !f[e])
311
- if (Se || Pe)
319
+ if (s.removeAttribute(e), e === "is" && !O[e])
320
+ if (ye || ze)
312
321
  try {
313
- te(s);
322
+ oe(s);
314
323
  } catch (c) {
315
324
  }
316
325
  else
@@ -318,94 +327,94 @@ function dn() {
318
327
  s.setAttribute(e, "");
319
328
  } catch (c) {
320
329
  }
321
- }, Rt = function(e) {
330
+ }, xt = function(e) {
322
331
  let s = null, c = null;
323
- if (Qe)
332
+ if ($e)
324
333
  e = "<remove></remove>" + e;
325
334
  else {
326
- const v = Yt(e, /^[\r\n\t ]+/);
327
- c = v && v[0];
335
+ const D = Yt(e, /^[\r\n\t ]+/);
336
+ c = D && D[0];
328
337
  }
329
- xe === "application/xhtml+xml" && ye === se && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
330
- const T = S ? S.createHTML(e) : e;
331
- if (ye === se)
338
+ xe === "application/xhtml+xml" && Ce === ae && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
339
+ const T = E ? E.createHTML(e) : e;
340
+ if (Ce === ae)
332
341
  try {
333
- s = new ie().parseFromString(T, xe);
334
- } catch (v) {
342
+ s = new re().parseFromString(T, xe);
343
+ } catch (D) {
335
344
  }
336
345
  if (!s || !s.documentElement) {
337
- s = G.createDocument(ye, "template", null);
346
+ s = Y.createDocument(Ce, "template", null);
338
347
  try {
339
- s.documentElement.innerHTML = tt ? F : T;
340
- } catch (v) {
348
+ s.documentElement.innerHTML = nt ? _ : T;
349
+ } catch (D) {
341
350
  }
342
351
  }
343
- const U = s.body || s.documentElement;
344
- 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 z = s.body || s.documentElement;
353
+ return e && c && z.insertBefore(i.createTextNode(c), z.childNodes[0] || null), Ce === ae ? ee.call(s, Ee ? "html" : "body")[0] : Ee ? s.documentElement : z;
345
354
  }, Nt = function(e) {
346
- return V.call(
355
+ return j.call(
347
356
  e.ownerDocument || e,
348
357
  e,
349
358
  // eslint-disable-next-line no-bitwise
350
- y.SHOW_ELEMENT | y.SHOW_COMMENT | y.SHOW_TEXT | y.SHOW_PROCESSING_INSTRUCTION | y.SHOW_CDATA_SECTION,
359
+ b.SHOW_ELEMENT | b.SHOW_COMMENT | b.SHOW_TEXT | b.SHOW_PROCESSING_INSTRUCTION | b.SHOW_CDATA_SECTION,
351
360
  null
352
361
  );
353
362
  }, Mt = function(e) {
354
- 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 he && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof I) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
355
364
  }, kt = function(e) {
356
- return typeof D == "function" && e instanceof D;
357
- }, ae = function(e, s, c) {
358
- w[e] && Ze(w[e], (T) => {
359
- T.call(t, s, c, Ae);
365
+ return typeof L == "function" && e instanceof L;
366
+ }, le = function(e, s, c) {
367
+ h[e] && Be(h[e], (T) => {
368
+ T.call(t, s, c, Oe);
360
369
  });
361
370
  }, vt = function(e) {
362
371
  let s = null;
363
- if (ae("beforeSanitizeElements", e, null), Mt(e))
364
- return te(e), !0;
365
- const c = N(e.nodeName);
366
- if (ae("uponSanitizeElement", e, {
372
+ if (le("beforeSanitizeElements", e, null), Mt(e))
373
+ return oe(e), !0;
374
+ const c = M(e.nodeName);
375
+ if (le("uponSanitizeElement", e, {
367
376
  tagName: c,
368
377
  allowedTags: C
369
- }), 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))
370
- return te(e), !0;
371
- if (!C[c] || Ce[c]) {
372
- if (!Ce[c] && Lt(c) && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
378
+ }), e.hasChildNodes() && !kt(e.firstElementChild) && W(/<[/\w]/g, e.innerHTML) && W(/<[/\w]/g, e.textContent) || e.nodeType === Le.progressingInstruction || Ke && e.nodeType === Le.comment && W(/<[/\w]/g, e.data))
379
+ return oe(e), !0;
380
+ if (!C[c] || a[c]) {
381
+ if (!a[c] && Lt(c) && (y.tagNameCheck instanceof RegExp && W(y.tagNameCheck, c) || y.tagNameCheck instanceof Function && y.tagNameCheck(c)))
373
382
  return !1;
374
- if ($e && !be[c]) {
375
- const T = h(e) || e.parentNode, U = A(e) || e.childNodes;
376
- if (U && T) {
377
- const v = U.length;
378
- for (let B = v - 1; B >= 0; --B) {
379
- const ne = R(U[B], !0);
380
- ne.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(ne, ue(e));
383
+ if (et && !Ae[c]) {
384
+ const T = d(e) || e.parentNode, z = A(e) || e.childNodes;
385
+ if (z && T) {
386
+ const D = z.length;
387
+ for (let V = D - 1; V >= 0; --V) {
388
+ const se = N(z[V], !0);
389
+ se.__removalCount = (e.__removalCount || 0) + 1, T.insertBefore(se, me(e));
381
390
  }
382
391
  }
383
392
  }
384
- return te(e), !0;
393
+ return oe(e), !0;
385
394
  }
386
- 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) => {
387
- s = Me(s, T, " ");
388
- }), e.textContent !== s && (Ne(t.removed, {
395
+ return e instanceof P && !yn(e) || (c === "noscript" || c === "noembed" || c === "noframes") && W(/<\/no(script|embed|frames)/i, e.innerHTML) ? (oe(e), !0) : (Se && e.nodeType === Le.text && (s = e.textContent, Be([ne, ie, v], (T) => {
396
+ s = ke(s, T, " ");
397
+ }), e.textContent !== s && (Me(t.removed, {
389
398
  element: e.cloneNode()
390
- }), e.textContent = s)), ae("afterSanitizeElements", e, null), !1);
399
+ }), e.textContent = s)), le("afterSanitizeElements", e, null), !1);
391
400
  }, Dt = function(e, s, c) {
392
- if (gt && (s === "id" || s === "name") && (c in i || c in Sn))
401
+ if (gt && (s === "id" || s === "name") && (c in i || c in wn))
393
402
  return !1;
394
- if (!(je && !Ye[s] && H(ge, s))) {
395
- if (!(pt && H(q, s))) {
396
- if (!f[s] || Ye[s]) {
403
+ if (!(J && !w[s] && W(ge, s))) {
404
+ if (!(Q && W(H, s))) {
405
+ if (!O[s] || w[s]) {
397
406
  if (
398
407
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
399
408
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
400
409
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
401
- !(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) && (y.tagNameCheck instanceof RegExp && W(y.tagNameCheck, e) || y.tagNameCheck instanceof Function && y.tagNameCheck(e)) && (y.attributeNameCheck instanceof RegExp && W(y.attributeNameCheck, s) || y.attributeNameCheck instanceof Function && y.attributeNameCheck(s)) || // Alternative, second condition checks if it's an `is`-attribute, AND
402
411
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
403
- s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && H(E.tagNameCheck, c) || E.tagNameCheck instanceof Function && E.tagNameCheck(c)))
412
+ s === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && W(y.tagNameCheck, c) || y.tagNameCheck instanceof Function && y.tagNameCheck(c)))
404
413
  ) return !1;
405
- } else if (!et[s]) {
406
- if (!H(fe, Me(c, g, ""))) {
407
- if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Bn(c, "data:") === 0 && St[e])) {
408
- if (!(dt && !H(Te, Me(c, g, "")))) {
414
+ } else if (!tt[s]) {
415
+ if (!W(pe, ke(c, g, ""))) {
416
+ if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Bn(c, "data:") === 0 && wt[e])) {
417
+ if (!(dt && !W(Te, ke(c, g, "")))) {
409
418
  if (c)
410
419
  return !1;
411
420
  }
@@ -416,9 +425,9 @@ function dn() {
416
425
  }
417
426
  return !0;
418
427
  }, Lt = function(e) {
419
- return e !== "annotation-xml" && Yt(e, b);
428
+ return e !== "annotation-xml" && Yt(e, S);
420
429
  }, Pt = function(e) {
421
- ae("beforeSanitizeAttributes", e, null);
430
+ le("beforeSanitizeAttributes", e, null);
422
431
  const {
423
432
  attributes: s
424
433
  } = e;
@@ -428,118 +437,118 @@ function dn() {
428
437
  attrName: "",
429
438
  attrValue: "",
430
439
  keepAttr: !0,
431
- allowedAttributes: f
440
+ allowedAttributes: O
432
441
  };
433
442
  let T = s.length;
434
443
  for (; T--; ) {
435
- const U = s[T], {
436
- name: v,
437
- namespaceURI: B,
438
- value: ne
439
- } = U, Re = N(v);
440
- let z = v === "value" ? ne : _n(ne);
441
- if (c.attrName = Re, c.attrValue = z, c.keepAttr = !0, c.forceKeepAttr = void 0, ae("uponSanitizeAttribute", e, c), z = c.attrValue, Xe && H(/((--!?|])>)|<\/(style|title)/i, z)) {
442
- He(v, e);
444
+ const z = s[T], {
445
+ name: D,
446
+ namespaceURI: V,
447
+ value: se
448
+ } = z, Ne = M(D);
449
+ let Z = D === "value" ? se : _n(se);
450
+ if (c.attrName = Ne, c.attrValue = Z, c.keepAttr = !0, c.forceKeepAttr = void 0, le("uponSanitizeAttribute", e, c), Z = c.attrValue, Ke && W(/((--!?|])>)|<\/(style|title)/i, Z)) {
451
+ Fe(D, e);
443
452
  continue;
444
453
  }
445
- if (c.forceKeepAttr || (He(v, e), !c.keepAttr))
454
+ if (c.forceKeepAttr || (Fe(D, e), !c.keepAttr))
446
455
  continue;
447
- if (!ht && H(/\/>/i, z)) {
448
- He(v, e);
456
+ if (!ht && W(/\/>/i, Z)) {
457
+ Fe(D, e);
449
458
  continue;
450
459
  }
451
- Ee && Ze([ee, X, k], (Ut) => {
452
- z = Me(z, Ut, " ");
460
+ Se && Be([ne, ie, v], (Ut) => {
461
+ Z = ke(Z, Ut, " ");
453
462
  });
454
- const It = N(e.nodeName);
455
- if (Dt(It, Re, z)) {
456
- if (Tt && (Re === "id" || Re === "name") && (He(v, e), z = hn + z), S && typeof J == "object" && typeof J.getAttributeType == "function" && !B)
457
- switch (J.getAttributeType(It, Re)) {
463
+ const It = M(e.nodeName);
464
+ if (Dt(It, Ne, Z)) {
465
+ if (Tt && (Ne === "id" || Ne === "name") && (Fe(D, e), Z = hn + Z), E && typeof q == "object" && typeof q.getAttributeType == "function" && !V)
466
+ switch (q.getAttributeType(It, Ne)) {
458
467
  case "TrustedHTML": {
459
- z = S.createHTML(z);
468
+ Z = E.createHTML(Z);
460
469
  break;
461
470
  }
462
471
  case "TrustedScriptURL": {
463
- z = S.createScriptURL(z);
472
+ Z = E.createScriptURL(Z);
464
473
  break;
465
474
  }
466
475
  }
467
476
  try {
468
- B ? e.setAttributeNS(B, v, z) : e.setAttribute(v, z), Mt(e) ? te(e) : qt(t.removed);
477
+ V ? e.setAttributeNS(V, D, Z) : e.setAttribute(D, Z), Mt(e) ? oe(e) : qt(t.removed);
469
478
  } catch (Ut) {
470
479
  }
471
480
  }
472
481
  }
473
- ae("afterSanitizeAttributes", e, null);
474
- }, yn = function u(e) {
482
+ le("afterSanitizeAttributes", e, null);
483
+ }, bn = function u(e) {
475
484
  let s = null;
476
485
  const c = Nt(e);
477
- for (ae("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
478
- ae("uponSanitizeShadowNode", s, null), !vt(s) && (s.content instanceof r && u(s.content), Pt(s));
479
- ae("afterSanitizeShadowDOM", e, null);
486
+ for (le("beforeSanitizeShadowDOM", e, null); s = c.nextNode(); )
487
+ le("uponSanitizeShadowNode", s, null), !vt(s) && (s.content instanceof l && u(s.content), Pt(s));
488
+ le("afterSanitizeShadowDOM", e, null);
480
489
  };
481
490
  return t.sanitize = function(u) {
482
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, U = null;
483
- if (tt = !u, tt && (u = "<!-->"), typeof u != "string" && !kt(u))
491
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, c = null, T = null, z = null;
492
+ if (nt = !u, nt && (u = "<!-->"), typeof u != "string" && !kt(u))
484
493
  if (typeof u.toString == "function") {
485
494
  if (u = u.toString(), typeof u != "string")
486
- throw ke("dirty is not a string, aborting");
495
+ throw ve("dirty is not a string, aborting");
487
496
  } else
488
- throw ke("toString is not a function");
497
+ throw ve("toString is not a function");
489
498
  if (!t.isSupported)
490
499
  return u;
491
- if (Ke || it(e), t.removed = [], typeof u == "string" && (Oe = !1), Oe) {
500
+ if (Qe || ot(e), t.removed = [], typeof u == "string" && (Re = !1), Re) {
492
501
  if (u.nodeName) {
493
- const ne = N(u.nodeName);
494
- if (!C[ne] || Ce[ne])
495
- throw ke("root node is forbidden and cannot be sanitized in-place");
502
+ const se = M(u.nodeName);
503
+ if (!C[se] || a[se])
504
+ throw ve("root node is forbidden and cannot be sanitized in-place");
496
505
  }
497
- } else if (u instanceof D)
498
- s = Rt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === De.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
506
+ } else if (u instanceof L)
507
+ s = xt("<!---->"), c = s.ownerDocument.importNode(u, !0), c.nodeType === Le.element && c.nodeName === "BODY" || c.nodeName === "HTML" ? s = c : s.appendChild(c);
499
508
  else {
500
- if (!Se && !Ee && !de && // eslint-disable-next-line unicorn/prefer-includes
509
+ if (!ye && !Se && !Ee && // eslint-disable-next-line unicorn/prefer-includes
501
510
  u.indexOf("<") === -1)
502
- return S && Ie ? S.createHTML(u) : u;
503
- if (s = Rt(u), !s)
504
- return Se ? null : Ie ? F : "";
511
+ return E && He ? E.createHTML(u) : u;
512
+ if (s = xt(u), !s)
513
+ return ye ? null : He ? _ : "";
505
514
  }
506
- s && Qe && te(s.firstChild);
507
- const v = Nt(Oe ? u : s);
508
- for (; T = v.nextNode(); )
509
- vt(T) || (T.content instanceof r && yn(T.content), Pt(T));
510
- if (Oe)
515
+ s && $e && oe(s.firstChild);
516
+ const D = Nt(Re ? u : s);
517
+ for (; T = D.nextNode(); )
518
+ vt(T) || (T.content instanceof l && bn(T.content), Pt(T));
519
+ if (Re)
511
520
  return u;
512
- if (Se) {
513
- if (Pe)
514
- for (U = I.call(s.ownerDocument); s.firstChild; )
515
- U.appendChild(s.firstChild);
521
+ if (ye) {
522
+ if (ze)
523
+ for (z = U.call(s.ownerDocument); s.firstChild; )
524
+ z.appendChild(s.firstChild);
516
525
  else
517
- U = s;
518
- return (f.shadowroot || f.shadowrootmode) && (U = oe.call(o, U, !0)), U;
526
+ z = s;
527
+ return (O.shadowroot || O.shadowrootmode) && (z = te.call(o, z, !0)), z;
519
528
  }
520
- let B = de ? s.outerHTML : s.innerHTML;
521
- 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 + `>
522
- ` + B), Ee && Ze([ee, X, k], (ne) => {
523
- B = Me(B, ne, " ");
524
- }), S && Ie ? S.createHTML(B) : B;
529
+ let V = Ee ? s.outerHTML : s.innerHTML;
530
+ return Ee && C["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && W(pn, s.ownerDocument.doctype.name) && (V = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
531
+ ` + V), Se && Be([ne, ie, v], (se) => {
532
+ V = ke(V, se, " ");
533
+ }), E && He ? E.createHTML(V) : V;
525
534
  }, t.setConfig = function() {
526
535
  let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
527
- it(u), Ke = !0;
536
+ ot(u), Qe = !0;
528
537
  }, t.clearConfig = function() {
529
- Ae = null, Ke = !1;
538
+ Oe = null, Qe = !1;
530
539
  }, t.isValidAttribute = function(u, e, s) {
531
- Ae || it({});
532
- const c = N(u), T = N(e);
540
+ Oe || ot({});
541
+ const c = M(u), T = M(e);
533
542
  return Dt(c, T, s);
534
543
  }, t.addHook = function(u, e) {
535
- typeof e == "function" && (w[u] = w[u] || [], Ne(w[u], e));
544
+ typeof e == "function" && (h[u] = h[u] || [], Me(h[u], e));
536
545
  }, t.removeHook = function(u) {
537
- if (w[u])
538
- return qt(w[u]);
546
+ if (h[u])
547
+ return qt(h[u]);
539
548
  }, t.removeHooks = function(u) {
540
- w[u] && (w[u] = []);
549
+ h[u] && (h[u] = []);
541
550
  }, t.removeAllHooks = function() {
542
- w = {};
551
+ h = {};
543
552
  }, t;
544
553
  }
545
554
  var en = dn();
@@ -547,158 +556,158 @@ const oi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARoAAAC+CAYAAADqScD2AA
547
556
  function si(n) {
548
557
  xn(n, "svelte-h8zhj8", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:5;top:0;left:0;background-color:var(--mmw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--mmw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--mmw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--mmw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
549
558
  }
550
- const ai = (n) => ({}), tn = (n) => ({}), ri = (n) => ({}), nn = (n) => ({}), li = (n) => ({}), on = (n) => ({}), ci = (n) => ({}), sn = (n) => ({ class: "CashierSessionExpirationIcon" });
551
- function an(n) {
552
- let t, i, o, a, r, p = (
559
+ const ri = (n) => ({}), tn = (n) => ({}), ai = (n) => ({}), nn = (n) => ({}), li = (n) => ({}), on = (n) => ({}), ci = (n) => ({}), sn = (n) => ({ class: "CashierSessionExpirationIcon" });
560
+ function rn(n) {
561
+ let t, i, o, r, l, m = (
553
562
  /*$_*/
554
563
  n[8]("sessionExpirationHeader") + ""
555
- ), D, L, y, P, pe, ie, J, O, R, M, ue, A, h, S, F;
556
- const G = (
564
+ ), L, P, b, I, he, re, q, R, N, k, me, A, d, E, _;
565
+ const Y = (
557
566
  /*#slots*/
558
567
  n[20].icon
559
- ), V = Fe(
560
- G,
568
+ ), j = Je(
569
+ Y,
561
570
  n,
562
571
  /*$$scope*/
563
572
  n[19],
564
573
  sn
565
- ), I = V || mi(n), $ = (
574
+ ), U = j || mi(n), ee = (
566
575
  /*#slots*/
567
576
  n[20].title
568
- ), oe = Fe(
569
- $,
577
+ ), te = Je(
578
+ ee,
570
579
  n,
571
580
  /*$$scope*/
572
581
  n[19],
573
582
  on
574
- ), w = oe || pi(n), ee = (
583
+ ), h = te || pi(n), ne = (
575
584
  /*#slots*/
576
585
  n[20].text
577
- ), X = Fe(
578
- ee,
586
+ ), ie = Je(
587
+ ne,
579
588
  n,
580
589
  /*$$scope*/
581
590
  n[19],
582
591
  nn
583
- ), k = X || di(n), ge = [gi, hi], q = [];
584
- function Te(g, b) {
592
+ ), v = ie || di(n), ge = [gi, hi], H = [];
593
+ function Te(g, S) {
585
594
  return (
586
595
  /*showLoaderButton*/
587
596
  g[6] ? 0 : 1
588
597
  );
589
598
  }
590
- return R = Te(n), M = q[R] = ge[R](n), {
599
+ return N = Te(n), k = H[N] = ge[N](n), {
591
600
  c() {
592
- t = Z("div"), i = Z("div"), o = Z("div"), a = Z("div"), r = Z("div"), D = qe(p), L = Le(), y = Z("div"), P = Z("div"), I && I.c(), pe = Le(), w && w.c(), ie = Le(), k && k.c(), J = Le(), O = Z("button"), M.c(), d(r, "class", "CashierSessionExpirationModalHeaderTitle"), d(a, "class", "CashierSessionExpirationModalHeader"), d(O, "type", "button"), O.disabled = /*showLoaderButton*/
593
- 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"), Ht(() => (
601
+ t = F("div"), i = F("div"), o = F("div"), r = F("div"), l = F("div"), L = je(m), P = Pe(), b = F("div"), I = F("div"), U && U.c(), he = Pe(), h && h.c(), re = Pe(), v && v.c(), q = Pe(), R = F("button"), k.c(), p(l, "class", "CashierSessionExpirationModalHeaderTitle"), p(r, "class", "CashierSessionExpirationModalHeader"), p(R, "type", "button"), R.disabled = /*showLoaderButton*/
602
+ n[6], p(R, "class", "CashierSessionExpirationButton"), p(I, "class", "CashierSessionExpiration"), p(b, "class", "CashierSessionExpirationModalContainer"), p(b, "part", "CashierSessionExpirationModalContainer"), p(o, "class", "CashierSessionExpirationModalWrapper"), p(o, "part", "CashierSessionExpirationModalWrapper"), p(i, "class", "CashierSessionExpirationModalWindow"), p(i, "part", "CashierSessionExpirationModalWindow"), p(i, "id", "CashierSessionExpirationModal"), zt(() => (
594
603
  /*div5_elementresize_handler*/
595
604
  n[22].call(i)
596
- )), d(t, "part", "CustomStylingContainer");
605
+ )), p(t, "part", "CustomStylingContainer");
597
606
  },
598
- m(g, b) {
599
- ce(g, t, b), x(t, i), x(i, o), x(o, a), x(a, r), x(r, D), x(o, L), x(o, y), x(y, P), I && I.m(P, null), x(P, pe), w && w.m(P, null), x(P, ie), k && k.m(P, null), x(P, J), x(P, O), q[R].m(O, null), n[21](P), ue = vn(
607
+ m(g, S) {
608
+ ue(g, t, S), x(t, i), x(i, o), x(o, r), x(r, l), x(l, L), x(o, P), x(o, b), x(b, I), U && U.m(I, null), x(I, he), h && h.m(I, null), x(I, re), v && v.m(I, null), x(I, q), x(I, R), H[N].m(R, null), n[21](I), me = vn(
600
609
  i,
601
610
  /*div5_elementresize_handler*/
602
611
  n[22].bind(i)
603
- ), n[23](t), h = !0, S || (F = [
604
- Zt(
605
- O,
612
+ ), n[23](t), d = !0, E || (_ = [
613
+ Ht(
614
+ R,
606
615
  "click",
607
616
  /*renewSession*/
608
617
  n[9]
609
618
  ),
610
- Zt(
619
+ Ht(
611
620
  i,
612
621
  "click",
613
622
  /*outOfModalClick*/
614
623
  n[10]
615
624
  )
616
- ], S = !0);
625
+ ], E = !0);
617
626
  },
618
- p(g, b) {
619
- n = g, (!h || b[0] & /*$_*/
620
- 256) && p !== (p = /*$_*/
621
- n[8]("sessionExpirationHeader") + "") && Ve(D, p), V ? V.p && (!h || b[0] & /*$$scope*/
622
- 524288) && Be(
623
- V,
624
- G,
627
+ p(g, S) {
628
+ n = g, (!d || S[0] & /*$_*/
629
+ 256) && m !== (m = /*$_*/
630
+ n[8]("sessionExpirationHeader") + "") && Xe(L, m), j ? j.p && (!d || S[0] & /*$$scope*/
631
+ 524288) && Ve(
632
+ j,
633
+ Y,
625
634
  n,
626
635
  /*$$scope*/
627
636
  n[19],
628
- h ? Je(
629
- G,
637
+ d ? qe(
638
+ Y,
630
639
  /*$$scope*/
631
640
  n[19],
632
- b,
641
+ S,
633
642
  ci
634
- ) : _e(
643
+ ) : Ge(
635
644
  /*$$scope*/
636
645
  n[19]
637
646
  ),
638
647
  sn
639
- ) : I && I.p && (!h || b[0] & /*assetsurl*/
640
- 8) && I.p(n, h ? b : [-1, -1]), oe ? oe.p && (!h || b[0] & /*$$scope*/
641
- 524288) && Be(
642
- oe,
643
- $,
648
+ ) : U && U.p && (!d || S[0] & /*assetsurl*/
649
+ 8) && U.p(n, d ? S : [-1, -1]), te ? te.p && (!d || S[0] & /*$$scope*/
650
+ 524288) && Ve(
651
+ te,
652
+ ee,
644
653
  n,
645
654
  /*$$scope*/
646
655
  n[19],
647
- h ? Je(
648
- $,
656
+ d ? qe(
657
+ ee,
649
658
  /*$$scope*/
650
659
  n[19],
651
- b,
660
+ S,
652
661
  li
653
- ) : _e(
662
+ ) : Ge(
654
663
  /*$$scope*/
655
664
  n[19]
656
665
  ),
657
666
  on
658
- ) : w && w.p && (!h || b[0] & /*$_*/
659
- 256) && w.p(n, h ? b : [-1, -1]), X ? X.p && (!h || b[0] & /*$$scope*/
660
- 524288) && Be(
661
- X,
662
- ee,
667
+ ) : h && h.p && (!d || S[0] & /*$_*/
668
+ 256) && h.p(n, d ? S : [-1, -1]), ie ? ie.p && (!d || S[0] & /*$$scope*/
669
+ 524288) && Ve(
670
+ ie,
671
+ ne,
663
672
  n,
664
673
  /*$$scope*/
665
674
  n[19],
666
- h ? Je(
667
- ee,
675
+ d ? qe(
676
+ ne,
668
677
  /*$$scope*/
669
678
  n[19],
670
- b,
671
- ri
672
- ) : _e(
679
+ S,
680
+ ai
681
+ ) : Ge(
673
682
  /*$$scope*/
674
683
  n[19]
675
684
  ),
676
685
  nn
677
- ) : k && k.p && (!h || b[0] & /*$_, timeLeft*/
678
- 384) && k.p(n, h ? b : [-1, -1]);
679
- let fe = R;
680
- R = Te(n), R === fe ? q[R].p(n, b) : (rn(), me(q[fe], 1, 1, () => {
681
- q[fe] = null;
682
- }), ln(), M = q[R], M ? M.p(n, b) : (M = q[R] = ge[R](n), M.c()), re(M, 1), M.m(O, null)), (!h || b[0] & /*showLoaderButton*/
683
- 64) && (O.disabled = /*showLoaderButton*/
686
+ ) : v && v.p && (!d || S[0] & /*$_, timeLeft*/
687
+ 384) && v.p(n, d ? S : [-1, -1]);
688
+ let pe = N;
689
+ N = Te(n), N === pe ? H[N].p(n, S) : (cn(), de(H[pe], 1, 1, () => {
690
+ H[pe] = null;
691
+ }), ln(), k = H[N], k ? k.p(n, S) : (k = H[N] = ge[N](n), k.c()), ce(k, 1), k.m(R, null)), (!d || S[0] & /*showLoaderButton*/
692
+ 64) && (R.disabled = /*showLoaderButton*/
684
693
  n[6]);
685
694
  },
686
695
  i(g) {
687
- h || (re(I, g), re(w, g), re(k, g), re(M), g && Ht(() => {
688
- h && (A || (A = zt(i, Bt, { duration: (
696
+ d || (ce(U, g), ce(h, g), ce(v, g), ce(k), g && zt(() => {
697
+ d && (A || (A = Zt(i, Bt, { duration: (
689
698
  /*duration*/
690
699
  n[2]
691
700
  ) }, !0)), A.run(1));
692
- }), h = !0);
701
+ }), d = !0);
693
702
  },
694
703
  o(g) {
695
- me(I, g), me(w, g), me(k, g), me(M), g && (A || (A = zt(i, Bt, { duration: (
704
+ de(U, g), de(h, g), de(v, g), de(k), g && (A || (A = Zt(i, Bt, { duration: (
696
705
  /*duration*/
697
706
  n[2]
698
- ) }, !1)), A.run(0)), h = !1;
707
+ ) }, !1)), A.run(0)), d = !1;
699
708
  },
700
709
  d(g) {
701
- g && le(t), I && I.d(g), w && w.d(g), k && k.d(g), q[R].d(), n[21](null), ue(), g && A && A.end(), n[23](null), S = !1, kn(F);
710
+ g && fe(t), U && U.d(g), h && h.d(g), v && v.d(g), H[N].d(), n[21](null), me(), g && A && A.end(), n[23](null), E = !1, Dn(_);
702
711
  }
703
712
  };
704
713
  }
@@ -706,14 +715,14 @@ function ui(n) {
706
715
  let t, i;
707
716
  return {
708
717
  c() {
709
- t = Z("img"), ut(t.src, i = oi) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
718
+ t = F("img"), ft(t.src, i = oi) || p(t, "src", i), p(t, "width", "300px"), p(t, "alt", "error");
710
719
  },
711
- m(o, a) {
712
- ce(o, t, a);
720
+ m(o, r) {
721
+ ue(o, t, r);
713
722
  },
714
- p: ct,
723
+ p: ut,
715
724
  d(o) {
716
- o && le(t);
725
+ o && fe(t);
717
726
  }
718
727
  };
719
728
  }
@@ -721,43 +730,43 @@ function fi(n) {
721
730
  let t, i;
722
731
  return {
723
732
  c() {
724
- t = Z("img"), ut(t.src, i = `${/*assetsurl*/
725
- n[3]}/set-timeout-icon.png`) || d(t, "src", i), d(t, "width", "300px"), d(t, "alt", "error");
733
+ t = F("img"), ft(t.src, i = `${/*assetsurl*/
734
+ n[3]}/set-timeout-icon.png`) || p(t, "src", i), p(t, "width", "300px"), p(t, "alt", "error");
726
735
  },
727
- m(o, a) {
728
- ce(o, t, a);
736
+ m(o, r) {
737
+ ue(o, t, r);
729
738
  },
730
- p(o, a) {
731
- a[0] & /*assetsurl*/
732
- 8 && !ut(t.src, i = `${/*assetsurl*/
733
- o[3]}/set-timeout-icon.png`) && d(t, "src", i);
739
+ p(o, r) {
740
+ r[0] & /*assetsurl*/
741
+ 8 && !ft(t.src, i = `${/*assetsurl*/
742
+ o[3]}/set-timeout-icon.png`) && p(t, "src", i);
734
743
  },
735
744
  d(o) {
736
- o && le(t);
745
+ o && fe(t);
737
746
  }
738
747
  };
739
748
  }
740
749
  function mi(n) {
741
750
  let t;
742
- function i(r, p) {
751
+ function i(l, m) {
743
752
  return (
744
753
  /*assetsurl*/
745
- r[3] ? fi : ui
754
+ l[3] ? fi : ui
746
755
  );
747
756
  }
748
- let o = i(n), a = o(n);
757
+ let o = i(n), r = o(n);
749
758
  return {
750
759
  c() {
751
- a.c(), t = cn();
760
+ r.c(), t = an();
752
761
  },
753
- m(r, p) {
754
- a.m(r, p), ce(r, t, p);
762
+ m(l, m) {
763
+ r.m(l, m), ue(l, t, m);
755
764
  },
756
- p(r, p) {
757
- o === (o = i(r)) && a ? a.p(r, p) : (a.d(1), a = o(r), a && (a.c(), a.m(t.parentNode, t)));
765
+ p(l, m) {
766
+ o === (o = i(l)) && r ? r.p(l, m) : (r.d(1), r = o(l), r && (r.c(), r.m(t.parentNode, t)));
758
767
  },
759
- d(r) {
760
- r && le(t), a.d(r);
768
+ d(l) {
769
+ l && fe(t), r.d(l);
761
770
  }
762
771
  };
763
772
  }
@@ -768,18 +777,18 @@ function pi(n) {
768
777
  ), o;
769
778
  return {
770
779
  c() {
771
- t = Z("span"), o = qe(i), d(t, "class", "CashierSessionExpirationTitle");
780
+ t = F("span"), o = je(i), p(t, "class", "CashierSessionExpirationTitle");
772
781
  },
773
- m(a, r) {
774
- ce(a, t, r), x(t, o);
782
+ m(r, l) {
783
+ ue(r, t, l), x(t, o);
775
784
  },
776
- p(a, r) {
777
- r[0] & /*$_*/
785
+ p(r, l) {
786
+ l[0] & /*$_*/
778
787
  256 && i !== (i = /*$_*/
779
- a[8]("sessionExpirationTitle") + "") && Ve(o, i);
788
+ r[8]("sessionExpirationTitle") + "") && Xe(o, i);
780
789
  },
781
- d(a) {
782
- a && le(t);
790
+ d(r) {
791
+ r && fe(t);
783
792
  }
784
793
  };
785
794
  }
@@ -793,13 +802,13 @@ function di(n) {
793
802
  ) + "";
794
803
  return {
795
804
  c() {
796
- t = Z("span"), d(t, "class", "CashierSessionExpirationText");
805
+ t = F("span"), p(t, "class", "CashierSessionExpirationText");
797
806
  },
798
- m(o, a) {
799
- ce(o, t, a), t.innerHTML = i;
807
+ m(o, r) {
808
+ ue(o, t, r), t.innerHTML = i;
800
809
  },
801
- p(o, a) {
802
- a[0] & /*$_, timeLeft*/
810
+ p(o, r) {
811
+ r[0] & /*$_, timeLeft*/
803
812
  384 && i !== (i = en.sanitize(
804
813
  /*$_*/
805
814
  o[8]("sessionExpirationGeneralText", { values: { second: (
@@ -809,7 +818,7 @@ function di(n) {
809
818
  ) + "") && (t.innerHTML = i);
810
819
  },
811
820
  d(o) {
812
- o && le(t);
821
+ o && fe(t);
813
822
  }
814
823
  };
815
824
  }
@@ -818,74 +827,74 @@ function hi(n) {
818
827
  const i = (
819
828
  /*#slots*/
820
829
  n[20].button
821
- ), o = Fe(
830
+ ), o = Je(
822
831
  i,
823
832
  n,
824
833
  /*$$scope*/
825
834
  n[19],
826
835
  tn
827
- ), a = o || Ti(n);
836
+ ), r = o || Ti(n);
828
837
  return {
829
838
  c() {
830
- a && a.c();
839
+ r && r.c();
831
840
  },
832
- m(r, p) {
833
- a && a.m(r, p), t = !0;
841
+ m(l, m) {
842
+ r && r.m(l, m), t = !0;
834
843
  },
835
- p(r, p) {
836
- o ? o.p && (!t || p[0] & /*$$scope*/
837
- 524288) && Be(
844
+ p(l, m) {
845
+ o ? o.p && (!t || m[0] & /*$$scope*/
846
+ 524288) && Ve(
838
847
  o,
839
848
  i,
840
- r,
849
+ l,
841
850
  /*$$scope*/
842
- r[19],
843
- t ? Je(
851
+ l[19],
852
+ t ? qe(
844
853
  i,
845
854
  /*$$scope*/
846
- r[19],
847
- p,
848
- ai
849
- ) : _e(
855
+ l[19],
856
+ m,
857
+ ri
858
+ ) : Ge(
850
859
  /*$$scope*/
851
- r[19]
860
+ l[19]
852
861
  ),
853
862
  tn
854
- ) : a && a.p && (!t || p[0] & /*$_*/
855
- 256) && a.p(r, t ? p : [-1, -1]);
863
+ ) : r && r.p && (!t || m[0] & /*$_*/
864
+ 256) && r.p(l, t ? m : [-1, -1]);
856
865
  },
857
- i(r) {
858
- t || (re(a, r), t = !0);
866
+ i(l) {
867
+ t || (ce(r, l), t = !0);
859
868
  },
860
- o(r) {
861
- me(a, r), t = !1;
869
+ o(l) {
870
+ de(r, l), t = !1;
862
871
  },
863
- d(r) {
864
- a && a.d(r);
872
+ d(l) {
873
+ r && r.d(l);
865
874
  }
866
875
  };
867
876
  }
868
877
  function gi(n) {
869
- let t, i, o, a, r, p = (
878
+ let t, i, o, r, l, m = (
870
879
  /*$_*/
871
880
  n[8]("sessionExpirationLoadingButton") + ""
872
- ), D;
881
+ ), L;
873
882
  return {
874
883
  c() {
875
- t = Z("div"), i = Ft("svg"), o = Ft("path"), a = Le(), r = Z("span"), D = qe(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 = F("div"), i = Ft("svg"), o = Ft("path"), r = Pe(), l = F("span"), L = je(m), p(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"), p(o, "fill", "white"), p(i, "class", "CashierSessionExpirationButtonSpinner"), p(i, "xmlns", "http://www.w3.org/2000/svg"), p(i, "width", "15"), p(i, "height", "14"), p(i, "viewBox", "0 0 15 14"), p(i, "fill", "none"), p(l, "class", "CashierSessionExpirationButtonText");
876
885
  },
877
- m(L, y) {
878
- ce(L, t, y), x(t, i), x(i, o), x(t, a), x(t, r), x(r, D);
886
+ m(P, b) {
887
+ ue(P, t, b), x(t, i), x(i, o), x(t, r), x(t, l), x(l, L);
879
888
  },
880
- p(L, y) {
881
- y[0] & /*$_*/
882
- 256 && p !== (p = /*$_*/
883
- L[8]("sessionExpirationLoadingButton") + "") && Ve(D, p);
889
+ p(P, b) {
890
+ b[0] & /*$_*/
891
+ 256 && m !== (m = /*$_*/
892
+ P[8]("sessionExpirationLoadingButton") + "") && Xe(L, m);
884
893
  },
885
- i: ct,
886
- o: ct,
887
- d(L) {
888
- L && le(t);
894
+ i: ut,
895
+ o: ut,
896
+ d(P) {
897
+ P && fe(t);
889
898
  }
890
899
  };
891
900
  }
@@ -896,185 +905,217 @@ function Ti(n) {
896
905
  ), o;
897
906
  return {
898
907
  c() {
899
- t = Z("span"), o = qe(i), d(t, "class", "CashierSessionExpirationButtonText");
908
+ t = F("span"), o = je(i), p(t, "class", "CashierSessionExpirationButtonText");
900
909
  },
901
- m(a, r) {
902
- ce(a, t, r), x(t, o);
910
+ m(r, l) {
911
+ ue(r, t, l), x(t, o);
903
912
  },
904
- p(a, r) {
905
- r[0] & /*$_*/
913
+ p(r, l) {
914
+ l[0] & /*$_*/
906
915
  256 && i !== (i = /*$_*/
907
- a[8]("sessionExpirationGeneralButton") + "") && Ve(o, i);
916
+ r[8]("sessionExpirationGeneralButton") + "") && Xe(o, i);
908
917
  },
909
- d(a) {
910
- a && le(t);
918
+ d(r) {
919
+ r && fe(t);
911
920
  }
912
921
  };
913
922
  }
914
923
  function Ei(n) {
915
924
  let t, i, o = (
916
925
  /*show*/
917
- n[5] && an(n)
926
+ n[5] && rn(n)
918
927
  );
919
928
  return {
920
929
  c() {
921
- o && o.c(), t = cn();
930
+ o && o.c(), t = an();
922
931
  },
923
- m(a, r) {
924
- o && o.m(a, r), ce(a, t, r), i = !0;
932
+ m(r, l) {
933
+ o && o.m(r, l), ue(r, t, l), i = !0;
925
934
  },
926
- p(a, r) {
935
+ p(r, l) {
927
936
  /*show*/
928
- a[5] ? o ? (o.p(a, r), r[0] & /*show*/
929
- 32 && re(o, 1)) : (o = an(a), o.c(), re(o, 1), o.m(t.parentNode, t)) : o && (rn(), me(o, 1, 1, () => {
937
+ r[5] ? o ? (o.p(r, l), l[0] & /*show*/
938
+ 32 && ce(o, 1)) : (o = rn(r), o.c(), ce(o, 1), o.m(t.parentNode, t)) : o && (cn(), de(o, 1, 1, () => {
930
939
  o = null;
931
940
  }), ln());
932
941
  },
933
- i(a) {
934
- i || (re(o), i = !0);
942
+ i(r) {
943
+ i || (ce(o), i = !0);
935
944
  },
936
- o(a) {
937
- me(o), i = !1;
945
+ o(r) {
946
+ de(o), i = !1;
938
947
  },
939
- d(a) {
940
- a && le(t), o && o.d(a);
948
+ d(r) {
949
+ r && fe(t), o && o.d(r);
941
950
  }
942
951
  };
943
952
  }
944
- const Si = 90;
945
- function wi(n, t, i) {
953
+ const wi = 90;
954
+ function Si(n, t, i) {
946
955
  let o;
947
- Rn(n, Un, (l) => i(8, o = l));
948
- let { $$slots: a = {}, $$scope: r } = t;
956
+ Nn(n, Un, (a) => i(8, o = a));
957
+ let { $$slots: r = {}, $$scope: l } = t;
949
958
  _t.extend(zn);
950
- 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: J = "" } = t, { endpoint: O } = t, { currency: R } = t, { customerid: M } = t, { selectedpaymentmethodname: ue } = t, A, h = !1, S = !1, F, G, V, I, $;
951
- const oe = (l) => {
952
- l.data.type === "StartSessionCountdown" && ($ = l.data.xPaymentSessionToken, I = l.data.paymentMethodName, ee());
953
- }, w = (l) => {
959
+ let { clientstyling: m = "" } = t, { clientstylingurl: L = "" } = t, { width: P } = t, { height: b } = t, { duration: I = 200 } = t, { assetsurl: he = "" } = t, { lang: re = "en" } = t, { translationurl: q = "" } = t, { endpoint: R } = t, { currency: N } = t, { customerid: k } = t, { selectedpaymentmethodname: me } = t, A, d = !1, E = !1, _, Y, j, U, ee, te;
960
+ var h;
961
+ (function(a) {
962
+ a.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", a.Success = "Success", a.JwtTokenError = "JwtTokenError";
963
+ })(h || (h = {}));
964
+ const ne = (a) => {
965
+ a.data.type === "StartSessionCountdown" && (ee = a.data.xPaymentSessionToken, U = a.data.paymentMethodName, ge());
966
+ }, ie = (a) => {
954
967
  try {
955
- return JSON.parse(atob(l.split(".")[1]));
956
- } catch (f) {
968
+ return JSON.parse(atob(a.split(".")[1]));
969
+ } catch (w) {
957
970
  return null;
958
971
  }
959
- }, ee = () => {
960
- i(5, h = !1);
961
- const l = w($);
962
- l && (G = l == null ? void 0 : l.exp, i(7, F = G), V && clearInterval(V), V = setInterval(
972
+ }, v = () => {
973
+ window.postMessage(
974
+ {
975
+ type: "ErrorResponseCode",
976
+ errorResponseCode: te
977
+ },
978
+ window.location.href
979
+ );
980
+ }, ge = () => {
981
+ i(5, d = !1);
982
+ const a = ie(ee);
983
+ a && (Y = a == null ? void 0 : a.exp, i(7, _ = Y), j && clearInterval(j), j = setInterval(
963
984
  () => {
964
- const f = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
965
- i(7, F = G - f), F <= Si && i(5, h = !0), f >= G && (i(7, F = 0), i(5, h = !1), clearInterval(V), window.postMessage({ type: "SessionExpired" }, window.location.href));
985
+ const w = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
986
+ i(7, _ = Y - w), _ <= wi && i(5, d = !0), w >= Y && (H(), window.postMessage({ type: "SessionExpired" }, window.location.href));
966
987
  },
967
988
  1e3
968
989
  ));
969
- }, X = () => {
970
- if (S) return;
971
- const l = new URL(`${O}/v1/player/${M}/payment/GetPaymentMethod`), f = new Headers();
972
- i(6, S = !0), f.append("accept", "application/json"), f.append("Content-Type", "application/json"), f.append("X-Client-Request-Timestamp", _t.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
973
- const K = {
990
+ }, H = () => {
991
+ i(7, _ = 0), i(5, d = !1), clearInterval(j);
992
+ }, Te = () => {
993
+ if (E) return;
994
+ const a = new URL(`${R}/v1/player/${k}/payment/GetPaymentMethod`), w = new Headers();
995
+ i(6, E = !0), w.append("accept", "application/json"), w.append("Content-Type", "application/json"), w.append("X-Client-Request-Timestamp", _t.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
996
+ const Q = {
974
997
  method: "POST",
975
998
  mode: "cors",
976
- headers: f,
999
+ headers: w,
977
1000
  body: JSON.stringify({
978
- PaymentMethodName: I || ue,
979
- Currency: R,
980
- XPaymentSessionToken: $
1001
+ PaymentMethodName: U || me,
1002
+ Currency: N,
1003
+ XPaymentSessionToken: ee
981
1004
  })
982
1005
  };
983
- fetch(l, K).then((E) => E.json()).then((E) => {
984
- $ = E.XPaymentSessionToken, ee();
985
- }).finally(() => i(6, S = !1));
986
- }, k = (l) => {
987
- const f = l.currentTarget;
988
- l.target === f && X();
989
- }, ge = () => {
990
- fetch(J).then((f) => f.json()).then((f) => {
991
- Object.keys(f).forEach((K) => {
992
- Jt(K, f[K]);
1006
+ fetch(a, Q).then((J) => J.json()).then((J) => {
1007
+ if (J.error) {
1008
+ window.postMessage(
1009
+ {
1010
+ type: "ShowSessionError",
1011
+ error: J.error
1012
+ },
1013
+ window.location.href
1014
+ ), H();
1015
+ return;
1016
+ }
1017
+ if (J.ResponseCode === h.PlayerSessionIsNotValid || J.ResponseCode === h.JwtTokenError) {
1018
+ te = J.ResponseCode, H(), v();
1019
+ return;
1020
+ }
1021
+ if (J.ResponseCode !== h.Success) {
1022
+ te = J.ResponseCode, H();
1023
+ return;
1024
+ }
1025
+ ee = J.XPaymentSessionToken, ge();
1026
+ }).finally(() => i(6, E = !1));
1027
+ }, g = (a) => {
1028
+ const w = a.currentTarget;
1029
+ a.target === w && Te();
1030
+ }, S = () => {
1031
+ fetch(q).then((w) => w.json()).then((w) => {
1032
+ Object.keys(w).forEach((Q) => {
1033
+ Jt(Q, w[Q]);
993
1034
  });
994
- }).catch((f) => {
995
- console.log(f);
1035
+ }).catch((w) => {
1036
+ console.log(w);
996
1037
  });
997
1038
  };
998
- Object.keys(Gt).forEach((l) => {
999
- Jt(l, Gt[l]);
1039
+ Object.keys(Vt).forEach((a) => {
1040
+ Jt(a, Vt[a]);
1000
1041
  });
1001
- const q = () => {
1002
- Hn(ie);
1003
- }, Te = () => {
1004
- let l = document.createElement("style");
1005
- l.innerHTML = p, A.appendChild(l);
1006
- }, g = () => {
1007
- let l = new URL(D), f = document.createElement("style");
1008
- fetch(l.href).then((K) => K.text()).then((K) => {
1009
- f.innerHTML = K, setTimeout(
1042
+ const pe = () => {
1043
+ Hn(re);
1044
+ }, C = () => {
1045
+ let a = document.createElement("style");
1046
+ a.innerHTML = m, A.appendChild(a);
1047
+ }, Ie = () => {
1048
+ let a = new URL(L), w = document.createElement("style");
1049
+ fetch(a.href).then((Q) => Q.text()).then((Q) => {
1050
+ w.innerHTML = Q, setTimeout(
1010
1051
  () => {
1011
- A.appendChild(f);
1052
+ A.appendChild(w);
1012
1053
  },
1013
1054
  1
1014
1055
  );
1015
1056
  });
1016
1057
  };
1017
- Nn(() => (window.addEventListener("message", oe, !1), () => {
1018
- window.removeEventListener("message", oe);
1019
- })), Mn(() => {
1020
- clearInterval(V);
1058
+ Mn(() => (window.addEventListener("message", ne, !1), () => {
1059
+ window.removeEventListener("message", ne);
1060
+ })), kn(() => {
1061
+ clearInterval(j);
1021
1062
  });
1022
- function b(l) {
1023
- Wt[l ? "unshift" : "push"](() => {
1024
- A = l, i(4, A);
1063
+ function O(a) {
1064
+ Wt[a ? "unshift" : "push"](() => {
1065
+ A = a, i(4, A);
1025
1066
  });
1026
1067
  }
1027
- function fe() {
1028
- L = this.clientWidth, y = this.clientHeight, i(0, L), i(1, y);
1068
+ function Ue() {
1069
+ P = this.clientWidth, b = this.clientHeight, i(0, P), i(1, b);
1029
1070
  }
1030
- function C(l) {
1031
- Wt[l ? "unshift" : "push"](() => {
1032
- A = l, i(4, A);
1071
+ function y(a) {
1072
+ Wt[a ? "unshift" : "push"](() => {
1073
+ A = a, i(4, A);
1033
1074
  });
1034
1075
  }
1035
- return n.$$set = (l) => {
1036
- "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, J = l.translationurl), "endpoint" in l && i(15, O = l.endpoint), "currency" in l && i(16, R = 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);
1076
+ return n.$$set = (a) => {
1077
+ "clientstyling" in a && i(11, m = a.clientstyling), "clientstylingurl" in a && i(12, L = a.clientstylingurl), "width" in a && i(0, P = a.width), "height" in a && i(1, b = a.height), "duration" in a && i(2, I = a.duration), "assetsurl" in a && i(3, he = a.assetsurl), "lang" in a && i(13, re = a.lang), "translationurl" in a && i(14, q = a.translationurl), "endpoint" in a && i(15, R = a.endpoint), "currency" in a && i(16, N = a.currency), "customerid" in a && i(17, k = a.customerid), "selectedpaymentmethodname" in a && i(18, me = a.selectedpaymentmethodname), "$$scope" in a && i(19, l = a.$$scope);
1037
1078
  }, n.$$.update = () => {
1038
1079
  n.$$.dirty[0] & /*lang*/
1039
- 8192 && ie && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1040
- 2064 && p && A && Te(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1041
- 4112 && D && A && g(), n.$$.dirty[0] & /*translationurl*/
1042
- 16384 && J && ge();
1080
+ 8192 && re && pe(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1081
+ 2064 && m && A && C(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1082
+ 4112 && L && A && Ie(), n.$$.dirty[0] & /*translationurl*/
1083
+ 16384 && q && S();
1043
1084
  }, [
1044
- L,
1045
- y,
1046
1085
  P,
1047
- pe,
1086
+ b,
1087
+ I,
1088
+ he,
1048
1089
  A,
1049
- h,
1050
- S,
1051
- F,
1090
+ d,
1091
+ E,
1092
+ _,
1052
1093
  o,
1053
- X,
1054
- k,
1055
- p,
1056
- D,
1057
- ie,
1058
- J,
1059
- O,
1094
+ Te,
1095
+ g,
1096
+ m,
1097
+ L,
1098
+ re,
1099
+ q,
1060
1100
  R,
1061
- M,
1062
- ue,
1101
+ N,
1102
+ k,
1103
+ me,
1104
+ l,
1063
1105
  r,
1064
- a,
1065
- b,
1066
- fe,
1067
- C
1106
+ O,
1107
+ Ue,
1108
+ y
1068
1109
  ];
1069
1110
  }
1070
- class bi extends An {
1111
+ class yi extends An {
1071
1112
  constructor(t) {
1072
1113
  super(), Cn(
1073
1114
  this,
1074
1115
  t,
1075
- wi,
1116
+ Si,
1076
1117
  Ei,
1077
- On,
1118
+ Rn,
1078
1119
  {
1079
1120
  clientstyling: 11,
1080
1121
  clientstylingurl: 12,
@@ -1097,76 +1138,76 @@ class bi extends An {
1097
1138
  return this.$$.ctx[11];
1098
1139
  }
1099
1140
  set clientstyling(t) {
1100
- this.$$set({ clientstyling: t }), Y();
1141
+ this.$$set({ clientstyling: t }), X();
1101
1142
  }
1102
1143
  get clientstylingurl() {
1103
1144
  return this.$$.ctx[12];
1104
1145
  }
1105
1146
  set clientstylingurl(t) {
1106
- this.$$set({ clientstylingurl: t }), Y();
1147
+ this.$$set({ clientstylingurl: t }), X();
1107
1148
  }
1108
1149
  get width() {
1109
1150
  return this.$$.ctx[0];
1110
1151
  }
1111
1152
  set width(t) {
1112
- this.$$set({ width: t }), Y();
1153
+ this.$$set({ width: t }), X();
1113
1154
  }
1114
1155
  get height() {
1115
1156
  return this.$$.ctx[1];
1116
1157
  }
1117
1158
  set height(t) {
1118
- this.$$set({ height: t }), Y();
1159
+ this.$$set({ height: t }), X();
1119
1160
  }
1120
1161
  get duration() {
1121
1162
  return this.$$.ctx[2];
1122
1163
  }
1123
1164
  set duration(t) {
1124
- this.$$set({ duration: t }), Y();
1165
+ this.$$set({ duration: t }), X();
1125
1166
  }
1126
1167
  get assetsurl() {
1127
1168
  return this.$$.ctx[3];
1128
1169
  }
1129
1170
  set assetsurl(t) {
1130
- this.$$set({ assetsurl: t }), Y();
1171
+ this.$$set({ assetsurl: t }), X();
1131
1172
  }
1132
1173
  get lang() {
1133
1174
  return this.$$.ctx[13];
1134
1175
  }
1135
1176
  set lang(t) {
1136
- this.$$set({ lang: t }), Y();
1177
+ this.$$set({ lang: t }), X();
1137
1178
  }
1138
1179
  get translationurl() {
1139
1180
  return this.$$.ctx[14];
1140
1181
  }
1141
1182
  set translationurl(t) {
1142
- this.$$set({ translationurl: t }), Y();
1183
+ this.$$set({ translationurl: t }), X();
1143
1184
  }
1144
1185
  get endpoint() {
1145
1186
  return this.$$.ctx[15];
1146
1187
  }
1147
1188
  set endpoint(t) {
1148
- this.$$set({ endpoint: t }), Y();
1189
+ this.$$set({ endpoint: t }), X();
1149
1190
  }
1150
1191
  get currency() {
1151
1192
  return this.$$.ctx[16];
1152
1193
  }
1153
1194
  set currency(t) {
1154
- this.$$set({ currency: t }), Y();
1195
+ this.$$set({ currency: t }), X();
1155
1196
  }
1156
1197
  get customerid() {
1157
1198
  return this.$$.ctx[17];
1158
1199
  }
1159
1200
  set customerid(t) {
1160
- this.$$set({ customerid: t }), Y();
1201
+ this.$$set({ customerid: t }), X();
1161
1202
  }
1162
1203
  get selectedpaymentmethodname() {
1163
1204
  return this.$$.ctx[18];
1164
1205
  }
1165
1206
  set selectedpaymentmethodname(t) {
1166
- this.$$set({ selectedpaymentmethodname: t }), Y();
1207
+ this.$$set({ selectedpaymentmethodname: t }), X();
1167
1208
  }
1168
1209
  }
1169
- Dn(bi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
1210
+ On(yi, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);
1170
1211
  export {
1171
- bi as default
1212
+ yi as default
1172
1213
  };