@leaflink/stash 51.5.1 → 51.6.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 (60) hide show
  1. package/assets/icons/bank.svg +1 -0
  2. package/assets/icons/face-id.svg +1 -0
  3. package/assets/icons/face.svg +1 -0
  4. package/assets/icons/fingerprint.svg +3 -0
  5. package/assets/icons/reorder.svg +1 -0
  6. package/assets/illustrations/spot/check-circle.svg +1 -1
  7. package/assets/illustrations/spot/crm.svg +1 -1
  8. package/assets/illustrations/spot/delivery-completed.svg +1 -1
  9. package/assets/illustrations/spot/delivery.svg +1 -1
  10. package/assets/illustrations/spot/discover.svg +1 -1
  11. package/assets/illustrations/spot/money-transfer.svg +1 -1
  12. package/assets/illustrations/vignette/no-filters-result.svg +21 -0
  13. package/assets/spritesheet.svg +1 -1
  14. package/dist/Accordion.vue.d.ts +2 -2
  15. package/dist/AppNavigationItem.vue.d.ts +1 -1
  16. package/dist/Carousel.js +9 -9
  17. package/dist/Carousel.js.map +1 -1
  18. package/dist/DataViewToolbar.js +9 -9
  19. package/dist/DataViewToolbar.js.map +1 -1
  20. package/dist/EmptyState.js +1 -1
  21. package/dist/EmptyState.vue.d.ts +2 -1
  22. package/dist/HttpError.js +1 -1
  23. package/dist/Icon.js +15 -10
  24. package/dist/Icon.js.map +1 -1
  25. package/dist/Icon.vue.d.ts +1 -1
  26. package/dist/IconLabel.vue.d.ts +1 -1
  27. package/dist/Illustration.js +2 -2
  28. package/dist/Illustration.vue.d.ts +1 -0
  29. package/dist/{Illustration.vue_vue_type_script_setup_true_lang-DlY0OGCe.js → Illustration.vue_vue_type_script_setup_true_lang-BrqEF8xe.js} +2 -2
  30. package/dist/Illustration.vue_vue_type_script_setup_true_lang-BrqEF8xe.js.map +1 -0
  31. package/dist/ListView.vue.d.ts +18 -18
  32. package/dist/ObfuscateText.js +5 -5
  33. package/dist/ObfuscateText.js.map +1 -1
  34. package/dist/QuickAction.vue.d.ts +1 -1
  35. package/dist/SectionHeader.vue.d.ts +2 -2
  36. package/dist/SelectStatus.js +13 -13
  37. package/dist/SelectStatus.js.map +1 -1
  38. package/dist/SelectStatus.vue.d.ts +1 -1
  39. package/dist/Switch.js +8 -8
  40. package/dist/Switch.js.map +1 -1
  41. package/dist/Tab.js +5 -5
  42. package/dist/Tab.js.map +1 -1
  43. package/dist/TableCell.js +1 -1
  44. package/dist/TableHeaderCell.js +1 -1
  45. package/dist/TableHeaderRow.js +1 -1
  46. package/dist/TableRow.js +1 -1
  47. package/dist/TextEditor.vue.d.ts +1 -1
  48. package/dist/Toast.js +189 -184
  49. package/dist/Toast.js.map +1 -1
  50. package/dist/Toast.vue.d.ts +4 -0
  51. package/dist/Toasts.js +13 -12
  52. package/dist/Toasts.js.map +1 -1
  53. package/dist/Tooltip.js +8 -8
  54. package/dist/Tooltip.js.map +1 -1
  55. package/dist/components.css +1 -1
  56. package/dist/useToasts.d.ts +6 -0
  57. package/dist/useToasts.js +28 -23
  58. package/dist/useToasts.js.map +1 -1
  59. package/package.json +5 -4
  60. package/dist/Illustration.vue_vue_type_script_setup_true_lang-DlY0OGCe.js.map +0 -1
