@pravinrd/awesome-grid 0.2.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.
@@ -0,0 +1,553 @@
1
+ /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
2
+ const {
3
+ entries: _t,
4
+ setPrototypeOf: ct,
5
+ isFrozen: Yt,
6
+ getPrototypeOf: Xt,
7
+ getOwnPropertyDescriptor: jt
8
+ } = Object;
9
+ let {
10
+ freeze: S,
11
+ seal: L,
12
+ create: ve
13
+ } = Object, {
14
+ apply: ke,
15
+ construct: Ue
16
+ } = typeof Reflect < "u" && Reflect;
17
+ S || (S = function(o) {
18
+ return o;
19
+ });
20
+ L || (L = function(o) {
21
+ return o;
22
+ });
23
+ ke || (ke = function(o, l) {
24
+ for (var a = arguments.length, c = new Array(a > 2 ? a - 2 : 0), O = 2; O < a; O++)
25
+ c[O - 2] = arguments[O];
26
+ return o.apply(l, c);
27
+ });
28
+ Ue || (Ue = function(o) {
29
+ for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
30
+ a[c - 1] = arguments[c];
31
+ return new o(...a);
32
+ });
33
+ const ce = R(Array.prototype.forEach), Vt = R(Array.prototype.lastIndexOf), ft = R(Array.prototype.pop), q = R(Array.prototype.push), $t = R(Array.prototype.splice), ue = R(String.prototype.toLowerCase), Ie = R(String.prototype.toString), Ce = R(String.prototype.match), K = R(String.prototype.replace), qt = R(String.prototype.indexOf), Kt = R(String.prototype.trim), y = R(Object.prototype.hasOwnProperty), h = R(RegExp.prototype.test), Z = Zt(TypeError);
34
+ function R(s) {
35
+ return function(o) {
36
+ o instanceof RegExp && (o.lastIndex = 0);
37
+ for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), c = 1; c < l; c++)
38
+ a[c - 1] = arguments[c];
39
+ return ke(s, o, a);
40
+ };
41
+ }
42
+ function Zt(s) {
43
+ return function() {
44
+ for (var o = arguments.length, l = new Array(o), a = 0; a < o; a++)
45
+ l[a] = arguments[a];
46
+ return Ue(s, l);
47
+ };
48
+ }
49
+ function r(s, o) {
50
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ue;
51
+ ct && ct(s, null);
52
+ let a = o.length;
53
+ for (; a--; ) {
54
+ let c = o[a];
55
+ if (typeof c == "string") {
56
+ const O = l(c);
57
+ O !== c && (Yt(o) || (o[a] = O), c = O);
58
+ }
59
+ s[c] = !0;
60
+ }
61
+ return s;
62
+ }
63
+ function Jt(s) {
64
+ for (let o = 0; o < s.length; o++)
65
+ y(s, o) || (s[o] = null);
66
+ return s;
67
+ }
68
+ function I(s) {
69
+ const o = ve(null);
70
+ for (const [l, a] of _t(s))
71
+ y(s, l) && (Array.isArray(a) ? o[l] = Jt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = I(a) : o[l] = a);
72
+ return o;
73
+ }
74
+ function J(s, o) {
75
+ for (; s !== null; ) {
76
+ const a = jt(s, o);
77
+ if (a) {
78
+ if (a.get)
79
+ return R(a.get);
80
+ if (typeof a.value == "function")
81
+ return R(a.value);
82
+ }
83
+ s = Xt(s);
84
+ }
85
+ function l() {
86
+ return null;
87
+ }
88
+ return l;
89
+ }
90
+ const ut = 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", "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"]), Me = S(["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"]), we = 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"]), Qt = 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"]), xe = 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"]), en = S(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), mt = S(["#text"]), pt = 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", "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", "slot"]), Pe = 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", "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"]), Tt = 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"]), tn = L(/\{\{[\w\W]*|[\w\W]*\}\}/gm), nn = L(/<%[\w\W]*|[\w\W]*%>/gm), on = L(/\$\{[\w\W]*/gm), an = L(/^data-[\-\w.\u00B7-\uFFFF]+$/), rn = L(/^aria-[\-\w]+$/), gt = L(
91
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
92
+ // eslint-disable-line no-useless-escape
93
+ ), sn = L(/^(?:\w+script|data):/i), ln = L(
94
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
+ // eslint-disable-line no-control-regex
96
+ ), At = L(/^html$/i), cn = L(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
+ var dt = /* @__PURE__ */ Object.freeze({
98
+ __proto__: null,
99
+ ARIA_ATTR: rn,
100
+ ATTR_WHITESPACE: ln,
101
+ CUSTOM_ELEMENT: cn,
102
+ DATA_ATTR: an,
103
+ DOCTYPE_NAME: At,
104
+ ERB_EXPR: nn,
105
+ IS_ALLOWED_URI: gt,
106
+ IS_SCRIPT_OR_DATA: sn,
107
+ MUSTACHE_EXPR: tn,
108
+ TMPLIT_EXPR: on
109
+ });
110
+ const Q = {
111
+ element: 1,
112
+ text: 3,
113
+ // Deprecated
114
+ progressingInstruction: 7,
115
+ comment: 8,
116
+ document: 9
117
+ }, fn = function() {
118
+ return typeof window > "u" ? null : window;
119
+ }, un = function(o, l) {
120
+ if (typeof o != "object" || typeof o.createPolicy != "function")
121
+ return null;
122
+ let a = null;
123
+ const c = "data-tt-policy-suffix";
124
+ l && l.hasAttribute(c) && (a = l.getAttribute(c));
125
+ const O = "dompurify" + (a ? "#" + a : "");
126
+ try {
127
+ return o.createPolicy(O, {
128
+ createHTML(v) {
129
+ return v;
130
+ },
131
+ createScriptURL(v) {
132
+ return v;
133
+ }
134
+ });
135
+ } catch {
136
+ return console.warn("TrustedTypes policy " + O + " could not be created."), null;
137
+ }
138
+ }, Et = function() {
139
+ return {
140
+ afterSanitizeAttributes: [],
141
+ afterSanitizeElements: [],
142
+ afterSanitizeShadowDOM: [],
143
+ beforeSanitizeAttributes: [],
144
+ beforeSanitizeElements: [],
145
+ beforeSanitizeShadowDOM: [],
146
+ uponSanitizeAttribute: [],
147
+ uponSanitizeElement: [],
148
+ uponSanitizeShadowNode: []
149
+ };
150
+ };
151
+ function ht() {
152
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn();
153
+ const o = (i) => ht(i);
154
+ if (o.version = "3.3.1", o.removed = [], !s || !s.document || s.document.nodeType !== Q.document || !s.Element)
155
+ return o.isSupported = !1, o;
156
+ let {
157
+ document: l
158
+ } = s;
159
+ const a = l, c = a.currentScript, {
160
+ DocumentFragment: O,
161
+ HTMLTemplateElement: v,
162
+ Node: me,
163
+ Element: Fe,
164
+ NodeFilter: B,
165
+ NamedNodeMap: St = s.NamedNodeMap || s.MozNamedAttrMap,
166
+ HTMLFormElement: Rt,
167
+ DOMParser: Ot,
168
+ trustedTypes: ee
169
+ } = s, Y = Fe.prototype, Dt = J(Y, "cloneNode"), Lt = J(Y, "remove"), yt = J(Y, "nextSibling"), bt = J(Y, "childNodes"), te = J(Y, "parentNode");
170
+ if (typeof v == "function") {
171
+ const i = l.createElement("template");
172
+ i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
173
+ }
174
+ let g, X = "";
175
+ const {
176
+ implementation: pe,
177
+ createNodeIterator: Nt,
178
+ createDocumentFragment: It,
179
+ getElementsByTagName: Ct
180
+ } = l, {
181
+ importNode: Mt
182
+ } = a;
183
+ let A = Et();
184
+ o.isSupported = typeof _t == "function" && typeof te == "function" && pe && pe.createHTMLDocument !== void 0;
185
+ const {
186
+ MUSTACHE_EXPR: Te,
187
+ ERB_EXPR: de,
188
+ TMPLIT_EXPR: Ee,
189
+ DATA_ATTR: wt,
190
+ ARIA_ATTR: xt,
191
+ IS_SCRIPT_OR_DATA: Pt,
192
+ ATTR_WHITESPACE: He,
193
+ CUSTOM_ELEMENT: vt
194
+ } = dt;
195
+ let {
196
+ IS_ALLOWED_URI: ze
197
+ } = dt, T = null;
198
+ const Ge = r({}, [...ut, ...Me, ...we, ...xe, ...mt]);
199
+ let d = null;
200
+ const We = r({}, [...pt, ...Pe, ...Tt, ...fe]);
201
+ let u = Object.seal(ve(null, {
202
+ tagNameCheck: {
203
+ writable: !0,
204
+ configurable: !1,
205
+ enumerable: !0,
206
+ value: null
207
+ },
208
+ attributeNameCheck: {
209
+ writable: !0,
210
+ configurable: !1,
211
+ enumerable: !0,
212
+ value: null
213
+ },
214
+ allowCustomizedBuiltInElements: {
215
+ writable: !0,
216
+ configurable: !1,
217
+ enumerable: !0,
218
+ value: !1
219
+ }
220
+ })), j = null, _e = null;
221
+ const k = Object.seal(ve(null, {
222
+ tagCheck: {
223
+ writable: !0,
224
+ configurable: !1,
225
+ enumerable: !0,
226
+ value: null
227
+ },
228
+ attributeCheck: {
229
+ writable: !0,
230
+ configurable: !1,
231
+ enumerable: !0,
232
+ value: null
233
+ }
234
+ }));
235
+ let Be = !0, ge = !0, Ye = !1, Xe = !0, U = !1, ne = !0, x = !1, Ae = !1, he = !1, F = !1, oe = !1, ie = !1, je = !0, Ve = !1;
236
+ const kt = "user-content-";
237
+ let Se = !0, V = !1, H = {}, b = null;
238
+ const Re = r({}, ["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"]);
239
+ let $e = null;
240
+ const qe = r({}, ["audio", "video", "img", "source", "image", "track"]);
241
+ let Oe = null;
242
+ const Ke = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ae = "http://www.w3.org/1998/Math/MathML", re = "http://www.w3.org/2000/svg", C = "http://www.w3.org/1999/xhtml";
243
+ let z = C, De = !1, Le = null;
244
+ const Ut = r({}, [ae, re, C], Ie);
245
+ let se = r({}, ["mi", "mo", "mn", "ms", "mtext"]), le = r({}, ["annotation-xml"]);
246
+ const Ft = r({}, ["title", "style", "font", "a", "script"]);
247
+ let $ = null;
248
+ const Ht = ["application/xhtml+xml", "text/html"], zt = "text/html";
249
+ let p = null, G = null;
250
+ const Gt = l.createElement("form"), Ze = function(e) {
251
+ return e instanceof RegExp || e instanceof Function;
252
+ }, ye = function() {
253
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
254
+ if (!(G && G === e)) {
255
+ if ((!e || typeof e != "object") && (e = {}), e = I(e), $ = // eslint-disable-next-line unicorn/prefer-includes
256
+ Ht.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? zt : e.PARSER_MEDIA_TYPE, p = $ === "application/xhtml+xml" ? Ie : ue, T = y(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ge, d = y(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : We, Le = y(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, Ie) : Ut, Oe = y(e, "ADD_URI_SAFE_ATTR") ? r(I(Ke), e.ADD_URI_SAFE_ATTR, p) : Ke, $e = y(e, "ADD_DATA_URI_TAGS") ? r(I(qe), e.ADD_DATA_URI_TAGS, p) : qe, b = y(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : Re, j = y(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : I({}), _e = y(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : I({}), H = y(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, ge = e.ALLOW_DATA_ATTR !== !1, Ye = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, U = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, x = e.WHOLE_DOCUMENT || !1, F = e.RETURN_DOM || !1, oe = e.RETURN_DOM_FRAGMENT || !1, ie = e.RETURN_TRUSTED_TYPE || !1, he = e.FORCE_BODY || !1, je = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, Se = e.KEEP_CONTENT !== !1, V = e.IN_PLACE || !1, ze = e.ALLOWED_URI_REGEXP || gt, z = e.NAMESPACE || C, se = e.MATHML_TEXT_INTEGRATION_POINTS || se, le = e.HTML_INTEGRATION_POINTS || le, u = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (u.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ze(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), U && (ge = !1), oe && (F = !0), H && (T = r({}, mt), d = [], H.html === !0 && (r(T, ut), r(d, pt)), H.svg === !0 && (r(T, Me), r(d, Pe), r(d, fe)), H.svgFilters === !0 && (r(T, we), r(d, Pe), r(d, fe)), H.mathMl === !0 && (r(T, xe), r(d, Tt), r(d, fe))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? k.tagCheck = e.ADD_TAGS : (T === Ge && (T = I(T)), r(T, e.ADD_TAGS, p))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? k.attributeCheck = e.ADD_ATTR : (d === We && (d = I(d)), r(d, e.ADD_ATTR, p))), e.ADD_URI_SAFE_ATTR && r(Oe, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (b === Re && (b = I(b)), r(b, e.FORBID_CONTENTS, p)), e.ADD_FORBID_CONTENTS && (b === Re && (b = I(b)), r(b, e.ADD_FORBID_CONTENTS, p)), Se && (T["#text"] = !0), x && r(T, ["html", "head", "body"]), T.table && (r(T, ["tbody"]), delete j.tbody), e.TRUSTED_TYPES_POLICY) {
257
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
258
+ throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
259
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
260
+ throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
261
+ g = e.TRUSTED_TYPES_POLICY, X = g.createHTML("");
262
+ } else
263
+ g === void 0 && (g = un(ee, c)), g !== null && typeof X == "string" && (X = g.createHTML(""));
264
+ S && S(e), G = e;
265
+ }
266
+ }, Je = r({}, [...Me, ...we, ...Qt]), Qe = r({}, [...xe, ...en]), Wt = function(e) {
267
+ let t = te(e);
268
+ (!t || !t.tagName) && (t = {
269
+ namespaceURI: z,
270
+ tagName: "template"
271
+ });
272
+ const n = ue(e.tagName), f = ue(t.tagName);
273
+ return Le[e.namespaceURI] ? e.namespaceURI === re ? t.namespaceURI === C ? n === "svg" : t.namespaceURI === ae ? n === "svg" && (f === "annotation-xml" || se[f]) : !!Je[n] : e.namespaceURI === ae ? t.namespaceURI === C ? n === "math" : t.namespaceURI === re ? n === "math" && le[f] : !!Qe[n] : e.namespaceURI === C ? t.namespaceURI === re && !le[f] || t.namespaceURI === ae && !se[f] ? !1 : !Qe[n] && (Ft[n] || !Je[n]) : !!($ === "application/xhtml+xml" && Le[e.namespaceURI]) : !1;
274
+ }, N = function(e) {
275
+ q(o.removed, {
276
+ element: e
277
+ });
278
+ try {
279
+ te(e).removeChild(e);
280
+ } catch {
281
+ Lt(e);
282
+ }
283
+ }, P = function(e, t) {
284
+ try {
285
+ q(o.removed, {
286
+ attribute: t.getAttributeNode(e),
287
+ from: t
288
+ });
289
+ } catch {
290
+ q(o.removed, {
291
+ attribute: null,
292
+ from: t
293
+ });
294
+ }
295
+ if (t.removeAttribute(e), e === "is")
296
+ if (F || oe)
297
+ try {
298
+ N(t);
299
+ } catch {
300
+ }
301
+ else
302
+ try {
303
+ t.setAttribute(e, "");
304
+ } catch {
305
+ }
306
+ }, et = function(e) {
307
+ let t = null, n = null;
308
+ if (he)
309
+ e = "<remove></remove>" + e;
310
+ else {
311
+ const m = Ce(e, /^[\r\n\t ]+/);
312
+ n = m && m[0];
313
+ }
314
+ $ === "application/xhtml+xml" && z === C && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
315
+ const f = g ? g.createHTML(e) : e;
316
+ if (z === C)
317
+ try {
318
+ t = new Ot().parseFromString(f, $);
319
+ } catch {
320
+ }
321
+ if (!t || !t.documentElement) {
322
+ t = pe.createDocument(z, "template", null);
323
+ try {
324
+ t.documentElement.innerHTML = De ? X : f;
325
+ } catch {
326
+ }
327
+ }
328
+ const _ = t.body || t.documentElement;
329
+ return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), z === C ? Ct.call(t, x ? "html" : "body")[0] : x ? t.documentElement : _;
330
+ }, tt = function(e) {
331
+ return Nt.call(
332
+ e.ownerDocument || e,
333
+ e,
334
+ // eslint-disable-next-line no-bitwise
335
+ B.SHOW_ELEMENT | B.SHOW_COMMENT | B.SHOW_TEXT | B.SHOW_PROCESSING_INSTRUCTION | B.SHOW_CDATA_SECTION,
336
+ null
337
+ );
338
+ }, be = function(e) {
339
+ return e instanceof Rt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof St) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
340
+ }, nt = function(e) {
341
+ return typeof me == "function" && e instanceof me;
342
+ };
343
+ function M(i, e, t) {
344
+ ce(i, (n) => {
345
+ n.call(o, e, t, G);
346
+ });
347
+ }
348
+ const ot = function(e) {
349
+ let t = null;
350
+ if (M(A.beforeSanitizeElements, e, null), be(e))
351
+ return N(e), !0;
352
+ const n = p(e.nodeName);
353
+ if (M(A.uponSanitizeElement, e, {
354
+ tagName: n,
355
+ allowedTags: T
356
+ }), ne && e.hasChildNodes() && !nt(e.firstElementChild) && h(/<[/\w!]/g, e.innerHTML) && h(/<[/\w!]/g, e.textContent) || e.nodeType === Q.progressingInstruction || ne && e.nodeType === Q.comment && h(/<[/\w]/g, e.data))
357
+ return N(e), !0;
358
+ if (!(k.tagCheck instanceof Function && k.tagCheck(n)) && (!T[n] || j[n])) {
359
+ if (!j[n] && at(n) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
360
+ return !1;
361
+ if (Se && !b[n]) {
362
+ const f = te(e) || e.parentNode, _ = bt(e) || e.childNodes;
363
+ if (_ && f) {
364
+ const m = _.length;
365
+ for (let D = m - 1; D >= 0; --D) {
366
+ const w = Dt(_[D], !0);
367
+ w.__removalCount = (e.__removalCount || 0) + 1, f.insertBefore(w, yt(e));
368
+ }
369
+ }
370
+ }
371
+ return N(e), !0;
372
+ }
373
+ return e instanceof Fe && !Wt(e) || (n === "noscript" || n === "noembed" || n === "noframes") && h(/<\/no(script|embed|frames)/i, e.innerHTML) ? (N(e), !0) : (U && e.nodeType === Q.text && (t = e.textContent, ce([Te, de, Ee], (f) => {
374
+ t = K(t, f, " ");
375
+ }), e.textContent !== t && (q(o.removed, {
376
+ element: e.cloneNode()
377
+ }), e.textContent = t)), M(A.afterSanitizeElements, e, null), !1);
378
+ }, it = function(e, t, n) {
379
+ if (je && (t === "id" || t === "name") && (n in l || n in Gt))
380
+ return !1;
381
+ if (!(ge && !_e[t] && h(wt, t))) {
382
+ if (!(Be && h(xt, t))) {
383
+ if (!(k.attributeCheck instanceof Function && k.attributeCheck(t, e))) {
384
+ if (!d[t] || _e[t]) {
385
+ if (
386
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
387
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
388
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
389
+ !(at(e) && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, e) || u.tagNameCheck instanceof Function && u.tagNameCheck(e)) && (u.attributeNameCheck instanceof RegExp && h(u.attributeNameCheck, t) || u.attributeNameCheck instanceof Function && u.attributeNameCheck(t, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
390
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
391
+ t === "is" && u.allowCustomizedBuiltInElements && (u.tagNameCheck instanceof RegExp && h(u.tagNameCheck, n) || u.tagNameCheck instanceof Function && u.tagNameCheck(n)))
392
+ ) return !1;
393
+ } else if (!Oe[t]) {
394
+ if (!h(ze, K(n, He, ""))) {
395
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && qt(n, "data:") === 0 && $e[e])) {
396
+ if (!(Ye && !h(Pt, K(n, He, "")))) {
397
+ if (n)
398
+ return !1;
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
406
+ return !0;
407
+ }, at = function(e) {
408
+ return e !== "annotation-xml" && Ce(e, vt);
409
+ }, rt = function(e) {
410
+ M(A.beforeSanitizeAttributes, e, null);
411
+ const {
412
+ attributes: t
413
+ } = e;
414
+ if (!t || be(e))
415
+ return;
416
+ const n = {
417
+ attrName: "",
418
+ attrValue: "",
419
+ keepAttr: !0,
420
+ allowedAttributes: d,
421
+ forceKeepAttr: void 0
422
+ };
423
+ let f = t.length;
424
+ for (; f--; ) {
425
+ const _ = t[f], {
426
+ name: m,
427
+ namespaceURI: D,
428
+ value: w
429
+ } = _, W = p(m), Ne = w;
430
+ let E = m === "value" ? Ne : Kt(Ne);
431
+ if (n.attrName = W, n.attrValue = E, n.keepAttr = !0, n.forceKeepAttr = void 0, M(A.uponSanitizeAttribute, e, n), E = n.attrValue, Ve && (W === "id" || W === "name") && (P(m, e), E = kt + E), ne && h(/((--!?|])>)|<\/(style|title|textarea)/i, E)) {
432
+ P(m, e);
433
+ continue;
434
+ }
435
+ if (W === "attributename" && Ce(E, "href")) {
436
+ P(m, e);
437
+ continue;
438
+ }
439
+ if (n.forceKeepAttr)
440
+ continue;
441
+ if (!n.keepAttr) {
442
+ P(m, e);
443
+ continue;
444
+ }
445
+ if (!Xe && h(/\/>/i, E)) {
446
+ P(m, e);
447
+ continue;
448
+ }
449
+ U && ce([Te, de, Ee], (lt) => {
450
+ E = K(E, lt, " ");
451
+ });
452
+ const st = p(e.nodeName);
453
+ if (!it(st, W, E)) {
454
+ P(m, e);
455
+ continue;
456
+ }
457
+ if (g && typeof ee == "object" && typeof ee.getAttributeType == "function" && !D)
458
+ switch (ee.getAttributeType(st, W)) {
459
+ case "TrustedHTML": {
460
+ E = g.createHTML(E);
461
+ break;
462
+ }
463
+ case "TrustedScriptURL": {
464
+ E = g.createScriptURL(E);
465
+ break;
466
+ }
467
+ }
468
+ if (E !== Ne)
469
+ try {
470
+ D ? e.setAttributeNS(D, m, E) : e.setAttribute(m, E), be(e) ? N(e) : ft(o.removed);
471
+ } catch {
472
+ P(m, e);
473
+ }
474
+ }
475
+ M(A.afterSanitizeAttributes, e, null);
476
+ }, Bt = function i(e) {
477
+ let t = null;
478
+ const n = tt(e);
479
+ for (M(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode(); )
480
+ M(A.uponSanitizeShadowNode, t, null), ot(t), rt(t), t.content instanceof O && i(t.content);
481
+ M(A.afterSanitizeShadowDOM, e, null);
482
+ };
483
+ return o.sanitize = function(i) {
484
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, f = null, _ = null;
485
+ if (De = !i, De && (i = "<!-->"), typeof i != "string" && !nt(i))
486
+ if (typeof i.toString == "function") {
487
+ if (i = i.toString(), typeof i != "string")
488
+ throw Z("dirty is not a string, aborting");
489
+ } else
490
+ throw Z("toString is not a function");
491
+ if (!o.isSupported)
492
+ return i;
493
+ if (Ae || ye(e), o.removed = [], typeof i == "string" && (V = !1), V) {
494
+ if (i.nodeName) {
495
+ const w = p(i.nodeName);
496
+ if (!T[w] || j[w])
497
+ throw Z("root node is forbidden and cannot be sanitized in-place");
498
+ }
499
+ } else if (i instanceof me)
500
+ t = et("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Q.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
501
+ else {
502
+ if (!F && !U && !x && // eslint-disable-next-line unicorn/prefer-includes
503
+ i.indexOf("<") === -1)
504
+ return g && ie ? g.createHTML(i) : i;
505
+ if (t = et(i), !t)
506
+ return F ? null : ie ? X : "";
507
+ }
508
+ t && he && N(t.firstChild);
509
+ const m = tt(V ? i : t);
510
+ for (; f = m.nextNode(); )
511
+ ot(f), rt(f), f.content instanceof O && Bt(f.content);
512
+ if (V)
513
+ return i;
514
+ if (F) {
515
+ if (oe)
516
+ for (_ = It.call(t.ownerDocument); t.firstChild; )
517
+ _.appendChild(t.firstChild);
518
+ else
519
+ _ = t;
520
+ return (d.shadowroot || d.shadowrootmode) && (_ = Mt.call(a, _, !0)), _;
521
+ }
522
+ let D = x ? t.outerHTML : t.innerHTML;
523
+ return x && T["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && h(At, t.ownerDocument.doctype.name) && (D = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
524
+ ` + D), U && ce([Te, de, Ee], (w) => {
525
+ D = K(D, w, " ");
526
+ }), g && ie ? g.createHTML(D) : D;
527
+ }, o.setConfig = function() {
528
+ let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
529
+ ye(i), Ae = !0;
530
+ }, o.clearConfig = function() {
531
+ G = null, Ae = !1;
532
+ }, o.isValidAttribute = function(i, e, t) {
533
+ G || ye({});
534
+ const n = p(i), f = p(e);
535
+ return it(n, f, t);
536
+ }, o.addHook = function(i, e) {
537
+ typeof e == "function" && q(A[i], e);
538
+ }, o.removeHook = function(i, e) {
539
+ if (e !== void 0) {
540
+ const t = Vt(A[i], e);
541
+ return t === -1 ? void 0 : $t(A[i], t, 1)[0];
542
+ }
543
+ return ft(A[i]);
544
+ }, o.removeHooks = function(i) {
545
+ A[i] = [];
546
+ }, o.removeAllHooks = function() {
547
+ A = Et();
548
+ }, o;
549
+ }
550
+ var mn = ht();
551
+ export {
552
+ mn as default
553
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */const{entries:_t,setPrototypeOf:ct,isFrozen:Yt,getPrototypeOf:Xt,getOwnPropertyDescriptor:jt}=Object;let{freeze:S,seal:y,create:ve}=Object,{apply:ke,construct:Ue}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});y||(y=function(o){return o});ke||(ke=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)});Ue||(Ue=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});const ce=R(Array.prototype.forEach),Vt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),q=R(Array.prototype.push),$t=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ie=R(String.prototype.toString),Ce=R(String.prototype.match),K=R(String.prototype.replace),qt=R(String.prototype.indexOf),Kt=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),h=R(RegExp.prototype.test),Z=Zt(TypeError);function R(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ke(s,o,a)}}function Zt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return Ue(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ct&&ct(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o<s.length;o++)L(s,o)||(s[o]=null);return s}function I(s){const o=ve(null);for(const[l,a]of _t(s))L(s,l)&&(Array.isArray(a)?o[l]=Jt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=I(a):o[l]=a);return o}function J(s,o){for(;s!==null;){const a=jt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Xt(s)}function l(){return null}return l}const ut=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","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"]),Me=S(["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"]),we=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"]),Qt=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"]),xe=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"]),en=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),pt=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","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","slot"]),Pe=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","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"]),Tt=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"]),tn=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nn=y(/<%[\w\W]*|[\w\W]*%>/gm),on=y(/\$\{[\w\W]*/gm),an=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=y(/^aria-[\-\w]+$/),gt=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=y(/^(?:\w+script|data):/i),ln=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=y(/^html$/i),cn=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var dt=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:At,ERB_EXPR:nn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on});const Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(v){return v},createScriptURL(v){return v}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ht(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn();const o=i=>ht(i);if(o.version="3.3.1",o.removed=[],!s||!s.document||s.document.nodeType!==Q.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:v,Node:me,Element:Fe,NodeFilter:B,NamedNodeMap:St=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:Ot,trustedTypes:ee}=s,Y=Fe.prototype,Dt=J(Y,"cloneNode"),yt=J(Y,"remove"),Lt=J(Y,"nextSibling"),bt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof v=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,X="";const{implementation:pe,createNodeIterator:Nt,createDocumentFragment:It,getElementsByTagName:Ct}=l,{importNode:Mt}=a;let A=Et();o.isSupported=typeof _t=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Te,ERB_EXPR:de,TMPLIT_EXPR:Ee,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:He,CUSTOM_ELEMENT:vt}=dt;let{IS_ALLOWED_URI:ze}=dt,T=null;const Ge=r({},[...ut,...Me,...we,...xe,...mt]);let d=null;const We=r({},[...pt,...Pe,...Tt,...fe]);let u=Object.seal(ve(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,_e=null;const k=Object.seal(ve(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Be=!0,ge=!0,Ye=!1,Xe=!0,U=!1,ne=!0,x=!1,Ae=!1,he=!1,F=!1,oe=!1,ie=!1,je=!0,Ve=!1;const kt="user-content-";let Se=!0,V=!1,H={},b=null;const Re=r({},["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"]);let $e=null;const qe=r({},["audio","video","img","source","image","track"]);let Oe=null;const Ke=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml";let z=C,De=!1,ye=null;const Ut=r({},[ae,re,C],Ie);let se=r({},["mi","mo","mn","ms","mtext"]),le=r({},["annotation-xml"]);const Ft=r({},["title","style","font","a","script"]);let $=null;const Ht=["application/xhtml+xml","text/html"],zt="text/html";let p=null,G=null;const Gt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=I(e),$=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,p=$==="application/xhtml+xml"?Ie:ue,T=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):Ge,d=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):We,ye=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ie):Ut,Oe=L(e,"ADD_URI_SAFE_ATTR")?r(I(Ke),e.ADD_URI_SAFE_ATTR,p):Ke,$e=L(e,"ADD_DATA_URI_TAGS")?r(I(qe),e.ADD_DATA_URI_TAGS,p):qe,b=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Re,j=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):I({}),_e=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):I({}),H=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,Be=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Ye=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Xe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,x=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,he=e.FORCE_BODY||!1,je=e.SANITIZE_DOM!==!1,Ve=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,ze=e.ALLOWED_URI_REGEXP||gt,z=e.NAMESPACE||C,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(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),U&&(ge=!1),oe&&(F=!0),H&&(T=r({},mt),d=[],H.html===!0&&(r(T,ut),r(d,pt)),H.svg===!0&&(r(T,Me),r(d,Pe),r(d,fe)),H.svgFilters===!0&&(r(T,we),r(d,Pe),r(d,fe)),H.mathMl===!0&&(r(T,xe),r(d,Tt),r(d,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?k.tagCheck=e.ADD_TAGS:(T===Ge&&(T=I(T)),r(T,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?k.attributeCheck=e.ADD_ATTR:(d===We&&(d=I(d)),r(d,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(Oe,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(b===Re&&(b=I(b)),r(b,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(b===Re&&(b=I(b)),r(b,e.ADD_FORBID_CONTENTS,p)),Se&&(T["#text"]=!0),x&&r(T,["html","head","body"]),T.table&&(r(T,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,X=g.createHTML("")}else g===void 0&&(g=un(ee,c)),g!==null&&typeof X=="string"&&(X=g.createHTML(""));S&&S(e),G=e}},Je=r({},[...Me,...we,...Qt]),Qe=r({},[...xe,...en]),Wt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===C?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Je[n]:e.namespaceURI===ae?t.namespaceURI===C?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!Qe[n]:e.namespaceURI===C?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!Qe[n]&&(Ft[n]||!Je[n]):!!($==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},N=function(e){q(o.removed,{element:e});try{te(e).removeChild(e)}catch{yt(e)}},P=function(e,t){try{q(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(F||oe)try{N(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,n=null;if(he)e="<remove></remove>"+e;else{const m=Ce(e,/^[\r\n\t ]+/);n=m&&m[0]}$==="application/xhtml+xml"&&z===C&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=g?g.createHTML(e):e;if(z===C)try{t=new Ot().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=De?X:f}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===C?Ct.call(t,x?"html":"body")[0]:x?t.documentElement:_},tt=function(e){return Nt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof me=="function"&&e instanceof me};function M(i,e,t){ce(i,n=>{n.call(o,e,t,G)})}const ot=function(e){let t=null;if(M(A.beforeSanitizeElements,e,null),be(e))return N(e),!0;const n=p(e.nodeName);if(M(A.uponSanitizeElement,e,{tagName:n,allowedTags:T}),ne&&e.hasChildNodes()&&!nt(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&h(/<[/\w]/g,e.data))return N(e),!0;if(!(k.tagCheck instanceof Function&&k.tagCheck(n))&&(!T[n]||j[n])){if(!j[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Se&&!b[n]){const f=te(e)||e.parentNode,_=bt(e)||e.childNodes;if(_&&f){const m=_.length;for(let D=m-1;D>=0;--D){const w=Dt(_[D],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Lt(e))}}}return N(e),!0}return e instanceof Fe&&!Wt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(N(e),!0):(U&&e.nodeType===Q.text&&(t=e.textContent,ce([Te,de,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(A.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(je&&(t==="id"||t==="name")&&(n in l||n in Gt))return!1;if(!(ge&&!_e[t]&&h(wt,t))){if(!(Be&&h(xt,t))){if(!(k.attributeCheck instanceof Function&&k.attributeCheck(t,e))){if(!d[t]||_e[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Oe[t]){if(!h(ze,K(n,He,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&$e[e])){if(!(Ye&&!h(Pt,K(n,He,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&Ce(e,vt)},rt=function(e){M(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||be(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:D,value:w}=_,W=p(m),Ne=w;let E=m==="value"?Ne:Kt(Ne);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(A.uponSanitizeAttribute,e,n),E=n.attrValue,Ve&&(W==="id"||W==="name")&&(P(m,e),E=kt+E),ne&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){P(m,e);continue}if(W==="attributename"&&Ce(E,"href")){P(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){P(m,e);continue}if(!Xe&&h(/\/>/i,E)){P(m,e);continue}U&&ce([Te,de,Ee],lt=>{E=K(E,lt," ")});const st=p(e.nodeName);if(!it(st,W,E)){P(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!D)switch(ee.getAttributeType(st,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==Ne)try{D?e.setAttributeNS(D,m,E):e.setAttribute(m,E),be(e)?N(e):ft(o.removed)}catch{P(m,e)}}M(A.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null;const n=tt(e);for(M(A.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(A.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&i(t.content);M(A.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(De=!i,De&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return i;if(Ae||Le(e),o.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){const w=p(i.nodeName);if(!T[w]||j[w])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!F&&!U&&!x&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=et(i),!t)return F?null:ie?X:""}t&&he&&N(t.firstChild);const m=tt(V?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&Bt(f.content);if(V)return i;if(F){if(oe)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(d.shadowroot||d.shadowrootmode)&&(_=Mt.call(a,_,!0)),_}let D=x?t.outerHTML:t.innerHTML;return x&&T["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h(At,t.ownerDocument.doctype.name)&&(D="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
2
+ `+D),U&&ce([Te,de,Ee],w=>{D=K(D,w," ")}),g&&ie?g.createHTML(D):D},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(i),Ae=!0},o.clearConfig=function(){G=null,Ae=!1},o.isValidAttribute=function(i,e,t){G||Le({});const n=p(i),f=p(e);return it(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&q(A[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=Vt(A[i],e);return t===-1?void 0:$t(A[i],t,1)[0]}return ft(A[i])},o.removeHooks=function(i){A[i]=[]},o.removeAllHooks=function(){A=Et()},o}var mn=ht();exports.default=mn;
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>