@nuxtjs/sitemap 5.0.0 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ function ur(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ke={},ln=[],Ye=()=>{},cu=()=>!1,Jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),fr=e=>e.startsWith("onUpdate:"),Oe=Object.assign,dr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uu=Object.prototype.hasOwnProperty,pe=(e,t)=>uu.call(e,t),ne=Array.isArray,cn=e=>Xn(e)==="[object Map]",xa=e=>Xn(e)==="[object Set]",Xr=e=>Xn(e)==="[object Date]",se=e=>typeof e=="function",Le=e=>typeof e=="string",It=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",pr=e=>(we(e)||se(e))&&se(e.then)&&se(e.catch),ka=Object.prototype.toString,Xn=e=>ka.call(e),fu=e=>Xn(e).slice(8,-1),Sa=e=>Xn(e)==="[object Object]",hr=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=ur(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},du=/-(\w)/g,dt=Gs(e=>e.replace(du,(t,n)=>n?n.toUpperCase():"")),pu=/\B([A-Z])/g,Zt=Gs(e=>e.replace(pu,"-$1").toLowerCase()),Ws=Gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),uo=Gs(e=>e?`on${Ws(e)}`:""),Mt=(e,t)=>!Object.is(e,t),ps=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},bs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},hu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},mu=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let Qr;const Na=()=>Qr||(Qr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Le(s)?bu(s):zt(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Le(e)||we(e))return e}const gu=/;(?![^(]*\))/g,yu=/:([^]+)/,_u=/\/\*[^]*?\*\//g;function bu(e){const t={};return e.replace(_u,"").split(gu).forEach(n=>{if(n){const s=n.split(yu);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ae(e){let t="";if(Le(e))t=e;else if(ne(e))for(let n=0;n<e.length;n++){const s=Ae(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ta(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=Ae(t)),n&&(e.style=zt(n)),e}const vu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wu=ur(vu);function La(e){return!!e||e===""}function xu(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=vs(e[s],t[s]);return n}function vs(e,t){if(e===t)return!0;let n=Xr(e),s=Xr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=It(e),s=It(t),n||s)return e===t;if(n=ne(e),s=ne(t),n||s)return n&&s?xu(e,t):!1;if(n=we(e),s=we(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!vs(e[i],t[i]))return!1}}return String(e)===String(t)}const Me=e=>Le(e)?e:e==null?"":ne(e)||we(e)&&(e.toString===ka||!se(e.toString))?JSON.stringify(e,Pa,2):String(e),Pa=(e,t)=>t&&t.__v_isRef?Pa(e,t.value):cn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[fo(s,o)+" =>"]=r,n),{})}:xa(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fo(n))}:It(t)?fo(t):we(t)&&!ne(t)&&!Sa(t)?String(t):t,fo=(e,t="")=>{var n;return It(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ke;class Aa{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){Ke=this}off(){Ke=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function ku(e){return new Aa(e)}function Su(e,t=Ke){t&&t.active&&t.effects.push(e)}function Ra(){return Ke}function Nu(e){Ke&&Ke.cleanups.push(e)}let Kt;class mr{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,Su(this,r)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,en();for(const t of this.deps)if(t.computed&&(Tu(t.computed),this._dirtyLevel>=2))break;tn(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ct,n=Kt;try{return Ct=!0,Kt=this,this._runnings++,Yr(this),this.fn()}finally{Zr(this),this._runnings--,Kt=n,Ct=t}}stop(){var t;this.active&&(Yr(this),Zr(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Tu(e){return e.value}function Yr(e){e._trackId++,e._depsLength=0}function Zr(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ca(e.deps[t],e);e.deps.length=e._depsLength}}function Ca(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Ct=!0,Co=0;const $a=[];function en(){$a.push(Ct),Ct=!1}function tn(){const e=$a.pop();Ct=e===void 0?!0:e}function gr(){Co++}function yr(){for(Co--;!Co&&$o.length;)$o.shift()()}function Ea(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Ca(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const $o=[];function ja(e,t,n){gr();for(const s of e.keys())if(!(!s.allowRecurse&&s._runnings)&&s._dirtyLevel<t&&(!s._runnings||t!==2)){const r=s._dirtyLevel;s._dirtyLevel=t,r===0&&(!s._queryings||t!==2)&&(s.trigger(),s.scheduler&&$o.push(s.scheduler))}yr()}const Oa=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ws=new WeakMap,Jt=Symbol(""),Eo=Symbol("");function We(e,t,n){if(Ct&&Kt){let s=ws.get(e);s||ws.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Oa(()=>s.delete(n))),Ea(Kt,r)}}function bt(e,t,n,s,r,o){const i=ws.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ne(e)){const c=Number(s);i.forEach((l,d)=>{(d==="length"||!It(d)&&d>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ne(e)?hr(n)&&a.push(i.get("length")):(a.push(i.get(Jt)),cn(e)&&a.push(i.get(Eo)));break;case"delete":ne(e)||(a.push(i.get(Jt)),cn(e)&&a.push(i.get(Eo)));break;case"set":cn(e)&&a.push(i.get(Jt));break}gr();for(const c of a)c&&ja(c,3);yr()}function Lu(e,t){var n;return(n=ws.get(e))==null?void 0:n.get(t)}const Pu=ur("__proto__,__v_isRef,__isVue"),Ia=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It)),ei=Au();function Au(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=he(this);for(let o=0,i=this.length;o<i;o++)We(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(he)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){en(),gr();const s=he(this)[t].apply(this,n);return yr(),tn(),s}}),e}function Ru(e){const t=he(this);return We(t,"has",e),t.hasOwnProperty(e)}class Ma{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Gu:Fa:o?Da:Ha).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ne(t);if(!r){if(i&&pe(ei,n))return Reflect.get(ei,n,s);if(n==="hasOwnProperty")return Ru}const a=Reflect.get(t,n,s);return(It(n)?Ia.has(n):Pu(n))||(r||We(t,"get",n),o)?a:Ee(a)?i&&hr(n)?a:a.value:we(a)?r?vr(a):pt(a):a}}class Ba extends Ma{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._shallow){const c=Xt(o);if(!xs(s)&&!Xt(s)&&(o=he(o),s=he(s)),!ne(t)&&Ee(o)&&!Ee(s))return c?!1:(o.value=s,!0)}const i=ne(t)&&hr(n)?Number(n)<t.length:pe(t,n),a=Reflect.set(t,n,s,r);return t===he(r)&&(i?Mt(s,o)&&bt(t,"set",n,s):bt(t,"add",n,s)),a}deleteProperty(t,n){const s=pe(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&bt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!It(n)||!Ia.has(n))&&We(t,"has",n),s}ownKeys(t){return We(t,"iterate",ne(t)?"length":Jt),Reflect.ownKeys(t)}}class Cu extends Ma{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const $u=new Ba,Eu=new Cu,ju=new Ba(!0),_r=e=>e,Vs=e=>Reflect.getPrototypeOf(e);function Zn(e,t,n=!1,s=!1){e=e.__v_raw;const r=he(e),o=he(t);n||(Mt(t,o)&&We(r,"get",t),We(r,"get",o));const{has:i}=Vs(r),a=s?_r:n?xr:Mn;if(i.call(r,t))return a(e.get(t));if(i.call(r,o))return a(e.get(o));e!==r&&e.get(t)}function es(e,t=!1){const n=this.__v_raw,s=he(n),r=he(e);return t||(Mt(e,r)&&We(s,"has",e),We(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function ts(e,t=!1){return e=e.__v_raw,!t&&We(he(e),"iterate",Jt),Reflect.get(e,"size",e)}function ti(e){e=he(e);const t=he(this);return Vs(t).has.call(t,e)||(t.add(e),bt(t,"add",e,e)),this}function ni(e,t){t=he(t);const n=he(this),{has:s,get:r}=Vs(n);let o=s.call(n,e);o||(e=he(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Mt(t,i)&&bt(n,"set",e,t):bt(n,"add",e,t),this}function si(e){const t=he(this),{has:n,get:s}=Vs(t);let r=n.call(t,e);r||(e=he(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&bt(t,"delete",e,void 0),o}function oi(){const e=he(this),t=e.size!==0,n=e.clear();return t&&bt(e,"clear",void 0,void 0),n}function ns(e,t){return function(s,r){const o=this,i=o.__v_raw,a=he(i),c=t?_r:e?xr:Mn;return!e&&We(a,"iterate",Jt),i.forEach((l,d)=>s.call(r,c(l),c(d),o))}}function ss(e,t,n){return function(...s){const r=this.__v_raw,o=he(r),i=cn(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=r[e](...s),d=n?_r:t?xr:Mn;return!t&&We(o,"iterate",c?Eo:Jt),{next(){const{value:u,done:p}=l.next();return p?{value:u,done:p}:{value:a?[d(u[0]),d(u[1])]:d(u),done:p}},[Symbol.iterator](){return this}}}}function xt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ou(){const e={get(o){return Zn(this,o)},get size(){return ts(this)},has:es,add:ti,set:ni,delete:si,clear:oi,forEach:ns(!1,!1)},t={get(o){return Zn(this,o,!1,!0)},get size(){return ts(this)},has:es,add:ti,set:ni,delete:si,clear:oi,forEach:ns(!1,!0)},n={get(o){return Zn(this,o,!0)},get size(){return ts(this,!0)},has(o){return es.call(this,o,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:ns(!0,!1)},s={get(o){return Zn(this,o,!0,!0)},get size(){return ts(this,!0)},has(o){return es.call(this,o,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:ns(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ss(o,!1,!1),n[o]=ss(o,!0,!1),t[o]=ss(o,!1,!0),s[o]=ss(o,!0,!0)}),[e,n,t,s]}const[Iu,Mu,Bu,Hu]=Ou();function br(e,t){const n=t?e?Hu:Bu:e?Mu:Iu;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(pe(n,r)&&r in s?n:s,r,o)}const Du={get:br(!1,!1)},Fu={get:br(!1,!0)},Uu={get:br(!0,!1)},Ha=new WeakMap,Da=new WeakMap,Fa=new WeakMap,Gu=new WeakMap;function Wu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vu(e){return e.__v_skip||!Object.isExtensible(e)?0:Wu(fu(e))}function pt(e){return Xt(e)?e:wr(e,!1,$u,Du,Ha)}function Ua(e){return wr(e,!1,ju,Fu,Da)}function vr(e){return wr(e,!0,Eu,Uu,Fa)}function wr(e,t,n,s,r){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Vu(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function un(e){return Xt(e)?un(e.__v_raw):!!(e&&e.__v_isReactive)}function Xt(e){return!!(e&&e.__v_isReadonly)}function xs(e){return!!(e&&e.__v_isShallow)}function Ga(e){return un(e)||Xt(e)}function he(e){const t=e&&e.__v_raw;return t?he(t):e}function Wa(e){return bs(e,"__v_skip",!0),e}const Mn=e=>we(e)?pt(e):e,xr=e=>we(e)?vr(e):e;class Va{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new mr(()=>t(this._value),()=>jo(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=he(this);return qa(t),(!t._cacheable||t.effect.dirty)&&Mt(t._value,t._value=t.effect.run())&&jo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function qu(e,t,n=!1){let s,r;const o=se(e);return o?(s=e,r=Ye):(s=e.get,r=e.set),new Va(s,r,o||!r,n)}function qa(e){Ct&&Kt&&(e=he(e),Ea(Kt,e.dep||(e.dep=Oa(()=>e.dep=void 0,e instanceof Va?e:void 0))))}function jo(e,t=3,n){e=he(e);const s=e.dep;s&&ja(s,t)}function Ee(e){return!!(e&&e.__v_isRef===!0)}function Te(e){return za(e,!1)}function Oo(e){return za(e,!0)}function za(e,t){return Ee(e)?e:new zu(e,t)}class zu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:he(t),this._value=n?t:Mn(t)}get value(){return qa(this),this._value}set value(t){const n=this.__v_isShallow||xs(t)||Xt(t);t=n?t:he(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Mn(t),jo(this,3))}}function ie(e){return Ee(e)?e.value:e}function Ku(e){return se(e)?e():ie(e)}const Ju={get:(e,t,n)=>ie(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ee(r)&&!Ee(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ka(e){return un(e)?e:new Proxy(e,Ju)}class Xu{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Lu(he(this._object),this._key)}}class Qu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ja(e,t,n){return Ee(e)?e:se(e)?new Qu(e):we(e)&&arguments.length>1?Yu(e,t,n):Te(e)}function Yu(e,t,n){const s=e[t];return Ee(s)?s:new Xu(e,t,n)}function $t(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){vn(o,t,n)}return r}function st(e,t,n,s){if(se(e)){const o=$t(e,t,n,s);return o&&pr(o)&&o.catch(i=>{vn(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(st(e[o],t,n,s));return r}function vn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=`https://vuejs.org/errors/#runtime-${n}`;for(;o;){const l=o.ec;if(l){for(let d=0;d<l.length;d++)if(l[d](e,i,a)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){$t(c,null,10,[e,i,a]);return}}Zu(e,n,r,s)}function Zu(e,t,n,s=!0){console.error(e)}let Bn=!1,Io=!1;const Be=[];let lt=0;const fn=[];let yt=null,Vt=0;const Xa=Promise.resolve();let kr=null;function nn(e){const t=kr||Xa;return e?t.then(this?e.bind(this):e):t}function ef(e){let t=lt+1,n=Be.length;for(;t<n;){const s=t+n>>>1,r=Be[s],o=Hn(r);o<e||o===e&&r.pre?t=s+1:n=s}return t}function qs(e){(!Be.length||!Be.includes(e,Bn&&e.allowRecurse?lt+1:lt))&&(e.id==null?Be.push(e):Be.splice(ef(e.id),0,e),Qa())}function Qa(){!Bn&&!Io&&(Io=!0,kr=Xa.then(Ya))}function tf(e){const t=Be.indexOf(e);t>lt&&Be.splice(t,1)}function Mo(e){ne(e)?fn.push(...e):(!yt||!yt.includes(e,e.allowRecurse?Vt+1:Vt))&&fn.push(e),Qa()}function ri(e,t,n=Bn?lt+1:0){for(;n<Be.length;n++){const s=Be[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;Be.splice(n,1),n--,s()}}}function ks(e){if(fn.length){const t=[...new Set(fn)];if(fn.length=0,yt){yt.push(...t);return}for(yt=t,yt.sort((n,s)=>Hn(n)-Hn(s)),Vt=0;Vt<yt.length;Vt++)yt[Vt]();yt=null,Vt=0}}const Hn=e=>e.id==null?1/0:e.id,nf=(e,t)=>{const n=Hn(e)-Hn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ya(e){Io=!1,Bn=!0,Be.sort(nf);try{for(lt=0;lt<Be.length;lt++){const t=Be[lt];t&&t.active!==!1&&$t(t,null,14)}}finally{lt=0,Be.length=0,ks(),Bn=!1,kr=null,(Be.length||fn.length)&&Ya()}}function sf(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ke;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:u,trim:p}=s[d]||ke;p&&(r=n.map(b=>Le(b)?b.trim():b)),u&&(r=n.map(hu))}let a,c=s[a=uo(t)]||s[a=uo(dt(t))];!c&&o&&(c=s[a=uo(Zt(t))]),c&&st(c,e,6,r);const l=s[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,st(l,e,6,r)}}function Za(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!se(e)){const c=l=>{const d=Za(l,t,!0);d&&(a=!0,Oe(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(we(e)&&s.set(e,null),null):(ne(o)?o.forEach(c=>i[c]=null):Oe(i,o),we(e)&&s.set(e,i),i)}function zs(e,t){return!e||!Jn(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Zt(t))||pe(e,t))}let $e=null,Ks=null;function Ss(e){const t=$e;return $e=e,Ks=e&&e.type.__scopeId||null,t}function el(e){Ks=e}function tl(){Ks=null}const of=e=>ae;function ae(e,t=$e,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&yi(-1);const o=Ss(t);let i;try{i=e(...r)}finally{Ss(o),s._d&&yi(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function po(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:d,renderCache:u,data:p,setupState:b,ctx:y,inheritAttrs:T}=e;let L,N;const k=Ss(e);try{if(n.shapeFlag&4){const v=r||s,_=v;L=Qe(d.call(_,v,u,o,b,p,y)),N=c}else{const v=t;L=Qe(v.length>1?v(o,{attrs:c,slots:a,emit:l}):v(o,null)),N=t.props?c:af(c)}}catch(v){Cn.length=0,vn(v,e,1),L=Y(rt)}let h=L;if(N&&T!==!1){const v=Object.keys(N),{shapeFlag:_}=h;v.length&&_&7&&(i&&v.some(fr)&&(N=lf(N,i)),h=bn(h,N))}return n.dirs&&(h=bn(h),h.dirs=h.dirs?h.dirs.concat(n.dirs):n.dirs),n.transition&&(h.transition=n.transition),L=h,Ss(k),L}function rf(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Un(s)){if(s.type!==rt||s.children==="v-if"){if(t)return;t=s}}else return}return t}const af=e=>{let t;for(const n in e)(n==="class"||n==="style"||Jn(n))&&((t||(t={}))[n]=e[n]);return t},lf=(e,t)=>{const n={};for(const s in e)(!fr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function cf(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?ii(s,i,l):!!i;if(c&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const p=d[u];if(i[p]!==s[p]&&!zs(l,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?ii(s,i,l):!0:!!i;return!1}function ii(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!zs(n,o))return!0}return!1}function Sr({vnode:e,parent:t},n){if(n)for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Nr="components";function Qt(e,t){return sl(Nr,e,!0,t)||e}const nl=Symbol.for("v-ndc");function uf(e){return Le(e)?sl(Nr,e,!1)||e:e||nl}function sl(e,t,n=!0,s=!1){const r=$e||Re;if(r){const o=r.type;if(e===Nr){const a=ad(o,!1);if(a&&(a===t||a===dt(t)||a===Ws(dt(t))))return o}const i=ai(r[e]||o[e],t)||ai(r.appContext[e],t);return!i&&s?o:i}}function ai(e,t){return e&&(e[t]||e[dt(t)]||e[Ws(dt(t))])}const ff=e=>e.__isSuspense;let Bo=0;const df={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,a,c,l){e==null?hf(t,n,s,r,o,i,a,c,l):mf(e,t,n,s,r,i,a,c,l)},hydrate:gf,create:Tr,normalize:yf},pf=df;function Dn(e,t){const n=e.props&&e.props[t];se(n)&&n()}function hf(e,t,n,s,r,o,i,a,c){const{p:l,o:{createElement:d}}=c,u=d("div"),p=e.suspense=Tr(e,r,s,t,u,n,o,i,a,c);l(null,p.pendingBranch=e.ssContent,u,null,s,p,o,i),p.deps>0?(Dn(e,"onPending"),Dn(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,o,i),dn(p,e.ssFallback)):p.resolve(!1,!0)}function mf(e,t,n,s,r,o,i,a,{p:c,um:l,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const p=t.ssContent,b=t.ssFallback,{activeBranch:y,pendingBranch:T,isInFallback:L,isHydrating:N}=u;if(T)u.pendingBranch=p,At(p,T)?(c(T,p,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0?u.resolve():L&&(N||(c(y,b,n,s,r,null,o,i,a),dn(u,b)))):(u.pendingId=Bo++,N?(u.isHydrating=!1,u.activeBranch=T):l(T,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),L?(c(null,p,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0?u.resolve():(c(y,b,n,s,r,null,o,i,a),dn(u,b))):y&&At(p,y)?(c(y,p,n,s,r,u,o,i,a),u.resolve(!0)):(c(null,p,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0&&u.resolve()));else if(y&&At(p,y))c(y,p,n,s,r,u,o,i,a),dn(u,p);else if(Dn(t,"onPending"),u.pendingBranch=p,p.shapeFlag&512?u.pendingId=p.component.suspenseId:u.pendingId=Bo++,c(null,p,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:k,pendingId:h}=u;k>0?setTimeout(()=>{u.pendingId===h&&u.fallback(b)},k):k===0&&u.fallback(b)}}function Tr(e,t,n,s,r,o,i,a,c,l,d=!1){const{p:u,m:p,um:b,n:y,o:{parentNode:T,remove:L}}=l;let N;const k=_f(e);k&&t!=null&&t.pendingBranch&&(N=t.pendingId,t.deps++);const h=e.props?mu(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:r,anchor:o,deps:0,pendingId:Bo++,timeout:typeof h=="number"?h:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(_=!1,f=!1){const{vnode:g,activeBranch:w,pendingBranch:m,pendingId:x,effects:S,parentComponent:P,container:C}=v;let O=!1;if(v.isHydrating)v.isHydrating=!1;else if(!_){O=w&&m.transition&&m.transition.mode==="out-in",O&&(w.transition.afterLeave=()=>{x===v.pendingId&&(p(m,C,y(w),0),Mo(S))});let{anchor:K}=v;w&&(K=y(w),b(w,P,v,!0)),O||p(m,C,K,0)}dn(v,m),v.pendingBranch=null,v.isInFallback=!1;let H=v.parent,j=!1;for(;H;){if(H.pendingBranch){H.effects.push(...S),j=!0;break}H=H.parent}!j&&!O&&Mo(S),v.effects=[],k&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!f&&t.resolve()),Dn(g,"onResolve")},fallback(_){if(!v.pendingBranch)return;const{vnode:f,activeBranch:g,parentComponent:w,container:m,namespace:x}=v;Dn(f,"onFallback");const S=y(g),P=()=>{v.isInFallback&&(u(null,_,m,S,w,null,x,a,c),dn(v,_))},C=_.transition&&_.transition.mode==="out-in";C&&(g.transition.afterLeave=P),v.isInFallback=!0,b(g,w,null,!0),C||P()},move(_,f,g){v.activeBranch&&p(v.activeBranch,_,f,g),v.container=_},next(){return v.activeBranch&&y(v.activeBranch)},registerDep(_,f){const g=!!v.pendingBranch;g&&v.deps++;const w=_.vnode.el;_.asyncDep.catch(m=>{vn(m,_,0)}).then(m=>{if(_.isUnmounted||v.isUnmounted||v.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:x}=_;Wo(_,m,!1),w&&(x.el=w);const S=!w&&_.subTree.el;f(_,x,T(w||_.subTree.el),w?null:y(_.subTree),v,i,c),S&&L(S),Sr(_,x.el),g&&--v.deps===0&&v.resolve()})},unmount(_,f){v.isUnmounted=!0,v.activeBranch&&b(v.activeBranch,n,_,f),v.pendingBranch&&b(v.pendingBranch,n,_,f)}};return v}function gf(e,t,n,s,r,o,i,a,c){const l=t.suspense=Tr(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,a,!0),d=c(e,l.pendingBranch=t.ssContent,n,l,o,i);return l.deps===0&&l.resolve(!1,!0),d}function yf(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=li(s?n.default:n),e.ssFallback=s?li(n.fallback):Y(rt)}function li(e){let t;if(se(e)){const n=_n&&e._c;n&&(e._d=!1,X()),e=e(),n&&(e._d=!0,t=Ze,Nl())}return ne(e)&&(e=rf(e)),e=Qe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ol(e,t){t&&t.pendingBranch?ne(e)?t.effects.push(...e):t.effects.push(e):Mo(e)}function dn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,Sr(s,r))}function _f(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const bf=Symbol.for("v-scx"),vf=()=>hn(bf);function rl(e,t){return Js(e,null,t)}function wf(e,t){return Js(e,null,{flush:"post"})}const os={};function ct(e,t,n){return Js(e,t,n)}function Js(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:a}=ke){if(t&&o){const f=t;t=(...g)=>{f(...g),_()}}const c=Re,l=f=>s===!0?f:qt(f,s===!1?1:void 0);let d,u=!1,p=!1;if(Ee(e)?(d=()=>e.value,u=xs(e)):un(e)?(d=()=>l(e),u=!0):ne(e)?(p=!0,u=e.some(f=>un(f)||xs(f)),d=()=>e.map(f=>{if(Ee(f))return f.value;if(un(f))return l(f);if(se(f))return $t(f,c,2)})):se(e)?t?d=()=>$t(e,c,2):d=()=>(b&&b(),st(e,c,3,[y])):d=Ye,t&&s){const f=d;d=()=>qt(f())}let b,y=f=>{b=h.onStop=()=>{$t(f,c,4),b=h.onStop=void 0}},T;if(Qn)if(y=Ye,t?n&&st(t,c,3,[d(),p?[]:void 0,y]):d(),r==="sync"){const f=vf();T=f.__watcherHandles||(f.__watcherHandles=[])}else return Ye;let L=p?new Array(e.length).fill(os):os;const N=()=>{if(!(!h.active||!h.dirty))if(t){const f=h.run();(s||u||(p?f.some((g,w)=>Mt(g,L[w])):Mt(f,L)))&&(b&&b(),st(t,c,3,[f,L===os?void 0:p&&L[0]===os?[]:L,y]),L=f)}else h.run()};N.allowRecurse=!!t;let k;r==="sync"?k=N:r==="post"?k=()=>Fe(N,c&&c.suspense):(N.pre=!0,c&&(N.id=c.uid),k=()=>qs(N));const h=new mr(d,Ye,k),v=Ra(),_=()=>{h.stop(),v&&dr(v.effects,h)};return t?n?N():L=h.run():r==="post"?Fe(h.run.bind(h),c&&c.suspense):h.run(),T&&T.push(_),_}function xf(e,t,n){const s=this.proxy,r=Le(e)?e.includes(".")?il(s,e):()=>s[e]:e.bind(s,s);let o;se(t)?o=t:(o=t.handler,n=t);const i=Re;Bt(this);const a=Js(r,o.bind(s),n);return i?Bt(i):Et(),a}function il(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function qt(e,t,n=0,s){if(!we(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),Ee(e))qt(e.value,t,n,s);else if(ne(e))for(let r=0;r<e.length;r++)qt(e[r],t,n,s);else if(xa(e)||cn(e))e.forEach(r=>{qt(r,t,n,s)});else if(Sa(e))for(const r in e)qt(e[r],t,n,s);return e}function kf(e,t){const n=$e;if(n===null)return e;const s=eo(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,c,l=ke]=t[o];i&&(se(i)&&(i={mounted:i,updated:i}),i.deep&&qt(a),r.push({dir:i,instance:s,value:a,oldValue:void 0,arg:c,modifiers:l}))}return e}function at(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let c=a.dir[s];c&&(en(),st(c,n,8,[e.el,a,e,t]),tn())}}/*! #__NO_SIDE_EFFECTS__ */function Ve(e,t){return se(e)?Oe({name:e.name},t,{setup:e}):e}const pn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ns(e){se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:a}=e;let c=null,l,d=0;const u=()=>(d++,c=null,p()),p=()=>{let b;return c||(b=c=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((T,L)=>{a(y,()=>T(u()),()=>L(y),d+1)});throw y}).then(y=>b!==c&&c?c:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),l=y,y)))};return Ve({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return l},setup(){const b=Re;if(l)return()=>ho(l,b);const y=k=>{c=null,vn(k,b,13,!s)};if(i&&b.suspense||Qn)return p().then(k=>()=>ho(k,b)).catch(k=>(y(k),()=>s?Y(s,{error:k}):null));const T=Te(!1),L=Te(),N=Te(!!r);return r&&setTimeout(()=>{N.value=!1},r),o!=null&&setTimeout(()=>{if(!T.value&&!L.value){const k=new Error(`Async component timed out after ${o}ms.`);y(k),L.value=k}},o),p().then(()=>{T.value=!0,b.parent&&Lr(b.parent.vnode)&&(b.parent.effect.dirty=!0,qs(b.parent.update))}).catch(k=>{y(k),L.value=k}),()=>{if(T.value&&l)return ho(l,b);if(L.value&&s)return Y(s,{error:L.value});if(n&&!N.value)return Y(n)}}})}function ho(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=Y(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Lr=e=>e.type.__isKeepAlive;function al(e,t){cl(e,"a",t)}function ll(e,t){cl(e,"da",t)}function cl(e,t,n=Re){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Lr(r.parent.vnode)&&Sf(s,t,n,r),r=r.parent}}function Sf(e,t,n,s){const r=Xs(t,e,s,!0);Ar(()=>{dr(s[t],r)},n)}function Xs(e,t,n=Re,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;en(),Bt(n);const a=st(t,n,e,i);return Et(),tn(),a});return s?r.unshift(o):r.push(o),o}}const wt=e=>(t,n=Re)=>(!Qn||e==="sp")&&Xs(e,(...s)=>t(...s),n),Nf=wt("bm"),Qs=wt("m"),Tf=wt("bu"),Lf=wt("u"),Pr=wt("bum"),Ar=wt("um"),Pf=wt("sp"),Af=wt("rtg"),Rf=wt("rtc");function ul(e,t=Re){Xs("ec",e,t)}function an(e,t,n,s){let r;const o=n&&n[s];if(ne(e)||Le(e)){r=new Array(e.length);for(let i=0,a=e.length;i<a;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(we(e))if(e[Symbol.iterator])r=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,c=i.length;a<c;a++){const l=i[a];r[a]=t(e[l],l,a,o&&o[a])}}else r=[];return n&&(n[s]=r),r}function Ge(e,t,n={},s,r){if($e.isCE||$e.parent&&pn($e.parent)&&$e.parent.isCE)return t!=="default"&&(n.name=t),Y("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),X();const i=o&&fl(o(n)),a=Ne(Se,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function fl(e){return e.some(t=>Un(t)?!(t.type===rt||t.type===Se&&!fl(t.children)):!0)?e:null}const Ho=e=>e?Pl(e)?eo(e)||e.proxy:Ho(e.parent):null,Rn=Oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ho(e.parent),$root:e=>Ho(e.root),$emit:e=>e.emit,$options:e=>Rr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qs(e.update)}),$nextTick:e=>e.n||(e.n=nn.bind(e.proxy)),$watch:e=>xf.bind(e)}),mo=(e,t)=>e!==ke&&!e.__isScriptSetup&&pe(e,t),Cf={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(mo(s,t))return i[t]=1,s[t];if(r!==ke&&pe(r,t))return i[t]=2,r[t];if((l=e.propsOptions[0])&&pe(l,t))return i[t]=3,o[t];if(n!==ke&&pe(n,t))return i[t]=4,n[t];Do&&(i[t]=0)}}const d=Rn[t];let u,p;if(d)return t==="$attrs"&&We(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==ke&&pe(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,pe(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return mo(r,t)?(r[t]=n,!0):s!==ke&&pe(s,t)?(s[t]=n,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==ke&&pe(e,i)||mo(t,i)||(a=o[0])&&pe(a,i)||pe(s,i)||pe(Rn,i)||pe(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ci(e){return ne(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function $f(e){const t=wn();let n=e();return Et(),pr(n)&&(n=n.catch(s=>{throw Bt(t),s})),[n,()=>Bt(t)]}let Do=!0;function Ef(e){const t=Rr(e),n=e.proxy,s=e.ctx;Do=!1,t.beforeCreate&&ui(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:c,inject:l,created:d,beforeMount:u,mounted:p,beforeUpdate:b,updated:y,activated:T,deactivated:L,beforeDestroy:N,beforeUnmount:k,destroyed:h,unmounted:v,render:_,renderTracked:f,renderTriggered:g,errorCaptured:w,serverPrefetch:m,expose:x,inheritAttrs:S,components:P,directives:C,filters:O}=t;if(l&&jf(l,s,null),i)for(const K in i){const q=i[K];se(q)&&(s[K]=q.bind(n))}if(r){const K=r.call(n,n);we(K)&&(e.data=pt(K))}if(Do=!0,o)for(const K in o){const q=o[K],oe=se(q)?q.bind(n,n):se(q.get)?q.get.bind(n,n):Ye,be=!se(q)&&se(q.set)?q.set.bind(n):Ye,me=Je({get:oe,set:be});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>me.value,set:le=>me.value=le})}if(a)for(const K in a)dl(a[K],s,n,K);if(c){const K=se(c)?c.call(n):c;Reflect.ownKeys(K).forEach(q=>{hl(q,K[q])})}d&&ui(d,e,"c");function j(K,q){ne(q)?q.forEach(oe=>K(oe.bind(n))):q&&K(q.bind(n))}if(j(Nf,u),j(Qs,p),j(Tf,b),j(Lf,y),j(al,T),j(ll,L),j(ul,w),j(Rf,f),j(Af,g),j(Pr,k),j(Ar,v),j(Pf,m),ne(x))if(x.length){const K=e.exposed||(e.exposed={});x.forEach(q=>{Object.defineProperty(K,q,{get:()=>n[q],set:oe=>n[q]=oe})})}else e.exposed||(e.exposed={});_&&e.render===Ye&&(e.render=_),S!=null&&(e.inheritAttrs=S),P&&(e.components=P),C&&(e.directives=C)}function jf(e,t,n=Ye){ne(e)&&(e=Fo(e));for(const s in e){const r=e[s];let o;we(r)?"default"in r?o=hn(r.from||s,r.default,!0):o=hn(r.from||s):o=hn(r),Ee(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ui(e,t,n){st(ne(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function dl(e,t,n,s){const r=s.includes(".")?il(n,s):()=>n[s];if(Le(e)){const o=t[e];se(o)&&ct(r,o)}else if(se(e))ct(r,e.bind(n));else if(we(e))if(ne(e))e.forEach(o=>dl(o,t,n,s));else{const o=se(e.handler)?e.handler.bind(n):t[e.handler];se(o)&&ct(r,o,e)}}function Rr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(l=>Ts(c,l,i,!0)),Ts(c,t,i)),we(t)&&o.set(t,c),c}function Ts(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Ts(e,o,n,!0),r&&r.forEach(i=>Ts(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Of[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Of={data:fi,props:di,emits:di,methods:Pn,computed:Pn,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:Pn,directives:Pn,watch:Mf,provide:fi,inject:If};function fi(e,t){return t?e?function(){return Oe(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function If(e,t){return Pn(Fo(e),Fo(t))}function Fo(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function He(e,t){return e?[...new Set([].concat(e,t))]:t}function Pn(e,t){return e?Oe(Object.create(null),e,t):t}function di(e,t){return e?ne(e)&&ne(t)?[...new Set([...e,...t])]:Oe(Object.create(null),ci(e),ci(t??{})):t}function Mf(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const s in t)n[s]=He(e[s],t[s]);return n}function pl(){return{app:null,config:{isNativeTag:cu,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bf=0;function Hf(e,t){return function(s,r=null){se(s)||(s=Oe({},s)),r!=null&&!we(r)&&(r=null);const o=pl(),i=new WeakSet;let a=!1;const c=o.app={_uid:Bf++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Rl,get config(){return o.config},set config(l){},use(l,...d){return i.has(l)||(l&&se(l.install)?(i.add(l),l.install(c,...d)):se(l)&&(i.add(l),l(c,...d))),c},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),c},component(l,d){return d?(o.components[l]=d,c):o.components[l]},directive(l,d){return d?(o.directives[l]=d,c):o.directives[l]},mount(l,d,u){if(!a){const p=Y(s,r);return p.appContext=o,u===!0?u="svg":u===!1&&(u=void 0),d&&t?t(p,l):e(p,l,u),a=!0,c._container=l,l.__vue_app__=c,eo(p.component)||p.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,d){return o.provides[l]=d,c},runWithContext(l){Fn=c;try{return l()}finally{Fn=null}}};return c}}let Fn=null;function hl(e,t){if(Re){let n=Re.provides;const s=Re.parent&&Re.parent.provides;s===n&&(n=Re.provides=Object.create(s)),n[e]=t}}function hn(e,t,n=!1){const s=Re||$e;if(s||Fn){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Fn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&se(t)?t.call(s&&s.proxy):t}}function ml(){return!!(Re||$e||Fn)}function Df(e,t,n,s=!1){const r={},o={};bs(o,Ys,1),e.propsDefaults=Object.create(null),gl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ua(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ff(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=he(r),[c]=e.propsOptions;let l=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let p=d[u];if(zs(e.emitsOptions,p))continue;const b=t[p];if(c)if(pe(o,p))b!==o[p]&&(o[p]=b,l=!0);else{const y=dt(p);r[y]=Uo(c,a,y,b,e,!1)}else b!==o[p]&&(o[p]=b,l=!0)}}}else{gl(e,t,r,o)&&(l=!0);let d;for(const u in a)(!t||!pe(t,u)&&((d=Zt(u))===u||!pe(t,d)))&&(c?n&&(n[u]!==void 0||n[d]!==void 0)&&(r[u]=Uo(c,a,u,void 0,e,!0)):delete r[u]);if(o!==a)for(const u in o)(!t||!pe(t,u))&&(delete o[u],l=!0)}l&&bt(e,"set","$attrs")}function gl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(An(c))continue;const l=t[c];let d;r&&pe(r,d=dt(c))?!o||!o.includes(d)?n[d]=l:(a||(a={}))[d]=l:zs(e.emitsOptions,c)||(!(c in s)||l!==s[c])&&(s[c]=l,i=!0)}if(o){const c=he(n),l=a||ke;for(let d=0;d<o.length;d++){const u=o[d];n[u]=Uo(r,c,u,l[u],e,!pe(l,u))}}return i}function Uo(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=pe(i,"default");if(a&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&se(c)){const{propsDefaults:l}=r;n in l?s=l[n]:(Bt(r),s=l[n]=c.call(null,t),Et())}else s=c}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===Zt(n))&&(s=!0))}return s}function yl(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let c=!1;if(!se(e)){const d=u=>{c=!0;const[p,b]=yl(u,t,!0);Oe(i,p),b&&a.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!c)return we(e)&&s.set(e,ln),ln;if(ne(o))for(let d=0;d<o.length;d++){const u=dt(o[d]);pi(u)&&(i[u]=ke)}else if(o)for(const d in o){const u=dt(d);if(pi(u)){const p=o[d],b=i[u]=ne(p)||se(p)?{type:p}:Oe({},p);if(b){const y=gi(Boolean,b.type),T=gi(String,b.type);b[0]=y>-1,b[1]=T<0||y<T,(y>-1||pe(b,"default"))&&a.push(u)}}}const l=[i,a];return we(e)&&s.set(e,l),l}function pi(e){return e[0]!=="$"}function hi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function mi(e,t){return hi(e)===hi(t)}function gi(e,t){return ne(t)?t.findIndex(n=>mi(n,e)):se(t)&&mi(t,e)?0:-1}const _l=e=>e[0]==="_"||e==="$stable",Cr=e=>ne(e)?e.map(Qe):[Qe(e)],Uf=(e,t,n)=>{if(t._n)return t;const s=ae((...r)=>Cr(t(...r)),n);return s._c=!1,s},bl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(_l(r))continue;const o=e[r];if(se(o))t[r]=Uf(r,o,s);else if(o!=null){const i=Cr(o);t[r]=()=>i}}},vl=(e,t)=>{const n=Cr(t);e.slots.default=()=>n},Gf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=he(t),bs(t,"_",n)):bl(t,e.slots={})}else e.slots={},t&&vl(e,t);bs(e.slots,Ys,1)},Wf=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ke;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Oe(r,t),!n&&a===1&&delete r._):(o=!t.$stable,bl(t,r)),i=t}else t&&(vl(e,t),i={default:1});if(o)for(const a in r)!_l(a)&&i[a]==null&&delete r[a]};function Ls(e,t,n,s,r=!1){if(ne(e)){e.forEach((p,b)=>Ls(p,t&&(ne(t)?t[b]:t),n,s,r));return}if(pn(s)&&!r)return;const o=s.shapeFlag&4?eo(s.component)||s.component.proxy:s.el,i=r?null:o,{i:a,r:c}=e,l=t&&t.r,d=a.refs===ke?a.refs={}:a.refs,u=a.setupState;if(l!=null&&l!==c&&(Le(l)?(d[l]=null,pe(u,l)&&(u[l]=null)):Ee(l)&&(l.value=null)),se(c))$t(c,a,12,[i,d]);else{const p=Le(c),b=Ee(c);if(p||b){const y=()=>{if(e.f){const T=p?pe(u,c)?u[c]:d[c]:c.value;r?ne(T)&&dr(T,o):ne(T)?T.includes(o)||T.push(o):p?(d[c]=[o],pe(u,c)&&(u[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else p?(d[c]=i,pe(u,c)&&(u[c]=i)):b&&(c.value=i,e.k&&(d[e.k]=i))};i?(y.id=-1,Fe(y,n)):y()}}}let kt=!1;const Vf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",qf=e=>e.namespaceURI.includes("MathML"),rs=e=>{if(Vf(e))return"svg";if(qf(e))return"mathml"},is=e=>e.nodeType===8;function zf(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,d=(h,v)=>{if(!v.hasChildNodes()){n(null,h,v),ks(),v._vnode=h;return}kt=!1,u(v.firstChild,h,null,null,null),ks(),v._vnode=h,kt&&console.error("Hydration completed but contains mismatches.")},u=(h,v,_,f,g,w=!1)=>{const m=is(h)&&h.data==="[",x=()=>T(h,v,_,f,g,m),{type:S,ref:P,shapeFlag:C,patchFlag:O}=v;let H=h.nodeType;v.el=h,O===-2&&(w=!1,v.dynamicChildren=null);let j=null;switch(S){case yn:H!==3?v.children===""?(c(v.el=r(""),i(h),h),j=h):j=x():(h.data!==v.children&&(kt=!0,h.data=v.children),j=o(h));break;case rt:k(h)?(j=o(h),N(v.el=h.content.firstChild,h,_)):H!==8||m?j=x():j=o(h);break;case mn:if(m&&(h=o(h),H=h.nodeType),H===1||H===3){j=h;const K=!v.children.length;for(let q=0;q<v.staticCount;q++)K&&(v.children+=j.nodeType===1?j.outerHTML:j.data),q===v.staticCount-1&&(v.anchor=j),j=o(j);return m?o(j):j}else x();break;case Se:m?j=y(h,v,_,f,g,w):j=x();break;default:if(C&1)(H!==1||v.type.toLowerCase()!==h.tagName.toLowerCase())&&!k(h)?j=x():j=p(h,v,_,f,g,w);else if(C&6){v.slotScopeIds=g;const K=i(h);if(m?j=L(h):is(h)&&h.data==="teleport start"?j=L(h,h.data,"teleport end"):j=o(h),t(v,K,null,_,f,rs(K),w),pn(v)){let q;m?(q=Y(Se),q.anchor=j?j.previousSibling:K.lastChild):q=h.nodeType===3?ue(""):Y("div"),q.el=h,v.component.subTree=q}}else C&64?H!==8?j=x():j=v.type.hydrate(h,v,_,f,g,w,e,b):C&128&&(j=v.type.hydrate(h,v,_,f,rs(i(h)),g,w,e,u))}return P!=null&&Ls(P,null,f,v),j},p=(h,v,_,f,g,w)=>{w=w||!!v.dynamicChildren;const{type:m,props:x,patchFlag:S,shapeFlag:P,dirs:C,transition:O}=v,H=m==="input"||m==="option";if(H||S!==-1){C&&at(v,null,_,"created");let j=!1;if(k(h)){j=xl(f,O)&&_&&_.vnode.props&&_.vnode.props.appear;const q=h.content.firstChild;j&&O.beforeEnter(q),N(q,h,_),v.el=h=q}if(P&16&&!(x&&(x.innerHTML||x.textContent))){let q=b(h.firstChild,v,h,_,f,g,w);for(;q;){kt=!0;const oe=q;q=q.nextSibling,a(oe)}}else P&8&&h.textContent!==v.children&&(kt=!0,h.textContent=v.children);if(x)if(H||!w||S&48)for(const q in x)(H&&(q.endsWith("value")||q==="indeterminate")||Jn(q)&&!An(q)||q[0]===".")&&s(h,q,null,x[q],void 0,void 0,_);else x.onClick&&s(h,"onClick",null,x.onClick,void 0,void 0,_);let K;(K=x&&x.onVnodeBeforeMount)&&Xe(K,_,v),C&&at(v,null,_,"beforeMount"),((K=x&&x.onVnodeMounted)||C||j)&&ol(()=>{K&&Xe(K,_,v),j&&O.enter(h),C&&at(v,null,_,"mounted")},f)}return h.nextSibling},b=(h,v,_,f,g,w,m)=>{m=m||!!v.dynamicChildren;const x=v.children,S=x.length;for(let P=0;P<S;P++){const C=m?x[P]:x[P]=Qe(x[P]);if(h)h=u(h,C,f,g,w,m);else{if(C.type===yn&&!C.children)continue;kt=!0,n(null,C,_,null,f,g,rs(_),w)}}return h},y=(h,v,_,f,g,w)=>{const{slotScopeIds:m}=v;m&&(g=g?g.concat(m):m);const x=i(h),S=b(o(h),v,x,_,f,g,w);return S&&is(S)&&S.data==="]"?o(v.anchor=S):(kt=!0,c(v.anchor=l("]"),x,S),S)},T=(h,v,_,f,g,w)=>{if(kt=!0,v.el=null,w){const S=L(h);for(;;){const P=o(h);if(P&&P!==S)a(P);else break}}const m=o(h),x=i(h);return a(h),n(null,v,x,m,_,f,rs(x),g),m},L=(h,v="[",_="]")=>{let f=0;for(;h;)if(h=o(h),h&&is(h)&&(h.data===v&&f++,h.data===_)){if(f===0)return o(h);f--}return h},N=(h,v,_)=>{const f=v.parentNode;f&&f.replaceChild(h,v);let g=_;for(;g;)g.vnode.el===v&&(g.vnode.el=g.subTree.el=h),g=g.parent},k=h=>h.nodeType===1&&h.tagName.toLowerCase()==="template";return[d,u]}const Fe=ol;function Kf(e){return wl(e)}function Jf(e){return wl(e,zf)}function wl(e,t){const n=Na();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:d,parentNode:u,nextSibling:p,setScopeId:b=Ye,insertStaticContent:y}=e,T=(A,R,$,I=null,M=null,W=null,z=void 0,U=null,G=!!R.dynamicChildren)=>{if(A===R)return;A&&!At(A,R)&&(I=F(A),le(A,M,W,!0),A=null),R.patchFlag===-2&&(G=!1,R.dynamicChildren=null);const{type:D,ref:J,shapeFlag:E}=R;switch(D){case yn:L(A,R,$,I);break;case rt:N(A,R,$,I);break;case mn:A==null&&k(R,$,I,z);break;case Se:P(A,R,$,I,M,W,z,U,G);break;default:E&1?_(A,R,$,I,M,W,z,U,G):E&6?C(A,R,$,I,M,W,z,U,G):(E&64||E&128)&&D.process(A,R,$,I,M,W,z,U,G,fe)}J!=null&&M&&Ls(J,A&&A.ref,W,R||A,!R)},L=(A,R,$,I)=>{if(A==null)s(R.el=a(R.children),$,I);else{const M=R.el=A.el;R.children!==A.children&&l(M,R.children)}},N=(A,R,$,I)=>{A==null?s(R.el=c(R.children||""),$,I):R.el=A.el},k=(A,R,$,I)=>{[A.el,A.anchor]=y(A.children,R,$,I,A.el,A.anchor)},h=({el:A,anchor:R},$,I)=>{let M;for(;A&&A!==R;)M=p(A),s(A,$,I),A=M;s(R,$,I)},v=({el:A,anchor:R})=>{let $;for(;A&&A!==R;)$=p(A),r(A),A=$;r(R)},_=(A,R,$,I,M,W,z,U,G)=>{R.type==="svg"?z="svg":R.type==="math"&&(z="mathml"),A==null?f(R,$,I,M,W,z,U,G):m(A,R,M,W,z,U,G)},f=(A,R,$,I,M,W,z,U)=>{let G,D;const{props:J,shapeFlag:E,transition:B,dirs:Q}=A;if(G=A.el=i(A.type,W,J&&J.is,J),E&8?d(G,A.children):E&16&&w(A.children,G,null,I,M,go(A,W),z,U),Q&&at(A,null,I,"created"),g(G,A,A.scopeId,z,I),J){for(const Z in J)Z!=="value"&&!An(Z)&&o(G,Z,null,J[Z],W,A.children,I,M,ve);"value"in J&&o(G,"value",null,J.value,W),(D=J.onVnodeBeforeMount)&&Xe(D,I,A)}Q&&at(A,null,I,"beforeMount");const te=xl(M,B);te&&B.beforeEnter(G),s(G,R,$),((D=J&&J.onVnodeMounted)||te||Q)&&Fe(()=>{D&&Xe(D,I,A),te&&B.enter(G),Q&&at(A,null,I,"mounted")},M)},g=(A,R,$,I,M)=>{if($&&b(A,$),I)for(let W=0;W<I.length;W++)b(A,I[W]);if(M){let W=M.subTree;if(R===W){const z=M.vnode;g(A,z,z.scopeId,z.slotScopeIds,M.parent)}}},w=(A,R,$,I,M,W,z,U,G=0)=>{for(let D=G;D<A.length;D++){const J=A[D]=U?Lt(A[D]):Qe(A[D]);T(null,J,R,$,I,M,W,z,U)}},m=(A,R,$,I,M,W,z)=>{const U=R.el=A.el;let{patchFlag:G,dynamicChildren:D,dirs:J}=R;G|=A.patchFlag&16;const E=A.props||ke,B=R.props||ke;let Q;if($&&Ft($,!1),(Q=B.onVnodeBeforeUpdate)&&Xe(Q,$,R,A),J&&at(R,A,$,"beforeUpdate"),$&&Ft($,!0),D?x(A.dynamicChildren,D,U,$,I,go(R,M),W):z||q(A,R,U,null,$,I,go(R,M),W,!1),G>0){if(G&16)S(U,R,E,B,$,I,M);else if(G&2&&E.class!==B.class&&o(U,"class",null,B.class,M),G&4&&o(U,"style",E.style,B.style,M),G&8){const te=R.dynamicProps;for(let Z=0;Z<te.length;Z++){const ee=te[Z],ce=E[ee],Ce=B[ee];(Ce!==ce||ee==="value")&&o(U,ee,ce,Ce,M,A.children,$,I,ve)}}G&1&&A.children!==R.children&&d(U,R.children)}else!z&&D==null&&S(U,R,E,B,$,I,M);((Q=B.onVnodeUpdated)||J)&&Fe(()=>{Q&&Xe(Q,$,R,A),J&&at(R,A,$,"updated")},I)},x=(A,R,$,I,M,W,z)=>{for(let U=0;U<R.length;U++){const G=A[U],D=R[U],J=G.el&&(G.type===Se||!At(G,D)||G.shapeFlag&70)?u(G.el):$;T(G,D,J,null,I,M,W,z,!0)}},S=(A,R,$,I,M,W,z)=>{if($!==I){if($!==ke)for(const U in $)!An(U)&&!(U in I)&&o(A,U,$[U],null,z,R.children,M,W,ve);for(const U in I){if(An(U))continue;const G=I[U],D=$[U];G!==D&&U!=="value"&&o(A,U,D,G,z,R.children,M,W,ve)}"value"in I&&o(A,"value",$.value,I.value,z)}},P=(A,R,$,I,M,W,z,U,G)=>{const D=R.el=A?A.el:a(""),J=R.anchor=A?A.anchor:a("");let{patchFlag:E,dynamicChildren:B,slotScopeIds:Q}=R;Q&&(U=U?U.concat(Q):Q),A==null?(s(D,$,I),s(J,$,I),w(R.children,$,J,M,W,z,U,G)):E>0&&E&64&&B&&A.dynamicChildren?(x(A.dynamicChildren,B,$,M,W,z,U),(R.key!=null||M&&R===M.subTree)&&kl(A,R,!0)):q(A,R,$,J,M,W,z,U,G)},C=(A,R,$,I,M,W,z,U,G)=>{R.slotScopeIds=U,A==null?R.shapeFlag&512?M.ctx.activate(R,$,I,z,G):O(R,$,I,M,W,z,G):H(A,R,G)},O=(A,R,$,I,M,W,z)=>{const U=A.component=nd(A,I,M);if(Lr(A)&&(U.ctx.renderer=fe),sd(U),U.asyncDep){if(M&&M.registerDep(U,j),!A.el){const G=U.subTree=Y(rt);N(null,G,R,$)}}else j(U,A,R,$,M,W,z)},H=(A,R,$)=>{const I=R.component=A.component;if(cf(A,R,$))if(I.asyncDep&&!I.asyncResolved){K(I,R,$);return}else I.next=R,tf(I.update),I.effect.dirty=!0,I.update();else R.el=A.el,I.vnode=R},j=(A,R,$,I,M,W,z)=>{const U=()=>{if(A.isMounted){let{next:J,bu:E,u:B,parent:Q,vnode:te}=A;{const qe=Sl(A);if(qe){J&&(J.el=te.el,K(A,J,z)),qe.asyncDep.then(()=>{A.isUnmounted||U()});return}}let Z=J,ee;Ft(A,!1),J?(J.el=te.el,K(A,J,z)):J=te,E&&ps(E),(ee=J.props&&J.props.onVnodeBeforeUpdate)&&Xe(ee,Q,J,te),Ft(A,!0);const ce=po(A),Ce=A.subTree;A.subTree=ce,T(Ce,ce,u(Ce.el),F(Ce),A,M,W),J.el=ce.el,Z===null&&Sr(A,ce.el),B&&Fe(B,M),(ee=J.props&&J.props.onVnodeUpdated)&&Fe(()=>Xe(ee,Q,J,te),M)}else{let J;const{el:E,props:B}=R,{bm:Q,m:te,parent:Z}=A,ee=pn(R);if(Ft(A,!1),Q&&ps(Q),!ee&&(J=B&&B.onVnodeBeforeMount)&&Xe(J,Z,R),Ft(A,!0),E&&tt){const ce=()=>{A.subTree=po(A),tt(E,A.subTree,A,M,null)};ee?R.type.__asyncLoader().then(()=>!A.isUnmounted&&ce()):ce()}else{const ce=A.subTree=po(A);T(null,ce,$,I,A,M,W),R.el=ce.el}if(te&&Fe(te,M),!ee&&(J=B&&B.onVnodeMounted)){const ce=R;Fe(()=>Xe(J,Z,ce),M)}(R.shapeFlag&256||Z&&pn(Z.vnode)&&Z.vnode.shapeFlag&256)&&A.a&&Fe(A.a,M),A.isMounted=!0,R=$=I=null}},G=A.effect=new mr(U,Ye,()=>qs(D),A.scope),D=A.update=()=>{G.dirty&&G.run()};D.id=A.uid,Ft(A,!0),D()},K=(A,R,$)=>{R.component=A;const I=A.vnode.props;A.vnode=R,A.next=null,Ff(A,R.props,I,$),Wf(A,R.children,$),en(),ri(A),tn()},q=(A,R,$,I,M,W,z,U,G=!1)=>{const D=A&&A.children,J=A?A.shapeFlag:0,E=R.children,{patchFlag:B,shapeFlag:Q}=R;if(B>0){if(B&128){be(D,E,$,I,M,W,z,U,G);return}else if(B&256){oe(D,E,$,I,M,W,z,U,G);return}}Q&8?(J&16&&ve(D,M,W),E!==D&&d($,E)):J&16?Q&16?be(D,E,$,I,M,W,z,U,G):ve(D,M,W,!0):(J&8&&d($,""),Q&16&&w(E,$,I,M,W,z,U,G))},oe=(A,R,$,I,M,W,z,U,G)=>{A=A||ln,R=R||ln;const D=A.length,J=R.length,E=Math.min(D,J);let B;for(B=0;B<E;B++){const Q=R[B]=G?Lt(R[B]):Qe(R[B]);T(A[B],Q,$,null,M,W,z,U,G)}D>J?ve(A,M,W,!0,!1,E):w(R,$,I,M,W,z,U,G,E)},be=(A,R,$,I,M,W,z,U,G)=>{let D=0;const J=R.length;let E=A.length-1,B=J-1;for(;D<=E&&D<=B;){const Q=A[D],te=R[D]=G?Lt(R[D]):Qe(R[D]);if(At(Q,te))T(Q,te,$,null,M,W,z,U,G);else break;D++}for(;D<=E&&D<=B;){const Q=A[E],te=R[B]=G?Lt(R[B]):Qe(R[B]);if(At(Q,te))T(Q,te,$,null,M,W,z,U,G);else break;E--,B--}if(D>E){if(D<=B){const Q=B+1,te=Q<J?R[Q].el:I;for(;D<=B;)T(null,R[D]=G?Lt(R[D]):Qe(R[D]),$,te,M,W,z,U,G),D++}}else if(D>B)for(;D<=E;)le(A[D],M,W,!0),D++;else{const Q=D,te=D,Z=new Map;for(D=te;D<=B;D++){const ze=R[D]=G?Lt(R[D]):Qe(R[D]);ze.key!=null&&Z.set(ze.key,D)}let ee,ce=0;const Ce=B-te+1;let qe=!1,Sn=0;const Nn=new Array(Ce);for(D=0;D<Ce;D++)Nn[D]=0;for(D=Q;D<=E;D++){const ze=A[D];if(ce>=Ce){le(ze,M,W,!0);continue}let it;if(ze.key!=null)it=Z.get(ze.key);else for(ee=te;ee<=B;ee++)if(Nn[ee-te]===0&&At(ze,R[ee])){it=ee;break}it===void 0?le(ze,M,W,!0):(Nn[it-te]=D+1,it>=Sn?Sn=it:qe=!0,T(ze,R[it],$,null,M,W,z,U,G),ce++)}const Kr=qe?Xf(Nn):ln;for(ee=Kr.length-1,D=Ce-1;D>=0;D--){const ze=te+D,it=R[ze],Jr=ze+1<J?R[ze+1].el:I;Nn[D]===0?T(null,it,$,Jr,M,W,z,U,G):qe&&(ee<0||D!==Kr[ee]?me(it,$,Jr,2):ee--)}}},me=(A,R,$,I,M=null)=>{const{el:W,type:z,transition:U,children:G,shapeFlag:D}=A;if(D&6){me(A.component.subTree,R,$,I);return}if(D&128){A.suspense.move(R,$,I);return}if(D&64){z.move(A,R,$,fe);return}if(z===Se){s(W,R,$);for(let E=0;E<G.length;E++)me(G[E],R,$,I);s(A.anchor,R,$);return}if(z===mn){h(A,R,$);return}if(I!==2&&D&1&&U)if(I===0)U.beforeEnter(W),s(W,R,$),Fe(()=>U.enter(W),M);else{const{leave:E,delayLeave:B,afterLeave:Q}=U,te=()=>s(W,R,$),Z=()=>{E(W,()=>{te(),Q&&Q()})};B?B(W,te,Z):Z()}else s(W,R,$)},le=(A,R,$,I=!1,M=!1)=>{const{type:W,props:z,ref:U,children:G,dynamicChildren:D,shapeFlag:J,patchFlag:E,dirs:B}=A;if(U!=null&&Ls(U,null,$,A,!0),J&256){R.ctx.deactivate(A);return}const Q=J&1&&B,te=!pn(A);let Z;if(te&&(Z=z&&z.onVnodeBeforeUnmount)&&Xe(Z,R,A),J&6)_e(A.component,$,I);else{if(J&128){A.suspense.unmount($,I);return}Q&&at(A,null,R,"beforeUnmount"),J&64?A.type.remove(A,R,$,M,fe,I):D&&(W!==Se||E>0&&E&64)?ve(D,R,$,!1,!0):(W===Se&&E&384||!M&&J&16)&&ve(G,R,$),I&&ge(A)}(te&&(Z=z&&z.onVnodeUnmounted)||Q)&&Fe(()=>{Z&&Xe(Z,R,A),Q&&at(A,null,R,"unmounted")},$)},ge=A=>{const{type:R,el:$,anchor:I,transition:M}=A;if(R===Se){ye($,I);return}if(R===mn){v(A);return}const W=()=>{r($),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(A.shapeFlag&1&&M&&!M.persisted){const{leave:z,delayLeave:U}=M,G=()=>z($,W);U?U(A.el,W,G):G()}else W()},ye=(A,R)=>{let $;for(;A!==R;)$=p(A),r(A),A=$;r(R)},_e=(A,R,$)=>{const{bum:I,scope:M,update:W,subTree:z,um:U}=A;I&&ps(I),M.stop(),W&&(W.active=!1,le(z,A,R,$)),U&&Fe(U,R),Fe(()=>{A.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},ve=(A,R,$,I=!1,M=!1,W=0)=>{for(let z=W;z<A.length;z++)le(A[z],R,$,I,M)},F=A=>A.shapeFlag&6?F(A.component.subTree):A.shapeFlag&128?A.suspense.next():p(A.anchor||A.el),xe=(A,R,$)=>{A==null?R._vnode&&le(R._vnode,null,null,!0):T(R._vnode||null,A,R,null,null,null,$),ri(),ks(),R._vnode=A},fe={p:T,um:le,m:me,r:ge,mt:O,mc:w,pc:q,pbc:x,n:F,o:e};let Ie,tt;return t&&([Ie,tt]=t(fe)),{render:xe,hydrate:Ie,createApp:Hf(xe,Ie)}}function go({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function kl(e,t,n=!1){const s=e.children,r=t.children;if(ne(s)&&ne(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=Lt(r[o]),a.el=i.el),n||kl(i,a)),a.type===yn&&(a.el=i.el)}}function Xf(e){const t=e.slice(),n=[0];let s,r,o,i,a;const c=e.length;for(s=0;s<c;s++){const l=e[s];if(l!==0){if(r=n[n.length-1],e[r]<l){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<l?o=a+1:i=a;l<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Sl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Sl(t)}const Qf=e=>e.__isTeleport,Se=Symbol.for("v-fgt"),yn=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),mn=Symbol.for("v-stc"),Cn=[];let Ze=null;function X(e=!1){Cn.push(Ze=e?null:[])}function Nl(){Cn.pop(),Ze=Cn[Cn.length-1]||null}let _n=1;function yi(e){_n+=e}function Tl(e){return e.dynamicChildren=_n>0?Ze||ln:null,Nl(),_n>0&&Ze&&Ze.push(e),e}function re(e,t,n,s,r,o){return Tl(V(e,t,n,s,r,o,!0))}function Ne(e,t,n,s,r){return Tl(Y(e,t,n,s,r,!0))}function Un(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const Ys="__vInternal",Ll=({key:e})=>e??null,hs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Ee(e)||se(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,s=0,r=null,o=e===Se?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ll(t),ref:t&&hs(t),scopeId:Ks,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:$e};return a?(Er(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Le(n)?8:16),_n>0&&!i&&Ze&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ze.push(c),c}const Y=Yf;function Yf(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===nl)&&(e=rt),Un(e)){const a=bn(e,t,!0);return n&&Er(a,n),_n>0&&!o&&Ze&&(a.shapeFlag&6?Ze[Ze.indexOf(e)]=a:Ze.push(a)),a.patchFlag|=-2,a}if(ld(e)&&(e=e.__vccOpts),t){t=$r(t);let{class:a,style:c}=t;a&&!Le(a)&&(t.class=Ae(a)),we(c)&&(Ga(c)&&!ne(c)&&(c=Oe({},c)),t.style=zt(c))}const i=Le(e)?1:ff(e)?128:Qf(e)?64:we(e)?4:se(e)?2:0;return V(e,t,n,s,r,i,o,!0)}function $r(e){return e?Ga(e)||Ys in e?Oe({},e):e:null}function bn(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,a=t?Zs(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ll(a),ref:t&&t.ref?n&&r?ne(r)?r.concat(hs(t)):[r,hs(t)]:hs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bn(e.ssContent),ssFallback:e.ssFallback&&bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ue(e=" ",t=0){return Y(yn,null,e,t)}function Zf(e,t){const n=Y(mn,null,e);return n.staticCount=t,n}function je(e="",t=!1){return t?(X(),Ne(rt,null,e)):Y(rt,null,e)}function Qe(e){return e==null||typeof e=="boolean"?Y(rt):ne(e)?Y(Se,null,e.slice()):typeof e=="object"?Lt(e):Y(yn,null,String(e))}function Lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bn(e)}function Er(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ne(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Er(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Ys in t)?t._ctx=$e:r===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function Zs(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ae([t.class,s.class]));else if(r==="style")t.style=zt([t.style,s.style]);else if(Jn(r)){const o=t[r],i=s[r];i&&o!==i&&!(ne(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Xe(e,t,n,s=null){st(e,t,7,[n,s])}const ed=pl();let td=0;function nd(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||ed,o={uid:td++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Aa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yl(s,r),emitsOptions:Za(s,r),emit:null,emitted:null,propsDefaults:ke,inheritAttrs:s.inheritAttrs,ctx:ke,data:ke,props:ke,attrs:ke,slots:ke,refs:ke,setupState:ke,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=sf.bind(null,o),e.ce&&e.ce(o),o}let Re=null;const wn=()=>Re||$e;let jr,Go;{const e=Na(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};jr=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),Go=t("__VUE_SSR_SETTERS__",n=>Qn=n)}const Bt=e=>{jr(e),e.scope.on()},Et=()=>{Re&&Re.scope.off(),jr(null)};function Pl(e){return e.vnode.shapeFlag&4}let Qn=!1;function sd(e,t=!1){t&&Go(t);const{props:n,children:s}=e.vnode,r=Pl(e);Df(e,n,r,t),Gf(e,s);const o=r?od(e,t):void 0;return t&&Go(!1),o}function od(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Wa(new Proxy(e.ctx,Cf));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?id(e):null;Bt(e),en();const o=$t(s,e,0,[e.props,r]);if(tn(),Et(),pr(o)){if(o.then(Et,Et),t)return o.then(i=>{Wo(e,i,t)}).catch(i=>{vn(i,e,0)});e.asyncDep=o}else Wo(e,o,t)}else Al(e,t)}function Wo(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=Ka(t)),Al(e,n)}let _i;function Al(e,t,n){const s=e.type;if(!e.render){if(!t&&_i&&!s.render){const r=s.template||Rr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=s,l=Oe(Oe({isCustomElement:o,delimiters:a},i),c);s.render=_i(r,l)}}e.render=s.render||Ye}{Bt(e),en();try{Ef(e)}finally{tn(),Et()}}}function rd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return We(e,"get","$attrs"),t[n]}}))}function id(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return rd(e)},slots:e.slots,emit:e.emit,expose:t}}function eo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ka(Wa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}}))}function ad(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function ld(e){return se(e)&&"__vccOpts"in e}const Je=(e,t)=>qu(e,t,Qn);function Ps(e,t,n){const s=arguments.length;return s===2?we(t)&&!ne(t)?Un(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Un(n)&&(n=[n]),Y(e,t,n))}const Rl="3.4.5",cd="http://www.w3.org/2000/svg",ud="http://www.w3.org/1998/Math/MathML",Pt=typeof document<"u"?document:null,bi=Pt&&Pt.createElement("template"),fd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Pt.createElementNS(cd,e):t==="mathml"?Pt.createElementNS(ud,e):Pt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{bi.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const a=bi.content;if(s==="svg"||s==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dd=Symbol("_vtc");function pd(e,t,n){const s=e[dd];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const hd=Symbol("_vod"),Cl=Symbol("");function $0(e){const t=wn();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>qo(o,r))},s=()=>{const r=e(t.proxy);Vo(t.subTree,r),n(r)};wf(s),Qs(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ar(()=>r.disconnect())})}function Vo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Vo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)qo(e.el,t);else if(e.type===Se)e.children.forEach(n=>Vo(n,t));else if(e.type===mn){let{el:n,anchor:s}=e;for(;n&&(qo(n,t),n!==s);)n=n.nextSibling}}function qo(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[Cl]=s}}function md(e,t,n){const s=e.style,r=Le(n);if(n&&!r){if(t&&!Le(t))for(const o in t)n[o]==null&&zo(s,o,"");for(const o in n)zo(s,o,n[o])}else{const o=s.display;if(r){if(t!==n){const i=s[Cl];i&&(n+=";"+i),s.cssText=n}}else t&&e.removeAttribute("style");hd in e&&(s.display=o)}}const vi=/\s*!important$/;function zo(e,t,n){if(ne(n))n.forEach(s=>zo(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=gd(e,t);vi.test(n)?e.setProperty(Zt(s),n.replace(vi,""),"important"):e[s]=n}}const wi=["Webkit","Moz","ms"],yo={};function gd(e,t){const n=yo[t];if(n)return n;let s=dt(t);if(s!=="filter"&&s in e)return yo[t]=s;s=Ws(s);for(let r=0;r<wi.length;r++){const o=wi[r]+s;if(o in e)return yo[t]=o}return t}const xi="http://www.w3.org/1999/xlink";function yd(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(xi,t.slice(6,t.length)):e.setAttributeNS(xi,t,n);else{const o=wu(t);n==null||o&&!La(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function _d(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const l=a==="OPTION"?e.getAttribute("value"):e.value,d=n??"";l!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=La(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function $l(e,t,n,s){e.addEventListener(t,n,s)}function bd(e,t,n,s){e.removeEventListener(t,n,s)}const ki=Symbol("_vei");function vd(e,t,n,s,r=null){const o=e[ki]||(e[ki]={}),i=o[t];if(s&&i)i.value=s;else{const[a,c]=wd(t);if(s){const l=o[t]=Sd(s,r);$l(e,a,l,c)}else i&&(bd(e,a,i,c),o[t]=void 0)}}const Si=/(?:Once|Passive|Capture)$/;function wd(e){let t;if(Si.test(e)){t={};let s;for(;s=e.match(Si);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Zt(e.slice(2)),t]}let _o=0;const xd=Promise.resolve(),kd=()=>_o||(xd.then(()=>_o=0),_o=Date.now());function Sd(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;st(Nd(s,n.value),t,5,[s])};return n.value=e,n.attached=kd(),n}function Nd(e,t){if(ne(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ni=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Td=(e,t,n,s,r,o,i,a,c)=>{const l=r==="svg";t==="class"?pd(e,s,l):t==="style"?md(e,n,s):Jn(t)?fr(t)||vd(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ld(e,t,s,l))?_d(e,t,s,o,i,a,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),yd(e,t,s,l))};function Ld(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ni(t)&&se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ni(t)&&Le(n)?!1:t in e}const Ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ne(t)?n=>ps(t,n):t},bo=Symbol("_assign"),Pd={created(e,{value:t},n){e.checked=vs(t,n.props.value),e[bo]=Ti(n),$l(e,"change",()=>{e[bo](Ad(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[bo]=Ti(s),t!==n&&(e.checked=vs(t,s.props.value))}};function Ad(e){return"_value"in e?e._value:e.value}const Rd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Cd=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Zt(r.key);if(t.some(i=>i===o||Rd[i]===o))return e(r)})},El=Oe({patchProp:Td},fd);let $n,Li=!1;function $d(){return $n||($n=Kf(El))}function Ed(){return $n=Li?$n:Jf(El),Li=!0,$n}const jl=(...e)=>{const t=$d().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Il(s);if(!r)return;const o=t._component;!se(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Ol(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},jd=(...e)=>{const t=Ed().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Il(s);if(r)return n(r,!0,Ol(r))},t};function Ol(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Il(e){return Le(e)?document.querySelector(e):e}const Od=/#/g,Id=/&/g,Md=/=/g,Or=/\+/g,Bd=/%5e/gi,Hd=/%60/gi,Dd=/%7c/gi,Fd=/%20/gi;function Ud(e){return encodeURI(""+e).replace(Dd,"|")}function Ko(e){return Ud(typeof e=="string"?e:JSON.stringify(e)).replace(Or,"%2B").replace(Fd,"+").replace(Od,"%23").replace(Id,"%26").replace(Hd,"`").replace(Bd,"^")}function vo(e){return Ko(e).replace(Md,"%3D")}function As(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Gd(e){return As(e.replace(Or," "))}function Wd(e){return As(e.replace(Or," "))}function Ir(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=Gd(s[1]);if(r==="__proto__"||r==="constructor")continue;const o=Wd(s[2]||"");t[r]===void 0?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}return t}function Vd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${vo(e)}=${Ko(n)}`).join("&"):`${vo(e)}=${Ko(t)}`:vo(e)}function Ml(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Vd(t,e[t])).filter(Boolean).join("&")}const qd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,zd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Kd=/^([/\\]\s*){2,}[^/\\]/;function xn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?qd.test(e):zd.test(e)||(t.acceptRelative?Kd.test(e):!1)}const Jd=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Xd(e){return!!e&&Jd.test(e)}const Qd=/\/$|\/\?|\/#/;function Jo(e="",t){return t?Qd.test(e):e.endsWith("/")}function to(e="",t){if(!t)return(Jo(e)?e.slice(0,-1):e)||"/";if(!Jo(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),s=e.slice(r));const[o,...i]=n.split("?");return(o.slice(0,-1)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Rs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Jo(e,!0))return e||"/";let n=e,s="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),s=e.slice(r),!n))return s;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function Yd(e=""){return e.startsWith("/")}function Pi(e=""){return Yd(e)?e:"/"+e}function Zd(e,t){if(Hl(t)||xn(e))return e;const n=to(t);return e.startsWith(n)?e:Dt(n,e)}function ep(e,t){if(Hl(t))return e;const n=to(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Bl(e,t){const n=kn(e),s={...Ir(n.search),...t};return n.search=Ml(s),Dl(n)}function Hl(e){return!e||e==="/"}function tp(e){return e&&e!=="/"}const np=/^\.?\//;function Dt(e,...t){let n=e||"";for(const s of t.filter(r=>tp(r)))if(n){const r=s.replace(np,"");n=Rs(n)+r}else n=s;return n}function sp(e,t,n={}){return n.trailingSlash||(e=Rs(e),t=Rs(t)),n.leadingSlash||(e=Pi(e),t=Pi(t)),n.encoding||(e=As(e),t=As(t)),e===t}function kn(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,u,p=""]=n;return{protocol:u.toLowerCase(),pathname:p,href:u+p,auth:"",host:"",search:"",hash:""}}if(!xn(e,{acceptRelative:!0}))return t?kn(t+e):Ai(e);const[,s="",r,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:d}=Ai(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:i,pathname:c,search:l,hash:d}}function Ai(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function Dl(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",r=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol?e.protocol+"//":"")+r+o+t+n+s}const op=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Cs=op().app,rp=()=>Cs.baseURL,ip=()=>Cs.buildAssetsDir,Mr=(...e)=>Dt(Fl(),ip(),...e),Fl=(...e)=>{const t=Cs.cdnURL||Cs.baseURL;return e.length?Dt(t,...e):t};globalThis.__buildAssetsURL=Mr,globalThis.__publicAssetsURL=Fl;const ap=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,lp=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,cp=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function up(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){fp(e);return}return t}function fp(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function $s(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.at(-1)==='"'&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!cp.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ap.test(e)||lp.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,up)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}class dp extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function pp(e){var c,l,d,u,p;const t=((c=e.error)==null?void 0:c.message)||((l=e.error)==null?void 0:l.toString())||"",n=((d=e.request)==null?void 0:d.method)||((u=e.options)==null?void 0:u.method)||"GET",s=((p=e.request)==null?void 0:p.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(s)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${r}: ${o}${t?` ${t}`:""}`,a=new dp(i,e.error?{cause:e.error}:void 0);for(const b of["request","options","response"])Object.defineProperty(a,b,{get(){return e[b]}});for(const[b,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,b,{get(){return e.response&&e.response[y]}});return a}const hp=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ri(e="GET"){return hp.has(e.toUpperCase())}function mp(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const gp=new Set(["image/svg","application/xml","application/xhtml","application/html"]),yp=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function _p(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return yp.test(t)?"json":gp.has(t)||t.startsWith("text/")?"text":"blob"}function bp(e,t,n=globalThis.Headers){const s={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(s.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(s.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){s.headers=new n((t==null?void 0:t.headers)||{});for(const[r,o]of new n((e==null?void 0:e.headers)||{}))s.headers.set(r,o)}return s}const vp=new Set([408,409,425,429,500,502,503,504]),wp=new Set([101,204,205,304]);function Ul(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function r(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let d;typeof a.options.retry=="number"?d=a.options.retry:d=Ri(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(d>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):vp.has(u))){const p=a.options.retryDelay||0;return p>0&&await new Promise(b=>setTimeout(b,p)),o(a.request,{...a.options,retry:d-1,timeout:a.options.timeout})}}const l=pp(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,o),l}const o=async function(c,l={}){var p;const d={request:c,options:bp(l,e.defaults,n),response:void 0,error:void 0};if(d.options.method=(p=d.options.method)==null?void 0:p.toUpperCase(),d.options.onRequest&&await d.options.onRequest(d),typeof d.request=="string"&&(d.options.baseURL&&(d.request=Zd(d.request,d.options.baseURL)),(d.options.query||d.options.params)&&(d.request=Bl(d.request,{...d.options.params,...d.options.query}))),d.options.body&&Ri(d.options.method)&&(mp(d.options.body)?(d.options.body=typeof d.options.body=="string"?d.options.body:JSON.stringify(d.options.body),d.options.headers=new n(d.options.headers||{}),d.options.headers.has("content-type")||d.options.headers.set("content-type","application/json"),d.options.headers.has("accept")||d.options.headers.set("accept","application/json")):("pipeTo"in d.options.body&&typeof d.options.body.pipeTo=="function"||typeof d.options.body.pipe=="function")&&("duplex"in d.options||(d.options.duplex="half"))),!d.options.signal&&d.options.timeout){const b=new s;setTimeout(()=>b.abort(),d.options.timeout),d.options.signal=b.signal}try{d.response=await t(d.request,d.options)}catch(b){return d.error=b,d.options.onRequestError&&await d.options.onRequestError(d),await r(d)}if(d.response.body&&!wp.has(d.response.status)&&d.options.method!=="HEAD"){const b=(d.options.parseResponse?"json":d.options.responseType)||_p(d.response.headers.get("content-type")||"");switch(b){case"json":{const y=await d.response.text(),T=d.options.parseResponse||$s;d.response._data=T(y);break}case"stream":{d.response._data=d.response.body;break}default:d.response._data=await d.response[b]()}}return d.options.onResponse&&await d.options.onResponse(d),!d.options.ignoreResponseError&&d.response.status>=400&&d.response.status<600?(d.options.onResponseError&&await d.options.onResponseError(d),await r(d)):d.response},i=async function(c,l){return(await o(c,l))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={})=>Ul({...e,defaults:{...e.defaults,...a}}),i}const Br=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),xp=Br.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),kp=Br.Headers,Sp=Br.AbortController,Np=Ul({fetch:xp,Headers:kp,AbortController:Sp}),Tp=Np;globalThis.$fetch||(globalThis.$fetch=Tp.create({baseURL:rp()}));function Xo(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?Xo(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const Lp={run:e=>e()},Pp=()=>Lp,Gl=typeof console.createTask<"u"?console.createTask:Pp;function Ap(e,t){const n=t.shift(),s=Gl(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function Rp(e,t){const n=t.shift(),s=Gl(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function wo(e,t){for(const n of[...e])n(t)}class Cp{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${r} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...o)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...o));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Xo(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=Xo(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Ap,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Rp,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&wo(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&wo(this._after,r)}):(this._after&&r&&wo(this._after,r),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Wl(){return new Cp}function $p(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let r;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?r=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(r&&t===void 0){const i=r.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return r?r.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Qo.add(l);try{const d=r?r.run(i,a):a();return n||(t=void 0),await d}finally{Qo.delete(l)}}}}function Ep(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=$p({...e,...s})),t[n],t[n]}}}const Es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ci="__unctx__",jp=Es[Ci]||(Es[Ci]=Ep()),Op=(e,t={})=>jp.get(e,t),$i="__unctx_async_handlers__",Qo=Es[$i]||(Es[$i]=new Set);function Vl(e){const t=[];for(const r of Qo){const o=r();o&&t.push(o)}const n=()=>{for(const r of t)r()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(r=>{throw n(),r})),[s,n]}const ql=Op("nuxt-app",{asyncContext:!1}),Ip="__nuxt_plugin";function Mp(e){let t=0;const n={_scope:ku(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.9.1"},get vue(){return n.vueApp.version}},payload:pt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>n._scope.run(()=>Dp(n,r)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Wl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,o)=>{const i="$"+r;as(n,i,o),as(n.vueApp.config.globalProperties,i,o)},as(n.vueApp,"$nuxt",n),as(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Pe;const r=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",r)}const s=pt(n.payload.config);return n.provide("config",s),n}async function Bp(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function Hp(e,t){const n=[],s=[],r=[],o=[];let i=0;async function a(c){if(c.dependsOn&&!c.dependsOn.every(l=>n.includes(l)))s.push([new Set(c.dependsOn),c]);else{const l=Bp(e,c).then(async()=>{c._name&&(n.push(c._name),await Promise.all(s.map(async([d,u])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(u)))})))});c.parallel?r.push(l.catch(d=>o.push(d))):await l}}for(const c of t)await a(c);if(await Promise.all(r),i)for(let c=0;c<i;c++)await Promise.all(r);if(o.length)throw o[0]}function mt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Ip]:!0,_name:t})}function Dp(e,t,n){const s=()=>n?t(...n):t();return ql.set(e),e.vueApp.runWithContext(s)}function Pe(){var t;let e;if(ml()&&(e=(t=wn())==null?void 0:t.appContext.app.$nuxt),e=e||ql.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function Gn(){return Pe().$config}function as(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Fp="modulepreload",Up=function(e,t){return e[0]==="."?new URL(e,t).href:e},Ei={},Gp=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");r=Promise.all(n.map(i=>{if(i=Up(i,s),i in Ei)return;Ei[i]=!0;const a=i.endsWith(".css"),c=a?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const p=o[u];if(p.href===i&&(!a||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${c}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":Fp,a||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),a)return new Promise((u,p)=>{d.addEventListener("load",u),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${i}`)))})}))}return r.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},js=(...e)=>Gp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Wp=-1,Vp=-2,qp=-3,zp=-4,Kp=-5,Jp=-6;function Xp(e,t){return Qp(JSON.parse(e),t)}function Qp(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function r(o,i=!1){if(o===Wp)return;if(o===qp)return NaN;if(o===zp)return 1/0;if(o===Kp)return-1/0;if(o===Jp)return-0;if(i)throw new Error("Invalid input");if(o in s)return s[o];const a=n[o];if(!a||typeof a!="object")s[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return s[o]=l(r(a[1]));switch(c){case"Date":s[o]=new Date(a[1]);break;case"Set":const d=new Set;s[o]=d;for(let b=1;b<a.length;b+=1)d.add(r(a[b]));break;case"Map":const u=new Map;s[o]=u;for(let b=1;b<a.length;b+=2)u.set(r(a[b]),r(a[b+1]));break;case"RegExp":s[o]=new RegExp(a[1],a[2]);break;case"Object":s[o]=Object(a[1]);break;case"BigInt":s[o]=BigInt(a[1]);break;case"null":const p=Object.create(null);s[o]=p;for(let b=1;b<a.length;b+=2)p[a[b]]=r(a[b+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);s[o]=c;for(let l=0;l<a.length;l+=1){const d=a[l];d!==Vp&&(c[l]=r(d))}}else{const c={};s[o]=c;for(const l in a){const d=a[l];c[l]=r(d)}}return s[o]}return r(0)}function Yp(e){return Array.isArray(e)?e:[e]}const Zp=["title","titleTemplate","script","style","noscript"],ms=["base","meta","link","style","script","noscript"],eh=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],th=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],zl=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],nh=typeof window<"u";function Hr(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function ji(e){return e._h||Hr(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Kl(e,t){const{props:n,tag:s}=e;if(th.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];s==="meta"&&r.push("name","property","http-equiv");for(const o of r)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${s}:${o}:${i}`}return!1}function Oi(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function sh(e,t,n){const s={tag:e,props:await Jl(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return zl.forEach(r=>{const o=typeof s.props[r]<"u"?s.props[r]:n[r];typeof o<"u"&&((!["innerHTML","textContent","children"].includes(r)||Zp.includes(s.tag))&&(s[r==="children"?"innerHTML":r]=o),delete s.props[r])}),s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s}function oh(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function Jl(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=oh(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!zl.includes(n)){const s=String(e[n]),r=n.startsWith("data-");s==="true"||s===""?e[n]=r?"true":!0:e[n]||(r&&s==="false"?e[n]="false":delete e[n])}}return e}const rh=10;async function ih(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&eh.includes(n)).forEach(([n,s])=>{const r=Yp(s);t.push(...r.map(o=>sh(n,o,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<rh)+s,n))}const Ii={base:-10,title:10},Mi={critical:-80,high:-10,low:20};function Os(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in Ii&&(t=Ii[e.tag]),typeof n=="string"&&n in Mi?t+Mi[n]:t)}const ah=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Xl=["onload","onerror","onabort","onprogress","onloadstart"],St="%separator";function gs(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function s(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((c,l)=>c&&c[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=s(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(c,l)=>`${a}${l}`).trim())}),e.includes(St)&&(e.endsWith(St)&&(e=e.slice(0,-St.length).trim()),e.startsWith(St)&&(e=e.slice(St.length).trim()),e=e.replace(new RegExp(`\\${St}\\s*\\${St}`,"g"),St),e=gs(e,{separator:n},n)),e}async function lh(e){const t={tag:e.tagName.toLowerCase(),props:await Jl(e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{})),innerHTML:e.innerHTML};return t._d=Kl(t),t}async function Ql(e,t={}){var d;const n=t.document||e.resolvedOptions.document;if(!n)return;const s={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;const r=(await e.resolveTags()).map(u=>({tag:u,id:ms.includes(u.tag)?ji(u):u.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const u of["body","head"]){const p=(d=n==null?void 0:n[u])==null?void 0:d.children;for(const b of[...p].filter(y=>ms.includes(y.tagName.toLowerCase())))o.elMap[b.getAttribute("data-hid")||ji(await lh(b))]=b}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(u,p,b){const y=`${u}:${p}`;o.sideEffects[y]=b,delete o.pendingSideEffects[y]}function a({id:u,$el:p,tag:b}){const y=b.tag.endsWith("Attrs");o.elMap[u]=p,y||(["textContent","innerHTML"].forEach(T=>{b[T]&&b[T]!==p[T]&&(p[T]=b[T])}),i(u,"el",()=>{o.elMap[u].remove(),delete o.elMap[u]})),Object.entries(b.props).forEach(([T,L])=>{const N=`attr:${T}`;if(T==="class")for(const k of(L||"").split(" ").filter(Boolean))y&&i(u,`${N}:${k}`,()=>p.classList.remove(k)),!p.classList.contains(k)&&p.classList.add(k);else p.getAttribute(T)!==L&&p.setAttribute(T,L===!0?"":String(L)),y&&i(u,N,()=>p.removeAttribute(T))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of r){const{tag:p,shouldRender:b,id:y}=u;if(b){if(p.tag==="title"){n.title=p.textContent;continue}u.$el=u.$el||o.elMap[y],u.$el?a(u):ms.includes(p.tag)&&c.push(u)}}for(const u of c){const p=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),a(u),l[p]=l[p]||n.createDocumentFragment(),l[p].appendChild(u.$el)}for(const u of r)await e.hooks.callHook("dom:renderTag",u,n,i);l.head&&n.head.appendChild(l.head),l.bodyOpen&&n.body.insertBefore(l.bodyOpen,n.body.firstChild),l.bodyClose&&n.body.appendChild(l.bodyClose),Object.values(o.pendingSideEffects).forEach(u=>u()),e._dom=o,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:r})}async function ch(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await Ql(e,t),delete e._domUpdatePromise,s()}))}function uh(e){return t=>{var s,r;const n=((r=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(o){ch(o,e)}}}}}const fh=["templateParams","htmlAttrs","bodyAttrs"],dh={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const n=Kl(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const r=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,o=t[r];if(o){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&fh.includes(s.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{c[l]&&(s.props[l]?(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),s.props[l]=`${c[l]} ${s.props[l]}`):s.props[l]=c[l])}),t[r].props={...c,...s.props};return}else if(s._e===o._e){o._duped=o._duped||[],s._d=`${o._d}:${o._duped.length+1}`,o._duped.push(s);return}else if(Os(s)>Os(o))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(ms.includes(s.tag)&&i===0){delete t[r];return}t[r]=s});const n=[];Object.values(t).forEach(s=>{const r=s._duped;delete s._duped,n.push(s),r&&n.push(...r)}),e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},ph={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},hh=["script","link","bodyAttrs"];function mh(e){const t={},n={};return Object.entries(e.props).forEach(([s,r])=>{s.startsWith("on")&&typeof r=="function"?(Xl.includes(s)&&(t[s]=`this.dataset.${s} = true`),n[s]=r):t[s]=r}),{props:t,eventHandlers:n}}const gh=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(hh.includes(n.tag)){const{props:s,eventHandlers:r}=mh(n);n.props=s,Object.keys(r).length&&((n.props.src||n.props.href)&&(n.key=n.key||Hr(n.props.src||n.props.href)),n._eventHandlers=r)}},"dom:renderTag":function(t,n,s){if(!t.tag._eventHandlers)return;const r=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([o,i])=>{const a=`${t.tag._d||t.tag._p}:${o}`,c=o.slice(2).toLowerCase(),l=`data-h-${c}`;if(s(t.id,a,()=>{}),t.$el.hasAttribute(l))return;t.$el.setAttribute(l,"");let d;const u=p=>{i(p),d==null||d.disconnect()};o in t.$el.dataset?u(new Event(o.replace("on",""))):Xl.includes(o)&&typeof MutationObserver<"u"?(d=new MutationObserver(p=>{p.some(y=>y.attributeName===`data-${o}`)&&(u(new Event(o.replace("on",""))),d==null||d.disconnect())}),d.observe(t.$el,{attributes:!0})):r.addEventListener(c,u),s(t.id,a,()=>{d==null||d.disconnect(),r.removeEventListener(c,u),t.$el.removeAttribute(l)})})}}}),yh=["link","style","script","noscript"],_h={hooks:{"tag:normalise":({tag:e})=>{e.key&&yh.includes(e.tag)&&(e.props["data-hid"]=e._h=Hr(e.key))}}},bh={hooks:{"tags:resolve":e=>{const t=n=>{var s;return(s=e.tags.find(r=>r._d===n))==null?void 0:s._p};for(const{prefix:n,offset:s}of ah)for(const r of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(r.tagPriority.replace(n,""));typeof o<"u"&&(r._p=o+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>Os(n)-Os(s))}}},vh={meta:"content",link:"href",htmlAttrs:"lang"},wh=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,s=(a=n.find(c=>c.tag==="title"))==null?void 0:a.textContent,r=n.findIndex(c=>c.tag==="templateParams"),o=r!==-1?n[r].props:{},i=o.separator||"|";delete o.separator,o.pageTitle=gs(o.pageTitle||s||"",o,i);for(const c of n.filter(l=>l.processTemplateParams!==!1)){const l=vh[c.tag];l&&typeof c.props[l]=="string"?c.props[l]=gs(c.props[l],o,i):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(d=>{typeof c[d]=="string"&&(c[d]=gs(c[d],o,i))})}e._templateParams=o,e._separator=i,t.tags=n.filter(c=>c.tag!=="templateParams")}}}),xh={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const s=t.findIndex(r=>r.tag==="title");if(s!==-1&&n!==-1){const r=Oi(t[n].textContent,t[s].textContent);r!==null?t[s].textContent=r||t[s].textContent:delete t[s]}else if(n!==-1){const r=Oi(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},kh={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Yl;function Sh(e={}){const t=Nh(e);return t.use(uh()),Yl=t}function Bi(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Nh(e={}){const t=Wl();t.addHooks(e.hooks||{}),e.document=e.document||(nh?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let r=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(c){const l=typeof c=="function"?c(a):c;(!l.key||!i.some(d=>d.key===l.key))&&(i.push(l),Bi(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const d={_i:r++,input:c,...l};return Bi(d.mode,n)&&(o.push(d),s()),{dispose(){o=o.filter(u=>u._i!==d._i),t.callHook("entries:updated",a),s()},patch(u){o=o.map(p=>(p._i===d._i&&(p.input=d.input=u),p)),s()}}},async resolveTags(){const c={tags:[],entries:[...o]};await t.callHook("entries:resolve",c);for(const l of c.entries){const d=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(d):d),l.resolvedInput)for(const u of await ih(l)){const p={tag:u,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",p),c.tags.push(p.tag)}}return await t.callHook("tags:beforeResolve",c),await t.callHook("tags:resolve",c),await t.callHook("tags:afterResolve",c),c.tags},ssr:n};return[dh,ph,gh,_h,bh,wh,xh,kh,...(e==null?void 0:e.plugins)||[]].forEach(c=>a.use(c)),a.hooks.callHook("init",a),a}function Th(){return Yl}const Lh=Rl.startsWith("3");function Ph(e){return typeof e=="function"?e():ie(e)}function Is(e,t=""){if(e instanceof Promise)return e;const n=Ph(e);return!e||!n?n:Array.isArray(n)?n.map(s=>Is(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,r])=>s==="titleTemplate"||s.startsWith("on")?[s,ie(r)]:[s,Is(r,s)])):n}const Ah={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Is(t.input)}}},Zl="usehead";function Rh(e){return{install(n){Lh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Zl,e))}}.install}function Ch(e={}){e.domDelayFn=e.domDelayFn||(n=>nn(()=>setTimeout(()=>n(),0)));const t=Sh(e);return t.use(Ah),t.install=Rh(t),t}const Yo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zo="__unhead_injection_handler__";function $h(e){Yo[Zo]=e}function Eh(){if(Zo in Yo)return Yo[Zo]();const e=hn(Zl);return e||Th()}function jh(e,t={}){const n=t.head||Eh();if(n)return n.ssr?n.push(e,t):Oh(n,e,t)}function Oh(e,t,n={}){const s=Te(!1),r=Te({});rl(()=>{r.value=s.value?{}:Is(t)});const o=e.push(r.value,n);return ct(r,a=>{o.patch(a)}),wn()&&(Pr(()=>{o.dispose()}),ll(()=>{s.value=!0}),al(()=>{s.value=!1})),o}function Ih(e){return{ctx:{table:e},matchAll:t=>tc(t,e)}}function ec(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,r])=>[s,ec(r)])):new Map(Object.entries(e[n]));return t}function Mh(e){return Ih(ec(e))}function tc(e,t){const n=[];for(const[r,o]of Hi(t.wildcard))e.startsWith(r)&&n.push(o);for(const[r,o]of Hi(t.dynamic))if(e.startsWith(r+"/")){const i="/"+e.slice(r.length).split("/").splice(2).join("/");n.push(...tc(i,o))}const s=t.static.get(e);return s&&n.push(s),n.filter(Boolean)}function Hi(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function xo(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function er(e,t,n=".",s){if(!xo(t))return er(e,{},n,s);const r=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(s&&s(r,o,i,n)||(Array.isArray(i)&&Array.isArray(r[o])?r[o]=[...i,...r[o]]:xo(i)&&xo(r[o])?r[o]=er(i,r[o],(n?`${n}.`:"")+o.toString(),s):r[o]=i))}return r}function nc(e){return(...t)=>t.reduce((n,s)=>er(n,s,"",e),{})}const Bh=nc(),Hh=nc((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Dh(e,t){try{return t in e}catch{return!1}}var Fh=Object.defineProperty,Uh=(e,t,n)=>t in e?Fh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gt=(e,t,n)=>(Uh(e,typeof t!="symbol"?t+"":t,n),n);class tr extends Error{constructor(t,n={}){super(t,n),Gt(this,"statusCode",500),Gt(this,"fatal",!1),Gt(this,"unhandled",!1),Gt(this,"statusMessage"),Gt(this,"data"),Gt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:nr(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=sc(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Gt(tr,"__h3_error__",!0);function Gh(e){if(typeof e=="string")return new tr(e);if(Wh(e))return e;const t=new tr(e.message??e.statusMessage??"",{cause:e.cause||e});if(Dh(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=nr(e.statusCode,t.statusCode):e.status&&(t.statusCode=nr(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;sc(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Wh(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Vh=/[^\u0009\u0020-\u007E]/g;function sc(e=""){return e.replace(Vh,"")}function nr(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const oc=Symbol("route"),rc="__nuxt_error",Dr=()=>Ja(Pe().payload,"error"),qh=e=>{const t=ic(e);try{const n=Pe(),s=Dr();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},zh=async(e={})=>{const t=Pe(),n=Dr();t.callHook("app:error:cleared",e),e.redirect&&await sn().replace(e.redirect),n.value=null},Kh=e=>!!e&&typeof e=="object"&&rc in e,ic=e=>{const t=Gh(e);return Object.defineProperty(t,rc,{value:!0,configurable:!1,writable:!1}),t},sn=()=>{var e;return(e=Pe())==null?void 0:e.$router},ac=()=>ml()?hn(oc,Pe()._route):Pe()._route;const Jh=()=>{try{if(Pe()._processingMiddleware)return!0}catch{return!0}return!1},lc=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Bl(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([d,u])=>u!==void 0).map(([d,u])=>`${d.toLowerCase()}=${u}`).join(", ");open(n,a,l)}return Promise.resolve()}const s=(t==null?void 0:t.external)||xn(n,{acceptRelative:!0});if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=kn(n).protocol;if(a&&Xd(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const r=Jh();if(!s&&r)return e;const o=sn(),i=Pe();return s?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?o.replace(e):o.push(e)},Xh={nuxt:{buildId:"27b77fe8-39b6-47c6-8e59-92691e30ab7d"}},Qh=Hh(Xh);function Yh(){const e=Pe();return e._appConfig||(e._appConfig=pt(Qh)),e._appConfig}const Zh={componentName:"NuxtLink"},em="#__nuxt";let ys,cc;function tm(){var t;const e=(t=Yh().nuxt)==null?void 0:t.buildId;return ys=$fetch(Mr(`builds/meta/${e}.json`)),ys.then(n=>{cc=Mh(n.matcher)}),ys}function no(){return ys||tm()}async function uc(e){return await no(),Bh({},...cc.matchAll(e).reverse())}function Di(e,t={}){const n=nm(e,t),s=Pe(),r=s._payloadCache=s._payloadCache||{};return n in r||(r[n]=sm(e).then(o=>o?fc(n).then(i=>i||(delete r[n],null)):(r[n]=null,null))),r[n]}const Fi="json";function nm(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||xn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return Dt(Gn().app.baseURL,n.pathname,s?`_payload.${s}.${Fi}`:`_payload.${Fi}`)}async function fc(e){const t=fetch(e).then(n=>n.text().then(dc));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function sm(e=ac().path){if(e=to(e),(await no()).prerendered.includes(e))return!0;const n=await uc(e);return!!n.prerender&&!n.redirect}let ls=null;async function om(){if(ls)return ls;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=dc(e.textContent||""),n=e.dataset.src?await fc(e.dataset.src):void 0;return ls={...t,...n,...window.__NUXT__},ls}function dc(e){return Xp(e,Pe()._payloadRevivers)}function rm(e,t){Pe()._payloadRevivers[e]=t}const Ui={NuxtError:e=>ic(e),EmptyShallowRef:e=>Oo(e==="_"?void 0:e==="0n"?BigInt(0):$s(e)),EmptyRef:e=>Te(e==="_"?void 0:e==="0n"?BigInt(0):$s(e)),ShallowRef:e=>Oo(e),ShallowReactive:e=>Ua(e),Ref:e=>Te(e),Reactive:e=>pt(e)},im=mt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Ui)rm(s,Ui[s]);Object.assign(e.payload,([t,n]=Vl(()=>e.runWithContext(om)),t=await t,n(),t)),window.__NUXT__=e.payload}}),am=[],lm=mt({name:"nuxt:head",enforce:"pre",setup(e){const t=Ch({plugins:am});$h(()=>Pe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await Ql(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}}),cm=async e=>{let t,n;const s=([t,n]=Vl(()=>uc(e.path)),t=await t,n(),t);if(s.redirect)return s.redirect},um=[cm];function ko(e){typeof e=="object"&&(e=Dl({pathname:e.path||"",search:Ml(e.query||{}),hash:e.hash||""}));const t=kn(e.toString());return{path:t.pathname,fullPath:e,query:Ir(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const fm=mt({name:"nuxt:router",enforce:"pre",setup(e){const t=ep(window.location.pathname,Gn().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},r=(u,p)=>(s[u].push(p),()=>s[u].splice(s[u].indexOf(p),1)),o=Gn().app.baseURL,i=pt(ko(t));async function a(u,p){try{const b=ko(u);for(const y of s["navigate:before"]){const T=await y(b,i);if(T===!1||T instanceof Error)return;if(typeof T=="string"&&T.length)return a(T,!0)}for(const y of s["resolve:before"])await y(b,i);Object.assign(i,b),window.history[p?"replaceState":"pushState"]({},"",Dt(o,b.fullPath)),e.isHydrating||await e.runWithContext(zh);for(const y of s["navigate:after"])await y(b,i)}catch(b){for(const y of s.error)await y(b)}}const c=Je(()=>i);for(const u in i)Object.defineProperty(c,u,{get(){return i[u]}});const l={currentRoute:c,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:u=>a(u,!1),replace:u=>a(u,!0),back:()=>window.history.go(-1),go:u=>window.history.go(u),forward:()=>window.history.go(1),beforeResolve:u=>r("resolve:before",u),beforeEach:u=>r("navigate:before",u),afterEach:u=>r("navigate:after",u),onError:u=>r("error",u),resolve:ko,addRoute:(u,p)=>{n.push(p)},getRoutes:()=>n,hasRoute:u=>n.some(p=>p.name===u),removeRoute:u=>{const p=n.findIndex(b=>b.name===u);p!==-1&&n.splice(p,1)}};e.vueApp.component("RouterLink",Ve({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(u,{slots:p})=>{const b=()=>a(u.to,u.replace);return()=>{var T;const y=l.resolve(u.to);return u.custom?(T=p.default)==null?void 0:T.call(p,{href:u.to,navigate:b,route:y}):Ps("a",{href:u.to,onClick:L=>(L.preventDefault(),b())},p)}}})),window.addEventListener("popstate",u=>{const p=u.target.location;l.replace(p.href.replace(p.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const d=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{l.beforeEach(async(u,p)=>{u.meta=pt(u.meta||{}),e.isHydrating&&d&&!Xt(u.meta.layout)&&(u.meta.layout=d),e._processingMiddleware=!0;{const b=new Set([...um,...e._middleware.global]);for(const y of b){const T=await e.runWithContext(()=>y(u,p));if(T!==!0&&(T||T===!1))return T}}}),l.afterEach(()=>{delete e._processingMiddleware}),await l.replace(t),sp(i.fullPath,t)||await e.runWithContext(()=>lc(i.fullPath))}),{provide:{route:i,router:l}}}}),sr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),dm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Fr=e=>{const t=Pe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{sr(e)}):sr(e)},pm=mt({name:"nuxt:payload",setup(e){sn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Di(t.path);s&&Object.assign(e.static.data,s.data)}),Fr(()=>{var t;e.hooks.hook("link:prefetch",async n=>{kn(n).protocol||await Di(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(no,1e3)})}}),hm=mt(e=>{let t;async function n(){const s=await no();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const r=await $fetch(Mr("builds/latest.json"));r.id!==s.id&&e.hooks.callHook("app:manifest:update",r)}Fr(()=>{t=setTimeout(n,1e3*60*60)})}),mm=Ns(()=>js(()=>import("./Icon.2tyjEtKK.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default)),gm=Ns(()=>js(()=>import("./IconCSS.kc6lqUGY.js"),__vite__mapDeps([3,1,4]),import.meta.url).then(e=>e.default)),ym=[["Icon",mm],["IconCSS",gm]],_m=mt({name:"nuxt:global-components",setup(e){for(const[t,n]of ym)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),bm="$s";function vm(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const r=bm+n,o=Pe(),i=Ja(o.payload.state,r);if(i.value===void 0&&s){const a=s();if(Ee(a))return o.payload.state[r]=a,a;i.value=a}return i}const wm="__NUXT_COLOR_MODE__",xm="nuxt-color-mode",gt=window[wm]||{},km=mt(e=>{const t=vm("color-mode",()=>pt({preference:gt.preference,value:gt.value,unknown:!1,forced:!1})).value;sn().afterEach(r=>{const o=r.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?gt.getColorScheme():t.preference)});let n;function s(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=gt.getColorScheme())}))}ct(()=>t.preference,r=>{var o;t.forced||(r==="system"?(t.value=gt.getColorScheme(),s()):t.value=r,(o=window.localStorage)==null||o.setItem(xm,r))},{immediate:!0}),ct(()=>t.value,(r,o)=>{gt.removeColorScheme(o),gt.addColorScheme(r)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=gt.preference,t.value=gt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Sm=mt(()=>{});function Nm(e={}){const t=e.path||window.location.pathname;let n={};try{n=$s(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Pe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Tm=mt({name:"nuxt:chunk-reload",setup(e){const t=sn(),n=Gn(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:o})=>{s.add(o)});function r(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:Dt(n.app.baseURL,o.fullPath);Nm({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((o,i)=>{s.has(o)&&r(i)})}}),Lm=["top","right","bottom","left"],Gi=["start","end"],Wi=Lm.reduce((e,t)=>e.concat(t,t+"-"+Gi[0],t+"-"+Gi[1]),[]),Wn=Math.min,Wt=Math.max,Pm={left:"right",right:"left",bottom:"top",top:"bottom"},Am={start:"end",end:"start"};function or(e,t,n){return Wt(e,Wn(t,n))}function on(e,t){return typeof e=="function"?e(t):e}function ht(e){return e.split("-")[0]}function ot(e){return e.split("-")[1]}function pc(e){return e==="x"?"y":"x"}function Ur(e){return e==="y"?"height":"width"}function Yn(e){return["top","bottom"].includes(ht(e))?"y":"x"}function Gr(e){return pc(Yn(e))}function hc(e,t,n){n===void 0&&(n=!1);const s=ot(e),r=Gr(e),o=Ur(r);let i=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=Bs(i)),[i,Bs(i)]}function Rm(e){const t=Bs(e);return[Ms(e),t,Ms(t)]}function Ms(e){return e.replace(/start|end/g,t=>Am[t])}function Cm(e,t,n){const s=["left","right"],r=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:s:t?s:r;case"left":case"right":return t?o:i;default:return[]}}function $m(e,t,n,s){const r=ot(e);let o=Cm(ht(e),n==="start",s);return r&&(o=o.map(i=>i+"-"+r),t&&(o=o.concat(o.map(Ms)))),o}function Bs(e){return e.replace(/left|right|bottom|top/g,t=>Pm[t])}function Em(e){return{top:0,right:0,bottom:0,left:0,...e}}function mc(e){return typeof e!="number"?Em(e):{top:e,right:e,bottom:e,left:e}}function En(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Vi(e,t,n){let{reference:s,floating:r}=e;const o=Yn(t),i=Gr(t),a=Ur(i),c=ht(t),l=o==="y",d=s.x+s.width/2-r.width/2,u=s.y+s.height/2-r.height/2,p=s[a]/2-r[a]/2;let b;switch(c){case"top":b={x:d,y:s.y-r.height};break;case"bottom":b={x:d,y:s.y+s.height};break;case"right":b={x:s.x+s.width,y:u};break;case"left":b={x:s.x-r.width,y:u};break;default:b={x:s.x,y:s.y}}switch(ot(t)){case"start":b[i]-=p*(n&&l?-1:1);break;case"end":b[i]+=p*(n&&l?-1:1);break}return b}const jm=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=Vi(l,s,c),p=s,b={},y=0;for(let T=0;T<a.length;T++){const{name:L,fn:N}=a[T],{x:k,y:h,data:v,reset:_}=await N({x:d,y:u,initialPlacement:s,placement:p,strategy:r,middlewareData:b,rects:l,platform:i,elements:{reference:e,floating:t}});if(d=k??d,u=h??u,b={...b,[L]:{...b[L],...v}},_&&y<=50){y++,typeof _=="object"&&(_.placement&&(p=_.placement),_.rects&&(l=_.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):_.rects),{x:d,y:u}=Vi(l,p,c)),T=-1;continue}}return{x:d,y:u,placement:p,strategy:r,middlewareData:b}};async function so(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:o,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:p=!1,padding:b=0}=on(t,e),y=mc(b),L=a[p?u==="floating"?"reference":"floating":u],N=En(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(L)))==null||n?L:L.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:l,rootBoundary:d,strategy:c})),k=u==="floating"?{...i.floating,x:s,y:r}:i.reference,h=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),v=await(o.isElement==null?void 0:o.isElement(h))?await(o.getScale==null?void 0:o.getScale(h))||{x:1,y:1}:{x:1,y:1},_=En(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:h,strategy:c}):k);return{top:(N.top-_.top+y.top)/v.y,bottom:(_.bottom-N.bottom+y.bottom)/v.y,left:(N.left-_.left+y.left)/v.x,right:(_.right-N.right+y.right)/v.x}}const Om=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:o,platform:i,elements:a,middlewareData:c}=t,{element:l,padding:d=0}=on(e,t)||{};if(l==null)return{};const u=mc(d),p={x:n,y:s},b=Gr(r),y=Ur(b),T=await i.getDimensions(l),L=b==="y",N=L?"top":"left",k=L?"bottom":"right",h=L?"clientHeight":"clientWidth",v=o.reference[y]+o.reference[b]-p[b]-o.floating[y],_=p[b]-o.reference[b],f=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let g=f?f[h]:0;(!g||!await(i.isElement==null?void 0:i.isElement(f)))&&(g=a.floating[h]||o.floating[y]);const w=v/2-_/2,m=g/2-T[y]/2-1,x=Wn(u[N],m),S=Wn(u[k],m),P=x,C=g-T[y]-S,O=g/2-T[y]/2+w,H=or(P,O,C),j=!c.arrow&&ot(r)!=null&&O!=H&&o.reference[y]/2-(O<P?x:S)-T[y]/2<0,K=j?O<P?O-P:O-C:0;return{[b]:p[b]+K,data:{[b]:H,centerOffset:O-H-K,...j&&{alignmentOffset:K}},reset:j}}});function Im(e,t,n){return(e?[...n.filter(r=>ot(r)===e),...n.filter(r=>ot(r)!==e)]:n.filter(r=>ht(r)===r)).filter(r=>e?ot(r)===e||(t?Ms(r)!==r:!1):!0)}const Mm=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:o,middlewareData:i,placement:a,platform:c,elements:l}=t,{crossAxis:d=!1,alignment:u,allowedPlacements:p=Wi,autoAlignment:b=!0,...y}=on(e,t),T=u!==void 0||p===Wi?Im(u||null,b,p):p,L=await so(t,y),N=((n=i.autoPlacement)==null?void 0:n.index)||0,k=T[N];if(k==null)return{};const h=hc(k,o,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(a!==k)return{reset:{placement:T[0]}};const v=[L[ht(k)],L[h[0]],L[h[1]]],_=[...((s=i.autoPlacement)==null?void 0:s.overflows)||[],{placement:k,overflows:v}],f=T[N+1];if(f)return{data:{index:N+1,overflows:_},reset:{placement:f}};const g=_.map(x=>{const S=ot(x.placement);return[x.placement,S&&d?x.overflows.slice(0,2).reduce((P,C)=>P+C,0):x.overflows[0],x.overflows]}).sort((x,S)=>x[1]-S[1]),m=((r=g.filter(x=>x[2].slice(0,ot(x[0])?2:3).every(S=>S<=0))[0])==null?void 0:r[0])||g[0][0];return m!==a?{data:{index:N+1,overflows:_},reset:{placement:m}}:{}}}},Bm=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,s;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:c,elements:l}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:T=!0,...L}=on(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const N=ht(r),k=ht(a)===a,h=await(c.isRTL==null?void 0:c.isRTL(l.floating)),v=p||(k||!T?[Bs(a)]:Rm(a));!p&&y!=="none"&&v.push(...$m(a,T,y,h));const _=[a,...v],f=await so(t,L),g=[];let w=((s=o.flip)==null?void 0:s.overflows)||[];if(d&&g.push(f[N]),u){const P=hc(r,i,h);g.push(f[P[0]],f[P[1]])}if(w=[...w,{placement:r,overflows:g}],!g.every(P=>P<=0)){var m,x;const P=(((m=o.flip)==null?void 0:m.index)||0)+1,C=_[P];if(C)return{data:{index:P,overflows:w},reset:{placement:C}};let O=(x=w.filter(H=>H.overflows[0]<=0).sort((H,j)=>H.overflows[1]-j.overflows[1])[0])==null?void 0:x.placement;if(!O)switch(b){case"bestFit":{var S;const H=(S=w.map(j=>[j.placement,j.overflows.filter(K=>K>0).reduce((K,q)=>K+q,0)]).sort((j,K)=>j[1]-K[1])[0])==null?void 0:S[0];H&&(O=H);break}case"initialPlacement":O=a;break}if(r!==O)return{reset:{placement:O}}}return{}}}};async function Hm(e,t){const{placement:n,platform:s,elements:r}=e,o=await(s.isRTL==null?void 0:s.isRTL(r.floating)),i=ht(n),a=ot(n),c=Yn(n)==="y",l=["left","top"].includes(i)?-1:1,d=o&&c?-1:1,u=on(t,e);let{mainAxis:p,crossAxis:b,alignmentAxis:y}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return a&&typeof y=="number"&&(b=a==="end"?y*-1:y),c?{x:b*d,y:p*l}:{x:p*l,y:b*d}}const Dm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:o,placement:i,middlewareData:a}=t,c=await Hm(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+c.x,y:o+c.y,data:{...c,placement:i}}}}},Fm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:L=>{let{x:N,y:k}=L;return{x:N,y:k}}},...c}=on(e,t),l={x:n,y:s},d=await so(t,c),u=Yn(ht(r)),p=pc(u);let b=l[p],y=l[u];if(o){const L=p==="y"?"top":"left",N=p==="y"?"bottom":"right",k=b+d[L],h=b-d[N];b=or(k,b,h)}if(i){const L=u==="y"?"top":"left",N=u==="y"?"bottom":"right",k=y+d[L],h=y-d[N];y=or(k,y,h)}const T=a.fn({...t,[p]:b,[u]:y});return{...T,data:{x:T.x-n,y:T.y-s}}}}},Um=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:s,platform:r,elements:o}=t,{apply:i=()=>{},...a}=on(e,t),c=await so(t,a),l=ht(n),d=ot(n),u=Yn(n)==="y",{width:p,height:b}=s.floating;let y,T;l==="top"||l==="bottom"?(y=l,T=d===(await(r.isRTL==null?void 0:r.isRTL(o.floating))?"start":"end")?"left":"right"):(T=l,y=d==="end"?"top":"bottom");const L=b-c[y],N=p-c[T],k=!t.middlewareData.shift;let h=L,v=N;if(u){const f=p-c.left-c.right;v=d||k?Wn(N,f):f}else{const f=b-c.top-c.bottom;h=d||k?Wn(L,f):f}if(k&&!d){const f=Wt(c.left,0),g=Wt(c.right,0),w=Wt(c.top,0),m=Wt(c.bottom,0);u?v=p-2*(f!==0||g!==0?f+g:Wt(c.left,c.right)):h=b-2*(w!==0||m!==0?w+m:Wt(c.top,c.bottom))}await i({...t,availableWidth:v,availableHeight:h});const _=await r.getDimensions(o.floating);return p!==_.width||b!==_.height?{reset:{rects:!0}}:{}}}};function et(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ut(e){return et(e).getComputedStyle(e)}const qi=Math.min,jn=Math.max,Hs=Math.round;function gc(e){const t=ut(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,o=e.offsetHeight,i=Hs(n)!==r||Hs(s)!==o;return i&&(n=r,s=o),{width:n,height:s,fallback:i}}function Ht(e){return _c(e)?(e.nodeName||"").toLowerCase():""}let cs;function yc(){if(cs)return cs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(cs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),cs):navigator.userAgent}function ft(e){return e instanceof et(e).HTMLElement}function jt(e){return e instanceof et(e).Element}function _c(e){return e instanceof et(e).Node}function zi(e){return typeof ShadowRoot>"u"?!1:e instanceof et(e).ShadowRoot||e instanceof ShadowRoot}function oo(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function Gm(e){return["table","td","th"].includes(Ht(e))}function rr(e){const t=/firefox/i.test(yc()),n=ut(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const o=n.contain;return o!=null&&o.includes(r)})}function bc(){return!/^((?!chrome|android).)*safari/i.test(yc())}function Wr(e){return["html","body","#document"].includes(Ht(e))}function vc(e){return jt(e)?e:e.contextElement}const wc={x:1,y:1};function gn(e){const t=vc(e);if(!ft(t))return wc;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:o}=gc(t);let i=(o?Hs(n.width):n.width)/s,a=(o?Hs(n.height):n.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Vn(e,t,n,s){var r,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=vc(e);let c=wc;t&&(s?jt(s)&&(c=gn(s)):c=gn(e));const l=a?et(a):window,d=!bc()&&n;let u=(i.left+(d&&((r=l.visualViewport)==null?void 0:r.offsetLeft)||0))/c.x,p=(i.top+(d&&((o=l.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,b=i.width/c.x,y=i.height/c.y;if(a){const T=et(a),L=s&&jt(s)?et(s):s;let N=T.frameElement;for(;N&&s&&L!==T;){const k=gn(N),h=N.getBoundingClientRect(),v=getComputedStyle(N);h.x+=(N.clientLeft+parseFloat(v.paddingLeft))*k.x,h.y+=(N.clientTop+parseFloat(v.paddingTop))*k.y,u*=k.x,p*=k.y,b*=k.x,y*=k.y,u+=h.x,p+=h.y,N=et(N).frameElement}}return{width:b,height:y,top:p,right:u+b,bottom:p+y,left:u,x:u,y:p}}function Ot(e){return((_c(e)?e.ownerDocument:e.document)||window.document).documentElement}function ro(e){return jt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xc(e){return Vn(Ot(e)).left+ro(e).scrollLeft}function qn(e){if(Ht(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zi(e)&&e.host||Ot(e);return zi(t)?t.host:t}function kc(e){const t=qn(e);return Wr(t)?t.ownerDocument.body:ft(t)&&oo(t)?t:kc(t)}function Ds(e,t){var n;t===void 0&&(t=[]);const s=kc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=et(s);return r?t.concat(o,o.visualViewport||[],oo(s)?s:[]):t.concat(s,Ds(s))}function Ki(e,t,n){return t==="viewport"?En(function(s,r){const o=et(s),i=Ot(s),a=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,d=0,u=0;if(a){c=a.width,l=a.height;const p=bc();(p||!p&&r==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:c,height:l,x:d,y:u}}(e,n)):jt(t)?En(function(s,r){const o=Vn(s,!0,r==="fixed"),i=o.top+s.clientTop,a=o.left+s.clientLeft,c=ft(s)?gn(s):{x:1,y:1};return{width:s.clientWidth*c.x,height:s.clientHeight*c.y,x:a*c.x,y:i*c.y}}(t,n)):En(function(s){const r=Ot(s),o=ro(s),i=s.ownerDocument.body,a=jn(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),c=jn(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let l=-o.scrollLeft+xc(s);const d=-o.scrollTop;return ut(i).direction==="rtl"&&(l+=jn(r.clientWidth,i.clientWidth)-a),{width:a,height:c,x:l,y:d}}(Ot(e)))}function Ji(e){return ft(e)&&ut(e).position!=="fixed"?e.offsetParent:null}function Xi(e){const t=et(e);let n=Ji(e);for(;n&&Gm(n)&&ut(n).position==="static";)n=Ji(n);return n&&(Ht(n)==="html"||Ht(n)==="body"&&ut(n).position==="static"&&!rr(n))?t:n||function(s){let r=qn(s);for(;ft(r)&&!Wr(r);){if(rr(r))return r;r=qn(r)}return null}(e)||t}function Wm(e,t,n){const s=ft(t),r=Ot(t),o=Vn(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Ht(t)!=="body"||oo(r))&&(i=ro(t)),ft(t)){const c=Vn(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else r&&(a.x=xc(r));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const Vm={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=n==="clippingAncestors"?function(l,d){const u=d.get(l);if(u)return u;let p=Ds(l).filter(L=>jt(L)&&Ht(L)!=="body"),b=null;const y=ut(l).position==="fixed";let T=y?qn(l):l;for(;jt(T)&&!Wr(T);){const L=ut(T),N=rr(T);(y?N||b:N||L.position!=="static"||!b||!["absolute","fixed"].includes(b.position))?b=L:p=p.filter(k=>k!==T),T=qn(T)}return d.set(l,p),p}(t,this._c):[].concat(n),i=[...o,s],a=i[0],c=i.reduce((l,d)=>{const u=Ki(t,d,r);return l.top=jn(u.top,l.top),l.right=qi(u.right,l.right),l.bottom=qi(u.bottom,l.bottom),l.left=jn(u.left,l.left),l},Ki(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=ft(n),o=Ot(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((r||!r&&s!=="fixed")&&((Ht(n)!=="body"||oo(o))&&(i=ro(n)),ft(n))){const l=Vn(n);a=gn(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+c.x,y:t.y*a.y-i.scrollTop*a.y+c.y}},isElement:jt,getDimensions:function(e){return ft(e)?gc(e):e.getBoundingClientRect()},getOffsetParent:Xi,getDocumentElement:Ot,getScale:gn,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Xi,o=this.getDimensions;return{reference:Wm(t,await r(n),s),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ut(e).direction==="rtl"},qm=(e,t,n)=>{const s=new Map,r={platform:Vm,...n},o={...r.platform,_c:s};return jm(e,t,{...r,platform:o})};function Sc(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Sc(e[n],t[n]):e[n]=t[n])}const vt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function zn(e,t){let n=vt.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=vt.themes[n.$extend]||{}:(n=null,s=vt[t]):n=null;while(n);return s}function zm(e){const t=[e];let n=vt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=vt.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function Qi(e){const t=[e];let n=vt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=vt.themes[n.$extend]||{}):n=null;while(n);return t}let Yt=!1;if(typeof window<"u"){Yt=!1;try{const e=Object.defineProperty({},"passive",{get(){Yt=!0}});window.addEventListener("test",null,e)}catch{}}let Nc=!1;typeof window<"u"&&typeof navigator<"u"&&(Nc=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tc=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Yi={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Zi={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ea(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function So(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const nt=[];let Ut=null;const ta={};function na(e){let t=ta[e];return t||(t=ta[e]=[]),t}let ir=function(){};typeof window<"u"&&(ir=window.Element);function de(e){return function(t){return zn(t.theme,e)}}const No="__floating-vue__popper",Lc=()=>Ve({name:"VPopper",provide(){return{[No]:{parentPopper:this}}},inject:{[No]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:de("disabled")},positioningDisabled:{type:Boolean,default:de("positioningDisabled")},placement:{type:String,default:de("placement"),validator:e=>Tc.includes(e)},delay:{type:[String,Number,Object],default:de("delay")},distance:{type:[Number,String],default:de("distance")},skidding:{type:[Number,String],default:de("skidding")},triggers:{type:Array,default:de("triggers")},showTriggers:{type:[Array,Function],default:de("showTriggers")},hideTriggers:{type:[Array,Function],default:de("hideTriggers")},popperTriggers:{type:Array,default:de("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:de("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:de("popperHideTriggers")},container:{type:[String,Object,ir,Boolean],default:de("container")},boundary:{type:[String,ir],default:de("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:de("strategy")},autoHide:{type:[Boolean,Function],default:de("autoHide")},handleResize:{type:Boolean,default:de("handleResize")},instantMove:{type:Boolean,default:de("instantMove")},eagerMount:{type:Boolean,default:de("eagerMount")},popperClass:{type:[String,Array,Object],default:de("popperClass")},computeTransformOrigin:{type:Boolean,default:de("computeTransformOrigin")},autoMinSize:{type:Boolean,default:de("autoMinSize")},autoSize:{type:[Boolean,String],default:de("autoSize")},autoMaxSize:{type:Boolean,default:de("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:de("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:de("preventOverflow")},overflowPadding:{type:[Number,String],default:de("overflowPadding")},arrowPadding:{type:[Number,String],default:de("arrowPadding")},arrowOverflow:{type:Boolean,default:de("arrowOverflow")},flip:{type:Boolean,default:de("flip")},shift:{type:Boolean,default:de("shift")},shiftCrossAxis:{type:Boolean,default:de("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:de("noAutoFocus")},disposeTimeout:{type:Number,default:de("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[No])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Dm({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Mm({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Fm({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Bm({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Om({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return s.startsWith("top")||s.startsWith("bottom")?i=Math.abs(a)>r.reference.width/2:i=Math.abs(a)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let c,l;return o.startsWith("top")||o.startsWith("bottom")?c=r.reference.width:l=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=l!=null?`${l}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Um({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await qm(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ut&&this.instantMove&&Ut.instantMove&&Ut!==this.parentPopper){Ut.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ut=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await So(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ds(this.$_referenceNode),...Ds(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),o=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<nt.length;n++)t=nt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}nt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Qi(this.theme))na(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await So(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,ea(nt,this),nt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Qi(this.theme)){const s=na(n);ea(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ut===this&&(Ut=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await So(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Yi,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Yi,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Zi,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Zi,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,Yt?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let o=n;s!=null&&(o=typeof s=="function"?s(o):s),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:o}=n;!e||e===r?s.forEach(i=>i.removeEventListener(r,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(On>=e.left&&On<=e.right&&In>=e.top&&In<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=On-Nt,s=In-Tt,r=t.left+t.width/2-Nt+(t.top+t.height/2)-Tt+t.width+t.height,o=Nt+n*r,i=Tt+s*r;return us(Nt,Tt,o,i,t.left,t.top,t.left,t.bottom)||us(Nt,Tt,o,i,t.left,t.top,t.right,t.top)||us(Nt,Tt,o,i,t.right,t.top,t.right,t.bottom)||us(Nt,Tt,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Nc?(document.addEventListener("touchstart",sa,Yt?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Jm,Yt?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",sa,!0),window.addEventListener("click",Km,!0)),window.addEventListener("resize",Ym));function sa(e){for(let t=0;t<nt.length;t++){const n=nt[t];try{const s=n.popperNode();n.$_mouseDownContains=s.contains(e.target)}catch{}}}function Km(e){Pc(e)}function Jm(e){Pc(e,!0)}function Pc(e,t=!1){const n={};for(let s=nt.length-1;s>=0;s--){const r=nt[s];try{const o=r.$_containsGlobalTarget=Xm(r,e);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&oa(r,o,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=r.parentPopper;for(;i&&oa(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Xm(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function oa(e,t,n){return n.closeAllPopover||n.closePopover&&t||Qm(e,n)&&!t}function Qm(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Ym(e){for(let t=0;t<nt.length;t++)nt[t].$_computePosition(e)}let Nt=0,Tt=0,On=0,In=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Nt=On,Tt=In,On=e.clientX,In=e.clientY},Yt?{passive:!0}:void 0);function us(e,t,n,s,r,o,i,a){const c=((i-r)*(t-o)-(a-o)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t)),l=((n-e)*(t-o)-(s-t)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t));return c>=0&&c<=1&&l>=0&&l<=1}const Zm={extends:Lc()},io=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function eg(e,t,n,s,r,o){return X(),re("div",{ref:"reference",class:Ae(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ge(e.$slots,"default",Ta($r(e.slotData)))],2)}const tg=io(Zm,[["render",eg]]);function ng(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let _s;function ar(){ar.init||(ar.init=!0,_s=ng()!==-1)}var ao={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ar(),nn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",_s&&this.$el.appendChild(e),e.data="about:blank",_s||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!_s&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const sg=of();el("data-v-b329ee4c");const og={class:"resize-observer",tabindex:"-1"};tl();const rg=sg((e,t,n,s,r,o)=>(X(),Ne("div",og)));ao.render=rg;ao.__scopeId="data-v-b329ee4c";ao.__file="src/components/ResizeObserver.vue";const Ac=(e="theme")=>({computed:{themeClass(){return zm(this[e])}}}),ig=Ve({name:"VPopperContent",components:{ResizeObserver:ao},mixins:[Ac()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),ag=["id","aria-hidden","tabindex","data-popper-placement"],lg={ref:"inner",class:"v-popper__inner"},cg=V("div",{class:"v-popper__arrow-outer"},null,-1),ug=V("div",{class:"v-popper__arrow-inner"},null,-1),fg=[cg,ug];function dg(e,t,n,s,r,o){const i=Qt("ResizeObserver");return X(),re("div",{id:e.popperId,ref:"popover",class:Ae(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:zt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Cd(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[V("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),V("div",{class:"v-popper__wrapper",style:zt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[V("div",lg,[e.mounted?(X(),re(Se,{key:0},[V("div",null,[Ge(e.$slots,"default")]),e.handleResize?(X(),Ne(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):je("",!0)],64)):je("",!0)],512),V("div",{ref:"arrow",class:"v-popper__arrow-container",style:zt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},fg,4)],4)],46,ag)}const Rc=io(ig,[["render",dg]]),Cc={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let lr=function(){};typeof window<"u"&&(lr=window.Element);const pg=Ve({name:"VPopperWrapper",components:{Popper:tg,PopperContent:Rc},mixins:[Cc,Ac("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,lr,Boolean],default:void 0},boundary:{type:[String,lr],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function hg(e,t,n,s,r,o){const i=Qt("PopperContent"),a=Qt("Popper");return X(),Ne(a,Zs({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=c=>e.$emit("update:shown",c)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ae(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:p,show:b,hide:y,handleResize:T,onResize:L,classes:N,result:k})=>[Ge(e.$slots,"default",{shown:l,show:b,hide:y}),Y(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:d,"skip-transition":u,"auto-hide":p,"handle-resize":T,classes:N,result:k,onHide:y,onResize:L},{default:ae(()=>[Ge(e.$slots,"popper",{shown:l,hide:y})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Vr=io(pg,[["render",hg]]),mg={...Vr,name:"VDropdown",vPopperTheme:"dropdown"},gg={...Vr,name:"VMenu",vPopperTheme:"menu"},yg={...Vr,name:"VTooltip",vPopperTheme:"tooltip"},_g=Ve({name:"VTooltipDirective",components:{Popper:Lc(),PopperContent:Rc},mixins:[Cc],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>zn(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>zn(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(s=>this.onResult(t,s)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),bg=["innerHTML"],vg=["textContent"];function wg(e,t,n,s,r,o){const i=Qt("PopperContent"),a=Qt("Popper");return X(),Ne(a,Zs({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ae(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:p,hide:b,handleResize:y,onResize:T,classes:L,result:N})=>[Y(i,{ref:"popperContent",class:Ae({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:d,"skip-transition":u,"auto-hide":p,"handle-resize":y,classes:L,result:N,onHide:b,onResize:T},{default:ae(()=>[e.html?(X(),re("div",{key:0,innerHTML:e.finalContent},null,8,bg)):(X(),re("div",{key:1,textContent:Me(e.finalContent)},null,8,vg))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const xg=io(_g,[["render",wg]]),$c="v-popper--has-tooltip";function kg(e,t){let n=e.placement;if(!n&&t)for(const s of Tc)t[s]&&(n=s);return n||(n=zn(e.theme||"tooltip","placement")),n}function Ec(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=kg(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let To,Kn,Sg=0;function Ng(){if(To)return;Kn=Te([]),To=jl({name:"VTooltipDirectiveApp",setup(){return{directives:Kn}},render(){return this.directives.map(t=>Ps(xg,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),To.mount(e)}function Tg(e,t,n){Ng();const s=Te(Ec(e,t,n)),r=Te(!1),o={id:Sg++,options:s,shown:r};return Kn.value.push(o),e.classList&&e.classList.add($c),e.$_popper={options:s,item:o,show(){r.value=!0},hide(){r.value=!1}}}function jc(e){if(e.$_popper){const t=Kn.value.indexOf(e.$_popper.item);t!==-1&&Kn.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove($c)}function ra(e,{value:t,modifiers:n}){const s=Ec(e,t,n);if(!s.content||zn(s.theme||"tooltip","disabled"))jc(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=Tg(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const Lg={beforeMount:ra,updated:ra,beforeUnmount(e){jc(e)}};function ia(e){e.addEventListener("click",Oc),e.addEventListener("touchstart",Ic,Yt?{passive:!0}:!1)}function aa(e){e.removeEventListener("click",Oc),e.removeEventListener("touchstart",Ic),e.removeEventListener("touchend",Mc),e.removeEventListener("touchcancel",Bc)}function Oc(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ic(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Mc),t.addEventListener("touchcancel",Bc)}}function Mc(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Bc(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Pg={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&ia(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?ia(e):aa(e))},beforeUnmount(e){aa(e)}};function Ag(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Sc(vt,t),e.directive("tooltip",Lg),e.directive("close-popper",Pg),e.component("VTooltip",yg),e.component("VDropdown",mg),e.component("VMenu",gg))}const Rg={version:"5.0.3",install:Ag,options:vt},Cg=mt(e=>{e.vueApp.use(Rg)}),$g=[im,lm,fm,pm,hm,_m,km,Sm,Tm,Cg],qr=Ve({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(X(),re("div",{class:Ae(["n-icon",t.icon])},null,2))}}),lo=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Eg={},jg={class:"n-badge"};function Og(e,t){return X(),re("span",jg,[Ge(e.$slots,"default")])}const Hc=lo(Eg,[["render",Og]]);async function Dc(e,t=sn()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const r=t._preloadPromises=t._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>Dc(e,t));t._routePreloaded.add(n);const o=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>r.splice(r.indexOf(a)));r.push(a)}await Promise.all(r)}const Ig=(...e)=>e.find(t=>t!==void 0),Mg="noopener noreferrer";function Bg(e){const t=e.componentName||"NuxtLink",n=(s,r)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;if(typeof s=="string")return la(s,e.trailingSlash);const o="path"in s?s.path:r(s).path;return{...s,name:void 0,path:la(o,e.trailingSlash)}};return Ve({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(s,{slots:r}){const o=sn(),i=Gn(),a=Je(()=>{const b=s.to||s.href||"";return n(b,o.resolve)}),c=Je(()=>typeof a.value=="string"&&xn(a.value,{acceptRelative:!0})),l=Je(()=>s.external||s.target&&s.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||c.value),d=Te(!1),u=Te(null),p=b=>{var y;u.value=s.custom?(y=b==null?void 0:b.$el)==null?void 0:y.nextElementSibling:b==null?void 0:b.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Fg()){const y=Pe();let T,L=null;Qs(()=>{const N=Dg();Fr(()=>{T=sr(()=>{var k;(k=u==null?void 0:u.value)!=null&&k.tagName&&(L=N.observe(u.value,async()=>{L==null||L(),L=null;const h=typeof a.value=="string"?a.value:o.resolve(a.value).fullPath;await Promise.all([y.hooks.callHook("link:prefetch",h).catch(()=>{}),!l.value&&Dc(a.value,o).catch(()=>{})]),d.value=!0}))})})}),Pr(()=>{T&&dm(T),L==null||L(),L=null})}return()=>{var N,k;if(!l.value){const h={ref:p,to:a.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(d.value&&(h.class=s.prefetchedClass||e.prefetchedClass),h.rel=s.rel),Ps(Qt("RouterLink"),h,r.default)}const b=typeof a.value=="object"?((N=o.resolve(a.value))==null?void 0:N.href)??null:a.value&&!s.external&&!c.value?n(Dt(i.app.baseURL,a.value),o.resolve):a.value||null,y=s.target||null,T=s.noRel?null:Ig(s.rel,e.externalRelAttribute,b?Mg:"")||null,L=()=>lc(b,{replace:s.replace});return s.custom?r.default?r.default({href:b,navigate:L,get route(){if(!b)return;const h=kn(b);return{path:h.pathname,fullPath:h.pathname,get query(){return Ir(h.search)},hash:h.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:b}},rel:T,target:y,isExternal:l.value,isActive:!1,isExactActive:!1}):null:Ps("a",{ref:u,href:b,rel:T,target:y},(k=r.default)==null?void 0:k.call(r))}}})}const Hg=Bg(Zh);function la(e,t){const n=t==="append"?Rs:to;return xn(e)&&!e.startsWith("http")?e:n(e,!0)}function Dg(){const e=Pe();if(e._observer)return e._observer;let t=null;const n=new Map,s=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function Fg(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Ug={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Fc=Ve({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Je(()=>t.href||t.to);return(s,r)=>{const o=Hg;return X(),Ne(o,Zs(n.value?{href:n.value,target:s.target,rel:s.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||s.underline}}),{default:ae(()=>[Ge(s.$slots,"default"),n.value&&s.target==="_blank"?(X(),re("div",Ug)):je("",!0)]),_:3},16,["class"])}}}),Gg={},Wg={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Vg=Zf('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),qg=[Vg];function zg(e,t){return X(),re("svg",Wg,qg)}const Kg=lo(Gg,[["render",zg]]),Jg={},Xg={class:"n-loading n-panel-grids-center"},Qg={class:"flex flex-col animate-pulse items-center text-lg"},Yg=V("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Zg(e,t){return X(),re("div",Xg,[V("div",Qg,[Yg,Ge(e.$slots,"default",{},()=>[ue(" Loading... ")])])])}const ey=lo(Jg,[["render",Zg]]);var Uc=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},Gc={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Uc,()=>{return n={770:function(r,o,i){var a=this&&this.__importDefault||function(L){return L&&L.__esModule?L:{default:L}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const c=a(i(418));let l=null,d=!1;class u{static _utf8ByteLength(N){let k=0;for(let h=0,v=N.length;h<v;h++){const _=N.charCodeAt(h);let f=_,g=!1;if(_>=55296&&_<=56319&&h+1<v){const w=N.charCodeAt(h+1);w>=56320&&w<=57343&&(f=65536+(_-55296<<10)|w-56320,g=!0)}k+=f<=127?1:f<=2047?2:f<=65535?3:4,g&&h++}return k}constructor(N){const k=N.length,h=u._utf8ByteLength(N),v=h!==k,_=v?new Uint32Array(k+1):null;v&&(_[k]=h);const f=v?new Uint32Array(h+1):null;v&&(f[h]=k);const g=new Uint8Array(h);let w=0;for(let m=0;m<k;m++){const x=N.charCodeAt(m);let S=x,P=!1;if(x>=55296&&x<=56319&&m+1<k){const C=N.charCodeAt(m+1);C>=56320&&C<=57343&&(S=65536+(x-55296<<10)|C-56320,P=!0)}v&&(_[m]=w,P&&(_[m+1]=w),S<=127?f[w+0]=m:S<=2047?(f[w+0]=m,f[w+1]=m):S<=65535?(f[w+0]=m,f[w+1]=m,f[w+2]=m):(f[w+0]=m,f[w+1]=m,f[w+2]=m,f[w+3]=m)),S<=127?g[w++]=S:S<=2047?(g[w++]=192|(1984&S)>>>6,g[w++]=128|(63&S)>>>0):S<=65535?(g[w++]=224|(61440&S)>>>12,g[w++]=128|(4032&S)>>>6,g[w++]=128|(63&S)>>>0):(g[w++]=240|(1835008&S)>>>18,g[w++]=128|(258048&S)>>>12,g[w++]=128|(4032&S)>>>6,g[w++]=128|(63&S)>>>0),P&&m++}this.utf16Length=k,this.utf8Length=h,this.utf16Value=N,this.utf8Value=g,this.utf16OffsetToUtf8=_,this.utf8OffsetToUtf16=f}createString(N){const k=N._omalloc(this.utf8Length);return N.HEAPU8.set(this.utf8Value,k),k}}class p{constructor(N){if(this.id=++p.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=N;const k=new u(N);this.utf16Length=k.utf16Length,this.utf8Length=k.utf8Length,this.utf16OffsetToUtf8=k.utf16OffsetToUtf8,this.utf8OffsetToUtf16=k.utf8OffsetToUtf16,this.utf8Length<1e4&&!p._sharedPtrInUse?(p._sharedPtr||(p._sharedPtr=l._omalloc(1e4)),p._sharedPtrInUse=!0,l.HEAPU8.set(k.utf8Value,p._sharedPtr),this.ptr=p._sharedPtr):this.ptr=k.createString(l)}convertUtf8OffsetToUtf16(N){return this.utf8OffsetToUtf16?N<0?0:N>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[N]:N}convertUtf16OffsetToUtf8(N){return this.utf16OffsetToUtf8?N<0?0:N>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[N]:N}dispose(){this.ptr===p._sharedPtr?p._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=p,p.LAST_ID=0,p._sharedPtr=0,p._sharedPtrInUse=!1;class b{constructor(N){if(!l)throw new Error("Must invoke loadWASM first.");const k=[],h=[];for(let g=0,w=N.length;g<w;g++){const m=new u(N[g]);k[g]=m.createString(l),h[g]=m.utf8Length}const v=l._omalloc(4*N.length);l.HEAPU32.set(k,v/4);const _=l._omalloc(4*N.length);l.HEAPU32.set(h,_/4);const f=l._createOnigScanner(v,_,N.length);for(let g=0,w=N.length;g<w;g++)l._ofree(k[g]);l._ofree(_),l._ofree(v),f===0&&function(g){throw new Error(g.UTF8ToString(g._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=f}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(N,k,h){let v=d,_=0;if(typeof h=="number"?(8&h&&(v=!0),_=h):typeof h=="boolean"&&(v=h),typeof N=="string"){N=new p(N);const f=this._findNextMatchSync(N,k,v,_);return N.dispose(),f}return this._findNextMatchSync(N,k,v,_)}_findNextMatchSync(N,k,h,v){const _=this._onigBinding;let f;if(f=h?_._findNextOnigScannerMatchDbg(this._ptr,N.id,N.ptr,N.utf8Length,N.convertUtf16OffsetToUtf8(k),v):_._findNextOnigScannerMatch(this._ptr,N.id,N.ptr,N.utf8Length,N.convertUtf16OffsetToUtf8(k),v),f===0)return null;const g=_.HEAPU32;let w=f/4;const m=g[w++],x=g[w++];let S=[];for(let P=0;P<x;P++){const C=N.convertUtf8OffsetToUtf16(g[w++]),O=N.convertUtf8OffsetToUtf16(g[w++]);S[P]={start:C,end:O,length:O-C}}return{index:m,captureIndices:S}}}o.OnigScanner=b;let y=!1,T=null;o.loadWASM=function(L){if(y)return T;let N,k,h,v;if(y=!0,function(_){return typeof _.instantiator=="function"}(L))N=L.instantiator,k=L.print;else{let _;(function(f){return f.data!==void 0})(L)?(_=L.data,k=L.print):_=L,N=function(f){return typeof Response<"u"&&f instanceof Response}(_)?typeof WebAssembly.instantiateStreaming=="function"?function(f){return g=>WebAssembly.instantiateStreaming(f,g)}(_):function(f){return async g=>{const w=await f.arrayBuffer();return WebAssembly.instantiate(w,g)}}(_):function(f){return g=>WebAssembly.instantiate(f,g)}(_)}return T=new Promise((_,f)=>{h=_,v=f}),function(_,f,g,w){(0,c.default)({print:f,instantiateWasm:(m,x)=>{if(typeof performance>"u"){const S=()=>Date.now();m.env.emscripten_get_now=S,m.wasi_snapshot_preview1.emscripten_get_now=S}return _(m).then(S=>x(S.instance),w),{}}}).then(m=>{l=m,g()})}(N,k,h,v),T},o.createOnigString=function(L){return new p(L)},o.createOnigScanner=function(L){return new b(L)},o.setDefaultDebugCall=function(L){d=L}},418:r=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,c,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(E,B){a=E,c=B});var d,u=Object.assign({},l),p=!1,b="";function y(E){return l.locateFile?l.locateFile(E,b):b+E}d=function(E){let B;return typeof readbuffer=="function"?new Uint8Array(readbuffer(E)):(B=read(E,"binary"),v(typeof B=="object"),B)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var T,L,N=l.print||console.log.bind(console),k=l.printErr||console.warn.bind(console);Object.assign(l,u),u=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(T=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&_e("no native wasm support detected");var h=!1;function v(E,B){E||_e(B)}var _,f,g,w=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function m(E,B,Q){for(var te=B+Q,Z=B;E[Z]&&!(Z>=te);)++Z;if(Z-B>16&&E.buffer&&w)return w.decode(E.subarray(B,Z));for(var ee="";B<Z;){var ce=E[B++];if(128&ce){var Ce=63&E[B++];if((224&ce)!=192){var qe=63&E[B++];if((ce=(240&ce)==224?(15&ce)<<12|Ce<<6|qe:(7&ce)<<18|Ce<<12|qe<<6|63&E[B++])<65536)ee+=String.fromCharCode(ce);else{var Sn=ce-65536;ee+=String.fromCharCode(55296|Sn>>10,56320|1023&Sn)}}else ee+=String.fromCharCode((31&ce)<<6|Ce)}else ee+=String.fromCharCode(ce)}return ee}function x(E,B){return E?m(f,E,B):""}function S(E){_=E,l.HEAP8=new Int8Array(E),l.HEAP16=new Int16Array(E),l.HEAP32=new Int32Array(E),l.HEAPU8=f=new Uint8Array(E),l.HEAPU16=new Uint16Array(E),l.HEAPU32=g=new Uint32Array(E),l.HEAPF32=new Float32Array(E),l.HEAPF64=new Float64Array(E)}l.INITIAL_MEMORY;var P=[],C=[],O=[];function H(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)q(l.preRun.shift());R(P)}function j(){R(C)}function K(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)be(l.postRun.shift());R(O)}function q(E){P.unshift(E)}function oe(E){C.unshift(E)}function be(E){O.unshift(E)}var me=0,le=null;function ge(E){me++,l.monitorRunDependencies&&l.monitorRunDependencies(me)}function ye(E){if(me--,l.monitorRunDependencies&&l.monitorRunDependencies(me),me==0&&le){var B=le;le=null,B()}}function _e(E){l.onAbort&&l.onAbort(E),k(E="Aborted("+E+")"),h=!0,E+=". Build with -sASSERTIONS for more info.";var B=new WebAssembly.RuntimeError(E);throw c(B),B}var ve,F,xe="data:application/octet-stream;base64,";function fe(E){return E.startsWith(xe)}function Ie(E){try{if(E==ve&&T)return new Uint8Array(T);if(d)return d(E);throw"both async and sync fetching of the wasm failed"}catch(B){_e(B)}}function tt(){return T||!p||typeof fetch!="function"?Promise.resolve().then(function(){return Ie(ve)}):fetch(ve,{credentials:"same-origin"}).then(function(E){if(!E.ok)throw"failed to load wasm binary file at '"+ve+"'";return E.arrayBuffer()}).catch(function(){return Ie(ve)})}function A(){var E={env:D,wasi_snapshot_preview1:D};function B(Z,ee){var ce=Z.exports;l.asm=ce,S((L=l.asm.memory).buffer),l.asm.__indirect_function_table,oe(l.asm.__wasm_call_ctors),ye()}function Q(Z){B(Z.instance)}function te(Z){return tt().then(function(ee){return WebAssembly.instantiate(ee,E)}).then(function(ee){return ee}).then(Z,function(ee){k("failed to asynchronously prepare wasm: "+ee),_e(ee)})}if(ge(),l.instantiateWasm)try{return l.instantiateWasm(E,B)}catch(Z){k("Module.instantiateWasm callback failed with error: "+Z),c(Z)}return(T||typeof WebAssembly.instantiateStreaming!="function"||fe(ve)||typeof fetch!="function"?te(Q):fetch(ve,{credentials:"same-origin"}).then(function(Z){return WebAssembly.instantiateStreaming(Z,E).then(Q,function(ee){return k("wasm streaming compile failed: "+ee),k("falling back to ArrayBuffer instantiation"),te(Q)})})).catch(c),{}}function R(E){for(;E.length>0;)E.shift()(l)}function $(E,B,Q){f.copyWithin(E,B,B+Q)}function I(E){try{return L.grow(E-_.byteLength+65535>>>16),S(L.buffer),1}catch{}}function M(E){var B,Q=f.length,te=2147483648;if((E>>>=0)>te)return!1;for(var Z=1;Z<=4;Z*=2){var ee=Q*(1+.2/Z);if(ee=Math.min(ee,E+100663296),I(Math.min(te,(B=Math.max(E,ee))+(65536-B%65536)%65536)))return!0}return!1}fe(ve="onig.wasm")||(ve=y(ve)),F=typeof dateNow<"u"?dateNow:()=>performance.now();var W=[null,[],[]];function z(E,B){var Q=W[E];B===0||B===10?((E===1?N:k)(m(Q,0)),Q.length=0):Q.push(B)}function U(E,B,Q,te){for(var Z=0,ee=0;ee<Q;ee++){var ce=g[B>>2],Ce=g[B+4>>2];B+=8;for(var qe=0;qe<Ce;qe++)z(E,f[ce+qe]);Z+=Ce}return g[te>>2]=Z,0}var G,D={emscripten_get_now:F,emscripten_memcpy_big:$,emscripten_resize_heap:M,fd_write:U};function J(E){function B(){G||(G=!0,l.calledRun=!0,h||(j(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),K()))}me>0||(H(),me>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),B()},1)):B()))}if(A(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=x,le=function E(){G||J(),G||(le=E)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return J(),i.ready});r.exports=o}},s={},function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(770);var n,s})})(Gc);var Lo=Gc.exports,Wc={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Uc,function(){return(()=>{var n={350:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(r,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let c=a.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(a){const c=i.getLanguageId(a),l=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),p=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:d,foreground:u,background:p})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,c,l,d,u,p,b){let y=i.getLanguageId(a),T=i.getTokenType(a),L=i.containsBalancedBrackets(a)?1:0,N=i.getFontStyle(a),k=i.getForeground(a),h=i.getBackground(a);return c!==0&&(y=c),l!==8&&(T=l),d!==null&&(L=d?1:0),u!==-1&&(N=u),p!==0&&(k=p),b!==0&&(h=b),(y<<0|T<<8|L<<10|N<<11|k<<15|h<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class c{constructor(p,b){this.languageId=p,this.tokenType=b}}o.BasicScopeAttributes=c;class l{constructor(p,b){this._getBasicScopeAttributes=new a.CachedFn(y=>{const T=this._scopeToLanguage(y),L=this._toStandardTokenType(y);return new c(T,L)}),this._defaultAttributes=new c(p,8),this._embeddedLanguagesMatcher=new d(Object.entries(b||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(p){return p===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(p)}_scopeToLanguage(p){return this._embeddedLanguagesMatcher.match(p)||0}_toStandardTokenType(p){const b=p.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!b)return 8;switch(b[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}}o.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new c(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(p){if(p.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(p);const b=p.map(([y,T])=>a.escapeRegExpCharacters(y));b.sort(),b.reverse(),this.scopesRegExp=new RegExp(`^((${b.join(")|(")}))($|\\.)`,"")}}match(p){if(!this.scopesRegExp)return;const b=p.match(this.scopesRegExp);return b?this.values.get(b[1]):void 0}}},947:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),c=i(36),l=i(736),d=i(44),u=i(792),p=i(583),b=i(878),y=i(996),T=i(47);function L(w,m,x,S,P){const C=l.createMatchers(m,N),O=u.RuleFactory.getCompiledRuleId(x,S,P.repository);for(const H of C)w.push({debugSelector:m,matcher:H.matcher,ruleId:O,grammar:P,priority:H.priority})}function N(w,m){if(m.length<w.length)return!1;let x=0;return w.every(S=>{for(let P=x;P<m.length;P++)if(k(m[P],S))return x=P+1,!0;return!1})}function k(w,m){if(!w)return!1;if(w===m)return!0;const x=m.length;return w.length>x&&w.substr(0,x)===m&&w[x]==="."}o.createGrammar=function(w,m,x,S,P,C,O,H){return new h(w,m,x,S,P,C,O,H)};class h{constructor(m,x,S,P,C,O,H,j){if(this._rootScopeName=m,this.balancedBracketSelectors=O,this._onigLib=j,this._basicScopeAttributesProvider=new y.BasicScopeAttributesProvider(S,P),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=H,this._grammar=v(x,null),this._injections=null,this._tokenTypeMatchers=[],C)for(const K of Object.keys(C)){const q=l.createMatchers(K,N);for(const oe of q)this._tokenTypeMatchers.push({matcher:oe.matcher,type:C[K]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const m of this._ruleId2desc)m&&m.dispose()}createOnigScanner(m){return this._onigLib.createOnigScanner(m)}createOnigString(m){return this._onigLib.createOnigString(m)}getMetadataForScope(m){return this._basicScopeAttributesProvider.getBasicScopeAttributes(m)}_collectInjections(){const m=[],x=this._rootScopeName,S=(P=>P===this._rootScopeName?this._grammar:this.getExternalGrammar(P))(x);if(S){const P=S.injections;if(P)for(let O in P)L(m,O,P[O],this,S);const C=this._grammarRepository.injections(x);C&&C.forEach(O=>{const H=this.getExternalGrammar(O);if(H){const j=H.injectionSelector;j&&L(m,j,H,this,H)}})}return m.sort((P,C)=>P.priority-C.priority),m}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const m of this._injections)console.log(` - ${m.debugSelector}`)}return this._injections}registerRule(m){const x=++this._lastRuleId,S=m(u.ruleIdFromNumber(x));return this._ruleId2desc[x]=S,S}getRule(m){return this._ruleId2desc[u.ruleIdToNumber(m)]}getExternalGrammar(m,x){if(this._includedGrammars[m])return this._includedGrammars[m];if(this._grammarRepository){const S=this._grammarRepository.lookup(m);if(S)return this._includedGrammars[m]=v(S,x&&x.$base),this._includedGrammars[m]}}tokenizeLine(m,x,S=0){const P=this._tokenize(m,x,!1,S);return{tokens:P.lineTokens.getResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}tokenizeLine2(m,x,S=0){const P=this._tokenize(m,x,!0,S);return{tokens:P.lineTokens.getBinaryResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}_tokenize(m,x,S,P){let C;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),x&&x!==f.NULL)C=!1,x.reset();else{C=!0;const q=this._basicScopeAttributesProvider.getDefaultAttributes(),oe=this.themeProvider.getDefaults(),be=c.EncodedTokenAttributes.set(0,q.languageId,q.tokenType,null,oe.fontStyle,oe.foregroundId,oe.backgroundId),me=this.getRule(this._rootId).getName(null,null);let le;le=me?_.createRootAndLookUpScopeName(me,be,this):_.createRoot("unknown",be),x=new f(null,this._rootId,-1,-1,!1,null,le,le)}m+=`
2
+ `;const O=this.createOnigString(m),H=O.content.length,j=new g(S,m,this._tokenTypeMatchers,this.balancedBracketSelectors),K=T._tokenizeString(this,O,C,0,x,j,!0,P);return d.disposeOnigString(O),{lineLength:H,lineTokens:j,ruleStack:K.stack,stoppedEarly:K.stoppedEarly}}}function v(w,m){return(w=b.clone(w)).repository=w.repository||{},w.repository.$self={$vscodeTextmateLocation:w.$vscodeTextmateLocation,patterns:w.patterns,name:w.scopeName},w.repository.$base=m||w.repository.$self,w}o.Grammar=h;class _{constructor(m,x,S){this.parent=m,this.scopePath=x,this.tokenAttributes=S}static createRoot(m,x){return new _(null,new p.ScopeStack(null,m),x)}static createRootAndLookUpScopeName(m,x,S){const P=S.getMetadataForScope(m),C=new p.ScopeStack(null,m),O=S.themeProvider.themeMatch(C),H=_.mergeAttributes(x,P,O);return new _(null,C,H)}get scopeName(){return this.scopePath.scopeName}equals(m){return _._equals(this,m)}static _equals(m,x){for(;;){if(m===x||!m&&!x)return!0;if(!m||!x||m.scopeName!==x.scopeName||m.tokenAttributes!==x.tokenAttributes)return!1;m=m.parent,x=x.parent}}static mergeAttributes(m,x,S){let P=-1,C=0,O=0;return S!==null&&(P=S.fontStyle,C=S.foregroundId,O=S.backgroundId),c.EncodedTokenAttributes.set(m,x.languageId,x.tokenType,null,P,C,O)}pushAttributed(m,x){if(m===null)return this;if(m.indexOf(" ")===-1)return _._pushAttributed(this,m,x);const S=m.split(/ /g);let P=this;for(const C of S)P=_._pushAttributed(P,C,x);return P}static _pushAttributed(m,x,S){const P=S.getMetadataForScope(x),C=m.scopePath.push(x),O=S.themeProvider.themeMatch(C),H=_.mergeAttributes(m.tokenAttributes,P,O);return new _(m,C,H)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=_;class f{constructor(m,x,S,P,C,O,H,j){this.parent=m,this.ruleId=x,this.beginRuleCapturedEOL=C,this.endRule=O,this.nameScopesList=H,this.contentNameScopesList=j,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=S,this._anchorPos=P}equals(m){return m!==null&&f._equals(this,m)}static _equals(m,x){return m===x||!!this._structuralEquals(m,x)&&m.contentNameScopesList.equals(x.contentNameScopesList)}static _structuralEquals(m,x){for(;;){if(m===x||!m&&!x)return!0;if(!m||!x||m.depth!==x.depth||m.ruleId!==x.ruleId||m.endRule!==x.endRule)return!1;m=m.parent,x=x.parent}}clone(){return this}static _reset(m){for(;m;)m._enterPos=-1,m._anchorPos=-1,m=m.parent}reset(){f._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(m,x,S,P,C,O,H){return new f(this,m,x,S,P,C,O,H)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(m){return m.getRule(this.ruleId)}toString(){const m=[];return this._writeString(m,0),"["+m.join(",")+"]"}_writeString(m,x){return this.parent&&(x=this.parent._writeString(m,x)),m[x++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,x}withContentNameScopesList(m){return this.contentNameScopesList===m?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,m)}withEndRule(m){return this.endRule===m?this:new f(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,m,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(m){let x=this;for(;x&&x._enterPos===m._enterPos;){if(x.ruleId===m.ruleId)return!0;x=x.parent}return!1}}o.StateStack=f,f.NULL=new f(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(w,m){this.allowAny=!1,this.balancedBracketScopes=w.flatMap(x=>x==="*"?(this.allowAny=!0,[]):l.createMatchers(x,N).map(S=>S.matcher)),this.unbalancedBracketScopes=m.flatMap(x=>l.createMatchers(x,N).map(S=>S.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(w){for(const m of this.unbalancedBracketScopes)if(m(w))return!1;for(const m of this.balancedBracketScopes)if(m(w))return!0;return this.allowAny}};class g{constructor(m,x,S,P){this.balancedBracketSelectors=P,this._emitBinaryTokens=m,this._tokenTypeOverrides=S,a.DebugFlags.InDebugMode?this._lineText=x:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(m,x){this.produceFromScopes(m.contentNameScopesList,x)}produceFromScopes(m,x){var P;if(this._lastTokenEndIndex>=x)return;if(this._emitBinaryTokens){let C=m.tokenAttributes,O=!1;if((P=this.balancedBracketSelectors)!=null&&P.matchesAlways&&(O=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const H=m.getScopeNames();for(const j of this._tokenTypeOverrides)j.matcher(H)&&(C=c.EncodedTokenAttributes.set(C,0,c.toOptionalTokenType(j.type),null,-1,0,0));this.balancedBracketSelectors&&(O=this.balancedBracketSelectors.match(H))}if(O&&(C=c.EncodedTokenAttributes.set(C,0,8,O,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===C)return void(this._lastTokenEndIndex=x);if(a.DebugFlags.InDebugMode){const H=m.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,x).replace(/\n$/,"\\n")+"|");for(let j=0;j<H.length;j++)console.log(" * "+H[j])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(C),void(this._lastTokenEndIndex=x)}const S=m.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,x).replace(/\n$/,"\\n")+"|");for(let C=0;C<S.length;C++)console.log(" * "+S[C])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:x,scopes:S}),this._lastTokenEndIndex=x}getResult(m,x){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===x-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,x),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(m,x){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===x-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,x),this._binaryTokens[this._binaryTokens.length-2]=0);const S=new Uint32Array(this._binaryTokens.length);for(let P=0,C=this._binaryTokens.length;P<C;P++)S[P]=this._binaryTokens[P];return S}}o.LineTokens=g},965:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class c{constructor(f){this.scopeName=f}toKey(){return this.scopeName}}o.TopLevelRuleReference=c;class l{constructor(f,g){this.scopeName=f,this.ruleName=g}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=l;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(f){const g=f.toKey();this._seenReferenceKeys.has(g)||(this._seenReferenceKeys.add(g),this._references.push(f))}}function u(_,f,g,w){const m=g.lookup(_.scopeName);if(!m){if(_.scopeName===f)throw new Error(`No grammar provided for <${f}>`);return}const x=g.lookup(f);_ instanceof c?b({baseGrammar:x,selfGrammar:m},w):p(_.ruleName,{baseGrammar:x,selfGrammar:m,repository:m.repository},w);const S=g.injections(_.scopeName);if(S)for(const P of S)w.add(new c(P))}function p(_,f,g){f.repository&&f.repository[_]&&y([f.repository[_]],f,g)}function b(_,f){_.selfGrammar.patterns&&Array.isArray(_.selfGrammar.patterns)&&y(_.selfGrammar.patterns,{..._,repository:_.selfGrammar.repository},f),_.selfGrammar.injections&&y(Object.values(_.selfGrammar.injections),{..._,repository:_.selfGrammar.repository},f)}function y(_,f,g){for(const w of _){if(g.visitedRule.has(w))continue;g.visitedRule.add(w);const m=w.repository?a.mergeObjects({},f.repository,w.repository):f.repository;Array.isArray(w.patterns)&&y(w.patterns,{...f,repository:m},g);const x=w.include;if(!x)continue;const S=v(x);switch(S.kind){case 0:b({...f,selfGrammar:f.baseGrammar},g);break;case 1:b(f,g);break;case 2:p(S.ruleName,{...f,repository:m},g);break;case 3:case 4:const P=S.scopeName===f.selfGrammar.scopeName?f.selfGrammar:S.scopeName===f.baseGrammar.scopeName?f.baseGrammar:void 0;if(P){const C={baseGrammar:f.baseGrammar,selfGrammar:P,repository:m};S.kind===4?p(S.ruleName,C,g):b(C,g)}else S.kind===4?g.add(new l(S.scopeName,S.ruleName)):g.add(new c(S.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(_,f){this.repo=_,this.initialScopeName=f,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const _=this.Q;this.Q=[];const f=new d;for(const g of _)u(g,this.initialScopeName,this.repo,f);for(const g of f.references)if(g instanceof c){if(this.seenFullScopeRequests.has(g.scopeName))continue;this.seenFullScopeRequests.add(g.scopeName),this.Q.push(g)}else{if(this.seenFullScopeRequests.has(g.scopeName)||this.seenPartialScopeRequests.has(g.toKey()))continue;this.seenPartialScopeRequests.add(g.toKey()),this.Q.push(g)}}};class T{constructor(){this.kind=0}}o.BaseReference=T;class L{constructor(){this.kind=1}}o.SelfReference=L;class N{constructor(f){this.ruleName=f,this.kind=2}}o.RelativeReference=N;class k{constructor(f){this.scopeName=f,this.kind=3}}o.TopLevelReference=k;class h{constructor(f,g){this.scopeName=f,this.ruleName=g,this.kind=4}}function v(_){if(_==="$base")return new T;if(_==="$self")return new L;const f=_.indexOf("#");if(f===-1)return new k(_);if(f===0)return new N(_.substring(1));{const g=_.substring(0,f),w=_.substring(f+1);return new h(g,w)}}o.TopLevelRepositoryReference=h,o.parseInclude=v},391:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(l,d,u,p){p===void 0&&(p=u),Object.defineProperty(l,p,{enumerable:!0,get:function(){return d[u]}})}:function(l,d,u,p){p===void 0&&(p=u),l[p]=d[u]}),c=this&&this.__exportStar||function(l,d){for(var u in l)u==="default"||Object.prototype.hasOwnProperty.call(d,u)||a(d,l,u)};Object.defineProperty(o,"__esModule",{value:!0}),c(i(947),o)},47:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),c=i(44),l=i(792),d=i(878);class u{constructor(h,v){this.stack=h,this.stoppedEarly=v}}function p(k,h,v,_,f,g,w,m){const x=h.content.length;let S=!1,P=-1;if(w){const H=function(j,K,q,oe,be,me){let le=be.beginRuleCapturedEOL?0:-1;const ge=[];for(let ye=be;ye;ye=ye.pop()){const _e=ye.getRule(j);_e instanceof l.BeginWhileRule&&ge.push({rule:_e,stack:ye})}for(let ye=ge.pop();ye;ye=ge.pop()){const{ruleScanner:_e,findOptions:ve}=y(ye.rule,j,ye.stack.endRule,q,oe===le),F=_e.findNextMatchSync(K,oe,ve);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(_e.toString())),!F){a.DebugFlags.InDebugMode&&console.log(" popping "+ye.rule.debugName+" - "+ye.rule.debugWhileRegExp),be=ye.stack.pop();break}if(F.ruleId!==l.whileRuleId){be=ye.stack.pop();break}F.captureIndices&&F.captureIndices.length&&(me.produce(ye.stack,F.captureIndices[0].start),L(j,K,q,ye.stack,me,ye.rule.whileCaptures,F.captureIndices),me.produce(ye.stack,F.captureIndices[0].end),le=F.captureIndices[0].end,F.captureIndices[0].end>oe&&(oe=F.captureIndices[0].end,q=!1))}return{stack:be,linePos:oe,anchorPosition:le,isFirstLine:q}}(k,h,v,_,f,g);f=H.stack,_=H.linePos,v=H.isFirstLine,P=H.anchorPosition}const C=Date.now();for(;!S;){if(m!==0&&Date.now()-C>m)return new u(f,!0);O()}return new u(f,!1);function O(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${_}: |${h.content.substr(_).replace(/\n$/,"\\n")}|`));const H=function(oe,be,me,le,ge,ye){const _e=function(Ie,tt,A,R,$,I){const M=$.getRule(Ie),{ruleScanner:W,findOptions:z}=b(M,Ie,$.endRule,A,R===I);let U=0;a.DebugFlags.InDebugMode&&(U=d.performanceNow());const G=W.findNextMatchSync(tt,R,z);if(a.DebugFlags.InDebugMode){const D=d.performanceNow()-U;D>5&&console.warn(`Rule ${M.debugName} (${M.id}) matching took ${D} against '${tt}'`),console.log(` scanning for (linePos: ${R}, anchorPosition: ${I})`),console.log(W.toString()),G&&console.log(`matched rule id: ${G.ruleId} from ${G.captureIndices[0].start} to ${G.captureIndices[0].end}`)}return G?{captureIndices:G.captureIndices,matchedRuleId:G.ruleId}:null}(oe,be,me,le,ge,ye),ve=oe.getInjections();if(ve.length===0)return _e;const F=function(Ie,tt,A,R,$,I,M){let W,z=Number.MAX_VALUE,U=null,G=0;const D=I.contentNameScopesList.getScopeNames();for(let J=0,E=Ie.length;J<E;J++){const B=Ie[J];if(!B.matcher(D))continue;const Q=tt.getRule(B.ruleId),{ruleScanner:te,findOptions:Z}=b(Q,tt,null,R,$===M),ee=te.findNextMatchSync(A,$,Z);if(!ee)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${B.debugSelector}`),console.log(te.toString()));const ce=ee.captureIndices[0].start;if(!(ce>=z)&&(z=ce,U=ee.captureIndices,W=ee.ruleId,G=B.priority,z===$))break}return U?{priorityMatch:G===-1,captureIndices:U,matchedRuleId:W}:null}(ve,oe,be,me,le,ge,ye);if(!F)return _e;if(!_e)return F;const xe=_e.captureIndices[0].start,fe=F.captureIndices[0].start;return fe<xe||F.priorityMatch&&fe===xe?F:_e}(k,h,v,_,f,P);if(!H)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),g.produce(f,x),void(S=!0);const j=H.captureIndices,K=H.matchedRuleId,q=!!(j&&j.length>0)&&j[0].end>_;if(K===l.endRuleId){const oe=f.getRule(k);a.DebugFlags.InDebugMode&&console.log(" popping "+oe.debugName+" - "+oe.debugEndRegExp),g.produce(f,j[0].start),f=f.withContentNameScopesList(f.nameScopesList),L(k,h,v,f,g,oe.endCaptures,j),g.produce(f,j[0].end);const be=f;if(f=f.parent,P=be.getAnchorPos(),!q&&be.getEnterPos()===_)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),f=be,g.produce(f,x),void(S=!0)}else{const oe=k.getRule(K);g.produce(f,j[0].start);const be=f,me=oe.getName(h.content,j),le=f.contentNameScopesList.pushAttributed(me,k);if(f=f.push(K,_,P,j[0].end===x,null,le,le),oe instanceof l.BeginEndRule){const ge=oe;a.DebugFlags.InDebugMode&&console.log(" pushing "+ge.debugName+" - "+ge.debugBeginRegExp),L(k,h,v,f,g,ge.beginCaptures,j),g.produce(f,j[0].end),P=j[0].end;const ye=ge.getContentName(h.content,j),_e=le.pushAttributed(ye,k);if(f=f.withContentNameScopesList(_e),ge.endHasBackReferences&&(f=f.withEndRule(ge.getEndWithResolvedBackReferences(h.content,j))),!q&&be.hasSameRuleAs(f))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),f=f.pop(),g.produce(f,x),void(S=!0)}else if(oe instanceof l.BeginWhileRule){const ge=oe;a.DebugFlags.InDebugMode&&console.log(" pushing "+ge.debugName),L(k,h,v,f,g,ge.beginCaptures,j),g.produce(f,j[0].end),P=j[0].end;const ye=ge.getContentName(h.content,j),_e=le.pushAttributed(ye,k);if(f=f.withContentNameScopesList(_e),ge.whileHasBackReferences&&(f=f.withEndRule(ge.getWhileWithResolvedBackReferences(h.content,j))),!q&&be.hasSameRuleAs(f))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),f=f.pop(),g.produce(f,x),void(S=!0)}else{const ge=oe;if(a.DebugFlags.InDebugMode&&console.log(" matched "+ge.debugName+" - "+ge.debugMatchRegExp),L(k,h,v,f,g,ge.captures,j),g.produce(f,j[0].end),f=f.pop(),!q)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),f=f.safePop(),g.produce(f,x),void(S=!0)}}j[0].end>_&&(_=j[0].end,v=!1)}}function b(k,h,v,_,f){return a.UseOnigurumaFindOptions?{ruleScanner:k.compile(h,v),findOptions:T(_,f)}:{ruleScanner:k.compileAG(h,v,_,f),findOptions:0}}function y(k,h,v,_,f){return a.UseOnigurumaFindOptions?{ruleScanner:k.compileWhile(h,v),findOptions:T(_,f)}:{ruleScanner:k.compileWhileAG(h,v,_,f),findOptions:0}}function T(k,h){let v=0;return k||(v|=1),h||(v|=4),v}function L(k,h,v,_,f,g,w){if(g.length===0)return;const m=h.content,x=Math.min(g.length,w.length),S=[],P=w[0].end;for(let C=0;C<x;C++){const O=g[C];if(O===null)continue;const H=w[C];if(H.length===0)continue;if(H.start>P)break;for(;S.length>0&&S[S.length-1].endPos<=H.start;)f.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop();if(S.length>0?f.produceFromScopes(S[S.length-1].scopes,H.start):f.produce(_,H.start),O.retokenizeCapturedWithRuleId){const K=O.getName(m,w),q=_.contentNameScopesList.pushAttributed(K,k),oe=O.getContentName(m,w),be=q.pushAttributed(oe,k),me=_.push(O.retokenizeCapturedWithRuleId,H.start,-1,!1,null,q,be),le=k.createOnigString(m.substring(0,H.end));p(k,le,v&&H.start===0,H.start,me,f,!1,0),c.disposeOnigString(le);continue}const j=O.getName(m,w);if(j!==null){const K=(S.length>0?S[S.length-1].scopes:_.contentNameScopesList).pushAttributed(j,k);S.push(new N(K,H.end))}}for(;S.length>0;)f.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop()}o._tokenizeString=p;class N{constructor(h,v){this.scopes=h,this.endPos=v}}o.LocalStackElement=N},974:(r,o)=>{function i(d,u){throw new Error("Near offset "+d.pos+": "+u+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,u,p){let b=new a(d),y=new c,T=0,L=null,N=[],k=[];function h(){N.push(T),k.push(L)}function v(){T=N.pop(),L=k.pop()}function _(f){i(b,f)}for(;l(b,y);){if(T===0){if(L!==null&&_("too many constructs in root"),y.type===3){L={},p&&(L.$vscodeTextmateLocation=y.toLocation(u)),h(),T=1;continue}if(y.type===2){L=[],h(),T=4;continue}_("unexpected token in root")}if(T===2){if(y.type===5){v();continue}if(y.type===7){T=3;continue}_("expected , or }")}if(T===1||T===3){if(T===1&&y.type===5){v();continue}if(y.type===1){let f=y.value;if(l(b,y)&&y.type===6||_("expected colon"),l(b,y)||_("expected value"),T=2,y.type===1){L[f]=y.value;continue}if(y.type===8){L[f]=null;continue}if(y.type===9){L[f]=!0;continue}if(y.type===10){L[f]=!1;continue}if(y.type===11){L[f]=parseFloat(y.value);continue}if(y.type===2){let g=[];L[f]=g,h(),T=4,L=g;continue}if(y.type===3){let g={};p&&(g.$vscodeTextmateLocation=y.toLocation(u)),L[f]=g,h(),T=1,L=g;continue}}_("unexpected token in dict")}if(T===5){if(y.type===4){v();continue}if(y.type===7){T=6;continue}_("expected , or ]")}if(T===4||T===6){if(T===4&&y.type===4){v();continue}if(T=5,y.type===1){L.push(y.value);continue}if(y.type===8){L.push(null);continue}if(y.type===9){L.push(!0);continue}if(y.type===10){L.push(!1);continue}if(y.type===11){L.push(parseFloat(y.value));continue}if(y.type===2){let f=[];L.push(f),h(),T=4,L=f;continue}if(y.type===3){let f={};p&&(f.$vscodeTextmateLocation=y.toLocation(u)),L.push(f),h(),T=1,L=f;continue}_("unexpected token in array")}_("unknown state")}return k.length!==0&&_("unclosed constructs"),L};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class c{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(u){return{filename:u,line:this.line,char:this.char}}}function l(d,u){u.value=null,u.type=0,u.offset=-1,u.len=-1,u.line=-1,u.char=-1;let p,b=d.source,y=d.pos,T=d.len,L=d.line,N=d.char;for(;;){if(y>=T)return!1;if(p=b.charCodeAt(y),p!==32&&p!==9&&p!==13){if(p!==10)break;y++,L++,N=0}else y++,N++}if(u.offset=y,u.line=L,u.char=N,p===34){for(u.type=1,y++,N++;;){if(y>=T)return!1;if(p=b.charCodeAt(y),y++,N++,p!==92){if(p===34)break}else y++,N++}u.value=b.substring(u.offset+1,y-1).replace(/\\u([0-9A-Fa-f]{4})/g,(k,h)=>String.fromCodePoint(parseInt(h,16))).replace(/\\(.)/g,(k,h)=>{switch(h){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
3
+ `;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(p===91)u.type=2,y++,N++;else if(p===123)u.type=3,y++,N++;else if(p===93)u.type=4,y++,N++;else if(p===125)u.type=5,y++,N++;else if(p===58)u.type=6,y++,N++;else if(p===44)u.type=7,y++,N++;else if(p===110){if(u.type=8,y++,N++,p=b.charCodeAt(y),p!==117||(y++,N++,p=b.charCodeAt(y),p!==108)||(y++,N++,p=b.charCodeAt(y),p!==108))return!1;y++,N++}else if(p===116){if(u.type=9,y++,N++,p=b.charCodeAt(y),p!==114||(y++,N++,p=b.charCodeAt(y),p!==117)||(y++,N++,p=b.charCodeAt(y),p!==101))return!1;y++,N++}else if(p===102){if(u.type=10,y++,N++,p=b.charCodeAt(y),p!==97||(y++,N++,p=b.charCodeAt(y),p!==108)||(y++,N++,p=b.charCodeAt(y),p!==115)||(y++,N++,p=b.charCodeAt(y),p!==101))return!1;y++,N++}else for(u.type=11;;){if(y>=T)return!1;if(p=b.charCodeAt(y),!(p===46||p>=48&&p<=57||p===101||p===69||p===45||p===43))break;y++,N++}return u.len=y-u.offset,u.value===null&&(u.value=b.substr(u.offset,u.len)),d.pos=y,d.line=L,d.char=N,!0}},787:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(y,T,L,N){N===void 0&&(N=L),Object.defineProperty(y,N,{enumerable:!0,get:function(){return T[L]}})}:function(y,T,L,N){N===void 0&&(N=L),y[N]=T[L]}),c=this&&this.__exportStar||function(y,T){for(var L in y)L==="default"||Object.prototype.hasOwnProperty.call(T,L)||a(T,y,L)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const l=i(391),d=i(50),u=i(652),p=i(583),b=i(965);c(i(44),o),o.Registry=class{constructor(y){this._options=y,this._syncRegistry=new u.SyncRegistry(p.Theme.createFromRawTheme(y.theme,y.colorMap),y.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(y,T){this._syncRegistry.setTheme(p.Theme.createFromRawTheme(y,T))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(y,T,L){return this.loadGrammarWithConfiguration(y,T,{embeddedLanguages:L})}loadGrammarWithConfiguration(y,T,L){return this._loadGrammar(y,T,L.embeddedLanguages,L.tokenTypes,new l.BalancedBracketSelectors(L.balancedBracketSelectors||[],L.unbalancedBracketSelectors||[]))}loadGrammar(y){return this._loadGrammar(y,0,null,null,null)}async _loadGrammar(y,T,L,N,k){const h=new b.ScopeDependencyProcessor(this._syncRegistry,y);for(;h.Q.length>0;)await Promise.all(h.Q.map(v=>this._loadSingleGrammar(v.scopeName))),h.processQueue();return this._grammarForScopeName(y,T,L,N,k)}async _loadSingleGrammar(y){return this._ensureGrammarCache.has(y)||this._ensureGrammarCache.set(y,this._doLoadSingleGrammar(y)),this._ensureGrammarCache.get(y)}async _doLoadSingleGrammar(y){const T=await this._options.loadGrammar(y);if(T){const L=typeof this._options.getInjections=="function"?this._options.getInjections(y):void 0;this._syncRegistry.addGrammar(T,L)}}async addGrammar(y,T=[],L=0,N=null){return this._syncRegistry.addGrammar(y,T),await this._grammarForScopeName(y.scopeName,L,N)}_grammarForScopeName(y,T=0,L=null,N=null,k=null){return this._syncRegistry.grammarForScopeName(y,T,L,N,k)}},o.INITIAL=l.StateStack.NULL,o.parseRawGrammar=d.parseRawGrammar},736:(r,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,c){const l=[],d=function(y){let T=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,L=T.exec(y);return{next:()=>{if(!L)return null;const N=L[0];return L=T.exec(y),N}}}(a);let u=d.next();for(;u!==null;){let y=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=d.next()}let T=b();if(l.push({matcher:T,priority:y}),u!==",")break;u=d.next()}return l;function p(){if(u==="-"){u=d.next();const y=p();return T=>!!y&&!y(T)}if(u==="("){u=d.next();const y=function(){const T=[];let L=b();for(;L&&(T.push(L),u==="|"||u===",");){do u=d.next();while(u==="|"||u===",");L=b()}return N=>T.some(k=>k(N))}();return u===")"&&(u=d.next()),y}if(i(u)){const y=[];do y.push(u),u=d.next();while(i(u));return T=>c(y,T)}return null}function b(){const y=[];let T=p();for(;T;)y.push(T),T=p();return L=>y.every(N=>N(L))}}},44:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),c=i(350),l=i(974);o.parseRawGrammar=function(d,u=null){return u!==null&&/\.json$/.test(u)?(p=d,b=u,c.DebugFlags.InDebugMode?l.parseJSON(p,b,!0):JSON.parse(p)):function(y,T){return c.DebugFlags.InDebugMode?a.parseWithLocation(y,T,"$vscodeTextmateLocation"):a.parsePLIST(y)}(d,u);var p,b}},69:(r,o)=>{function i(a,c,l){const d=a.length;let u=0,p=1,b=0;function y(F){if(l===null)u+=F;else for(;F>0;)a.charCodeAt(u)===10?(u++,p++,b=0):(u++,b++),F--}function T(F){l===null?u=F:y(F-u)}function L(){for(;u<d;){let F=a.charCodeAt(u);if(F!==32&&F!==9&&F!==13&&F!==10)break;y(1)}}function N(F){return a.substr(u,F.length)===F&&(y(F.length),!0)}function k(F){let xe=a.indexOf(F,u);T(xe!==-1?xe+F.length:d)}function h(F){let xe=a.indexOf(F,u);if(xe!==-1){let fe=a.substring(u,xe);return T(xe+F.length),fe}{let fe=a.substr(u);return T(d),fe}}d>0&&a.charCodeAt(0)===65279&&(u=1);let v=0,_=null,f=[],g=[],w=null;function m(F,xe){f.push(v),g.push(_),v=F,_=xe}function x(){if(f.length===0)return S("illegal state stack");v=f.pop(),_=g.pop()}function S(F){throw new Error("Near offset "+u+": "+F+" ~~~"+a.substr(u,50)+"~~~")}const P=function(){if(w===null)return S("missing <key>");let F={};l!==null&&(F[l]={filename:c,line:p,char:b}),_[w]=F,w=null,m(1,F)},C=function(){if(w===null)return S("missing <key>");let F=[];_[w]=F,w=null,m(2,F)},O=function(){let F={};l!==null&&(F[l]={filename:c,line:p,char:b}),_.push(F),m(1,F)},H=function(){let F=[];_.push(F),m(2,F)};function j(){if(v!==1)return S("unexpected </dict>");x()}function K(){return v===1||v!==2?S("unexpected </array>"):void x()}function q(F){if(v===1){if(w===null)return S("missing <key>");_[w]=F,w=null}else v===2?_.push(F):_=F}function oe(F){if(isNaN(F))return S("cannot parse float");if(v===1){if(w===null)return S("missing <key>");_[w]=F,w=null}else v===2?_.push(F):_=F}function be(F){if(isNaN(F))return S("cannot parse integer");if(v===1){if(w===null)return S("missing <key>");_[w]=F,w=null}else v===2?_.push(F):_=F}function me(F){if(v===1){if(w===null)return S("missing <key>");_[w]=F,w=null}else v===2?_.push(F):_=F}function le(F){if(v===1){if(w===null)return S("missing <key>");_[w]=F,w=null}else v===2?_.push(F):_=F}function ge(F){if(v===1){if(w===null)return S("missing <key>");_[w]=F,w=null}else v===2?_.push(F):_=F}function ye(){let F=h(">"),xe=!1;return F.charCodeAt(F.length-1)===47&&(xe=!0,F=F.substring(0,F.length-1)),{name:F.trim(),isClosed:xe}}function _e(F){if(F.isClosed)return"";let xe=h("</");return k(">"),xe.replace(/&#([0-9]+);/g,function(fe,Ie){return String.fromCodePoint(parseInt(Ie,10))}).replace(/&#x([0-9a-f]+);/g,function(fe,Ie){return String.fromCodePoint(parseInt(Ie,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(fe){switch(fe){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return fe})}for(;u<d&&(L(),!(u>=d));){const F=a.charCodeAt(u);if(y(1),F!==60)return S("expected <");if(u>=d)return S("unexpected end of input");const xe=a.charCodeAt(u);if(xe===63){y(1),k("?>");continue}if(xe===33){if(y(1),N("--")){k("-->");continue}k(">");continue}if(xe===47){if(y(1),L(),N("plist")){k(">");continue}if(N("dict")){k(">"),j();continue}if(N("array")){k(">"),K();continue}return S("unexpected closed tag")}let fe=ye();switch(fe.name){case"dict":v===1?P():v===2?O():(_={},l!==null&&(_[l]={filename:c,line:p,char:b}),m(1,_)),fe.isClosed&&j();continue;case"array":v===1?C():v===2?H():(_=[],m(2,_)),fe.isClosed&&K();continue;case"key":ve=_e(fe),v!==1?S("unexpected <key>"):w!==null?S("too many <key>"):w=ve;continue;case"string":q(_e(fe));continue;case"real":oe(parseFloat(_e(fe)));continue;case"integer":be(parseInt(_e(fe),10));continue;case"date":me(new Date(_e(fe)));continue;case"data":le(_e(fe));continue;case"true":_e(fe),ge(!0);continue;case"false":_e(fe),ge(!1);continue}if(!/^plist/.test(fe.name))return S("unexpected opened tag "+fe.name)}var ve;return _}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,c,l){return i(a,c,l)},o.parsePLIST=function(a){return i(a,null,null)}},652:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(c,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,l){this._rawGrammars.set(c.scopeName,c),l&&this._injectionGrammars.set(c.scopeName,l)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,l,d,u,p){if(!this._grammars.has(c)){let b=this._rawGrammars.get(c);if(!b)return null;this._grammars.set(c,a.createGrammar(c,b,l,d,u,p,this,await this._onigLibPromise))}return this._grammars.get(c)}}},792:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),c=i(965),l=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(_){return _},o.ruleIdToNumber=function(_){return _};class u{constructor(f,g,w,m){this.$location=f,this.id=g,this._name=w||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=m||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const f=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${f}`}getName(f,g){return this._nameIsCapturing&&this._name!==null&&f!==null&&g!==null?a.RegexSource.replaceCaptures(this._name,f,g):this._name}getContentName(f,g){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,f,g):this._contentName}}o.Rule=u;class p extends u{constructor(f,g,w,m,x){super(f,g,w,m),this.retokenizeCapturedWithRuleId=x}dispose(){}collectPatterns(f,g){throw new Error("Not supported!")}compile(f,g){throw new Error("Not supported!")}compileAG(f,g,w,m){throw new Error("Not supported!")}}o.CaptureRule=p;class b extends u{constructor(f,g,w,m,x){super(f,g,w,null),this._match=new k(m,this.id),this.captures=x,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(f,g){g.push(this._match)}compile(f,g){return this._getCachedCompiledPatterns(f).compile(f)}compileAG(f,g,w,m){return this._getCachedCompiledPatterns(f).compileAG(f,w,m)}_getCachedCompiledPatterns(f){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new h,this.collectPatterns(f,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=b;class y extends u{constructor(f,g,w,m,x){super(f,g,w,m),this.patterns=x.patterns,this.hasMissingPatterns=x.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(f,g){for(const w of this.patterns)f.getRule(w).collectPatterns(f,g)}compile(f,g){return this._getCachedCompiledPatterns(f).compile(f)}compileAG(f,g,w,m){return this._getCachedCompiledPatterns(f).compileAG(f,w,m)}_getCachedCompiledPatterns(f){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new h,this.collectPatterns(f,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=y;class T extends u{constructor(f,g,w,m,x,S,P,C,O,H){super(f,g,w,m),this._begin=new k(x,this.id),this.beginCaptures=S,this._end=new k(P||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=C,this.applyEndPatternLast=O||!1,this.patterns=H.patterns,this.hasMissingPatterns=H.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(f,g){return this._end.resolveBackReferences(f,g)}collectPatterns(f,g){g.push(this._begin)}compile(f,g){return this._getCachedCompiledPatterns(f,g).compile(f)}compileAG(f,g,w,m){return this._getCachedCompiledPatterns(f,g).compileAG(f,w,m)}_getCachedCompiledPatterns(f,g){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new h;for(const w of this.patterns)f.getRule(w).collectPatterns(f,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,g):this._cachedCompiledPatterns.setSource(0,g)),this._cachedCompiledPatterns}}o.BeginEndRule=T;class L extends u{constructor(f,g,w,m,x,S,P,C,O){super(f,g,w,m),this._begin=new k(x,this.id),this.beginCaptures=S,this.whileCaptures=C,this._while=new k(P,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=O.patterns,this.hasMissingPatterns=O.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(f,g){return this._while.resolveBackReferences(f,g)}collectPatterns(f,g){g.push(this._begin)}compile(f,g){return this._getCachedCompiledPatterns(f).compile(f)}compileAG(f,g,w,m){return this._getCachedCompiledPatterns(f).compileAG(f,w,m)}_getCachedCompiledPatterns(f){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new h;for(const g of this.patterns)f.getRule(g).collectPatterns(f,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(f,g){return this._getCachedCompiledWhilePatterns(f,g).compile(f)}compileWhileAG(f,g,w,m){return this._getCachedCompiledWhilePatterns(f,g).compileAG(f,w,m)}_getCachedCompiledWhilePatterns(f,g){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new h,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,g||"￿"),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=L;class N{static createCaptureRule(f,g,w,m,x){return f.registerRule(S=>new p(g,S,w,m,x))}static getCompiledRuleId(f,g,w){return f.id||g.registerRule(m=>{if(f.id=m,f.match)return new b(f.$vscodeTextmateLocation,f.id,f.name,f.match,N._compileCaptures(f.captures,g,w));if(f.begin===void 0){f.repository&&(w=a.mergeObjects({},w,f.repository));let x=f.patterns;return x===void 0&&f.include&&(x=[{include:f.include}]),new y(f.$vscodeTextmateLocation,f.id,f.name,f.contentName,N._compilePatterns(x,g,w))}return f.while?new L(f.$vscodeTextmateLocation,f.id,f.name,f.contentName,f.begin,N._compileCaptures(f.beginCaptures||f.captures,g,w),f.while,N._compileCaptures(f.whileCaptures||f.captures,g,w),N._compilePatterns(f.patterns,g,w)):new T(f.$vscodeTextmateLocation,f.id,f.name,f.contentName,f.begin,N._compileCaptures(f.beginCaptures||f.captures,g,w),f.end,N._compileCaptures(f.endCaptures||f.captures,g,w),f.applyEndPatternLast,N._compilePatterns(f.patterns,g,w))}),f.id}static _compileCaptures(f,g,w){let m=[];if(f){let x=0;for(const S in f){if(S==="$vscodeTextmateLocation")continue;const P=parseInt(S,10);P>x&&(x=P)}for(let S=0;S<=x;S++)m[S]=null;for(const S in f){if(S==="$vscodeTextmateLocation")continue;const P=parseInt(S,10);let C=0;f[S].patterns&&(C=N.getCompiledRuleId(f[S],g,w)),m[P]=N.createCaptureRule(g,f[S].$vscodeTextmateLocation,f[S].name,f[S].contentName,C)}}return m}static _compilePatterns(f,g,w){let m=[];if(f)for(let x=0,S=f.length;x<S;x++){const P=f[x];let C=-1;if(P.include){const O=c.parseInclude(P.include);switch(O.kind){case 0:case 1:C=N.getCompiledRuleId(w[P.include],g,w);break;case 2:let H=w[O.ruleName];H&&(C=N.getCompiledRuleId(H,g,w));break;case 3:case 4:const j=O.scopeName,K=O.kind===4?O.ruleName:null,q=g.getExternalGrammar(j,w);if(q)if(K){let oe=q.repository[K];oe&&(C=N.getCompiledRuleId(oe,g,q.repository))}else C=N.getCompiledRuleId(q.repository.$self,g,q.repository)}}else C=N.getCompiledRuleId(P,g,w);if(C!==-1){const O=g.getRule(C);let H=!1;if((O instanceof y||O instanceof T||O instanceof L)&&O.hasMissingPatterns&&O.patterns.length===0&&(H=!0),H)continue;m.push(C)}}return{patterns:m,hasMissingPatterns:(f?f.length:0)!==m.length}}}o.RuleFactory=N;class k{constructor(f,g){if(f){const w=f.length;let m=0,x=[],S=!1;for(let P=0;P<w;P++)if(f.charAt(P)==="\\"&&P+1<w){const C=f.charAt(P+1);C==="z"?(x.push(f.substring(m,P)),x.push("$(?!\\n)(?<!\\n)"),m=P+2):C!=="A"&&C!=="G"||(S=!0),P++}this.hasAnchor=S,m===0?this.source=f:(x.push(f.substring(m,w)),this.source=x.join(""))}else this.hasAnchor=!1,this.source=f;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=g,this.hasBackReferences=l.test(this.source)}clone(){return new k(this.source,this.ruleId)}setSource(f){this.source!==f&&(this.source=f,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(f,g){let w=g.map(m=>f.substring(m.start,m.end));return d.lastIndex=0,this.source.replace(d,(m,x)=>a.escapeRegExpCharacters(w[parseInt(x,10)]||""))}_buildAnchorCache(){let f,g,w,m,x=[],S=[],P=[],C=[];for(f=0,g=this.source.length;f<g;f++)w=this.source.charAt(f),x[f]=w,S[f]=w,P[f]=w,C[f]=w,w==="\\"&&f+1<g&&(m=this.source.charAt(f+1),m==="A"?(x[f+1]="￿",S[f+1]="￿",P[f+1]="A",C[f+1]="A"):m==="G"?(x[f+1]="￿",S[f+1]="G",P[f+1]="￿",C[f+1]="G"):(x[f+1]=m,S[f+1]=m,P[f+1]=m,C[f+1]=m),f++);return{A0_G0:x.join(""),A0_G1:S.join(""),A1_G0:P.join(""),A1_G1:C.join("")}}resolveAnchors(f,g){return this.hasAnchor&&this._anchorCache?f?g?this._anchorCache.A1_G1:this._anchorCache.A1_G0:g?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=k;class h{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(f){this._items.push(f),this._hasAnchors=this._hasAnchors||f.hasAnchor}unshift(f){this._items.unshift(f),this._hasAnchors=this._hasAnchors||f.hasAnchor}length(){return this._items.length}setSource(f,g){this._items[f].source!==g&&(this._disposeCaches(),this._items[f].setSource(g))}compile(f){if(!this._cached){let g=this._items.map(w=>w.source);this._cached=new v(f,g,this._items.map(w=>w.ruleId))}return this._cached}compileAG(f,g,w){return this._hasAnchors?g?w?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(f,g,w)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(f,g,w)),this._anchorCache.A1_G0):w?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(f,g,w)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(f,g,w)),this._anchorCache.A0_G0):this.compile(f)}_resolveAnchors(f,g,w){let m=this._items.map(x=>x.resolveAnchors(g,w));return new v(f,m,this._items.map(x=>x.ruleId))}}o.RegExpSourceList=h;class v{constructor(f,g,w){this.regExps=g,this.rules=w,this.scanner=f.createOnigScanner(g)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const f=[];for(let g=0,w=this.rules.length;g<w;g++)f.push(" - "+this.rules[g]+": "+this.regExps[g]);return f.join(`
4
+ `)}findNextMatchSync(f,g,w){const m=this.scanner.findNextMatchSync(f,g,w);return m?{ruleId:this.rules[m.index],captureIndices:m.captureIndices}:null}}o.CompiledRule=v},583:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class c{constructor(k,h,v){this._colorMap=k,this._defaults=h,this._root=v,this._cachedMatchRoot=new a.CachedFn(_=>this._root.match(_))}static createFromRawTheme(k,h){return this.createFromParsedTheme(p(k),h)}static createFromParsedTheme(k,h){return function(v,_){v.sort((P,C)=>{let O=a.strcmp(P.scope,C.scope);return O!==0?O:(O=a.strArrCmp(P.parentScopes,C.parentScopes),O!==0?O:P.index-C.index)});let f=0,g="#000000",w="#ffffff";for(;v.length>=1&&v[0].scope==="";){let P=v.shift();P.fontStyle!==-1&&(f=P.fontStyle),P.foreground!==null&&(g=P.foreground),P.background!==null&&(w=P.background)}let m=new y(_),x=new u(f,m.getId(g),m.getId(w)),S=new L(new T(0,null,-1,0,0),[]);for(let P=0,C=v.length;P<C;P++){let O=v[P];S.insert(0,O.scope,O.parentScopes,O.fontStyle,m.getId(O.foreground),m.getId(O.background))}return new c(m,x,S)}(k,h)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(k){if(k===null)return this._defaults;const h=k.scopeName,v=this._cachedMatchRoot.get(h).find(_=>function(f,g){if(g===null)return!0;let w=0,m=g[w];for(;f;){if(d(f.scopeName,m)){if(w++,w===g.length)return!0;m=g[w]}f=f.parent}return!1}(k.parent,_.parentScopes));return v?new u(v.fontStyle,v.foreground,v.background):null}}o.Theme=c;class l{constructor(k,h){this.parent=k,this.scopeName=h}static from(...k){let h=null;for(let v=0;v<k.length;v++)h=new l(h,k[v]);return h}push(k){return new l(this,k)}getSegments(){let k=this;const h=[];for(;k;)h.push(k.scopeName),k=k.parent;return h.reverse(),h}toString(){return this.getSegments().join(" ")}}function d(N,k){return k===N||N.startsWith(k)&&N[k.length]==="."}o.ScopeStack=l;class u{constructor(k,h,v){this.fontStyle=k,this.foregroundId=h,this.backgroundId=v}}function p(N){if(!N)return[];if(!N.settings||!Array.isArray(N.settings))return[];let k=N.settings,h=[],v=0;for(let _=0,f=k.length;_<f;_++){let g,w=k[_];if(!w.settings)continue;if(typeof w.scope=="string"){let P=w.scope;P=P.replace(/^[,]+/,""),P=P.replace(/[,]+$/,""),g=P.split(",")}else g=Array.isArray(w.scope)?w.scope:[""];let m=-1;if(typeof w.settings.fontStyle=="string"){m=0;let P=w.settings.fontStyle.split(" ");for(let C=0,O=P.length;C<O;C++)switch(P[C]){case"italic":m|=1;break;case"bold":m|=2;break;case"underline":m|=4;break;case"strikethrough":m|=8}}let x=null;typeof w.settings.foreground=="string"&&a.isValidHexColor(w.settings.foreground)&&(x=w.settings.foreground);let S=null;typeof w.settings.background=="string"&&a.isValidHexColor(w.settings.background)&&(S=w.settings.background);for(let P=0,C=g.length;P<C;P++){let O=g[P].trim().split(" "),H=O[O.length-1],j=null;O.length>1&&(j=O.slice(0,O.length-1),j.reverse()),h[v++]=new b(H,j,_,m,x,S)}}return h}o.StyleAttributes=u,o.parseTheme=p;class b{constructor(k,h,v,_,f,g){this.scope=k,this.parentScopes=h,this.index=v,this.fontStyle=_,this.foreground=f,this.background=g}}o.ParsedThemeRule=b,o.fontStyleToString=function(N){if(N===-1)return"not set";let k="";return 1&N&&(k+="italic "),2&N&&(k+="bold "),4&N&&(k+="underline "),8&N&&(k+="strikethrough "),k===""&&(k="none"),k.trim()};class y{constructor(k){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(k)){this._isFrozen=!0;for(let h=0,v=k.length;h<v;h++)this._color2id[k[h]]=h,this._id2color[h]=k[h]}else this._isFrozen=!1}getId(k){if(k===null)return 0;k=k.toUpperCase();let h=this._color2id[k];if(h)return h;if(this._isFrozen)throw new Error(`Missing color in color map - ${k}`);return h=++this._lastColorId,this._color2id[k]=h,this._id2color[h]=k,h}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=y;class T{constructor(k,h,v,_,f){this.scopeDepth=k,this.parentScopes=h,this.fontStyle=v,this.foreground=_,this.background=f}clone(){return new T(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(k){let h=[];for(let v=0,_=k.length;v<_;v++)h[v]=k[v].clone();return h}acceptOverwrite(k,h,v,_){this.scopeDepth>k?console.log("how did this happen?"):this.scopeDepth=k,h!==-1&&(this.fontStyle=h),v!==0&&(this.foreground=v),_!==0&&(this.background=_)}}o.ThemeTrieElementRule=T;class L{constructor(k,h=[],v={}){this._mainRule=k,this._children=v,this._rulesWithParentScopes=h}static _sortBySpecificity(k){return k.length===1||k.sort(this._cmpBySpecificity),k}static _cmpBySpecificity(k,h){if(k.scopeDepth===h.scopeDepth){const v=k.parentScopes,_=h.parentScopes;let f=v===null?0:v.length,g=_===null?0:_.length;if(f===g)for(let w=0;w<f;w++){const m=v[w].length,x=_[w].length;if(m!==x)return x-m}return g-f}return h.scopeDepth-k.scopeDepth}match(k){if(k==="")return L._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let h,v,_=k.indexOf(".");return _===-1?(h=k,v=""):(h=k.substring(0,_),v=k.substring(_+1)),this._children.hasOwnProperty(h)?this._children[h].match(v):L._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(k,h,v,_,f,g){if(h==="")return void this._doInsertHere(k,v,_,f,g);let w,m,x,S=h.indexOf(".");S===-1?(w=h,m=""):(w=h.substring(0,S),m=h.substring(S+1)),this._children.hasOwnProperty(w)?x=this._children[w]:(x=new L(this._mainRule.clone(),T.cloneArr(this._rulesWithParentScopes)),this._children[w]=x),x.insert(k+1,m,v,_,f,g)}_doInsertHere(k,h,v,_,f){if(h!==null){for(let g=0,w=this._rulesWithParentScopes.length;g<w;g++){let m=this._rulesWithParentScopes[g];if(a.strArrCmp(m.parentScopes,h)===0)return void m.acceptOverwrite(k,v,_,f)}v===-1&&(v=this._mainRule.fontStyle),_===0&&(_=this._mainRule.foreground),f===0&&(f=this._mainRule.background),this._rulesWithParentScopes.push(new T(k,h,v,_,f))}else this._mainRule.acceptOverwrite(k,v,_,f)}}o.ThemeTrieElement=L},878:(r,o)=>{function i(l){return Array.isArray(l)?function(d){let u=[];for(let p=0,b=d.length;p<b;p++)u[p]=i(d[p]);return u}(l):typeof l=="object"?function(d){let u={};for(let p in d)u[p]=i(d[p]);return u}(l):l}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(l){return i(l)},o.mergeObjects=function(l,...d){return d.forEach(u=>{for(let p in u)l[p]=u[p]}),l},o.basename=function l(d){const u=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return u===0?d:~u==d.length-1?l(d.substring(0,d.length-1)):d.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(l,d){return l<d?-1:l>d?1:0}o.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,d,u){return l.replace(a,(p,b,y,T)=>{let L=u[parseInt(b||y,10)];if(!L)return p;{let N=d.substring(L.start,L.end);for(;N[0]===".";)N=N.substring(1);switch(T){case"downcase":return N.toLowerCase();case"upcase":return N.toUpperCase();default:return N}}})}},o.strcmp=c,o.strArrCmp=function(l,d){if(l===null&&d===null)return 0;if(!l)return-1;if(!d)return 1;let u=l.length,p=d.length;if(u===p){for(let b=0;b<u;b++){let y=c(l[b],d[b]);if(y!==0)return y}return 0}return u-p},o.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},o.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const d=this.fn(l);return this.cache.set(l,d),d}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},s={};return function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(787)})()})})(Wc);var Vc=Wc.exports;const co=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",scopeName:"source.dax",path:"dax.tmLanguage.json",displayName:"DAX",samplePath:"dax.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",displayName:"Diff",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",displayName:"Docker",samplePath:"docker.sample",aliases:["dockerfile"]},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json",displayName:"Dream Maker"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",displayName:"Elixir",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",displayName:"Elm",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",displayName:"ERB",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",displayName:"Erlang",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",displayName:"Fish",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",displayName:"F#",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gdresource",scopeName:"source.gdresource",path:"gdresource.tmLanguage.json",displayName:"GDResource",samplePath:"gdresource.sample",embeddedLangs:["gdshader","gdscript"]},{id:"gdscript",scopeName:"source.gdscript",path:"gdscript.tmLanguage.json",displayName:"GDScript",samplePath:"gdscript.sample"},{id:"gdshader",scopeName:"source.gdshader",path:"gdshader.tmLanguage.json",displayName:"GDShader",samplePath:"gdshader.sample"},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json",displayName:"Gherkin"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",displayName:"Git Commit Message",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",displayName:"Git Rebase Message",embeddedLangs:["shellscript"]},{id:"glimmer-js",scopeName:"source.gjs",path:"glimmer-js.tmLanguage.json",displayName:"Glimmer JS",aliases:["gjs"],embeddedLangs:["javascript","handlebars"]},{id:"glimmer-ts",scopeName:"source.gts",path:"glimmer-ts.tmLanguage.json",displayName:"Glimmer TS",aliases:["gts"],embeddedLangs:["typescript","handlebars"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",displayName:"GLSL",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json",displayName:"Gnuplot"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",displayName:"Go",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",displayName:"GraphQL",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json",displayName:"Groovy"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",displayName:"Hack",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",displayName:"Ruby Haml",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",displayName:"Handlebars",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",displayName:"Haskell",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",displayName:"HashiCorp HCL",samplePath:"hcl.sample"},{id:"hjson",scopeName:"source.hjson",path:"hjson.tmLanguage.json",displayName:"Hjson",samplePath:"hjson.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json",displayName:"HLSL"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",displayName:"HTML",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"http",scopeName:"source.http",path:"http.tmLanguage.json",displayName:"HTTP",samplePath:"http.sample",embeddedLangs:["shellscript","json","xml","graphql"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",displayName:"Imba",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json",displayName:"INI",aliases:["properties"]},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",displayName:"Java",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",displayName:"JavaScript",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",displayName:"Jinja",embeddedLangs:["html"]},{id:"jison",scopeName:"source.jison",path:"jison.tmLanguage.json",displayName:"Jison",samplePath:"jison.sample",embeddedLangs:["javascript"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json",displayName:"JSON"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",displayName:"JSON5",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json",displayName:"JSON with Comments"},{id:"jsonl",scopeName:"source.json.lines",path:"jsonl.tmLanguage.json",displayName:"JSON Lines"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json",displayName:"Jsonnet"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",displayName:"JSSM",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json",displayName:"JSX"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",displayName:"Julia",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json",displayName:"Kotlin",samplePath:"kotlin.sample"},{id:"kusto",scopeName:"source.kusto",path:"kusto.tmLanguage.json",displayName:"Kusto",samplePath:"kusto.sample",aliases:["kql"]},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",displayName:"LaTeX",embeddedLangs:["tex","css","haskell","html","xml","java","lua","julia","ruby","javascript","typescript","python","yaml","rust","scala","gnuplot"]},{id:"less",scopeName:"source.css.less",path:"less.tmLanguage.json",displayName:"Less",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",displayName:"Liquid",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json",displayName:"Lisp"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json",displayName:"Logo"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",displayName:"Lua",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",displayName:"Makefile",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",displayName:"Markdown",aliases:["md"],embeddedLangs:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex"]},{id:"marko",scopeName:"text.marko",path:"marko.tmLanguage.json",displayName:"Marko",embeddedLangs:["css","less","scss","javascript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json",displayName:"MATLAB"},{id:"mdx",scopeName:"source.mdx",path:"mdx.tmLanguage.json",displayName:"MDX",embeddedLangs:["tsx","toml","yaml","c","clojure","coffee","cpp","csharp","css","diff","docker","elixir","elm","erlang","go","graphql","haskell","html","ini","java","javascript","json","julia","kotlin","less","lua","make","markdown","objective-c","perl","python","r","ruby","rust","scala","scss","shellscript","sql","xml","swift","typescript"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json",displayName:"Mermaid"},{id:"narrat",scopeName:"source.narrat",path:"narrat.tmLanguage.json",displayName:"Narrat Language",samplePath:"narrat.sample",aliases:["nar"]},{id:"nextflow",scopeName:"source.nextflow",path:"nextflow.tmLanguage.json",displayName:"Nextflow",samplePath:"nextflow.sample",aliases:["nf"]},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",displayName:"Nginx",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",displayName:"Nim",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json",displayName:"Nix"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",displayName:"Objective-C",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json",displayName:"Objective-C++"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json",displayName:"OCaml"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json",displayName:"Pascal"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",displayName:"Perl",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",displayName:"PHP",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json",displayName:"PL/SQL"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json",displayName:"PostCSS"},{id:"powerquery",scopeName:"source.powerquery",path:"powerquery.tmLanguage.json",displayName:"PowerQuery",samplePath:"powerquery.sample"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",displayName:"PowerShell",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",displayName:"Prisma",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json",displayName:"Prolog"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",displayName:"Protocol Buffer 3",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",displayName:"Pug",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json",displayName:"Puppet"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json",displayName:"PureScript"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",displayName:"Python",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json",displayName:"R"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",displayName:"Perl 6",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",displayName:"ASP.NET Razor",embeddedLangs:["html","csharp"]},{id:"reg",scopeName:"source.reg",path:"reg.tmLanguage.json",displayName:"Windows Registry Script",samplePath:"reg.sample"},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",displayName:"Rel",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json",displayName:"RISC-V"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",displayName:"reStructuredText",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",displayName:"Ruby",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",displayName:"Rust",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",displayName:"SAS",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json",displayName:"Sass"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json",displayName:"Scala"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json",displayName:"Scheme"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",displayName:"SCSS",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",displayName:"ShaderLab",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",displayName:"Shell",aliases:["bash","console","sh","shell","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json",displayName:"Smalltalk"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json",displayName:"Solidity"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",displayName:"SPARQL",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json",displayName:"SQL"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json",displayName:"SSH Config"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",displayName:"Stata",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",displayName:"Stylus",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",displayName:"Svelte",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json",displayName:"Swift"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json",displayName:"SystemVerilog"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",displayName:"Tasl",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json",displayName:"Tcl"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",displayName:"TeX",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json",displayName:"TOML"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",displayName:"TSX",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",displayName:"Turtle",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",displayName:"Twig",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",displayName:"TypeScript",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",displayName:"V",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",displayName:"Visual Basic",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json",displayName:"Verilog"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json",displayName:"VHDL"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",displayName:"Vim Script",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",displayName:"Vue HTML",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",displayName:"Vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","json5","yaml","toml","graphql"]},{id:"vyper",scopeName:"source.vyper",path:"vyper.tmLanguage.json",displayName:"Vyper",samplePath:"vyper.sample",aliases:["vy"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json",displayName:"WebAssembly"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",displayName:"Wenyan",aliases:["文言"]},{id:"wgsl",scopeName:"source.wgsl",path:"wgsl.tmLanguage.json",displayName:"WGSL",samplePath:"wgsl.sample"},{id:"wolfram",scopeName:"source.wolfram",path:"wolfram.tmLanguage.json",displayName:"Wolfram",samplePath:"wolfram.sample"},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",displayName:"XML",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",displayName:"XSL",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json",displayName:"YAML",aliases:["yml"]},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",displayName:"ZenScript",samplePath:"zenscript.sample"}];var Rt=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(Rt||{});class Ue{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Ue.getLanguageId(t),s=Ue.getTokenType(t),r=Ue.getFontStyle(t),o=Ue.getForeground(t),i=Ue.getBackground(t);console.log({languageId:n,tokenType:s,fontStyle:r,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,s,r,o,i){let a=Ue.getLanguageId(t),c=Ue.getTokenType(t),l=Ue.getFontStyle(t),d=Ue.getForeground(t),u=Ue.getBackground(t),p=Ue.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(c=s===8?0:s),r!==-1&&(l=r),o!==0&&(d=o),i!==0&&(u=i),(a<<0|c<<8|l<<11|p<<10|d<<15|u<<24)>>>0}}function ty(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function ny(e){return e.startsWith("./")?e.slice(2):e}function qc(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function zc(...e){return e.map(ty).map(ny).join("/")}function sy(e,t){const n=new Map;for(const s of e){const r=t(s);n.has(r)?n.get(r).push(s):n.set(r,[s])}return n}function oy(e,t=!1){const n=e.length;let s=0,r="",o=0,i=16,a=0,c=0,l=0,d=0,u=0;function p(h,v){let _=0,f=0;for(;_<h||!v;){let g=e.charCodeAt(s);if(g>=48&&g<=57)f=f*16+g-48;else if(g>=65&&g<=70)f=f*16+g-65+10;else if(g>=97&&g<=102)f=f*16+g-97+10;else break;s++,_++}return _<h&&(f=-1),f}function b(h){s=h,r="",o=0,i=16,u=0}function y(){let h=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&rn(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&rn(e.charCodeAt(s)))for(s++;s<e.length&&rn(e.charCodeAt(s));)s++;else return u=3,e.substring(h,s);let v=s;if(s<e.length&&(e.charCodeAt(s)===69||e.charCodeAt(s)===101))if(s++,(s<e.length&&e.charCodeAt(s)===43||e.charCodeAt(s)===45)&&s++,s<e.length&&rn(e.charCodeAt(s))){for(s++;s<e.length&&rn(e.charCodeAt(s));)s++;v=s}else u=3;return e.substring(h,v)}function T(){let h="",v=s;for(;;){if(s>=n){h+=e.substring(v,s),u=2;break}const _=e.charCodeAt(s);if(_===34){h+=e.substring(v,s),s++;break}if(_===92){if(h+=e.substring(v,s),s++,s>=n){u=2;break}switch(e.charCodeAt(s++)){case 34:h+='"';break;case 92:h+="\\";break;case 47:h+="/";break;case 98:h+="\b";break;case 102:h+="\f";break;case 110:h+=`
5
+ `;break;case 114:h+="\r";break;case 116:h+=" ";break;case 117:const g=p(4,!0);g>=0?h+=String.fromCharCode(g):u=4;break;default:u=5}v=s;continue}if(_>=0&&_<=31)if(Tn(_)){h+=e.substring(v,s),u=2;break}else u=6;s++}return h}function L(){if(r="",u=0,o=s,c=a,d=l,s>=n)return o=n,i=17;let h=e.charCodeAt(s);if(Po(h)){do s++,r+=String.fromCharCode(h),h=e.charCodeAt(s);while(Po(h));return i=15}if(Tn(h))return s++,r+=String.fromCharCode(h),h===13&&e.charCodeAt(s)===10&&(s++,r+=`
6
+ `),a++,l=s,i=14;switch(h){case 123:return s++,i=1;case 125:return s++,i=2;case 91:return s++,i=3;case 93:return s++,i=4;case 58:return s++,i=6;case 44:return s++,i=5;case 34:return s++,r=T(),i=10;case 47:const v=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!Tn(e.charCodeAt(s));)s++;return r=e.substring(v,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const _=n-1;let f=!1;for(;s<_;){const g=e.charCodeAt(s);if(g===42&&e.charCodeAt(s+1)===47){s+=2,f=!0;break}s++,Tn(g)&&(g===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return f||(s++,u=1),r=e.substring(v,s),i=13}return r+=String.fromCharCode(h),s++,i=16;case 45:if(r+=String.fromCharCode(h),s++,s===n||!rn(e.charCodeAt(s)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r+=y(),i=11;default:for(;s<n&&N(h);)s++,h=e.charCodeAt(s);if(o!==s){switch(r=e.substring(o,s),r){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return r+=String.fromCharCode(h),s++,i=16}}function N(h){if(Po(h)||Tn(h))return!1;switch(h){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let h;do h=L();while(h>=12&&h<=15);return h}return{setPosition:b,getPosition:()=>s,scan:t?k:L,getToken:()=>i,getTokenValue:()=>r,getTokenOffset:()=>o,getTokenLength:()=>s-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>u}}function Po(e){return e===32||e===9}function Tn(e){return e===10||e===13}function rn(e){return e>=48&&e<=57}var ca;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(ca||(ca={}));var Fs;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Fs||(Fs={}));function ry(e,t=[],n=Fs.DEFAULT){let s=null,r=[];const o=[];function i(c){Array.isArray(r)?r.push(c):s!==null&&(r[s]=c)}return iy(e,{onObjectBegin:()=>{const c={};i(c),o.push(r),r=c,s=null},onObjectProperty:c=>{s=c},onObjectEnd:()=>{r=o.pop()},onArrayBegin:()=>{const c=[];i(c),o.push(r),r=c,s=null},onArrayEnd:()=>{r=o.pop()},onLiteralValue:i,onError:(c,l,d)=>{t.push({error:c,offset:l,length:d})}},n),r[0]}function iy(e,t,n=Fs.DEFAULT){const s=oy(e,!1),r=[];function o(P){return P?()=>P(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i(P){return P?()=>P(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>r.slice()):()=>!0}function a(P){return P?C=>P(C,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function c(P){return P?C=>P(C,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>r.slice()):()=>!0}const l=i(t.onObjectBegin),d=c(t.onObjectProperty),u=o(t.onObjectEnd),p=i(t.onArrayBegin),b=o(t.onArrayEnd),y=c(t.onLiteralValue),T=a(t.onSeparator),L=o(t.onComment),N=a(t.onError),k=n&&n.disallowComments,h=n&&n.allowTrailingComma;function v(){for(;;){const P=s.scan();switch(s.getTokenError()){case 4:_(14);break;case 5:_(15);break;case 3:_(13);break;case 1:k||_(11);break;case 2:_(12);break;case 6:_(16);break}switch(P){case 12:case 13:k?_(10):L();break;case 16:_(1);break;case 15:case 14:break;default:return P}}}function _(P,C=[],O=[]){if(N(P),C.length+O.length>0){let H=s.getToken();for(;H!==17;){if(C.indexOf(H)!==-1){v();break}else if(O.indexOf(H)!==-1)break;H=v()}}}function f(P){const C=s.getTokenValue();return P?y(C):(d(C),r.push(C)),v(),!0}function g(){switch(s.getToken()){case 11:const P=s.getTokenValue();let C=Number(P);isNaN(C)&&(_(2),C=0),y(C);break;case 7:y(null);break;case 8:y(!0);break;case 9:y(!1);break;default:return!1}return v(),!0}function w(){return s.getToken()!==10?(_(3,[],[2,5]),!1):(f(!1),s.getToken()===6?(T(":"),v(),S()||_(4,[],[2,5])):_(5,[],[2,5]),r.pop(),!0)}function m(){l(),v();let P=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(P||_(4,[],[]),T(","),v(),s.getToken()===2&&h)break}else P&&_(6,[],[]);w()||_(4,[],[2,5]),P=!0}return u(),s.getToken()!==2?_(7,[2],[]):v(),!0}function x(){p(),v();let P=!0,C=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(C||_(4,[],[]),T(","),v(),s.getToken()===4&&h)break}else C&&_(6,[],[]);P?(r.push(0),P=!1):r[r.length-1]++,S()||_(4,[],[4,5]),C=!0}return b(),P||r.pop(),s.getToken()!==4?_(8,[4],[]):v(),!0}function S(){switch(s.getToken()){case 3:return x();case 1:return m();case 10:return f(!0);default:return g()}}return v(),s.getToken()===17?n.allowEmptyContent?!0:(_(4,[],[]),!1):S()?(s.getToken()!==17&&_(9,[],[]),!0):(_(4,[],[]),!1)}var ua;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(ua||(ua={}));var fa;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(fa||(fa={}));const ay=ry;var da;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(da||(da={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Kc="";const ly="dist/";function cy(e){Kc=e.endsWith("/")?e:e+"/"}let Ao=null;async function uy(e){if(!Ao){let t;t=Lo.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Jc(zc(...qc(e),"onig.wasm")))}),Ao=t.then(()=>({createOnigScanner(n){return Lo.createOnigScanner(n)},createOnigString(n){return Lo.createOnigString(n)}}))}return Ao}function Jc(e){return`${Kc}${e}`}async function fy(e){const t=Jc(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Xc(e){const t=[],n=await fy(e);let s;try{s=JSON.parse(n)}catch{if(s=ay(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function Qc(e){let t=await Xc(e);const n=Yc(t);if(n.include){const s=await Qc(zc(...qc(e),n.include));s.settings&&(n.settings=s.settings.concat(n.settings)),s.bg&&!n.bg&&(n.bg=s.bg),s.colors&&(n.colors={...s.colors,...n.colors}),delete n.include}return n}async function dy(e){return await Xc(e)}function py(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}function Yc(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...hy(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),py(n),n}const pa={light:"#333333",dark:"#bbbbbb"},ha={light:"#fffffe",dark:"#1e1e1e"};function hy(e){var o,i,a,c;let t,n,s=e.settings?e.settings:e.tokenColors;const r=s?s.find(l=>!l.name&&!l.scope):void 0;return(o=r==null?void 0:r.settings)!=null&&o.foreground&&(t=r.settings.foreground),(i=r==null?void 0:r.settings)!=null&&i.background&&(n=r.settings.background),!t&&((a=e==null?void 0:e.colors)!=null&&a["editor.foreground"])&&(t=e.colors["editor.foreground"]),!n&&((c=e==null?void 0:e.colors)!=null&&c["editor.background"])&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?pa.light:pa.dark),n||(n=e.type==="light"?ha.light:ha.dark),{fg:t,bg:n}}class my{constructor(t,n){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){const n=this.scopeToLangMap[t];if(!n)return null;if(n.grammar)return n.grammar;const s=await dy(co.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=s,s}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function gy(e,t,n,s,r){let o=n.split(/\r\n|\r|\n/),i=Vc.INITIAL,a=[],c=[];for(let l=0,d=o.length;l<d;l++){let u=o[l];if(u===""){a=[],c.push([]);continue}let p,b,y;r.includeExplanation&&(p=s.tokenizeLine(u,i),b=p.tokens,y=0);let T=s.tokenizeLine2(u,i),L=T.tokens.length/2;for(let N=0;N<L;N++){let k=T.tokens[2*N],h=N+1<L?T.tokens[2*N+2]:u.length;if(k===h)continue;let v=T.tokens[2*N+1],_=Ue.getForeground(v),f=t[_],g=Ue.getFontStyle(v),w=[];if(r.includeExplanation){let m=0;for(;k+m<h;){let x=b[y],S=u.substring(x.startIndex,x.endIndex);m+=S.length,w.push({content:S,scopes:yy(e,x.scopes)}),y++}}a.push({content:u.substring(k,h),color:f,fontStyle:g,explanation:w})}c.push(a),a=[],i=T.ruleStack}return c}function yy(e,t){let n=[];for(let s=0,r=t.length;s<r;s++){let o=t.slice(0,s),i=t[s];n[s]={scopeName:i,themeMatches:by(e,i,o)}}return n}function ma(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function _y(e,t,n,s){if(!ma(e,n))return!1;let r=t.length-1,o=s.length-1;for(;r>=0&&o>=0;)ma(t[r],s[o])&&r--,o--;return r===-1}function by(e,t,n){let s=[],r=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],c;if(typeof a.scope=="string")c=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))c=a.scope;else continue;for(let l=0,d=c.length;l<d;l++){let p=c[l].split(/ /),b=p[p.length-1],y=p.slice(0,p.length-1);_y(b,y,t,n)&&(s[r++]=a,l=d)}}return s}var _t=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ro={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function vy(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const s=e.indexOf("m",n);return{sequence:e.substring(n+2,s).split(";"),startPosition:n,position:s+1}}return{position:e.length}}function ga(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(s=>Number.parseInt(s));return n.length!==3||n.some(s=>Number.isNaN(s))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function wy(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const s=Number.parseInt(n);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)Ro[s]&&t.push({type:"setDecoration",value:Ro[s]});else if(s<=29){const r=Ro[s-20];r&&t.push({type:"resetDecoration",value:r})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:_t[s-30]}});else if(s===38){const r=ga(e);r&&t.push({type:"setForegroundColor",value:r})}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:_t[s-40]}});else if(s===48){const r=ga(e);r&&t.push({type:"setBackgroundColor",value:r})}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:_t[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:_t[s-100+8]}})}return t}function xy(){let e=null,t=null,n=new Set;return{parse(s){const r=[];let o=0;do{const i=vy(s,o),a=i.sequence?s.substring(o,i.startPosition):s.substring(o);if(a.length>0&&r.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const c=wy(i.sequence);for(const l of c)l.type==="resetAll"?(e=null,t=null,n.clear()):l.type==="resetForegroundColor"?e=null:l.type==="resetBackgroundColor"?t=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of c)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}o=i.position}while(o<s.length);return r}}}var ky={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Sy(e=ky){function t(a){return e[a]}function n(a){return`#${a.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}let s;function r(){if(s)return s;s=[];for(let l=0;l<_t.length;l++)s.push(t(_t[l]));let a=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let d=0;d<6;d++)for(let u=0;u<6;u++)s.push(n([a[l],a[d],a[u]]));let c=8;for(let l=0;l<24;l++,c+=10)s.push(n([c,c,c]));return s}function o(a){return r()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function Ny(e,t){const n=t.split(/\r?\n/),s=Sy(Object.fromEntries(_t.map(o=>[o,e.colors[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),r=xy();return n.map(o=>r.parse(o).map(i=>{let a;i.decorations.has("reverse")?a=i.background?s.value(i.background):e.bg:a=i.foreground?s.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=Ty(a));let c=Rt.None;return i.decorations.has("bold")&&(c|=Rt.Bold),i.decorations.has("italic")&&(c|=Rt.Italic),i.decorations.has("underline")&&(c|=Rt.Underline),{content:i.value,color:a,fontStyle:c}}))}function Ty(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const s=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${s}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(s=>`${s}${s}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}const Ly={pre({className:e,style:t,children:n}){return`<pre class="${e}" style="${t}" tabindex="0">${n}</pre>`},code({children:e}){return`<code>${e}</code>`},line({className:e,children:t}){return`<span class="${e}">${t}</span>`},token({style:e,children:t}){return`<span style="${e}">${t}</span>`}};function ya(e,t={}){const n=t.bg||"#fff",s=sy(t.lineOptions??[],i=>i.line),r=t.elements||{};function o(i="",a={},c){const l=r[i]||Ly[i];return l?(c=c.filter(Boolean),l({...a,children:i==="code"?c.join(`
7
+ `):c.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const c=a+1,l=s.get(c)??[],d=Ry(l).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((u,p)=>{const b=[`color: ${u.color||t.fg}`];return u.fontStyle&Rt.Italic&&b.push("font-style: italic"),u.fontStyle&Rt.Bold&&b.push("font-weight: bold"),u.fontStyle&Rt.Underline&&b.push("text-decoration: underline"),o("token",{style:b.join("; "),tokens:i,token:u,index:p},[Ay(u.content)])}))}))])}const Py={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ay(e){return e.replace(/[&<>"']/g,t=>Py[t])}function Ry(e){const t=new Set(["line"]);for(const n of e)for(const s of n.classes??[])t.add(s);return Array.from(t)}class Cy extends Vc.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=co.reduce((n,s)=>(n[s.id]=s,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await Qc(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=Yc(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){var o;const s={embeddedLanguages:(o=t.embeddedLangs)==null?void 0:o.reduce(async(i,a,c)=>{if(!this.getLoadedLanguages().includes(a)&&this._resolver.getLangRegistration(a))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(a).scopeName),i[this._resolver.getLangRegistration(a).scopeName]=c+2,i},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},r=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=r,t.aliases&&t.aliases.forEach(i=>{this._resolvedGrammars[i]=r})}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.values());for(const s of n)this._resolver.addLanguage(s);for(const s of n)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function Zc(e){return typeof e=="string"?co.find(t=>{var n;return t.id===e||((n=t.aliases)==null?void 0:n.includes(e))}):e}function $y(e){var r;let t=co,n=e.themes||[],s=(r=e.paths)!=null&&r.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":ly;return e.langs&&(t=e.langs.map(Zc)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function Ey(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;t<_t.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=_t[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function jy(e){var w,m;const{_languages:t,_themes:n,_wasmPath:s}=$y(e),r=new my(uy(s),"vscode-oniguruma"),o=new Cy(r);(w=e.paths)!=null&&w.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(m=e.paths)!=null&&m.languages&&(r.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let c;await o.loadLanguages(t);let l=Ey();function d(x){l=x}function u(x,S){x.bg=l[x.bg]||x.bg,x.fg=l[x.fg]||x.fg,Object.entries(x.colors).forEach(([P,C])=>{x.colors[P]=l[C]||C}),S.forEach((P,C)=>{S[C]=l[P]||P})}function p(x){const S=x?o.getTheme(x):a;if(!S)throw Error(`No theme registration for ${x}`);(!c||c.name!==S.name)&&(o.setTheme(S),c=S);const P=o.getColorMap();return S.type==="css"&&u(S,P),{_theme:S,_colorMap:P}}function b(x){const S=o.getGrammar(x);if(!S)throw Error(`No language registration for ${x}`);return{_grammar:S}}function y(x,S="text",P,C={includeExplanation:!0}){if(Oy(S))return[...x.split(/\r\n|\r|\n/).map(q=>[{content:q}])];const{_grammar:O}=b(S),{_theme:H,_colorMap:j}=p(P);return gy(H,j,x,O,C)}function T(x,S){const{_theme:P}=p(S);return Ny(P,x)}function L(x,S="text",P){let C;typeof S=="object"?C=S:C={lang:S,theme:P};const O=y(x,C.lang,C.theme,{includeExplanation:!1}),{_theme:H}=p(C.theme);return ya(O,{fg:H.fg,bg:H.bg,lineOptions:C==null?void 0:C.lineOptions,themeName:H.name})}function N(x,S){const P=T(x,S==null?void 0:S.theme),{_theme:C}=p(S==null?void 0:S.theme);return ya(P,{fg:C.fg,bg:C.bg,lineOptions:S==null?void 0:S.lineOptions,themeName:C.name})}async function k(x){await o.loadTheme(x)}async function h(x){const S=Zc(x);r.addLanguage(S),await o.loadLanguage(S)}function v(){return o.getLoadedThemes()}function _(){return o.getLoadedLanguages()}function f(x){const{_theme:S}=p(x);return S.bg}function g(x){const{_theme:S}=p(x);return S.fg}return{codeToThemedTokens:y,codeToHtml:L,ansiToThemedTokens:T,ansiToHtml:N,getTheme:x=>p(x)._theme,loadTheme:k,loadLanguage:h,getBackgroundColor:f,getForegroundColor:g,getLoadedThemes:v,getLoadedLanguages:_,setColorReplacements:d}}function Oy(e){return!e||["plaintext","txt","text"].includes(e)}const Iy="0.14.0";cy(`https://cdn.jsdelivr.net/npm/shiki-es@${Iy}/dist/assets/`);let My;const Ln=[];function By(e){if(Ln.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Ln.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Ln.forEach(n=>n(t))},get(){return My.value},configurable:!0}),()=>{Ln.splice(Ln.indexOf(e),1)}}const De=Te(null);async function eu(){cr.value&&(De.value=await cr.value("/__sitemap__/debug.json"))}const cr=Te(),tu=Te(),nu=Te();By(async e=>{cr.value=e.host.app.$fetch,rl(()=>{nu.value=e.host.app.colorMode.value}),tu.value=e.devtools,eu()});const su=Te();function Hy(){return jy({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{su.value=e})}function ou(e,t){return Je(()=>{var s;const n=((s=tu.value)==null?void 0:s.colorMode)||"light";return su.value.codeToHtml(Ku(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Dy=["innerHTML"],ru=Ve({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Je(()=>{const s=ou(t.code,t.lang);return t.transformRendered?t.transformRendered(s.value||""):s.value});return(s,r)=>(X(),re("pre",{class:Ae(["n-code-block",s.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Dy))}}),Fy={flex:"~ gap-3","items-center":""},Uy=Ve({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(X(),re("div",Fy,[t.icon?(X(),re("div",{key:0,class:Ae(t.icon)},null,2)):je("",!0),Ge(t.$slots,"default",{},()=>[V("div",null,Me(t.text),1)])]))}});function Gy(e){return Ra()?(Nu(e),!0):!1}function zr(e){return typeof e=="function"?e():ie(e)}const Wy=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vy=e=>typeof e<"u",qy=Object.prototype.toString,zy=e=>qy.call(e)==="[object Object]",Ky=()=>{};function Jy(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const iu=e=>e();function Xy(e=iu){const t=Te(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:vr(t),pause:n,resume:s,eventFilter:r}}function Qy(e){return e||wn()}function Yy(e,t,n={}){const{eventFilter:s=iu,...r}=n;return ct(e,Jy(s,t),r)}function Zy(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:o,pause:i,resume:a,isActive:c}=Xy(s);return{stop:Yy(e,t,{...r,eventFilter:o}),pause:i,resume:a,isActive:c}}function e_(e,t=!0,n){Qy()?Qs(e,n):t?e():nn(e)}function t_(e){var t;const n=zr(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Us=Wy?window:void 0;function _a(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Us):[t,n,s,r]=e,!t)return Ky;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,u,p,b)=>(d.addEventListener(u,p,b),()=>d.removeEventListener(u,p,b)),c=ct(()=>[t_(t),zr(r)],([d,u])=>{if(i(),!d)return;const p=zy(u)?{...u}:u;o.push(...n.flatMap(b=>s.map(y=>a(d,b,y,p))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return Gy(l),l}function n_(e){return JSON.parse(JSON.stringify(e))}const fs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ds="__vueuse_ssr_handlers__",s_=o_();function o_(){return ds in fs||(fs[ds]=fs[ds]||{}),fs[ds]}function r_(e,t){return s_[e]||t}function i_(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const a_={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ba="vueuse-storage";function l_(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:d,window:u=Us,eventFilter:p,onError:b=m=>{console.error(m)},initOnMounted:y}=s,T=(d?Oo:Te)(typeof t=="function"?t():t);if(!n)try{n=r_("getDefaultStorage",()=>{var m;return(m=Us)==null?void 0:m.localStorage})()}catch(m){b(m)}if(!n)return T;const L=zr(t),N=i_(L),k=(r=s.serializer)!=null?r:a_[N],{pause:h,resume:v}=Zy(T,()=>_(T.value),{flush:o,deep:i,eventFilter:p});return u&&a&&e_(()=>{_a(u,"storage",w),_a(u,ba,g),y&&w()}),y||w(),T;function _(m){try{if(m==null)n.removeItem(e);else{const x=k.write(m),S=n.getItem(e);S!==x&&(n.setItem(e,x),u&&u.dispatchEvent(new CustomEvent(ba,{detail:{key:e,oldValue:S,newValue:x,storageArea:n}})))}}catch(x){b(x)}}function f(m){const x=m?m.newValue:n.getItem(e);if(x==null)return c&&L!=null&&n.setItem(e,k.write(L)),L;if(!m&&l){const S=k.read(x);return typeof l=="function"?l(S,L):N==="object"&&!Array.isArray(S)?{...L,...S}:S}else return typeof x!="string"?x:k.read(x)}function g(m){w(m.detail)}function w(m){if(!(m&&m.storageArea!==n)){if(m&&m.key==null){T.value=L;return}if(!(m&&m.key!==e)){h();try{(m==null?void 0:m.newValue)!==k.write(T.value)&&(T.value=f(m))}catch(x){b(x)}finally{m?nn(v):v()}}}}}function c_(e,t,n={}){const{window:s=Us}=n;return l_(e,t,s==null?void 0:s.localStorage,n)}function u_(e,t,n,s={}){var r,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:u,shouldEmit:p}=s,b=wn(),y=n||(b==null?void 0:b.emit)||((r=b==null?void 0:b.$emit)==null?void 0:r.bind(b))||((i=(o=b==null?void 0:b.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(b==null?void 0:b.proxy));let T=l;t||(t="modelValue"),T=T||`update:${t.toString()}`;const L=h=>a?typeof a=="function"?a(h):n_(h):h,N=()=>Vy(e[t])?L(e[t]):u,k=h=>{p?p(h)&&y(T,h):y(T,h)};if(c){const h=N(),v=Te(h);let _=!1;return ct(()=>e[t],f=>{_||(_=!0,v.value=L(f),nn(()=>_=!1))}),ct(v,f=>{!_&&(f!==e[t]||d)&&k(f)},{deep:d}),v}else return Je({get(){return N()},set(h){k(h)}})}const au=e=>(el("data-v-348c1d92"),e=e(),tl(),e),f_=["open"],d_={"text-base":""},p_={key:0,"text-sm":"",op50:""},h_=au(()=>V("div",{class:"flex-auto"},null,-1)),m_=au(()=>V("div",{class:"x-divider"},null,-1)),g_=Ve({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=u_(e,"open");function s(r){n.value=r.target.open}return(r,o)=>{const i=qr,a=Uy;return X(),re(Se,null,[V("details",{open:ie(n),onToggle:s},[V("summary",{class:Ae(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",r.collapse?"":"pointer-events-none"])},[Y(a,{icon:r.icon,text:r.text,"text-xl":"",transition:"",class:Ae([ie(n)?"op100":"op60",r.headerClass])},{default:ae(()=>[V("div",null,[V("div",d_,[Ge(r.$slots,"text",{},()=>[ue(Me(r.text),1)],!0)]),r.description||r.$slots.description?(X(),re("div",p_,[Ge(r.$slots,"description",{},()=>[ue(Me(r.description),1)],!0)])):je("",!0)]),h_,Ge(r.$slots,"actions",{},void 0,!0),r.collapse?(X(),Ne(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):je("",!0)]),_:3},8,["icon","text","class"])],2),V("div",{class:Ae(["flex flex-col flex-gap2 pb6 pt2",typeof r.padding=="string"?r.padding:r.padding?"px4":""])},[Ge(r.$slots,"details",{},void 0,!0),V("div",{class:Ae([r.containerClass,"mt1"])},[Ge(r.$slots,"default",{},void 0,!0)],2),Ge(r.$slots,"footer",{},void 0,!0)],2)],40,f_),m_],64)}}}),lu=lo(g_,[["__scopeId","data-v-348c1d92"]]),y_={class:"flex space-x-5"},__={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},b_={key:0,class:"flex space-x-2"},v_={key:0,class:"opacity-60 text-sm"},w_={class:"flex items-center space-x-3"},x_={key:0},k_={key:1,class:"text-xs mt-1 opacity-70"},S_={key:0},N_={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},T_=V("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1),L_={class:"list-disc ml-5"},P_=["innerHTML"],A_=Ve({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Je(()=>{var o;const r=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return r.includes("http")?r:Dt(((o=De.value)==null?void 0:o.nitroOrigin)||"localhost",r)});function s(r){return r.replace(/`([^`]+)`/g,"<code>$1</code>")}return(r,o)=>{const i=qr,a=Hc,c=Fc,l=ru,d=lu;return X(),Ne(d,null,{text:ae(()=>[V("div",y_,[V("h3",__,[r.source.fetch?(X(),re("div",b_,[Y(i,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),r.source.timeTakenMs?(X(),re("div",v_,Me(r.source.timeTakenMs)+"ms ",1)):je("",!0)])):je("",!0),V("div",null,Me(r.source.context.name),1),V("div",null,[Y(a,null,{default:ae(()=>{var u;return[ue(Me(((u=r.source.urls)==null?void 0:u.length)||0),1)]}),_:1})])])])]),description:ae(()=>[V("div",w_,[r.source.fetch?(X(),re("div",x_,[Y(c,{href:ie(n),target:"_blank"},{default:ae(()=>[ue(Me(r.source.fetch),1)]),_:1},8,["href"])])):je("",!0),r.source.context.description?(X(),re("div",k_,Me(r.source.context.description),1)):je("",!0)])]),default:ae(()=>{var u;return[r.source.error?(X(),re("div",S_,[Y(i,{icon:"carbon:warning",class:"text-red-500"}),ue(" "+Me(r.source.error),1)])):(X(),Ne(l,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(r.source.urls,null,2),lang:"json"},null,8,["code"])),(u=r.source.context.tips)!=null&&u.length?(X(),re("div",N_,[T_,V("ul",L_,[(X(!0),re(Se,null,an(r.source.context.tips,(p,b)=>(X(),re("li",{key:b,class:"text-sm opacity-80 mb-1",innerHTML:s(p)},null,8,P_))),128))])])):je("",!0)]}),_:1})}}}),R_={class:"relative n-bg-base flex flex-col"},C_={class:"sticky top-0 z-2 px-4 pt-4"},$_={class:"flex justify-between items-start",mb2:""},E_={class:"flex space-x-5"},j_={"text-xl":"",flex:"","items-center":"","gap-2":""},O_={class:"flex items-center space-x-3 text-xl"},I_={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},M_={class:"px-5 py-2"},B_={"text-lg":"",flex:"","items-center":""},H_={class:"px-5 py-2"},D_={"text-lg":"",flex:"","items-center":""},F_={class:"px-5 py-2"},U_={"text-lg":"",flex:"","items-center":""},G_={class:"px-5 py-2"},W_={"text-lg":"",flex:"","items-center":""},V_={class:"px-5 py-2"},q_={"text-lg":"",flex:"","items-center":""},z_=["value","title"],K_={class:"items-center space-x-3 hidden lg:flex"},J_={class:"opacity-80 text-sm"},X_={class:"opacity-80 text-sm"},Q_={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Y_={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Z_={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},e0={key:0,class:"space-y-5"},t0=V("div",null,[V("h2",{class:"text-lg mb-1"}," Sitemaps "),V("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1),n0={class:"opacity-80 text-base mb-1"},s0={class:"px-3 py-2 space-y-5"},o0={key:0},r0=V("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1),i0={class:"text-sm opacity-70"},a0={key:0,class:"flex space-x-5"},l0=V("div",{class:"w-40"},[V("div",{class:"font-bold text-sm mb-1"}," Sources "),V("div",{class:"opacity-40 text-xs max-w-60"},[ue(" Local sources associated with just this sitemap."),V("br"),ue("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1),c0={class:"flex-grow"},u0={class:"flex space-x-5"},f0=V("div",{class:"w-40"},[V("div",{class:"font-bold text-sm mb-1"}," App Sources "),V("div",{class:"opacity-40 text-xs max-w-60"},[ue(" Configured with the "),V("code",null,"includeAppSources"),ue(" option. ")])],-1),d0={class:"flex-grow flex flex-col justify-center"},p0={key:0,class:"opacity-70"},h0={key:1,class:"opacity-70"},m0={class:"opacity-50 text-xs mt-2"},g0={class:"flex space-x-5"},y0=V("div",{class:"w-40"},[V("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),V("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1),_0={class:"n-bg-base/20 flex-grow"},b0={key:1,class:"space-y-5"},v0=V("div",null,[V("h2",{class:"text-lg mb-1"}," App Sources "),V("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1),w0={key:2,class:"space-y-5"},x0=V("div",null,[V("h2",{class:"text-lg mb-1"}," User Sources "),V("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1),k0={key:3,class:"h-full max-h-full overflow-hidden"},S0={class:"opacity-80 text-base mb-1"},N0={class:"px-3 py-2 space-y-5"},T0=["innerHTML"],L0={key:4,class:"h-full max-h-full overflow-hidden"},P0=V("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),A0=[P0],R0=Ve({__name:"app",async setup(e){let t,n;[t,n]=$f(()=>Hy()),await t,n();const s=Te(!1);async function r(){s.value=!0,De.value=null,await eu(),setTimeout(()=>{s.value=!1},300)}const o=c_("@nuxtjs/sitemap:tab","sitemaps");function i(u){return De.value?u==="sitemap"||u==="sitemap.xml"?`${De.value.nitroOrigin}sitemap.xml`:u==="index"?`${De.value.nitroOrigin}sitemap_index.xml`:`${De.value.nitroOrigin}${u}-sitemap.xml`:""}function a(u){const p={};return Object.entries(u).forEach(([b,y])=>{y!==void 0&&(!Array.isArray(y)||y.length>0)&&b!=="includeAppSources"&&(p[b]=y)}),p}jh({htmlAttrs:{class:()=>nu.value||""}});const c=Je(()=>{var u,p;return((p=(u=De.value)==null?void 0:u.runtimeConfig)==null?void 0:p.excludeAppSources)||[]}),l=Je(()=>{var u;return(((u=De.value)==null?void 0:u.globalSources)||[]).filter(p=>p.sourceType==="app")}),d=Je(()=>{var u;return(((u=De.value)==null?void 0:u.globalSources)||[]).filter(p=>p.sourceType==="user")});return(u,p)=>{var f;const b=qr,y=Hc,T=Qt("VTooltip"),L=Fc,N=Kg,k=ey,h=A_,v=ru,_=lu;return X(),re("div",R_,[V("header",C_,[V("div",$_,[V("div",E_,[V("h1",j_,[Y(b,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),ue(" Sitemap "),Y(y,{class:"text-sm"},{default:ae(()=>{var g,w;return[ue(Me((w=(g=ie(De))==null?void 0:g.runtimeConfig)==null?void 0:w.version),1)]}),_:1})])]),V("div",O_,[V("fieldset",I_,[(X(),re(Se,null,an(["sitemaps","user-sources","app-sources","debug","docs"],(g,w)=>V("label",{key:w,class:Ae(["relative n-border-base hover:n-bg-active cursor-pointer",[w?"border-l n-border-base ml--1px":"",g===ie(o)?"n-bg-active":""]])},[g==="sitemaps"?(X(),re("div",{key:0,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ue(" Sitemaps ")]),default:ae(()=>[V("div",M_,[V("h2",B_,[Y(b,{icon:"carbon:load-balancer-application opacity-50"}),Y(y,{class:"text-sm"},{default:ae(()=>{var m;return[ue(Me(Object.keys(((m=ie(De))==null?void 0:m.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):je("",!0),g==="user-sources"?(X(),re("div",{key:1,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ue(" User Sources ")]),default:ae(()=>[V("div",H_,[V("h2",D_,[Y(b,{icon:"carbon:group-account opacity-50"}),Y(y,{class:"text-sm"},{default:ae(()=>[ue(Me(d.value.length),1)]),_:1})])])]),_:1})],2)):je("",!0),g==="app-sources"?(X(),re("div",{key:2,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ue(" App Sources ")]),default:ae(()=>[V("div",F_,[V("h2",U_,[Y(b,{icon:"carbon:bot opacity-50"}),Y(y,{class:"text-sm"},{default:ae(()=>[ue(Me(l.value.length),1)]),_:1})])])]),_:1})],2)):g==="debug"?(X(),re("div",{key:3,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ue(" Debug ")]),default:ae(()=>[V("div",G_,[V("h2",W_,[Y(b,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):g==="docs"?(X(),re("div",{key:4,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ue(" Documentation ")]),default:ae(()=>[V("div",V_,[V("h2",q_,[Y(b,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):je("",!0),kf(V("input",{"onUpdate:modelValue":p[0]||(p[0]=m=>Ee(o)?o.value=m:null),type:"radio",value:g,title:g,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,z_),[[Pd,ie(o)]])],2)),64))]),Y(T,null,{popper:ae(()=>[ue(" Refresh ")]),default:ae(()=>[V("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:r},[Y(b,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),V("div",K_,[V("div",J_,[Y(L,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ae(()=>[Y(b,{icon:"carbon:favorite",class:"mr-[2px]"}),ue(" Sponsor ")]),_:1})]),V("div",X_,[Y(L,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:ae(()=>[Y(b,{icon:"logos:github-icon",class:"mr-[2px]"}),ue(" Submit an issue ")]),_:1})]),V("a",Q_,[Y(N)])])])]),V("div",Y_,[V("main",Z_,[!((f=ie(De))!=null&&f.globalSources)||s.value?(X(),Ne(k,{key:0})):(X(),re(Se,{key:1},[ie(o)==="sitemaps"?(X(),re("div",e0,[t0,(X(!0),re(Se,null,an(ie(De).sitemaps,(g,w)=>(X(),Ne(_,{key:w},{text:ae(()=>[V("h3",n0,[ue(Me(g.sitemapName)+" ",1),(g.sources||[]).some(m=>!!m.error)?(X(),Ne(b,{key:0,icon:"carbon:warning",class:"text-red-500"})):je("",!0)])]),description:ae(()=>[Y(L,{target:"_blank",href:i(g.sitemapName)},{default:ae(()=>[ue(Me(i(g.sitemapName)),1)]),_:2},1032,["href"])]),default:ae(()=>[V("div",s0,[g.sitemapName==="index"?(X(),re("div",o0,[r0,V("div",i0,[ue(" You can learn about this on the "),Y(L,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:ae(()=>[ue(" Google Search Central ")]),_:1}),ue(". ")])])):(X(),re(Se,{key:1},[g.sources&&g.sources.length?(X(),re("div",a0,[l0,V("div",c0,[(X(!0),re(Se,null,an(g.sources,(m,x)=>(X(),Ne(h,{key:x,source:m},null,8,["source"]))),128))])])):je("",!0),V("div",u0,[f0,V("div",d0,[g.includeAppSources&&c.value!==!0?(X(),re("div",p0,[Y(b,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),ue(" Enabled ")])):(X(),re("div",h0,[Y(b,{icon:"carbon:close",class:"text-red-500 text-lg"}),ue(" Disabled ")])),V("div",m0,[ue(" Switch to "),Y(L,{underline:"",class:"cursor-pointer",onClick:p[1]||(p[1]=m=>o.value="app-sources")},{default:ae(()=>[ue(" App sources ")]),_:1}),ue(" to learn more. ")])])]),V("div",g0,[y0,V("div",_0,[Y(v,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(a(g),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):ie(o)==="app-sources"?(X(),re("div",b0,[v0,(X(!0),re(Se,null,an(l.value,(g,w)=>(X(),Ne(h,{key:w,source:g},null,8,["source"]))),128))])):ie(o)==="user-sources"?(X(),re("div",w0,[x0,(X(!0),re(Se,null,an(d.value,(g,w)=>(X(),Ne(h,{key:w,source:g},null,8,["source"]))),128))])):ie(o)==="debug"?(X(),re("div",k0,[Y(_,null,{text:ae(()=>[V("h3",S0,[Y(b,{icon:"carbon:settings",class:"mr-1"}),ue(" Runtime Config ")])]),default:ae(()=>{var g;return[V("div",N0,[V("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:ie(ou)(JSON.stringify((g=ie(De))==null?void 0:g.runtimeConfig,null,2),"json").value},null,8,T0)])]}),_:1})])):ie(o)==="docs"?(X(),re("div",L0,A0)):je("",!0)],64))])])])}}}),C0={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
8
+ `).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
9
+ `);const s=Number(n.statusCode||500),r=s===404,o=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,d=r?Ns(()=>js(()=>import("./error-404.7uOqzSqH.js"),__vite__mapDeps([5,6]),import.meta.url).then(u=>u.default||u)):Ns(()=>js(()=>import("./error-500.WNrg0_Da.js"),__vite__mapDeps([7,8]),import.meta.url).then(u=>u.default||u));return(u,p)=>(X(),Ne(ie(d),Ta($r({statusCode:ie(s),statusMessage:ie(o),description:ie(i),stack:ie(a)})),null,16))}},va={__name:"nuxt-root",setup(e){const t=()=>null,n=Pe(),s=n.deferHydration(),r=!1;hl(oc,ac()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=Dr();ul((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),Kh(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>qh(a)),!1});const i=!1;return(a,c)=>(X(),Ne(pf,{onResolve:ie(s)},{default:ae(()=>[ie(o)?(X(),Ne(ie(C0),{key:0,error:ie(o)},null,8,["error"])):ie(i)?(X(),Ne(ie(t),{key:1,context:ie(i)},null,8,["context"])):ie(r)?(X(),Ne(uf(ie(r)),{key:2})):(X(),Ne(ie(R0),{key:3}))]),_:1},8,["onResolve"]))}};let wa;{let e;wa=async function(){var i,a;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?jd(va):jl(va),r=Mp({vueApp:s});async function o(c){await r.callHook("app:error",c),r.payload.error=r.payload.error||c}s.config.errorHandler=o;try{await Hp(r,$g)}catch(c){o(c)}try{await r.hooks.callHook("app:created",s),await r.hooks.callHook("app:beforeMount",s),s.mount(em),await r.hooks.callHook("app:mounted",s),await nn()}catch(c){o(c)}return s.config.errorHandler===o&&(s.config.errorHandler=void 0),s},e=wa().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{$0 as A,lo as _,V as a,Y as b,re as c,ue as d,Hg as e,tl as f,Ve as g,Ps as h,Yh as i,ct as j,vm as k,Je as l,$f as m,Ae as n,X as o,el as p,zt as q,Te as r,Ne as s,Me as t,jh as u,ie as v,ae as w,uf as x,Ge as y,Pe as z};
10
+ function __vite__mapDeps(indexes) {
11
+ if (!__vite__mapDeps.viteFileDeps) {
12
+ __vite__mapDeps.viteFileDeps = ["./Icon.2tyjEtKK.js","./index.lSDm5iYo.js","./Icon.I3NdYkjC.css","./IconCSS.kc6lqUGY.js","./IconCSS.6oz918NR.css","./error-404.7uOqzSqH.js","./error-404.DkXpI38i.css","./error-500.WNrg0_Da.js","./error-500.SLhS9LVu.css"]
13
+ }
14
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
15
+ }