package/dist/Toast.js CHANGED
@@ -1,113 +1,113 @@
1
- import { defineComponent as qt, useCssModule as Kt, computed as lt, createElementBlock as Ne, openBlock as be, normalizeClass as Zt, unref as De, createVNode as ct, isVNode as Jt } from "vue";
2
- import ut from "@leaflink/snitch";
3
- import Qt from "lodash-es/capitalize";
4
- import { S as ft, b as en } from "./statusLevels-D8EgtE_L.js";
5
- import tn from "./CustomRender.js";
6
- import nn from "./Icon.js";
7
- import { _ as on } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { defineComponent as qt, useCssVars as Kt, useCssModule as Zt, computed as lt, createElementBlock as be, openBlock as De, normalizeClass as Jt, unref as le, createVNode as ct, isVNode as Qt } from "vue";
2
+ import ft from "@leaflink/snitch";
3
+ import en from "lodash-es/capitalize";
4
+ import { S as ut, b as tn } from "./statusLevels-D8EgtE_L.js";
5
+ import nn from "./CustomRender.js";
6
+ import on from "./Icon.js";
7
+ import { _ as rn } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  /*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
9
9
  const {
10
10
  entries: St,
11
11
  setPrototypeOf: mt,
12
- isFrozen: rn,
13
- getPrototypeOf: an,
14
- getOwnPropertyDescriptor: sn
12
+ isFrozen: an,
13
+ getPrototypeOf: sn,
14
+ getOwnPropertyDescriptor: ln
15
15
  } = Object;
16
16
  let {
17
17
  freeze: S,
18
- seal: O,
18
+ seal: L,
19
19
  create: Rt
20
20
  } = Object, {
21
21
  apply: Pe,
22
22
  construct: ve
23
23
  } = typeof Reflect < "u" && Reflect;
24
- S || (S = function(o) {
25
- return o;
24
+ S || (S = function(n) {
25
+ return n;
26
26
  });
27
- O || (O = function(o) {
28
- return o;
27
+ L || (L = function(n) {
28
+ return n;
29
29
  });
30
- Pe || (Pe = function(o, r, s) {
31
- return o.apply(r, s);
30
+ Pe || (Pe = function(n, r, s) {
31
+ return n.apply(r, s);
32
32
  });
33
- ve || (ve = function(o, r) {
34
- return new o(...r);
33
+ ve || (ve = function(n, r) {
34
+ return new n(...r);
35
35
  });
36
- const le = R(Array.prototype.forEach), ln = R(Array.prototype.lastIndexOf), pt = R(Array.prototype.pop), $ = R(Array.prototype.push), cn = R(Array.prototype.splice), ue = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), dt = R(String.prototype.match), j = R(String.prototype.replace), un = R(String.prototype.indexOf), fn = R(String.prototype.trim), b = R(Object.prototype.hasOwnProperty), A = R(RegExp.prototype.test), q = mn(TypeError);
36
+ const ce = R(Array.prototype.forEach), cn = R(Array.prototype.lastIndexOf), pt = R(Array.prototype.pop), $ = R(Array.prototype.push), fn = R(Array.prototype.splice), ue = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), dt = R(String.prototype.match), j = R(String.prototype.replace), un = R(String.prototype.indexOf), mn = R(String.prototype.trim), b = R(Object.prototype.hasOwnProperty), A = R(RegExp.prototype.test), q = pn(TypeError);
37
37
  function R(a) {
38
- return function(o) {
39
- for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), f = 1; f < r; f++)
40
- s[f - 1] = arguments[f];
41
- return Pe(a, o, s);
38
+ return function(n) {
39
+ for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
40
+ s[u - 1] = arguments[u];
41
+ return Pe(a, n, s);
42
42
  };
43
43
  }
44
- function mn(a) {
44
+ function pn(a) {
45
45
  return function() {
46
- for (var o = arguments.length, r = new Array(o), s = 0; s < o; s++)
46
+ for (var n = arguments.length, r = new Array(n), s = 0; s < n; s++)
47
47
  r[s] = arguments[s];
48
48
  return ve(a, r);
49
49
  };
50
50
  }
51
- function l(a, o) {
51
+ function l(a, n) {
52
52
  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ue;
53
53
  mt && mt(a, null);
54
- let s = o.length;
54
+ let s = n.length;
55
55
  for (; s--; ) {
56
- let f = o[s];
57
- if (typeof f == "string") {
58
- const L = r(f);
59
- L !== f && (rn(o) || (o[s] = L), f = L);
56
+ let u = n[s];
57
+ if (typeof u == "string") {
58
+ const N = r(u);
59
+ N !== u && (an(n) || (n[s] = N), u = N);
60
60
  }
61
- a[f] = !0;
61
+ a[u] = !0;
62
62
  }
63
63
  return a;
64
64
  }
65
- function pn(a) {
66
- for (let o = 0; o < a.length; o++)
67
- b(a, o) || (a[o] = null);
65
+ function dn(a) {
66
+ for (let n = 0; n < a.length; n++)
67
+ b(a, n) || (a[n] = null);
68
68
  return a;
69
69
  }
70
70
  function x(a) {
71
- const o = Rt(null);
71
+ const n = Rt(null);
72
72
  for (const [r, s] of St(a))
73
- b(a, r) && (Array.isArray(s) ? o[r] = pn(s) : s && typeof s == "object" && s.constructor === Object ? o[r] = x(s) : o[r] = s);
74
- return o;
73
+ b(a, r) && (Array.isArray(s) ? n[r] = dn(s) : s && typeof s == "object" && s.constructor === Object ? n[r] = x(s) : n[r] = s);
74
+ return n;
75
75
  }
76
- function K(a, o) {
76
+ function K(a, n) {
77
77
  for (; a !== null; ) {
78
- const s = sn(a, o);
78
+ const s = ln(a, n);
79
79
  if (s) {
80
80
  if (s.get)
81
81
  return R(s.get);
82
82
  if (typeof s.value == "function")
83
83
  return R(s.value);
84
84
  }
85
- a = an(a);
85
+ a = sn(a);
86
86
  }
87
87
  function r() {
88
88
  return null;
89
89
  }
90
90
  return r;
91
91
  }
92
- const _t = S(["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"]), Me = S(["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"]), Ce = S(["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"]), dn = S(["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"]), we = S(["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"]), _n = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Tt = S(["#text"]), Et = S(["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"]), xe = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "slope", "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", "tablevalues", "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"]), gt = S(["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"]), ce = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Tn = O(/\{\{[\w\W]*|[\w\W]*\}\}/gm), En = O(/<%[\w\W]*|[\w\W]*%>/gm), gn = O(/\$\{[\w\W]*/gm), hn = O(/^data-[\-\w.\u00B7-\uFFFF]+$/), An = O(/^aria-[\-\w]+$/), yt = O(
92
+ const _t = S(["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"]), Me = S(["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"]), Ce = S(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _n = S(["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"]), we = S(["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"]), Tn = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Tt = S(["#text"]), Et = S(["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"]), xe = S(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "exponent", "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", "intercept", "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", "slope", "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", "tablevalues", "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"]), gt = S(["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"]), fe = S(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), En = L(/\{\{[\w\W]*|[\w\W]*\}\}/gm), gn = L(/<%[\w\W]*|[\w\W]*%>/gm), hn = L(/\$\{[\w\W]*/gm), An = L(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sn = L(/^aria-[\-\w]+$/), yt = L(
93
93
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
94
94
  // eslint-disable-line no-useless-escape
95
- ), Sn = O(/^(?:\w+script|data):/i), Rn = O(
95
+ ), Rn = L(/^(?:\w+script|data):/i), yn = L(
96
96
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
97
97
  // eslint-disable-line no-control-regex
98
- ), Ot = O(/^html$/i), yn = O(/^[a-z][.\w]*(-[.\w]+)+$/i);
98
+ ), Ot = L(/^html$/i), On = L(/^[a-z][.\w]*(-[.\w]+)+$/i);
99
99
  var ht = /* @__PURE__ */ Object.freeze({
100
100
  __proto__: null,
101
- ARIA_ATTR: An,
102
- ATTR_WHITESPACE: Rn,
103
- CUSTOM_ELEMENT: yn,
104
- DATA_ATTR: hn,
101
+ ARIA_ATTR: Sn,
102
+ ATTR_WHITESPACE: yn,
103
+ CUSTOM_ELEMENT: On,
104
+ DATA_ATTR: An,
105
105
  DOCTYPE_NAME: Ot,
106
- ERB_EXPR: En,
106
+ ERB_EXPR: gn,
107
107
  IS_ALLOWED_URI: yt,
108
- IS_SCRIPT_OR_DATA: Sn,
109
- MUSTACHE_EXPR: Tn,
110
- TMPLIT_EXPR: gn
108
+ IS_SCRIPT_OR_DATA: Rn,
109
+ MUSTACHE_EXPR: En,
110
+ TMPLIT_EXPR: hn
111
111
  });
112
112
  const Z = {
113
113
  element: 1,
@@ -116,26 +116,26 @@ const Z = {
116
116
  progressingInstruction: 7,
117
117
  comment: 8,
118
118
  document: 9
119
- }, On = function() {
119
+ }, Ln = function() {
120
120
  return typeof window > "u" ? null : window;
121
- }, Ln = function(o, r) {
122
- if (typeof o != "object" || typeof o.createPolicy != "function")
121
+ }, Nn = function(n, r) {
122
+ if (typeof n != "object" || typeof n.createPolicy != "function")
123
123
  return null;
124
124
  let s = null;
125
- const f = "data-tt-policy-suffix";
126
- r && r.hasAttribute(f) && (s = r.getAttribute(f));
127
- const L = "dompurify" + (s ? "#" + s : "");
125
+ const u = "data-tt-policy-suffix";
126
+ r && r.hasAttribute(u) && (s = r.getAttribute(u));
127
+ const N = "dompurify" + (s ? "#" + s : "");
128
128
  try {
129
- return o.createPolicy(L, {
130
- createHTML(N) {
131
- return N;
129
+ return n.createPolicy(N, {
130
+ createHTML(O) {
131
+ return O;
132
132
  },
133
- createScriptURL(N) {
134
- return N;
133
+ createScriptURL(O) {
134
+ return O;
135
135
  }
136
136
  });
137
137
  } catch {
138
- return console.warn("TrustedTypes policy " + L + " could not be created."), null;
138
+ return console.warn("TrustedTypes policy " + N + " could not be created."), null;
139
139
  }
140
140
  }, At = function() {
141
141
  return {
@@ -151,16 +151,16 @@ const Z = {
151
151
  };
152
152
  };
153
153
  function Lt() {
154
- let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : On();
155
- const o = (i) => Lt(i);
156
- if (o.version = "3.2.4", o.removed = [], !a || !a.document || a.document.nodeType !== Z.document || !a.Element)
157
- return o.isSupported = !1, o;
154
+ let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ln();
155
+ const n = (i) => Lt(i);
156
+ if (n.version = "3.2.4", n.removed = [], !a || !a.document || a.document.nodeType !== Z.document || !a.Element)
157
+ return n.isSupported = !1, n;
158
158
  let {
159
159
  document: r
160
160
  } = a;
161
- const s = r, f = s.currentScript, {
162
- DocumentFragment: L,
163
- HTMLTemplateElement: N,
161
+ const s = r, u = s.currentScript, {
162
+ DocumentFragment: N,
163
+ HTMLTemplateElement: O,
164
164
  Node: J,
165
165
  Element: ke,
166
166
  NodeFilter: z,
@@ -169,13 +169,13 @@ function Lt() {
169
169
  DOMParser: Dt,
170
170
  trustedTypes: Q
171
171
  } = a, G = ke.prototype, It = K(G, "cloneNode"), Mt = K(G, "remove"), Ct = K(G, "nextSibling"), wt = K(G, "childNodes"), ee = K(G, "parentNode");
172
- if (typeof N == "function") {
172
+ if (typeof O == "function") {
173
173
  const i = r.createElement("template");
174
174
  i.content && i.content.ownerDocument && (r = i.content.ownerDocument);
175
175
  }
176
176
  let E, W = "";
177
177
  const {
178
- implementation: fe,
178
+ implementation: me,
179
179
  createNodeIterator: xt,
180
180
  createDocumentFragment: Pt,
181
181
  getElementsByTagName: vt
@@ -183,11 +183,11 @@ function Lt() {
183
183
  importNode: kt
184
184
  } = s;
185
185
  let g = At();
186
- o.isSupported = typeof St == "function" && typeof ee == "function" && fe && fe.createHTMLDocument !== void 0;
186
+ n.isSupported = typeof St == "function" && typeof ee == "function" && me && me.createHTMLDocument !== void 0;
187
187
  const {
188
- MUSTACHE_EXPR: me,
189
- ERB_EXPR: pe,
190
- TMPLIT_EXPR: de,
188
+ MUSTACHE_EXPR: pe,
189
+ ERB_EXPR: de,
190
+ TMPLIT_EXPR: _e,
191
191
  DATA_ATTR: Ut,
192
192
  ARIA_ATTR: Ft,
193
193
  IS_SCRIPT_OR_DATA: Ht,
@@ -199,8 +199,8 @@ function Lt() {
199
199
  } = ht, m = null;
200
200
  const He = l({}, [..._t, ...Me, ...Ce, ...we, ...Tt]);
201
201
  let d = null;
202
- const ze = l({}, [...Et, ...xe, ...gt, ...ce]);
203
- let u = Object.seal(Rt(null, {
202
+ const ze = l({}, [...Et, ...xe, ...gt, ...fe]);
203
+ let f = Object.seal(Rt(null, {
204
204
  tagNameCheck: {
205
205
  writable: !0,
206
206
  configurable: !1,
@@ -219,15 +219,15 @@ function Lt() {
219
219
  enumerable: !0,
220
220
  value: !1
221
221
  }
222
- })), B = null, _e = null, Ge = !0, Te = !0, We = !1, Be = !0, P = !1, Ee = !0, w = !1, ge = !1, he = !1, v = !1, te = !1, ne = !1, Ye = !0, Xe = !1;
222
+ })), B = null, Te = null, Ge = !0, Ee = !0, We = !1, Be = !0, P = !1, ge = !0, w = !1, he = !1, Ae = !1, v = !1, te = !1, ne = !1, Ye = !0, Xe = !1;
223
223
  const Gt = "user-content-";
224
- let Ae = !0, Y = !1, k = {}, U = null;
224
+ let Se = !0, Y = !1, k = {}, U = null;
225
225
  const Ve = l({}, ["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"]);
226
226
  let $e = null;
227
227
  const je = l({}, ["audio", "video", "img", "source", "image", "track"]);
228
- let Se = null;
228
+ let Re = null;
229
229
  const qe = l({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), oe = "http://www.w3.org/1998/Math/MathML", ie = "http://www.w3.org/2000/svg", M = "http://www.w3.org/1999/xhtml";
230
- let F = M, Re = !1, ye = null;
230
+ let F = M, ye = !1, Oe = null;
231
231
  const Wt = l({}, [oe, ie, M], Ie);
232
232
  let re = l({}, ["mi", "mo", "mn", "ms", "mtext"]), ae = l({}, ["annotation-xml"]);
233
233
  const Bt = l({}, ["title", "style", "font", "a", "script"]);
@@ -236,30 +236,30 @@ function Lt() {
236
236
  let p = null, H = null;
237
237
  const Vt = r.createElement("form"), Ke = function(e) {
238
238
  return e instanceof RegExp || e instanceof Function;
239
- }, Oe = function() {
239
+ }, Le = function() {
240
240
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
241
241
  if (!(H && H === e)) {
242
242
  if ((!e || typeof e != "object") && (e = {}), e = x(e), X = // eslint-disable-next-line unicorn/prefer-includes
243
- Yt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? Xt : e.PARSER_MEDIA_TYPE, p = X === "application/xhtml+xml" ? Ie : ue, m = b(e, "ALLOWED_TAGS") ? l({}, e.ALLOWED_TAGS, p) : He, d = b(e, "ALLOWED_ATTR") ? l({}, e.ALLOWED_ATTR, p) : ze, ye = b(e, "ALLOWED_NAMESPACES") ? l({}, e.ALLOWED_NAMESPACES, Ie) : Wt, Se = b(e, "ADD_URI_SAFE_ATTR") ? l(x(qe), e.ADD_URI_SAFE_ATTR, p) : qe, $e = b(e, "ADD_DATA_URI_TAGS") ? l(x(je), e.ADD_DATA_URI_TAGS, p) : je, U = b(e, "FORBID_CONTENTS") ? l({}, e.FORBID_CONTENTS, p) : Ve, B = b(e, "FORBID_TAGS") ? l({}, e.FORBID_TAGS, p) : {}, _e = b(e, "FORBID_ATTR") ? l({}, e.FORBID_ATTR, p) : {}, k = b(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ge = e.ALLOW_ARIA_ATTR !== !1, Te = e.ALLOW_DATA_ATTR !== !1, We = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Be = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, Ee = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, v = e.RETURN_DOM || !1, te = e.RETURN_DOM_FRAGMENT || !1, ne = e.RETURN_TRUSTED_TYPE || !1, he = e.FORCE_BODY || !1, Ye = e.SANITIZE_DOM !== !1, Xe = e.SANITIZE_NAMED_PROPS || !1, Ae = e.KEEP_CONTENT !== !1, Y = e.IN_PLACE || !1, Fe = e.ALLOWED_URI_REGEXP || yt, F = e.NAMESPACE || M, re = e.MATHML_TEXT_INTEGRATION_POINTS || re, ae = e.HTML_INTEGRATION_POINTS || ae, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (u.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (u.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (Te = !1), te && (v = !0), k && (m = l({}, Tt), d = [], k.html === !0 && (l(m, _t), l(d, Et)), k.svg === !0 && (l(m, Me), l(d, xe), l(d, ce)), k.svgFilters === !0 && (l(m, Ce), l(d, xe), l(d, ce)), k.mathMl === !0 && (l(m, we), l(d, gt), l(d, ce))), e.ADD_TAGS && (m === He && (m = x(m)), l(m, e.ADD_TAGS, p)), e.ADD_ATTR && (d === ze && (d = x(d)), l(d, e.ADD_ATTR, p)), e.ADD_URI_SAFE_ATTR && l(Se, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (U === Ve && (U = x(U)), l(U, e.FORBID_CONTENTS, p)), Ae && (m["#text"] = !0), w && l(m, ["html", "head", "body"]), m.table && (l(m, ["tbody"]), delete B.tbody), e.TRUSTED_TYPES_POLICY) {
243
+ Yt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? Xt : e.PARSER_MEDIA_TYPE, p = X === "application/xhtml+xml" ? Ie : ue, m = b(e, "ALLOWED_TAGS") ? l({}, e.ALLOWED_TAGS, p) : He, d = b(e, "ALLOWED_ATTR") ? l({}, e.ALLOWED_ATTR, p) : ze, Oe = b(e, "ALLOWED_NAMESPACES") ? l({}, e.ALLOWED_NAMESPACES, Ie) : Wt, Re = b(e, "ADD_URI_SAFE_ATTR") ? l(x(qe), e.ADD_URI_SAFE_ATTR, p) : qe, $e = b(e, "ADD_DATA_URI_TAGS") ? l(x(je), e.ADD_DATA_URI_TAGS, p) : je, U = b(e, "FORBID_CONTENTS") ? l({}, e.FORBID_CONTENTS, p) : Ve, B = b(e, "FORBID_TAGS") ? l({}, e.FORBID_TAGS, p) : {}, Te = b(e, "FORBID_ATTR") ? l({}, e.FORBID_ATTR, p) : {}, k = b(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ge = e.ALLOW_ARIA_ATTR !== !1, Ee = e.ALLOW_DATA_ATTR !== !1, We = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Be = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, ge = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, v = e.RETURN_DOM || !1, te = e.RETURN_DOM_FRAGMENT || !1, ne = e.RETURN_TRUSTED_TYPE || !1, Ae = e.FORCE_BODY || !1, Ye = e.SANITIZE_DOM !== !1, Xe = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, Y = e.IN_PLACE || !1, Fe = e.ALLOWED_URI_REGEXP || yt, F = e.NAMESPACE || M, re = e.MATHML_TEXT_INTEGRATION_POINTS || re, ae = e.HTML_INTEGRATION_POINTS || ae, f = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ke(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (f.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ke(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (f.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (f.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (Ee = !1), te && (v = !0), k && (m = l({}, Tt), d = [], k.html === !0 && (l(m, _t), l(d, Et)), k.svg === !0 && (l(m, Me), l(d, xe), l(d, fe)), k.svgFilters === !0 && (l(m, Ce), l(d, xe), l(d, fe)), k.mathMl === !0 && (l(m, we), l(d, gt), l(d, fe))), e.ADD_TAGS && (m === He && (m = x(m)), l(m, e.ADD_TAGS, p)), e.ADD_ATTR && (d === ze && (d = x(d)), l(d, e.ADD_ATTR, p)), e.ADD_URI_SAFE_ATTR && l(Re, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (U === Ve && (U = x(U)), l(U, e.FORBID_CONTENTS, p)), Se && (m["#text"] = !0), w && l(m, ["html", "head", "body"]), m.table && (l(m, ["tbody"]), delete B.tbody), e.TRUSTED_TYPES_POLICY) {
244
244
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
245
245
  throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
246
246
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
247
247
  throw q('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
248
248
  E = e.TRUSTED_TYPES_POLICY, W = E.createHTML("");
249
249
  } else
250
- E === void 0 && (E = Ln(Q, f)), E !== null && typeof W == "string" && (W = E.createHTML(""));
250
+ E === void 0 && (E = Nn(Q, u)), E !== null && typeof W == "string" && (W = E.createHTML(""));
251
251
  S && S(e), H = e;
252
252
  }
253
- }, Ze = l({}, [...Me, ...Ce, ...dn]), Je = l({}, [...we, ..._n]), $t = function(e) {
253
+ }, Ze = l({}, [...Me, ...Ce, ..._n]), Je = l({}, [...we, ...Tn]), $t = function(e) {
254
254
  let t = ee(e);
255
255
  (!t || !t.tagName) && (t = {
256
256
  namespaceURI: F,
257
257
  tagName: "template"
258
258
  });
259
- const n = ue(e.tagName), c = ue(t.tagName);
260
- return ye[e.namespaceURI] ? e.namespaceURI === ie ? t.namespaceURI === M ? n === "svg" : t.namespaceURI === oe ? n === "svg" && (c === "annotation-xml" || re[c]) : !!Ze[n] : e.namespaceURI === oe ? t.namespaceURI === M ? n === "math" : t.namespaceURI === ie ? n === "math" && ae[c] : !!Je[n] : e.namespaceURI === M ? t.namespaceURI === ie && !ae[c] || t.namespaceURI === oe && !re[c] ? !1 : !Je[n] && (Bt[n] || !Ze[n]) : !!(X === "application/xhtml+xml" && ye[e.namespaceURI]) : !1;
259
+ const o = ue(e.tagName), c = ue(t.tagName);
260
+ return Oe[e.namespaceURI] ? e.namespaceURI === ie ? t.namespaceURI === M ? o === "svg" : t.namespaceURI === oe ? o === "svg" && (c === "annotation-xml" || re[c]) : !!Ze[o] : e.namespaceURI === oe ? t.namespaceURI === M ? o === "math" : t.namespaceURI === ie ? o === "math" && ae[c] : !!Je[o] : e.namespaceURI === M ? t.namespaceURI === ie && !ae[c] || t.namespaceURI === oe && !re[c] ? !1 : !Je[o] && (Bt[o] || !Ze[o]) : !!(X === "application/xhtml+xml" && Oe[e.namespaceURI]) : !1;
261
261
  }, D = function(e) {
262
- $(o.removed, {
262
+ $(n.removed, {
263
263
  element: e
264
264
  });
265
265
  try {
@@ -269,12 +269,12 @@ function Lt() {
269
269
  }
270
270
  }, se = function(e, t) {
271
271
  try {
272
- $(o.removed, {
272
+ $(n.removed, {
273
273
  attribute: t.getAttributeNode(e),
274
274
  from: t
275
275
  });
276
276
  } catch {
277
- $(o.removed, {
277
+ $(n.removed, {
278
278
  attribute: null,
279
279
  from: t
280
280
  });
@@ -291,12 +291,12 @@ function Lt() {
291
291
  } catch {
292
292
  }
293
293
  }, Qe = function(e) {
294
- let t = null, n = null;
295
- if (he)
294
+ let t = null, o = null;
295
+ if (Ae)
296
296
  e = "<remove></remove>" + e;
297
297
  else {
298
298
  const _ = dt(e, /^[\r\n\t ]+/);
299
- n = _ && _[0];
299
+ o = _ && _[0];
300
300
  }
301
301
  X === "application/xhtml+xml" && F === M && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
302
302
  const c = E ? E.createHTML(e) : e;
@@ -306,14 +306,14 @@ function Lt() {
306
306
  } catch {
307
307
  }
308
308
  if (!t || !t.documentElement) {
309
- t = fe.createDocument(F, "template", null);
309
+ t = me.createDocument(F, "template", null);
310
310
  try {
311
- t.documentElement.innerHTML = Re ? W : c;
311
+ t.documentElement.innerHTML = ye ? W : c;
312
312
  } catch {
313
313
  }
314
314
  }
315
315
  const T = t.body || t.documentElement;
316
- return e && n && T.insertBefore(r.createTextNode(n), T.childNodes[0] || null), F === M ? vt.call(t, w ? "html" : "body")[0] : w ? t.documentElement : T;
316
+ return e && o && T.insertBefore(r.createTextNode(o), T.childNodes[0] || null), F === M ? vt.call(t, w ? "html" : "body")[0] : w ? t.documentElement : T;
317
317
  }, et = function(e) {
318
318
  return xt.call(
319
319
  e.ownerDocument || e,
@@ -322,30 +322,30 @@ function Lt() {
322
322
  z.SHOW_ELEMENT | z.SHOW_COMMENT | z.SHOW_TEXT | z.SHOW_PROCESSING_INSTRUCTION | z.SHOW_CDATA_SECTION,
323
323
  null
324
324
  );
325
- }, Le = function(e) {
325
+ }, Ne = function(e) {
326
326
  return e instanceof bt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Nt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
327
327
  }, tt = function(e) {
328
328
  return typeof J == "function" && e instanceof J;
329
329
  };
330
330
  function C(i, e, t) {
331
- le(i, (n) => {
332
- n.call(o, e, t, H);
331
+ ce(i, (o) => {
332
+ o.call(n, e, t, H);
333
333
  });
334
334
  }
335
335
  const nt = function(e) {
336
336
  let t = null;
337
- if (C(g.beforeSanitizeElements, e, null), Le(e))
337
+ if (C(g.beforeSanitizeElements, e, null), Ne(e))
338
338
  return D(e), !0;
339
- const n = p(e.nodeName);
339
+ const o = p(e.nodeName);
340
340
  if (C(g.uponSanitizeElement, e, {
341
- tagName: n,
341
+ tagName: o,
342
342
  allowedTags: m
343
- }), e.hasChildNodes() && !tt(e.firstElementChild) && A(/<[/\w]/g, e.innerHTML) && A(/<[/\w]/g, e.textContent) || e.nodeType === Z.progressingInstruction || Ee && e.nodeType === Z.comment && A(/<[/\w]/g, e.data))
343
+ }), e.hasChildNodes() && !tt(e.firstElementChild) && A(/<[/\w]/g, e.innerHTML) && A(/<[/\w]/g, e.textContent) || e.nodeType === Z.progressingInstruction || ge && e.nodeType === Z.comment && A(/<[/\w]/g, e.data))
344
344
  return D(e), !0;
345
- if (!m[n] || B[n]) {
346
- if (!B[n] && it(n) && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
345
+ if (!m[o] || B[o]) {
346
+ if (!B[o] && it(o) && (f.tagNameCheck instanceof RegExp && A(f.tagNameCheck, o) || f.tagNameCheck instanceof Function && f.tagNameCheck(o)))
347
347
  return !1;
348
- if (Ae && !U[n]) {
348
+ if (Se && !U[o]) {
349
349
  const c = ee(e) || e.parentNode, T = wt(e) || e.childNodes;
350
350
  if (T && c) {
351
351
  const _ = T.length;
@@ -357,30 +357,30 @@ function Lt() {
357
357
  }
358
358
  return D(e), !0;
359
359
  }
360
- return e instanceof ke && !$t(e) || (n === "noscript" || n === "noembed" || n === "noframes") && A(/<\/no(script|embed|frames)/i, e.innerHTML) ? (D(e), !0) : (P && e.nodeType === Z.text && (t = e.textContent, le([me, pe, de], (c) => {
360
+ return e instanceof ke && !$t(e) || (o === "noscript" || o === "noembed" || o === "noframes") && A(/<\/no(script|embed|frames)/i, e.innerHTML) ? (D(e), !0) : (P && e.nodeType === Z.text && (t = e.textContent, ce([pe, de, _e], (c) => {
361
361
  t = j(t, c, " ");
362
- }), e.textContent !== t && ($(o.removed, {
362
+ }), e.textContent !== t && ($(n.removed, {
363
363
  element: e.cloneNode()
364
364
  }), e.textContent = t)), C(g.afterSanitizeElements, e, null), !1);
365
- }, ot = function(e, t, n) {
366
- if (Ye && (t === "id" || t === "name") && (n in r || n in Vt))
365
+ }, ot = function(e, t, o) {
366
+ if (Ye && (t === "id" || t === "name") && (o in r || o in Vt))
367
367
  return !1;
368
- if (!(Te && !_e[t] && A(Ut, t))) {
368
+ if (!(Ee && !Te[t] && A(Ut, t))) {
369
369
  if (!(Ge && A(Ft, t))) {
370
- if (!d[t] || _e[t]) {
370
+ if (!d[t] || Te[t]) {
371
371
  if (
372
372
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
373
373
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
374
374
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
375
- !(it(e) && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && A(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
375
+ !(it(e) && (f.tagNameCheck instanceof RegExp && A(f.tagNameCheck, e) || f.tagNameCheck instanceof Function && f.tagNameCheck(e)) && (f.attributeNameCheck instanceof RegExp && A(f.attributeNameCheck, t) || f.attributeNameCheck instanceof Function && f.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
376
376
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
377
- t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && A(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
377
+ t === "is" && f.allowCustomizedBuiltInElements && (f.tagNameCheck instanceof RegExp && A(f.tagNameCheck, o) || f.tagNameCheck instanceof Function && f.tagNameCheck(o)))
378
378
  ) return !1;
379
- } else if (!Se[t]) {
380
- if (!A(Fe, j(n, Ue, ""))) {
381
- if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && un(n, "data:") === 0 && $e[e])) {
382
- if (!(We && !A(Ht, j(n, Ue, "")))) {
383
- if (n)
379
+ } else if (!Re[t]) {
380
+ if (!A(Fe, j(o, Ue, ""))) {
381
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && un(o, "data:") === 0 && $e[e])) {
382
+ if (!(We && !A(Ht, j(o, Ue, "")))) {
383
+ if (o)
384
384
  return !1;
385
385
  }
386
386
  }
@@ -396,9 +396,9 @@ function Lt() {
396
396
  const {
397
397
  attributes: t
398
398
  } = e;
399
- if (!t || Le(e))
399
+ if (!t || Ne(e))
400
400
  return;
401
- const n = {
401
+ const o = {
402
402
  attrName: "",
403
403
  attrValue: "",
404
404
  keepAttr: !0,
@@ -412,18 +412,18 @@ function Lt() {
412
412
  namespaceURI: y,
413
413
  value: I
414
414
  } = T, V = p(_);
415
- let h = _ === "value" ? I : fn(I);
416
- if (n.attrName = V, n.attrValue = h, n.keepAttr = !0, n.forceKeepAttr = void 0, C(g.uponSanitizeAttribute, e, n), h = n.attrValue, Xe && (V === "id" || V === "name") && (se(_, e), h = Gt + h), Ee && A(/((--!?|])>)|<\/(style|title)/i, h)) {
415
+ let h = _ === "value" ? I : mn(I);
416
+ if (o.attrName = V, o.attrValue = h, o.keepAttr = !0, o.forceKeepAttr = void 0, C(g.uponSanitizeAttribute, e, o), h = o.attrValue, Xe && (V === "id" || V === "name") && (se(_, e), h = Gt + h), ge && A(/((--!?|])>)|<\/(style|title)/i, h)) {
417
417
  se(_, e);
418
418
  continue;
419
419
  }
420
- if (n.forceKeepAttr || (se(_, e), !n.keepAttr))
420
+ if (o.forceKeepAttr || (se(_, e), !o.keepAttr))
421
421
  continue;
422
422
  if (!Be && A(/\/>/i, h)) {
423
423
  se(_, e);
424
424
  continue;
425
425
  }
426
- P && le([me, pe, de], (st) => {
426
+ P && ce([pe, de, _e], (st) => {
427
427
  h = j(h, st, " ");
428
428
  });
429
429
  const at = p(e.nodeName);
@@ -440,7 +440,7 @@ function Lt() {
440
440
  }
441
441
  }
442
442
  try {
443
- y ? e.setAttributeNS(y, _, h) : e.setAttribute(_, h), Le(e) ? D(e) : pt(o.removed);
443
+ y ? e.setAttributeNS(y, _, h) : e.setAttribute(_, h), Ne(e) ? D(e) : pt(n.removed);
444
444
  } catch {
445
445
  }
446
446
  }
@@ -448,29 +448,29 @@ function Lt() {
448
448
  C(g.afterSanitizeAttributes, e, null);
449
449
  }, jt = function i(e) {
450
450
  let t = null;
451
- const n = et(e);
452
- for (C(g.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
453
- C(g.uponSanitizeShadowNode, t, null), nt(t), rt(t), t.content instanceof L && i(t.content);
451
+ const o = et(e);
452
+ for (C(g.beforeSanitizeShadowDOM, e, null); t = o.nextNode(); )
453
+ C(g.uponSanitizeShadowNode, t, null), nt(t), rt(t), t.content instanceof N && i(t.content);
454
454
  C(g.afterSanitizeShadowDOM, e, null);
455
455
  };
456
- return o.sanitize = function(i) {
457
- let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, c = null, T = null;
458
- if (Re = !i, Re && (i = "<!-->"), typeof i != "string" && !tt(i))
456
+ return n.sanitize = function(i) {
457
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, o = null, c = null, T = null;
458
+ if (ye = !i, ye && (i = "<!-->"), typeof i != "string" && !tt(i))
459
459
  if (typeof i.toString == "function") {
460
460
  if (i = i.toString(), typeof i != "string")
461
461
  throw q("dirty is not a string, aborting");
462
462
  } else
463
463
  throw q("toString is not a function");
464
- if (!o.isSupported)
464
+ if (!n.isSupported)
465
465
  return i;
466
- if (ge || Oe(e), o.removed = [], typeof i == "string" && (Y = !1), Y) {
466
+ if (he || Le(e), n.removed = [], typeof i == "string" && (Y = !1), Y) {
467
467
  if (i.nodeName) {
468
468
  const I = p(i.nodeName);
469
469
  if (!m[I] || B[I])
470
470
  throw q("root node is forbidden and cannot be sanitized in-place");
471
471
  }
472
472
  } else if (i instanceof J)
473
- t = Qe("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Z.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
473
+ t = Qe("<!---->"), o = t.ownerDocument.importNode(i, !0), o.nodeType === Z.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? t = o : t.appendChild(o);
474
474
  else {
475
475
  if (!v && !P && !w && // eslint-disable-next-line unicorn/prefer-includes
476
476
  i.indexOf("<") === -1)
@@ -478,10 +478,10 @@ function Lt() {
478
478
  if (t = Qe(i), !t)
479
479
  return v ? null : ne ? W : "";
480
480
  }
481
- t && he && D(t.firstChild);
481
+ t && Ae && D(t.firstChild);
482
482
  const _ = et(Y ? i : t);
483
483
  for (; c = _.nextNode(); )
484
- nt(c), rt(c), c.content instanceof L && jt(c.content);
484
+ nt(c), rt(c), c.content instanceof N && jt(c.content);
485
485
  if (Y)
486
486
  return i;
487
487
  if (v) {
@@ -494,74 +494,79 @@ function Lt() {
494
494
  }
495
495
  let y = w ? t.outerHTML : t.innerHTML;
496
496
  return w && m["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && A(Ot, t.ownerDocument.doctype.name) && (y = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
497
- ` + y), P && le([me, pe, de], (I) => {
497
+ ` + y), P && ce([pe, de, _e], (I) => {
498
498
  y = j(y, I, " ");
499
499
  }), E && ne ? E.createHTML(y) : y;
500
- }, o.setConfig = function() {
500
+ }, n.setConfig = function() {
501
501
  let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
502
- Oe(i), ge = !0;
503
- }, o.clearConfig = function() {
504
- H = null, ge = !1;
505
- }, o.isValidAttribute = function(i, e, t) {
506
- H || Oe({});
507
- const n = p(i), c = p(e);
508
- return ot(n, c, t);
509
- }, o.addHook = function(i, e) {
502
+ Le(i), he = !0;
503
+ }, n.clearConfig = function() {
504
+ H = null, he = !1;
505
+ }, n.isValidAttribute = function(i, e, t) {
506
+ H || Le({});
507
+ const o = p(i), c = p(e);
508
+ return ot(o, c, t);
509
+ }, n.addHook = function(i, e) {
510
510
  typeof e == "function" && $(g[i], e);
511
- }, o.removeHook = function(i, e) {
511
+ }, n.removeHook = function(i, e) {
512
512
  if (e !== void 0) {
513
- const t = ln(g[i], e);
514
- return t === -1 ? void 0 : cn(g[i], t, 1)[0];
513
+ const t = cn(g[i], e);
514
+ return t === -1 ? void 0 : fn(g[i], t, 1)[0];
515
515
  }
516
516
  return pt(g[i]);
517
- }, o.removeHooks = function(i) {
517
+ }, n.removeHooks = function(i) {
518
518
  g[i] = [];
519
- }, o.removeAllHooks = function() {
519
+ }, n.removeAllHooks = function() {
520
520
  g = At();
521
- }, o;
521
+ }, n;
522
522
  }
523
- var Nn = Lt();
524
- const bn = ["role"], Dn = ["innerHTML"], In = { key: 1 }, Mn = /* @__PURE__ */ qt({
523
+ var bn = Lt();
524
+ const Dn = ["role"], In = ["innerHTML"], Mn = { key: 1 }, Cn = /* @__PURE__ */ qt({
525
525
  __name: "Toast",
526
526
  props: {
527
527
  text: {},
528
- status: { default: "info" }
528
+ status: { default: "info" },
529
+ offsetTop: {}
529
530
  },
530
531
  setup(a) {
531
- const o = Kt(), r = a, s = lt(
532
- () => r.status ? ft[Qt(r.status)] : ft.Info
533
- ), f = lt(() => r.status === en.Error ? "alert" : "status"), L = () => {
532
+ Kt((O) => ({
533
+ d92958b2: r.offsetTop
534
+ }));
535
+ const n = Zt(), r = a, s = lt(
536
+ () => r.status ? ut[en(r.status)] : ut.Info
537
+ ), u = lt(() => r.status === tn.Error ? "alert" : "status"), N = () => {
534
538
  if (typeof r.text != "function")
535
- return ut.error(
539
+ return ft.error(
536
540
  `Toast: ${r.text} is not a valid text prop value. Must be either a render function or a string.`
537
541
  ), null;
538
- const N = r.text();
539
- return Jt(N) ? N : (ut.error("Toast: The text prop must return a VNode."), null);
542
+ const O = r.text();
543
+ return Qt(O) ? O : (ft.error("Toast: The text prop must return a VNode."), null);
540
544
  };
541
- return (N, J) => (be(), Ne("li", {
542
- role: f.value,
543
- class: Zt([[De(o).root, De(o)[`status--${r.status}`]], "stash-toast"]),
545
+ return (O, J) => (De(), be("li", {
546
+ role: u.value,
547
+ class: Jt([[le(n).root, le(n)[`status--${r.status}`], { [le(n)["custom-offset-top"]]: r.offsetTop }], "stash-toast"]),
544
548
  "data-test": "stash-toast"
545
549
  }, [
546
- ct(nn, { name: s.value }, null, 8, ["name"]),
547
- typeof r.text == "string" ? (be(), Ne("div", {
550
+ ct(on, { name: s.value }, null, 8, ["name"]),
551
+ typeof r.text == "string" ? (De(), be("div", {
548
552
  key: 0,
549
- innerHTML: De(Nn).sanitize(N.text)
550
- }, null, 8, Dn)) : (be(), Ne("div", In, [
551
- ct(tn, { render: L })
553
+ innerHTML: le(bn).sanitize(O.text)
554
+ }, null, 8, In)) : (De(), be("div", Mn, [
555
+ ct(nn, { render: N })
552
556
  ]))
553
- ], 10, bn));
557
+ ], 10, Dn));
554
558
  }
555
- }), Cn = "_root_p3yhd_2", wn = {
556
- root: Cn,
557
- "status--success": "_status--success_p3yhd_22",
558
- "status--error": "_status--error_p3yhd_31",
559
- "status--info": "_status--info_p3yhd_40",
560
- "status--warning": "_status--warning_p3yhd_49"
561
- }, xn = {
562
- $style: wn
563
- }, Gn = /* @__PURE__ */ on(Mn, [["__cssModules", xn]]);
559
+ }), wn = "_root_17nf0_2", xn = {
560
+ root: wn,
561
+ "custom-offset-top": "_custom-offset-top_17nf0_16",
562
+ "status--success": "_status--success_17nf0_31",
563
+ "status--error": "_status--error_17nf0_40",
564
+ "status--info": "_status--info_17nf0_49",
565
+ "status--warning": "_status--warning_17nf0_58"
566
+ }, Pn = {
567
+ $style: xn
568
+ }, Wn = /* @__PURE__ */ rn(Cn, [["__cssModules", Pn]]);
564
569
  export {
565
- Gn as default
570
+ Wn as default
566
571
  };
567
572
  //# sourceMappingURL=Toast.js.map