(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216214"],{c0c4:function(e,t,n){ /*! @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.0.8/LICENSE */ (function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),o=1;o/gm),U=a(/^data-[\-\w.\u00B7-\uFFFF]/),j=a(/^aria-[\-\w]+$/),P=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=a(/^(?:\w+script|data):/i),W=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),B="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function q(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:K(),t=function(e){return Y(e)};if(t.version="2.0.12",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=!1,a=e.document,l=e.DocumentFragment,c=e.HTMLTemplateElement,s=e.Node,k=e.NodeFilter,w=e.NamedNodeMap,J=void 0===w?e.NamedNodeMap||e.MozNamedAttrMap:w,X=e.Text,$=e.Comment,Q=e.DOMParser,Z=e.trustedTypes;if("function"===typeof c){var ee=a.createElement("template");ee.content&&ee.content.ownerDocument&&(a=ee.content.ownerDocument)}var te=V(Z,n),ne=te&&He?te.createHTML(""):"",re=a,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,le=re.createDocumentFragment,ce=n.importNode,se={};t.isSupported=oe&&"undefined"!==typeof oe.createHTMLDocument&&9!==a.documentMode;var ue=z,de=I,pe=U,fe=j,me=G,ye=W,he=P,ge=null,ve=L({},[].concat(q(E),q(M),q(D),q(R),q(N))),be=null,Te=L({},[].concat(q(O),q(H),q(C),q(F))),Ae=null,xe=null,Se=!0,ke=!0,we=!1,Le=!1,_e=!1,Ee=!1,Me=!1,De=!1,Re=!1,Ne=!1,Oe=!1,He=!1,Ce=!0,Fe=!0,ze=!1,Ie={},Ue=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),je=null,Pe=L({},["audio","video","img","source","image","track"]),Ge=null,We=L({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Be=null,qe=a.createElement("form"),Ke=function(e){Be&&Be===e||(e&&"object"===("undefined"===typeof e?"undefined":B(e))||(e={}),ge="ALLOWED_TAGS"in e?L({},e.ALLOWED_TAGS):ve,be="ALLOWED_ATTR"in e?L({},e.ALLOWED_ATTR):Te,Ge="ADD_URI_SAFE_ATTR"in e?L(_(We),e.ADD_URI_SAFE_ATTR):We,je="ADD_DATA_URI_TAGS"in e?L(_(Pe),e.ADD_DATA_URI_TAGS):Pe,Ae="FORBID_TAGS"in e?L({},e.FORBID_TAGS):{},xe="FORBID_ATTR"in e?L({},e.FORBID_ATTR):{},Ie="USE_PROFILES"in e&&e.USE_PROFILES,Se=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,we=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=e.SAFE_FOR_JQUERY||!1,_e=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Ne=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_DOM_IMPORT||!1,He=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Ce=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,ze=e.IN_PLACE||!1,he=e.ALLOWED_URI_REGEXP||he,_e&&(ke=!1),Ne&&(Re=!0),Ie&&(ge=L({},[].concat(q(N))),be=[],!0===Ie.html&&(L(ge,E),L(be,O)),!0===Ie.svg&&(L(ge,M),L(be,H),L(be,F)),!0===Ie.svgFilters&&(L(ge,D),L(be,H),L(be,F)),!0===Ie.mathMl&&(L(ge,R),L(be,C),L(be,F))),e.ADD_TAGS&&(ge===ve&&(ge=_(ge)),L(ge,e.ADD_TAGS)),e.ADD_ATTR&&(be===Te&&(be=_(be)),L(be,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&L(Ge,e.ADD_URI_SAFE_ATTR),Fe&&(ge["#text"]=!0),Ee&&L(ge,["html","head","body"]),ge.table&&(L(ge,["tbody"]),delete Ae.tbody),i&&i(e),Be=e)},Ve=function(e){m(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(n){e.outerHTML=ne}},Ye=function(e,n){try{m(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(r){m(t.removed,{attribute:null,from:n})}n.removeAttribute(e)},Je=function(e){var t=void 0,n=void 0;if(De)e=""+e;else{var o=g(e,/^[\r\n\t ]+/);n=o&&o[0]}var i=te?te.createHTML(e):e;try{t=(new Q).parseFromString(i,"text/html")}catch(s){}if(r&&L(Ae,["title"]),!t||!t.documentElement){t=oe.createHTMLDocument("");var l=t,c=l.body;c.parentNode.removeChild(c.parentNode.firstElementChild),c.outerHTML=i}return e&&n&&t.body.insertBefore(a.createTextNode(n),t.body.childNodes[0]||null),ae.call(t,Ee?"html":"body")[0]};t.isSupported&&function(){try{var e=Je("</title><img>");A(/<\/title/,e.querySelector("title").innerHTML)&&(r=!0)}catch(t){}}();var Xe=function(e){return ie.call(e.ownerDocument||e,e,k.SHOW_ELEMENT|k.SHOW_COMMENT|k.SHOW_TEXT,(function(){return k.FILTER_ACCEPT}),!1)},$e=function(e){return!(e instanceof X||e instanceof $)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof J&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI)},Qe=function(e){return"object"===("undefined"===typeof s?"undefined":B(s))?e instanceof s:e&&"object"===("undefined"===typeof e?"undefined":B(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},Ze=function(e,n,r){se[e]&&u(se[e],(function(e){e.call(t,n,r,Be)}))},et=function(e){var n=void 0;if(Ze("beforeSanitizeElements",e,null),$e(e))return Ve(e),!0;var r=h(e.nodeName);if(Ze("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ve(e),!0;if(!ge[r]||Ae[r]){if(Fe&&!Ue[r]&&"function"===typeof e.insertAdjacentHTML)try{var o=e.innerHTML;e.insertAdjacentHTML("AfterEnd",te?te.createHTML(o):o)}catch(i){}return Ve(e),!0}return"noscript"===r&&A(/<\/noscript/i,e.innerHTML)||"noembed"===r&&A(/<\/noembed/i,e.innerHTML)?(Ve(e),!0):(!Le||e.firstElementChild||e.content&&e.content.firstElementChild||!A(/</g,e.textContent)||(m(t.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=v(e.innerHTML,/</g,"<"):e.innerHTML=v(e.textContent,/</g,"<")),_e&&3===e.nodeType&&(n=e.textContent,n=v(n,ue," "),n=v(n,de," "),e.textContent!==n&&(m(t.removed,{element:e.cloneNode()}),e.textContent=n)),Ze("afterSanitizeElements",e,null),!1)},tt=function(e,t,n){if(Ce&&("id"===t||"name"===t)&&(n in a||n in qe))return!1;if(ke&&A(pe,t));else if(Se&&A(fe,t));else{if(!be[t]||xe[t])return!1;if(Ge[t]);else if(A(he,v(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!je[e]){if(we&&!A(me,v(n,ye,"")));else if(n)return!1}else;}return!0},nt=function(e){var n=void 0,r=void 0,i=void 0,a=void 0,l=void 0;Ze("beforeSanitizeAttributes",e,null);var c=e.attributes;if(c){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};l=c.length;while(l--){n=c[l];var u=n,m=u.name,g=u.namespaceURI;if(r=T(n.value),i=h(m),s.attrName=i,s.attrValue=r,s.keepAttr=!0,s.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",e,s),r=s.attrValue,!s.forceKeepAttr){if("name"===i&&"IMG"===e.nodeName&&c.id)a=c.id,c=y(c,[]),Ye("id",e),Ye(m,e),d(c,a)>l&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===r&&s.keepAttr&&(be[i]||!xe[i]))continue;"id"===m&&e.setAttribute(m,""),Ye(m,e)}if(s.keepAttr)if(Le&&A(/\/>/i,r))Ye(m,e);else if(A(/svg|math/i,e.namespaceURI)&&A(x("</("+p(o(Ue),"|")+")","i"),r))Ye(m,e);else{_e&&(r=v(r,ue," "),r=v(r,de," "));var b=e.nodeName.toLowerCase();if(tt(b,i,r))try{g?e.setAttributeNS(g,m,r):e.setAttribute(m,r),f(t.removed)}catch(S){}}}}Ze("afterSanitizeAttributes",e,null)}},rt=function e(t){var n=void 0,r=Xe(t);Ze("beforeSanitizeShadowDOM",t,null);while(n=r.nextNode())Ze("uponSanitizeShadowNode",n,null),et(n)||(n.content instanceof l&&e(n.content),nt(n));Ze("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(r,o){var i=void 0,a=void 0,c=void 0,u=void 0,d=void 0;if(r||(r="\x3c!--\x3e"),"string"!==typeof r&&!Qe(r)){if("function"!==typeof r.toString)throw S("toString is not a function");if(r=r.toString(),"string"!==typeof r)throw S("dirty is not a string, aborting")}if(!t.isSupported){if("object"===B(e.toStaticHTML)||"function"===typeof e.toStaticHTML){if("string"===typeof r)return e.toStaticHTML(r);if(Qe(r))return e.toStaticHTML(r.outerHTML)}return r}if(Me||Ke(o),t.removed=[],"string"===typeof r&&(ze=!1),ze);else if(r instanceof s)i=Je("\x3c!--\x3e"),a=i.ownerDocument.importNode(r,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!Re&&!_e&&!Ee&&-1===r.indexOf("<"))return te&&He?te.createHTML(r):r;if(i=Je(r),!i)return Re?null:ne}i&&De&&Ve(i.firstChild);var p=Xe(ze?r:i);while(c=p.nextNode())3===c.nodeType&&c===u||et(c)||(c.content instanceof l&&rt(c.content),nt(c),u=c);if(u=null,ze)return r;if(Re){if(Ne){d=le.call(i.ownerDocument);while(i.firstChild)d.appendChild(i.firstChild)}else d=i;return Oe&&(d=ce.call(n,d,!0)),d}var f=Ee?i.outerHTML:i.innerHTML;return _e&&(f=v(f,ue," "),f=v(f,de," ")),te&&He?te.createHTML(f):f},t.setConfig=function(e){Ke(e),Me=!0},t.clearConfig=function(){Be=null,Me=!1},t.isValidAttribute=function(e,t,n){Be||Ke({});var r=h(e),o=h(t);return tt(r,o,n)},t.addHook=function(e,t){"function"===typeof t&&(se[e]=se[e]||[],m(se[e],t))},t.removeHook=function(e){se[e]&&f(se[e])},t.removeHooks=function(e){se[e]&&(se[e]=[])},t.removeAllHooks=function(){se={}},t}var J=Y();return J}))}}]); //# sourceMappingURL=chunk-2d216214.e238e43d.js.map