`,fc.children[0].getAttribute("foo")):(fc.innerHTML=e,fc.textContent)}const F9={parseMode:"html",isVoidTag:e$,isNativeTag:e=>Z8(e)||J8(e)||Q8(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:$9,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return TN;if(e==="TransitionGroup"||e==="transition-group")return yN},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(a=>a.type===6&&a.name==="encoding"&&a.value!=null&&(a.value.content==="text/html"||a.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else t&&r===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r}},U9=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:st("style",!0,t.loc),exp:B9(t.value.content,t.loc),modifiers:[],loc:t.loc})})},B9=(e,t)=>{const n=uv(e);return st(JSON.stringify(n),!1,t,3)};function Ho(e,t){return Jt(e,t)}const G9=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(Ho(53,a)),t.children.length&&(n.onError(Ho(54,a)),t.children.length=0),{props:[_n(st("innerHTML",!0,a),r||st("",!0))]}},j9=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(Ho(55,a)),t.children.length&&(n.onError(Ho(56,a)),t.children.length=0),{props:[_n(st("textContent",!0),r?oa(r,n)>0?r:Dn(n.helperString(ep),[r],a):st("",!0))]}},H9=(e,t,n)=>{const r=dN(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Ho(58,e.arg.loc));const{tag:a}=t,i=n.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||i){let o=gN,s=!1;if(a==="input"||i){const l=ap(t,"type");if(l){if(l.type===7)o=RE;else if(l.value)switch(l.value.content){case"radio":o=pN;break;case"checkbox":o=mN;break;case"file":s=!0,n.onError(Ho(59,e.loc));break}}else CU(t)&&(o=RE)}else a==="select"&&(o=_N);s||(r.needRuntime=n.helper(o))}else n.onError(Ho(57,e.loc));return r.props=r.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),r},V9=$n("passive,once,capture"),W9=$n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),z9=$n("left,right"),SN=$n("onkeyup,onkeydown,onkeypress"),q9=(e,t,n,r)=>{const a=[],i=[],o=[];for(let s=0;s
Hr(e)&&e.content.toLowerCase()==="onclick"?st(t,!0):e.type!==4?Pa(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Y9=(e,t,n)=>cN(e,t,n,r=>{const{modifiers:a}=e;if(!a.length)return r;let{key:i,value:o}=r.props[0];const{keyModifiers:s,nonKeyModifiers:l,eventOptionModifiers:c}=q9(i,a,n,e.loc);if(l.includes("right")&&(i=vN(i,"onContextmenu")),l.includes("middle")&&(i=vN(i,"onMouseup")),l.length&&(o=Dn(n.helper(EN),[o,JSON.stringify(l)])),s.length&&(!Hr(i)||SN(i.content.toLowerCase()))&&(o=Dn(n.helper(AN),[o,JSON.stringify(s)])),c.length){const u=c.map(vo).join("");i=Hr(i)?st(`${i.content}${u}`,!0):Pa(["(",i,`) + "${u}"`])}return{props:[_n(i,o)]}}),K9=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(Ho(61,a)),{props:[],needRuntime:n.helper(bN)}},X9=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Z9=[U9],J9={cloak:P9,html:G9,text:j9,model:H9,on:Y9,show:K9};function Q9(e,t={}){return M9(e,Et({},F9,t,{nodeTransforms:[X9,...Z9,...t.nodeTransforms||[]],directiveTransforms:Et({},J9,t.directiveTransforms||{}),transformHoist:null}))}/**
+**/const EN=Symbol(""),AN=Symbol(""),bN=Symbol(""),TN=Symbol(""),DE=Symbol(""),SN=Symbol(""),yN=Symbol(""),vN=Symbol(""),CN=Symbol(""),IN=Symbol("");SU({[EN]:"vModelRadio",[AN]:"vModelCheckbox",[bN]:"vModelText",[TN]:"vModelSelect",[DE]:"vModelDynamic",[SN]:"withModifiers",[yN]:"withKeys",[vN]:"vShow",[CN]:"Transition",[IN]:"TransitionGroup"});let mc;function W9(e,t=!1){return mc||(mc=document.createElement("div")),t?(mc.innerHTML=``,mc.children[0].getAttribute("foo")):(mc.innerHTML=e,mc.textContent)}const z9={parseMode:"html",isVoidTag:l$,isNativeTag:e=>i$(e)||o$(e)||s$(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:W9,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return CN;if(e==="TransitionGroup"||e==="transition-group")return IN},getNamespace(e,t,n){let r=t?t.ns:n;if(t&&r===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(a=>a.type===6&&a.name==="encoding"&&a.value!=null&&(a.value.content==="text/html"||a.value.content==="application/xhtml+xml"))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(r=0);else t&&r===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(r=0);if(r===0){if(e==="svg")return 1;if(e==="math")return 2}return r}},q9=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:st("style",!0,t.loc),exp:Y9(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Y9=(e,t)=>{const n=mv(e);return st(JSON.stringify(n),!1,t,3)};function Vo(e,t){return Jt(e,t)}const K9=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(Vo(53,a)),t.children.length&&(n.onError(Vo(54,a)),t.children.length=0),{props:[En(st("innerHTML",!0,a),r||st("",!0))]}},X9=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(Vo(55,a)),t.children.length&&(n.onError(Vo(56,a)),t.children.length=0),{props:[En(st("textContent",!0),r?oa(r,n)>0?r:Dn(n.helperString(ap),[r],a):st("",!0))]}},Z9=(e,t,n)=>{const r=mN(e,t,n);if(!r.props.length||t.tagType===1)return r;e.arg&&n.onError(Vo(58,e.arg.loc));const{tag:a}=t,i=n.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||i){let o=bN,s=!1;if(a==="input"||i){const l=lp(t,"type");if(l){if(l.type===7)o=DE;else if(l.value)switch(l.value.content){case"radio":o=EN;break;case"checkbox":o=AN;break;case"file":s=!0,n.onError(Vo(59,e.loc));break}}else xU(t)&&(o=DE)}else a==="select"&&(o=TN);s||(r.needRuntime=n.helper(o))}else n.onError(Vo(57,e.loc));return r.props=r.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),r},J9=$n("passive,once,capture"),Q9=$n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),eB=$n("left,right"),ON=$n("onkeyup,onkeydown,onkeypress"),tB=(e,t,n,r)=>{const a=[],i=[],o=[];for(let s=0;sVr(e)&&e.content.toLowerCase()==="onclick"?st(t,!0):e.type!==4?Fa(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,nB=(e,t,n)=>hN(e,t,n,r=>{const{modifiers:a}=e;if(!a.length)return r;let{key:i,value:o}=r.props[0];const{keyModifiers:s,nonKeyModifiers:l,eventOptionModifiers:c}=tB(i,a,n,e.loc);if(l.includes("right")&&(i=NN(i,"onContextmenu")),l.includes("middle")&&(i=NN(i,"onMouseup")),l.length&&(o=Dn(n.helper(SN),[o,JSON.stringify(l)])),s.length&&(!Vr(i)||ON(i.content.toLowerCase()))&&(o=Dn(n.helper(yN),[o,JSON.stringify(s)])),c.length){const u=c.map(Io).join("");i=Vr(i)?st(`${i.content}${u}`,!0):Fa(["(",i,`) + "${u}"`])}return{props:[En(i,o)]}}),rB=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(Vo(61,a)),{props:[],needRuntime:n.helper(vN)}},aB=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},iB=[q9],oB={cloak:V9,html:K9,text:X9,model:Z9,on:nB,show:rB};function sB(e,t={}){return H9(e,Et({},z9,t,{nodeTransforms:[aB,...iB,...t.nodeTransforms||[]],directiveTransforms:Et({},oB,t.directiveTransforms||{}),transformHoist:null}))}/**
* vue v3.5.12
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/const CN=Object.create(null);function IN(e,t){if(!rt(e))if(e.nodeType)e=e.innerHTML;else return ir;const n=j8(e,t),r=CN[n];if(r)return r;if(e[0]==="#"){const s=document.querySelector(e);e=s?s.innerHTML:""}const a=Et({hoistStatic:!0,onError:void 0,onWarn:ir},t);!a.isCustomElement&&typeof customElements<"u"&&(a.isCustomElement=s=>!!customElements.get(s));const{code:i}=Q9(e,a),o=new Function("Vue",i)(lU);return o._rc=!0,CN[n]=o}B0(IN);const eB=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:J_,BaseTransitionPropsValidators:Oh,Comment:gn,DeprecationTypes:OI,EffectScope:ih,ErrorCodes:Wv,ErrorTypeStrings:TI,Fragment:je,KeepAlive:_C,ReactiveEffect:ql,Static:Mo,Suspense:rI,Teleport:Sh,Text:ci,TrackOpTypes:Bv,Transition:Wh,TransitionGroup:iO,TriggerOpTypes:Gv,VueElement:nd,assertNumber:Vv,callWithAsyncErrorHandling:ta,callWithErrorHandling:Oo,camelize:Ht,capitalize:vo,cloneVNode:Ma,compatUtils:II,compile:IN,computed:te,createApp:ad,createBlock:Ae,createCommentVNode:de,createElementBlock:ae,createElementVNode:oe,createHydrationRenderer:S0,createPropsRestProxy:DC,createRenderer:y0,createSSRApp:Q0,createSlots:TC,createStaticVNode:k0,createTextVNode:Bn,createVNode:ge,customRef:z_,defineAsyncComponent:gC,defineComponent:Lo,defineCustomElement:Y0,defineEmits:vC,defineExpose:CC,defineModel:NC,defineOptions:IC,defineProps:SC,defineSSRCustomElement:QI,defineSlots:OC,devtools:yI,effect:bv,effectScope:oh,getCurrentInstance:an,getCurrentScope:sh,getCurrentWatcher:jv,getTransitionRawChildren:ju,guardReactiveProps:x0,h:ac,handleError:No,hasInjectionContext:UC,hydrate:mO,hydrateOnIdle:fC,hydrateOnInteraction:mC,hydrateOnMediaQuery:pC,hydrateOnVisible:hC,initCustomFormatter:EI,initDirectivesForSSR:AO,inject:ra,isMemoSame:G0,isProxy:$u,isReactive:ai,isReadonly:ii,isRef:It,isRuntimeOnly:pI,isShallow:Br,isVNode:xa,markRaw:V_,mergeDefaults:LC,mergeModels:$s,mergeProps:Gs,nextTick:na,normalizeClass:ke,normalizeProps:dv,normalizeStyle:Lt,onActivated:n0,onBeforeMount:tc,onBeforeUnmount:Ps,onBeforeUpdate:i0,onDeactivated:r0,onErrorCaptured:c0,onMounted:pn,onRenderTracked:l0,onRenderTriggered:s0,onScopeDispose:x_,onServerPrefetch:o0,onUnmounted:xo,onUpdated:Wu,onWatcherCleanup:Y_,openBlock:W,popScopeId:Jv,provide:ko,proxyRefs:mh,pushScopeId:Zv,queuePostFlushCb:Fu,reactive:ea,readonly:Pu,ref:Ee,registerRuntimeCompiler:B0,render:J0,renderList:wn,renderSlot:mn,resolveComponent:Pe,resolveDirective:Fn,resolveDynamicComponent:xh,resolveFilter:CI,resolveTransitionHooks:Ms,setBlockTracking:Bh,setDevtoolsHook:SI,setTransitionHooks:li,shallowReactive:H_,shallowReadonly:kv,shallowRef:Kl,ssrContextKey:I0,ssrUtils:vI,stop:Tv,toDisplayString:ye,toHandlerKey:Ds,toHandlers:yC,toRaw:pt,toRef:Fv,toRefs:q_,toValue:$v,transformVNodeArgs:cI,triggerRef:Pv,unref:se,useAttrs:kh,useCssModule:tO,useCssVars:HI,useHost:K0,useId:cC,useModel:Xu,useSSRContext:O0,useShadowRoot:eO,useSlots:g0,useTemplateRef:vr,useTransitionState:Ih,vModelCheckbox:Xh,vModelDynamic:Z0,vModelRadio:Zh,vModelSelect:X0,vModelText:Bo,vShow:eo,version:j0,warn:bI,watch:ot,watchEffect:N0,watchPostEffect:R0,watchSyncEffect:w0,withAsyncContext:xC,withCtx:Dt,withDefaults:RC,withDirectives:mt,withKeys:sc,withMemo:AI,withModifiers:Ot,withScopeId:Qv},Symbol.toStringTag,{value:"Module"}));/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */const{entries:ON,setPrototypeOf:NN,isFrozen:tB,getPrototypeOf:nB,getOwnPropertyDescriptor:rB}=Object;let{freeze:Ir,seal:Aa,create:RN}=Object,{apply:wE,construct:LE}=typeof Reflect<"u"&&Reflect;Ir||(Ir=function(t){return t}),Aa||(Aa=function(t){return t}),wE||(wE=function(t,n,r){return t.apply(n,r)}),LE||(LE=function(t,n){return new t(...n)});const Ep=Nr(Array.prototype.forEach),aB=Nr(Array.prototype.lastIndexOf),wN=Nr(Array.prototype.pop),md=Nr(Array.prototype.push),iB=Nr(Array.prototype.splice),Ap=Nr(String.prototype.toLowerCase),DE=Nr(String.prototype.toString),LN=Nr(String.prototype.match),gd=Nr(String.prototype.replace),oB=Nr(String.prototype.indexOf),sB=Nr(String.prototype.trim),$a=Nr(Object.prototype.hasOwnProperty),Or=Nr(RegExp.prototype.test),_d=lB(TypeError);function Nr(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a2&&arguments[2]!==void 0?arguments[2]:Ap;NN&&NN(e,null);let r=t.length;for(;r--;){let a=t[r];if(typeof a=="string"){const i=n(a);i!==a&&(tB(t)||(t[r]=i),a=i)}e[a]=!0}return e}function cB(e){for(let t=0;t/gm),pB=Aa(/\$\{[\w\W]*/gm),mB=Aa(/^data-[\-\w.\u00B7-\uFFFF]+$/),gB=Aa(/^aria-[\-\w]+$/),PN=Aa(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_B=Aa(/^(?:\w+script|data):/i),EB=Aa(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$N=Aa(/^html$/i),AB=Aa(/^[a-z][.\w]*(-[.\w]+)+$/i);var FN=Object.freeze({__proto__:null,ARIA_ATTR:gB,ATTR_WHITESPACE:EB,CUSTOM_ELEMENT:AB,DATA_ATTR:mB,DOCTYPE_NAME:$N,ERB_EXPR:hB,IS_ALLOWED_URI:PN,IS_SCRIPT_OR_DATA:_B,MUSTACHE_EXPR:fB,TMPLIT_EXPR:pB});const Ad={element:1,text:3,progressingInstruction:7,comment:8,document:9},bB=function(){return typeof window>"u"?null:window},TB=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const a="data-tt-policy-suffix";n&&n.hasAttribute(a)&&(r=n.getAttribute(a));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},UN=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function BN(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bB();const t=Ue=>BN(Ue);if(t.version="3.2.4",t.removed=[],!e||!e.document||e.document.nodeType!==Ad.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,a=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:o,Node:s,Element:l,NodeFilter:c,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:f,trustedTypes:h}=e,p=l.prototype,m=Ed(p,"cloneNode"),A=Ed(p,"remove"),_=Ed(p,"nextSibling"),T=Ed(p,"childNodes"),g=Ed(p,"parentNode");if(typeof o=="function"){const Ue=n.createElement("template");Ue.content&&Ue.content.ownerDocument&&(n=Ue.content.ownerDocument)}let b,S="";const{implementation:y,createNodeIterator:w,createDocumentFragment:M,getElementsByTagName:N}=n,{importNode:D}=r;let j=UN();t.isSupported=typeof ON=="function"&&typeof g=="function"&&y&&y.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:F,ERB_EXPR:X,TMPLIT_EXPR:Y,DATA_ATTR:P,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:v,CUSTOM_ELEMENT:L}=FN;let{IS_ALLOWED_URI:k}=FN,B=null;const re=gt({},[...DN,...xE,...kE,...ME,...xN]);let ue=null;const _e=gt({},[...kN,...PE,...MN,...bp]);let me=Object.seal(RN(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}})),Oe=null,Te=null,be=!0,xe=!0,Re=!1,qe=!0,We=!1,J=!0,H=!1,Z=!1,ee=!1,G=!1,U=!1,z=!1,R=!0,C=!1;const x="user-content-";let $=!0,K=!1,ne={},q=null;const Q=gt({},["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"]);let le=null;const he=gt({},["audio","video","img","source","image","track"]);let Ne=null;const Ye=gt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Xt="http://www.w3.org/2000/svg",fn="http://www.w3.org/1999/xhtml";let pa=fn,vn=!1,qn=null;const Ct=gt({},[Ke,Xt,fn],DE);let ni=gt({},["mi","mo","mn","ms","mtext"]),Ra=gt({},["annotation-xml"]);const Yf=gt({},["title","style","font","a","script"]);let Gl=null;const ZS=["application/xhtml+xml","text/html"],JS="text/html";let Nn=null,Ns=null;const QS=n.createElement("form"),m_=function(ie){return ie instanceof RegExp||ie instanceof Function},Kf=function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ns&&Ns===ie)){if((!ie||typeof ie!="object")&&(ie={}),ie=Xs(ie),Gl=ZS.indexOf(ie.PARSER_MEDIA_TYPE)===-1?JS:ie.PARSER_MEDIA_TYPE,Nn=Gl==="application/xhtml+xml"?DE:Ap,B=$a(ie,"ALLOWED_TAGS")?gt({},ie.ALLOWED_TAGS,Nn):re,ue=$a(ie,"ALLOWED_ATTR")?gt({},ie.ALLOWED_ATTR,Nn):_e,qn=$a(ie,"ALLOWED_NAMESPACES")?gt({},ie.ALLOWED_NAMESPACES,DE):Ct,Ne=$a(ie,"ADD_URI_SAFE_ATTR")?gt(Xs(Ye),ie.ADD_URI_SAFE_ATTR,Nn):Ye,le=$a(ie,"ADD_DATA_URI_TAGS")?gt(Xs(he),ie.ADD_DATA_URI_TAGS,Nn):he,q=$a(ie,"FORBID_CONTENTS")?gt({},ie.FORBID_CONTENTS,Nn):Q,Oe=$a(ie,"FORBID_TAGS")?gt({},ie.FORBID_TAGS,Nn):{},Te=$a(ie,"FORBID_ATTR")?gt({},ie.FORBID_ATTR,Nn):{},ne=$a(ie,"USE_PROFILES")?ie.USE_PROFILES:!1,be=ie.ALLOW_ARIA_ATTR!==!1,xe=ie.ALLOW_DATA_ATTR!==!1,Re=ie.ALLOW_UNKNOWN_PROTOCOLS||!1,qe=ie.ALLOW_SELF_CLOSE_IN_ATTR!==!1,We=ie.SAFE_FOR_TEMPLATES||!1,J=ie.SAFE_FOR_XML!==!1,H=ie.WHOLE_DOCUMENT||!1,G=ie.RETURN_DOM||!1,U=ie.RETURN_DOM_FRAGMENT||!1,z=ie.RETURN_TRUSTED_TYPE||!1,ee=ie.FORCE_BODY||!1,R=ie.SANITIZE_DOM!==!1,C=ie.SANITIZE_NAMED_PROPS||!1,$=ie.KEEP_CONTENT!==!1,K=ie.IN_PLACE||!1,k=ie.ALLOWED_URI_REGEXP||PN,pa=ie.NAMESPACE||fn,ni=ie.MATHML_TEXT_INTEGRATION_POINTS||ni,Ra=ie.HTML_INTEGRATION_POINTS||Ra,me=ie.CUSTOM_ELEMENT_HANDLING||{},ie.CUSTOM_ELEMENT_HANDLING&&m_(ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(me.tagNameCheck=ie.CUSTOM_ELEMENT_HANDLING.tagNameCheck),ie.CUSTOM_ELEMENT_HANDLING&&m_(ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(me.attributeNameCheck=ie.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),ie.CUSTOM_ELEMENT_HANDLING&&typeof ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=ie.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),We&&(xe=!1),U&&(G=!0),ne&&(B=gt({},xN),ue=[],ne.html===!0&&(gt(B,DN),gt(ue,kN)),ne.svg===!0&&(gt(B,xE),gt(ue,PE),gt(ue,bp)),ne.svgFilters===!0&&(gt(B,kE),gt(ue,PE),gt(ue,bp)),ne.mathMl===!0&&(gt(B,ME),gt(ue,MN),gt(ue,bp))),ie.ADD_TAGS&&(B===re&&(B=Xs(B)),gt(B,ie.ADD_TAGS,Nn)),ie.ADD_ATTR&&(ue===_e&&(ue=Xs(ue)),gt(ue,ie.ADD_ATTR,Nn)),ie.ADD_URI_SAFE_ATTR&>(Ne,ie.ADD_URI_SAFE_ATTR,Nn),ie.FORBID_CONTENTS&&(q===Q&&(q=Xs(q)),gt(q,ie.FORBID_CONTENTS,Nn)),$&&(B["#text"]=!0),H&>(B,["html","head","body"]),B.table&&(gt(B,["tbody"]),delete Oe.tbody),ie.TRUSTED_TYPES_POLICY){if(typeof ie.TRUSTED_TYPES_POLICY.createHTML!="function")throw _d('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ie.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw _d('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=ie.TRUSTED_TYPES_POLICY,S=b.createHTML("")}else b===void 0&&(b=TB(h,a)),b!==null&&typeof S=="string"&&(S=b.createHTML(""));Ir&&Ir(ie),Ns=ie}},g_=gt({},[...xE,...kE,...uB]),__=gt({},[...ME,...dB]),ev=function(ie){let Ce=g(ie);(!Ce||!Ce.tagName)&&(Ce={namespaceURI:pa,tagName:"template"});const Me=Ap(ie.tagName),Yt=Ap(Ce.tagName);return qn[ie.namespaceURI]?ie.namespaceURI===Xt?Ce.namespaceURI===fn?Me==="svg":Ce.namespaceURI===Ke?Me==="svg"&&(Yt==="annotation-xml"||ni[Yt]):!!g_[Me]:ie.namespaceURI===Ke?Ce.namespaceURI===fn?Me==="math":Ce.namespaceURI===Xt?Me==="math"&&Ra[Yt]:!!__[Me]:ie.namespaceURI===fn?Ce.namespaceURI===Xt&&!Ra[Yt]||Ce.namespaceURI===Ke&&!ni[Yt]?!1:!__[Me]&&(Yf[Me]||!g_[Me]):!!(Gl==="application/xhtml+xml"&&qn[ie.namespaceURI]):!1},wa=function(ie){md(t.removed,{element:ie});try{g(ie).removeChild(ie)}catch{A(ie)}},Ru=function(ie,Ce){try{md(t.removed,{attribute:Ce.getAttributeNode(ie),from:Ce})}catch{md(t.removed,{attribute:null,from:Ce})}if(Ce.removeAttribute(ie),ie==="is")if(G||U)try{wa(Ce)}catch{}else try{Ce.setAttribute(ie,"")}catch{}},E_=function(ie){let Ce=null,Me=null;if(ee)ie=""+ie;else{const Pn=LN(ie,/^[\r\n\t ]+/);Me=Pn&&Pn[0]}Gl==="application/xhtml+xml"&&pa===fn&&(ie=''+ie+"");const Yt=b?b.createHTML(ie):ie;if(pa===fn)try{Ce=new f().parseFromString(Yt,Gl)}catch{}if(!Ce||!Ce.documentElement){Ce=y.createDocument(pa,"template",null);try{Ce.documentElement.innerHTML=vn?S:Yt}catch{}}const Yn=Ce.body||Ce.documentElement;return ie&&Me&&Yn.insertBefore(n.createTextNode(Me),Yn.childNodes[0]||null),pa===fn?N.call(Ce,H?"html":"body")[0]:H?Ce.documentElement:Yn},A_=function(ie){return w.call(ie.ownerDocument||ie,ie,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Xf=function(ie){return ie instanceof d&&(typeof ie.nodeName!="string"||typeof ie.textContent!="string"||typeof ie.removeChild!="function"||!(ie.attributes instanceof u)||typeof ie.removeAttribute!="function"||typeof ie.setAttribute!="function"||typeof ie.namespaceURI!="string"||typeof ie.insertBefore!="function"||typeof ie.hasChildNodes!="function")},b_=function(ie){return typeof s=="function"&&ie instanceof s};function ri(Ue,ie,Ce){Ep(Ue,Me=>{Me.call(t,ie,Ce,Ns)})}const T_=function(ie){let Ce=null;if(ri(j.beforeSanitizeElements,ie,null),Xf(ie))return wa(ie),!0;const Me=Nn(ie.nodeName);if(ri(j.uponSanitizeElement,ie,{tagName:Me,allowedTags:B}),ie.hasChildNodes()&&!b_(ie.firstElementChild)&&Or(/<[/\w]/g,ie.innerHTML)&&Or(/<[/\w]/g,ie.textContent)||ie.nodeType===Ad.progressingInstruction||J&&ie.nodeType===Ad.comment&&Or(/<[/\w]/g,ie.data))return wa(ie),!0;if(!B[Me]||Oe[Me]){if(!Oe[Me]&&S_(Me)&&(me.tagNameCheck instanceof RegExp&&Or(me.tagNameCheck,Me)||me.tagNameCheck instanceof Function&&me.tagNameCheck(Me)))return!1;if($&&!q[Me]){const Yt=g(ie)||ie.parentNode,Yn=T(ie)||ie.childNodes;if(Yn&&Yt){const Pn=Yn.length;for(let br=Pn-1;br>=0;--br){const La=m(Yn[br],!0);La.__removalCount=(ie.__removalCount||0)+1,Yt.insertBefore(La,_(ie))}}}return wa(ie),!0}return ie instanceof l&&!ev(ie)||(Me==="noscript"||Me==="noembed"||Me==="noframes")&&Or(/<\/no(script|embed|frames)/i,ie.innerHTML)?(wa(ie),!0):(We&&ie.nodeType===Ad.text&&(Ce=ie.textContent,Ep([F,X,Y],Yt=>{Ce=gd(Ce,Yt," ")}),ie.textContent!==Ce&&(md(t.removed,{element:ie.cloneNode()}),ie.textContent=Ce)),ri(j.afterSanitizeElements,ie,null),!1)},y_=function(ie,Ce,Me){if(R&&(Ce==="id"||Ce==="name")&&(Me in n||Me in QS))return!1;if(!(xe&&!Te[Ce]&&Or(P,Ce))){if(!(be&&Or(I,Ce))){if(!ue[Ce]||Te[Ce]){if(!(S_(ie)&&(me.tagNameCheck instanceof RegExp&&Or(me.tagNameCheck,ie)||me.tagNameCheck instanceof Function&&me.tagNameCheck(ie))&&(me.attributeNameCheck instanceof RegExp&&Or(me.attributeNameCheck,Ce)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck(Ce))||Ce==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&Or(me.tagNameCheck,Me)||me.tagNameCheck instanceof Function&&me.tagNameCheck(Me))))return!1}else if(!Ne[Ce]){if(!Or(k,gd(Me,v,""))){if(!((Ce==="src"||Ce==="xlink:href"||Ce==="href")&&ie!=="script"&&oB(Me,"data:")===0&&le[ie])){if(!(Re&&!Or(O,gd(Me,v,"")))){if(Me)return!1}}}}}}return!0},S_=function(ie){return ie!=="annotation-xml"&&LN(ie,L)},v_=function(ie){ri(j.beforeSanitizeAttributes,ie,null);const{attributes:Ce}=ie;if(!Ce||Xf(ie))return;const Me={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ue,forceKeepAttr:void 0};let Yt=Ce.length;for(;Yt--;){const Yn=Ce[Yt],{name:Pn,namespaceURI:br,value:La}=Yn,jl=Nn(Pn);let ar=Pn==="value"?La:sB(La);if(Me.attrName=jl,Me.attrValue=ar,Me.keepAttr=!0,Me.forceKeepAttr=void 0,ri(j.uponSanitizeAttribute,ie,Me),ar=Me.attrValue,C&&(jl==="id"||jl==="name")&&(Ru(Pn,ie),ar=x+ar),J&&Or(/((--!?|])>)|<\/(style|title)/i,ar)){Ru(Pn,ie);continue}if(Me.forceKeepAttr||(Ru(Pn,ie),!Me.keepAttr))continue;if(!qe&&Or(/\/>/i,ar)){Ru(Pn,ie);continue}We&&Ep([F,X,Y],I_=>{ar=gd(ar,I_," ")});const C_=Nn(ie.nodeName);if(y_(C_,jl,ar)){if(b&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!br)switch(h.getAttributeType(C_,jl)){case"TrustedHTML":{ar=b.createHTML(ar);break}case"TrustedScriptURL":{ar=b.createScriptURL(ar);break}}try{br?ie.setAttributeNS(br,Pn,ar):ie.setAttribute(Pn,ar),Xf(ie)?wa(ie):wN(t.removed)}catch{}}}ri(j.afterSanitizeAttributes,ie,null)},tv=function Ue(ie){let Ce=null;const Me=A_(ie);for(ri(j.beforeSanitizeShadowDOM,ie,null);Ce=Me.nextNode();)ri(j.uponSanitizeShadowNode,Ce,null),T_(Ce),v_(Ce),Ce.content instanceof i&&Ue(Ce.content);ri(j.afterSanitizeShadowDOM,ie,null)};return t.sanitize=function(Ue){let ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ce=null,Me=null,Yt=null,Yn=null;if(vn=!Ue,vn&&(Ue=""),typeof Ue!="string"&&!b_(Ue))if(typeof Ue.toString=="function"){if(Ue=Ue.toString(),typeof Ue!="string")throw _d("dirty is not a string, aborting")}else throw _d("toString is not a function");if(!t.isSupported)return Ue;if(Z||Kf(ie),t.removed=[],typeof Ue=="string"&&(K=!1),K){if(Ue.nodeName){const La=Nn(Ue.nodeName);if(!B[La]||Oe[La])throw _d("root node is forbidden and cannot be sanitized in-place")}}else if(Ue instanceof s)Ce=E_(""),Me=Ce.ownerDocument.importNode(Ue,!0),Me.nodeType===Ad.element&&Me.nodeName==="BODY"||Me.nodeName==="HTML"?Ce=Me:Ce.appendChild(Me);else{if(!G&&!We&&!H&&Ue.indexOf("<")===-1)return b&&z?b.createHTML(Ue):Ue;if(Ce=E_(Ue),!Ce)return G?null:z?S:""}Ce&&ee&&wa(Ce.firstChild);const Pn=A_(K?Ue:Ce);for(;Yt=Pn.nextNode();)T_(Yt),v_(Yt),Yt.content instanceof i&&tv(Yt.content);if(K)return Ue;if(G){if(U)for(Yn=M.call(Ce.ownerDocument);Ce.firstChild;)Yn.appendChild(Ce.firstChild);else Yn=Ce;return(ue.shadowroot||ue.shadowrootmode)&&(Yn=D.call(r,Yn,!0)),Yn}let br=H?Ce.outerHTML:Ce.innerHTML;return H&&B["!doctype"]&&Ce.ownerDocument&&Ce.ownerDocument.doctype&&Ce.ownerDocument.doctype.name&&Or($N,Ce.ownerDocument.doctype.name)&&(br="
-`+br),We&&Ep([F,X,Y],La=>{br=gd(br,La," ")}),b&&z?b.createHTML(br):br},t.setConfig=function(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Kf(Ue),Z=!0},t.clearConfig=function(){Ns=null,Z=!1},t.isValidAttribute=function(Ue,ie,Ce){Ns||Kf({});const Me=Nn(Ue),Yt=Nn(ie);return y_(Me,Yt,Ce)},t.addHook=function(Ue,ie){typeof ie=="function"&&md(j[Ue],ie)},t.removeHook=function(Ue,ie){if(ie!==void 0){const Ce=aB(j[Ue],ie);return Ce===-1?void 0:iB(j[Ue],Ce,1)[0]}return wN(j[Ue])},t.removeHooks=function(Ue){j[Ue]=[]},t.removeAllHooks=function(){j=UN()},t}var yB=BN();function SB(e,t){const n=e.hooks??{};let r;for(r in n){const a=n[r];a!==void 0&&t.addHook(r,a)}}function GN(){return yB()}function vB(e={},t=GN){const n=t();SB(e,n);const r=function(a,i){const o=i.value;if(i.oldValue===o)return;const s=`${o}`,l=i.arg,c=e.namedConfigurations,u=e.default??{};if(c&&l!==void 0){a.innerHTML=n.sanitize(s,c[l]??u);return}a.innerHTML=n.sanitize(s,u)};return{mounted:r,updated:r}}const CB={install(e,t={},n=GN){e.directive("dompurify-html",vB(t,n))}},IB=["width","height"],jN={__name:"Spinner",props:{size:{type:Number,default:24}},setup(e){return(t,n)=>(W(),ae("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"8",strokeLinecap:"round",strokeLinejoin:"round",class:"animate-spin"},n[0]||(n[0]=[oe("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"},null,-1)]),8,IB))}},en={__name:"Icon",props:{icon:{type:[String,Object,Function],required:!0}},setup(e){const t=e,n=()=>t.icon?typeof t.icon=="function"||xa(t.icon)?t.icon:ac("span",{class:t.icon}):null;return(r,a)=>(W(),Ae(xh(n)))}},HN=["solid","outline","faded","link","ghost"],VN=["blue","ruby","amber","slate","teal"],WN=["xs","sm","md","lg"],zN=["start","center","end"],OB=["variant","color","size","icon","trailingIcon","isLoading",...HN,...VN,...WN,...zN],NB={key:0,class:"min-w-0 truncate"},yt=Object.assign({inheritAttrs:!1},{__name:"Button",props:{label:{type:[String,Number],default:""},variant:{type:String,default:null,validator:e=>HN.includes(e)||e===null},color:{type:String,default:null,validator:e=>VN.includes(e)||e===null},size:{type:String,default:null,validator:e=>WN.includes(e)||e===null},justify:{type:String,default:null,validator:e=>zN.includes(e)||e===null},icon:{type:[String,Object,Function],default:""},trailingIcon:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1}},setup(e){const t=e,n=g0(),r=kh(),a=te(()=>{const m={};return Object.entries(r).filter(([A])=>!OB.includes(A)).forEach(([A,_])=>{m[A]=_}),m}),i=te(()=>t.variant?t.variant:r.solid||r.solid===""?"solid":r.outline||r.outline===""?"outline":r.faded||r.faded===""?"faded":r.link||r.link===""?"link":r.ghost||r.ghost===""?"ghost":"solid"),o=te(()=>t.color?t.color:r.blue||r.blue===""?"blue":r.ruby||r.ruby===""?"ruby":r.amber||r.amber===""?"amber":r.slate||r.slate===""?"slate":r.teal||r.teal===""?"teal":"blue"),s=te(()=>t.size?t.size:r.xs||r.xs===""?"xs":r.sm||r.sm===""?"sm":r.md||r.md===""?"md":r.lg||r.lg===""?"lg":"md"),l=te(()=>t.justify?t.justify:r.start||r.start===""?"start":r.center||r.center===""?"center":r.end||r.end===""?"end":"center"),c={colors:{blue:{solid:"bg-n-brand text-white hover:enabled:brightness-110 focus-visible:brightness-110 outline-transparent",faded:"bg-n-brand/10 text-n-blue-text hover:enabled:bg-n-brand/20 focus-visible:bg-n-brand/20 outline-transparent",outline:"text-n-blue-text outline-n-brand",ghost:"text-n-blue-text hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 outline-transparent",link:"text-n-blue-text hover:enabled:underline focus-visible:underline outline-transparent"},ruby:{solid:"bg-n-ruby-9 text-white hover:enabled:bg-n-ruby-10 focus-visible:bg-n-ruby-10 outline-transparent",faded:"bg-n-ruby-9/10 text-n-ruby-11 hover:enabled:bg-n-ruby-9/20 focus-visible:bg-n-ruby-9/20 outline-transparent",outline:"text-n-ruby-11 hover:enabled:bg-n-ruby-9/10 focus-visible:bg-n-ruby-9/10 outline-n-ruby-8",ghost:"text-n-ruby-11 hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 outline-transparent",link:"text-n-ruby-9 hover:enabled:underline focus-visible:underline outline-transparent"},amber:{solid:"bg-n-amber-9 text-white hover:enabled:bg-n-amber-10 focus-visible:bg-n-amber-10 outline-transparent",faded:"bg-n-amber-9/10 text-n-slate-12 hover:enabled:bg-n-amber-9/20 focus-visible:bg-n-amber-9/20 outline-transparent",outline:"text-n-amber-11 hover:enabled:bg-n-amber-9/10 focus-visible:bg-n-amber-9/10 outline-n-amber-9",link:"text-n-amber-9 hover:enabled:underline focus-visible:underline outline-transparent",ghost:"text-n-amber-9 hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 outline-transparent"},slate:{solid:"bg-n-solid-3 dark:hover:enabled:bg-n-solid-2 dark:focus-visible:bg-n-solid-2 hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 text-n-slate-12 outline-n-container",faded:"bg-n-slate-9/10 text-n-slate-12 hover:enabled:bg-n-slate-9/20 focus-visible:bg-n-slate-9/20 outline-transparent",outline:"text-n-slate-11 outline-n-strong hover:enabled:bg-n-slate-9/10 focus-visible:bg-n-slate-9/10",link:"text-n-slate-11 hover:enabled:text-n-slate-12 focus-visible:text-n-slate-12 hover:enabled:underline focus-visible:underline outline-transparent",ghost:"text-n-slate-12 hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 outline-transparent"},teal:{solid:"bg-n-teal-9 text-white hover:enabled:bg-n-teal-10 focus-visible:bg-n-teal-10 outline-transparent",faded:"bg-n-teal-9/10 text-n-slate-12 hover:enabled:bg-n-teal-9/20 focus-visible:bg-n-teal-9/20 outline-transparent",outline:"text-n-teal-11 hover:enabled:bg-n-teal-9/10 focus-visible:bg-n-teal-9/10 outline-n-teal-9",link:"text-n-teal-9 hover:enabled:underline focus-visible:underline outline-transparent",ghost:"text-n-teal-9 hover:enabled:bg-n-alpha-2 focus-visible:bg-n-alpha-2 outline-transparent"}},sizes:{regular:{xs:"h-6 px-2",sm:"h-8 px-3",md:"h-10 px-4",lg:"h-12 px-5"},iconOnly:{xs:"h-6 w-6 p-0",sm:"h-8 w-8 p-0",md:"h-10 w-10 p-0",lg:"h-12 w-12 p-0"},link:{xs:"p-0",sm:"p-0",md:"p-0",lg:"p-0"}},fontSize:{xs:"text-xs",sm:"text-sm",md:"text-sm font-medium",lg:"text-base"},justify:{start:"justify-start",center:"justify-center",end:"justify-end"},base:"inline-flex items-center min-w-0 gap-2 transition-all duration-200 ease-in-out border-0 rounded-lg outline-1 outline disabled:opacity-50"},u=te(()=>({ghost:`${c.colors[o.value].ghost}`,link:`${c.colors[o.value].link} p-0 font-medium underline-offset-2`,outline:c.colors[o.value].outline,faded:c.colors[o.value].faded,solid:c.colors[o.value].solid})[i.value]),d=te(()=>!t.label&&!n.default),f=te(()=>i.value==="link"),h=te(()=>{const m=d.value?"iconOnly":"regular";return[u.value,i.value!=="link"&&c.sizes[m][s.value]].filter(Boolean).join(" ")}),p=te(()=>[u.value,c.sizes.link[s.value]].filter(Boolean).join(" "));return(m,A)=>(W(),ae("button",Gs(a.value,{class:{[c.base]:!0,[f.value?p.value:h.value]:!0,[c.fontSize[s.value]]:!0,[c.justify[l.value]]:!0,"flex-row-reverse":e.trailingIcon&&!d.value}}),[(e.icon||m.$slots.icon)&&!e.isLoading?mn(m.$slots,"icon",{key:0},()=>[ge(en,{icon:e.icon,class:"flex-shrink-0"},null,8,["icon"])]):de("",!0),e.isLoading?(W(),Ae(jN,{key:1,class:"!w-5 !h-5 flex-shrink-0"})):de("",!0),e.label||m.$slots.default?mn(m.$slots,"default",{key:2},()=>[e.label?(W(),ae("span",NB,ye(e.label),1)):de("",!0)]):de("",!0)],16))}}),kt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},RB={components:{NextButton:yt},props:{label:{type:String,default:""},src:{type:String,default:""},usernameAvatar:{type:String,default:""},deleteAvatar:{type:Boolean,default:!1}},emits:["onAvatarSelect","onAvatarDelete"],watch:{},methods:{handleImageUpload(e){const[t]=e.target.files;this.$emit("onAvatarSelect",{file:t,url:t?URL.createObjectURL(t):null})},onAvatarDelete(){this.$refs.file.value=null,this.$emit("onAvatarDelete")}}},wB={key:0},LB={key:1,class:"avatar-delete-btn"};function DB(e,t,n,r,a,i){const o=Pe("woot-thumbnail"),s=Pe("NextButton");return W(),ae("div",null,[oe("label",null,[n.label?(W(),ae("span",wB,ye(n.label),1)):de("",!0)]),n.src?(W(),Ae(o,{key:0,size:"80px",src:n.src,username:n.usernameAvatar},null,8,["src","username"])):de("",!0),n.src&&n.deleteAvatar?(W(),ae("div",LB,[ge(s,{outline:"",xs:"",ruby:"",label:e.$t("INBOX_MGMT.DELETE.AVATAR_DELETE_BUTTON_TEXT"),onClick:i.onAvatarDelete},null,8,["label","onClick"])])):de("",!0),oe("label",null,[oe("input",{id:"file",ref:"file",type:"file",accept:"image/png, image/jpeg, image/jpg, image/gif, image/webp",onChange:t[0]||(t[0]=(...l)=>i.handleImageUpload&&i.handleImageUpload(...l))},null,544),mn(e.$slots,"default",{},void 0,!0)])])}const xB=kt(RB,[["render",DB],["__scopeId","data-v-c8e71df8"]]);var Nt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}function qN(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&qN(n)}),e}let YN=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function KN(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Wo(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const a in r)n[a]=r[a]}),n}const kB="",XN=e=>!!e.scope,MB=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,a)=>`${r}${"_".repeat(a+1)}`)].join(" ")}return`${t}${e}`};class PB{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=KN(t)}openNode(t){if(!XN(t))return;const n=MB(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){XN(t)&&(this.buffer+=kB)}value(){return this.buffer}span(t){this.buffer+=``}}const ZN=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class $E{constructor(){this.rootNode=ZN(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=ZN({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{$E._collapse(n)}))}}class $B extends $E{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new PB(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function bd(e){return e?typeof e=="string"?e:e.source:null}function JN(e){return Zs("(?=",e,")")}function FB(e){return Zs("(?:",e,")*")}function UB(e){return Zs("(?:",e,")?")}function Zs(...e){return e.map(n=>bd(n)).join("")}function BB(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function FE(...e){return"("+(BB(e).capture?"":"?:")+e.map(r=>bd(r)).join("|")+")"}function QN(e){return new RegExp(e.toString()+"|").exec("").length-1}function GB(e,t){const n=e&&e.exec(t);return n&&n.index===0}const jB=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function UE(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const a=n;let i=bd(r),o="";for(;i.length>0;){const s=jB.exec(i);if(!s){o+=i;break}o+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+a):(o+=s[0],s[0]==="("&&n++)}return o}).map(r=>`(${r})`).join(t)}const HB=/\b\B/,e2="[a-zA-Z]\\w*",BE="[a-zA-Z_]\\w*",t2="\\b\\d+(\\.\\d+)?",n2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",r2="\\b(0b[01]+)",VB="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",WB=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Zs(t,/.*\b/,e.binary,/\b.*/)),Wo({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Td={begin:"\\\\[\\s\\S]",relevance:0},zB={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Td]},qB={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Td]},YB={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},yp=function(e,t,n={}){const r=Wo({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const a=FE("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Zs(/[ ]+/,"(",a,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},KB=yp("//","$"),XB=yp("/\\*","\\*/"),ZB=yp("#","$"),JB={scope:"number",begin:t2,relevance:0},QB={scope:"number",begin:n2,relevance:0},e7={scope:"number",begin:r2,relevance:0},t7={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Td,{begin:/\[/,end:/\]/,relevance:0,contains:[Td]}]},n7={scope:"title",begin:e2,relevance:0},r7={scope:"title",begin:BE,relevance:0},a7={begin:"\\.\\s*"+BE,relevance:0};var Sp=Object.freeze({__proto__:null,APOS_STRING_MODE:zB,BACKSLASH_ESCAPE:Td,BINARY_NUMBER_MODE:e7,BINARY_NUMBER_RE:r2,COMMENT:yp,C_BLOCK_COMMENT_MODE:XB,C_LINE_COMMENT_MODE:KB,C_NUMBER_MODE:QB,C_NUMBER_RE:n2,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})},HASH_COMMENT_MODE:ZB,IDENT_RE:e2,MATCH_NOTHING_RE:HB,METHOD_GUARD:a7,NUMBER_MODE:JB,NUMBER_RE:t2,PHRASAL_WORDS_MODE:YB,QUOTE_STRING_MODE:qB,REGEXP_MODE:t7,RE_STARTERS_RE:VB,SHEBANG:WB,TITLE_MODE:n7,UNDERSCORE_IDENT_RE:BE,UNDERSCORE_TITLE_MODE:r7});function i7(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function o7(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function s7(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=i7,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function l7(e,t){Array.isArray(e.illegal)&&(e.illegal=FE(...e.illegal))}function c7(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function u7(e,t){e.relevance===void 0&&(e.relevance=1)}const d7=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=Zs(n.beforeMatch,JN(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},f7=["of","and","for","in","not","or","if","then","parent","list","value"],h7="keyword";function a2(e,t,n=h7){const r=Object.create(null);return typeof e=="string"?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach(function(i){Object.assign(r,a2(e[i],t,i))}),r;function a(i,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");r[l[0]]=[i,p7(l[0],l[1])]})}}function p7(e,t){return t?Number(t):m7(e)?0:1}function m7(e){return f7.includes(e.toLowerCase())}const i2={},Js=e=>{console.error(e)},o2=(e,...t)=>{console.log(`WARN: ${e}`,...t)},hc=(e,t)=>{i2[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),i2[`${e}/${t}`]=!0)},vp=new Error;function s2(e,t,{key:n}){let r=0;const a=e[n],i={},o={};for(let s=1;s<=t.length;s++)o[s+r]=a[s],i[s+r]=!0,r+=QN(t[s-1]);e[n]=o,e[n]._emit=i,e[n]._multi=!0}function g7(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Js("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),vp;if(typeof e.beginScope!="object"||e.beginScope===null)throw Js("beginScope must be object"),vp;s2(e,e.begin,{key:"beginScope"}),e.begin=UE(e.begin,{joinWith:""})}}function _7(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Js("skip, excludeEnd, returnEnd not compatible with endScope: {}"),vp;if(typeof e.endScope!="object"||e.endScope===null)throw Js("endScope must be object"),vp;s2(e,e.end,{key:"endScope"}),e.end=UE(e.end,{joinWith:""})}}function E7(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function A7(e){E7(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),g7(e),_7(e)}function b7(e){function t(o,s){return new RegExp(bd(o),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=QN(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(UE(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,f)=>f>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function a(o){const s=new r;return o.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function i(o,s){const l=o;if(o.isCompiled)return l;[o7,c7,A7,d7].forEach(u=>u(o,s)),e.compilerExtensions.forEach(u=>u(o,s)),o.__beforeBegin=null,[s7,l7,u7].forEach(u=>u(o,s)),o.isCompiled=!0;let c=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),c=o.keywords.$pattern,delete o.keywords.$pattern),c=c||/\w+/,o.keywords&&(o.keywords=a2(o.keywords,e.case_insensitive)),l.keywordPatternRe=t(c,!0),s&&(o.begin||(o.begin=/\B|\b/),l.beginRe=t(l.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(l.endRe=t(l.end)),l.terminatorEnd=bd(l.end)||"",o.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(l.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(u){return T7(u==="self"?o:u)})),o.contains.forEach(function(u){i(u,l)}),o.starts&&i(o.starts,s),l.matcher=a(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Wo(e.classNameAliases||{}),i(e)}function l2(e){return e?e.endsWithParent||l2(e.starts):!1}function T7(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Wo(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:l2(e)?Wo(e,{starts:e.starts?Wo(e.starts):null}):Object.isFrozen(e)?Wo(e):e}var y7="11.10.0";class S7 extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const GE=KN,c2=Wo,u2=Symbol("nomatch"),v7=7,d2=function(e){const t=Object.create(null),n=Object.create(null),r=[];let a=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:$B};function l(O){return s.noHighlightRe.test(O)}function c(O){let v=O.className+" ";v+=O.parentNode?O.parentNode.className:"";const L=s.languageDetectRe.exec(v);if(L){const k=N(L[1]);return k||(o2(i.replace("{}",L[1])),o2("Falling back to no-highlight mode for this block.",O)),k?L[1]:"no-highlight"}return v.split(/\s+/).find(k=>l(k)||N(k))}function u(O,v,L){let k="",B="";typeof v=="object"?(k=O,L=v.ignoreIllegals,B=v.language):(hc("10.7.0","highlight(lang, code, ...args) has been deprecated."),hc("10.7.0",`Please use highlight(code, options) instead.
-https://github.com/highlightjs/highlight.js/issues/2277`),B=O,k=v),L===void 0&&(L=!0);const re={code:k,language:B};P("before:highlight",re);const ue=re.result?re.result:d(re.language,re.code,L);return ue.code=re.code,P("after:highlight",ue),ue}function d(O,v,L,k){const B=Object.create(null);function re(Q,le){return Q.keywords[le]}function ue(){if(!z.keywords){C.addText(x);return}let Q=0;z.keywordPatternRe.lastIndex=0;let le=z.keywordPatternRe.exec(x),he="";for(;le;){he+=x.substring(Q,le.index);const Ne=ee.case_insensitive?le[0].toLowerCase():le[0],Ye=re(z,Ne);if(Ye){const[Ke,Xt]=Ye;if(C.addText(he),he="",B[Ne]=(B[Ne]||0)+1,B[Ne]<=v7&&($+=Xt),Ke.startsWith("_"))he+=le[0];else{const fn=ee.classNameAliases[Ke]||Ke;Oe(le[0],fn)}}else he+=le[0];Q=z.keywordPatternRe.lastIndex,le=z.keywordPatternRe.exec(x)}he+=x.substring(Q),C.addText(he)}function _e(){if(x==="")return;let Q=null;if(typeof z.subLanguage=="string"){if(!t[z.subLanguage]){C.addText(x);return}Q=d(z.subLanguage,x,!0,R[z.subLanguage]),R[z.subLanguage]=Q._top}else Q=h(x,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&($+=Q.relevance),C.__addSublanguage(Q._emitter,Q.language)}function me(){z.subLanguage!=null?_e():ue(),x=""}function Oe(Q,le){Q!==""&&(C.startScope(le),C.addText(Q),C.endScope())}function Te(Q,le){let he=1;const Ne=le.length-1;for(;he<=Ne;){if(!Q._emit[he]){he++;continue}const Ye=ee.classNameAliases[Q[he]]||Q[he],Ke=le[he];Ye?Oe(Ke,Ye):(x=Ke,ue(),x=""),he++}}function be(Q,le){return Q.scope&&typeof Q.scope=="string"&&C.openNode(ee.classNameAliases[Q.scope]||Q.scope),Q.beginScope&&(Q.beginScope._wrap?(Oe(x,ee.classNameAliases[Q.beginScope._wrap]||Q.beginScope._wrap),x=""):Q.beginScope._multi&&(Te(Q.beginScope,le),x="")),z=Object.create(Q,{parent:{value:z}}),z}function xe(Q,le,he){let Ne=GB(Q.endRe,he);if(Ne){if(Q["on:end"]){const Ye=new YN(Q);Q["on:end"](le,Ye),Ye.isMatchIgnored&&(Ne=!1)}if(Ne){for(;Q.endsParent&&Q.parent;)Q=Q.parent;return Q}}if(Q.endsWithParent)return xe(Q.parent,le,he)}function Re(Q){return z.matcher.regexIndex===0?(x+=Q[0],1):(q=!0,0)}function qe(Q){const le=Q[0],he=Q.rule,Ne=new YN(he),Ye=[he.__beforeBegin,he["on:begin"]];for(const Ke of Ye)if(Ke&&(Ke(Q,Ne),Ne.isMatchIgnored))return Re(le);return he.skip?x+=le:(he.excludeBegin&&(x+=le),me(),!he.returnBegin&&!he.excludeBegin&&(x=le)),be(he,Q),he.returnBegin?0:le.length}function We(Q){const le=Q[0],he=v.substring(Q.index),Ne=xe(z,Q,he);if(!Ne)return u2;const Ye=z;z.endScope&&z.endScope._wrap?(me(),Oe(le,z.endScope._wrap)):z.endScope&&z.endScope._multi?(me(),Te(z.endScope,Q)):Ye.skip?x+=le:(Ye.returnEnd||Ye.excludeEnd||(x+=le),me(),Ye.excludeEnd&&(x=le));do z.scope&&C.closeNode(),!z.skip&&!z.subLanguage&&($+=z.relevance),z=z.parent;while(z!==Ne.parent);return Ne.starts&&be(Ne.starts,Q),Ye.returnEnd?0:le.length}function J(){const Q=[];for(let le=z;le!==ee;le=le.parent)le.scope&&Q.unshift(le.scope);Q.forEach(le=>C.openNode(le))}let H={};function Z(Q,le){const he=le&&le[0];if(x+=Q,he==null)return me(),0;if(H.type==="begin"&&le.type==="end"&&H.index===le.index&&he===""){if(x+=v.slice(le.index,le.index+1),!a){const Ne=new Error(`0 width match regex (${O})`);throw Ne.languageName=O,Ne.badRule=H.rule,Ne}return 1}if(H=le,le.type==="begin")return qe(le);if(le.type==="illegal"&&!L){const Ne=new Error('Illegal lexeme "'+he+'" for mode "'+(z.scope||"")+'"');throw Ne.mode=z,Ne}else if(le.type==="end"){const Ne=We(le);if(Ne!==u2)return Ne}if(le.type==="illegal"&&he==="")return 1;if(ne>1e5&&ne>le.index*3)throw new Error("potential infinite loop, way more iterations than matches");return x+=he,he.length}const ee=N(O);if(!ee)throw Js(i.replace("{}",O)),new Error('Unknown language: "'+O+'"');const G=b7(ee);let U="",z=k||G;const R={},C=new s.__emitter(s);J();let x="",$=0,K=0,ne=0,q=!1;try{if(ee.__emitTokens)ee.__emitTokens(v,C);else{for(z.matcher.considerAll();;){ne++,q?q=!1:z.matcher.considerAll(),z.matcher.lastIndex=K;const Q=z.matcher.exec(v);if(!Q)break;const le=v.substring(K,Q.index),he=Z(le,Q);K=Q.index+he}Z(v.substring(K))}return C.finalize(),U=C.toHTML(),{language:O,value:U,relevance:$,illegal:!1,_emitter:C,_top:z}}catch(Q){if(Q.message&&Q.message.includes("Illegal"))return{language:O,value:GE(v),illegal:!0,relevance:0,_illegalBy:{message:Q.message,index:K,context:v.slice(K-100,K+100),mode:Q.mode,resultSoFar:U},_emitter:C};if(a)return{language:O,value:GE(v),illegal:!1,relevance:0,errorRaised:Q,_emitter:C,_top:z};throw Q}}function f(O){const v={value:GE(O),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return v._emitter.addText(O),v}function h(O,v){v=v||s.languages||Object.keys(t);const L=f(O),k=v.filter(N).filter(j).map(me=>d(me,O,!1));k.unshift(L);const B=k.sort((me,Oe)=>{if(me.relevance!==Oe.relevance)return Oe.relevance-me.relevance;if(me.language&&Oe.language){if(N(me.language).supersetOf===Oe.language)return 1;if(N(Oe.language).supersetOf===me.language)return-1}return 0}),[re,ue]=B,_e=re;return _e.secondBest=ue,_e}function p(O,v,L){const k=v&&n[v]||L;O.classList.add("hljs"),O.classList.add(`language-${k}`)}function m(O){let v=null;const L=c(O);if(l(L))return;if(P("before:highlightElement",{el:O,language:L}),O.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",O);return}if(O.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(O)),s.throwUnescapedHTML))throw new S7("One of your code blocks includes unescaped HTML.",O.innerHTML);v=O;const k=v.textContent,B=L?u(k,{language:L,ignoreIllegals:!0}):h(k);O.innerHTML=B.value,O.dataset.highlighted="yes",p(O,L,B.language),O.result={language:B.language,re:B.relevance,relevance:B.relevance},B.secondBest&&(O.secondBest={language:B.secondBest.language,relevance:B.secondBest.relevance}),P("after:highlightElement",{el:O,result:B,text:k})}function A(O){s=c2(s,O)}const _=()=>{b(),hc("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function T(){b(),hc("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let g=!1;function b(){if(document.readyState==="loading"){g=!0;return}document.querySelectorAll(s.cssSelector).forEach(m)}function S(){g&&b()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",S,!1);function y(O,v){let L=null;try{L=v(e)}catch(k){if(Js("Language definition for '{}' could not be registered.".replace("{}",O)),a)Js(k);else throw k;L=o}L.name||(L.name=O),t[O]=L,L.rawDefinition=v.bind(null,e),L.aliases&&D(L.aliases,{languageName:O})}function w(O){delete t[O];for(const v of Object.keys(n))n[v]===O&&delete n[v]}function M(){return Object.keys(t)}function N(O){return O=(O||"").toLowerCase(),t[O]||t[n[O]]}function D(O,{languageName:v}){typeof O=="string"&&(O=[O]),O.forEach(L=>{n[L.toLowerCase()]=v})}function j(O){const v=N(O);return v&&!v.disableAutodetect}function F(O){O["before:highlightBlock"]&&!O["before:highlightElement"]&&(O["before:highlightElement"]=v=>{O["before:highlightBlock"](Object.assign({block:v.el},v))}),O["after:highlightBlock"]&&!O["after:highlightElement"]&&(O["after:highlightElement"]=v=>{O["after:highlightBlock"](Object.assign({block:v.el},v))})}function X(O){F(O),r.push(O)}function Y(O){const v=r.indexOf(O);v!==-1&&r.splice(v,1)}function P(O,v){const L=O;r.forEach(function(k){k[L]&&k[L](v)})}function I(O){return hc("10.7.0","highlightBlock will be removed entirely in v12.0"),hc("10.7.0","Please use highlightElement now."),m(O)}Object.assign(e,{highlight:u,highlightAuto:h,highlightAll:b,highlightElement:m,highlightBlock:I,configure:A,initHighlighting:_,initHighlightingOnLoad:T,registerLanguage:y,unregisterLanguage:w,listLanguages:M,getLanguage:N,registerAliases:D,autoDetection:j,inherit:c2,addPlugin:X,removePlugin:Y}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=y7,e.regex={concat:Zs,lookahead:JN,either:FE,optional:UB,anyNumberOfTimes:FB};for(const O in Sp)typeof Sp[O]=="object"&&qN(Sp[O]);return Object.assign(e,Sp),e},pc=d2({});pc.newInstance=()=>d2({});var C7=pc;pc.HighlightJS=pc,pc.default=pc;var jE,f2;function I7(){if(f2)return jE;f2=1;function e(t){const n=t.regex,r=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=t.inherit(o,{begin:/\(/,end:/\)/}),l=t.inherit(t.APOS_STRING_MODE,{className:"string"}),c=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),u={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:a,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,c,l,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,s,c,l]}]}]},t.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/