You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
18 KiB
2 lines
18 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([[240],{qZ2Q:function(nt,Vt,$t){/*! @license DOMPurify 2.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/2.3.1/LICENSE */(function(De,Q){nt.exports=Q()})(this,function(){"use strict";function De(a){if(Array.isArray(a)){for(var r=0,o=Array(a.length);r<a.length;r++)o[r]=a[r];return o}else return Array.from(a)}var Q=Object.hasOwnProperty,Me=Object.setPrototypeOf,it=Object.isFrozen,ot=Object.getPrototypeOf,st=Object.getOwnPropertyDescriptor,v=Object.freeze,T=Object.seal,lt=Object.create,Ee=typeof Reflect!="undefined"&&Reflect,W=Ee.apply,ee=Ee.construct;W||(W=function(r,o,l){return r.apply(o,l)}),v||(v=function(r){return r}),T||(T=function(r){return r}),ee||(ee=function(r,o){return new(Function.prototype.bind.apply(r,[null].concat(De(o))))});var ut=y(Array.prototype.forEach),Oe=y(Array.prototype.pop),F=y(Array.prototype.push),S=y(String.prototype.toLowerCase),Se=y(String.prototype.match),M=y(String.prototype.replace),ct=y(String.prototype.indexOf),ft=y(String.prototype.trim),_=y(RegExp.prototype.test),ke=dt(TypeError);function y(a){return function(r){for(var o=arguments.length,l=Array(o>1?o-1:0),c=1;c<o;c++)l[c-1]=arguments[c];return W(a,r,l)}}function dt(a){return function(){for(var r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return ee(a,o)}}function s(a,r){Me&&Me(a,null);for(var o=r.length;o--;){var l=r[o];if(typeof l=="string"){var c=S(l);c!==l&&(it(r)||(r[o]=c),l=c)}a[l]=!0}return a}function k(a){var r=lt(null),o=void 0;for(o in a)W(Q,a,[o])&&(r[o]=a[o]);return r}function B(a,r){for(;a!==null;){var o=st(a,r);if(o){if(o.get)return y(o.get);if(typeof o.value=="function")return y(o.value)}a=ot(a)}function l(c){return console.warn("fallback value for",c),null}return l}var Re=v(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),te=v(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ae=v(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),pt=v(["animate","color-profile","cursor","discard","fedropshadow","feimage","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"]),re=v(["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"]),mt=v(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Le=v(["#text"]),xe=v(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ne=v(["accent-height","accumulate","additive","alignment-baseline","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","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","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","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","targetx","targety","transform","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"]),Ne=v(["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"]),j=v(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ht=T(/\{\{[\s\S]*|[\s\S]*\}\}/gm),vt=T(/<%[\s\S]*|[\s\S]*%>/gm),yt=T(/^data-[\-\w.\u00B7-\uFFFF]/),gt=T(/^aria-[\-\w]+$/),bt=T(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Tt=T(/^(?:\w+script|data):/i),_t=T(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};function g(a){if(Array.isArray(a)){for(var r=0,o=Array(a.length);r<a.length;r++)o[r]=a[r];return o}else return Array.from(a)}var At=function(){return typeof window=="undefined"?null:window},wt=function(r,o){if((typeof r=="undefined"?"undefined":H(r))!=="object"||typeof r.createPolicy!="function")return null;var l=null,c="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(c)&&(l=o.currentScript.getAttribute(c));var V="dompurify"+(l?"#"+l:"");try{return r.createPolicy(V,{createHTML:function($){return $}})}catch(R){return console.warn("TrustedTypes policy "+V+" could not be created."),null}};function Ie(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:At(),r=function(e){return Ie(e)};if(r.version="2.3.1",r.removed=[],!a||!a.document||a.document.nodeType!==9)return r.isSupported=!1,r;var o=a.document,l=a.document,c=a.DocumentFragment,V=a.HTMLTemplateElement,R=a.Node,$=a.Element,ie=a.NodeFilter,Pe=a.NamedNodeMap,Mt=Pe===void 0?a.NamedNodeMap||a.MozNamedAttrMap:Pe,Et=a.Text,Ot=a.Comment,St=a.DOMParser,kt=a.trustedTypes,q=$.prototype,Rt=B(q,"cloneNode"),Lt=B(q,"nextSibling"),xt=B(q,"childNodes"),oe=B(q,"parentNode");if(typeof V=="function"){var se=l.createElement("template");se.content&&se.content.ownerDocument&&(l=se.content.ownerDocument)}var E=wt(kt,o),Ce=E&&Y?E.createHTML(""):"",K=l,le=K.implementation,Nt=K.createNodeIterator,It=K.createDocumentFragment,Pt=K.getElementsByTagName,Ct=o.importNode,Fe={};try{Fe=k(l).documentMode?l.documentMode:{}}catch(i){}var b={};r.isSupported=typeof oe=="function"&&le&&typeof le.createHTMLDocument!="undefined"&&Fe!==9;var ue=ht,ce=vt,Ft=yt,Ht=gt,zt=Tt,He=_t,fe=bt,f=null,ze=s({},[].concat(g(Re),g(te),g(ae),g(re),g(Le))),d=null,Ue=s({},[].concat(g(xe),g(ne),g(Ne),g(j))),de=null,pe=null,Ge=!0,me=!0,We=!1,L=!1,x=!1,he=!1,ve=!1,N=!1,X=!1,Be=!0,Y=!1,je=!0,ye=!0,z=!1,I={},P=null,Ve=s({},["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"]),$e=null,qe=s({},["audio","video","img","source","image","track"]),ge=null,Ke=s({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",Te="http://www.w3.org/2000/svg",O="http://www.w3.org/1999/xhtml",J=O,_e=!1,C=null,Ut=l.createElement("form"),Ae=function(e){if(C&&C===e)return;(!e||(typeof e=="undefined"?"undefined":H(e))!=="object")&&(e={}),e=k(e),f="ALLOWED_TAGS"in e?s({},e.ALLOWED_TAGS):ze,d="ALLOWED_ATTR"in e?s({},e.ALLOWED_ATTR):Ue,ge="ADD_URI_SAFE_ATTR"in e?s(k(Ke),e.ADD_URI_SAFE_ATTR):Ke,$e="ADD_DATA_URI_TAGS"in e?s(k(qe),e.ADD_DATA_URI_TAGS):qe,P="FORBID_CONTENTS"in e?s({},e.FORBID_CONTENTS):Ve,de="FORBID_TAGS"in e?s({},e.FORBID_TAGS):{},pe="FORBID_ATTR"in e?s({},e.FORBID_ATTR):{},I="USE_PROFILES"in e?e.USE_PROFILES:!1,Ge=e.ALLOW_ARIA_ATTR!==!1,me=e.ALLOW_DATA_ATTR!==!1,We=e.ALLOW_UNKNOWN_PROTOCOLS||!1,L=e.SAFE_FOR_TEMPLATES||!1,x=e.WHOLE_DOCUMENT||!1,N=e.RETURN_DOM||!1,X=e.RETURN_DOM_FRAGMENT||!1,Be=e.RETURN_DOM_IMPORT!==!1,Y=e.RETURN_TRUSTED_TYPE||!1,ve=e.FORCE_BODY||!1,je=e.SANITIZE_DOM!==!1,ye=e.KEEP_CONTENT!==!1,z=e.IN_PLACE||!1,fe=e.ALLOWED_URI_REGEXP||fe,J=e.NAMESPACE||O,L&&(me=!1),X&&(N=!0),I&&(f=s({},[].concat(g(Le))),d=[],I.html===!0&&(s(f,Re),s(d,xe)),I.svg===!0&&(s(f,te),s(d,ne),s(d,j)),I.svgFilters===!0&&(s(f,ae),s(d,ne),s(d,j)),I.mathMl===!0&&(s(f,re),s(d,Ne),s(d,j))),e.ADD_TAGS&&(f===ze&&(f=k(f)),s(f,e.ADD_TAGS)),e.ADD_ATTR&&(d===Ue&&(d=k(d)),s(d,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&s(ge,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(P===Ve&&(P=k(P)),s(P,e.FORBID_CONTENTS)),ye&&(f["#text"]=!0),x&&s(f,["html","head","body"]),f.table&&(s(f,["tbody"]),delete de.tbody),v&&v(e),C=e},Xe=s({},["mi","mo","mn","ms","mtext"]),Ye=s({},["foreignobject","desc","title","annotation-xml"]),Z=s({},te);s(Z,ae),s(Z,pt);var we=s({},re);s(we,mt);var Gt=function(e){var t=oe(e);(!t||!t.tagName)&&(t={namespaceURI:O,tagName:"template"});var n=S(e.tagName),u=S(t.tagName);if(e.namespaceURI===Te)return t.namespaceURI===O?n==="svg":t.namespaceURI===be?n==="svg"&&(u==="annotation-xml"||Xe[u]):Boolean(Z[n]);if(e.namespaceURI===be)return t.namespaceURI===O?n==="math":t.namespaceURI===Te?n==="math"&&Ye[u]:Boolean(we[n]);if(e.namespaceURI===O){if(t.namespaceURI===Te&&!Ye[u])return!1;if(t.namespaceURI===be&&!Xe[u])return!1;var p=s({},["title","style","font","a","script"]);return!we[n]&&(p[n]||!Z[n])}return!1},A=function(e){F(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=Ce}catch(n){e.remove()}}},Je=function(e,t){try{F(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){F(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is"&&!d[e])if(N||X)try{A(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},Ze=function(e){var t=void 0,n=void 0;if(ve)e="<remove></remove>"+e;else{var u=Se(e,/^[\r\n\t ]+/);n=u&&u[0]}var p=E?E.createHTML(e):e;if(J===O)try{t=new St().parseFromString(p,"text/html")}catch(h){}if(!t||!t.documentElement){t=le.createDocument(J,"template",null);try{t.documentElement.innerHTML=_e?"":p}catch(h){}}var m=t.body||t.documentElement;return e&&n&&m.insertBefore(l.createTextNode(n),m.childNodes[0]||null),J===O?Pt.call(t,x?"html":"body")[0]:x?t.documentElement:m},Qe=function(e){return Nt.call(e.ownerDocument||e,e,ie.SHOW_ELEMENT|ie.SHOW_COMMENT|ie.SHOW_TEXT,null,!1)},Wt=function(e){return e instanceof Et||e instanceof Ot?!1: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"},U=function(e){return(typeof R=="undefined"?"undefined":H(R))==="object"?e instanceof R:e&&(typeof e=="undefined"?"undefined":H(e))==="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"},w=function(e,t,n){if(!b[e])return;ut(b[e],function(u){u.call(r,t,n,C)})},et=function(e){var t=void 0;if(w("beforeSanitizeElements",e,null),Wt(e))return A(e),!0;if(Se(e.nodeName,/[\u0080-\uFFFF]/))return A(e),!0;var n=S(e.nodeName);if(w("uponSanitizeElement",e,{tagName:n,allowedTags:f}),!U(e.firstElementChild)&&(!U(e.content)||!U(e.content.firstElementChild))&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return A(e),!0;if(n==="select"&&_(/<template/i,e.innerHTML))return A(e),!0;if(!f[n]||de[n]){if(ye&&!P[n]){var u=oe(e)||e.parentNode,p=xt(e)||e.childNodes;if(p&&u)for(var m=p.length,h=m-1;h>=0;--h)u.insertBefore(Rt(p[h],!0),Lt(e))}return A(e),!0}return e instanceof $&&!Gt(e)||(n==="noscript"||n==="noembed")&&_(/<\/no(script|embed)/i,e.innerHTML)?(A(e),!0):(L&&e.nodeType===3&&(t=e.textContent,t=M(t,ue," "),t=M(t,ce," "),e.textContent!==t&&(F(r.removed,{element:e.cloneNode()}),e.textContent=t)),w("afterSanitizeElements",e,null),!1)},tt=function(e,t,n){if(je&&(t==="id"||t==="name")&&(n in l||n in Ut))return!1;if(!(me&&!pe[t]&&_(Ft,t))){if(!(Ge&&_(Ht,t))){if(!d[t]||pe[t])return!1;if(!ge[t]){if(!_(fe,M(n,He,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&ct(n,"data:")===0&&$e[e])){if(!(We&&!_(zt,M(n,He,"")))){if(n)return!1}}}}}}return!0},at=function(e){var t=void 0,n=void 0,u=void 0,p=void 0;w("beforeSanitizeAttributes",e,null);var m=e.attributes;if(!m)return;var h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d};for(p=m.length;p--;){t=m[p];var D=t,G=D.name,rt=D.namespaceURI;if(n=ft(t.value),u=S(G),h.attrName=u,h.attrValue=n,h.keepAttr=!0,h.forceKeepAttr=void 0,w("uponSanitizeAttribute",e,h),n=h.attrValue,h.forceKeepAttr)continue;if(Je(G,e),!h.keepAttr)continue;if(_(/\/>/i,n)){Je(G,e);continue}L&&(n=M(n,ue," "),n=M(n,ce," "));var jt=e.nodeName.toLowerCase();if(!tt(jt,u,n))continue;try{rt?e.setAttributeNS(rt,G,n):e.setAttribute(G,n),Oe(r.removed)}catch(qt){}}w("afterSanitizeAttributes",e,null)},Bt=function i(e){var t=void 0,n=Qe(e);for(w("beforeSanitizeShadowDOM",e,null);t=n.nextNode();){if(w("uponSanitizeShadowNode",t,null),et(t))continue;t.content instanceof c&&i(t.content),at(t)}w("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(i,e){var t=void 0,n=void 0,u=void 0,p=void 0,m=void 0;if(_e=!i,_e&&(i="<!-->"),typeof i!="string"&&!U(i)){if(typeof i.toString!="function")throw ke("toString is not a function");if(i=i.toString(),typeof i!="string")throw ke("dirty is not a string, aborting")}if(!r.isSupported){if(H(a.toStaticHTML)==="object"||typeof a.toStaticHTML=="function"){if(typeof i=="string")return a.toStaticHTML(i);if(U(i))return a.toStaticHTML(i.outerHTML)}return i}if(he||Ae(e),r.removed=[],typeof i=="string"&&(z=!1),!z)if(i instanceof R)t=Ze("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===1&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!N&&!L&&!x&&i.indexOf("<")===-1)return E&&Y?E.createHTML(i):i;if(t=Ze(i),!t)return N?null:Ce}t&&ve&&A(t.firstChild);for(var h=Qe(z?i:t);u=h.nextNode();){if(u.nodeType===3&&u===p)continue;if(et(u))continue;u.content instanceof c&&Bt(u.content),at(u),p=u}if(p=null,z)return i;if(N){if(X)for(m=It.call(t.ownerDocument);t.firstChild;)m.appendChild(t.firstChild);else m=t;return Be&&(m=Ct.call(o,m,!0)),m}var D=x?t.outerHTML:t.innerHTML;return L&&(D=M(D,ue," "),D=M(D,ce," ")),E&&Y?E.createHTML(D):D},r.setConfig=function(i){Ae(i),he=!0},r.clearConfig=function(){C=null,he=!1},r.isValidAttribute=function(i,e,t){C||Ae({});var n=S(i),u=S(e);return tt(n,u,t)},r.addHook=function(i,e){if(typeof e!="function")return;b[i]=b[i]||[],F(b[i],e)},r.removeHook=function(i){b[i]&&Oe(b[i])},r.removeHooks=function(i){b[i]&&(b[i]=[])},r.removeAllHooks=function(){b={}},r}var Dt=Ie();return Dt})}}]);
|