@temp-spotwork/ui 1.7.3 → 1.7.5

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 (90) hide show
  1. package/dist/{Combination-B1NSOvaC.js → Combination-Cmsu7uVq.js} +1 -1
  2. package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-BVfed4GL.js} +2 -2
  3. package/dist/{addYears-D3POA9ql.js → addYears-BWBSd1NA.js} +1 -1
  4. package/dist/components/atoms/avatar/avatar.js +17 -17
  5. package/dist/components/atoms/conversation/chatheader/chatheader.js +1 -1
  6. package/dist/components/atoms/form/calendar/calendar-date-cell.js +7 -7
  7. package/dist/components/atoms/form/calendar/calendar-month.js +1 -1
  8. package/dist/components/atoms/form/calendar/calendar-utils.js +1 -1
  9. package/dist/components/atoms/form/calendar/calendar.js +1 -1
  10. package/dist/components/atoms/form/calendar/calendar.stories.js +2 -2
  11. package/dist/components/atoms/form/calendar/month-header.js +1 -1
  12. package/dist/components/atoms/form/checkbox/checkbox.js +1 -1
  13. package/dist/components/atoms/form/chips/chips.js +1 -1
  14. package/dist/components/atoms/form/dateselect/date-calendar.js +1 -1
  15. package/dist/components/atoms/form/dateselect/date-dropdown-header.js +1 -1
  16. package/dist/components/atoms/form/dateselect/date-input.js +3 -3
  17. package/dist/components/atoms/form/dateselect/date-month-year-switch.js +1 -1
  18. package/dist/components/atoms/form/dateselect/dateselect.js +4 -4
  19. package/dist/components/atoms/form/dateselect/month-switch.js +3 -3
  20. package/dist/components/atoms/form/dateselect/year-switch.js +4 -4
  21. package/dist/components/atoms/form/dropdown/dropdown.js +2 -2
  22. package/dist/components/atoms/form/dropdown/styles.js +1 -1
  23. package/dist/components/atoms/form/multiselect/multiselect.js +1 -1
  24. package/dist/components/atoms/form/navigation/navigation.js +1 -1
  25. package/dist/components/atoms/form/stepper/stepper.js +1 -1
  26. package/dist/components/atoms/form/switch/switch.js +4 -4
  27. package/dist/components/atoms/form/textarea/rich-textarea.js +1 -1
  28. package/dist/components/atoms/form/textarea/textarea.js +1 -1
  29. package/dist/components/atoms/form/textfield/textfield.js +1 -1
  30. package/dist/components/atoms/form/time-picker/time-picker-dropdown.js +2 -2
  31. package/dist/components/atoms/form/time-picker/time-picker-input.js +2 -2
  32. package/dist/components/atoms/form/time-picker/time-picker.js +1 -1
  33. package/dist/components/atoms/form/time-picker/time-picker.stories.js +1 -1
  34. package/dist/components/atoms/form/timeselect/hours-switch.js +2 -2
  35. package/dist/components/atoms/form/timeselect/minutes-switch.js +2 -2
  36. package/dist/components/atoms/form/timeselect/timeselect.js +1 -1
  37. package/dist/components/atoms/icons/icons.js +6 -6
  38. package/dist/components/atoms/icons/icons.stories.js +1 -1
  39. package/dist/components/atoms/navigation/navigation-item/navigation-item.d.ts +14 -1
  40. package/dist/components/atoms/navigation/navigation-item/navigation-item.js +56 -56
  41. package/dist/components/atoms/small-large-text/SmallLargeText.stories.d.ts +11 -0
  42. package/dist/components/atoms/small-large-text/SmallLargeText.stories.js +60 -0
  43. package/dist/components/atoms/small-large-text/small-large-text.js +22 -12
  44. package/dist/components/atoms/tooltip/tooltip.js +5 -5
  45. package/dist/components/atoms/tooltip/tooltip.stories.js +1 -1
  46. package/dist/components/molecules/alert/alert.js +8 -6
  47. package/dist/components/molecules/conversation/contact/contact.js +1 -1
  48. package/dist/components/molecules/conversation/message-editor/message-editor.js +1 -1
  49. package/dist/components/molecules/datatables/row-header/row-header.js +1 -1
  50. package/dist/components/molecules/dataviz/donut-chart/donut-chart.js +1 -1
  51. package/dist/components/molecules/dataviz/dot-matrix/dot-matrix.js +1 -1
  52. package/dist/components/molecules/dialog/dialog.js +8 -6
  53. package/dist/components/molecules/drawer/drawer.js +14 -12
  54. package/dist/components/molecules/filter/checkbox/checkbox.js +1 -1
  55. package/dist/components/molecules/filter/context-search/context-search.js +1 -1
  56. package/dist/components/molecules/filter/date-range-selector/date-range-selector.js +4 -4
  57. package/dist/components/molecules/filter/date-selector/date-selector.js +4 -4
  58. package/dist/components/molecules/filter/dropdown-selector/dropdown-selector.js +2 -2
  59. package/dist/components/molecules/filter/dropdown-selector/styles.js +1 -1
  60. package/dist/components/molecules/filter/range-selector/range-selector.js +3 -3
  61. package/dist/components/molecules/filter/range-selector/styles.js +1 -1
  62. package/dist/components/molecules/link/link.js +1 -1
  63. package/dist/components/molecules/navigation/context-menu/context-menu.js +1 -1
  64. package/dist/components/molecules/navigation/menubar/menubar.js +1 -1
  65. package/dist/components/molecules/navigation/sidebar/sidebar.js +28 -31
  66. package/dist/components/molecules/snackbar/Snackbar.stories.js +1 -1
  67. package/dist/components/molecules/snackbar/index.js +1 -1
  68. package/dist/components/molecules/snackbar/snackbar.js +7 -5
  69. package/dist/components/styles/colors/colors.js +1 -1
  70. package/dist/components/styles/typography/typography.js +1 -1
  71. package/dist/{constants-BfMb81ht.js → constants-B4duAnvD.js} +5 -5
  72. package/dist/{format-BwmhcciO.js → format-BuDzOByC.js} +8 -8
  73. package/dist/{index-QKj2bKph.js → index-Bm3lnWO8.js} +23 -23
  74. package/dist/{index-DVNTJNwY.js → index-C8EuuBMC.js} +6 -6
  75. package/dist/{index-B9jfXCBx.js → index-CRTzrqB9.js} +14 -14
  76. package/dist/{index-Bam3aisa.js → index-CSucbNlF.js} +17 -17
  77. package/dist/{index-Ck3lRuRz.js → index-CYMdFyYH.js} +10 -10
  78. package/dist/{index-ByBd5wKB.js → index-C_XRprxd.js} +3 -3
  79. package/dist/{index-DLKZ-XYv.js → index-DL5wn_Sh.js} +20 -20
  80. package/dist/{index-fN7hCOo3.js → index-Y8TYOJJY.js} +1 -1
  81. package/dist/{index-DMvnp-vR.js → index-e0vK3ttb.js} +1 -1
  82. package/dist/{isToday-DmBTkQMq.js → isToday-CO0rX_Nr.js} +2 -2
  83. package/dist/{lodash-CyvSh4lH.js → lodash-Da6oICkd.js} +1 -1
  84. package/dist/main.js +22 -22
  85. package/dist/purify.es-Bxiq5T7l.js +590 -0
  86. package/dist/{react-spring_web.modern-BzbxCya-.js → react-spring_web.modern-CKwWSQke.js} +3 -3
  87. package/dist/{snackbar-BUPlWHWk.js → snackbar-B9zd5z5s.js} +21 -19
  88. package/dist/{startOfToday-BPMZZniU.js → startOfToday-CHlrckpa.js} +1 -1
  89. package/package.json +3 -2
  90. package/dist/purify.es-CcKdJiNO.js +0 -595
