/* THIS IS A GENERATED/BUNDLED FILE BY ESBUILD if you want to view the source, please visit the github repository of this plugin */ var pn=Object.create;var pt=Object.defineProperty;var mn=Object.getOwnPropertyDescriptor;var fn=Object.getOwnPropertyNames;var dn=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty;var Ee=(e,i)=>()=>(i||e((i={exports:{}}).exports,i),i.exports),bn=(e,i)=>{for(var t in i)pt(e,t,{get:i[t],enumerable:!0})},zi=(e,i,t,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let s of fn(i))!vn.call(e,s)&&s!==t&&pt(e,s,{get:()=>i[s],enumerable:!(r=mn(i,s))||r.enumerable});return e};var Ue=(e,i,t)=>(t=e!=null?pn(dn(e)):{},zi(i||!e||!e.__esModule?pt(t,"default",{value:e,enumerable:!0}):t,e)),yn=e=>zi(pt({},"__esModule",{value:!0}),e);var Ji=Ee((Xi,Ki)=>{(function(e){if(typeof Xi=="object")Ki.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var i;try{i=window}catch(t){i=self}i.SparkMD5=e()}})(function(e){"use strict";var i=function(m,p){return m+p&4294967295},t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(m,p,l,a,g,u){return p=i(i(p,m),i(a,u)),i(p<>>32-g,l)}function s(m,p){var l=m[0],a=m[1],g=m[2],u=m[3];l+=(a&g|~a&u)+p[0]-680876936|0,l=(l<<7|l>>>25)+a|0,u+=(l&a|~l&g)+p[1]-389564586|0,u=(u<<12|u>>>20)+l|0,g+=(u&l|~u&a)+p[2]+606105819|0,g=(g<<17|g>>>15)+u|0,a+=(g&u|~g&l)+p[3]-1044525330|0,a=(a<<22|a>>>10)+g|0,l+=(a&g|~a&u)+p[4]-176418897|0,l=(l<<7|l>>>25)+a|0,u+=(l&a|~l&g)+p[5]+1200080426|0,u=(u<<12|u>>>20)+l|0,g+=(u&l|~u&a)+p[6]-1473231341|0,g=(g<<17|g>>>15)+u|0,a+=(g&u|~g&l)+p[7]-45705983|0,a=(a<<22|a>>>10)+g|0,l+=(a&g|~a&u)+p[8]+1770035416|0,l=(l<<7|l>>>25)+a|0,u+=(l&a|~l&g)+p[9]-1958414417|0,u=(u<<12|u>>>20)+l|0,g+=(u&l|~u&a)+p[10]-42063|0,g=(g<<17|g>>>15)+u|0,a+=(g&u|~g&l)+p[11]-1990404162|0,a=(a<<22|a>>>10)+g|0,l+=(a&g|~a&u)+p[12]+1804603682|0,l=(l<<7|l>>>25)+a|0,u+=(l&a|~l&g)+p[13]-40341101|0,u=(u<<12|u>>>20)+l|0,g+=(u&l|~u&a)+p[14]-1502002290|0,g=(g<<17|g>>>15)+u|0,a+=(g&u|~g&l)+p[15]+1236535329|0,a=(a<<22|a>>>10)+g|0,l+=(a&u|g&~u)+p[1]-165796510|0,l=(l<<5|l>>>27)+a|0,u+=(l&g|a&~g)+p[6]-1069501632|0,u=(u<<9|u>>>23)+l|0,g+=(u&a|l&~a)+p[11]+643717713|0,g=(g<<14|g>>>18)+u|0,a+=(g&l|u&~l)+p[0]-373897302|0,a=(a<<20|a>>>12)+g|0,l+=(a&u|g&~u)+p[5]-701558691|0,l=(l<<5|l>>>27)+a|0,u+=(l&g|a&~g)+p[10]+38016083|0,u=(u<<9|u>>>23)+l|0,g+=(u&a|l&~a)+p[15]-660478335|0,g=(g<<14|g>>>18)+u|0,a+=(g&l|u&~l)+p[4]-405537848|0,a=(a<<20|a>>>12)+g|0,l+=(a&u|g&~u)+p[9]+568446438|0,l=(l<<5|l>>>27)+a|0,u+=(l&g|a&~g)+p[14]-1019803690|0,u=(u<<9|u>>>23)+l|0,g+=(u&a|l&~a)+p[3]-187363961|0,g=(g<<14|g>>>18)+u|0,a+=(g&l|u&~l)+p[8]+1163531501|0,a=(a<<20|a>>>12)+g|0,l+=(a&u|g&~u)+p[13]-1444681467|0,l=(l<<5|l>>>27)+a|0,u+=(l&g|a&~g)+p[2]-51403784|0,u=(u<<9|u>>>23)+l|0,g+=(u&a|l&~a)+p[7]+1735328473|0,g=(g<<14|g>>>18)+u|0,a+=(g&l|u&~l)+p[12]-1926607734|0,a=(a<<20|a>>>12)+g|0,l+=(a^g^u)+p[5]-378558|0,l=(l<<4|l>>>28)+a|0,u+=(l^a^g)+p[8]-2022574463|0,u=(u<<11|u>>>21)+l|0,g+=(u^l^a)+p[11]+1839030562|0,g=(g<<16|g>>>16)+u|0,a+=(g^u^l)+p[14]-35309556|0,a=(a<<23|a>>>9)+g|0,l+=(a^g^u)+p[1]-1530992060|0,l=(l<<4|l>>>28)+a|0,u+=(l^a^g)+p[4]+1272893353|0,u=(u<<11|u>>>21)+l|0,g+=(u^l^a)+p[7]-155497632|0,g=(g<<16|g>>>16)+u|0,a+=(g^u^l)+p[10]-1094730640|0,a=(a<<23|a>>>9)+g|0,l+=(a^g^u)+p[13]+681279174|0,l=(l<<4|l>>>28)+a|0,u+=(l^a^g)+p[0]-358537222|0,u=(u<<11|u>>>21)+l|0,g+=(u^l^a)+p[3]-722521979|0,g=(g<<16|g>>>16)+u|0,a+=(g^u^l)+p[6]+76029189|0,a=(a<<23|a>>>9)+g|0,l+=(a^g^u)+p[9]-640364487|0,l=(l<<4|l>>>28)+a|0,u+=(l^a^g)+p[12]-421815835|0,u=(u<<11|u>>>21)+l|0,g+=(u^l^a)+p[15]+530742520|0,g=(g<<16|g>>>16)+u|0,a+=(g^u^l)+p[2]-995338651|0,a=(a<<23|a>>>9)+g|0,l+=(g^(a|~u))+p[0]-198630844|0,l=(l<<6|l>>>26)+a|0,u+=(a^(l|~g))+p[7]+1126891415|0,u=(u<<10|u>>>22)+l|0,g+=(l^(u|~a))+p[14]-1416354905|0,g=(g<<15|g>>>17)+u|0,a+=(u^(g|~l))+p[5]-57434055|0,a=(a<<21|a>>>11)+g|0,l+=(g^(a|~u))+p[12]+1700485571|0,l=(l<<6|l>>>26)+a|0,u+=(a^(l|~g))+p[3]-1894986606|0,u=(u<<10|u>>>22)+l|0,g+=(l^(u|~a))+p[10]-1051523|0,g=(g<<15|g>>>17)+u|0,a+=(u^(g|~l))+p[1]-2054922799|0,a=(a<<21|a>>>11)+g|0,l+=(g^(a|~u))+p[8]+1873313359|0,l=(l<<6|l>>>26)+a|0,u+=(a^(l|~g))+p[15]-30611744|0,u=(u<<10|u>>>22)+l|0,g+=(l^(u|~a))+p[6]-1560198380|0,g=(g<<15|g>>>17)+u|0,a+=(u^(g|~l))+p[13]+1309151649|0,a=(a<<21|a>>>11)+g|0,l+=(g^(a|~u))+p[4]-145523070|0,l=(l<<6|l>>>26)+a|0,u+=(a^(l|~g))+p[11]-1120210379|0,u=(u<<10|u>>>22)+l|0,g+=(l^(u|~a))+p[2]+718787259|0,g=(g<<15|g>>>17)+u|0,a+=(u^(g|~l))+p[9]-343485551|0,a=(a<<21|a>>>11)+g|0,m[0]=l+m[0]|0,m[1]=a+m[1]|0,m[2]=g+m[2]|0,m[3]=u+m[3]|0}function o(m){var p=[],l;for(l=0;l<64;l+=4)p[l>>2]=m.charCodeAt(l)+(m.charCodeAt(l+1)<<8)+(m.charCodeAt(l+2)<<16)+(m.charCodeAt(l+3)<<24);return p}function n(m){var p=[],l;for(l=0;l<64;l+=4)p[l>>2]=m[l]+(m[l+1]<<8)+(m[l+2]<<16)+(m[l+3]<<24);return p}function c(m){var p=m.length,l=[1732584193,-271733879,-1732584194,271733878],a,g,u,P,W,K;for(a=64;a<=p;a+=64)s(l,o(m.substring(a-64,a)));for(m=m.substring(a-64),g=m.length,u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],a=0;a>2]|=m.charCodeAt(a)<<(a%4<<3);if(u[a>>2]|=128<<(a%4<<3),a>55)for(s(l,u),a=0;a<16;a+=1)u[a]=0;return P=p*8,P=P.toString(16).match(/(.*?)(.{0,8})$/),W=parseInt(P[2],16),K=parseInt(P[1],16)||0,u[14]=W,u[15]=K,s(l,u),l}function d(m){var p=m.length,l=[1732584193,-271733879,-1732584194,271733878],a,g,u,P,W,K;for(a=64;a<=p;a+=64)s(l,n(m.subarray(a-64,a)));for(m=a-64>2]|=m[a]<<(a%4<<3);if(u[a>>2]|=128<<(a%4<<3),a>55)for(s(l,u),a=0;a<16;a+=1)u[a]=0;return P=p*8,P=P.toString(16).match(/(.*?)(.{0,8})$/),W=parseInt(P[2],16),K=parseInt(P[1],16)||0,u[14]=W,u[15]=K,s(l,u),l}function f(m){var p="",l;for(l=0;l<4;l+=1)p+=t[m>>l*8+4&15]+t[m>>l*8&15];return p}function b(m){var p;for(p=0;p>16)+(p>>16)+(l>>16);return a<<16|l&65535}),typeof ArrayBuffer!="undefined"&&!ArrayBuffer.prototype.slice&&function(){function m(p,l){return p=p|0||0,p<0?Math.max(p+l,0):Math.min(p,l)}ArrayBuffer.prototype.slice=function(p,l){var a=this.byteLength,g=m(p,a),u=a,P,W,K,ve;return l!==e&&(u=m(l,a)),g>u?new ArrayBuffer(0):(P=u-g,W=new ArrayBuffer(P),K=new Uint8Array(W),ve=new Uint8Array(this,g,P),K.set(ve),W)}}();function D(m){return/[\u0080-\uFFFF]/.test(m)&&(m=unescape(encodeURIComponent(m))),m}function I(m,p){var l=m.length,a=new ArrayBuffer(l),g=new Uint8Array(a),u;for(u=0;u>2]|=p.charCodeAt(a)<<(a%4<<3);return this._finish(g,l),u=b(this._hash),m&&(u=x(u)),this.reset(),u},A.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},A.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},A.prototype.setState=function(m){return this._buff=m.buff,this._length=m.length,this._hash=m.hash,this},A.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},A.prototype._finish=function(m,p){var l=p,a,g,u;if(m[l>>2]|=128<<(l%4<<3),l>55)for(s(this._hash,m),l=0;l<16;l+=1)m[l]=0;a=this._length*8,a=a.toString(16).match(/(.*?)(.{0,8})$/),g=parseInt(a[2],16),u=parseInt(a[1],16)||0,m[14]=g,m[15]=u,s(this._hash,m)},A.hash=function(m,p){return A.hashBinary(D(m),p)},A.hashBinary=function(m,p){var l=c(m),a=b(l);return p?x(a):a},A.ArrayBuffer=function(){this.reset()},A.ArrayBuffer.prototype.append=function(m){var p=U(this._buff.buffer,m,!0),l=p.length,a;for(this._length+=m.byteLength,a=64;a<=l;a+=64)s(this._hash,n(p.subarray(a-64,a)));return this._buff=a-64>2]|=p[g]<<(g%4<<3);return this._finish(a,l),u=b(this._hash),m&&(u=x(u)),this.reset(),u},A.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},A.ArrayBuffer.prototype.getState=function(){var m=A.prototype.getState.call(this);return m.buff=M(m.buff),m},A.ArrayBuffer.prototype.setState=function(m){return m.buff=I(m.buff,!0),A.prototype.setState.call(this,m)},A.ArrayBuffer.prototype.destroy=A.prototype.destroy,A.ArrayBuffer.prototype._finish=A.prototype._finish,A.ArrayBuffer.hash=function(m,p){var l=d(new Uint8Array(m)),a=b(l);return p?x(a):a},A})});var tr=Ee(X=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});X.toSeconds=X.end=X.parse=X.pattern=void 0;var Be="\\d+",Jt="".concat(Be,"(?:[\\.,]").concat(Be,")?"),Dn="(".concat(Be,"Y)?(").concat(Be,"M)?(").concat(Be,"W)?(").concat(Be,"D)?"),Rn="T(".concat(Jt,"H)?(").concat(Jt,"M)?(").concat(Jt,"S)?"),xn="P(?:".concat(Dn,"(?:").concat(Rn,")?)"),Ln=["years","months","weeks","days","hours","minutes","seconds"],er=Object.freeze({years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0});X.pattern=new RegExp(xn);var In=function(e){var i=e.replace(/,/g,".").match(X.pattern);if(!i)throw new RangeError("invalid duration: ".concat(e));var t=i.slice(1);if(t.filter(function(r){return r!=null}).length===0)throw new RangeError("invalid duration: ".concat(e));if(t.filter(function(r){return/\./.test(r||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return t.reduce(function(r,s,o){return r[Ln[o]]=parseFloat(s||"0")||0,r},{})};X.parse=In;var Pn=function(e,i){i===void 0&&(i=new Date);var t=Object.assign({},er,e),r=i.getTime(),s=new Date(r);s.setFullYear(s.getFullYear()+t.years),s.setMonth(s.getMonth()+t.months),s.setDate(s.getDate()+t.days);var o=t.hours*3600*1e3,n=t.minutes*60*1e3;return s.setMilliseconds(s.getMilliseconds()+t.seconds*1e3+o+n),s.setDate(s.getDate()+t.weeks*7),s};X.end=Pn;var Cn=function(e,i){i===void 0&&(i=new Date);var t=Object.assign({},er,e),r=i.getTime(),s=new Date(r),o=(0,X.end)(t,s),n=(o.getTime()-s.getTime())/1e3;return n};X.toSeconds=Cn;X.default={end:X.end,toSeconds:X.toSeconds,pattern:X.pattern,parse:X.parse}});var hi=Ee((ci,ui)=>{(function(e,i){typeof ci=="object"&&typeof ui!="undefined"?ui.exports=i():typeof define=="function"&&define.amd?define(i):(e=typeof globalThis!="undefined"?globalThis:e||self,e.DOMPurify=i())})(ci,function(){"use strict";function e(y){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},e(y)}function i(y,T){return i=Object.setPrototypeOf||function(L,O){return L.__proto__=O,L},i(y,T)}function t(){if(typeof Reflect=="undefined"||!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(y){return!1}}function r(y,T,w){return t()?r=Reflect.construct:r=function(O,oe,ge){var le=[null];le.push.apply(le,oe);var Ye=Function.bind.apply(O,le),Xe=new Ye;return ge&&i(Xe,ge.prototype),Xe},r.apply(null,arguments)}function s(y){return o(y)||n(y)||c(y)||f()}function o(y){if(Array.isArray(y))return d(y)}function n(y){if(typeof Symbol!="undefined"&&y[Symbol.iterator]!=null||y["@@iterator"]!=null)return Array.from(y)}function c(y,T){if(y){if(typeof y=="string")return d(y,T);var w=Object.prototype.toString.call(y).slice(8,-1);if(w==="Object"&&y.constructor&&(w=y.constructor.name),w==="Map"||w==="Set")return Array.from(y);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return d(y,T)}}function d(y,T){(T==null||T>y.length)&&(T=y.length);for(var w=0,L=new Array(T);w1?w-1:0),O=1;O/gm),Ie=A(/\${[\w\W]*}/gm),he=A(/^data-[\-\w.\u00B7-\uFFFF]/),je=A(/^aria-[\-\w]+$/),qe=A(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ur=A(/^(?:\w+script|data):/i),Br=A(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Hr=A(/^html$/i),Gr=function(){return typeof window=="undefined"?null:window},Wr=function(T,w){if(e(T)!=="object"||typeof T.createPolicy!="function")return null;var L=null,O="data-tt-policy-suffix";w.currentScript&&w.currentScript.hasAttribute(O)&&(L=w.currentScript.getAttribute(O));var oe="dompurify"+(L?"#"+L:"");try{return T.createPolicy(oe,{createHTML:function(le){return le},createScriptURL:function(le){return le}})}catch(ge){return console.warn("TrustedTypes policy "+oe+" could not be created."),null}};function Ai(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gr(),T=function(h){return Ai(h)};if(T.version="2.4.3",T.removed=[],!y||!y.document||y.document.nodeType!==9)return T.isSupported=!1,T;var w=y.document,L=y.document,O=y.DocumentFragment,oe=y.HTMLTemplateElement,ge=y.Node,le=y.Element,Ye=y.NodeFilter,Xe=y.NamedNodeMap,$r=Xe===void 0?y.NamedNodeMap||y.MozNamedAttrMap:Xe,zr=y.HTMLFormElement,jr=y.DOMParser,nt=y.trustedTypes,at=le.prototype,qr=k(at,"cloneNode"),Yr=k(at,"nextSibling"),Xr=k(at,"childNodes"),Dt=k(at,"parentNode");if(typeof oe=="function"){var Rt=L.createElement("template");Rt.content&&Rt.content.ownerDocument&&(L=Rt.content.ownerDocument)}var re=Wr(nt,w),xt=re?re.createHTML(""):"",st=L,Lt=st.implementation,Kr=st.createNodeIterator,Jr=st.createDocumentFragment,Zr=st.getElementsByTagName,Qr=w.importNode,Ei={};try{Ei=ae(L).documentMode?L.documentMode:{}}catch(E){}var ce={};T.isSupported=typeof Dt=="function"&&Lt&&typeof Lt.createHTMLDocument!="undefined"&&Ei!==9;var It=se,Pt=rt,Ct=Ie,en=he,tn=je,rn=Ur,_i=Br,Mt=qe,$=null,wi=R({},[].concat(s(be),s(De),s(Re),s(Ne),s(Le))),q=null,Si=R({},[].concat(s(ye),s($e),s(ze),s(te))),H=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}})),Ke=null,kt=null,Di=!0,Ot=!0,Ri=!1,Pe=!1,Te=!1,Ft=!1,Ut=!1,Ce=!1,ot=!1,lt=!1,xi=!0,Li=!1,nn="user-content-",Bt=!0,Je=!1,Me={},ke=null,Ii=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"]),Pi=null,Ci=R({},["audio","video","img","source","image","track"]),Ht=null,Mi=R({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ct="http://www.w3.org/1998/Math/MathML",ut="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml",Oe=pe,Gt=!1,Wt=null,an=R({},[ct,ut,pe],K),Ae,sn=["application/xhtml+xml","text/html"],on="text/html",z,Fe=null,ln=L.createElement("form"),ki=function(h){return h instanceof RegExp||h instanceof Function},Vt=function(h){Fe&&Fe===h||((!h||e(h)!=="object")&&(h={}),h=ae(h),Ae=sn.indexOf(h.PARSER_MEDIA_TYPE)===-1?Ae=on:Ae=h.PARSER_MEDIA_TYPE,z=Ae==="application/xhtml+xml"?K:W,$="ALLOWED_TAGS"in h?R({},h.ALLOWED_TAGS,z):wi,q="ALLOWED_ATTR"in h?R({},h.ALLOWED_ATTR,z):Si,Wt="ALLOWED_NAMESPACES"in h?R({},h.ALLOWED_NAMESPACES,K):an,Ht="ADD_URI_SAFE_ATTR"in h?R(ae(Mi),h.ADD_URI_SAFE_ATTR,z):Mi,Pi="ADD_DATA_URI_TAGS"in h?R(ae(Ci),h.ADD_DATA_URI_TAGS,z):Ci,ke="FORBID_CONTENTS"in h?R({},h.FORBID_CONTENTS,z):Ii,Ke="FORBID_TAGS"in h?R({},h.FORBID_TAGS,z):{},kt="FORBID_ATTR"in h?R({},h.FORBID_ATTR,z):{},Me="USE_PROFILES"in h?h.USE_PROFILES:!1,Di=h.ALLOW_ARIA_ATTR!==!1,Ot=h.ALLOW_DATA_ATTR!==!1,Ri=h.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=h.SAFE_FOR_TEMPLATES||!1,Te=h.WHOLE_DOCUMENT||!1,Ce=h.RETURN_DOM||!1,ot=h.RETURN_DOM_FRAGMENT||!1,lt=h.RETURN_TRUSTED_TYPE||!1,Ut=h.FORCE_BODY||!1,xi=h.SANITIZE_DOM!==!1,Li=h.SANITIZE_NAMED_PROPS||!1,Bt=h.KEEP_CONTENT!==!1,Je=h.IN_PLACE||!1,Mt=h.ALLOWED_URI_REGEXP||Mt,Oe=h.NAMESPACE||pe,h.CUSTOM_ELEMENT_HANDLING&&ki(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=h.CUSTOM_ELEMENT_HANDLING.tagNameCheck),h.CUSTOM_ELEMENT_HANDLING&&ki(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),h.CUSTOM_ELEMENT_HANDLING&&typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Pe&&(Ot=!1),ot&&(Ce=!0),Me&&($=R({},s(Le)),q=[],Me.html===!0&&(R($,be),R(q,ye)),Me.svg===!0&&(R($,De),R(q,$e),R(q,te)),Me.svgFilters===!0&&(R($,Re),R(q,$e),R(q,te)),Me.mathMl===!0&&(R($,Ne),R(q,ze),R(q,te))),h.ADD_TAGS&&($===wi&&($=ae($)),R($,h.ADD_TAGS,z)),h.ADD_ATTR&&(q===Si&&(q=ae(q)),R(q,h.ADD_ATTR,z)),h.ADD_URI_SAFE_ATTR&&R(Ht,h.ADD_URI_SAFE_ATTR,z),h.FORBID_CONTENTS&&(ke===Ii&&(ke=ae(ke)),R(ke,h.FORBID_CONTENTS,z)),Bt&&($["#text"]=!0),Te&&R($,["html","head","body"]),$.table&&(R($,["tbody"]),delete Ke.tbody),x&&x(h),Fe=h)},Oi=R({},["mi","mo","mn","ms","mtext"]),Fi=R({},["foreignobject","desc","title","annotation-xml"]),cn=R({},["title","style","font","a","script"]),ht=R({},De);R(ht,Re),R(ht,it);var $t=R({},Ne);R($t,xe);var un=function(h){var v=Dt(h);(!v||!v.tagName)&&(v={namespaceURI:Oe,tagName:"template"});var N=W(h.tagName),C=W(v.tagName);return Wt[h.namespaceURI]?h.namespaceURI===ut?v.namespaceURI===pe?N==="svg":v.namespaceURI===ct?N==="svg"&&(C==="annotation-xml"||Oi[C]):Boolean(ht[N]):h.namespaceURI===ct?v.namespaceURI===pe?N==="math":v.namespaceURI===ut?N==="math"&&Fi[C]:Boolean($t[N]):h.namespaceURI===pe?v.namespaceURI===ut&&!Fi[C]||v.namespaceURI===ct&&!Oi[C]?!1:!$t[N]&&(cn[N]||!ht[N]):!!(Ae==="application/xhtml+xml"&&Wt[h.namespaceURI]):!1},me=function(h){P(T.removed,{element:h});try{h.parentNode.removeChild(h)}catch(v){try{h.outerHTML=xt}catch(N){h.remove()}}},zt=function(h,v){try{P(T.removed,{attribute:v.getAttributeNode(h),from:v})}catch(N){P(T.removed,{attribute:null,from:v})}if(v.removeAttribute(h),h==="is"&&!q[h])if(Ce||ot)try{me(v)}catch(N){}else try{v.setAttribute(h,"")}catch(N){}},Ui=function(h){var v,N;if(Ut)h=""+h;else{var C=ve(h,/^[\r\n\t ]+/);N=C&&C[0]}Ae==="application/xhtml+xml"&&Oe===pe&&(h=''+h+"");var ie=re?re.createHTML(h):h;if(Oe===pe)try{v=new jr().parseFromString(ie,Ae)}catch(Y){}if(!v||!v.documentElement){v=Lt.createDocument(Oe,"template",null);try{v.documentElement.innerHTML=Gt?xt:ie}catch(Y){}}var J=v.body||v.documentElement;return h&&N&&J.insertBefore(L.createTextNode(N),J.childNodes[0]||null),Oe===pe?Zr.call(v,Te?"html":"body")[0]:Te?v.documentElement:J},Bi=function(h){return Kr.call(h.ownerDocument||h,h,Ye.SHOW_ELEMENT|Ye.SHOW_COMMENT|Ye.SHOW_TEXT,null,!1)},hn=function(h){return h instanceof zr&&(typeof h.nodeName!="string"||typeof h.textContent!="string"||typeof h.removeChild!="function"||!(h.attributes instanceof $r)||typeof h.removeAttribute!="function"||typeof h.setAttribute!="function"||typeof h.namespaceURI!="string"||typeof h.insertBefore!="function"||typeof h.hasChildNodes!="function")},Ze=function(h){return e(ge)==="object"?h instanceof ge:h&&e(h)==="object"&&typeof h.nodeType=="number"&&typeof h.nodeName=="string"},fe=function(h,v,N){ce[h]&&g(ce[h],function(C){C.call(T,v,N,Fe)})},Hi=function(h){var v;if(fe("beforeSanitizeElements",h,null),hn(h)||V(/[\u0080-\uFFFF]/,h.nodeName))return me(h),!0;var N=z(h.nodeName);if(fe("uponSanitizeElement",h,{tagName:N,allowedTags:$}),h.hasChildNodes()&&!Ze(h.firstElementChild)&&(!Ze(h.content)||!Ze(h.content.firstElementChild))&&V(/<[/\w]/g,h.innerHTML)&&V(/<[/\w]/g,h.textContent)||N==="select"&&V(/