import{c as hs}from"./_commonjsHelpers-35101cd5.js";function Fe(t){return Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},Fe(t)}function Vr(t,i){return Vr=Object.setPrototypeOf||function(s,l){return s.__proto__=l,s},Vr(t,i)}function cs(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ji(t,i,o){return cs()?Ji=Reflect.construct:Ji=function(l,c,u){var g=[null];g.push.apply(g,c);var m=Function.bind.apply(l,g),y=new m;return u&&Vr(y,u.prototype),y},Ji.apply(null,arguments)}function Xt(t){return us(t)||ds(t)||fs(t)||gs()}function us(t){if(Array.isArray(t))return $r(t)}function ds(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fs(t,i){if(t){if(typeof t=="string")return $r(t,i);var o=Object.prototype.toString.call(t).slice(8,-1);if(o==="Object"&&t.constructor&&(o=t.constructor.name),o==="Map"||o==="Set")return Array.from(t);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return $r(t,i)}}function $r(t,i){(i==null||i>t.length)&&(i=t.length);for(var o=0,s=new Array(i);o1?o-1:0),l=1;l/gm),Ls=Zt(/\${[\w\W]*}/gm),Fs=Zt(/^data-[\-\w.\u00B7-\uFFFF]/),Ds=Zt(/^aria-[\-\w]+$/),Os=Zt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Es=Zt(/^(?:\w+script|data):/i),As=Zt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ns=Zt(/^html$/i),Rs=function(){return typeof window>"u"?null:window},Is=function(i,o){if(Fe(i)!=="object"||typeof i.createPolicy!="function")return null;var s=null,l="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(l)&&(s=o.currentScript.getAttribute(l));var c="dompurify"+(s?"#"+s:"");try{return i.createPolicy(c,{createHTML:function(g){return g},createScriptURL:function(g){return g}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}};function ln(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rs(),i=function(d){return ln(d)};if(i.version="2.4.3",i.removed=[],!t||!t.document||t.document.nodeType!==9)return i.isSupported=!1,i;var o=t.document,s=t.document,l=t.DocumentFragment,c=t.HTMLTemplateElement,u=t.Node,g=t.Element,m=t.NodeFilter,y=t.NamedNodeMap,C=y===void 0?t.NamedNodeMap||t.MozNamedAttrMap:y,M=t.HTMLFormElement,L=t.DOMParser,F=t.trustedTypes,D=g.prototype,X=Vi(D,"cloneNode"),ut=Vi(D,"nextSibling"),Oe=Vi(D,"childNodes"),vt=Vi(D,"parentNode");if(typeof c=="function"){var St=s.createElement("template");St.content&&St.content.ownerDocument&&(s=St.content.ownerDocument)}var ot=Is(F,o),Rt=ot?ot.createHTML(""):"",ft=s,Ge=ft.implementation,Tt=ft.createNodeIterator,Di=ft.createDocumentFragment,Oi=ft.getElementsByTagName,It=o.importNode,Ve={};try{Ve=Ue(s).documentMode?s.documentMode:{}}catch{}var wt={};i.isSupported=typeof vt=="function"&&Ge&&typeof Ge.createHTMLDocument<"u"&&Ve!==9;var ui=Bs,Bt=Ms,Ee=Ls,$e=Fs,di=Ds,fe=Es,O=As,ge=Os,it=null,me=z({},[].concat(Xt(Yo),Xt(Pr),Xt(Wr),Xt(zr),Xt(Po))),H=null,_t=z({},[].concat(Xt(Wo),Xt(Hr),Xt(zo),Xt($i))),K=Object.seal(Object.create(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}})),pe=null,nt=null,Ae=!0,gt=!0,W=!1,Ot=!1,Yt=!1,je=!1,k=!1,zt=!1,V=!1,Ht=!1,ie=!0,re=!1,ye="user-content-",_e=!0,Ne=!1,Ut={},mt=null,B=z({},["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"]),Ei=null,pt=z({},["audio","video","img","source","image","track"]),Re=null,Xe=z({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),G="http://www.w3.org/1998/Math/MathML",Jt="http://www.w3.org/2000/svg",$="http://www.w3.org/1999/xhtml",Q=$,Et=!1,Mt=null,rt=z({},[G,Jt,$],Ir),ht,qt=["application/xhtml+xml","text/html"],oe="text/html",st,Ce=null,Ze=s.createElement("form"),be=function(d){return d instanceof RegExp||d instanceof Function},Ke=function(d){Ce&&Ce===d||((!d||Fe(d)!=="object")&&(d={}),d=Ue(d),ht=qt.indexOf(d.PARSER_MEDIA_TYPE)===-1?ht=oe:ht=d.PARSER_MEDIA_TYPE,st=ht==="application/xhtml+xml"?Ir:Qi,it="ALLOWED_TAGS"in d?z({},d.ALLOWED_TAGS,st):me,H="ALLOWED_ATTR"in d?z({},d.ALLOWED_ATTR,st):_t,Mt="ALLOWED_NAMESPACES"in d?z({},d.ALLOWED_NAMESPACES,Ir):rt,Re="ADD_URI_SAFE_ATTR"in d?z(Ue(Xe),d.ADD_URI_SAFE_ATTR,st):Xe,Ei="ADD_DATA_URI_TAGS"in d?z(Ue(pt),d.ADD_DATA_URI_TAGS,st):pt,mt="FORBID_CONTENTS"in d?z({},d.FORBID_CONTENTS,st):B,pe="FORBID_TAGS"in d?z({},d.FORBID_TAGS,st):{},nt="FORBID_ATTR"in d?z({},d.FORBID_ATTR,st):{},Ut="USE_PROFILES"in d?d.USE_PROFILES:!1,Ae=d.ALLOW_ARIA_ATTR!==!1,gt=d.ALLOW_DATA_ATTR!==!1,W=d.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=d.SAFE_FOR_TEMPLATES||!1,Yt=d.WHOLE_DOCUMENT||!1,zt=d.RETURN_DOM||!1,V=d.RETURN_DOM_FRAGMENT||!1,Ht=d.RETURN_TRUSTED_TYPE||!1,k=d.FORCE_BODY||!1,ie=d.SANITIZE_DOM!==!1,re=d.SANITIZE_NAMED_PROPS||!1,_e=d.KEEP_CONTENT!==!1,Ne=d.IN_PLACE||!1,ge=d.ALLOWED_URI_REGEXP||ge,Q=d.NAMESPACE||$,d.CUSTOM_ELEMENT_HANDLING&&be(d.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(K.tagNameCheck=d.CUSTOM_ELEMENT_HANDLING.tagNameCheck),d.CUSTOM_ELEMENT_HANDLING&&be(d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(K.attributeNameCheck=d.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),d.CUSTOM_ELEMENT_HANDLING&&typeof d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(K.allowCustomizedBuiltInElements=d.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ot&&(gt=!1),V&&(zt=!0),Ut&&(it=z({},Xt(Po)),H=[],Ut.html===!0&&(z(it,Yo),z(H,Wo)),Ut.svg===!0&&(z(it,Pr),z(H,Hr),z(H,$i)),Ut.svgFilters===!0&&(z(it,Wr),z(H,Hr),z(H,$i)),Ut.mathMl===!0&&(z(it,zr),z(H,zo),z(H,$i))),d.ADD_TAGS&&(it===me&&(it=Ue(it)),z(it,d.ADD_TAGS,st)),d.ADD_ATTR&&(H===_t&&(H=Ue(H)),z(H,d.ADD_ATTR,st)),d.ADD_URI_SAFE_ATTR&&z(Re,d.ADD_URI_SAFE_ATTR,st),d.FORBID_CONTENTS&&(mt===B&&(mt=Ue(mt)),z(mt,d.FORBID_CONTENTS,st)),_e&&(it["#text"]=!0),Yt&&z(it,["html","head","body"]),it.table&&(z(it,["tbody"]),delete pe.tbody),xt&&xt(d),Ce=d)},fi=z({},["mi","mo","mn","ms","mtext"]),Ai=z({},["foreignobject","desc","title","annotation-xml"]),br=z({},["title","style","font","a","script"]),Ie=z({},Pr);z(Ie,Wr),z(Ie,Ts);var Je=z({},zr);z(Je,ws);var Ni=function(d){var x=vt(d);(!x||!x.tagName)&&(x={namespaceURI:Q,tagName:"template"});var S=Qi(d.tagName),U=Qi(x.tagName);return Mt[d.namespaceURI]?d.namespaceURI===Jt?x.namespaceURI===$?S==="svg":x.namespaceURI===G?S==="svg"&&(U==="annotation-xml"||fi[U]):Boolean(Ie[S]):d.namespaceURI===G?x.namespaceURI===$?S==="math":x.namespaceURI===Jt?S==="math"&&Ai[U]:Boolean(Je[S]):d.namespaceURI===$?x.namespaceURI===Jt&&!Ai[U]||x.namespaceURI===G&&!fi[U]?!1:!Je[S]&&(br[S]||!Ie[S]):!!(ht==="application/xhtml+xml"&&Mt[d.namespaceURI]):!1},Ct=function(d){_i(i.removed,{element:d});try{d.parentNode.removeChild(d)}catch{try{d.outerHTML=Rt}catch{d.remove()}}},gi=function(d,x){try{_i(i.removed,{attribute:x.getAttributeNode(d),from:x})}catch{_i(i.removed,{attribute:null,from:x})}if(x.removeAttribute(d),d==="is"&&!H[d])if(zt||V)try{Ct(x)}catch{}else try{x.setAttribute(d,"")}catch{}},ke=function(d){var x,S;if(k)d=""+d;else{var U=ks(d,/^[\r\n\t ]+/);S=U&&U[0]}ht==="application/xhtml+xml"&&Q===$&&(d=''+d+"");var dt=ot?ot.createHTML(d):d;if(Q===$)try{x=new L().parseFromString(dt,ht)}catch{}if(!x||!x.documentElement){x=Ge.createDocument(Q,"template",null);try{x.documentElement.innerHTML=Et?Rt:dt}catch{}}var et=x.body||x.documentElement;return d&&S&&et.insertBefore(s.createTextNode(S),et.childNodes[0]||null),Q===$?Oi.call(x,Yt?"html":"body")[0]:Yt?x.documentElement:et},Ye=function(d){return Tt.call(d.ownerDocument||d,d,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT,null,!1)},Ri=function(d){return d instanceof M&&(typeof d.nodeName!="string"||typeof d.textContent!="string"||typeof d.removeChild!="function"||!(d.attributes instanceof C)||typeof d.removeAttribute!="function"||typeof d.setAttribute!="function"||typeof d.namespaceURI!="string"||typeof d.insertBefore!="function"||typeof d.hasChildNodes!="function")},Gt=function(d){return Fe(u)==="object"?d instanceof u:d&&Fe(d)==="object"&&typeof d.nodeType=="number"&&typeof d.nodeName=="string"},ct=function(d,x,S){wt[d]&&bs(wt[d],function(U){U.call(i,x,S,Ce)})},Qe=function(d){var x;if(ct("beforeSanitizeElements",d,null),Ri(d)||bt(/[\u0080-\uFFFF]/,d.nodeName))return Ct(d),!0;var S=st(d.nodeName);if(ct("uponSanitizeElement",d,{tagName:S,allowedTags:it}),d.hasChildNodes()&&!Gt(d.firstElementChild)&&(!Gt(d.content)||!Gt(d.content.firstElementChild))&&bt(/<[/\w]/g,d.innerHTML)&&bt(/<[/\w]/g,d.textContent)||S==="select"&&bt(/