Let's get some quotes!
/*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */
A.exports=function(){"use strict";var A=Object.hasOwnProperty,e=Object.setPrototypeOf,t=Object.isFrozen,n=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,r=Object.freeze,s=Object.seal,o=Object.create,a="undefined"!=typeof Reflect&&Reflect,B=a.apply,c=a.construct;B||(B=function(A,e,t){return A.apply(e,t)}),r||(r=function(A){return A}),s||(s=function(A){return A}),c||(c=function(A,e){return new(Function.prototype.bind.apply(A,[null].concat(function(A){if(Array.isArray(A)){for(var e=0,t=Array(A.length);e1?t-1:0),i=1;i/gm),v=s(/^data-[\-\w.\u00B7-\uFFFF]/),J=s(/^aria-[\-\w]+$/),j=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=s(/^(?:\w+script|data):/i),L=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A};function O(A){if(Array.isArray(A)){for(var e=0,t=Array(A.length);e0&&void 0!==arguments[0]?arguments[0]:V(),t=function(e){return A(e)};if(t.version="2.2.7",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,i=e.document,s=e.DocumentFragment,o=e.HTMLTemplateElement,a=e.Node,B=e.Element,c=e.NodeFilter,g=e.NamedNodeMap,p=void 0===g?e.NamedNodeMap||e.MozNamedAttrMap:g,K=e.Text,X=e.Comment,Z=e.DOMParser,_=e.trustedTypes,q=B.prototype,$=D(q,"cloneNode"),AA=D(q,"nextSibling"),eA=D(q,"childNodes"),tA=D(q,"parentNode");if("function"==typeof o){var nA=i.createElement("template");nA.content&&nA.content.ownerDocument&&(i=nA.content.ownerDocument)}var iA=W(_,n),rA=iA&&HA?iA.createHTML(""):"",sA=i,oA=sA.implementation,aA=sA.createNodeIterator,BA=sA.getElementsByTagName,cA=sA.createDocumentFragment,gA=n.importNode,EA={};try{EA=F(i).documentMode?i.documentMode:{}}catch(A){}var QA={};t.isSupported="function"==typeof tA&&oA&&void 0!==oA.createHTMLDocument&&9!==EA;var lA=H,uA=k,hA=v,wA=J,CA=z,dA=L,IA=j,MA=null,pA=m({},[].concat(O(Y),O(f),O(N),O(y),O(x))),mA=null,FA=m({},[].concat(O(R),O(G),O(S),O(b))),DA=null,YA=null,fA=!0,NA=!0,UA=!1,yA=!1,TA=!1,xA=!1,RA=!1,GA=!1,SA=!1,bA=!0,HA=!1,kA=!0,vA=!0,JA=!1,jA={},zA=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),LA=null,PA=m({},["audio","video","img","source","image","track"]),OA=null,VA=m({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),WA=null,KA=i.createElement("form"),XA=function(A){WA&&WA===A||(A&&"object"===(void 0===A?"undefined":P(A))||(A={}),A=F(A),MA="ALLOWED_TAGS"in A?m({},A.ALLOWED_TAGS):pA,mA="ALLOWED_ATTR"in A?m({},A.ALLOWED_ATTR):FA,OA="ADD_URI_SAFE_ATTR"in A?m(F(VA),A.ADD_URI_SAFE_ATTR):VA,LA="ADD_DATA_URI_TAGS"in A?m(F(PA),A.ADD_DATA_URI_TAGS):PA,DA="FORBID_TAGS"in A?m({},A.FORBID_TAGS):{},YA="FORBID_ATTR"in A?m({},A.FORBID_ATTR):{},jA="USE_PROFILES"in A&&A.USE_PROFILES,fA=!1!==A.ALLOW_ARIA_ATTR,NA=!1!==A.ALLOW_DATA_ATTR,UA=A.ALLOW_UNKNOWN_PROTOCOLS||!1,yA=A.SAFE_FOR_TEMPLATES||!1,TA=A.WHOLE_DOCUMENT||!1,GA=A.RETURN_DOM||!1,SA=A.RETURN_DOM_FRAGMENT||!1,bA=!1!==A.RETURN_DOM_IMPORT,HA=A.RETURN_TRUSTED_TYPE||!1,RA=A.FORCE_BODY||!1,kA=!1!==A.SANITIZE_DOM,vA=!1!==A.KEEP_CONTENT,JA=A.IN_PLACE||!1,IA=A.ALLOWED_URI_REGEXP||IA,yA&&(NA=!1),SA&&(GA=!0),jA&&(MA=m({},[].concat(O(x))),mA=[],!0===jA.html&&(m(MA,Y),m(mA,R)),!0===jA.svg&&(m(MA,f),m(mA,G),m(mA,b)),!0===jA.svgFilters&&(m(MA,N),m(mA,G),m(mA,b)),!0===jA.mathMl&&(m(MA,y),m(mA,S),m(mA,b))),A.ADD_TAGS&&(MA===pA&&(MA=F(MA)),m(MA,A.ADD_TAGS)),A.ADD_ATTR&&(mA===FA&&(mA=F(mA)),m(mA,A.ADD_ATTR)),A.ADD_URI_SAFE_ATTR&&m(OA,A.ADD_URI_SAFE_ATTR),vA&&(MA["#text"]=!0),TA&&m(MA,["html","head","body"]),MA.table&&(m(MA,["tbody"]),delete DA.tbody),r&&r(A),WA=A)},ZA=m({},["mi","mo","mn","ms","mtext"]),_A=m({},["foreignobject","desc","title","annotation-xml"]),qA=m({},f);m(qA,N),m(qA,U);var $A=m({},y);m($A,T);var Ae="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml",ne=function(A){var e=tA(A);e&&e.tagName||(e={namespaceURI:te,tagName:"template"});var t=u(A.tagName),n=u(e.tagName);if(A.namespaceURI===ee)return e.namespaceURI===te?"svg"===t:e.namespaceURI===Ae?"svg"===t&&("annotation-xml"===n||ZA[n]):Boolean(qA[t]);if(A.namespaceURI===Ae)return e.namespaceURI===te?"math"===t:e.namespaceURI===ee?"math"===t&&_A[n]:Boolean($A[t]);if(A.namespaceURI===te){if(e.namespaceURI===ee&&!_A[n])return!1;if(e.namespaceURI===Ae&&!ZA[n])return!1;var i=m({},["title","style","font","a","script"]);return!$A[t]&&(i[t]||!qA[t])}return!1},ie=function(A){l(t.removed,{element:A});try{A.parentNode.removeChild(A)}catch(e){try{A.outerHTML=rA}catch(e){A.remove()}}},re=function(A,e){try{l(t.removed,{attribute:e.getAttributeNode(A),from:e})}catch(A){l(t.removed,{attribute:null,from:e})}if(e.removeAttribute(A),"is"===A&&!mA[A])if(GA||SA)try{ie(e)}catch(A){}else try{e.setAttribute(A,"")}catch(A){}},se=function(A){var e=void 0,t=void 0;if(RA)A=""+A;else{var n=h(A,/^[\r\n\t ]+/);t=n&&n[0]}var r=iA?iA.createHTML(A):A;try{e=(new Z).parseFromString(r,"text/html")}catch(A){}if(!e||!e.documentElement){var s=(e=oA.createHTMLDocument("")).body;s.parentNode.removeChild(s.parentNode.firstElementChild),s.outerHTML=r}return A&&t&&e.body.insertBefore(i.createTextNode(t),e.body.childNodes[0]||null),BA.call(e,TA?"html":"body")[0]},oe=function(A){return aA.call(A.ownerDocument||A,A,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,(function(){return c.FILTER_ACCEPT}),!1)},ae=function(A){return!(A instanceof K||A instanceof X||"string"==typeof A.nodeName&&"string"==typeof A.textContent&&"function"==typeof A.removeChild&&A.attributes instanceof p&&"function"==typeof A.removeAttribute&&"function"==typeof A.setAttribute&&"string"==typeof A.namespaceURI&&"function"==typeof A.insertBefore)},Be=function(A){return"object"===(void 0===a?"undefined":P(a))?A instanceof a:A&&"object"===(void 0===A?"undefined":P(A))&&"number"==typeof A.nodeType&&"string"==typeof A.nodeName},ce=function(A,e,n){QA[A]&&E(QA[A],(function(A){A.call(t,e,n,WA)}))},ge=function(A){var e=void 0;if(ce("beforeSanitizeElements",A,null),ae(A))return ie(A),!0;if(h(A.nodeName,/[\u0080-\uFFFF]/))return ie(A),!0;var n=u(A.nodeName);if(ce("uponSanitizeElement",A,{tagName:n,allowedTags:MA}),!Be(A.firstElementChild)&&(!Be(A.content)||!Be(A.content.firstElementChild))&&I(/<[/\w]/g,A.innerHTML)&&I(/<[/\w]/g,A.textContent))return ie(A),!0;if(!MA[n]||DA[n]){if(vA&&!zA[n]){var i=tA(A),r=eA(A);if(r&&i)for(var s=r.length-1;s>=0;--s)i.insertBefore($(r[s],!0),AA(A))}return ie(A),!0}return A instanceof B&&!ne(A)?(ie(A),!0):"noscript"!==n&&"noembed"!==n||!I(/<\/no(script|embed)/i,A.innerHTML)?(yA&&3===A.nodeType&&(e=A.textContent,e=w(e,lA," "),e=w(e,uA," "),A.textContent!==e&&(l(t.removed,{element:A.cloneNode()}),A.textContent=e)),ce("afterSanitizeElements",A,null),!1):(ie(A),!0)},Ee=function(A,e,t){if(kA&&("id"===e||"name"===e)&&(t in i||t in KA))return!1;if(NA&&I(hA,e));else if(fA&&I(wA,e));else{if(!mA[e]||YA[e])return!1;if(OA[e]);else if(I(IA,w(t,dA,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===A||0!==C(t,"data:")||!LA[A])if(UA&&!I(CA,w(t,dA,"")));else if(t)return!1}return!0},Qe=function(A){var e=void 0,n=void 0,i=void 0,r=void 0;ce("beforeSanitizeAttributes",A,null);var s=A.attributes;if(s){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:mA};for(r=s.length;r--;){var a=e=s[r],B=a.name,c=a.namespaceURI;if(n=d(e.value),i=u(B),o.attrName=i,o.attrValue=n,o.keepAttr=!0,o.forceKeepAttr=void 0,ce("uponSanitizeAttribute",A,o),n=o.attrValue,!o.forceKeepAttr&&(re(B,A),o.keepAttr))if(I(/\/>/i,n))re(B,A);else{yA&&(n=w(n,lA," "),n=w(n,uA," "));var g=A.nodeName.toLowerCase();if(Ee(g,i,n))try{c?A.setAttributeNS(c,B,n):A.setAttribute(B,n),Q(t.removed)}catch(A){}}}ce("afterSanitizeAttributes",A,null)}},le=function A(e){var t=void 0,n=oe(e);for(ce("beforeSanitizeShadowDOM",e,null);t=n.nextNode();)ce("uponSanitizeShadowNode",t,null),ge(t)||(t.content instanceof s&&A(t.content),Qe(t));ce("afterSanitizeShadowDOM",e,null)};return t.sanitize=function(A,i){var r=void 0,o=void 0,B=void 0,c=void 0,g=void 0;if(A||(A="\x3c!--\x3e"),"string"!=typeof A&&!Be(A)){if("function"!=typeof A.toString)throw M("toString is not a function");if("string"!=typeof(A=A.toString()))throw M("dirty is not a string, aborting")}if(!t.isSupported){if("object"===P(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof A)return e.toStaticHTML(A);if(Be(A))return e.toStaticHTML(A.outerHTML)}return A}if(xA||XA(i),t.removed=[],"string"==typeof A&&(JA=!1),JA);else if(A instanceof a)1===(o=(r=se("\x3c!----\x3e")).ownerDocument.importNode(A,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!GA&&!yA&&!TA&&-1===A.indexOf("<"))return iA&&HA?iA.createHTML(A):A;if(!(r=se(A)))return GA?null:rA}r&&RA&&ie(r.firstChild);for(var E=oe(JA?A:r);B=E.nextNode();)3===B.nodeType&&B===c||ge(B)||(B.content instanceof s&&le(B.content),Qe(B),c=B);if(c=null,JA)return A;if(GA){if(SA)for(g=cA.call(r.ownerDocument);r.firstChild;)g.appendChild(r.firstChild);else g=r;return bA&&(g=gA.call(n,g,!0)),g}var Q=TA?r.outerHTML:r.innerHTML;return yA&&(Q=w(Q,lA," "),Q=w(Q,uA," ")),iA&&HA?iA.createHTML(Q):Q},t.setConfig=function(A){XA(A),xA=!0},t.clearConfig=function(){WA=null,xA=!1},t.isValidAttribute=function(A,e,t){WA||XA({});var n=u(A),i=u(e);return Ee(n,i,t)},t.addHook=function(A,e){"function"==typeof e&&(QA[A]=QA[A]||[],l(QA[A],e))},t.removeHook=function(A){QA[A]&&Q(QA[A])},t.removeHooks=function(A){QA[A]&&(QA[A]=[])},t.removeAllHooks=function(){QA={}},t}()}()},function(A,e){A.exports=function(A){const e=[],t=A=>{"text"===A.localName&&e.push(A);for(let e=0;e]*>/);e&&-1===e[0].indexOf("xmlns=")&&(A=A.replace("