nuxt-site-config 2.2.0 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +8 -12
- package/dist/client/404.html +8 -12
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/d46a5d91-399b-4873-a028-fbb5acf9c969.json +1 -0
- package/dist/client/_nuxt/entry.LFMAiE_m.js +15 -0
- package/dist/client/_nuxt/entry.VI4JGYV5.css +1 -0
- package/dist/client/_nuxt/{error-404.TtAKPIfy.js → error-404.uwm8MIeM.js} +1 -1
- package/dist/client/_nuxt/{error-500.5yFOqF6F.js → error-500.ieBT3ywn.js} +1 -1
- package/dist/client/index.html +8 -12
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/nitro/routes/__site-config__/debug.mjs +2 -2
- package/package.json +6 -5
- package/dist/client/_nuxt/builds/meta/a1bda626-9ed5-4567-877d-1f5b32a734fd.json +0 -1
- package/dist/client/_nuxt/entry.3W8c79PU.css +0 -1
- package/dist/client/_nuxt/entry.EZ-AWcq1.js +0 -15
- /package/dist/runtime/nuxt/plugins/{i18n.d.ts → i18n.server.d.ts} +0 -0
- /package/dist/runtime/nuxt/plugins/{i18n.mjs → i18n.server.mjs} +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function sr(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const be={},Ht=[],Ge=()=>{},Za=()=>!1,mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rr=e=>e.startsWith("onUpdate:"),Ae=Object.assign,or=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},el=Object.prototype.hasOwnProperty,le=(e,t)=>el.call(e,t),Z=Array.isArray,Ft=e=>_n(e)==="[object Map]",Wo=e=>_n(e)==="[object Set]",Cr=e=>_n(e)==="[object Date]",ee=e=>typeof e=="function",we=e=>typeof e=="string",St=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",ir=e=>(me(e)||ee(e))&&ee(e.then)&&ee(e.catch),qo=Object.prototype.toString,_n=e=>qo.call(e),tl=e=>_n(e).slice(8,-1),Vo=e=>_n(e)==="[object Object]",ar=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nl=/-(\w)/g,tt=Qn(e=>e.replace(nl,(t,n)=>n?n.toUpperCase():"")),sl=/\B([A-Z])/g,zt=Qn(e=>e.replace(sl,"-$1").toLowerCase()),Yn=Qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ps=Qn(e=>e?`on${Yn(e)}`:""),Lt=(e,t)=>!Object.is(e,t),Pn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Cn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},rl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ol=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let Mr;const Ko=()=>Mr||(Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zn(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?cl(s):Zn(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(we(e)||me(e))return e}const il=/;(?![^(]*\))/g,al=/:([^]+)/,ll=/\/\*[^]*?\*\//g;function cl(e){const t={};return e.replace(ll,"").split(il).forEach(n=>{if(n){const s=n.split(al);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ce(e){let t="";if(we(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const s=Ce(e[n]);s&&(t+=s+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ul(e){if(!e)return null;let{class:t,style:n}=e;return t&&!we(t)&&(e.class=Ce(t)),n&&(e.style=Zn(n)),e}const fl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dl=sr(fl);function Jo(e){return!!e||e===""}function pl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Mn(e[s],t[s]);return n}function Mn(e,t){if(e===t)return!0;let n=Cr(e),s=Cr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=St(e),s=St(t),n||s)return e===t;if(n=Z(e),s=Z(t),n||s)return n&&s?pl(e,t):!1;if(n=me(e),s=me(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const a=e.hasOwnProperty(i),u=t.hasOwnProperty(i);if(a&&!u||!a&&u||!Mn(e[i],t[i]))return!1}}return String(e)===String(t)}const ot=e=>we(e)?e:e==null?"":Z(e)||me(e)&&(e.toString===qo||!ee(e.toString))?JSON.stringify(e,zo,2):String(e),zo=(e,t)=>t&&t.__v_isRef?zo(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[hs(s,r)+" =>"]=o,n),{})}:Wo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hs(n))}:St(t)?hs(t):me(t)&&!Z(t)&&!Vo(t)?String(t):t,hs=(e,t="")=>{var n;return St(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Xe;class Xo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function hl(e){return new Xo(e)}function gl(e,t=Xe){t&&t.active&&t.effects.push(e)}let jt;class lr{constructor(t,n,s,o){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,gl(this,o)}get dirty(){if(this._dirtyLevel===1){this._dirtyLevel=0,this._queryings++,It();for(const t of this.deps)if(t.computed&&(ml(t.computed),this._dirtyLevel>=2))break;Ct(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=vt,n=jt;try{return vt=!0,jt=this,this._runnings++,$r(this),this.fn()}finally{Br(this),this._runnings--,jt=n,vt=t}}stop(){var t;this.active&&($r(this),Br(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ml(e){return e.value}function $r(e){e._trackId++,e._depsLength=0}function Br(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Qo(e.deps[t],e);e.deps.length=e._depsLength}}function Qo(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let vt=!0,js=0;const Yo=[];function It(){Yo.push(vt),vt=!1}function Ct(){const e=Yo.pop();vt=e===void 0?!0:e}function cr(){js++}function ur(){for(js--;!js&&Es.length;)Es.shift()()}function Zo(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const s=e.deps[e._depsLength];s!==t?(s&&Qo(s,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Es=[];function ei(e,t,n){cr();for(const s of e.keys())if(!(!s.allowRecurse&&s._runnings)&&s._dirtyLevel<t&&(!s._runnings||t!==2)){const o=s._dirtyLevel;s._dirtyLevel=t,o===0&&(!s._queryings||t!==2)&&(s.trigger(),s.scheduler&&Es.push(s.scheduler))}ur()}const ti=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},$n=new WeakMap,Et=Symbol(""),Os=Symbol("");function Me(e,t,n){if(vt&&jt){let s=$n.get(e);s||$n.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=ti(()=>s.delete(n))),Zo(jt,o)}}function at(e,t,n,s,o,r){const i=$n.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&Z(e)){const u=Number(s);i.forEach((l,d)=>{(d==="length"||!St(d)&&d>=u)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Z(e)?ar(n)&&a.push(i.get("length")):(a.push(i.get(Et)),Ft(e)&&a.push(i.get(Os)));break;case"delete":Z(e)||(a.push(i.get(Et)),Ft(e)&&a.push(i.get(Os)));break;case"set":Ft(e)&&a.push(i.get(Et));break}cr();for(const u of a)u&&ei(u,3);ur()}function _l(e,t){var n;return(n=$n.get(e))==null?void 0:n.get(t)}const yl=sr("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(St)),Hr=bl();function bl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let r=0,i=this.length;r<i;r++)Me(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(ce)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){It(),cr();const s=ce(this)[t].apply(this,n);return ur(),Ct(),s}}),e}function vl(e){const t=ce(this);return Me(t,"has",e),t.hasOwnProperty(e)}class si{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const o=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Ol:ai:r?ii:oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=Z(t);if(!o){if(i&&le(Hr,n))return Reflect.get(Hr,n,s);if(n==="hasOwnProperty")return vl}const a=Reflect.get(t,n,s);return(St(n)?ni.has(n):yl(n))||(o||Me(t,"get",n),r)?a:Pe(a)?i&&ar(n)?a:a.value:me(a)?o?ci(a):nt(a):a}}class ri extends si{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._shallow){const u=Ot(r);if(!Bn(s)&&!Ot(s)&&(r=ce(r),s=ce(s)),!Z(t)&&Pe(r)&&!Pe(s))return u?!1:(r.value=s,!0)}const i=Z(t)&&ar(n)?Number(n)<t.length:le(t,n),a=Reflect.set(t,n,s,o);return t===ce(o)&&(i?Lt(s,r)&&at(t,"set",n,s):at(t,"add",n,s)),a}deleteProperty(t,n){const s=le(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&at(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!St(n)||!ni.has(n))&&Me(t,"has",n),s}ownKeys(t){return Me(t,"iterate",Z(t)?"length":Et),Reflect.ownKeys(t)}}class wl extends si{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const kl=new ri,Nl=new wl,Sl=new ri(!0),fr=e=>e,es=e=>Reflect.getPrototypeOf(e);function bn(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),r=ce(t);n||(Lt(t,r)&&Me(o,"get",t),Me(o,"get",r));const{has:i}=es(o),a=s?fr:n?hr:cn;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function vn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(Lt(e,o)&&Me(s,"has",e),Me(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function wn(e,t=!1){return e=e.__v_raw,!t&&Me(ce(e),"iterate",Et),Reflect.get(e,"size",e)}function Fr(e){e=ce(e);const t=ce(this);return es(t).has.call(t,e)||(t.add(e),at(t,"add",e,e)),this}function Dr(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=es(n);let r=s.call(n,e);r||(e=ce(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?Lt(t,i)&&at(n,"set",e,t):at(n,"add",e,t),this}function Ur(e){const t=ce(this),{has:n,get:s}=es(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&at(t,"delete",e,void 0),r}function Gr(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&at(e,"clear",void 0,void 0),n}function kn(e,t){return function(s,o){const r=this,i=r.__v_raw,a=ce(i),u=t?fr:e?hr:cn;return!e&&Me(a,"iterate",Et),i.forEach((l,d)=>s.call(o,u(l),u(d),r))}}function Nn(e,t,n){return function(...s){const o=this.__v_raw,r=ce(o),i=Ft(r),a=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,l=o[e](...s),d=n?fr:t?hr:cn;return!t&&Me(r,"iterate",u?Os:Et),{next(){const{value:f,done:g}=l.next();return g?{value:f,done:g}:{value:a?[d(f[0]),d(f[1])]:d(f),done:g}},[Symbol.iterator](){return this}}}}function ft(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ll(){const e={get(r){return bn(this,r)},get size(){return wn(this)},has:vn,add:Fr,set:Dr,delete:Ur,clear:Gr,forEach:kn(!1,!1)},t={get(r){return bn(this,r,!1,!0)},get size(){return wn(this)},has:vn,add:Fr,set:Dr,delete:Ur,clear:Gr,forEach:kn(!1,!0)},n={get(r){return bn(this,r,!0)},get size(){return wn(this,!0)},has(r){return vn.call(this,r,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:kn(!0,!1)},s={get(r){return bn(this,r,!0,!0)},get size(){return wn(this,!0)},has(r){return vn.call(this,r,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:kn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Nn(r,!1,!1),n[r]=Nn(r,!0,!1),t[r]=Nn(r,!1,!0),s[r]=Nn(r,!0,!0)}),[e,n,t,s]}const[Tl,xl,Al,Pl]=Ll();function dr(e,t){const n=t?e?Pl:Al:e?xl:Tl;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(le(n,o)&&o in s?n:s,o,r)}const Rl={get:dr(!1,!1)},jl={get:dr(!1,!0)},El={get:dr(!0,!1)},oi=new WeakMap,ii=new WeakMap,ai=new WeakMap,Ol=new WeakMap;function Il(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:Il(tl(e))}function nt(e){return Ot(e)?e:pr(e,!1,kl,Rl,oi)}function li(e){return pr(e,!1,Sl,jl,ii)}function ci(e){return pr(e,!0,Nl,El,ai)}function pr(e,t,n,s,o){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Cl(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function Dt(e){return Ot(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ot(e){return!!(e&&e.__v_isReadonly)}function Bn(e){return!!(e&&e.__v_isShallow)}function ui(e){return Dt(e)||Ot(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function fi(e){return Cn(e,"__v_skip",!0),e}const cn=e=>me(e)?nt(e):e,hr=e=>me(e)?ci(e):e;class di{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new lr(()=>t(this._value),()=>Is(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return pi(t),(!t._cacheable||t.effect.dirty)&&Lt(t._value,t._value=t.effect.run())&&Is(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ml(e,t,n=!1){let s,o;const r=ee(e);return r?(s=e,o=Ge):(s=e.get,o=e.set),new di(s,o,r||!o,n)}function pi(e){vt&&jt&&(e=ce(e),Zo(jt,e.dep||(e.dep=ti(()=>e.dep=void 0,e instanceof di?e:void 0))))}function Is(e,t=3,n){e=ce(e);const s=e.dep;s&&ei(s,t)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function xe(e){return hi(e,!1)}function Wr(e){return hi(e,!0)}function hi(e,t){return Pe(e)?e:new $l(e,t)}class $l{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:cn(t)}get value(){return pi(this),this._value}set value(t){const n=this.__v_isShallow||Bn(t)||Ot(t);t=n?t:ce(t),Lt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cn(t),Is(this,3))}}function ye(e){return Pe(e)?e.value:e}const Bl={get:(e,t,n)=>ye(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function gi(e){return Dt(e)?e:new Proxy(e,Bl)}class Hl{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 _l(ce(this._object),this._key)}}class Fl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mi(e,t,n){return Pe(e)?e:ee(e)?new Fl(e):me(e)&&arguments.length>1?Dl(e,t,n):xe(e)}function Dl(e,t,n){const s=e[t];return Pe(s)?s:new Hl(e,t,n)}function wt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Xt(r,t,n)}return o}function Ke(e,t,n,s){if(ee(e)){const r=wt(e,t,n,s);return r&&ir(r)&&r.catch(i=>{Xt(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(Ke(e[r],t,n,s));return o}function Xt(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=`https://vuejs.org/errors/#runtime-${n}`;for(;r;){const l=r.ec;if(l){for(let d=0;d<l.length;d++)if(l[d](e,i,a)===!1)return}r=r.parent}const u=t.appContext.config.errorHandler;if(u){wt(u,null,10,[e,i,a]);return}}Ul(e,n,o,s)}function Ul(e,t,n,s=!0){console.error(e)}let un=!1,Cs=!1;const je=[];let Ze=0;const Ut=[];let rt=null,Pt=0;const _i=Promise.resolve();let gr=null;function ts(e){const t=gr||_i;return e?t.then(this?e.bind(this):e):t}function Gl(e){let t=Ze+1,n=je.length;for(;t<n;){const s=t+n>>>1,o=je[s],r=fn(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}function ns(e){(!je.length||!je.includes(e,un&&e.allowRecurse?Ze+1:Ze))&&(e.id==null?je.push(e):je.splice(Gl(e.id),0,e),yi())}function yi(){!un&&!Cs&&(Cs=!0,gr=_i.then(bi))}function Wl(e){const t=je.indexOf(e);t>Ze&&je.splice(t,1)}function Ms(e){Z(e)?Ut.push(...e):(!rt||!rt.includes(e,e.allowRecurse?Pt+1:Pt))&&Ut.push(e),yi()}function qr(e,t,n=un?Ze+1:0){for(;n<je.length;n++){const s=je[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;je.splice(n,1),n--,s()}}}function Hn(e){if(Ut.length){const t=[...new Set(Ut)];if(Ut.length=0,rt){rt.push(...t);return}for(rt=t,rt.sort((n,s)=>fn(n)-fn(s)),Pt=0;Pt<rt.length;Pt++)rt[Pt]();rt=null,Pt=0}}const fn=e=>e.id==null?1/0:e.id,ql=(e,t)=>{const n=fn(e)-fn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bi(e){Cs=!1,un=!0,je.sort(ql);try{for(Ze=0;Ze<je.length;Ze++){const t=je[Ze];t&&t.active!==!1&&wt(t,null,14)}}finally{Ze=0,je.length=0,Hn(),un=!1,gr=null,(je.length||Ut.length)&&bi()}}function Vl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||be;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:g}=s[d]||be;g&&(o=n.map(S=>we(S)?S.trim():S)),f&&(o=n.map(rl))}let a,u=s[a=ps(t)]||s[a=ps(tt(t))];!u&&r&&(u=s[a=ps(zt(t))]),u&&Ke(u,e,6,o);const l=s[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ke(l,e,6,o)}}function vi(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!ee(e)){const u=l=>{const d=vi(l,t,!0);d&&(a=!0,Ae(i,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!a?(me(e)&&s.set(e,null),null):(Z(r)?r.forEach(u=>i[u]=null):Ae(i,r),me(e)&&s.set(e,i),i)}function ss(e,t){return!e||!mn(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,zt(t))||le(e,t))}let Te=null,rs=null;function Fn(e){const t=Te;return Te=e,rs=e&&e.type.__scopeId||null,t}function Kl(e){rs=e}function Jl(){rs=null}function Ve(e,t=Te,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ro(-1);const r=Fn(t);let i;try{i=e(...o)}finally{Fn(r),s._d&&ro(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function gs(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:u,emit:l,render:d,renderCache:f,data:g,setupState:S,ctx:y,inheritAttrs:A}=e;let P,L;const k=Fn(e);try{if(n.shapeFlag&4){const b=o||s,h=b;P=Ue(d.call(h,b,f,r,S,g,y)),L=u}else{const b=t;P=Ue(b.length>1?b(r,{attrs:u,slots:a,emit:l}):b(r,null)),L=t.props?u:Xl(u)}}catch(b){an.length=0,Xt(b,e,1),P=ae(Je)}let p=P;if(L&&A!==!1){const b=Object.keys(L),{shapeFlag:h}=p;b.length&&h&7&&(i&&b.some(rr)&&(L=Ql(L,i)),p=Jt(p,L))}return n.dirs&&(p=Jt(p),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),P=p,Fn(k),P}function zl(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(hn(s)){if(s.type!==Je||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Xl=e=>{let t;for(const n in e)(n==="class"||n==="style"||mn(n))&&((t||(t={}))[n]=e[n]);return t},Ql=(e,t)=>{const n={};for(const s in e)(!rr(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Yl(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:u}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Vr(s,i,l):!!i;if(u&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const g=d[f];if(i[g]!==s[g]&&!ss(l,g))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Vr(s,i,l):!0:!!i;return!1}function Vr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!ss(n,r))return!0}return!1}function mr({vnode:e,parent:t},n){if(n)for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const _r="components";function Zl(e,t){return ki(_r,e,!0,t)||e}const wi=Symbol.for("v-ndc");function ec(e){return we(e)?ki(_r,e,!1)||e:e||wi}function ki(e,t,n=!0,s=!1){const o=Te||Ne;if(o){const r=o.type;if(e===_r){const a=zc(r,!1);if(a&&(a===t||a===tt(t)||a===Yn(tt(t))))return r}const i=Kr(o[e]||r[e],t)||Kr(o.appContext[e],t);return!i&&s?r:i}}function Kr(e,t){return e&&(e[t]||e[tt(t)]||e[Yn(tt(t))])}const tc=e=>e.__isSuspense;let $s=0;const nc={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,u,l){e==null?rc(t,n,s,o,r,i,a,u,l):oc(e,t,n,s,o,i,a,u,l)},hydrate:ic,create:yr,normalize:ac},sc=nc;function dn(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function rc(e,t,n,s,o,r,i,a,u){const{p:l,o:{createElement:d}}=u,f=d("div"),g=e.suspense=yr(e,o,s,t,f,n,r,i,a,u);l(null,g.pendingBranch=e.ssContent,f,null,s,g,r,i),g.deps>0?(dn(e,"onPending"),dn(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,r,i),Gt(g,e.ssFallback)):g.resolve(!1,!0)}function oc(e,t,n,s,o,r,i,a,{p:u,um:l,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const g=t.ssContent,S=t.ssFallback,{activeBranch:y,pendingBranch:A,isInFallback:P,isHydrating:L}=f;if(A)f.pendingBranch=g,_t(g,A)?(u(A,g,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():P&&(L||(u(y,S,n,s,o,null,r,i,a),Gt(f,S)))):(f.pendingId=$s++,L?(f.isHydrating=!1,f.activeBranch=A):l(A,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),P?(u(null,g,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():(u(y,S,n,s,o,null,r,i,a),Gt(f,S))):y&&_t(g,y)?(u(y,g,n,s,o,f,r,i,a),f.resolve(!0)):(u(null,g,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0&&f.resolve()));else if(y&&_t(g,y))u(y,g,n,s,o,f,r,i,a),Gt(f,g);else if(dn(t,"onPending"),f.pendingBranch=g,g.shapeFlag&512?f.pendingId=g.component.suspenseId:f.pendingId=$s++,u(null,g,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0)f.resolve();else{const{timeout:k,pendingId:p}=f;k>0?setTimeout(()=>{f.pendingId===p&&f.fallback(S)},k):k===0&&f.fallback(S)}}function yr(e,t,n,s,o,r,i,a,u,l,d=!1){const{p:f,m:g,um:S,n:y,o:{parentNode:A,remove:P}}=l;let L;const k=lc(e);k&&t!=null&&t.pendingBranch&&(L=t.pendingId,t.deps++);const p=e.props?ol(e.props.timeout):void 0,b={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,anchor:r,deps:0,pendingId:$s++,timeout:typeof p=="number"?p:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(h=!1,c=!1){const{vnode:_,activeBranch:v,pendingBranch:m,pendingId:w,effects:N,parentComponent:x,container:j}=b;let B=!1;if(b.isHydrating)b.isHydrating=!1;else if(!h){B=v&&m.transition&&m.transition.mode==="out-in",B&&(v.transition.afterLeave=()=>{w===b.pendingId&&(g(m,j,y(v),0),Ms(N))});let{anchor:J}=b;v&&(J=y(v),S(v,x,b,!0)),B||g(m,j,J,0)}Gt(b,m),b.pendingBranch=null,b.isInFallback=!1;let D=b.parent,I=!1;for(;D;){if(D.pendingBranch){D.effects.push(...N),I=!0;break}D=D.parent}!I&&!B&&Ms(N),b.effects=[],k&&t&&t.pendingBranch&&L===t.pendingId&&(t.deps--,t.deps===0&&!c&&t.resolve()),dn(_,"onResolve")},fallback(h){if(!b.pendingBranch)return;const{vnode:c,activeBranch:_,parentComponent:v,container:m,namespace:w}=b;dn(c,"onFallback");const N=y(_),x=()=>{b.isInFallback&&(f(null,h,m,N,v,null,w,a,u),Gt(b,h))},j=h.transition&&h.transition.mode==="out-in";j&&(_.transition.afterLeave=x),b.isInFallback=!0,S(_,v,null,!0),j||x()},move(h,c,_){b.activeBranch&&g(b.activeBranch,h,c,_),b.container=h},next(){return b.activeBranch&&y(b.activeBranch)},registerDep(h,c){const _=!!b.pendingBranch;_&&b.deps++;const v=h.vnode.el;h.asyncDep.catch(m=>{Xt(m,h,0)}).then(m=>{if(h.isUnmounted||b.isUnmounted||b.pendingId!==h.suspenseId)return;h.asyncResolved=!0;const{vnode:w}=h;Gs(h,m,!1),v&&(w.el=v);const N=!v&&h.subTree.el;c(h,w,A(v||h.subTree.el),v?null:y(h.subTree),b,i,u),N&&P(N),mr(h,w.el),_&&--b.deps===0&&b.resolve()})},unmount(h,c){b.isUnmounted=!0,b.activeBranch&&S(b.activeBranch,n,h,c),b.pendingBranch&&S(b.pendingBranch,n,h,c)}};return b}function ic(e,t,n,s,o,r,i,a,u){const l=t.suspense=yr(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),d=u(e,l.pendingBranch=t.ssContent,n,l,r,i);return l.deps===0&&l.resolve(!1,!0),d}function ac(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Jr(s?n.default:n),e.ssFallback=s?Jr(n.fallback):ae(Je)}function Jr(e){let t;if(ee(e)){const n=Kt&&e._c;n&&(e._d=!1,oe()),e=e(),n&&(e._d=!0,t=We,Vi())}return Z(e)&&(e=zl(e)),e=Ue(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ni(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Ms(e)}function Gt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,o=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=o,mr(s,o))}function lc(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const cc=Symbol.for("v-scx"),uc=()=>qt(cc);function Si(e,t){return br(e,null,t)}const Sn={};function kt(e,t,n){return br(e,t,n)}function br(e,t,{immediate:n,deep:s,flush:o,once:r,onTrack:i,onTrigger:a}=be){if(t&&r){const h=t;t=(...c)=>{h(...c),b()}}const u=Ne,l=h=>s===!0?h:Rt(h,s===!1?1:void 0);let d,f=!1,g=!1;if(Pe(e)?(d=()=>e.value,f=Bn(e)):Dt(e)?(d=()=>l(e),f=!0):Z(e)?(g=!0,f=e.some(h=>Dt(h)||Bn(h)),d=()=>e.map(h=>{if(Pe(h))return h.value;if(Dt(h))return l(h);if(ee(h))return wt(h,u,2)})):ee(e)?t?d=()=>wt(e,u,2):d=()=>(S&&S(),Ke(e,u,3,[y])):d=Ge,t&&s){const h=d;d=()=>Rt(h())}let S,y=h=>{S=p.onStop=()=>{wt(h,u,4),S=p.onStop=void 0}},A;if(yn)if(y=Ge,t?n&&Ke(t,u,3,[d(),g?[]:void 0,y]):d(),o==="sync"){const h=uc();A=h.__watcherHandles||(h.__watcherHandles=[])}else return Ge;let P=g?new Array(e.length).fill(Sn):Sn;const L=()=>{if(!(!p.active||!p.dirty))if(t){const h=p.run();(s||f||(g?h.some((c,_)=>Lt(c,P[_])):Lt(h,P)))&&(S&&S(),Ke(t,u,3,[h,P===Sn?void 0:g&&P[0]===Sn?[]:P,y]),P=h)}else p.run()};L.allowRecurse=!!t;let k;o==="sync"?k=L:o==="post"?k=()=>Oe(L,u&&u.suspense):(L.pre=!0,u&&(L.id=u.uid),k=()=>ns(L));const p=new lr(d,Ge,k),b=()=>{p.stop(),u&&u.scope&&or(u.scope.effects,p)};return t?n?L():P=p.run():o==="post"?Oe(p.run.bind(p),u&&u.suspense):p.run(),A&&A.push(b),b}function fc(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?Li(s,e):()=>s[e]:e.bind(s,s);let r;ee(t)?r=t:(r=t.handler,n=t);const i=Ne;Tt(this);const a=br(o,r.bind(s),n);return i?Tt(i):Nt(),a}function Li(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}function Rt(e,t,n=0,s){if(!me(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),Pe(e))Rt(e.value,t,n,s);else if(Z(e))for(let o=0;o<e.length;o++)Rt(e[o],t,n,s);else if(Wo(e)||Ft(e))e.forEach(o=>{Rt(o,t,n,s)});else if(Vo(e))for(const o in e)Rt(e[o],t,n,s);return e}function dc(e,t){const n=Te;if(n===null)return e;const s=ls(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,u,l=be]=t[r];i&&(ee(i)&&(i={mounted:i,updated:i}),i.deep&&Rt(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:u,modifiers:l}))}return e}function Qe(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let u=a.dir[s];u&&(It(),Ke(u,n,8,[e.el,a,e,t]),Ct())}}/*! #__NO_SIDE_EFFECTS__ */function lt(e,t){return ee(e)?Ae({name:e.name},t,{setup:e}):e}const Wt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function zr(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:a}=e;let u=null,l,d=0;const f=()=>(d++,u=null,g()),g=()=>{let S;return u||(S=u=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((A,P)=>{a(y,()=>A(f()),()=>P(y),d+1)});throw y}).then(y=>S!==u&&u?u:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),l=y,y)))};return lt({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return l},setup(){const S=Ne;if(l)return()=>ms(l,S);const y=k=>{u=null,Xt(k,S,13,!s)};if(i&&S.suspense||yn)return g().then(k=>()=>ms(k,S)).catch(k=>(y(k),()=>s?ae(s,{error:k}):null));const A=xe(!1),P=xe(),L=xe(!!o);return o&&setTimeout(()=>{L.value=!1},o),r!=null&&setTimeout(()=>{if(!A.value&&!P.value){const k=new Error(`Async component timed out after ${r}ms.`);y(k),P.value=k}},r),g().then(()=>{A.value=!0,S.parent&&vr(S.parent.vnode)&&(S.parent.effect.dirty=!0,ns(S.parent.update))}).catch(k=>{y(k),P.value=k}),()=>{if(A.value&&l)return ms(l,S);if(P.value&&s)return ae(s,{error:P.value});if(n&&!L.value)return ae(n)}}})}function ms(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=ae(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const vr=e=>e.type.__isKeepAlive;function Ti(e,t){Ai(e,"a",t)}function xi(e,t){Ai(e,"da",t)}function Ai(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(os(t,s,n),n){let o=n.parent;for(;o&&o.parent;)vr(o.parent.vnode)&&pc(s,t,n,o),o=o.parent}}function pc(e,t,n,s){const o=os(t,e,s,!0);Ri(()=>{or(s[t],o)},n)}function os(e,t,n=Ne,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;It(),Tt(n);const a=Ke(t,n,e,i);return Nt(),Ct(),a});return s?o.unshift(r):o.push(r),r}}const ct=e=>(t,n=Ne)=>(!yn||e==="sp")&&os(e,(...s)=>t(...s),n),hc=ct("bm"),Pi=ct("m"),gc=ct("bu"),mc=ct("u"),wr=ct("bum"),Ri=ct("um"),_c=ct("sp"),yc=ct("rtg"),bc=ct("rtc");function ji(e,t=Ne){os("ec",e,t)}function _s(e,t,n,s){let o;const r=n&&n[s];if(Z(e)||we(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r&&r[i])}else if(me(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,r&&r[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,u=i.length;a<u;a++){const l=i[a];o[a]=t(e[l],l,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function Ye(e,t,n={},s,o){if(Te.isCE||Te.parent&&Wt(Te.parent)&&Te.parent.isCE)return t!=="default"&&(n.name=t),ae("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),oe();const i=r&&Ei(r(n)),a=He(Le,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Ei(e){return e.some(t=>hn(t)?!(t.type===Je||t.type===Le&&!Ei(t.children)):!0)?e:null}const Bs=e=>e?Qi(e)?ls(e)||e.proxy:Bs(e.parent):null,on=Ae(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=>Bs(e.parent),$root:e=>Bs(e.root),$emit:e=>e.emit,$options:e=>kr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ns(e.update)}),$nextTick:e=>e.n||(e.n=ts.bind(e.proxy)),$watch:e=>fc.bind(e)}),ys=(e,t)=>e!==be&&!e.__isScriptSetup&&le(e,t),vc={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:u}=e;let l;if(t[0]!=="$"){const S=i[t];if(S!==void 0)switch(S){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ys(s,t))return i[t]=1,s[t];if(o!==be&&le(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&le(l,t))return i[t]=3,r[t];if(n!==be&&le(n,t))return i[t]=4,n[t];Hs&&(i[t]=0)}}const d=on[t];let f,g;if(d)return t==="$attrs"&&Me(e,"get",t),d(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==be&&le(n,t))return i[t]=4,n[t];if(g=u.config.globalProperties,le(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ys(o,t)?(o[t]=n,!0):s!==be&&le(s,t)?(s[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||e!==be&&le(e,i)||ys(t,i)||(a=r[0])&&le(a,i)||le(s,i)||le(on,i)||le(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Xr(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wc(e){const t=as();let n=e();return Nt(),ir(n)&&(n=n.catch(s=>{throw Tt(t),s})),[n,()=>Tt(t)]}let Hs=!0;function kc(e){const t=kr(e),n=e.proxy,s=e.ctx;Hs=!1,t.beforeCreate&&Qr(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:u,inject:l,created:d,beforeMount:f,mounted:g,beforeUpdate:S,updated:y,activated:A,deactivated:P,beforeDestroy:L,beforeUnmount:k,destroyed:p,unmounted:b,render:h,renderTracked:c,renderTriggered:_,errorCaptured:v,serverPrefetch:m,expose:w,inheritAttrs:N,components:x,directives:j,filters:B}=t;if(l&&Nc(l,s,null),i)for(const J in i){const q=i[J];ee(q)&&(s[J]=q.bind(n))}if(o){const J=o.call(n,n);me(J)&&(e.data=nt(J))}if(Hs=!0,r)for(const J in r){const q=r[J],te=ee(q)?q.bind(n,n):ee(q.get)?q.get.bind(n,n):Ge,he=!ee(q)&&ee(q.set)?q.set.bind(n):Ge,ue=et({get:te,set:he});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>ue.value,set:se=>ue.value=se})}if(a)for(const J in a)Oi(a[J],s,n,J);if(u){const J=ee(u)?u.call(n):u;Reflect.ownKeys(J).forEach(q=>{Ci(q,J[q])})}d&&Qr(d,e,"c");function I(J,q){Z(q)?q.forEach(te=>J(te.bind(n))):q&&J(q.bind(n))}if(I(hc,f),I(Pi,g),I(gc,S),I(mc,y),I(Ti,A),I(xi,P),I(ji,v),I(bc,c),I(yc,_),I(wr,k),I(Ri,b),I(_c,m),Z(w))if(w.length){const J=e.exposed||(e.exposed={});w.forEach(q=>{Object.defineProperty(J,q,{get:()=>n[q],set:te=>n[q]=te})})}else e.exposed||(e.exposed={});h&&e.render===Ge&&(e.render=h),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),j&&(e.directives=j)}function Nc(e,t,n=Ge){Z(e)&&(e=Fs(e));for(const s in e){const o=e[s];let r;me(o)?"default"in o?r=qt(o.from||s,o.default,!0):r=qt(o.from||s):r=qt(o),Pe(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Qr(e,t,n){Ke(Z(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oi(e,t,n,s){const o=s.includes(".")?Li(n,s):()=>n[s];if(we(e)){const r=t[e];ee(r)&&kt(o,r)}else if(ee(e))kt(o,e.bind(n));else if(me(e))if(Z(e))e.forEach(r=>Oi(r,t,n,s));else{const r=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(r)&&kt(o,r,e)}}function kr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let u;return a?u=a:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(l=>Dn(u,l,i,!0)),Dn(u,t,i)),me(t)&&r.set(t,u),u}function Dn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Dn(e,r,n,!0),o&&o.forEach(i=>Dn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=Sc[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Sc={data:Yr,props:Zr,emits:Zr,methods:sn,computed:sn,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:sn,directives:sn,watch:Tc,provide:Yr,inject:Lc};function Yr(e,t){return t?e?function(){return Ae(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Lc(e,t){return sn(Fs(e),Fs(t))}function Fs(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?Ae(Object.create(null),e,t):t}function Zr(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Ae(Object.create(null),Xr(e),Xr(t??{})):t}function Tc(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const s in t)n[s]=Ee(e[s],t[s]);return n}function Ii(){return{app:null,config:{isNativeTag:Za,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 xc=0;function Ac(e,t){return function(s,o=null){ee(s)||(s=Ae({},s)),o!=null&&!me(o)&&(o=null);const r=Ii(),i=new WeakSet;let a=!1;const u=r.app={_uid:xc++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Zi,get config(){return r.config},set config(l){},use(l,...d){return i.has(l)||(l&&ee(l.install)?(i.add(l),l.install(u,...d)):ee(l)&&(i.add(l),l(u,...d))),u},mixin(l){return r.mixins.includes(l)||r.mixins.push(l),u},component(l,d){return d?(r.components[l]=d,u):r.components[l]},directive(l,d){return d?(r.directives[l]=d,u):r.directives[l]},mount(l,d,f){if(!a){const g=ae(s,o);return g.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),d&&t?t(g,l):e(g,l,f),a=!0,u._container=l,l.__vue_app__=u,ls(g.component)||g.component.proxy}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(l,d){return r.provides[l]=d,u},runWithContext(l){pn=u;try{return l()}finally{pn=null}}};return u}}let pn=null;function Ci(e,t){if(Ne){let n=Ne.provides;const s=Ne.parent&&Ne.parent.provides;s===n&&(n=Ne.provides=Object.create(s)),n[e]=t}}function qt(e,t,n=!1){const s=Ne||Te;if(s||pn){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:pn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ee(t)?t.call(s&&s.proxy):t}}function Mi(){return!!(Ne||Te||pn)}function Pc(e,t,n,s=!1){const o={},r={};Cn(r,is,1),e.propsDefaults=Object.create(null),$i(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:li(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Rc(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ce(o),[u]=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 g=d[f];if(ss(e.emitsOptions,g))continue;const S=t[g];if(u)if(le(r,g))S!==r[g]&&(r[g]=S,l=!0);else{const y=tt(g);o[y]=Ds(u,a,y,S,e,!1)}else S!==r[g]&&(r[g]=S,l=!0)}}}else{$i(e,t,o,r)&&(l=!0);let d;for(const f in a)(!t||!le(t,f)&&((d=zt(f))===f||!le(t,d)))&&(u?n&&(n[f]!==void 0||n[d]!==void 0)&&(o[f]=Ds(u,a,f,void 0,e,!0)):delete o[f]);if(r!==a)for(const f in r)(!t||!le(t,f))&&(delete r[f],l=!0)}l&&at(e,"set","$attrs")}function $i(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let u in t){if(rn(u))continue;const l=t[u];let d;o&&le(o,d=tt(u))?!r||!r.includes(d)?n[d]=l:(a||(a={}))[d]=l:ss(e.emitsOptions,u)||(!(u in s)||l!==s[u])&&(s[u]=l,i=!0)}if(r){const u=ce(n),l=a||be;for(let d=0;d<r.length;d++){const f=r[d];n[f]=Ds(o,u,f,l[f],e,!le(l,f))}}return i}function Ds(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=le(i,"default");if(a&&s===void 0){const u=i.default;if(i.type!==Function&&!i.skipFactory&&ee(u)){const{propsDefaults:l}=o;n in l?s=l[n]:(Tt(o),s=l[n]=u.call(null,t),Nt())}else s=u}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===zt(n))&&(s=!0))}return s}function Bi(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let u=!1;if(!ee(e)){const d=f=>{u=!0;const[g,S]=Bi(f,t,!0);Ae(i,g),S&&a.push(...S)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return me(e)&&s.set(e,Ht),Ht;if(Z(r))for(let d=0;d<r.length;d++){const f=tt(r[d]);eo(f)&&(i[f]=be)}else if(r)for(const d in r){const f=tt(d);if(eo(f)){const g=r[d],S=i[f]=Z(g)||ee(g)?{type:g}:Ae({},g);if(S){const y=so(Boolean,S.type),A=so(String,S.type);S[0]=y>-1,S[1]=A<0||y<A,(y>-1||le(S,"default"))&&a.push(f)}}}const l=[i,a];return me(e)&&s.set(e,l),l}function eo(e){return e[0]!=="$"}function to(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function no(e,t){return to(e)===to(t)}function so(e,t){return Z(t)?t.findIndex(n=>no(n,e)):ee(t)&&no(t,e)?0:-1}const Hi=e=>e[0]==="_"||e==="$stable",Nr=e=>Z(e)?e.map(Ue):[Ue(e)],jc=(e,t,n)=>{if(t._n)return t;const s=Ve((...o)=>Nr(t(...o)),n);return s._c=!1,s},Fi=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Hi(o))continue;const r=e[o];if(ee(r))t[o]=jc(o,r,s);else if(r!=null){const i=Nr(r);t[o]=()=>i}}},Di=(e,t)=>{const n=Nr(t);e.slots.default=()=>n},Ec=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Cn(t,"_",n)):Fi(t,e.slots={})}else e.slots={},t&&Di(e,t);Cn(e.slots,is,1)},Oc=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=be;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Ae(o,t),!n&&a===1&&delete o._):(r=!t.$stable,Fi(t,o)),i=t}else t&&(Di(e,t),i={default:1});if(r)for(const a in o)!Hi(a)&&i[a]==null&&delete o[a]};function Un(e,t,n,s,o=!1){if(Z(e)){e.forEach((g,S)=>Un(g,t&&(Z(t)?t[S]:t),n,s,o));return}if(Wt(s)&&!o)return;const r=s.shapeFlag&4?ls(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:u}=e,l=t&&t.r,d=a.refs===be?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==u&&(we(l)?(d[l]=null,le(f,l)&&(f[l]=null)):Pe(l)&&(l.value=null)),ee(u))wt(u,a,12,[i,d]);else{const g=we(u),S=Pe(u);if(g||S){const y=()=>{if(e.f){const A=g?le(f,u)?f[u]:d[u]:u.value;o?Z(A)&&or(A,r):Z(A)?A.includes(r)||A.push(r):g?(d[u]=[r],le(f,u)&&(f[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else g?(d[u]=i,le(f,u)&&(f[u]=i)):S&&(u.value=i,e.k&&(d[e.k]=i))};i?(y.id=-1,Oe(y,n)):y()}}}let dt=!1;const Ic=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Cc=e=>e.namespaceURI.includes("MathML"),Ln=e=>{if(Ic(e))return"svg";if(Cc(e))return"mathml"},Tn=e=>e.nodeType===8;function Mc(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:u,createComment:l}}=e,d=(p,b)=>{if(!b.hasChildNodes()){n(null,p,b),Hn(),b._vnode=p;return}dt=!1,f(b.firstChild,p,null,null,null),Hn(),b._vnode=p,dt&&console.error("Hydration completed but contains mismatches.")},f=(p,b,h,c,_,v=!1)=>{const m=Tn(p)&&p.data==="[",w=()=>A(p,b,h,c,_,m),{type:N,ref:x,shapeFlag:j,patchFlag:B}=b;let D=p.nodeType;b.el=p,B===-2&&(v=!1,b.dynamicChildren=null);let I=null;switch(N){case Vt:D!==3?b.children===""?(u(b.el=o(""),i(p),p),I=p):I=w():(p.data!==b.children&&(dt=!0,p.data=b.children),I=r(p));break;case Je:k(p)?(I=r(p),L(b.el=p.content.firstChild,p,h)):D!==8||m?I=w():I=r(p);break;case Rn:if(m&&(p=r(p),D=p.nodeType),D===1||D===3){I=p;const J=!b.children.length;for(let q=0;q<b.staticCount;q++)J&&(b.children+=I.nodeType===1?I.outerHTML:I.data),q===b.staticCount-1&&(b.anchor=I),I=r(I);return m?r(I):I}else w();break;case Le:m?I=y(p,b,h,c,_,v):I=w();break;default:if(j&1)(D!==1||b.type.toLowerCase()!==p.tagName.toLowerCase())&&!k(p)?I=w():I=g(p,b,h,c,_,v);else if(j&6){b.slotScopeIds=_;const J=i(p);if(m?I=P(p):Tn(p)&&p.data==="teleport start"?I=P(p,p.data,"teleport end"):I=r(p),t(b,J,null,h,c,Ln(J),v),Wt(b)){let q;m?(q=ae(Le),q.anchor=I?I.previousSibling:J.lastChild):q=p.nodeType===3?De(""):ae("div"),q.el=p,b.component.subTree=q}}else j&64?D!==8?I=w():I=b.type.hydrate(p,b,h,c,_,v,e,S):j&128&&(I=b.type.hydrate(p,b,h,c,Ln(i(p)),_,v,e,f))}return x!=null&&Un(x,null,c,b),I},g=(p,b,h,c,_,v)=>{v=v||!!b.dynamicChildren;const{type:m,props:w,patchFlag:N,shapeFlag:x,dirs:j,transition:B}=b,D=m==="input"||m==="option";if(D||N!==-1){j&&Qe(b,null,h,"created");let I=!1;if(k(p)){I=Gi(c,B)&&h&&h.vnode.props&&h.vnode.props.appear;const q=p.content.firstChild;I&&B.beforeEnter(q),L(q,p,h),b.el=p=q}if(x&16&&!(w&&(w.innerHTML||w.textContent))){let q=S(p.firstChild,b,p,h,c,_,v);for(;q;){dt=!0;const te=q;q=q.nextSibling,a(te)}}else x&8&&p.textContent!==b.children&&(dt=!0,p.textContent=b.children);if(w)if(D||!v||N&48)for(const q in w)(D&&(q.endsWith("value")||q==="indeterminate")||mn(q)&&!rn(q)||q[0]===".")&&s(p,q,null,w[q],void 0,void 0,h);else w.onClick&&s(p,"onClick",null,w.onClick,void 0,void 0,h);let J;(J=w&&w.onVnodeBeforeMount)&&Fe(J,h,b),j&&Qe(b,null,h,"beforeMount"),((J=w&&w.onVnodeMounted)||j||I)&&Ni(()=>{J&&Fe(J,h,b),I&&B.enter(p),j&&Qe(b,null,h,"mounted")},c)}return p.nextSibling},S=(p,b,h,c,_,v,m)=>{m=m||!!b.dynamicChildren;const w=b.children,N=w.length;for(let x=0;x<N;x++){const j=m?w[x]:w[x]=Ue(w[x]);if(p)p=f(p,j,c,_,v,m);else{if(j.type===Vt&&!j.children)continue;dt=!0,n(null,j,h,null,c,_,Ln(h),v)}}return p},y=(p,b,h,c,_,v)=>{const{slotScopeIds:m}=b;m&&(_=_?_.concat(m):m);const w=i(p),N=S(r(p),b,w,h,c,_,v);return N&&Tn(N)&&N.data==="]"?r(b.anchor=N):(dt=!0,u(b.anchor=l("]"),w,N),N)},A=(p,b,h,c,_,v)=>{if(dt=!0,b.el=null,v){const N=P(p);for(;;){const x=r(p);if(x&&x!==N)a(x);else break}}const m=r(p),w=i(p);return a(p),n(null,b,w,m,h,c,Ln(w),_),m},P=(p,b="[",h="]")=>{let c=0;for(;p;)if(p=r(p),p&&Tn(p)&&(p.data===b&&c++,p.data===h)){if(c===0)return r(p);c--}return p},L=(p,b,h)=>{const c=b.parentNode;c&&c.replaceChild(p,b);let _=h;for(;_;)_.vnode.el===b&&(_.vnode.el=_.subTree.el=p),_=_.parent},k=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[d,f]}const Oe=Ni;function $c(e){return Ui(e)}function Bc(e){return Ui(e,Mc)}function Ui(e,t){const n=Ko();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:u,setText:l,setElementText:d,parentNode:f,nextSibling:g,setScopeId:S=Ge,insertStaticContent:y}=e,A=(T,R,E,C=null,M=null,W=null,V=void 0,U=null,G=!!R.dynamicChildren)=>{if(T===R)return;T&&!_t(T,R)&&(C=F(T),se(T,M,W,!0),T=null),R.patchFlag===-2&&(G=!1,R.dynamicChildren=null);const{type:H,ref:K,shapeFlag:O}=R;switch(H){case Vt:P(T,R,E,C);break;case Je:L(T,R,E,C);break;case Rn:T==null&&k(R,E,C,V);break;case Le:x(T,R,E,C,M,W,V,U,G);break;default:O&1?h(T,R,E,C,M,W,V,U,G):O&6?j(T,R,E,C,M,W,V,U,G):(O&64||O&128)&&H.process(T,R,E,C,M,W,V,U,G,ie)}K!=null&&M&&Un(K,T&&T.ref,W,R||T,!R)},P=(T,R,E,C)=>{if(T==null)s(R.el=a(R.children),E,C);else{const M=R.el=T.el;R.children!==T.children&&l(M,R.children)}},L=(T,R,E,C)=>{T==null?s(R.el=u(R.children||""),E,C):R.el=T.el},k=(T,R,E,C)=>{[T.el,T.anchor]=y(T.children,R,E,C,T.el,T.anchor)},p=({el:T,anchor:R},E,C)=>{let M;for(;T&&T!==R;)M=g(T),s(T,E,C),T=M;s(R,E,C)},b=({el:T,anchor:R})=>{let E;for(;T&&T!==R;)E=g(T),o(T),T=E;o(R)},h=(T,R,E,C,M,W,V,U,G)=>{R.type==="svg"?V="svg":R.type==="math"&&(V="mathml"),T==null?c(R,E,C,M,W,V,U,G):m(T,R,M,W,V,U,G)},c=(T,R,E,C,M,W,V,U)=>{let G,H;const{props:K,shapeFlag:O,transition:$,dirs:z}=T;if(G=T.el=i(T.type,W,K&&K.is,K),O&8?d(G,T.children):O&16&&v(T.children,G,null,C,M,bs(T,W),V,U),z&&Qe(T,null,C,"created"),_(G,T,T.scopeId,V,C),K){for(const X in K)X!=="value"&&!rn(X)&&r(G,X,null,K[X],W,T.children,C,M,ge);"value"in K&&r(G,"value",null,K.value,W),(H=K.onVnodeBeforeMount)&&Fe(H,C,T)}z&&Qe(T,null,C,"beforeMount");const Y=Gi(M,$);Y&&$.beforeEnter(G),s(G,R,E),((H=K&&K.onVnodeMounted)||Y||z)&&Oe(()=>{H&&Fe(H,C,T),Y&&$.enter(G),z&&Qe(T,null,C,"mounted")},M)},_=(T,R,E,C,M)=>{if(E&&S(T,E),C)for(let W=0;W<C.length;W++)S(T,C[W]);if(M){let W=M.subTree;if(R===W){const V=M.vnode;_(T,V,V.scopeId,V.slotScopeIds,M.parent)}}},v=(T,R,E,C,M,W,V,U,G=0)=>{for(let H=G;H<T.length;H++){const K=T[H]=U?gt(T[H]):Ue(T[H]);A(null,K,R,E,C,M,W,V,U)}},m=(T,R,E,C,M,W,V)=>{const U=R.el=T.el;let{patchFlag:G,dynamicChildren:H,dirs:K}=R;G|=T.patchFlag&16;const O=T.props||be,$=R.props||be;let z;if(E&&xt(E,!1),(z=$.onVnodeBeforeUpdate)&&Fe(z,E,R,T),K&&Qe(R,T,E,"beforeUpdate"),E&&xt(E,!0),H?w(T.dynamicChildren,H,U,E,C,bs(R,M),W):V||q(T,R,U,null,E,C,bs(R,M),W,!1),G>0){if(G&16)N(U,R,O,$,E,C,M);else if(G&2&&O.class!==$.class&&r(U,"class",null,$.class,M),G&4&&r(U,"style",O.style,$.style,M),G&8){const Y=R.dynamicProps;for(let X=0;X<Y.length;X++){const Q=Y[X],re=O[Q],Se=$[Q];(Se!==re||Q==="value")&&r(U,Q,re,Se,M,T.children,E,C,ge)}}G&1&&T.children!==R.children&&d(U,R.children)}else!V&&H==null&&N(U,R,O,$,E,C,M);((z=$.onVnodeUpdated)||K)&&Oe(()=>{z&&Fe(z,E,R,T),K&&Qe(R,T,E,"updated")},C)},w=(T,R,E,C,M,W,V)=>{for(let U=0;U<R.length;U++){const G=T[U],H=R[U],K=G.el&&(G.type===Le||!_t(G,H)||G.shapeFlag&70)?f(G.el):E;A(G,H,K,null,C,M,W,V,!0)}},N=(T,R,E,C,M,W,V)=>{if(E!==C){if(E!==be)for(const U in E)!rn(U)&&!(U in C)&&r(T,U,E[U],null,V,R.children,M,W,ge);for(const U in C){if(rn(U))continue;const G=C[U],H=E[U];G!==H&&U!=="value"&&r(T,U,H,G,V,R.children,M,W,ge)}"value"in C&&r(T,"value",E.value,C.value,V)}},x=(T,R,E,C,M,W,V,U,G)=>{const H=R.el=T?T.el:a(""),K=R.anchor=T?T.anchor:a("");let{patchFlag:O,dynamicChildren:$,slotScopeIds:z}=R;z&&(U=U?U.concat(z):z),T==null?(s(H,E,C),s(K,E,C),v(R.children,E,K,M,W,V,U,G)):O>0&&O&64&&$&&T.dynamicChildren?(w(T.dynamicChildren,$,E,M,W,V,U),(R.key!=null||M&&R===M.subTree)&&Wi(T,R,!0)):q(T,R,E,K,M,W,V,U,G)},j=(T,R,E,C,M,W,V,U,G)=>{R.slotScopeIds=U,T==null?R.shapeFlag&512?M.ctx.activate(R,E,C,V,G):B(R,E,C,M,W,V,G):D(T,R,G)},B=(T,R,E,C,M,W,V)=>{const U=T.component=Wc(T,C,M);if(vr(T)&&(U.ctx.renderer=ie),qc(U),U.asyncDep){if(M&&M.registerDep(U,I),!T.el){const G=U.subTree=ae(Je);L(null,G,R,E)}}else I(U,T,R,E,M,W,V)},D=(T,R,E)=>{const C=R.component=T.component;if(Yl(T,R,E))if(C.asyncDep&&!C.asyncResolved){J(C,R,E);return}else C.next=R,Wl(C.update),C.effect.dirty=!0,C.update();else R.el=T.el,C.vnode=R},I=(T,R,E,C,M,W,V)=>{const U=()=>{if(T.isMounted){let{next:K,bu:O,u:$,parent:z,vnode:Y}=T;{const $e=qi(T);if($e){K&&(K.el=Y.el,J(T,K,V)),$e.asyncDep.then(()=>{T.isUnmounted||U()});return}}let X=K,Q;xt(T,!1),K?(K.el=Y.el,J(T,K,V)):K=Y,O&&Pn(O),(Q=K.props&&K.props.onVnodeBeforeUpdate)&&Fe(Q,z,K,Y),xt(T,!0);const re=gs(T),Se=T.subTree;T.subTree=re,A(Se,re,f(Se.el),F(Se),T,M,W),K.el=re.el,X===null&&mr(T,re.el),$&&Oe($,M),(Q=K.props&&K.props.onVnodeUpdated)&&Oe(()=>Fe(Q,z,K,Y),M)}else{let K;const{el:O,props:$}=R,{bm:z,m:Y,parent:X}=T,Q=Wt(R);if(xt(T,!1),z&&Pn(z),!Q&&(K=$&&$.onVnodeBeforeMount)&&Fe(K,X,R),xt(T,!0),O&&qe){const re=()=>{T.subTree=gs(T),qe(O,T.subTree,T,M,null)};Q?R.type.__asyncLoader().then(()=>!T.isUnmounted&&re()):re()}else{const re=T.subTree=gs(T);A(null,re,E,C,T,M,W),R.el=re.el}if(Y&&Oe(Y,M),!Q&&(K=$&&$.onVnodeMounted)){const re=R;Oe(()=>Fe(K,X,re),M)}(R.shapeFlag&256||X&&Wt(X.vnode)&&X.vnode.shapeFlag&256)&&T.a&&Oe(T.a,M),T.isMounted=!0,R=E=C=null}},G=T.effect=new lr(U,Ge,()=>ns(H),T.scope),H=T.update=()=>{G.dirty&&G.run()};H.id=T.uid,xt(T,!0),H()},J=(T,R,E)=>{R.component=T;const C=T.vnode.props;T.vnode=R,T.next=null,Rc(T,R.props,C,E),Oc(T,R.children,E),It(),qr(T),Ct()},q=(T,R,E,C,M,W,V,U,G=!1)=>{const H=T&&T.children,K=T?T.shapeFlag:0,O=R.children,{patchFlag:$,shapeFlag:z}=R;if($>0){if($&128){he(H,O,E,C,M,W,V,U,G);return}else if($&256){te(H,O,E,C,M,W,V,U,G);return}}z&8?(K&16&&ge(H,M,W),O!==H&&d(E,O)):K&16?z&16?he(H,O,E,C,M,W,V,U,G):ge(H,M,W,!0):(K&8&&d(E,""),z&16&&v(O,E,C,M,W,V,U,G))},te=(T,R,E,C,M,W,V,U,G)=>{T=T||Ht,R=R||Ht;const H=T.length,K=R.length,O=Math.min(H,K);let $;for($=0;$<O;$++){const z=R[$]=G?gt(R[$]):Ue(R[$]);A(T[$],z,E,null,M,W,V,U,G)}H>K?ge(T,M,W,!0,!1,O):v(R,E,C,M,W,V,U,G,O)},he=(T,R,E,C,M,W,V,U,G)=>{let H=0;const K=R.length;let O=T.length-1,$=K-1;for(;H<=O&&H<=$;){const z=T[H],Y=R[H]=G?gt(R[H]):Ue(R[H]);if(_t(z,Y))A(z,Y,E,null,M,W,V,U,G);else break;H++}for(;H<=O&&H<=$;){const z=T[O],Y=R[$]=G?gt(R[$]):Ue(R[$]);if(_t(z,Y))A(z,Y,E,null,M,W,V,U,G);else break;O--,$--}if(H>O){if(H<=$){const z=$+1,Y=z<K?R[z].el:C;for(;H<=$;)A(null,R[H]=G?gt(R[H]):Ue(R[H]),E,Y,M,W,V,U,G),H++}}else if(H>$)for(;H<=O;)se(T[H],M,W,!0),H++;else{const z=H,Y=H,X=new Map;for(H=Y;H<=$;H++){const Be=R[H]=G?gt(R[H]):Ue(R[H]);Be.key!=null&&X.set(Be.key,H)}let Q,re=0;const Se=$-Y+1;let $e=!1,Zt=0;const en=new Array(Se);for(H=0;H<Se;H++)en[H]=0;for(H=z;H<=O;H++){const Be=T[H];if(re>=Se){se(Be,M,W,!0);continue}let ze;if(Be.key!=null)ze=X.get(Be.key);else for(Q=Y;Q<=$;Q++)if(en[Q-Y]===0&&_t(Be,R[Q])){ze=Q;break}ze===void 0?se(Be,M,W,!0):(en[ze-Y]=H+1,ze>=Zt?Zt=ze:$e=!0,A(Be,R[ze],E,null,M,W,V,U,G),re++)}const Or=$e?Hc(en):Ht;for(Q=Or.length-1,H=Se-1;H>=0;H--){const Be=Y+H,ze=R[Be],Ir=Be+1<K?R[Be+1].el:C;en[H]===0?A(null,ze,E,Ir,M,W,V,U,G):$e&&(Q<0||H!==Or[Q]?ue(ze,E,Ir,2):Q--)}}},ue=(T,R,E,C,M=null)=>{const{el:W,type:V,transition:U,children:G,shapeFlag:H}=T;if(H&6){ue(T.component.subTree,R,E,C);return}if(H&128){T.suspense.move(R,E,C);return}if(H&64){V.move(T,R,E,ie);return}if(V===Le){s(W,R,E);for(let O=0;O<G.length;O++)ue(G[O],R,E,C);s(T.anchor,R,E);return}if(V===Rn){p(T,R,E);return}if(C!==2&&H&1&&U)if(C===0)U.beforeEnter(W),s(W,R,E),Oe(()=>U.enter(W),M);else{const{leave:O,delayLeave:$,afterLeave:z}=U,Y=()=>s(W,R,E),X=()=>{O(W,()=>{Y(),z&&z()})};$?$(W,Y,X):X()}else s(W,R,E)},se=(T,R,E,C=!1,M=!1)=>{const{type:W,props:V,ref:U,children:G,dynamicChildren:H,shapeFlag:K,patchFlag:O,dirs:$}=T;if(U!=null&&Un(U,null,E,T,!0),K&256){R.ctx.deactivate(T);return}const z=K&1&&$,Y=!Wt(T);let X;if(Y&&(X=V&&V.onVnodeBeforeUnmount)&&Fe(X,R,T),K&6)pe(T.component,E,C);else{if(K&128){T.suspense.unmount(E,C);return}z&&Qe(T,null,R,"beforeUnmount"),K&64?T.type.remove(T,R,E,M,ie,C):H&&(W!==Le||O>0&&O&64)?ge(H,R,E,!1,!0):(W===Le&&O&384||!M&&K&16)&&ge(G,R,E),C&&fe(T)}(Y&&(X=V&&V.onVnodeUnmounted)||z)&&Oe(()=>{X&&Fe(X,R,T),z&&Qe(T,null,R,"unmounted")},E)},fe=T=>{const{type:R,el:E,anchor:C,transition:M}=T;if(R===Le){de(E,C);return}if(R===Rn){b(T);return}const W=()=>{o(E),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(T.shapeFlag&1&&M&&!M.persisted){const{leave:V,delayLeave:U}=M,G=()=>V(E,W);U?U(T.el,W,G):G()}else W()},de=(T,R)=>{let E;for(;T!==R;)E=g(T),o(T),T=E;o(R)},pe=(T,R,E)=>{const{bum:C,scope:M,update:W,subTree:V,um:U}=T;C&&Pn(C),M.stop(),W&&(W.active=!1,se(V,T,R,E)),U&&Oe(U,R),Oe(()=>{T.isUnmounted=!0},R),R&&R.pendingBranch&&!R.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===R.pendingId&&(R.deps--,R.deps===0&&R.resolve())},ge=(T,R,E,C=!1,M=!1,W=0)=>{for(let V=W;V<T.length;V++)se(T[V],R,E,C,M)},F=T=>T.shapeFlag&6?F(T.component.subTree):T.shapeFlag&128?T.suspense.next():g(T.anchor||T.el),_e=(T,R,E)=>{T==null?R._vnode&&se(R._vnode,null,null,!0):A(R._vnode||null,T,R,null,null,null,E),qr(),Hn(),R._vnode=T},ie={p:A,um:se,m:ue,r:fe,mt:B,mc:v,pc:q,pbc:w,n:F,o:e};let Re,qe;return t&&([Re,qe]=t(ie)),{render:_e,hydrate:Re,createApp:Ac(_e,Re)}}function bs({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 xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Gi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wi(e,t,n=!1){const s=e.children,o=t.children;if(Z(s)&&Z(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=gt(o[r]),a.el=i.el),n||Wi(i,a)),a.type===Vt&&(a.el=i.el)}}function Hc(e){const t=e.slice(),n=[0];let s,o,r,i,a;const u=e.length;for(s=0;s<u;s++){const l=e[s];if(l!==0){if(o=n[n.length-1],e[o]<l){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<l?r=a+1:i=a;l<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function qi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qi(t)}const Fc=e=>e.__isTeleport,Le=Symbol.for("v-fgt"),Vt=Symbol.for("v-txt"),Je=Symbol.for("v-cmt"),Rn=Symbol.for("v-stc"),an=[];let We=null;function oe(e=!1){an.push(We=e?null:[])}function Vi(){an.pop(),We=an[an.length-1]||null}let Kt=1;function ro(e){Kt+=e}function Ki(e){return e.dynamicChildren=Kt>0?We||Ht:null,Vi(),Kt>0&&We&&We.push(e),e}function ve(e,t,n,s,o,r){return Ki(ne(e,t,n,s,o,r,!0))}function He(e,t,n,s,o){return Ki(ae(e,t,n,s,o,!0))}function hn(e){return e?e.__v_isVNode===!0:!1}function _t(e,t){return e.type===t.type&&e.key===t.key}const is="__vInternal",Ji=({key:e})=>e??null,jn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Pe(e)||ee(e)?{i:Te,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,s=0,o=null,r=e===Le?0:1,i=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ji(t),ref:t&&jn(t),scopeId:rs,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Te};return a?(Sr(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=we(n)?8:16),Kt>0&&!i&&We&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&We.push(u),u}const ae=Dc;function Dc(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===wi)&&(e=Je),hn(e)){const a=Jt(e,t,!0);return n&&Sr(a,n),Kt>0&&!r&&We&&(a.shapeFlag&6?We[We.indexOf(e)]=a:We.push(a)),a.patchFlag|=-2,a}if(Xc(e)&&(e=e.__vccOpts),t){t=zi(t);let{class:a,style:u}=t;a&&!we(a)&&(t.class=Ce(a)),me(u)&&(ui(u)&&!Z(u)&&(u=Ae({},u)),t.style=Zn(u))}const i=we(e)?1:tc(e)?128:Fc(e)?64:me(e)?4:ee(e)?2:0;return ne(e,t,n,s,o,i,r,!0)}function zi(e){return e?ui(e)||is in e?Ae({},e):e:null}function Jt(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,a=t?Xi(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ji(a),ref:t&&t.ref?n&&o?Z(o)?o.concat(jn(t)):[o,jn(t)]:jn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function De(e=" ",t=0){return ae(Vt,null,e,t)}function yt(e="",t=!1){return t?(oe(),He(Je,null,e)):ae(Je,null,e)}function Ue(e){return e==null||typeof e=="boolean"?ae(Je):Z(e)?ae(Le,null,e.slice()):typeof e=="object"?gt(e):ae(Vt,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function Sr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Sr(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(is in t)?t._ctx=Te:o===3&&Te&&(Te.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Te},n=32):(t=String(t),s&64?(n=16,t=[De(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xi(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Ce([t.class,s.class]));else if(o==="style")t.style=Zn([t.style,s.style]);else if(mn(o)){const r=t[o],i=s[o];i&&r!==i&&!(Z(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function Fe(e,t,n,s=null){Ke(e,t,7,[n,s])}const Uc=Ii();let Gc=0;function Wc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Uc,r={uid:Gc++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Xo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bi(s,o),emitsOptions:vi(s,o),emit:null,emitted:null,propsDefaults:be,inheritAttrs:s.inheritAttrs,ctx:be,data:be,props:be,attrs:be,slots:be,refs:be,setupState:be,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Vl.bind(null,r),e.ce&&e.ce(r),r}let Ne=null;const as=()=>Ne||Te;let Lr,Us;{const e=Ko(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Lr=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),Us=t("__VUE_SSR_SETTERS__",n=>yn=n)}const Tt=e=>{Lr(e),e.scope.on()},Nt=()=>{Ne&&Ne.scope.off(),Lr(null)};function Qi(e){return e.vnode.shapeFlag&4}let yn=!1;function qc(e,t=!1){t&&Us(t);const{props:n,children:s}=e.vnode,o=Qi(e);Pc(e,n,o,t),Ec(e,s);const r=o?Vc(e,t):void 0;return t&&Us(!1),r}function Vc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=fi(new Proxy(e.ctx,vc));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Jc(e):null;Tt(e),It();const r=wt(s,e,0,[e.props,o]);if(Ct(),Nt(),ir(r)){if(r.then(Nt,Nt),t)return r.then(i=>{Gs(e,i,t)}).catch(i=>{Xt(i,e,0)});e.asyncDep=r}else Gs(e,r,t)}else Yi(e,t)}function Gs(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=gi(t)),Yi(e,n)}let oo;function Yi(e,t,n){const s=e.type;if(!e.render){if(!t&&oo&&!s.render){const o=s.template||kr(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:u}=s,l=Ae(Ae({isCustomElement:r,delimiters:a},i),u);s.render=oo(o,l)}}e.render=s.render||Ge}{Tt(e),It();try{kc(e)}finally{Ct(),Nt()}}}function Kc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Me(e,"get","$attrs"),t[n]}}))}function Jc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Kc(e)},slots:e.slots,emit:e.emit,expose:t}}function ls(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gi(fi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in on)return on[n](e)},has(t,n){return n in t||n in on}}))}function zc(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Xc(e){return ee(e)&&"__vccOpts"in e}const et=(e,t)=>Ml(e,t,yn);function Ws(e,t,n){const s=arguments.length;return s===2?me(t)&&!Z(t)?hn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&hn(n)&&(n=[n]),ae(e,t,n))}const Zi="3.4.4",Qc="http://www.w3.org/2000/svg",Yc="http://www.w3.org/1998/Math/MathML",mt=typeof document<"u"?document:null,io=mt&&mt.createElement("template"),Zc={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 o=t==="svg"?mt.createElementNS(Qc,e):t==="mathml"?mt.createElementNS(Yc,e):mt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>mt.createTextNode(e),createComment:e=>mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{io.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const a=io.content;if(s==="svg"||s==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},eu=Symbol("_vtc");function tu(e,t,n){const s=e[eu];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const nu=Symbol("_vod"),su=Symbol("");function ru(e,t,n){const s=e.style,o=we(n);if(n&&!o){if(t&&!we(t))for(const r in t)n[r]==null&&qs(s,r,"");for(const r in n)qs(s,r,n[r])}else{const r=s.display;if(o){if(t!==n){const i=s[su];i&&(n+=";"+i),s.cssText=n}}else t&&e.removeAttribute("style");nu in e&&(s.display=r)}}const ao=/\s*!important$/;function qs(e,t,n){if(Z(n))n.forEach(s=>qs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ou(e,t);ao.test(n)?e.setProperty(zt(s),n.replace(ao,""),"important"):e[s]=n}}const lo=["Webkit","Moz","ms"],vs={};function ou(e,t){const n=vs[t];if(n)return n;let s=tt(t);if(s!=="filter"&&s in e)return vs[t]=s;s=Yn(s);for(let o=0;o<lo.length;o++){const r=lo[o]+s;if(r in e)return vs[t]=r}return t}const co="http://www.w3.org/1999/xlink";function iu(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(co,t.slice(6,t.length)):e.setAttributeNS(co,t,n);else{const r=dl(t);n==null||r&&!Jo(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function au(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),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 u=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Jo(n):n==null&&l==="string"?(n="",u=!0):l==="number"&&(n=0,u=!0)}try{e[t]=n}catch{}u&&e.removeAttribute(t)}function ea(e,t,n,s){e.addEventListener(t,n,s)}function lu(e,t,n,s){e.removeEventListener(t,n,s)}const uo=Symbol("_vei");function cu(e,t,n,s,o=null){const r=e[uo]||(e[uo]={}),i=r[t];if(s&&i)i.value=s;else{const[a,u]=uu(t);if(s){const l=r[t]=pu(s,o);ea(e,a,l,u)}else i&&(lu(e,a,i,u),r[t]=void 0)}}const fo=/(?:Once|Passive|Capture)$/;function uu(e){let t;if(fo.test(e)){t={};let s;for(;s=e.match(fo);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):zt(e.slice(2)),t]}let ws=0;const fu=Promise.resolve(),du=()=>ws||(fu.then(()=>ws=0),ws=Date.now());function pu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ke(hu(s,n.value),t,5,[s])};return n.value=e,n.attached=du(),n}function hu(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const po=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gu=(e,t,n,s,o,r,i,a,u)=>{const l=o==="svg";t==="class"?tu(e,s,l):t==="style"?ru(e,n,s):mn(t)?rr(t)||cu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mu(e,t,s,l))?au(e,t,s,r,i,a,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),iu(e,t,s,l))};function mu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&po(t)&&ee(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return po(t)&&we(n)?!1:t in e}const ho=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>Pn(t,n):t},ks=Symbol("_assign"),_u={created(e,{value:t},n){e.checked=Mn(t,n.props.value),e[ks]=ho(n),ea(e,"change",()=>{e[ks](yu(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ks]=ho(s),t!==n&&(e.checked=Mn(t,s.props.value))}};function yu(e){return"_value"in e?e._value:e.value}const ta=Ae({patchProp:gu},Zc);let ln,go=!1;function bu(){return ln||(ln=$c(ta))}function vu(){return ln=go?ln:Bc(ta),go=!0,ln}const wu=(...e)=>{const t=bu().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=sa(s);if(!o)return;const r=t._component;!ee(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,na(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},ku=(...e)=>{const t=vu().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=sa(s);if(o)return n(o,!0,na(o))},t};function na(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function sa(e){return we(e)?document.querySelector(e):e}const Nu=/#/g,Su=/&/g,Lu=/=/g,Tr=/\+/g,Tu=/%5e/gi,xu=/%60/gi,Au=/%7c/gi,Pu=/%20/gi;function Ru(e){return encodeURI(""+e).replace(Au,"|")}function Vs(e){return Ru(typeof e=="string"?e:JSON.stringify(e)).replace(Tr,"%2B").replace(Pu,"+").replace(Nu,"%23").replace(Su,"%26").replace(xu,"`").replace(Tu,"^")}function Ns(e){return Vs(e).replace(Lu,"%3D")}function Gn(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ju(e){return Gn(e.replace(Tr," "))}function Eu(e){return Gn(e.replace(Tr," "))}function xr(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 o=ju(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=Eu(s[2]||"");t[o]===void 0?t[o]=r:Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]}return t}function Ou(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ns(e)}=${Vs(n)}`).join("&"):`${Ns(e)}=${Vs(t)}`:Ns(e)}function ra(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Ou(t,e[t])).filter(Boolean).join("&")}const Iu=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Cu=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Mu=/^([/\\]\s*){2,}[^/\\]/;function Qt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Iu.test(e):Cu.test(e)||(t.acceptRelative?Mu.test(e):!1)}const $u=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function Bu(e){return!!e&&$u.test(e)}const Hu=/\/$|\/\?|\/#/;function Ks(e="",t){return t?Hu.test(e):e.endsWith("/")}function cs(e="",t){if(!t)return(Ks(e)?e.slice(0,-1):e)||"/";if(!Ks(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),s=e.slice(o));const[r,...i]=n.split("?");return(r.slice(0,-1)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Wn(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ks(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),s=e.slice(o),!n))return s;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function Fu(e=""){return e.startsWith("/")}function mo(e=""){return Fu(e)?e:"/"+e}function Du(e,t){if(ia(t)||Qt(e))return e;const n=cs(t);return e.startsWith(n)?e:Mt(n,e)}function Uu(e,t){if(ia(t))return e;const n=cs(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function oa(e,t){const n=Yt(e),s={...xr(n.search),...t};return n.search=ra(s),aa(n)}function ia(e){return!e||e==="/"}function Gu(e){return e&&e!=="/"}const Wu=/^\.?\//;function Mt(e,...t){let n=e||"";for(const s of t.filter(o=>Gu(o)))if(n){const o=s.replace(Wu,"");n=Wn(n)+o}else n=s;return n}function qu(e,t,n={}){return n.trailingSlash||(e=Wn(e),t=Wn(t)),n.leadingSlash||(e=mo(e),t=mo(t)),n.encoding||(e=Gn(e),t=Gn(t)),e===t}function Yt(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,g=""]=n;return{protocol:f.toLowerCase(),pathname:g,href:f+g,auth:"",host:"",search:"",hash:""}}if(!Qt(e,{acceptRelative:!0}))return t?Yt(t+e):_o(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[],{pathname:u,search:l,hash:d}=_o(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:u,search:l,hash:d}}function _o(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function aa(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",o=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol?e.protocol+"//":"")+o+r+t+n+s}const Vu=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},qn=Vu().app,Ku=()=>qn.baseURL,Ju=()=>qn.buildAssetsDir,Ar=(...e)=>Mt(la(),Ju(),...e),la=(...e)=>{const t=qn.cdnURL||qn.baseURL;return e.length?Mt(t,...e):t};globalThis.__buildAssetsURL=Ar,globalThis.__publicAssetsURL=la;const zu=/"(?:_|\\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*:/,Xu=/"(?: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*:/,Qu=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Yu(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Zu(e);return}return t}function Zu(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Vn(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(!Qu.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(zu.test(e)||Xu.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Yu)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}class ef extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function tf(e){var u,l,d,f,g;const t=((u=e.error)==null?void 0:u.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=((g=e.request)==null?void 0:g.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new ef(i,e.error?{cause:e.error}:void 0);for(const S of["request","options","response"])Object.defineProperty(a,S,{get(){return e[S]}});for(const[S,y]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,S,{get(){return e.response&&e.response[y]}});return a}const nf=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function yo(e="GET"){return nf.has(e.toUpperCase())}function sf(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 rf=new Set(["image/svg","application/xml","application/xhtml","application/html"]),of=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function af(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return of.test(t)?"json":rf.has(t)||t.startsWith("text/")?"text":"blob"}function lf(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[o,r]of new n((e==null?void 0:e.headers)||{}))s.headers.set(o,r)}return s}const cf=new Set([408,409,425,429,500,502,503,504]),uf=new Set([101,204,205,304]);function ca(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const u=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!u){let d;typeof a.options.retry=="number"?d=a.options.retry:d=yo(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):cf.has(f))){const g=a.options.retryDelay||0;return g>0&&await new Promise(S=>setTimeout(S,g)),r(a.request,{...a.options,retry:d-1,timeout:a.options.timeout})}}const l=tf(a);throw Error.captureStackTrace&&Error.captureStackTrace(l,r),l}const r=async function(u,l={}){var g;const d={request:u,options:lf(l,e.defaults,n),response:void 0,error:void 0};if(d.options.method=(g=d.options.method)==null?void 0:g.toUpperCase(),d.options.onRequest&&await d.options.onRequest(d),typeof d.request=="string"&&(d.options.baseURL&&(d.request=Du(d.request,d.options.baseURL)),(d.options.query||d.options.params)&&(d.request=oa(d.request,{...d.options.params,...d.options.query}))),d.options.body&&yo(d.options.method)&&(sf(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 S=new s;setTimeout(()=>S.abort(),d.options.timeout),d.options.signal=S.signal}try{d.response=await t(d.request,d.options)}catch(S){return d.error=S,d.options.onRequestError&&await d.options.onRequestError(d),await o(d)}if(d.response.body&&!uf.has(d.response.status)&&d.options.method!=="HEAD"){const S=(d.options.parseResponse?"json":d.options.responseType)||af(d.response.headers.get("content-type")||"");switch(S){case"json":{const y=await d.response.text(),A=d.options.parseResponse||Vn;d.response._data=A(y);break}case"stream":{d.response._data=d.response.body;break}default:d.response._data=await d.response[S]()}}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 o(d)):d.response},i=async function(u,l){return(await r(u,l))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>ca({...e,defaults:{...e.defaults,...a}}),i}const Pr=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")}(),ff=Pr.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),df=Pr.Headers,pf=Pr.AbortController,hf=ca({fetch:ff,Headers:df,AbortController:pf}),gf=hf;globalThis.$fetch||(globalThis.$fetch=gf.create({baseURL:Ku()}));function Js(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?Js(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const mf={run:e=>e()},_f=()=>mf,ua=typeof console.createTask<"u"?console.createTask:_f;function yf(e,t){const n=t.shift(),s=ua(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function bf(e,t){const n=t.shift(),s=ua(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Ss(e,t){for(const n of[...e])n(t)}class vf{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 o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.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,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),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 o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Js(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=Js(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(yf,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(bf,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ss(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Ss(this._after,o)}):(this._after&&o&&Ss(this._after,o),r)}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 fa(){return new vf}function wf(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=r();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>r(),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 o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const u=()=>{t=i},l=()=>t===i?u:void 0;zs.add(l);try{const d=o?o.run(i,a):a();return n||(t=void 0),await d}finally{zs.delete(l)}}}}function kf(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=wf({...e,...s})),t[n],t[n]}}}const Kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},bo="__unctx__",Nf=Kn[bo]||(Kn[bo]=kf()),Sf=(e,t={})=>Nf.get(e,t),vo="__unctx_async_handlers__",zs=Kn[vo]||(Kn[vo]=new Set);function da(e){const t=[];for(const o of zs){const r=o();r&&t.push(r)}const n=()=>{for(const o of t)o()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(o=>{throw n(),o})),[s,n]}const pa=Sf("nuxt-app",{asyncContext:!1}),Lf="__nuxt_plugin";function Tf(e){let t=0;const n={_scope:hl(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.9.0"},get vue(){return n.vueApp.version}},payload:nt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Pf(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=fa(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,r)=>{const i="$"+o;xn(n,i,r),xn(n.vueApp.config.globalProperties,i,r)},xn(n.vueApp,"$nuxt",n),xn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),window.useNuxtApp=window.useNuxtApp||ke;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=nt(n.payload.config);return n.provide("config",s),n}async function xf(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 Af(e,t){const n=[],s=[],o=[],r=[];let i=0;async function a(u){if(u.dependsOn&&!u.dependsOn.every(l=>n.includes(l)))s.push([new Set(u.dependsOn),u]);else{const l=xf(e,u).then(async()=>{u._name&&(n.push(u._name),await Promise.all(s.map(async([d,f])=>{d.has(u._name)&&(d.delete(u._name),d.size===0&&(i++,await a(f)))})))});u.parallel?o.push(l.catch(d=>r.push(d))):await l}}for(const u of t)await a(u);if(await Promise.all(o),i)for(let u=0;u<i;u++)await Promise.all(o);if(r.length)throw r[0]}function ut(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Lf]:!0,_name:t})}function Pf(e,t,n){const s=()=>n?t(...n):t();return pa.set(e),e.vueApp.runWithContext(s)}function ke(){var t;let e;if(Mi()&&(e=(t=as())==null?void 0:t.appContext.app.$nuxt),e=e||pa.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function gn(){return ke().$config}function xn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Rf="modulepreload",jf=function(e,t){return e[0]==="."?new URL(e,t).href:e},wo={},Ef=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link");o=Promise.all(n.map(i=>{if(i=jf(i,s),i in wo)return;wo[i]=!0;const a=i.endsWith(".css"),u=a?'[rel="stylesheet"]':"";if(!!s)for(let f=r.length-1;f>=0;f--){const g=r[f];if(g.href===i&&(!a||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":Rf,a||(d.as="script",d.crossOrigin=""),d.href=i,document.head.appendChild(d),a)return new Promise((f,g)=>{d.addEventListener("load",f),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},ko=(...e)=>Ef(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Of=-1,If=-2,Cf=-3,Mf=-4,$f=-5,Bf=-6;function Hf(e,t){return Ff(JSON.parse(e),t)}function Ff(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function o(r,i=!1){if(r===Of)return;if(r===Cf)return NaN;if(r===Mf)return 1/0;if(r===$f)return-1/0;if(r===Bf)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const u=a[0],l=t==null?void 0:t[u];if(l)return s[r]=l(o(a[1]));switch(u){case"Date":s[r]=new Date(a[1]);break;case"Set":const d=new Set;s[r]=d;for(let S=1;S<a.length;S+=1)d.add(o(a[S]));break;case"Map":const f=new Map;s[r]=f;for(let S=1;S<a.length;S+=2)f.set(o(a[S]),o(a[S+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const g=Object.create(null);s[r]=g;for(let S=1;S<a.length;S+=2)g[a[S]]=o(a[S+1]);break;default:throw new Error(`Unknown type ${u}`)}}else{const u=new Array(a.length);s[r]=u;for(let l=0;l<a.length;l+=1){const d=a[l];d!==If&&(u[l]=o(d))}}else{const u={};s[r]=u;for(const l in a){const d=a[l];u[l]=o(d)}}return s[r]}return o(0)}function Df(e){return Array.isArray(e)?e:[e]}const Uf=["title","titleTemplate","script","style","noscript"],En=["base","meta","link","style","script","noscript"],Gf=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Wf=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],ha=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],qf=typeof window<"u";function Rr(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 No(e){return e._h||Rr(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function ga(e,t){const{props:n,tag:s}=e;if(Wf.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];s==="meta"&&o.push("name","property","http-equiv");for(const r of o)if(typeof n[r]<"u"){const i=String(n[r]);return t&&!t(i)?!1:`${s}:${r}:${i}`}return!1}function So(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Vf(e,t,n){const s={tag:e,props:await ma(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return ha.forEach(o=>{const r=typeof s.props[o]<"u"?s.props[o]:n[o];typeof r<"u"&&((!["innerHTML","textContent","children"].includes(o)||Uf.includes(s.tag))&&(s[o==="children"?"innerHTML":o]=r),delete s.props[o])}),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(o=>({...s,props:{...s.props,content:o}})):s}function Kf(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 ma(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=Kf(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!ha.includes(n)){const s=String(e[n]),o=n.startsWith("data-");s==="true"||s===""?e[n]=o?"true":!0:e[n]||(o&&s==="false"?e[n]="false":delete e[n])}}return e}const Jf=10;async function zf(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&Gf.includes(n)).forEach(([n,s])=>{const o=Df(s);t.push(...o.map(r=>Vf(n,r,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<<Jf)+s,n))}const Lo={base:-10,title:10},To={critical:-80,high:-10,low:20};function Jn(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 Lo&&(t=Lo[e.tag]),typeof n=="string"&&n in To?t+To[n]:t)}const Xf=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],_a=["onload","onerror","onabort","onprogress","onloadstart"],pt="%separator";function On(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((u,l)=>u&&u[l]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.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"),(u,l)=>`${a}${l}`).trim())}),e.includes(pt)&&(e.endsWith(pt)&&(e=e.slice(0,-pt.length).trim()),e.startsWith(pt)&&(e=e.slice(pt.length).trim()),e=e.replace(new RegExp(`\\${pt}\\s*\\${pt}`,"g"),pt),e=On(e,{separator:n},n)),e}async function Qf(e){const t={tag:e.tagName.toLowerCase(),props:await ma(e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{})),innerHTML:e.innerHTML};return t._d=ga(t),t}async function ya(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 o=(await e.resolveTags()).map(f=>({tag:f,id:En.includes(f.tag)?No(f):f.tag,shouldRender:!0}));let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const g=(d=n==null?void 0:n[f])==null?void 0:d.children;for(const S of[...g].filter(y=>En.includes(y.tagName.toLowerCase())))r.elMap[S.getAttribute("data-hid")||No(await Qf(S))]=S}}r.pendingSideEffects={...r.sideEffects||{}},r.sideEffects={};function i(f,g,S){const y=`${f}:${g}`;r.sideEffects[y]=S,delete r.pendingSideEffects[y]}function a({id:f,$el:g,tag:S}){const y=S.tag.endsWith("Attrs");r.elMap[f]=g,y||(["textContent","innerHTML"].forEach(A=>{S[A]&&S[A]!==g[A]&&(g[A]=S[A])}),i(f,"el",()=>{r.elMap[f].remove(),delete r.elMap[f]})),Object.entries(S.props).forEach(([A,P])=>{const L=`attr:${A}`;if(A==="class")for(const k of(P||"").split(" ").filter(Boolean))y&&i(f,`${L}:${k}`,()=>g.classList.remove(k)),!g.classList.contains(k)&&g.classList.add(k);else g.getAttribute(A)!==P&&g.setAttribute(A,P===!0?"":String(P)),y&&i(f,L,()=>g.removeAttribute(A))})}const u=[],l={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:g,shouldRender:S,id:y}=f;if(S){if(g.tag==="title"){n.title=g.textContent;continue}f.$el=f.$el||r.elMap[y],f.$el?a(f):En.includes(g.tag)&&u.push(f)}}for(const f of u){const g=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),l[g]=l[g]||n.createDocumentFragment(),l[g].appendChild(f.$el)}for(const f of o)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(r.pendingSideEffects).forEach(f=>f()),e._dom=r,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Yf(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await ya(e,t),delete e._domUpdatePromise,s()}))}function Zf(e){return t=>{var s,o;const n=((o=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){Yf(r,e)}}}}}const ed=["templateParams","htmlAttrs","bodyAttrs"],td={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=ga(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const o=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&ed.includes(s.tag)&&(a="merge"),a==="merge"){const u=r.props;["class","style"].forEach(l=>{u[l]&&(s.props[l]?(l==="style"&&!u[l].endsWith(";")&&(u[l]+=";"),s.props[l]=`${u[l]} ${s.props[l]}`):s.props[l]=u[l])}),t[o].props={...u,...s.props};return}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);return}else if(Jn(s)>Jn(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(En.includes(s.tag)&&i===0){delete t[o];return}t[o]=s});const n=[];Object.values(t).forEach(s=>{const o=s._duped;delete s._duped,n.push(s),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},nd={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"}})}}},sd=["script","link","bodyAttrs"];function rd(e){const t={},n={};return Object.entries(e.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"?(_a.includes(s)&&(t[s]=`this.dataset.${s} = true`),n[s]=o):t[s]=o}),{props:t,eventHandlers:n}}const od=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(sd.includes(n.tag)){const{props:s,eventHandlers:o}=rd(n);n.props=s,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||Rr(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(t,n,s){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,i])=>{const a=`${t.tag._d||t.tag._p}:${r}`,u=r.slice(2).toLowerCase(),l=`data-h-${u}`;if(s(t.id,a,()=>{}),t.$el.hasAttribute(l))return;t.$el.setAttribute(l,"");let d;const f=g=>{i(g),d==null||d.disconnect()};r in t.$el.dataset?f(new Event(r.replace("on",""))):_a.includes(r)&&typeof MutationObserver<"u"?(d=new MutationObserver(g=>{g.some(y=>y.attributeName===`data-${r}`)&&(f(new Event(r.replace("on",""))),d==null||d.disconnect())}),d.observe(t.$el,{attributes:!0})):o.addEventListener(u,f),s(t.id,a,()=>{d==null||d.disconnect(),o.removeEventListener(u,f),t.$el.removeAttribute(l)})})}}}),id=["link","style","script","noscript"],ad={hooks:{"tag:normalise":({tag:e})=>{e.key&&id.includes(e.tag)&&(e.props["data-hid"]=e._h=Rr(e.key))}}},ld={hooks:{"tags:resolve":e=>{const t=n=>{var s;return(s=e.tags.find(o=>o._d===n))==null?void 0:s._p};for(const{prefix:n,offset:s}of Xf)for(const o of e.tags.filter(r=>typeof r.tagPriority=="string"&&r.tagPriority.startsWith(n))){const r=t(o.tagPriority.replace(n,""));typeof r<"u"&&(o._p=r+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>Jn(n)-Jn(s))}}},cd={meta:"content",link:"href",htmlAttrs:"lang"},ud=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,s=(a=n.find(u=>u.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(u=>u.tag==="templateParams"),r=o!==-1?n[o].props:{},i=r.separator||"|";delete r.separator,r.pageTitle=On(r.pageTitle||s||"",r,i);for(const u of n.filter(l=>l.processTemplateParams!==!1)){const l=cd[u.tag];l&&typeof u.props[l]=="string"?u.props[l]=On(u.props[l],r,i):(u.processTemplateParams===!0||["titleTemplate","title"].includes(u.tag))&&["innerHTML","textContent"].forEach(d=>{typeof u[d]=="string"&&(u[d]=On(u[d],r,i))})}e._templateParams=r,e._separator=i,t.tags=n.filter(u=>u.tag!=="templateParams")}}}),fd={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const s=t.findIndex(o=>o.tag==="title");if(s!==-1&&n!==-1){const o=So(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=So(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},dd={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 ba;function pd(e={}){const t=hd(e);return t.use(Zf()),ba=t}function xo(e,t){return!e||e==="server"&&t||e==="client"&&!t}function hd(e={}){const t=fa();t.addHooks(e.hooks||{}),e.document=e.document||(qf?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(u){const l=typeof u=="function"?u(a):u;(!l.key||!i.some(d=>d.key===l.key))&&(i.push(l),xo(l.mode,n)&&t.addHooks(l.hooks||{}))},push(u,l){l==null||delete l.head;const d={_i:o++,input:u,...l};return xo(d.mode,n)&&(r.push(d),s()),{dispose(){r=r.filter(f=>f._i!==d._i),t.callHook("entries:updated",a),s()},patch(f){r=r.map(g=>(g._i===d._i&&(g.input=d.input=f),g)),s()}}},async resolveTags(){const u={tags:[],entries:[...r]};await t.callHook("entries:resolve",u);for(const l of u.entries){const d=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(d):d),l.resolvedInput)for(const f of await zf(l)){const g={tag:f,entry:l,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",g),u.tags.push(g.tag)}}return await t.callHook("tags:beforeResolve",u),await t.callHook("tags:resolve",u),await t.callHook("tags:afterResolve",u),u.tags},ssr:n};return[td,nd,od,ad,ld,ud,fd,dd,...(e==null?void 0:e.plugins)||[]].forEach(u=>a.use(u)),a.hooks.callHook("init",a),a}function gd(){return ba}const md=Zi.startsWith("3");function _d(e){return typeof e=="function"?e():ye(e)}function zn(e,t=""){if(e instanceof Promise)return e;const n=_d(e);return!e||!n?n:Array.isArray(n)?n.map(s=>zn(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,ye(o)]:[s,zn(o,s)])):n}const yd={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=zn(t.input)}}},va="usehead";function bd(e){return{install(n){md&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(va,e))}}.install}function vd(e={}){e.domDelayFn=e.domDelayFn||(n=>ts(()=>setTimeout(()=>n(),0)));const t=pd(e);return t.use(yd),t.install=bd(t),t}const Xs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qs="__unhead_injection_handler__";function wd(e){Xs[Qs]=e}function kd(){if(Qs in Xs)return Xs[Qs]();const e=qt(va);return e||gd()}function Nd(e,t={}){const n=t.head||kd();if(n)return n.ssr?n.push(e,t):Sd(n,e,t)}function Sd(e,t,n={}){const s=xe(!1),o=xe({});Si(()=>{o.value=s.value?{}:zn(t)});const r=e.push(o.value,n);return kt(o,a=>{r.patch(a)}),as()&&(wr(()=>{r.dispose()}),xi(()=>{s.value=!0}),Ti(()=>{s.value=!1})),r}function Ld(e){return{ctx:{table:e},matchAll:t=>ka(t,e)}}function wa(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,wa(o)])):new Map(Object.entries(e[n]));return t}function Td(e){return Ld(wa(e))}function ka(e,t){const n=[];for(const[o,r]of Ao(t.wildcard))e.startsWith(o)&&n.push(r);for(const[o,r]of Ao(t.dynamic))if(e.startsWith(o+"/")){const i="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...ka(i,r))}const s=t.static.get(e);return s&&n.push(s),n.filter(Boolean)}function Ao(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ys(e,t,n=".",s){if(!Ls(t))return Ys(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:Ls(i)&&Ls(o[r])?o[r]=Ys(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Ls(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.toStringTag in e)&&!(Symbol.iterator in e)}function Na(e){return(...t)=>t.reduce((n,s)=>Ys(n,s,"",e),{})}const xd=Na(),Ad=Na((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Pd(e,t){try{return t in e}catch{return!1}}var Rd=Object.defineProperty,jd=(e,t,n)=>t in e?Rd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,At=(e,t,n)=>(jd(e,typeof t!="symbol"?t+"":t,n),n);class Zs extends Error{constructor(t,n={}){super(t,n),At(this,"statusCode",500),At(this,"fatal",!1),At(this,"unhandled",!1),At(this,"statusMessage"),At(this,"data"),At(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:er(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Sa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}At(Zs,"__h3_error__",!0);function Ed(e){if(typeof e=="string")return new Zs(e);if(Od(e))return e;const t=new Zs(e.message??e.statusMessage??"",{cause:e.cause||e});if(Pd(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=er(e.statusCode,t.statusCode):e.status&&(t.statusCode=er(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Sa(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 Od(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Id=/[^\u0009\u0020-\u007E]/g;function Sa(e=""){return e.replace(Id,"")}function er(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const La=Symbol("route"),Ta="__nuxt_error",jr=()=>mi(ke().payload,"error"),Cd=e=>{const t=xa(e);try{const n=ke(),s=jr();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Md=async(e={})=>{const t=ke(),n=jr();t.callHook("app:error:cleared",e),e.redirect&&await $t().replace(e.redirect),n.value=null},$d=e=>!!e&&typeof e=="object"&&Ta in e,xa=e=>{const t=Ed(e);return Object.defineProperty(t,Ta,{value:!0,configurable:!1,writable:!1}),t},$t=()=>{var e;return(e=ke())==null?void 0:e.$router},Aa=()=>Mi()?qt(La,ke()._route):ke()._route;const Bd=()=>{try{if(ke()._processingMiddleware)return!0}catch{return!0}return!1},Pa=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:oa(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:u={}}=t.open,l=Object.entries(u).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)||Qt(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=Yt(n).protocol;if(a&&Bu(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=Bd();if(!s&&o)return e;const r=$t(),i=ke();return s?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?r.replace(e):r.push(e)},Hd={nuxt:{buildId:"a1bda626-9ed5-4567-877d-1f5b32a734fd"}},Fd=Ad(Hd);function Dd(){const e=ke();return e._appConfig||(e._appConfig=nt(Fd)),e._appConfig}const Ud={componentName:"NuxtLink"},Gd="#__nuxt";let In,Ra;function Wd(){var t;const e=(t=Dd().nuxt)==null?void 0:t.buildId;return In=$fetch(Ar(`builds/meta/${e}.json`)),In.then(n=>{Ra=Td(n.matcher)}),In}function us(){return In||Wd()}async function ja(e){return await us(),xd({},...Ra.matchAll(e).reverse())}function Po(e,t={}){const n=qd(e,t),s=ke(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=Vd(e).then(r=>r?Ea(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Ro="json";function qd(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"||Qt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return Mt(gn().app.baseURL,n.pathname,s?`_payload.${s}.${Ro}`:`_payload.${Ro}`)}async function Ea(e){const t=fetch(e).then(n=>n.text().then(Oa));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Vd(e=Aa().path){if(e=cs(e),(await us()).prerendered.includes(e))return!0;const n=await ja(e);return!!n.prerender&&!n.redirect}let An=null;async function Kd(){if(An)return An;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Oa(e.textContent||""),n=e.dataset.src?await Ea(e.dataset.src):void 0;return An={...t,...n,...window.__NUXT__},An}function Oa(e){return Hf(e,ke()._payloadRevivers)}function Jd(e,t){ke()._payloadRevivers[e]=t}const jo={NuxtError:e=>xa(e),EmptyShallowRef:e=>Wr(e==="_"?void 0:e==="0n"?BigInt(0):Vn(e)),EmptyRef:e=>xe(e==="_"?void 0:e==="0n"?BigInt(0):Vn(e)),ShallowRef:e=>Wr(e),ShallowReactive:e=>li(e),Ref:e=>xe(e),Reactive:e=>nt(e)},zd=ut({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in jo)Jd(s,jo[s]);Object.assign(e.payload,([t,n]=da(()=>e.runWithContext(Kd)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Xd=[],Qd=ut({name:"nuxt:head",enforce:"pre",setup(e){const t=vd({plugins:Xd});wd(()=>ke().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await ya(t)};t.hooks.hook("dom:beforeRender",o=>{o.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)}}}),Yd=async e=>{let t,n;const s=([t,n]=da(()=>ja(e.path)),t=await t,n(),t);if(s.redirect)return s.redirect},Zd=[Yd];function Ts(e){typeof e=="object"&&(e=aa({pathname:e.path||"",search:ra(e.query||{}),hash:e.hash||""}));const t=Yt(e.toString());return{path:t.pathname,fullPath:e,query:xr(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const ep=ut({name:"nuxt:router",enforce:"pre",setup(e){const t=Uu(window.location.pathname,gn().app.baseURL)+window.location.search+window.location.hash,n=[],s={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(d,f)=>(s[d].push(f),()=>s[d].splice(s[d].indexOf(f),1)),r=gn().app.baseURL,i=nt(Ts(t));async function a(d,f){try{const g=Ts(d);for(const S of s["navigate:before"]){const y=await S(g,i);if(y===!1||y instanceof Error)return;if(typeof y=="string"&&y.length)return a(y,!0)}for(const S of s["resolve:before"])await S(g,i);Object.assign(i,g),window.history[f?"replaceState":"pushState"]({},"",Mt(r,g.fullPath)),e.isHydrating||await e.runWithContext(Md);for(const S of s["navigate:after"])await S(g,i)}catch(g){for(const S of s.error)await S(g)}}const u={currentRoute:i,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:d=>a(d,!1),replace:d=>a(d,!0),back:()=>window.history.go(-1),go:d=>window.history.go(d),forward:()=>window.history.go(1),beforeResolve:d=>o("resolve:before",d),beforeEach:d=>o("navigate:before",d),afterEach:d=>o("navigate:after",d),onError:d=>o("error",d),resolve:Ts,addRoute:(d,f)=>{n.push(f)},getRoutes:()=>n,hasRoute:d=>n.some(f=>f.name===d),removeRoute:d=>{const f=n.findIndex(g=>g.name===d);f!==-1&&n.splice(f,1)}};e.vueApp.component("RouterLink",lt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(d,{slots:f})=>{const g=()=>a(d.to,d.replace);return()=>{var y;const S=u.resolve(d.to);return d.custom?(y=f.default)==null?void 0:y.call(f,{href:d.to,navigate:g,route:S}):Ws("a",{href:d.to,onClick:A=>(A.preventDefault(),g())},f)}}})),window.addEventListener("popstate",d=>{const f=d.target.location;u.replace(f.href.replace(f.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const l=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{u.beforeEach(async(d,f)=>{d.meta=nt(d.meta||{}),e.isHydrating&&l&&!Ot(d.meta.layout)&&(d.meta.layout=l),e._processingMiddleware=!0;{const g=new Set([...Zd,...e._middleware.global]);for(const S of g){const y=await e.runWithContext(()=>S(d,f));if(y!==!0&&(y||y===!1))return y}}}),u.afterEach(()=>{delete e._processingMiddleware}),await u.replace(t),qu(i.fullPath,t)||await e.runWithContext(()=>Pa(i.fullPath))}),{provide:{route:i,router:u}}}}),tr=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),tp=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Er=e=>{const t=ke();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{tr(e)}):tr(e)},np=ut({name:"nuxt:payload",setup(e){$t().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Po(t.path);s&&Object.assign(e.static.data,s.data)}),Er(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Yt(n).protocol||await Po(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(us,1e3)})}}),sp=ut(e=>{let t;async function n(){const s=await us();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Ar("builds/latest.json"));o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}Er(()=>{t=setTimeout(n,1e3*60*60)})}),rp=ut({name:"nuxt:global-components"}),op="$s";function ip(...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 o=op+n,r=ke(),i=mi(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Pe(a))return r.payload.state[o]=a,a;i.value=a}return i}const ap="__NUXT_COLOR_MODE__",lp="nuxt-color-mode",st=window[ap]||{},cp=ut(e=>{const t=ip("color-mode",()=>nt({preference:st.preference,value:st.value,unknown:!1,forced:!1})).value;$t().afterEach(o=>{const r=o.meta.colorMode;r&&r!=="system"?(t.value=r,t.forced=!0):(r==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?st.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=st.getColorScheme())}))}kt(()=>t.preference,o=>{var r;t.forced||(o==="system"?(t.value=st.getColorScheme(),s()):t.value=o,(r=window.localStorage)==null||r.setItem(lp,o))},{immediate:!0}),kt(()=>t.value,(o,r)=>{st.removeColorScheme(r),st.addColorScheme(o)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=st.preference,t.value=st.value,t.unknown=!1)}),e.provide("colorMode",t)}),up=ut(()=>{});function fp(e={}){const t=e.path||window.location.pathname;let n={};try{n=Vn(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:ke().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const dp=ut({name:"nuxt:chunk-reload",setup(e){const t=$t(),n=gn(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href.startsWith("#")?n.app.baseURL+r.href:Mt(n.app.baseURL,r.fullPath);fp({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),pp=[zd,Qd,ep,np,sp,rp,cp,up,dp],Ia=lt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(oe(),ve("div",{class:Ce(["n-icon",t.icon])},null,2))}}),fs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},hp={},gp={class:"n-badge"};function mp(e,t){return oe(),ve("span",gp,[Ye(e.$slots,"default")])}const _p=fs(hp,[["render",mp]]),yp={},bp={height:"25",width:"25",class:"d-inline-block mt-1",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},vp=ne("path",{fill:"#00DC82",d:"M62.3,-53.9C74.4,-34.5,73.5,-9,67.1,13.8C60.6,36.5,48.7,56.5,30.7,66.1C12.7,75.7,-11.4,74.8,-31.6,65.2C-51.8,55.7,-67.9,37.4,-73.8,15.7C-79.6,-6,-75.1,-31.2,-61.1,-51C-47.1,-70.9,-23.6,-85.4,0.8,-86C25.1,-86.7,50.2,-73.4,62.3,-53.9Z",transform:"translate(100 100)"},null,-1),wp=[vp];function kp(e,t){return oe(),ve("svg",bp,wp)}const Np=fs(yp,[["render",kp]]);async function Ca(e,t=$t()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Ca(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const Sp=(...e)=>e.find(t=>t!==void 0),Lp="noopener noreferrer";function Tp(e){const t=e.componentName||"NuxtLink",n=(s,o)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;if(typeof s=="string")return Eo(s,e.trailingSlash);const r="path"in s?s.path:o(s).path;return{...s,name:void 0,path:Eo(r,e.trailingSlash)}};return lt({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:o}){const r=$t(),i=gn(),a=et(()=>{const S=s.to||s.href||"";return n(S,r.resolve)}),u=et(()=>typeof a.value=="string"&&Qt(a.value,{acceptRelative:!0})),l=et(()=>s.external||s.target&&s.target!=="_self"?!0:typeof a.value=="object"?!1:a.value===""||u.value),d=xe(!1),f=xe(null),g=S=>{var y;f.value=s.custom?(y=S==null?void 0:S.$el)==null?void 0:y.nextElementSibling:S==null?void 0:S.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Pp()){const y=ke();let A,P=null;Pi(()=>{const L=Ap();Er(()=>{A=tr(()=>{var k;(k=f==null?void 0:f.value)!=null&&k.tagName&&(P=L.observe(f.value,async()=>{P==null||P(),P=null;const p=typeof a.value=="string"?a.value:r.resolve(a.value).fullPath;await Promise.all([y.hooks.callHook("link:prefetch",p).catch(()=>{}),!l.value&&Ca(a.value,r).catch(()=>{})]),d.value=!0}))})})}),wr(()=>{A&&tp(A),P==null||P(),P=null})}return()=>{var L,k;if(!l.value){const p={ref:g,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&&(p.class=s.prefetchedClass||e.prefetchedClass),p.rel=s.rel),Ws(Zl("RouterLink"),p,o.default)}const S=typeof a.value=="object"?((L=r.resolve(a.value))==null?void 0:L.href)??null:a.value&&!s.external&&!u.value?n(Mt(i.app.baseURL,a.value),r.resolve):a.value||null,y=s.target||null,A=s.noRel?null:Sp(s.rel,e.externalRelAttribute,S?Lp:"")||null,P=()=>Pa(S,{replace:s.replace});return s.custom?o.default?o.default({href:S,navigate:P,get route(){if(!S)return;const p=Yt(S);return{path:p.pathname,fullPath:p.pathname,get query(){return xr(p.search)},hash:p.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:S}},rel:A,target:y,isExternal:l.value,isActive:!1,isExactActive:!1}):null:Ws("a",{ref:f,href:S,rel:A,target:y},(k=o.default)==null?void 0:k.call(o))}}})}const xp=Tp(Ud);function Eo(e,t){const n=t==="append"?Wn:cs;return Qt(e)&&!e.startsWith("http")?e:n(e,!0)}function Ap(){const e=ke();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const u of a){const l=n.get(u.target);(u.isIntersecting||u.intersectionRatio>0)&&l&&l()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function Pp(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Rp={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},jp=lt({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=et(()=>t.href||t.to);return(s,o)=>{const r=xp;return oe(),He(r,Xi(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:Ve(()=>[Ye(s.$slots,"default"),n.value&&s.target==="_blank"?(oe(),ve("div",Rp)):yt("",!0)]),_:3},16,["class"])}}}),Ep={},Op={class:"n-loading n-panel-grids-center"},Ip={class:"flex flex-col animate-pulse items-center text-lg"},Cp=ne("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Mp(e,t){return oe(),ve("div",Op,[ne("div",Ip,[Cp,Ye(e.$slots,"default",{},()=>[De(" Loading... ")])])])}const $p=fs(Ep,[["render",Mp]]);var Ma=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},$a={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Ma,()=>{return n={770:function(o,r,i){var a=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(r,"__esModule",{value:!0}),r.setDefaultDebugCall=r.createOnigScanner=r.createOnigString=r.loadWASM=r.OnigScanner=r.OnigString=void 0;const u=a(i(418));let l=null,d=!1;class f{static _utf8ByteLength(L){let k=0;for(let p=0,b=L.length;p<b;p++){const h=L.charCodeAt(p);let c=h,_=!1;if(h>=55296&&h<=56319&&p+1<b){const v=L.charCodeAt(p+1);v>=56320&&v<=57343&&(c=65536+(h-55296<<10)|v-56320,_=!0)}k+=c<=127?1:c<=2047?2:c<=65535?3:4,_&&p++}return k}constructor(L){const k=L.length,p=f._utf8ByteLength(L),b=p!==k,h=b?new Uint32Array(k+1):null;b&&(h[k]=p);const c=b?new Uint32Array(p+1):null;b&&(c[p]=k);const _=new Uint8Array(p);let v=0;for(let m=0;m<k;m++){const w=L.charCodeAt(m);let N=w,x=!1;if(w>=55296&&w<=56319&&m+1<k){const j=L.charCodeAt(m+1);j>=56320&&j<=57343&&(N=65536+(w-55296<<10)|j-56320,x=!0)}b&&(h[m]=v,x&&(h[m+1]=v),N<=127?c[v+0]=m:N<=2047?(c[v+0]=m,c[v+1]=m):N<=65535?(c[v+0]=m,c[v+1]=m,c[v+2]=m):(c[v+0]=m,c[v+1]=m,c[v+2]=m,c[v+3]=m)),N<=127?_[v++]=N:N<=2047?(_[v++]=192|(1984&N)>>>6,_[v++]=128|(63&N)>>>0):N<=65535?(_[v++]=224|(61440&N)>>>12,_[v++]=128|(4032&N)>>>6,_[v++]=128|(63&N)>>>0):(_[v++]=240|(1835008&N)>>>18,_[v++]=128|(258048&N)>>>12,_[v++]=128|(4032&N)>>>6,_[v++]=128|(63&N)>>>0),x&&m++}this.utf16Length=k,this.utf8Length=p,this.utf16Value=L,this.utf8Value=_,this.utf16OffsetToUtf8=h,this.utf8OffsetToUtf16=c}createString(L){const k=L._omalloc(this.utf8Length);return L.HEAPU8.set(this.utf8Value,k),k}}class g{constructor(L){if(this.id=++g.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=L;const k=new f(L);this.utf16Length=k.utf16Length,this.utf8Length=k.utf8Length,this.utf16OffsetToUtf8=k.utf16OffsetToUtf8,this.utf8OffsetToUtf16=k.utf8OffsetToUtf16,this.utf8Length<1e4&&!g._sharedPtrInUse?(g._sharedPtr||(g._sharedPtr=l._omalloc(1e4)),g._sharedPtrInUse=!0,l.HEAPU8.set(k.utf8Value,g._sharedPtr),this.ptr=g._sharedPtr):this.ptr=k.createString(l)}convertUtf8OffsetToUtf16(L){return this.utf8OffsetToUtf16?L<0?0:L>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[L]:L}convertUtf16OffsetToUtf8(L){return this.utf16OffsetToUtf8?L<0?0:L>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[L]:L}dispose(){this.ptr===g._sharedPtr?g._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}r.OnigString=g,g.LAST_ID=0,g._sharedPtr=0,g._sharedPtrInUse=!1;class S{constructor(L){if(!l)throw new Error("Must invoke loadWASM first.");const k=[],p=[];for(let _=0,v=L.length;_<v;_++){const m=new f(L[_]);k[_]=m.createString(l),p[_]=m.utf8Length}const b=l._omalloc(4*L.length);l.HEAPU32.set(k,b/4);const h=l._omalloc(4*L.length);l.HEAPU32.set(p,h/4);const c=l._createOnigScanner(b,h,L.length);for(let _=0,v=L.length;_<v;_++)l._ofree(k[_]);l._ofree(h),l._ofree(b),c===0&&function(_){throw new Error(_.UTF8ToString(_._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=c}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(L,k,p){let b=d,h=0;if(typeof p=="number"?(8&p&&(b=!0),h=p):typeof p=="boolean"&&(b=p),typeof L=="string"){L=new g(L);const c=this._findNextMatchSync(L,k,b,h);return L.dispose(),c}return this._findNextMatchSync(L,k,b,h)}_findNextMatchSync(L,k,p,b){const h=this._onigBinding;let c;if(c=p?h._findNextOnigScannerMatchDbg(this._ptr,L.id,L.ptr,L.utf8Length,L.convertUtf16OffsetToUtf8(k),b):h._findNextOnigScannerMatch(this._ptr,L.id,L.ptr,L.utf8Length,L.convertUtf16OffsetToUtf8(k),b),c===0)return null;const _=h.HEAPU32;let v=c/4;const m=_[v++],w=_[v++];let N=[];for(let x=0;x<w;x++){const j=L.convertUtf8OffsetToUtf16(_[v++]),B=L.convertUtf8OffsetToUtf16(_[v++]);N[x]={start:j,end:B,length:B-j}}return{index:m,captureIndices:N}}}r.OnigScanner=S;let y=!1,A=null;r.loadWASM=function(P){if(y)return A;let L,k,p,b;if(y=!0,function(h){return typeof h.instantiator=="function"}(P))L=P.instantiator,k=P.print;else{let h;(function(c){return c.data!==void 0})(P)?(h=P.data,k=P.print):h=P,L=function(c){return typeof Response<"u"&&c instanceof Response}(h)?typeof WebAssembly.instantiateStreaming=="function"?function(c){return _=>WebAssembly.instantiateStreaming(c,_)}(h):function(c){return async _=>{const v=await c.arrayBuffer();return WebAssembly.instantiate(v,_)}}(h):function(c){return _=>WebAssembly.instantiate(c,_)}(h)}return A=new Promise((h,c)=>{p=h,b=c}),function(h,c,_,v){(0,u.default)({print:c,instantiateWasm:(m,w)=>{if(typeof performance>"u"){const N=()=>Date.now();m.env.emscripten_get_now=N,m.wasi_snapshot_preview1.emscripten_get_now=N}return h(m).then(N=>w(N.instance),v),{}}}).then(m=>{l=m,_()})}(L,k,p,b),A},r.createOnigString=function(P){return new g(P)},r.createOnigScanner=function(P){return new S(P)},r.setDefaultDebugCall=function(P){d=P}},418:o=>{var r=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,u,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(O,$){a=O,u=$});var d,f=Object.assign({},l),g=!1,S="";function y(O){return l.locateFile?l.locateFile(O,S):S+O}d=function(O){let $;return typeof readbuffer=="function"?new Uint8Array(readbuffer(O)):($=read(O,"binary"),b(typeof $=="object"),$)},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 A,P,L=l.print||console.log.bind(console),k=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&&(A=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&pe("no native wasm support detected");var p=!1;function b(O,$){O||pe($)}var h,c,_,v=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function m(O,$,z){for(var Y=$+z,X=$;O[X]&&!(X>=Y);)++X;if(X-$>16&&O.buffer&&v)return v.decode(O.subarray($,X));for(var Q="";$<X;){var re=O[$++];if(128&re){var Se=63&O[$++];if((224&re)!=192){var $e=63&O[$++];if((re=(240&re)==224?(15&re)<<12|Se<<6|$e:(7&re)<<18|Se<<12|$e<<6|63&O[$++])<65536)Q+=String.fromCharCode(re);else{var Zt=re-65536;Q+=String.fromCharCode(55296|Zt>>10,56320|1023&Zt)}}else Q+=String.fromCharCode((31&re)<<6|Se)}else Q+=String.fromCharCode(re)}return Q}function w(O,$){return O?m(c,O,$):""}function N(O){h=O,l.HEAP8=new Int8Array(O),l.HEAP16=new Int16Array(O),l.HEAP32=new Int32Array(O),l.HEAPU8=c=new Uint8Array(O),l.HEAPU16=new Uint16Array(O),l.HEAPU32=_=new Uint32Array(O),l.HEAPF32=new Float32Array(O),l.HEAPF64=new Float64Array(O)}l.INITIAL_MEMORY;var x=[],j=[],B=[];function D(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)q(l.preRun.shift());R(x)}function I(){R(j)}function J(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)he(l.postRun.shift());R(B)}function q(O){x.unshift(O)}function te(O){j.unshift(O)}function he(O){B.unshift(O)}var ue=0,se=null;function fe(O){ue++,l.monitorRunDependencies&&l.monitorRunDependencies(ue)}function de(O){if(ue--,l.monitorRunDependencies&&l.monitorRunDependencies(ue),ue==0&&se){var $=se;se=null,$()}}function pe(O){l.onAbort&&l.onAbort(O),k(O="Aborted("+O+")"),p=!0,O+=". Build with -sASSERTIONS for more info.";var $=new WebAssembly.RuntimeError(O);throw u($),$}var ge,F,_e="data:application/octet-stream;base64,";function ie(O){return O.startsWith(_e)}function Re(O){try{if(O==ge&&A)return new Uint8Array(A);if(d)return d(O);throw"both async and sync fetching of the wasm failed"}catch($){pe($)}}function qe(){return A||!g||typeof fetch!="function"?Promise.resolve().then(function(){return Re(ge)}):fetch(ge,{credentials:"same-origin"}).then(function(O){if(!O.ok)throw"failed to load wasm binary file at '"+ge+"'";return O.arrayBuffer()}).catch(function(){return Re(ge)})}function T(){var O={env:H,wasi_snapshot_preview1:H};function $(X,Q){var re=X.exports;l.asm=re,N((P=l.asm.memory).buffer),l.asm.__indirect_function_table,te(l.asm.__wasm_call_ctors),de()}function z(X){$(X.instance)}function Y(X){return qe().then(function(Q){return WebAssembly.instantiate(Q,O)}).then(function(Q){return Q}).then(X,function(Q){k("failed to asynchronously prepare wasm: "+Q),pe(Q)})}if(fe(),l.instantiateWasm)try{return l.instantiateWasm(O,$)}catch(X){k("Module.instantiateWasm callback failed with error: "+X),u(X)}return(A||typeof WebAssembly.instantiateStreaming!="function"||ie(ge)||typeof fetch!="function"?Y(z):fetch(ge,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,O).then(z,function(Q){return k("wasm streaming compile failed: "+Q),k("falling back to ArrayBuffer instantiation"),Y(z)})})).catch(u),{}}function R(O){for(;O.length>0;)O.shift()(l)}function E(O,$,z){c.copyWithin(O,$,$+z)}function C(O){try{return P.grow(O-h.byteLength+65535>>>16),N(P.buffer),1}catch{}}function M(O){var $,z=c.length,Y=2147483648;if((O>>>=0)>Y)return!1;for(var X=1;X<=4;X*=2){var Q=z*(1+.2/X);if(Q=Math.min(Q,O+100663296),C(Math.min(Y,($=Math.max(O,Q))+(65536-$%65536)%65536)))return!0}return!1}ie(ge="onig.wasm")||(ge=y(ge)),F=typeof dateNow<"u"?dateNow:()=>performance.now();var W=[null,[],[]];function V(O,$){var z=W[O];$===0||$===10?((O===1?L:k)(m(z,0)),z.length=0):z.push($)}function U(O,$,z,Y){for(var X=0,Q=0;Q<z;Q++){var re=_[$>>2],Se=_[$+4>>2];$+=8;for(var $e=0;$e<Se;$e++)V(O,c[re+$e]);X+=Se}return _[Y>>2]=X,0}var G,H={emscripten_get_now:F,emscripten_memcpy_big:E,emscripten_resize_heap:M,fd_write:U};function K(O){function $(){G||(G=!0,l.calledRun=!0,p||(I(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),J()))}ue>0||(D(),ue>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),$()},1)):$()))}if(T(),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,se=function O(){G||K(),G||(se=O)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return K(),i.ready});o.exports=r}},s={},function o(r){var i=s[r];if(i!==void 0)return i.exports;var a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(770);var n,s})})($a);var xs=$a.exports,Ba={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(Ma,function(){return(()=>{var n={350:(o,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.UseOnigurumaFindOptions=r.DebugFlags=void 0,r.DebugFlags={InDebugMode:typeof process<"u"&&!1},r.UseOnigurumaFindOptions=!1},36:(o,r)=>{var i;Object.defineProperty(r,"__esModule",{value:!0}),r.toOptionalTokenType=r.EncodedTokenAttributes=void 0,(i=r.EncodedTokenAttributes||(r.EncodedTokenAttributes={})).toBinaryStr=function(a){let u=a.toString(2);for(;u.length<32;)u="0"+u;return u},i.print=function(a){const u=i.getLanguageId(a),l=i.getTokenType(a),d=i.getFontStyle(a),f=i.getForeground(a),g=i.getBackground(a);console.log({languageId:u,tokenType:l,fontStyle:d,foreground:f,background:g})},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,u,l,d,f,g,S){let y=i.getLanguageId(a),A=i.getTokenType(a),P=i.containsBalancedBrackets(a)?1:0,L=i.getFontStyle(a),k=i.getForeground(a),p=i.getBackground(a);return u!==0&&(y=u),l!==8&&(A=l),d!==null&&(P=d?1:0),f!==-1&&(L=f),g!==0&&(k=g),S!==0&&(p=S),(y<<0|A<<8|P<<10|L<<11|k<<15|p<<24)>>>0},r.toOptionalTokenType=function(a){return a}},996:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.BasicScopeAttributesProvider=r.BasicScopeAttributes=void 0;const a=i(878);class u{constructor(g,S){this.languageId=g,this.tokenType=S}}r.BasicScopeAttributes=u;class l{constructor(g,S){this._getBasicScopeAttributes=new a.CachedFn(y=>{const A=this._scopeToLanguage(y),P=this._toStandardTokenType(y);return new u(A,P)}),this._defaultAttributes=new u(g,8),this._embeddedLanguagesMatcher=new d(Object.entries(S||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(g){return g===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(g)}_scopeToLanguage(g){return this._embeddedLanguagesMatcher.match(g)||0}_toStandardTokenType(g){const S=g.match(l.STANDARD_TOKEN_TYPE_REGEXP);if(!S)return 8;switch(S[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!")}}r.BasicScopeAttributesProvider=l,l._NULL_SCOPE_METADATA=new u(0,0),l.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(g){if(g.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(g);const S=g.map(([y,A])=>a.escapeRegExpCharacters(y));S.sort(),S.reverse(),this.scopesRegExp=new RegExp(`^((${S.join(")|(")}))($|\\.)`,"")}}match(g){if(!this.scopesRegExp)return;const S=g.match(this.scopesRegExp);return S?this.values.get(S[1]):void 0}}},947:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LineTokens=r.BalancedBracketSelectors=r.StateStack=r.AttributedScopeStack=r.Grammar=r.createGrammar=void 0;const a=i(350),u=i(36),l=i(736),d=i(44),f=i(792),g=i(583),S=i(878),y=i(996),A=i(47);function P(v,m,w,N,x){const j=l.createMatchers(m,L),B=f.RuleFactory.getCompiledRuleId(w,N,x.repository);for(const D of j)v.push({debugSelector:m,matcher:D.matcher,ruleId:B,grammar:x,priority:D.priority})}function L(v,m){if(m.length<v.length)return!1;let w=0;return v.every(N=>{for(let x=w;x<m.length;x++)if(k(m[x],N))return w=x+1,!0;return!1})}function k(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]==="."}r.createGrammar=function(v,m,w,N,x,j,B,D){return new p(v,m,w,N,x,j,B,D)};class p{constructor(m,w,N,x,j,B,D,I){if(this._rootScopeName=m,this.balancedBracketSelectors=B,this._onigLib=I,this._basicScopeAttributesProvider=new y.BasicScopeAttributesProvider(N,x),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=D,this._grammar=b(w,null),this._injections=null,this._tokenTypeMatchers=[],j)for(const J of Object.keys(j)){const q=l.createMatchers(J,L);for(const te of q)this._tokenTypeMatchers.push({matcher:te.matcher,type:j[J]})}}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,N=(x=>x===this._rootScopeName?this._grammar:this.getExternalGrammar(x))(w);if(N){const x=N.injections;if(x)for(let B in x)P(m,B,x[B],this,N);const j=this._grammarRepository.injections(w);j&&j.forEach(B=>{const D=this.getExternalGrammar(B);if(D){const I=D.injectionSelector;I&&P(m,I,D,this,D)}})}return m.sort((x,j)=>x.priority-j.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,N=m(f.ruleIdFromNumber(w));return this._ruleId2desc[w]=N,N}getRule(m){return this._ruleId2desc[f.ruleIdToNumber(m)]}getExternalGrammar(m,w){if(this._includedGrammars[m])return this._includedGrammars[m];if(this._grammarRepository){const N=this._grammarRepository.lookup(m);if(N)return this._includedGrammars[m]=b(N,w&&w.$base),this._includedGrammars[m]}}tokenizeLine(m,w,N=0){const x=this._tokenize(m,w,!1,N);return{tokens:x.lineTokens.getResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}tokenizeLine2(m,w,N=0){const x=this._tokenize(m,w,!0,N);return{tokens:x.lineTokens.getBinaryResult(x.ruleStack,x.lineLength),ruleStack:x.ruleStack,stoppedEarly:x.stoppedEarly}}_tokenize(m,w,N,x){let j;if(this._rootId===-1&&(this._rootId=f.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),w&&w!==c.NULL)j=!1,w.reset();else{j=!0;const q=this._basicScopeAttributesProvider.getDefaultAttributes(),te=this.themeProvider.getDefaults(),he=u.EncodedTokenAttributes.set(0,q.languageId,q.tokenType,null,te.fontStyle,te.foregroundId,te.backgroundId),ue=this.getRule(this._rootId).getName(null,null);let se;se=ue?h.createRootAndLookUpScopeName(ue,he,this):h.createRoot("unknown",he),w=new c(null,this._rootId,-1,-1,!1,null,se,se)}m+=`
|
|
2
|
-
`;const B=this.createOnigString(m),D=B.content.length,I=new _(N,m,this._tokenTypeMatchers,this.balancedBracketSelectors),J=A._tokenizeString(this,B,j,0,w,I,!0,x);return d.disposeOnigString(B),{lineLength:D,lineTokens:I,ruleStack:J.stack,stoppedEarly:J.stoppedEarly}}}function b(v,m){return(v=S.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}r.Grammar=p;class h{constructor(m,w,N){this.parent=m,this.scopePath=w,this.tokenAttributes=N}static createRoot(m,w){return new h(null,new g.ScopeStack(null,m),w)}static createRootAndLookUpScopeName(m,w,N){const x=N.getMetadataForScope(m),j=new g.ScopeStack(null,m),B=N.themeProvider.themeMatch(j),D=h.mergeAttributes(w,x,B);return new h(null,j,D)}get scopeName(){return this.scopePath.scopeName}equals(m){return h._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,N){let x=-1,j=0,B=0;return N!==null&&(x=N.fontStyle,j=N.foregroundId,B=N.backgroundId),u.EncodedTokenAttributes.set(m,w.languageId,w.tokenType,null,x,j,B)}pushAttributed(m,w){if(m===null)return this;if(m.indexOf(" ")===-1)return h._pushAttributed(this,m,w);const N=m.split(/ /g);let x=this;for(const j of N)x=h._pushAttributed(x,j,w);return x}static _pushAttributed(m,w,N){const x=N.getMetadataForScope(w),j=m.scopePath.push(w),B=N.themeProvider.themeMatch(j),D=h.mergeAttributes(m.tokenAttributes,x,B);return new h(m,j,D)}getScopeNames(){return this.scopePath.getSegments()}}r.AttributedScopeStack=h;class c{constructor(m,w,N,x,j,B,D,I){this.parent=m,this.ruleId=w,this.beginRuleCapturedEOL=j,this.endRule=B,this.nameScopesList=D,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=N,this._anchorPos=x}equals(m){return m!==null&&c._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(){c._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(m,w,N,x,j,B,D){return new c(this,m,w,N,x,j,B,D)}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 c(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}}r.StateStack=c,c.NULL=new c(null,0,0,0,!1,null,null,null),r.BalancedBracketSelectors=class{constructor(v,m){this.allowAny=!1,this.balancedBracketScopes=v.flatMap(w=>w==="*"?(this.allowAny=!0,[]):l.createMatchers(w,L).map(N=>N.matcher)),this.unbalancedBracketScopes=m.flatMap(w=>l.createMatchers(w,L).map(N=>N.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 _{constructor(m,w,N,x){this.balancedBracketSelectors=x,this._emitBinaryTokens=m,this._tokenTypeOverrides=N,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 x;if(this._lastTokenEndIndex>=w)return;if(this._emitBinaryTokens){let j=m.tokenAttributes,B=!1;if((x=this.balancedBracketSelectors)!=null&&x.matchesAlways&&(B=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const D=m.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(D)&&(j=u.EncodedTokenAttributes.set(j,0,u.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&(B=this.balancedBracketSelectors.match(D))}if(B&&(j=u.EncodedTokenAttributes.set(j,0,8,B,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===j)return void(this._lastTokenEndIndex=w);if(a.DebugFlags.InDebugMode){const D=m.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let I=0;I<D.length;I++)console.log(" * "+D[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(j),void(this._lastTokenEndIndex=w)}const N=m.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,w).replace(/\n$/,"\\n")+"|");for(let j=0;j<N.length;j++)console.log(" * "+N[j])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:w,scopes:N}),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 N=new Uint32Array(this._binaryTokens.length);for(let x=0,j=this._binaryTokens.length;x<j;x++)N[x]=this._binaryTokens[x];return N}}r.LineTokens=_},965:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseInclude=r.TopLevelRepositoryReference=r.TopLevelReference=r.RelativeReference=r.SelfReference=r.BaseReference=r.ScopeDependencyProcessor=r.ExternalReferenceCollector=r.TopLevelRepositoryRuleReference=r.TopLevelRuleReference=void 0;const a=i(878);class u{constructor(c){this.scopeName=c}toKey(){return this.scopeName}}r.TopLevelRuleReference=u;class l{constructor(c,_){this.scopeName=c,this.ruleName=_}toKey(){return`${this.scopeName}#${this.ruleName}`}}r.TopLevelRepositoryRuleReference=l;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(c){const _=c.toKey();this._seenReferenceKeys.has(_)||(this._seenReferenceKeys.add(_),this._references.push(c))}}function f(h,c,_,v){const m=_.lookup(h.scopeName);if(!m){if(h.scopeName===c)throw new Error(`No grammar provided for <${c}>`);return}const w=_.lookup(c);h instanceof u?S({baseGrammar:w,selfGrammar:m},v):g(h.ruleName,{baseGrammar:w,selfGrammar:m,repository:m.repository},v);const N=_.injections(h.scopeName);if(N)for(const x of N)v.add(new u(x))}function g(h,c,_){c.repository&&c.repository[h]&&y([c.repository[h]],c,_)}function S(h,c){h.selfGrammar.patterns&&Array.isArray(h.selfGrammar.patterns)&&y(h.selfGrammar.patterns,{...h,repository:h.selfGrammar.repository},c),h.selfGrammar.injections&&y(Object.values(h.selfGrammar.injections),{...h,repository:h.selfGrammar.repository},c)}function y(h,c,_){for(const v of h){if(_.visitedRule.has(v))continue;_.visitedRule.add(v);const m=v.repository?a.mergeObjects({},c.repository,v.repository):c.repository;Array.isArray(v.patterns)&&y(v.patterns,{...c,repository:m},_);const w=v.include;if(!w)continue;const N=b(w);switch(N.kind){case 0:S({...c,selfGrammar:c.baseGrammar},_);break;case 1:S(c,_);break;case 2:g(N.ruleName,{...c,repository:m},_);break;case 3:case 4:const x=N.scopeName===c.selfGrammar.scopeName?c.selfGrammar:N.scopeName===c.baseGrammar.scopeName?c.baseGrammar:void 0;if(x){const j={baseGrammar:c.baseGrammar,selfGrammar:x,repository:m};N.kind===4?g(N.ruleName,j,_):S(j,_)}else N.kind===4?_.add(new l(N.scopeName,N.ruleName)):_.add(new u(N.scopeName))}}}r.ExternalReferenceCollector=d,r.ScopeDependencyProcessor=class{constructor(h,c){this.repo=h,this.initialScopeName=c,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new u(this.initialScopeName)]}processQueue(){const h=this.Q;this.Q=[];const c=new d;for(const _ of h)f(_,this.initialScopeName,this.repo,c);for(const _ of c.references)if(_ instanceof u){if(this.seenFullScopeRequests.has(_.scopeName))continue;this.seenFullScopeRequests.add(_.scopeName),this.Q.push(_)}else{if(this.seenFullScopeRequests.has(_.scopeName)||this.seenPartialScopeRequests.has(_.toKey()))continue;this.seenPartialScopeRequests.add(_.toKey()),this.Q.push(_)}}};class A{constructor(){this.kind=0}}r.BaseReference=A;class P{constructor(){this.kind=1}}r.SelfReference=P;class L{constructor(c){this.ruleName=c,this.kind=2}}r.RelativeReference=L;class k{constructor(c){this.scopeName=c,this.kind=3}}r.TopLevelReference=k;class p{constructor(c,_){this.scopeName=c,this.ruleName=_,this.kind=4}}function b(h){if(h==="$base")return new A;if(h==="$self")return new P;const c=h.indexOf("#");if(c===-1)return new k(h);if(c===0)return new L(h.substring(1));{const _=h.substring(0,c),v=h.substring(c+1);return new p(_,v)}}r.TopLevelRepositoryReference=p,r.parseInclude=b},391:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(l,d,f,g){g===void 0&&(g=f),Object.defineProperty(l,g,{enumerable:!0,get:function(){return d[f]}})}:function(l,d,f,g){g===void 0&&(g=f),l[g]=d[f]}),u=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(r,"__esModule",{value:!0}),u(i(947),r)},47:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.LocalStackElement=r._tokenizeString=void 0;const a=i(350),u=i(44),l=i(792),d=i(878);class f{constructor(p,b){this.stack=p,this.stoppedEarly=b}}function g(k,p,b,h,c,_,v,m){const w=p.content.length;let N=!1,x=-1;if(v){const D=function(I,J,q,te,he,ue){let se=he.beginRuleCapturedEOL?0:-1;const fe=[];for(let de=he;de;de=de.pop()){const pe=de.getRule(I);pe instanceof l.BeginWhileRule&&fe.push({rule:pe,stack:de})}for(let de=fe.pop();de;de=fe.pop()){const{ruleScanner:pe,findOptions:ge}=y(de.rule,I,de.stack.endRule,q,te===se),F=pe.findNextMatchSync(J,te,ge);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(pe.toString())),!F){a.DebugFlags.InDebugMode&&console.log(" popping "+de.rule.debugName+" - "+de.rule.debugWhileRegExp),he=de.stack.pop();break}if(F.ruleId!==l.whileRuleId){he=de.stack.pop();break}F.captureIndices&&F.captureIndices.length&&(ue.produce(de.stack,F.captureIndices[0].start),P(I,J,q,de.stack,ue,de.rule.whileCaptures,F.captureIndices),ue.produce(de.stack,F.captureIndices[0].end),se=F.captureIndices[0].end,F.captureIndices[0].end>te&&(te=F.captureIndices[0].end,q=!1))}return{stack:he,linePos:te,anchorPosition:se,isFirstLine:q}}(k,p,b,h,c,_);c=D.stack,h=D.linePos,b=D.isFirstLine,x=D.anchorPosition}const j=Date.now();for(;!N;){if(m!==0&&Date.now()-j>m)return new f(c,!0);B()}return new f(c,!1);function B(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${h}: |${p.content.substr(h).replace(/\n$/,"\\n")}|`));const D=function(te,he,ue,se,fe,de){const pe=function(Re,qe,T,R,E,C){const M=E.getRule(Re),{ruleScanner:W,findOptions:V}=S(M,Re,E.endRule,T,R===C);let U=0;a.DebugFlags.InDebugMode&&(U=d.performanceNow());const G=W.findNextMatchSync(qe,R,V);if(a.DebugFlags.InDebugMode){const H=d.performanceNow()-U;H>5&&console.warn(`Rule ${M.debugName} (${M.id}) matching took ${H} against '${qe}'`),console.log(` scanning for (linePos: ${R}, anchorPosition: ${C})`),console.log(W.toString()),G&&console.log(`matched rule id: ${G.ruleId} from ${G.captureIndices[0].start} to ${G.captureIndices[0].end}`)}return G?{captureIndices:G.captureIndices,matchedRuleId:G.ruleId}:null}(te,he,ue,se,fe,de),ge=te.getInjections();if(ge.length===0)return pe;const F=function(Re,qe,T,R,E,C,M){let W,V=Number.MAX_VALUE,U=null,G=0;const H=C.contentNameScopesList.getScopeNames();for(let K=0,O=Re.length;K<O;K++){const $=Re[K];if(!$.matcher(H))continue;const z=qe.getRule($.ruleId),{ruleScanner:Y,findOptions:X}=S(z,qe,null,R,E===M),Q=Y.findNextMatchSync(T,E,X);if(!Q)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${$.debugSelector}`),console.log(Y.toString()));const re=Q.captureIndices[0].start;if(!(re>=V)&&(V=re,U=Q.captureIndices,W=Q.ruleId,G=$.priority,V===E))break}return U?{priorityMatch:G===-1,captureIndices:U,matchedRuleId:W}:null}(ge,te,he,ue,se,fe,de);if(!F)return pe;if(!pe)return F;const _e=pe.captureIndices[0].start,ie=F.captureIndices[0].start;return ie<_e||F.priorityMatch&&ie===_e?F:pe}(k,p,b,h,c,x);if(!D)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),_.produce(c,w),void(N=!0);const I=D.captureIndices,J=D.matchedRuleId,q=!!(I&&I.length>0)&&I[0].end>h;if(J===l.endRuleId){const te=c.getRule(k);a.DebugFlags.InDebugMode&&console.log(" popping "+te.debugName+" - "+te.debugEndRegExp),_.produce(c,I[0].start),c=c.withContentNameScopesList(c.nameScopesList),P(k,p,b,c,_,te.endCaptures,I),_.produce(c,I[0].end);const he=c;if(c=c.parent,x=he.getAnchorPos(),!q&&he.getEnterPos()===h)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),c=he,_.produce(c,w),void(N=!0)}else{const te=k.getRule(J);_.produce(c,I[0].start);const he=c,ue=te.getName(p.content,I),se=c.contentNameScopesList.pushAttributed(ue,k);if(c=c.push(J,h,x,I[0].end===w,null,se,se),te instanceof l.BeginEndRule){const fe=te;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName+" - "+fe.debugBeginRegExp),P(k,p,b,c,_,fe.beginCaptures,I),_.produce(c,I[0].end),x=I[0].end;const de=fe.getContentName(p.content,I),pe=se.pushAttributed(de,k);if(c=c.withContentNameScopesList(pe),fe.endHasBackReferences&&(c=c.withEndRule(fe.getEndWithResolvedBackReferences(p.content,I))),!q&&he.hasSameRuleAs(c))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),c=c.pop(),_.produce(c,w),void(N=!0)}else if(te instanceof l.BeginWhileRule){const fe=te;a.DebugFlags.InDebugMode&&console.log(" pushing "+fe.debugName),P(k,p,b,c,_,fe.beginCaptures,I),_.produce(c,I[0].end),x=I[0].end;const de=fe.getContentName(p.content,I),pe=se.pushAttributed(de,k);if(c=c.withContentNameScopesList(pe),fe.whileHasBackReferences&&(c=c.withEndRule(fe.getWhileWithResolvedBackReferences(p.content,I))),!q&&he.hasSameRuleAs(c))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),c=c.pop(),_.produce(c,w),void(N=!0)}else{const fe=te;if(a.DebugFlags.InDebugMode&&console.log(" matched "+fe.debugName+" - "+fe.debugMatchRegExp),P(k,p,b,c,_,fe.captures,I),_.produce(c,I[0].end),c=c.pop(),!q)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),c=c.safePop(),_.produce(c,w),void(N=!0)}}I[0].end>h&&(h=I[0].end,b=!1)}}function S(k,p,b,h,c){return a.UseOnigurumaFindOptions?{ruleScanner:k.compile(p,b),findOptions:A(h,c)}:{ruleScanner:k.compileAG(p,b,h,c),findOptions:0}}function y(k,p,b,h,c){return a.UseOnigurumaFindOptions?{ruleScanner:k.compileWhile(p,b),findOptions:A(h,c)}:{ruleScanner:k.compileWhileAG(p,b,h,c),findOptions:0}}function A(k,p){let b=0;return k||(b|=1),p||(b|=4),b}function P(k,p,b,h,c,_,v){if(_.length===0)return;const m=p.content,w=Math.min(_.length,v.length),N=[],x=v[0].end;for(let j=0;j<w;j++){const B=_[j];if(B===null)continue;const D=v[j];if(D.length===0)continue;if(D.start>x)break;for(;N.length>0&&N[N.length-1].endPos<=D.start;)c.produceFromScopes(N[N.length-1].scopes,N[N.length-1].endPos),N.pop();if(N.length>0?c.produceFromScopes(N[N.length-1].scopes,D.start):c.produce(h,D.start),B.retokenizeCapturedWithRuleId){const J=B.getName(m,v),q=h.contentNameScopesList.pushAttributed(J,k),te=B.getContentName(m,v),he=q.pushAttributed(te,k),ue=h.push(B.retokenizeCapturedWithRuleId,D.start,-1,!1,null,q,he),se=k.createOnigString(m.substring(0,D.end));g(k,se,b&&D.start===0,D.start,ue,c,!1,0),u.disposeOnigString(se);continue}const I=B.getName(m,v);if(I!==null){const J=(N.length>0?N[N.length-1].scopes:h.contentNameScopesList).pushAttributed(I,k);N.push(new L(J,D.end))}}for(;N.length>0;)c.produceFromScopes(N[N.length-1].scopes,N[N.length-1].endPos),N.pop()}r._tokenizeString=g;class L{constructor(p,b){this.scopes=p,this.endPos=b}}r.LocalStackElement=L},974:(o,r)=>{function i(d,f){throw new Error("Near offset "+d.pos+": "+f+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(r,"__esModule",{value:!0}),r.parseJSON=void 0,r.parseJSON=function(d,f,g){let S=new a(d),y=new u,A=0,P=null,L=[],k=[];function p(){L.push(A),k.push(P)}function b(){A=L.pop(),P=k.pop()}function h(c){i(S,c)}for(;l(S,y);){if(A===0){if(P!==null&&h("too many constructs in root"),y.type===3){P={},g&&(P.$vscodeTextmateLocation=y.toLocation(f)),p(),A=1;continue}if(y.type===2){P=[],p(),A=4;continue}h("unexpected token in root")}if(A===2){if(y.type===5){b();continue}if(y.type===7){A=3;continue}h("expected , or }")}if(A===1||A===3){if(A===1&&y.type===5){b();continue}if(y.type===1){let c=y.value;if(l(S,y)&&y.type===6||h("expected colon"),l(S,y)||h("expected value"),A=2,y.type===1){P[c]=y.value;continue}if(y.type===8){P[c]=null;continue}if(y.type===9){P[c]=!0;continue}if(y.type===10){P[c]=!1;continue}if(y.type===11){P[c]=parseFloat(y.value);continue}if(y.type===2){let _=[];P[c]=_,p(),A=4,P=_;continue}if(y.type===3){let _={};g&&(_.$vscodeTextmateLocation=y.toLocation(f)),P[c]=_,p(),A=1,P=_;continue}}h("unexpected token in dict")}if(A===5){if(y.type===4){b();continue}if(y.type===7){A=6;continue}h("expected , or ]")}if(A===4||A===6){if(A===4&&y.type===4){b();continue}if(A=5,y.type===1){P.push(y.value);continue}if(y.type===8){P.push(null);continue}if(y.type===9){P.push(!0);continue}if(y.type===10){P.push(!1);continue}if(y.type===11){P.push(parseFloat(y.value));continue}if(y.type===2){let c=[];P.push(c),p(),A=4,P=c;continue}if(y.type===3){let c={};g&&(c.$vscodeTextmateLocation=y.toLocation(f)),P.push(c),p(),A=1,P=c;continue}h("unexpected token in array")}h("unknown state")}return k.length!==0&&h("unclosed constructs"),P};class a{constructor(f){this.source=f,this.pos=0,this.len=f.length,this.line=1,this.char=0}}class u{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 g,S=d.source,y=d.pos,A=d.len,P=d.line,L=d.char;for(;;){if(y>=A)return!1;if(g=S.charCodeAt(y),g!==32&&g!==9&&g!==13){if(g!==10)break;y++,P++,L=0}else y++,L++}if(f.offset=y,f.line=P,f.char=L,g===34){for(f.type=1,y++,L++;;){if(y>=A)return!1;if(g=S.charCodeAt(y),y++,L++,g!==92){if(g===34)break}else y++,L++}f.value=S.substring(f.offset+1,y-1).replace(/\\u([0-9A-Fa-f]{4})/g,(k,p)=>String.fromCodePoint(parseInt(p,16))).replace(/\\(.)/g,(k,p)=>{switch(p){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
3
|
-
`;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(g===91)f.type=2,y++,L++;else if(g===123)f.type=3,y++,L++;else if(g===93)f.type=4,y++,L++;else if(g===125)f.type=5,y++,L++;else if(g===58)f.type=6,y++,L++;else if(g===44)f.type=7,y++,L++;else if(g===110){if(f.type=8,y++,L++,g=S.charCodeAt(y),g!==117||(y++,L++,g=S.charCodeAt(y),g!==108)||(y++,L++,g=S.charCodeAt(y),g!==108))return!1;y++,L++}else if(g===116){if(f.type=9,y++,L++,g=S.charCodeAt(y),g!==114||(y++,L++,g=S.charCodeAt(y),g!==117)||(y++,L++,g=S.charCodeAt(y),g!==101))return!1;y++,L++}else if(g===102){if(f.type=10,y++,L++,g=S.charCodeAt(y),g!==97||(y++,L++,g=S.charCodeAt(y),g!==108)||(y++,L++,g=S.charCodeAt(y),g!==115)||(y++,L++,g=S.charCodeAt(y),g!==101))return!1;y++,L++}else for(f.type=11;;){if(y>=A)return!1;if(g=S.charCodeAt(y),!(g===46||g>=48&&g<=57||g===101||g===69||g===45||g===43))break;y++,L++}return f.len=y-f.offset,f.value===null&&(f.value=S.substr(f.offset,f.len)),d.pos=y,d.line=P,d.char=L,!0}},787:function(o,r,i){var a=this&&this.__createBinding||(Object.create?function(y,A,P,L){L===void 0&&(L=P),Object.defineProperty(y,L,{enumerable:!0,get:function(){return A[P]}})}:function(y,A,P,L){L===void 0&&(L=P),y[L]=A[P]}),u=this&&this.__exportStar||function(y,A){for(var P in y)P==="default"||Object.prototype.hasOwnProperty.call(A,P)||a(A,y,P)};Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=r.INITIAL=r.Registry=void 0;const l=i(391),d=i(50),f=i(652),g=i(583),S=i(965);u(i(44),r),r.Registry=class{constructor(y){this._options=y,this._syncRegistry=new f.SyncRegistry(g.Theme.createFromRawTheme(y.theme,y.colorMap),y.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(y,A){this._syncRegistry.setTheme(g.Theme.createFromRawTheme(y,A))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(y,A,P){return this.loadGrammarWithConfiguration(y,A,{embeddedLanguages:P})}loadGrammarWithConfiguration(y,A,P){return this._loadGrammar(y,A,P.embeddedLanguages,P.tokenTypes,new l.BalancedBracketSelectors(P.balancedBracketSelectors||[],P.unbalancedBracketSelectors||[]))}loadGrammar(y){return this._loadGrammar(y,0,null,null,null)}async _loadGrammar(y,A,P,L,k){const p=new S.ScopeDependencyProcessor(this._syncRegistry,y);for(;p.Q.length>0;)await Promise.all(p.Q.map(b=>this._loadSingleGrammar(b.scopeName))),p.processQueue();return this._grammarForScopeName(y,A,P,L,k)}async _loadSingleGrammar(y){return this._ensureGrammarCache.has(y)||this._ensureGrammarCache.set(y,this._doLoadSingleGrammar(y)),this._ensureGrammarCache.get(y)}async _doLoadSingleGrammar(y){const A=await this._options.loadGrammar(y);if(A){const P=typeof this._options.getInjections=="function"?this._options.getInjections(y):void 0;this._syncRegistry.addGrammar(A,P)}}async addGrammar(y,A=[],P=0,L=null){return this._syncRegistry.addGrammar(y,A),await this._grammarForScopeName(y.scopeName,P,L)}_grammarForScopeName(y,A=0,P=null,L=null,k=null){return this._syncRegistry.grammarForScopeName(y,A,P,L,k)}},r.INITIAL=l.StateStack.NULL,r.parseRawGrammar=d.parseRawGrammar},736:(o,r)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(r,"__esModule",{value:!0}),r.createMatchers=void 0,r.createMatchers=function(a,u){const l=[],d=function(y){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,P=A.exec(y);return{next:()=>{if(!P)return null;const L=P[0];return P=A.exec(y),L}}}(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 A=S();if(l.push({matcher:A,priority:y}),f!==",")break;f=d.next()}return l;function g(){if(f==="-"){f=d.next();const y=g();return A=>!!y&&!y(A)}if(f==="("){f=d.next();const y=function(){const A=[];let P=S();for(;P&&(A.push(P),f==="|"||f===",");){do f=d.next();while(f==="|"||f===",");P=S()}return L=>A.some(k=>k(L))}();return f===")"&&(f=d.next()),y}if(i(f)){const y=[];do y.push(f),f=d.next();while(i(f));return A=>u(y,A)}return null}function S(){const y=[];let A=g();for(;A;)y.push(A),A=g();return P=>y.every(L=>L(P))}}},44:(o,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.disposeOnigString=void 0,r.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.parseRawGrammar=void 0;const a=i(69),u=i(350),l=i(974);r.parseRawGrammar=function(d,f=null){return f!==null&&/\.json$/.test(f)?(g=d,S=f,u.DebugFlags.InDebugMode?l.parseJSON(g,S,!0):JSON.parse(g)):function(y,A){return u.DebugFlags.InDebugMode?a.parseWithLocation(y,A,"$vscodeTextmateLocation"):a.parsePLIST(y)}(d,f);var g,S}},69:(o,r)=>{function i(a,u,l){const d=a.length;let f=0,g=1,S=0;function y(F){if(l===null)f+=F;else for(;F>0;)a.charCodeAt(f)===10?(f++,g++,S=0):(f++,S++),F--}function A(F){l===null?f=F:y(F-f)}function P(){for(;f<d;){let F=a.charCodeAt(f);if(F!==32&&F!==9&&F!==13&&F!==10)break;y(1)}}function L(F){return a.substr(f,F.length)===F&&(y(F.length),!0)}function k(F){let _e=a.indexOf(F,f);A(_e!==-1?_e+F.length:d)}function p(F){let _e=a.indexOf(F,f);if(_e!==-1){let ie=a.substring(f,_e);return A(_e+F.length),ie}{let ie=a.substr(f);return A(d),ie}}d>0&&a.charCodeAt(0)===65279&&(f=1);let b=0,h=null,c=[],_=[],v=null;function m(F,_e){c.push(b),_.push(h),b=F,h=_e}function w(){if(c.length===0)return N("illegal state stack");b=c.pop(),h=_.pop()}function N(F){throw new Error("Near offset "+f+": "+F+" ~~~"+a.substr(f,50)+"~~~")}const x=function(){if(v===null)return N("missing <key>");let F={};l!==null&&(F[l]={filename:u,line:g,char:S}),h[v]=F,v=null,m(1,F)},j=function(){if(v===null)return N("missing <key>");let F=[];h[v]=F,v=null,m(2,F)},B=function(){let F={};l!==null&&(F[l]={filename:u,line:g,char:S}),h.push(F),m(1,F)},D=function(){let F=[];h.push(F),m(2,F)};function I(){if(b!==1)return N("unexpected </dict>");w()}function J(){return b===1||b!==2?N("unexpected </array>"):void w()}function q(F){if(b===1){if(v===null)return N("missing <key>");h[v]=F,v=null}else b===2?h.push(F):h=F}function te(F){if(isNaN(F))return N("cannot parse float");if(b===1){if(v===null)return N("missing <key>");h[v]=F,v=null}else b===2?h.push(F):h=F}function he(F){if(isNaN(F))return N("cannot parse integer");if(b===1){if(v===null)return N("missing <key>");h[v]=F,v=null}else b===2?h.push(F):h=F}function ue(F){if(b===1){if(v===null)return N("missing <key>");h[v]=F,v=null}else b===2?h.push(F):h=F}function se(F){if(b===1){if(v===null)return N("missing <key>");h[v]=F,v=null}else b===2?h.push(F):h=F}function fe(F){if(b===1){if(v===null)return N("missing <key>");h[v]=F,v=null}else b===2?h.push(F):h=F}function de(){let F=p(">"),_e=!1;return F.charCodeAt(F.length-1)===47&&(_e=!0,F=F.substring(0,F.length-1)),{name:F.trim(),isClosed:_e}}function pe(F){if(F.isClosed)return"";let _e=p("</");return k(">"),_e.replace(/&#([0-9]+);/g,function(ie,Re){return String.fromCodePoint(parseInt(Re,10))}).replace(/&#x([0-9a-f]+);/g,function(ie,Re){return String.fromCodePoint(parseInt(Re,16))}).replace(/&|<|>|"|'/g,function(ie){switch(ie){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return ie})}for(;f<d&&(P(),!(f>=d));){const F=a.charCodeAt(f);if(y(1),F!==60)return N("expected <");if(f>=d)return N("unexpected end of input");const _e=a.charCodeAt(f);if(_e===63){y(1),k("?>");continue}if(_e===33){if(y(1),L("--")){k("-->");continue}k(">");continue}if(_e===47){if(y(1),P(),L("plist")){k(">");continue}if(L("dict")){k(">"),I();continue}if(L("array")){k(">"),J();continue}return N("unexpected closed tag")}let ie=de();switch(ie.name){case"dict":b===1?x():b===2?B():(h={},l!==null&&(h[l]={filename:u,line:g,char:S}),m(1,h)),ie.isClosed&&I();continue;case"array":b===1?j():b===2?D():(h=[],m(2,h)),ie.isClosed&&J();continue;case"key":ge=pe(ie),b!==1?N("unexpected <key>"):v!==null?N("too many <key>"):v=ge;continue;case"string":q(pe(ie));continue;case"real":te(parseFloat(pe(ie)));continue;case"integer":he(parseInt(pe(ie),10));continue;case"date":ue(new Date(pe(ie)));continue;case"data":se(pe(ie));continue;case"true":pe(ie),fe(!0);continue;case"false":pe(ie),fe(!1);continue}if(!/^plist/.test(ie.name))return N("unexpected opened tag "+ie.name)}var ge;return h}Object.defineProperty(r,"__esModule",{value:!0}),r.parsePLIST=r.parseWithLocation=void 0,r.parseWithLocation=function(a,u,l){return i(a,u,l)},r.parsePLIST=function(a){return i(a,null,null)}},652:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SyncRegistry=void 0;const a=i(391);r.SyncRegistry=class{constructor(u,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=u}dispose(){for(const u of this._grammars.values())u.dispose()}setTheme(u){this._theme=u}getColorMap(){return this._theme.getColorMap()}addGrammar(u,l){this._rawGrammars.set(u.scopeName,u),l&&this._injectionGrammars.set(u.scopeName,l)}lookup(u){return this._rawGrammars.get(u)}injections(u){return this._injectionGrammars.get(u)}getDefaults(){return this._theme.getDefaults()}themeMatch(u){return this._theme.match(u)}async grammarForScopeName(u,l,d,f,g){if(!this._grammars.has(u)){let S=this._rawGrammars.get(u);if(!S)return null;this._grammars.set(u,a.createGrammar(u,S,l,d,f,g,this,await this._onigLibPromise))}return this._grammars.get(u)}}},792:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.CompiledRule=r.RegExpSourceList=r.RegExpSource=r.RuleFactory=r.BeginWhileRule=r.BeginEndRule=r.IncludeOnlyRule=r.MatchRule=r.CaptureRule=r.Rule=r.ruleIdToNumber=r.ruleIdFromNumber=r.whileRuleId=r.endRuleId=void 0;const a=i(878),u=i(965),l=/\\(\d+)/,d=/\\(\d+)/g;r.endRuleId=-1,r.whileRuleId=-2,r.ruleIdFromNumber=function(h){return h},r.ruleIdToNumber=function(h){return h};class f{constructor(c,_,v,m){this.$location=c,this.id=_,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 c=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${c}`}getName(c,_){return this._nameIsCapturing&&this._name!==null&&c!==null&&_!==null?a.RegexSource.replaceCaptures(this._name,c,_):this._name}getContentName(c,_){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,c,_):this._contentName}}r.Rule=f;class g extends f{constructor(c,_,v,m,w){super(c,_,v,m),this.retokenizeCapturedWithRuleId=w}dispose(){}collectPatterns(c,_){throw new Error("Not supported!")}compile(c,_){throw new Error("Not supported!")}compileAG(c,_,v,m){throw new Error("Not supported!")}}r.CaptureRule=g;class S extends f{constructor(c,_,v,m,w){super(c,_,v,null),this._match=new k(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(c,_){_.push(this._match)}compile(c,_){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,_,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new p,this.collectPatterns(c,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.MatchRule=S;class y extends f{constructor(c,_,v,m,w){super(c,_,v,m),this.patterns=w.patterns,this.hasMissingPatterns=w.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(c,_){for(const v of this.patterns)c.getRule(v).collectPatterns(c,_)}compile(c,_){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,_,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new p,this.collectPatterns(c,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}r.IncludeOnlyRule=y;class A extends f{constructor(c,_,v,m,w,N,x,j,B,D){super(c,_,v,m),this._begin=new k(w,this.id),this.beginCaptures=N,this._end=new k(x||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=j,this.applyEndPatternLast=B||!1,this.patterns=D.patterns,this.hasMissingPatterns=D.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(c,_){return this._end.resolveBackReferences(c,_)}collectPatterns(c,_){_.push(this._begin)}compile(c,_){return this._getCachedCompiledPatterns(c,_).compile(c)}compileAG(c,_,v,m){return this._getCachedCompiledPatterns(c,_).compileAG(c,v,m)}_getCachedCompiledPatterns(c,_){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new p;for(const v of this.patterns)c.getRule(v).collectPatterns(c,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,_):this._cachedCompiledPatterns.setSource(0,_)),this._cachedCompiledPatterns}}r.BeginEndRule=A;class P extends f{constructor(c,_,v,m,w,N,x,j,B){super(c,_,v,m),this._begin=new k(w,this.id),this.beginCaptures=N,this.whileCaptures=j,this._while=new k(x,r.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=B.patterns,this.hasMissingPatterns=B.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(c,_){return this._while.resolveBackReferences(c,_)}collectPatterns(c,_){_.push(this._begin)}compile(c,_){return this._getCachedCompiledPatterns(c).compile(c)}compileAG(c,_,v,m){return this._getCachedCompiledPatterns(c).compileAG(c,v,m)}_getCachedCompiledPatterns(c){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new p;for(const _ of this.patterns)c.getRule(_).collectPatterns(c,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(c,_){return this._getCachedCompiledWhilePatterns(c,_).compile(c)}compileWhileAG(c,_,v,m){return this._getCachedCompiledWhilePatterns(c,_).compileAG(c,v,m)}_getCachedCompiledWhilePatterns(c,_){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new p,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,_||""),this._cachedCompiledWhilePatterns}}r.BeginWhileRule=P;class L{static createCaptureRule(c,_,v,m,w){return c.registerRule(N=>new g(_,N,v,m,w))}static getCompiledRuleId(c,_,v){return c.id||_.registerRule(m=>{if(c.id=m,c.match)return new S(c.$vscodeTextmateLocation,c.id,c.name,c.match,L._compileCaptures(c.captures,_,v));if(c.begin===void 0){c.repository&&(v=a.mergeObjects({},v,c.repository));let w=c.patterns;return w===void 0&&c.include&&(w=[{include:c.include}]),new y(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,L._compilePatterns(w,_,v))}return c.while?new P(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,c.begin,L._compileCaptures(c.beginCaptures||c.captures,_,v),c.while,L._compileCaptures(c.whileCaptures||c.captures,_,v),L._compilePatterns(c.patterns,_,v)):new A(c.$vscodeTextmateLocation,c.id,c.name,c.contentName,c.begin,L._compileCaptures(c.beginCaptures||c.captures,_,v),c.end,L._compileCaptures(c.endCaptures||c.captures,_,v),c.applyEndPatternLast,L._compilePatterns(c.patterns,_,v))}),c.id}static _compileCaptures(c,_,v){let m=[];if(c){let w=0;for(const N in c){if(N==="$vscodeTextmateLocation")continue;const x=parseInt(N,10);x>w&&(w=x)}for(let N=0;N<=w;N++)m[N]=null;for(const N in c){if(N==="$vscodeTextmateLocation")continue;const x=parseInt(N,10);let j=0;c[N].patterns&&(j=L.getCompiledRuleId(c[N],_,v)),m[x]=L.createCaptureRule(_,c[N].$vscodeTextmateLocation,c[N].name,c[N].contentName,j)}}return m}static _compilePatterns(c,_,v){let m=[];if(c)for(let w=0,N=c.length;w<N;w++){const x=c[w];let j=-1;if(x.include){const B=u.parseInclude(x.include);switch(B.kind){case 0:case 1:j=L.getCompiledRuleId(v[x.include],_,v);break;case 2:let D=v[B.ruleName];D&&(j=L.getCompiledRuleId(D,_,v));break;case 3:case 4:const I=B.scopeName,J=B.kind===4?B.ruleName:null,q=_.getExternalGrammar(I,v);if(q)if(J){let te=q.repository[J];te&&(j=L.getCompiledRuleId(te,_,q.repository))}else j=L.getCompiledRuleId(q.repository.$self,_,q.repository)}}else j=L.getCompiledRuleId(x,_,v);if(j!==-1){const B=_.getRule(j);let D=!1;if((B instanceof y||B instanceof A||B instanceof P)&&B.hasMissingPatterns&&B.patterns.length===0&&(D=!0),D)continue;m.push(j)}}return{patterns:m,hasMissingPatterns:(c?c.length:0)!==m.length}}}r.RuleFactory=L;class k{constructor(c,_){if(c){const v=c.length;let m=0,w=[],N=!1;for(let x=0;x<v;x++)if(c.charAt(x)==="\\"&&x+1<v){const j=c.charAt(x+1);j==="z"?(w.push(c.substring(m,x)),w.push("$(?!\\n)(?<!\\n)"),m=x+2):j!=="A"&&j!=="G"||(N=!0),x++}this.hasAnchor=N,m===0?this.source=c:(w.push(c.substring(m,v)),this.source=w.join(""))}else this.hasAnchor=!1,this.source=c;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=_,this.hasBackReferences=l.test(this.source)}clone(){return new k(this.source,this.ruleId)}setSource(c){this.source!==c&&(this.source=c,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(c,_){let v=_.map(m=>c.substring(m.start,m.end));return d.lastIndex=0,this.source.replace(d,(m,w)=>a.escapeRegExpCharacters(v[parseInt(w,10)]||""))}_buildAnchorCache(){let c,_,v,m,w=[],N=[],x=[],j=[];for(c=0,_=this.source.length;c<_;c++)v=this.source.charAt(c),w[c]=v,N[c]=v,x[c]=v,j[c]=v,v==="\\"&&c+1<_&&(m=this.source.charAt(c+1),m==="A"?(w[c+1]="",N[c+1]="",x[c+1]="A",j[c+1]="A"):m==="G"?(w[c+1]="",N[c+1]="G",x[c+1]="",j[c+1]="G"):(w[c+1]=m,N[c+1]=m,x[c+1]=m,j[c+1]=m),c++);return{A0_G0:w.join(""),A0_G1:N.join(""),A1_G0:x.join(""),A1_G1:j.join("")}}resolveAnchors(c,_){return this.hasAnchor&&this._anchorCache?c?_?this._anchorCache.A1_G1:this._anchorCache.A1_G0:_?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}r.RegExpSource=k;class p{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(c){this._items.push(c),this._hasAnchors=this._hasAnchors||c.hasAnchor}unshift(c){this._items.unshift(c),this._hasAnchors=this._hasAnchors||c.hasAnchor}length(){return this._items.length}setSource(c,_){this._items[c].source!==_&&(this._disposeCaches(),this._items[c].setSource(_))}compile(c){if(!this._cached){let _=this._items.map(v=>v.source);this._cached=new b(c,_,this._items.map(v=>v.ruleId))}return this._cached}compileAG(c,_,v){return this._hasAnchors?_?v?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(c,_,v)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(c,_,v)),this._anchorCache.A1_G0):v?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(c,_,v)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(c,_,v)),this._anchorCache.A0_G0):this.compile(c)}_resolveAnchors(c,_,v){let m=this._items.map(w=>w.resolveAnchors(_,v));return new b(c,m,this._items.map(w=>w.ruleId))}}r.RegExpSourceList=p;class b{constructor(c,_,v){this.regExps=_,this.rules=v,this.scanner=c.createOnigScanner(_)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const c=[];for(let _=0,v=this.rules.length;_<v;_++)c.push(" - "+this.rules[_]+": "+this.regExps[_]);return c.join(`
|
|
4
|
-
`)}findNextMatchSync(c,_,v){const m=this.scanner.findNextMatchSync(c,_,v);return m?{ruleId:this.rules[m.index],captureIndices:m.captureIndices}:null}}r.CompiledRule=b},583:(o,r,i)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.ThemeTrieElement=r.ThemeTrieElementRule=r.ColorMap=r.fontStyleToString=r.ParsedThemeRule=r.parseTheme=r.StyleAttributes=r.ScopeStack=r.Theme=void 0;const a=i(878);class u{constructor(k,p,b){this._colorMap=k,this._defaults=p,this._root=b,this._cachedMatchRoot=new a.CachedFn(h=>this._root.match(h))}static createFromRawTheme(k,p){return this.createFromParsedTheme(g(k),p)}static createFromParsedTheme(k,p){return function(b,h){b.sort((x,j)=>{let B=a.strcmp(x.scope,j.scope);return B!==0?B:(B=a.strArrCmp(x.parentScopes,j.parentScopes),B!==0?B:x.index-j.index)});let c=0,_="#000000",v="#ffffff";for(;b.length>=1&&b[0].scope==="";){let x=b.shift();x.fontStyle!==-1&&(c=x.fontStyle),x.foreground!==null&&(_=x.foreground),x.background!==null&&(v=x.background)}let m=new y(h),w=new f(c,m.getId(_),m.getId(v)),N=new P(new A(0,null,-1,0,0),[]);for(let x=0,j=b.length;x<j;x++){let B=b[x];N.insert(0,B.scope,B.parentScopes,B.fontStyle,m.getId(B.foreground),m.getId(B.background))}return new u(m,w,N)}(k,p)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(k){if(k===null)return this._defaults;const p=k.scopeName,b=this._cachedMatchRoot.get(p).find(h=>function(c,_){if(_===null)return!0;let v=0,m=_[v];for(;c;){if(d(c.scopeName,m)){if(v++,v===_.length)return!0;m=_[v]}c=c.parent}return!1}(k.parent,h.parentScopes));return b?new f(b.fontStyle,b.foreground,b.background):null}}r.Theme=u;class l{constructor(k,p){this.parent=k,this.scopeName=p}static from(...k){let p=null;for(let b=0;b<k.length;b++)p=new l(p,k[b]);return p}push(k){return new l(this,k)}getSegments(){let k=this;const p=[];for(;k;)p.push(k.scopeName),k=k.parent;return p.reverse(),p}toString(){return this.getSegments().join(" ")}}function d(L,k){return k===L||L.startsWith(k)&&L[k.length]==="."}r.ScopeStack=l;class f{constructor(k,p,b){this.fontStyle=k,this.foregroundId=p,this.backgroundId=b}}function g(L){if(!L)return[];if(!L.settings||!Array.isArray(L.settings))return[];let k=L.settings,p=[],b=0;for(let h=0,c=k.length;h<c;h++){let _,v=k[h];if(!v.settings)continue;if(typeof v.scope=="string"){let x=v.scope;x=x.replace(/^[,]+/,""),x=x.replace(/[,]+$/,""),_=x.split(",")}else _=Array.isArray(v.scope)?v.scope:[""];let m=-1;if(typeof v.settings.fontStyle=="string"){m=0;let x=v.settings.fontStyle.split(" ");for(let j=0,B=x.length;j<B;j++)switch(x[j]){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 N=null;typeof v.settings.background=="string"&&a.isValidHexColor(v.settings.background)&&(N=v.settings.background);for(let x=0,j=_.length;x<j;x++){let B=_[x].trim().split(" "),D=B[B.length-1],I=null;B.length>1&&(I=B.slice(0,B.length-1),I.reverse()),p[b++]=new S(D,I,h,m,w,N)}}return p}r.StyleAttributes=f,r.parseTheme=g;class S{constructor(k,p,b,h,c,_){this.scope=k,this.parentScopes=p,this.index=b,this.fontStyle=h,this.foreground=c,this.background=_}}r.ParsedThemeRule=S,r.fontStyleToString=function(L){if(L===-1)return"not set";let k="";return 1&L&&(k+="italic "),2&L&&(k+="bold "),4&L&&(k+="underline "),8&L&&(k+="strikethrough "),k===""&&(k="none"),k.trim()};class y{constructor(k){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(k)){this._isFrozen=!0;for(let p=0,b=k.length;p<b;p++)this._color2id[k[p]]=p,this._id2color[p]=k[p]}else this._isFrozen=!1}getId(k){if(k===null)return 0;k=k.toUpperCase();let p=this._color2id[k];if(p)return p;if(this._isFrozen)throw new Error(`Missing color in color map - ${k}`);return p=++this._lastColorId,this._color2id[k]=p,this._id2color[p]=k,p}getColorMap(){return this._id2color.slice(0)}}r.ColorMap=y;class A{constructor(k,p,b,h,c){this.scopeDepth=k,this.parentScopes=p,this.fontStyle=b,this.foreground=h,this.background=c}clone(){return new A(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(k){let p=[];for(let b=0,h=k.length;b<h;b++)p[b]=k[b].clone();return p}acceptOverwrite(k,p,b,h){this.scopeDepth>k?console.log("how did this happen?"):this.scopeDepth=k,p!==-1&&(this.fontStyle=p),b!==0&&(this.foreground=b),h!==0&&(this.background=h)}}r.ThemeTrieElementRule=A;class P{constructor(k,p=[],b={}){this._mainRule=k,this._children=b,this._rulesWithParentScopes=p}static _sortBySpecificity(k){return k.length===1||k.sort(this._cmpBySpecificity),k}static _cmpBySpecificity(k,p){if(k.scopeDepth===p.scopeDepth){const b=k.parentScopes,h=p.parentScopes;let c=b===null?0:b.length,_=h===null?0:h.length;if(c===_)for(let v=0;v<c;v++){const m=b[v].length,w=h[v].length;if(m!==w)return w-m}return _-c}return p.scopeDepth-k.scopeDepth}match(k){if(k==="")return P._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let p,b,h=k.indexOf(".");return h===-1?(p=k,b=""):(p=k.substring(0,h),b=k.substring(h+1)),this._children.hasOwnProperty(p)?this._children[p].match(b):P._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(k,p,b,h,c,_){if(p==="")return void this._doInsertHere(k,b,h,c,_);let v,m,w,N=p.indexOf(".");N===-1?(v=p,m=""):(v=p.substring(0,N),m=p.substring(N+1)),this._children.hasOwnProperty(v)?w=this._children[v]:(w=new P(this._mainRule.clone(),A.cloneArr(this._rulesWithParentScopes)),this._children[v]=w),w.insert(k+1,m,b,h,c,_)}_doInsertHere(k,p,b,h,c){if(p!==null){for(let _=0,v=this._rulesWithParentScopes.length;_<v;_++){let m=this._rulesWithParentScopes[_];if(a.strArrCmp(m.parentScopes,p)===0)return void m.acceptOverwrite(k,b,h,c)}b===-1&&(b=this._mainRule.fontStyle),h===0&&(h=this._mainRule.foreground),c===0&&(c=this._mainRule.background),this._rulesWithParentScopes.push(new A(k,p,b,h,c))}else this._mainRule.acceptOverwrite(k,b,h,c)}}r.ThemeTrieElement=P},878:(o,r)=>{function i(l){return Array.isArray(l)?function(d){let f=[];for(let g=0,S=d.length;g<S;g++)f[g]=i(d[g]);return f}(l):typeof l=="object"?function(d){let f={};for(let g in d)f[g]=i(d[g]);return f}(l):l}Object.defineProperty(r,"__esModule",{value:!0}),r.performanceNow=r.CachedFn=r.escapeRegExpCharacters=r.isValidHexColor=r.strArrCmp=r.strcmp=r.RegexSource=r.basename=r.mergeObjects=r.clone=void 0,r.clone=function(l){return i(l)},r.mergeObjects=function(l,...d){return d.forEach(f=>{for(let g in f)l[g]=f[g]}),l},r.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 u(l,d){return l<d?-1:l>d?1:0}r.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,d,f){return l.replace(a,(g,S,y,A)=>{let P=f[parseInt(S||y,10)];if(!P)return g;{let L=d.substring(P.start,P.end);for(;L[0]===".";)L=L.substring(1);switch(A){case"downcase":return L.toLowerCase();case"upcase":return L.toUpperCase();default:return L}}})}},r.strcmp=u,r.strArrCmp=function(l,d){if(l===null&&d===null)return 0;if(!l)return-1;if(!d)return 1;let f=l.length,g=d.length;if(f===g){for(let S=0;S<f;S++){let y=u(l[S],d[S]);if(y!==0)return y}return 0}return f-g},r.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))},r.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},r.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}},r.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},s={};return function o(r){var i=s[r];if(i!==void 0)return i.exports;var a=s[r]={exports:{}};return n[r].call(a.exports,a,a.exports,o),a.exports}(787)})()})})(Ba);var Ha=Ba.exports;const ds=[{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 bt=(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))(bt||{});class Ie{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=Ie.getLanguageId(t),s=Ie.getTokenType(t),o=Ie.getFontStyle(t),r=Ie.getForeground(t),i=Ie.getBackground(t);console.log({languageId:n,tokenType:s,fontStyle:o,foreground:r,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,o,r,i){let a=Ie.getLanguageId(t),u=Ie.getTokenType(t),l=Ie.getFontStyle(t),d=Ie.getForeground(t),f=Ie.getBackground(t),g=Ie.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(u=s===8?0:s),o!==-1&&(l=o),r!==0&&(d=r),i!==0&&(f=i),(a<<0|u<<8|l<<11|g<<10|d<<15|f<<24)>>>0}}function Bp(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function Hp(e){return e.startsWith("./")?e.slice(2):e}function Fa(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Da(...e){return e.map(Bp).map(Hp).join("/")}function Fp(e,t){const n=new Map;for(const s of e){const o=t(s);n.has(o)?n.get(o).push(s):n.set(o,[s])}return n}function Dp(e,t=!1){const n=e.length;let s=0,o="",r=0,i=16,a=0,u=0,l=0,d=0,f=0;function g(p,b){let h=0,c=0;for(;h<p||!b;){let _=e.charCodeAt(s);if(_>=48&&_<=57)c=c*16+_-48;else if(_>=65&&_<=70)c=c*16+_-65+10;else if(_>=97&&_<=102)c=c*16+_-97+10;else break;s++,h++}return h<p&&(c=-1),c}function S(p){s=p,o="",r=0,i=16,f=0}function y(){let p=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&Bt(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&Bt(e.charCodeAt(s)))for(s++;s<e.length&&Bt(e.charCodeAt(s));)s++;else return f=3,e.substring(p,s);let b=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&&Bt(e.charCodeAt(s))){for(s++;s<e.length&&Bt(e.charCodeAt(s));)s++;b=s}else f=3;return e.substring(p,b)}function A(){let p="",b=s;for(;;){if(s>=n){p+=e.substring(b,s),f=2;break}const h=e.charCodeAt(s);if(h===34){p+=e.substring(b,s),s++;break}if(h===92){if(p+=e.substring(b,s),s++,s>=n){f=2;break}switch(e.charCodeAt(s++)){case 34:p+='"';break;case 92:p+="\\";break;case 47:p+="/";break;case 98:p+="\b";break;case 102:p+="\f";break;case 110:p+=`
|
|
5
|
-
`;break;case 114:p+="\r";break;case 116:p+=" ";break;case 117:const _=g(4,!0);_>=0?p+=String.fromCharCode(_):f=4;break;default:f=5}b=s;continue}if(h>=0&&h<=31)if(tn(h)){p+=e.substring(b,s),f=2;break}else f=6;s++}return p}function P(){if(o="",f=0,r=s,u=a,d=l,s>=n)return r=n,i=17;let p=e.charCodeAt(s);if(As(p)){do s++,o+=String.fromCharCode(p),p=e.charCodeAt(s);while(As(p));return i=15}if(tn(p))return s++,o+=String.fromCharCode(p),p===13&&e.charCodeAt(s)===10&&(s++,o+=`
|
|
6
|
-
`),a++,l=s,i=14;switch(p){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++,o=A(),i=10;case 47:const b=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!tn(e.charCodeAt(s));)s++;return o=e.substring(b,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const h=n-1;let c=!1;for(;s<h;){const _=e.charCodeAt(s);if(_===42&&e.charCodeAt(s+1)===47){s+=2,c=!0;break}s++,tn(_)&&(_===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return c||(s++,f=1),o=e.substring(b,s),i=13}return o+=String.fromCharCode(p),s++,i=16;case 45:if(o+=String.fromCharCode(p),s++,s===n||!Bt(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 o+=y(),i=11;default:for(;s<n&&L(p);)s++,p=e.charCodeAt(s);if(r!==s){switch(o=e.substring(r,s),o){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return o+=String.fromCharCode(p),s++,i=16}}function L(p){if(As(p)||tn(p))return!1;switch(p){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let p;do p=P();while(p>=12&&p<=15);return p}return{setPosition:S,getPosition:()=>s,scan:t?k:P,getToken:()=>i,getTokenValue:()=>o,getTokenOffset:()=>r,getTokenLength:()=>s-r,getTokenStartLine:()=>u,getTokenStartCharacter:()=>r-d,getTokenError:()=>f}}function As(e){return e===32||e===9}function tn(e){return e===10||e===13}function Bt(e){return e>=48&&e<=57}var Oo;(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"})(Oo||(Oo={}));var Xn;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Xn||(Xn={}));function Up(e,t=[],n=Xn.DEFAULT){let s=null,o=[];const r=[];function i(u){Array.isArray(o)?o.push(u):s!==null&&(o[s]=u)}return Gp(e,{onObjectBegin:()=>{const u={};i(u),r.push(o),o=u,s=null},onObjectProperty:u=>{s=u},onObjectEnd:()=>{o=r.pop()},onArrayBegin:()=>{const u=[];i(u),r.push(o),o=u,s=null},onArrayEnd:()=>{o=r.pop()},onLiteralValue:i,onError:(u,l,d)=>{t.push({error:u,offset:l,length:d})}},n),o[0]}function Gp(e,t,n=Xn.DEFAULT){const s=Dp(e,!1),o=[];function r(x){return x?()=>x(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i(x){return x?()=>x(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}function a(x){return x?j=>x(j,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function u(x){return x?j=>x(j,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>o.slice()):()=>!0}const l=i(t.onObjectBegin),d=u(t.onObjectProperty),f=r(t.onObjectEnd),g=i(t.onArrayBegin),S=r(t.onArrayEnd),y=u(t.onLiteralValue),A=a(t.onSeparator),P=r(t.onComment),L=a(t.onError),k=n&&n.disallowComments,p=n&&n.allowTrailingComma;function b(){for(;;){const x=s.scan();switch(s.getTokenError()){case 4:h(14);break;case 5:h(15);break;case 3:h(13);break;case 1:k||h(11);break;case 2:h(12);break;case 6:h(16);break}switch(x){case 12:case 13:k?h(10):P();break;case 16:h(1);break;case 15:case 14:break;default:return x}}}function h(x,j=[],B=[]){if(L(x),j.length+B.length>0){let D=s.getToken();for(;D!==17;){if(j.indexOf(D)!==-1){b();break}else if(B.indexOf(D)!==-1)break;D=b()}}}function c(x){const j=s.getTokenValue();return x?y(j):(d(j),o.push(j)),b(),!0}function _(){switch(s.getToken()){case 11:const x=s.getTokenValue();let j=Number(x);isNaN(j)&&(h(2),j=0),y(j);break;case 7:y(null);break;case 8:y(!0);break;case 9:y(!1);break;default:return!1}return b(),!0}function v(){return s.getToken()!==10?(h(3,[],[2,5]),!1):(c(!1),s.getToken()===6?(A(":"),b(),N()||h(4,[],[2,5])):h(5,[],[2,5]),o.pop(),!0)}function m(){l(),b();let x=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if(x||h(4,[],[]),A(","),b(),s.getToken()===2&&p)break}else x&&h(6,[],[]);v()||h(4,[],[2,5]),x=!0}return f(),s.getToken()!==2?h(7,[2],[]):b(),!0}function w(){g(),b();let x=!0,j=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(j||h(4,[],[]),A(","),b(),s.getToken()===4&&p)break}else j&&h(6,[],[]);x?(o.push(0),x=!1):o[o.length-1]++,N()||h(4,[],[4,5]),j=!0}return S(),x||o.pop(),s.getToken()!==4?h(8,[4],[]):b(),!0}function N(){switch(s.getToken()){case 3:return w();case 1:return m();case 10:return c(!0);default:return _()}}return b(),s.getToken()===17?n.allowEmptyContent?!0:(h(4,[],[]),!1):N()?(s.getToken()!==17&&h(9,[],[]),!0):(h(4,[],[]),!1)}var Io;(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"})(Io||(Io={}));var Co;(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"})(Co||(Co={}));const Wp=Up;var Mo;(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"})(Mo||(Mo={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Ua="";const qp="dist/";function Vp(e){Ua=e.endsWith("/")?e:e+"/"}let Ps=null;async function Kp(e){if(!Ps){let t;t=xs.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Ga(Da(...Fa(e),"onig.wasm")))}),Ps=t.then(()=>({createOnigScanner(n){return xs.createOnigScanner(n)},createOnigString(n){return xs.createOnigString(n)}}))}return Ps}function Ga(e){return`${Ua}${e}`}async function Jp(e){const t=Ga(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Wa(e){const t=[],n=await Jp(e);let s;try{s=JSON.parse(n)}catch{if(s=Wp(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function qa(e){let t=await Wa(e);const n=Va(t);if(n.include){const s=await qa(Da(...Fa(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 zp(e){return await Wa(e)}function Xp(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 Va(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...Qp(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),Xp(n),n}const $o={light:"#333333",dark:"#bbbbbb"},Bo={light:"#fffffe",dark:"#1e1e1e"};function Qp(e){var r,i,a,u;let t,n,s=e.settings?e.settings:e.tokenColors;const o=s?s.find(l=>!l.name&&!l.scope):void 0;return(r=o==null?void 0:o.settings)!=null&&r.foreground&&(t=o.settings.foreground),(i=o==null?void 0:o.settings)!=null&&i.background&&(n=o.settings.background),!t&&((a=e==null?void 0:e.colors)!=null&&a["editor.foreground"])&&(t=e.colors["editor.foreground"]),!n&&((u=e==null?void 0:e.colors)!=null&&u["editor.background"])&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?$o.light:$o.dark),n||(n=e.type==="light"?Bo.light:Bo.dark),{fg:t,bg:n}}class Yp{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 zp(ds.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 Zp(e,t,n,s,o){let r=n.split(/\r\n|\r|\n/),i=Ha.INITIAL,a=[],u=[];for(let l=0,d=r.length;l<d;l++){let f=r[l];if(f===""){a=[],u.push([]);continue}let g,S,y;o.includeExplanation&&(g=s.tokenizeLine(f,i),S=g.tokens,y=0);let A=s.tokenizeLine2(f,i),P=A.tokens.length/2;for(let L=0;L<P;L++){let k=A.tokens[2*L],p=L+1<P?A.tokens[2*L+2]:f.length;if(k===p)continue;let b=A.tokens[2*L+1],h=Ie.getForeground(b),c=t[h],_=Ie.getFontStyle(b),v=[];if(o.includeExplanation){let m=0;for(;k+m<p;){let w=S[y],N=f.substring(w.startIndex,w.endIndex);m+=N.length,v.push({content:N,scopes:eh(e,w.scopes)}),y++}}a.push({content:f.substring(k,p),color:c,fontStyle:_,explanation:v})}u.push(a),a=[],i=A.ruleStack}return u}function eh(e,t){let n=[];for(let s=0,o=t.length;s<o;s++){let r=t.slice(0,s),i=t[s];n[s]={scopeName:i,themeMatches:nh(e,i,r)}}return n}function Ho(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function th(e,t,n,s){if(!Ho(e,n))return!1;let o=t.length-1,r=s.length-1;for(;o>=0&&r>=0;)Ho(t[o],s[r])&&o--,r--;return o===-1}function nh(e,t,n){let s=[],o=0;for(let r=0,i=e.settings.length;r<i;r++){let a=e.settings[r],u;if(typeof a.scope=="string")u=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))u=a.scope;else continue;for(let l=0,d=u.length;l<d;l++){let g=u[l].split(/ /),S=g[g.length-1],y=g.slice(0,g.length-1);th(S,y,t,n)&&(s[o++]=a,l=d)}}return s}var it=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Rs={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function sh(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 Fo(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 rh(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)Rs[s]&&t.push({type:"setDecoration",value:Rs[s]});else if(s<=29){const o=Rs[s-20];o&&t.push({type:"resetDecoration",value:o})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:it[s-30]}});else if(s===38){const o=Fo(e);o&&t.push({type:"setForegroundColor",value:o})}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:it[s-40]}});else if(s===48){const o=Fo(e);o&&t.push({type:"setBackgroundColor",value:o})}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:it[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:it[s-100+8]}})}return t}function oh(){let e=null,t=null,n=new Set;return{parse(s){const o=[];let r=0;do{const i=sh(s,r),a=i.sequence?s.substring(r,i.startPosition):s.substring(r);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const u=rh(i.sequence);for(const l of u)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 u)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}r=i.position}while(r<s.length);return o}}}var ih={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 ah(e=ih){function t(a){return e[a]}function n(a){return`#${a.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let s;function o(){if(s)return s;s=[];for(let l=0;l<it.length;l++)s.push(t(it[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 u=8;for(let l=0;l<24;l++,u+=10)s.push(n([u,u,u]));return s}function r(a){return o()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return r(a.index)}}return{value:i}}function lh(e,t){const n=t.split(/\r?\n/),s=ah(Object.fromEntries(it.map(r=>[r,e.colors[`terminal.ansi${r[0].toUpperCase()}${r.substring(1)}`]]))),o=oh();return n.map(r=>o.parse(r).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=ch(a));let u=bt.None;return i.decorations.has("bold")&&(u|=bt.Bold),i.decorations.has("italic")&&(u|=bt.Italic),i.decorations.has("underline")&&(u|=bt.Underline),{content:i.value,color:a,fontStyle:u}}))}function ch(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 uh={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 Do(e,t={}){const n=t.bg||"#fff",s=Fp(t.lineOptions??[],i=>i.line),o=t.elements||{};function r(i="",a={},u){const l=o[i]||uh[i];return l?(u=u.filter(Boolean),l({...a,children:i==="code"?u.join(`
|
|
7
|
-
`):u.join("")})):""}return r("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",r("code",{},e.map((i,a)=>{const u=a+1,l=s.get(u)??[],d=ph(l).join(" ");return r("line",{className:d,lines:e,line:i,index:a},i.map((f,g)=>{const S=[`color: ${f.color||t.fg}`];return f.fontStyle&bt.Italic&&S.push("font-style: italic"),f.fontStyle&bt.Bold&&S.push("font-weight: bold"),f.fontStyle&bt.Underline&&S.push("text-decoration: underline"),r("token",{style:S.join("; "),tokens:i,token:f,index:g},[dh(f.content)])}))}))])}const fh={"&":"&","<":"<",">":">",'"':""","'":"'"};function dh(e){return e.replace(/[&<>"']/g,t=>fh[t])}function ph(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 hh extends Ha.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=ds.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 qa(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=Va(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 r;const s={embeddedLanguages:(r=t.embeddedLangs)==null?void 0:r.reduce(async(i,a,u)=>{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]=u+2,i},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},o=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=o,t.aliases&&t.aliases.forEach(i=>{this._resolvedGrammars[i]=o})}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 Ka(e){return typeof e=="string"?ds.find(t=>{var n;return t.id===e||((n=t.aliases)==null?void 0:n.includes(e))}):e}function gh(e){var o;let t=ds,n=e.themes||[],s=(o=e.paths)!=null&&o.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":qp;return e.langs&&(t=e.langs.map(Ka)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function mh(){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<it.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=it[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function _h(e){var v,m;const{_languages:t,_themes:n,_wasmPath:s}=gh(e),o=new Yp(Kp(s),"vscode-oniguruma"),r=new hh(o);(v=e.paths)!=null&&v.themes&&(r.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(m=e.paths)!=null&&m.languages&&(o.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await r.loadThemes(n))[0];let u;await r.loadLanguages(t);let l=mh();function d(w){l=w}function f(w,N){w.bg=l[w.bg]||w.bg,w.fg=l[w.fg]||w.fg,Object.entries(w.colors).forEach(([x,j])=>{w.colors[x]=l[j]||j}),N.forEach((x,j)=>{N[j]=l[x]||x})}function g(w){const N=w?r.getTheme(w):a;if(!N)throw Error(`No theme registration for ${w}`);(!u||u.name!==N.name)&&(r.setTheme(N),u=N);const x=r.getColorMap();return N.type==="css"&&f(N,x),{_theme:N,_colorMap:x}}function S(w){const N=r.getGrammar(w);if(!N)throw Error(`No language registration for ${w}`);return{_grammar:N}}function y(w,N="text",x,j={includeExplanation:!0}){if(yh(N))return[...w.split(/\r\n|\r|\n/).map(q=>[{content:q}])];const{_grammar:B}=S(N),{_theme:D,_colorMap:I}=g(x);return Zp(D,I,w,B,j)}function A(w,N){const{_theme:x}=g(N);return lh(x,w)}function P(w,N="text",x){let j;typeof N=="object"?j=N:j={lang:N,theme:x};const B=y(w,j.lang,j.theme,{includeExplanation:!1}),{_theme:D}=g(j.theme);return Do(B,{fg:D.fg,bg:D.bg,lineOptions:j==null?void 0:j.lineOptions,themeName:D.name})}function L(w,N){const x=A(w,N==null?void 0:N.theme),{_theme:j}=g(N==null?void 0:N.theme);return Do(x,{fg:j.fg,bg:j.bg,lineOptions:N==null?void 0:N.lineOptions,themeName:j.name})}async function k(w){await r.loadTheme(w)}async function p(w){const N=Ka(w);o.addLanguage(N),await r.loadLanguage(N)}function b(){return r.getLoadedThemes()}function h(){return r.getLoadedLanguages()}function c(w){const{_theme:N}=g(w);return N.bg}function _(w){const{_theme:N}=g(w);return N.fg}return{codeToThemedTokens:y,codeToHtml:P,ansiToThemedTokens:A,ansiToHtml:L,getTheme:w=>g(w)._theme,loadTheme:k,loadLanguage:p,getBackgroundColor:c,getForegroundColor:_,getLoadedThemes:b,getLoadedLanguages:h,setColorReplacements:d}}function yh(e){return!e||["plaintext","txt","text"].includes(e)}const bh="0.14.0";Vp(`https://cdn.jsdelivr.net/npm/shiki-es@${bh}/dist/assets/`);let vh;const nn=[];function wh(e){if(nn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&nn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&nn.forEach(n=>n(t))},get(){return vh.value},configurable:!0}),()=>{nn.splice(nn.indexOf(e),1)}}const ht=xe(null);async function Ja(){nr.value&&(ht.value=await nr.value("/__site-config__/debug.json"))}const nr=xe(),za=xe(),Xa=xe();wh(async e=>{nr.value=e.host.app.$fetch,Si(()=>{Xa.value=e.host.app.colorMode.value}),za.value=e.devtools,Ja()});const Qa=xe();function kh(){return _h({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Qa.value=e})}function Nh(e,t){return et(()=>{var s;const n=((s=za.value)==null?void 0:s.colorMode)||"light";return Qa.value.codeToHtml(ye(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Sh=["innerHTML"],Lh=lt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=et(()=>{const s=Nh(t.code,t.lang);return t.transformRendered?t.transformRendered(s.value||""):s.value});return(s,o)=>(oe(),ve("pre",{class:Ce(["n-code-block",s.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Sh))}}),Th={flex:"~ gap-3","items-center":""},xh=lt({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(oe(),ve("div",Th,[t.icon?(oe(),ve("div",{key:0,class:Ce(t.icon)},null,2)):yt("",!0),Ye(t.$slots,"default",{},()=>[ne("div",null,ot(t.text),1)])]))}});typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ah=e=>typeof e<"u";function Ph(e){return JSON.parse(JSON.stringify(e))}function Rh(e,t,n,s={}){var o,r,i;const{clone:a=!1,passive:u=!1,eventName:l,deep:d=!1,defaultValue:f,shouldEmit:g}=s,S=as(),y=n||(S==null?void 0:S.emit)||((o=S==null?void 0:S.$emit)==null?void 0:o.bind(S))||((i=(r=S==null?void 0:S.proxy)==null?void 0:r.$emit)==null?void 0:i.bind(S==null?void 0:S.proxy));let A=l;t||(t="modelValue"),A=A||`update:${t.toString()}`;const P=p=>a?typeof a=="function"?a(p):Ph(p):p,L=()=>Ah(e[t])?P(e[t]):f,k=p=>{g?g(p)&&y(A,p):y(A,p)};if(u){const p=L(),b=xe(p);let h=!1;return kt(()=>e[t],c=>{h||(h=!0,b.value=P(c),ts(()=>h=!1))}),kt(b,c=>{!h&&(c!==e[t]||d)&&k(c)},{deep:d}),b}else return et({get(){return L()},set(p){k(p)}})}const Ya=e=>(Kl("data-v-348c1d92"),e=e(),Jl(),e),jh=["open"],Eh={"text-base":""},Oh={key:0,"text-sm":"",op50:""},Ih=Ya(()=>ne("div",{class:"flex-auto"},null,-1)),Ch=Ya(()=>ne("div",{class:"x-divider"},null,-1)),Mh=lt({__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=Rh(e,"open");function s(o){n.value=o.target.open}return(o,r)=>{const i=Ia,a=xh;return oe(),ve(Le,null,[ne("details",{open:ye(n),onToggle:s},[ne("summary",{class:Ce(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[ae(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ce([ye(n)?"op100":"op60",o.headerClass])},{default:Ve(()=>[ne("div",null,[ne("div",Eh,[Ye(o.$slots,"text",{},()=>[De(ot(o.text),1)],!0)]),o.description||o.$slots.description?(oe(),ve("div",Oh,[Ye(o.$slots,"description",{},()=>[De(ot(o.description),1)],!0)])):yt("",!0)]),Ih,Ye(o.$slots,"actions",{},void 0,!0),o.collapse?(oe(),He(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):yt("",!0)]),_:3},8,["icon","text","class"])],2),ne("div",{class:Ce(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Ye(o.$slots,"details",{},void 0,!0),ne("div",{class:Ce([o.containerClass,"mt1"])},[Ye(o.$slots,"default",{},void 0,!0)],2),Ye(o.$slots,"footer",{},void 0,!0)],2)],40,jh),Ch],64)}}}),$h=fs(Mh,[["__scopeId","data-v-348c1d92"]]),Bh={class:"relative p8 n-bg-base flex flex-col h-screen"},Hh={class:"flex justify-between items-center",mb6:""},Fh={"text-xl":"",mb2:"",flex:"","items-center":"","gap-2":""},Dh={class:"space-x-3 mt-1 ml-1 opacity-80 text-sm"},Uh={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Gh=ne("span",{class:"hidden sm:block"},"Nuxt",-1),Wh=ne("span",{class:"sm:text-green-500 dark:sm:text-green-400"},"SEO",-1),qh={class:"mb-6 text-xl"},Vh={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},Kh={class:"px-2 py-1"},Jh={"text-lg":"",flex:"","items-center":"","gap-2":"","mb-1":""},zh=ne("p",{"text-xs":"",op60:""}," The final resolved site config. ",-1),Xh={class:"px-2 py-1"},Qh={"text-lg":"",flex:"","items-center":"","gap-2":"","mb-1":""},Yh=ne("p",{"text-xs":"",op60:""}," Configs merged to create the resolved config. ",-1),Zh=["value","title"],eg={key:0},tg={key:0},ng={class:"space-y-3"},sg={class:"col-span-2 opacity-80"},rg={class:"col-span-7"},og={key:0,class:"opacity-40"},ig={key:1,class:"space-y-5"},ag={class:"opacity-80 text-base mb-1"},lg={class:"opacity-60 text-xs"},cg={class:"px-3 py-2 space-y-5"},ug=ne("div",{class:"flex-auto"},null,-1),fg=lt({__name:"app",async setup(e){let t,n;[t,n]=wc(()=>kh()),await t,n();const s=xe(!1);async function o(){s.value=!0,ht.value=null,await Ja(),setTimeout(()=>{s.value=!1},300)}const r=xe("config");Nd({htmlAttrs:{class:()=>Xa.value||""}});const i=et(()=>{var l;return(((l=ht.value)==null?void 0:l.stack)||[]).reverse()}),a=et(()=>{var d;const l={...((d=ht.value)==null?void 0:d.config)||{}};return delete l._context,Object.entries(l)});function u(l){const d={...l};return delete d._priority,delete d._context,d}return(l,d)=>{const f=Ia,g=_p,S=Np,y=jp,A=$p,P=Lh,L=$h;return oe(),ve("div",Bh,[ne("div",null,[ne("div",Hh,[ne("div",null,[ne("h1",Fh,[ae(f,{icon:"carbon:settings-check",class:"text-blue-300"}),De(" Nuxt Site Config "),ae(g,{class:"text-sm"},{default:Ve(()=>{var k,p;return[De(ot((p=(k=ye(ht))==null?void 0:k.runtimeConfig)==null?void 0:p.version),1)]}),_:1})]),ne("div",Dh,[ae(y,{href:"https://nuxtseo.com/site-config",target:"_blank"},{default:Ve(()=>[ae(S,{class:"mr-[2px] w-5 h-5 inline"}),De(" Documentation ")]),_:1}),ae(y,{href:"https://github.com/harlan-zw/nuxt-site-config",target:"_blank"},{default:Ve(()=>[ae(f,{icon:"logos:github-icon",class:"mr-[2px]"}),De(" Submit an issue ")]),_:1})])]),ne("div",null,[ne("a",Uh,[ae(S),Gh,Wh])])])]),ne("div",qh,[ne("fieldset",Vh,[(oe(),ve(Le,null,_s(["config","stack"],(k,p)=>ne("label",{key:p,class:Ce(["relative n-border-base cursor-pointer hover:n-bg-active px-0.5em py-0.1em",[p?"border-l n-border-base ml--1px":"",k===r.value?"n-bg-active":""]])},[k==="config"?(oe(),ve("div",{key:0,class:Ce([k===r.value?"":"op35"])},[ne("div",Kh,[ne("h2",Jh,[ae(f,{icon:"carbon:settings opacity-50"}),De(" Site Config ")]),zh])],2)):k==="stack"?(oe(),ve("div",{key:1,class:Ce([k===r.value?"":"op35"])},[ne("div",Xh,[ne("h2",Qh,[ae(f,{icon:"carbon:stacked-scrolling-1 opacity-50"}),De(" Stack "),ae(g,{class:"text-sm"},{default:Ve(()=>[De(ot(i.value.length),1)]),_:1})]),Yh])],2)):yt("",!0),dc(ne("input",{"onUpdate:modelValue":d[0]||(d[0]=b=>r.value=b),type:"radio",value:k,title:k,class:"absolute inset-0 op-0.1"},null,8,Zh),[[_u,r.value]])],2)),64))]),ne("button",{class:"ml-5 hover:shadow-lg text-xs transition items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:o},[s.value?(oe(),He(f,{key:1,icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"})):(oe(),ve("div",eg," Refresh Data "))])]),ne("div",null,[!i.value||s.value?(oe(),He(A,{key:0})):(oe(),ve(Le,{key:1},[r.value==="config"?(oe(),ve("div",tg,[ne("div",ng,[(oe(!0),ve(Le,null,_s(a.value,([k,p])=>(oe(),ve("div",{key:k,class:"w-full grid grid-cols-12 items-center space-x-3 py-1.5 px-3 shadow-sm border-t-1 border-t-transparent border-b-1 border-b-gray-200/20"},[ne("div",sg,ot(k),1),ne("div",rg,[ae(P,{lines:!1,class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(p,null,2),lang:"json"},null,8,["code"])]),ye(ht).config._context&&k in ye(ht).config._context?(oe(),ve("div",og,ot(ye(ht).config._context[k]),1)):yt("",!0)]))),128))])])):yt("",!0),r.value==="stack"?(oe(),ve("div",ig,[(oe(!0),ve(Le,null,_s(i.value,(k,p)=>(oe(),He(L,{key:p},{text:Ve(()=>[ne("h3",ag,ot(k._context),1)]),description:Ve(()=>[ne("div",lg," Priority: "+ot(k._priority||0),1)]),default:Ve(()=>[ne("div",cg,[ae(P,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(u(k),null,2),lang:"json"},null,8,["code"])])]),_:2},1024))),128))])):yt("",!0)],64))]),ug])}}}),dg={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
8
|
-
`).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(`
|
|
9
|
-
`);const s=Number(n.statusCode||500),o=s===404,r=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,d=o?zr(()=>ko(()=>import("./error-404.TtAKPIfy.js"),__vite__mapDeps([0,1]),import.meta.url).then(f=>f.default||f)):zr(()=>ko(()=>import("./error-500.5yFOqF6F.js"),__vite__mapDeps([2,3]),import.meta.url).then(f=>f.default||f));return(f,g)=>(oe(),He(ye(d),ul(zi({statusCode:ye(s),statusMessage:ye(r),description:ye(i),stack:ye(a)})),null,16))}},Uo={__name:"nuxt-root",setup(e){const t=()=>null,n=ke(),s=n.deferHydration(),o=!1;Ci(La,Aa()),n.hooks.callHookWith(a=>a.map(u=>u()),"vue:setup");const r=jr();ji((a,u,l)=>{if(n.hooks.callHook("vue:error",a,u,l).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),$d(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Cd(a)),!1});const i=!1;return(a,u)=>(oe(),He(sc,{onResolve:ye(s)},{default:Ve(()=>[ye(r)?(oe(),He(ye(dg),{key:0,error:ye(r)},null,8,["error"])):ye(i)?(oe(),He(ye(t),{key:1,context:ye(i)},null,8,["context"])):ye(o)?(oe(),He(ec(ye(o)),{key:2})):(oe(),He(ye(fg),{key:3}))]),_:1},8,["onResolve"]))}};let Go;{let e;Go=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")?ku(Uo):wu(Uo),o=Tf({vueApp:s});async function r(u){await o.callHook("app:error",u),o.payload.error=o.payload.error||u}s.config.errorHandler=r;try{await Af(o,pp)}catch(u){r(u)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Gd),await o.hooks.callHook("app:mounted",s),await ts()}catch(u){r(u)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=Go().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{fs as _,ne as a,ae as b,ve as c,De as d,xp as e,Jl as f,oe as o,Kl as p,ot as t,Nd as u,Ve as w};
|
|
10
|
-
function __vite__mapDeps(indexes) {
|
|
11
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
12
|
-
__vite__mapDeps.viteFileDeps = ["./error-404.TtAKPIfy.js","./error-404.DkXpI38i.css","./error-500.5yFOqF6F.js","./error-500.SLhS9LVu.css"]
|
|
13
|
-
}
|
|
14
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
15
|
-
}
|