@@ -0,0 +1,590 @@
1
+ /*! @license DOMPurify 3.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.3/LICENSE */
2
+ function Tt(n, o) {
3
+ (o == null || o > n.length) && (o = n.length);
4
+ for (var r = 0, s = Array(o); r < o; r++) s[r] = n[r];
5
+ return s;
6
+ }
7
+ function Qt(n) {
8
+ if (Array.isArray(n)) return n;
9
+ }
10
+ function en(n, o) {
11
+ var r = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
12
+ if (r != null) {
13
+ var s, f, u, C, U = [], B = !0, v = !1;
14
+ try {
15
+ if (u = (r = r.call(n)).next, o !== 0) for (; !(B = (s = u.call(r)).done) && (U.push(s.value), U.length !== o); B = !0) ;
16
+ } catch (se) {
17
+ v = !0, f = se;
18
+ } finally {
19
+ try {
20
+ if (!B && r.return != null && (C = r.return(), Object(C) !== C)) return;
21
+ } finally {
22
+ if (v) throw f;
23
+ }
24
+ }
25
+ return U;
26
+ }
27
+ }
28
+ function tn() {
29
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
30
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
31
+ }
32
+ function nn(n, o) {
33
+ return Qt(n) || en(n, o) || on(n, o) || tn();
34
+ }
35
+ function on(n, o) {
36
+ if (n) {
37
+ if (typeof n == "string") return Tt(n, o);
38
+ var r = {}.toString.call(n).slice(8, -1);
39
+ return r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set" ? Array.from(n) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Tt(n, o) : void 0;
40
+ }
41
+ }
42
+ const Nt = Object.entries, gt = Object.setPrototypeOf, rn = Object.isFrozen, an = Object.getPrototypeOf, sn = Object.getOwnPropertyDescriptor;
43
+ let O = Object.freeze, L = Object.seal, Z = Object.create, Lt = typeof Reflect < "u" && Reflect, We = Lt.apply, je = Lt.construct;
44
+ O || (O = function(o) {
45
+ return o;
46
+ });
47
+ L || (L = function(o) {
48
+ return o;
49
+ });
50
+ We || (We = function(o, r) {
51
+ for (var s = arguments.length, f = new Array(s > 2 ? s - 2 : 0), u = 2; u < s; u++)
52
+ f[u - 2] = arguments[u];
53
+ return o.apply(r, f);
54
+ });
55
+ je || (je = function(o) {
56
+ for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), f = 1; f < r; f++)
57
+ s[f - 1] = arguments[f];
58
+ return new o(...s);
59
+ });
60
+ const X = T(Array.prototype.forEach), ln = T(Array.prototype.lastIndexOf), _t = T(Array.prototype.pop), V = T(Array.prototype.push), cn = T(Array.prototype.splice), b = Array.isArray, ae = T(String.prototype.toLowerCase), Ue = T(String.prototype.toString), At = T(String.prototype.match), q = T(String.prototype.replace), Et = T(String.prototype.indexOf), fn = T(String.prototype.trim), un = T(Number.prototype.toString), mn = T(Boolean.prototype.toString), ht = typeof BigInt > "u" ? null : T(BigInt.prototype.toString), St = typeof Symbol > "u" ? null : T(Symbol.prototype.toString), m = T(Object.prototype.hasOwnProperty), re = T(Object.prototype.toString), S = T(RegExp.prototype.test), he = pn(TypeError);
61
+ function T(n) {
62
+ return function(o) {
63
+ o instanceof RegExp && (o.lastIndex = 0);
64
+ for (var r = arguments.length, s = new Array(r > 1 ? r - 1 : 0), f = 1; f < r; f++)
65
+ s[f - 1] = arguments[f];
66
+ return We(n, o, s);
67
+ };
68
+ }
69
+ function pn(n) {
70
+ return function() {
71
+ for (var o = arguments.length, r = new Array(o), s = 0; s < o; s++)
72
+ r[s] = arguments[s];
73
+ return je(n, r);
74
+ };
75
+ }
76
+ function l(n, o) {
77
+ let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae;
78
+ if (gt && gt(n, null), !b(o))
79
+ return n;
80
+ let s = o.length;
81
+ for (; s--; ) {
82
+ let f = o[s];
83
+ if (typeof f == "string") {
84
+ const u = r(f);
85
+ u !== f && (rn(o) || (o[s] = u), f = u);
86
+ }
87
+ n[f] = !0;
88
+ }
89
+ return n;
90
+ }
91
+ function dn(n) {
92
+ for (let o = 0; o < n.length; o++)
93
+ m(n, o) || (n[o] = null);
94
+ return n;
95
+ }
96
+ function I(n) {
97
+ const o = Z(null);
98
+ for (const s of Nt(n)) {
99
+ var r = nn(s, 2);
100
+ const f = r[0], u = r[1];
101
+ m(n, f) && (b(u) ? o[f] = dn(u) : u && typeof u == "object" && u.constructor === Object ? o[f] = I(u) : o[f] = u);
102
+ }
103
+ return o;
104
+ }
105
+ function Tn(n) {
106
+ switch (typeof n) {
107
+ case "string":
108
+ return n;
109
+ case "number":
110
+ return un(n);
111
+ case "boolean":
112
+ return mn(n);
113
+ case "bigint":
114
+ return ht ? ht(n) : "0";
115
+ case "symbol":
116
+ return St ? St(n) : "Symbol()";
117
+ case "undefined":
118
+ return re(n);
119
+ case "function":
120
+ case "object": {
121
+ if (n === null)
122
+ return re(n);
123
+ const o = n, r = J(o, "toString");
124
+ if (typeof r == "function") {
125
+ const s = r(o);
126
+ return typeof s == "string" ? s : re(s);
127
+ }
128
+ return re(n);
129
+ }
130
+ default:
131
+ return re(n);
132
+ }
133
+ }
134
+ function J(n, o) {
135
+ for (; n !== null; ) {
136
+ const s = sn(n, o);
137
+ if (s) {
138
+ if (s.get)
139
+ return T(s.get);
140
+ if (typeof s.value == "function")
141
+ return T(s.value);
142
+ }
143
+ n = an(n);
144
+ }
145
+ function r() {
146
+ return null;
147
+ }
148
+ return r;
149
+ }
150
+ function gn(n) {
151
+ try {
152
+ return S(n, ""), !0;
153
+ } catch {
154
+ return !1;
155
+ }
156
+ }
157
+ const yt = O(["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", "search", "section", "select", "shadow", "slot", "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"]), He = O(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ze = O(["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 = O(["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"]), Ge = O(["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"]), An = O(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Rt = O(["#text"]), bt = O(["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", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), Be = O(["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", "mask-type", "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"]), Ot = O(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "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"]), Se = O(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), En = L(/{{[\w\W]*|^[\w\W]*}}/g), hn = L(/<%[\w\W]*|^[\w\W]*%>/g), Sn = L(/\${[\w\W]*/g), yn = L(/^data-[\-\w.\u00B7-\uFFFF]+$/), Rn = L(/^aria-[\-\w]+$/), Dt = L(
158
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
159
+ // eslint-disable-line no-useless-escape
160
+ ), bn = L(/^(?:\w+script|data):/i), On = L(
161
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
162
+ // eslint-disable-line no-control-regex
163
+ ), Dn = L(/^html$/i), In = L(/^[a-z][.\w]*(-[.\w]+)+$/i), K = {
164
+ element: 1,
165
+ text: 3,
166
+ // Deprecated
167
+ progressingInstruction: 7,
168
+ comment: 8,
169
+ document: 9
170
+ }, Nn = function() {
171
+ return typeof window > "u" ? null : window;
172
+ }, Ln = function(o, r) {
173
+ if (typeof o != "object" || typeof o.createPolicy != "function")
174
+ return null;
175
+ let s = null;
176
+ const f = "data-tt-policy-suffix";
177
+ r && r.hasAttribute(f) && (s = r.getAttribute(f));
178
+ const u = "dompurify" + (s ? "#" + s : "");
179
+ try {
180
+ return o.createPolicy(u, {
181
+ createHTML(C) {
182
+ return C;
183
+ },
184
+ createScriptURL(C) {
185
+ return C;
186
+ }
187
+ });
188
+ } catch {
189
+ return console.warn("TrustedTypes policy " + u + " could not be created."), null;
190
+ }
191
+ }, It = function() {
192
+ return {
193
+ afterSanitizeAttributes: [],
194
+ afterSanitizeElements: [],
195
+ afterSanitizeShadowDOM: [],
196
+ beforeSanitizeAttributes: [],
197
+ beforeSanitizeElements: [],
198
+ beforeSanitizeShadowDOM: [],
199
+ uponSanitizeAttribute: [],
200
+ uponSanitizeElement: [],
201
+ uponSanitizeShadowNode: []
202
+ };
203
+ };
204
+ function Ct() {
205
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Nn();
206
+ const o = (a) => Ct(a);
207
+ if (o.version = "3.4.3", o.removed = [], !n || !n.document || n.document.nodeType !== K.document || !n.Element)
208
+ return o.isSupported = !1, o;
209
+ let r = n.document;
210
+ const s = r, f = s.currentScript, u = n.DocumentFragment, C = n.HTMLTemplateElement, U = n.Node, B = n.Element, v = n.NodeFilter, se = n.NamedNodeMap, Mt = se === void 0 ? n.NamedNodeMap || n.MozNamedAttrMap : se, wt = n.HTMLFormElement, xt = n.DOMParser, le = n.trustedTypes, Q = B.prototype, Pt = J(Q, "cloneNode"), kt = J(Q, "remove"), vt = J(Q, "nextSibling"), Ft = J(Q, "childNodes"), ce = J(Q, "parentNode");
211
+ if (typeof C == "function") {
212
+ const a = r.createElement("template");
213
+ a.content && a.content.ownerDocument && (r = a.content.ownerDocument);
214
+ }
215
+ let y, ee = "";
216
+ const fe = r, ye = fe.implementation, Ut = fe.createNodeIterator, Ht = fe.createDocumentFragment, zt = fe.getElementsByTagName, Gt = s.importNode;
217
+ let R = It();
218
+ o.isSupported = typeof Nt == "function" && typeof ce == "function" && ye && ye.createHTMLDocument !== void 0;
219
+ const ue = En, me = hn, pe = Sn, Bt = yn, Wt = Rn, jt = bn, Ye = On, Yt = In;
220
+ let $e = Dt, _ = null;
221
+ const Xe = l({}, [...yt, ...He, ...ze, ...Ge, ...Rt]);
222
+ let h = null;
223
+ const Ve = l({}, [...bt, ...Be, ...Ot, ...Se]);
224
+ let p = Object.seal(Z(null, {
225
+ tagNameCheck: {
226
+ writable: !0,
227
+ configurable: !1,
228
+ enumerable: !0,
229
+ value: null
230
+ },
231
+ attributeNameCheck: {
232
+ writable: !0,
233
+ configurable: !1,
234
+ enumerable: !0,
235
+ value: null
236
+ },
237
+ allowCustomizedBuiltInElements: {
238
+ writable: !0,
239
+ configurable: !1,
240
+ enumerable: !0,
241
+ value: !1
242
+ }
243
+ })), te = null, de = null;
244
+ const F = Object.seal(Z(null, {
245
+ tagCheck: {
246
+ writable: !0,
247
+ configurable: !1,
248
+ enumerable: !0,
249
+ value: null
250
+ },
251
+ attributeCheck: {
252
+ writable: !0,
253
+ configurable: !1,
254
+ enumerable: !0,
255
+ value: null
256
+ }
257
+ }));
258
+ let qe = !0, Re = !0, Ke = !1, Ze = !0, H = !1, ne = !0, z = !1, be = !1, Oe = !1, W = !1, Te = !1, ge = !1, Je = !0, Qe = !1;
259
+ const et = "user-content-";
260
+ let De = !0, oe = !1, j = {}, x = null;
261
+ const Ie = 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"]);
262
+ let tt = null;
263
+ const nt = l({}, ["audio", "video", "img", "source", "image", "track"]);
264
+ let Ne = null;
265
+ const ot = l({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), _e = "http://www.w3.org/1998/Math/MathML", Ae = "http://www.w3.org/2000/svg", P = "http://www.w3.org/1999/xhtml";
266
+ let Y = P, Le = !1, Ce = null;
267
+ const $t = l({}, [_e, Ae, P], Ue);
268
+ let Me = l({}, ["mi", "mo", "mn", "ms", "mtext"]), we = l({}, ["annotation-xml"]);
269
+ const Xt = l({}, ["title", "style", "font", "a", "script"]);
270
+ let ie = null;
271
+ const Vt = ["application/xhtml+xml", "text/html"], qt = "text/html";
272
+ let g = null, $ = null;
273
+ const Kt = r.createElement("form"), it = function(e) {
274
+ return e instanceof RegExp || e instanceof Function;
275
+ }, xe = function() {
276
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
277
+ if ($ && $ === e)
278
+ return;
279
+ (!e || typeof e != "object") && (e = {}), e = I(e), ie = // eslint-disable-next-line unicorn/prefer-includes
280
+ Vt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? qt : e.PARSER_MEDIA_TYPE, g = ie === "application/xhtml+xml" ? Ue : ae, _ = m(e, "ALLOWED_TAGS") && b(e.ALLOWED_TAGS) ? l({}, e.ALLOWED_TAGS, g) : Xe, h = m(e, "ALLOWED_ATTR") && b(e.ALLOWED_ATTR) ? l({}, e.ALLOWED_ATTR, g) : Ve, Ce = m(e, "ALLOWED_NAMESPACES") && b(e.ALLOWED_NAMESPACES) ? l({}, e.ALLOWED_NAMESPACES, Ue) : $t, Ne = m(e, "ADD_URI_SAFE_ATTR") && b(e.ADD_URI_SAFE_ATTR) ? l(I(ot), e.ADD_URI_SAFE_ATTR, g) : ot, tt = m(e, "ADD_DATA_URI_TAGS") && b(e.ADD_DATA_URI_TAGS) ? l(I(nt), e.ADD_DATA_URI_TAGS, g) : nt, x = m(e, "FORBID_CONTENTS") && b(e.FORBID_CONTENTS) ? l({}, e.FORBID_CONTENTS, g) : Ie, te = m(e, "FORBID_TAGS") && b(e.FORBID_TAGS) ? l({}, e.FORBID_TAGS, g) : I({}), de = m(e, "FORBID_ATTR") && b(e.FORBID_ATTR) ? l({}, e.FORBID_ATTR, g) : I({}), j = m(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? I(e.USE_PROFILES) : e.USE_PROFILES : !1, qe = e.ALLOW_ARIA_ATTR !== !1, Re = e.ALLOW_DATA_ATTR !== !1, Ke = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ze = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, z = e.WHOLE_DOCUMENT || !1, W = e.RETURN_DOM || !1, Te = e.RETURN_DOM_FRAGMENT || !1, ge = e.RETURN_TRUSTED_TYPE || !1, Oe = e.FORCE_BODY || !1, Je = e.SANITIZE_DOM !== !1, Qe = e.SANITIZE_NAMED_PROPS || !1, De = e.KEEP_CONTENT !== !1, oe = e.IN_PLACE || !1, $e = gn(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Dt, Y = typeof e.NAMESPACE == "string" ? e.NAMESPACE : P, Me = m(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? I(e.MATHML_TEXT_INTEGRATION_POINTS) : l({}, ["mi", "mo", "mn", "ms", "mtext"]), we = m(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? I(e.HTML_INTEGRATION_POINTS) : l({}, ["annotation-xml"]);
281
+ const t = m(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? I(e.CUSTOM_ELEMENT_HANDLING) : Z(null);
282
+ if (p = Z(null), m(t, "tagNameCheck") && it(t.tagNameCheck) && (p.tagNameCheck = t.tagNameCheck), m(t, "attributeNameCheck") && it(t.attributeNameCheck) && (p.attributeNameCheck = t.attributeNameCheck), m(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (p.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), H && (Re = !1), Te && (W = !0), j && (_ = l({}, Rt), h = Z(null), j.html === !0 && (l(_, yt), l(h, bt)), j.svg === !0 && (l(_, He), l(h, Be), l(h, Se)), j.svgFilters === !0 && (l(_, ze), l(h, Be), l(h, Se)), j.mathMl === !0 && (l(_, Ge), l(h, Ot), l(h, Se))), F.tagCheck = null, F.attributeCheck = null, m(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? F.tagCheck = e.ADD_TAGS : b(e.ADD_TAGS) && (_ === Xe && (_ = I(_)), l(_, e.ADD_TAGS, g))), m(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? F.attributeCheck = e.ADD_ATTR : b(e.ADD_ATTR) && (h === Ve && (h = I(h)), l(h, e.ADD_ATTR, g))), m(e, "ADD_URI_SAFE_ATTR") && b(e.ADD_URI_SAFE_ATTR) && l(Ne, e.ADD_URI_SAFE_ATTR, g), m(e, "FORBID_CONTENTS") && b(e.FORBID_CONTENTS) && (x === Ie && (x = I(x)), l(x, e.FORBID_CONTENTS, g)), m(e, "ADD_FORBID_CONTENTS") && b(e.ADD_FORBID_CONTENTS) && (x === Ie && (x = I(x)), l(x, e.ADD_FORBID_CONTENTS, g)), De && (_["#text"] = !0), z && l(_, ["html", "head", "body"]), _.table && (l(_, ["tbody"]), delete te.tbody), e.TRUSTED_TYPES_POLICY) {
283
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
284
+ throw he('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
285
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
286
+ throw he('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
287
+ y = e.TRUSTED_TYPES_POLICY, ee = y.createHTML("");
288
+ } else
289
+ y === void 0 && (y = Ln(le, f)), y !== null && typeof ee == "string" && (ee = y.createHTML(""));
290
+ O && O(e), $ = e;
291
+ }, rt = l({}, [...He, ...ze, ..._n]), at = l({}, [...Ge, ...An]), Zt = function(e) {
292
+ let t = ce(e);
293
+ (!t || !t.tagName) && (t = {
294
+ namespaceURI: Y,
295
+ tagName: "template"
296
+ });
297
+ const i = ae(e.tagName), c = ae(t.tagName);
298
+ return Ce[e.namespaceURI] ? e.namespaceURI === Ae ? t.namespaceURI === P ? i === "svg" : t.namespaceURI === _e ? i === "svg" && (c === "annotation-xml" || Me[c]) : !!rt[i] : e.namespaceURI === _e ? t.namespaceURI === P ? i === "math" : t.namespaceURI === Ae ? i === "math" && we[c] : !!at[i] : e.namespaceURI === P ? t.namespaceURI === Ae && !we[c] || t.namespaceURI === _e && !Me[c] ? !1 : !at[i] && (Xt[i] || !rt[i]) : !!(ie === "application/xhtml+xml" && Ce[e.namespaceURI]) : !1;
299
+ }, M = function(e) {
300
+ V(o.removed, {
301
+ element: e
302
+ });
303
+ try {
304
+ ce(e).removeChild(e);
305
+ } catch {
306
+ kt(e);
307
+ }
308
+ }, G = function(e, t) {
309
+ try {
310
+ V(o.removed, {
311
+ attribute: t.getAttributeNode(e),
312
+ from: t
313
+ });
314
+ } catch {
315
+ V(o.removed, {
316
+ attribute: null,
317
+ from: t
318
+ });
319
+ }
320
+ if (t.removeAttribute(e), e === "is")
321
+ if (W || Te)
322
+ try {
323
+ M(t);
324
+ } catch {
325
+ }
326
+ else
327
+ try {
328
+ t.setAttribute(e, "");
329
+ } catch {
330
+ }
331
+ }, st = function(e) {
332
+ let t = null, i = null;
333
+ if (Oe)
334
+ e = "<remove></remove>" + e;
335
+ else {
336
+ const d = At(e, /^[\r\n\t ]+/);
337
+ i = d && d[0];
338
+ }
339
+ ie === "application/xhtml+xml" && Y === P && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
340
+ const c = y ? y.createHTML(e) : e;
341
+ if (Y === P)
342
+ try {
343
+ t = new xt().parseFromString(c, ie);
344
+ } catch {
345
+ }
346
+ if (!t || !t.documentElement) {
347
+ t = ye.createDocument(Y, "template", null);
348
+ try {
349
+ t.documentElement.innerHTML = Le ? ee : c;
350
+ } catch {
351
+ }
352
+ }
353
+ const A = t.body || t.documentElement;
354
+ return e && i && A.insertBefore(r.createTextNode(i), A.childNodes[0] || null), Y === P ? zt.call(t, z ? "html" : "body")[0] : z ? t.documentElement : A;
355
+ }, lt = function(e) {
356
+ return Ut.call(
357
+ e.ownerDocument || e,
358
+ e,
359
+ // eslint-disable-next-line no-bitwise
360
+ v.SHOW_ELEMENT | v.SHOW_COMMENT | v.SHOW_TEXT | v.SHOW_PROCESSING_INSTRUCTION | v.SHOW_CDATA_SECTION,
361
+ null
362
+ );
363
+ }, Pe = function(e) {
364
+ return e instanceof wt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Mt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
365
+ }, ke = function(e) {
366
+ return typeof U == "function" && e instanceof U;
367
+ };
368
+ function k(a, e, t) {
369
+ X(a, (i) => {
370
+ i.call(o, e, t, $);
371
+ });
372
+ }
373
+ const ct = function(e) {
374
+ let t = null;
375
+ if (k(R.beforeSanitizeElements, e, null), Pe(e))
376
+ return M(e), !0;
377
+ const i = g(e.nodeName);
378
+ if (k(R.uponSanitizeElement, e, {
379
+ tagName: i,
380
+ allowedTags: _
381
+ }), ne && e.hasChildNodes() && !ke(e.firstElementChild) && S(/<[/\w!]/g, e.innerHTML) && S(/<[/\w!]/g, e.textContent) || ne && e.namespaceURI === P && i === "style" && ke(e.firstElementChild) || e.nodeType === K.progressingInstruction || ne && e.nodeType === K.comment && S(/<[/\w]/g, e.data))
382
+ return M(e), !0;
383
+ if (te[i] || !(F.tagCheck instanceof Function && F.tagCheck(i)) && !_[i]) {
384
+ if (!te[i] && ut(i) && (p.tagNameCheck instanceof RegExp && S(p.tagNameCheck, i) || p.tagNameCheck instanceof Function && p.tagNameCheck(i)))
385
+ return !1;
386
+ if (De && !x[i]) {
387
+ const c = ce(e) || e.parentNode, A = Ft(e) || e.childNodes;
388
+ if (A && c) {
389
+ const d = A.length;
390
+ for (let D = d - 1; D >= 0; --D) {
391
+ const N = Pt(A[D], !0);
392
+ c.insertBefore(N, vt(e));
393
+ }
394
+ }
395
+ }
396
+ return M(e), !0;
397
+ }
398
+ return e instanceof B && !Zt(e) || (i === "noscript" || i === "noembed" || i === "noframes") && S(/<\/no(script|embed|frames)/i, e.innerHTML) ? (M(e), !0) : (H && e.nodeType === K.text && (t = e.textContent, X([ue, me, pe], (c) => {
399
+ t = q(t, c, " ");
400
+ }), e.textContent !== t && (V(o.removed, {
401
+ element: e.cloneNode()
402
+ }), e.textContent = t)), k(R.afterSanitizeElements, e, null), !1);
403
+ }, ft = function(e, t, i) {
404
+ if (de[t] || Je && (t === "id" || t === "name") && (i in r || i in Kt))
405
+ return !1;
406
+ const c = h[t] || F.attributeCheck instanceof Function && F.attributeCheck(t, e);
407
+ if (!(Re && !de[t] && S(Bt, t))) {
408
+ if (!(qe && S(Wt, t))) {
409
+ if (!c || de[t]) {
410
+ if (
411
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
412
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
413
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
414
+ !(ut(e) && (p.tagNameCheck instanceof RegExp && S(p.tagNameCheck, e) || p.tagNameCheck instanceof Function && p.tagNameCheck(e)) && (p.attributeNameCheck instanceof RegExp && S(p.attributeNameCheck, t) || p.attributeNameCheck instanceof Function && p.attributeNameCheck(t, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
415
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
416
+ t === "is" && p.allowCustomizedBuiltInElements && (p.tagNameCheck instanceof RegExp && S(p.tagNameCheck, i) || p.tagNameCheck instanceof Function && p.tagNameCheck(i)))
417
+ ) return !1;
418
+ } else if (!Ne[t]) {
419
+ if (!S($e, q(i, Ye, ""))) {
420
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Et(i, "data:") === 0 && tt[e])) {
421
+ if (!(Ke && !S(jt, q(i, Ye, "")))) {
422
+ if (i)
423
+ return !1;
424
+ }
425
+ }
426
+ }
427
+ }
428
+ }
429
+ }
430
+ return !0;
431
+ }, Jt = l({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), ut = function(e) {
432
+ return !Jt[ae(e)] && S(Yt, e);
433
+ }, mt = function(e) {
434
+ k(R.beforeSanitizeAttributes, e, null);
435
+ const t = e.attributes;
436
+ if (!t || Pe(e))
437
+ return;
438
+ const i = {
439
+ attrName: "",
440
+ attrValue: "",
441
+ keepAttr: !0,
442
+ allowedAttributes: h,
443
+ forceKeepAttr: void 0
444
+ };
445
+ let c = t.length;
446
+ for (; c--; ) {
447
+ const A = t[c], d = A.name, D = A.namespaceURI, N = A.value, w = g(d), Fe = N;
448
+ let E = d === "value" ? Fe : fn(Fe);
449
+ if (i.attrName = w, i.attrValue = E, i.keepAttr = !0, i.forceKeepAttr = void 0, k(R.uponSanitizeAttribute, e, i), E = i.attrValue, Qe && (w === "id" || w === "name") && Et(E, et) !== 0 && (G(d, e), E = et + E), ne && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, E)) {
450
+ G(d, e);
451
+ continue;
452
+ }
453
+ if (w === "attributename" && At(E, "href")) {
454
+ G(d, e);
455
+ continue;
456
+ }
457
+ if (i.forceKeepAttr)
458
+ continue;
459
+ if (!i.keepAttr) {
460
+ G(d, e);
461
+ continue;
462
+ }
463
+ if (!Ze && S(/\/>/i, E)) {
464
+ G(d, e);
465
+ continue;
466
+ }
467
+ H && X([ue, me, pe], (dt) => {
468
+ E = q(E, dt, " ");
469
+ });
470
+ const pt = g(e.nodeName);
471
+ if (!ft(pt, w, E)) {
472
+ G(d, e);
473
+ continue;
474
+ }
475
+ if (y && typeof le == "object" && typeof le.getAttributeType == "function" && !D)
476
+ switch (le.getAttributeType(pt, w)) {
477
+ case "TrustedHTML": {
478
+ E = y.createHTML(E);
479
+ break;
480
+ }
481
+ case "TrustedScriptURL": {
482
+ E = y.createScriptURL(E);
483
+ break;
484
+ }
485
+ }
486
+ if (E !== Fe)
487
+ try {
488
+ D ? e.setAttributeNS(D, d, E) : e.setAttribute(d, E), Pe(e) ? M(e) : _t(o.removed);
489
+ } catch {
490
+ G(d, e);
491
+ }
492
+ }
493
+ k(R.afterSanitizeAttributes, e, null);
494
+ }, ve = function(e) {
495
+ let t = null;
496
+ const i = lt(e);
497
+ for (k(R.beforeSanitizeShadowDOM, e, null); t = i.nextNode(); )
498
+ k(R.uponSanitizeShadowNode, t, null), ct(t), mt(t), t.content instanceof u && ve(t.content);
499
+ k(R.afterSanitizeShadowDOM, e, null);
500
+ }, Ee = function(e) {
501
+ if (e.nodeType === K.element && e.shadowRoot instanceof u) {
502
+ const c = e.shadowRoot;
503
+ Ee(c), ve(c);
504
+ }
505
+ const t = e.childNodes;
506
+ if (!t)
507
+ return;
508
+ const i = [];
509
+ X(t, (c) => {
510
+ V(i, c);
511
+ });
512
+ for (const c of i)
513
+ Ee(c);
514
+ };
515
+ return o.sanitize = function(a) {
516
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, i = null, c = null, A = null;
517
+ if (Le = !a, Le && (a = "<!-->"), typeof a != "string" && !ke(a) && (a = Tn(a), typeof a != "string"))
518
+ throw he("dirty is not a string, aborting");
519
+ if (!o.isSupported)
520
+ return a;
521
+ if (be || xe(e), o.removed = [], typeof a == "string" && (oe = !1), oe) {
522
+ const N = a.nodeName;
523
+ if (typeof N == "string") {
524
+ const w = g(N);
525
+ if (!_[w] || te[w])
526
+ throw he("root node is forbidden and cannot be sanitized in-place");
527
+ }
528
+ Ee(a);
529
+ } else if (a instanceof U)
530
+ t = st("<!---->"), i = t.ownerDocument.importNode(a, !0), i.nodeType === K.element && i.nodeName === "BODY" || i.nodeName === "HTML" ? t = i : t.appendChild(i), Ee(i);
531
+ else {
532
+ if (!W && !H && !z && // eslint-disable-next-line unicorn/prefer-includes
533
+ a.indexOf("<") === -1)
534
+ return y && ge ? y.createHTML(a) : a;
535
+ if (t = st(a), !t)
536
+ return W ? null : ge ? ee : "";
537
+ }
538
+ t && Oe && M(t.firstChild);
539
+ const d = lt(oe ? a : t);
540
+ for (; c = d.nextNode(); )
541
+ ct(c), mt(c), c.content instanceof u && ve(c.content);
542
+ if (oe)
543
+ return a;
544
+ if (W) {
545
+ if (H) {
546
+ t.normalize();
547
+ let N = t.innerHTML;
548
+ X([ue, me, pe], (w) => {
549
+ N = q(N, w, " ");
550
+ }), t.innerHTML = N;
551
+ }
552
+ if (Te)
553
+ for (A = Ht.call(t.ownerDocument); t.firstChild; )
554
+ A.appendChild(t.firstChild);
555
+ else
556
+ A = t;
557
+ return (h.shadowroot || h.shadowrootmode) && (A = Gt.call(s, A, !0)), A;
558
+ }
559
+ let D = z ? t.outerHTML : t.innerHTML;
560
+ return z && _["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && S(Dn, t.ownerDocument.doctype.name) && (D = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
561
+ ` + D), H && X([ue, me, pe], (N) => {
562
+ D = q(D, N, " ");
563
+ }), y && ge ? y.createHTML(D) : D;
564
+ }, o.setConfig = function() {
565
+ let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
566
+ xe(a), be = !0;
567
+ }, o.clearConfig = function() {
568
+ $ = null, be = !1;
569
+ }, o.isValidAttribute = function(a, e, t) {
570
+ $ || xe({});
571
+ const i = g(a), c = g(e);
572
+ return ft(i, c, t);
573
+ }, o.addHook = function(a, e) {
574
+ typeof e == "function" && V(R[a], e);
575
+ }, o.removeHook = function(a, e) {
576
+ if (e !== void 0) {
577
+ const t = ln(R[a], e);
578
+ return t === -1 ? void 0 : cn(R[a], t, 1)[0];
579
+ }
580
+ return _t(R[a]);
581
+ }, o.removeHooks = function(a) {
582
+ R[a] = [];
583
+ }, o.removeAllHooks = function() {
584
+ R = It();
585
+ }, o;
586
+ }
587
+ var Cn = Ct();
588
+ export {
589
+ Cn as p
590
+ };
@@ -1,6 +1,6 @@
1
1
  import * as ce from "react";
2
2
  import { useState as nn, useRef as H, useEffect as Ee, useLayoutEffect as Nn, forwardRef as zn, useCallback as Dn, useContext as bt, useMemo as ye } from "react";
3
- import { r as Qn } from "./index-DLKZ-XYv.js";
3
+ import { r as Qn } from "./index-DL5wn_Sh.js";
4
4
  var wt = Ue(), x = (e) => Oe(e, wt), xt = Ue();
5
5
  x.write = (e) => Oe(e, xt);
6
6
  var Ge = Ue();
@@ -2340,6 +2340,6 @@ var rs = Ii(ss, {
2340
2340
  }), ls = rs.animated;
2341
2341
  export {
2342
2342
  ls as a,
2343
- us as b,
2344
- cs as u
2343
+ cs as b,
2344
+ us as u
2345
2345
  };