@nuxtjs/sitemap 5.0.3 → 5.0.5

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,31 @@
1
+ /**
2
+ * @vue/shared v3.4.14
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/function fr(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ke={},an=[],Qe=()=>{},cu=()=>!1,Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),dr=e=>e.startsWith("onUpdate:"),Ie=Object.assign,pr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uu=Object.prototype.hasOwnProperty,fe=(e,t)=>uu.call(e,t),te=Array.isArray,ln=e=>Jn(e)==="[object Map]",ka=e=>Jn(e)==="[object Set]",Qr=e=>Jn(e)==="[object Date]",ne=e=>typeof e=="function",Le=e=>typeof e=="string",It=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",hr=e=>(ve(e)||ne(e))&&ne(e.then)&&ne(e.catch),Sa=Object.prototype.toString,Jn=e=>Sa.call(e),fu=e=>Jn(e).slice(8,-1),Na=e=>Jn(e)==="[object Object]",mr=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=fr(",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,ut=Gs(e=>e.replace(du,(t,n)=>n?n.toUpperCase():"")),pu=/\B([A-Z])/g,Yt=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),ds=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},_s=(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 Yr;const Ta=()=>Yr||(Yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qt(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Le(s)?bu(s):qt(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Le(e)||ve(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(te(e))for(let n=0;n<e.length;n++){const s=Ae(e[n]);s&&(t+=s+" ")}else if(ve(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function La(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=Ae(t)),n&&(e.style=qt(n)),e}const vu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wu=fr(vu);function Pa(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=bs(e[s],t[s]);return n}function bs(e,t){if(e===t)return!0;let n=Qr(e),s=Qr(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=te(e),s=te(t),n||s)return n&&s?xu(e,t):!1;if(n=ve(e),s=ve(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||!bs(e[i],t[i]))return!1}}return String(e)===String(t)}const Me=e=>Le(e)?e:e==null?"":te(e)||ve(e)&&(e.toString===Sa||!ne(e.toString))?JSON.stringify(e,Aa,2):String(e),Aa=(e,t)=>t&&t.__v_isRef?Aa(e,t.value):ln(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[fo(s,o)+" =>"]=r,n),{})}:ka(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fo(n))}:It(t)?fo(t):ve(t)&&!te(t)&&!Na(t)?String(t):t,fo=(e,t="")=>{var n;return It(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.4.14
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let ze;class Ra{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ze;try{return ze=this,t()}finally{ze=n}}}on(){ze=this}off(){ze=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 Ra(e)}function Su(e,t=ze){t&&t.active&&t.effects.push(e)}function Ca(){return ze}function Nu(e){ze&&ze.cleanups.push(e)}let zt;class gr{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Su(this,r)}get dirty(){if(this._dirtyLevel===1){Zt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Tu(n.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),en()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Et,n=zt;try{return Et=!0,zt=this,this._runnings++,Zr(this),this.fn()}finally{ei(this),this._runnings--,zt=n,Et=t}}stop(){var t;this.active&&(Zr(this),ei(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Tu(e){return e.value}function Zr(e){e._trackId++,e._depsLength=0}function ei(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ea(e.deps[t],e);e.deps.length=e._depsLength}}function Ea(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Et=!0,Co=0;const $a=[];function Zt(){$a.push(Et),Et=!1}function en(){const e=$a.pop();Et=e===void 0?!0:e}function yr(){Co++}function _r(){for(Co--;!Co&&Eo.length;)Eo.shift()()}function ja(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Ea(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Eo=[];function Oa(e,t,n){yr();for(const s of e.keys())if(e.get(s)===s._trackId){if(s._dirtyLevel<t&&!(s._runnings&&!s.allowRecurse)){const r=s._dirtyLevel;s._dirtyLevel=t,r===0&&(s._shouldSchedule=!0,s.trigger())}s.scheduler&&s._shouldSchedule&&(!s._runnings||s.allowRecurse)&&(s._shouldSchedule=!1,Eo.push(s.scheduler))}_r()}const Ia=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},vs=new WeakMap,Kt=Symbol(""),$o=Symbol("");function We(e,t,n){if(Et&&zt){let s=vs.get(e);s||vs.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Ia(()=>s.delete(n))),ja(zt,r)}}function bt(e,t,n,s,r,o){const i=vs.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&te(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":te(e)?mr(n)&&a.push(i.get("length")):(a.push(i.get(Kt)),ln(e)&&a.push(i.get($o)));break;case"delete":te(e)||(a.push(i.get(Kt)),ln(e)&&a.push(i.get($o)));break;case"set":ln(e)&&a.push(i.get(Kt));break}yr();for(const c of a)c&&Oa(c,2);_r()}function Lu(e,t){var n;return(n=vs.get(e))==null?void 0:n.get(t)}const Pu=fr("__proto__,__v_isRef,__isVue"),Ma=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(It)),ti=Au();function Au(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=de(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(de)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Zt(),yr();const s=de(this)[t].apply(this,n);return _r(),en(),s}}),e}function Ru(e){const t=de(this);return We(t,"has",e),t.hasOwnProperty(e)}class Ba{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:Ua:o?Da:Fa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=te(t);if(!r){if(i&&fe(ti,n))return Reflect.get(ti,n,s);if(n==="hasOwnProperty")return Ru}const a=Reflect.get(t,n,s);return(It(n)?Ma.has(n):Pu(n))||(r||We(t,"get",n),o)?a:je(a)?i&&mr(n)?a:a.value:ve(a)?r?wr(a):ft(a):a}}class Ha extends Ba{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._shallow){const c=Jt(o);if(!ws(s)&&!Jt(s)&&(o=de(o),s=de(s)),!te(t)&&je(o)&&!je(s))return c?!1:(o.value=s,!0)}const i=te(t)&&mr(n)?Number(n)<t.length:fe(t,n),a=Reflect.set(t,n,s,r);return t===de(r)&&(i?Mt(s,o)&&bt(t,"set",n,s):bt(t,"add",n,s)),a}deleteProperty(t,n){const s=fe(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)||!Ma.has(n))&&We(t,"has",n),s}ownKeys(t){return We(t,"iterate",te(t)?"length":Kt),Reflect.ownKeys(t)}}class Cu extends Ba{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Eu=new Ha,$u=new Cu,ju=new Ha(!0),br=e=>e,Vs=e=>Reflect.getPrototypeOf(e);function Yn(e,t,n=!1,s=!1){e=e.__v_raw;const r=de(e),o=de(t);n||(Mt(t,o)&&We(r,"get",t),We(r,"get",o));const{has:i}=Vs(r),a=s?br:n?kr:In;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 Zn(e,t=!1){const n=this.__v_raw,s=de(n),r=de(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 es(e,t=!1){return e=e.__v_raw,!t&&We(de(e),"iterate",Kt),Reflect.get(e,"size",e)}function ni(e){e=de(e);const t=de(this);return Vs(t).has.call(t,e)||(t.add(e),bt(t,"add",e,e)),this}function si(e,t){t=de(t);const n=de(this),{has:s,get:r}=Vs(n);let o=s.call(n,e);o||(e=de(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 oi(e){const t=de(this),{has:n,get:s}=Vs(t);let r=n.call(t,e);r||(e=de(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 ri(){const e=de(this),t=e.size!==0,n=e.clear();return t&&bt(e,"clear",void 0,void 0),n}function ts(e,t){return function(s,r){const o=this,i=o.__v_raw,a=de(i),c=t?br:e?kr:In;return!e&&We(a,"iterate",Kt),i.forEach((l,d)=>s.call(r,c(l),c(d),o))}}function ns(e,t,n){return function(...s){const r=this.__v_raw,o=de(r),i=ln(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=r[e](...s),d=n?br:t?kr:In;return!t&&We(o,"iterate",c?$o:Kt),{next(){const{value:f,done:p}=l.next();return p?{value:f,done:p}:{value:a?[d(f[0]),d(f[1])]:d(f),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 Yn(this,o)},get size(){return es(this)},has:Zn,add:ni,set:si,delete:oi,clear:ri,forEach:ts(!1,!1)},t={get(o){return Yn(this,o,!1,!0)},get size(){return es(this)},has:Zn,add:ni,set:si,delete:oi,clear:ri,forEach:ts(!1,!0)},n={get(o){return Yn(this,o,!0)},get size(){return es(this,!0)},has(o){return Zn.call(this,o,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:ts(!0,!1)},s={get(o){return Yn(this,o,!0,!0)},get size(){return es(this,!0)},has(o){return Zn.call(this,o,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ns(o,!1,!1),n[o]=ns(o,!0,!1),t[o]=ns(o,!1,!0),s[o]=ns(o,!0,!0)}),[e,n,t,s]}const[Iu,Mu,Bu,Hu]=Ou();function vr(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(fe(n,r)&&r in s?n:s,r,o)}const Fu={get:vr(!1,!1)},Du={get:vr(!1,!0)},Uu={get:vr(!0,!1)},Fa=new WeakMap,Da=new WeakMap,Ua=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 ft(e){return Jt(e)?e:xr(e,!1,Eu,Fu,Fa)}function Ga(e){return xr(e,!1,ju,Du,Da)}function wr(e){return xr(e,!0,$u,Uu,Ua)}function xr(e,t,n,s,r){if(!ve(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 cn(e){return Jt(e)?cn(e.__v_raw):!!(e&&e.__v_isReactive)}function Jt(e){return!!(e&&e.__v_isReadonly)}function ws(e){return!!(e&&e.__v_isShallow)}function Wa(e){return cn(e)||Jt(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function Va(e){return _s(e,"__v_skip",!0),e}const In=e=>ve(e)?ft(e):e,kr=e=>ve(e)?wr(e):e;class qa{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new gr(()=>t(this._value),()=>jo(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=de(this);return(!t._cacheable||t.effect.dirty)&&Mt(t._value,t._value=t.effect.run())&&jo(t,2),za(t),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=ne(e);return o?(s=e,r=Qe):(s=e.get,r=e.set),new qa(s,r,o||!r,n)}function za(e){Et&&zt&&(e=de(e),ja(zt,e.dep||(e.dep=Ia(()=>e.dep=void 0,e instanceof qa?e:void 0))))}function jo(e,t=2,n){e=de(e);const s=e.dep;s&&Oa(s,t)}function je(e){return!!(e&&e.__v_isRef===!0)}function Te(e){return Ka(e,!1)}function Oo(e){return Ka(e,!0)}function Ka(e,t){return je(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:de(t),this._value=n?t:In(t)}get value(){return za(this),this._value}set value(t){const n=this.__v_isShallow||ws(t)||Jt(t);t=n?t:de(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:In(t),jo(this,2))}}function ie(e){return je(e)?e.value:e}function Ku(e){return ne(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 je(r)&&!je(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ja(e){return cn(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(de(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 Xa(e,t,n){return je(e)?e:ne(e)?new Qu(e):ve(e)&&arguments.length>1?Yu(e,t,n):Te(e)}function Yu(e,t,n){const s=e[t];return je(s)?s:new Xu(e,t,n)}/**
10
+ * @vue/runtime-core v3.4.14
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function $t(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){vn(o,t,n)}return r}function tt(e,t,n,s){if(ne(e)){const o=$t(e,t,n,s);return o&&hr(o)&&o.catch(i=>{vn(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(tt(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 Mn=!1,Io=!1;const Be=[];let it=0;const un=[];let Lt=null,Wt=0;const Qa=Promise.resolve();let Sr=null;function tn(e){const t=Sr||Qa;return e?t.then(this?e.bind(this):e):t}function ef(e){let t=it+1,n=Be.length;for(;t<n;){const s=t+n>>>1,r=Be[s],o=Bn(r);o<e||o===e&&r.pre?t=s+1:n=s}return t}function qs(e){(!Be.length||!Be.includes(e,Mn&&e.allowRecurse?it+1:it))&&(e.id==null?Be.push(e):Be.splice(ef(e.id),0,e),Ya())}function Ya(){!Mn&&!Io&&(Io=!0,Sr=Qa.then(Za))}function tf(e){const t=Be.indexOf(e);t>it&&Be.splice(t,1)}function Mo(e){te(e)?un.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Wt+1:Wt))&&un.push(e),Ya()}function ii(e,t,n=Mn?it+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 xs(e){if(un.length){const t=[...new Set(un)].sort((n,s)=>Bn(n)-Bn(s));if(un.length=0,Lt){Lt.push(...t);return}for(Lt=t,Wt=0;Wt<Lt.length;Wt++)Lt[Wt]();Lt=null,Wt=0}}const Bn=e=>e.id==null?1/0:e.id,nf=(e,t)=>{const n=Bn(e)-Bn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Za(e){Io=!1,Mn=!0,Be.sort(nf);try{for(it=0;it<Be.length;it++){const t=Be[it];t&&t.active!==!1&&$t(t,null,14)}}finally{it=0,Be.length=0,xs(),Mn=!1,Sr=null,(Be.length||un.length)&&Za()}}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:f,trim:p}=s[d]||ke;p&&(r=n.map(b=>Le(b)?b.trim():b)),f&&(r=n.map(hu))}let a,c=s[a=uo(t)]||s[a=uo(ut(t))];!c&&o&&(c=s[a=uo(Yt(t))]),c&&tt(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,tt(l,e,6,r)}}function el(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(!ne(e)){const c=l=>{const d=el(l,t,!0);d&&(a=!0,Ie(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(ve(e)&&s.set(e,null),null):(te(o)?o.forEach(c=>i[c]=null):Ie(i,o),ve(e)&&s.set(e,i),i)}function zs(e,t){return!e||!Kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,Yt(t))||fe(e,t))}let Re=null,Ks=null;function ks(e){const t=Re;return Re=e,Ks=e&&e.type.__scopeId||null,t}function tl(e){Ks=e}function nl(){Ks=null}const of=e=>ae;function ae(e,t=Re,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&_i(-1);const o=ks(t);let i;try{i=e(...r)}finally{ks(o),s._d&&_i(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:f,data:p,setupState:b,ctx:y,inheritAttrs:T}=e;let L,N;const x=ks(e);try{if(n.shapeFlag&4){const k=r||s,_=k;L=Xe(d.call(_,k,f,o,b,p,y)),N=c}else{const k=t;L=Xe(k.length>1?k(o,{attrs:c,slots:a,emit:l}):k(o,null)),N=t.props?c:af(c)}}catch(k){Rn.length=0,vn(k,e,1),L=Y(st)}let h=L;if(N&&T!==!1){const k=Object.keys(N),{shapeFlag:_}=h;k.length&&_&7&&(i&&k.some(dr)&&(N=lf(N,i)),h=_n(h,N))}return n.dirs&&(h=_n(h),h.dirs=h.dirs?h.dirs.concat(n.dirs):n.dirs),n.transition&&(h.transition=n.transition),L=h,ks(x),L}function rf(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(Dn(r)){if(r.type!==st||r.children==="v-if"){if(n)return;n=r}}else return}return n}const af=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kn(n))&&((t||(t={}))[n]=e[n]);return t},lf=(e,t)=>{const n={};for(const s in e)(!dr(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?ai(s,i,l):!!i;if(c&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const p=d[f];if(i[p]!==s[p]&&!zs(l,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?ai(s,i,l):!0:!!i;return!1}function ai(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 Nr({vnode:e,parent:t},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 Tr="components";function Xt(e,t){return ol(Tr,e,!0,t)||e}const sl=Symbol.for("v-ndc");function uf(e){return Le(e)?ol(Tr,e,!1)||e:e||sl}function ol(e,t,n=!0,s=!1){const r=Re||Ee;if(r){const o=r.type;if(e===Tr){const a=ad(o,!1);if(a&&(a===t||a===ut(t)||a===Ws(ut(t))))return o}const i=li(r[e]||o[e],t)||li(r.appContext[e],t);return!i&&s?o:i}}function li(e,t){return e&&(e[t]||e[ut(t)]||e[Ws(ut(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){if(e==null)hf(t,n,s,r,o,i,a,c,l);else{if(o&&o.deps>0){t.suspense=e.suspense;return}mf(e,t,n,s,r,i,a,c,l)}},hydrate:gf,create:Lr,normalize:yf},pf=df;function Hn(e,t){const n=e.props&&e.props[t];ne(n)&&n()}function hf(e,t,n,s,r,o,i,a,c){const{p:l,o:{createElement:d}}=c,f=d("div"),p=e.suspense=Lr(e,r,s,t,f,n,o,i,a,c);l(null,p.pendingBranch=e.ssContent,f,null,s,p,o,i),p.deps>0?(Hn(e,"onPending"),Hn(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,o,i),fn(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 f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,b=t.ssFallback,{activeBranch:y,pendingBranch:T,isInFallback:L,isHydrating:N}=f;if(T)f.pendingBranch=p,Rt(p,T)?(c(T,p,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0?f.resolve():L&&(N||(c(y,b,n,s,r,null,o,i,a),fn(f,b)))):(f.pendingId=Bo++,N?(f.isHydrating=!1,f.activeBranch=T):l(T,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),L?(c(null,p,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0?f.resolve():(c(y,b,n,s,r,null,o,i,a),fn(f,b))):y&&Rt(p,y)?(c(y,p,n,s,r,f,o,i,a),f.resolve(!0)):(c(null,p,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0&&f.resolve()));else if(y&&Rt(p,y))c(y,p,n,s,r,f,o,i,a),fn(f,p);else if(Hn(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=Bo++,c(null,p,f.hiddenContainer,null,r,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:x,pendingId:h}=f;x>0?setTimeout(()=>{f.pendingId===h&&f.fallback(b)},x):x===0&&f.fallback(b)}}function Lr(e,t,n,s,r,o,i,a,c,l,d=!1){const{p:f,m:p,um:b,n:y,o:{parentNode:T,remove:L}}=l;let N;const x=_f(e);x&&t!=null&&t.pendingBranch&&(N=t.pendingId,t.deps++);const h=e.props?mu(e.props.timeout):void 0,k=o,_={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:r,deps:0,pendingId:Bo++,timeout:typeof h=="number"?h:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(u=!1,g=!1){const{vnode:v,activeBranch:m,pendingBranch:w,pendingId:S,effects:P,parentComponent:C,container:O}=_;let B=!1;_.isHydrating?_.isHydrating=!1:u||(B=m&&w.transition&&w.transition.mode==="out-in",B&&(m.transition.afterLeave=()=>{S===_.pendingId&&(p(w,O,o===k?y(m):o,0),Mo(P))}),m&&(T(m.el)!==_.hiddenContainer&&(o=y(m)),b(m,C,_,!0)),B||p(w,O,o,0)),fn(_,w),_.pendingBranch=null,_.isInFallback=!1;let j=_.parent,K=!1;for(;j;){if(j.pendingBranch){j.effects.push(...P),K=!0;break}j=j.parent}!K&&!B&&Mo(P),_.effects=[],x&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!g&&t.resolve()),Hn(v,"onResolve")},fallback(u){if(!_.pendingBranch)return;const{vnode:g,activeBranch:v,parentComponent:m,container:w,namespace:S}=_;Hn(g,"onFallback");const P=y(v),C=()=>{_.isInFallback&&(f(null,u,w,P,m,null,S,a,c),fn(_,u))},O=u.transition&&u.transition.mode==="out-in";O&&(v.transition.afterLeave=C),_.isInFallback=!0,b(v,m,null,!0),O||C()},move(u,g,v){_.activeBranch&&p(_.activeBranch,u,g,v),_.container=u},next(){return _.activeBranch&&y(_.activeBranch)},registerDep(u,g){const v=!!_.pendingBranch;v&&_.deps++;const m=u.vnode.el;u.asyncDep.catch(w=>{vn(w,u,0)}).then(w=>{if(u.isUnmounted||_.isUnmounted||_.pendingId!==u.suspenseId)return;u.asyncResolved=!0;const{vnode:S}=u;Vo(u,w,!1),m&&(S.el=m);const P=!m&&u.subTree.el;g(u,S,T(m||u.subTree.el),m?null:y(u.subTree),_,i,c),P&&L(P),Nr(u,S.el),v&&--_.deps===0&&_.resolve()})},unmount(u,g){_.isUnmounted=!0,_.activeBranch&&b(_.activeBranch,n,u,g),_.pendingBranch&&b(_.pendingBranch,n,u,g)}};return _}function gf(e,t,n,s,r,o,i,a,c){const l=t.suspense=Lr(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=ci(s?n.default:n),e.ssFallback=s?ci(n.fallback):Y(st)}function ci(e){let t;if(ne(e)){const n=yn&&e._c;n&&(e._d=!1,X()),e=e(),n&&(e._d=!0,t=Ye,Tl())}return te(e)&&(e=rf(e)),e=Xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function rl(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Mo(e)}function fn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Nr(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=()=>pn(bf);function il(e,t){return Js(e,null,t)}function wf(e,t){return Js(e,null,{flush:"post"})}const ss={};function at(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 u=t;t=(...g)=>{u(...g),_()}}const c=Ee,l=u=>s===!0?u:Vt(u,s===!1?1:void 0);let d,f=!1,p=!1;if(je(e)?(d=()=>e.value,f=ws(e)):cn(e)?(d=()=>l(e),f=!0):te(e)?(p=!0,f=e.some(u=>cn(u)||ws(u)),d=()=>e.map(u=>{if(je(u))return u.value;if(cn(u))return l(u);if(ne(u))return $t(u,c,2)})):ne(e)?t?d=()=>$t(e,c,2):d=()=>(b&&b(),tt(e,c,3,[y])):d=Qe,t&&s){const u=d;d=()=>Vt(u())}let b,y=u=>{b=h.onStop=()=>{$t(u,c,4),b=h.onStop=void 0}},T;if(Xn)if(y=Qe,t?n&&tt(t,c,3,[d(),p?[]:void 0,y]):d(),r==="sync"){const u=vf();T=u.__watcherHandles||(u.__watcherHandles=[])}else return Qe;let L=p?new Array(e.length).fill(ss):ss;const N=()=>{if(!(!h.active||!h.dirty))if(t){const u=h.run();(s||f||(p?u.some((g,v)=>Mt(g,L[v])):Mt(u,L)))&&(b&&b(),tt(t,c,3,[u,L===ss?void 0:p&&L[0]===ss?[]:L,y]),L=u)}else h.run()};N.allowRecurse=!!t;let x;r==="sync"?x=N:r==="post"?x=()=>De(N,c&&c.suspense):(N.pre=!0,c&&(N.id=c.uid),x=()=>qs(N));const h=new gr(d,Qe,x),k=Ca(),_=()=>{h.stop(),k&&pr(k.effects,h)};return t?n?N():L=h.run():r==="post"?De(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(".")?al(s,e):()=>s[e]:e.bind(s,s);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Qt(this),a=Js(r,o.bind(s),n);return i(),a}function al(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 Vt(e,t,n=0,s){if(!ve(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),je(e))Vt(e.value,t,n,s);else if(te(e))for(let r=0;r<e.length;r++)Vt(e[r],t,n,s);else if(ka(e)||ln(e))e.forEach(r=>{Vt(r,t,n,s)});else if(Na(e))for(const r in e)Vt(e[r],t,n,s);return e}function kf(e,t){if(Re===null)return e;const n=eo(Re)||Re.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,a,c=ke]=t[r];o&&(ne(o)&&(o={mounted:o,updated:o}),o.deep&&Vt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function rt(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&&(Zt(),tt(c,n,8,[e.el,a,e,t]),en())}}/*! #__NO_SIDE_EFFECTS__ */function Ve(e,t){return ne(e)?Ie({name:e.name},t,{setup:e}):e}const dn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ss(e){ne(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 f=()=>(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(f()),()=>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=Ee;if(l)return()=>ho(l,b);const y=x=>{c=null,vn(x,b,13,!s)};if(i&&b.suspense||Xn)return p().then(x=>()=>ho(x,b)).catch(x=>(y(x),()=>s?Y(s,{error:x}):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 x=new Error(`Async component timed out after ${o}ms.`);y(x),L.value=x}},o),p().then(()=>{T.value=!0,b.parent&&Pr(b.parent.vnode)&&(b.parent.effect.dirty=!0,qs(b.parent.update))}).catch(x=>{y(x),L.value=x}),()=>{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 Pr=e=>e.type.__isKeepAlive;function ll(e,t){ul(e,"a",t)}function cl(e,t){ul(e,"da",t)}function ul(e,t,n=Ee){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;)Pr(r.parent.vnode)&&Sf(s,t,n,r),r=r.parent}}function Sf(e,t,n,s){const r=Xs(t,e,s,!0);Rr(()=>{pr(s[t],r)},n)}function Xs(e,t,n=Ee,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Zt();const a=Qt(n),c=tt(t,n,e,i);return a(),en(),c});return s?r.unshift(o):r.push(o),o}}const wt=e=>(t,n=Ee)=>(!Xn||e==="sp")&&Xs(e,(...s)=>t(...s),n),Nf=wt("bm"),Qs=wt("m"),Tf=wt("bu"),Lf=wt("u"),Ar=wt("bum"),Rr=wt("um"),Pf=wt("sp"),Af=wt("rtg"),Rf=wt("rtc");function fl(e,t=Ee){Xs("ec",e,t)}function rn(e,t,n,s){let r;const o=n&&n[s];if(te(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(ve(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(Re.isCE||Re.parent&&dn(Re.parent)&&Re.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&&dl(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 dl(e){return e.some(t=>Dn(t)?!(t.type===st||t.type===Se&&!dl(t.children)):!0)?e:null}const Ho=e=>e?Al(e)?eo(e)||e.proxy:Ho(e.parent):null,An=Ie(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=>Cr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qs(e.update)}),$nextTick:e=>e.n||(e.n=tn.bind(e.proxy)),$watch:e=>xf.bind(e)}),mo=(e,t)=>e!==ke&&!e.__isScriptSetup&&fe(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&&fe(r,t))return i[t]=2,r[t];if((l=e.propsOptions[0])&&fe(l,t))return i[t]=3,o[t];if(n!==ke&&fe(n,t))return i[t]=4,n[t];Fo&&(i[t]=0)}}const d=An[t];let f,p;if(d)return t==="$attrs"&&We(e,"get",t),d(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ke&&fe(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,fe(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&&fe(s,t)?(s[t]=n,!0):fe(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&&fe(e,i)||mo(t,i)||(a=o[0])&&fe(a,i)||fe(s,i)||fe(An,i)||fe(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ui(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ef(e){const t=wn();let n=e();return Wo(),hr(n)&&(n=n.catch(s=>{throw Qt(t),s})),[n,()=>Qt(t)]}let Fo=!0;function $f(e){const t=Cr(e),n=e.proxy,s=e.ctx;Fo=!1,t.beforeCreate&&fi(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:c,inject:l,created:d,beforeMount:f,mounted:p,beforeUpdate:b,updated:y,activated:T,deactivated:L,beforeDestroy:N,beforeUnmount:x,destroyed:h,unmounted:k,render:_,renderTracked:u,renderTriggered:g,errorCaptured:v,serverPrefetch:m,expose:w,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];ne(q)&&(s[K]=q.bind(n))}if(r){const K=r.call(n,n);ve(K)&&(e.data=ft(K))}if(Fo=!0,o)for(const K in o){const q=o[K],se=ne(q)?q.bind(n,n):ne(q.get)?q.get.bind(n,n):Qe,_e=!ne(q)&&ne(q.set)?q.set.bind(n):Qe,pe=Ke({get:se,set:_e});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>pe.value,set:le=>pe.value=le})}if(a)for(const K in a)pl(a[K],s,n,K);if(c){const K=ne(c)?c.call(n):c;Reflect.ownKeys(K).forEach(q=>{ml(q,K[q])})}d&&fi(d,e,"c");function j(K,q){te(q)?q.forEach(se=>K(se.bind(n))):q&&K(q.bind(n))}if(j(Nf,f),j(Qs,p),j(Tf,b),j(Lf,y),j(ll,T),j(cl,L),j(fl,v),j(Rf,u),j(Af,g),j(Ar,x),j(Rr,k),j(Pf,m),te(w))if(w.length){const K=e.exposed||(e.exposed={});w.forEach(q=>{Object.defineProperty(K,q,{get:()=>n[q],set:se=>n[q]=se})})}else e.exposed||(e.exposed={});_&&e.render===Qe&&(e.render=_),S!=null&&(e.inheritAttrs=S),P&&(e.components=P),C&&(e.directives=C)}function jf(e,t,n=Qe){te(e)&&(e=Do(e));for(const s in e){const r=e[s];let o;ve(r)?"default"in r?o=pn(r.from||s,r.default,!0):o=pn(r.from||s):o=pn(r),je(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function fi(e,t,n){tt(te(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function pl(e,t,n,s){const r=s.includes(".")?al(n,s):()=>n[s];if(Le(e)){const o=t[e];ne(o)&&at(r,o)}else if(ne(e))at(r,e.bind(n));else if(ve(e))if(te(e))e.forEach(o=>pl(o,t,n,s));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&at(r,o,e)}}function Cr(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=>Ns(c,l,i,!0)),Ns(c,t,i)),ve(t)&&o.set(t,c),c}function Ns(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Ns(e,o,n,!0),r&&r.forEach(i=>Ns(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:di,props:pi,emits:pi,methods:Ln,computed:Ln,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:Ln,directives:Ln,watch:Mf,provide:di,inject:If};function di(e,t){return t?e?function(){return Ie(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function If(e,t){return Ln(Do(e),Do(t))}function Do(e){if(te(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 Ln(e,t){return e?Ie(Object.create(null),e,t):t}function pi(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:Ie(Object.create(null),ui(e),ui(t??{})):t}function Mf(e,t){if(!e)return t;if(!t)return e;const n=Ie(Object.create(null),e);for(const s in t)n[s]=He(e[s],t[s]);return n}function hl(){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){ne(s)||(s=Ie({},s)),r!=null&&!ve(r)&&(r=null);const o=hl(),i=new WeakSet;let a=!1;const c=o.app={_uid:Bf++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Cl,get config(){return o.config},set config(l){},use(l,...d){return i.has(l)||(l&&ne(l.install)?(i.add(l),l.install(c,...d)):ne(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,f){if(!a){const p=Y(s,r);return p.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),d&&t?t(p,l):e(p,l,f),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 ml(e,t){if(Ee){let n=Ee.provides;const s=Ee.parent&&Ee.parent.provides;s===n&&(n=Ee.provides=Object.create(s)),n[e]=t}}function pn(e,t,n=!1){const s=Ee||Re;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&&ne(t)?t.call(s&&s.proxy):t}}function gl(){return!!(Ee||Re||Fn)}function Ff(e,t,n,s=!1){const r={},o={};_s(o,Ys,1),e.propsDefaults=Object.create(null),yl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Ga(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Df(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=de(r),[c]=e.propsOptions;let l=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let p=d[f];if(zs(e.emitsOptions,p))continue;const b=t[p];if(c)if(fe(o,p))b!==o[p]&&(o[p]=b,l=!0);else{const y=ut(p);r[y]=Uo(c,a,y,b,e,!1)}else b!==o[p]&&(o[p]=b,l=!0)}}}else{yl(e,t,r,o)&&(l=!0);let d;for(const f in a)(!t||!fe(t,f)&&((d=Yt(f))===f||!fe(t,d)))&&(c?n&&(n[f]!==void 0||n[d]!==void 0)&&(r[f]=Uo(c,a,f,void 0,e,!0)):delete r[f]);if(o!==a)for(const f in o)(!t||!fe(t,f))&&(delete o[f],l=!0)}l&&bt(e,"set","$attrs")}function yl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(Pn(c))continue;const l=t[c];let d;r&&fe(r,d=ut(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=de(n),l=a||ke;for(let d=0;d<o.length;d++){const f=o[d];n[f]=Uo(r,c,f,l[f],e,!fe(l,f))}}return i}function Uo(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=fe(i,"default");if(a&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&ne(c)){const{propsDefaults:l}=r;if(n in l)s=l[n];else{const d=Qt(r);s=l[n]=c.call(null,t),d()}}else s=c}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===Yt(n))&&(s=!0))}return s}function _l(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(!ne(e)){const d=f=>{c=!0;const[p,b]=_l(f,t,!0);Ie(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 ve(e)&&s.set(e,an),an;if(te(o))for(let d=0;d<o.length;d++){const f=ut(o[d]);hi(f)&&(i[f]=ke)}else if(o)for(const d in o){const f=ut(d);if(hi(f)){const p=o[d],b=i[f]=te(p)||ne(p)?{type:p}:Ie({},p);if(b){const y=yi(Boolean,b.type),T=yi(String,b.type);b[0]=y>-1,b[1]=T<0||y<T,(y>-1||fe(b,"default"))&&a.push(f)}}}const l=[i,a];return ve(e)&&s.set(e,l),l}function hi(e){return e[0]!=="$"}function mi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function gi(e,t){return mi(e)===mi(t)}function yi(e,t){return te(t)?t.findIndex(n=>gi(n,e)):ne(t)&&gi(t,e)?0:-1}const bl=e=>e[0]==="_"||e==="$stable",Er=e=>te(e)?e.map(Xe):[Xe(e)],Uf=(e,t,n)=>{if(t._n)return t;const s=ae((...r)=>Er(t(...r)),n);return s._c=!1,s},vl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(bl(r))continue;const o=e[r];if(ne(o))t[r]=Uf(r,o,s);else if(o!=null){const i=Er(o);t[r]=()=>i}}},wl=(e,t)=>{const n=Er(t);e.slots.default=()=>n},Gf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),_s(t,"_",n)):vl(t,e.slots={})}else e.slots={},t&&wl(e,t);_s(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:(Ie(r,t),!n&&a===1&&delete r._):(o=!t.$stable,vl(t,r)),i=t}else t&&(wl(e,t),i={default:1});if(o)for(const a in r)!bl(a)&&i[a]==null&&delete r[a]};function Ts(e,t,n,s,r=!1){if(te(e)){e.forEach((p,b)=>Ts(p,t&&(te(t)?t[b]:t),n,s,r));return}if(dn(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,f=a.setupState;if(l!=null&&l!==c&&(Le(l)?(d[l]=null,fe(f,l)&&(f[l]=null)):je(l)&&(l.value=null)),ne(c))$t(c,a,12,[i,d]);else{const p=Le(c),b=je(c);if(p||b){const y=()=>{if(e.f){const T=p?fe(f,c)?f[c]:d[c]:c.value;r?te(T)&&pr(T,o):te(T)?T.includes(o)||T.push(o):p?(d[c]=[o],fe(f,c)&&(f[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else p?(d[c]=i,fe(f,c)&&(f[c]=i)):b&&(c.value=i,e.k&&(d[e.k]=i))};i?(y.id=-1,De(y,n)):y()}}}let kt=!1;const Vf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",qf=e=>e.namespaceURI.includes("MathML"),os=e=>{if(Vf(e))return"svg";if(qf(e))return"mathml"},rs=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,k)=>{if(!k.hasChildNodes()){n(null,h,k),xs(),k._vnode=h;return}kt=!1,f(k.firstChild,h,null,null,null),xs(),k._vnode=h,kt&&console.error("Hydration completed but contains mismatches.")},f=(h,k,_,u,g,v=!1)=>{const m=rs(h)&&h.data==="[",w=()=>T(h,k,_,u,g,m),{type:S,ref:P,shapeFlag:C,patchFlag:O}=k;let B=h.nodeType;k.el=h,O===-2&&(v=!1,k.dynamicChildren=null);let j=null;switch(S){case gn:B!==3?k.children===""?(c(k.el=r(""),i(h),h),j=h):j=w():(h.data!==k.children&&(kt=!0,h.data=k.children),j=o(h));break;case st:x(h)?(j=o(h),N(k.el=h.content.firstChild,h,_)):B!==8||m?j=w():j=o(h);break;case hn:if(m&&(h=o(h),B=h.nodeType),B===1||B===3){j=h;const K=!k.children.length;for(let q=0;q<k.staticCount;q++)K&&(k.children+=j.nodeType===1?j.outerHTML:j.data),q===k.staticCount-1&&(k.anchor=j),j=o(j);return m?o(j):j}else w();break;case Se:m?j=y(h,k,_,u,g,v):j=w();break;default:if(C&1)(B!==1||k.type.toLowerCase()!==h.tagName.toLowerCase())&&!x(h)?j=w():j=p(h,k,_,u,g,v);else if(C&6){k.slotScopeIds=g;const K=i(h);if(m?j=L(h):rs(h)&&h.data==="teleport start"?j=L(h,h.data,"teleport end"):j=o(h),t(k,K,null,_,u,os(K),v),dn(k)){let q;m?(q=Y(Se),q.anchor=j?j.previousSibling:K.lastChild):q=h.nodeType===3?ce(""):Y("div"),q.el=h,k.component.subTree=q}}else C&64?B!==8?j=w():j=k.type.hydrate(h,k,_,u,g,v,e,b):C&128&&(j=k.type.hydrate(h,k,_,u,os(i(h)),g,v,e,f))}return P!=null&&Ts(P,null,u,k),j},p=(h,k,_,u,g,v)=>{v=v||!!k.dynamicChildren;const{type:m,props:w,patchFlag:S,shapeFlag:P,dirs:C,transition:O}=k,B=m==="input"||m==="option";if(B||S!==-1){C&&rt(k,null,_,"created");let j=!1;if(x(h)){j=kl(u,O)&&_&&_.vnode.props&&_.vnode.props.appear;const q=h.content.firstChild;j&&O.beforeEnter(q),N(q,h,_),k.el=h=q}if(P&16&&!(w&&(w.innerHTML||w.textContent))){let q=b(h.firstChild,k,h,_,u,g,v);for(;q;){kt=!0;const se=q;q=q.nextSibling,a(se)}}else P&8&&h.textContent!==k.children&&(kt=!0,h.textContent=k.children);if(w)if(B||!v||S&48)for(const q in w)(B&&(q.endsWith("value")||q==="indeterminate")||Kn(q)&&!Pn(q)||q[0]===".")&&s(h,q,null,w[q],void 0,void 0,_);else w.onClick&&s(h,"onClick",null,w.onClick,void 0,void 0,_);let K;(K=w&&w.onVnodeBeforeMount)&&Je(K,_,k),C&&rt(k,null,_,"beforeMount"),((K=w&&w.onVnodeMounted)||C||j)&&rl(()=>{K&&Je(K,_,k),j&&O.enter(h),C&&rt(k,null,_,"mounted")},u)}return h.nextSibling},b=(h,k,_,u,g,v,m)=>{m=m||!!k.dynamicChildren;const w=k.children,S=w.length;for(let P=0;P<S;P++){const C=m?w[P]:w[P]=Xe(w[P]);if(h)h=f(h,C,u,g,v,m);else{if(C.type===gn&&!C.children)continue;kt=!0,n(null,C,_,null,u,g,os(_),v)}}return h},y=(h,k,_,u,g,v)=>{const{slotScopeIds:m}=k;m&&(g=g?g.concat(m):m);const w=i(h),S=b(o(h),k,w,_,u,g,v);return S&&rs(S)&&S.data==="]"?o(k.anchor=S):(kt=!0,c(k.anchor=l("]"),w,S),S)},T=(h,k,_,u,g,v)=>{if(kt=!0,k.el=null,v){const S=L(h);for(;;){const P=o(h);if(P&&P!==S)a(P);else break}}const m=o(h),w=i(h);return a(h),n(null,k,w,m,_,u,os(w),g),m},L=(h,k="[",_="]")=>{let u=0;for(;h;)if(h=o(h),h&&rs(h)&&(h.data===k&&u++,h.data===_)){if(u===0)return o(h);u--}return h},N=(h,k,_)=>{const u=k.parentNode;u&&u.replaceChild(h,k);let g=_;for(;g;)g.vnode.el===k&&(g.vnode.el=g.subTree.el=h),g=g.parent},x=h=>h.nodeType===1&&h.tagName.toLowerCase()==="template";return[d,f]}const De=rl;function Kf(e){return xl(e)}function Jf(e){return xl(e,zf)}function xl(e,t){const n=Ta();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:d,parentNode:f,nextSibling:p,setScopeId:b=Qe,insertStaticContent:y}=e,T=(A,R,$,I=null,M=null,G=null,z=void 0,D=null,W=!!R.dynamicChildren)=>{if(A===R)return;A&&!Rt(A,R)&&(I=F(A),le(A,M,G,!0),A=null),R.patchFlag===-2&&(W=!1,R.dynamicChildren=null);const{type:U,ref:E,shapeFlag:H}=R;switch(U){case gn:L(A,R,$,I);break;case st:N(A,R,$,I);break;case hn:A==null&&x(R,$,I,z);break;case Se:P(A,R,$,I,M,G,z,D,W);break;default:H&1?_(A,R,$,I,M,G,z,D,W):H&6?C(A,R,$,I,M,G,z,D,W):(H&64||H&128)&&U.process(A,R,$,I,M,G,z,D,W,Ce)}E!=null&&M&&Ts(E,A&&A.ref,G,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},x=(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)},k=({el:A,anchor:R})=>{let $;for(;A&&A!==R;)$=p(A),r(A),A=$;r(R)},_=(A,R,$,I,M,G,z,D,W)=>{R.type==="svg"?z="svg":R.type==="math"&&(z="mathml"),A==null?u(R,$,I,M,G,z,D,W):m(A,R,M,G,z,D,W)},u=(A,R,$,I,M,G,z,D)=>{let W,U;const{props:E,shapeFlag:H,transition:J,dirs:Z}=A;if(W=A.el=i(A.type,G,E&&E.is,E),H&8?d(W,A.children):H&16&&v(A.children,W,null,I,M,go(A,G),z,D),Z&&rt(A,null,I,"created"),g(W,A,A.scopeId,z,I),E){for(const ee in E)ee!=="value"&&!Pn(ee)&&o(W,ee,null,E[ee],G,A.children,I,M,be);"value"in E&&o(W,"value",null,E.value,G),(U=E.onVnodeBeforeMount)&&Je(U,I,A)}Z&&rt(A,null,I,"beforeMount");const Q=kl(M,J);Q&&J.beforeEnter(W),s(W,R,$),((U=E&&E.onVnodeMounted)||Q||Z)&&De(()=>{U&&Je(U,I,A),Q&&J.enter(W),Z&&rt(A,null,I,"mounted")},M)},g=(A,R,$,I,M)=>{if($&&b(A,$),I)for(let G=0;G<I.length;G++)b(A,I[G]);if(M){let G=M.subTree;if(R===G){const z=M.vnode;g(A,z,z.scopeId,z.slotScopeIds,M.parent)}}},v=(A,R,$,I,M,G,z,D,W=0)=>{for(let U=W;U<A.length;U++){const E=A[U]=D?Pt(A[U]):Xe(A[U]);T(null,E,R,$,I,M,G,z,D)}},m=(A,R,$,I,M,G,z)=>{const D=R.el=A.el;let{patchFlag:W,dynamicChildren:U,dirs:E}=R;W|=A.patchFlag&16;const H=A.props||ke,J=R.props||ke;let Z;if($&&Ft($,!1),(Z=J.onVnodeBeforeUpdate)&&Je(Z,$,R,A),E&&rt(R,A,$,"beforeUpdate"),$&&Ft($,!0),U?w(A.dynamicChildren,U,D,$,I,go(R,M),G):z||q(A,R,D,null,$,I,go(R,M),G,!1),W>0){if(W&16)S(D,R,H,J,$,I,M);else if(W&2&&H.class!==J.class&&o(D,"class",null,J.class,M),W&4&&o(D,"style",H.style,J.style,M),W&8){const Q=R.dynamicProps;for(let ee=0;ee<Q.length;ee++){const re=Q[ee],xe=H[re],$e=J[re];($e!==xe||re==="value")&&o(D,re,xe,$e,M,A.children,$,I,be)}}W&1&&A.children!==R.children&&d(D,R.children)}else!z&&U==null&&S(D,R,H,J,$,I,M);((Z=J.onVnodeUpdated)||E)&&De(()=>{Z&&Je(Z,$,R,A),E&&rt(R,A,$,"updated")},I)},w=(A,R,$,I,M,G,z)=>{for(let D=0;D<R.length;D++){const W=A[D],U=R[D],E=W.el&&(W.type===Se||!Rt(W,U)||W.shapeFlag&70)?f(W.el):$;T(W,U,E,null,I,M,G,z,!0)}},S=(A,R,$,I,M,G,z)=>{if($!==I){if($!==ke)for(const D in $)!Pn(D)&&!(D in I)&&o(A,D,$[D],null,z,R.children,M,G,be);for(const D in I){if(Pn(D))continue;const W=I[D],U=$[D];W!==U&&D!=="value"&&o(A,D,U,W,z,R.children,M,G,be)}"value"in I&&o(A,"value",$.value,I.value,z)}},P=(A,R,$,I,M,G,z,D,W)=>{const U=R.el=A?A.el:a(""),E=R.anchor=A?A.anchor:a("");let{patchFlag:H,dynamicChildren:J,slotScopeIds:Z}=R;Z&&(D=D?D.concat(Z):Z),A==null?(s(U,$,I),s(E,$,I),v(R.children||[],$,E,M,G,z,D,W)):H>0&&H&64&&J&&A.dynamicChildren?(w(A.dynamicChildren,J,$,M,G,z,D),(R.key!=null||M&&R===M.subTree)&&Sl(A,R,!0)):q(A,R,$,E,M,G,z,D,W)},C=(A,R,$,I,M,G,z,D,W)=>{R.slotScopeIds=D,A==null?R.shapeFlag&512?M.ctx.activate(R,$,I,z,W):O(R,$,I,M,G,z,W):B(A,R,W)},O=(A,R,$,I,M,G,z)=>{const D=A.component=nd(A,I,M);if(Pr(A)&&(D.ctx.renderer=Ce),sd(D),D.asyncDep){if(M&&M.registerDep(D,j),!A.el){const W=D.subTree=Y(st);N(null,W,R,$)}}else j(D,A,R,$,M,G,z)},B=(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,G,z)=>{const D=()=>{if(A.isMounted){let{next:E,bu:H,u:J,parent:Z,vnode:Q}=A;{const mt=Nl(A);if(mt){E&&(E.el=Q.el,K(A,E,z)),mt.asyncDep.then(()=>{A.isUnmounted||D()});return}}let ee=E,re;Ft(A,!1),E?(E.el=Q.el,K(A,E,z)):E=Q,H&&ds(H),(re=E.props&&E.props.onVnodeBeforeUpdate)&&Je(re,Z,E,Q),Ft(A,!0);const xe=po(A),$e=A.subTree;A.subTree=xe,T($e,xe,f($e.el),F($e),A,M,G),E.el=xe.el,ee===null&&Nr(A,xe.el),J&&De(J,M),(re=E.props&&E.props.onVnodeUpdated)&&De(()=>Je(re,Z,E,Q),M)}else{let E;const{el:H,props:J}=R,{bm:Z,m:Q,parent:ee}=A,re=dn(R);if(Ft(A,!1),Z&&ds(Z),!re&&(E=J&&J.onVnodeBeforeMount)&&Je(E,ee,R),Ft(A,!0),H&&ht){const xe=()=>{A.subTree=po(A),ht(H,A.subTree,A,M,null)};re?R.type.__asyncLoader().then(()=>!A.isUnmounted&&xe()):xe()}else{const xe=A.subTree=po(A);T(null,xe,$,I,A,M,G),R.el=xe.el}if(Q&&De(Q,M),!re&&(E=J&&J.onVnodeMounted)){const xe=R;De(()=>Je(E,ee,xe),M)}(R.shapeFlag&256||ee&&dn(ee.vnode)&&ee.vnode.shapeFlag&256)&&A.a&&De(A.a,M),A.isMounted=!0,R=$=I=null}},W=A.effect=new gr(D,Qe,()=>qs(U),A.scope),U=A.update=()=>{W.dirty&&W.run()};U.id=A.uid,Ft(A,!0),U()},K=(A,R,$)=>{R.component=A;const I=A.vnode.props;A.vnode=R,A.next=null,Df(A,R.props,I,$),Wf(A,R.children,$),Zt(),ii(A),en()},q=(A,R,$,I,M,G,z,D,W=!1)=>{const U=A&&A.children,E=A?A.shapeFlag:0,H=R.children,{patchFlag:J,shapeFlag:Z}=R;if(J>0){if(J&128){_e(U,H,$,I,M,G,z,D,W);return}else if(J&256){se(U,H,$,I,M,G,z,D,W);return}}Z&8?(E&16&&be(U,M,G),H!==U&&d($,H)):E&16?Z&16?_e(U,H,$,I,M,G,z,D,W):be(U,M,G,!0):(E&8&&d($,""),Z&16&&v(H,$,I,M,G,z,D,W))},se=(A,R,$,I,M,G,z,D,W)=>{A=A||an,R=R||an;const U=A.length,E=R.length,H=Math.min(U,E);let J;for(J=0;J<H;J++){const Z=R[J]=W?Pt(R[J]):Xe(R[J]);T(A[J],Z,$,null,M,G,z,D,W)}U>E?be(A,M,G,!0,!1,H):v(R,$,I,M,G,z,D,W,H)},_e=(A,R,$,I,M,G,z,D,W)=>{let U=0;const E=R.length;let H=A.length-1,J=E-1;for(;U<=H&&U<=J;){const Z=A[U],Q=R[U]=W?Pt(R[U]):Xe(R[U]);if(Rt(Z,Q))T(Z,Q,$,null,M,G,z,D,W);else break;U++}for(;U<=H&&U<=J;){const Z=A[H],Q=R[J]=W?Pt(R[J]):Xe(R[J]);if(Rt(Z,Q))T(Z,Q,$,null,M,G,z,D,W);else break;H--,J--}if(U>H){if(U<=J){const Z=J+1,Q=Z<E?R[Z].el:I;for(;U<=J;)T(null,R[U]=W?Pt(R[U]):Xe(R[U]),$,Q,M,G,z,D,W),U++}}else if(U>J)for(;U<=H;)le(A[U],M,G,!0),U++;else{const Z=U,Q=U,ee=new Map;for(U=Q;U<=J;U++){const qe=R[U]=W?Pt(R[U]):Xe(R[U]);qe.key!=null&&ee.set(qe.key,U)}let re,xe=0;const $e=J-Q+1;let mt=!1,Kr=0;const Sn=new Array($e);for(U=0;U<$e;U++)Sn[U]=0;for(U=Z;U<=H;U++){const qe=A[U];if(xe>=$e){le(qe,M,G,!0);continue}let ot;if(qe.key!=null)ot=ee.get(qe.key);else for(re=Q;re<=J;re++)if(Sn[re-Q]===0&&Rt(qe,R[re])){ot=re;break}ot===void 0?le(qe,M,G,!0):(Sn[ot-Q]=U+1,ot>=Kr?Kr=ot:mt=!0,T(qe,R[ot],$,null,M,G,z,D,W),xe++)}const Jr=mt?Xf(Sn):an;for(re=Jr.length-1,U=$e-1;U>=0;U--){const qe=Q+U,ot=R[qe],Xr=qe+1<E?R[qe+1].el:I;Sn[U]===0?T(null,ot,$,Xr,M,G,z,D,W):mt&&(re<0||U!==Jr[re]?pe(ot,$,Xr,2):re--)}}},pe=(A,R,$,I,M=null)=>{const{el:G,type:z,transition:D,children:W,shapeFlag:U}=A;if(U&6){pe(A.component.subTree,R,$,I);return}if(U&128){A.suspense.move(R,$,I);return}if(U&64){z.move(A,R,$,Ce);return}if(z===Se){s(G,R,$);for(let H=0;H<W.length;H++)pe(W[H],R,$,I);s(A.anchor,R,$);return}if(z===hn){h(A,R,$);return}if(I!==2&&U&1&&D)if(I===0)D.beforeEnter(G),s(G,R,$),De(()=>D.enter(G),M);else{const{leave:H,delayLeave:J,afterLeave:Z}=D,Q=()=>s(G,R,$),ee=()=>{H(G,()=>{Q(),Z&&Z()})};J?J(G,Q,ee):ee()}else s(G,R,$)},le=(A,R,$,I=!1,M=!1)=>{const{type:G,props:z,ref:D,children:W,dynamicChildren:U,shapeFlag:E,patchFlag:H,dirs:J}=A;if(D!=null&&Ts(D,null,$,A,!0),E&256){R.ctx.deactivate(A);return}const Z=E&1&&J,Q=!dn(A);let ee;if(Q&&(ee=z&&z.onVnodeBeforeUnmount)&&Je(ee,R,A),E&6)ge(A.component,$,I);else{if(E&128){A.suspense.unmount($,I);return}Z&&rt(A,null,R,"beforeUnmount"),E&64?A.type.remove(A,R,$,M,Ce,I):U&&(G!==Se||H>0&&H&64)?be(U,R,$,!1,!0):(G===Se&&H&384||!M&&E&16)&&be(W,R,$),I&&he(A)}(Q&&(ee=z&&z.onVnodeUnmounted)||Z)&&De(()=>{ee&&Je(ee,R,A),Z&&rt(A,null,R,"unmounted")},$)},he=A=>{const{type:R,el:$,anchor:I,transition:M}=A;if(R===Se){me($,I);return}if(R===hn){k(A);return}const G=()=>{r($),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(A.shapeFlag&1&&M&&!M.persisted){const{leave:z,delayLeave:D}=M,W=()=>z($,G);D?D(A.el,G,W):W()}else G()},me=(A,R)=>{let $;for(;A!==R;)$=p(A),r(A),A=$;r(R)},ge=(A,R,$)=>{const{bum:I,scope:M,update:G,subTree:z,um:D}=A;I&&ds(I),M.stop(),G&&(G.active=!1,le(z,A,R,$)),D&&De(D,R),De(()=>{A.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},be=(A,R,$,I=!1,M=!1,G=0)=>{for(let z=G;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);let we=!1;const ye=(A,R,$)=>{A==null?R._vnode&&le(R._vnode,null,null,!0):T(R._vnode||null,A,R,null,null,null,$),we||(we=!0,ii(),xs(),we=!1),R._vnode=A},Ce={p:T,um:le,m:pe,r:he,mt:O,mc:v,pc:q,pbc:w,n:F,o:e};let et,ht;return t&&([et,ht]=t(Ce)),{render:ye,hydrate:et,createApp:Hf(ye,et)}}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 kl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Sl(e,t,n=!1){const s=e.children,r=t.children;if(te(s)&&te(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]=Pt(r[o]),a.el=i.el),n||Sl(i,a)),a.type===gn&&(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 Nl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nl(t)}const Qf=e=>e.__isTeleport,Se=Symbol.for("v-fgt"),gn=Symbol.for("v-txt"),st=Symbol.for("v-cmt"),hn=Symbol.for("v-stc"),Rn=[];let Ye=null;function X(e=!1){Rn.push(Ye=e?null:[])}function Tl(){Rn.pop(),Ye=Rn[Rn.length-1]||null}let yn=1;function _i(e){yn+=e}function Ll(e){return e.dynamicChildren=yn>0?Ye||an:null,Tl(),yn>0&&Ye&&Ye.push(e),e}function oe(e,t,n,s,r,o){return Ll(V(e,t,n,s,r,o,!0))}function Ne(e,t,n,s,r){return Ll(Y(e,t,n,s,r,!0))}function Dn(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const Ys="__vInternal",Pl=({key:e})=>e??null,ps=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||je(e)||ne(e)?{i:Re,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&&Pl(t),ref:t&&ps(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:Re};return a?(jr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Le(n)?8:16),yn>0&&!i&&Ye&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ye.push(c),c}const Y=Yf;function Yf(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===sl)&&(e=st),Dn(e)){const a=_n(e,t,!0);return n&&jr(a,n),yn>0&&!o&&Ye&&(a.shapeFlag&6?Ye[Ye.indexOf(e)]=a:Ye.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)),ve(c)&&(Wa(c)&&!te(c)&&(c=Ie({},c)),t.style=qt(c))}const i=Le(e)?1:ff(e)?128:Qf(e)?64:ve(e)?4:ne(e)?2:0;return V(e,t,n,s,r,i,o,!0)}function $r(e){return e?Wa(e)||Ys in e?Ie({},e):e:null}function _n(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&&Pl(a),ref:t&&t.ref?n&&r?te(r)?r.concat(ps(t)):[r,ps(t)]:ps(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&&_n(e.ssContent),ssFallback:e.ssFallback&&_n(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ce(e=" ",t=0){return Y(gn,null,e,t)}function Zf(e,t){const n=Y(hn,null,e);return n.staticCount=t,n}function Oe(e="",t=!1){return t?(X(),Ne(st,null,e)):Y(st,null,e)}function Xe(e){return e==null||typeof e=="boolean"?Y(st):te(e)?Y(Se,null,e.slice()):typeof e=="object"?Pt(e):Y(gn,null,String(e))}function Pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_n(e)}function jr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),jr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Ys in t)?t._ctx=Re:r===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[ce(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=qt([t.style,s.style]);else if(Kn(r)){const o=t[r],i=s[r];i&&o!==i&&!(te(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Je(e,t,n,s=null){tt(e,t,7,[n,s])}const ed=hl();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 Ra(!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:_l(s,r),emitsOptions:el(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 Ee=null;const wn=()=>Ee||Re;let Ls,Go;{const e=Ta(),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)}};Ls=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Go=t("__VUE_SSR_SETTERS__",n=>Xn=n)}const Qt=e=>{const t=Ee;return Ls(e),e.scope.on(),()=>{e.scope.off(),Ls(t)}},Wo=()=>{Ee&&Ee.scope.off(),Ls(null)};function Al(e){return e.vnode.shapeFlag&4}let Xn=!1;function sd(e,t=!1){t&&Go(t);const{props:n,children:s}=e.vnode,r=Al(e);Ff(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=Va(new Proxy(e.ctx,Cf));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?id(e):null,o=Qt(e);Zt();const i=$t(s,e,0,[e.props,r]);if(en(),o(),hr(i)){if(i.then(Wo,Wo),t)return i.then(a=>{Vo(e,a,t)}).catch(a=>{vn(a,e,0)});e.asyncDep=i}else Vo(e,i,t)}else Rl(e,t)}function Vo(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=Ja(t)),Rl(e,n)}let bi;function Rl(e,t,n){const s=e.type;if(!e.render){if(!t&&bi&&!s.render){const r=s.template||Cr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=s,l=Ie(Ie({isCustomElement:o,delimiters:a},i),c);s.render=bi(r,l)}}e.render=s.render||Qe}{const r=Qt(e);Zt();try{$f(e)}finally{en(),r()}}}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(Ja(Va(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in An)return An[n](e)},has(t,n){return n in t||n in An}}))}function ad(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function ld(e){return ne(e)&&"__vccOpts"in e}const Ke=(e,t)=>qu(e,t,Xn);function Ps(e,t,n){const s=arguments.length;return s===2?ve(t)&&!te(t)?Dn(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Dn(n)&&(n=[n]),Y(e,t,n))}const Cl="3.4.14";/**
14
+ * @vue/runtime-dom v3.4.14
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/const cd="http://www.w3.org/2000/svg",ud="http://www.w3.org/1998/Math/MathML",At=typeof document<"u"?document:null,vi=At&&At.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"?At.createElementNS(cd,e):t==="mathml"?At.createElementNS(ud,e):At.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>At.createTextNode(e),createComment:e=>At.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>At.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{vi.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const a=vi.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"),El=Symbol("");function A0(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=>zo(o,r))},s=()=>{const r=e(t.proxy);qo(t.subTree,r),n(r)};wf(s),Qs(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Rr(()=>r.disconnect())})}function qo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{qo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)zo(e.el,t);else if(e.type===Se)e.children.forEach(n=>qo(n,t));else if(e.type===hn){let{el:n,anchor:s}=e;for(;n&&(zo(n,t),n!==s);)n=n.nextSibling}}function zo(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[El]=s}}function md(e,t,n){const s=e.style,r=s.display,o=Le(n);if(n&&!o){if(t&&!Le(t))for(const i in t)n[i]==null&&Ko(s,i,"");for(const i in n)Ko(s,i,n[i])}else if(o){if(t!==n){const i=s[El];i&&(n+=";"+i),s.cssText=n}}else t&&e.removeAttribute("style");hd in e&&(s.display=r)}const wi=/\s*!important$/;function Ko(e,t,n){if(te(n))n.forEach(s=>Ko(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=gd(e,t);wi.test(n)?e.setProperty(Yt(s),n.replace(wi,""),"important"):e[s]=n}}const xi=["Webkit","Moz","ms"],yo={};function gd(e,t){const n=yo[t];if(n)return n;let s=ut(t);if(s!=="filter"&&s in e)return yo[t]=s;s=Ws(s);for(let r=0;r<xi.length;r++){const o=xi[r]+s;if(o in e)return yo[t]=o}return t}const ki="http://www.w3.org/1999/xlink";function yd(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ki,t.slice(6,t.length)):e.setAttributeNS(ki,t,n);else{const o=wu(t);n==null||o&&!Pa(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=Pa(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 Si=Symbol("_vei");function vd(e,t,n,s,r=null){const o=e[Si]||(e[Si]={}),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 Ni=/(?:Once|Passive|Capture)$/;function wd(e){let t;if(Ni.test(e)){t={};let s;for(;s=e.match(Ni);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(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;tt(Nd(s,n.value),t,5,[s])};return n.value=e,n.attached=kd(),n}function Nd(e,t){if(te(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 Ti=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):Kn(t)?dr(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&&Ti(t)&&ne(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 Ti(t)&&Le(n)?!1:t in e}const Li=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>ds(t,n):t},bo=Symbol("_assign"),Pd={created(e,{value:t},n){e.checked=bs(t,n.props.value),e[bo]=Li(n),$l(e,"change",()=>{e[bo](Ad(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[bo]=Li(s),t!==n&&(e.checked=bs(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=Yt(r.key);if(t.some(i=>i===o||Rd[i]===o))return e(r)})},jl=Ie({patchProp:Td},fd);let Cn,Pi=!1;function Ed(){return Cn||(Cn=Kf(jl))}function $d(){return Cn=Pi?Cn:Jf(jl),Pi=!0,Cn}const Ol=(...e)=>{const t=Ed().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ml(s);if(!r)return;const o=t._component;!ne(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Il(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},jd=(...e)=>{const t=$d().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ml(s);if(r)return n(r,!0,Il(r))},t};function Il(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ml(e){return Le(e)?document.querySelector(e):e}const Od=/#/g,Id=/&/g,Md=/=/g,Or=/\+/g,Bd=/%5e/gi,Hd=/%60/gi,Fd=/%7c/gi,Dd=/%20/gi;function Ud(e){return encodeURI(""+e).replace(Fd,"|")}function Jo(e){return Ud(typeof e=="string"?e:JSON.stringify(e)).replace(Or,"%2B").replace(Dd,"+").replace(Od,"%23").replace(Id,"%26").replace(Hd,"`").replace(Bd,"^")}function vo(e){return Jo(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)}=${Jo(n)}`).join("&"):`${vo(e)}=${Jo(t)}`:vo(e)}function Bl(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 Xo(e="",t){return t?Qd.test(e):e.endsWith("/")}function to(e="",t){if(!t)return(Xo(e)?e.slice(0,-1):e)||"/";if(!Xo(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(Xo(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 Ai(e=""){return Yd(e)?e:"/"+e}function Zd(e,t){if(Fl(t)||xn(e))return e;const n=to(t);return e.startsWith(n)?e:Ht(n,e)}function ep(e,t){if(Fl(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 Hl(e,t){const n=kn(e),s={...Ir(n.search),...t};return n.search=Bl(s),Dl(n)}function Fl(e){return!e||e==="/"}function tp(e){return e&&e!=="/"}const np=/^\.?\//;function Ht(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=Ai(e),t=Ai(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[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!xn(e,{acceptRelative:!0}))return t?kn(t+e):Ri(e);const[,s="",r,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[],{pathname:c,search:l,hash:d}=Ri(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 Ri(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)=>Ht(Ul(),ip(),...e),Ul=(...e)=>{const t=Cs.cdnURL||Cs.baseURL;return e.length?Ht(t,...e):t};globalThis.__buildAssetsURL=Mr,globalThis.__publicAssetsURL=Ul;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 Es(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,f,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)||((f=e.options)==null?void 0:f.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 Ci(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 Gl(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=Ci(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(d>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):vp.has(f))){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=Hl(d.request,{...d.options.params,...d.options.query}))),d.options.body&&Ci(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||Es;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={})=>Gl({...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=Gl({fetch:xp,Headers:kp,AbortController:Sp}),Tp=Np;globalThis.$fetch||(globalThis.$fetch=Tp.create({baseURL:rp()}));function Qo(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?Qo(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const Lp={run:e=>e()},Pp=()=>Lp,Wl=typeof console.createTask<"u"?console.createTask:Pp;function Ap(e,t){const n=t.shift(),s=Wl(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function Rp(e,t){const n=t.shift(),s=Wl(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=Qo(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=Qo(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 Vl(){return new Cp}function Ep(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;Yo.add(l);try{const d=r?r.run(i,a):a();return n||(t=void 0),await d}finally{Yo.delete(l)}}}}function $p(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Ep({...e,...s})),t[n],t[n]}}}const $s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ei="__unctx__",jp=$s[Ei]||($s[Ei]=$p()),Op=(e,t={})=>jp.get(e,t),$i="__unctx_async_handlers__",Yo=$s[$i]||($s[$i]=new Set);function ql(e){const t=[];for(const r of Yo){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 zl=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.3"},get vue(){return n.vueApp.version}},payload:ft({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>n._scope.run(()=>Fp(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=Vl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,o)=>{const i="$"+r;is(n,i,o),is(n.vueApp.config.globalProperties,i,o)},is(n.vueApp,"$nuxt",n),is(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=ft(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,f])=>{d.has(c._name)&&(d.delete(c._name),d.size===0&&(i++,await a(f)))})))});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 pt(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 Fp(e,t,n){const s=()=>n?t(...n):t();return zl.set(e),e.vueApp.runWithContext(s)}function Pe(){var t;let e;if(gl()&&(e=(t=wn())==null?void 0:t.appContext.app.$nuxt),e=e||zl.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function Un(){return Pe().$config}function is(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Dp="modulepreload",Up=function(e,t){return e[0]==="."?new URL(e,t).href:e},ji={},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 ji)return;ji[i]=!0;const a=i.endsWith(".css"),c=a?'[rel="stylesheet"]':"";if(!!s)for(let f=o.length-1;f>=0;f--){const p=o[f];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":Dp,a||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),a)return new Promise((f,p)=>{d.addEventListener("load",f),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 f=new Map;s[o]=f;for(let b=1;b<a.length;b+=2)f.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"],hs=["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"],Kl=["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 Oi(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 Jl(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 Ii(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 Xl(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Kl.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 Xl(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&&!Kl.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 Mi={base:-10,title:10},Bi={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 Mi&&(t=Mi[e.tag]),typeof n=="string"&&n in Bi?t+Bi[n]:t)}const ah=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Ql=["onload","onerror","onabort","onprogress","onloadstart"],St="%separator";function ms(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=ms(e,{separator:n},n)),e}async function lh(e){const t={tag:e.tagName.toLowerCase(),props:await Xl(e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{})),innerHTML:e.innerHTML};return t._d=Jl(t),t}async function Yl(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(f=>({tag:f,id:hs.includes(f.tag)?Oi(f):f.tag,shouldRender:!0}));let o=e._dom;if(!o){o={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const p=(d=n==null?void 0:n[f])==null?void 0:d.children;for(const b of[...p].filter(y=>hs.includes(y.tagName.toLowerCase())))o.elMap[b.getAttribute("data-hid")||Oi(await lh(b))]=b}}o.pendingSideEffects={...o.sideEffects||{}},o.sideEffects={};function i(f,p,b){const y=`${f}:${p}`;o.sideEffects[y]=b,delete o.pendingSideEffects[y]}function a({id:f,$el:p,tag:b}){const y=b.tag.endsWith("Attrs");o.elMap[f]=p,y||(["textContent","innerHTML"].forEach(T=>{b[T]&&b[T]!==p[T]&&(p[T]=b[T])}),i(f,"el",()=>{o.elMap[f].remove(),delete o.elMap[f]})),Object.entries(b.props).forEach(([T,L])=>{const N=`attr:${T}`;if(T==="class")for(const x of(L||"").split(" ").filter(Boolean))y&&i(f,`${N}:${x}`,()=>p.classList.remove(x)),!p.classList.contains(x)&&p.classList.add(x);else p.getAttribute(T)!==L&&p.setAttribute(T,L===!0?"":String(L)),y&&i(f,N,()=>p.removeAttribute(T))})}const c=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:p,shouldRender:b,id:y}=f;if(b){if(p.tag==="title"){n.title=p.textContent;continue}f.$el=f.$el||o.elMap[y],f.$el?a(f):hs.includes(p.tag)&&c.push(f)}}for(const f of c){const p=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[p]=l[p]||n.createDocumentFragment(),l[p].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,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(f=>f()),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 Yl(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=Jl(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(hs.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"?(Ql.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 f=p=>{i(p),d==null||d.disconnect()};o in t.$el.dataset?f(new Event(o.replace("on",""))):Ql.includes(o)&&typeof MutationObserver<"u"?(d=new MutationObserver(p=>{p.some(y=>y.attributeName===`data-${o}`)&&(f(new Event(o.replace("on",""))),d==null||d.disconnect())}),d.observe(t.$el,{attributes:!0})):r.addEventListener(c,f),s(t.id,a,()=>{d==null||d.disconnect(),r.removeEventListener(c,f),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=ms(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]=ms(c.props[l],o,i):(c.processTemplateParams===!0||["titleTemplate","title"].includes(c.tag))&&["innerHTML","textContent"].forEach(d=>{typeof c[d]=="string"&&(c[d]=ms(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=Ii(t[n].textContent,t[s].textContent);r!==null?t[s].textContent=r||t[s].textContent:delete t[s]}else if(n!==-1){const r=Ii(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 Zl;function Sh(e={}){const t=Nh(e);return t.use(uh()),Zl=t}function Hi(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Nh(e={}){const t=Vl();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),Hi(l.mode,n)&&t.addHooks(l.hooks||{}))},push(c,l){l==null||delete l.head;const d={_i:r++,input:c,...l};return Hi(d.mode,n)&&(o.push(d),s()),{dispose(){o=o.filter(f=>f._i!==d._i),t.callHook("entries:updated",a),s()},patch(f){o=o.map(p=>(p._i===d._i&&(p.input=d.input=f),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 f of await ih(l)){const p={tag:f,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 Zl}const Lh=Cl.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)}}},ec="usehead";function Rh(e){return{install(n){Lh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ec,e))}}.install}function Ch(e={}){e.domDelayFn=e.domDelayFn||(n=>tn(()=>setTimeout(()=>n(),0)));const t=Sh(e);return t.use(Ah),t.install=Rh(t),t}const Zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},er="__unhead_injection_handler__";function Eh(e){Zo[er]=e}function $h(){if(er in Zo)return Zo[er]();const e=pn(ec);return e||Th()}function jh(e,t={}){const n=t.head||$h();if(n)return n.ssr?n.push(e,t):Oh(n,e,t)}function Oh(e,t,n={}){const s=Te(!1),r=Te({});il(()=>{r.value=s.value?{}:Is(t)});const o=e.push(r.value,n);return at(r,a=>{o.patch(a)}),wn()&&(Ar(()=>{o.dispose()}),cl(()=>{s.value=!0}),ll(()=>{s.value=!1})),o}function Ih(e){return{ctx:{table:e},matchAll:t=>nc(t,e)}}function tc(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,r])=>[s,tc(r)])):new Map(Object.entries(e[n]));return t}function Mh(e){return Ih(tc(e))}function nc(e,t){const n=[];for(const[r,o]of Fi(t.wildcard))e.startsWith(r)&&n.push(o);for(const[r,o]of Fi(t.dynamic))if(e.startsWith(r+"/")){const i="/"+e.slice(r.length).split("/").splice(2).join("/");n.push(...nc(i,o))}const s=t.static.get(e);return s&&n.push(s),n.filter(Boolean)}function Fi(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 tr(e,t,n=".",s){if(!xo(t))return tr(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]=tr(i,r[o],(n?`${n}.`:"")+o.toString(),s):r[o]=i))}return r}function sc(e){return(...t)=>t.reduce((n,s)=>tr(n,s,"",e),{})}const Bh=sc(),Hh=sc((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Fh(e,t){try{return t in e}catch{return!1}}var Dh=Object.defineProperty,Uh=(e,t,n)=>t in e?Dh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ut=(e,t,n)=>(Uh(e,typeof t!="symbol"?t+"":t,n),n);class nr extends Error{constructor(t,n={}){super(t,n),Ut(this,"statusCode",500),Ut(this,"fatal",!1),Ut(this,"unhandled",!1),Ut(this,"statusMessage"),Ut(this,"data"),Ut(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:sr(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=oc(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ut(nr,"__h3_error__",!0);function Gh(e){if(typeof e=="string")return new nr(e);if(Wh(e))return e;const t=new nr(e.message??e.statusMessage??"",{cause:e.cause||e});if(Fh(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=sr(e.statusCode,t.statusCode):e.status&&(t.statusCode=sr(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;oc(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 oc(e=""){return e.replace(Vh,"")}function sr(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const rc=Symbol("route"),ic="__nuxt_error",Fr=()=>Xa(Pe().payload,"error"),qh=e=>{const t=ac(e);try{const n=Pe(),s=Fr();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},zh=async(e={})=>{const t=Pe(),n=Fr();t.callHook("app:error:cleared",e),e.redirect&&await nn().replace(e.redirect),n.value=null},Kh=e=>!!e&&typeof e=="object"&&ic in e,ac=e=>{const t=Gh(e);return Object.defineProperty(t,ic,{value:!0,configurable:!1,writable:!1}),t},nn=()=>{var e;return(e=Pe())==null?void 0:e.$router},lc=()=>gl()?pn(rc,Pe()._route):Pe()._route;const Jh=()=>{try{if(Pe()._processingMiddleware)return!0}catch{return!0}return!1},cc=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Hl(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,f])=>f!==void 0).map(([d,f])=>`${d.toLowerCase()}=${f}`).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=nn(),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:"d17e65fe-31ee-4916-8142-618e3f8935de"}},Qh=Hh(Xh);function Yh(){const e=Pe();return e._appConfig||(e._appConfig=ft(Qh)),e._appConfig}const Zh={componentName:"NuxtLink"},em="#__nuxt";let gs,uc;function tm(){var t;const e=(t=Yh().nuxt)==null?void 0:t.buildId;return gs=$fetch(Mr(`builds/meta/${e}.json`)),gs.then(n=>{uc=Mh(n.matcher)}),gs}function no(){return gs||tm()}async function fc(e){return await no(),Bh({},...uc.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?dc(n).then(i=>i||(delete r[n],null)):(r[n]=null,null))),r[n]}const Ui="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 Ht(Un().app.baseURL,n.pathname,s?`_payload.${s}.${Ui}`:`_payload.${Ui}`)}async function dc(e){const t=fetch(e).then(n=>n.text().then(pc));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function sm(e=lc().path){if(e=to(e),(await no()).prerendered.includes(e))return!0;const n=await fc(e);return!!n.prerender&&!n.redirect}let as=null;async function om(){if(as)return as;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await pc(e.textContent||""),n=e.dataset.src?await dc(e.dataset.src):void 0;return as={...t,...n,...window.__NUXT__},as}async function pc(e){return await Xp(e,Pe()._payloadRevivers)}function rm(e,t){Pe()._payloadRevivers[e]=t}const Gi={NuxtError:e=>ac(e),EmptyShallowRef:e=>Oo(e==="_"?void 0:e==="0n"?BigInt(0):Es(e)),EmptyRef:e=>Te(e==="_"?void 0:e==="0n"?BigInt(0):Es(e)),ShallowRef:e=>Oo(e),ShallowReactive:e=>Ga(e),Ref:e=>Te(e),Reactive:e=>ft(e)},im=pt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Gi)rm(s,Gi[s]);Object.assign(e.payload,([t,n]=ql(()=>e.runWithContext(om)),t=await t,n(),t)),window.__NUXT__=e.payload}}),am=[],lm=pt({name:"nuxt:head",enforce:"pre",setup(e){const t=Ch({plugins:am});Eh(()=>Pe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await Yl(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]=ql(()=>fc(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:Bl(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=pt({name:"nuxt:router",enforce:"pre",setup(e){const t=ep(window.location.pathname,Un().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},r=(f,p)=>(s[f].push(p),()=>s[f].splice(s[f].indexOf(p),1)),o=Un().app.baseURL,i=ft(ko(t));async function a(f,p){try{const b=ko(f);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"]({},"",Ht(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=Ke(()=>i);for(const f in i)Object.defineProperty(c,f,{get(){return i[f]}});const l={currentRoute:c,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>r("resolve:before",f),beforeEach:f=>r("navigate:before",f),afterEach:f=>r("navigate:after",f),onError:f=>r("error",f),resolve:ko,addRoute:(f,p)=>{n.push(p)},getRoutes:()=>n,hasRoute:f=>n.some(p=>p.name===f),removeRoute:f=>{const p=n.findIndex(b=>b.name===f);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:(f,{slots:p})=>{const b=()=>a(f.to,f.replace);return()=>{var T;const y=l.resolve(f.to);return f.custom?(T=p.default)==null?void 0:T.call(p,{href:f.to,navigate:b,route:y}):Ps("a",{href:f.to,onClick:L=>(L.preventDefault(),b())},p)}}})),window.addEventListener("popstate",f=>{const p=f.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(f,p)=>{f.meta=ft(f.meta||{}),e.isHydrating&&d&&!Jt(f.meta.layout)&&(f.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(f,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(()=>cc(i.fullPath))}),{provide:{route:i,router:l}}}}),or=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)}),Dr=e=>{const t=Pe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{or(e)}):or(e)},pm=pt({name:"nuxt:payload",setup(e){nn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Di(t.path);s&&Object.assign(e.static.data,s.data)}),Dr(()=>{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=pt(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)}Dr(()=>{t=setTimeout(n,1e3*60*60)})}),mm=Ss(()=>js(()=>import("./Icon.obKARbAK.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default)),gm=Ss(()=>js(()=>import("./IconCSS.TGpF5Cou.js"),__vite__mapDeps([3,1,4]),import.meta.url).then(e=>e.default)),ym=[["Icon",mm],["IconCSS",gm]],_m=pt({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=Xa(o.payload.state,r);if(i.value===void 0&&s){const a=s();if(je(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=pt(e=>{const t=vm("color-mode",()=>ft({preference:gt.preference,value:gt.value,unknown:!1,forced:!1})).value;nn().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())}))}at(()=>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}),at(()=>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=pt(()=>{});function Nm(e={}){const t=e.path||window.location.pathname;let n={};try{n=Es(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=pt({name:"nuxt:chunk-reload",setup(e){const t=nn(),n=Un(),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:Ht(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"],Wi=["start","end"],Vi=Lm.reduce((e,t)=>e.concat(t,t+"-"+Wi[0],t+"-"+Wi[1]),[]),Gn=Math.min,Gt=Math.max,Pm={left:"right",right:"left",bottom:"top",top:"bottom"},Am={start:"end",end:"start"};function rr(e,t,n){return Gt(e,Gn(t,n))}function sn(e,t){return typeof e=="function"?e(t):e}function dt(e){return e.split("-")[0]}function nt(e){return e.split("-")[1]}function hc(e){return e==="x"?"y":"x"}function Ur(e){return e==="y"?"height":"width"}function Qn(e){return["top","bottom"].includes(dt(e))?"y":"x"}function Gr(e){return hc(Qn(e))}function mc(e,t,n){n===void 0&&(n=!1);const s=nt(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 Em(e,t,n,s){const r=nt(e);let o=Cm(dt(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 $m(e){return{top:0,right:0,bottom:0,left:0,...e}}function gc(e){return typeof e!="number"?$m(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 qi(e,t,n){let{reference:s,floating:r}=e;const o=Qn(t),i=Gr(t),a=Ur(i),c=dt(t),l=o==="y",d=s.x+s.width/2-r.width/2,f=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:f};break;case"left":b={x:s.x-r.width,y:f};break;default:b={x:s.x,y:s.y}}switch(nt(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:f}=qi(l,s,c),p=s,b={},y=0;for(let T=0;T<a.length;T++){const{name:L,fn:N}=a[T],{x,y:h,data:k,reset:_}=await N({x:d,y:f,initialPlacement:s,placement:p,strategy:r,middlewareData:b,rects:l,platform:i,elements:{reference:e,floating:t}});if(d=x??d,f=h??f,b={...b,[L]:{...b[L],...k}},_&&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:f}=qi(l,p,c)),T=-1;continue}}return{x:d,y:f,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:f="floating",altBoundary:p=!1,padding:b=0}=sn(t,e),y=gc(b),L=a[p?f==="floating"?"reference":"floating":f],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})),x=f==="floating"?{...i.floating,x:s,y:r}:i.reference,h=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),k=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:x,offsetParent:h,strategy:c}):x);return{top:(N.top-_.top+y.top)/k.y,bottom:(_.bottom-N.bottom+y.bottom)/k.y,left:(N.left-_.left+y.left)/k.x,right:(_.right-N.right+y.right)/k.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}=sn(e,t)||{};if(l==null)return{};const f=gc(d),p={x:n,y:s},b=Gr(r),y=Ur(b),T=await i.getDimensions(l),L=b==="y",N=L?"top":"left",x=L?"bottom":"right",h=L?"clientHeight":"clientWidth",k=o.reference[y]+o.reference[b]-p[b]-o.floating[y],_=p[b]-o.reference[b],u=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let g=u?u[h]:0;(!g||!await(i.isElement==null?void 0:i.isElement(u)))&&(g=a.floating[h]||o.floating[y]);const v=k/2-_/2,m=g/2-T[y]/2-1,w=Gn(f[N],m),S=Gn(f[x],m),P=w,C=g-T[y]-S,O=g/2-T[y]/2+v,B=rr(P,O,C),j=!c.arrow&&nt(r)!=null&&O!=B&&o.reference[y]/2-(O<P?w:S)-T[y]/2<0,K=j?O<P?O-P:O-C:0;return{[b]:p[b]+K,data:{[b]:B,centerOffset:O-B-K,...j&&{alignmentOffset:K}},reset:j}}});function Im(e,t,n){return(e?[...n.filter(r=>nt(r)===e),...n.filter(r=>nt(r)!==e)]:n.filter(r=>dt(r)===r)).filter(r=>e?nt(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:f,allowedPlacements:p=Vi,autoAlignment:b=!0,...y}=sn(e,t),T=f!==void 0||p===Vi?Im(f||null,b,p):p,L=await so(t,y),N=((n=i.autoPlacement)==null?void 0:n.index)||0,x=T[N];if(x==null)return{};const h=mc(x,o,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(a!==x)return{reset:{placement:T[0]}};const k=[L[dt(x)],L[h[0]],L[h[1]]],_=[...((s=i.autoPlacement)==null?void 0:s.overflows)||[],{placement:x,overflows:k}],u=T[N+1];if(u)return{data:{index:N+1,overflows:_},reset:{placement:u}};const g=_.map(w=>{const S=nt(w.placement);return[w.placement,S&&d?w.overflows.slice(0,2).reduce((P,C)=>P+C,0):w.overflows[0],w.overflows]}).sort((w,S)=>w[1]-S[1]),m=((r=g.filter(w=>w[2].slice(0,nt(w[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:f=!0,fallbackPlacements:p,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:T=!0,...L}=sn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const N=dt(r),x=dt(a)===a,h=await(c.isRTL==null?void 0:c.isRTL(l.floating)),k=p||(x||!T?[Bs(a)]:Rm(a));!p&&y!=="none"&&k.push(...Em(a,T,y,h));const _=[a,...k],u=await so(t,L),g=[];let v=((s=o.flip)==null?void 0:s.overflows)||[];if(d&&g.push(u[N]),f){const P=mc(r,i,h);g.push(u[P[0]],u[P[1]])}if(v=[...v,{placement:r,overflows:g}],!g.every(P=>P<=0)){var m,w;const P=(((m=o.flip)==null?void 0:m.index)||0)+1,C=_[P];if(C)return{data:{index:P,overflows:v},reset:{placement:C}};let O=(w=v.filter(B=>B.overflows[0]<=0).sort((B,j)=>B.overflows[1]-j.overflows[1])[0])==null?void 0:w.placement;if(!O)switch(b){case"bestFit":{var S;const B=(S=v.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];B&&(O=B);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=dt(n),a=nt(n),c=Qn(n)==="y",l=["left","top"].includes(i)?-1:1,d=o&&c?-1:1,f=sn(t,e);let{mainAxis:p,crossAxis:b,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 Fm=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}}}}},Dm=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:x}=L;return{x:N,y:x}}},...c}=sn(e,t),l={x:n,y:s},d=await so(t,c),f=Qn(dt(r)),p=hc(f);let b=l[p],y=l[f];if(o){const L=p==="y"?"top":"left",N=p==="y"?"bottom":"right",x=b+d[L],h=b-d[N];b=rr(x,b,h)}if(i){const L=f==="y"?"top":"left",N=f==="y"?"bottom":"right",x=y+d[L],h=y-d[N];y=rr(x,y,h)}const T=a.fn({...t,[p]:b,[f]: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}=sn(e,t),c=await so(t,a),l=dt(n),d=nt(n),f=Qn(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],x=!t.middlewareData.shift;let h=L,k=N;if(f){const u=p-c.left-c.right;k=d||x?Gn(N,u):u}else{const u=b-c.top-c.bottom;h=d||x?Gn(L,u):u}if(x&&!d){const u=Gt(c.left,0),g=Gt(c.right,0),v=Gt(c.top,0),m=Gt(c.bottom,0);f?k=p-2*(u!==0||g!==0?u+g:Gt(c.left,c.right)):h=b-2*(v!==0||m!==0?v+m:Gt(c.top,c.bottom))}await i({...t,availableWidth:k,availableHeight:h});const _=await r.getDimensions(o.floating);return p!==_.width||b!==_.height?{reset:{rects:!0}}:{}}}};function Ze(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function lt(e){return Ze(e).getComputedStyle(e)}const zi=Math.min,$n=Math.max,Hs=Math.round;function yc(e){const t=lt(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 Bt(e){return bc(e)?(e.nodeName||"").toLowerCase():""}let ls;function _c(){if(ls)return ls;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ls=e.brands.map(t=>t.brand+"/"+t.version).join(" "),ls):navigator.userAgent}function ct(e){return e instanceof Ze(e).HTMLElement}function jt(e){return e instanceof Ze(e).Element}function bc(e){return e instanceof Ze(e).Node}function Ki(e){return typeof ShadowRoot>"u"?!1:e instanceof Ze(e).ShadowRoot||e instanceof ShadowRoot}function oo(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function Gm(e){return["table","td","th"].includes(Bt(e))}function ir(e){const t=/firefox/i.test(_c()),n=lt(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 vc(){return!/^((?!chrome|android).)*safari/i.test(_c())}function Wr(e){return["html","body","#document"].includes(Bt(e))}function wc(e){return jt(e)?e:e.contextElement}const xc={x:1,y:1};function mn(e){const t=wc(e);if(!ct(t))return xc;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:o}=yc(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 Wn(e,t,n,s){var r,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=wc(e);let c=xc;t&&(s?jt(s)&&(c=mn(s)):c=mn(e));const l=a?Ze(a):window,d=!vc()&&n;let f=(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=Ze(a),L=s&&jt(s)?Ze(s):s;let N=T.frameElement;for(;N&&s&&L!==T;){const x=mn(N),h=N.getBoundingClientRect(),k=getComputedStyle(N);h.x+=(N.clientLeft+parseFloat(k.paddingLeft))*x.x,h.y+=(N.clientTop+parseFloat(k.paddingTop))*x.y,f*=x.x,p*=x.y,b*=x.x,y*=x.y,f+=h.x,p+=h.y,N=Ze(N).frameElement}}return{width:b,height:y,top:p,right:f+b,bottom:p+y,left:f,x:f,y:p}}function Ot(e){return((bc(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 kc(e){return Wn(Ot(e)).left+ro(e).scrollLeft}function Vn(e){if(Bt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ki(e)&&e.host||Ot(e);return Ki(t)?t.host:t}function Sc(e){const t=Vn(e);return Wr(t)?t.ownerDocument.body:ct(t)&&oo(t)?t:Sc(t)}function Fs(e,t){var n;t===void 0&&(t=[]);const s=Sc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=Ze(s);return r?t.concat(o,o.visualViewport||[],oo(s)?s:[]):t.concat(s,Fs(s))}function Ji(e,t,n){return t==="viewport"?En(function(s,r){const o=Ze(s),i=Ot(s),a=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,d=0,f=0;if(a){c=a.width,l=a.height;const p=vc();(p||!p&&r==="fixed")&&(d=a.offsetLeft,f=a.offsetTop)}return{width:c,height:l,x:d,y:f}}(e,n)):jt(t)?En(function(s,r){const o=Wn(s,!0,r==="fixed"),i=o.top+s.clientTop,a=o.left+s.clientLeft,c=ct(s)?mn(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=$n(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),c=$n(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let l=-o.scrollLeft+kc(s);const d=-o.scrollTop;return lt(i).direction==="rtl"&&(l+=$n(r.clientWidth,i.clientWidth)-a),{width:a,height:c,x:l,y:d}}(Ot(e)))}function Xi(e){return ct(e)&&lt(e).position!=="fixed"?e.offsetParent:null}function Qi(e){const t=Ze(e);let n=Xi(e);for(;n&&Gm(n)&&lt(n).position==="static";)n=Xi(n);return n&&(Bt(n)==="html"||Bt(n)==="body"&&lt(n).position==="static"&&!ir(n))?t:n||function(s){let r=Vn(s);for(;ct(r)&&!Wr(r);){if(ir(r))return r;r=Vn(r)}return null}(e)||t}function Wm(e,t,n){const s=ct(t),r=Ot(t),o=Wn(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Bt(t)!=="body"||oo(r))&&(i=ro(t)),ct(t)){const c=Wn(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else r&&(a.x=kc(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 f=d.get(l);if(f)return f;let p=Fs(l).filter(L=>jt(L)&&Bt(L)!=="body"),b=null;const y=lt(l).position==="fixed";let T=y?Vn(l):l;for(;jt(T)&&!Wr(T);){const L=lt(T),N=ir(T);(y?N||b:N||L.position!=="static"||!b||!["absolute","fixed"].includes(b.position))?b=L:p=p.filter(x=>x!==T),T=Vn(T)}return d.set(l,p),p}(t,this._c):[].concat(n),i=[...o,s],a=i[0],c=i.reduce((l,d)=>{const f=Ji(t,d,r);return l.top=$n(f.top,l.top),l.right=zi(f.right,l.right),l.bottom=zi(f.bottom,l.bottom),l.left=$n(f.left,l.left),l},Ji(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=ct(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")&&((Bt(n)!=="body"||oo(o))&&(i=ro(n)),ct(n))){const l=Wn(n);a=mn(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 ct(e)?yc(e):e.getBoundingClientRect()},getOffsetParent:Qi,getDocumentElement:Ot,getScale:mn,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||Qi,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=>lt(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 Nc(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Nc(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 qn(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 Yi(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 bn=!1;if(typeof window<"u"){bn=!1;try{const e=Object.defineProperty({},"passive",{get(){bn=!0}});window.addEventListener("test",null,e)}catch{}}let Tc=!1;typeof window<"u"&&typeof navigator<"u"&&(Tc=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Lc=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Zi={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ea={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ta(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function So(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const yt=[];let Dt=null;const na={};function sa(e){let t=na[e];return t||(t=na[e]=[]),t}let ar=function(){};typeof window<"u"&&(ar=window.Element);function ue(e){return function(t){return qn(t.theme,e)}}const No="__floating-vue__popper",Pc=()=>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:ue("disabled")},positioningDisabled:{type:Boolean,default:ue("positioningDisabled")},placement:{type:String,default:ue("placement"),validator:e=>Lc.includes(e)},delay:{type:[String,Number,Object],default:ue("delay")},distance:{type:[Number,String],default:ue("distance")},skidding:{type:[Number,String],default:ue("skidding")},triggers:{type:Array,default:ue("triggers")},showTriggers:{type:[Array,Function],default:ue("showTriggers")},hideTriggers:{type:[Array,Function],default:ue("hideTriggers")},popperTriggers:{type:Array,default:ue("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ue("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ue("popperHideTriggers")},container:{type:[String,Object,ar,Boolean],default:ue("container")},boundary:{type:[String,ar],default:ue("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ue("strategy")},autoHide:{type:[Boolean,Function],default:ue("autoHide")},handleResize:{type:Boolean,default:ue("handleResize")},instantMove:{type:Boolean,default:ue("instantMove")},eagerMount:{type:Boolean,default:ue("eagerMount")},popperClass:{type:[String,Array,Object],default:ue("popperClass")},computeTransformOrigin:{type:Boolean,default:ue("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ue("autoMinSize")},autoSize:{type:[Boolean,String],default:ue("autoSize")},autoMaxSize:{type:Boolean,default:ue("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ue("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ue("preventOverflow")},overflowPadding:{type:[Number,String],default:ue("overflowPadding")},arrowPadding:{type:[Number,String],default:ue("arrowPadding")},arrowOverflow:{type:Boolean,default:ue("arrowOverflow")},flip:{type:Boolean,default:ue("flip")},shift:{type:Boolean,default:ue("shift")},shiftCrossAxis:{type:Boolean,default:ue("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ue("noAutoFocus")},disposeTimeout:{type:Number,default:ue("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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!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.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(Fm({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(Dm({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,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Dt&&this.instantMove&&Dt.instantMove&&Dt!==this.parentPopper){Dt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Dt=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([...Fs(this.$_referenceNode),...Fs(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<yt.length;n++)t=yt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}yt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Yi(this.theme))sa(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,ta(yt,this),yt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Yi(this.theme)){const s=sa(n);ta(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Dt===this&&(Dt=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,Zi,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Zi,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,ea,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ea,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,bn?{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(jn>=e.left&&jn<=e.right&&On>=e.top&&On<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=jn-Nt,s=On-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 cs(Nt,Tt,o,i,t.left,t.top,t.left,t.bottom)||cs(Nt,Tt,o,i,t.left,t.top,t.right,t.top)||cs(Nt,Tt,o,i,t.right,t.top,t.right,t.bottom)||cs(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"&&(Tc?document.addEventListener("touchstart",oa,bn?{passive:!0,capture:!0}:!0):window.addEventListener("mousedown",oa,!0),window.addEventListener("resize",Jm));function oa(e,t=!1){const n={};for(let s=yt.length-1;s>=0;s--){const r=yt[s];try{const o=r.containsGlobalTarget=r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!n[r.randomId]&&ra(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&&ra(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function ra(e,t,n){return n.closeAllPopover||n.closePopover&&t||Km(e,n)&&!t}function Km(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Jm(){for(let e=0;e<yt.length;e++)yt[e].$_computePosition()}let Nt=0,Tt=0,jn=0,On=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Nt=jn,Tt=On,jn=e.clientX,On=e.clientY},bn?{passive:!0}:void 0);function cs(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 Xm={extends:Pc()},io=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function Qm(e,t,n,s,r,o){return X(),oe("div",{ref:"reference",class:Ae(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ge(e.$slots,"default",La($r(e.slotData)))],2)}const Ym=io(Xm,[["render",Qm]]);function Zm(){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 ys;function lr(){lr.init||(lr.init=!0,ys=Zm()!==-1)}var ao={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){lr(),tn(()=>{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",ys&&this.$el.appendChild(e),e.data="about:blank",ys||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&&(!ys&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const eg=of();tl("data-v-b329ee4c");const tg={class:"resize-observer",tabindex:"-1"};nl();const ng=eg((e,t,n,s,r,o)=>(X(),Ne("div",tg)));ao.render=ng;ao.__scopeId="data-v-b329ee4c";ao.__file="src/components/ResizeObserver.vue";const Ac=(e="theme")=>({computed:{themeClass(){return zm(this[e])}}}),sg=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}}}),og=["id","aria-hidden","tabindex","data-popper-placement"],rg={ref:"inner",class:"v-popper__inner"},ig=V("div",{class:"v-popper__arrow-outer"},null,-1),ag=V("div",{class:"v-popper__arrow-inner"},null,-1),lg=[ig,ag];function cg(e,t,n,s,r,o){const i=Xt("ResizeObserver");return X(),oe("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:qt(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:qt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[V("div",rg,[e.mounted?(X(),oe(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))})):Oe("",!0)],64)):Oe("",!0)],512),V("div",{ref:"arrow",class:"v-popper__arrow-container",style:qt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},lg,4)],4)],46,og)}const Rc=io(sg,[["render",cg]]),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 cr=function(){};typeof window<"u"&&(cr=window.Element);const ug=Ve({name:"VPopperWrapper",components:{Popper:Ym,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,cr,Boolean],default:void 0},boundary:{type:[String,cr],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 fg(e,t,n,s,r,o){const i=Xt("PopperContent"),a=Xt("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:f,autoHide:p,show:b,hide:y,handleResize:T,onResize:L,classes:N,result:x})=>[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":f,"auto-hide":p,"handle-resize":T,classes:N,result:x,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(ug,[["render",fg]]),dg={...Vr,name:"VDropdown",vPopperTheme:"dropdown"},pg={...Vr,name:"VMenu",vPopperTheme:"menu"},hg={...Vr,name:"VTooltip",vPopperTheme:"tooltip"},mg=Ve({name:"VTooltipDirective",components:{Popper:Pc(),PopperContent:Rc},mixins:[Cc],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>qn(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>qn(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}}}),gg=["innerHTML"],yg=["textContent"];function _g(e,t,n,s,r,o){const i=Xt("PopperContent"),a=Xt("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:f,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":f,"auto-hide":p,"handle-resize":y,classes:L,result:N,onHide:b,onResize:T},{default:ae(()=>[e.html?(X(),oe("div",{key:0,innerHTML:e.finalContent},null,8,gg)):(X(),oe("div",{key:1,textContent:Me(e.finalContent)},null,8,yg))]),_: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 bg=io(mg,[["render",_g]]),Ec="v-popper--has-tooltip";function vg(e,t){let n=e.placement;if(!n&&t)for(const s of Lc)t[s]&&(n=s);return n||(n=qn(e.theme||"tooltip","placement")),n}function $c(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=vg(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let To,zn,wg=0;function xg(){if(To)return;zn=Te([]),To=Ol({name:"VTooltipDirectiveApp",setup(){return{directives:zn}},render(){return this.directives.map(t=>Ps(bg,{...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 kg(e,t,n){xg();const s=Te($c(e,t,n)),r=Te(!1),o={id:wg++,options:s,shown:r};return zn.value.push(o),e.classList&&e.classList.add(Ec),e.$_popper={options:s,item:o,show(){r.value=!0},hide(){r.value=!1}}}function jc(e){if(e.$_popper){const t=zn.value.indexOf(e.$_popper.item);t!==-1&&zn.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Ec)}function ia(e,{value:t,modifiers:n}){const s=$c(e,t,n);if(!s.content||qn(s.theme||"tooltip","disabled"))jc(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=kg(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const Sg={beforeMount:ia,updated:ia,beforeUnmount(e){jc(e)}};function aa(e){e.addEventListener("mousedown",Oc),e.addEventListener("touchstart",Ic,bn?{passive:!0}:!1)}function la(e){e.removeEventListener("mousedown",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 Ng={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&aa(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?aa(e):la(e))},beforeUnmount(e){la(e)}};function Tg(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Nc(vt,t),e.directive("tooltip",Sg),e.directive("close-popper",Ng),e.component("VTooltip",hg),e.component("VDropdown",dg),e.component("VMenu",pg))}const Lg={version:"5.2.0",install:Tg,options:vt},Pg=pt(e=>{e.vueApp.use(Lg)}),Ag=[im,lm,fm,pm,hm,_m,km,Sm,Tm,Pg],qr=Ve({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(X(),oe("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},Rg={},Cg={class:"n-badge"};function Eg(e,t){return X(),oe("span",Cg,[Ge(e.$slots,"default")])}const Hc=lo(Rg,[["render",Eg]]);async function Fc(e,t=nn()){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(()=>Fc(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 $g=(...e)=>e.find(t=>t!==void 0),jg="noopener noreferrer";function Og(e){const t=e.componentName||"NuxtLink",n=(s,r)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;if(typeof s=="string")return ca(s,e.trailingSlash);const o="path"in s?s.path:r(s).path;return{...s,name:void 0,path:ca(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=nn(),i=Un(),a=Ke(()=>{const b=s.to||s.href||"";return n(b,o.resolve)}),c=Ke(()=>typeof a.value=="string"&&xn(a.value,{acceptRelative:!0})),l=Ke(()=>s.external||s.target&&s.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||c.value),d=Te(!1),f=Te(null),p=b=>{var y;f.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"&&!Bg()){const y=Pe();let T,L=null;Qs(()=>{const N=Mg();Dr(()=>{T=or(()=>{var x;(x=f==null?void 0:f.value)!=null&&x.tagName&&(L=N.observe(f.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&&Fc(a.value,o).catch(()=>{})]),d.value=!0}))})})}),Ar(()=>{T&&dm(T),L==null||L(),L=null})}return()=>{var N,x;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(Xt("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(Ht(i.app.baseURL,a.value),o.resolve):a.value||null,y=s.target||null,T=s.noRel?null:$g(s.rel,e.externalRelAttribute,b?jg:"")||null,L=()=>cc(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:f,href:b,rel:T,target:y},(x=r.default)==null?void 0:x.call(r))}}})}const Ig=Og(Zh);function ca(e,t){const n=t==="append"?Rs:to;return xn(e)&&!e.startsWith("http")?e:n(e,!0)}function Mg(){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 Bg(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Hg={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Dc=Ve({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ke(()=>t.href||t.to);return(s,r)=>{const o=Ig;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(),oe("div",Hg)):Oe("",!0)]),_:3},16,["class"])}}}),Fg={},Dg={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ug=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),Gg=[Ug];function Wg(e,t){return X(),oe("svg",Dg,Gg)}const Vg=lo(Fg,[["render",Wg]]),qg={},zg={class:"n-loading n-panel-grids-center"},Kg={class:"flex flex-col animate-pulse items-center text-lg"},Jg=V("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Xg(e,t){return X(),oe("div",zg,[V("div",Kg,[Jg,Ge(e.$slots,"default",{},()=>[ce(" Loading... ")])])])}const Qg=lo(qg,[["render",Xg]]);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 f{static _utf8ByteLength(N){let x=0;for(let h=0,k=N.length;h<k;h++){const _=N.charCodeAt(h);let u=_,g=!1;if(_>=55296&&_<=56319&&h+1<k){const v=N.charCodeAt(h+1);v>=56320&&v<=57343&&(u=65536+(_-55296<<10)|v-56320,g=!0)}x+=u<=127?1:u<=2047?2:u<=65535?3:4,g&&h++}return x}constructor(N){const x=N.length,h=f._utf8ByteLength(N),k=h!==x,_=k?new Uint32Array(x+1):null;k&&(_[x]=h);const u=k?new Uint32Array(h+1):null;k&&(u[h]=x);const g=new Uint8Array(h);let v=0;for(let m=0;m<x;m++){const w=N.charCodeAt(m);let S=w,P=!1;if(w>=55296&&w<=56319&&m+1<x){const C=N.charCodeAt(m+1);C>=56320&&C<=57343&&(S=65536+(w-55296<<10)|C-56320,P=!0)}k&&(_[m]=v,P&&(_[m+1]=v),S<=127?u[v+0]=m:S<=2047?(u[v+0]=m,u[v+1]=m):S<=65535?(u[v+0]=m,u[v+1]=m,u[v+2]=m):(u[v+0]=m,u[v+1]=m,u[v+2]=m,u[v+3]=m)),S<=127?g[v++]=S:S<=2047?(g[v++]=192|(1984&S)>>>6,g[v++]=128|(63&S)>>>0):S<=65535?(g[v++]=224|(61440&S)>>>12,g[v++]=128|(4032&S)>>>6,g[v++]=128|(63&S)>>>0):(g[v++]=240|(1835008&S)>>>18,g[v++]=128|(258048&S)>>>12,g[v++]=128|(4032&S)>>>6,g[v++]=128|(63&S)>>>0),P&&m++}this.utf16Length=x,this.utf8Length=h,this.utf16Value=N,this.utf8Value=g,this.utf16OffsetToUtf8=_,this.utf8OffsetToUtf16=u}createString(N){const x=N._omalloc(this.utf8Length);return N.HEAPU8.set(this.utf8Value,x),x}}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 x=new f(N);this.utf16Length=x.utf16Length,this.utf8Length=x.utf8Length,this.utf16OffsetToUtf8=x.utf16OffsetToUtf8,this.utf8OffsetToUtf16=x.utf8OffsetToUtf16,this.utf8Length<1e4&&!p._sharedPtrInUse?(p._sharedPtr||(p._sharedPtr=l._omalloc(1e4)),p._sharedPtrInUse=!0,l.HEAPU8.set(x.utf8Value,p._sharedPtr),this.ptr=p._sharedPtr):this.ptr=x.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 x=[],h=[];for(let g=0,v=N.length;g<v;g++){const m=new f(N[g]);x[g]=m.createString(l),h[g]=m.utf8Length}const k=l._omalloc(4*N.length);l.HEAPU32.set(x,k/4);const _=l._omalloc(4*N.length);l.HEAPU32.set(h,_/4);const u=l._createOnigScanner(k,_,N.length);for(let g=0,v=N.length;g<v;g++)l._ofree(x[g]);l._ofree(_),l._ofree(k),u===0&&function(g){throw new Error(g.UTF8ToString(g._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=u}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(N,x,h){let k=d,_=0;if(typeof h=="number"?(8&h&&(k=!0),_=h):typeof h=="boolean"&&(k=h),typeof N=="string"){N=new p(N);const u=this._findNextMatchSync(N,x,k,_);return N.dispose(),u}return this._findNextMatchSync(N,x,k,_)}_findNextMatchSync(N,x,h,k){const _=this._onigBinding;let u;if(u=h?_._findNextOnigScannerMatchDbg(this._ptr,N.id,N.ptr,N.utf8Length,N.convertUtf16OffsetToUtf8(x),k):_._findNextOnigScannerMatch(this._ptr,N.id,N.ptr,N.utf8Length,N.convertUtf16OffsetToUtf8(x),k),u===0)return null;const g=_.HEAPU32;let v=u/4;const m=g[v++],w=g[v++];let S=[];for(let P=0;P<w;P++){const C=N.convertUtf8OffsetToUtf16(g[v++]),O=N.convertUtf8OffsetToUtf16(g[v++]);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,x,h,k;if(y=!0,function(_){return typeof _.instantiator=="function"}(L))N=L.instantiator,x=L.print;else{let _;(function(u){return u.data!==void 0})(L)?(_=L.data,x=L.print):_=L,N=function(u){return typeof Response<"u"&&u instanceof Response}(_)?typeof WebAssembly.instantiateStreaming=="function"?function(u){return g=>WebAssembly.instantiateStreaming(u,g)}(_):function(u){return async g=>{const v=await u.arrayBuffer();return WebAssembly.instantiate(v,g)}}(_):function(u){return g=>WebAssembly.instantiate(u,g)}(_)}return T=new Promise((_,u)=>{h=_,k=u}),function(_,u,g,v){(0,c.default)({print:u,instantiateWasm:(m,w)=>{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=>w(S.instance),v),{}}}).then(m=>{l=m,g()})}(N,x,h,k),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,H){a=E,c=H});var d,f=Object.assign({},l),p=!1,b="";function y(E){return l.locateFile?l.locateFile(E,b):b+E}d=function(E){let H;return typeof readbuffer=="function"?new Uint8Array(readbuffer(E)):(H=read(E,"binary"),k(typeof H=="object"),H)},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),x=l.printErr||console.warn.bind(console);Object.assign(l,f),f=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(T=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&ge("no native wasm support detected");var h=!1;function k(E,H){E||ge(H)}var _,u,g,v=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function m(E,H,J){for(var Z=H+J,Q=H;E[Q]&&!(Q>=Z);)++Q;if(Q-H>16&&E.buffer&&v)return v.decode(E.subarray(H,Q));for(var ee="";H<Q;){var re=E[H++];if(128&re){var xe=63&E[H++];if((224&re)!=192){var $e=63&E[H++];if((re=(240&re)==224?(15&re)<<12|xe<<6|$e:(7&re)<<18|xe<<12|$e<<6|63&E[H++])<65536)ee+=String.fromCharCode(re);else{var mt=re-65536;ee+=String.fromCharCode(55296|mt>>10,56320|1023&mt)}}else ee+=String.fromCharCode((31&re)<<6|xe)}else ee+=String.fromCharCode(re)}return ee}function w(E,H){return E?m(u,E,H):""}function S(E){_=E,l.HEAP8=new Int8Array(E),l.HEAP16=new Int16Array(E),l.HEAP32=new Int32Array(E),l.HEAPU8=u=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 B(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)q(l.preRun.shift());A(P)}function j(){A(C)}function K(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)_e(l.postRun.shift());A(O)}function q(E){P.unshift(E)}function se(E){C.unshift(E)}function _e(E){O.unshift(E)}var pe=0,le=null;function he(E){pe++,l.monitorRunDependencies&&l.monitorRunDependencies(pe)}function me(E){if(pe--,l.monitorRunDependencies&&l.monitorRunDependencies(pe),pe==0&&le){var H=le;le=null,H()}}function ge(E){l.onAbort&&l.onAbort(E),x(E="Aborted("+E+")"),h=!0,E+=". Build with -sASSERTIONS for more info.";var H=new WebAssembly.RuntimeError(E);throw c(H),H}var be,F,we="data:application/octet-stream;base64,";function ye(E){return E.startsWith(we)}function Ce(E){try{if(E==be&&T)return new Uint8Array(T);if(d)return d(E);throw"both async and sync fetching of the wasm failed"}catch(H){ge(H)}}function et(){return T||!p||typeof fetch!="function"?Promise.resolve().then(function(){return Ce(be)}):fetch(be,{credentials:"same-origin"}).then(function(E){if(!E.ok)throw"failed to load wasm binary file at '"+be+"'";return E.arrayBuffer()}).catch(function(){return Ce(be)})}function ht(){var E={env:W,wasi_snapshot_preview1:W};function H(Q,ee){var re=Q.exports;l.asm=re,S((L=l.asm.memory).buffer),l.asm.__indirect_function_table,se(l.asm.__wasm_call_ctors),me()}function J(Q){H(Q.instance)}function Z(Q){return et().then(function(ee){return WebAssembly.instantiate(ee,E)}).then(function(ee){return ee}).then(Q,function(ee){x("failed to asynchronously prepare wasm: "+ee),ge(ee)})}if(he(),l.instantiateWasm)try{return l.instantiateWasm(E,H)}catch(Q){x("Module.instantiateWasm callback failed with error: "+Q),c(Q)}return(T||typeof WebAssembly.instantiateStreaming!="function"||ye(be)||typeof fetch!="function"?Z(J):fetch(be,{credentials:"same-origin"}).then(function(Q){return WebAssembly.instantiateStreaming(Q,E).then(J,function(ee){return x("wasm streaming compile failed: "+ee),x("falling back to ArrayBuffer instantiation"),Z(J)})})).catch(c),{}}function A(E){for(;E.length>0;)E.shift()(l)}function R(E,H,J){u.copyWithin(E,H,H+J)}function $(E){try{return L.grow(E-_.byteLength+65535>>>16),S(L.buffer),1}catch{}}function I(E){var H,J=u.length,Z=2147483648;if((E>>>=0)>Z)return!1;for(var Q=1;Q<=4;Q*=2){var ee=J*(1+.2/Q);if(ee=Math.min(ee,E+100663296),$(Math.min(Z,(H=Math.max(E,ee))+(65536-H%65536)%65536)))return!0}return!1}ye(be="onig.wasm")||(be=y(be)),F=typeof dateNow<"u"?dateNow:()=>performance.now();var M=[null,[],[]];function G(E,H){var J=M[E];H===0||H===10?((E===1?N:x)(m(J,0)),J.length=0):J.push(H)}function z(E,H,J,Z){for(var Q=0,ee=0;ee<J;ee++){var re=g[H>>2],xe=g[H+4>>2];H+=8;for(var $e=0;$e<xe;$e++)G(E,u[re+$e]);Q+=xe}return g[Z>>2]=Q,0}var D,W={emscripten_get_now:F,emscripten_memcpy_big:R,emscripten_resize_heap:I,fd_write:z};function U(E){function H(){D||(D=!0,l.calledRun=!0,h||(j(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),K()))}pe>0||(B(),pe>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),H()},1)):H()))}if(ht(),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=w,le=function E(){D||U(),D||(le=E)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return U(),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),f=i.getForeground(a),p=i.getBackground(a);console.log({languageId:c,tokenType:l,fontStyle:d,foreground:f,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,f,p,b){let y=i.getLanguageId(a),T=i.getTokenType(a),L=i.containsBalancedBrackets(a)?1:0,N=i.getFontStyle(a),x=i.getForeground(a),h=i.getBackground(a);return c!==0&&(y=c),l!==8&&(T=l),d!==null&&(L=d?1:0),f!==-1&&(N=f),p!==0&&(x=p),b!==0&&(h=b),(y<<0|T<<8|L<<10|N<<11|x<<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),f=i(792),p=i(583),b=i(878),y=i(996),T=i(47);function L(v,m,w,S,P){const C=l.createMatchers(m,N),O=f.RuleFactory.getCompiledRuleId(w,S,P.repository);for(const B of C)v.push({debugSelector:m,matcher:B.matcher,ruleId:O,grammar:P,priority:B.priority})}function N(v,m){if(m.length<v.length)return!1;let w=0;return v.every(S=>{for(let P=w;P<m.length;P++)if(x(m[P],S))return w=P+1,!0;return!1})}function x(v,m){if(!v)return!1;if(v===m)return!0;const w=m.length;return v.length>w&&v.substr(0,w)===m&&v[w]==="."}o.createGrammar=function(v,m,w,S,P,C,O,B){return new h(v,m,w,S,P,C,O,B)};class h{constructor(m,w,S,P,C,O,B,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=B,this._grammar=k(w,null),this._injections=null,this._tokenTypeMatchers=[],C)for(const K of Object.keys(C)){const q=l.createMatchers(K,N);for(const se of q)this._tokenTypeMatchers.push({matcher:se.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=[],w=this._rootScopeName,S=(P=>P===this._rootScopeName?this._grammar:this.getExternalGrammar(P))(w);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(w);C&&C.forEach(O=>{const B=this.getExternalGrammar(O);if(B){const j=B.injectionSelector;j&&L(m,j,B,this,B)}})}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 w=++this._lastRuleId,S=m(f.ruleIdFromNumber(w));return this._ruleId2desc[w]=S,S}getRule(m){return this._ruleId2desc[f.ruleIdToNumber(m)]}getExternalGrammar(m,w){if(this._includedGrammars[m])return this._includedGrammars[m];if(this._grammarRepository){const S=this._grammarRepository.lookup(m);if(S)return this._includedGrammars[m]=k(S,w&&w.$base),this._includedGrammars[m]}}tokenizeLine(m,w,S=0){const P=this._tokenize(m,w,!1,S);return{tokens:P.lineTokens.getResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}tokenizeLine2(m,w,S=0){const P=this._tokenize(m,w,!0,S);return{tokens:P.lineTokens.getBinaryResult(P.ruleStack,P.lineLength),ruleStack:P.ruleStack,stoppedEarly:P.stoppedEarly}}_tokenize(m,w,S,P){let C;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),w&&w!==u.NULL)C=!1,w.reset();else{C=!0;const q=this._basicScopeAttributesProvider.getDefaultAttributes(),se=this.themeProvider.getDefaults(),_e=c.EncodedTokenAttributes.set(0,q.languageId,q.tokenType,null,se.fontStyle,se.foregroundId,se.backgroundId),pe=this.getRule(this._rootId).getName(null,null);let le;le=pe?_.createRootAndLookUpScopeName(pe,_e,this):_.createRoot("unknown",_e),w=new u(null,this._rootId,-1,-1,!1,null,le,le)}m+=`
18
+ `;const O=this.createOnigString(m),B=O.content.length,j=new g(S,m,this._tokenTypeMatchers,this.balancedBracketSelectors),K=T._tokenizeString(this,O,C,0,w,j,!0,P);return d.disposeOnigString(O),{lineLength:B,lineTokens:j,ruleStack:K.stack,stoppedEarly:K.stoppedEarly}}}function k(v,m){return(v=b.clone(v)).repository=v.repository||{},v.repository.$self={$vscodeTextmateLocation:v.$vscodeTextmateLocation,patterns:v.patterns,name:v.scopeName},v.repository.$base=m||v.repository.$self,v}o.Grammar=h;class _{constructor(m,w,S){this.parent=m,this.scopePath=w,this.tokenAttributes=S}static createRoot(m,w){return new _(null,new p.ScopeStack(null,m),w)}static createRootAndLookUpScopeName(m,w,S){const P=S.getMetadataForScope(m),C=new p.ScopeStack(null,m),O=S.themeProvider.themeMatch(C),B=_.mergeAttributes(w,P,O);return new _(null,C,B)}get scopeName(){return this.scopePath.scopeName}equals(m){return _._equals(this,m)}static _equals(m,w){for(;;){if(m===w||!m&&!w)return!0;if(!m||!w||m.scopeName!==w.scopeName||m.tokenAttributes!==w.tokenAttributes)return!1;m=m.parent,w=w.parent}}static mergeAttributes(m,w,S){let P=-1,C=0,O=0;return S!==null&&(P=S.fontStyle,C=S.foregroundId,O=S.backgroundId),c.EncodedTokenAttributes.set(m,w.languageId,w.tokenType,null,P,C,O)}pushAttributed(m,w){if(m===null)return this;if(m.indexOf(" ")===-1)return _._pushAttributed(this,m,w);const S=m.split(/ /g);let P=this;for(const C of S)P=_._pushAttributed(P,C,w);return P}static _pushAttributed(m,w,S){const P=S.getMetadataForScope(w),C=m.scopePath.push(w),O=S.themeProvider.themeMatch(C),B=_.mergeAttributes(m.tokenAttributes,P,O);return new _(m,C,B)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=_;class u{constructor(m,w,S,P,C,O,B,j){this.parent=m,this.ruleId=w,this.beginRuleCapturedEOL=C,this.endRule=O,this.nameScopesList=B,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&&u._equals(this,m)}static _equals(m,w){return m===w||!!this._structuralEquals(m,w)&&m.contentNameScopesList.equals(w.contentNameScopesList)}static _structuralEquals(m,w){for(;;){if(m===w||!m&&!w)return!0;if(!m||!w||m.depth!==w.depth||m.ruleId!==w.ruleId||m.endRule!==w.endRule)return!1;m=m.parent,w=w.parent}}clone(){return this}static _reset(m){for(;m;)m._enterPos=-1,m._anchorPos=-1,m=m.parent}reset(){u._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(m,w,S,P,C,O,B){return new u(this,m,w,S,P,C,O,B)}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,w){return this.parent&&(w=this.parent._writeString(m,w)),m[w++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,w}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 u(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,m,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(m){let w=this;for(;w&&w._enterPos===m._enterPos;){if(w.ruleId===m.ruleId)return!0;w=w.parent}return!1}}o.StateStack=u,u.NULL=new u(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(v,m){this.allowAny=!1,this.balancedBracketScopes=v.flatMap(w=>w==="*"?(this.allowAny=!0,[]):l.createMatchers(w,N).map(S=>S.matcher)),this.unbalancedBracketScopes=m.flatMap(w=>l.createMatchers(w,N).map(S=>S.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(v){for(const m of this.unbalancedBracketScopes)if(m(v))return!1;for(const m of this.balancedBracketScopes)if(m(v))return!0;return this.allowAny}};class g{constructor(m,w,S,P){this.balancedBracketSelectors=P,this._emitBinaryTokens=m,this._tokenTypeOverrides=S,a.DebugFlags.InDebugMode?this._lineText=w:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(m,w){this.produceFromScopes(m.contentNameScopesList,w)}produceFromScopes(m,w){var P;if(this._lastTokenEndIndex>=w)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 B=m.getScopeNames();for(const j of this._tokenTypeOverrides)j.matcher(B)&&(C=c.EncodedTokenAttributes.set(C,0,c.toOptionalTokenType(j.type),null,-1,0,0));this.balancedBracketSelectors&&(O=this.balancedBracketSelectors.match(B))}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=w);if(a.DebugFlags.InDebugMode){const B=m.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let j=0;j<B.length;j++)console.log(" * "+B[j])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(C),void(this._lastTokenEndIndex=w)}const S=m.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let C=0;C<S.length;C++)console.log(" * "+S[C])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:w,scopes:S}),this._lastTokenEndIndex=w}getResult(m,w){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===w-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,w),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(m,w){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===w-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(m,w),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(u){this.scopeName=u}toKey(){return this.scopeName}}o.TopLevelRuleReference=c;class l{constructor(u,g){this.scopeName=u,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(u){const g=u.toKey();this._seenReferenceKeys.has(g)||(this._seenReferenceKeys.add(g),this._references.push(u))}}function f(_,u,g,v){const m=g.lookup(_.scopeName);if(!m){if(_.scopeName===u)throw new Error(`No grammar provided for <${u}>`);return}const w=g.lookup(u);_ instanceof c?b({baseGrammar:w,selfGrammar:m},v):p(_.ruleName,{baseGrammar:w,selfGrammar:m,repository:m.repository},v);const S=g.injections(_.scopeName);if(S)for(const P of S)v.add(new c(P))}function p(_,u,g){u.repository&&u.repository[_]&&y([u.repository[_]],u,g)}function b(_,u){_.selfGrammar.patterns&&Array.isArray(_.selfGrammar.patterns)&&y(_.selfGrammar.patterns,{..._,repository:_.selfGrammar.repository},u),_.selfGrammar.injections&&y(Object.values(_.selfGrammar.injections),{..._,repository:_.selfGrammar.repository},u)}function y(_,u,g){for(const v of _){if(g.visitedRule.has(v))continue;g.visitedRule.add(v);const m=v.repository?a.mergeObjects({},u.repository,v.repository):u.repository;Array.isArray(v.patterns)&&y(v.patterns,{...u,repository:m},g);const w=v.include;if(!w)continue;const S=k(w);switch(S.kind){case 0:b({...u,selfGrammar:u.baseGrammar},g);break;case 1:b(u,g);break;case 2:p(S.ruleName,{...u,repository:m},g);break;case 3:case 4:const P=S.scopeName===u.selfGrammar.scopeName?u.selfGrammar:S.scopeName===u.baseGrammar.scopeName?u.baseGrammar:void 0;if(P){const C={baseGrammar:u.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(_,u){this.repo=_,this.initialScopeName=u,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 u=new d;for(const g of _)f(g,this.initialScopeName,this.repo,u);for(const g of u.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(u){this.ruleName=u,this.kind=2}}o.RelativeReference=N;class x{constructor(u){this.scopeName=u,this.kind=3}}o.TopLevelReference=x;class h{constructor(u,g){this.scopeName=u,this.ruleName=g,this.kind=4}}function k(_){if(_==="$base")return new T;if(_==="$self")return new L;const u=_.indexOf("#");if(u===-1)return new x(_);if(u===0)return new N(_.substring(1));{const g=_.substring(0,u),v=_.substring(u+1);return new h(g,v)}}o.TopLevelRepositoryReference=h,o.parseInclude=k},391:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(l,d,f,p){p===void 0&&(p=f),Object.defineProperty(l,p,{enumerable:!0,get:function(){return d[f]}})}:function(l,d,f,p){p===void 0&&(p=f),l[p]=d[f]}),c=this&&this.__exportStar||function(l,d){for(var f in l)f==="default"||Object.prototype.hasOwnProperty.call(d,f)||a(d,l,f)};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 f{constructor(h,k){this.stack=h,this.stoppedEarly=k}}function p(x,h,k,_,u,g,v,m){const w=h.content.length;let S=!1,P=-1;if(v){const B=function(j,K,q,se,_e,pe){let le=_e.beginRuleCapturedEOL?0:-1;const he=[];for(let me=_e;me;me=me.pop()){const ge=me.getRule(j);ge instanceof l.BeginWhileRule&&he.push({rule:ge,stack:me})}for(let me=he.pop();me;me=he.pop()){const{ruleScanner:ge,findOptions:be}=y(me.rule,j,me.stack.endRule,q,se===le),F=ge.findNextMatchSync(K,se,be);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(ge.toString())),!F){a.DebugFlags.InDebugMode&&console.log(" popping "+me.rule.debugName+" - "+me.rule.debugWhileRegExp),_e=me.stack.pop();break}if(F.ruleId!==l.whileRuleId){_e=me.stack.pop();break}F.captureIndices&&F.captureIndices.length&&(pe.produce(me.stack,F.captureIndices[0].start),L(j,K,q,me.stack,pe,me.rule.whileCaptures,F.captureIndices),pe.produce(me.stack,F.captureIndices[0].end),le=F.captureIndices[0].end,F.captureIndices[0].end>se&&(se=F.captureIndices[0].end,q=!1))}return{stack:_e,linePos:se,anchorPosition:le,isFirstLine:q}}(x,h,k,_,u,g);u=B.stack,_=B.linePos,k=B.isFirstLine,P=B.anchorPosition}const C=Date.now();for(;!S;){if(m!==0&&Date.now()-C>m)return new f(u,!0);O()}return new f(u,!1);function O(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${_}: |${h.content.substr(_).replace(/\n$/,"\\n")}|`));const B=function(se,_e,pe,le,he,me){const ge=function(Ce,et,ht,A,R,$){const I=R.getRule(Ce),{ruleScanner:M,findOptions:G}=b(I,Ce,R.endRule,ht,A===$);let z=0;a.DebugFlags.InDebugMode&&(z=d.performanceNow());const D=M.findNextMatchSync(et,A,G);if(a.DebugFlags.InDebugMode){const W=d.performanceNow()-z;W>5&&console.warn(`Rule ${I.debugName} (${I.id}) matching took ${W} against '${et}'`),console.log(` scanning for (linePos: ${A}, anchorPosition: ${$})`),console.log(M.toString()),D&&console.log(`matched rule id: ${D.ruleId} from ${D.captureIndices[0].start} to ${D.captureIndices[0].end}`)}return D?{captureIndices:D.captureIndices,matchedRuleId:D.ruleId}:null}(se,_e,pe,le,he,me),be=se.getInjections();if(be.length===0)return ge;const F=function(Ce,et,ht,A,R,$,I){let M,G=Number.MAX_VALUE,z=null,D=0;const W=$.contentNameScopesList.getScopeNames();for(let U=0,E=Ce.length;U<E;U++){const H=Ce[U];if(!H.matcher(W))continue;const J=et.getRule(H.ruleId),{ruleScanner:Z,findOptions:Q}=b(J,et,null,A,R===I),ee=Z.findNextMatchSync(ht,R,Q);if(!ee)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${H.debugSelector}`),console.log(Z.toString()));const re=ee.captureIndices[0].start;if(!(re>=G)&&(G=re,z=ee.captureIndices,M=ee.ruleId,D=H.priority,G===R))break}return z?{priorityMatch:D===-1,captureIndices:z,matchedRuleId:M}:null}(be,se,_e,pe,le,he,me);if(!F)return ge;if(!ge)return F;const we=ge.captureIndices[0].start,ye=F.captureIndices[0].start;return ye<we||F.priorityMatch&&ye===we?F:ge}(x,h,k,_,u,P);if(!B)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),g.produce(u,w),void(S=!0);const j=B.captureIndices,K=B.matchedRuleId,q=!!(j&&j.length>0)&&j[0].end>_;if(K===l.endRuleId){const se=u.getRule(x);a.DebugFlags.InDebugMode&&console.log(" popping "+se.debugName+" - "+se.debugEndRegExp),g.produce(u,j[0].start),u=u.withContentNameScopesList(u.nameScopesList),L(x,h,k,u,g,se.endCaptures,j),g.produce(u,j[0].end);const _e=u;if(u=u.parent,P=_e.getAnchorPos(),!q&&_e.getEnterPos()===_)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),u=_e,g.produce(u,w),void(S=!0)}else{const se=x.getRule(K);g.produce(u,j[0].start);const _e=u,pe=se.getName(h.content,j),le=u.contentNameScopesList.pushAttributed(pe,x);if(u=u.push(K,_,P,j[0].end===w,null,le,le),se instanceof l.BeginEndRule){const he=se;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName+" - "+he.debugBeginRegExp),L(x,h,k,u,g,he.beginCaptures,j),g.produce(u,j[0].end),P=j[0].end;const me=he.getContentName(h.content,j),ge=le.pushAttributed(me,x);if(u=u.withContentNameScopesList(ge),he.endHasBackReferences&&(u=u.withEndRule(he.getEndWithResolvedBackReferences(h.content,j))),!q&&_e.hasSameRuleAs(u))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),u=u.pop(),g.produce(u,w),void(S=!0)}else if(se instanceof l.BeginWhileRule){const he=se;a.DebugFlags.InDebugMode&&console.log(" pushing "+he.debugName),L(x,h,k,u,g,he.beginCaptures,j),g.produce(u,j[0].end),P=j[0].end;const me=he.getContentName(h.content,j),ge=le.pushAttributed(me,x);if(u=u.withContentNameScopesList(ge),he.whileHasBackReferences&&(u=u.withEndRule(he.getWhileWithResolvedBackReferences(h.content,j))),!q&&_e.hasSameRuleAs(u))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),u=u.pop(),g.produce(u,w),void(S=!0)}else{const he=se;if(a.DebugFlags.InDebugMode&&console.log(" matched "+he.debugName+" - "+he.debugMatchRegExp),L(x,h,k,u,g,he.captures,j),g.produce(u,j[0].end),u=u.pop(),!q)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),u=u.safePop(),g.produce(u,w),void(S=!0)}}j[0].end>_&&(_=j[0].end,k=!1)}}function b(x,h,k,_,u){return a.UseOnigurumaFindOptions?{ruleScanner:x.compile(h,k),findOptions:T(_,u)}:{ruleScanner:x.compileAG(h,k,_,u),findOptions:0}}function y(x,h,k,_,u){return a.UseOnigurumaFindOptions?{ruleScanner:x.compileWhile(h,k),findOptions:T(_,u)}:{ruleScanner:x.compileWhileAG(h,k,_,u),findOptions:0}}function T(x,h){let k=0;return x||(k|=1),h||(k|=4),k}function L(x,h,k,_,u,g,v){if(g.length===0)return;const m=h.content,w=Math.min(g.length,v.length),S=[],P=v[0].end;for(let C=0;C<w;C++){const O=g[C];if(O===null)continue;const B=v[C];if(B.length===0)continue;if(B.start>P)break;for(;S.length>0&&S[S.length-1].endPos<=B.start;)u.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop();if(S.length>0?u.produceFromScopes(S[S.length-1].scopes,B.start):u.produce(_,B.start),O.retokenizeCapturedWithRuleId){const K=O.getName(m,v),q=_.contentNameScopesList.pushAttributed(K,x),se=O.getContentName(m,v),_e=q.pushAttributed(se,x),pe=_.push(O.retokenizeCapturedWithRuleId,B.start,-1,!1,null,q,_e),le=x.createOnigString(m.substring(0,B.end));p(x,le,k&&B.start===0,B.start,pe,u,!1,0),c.disposeOnigString(le);continue}const j=O.getName(m,v);if(j!==null){const K=(S.length>0?S[S.length-1].scopes:_.contentNameScopesList).pushAttributed(j,x);S.push(new N(K,B.end))}}for(;S.length>0;)u.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop()}o._tokenizeString=p;class N{constructor(h,k){this.scopes=h,this.endPos=k}}o.LocalStackElement=N},974:(r,o)=>{function i(d,f){throw new Error("Near offset "+d.pos+": "+f+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,f,p){let b=new a(d),y=new c,T=0,L=null,N=[],x=[];function h(){N.push(T),x.push(L)}function k(){T=N.pop(),L=x.pop()}function _(u){i(b,u)}for(;l(b,y);){if(T===0){if(L!==null&&_("too many constructs in root"),y.type===3){L={},p&&(L.$vscodeTextmateLocation=y.toLocation(f)),h(),T=1;continue}if(y.type===2){L=[],h(),T=4;continue}_("unexpected token in root")}if(T===2){if(y.type===5){k();continue}if(y.type===7){T=3;continue}_("expected , or }")}if(T===1||T===3){if(T===1&&y.type===5){k();continue}if(y.type===1){let u=y.value;if(l(b,y)&&y.type===6||_("expected colon"),l(b,y)||_("expected value"),T=2,y.type===1){L[u]=y.value;continue}if(y.type===8){L[u]=null;continue}if(y.type===9){L[u]=!0;continue}if(y.type===10){L[u]=!1;continue}if(y.type===11){L[u]=parseFloat(y.value);continue}if(y.type===2){let g=[];L[u]=g,h(),T=4,L=g;continue}if(y.type===3){let g={};p&&(g.$vscodeTextmateLocation=y.toLocation(f)),L[u]=g,h(),T=1,L=g;continue}}_("unexpected token in dict")}if(T===5){if(y.type===4){k();continue}if(y.type===7){T=6;continue}_("expected , or ]")}if(T===4||T===6){if(T===4&&y.type===4){k();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 u=[];L.push(u),h(),T=4,L=u;continue}if(y.type===3){let u={};p&&(u.$vscodeTextmateLocation=y.toLocation(f)),L.push(u),h(),T=1,L=u;continue}_("unexpected token in array")}_("unknown state")}return x.length!==0&&_("unclosed constructs"),L};class a{constructor(f){this.source=f,this.pos=0,this.len=f.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(f){return{filename:f,line:this.line,char:this.char}}}function l(d,f){f.value=null,f.type=0,f.offset=-1,f.len=-1,f.line=-1,f.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(f.offset=y,f.line=L,f.char=N,p===34){for(f.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++}f.value=b.substring(f.offset+1,y-1).replace(/\\u([0-9A-Fa-f]{4})/g,(x,h)=>String.fromCodePoint(parseInt(h,16))).replace(/\\(.)/g,(x,h)=>{switch(h){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
19
+ `;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(p===91)f.type=2,y++,N++;else if(p===123)f.type=3,y++,N++;else if(p===93)f.type=4,y++,N++;else if(p===125)f.type=5,y++,N++;else if(p===58)f.type=6,y++,N++;else if(p===44)f.type=7,y++,N++;else if(p===110){if(f.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(f.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(f.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(f.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 f.len=y-f.offset,f.value===null&&(f.value=b.substr(f.offset,f.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),f=i(652),p=i(583),b=i(965);c(i(44),o),o.Registry=class{constructor(y){this._options=y,this._syncRegistry=new f.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,x){const h=new b.ScopeDependencyProcessor(this._syncRegistry,y);for(;h.Q.length>0;)await Promise.all(h.Q.map(k=>this._loadSingleGrammar(k.scopeName))),h.processQueue();return this._grammarForScopeName(y,T,L,N,x)}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,x=null){return this._syncRegistry.grammarForScopeName(y,T,L,N,x)}},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 f=d.next();for(;f!==null;){let y=0;if(f.length===2&&f.charAt(1)===":"){switch(f.charAt(0)){case"R":y=1;break;case"L":y=-1;break;default:console.log(`Unknown priority ${f} in scope selector`)}f=d.next()}let T=b();if(l.push({matcher:T,priority:y}),f!==",")break;f=d.next()}return l;function p(){if(f==="-"){f=d.next();const y=p();return T=>!!y&&!y(T)}if(f==="("){f=d.next();const y=function(){const T=[];let L=b();for(;L&&(T.push(L),f==="|"||f===",");){do f=d.next();while(f==="|"||f===",");L=b()}return N=>T.some(x=>x(N))}();return f===")"&&(f=d.next()),y}if(i(f)){const y=[];do y.push(f),f=d.next();while(i(f));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,f=null){return f!==null&&/\.json$/.test(f)?(p=d,b=f,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,f);var p,b}},69:(r,o)=>{function i(a,c,l){const d=a.length;let f=0,p=1,b=0;function y(F){if(l===null)f+=F;else for(;F>0;)a.charCodeAt(f)===10?(f++,p++,b=0):(f++,b++),F--}function T(F){l===null?f=F:y(F-f)}function L(){for(;f<d;){let F=a.charCodeAt(f);if(F!==32&&F!==9&&F!==13&&F!==10)break;y(1)}}function N(F){return a.substr(f,F.length)===F&&(y(F.length),!0)}function x(F){let we=a.indexOf(F,f);T(we!==-1?we+F.length:d)}function h(F){let we=a.indexOf(F,f);if(we!==-1){let ye=a.substring(f,we);return T(we+F.length),ye}{let ye=a.substr(f);return T(d),ye}}d>0&&a.charCodeAt(0)===65279&&(f=1);let k=0,_=null,u=[],g=[],v=null;function m(F,we){u.push(k),g.push(_),k=F,_=we}function w(){if(u.length===0)return S("illegal state stack");k=u.pop(),_=g.pop()}function S(F){throw new Error("Near offset "+f+": "+F+" ~~~"+a.substr(f,50)+"~~~")}const P=function(){if(v===null)return S("missing <key>");let F={};l!==null&&(F[l]={filename:c,line:p,char:b}),_[v]=F,v=null,m(1,F)},C=function(){if(v===null)return S("missing <key>");let F=[];_[v]=F,v=null,m(2,F)},O=function(){let F={};l!==null&&(F[l]={filename:c,line:p,char:b}),_.push(F),m(1,F)},B=function(){let F=[];_.push(F),m(2,F)};function j(){if(k!==1)return S("unexpected </dict>");w()}function K(){return k===1||k!==2?S("unexpected </array>"):void w()}function q(F){if(k===1){if(v===null)return S("missing <key>");_[v]=F,v=null}else k===2?_.push(F):_=F}function se(F){if(isNaN(F))return S("cannot parse float");if(k===1){if(v===null)return S("missing <key>");_[v]=F,v=null}else k===2?_.push(F):_=F}function _e(F){if(isNaN(F))return S("cannot parse integer");if(k===1){if(v===null)return S("missing <key>");_[v]=F,v=null}else k===2?_.push(F):_=F}function pe(F){if(k===1){if(v===null)return S("missing <key>");_[v]=F,v=null}else k===2?_.push(F):_=F}function le(F){if(k===1){if(v===null)return S("missing <key>");_[v]=F,v=null}else k===2?_.push(F):_=F}function he(F){if(k===1){if(v===null)return S("missing <key>");_[v]=F,v=null}else k===2?_.push(F):_=F}function me(){let F=h(">"),we=!1;return F.charCodeAt(F.length-1)===47&&(we=!0,F=F.substring(0,F.length-1)),{name:F.trim(),isClosed:we}}function ge(F){if(F.isClosed)return"";let we=h("</");return x(">"),we.replace(/&#([0-9]+);/g,function(ye,Ce){return String.fromCodePoint(parseInt(Ce,10))}).replace(/&#x([0-9a-f]+);/g,function(ye,Ce){return String.fromCodePoint(parseInt(Ce,16))}).replace(/&amp;|&lt;|&gt;|&quot;|&apos;/g,function(ye){switch(ye){case"&amp;":return"&";case"&lt;":return"<";case"&gt;":return">";case"&quot;":return'"';case"&apos;":return"'"}return ye})}for(;f<d&&(L(),!(f>=d));){const F=a.charCodeAt(f);if(y(1),F!==60)return S("expected <");if(f>=d)return S("unexpected end of input");const we=a.charCodeAt(f);if(we===63){y(1),x("?>");continue}if(we===33){if(y(1),N("--")){x("-->");continue}x(">");continue}if(we===47){if(y(1),L(),N("plist")){x(">");continue}if(N("dict")){x(">"),j();continue}if(N("array")){x(">"),K();continue}return S("unexpected closed tag")}let ye=me();switch(ye.name){case"dict":k===1?P():k===2?O():(_={},l!==null&&(_[l]={filename:c,line:p,char:b}),m(1,_)),ye.isClosed&&j();continue;case"array":k===1?C():k===2?B():(_=[],m(2,_)),ye.isClosed&&K();continue;case"key":be=ge(ye),k!==1?S("unexpected <key>"):v!==null?S("too many <key>"):v=be;continue;case"string":q(ge(ye));continue;case"real":se(parseFloat(ge(ye)));continue;case"integer":_e(parseInt(ge(ye),10));continue;case"date":pe(new Date(ge(ye)));continue;case"data":le(ge(ye));continue;case"true":ge(ye),he(!0);continue;case"false":ge(ye),he(!1);continue}if(!/^plist/.test(ye.name))return S("unexpected opened tag "+ye.name)}var be;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,f,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,f,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 f{constructor(u,g,v,m){this.$location=u,this.id=g,this._name=v||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=m||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const u=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${u}`}getName(u,g){return this._nameIsCapturing&&this._name!==null&&u!==null&&g!==null?a.RegexSource.replaceCaptures(this._name,u,g):this._name}getContentName(u,g){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,u,g):this._contentName}}o.Rule=f;class p extends f{constructor(u,g,v,m,w){super(u,g,v,m),this.retokenizeCapturedWithRuleId=w}dispose(){}collectPatterns(u,g){throw new Error("Not supported!")}compile(u,g){throw new Error("Not supported!")}compileAG(u,g,v,m){throw new Error("Not supported!")}}o.CaptureRule=p;class b extends f{constructor(u,g,v,m,w){super(u,g,v,null),this._match=new x(m,this.id),this.captures=w,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(u,g){g.push(this._match)}compile(u,g){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,g,v,m){return this._getCachedCompiledPatterns(u).compileAG(u,v,m)}_getCachedCompiledPatterns(u){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new h,this.collectPatterns(u,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=b;class y extends f{constructor(u,g,v,m,w){super(u,g,v,m),this.patterns=w.patterns,this.hasMissingPatterns=w.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(u,g){for(const v of this.patterns)u.getRule(v).collectPatterns(u,g)}compile(u,g){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,g,v,m){return this._getCachedCompiledPatterns(u).compileAG(u,v,m)}_getCachedCompiledPatterns(u){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new h,this.collectPatterns(u,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=y;class T extends f{constructor(u,g,v,m,w,S,P,C,O,B){super(u,g,v,m),this._begin=new x(w,this.id),this.beginCaptures=S,this._end=new x(P||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=C,this.applyEndPatternLast=O||!1,this.patterns=B.patterns,this.hasMissingPatterns=B.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(u,g){return this._end.resolveBackReferences(u,g)}collectPatterns(u,g){g.push(this._begin)}compile(u,g){return this._getCachedCompiledPatterns(u,g).compile(u)}compileAG(u,g,v,m){return this._getCachedCompiledPatterns(u,g).compileAG(u,v,m)}_getCachedCompiledPatterns(u,g){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new h;for(const v of this.patterns)u.getRule(v).collectPatterns(u,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 f{constructor(u,g,v,m,w,S,P,C,O){super(u,g,v,m),this._begin=new x(w,this.id),this.beginCaptures=S,this.whileCaptures=C,this._while=new x(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(u,g){return this._while.resolveBackReferences(u,g)}collectPatterns(u,g){g.push(this._begin)}compile(u,g){return this._getCachedCompiledPatterns(u).compile(u)}compileAG(u,g,v,m){return this._getCachedCompiledPatterns(u).compileAG(u,v,m)}_getCachedCompiledPatterns(u){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new h;for(const g of this.patterns)u.getRule(g).collectPatterns(u,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(u,g){return this._getCachedCompiledWhilePatterns(u,g).compile(u)}compileWhileAG(u,g,v,m){return this._getCachedCompiledWhilePatterns(u,g).compileAG(u,v,m)}_getCachedCompiledWhilePatterns(u,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(u,g,v,m,w){return u.registerRule(S=>new p(g,S,v,m,w))}static getCompiledRuleId(u,g,v){return u.id||g.registerRule(m=>{if(u.id=m,u.match)return new b(u.$vscodeTextmateLocation,u.id,u.name,u.match,N._compileCaptures(u.captures,g,v));if(u.begin===void 0){u.repository&&(v=a.mergeObjects({},v,u.repository));let w=u.patterns;return w===void 0&&u.include&&(w=[{include:u.include}]),new y(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,N._compilePatterns(w,g,v))}return u.while?new L(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,u.begin,N._compileCaptures(u.beginCaptures||u.captures,g,v),u.while,N._compileCaptures(u.whileCaptures||u.captures,g,v),N._compilePatterns(u.patterns,g,v)):new T(u.$vscodeTextmateLocation,u.id,u.name,u.contentName,u.begin,N._compileCaptures(u.beginCaptures||u.captures,g,v),u.end,N._compileCaptures(u.endCaptures||u.captures,g,v),u.applyEndPatternLast,N._compilePatterns(u.patterns,g,v))}),u.id}static _compileCaptures(u,g,v){let m=[];if(u){let w=0;for(const S in u){if(S==="$vscodeTextmateLocation")continue;const P=parseInt(S,10);P>w&&(w=P)}for(let S=0;S<=w;S++)m[S]=null;for(const S in u){if(S==="$vscodeTextmateLocation")continue;const P=parseInt(S,10);let C=0;u[S].patterns&&(C=N.getCompiledRuleId(u[S],g,v)),m[P]=N.createCaptureRule(g,u[S].$vscodeTextmateLocation,u[S].name,u[S].contentName,C)}}return m}static _compilePatterns(u,g,v){let m=[];if(u)for(let w=0,S=u.length;w<S;w++){const P=u[w];let C=-1;if(P.include){const O=c.parseInclude(P.include);switch(O.kind){case 0:case 1:C=N.getCompiledRuleId(v[P.include],g,v);break;case 2:let B=v[O.ruleName];B&&(C=N.getCompiledRuleId(B,g,v));break;case 3:case 4:const j=O.scopeName,K=O.kind===4?O.ruleName:null,q=g.getExternalGrammar(j,v);if(q)if(K){let se=q.repository[K];se&&(C=N.getCompiledRuleId(se,g,q.repository))}else C=N.getCompiledRuleId(q.repository.$self,g,q.repository)}}else C=N.getCompiledRuleId(P,g,v);if(C!==-1){const O=g.getRule(C);let B=!1;if((O instanceof y||O instanceof T||O instanceof L)&&O.hasMissingPatterns&&O.patterns.length===0&&(B=!0),B)continue;m.push(C)}}return{patterns:m,hasMissingPatterns:(u?u.length:0)!==m.length}}}o.RuleFactory=N;class x{constructor(u,g){if(u){const v=u.length;let m=0,w=[],S=!1;for(let P=0;P<v;P++)if(u.charAt(P)==="\\"&&P+1<v){const C=u.charAt(P+1);C==="z"?(w.push(u.substring(m,P)),w.push("$(?!\\n)(?<!\\n)"),m=P+2):C!=="A"&&C!=="G"||(S=!0),P++}this.hasAnchor=S,m===0?this.source=u:(w.push(u.substring(m,v)),this.source=w.join(""))}else this.hasAnchor=!1,this.source=u;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=g,this.hasBackReferences=l.test(this.source)}clone(){return new x(this.source,this.ruleId)}setSource(u){this.source!==u&&(this.source=u,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(u,g){let v=g.map(m=>u.substring(m.start,m.end));return d.lastIndex=0,this.source.replace(d,(m,w)=>a.escapeRegExpCharacters(v[parseInt(w,10)]||""))}_buildAnchorCache(){let u,g,v,m,w=[],S=[],P=[],C=[];for(u=0,g=this.source.length;u<g;u++)v=this.source.charAt(u),w[u]=v,S[u]=v,P[u]=v,C[u]=v,v==="\\"&&u+1<g&&(m=this.source.charAt(u+1),m==="A"?(w[u+1]="￿",S[u+1]="￿",P[u+1]="A",C[u+1]="A"):m==="G"?(w[u+1]="￿",S[u+1]="G",P[u+1]="￿",C[u+1]="G"):(w[u+1]=m,S[u+1]=m,P[u+1]=m,C[u+1]=m),u++);return{A0_G0:w.join(""),A0_G1:S.join(""),A1_G0:P.join(""),A1_G1:C.join("")}}resolveAnchors(u,g){return this.hasAnchor&&this._anchorCache?u?g?this._anchorCache.A1_G1:this._anchorCache.A1_G0:g?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=x;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(u){this._items.push(u),this._hasAnchors=this._hasAnchors||u.hasAnchor}unshift(u){this._items.unshift(u),this._hasAnchors=this._hasAnchors||u.hasAnchor}length(){return this._items.length}setSource(u,g){this._items[u].source!==g&&(this._disposeCaches(),this._items[u].setSource(g))}compile(u){if(!this._cached){let g=this._items.map(v=>v.source);this._cached=new k(u,g,this._items.map(v=>v.ruleId))}return this._cached}compileAG(u,g,v){return this._hasAnchors?g?v?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(u,g,v)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(u,g,v)),this._anchorCache.A1_G0):v?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(u,g,v)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(u,g,v)),this._anchorCache.A0_G0):this.compile(u)}_resolveAnchors(u,g,v){let m=this._items.map(w=>w.resolveAnchors(g,v));return new k(u,m,this._items.map(w=>w.ruleId))}}o.RegExpSourceList=h;class k{constructor(u,g,v){this.regExps=g,this.rules=v,this.scanner=u.createOnigScanner(g)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const u=[];for(let g=0,v=this.rules.length;g<v;g++)u.push(" - "+this.rules[g]+": "+this.regExps[g]);return u.join(`
20
+ `)}findNextMatchSync(u,g,v){const m=this.scanner.findNextMatchSync(u,g,v);return m?{ruleId:this.rules[m.index],captureIndices:m.captureIndices}:null}}o.CompiledRule=k},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(x,h,k){this._colorMap=x,this._defaults=h,this._root=k,this._cachedMatchRoot=new a.CachedFn(_=>this._root.match(_))}static createFromRawTheme(x,h){return this.createFromParsedTheme(p(x),h)}static createFromParsedTheme(x,h){return function(k,_){k.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 u=0,g="#000000",v="#ffffff";for(;k.length>=1&&k[0].scope==="";){let P=k.shift();P.fontStyle!==-1&&(u=P.fontStyle),P.foreground!==null&&(g=P.foreground),P.background!==null&&(v=P.background)}let m=new y(_),w=new f(u,m.getId(g),m.getId(v)),S=new L(new T(0,null,-1,0,0),[]);for(let P=0,C=k.length;P<C;P++){let O=k[P];S.insert(0,O.scope,O.parentScopes,O.fontStyle,m.getId(O.foreground),m.getId(O.background))}return new c(m,w,S)}(x,h)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(x){if(x===null)return this._defaults;const h=x.scopeName,k=this._cachedMatchRoot.get(h).find(_=>function(u,g){if(g===null)return!0;let v=0,m=g[v];for(;u;){if(d(u.scopeName,m)){if(v++,v===g.length)return!0;m=g[v]}u=u.parent}return!1}(x.parent,_.parentScopes));return k?new f(k.fontStyle,k.foreground,k.background):null}}o.Theme=c;class l{constructor(x,h){this.parent=x,this.scopeName=h}static from(...x){let h=null;for(let k=0;k<x.length;k++)h=new l(h,x[k]);return h}push(x){return new l(this,x)}getSegments(){let x=this;const h=[];for(;x;)h.push(x.scopeName),x=x.parent;return h.reverse(),h}toString(){return this.getSegments().join(" ")}}function d(N,x){return x===N||N.startsWith(x)&&N[x.length]==="."}o.ScopeStack=l;class f{constructor(x,h,k){this.fontStyle=x,this.foregroundId=h,this.backgroundId=k}}function p(N){if(!N)return[];if(!N.settings||!Array.isArray(N.settings))return[];let x=N.settings,h=[],k=0;for(let _=0,u=x.length;_<u;_++){let g,v=x[_];if(!v.settings)continue;if(typeof v.scope=="string"){let P=v.scope;P=P.replace(/^[,]+/,""),P=P.replace(/[,]+$/,""),g=P.split(",")}else g=Array.isArray(v.scope)?v.scope:[""];let m=-1;if(typeof v.settings.fontStyle=="string"){m=0;let P=v.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 w=null;typeof v.settings.foreground=="string"&&a.isValidHexColor(v.settings.foreground)&&(w=v.settings.foreground);let S=null;typeof v.settings.background=="string"&&a.isValidHexColor(v.settings.background)&&(S=v.settings.background);for(let P=0,C=g.length;P<C;P++){let O=g[P].trim().split(" "),B=O[O.length-1],j=null;O.length>1&&(j=O.slice(0,O.length-1),j.reverse()),h[k++]=new b(B,j,_,m,w,S)}}return h}o.StyleAttributes=f,o.parseTheme=p;class b{constructor(x,h,k,_,u,g){this.scope=x,this.parentScopes=h,this.index=k,this.fontStyle=_,this.foreground=u,this.background=g}}o.ParsedThemeRule=b,o.fontStyleToString=function(N){if(N===-1)return"not set";let x="";return 1&N&&(x+="italic "),2&N&&(x+="bold "),4&N&&(x+="underline "),8&N&&(x+="strikethrough "),x===""&&(x="none"),x.trim()};class y{constructor(x){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(x)){this._isFrozen=!0;for(let h=0,k=x.length;h<k;h++)this._color2id[x[h]]=h,this._id2color[h]=x[h]}else this._isFrozen=!1}getId(x){if(x===null)return 0;x=x.toUpperCase();let h=this._color2id[x];if(h)return h;if(this._isFrozen)throw new Error(`Missing color in color map - ${x}`);return h=++this._lastColorId,this._color2id[x]=h,this._id2color[h]=x,h}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=y;class T{constructor(x,h,k,_,u){this.scopeDepth=x,this.parentScopes=h,this.fontStyle=k,this.foreground=_,this.background=u}clone(){return new T(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(x){let h=[];for(let k=0,_=x.length;k<_;k++)h[k]=x[k].clone();return h}acceptOverwrite(x,h,k,_){this.scopeDepth>x?console.log("how did this happen?"):this.scopeDepth=x,h!==-1&&(this.fontStyle=h),k!==0&&(this.foreground=k),_!==0&&(this.background=_)}}o.ThemeTrieElementRule=T;class L{constructor(x,h=[],k={}){this._mainRule=x,this._children=k,this._rulesWithParentScopes=h}static _sortBySpecificity(x){return x.length===1||x.sort(this._cmpBySpecificity),x}static _cmpBySpecificity(x,h){if(x.scopeDepth===h.scopeDepth){const k=x.parentScopes,_=h.parentScopes;let u=k===null?0:k.length,g=_===null?0:_.length;if(u===g)for(let v=0;v<u;v++){const m=k[v].length,w=_[v].length;if(m!==w)return w-m}return g-u}return h.scopeDepth-x.scopeDepth}match(x){if(x==="")return L._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let h,k,_=x.indexOf(".");return _===-1?(h=x,k=""):(h=x.substring(0,_),k=x.substring(_+1)),this._children.hasOwnProperty(h)?this._children[h].match(k):L._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(x,h,k,_,u,g){if(h==="")return void this._doInsertHere(x,k,_,u,g);let v,m,w,S=h.indexOf(".");S===-1?(v=h,m=""):(v=h.substring(0,S),m=h.substring(S+1)),this._children.hasOwnProperty(v)?w=this._children[v]:(w=new L(this._mainRule.clone(),T.cloneArr(this._rulesWithParentScopes)),this._children[v]=w),w.insert(x+1,m,k,_,u,g)}_doInsertHere(x,h,k,_,u){if(h!==null){for(let g=0,v=this._rulesWithParentScopes.length;g<v;g++){let m=this._rulesWithParentScopes[g];if(a.strArrCmp(m.parentScopes,h)===0)return void m.acceptOverwrite(x,k,_,u)}k===-1&&(k=this._mainRule.fontStyle),_===0&&(_=this._mainRule.foreground),u===0&&(u=this._mainRule.background),this._rulesWithParentScopes.push(new T(x,h,k,_,u))}else this._mainRule.acceptOverwrite(x,k,_,u)}}o.ThemeTrieElement=L},878:(r,o)=>{function i(l){return Array.isArray(l)?function(d){let f=[];for(let p=0,b=d.length;p<b;p++)f[p]=i(d[p]);return f}(l):typeof l=="object"?function(d){let f={};for(let p in d)f[p]=i(d[p]);return f}(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(f=>{for(let p in f)l[p]=f[p]}),l},o.basename=function l(d){const f=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return f===0?d:~f==d.length-1?l(d.substring(0,d.length-1)):d.substr(1+~f)};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,f){return l.replace(a,(p,b,y,T)=>{let L=f[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 f=l.length,p=d.length;if(f===p){for(let b=0;b<f;b++){let y=c(l[b],d[b]);if(y!==0)return y}return 0}return f-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 Ct=(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))(Ct||{});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),f=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&&(f=i),(a<<0|c<<8|l<<11|p<<10|d<<15|f<<24)>>>0}}function Yg(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function Zg(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(Yg).map(Zg).join("/")}function ey(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 ty(e,t=!1){const n=e.length;let s=0,r="",o=0,i=16,a=0,c=0,l=0,d=0,f=0;function p(h,k){let _=0,u=0;for(;_<h||!k;){let g=e.charCodeAt(s);if(g>=48&&g<=57)u=u*16+g-48;else if(g>=65&&g<=70)u=u*16+g-65+10;else if(g>=97&&g<=102)u=u*16+g-97+10;else break;s++,_++}return _<h&&(u=-1),u}function b(h){s=h,r="",o=0,i=16,f=0}function y(){let h=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&on(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&on(e.charCodeAt(s)))for(s++;s<e.length&&on(e.charCodeAt(s));)s++;else return f=3,e.substring(h,s);let k=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&&on(e.charCodeAt(s))){for(s++;s<e.length&&on(e.charCodeAt(s));)s++;k=s}else f=3;return e.substring(h,k)}function T(){let h="",k=s;for(;;){if(s>=n){h+=e.substring(k,s),f=2;break}const _=e.charCodeAt(s);if(_===34){h+=e.substring(k,s),s++;break}if(_===92){if(h+=e.substring(k,s),s++,s>=n){f=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+=`
21
+ `;break;case 114:h+="\r";break;case 116:h+=" ";break;case 117:const g=p(4,!0);g>=0?h+=String.fromCharCode(g):f=4;break;default:f=5}k=s;continue}if(_>=0&&_<=31)if(Nn(_)){h+=e.substring(k,s),f=2;break}else f=6;s++}return h}function L(){if(r="",f=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(Nn(h))return s++,r+=String.fromCharCode(h),h===13&&e.charCodeAt(s)===10&&(s++,r+=`
22
+ `),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 k=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!Nn(e.charCodeAt(s));)s++;return r=e.substring(k,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const _=n-1;let u=!1;for(;s<_;){const g=e.charCodeAt(s);if(g===42&&e.charCodeAt(s+1)===47){s+=2,u=!0;break}s++,Nn(g)&&(g===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return u||(s++,f=1),r=e.substring(k,s),i=13}return r+=String.fromCharCode(h),s++,i=16;case 45:if(r+=String.fromCharCode(h),s++,s===n||!on(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)||Nn(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 x(){let h;do h=L();while(h>=12&&h<=15);return h}return{setPosition:b,getPosition:()=>s,scan:t?x:L,getToken:()=>i,getTokenValue:()=>r,getTokenOffset:()=>o,getTokenLength:()=>s-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>f}}function Po(e){return e===32||e===9}function Nn(e){return e===10||e===13}function on(e){return e>=48&&e<=57}var ua;(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"})(ua||(ua={}));var Ds;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Ds||(Ds={}));function ny(e,t=[],n=Ds.DEFAULT){let s=null,r=[];const o=[];function i(c){Array.isArray(r)?r.push(c):s!==null&&(r[s]=c)}return sy(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 sy(e,t,n=Ds.DEFAULT){const s=ty(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),f=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),x=n&&n.disallowComments,h=n&&n.allowTrailingComma;function k(){for(;;){const P=s.scan();switch(s.getTokenError()){case 4:_(14);break;case 5:_(15);break;case 3:_(13);break;case 1:x||_(11);break;case 2:_(12);break;case 6:_(16);break}switch(P){case 12:case 13:x?_(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 B=s.getToken();for(;B!==17;){if(C.indexOf(B)!==-1){k();break}else if(O.indexOf(B)!==-1)break;B=k()}}}function u(P){const C=s.getTokenValue();return P?y(C):(d(C),r.push(C)),k(),!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 k(),!0}function v(){return s.getToken()!==10?(_(3,[],[2,5]),!1):(u(!1),s.getToken()===6?(T(":"),k(),S()||_(4,[],[2,5])):_(5,[],[2,5]),r.pop(),!0)}function m(){l(),k();let P=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(P||_(4,[],[]),T(","),k(),s.getToken()===2&&h)break}else P&&_(6,[],[]);v()||_(4,[],[2,5]),P=!0}return f(),s.getToken()!==2?_(7,[2],[]):k(),!0}function w(){p(),k();let P=!0,C=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(C||_(4,[],[]),T(","),k(),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],[]):k(),!0}function S(){switch(s.getToken()){case 3:return w();case 1:return m();case 10:return u(!0);default:return g()}}return k(),s.getToken()===17?n.allowEmptyContent?!0:(_(4,[],[]),!1):S()?(s.getToken()!==17&&_(9,[],[]),!0):(_(4,[],[]),!1)}var fa;(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"})(fa||(fa={}));var da;(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"})(da||(da={}));const oy=ny;var pa;(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"})(pa||(pa={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Kc="";const ry="dist/";function iy(e){Kc=e.endsWith("/")?e:e+"/"}let Ao=null;async function ay(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 ly(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 ly(e);let s;try{s=JSON.parse(n)}catch{if(s=oy(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 cy(e){return await Xc(e)}function uy(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,...fy(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),uy(n),n}const ha={light:"#333333",dark:"#bbbbbb"},ma={light:"#fffffe",dark:"#1e1e1e"};function fy(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"?ha.light:ha.dark),n||(n=e.type==="light"?ma.light:ma.dark),{fg:t,bg:n}}class dy{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 cy(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 py(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 f=o[l];if(f===""){a=[],c.push([]);continue}let p,b,y;r.includeExplanation&&(p=s.tokenizeLine(f,i),b=p.tokens,y=0);let T=s.tokenizeLine2(f,i),L=T.tokens.length/2;for(let N=0;N<L;N++){let x=T.tokens[2*N],h=N+1<L?T.tokens[2*N+2]:f.length;if(x===h)continue;let k=T.tokens[2*N+1],_=Ue.getForeground(k),u=t[_],g=Ue.getFontStyle(k),v=[];if(r.includeExplanation){let m=0;for(;x+m<h;){let w=b[y],S=f.substring(w.startIndex,w.endIndex);m+=S.length,v.push({content:S,scopes:hy(e,w.scopes)}),y++}}a.push({content:f.substring(x,h),color:u,fontStyle:g,explanation:v})}c.push(a),a=[],i=T.ruleStack}return c}function hy(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:gy(e,i,o)}}return n}function ga(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function my(e,t,n,s){if(!ga(e,n))return!1;let r=t.length-1,o=s.length-1;for(;r>=0&&o>=0;)ga(t[r],s[o])&&r--,o--;return r===-1}function gy(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);my(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 yy(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 ya(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 _y(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=ya(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=ya(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 by(){let e=null,t=null,n=new Set;return{parse(s){const r=[];let o=0;do{const i=yy(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=_y(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 vy={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 wy(e=vy){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 f=0;f<6;f++)s.push(n([a[l],a[d],a[f]]));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 xy(e,t){const n=t.split(/\r?\n/),s=wy(Object.fromEntries(_t.map(o=>[o,e.colors[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),r=by();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=ky(a));let c=Ct.None;return i.decorations.has("bold")&&(c|=Ct.Bold),i.decorations.has("italic")&&(c|=Ct.Italic),i.decorations.has("underline")&&(c|=Ct.Underline),{content:i.value,color:a,fontStyle:c}}))}function ky(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 Sy={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 _a(e,t={}){const n=t.bg||"#fff",s=ey(t.lineOptions??[],i=>i.line),r=t.elements||{};function o(i="",a={},c){const l=r[i]||Sy[i];return l?(c=c.filter(Boolean),l({...a,children:i==="code"?c.join(`
23
+ `):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=Ly(l).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((f,p)=>{const b=[`color: ${f.color||t.fg}`];return f.fontStyle&Ct.Italic&&b.push("font-style: italic"),f.fontStyle&Ct.Bold&&b.push("font-weight: bold"),f.fontStyle&Ct.Underline&&b.push("text-decoration: underline"),o("token",{style:b.join("; "),tokens:i,token:f,index:p},[Ty(f.content)])}))}))])}const Ny={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ty(e){return e.replace(/[&<>"']/g,t=>Ny[t])}function Ly(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 Py 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 Ay(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+"/":ry;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 Ry(){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 Cy(e){var v,m;const{_languages:t,_themes:n,_wasmPath:s}=Ay(e),r=new dy(ay(s),"vscode-oniguruma"),o=new Py(r);(v=e.paths)!=null&&v.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=Ry();function d(w){l=w}function f(w,S){w.bg=l[w.bg]||w.bg,w.fg=l[w.fg]||w.fg,Object.entries(w.colors).forEach(([P,C])=>{w.colors[P]=l[C]||C}),S.forEach((P,C)=>{S[C]=l[P]||P})}function p(w){const S=w?o.getTheme(w):a;if(!S)throw Error(`No theme registration for ${w}`);(!c||c.name!==S.name)&&(o.setTheme(S),c=S);const P=o.getColorMap();return S.type==="css"&&f(S,P),{_theme:S,_colorMap:P}}function b(w){const S=o.getGrammar(w);if(!S)throw Error(`No language registration for ${w}`);return{_grammar:S}}function y(w,S="text",P,C={includeExplanation:!0}){if(Ey(S))return[...w.split(/\r\n|\r|\n/).map(q=>[{content:q}])];const{_grammar:O}=b(S),{_theme:B,_colorMap:j}=p(P);return py(B,j,w,O,C)}function T(w,S){const{_theme:P}=p(S);return xy(P,w)}function L(w,S="text",P){let C;typeof S=="object"?C=S:C={lang:S,theme:P};const O=y(w,C.lang,C.theme,{includeExplanation:!1}),{_theme:B}=p(C.theme);return _a(O,{fg:B.fg,bg:B.bg,lineOptions:C==null?void 0:C.lineOptions,themeName:B.name})}function N(w,S){const P=T(w,S==null?void 0:S.theme),{_theme:C}=p(S==null?void 0:S.theme);return _a(P,{fg:C.fg,bg:C.bg,lineOptions:S==null?void 0:S.lineOptions,themeName:C.name})}async function x(w){await o.loadTheme(w)}async function h(w){const S=Zc(w);r.addLanguage(S),await o.loadLanguage(S)}function k(){return o.getLoadedThemes()}function _(){return o.getLoadedLanguages()}function u(w){const{_theme:S}=p(w);return S.bg}function g(w){const{_theme:S}=p(w);return S.fg}return{codeToThemedTokens:y,codeToHtml:L,ansiToThemedTokens:T,ansiToHtml:N,getTheme:w=>p(w)._theme,loadTheme:x,loadLanguage:h,getBackgroundColor:u,getForegroundColor:g,getLoadedThemes:k,getLoadedLanguages:_,setColorReplacements:d}}function Ey(e){return!e||["plaintext","txt","text"].includes(e)}const $y="0.14.0";iy(`https://cdn.jsdelivr.net/npm/shiki-es@${$y}/dist/assets/`);let jy;const Tn=[];function Oy(e){if(Tn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Tn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Tn.forEach(n=>n(t))},get(){return jy.value},configurable:!0}),()=>{Tn.splice(Tn.indexOf(e),1)}}const Fe=Te(null);async function eu(){ur.value&&(Fe.value=await ur.value("/__sitemap__/debug.json"))}const ur=Te(),tu=Te(),nu=Te();Oy(async e=>{ur.value=e.host.app.$fetch,il(()=>{nu.value=e.host.app.colorMode.value}),tu.value=e.devtools,eu()});const su=Te();function Iy(){return Cy({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 Ke(()=>{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 My=["innerHTML"],ru=Ve({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Ke(()=>{const s=ou(t.code,t.lang);return t.transformRendered?t.transformRendered(s.value||""):s.value});return(s,r)=>(X(),oe("pre",{class:Ae(["n-code-block",s.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,My))}}),By={flex:"~ gap-3","items-center":""},Hy=Ve({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(X(),oe("div",By,[t.icon?(X(),oe("div",{key:0,class:Ae(t.icon)},null,2)):Oe("",!0),Ge(t.$slots,"default",{},()=>[V("div",null,Me(t.text),1)])]))}});function Fy(e){return Ca()?(Nu(e),!0):!1}function zr(e){return typeof e=="function"?e():ie(e)}const Dy=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Uy=e=>typeof e<"u",Gy=Object.prototype.toString,Wy=e=>Gy.call(e)==="[object Object]",Vy=()=>{};function qy(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 zy(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:wr(t),pause:n,resume:s,eventFilter:r}}function Ky(e){return e||wn()}function Jy(e,t,n={}){const{eventFilter:s=iu,...r}=n;return at(e,qy(s,t),r)}function Xy(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:o,pause:i,resume:a,isActive:c}=zy(s);return{stop:Jy(e,t,{...r,eventFilter:o}),pause:i,resume:a,isActive:c}}function Qy(e,t=!0,n){Ky()?Qs(e,n):t?e():tn(e)}function Yy(e){var t;const n=zr(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Us=Dy?window:void 0;function ba(...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 Vy;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,f,p,b)=>(d.addEventListener(f,p,b),()=>d.removeEventListener(f,p,b)),c=at(()=>[Yy(t),zr(r)],([d,f])=>{if(i(),!d)return;const p=Wy(f)?{...f}:f;o.push(...n.flatMap(b=>s.map(y=>a(d,b,y,p))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return Fy(l),l}function Zy(e){return JSON.parse(JSON.stringify(e))}const us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fs="__vueuse_ssr_handlers__",e_=t_();function t_(){return fs in us||(us[fs]=us[fs]||{}),us[fs]}function n_(e,t){return e_[e]||t}function s_(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 o_={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()}},va="vueuse-storage";function r_(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:f=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=n_("getDefaultStorage",()=>{var m;return(m=Us)==null?void 0:m.localStorage})()}catch(m){b(m)}if(!n)return T;const L=zr(t),N=s_(L),x=(r=s.serializer)!=null?r:o_[N],{pause:h,resume:k}=Xy(T,()=>_(T.value),{flush:o,deep:i,eventFilter:p});return f&&a&&Qy(()=>{ba(f,"storage",v),ba(f,va,g),y&&v()}),y||v(),T;function _(m){try{if(m==null)n.removeItem(e);else{const w=x.write(m),S=n.getItem(e);S!==w&&(n.setItem(e,w),f&&f.dispatchEvent(new CustomEvent(va,{detail:{key:e,oldValue:S,newValue:w,storageArea:n}})))}}catch(w){b(w)}}function u(m){const w=m?m.newValue:n.getItem(e);if(w==null)return c&&L!=null&&n.setItem(e,x.write(L)),L;if(!m&&l){const S=x.read(w);return typeof l=="function"?l(S,L):N==="object"&&!Array.isArray(S)?{...L,...S}:S}else return typeof w!="string"?w:x.read(w)}function g(m){v(m.detail)}function v(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)!==x.write(T.value)&&(T.value=u(m))}catch(w){b(w)}finally{m?tn(k):k()}}}}}function i_(e,t,n={}){const{window:s=Us}=n;return r_(e,t,s==null?void 0:s.localStorage,n)}function a_(e,t,n,s={}){var r,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:f,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):Zy(h):h,N=()=>Uy(e[t])?L(e[t]):f,x=h=>{p?p(h)&&y(T,h):y(T,h)};if(c){const h=N(),k=Te(h);let _=!1;return at(()=>e[t],u=>{_||(_=!0,k.value=L(u),tn(()=>_=!1))}),at(k,u=>{!_&&(u!==e[t]||d)&&x(u)},{deep:d}),k}else return Ke({get(){return N()},set(h){x(h)}})}const au=e=>(tl("data-v-348c1d92"),e=e(),nl(),e),l_=["open"],c_={"text-base":""},u_={key:0,"text-sm":"",op50:""},f_=au(()=>V("div",{class:"flex-auto"},null,-1)),d_=au(()=>V("div",{class:"x-divider"},null,-1)),p_=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=a_(e,"open");function s(r){n.value=r.target.open}return(r,o)=>{const i=qr,a=Hy;return X(),oe(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",c_,[Ge(r.$slots,"text",{},()=>[ce(Me(r.text),1)],!0)]),r.description||r.$slots.description?(X(),oe("div",u_,[Ge(r.$slots,"description",{},()=>[ce(Me(r.description),1)],!0)])):Oe("",!0)]),f_,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":""})):Oe("",!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,l_),d_],64)}}}),lu=lo(p_,[["__scopeId","data-v-348c1d92"]]),h_={class:"flex space-x-5"},m_={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},g_={key:0,class:"flex space-x-2"},y_={key:0,class:"opacity-60 text-sm"},__={class:"flex items-center space-x-3"},b_={key:0},v_={key:1,class:"text-xs mt-1 opacity-70"},w_={key:0},x_={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},k_=V("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1),S_={class:"list-disc ml-5"},N_=["innerHTML"],T_=Ve({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Ke(()=>{var o;const r=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return r.includes("http")?r:Ht(((o=Fe.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=Dc,l=ru,d=lu;return X(),Ne(d,null,{text:ae(()=>[V("div",h_,[V("h3",m_,[r.source.fetch?(X(),oe("div",g_,[Y(i,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),r.source.timeTakenMs?(X(),oe("div",y_,Me(r.source.timeTakenMs)+"ms ",1)):Oe("",!0)])):Oe("",!0),V("div",null,Me(r.source.context.name),1),V("div",null,[Y(a,null,{default:ae(()=>{var f;return[ce(Me(((f=r.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:ae(()=>[V("div",__,[r.source.fetch?(X(),oe("div",b_,[Y(c,{href:ie(n),target:"_blank"},{default:ae(()=>[ce(Me(r.source.fetch),1)]),_:1},8,["href"])])):Oe("",!0),r.source.context.description?(X(),oe("div",v_,Me(r.source.context.description),1)):Oe("",!0)])]),default:ae(()=>{var f;return[r.source.error?(X(),oe("div",w_,[Y(i,{icon:"carbon:warning",class:"text-red-500"}),ce(" "+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"])),(f=r.source.context.tips)!=null&&f.length?(X(),oe("div",x_,[k_,V("ul",S_,[(X(!0),oe(Se,null,rn(r.source.context.tips,(p,b)=>(X(),oe("li",{key:b,class:"text-sm opacity-80 mb-1",innerHTML:s(p)},null,8,N_))),128))])])):Oe("",!0)]}),_:1})}}}),L_={class:"relative n-bg-base flex flex-col"},P_={class:"sticky top-0 z-2 px-4 pt-4"},A_={class:"flex justify-between items-start",mb2:""},R_={class:"flex space-x-5"},C_={"text-xl":"",flex:"","items-center":"","gap-2":""},E_={class:"flex items-center space-x-3 text-xl"},$_={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},j_={class:"px-5 py-2"},O_={"text-lg":"",flex:"","items-center":""},I_={class:"px-5 py-2"},M_={"text-lg":"",flex:"","items-center":""},B_={class:"px-5 py-2"},H_={"text-lg":"",flex:"","items-center":""},F_={class:"px-5 py-2"},D_={"text-lg":"",flex:"","items-center":""},U_={class:"px-5 py-2"},G_={"text-lg":"",flex:"","items-center":""},W_=["value","title"],V_={class:"items-center space-x-3 hidden lg:flex"},q_={class:"opacity-80 text-sm"},z_={class:"opacity-80 text-sm"},K_={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},J_={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},X_={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},Q_={key:0,class:"space-y-5"},Y_=V("div",null,[V("h2",{class:"text-lg mb-1"}," Sitemaps "),V("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1),Z_={class:"opacity-80 text-base mb-1"},e0={class:"px-3 py-2 space-y-5"},t0={key:0},n0=V("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1),s0={class:"text-sm opacity-70"},o0={key:0,class:"flex space-x-5"},r0=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"},[ce(" Local sources associated with just this sitemap."),V("br"),ce("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1),i0={class:"flex-grow"},a0={class:"flex space-x-5"},l0=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"},[ce(" Configured with the "),V("code",null,"includeAppSources"),ce(" option. ")])],-1),c0={class:"flex-grow flex flex-col justify-center"},u0={key:0,class:"opacity-70"},f0={key:1,class:"opacity-70"},d0={class:"opacity-50 text-xs mt-2"},p0={class:"flex space-x-5"},h0=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),m0={class:"n-bg-base/20 flex-grow"},g0={key:1,class:"space-y-5"},y0=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),_0={key:2,class:"space-y-5"},b0=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),v0={key:3,class:"h-full max-h-full overflow-hidden"},w0={class:"opacity-80 text-base mb-1"},x0={class:"px-3 py-2 space-y-5"},k0=["innerHTML"],S0={key:4,class:"h-full max-h-full overflow-hidden"},N0=V("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),T0=[N0],L0=Ve({__name:"app",async setup(e){let t,n;[t,n]=Ef(()=>Iy()),await t,n();const s=Te(!1);async function r(){s.value=!0,Fe.value=null,await eu(),setTimeout(()=>{s.value=!1},300)}const o=i_("@nuxtjs/sitemap:tab","sitemaps");function i(f){return Fe.value?f==="sitemap"||f==="sitemap.xml"?`${Fe.value.nitroOrigin}sitemap.xml`:f==="index"?`${Fe.value.nitroOrigin}sitemap_index.xml`:`${Fe.value.nitroOrigin}${f}-sitemap.xml`:""}function a(f){const p={};return Object.entries(f).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=Ke(()=>{var f,p;return((p=(f=Fe.value)==null?void 0:f.runtimeConfig)==null?void 0:p.excludeAppSources)||[]}),l=Ke(()=>{var f;return(((f=Fe.value)==null?void 0:f.globalSources)||[]).filter(p=>p.sourceType==="app")}),d=Ke(()=>{var f;return(((f=Fe.value)==null?void 0:f.globalSources)||[]).filter(p=>p.sourceType==="user")});return(f,p)=>{var u;const b=qr,y=Hc,T=Xt("VTooltip"),L=Dc,N=Vg,x=Qg,h=T_,k=ru,_=lu;return X(),oe("div",L_,[V("header",P_,[V("div",A_,[V("div",R_,[V("h1",C_,[Y(b,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),ce(" Sitemap "),Y(y,{class:"text-sm"},{default:ae(()=>{var g,v;return[ce(Me((v=(g=ie(Fe))==null?void 0:g.runtimeConfig)==null?void 0:v.version),1)]}),_:1})])]),V("div",E_,[V("fieldset",$_,[(X(),oe(Se,null,rn(["sitemaps","user-sources","app-sources","debug","docs"],(g,v)=>V("label",{key:v,class:Ae(["relative n-border-base hover:n-bg-active cursor-pointer",[v?"border-l n-border-base ml--1px":"",g===ie(o)?"n-bg-active":""]])},[g==="sitemaps"?(X(),oe("div",{key:0,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ce(" Sitemaps ")]),default:ae(()=>[V("div",j_,[V("h2",O_,[Y(b,{icon:"carbon:load-balancer-application opacity-50"}),Y(y,{class:"text-sm"},{default:ae(()=>{var m;return[ce(Me(Object.keys(((m=ie(Fe))==null?void 0:m.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):Oe("",!0),g==="user-sources"?(X(),oe("div",{key:1,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ce(" User Sources ")]),default:ae(()=>[V("div",I_,[V("h2",M_,[Y(b,{icon:"carbon:group-account opacity-50"}),Y(y,{class:"text-sm"},{default:ae(()=>[ce(Me(d.value.length),1)]),_:1})])])]),_:1})],2)):Oe("",!0),g==="app-sources"?(X(),oe("div",{key:2,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ce(" App Sources ")]),default:ae(()=>[V("div",B_,[V("h2",H_,[Y(b,{icon:"carbon:bot opacity-50"}),Y(y,{class:"text-sm"},{default:ae(()=>[ce(Me(l.value.length),1)]),_:1})])])]),_:1})],2)):g==="debug"?(X(),oe("div",{key:3,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ce(" Debug ")]),default:ae(()=>[V("div",F_,[V("h2",D_,[Y(b,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):g==="docs"?(X(),oe("div",{key:4,class:Ae([g===ie(o)?"":"op35"])},[Y(T,null,{popper:ae(()=>[ce(" Documentation ")]),default:ae(()=>[V("div",U_,[V("h2",G_,[Y(b,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Oe("",!0),kf(V("input",{"onUpdate:modelValue":p[0]||(p[0]=m=>je(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,W_),[[Pd,ie(o)]])],2)),64))]),Y(T,null,{popper:ae(()=>[ce(" 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",V_,[V("div",q_,[Y(L,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ae(()=>[Y(b,{icon:"carbon:favorite",class:"mr-[2px]"}),ce(" Sponsor ")]),_:1})]),V("div",z_,[Y(L,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:ae(()=>[Y(b,{icon:"logos:github-icon",class:"mr-[2px]"}),ce(" Submit an issue ")]),_:1})]),V("a",K_,[Y(N)])])])]),V("div",J_,[V("main",X_,[!((u=ie(Fe))!=null&&u.globalSources)||s.value?(X(),Ne(x,{key:0})):(X(),oe(Se,{key:1},[ie(o)==="sitemaps"?(X(),oe("div",Q_,[Y_,(X(!0),oe(Se,null,rn(ie(Fe).sitemaps,(g,v)=>(X(),Ne(_,{key:v},{text:ae(()=>[V("h3",Z_,[ce(Me(g.sitemapName)+" ",1),(g.sources||[]).some(m=>!!m.error)?(X(),Ne(b,{key:0,icon:"carbon:warning",class:"text-red-500"})):Oe("",!0)])]),description:ae(()=>[Y(L,{target:"_blank",href:i(g.sitemapName)},{default:ae(()=>[ce(Me(i(g.sitemapName)),1)]),_:2},1032,["href"])]),default:ae(()=>[V("div",e0,[g.sitemapName==="index"?(X(),oe("div",t0,[n0,V("div",s0,[ce(" 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(()=>[ce(" Google Search Central ")]),_:1}),ce(". ")])])):(X(),oe(Se,{key:1},[g.sources&&g.sources.length?(X(),oe("div",o0,[r0,V("div",i0,[(X(!0),oe(Se,null,rn(g.sources,(m,w)=>(X(),Ne(h,{key:w,source:m},null,8,["source"]))),128))])])):Oe("",!0),V("div",a0,[l0,V("div",c0,[g.includeAppSources&&c.value!==!0?(X(),oe("div",u0,[Y(b,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),ce(" Enabled ")])):(X(),oe("div",f0,[Y(b,{icon:"carbon:close",class:"text-red-500 text-lg"}),ce(" Disabled ")])),V("div",d0,[ce(" Switch to "),Y(L,{underline:"",class:"cursor-pointer",onClick:p[1]||(p[1]=m=>o.value="app-sources")},{default:ae(()=>[ce(" App sources ")]),_:1}),ce(" to learn more. ")])])]),V("div",p0,[h0,V("div",m0,[Y(k,{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(),oe("div",g0,[y0,(X(!0),oe(Se,null,rn(l.value,(g,v)=>(X(),Ne(h,{key:v,source:g},null,8,["source"]))),128))])):ie(o)==="user-sources"?(X(),oe("div",_0,[b0,(X(!0),oe(Se,null,rn(d.value,(g,v)=>(X(),Ne(h,{key:v,source:g},null,8,["source"]))),128))])):ie(o)==="debug"?(X(),oe("div",v0,[Y(_,null,{text:ae(()=>[V("h3",w0,[Y(b,{icon:"carbon:settings",class:"mr-1"}),ce(" Runtime Config ")])]),default:ae(()=>{var g;return[V("div",x0,[V("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:ie(ou)(JSON.stringify((g=ie(Fe))==null?void 0:g.runtimeConfig,null,2),"json").value},null,8,k0)])]}),_:1})])):ie(o)==="docs"?(X(),oe("div",S0,T0)):Oe("",!0)],64))])])])}}}),P0={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
24
+ `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
25
+ `);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?Ss(()=>js(()=>import("./error-404.NZm-ZIEG.js"),__vite__mapDeps([5,6]),import.meta.url).then(f=>f.default||f)):Ss(()=>js(()=>import("./error-500.auQArJoN.js"),__vite__mapDeps([7,8]),import.meta.url).then(f=>f.default||f));return(f,p)=>(X(),Ne(ie(d),La($r({statusCode:ie(s),statusMessage:ie(o),description:ie(i),stack:ie(a)})),null,16))}},wa={__name:"nuxt-root",setup(e){const t=()=>null,n=Pe(),s=n.deferHydration(),r=!1;ml(rc,lc()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=Fr();fl((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(P0),{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(L0),{key:3}))]),_:1},8,["onResolve"]))}};let xa;{let e;xa=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(wa):Ol(wa),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,Ag)}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 tn()}catch(c){o(c)}return s.config.errorHandler===o&&(s.config.errorHandler=void 0),s},e=xa().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{A0 as A,lo as _,V as a,Y as b,oe as c,ce as d,Ig as e,nl as f,Ve as g,Ps as h,Yh as i,at as j,vm as k,Ke as l,Ef as m,Ae as n,X as o,tl as p,qt 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};
26
+ function __vite__mapDeps(indexes) {
27
+ if (!__vite__mapDeps.viteFileDeps) {
28
+ __vite__mapDeps.viteFileDeps = ["./Icon.obKARbAK.js","./index.P7jyS_57.js","./Icon.igAZdNwU.css","./IconCSS.TGpF5Cou.js","./IconCSS._VVd0cfH.css","./error-404.NZm-ZIEG.js","./error-404.DkXpI38i.css","./error-500.auQArJoN.js","./error-500.SLhS9LVu.css"]
29
+ }
30
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
31
+ }